PageSourceSearch

https://hskwin.com/assets/runtime-Dk8KAH2V.js

js hskwin.com collected 2026-10-03 22:01:44 UTC 32,194 bytes, 1 lines download raw bytes

vendor: 4,771 bytes, line 1
1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var te=/\/+/g;function k(e,t){return typeof e==`object`&&e&&e.key!=null?ee(``+e.key):t.toString(36)}function A(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function j(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,j(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+k(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(te,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(te,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+k(a,u),c+=j(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+k(a,u++),c+=j(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return j(A(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function M(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ne(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var N=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)}
1,re={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=re,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ne}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,N)}catch(e){N(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.5`})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),p=o(((e,t)=>{t.exports=f()})),m=Object.defineProperty,h=(e,t)=>m(e,`name`,{value:t,configurable:!0}),g=class{type=3;name=``;prefix=``;value=``;suffix=``;modifier=3;constructor(e,t,n,r,i,a){this.type=e,this.name=t,this.prefix=n,this.value=r,this.suffix=i,this.modifier=a}hasCustomName(){return this.name!==``&&typeof this.name!=`number`}};h(g,`Part`);var _=/[$_\p{ID_Start}]/u,v=/[$_\u200C\u200D\p{ID_Continue}]/u,y=`.*`;function b(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}h(b,`isASCII`);function x(e,t=!1){let n=[],r=0;for(;r<e.length;){let i=e[r],a=h(function(i){if(!t)throw TypeError(i);n.push({type:`INVALID_CHAR`,index:r,value:e[r++]})},`ErrorOrInvalid`);if(i===`*`){n.push({type:`ASTERISK`,index:r,value:e[r++]});continue}if(i===`+`||i===`?`){n.push({type:`OTHER_MODIFIER`,index:r,value:e[r++]});continue}if(i===`\\`){n.push({type:`ESCAPED_CHAR`,index:r++,value:e[r++]});continue}if(i===`{`){n.push({type:`OPEN`,index:r,value:e[r++]});continue}if(i===`}`){n.push({type:`CLOSE`,index:r,value:e[r++]});continue}if(i===`:`){let t=``,i=r+1;for(;i<e.length;){let n=e.substr(i,1);if(i===r+1&&_.test(n)||i!==r+1&&v.test(n)){t+=e[i++];continue}break}if(!t){a(`Missing parameter name at ${r}`);continue}n.push({type:`NAME`,index:r,value:t}),r=i;continue}if(i===`(`){let t=1,i=``,o=r+1,s=!1;if(e[o]===`?`){a(`Pattern cannot start with "?" at ${o}`);continue}for(;o<e.length;){if(!b(e[o],!1)){a(`Invalid character '${e[o]}' at ${o}.`),s=!0;break}if(e[o]===`\\`){i+=e[o++]+e[o++];continue}if(e[o]===`)`){if(t--,t===0){o++;break}}else if(e[o]===`(`&&(t++,e[o+1]!==`?`)){a(`Capturing groups are not allowed at ${o}`),s=!0;break}i+=e[o++]}if(s)continue;if(t){a(`Unbalanced pattern at ${r}`);continue}if(!i){a(`Missing pattern at ${r}`);continue}n.push({type:`REGEX`,index:r,value:i}),r=o;continue}n.push({type:`CHAR`,index:r,value:e[r++]})}return n.push({type:`END`,index:r,value:``}),n}h(x,`lexer`);function S(e,t={}){let n=x(e);t.delimiter??=`/#?`,t.prefixes??=`./`;let r=`[^${C(t.delimiter)}]+?`,i=[],a=0,o=0,s=new Set,c=h(e=>{if(o<n.length&&n[o].type===e)return n[o++].value},`tryConsume`),l=h(()=>c(`OTHER_MODIFIER`)??c(`ASTERISK`),`tryConsumeModifier`),u=h(e=>{let t=c(e);if(t!==void 0)return t;let{type:r,index:i}=n[o];throw TypeError(`Unexpected ${r} at ${i}, expected ${e}`)},`mustConsume`),d=h(()=>{let e=``,t;for(;t=c(`CHAR`)??c(`ESCAPED_CHAR`);)e+=t;return e},`consumeText`),f=h(e=>e,`DefaultEncodePart`),p=t.encodePart||f,m=``,_=h(e=>{m+=e},`appendToPendingFixedValue`),v=h(()=>{m.length&&(i.push(new g(3,``,``,p(m),``,3)),m=``)},`maybeAddPartFromPendingFixedValue`),b=h((e,t,n,o,c)=>{let l=3;switch(c){case`?`:l=1;break;case`*`:l=0;break;case`+`:l=2;break}if(!t&&!n&&l===3){_(e);return}if(v(),!t&&!n){if(!e)return;i.push(new g(3,``,``,p(e),``,l));return}let u;u=n?n===`*`?y:n:r;let d=2;u===r?(d=1,u=``):u===y&&(d=0,u=``);let f;if(t?f=t:n&&(f=a++),s.has(f))throw TypeError(`Duplicate name '${f}'.`);s.add(f),i.push(new g(d,f,p(e),u,p(o),l))},`addPart`);for(;o<n.length;){let e=c(`CHAR`),n=c(`NAME`),r=c(`REGEX`);if(!n&&!r&&(r=c(`ASTERISK`)),n||r){let i=e??``;t.prefixes.indexOf(i)===-1&&(_(i),i=``),v();let a=l();b(i,n,r,``,a);continue}let i=e??c(`ESCAPED_CHAR`);if(i){_(i);continue}if(c(`OPEN`)){let e=d(),t=c(`NAME`),n=c(`REGEX`);!t&&!n&&(n=c(`ASTERISK`));let r=d();u(`CLOSE`);let i=l();b(e,t,n,r,i);continue}v(),u(`END`)}return i}h(S,`parse`);function C(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,`\\$1`)}h(C,`escapeString`);function w(e){return e&&e.ignoreCase?`ui`:`u`}h(w,`flags`);function T(e,t,n){return D(S(e,n),t,n)}h(T,`stringToRegexp`);function E(e){switch(e){case 0:return`*`;case 1:return`?`;case 2:return`+`;case 3:return``}}h(E,`modifierToString`);function D(e,t,n={}){n.delimiter??=`/#?`,n.prefixes??=`./`,n.sensitive??=!1,n.strict??=!1,n.end??=!0,n.start??=!0,n.endsWith=``;let r=n.start?`^`:``;for(let i of e){if(i.type===3){i.modifier===3?r+=C(i.value):r+=`(?:${C(i.value)})${E(i.modifier)}`;continue}t&&t.push(i.name);let e=`[^${C(n.delimiter)}]+?`,a=i.value;if(i.type===1?a=e:i.type===0&&(a=y),!i.prefix.length&&!i.suffix.length){i.modifier===3||i.modifier===1?r+=`(${a})${E(i.modifier)}`:r+=`((?:${a})${E(i.modifier)})`;continue}if(i.modifier===3||i.modifier===1){r+=`(?:${C(i.prefix)}(${a}
1)${C(i.suffix)})`,r+=E(i.modifier);continue}r+=`(?:${C(i.prefix)}`,r+=`((?:${a})(?:`,r+=C(i.suffix),r+=C(i.prefix),r+=`(?:${a}))*)${C(i.suffix)})`,i.modifier===0&&(r+=`?`)}let i=`[${C(n.endsWith)}]|$`,a=`[${C(n.delimiter)}]`;if(n.end)return n.strict||(r+=`${a}?`),n.endsWith.length?r+=`(?=${i})`:r+=`$`,new RegExp(r,w(n));n.strict||(r+=`(?:${a}(?=${i}))?`);let o=!1;if(e.length){let t=e[e.length-1];t.type===3&&t.modifier===3&&(o=n.delimiter.indexOf(t)>-1)}return o||(r+=`(?=${a}|${i})`),new RegExp(r,w(n))}h(D,`partsToRegexp`);var O={delimiter:``,prefixes:``,sensitive:!0,strict:!0},ee={delimiter:`.`,prefixes:``,sensitive:!0,strict:!0},te={delimiter:`/`,prefixes:`/`,sensitive:!0,strict:!0};function k(e,t){return e.length?e[0]===`/`?!0:!t||e.length<2?!1:(e[0]==`\\`||e[0]==`{`)&&e[1]==`/`:!1}h(k,`isAbsolutePathname`);function A(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}h(A,`maybeStripPrefix`);function j(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}h(j,`maybeStripSuffix`);function M(e){return!e||e.length<2?!1:e[0]===`[`||(e[0]===`\\`||e[0]===`{`)&&e[1]===`[`}h(M,`treatAsIPv6Hostname`);var ne=[`ftp`,`file`,`http`,`https`,`ws`,`wss`];function N(e){if(!e)return!0;for(let t of ne)if(e.test(t))return!0;return!1}h(N,`isSpecialScheme`);function re(e,t){if(e=A(e,`#`),t||e===``)return e;let n=new URL(`https://example.com`);return n.hash=e,n.hash?n.hash.substring(1,n.hash.length):``}h(re,`canonicalizeHash`);function ie(e,t){if(e=A(e,`?`),t||e===``)return e;let n=new URL(`https://example.com`);return n.search=e,n.search?n.search.substring(1,n.search.length):``}h(ie,`canonicalizeSearch`);function ae(e,t){return t||e===``?e:M(e)?I(e):F(e)}h(ae,`canonicalizeHostname`);function oe(e,t){if(t||e===``)return e;let n=new URL(`https://example.com`);return n.password=e,n.password}h(oe,`canonicalizePassword`);function se(e,t){if(t||e===``)return e;let n=new URL(`https://example.com`);return n.username=e,n.username}h(se,`canonicalizeUsername`);function ce(e,t,n){if(n||e===``)return e;if(t&&!ne.includes(t))return new URL(`${t}:${e}`).pathname;let r=e[0]==`/`;return e=new URL(r?e:`/-`+e,`https://example.com`).pathname,r||(e=e.substring(2,e.length)),e}h(ce,`canonicalizePathname`);function le(e,t,n){return de(t)===e&&(e=``),n||e===``?e:L(e)}h(le,`canonicalizePort`);function ue(e,t){return e=j(e,`:`),t||e===``?e:P(e)}h(ue,`canonicalizeProtocol`);function de(e){switch(e){case`ws`:case`http`:return`80`;case`wws`:case`https`:return`443`;case`ftp`:return`21`;default:return``}}h(de,`defaultPortForProtocol`);function P(e){if(e===``)return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw TypeError(`Invalid protocol '${e}'.`)}h(P,`protocolEncodeCallback`);function fe(e){if(e===``)return e;let t=new URL(`https://example.com`);return t.username=e,t.username}h(fe,`usernameEncodeCallback`);function pe(e){if(e===``)return e;let t=new URL(`https://example.com`);return t.password=e,t.password}h(pe,`passwordEncodeCallback`);function F(e){if(e===``)return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw TypeError(`Invalid hostname '${e}'`);let t=new URL(`https://example.com`);return t.hostname=e,t.hostname}h(F,`hostnameEncodeCallback`);function I(e){if(e===``)return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}h(I,`ipv6HostnameEncodeCallback`);function L(e){if(e===``||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw TypeError(`Invalid port '${e}'.`)}h(L,`portEncodeCallback`);function me(e){if(e===``)return e;let t=new URL(`https://example.com`);return t.pathname=e[0]===`/`?e:`/-`+e,e[0]===`/`?t.pathname:t.pathname.substring(2,t.pathname.length)}h(me,`standardURLPathnameEncodeCallback`);function he(e){return e===``?e:new URL(`data:${e}`).pathname}h(he,`pathURLPathnameEncodeCallback`);function ge(e){if(e===``)return e;let t=new URL(`https://example.com`);return t.search=e,t.search.substring(1,t.search.length)}h(ge,`searchEncodeCallback`);function _e(e){if(e===``)return e;let t=new URL(`https://example.com`);return t.hash=e,t.hash.substring(1,t.hash.length)}h(_e,`hashEncodeCallback`);var ve=class{#e;#t=[];#n={};#r=0;#i=1;#a=0;#o=0;#s=0;#c=0;#l=!1;constructor(e){this.#e=e}get result(){return this.#n}parse(){for(this.#t=x(this.#e,!0);this.#r<this.#t.length;this.#r+=this.#i){if(this.#i=1,this.#t[this.#r].type===`END`){if(this.#o===0){this.#f(),this.#C()?this.#u(9,1):this.#S()?this.#u(8,1):this.#u(7,0);continue}else if(this.#o===2){this.#p(5);continue}this.#u(10,0);break}if(this.#s>0)if(this.#T())--this.#s;else continue;if(this.#w()){this.#s+=1;continue}switch(this.#o){case 0:this.#g()&&this.#p(1);break;case 1:if(this.#g()){this.#k();let e=7,t=1;this.#_()?(e=2,t=3):this.#l&&(e=2),this.#u(e,t)}break;case 2:this.#v()?this.#p(3):(this.#x()||this.#S()||this.#C())&&this.#p(5);break;case 3:this.#y()?this.#u(4,1):this.#v()&&this.#u(5,1);break;case 4:this.#v()&&this.#u(5,1);break;case 5:this.#E()?this.#c+=1:this.#D()&&--this.#c,this.#b()&&!this.#c?this.#u(6,1):this.#x()?this.#u(7,0):this.#S()?this.#u(8,1):this.#C()&&this.#u(9,1);break;case 6:this.#x()?this.#u(7,0):this.#S()?this.#u(8,1):this.#C()&&this.#u(9,1);break;case 7:this.#S()?this.#u(8,1):this.#C()&&this.#u(9,1);break;case 8:this.#C()&&this.#u(9,1);break;case 9:break;case 10:break}}this.#n.hostname!==void 0&&this.#n.port===void 0&&(this.#n.port=``)}#u(e,t){switch(this.#o){case 0:break;case 1:this.#n.protocol=this.#O();break;case 2:break;case 3:this.#n.username=this.#O();break;case 4:this.#n.password=this.#O();break;case 5:this.#n.hostname=this.#O();break;case 6:this.#n.port=this.#O();break;case 7:this.#n.pathname=this.#O();break;case 8:this.#n.search=this.#O();break;case 9:this.#n.hash=this.#O();break;case 10:break}this.#o!==0&&e!==10&&([1,2,3,4].includes(this.#o)&&[6,7,8,9].includes(e)&&(this.#n.hostname??=``),[1,2,3,4,5,6].includes(this.#o)&&[8,9].includes(e)&&(this.#n.pathname??=this.#l?`/`:``),[1,2,3,4,5,6,7].includes(this.#o)&&e===9&&(this.#n.search??=``)),this.#d(e,t)}#d(e,t){this.#o=e,this.#a=this.#r+t,this.#r+=t,this.#i=0}#f(){this.#r=this.#a,this.#i=0}#p(e){this.#f(),this.#o=e}#m(e){return e<0&&(e=this.#t.length-e),e<this.#t.length?this.#t[e]:this.#t[this.#t.length-1]}#h(e,t){let n=this.#m(e);return n.value===t&&(n.type===`CHAR`||n.type===`ESCAPED_CHAR`||n.type===`INVALID_CHAR`)}#g(){return this.#h(this.#r,`:`)}#_(){return this.#h(this.#r+1,`/`)&&this.#h(this.#r+2,`/`)}#v(){return this.#h(this.#r,`@`)}#y(){return this.#h(this.#r,`:`)}#b(){return this.#h(this.#r,`:`)}#x(){return this.#h(this.#r,`/`)}#S(){if(this.#h(this.#r,`?`))return!0;
vendor: 5,917 bytes, line 1
1if(this.#t[this.#r].value!==`?`)return!1;let e=this.#m(this.#r-1);return e.type!==`NAME`&&e.type!==`REGEX`&&e.type!==`CLOSE`&&e.type!==`ASTERISK`}#C(){return this.#h(this.#r,`#`)}#w(){return this.#t[this.#r].type==`OPEN`}#T(){return this.#t[this.#r].type==`CLOSE`}#E(){return this.#h(this.#r,`[`)}#D(){return this.#h(this.#r,`]`)}#O(){let e=this.#t[this.#r],t=this.#m(this.#a).index;return this.#e.substring(t,e.index)}#k(){let e={};Object.assign(e,O),e.encodePart=P;let t=T(this.#O(),void 0,e);this.#l=N(t)}};h(ve,`Parser`);var R=[`protocol`,`username`,`password`,`hostname`,`port`,`pathname`,`search`,`hash`],z=`*`;function ye(e,t){if(typeof e!=`string`)throw TypeError(`parameter 1 is not of type 'string'.`);let n=new URL(e,t);return{protocol:n.protocol.substring(0,n.protocol.length-1),username:n.username,password:n.password,hostname:n.hostname,port:n.port,pathname:n.pathname,search:n.search===``?void 0:n.search.substring(1,n.search.length),hash:n.hash===``?void 0:n.hash.substring(1,n.hash.length)}}h(ye,`extractValues`);function B(e,t){return t?H(e):e}h(B,`processBaseURLString`);function V(e,t,n){let r;if(typeof t.baseURL==`string`)try{r=new URL(t.baseURL),t.protocol===void 0&&(e.protocol=B(r.protocol.substring(0,r.protocol.length-1),n)),!n&&t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.username===void 0&&(e.username=B(r.username,n)),!n&&t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.username===void 0&&t.password===void 0&&(e.password=B(r.password,n)),t.protocol===void 0&&t.hostname===void 0&&(e.hostname=B(r.hostname,n)),t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&(e.port=B(r.port,n)),t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.pathname===void 0&&(e.pathname=B(r.pathname,n)),t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.pathname===void 0&&t.search===void 0&&(e.search=B(r.search.substring(1,r.search.length),n)),t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.pathname===void 0&&t.search===void 0&&t.hash===void 0&&(e.hash=B(r.hash.substring(1,r.hash.length),n))}catch{throw TypeError(`invalid baseURL '${t.baseURL}'.`)}if(typeof t.protocol==`string`&&(e.protocol=ue(t.protocol,n)),typeof t.username==`string`&&(e.username=se(t.username,n)),typeof t.password==`string`&&(e.password=oe(t.password,n)),typeof t.hostname==`string`&&(e.hostname=ae(t.hostname,n)),typeof t.port==`string`&&(e.port=le(t.port,e.protocol,n)),typeof t.pathname==`string`){if(e.pathname=t.pathname,r&&!k(e.pathname,n)){let t=r.pathname.lastIndexOf(`/`);t>=0&&(e.pathname=B(r.pathname.substring(0,t+1),n)+e.pathname)}e.pathname=ce(e.pathname,e.protocol,n)}return typeof t.search==`string`&&(e.search=ie(t.search,n)),typeof t.hash==`string`&&(e.hash=re(t.hash,n)),e}h(V,`applyInit`);function H(e){return e.replace(/([+*?:{}()\\])/g,`\\$1`)}h(H,`escapePatternString`);function be(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,`\\$1`)}h(be,`escapeRegexpString`);function xe(e,t){t.delimiter??=`/#?`,t.prefixes??=`./`,t.sensitive??=!1,t.strict??=!1,t.end??=!0,t.start??=!0,t.endsWith=``;let n=`[^${be(t.delimiter)}]+?`,r=/[$_\u200C\u200D\p{ID_Continue}]/u,i=``;for(let a=0;a<e.length;++a){let o=e[a];if(o.type===3){if(o.modifier===3){i+=H(o.value);continue}i+=`{${H(o.value)}}${E(o.modifier)}`;continue}let s=o.hasCustomName(),c=!!o.suffix.length||!!o.prefix.length&&(o.prefix.length!==1||!t.prefixes.includes(o.prefix)),l=a>0?e[a-1]:null,u=a<e.length-1?e[a+1]:null;if(!c&&s&&o.type===1&&o.modifier===3&&u&&!u.prefix.length&&!u.suffix.length)if(u.type===3){let e=u.value.length>0?u.value[0]:``;c=r.test(e)}else c=!u.hasCustomName();if(!c&&!o.prefix.length&&l&&l.type===3){let e=l.value[l.value.length-1];c=t.prefixes.includes(e)}c&&(i+=`{`),i+=H(o.prefix),s&&(i+=`:${o.name}`),o.type===2?i+=`(${o.value})`:o.type===1?s||(i+=`(${n})`):o.type===0&&(!s&&(!l||l.type===3||l.modifier!==3||c||o.prefix!==``)?i+=`*`:i+=`(.*)`),o.type===1&&s&&o.suffix.length&&r.test(o.suffix[0])&&(i+=`\\`),i+=H(o.suffix),c&&(i+=`}`),o.modifier!==3&&(i+=E(o.modifier))}return i}h(xe,`partsToPattern`);var Se=class{#e;#t={};#n={};#r={};#i={};#a=!1;constructor(e={},t,n){try{let r;if(typeof t==`string`?r=t:n=t,typeof e==`string`){let t=new ve(e);if(t.parse(),e=t.result,r===void 0&&typeof e.protocol!=`string`)throw TypeError(`A base URL must be provided for a relative constructor string.`);e.baseURL=r}else{if(!e||typeof e!=`object`)throw TypeError(`parameter 1 is not of type 'string' and cannot convert to dictionary.`);if(r)throw TypeError(`parameter 1 is not of type 'string'.`)}typeof n>`u`&&(n={ignoreCase:!1});let i={ignoreCase:n.ignoreCase===!0},a={pathname:z,protocol:z,username:z,password:z,hostname:z,port:z,search:z,hash:z};this.#e=V(a,e,!0),de(this.#e.protocol)===this.#e.port&&(this.#e.port=``);let o;for(o of R){if(!(o in this.#e))continue;let e={},t=this.#e[o];switch(this.#n[o]=[],o){case`protocol`:Object.assign(e,O),e.encodePart=P;break;case`username`:Object.assign(e,O),e.encodePart=fe;break;case`password`:Object.assign(e,O),e.encodePart=pe;break;case`hostname`:Object.assign(e,ee),M(t)?e.encodePart=I:e.encodePart=F;break;case`port`:Object.assign(e,O),e.encodePart=L;break;case`pathname`:N(this.#t.protocol)?(Object.assign(e,te,i),e.encodePart=me):(Object.assign(e,O,i),e.encodePart=he);break;case`search`:Object.assign(e,O,i),e.encodePart=ge;break;case`hash`:Object.assign(e,O,i),e.encodePart=_e;break}try{this.#i[o]=S(t,e),this.#t[o]=D(this.#i[o],this.#n[o],e),this.#r[o]=xe(this.#i[o],e),this.#a=this.#a||this.#i[o].some(e=>e.type===2)}catch{throw TypeError(`invalid ${o} pattern '${this.#e[o]}'.`)}}}catch(e){throw TypeError(`Failed to construct 'URLPattern': ${e.message}`)}}get[Symbol.toStringTag](){return`URLPattern`}test(e={},t){let n={pathname:``,protocol:``,username:``,password:``,hostname:``,port:``,search:``,hash:``};if(typeof e!=`string`&&t)throw TypeError(`parameter 1 is not of type 'string'.`);if(typeof e>`u`)return!1;
1try{n=typeof e==`object`?V(n,e,!1):V(n,ye(e,t),!1)}catch{return!1}let r;for(r of R)if(!this.#t[r].exec(n[r]))return!1;return!0}exec(e={},t){let n={pathname:``,protocol:``,username:``,password:``,hostname:``,port:``,search:``,hash:``};if(typeof e!=`string`&&t)throw TypeError(`parameter 1 is not of type 'string'.`);if(typeof e>`u`)return;try{n=typeof e==`object`?V(n,e,!1):V(n,ye(e,t),!1)}catch{return null}let r={};t?r.inputs=[e,t]:r.inputs=[e];let i;for(i of R){let e=this.#t[i].exec(n[i]);if(!e)return null;let t={};for(let[n,r]of this.#n[i].entries())(typeof r==`string`||typeof r==`number`)&&(t[r]=e[n+1]);r[i]={input:n[i]??``,groups:t}}return r}static compareComponent(e,t,n){let r=h((e,t)=>{for(let n of[`type`,`modifier`,`prefix`,`value`,`suffix`]){if(e[n]<t[n])return-1;if(e[n]!==t[n])return 1}return 0},`comparePart`),i=new g(3,``,``,``,``,3),a=new g(0,``,``,``,``,3),o=h((e,t)=>{let n=0;for(;n<Math.min(e.length,t.length);++n){let i=r(e[n],t[n]);if(i)return i}return e.length===t.length?0:r(e[n]??i,t[n]??i)},`comparePartList`);return!t.#r[e]&&!n.#r[e]?0:t.#r[e]&&!n.#r[e]?o(t.#i[e],[a]):!t.#r[e]&&n.#r[e]?o([a],n.#i[e]):o(t.#i[e],n.#i[e])}get protocol(){return this.#r.protocol}get username(){return this.#r.username}get password(){return this.#r.password}get hostname(){return this.#r.hostname}get port(){return this.#r.port}get pathname(){return this.#r.pathname}get search(){return this.#r.search}get hash(){return this.#r.hash}get hasRegExpGroups(){return this.#a}};h(Se,`URLPattern`),globalThis.URLPattern||(globalThis.URLPattern=Se);var U=[`en`,`zh`,`vi`,`th`],Ce=`PARAGLIDE_LOCALE`,we=3456e4,W=[`url`,`cookie`,`baseLocale`],Te=[],G=[{pattern:`/api/:path(.*)?`,localized:[[`zh`,`/api/:path(.*)?`],[`vi`,`/api/:path(.*)?`],[`th`,`/api/:path(.*)?`],[`en`,`/api/:path(.*)?`]]},{pattern:`/`,localized:[[`zh`,`/zh`],[`vi`,`/vi`],[`th`,`/th`],[`en`,`/`]]},{pattern:`/:path(.*)?`,localized:[[`zh`,`/zh/:path(.*)?`],[`vi`,`/vi/:path(.*)?`],[`th`,`/th/:path(.*)?`],[`en`,`/:path(.*)?`]]}],Ee,De;function Oe(e){if(Te.length===0)return;let t=typeof e==`string`?e:e.href;if(Ee===t)return De;let n=new URL(t,`http://dummy.com`),r;for(let e of Te)if(new URLPattern(e.match,n.href).exec(n.href)){r=e;break}return Ee=t,De=r,r}function ke(e){let t=Oe(e);return t&&t.exclude!==!0&&Array.isArray(t.strategy)?t.strategy:W}var K=void 0;globalThis.__paraglide=globalThis.__paraglide??{},globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var Ae=!1,q=()=>{if(K){let e=K?.getStore()?.locale;if(e)return e}let e=W;typeof window<`u`&&window.location?.href&&(e=ke(window.location.href));let t=je(e,typeof window<`u`?window.location?.href:void 0);if(t)return Ae||(Ae=!0,Ne(t,{reload:!1})),t;throw Error(`No locale found. Read the docs https://inlang.com/m/gerre34r/library-inlang-paraglideJs/errors#no-locale-found`)};function je(e,t){let n;for(let r of e){if(r===`cookie`)n=Ie();else if(r===`baseLocale`)n=`en`;else if(r===`url`&&typeof t==`string`)n=ze(t);else if(Ue(r)&&$.has(r)){let e=$.get(r);if(e){let t=e.getLocale();if(t instanceof Promise)continue;if(t!==void 0)return Fe(t)}}let e=J(n);if(e)return e}}var Me=e=>{e?window.location.href=e:window.location.reload()},Ne=(e,t)=>{let n={reload:!0,...t},r;try{r=q()}catch{}let i=[],a,o=W;typeof window<`u`&&window.location?.href&&(o=ke(window.location.href));for(let t of o)if(t===`cookie`){if(typeof document>`u`||typeof window>`u`)continue;let t=`${Ce}=${e}; path=/; max-age=${we}`;document.cookie=t}else if(t===`baseLocale`)continue;else if(t===`url`&&typeof window<`u`)a=Y(window.location.href,{locale:e}).href;else if(Ue(t)&&$.has(t)){let n=$.get(t);if(n){let r=n.setLocale(e);r instanceof Promise&&(r=r.catch(e=>{throw Error(`Custom strategy "${t}" setLocale failed.`,{cause:e})}),i.push(r))}}let s=()=>{n.reload&&window.location&&e!==r&&Me(a)};if(i.length)return Promise.all(i).then(()=>{s()});s()},Pe=()=>K?K.getStore()?.origin??`http://fallback.com`:typeof window<`u`?window.location.origin:`http://fallback.com`;function J(e){if(typeof e!=`string`)return;let t=e.toLowerCase();for(let e of U)if(e.toLowerCase()===t)return e}function Fe(e){let t=J(e);if(t)return t;throw Error(`Invalid locale: ${e}. Expected one of: ${U.join(`, `)}`)}function Ie(){if(typeof document>`u`||!document.cookie)return;let e=document.cookie.match(RegExp(`(^| )${Ce}=([^;]+)`))?.[2];return J(e)}var Le,Re;function ze(e){let t=typeof e==`string`?e:e.href;if(Le===t)return Re;let n;{let t=typeof e==`string`?new URL(e):e;for(let e of G){for(let[r,i]of e.localized)if(new URLPattern(i,t.href).exec(t.href)){n=r;break}if(n)break}}return Le=t,Re=n,n}
1function Y(e,t){let n=t?.locale?Fe(t?.locale):q(),r=typeof e==`string`?new URL(e):e;for(let e of G){for(let[,t]of e.localized){let i=new URLPattern(t,r.href).exec(r.href);if(!i)continue;let a=e.localized.find(([e])=>e===n)?.[1];if(a)return X(Z(a,Q(i),r.origin),i)}let t=new URLPattern(e.pattern,r.href).exec(r.href);if(t){let i=e.localized.find(([e])=>e===n)?.[1];if(i)return X(Z(i,Q(t),r.origin),t)}}return r}function Be(e){let t=typeof e==`string`?new URL(e):e;for(let e of G){for(let[,n]of e.localized){let r=new URLPattern(n,t.href).exec(t.href);if(r){let n=Q(r);return X(Z(e.pattern,n,t.origin),r)}}let n=new URLPattern(e.pattern,t.href).exec(t.href);if(n)return X(Z(e.pattern,Q(n),t.origin),n)}return t}function X(e,t){return t.protocol.groups[0]&&(e.protocol=t.protocol.groups[0]??``),t.hostname.groups[0]&&(e.hostname=t.hostname.groups[0]??``),t.username.groups[0]&&(e.username=t.username.groups[0]??``),t.password.groups[0]&&(e.password=t.password.groups[0]??``),t.port.groups[0]&&(e.port=t.port.groups[0]??``),t.pathname.groups[0]&&(e.pathname=t.pathname.groups[0]??``),t.search.groups[0]&&(e.search=t.search.groups[0]??``),t.hash.groups[0]&&(e.hash=t.hash.groups[0]??``),e}function Z(e,t,n){let r=e.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g,(e,t,n,r)=>`${t}#PORT-${n}#${r}`).replace(/\{([^{}]*)\}([?+*]?)/g,(e,t,n)=>t).replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g,(e,n,r,i,a)=>{let o=t[r];if(o===null)return``;if(a===`?`)return o===void 0?``:`${n}${o}`;if(a===`+`||a===`*`){if(o===void 0&&a===`+`)throw Error(`Missing value for "${r}" (one or more required)`);return o?`${n}${o}`:``}if(o===void 0)throw Error(`Missing value for "${r}"`);return`${n}${o}`});return r=r.replace(/#PORT-(\d+)#/g,`:$1`),new URL(r,n)}function Q(e){return{...e.hash.groups,...e.hostname.groups,...e.password.groups,...e.pathname.groups,...e.port.groups,...e.protocol.groups,...e.search.groups,...e.username.groups}}function Ve(e,t){let n=q(),r=t?.locale??n,i=new URL(e,Pe()),a=Y(i,{locale:r});return e.startsWith(`/`)&&i.origin===a.origin?r!==n&&Y(i,{locale:n}).origin!==a.origin?a.href:a.pathname+a.search+a.hash:a.href}function He(e){let t=new URL(e,Pe()),n=Be(t);return e.startsWith(`/`)&&t.origin===n.origin?n.pathname+n.search+n.hash:n.href}var $=new Map;function Ue(e){return typeof e==`string`&&/^custom-[A-Za-z0-9_-]+$/.test(e)}export{Ve as a,p as c,s as d,l as f,U as i,d as l,Be as n,Y as o,q as r,Ne as s,He as t,o as u};

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.