PageSourceSearch

https://hitman-resources.netlify.app/_app/immutable/nodes/26.LvyaN4Lh.js

js hitman-resources.netlify.app collected 2026-10-03 10:53:01 UTC 3,863 bytes, 1 lines download raw bytes

1import{s as H,e as m,a as I,A as L,c as p,f as d,g as D,b as y,p as E,q as _,h as b,i as g,k as Y,n as A,t as R,d as S,j as q}from"../chunks/scheduler.UnVl0nqd.js";import{S as F,i as N,b as T,e as P,t as j,g as z,c as G,a as J,m as K,d as O}from"../chunks/index.IRDmqsaq.js";import{p as Q}from"../chunks/stores.b4BDMMs1.js";import{B as U,A as W}from"../chunks/ArrowRight.5LlFQLHw.js";import{s as X}from"../chunks/smf.XfvX6Bcf.js";function Z(f){let e,l="The Mod Manager has been opened! You can close this page.",o,r,a="Didn't get a popup? You may need to change your browser settings, or try a different one.";return{c(){e=m("div"),e.textContent=l,o=I(),r=m("div"),r.textContent=a,this.h()},l(t){e=p(t,"DIV",{class:!0,"data-svelte-h":!0}),E(e)!=="svelte-1sdg3d3"&&(e.textContent=l),o=D(t),r=p(t,"DIV",{class:!0,"data-svelte-h":!0}),E(r)!=="svelte-dy1jee"&&(r.textContent=a),this.h()},h(){_(e,"class","text-xl"),_(r,"class","text-sm")},m(t,h){g(t,e,h),g(t,o,h),g(t,r,h)},p:A,i:A,o:A,d(t){t&&(d(e),d(o),d(r))}}}function ee(f){let e,l,o="You're downloading a mod from:",r,a,t=f[1].params.file+"",h,k,$,w,c,i,v;return i=new U({props:{icon:W,$$slots:{default:[te]},$$scope:{ctx:f}}}),i.$on("click",f[2]),{c(){e=m("div"),l=m("div"),l.textContent=o,r=I(),a=m("a"),h=R(t),$=I(),w=m("br"),c=I(),G(i.$$.fragment),this.h()},l(s){e=p(s,"DIV",{});var n=y(e);l=p(n,"DIV",{class:!0,"data-svelte-h":!0}),E(l)!=="svelte-tjltbk"&&(l.textContent=o),r=D(n),a=p(n,"A",{class:!0,href:!0});var C=y(a);h=S(C,t),C.forEach(d),n.forEach(d),$=D(s),w=p(s,"BR",{}),c=D(s),J(i.$$.fragment,s),this.h()},h(){_(l,"class","text-lg"),_(a,"class","text-sm break-all"),_(a,"href",k=f[1].params.file)},m(s,n){g(s,e,n),b(e,l),b(e,r),b(e,a),b(a,h),g(s,$,n),g(s,w,n),g(s,c,n),K(i,s,n),v=!0},p(s,n){(!v||n&2)&&t!==(t=s[1].params.file+"")&&q(h,t),(!v||n&2&&k!==(k=s[1].params.file))&&_(a,"href",k);const C={};n&8&&(C.$$scope={dirty:n,ctx:s}),i.$set(C)},i(s){v||(j(i.$$.fragment,s),v=!0)},o(s){T(i.$$.fragment,s),v=!1},d(s){s&&(d(e),d($),d(w),d(c)),O(i,s)}}}function te(f){let e;return{c(){e=R("Continue")},l(l){e=S(l,"Continue")},m(l,o){g(l,e,o)},d(l){l&&d(e)}}}function se(f){let e,l,o,r,a,t,h=`<img src="${X}" class="h-[2em]" alt="Simple Mod Framework logo"/> <div><div>Simple Mod Framework</div> <div class="text-2xl font-light">Installing mod</div></div>`,k,$,w,c,i,v;const s=[ee,Z],n=[];function C(u,x){return u[0]===1?0:1}return c=C(f),i=n[c]=s[c](f),{c(){e=m("meta"),l=I(),o=m("div"),r=m("div"),a=m("div"),t=m("div"),t.innerHTML=h,k=I(),$=m("br"),w=I(),i.c(),this.h()},l(u){const x=L("svelte-6n12kn",document.head);e=p(x,"META",{name:!0,content:!0}),x.forEach(d),l=D(u),o=p(u,"DIV",{class:!0});var M=y(o);r=p(M,"DIV",{class:!0});var B=y(r);a=p(B,"DIV",{class:!0});var V=y(a);t=p(V,"DIV",{class:!0,"data-svelte-h":!0}),E(t)!=="svelte-1brpaeh"&&(t.innerHTML=h),k=D(V),$=p(V,"BR",{}),w=D(V),i.l(V),V.forEach(d),B.forEach(d),M.forEach(d),this.h()},h(){document.title="Installing a mod",_(e,"name","description"),_(e,"content","Resources for modding HITMAN 3."),_(t,"class","flex items-center gap-4 text-4xl font-bold"),_(a,"class","bg-neutral-800 rounded p-8 w-1/3 text-white drop-shadow-xl"),_(r,"class","h-full w-full flex items-center justify-center"),_(o,"class","h-screen w-screen bg-gradient-to-br from-teal-100 to-blue-200")},m(u,x){b(document.head,e),g(u,l,x),g(u,o,x),b(o,r),b(r,a),b(a,t),b(a,k),b(a,$),b(a,w),n[c].m(a,null),v=!0},p(u,[x]){let M=c;c=C(u),c===M?n[c].p(u,x):(z(),T(n[M],1,1,()=>{n[M]=null}),P(),i=n[c],i?i.p(u,x):(i=n[c]=s[c](u),i.c()),j(i,1),i.m(a,null))},i(u){v||(j(i),v=!0)},o(u){T(i),v=!1},d(u){u&&(d(l),d(o)),d(e),n[c].d()}}}function le(f,e,l){let o;Y(f,Q,t=>l(1,o=t));let r=1;return[r,o,()=>{window.location.href="simple-mod-framework://install/"+o.params.file+o.url.search,l(0,r=2)}]}class ce extends F{constructor(e){super(),N(this,e,le,se,H,{})}}export{ce as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.