{"version":3,"sources":["app.min.js"],"names":["$","jQuery","document","ready","imageSize","imgs","each","img","this","width","prop","height","parent","addClass","owl","owlCarousel","nav","navText","slideSpeed","paginationSpeed","items","itemsDesktop","itemsDesktopSmall","itemsTablet","itemsMobile","click","window","parents","toggleClass","children","length","next","clone","appendTo","wrap","removeClass","event","galleryId","attr","undefined","find","remove","galleryImageItems","galleryImageContainer","i","galleryImages","append","img_id","trigger","show","hide","on","e","target"],"mappings":"AAAA,YAAA,IAAIA,GAAIC,MAERD,GAAEE,UAAUC,MAAM,WAEd,QAASC,KACL,GAAIC,GAAOL,EAAE,mBAEbK,GAAKC,KAAK,WACN,GAAIC,GAAMP,EAAEQ,MACRC,EAAQF,EAAIG,KAAK,gBACjBC,EAASJ,EAAIG,KAAK,gBAElBD,GAAQE,EACRX,EAAEQ,MAAMI,OAAO,gBAAgBC,SAAS,YAGxCb,EAAEQ,MAAMI,OAAO,gBAAgBC,SAAS,eAsBxD,QAASC,KACPd,EAAE,iBAAiBe,aACfC,KAAI,EACHC,SACD,qCACA,sCAEAC,WAAa,IACbC,gBAAkB,IAClBC,MAAQ,EACRC,cAAe,EACfC,mBAAoB,EACpBC,aAAa,EACbC,aAAc,IA9BlBxB,EAAE,iBAAiBa,SAAS,gBAE5Bb,EAAE,iDAAiDyB,MAAM,WACnDzB,EAAE0B,QAAQjB,QAAU,OACtBT,EAAEQ,MAAMmB,QAAQ,gBAAgBC,YAAY,kBAC6B,GAArE5B,EAAEQ,MAAMmB,QAAQ,gBAAgBE,SAAS,kBAAkBC,QAC5D9B,EAAEQ,MAAMuB,KAAK,oBAAoBC,QAAQC,SAAS,gBAAgBC,KAAK,wCAM9ElC,EAAE,aAAayB,MAAM,WAClBzB,EAAEQ,MAAMmB,QAAQ,gBAAgBQ,YAAY,oBAsBjDrB,IAKId,EAAE,eAAeyB,MAAM,SAASW,GAC5B,GAAIC,GAAYrC,EAAEQ,MAAM8B,KAAK,kBAC7B,IAAiBC,SAAdF,EACH,CACIrC,EAAE,kBAAkBwC,KAAK,iBAAiBC,QAI1C,KAAI,GAHAC,GAAoB,GACpBC,EAAAA,GAEIC,EAAI,EAAGA,EAAIC,cAAcR,GAAWP,OAAQc,IAEhDF,GAAqB,sCAAwCG,cAAcR,GAAWO,GAAzB,MAAA,MAA+C,kBAGhHD,GACI,4EACQD,EADR,wBAIJ1C,EAAE,kBAAkB8C,OAAOH,GAG/B7B,IACAV,GACA,IAAI2C,GAAO/C,EAAEQ,MAAM8B,KAAK,UACxBtC,GAAE,wCAAwCgD,QAAQ,mBAAoBD,EAAQ,KAAK,IACnF/C,EAAE,kBAAkBiD,OAEnBjD,EAAE,kBAAkByB,MAAM,SAASW,GAClCpC,EAAE,kBAAkBkD,SAGrBlD,EAAE,kBAAkBmD,GAAG,QAAS,SAASC,GACnCA,EAAEC,SAAW7C,MAEjBR,EAAE,kBAAkBkD","file":"app.min.js","sourcesContent":["var $ = jQuery;\r\n\r\n$(document).ready(function() {\r\n\r\n function imageSize() {\r\n var imgs = $('.slider-item img');\r\n \r\n imgs.each(function () {\r\n var img = $(this);\r\n var width = img.prop('naturalWidth');\r\n var height = img.prop('naturalHeight');\r\n \r\n if (width < height) {\r\n $(this).parent('.slider-item').addClass('portrait');\r\n }\r\n else {\r\n $(this).parent('.slider-item').addClass('landscape');\r\n }\r\n });\r\n }\r\n\r\n $('p:has(iframe)').addClass('video-holder');\r\n\r\n $('.main-menu-list>li.dropdown>a.dropdown-toggle').click(function() {\r\n if ($(window).width() < 1025) {\r\n $(this).parents('.main-navbar').toggleClass('active-submenu');\r\n if ($(this).parents(\".main-navbar\").children(\".submenu-block\").length == 0) {\r\n $(this).next('ul.dropdown-menu').clone().appendTo('.main-navbar').wrap('
');\r\n }\r\n }\r\n \r\n });\r\n \r\n $('.menu-btn').click(function() {\r\n $(this).parents('.main-navbar').removeClass('active-submenu');\r\n });\r\n\r\n\r\nfunction owl() {\r\n $('.owl-carousel').owlCarousel({\r\n nav:true, \r\n navText: [\r\n \"\",\r\n \"\"\r\n ],\r\n slideSpeed : 300,\r\n paginationSpeed : 400,\r\n items : 1, \r\n itemsDesktop : false,\r\n itemsDesktopSmall : false,\r\n itemsTablet: false,\r\n itemsMobile : false\r\n \r\n });\r\n}\r\n\r\nowl();\r\n\r\n\r\n//Gallery open\r\n\r\n $('.img-holder').click(function(event) {\r\n var galleryId = $(this).attr('data-gallery-id');\r\n if(galleryId !== undefined)\r\n {\r\n $('.gallery-block').find('.owl-carousel').remove();\r\n var galleryImageItems = '';\r\n var galleryImageContainer = ``;\r\n\r\n for(let i = 0; i < galleryImages[galleryId].length; i++)\r\n {\r\n galleryImageItems += ' ';\r\n }\r\n\r\n galleryImageContainer =\r\n `