PageSourceSearch

https://jasapembayaran.com/_nuxt/BlHcPf2a.js

js jasapembayaran.com collected 2026-10-06 08:02:12 UTC 3,370 bytes, 1 lines download raw bytes

1import{h as $,b8 as M,r as m,a as B,L as S,w as P,aY as L,X as d,R as E,p as i,v as c,ak as Y,Y as g,Z as z,a_ as h,ag as k,aP as D}from"./Bt_HK4X0.js";const F={key:0,class:"absolute pointer-events-none z-[-1] inset-y-0 inset-x-5 sm:inset-x-7 lg:inset-x-9 overflow-hidden"},G=$({__name:"StarsBg",props:{starCount:{default:350},baseColor:{default:"var(--ui-primary)"},speed:{default:"normal"},size:{default:()=>({min:1,max:3.5})},enableParallax:{type:Boolean,default:!0},enableTwinkle:{type:Boolean,default:!0},enableGlow:{type:Boolean,default:!0}},setup(_){const a=_,v=M("smartMode",()=>!1),s=m(!0);typeof window<"u"&&window.__SMART_MODE__===!0&&(s.value=!1);const x=m(0),y=m(0),f=m(!1),l=o=>{const r=[a.baseColor,"rgba(255, 215, 0, 0.9)","rgba(255, 255, 255, 0.95)","rgba(255, 223, 0, 0.85)"];return Array.from({length:o},()=>{const n=typeof a.size=="number"?a.size:Math.random()*(a.size.max-a.size.min)+a.size.min,w=2+Math.random()*4,e=Math.random()*5,b=.01+Math.random()*.04;return{x:Math.floor(Math.random()*2e3),y:Math.floor(Math.random()*2e3),size:n,color:r[Math.floor(Math.random()*r.length)],twinkleSpeed:w,twinkleDelay:e,parallaxFactor:b}})},t={slow:{duration:240,opacity:.6,ratio:.35,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)"},normal:{duration:180,opacity:.8,ratio:.35,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)"},fast:{duration:120,opacity:1,ratio:.3,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)"}},u=M("premium-stars",()=>({slow:[],normal:[],fast:[]})),C=B(()=>[{stars:u.value.fast,...t.fast},{stars:u.value.normal,...t.normal},{stars:u.value.slow,...t.slow}]),p=o=>{if(!a.enableParallax)return;const r=window.innerWidth,n=window.innerHeight;x.value=(o.clientX-r/2)/r,y.value=(o.clientY-n/2)/n};return S(()=>{!v.value&&s.value&&(u.value={slow:l(Math.floor(a.starCount*t.slow.ratio)),normal:l(Math.floor(a.starCount*t.normal.ratio)),fast:l(Math.floor(a.starCount*t.fast.ratio))}),s.value&&a.enableParallax&&window.addEventListener("mousemove",p),f.value=!0}),P(v,o=>{!o&&!s.value&&(s.value=!0,u.value={slow:l(Math.floor(a.starCount*t.slow.ratio)),normal:l(Math.floor(a.starCount*t.normal.ratio)),fast:l(Math.floor(a.starCount*t.fast.ratio))},a.enableParallax&&window.addEventListener("mousemove",p))}),L(()=>{a.enableParallax&&window.removeEventListener("mousemove",p)}),(o,r)=>i(s)?(c(),d("div",F,[Y("div",{class:k(["premium-stars size-full absolute inset-x-0 top-0",{"parallax-enabled":o.enableParallax&&i(f)}]),style:h(o.enableParallax&&i(f)?{"--parallax-x":`${i(x)*20}px`,"--parallax-y":`${i(y)*20}px`}:{})},[(c(!0),d(g,null,z(i(C),(n,w)=>(c(),d("div",{key:w,class:"star-layer",style:h({"--star-duration":`${n.duration}s`,"--star-opacity":n.opacity,"--star-easing":n.easing})},[(c(!0),d(g,null,z(n.stars,(e,b)=>(c(),d("div",{key:b,class:k(["premium-star absolute rounded-full",{"twinkle-animation":o.enableTwinkle,"glow-effect":o.enableGlow}]),style:h({left:`${e.x}px`,top:`${e.y}px`,width:`${e.size}px`,height:`${e.size}px`,backgroundColor:e.color,opacity:"var(--star-opacity)","--twinkle-speed":`${e.twinkleSpeed}s`,"--twinkle-delay":`${e.twinkleDelay}s`,"--parallax-factor":e.parallaxFactor,"--star-color":e.color,"--star-size":`${e.size}px`,boxShadow:o.enableGlow?`0 0 ${e.size*2}px ${e.size/2}px ${e.color}`:"none"})},null,6))),128))],4))),128))],6)])):E("",!0)}}),T=Object.assign(D(G,[["__scopeId","data-v-8e442c63"]]),{__name:"StarsBg"});export{T as default};

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.