{"version":3,"file":"jquery.fancybox.init.min.js","sources":["jquery.fancybox.init.js"],"sourcesContent":["(function(w, $) {\n if (typeof $.fancybox === 'object' && $.fancybox !== null) {\n if (w.globalSettings.language === 3) {\n $.fancybox.defaults.i18n['no'] = {\n CLOSE: 'Lukk',\n NEXT: 'Neste',\n PREV: 'Siste',\n ERROR: 'Det forespurte innholdet kan ikke lastes.
Vennligst prøv igjen senere.',\n PLAY_START: 'Start bildefremvisning',\n PLAY_STOP: 'Pause bildefremvisning',\n FULL_SCREEN: 'Fullskjerm',\n THUMBS: 'Miniatyrbilder',\n DOWNLOAD: 'Last ned',\n SHARE: 'Del',\n ZOOM: 'Zoom'\n };\n\n $.fancybox.defaults.lang = 'no';\n }\n\n // Initialize fancybox for old controls\n $().fancybox({\n selector: \"a[rel^='lightbox'], a[rel^='fancybox']\",\n loop: true,\n buttons: [\n 'slideShow',\n 'close'\n ],\n caption: function() {\n var $elem = $(this);\n var caption = ($elem.data('caption') ||\n $elem.attr('data-fancybox-description') ||\n $elem.attr('fancyboxtext') ||\n $elem.attr('title') ||\n $elem.attr('alt') ||\n '').trim();\n return caption;\n }\n });\n }\n})(window, jQuery);"],"names":["w","$","fancybox","globalSettings","language","defaults","i18n","CLOSE","NEXT","PREV","ERROR","PLAY_START","PLAY_STOP","FULL_SCREEN","THUMBS","DOWNLOAD","SHARE","ZOOM","lang","selector","loop","buttons","caption","$elem","this","data","attr","trim","window","jQuery"],"mappings":"CAAA,SAAUA,EAAGC,GACiB,iBAAfA,EAAEC,UAAwC,OAAfD,EAAEC,WACF,IAA9BF,EAAEG,eAAeC,WACjBH,EAAEC,SAASG,SAASC,KAAS,GAAI,CAC7BC,MAAO,OACPC,KAAM,QACNC,KAAM,QACNC,MAAO,8EACPC,WAAY,yBACZC,UAAW,yBACXC,YAAa,aACbC,OAAQ,iBACRC,SAAU,WACVC,MAAO,MACPC,KAAM,QAGVhB,EAAEC,SAASG,SAASa,KAAO,MAI/BjB,IAAIC,SAAS,CACTiB,SAAU,yCACVC,MAAM,EACNC,QAAS,CACL,YACA,SAEJC,QAAS,WACL,IAAIC,EAAQtB,EAAEuB,MAOd,OANeD,EAAME,KAAK,YACtBF,EAAMG,KAAK,8BACXH,EAAMG,KAAK,iBACXH,EAAMG,KAAK,UACXH,EAAMG,KAAK,QACX,IAAIC,WAnCxB,CAwCGC,OAAQC"}