;(function($){"use strict";ips.controller.register('gallery.front.global.nsfw',{initialize(){this.on('click','.ipsNsfwOverlay button',this.removeOverlays);},removeOverlays(e){let expires=new Date();expires.setDate(expires.getDate()+365);ips.utils.cookie.set('nsfwImageOptIn',true,expires.toUTCString());$('.ipsNsfwOverlay').fadeOut(500,function(){this.remove()});},});}(jQuery));;