"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();!function(e){var t=function(){function t(){_classCallCheck(this,t),this.initPortfolio(),e("body [otf-count-number]").length>0&&this.initCounter()}return _createClass(t,[{key:"initPortfolio",value:function(){e(".portfolio-popup-gallery").magnificPopup({delegate:"a",type:"image",tLoading:"Loading image #%curr%...",mainClass:"mfp-img-mobile",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',titleSrc:function(e){return e.el.attr("title")}}})}},{key:"initCounter",value:function(){e("[opal-counter]").data("countToOptions",{formatter:function(e,t){return e.toFixed(t.decimals).replace(/\B(?=(?:\d{3})+(?!\d))/g,",")}}).each(function(t,n){var o=e(n);t=_extends({},t||{},o.data("countToOptions")||{}),o.countTo(t)})}}]),t}();e(document).ready(function(){new t})}(jQuery);
//# sourceMappingURL=main.js.map
