1/*! js-cookie v3.0.0-rc.0 | MIT */ 2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,function(){var r=e.Cookies,n=e.Cookies=t();n.noConflict=function(){return e.Cookies=r,n}}())}(this,function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var t={read:function(e){return e.replace(/%3B/g,";")},write:function(e){return e.replace(/;/g,"%3B")}};return function r(n,i){function o(r,o,u){if("undefined"!=typeof document){"number"==typeof(u=e({},i,u)).expires&&(u.expires=new Date(Date.now()+864e5*u.expires)),u.expires&&(u.expires=u.expires.toUTCString()),r=t.write(r).replace(/=/g,"%3D"),o=n.write(String(o),r);var c="";for(var f in u)u[f]&&(c+="; "+f,!0!==u[f]&&(c+="="+u[f].split(";")[0]));return document.cookie=r+"="+o+c}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],i={},o=0;o<r.length;o++){var u=r[o].split("="),c=u.slice(1).join("="),f=t.read(u[0]).replace(/%3D/g,"=");if(i[f]=n.read(c,f),e===f)break}return e?i[e]:i}},remove:function(t,r){o(t,"",e({},r,{expires:-1}))},withAttributes:function(t){return r(this.converter,e({},this.attributes,t))},withConverter:function(t){return r(e({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(n)}})}(t,{path:"/"})}); 3 4 5// Analytics 6 7(function () { 8 // only enable on prod 9 let host = window.location.host; 10 const sl_hosts = ["simplelogin.io", "www.simplelogin.io", "simplelogin.fr", 11 "www.simplelogin.fr", "simplelogin.co", "www.simplelogin.co"]; 12 13 if (!sl_hosts.includes(host)) { 14 console.log("Analytics is only be enabled in prod"); 15 return; 16 } 17 18 if (Cookies.get('analytics-ignore') === 't') { 19 console.log("Analytics is disabled"); 20 return; 21 } 22 23 console.log("init Analytics"); 24 25 // Plausible 26 // <script async defer data-domain="simplelogin.io" src="https://plausible.simplelogin.io/js/index.js"></script> 27 var plausibleScript = document.createElement('script'); 28 plausibleScript.defer = 1; 29 plausibleScript.async = 1; 30 plausibleScript.dataset.domain = "simplelogin.io"; 31 plausibleScript.src = 'https://plausible.simplelogin.io/js/index.js'; 32 33 var ins = document.getElementsByTagName('script')[0]; 34 ins.parentNode.insertBefore(plausibleScript, ins) 35 36 37 })(); 38 39 // END Analytics 40
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.