function _createForOfIteratorHelperLoose(r,t){var e,o="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(o)return(o=o.call(r)).next.bind(o);if(Array.isArray(r)||(o=_unsupportedIterableToArray(r))||t&&r&&"number"==typeof r.length)return o&&(r=o),e=0,function(){return e>=r.length?{done:!0}:{done:!1,value:r[e++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,t){var e;if(r)return"string"==typeof r?_arrayLikeToArray(r,t):"Map"===(e="Object"===(e=Object.prototype.toString.call(r).slice(8,-1))&&r.constructor?r.constructor.name:e)||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(r,t):void 0}function _arrayLikeToArray(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,o=new Array(t);e<t;e++)o[e]=r[e];return o}var TF_Gallery=function(){function r(r){this.cls=r=void 0===r?".tf-gallery-wrapper.lightbox":r,this.init()}return r.prototype.init=function(){var r=document.querySelectorAll(this.cls);if(r.length)for(var t=_createForOfIteratorHelperLoose(r);!(e=t()).done;){var e={selector:".tf-gallery-lightbox-item."+e.value.dataset.id,touchNavigation:!0};GLightbox(e)}},r}();document.addEventListener("DOMContentLoaded",function(r){new TF_Gallery});

