Advertisement
Guest User

Ghostery all XMHL texts

a guest
Feb 14th, 2018
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.93 KB | None | 0 0
  1. In Root App Dir,
  2. Command Run: {
  3.  
  4. find . -type f ! -name "*.png" ! -name "*.svg" ! -name "*.woff" ! -name "*.woff2" ! -name "*.data" ! -name "*.jpeg" ! -name "*.ttf" ! -name "*.jpg" ! -name "*.gif" ! -name "content-script-bundle.js" ! -name "content_script_bundle.js" ! -name "vendor.js" > "$TEMP"
  5.  
  6. echo "START" >> ../file3
  7. while IFS='' read -r line || [[ -n "$line" ]]; do
  8. cat "$line" | fmt -w 80 >> ../file4
  9.  
  10.  
  11. done <"file4";
  12. e
  13. grep -ri "XMLH" . -B 5 -A 5 -H | fmt -w 80 | grep -i "XMLH" -B 10 -A 10 >> fileXMHL
  14.  
  15.  
  16. }
  17.  
  18.  
  19. a(a,t){e.call(this),this.promise=a,this.scheduler=t}return
  20. s(a,e),a.create=function(e,t){return
  21. new a(e,t)},a.prototype._subscribe=function(e){var
  22. a=this,t=this.promise,s=this.scheduler;if(null==s)this._isScalar?!e.closed&&(e.next(this.value),e.complete()):t.then(function(t){a.value=t,a._isScalar=!0,e.closed||(e.next(t),e.complete())},function(a){e.closed||e.error(a)}).then(null,function(e){r.root.setTimeout(function(){throw
  23. e})});else
  24. if(!this._isScalar)t.then(function(t){a.value=t,a._isScalar=!0,e.closed||e.add(s.schedule(n,0,{value:t,subscriber:e}))},function(a){e.closed||e.add(s.schedule(o,0,{err:a,subscriber:e}))}).then(null,function(e){r.root.setTimeout(function(){throw
  25. e})});else if(!e.closed)return
  26. s.schedule(n,0,{value:this.value,subscriber:e})},a}(i.Observable);a.PromiseObservable=d},function(e,a){"use
  27. strict";a.identity=function(e){return e}},function(e,a,t){"use strict";var
  28. n=t(790);a.timer=n.TimerObservable.create},function(e,a,t){"use
  29. strict";function n(){if(m.root.XMLHttpRequest)return new
  30. m.root.XMLHttpRequest;if(!!m.root.XDomainRequest)return new
  31. m.root.XDomainRequest;throw new Error("CORS is not supported by
  32. your browser")}function o(){if(m.root.XMLHttpRequest)return
  33. new m.root.XMLHttpRequest;var e;try{for(var
  34. a=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],t=0;3>t;t++)try{if(e=a[t],new
  35. m.root.ActiveXObject(e))break}catch(a){}return new
  36. m.root.ActiveXObject(e)}catch(a){throw new Error("XMLHttpRequest
  37. is not supported by your browser")}}function s(e,a){return void
  38. 0===a&&(a=null),new k({method:"GET",url:e,headers:a})}function r(e,a,t){return
  39. new k({method:"POST",url:e,body:a,headers:t})}function i(e,a){return
  40. new k({method:"DELETE",url:e,headers:a})}function d(e,a,t){return new
  41. k({method:"PUT",url:e,body:a,headers:t})}function $(e,a,t){return new
  42. k({method:"PATCH",url:e,body:a,headers:t})}function l(e,a){return b(new
  43. k({method:"GET",url:e,responseType:"json",headers:a}))}function
  44. u(e,a){switch(e){case"json":return"response"in
  45. a?a.responseType?a.response:JSON.parse(a.response||a.responseText||"null"):JSON.parse(a.responseText||"null");case"xml":return
  46. a.responseXML;case"text":default:return"response"in
  47. --
  48. e.response});a.ajaxGetJSON=l;var k=function(e){function
  49. a(a){e.call(this);var t={async:!0,createXHR:function(){return
  50. this.crossDomain?n.call(this):o()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof
  51. a)t.url=a;else for(var s in
  52. a)a.hasOwnProperty(s)&&(t[s]=a[s]);this.request=t}return
  53. c(a,e),a.prototype._subscribe=function(e){return
  54. new _(e,this.request)},a.create=function(){var
  55. e=function(e){return new a(e)};return
  56. e.get=s,e.post=r,e.delete=i,e.put=d,e.patch=$,e.getJSON=l,e}(),a}(y.Observable);a.AjaxObservable=k;var
  57. _=function(e){function a(a,t){e.call(this,a),this.request=t,this.done=!1;var
  58. n=t.headers=t.headers||{};t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in
  59. n||m.root.FormData&&t.body instanceof m.root.FormData||"undefined"==typeof
  60. t.body||(n["Content-Type"]="application/x-www-form-urlencoded;
  61. charset=UTF-8"),t.body=this.serializeBody(t.body,t.headers["Content-Type"]),this.send()}return
  62. c(a,e),a.prototype.next=function(a){this.done=!0;var
  63. e=this,t=e.xhr,n=e.request,o=e.destination,s=new
  64. v(a,t,n);o.next(s)},a.prototype.send=function(){var
  65. e=this,a=e.request,t=e.request,n=t.user,o=t.method,s=t.url,r=t.async,i=t.password,d=t.headers,$=t.body,l=a.createXHR,u=p.tryCatch(l).call(a);if(u===h.errorObject)this.error(h.errorObject.e);else{this.xhr=u,this.setupEvents(u,a);var
  66. c;if(c=n?p.tryCatch(u.open).call(u,o,s,r,n,i):p.tryCatch(u.open).call(u,o,s,r),c===h.errorObject)return
  67. this.error(h.errorObject.e),null;if(r&&(u.timeout=a.timeout,u.responseType=a.responseType),"withCredentials"in
  68. u&&(u.withCredentials=!!a.withCredentials),this.setHeaders(u,d),c=$?p.tryCatch(u.send).call(u,$):p.tryCatch(u.send).call(u),c===h.errorObject)return
  69. --
  70. e.json&&(t.set("Accept","application/json"),t.set("Content-Type",e.headers["Content-Type"]||"application/json")),n.body=e.body&&e.processData&&"string"!=typeof
  71. e.body?JSON.stringify(e.body):"body"in
  72. e?e.body:null,Object.keys(e.headers).forEach(function(a){e.headers.hasOwnProperty(a)&&t.set(a,e.headers[a])}),o=Bt(e.url,n),0<e.timeout&&(s=setTimeout(function(){o.reject(new
  73. Error("Load timeout for
  74. resource: "+e.url))},e.timeout)),o.promise.then(function(a){return
  75. r={statusCode:a.status},0<e.timeout&&clearTimeout(s),200<=r.statusCode&&300>r.statusCode?e.binary?a.blob():a.text():a.json()}).then(function(e){200<=r.statusCode&&300>r.statusCode?a(null,r,e):(e.status=r.statusCode,a(e))}).catch(function(e){e||(e=new
  76. Error("canceled")),a(e)}),{abort:o.reject}}function Jt(e,a){var
  77. t=!1,n=function(){t=!0,r.abort(),s()},o={abort:function(){r.abort(),s()}},s=function(){clearTimeout(i),o.abort=function(){},r&&(r.onprogress=void
  78. 0,r.upload&&(r.upload.onprogress=void
  79. 0),r.onreadystatechange=void 0,r=void 0)},r,i;r=e.xhr?new e.xhr:new
  80. XMLHttpRequest;try{r.open(e.method,e.url)}catch(e){return
  81. a(new Error(e.name||"Url is invalid"))}for(var
  82. d in r.withCredentials=!("withCredentials"in
  83. e)||e.withCredentials,"GET"===e.method?delete
  84. e.headers["Content-Type"]:e.json&&(e.headers.Accept="application/json",e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json",e.body&&e.processData&&"string"!=typeof
  85. e.body&&(e.body=JSON.stringify(e.body))),e.binary&&(r.responseType="arraybuffer"),"body"in
  86. e||(e.body=null),e.headers)e.headers.hasOwnProperty(d)&&r.setRequestHeader(d,e.headers[d]);return
  87. 0<e.timeout&&(i=setTimeout(n,e.timeout),r.onprogress=function(){clearTimeout(i),4!==r.readyState&&(i=setTimeout(n,e.timeout))},"undefined"!=typeof
  88. r.upload&&(r.upload.onprogress=r.onprogress)),r.onreadystatechange=function(){if(4===r.readyState){var
  89. n={statusCode:r.status};if(200<=r.status&&300>r.status){var
  90. o;o=e.binary?Ya([r.response||""],{type:r.getResponseHeader("Content-Type")}):r.responseText,a(null,n,o)}else{var
  91. --
  92. Ys=7,Ss=Lt("document-store"),Ts=Lt("by-sequence"),Ds=Lt("attach-store"),js=Lt("local-store"),Os=Lt("metadata-store"),Es=Lt("attach-seq-store"),zs=new
  93. ko,As=new L,Ps=1,Hs="CREATE INDEX IF NOT EXISTS 'by-seq-deleted-idx' ON "+Ts+"
  94. (seq, deleted)",Cs="CREATE UNIQUE INDEX IF NOT EXISTS 'by-seq-doc-id-rev' ON
  95. "+Ts+" (doc_id, rev)",Is="CREATE INDEX IF NOT EXISTS 'doc-winningseq-idx' ON
  96. "+Ss+" (winningseq)",qs="CREATE INDEX IF NOT EXISTS 'attach-seq-seq-idx' ON
  97. "+Es+" (seq)",Rs="CREATE UNIQUE INDEX IF NOT EXISTS 'attach-seq-digest-idx'
  98. ON "+Es+" (digest, seq)",Fs=Ts+".seq = "+Ss+".winningseq",Ns=Ts+".seq AS
  99. seq, "+Ts+".deleted AS deleted, "+Ts+".json AS data, "+Ts+".rev AS rev,
  100. "+Ss+".json AS metadata";Ut.valid=function(){return!("function"!=typeof
  101. openDatabase)&&Nt()},Ut.use_prefix=!0;var Ws=function(){try{return new
  102. XMLHttpRequest,!0}catch(e){return!1}}(),Us=function(){},Bs=25,Vs=50,Js=5e3,Gs=1e4,Ks={};$n.valid=function(){return!0};ro()(ln,Error),ro()(un,Error),ro()(cn,Error);var
  103. Zs=Y.bind(null,"log"),Xs=Array.isArray,Qs=JSON.parse;vn.prototype.add=function(e){return
  104. this.promise=this.promise.catch(function(){}).then(function(){return
  105. e()}),this.promise},vn.prototype.finish=function(){return
  106. this.promise};var er={},ar=new
  107. vn,tr=50,nr={_sum:function(e,a){return kn(a)},_count:function(e,a){return
  108. a.length},_stats:function(e,a){return{sum:kn(a),min:s.apply(null,a),max:Math.max.apply(null,a),count:a.length,sumsqr:function(e){for(var
  109. a=0,t=0,n=e.length,o;t<n;t++)o=e[t],a+=o*o;return
  110. a}(a)}}},or=function(e,a,t,n){function
  111. o(a,e,t){try{e(t)}catch(t){Sn(a,t)}}function
  112. s(a,e,t,n,o){try{return{output:e(t,n,o)}}catch(t){return
  113. --
  114. wa(e,a,t){return t?Je(e,a):Ge(e,a)}function xa(e,a,t){const
  115. n=e.indexOf("*",a),o=e.indexOf("^",a);return-1!==n&&n<t||-1!==o&&o<t}function
  116. Ma(e){const a=e;let
  117. t=1572864,n=null,o=null,s="",r="",i="",d=!1,$=0,l=a.length;Ze(a,"@@")&&($+=2,t=Je(t,134217728));const
  118. u=a.indexOf("$",$);if(-1!==u){l=u;const
  119. e=a.substr(u+1),n=e.split(",");for(let e=0;e<n.length;e+=1){const
  120. a=n[e];let o=!1,$=a;Ze($,"~")?(o=!0,$=$.substr(1)):o=!1;let
  121. l=[];if(-1!==$.indexOf("=")){const
  122. e=$.split("=",2);$=e[0],l=e[1].split("|")}switch($){case"domain":{const
  123. e=[],a=[];for(let t=0;t<l.length;t+=1){const
  124. n=l[t];n&&(Ze(n,"~")?a.push(n.substr(1)):e.push(n))}0<e.length&&(s=e.join("|")),0<a.length&&(r=a.join("|"));break}case"image":d=!0,t=wa(t,1,!o);break;case"media":d=!0,t=wa(t,2,!o);break;case"object":d=!0,t=wa(t,4,!o);break;case"object-subrequest":d=!0,t=wa(t,8,!o);break;case"other":d=!0,t=wa(t,16,!o);break;case"ping":d=!0,t=wa(t,32,!o);break;case"script":d=!0,t=wa(t,64,!o);break;case"stylesheet":d=!0,t=wa(t,128,!o);break;case"subdocument":d=!0,t=wa(t,256,!o);break;case"xmlhttprequest":d=!0,t=wa(t,1024,!o);break;case"websocket":d=!0,t=wa(t,512,!o);break;case"font":d=!0,t=wa(t,8192,!o);break;case"important":if(o)return
  125. null;t=Je(t,131072);break;case"match-case":if(o)return
  126. null;t=Je(t,262144);break;case"third-party":t=o?Ge(t,524288):Ge(t,1048576);break;case"first-party":t=o?Ge(t,1048576):Ge(t,524288);break;case"collapse":break;case"redirect":if(o)return
  127. null;if(0===l.length)return null;i=l[0];break;default:return
  128. null;}}}if(!1==d&&(t=Je(t,bn)),Ze(a,"127.0.0.1"))o=a.substr(a.lastIndexOf("
  129. ")+1),n="",t=Ge(t,8388608),t=Je(t,2097152),t=Je(t,67108864);else{"|"===a[l-1]&&(t=Je(t,33554432),l-=1),Xe(a,"||",$)?(t=Je(t,67108864),$+=2):"|"===a[$]&&(t=Je(t,16777216),$+=1),"*"===a.charAt(l-1)&&1<l-$&&(l-=1);const
  130. e=xa(a,$,l);t=wa(t,8388608,e);const s=Ve(t,67108864);if(!e&&s){const
  131. e=a.indexOf("/",$);-1===e?(o=a.substring($,l),n=""):(o=a.substring($,e),$=e)}else
  132. if(e&&s){const
  133. e=a.search(_n);-1!==e&&(o=a.substring($,e),$=e,1==l-$&&"^"===a.charAt($)?(n="",t=Ge(t,8388608)):t=wa(t,8388608,xa(a,$,l)))}}null===n&&(n=a.substring($,l).toLowerCase());let
  134. c="";null!==o&&(c=o);let
  135. --
  136. n=0,o;n<e.length;n+=1)if(o=e[n],We(t,o))return o;return
  137. null===a?null:a.length===t.length?null:Ue(t,a)},sn=function(e){var
  138. a=e.lastIndexOf(".");return-1===a?null:e.substr(a+1)},rn=function(e,a){if(e.hasTld(a))return
  139. a;var t=e.suffixLookup(a);return null===t?sn(a):t},dn=function(e,a){return
  140. null===a?null:e.substr(0,e.length-a.length-1)},$n=function(e,a){if(e.hasTld(a))return!0;var
  141. t=sn(a);return
  142. null!==t&&e.hasTld(t)},ln=c.fromJson($t&&dt||$t),un=1,cn=2,mn=3,pn=4,hn=5,yn=Be({}),gn=yn.parse,fn=yn.getPublicSuffix;const
  143. bn=131071,kn={1:16,2:64,3:1,4:128,5:4,7:256,10:32,11:1024,12:8,13:4096,14:8192,15:2,16:512,17:65536,18:16384,19:32768,20:2048,21:1},_n=/[/^*]/;class
  144. vn{constructor({mask:e,filter:a,optDomains:t,optNotDomains:n,redirect:o,hostname:s,id:r}){this.id=r,this.mask=e,this.filter=a,this.optDomains=t,this.optNotDomains=n,this.redirect=o,this.hostname=s,this.regex=null,this.optDomainsSet=null,this.optNotDomainsSet=null,this.rawLine=null}isCosmeticFilter(){return!1}isNetworkFilter(){return!0}toString(){let
  145. e="";this.isException()&&(e+="@@"),this.isHostnameAnchor()&&(e+="||"),this.isLeftAnchor()&&(e+="|"),this.isRegex()?e+=this.getRegex().source:(this.hasHostname()&&(e+=this.getHostname(),e+="^"),e+=this.getFilter());const
  146. a=[];if(this.fromAny()||(this.fromImage()&&a.push("image"),this.fromMedia()&&a.push("media"),this.fromObject()&&a.push("object"),this.fromObjectSubrequest()&&a.push("object-subrequest"),this.fromOther()&&a.push("other"),this.fromPing()&&a.push("ping"),this.fromScript()&&a.push("script"),this.fromStylesheet()&&a.push("stylesheet"),this.fromSubdocument()&&a.push("subdocument"),this.fromWebsocket()&&a.push("websocket"),this.fromXmlHttpRequest()&&a.push("xmlhttprequest"),this.fromFont()&&a.push("font")),this.isImportant()&&a.push("important"),this.isRedirect()&&a.push(`redirect=${this.getRedirect()}`),this.firstParty()!==this.thirdParty()&&(this.firstParty()&&a.push("first-party"),this.thirdParty()&&a.push("third-party")),this.hasOptDomains()||this.hasOptNotDomains()){const
  147. e=[...this.getOptDomains()];this.getOptNotDomains().forEach((a)=>e.push(`~${a}`)),a.push(`domain=${e.join("|")}`)}return
  148. 0<a.length&&(e+=`$${a.join(",")}`),this.isRightAnchor()&&(e+="|"),e}hasFilter(){return!!this.filter}hasOptNotDomains(){return!!this.optNotDomains}getOptNotDomains(){return
  149. this.optNotDomainsSet=this.optNotDomainsSet||va(this.optNotDomains),this.optNotDomainsSet}hasOptDomains(){return!!this.optDomains}getOptDomains(){return
  150. this.optDomainsSet=this.optDomainsSet||va(this.optDomains),this.optDomainsSet}getMask(){return
  151. this.mask}isRedirect(){return!!this.redirect}getRedirect(){return
  152. this.redirect}hasHostname(){return!!this.hostname}getHostname(){return
  153. this.hostname}getFilter(){return
  154. this.filter}setRegex(e){this.regex=e,this.mask=Je(this.mask,8388608),this.mask=Ge(this.mask,4194304)}getRegex(){return
  155. null===this.regex&&(this.regex=_a(this.filter,this.isRightAnchor(),this.isLeftAnchor(),this.matchCase())),this.regex}getTokens(){return
  156. oa(this.filter).concat(oa(this.hostname))}isCptAllowed(e){const
  157. --
  158. Ve(this.mask,8388608)}isPlain(){return!Ve(this.mask,8388608)}isHostname(){return
  159. Ve(this.mask,2097152)}fromAny(){return(this.mask&bn)==bn}thirdParty(){return
  160. Ve(this.mask,524288)}firstParty(){return
  161. Ve(this.mask,1048576)}fromImage(){return
  162. Ve(this.mask,1)}fromMedia(){return Ve(this.mask,2)}fromObject(){return
  163. Ve(this.mask,4)}fromObjectSubrequest(){return
  164. Ve(this.mask,8)}fromOther(){return Ve(this.mask,16)}fromPing(){return
  165. Ve(this.mask,32)}fromScript(){return Ve(this.mask,64)}fromStylesheet(){return
  166. Ve(this.mask,128)}fromSubdocument(){return
  167. Ve(this.mask,256)}fromWebsocket(){return
  168. Ve(this.mask,512)}fromXmlHttpRequest(){return
  169. Ve(this.mask,1024)}fromFont(){return Ve(this.mask,8192)}}class
  170. wn{constructor({mask:e,selector:a,hostnames:t,id:n}){this.id=n,this.mask=e,this.selector=a,this.hostnames=t,this.hostnamesArray=null,this.rawLine=null}isCosmeticFilter(){return!0}isNetworkFilter(){return!1}toString(){let
  171. e="";return
  172. this.hasHostnames()&&(e+=this.hostnames),e+=this.isUnhide()?"#@#":"##",this.isScriptInject()?(e+="script:inject(",e+=this.selector,e+=")"):this.isScriptBlock()?(e+="script:contains(",e+=this.selector,e+=")"):e+=this.selector,e}getTokensSelector(){if(this.isScriptInject()||this.isScriptBlock())return[];const
  173. e=this.selector.lastIndexOf(">");return-1===e?sa(this.selector):sa(this.selector.substr(e))}getSelector(){return
  174. this.selector}hasHostnames(){return!!this.hostnames}getHostnames(){return
  175. null===this.hostnamesArray&&(this.hasHostnames()?this.hostnamesArray=this.hostnames.split(",").sort((e,a)=>e.length>a.length?-1:e.length<a.length?1:0):this.hostnamesArray=[]),this.hostnamesArray}isUnhide(){return
  176. Ve(this.mask,1)}isScriptInject(){return
  177. Ve(this.mask,2)}isScriptBlock(){return Ve(this.mask,4)}}const xn=/\s/;class
  178. Mn{constructor(e,a,{optimizer:t=Pa,multiKeys:n=!1}={}){this.index=new
  179. --
  180. i=t(159),o=t(200),r=(1+2.23606797749979)/2;n.a=function e(n){function
  181. t(e,t,d,i,o){a(n,e,t,d,i,o)}return t.ratio=function(n){return
  182. e(1<(n=+n)?n:1)},t}(r)},function(e,n,t){"use strict";function
  183. a(e){return function(n,t){e(null==n?t:null)}}function d(e){var
  184. n=e.responseType;return n&&"text"!==n?e.response:e.responseText}var
  185. i=t(156),o=t(93);n.a=function(e,n){function t(e){var
  186. n=l.status,t;if(!n&&d(l)||200<=n&&300>n||304===n){if(f)try{t=f.call(p,l)}catch(n){return
  187. void r.call("error",p,n)}else
  188. t=l;r.call("load",p,t)}else r.call("error",p,e)}var
  189. r=Object(o.a)("beforesend","progress","load","error"),s=Object(i.a)(),l=new
  190. XMLHttpRequest,u=null,m=null,c=0,p,h,f,y;if("undefined"!=typeof
  191. XDomainRequest&&!("withCredentials"in
  192. l)&&/^(http(s)?:)?\/\//.test(e)&&(l=new XDomainRequest),"onload"in
  193. l?l.onload=l.onerror=l.ontimeout=t:l.onreadystatechange=function(e){3<l.readyState&&t(e)},l.onprogress=function(n){r.call("progress",p,n)},p={header:function(e,n){return(e=(e+"").toLowerCase(),2>arguments.length)?s.get(e):(null==n?s.remove(e):s.set(e,n+""),p)},mimeType:function(e){return
  194. arguments.length?(h=null==e?null:e+"",p):h},responseType:function(e){return
  195. arguments.length?(y=e,p):y},timeout:function(e){return
  196. arguments.length?(c=+e,p):c},user:function(e){return
  197. 1>arguments.length?u:(u=null==e?null:e+"",p)},password:function(e){return
  198. 1>arguments.length?m:(m=null==e?null:e+"",p)},response:function(e){return
  199. f=e,p},get:function(e,n){return p.send("GET",e,n)},post:function(e,n){return
  200. p.send("POST",e,n)},send:function(n,t,d){return
  201. --
  202. medium-6
  203. text-right'},d.a.createElement('span',null,e)))),d.a.createElement('div',{className:'callout-container
  204. column'},d.a.createElement('div',{className:`${(this.props.message?'':'hide
  205. ')+(this.props.success?'success ':'alert')}
  206. callout`},d.a.createElement('svg',{onClick:this.clearMessage,width:'15px',height:'15px',viewBox:'0
  207. 0 15
  208. 15',className:'close-button'},d.a.createElement('g',null,d.a.createElement('path',{strokeWidth:'3',strokeLinecap:'round',d:'M3,3
  209. L12,12 M3,12
  210. L12,3'}))),d.a.createElement('span',{className:'callout-text'},this.props.message,d.a.createElement('span',{dangerouslySetInnerHTML:{__html:this.props.notificationText}})))))}}t.a=s},1496:function(e,t,a){'use
  211. strict';t.a=function(e,t,a){return new Promise((d,s)=>{const o=new
  212. XMLHttpRequest;o.onload=function(){200<=o.status&&400>o.status?d(JSON.parse(o.responseText)):(Object(n.c)('doXHR
  213. error',o.statusText),s(new
  214. Error(o.statusText)))},o.onerror=function(e){Object(n.c)('doXHR
  215. network error',e),s(new Error(e))},Object(n.c)('doXHR
  216. request',e,t,a),o.open(e,t,!0),o.setRequestHeader('Content-Type','application/json'),o.setRequestHeader('Accept','application/json'),o.overrideMimeType('application/json'),o.send(a)})};var
  217. n=a(4)},1497:function(e,t,a){'use strict';var
  218. n=a(19),d=a(13),s=a(1498);t.a=Object(n.b)((e)=>Object.assign({},e.topContent))(s.a)},1498:function(e,t,a){'use
  219. strict';var n=a(1),d=a.n(n),s=a(12);class o extends
  220. n.Component{render(){return d.a.createElement('div',{className:'row expanded
  221. padded-content'},d.a.createElement('div',{className:'columns'},d.a.createElement('div',{className:'columns'},d.a.createElement('div',{className:'row
  222. expanded
  223. --
  224. t=e||'/',a='',n='',d=t.indexOf('#');-1!==d&&(n=t.substr(d),t=t.substr(0,d));var
  225. s=t.indexOf('?');return-1!==s&&(a=t.substr(s),t=t.substr(0,s)),{pathname:t,search:'?'===a?'':a,hash:'#'===n?'':n}},l=function(e){var
  226. t=e.pathname,a=e.search,n=e.hash,d=t||'/';return
  227. a&&'?'!==a&&(d+='?'===a.charAt(0)?a:'?'+a),n&&'#'!==n&&(d+='#'===n.charAt(0)?n:'#'+n),d}},52:function(e,t,a){'use
  228. strict';t.d=function(e,t,a){const n={};return
  229. n[t]=a,Object.assign({},e,n)},t.a=function(e,t){return[...e,t]},t.c=function(e,t){return
  230. e.filter((e,a)=>a!==t)},t.e=function(e){const
  231. t=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/;return''!==e&&t.test(e)},t.f=function(e){const
  232. t=/^[a-zA-Z0-9!@#$%^&*=+()<>{}[\];:,./?]{8,50}$/;return''!==e&&t.test(e)},t.b=function(e,t,a){return
  233. new Promise((d,s)=>{const o=new
  234. XMLHttpRequest;o.onload=function(){200<=o.status&&400>o.status?d(JSON.parse(o.responseText)):(Object(n.c)('doXHR
  235. error',o.statusText),s(new
  236. Error(o.statusText)))},o.onerror=function(e){Object(n.c)('doXHR
  237. network error',e),s(new Error(e))},Object(n.c)('doXHR
  238. request',e,t,a),o.open(e,t,!0),o.setRequestHeader('Content-Type','application/json'),o.setRequestHeader('Accept','application/json'),o.overrideMimeType('application/json'),o.send(a)})};var
  239. n=a(4)},586:function(e,t,a){'use
  240. strict';Object.defineProperty(t,'__esModule',{value:!0}),t.clearMessage=function(){return{type:n.a}},t.getLoginInfo=function(){return
  241. function(e){return
  242. Object(d.b)('getLoginInfo').then((t)=>{e({type:n.f,data:t})})}},t.createAccountFail=function(){return{type:n.c,data:''}},t.loginFail=function(){return{type:n.h,data:''}},t.userLogin=function(e){return
  243. function(t){return
  244. Object(s.a)('POST',`${r}/api/Login`,JSON.stringify(e)).then((a)=>{if(null!==a.UserId&&null!==a.Token){const
  245. --
  246. function(e){return
  247. Object(n.b)("getCliqzModuleData").then((a)=>{e({type:s.j,data:a})})}},a.openDrawer=function(e){return{type:s.t,data:e}},a.closeDrawer=function(){return{type:s.a}},a.toggleDrawerSetting=function(e,a){return{type:s.C,data:{settingName:e,isEnabled:a}}};var
  248. s=t(32),n=t(10)},501:function(e,a,t){"use strict";var
  249. s=t(19),n=t(13),i=t(1148),l=t(191),r=t(76),o=t(500);a.a=Object(s.b)((e)=>Object.assign({},e.summary,e.panel,e.drawer,{is_expanded:e.panel.is_expanded,is_expert:e.panel.is_expert,tab_id:e.panel.tab_id}),(e)=>({actions:Object(n.b)(Object.assign(l,r,o),e)}))(i.a)},52:function(e,a,t){"use
  250. strict";a.d=function(e,a,t){const s={};return
  251. s[a]=t,Object.assign({},e,s)},a.a=function(e,a){return[...e,a]},a.c=function(e,a){return
  252. e.filter((e,t)=>t!==a)},a.e=function(e){const
  253. a=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/;return""!==e&&a.test(e)},a.f=function(e){const
  254. a=/^[a-zA-Z0-9!@#$%^&*=+()<>{}[\];:,./?]{8,50}$/;return""!==e&&a.test(e)},a.b=function(e,a,t){return
  255. new Promise((n,i)=>{const l=new
  256. XMLHttpRequest;l.onload=function(){200<=l.status&&400>l.status?n(JSON.parse(l.responseText)):(Object(s.c)("doXHR
  257. error",l.statusText),i(new
  258. Error(l.statusText)))},l.onerror=function(e){Object(s.c)("doXHR
  259. network error",e),i(new Error(e))},Object(s.c)("doXHR
  260. request",e,a,t),l.open(e,a,!0),l.setRequestHeader("Content-Type","application/json"),l.setRequestHeader("Accept","application/json"),l.overrideMimeType("application/json"),l.send(t)})};var
  261. s=t(4)},584:function(e,a,t){"use strict";var s=t(1),n=t.n(s);class i extends
  262. n.a.Component{render(){return n.a.createElement("div",{className:"row
  263. not-scanned-wrapper"},n.a.createElement("div",{className:"columns
  264. text-center"},n.a.createElement("div",{className:"title"},function(e,a){return
  265. chrome.i18n.getMessage(e,a)}("summary_page_not_scanned")),n.a.createElement("div",{className:"text"},function(e,a){return
  266. chrome.i18n.getMessage(e,a)}("summary_description_not_scanned_1"),n.a.createElement("br",null),n.a.createElement("br",null),function(e,a){return
  267. --
  268. o.num_blocked=0,o.trackers.forEach((e)=>{if(e.shouldShow){if(e.id===a.data.app_id){e.blocked=n;let
  269. a=e.id;n?l[a]=1:delete
  270. l[a]}e.blocked&&o.num_blocked++}}),Object(i.a)("setPanelData",{selected_app_ids:l}),{categories:r,selected_app_ids:l}};var
  271. s=t(4),n=t(52),i=t(10)}},[1137]); Binary file ./dist/ghostery_dot_com.js
  272. matches -- ./dist/css/setup.css-*/ ./dist/css/setup.css-@font-face {
  273. ./dist/css/setup.css- font-family: 'Roboto'; ./dist/css/setup.css-
  274. font-style: normal; ./dist/css/setup.css- font-weight: 400;
  275. ./dist/css/setup.css: src: local("Roboto"), local("Roboto-Regular"),
  276. format("woff"); } ./dist/css/setup.css- ./dist/css/setup.css-/**
  277. ./dist/css/setup.css- * Ghostery Brand Colors ./dist/css/setup.css- *
  278. ./dist/css/setup.css- * Imported by default in _settings.scss. Taken from
  279. -- ./dist/content_script_bundle.js- ./dist/content_script_bundle.js-
  280. if (parent) { ./dist/content_script_bundle.js-
  281. parent.removeChild(currentScript); ./dist/content_script_bundle.js- }
  282. ./dist/content_script_bundle.js- })(); ./dist/content_script_bundle.js:
  283. `,o=e.createElement('script');o.type='text/javascript',o.id='cliqz-adblocker-script',o.appendChild(e.createTextNode(a));const
  284. t=e.head||e.documentElement;t.appendChild(o)}function t($,e){const
  285. a=new RegExp($);e.addEventListener('beforescriptexecute',($)=>{const
  286. --
  287. be($,e,a){return a?H$($,e):Y$($,e)}function ye($,e,a){const
  288. o=$.indexOf('*',e),t=$.indexOf('^',e);return-1!==o&&o<a||-1!==t&&t<a}function
  289. ve($){const e=$;let
  290. a=1572864,o=null,t=null,i='',n='',s='',r=!1,l=0,u=e.length;K$(e,'@@')&&(l+=2,a=H$(a,134217728));const
  291. d=e.indexOf('$',l);if(-1!==d){u=d;const
  292. $=e.substr(d+1),o=$.split(',');for(let $=0;$<o.length;$+=1){const
  293. e=o[$];let t=!1,l=e;K$(l,'~')?(t=!0,l=l.substr(1)):t=!1;let
  294. u=[];if(-1!==l.indexOf('=')){const
  295. $=l.split('=',2);l=$[0],u=$[1].split('|')}switch(l){case'domain':{const
  296. $=[],e=[];for(let a=0;a<u.length;a+=1){const
  297. o=u[a];o&&(K$(o,'~')?e.push(o.substr(1)):$.push(o))}0<$.length&&(i=$.join('|')),0<e.length&&(n=e.join('|'));break}case'image':r=!0,a=be(a,1,!t);break;case'media':r=!0,a=be(a,2,!t);break;case'object':r=!0,a=be(a,4,!t);break;case'object-subrequest':r=!0,a=be(a,8,!t);break;case'other':r=!0,a=be(a,16,!t);break;case'ping':r=!0,a=be(a,32,!t);break;case'script':r=!0,a=be(a,64,!t);break;case'stylesheet':r=!0,a=be(a,128,!t);break;case'subdocument':r=!0,a=be(a,256,!t);break;case'xmlhttprequest':r=!0,a=be(a,1024,!t);break;case'websocket':r=!0,a=be(a,512,!t);break;case'font':r=!0,a=be(a,8192,!t);break;case'important':if(t)return
  298. null;a=H$(a,131072);break;case'match-case':if(t)return
  299. null;a=H$(a,262144);break;case'third-party':a=t?Y$(a,524288):Y$(a,1048576);break;case'first-party':a=t?Y$(a,1048576):Y$(a,524288);break;case'collapse':break;case'redirect':if(t)return
  300. null;if(0===u.length)return null;s=u[0];break;default:return
  301. null;}}}if(!1==r&&(a=H$(a,bo)),K$(e,'127.0.0.1'))t=e.substr(e.lastIndexOf('
  302. ')+1),o='',a=Y$(a,8388608),a=H$(a,2097152),a=H$(a,67108864);else{'|'===e[u-1]&&(a=H$(a,33554432),u-=1),V$(e,'||',l)?(a=H$(a,67108864),l+=2):'|'===e[l]&&(a=H$(a,16777216),l+=1),'*'===e.charAt(u-1)&&1<u-l&&(u-=1);const
  303. $=ye(e,l,u);a=be(a,8388608,$);const i=F$(a,67108864);if(!$&&i){const
  304. $=e.indexOf('/',l);-1===$?(t=e.substring(l,u),o=''):(t=e.substring(l,$),l=$)}else
  305. if($&&i){const
  306. $=e.search(vo);-1!==$&&(t=e.substring(l,$),l=$,1==u-l&&'^'===e.charAt(l)?(o='',a=Y$(a,8388608)):a=be(a,8388608,ye(e,l,u)))}}null===o&&(o=e.substring(l,u).toLowerCase());let
  307. c='';null!==t&&(c=t);let
  308. --
  309. o=0,t;o<$.length;o+=1)if(t=$[o],L$(a,t))return t;return
  310. null===e?null:e.length===a.length?null:N$(a,e)},io=function($){var
  311. e=$.lastIndexOf('.');return-1===e?null:$.substr(e+1)},no=function($,e){if($.hasTld(e))return
  312. e;var a=$.suffixLookup(e);return null===a?io(e):a},so=function($,e){return
  313. null===e?null:$.substr(0,$.length-e.length-1)},ro=function($,e){if($.hasTld(e))return!0;var
  314. a=io(e);return
  315. null!==a&&$.hasTld(a)},lo=r.fromJson(la&&ra||la),uo=1,co=2,mo=3,ho=4,go=5,po=B$({}),ko=po.parse,fo=po.getPublicSuffix;const
  316. bo=131071,yo={1:16,2:64,3:1,4:128,5:4,7:256,10:32,11:1024,12:8,13:4096,14:8192,15:2,16:512,17:65536,18:16384,19:32768,20:2048,21:1},vo=/[/^*]/;class
  317. xo{constructor({mask:$,filter:e,optDomains:a,optNotDomains:o,redirect:t,hostname:i,id:n}){this.id=n,this.mask=$,this.filter=e,this.optDomains=a,this.optNotDomains=o,this.redirect=t,this.hostname=i,this.regex=null,this.optDomainsSet=null,this.optNotDomainsSet=null,this.rawLine=null}isCosmeticFilter(){return!1}isNetworkFilter(){return!0}toString(){let
  318. $='';this.isException()&&($+='@@'),this.isHostnameAnchor()&&($+='||'),this.isLeftAnchor()&&($+='|'),this.isRegex()?$+=this.getRegex().source:(this.hasHostname()&&($+=this.getHostname(),$+='^'),$+=this.getFilter());const
  319. e=[];if(this.fromAny()||(this.fromImage()&&e.push('image'),this.fromMedia()&&e.push('media'),this.fromObject()&&e.push('object'),this.fromObjectSubrequest()&&e.push('object-subrequest'),this.fromOther()&&e.push('other'),this.fromPing()&&e.push('ping'),this.fromScript()&&e.push('script'),this.fromStylesheet()&&e.push('stylesheet'),this.fromSubdocument()&&e.push('subdocument'),this.fromWebsocket()&&e.push('websocket'),this.fromXmlHttpRequest()&&e.push('xmlhttprequest'),this.fromFont()&&e.push('font')),this.isImportant()&&e.push('important'),this.isRedirect()&&e.push(`redirect=${this.getRedirect()}`),this.firstParty()!==this.thirdParty()&&(this.firstParty()&&e.push('first-party'),this.thirdParty()&&e.push('third-party')),this.hasOptDomains()||this.hasOptNotDomains()){const
  320. $=[...this.getOptDomains()];this.getOptNotDomains().forEach((e)=>$.push(`~${e}`)),e.push(`domain=${$.join('|')}`)}return
  321. 0<e.length&&($+=`$${e.join(',')}`),this.isRightAnchor()&&($+='|'),$}hasFilter(){return!!this.filter}hasOptNotDomains(){return!!this.optNotDomains}getOptNotDomains(){return
  322. this.optNotDomainsSet=this.optNotDomainsSet||fe(this.optNotDomains),this.optNotDomainsSet}hasOptDomains(){return!!this.optDomains}getOptDomains(){return
  323. this.optDomainsSet=this.optDomainsSet||fe(this.optDomains),this.optDomainsSet}getMask(){return
  324. this.mask}isRedirect(){return!!this.redirect}getRedirect(){return
  325. this.redirect}hasHostname(){return!!this.hostname}getHostname(){return
  326. this.hostname}getFilter(){return
  327. this.filter}setRegex($){this.regex=$,this.mask=H$(this.mask,8388608),this.mask=Y$(this.mask,4194304)}getRegex(){return
  328. null===this.regex&&(this.regex=ke(this.filter,this.isRightAnchor(),this.isLeftAnchor(),this.matchCase())),this.regex}getTokens(){return
  329. $e(this.filter).concat($e(this.hostname))}isCptAllowed($){const
  330. --
  331. F$(this.mask,8388608)}isPlain(){return!F$(this.mask,8388608)}isHostname(){return
  332. F$(this.mask,2097152)}fromAny(){return(this.mask&bo)==bo}thirdParty(){return
  333. F$(this.mask,524288)}firstParty(){return
  334. F$(this.mask,1048576)}fromImage(){return
  335. F$(this.mask,1)}fromMedia(){return F$(this.mask,2)}fromObject(){return
  336. F$(this.mask,4)}fromObjectSubrequest(){return
  337. F$(this.mask,8)}fromOther(){return F$(this.mask,16)}fromPing(){return
  338. F$(this.mask,32)}fromScript(){return F$(this.mask,64)}fromStylesheet(){return
  339. F$(this.mask,128)}fromSubdocument(){return
  340. F$(this.mask,256)}fromWebsocket(){return
  341. F$(this.mask,512)}fromXmlHttpRequest(){return
  342. F$(this.mask,1024)}fromFont(){return F$(this.mask,8192)}}class
  343. wo{constructor({mask:$,selector:e,hostnames:a,id:o}){this.id=o,this.mask=$,this.selector=e,this.hostnames=a,this.hostnamesArray=null,this.rawLine=null}isCosmeticFilter(){return!0}isNetworkFilter(){return!1}toString(){let
  344. $='';return
  345. this.hasHostnames()&&($+=this.hostnames),$+=this.isUnhide()?'#@#':'##',this.isScriptInject()?($+='script:inject(',$+=this.selector,$+=')'):this.isScriptBlock()?($+='script:contains(',$+=this.selector,$+=')'):$+=this.selector,$}getTokensSelector(){if(this.isScriptInject()||this.isScriptBlock())return[];const
  346. $=this.selector.lastIndexOf('>');return-1===$?ee(this.selector):ee(this.selector.substr($))}getSelector(){return
  347. this.selector}hasHostnames(){return!!this.hostnames}getHostnames(){return
  348. null===this.hostnamesArray&&(this.hasHostnames()?this.hostnamesArray=this.hostnames.split(',').sort(($,e)=>$.length>e.length?-1:$.length<e.length?1:0):this.hostnamesArray=[]),this.hostnamesArray}isUnhide(){return
  349. F$(this.mask,1)}isScriptInject(){return
  350. F$(this.mask,2)}isScriptBlock(){return F$(this.mask,4)}}const zo=/\s/;class
  351. jo{constructor($,e,{optimizer:a=Ae,multiKeys:o=!1}={}){this.index=new
  352. --
  353. new Error("build: this should be implemented on the
  354. inherited classes")}destroy(){}getExprValue(){throw
  355. new Error("getExprValue: this should be implemented on the inherited
  356. classes")}_buildHashID(){if(!this.hash_id&&this.data&&this.data.raw_op)try{this.hash_id=(0,r.hashString)(JSON.stringify(this.data.raw_op))}catch(e){s.default.error(`Error
  357. building the hash: ${e}`),s.default.error(`Error
  358. building the hash for trigger id:
  359. ${this.data.parent_trigger.trigger_id}`),this.hash_id=null}}}},,,function(e,t,a){"use
  360. strict";function
  361. r(e,t,a,r,n,s,i,d,l){if("GET"===e&&t.startsWith("chrome://")&&c.chromeUrlHandler)return
  362. void(0,c.chromeUrlHandler)(t,a,r);const
  363. f=(0,u.XMLHttpRequestFactory)();var g=new f;return g.timestamp=+new
  364. Date,l&&(0,u.setBackgroundRequest)(g),g.open(e,t,!i),(0,u.setPrivateFlags)(g),g.overrideMimeType&&g.overrideMimeType("application/json"),g.setRequestHeader("Content-Type","application/json"),d&&g.setRequestHeader("Content-Encoding",d),g.onload=function(){if(parseInt){var
  365. e=parseInt(g.status/100);if(2==e||3==e||0==e)a&&a(g);else{const
  366. e=`loaded with non-200 ${t} (status=${g.status} ${g.statusText})
  367. CLIQZEnvironment.httpHandler`;o.default.log(e),r&&r(e)}}},g.onerror=function(){const
  368. e=`error loading ${t} (status=${g.status} ${g.statusText})
  369. CLIQZEnvironment.httpHandler`;o.default.log(e),r&&r(e)},g.ontimeout=function(){const
  370. e=`timeout for ${t}
  371. CLIQZEnvironment.httpHandler`;o.default.log(e),r&&r(e)},a&&(n?g.timeout=parseInt(n):g.timeout=0<=["POST","PUT"].indexOf(e)?1e4:1e3),g.send(s),g}function
  372. n(){return f(...arguments)}function s(e){return
  373. g&&!p.has(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Response=t.Request=t.Headers=t.fetch=void
  374. --
  375. T(e,t,a,r){let n=e;return
  376. n=n.replace(/([|.$+?{}()[\]\\])/g,"\\$1"),n=n.replace(/\*/g,".*"),n=n.replace(/\^/g,"(?:[^\\w\\d_.%-]|$)"),t&&(n=`${n}$`),a&&(n=`^${n}`),r?new
  377. RegExp(n):new RegExp(n,"i")}function
  378. D(e){return new Set(e?e.split("|"):[])}function
  379. L(e,t,a){return a?n(e,t):s(e,t)}function w(e,t,a){const
  380. r=e.indexOf("*",t),n=e.indexOf("^",t);return-1!==r&&r<a||-1!==n&&n<a}Object.defineProperty(t,"__esModule",{value:!0});const
  381. I=131071,C={1:16,2:64,3:1,4:128,5:4,7:256,10:32,11:1024,12:8,13:4096,14:8192,15:2,16:512,17:65536,18:16384,19:32768,20:2048,21:1},M=/[/^*]/;class
  382. O{constructor(e){let
  383. t=e.mask,a=e.filter,r=e.optDomains,n=e.optNotDomains,s=e.redirect,i=e.hostname,d=e.id;this.id=d,this.mask=t,this.filter=a,this.optDomains=r,this.optNotDomains=n,this.redirect=s,this.hostname=i,this.regex=null,this.optDomainsSet=null,this.optNotDomainsSet=null,this.rawLine=null}isCosmeticFilter(){return!1}isNetworkFilter(){return!0}toString(){let
  384. e="";this.isException()&&(e+="@@"),this.isHostnameAnchor()&&(e+="||"),this.isLeftAnchor()&&(e+="|"),this.isRegex()?e+=this.getRegex().source:(this.hasHostname()&&(e+=this.getHostname(),e+="^"),e+=this.getFilter());const
  385. t=[];if(this.fromAny()||(this.fromImage()&&t.push("image"),this.fromMedia()&&t.push("media"),this.fromObject()&&t.push("object"),this.fromObjectSubrequest()&&t.push("object-subrequest"),this.fromOther()&&t.push("other"),this.fromPing()&&t.push("ping"),this.fromScript()&&t.push("script"),this.fromStylesheet()&&t.push("stylesheet"),this.fromSubdocument()&&t.push("subdocument"),this.fromWebsocket()&&t.push("websocket"),this.fromXmlHttpRequest()&&t.push("xmlhttprequest"),this.fromFont()&&t.push("font")),this.isImportant()&&t.push("important"),this.isRedirect()&&t.push(`redirect=${this.getRedirect()}`),this.firstParty()!==this.thirdParty()&&(this.firstParty()&&t.push("first-party"),this.thirdParty()&&t.push("third-party")),this.hasOptDomains()||this.hasOptNotDomains()){const
  386. e=[...this.getOptDomains()];this.getOptNotDomains().forEach((t)=>e.push(`~${t}`)),t.push(`domain=${e.join("|")}`)}return
  387. 0<t.length&&(e+=`$${t.join(",")}`),this.isRightAnchor()&&(e+="|"),e}hasFilter(){return!!this.filter}hasOptNotDomains(){return!!this.optNotDomains}getOptNotDomains(){return
  388. this.optNotDomainsSet=this.optNotDomainsSet||D(this.optNotDomains),this.optNotDomainsSet}hasOptDomains(){return!!this.optDomains}getOptDomains(){return
  389. this.optDomainsSet=this.optDomainsSet||D(this.optDomains),this.optDomainsSet}getMask(){return
  390. this.mask}isRedirect(){return!!this.redirect}getRedirect(){return
  391. this.redirect}hasHostname(){return!!this.hostname}getHostname(){return
  392. this.hostname}getFilter(){return
  393. this.filter}setRegex(e){this.regex=e,this.mask=n(this.mask,8388608),this.mask=s(this.mask,4194304)}getRegex(){return
  394. null===this.regex&&(this.regex=T(this.filter,this.isRightAnchor(),this.isLeftAnchor(),this.matchCase())),this.regex}getTokens(){return
  395. g(this.filter).concat(g(this.hostname))}isCptAllowed(e){const
  396. --
  397. r(this.mask,262144)}isImportant(){return r(this.mask,131072)}isRegex(){return
  398. r(this.mask,8388608)}isPlain(){return!r(this.mask,8388608)}isHostname(){return
  399. r(this.mask,2097152)}fromAny(){return(this.mask&I)==I}thirdParty(){return
  400. r(this.mask,524288)}firstParty(){return r(this.mask,1048576)}fromImage(){return
  401. r(this.mask,1)}fromMedia(){return r(this.mask,2)}fromObject(){return
  402. r(this.mask,4)}fromObjectSubrequest(){return r(this.mask,8)}fromOther(){return
  403. r(this.mask,16)}fromPing(){return r(this.mask,32)}fromScript(){return
  404. r(this.mask,64)}fromStylesheet(){return
  405. r(this.mask,128)}fromSubdocument(){return
  406. r(this.mask,256)}fromWebsocket(){return
  407. r(this.mask,512)}fromXmlHttpRequest(){return
  408. r(this.mask,1024)}fromFont(){return
  409. r(this.mask,8192)}}t.ReverseIndex=class{constructor(e,t){var
  410. r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:{},n=r.optimizer;let
  411. s=n===void 0?a:n;var i=r.multiKeys;this.index=new
  412. Map,this.size=0,this.optimizer=s,this.getTokens=t,this.multiKeys=i!==void
  413. 0&&i||!1,this.addFilters(e||[])}iterMatchingFilters(e,t){for(let
  414. a=0;a<e.length;a+=1)if(!1===this.iterBucket(e[a],t))return;this.iterBucket(0,t)}report(){const
  415. e=new Map;let t="";return this.index.forEach((a,r)=>{const
  416. n=a.filters;e.set(n.length,(e.get(n.length)||0)+1),5<length&&(t=t.concat(`adblocker
  417. size bucket "${r}" =>
  418. --
  419. 0){a.hit+=1,this.optimize(a);const e=a.filters;for(let
  420. a=0;a<e.length;a+=1)if(!1===t(e[a]))return!1}return!0}},t.matchNetworkFilter=function(e,t){return
  421. S(e,t)&&R(e,t)},t.parseNetworkFilter=function(e){const t=e;let
  422. a=1572864,l=null,u=null,c="",f="",g="",p=!1,h=0,_=t.length;o(t,"@@")&&(h+=2,a=n(a,134217728));const
  423. m=t.indexOf("$",h);if(-1!==m){_=m;const
  424. e=t.substr(m+1),r=e.split(",");for(let e=0;e<r.length;e+=1){const
  425. t=r[e];let i=!1,d=t;o(d,"~")?(i=!0,d=d.substr(1)):i=!1;let
  426. l=[];if(-1!==d.indexOf("=")){const
  427. e=d.split("=",2);d=e[0],l=e[1].split("|")}switch(d){case"domain":{const
  428. e=[],t=[];for(let a=0;a<l.length;a+=1){const
  429. r=l[a];r&&(o(r,"~")?t.push(r.substr(1)):e.push(r))}0<e.length&&(c=e.join("|")),0<t.length&&(f=t.join("|"));break}case"image":p=!0,a=L(a,1,!i);break;case"media":p=!0,a=L(a,2,!i);break;case"object":p=!0,a=L(a,4,!i);break;case"object-subrequest":p=!0,a=L(a,8,!i);break;case"other":p=!0,a=L(a,16,!i);break;case"ping":p=!0,a=L(a,32,!i);break;case"script":p=!0,a=L(a,64,!i);break;case"stylesheet":p=!0,a=L(a,128,!i);break;case"subdocument":p=!0,a=L(a,256,!i);break;case"xmlhttprequest":p=!0,a=L(a,1024,!i);break;case"websocket":p=!0,a=L(a,512,!i);break;case"font":p=!0,a=L(a,8192,!i);break;case"important":if(i)return
  430. null;a=n(a,131072);break;case"match-case":if(i)return
  431. null;a=n(a,262144);break;case"third-party":a=i?s(a,524288):s(a,1048576);break;case"first-party":a=i?s(a,1048576):s(a,524288);break;case"collapse":break;case"redirect":if(i)return
  432. null;if(0===l.length)return null;g=l[0];break;default:return
  433. null;}}}if(!1==p&&(a=n(a,I)),o(t,"127.0.0.1"))u=t.substr(t.lastIndexOf("
  434. ")+1),l="",a=s(a,8388608),a=n(a,2097152),a=n(a,67108864);else{"|"===t[_-1]&&(a=n(a,33554432),_-=1),i(t,"||",h)?(a=n(a,67108864),h+=2):"|"===t[h]&&(a=n(a,16777216),h+=1),"*"===t.charAt(_-1)&&1<_-h&&(_-=1);const
  435. e=w(t,h,_);a=L(a,8388608,e);const d=r(a,67108864);if(!e&&d){const
  436. e=t.indexOf("/",h);-1===e?(u=t.substring(h,_),l=""):(u=t.substring(h,e),h=e)}else
  437. if(e&&d){const
  438. e=t.search(M);-1!==e&&(u=t.substring(h,e),h=e,1==_-h&&"^"===t.charAt(h)?(l="",a=s(a,8388608)):a=L(a,8388608,w(t,h,_)))}}null===l&&(l=t.substring(h,_).toLowerCase());let
  439. y="";null!==u&&(y=u);let
  440. --
  441. strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e){this.maxSize=e,this.reset=()=>{this.cache=new
  442. Map,this.head=null,this.tail=null,this.size=0},this.reset()}has(e){return
  443. this.cache.has(e)}get(e){const
  444. t=this.cache.get(e);return t?(this._touch(t),t.value):void 0}set(e,t){let
  445. a=this.cache.get(e);a?(a.value=t,this._touch(a)):(a=this._newNode(e,t),this.size>=this.maxSize&&(this.cache.delete(this.tail.key),this._remove(this.tail)),this.cache.set(e,a),this._pushFront(a))}_newNode(e,t){return{prev:null,next:null,key:e,value:t}}_touch(e){this._remove(e),this._pushFront(e)}_remove(e){e&&(null===e.prev?this.head=e.next:e.prev.next=e.next,null===e.next?this.tail=e.prev:e.next.prev=e.prev,this.size-=1)}_pushFront(e){e&&(e.prev=null,e.next=this.head,null!==this.head&&(this.head.prev=e),this.head=e,null===this.tail&&(this.tail=e),this.size+=1)}}},function(e,t,a){"use
  446. strict";Object.defineProperty(t,"__esModule",{value:!0});var
  447. r=a(611),n=function(e){return
  448. e&&e.__esModule?e:{default:e}}(r);t.default=n.default},,,,,,,,,,,,function(e,t){"use
  449. strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={gw:"cc",gu:"cc",gt:"cc",gs:"cc",gr:"cc",gq:"cc",gp:"cc",dance:"na",tienda:"na",gy:"cc",gg:"cc",gf:"cc",ge:"cc",gd:"cc",gb:"cc",ga:"cc",edu:"na",gn:"cc",gm:"cc",gl:"cc",公司:"na",gi:"cc",gh:"cc",tz:"cc",zone:"na",tv:"cc",tw:"cc",tt:"cc",immobilien:"na",tr:"cc",tp:"cc",tn:"cc",to:"cc",tl:"cc",bike:"na",tj:"cc",tk:"cc",th:"cc",tf:"cc",tg:"cc",td:"cc",tc:"cc",coop:"na",онлайн:"na",cool:"na",ro:"cc",vu:"cc",democrat:"na",guitars:"na",qpon:"na",срб:"cc",zm:"cc",tel:"na",futbol:"na",za:"cc",بازار:"na",рф:"cc",zw:"cc",blue:"na",mu:"cc",ไทย:"cc",asia:"na",marketing:"na",测试:"na",international:"na",net:"na",新加坡:"cc",okinawa:"na",பரிட்சை:"na",טעסט:"na",삼성:"na",sexy:"na",institute:"na",台灣:"cc",pics:"na",公益:"na",机构:"na",social:"na",domains:"na",香港:"cc",集团:"na",limo:"na",мон:"cc",tools:"na",nagoya:"na",properties:"na",camera:"na",today:"na",club:"na",company:"na",glass:"na",berlin:"na",me:"cc",md:"cc",mg:"cc",mf:"cc",ma:"cc",mc:"cc",tokyo:"na",mm:"cc",ml:"cc",mo:"cc",mn:"cc",mh:"cc",mk:"cc",cat:"na",reviews:"na",mt:"cc",mw:"cc",mv:"cc",mq:"cc",mp:"cc",ms:"cc",mr:"cc",cab:"na",my:"cc",mx:"cc",mz:"cc",இலங்கை:"cc",wang:"na",estate:"na",clothing:"na",monash:"na",guru:"na",technology:"na",travel:"na",テスト:"na",pink:"na",fr:"cc",테스트:"na",farm:"na",lighting:"na",fi:"cc",fj:"cc",fk:"cc",fm:"cc",fo:"cc",sz:"cc",kaufen:"na",sx:"cc",ss:"cc",sr:"cc",sv:"cc",su:"cc",st:"cc",sk:"cc",sj:"cc",si:"cc",sh:"cc",so:"cc",sn:"cc",sm:"cc",sl:"cc",sc:"cc",sb:"cc",rentals:"na",sg:"cc",se:"cc",sd:"cc",组织机构:"na",shoes:"na",中國:"cc",industries:"na",lb:"cc",lc:"cc",la:"cc",lk:"cc",li:"cc",lv:"cc",lt:"cc",lu:"cc",lr:"cc",ls:"cc",holiday:"na",ly:"cc",coffee:"na",ceo:"na",在线:"na",ye:"cc",إختبار:"na",ninja:"na",yt:"cc",name:"na",moda:"na",eh:"cc",بھارت:"cc",ee:"cc",house:"na",eg:"cc",ec:"cc",vote:"na",eu:"cc",et:"cc",es:"cc",er:"cc",ru:"cc",rw:"cc",ભારત:"cc",rs:"cc",boutique:"na",re:"cc",سورية:"cc",gov:"na",орг:"na",red:"na",foundation:"na",pub:"na",vacations:"na",org:"na",training:"na",recipes:"na",испытание:"na",中文网:"na",support:"na",onl:"na",中信:"na",voto:"na",florist:"na",ලංකා:"cc",қаз:"cc",management:"na",مصر:"cc",آزمایشی:"na",kiwi:"na",academy:"na",sy:"cc",cards:"na",संगठन:"na",pro:"na",kred:"na",sa:"cc",mil:"na",我爱你:"na",agency:"na",みんな:"na",equipment:"na",mango:"na",luxury:"na",villas:"na",政务:"na",singles:"na",systems:"na",plumbing:"na",δοκιμή:"na",تونس:"cc",پاکستان:"cc",gallery:"na",kg:"cc",ke:"cc",বাংলা:"cc",ki:"cc",kh:"cc",kn:"cc",km:"cc",kr:"cc",kp:"cc",kw:"cc",link:"na",ky:"cc",voting:"na",cruises:"na",عمان:"cc",cheap:"na",solutions:"na",測試:"na",neustar:"na",partners:"na",இந்தியா:"cc",menu:"na",arpa:"na",flights:"na",rich:"na",do:"cc",dm:"cc",dj:"cc",dk:"cc",photography:"na",de:"cc",watch:"na",dz:"cc",supplies:"na",report:"na",tips:"na",გე:"cc",bar:"na",qa:"cc",shiksha:"na",укр:"cc",vision:"na",wiki:"na",قطر:"cc",한국:"cc",computer:"na",best:"na",voyage:"na",expert:"na",diamonds:"na",email:"na",wf:"cc",jobs:"na",bargains:"na",移动:"na",jp:"cc",jm:"cc",jo:"cc",ws:"cc",je:"cc",kitchen:"na",ਭਾਰਤ:"cc",ایران:"cc",ua:"cc",buzz:"na",com:"na",uno:"na",ck:"cc",ci:"cc",ch:"cc",co:"cc",cn:"cc",cm:"cc",cl:"cc",cc:"cc",ca:"cc",cg:"cc",cf:"cc",community:"na",cd:"cc",cz:"cc",cy:"cc",cx:"cc",cr:"cc",cw:"cc",cv:"cc",cu:"cc",pr:"cc",ps:"cc",pw:"cc",pt:"cc",holdings:"na",wien:"na",py:"cc",ai:"cc",pa:"cc",pf:"cc",pg:"cc",pe:"cc",pk:"cc",ph:"cc",pn:"cc",pl:"cc",pm:"cc",台湾:"cc",aero:"na",catering:"na",photos:"na",परीक्षा:"na",graphics:"na",فلسطين:"cc",ভারত:"cc",ventures:"na",va:"cc",vc:"cc",ve:"cc",vg:"cc",iq:"cc",vi:"cc",is:"cc",ir:"cc",it:"cc",vn:"cc",im:"cc",il:"cc",io:"cc",in:"cc",ie:"cc",id:"cc",tattoo:"na",education:"na",parts:"na",events:"na",భారత్:"cc",cleaning:"na",kim:"na",contractors:"na",mobi:"na",center:"na",photo:"na",nf:"cc",مليسيا:"cc",wed:"na",supply:"na",网络:"na",сайт:"na",careers:"na",build:"na",الاردن:"cc",bid:"na",biz:"na",السعودية:"cc",gift:"na",дети:"na",works:"na",游戏:"na",tm:"cc",exposed:"na",productions:"na",koeln:"na",dating:"na",christmas:"na",bd:"cc",be:"cc",bf:"cc",bg:"cc",ba:"cc",bb:"cc",bl:"cc",bm:"cc",bn:"cc",bo:"cc",bh:"cc",bi:"cc",bj:"cc",bt:"cc",bv:"cc",bw:"cc",bq:"cc",br:"cc",bs:"cc",post:"na",by:"cc",bz:"cc",om:"cc",ruhr:"na",امارات:"cc",repair:"na",xyz:"na",شبكة:"na",viajes:"na",museum:"na",fish:"na",الجزائر:"cc",hr:"cc",ht:"cc",hu:"cc",hk:"cc",construction:"na",hn:"cc",solar:"na",hm:"cc",info:"na",சிங்கப்பூர்:"cc",uy:"cc",uz:"cc",us:"cc",um:"cc",uk:"cc",ug:"cc",builders:"na",ac:"cc",camp:"na",ae:"cc",ad:"cc",ag:"cc",af:"cc",int:"na",am:"cc",al:"cc",ao:"cc",an:"cc",aq:"cc",as:"cc",ar:"cc",au:"cc",at:"cc",aw:"cc",ax:"cc",az:"cc",ni:"cc",codes:"na",nl:"cc",no:"cc",na:"cc",nc:"cc",ne:"cc",actor:"na",ng:"cc",भारत:"cc",nz:"cc",سودان:"cc",np:"cc",nr:"cc",nu:"cc",xxx:"na",世界:"na",kz:"cc",enterprises:"na",land:"na",المغرب:"cc",中国:"cc",directory:"na"}},function(){"use
  450. strict"},function(e,t){"use
  451. strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XMLHttpRequestFactory=function(){return
  452. XMLHttpRequest},t.setPrivateFlags=function(){},t.setBackgroundRequest=function(){}},function(e,t){"use
  453. strict";Object.defineProperty(t,"__esModule",{value:!0});t.chromeUrlHandler=!1},function(e,t){"use
  454. strict";Object.defineProperty(t,"__esModule",{value:!0});var
  455. a={init(){},stateToQueryString:function(){return"&lang=de,en"},addLocale(){}};t.default=a},function(e,t){"use
  456. strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=crypto},function(e,t){"use
  457. strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlatformAtLeastInVersion=function(){return!0},t.isCliqzAtLeastInVersion=function(){return!0},t.default={isMobile:!1,isFirefox:!1,isChromium:!0,get
  458. isEdge(){try{return
  459. /Edge/.test(navigator.userAgent)}catch(t){return!1}}};t.OS={}},function(e,t,a){"use
  460. strict";function r(e){return
  461. e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguageFromLocale=void
  462. 0,t.getMessage=function(e){let t=1<arguments.length&&void
  463. --
  464. this.whitelist.getState(e)},addPipelineStep(e,t){if(this.initialized){const
  465. a=this.getPipeline(e);null===a?v.default.error("WebRequest
  466. pipeline (add) does not have
  467. stage",e):a.addPipelineStep(t)}},removePipelineStep(e,t){if(this.initialized){const
  468. a=this.getPipeline(e);null===a?v.default.error("WebRequest
  469. pipeline (remove) does not have
  470. stage",e):(a.removePipelineStep(t),0===a.length&&this.unloadPipeline(e))}}}})},function(e,t,a){"use
  471. strict";function r(e){const t=new Map;for(let a=0;a<e.length;a+=1){const
  472. r=e[a];t.set(r.name.toLowerCase(),r.value)}return
  473. t}Object.defineProperty(t,"__esModule",{value:!0});var n=a(82);const
  474. s={other:1,script:2,image:3,stylesheet:4,object:5,main_frame:6,sub_frame:7,xbl:9,ping:10,xmlhttprequest:11,object_subrequest:12,xml_dtd:13,font:14,media:15,websocket:16,csp_report:17,xslt:18,beacon:19,imageset:21,web_manifest:22},i=Object.keys(s).reduce((e,t)=>Object.assign(e,{[s[t]]:t}),{});class
  475. d{constructor(e){this.requestId=e.requestId,this.timeStamp=e.timeStamp,this.method=e.method,this.ip=e.ip,this.error=e.error,this.proxyInfo=e.proxyInfo,this.frameId=e.frameId,this.parentFrameId=e.parentFrameId,this.tabId=e.tabId,this.url=e.url,this._urlParts=null,this.originUrl=e.originUrl,this._originUrlParts=null,this.sourceUrl=e.sourceUrl,this._sourceUrlParts=null,this.trigger=e.trigger||e.originUrl,this.type=e.type,"string"==typeof
  476. e.type?this.typeInt=s[e.type]:(this.typeInt=this.type,this.type=i[e.type]),this.requestHeaders=e.requestHeaders,this._requestHeadersMap=null,this.responseHeaders=e.responseHeaders,this._responseHeadersMap=null,this.isRedirect=e.isRedirect,this.statusCode=e.statusCode,this.fromCache=e.fromCache,this.isPrivate=e.isPrivate||!1}get
  477. urlParts(){return
  478. null===this._urlParts&&(this._urlParts=n.URLInfo.get(this.url)),this._urlParts}get
  479. originUrlParts(){return
  480. null===this._originUrlParts&&(this._originUrlParts=n.URLInfo.get(this.originUrl)),this._originUrlParts}get
  481. sourceUrlParts(){return
  482. null===this._sourceUrlParts&&(this._sourceUrlParts=n.URLInfo.get(this.sourceUrl)),this._sourceUrlParts}getRequestHeader(e){return
  483. this.requestHeaders?(null===this._requestHeadersMap&&(this._requestHeadersMap=r(this.requestHeaders)),this._requestHeadersMap.get(e.toLowerCase())):void
  484. 0}getResponseHeader(e){return
  485. --
  486. data for domain ${a}`),Object(o.c)(i[a]);const
  487. e=i[a].events.splice(0,100);n('POST',r,JSON.stringify(e),function(){Object(o.c)('>>>>
  488. Success>>>'),0===i[a].events.length&&delete i[a]},function(){Object(o.c)('Error
  489. while sending data'),e.map((t)=>i[a].events.push(t))})}else
  490. if(100<=i[a].events.length){Object(o.c)(`Push data
  491. for domain ${a}`),Object(o.c)(i[a]),Object(o.c)('>>>>>
  492. length of data being sent; '+i[a].events.length);const
  493. e=i[a].events.splice(0,100);n('POST',r,JSON.stringify(e),function(){Object(o.c)('>>>>
  494. Success>>>'),0===i[a].events.length&&delete i[a]},function(){Object(o.c)('Error
  495. while sending data'),e.map((t)=>i[a].events.push(t))})}})}function
  496. n(e,t,a,s,n,i){const r=new XMLHttpRequest;return
  497. r.open(e,t,!0),r.setRequestHeader('Content-Type','application/json'),r.setRequestHeader('Accept','application/json'),r.onload=function(){200!==r.status&&0!==r.status&&204!==r.status?(Object(o.c)(`loaded
  498. with non-200 ${t} status=
  499. ${r.status}`),n()):s(r)},r.onerror=function(){Object(o.c)(`error loading
  500. ${t} status= ${r.status}`),n()},r.ontimeout=function(){Object(o.c)(`timeout for
  501. ${t}`),n()},s&&(i?r.timeout=parseInt(i):r.timeout='POST'===e?3e4:1e3),r.send(a),r}var
  502. o=a(4);const
  503. i={},r='https://l.ghostery.com/api/census',d={pacemakerID:setInterval(function(){d.counter+=1,Object(o.c)(`Pacemaker
  504. ${d.counter}`),0==d.counter%60&&s()},1e3,null),counter:0,record:function(e,t){i.hasOwnProperty(t)||(i[t]={events:[],ts:null}),i[t].events.push(e),i[t].ts=Date.now(),Object(o.c)(`Length
  505. >>>>
  506. ${JSON.stringify(i)}`)},unload:function(){d.pacemakerID.cancel()}};t.a=d},1104:function(e,t,a){'use
  507. --
  508. r.body;const d=new Request(t,r);return fetch(d).then((e)=>{const
  509. a=e.headers.get('content-type');return
  510. e.ok?204!==e.status&&(a&&a.includes('application/json')?e.json():a&&a.includes('text/html')?e.text():e.text()):Promise.reject(new
  511. Error(`Failed to fetch ${t} with status ${e.status}
  512. (${e.statusText})`))}).then((e)=>{if('string'==typeof
  513. e&&e.includes('{'))try{return Object(p.c)('_fetchJson
  514. resolved',e?JSON.parse(e):{}),e?JSON.parse(e):{}}catch(e){return
  515. Object(p.c)('_fetchJson error',e),Promise.reject(new Error(e))}else return
  516. e}).catch((e)=>(Object(p.c)(`_fetchJson Error: ${e}`),Promise.reject(new
  517. Error(e))))}return new Promise(function(n,o){const i=new
  518. XMLHttpRequest;if(i.onload=function(){if(!(200<=i.status&&400>i.status))Object(p.c)('_fetchJson
  519. error',i.statusText),o(new
  520. Error(i.statusText));else if(204===i.status)n(!1);else
  521. if(i.responseText.includes('{'))try{Object(p.c)('_fetchJson
  522. resolved',i.responseText?JSON.parse(i.responseText):{}),n(i.responseText?JSON.parse(i.responseText):{})}catch(e){Object(p.c)('_fetchJson
  523. error',e),o(new Error(e))}else
  524. n(i.responseText)},i.onerror=function(e){Object(p.c)('_fetchJson
  525. network error',e),o(new Error(e))},Object(p.c)('_fetchJson
  526. request',e,t,a,s),i.open(e,t,!0),i.setRequestHeader('Content-Type','application/json'),i.setRequestHeader('Accept','application/json'),s)for(let[e,t]of
  527. Object(p.d)(s))i.setRequestHeader(e,t);i.overrideMimeType('application/json'),i.send(a)})}t.r=s,t.a=function(e,t,a){Object(p.c)('IN
  528. BROADCAST
  529. --
  530. a&&a(chrome.runtime.lastError)):e&&'function'==typeof
  531. t&&t(e)})},t.g=n,t.n=function(e){b?chrome.tabs.create({url:e.url,active:e.become_active||!1}):e.tab_id?chrome.tabs.get(e.tab_id,(t)=>{t?chrome.tabs.create({url:e.url,active:e.become_active||!1,openerTabId:t.id,index:t.index+1,windowId:t.windowId}):o(e)}):o(e)},t.o=function(e,t,a){return
  532. r('POST',e,t,a).catch(function(e){return Object(p.c)('postJson
  533. error',e),Promise.reject(e)})},t.h=function(e,t){return
  534. r('GET',e,null,t).catch(function(e){return Object(p.c)('getJson
  535. error',e),Promise.reject(e)})},t.d=function(e){return'function'==typeof
  536. fetch?fetch(e,{type:'image'}).then((t)=>t.ok?t.text():Promise.reject(new
  537. Error(`Failed to fetchLocalImageResource ${e} with status ${t.status}
  538. (${t.statusText})`))).catch((e)=>(Object(p.c)(`fetchLocalImageResource error:
  539. ${e}`),Promise.reject(new Error(e)))):new Promise(function(t,a){const s=new
  540. XMLHttpRequest;s.onload=function(){200<=s.status&&400>s.status?t(s.responseText):(Object(p.c)('fetchLocalImageResource
  541. error',s.statusText),a(new
  542. Error(s.statusText)))},s.onerror=function(e){Object(p.c)('fetchLocalImageResource
  543. network error',e),a(new Error(e))},Object(p.c)('fetchLocalImageResource
  544. request',e),s.open('GET',e,!0),s.overrideMimeType('image/png'),s.send()})},t.e=function(e){return'function'==typeof
  545. fetch?fetch(e).then((t)=>t.ok?t.json():Promise.reject(new
  546. Error(`Failed to fetchLocalJSONResource ${e} with status ${t.status}
  547. (${t.statusText})`))).catch((e)=>(Object(p.c)(`fetchLocalJSONResource error:
  548. ${e}`),Promise.reject(new Error(e)))):new Promise(function(t,a){const s=new
  549. XMLHttpRequest;s.onload=function(){if(200<=s.status&&400>s.status)try{t(s.responseText?JSON.parse(s.responseText):{})}catch(e){Object(p.c)('fetchLocalJSONResource
  550. error',e),a(new Error(e))}else
  551. Object(p.c)('fetchLocalJSONResource error',s.statusText),a(new
  552. Error(s.statusText))},s.onerror=function(e){Object(p.c)('fetchLocalJSONResource
  553. network error',e),a(new Error(e))},Object(p.c)('fetchLocalJSONResource
  554. request',e),s.open('GET',e,!0),s.overrideMimeType('image/png'),s.send()})},t.k=i,t.j=function(e,t=!1){if(_['default'].NOTIFICATIONS_LOADED)return
  555. Promise.resolve(!0);const a=c.a.getTabInfo(e);return
  556. a&&!0===a.prefetched||a.path&&a.path.includes('_/chrome/newtab')||!t&&_['default'].EXCLUDES.includes(a.host)?Promise.resolve(!1):i(e,'dist/notifications.js','','document_start').then(()=>(_['default'].NOTIFICATIONS_LOADED=!0,!0)).catch((e)=>(Object(p.c)('injectNotifications
  557. error',e),!1))},t.l=function(e){return
  558. e&&'cliqz'===e.origin&&'offers'===e.type&&e.data},t.c=function(){try{return
  559. localStorage.setItem('test',!0),localStorage.removeItem('test'),!0}catch(t){return!1}},t.t=function(e){if(Object(p.c)('TRANSFER
  560. --
  561. ${h} ./dist/background.js- extension_version:
  562. ${b}`),_.a.record(o,y.host),this._setCache(f.preCensusCache,u,a,k)}}recordPageInfo(e,t){if(r.a.ghostrank&&!p.a.isSuspiciousDomainName(e)){let
  563. a=p.a.maskURL(e);const
  564. s='https://l.ghostery.com/api/page/?d='+encodeURIComponent(a)+'&l='+t+'&ua='+encodeURIComponent(h);if(Object(c.c)(`\nGhostrank
  565. Page Info: ./dist/background.js- domain:
  566. ${a} ./dist/background.js- page_latency:
  567. ${t} ./dist/background.js: ua:
  568. ${h}`),'function'==typeof fetch){const e=new
  569. Request(s,{referrerPolicy:'no-referrer',credentials:'omit'});fetch(e).catch((e)=>{Object(c.c)('Error
  570. sending Ghostrank Page Info:',e)})}else{const e=new
  571. XMLHttpRequest;e.open('GET',s,!0),e.send()}}}isValidUrl(e){return
  572. e.protocol.startsWith('http')&&e.host.includes('.')&&/[A-Za-z]/.test(e.host)||(Object(c.c)('Ghostrank
  573. data not sent, invalid URL'),!1)}_cleanCaches(){const
  574. e=this._getToday();[f.censusCache,f.preCensusCache].forEach(function(t,a){for(let
  575. s in t)t.hasOwnProperty(s)&&s!==e&&(Object(c.c)('Cleaned
  576. up',1===a?'preCensusCache':'censusCache'),delete
  577. t[s])})}_setCache(e,t,a,s){e[t]||(e[t]={}),e[t][s]||(e[t][s]={}),e[t][s][a]=1}_getToday(){const
  578. e=new Date;return
  579. e.getFullYear()+'-'+e.getMonth()+'-'+e.getDate()}}t.a=f},244:function(e,t,a){'use
  580. strict';function s(){const e={};return A.forEach((t)=>{e[t]=b.a[t]}),e}function
  581. n(e){return p().then(()=>l(e)).catch((e)=>(Object(f.c)('Token
  582. --
  583. e=this._buildMetricsUrl('uninstall');e.length&&chrome.runtime.setUninstallURL(e)}}}_buildMetricsUrl(e,t){const
  584. a='uninstall'===e?'':'/'+t;return'https://'+l+'.ghostery.com/'+e+a+'?gr='+encodeURIComponent(n.a.ghostrank?'1':'0')+'&hw='+encodeURIComponent(p?'0':n.a.enable_human_web?'1':'0')+'&offers='+encodeURIComponent(p?'0':n.a.enable_offers?'1':'0')+'&v='+encodeURIComponent(c)+'&install_rand='+encodeURIComponent(n.a.install_random_number)+'&signed_in='+encodeURIComponent(n.a.login_info.logged_in?'1':'0')+'&install_date='+encodeURIComponent(n.a.install_date)+'&noncritical='+encodeURIComponent(n.a.enable_metrics?'1':'0')+'&purplebox='+encodeURIComponent(n.a.show_alert?n.a.alert_expanded?'1':'2':'0')+'&show_cmp='+encodeURIComponent(n.a.show_cmp?'1':'0')+'&ua='+encodeURIComponent(_.token)+'&os='+encodeURIComponent(_.os)+'&l='+encodeURIComponent(n.a.language)+'&utm_source='+encodeURIComponent(this.utm_source)+'&utm_campaign='+encodeURIComponent(this.utm_campaign)}_sendReq(e,t){if('undefined'==typeof
  585. t&&(t=['all']),!p&&'function'==typeof fetch){var
  586. a=new Headers;a.append('Content-Type','image/gif');var
  587. s={headers:a,referrerPolicy:'no-referrer',credentials:'omit',type:'image'}}t.forEach((t)=>{if(this._checkPing(e,t)){const
  588. a=+new
  589. Date().getTime(),i=this._buildMetricsUrl(e,t),r=n.a.metrics||{};if(r[e+'_'+t]=a,n.a.metrics=r,Object(o.c)(`sending
  590. ${e} ping with ${t} frequency`),!p&&'function'==typeof fetch){const
  591. t=new Request(i,s);fetch(t).catch((t)=>{Object(o.c)(`Error
  592. sending Metrics ${e} ping`,t)})}else{const e=new
  593. XMLHttpRequest;e.open('GET',i,!0),e.setRequestHeader('Content-Type','image/gif'),e.send()}}})}_timeToExpired(e,t){if('all'===t)return
  594. 0;else{const a=n.a.metrics[e+'_'+t],s=a===void 0?0:a,o=+new
  595. Date().getTime(),i=o-r[t];return null===s?0:s-i}}_checkPing(e,t){const
  596. a=this._timeToExpired(e,t);return!(0<a)&&(d.includes(e)||n.a.enable_metrics)}_recordInstall(){n.a.metrics.install_all||this._sendReq('install')}_recordUpgrade(){const
  597. e=n.a.metrics;e.install_all=+new
  598. Date().getTime(),n.a.metrics=e,this._sendReq('upgrade')}_recordActive(){const
  599. e=this._timeToExpired('active','daily');0<e?setTimeout(()=>{this._sendReq('active',['daily']),setInterval(()=>{this._sendReq('active',['daily'])},r.daily)},e):(this._sendReq('active',['daily']),setInterval(()=>{this._sendReq('active',['daily'])},r.daily));const
  600. t=this._timeToExpired('active','weekly');0<t?setTimeout(()=>{this._sendReq('active',['weekly']),setInterval(()=>{this._sendReq('active',['weekly'])},r.weekly)},t):(this._sendReq('active',['weekly']),setInterval(()=>{this._sendReq('active',['weekly'])},r.weekly));const
  601. a=this._timeToExpired('active','monthly');0<a?a<=r.biweekly?setTimeout(()=>{this._sendReq('active',['monthly']),this._repeat()},a):setTimeout(()=>{setTimeout(()=>{this._sendReq('active',['monthly']),this._repeat()},a-r.biweekly)},r.biweekly):(this._sendReq('active',['monthly']),this._repeat())}_repeat(){let
  602. e=!1;setInterval(()=>{e&&this._sendReq('active',['monthly']),e=!e},r.biweekly)}}},495:function(e,t,a){'use
  603. strict';var s=a(22),n=a(2),o=a(23),i=a(4);const
  604. --
  605. if(e.hasOwnProperty('bugsVersion')&&t.version!==e.bugsVersion){const
  606. s=n.a.reduce(e.bugs,function(e,t){return
  607. e[t.aid]=!0,e},{});a=this.updateNewAppIds(t.apps,s),a.length&&(this.applyBlockByDefault(a),t.version>e.bugsVersion&&(l.JUST_UPDATED_WITH_NEW_TRACKERS=!0))}o.a.bugs=t}return
  608. l.categories=this.buildCategories(l),this.db=l,a||Object(r.f)(),!0}}t.a=new
  609. l('bugs')}},[596]); -- ./cliqz/hpn/worker.bundle.js- const core
  610. = { ./cliqz/hpn/worker.bundle.js- // Method that performs
  611. request ./cliqz/hpn/worker.bundle.js- req(method, uri, data,
  612. type) { ./cliqz/hpn/worker.bundle.js- // Creating a promise
  613. ./cliqz/hpn/worker.bundle.js- const promise = new Promise((resolve,
  614. reject) => { ./cliqz/hpn/worker.bundle.js: // Instantiates
  615. the XMLHttpRequest ./cliqz/hpn/worker.bundle.js: const
  616. client = new XMLHttpRequest(); ./cliqz/hpn/worker.bundle.js-
  617. ./cliqz/hpn/worker.bundle.js- client.open(method, uri, true);
  618. ./cliqz/hpn/worker.bundle.js- client.setRequestHeader('x-type',
  619. type || 'delayed'); ./cliqz/hpn/worker.bundle.js-
  620. client.overrideMimeType('application/json'); ./cliqz/hpn/worker.bundle.js-
  621. // client.setRequestHeader("Content-Type", "application/json;charset=utf-8");
  622. -- ./cliqz/core/content-script.bundle.js- options.push('subdocument');
  623. ./cliqz/core/content-script.bundle.js- }
  624. ./cliqz/core/content-script.bundle.js- if
  625. (this.fromWebsocket()) { ./cliqz/core/content-script.bundle.js-
  626. options.push('websocket'); ./cliqz/core/content-script.bundle.js-
  627. } ./cliqz/core/content-script.bundle.js: if
  628. (this.fromXmlHttpRequest()) { ./cliqz/core/content-script.bundle.js:
  629. options.push('xmlhttprequest'); ./cliqz/core/content-script.bundle.js- }
  630. ./cliqz/core/content-script.bundle.js- if (this.fromFont()) {
  631. ./cliqz/core/content-script.bundle.js- options.push('font');
  632. ./cliqz/core/content-script.bundle.js- }
  633. ./cliqz/core/content-script.bundle.js- } --
  634. ./cliqz/core/content-script.bundle.js- return
  635. getBit(this.mask, 256); ./cliqz/core/content-script.bundle.js-
  636. } ./cliqz/core/content-script.bundle.js- fromWebsocket()
  637. { ./cliqz/core/content-script.bundle.js- return
  638. getBit(this.mask, 512); ./cliqz/core/content-script.bundle.js- }
  639. ./cliqz/core/content-script.bundle.js: fromXmlHttpRequest()
  640. { ./cliqz/core/content-script.bundle.js- return
  641. getBit(this.mask, 1024); ./cliqz/core/content-script.bundle.js-
  642. } ./cliqz/core/content-script.bundle.js- fromFont()
  643. { ./cliqz/core/content-script.bundle.js- return
  644. getBit(this.mask, 8192); ./cliqz/core/content-script.bundle.js-
  645. } -- ./cliqz/core/content-script.bundle.js- break;
  646. ./cliqz/core/content-script.bundle.js- case 'subdocument':
  647. ./cliqz/core/content-script.bundle.js- hasCptOption = true;
  648. ./cliqz/core/content-script.bundle.js- mask = setNetworkMask(mask,
  649. 256, !negation); ./cliqz/core/content-script.bundle.js- break;
  650. ./cliqz/core/content-script.bundle.js: case 'xmlhttprequest':
  651. ./cliqz/core/content-script.bundle.js- hasCptOption = true;
  652. ./cliqz/core/content-script.bundle.js- mask = setNetworkMask(mask,
  653. 1024, !negation); ./cliqz/core/content-script.bundle.js- break;
  654. ./cliqz/core/content-script.bundle.js- case 'websocket':
  655. ./cliqz/core/content-script.bundle.js- hasCptOption = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement