{"version":3,"file":"theme.min.js","sources":["theme.min.js"],"sourcesContent":[";\n(function($) {\n 'use strict';\n const theme = {\n init: () => {\n theme.gallery();\n theme.scrollCue();\n theme.fancybox();\n },\n /**\n * Justified Gallery\n */\n gallery: () => {\n $(\".justified-gallery\").justifiedGallery({\n rowHeight: 400,\n margins: 30,\n border: 0,\n lastRow: 'justify',\n selector: '.item'\n });\n },\n /**\n * scrollCue\n */\n scrollCue: () => {\n function enableScrollCue() {\n scrollCue.init({\n interval: -400,\n duration: 700,\n percentage: 0.8\n });\n };\n enableScrollCue();\n scrollCue.update();\n },\n /**\n * Fancybox\n */\n fancybox: () => {\n $(\"[data-fancybox]\").fancybox({\n idleTime : false,\n smallBtn: false, \n hideScrollbar: false,\n loop: true,\n buttons : [\n 'close'\n ],\n touch : {\n vertical : false,\n momentum : false\n },\n wheel : false\n });\n }\n }\n /**\n * Init theme core\n */\n theme.init();\n})(jQuery);"],"names":["$","theme","init","gallery","scrollCue","fancybox","justifiedGallery","rowHeight","margins","border","lastRow","selector","interval","duration","percentage","update","idleTime","smallBtn","hideScrollbar","loop","buttons","touch","vertical","momentum","wheel","jQuery"],"mappings":"CACA,SAAUA,gBAER,MAAMC,EAAQ,CACZC,KAAM,KACJD,EAAME,UACNF,EAAMG,YACNH,EAAMI,YAKRF,QAAS,KACPH,EAAE,sBAAsBM,iBAAiB,CACvCC,UAAW,IACXC,QAAS,GACTC,OAAQ,EACRC,QAAS,UACTC,SAAU,WAMdP,UAAW,KAEPA,UAAUF,KAAK,CACbU,UAAW,IACXC,SAAU,IACVC,WAAY,KAIhBV,UAAUW,UAKZV,SAAU,KACRL,EAAE,mBAAmBK,SAAS,CAC5BW,UAAW,EACXC,UAAU,EACVC,eAAe,EACfC,MAAM,EACNC,QAAU,CACR,SAEFC,MAAQ,CACNC,UAAW,EACXC,UAAW,GAEbC,OAAQ,MAOdvB,EAAMC,OAzDR,CA0DGuB"}