\n
\n
\n \n \n ').concat(cookie.label?cookie.label:"","\n \n ").concat(cookie.description?"
".concat(cookie.description,"
"):"","\n
");}},config.options);this.opened=false;this.acceptedCookies=getCookie("cookie-accepted")==="accepted";this.optionalCookies={};this.optionalCookiesByName=[];config.optionalCookies.forEach(function(ck){var cookieName=ck.cookieName||"cookie-".concat(ck.name);var savedCookie=getCookie(cookieName);var cookie=_objectSpread({},ck,{cookieName:cookieName,accepted:savedCookie===_this.options.revokeValue?false:savedCookie===_this.options.acceptValue||ck.accepted});!savedCookie&&cookie.accepted&&setCookie(cookie.cookieName,_this.options.acceptValue,_this.options.lifetime,_this.options.domain);_this.optionalCookies[cookie.name]=cookie;_this.optionalCookiesByName.push(cookie.name);cookie.accepted?cookie.onAccept&&cookie.onAccept():cookie.onRevoke&&cookie.onRevoke();});}
CaptchaCallback=function(){$('.g-recaptcha').each(function(){var $this=$(this);grecaptcha.render(this,{'sitekey':$this.data('sitekey'),'stoken':$this.data('stoken')});});};recaptchaV2CurrentIndex=0;CaptchaV2Submit=function(token){var $form=$('#recaptcha_'+recaptchaV2CurrentIndex).closest('form');$form.find('input[name="g-recaptcha-response"]').val(token);$form.submit();}
CaptchaV2Callback=function(){$('.g-recaptcha').closest('form').submit(function(){var $form=$(this);recaptchaV2CurrentIndex=$form.find('.g-recaptcha').data('index');if($form.find('input[name="g-recaptcha-response"]').val()!=''){return true;}
grecaptcha.execute(recaptchaV2CurrentIndex);return false;});}
if(moduleParams.autoSwitchDevice&&moduleParams.status&&moduleParams.isV16&&$.browser.desktop){function checkWidth(){if((window.innerWidth<768&&!moduleParams.mobileOn)||(window.innerWidth>769&&moduleParams.mobileOn)){$(window).unbind('resize');$.get("/ajax.php?page=switchDevice",function(){}).done(function(){$('HTML').css({'background-image':'url("/images/loading.gif")','background-repeat':'no-repeat','background-position':'center center','background-color':'white!important','height':'100%'});$('BODY').fadeOut('slow');}).always(function(){setTimeout(function(){location.reload(true);},400);});}}
$(window).resize(checkWidth);$(window).trigger('resize');}
if(moduleParams.mobileOn&&moduleParams.pwaEnabled){if('serviceWorker'in navigator){navigator.serviceWorker.register('js/service-worker.js').then(function(registration){console.log('Registration successful, scope is:',registration.scope);}).catch(function(error){console.log('Service worker registration failed, error:',error);});}}
if(moduleParams.isSnapchatiOs){function getCookie(cname){var name=cname+"=";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.split(';');for(var i=0;i