(function(e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e){function n(e){return u.raw?e:encodeURIComponent(e)}function r(e){return u.raw?e:decodeURIComponent(e)}function i(e){return n(u.json?JSON.stringify(e):String(e))}function s(e){if(e.indexOf('"')===0){e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{e=decodeURIComponent(e.replace(t," "));return u.json?JSON.parse(e):e}catch(n){}}function o(t,n){var r=u.raw?t:s(t);return e.isFunction(n)?n(r):r}var t=/\+/g;var u=e.cookie=function(t,s,a){if(s!==undefined&&!e.isFunction(s)){a=e.extend({},u.defaults,a);if(typeof a.expires==="number"){var f=a.expires,l=a.expires=new Date;l.setTime(+l+f*864e5)}return document.cookie=[n(t),"=",i(s),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}var c=t?undefined:{};var h=document.cookie?document.cookie.split("; "):[];for(var p=0,d=h.length;pread about them here. To use the website as intended please...',cookieAnalyticsMessage:"We use cookies, just to track visits to our website, we store no personal details.",cookieErrorMessage:"We're sorry, this feature places cookies in your browser and has been disabled.
To continue using this functionality, please",cookieWhatAreTheyLink:"http://www.allaboutcookies.org/",cookieDisable:"",cookieExpires:365,cookieAcceptButtonText:"ACCEPT COOKIES",cookieDeclineButtonText:"DECLINE COOKIES",cookieResetButtonText:"RESET COOKIES FOR THIS WEBSITE",cookieWhatAreLinkText:"What are cookies?",cookieNotificationLocationBottom:false,cookiePolicyPage:false,cookiePolicyPageMessage:"Please read the information below and then choose from the following options",cookieDiscreetLink:false,cookieDiscreetReset:false,cookieDiscreetLinkText:"Cookies?",cookieDiscreetPosition:"topleft",cookieNoMessage:false,cookieDomain:""};var t=e.extend(n,t);var r=n.cookieMessage.replace("{{cookiePolicyLink}}",n.cookiePolicyLink);n.cookieMessage='We use cookies on this website, you can read about them here. To use the website as intended please...';var i=t.cookiePolicyLink;var s=t.cookieCutter;var o=t.cookieCutterDeclineOnly;var u=t.cookieAnalytics;var a=t.cookieDeclineButton;var f=t.cookieAcceptButton;var l=t.cookieResetButton;var c=t.cookieOverlayEnabled;var h=t.cookiePolicyLink;var p=r;var d=t.cookieAnalyticsMessage;var v=t.cookieErrorMessage;var m=t.cookieDisable;var g=t.cookieWhatAreTheyLink;var y=t.cookieExpires;var b=t.cookieAcceptButtonText;var w=t.cookieDeclineButtonText;var E=t.cookieResetButtonText;var S=t.cookieWhatAreLinkText;var x=t.cookieNotificationLocationBottom;var T=t.cookiePolicyPage;var N=t.cookiePolicyPageMessage;var C=t.cookieDiscreetLink;var k=t.cookieDiscreetReset;var L=t.cookieDiscreetLinkText;var A=t.cookieDiscreetPosition;var O=t.cookieNoMessage;var M=e.cookie("cc_cookie_accept")=="cc_cookie_accept";e.cookieAccepted=function(){return M};var _=e.cookie("cc_cookie_decline")=="cc_cookie_decline";e.cookieDeclined=function(){return _};if(f){var D=' '+b+" "}else{var D=""}if(a){var P=' '+w+" "}else{var P=""}if(c){var H="cc-overlay"}else{var H=""}if(x||A=="bottomright"||A=="bottomleft"){var B=true}else{var B=false}if(M||_){if(l&&k){if(B){e("body").append('
'+E+"
")}else{e("body").prepend('
'+E+"
")}if(A=="topleft"){e("div.cc-cookies").css("top","0");e("div.cc-cookies").css("left","0")}if(A=="topright"){e("div.cc-cookies").css("top","0");e("div.cc-cookies").css("right","0")}if(A=="bottomleft"){e("div.cc-cookies").css("bottom","0");e("div.cc-cookies").css("left","0")}if(A=="bottomright"){e("div.cc-cookies").css("bottom","0");e("div.cc-cookies").css("right","0")}}else if(l){if(B){e("body").append('
'+E+"
")}else{e("body").prepend('
'+E+"
")}}else{var l=""}}else{if(O&&!T){}else if(C&&!T){if(B){e("body").append('
'+L+"
")}else{e("body").prepend('
'+L+"
")}if(A=="topleft"){e("div.cc-cookies").css("top","0");e("div.cc-cookies").css("left","0")}if(A=="topright"){e("div.cc-cookies").css("top","0");e("div.cc-cookies").css("right","0")}if(A=="bottomleft"){e("div.cc-cookies").css("bottom","0");e("div.cc-cookies").css("left","0")}if(A=="bottomright"){e("div.cc-cookies").css("bottom","0");e("div.cc-cookies").css("right","0")}}else if(u){if(B){e("body").append('
'+d+D+P+''+S+"
")}else{e("body").prepend('
'+d+D+P+''+S+"
")}}if(T){if(B){e("body").append('
'+N+" "+' '+b+" "+' '+w+" "+"
")}else{e("body").prepend('
'+N+" "+' '+b+" "+' '+w+" "+"
")}}else if(!u&&!C){if(B){e("body").append('
'+p+D+P+"
")}else{e("body").prepend('
'+p+D+P+"
")}}}if(s&&!o&&(_||!M)){e(m).html('
'+v+' '+b+" "+"
")}if(s&&o&&_){e(m).html('
'+v+' '+b+" "+"
")}if(x&&!C){e("div.cc-cookies").css("top","auto");e("div.cc-cookies").css("bottom","0")}if(x&&C&&T){e("div.cc-cookies").css("top","auto");e("div.cc-cookies").css("bottom","0")}e(".cc-cookie-accept, .cc-cookie-decline").click(function(n){n.preventDefault();if(e(this).is("[href$=#decline]")){e.cookie("cc_cookie_accept",null,{path:"/"});e.cookie("cc_cookie_decline","cc_cookie_decline",{expires:y,path:"/"});if(t.cookieDomain){e.cookie("__utma",null,{domain:"."+t.cookieDomain,path:"/"});e.cookie("__utmb",null,{domain:"."+t.cookieDomain,path:"/"});e.cookie("__utmc",null,{domain:"."+t.cookieDomain,path:"/"});e.cookie("__utmz",null,{domain:"."+t.cookieDomain,path:"/"})}}else{e.cookie("cc_cookie_decline",null,{path:"/"});e.cookie("cc_cookie_accept","cc_cookie_accept",{expires:y,path:"/"})}e(".cc-cookies").fadeOut(function(){location.reload()})});e("a.cc-cookie-reset").click(function(t){t.preventDefault();e.cookie("cc_cookie_accept",null,{path:"/"});e.cookie("cc_cookie_decline",null,{path:"/"});e(".cc-cookies").fadeOut(function(){location.reload()})});e(".cc-cookies-error a.cc-cookie-accept").click(function(t){t.preventDefault();e.cookie("cc_cookie_accept","cc_cookie_accept",{expires:y,path:"/"});e.cookie("cc_cookie_decline",null,{path:"/"});location.reload()})}})(jQuery)