From b317b62f4e71f0390063e6d346441ad6007276e6 Mon Sep 17 00:00:00 2001
From: YH_hao_are_you
=P&&W("invalid-input"),de=x(L.charCodeAt(ge++)),(de>=u||de>I((a-G)/Q))&&W("overflow"),G+=de*Q,ne=V<=O?c:V>=O+l?l:V-O,!(de =P&&H("invalid-input"),de=x(L.charCodeAt(pe++)),(de>=u||de>T((a-K)/Q))&&H("overflow"),K+=de*Q,ne=$<=O?c:$>=O+l?l:$-O,!(de0&&a>s&&(a=s);for(var u=0;u=0?(f=c.substr(0,l),d=c.substr(l+1)):(f=c,d=""),g=decodeURIComponent(f),h=decodeURIComponent(d),_I(i,g)?Array.isArray(i[g])?i[g].push(h):i[g]=[i[g],h]:i[g]=h}return i},Ai=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},zI=function(e,t,n,r){return t=t||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(i){var o=encodeURIComponent(Ai(i))+n;return Array.isArray(e[i])?e[i].map(function(s){return o+encodeURIComponent(Ai(s))}).join(t):o+encodeURIComponent(Ai(e[i]))}).join(t):r?encodeURIComponent(Ai(r))+n+encodeURIComponent(Ai(e)):""};Ei.decode=Ei.parse=kI,Ei.encode=Ei.stringify=zI;var PI=Go,un=LI,wn=ih;function cn(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var UI=/^([a-z0-9.+-]+:)/i,RI=/:[0-9]*$/,FI=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,YI=["<",">",'"',"`"," ","\r",`
-`," "],BI=["{","}","|","\\","^","`"].concat(YI),ou=["'"].concat(BI),th=["%","/","?",";","#"].concat(ou),nh=["/","?","#"],QI=255,rh=/^[+a-z0-9A-Z_-]{0,63}$/,$I=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,WI={javascript:!0,"javascript:":!0},su={javascript:!0,"javascript:":!0},Cr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},au=Ei;function ih(e,t,n){if(e&&un.isObject(e)&&e instanceof cn)return e;var r=new cn;return r.parse(e,t,n),r}cn.prototype.parse=function(e,t,n){if(!un.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r
=55296&&K<=56319&&P
65535&&(F-=65536,P+=B(F>>>10&1023|55296),F=56320|F&1023),P+=B(F),P}).join("")}function x(L){return L-48<10?L-22:L-65<26?L-65:L-97<26?L-97:u}function N(L,F){return L+22+75*(L<26)-((F!=0)<<5)}function S(L,F,P){var q=0;for(L=P?T(L/d):L>>1,L+=T(L/F);L>I*l>>1;q+=u)L=T(L/I);return T(q+(I+1)*L/(L+f))}function U(L){var F=[],P=L.length,q,K=0,ee=h,O=g,re,J,pe,V,Q,$,de,ne,fe;for(re=L.lastIndexOf(p),re<0&&(re=0),J=0;J