PageSourceSearch

https://uptime.mileshilliard.com/assets/Security-RHcZOMB7.js

js mileshilliard.com collected 2026-10-08 01:58:49 UTC 35,676 bytes, 8 lines download raw bytes

vendor: 20,397 bytes, lines 1-7
1import{m as Jt,n as qt,p as Qt,q as Gt,C as Bt,M as Wt,_ as Tt,r as J,o as P,c as T,f as g,b as Z,t as A,d as I,h as Xt,e as L,v as Et,l as V,i as Nt,a as O,w as q,F as It,s as Zt}from"./index-nLqQo6ej.js";function $t(t,e){var s={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(s[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(s[r[n]]=t[r[n]]);return s}var W={},xt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},kt={},k={};let wt;const te=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];k.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};k.getSymbolTotalCodewords=function(e){return te[e]};k.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};k.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');wt=e};k.isKanjiModeEnabled=function(){return typeof wt<"u"};k.toSJIS=function(e){return wt(e)};var nt={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+s)}}t.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},t.from=function(r,n){if(t.isValid(r))return r;try{return e(r)}catch{return n}}})(nt);function vt(){this.buffer=[],this.length=0}vt.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let s=0;s<e;s++)this.putBit((t>>>e-s-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var ee=vt;function X(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}X.prototype.set=function(t,e,s,r){const n=t*this.size+e;this.data[n]=s,r&&(this.reservedBit[n]=!0)};X.prototype.get=function(t,e){return this.data[t*this.size+e]};X.prototype.xor=function(t,e,s){this.data[t*this.size+e]^=s};X.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var ne=X,Mt={};(function(t){const e=k.getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const n=Math.floor(r/7)+2,o=e(r),a=o===145?26:Math.ceil((o-13)/(2*n-2))*2,l=[o-7];for(let i=1;i<n-1;i++)l[i]=l[i-1]-a;return l.push(6),l.reverse()},t.getPositions=function(r){const n=[],o=t.getRowColCoords(r),a=o.length;for(let l=0;l<a;l++)for(let i=0;i<a;i++)l===0&&i===0||l===0&&i===a-1||l===a-1&&i===0||n.push([o[l],o[i]]);return n}})(Mt);var _t={};const oe=k.getSymbolSize,Ct=7;_t.getPositions=function(e){const s=oe(e);return[[0,0],[s-Ct,0],[0,s-Ct]]};var Rt={};(function(t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};t.isValid=function(n){return n!=null&&n!==""&&!isNaN(n)&&n>=0&&n<=7},t.from=function(n){return t.isValid(n)?parseInt(n,10):void 0},t.getPenaltyN1=function(n){const o=n.size;let a=0,l=0,i=0,u=null,c=null;for(let C=0;C<o;C++){l=i=0,u=c=null;for(let w=0;w<o;w++){let d=n.get(C,w);d===u?l++:(l>=5&&(a+=e.N1+(l-5)),u=d,l=1),d=n.get(w,C),d===c?i++:(i>=5&&(a+=e.N1+(i-5)),c=d,i=1)}l>=5&&(a+=e.N1+(l-5)),i>=5&&(a+=e.N1+(i-5))}return a},t.getPenaltyN2=function(n){const o=n.size;let a=0;for(let l=0;l<o-1;l++)for(let i=0;i<o-1;i++){const u=n.get(l,i)+n.get(l,i+1)+n.get(l+1,i)+n.get(l+1,i+1);(u===4||u===0)&&a++}return a*e.N2},t.getPenaltyN3=function(n){const o=n.size;let a=0,l=0,i=0;for(let u=0;u<o;u++){l=i=0;for(let c=0;c<o;c++)l=l<<1&2047|n.get(u,c),c>=10&&(l===1488||l===93)&&a++,i=i<<1&2047|n.get(c,u),c>=10&&(i===1488||i===93)&&a++}return a*e.N3},t.getPenaltyN4=function(n){let o=0;const a=n.data.length;for(let i=0;i<a;i++)o+=n.data[i];return Math.abs(Math.ceil(o*100/a/5)-10)*e.N4};function s(r,n,o){switch(r){case t.Patterns.PATTERN000:return(n+o)%2===0;case t.Patterns.PATTERN001:return n%2===0;case t.Patterns.PATTERN010:return o%3===0;case t.Patterns.PATTERN011:return(n+o)%3===0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(o/3))%2===0;case t.Patterns.PATTERN101:return n*o%2+n*o%3===0;case t.Patterns.PATTERN110:return(n*o%2+n*o%3)%2===0;case t.Patterns.PATTERN111:return(n*o%3+(n+o)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}t.applyMask=function(n,o){const a=o.size;for(let l=0;l<a;l++)for(let i=0;i<a;i++)o.isReserved(i,l)||o.xor(i,l,s(n,i,l))},t.getBestMask=function(n,o){const a=Object.keys(t.Patterns).length;let l=0,i=1/0;for(let u=0;u<a;u++){o(u),t.applyMask(u,n);const c=t.getPenaltyN1(n)+t.getPenaltyN2(n)+t.getPenaltyN3(n)+t.getPenaltyN4(n);t.applyMask(u,n),c<i&&(i=c,l=u)}return l}})(Rt);var ot={};const D=nt,$=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],x=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];ot.getBlocksCount=function(e,s){switch(s){case D.L:return $[(e-1)*4+0];case D.M:return $[(e-1)*4+1];case D.Q:return $[(e-1)*4+2];case D.H:return $[(e-1)*4+3];default:return}};ot.getTotalCodewordsCount=function(e,s){switch(s){case D.L:return x[(e-1)*4+0];case D.M:return x[(e-1)*4+1];case D.Q:return x[(e-1)*4+2];case D.H:return x[(e-1)*4+3];default:return}};var Ft={},rt={};const Q=new Uint8Array(512),tt=new Uint8Array(256);(function(){let e=1;for(let s=0;s<255;s++)Q[s]=e,tt[e]=s,e<<=1,e&256&&(e^=285);for(let s=255;s<512;s++)Q[s]=Q[s-255]})();rt.log=function(e){if(e<1)throw new Error("log("+e+")");return tt[e]};rt.exp=function(e){return Q[e]};rt.mul=function(e,s){return e===0||s===0?0:Q[tt[e]+tt[s]]};(function(t){const e=rt;t.mul=function(r,n){const o=new Uint8Array(r.length+n.length-1);for(let a=0;a<r.length;a++)for(let l=0;l<n.length;l++)o[a+l]^=e.mul(r[a],n[l]);return o},t.mod=function(r,n){let o=new Uint8Array(r);for(;o.length-n.length>=0;){const a=o[0];for(let i=0;i<n.length;i++)o[i]^=e.mul(n[i],a);let l=0;for(;l<o.length&&o[l]===0;)l++;o=o.slice(l)}return o},t.generateECPolynomial=function(r){let n=new Uint8Array([1]);for(let o=0;o<r;o++)n=t.mul(n,new Uint8Array([1,e.exp(o)]));return n}})(Ft);const Lt=Ft;function pt(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}pt.prototype.initialize=function(e){this.degree=e,this.genPoly=Lt.generateECPolynomial(this.degree)};pt.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const s=new Uint8Array(e.length+this.degree);s.set(e);const r=Lt.mod(s,this.genPoly),n=this.degree-r.length;if(n>0){const o=new Uint8Array(this.degree);return o.set(r,n),o}return r};var re=pt,Dt={},U={},bt={};bt.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var _={};const Ut="[0-9]+",se="[A-Z $%*+\\-./:]+";let G="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";G=G.replace(/u/g,"\\u");const ie="(?:(?![A-Z0-9 $%*+\\-./:]|"+G+`)(?:.|[\r
2]))+`;_.KANJI=new RegExp(G,"g");_.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");_.BYTE=new RegExp(ie,"g");_.NUMERIC=new RegExp(Ut,"g");_.ALPHANUMERIC=new RegExp(se,"g");const ae=new RegExp("^"+G+"$"),le=new RegExp("^"+Ut+"$"),ue=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");_.testKanji=function(e){return ae.test(e)};_.testNumeric=function(e){return le.test(e)};_.testAlphanumeric=function(e){return ue.test(e)};(function(t){const e=bt,s=_;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!e.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},t.getBestModeForData=function(o){return s.testNumeric(o)?t.NUMERIC:s.testAlphanumeric(o)?t.ALPHANUMERIC:s.testKanji(o)?t.KANJI:t.BYTE},t.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},t.isValid=function(o){return o&&o.bit&&o.ccBits};function r(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+n)}}t.from=function(o,a){if(t.isValid(o))return o;try{return r(o)}catch{return a}}})(U);(function(t){const e=k,s=ot,r=nt,n=U,o=bt,a=7973,l=e.getBCHDigit(a);function i(w,d,p){for(let b=1;b<=40;b++)if(d<=t.getCapacity(b,p,w))return b}function u(w,d){return n.getCharCountIndicator(w,d)+4}function c(w,d){let p=0;return w.forEach(function(b){const N=u(b.mode,d);p+=N+b.getBitsLength()}),p}function C(w,d){for(let p=1;p<=40;p++)if(c(w,p)<=t.getCapacity(p,d,n.MIXED))return p}t.from=function(d,p){return o.isValid(d)?parseInt(d,10):p},t.getCapacity=function(d,p,b){if(!o.isValid(d))throw new Error("Invalid QR Code version");typeof b>"u"&&(b=n.BYTE);const N=e.getSymbolTotalCodewords(d),m=s.getTotalCodewordsCount(d,p),y=(N-m)*8;if(b===n.MIXED)return y;const h=y-u(b,d);switch(b){case n.NUMERIC:return Math.floor(h/10*3);case n.ALPHANUMERIC:return Math.floor(h/11*2);case n.KANJI:return Math.floor(h/13);case n.BYTE:default:return Math.floor(h/8)}},t.getBestVersionForData=function(d,p){let b;const N=r.from(p,r.M);if(Array.isArray(d)){if(d.length>1)return C(d,N);if(d.length===0)return 1;b=d[0]}else b=d;return i(b.mode,b.getLength(),N)},t.getEncodedBits=function(d){if(!o.isValid(d)||d<7)throw new Error("Invalid QR Code version");let p=d<<12;for(;e.getBCHDigit(p)-l>=0;)p^=a<<e.getBCHDigit(p)-l;return d<<12|p}})(Dt);var Vt={};const ft=k,Ot=1335,ce=21522,St=ft.getBCHDigit(Ot);Vt.getEncodedBits=function(e,s){const r=e.bit<<3|s;let n=r<<10;for(;ft.getBCHDigit(n)-St>=0;)n^=Ot<<ft.getBCHDigit(n)-St;return(r<<10|n)^ce};var zt={};const de=U;function z(t){this.mode=de.NUMERIC,this.data=t.toString()}z.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};z.prototype.getLength=function(){return this.data.length};z.prototype.getBitsLength=function(){return z.getBitsLength(this.data.length)};z.prototype.write=function(e){let s,r,n;for(s=0;s+3<=this.data.length;s+=3)r=this.data.substr(s,3),n=parseInt(r,10),e.put(n,10);const o=this.data.length-s;o>0&&(r=this.data.substr(s),n=parseInt(r,10),e.put(n,o*3+1))};var fe=z;const ge=U,at=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Y(t){this.mode=ge.ALPHANUMERIC,this.data=t}Y.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};Y.prototype.getLength=function(){return this.data.length};Y.prototype.getBitsLength=function(){return Y.getBitsLength(this.data.length)};Y.prototype.write=function(e){let s;for(s=0;s+2<=this.data.length;s+=2){let r=at.indexOf(this.data[s])*45;r+=at.indexOf(this.data[s+1]),e.put(r,11)}this.data.length%2&&e.put(at.indexOf(this.data[s]),6)};var he=Y;const me=U;function H(t){this.mode=me.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}H.getBitsLength=function(e){return e*8};H.prototype.getLength=function(){return this.data.length};H.prototype.getBitsLength=function(){return H.getBitsLength(this.data.length)};H.prototype.write=function(t){for(let e=0,s=this.data.length;e<s;e++)t.put(this.data[e],8)};var we=H;const pe=U,be=k;function K(t){this.mode=pe.KANJI,this.data=t}K.getBitsLength=function(e){return e*13};K.prototype.getLength=function(){return this.data.length};K.prototype.getBitsLength=function(){return K.getBitsLength(this.data.length)};K.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let s=be.toSJIS(this.data[e]);if(s>=33088&&s<=40956)s-=33088;else if(s>=57408&&s<=60351)s-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+`
3Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),t.put(s,13)}};var ye=K,Yt={exports:{}};(function(t){var e={single_source_shortest_paths:function(s,r,n){var o={},a={};a[r]=0;var l=e.PriorityQueue.make();l.push(r,0);for(var i,u,c,C,w,d,p,b,N;!l.empty();){i=l.pop(),u=i.value,C=i.cost,w=s[u]||{};for(c in w)w.hasOwnProperty(c)&&(d=w[c],p=C+d,b=a[c],N=typeof a[c]>"u",(N||b>p)&&(a[c]=p,l.push(c,p),o[c]=u))}if(typeof n<"u"&&typeof a[n]>"u"){var m=["Could not find a path from ",r," to ",n,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(s,r){for(var n=[],o=r;o;)n.push(o),s[o],o=s[o];return n.reverse(),n},find_path:function(s,r,n){var o=e.single_source_shortest_paths(s,r,n);return e.extract_shortest_path_from_predecessor_list(o,n)},PriorityQueue:{make:function(s){var r=e.PriorityQueue,n={},o;s=s||{};for(o in r)r.hasOwnProperty(o)&&(n[o]=r[o]);return n.queue=[],n.sorter=s.sorter||r.default_sorter,n},default_sorter:function(s,r){return s.cost-r.cost},push:function(s,r){var n={value:s,cost:r};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(Yt);var Ae=Yt.exports;(function(t){const e=U,s=fe,r=he,n=we,o=ye,a=_,l=k,i=Ae;function u(m){return unescape(encodeURIComponent(m)).length}function c(m,y,h){const f=[];let E;for(;(E=m.exec(h))!==null;)f.push({data:E[0],index:E.index,mode:y,length:E[0].length});return f}function C(m){const y=c(a.NUMERIC,e.NUMERIC,m),h=c(a.ALPHANUMERIC,e.ALPHANUMERIC,m);let f,E;return l.isKanjiModeEnabled()?(f=c(a.BYTE,e.BYTE,m),E=c(a.KANJI,e.KANJI,m)):(f=c(a.BYTE_KANJI,e.BYTE,m),E=[]),y.concat(h,f,E).sort(function(B,v){return B.index-v.index}).map(function(B){return{data:B.data,mode:B.mode,length:B.length}})}function w(m,y){switch(y){case e.NUMERIC:return s.getBitsLength(m);case e.ALPHANUMERIC:return r.getBitsLength(m);case e.KANJI:return o.getBitsLength(m);case e.BYTE:return n.getBitsLength(m)}}function d(m){return m.reduce(function(y,h){const f=y.length-1>=0?y[y.length-1]:null;return f&&f.mode===h.mode?(y[y.length-1].data+=h.data,y):(y.push(h),y)},[])}function p(m){const y=[];for(let h=0;h<m.length;h++){const f=m[h];switch(f.mode){case e.NUMERIC:y.push([f,{data:f.data,mode:e.ALPHANUMERIC,length:f.length},{data:f.data,mode:e.BYTE,length:f.length}]);break;case e.ALPHANUMERIC:y.push([f,{data:f.data,mode:e.BYTE,length:f.length}]);break;case e.KANJI:y.push([f,{data:f.data,mode:e.BYTE,length:u(f.data)}]);break;case e.BYTE:y.push([{data:f.data,mode:e.BYTE,length:u(f.data)}])}}return y}function b(m,y){const h={},f={start:{}};let E=["start"];for(let S=0;S<m.length;S++){const B=m[S],v=[];for(let F=0;F<B.length;F++){const M=B[F],j=""+S+F;v.push(j),h[j]={node:M,lastCount:0},f[j]={};for(let it=0;it<E.length;it++){const R=E[it];h[R]&&h[R].node.mode===M.mode?(f[R][j]=w(h[R].lastCount+M.length,M.mode)-w(h[R].lastCount,M.mode),h[R].lastCount+=M.length):(h[R]&&(h[R].lastCount=M.length),f[R][j]=w(M.length,M.mode)+4+e.getCharCountIndicator(M.mode,y))}}E=v}for(let S=0;S<E.length;S++)f[E[S]].end=0;return{map:f,table:h}}function N(m,y){let h;const f=e.getBestModeForData(m);if(h=e.from(y,f),h!==e.BYTE&&h.bit<f.bit)throw new Error('"'+m+'" cannot be encoded with mode '+e.toString(h)+`.
4 Suggested mode is: `+e.toString(f));switch(h===e.KANJI&&!l.isKanjiModeEnabled()&&(h=e.BYTE),h){case e.NUMERIC:return new s(m);case e.ALPHANUMERIC:return new r(m);case e.KANJI:return new o(m);case e.BYTE:return new n(m)}}t.fromArray=function(y){return y.reduce(function(h,f){return typeof f=="string"?h.push(N(f,null)):f.data&&h.push(N(f.data,f.mode)),h},[])},t.fromString=function(y,h){const f=C(y,l.isKanjiModeEnabled()),E=p(f),S=b(E,h),B=i.find_path(S.map,"start","end"),v=[];for(let F=1;F<B.length-1;F++)v.push(S.table[B[F]].node);return t.fromArray(d(v))},t.rawSplit=function(y){return t.fromArray(C(y,l.isKanjiModeEnabled()))}})(zt);const st=k,lt=nt,Ee=ee,Ce=ne,Se=Mt,Pe=_t,gt=Rt,ht=ot,Be=re,et=Dt,Te=Vt,Ne=U,ut=zt;function Ie(t,e){const s=t.size,r=Pe.getPositions(e);for(let n=0;n<r.length;n++){const o=r[n][0],a=r[n][1];for(let l=-1;l<=7;l++)if(!(o+l<=-1||s<=o+l))for(let i=-1;i<=7;i++)a+i<=-1||s<=a+i||(l>=0&&l<=6&&(i===0||i===6)||i>=0&&i<=6&&(l===0||l===6)||l>=2&&l<=4&&i>=2&&i<=4?t.set(o+l,a+i,!0,!0):t.set(o+l,a+i,!1,!0))}}function ke(t){const e=t.size;for(let s=8;s<e-8;s++){const r=s%2===0;t.set(s,6,r,!0),t.set(6,s,r,!0)}}function ve(t,e){const s=Se.getPositions(e);for(let r=0;r<s.length;r++){const n=s[r][0],o=s[r][1];for(let a=-2;a<=2;a++)for(let l=-2;l<=2;l++)a===-2||a===2||l===-2||l===2||a===0&&l===0?t.set(n+a,o+l,!0,!0):t.set(n+a,o+l,!1,!0)}}function Me(t,e){const s=t.size,r=et.getEncodedBits(e);let n,o,a;for(let l=0;l<18;l++)n=Math.floor(l/3),o=l%3+s-8-3,a=(r>>l&1)===1,t.set(n,o,a,!0),t.set(o,n,a,!0)}function ct(t,e,s){const r=t.size,n=Te.getEncodedBits(e,s);let o,a;for(o=0;o<15;o++)a=(n>>o&1)===1,o<6?t.set(o,8,a,!0):o<8?t.set(o+1,8,a,!0):t.set(r-15+o,8,a,!0),o<8?t.set(8,r-o-1,a,!0):o<9?t.set(8,15-o-1+1,a,!0):t.set(8,15-o-1,a,!0);t.set(r-8,8,1,!0)}function _e(t,e){const s=t.size;let r=-1,n=s-1,o=7,a=0;for(let l=s-1;l>0;l-=2)for(l===6&&l--;;){for(let i=0;i<2;i++)if(!t.isReserved(n,l-i)){let u=!1;a<e.length&&(u=(e[a]>>>o&1)===1),t.set(n,l-i,u),o--,o===-1&&(a++,o=7)}if(n+=r,n<0||s<=n){n-=r,r=-r;break}}}function Re(t,e,s){const r=new Ee;s.forEach(function(i){r.put(i.mode.bit,4),r.put(i.getLength(),Ne.getCharCountIndicator(i.mode,t)),i.write(r)});const n=st.getSymbolTotalCodewords(t),o=ht.getTotalCodewordsCount(t,e),a=(n-o)*8;for(r.getLengthInBits()+4<=a&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const l=(a-r.getLengthInBits())/8;for(let i=0;i<l;i++)r.put(i%2?17:236,8);return Fe(r,t,e)}function Fe(t,e,s){const r=st.getSymbolTotalCodewords(e),n=ht.getTotalCodewordsCount(e,s),o=r-n,a=ht.getBlocksCount(e,s),l=r%a,i=a-l,u=Math.floor(r/a),c=Math.floor(o/a),C=c+1,w=u-c,d=new Be(w);let p=0;const b=new Array(a),N=new Array(a);let m=0;const y=new Uint8Array(t.buffer);for(let B=0;B<a;B++){const v=B<i?c:C;b[B]=y.slice(p,p+v),N[B]=d.encode(b[B]),p+=v,m=Math.max(m,v)}const h=new Uint8Array(r);let f=0,E,S;for(E=0;E<m;E++)for(S=0;S<a;S++)E<b[S].length&&(h[f++]=b[S][E]);for(E=0;E<w;E++)for(S=0;S<a;S++)h[f++]=N[S][E];return h}function Le(t,e,s,r){let n;if(Array.isArray(t))n=ut.fromArray(t);else if(typeof t=="string"){let u=e;if(!u){const c=ut.rawSplit(t);u=et.getBestVersionForData(c,s)}n=ut.fromString(t,u||40)}else throw new Error("Invalid data");const o=et.getBestVersionForData(n,s);if(!o)throw new Error("The amount of data is too big to be stored in a QR Code");if(!e)e=o;else if(e<o)throw new Error(`
5The chosen QR Code version cannot contain this amount of data.
6Minimum version required to store current data is: `+o+`.
7`);const a=Re(e,s,n),l=st.getSymbolSize(e),i=new Ce(l);return Ie(i,e),ke(i),ve(i,e),ct(i,s,0),e>=7&&Me(i,e),_e(i,a),isNaN(r)&&(r=gt.getBestMask(i,ct.bind(null,i,s))),gt.applyM
7ask(r,i),ct(i,s,r),{modules:i,version:e,errorCorrectionLevel:s,maskPattern:r,segments:n}}kt.create=function(e,s){if(typeof e>"u"||e==="")throw new Error("No input text");let r=lt.M,n,o;return typeof s<"u"&&(r=lt.from(s.errorCorrectionLevel,lt.M),n=et.from(s.version),o=gt.from(s.maskPattern),s.toSJISFunc&&st.setToSJISFunction(s.toSJISFunc)),Le(e,n,r,o)};var Ht={},yt={};(function(t){function e(s){if(typeof s=="number"&&(s=s.toString()),typeof s!="string")throw new Error("Color should be defined as hex string");let r=s.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+s);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(o){return[o,o]}))),r.length===6&&r.push("F","F");const n=parseInt(r.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:"#"+r.slice(0,6).join("")}}t.getOptions=function(r){r||(r={}),r.color||(r.color={});const n=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,o=r.width&&r.width>=21?r.width:void 0,a=r.scale||4;return{width:o,scale:o?4:a,margin:n,color:{dark:e(r.color.dark||"#000000ff"),light:e(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},t.getScale=function(r,n){return n.width&&n.width>=r+n.margin*2?n.width/(r+n.margin*2):n.scale},t.getImageWidth=function(r,n){const o=t.getScale(r,n);return Math.floor((r+n.margin*2)*o)},t.qrToImageData=function(r,n,o){const a=n.modules.size,l=n.modules.data,i=t.getScale(a,o),u=Math.floor((a+o.margin*2)*i),c=o.margin*i,C=[o.color.light,o.color.dark];for(let w=0;w<u;w++)for(let d=0;d<u;d++){let p=(w*u+d)*4,b=o.color.light;if(w>=c&&d>=c&&w<u-c&&d<u-c){const N=Math.floor((w-c)/i),m=Math.floor((d-c)/i);b=C[l[N*a+m]?1:0]}r[p++]=b.r,r[p++]=b.g,r[p++]=b.b,r[p]=b.a}}})(yt);(function(t){const e=yt;function s(n,o,a){n.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}t.render=function(o,a,l){let i=l,u=a;typeof i>"u"&&(!a||!a.getContext)&&(i=a,a=void 0),a||(u=r()),i=e.getOptions(i);const c=e.getImageWidth(o.modules.size,i),C=u.getContext("2d"),w=C.createImageData(c,c);return e.qrToImageData(w.data,o,i),s(C,u,c),C.putImageData(w,0,0),u},t.renderToDataURL=function(o,a,l){let i=l;typeof i>"u"&&(!a||!a.getContext)&&(i=a,a=void 0),i||(i={});const u=t.render(o,a,i),c=i.type||"image/png",C=i.rendererOpts||{};return u.toDataURL(c,C.quality)}})(Ht);var Kt={};const De=yt;function Pt(t,e){const s=t.a/255,r=e+'="'+t.hex+'"';return s<1?r+" "+e+'-opacity="'+s.toFixed(2).slice(1)+'"':r}function dt(t,e,s){let r=t+e;return typeof s<"u"&&(r+=" "+s),r}function Ue(t,e,s){let r="",n=0,o=!1,a=0;for(let l=0;l<t.length;l++){const i=Math.floor(l%e),u=Math.floor(l/e);!i&&!o&&(o=!0),t[l]?(a++,l>0&&i>0&&t[l-1]||(r+=o?dt("M",i+s,.5+u+s):dt("m",n,0),n=0,o=!1),i+1<e&&t[l+1]||(r+=dt("h",a),a=0)):n++}return r}Kt.render=function(e,s,r){const n=De.getOptions(s),o=e.modules.size,a=e.modules.data,l=o+n.margin*2,i=n.color.light.a?"<path "+Pt(n.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",u="<path "+Pt(n.color.dark,"stroke")+' d="'+Ue(a,o,n.margin)+'"/>',c='viewBox="0 0 '+l+" "+l+'"',w='<svg xmlns="http://www.w3.org/2000/svg" '+(n.width?'width="'+n.width+'" height="'+n.width+'" ':"")+c+' shape-rendering="crispEdges">'+i+u+`</svg>
8`;return typeof r=="function"&&r(null,w),w};const Ve=xt,mt=kt,jt=Ht,Oe=Kt;function At(t,e,s,r,n){const o=[].slice.call(arguments,1),a=o.length,l=typeof o[a-1]=="function";if(!l&&!Ve())throw new Error("Callback required as last argument");if(l){if(a<2)throw new Error("Too few arguments provided");a===2?(n=s,s=e,e=r=void 0):a===3&&(e.getContext&&typeof n>"u"?(n=r,r=void 0):(n=r,r=s,s=e,e=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(s=e,e=r=void 0):a===2&&!e.getContext&&(r=s,s=e,e=void 0),new Promise(function(i,u){try{const c=mt.create(s,r);i(t(c,e,r))}catch(c){u(c)}})}try{const i=mt.create(s,r);n(null,t(i,e,r))}catch(i){n(i)}}W.create=mt.create;W.toCanvas=At.bind(null,jt.render);W.toDataURL=At.bind(null,jt.renderToDataURL);W.toString=At.bind(null,function(t,e,s){return Oe.render(t,s)});const ze=["low","medium","quartile","high","L","M","Q","H"],Ye=[0,1,2,3,4,5,6,7],He=["alphanumeric","numeric","kanji","byte"],Ke=["image/png","image/jpeg","image/webp"],je=40,Je=Jt({props:{version:{type:Number,validator:t=>t===Number.parseInt(String(t),10)&&t>=1&&t<=je},errorCorrectionLevel:{type:String,validator:t=>ze.includes(t)},maskPattern:{type:Number,validator:t=>Ye.includes(t)},toSJISFunc:Function,margin:Number,scale:Number,width:Number,color:{type:Object,validator:t=>["dark","light"].every(e=>["string","undefined"].includes(typeof t[e])),required:!0},type:{type:String,validator:t=>Ke.includes(t),required:!0},quality:{type:Number,validator:t=>t===Number.parseFloat(String(t))&&t>=0&&t<=1,required:!0},value:{type:[String,Array],required:!0,validator(t){return typeof t=="string"?!0:t.every(({data:e,mode:s})=>typeof e=="string"&&He.includes(s))}}},setup(t,{attrs:e,emit:s}){const r=Gt();return qt(t,()=>{const o=t||{},{quality:a,value:l}=o,i=$t(o,["quality","value"]);W.toDataURL(l,Object.assign(i,a==null||{renderOptions:{quality:a}})).then(u=>{r.value=u}).catch(u=>s("error",u))},{immediate:!0}),()=>Qt("img",Object.assign(Object.assign({},e),{src:r.value}))}}
8),qe={components:{Confirm:Bt,VueQrcode:Je},props:{},data(){return{currentPassword:"",processing:!1,uri:null,tokenValid:!1,twoFAStatus:null,token:null,showURI:!1}},mounted(){this.modal=new Wt(this.$refs.modal),this.getStatus()},methods:{show(){this.modal.show()},confirmEnableTwoFA(){this.$refs.confirmEnableTwoFA.show()},confirmDisableTwoFA(){this.$refs.confirmDisableTwoFA.show()},prepare2FA(){this.processing=!0,this.$root.getSocket().emit("prepare2FA",this.currentPassword,t=>{this.processing=!1,t.ok?this.uri=t.uri:this.$root.toastError(t.msg)})},save2FA(){this.processing=!0,this.$root.getSocket().emit("save2FA",this.currentPassword,t=>{this.processing=!1,t.ok?(this.$root.toastRes(t),this.getStatus(),this.currentPassword="",this.modal.hide()):this.$root.toastError(t.msg)})},disable2FA(){this.processing=!0,this.$root.getSocket().emit("disable2FA",this.currentPassword,t=>{this.processing=!1,t.ok?(this.$root.toastRes(t),this.getStatus(),this.currentPassword="",this.modal.hide()):this.$root.toastError(t.msg)})},verifyToken(){this.$root.getSocket().emit("verifyToken",this.token,this.currentPassword,t=>{t.ok?this.tokenValid=t.valid:this.$root.toastError(t.msg)})},getStatus(){this.$root.getSocket().emit("twoFAStatus",t=>{t.ok?this.twoFAStatus=t.status:this.$root.toastError(t.msg)})}}},Qe={ref:"modal",class:"modal fade",tabindex:"-1","data-bs-backdrop":"static"},Ge={class:"modal-dialog"},We={class:"modal-content"},Xe={class:"modal-header"},Ze={class:"modal-title"},$e={key:0,class:"badge bg-primary"},xe={key:1,class:"badge bg-primary"},tn=["disabled","aria-label"],en={class:"modal-body"},nn={class:"mb-3"},on={key:0,class:"mx-auto text-center",style:{width:"210px"}},rn={key:1,class:"text-break mt-2"},sn={key:2,class:"mb-3"},an={for:"current-password",class:"form-label"},ln=["disabled"],un={key:5,class:"mt-3"},cn={for:"basic-url",class:"form-label"},dn={class:"input-group"},fn={key:0,class:"modal-footer"},gn=["disabled"],hn={key:0,class:"spinner-border spinner-border-sm me-1"};function mn(t,e,s,r,n,o){const a=J("vue-qrcode"),l=J("Confirm");return P(),T(It,null,[g("form",{onSubmit:e[7]||(e[7]=Nt((...i)=>t.submit&&t.submit(...i),["prevent"]))},[g("div",Qe,[g("div",Ge,[g("div",We,[g("div",Xe,[g("h5",Ze,[Z(A(t.$t("Setup 2FA"))+" ",1),n.twoFAStatus==!0?(P(),T("span",$e,A(t.$t("Active")),1)):I("",!0),n.twoFAStatus==!1?(P(),T("span",xe,A(t.$t("Inactive")),1)):I("",!0)]),g("button",{disabled:n.processing,type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":t.$t("Close")},null,8,tn)]),g("div",en,[g("div",nn,[n.uri&&n.twoFAStatus==!1?(P(),T("div",on,[(P(),Xt(a,{key:n.uri,value:n.uri,type:"image/png",quality:1,color:{light:"#ffffffff"}},null,8,["value"])),L(g("button",{type:"button",class:"btn btn-outline-primary btn-sm mt-2",onClick:e[0]||(e[0]=i=>n.showURI=!0)},A(t.$t("Show URI")),513),[[Et,!n.showURI]])])):I("",!0),n.showURI&&n.twoFAStatus==!1?(P(),T("p",rn,A(n.uri),1)):I("",!0),n.uri&&n.twoFAStatus==!1?I("",!0):(P(),T("div",sn,[g("label",an,A(t.$t("Current Password")),1),L(g("input",{id:"current-password","onUpdate:modelValue":e[1]||(e[1]=i=>n.currentPassword=i),type:"password",class:"form-control",autocomplete:"current-password",required:""},null,512),[[V,n.currentPassword]])])),n.uri==null&&n.twoFAStatus==!1?(P(),T("button",{key:3,class:"btn btn-primary",type:"button",onClick:e[2]||(e[2]=i=>o.prepare2FA())},A(t.$t("Enable 2FA")),1)):I("",!0),n.twoFAStatus==!0?(P(),T("button",{key:4,class:"btn btn-danger",type:"button",disabled:n.processing,onClick:e[3]||(e[3]=i=>o.confirmDisableTwoFA())},A(t.$t("Disable 2FA")),9,ln)):I("",!0),n.uri&&n.twoFAStatus==!1?(P(),T("div",un,[g("label",cn,A(t.$t("twoFAVerifyLabel")),1),g("div",dn,[L(g("input",{"onUpdate:modelValue":e[4]||(e[4]=i=>n.token=i),type:"text",maxlength:"6",class:"form-control",autocomplete:"one-time-code",required:""},null,512),[[V,n.token]]),g("button",{class:"btn btn-outline-primary",type:"button",onClick:e[5]||(e[5]=i=>o.verifyToken())},A(t.$t("Verify Token")),1)]),L(g("p",{class:"mt-2",style:{color:"green"}},A(t.$t("tokenValidSettingsMsg")),513),[[Et,n.tokenValid]])])):I("",!0)])]),n.uri&&n.twoFAStatus==!1?(P(),T("div",fn,[g("button",{type:"submit",class:"btn btn-primary",disabled:n.processing||n.tokenValid==!1,onClick:e[6]||(e[6]=i=>o.confirmEnableTwoFA())},[n.processing?(P(),T("div",hn)):I("",!0),Z(" "+A(t.$t("Save")),1)],8,gn)])):I("",!0)])])],512)],32),O(l,{ref:"confirmEnableTwoFA","btn-style":"btn-danger","yes-text":t.$t("Yes"),"no-text":t.$t("No"),onYes:o.save2FA},{default:q(()=>[Z(A(t.$t("confirmEnableTwoFAMsg")),1)]),_:1},8,["yes-text","no-text","onYes"]),O(l,{ref:"confirmDisableTwoFA","btn-style":"btn-danger","yes-text":t.$t("Yes"),"no-text":t.$t("No"),onYes:o.disable2FA},{default:q(()=>[Z(A(t.$t("confirmDisableTwoFAMsg")),1)]),_:1},8,["yes-text","no-text","onYes"])],64)}const wn=Tt(qe,[["render",mn],["__scopeId","data-v-c015e868"]]),pn={components:{Confirm:
8Bt,TwoFADialog:wn},data(){return{invalidPassword:!1,password:{currentPassword:"",newPassword:"",repeatNewPassword:""}}},computed:{settings(){return this.$parent.$parent.$parent.settings},saveSettings(){return this.$parent.$parent.$parent.saveSettings},settingsLoaded(){return this.$parent.$parent.$parent.settingsLoaded}},watch:{"password.repeatNewPassword"(){this.invalidPassword=!1}},methods:{savePassword(){this.password.newPassword!==this.password.repeatNewPassword?this.invalidPassword=!0:this.$root.getSocket().emit("changePassword",this.password,t=>{this.$root.toastRes(t),t.ok&&(this.password.currentPassword="",this.password.newPassword="",this.password.repeatNewPassword="",t.token&&(this.$root.storage().token=t.token,this.$root.socket.token=t.token))})},disableAuth(){this.settings.disableAuth=!0,this.saveSettings(()=>{this.password.currentPassword="",this.$root.username=null,this.$root.socket.token="autoLogin"},this.password.currentPassword)},enableAuth(){this.settings.disableAuth=!1,this.saveSettings(),this.$root.storage().removeItem("token"),location.reload()},confirmDisableAuth(){this.$refs.confirmDisableAuth.show()}}},bn={key:0,class:"my-4"},yn={class:"my-4 settings-subheading"},An={class:"mb-3"},En={for:"current-password",class:"form-label"},Cn={class:"mb-3"},Sn={for:"new-password",class:"form-label"},Pn={class:"mb-3"},Bn={for:"repeat-new-password",class:"form-label"},Tn={class:"invalid-feedback"},Nn={class:"btn btn-primary",type:"submit"},In={key:1,class:"mt-5 mb-3"},kn={class:"my-4 settings-subheading"},vn={class:"mb-4"},Mn={class:"my-4"},_n={class:"my-4 settings-subheading"},Rn={class:"mb-4"},Fn={class:"mb-3"},Ln={for:"current-password2",class:"form-label"};function Dn(t,e,s,r,n,o){const a=J("TwoFADialog"),l=J("i18n-t"),i=J("Confirm");return P(),T("div",null,[o.settingsLoaded?(P(),T("div",bn,[o.settings.disableAuth?I("",!0):(P(),T(It,{key:0},[g("p",null,[o.settings.disableAuth?I("",!0):(P(),T("button",{key:0,id:"logout-btn",class:"btn btn-danger ms-4 me-2 mb-2",onClick:e[0]||(e[0]=(...u)=>t.$root.logout&&t.$root.logout(...u))},A(t.$t("logoutCurrentUser",{username:t.$root.username})),1))]),g("h5",yn,A(t.$t("Change Password")),1),g("form",{class:"mb-3",onSubmit:e[4]||(e[4]=Nt((...u)=>o.savePassword&&o.savePassword(...u),["prevent"]))},[g("div",An,[g("label",En,A(t.$t("Current Password")),1),L(g("input",{id:"current-password","onUpdate:modelValue":e[1]||(e[1]=u=>n.password.currentPassword=u),type:"password",class:"form-control",autocomplete:"current-password",required:""},null,512),[[V,n.password.currentPassword]])]),g("div",Cn,[g("label",Sn,A(t.$t("New Password")),1),L(g("input",{id:"new-password","onUpdate:modelValue":e[2]||(e[2]=u=>n.password.newPassword=u),type:"password",class:"form-control",autocomplete:"new-password",required:""},null,512),[[V,n.password.newPassword]])]),g("div",Pn,[g("label",Bn,A(t.$t("Repeat New Password")),1),L(g("input",{id:"repeat-new-password","onUpdate:modelValue":e[3]||(e[3]=u=>n.password.repeatNewPassword=u),type:"password",class:Zt(["form-control",{"is-invalid":n.invalidPassword}]),autocomplete:"new-password",required:""},null,2),[[V,n.password.repeatNewPassword]]),g("div",Tn,A(t.$t("passwordNotMatchMsg")),1)]),g("div",null,[g("button",Nn,A(t.$t("Update Password")),1)])],32)],64)),o.settings.disableAuth?I("",!0):(P(),T("div",In,[g("h5",kn,A(t.$t("Two Factor Authentication")),1),g("div",vn,[g("button",{class:"btn btn-primary me-2",type:"button",onClick:e[5]||(e[5]=u=>t.$refs.TwoFADialog.show())},A(t.$t("2FA Settings")),1)])])),g("div",Mn,[g("h5",_n,A(t.$t("Advanced")),1),g("div",Rn,[o.settings.disableAuth?(P(),T("button",{key:0,id:"enableAuth-btn",class:"btn btn-outline-primary me-2 mb-2",onClick:e[6]||(e[6]=(...u)=>o.enableAuth&&o.enableAuth(...u))},A(t.$t("Enable Auth")),1)):I("",!0),o.settings.disableAuth?I("",!0):(P(),T("button",{key:1,id:"disableAuth-btn",class:"btn btn-primary me-2 mb-2",onClick:e[7]||(e[7]=(...u)=>o.confirmDisableAuth&&o.confirmDisableAuth(...u))},A(t.$t("Disable Auth")),1))])])])):I("",!0),O(a,{ref:"TwoFADialog"},null,512),O(i,{ref:"confirmDisableAuth","btn-style":"btn-danger","yes-text":t.$t("I understand, please disable"),"no-text":t.$t("Leave"),onYes:o.disableAuth},{default:q(()=>[O(l,{tag:"p",keypath:"disableauth.message1"},{disableAuth:q(()=>[g("strong",null,A(t.$t("disable authentication")),1)]),_:1}),O(l,{tag:"p",keypath:"disableauth.message2"},{intendThirdPartyAuth:q(()=>[g("strong",null,A(t.$t("where you intend to implement third-party authentication")),1)]),_:1}),g("p",null,A(t.$t("Please use this option carefully!")),1),g("div",Fn,[g("label",Ln,A(t.$t("Current Password")),1),L(g("input",{id:"current-password2","onUpdate:modelValue":e[8]||(e[8]=u=>n.password.currentPassword=u),type:"password",class:"form-control",required:""},null,512),[[V,n.password.currentPassword]])])]),_:1},8,["yes-text","no-text","onYes"])])}const Vn=Tt(pn,[["render",Dn]]);
8export{Vn as default};

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.