PageSourceSearch

https://kindredly.ai/js/familyClockv2WXhBE2.js

js kindredly.ai collected 2026-10-02 01:14:05 UTC 1,944 bytes, 1 lines download raw bytes

1import"./deviceAppPolicyG0TWkbSX.js";function l(t,n){const s=new Intl.DateTimeFormat("en-US",{timeZone:n,hourCycle:"h23",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}).formatToParts(new Date(t)),e=u=>{var o;return Number(((o=s.find(r=>r.type===u))==null?void 0:o.value)||0)},a=Date.UTC(e("year"),e("month")-1,e("day"),e("hour"),e("minute"),e("second"));return Math.round((a-Math.floor(t/1e3)*1e3)/6e4)}function d(t){const n=[];for(const s of Array.isArray(t)?t:[])typeof s=="string"&&s.trim()&&!n.includes(s.trim())&&n.push(s.trim());return n}function g(t,n){return!t||!Array.isArray(t.intervals)?null:{intervals:t.intervals.filter(e=>Number.isFinite(e==null?void 0:e.startMs)&&Number.isFinite(e==null?void 0:e.endMs)&&e.endMs>n&&e.endMs>e.startMs).map(e=>({startMs:e.startMs,endMs:e.endMs})),horizonEndMs:Number(t.horizonEndMs)||0,allowAppIds:(Array.isArray(t.allowAppIds)?t.allowAppIds:[]).filter(e=>typeof e=="string"&&!!e),...typeof t.note=="string"&&t.note.trim()?{note:t.note.trim()}:{}}}const i=24*60*60*1e3;function f(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}),!0}catch{return!1}}function c(t){return t<10?`0${t}`:String(t)}function y(t,n){if(!f(n)){const r=new Date(t);return{timeZone:null,dayStartMs:new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime(),dayOfWeek:r.getDay(),msOfDay:(r.getHours()*60+r.getMinutes())*6e4+r.getSeconds()*1e3+r.getMilliseconds(),dateKey:`${r.getFullYear()}-${c(r.getMonth()+1)}-${c(r.getDate())}`,offsetMinutes:-r.getTimezoneOffset()}}const s=l(t,n),e=new Date(t+s*6e4),a=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),u=a-s*6e4,o=a-l(u,n)*6e4;return{timeZone:n,dayStartMs:o,dayOfWeek:e.getUTCDay(),msOfDay:((t+s*6e4)%i+i)%i,dateKey:e.toISOString().slice(0,10),offsetMinutes:s}}function p(t){return y(t.dayStartMs+30*60*60*1e3,t.timeZone).dayStartMs-1}export{p as a,d as b,g as c,y as f,f as i,l 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.