TDV.PlayerAPI.defineScript({ "definitions": [
 {
  "hfovMax": 130,
  "hfovMin": 60,
  "partial": false,
  "vfov": 180,
  "class": "Panorama",
  "hfov": 360,
  "id": "panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3",
  "cardboardMenu": {
   "selectedBackgroundColor": "#202020",
   "opacity": 0.4,
   "fontFamily": "Arial",
   "selectedFontColor": "#FFFFFF",
   "label": "Media",
   "backgroundColor": "#404040",
   "rollOverOpacity": 0.8,
   "rollOverFontColor": "#FFFFFF",
   "class": "Menu",
   "fontColor": "#FFFFFF",
   "id": "Menu_6CA66043_7D3C_9532_41B9_EB1FD6E99696",
   "rollOverBackgroundColor": "#000000",
   "children": [
    {
     "click": "this.mainPlayList.set('selectedIndex', 0)",
     "class": "MenuItem",
     "label": "Wohnen_Kuche"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 1)",
     "class": "MenuItem",
     "label": "Kochen"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 2)",
     "class": "MenuItem",
     "label": "Schlafen"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 3)",
     "class": "MenuItem",
     "label": "Kind"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 4)",
     "class": "MenuItem",
     "label": "Bad"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 5)",
     "class": "MenuItem",
     "label": "Flur"
    }
   ]
  },
  "pitch": 0,
  "frames": [
   {
    "thumbnailUrl": "media/panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_t.jpg",
    "overlays": [
     {
      "rollOverDisplay": false,
      "data": {
       "label": "Image"
      },
      "class": "HotspotPanoramaOverlay",
      "items": [
       {
        "pitch": -0.81,
        "yaw": -143.67,
        "image": {
         "levels": [
          {
           "url": "media/panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_0_HS_0_0.png",
           "width": 116,
           "class": "ImageResourceLevel",
           "height": 115
          }
         ],
         "class": "ImageResource"
        },
        "class": "HotspotPanoramaOverlayImage",
        "hfov": 8.35,
        "distance": 100
       }
      ],
      "areas": [
       {
        "mapColor": "image",
        "class": "HotspotPanoramaOverlayArea",
        "click": "this.startPanoramaWithCamera(this.panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7, this.camera_6CCB40C0_7D3C_952E_41B8_72C67AD1EABE); this.mainPlayList.set('selectedIndex', 1)"
       }
      ],
      "enabledInCardboard": true,
      "id": "overlay_73FE4A31_7D37_B56E_41BE_FA79DAB8D361",
      "useHandCursor": true,
      "maps": []
     },
     {
      "rollOverDisplay": false,
      "data": {
       "label": "Image"
      },
      "class": "HotspotPanoramaOverlay",
      "items": [
       {
        "pitch": -4.33,
        "yaw": -177.08,
        "image": {
         "levels": [
          {
           "url": "media/panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_0_HS_1_0.png",
           "width": 116,
           "class": "ImageResourceLevel",
           "height": 115
          }
         ],
         "class": "ImageResource"
        },
        "class": "HotspotPanoramaOverlayImage",
        "hfov": 8.33,
        "distance": 100
       }
      ],
      "areas": [
       {
        "mapColor": "image",
        "class": "HotspotPanoramaOverlayArea",
        "click": "this.startPanoramaWithCamera(this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61, this.camera_6CD2F0B0_7D3C_956E_41D0_2236BB256BE5); this.mainPlayList.set('selectedIndex', 5)"
       }
      ],
      "enabledInCardboard": true,
      "id": "overlay_72DE1C7B_7D34_8DD1_41BF_A93C4DF65C3F",
      "useHandCursor": true,
      "maps": []
     }
    ],
    "class": "SphericPanoramaFrame",
    "sphere": {
     "levels": [
      {
       "url": "media/panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_hq.jpeg",
       "width": 5000,
       "class": "ImageResourceLevel",
       "height": 2500
      },
      {
       "tags": "preload",
       "url": "media/panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_lq.jpeg",
       "width": 2048,
       "class": "ImageResourceLevel",
       "height": 1024
      },
      {
       "url": "media/panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3.jpeg",
       "width": 4002,
       "class": "ImageResourceLevel",
       "height": 2001
      }
     ],
     "class": "ImageResource"
    }
   }
  ],
  "label": "Wohnen_Kuche",
  "thumbnailUrl": "media/panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_t.jpg",
  "adjacentPanoramas": [
   {
    "yaw": -177.08,
    "class": "AdjacentPanorama",
    "panorama": {
     "hfovMax": 130,
     "hfovMin": 60,
     "partial": false,
     "vfov": 180,
     "class": "Panorama",
     "hfov": 360,
     "id": "panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61",
     "cardboardMenu": "this.Menu_6CA66043_7D3C_9532_41B9_EB1FD6E99696",
     "pitch": 0,
     "frames": [
      {
       "thumbnailUrl": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_t.jpg",
       "overlays": [
        {
         "rollOverDisplay": false,
         "data": {
          "label": "Image"
         },
         "class": "HotspotPanoramaOverlay",
         "items": [
          {
           "pitch": -3.32,
           "yaw": -129.6,
           "image": {
            "levels": [
             {
              "url": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_0_HS_0_0.png",
              "width": 116,
              "class": "ImageResourceLevel",
              "height": 115
             }
            ],
            "class": "ImageResource"
           },
           "class": "HotspotPanoramaOverlayImage",
           "hfov": 8.34,
           "distance": 100
          }
         ],
         "areas": [
          {
           "mapColor": "image",
           "class": "HotspotPanoramaOverlayArea",
           "click": "this.startPanoramaWithCamera(this.panorama_76147727_7D34_9B72_41DD_7E75B5B35A41, this.camera_6CEDA091_7D3C_952E_41D7_5B3EA21C8426); this.mainPlayList.set('selectedIndex', 4)"
          }
         ],
         "enabledInCardboard": true,
         "id": "overlay_6D4F89EF_7D34_96F2_41D0_3F601A758073",
         "useHandCursor": true,
         "maps": []
        },
        {
         "rollOverDisplay": false,
         "data": {
          "label": "Image"
         },
         "class": "HotspotPanoramaOverlay",
         "items": [
          {
           "pitch": -2.07,
           "yaw": -42.43,
           "image": {
            "levels": [
             {
              "url": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_0_HS_1_0.png",
              "width": 116,
              "class": "ImageResourceLevel",
              "height": 115
             }
            ],
            "class": "ImageResource"
           },
           "class": "HotspotPanoramaOverlayImage",
           "hfov": 8.35,
           "distance": 100
          }
         ],
         "areas": [
          {
           "mapColor": "image",
           "class": "HotspotPanoramaOverlayArea",
           "click": "this.startPanoramaWithCamera(this.panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3, this.camera_6C86E071_7D3C_95EE_41BF_1B650592C3FB); this.mainPlayList.set('selectedIndex', 0)"
          }
         ],
         "enabledInCardboard": true,
         "id": "overlay_6C6D3EC0_7D34_8D2E_41D9_1D196277B176",
         "useHandCursor": true,
         "maps": []
        },
        {
         "rollOverDisplay": false,
         "data": {
          "label": "Image"
         },
         "class": "HotspotPanoramaOverlay",
         "items": [
          {
           "pitch": -0.56,
           "yaw": 106.3,
           "image": {
            "levels": [
             {
              "url": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_0_HS_2_0.png",
              "width": 116,
              "class": "ImageResourceLevel",
              "height": 115
             }
            ],
            "class": "ImageResource"
           },
           "class": "HotspotPanoramaOverlayImage",
           "hfov": 8.35,
           "distance": 100
          }
         ],
         "areas": [
          {
           "mapColor": "image",
           "class": "HotspotPanoramaOverlayArea",
           "click": "this.startPanoramaWithCamera(this.panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F, this.camera_6C8B5061_7D3C_95EE_41CB_8F4F78637BF3); this.mainPlayList.set('selectedIndex', 3)"
          }
         ],
         "enabledInCardboard": true,
         "id": "overlay_6CBB44E1_7D3B_BEEE_41C6_099E3DF511A9",
         "useHandCursor": true,
         "maps": []
        },
        {
         "rollOverDisplay": false,
         "data": {
          "label": "Image"
         },
         "class": "HotspotPanoramaOverlay",
         "items": [
          {
           "pitch": -1.56,
           "yaw": 143.73,
           "image": {
            "levels": [
             {
              "url": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_0_HS_3_0.png",
              "width": 116,
              "class": "ImageResourceLevel",
              "height": 115
             }
            ],
            "class": "ImageResource"
           },
           "class": "HotspotPanoramaOverlayImage",
           "hfov": 8.35,
           "distance": 100
          }
         ],
         "areas": [
          {
           "mapColor": "image",
           "class": "HotspotPanoramaOverlayArea",
           "click": "this.startPanoramaWithCamera(this.panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4, this.camera_6CF13081_7D3C_952E_41D4_DFDF170B7E15); this.mainPlayList.set('selectedIndex', 2)"
          }
         ],
         "enabledInCardboard": true,
         "id": "overlay_6CB4896B_7D3B_F7F2_41C7_D423322317CE",
         "useHandCursor": true,
         "maps": []
        }
       ],
       "class": "SphericPanoramaFrame",
       "sphere": {
        "levels": [
         {
          "url": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_hq.jpeg",
          "width": 5000,
          "class": "ImageResourceLevel",
          "height": 2500
         },
         {
          "tags": "preload",
          "url": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_lq.jpeg",
          "width": 2048,
          "class": "ImageResourceLevel",
          "height": 1024
         },
         {
          "url": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61.jpeg",
          "width": 4002,
          "class": "ImageResourceLevel",
          "height": 2001
         }
        ],
        "class": "ImageResource"
       }
      }
     ],
     "label": "Flur",
     "thumbnailUrl": "media/panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_t.jpg",
     "adjacentPanoramas": [
      {
       "yaw": 106.3,
       "class": "AdjacentPanorama",
       "panorama": {
        "hfovMax": 130,
        "hfovMin": 60,
        "partial": false,
        "vfov": 180,
        "class": "Panorama",
        "hfov": 360,
        "id": "panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F",
        "cardboardMenu": "this.Menu_6CA66043_7D3C_9532_41B9_EB1FD6E99696",
        "pitch": 0,
        "frames": [
         {
          "thumbnailUrl": "media/panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F_t.jpg",
          "overlays": [
           {
            "rollOverDisplay": false,
            "data": {
             "label": "Image"
            },
            "class": "HotspotPanoramaOverlay",
            "items": [
             {
              "pitch": -0.79,
              "yaw": 177.36,
              "image": {
               "levels": [
                {
                 "url": "media/panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F_0_HS_0_0.png",
                 "width": 73,
                 "class": "ImageResourceLevel",
                 "height": 72
                }
               ],
               "class": "ImageResource"
              },
              "class": "HotspotPanoramaOverlayImage",
              "hfov": 5.28,
              "distance": 100
             }
            ],
            "areas": [
             {
              "mapColor": "image",
              "class": "HotspotPanoramaOverlayArea",
              "click": "this.startPanoramaWithCamera(this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61, this.camera_6CC7A0CF_7D3C_9532_41DD_944D0C16A2D4); this.mainPlayList.set('selectedIndex', 5)"
             }
            ],
            "enabledInCardboard": true,
            "id": "overlay_6D635598_7D35_7F5F_41B6_40F858513CAA",
            "useHandCursor": true,
            "maps": []
           }
          ],
          "class": "SphericPanoramaFrame",
          "sphere": {
           "levels": [
            {
             "url": "media/panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F_hq.jpeg",
             "width": 5000,
             "class": "ImageResourceLevel",
             "height": 2500
            },
            {
             "tags": "preload",
             "url": "media/panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F_lq.jpeg",
             "width": 2048,
             "class": "ImageResourceLevel",
             "height": 1024
            },
            {
             "url": "media/panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F.jpeg",
             "width": 4002,
             "class": "ImageResourceLevel",
             "height": 2001
            }
           ],
           "class": "ImageResource"
          }
         }
        ],
        "label": "Kind",
        "thumbnailUrl": "media/panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F_t.jpg",
        "adjacentPanoramas": [
         {
          "yaw": 177.36,
          "class": "AdjacentPanorama",
          "panorama": "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61",
          "distance": 1,
          "backwardYaw": 106.3
         }
        ]
       },
       "distance": 1,
       "backwardYaw": 177.36
      },
      {
       "yaw": -42.43,
       "class": "AdjacentPanorama",
       "panorama": "this.panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3",
       "distance": 1,
       "backwardYaw": -177.08
      },
      {
       "yaw": 143.73,
       "class": "AdjacentPanorama",
       "panorama": {
        "hfovMax": 130,
        "hfovMin": 60,
        "partial": false,
        "vfov": 180,
        "class": "Panorama",
        "hfov": 360,
        "id": "panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4",
        "cardboardMenu": "this.Menu_6CA66043_7D3C_9532_41B9_EB1FD6E99696",
        "pitch": 0,
        "frames": [
         {
          "thumbnailUrl": "media/panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4_t.jpg",
          "overlays": [
           {
            "rollOverDisplay": false,
            "data": {
             "label": "Image"
            },
            "class": "HotspotPanoramaOverlay",
            "items": [
             {
              "pitch": -7.09,
              "yaw": -174.57,
              "image": {
               "levels": [
                {
                 "url": "media/panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4_0_HS_0_0.png",
                 "width": 116,
                 "class": "ImageResourceLevel",
                 "height": 115
                }
               ],
               "class": "ImageResource"
              },
              "class": "HotspotPanoramaOverlayImage",
              "hfov": 8.29,
              "distance": 100
             }
            ],
            "areas": [
             {
              "mapColor": "image",
              "class": "HotspotPanoramaOverlayArea",
              "click": "this.startPanoramaWithCamera(this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61, this.camera_6F3100E4_7D3C_96F6_41AF_E55BC3131CA9); this.mainPlayList.set('selectedIndex', 5)"
             }
            ],
            "enabledInCardboard": true,
            "id": "overlay_6D79B387_7D35_9B31_41BE_644B6F91961D",
            "useHandCursor": true,
            "maps": []
           }
          ],
          "class": "SphericPanoramaFrame",
          "sphere": {
           "levels": [
            {
             "url": "media/panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4_hq.jpeg",
             "width": 5000,
             "class": "ImageResourceLevel",
             "height": 2500
            },
            {
             "tags": "preload",
             "url": "media/panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4_lq.jpeg",
             "width": 2048,
             "class": "ImageResourceLevel",
             "height": 1024
            },
            {
             "url": "media/panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4.jpeg",
             "width": 4002,
             "class": "ImageResourceLevel",
             "height": 2001
            }
           ],
           "class": "ImageResource"
          }
         }
        ],
        "label": "Schlafen",
        "thumbnailUrl": "media/panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4_t.jpg",
        "adjacentPanoramas": [
         {
          "yaw": -174.57,
          "class": "AdjacentPanorama",
          "panorama": "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61",
          "distance": 1,
          "backwardYaw": 143.73
         }
        ]
       },
       "distance": 1,
       "backwardYaw": -174.57
      },
      {
       "yaw": -129.6,
       "class": "AdjacentPanorama",
       "panorama": {
        "hfovMax": 130,
        "hfovMin": 60,
        "partial": false,
        "vfov": 180,
        "class": "Panorama",
        "hfov": 360,
        "id": "panorama_76147727_7D34_9B72_41DD_7E75B5B35A41",
        "cardboardMenu": "this.Menu_6CA66043_7D3C_9532_41B9_EB1FD6E99696",
        "pitch": 0,
        "frames": [
         {
          "thumbnailUrl": "media/panorama_76147727_7D34_9B72_41DD_7E75B5B35A41_t.jpg",
          "overlays": [
           {
            "rollOverDisplay": false,
            "data": {
             "label": "Image"
            },
            "class": "HotspotPanoramaOverlay",
            "items": [
             {
              "pitch": -2.57,
              "yaw": -60.26,
              "image": {
               "levels": [
                {
                 "url": "media/panorama_76147727_7D34_9B72_41DD_7E75B5B35A41_0_HS_0_0.png",
                 "width": 116,
                 "class": "ImageResourceLevel",
                 "height": 115
                }
               ],
               "class": "ImageResource"
              },
              "class": "HotspotPanoramaOverlayImage",
              "hfov": 8.34,
              "distance": 100
             }
            ],
            "areas": [
             {
              "mapColor": "image",
              "class": "HotspotPanoramaOverlayArea",
              "click": "this.startPanoramaWithCamera(this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61, this.camera_6F2D00F4_7D3C_96D6_41DC_BB7E07FB70E3); this.mainPlayList.set('selectedIndex', 5)"
             }
            ],
            "enabledInCardboard": true,
            "id": "overlay_6D552E08_7D34_8D3E_41D2_48B3D8B51A57",
            "useHandCursor": true,
            "maps": []
           }
          ],
          "class": "SphericPanoramaFrame",
          "sphere": {
           "levels": [
            {
             "url": "media/panorama_76147727_7D34_9B72_41DD_7E75B5B35A41_hq.jpeg",
             "width": 5000,
             "class": "ImageResourceLevel",
             "height": 2500
            },
            {
             "tags": "preload",
             "url": "media/panorama_76147727_7D34_9B72_41DD_7E75B5B35A41_lq.jpeg",
             "width": 2048,
             "class": "ImageResourceLevel",
             "height": 1024
            },
            {
             "url": "media/panorama_76147727_7D34_9B72_41DD_7E75B5B35A41.jpeg",
             "width": 4002,
             "class": "ImageResourceLevel",
             "height": 2001
            }
           ],
           "class": "ImageResource"
          }
         }
        ],
        "label": "Bad",
        "thumbnailUrl": "media/panorama_76147727_7D34_9B72_41DD_7E75B5B35A41_t.jpg",
        "adjacentPanoramas": [
         {
          "yaw": -60.26,
          "class": "AdjacentPanorama",
          "panorama": "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61",
          "distance": 1,
          "backwardYaw": -129.6
         }
        ]
       },
       "distance": 1,
       "backwardYaw": -60.26
      }
     ]
    },
    "distance": 1,
    "backwardYaw": -42.43
   },
   {
    "yaw": -143.67,
    "class": "AdjacentPanorama",
    "panorama": {
     "hfovMax": 130,
     "hfovMin": 60,
     "partial": false,
     "vfov": 180,
     "class": "Panorama",
     "hfov": 360,
     "id": "panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7",
     "cardboardMenu": "this.Menu_6CA66043_7D3C_9532_41B9_EB1FD6E99696",
     "pitch": 0,
     "frames": [
      {
       "thumbnailUrl": "media/panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_t.jpg",
       "overlays": [
        {
         "rollOverDisplay": false,
         "data": {
          "label": "Image"
         },
         "class": "HotspotPanoramaOverlay",
         "items": [
          {
           "pitch": -5.33,
           "yaw": -116.54,
           "image": {
            "levels": [
             {
              "url": "media/panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_0_HS_0_0.png",
              "width": 116,
              "class": "ImageResourceLevel",
              "height": 115
             }
            ],
            "class": "ImageResource"
           },
           "class": "HotspotPanoramaOverlayImage",
           "hfov": 8.32,
           "distance": 100
          }
         ],
         "areas": [
          {
           "mapColor": "image",
           "class": "HotspotPanoramaOverlayArea",
           "click": "this.mainPlayList.set('selectedIndex', 5)"
          }
         ],
         "enabledInCardboard": true,
         "id": "overlay_6D2A1457_7D34_9DD2_41D2_F0C125D8DE10",
         "useHandCursor": true,
         "maps": []
        },
        {
         "rollOverDisplay": false,
         "data": {
          "label": "Image"
         },
         "class": "HotspotPanoramaOverlay",
         "items": [
          {
           "pitch": -0.31,
           "yaw": -174.07,
           "image": {
            "levels": [
             {
              "url": "media/panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_0_HS_1_0.png",
              "width": 116,
              "class": "ImageResourceLevel",
              "height": 115
             }
            ],
            "class": "ImageResource"
           },
           "class": "HotspotPanoramaOverlayImage",
           "hfov": 8.35,
           "distance": 100
          }
         ],
         "areas": [
          {
           "mapColor": "image",
           "class": "HotspotPanoramaOverlayArea",
           "click": "this.startPanoramaWithCamera(this.panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3, this.camera_6CE650A1_7D3C_956E_41C1_E170A33E2007); this.mainPlayList.set('selectedIndex', 0)"
          }
         ],
         "enabledInCardboard": true,
         "id": "overlay_6DF0EB21_7D35_8B6E_41CD_DE7424AAB803",
         "useHandCursor": true,
         "maps": []
        }
       ],
       "class": "SphericPanoramaFrame",
       "sphere": {
        "levels": [
         {
          "url": "media/panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_hq.jpeg",
          "width": 5000,
          "class": "ImageResourceLevel",
          "height": 2500
         },
         {
          "tags": "preload",
          "url": "media/panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_lq.jpeg",
          "width": 2048,
          "class": "ImageResourceLevel",
          "height": 1024
         },
         {
          "url": "media/panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7.jpeg",
          "width": 4002,
          "class": "ImageResourceLevel",
          "height": 2001
         }
        ],
        "class": "ImageResource"
       }
      }
     ],
     "label": "Kochen",
     "thumbnailUrl": "media/panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_t.jpg",
     "adjacentPanoramas": [
      {
       "panorama": "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61",
       "class": "AdjacentPanorama"
      },
      {
       "yaw": -174.07,
       "class": "AdjacentPanorama",
       "panorama": "this.panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3",
       "distance": 1,
       "backwardYaw": -143.67
      }
     ]
    },
    "distance": 1,
    "backwardYaw": -174.07
   }
  ]
 },
 {
  "touchControlMode": "drag_rotation",
  "class": "PanoramaPlayer",
  "gyroscopeVerticalDraggingEnabled": true,
  "mouseControlMode": "drag_acceleration",
  "displayPlaybackBar": true,
  "id": "MainViewerPanoramaPlayer",
  "buttonCardboardView": "this.IconButton_7150737B_7D34_9BD2_41DB_785C947099CA",
  "viewerArea": "this.MainViewer"
 },
 {
  "class": "PanoramaCamera",
  "id": "panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_camera",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 0,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 "this.panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7",
 {
  "class": "PanoramaCamera",
  "id": "panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_camera",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 0,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 "this.panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4",
 {
  "class": "PanoramaCamera",
  "id": "panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4_camera",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 0,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 "this.panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F",
 {
  "class": "PanoramaCamera",
  "id": "panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F_camera",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 0,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 "this.panorama_76147727_7D34_9B72_41DD_7E75B5B35A41",
 {
  "class": "PanoramaCamera",
  "id": "panorama_76147727_7D34_9B72_41DD_7E75B5B35A41_camera",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 0,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61",
 {
  "class": "PanoramaCamera",
  "id": "panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_camera",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 0,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "id": "mainPlayList",
  "class": "PlayList",
  "items": [
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_camera",
    "media": "this.panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 0, 1)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_camera",
    "media": "this.panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 1, 2)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4_camera",
    "media": "this.panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 2, 3)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F_camera",
    "media": "this.panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 3, 4)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_76147727_7D34_9B72_41DD_7E75B5B35A41_camera",
    "media": "this.panorama_76147727_7D34_9B72_41DD_7E75B5B35A41",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 4, 5)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_camera",
    "end": "this.trigger('tourEnded')",
    "media": "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 5, 0)"
   }
  ]
 },
 {
  "id": "DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist",
  "class": "PlayList",
  "items": [
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3_camera",
    "media": "this.panorama_7707B204_7D35_9536_41D6_C5EFBE8AC2F3",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist, 0, 1)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7_camera",
    "media": "this.panorama_7719E7D2_7D35_7AD2_41D1_BD97C1BE4BC7",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist, 1, 2)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4_camera",
    "media": "this.panorama_77190CE4_7D35_8EF6_41AD_37DFEDE709C4",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist, 2, 3)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F_camera",
    "media": "this.panorama_7718A2C0_7D35_752E_41B4_36BD9B66F47F",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist, 3, 4)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_76147727_7D34_9B72_41DD_7E75B5B35A41_camera",
    "media": "this.panorama_76147727_7D34_9B72_41DD_7E75B5B35A41",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist, 4, 5)"
   },
   {
    "class": "PanoramaPlayListItem",
    "camera": "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61_camera",
    "media": "this.panorama_77147D99_7D34_8F5E_41C4_BD92844DBE61",
    "player": "this.MainViewerPanoramaPlayer",
    "begin": "this.setEndToItemIndex(this.DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist, 5, 0)"
   }
  ]
 },
 "this.Menu_6CA66043_7D3C_9532_41B9_EB1FD6E99696",
 {
  "class": "PanoramaCamera",
  "id": "camera_6C8B5061_7D3C_95EE_41CB_8F4F78637BF3",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": -2.64,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6C86E071_7D3C_95EE_41BF_1B650592C3FB",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 2.92,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6CF13081_7D3C_952E_41D4_DFDF170B7E15",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 5.43,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6CEDA091_7D3C_952E_41D7_5B3EA21C8426",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 119.74,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6CE650A1_7D3C_956E_41C1_E170A33E2007",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 36.33,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6CD2F0B0_7D3C_956E_41D0_2236BB256BE5",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 137.57,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6CCB40C0_7D3C_952E_41B8_72C67AD1EABE",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 5.93,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6CC7A0CF_7D3C_9532_41DD_944D0C16A2D4",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": -73.7,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6F3100E4_7D3C_96F6_41AF_E55BC3131CA9",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": -36.27,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 },
 {
  "class": "PanoramaCamera",
  "id": "camera_6F2D00F4_7D3C_96D6_41DC_BB7E07FB70E3",
  "automaticZoomSpeed": 10,
  "initialPosition": {
   "yaw": 50.4,
   "class": "PanoramaCameraPosition",
   "pitch": 0
  },
  "initialSequence": {
   "movements": [
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_in",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "linear",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "class": "DistancePanoramaCameraMovement",
     "easing": "cubic_out",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ],
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence"
  }
 }
], "children": [
 {
  "playbackBarProgressBackgroundColor": [
   "#3399FF"
  ],
  "toolTipShadowSpread": 0,
  "progressBarBorderColor": "#000000",
  "playbackBarBackgroundColor": [
   "#FFFFFF"
  ],
  "playbackBarProgressBorderRadius": 0,
  "playbackBarHeadBackgroundColor": [
   "#111111",
   "#666666"
  ],
  "progressBarBorderRadius": 0,
  "toolTipTextShadowBlurRadius": 3,
  "playbackBarHeadBorderColor": "#000000",
  "toolTipFontStyle": "normal",
  "toolTipBackgroundColor": "#F6F6F6",
  "toolTipShadowVerticalLength": 0,
  "playbackBarHeadBackgroundColorRatios": [
   0,
   1
  ],
  "playbackBarProgressOpacity": 1,
  "playbackBarProgressBorderColor": "#000000",
  "paddingRight": 0,
  "toolTipOpacity": 1,
  "playbackBarHeadShadowBlurRadius": 3,
  "transitionDuration": 500,
  "playbackBarHeadBorderSize": 0,
  "toolTipFontFamily": "Arial",
  "playbackBarBorderColor": "#FFFFFF",
  "toolTipShadowBlurRadius": 3,
  "toolTipFontWeight": "normal",
  "progressLeft": 0,
  "progressHeight": 10,
  "playbackBarProgressBorderSize": 0,
  "toolTipBorderSize": 1,
  "toolTipShadowColor": "#333333",
  "toolTipTextShadowColor": "#000000",
  "playbackBarHeadShadowOpacity": 0.7,
  "shadow": false,
  "progressBottom": 0,
  "playbackBarBorderRadius": 0,
  "toolTipTextShadowOpacity": 0,
  "progressBarBorderSize": 0,
  "progressBackgroundOpacity": 1,
  "playbackBarHeadBorderRadius": 0,
  "progressBackgroundColorDirection": "vertical",
  "playbackBarProgressBackgroundColorRatios": [
   0
  ],
  "propagateClick": false,
  "playbackBarLeft": 0,
  "minHeight": 50,
  "progressBarBackgroundColorRatios": [
   0
  ],
  "borderRadius": 0,
  "progressBackgroundColorRatios": [
   0
  ],
  "playbackBarHeadShadow": true,
  "playbackBarHeight": 10,
  "paddingTop": 0,
  "transitionMode": "blending",
  "height": "100%",
  "playbackBarHeadShadowHorizontalLength": 0,
  "width": "100%",
  "paddingLeft": 0,
  "playbackBarHeadWidth": 6,
  "progressBarOpacity": 1,
  "minWidth": 100,
  "toolTipPaddingLeft": 6,
  "progressBorderRadius": 0,
  "playbackBarBottom": 5,
  "playbackBarHeadShadowVerticalLength": 0,
  "progressBorderSize": 0,
  "toolTipFontColor": "#606060",
  "toolTipDisplayTime": 600,
  "toolTipPaddingBottom": 4,
  "toolTipPaddingTop": 4,
  "progressBackgroundColor": [
   "#FFFFFF"
  ],
  "progressBarBackgroundColorDirection": "vertical",
  "playbackBarBackgroundOpacity": 1,
  "progressBarBackgroundColor": [
   "#3399FF"
  ],
  "paddingBottom": 0,
  "playbackBarHeadOpacity": 1,
  "toolTipShadowOpacity": 1,
  "playbackBarHeadHeight": 15,
  "class": "ViewerArea",
  "toolTipPaddingRight": 6,
  "toolTipBorderRadius": 3,
  "playbackBarBackgroundColorDirection": "vertical",
  "id": "MainViewer",
  "progressOpacity": 1,
  "playbackBarHeadShadowColor": "#000000",
  "borderSize": 0,
  "progressBorderColor": "#000000",
  "playbackBarBorderSize": 0,
  "toolTipShadowHorizontalLength": 0,
  "playbackBarProgressBackgroundColorDirection": "vertical",
  "playbackBarHeadBackgroundColorDirection": "vertical",
  "playbackBarRight": 0,
  "toolTipFontSize": "1.11vh",
  "toolTipBorderColor": "#767676",
  "playbackBarOpacity": 1,
  "progressRight": 0
 },
 {
  "maxHeight": 23,
  "propagateClick": false,
  "minHeight": 1,
  "backgroundOpacity": 0,
  "right": "0.48%",
  "mode": "push",
  "borderRadius": 0,
  "paddingTop": 0,
  "height": 23,
  "width": 35,
  "paddingLeft": 0,
  "minWidth": 1,
  "paddingRight": 0,
  "top": "0.32%",
  "paddingBottom": 0,
  "cursor": "hand",
  "maxWidth": 35,
  "id": "IconButton_7150737B_7D34_9BD2_41DB_785C947099CA",
  "class": "IconButton",
  "shadow": false,
  "data": {
   "name": "IconButton7201"
  },
  "horizontalAlign": "center",
  "borderSize": 0,
  "verticalAlign": "middle",
  "transparencyActive": false,
  "iconURL": "skin/IconButton_7150737B_7D34_9BD2_41DB_785C947099CA.png"
 },
 {
  "arrowColor": "#FFFFFF",
  "popUpGap": 0,
  "propagateClick": false,
  "popUpBackgroundOpacity": 0.9,
  "minHeight": 20,
  "backgroundOpacity": 0.9,
  "backgroundColor": [
   "#666666",
   "#333333"
  ],
  "popUpShadowSpread": 1,
  "popUpShadowColor": "#000000",
  "borderRadius": 4,
  "rollOverPopUpBackgroundColor": "#FFFFFF",
  "paddingTop": 0,
  "fontSize": 14,
  "fontFamily": "Arial",
  "playList": "this.DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist",
  "paddingLeft": 5,
  "textDecoration": "none",
  "minWidth": 200,
  "width": "11.212%",
  "gap": 0,
  "popUpShadowBlurRadius": 6,
  "fontStyle": "normal",
  "popUpBorderRadius": 0,
  "paddingRight": 5,
  "selectedPopUpBackgroundColor": "#333333",
  "height": "3.618%",
  "fontWeight": "normal",
  "fontColor": "#FFFFFF",
  "popUpBackgroundColor": "#FFFFFF",
  "top": "0.65%",
  "popUpShadowOpacity": 0,
  "paddingBottom": 0,
  "selectedPopUpFontColor": "#FFFFFF",
  "arrowBeforeLabel": false,
  "id": "DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14",
  "backgroundColorDirection": "vertical",
  "shadow": false,
  "data": {
   "name": "DropDown1204"
  },
  "class": "DropDown",
  "popUpFontColor": "#000000",
  "borderSize": 0,
  "popUpShadow": false,
  "backgroundColorRatios": [
   0,
   1
  ],
  "left": "0.48%"
 }
], 
 "scrollBarOpacity": 0.5,
 "propagateClick": false,
 "backgroundPreloadEnabled": true,
 "minHeight": 20,
 "mouseWheelEnabled": true,
 "borderRadius": 0,
 "layout": "absolute",
 "paddingTop": 0,
 "gap": 10,
 "height": "100%",
 "scrollBarMargin": 2,
 "paddingLeft": 0,
 "minWidth": 20,
 "overflow": "visible",
 "creationPolicy": "delayed",
 "paddingRight": 0,
 "mobileMipmappingEnabled": false,
 "width": "100%",
 "scrollBarWidth": 10,
 "horizontalAlign": "left",
 "paddingBottom": 0,
 "id": "rootPlayer",
 "shadow": false,
 "data": {
  "name": "Player503"
 },
 "class": "Player",
 "contentOpaque": false,
 "borderSize": 0,
 "scripts": {
  "executeFunctionWhenChange": function(playList, index, endFunction, changeFunction){  var endObject = undefined; var changePlayListFunction = function(event){ if(event.data.previousSelectedIndex == index){ if(changeFunction) changeFunction(); if(endFunction && endObject) endObject.unbind('end', endFunction, this); playList.unbind('change', changePlayListFunction, this); } }; if(endFunction){ var playListItem = playList.get('items')[index]; if(playListItem.get('class') == 'PanoramaPlayListItem'){ var camera = playListItem.get('camera'); if(camera != undefined) endObject = camera.get('initialSequence'); if(endObject == undefined) endObject = camera.get('idleSequence'); } else{ endObject = playListItem.get('media'); } if(endObject){ endObject.bind('end', endFunction, this); } } playList.bind('change', changePlayListFunction, this); },
  "changeBackgroundWhilePlay": function(playList, index, color){  var changeFunction = function(event){ if(event.data.previousSelectedIndex == index){ playList.unbind('change', changeFunction, this); if((color == viewerArea.get('backgroundColor')) && (colorRatios == viewerArea.get('backgroundColorRatios'))){ viewerArea.set('backgroundColor', backgroundColorBackup); viewerArea.set('backgroundColorRatios', backgroundColorRatiosBackup); } } }; var playListItem = playList.get('items')[index]; var player = playListItem.get('player'); var viewerArea = player.get('viewerArea'); var backgroundColorBackup = viewerArea.get('backgroundColor'); var backgroundColorRatiosBackup = viewerArea.get('backgroundColorRatios'); var colorRatios = [0]; if((color != backgroundColorBackup) || (colorRatios != backgroundColorRatiosBackup)){ viewerArea.set('backgroundColor', color); viewerArea.set('backgroundColorRatios', colorRatios); playList.bind('change', changeFunction, this); } },
  "resumeGlobalAudios": function(caller){  if (window.pauseGlobalAudiosState == undefined) return; var objs = window.pauseGlobalAudiosState[caller]; if (objs == undefined) return; delete window.pauseGlobalAudiosState[caller]; if (Object.keys(window.pauseGlobalAudiosState).length > 0) { if (window.restoreGlobalAudiosState == undefined) window.restoreGlobalAudiosState = {}; if (!(caller in window.restoreGlobalAudiosState)) window.restoreGlobalAudiosState[caller] = objs; } else { var restoreFunc = function(objs) { for (var i = 0, count = objs.length; i < count; ++i) { var a = objs[i]; if (a.get('state') == 'paused') a.play(); } }; restoreFunc(objs); if (window.restoreGlobalAudiosState != undefined) { while (window.restoreGlobalAudiosState.length > 0) { restoreFunc(window.restoreGlobalAudiosState.pop()); } window.restoreGlobalAudiosState = undefined; } } },
  "stopAndGoCamera": function(camera, ms){  var sequence = camera.get('initialSequence'); sequence.pause(); var timeoutFunction = function(){ sequence.play(); }; setTimeout(timeoutFunction, ms); },
  "showComponentsWhileMouseOver": function(parentComponent, components, durationVisibleWhileOut){  var setVisibility = function(visible){ for(var i = 0, length = components.length; i<length; i++){ var component = components[i]; if(component.get('class') == 'HTMLText' && (component.get('html') == '' || component.get('html') == undefined)) { continue; } component.set('visible', visible); } }; if (this.rootPlayer.get('touchEnabled') == true){ setVisibility(true); } else { var timeoutID = -1; var rollOverFunction = function(){ setVisibility(true); if(timeoutID >= 0) clearTimeout(timeoutID); parentComponent.unbind('rollOver', rollOverFunction, this); parentComponent.bind('rollOut', rollOutFunction, this); }; var rollOutFunction = function(){ var timeoutFunction = function(){ setVisibility(false); parentComponent.unbind('rollOver', rollOverFunction, this); }; parentComponent.unbind('rollOut', rollOutFunction, this); parentComponent.bind('rollOver', rollOverFunction, this); timeoutID = setTimeout(timeoutFunction, durationVisibleWhileOut); }; parentComponent.bind('rollOver', rollOverFunction, this); } },
  "resumePlayers": function(players, onlyResumeCameraIfPanorama){  for(var i = 0; i<players.length; ++i){ var player = players[i]; if(onlyResumeCameraIfPanorama && player.get('class') == 'PanoramaPlayer' && typeof player.get('video') === 'undefined'){ player.resumeCamera(); } else{ player.play(); } } },
  "setStartTimeVideoSync": function(media, player){  this.setStartTimeVideo(media, player.get('currentTime')); },
  "visibleComponentsIfPlayerFlagEnabled": function(components, playerFlag){  var enabled = this.get(playerFlag); for(var i in components){ components[i].set('visible', enabled); } },
  "setCameraSameSpotAsMedia": function(camera, media){  var player = this.getCurrentPlayerWithMedia(media); if(player != undefined) { var position = camera.get('initialPosition'); position.set('yaw', player.get('yaw')); position.set('pitch', player.get('pitch')); position.set('hfov', player.get('hfov')); } },
  "shareFacebook": function(url){  window.open('https://www.facebook.com/sharer/sharer.php?u=' + url, '_blank'); },
  "playGlobalAudio": function(audio, endCallback){  var endFunction = function(){ audio.unbind('end', endFunction, this); this.stopGlobalAudio(audio); if(endCallback) endCallback(); }; audio = this.getGlobalAudio(audio); var audios = window.currentGlobalAudios; if(!audios){ audios = window.currentGlobalAudios = {}; } audios[audio.get('id')] = audio; if(audio.get('state') == 'playing'){ return; } if(!audio.get('loop')){ audio.bind('end', endFunction, this); } audio.play(); },
  "getComponentByName": function(name){  var list = this.getByClassName('UIComponent'); for(var i = 0, count = list.length; i<count; ++i){ var component = list[i]; var data = component.get('data'); if(data != undefined && data.name == name){ return component; } } return undefined; },
  "getPlayListItems": function(media, player){  var itemClass = (function() { switch(media.get('class')) { case 'Panorama': case 'LivePanorama': case 'HDRPanorama': return 'PanoramaPlayListItem'; case 'Video360': return 'Video360PlayListItem'; case 'PhotoAlbum': return 'PhotoAlbumPlayListItem'; case 'Map': return 'MapPlayListItem'; case 'Video': return 'VideoPlayListItem'; } })(); if (itemClass != undefined) { var items = this.getByClassName(itemClass); for (var i = items.length-1; i>=0; --i) { var item = items[i]; if(item.get('media') != media || (player != undefined && item.get('player') != player)) { items.splice(i, 1); } } return items; } else { return []; } },
  "getMediaByName": function(name){  var list = this.getByClassName('Media'); for(var i = 0, count = list.length; i<count; ++i){ var media = list[i]; if((media.get('class') == 'Audio' && media.get('data').label == name) || media.get('label') == name){ return media; } } return undefined; },
  "pauseGlobalAudio": function(audio){  var audios = window.currentGlobalAudios; if(audios){ audio = audios[audio.get('id')]; } if(audio.get('state') == 'playing') audio.pause(); },
  "pauseCurrentPlayers": function(onlyPauseCameraIfPanorama){  var players = this.getCurrentPlayers(); var i = players.length; while(i-- > 0){ var player = players[i]; if(player.get('state') == 'playing') { if(onlyPauseCameraIfPanorama && player.get('class') == 'PanoramaPlayer' && typeof player.get('video') === 'undefined'){ player.pauseCamera(); } else { player.pause(); } } else { players.splice(i, 1); } } return players; },
  "isCardboardViewMode": function(){  var players = this.getByClassName('PanoramaPlayer'); return players.length > 0 && players[0].get('viewMode') == 'cardboard'; },
  "unregisterKey": function(key){  delete window[key]; },
  "openLink": function(url, name){  if(url == location.href) { return; } if (name == '_blank' && window && window.process && window.process.versions && window.process.versions['electron']){ if (url.startsWith('/')) { var r = window.location.href.split('/'); r.pop(); url = r.join('/') + url; } var extension = url.split('.').pop().toLowerCase(); if(extension != 'pdf' || !url.startsWith('http')) { var shell = require('electron').shell; shell.openExternal(url); } else { window.open(url, name); } } else { var newWindow = window.open(url, name); newWindow.focus(); } },
  "stopGlobalAudio": function(audio){  var audios = window.currentGlobalAudios; if(audios){ audio = audios[audio.get('id')]; if(audio){ delete audios[audio.get('id')]; if(Object.keys(audios).length == 0){ window.currentGlobalAudios = undefined; } } } if(audio) audio.stop(); },
  "getPlayListWithMedia": function(media, onlySelected){  var playLists = this.getByClassName('PlayList'); for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; if(onlySelected && playList.get('selectedIndex') == -1) continue; var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ if(items[j].get('media') == media) return playList; } } return undefined; },
  "updateVideoCues": function(playList, index){  var playListItem = playList.get('items')[index]; var video = playListItem.get('media'); if(video.get('cues').length == 0) return; var player = playListItem.get('player'); var cues = []; var changeFunction = function(){ if(playList.get('selectedIndex') != index){ video.unbind('cueChange', cueChangeFunction, this); playList.unbind('change', changeFunction, this); } }; var cueChangeFunction = function(event){ var activeCues = event.data.activeCues; for(var i = 0, count = cues.length; i<count; ++i){ var cue = cues[i]; if(activeCues.indexOf(cue) == -1 && (cue.get('startTime') > player.get('currentTime') || cue.get('endTime') < player.get('currentTime')+0.5)){ cue.trigger('end'); } } cues = activeCues; }; video.bind('cueChange', cueChangeFunction, this); playList.bind('change', changeFunction, this); },
  "getCurrentPlayerWithMedia": function(media){  var playerClass = undefined; var mediaPropertyName = undefined; switch(media.get('class')) { case 'Panorama': case 'LivePanorama': case 'HDRPanorama': playerClass = 'PanoramaPlayer'; mediaPropertyName = 'panorama'; break; case 'Video360': playerClass = 'PanoramaPlayer'; mediaPropertyName = 'video'; break; case 'PhotoAlbum': playerClass = 'PhotoAlbumPlayer'; mediaPropertyName = 'photoAlbum'; break; case 'Map': playerClass = 'MapPlayer'; mediaPropertyName = 'map'; break; case 'Video': playerClass = 'VideoPlayer'; mediaPropertyName = 'video'; break; }; if(playerClass != undefined) { var players = this.getByClassName(playerClass); for(var i = 0; i<players.length; ++i){ var player = players[i]; if(player.get(mediaPropertyName) == media) { return player; } } } else { return undefined; } },
  "getActivePlayerWithViewer": function(viewerArea){  var players = this.getByClassName('PanoramaPlayer'); players = players.concat(this.getByClassName('VideoPlayer')); players = players.concat(this.getByClassName('Video360Player')); players = players.concat(this.getByClassName('PhotoAlbumPlayer')); players = players.concat(this.getByClassName('MapPlayer')); var i = players.length; while(i-- > 0){ var player = players[i]; if(player.get('viewerArea') == viewerArea) { var playerClass = player.get('class'); if(playerClass == 'PanoramaPlayer' && (player.get('panorama') != undefined || player.get('video') != undefined)) return player; else if((playerClass == 'VideoPlayer' || playerClass == 'Video360Player') && player.get('video') != undefined) return player; else if(playerClass == 'PhotoAlbumPlayer' && player.get('photoAlbum') != undefined) return player; else if(playerClass == 'MapPlayer' && player.get('map') != undefined) return player; } } return undefined; },
  "setEndToItemIndex": function(playList, fromIndex, toIndex){  var endFunction = function(){ if(playList.get('selectedIndex') == fromIndex) playList.set('selectedIndex', toIndex); }; this.executeFunctionWhenChange(playList, fromIndex, endFunction); },
  "fixTogglePlayPauseButton": function(player){  var state = player.get('state'); var button = player.get('buttonPlayPause'); if(typeof button !== 'undefined' && player.get('state') == 'playing'){ button.set('pressed', true); } },
  "showPopupImage": function(image, toggleImage, customWidth, customHeight, showEffect, hideEffect, closeButtonProperties, autoCloseMilliSeconds, audio, stopBackgroundAudio, loadedCallback, hideCallback){  var self = this; var closed = false; var playerClickFunction = function() { zoomImage.unbind('loaded', loadedFunction, self); hideFunction(); }; var clearAutoClose = function(){ zoomImage.unbind('click', clearAutoClose, this); if(timeoutID != undefined){ clearTimeout(timeoutID); } }; var resizeFunction = function(){ setTimeout(setCloseButtonPosition, 0); }; var loadedFunction = function(){ self.unbind('click', playerClickFunction, self); veil.set('visible', true); setCloseButtonPosition(); closeButton.set('visible', true); zoomImage.unbind('loaded', loadedFunction, this); zoomImage.bind('userInteractionStart', userInteractionStartFunction, this); zoomImage.bind('userInteractionEnd', userInteractionEndFunction, this); zoomImage.bind('resize', resizeFunction, this); timeoutID = setTimeout(timeoutFunction, 200); }; var timeoutFunction = function(){ timeoutID = undefined; if(autoCloseMilliSeconds){ var autoCloseFunction = function(){ hideFunction(); }; zoomImage.bind('click', clearAutoClose, this); timeoutID = setTimeout(autoCloseFunction, autoCloseMilliSeconds); } zoomImage.bind('backgroundClick', hideFunction, this); if(toggleImage) { zoomImage.bind('click', toggleFunction, this); zoomImage.set('imageCursor', 'hand'); } closeButton.bind('click', hideFunction, this); if(loadedCallback) loadedCallback(); }; var hideFunction = function() { self.MainViewer.set('toolTipEnabled', true); closed = true; if(timeoutID) clearTimeout(timeoutID); if(autoCloseMilliSeconds) clearAutoClose(); if(hideCallback) hideCallback(); zoomImage.set('visible', false); if(hideEffect && hideEffect.get('duration') > 0){ hideEffect.bind('end', endEffectFunction, this); } else{ zoomImage.set('image', null); } closeButton.set('visible', false); veil.set('visible', false); self.unbind('click', playerClickFunction, self); zoomImage.unbind('backgroundClick', hideFunction, this); zoomImage.unbind('userInteractionStart', userInteractionStartFunction, this); zoomImage.unbind('userInteractionEnd', userInteractionEndFunction, this, true); zoomImage.unbind('resize', resizeFunction, this); if(toggleImage) { zoomImage.unbind('click', toggleFunction, this); zoomImage.set('cursor', 'default'); } closeButton.unbind('click', hideFunction, this); self.resumePlayers(playersPaused, audio == null || stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ self.resumeGlobalAudios(); } self.stopGlobalAudio(audio); } }; var endEffectFunction = function() { zoomImage.set('image', null); hideEffect.unbind('end', endEffectFunction, this); }; var toggleFunction = function() { zoomImage.set('image', isToggleVisible() ? image : toggleImage); }; var isToggleVisible = function() { return zoomImage.get('image') == toggleImage; }; var setCloseButtonPosition = function() { var right = zoomImage.get('actualWidth') - zoomImage.get('imageLeft') - zoomImage.get('imageWidth') + 10; var top = zoomImage.get('imageTop') + 10; if(right < 10) right = 10; if(top < 10) top = 10; closeButton.set('right', right); closeButton.set('top', top); }; var userInteractionStartFunction = function() { if(timeoutUserInteractionID){ clearTimeout(timeoutUserInteractionID); timeoutUserInteractionID = undefined; } else{ closeButton.set('visible', false); } }; var userInteractionEndFunction = function() { if(!closed){ timeoutUserInteractionID = setTimeout(userInteractionTimeoutFunction, 300); } }; var userInteractionTimeoutFunction = function() { timeoutUserInteractionID = undefined; closeButton.set('visible', true); setCloseButtonPosition(); }; this.MainViewer.set('toolTipEnabled', false); var veil = this.veilPopupPanorama; var zoomImage = this.zoomImagePopupPanorama; var closeButton = this.closeButtonPopupPanorama; if(closeButtonProperties){ for(var key in closeButtonProperties){ closeButton.set(key, closeButtonProperties[key]); } } var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ this.pauseGlobalAudios(); } this.playGlobalAudio(audio); } var timeoutID = undefined; var timeoutUserInteractionID = undefined; zoomImage.bind('loaded', loadedFunction, this); setTimeout(function(){ self.bind('click', playerClickFunction, self, false); }, 0); zoomImage.set('image', image); zoomImage.set('customWidth', customWidth); zoomImage.set('customHeight', customHeight); zoomImage.set('showEffect', showEffect); zoomImage.set('hideEffect', hideEffect); zoomImage.set('visible', true); return zoomImage; },
  "shareTwitter": function(url){  window.open('https://twitter.com/intent/tweet?source=webclient&url=' + url, '_blank'); },
  "existsKey": function(key){  return key in window; },
  "updateMediaLabelFromPlayList": function(playList, htmlText, playListItemStopToDispose){  var changeFunction = function(){ var index = playList.get('selectedIndex'); if(index >= 0){ var beginFunction = function(){ playListItem.unbind('begin', beginFunction); setMediaLabel(index); }; var setMediaLabel = function(index){ var media = playListItem.get('media'); var text = media.get('data'); if(!text) text = media.get('label'); setHtml(text); }; var setHtml = function(text){ if(text !== undefined) { htmlText.set('html', '<div style=\"text-align:left\"><SPAN STYLE=\"color:#FFFFFF;font-size:12px;font-family:Verdana\"><span color=\"white\" font-family=\"Verdana\" font-size=\"12px\">' + text + '</SPAN></div>'); } else { htmlText.set('html', ''); } }; var playListItem = playList.get('items')[index]; if(htmlText.get('html')){ setHtml('Loading...'); playListItem.bind('begin', beginFunction); } else{ setMediaLabel(index); } } }; var disposeFunction = function(){ htmlText.set('html', undefined); playList.unbind('change', changeFunction, this); playListItemStopToDispose.unbind('stop', disposeFunction, this); }; if(playListItemStopToDispose){ playListItemStopToDispose.bind('stop', disposeFunction, this); } playList.bind('change', changeFunction, this); changeFunction(); },
  "setComponentVisibility": function(component, visible, applyAt, effect, propertyEffect, ignoreClearTimeout){  this.unregisterKey('visibility_'+component.get('id')); var changeVisibility = function(){ if(effect && propertyEffect){ component.set(propertyEffect, effect); } component.set('visible', visible); if(component.get('class') == 'ViewerArea'){ try{ if(visible) component.restart(); else if(component.get('playbackState') == 'playing') component.pause(); } catch(e){}; } }; var effectTimeoutName = 'effectTimeout_'+component.get('id'); if(!ignoreClearTimeout && window.hasOwnProperty(effectTimeoutName)){ var effectTimeout = window[effectTimeoutName]; if(effectTimeout instanceof Array){ for(var i=0; i<effectTimeout.length; i++){ clearTimeout(effectTimeout[i]) } }else{ clearTimeout(effectTimeout); } delete window[effectTimeoutName]; } else if(visible == component.get('visible') && !ignoreClearTimeout) return; if(applyAt && applyAt > 0){ var effectTimeout = setTimeout(function(){ if(window[effectTimeoutName] instanceof Array) { var arrayTimeoutVal = window[effectTimeoutName]; var index = arrayTimeoutVal.indexOf(effectTimeout); arrayTimeoutVal.splice(index, 1); if(arrayTimeoutVal.length == 0){ delete window[effectTimeoutName]; } }else{ delete window[effectTimeoutName]; } changeVisibility(); }, applyAt); if(window.hasOwnProperty(effectTimeoutName)){ window[effectTimeoutName] = [window[effectTimeoutName], effectTimeout]; }else{ window[effectTimeoutName] = effectTimeout; } } else{ changeVisibility(); } },
  "startPanoramaWithCamera": function(media, camera){  if(window.currentPanoramasWithCameraChanged != undefined && window.currentPanoramasWithCameraChanged.indexOf(media) != -1){ return; } var playLists = this.getByClassName('PlayList'); if(playLists.length == 0) return; var restoreItems = []; for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ var item = items[j]; if(item.get('media') == media && (item.get('class') == 'PanoramaPlayListItem' || item.get('class') == 'Video360PlayListItem')){ restoreItems.push({camera: item.get('camera'), item: item}); item.set('camera', camera); } } } if(restoreItems.length > 0) { if(window.currentPanoramasWithCameraChanged == undefined) { window.currentPanoramasWithCameraChanged = [media]; } else { window.currentPanoramasWithCameraChanged.push(media); } var restoreCameraOnStop = function(){ var index = window.currentPanoramasWithCameraChanged.indexOf(media); if(index != -1) { window.currentPanoramasWithCameraChanged.splice(index, 1); } for (var i = 0; i < restoreItems.length; i++) { restoreItems[i].item.set('camera', restoreItems[i].camera); restoreItems[i].item.unbind('stop', restoreCameraOnStop, this); } }; for (var i = 0; i < restoreItems.length; i++) { restoreItems[i].item.bind('stop', restoreCameraOnStop, this); } } },
  "cloneCamera": function(camera){  var newCamera = this.rootPlayer.createInstance(camera.get('class')); newCamera.set('id', camera.get('id') + '_copy'); newCamera.set('idleSequence', camera.get('initialSequence')); return newCamera; },
  "getCurrentPlayers": function(){  var players = this.getByClassName('PanoramaPlayer'); players = players.concat(this.getByClassName('VideoPlayer')); players = players.concat(this.getByClassName('Video360Player')); players = players.concat(this.getByClassName('PhotoAlbumPlayer')); return players; },
  "triggerOverlay": function(overlay, eventName){  if(overlay.get('areas') != undefined) { var areas = overlay.get('areas'); for(var i = 0; i<areas.length; ++i) { areas[i].trigger(eventName); } } else { overlay.trigger(eventName); } },
  "setStartTimeVideo": function(media, time){  var items = this.getPlayListItems(media); var startTimeBackup = []; var restoreStartTimeFunc = function() { for(var i = 0; i<items.length; ++i){ var item = items[i]; item.set('startTime', startTimeBackup[i]); item.unbind('stop', restoreStartTimeFunc, this); } }; for(var i = 0; i<items.length; ++i) { var item = items[i]; startTimeBackup.push(item.get('startTime')); item.set('startTime', time); item.bind('stop', restoreStartTimeFunc, this); } },
  "registerKey": function(key, value){  window[key] = value; },
  "loadFromCurrentMediaPlayList": function(playList, delta){  var currentIndex = playList.get('selectedIndex'); var totalItems = playList.get('items').length; var newIndex = (currentIndex + delta) % totalItems; while(newIndex < 0){ newIndex = totalItems + newIndex; }; if(currentIndex != newIndex){ playList.set('selectedIndex', newIndex); } },
  "playGlobalAudioWhilePlay": function(playList, index, audio, endCallback){  var changeFunction = function(event){ if(event.data.previousSelectedIndex == index){ this.stopGlobalAudio(audio); if(isPanorama) { var media = playListItem.get('media'); var audios = media.get('audios'); audios.splice(audios.indexOf(audio), 1); media.set('audios', audios); } playList.unbind('change', changeFunction, this); if(endCallback) endCallback(); } }; var audios = window.currentGlobalAudios; if(audios && audio.get('id') in audios){ audio = audios[audio.get('id')]; if(audio.get('state') != 'playing'){ audio.play(); } return; } playList.bind('change', changeFunction, this); var playListItem = playList.get('items')[index]; var isPanorama = playListItem.get('class') == 'PanoramaPlayListItem'; if(isPanorama) { var media = playListItem.get('media'); var audios = (media.get('audios') || []).slice(); if(audio.get('class') == 'MediaAudio') { var panoramaAudio = this.rootPlayer.createInstance('PanoramaAudio'); panoramaAudio.set('autoplay', false); panoramaAudio.set('audio', audio.get('audio')); panoramaAudio.set('loop', audio.get('loop')); panoramaAudio.set('id', audio.get('id')); var stateChangeFunctions = audio.getBindings('stateChange'); for(var i = 0; i<stateChangeFunctions.length; ++i){ var f = stateChangeFunctions[i]; if(typeof f == 'string') f = new Function('event', f); panoramaAudio.bind('stateChange', f, this); } audio = panoramaAudio; } audios.push(audio); media.set('audios', audios); } this.playGlobalAudio(audio, endCallback); },
  "autotriggerAtStart": function(playListItem, callback, once){  var onPlaylistBegin = function(event){ callback(); if(once == true) playListItem.unbind('begin', onPlaylistBegin, this); }; playListItem.bind('begin', onPlaylistBegin, this); },
  "setPanoramaCameraWithSpot": function(playListItem, yaw, pitch){  var panorama = playListItem.get('media'); var newCamera = this.cloneCamera(playListItem.get('camera')); var initialPosition = newCamera.get('initialPosition'); initialPosition.set('yaw', yaw); initialPosition.set('pitch', pitch); this.startPanoramaWithCamera(panorama, newCamera); },
  "shareGoogle": function(url){  window.open('https://plus.google.com/share?url=' + url, '_blank'); },
  "getGlobalAudio": function(audio){  var audios = window.currentGlobalAudios; if(audios != undefined && audio.get('id') in audios){ audio = audios[audio.get('id')]; } return audio; },
  "getKey": function(key){  return window[key]; },
  "loopAlbum": function(playList, index){  var playListItem = playList.get('items')[index]; var player = playListItem.get('player'); var loopFunction = function(){ player.play(); }; this.executeFunctionWhenChange(playList, index, loopFunction); },
  "getPanoramaOverlayByName": function(panorama, name){  var frames = panorama.get('frames'); for(var j = 0; j<frames.length; ++j){ var frame = frames[j]; var overlays = frame.get('overlays'); for(var i = 0, count = overlays.length; i<count; ++i){ var overlay = overlays[i]; var data = overlay.get('data'); if(data != undefined && data.label == name){ return overlay; } } } return undefined; },
  "pauseGlobalAudios": function(caller, exclude){  var audios = this.getByClassName('Audio').concat(this.getByClassName('VideoPanoramaOverlay')); if(window.currentGlobalAudios != undefined) audios = audios.concat(Object.values(window.currentGlobalAudios)); if(window.pauseGlobalAudiosState == undefined) window.pauseGlobalAudiosState = {}; var objs = window.pauseGlobalAudiosState[caller]; if(objs == undefined){ objs = []; window.pauseGlobalAudiosState[caller] = objs; } for (var i = 0, count = audios.length; i<count; ++i) { var a = audios[i]; if (a.get('state') == 'playing' && (exclude == undefined || exclude.indexOf(a) == -1)) { a.pause(); objs.push(a); } } },
  "setPanoramaCameraWithCurrentSpot": function(playListItem){  var currentPlayer = this.getActivePlayerWithViewer(this.MainViewer); if(currentPlayer == undefined){ return; } var playerClass = currentPlayer.get('class'); if(playerClass != 'PanoramaPlayer' && playerClass != 'Video360Player'){ return; } var fromMedia = currentPlayer.get('panorama'); if(fromMedia == undefined) { fromMedia = currentPlayer.get('video'); } var panorama = playListItem.get('media'); var newCamera = this.cloneCamera(playListItem.get('camera')); this.setCameraSameSpotAsMedia(newCamera, fromMedia); this.startPanoramaWithCamera(panorama, newCamera); },
  "setMediaBehaviour": function(playList, index, mediaDispatcher){  var self = this; var stateChangeFunction = function(event){ if(event.data.state == 'stopped'){ dispose(true); } }; var changeFunction = function(){ var index = playListDispatcher.get('selectedIndex'); if(index != -1){ indexDispatcher = index; dispose(false); } }; var disposeCallback = function(){ dispose(false); }; var dispose = function(forceDispose){ if(!playListDispatcher) return; var media = item.get('media'); if((media.get('class') == 'Video360' || media.get('class') == 'Video') && media.get('loop') == true && !forceDispose) return; playList.set('selectedIndex', -1); if(panoramaSequence && panoramaSequenceIndex != -1){ if(panoramaSequence) { if(panoramaSequenceIndex > 0 && panoramaSequence.get('movements')[panoramaSequenceIndex-1].get('class') == 'TargetPanoramaCameraMovement'){ var initialPosition = camera.get('initialPosition'); var oldYaw = initialPosition.get('yaw'); var oldPitch = initialPosition.get('pitch'); var oldHfov = initialPosition.get('hfov'); var previousMovement = panoramaSequence.get('movements')[panoramaSequenceIndex-1]; initialPosition.set('yaw', previousMovement.get('targetYaw')); initialPosition.set('pitch', previousMovement.get('targetPitch')); initialPosition.set('hfov', previousMovement.get('targetHfov')); var restoreInitialPositionFunction = function(event){ initialPosition.set('yaw', oldYaw); initialPosition.set('pitch', oldPitch); initialPosition.set('hfov', oldHfov); itemDispatcher.unbind('end', restoreInitialPositionFunction, self); }; itemDispatcher.bind('end', restoreInitialPositionFunction, self); } panoramaSequence.set('movementIndex', panoramaSequenceIndex); } } playListDispatcher.set('selectedIndex', indexDispatcher); if(player){ player.unbind('stateChange', stateChangeFunction, self); for(var i = 0; i<buttons.length; ++i) { buttons[i].unbind('click', disposeCallback, self); } } if(sameViewerArea){ if(playList != playListDispatcher) playListDispatcher.unbind('change', changeFunction, self); } else{ viewerArea.set('visible', false); } playListDispatcher = undefined; }; var mediaDispatcherByParam = mediaDispatcher != undefined; if(!mediaDispatcher){ var currentIndex = playList.get('selectedIndex'); var currentPlayer = (currentIndex != -1) ? playList.get('items')[playList.get('selectedIndex')].get('player') : this.getActivePlayerWithViewer(this.MainViewer); if(currentPlayer) { var playerClass = currentPlayer.get('class'); if(playerClass == 'PanoramaPlayer') { mediaDispatcher = currentPlayer.get('panorama'); if(mediaDispatcher == undefined) medisDispatcher = currentPlayer.get('video'); } else if(playerClass == 'VideoPlayer' || playerClass == 'Video360Player') mediaDispatcher = currentPlayer.get('video'); else if(playerClass == 'PhotoAlbumPlayer') mediaDispatcher = currentPlayer.get('photoAlbum'); else if(playerClass == 'MapPlayer') mediaDispatcher = currentPlayer.get('map'); } } var playListDispatcher = mediaDispatcher ? this.getPlayListWithMedia(mediaDispatcher, true) : undefined; if(!playListDispatcher){ playList.set('selectedIndex', index); return; } var indexDispatcher = playListDispatcher.get('selectedIndex'); if(playList.get('selectedIndex') == index || indexDispatcher == -1){ return; } var item = playList.get('items')[index]; var itemDispatcher = playListDispatcher.get('items')[indexDispatcher]; var viewerArea = item.get('player').get('viewerArea'); var sameViewerArea = viewerArea == itemDispatcher.get('player').get('viewerArea'); if(sameViewerArea){ if(playList != playListDispatcher){ playListDispatcher.set('selectedIndex', -1); playListDispatcher.bind('change', changeFunction, this); } } else{ viewerArea.set('visible', true); } var panoramaSequenceIndex = -1; var panoramaSequence = undefined; var camera = itemDispatcher.get('camera'); if(camera){ panoramaSequence = camera.get('initialSequence'); if(panoramaSequence) { panoramaSequenceIndex = panoramaSequence.get('movementIndex'); } } playList.set('selectedIndex', index); var player = undefined; var buttons = []; if(item.get('player') != itemDispatcher.get('player') || !mediaDispatcherByParam){ player = item.get('player'); if(player.get('class') == 'PanoramaPlayer' && item.get('media').get('class') != 'Video360') { var addButtons = function(property){ var value = player.get(property); if(Array.isArray(value)) buttons = buttons.concat(value); else buttons.push(value); }; addButtons('buttonStop'); for(var i = 0; i<buttons.length; ++i) { buttons[i].bind('click', disposeCallback, this); } } else { setTimeout(function(){player.bind('stateChange', stateChangeFunction, self)}, 100); } } this.executeFunctionWhenChange(playList, index, disposeCallback); },
  "playAudioList": function(audios){  if(audios.length == 0) return; var currentAudioCount = -1; var currentAudio; var playGlobalAudioFunction = this.playGlobalAudio; var playNext = function(){ if(++currentAudioCount >= audios.length) currentAudioCount = 0; currentAudio = audios[currentAudioCount]; playGlobalAudioFunction(currentAudio, playNext); }; playNext(); },
  "showPopupMedia": function(w, media, playList, popupMaxWidth, popupMaxHeight, autoCloseWhenFinished, containsAudio){  var self = this; var closeFunction = function(){ self.MainViewer.set('toolTipEnabled', true); this.resumePlayers(playersPaused, !containsAudio); if(isVideo) { this.unbind('resize', resizeFunction, this); } w.unbind('close', closeFunction, this); }; var endFunction = function(){ w.hide(); }; var resizeFunction = function(){ var parentWidth = self.get('actualWidth'); var parentHeight = self.get('actualHeight'); var mediaWidth = media.get('width'); var mediaHeight = media.get('height'); var popupMaxWidthNumber = parseFloat(popupMaxWidth) / 100; var popupMaxHeightNumber = parseFloat(popupMaxHeight) / 100; var windowWidth = popupMaxWidthNumber * parentWidth; var windowHeight = popupMaxHeightNumber * parentHeight; var footerHeight = w.get('footerHeight'); var headerHeight = w.get('headerHeight'); if(!headerHeight) { var closeButtonHeight = w.get('closeButtonIconHeight') + w.get('closeButtonPaddingTop') + w.get('closeButtonPaddingBottom'); var titleHeight = w.get('titleFontSize') + w.get('titlePaddingTop') + w.get('titlePaddingBottom'); headerHeight = closeButtonHeight > titleHeight ? closeButtonHeight : titleHeight; headerHeight += w.get('headerPaddingTop') + w.get('headerPaddingBottom'); } if(!footerHeight) { footerHeight = 0; } var contentWindowWidth = windowWidth - w.get('bodyPaddingLeft') - w.get('bodyPaddingRight') - w.get('paddingLeft') - w.get('paddingRight'); var contentWindowHeight = windowHeight - headerHeight - footerHeight - w.get('bodyPaddingTop') - w.get('bodyPaddingBottom') - w.get('paddingTop') - w.get('paddingBottom'); var parentAspectRatio = contentWindowWidth / contentWindowHeight; var mediaAspectRatio = mediaWidth / mediaHeight; if(parentAspectRatio > mediaAspectRatio) { windowWidth = contentWindowHeight * mediaAspectRatio + w.get('bodyPaddingLeft') + w.get('bodyPaddingRight') + w.get('paddingLeft') + w.get('paddingRight'); } else { windowHeight = contentWindowWidth / mediaAspectRatio + headerHeight + footerHeight + w.get('bodyPaddingTop') + w.get('bodyPaddingBottom') + w.get('paddingTop') + w.get('paddingBottom'); } if(windowWidth > parentWidth * popupMaxWidthNumber) { windowWidth = parentWidth * popupMaxWidthNumber; } if(windowHeight > parentHeight * popupMaxHeightNumber) { windowHeight = parentHeight * popupMaxHeightNumber; } w.set('width', windowWidth); w.set('height', windowHeight); w.set('x', (parentWidth - w.get('actualWidth')) * 0.5); w.set('y', (parentHeight - w.get('actualHeight')) * 0.5); }; if(autoCloseWhenFinished){ this.executeFunctionWhenChange(playList, 0, endFunction); } var isVideo = media.get('class') == 'Video'; if(isVideo){ this.bind('resize', resizeFunction, this); resizeFunction(); } else { w.set('width', popupMaxWidth); w.set('height', popupMaxHeight); } this.MainViewer.set('toolTipEnabled', false); var playersPaused = this.pauseCurrentPlayers(!containsAudio); w.bind('close', closeFunction, this); w.show(this, true); },
  "syncPlaylists": function(playLists){  var changeToMedia = function(media, playListDispatched){ for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; if(playList != playListDispatched){ var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ if(items[j].get('media') == media){ if(playList.get('selectedIndex') != j){ playList.set('selectedIndex', j); } break; } } } } }; var changeFunction = function(event){ var playListDispatched = event.source; var selectedIndex = playListDispatched.get('selectedIndex'); if(selectedIndex < 0) return; var media = playListDispatched.get('items')[selectedIndex].get('media'); changeToMedia(media, playListDispatched); }; var mapPlayerChangeFunction = function(event){ var panoramaMapLocation = event.source.get('panoramaMapLocation'); if(panoramaMapLocation){ var map = panoramaMapLocation.get('map'); changeToMedia(map); } }; for(var i = 0, count = playLists.length; i<count; ++i){ playLists[i].bind('change', changeFunction, this); } var mapPlayers = this.getByClassName('MapPlayer'); for(var i = 0, count = mapPlayers.length; i<count; ++i){ mapPlayers[i].bind('panoramaMapLocation_change', mapPlayerChangeFunction, this); } },
  "showWindow": function(w, autoCloseMilliSeconds, containsAudio){  if(w.get('visible') == true){ return; } var closeFunction = function(){ clearAutoClose(); this.resumePlayers(playersPaused, !containsAudio); w.unbind('close', closeFunction, this); }; var clearAutoClose = function(){ w.unbind('click', clearAutoClose, this); if(timeoutID != undefined){ clearTimeout(timeoutID); } }; var timeoutID = undefined; if(autoCloseMilliSeconds){ var autoCloseFunction = function(){ w.hide(); }; w.bind('click', clearAutoClose, this); timeoutID = setTimeout(autoCloseFunction, autoCloseMilliSeconds); } var playersPaused = this.pauseCurrentPlayers(!containsAudio); w.bind('close', closeFunction, this); w.show(this, true); },
  "setMapLocation": function(panoramaPlayListItem, mapPlayer){  var resetFunction = function(){ panoramaPlayListItem.unbind('stop', resetFunction, this); player.set('mapPlayer', null); }; panoramaPlayListItem.bind('stop', resetFunction, this); var player = panoramaPlayListItem.get('player'); player.set('mapPlayer', mapPlayer); },
  "showPopupPanoramaOverlay": function(popupPanoramaOverlay, closeButtonProperties, imageHD, toggleImage, toggleImageHD, autoCloseMilliSeconds, audio, stopBackgroundAudio){  var self = this; this.MainViewer.set('toolTipEnabled', false); var cardboardEnabled = this.isCardboardViewMode(); if(!cardboardEnabled) { var zoomImage = this.zoomImagePopupPanorama; var showDuration = popupPanoramaOverlay.get('showDuration'); var hideDuration = popupPanoramaOverlay.get('hideDuration'); var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); var popupMaxWidthBackup = popupPanoramaOverlay.get('popupMaxWidth'); var popupMaxHeightBackup = popupPanoramaOverlay.get('popupMaxHeight'); var showEndFunction = function() { var loadedFunction = function(){ if(!self.isCardboardViewMode()) popupPanoramaOverlay.set('visible', false); }; popupPanoramaOverlay.unbind('showEnd', showEndFunction, self); popupPanoramaOverlay.set('showDuration', 1); popupPanoramaOverlay.set('hideDuration', 1); self.showPopupImage(imageHD, toggleImageHD, popupPanoramaOverlay.get('popupMaxWidth'), popupPanoramaOverlay.get('popupMaxHeight'), null, null, closeButtonProperties, autoCloseMilliSeconds, audio, stopBackgroundAudio, loadedFunction, hideFunction); }; var hideFunction = function() { var restoreShowDurationFunction = function(){ popupPanoramaOverlay.unbind('showEnd', restoreShowDurationFunction, self); popupPanoramaOverlay.set('visible', false); popupPanoramaOverlay.set('showDuration', showDuration); popupPanoramaOverlay.set('popupMaxWidth', popupMaxWidthBackup); popupPanoramaOverlay.set('popupMaxHeight', popupMaxHeightBackup); }; self.resumePlayers(playersPaused, audio == null || !stopBackgroundAudio); var currentWidth = zoomImage.get('imageWidth'); var currentHeight = zoomImage.get('imageHeight'); popupPanoramaOverlay.bind('showEnd', restoreShowDurationFunction, self, true); popupPanoramaOverlay.set('showDuration', 1); popupPanoramaOverlay.set('hideDuration', hideDuration); popupPanoramaOverlay.set('popupMaxWidth', currentWidth); popupPanoramaOverlay.set('popupMaxHeight', currentHeight); if(popupPanoramaOverlay.get('visible')) restoreShowDurationFunction(); else popupPanoramaOverlay.set('visible', true); self.MainViewer.set('toolTipEnabled', true); }; if(!imageHD){ imageHD = popupPanoramaOverlay.get('image'); } if(!toggleImageHD && toggleImage){ toggleImageHD = toggleImage; } popupPanoramaOverlay.bind('showEnd', showEndFunction, this, true); } else { var hideEndFunction = function() { self.resumePlayers(playersPaused, audio == null || stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ self.resumeGlobalAudios(); } self.stopGlobalAudio(audio); } popupPanoramaOverlay.unbind('hideEnd', hideEndFunction, self); self.MainViewer.set('toolTipEnabled', true); }; var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ this.pauseGlobalAudios(); } this.playGlobalAudio(audio); } popupPanoramaOverlay.bind('hideEnd', hideEndFunction, this, true); } popupPanoramaOverlay.set('visible', true); },
  "showPopupPanoramaVideoOverlay": function(popupPanoramaOverlay, closeButtonProperties){  var self = this; var showEndFunction = function() { popupPanoramaOverlay.unbind('showEnd', showEndFunction); closeButton.bind('click', hideFunction, this); setCloseButtonPosition(); closeButton.set('visible', true); }; var endFunction = function() { if(!popupPanoramaOverlay.get('loop')) hideFunction(); }; var hideFunction = function() { self.MainViewer.set('toolTipEnabled', true); popupPanoramaOverlay.set('visible', false); closeButton.set('visible', false); closeButton.unbind('click', hideFunction, self); popupPanoramaOverlay.unbind('end', endFunction, self); popupPanoramaOverlay.unbind('hideEnd', hideFunction, self, true); self.resumePlayers(playersPaused, true); self.resumeGlobalAudios(); }; var setCloseButtonPosition = function() { var right = 10; var top = 10; closeButton.set('right', right); closeButton.set('top', top); }; this.MainViewer.set('toolTipEnabled', false); var closeButton = this.closeButtonPopupPanorama; if(closeButtonProperties){ for(var key in closeButtonProperties){ closeButton.set(key, closeButtonProperties[key]); } } var playersPaused = this.pauseCurrentPlayers(true); this.pauseGlobalAudios(); popupPanoramaOverlay.bind('end', endFunction, this, true); popupPanoramaOverlay.bind('showEnd', showEndFunction, this, true); popupPanoramaOverlay.bind('hideEnd', hideFunction, this, true); popupPanoramaOverlay.set('visible', true); },
  "changePlayListWithSameSpot": function(playList, newIndex){  var currentIndex = playList.get('selectedIndex'); if (currentIndex >= 0 && newIndex >= 0 && currentIndex != newIndex) { var currentItem = playList.get('items')[currentIndex]; var newItem = playList.get('items')[newIndex]; var currentPlayer = currentItem.get('player'); var newPlayer = newItem.get('player'); if ((currentPlayer.get('class') == 'PanoramaPlayer' || currentPlayer.get('class') == 'Video360Player') && (newPlayer.get('class') == 'PanoramaPlayer' || newPlayer.get('class') == 'Video360Player')) { var newCamera = this.cloneCamera(newItem.get('camera')); this.setCameraSameSpotAsMedia(newCamera, currentItem.get('media')); this.startPanoramaWithCamera(newItem.get('media'), newCamera); } } },
  "setMainMediaByIndex": function(index){  if(index >= 0 && index < this.mainPlayList.get('items').length){ this.mainPlayList.set('selectedIndex', index); } },
  "pauseGlobalAudiosWhilePlayItem": function(playList, index, caller, exclude){  var resumeFunction = this.resumeGlobalAudios; var endFunction = function(){ if(playList.get('selectedIndex') != index) { resumeFunction(caller); } }; this.pauseGlobalAudios(caller, exclude); this.executeFunctionWhenChange(playList, index, endFunction, endFunction); },
  "setMainMediaByName": function(name){  var items = this.mainPlayList.get('items'); for(var i = 0; i<items.length; ++i){ if(items[i].get('media').get('label') == name) { this.mainPlayList.set('selectedIndex', i); return; } } }
 },
 "verticalAlign": "top",
 "scrollBarColor": "#000000",
 "scrollBarVisible": "rollOver",
 "vrPolyfillScale": 0.5,
 "start": "this.visibleComponentsIfPlayerFlagEnabled([this.IconButton_7150737B_7D34_9BD2_41DB_785C947099CA], 'cardboardAvailable'); this.syncPlaylists([this.DropDown_70FC5830_7D34_956E_41B7_02F1D3955B14_playlist,this.mainPlayList]); this.mainPlayList.set('selectedIndex', 0)"
})