#pano6138 div.pnlm-orientation-button {
display: none;
}
.wpvr-floor-map .floor-plan-pointer.add-pulse:before {
border: 17px solid #cca92c;
}
@-webkit-keyframes pulse {
0% {
-webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);
}
70% {
-webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
}
100% {
-webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
}
}
@keyframes pulse {
0% {
-moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);
box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);
}
70% {
-moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
}
100% {
-moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
}
}
(function ($) {jQuery(document).ready(function() {var response = [{"panoid":"pano6138"},{"autoLoad":true,"showControls":true,"orientationSupport":"false","compass":false,"orientationOnByDefault":false,"mouseZoom":true,"draggable":true,"disableKeyboardCtrl":false,"keyboardZoom":true,"preview":"","default":{"firstScene":"fwRFTSrG","sceneFadeDuration":""},"scenes":{"fwRFTSrG":{"type":"equirectangular","panorama":"https:\/\/ogawa-koumuten.jp\/wp-content\/uploads\/2025\/09\/IMG_20250902_104103_00_004_PureShot.jpg","pitch":null,"yaw":null,"hfov":100,"maxHfov":120,"minHfov":50,"vaov":180,"haov":360,"hotSpots":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i].type === "info") { scenehotspot[i]["clickHandlerFunc"] = wpvrhotspot;} else if(scenehotspot[i].type === "scene") { scenehotspot[i]["clickHandlerArgs"] = scenehotspot[i]["text"];}if(scenehotspot[i]["createTooltipArgs"] != "") {scenehotspot[i]["createTooltipFunc"] = wpvrtooltip;}}}}var panoshow6138 = pannellum.viewer(response[0]["panoid"], scenes);
if(!wpvr_public.is_pro_active || !wpvr_public.is_license_active) {
panoshow6138.on("load", function() {
jQuery(".pnlm-panorama-info").hide();
jQuery(".pnlm-compass").hide();
jQuery(".adcontrol").hide();
});
panoshow6138.on("scenechange", function() {
jQuery(".pnlm-panorama-info").hide();
jQuery(".pnlm-compass").hide();
jQuery(".adcontrol").hide();
});
}var response_duplicate = [{"panoid":"pano6138"},{"autoLoad":true,"showControls":true,"orientationSupport":"false","compass":false,"orientationOnByDefault":false,"mouseZoom":true,"draggable":true,"disableKeyboardCtrl":false,"keyboardZoom":true,"preview":"","default":{"firstScene":"fwRFTSrG","sceneFadeDuration":""},"scenes":{"fwRFTSrG":{"type":"equirectangular","panorama":"https:\/\/ogawa-koumuten.jp\/wp-content\/uploads\/2025\/09\/IMG_20250902_104103_00_004_PureShot.jpg","pitch":null,"yaw":null,"hfov":100,"maxHfov":120,"minHfov":50,"vaov":180,"haov":360,"hotSpots":[]}},"autoRotate":false}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i {
window.dispatchEvent(new Event("resize"));
}, 200);
if (jQuery("#pano6138").children().children(".pnlm-panorama-info:visible").length > 0) {
jQuery("#controls6138").css("bottom", "80px");
}
else {
jQuery("#controls6138").css("bottom", "5px");
}
});panoshow6138.on("render", function (){
window.dispatchEvent(new Event("resize"));
});if (scenes.autoRotate) {
panoshow6138.on("load", function (){
setTimeout(function(){ panoshow6138.startAutoRotate(scenes.autoRotate, 0); }, 3000);
});
panoshow6138.on("scenechange", function (){
setTimeout(function(){ panoshow6138.startAutoRotate(scenes.autoRotate, 0); }, 3000);
});
}var touchtime = 0;jQuery(document).on("click","#explainer_button_6138",function() {
jQuery("#explainer6138").slideToggle(function(){
var $explainerVideoId = jQuery("#explainer6138");
var $explainerVideoIframe = $explainerVideoId.find("iframe");
var explainerVideoIframSrc = $explainerVideoIframe.attr("src");
$explainerVideoIframe.attr("src", "");
$explainerVideoIframe.attr("src", explainerVideoIframSrc);
});
});
jQuery(document).on("click", ".close-explainer-video", function() {
var $explainer = jQuery(this).parent(".explainer");
var $iframe = $explainer.find("iframe");
var el_src = $iframe.attr("src");
$iframe.attr("src", "");
$explainer.hide();
$iframe.attr("src", el_src);
});jQuery(document).on("click","#floor_map_button_6138",function() {
jQuery("#wpvr-floor-map6138").toggle().removeClass("fullwindow");
});
jQuery(document).on("dblclick","#wpvr-floor-map6138",function(){
jQuery(this).addClass("fullwindow");
jQuery(this).parents(".pano-wrap").addClass("show-modal");
});
jQuery(document).on("click",".close-floor-map-plan",function() {
jQuery(this).parent(".wpvr-floor-map").hide();
jQuery(this).parent(".wpvr-floor-map").removeClass("fullwindow");
jQuery(this).parents(".pano-wrap").removeClass("show-modal");
});jQuery(document).ready(function($){
jQuery("#sccontrols6138").hide();
jQuery(".wpvr_slider_nav").hide();
jQuery(".vrgctrl6138").html('
');
});var slide6138 = "down";
jQuery(document).on("click","#vrgcontrols6138",function() {
if (slide6138 == "up") {
jQuery(".vrgctrl6138").empty();
jQuery(".vrgctrl6138").html('
');
slide6138 = "down";
}
else {
jQuery(".vrgctrl6138").empty();
jQuery(".vrgctrl6138").html('
');
slide6138 = "up";
}
jQuery(".wpvr_slider_nav").slideToggle();
jQuery("#sccontrols6138").slideToggle(function(){
if (jQuery(".elementor-edit-mode .elementor-widget-container").length) {
if (jQuery(this).is(":visible")) {
jQuery(".elementor-edit-mode .elementor-widget-container .wpvr-cardboard .pnlm-container .scene-gallery").css({
"display": "flex",
"justify-content": "center",
"align-items": "center",
"gap": "15px"
});
}
}
if (jQuery(".bricks-is-frontend").length) {
if (jQuery(this).is(":visible")) {
jQuery(".bricks-is-frontend .wpvr-cardboard .pnlm-container .scene-gallery").css({
"display": "flex",
"justify-content": "center",
"align-items": "center"
});
}
}
});
});jQuery(".elementor-tab-title").click(function(){
var element_id;
var pano_id;
var element_id = this.id;
element_id = element_id.split("-");
element_id = element_id[3];
jQuery("#elementor-tab-content-"+element_id).find("#master-container").children("div").eq(1).addClass("awwww");
var pano_id = jQuery(".awwww").attr("id");
jQuery("#elementor-tab-content-"+element_id).find("#master-container").children("div").eq(1).removeClass("awwww");;
if (pano_id != undefined) {
pano_id = pano_id.split("o");
pano_id = pano_id[1];
if (pano_id == "6138") {
jQuery("#pano6138").children(".pnlm-render-container").remove();
jQuery("#pano6138").children(".pnlm-ui").remove();
panoshow6138 = pannellum.viewer(response[0]["panoid"], scenes);
jQuery("#pano6138").children(".pnlm-ui").find(".pnlm-load-button p").text("Click To Load Panorama")
setTimeout(function() {
// panoshow6138.loadScene("fwRFTSrG");
window.dispatchEvent(new Event("resize"));
if (jQuery("#pano6138").children().children(".pnlm-panorama-info:visible").length > 0) {
jQuery("#controls6138").css("bottom", "55px");
} else {
jQuery("#controls6138").css("bottom", "5px");
}
}, 200);
}
}
});jQuery(".geodir-tab-head dd, #vr-tour-tab").click(function(){
jQuery("#pano6138").children(".pnlm-render-container").remove();
jQuery("#pano6138").children(".pnlm-ui").remove();
panoshow6138 = pannellum.viewer(response[0]["panoid"], scenes);
setTimeout(function() {
panoshow6138.loadScene("fwRFTSrG");
window.dispatchEvent(new Event("resize"));
if (jQuery("#pano6138").children().children(".pnlm-panorama-info:visible").length > 0) {
jQuery("#controls6138").css("bottom", "55px");
}
else {
jQuery("#controls6138").css("bottom", "5px");
}
}, 200);
});
jQuery("#pano6138").children(".pnlm-ui").find(".pnlm-load-button p").text("Click To Load Panorama")
jQuery("#pano6138 .pnlm-title-box").on("mouseenter", function(){
jQuery(this).attr("title", jQuery(this).text());
});
jQuery("#pano6138 .pnlm-title-box").on("mouseleave", function(){
jQuery(this).removeAttr("title");
});});})(jQuery);