PageSourceSearch

https://www.sakura.fm/_next/static/chunks/6642-5b9fa116b0dc9b73.js

js sakura.fm collected 2026-09-24 10:08:53 UTC 11,623 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6642],{33887:(e,n,t)=>{t.d(n,{Z:()=>k});var r=t(59846),o=t(84935),u=t(83938),a=t(27716),i=(0,t(21541)._)(),c=function(){},s=o.forwardRef((function(e,n){var t=o.useRef(null),u=o.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),s=u[0],l=u[1],d=e.forwardProps,f=e.children,v=e.className,h=e.removeScrollBar,m=e.enabled,p=e.shards,g=e.sideCar,b=e.noIsolation,w=e.inert,N=e.allowPinchZoom,y=e.as,E=void 0===y?"div":y,C=e.gapMode,S=(0,r._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=g,M=(0,a.q)([t,n]),P=(0,r.pi)((0,r.pi)({},S),s);return o.createElement(o.Fragment,null,m&&o.createElement(R,{sideCar:i,removeScrollBar:h,shards:p,noIsolation:b,inert:w,setCallbacks:l,allowPinchZoom:!!N,lockRef:t,gapMode:C}),d?o.cloneElement(o.Children.only(f),(0,r.pi)((0,r.pi)({},P),{ref:M})):o.createElement(E,(0,r.pi)({},P,{className:v,ref:M}),f))}));s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},s.classNames={fullWidth:u.zi,zeroRight:u.pF};var l=t(236),d=t(2678),f=t(32898),v=!1;if("undefined"!==typeof window)try{var h=Object.defineProperty({},"passive",{get:function(){return v=!0,!0}});window.addEventListener("test",h,h),window.removeEventListener("test",h,h)}catch(L){v=!1}var m=!!v&&{passive:!1},p=function(e,n){var t=window.getComputedStyle(e);return"hidden"!==t[n]&&!(t.overflowY===t.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===t[n])},g=function(e,n){var t=n.ownerDocument,r=n;do{if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),b(e,r)){var o=w(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==t.body);return!1},b=function(e,n){return"v"===e?function(e){return p(e,"overflowY")}(n):function(e){return p(e,"overflowX")}(n)},w=function(e,n){return"v"===e?[(t=n).scrollTop,t.scrollHeight,t.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(n);var t},N=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},y=function(e){return[e.deltaX,e.deltaY]},E=function(e){return e&&"current"in e?e.current:e},C=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},S=0,R=[];function M(e){for(var n=null;null!==e;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const P=(0,l.L)(i,(function(e){var n=o.useRef([]),t=o.useRef([0,0]),u=o.useRef(),a=o.useState(S++)[0],i=o.useState(f.Ws)[0],c=o.useRef(e);o.useEffect((function(){c.current=e}),[e]),o.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var n=(0,r.ev)([e.lockRef.current],(e.shards||[]).map(E),!0).filter(Boolean);return n.forEach((function(e){return e.classList.add("allow-interactivity-".concat(a))})),function(){document.body.classList.remove("block-interactivity-".concat(a)),n.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(a))}))}}}),[e.inert,e.lockRef.current,e.shards]);var s=o.useCallback((function(e,n){if("touches"in e&&2===e.touches.length)return!c.current.allowPinchZoom;var r,o=N(e),a=t.current,i="deltaX"in e?e.deltaX:a[0]-o[0],s="deltaY"in e?e.deltaY:a[1]-o[1],l=e.target,d=Math.abs(i)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=g(d,l);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=g(d,l)),!f)return!1;if(!u.current&&"changedTouches"in e&&(i||s)&&(u.current=r),!r)return!0;var v=u.current||r;return function(e,n,t,r,o){var u=function(e,n){return"h"===e&&"rtl"===n?-1:1}(e,window.getComputedStyle(n).direction),a=u*r,i=t.target,c=n.contains(i),s=!1,l=a>0,d=0,f=0;do{var v=w(e,i),h=v[0],m=v[1]-v[2]-u*h;(h||m)&&b(e,i)&&(d+=m,f+=h),i=i instanceof ShadowRoot?i.host:i.parentNode}while(!c&&i!==document.body||c&&(n.contains(i)||n===i));return(l&&(o&&Math.abs(d)<1||!o&&a>d)||!l&&(o&&Math.abs(f)<1||!o&&-a>f))&&(s=!0),s}(v,n,e,"h"===v?i:s,!0)}),[]),l=o.useCallback((function(e){var t=e;if(R.length&&R[R.length-1]===i){var r="deltaY"in t?y(t):N(t),o=n.current.filter((function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&(n=e.delta,o=r,n[0]===o[0]&&n[1]===o[1]);var n,o}))[0];if(o&&o.should)t.cancelable&&t.preventDefault();
1else if(!o){var u=(c.current.shards||[]).map(E).filter(Boolean).filter((function(e){return e.contains(t.target)}));(u.length>0?s(t,u[0]):!c.current.noIsolation)&&t.cancelable&&t.preventDefault()}}}),[]),v=o.useCallback((function(e,t,r,o){var u={name:e,delta:t,target:r,should:o,shadowParent:M(r)};n.current.push(u),setTimeout((function(){n.current=n.current.filter((function(e){return e!==u}))}),1)}),[]),h=o.useCallback((function(e){t.current=N(e),u.current=void 0}),[]),p=o.useCallback((function(n){v(n.type,y(n),n.target,s(n,e.lockRef.current))}),[]),P=o.useCallback((function(n){v(n.type,N(n),n.target,s(n,e.lockRef.current))}),[]);o.useEffect((function(){return R.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:P}),document.addEventListener("wheel",l,m),document.addEventListener("touchmove",l,m),document.addEventListener("touchstart",h,m),function(){R=R.filter((function(e){return e!==i})),document.removeEventListener("wheel",l,m),document.removeEventListener("touchmove",l,m),document.removeEventListener("touchstart",h,m)}}),[]);var T=e.removeScrollBar,k=e.inert;return o.createElement(o.Fragment,null,k?o.createElement(i,{styles:C(a)}):null,T?o.createElement(d.jp,{gapMode:e.gapMode}):null)}));var T=o.forwardRef((function(e,n){return o.createElement(s,(0,r.pi)({},e,{ref:n,sideCar:P}))}));T.classNames=s.classNames;const k=T},17474:(e,n,t)=>{function r(e,n,{checkForDefaultPrevented:t=!0}={}){return function(r){if(e?.(r),!1===t||!r.defaultPrevented)return n?.(r)}}t.d(n,{M:()=>r})},64584:(e,n,t)=>{t.d(n,{b:()=>a,k:()=>u});var r=t(84935),o=t(71312);function u(e,n){const t=r.createContext(n);function u(e){const{children:n,...u}=e,a=r.useMemo((()=>u),Object.values(u));return(0,o.jsx)(t.Provider,{value:a,children:n})}return u.displayName=e+"Provider",[u,function(o){const u=r.useContext(t);if(u)return u;if(void 0!==n)return n;throw new Error(`\`${o}\` must be used within \`${e}\``)}]}function a(e,n=[]){let t=[];const u=()=>{const n=t.map((e=>r.createContext(e)));return function(t){const o=t?.[e]||n;return r.useMemo((()=>({[`__scope${e}`]:{...t,[e]:o}})),[t,o])}};return u.scopeName=e,[function(n,u){const a=r.createContext(u),i=t.length;function c(n){const{scope:t,children:u,...c}=n,s=t?.[e][i]||a,l=r.useMemo((()=>c),Object.values(c));return(0,o.jsx)(s.Provider,{value:l,children:u})}return t=[...t,u],c.displayName=n+"Provider",[c,function(t,o){const c=o?.[e][i]||a,s=r.useContext(c);if(s)return s;if(void 0!==u)return u;throw new Error(`\`${t}\` must be used within \`${n}\``)}]},i(u,...n)]}function i(...e){const n=e[0];if(1===e.length)return n;const t=()=>{const t=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const o=t.reduce(((n,{useScope:t,scopeName:r})=>({...n,...t(e)[`__scope${r}`]})),{});return r.useMemo((()=>({[`__scope${n.scopeName}`]:o})),[o])}};return t.scopeName=n.scopeName,t}},77535:(e,n,t)=>{var r;t.d(n,{M:()=>c});var o=t(84935),u=t(11911),a=(r||(r=t.t(o,2)))["useId".toString()]||(()=>{}),i=0;function c(e){const[n,t]=o.useState(a());return(0,u.b)((()=>{e||t((e=>e??String(i++)))}),[e]),e||(n?`radix-${n}`:"")}},49636:(e,n,t)=>{t.d(n,{h:()=>c});var r=t(84935),o=t(47576),u=t(51502),a=t(11911),i=t(71312),c=r.forwardRef(((e,n)=>{var t,c;const{container:s,...l}=e,[d,f]=r.useState(!1);(0,a.b)((()=>f(!0)),[]);const v=s||d&&(null===(c=globalThis)||void 0===c||null===(t=c.document)||void 0===t?void 0:t.body);return v?o.createPortal((0,i.jsx)(u.WV.div,{...l,ref:n}),v):null}));c.displayName="Portal"},62773:(e,n,t)=>{t.d(n,{z:()=>i});var r=t(84935),o=t(47576),u=t(88143),a=t(11911);var i=e=>{const{present:n,children:t}=e,i=function(e){const[n,t]=r.useState(),u=r.useRef({}),i=r.useRef(e),s=r.useRef("none"),l=e?"mounted":"unmounted",[d,f]=function(e,n){return r.useReducer(((e,t)=>{const r=n[e][t];return null!==r&&void 0!==r?r:e}),e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect((()=>{const e=c(u.current);s.current="mounted"===d?e:"none"}),[d]),(0,a.b)((()=>{const n=u.current,t=i.current;if(t!==e){const r=s.current,o=c(n);if(e)f("MOUNT");else if("none"===o||"none"===(null===n||void 0===n?void 0:n.display))f("UNMOUNT");else{f(t&&r!==o?"ANIMATION_OUT":"UNMOUNT")}i.current=e}}),[e,f]),(0,a.b)((()=>
1{if(n){const e=e=>{const t=c(u.current).includes(e.animationName);e.target===n&&t&&o.flushSync((()=>f("ANIMATION_END")))},t=e=>{e.target===n&&(s.current=c(u.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}f("ANIMATION_END")}),[n,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback((e=>{e&&(u.current=getComputedStyle(e)),t(e)}),[])}}(n),s="function"===typeof t?t({present:i.isPresent}):r.Children.only(t),l=(0,u.e)(i.ref,function(e){var n,t;let r=null===(n=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===n?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning;if(o)return e.ref;if(r=null===(t=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o)return e.props.ref;return e.props.ref||e.ref}(s));return"function"===typeof t||i.isPresent?r.cloneElement(s,{ref:l}):null};function c(e){return(null===e||void 0===e?void 0:e.animationName)||"none"}i.displayName="Presence"},51502:(e,n,t)=>{t.d(n,{WV:()=>i,jH:()=>c});var r=t(84935),o=t(47576),u=t(84257),a=t(71312),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,n)=>{const t=r.forwardRef(((e,t)=>{const{asChild:r,...o}=e,i=r?u.g7:n;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i,{...o,ref:t})}));return t.displayName=`Primitive.${n}`,{...e,[n]:t}}),{});function c(e,n){e&&o.flushSync((()=>e.dispatchEvent(n)))}},60904:(e,n,t)=>{t.d(n,{W:()=>o});var r=t(84935);function o(e){const n=r.useRef(e);return r.useEffect((()=>{n.current=e})),r.useMemo((()=>(...e)=>n.current?.(...e)),[])}},82428:(e,n,t)=>{t.d(n,{T:()=>u});var r=t(84935),o=t(60904);function u({prop:e,defaultProp:n,onChange:t=(()=>{})}){const[u,a]=function({defaultProp:e,onChange:n}){const t=r.useState(e),[u]=t,a=r.useRef(u),i=(0,o.W)(n);return r.useEffect((()=>{a.current!==u&&(i(u),a.current=u)}),[u,a,i]),t}({defaultProp:n,onChange:t}),i=void 0!==e,c=i?e:u,s=(0,o.W)(t);return[c,r.useCallback((n=>{if(i){const t="function"===typeof n?n(e):n;t!==e&&s(t)}else a(n)}),[i,e,a,s])]}},11911:(e,n,t)=>{t.d(n,{b:()=>o});var r=t(84935),o=Boolean(globalThis?.document)?r.useLayoutEffect:()=>{}},22748:(e,n,t)=>{t.d(n,{t:()=>u});var r=t(84935),o=t(11911);function u(e){const[n,t]=r.useState(void 0);return(0,o.b)((()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver((n=>{if(!Array.isArray(n))return;if(!n.length)return;const r=n[0];let o,u;if("borderBoxSize"in r){const e=r.borderBoxSize,n=Array.isArray(e)?e[0]:e;o=n.inlineSize,u=n.blockSize}else o=e.offsetWidth,u=e.offsetHeight;t({width:o,height:u})}));return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}t(void 0)}),[e]),n}}}]);

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.