PageSourceSearch

https://www.uitpas.be/_nuxt/e2cbeef.js

js uitpas.be collected 2026-09-24 10:07:49 UTC 17,299 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[63],{810:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=h(r(811)),n=h(r(92));function h(t){return t&&t.__esModule?t:{default:t}}var l={maxZoom:{type:Number,twoWay:!1},batchSizeIE:{type:Number,twoWay:!1},calculator:{type:Function,twoWay:!1},enableRetinaIcons:{type:Boolean,twoWay:!1},gridSize:{type:Number,twoWay:!1},ignoreHidden:{type:Boolean,twoWay:!1},imageExtension:{type:String,twoWay:!1},imagePath:{type:String,twoWay:!1},imageSizes:{type:Array,twoWay:!1},minimumClusterSize:{type:Number,twoWay:!1},styles:{type:Array,twoWay:!1},zoomOnClick:{type:Boolean,twoWay:!1}};e.default=(0,n.default)({mappedProps:l,events:["click","rightclick","dblclick","drag","dragstart","dragend","mouseup","mousedown","mouseover","mouseout"],name:"cluster",ctr:function(){if(void 0===o.default)throw console.error("MarkerClusterer is not installed! require() it or include it from https://cdnjs.cloudflare.com/ajax/libs/js-marker-clusterer/1.0.0/markerclusterer.js"),new Error("MarkerClusterer is not installed! require() it or include it from https://cdnjs.cloudflare.com/ajax/libs/js-marker-clusterer/1.0.0/markerclusterer.js");return o.default},ctrArgs:function(t){return[t.map,[],function(t,e){var r={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r}(t,["map"])]},render:function(t){return t("div",this.$slots.default)},afterCreate:function(t){var e=function(){var e=t.getMarkers();t.clearMarkers(),t.addMarkers(e)};for(var r in l)l[r].twoWay&&this.$on(r.toLowerCase()+"_changed",e)},updated:function(){this.$clusterObject&&this.$clusterObject.repaint()},beforeDestroy:function(){var t=this;this.$children.forEach((function(marker){marker.$clusterObject===t.$clusterObject&&(marker.$clusterObject=null)})),this.$clusterObject&&this.$clusterObject.clearMarkers()}})},811:function(t,e){function r(t,e){t.getMarkerClusterer().extend(r,google.maps.OverlayView),this.cluster_=t,this.className_=t.getMarkerClusterer().getClusterClass(),this.styles_=e,this.center_=null,this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(t.getMap())}function o(t){this.markerClusterer_=t,this.map_=t.getMap(),this.gridSize_=t.getGridSize(),this.minClusterSize_=t.getMinimumClusterSize(),this.averageCenter_=t.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new r(this,t.getStyles())}function n(map,t,e){this.extend(n,google.maps.OverlayView),t=t||[],e=e||{},this.markers_=[],this.clusters_=[],this.listeners_=[],this.activeMap_=null,this.ready_=!1,this.gridSize_=e.gridSize||60,this.minClusterSize_=e.minimumClusterSize||2,this.maxZoom_=e.maxZoom||null,this.styles_=e.styles||[],this.title_=e.title||"",this.zoomOnClick_=!0,void 0!==e.zoomOnClick&&(this.zoomOnClick_=e.zoomOnClick),this.averageCenter_=!1,void 0!==e.averageCenter&&(this.averageCenter_=e.averageCenter),this.ignoreHidden_=!1,void 0!==e.ignoreHidden&&(this.ignoreHidden_=e.ignoreHidden),this.enableRetinaIcons_=!1,void 0!==e.enableRetinaIcons&&(this.enableRetinaIcons_=e.enableRetinaIcons),this.imagePath_=e.imagePath||n.IMAGE_PATH,this.imageExtension_=e.imageExtension||n.IMAGE_EXTENSION,this.imageSizes_=e.imageSizes||n.IMAGE_SIZES,this.calculator_=e.calculator||n.CALCULATOR,this.batchSize_=e.batchSize||n.BATCH_SIZE,this.batchSizeIE_=e.batchSizeIE||n.BATCH_SIZE_IE,this.clusterClass_=e.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize_=this.batchSizeIE_),this.setupStyles_(),this.addMarkers(t,!0),this.setMap(map)}r.prototype.onAdd=function(){var t,e,r=this;this.div_=document.createElement("div"),this.div_.className=this.className_,this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",(function(){e=t})),google.maps.event.addDomListener(this.div_,"mousedown",(function(){t=!0,e=!1})),google.maps.event.addDomListener(this.div_,"click",(function(o){if(t=!1,!e){var n,h,l=r.cluster_.getMarkerClusterer();google.maps.event.trigger(l,"click",r.cluster_),google.maps.event.trigger(l,"clusterclick",r.cluster_),l.getZoomOnClick()&&(h=l.getMaxZoom(),n=r.cluster_.getBounds(),l.getMap().fitBounds(n),setTimeout((function(){l.getMap().fitBounds(n),null!==h&&l.getMap().getZoom()>h&&l.getMap().setZoom(h+1)}),100)),o.cancelBubble=!0,o.stopPropagation&&o.stopPropagation()}})),google.maps.event.addDomListener(this.div_,"mouseover",(function(){var t=r.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"mouseover",r.cluster_)})),google.maps.event.addDomListener(this.div_,"mouseout",(function(){var t=r.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"mouseout",r.cluster_)}))},r.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},r.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},r.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},r.prototype.show=function(){if(this.div_){var img="",t=this.backgroundPosition_.split(" "),e=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),r=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),o=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(o),img="<img src='"+this.url_+"' style='position: absolute; top: "+r+"px; left: "+e+"px; ",this.cluster_.getMarkerClusterer().enableRetinaIcons_||(img+="clip: rect("+-1*r+"px, "+(-1*e+this.width_)+"px, "+(-1*r+this.height_)+"px, "+-1*e+"px);"),img+="'>",this.div_.innerHTML=img+"<div style='position: absolute;top: "+this.anchorText_[0]+"px;left: "+this.anchorText_[1]+"px;color: "+this.textColor_+";font-size: "+this.textSize_+"px;font-family: "+this.fontFamily_+";font-weight: "+this.fontWeight_+";font-style: "+this.fontStyle_+";text-decoration: "+this.textDecoration_+";text-align: center;width: "+this.width_+"px;line-height:"+this.height_+"px;'>"+this.sums_.text+"</div>",void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""}this.visible_=!0},r.prototype.useStyle=function(t){this.sums_=t;var e=Math.max(0,t.index-1);e=Math.min(this.styles_.length-1,e);var style=this.styles_[e];this.url_=style.url,this.height_=style.height,this.width_=style.width,this.anchorText_=style.anchorText||[0,0],this.anchorIcon_=style.anchorIcon||[parseInt(this.height_/2,10),parseInt(this.width_/2,10)],this.textColor_=style.textColor||"black",this.textSize_=style.textSize||11,this.textDecoration_=style.textDecoration||"none",this.fontWeight_=style.fontWeight||"bold",this.fontStyle_=style.fontStyle||"normal",this.fontFamily_=style.fontFamily||"Arial,sans-serif",this.backgroundPosition_=style.backgroundPosition||"0 0"},r.prototype.setCenter=function(t){this.center_=t},r.prototype.createCss=function(t){var style=[];return style.push("cursor: pointer;"),style.push("position: absolute; top: "+t.y+"px; left: "+t.x+"px;"),style.push("width: "+this.width_+"px; height: "+this.height_+"px;"),style.join("")},r.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x-=this.anchorIcon_[1],e.y-=this.anchorIcon_[0],e.x=parseInt(e.x,10),e.y=parseInt(e.y,10),e},o.prototype.getSize=function(){return this.markers_.length},o.prototype.getMarkers=function(){return this.markers_},o.prototype.getCenter=function(){return this.center_},o.prototype.getMap=function(){return this.map_},o.prototype.getMarkerClusterer=function(){return this.markerClusterer_},o.prototype.getBounds=function(){var i,t=new google.maps.LatLngBounds(this.center_,this.center_),e=this.getMarkers();for(i=0;i<e.length;i++)t.extend(e[i].getPosition());return t},o.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},o.prototype.addMarker=function(marker){var i,t,e;if(this.isMarkerAlreadyAdded_(marker))return!1;if(this.center_){if(this.averageCenter_){var r=this.markers_.length+1,o=(this.center_.lat()*(r-1)+marker.getPosition().lat())/r,n=(this.center_.lng()*(r-1)+marker.getPosition().lng())/r;this.center_=new google.maps.LatLng(o,n),this.calculateBounds_()}}else this.center_=marker.getPosition(),this.calculateBounds_();if(marker.isAdded=!0,this.markers_.push(marker),t=this.markers_.length,null!==(e=this.markerClusterer_.getMaxZoom())&&this.map_.getZoom()>e)marker.getMap()!==this.map_&&marker.setMap(this.map_);else if(t<this.minClusterSize_)marker.getMap()!==this.map_&&marker.setMap(this.map_);else if(t===this.minClusterSize_)for(i=0;i<t;i++)this.markers_[i].setMap(null);else marker.setMap(null);return this.updateIcon_(),!0},o.prototype.isMarkerInClusterBounds=function(marker){return this.bounds_.contains(marker.getPosition())},o.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},o.prototype.updateIcon_=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();if(null!==e&&this.map_.getZoom()>e)this.clusterIcon_.hide();else if(t<this.minClusterSize_)this.clusterIcon_.hide();else{var r=this.markerClusterer_.getStyles().length,o=this.markerClusterer_.getCalculator()(this.markers_,r);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(o),this.clusterIcon_.show()}},o.prototype.isMarkerAlreadyAdded_=function(marker){var i;if(this.markers_.indexOf)return-1!==this.markers_.indexOf(marker);for(i=0;i<this.markers_.length;i++)if(marker===this.markers_[i])return!0;return!1},n.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){t.resetViewport_(!1),this.getZoom()!==(this.get("minZoom")||0)&&this.getZoom()!==this.get("maxZoom")||google.maps.event.trigger(this,"idle")})),google.maps.event.addListener(this.getMap(),"idle",(function(){t.redraw_()}))]},n.prototype.onRemove=function(){var i;for(i=0;i<this.markers_.length;i++)this.markers_[i].getMap()!==this.activeMap_&&this.markers_[i].setMap(this.activeMap_);for(i=0;
1i<this.clusters_.length;i++)this.clusters_[i].remove();for(this.clusters_=[],i=0;i<this.listeners_.length;i++)google.maps.event.removeListener(this.listeners_[i]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},n.prototype.draw=function(){},n.prototype.setupStyles_=function(){var i,t;if(!(this.styles_.length>0))for(i=0;i<this.imageSizes_.length;i++)t=this.imageSizes_[i],this.styles_.push({url:this.imagePath_+(i+1)+"."+this.imageExtension_,height:t,width:t})},n.prototype.fitMapToMarkers=function(){var i,t=this.getMarkers(),e=new google.maps.LatLngBounds;for(i=0;i<t.length;i++)e.extend(t[i].getPosition());this.getMap().fitBounds(e)},n.prototype.getGridSize=function(){return this.gridSize_},n.prototype.setGridSize=function(t){this.gridSize_=t},n.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},n.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},n.prototype.getMaxZoom=function(){return this.maxZoom_},n.prototype.setMaxZoom=function(t){this.maxZoom_=t},n.prototype.getStyles=function(){return this.styles_},n.prototype.setStyles=function(t){this.styles_=t},n.prototype.getTitle=function(){return this.title_},n.prototype.setTitle=function(title){this.title_=title},n.prototype.getZoomOnClick=function(){return this.zoomOnClick_},n.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},n.prototype.getAverageCenter=function(){return this.averageCenter_},n.prototype.setAverageCenter=function(t){this.averageCenter_=t},n.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},n.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},n.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},n.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},n.prototype.getImageExtension=function(){return this.imageExtension_},n.prototype.setImageExtension=function(t){this.imageExtension_=t},n.prototype.getImagePath=function(){return this.imagePath_},n.prototype.setImagePath=function(t){this.imagePath_=t},n.prototype.getImageSizes=function(){return this.imageSizes_},n.prototype.setImageSizes=function(t){this.imageSizes_=t},n.prototype.getCalculator=function(){return this.calculator_},n.prototype.setCalculator=function(t){this.calculator_=t},n.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},n.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},n.prototype.getClusterClass=function(){return this.clusterClass_},n.prototype.setClusterClass=function(t){this.clusterClass_=t},n.prototype.getMarkers=function(){return this.markers_},n.prototype.getTotalMarkers=function(){return this.markers_.length},n.prototype.getClusters=function(){return this.clusters_},n.prototype.getTotalClusters=function(){return this.clusters_.length},n.prototype.addMarker=function(marker,t){this.pushMarkerTo_(marker),t||this.redraw_()},n.prototype.addMarkers=function(t,e){var r;for(r in t)t.hasOwnProperty(r)&&this.pushMarkerTo_(t[r]);e||this.redraw_()},n.prototype.pushMarkerTo_=function(marker){if(marker.getDraggable()){var t=this;google.maps.event.addListener(marker,"dragend",(function(){t.ready_&&(this.isAdded=!1,t.repaint())}))}marker.isAdded=!1,this.markers_.push(marker)},n.prototype.removeMarker=function(marker,t){var e=this.removeMarker_(marker);return!t&&e&&this.repaint(),e},n.prototype.removeMarkers=function(t,e){var i,r,o=!1;for(i=0;i<t.length;i++)r=this.removeMarker_(t[i]),o=o||r;return!e&&o&&this.repaint(),o},n.prototype.removeMarker_=function(marker){var i,t=-1;if(this.markers_.indexOf)t=this.markers_.indexOf(marker);else for(i=0;i<this.markers_.length;i++)if(marker===this.markers_[i]){t=i;break}return-1!==t&&(marker.setMap(null),this.markers_.splice(t,1),!0)},n.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]}
1,n.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout((function(){var i;for(i=0;i<t.length;i++)t[i].remove()}),0)},n.prototype.getExtendedBounds=function(t){var e=this.getProjection(),tr=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),r=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),o=e.fromLatLngToDivPixel(tr);o.x+=this.gridSize_,o.y-=this.gridSize_;var n=e.fromLatLngToDivPixel(r);n.x-=this.gridSize_,n.y+=this.gridSize_;var h=e.fromDivPixelToLatLng(o),l=e.fromDivPixelToLatLng(n);return t.extend(h),t.extend(l),t},n.prototype.redraw_=function(){this.createClusters_(0)},n.prototype.resetViewport_=function(t){var i,marker;for(i=0;i<this.clusters_.length;i++)this.clusters_[i].remove();for(this.clusters_=[],i=0;i<this.markers_.length;i++)(marker=this.markers_[i]).isAdded=!1,t&&marker.setMap(null)},n.prototype.distanceBetweenPoints_=function(t,e){var r=(e.lat()-t.lat())*Math.PI/180,o=(e.lng()-t.lng())*Math.PI/180,a=Math.sin(r/2)*Math.sin(r/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2);return 6371*(2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)))},n.prototype.isMarkerInBounds_=function(marker,t){return t.contains(marker.getPosition())},n.prototype.addToClosestCluster_=function(marker){var i,t,e,r,n=4e4,h=null;for(i=0;
1i<this.clusters_.length;i++)(r=(e=this.clusters_[i]).getCenter())&&(t=this.distanceBetweenPoints_(r,marker.getPosition()))<n&&(n=t,h=e);h&&h.isMarkerInClusterBounds(marker)?h.addMarker(marker):((e=new o(this)).addMarker(marker),this.clusters_.push(e))},n.prototype.createClusters_=function(t){var i,marker,e,r=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic)),e=this.getMap().getZoom()>3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625));var o=this.getExtendedBounds(e),n=Math.min(t+this.batchSize_,this.markers_.length);for(i=t;i<n;i++)!(marker=this.markers_[i]).isAdded&&this.isMarkerInBounds_(marker,o)&&(!this.ignoreHidden_||this.ignoreHidden_&&marker.getVisible())&&this.addToClosestCluster_(marker);n<this.markers_.length?this.timerRefStatic=setTimeout((function(){r.createClusters_(n)}),0):(delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this))}},n.prototype.extend=function(t,e){return function(object){var t;for(t in object.prototype)this.prototype[t]=object.prototype[t];return this}.apply(t,[e])},n.CALCULATOR=function(t,e){for(var r=0,o=t.length.toString(),n=o;0!==n;)n=parseInt(n/10,10),r++;return{text:o,index:r=Math.min(r,e),title:""}},n.BATCH_SIZE=2e3,n.BATCH_SIZE_IE=500,n.IMAGE_PATH="https://raw.githubusercontent.com/googlemaps/v3-utility-library/master/markerclustererplus/images/m",n.IMAGE_EXTENSION="png",n.IMAGE_SIZES=[53,56,66,78,90],t.exports=n}}]);

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.