<%= content_tag(:div, class: linkmap_content_and_background_css_classes(configuration)) do %>
<%= background_image_div(configuration, 'fixed_background_image', class: 'fixed_background') %>
<% if configuration['background_type'] == 'video' && !Pageflow::ImageFile.find_by_id(configuration['panorama_image_id']) %> <%= background_image_div_with_size(configuration, 'panorama_video', file_type: 'video_file', class: 'panorama panorama_image') %> <% else %> <%= background_image_div_with_size(configuration, 'panorama_image', class: 'panorama panorama_image', style_group: :panorama) %> <% end %>
<%= lookup_video_tag(configuration['panorama_video_id'], configuration['poster_image_id'], loop: true, unique_id: page.id, preload: page.is_first) %>
<%= linkmap_areas_div(@entry, configuration) %>
<%= t('.scroll_up') %>
<%= t('.scroll_left') %>
<%= t('.scroll_right') %>
<%= t('.scroll_down') %>
<% if configuration['mobile_info_box_title'].present? %>

<%= configuration['mobile_info_box_title'] %>

<% end %> <% if configuration['mobile_info_box_description'].present? %>

<%= raw(configuration['mobile_info_box_description']) %>

<% end %>
<% (configuration['linkmap_areas'].presence || []).each do |attributes| %>
<% if attributes['link_title'].present? %>

<%= attributes['link_title'] %>

<% end %> <% if attributes['link_description'].present? %>

<%= raw(attributes['link_description']) %>

<% end %>
<% end %>
<% end %>