{"version":3,"file":"/share/sys-root/chorvatske/chorvatske-app-it.js","mappings":"MAaA,SAASA,IACR,IAAIC,EAAYC,SAASC,eAAe,YAExC,GAAkB,OAAdF,EAGH,IAFA,IAAIG,EAAQH,EAAUI,qBAAqB,MAElCC,EAAIF,EAAMG,OAAS,EAAGD,GAAK,EAAGA,IACtCF,EAAME,GAAGE,UAAY,EAGxB,CAvBAN,SAASO,gBAAgBC,QAAUV,EAyBnCW,OAAOC,SAvBP,SAAkBC,EAAGC,GAGA,SAFhBA,EAAKA,EAAGC,YAELP,YACNK,EAAEG,cAAe,EACbH,EAAEI,iBAAiBJ,EAAEI,mBAE1BjB,IACAc,EAAGN,UAA4B,IAAhBM,EAAGN,UAAkB,OAAS,EAC9C,EAeAG,OAAOX,SAAWA,C,KCVlBW,OAAOO,sBAbP,WAECC,MAAMC,iBAINC,MAAMC,UAAUC,MACdC,KAAMtB,SAASuB,iBAAiB,6DAChCC,SAAS,SAAUC,GACnBA,EAAKC,UAAUC,OAAO,gBACvB,GACF","sources":["webpack://sys-root/../../../share/js/flags.js","webpack://sys-root/./src/sys-root.js"],"sourcesContent":["document.documentElement.onclick = closeAll;\r\n\r\nfunction showHide(e, el) {\r\n\tvar el = el.parentNode;\r\n\r\n\tif (el.className != \"show\") {\r\n\t\te.cancelBubble = true;\r\n\t\tif (e.stopPropagation) e.stopPropagation();\r\n\t}\r\n\tcloseAll();\r\n\tel.className = el.className == '' ? 'show' : '';\r\n}\r\n\r\nfunction closeAll() {\r\n\tvar container = document.getElementById(\"vlajecky\");\r\n\r\n\tif (container !== null) {\r\n\t\tvar items = container.getElementsByTagName(\"li\");\r\n\r\n\t\tfor (var i = items.length - 1; i >= 0; i--) {\r\n\t\t\titems[i].className = \"\";\r\n\t\t}\r\n\t}\r\n}\r\n\r\nwindow.showHide = showHide;\r\nwindow.closeAll = closeAll;","/**\r\n * functiontoggleRegionSelection() - Přepíná mezi zobrazením mapy a seznamu regionů.\r\n */\r\nfunction toggleRegionSelection()\r\n{\r\n\tevent.preventDefault();\r\n\r\n\t// Konverze nodeList na Array kvuli podpore IE.\r\n\t//\t\tArray.prototype.slice.call více backwards compatible než Array.from\r\n\tArray.prototype.slice\r\n\t\t.call( document.querySelectorAll('.mapa, .seznam, .vyber-mapa-abeceda, .vyber-abeceda-mapa') )\r\n\t\t.forEach( function (item) {\r\n\t\t\titem.classList.toggle('block-visible');\r\n\t\t});\r\n}\r\n\r\nwindow.toggleRegionSelection = toggleRegionSelection;"],"names":["closeAll","container","document","getElementById","items","getElementsByTagName","i","length","className","documentElement","onclick","window","showHide","e","el","parentNode","cancelBubble","stopPropagation","toggleRegionSelection","event","preventDefault","Array","prototype","slice","call","querySelectorAll","forEach","item","classList","toggle"],"sourceRoot":""}