PageSourceSearch

https://www.sympoziumrenemacha.cz/dist/Amca/assets/index.esm.79d48579.js

js sympoziumrenemacha.cz collected 2026-10-07 03:52:10 UTC 17,874 bytes, 18 lines download raw bytes

1/*! *****************************************************************************
2Copyright (c) Microsoft Corporation.
3
4Permission to use, copy, modify, and/or distribute this software for any
5purpose with or without fee is hereby granted.
6
7THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13PERFORMANCE OF THIS SOFTWARE.
14***************************************************************************** */var m=function(n,e){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var r in s)s.hasOwnProperty(r)&&(t[r]=s[r])},m(n,e)};function v(n,e){m(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var c=function(){return c=Object.assign||function(e){for(var t,s=1,r=arguments.length;s<r;s++){t=arguments[s];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},c.apply(this,arguments)};function M(n,e){for(var t in e.prototype)n.prototype[t]=e.prototype[t]}var y=function(){function n(){M(n,google.maps.OverlayView)}return n}();function d(n){return Object.keys(n).reduce(function(e,t){return n[t]&&e.push(t+":"+n[t]),e},[]).join(";")}function h(n){return n?n+"px":void 0}var C=function(n){v(e,n);function e(t,s){var r=n.call(this)||this;return r.cluster_=t,r.styles_=s,r.center_=null,r.div_=null,r.sums_=null,r.visible_=!1,r.style=null,r.setMap(t.getMap()),r}return e.prototype.onAdd=function(){var t=this,s,r,i=this.cluster_.getMarkerClusterer(),o=google.maps.version.split("."),a=o[0],l=o[1],p=parseInt(a,10)*100+parseInt(l,10);this.div_=document.createElement("div"),this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",function(){r=s}),google.maps.event.addDomListener(this.div_,"mousedown",function(){s=!0,r=!1}),google.maps.event.addDomListener(this.div_,"contextmenu",function(){google.maps.event.trigger(i,"contextmenu",t.cluster_)}),p>=332&&google.maps.event.addDomListener(this.div_,"touchstart",function(u){u.stopPropagation()}),google.maps.event.addDomListener(this.div_,"click",function(u){if(s=!1,!r){if(google.maps.event.trigger(i,"click",t.cluster_),google.maps.event.trigger(i,"clusterclick",t.cluster_),i.getZoomOnClick()){var g=i.getMaxZoom(),_=t.cluster_.getBounds();i.getMap().fitBounds(_),setTimeout(function(){i.getMap().fitBounds(_),g!==null&&i.getMap().getZoom()>g&&i.getMap().setZoom(g+1)},100)}u.cancelBubble=!0,u.stopPropagation&&u.stopPropagation()}}),google.maps.event.addDomListener(this.div_,"mouseover",function(){google.maps.event.trigger(i,"mouseover",t.cluster_)}),google.maps.event.addDomListener(this.div_,"mouseout",function(){google.maps.event.trigger(i,"mouseout",t.cluster_)})},e.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)},e.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"}},e.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},e.prototype.show=function(){this.div_&&(this.div_.className=this.className_,this.div_.style.cssText=this.createCss_(this.getPosFromLatLng_(this.center_)),this.div_.innerHTML=(this.style.url?this.getImageElementHtml():"")+this.getLabelDivHtml(),typeof this.sums_.title=="undefined"||this.sums_.title===""?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},e.prototype.getLabelDivHtml=function(){var t=this.cluster_.getMarkerClusterer(),s=t.ariaLabelFn(this.sums_.text),r={position:"absolute",top:h(this.anchorText_[0]),left:h(this.anchorText_[1]),color:this.style.textColor,"font-size":h(this.style.textSize),"font-family":this.style.fontFamily,"font-weight":this.style.fontWeight,"font-style":this.style.fontStyle,"text-decoration":this.style.textDecoration,"text-align":"center",width:h(this.style.width),"line-height":h(this.style.textLineHeight)};return`
15<div aria-label="`.concat(s,'" style="').concat(d(r),`" tabindex="0">
16  <span aria-hidden="true">`).concat(this.sums_.text,`</span>
17</div>
18`)},e.prototype.getImageElementHtml=function(){var t=(this.style.backgroundPosition||"0 0").split(" "),s=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),r=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),i={};if(this.cluster_.getMarkerClusterer().getEnableRetinaIcons())i={width:h(this.style.width),height:h(this.style.height)};else{var o=[-1*r,-1*s+this.style.width,-1*r+this.style.height,-1*s],a=o[0],l=o[1],p=o[2],u=o[3];i={clip:"rect(".concat(a,"px, ").concat(l,"px, ").concat(p,"px, ").concat(u,"px)")}}var g=this.sums_.url?{width:"100%",height:"100%"}:{},_=d(c(c({position:"absolute",top:h(r),left:h(s)},i),g));return'<img alt="'.concat(this.sums_.text,'" aria-hidden="true" src="').concat(this.style.url,'" style="').concat(_,'"/>')},e.prototype.useStyle=function(t){this.sums_=t;var s=Math.max(0,t.index-1);s=Math.min(this.styles_.length-1,s),this.style=this.sums_.url?c(c({},this.styles_[s]),{url:this.sums_.url}):this.styles_[s],this.anchorText_=this.style.anchorText||[0,0],this.anchorIcon_=this.style.anchorIcon||[Math.floor(this.style.height/2),Math.floor(this.style.width/2)],this.className_=this.cluster_.getMarkerClusterer().getClusterClass()+" "+(this.style.className||"cluster-"+s)},e.prototype.setCenter=function(t){this.center_=t},e.prototype.createCss_=function(t){return d({"z-index":"".concat(this.cluster_.getMarkerClusterer().getZIndex()),top:h(t.y),left
18:h(t.x),width:h(this.style.width),height:h(this.style.height),cursor:"pointer",position:"absolute","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})},e.prototype.getPosFromLatLng_=function(t){var s=this.getProjection().fromLatLngToDivPixel(t);return s.x=Math.floor(s.x-this.anchorIcon_[1]),s.y=Math.floor(s.y-this.anchorIcon_[0]),s},e}(y),x=function(){function n(e){this.markerClusterer_=e,this.map_=this.markerClusterer_.getMap(),this.minClusterSize_=this.markerClusterer_.getMinimumClusterSize(),this.averageCenter_=this.markerClusterer_.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new C(this,this.markerClusterer_.getStyles())}return n.prototype.getSize=function(){return this.markers_.length},n.prototype.getMarkers=function(){return this.markers_},n.prototype.getCenter=function(){return this.center_},n.prototype.getMap=function(){return this.map_},n.prototype.getMarkerClusterer=function(){return this.markerClusterer_},n.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center_,this.center_),t=this.getMarkers(),s=0;s<t.length;s++)e.extend(t[s].getPosition());return e},n.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},n.prototype.addMarker=function(e){if(this.isMarkerAlreadyAdded_(e))return!1;if(!this.center_)this.center_=e.getPosition(),this.calculateBounds_();else if(this.averageCenter_){var t=this.markers_.length+1,s=(this.center_.lat()*(t-1)+e.getPosition().lat())/t,r=(this.center_.lng()*(t-1)+e.getPosition().lng())/t;this.center_=new google.maps.LatLng(s,r),this.calculateBounds_()}e.isAdded=!0,this.markers_.push(e);var i=this.markers_.length,o=this.markerClusterer_.getMaxZoom();if(o!==null&&this.map_.getZoom()>o)e.getMap()!==this.map_&&e.setMap(this.map_);else if(i<this.minClusterSize_)e.getMap()!==this.map_&&e.setMap(this.map_);else if(i===this.minClusterSize_)for(var a=0;a<i;a++)this.markers_[a].setMap(null);else e.setMap(null);return!0},n.prototype.isMarkerInClusterBounds=function(e){return this.bounds_.contains(e.getPosition())},n.prototype.calculateBounds_=function(){var e=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(e)},n.prototype.updateIcon=function(){var e=this.markers_.length,t=this.markerClusterer_.getMaxZoom();if(t!==null&&this.map_.getZoom()>t){this.clusterIcon_.hide();return}if(e<this.minClusterSize_){this.clusterIcon_.hide();return}var s=this.markerClusterer_.getStyles().length,r=this.markerClusterer_.getCalculator()(this.markers_,s);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(r),this.clusterIcon_.show()},n.prototype.isMarkerAlreadyAdded_=function(e){if(this.markers_.indexOf)return this.markers_.indexOf(e)!==-1;for(var t=0;t<this.markers_.length;t++)if(e===this.markers_[t])return!0;return!1},n}(),f=function(n,e,t){return n[e]!==void 0?n[e]:t},I=function(n){v(e,n);function e(t,s,r){s===void 0&&(s=[]),r===void 0&&(r={});var i=n.call(this)||this;return i.options=r,i.markers_=[],i.clusters_=[],i.listeners_=[],i.activeMap_=null,i.ready_=!1,i.ariaLabelFn=i.options.ariaLabelFn||function(){return""},i.zIndex_=i.options.zIndex||Number(google.maps.Marker.MAX_ZINDEX)+1,i.gridSize_=i.options.gridSize||60,i.minClusterSize_=i.options.minimumClusterSize||2,i.maxZoom_=i.options.maxZoom||null,i.styles_=i.options.styles||[],i.title_=i.options.title||"",i.zoomOnClick_=f(i.options,"zoomOnClick",!0),i.averageCenter_=f(i.options,"averageCenter",!1),i.ignoreHidden_=f(i.options,"ignoreHidden",!1),i.enableRetinaIcons_=f(i.options,"enableRetinaIcons",!1),i.imagePath_=i.options.imagePath||e.IMAGE_PATH,i.imageExtension_=i.options.imageExtension||e.IMAGE_EXTENSION,i.imageSizes_=i.options.imageSizes||e.IMAGE_SIZES,i.calculator_=i.options.calculator||e.CALCULATOR,i.batchSize_=i.options.batchSize||e.BATCH_SIZE,i.batchSizeIE_=i.options.batchSizeIE||e.BATCH_SIZE_IE,i.clusterClass_=i.options.clusterClass||"cluster",navigator.userAgent.toLowerCase().indexOf("msie")!==-1&&(i.batchSize_=i.batchSizeIE_),i.setupStyles_(),i.addMarkers(s,!0),i.setMap(t),i}return e.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.prevZoom_=this.getMap().getZoom(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",function(){var s=t.getMap(),r=s.minZoom||0,i=Math.min(s.maxZoom||100,s.mapTypes[s.getMapTypeId()].maxZoom),o=Math.min(Math.max(t.getMap().getZoom(),r),i);t.prevZoom_!=o&&(t.prevZoom_=o,t.resetViewport_(!1))}),google.maps.event.addListener(this.getMap(),"idle",function(){t.redraw_()})]},e.prototype.onRemove=function(){for(var t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(var t=0;
18t<this.clusters_.length;t++)this.clusters_[t].remove();this.clusters_=[];for(var t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},e.prototype.draw=function(){},e.prototype.setupStyles_=function(){if(!(this.styles_.length>0))for(var t=0;t<this.imageSizes_.length;t++){var s=this.imageSizes_[t];this.styles_.push(e.withDefaultStyle({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:s,width:s}))}},e.prototype.fitMapToMarkers=function(t){for(var s=this.getMarkers(),r=new google.maps.LatLngBounds,i=0;i<s.length;i++)(s[i].getVisible()||!this.getIgnoreHidden())&&r.extend(s[i].getPosition());this.getMap().fitBounds(r,t)},e.prototype.getGridSize=function(){return this.gridSize_},e.prototype.setGridSize=function(t){this.gridSize_=t},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},e.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},e.prototype.getMaxZoom=function(){return this.maxZoom_},e.prototype.setMaxZoom=function(t){this.maxZoom_=t},e.prototype.getZIndex=function(){return this.zIndex_},e.prototype.setZIndex=function(t){this.zIndex_=t},e.prototype.getStyles=function(){return this.styles_},e.prototype.setStyles=function(t){this.styles_=t},e.prototype.getTitle=function(){return this.title_},e.prototype.setTitle=function(t){this.title_=t},e.prototype.getZoomOnClick=function(){return this.zoomOnClick_},e.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},e.prototype.getAverageCenter=function(){return this.averageCenter_},e.prototype.setAverageCenter=function(t){this.averageCenter_=t},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},e.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},e.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},e.prototype.getImageExtension=function(){return this.imageExtension_},e.prototype.setImageExtension=function(t){this.imageExtension_=t},e.prototype.getImagePath=function(){return this.imagePath_},e.prototype.setImagePath=function(t){this.imagePath_=t},e.prototype.getImageSizes=function(){return this.imageSizes_},e.prototype.setImageSizes=function(t){this.imageSizes_=t},e.prototype.getCalculator=function(){return this.calculator_},e.prototype.setCalculator=function(t){this.calculator_=t},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},e.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},e.prototype.getClusterClass=function(){return this.clusterClass_},e.prototype.setClusterClass=function(t){this.clusterClass_=t},e.prototype.getMarkers=function(){return this.markers_},e.prototype.getTotalMarkers=function(){return this.markers_.length},e.prototype.getClusters=function(){return this.clusters_},e.prototype.getTotalClusters=function(){return this.clusters_.length},e.prototype.addMarker=function(t,s){this.pushMarkerTo_(t),s||this.redraw_()},e.prototype.addMarkers=function(t,s){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.pushMarkerTo_(t[r]);s||this.redraw_()},e.prototype.pushMarkerTo_=function(t){var s=this;t.getDraggable()&&google.maps.event.addListener(t,"dragend",function(){s.ready_&&(t.isAdded=!1,s.repaint())}),t.isAdded=!1,this.markers_.push(t)},e.prototype.removeMarker=function(t,s){var r=this.removeMarker_(t);return!s&&r&&this.repaint(),r},e.prototype.removeMarkers=function(t,s){for(var r=!1,i=0;i<t.length;i++){var o=this.removeMarker_(t[i]);r=r||o}return!s&&r&&this.repaint(),r},e.prototype.removeMarker_=function(t){var s=-1;if(this.markers_.indexOf)s=this.markers_.indexOf(t);else for(var r=0;r<this.markers_.length;r++)if(t===this.markers_[r]){s=r;break}return s===-1?!1:(t.setMap(null),this.markers_.splice(s,1),!0)},e.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]}
18,e.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout(function(){for(var s=0;s<t.length;s++)t[s].remove()},0)},e.prototype.getExtendedBounds=function(t){var s=this.getProjection(),r=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),i=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),o=s.fromLatLngToDivPixel(r);o.x+=this.gridSize_,o.y-=this.gridSize_;var a=s.fromLatLngToDivPixel(i);a.x-=this.gridSize_,a.y+=this.gridSize_;var l=s.fromDivPixelToLatLng(o),p=s.fromDivPixelToLatLng(a);return t.extend(l),t.extend(p),t},e.prototype.redraw_=function(){this.createClusters_(0)},e.prototype.resetViewport_=function(t){for(var s=0;s<this.clusters_.length;s++)this.clusters_[s].remove();this.clusters_=[];for(var s=0;s<this.markers_.length;s++){var r=this.markers_[s];r.isAdded=!1,t&&r.setMap(null)}},e.prototype.distanceBetweenPoints_=function(t,s){var r=6371,i=(s.lat()-t.lat())*Math.PI/180,o=(s.lng()-t.lng())*Math.PI/180,a=Math.sin(i/2)*Math.sin(i/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(s.lat()*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2),l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return r*l},e.prototype.isMarkerInBounds_=function(t,s){return s.contains(t.getPosition())},e.prototype.addToClosestCluster_=function(t){for(var s=4e4,r=null,i=0;
18i<this.clusters_.length;i++){var o=this.clusters_[i],a=o.getCenter();if(a){var l=this.distanceBetweenPoints_(a,t.getPosition());l<s&&(s=l,r=o)}}if(r&&r.isMarkerInClusterBounds(t))r.addMarker(t);else{var o=new x(this);o.addMarker(t),this.clusters_.push(o)}},e.prototype.createClusters_=function(t){var s=this;if(!!this.ready_){t===0&&(google.maps.event.trigger(this,"clusteringbegin",this),typeof this.timerRefStatic!="undefined"&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var r=new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()),i=this.getExtendedBounds(r),o=Math.min(t+this.batchSize_,this.markers_.length),a=t;a<o;a++){var l=this.markers_[a];!l.isAdded&&this.isMarkerInBounds_(l,i)&&(!this.ignoreHidden_||this.ignoreHidden_&&l.getVisible())&&this.addToClosestCluster_(l)}if(o<this.markers_.length)this.timerRefStatic=window.setTimeout(function(){s.createClusters_(o)},0);else{delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this);for(var a=0;
18a<this.clusters_.length;a++)this.clusters_[a].updateIcon()}}},e.CALCULATOR=function(t,s){for(var r=0,i=t.length,o=i;o!==0;)o=Math.floor(o/10),r++;return r=Math.min(r,s),{text:i.toString(),index:r,title:""}},e.withDefaultStyle=function(t){return c({textColor:"black",textSize:11,textDecoration:"none",textLineHeight:t.height,fontWeight:"bold",fontStyle:"normal",fontFamily:"Arial,sans-serif",backgroundPosition:"0 0"},t)},e.BATCH_SIZE=2e3,e.BATCH_SIZE_IE=500,e.IMAGE_PATH="../images/m",e.IMAGE_EXTENSION="png",e.IMAGE_SIZES=[53,56,66,78,90],e}(y);export{I as default};

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.