PageSourceSearch

https://www.sympoziumrenemacha.cz/dist/Amca/assets/pux-maps.89c1d676.js

js sympoziumrenemacha.cz collected 2026-10-07 03:52:06 UTC 2,048 bytes, 9 lines download raw bytes

1import{_ as i}from"./Amca-main.55fbfb42.js";const r="[data-pux-map]";window.puxMapInstances=[];const m=(o,a=void 0)=>{const e=d(o,a),n=c(e.type,o,e.options);if(!n)throw"Pux Maps Error: Corrupted <mapsOptions> variable!";switch(a&&(n.pux.container=a),console.log("\u{1F680} ~ file: pux-maps.ts ~ line 25 ~ init ~ datasetOptions.type",e.type),e.type){case"googleMap":i(()=>import("./google-maps.2f7bbc81.js"),["assets/google-maps.2f7bbc81.js","assets/Amca-main.55fbfb42.js"]).then(p=>u(p.default(n)));break;case"seznamMap":break;default:throw"Pux Maps Error: Map type is not 'googleMap' or 'seznamMap'!"}},u=o=>{if(o===null)throw"Pux Maps Error: Map instance is null.";o.initMap().then(()=>{o.initMarkers(l()),o.puxOptions.showClusters&&o.initClusters()}),window.puxMapInstances.push(o)},l=()=>(console.log(window.mapPoints),window.mapPoints),d=(o,a=void 0)=>{var t;let e=a!=null?a:s.container;o&&o.pux&&o.pux.container&&(e=o.pux.container);const n=document.querySelector(e),p=(t=n==null?void 0:n.dataset)!=null?t:{};if(!p.puxMap)throw"Pux Maps Error: Map type is undefined!";if(!["googleMap","seznamMap"].includes(p.puxMap))throw"Pux Maps Error: Map type is not 'googleMap' or 'seznamMap'!";return{options:p,type:p.puxMap}},c=(o,a,e)=>{const n=M(o);if(!n)return null;const t={pux:s,vendor:n};return a?(t.pux={...t.pux,...a.pux},t.pux={...t.pux,...e},t.vendor={...t.vendor,...a[o]},t):(t.pux={...t.pux,...e},t)},f={type:"seznamMap"},x={type:"googleMap",scrollwheel:!1,zoomControl:!0,navigationControl:!1,mapTypeControl:!1,scaleControl:!1,draggable:!0,mapTypeId:"roadmap",blackAndWhite:!1,infoWindowLayout:`
2  <div class="puxmap-infowindow">
3  <h4 class="puxmap-infowindow-title">%title%</h4>
4  <div class="puxmap-infowindow-body">
5  %cta%
6  %mail%
7  </div>
8  </div>
9  `},s={container:r,zoom:2,maxZoom:16,centerlat:30,centerlon:0,pinSize:[60,60],showClusters:!1,showInfoWindows:!1,useFitBounds:!0,useSearchBox:!1},M=o=>{switch(o){case"googleMap":return x;case"seznamMap":return f;default:return null}};export{m as init,c as mergeOptionsWithDefaults};

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.