PageSourceSearch

https://yourmystar.jp/_nuxt/BwgvHTtk.js

js yourmystar.jp collected 2026-09-24 10:30:44 UTC 1,410 bytes, 1 lines download raw bytes

1import{a7 as R,x as h,$ as x,s as d,bU as B,bO as T}from"./VA-05gU4.js";const Y=e=>e<.5?4*e*e*e:1-(-2*e+2)**3/2;let n=null;const C=(e,t)=>{n?.();const s=t?.duration,r=t?.offset??0,l=window.scrollY,a=e.getBoundingClientRect().top+window.scrollY-r-l,w=performance.now();return new Promise(b=>{let i=0,u=!1;const m=()=>{u||(u=!0,n===v&&(n=null),b())},v=()=>{cancelAnimationFrame(i),m()};n=v;const g=k=>{if(u)return;const L=k-w,S=Math.min(L/s,1);window.scrollTo(0,l+a*Y(S)),S<1?i=requestAnimationFrame(g):m()};i=requestAnimationFrame(g)})},E=()=>{const e=d(null);return{scroll:()=>{e.value!==null&&e.value.scrollIntoView({behavior:"smooth"})},target:e}};let c=0;const o=d(0);let y;const p=()=>(y??=B(!0).run(()=>T(document.body)),y),A=()=>window.innerWidth-document.documentElement.clientWidth,W=()=>{if(c+=1,c>1)return;o.value=A(),o.value>0&&(document.body.style.paddingRight=`${o.value}px`);const e=p();e!==void 0&&(e.value=!0)},$=()=>{if(c-=1,c>0)return;const e=p();e!==void 0&&(e.value=!1),document.body.style.paddingRight="",o.value=0},F=()=>{const e=d(!1);let t=!1;const s=h(()=>o.value>0?{paddingRight:`${o.value}px`}:void 0),r=h(()=>o.value>0?{marginRight:`${o.value}px`}:void 0),l=()=>{t&&(t=!1,$())},f=async()=>{e.value||(t||(t=!0,W(),await x()),e.value=!0)},a=()=>{e.value=!1};return R(()=>{l()}),{isOpen:e,open:f,close:a,release:l,paddingRightStyle:s,marginRightStyle:r}};export{E as a,C as s,F as u};

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.