PageSourceSearch

https://sendou.ink/assets/useDateTimeFormat-SvLyZIqV.js

js sendou.ink collected 2026-09-25 20:11:21 UTC 1,430 bytes, 1 lines download raw bytes

1import{t as e}from"./useTranslation-B-xQZbFb.js";import{n as t}from"./dates-DuA7hRDM.js";import{t as n}from"./compiler-runtime-zYppZB_r.js";import{t as r}from"./user-7ItwO1q-.js";import{t as i}from"./useHydrated-c-fb8eNu.js";var a=n();function o(){let t=(0,a.c)(9),{i18n:n}=e(),o=r(),l=i(),u;t[0]!==l||t[1]!==n?(u=(l?navigator.languages:[]).find(e=>c(e,n.language))??n.language,t[0]=l,t[1]=n,t[2]=u):u=t[2];let d=u,f=o?.preferences?.clockFormat,p;t[3]===f?p=t[4]:(p=s(f),t[3]=f,t[4]=p);let m;return t[5]!==l||t[6]!==d||t[7]!==p?(m={language:d,hourCycle:p,isLoaded:l},t[5]=l,t[6]=d,t[7]=p,t[8]=m):m=t[8],m}function s(e){if(e===`12h`)return`h12`;if(e===`24h`)return`h23`}function c(e,t){let n=e.split(`-`)[0],r=t.split(`-`)[0];return n.toUpperCase()===r.toUpperCase()}var l=`​`,u={format:e=>l,formatRange:(e,t)=>l};function d(e){let n=(0,a.c)(9),{language:r,hourCycle:i,isLoaded:s}=o(),c;n[0]!==i||n[1]!==r||n[2]!==e?(c=()=>p(r,{...e,...e.hour&&i?{hourCycle:i}:{}}),n[0]=i,n[1]=r,n[2]=e,n[3]=c):c=n[3];let l=c,d;n[4]===l?d=n[5]:(d={format:e=>l().format(typeof e==`number`?t(e):e),formatRange:(e,n)=>
1l().formatRange(typeof e==`number`?t(e):e,typeof n==`number`?t(n):n)},n[4]=l,n[5]=d);let f=s?d:u,m;return n[6]!==s||n[7]!==f?(m={formatter:f,isLoaded:s},n[6]=s,n[7]=f,n[8]=m):m=n[8],m}var f=new Map;function p(e,t){let n=`${e}\n${JSON.stringify(t)}`,r=f.get(n);return r||(r=new Intl.DateTimeFormat(e,t),f.set(n,r)),r}export{d as t};

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.