1!(function (e, t) { 2 "object" == typeof exports && "object" == typeof module 3 ? (module.exports = t()) 4 : "function" == typeof define && define.amd 5 ? define([], t) 6 : "object" == typeof exports 7 ? (exports.counterUp = t()) 8 : (e.counterUp = t()); 9})(self, function () { 10 return (() => { 11 "use strict"; 12 var e = { 13 d: (t, n) => { 14 for (var o in n) 15 e.o(n, o) && 16 !e.o(t, o) && 17 Object.defineProperty(t, o, { enumerable: !0, get: n[o] }); 18 }, 19 o: (e, t) => Object.prototype.hasOwnProperty.call(e, t), 20 r: (e) => { 21 "undefined" != typeof Symbol && 22 Symbol.toStringTag && 23 Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), 24 Object.defineProperty(e, "__esModule", { value: !0 }); 25 }, 26 }, 27 t = {}; 28 e.r(t), e.d(t, { default: () => n, divideNumbers: () => r }); 29 const n = (e, t = {}) => { 30 const { action: n = "start", duration: i = 1e3, delay: u = 16 } = t; 31 if ("stop" === n) return void o(e); 32 if ((o(e), !/[0-9]/.test(e.innerHTML))) return; 33 const l = r(e.innerHTML, { 34 duration: i || e.getAttribute("data-duration"), 35 delay: u || e.getAttribute("data-delay"), 36 }); 37 (e._countUpOrigInnerHTML = e.innerHTML), 38 (e.innerHTML = l[0] || " "), 39 (e.style.visibility = "visible"); 40 const c = function () { 41 (e.innerHTML = l.shift() || " "), 42 l.length 43 ? (clearTimeout(e.countUpTimeout), 44 (e.countUpTimeout = setTimeout(c, u))) 45 : (e._countUpOrigInnerHTML = void 0); 46 }; 47 e.countUpTimeout = setTimeout(c, u); 48 }, 49 o = (e) => { 50 clearTimeout(e.countUpTimeout), 51 e._countUpOrigInnerHTML && 52 ((e.innerHTML = e._countUpOrigInnerHTML), 53 (e._countUpOrigInnerHTML = void 0)), 54 (e.style.visibility = ""); 55 }, 56 r = (e, t = {}) => { 57 const { duration: n = 1e3, delay: o = 16 } = t, 58 r = n / o, 59 i = e.toString().split(/(<[^>]+>|[0-9.][,.0-9]*[0-9]*)/), 60 u = []; 61 for (let e = 0; e < r; e++) u.push(""); 62 for (let e = 0; e < i.length; e++) 63 if (/([0-9.][,.0-9]*[0-9]*)/.test(i[e]) && !/<[^>]+>/.test(i[e])) { 64 let t = i[e]; 65 const n = [...t.matchAll(/[.,]/g)] 66 .map((e) => ({ char: e[0], i: t.length - e.index - 1 })) 67 .sort((e, t) => e.i - t.i); 68 t = t.replace(/[.,]/g, ""); 69 let o = u.length - 1; 70 for (let e = r; e >= 1; e--) { 71 let i = parseInt((t / r) * e, 10); 72 (i = n.reduce( 73 (e, { char: t, i: n }) => 74 e.length <= n ? e : e.slice(0, -n) + t + e.slice(-n), 75 i.toString() 76 )), 77 (u[o--] += i); 78 } 79 } else for (let t = 0; t < r; t++) u[t] += i[e]; 80 return (u[u.length] = e.toString()), u; 81 }; 82 return t; 83 })();
84});
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.