1"use strict";(self.webpackChunkav_physikinstrumente=self.webpackChunkav_physikinstrumente||[]).push([[8295],{8295(n,t,e){e.r(t),e.d(t,{init:()=>l});var a=e(4692),i=e.n(a);e(3950),e(8459),e(6031);i().fn.baidumap=function(n){var t,e,a=i().extend(!0,{},i().fn.baidumap.defaults,n);a.lat=parseFloat(a.lat),a.lng=parseFloat(a.lng);var o=function(n){(e=new BMap.Map(n)).centerAndZoom(t,a.zoom)},l=function(){e.enableScrollWheelZoom(),e.enableKeyboard(),e.enableDragging(),e.enableDoubleClickZoom(),e.enableAutoResize()},p=function(n,t){n.addEventListener("click",function(){n.openInfoWindow(t)})},r=function(){for(var n=[{content:a.content,title:a.title,imageOffset:{width:0,height:3},position:{lat:a.lat,lng:a.lng}}],t=0;t<n.length;t++){var i=new BMap.Point(n[t].position.lng,n[t].position.lat),o=new BMap.Icon("/typo3conf/ext/av_physikinstrumente/Resources/Public/Img/location_pin.png",new BMap.Size(32,50),{anchor:new BMap.Size(10,30),infoWindowAnchor:new BMap.Size(10,0)}),l=new BMap.Marker(i,{icon:o}),r=new BMap.Label(n[t].title,{offset:new BMap.Size(35,20)}),c={width:200,title:n[t].title,enableMessage:!1},s=new BMap.InfoWindow(n[t].content,c);l.setLabel(r),p(l,s),e.addOverlay(l)}for(var d=[],u=0;u<d.length;u++){var f={position:new BMap.Point(d[u].position.lng,d[u].position.lat)},v=new BMap.Label(d[u].content,f);e.addOverlay(v)}},c=function(){var n=new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});n.setUnit(BMAP_UNIT_METRIC),e.addControl(n);var t=new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});e.addControl(t)};return this.each(function(){var n=i()(this);t=new BMap.Point(a.lng,a.lat),function(n){o(n.attr("id")),l(),c(),r()}(n),i()(window).resize(function(){setTimeout(function(){e.setCenter(t)},150)})})},i().fn.baidumap.defaults={lat:0,lng:0,zoom:18,title:"",content:""};var o=e(4692);function l(n){n.addEventListener("click",function(t){t.preventDefault();var e=i()('<div class="map-canvas baidu-canvas">');o.fancybox.open({type:"inline",src:e,touch:!1,afterShow:function(){var t=i()('<div class="map-inner" id="data-map-id-'+n.dataset.mapId+'">');e.append(t),t.baidumap({lat:n.dataset.mapLat,lng:n.dataset.mapLng,title:n.dataset.mapTitle,content:n.dataset.mapContent})}})})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.