diff --git a/.gitignore b/.gitignore index 004aa557..3f1936e2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,6 @@ views/archive ngrok.exe package-lock.json pnpm-lock.yaml -debug.log \ No newline at end of file +debug.log +lib/rammerhead/sessions +lib/rammerhead/cache-js \ No newline at end of file diff --git a/lib/rammerhead/cache-js/.gitkeep b/lib/rammerhead/cache-js/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/lib/rammerhead/cache-js/02f23d233e9c3ff79a227592a1ef39ed b/lib/rammerhead/cache-js/02f23d233e9c3ff79a227592a1ef39ed deleted file mode 100644 index ee6af165..00000000 --- a/lib/rammerhead/cache-js/02f23d233e9c3ff79a227592a1ef39ed +++ /dev/null @@ -1,3 +0,0 @@ -/*hammerhead|script|start*/if (typeof window !== 'undefined' && window){window['hammerhead|process-dom-method'] && window['hammerhead|process-dom-method']();if (window.__get$ && typeof __get$ === 'undefined')var __get$Loc = window.__get$Loc,__set$Loc = window.__set$Loc,__set$ = window.__set$,__get$ = window.__get$,__call$ = window.__call$,__get$Eval = window.__get$Eval,__proc$Script = window.__proc$Script,__proc$Html = window.__proc$Html,__get$PostMessage = window.__get$PostMessage,__get$ProxyUrl = window.__get$ProxyUrl,__rest$Array = window.__rest$Array,__rest$Object = window.__rest$Object,__arrayFrom$ = window.__arrayFrom$;} else {if (typeof __get$ === 'undefined')var __get$Loc = function(l){return l},__set$Loc = function(l,v){return l = v},__set$ = function(o,p,v){return o[p] = v},__get$ = function(o,p){return o[p]},__call$ = function(o,p,a){return o[p].apply(o,a)},__get$Eval = function(e){return e},__proc$Script = function(s){return s},__proc$Html = function(h){return h},__get$PostMessage = function(w,p){return arguments.length===1?w.postMessage:p},__get$ProxyUrl = function(u,d){return u},__rest$Array = function(a,i){return Array.prototype.slice.call(a, i)},__rest$Object = function(o,p){var k=Object.keys(o),n={};for(var i=0;i=100?"":"alpha(opacity="+t+")",n.style.opacity=t/100)}t.__esModule=!0;t.getTime=t.getOffset=t.stopPropagation=t.preventDefault=t.wrap=t.forEach=void 0;var i=sb_ie;t.forEach=s;t.wrap=r;t.preventDefault=u;t.stopPropagation=f;t.getOffset=e;t.getTime=o;window.sj_b=document.body;window.sb_de=document.documentElement;window.sj_wf=r;window.sj_pd=u;window.sj_sp=f;window.sj_go=e;window.sj_ev=h;window.sj_et=c;window.sj_mi=l;window.sj_mo=a;window.sj_we=v;window.sb_gt=o;window.sj_so=p;window.sj_lc=y});define("env",["require","exports","shared"],function(n,t,i){function v(n,t){return t.length&&typeof n=="function"?function(){return n.apply(null,t)}:n}function y(n,t){var e=[].slice.apply(arguments).slice(2),i=v(n,e),u;return typeof i=="function"&&(u=window.setImmediate&&!window.setImmediate.Override&&(!t||t<=16)?"i"+setImmediate(i):o(i,t), __set$(f,r,u) ,r=(r+1)%a),u}function p(n,t){var r=[].slice.apply(arguments).slice(2),i=l(v(n,r),t);return __set$(e,u,i) ,u=(u+1)%a,i}function w(){h.forEach(f,s);h.forEach(e,window.clearInterval);r=u=e.length=f.length=0}function s(n){n!=null&&(typeof n=="string"&&n.indexOf("i")===0?window.clearImmediate(parseInt(n.substr(1),10)):c(n))}var h=i,f=[],e=[],o,c,l,a=1024,r=0,u=0;o=window.setTimeout;t.setTimeout=y;l=window.setInterval;t.setInterval=p;t.clear=w;c=window.clearTimeout;t.clearTimeout=s;window.sb_rst=o;window.setTimeout=window.sb_st=y;window.setInterval=window.sb_si=p;window.clearTimeout=window.sb_ct=s});define("event.custom",["require","exports","shared","env"],function(n,t,i,r){function f(n){return __get$(u,n) ||( __set$(u,n,[]) )}function e(n,t){n.d?l.setTimeout(c.wrap(n,t),n.d):n(t)}function v(n,t,i){var r,f;for(r in u)f=i?t&&r.indexOf(t)===0:!(r.indexOf(a)===0)&&!(t&&r.indexOf(t)===0)&&!(n!=null&& __get$(n,r) !=null),f&&delete u[r]}function o(n){for(var t=f(n),u=t.e=arguments,i,r=0;r0?r*6e4:63072e6,c=new Date((new Date).getTime()+Math.min(h,63072e6)),e="",o;v()&&(o=a(),e=o+(u?";SameSite="+u:";SameSite=None"));document.cookie=n+s+(t?";expires="+c.toGMTString():"")+(i?";path="+i:"")+e}function y(){return _G!==undefined&&_G.EF!==undefined&&_G.EF.empcrumb!==undefined&&_G.EF.empcrumb===1}function o(n,t,r,u,f){if(!i){var o=n+"="+t;e(o,r,u,f)}}function s(){return!i}function r(n,t){var r,u;return i?null:(r=document.cookie.match(new RegExp("\\b"+n+"=[^;]+")),t&&r)?(u=r[0].match(new RegExp("\\b"+t+"=([^&]*)")),u?u[1]:null):r?r[0]:null}function h(n,t,u,f,o,s){var a,h,c,l;i||(h=t+"="+u,c=r(n),c?(l=r(n,t),a=y()?l!==null? __call$(c,"replace",[t+"="+l,h]) :c+"&"+h:l? __call$(c,"replace",[t+"="+l,h]) :c+"&"+h):a=n+"="+h,e(a,f,o,s))}function c(n,t){if(!i){var r=n+"=",e=f();document.cookie=r+e+";expires="+u+(t?";path="+t:"")}}var i,u,l;t.__esModule=!0;t.clear=t.set=t.get=t.areCookiesAccessible=t.setNoCrumbs=void 0;i=!1;u=new Date(0).toGMTString();try{l=document.cookie}catch(p){i=!0}t.setNoCrumbs=o;t.areCookiesAccessible=s;t.get=r;t.set=h;t.clear=c;window.sj_cook={get:r,set:h,setNoCrumbs:o,clear:c,areCookiesAccessible:s}});define("rmsajax",["require","exports"],function(n,t){function a(){for(var i,n=[],t=0;t1)for(i=ci.apply(null,n),f=0;f=400)&&(bt(n.url,"2",{resourceUrl:n.url,pageUrl: __get$(__get$(window,"location"),"href") ,status:r.status,response:r.responseText}),it=!0),t())},r.send()):(u=i.createElement("object"),u.setAttribute("width","0"),u.setAttribute("height","0"),u.setAttribute("tabindex","-1"),u.setAttribute("aria-hidden","true"),u.onload=t,u.onerror=t,u.setAttribute("data",n.url),i.body.appendChild(u))}}function ui(n,t){n.run==u&&(n.state=b,et(t))}function fi(n,t){n.run==u&&st(n,function(n){return function(){ft(n,t)}}(n))}function ft(n,t){n.run==u&&(n.state=l,oi(n),t)&&et(t)}function et(n){for(var i,t=0;tn.pos&&(r.text= __get$(f,n.pos) ,i.body.appendChild(r));else if(h=n.app?g:d,(c=i.getElementById(h))&&(e=c.childNodes)&& __get$(e,n.pos) &&(u= __get$(e,n.pos) .innerHTML,si(e,n.pos),u&&(u===null||u===void 0?void 0:u.length))){var a=4,v=3,o=u.length,y=u.substring(0,a),p=u.substring(o-v,o);y==""&&(u=u.substring(a,o-v));r.text=typeof DefaultTrustedTypesPolicy!="undefined"&&DefaultTrustedTypesPolicy.getOpaqueScript?DefaultTrustedTypesPolicy.getOpaqueScript(u):u;i.body.appendChild(r)}ht(t)}else r.src=n.url,(!wt()||wt()&&li(r.src))&&r.setAttribute("crossorigin","anonymous"),tt||(bt(r.src,"1",{resourceUrl:r.src}),tt=!0),i.body.appendChild(r)}function si(n,t){var i,r,u=(i= __get$(n,t) )===null||i===void 0?void 0:i.getAttribute("rkey"),f=(r= __get$(n,t+1) )===null||r===void 0?void 0:r.getAttribute("rkey");_w.lirab=u;_w.liraa=f}function ht(n){n.done||(n.done=!0,n())}function ct(n){return nt.call(n)=="[object Function]"}function lt(n){return nt.call(n)=="[object Array]"}function at(n,t,i){for(var u,f=new y(i),r=0;r=0}function vi(n){if(h&&h.length>0)for(var t=0;t"],h=_G.CID||sj_cook.get("MUID","MUID"),e,u,o,s,f;h&&r.push("",h,"<\/CID>");e=i.IID+"_"+i.SFX;r.push("",e,"<\/AppNS>");r.push("");r.push("Event.PartialDynamicContent.FrontDoor<\/T>");u=_w.ChatMergeLogHelper;typeof u!="undefined"&&typeof u.getConversationIg=="function"&&e.substring(0,6)==="Codex-"&&(o=u.getConversationIg(!0),o&&r.push("",o,"<\/IG>"));r.push("<\/DS>");r.push("");r.push("",i.Name,"<\/Name>");r.push("",i.Number,"<\/Num>");r.push("",i.IID,"<\/IID>");r.push("",i.SFX,"<\/SFX>");r.push("<\/L>","<\/Page>");r.push("<\/D>","",(new Date).getTime().toString(),"<\/TS>");r.push("<\/E><\/Events>");r.push("<\/ClientInstRequest>");s=r.join("");et(_G.XLS,s)||(f=sj_gx(),f.open("POST",_G.XLS),f.setRequestHeader("Content-type","text/xml"),f.send(s))}function w(n){return __call$(JSON.stringify(n),"replace",[/]]>/g,"]]]\]>"]) }var p,g,i,nt,o,tt,it,rt,ut;t.__esModule=!0;t.LogPartialImpression=t.LogFilterFlare=t.Wrap=t.Log2=t.LogInstrumented=t.Log=t.LogCustomEvent=void 0;var r=n("env"),h=n("event.native"),c=n("event.custom"),f=encodeURIComponent,l="length",a="apply",b=2e3,ht=2e3,v=0,e,k="",ct=_G.lsUrl+"&TYPE=Event.ClientInst&DATA=",y= __get$Loc(location) .hostname,d=y.match(/([^.]+\.[^.]*)$/);d&&(p= __get$Loc(location) .protocol,g=p=="https:"?y.substring(0,y.indexOf(".")):"a4",k=p+"//"+g+"."+d[0]);i={};nt=function(){return new Image},function(n){n.Home="home";n.Search="search";n.Conversation="conversation";n.OffStage="off-stage";n.Notebook="notebook";n.GPTCreator="gpt-creator"}(o||(o={}));tt=function(n,t,i,r){for(var f=[],u=4;u0&&h.length%2==0)for(k=0;k=ht&&(u(),w="");i.hasOwnProperty(y)? __set$(__get$(i,y),e,w+f(w?",":"")+g) : __set$(i,y,(nt={},__set$(nt,e,w+f(w?",":"")+g),nt)) ;s&&u()},lt=function(n,t,i,r){var u= __get$(n,t) ; __set$(n,t,function(){var n=arguments,e,t,f;if(r&&__call$(i,a,[this,n]),e=__call$(u,a,[this,n]),!r){for(t=[],f=0;f=f;i=e+(o-e)*u/f;s&&(t.stop(),i=o);n(c,i);s&&r&&r()};t.getInterval=function(){return s}},sj_fader=function(){return new sj_anim(function(n,t){sj_so(n,t)})},customEvents=require("event.custom");customEvents.bind("onPP",function(){customEvents.fire("onP1Lazy")},!0),function(n){function i(n,t){return typeof __get$(n,t) !="undefined"}function t(){_d.addEventListener("visibilitychange",function(){_d.visibilityState==="visible"&&(i(window,"Log2")&&Log2.LogEvent?Log2.LogEvent("TabFocusChanged","TabFocused",_d.visibilityState,!1):Log&&Log.LogCustomEvent?Log.LogCustomEvent("TabFocusChanged","TabFocused",_d.visibilityState,!0):Log&&Log.Log&&Log.Log("TabFocusChanged","Failed","TabFocusChanged Event not logged"))})}n.LogEventOnTabVisibilityChange=t;sj_evt.bind("onP1",function(){t()},1)}(EventLoggingModule||(EventLoggingModule={})) -/*hammerhead|script|end*/ \ No newline at end of file diff --git a/lib/rammerhead/cache-js/39f6dde00bfd3722e6ea929b8c66ba6c b/lib/rammerhead/cache-js/39f6dde00bfd3722e6ea929b8c66ba6c deleted file mode 100644 index b16c0c8b..00000000 --- a/lib/rammerhead/cache-js/39f6dde00bfd3722e6ea929b8c66ba6c +++ /dev/null @@ -1 +0,0 @@ -{"message":"Route GET:/rp/lVV08F1da0WpM29E8OkhXe0yr9o.br.js not found","error":"Not Found","statusCode":404} \ No newline at end of file diff --git a/lib/rammerhead/cache-js/lru-database.db b/lib/rammerhead/cache-js/lru-database.db deleted file mode 100644 index 9144cb6f..00000000 Binary files a/lib/rammerhead/cache-js/lru-database.db and /dev/null differ diff --git a/lib/rammerhead/sessions/.gitkeep b/lib/rammerhead/sessions/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/lib/rammerhead/sessions/c09a953eca774fceb5f8315dfa57531f.rhfsession b/lib/rammerhead/sessions/c09a953eca774fceb5f8315dfa57531f.rhfsession deleted file mode 100644 index d34bfdc0..00000000 --- a/lib/rammerhead/sessions/c09a953eca774fceb5f8315dfa57531f.rhfsession +++ /dev/null @@ -1 +0,0 @@ -{"data":{"createdAt":1722641644545,"lastUsed":1722641644545,"injectable":{"scripts":["/hammerhead.js","/rammer/rammerhead.js"],"styles":[],"userScripts":[]},"externalProxySettings":null,"shuffleDict":"n2IocOXvENek~V8GW4yR3uHabwSphqimTlKUDJMBxrt9CQzF-j1L06PYZAs7dg5f","cookies":{},"restrictIP":"::1"},"serializedCookieJar":"{\"version\":\"tough-cookie@4.0.0\",\"storeType\":\"MemoryCookieStore\",\"rejectPublicSuffixes\":true,\"cookies\":[]}"} \ No newline at end of file