1var e=/[^\0-\x7E]/,t=/[\x2E\u3002\uFF0E\uFF61]/g,n={overflow:`Overflow Error`,"not-basic":`Illegal Input`,"invalid-input":`Invalid Input`},r=Math.floor,i=String.fromCharCode;function a(e){throw RangeError(n[e])}var o=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},s=function(e,t,n){let i=0;for(e=n?r(e/700):e>>1,e+=r(e/t);e>455;i+=36)e=r(e/35);return r(i+36*e/(e+38))};function c(n){return(function(e,n){let r=e.split(`@`),i=``;r.length>1&&(i=r[0]+`@`,e=r[1]);let a=(function(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n})((e=e.replace(t,`.`)).split(`.`),n).join(`.`);return i+a})(n,function(t){return e.test(t)?`xn--`+(function(e){let t=[],n=(e=(function(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(64512&r)==56320?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t})(e)).length,c=128,l=0,u=72;for(let n of e)n<128&&t.push(i(n));let d=t.length,f=d;for(d&&t.push(`-`);f<n;){let n=2147483647;for(let t of e)t>=c&&t<n&&(n=t);let p=f+1;n-c>r((2147483647-l)/p)&&a(`overflow`),l+=(n-c)*p,c=n;for(let n of e)if(n<c&&++l>2147483647&&a(`overflow`),n==c){let e=l;for(let n=36;;n+=36){let a=n<=u?1:n>=u+26?26:n-u;if(e<a)break;let s=e-a,c=36-a;t.push(i(o(a+s%c,0))),e=r(s/c)}t.push(i(o(e,0))),u=s(l,p,f==d),l=0,++f}++l,++c}return t.join(``)})(t):t})}var l=/#/g,u=/&/g,d=/\//g,f=/=/g,p=/\?/g,m=/\+/g,h=/%5e/gi,g=/%60/gi,_=/%7b/gi,v=/%7c/gi,y=/%7d/gi,ee=/%20/gi,b=/%2f/gi,x=/%252f/gi;function S(e){return encodeURI(``+e).replace(v,`|`)}function C(e){return S(e).replace(_,`{`).replace(y,`}`).replace(h,`^`)}function w(e){return S(typeof e==`string`?e:JSON.stringify(e)).replace(m,`%2B`).replace(ee,`+`).replace(l,`%23`).replace(u,`%26`).replace(g,"`").replace(h,`^`).replace(d,`%2F`)}function T(e){return w(e).replace(f,`%3D`)}function E(e){return S(e).replace(l,`%23`).replace(p,`%3F`).replace(x,`%2F`).replace(u,`%26`).replace(m,`%2B`)}function D(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function te(e){return D(e.replace(b,`%252F`))}function ne(e){return D(e.replace(m,` `))}function re(e){return D(e.replace(m,` `))}function O(e=``){return c(e)}function k(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=ne(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=re(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function A(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${T(e)}=${w(t)}`).join(`&`):`${T(e)}=${w(t)}`:T(e)}function j(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>A(t,e[t])).filter(Boolean).join(`&`)}var M=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,N=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,P=/^([/\\]\s*){2,}[^/\\]/,F=/\/$|\/\?|\/#/,I=/^\.?\//;function L(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?M.test(e):N.test(e)||(t.acceptRelative?P.test(e):!1)}function R(e=``,t){return t?F.test(e):e.endsWith(`/`)}function z(e=``,t){if(!t)return(R(e)?e.slice(0,-1):e)||`/`;if(!R(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function B(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(R(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function V(e,t){if(U(t)||L(e))return e;let n=z(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return G(n,e)}function H(e,t){let n=Z(e);return n.search=j({...k(n.search),...t}),$(n)}function U(e){return!e||e===`/`}function W(e){return e&&e!==`/`}function G(e,...t){let n=e||``;for(let e of t.filter(e=>W(e)))if(n){let t=e.replace(I,``);n=B(n)+t}else n=e;return n}function K(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&L(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function q(e){return J(e,`https://`)}function J(e,t){let n=e.match(N);return n||=e.match(/^\/{2,}/),n?t+e.slice(n[0].length):t+e}function Y(e){let t=Z(e);return t.pathname=E(te(t.pathname)),t.hash=C(D(t.hash)),t.host=O(D(t.host)),t.search=j(k(t.search)),$(t)}var X=Symbol.for(`ufo:protocolRelative`);function Z(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!L(e,{acceptRelative:!0}))return t?Z(t+e):Q(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=Q(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[X]:!r}}function Q(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function $(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[X]?(e.protocol||``)+`//`:``)+i+a+t+n+r}export{Y as a,q as c,G as i,H as l,L as n,Z as o,K as r,V as s,C as t}; 2//# sourceMappingURL=CzD7T-y8.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.