PageSourceSearch

https://novelship.com/_next/static/chunks/1875-65c442ca0c40d6c5.js

js novelship.com collected 2026-10-02 02:59:18 UTC 7,751 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="533e8f04-c93f-4726-9ace-ad45a6447424",e._sentryDebugIdIdentifier="sentry-dbid-533e8f04-c93f-4726-9ace-ad45a6447424")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1875],{91875:function(e,r,t){t.d(r,{VY:function(){return ei},h4:function(){return eo},ck:function(){return en},fC:function(){return et},xz:function(){return ea}});var n=t(46353),o=t(38761),a=t(79976),i=t(85954),l=t(86253),d=t(84487),c=t(49102),s=t(5122),u=t(54824),f=t(41630),p=t(5333),b="Collapsible",[m,h]=(0,o.b)(b),[v,x]=m(b),w=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:i,onOpenChange:l,...s}=e,[u=!1,b]=(0,d.T)({prop:o,defaultProp:a,onChange:l});return(0,p.jsx)(v,{scope:t,disabled:i,contentId:(0,f.M)(),open:u,onOpenToggle:n.useCallback(()=>b(e=>!e),[b]),children:(0,p.jsx)(c.WV.div,{"data-state":A(u),"data-disabled":i?"":void 0,...s,ref:r})})});w.displayName=b;var g="CollapsibleTrigger",y=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,...n}=e,o=x(g,t);return(0,p.jsx)(c.WV.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":A(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:r,onClick:(0,l.M)(e.onClick,o.onOpenToggle)})});y.displayName=g;var C="CollapsibleContent",R=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,o=x(C,e.__scopeCollapsible);return(0,p.jsx)(u.z,{present:t||o.open,children:e=>{let{present:t}=e;return(0,p.jsx)(j,{...n,ref:r,present:t})}})});R.displayName=C;var j=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,present:o,children:a,...l}=e,d=x(C,t),[u,f]=n.useState(o),b=n.useRef(null),m=(0,i.e)(r,b),h=n.useRef(0),v=h.current,w=n.useRef(0),g=w.current,y=d.open||u,R=n.useRef(y),j=n.useRef();return n.useEffect(()=>{let e=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=b.current;if(e){j.current=j.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();h.current=r.height,w.current=r.width,R.current||(e.style.transitionDuration=j.current.transitionDuration,e.style.animationName=j.current.animationName),f(o)}},[d.open,o]),(0,p.jsx)(c.WV.div,{"data-state":A(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!y,...l,ref:m,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:y&&a})});function A(e){return e?"open":"closed"}var I=t(7814),k="Accordion",_=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[N,D,M]=(0,a.B)(k),[O,S]=(0,o.b)(k,[M,h]),E=h(),T=n.forwardRef((e,r)=>{let{type:t,...n}=e;return(0,p.jsx)(N.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,p.jsx)(H,{...n,ref:r}):(0,p.jsx)(B,{...n,ref:r})})});T.displayName=k;var[P,V]=O(k),[W,z]=O(k,{collapsible:!1}),B=n.forwardRef((e,r)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},collapsible:i=!1,...l}=e,[c,s]=(0,d.T)({prop:t,defaultProp:o,onChange:a});return(0,p.jsx)(P,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:s,onItemClose:n.useCallback(()=>i&&s(""),[i,s]),children:(0,p.jsx)(W,{scope:e.__scopeAccordion,collapsible:i,children:(0,p.jsx)(F,{...l,ref:r})})})}),H=n.forwardRef((e,r)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},...i}=e,[l=[],c]=(0,d.T)({prop:t,defaultProp:o,onChange:a}),s=n.useCallback(e=>c(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[c]),u=n.useCallback(e=>c(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[c]);return(0,p.jsx)(P,{scope:e.__scopeAccordion,value:l,onItemOpen:s,onItemClose:u,children:(0,p.jsx)(W,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(F,{...i,ref:r})})})}),[$,q]=O(k),F=n.forwardRef((e,r)=>{let{__scopeAccordion:t,disabled:o,dir:a,orientation:d="vertical",...s}=e,u=n.useRef(null),f=(0,i.e)(u,r),b=D(t),m="ltr"===(0,I.gm)(a),h=(0,l.M)(e.onKeyDown,e=>
1{if(!_.includes(e.key))return;let r=e.target,t=b().filter(e=>!e.ref.current?.disabled),n=t.findIndex(e=>e.ref.current===r),o=t.length;if(-1===n)return;e.preventDefault();let a=n,i=o-1,l=()=>{(a=n+1)>i&&(a=0)},c=()=>{(a=n-1)<0&&(a=i)};switch(e.key){case"Home":a=0;break;case"End":a=i;break;case"ArrowRight":"horizontal"===d&&(m?l():c());break;case"ArrowDown":"vertical"===d&&l();break;case"ArrowLeft":"horizontal"===d&&(m?c():l());break;case"ArrowUp":"vertical"===d&&c()}let s=a%o;t[s].ref.current?.focus()});return(0,p.jsx)($,{scope:t,disabled:o,direction:a,orientation:d,children:(0,p.jsx)(N.Slot,{scope:t,children:(0,p.jsx)(c.WV.div,{...s,"data-orientation":d,ref:f,onKeyDown:o?void 0:h})})})}),K="AccordionItem",[L,U]=O(K),Y=n.forwardRef((e,r)=>{let{__scopeAccordion:t,value:n,...o}=e,a=q(K,t),i=V(K,t),l=E(t),d=(0,f.M)(),c=n&&i.value.includes(n)||!1,s=a.disabled||e.disabled;return(0,p.jsx)(L,{scope:t,open:c,disabled:s,triggerId:d,children:(0,p.jsx)(w,{"data-orientation":a.orientation,"data-state":er(c),...l,...o,ref:r,disabled:s,open:c,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});Y.displayName=K;var G="AccordionHeader",J=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=q(k,t),a=U(G,t);return(0,p.jsx)(c.WV.h3,{"data-orientation":o.orientation,"data-state":er(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:r})});J.displayName=G;var Q="AccordionTrigger",X=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=q(k,t),a=U(Q,t),i=z(Q,t),l=E(t);return(0,p.jsx)(N.ItemSlot,{scope:t,children:(0,p.jsx)(y,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...l,...n,ref:r})})});X.displayName=Q;var Z="AccordionContent",ee=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=q(k,t),a=U(Z,t),i=E(t);return(0,p.jsx)(R,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...i,...n,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function er(e){return e?"open":"closed"}ee.displayName=Z;var et=T,en=Y,eo=J,ea=X,ei=ee},79976:function(e,r,t){t.d(r,{B:function(){return d}});var n=t(46353),o=t(38761),a=t(85954),i=t(2090),l=t(5333);function d(e){let r=e+"CollectionProvider",[t,d]=(0,o.b)(r),[c,s]=t(r,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:r,children:t}=e,o=n.useRef(null),a=n.useRef(new Map).current;return(0,l.jsx)(c,{scope:r,itemMap:a,collectionRef:o,children:t})};u.displayName=r;let f=e+"CollectionSlot",p=n.forwardRef((e,r)=>{let{scope:t,children:n}=e,o=s(f,t),d=(0,a.e)(r,o.collectionRef);return(0,l.jsx)(i.g7,{ref:d,children:n})});p.displayName=f;let b=e+"CollectionItemSlot",m="data-radix-collection-item",h=n.forwardRef((e,r)=>{let{scope:t,children:o,...d}=e,c=n.useRef(null),u=(0,a.e)(r,c),f=s(b,t);return n.useEffect(()=>(f.itemMap.set(c,{ref:c,...d}),()=>void f.itemMap.delete(c))),(0,l.jsx)(i.g7,{[m]:"",ref:u,children:o})});return h.displayName=b,[{Provider:u,Slot:p,ItemSlot:h},function(r){let t=s(e+"CollectionConsumer",r);return n.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let r=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(t.itemMap.values()).sort((e,t)=>r.indexOf(e.ref.current)-r.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},d]}},7814:function(e,r,t){t.d(r,{gm:function(){return a}});var n=t(46353);t(5333);var o=n.createContext(void 0);function a(e){let r=n.useContext(o);return e||r||"ltr"}}}]);

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.