All Downloads are FREE. Search and download functionalities are using the official Maven repository.

omi.unomi-web-tracker-wab.2.6.1.source-code.unomi-web-tracker.min.js Maven / Gradle / Ivy

!function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var t="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i=!1;function a(){i=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,o=e.length;t>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}function l(e){var t;i||a();for(var n=e.length,o=n%3,l="",c=[],u=16383,d=0,p=n-o;dp?p:d+u));return 1===o?(t=e[n-1],l+=r[t>>2],l+=r[t<<4&63],l+="=="):2===o&&(t=(e[n-2]<<8)+e[n-1],l+=r[t>>10],l+=r[t>>4&63],l+=r[t<<2&63],l+="="),c.push(l),c.join("")}function c(e,t,r,n,o){var i,a,s=8*o-n-1,l=(1<>1,u=-7,d=r?o-1:0,p=r?-1:1,h=e[t+d];for(d+=p,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function u(e,t,r,n,o,i){var a,s,l,c=8*i-o-1,u=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,f=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=f,s/=256,o-=8);for(a=a<0;e[r+h]=255&a,h+=f,a/=256,c-=8);e[r+h-f]|=128*g}var d={}.toString,p=Array.isArray||function(e){return"[object Array]"==d.call(e)};function h(){return g.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(e,t){if(h()=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return 0|e}function k(e){return!(null==e||!e._isBuffer)}function w(e,t){if(k(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(e).length;default:if(n)return Z(e).length;t=(""+t).toLowerCase(),n=!0}}function E(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,r);case"utf8":case"utf-8":return L(this,t,r);case"ascii":return _(this,t,r);case"latin1":case"binary":return B(this,t,r);case"base64":return W(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function C(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function P(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=g.from(t,n)),k(t))return 0===t.length?-1:T(e,t,r,n,o);if("number"==typeof t)return t&=255,g.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):T(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function T(e,t,r,n,o){var i,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;is&&(r=s-l),i=r;i>=0;i--){for(var d=!0,p=0;po&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function W(e,t,r){return 0===t&&r===e.length?l(e):l(e.slice(t,r))}function L(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o239?4:c>223?3:c>191?2:1;if(o+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=d}return function(e){var t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},g.prototype.compare=function(e,t,r,n,o){if(!k(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),l=this.slice(n,o),c=e.slice(t,r),u=0;uo)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return A(this,e,t,r);case"utf8":case"utf-8":return D(this,e,t,r);case"ascii":return I(this,e,t,r);case"latin1":case"binary":return x(this,e,t,r);case"base64":return R(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function _(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;on)&&(r=n);for(var o="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function z(e,t,r,n,o,i){if(!k(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function F(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o>>8*(n?o:1-o)}function H(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o>>8*(n?o:3-o)&255}function j(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Y(e,t,r,n,o){return o||j(e,0,r,4),u(e,t,r,n,23,4),r+4}function V(e,t,r,n,o){return o||j(e,0,r,8),u(e,t,r,n,52,8),r+8}g.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)n+=this[e+--t]*o;return n},g.prototype.readUInt8=function(e,t){return t||G(e,1,this.length),this[e]},g.prototype.readUInt16LE=function(e,t){return t||G(e,2,this.length),this[e]|this[e+1]<<8},g.prototype.readUInt16BE=function(e,t){return t||G(e,2,this.length),this[e]<<8|this[e+1]},g.prototype.readUInt32LE=function(e,t){return t||G(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},g.prototype.readUInt32BE=function(e,t){return t||G(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},g.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||G(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},g.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||G(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},g.prototype.readInt8=function(e,t){return t||G(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},g.prototype.readInt16LE=function(e,t){t||G(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},g.prototype.readInt16BE=function(e,t){t||G(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},g.prototype.readInt32LE=function(e,t){return t||G(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},g.prototype.readInt32BE=function(e,t){return t||G(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},g.prototype.readFloatLE=function(e,t){return t||G(e,4,this.length),c(this,e,!0,23,4)},g.prototype.readFloatBE=function(e,t){return t||G(e,4,this.length),c(this,e,!1,23,4)},g.prototype.readDoubleLE=function(e,t){return t||G(e,8,this.length),c(this,e,!0,52,8)},g.prototype.readDoubleBE=function(e,t){return t||G(e,8,this.length),c(this,e,!1,52,8)},g.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||z(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+r},g.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,1,255,0),g.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},g.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,65535,0),g.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},g.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,65535,0),g.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},g.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,4294967295,0),g.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},g.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,4294967295,0),g.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},g.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);z(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+r},g.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);z(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},g.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,1,127,-128),g.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},g.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,32767,-32768),g.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},g.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,32767,-32768),g.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},g.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,2147483647,-2147483648),g.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},g.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),g.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},g.prototype.writeFloatLE=function(e,t,r){return Y(this,e,t,!0,r)},g.prototype.writeFloatBE=function(e,t,r){return Y(this,e,t,!1,r)},g.prototype.writeDoubleLE=function(e,t,r){return V(this,e,t,!0,r)},g.prototype.writeDoubleBE=function(e,t,r){return V(this,e,t,!1,r)},g.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(i<1e3||!g.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function K(e){return function(e){var t,r,s,l,c,u;i||a();var d=e.length;if(d%4>0)throw new Error("Invalid string. Length must be a multiple of 4");c="="===e[d-2]?2:"="===e[d-1]?1:0,u=new o(3*d/4-c),s=c>0?d-4:d;var p=0;for(t=0,r=0;t>16&255,u[p++]=l>>8&255,u[p++]=255&l;return 2===c?(l=n[e.charCodeAt(t)]<<2|n[e.charCodeAt(t+1)]>>4,u[p++]=255&l):1===c&&(l=n[e.charCodeAt(t)]<<10|n[e.charCodeAt(t+1)]<<4|n[e.charCodeAt(t+2)]>>2,u[p++]=l>>8&255,u[p++]=255&l),u}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function X(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Q(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var $=class{constructor(){}getAll(){return this.data}};const ee=$;var te=class extends ee{constructor(){super(),this.data=[" YLT","^Aether","^Amazon Simple Notification Service Agent$","^Amazon-Route53-Health-Check-Service","^b0t$","^bluefish ","^Calypso v\\/","^COMODO DCV","^Corax","^DangDang","^DavClnt","^DHSH","^docker\\/[0-9]","^Expanse","^FDM ","^git\\/","^Goose\\/","^Grabber","^Gradle\\/","^HTTPClient\\/","^HTTPing","^Java\\/","^Jeode\\/","^Jetty\\/","^Mail\\/","^Mget","^Microsoft URL Control","^Mikrotik\\/","^Netlab360","^NG\\/[0-9\\.]","^NING\\/","^npm\\/","^Nuclei","^PHP-AYMAPI\\/","^PHP\\/","^pip\\/","^pnpm\\/","^RMA\\/","^Ruby|Ruby\\/[0-9]","^Swurl ","^TLS tester ","^twine\\/","^ureq","^VSE\\/[0-9]","^WordPress\\.com","^XRL\\/[0-9]","^ZmEu","008\\/","13TABS","192\\.comAgent","2GDPR\\/","2ip\\.ru","404enemy","7Siters","80legs","a3logics\\.in","A6-Indexer","Abonti","Aboundex","aboutthedomain","Accoona-AI-Agent","acebookexternalhit\\/","acoon","acrylicapps\\.com\\/pulp","Acunetix","AdAuth\\/","adbeat","AddThis","ADmantX","AdminLabs","adressendeutschland","adreview\\/","adscanner","adstxt-worker","Adstxtaggregator","adstxt\\.com","Adyen HttpClient","AffiliateLabz\\/","affilimate-puppeteer","agentslug","AHC","aihit","aiohttp\\/","Airmail","akka-http\\/","akula\\/","alertra","alexa site audit","Alibaba\\.Security\\.Heimdall","Alligator","allloadin","AllSubmitter","alyze\\.info","amagit","Anarchie","AndroidDownloadManager","Anemone","AngleSharp","annotate_google","Anthill","Anturis Agent","Ant\\.com","AnyEvent-HTTP\\/","Apache Ant\\/","Apache Droid","Apache OpenOffice","Apache-HttpAsyncClient","Apache-HttpClient","ApacheBench","Apexoo","apimon\\.de","APIs-Google","AportWorm\\/","AppBeat\\/","AppEngine-Google","AppleSyndication","Aprc\\/[0-9]","Arachmo","arachnode","Arachnophilia","aria2","Arukereso","asafaweb","Asana\\/","Ask Jeeves","AskQuickly","ASPSeek","Asterias","Astute","asynchttp","Attach","attohttpc","autocite","AutomaticWPTester","Autonomy","awin\\.com","AWS Security Scanner","axios\\/","a\\.pr-cy\\.ru","B-l-i-t-z-B-O-T","Backlink-Ceck","backlink-check","BacklinkHttpStatus","BackStreet","BackupLand","BackWeb","Bad-Neighborhood","Badass","baidu\\.com","Bandit","basicstate","BatchFTP","Battleztar Bazinga","baypup\\/","BazQux","BBBike","BCKLINKS","BDFetch","BegunAdvertising","Bewica-security-scan","Bidtellect","BigBozz","Bigfoot","biglotron","BingLocalSearch","BingPreview","binlar","biNu image cacher","Bitacle","Bitrix link preview","biz_Directory","BKCTwitterUnshortener\\/","Black Hole","Blackboard Safeassign","BlackWidow","BlockNote\\.Net","BlogBridge","Bloglines","Bloglovin","BlogPulseLive","BlogSearch","Blogtrottr","BlowFish","boitho\\.com-dc","Boost\\.Beast","BPImageWalker","Braintree-Webhooks","Branch Metrics API","Branch-Passthrough","Brandprotect","BrandVerity","Brandwatch","Brodie\\/","Browsershots","BUbiNG","Buck\\/","Buddy","BuiltWith","Bullseye","BunnySlippers","Burf Search","Butterfly\\/","BuzzSumo","CAAM\\/[0-9]","CakePHP","Calculon","Canary%20Mail","CaretNail","catexplorador","CC Metadata Scaper","Cegbfeieh","censys","centuryb.o.t9[at]gmail.com","Cerberian Drtrs","CERT\\.at-Statistics-Survey","cf-facebook","cg-eye","changedetection","ChangesMeter","Charlotte","CheckHost","checkprivacy","CherryPicker","ChinaClaw","Chirp\\/","chkme\\.com","Chlooe","Chromaxa","CirrusExplorer","CISPA Vulnerability Notification","CISPA Web Analyser","Citoid","CJNetworkQuality","Clarsentia","clips\\.ua\\.ac\\.be","Cloud mapping","CloudEndure","CloudFlare-AlwaysOnline","Cloudflare-Healthchecks","Cloudinary","cmcm\\.com","coccoc","cognitiveseo","ColdFusion","colly -","CommaFeed","Commons-HttpClient","commonscan","contactbigdatafr","contentkingapp","Contextual Code Sites Explorer","convera","CookieReports","copyright sheriff","CopyRightCheck","Copyscape","cortex\\/","Cosmos4j\\.feedback","Covario-IDS","Craw\\/","Crescent","Criteo","Crowsnest","CSHttp","CSSCheck","Cula\\/","curb","Curious George","curl","cuwhois\\/","cybo\\.com","DAP\\/NetHTTP","DareBoost","DatabaseDriverMysqli","DataCha0s","Datafeedwatch","Datanyze","DataparkSearch","dataprovider","DataXu","Daum(oa)?[ \\/][0-9]","dBpoweramp","ddline","deeris","delve\\.ai","Demon","DeuSu","developers\\.google\\.com\\/\\+\\/web\\/snippet\\/","Devil","Digg","Digincore","DigitalPebble","Dirbuster","Discourse Forum Onebox","Dispatch\\/","Disqus\\/","DittoSpyder","dlvr","DMBrowser","DNSPod-reporting","docoloc","Dolphin http client","DomainAppender","DomainLabz","Domains Project\\/","Donuts Content Explorer","dotMailer content retrieval","dotSemantic","downforeveryoneorjustme","Download Wonder","downnotifier","DowntimeDetector","Drip","drupact","Drupal \\(\\+http:\\/\\/drupal\\.org\\/\\)","DTS Agent","dubaiindex","DuplexWeb-Google","DynatraceSynthetic","EARTHCOM","Easy-Thumb","EasyDL","Ebingbong","ec2linkfinder","eCairn-Grabber","eCatch","ECCP","eContext\\/","Ecxi","EirGrabber","ElectricMonk","elefent","EMail Exractor","EMail Wolf","EmailWolf","Embarcadero","Embed PHP Library","Embedly","endo\\/","europarchive\\.org","evc-batch","EventMachine HttpClient","Everwall Link Expander","Evidon","Evrinid","ExactSearch","ExaleadCloudview","Excel\\/","exif","ExoRank","Exploratodo","Express WebPictures","Extreme Picture Finder","EyeNetIE","ezooms","facebookexternalhit","facebookexternalua","facebookplatform","fairshare","Faraday v","fasthttp","Faveeo","Favicon downloader","faviconarchive","faviconkit","FavOrg","Feed Wrangler","Feedable\\/","Feedbin","FeedBooster","FeedBucket","FeedBunch\\/","FeedBurner","feeder","Feedly","FeedshowOnline","Feedshow\\/","Feedspot","FeedViewer\\/","Feedwind\\/","FeedZcollector","feeltiptop","Fetch API","Fetch\\/[0-9]","Fever\\/[0-9]","FHscan","Fiery%20Feeds","Filestack","Fimap","findlink","findthatfile","FlashGet","FlipboardBrowserProxy","FlipboardProxy","FlipboardRSS","Flock\\/","Florienzh\\/","fluffy","Flunky","flynxapp","forensiq","FoundSeoTool","free thumbnails","Freeuploader","FreshRSS","Funnelback","Fuzz Faster U Fool","G-i-g-a-b-o-t","g00g1e\\.net","ganarvisitas","gdnplus\\.com","geek-tools","Genieo","GentleSource","GetCode","Getintent","GetLinkInfo","getprismatic","GetRight","getroot","GetURLInfo\\/","GetWeb","Geziyor","Ghost Inspector","GigablastOpenSource","GIS-LABS","github-camo","GitHub-Hookshot","github\\.com","Go http package","Go [\\d\\.]* package http","Go!Zilla","Go-Ahead-Got-It","Go-http-client","go-mtasts\\/","gobyus","Gofeed","gofetch","Goldfire Server","GomezAgent","gooblog","Goodzer\\/","Google AppsViewer","Google Desktop","Google favicon","Google Keyword Suggestion","Google Keyword Tool","Google Page Speed Insights","Google PP Default","Google Search Console","Google Web Preview","Google-Ads-Creatives-Assistant","Google-Ads-Overview","Google-Adwords","Google-Apps-Script","Google-Calendar-Importer","Google-HotelAdsVerifier","Google-HTTP-Java-Client","Google-Podcast","Google-Publisher-Plugin","Google-Read-Aloud","Google-SearchByImage","Google-Site-Verification","Google-SMTP-STS","Google-speakr","Google-Structured-Data-Testing-Tool","Google-Transparency-Report","google-xrawler","Google-Youtube-Links","GoogleDocs","GoogleHC\\/","GoogleProber","GoogleProducer","GoogleSites","Gookey","GoSpotCheck","gosquared-thumbnailer","Gotit","GoZilla","grabify","GrabNet","Grafula","Grammarly","GrapeFX","GreatNews","Gregarius","GRequests","grokkit","grouphigh","grub-client","gSOAP\\/","GT::WWW","GTmetrix","GuzzleHttp","gvfs\\/","HAA(A)?RTLAND http client","Haansoft","hackney\\/","Hadi Agent","HappyApps-WebCheck","Hardenize","Hatena","Havij","HaxerMen","HeadlessChrome","HEADMasterSEO","HeartRails_Capture","help@dataminr\\.com","heritrix","Hexometer","historious","hkedcity","hledejLevne\\.cz","Hloader","HMView","Holmes","HonesoSearchEngine","HootSuite Image proxy","Hootsuite-WebFeed","hosterstats","HostTracker","ht:\\/\\/check","htdig","HTMLparser","htmlyse","HTTP Banner Detection","http-get","HTTP-Header-Abfrage","http-kit","http-request\\/","HTTP-Tiny","HTTP::Lite","http:\\/\\/www.neomo.de\\/","HttpComponents","httphr","HTTPie","HTTPMon","httpRequest","httpscheck","httpssites_power","httpunit","HttpUrlConnection","http\\.rb\\/","HTTP_Compression_Test","http_get","http_request2","http_requester","httrack","huaweisymantec","HubSpot ","HubSpot-Link-Resolver","Humanlinks","i2kconnect\\/","Iblog","ichiro","Id-search","IdeelaborPlagiaat","IDG Twitter Links Resolver","IDwhois\\/","Iframely","igdeSpyder","iGooglePortal","IlTrovatore","Image Fetch","Image Sucker","ImageEngine\\/","ImageVisu\\/","Imagga","imagineeasy","imgsizer","InAGist","inbound\\.li parser","InDesign%20CC","Indy Library","InetURL","infegy","infohelfer","InfoTekies","InfoWizards Reciprocal Link","inpwrd\\.com","instabid","Instapaper","Integrity","integromedb","Intelliseek","InterGET","Internet Ninja","InternetSeer","internetVista monitor","internetwache","internet_archive","intraVnews","IODC","IOI","iplabel","ips-agent","IPS\\/[0-9]","IPWorks HTTP\\/S Component","iqdb\\/","Iria","Irokez","isitup\\.org","iskanie","isUp\\.li","iThemes Sync\\/","IZaBEE","iZSearch","JAHHO","janforman","Jaunt\\/","Java.*outbrain","javelin\\.io","Jbrofuzz","Jersey\\/","JetCar","Jigsaw","Jobboerse","JobFeed discovery","Jobg8 URL Monitor","jobo","Jobrapido","Jobsearch1\\.5","JoinVision Generic","JolokiaPwn","Joomla","Jorgee","JS-Kit","JungleKeyThumbnail","JustView","Kaspersky Lab CFR link resolver","Kelny\\/","Kerrigan\\/","KeyCDN","Keyword Density","Keywords Research","khttp\\/","KickFire","KimonoLabs\\/","Kml-Google","knows\\.is","KOCMOHABT","kouio","kube-probe","kubectl","kulturarw3","KumKie","Larbin","Lavf\\/","leakix\\.net","LeechFTP","LeechGet","letsencrypt","Lftp","LibVLC","LibWeb","Libwhisker","libwww","Licorne","Liferea\\/","Lighthouse","Lightspeedsystems","Likse","limber\\.io","Link Valet","LinkAlarm\\/","LinkAnalyser","linkCheck","linkdex","LinkExaminer","linkfluence","linkpeek","LinkPreview","LinkScan","LinksManager","LinkTiger","LinkWalker","link_thumbnailer","Lipperhey","Litemage_walker","livedoor ScreenShot","LoadImpactRload","localsearch-web","LongURL API","longurl-r-package","looid\\.com","looksystems\\.net","ltx71","lua-resty-http","Lucee \\(CFML Engine\\)","Lush Http Client","lwp-request","lwp-trivial","LWP::Simple","lycos","LYT\\.SR","L\\.webis","mabontland","MacOutlook\\/","Mag-Net","MagpieRSS","Mail::STS","MailChimp","Mail\\.Ru","Majestic12","makecontact\\/","Mandrill","MapperCmd","marketinggrader","MarkMonitor","MarkWatch","Mass Downloader","masscan\\/","Mata Hari","mattermost","Mediametric","Mediapartners-Google","mediawords","MegaIndex\\.ru","MeltwaterNews","Melvil Rawi","MemGator","Metaspinner","MetaURI","MFC_Tear_Sample","Microsearch","Microsoft Data Access","Microsoft Office","Microsoft Outlook","Microsoft Windows Network Diagnostics","Microsoft-WebDAV-MiniRedir","Microsoft\\.Data\\.Mashup","MIDown tool","MIIxpc","Mindjet","Miniature\\.io","Miniflux","mio_httpc","Miro-HttpClient","Mister PiX","mixdata dot com","mixed-content-scan","mixnode","Mnogosearch","mogimogi","Mojeek","Mojolicious \\(Perl\\)","monitis","Monitority\\/","Monit\\/","montastic","MonTools","Moreover","Morfeus Fucking Scanner","Morning Paper","MovableType","mowser","Mrcgiguy","Mr\\.4x3 Powered","MS Web Services Client Protocol","MSFrontPage","mShots","MuckRack\\/","muhstik-scan","MVAClient","MxToolbox\\/","myseosnapshot","nagios","Najdi\\.si","Name Intelligence","NameFo\\.com","Nameprotect","nationalarchives","Navroad","NearSite","Needle","Nessus","Net Vampire","NetAnts","NETCRAFT","NetLyzer","NetMechanic","NetNewsWire","Netpursual","netresearch","NetShelter ContentScan","Netsparker","NetSystemsResearch","nettle","NetTrack","Netvibes","NetZIP","Neustar WPM","NeutrinoAPI","NewRelicPinger","NewsBlur .*Finder","NewsGator","newsme","newspaper\\/","Nexgate Ruby Client","NG-Search","nghttp2","Nibbler","NICErsPRO","NihilScio","Nikto","nineconnections","NLNZ_IAHarvester","Nmap Scripting Engine","node-fetch","node-superagent","node-urllib","Nodemeter","NodePing","node\\.io","nominet\\.org\\.uk","nominet\\.uk","Norton-Safeweb","Notifixious","notifyninja","NotionEmbedder","nuhk","nutch","Nuzzel","nWormFeedFinder","nyawc\\/","Nymesis","NYU","Observatory\\/","Ocelli\\/","Octopus","oegp","Offline Explorer","Offline Navigator","OgScrper","okhttp","omgili","OMSC","Online Domain Tools","Open Source RSS","OpenCalaisSemanticProxy","Openfind","OpenLinkProfiler","Openstat\\/","OpenVAS","OPPO A33","Optimizer","Orbiter","OrgProbe\\/","orion-semantics","Outlook-Express","Outlook-iOS","Owler","Owlin","ownCloud News","ow\\.ly","OxfordCloudService","page scorer","Page Valet","page2rss","PageFreezer","PageGrabber","PagePeeker","PageScorer","Pagespeed\\/","PageThing","page_verifier","Panopta","panscient","Papa Foto","parsijoo","Pavuk","PayPal IPN","pcBrowser","Pcore-HTTP","PDF24 URL To PDF","Pearltrees","PECL::HTTP","peerindex","Peew","PeoplePal","Perlu -","PhantomJS Screenshoter","PhantomJS\\/","Photon\\/","php-requests","phpservermon","Pi-Monster","Picscout","Picsearch","PictureFinder","Pimonster","Pingability","PingAdmin\\.Ru","Pingdom","Pingoscope","PingSpot","ping\\.blo\\.gs","pinterest\\.com","Pixray","Pizilla","Plagger\\/","Pleroma ","Ploetz \\+ Zeller","Plukkie","plumanalytics","PocketImageCache","PocketParser","Pockey","PodcastAddict\\/","POE-Component-Client-HTTP","Polymail\\/","Pompos","Porkbun","Port Monitor","postano","postfix-mta-sts-resolver","PostmanRuntime","postplanner\\.com","PostPost","postrank","PowerPoint\\/","Prebid","Prerender","Priceonomics Analysis Engine","PrintFriendly","PritTorrent","Prlog","probethenet","Project ?25499","Project-Resonance","prospectb2b","Protopage","ProWebWalker","proximic","PRTG Network Monitor","pshtt, https scanning","PTST ","PTST\\/[0-9]+","Pump","Python-httplib2","python-httpx","python-requests","Python-urllib","Qirina Hurdler","QQDownload","QrafterPro","Qseero","Qualidator","QueryN Metasearch","queuedriver","quic-go-HTTP\\/","QuiteRSS","Quora Link Preview","Qwantify","Radian6","RadioPublicImageResizer","Railgun\\/","RankActive","RankFlex","RankSonicSiteAuditor","RapidLoad\\/","Re-re Studio","ReactorNetty","Readability","RealDownload","RealPlayer%20Downloader","RebelMouse","Recorder","RecurPost\\/","redback\\/","ReederForMac","Reeder\\/","ReGet","RepoMonkey","request\\.js","reqwest\\/","ResponseCodeTest","RestSharp","Riddler","Rival IQ","Robosourcer","Robozilla","ROI Hunter","RPT-HTTPClient","RSSMix\\/","RSSOwl","RyowlEngine","safe-agent-scanner","SalesIntelligent","Saleslift","SAP NetWeaver Application Server","SauceNAO","SBIder","sc-downloader","scalaj-http","Scamadviser-Frontend","ScanAlert","scan\\.lol","Scoop","scooter","ScopeContentAG-HTTP-Client","ScoutJet","ScoutURLMonitor","ScrapeBox Page Scanner","Scrapy","Screaming","ScreenShotService","Scrubby","Scrutiny\\/","Search37","searchenginepromotionhelp","Searchestate","SearchExpress","SearchSight","SearchWP","search\\.thunderstone","Seeker","semanticdiscovery","semanticjuice","Semiocast HTTP client","Semrush","Sendsay\\.Ru","sentry\\/","SEO Browser","Seo Servis","seo-nastroj\\.cz","seo4ajax","Seobility","SEOCentro","SeoCheck","SEOkicks","SEOlizer","Seomoz","SEOprofiler","seoscanners","SEOsearch","seositecheckup","SEOstats","servernfo","sexsearcher","Seznam","Shelob","Shodan","Shoppimon","ShopWiki","ShortLinkTranslate","shortURL lengthener","shrinktheweb","Sideqik","Siege","SimplePie","SimplyFast","Siphon","SISTRIX","Site Sucker","Site-Shot\\/","Site24x7","SiteBar","Sitebeam","Sitebulb\\/","SiteCondor","SiteExplorer","SiteGuardian","Siteimprove","SiteIndexed","Sitemap(s)? Generator","SitemapGenerator","SiteMonitor","Siteshooter B0t","SiteSnagger","SiteSucker","SiteTruth","Sitevigil","sitexy\\.com","SkypeUriPreview","Slack\\/","sli-systems\\.com","slider\\.com","slurp","SlySearch","SmartDownload","SMRF URL Expander","SMUrlExpander","Snake","Snappy","SnapSearch","Snarfer\\/","SniffRSS","sniptracker","Snoopy","SnowHaze Search","sogou web","SortSite","Sottopop","sovereign\\.ai","SpaceBison","SpamExperts","Spammen","Spanner","spaziodati","SPDYCheck","Specificfeeds","speedy","SPEng","Spinn3r","spray-can","Sprinklr ","spyonweb","sqlmap","Sqlworm","Sqworm","SSL Labs","ssl-tools","StackRambler","Statastico\\/","Statically-","StatusCake","Steeler","Stratagems Kumo","Stripe\\/","Stroke\\.cz","StudioFACA","StumbleUpon","suchen","Sucuri","summify","SuperHTTP","Surphace Scout","Suzuran","swcd ","Symfony BrowserKit","Symfony2 BrowserKit","Synapse\\/","Syndirella\\/","SynHttpClient-Built","Sysomos","sysscan","Szukacz","T0PHackTeam","tAkeOut","Tarantula\\/","Taringa UGC","TarmotGezgin","tchelebi\\.io","techiaith\\.cymru","TelegramBot","Teleport","Telesoft","Telesphoreo","Telesphorep","Tenon\\.io","teoma","terrainformatica","Test Certificate Info","testuri","Tetrahedron","TextRazor Downloader","The Drop Reaper","The Expert HTML Source Viewer","The Intraformant","The Knowledge AI","theinternetrules","TheNomad","Thinklab","Thumbor","Thumbshots","ThumbSniper","timewe\\.net","TinEye","Tiny Tiny RSS","TLSProbe\\/","Toata","topster","touche\\.com","Traackr\\.com","tracemyfile","Trackuity","TrapitAgent","Trendiction","Trendsmap","trendspottr","truwoGPS","TryJsoup","TulipChain","Turingos","Turnitin","tweetedtimes","Tweetminster","Tweezler\\/","twibble","Twice","Twikle","Twingly","Twisted PageGetter","Typhoeus","ubermetrics-technologies","uclassify","UdmSearch","ultimate_sitemap_parser","unchaos","unirest-java","UniversalFeedParser","unshortenit","Unshorten\\.It","Untiny","UnwindFetchor","updated","updown\\.io daemon","Upflow","Uptimia","URL Verifier","Urlcheckr","URLitor","urlresolver","Urlstat","URLTester","UrlTrends Ranking Updater","URLy Warning","URLy\\.Warning","URL\\/Emacs","Vacuum","Vagabondo","VB Project","vBSEO","VCI","via ggpht\\.com GoogleImageProxy","Virusdie","visionutils","vkShare","VoidEYE","Voil","voltron","voyager\\/","VSAgent\\/","VSB-TUO\\/","Vulnbusters Meter","VYU2","w3af\\.org","W3C-checklink","W3C-mobileOK","W3C_Unicorn","WAC-OFU","WakeletLinkExpander","WallpapersHD","Wallpapers\\/[0-9]+","wangling","Wappalyzer","WatchMouse","WbSrch\\/","WDT\\.io","Web Auto","Web Collage","Web Enhancer","Web Fetch","Web Fuck","Web Pix","Web Sauger","Web spyder","Web Sucker","web-capture\\.net","Web-sniffer","Webalta","Webauskunft","WebAuto","WebCapture","WebClient\\/","webcollage","WebCookies","WebCopier","WebCorp","WebDataStats","WebDoc","WebEnhancer","WebFetch","WebFuck","WebGazer","WebGo IS","WebImageCollector","WebImages","WebIndex","webkit2png","WebLeacher","webmastercoffee","webmon ","WebPix","WebReaper","WebSauger","webscreenie","Webshag","Webshot","Website Quester","websitepulse agent","WebsiteQuester","Websnapr","WebSniffer","Webster","WebStripper","WebSucker","webtech\\/","WebThumbnail","Webthumb\\/","WebWhacker","WebZIP","WeLikeLinks","WEPA","WeSEE","wf84","Wfuzz\\/","wget","WhatCMS","WhatsApp","WhatsMyIP","WhatWeb","WhereGoes\\?","Whibse","WhoAPI\\/","WhoRunsCoinHive","Whynder Magnet","Windows-RSS-Platform","WinHttp-Autoproxy-Service","WinHTTP\\/","WinPodder","wkhtmlto","wmtips","Woko","Wolfram HTTPClient","woorankreview","WordPress\\/","WordupinfoSearch","Word\\/","worldping-api","wotbox","WP Engine Install Performance API","WP Rocket","wpif","wprecon\\.com survey","WPScan","wscheck","Wtrace","WWW-Collector-E","WWW-Mechanize","WWW::Document","WWW::Mechanize","WWWOFFLE","www\\.monitor\\.us","x09Mozilla","x22Mozilla","XaxisSemanticsClassifier","XenForo\\/","Xenu Link Sleuth","XING-contenttabreceiver","xpymep([0-9]?)\\.exe","Y!J-[A-Z][A-Z][A-Z]","Yaanb","yacy","Yahoo Link Preview","YahooCacheSystem","YahooMailProxy","YahooYSMcm","YandeG","Yandex(?!Search)","yanga","yeti","Yo-yo","Yoleo Consumer","yomins\\.com","yoogliFetchAgent","YottaaMonitor","Your-Website-Sucks","yourls\\.org","YoYs\\.net","YP\\.PL","Zabbix","Zade","Zao","Zauba","Zemanta Aggregator","Zend\\\\Http\\\\Client","Zend_Http_Client","Zermelo","Zeus ","zgrab","ZnajdzFoto","ZnHTTP","Zombie\\.js","Zoom\\.Mac","ZoteroTranslationServer","ZyBorg","[a-z0-9\\-_]*(bot|crawl|archiver|transcoder|spider|uptime|validator|fetcher|cron|checker|reader|extractor|monitoring|analyzer|scraper)"]}};const re=$;var ne=class extends re{constructor(){super(),this.data=["Safari.[\\d\\.]*","Firefox.[\\d\\.]*"," Chrome.[\\d\\.]*","Chromium.[\\d\\.]*","MSIE.[\\d\\.]","Opera\\/[\\d\\.]*","Mozilla.[\\d\\.]*","AppleWebKit.[\\d\\.]*","Trident.[\\d\\.]*","Windows NT.[\\d\\.]*","Android [\\d\\.]*","Macintosh.","Ubuntu","Linux","[ ]Intel","Mac OS X [\\d_]*","(like )?Gecko(.[\\d\\.]*)?","KHTML,","CriOS.[\\d\\.]*","CPU iPhone OS ([0-9_])* like Mac OS X","CPU OS ([0-9_])* like Mac OS X","iPod","compatible","x86_..","i686","x64","X11","rv:[\\d\\.]*","Version.[\\d\\.]*","WOW64","Win64","Dalvik.[\\d\\.]*"," \\.NET CLR [\\d\\.]*","Presto.[\\d\\.]*","Media Center PC","BlackBerry","Build","Opera Mini\\/\\d{1,2}\\.\\d{1,2}\\.[\\d\\.]*\\/\\d{1,2}\\.","Opera"," \\.NET[\\d\\.]*","cubot","; M bot","; CRONO","; B bot","; IDbot","; ID bot","; POWER BOT","OCTOPUS-CORE"]}};const oe=$;const ie=te,ae=ne,se=class extends oe{constructor(){super(),this.data=["USER-AGENT","X-OPERAMINI-PHONE-UA","X-DEVICE-USER-AGENT","X-ORIGINAL-USER-AGENT","X-SKYFIRE-PHONE","X-BOLT-PHONE-UA","DEVICE-STOCK-UA","X-UCBROWSER-DEVICE-UA","FROM","X-SCANNER"]}};var le=class{constructor(e,t,r){this._init(),this.request="object"==typeof e?e:{},this.compiledRegexList=this.compileRegex(this.crawlers.getAll(),"i"),this.compiledExclusions=this.compileRegex(this.exclusions.getAll(),"gi"),this.setHttpHeaders(t),this.userAgent=this.setUserAgent(r)}_init(){this.crawlers=new ie,this.headers=new se,this.exclusions=new ae}compileRegex(e,t){return new RegExp(e.join("|"),t)}setHttpHeaders(e){void 0!==e&&0!==Object.keys(e).length||(e=Object.keys(this.request).length?this.request.headers:{}),this.httpHeaders=e}setUserAgent(e){if(null==e||!e.length)for(const t of this.getUaHttpHeaders())Object.keys(this.httpHeaders).indexOf(t.toLowerCase())>=0&&(e+=this.httpHeaders[t.toLowerCase()]+" ");return e}getUaHttpHeaders(){return this.headers.getAll()}isCrawler(e){if(g.byteLength(e||"","utf8")>4096)return!1;var t=null==e?this.userAgent:e;if(0===(t=t.replace(this.compiledExclusions,"")).trim().length)return!1;var r=this.compiledRegexList.exec(t);return r&&(this.matches=r),null!==r&&!!r.length}getMatches(){return void 0!==this.matches?this.matches.length?this.matches[0]:null:{}}};const ce=le;var ue={Crawler:ce,middleware:e=>(t,r,n)=>{"function"==typeof e&&e.call(t,r),t.Crawler=new ce(t),n()}};function de(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return pe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pe(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:void 0,t=!navigator.cookieEnabled,r=!he.sessionID||""===he.sessionID,n=navigator.userAgent;if(n){var o=new ue.Crawler;n=o.isCrawler(navigator.userAgent)}t||r||n?document.addEventListener("DOMContentLoaded",(function(){he._executeFallback("navigator cookie disabled: "+t+", no sessionID: "+r+", web crawler detected: "+n)})):(he._registerCallback((function(){he.cxs.profileId&&he.setCookie(he.trackerProfileIdCookieName,he.cxs.profileId),he.cxs.profileId||he.removeCookie(he.trackerProfileIdCookieName),he.disableTrackedConditionsListeners||he._registerListenersForTrackedConditions()}),"Default tracker",0),document.addEventListener("DOMContentLoaded",(function(){he.DOMLoaded=!0,he._handleDigitalDataOverrides(e),he._checkUncompleteRegisteredEvents(),he._dispatchJSExperienceDisplayedEvents(),he._filterUnomiEvents(),he._processReferrer();var t=he.buildEvent("view",he.buildTargetPage(),he.buildSource(he.digitalData.site.siteInfo.siteID,"site"));t.flattenedProperties={},location.search&&(t.flattenedProperties.URLParameters=he.convertUrlParametersToObj(location.search)),he.digitalData.interests&&(t.flattenedProperties.interests=he.digitalData.interests),he._registerEvent(t,!0),he.activateWem?he.loadContext():he._executeFallback("wem is not activated on current page")})))},getLoadedContext:function(){return he.cxs},getFormNamesToWatch:function(){return he.formNamesToWatch},getSessionId:function(){return he.sessionID},registerPersonalizationObject:function(e,t,r,n){var o=e.id;he._registerPersonalizationCallback(e,(function(r,i){var a=null,s=[],l=i&&i.inControlGroup;if(l&&e.strategyOptions&&e.strategyOptions.fallback)a=t[e.strategyOptions.fallback],s.push(a);else{for(var c=0;c0){a=s[0];var u=s[0].position;if(u>=0)for(var d=1;d0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!he.contextLoaded||r){var n={requiredProfileProperties:he.digitalData.wemInitConfig.requiredProfileProperties,requiredSessionProperties:he.digitalData.wemInitConfig.requiredSessionProperties,requireSegments:he.digitalData.wemInitConfig.requireSegments,requireScores:he.digitalData.wemInitConfig.requireScores,source:he.buildSourcePage()};e||(n.events=he.digitalData.events),he.digitalData.personalizationCallback&&(n.personalizations=he.digitalData.personalizationCallback.map((function(e){return e.personalization}))),n.sessionId=he.sessionID;var o=he.contextServerUrl+"/context.json";t&&(o+="?invalidateSession=true&invalidateProfile=true"),he.ajax({url:o,type:"POST",async:!0,contentType:"text/plain;charset=UTF-8",jsonData:n,dataType:"application/json",invalidate:t,success:he._onSuccess,error:function(){he._executeFallback("error during context loading")}}),he.contextLoaded=Error().stack,console.info("[WEM] context loading...")}else console.log("Context already requested by",he.contextLoaded)},collectEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;he.collectEvents({events:[e]},t,r)},collectEvents:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!he.fallback){e.sessionId=he.sessionID?he.sessionID:"";var n=JSON.stringify(e);he.ajax({url:he.contextServerUrl+"/eventcollector",type:"POST",async:!0,contentType:"text/plain;charset=UTF-8",data:n,dataType:"application/json",success:t,error:r})}},sendClickEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(e.target.id||e.target.name){console.info("[WEM] Send click event");var n=e.target.id?e.target.id:e.target.name,o=he.buildEvent("click",he.buildTarget(n,e.target.localName),he.buildSourcePage()),i=he.eventsPrevented.indexOf(n);if(-1!==i)he.eventsPrevented.splice(i,0);else{he.eventsPrevented.push(n),e.preventDefault();var a=e.target;he.collectEvent(o,(function(e){console.info("[WEM] Click event successfully collected."),t?t(e):a.click()}),(function(e){console.error("[WEM] Could not send click event."),r?r(e):a.click()}))}}},sendVideoEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;console.info("[WEM] catching video event");var n=he.buildEvent("video",he.buildTarget(e.target.id,"video",{action:e.type}),he.buildSourcePage());he.collectEvent(n,(function(e){console.info("[WEM] Video event successfully collected."),t&&t(e)}),(function(e){console.error("[WEM] Could not send video event."),r&&r(e)}))},invalidateSessionAndProfile:function(){he.sessionID=he.generateGuid()+he.browserGeneratedSessionSuffix,he.setCookie(he.trackerSessionIdCookieName,he.sessionID,1),he.removeCookie(he.contextServerCookieName),he.removeCookie(he.trackerProfileIdCookieName),he.cxs=void 0},buildEvent:function(e,t,r){var n={eventType:e,scope:he.digitalData.scope};return t&&(n.target=t),r&&(n.source=r),n},buildFormEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=he.buildEvent("form",he.buildTarget(e,"form"),he.buildSourcePage());return r.flattenedProperties={fields:t?he._extractFormData(t):{}},r},buildSearchEvent:function(e,t,r,n){var o=he.buildEvent("search",he.buildTarget(e,"search"),he.buildSourcePage());return o.flattenedProperties={fields:t?he._extractFormData(t):{}},o.properties={originForm:e,language:n||"en",keyword:r,origin:o.source.properties.pageInfo.pagePath},o},buildTargetPage:function(){return he.buildTarget(he.digitalData.page.pageInfo.pageID,"page",he.digitalData.page)},buildSourcePage:function(){return he.buildSource(he.digitalData.page.pageInfo.pageID,"page",he.digitalData.page)},buildTarget:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return he._buildObject(e,t,r)},buildSource:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return he._buildObject(e,t,r)},setCookie:function(e,t,r){var n="";if(r){var o=new Date;o.setTime(o.getTime()+24*r*60*60*1e3),n="; expires="+o.toUTCString()}var i="https:"===location.protocol?"; secure":"";document.cookie=e+"="+t+n+"; path=/; SameSite=Strict"+i},getCookie:function(e){for(var t=e+"=",r=document.cookie.split(";"),n=0;n0){var t,r=de(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;he.digitalData=he._deepMergeObjects(n,he.digitalData)}}catch(e){r.e(e)}finally{r.f()}}},_registerListenersForTrackedConditions:function(){console.info("[WEM] Check for tracked conditions and attach related HTML listeners");var e=[],t=[];if(he.cxs.trackedConditions&&he.cxs.trackedConditions.length>0)for(var r=0;r-1&&null==i.getAttribute("data-form-id")&&(console.info("[WEM] Watching form "+a),i.addEventListener("submit",he._formSubmitEventListener,!0))}for(var s=0;s0){var t,r={optimizationTestEvent:"optimization",personalizationEvent:"personalization"},n=de(e.target.properties.variants);try{for(n.s();!(t=n.n()).done;){var o=t.value,i={id:o.id,name:o.systemName,displayableName:o.displayableName,path:o.path,type:r[e.eventType],variantType:e.target.properties.type,tags:o.tags,nodeType:o.nodeType,wrapper:{id:e.target.itemId,name:e.target.properties.systemName,displayableName:e.target.properties.displayableName,path:e.target.properties.path,tags:e.target.properties.tags,nodeType:e.target.properties.nodeType}};"personalizationEvent"===e.eventType&&(i.wrapper.inControlGroup=e.target.properties.inControlGroup),he._fillDisplayedVariants(i),he.dispatchJSEvent("displayWemVariant",!1,!1,i)}}catch(e){n.e(e)}finally{n.f()}}},_filterUnomiEvents:function(){he.digitalData&&he.digitalData.events&&(he.digitalData.events=he.digitalData.events.filter((function(e){return!e.properties||!e.properties.doNotSendToUnomi})).map((function(e){return e.properties&&delete e.properties.doNotSendToUnomi,e})))},_completeEvent:function(e){return e.source||(e.source=he.buildSourcePage()),e.scope||(e.scope=he.digitalData.scope),e.target&&!e.target.scope&&(e.target.scope=he.digitalData.scope),e},_registerEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(he.digitalData){if(he.cxs)return void console.error("[WEM] already loaded, too late...")}else he.digitalData={};he.digitalData.events=he.digitalData.events||[],t?he.digitalData.events.unshift(e):he.digitalData.events.push(e)},_registerCallback:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;he.digitalData?he.cxs?(console.info("[WEM] Trying to register context load callback, but context already loaded, executing now..."),e&&(console.info("[WEM] executing context load callback: "+(t||"Callback without name")),e(he.digitalData))):(console.info("[WEM] registering context load callback: "+(t||"Callback without name")),e&&(he.digitalData.loadCallbacks=he.digitalData.loadCallbacks||[],he.digitalData.loadCallbacks.push({priority:r,name:t,execute:e}))):(console.info("[WEM] Trying to register context load callback, but no digitalData conf found, creating it and registering the callback: "+(t||"Callback without name")),he.digitalData={},e&&(he.digitalData.loadCallbacks=[],he.digitalData.loadCallbacks.push({priority:r,name:t,execute:e})))},_registerPersonalizationCallback:function(e,t){he.digitalData?he.cxs?console.error("[WEM] already loaded, too late..."):(console.info("[WEM] digitalData object present but not loaded, registering sort callback..."),he.digitalData.personalizationCallback=he.digitalData.personalizationCallback||[],he.digitalData.personalizationCallback.push({personalization:e,callback:t})):(he.digitalData={},he.digitalData.personalizationCallback=he.digitalData.personalizationCallback||[],he.digitalData.personalizationCallback.push({personalization:e,callback:t}))},_buildObject:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n={scope:he.digitalData.scope,itemId:e,itemType:t};return r&&(n.properties=r),n},_onSuccess:function(e){if(he.cxs=JSON.parse(e.responseText),he.digitalData.loadCallbacks&&he.digitalData.loadCallbacks.length>0&&(console.info("[WEM] Found context server load callbacks, calling now..."),he._executeLoadCallbacks(he.digitalData),he.digitalData.personalizationCallback))for(var t=0;t0&&he.digitalData.loadCallbacks.sort((function(e,t){return e.priority-t.priority})).forEach((function(t){console.info("[WEM] executing context load callback: "+(t.name?t.name:"callback without name")),t.execute(e)}))},_processReferrer:function(){var e=he.digitalData.page.pageInfo.referringURL||document.referrer,t=!1;if(e){var r=new URL(e);if(!(t=r.host===window.location.host)){var n=r.search,o=void 0;if(n&&""!=n){for(var i,a=[],s=n.slice(1).split("&"),l=0;l-1){console.info("[WEM] catching form "+r);var n=document.createEvent("Event");n.initEvent("submit",e.bubbles,e.cancelable),e.stopImmediatePropagation(),e.preventDefault(),he.collectEvent(he.buildFormEvent(r,t),(function(){t.removeEventListener("submit",he._formSubmitEventListener,!0),t.dispatchEvent(n),n.defaultPrevented||n.cancelBubble||t.submit(),t.addEventListener("submit",he._formSubmitEventListener,!0)}),(function(e){console.error("[WEM] Error while collecting form event: "+e.status+" "+e.statusText),e.abort(),t.removeEventListener("submit",he._formSubmitEventListener,!0),t.dispatchEvent(n),n.defaultPrevented||n.cancelBubble||t.submit(),t.addEventListener("submit",he._formSubmitEventListener,!0)}))}},_extractFormData:function(e){for(var t={},r=0;r1&&(t[n.name]||(t[n.name]=[]),n.checked&&t[n.name].push(n.value));break;case"radio":n.checked&&(t[n.name]=n.value);break;default:if(!n.value||""==n.value)break;t[n.name]=n.value}break;case"SELECT":if(n.options&&n.options[n.selectedIndex])if(n.multiple){t[n.name]=[];for(var o=0;o0}));return t?e.replace(t,he.digitalData.sourceLocalIdentifierMap[t]):e}return e},_enableWem:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;he.fallback=!e,e?he.DOMLoaded?he.loadContext():he.activateWem=!0:(he.cxs={},he.removeCookie(he.contextServerCookieName),he.removeCookie(he.trackerProfileIdCookieName),delete he.contextLoaded),t&&t(e),console.log("[WEM] successfully ".concat(e?"enabled":"disabled"," tracking in current page"))},_deepMergeObjects:function(e,t){return he._isObject(t)&&he._isObject(e)?(Object.keys(e).forEach((function(r){var n=t[r],o=e[r];Array.isArray(n)&&Array.isArray(o)?t[r]=n.concat(o):he._isObject(n)&&he._isObject(o)?t[r]=he._deepMergeObjects(o,Object.assign({},n)):t[r]=o})),t):e},_isObject:function(t){return t&&"object"===e(t)}},he)}();




© 2015 - 2025 Weber Informatics LLC | Privacy Policy