{"id":6718,"date":"2021-06-21T00:32:53","date_gmt":"2021-06-20T17:32:53","guid":{"rendered":"https:\/\/www.informatics.buu.ac.th\/?page_id=6718"},"modified":"2021-06-21T00:32:53","modified_gmt":"2021-06-20T17:32:53","slug":"informatics-360-vr-tour","status":"publish","type":"page","link":"https:\/\/www.informatics.buu.ac.th\/?page_id=6718","title":{"rendered":"Informatics 360 VR Tour"},"content":{"rendered":"\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>Outside of the Informatics Building, Burapha University<\/strong><\/p>\n\n\n<style>#pano6623 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 300px; border-radius:0px; direction:ltr; \"><div id=\"pano26623\" class=\"pano-wrap pano-left pano26623\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer26623\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano6623\" class=\"pano-wrap pano-right pano6623\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer6623\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"6623\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"6623\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano6623\">\n            #pano6623 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano6623 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6623 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6623 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano6623 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano6623 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano6623 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano6623.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano6623.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano6623.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano6623.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano6623 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano6623 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano6623 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano6623\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-5\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Front.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" 2.721234494938116\",\"yaw\":\" -5.136940841703212\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Left of the Informatics Building\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -2.7486795524217302\",\"yaw\":\" 160.8778562811566\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Right Side, next to Computer Center\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" 3.712199025142094\",\"yaw\":\" 110.440180851053\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"To the Motorcycle Parking\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H007\",\"pitch\":\" 5.453006270247981\",\"yaw\":\" 94.69667587682571\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Wheelchair Ramp\",\"sceneId\":\"0005\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" 14.477749603134733\",\"yaw\":\" -83.31994119713147\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Faculty of Sciences, Central Lab (CL)\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/FrontLeft.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H002\",\"pitch\":\" 3.8060571004394745\",\"yaw\":\" 48.42605993829474\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Front of Informatics Building\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H026\",\"pitch\":\" 36.680966687188004\",\"yaw\":\" -176.51313372394117\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"International House\\\/Dorm\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/FrontRight.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H004\",\"pitch\":\" 0.4032224051161561\",\"yaw\":\" 145.8528066554229\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Front of the Building\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H027\",\"pitch\":\" -15.178745520378175\",\"yaw\":\" -36.22029205806432\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\\\/No Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H028\",\"pitch\":\" 15.02407457142051\",\"yaw\":\" -97.92520924790355\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Center\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H029\",\"pitch\":\" 7.665624187735312\",\"yaw\":\" -20.30576612518206\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Thamrong Buasri AudiMax\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H030\",\"pitch\":\" 22.85813519861729\",\"yaw\":\" 25.19174111882607\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Faculty of Sciences\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/FrontSideCompCenter.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H006\",\"pitch\":\" 2.1989038922447275\",\"yaw\":\" -116.17054960992942\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Front of the Building\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H020\",\"pitch\":\" 0.22021692099499027\",\"yaw\":\" 3.965195319704492\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Motorcycle Parking\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H021\",\"pitch\":\" -5.7028035227269624\",\"yaw\":\" -171.47962857519497\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\\\/No Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/SideCompCenter.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H008\",\"pitch\":\" 6.9986449613014\",\"yaw\":\" -77.71224155144935\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Front of the Building\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H022\",\"pitch\":\" -3.599835121501811\",\"yaw\":\" 75.79631557513207\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Motorcycle Parking\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H023\",\"pitch\":\" -0.2815487422227925\",\"yaw\":\" -100.43821604022746\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\\\/No Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H024\",\"pitch\":\" 1.5977340093829588\",\"yaw\":\" -32.760030990898855\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Wheelchair Ramp\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H025\",\"pitch\":\" -4.095667781946826\",\"yaw\":\" 52.04514790291554\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Disabled Parking\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];function wpvrResolveDevicePanorama(scenesConfig) {    if (!scenesConfig || !scenesConfig.scenes) return;    var isMobile = \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent) || (navigator.platform === \"MacIntel\" && navigator.maxTouchPoints > 1);    var isSmallScreen = (window.innerWidth <= 768);    if (typeof window.wpvrMaxTexture === \"undefined\") {        window.wpvrMaxTexture = 16384;        try {            var testCanvas = document.createElement(\"canvas\");            var gl = testCanvas.getContext(\"webgl\") || testCanvas.getContext(\"experimental-webgl\");            if (gl) {                window.wpvrMaxTexture = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 16384;                var ext = gl.getExtension(\"WEBGL_lose_context\");                if (ext) { ext.loseContext(); }            }        } catch (e) {}    }    var maxTexture = window.wpvrMaxTexture;    for (var scId in scenesConfig.scenes) {        if (!scenesConfig.scenes.hasOwnProperty(scId)) continue;        var sc = scenesConfig.scenes[scId];        if (!sc) continue;        var exceedsGpu = sc.desktop_width &#038;&#038; (sc.desktop_width > maxTexture);        if (isMobile || isSmallScreen || exceedsGpu) {            if (sc.mobile_panorama) {                sc.panorama = sc.mobile_panorama;            }        } else if (sc.desktop_panorama) {            sc.panorama = sc.desktop_panorama;        }    }}wpvrResolveDevicePanorama(scenes);if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow6623;var panoshow26623;function initWPVRViewer6623() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer6623, 50); return; }panoshow6623 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow6623;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow6623 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow6623.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow6623.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer6623();var response_duplicate = [{\"panoid\":\"pano6623\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":false,\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Front.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" 2.721234494938116\",\"yaw\":\" -5.136940841703212\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Left of the Informatics Building\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -2.7486795524217302\",\"yaw\":\" 160.8778562811566\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Right Side, next to Computer Center\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" 3.712199025142094\",\"yaw\":\" 110.440180851053\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"To the Motorcycle Parking\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H007\",\"pitch\":\" 5.453006270247981\",\"yaw\":\" 94.69667587682571\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Wheelchair Ramp\",\"sceneId\":\"0005\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" 14.477749603134733\",\"yaw\":\" -83.31994119713147\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Faculty of Sciences, Central Lab (CL)\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/FrontLeft.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H002\",\"pitch\":\" 3.8060571004394745\",\"yaw\":\" 48.42605993829474\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Front of Informatics Building\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H026\",\"pitch\":\" 36.680966687188004\",\"yaw\":\" -176.51313372394117\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"International House\\\/Dorm\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/FrontRight.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H004\",\"pitch\":\" 0.4032224051161561\",\"yaw\":\" 145.8528066554229\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Front of the Building\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H027\",\"pitch\":\" -15.178745520378175\",\"yaw\":\" -36.22029205806432\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\\\/No Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H028\",\"pitch\":\" 15.02407457142051\",\"yaw\":\" -97.92520924790355\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Center\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H029\",\"pitch\":\" 7.665624187735312\",\"yaw\":\" -20.30576612518206\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Thamrong Buasri AudiMax\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H030\",\"pitch\":\" 22.85813519861729\",\"yaw\":\" 25.19174111882607\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Faculty of Sciences\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/FrontSideCompCenter.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H006\",\"pitch\":\" 2.1989038922447275\",\"yaw\":\" -116.17054960992942\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Front of the Building\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H020\",\"pitch\":\" 0.22021692099499027\",\"yaw\":\" 3.965195319704492\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Motorcycle Parking\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H021\",\"pitch\":\" -5.7028035227269624\",\"yaw\":\" -171.47962857519497\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\\\/No Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/SideCompCenter.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H008\",\"pitch\":\" 6.9986449613014\",\"yaw\":\" -77.71224155144935\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Front of the Building\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H022\",\"pitch\":\" -3.599835121501811\",\"yaw\":\" 75.79631557513207\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Motorcycle Parking\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H023\",\"pitch\":\" -0.2815487422227925\",\"yaw\":\" -100.43821604022746\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\\\/No Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H024\",\"pitch\":\" 1.5977340093829588\",\"yaw\":\" -32.760030990898855\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Wheelchair Ramp\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H025\",\"pitch\":\" -4.095667781946826\",\"yaw\":\" 52.04514790291554\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Disabled Parking\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes_duplicate = response_duplicate[1];wpvrResolveDevicePanorama(scenes_duplicate);if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano6623 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow6623.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow6623.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow6623.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow6623.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano26623 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano6623 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano26623 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano6623 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano6623\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls6623\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls6623\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow6623.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer6623 = null;\n                        var wpvrAutoRotateStopDelay6623 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate6623 = function () {\n                            clearTimeout(wpvrAutoRotateTimer6623);\n                            if (wpvrAutoRotateStopDelay6623 > 0) {\n                                wpvrAutoRotateTimer6623 = setTimeout(function () {\n                                    panoshow6623.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay6623);\n                            } else {\n                                wpvrAutoRotateTimer6623 = setTimeout(function () {\n                                    panoshow6623.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow6623.on(\"load\", wpvrScheduleAutoRotate6623);\n                        panoshow6623.on(\"scenechange\", wpvrScheduleAutoRotate6623);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot6623 = document.getElementById(\"pano6623\");\n            if (wpvrHotspotRoot6623) {\n                wpvrHotspotRoot6623.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    \/\/ Social share icons navigate independently using their own links and targets.\n                    if (hotspot.querySelector(\".wpvr-sticker-card--social-share\")) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_6623\",function() {\n                    jQuery(\"#explainer6623\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer6623\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano6623\",function(event) {\n        var isCross = event.target.closest(\".cross\");\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents-wrapper\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isCross != null){\n            return;\n        }\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide();\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_6623\",function() {\n                jQuery(\"#wpvr-floor-map6623\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map6623\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols6623\").hide();\n                      jQuery(\"#pano6623 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl6623\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide6623 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols6623\",function() {\n\t\t            if (slide6623 == \"up\") {\n\t\t              jQuery(\".vrgctrl6623\").empty();\n\t\t              jQuery(\".vrgctrl6623\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide6623 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl6623\").empty();\n\t\t              jQuery(\".vrgctrl6623\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide6623 = \"up\";\n\t\t            }\n                    jQuery(\"#pano6623 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols6623\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols6623\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols6623\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano6623\") {\n                          jQuery(\"#pano6623\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano6623\").children(\".pnlm-ui\").remove();\n                          panoshow6623 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow6623;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow6623 }\n                          }));\n                          jQuery(\"#pano6623\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow6623.loadScene(\"0001\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano6623\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls6623\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls6623\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano6623\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano6623\").children(\".pnlm-ui\").remove();\n              panoshow6623 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow6623;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow6623 }\n              }));\n              setTimeout(function() {\n                      panoshow6623.loadScene(\"0001\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano6623\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls6623\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls6623\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano6623\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano6623 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano6623 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano6623\">\n            (function () {\n                var pano = document.getElementById(\"pano6623\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>1st Floor<\/strong> (Security Check\/Health Check\/Common Spaces\/Student Club Office\/Copy Room\/Wheelchair Ramp\/Toilets)<\/p>\n\n\n<style>#pano6647 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 300px; border-radius:0px; direction:ltr; \"><div id=\"pano26647\" class=\"pano-wrap pano-left pano26647\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer26647\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano6647\" class=\"pano-wrap pano-right pano6647\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer6647\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"6647\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"6647\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano6647\">\n            #pano6647 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano6647 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6647 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6647 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano6647 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano6647 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano6647 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano6647.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano6647.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano6647.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano6647.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano6647 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano6647 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano6647 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano6647\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/1stFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -3.44353614599849\",\"yaw\":\" 79.54347932800857\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Entrance\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -0.1352201607170949\",\"yaw\":\" -64.71635641947296\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Student Club Office\",\"sceneId\":\"0005\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.4242956234182926\",\"yaw\":\" -133.16711552854997\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" -2.6642817762408644\",\"yaw\":\" -112.7215183817543\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H006\",\"pitch\":\" 0.49688973062024794\",\"yaw\":\" -105.67730912680966\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Entrance.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H007\",\"pitch\":\" -4.765831399493544\",\"yaw\":\" 161.99287417648327\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"First Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H008\",\"pitch\":\" 15.471709597212746\",\"yaw\":\" 6.227528707459053\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Faculty of Sciences\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" 3.5540985319360123\",\"yaw\":\" -141.16499465794857\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Center\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H010\",\"pitch\":\" 7.2298274276255405\",\"yaw\":\" -54.881757512383174\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Thamrong Buasri AudiMax\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H011\",\"pitch\":\" -3.2973834519553487\",\"yaw\":\" 105.22261914384634\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Drinking Water\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Lift.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H012\",\"pitch\":\" -17.516720059986728\",\"yaw\":\" 7.42017469564253\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"First Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H013\",\"pitch\":\" -3.336236086356085\",\"yaw\":\" -119.54626974077573\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H014\",\"pitch\":\" -3.9326335188078696\",\"yaw\":\" 164.46727684309104\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H015\",\"pitch\":\" 0.8614531375013735\",\"yaw\":\" -67.40278570767926\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Student Club Office\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H016\",\"pitch\":\" -1.634448102196202\",\"yaw\":\" -29.554489264295285\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Wheelchair Ramp\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Stairs.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H017\",\"pitch\":\" -9.641688963201222\",\"yaw\":\" -94.86693570809713\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"First Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H018\",\"pitch\":\" 1.230475287840526\",\"yaw\":\" -90.50477243567353\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H019\",\"pitch\":\" 1.2489740613308142\",\"yaw\":\" -65.65049778624507\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Copy Room\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H020\",\"pitch\":\" -0.8192827558850115\",\"yaw\":\" -25.393766696524175\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H021\",\"pitch\":\" -2.506447539894233\",\"yaw\":\" 60.41978174614655\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/SMO.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H022\",\"pitch\":\" -4.999363002507595\",\"yaw\":\" -123.22235453664952\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"First Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H023\",\"pitch\":\" -0.16037117874446918\",\"yaw\":\" -71.11897645314318\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H024\",\"pitch\":\" 2.0464355269636227\",\"yaw\":\" -36.87485671941663\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H025\",\"pitch\":\" -5.795306476010925\",\"yaw\":\" 4.090411819732161\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Student Club Office\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H026\",\"pitch\":\" -3.6655050712967383\",\"yaw\":\" -159.6118385284604\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];function wpvrResolveDevicePanorama(scenesConfig) {    if (!scenesConfig || !scenesConfig.scenes) return;    var isMobile = \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent) || (navigator.platform === \"MacIntel\" && navigator.maxTouchPoints > 1);    var isSmallScreen = (window.innerWidth <= 768);    if (typeof window.wpvrMaxTexture === \"undefined\") {        window.wpvrMaxTexture = 16384;        try {            var testCanvas = document.createElement(\"canvas\");            var gl = testCanvas.getContext(\"webgl\") || testCanvas.getContext(\"experimental-webgl\");            if (gl) {                window.wpvrMaxTexture = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 16384;                var ext = gl.getExtension(\"WEBGL_lose_context\");                if (ext) { ext.loseContext(); }            }        } catch (e) {}    }    var maxTexture = window.wpvrMaxTexture;    for (var scId in scenesConfig.scenes) {        if (!scenesConfig.scenes.hasOwnProperty(scId)) continue;        var sc = scenesConfig.scenes[scId];        if (!sc) continue;        var exceedsGpu = sc.desktop_width &#038;&#038; (sc.desktop_width > maxTexture);        if (isMobile || isSmallScreen || exceedsGpu) {            if (sc.mobile_panorama) {                sc.panorama = sc.mobile_panorama;            }        } else if (sc.desktop_panorama) {            sc.panorama = sc.desktop_panorama;        }    }}wpvrResolveDevicePanorama(scenes);if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow6647;var panoshow26647;function initWPVRViewer6647() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer6647, 50); return; }panoshow6647 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow6647;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow6647 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow6647.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow6647.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer6647();var response_duplicate = [{\"panoid\":\"pano6647\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/1stFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -3.44353614599849\",\"yaw\":\" 79.54347932800857\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Entrance\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -0.1352201607170949\",\"yaw\":\" -64.71635641947296\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Student Club Office\",\"sceneId\":\"0005\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.4242956234182926\",\"yaw\":\" -133.16711552854997\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" -2.6642817762408644\",\"yaw\":\" -112.7215183817543\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H006\",\"pitch\":\" 0.49688973062024794\",\"yaw\":\" -105.67730912680966\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Entrance.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H007\",\"pitch\":\" -4.765831399493544\",\"yaw\":\" 161.99287417648327\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"First Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H008\",\"pitch\":\" 15.471709597212746\",\"yaw\":\" 6.227528707459053\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Faculty of Sciences\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" 3.5540985319360123\",\"yaw\":\" -141.16499465794857\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Center\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H010\",\"pitch\":\" 7.2298274276255405\",\"yaw\":\" -54.881757512383174\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Thamrong Buasri AudiMax\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H011\",\"pitch\":\" -3.2973834519553487\",\"yaw\":\" 105.22261914384634\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Drinking Water\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Lift.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H012\",\"pitch\":\" -17.516720059986728\",\"yaw\":\" 7.42017469564253\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"First Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H013\",\"pitch\":\" -3.336236086356085\",\"yaw\":\" -119.54626974077573\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H014\",\"pitch\":\" -3.9326335188078696\",\"yaw\":\" 164.46727684309104\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H015\",\"pitch\":\" 0.8614531375013735\",\"yaw\":\" -67.40278570767926\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Student Club Office\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H016\",\"pitch\":\" -1.634448102196202\",\"yaw\":\" -29.554489264295285\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Wheelchair Ramp\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Stairs.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H017\",\"pitch\":\" -9.641688963201222\",\"yaw\":\" -94.86693570809713\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"First Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H018\",\"pitch\":\" 1.230475287840526\",\"yaw\":\" -90.50477243567353\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H019\",\"pitch\":\" 1.2489740613308142\",\"yaw\":\" -65.65049778624507\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Copy Room\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H020\",\"pitch\":\" -0.8192827558850115\",\"yaw\":\" -25.393766696524175\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H021\",\"pitch\":\" -2.506447539894233\",\"yaw\":\" 60.41978174614655\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/SMO.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H022\",\"pitch\":\" -4.999363002507595\",\"yaw\":\" -123.22235453664952\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"First Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H023\",\"pitch\":\" -0.16037117874446918\",\"yaw\":\" -71.11897645314318\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H024\",\"pitch\":\" 2.0464355269636227\",\"yaw\":\" -36.87485671941663\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H025\",\"pitch\":\" -5.795306476010925\",\"yaw\":\" 4.090411819732161\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Student Club Office\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H026\",\"pitch\":\" -3.6655050712967383\",\"yaw\":\" -159.6118385284604\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrance\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];wpvrResolveDevicePanorama(scenes_duplicate);if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano6647 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow6647.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow6647.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow6647.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow6647.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano26647 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano6647 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano26647 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano6647 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano6647\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls6647\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls6647\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow6647.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer6647 = null;\n                        var wpvrAutoRotateStopDelay6647 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate6647 = function () {\n                            clearTimeout(wpvrAutoRotateTimer6647);\n                            if (wpvrAutoRotateStopDelay6647 > 0) {\n                                wpvrAutoRotateTimer6647 = setTimeout(function () {\n                                    panoshow6647.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay6647);\n                            } else {\n                                wpvrAutoRotateTimer6647 = setTimeout(function () {\n                                    panoshow6647.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow6647.on(\"load\", wpvrScheduleAutoRotate6647);\n                        panoshow6647.on(\"scenechange\", wpvrScheduleAutoRotate6647);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot6647 = document.getElementById(\"pano6647\");\n            if (wpvrHotspotRoot6647) {\n                wpvrHotspotRoot6647.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    \/\/ Social share icons navigate independently using their own links and targets.\n                    if (hotspot.querySelector(\".wpvr-sticker-card--social-share\")) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_6647\",function() {\n                    jQuery(\"#explainer6647\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer6647\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano6647\",function(event) {\n        var isCross = event.target.closest(\".cross\");\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents-wrapper\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isCross != null){\n            return;\n        }\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide();\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_6647\",function() {\n                jQuery(\"#wpvr-floor-map6647\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map6647\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols6647\").hide();\n                      jQuery(\"#pano6647 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl6647\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide6647 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols6647\",function() {\n\t\t            if (slide6647 == \"up\") {\n\t\t              jQuery(\".vrgctrl6647\").empty();\n\t\t              jQuery(\".vrgctrl6647\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide6647 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl6647\").empty();\n\t\t              jQuery(\".vrgctrl6647\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide6647 = \"up\";\n\t\t            }\n                    jQuery(\"#pano6647 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols6647\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols6647\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols6647\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano6647\") {\n                          jQuery(\"#pano6647\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano6647\").children(\".pnlm-ui\").remove();\n                          panoshow6647 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow6647;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow6647 }\n                          }));\n                          jQuery(\"#pano6647\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow6647.loadScene(\"0001\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano6647\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls6647\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls6647\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano6647\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano6647\").children(\".pnlm-ui\").remove();\n              panoshow6647 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow6647;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow6647 }\n              }));\n              setTimeout(function() {\n                      panoshow6647.loadScene(\"0001\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano6647\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls6647\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls6647\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano6647\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano6647 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano6647 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano6647\">\n            (function () {\n                var pano = document.getElementById(\"pano6647\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>2nd Floor<\/strong> (Office of Administration\/Office of Education\/Dean&#8217;s Office\/Digital Library\/Terrace\/Toilets)<\/p>\n\n\n<style>#pano6674 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 300px; border-radius:0px; direction:ltr; \"><div id=\"pano26674\" class=\"pano-wrap pano-left pano26674\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer26674\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano6674\" class=\"pano-wrap pano-right pano6674\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer6674\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"6674\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"6674\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano6674\">\n            #pano6674 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano6674 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6674 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6674 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano6674 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano6674 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano6674 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano6674.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano6674.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano6674.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano6674.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano6674 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano6674 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano6674 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano6674\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/2_1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -4.777432092273423\",\"yaw\":\" -179.4832600507003\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -0.22091284899252878\",\"yaw\":\" -140.47744585962144\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"0005\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -6.081702218832359\",\"yaw\":\" 105.67771205022294\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Office of Administration\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" 0.9389686009695553\",\"yaw\":\" -35.290744693745154\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Outside Terrace\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" -0.6092827386345807\",\"yaw\":\" 51.067401048008556\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Dean's Office\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/lift-1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H006\",\"pitch\":\" -7.536205014681837\",\"yaw\":\" -165.1816974177316\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"2nd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H007\",\"pitch\":\" -3.0101749706742678\",\"yaw\":\" -131.7057117679626\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Office of Administration\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H008\",\"pitch\":\" 1.2019192473543778\",\"yaw\":\" 173.68087376195584\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Outside Terrace\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" -4.477112294159548\",\"yaw\":\" 153.76608006044887\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Digital Library\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H010\",\"pitch\":\" -3.906220800724224\",\"yaw\":\" 30.825883806398224\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/office1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H011\",\"pitch\":\" -12.30121540163435\",\"yaw\":\" -174.13523419266065\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"2nd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H012\",\"pitch\":\" -22.616531889915677\",\"yaw\":\" -44.16685888314758\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Office of Administration\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H013\",\"pitch\":\" -1.849635704036261\",\"yaw\":\" 166.46744624409897\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H014\",\"pitch\":\" -0.6203859650261605\",\"yaw\":\" 170.41371694734022\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H015\",\"pitch\":\" 1.897616666619398\",\"yaw\":\" -174.739207580822\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Digital Library\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/outside1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H016\",\"pitch\":\" 0.16732259698737043\",\"yaw\":\" -45.180989483528734\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"2nd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H017\",\"pitch\":\" 4.369809860584487\",\"yaw\":\" 19.442644929308425\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Digital Library\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H018\",\"pitch\":\" 7.696278633688246\",\"yaw\":\" 107.91273174044605\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Faculty of Allied Sciences\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H019\",\"pitch\":\" 3.1840299771257943\",\"yaw\":\" 155.41367460317716\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Center\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H020\",\"pitch\":\" -0.06530653133288591\",\"yaw\":\" -140.06073843879273\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Fire Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/stairs-1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H021\",\"pitch\":\" -1.447793993775307\",\"yaw\":\" 63.3811788056959\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"2nd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H023\",\"pitch\":\" -3.5978529693500203\",\"yaw\":\" -112.72010890371251\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H024\",\"pitch\":\" 4.36024910412356\",\"yaw\":\" 62.199576208245205\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Office of Administration\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H025\",\"pitch\":\" -21.51599879999236\",\"yaw\":\" 161.22292988044796\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H026\",\"pitch\":\" -1.5674154853611428\",\"yaw\":\" 83.84231703337973\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];function wpvrResolveDevicePanorama(scenesConfig) {    if (!scenesConfig || !scenesConfig.scenes) return;    var isMobile = \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent) || (navigator.platform === \"MacIntel\" && navigator.maxTouchPoints > 1);    var isSmallScreen = (window.innerWidth <= 768);    if (typeof window.wpvrMaxTexture === \"undefined\") {        window.wpvrMaxTexture = 16384;        try {            var testCanvas = document.createElement(\"canvas\");            var gl = testCanvas.getContext(\"webgl\") || testCanvas.getContext(\"experimental-webgl\");            if (gl) {                window.wpvrMaxTexture = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 16384;                var ext = gl.getExtension(\"WEBGL_lose_context\");                if (ext) { ext.loseContext(); }            }        } catch (e) {}    }    var maxTexture = window.wpvrMaxTexture;    for (var scId in scenesConfig.scenes) {        if (!scenesConfig.scenes.hasOwnProperty(scId)) continue;        var sc = scenesConfig.scenes[scId];        if (!sc) continue;        var exceedsGpu = sc.desktop_width &#038;&#038; (sc.desktop_width > maxTexture);        if (isMobile || isSmallScreen || exceedsGpu) {            if (sc.mobile_panorama) {                sc.panorama = sc.mobile_panorama;            }        } else if (sc.desktop_panorama) {            sc.panorama = sc.desktop_panorama;        }    }}wpvrResolveDevicePanorama(scenes);if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow6674;var panoshow26674;function initWPVRViewer6674() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer6674, 50); return; }panoshow6674 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow6674;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow6674 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow6674.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow6674.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer6674();var response_duplicate = [{\"panoid\":\"pano6674\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/2_1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -4.777432092273423\",\"yaw\":\" -179.4832600507003\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -0.22091284899252878\",\"yaw\":\" -140.47744585962144\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"0005\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -6.081702218832359\",\"yaw\":\" 105.67771205022294\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Office of Administration\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" 0.9389686009695553\",\"yaw\":\" -35.290744693745154\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Outside Terrace\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" -0.6092827386345807\",\"yaw\":\" 51.067401048008556\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Dean's Office\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/lift-1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H006\",\"pitch\":\" -7.536205014681837\",\"yaw\":\" -165.1816974177316\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"2nd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H007\",\"pitch\":\" -3.0101749706742678\",\"yaw\":\" -131.7057117679626\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Office of Administration\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H008\",\"pitch\":\" 1.2019192473543778\",\"yaw\":\" 173.68087376195584\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Outside Terrace\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" -4.477112294159548\",\"yaw\":\" 153.76608006044887\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Digital Library\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H010\",\"pitch\":\" -3.906220800724224\",\"yaw\":\" 30.825883806398224\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/office1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H011\",\"pitch\":\" -12.30121540163435\",\"yaw\":\" -174.13523419266065\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"2nd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H012\",\"pitch\":\" -22.616531889915677\",\"yaw\":\" -44.16685888314758\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Office of Administration\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H013\",\"pitch\":\" -1.849635704036261\",\"yaw\":\" 166.46744624409897\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H014\",\"pitch\":\" -0.6203859650261605\",\"yaw\":\" 170.41371694734022\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H015\",\"pitch\":\" 1.897616666619398\",\"yaw\":\" -174.739207580822\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Digital Library\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/outside1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H016\",\"pitch\":\" 0.16732259698737043\",\"yaw\":\" -45.180989483528734\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"2nd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H017\",\"pitch\":\" 4.369809860584487\",\"yaw\":\" 19.442644929308425\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Digital Library\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H018\",\"pitch\":\" 7.696278633688246\",\"yaw\":\" 107.91273174044605\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Faculty of Allied Sciences\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H019\",\"pitch\":\" 3.1840299771257943\",\"yaw\":\" 155.41367460317716\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Center\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H020\",\"pitch\":\" -0.06530653133288591\",\"yaw\":\" -140.06073843879273\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Fire Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/stairs-1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H021\",\"pitch\":\" -1.447793993775307\",\"yaw\":\" 63.3811788056959\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"2nd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H023\",\"pitch\":\" -3.5978529693500203\",\"yaw\":\" -112.72010890371251\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H024\",\"pitch\":\" 4.36024910412356\",\"yaw\":\" 62.199576208245205\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Office of Administration\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H025\",\"pitch\":\" -21.51599879999236\",\"yaw\":\" 161.22292988044796\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H026\",\"pitch\":\" -1.5674154853611428\",\"yaw\":\" 83.84231703337973\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];wpvrResolveDevicePanorama(scenes_duplicate);if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano6674 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow6674.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow6674.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow6674.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow6674.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano26674 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano6674 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano26674 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano6674 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano6674\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls6674\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls6674\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow6674.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer6674 = null;\n                        var wpvrAutoRotateStopDelay6674 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate6674 = function () {\n                            clearTimeout(wpvrAutoRotateTimer6674);\n                            if (wpvrAutoRotateStopDelay6674 > 0) {\n                                wpvrAutoRotateTimer6674 = setTimeout(function () {\n                                    panoshow6674.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay6674);\n                            } else {\n                                wpvrAutoRotateTimer6674 = setTimeout(function () {\n                                    panoshow6674.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow6674.on(\"load\", wpvrScheduleAutoRotate6674);\n                        panoshow6674.on(\"scenechange\", wpvrScheduleAutoRotate6674);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot6674 = document.getElementById(\"pano6674\");\n            if (wpvrHotspotRoot6674) {\n                wpvrHotspotRoot6674.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    \/\/ Social share icons navigate independently using their own links and targets.\n                    if (hotspot.querySelector(\".wpvr-sticker-card--social-share\")) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_6674\",function() {\n                    jQuery(\"#explainer6674\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer6674\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano6674\",function(event) {\n        var isCross = event.target.closest(\".cross\");\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents-wrapper\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isCross != null){\n            return;\n        }\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide();\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_6674\",function() {\n                jQuery(\"#wpvr-floor-map6674\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map6674\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols6674\").hide();\n                      jQuery(\"#pano6674 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl6674\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide6674 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols6674\",function() {\n\t\t            if (slide6674 == \"up\") {\n\t\t              jQuery(\".vrgctrl6674\").empty();\n\t\t              jQuery(\".vrgctrl6674\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide6674 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl6674\").empty();\n\t\t              jQuery(\".vrgctrl6674\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide6674 = \"up\";\n\t\t            }\n                    jQuery(\"#pano6674 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols6674\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols6674\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols6674\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano6674\") {\n                          jQuery(\"#pano6674\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano6674\").children(\".pnlm-ui\").remove();\n                          panoshow6674 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow6674;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow6674 }\n                          }));\n                          jQuery(\"#pano6674\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow6674.loadScene(\"0001\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano6674\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls6674\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls6674\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano6674\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano6674\").children(\".pnlm-ui\").remove();\n              panoshow6674 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow6674;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow6674 }\n              }));\n              setTimeout(function() {\n                      panoshow6674.loadScene(\"0001\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano6674\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls6674\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls6674\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano6674\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano6674 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano6674 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano6674\">\n            (function () {\n                var pano = document.getElementById(\"pano6674\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>3rd Floor<\/strong> (Computer Rooms\/Lecture Hall)<\/p>\n\n\n<style>#pano6680 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 300px; border-radius:0px; direction:ltr; \"><div id=\"pano26680\" class=\"pano-wrap pano-left pano26680\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer26680\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano6680\" class=\"pano-wrap pano-right pano6680\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer6680\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"6680\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"6680\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano6680\">\n            #pano6680 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano6680 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6680 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6680 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano6680 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano6680 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano6680 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano6680.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano6680.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano6680.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano6680.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano6680 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano6680 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano6680 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano6680\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/3rdFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -8.66718293070947\",\"yaw\":\" 104.03543171872099\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lecture Hall Front\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -1.1571755750682093\",\"yaw\":\" 153.13486236149507\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Room\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" 1.37920396145329\",\"yaw\":\" -161.6722040420491\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" -1.0580037639030397\",\"yaw\":\" -152.39869139061878\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" -2.7353565183390804\",\"yaw\":\" -0.760412183254223\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Fire Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Stairs-2.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H006\",\"pitch\":\" -4.128118250067821\",\"yaw\":\" -12.360637053074843\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"3rd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H007\",\"pitch\":\" 1.89474167350816\",\"yaw\":\" -8.0435545575425\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Room\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H008\",\"pitch\":\" 0.0332579377038104\",\"yaw\":\" 4.722259290197957\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" -4.653008354613997\",\"yaw\":\" 134.01879245084055\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Women Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H010\",\"pitch\":\" -2.464424964705548\",\"yaw\":\" -163.4604547842985\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Men Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/CompRoom1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H011\",\"pitch\":\" -2.719255062720024\",\"yaw\":\" 28.87517406200909\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"3rd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/LectureHall1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H012\",\"pitch\":\" -0.6637005201378656\",\"yaw\":\" 0.6414837623178977\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"3rd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H013\",\"pitch\":\" -2.2896615209659696\",\"yaw\":\" 175.45656524524722\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lecture Hall Back\",\"sceneId\":\"0005\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/LectureHall2.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H015\",\"pitch\":\" -3.4119317974665697\",\"yaw\":\" 51.66253800173183\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"3rd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];function wpvrResolveDevicePanorama(scenesConfig) {    if (!scenesConfig || !scenesConfig.scenes) return;    var isMobile = \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent) || (navigator.platform === \"MacIntel\" && navigator.maxTouchPoints > 1);    var isSmallScreen = (window.innerWidth <= 768);    if (typeof window.wpvrMaxTexture === \"undefined\") {        window.wpvrMaxTexture = 16384;        try {            var testCanvas = document.createElement(\"canvas\");            var gl = testCanvas.getContext(\"webgl\") || testCanvas.getContext(\"experimental-webgl\");            if (gl) {                window.wpvrMaxTexture = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 16384;                var ext = gl.getExtension(\"WEBGL_lose_context\");                if (ext) { ext.loseContext(); }            }        } catch (e) {}    }    var maxTexture = window.wpvrMaxTexture;    for (var scId in scenesConfig.scenes) {        if (!scenesConfig.scenes.hasOwnProperty(scId)) continue;        var sc = scenesConfig.scenes[scId];        if (!sc) continue;        var exceedsGpu = sc.desktop_width &#038;&#038; (sc.desktop_width > maxTexture);        if (isMobile || isSmallScreen || exceedsGpu) {            if (sc.mobile_panorama) {                sc.panorama = sc.mobile_panorama;            }        } else if (sc.desktop_panorama) {            sc.panorama = sc.desktop_panorama;        }    }}wpvrResolveDevicePanorama(scenes);if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow6680;var panoshow26680;function initWPVRViewer6680() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer6680, 50); return; }panoshow6680 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow6680;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow6680 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow6680.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow6680.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer6680();var response_duplicate = [{\"panoid\":\"pano6680\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/3rdFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -8.66718293070947\",\"yaw\":\" 104.03543171872099\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lecture Hall Front\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -1.1571755750682093\",\"yaw\":\" 153.13486236149507\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Room\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" 1.37920396145329\",\"yaw\":\" -161.6722040420491\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" -1.0580037639030397\",\"yaw\":\" -152.39869139061878\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" -2.7353565183390804\",\"yaw\":\" -0.760412183254223\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Fire Exit\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Stairs-2.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H006\",\"pitch\":\" -4.128118250067821\",\"yaw\":\" -12.360637053074843\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"3rd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H007\",\"pitch\":\" 1.89474167350816\",\"yaw\":\" -8.0435545575425\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Room\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H008\",\"pitch\":\" 0.0332579377038104\",\"yaw\":\" 4.722259290197957\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" -4.653008354613997\",\"yaw\":\" 134.01879245084055\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Women Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H010\",\"pitch\":\" -2.464424964705548\",\"yaw\":\" -163.4604547842985\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Men Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/CompRoom1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H011\",\"pitch\":\" -2.719255062720024\",\"yaw\":\" 28.87517406200909\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"3rd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/LectureHall1.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H012\",\"pitch\":\" -0.6637005201378656\",\"yaw\":\" 0.6414837623178977\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"3rd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H013\",\"pitch\":\" -2.2896615209659696\",\"yaw\":\" 175.45656524524722\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lecture Hall Back\",\"sceneId\":\"0005\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/LectureHall2.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H015\",\"pitch\":\" -3.4119317974665697\",\"yaw\":\" 51.66253800173183\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"3rd Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];wpvrResolveDevicePanorama(scenes_duplicate);if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano6680 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow6680.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow6680.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow6680.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow6680.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano26680 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano6680 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano26680 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano6680 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano6680\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls6680\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls6680\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow6680.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer6680 = null;\n                        var wpvrAutoRotateStopDelay6680 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate6680 = function () {\n                            clearTimeout(wpvrAutoRotateTimer6680);\n                            if (wpvrAutoRotateStopDelay6680 > 0) {\n                                wpvrAutoRotateTimer6680 = setTimeout(function () {\n                                    panoshow6680.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay6680);\n                            } else {\n                                wpvrAutoRotateTimer6680 = setTimeout(function () {\n                                    panoshow6680.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow6680.on(\"load\", wpvrScheduleAutoRotate6680);\n                        panoshow6680.on(\"scenechange\", wpvrScheduleAutoRotate6680);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot6680 = document.getElementById(\"pano6680\");\n            if (wpvrHotspotRoot6680) {\n                wpvrHotspotRoot6680.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    \/\/ Social share icons navigate independently using their own links and targets.\n                    if (hotspot.querySelector(\".wpvr-sticker-card--social-share\")) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_6680\",function() {\n                    jQuery(\"#explainer6680\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer6680\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano6680\",function(event) {\n        var isCross = event.target.closest(\".cross\");\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents-wrapper\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isCross != null){\n            return;\n        }\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide();\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_6680\",function() {\n                jQuery(\"#wpvr-floor-map6680\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map6680\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols6680\").hide();\n                      jQuery(\"#pano6680 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl6680\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide6680 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols6680\",function() {\n\t\t            if (slide6680 == \"up\") {\n\t\t              jQuery(\".vrgctrl6680\").empty();\n\t\t              jQuery(\".vrgctrl6680\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide6680 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl6680\").empty();\n\t\t              jQuery(\".vrgctrl6680\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide6680 = \"up\";\n\t\t            }\n                    jQuery(\"#pano6680 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols6680\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols6680\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols6680\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano6680\") {\n                          jQuery(\"#pano6680\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano6680\").children(\".pnlm-ui\").remove();\n                          panoshow6680 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow6680;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow6680 }\n                          }));\n                          jQuery(\"#pano6680\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow6680.loadScene(\"0001\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano6680\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls6680\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls6680\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano6680\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano6680\").children(\".pnlm-ui\").remove();\n              panoshow6680 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow6680;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow6680 }\n              }));\n              setTimeout(function() {\n                      panoshow6680.loadScene(\"0001\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano6680\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls6680\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls6680\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano6680\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano6680 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano6680 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano6680\">\n            (function () {\n                var pano = document.getElementById(\"pano6680\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>4th\/5th\/6th Floor<\/strong> (Lecture Rooms\/Computer Rooms)<\/p>\n\n\n<style>#pano6694 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 300px; border-radius:0px; direction:ltr; \"><div id=\"pano26694\" class=\"pano-wrap pano-left pano26694\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer26694\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano6694\" class=\"pano-wrap pano-right pano6694\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer6694\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"6694\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"6694\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano6694\">\n            #pano6694 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano6694 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6694 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6694 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano6694 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano6694 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano6694 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano6694.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano6694.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano6694.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano6694.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano6694 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano6694 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano6694 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano6694\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/4thFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" 0.29277467143896013\",\"yaw\":\" -47.215203302736874\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lecture Hall\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -1.216968771195607\",\"yaw\":\" 22.51936831588618\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Rooms\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.6283159279095298\",\"yaw\":\" 91.6523185300095\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" -1.6043238457348503\",\"yaw\":\" 114.73058652408811\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" -0.13297396933829786\",\"yaw\":\" 164.45378199105417\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Room\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];function wpvrResolveDevicePanorama(scenesConfig) {    if (!scenesConfig || !scenesConfig.scenes) return;    var isMobile = \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent) || (navigator.platform === \"MacIntel\" && navigator.maxTouchPoints > 1);    var isSmallScreen = (window.innerWidth <= 768);    if (typeof window.wpvrMaxTexture === \"undefined\") {        window.wpvrMaxTexture = 16384;        try {            var testCanvas = document.createElement(\"canvas\");            var gl = testCanvas.getContext(\"webgl\") || testCanvas.getContext(\"experimental-webgl\");            if (gl) {                window.wpvrMaxTexture = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 16384;                var ext = gl.getExtension(\"WEBGL_lose_context\");                if (ext) { ext.loseContext(); }            }        } catch (e) {}    }    var maxTexture = window.wpvrMaxTexture;    for (var scId in scenesConfig.scenes) {        if (!scenesConfig.scenes.hasOwnProperty(scId)) continue;        var sc = scenesConfig.scenes[scId];        if (!sc) continue;        var exceedsGpu = sc.desktop_width &#038;&#038; (sc.desktop_width > maxTexture);        if (isMobile || isSmallScreen || exceedsGpu) {            if (sc.mobile_panorama) {                sc.panorama = sc.mobile_panorama;            }        } else if (sc.desktop_panorama) {            sc.panorama = sc.desktop_panorama;        }    }}wpvrResolveDevicePanorama(scenes);if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow6694;var panoshow26694;function initWPVRViewer6694() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer6694, 50); return; }panoshow6694 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow6694;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow6694 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow6694.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow6694.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer6694();var response_duplicate = [{\"panoid\":\"pano6694\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/4thFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" 0.29277467143896013\",\"yaw\":\" -47.215203302736874\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lecture Hall\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -1.216968771195607\",\"yaw\":\" 22.51936831588618\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Rooms\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.6283159279095298\",\"yaw\":\" 91.6523185300095\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" -1.6043238457348503\",\"yaw\":\" 114.73058652408811\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" -0.13297396933829786\",\"yaw\":\" 164.45378199105417\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Computer Room\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];wpvrResolveDevicePanorama(scenes_duplicate);if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano6694 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow6694.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow6694.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow6694.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow6694.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano26694 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano6694 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano26694 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano6694 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano6694\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls6694\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls6694\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow6694.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer6694 = null;\n                        var wpvrAutoRotateStopDelay6694 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate6694 = function () {\n                            clearTimeout(wpvrAutoRotateTimer6694);\n                            if (wpvrAutoRotateStopDelay6694 > 0) {\n                                wpvrAutoRotateTimer6694 = setTimeout(function () {\n                                    panoshow6694.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay6694);\n                            } else {\n                                wpvrAutoRotateTimer6694 = setTimeout(function () {\n                                    panoshow6694.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow6694.on(\"load\", wpvrScheduleAutoRotate6694);\n                        panoshow6694.on(\"scenechange\", wpvrScheduleAutoRotate6694);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot6694 = document.getElementById(\"pano6694\");\n            if (wpvrHotspotRoot6694) {\n                wpvrHotspotRoot6694.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    \/\/ Social share icons navigate independently using their own links and targets.\n                    if (hotspot.querySelector(\".wpvr-sticker-card--social-share\")) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_6694\",function() {\n                    jQuery(\"#explainer6694\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer6694\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano6694\",function(event) {\n        var isCross = event.target.closest(\".cross\");\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents-wrapper\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isCross != null){\n            return;\n        }\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide();\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_6694\",function() {\n                jQuery(\"#wpvr-floor-map6694\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map6694\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols6694\").hide();\n                      jQuery(\"#pano6694 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl6694\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide6694 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols6694\",function() {\n\t\t            if (slide6694 == \"up\") {\n\t\t              jQuery(\".vrgctrl6694\").empty();\n\t\t              jQuery(\".vrgctrl6694\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide6694 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl6694\").empty();\n\t\t              jQuery(\".vrgctrl6694\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide6694 = \"up\";\n\t\t            }\n                    jQuery(\"#pano6694 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols6694\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols6694\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols6694\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano6694\") {\n                          jQuery(\"#pano6694\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano6694\").children(\".pnlm-ui\").remove();\n                          panoshow6694 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow6694;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow6694 }\n                          }));\n                          jQuery(\"#pano6694\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow6694.loadScene(\"0001\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano6694\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls6694\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls6694\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano6694\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano6694\").children(\".pnlm-ui\").remove();\n              panoshow6694 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow6694;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow6694 }\n              }));\n              setTimeout(function() {\n                      panoshow6694.loadScene(\"0001\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano6694\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls6694\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls6694\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano6694\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano6694 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano6694 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano6694\">\n            (function () {\n                var pano = document.getElementById(\"pano6694\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>7th Floor<\/strong> (Student Creative Co-Working Spaces\/FabLab\/Maker Space)<\/p>\n\n\n<style>#pano6698 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 300px; border-radius:0px; direction:ltr; \"><div id=\"pano26698\" class=\"pano-wrap pano-left pano26698\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer26698\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano6698\" class=\"pano-wrap pano-right pano6698\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer6698\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"6698\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"6698\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano6698\">\n            #pano6698 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano6698 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6698 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6698 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano6698 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano6698 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano6698 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano6698.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano6698.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano6698.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano6698.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano6698 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano6698 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano6698 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano6698\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/7thFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -8.360149820106823\",\"yaw\":\" 100.7426521911682\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -3.0235364441236023\",\"yaw\":\" 170.011372181295\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.1288732285596643\",\"yaw\":\" -125.61855647470907\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lecture Room\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" 1.2416525437026937\",\"yaw\":\" -11.029066399095539\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Student Creative Co-Working Spaces\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" 1.7023448590608667\",\"yaw\":\" 1.7299288951087972\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"FabLab\\\/Maker Space\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];function wpvrResolveDevicePanorama(scenesConfig) {    if (!scenesConfig || !scenesConfig.scenes) return;    var isMobile = \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent) || (navigator.platform === \"MacIntel\" && navigator.maxTouchPoints > 1);    var isSmallScreen = (window.innerWidth <= 768);    if (typeof window.wpvrMaxTexture === \"undefined\") {        window.wpvrMaxTexture = 16384;        try {            var testCanvas = document.createElement(\"canvas\");            var gl = testCanvas.getContext(\"webgl\") || testCanvas.getContext(\"experimental-webgl\");            if (gl) {                window.wpvrMaxTexture = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 16384;                var ext = gl.getExtension(\"WEBGL_lose_context\");                if (ext) { ext.loseContext(); }            }        } catch (e) {}    }    var maxTexture = window.wpvrMaxTexture;    for (var scId in scenesConfig.scenes) {        if (!scenesConfig.scenes.hasOwnProperty(scId)) continue;        var sc = scenesConfig.scenes[scId];        if (!sc) continue;        var exceedsGpu = sc.desktop_width &#038;&#038; (sc.desktop_width > maxTexture);        if (isMobile || isSmallScreen || exceedsGpu) {            if (sc.mobile_panorama) {                sc.panorama = sc.mobile_panorama;            }        } else if (sc.desktop_panorama) {            sc.panorama = sc.desktop_panorama;        }    }}wpvrResolveDevicePanorama(scenes);if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow6698;var panoshow26698;function initWPVRViewer6698() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer6698, 50); return; }panoshow6698 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow6698;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow6698 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow6698.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow6698.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer6698();var response_duplicate = [{\"panoid\":\"pano6698\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/7thFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -8.360149820106823\",\"yaw\":\" 100.7426521911682\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -3.0235364441236023\",\"yaw\":\" 170.011372181295\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.1288732285596643\",\"yaw\":\" -125.61855647470907\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lecture Room\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" 1.2416525437026937\",\"yaw\":\" -11.029066399095539\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Student Creative Co-Working Spaces\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" 1.7023448590608667\",\"yaw\":\" 1.7299288951087972\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"FabLab\\\/Maker Space\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];wpvrResolveDevicePanorama(scenes_duplicate);if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano6698 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow6698.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow6698.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow6698.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow6698.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano26698 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano6698 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano26698 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano6698 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano6698\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls6698\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls6698\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow6698.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer6698 = null;\n                        var wpvrAutoRotateStopDelay6698 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate6698 = function () {\n                            clearTimeout(wpvrAutoRotateTimer6698);\n                            if (wpvrAutoRotateStopDelay6698 > 0) {\n                                wpvrAutoRotateTimer6698 = setTimeout(function () {\n                                    panoshow6698.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay6698);\n                            } else {\n                                wpvrAutoRotateTimer6698 = setTimeout(function () {\n                                    panoshow6698.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow6698.on(\"load\", wpvrScheduleAutoRotate6698);\n                        panoshow6698.on(\"scenechange\", wpvrScheduleAutoRotate6698);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot6698 = document.getElementById(\"pano6698\");\n            if (wpvrHotspotRoot6698) {\n                wpvrHotspotRoot6698.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    \/\/ Social share icons navigate independently using their own links and targets.\n                    if (hotspot.querySelector(\".wpvr-sticker-card--social-share\")) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_6698\",function() {\n                    jQuery(\"#explainer6698\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer6698\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano6698\",function(event) {\n        var isCross = event.target.closest(\".cross\");\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents-wrapper\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isCross != null){\n            return;\n        }\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide();\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_6698\",function() {\n                jQuery(\"#wpvr-floor-map6698\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map6698\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols6698\").hide();\n                      jQuery(\"#pano6698 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl6698\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide6698 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols6698\",function() {\n\t\t            if (slide6698 == \"up\") {\n\t\t              jQuery(\".vrgctrl6698\").empty();\n\t\t              jQuery(\".vrgctrl6698\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide6698 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl6698\").empty();\n\t\t              jQuery(\".vrgctrl6698\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide6698 = \"up\";\n\t\t            }\n                    jQuery(\"#pano6698 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols6698\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols6698\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols6698\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano6698\") {\n                          jQuery(\"#pano6698\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano6698\").children(\".pnlm-ui\").remove();\n                          panoshow6698 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow6698;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow6698 }\n                          }));\n                          jQuery(\"#pano6698\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow6698.loadScene(\"0001\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano6698\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls6698\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls6698\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano6698\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano6698\").children(\".pnlm-ui\").remove();\n              panoshow6698 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow6698;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow6698 }\n              }));\n              setTimeout(function() {\n                      panoshow6698.loadScene(\"0001\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano6698\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls6698\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls6698\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano6698\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano6698 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano6698 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano6698\">\n            (function () {\n                var pano = document.getElementById(\"pano6698\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>8th Floor<\/strong> (Research Labs\/Eastern Software Park BUU)<\/p>\n\n\n<style>#pano6701 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 300px; border-radius:0px; direction:ltr; \"><div id=\"pano26701\" class=\"pano-wrap pano-left pano26701\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer26701\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano6701\" class=\"pano-wrap pano-right pano6701\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer6701\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"6701\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"6701\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano6701\">\n            #pano6701 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano6701 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6701 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6701 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano6701 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano6701 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano6701 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano6701.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano6701.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano6701.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano6701.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano6701 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano6701 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano6701 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano6701\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/8thFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -5.1970650963961225\",\"yaw\":\" 168.90286512667802\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -3.808306717966392\",\"yaw\":\" 117.25161460404209\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Research Labs\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.1561455496771056\",\"yaw\":\" -89.73600301546662\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Eastern Software Park BUU\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" -3.5203006224524063\",\"yaw\":\" -164.25909193456516\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" 2.2016102479158133\",\"yaw\":\" -31.393949690107846\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"ISERL Research Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/LabsEntrance.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H006\",\"pitch\":\" -11.031813375488316\",\"yaw\":\" -165.34126810678953\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"8th Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H007\",\"pitch\":\" -3.235000062488134\",\"yaw\":\" 148.0226708397021\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H008\",\"pitch\":\" 0.31991440072888905\",\"yaw\":\" -17.786470695424093\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"DMI Lab \\\/ KST Lab\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" -0.5401691406236984\",\"yaw\":\" -58.78690842375649\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"MADI Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H010\",\"pitch\":\" 0.14329802835250313\",\"yaw\":\" 14.747140418376\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"CIL Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/KST.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H010\",\"pitch\":\" 13.992072875895522\",\"yaw\":\" -73.62017868488705\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"KST Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H011\",\"pitch\":\" 1.4335179066966077\",\"yaw\":\" 91.58399011455117\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"MCI Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H012\",\"pitch\":\" 2.5134739401578985\",\"yaw\":\" -149.86570288816526\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"DMI Lab\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H014\",\"pitch\":\" -1.149213112172886\",\"yaw\":\" -165.94574187447478\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"8th Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H015\",\"pitch\":\" 0.7993508852426597\",\"yaw\":\" -169.9228574520969\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/DMIFront.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H016\",\"pitch\":\" 0.5724452240175067\",\"yaw\":\" -123.54266637244612\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"8th Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H017\",\"pitch\":\" -12.375236214565602\",\"yaw\":\" -19.78819437912758\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"IoT Experimental Kits\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H018\",\"pitch\":\" -11.481876030113899\",\"yaw\":\" 89.38048592008472\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"AR\\\/VR Development Spaces\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H019\",\"pitch\":\" -1.5561872662561074\",\"yaw\":\" 23.102424724593075\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Information Technology Books\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H020\",\"pitch\":\" -11.746620674630167\",\"yaw\":\" 46.832989500671516\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Meeting Space\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/DMI-Back.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H021\",\"pitch\":\" 2.6501957249387993\",\"yaw\":\" -131.83285426590632\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"8th Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H022\",\"pitch\":\" -6.612656290323431\",\"yaw\":\" -160.32422732865768\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"DMI Front\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H023\",\"pitch\":\" -24.665243241531915\",\"yaw\":\" 88.96741971217415\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Meeting Space\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H024\",\"pitch\":\" -14.718209931727227\",\"yaw\":\" -126.82209709356977\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"IoT Experimental Kits\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H025\",\"pitch\":\" -6.534020950295332\",\"yaw\":\" -176.29581481295534\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"AR\\\/VR Development Space\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];function wpvrResolveDevicePanorama(scenesConfig) {    if (!scenesConfig || !scenesConfig.scenes) return;    var isMobile = \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent) || (navigator.platform === \"MacIntel\" && navigator.maxTouchPoints > 1);    var isSmallScreen = (window.innerWidth <= 768);    if (typeof window.wpvrMaxTexture === \"undefined\") {        window.wpvrMaxTexture = 16384;        try {            var testCanvas = document.createElement(\"canvas\");            var gl = testCanvas.getContext(\"webgl\") || testCanvas.getContext(\"experimental-webgl\");            if (gl) {                window.wpvrMaxTexture = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 16384;                var ext = gl.getExtension(\"WEBGL_lose_context\");                if (ext) { ext.loseContext(); }            }        } catch (e) {}    }    var maxTexture = window.wpvrMaxTexture;    for (var scId in scenesConfig.scenes) {        if (!scenesConfig.scenes.hasOwnProperty(scId)) continue;        var sc = scenesConfig.scenes[scId];        if (!sc) continue;        var exceedsGpu = sc.desktop_width &#038;&#038; (sc.desktop_width > maxTexture);        if (isMobile || isSmallScreen || exceedsGpu) {            if (sc.mobile_panorama) {                sc.panorama = sc.mobile_panorama;            }        } else if (sc.desktop_panorama) {            sc.panorama = sc.desktop_panorama;        }    }}wpvrResolveDevicePanorama(scenes);if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow6701;var panoshow26701;function initWPVRViewer6701() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer6701, 50); return; }panoshow6701 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow6701;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow6701 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow6701.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow6701.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer6701();var response_duplicate = [{\"panoid\":\"pano6701\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/8thFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -5.1970650963961225\",\"yaw\":\" 168.90286512667802\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -3.808306717966392\",\"yaw\":\" 117.25161460404209\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Research Labs\",\"sceneId\":\"0002\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.1561455496771056\",\"yaw\":\" -89.73600301546662\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Eastern Software Park BUU\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" -3.5203006224524063\",\"yaw\":\" -164.25909193456516\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" 2.2016102479158133\",\"yaw\":\" -31.393949690107846\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"ISERL Research Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0002\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/LabsEntrance.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H006\",\"pitch\":\" -11.031813375488316\",\"yaw\":\" -165.34126810678953\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"8th Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H007\",\"pitch\":\" -3.235000062488134\",\"yaw\":\" 148.0226708397021\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H008\",\"pitch\":\" 0.31991440072888905\",\"yaw\":\" -17.786470695424093\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"DMI Lab \\\/ KST Lab\",\"sceneId\":\"0003\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H009\",\"pitch\":\" -0.5401691406236984\",\"yaw\":\" -58.78690842375649\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"MADI Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H010\",\"pitch\":\" 0.14329802835250313\",\"yaw\":\" 14.747140418376\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"CIL Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0003\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/KST.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H010\",\"pitch\":\" 13.992072875895522\",\"yaw\":\" -73.62017868488705\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"KST Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H011\",\"pitch\":\" 1.4335179066966077\",\"yaw\":\" 91.58399011455117\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"MCI Lab\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H012\",\"pitch\":\" 2.5134739401578985\",\"yaw\":\" -149.86570288816526\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"DMI Lab\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H014\",\"pitch\":\" -1.149213112172886\",\"yaw\":\" -165.94574187447478\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"8th Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H015\",\"pitch\":\" 0.7993508852426597\",\"yaw\":\" -169.9228574520969\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0004\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/DMIFront.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H016\",\"pitch\":\" 0.5724452240175067\",\"yaw\":\" -123.54266637244612\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"8th Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H017\",\"pitch\":\" -12.375236214565602\",\"yaw\":\" -19.78819437912758\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"IoT Experimental Kits\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H018\",\"pitch\":\" -11.481876030113899\",\"yaw\":\" 89.38048592008472\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"AR\\\/VR Development Spaces\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H019\",\"pitch\":\" -1.5561872662561074\",\"yaw\":\" 23.102424724593075\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Information Technology Books\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H020\",\"pitch\":\" -11.746620674630167\",\"yaw\":\" 46.832989500671516\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Meeting Space\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"0005\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/DMI-Back.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H021\",\"pitch\":\" 2.6501957249387993\",\"yaw\":\" -131.83285426590632\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"8th Floor\",\"sceneId\":\"0001\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H022\",\"pitch\":\" -6.612656290323431\",\"yaw\":\" -160.32422732865768\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"DMI Front\",\"sceneId\":\"0004\",\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H023\",\"pitch\":\" -24.665243241531915\",\"yaw\":\" 88.96741971217415\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Meeting Space\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H024\",\"pitch\":\" -14.718209931727227\",\"yaw\":\" -126.82209709356977\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"IoT Experimental Kits\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H025\",\"pitch\":\" -6.534020950295332\",\"yaw\":\" -176.29581481295534\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"AR\\\/VR Development Space\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];wpvrResolveDevicePanorama(scenes_duplicate);if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano6701 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow6701.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow6701.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow6701.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow6701.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano26701 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano6701 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano26701 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano6701 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano6701\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls6701\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls6701\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow6701.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer6701 = null;\n                        var wpvrAutoRotateStopDelay6701 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate6701 = function () {\n                            clearTimeout(wpvrAutoRotateTimer6701);\n                            if (wpvrAutoRotateStopDelay6701 > 0) {\n                                wpvrAutoRotateTimer6701 = setTimeout(function () {\n                                    panoshow6701.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay6701);\n                            } else {\n                                wpvrAutoRotateTimer6701 = setTimeout(function () {\n                                    panoshow6701.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow6701.on(\"load\", wpvrScheduleAutoRotate6701);\n                        panoshow6701.on(\"scenechange\", wpvrScheduleAutoRotate6701);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot6701 = document.getElementById(\"pano6701\");\n            if (wpvrHotspotRoot6701) {\n                wpvrHotspotRoot6701.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    \/\/ Social share icons navigate independently using their own links and targets.\n                    if (hotspot.querySelector(\".wpvr-sticker-card--social-share\")) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_6701\",function() {\n                    jQuery(\"#explainer6701\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer6701\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano6701\",function(event) {\n        var isCross = event.target.closest(\".cross\");\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents-wrapper\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isCross != null){\n            return;\n        }\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide();\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_6701\",function() {\n                jQuery(\"#wpvr-floor-map6701\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map6701\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols6701\").hide();\n                      jQuery(\"#pano6701 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl6701\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide6701 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols6701\",function() {\n\t\t            if (slide6701 == \"up\") {\n\t\t              jQuery(\".vrgctrl6701\").empty();\n\t\t              jQuery(\".vrgctrl6701\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide6701 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl6701\").empty();\n\t\t              jQuery(\".vrgctrl6701\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide6701 = \"up\";\n\t\t            }\n                    jQuery(\"#pano6701 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols6701\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols6701\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols6701\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano6701\") {\n                          jQuery(\"#pano6701\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano6701\").children(\".pnlm-ui\").remove();\n                          panoshow6701 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow6701;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow6701 }\n                          }));\n                          jQuery(\"#pano6701\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow6701.loadScene(\"0001\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano6701\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls6701\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls6701\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano6701\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano6701\").children(\".pnlm-ui\").remove();\n              panoshow6701 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow6701;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow6701 }\n              }));\n              setTimeout(function() {\n                      panoshow6701.loadScene(\"0001\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano6701\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls6701\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls6701\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano6701\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano6701 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano6701 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano6701\">\n            (function () {\n                var pano = document.getElementById(\"pano6701\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>11th Floor<\/strong> (Exhibition Hall)<\/p>\n\n\n<style>#pano6714 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 300px; border-radius:0px; direction:ltr; \"><div id=\"pano26714\" class=\"pano-wrap pano-left pano26714\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer26714\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano6714\" class=\"pano-wrap pano-right pano6714\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer6714\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"6714\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"6714\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano6714\">\n            #pano6714 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano6714 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6714 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano6714 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano6714 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano6714 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano6714 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano6714.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano6714.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano6714.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano6714.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano6714 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano6714 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano6714 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano6714\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/11thFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -1.3818045844753757\",\"yaw\":\" -5.781686248919243\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrances\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -2.379692282892061\",\"yaw\":\" 83.85805186162708\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.4708279660446253\",\"yaw\":\" 118.49256640728345\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" 0.35480064020784136\",\"yaw\":\" 135.63295269479914\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" -1.2802725189057969\",\"yaw\":\" 57.45324730819141\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Back Entrance\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];function wpvrResolveDevicePanorama(scenesConfig) {    if (!scenesConfig || !scenesConfig.scenes) return;    var isMobile = \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent) || (navigator.platform === \"MacIntel\" && navigator.maxTouchPoints > 1);    var isSmallScreen = (window.innerWidth <= 768);    if (typeof window.wpvrMaxTexture === \"undefined\") {        window.wpvrMaxTexture = 16384;        try {            var testCanvas = document.createElement(\"canvas\");            var gl = testCanvas.getContext(\"webgl\") || testCanvas.getContext(\"experimental-webgl\");            if (gl) {                window.wpvrMaxTexture = gl.getParameter(gl.MAX_TEXTURE_SIZE) || 16384;                var ext = gl.getExtension(\"WEBGL_lose_context\");                if (ext) { ext.loseContext(); }            }        } catch (e) {}    }    var maxTexture = window.wpvrMaxTexture;    for (var scId in scenesConfig.scenes) {        if (!scenesConfig.scenes.hasOwnProperty(scId)) continue;        var sc = scenesConfig.scenes[scId];        if (!sc) continue;        var exceedsGpu = sc.desktop_width &#038;&#038; (sc.desktop_width > maxTexture);        if (isMobile || isSmallScreen || exceedsGpu) {            if (sc.mobile_panorama) {                sc.panorama = sc.mobile_panorama;            }        } else if (sc.desktop_panorama) {            sc.panorama = sc.desktop_panorama;        }    }}wpvrResolveDevicePanorama(scenes);if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow6714;var panoshow26714;function initWPVRViewer6714() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer6714, 50); return; }panoshow6714 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow6714;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow6714 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow6714.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow6714.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer6714();var response_duplicate = [{\"panoid\":\"pano6714\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"0001\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"0001\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.informatics.buu.ac.th\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/11thFloor.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"H001\",\"pitch\":\" -1.3818045844753757\",\"yaw\":\" -5.781686248919243\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Main Entrances\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H002\",\"pitch\":\" -2.379692282892061\",\"yaw\":\" 83.85805186162708\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Lifts\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H003\",\"pitch\":\" -1.4708279660446253\",\"yaw\":\" 118.49256640728345\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Stairs\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H004\",\"pitch\":\" 0.35480064020784136\",\"yaw\":\" 135.63295269479914\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Toilets\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"H005\",\"pitch\":\" -1.2802725189057969\",\"yaw\":\" 57.45324730819141\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"Back Entrance\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];wpvrResolveDevicePanorama(scenes_duplicate);if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx].hotspot_type === \"sticker\" || scenehotspot[hIdx].type === \"sticker\" || scenehotspot[hIdx].stickerTemplate) {    (function(hs) {        hs[\"createTooltipFunc\"] = function(div) {            if (typeof window.wpvrRenderStickerHotspot === \"function\") {                window.wpvrRenderStickerHotspot(div, hs);            }        };    })(scenehotspot[hIdx]);}else if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {    scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano6714 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow6714.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow6714.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow6714.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow6714.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano26714 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano6714 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano26714 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano6714 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano6714\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls6714\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls6714\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow6714.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer6714 = null;\n                        var wpvrAutoRotateStopDelay6714 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate6714 = function () {\n                            clearTimeout(wpvrAutoRotateTimer6714);\n                            if (wpvrAutoRotateStopDelay6714 > 0) {\n                                wpvrAutoRotateTimer6714 = setTimeout(function () {\n                                    panoshow6714.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay6714);\n                            } else {\n                                wpvrAutoRotateTimer6714 = setTimeout(function () {\n                                    panoshow6714.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow6714.on(\"load\", wpvrScheduleAutoRotate6714);\n                        panoshow6714.on(\"scenechange\", wpvrScheduleAutoRotate6714);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot6714 = document.getElementById(\"pano6714\");\n            if (wpvrHotspotRoot6714) {\n                wpvrHotspotRoot6714.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    \/\/ Social share icons navigate independently using their own links and targets.\n                    if (hotspot.querySelector(\".wpvr-sticker-card--social-share\")) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_6714\",function() {\n                    jQuery(\"#explainer6714\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer6714\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano6714\",function(event) {\n        var isCross = event.target.closest(\".cross\");\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents-wrapper\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isCross != null){\n            return;\n        }\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide();\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_6714\",function() {\n                jQuery(\"#wpvr-floor-map6714\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map6714\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols6714\").hide();\n                      jQuery(\"#pano6714 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl6714\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide6714 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols6714\",function() {\n\t\t            if (slide6714 == \"up\") {\n\t\t              jQuery(\".vrgctrl6714\").empty();\n\t\t              jQuery(\".vrgctrl6714\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide6714 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl6714\").empty();\n\t\t              jQuery(\".vrgctrl6714\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide6714 = \"up\";\n\t\t            }\n                    jQuery(\"#pano6714 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols6714\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols6714\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols6714\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano6714\") {\n                          jQuery(\"#pano6714\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano6714\").children(\".pnlm-ui\").remove();\n                          panoshow6714 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow6714;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow6714 }\n                          }));\n                          jQuery(\"#pano6714\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow6714.loadScene(\"0001\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano6714\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls6714\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls6714\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano6714\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano6714\").children(\".pnlm-ui\").remove();\n              panoshow6714 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow6714;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow6714 }\n              }));\n              setTimeout(function() {\n                      panoshow6714.loadScene(\"0001\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano6714\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls6714\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls6714\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano6714\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano6714 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano6714 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano6714\">\n            (function () {\n                var pano = document.getElementById(\"pano6714\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>","protected":false},"excerpt":{"rendered":"<p>Outside of the Informatics Building, Burapha University 1st Floor (Security Check\/Health Check\/Common Spaces\/Student Club Office\/Copy Room\/Wheelchair Ramp\/Toilets) 2nd Floor (Office of Administration\/Office of Education\/Dean&#8217;s Office\/Digital Library\/Terrace\/Toilets) 3rd Floor (Computer Rooms\/Lecture [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"class_list":["post-6718","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.informatics.buu.ac.th\/index.php?rest_route=\/wp\/v2\/pages\/6718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.informatics.buu.ac.th\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.informatics.buu.ac.th\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.informatics.buu.ac.th\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.informatics.buu.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6718"}],"version-history":[{"count":6,"href":"https:\/\/www.informatics.buu.ac.th\/index.php?rest_route=\/wp\/v2\/pages\/6718\/revisions"}],"predecessor-version":[{"id":6724,"href":"https:\/\/www.informatics.buu.ac.th\/index.php?rest_route=\/wp\/v2\/pages\/6718\/revisions\/6724"}],"wp:attachment":[{"href":"https:\/\/www.informatics.buu.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}