PageSourceSearch

https://uhishop.co.uk/assets/TmlActiveTimestamp.c42e6bec.js

js uhishop.co.uk collected 2026-10-01 02:43:44 UTC 1,241 bytes, 2 lines download raw bytes

1import{_ as l,$ as m,D as o,E as n,G as c,S as f,a0 as d,O as p,P as u}from"./vue.00f7c436.js";import{_ as v,d as t}from"./index.ddc2eb7f.js";import"./sentry.09480738.js";const h={name:"TmlActiveTimestamp",props:{timestamp:{type:[String,Object],required:!0},tooltipPrefix:{type:String,default:""}},data(){return{createdAtDiff:null}},computed:{internalTimestamp(){return t.isDayjs(this.timestamp)?this.timestamp:t(this.timestamp)}},created(){this.calculateCreatedAtDiffInterval()},mounted(){t().subtract(1,"day").diff(this.internalTimestamp,"day")===0&&(this.createdAtDiffInterval=setInterval(this.calculateCreatedAtDiffInterval,1e3))},beforeUnmount(){this.createdAtDiffInterval&&clearInterval(this.createdAtDiffInterval)},methods:{calculateCreatedAtDiffInterval(){this.createdAtDiff=this.internalTimestamp.fromNow()}}};function D(a,A,i,_,e,r){const s=l("tml-tooltip");return m((o(),n("div",null,[c(a.$slots,"default",p(u({timestamp:e.createdAtDiff})),()=>[f("small",null,d(e.createdAtDiff),1)])])),[[s,{message:`${i.tooltipPrefix}${r.internalTimestamp.local().format("ddd, MMM D, YYYY h:mm A")}`,delay:350},void 0,{hover:!0,top:!0}]])}const g=v(h,[["render",D]]);export{g as default};
2//# sourceMappingURL=TmlActiveTimestamp.c42e6bec.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.