1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9558],{63:(e,t,n)=>{"use strict";var r=n(7260);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},1290:()=>{},3016:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,1290,23)),Promise.resolve().then(n.bind(n,3888)),Promise.resolve().then(n.bind(n,5600)),Promise.resolve().then(n.bind(n,4513))},3888:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(2115),s=n(63);function u(){let e=(0,s.usePathname)(),t=(0,r.useRef)(!0),n=(0,r.useCallback)(async()=>{let e=navigator;if("function"==typeof e.setAppBadge&&t.current&&"hidden"!==document.visibilityState)try{var n,r;let s=await fetch("/api/badge",{cache:"no-store"});if(!s.ok)return;let{count:u}=await s.json();if(!t.current)return;u>0?await (null==(n=e.setAppBadge)?void 0:n.call(e,u)):await (null==(r=e.clearAppBadge)?void 0:r.call(e))}catch(e){}},[]);return(0,r.useEffect)(()=>{t.current=!0;let e=setInterval(n,6e4);return document.addEventListener("visibilitychange",n),()=>{t.current=!1,clearInterval(e),document.removeEventListener("visibilitychange",n)}},[n]),(0,r.useEffect)(()=>{n()},[e,n]),null}},4513:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(5155),s=n(2115),u=n(63);function i(){let e=(0,u.useRouter)(),[t,n]=(0,s.useState)(0),[i,a]=(0,s.useState)(!1),c=(0,s.useRef)(0),o=(0,s.useRef)(0),l=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{function r(e){if(window.scrollY>0||i){l.current=!1;return}l.current=!0,c.current=e.touches[0].clientY,o.current=e.touches[0].clientX}function s(e){if(!l.current||i)return;let t=e.touches[0].clientY-c.current,r=e.touches[0].clientX-o.current;if(t<=0||Math.abs(t)<Math.abs(r)){l.current=!1,n(0);return}n(Math.min(110,.5*t))}async function u(){l.current&&!i&&(l.current=!1,t>=70?(a(!0),n(70),e.refresh(),setTimeout(()=>{a(!1),n(0)},700)):n(0))}return document.addEventListener("touchstart",r,{passive:!0}),document.addEventListener("touchmove",s,{passive:!0}),document.addEventListener("touchend",u,{passive:!0}),document.addEventListener("touchcancel",u,{passive:!0}),()=>{document.removeEventListener("touchstart",r),document.removeEventListener("touchmove",s),document.removeEventListener("touchend",u),document.removeEventListener("touchcancel",u)}},[t,i,e]),t<=0&&!i)return null;let d=t>=70;return(0,r.jsx)("div",{className:"pointer-events-none fixed inset-x-0 top-0 z-[60] flex justify-center",style:{transform:"translateY(".concat(t,"px)"),transition:i?"transform 0.2s":"none"},children:(0,r.jsxs)("div",{className:"mt-1 flex items-center gap-2 rounded-full bg-white px-3 py-1.5 text-xs font-medium text-slate-600 shadow ring-1 ring-slate-200",children:[(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"h-4 w-4 ".concat(i?"animate-spin":""),style:i?void 0:{transform:"rotate(".concat(Math.min(180,2*t),"deg)")},"aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M21 12a9 9 0 1 1-2.64-6.36"}),(0,r.jsx)("path",{d:"M21 3v6h-6"})]}),(0,r.jsx)("span",{className:"whitespace-nowrap",children:i?"æ´æ°ä¸â¦":d?"é¢ãã¦æ´æ°":"å¼ã£å¼µã£ã¦æ´æ°"})]})})}},5600:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(2115),s=n(63);function u(){let e=(0,s.useRouter)(),t=(0,r.useRef)(0);return(0,r.useEffect)(()=>{function n(){if("visible"!==document.visibilityState)return;let n=Date.now();n-t.current<1e4||(t.current=n,e.refresh())}return document.addEventListener("visibilitychange",n),()=>document.removeEventListener("visibilitychange",n)},[e]),null}}},e=>{e.O(0,[1741,8441,1255,7358],()=>e(e.s=3016)),_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.