PageSourceSearch

https://www.starlight.org/_next/static/chunks/1000-e672ce1f09e1fe19.js

js starlight.org collected 2026-09-24 18:19:56 UTC 12,053 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1e3],{3598:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return a},getImageProps:function(){return s}});let o=r(4690),n=r(9366),l=r(10470),i=o._(r(21838));function s(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let a=l.Image},10981:(e,t,r)=>{r.d(t,{W:()=>l});var o=r(10893),n=r(2497);function l(e,t,r){let{years:l=0,months:i=0,weeks:s=0,days:a=0,hours:c=0,minutes:u=0,seconds:h=0}=t,p=(0,n.a)(e,null==r?void 0:r.in),d=i||l?function(e,t,r){let l=(0,n.a)(e,void 0);if(isNaN(t))return(0,o.w)(e,NaN);if(!t)return l;let i=l.getDate(),s=(0,o.w)((null==r?void 0:r.in)||e,l.getTime());return(s.setMonth(l.getMonth()+t+1,0),i>=s.getDate())?s:(l.setFullYear(s.getFullYear(),s.getMonth(),i),l)}(p,i+12*l):p,f=a||s?function(e,t,r){let l=(0,n.a)(e,void 0);return isNaN(t)?(0,o.w)(e,NaN):(t&&l.setDate(l.getDate()+t),l)}(d,a+7*s):d;return(0,o.w)((null==r?void 0:r.in)||e,+f+1e3*(h+60*(u+60*c)))}},17225:(e,t,r)=>{r.d(t,{default:()=>n.a});var o=r(3598),n=r.n(o)},33978:(e,t,r)=>{r.d(t,{Ay:()=>T});var o=r(41728),n=r(2366),l=r(13138),i=r(22901),s=r(12930),a=r(68556);let c=()=>{},u=c(),h=Object,p=e=>e===u,d=e=>"function"==typeof e,f=new WeakMap,g=e=>h.prototype.toString.call(e),m=(e,t)=>e===`[object ${t}]`,v=0,y=e=>{let t,r,o=typeof e,n=g(e),l=m(n,"Date"),i=m(n,"RegExp"),s=m(n,"Object");if(h(e)!==e||l||i)t=l?e.toJSON():"symbol"==o?e.toString():"string"==o?JSON.stringify(e):""+e;else{if(t=f.get(e))return t;if(t=++v+"~",f.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=y(e[r])+",";f.set(e,t)}if(s){t="#";let o=h.keys(e).sort();for(;!p(r=o.pop());)p(e[r])||(t+=r+":"+y(e[r])+",");f.set(e,t)}}return t},b=e=>{if(d(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?y(e):"",t]},w=e=>b(e?e(0,null):null)[0],S=Promise.resolve(),T=(0,s.Ht)(n.Ay,e=>(t,r,n)=>{let s,c=(0,o.useRef)(!1),{cache:u,initialSize:h=1,revalidateAll:p=!1,persistSize:d=!1,revalidateFirstPage:f=!0,revalidateOnMount:g=!1,parallel:m=!1}=n,[,,,v]=l.b.get(l.c);try{(s=w(t))&&(s=i.q+s)}catch(e){}let[y,b,T]=(0,l.z)(u,s),_=(0,o.useCallback)(()=>(0,l.e)(y()._l)?h:y()._l,[u,s,h]);(0,a.useSyncExternalStore)((0,o.useCallback)(e=>s?T(s,()=>{e()}):()=>{},[u,s]),_,_);let E=(0,o.useCallback)(()=>{let e=y()._l;return(0,l.e)(e)?h:e},[s,h]),L=(0,o.useRef)(E());(0,l.u)(()=>{if(!c.current){c.current=!0;return}s&&b({_l:d?L.current:E()})},[s,u]);let D=g&&!c.current,M=e(s,async e=>{let o=y()._i,i=y()._r;b({_r:l.U});let s=[],a=E(),[c]=(0,l.z)(u,e),h=c().data,d=[],g=null;for(let e=0;e<a;++e){let[a,c]=(0,l.s)(t(e,m?null:g));if(!a)break;let[y,b]=(0,l.z)(u,a),w=y().data,S=p||o||(0,l.e)(w)||f&&!e&&!(0,l.e)(h)||D||h&&!(0,l.e)(h[e])&&!n.compare(h[e],w);if(r&&("function"==typeof i?i(w,c):S)){let t=async()=>{if(a in v){let e=v[a];delete v[a],w=await e}else w=await r(c);b({data:w,_k:c}),s[e]=w};m?d.push(t):await t()}else s[e]=w;m||(g=w)}return m&&await Promise.all(d.map(e=>e())),b({_i:l.U}),s},n),Y=(0,o.useCallback)(function(e,t){let r="boolean"==typeof t?{revalidate:t}:t||{},o=!1!==r.revalidate;return s?(o&&((0,l.e)(e)?b({_i:!0,_r:r.revalidate}):b({_i:!1,_r:r.revalidate})),arguments.length?M.mutate(e,{...r,revalidate:o}):M.mutate()):S},[s,u]),P=(0,o.useCallback)(e=>{let r;if(!s)return S;let[,o]=(0,l.z)(u,s);if((0,l.a)(e)?r=e(E()):"number"==typeof e&&(r=e),"number"!=typeof r)return S;o({_l:r}),L.current=r;let n=[],[i]=(0,l.z)(u,s),a=null;for(let e=0;e<r;++e){let[r]=(0,l.s)(t(e,a)),[o]=(0,l.z)(u,r),s=r?o().data:l.U;if((0,l.e)(s))return Y(i().data);n.push(s),a=s}return Y(n)},[s,u,Y,E]);return{size:E(),setSize:P,mutate:Y,get data(){return M.data},get error(){return M.error},get isValidating(){return M.isValidating},get isLoading(){return M.isLoading}}})},43248:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{callServer:function(){return o.callServer},createServerReference:function(){return l},findSourceMapURL:function(){return n.findSourceMapURL}});let o=r(92103),n=r(50831),l=r(66460).createServerReference},98044:(e,t,r)=>{r.d(t,{A:()=>c});var o=r(41728),n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},l=function(){return(l=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},i={Pixel:"Pixel",Percent:"Percent"},s={unit:i.Percent,value:.8};function a(e){return"number"==typeof e?{unit:i.Percent,value:100*e}:"string"==typeof e?e.match(/^(\d*(\.\d+)?)px$/)?{unit:i.Pixel,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:i.Percent,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),s):(console.warn("scrollThreshold should be string or number"),s)}let c=function(e){function t(){this.constructor=r}function r(t){var r=e.call(this,t)||this;return r.lastScrollTop=0,r.actionTriggered=!1,r.startY=0,r.currentY=0,r.dragging=!1,r.maxPullDownDistance=0,r.getScrollableTarget=function(){return r.props.scrollableTarget instanceof HTMLElement?r.props.scrollableTarget:"string"==typeof r.props.scrollableTarget?document.getElementById(r.props.scrollableTarget):(null===r.props.scrollableTarget&&console.warn("You are trying to pass scrollableTarget but it is null. This might\n        happen because the element may not have been added to DOM yet.\n        See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n      "),null)},r.onStart=function(e){!r.lastScrollTop&&(r.dragging=!0,e instanceof MouseEvent?r.startY=e.pageY:e instanceof TouchEvent&&(r.startY=e.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(e){if(r.dragging)e instanceof MouseEvent?r.currentY=e.pageY:e instanceof TouchEvent&&(r.currentY=e.touches[0].pageY),r.currentY<r.startY||(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>1.5*r.maxPullDownDistance)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)"))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(e){"function"==typeof r.props.onScroll&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(e)},0);var t=r.props.height||r._scrollableNode?e.target:document.documentElement.scrollTop?document.documentElement:document.body;r.actionTriggered||((r.props.inverse?r.isElementAtTop(t,r.props.scrollThreshold):r.isElementAtBottom(t,r.props.scrollThreshold))&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=t.scrollTop)},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:t.dataLength},r.throttledOnScrollListener=(function(e,t,r,o){var n,l=!1,i=0;function s(){n&&clearTimeout(n)}function a(){var a=this,c=Date.now()-i,u=arguments;function h(){i=Date.now(),r.apply(a,u)}l||(o&&!n&&h(),s(),void 0===o&&c>e?h():!0!==t&&(n=setTimeout(o?function(){n=void 0}:h,void 0===o?e-c:e)))}return"boolean"!=typeof t&&(o=r,r=t,t=void 0),a.cancel=function(){s(),l=!0},a})(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return n(r,e),r.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),r.prototype.componentDidMount=function(){if(void 0===this.props.dataLength)throw Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');
1if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),"number"==typeof this.props.initialScrollY&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),"function"!=typeof this.props.refreshFunction))throw Error('Mandatory prop "refreshFunction" missing.\n          Pull Down To Refresh functionality will not work\n          as expected. Check README.md for usage\'')},r.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},r.prototype.componentDidUpdate=function(e){this.props.dataLength!==e.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},r.getDerivedStateFromProps=function(e,t){return e.dataLength!==t.prevDataLength?l(l({},t),{prevDataLength:e.dataLength}):null},r.prototype.isElementAtTop=function(e,t){void 0===t&&(t=.8);var r=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,o=a(t);return o.unit===i.Pixel?e.scrollTop<=o.value+r-e.scrollHeight+1:e.scrollTop<=o.value/100+r-e.scrollHeight+1},r.prototype.isElementAtBottom=function(e,t){void 0===t&&(t=.8);var r=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,o=a(t);return o.unit===i.Pixel?e.scrollTop+r>=e.scrollHeight-o.value:e.scrollTop+r>=o.value/100*e.scrollHeight},r.prototype.render=function(){var e=this,t=l({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),r=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),n=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return o.createElement("div",{style:n,className:"infinite-scroll-component__outerdiv"},o.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(t){return e._infScroll=t},style:t},this.props.pullDownToRefresh&&o.createElement("div",{style:{position:"relative"},ref:function(t){return e._pullDown=t}},o.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!r&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},r}(o.Component)}}]);
2//# sourceMappingURL=1000-e672ce1f09e1fe19.js.map

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.