PageSourceSearch

https://croucher.org.hk/_next/static/chunks/app/%5Blang%5D/layout-9b641bc6dfd06e5e.js

js croucher.org.hk collected 2026-09-24 09:28:01 UTC 3,312 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[65160],{2821:(e,t,r)=>{"use strict";function n(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{$:()=>n,A:()=>o});let o=n},57325:(e,t,r)=>{Promise.resolve().then(r.bind(r,98326)),Promise.resolve().then(r.bind(r,99050)),Promise.resolve().then(r.bind(r,94689)),Promise.resolve().then(r.bind(r,93312)),Promise.resolve().then(r.bind(r,98171))},59418:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var n=r(2821),o=r(85915);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.Q)((0,n.$)(t))}},98171:(e,t,r)=>{"use strict";r.d(t,{TooltipProvider:()=>u,ZI:()=>c,k$:()=>a,m_:()=>d});var n=r(95155),o=r(59418),i=r(12115),l=r(47650);let s=(0,i.createContext)(void 0),u=e=>{let{children:t}=e;return(0,n.jsx)(n.Fragment,{children:t})},d=e=>{let{children:t,delayDuration:r=500,className:l}=e,[u,d]=(0,i.useState)(!1),a=(0,i.useRef)(null),c=(0,i.useRef)(null);return(0,n.jsx)(s.Provider,{value:{isOpen:u,setIsOpen:d,triggerRef:a},children:(0,n.jsx)("div",{className:(0,o.cn)("relative inline-block",l),onMouseEnter:()=>{c.current=setTimeout(()=>{d(!0)},r)},onMouseLeave:()=>{c.current&&(clearTimeout(c.current),c.current=null),d(!1)},ref:a,children:t})})},a=e=>{let{children:t}=e;return(0,n.jsx)(n.Fragment,{children:t})},c=e=>{var t,r;let{children:u,side:d="top",sideOffset:a=4}=e,c=(0,i.useContext)(s),[f,h]=(0,i.useState)(null),[w,v]=(0,i.useState)(!1),p=(0,i.useRef)(null);return((0,i.useLayoutEffect)(()=>{if((null==c?void 0:c.isOpen)&&c.triggerRef.current){var e;let t=c.triggerRef.current.getBoundingClientRect(),r=null==(e=p.current)?void 0:e.getBoundingClientRect();if(!r)return;let n=0,o=0;switch(d){case"top":n=t.top-r.height-a+window.scrollY,o=t.left+t.width/2-r.width/2+window.scrollX;break;case"bottom":n=t.bottom+a+window.scrollY,o=t.left+t.width/2-r.width/2+window.scrollX;break;case"left":n=t.top+t.height/2-r.height/2+window.scrollY,o=t.left-r.width-a+window.scrollX;break;case"right":n=t.top+t.height/2-r.height/2+window.scrollY,o=t.right+a+window.scrollX}h({top:n,left:o}),v(!0)}},[null==c?void 0:c.isOpen,d,a]),(null==c?void 0:c.isOpen)&&"undefined"!=typeof document)?(0,l.createPortal)((0,n.jsx)("div",{ref:p,className:(0,o.cn)("absolute z-[9999] px-3 py-1.5 text-[13px] text-white bg-black rounded-md shadow-md overflow-hidden pointer-events-none whitespace-nowrap",w?"opacity-100 animate-in fade-in zoom-in-95 duration-200":"opacity-0"),style:{top:null!=(t=null==f?void 0:f.top)?t:0,left:null!=(r=null==f?void 0:f.left)?r:0,borderRadius:"6px",transitionProperty:"opacity, transform"},children:u}),document.body):null}},99050:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var n=r(12115);function o(e){let{children:t}=e;return(0,n.useEffect)(()=>{let e=()=>{let e=document.querySelector("html");e&&e.classList.remove("wait-for-load")};return window.addEventListener("load",e),()=>window.removeEventListener("load",e)},[]),t}}},e=>{e.O(0,[69633,22663,85915,1360,42536,10244,28441,27366,77358],()=>e(e.s=57325)),_N_E=e.O()}]);

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.