1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-06a555ea"],{"0d3b":function(e,t,r){var n=r("d039"),a=r("b622"),i=r("c430"),s=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,a=r("23e7"),i=r("83ab"),s=r("0d3b"),u=r("da84"),o=r("37e8"),h=r("6eeb"),l=r("19aa"),c=r("5135"),f=r("60da"),p=r("4df4"),g=r("6547").codeAt,v=r("5fb2"),d=r("d44e"),m=r("9861"),y=r("69f3"),w=u.URL,b=m.URLSearchParams,k=m.getState,R=y.set,L=y.getterFor("URL"),U=Math.floor,A=Math.pow,S="Invalid authority",q="Invalid scheme",B="Invalid host",P="Invalid port",x=/[A-Za-z]/,E=/[\d+-.A-Za-z]/,j=/\d/,I=/^(0x|0X)/,C=/^[0-7]+$/,F=/^\d+$/,O=/^[\dA-Fa-f]+$/,T=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,D=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,J=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,$=/[\u0009\u000A\u000D]/g,M=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return B;if(r=z(t.slice(1,-1)),!r)return B;e.host=r}else if(Y(e)){if(t=v(t),T.test(t))return B;if(r=N(t),null===r)return B;e.host=r}else{if(D.test(t))return B;for(r="",n=p(t),a=0;a<n.length;a++)r+=V(n[a],X);e.host=r}},N=function(e){var t,r,n,a,i,s,u,o=e.split(".");if(o.length&&""==o[o.length-1]&&o.pop(),t=o.length,t>4)return e;for(r=[],n=0;n<t;n++){if(a=o[n],""==a)return e;if(i=10,a.length>1&&"0"==a.charAt(0)&&(i=I.test(a)?16:8,a=a.slice(8==i?1:2)),""===a)s=0;else{if(!(10==i?F:8==i?C:O).test(a))return e;s=parseInt(a,i)}r.push(s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=A(256,5-t))return null}else if(s>255)return null;for(u=r.pop(),n=0;n<r.length;n++)u+=r[n]*A(256,3-n);return u},z=function(e){var t,r,n,a,i,s,u,o=[0,0,0,0,0,0,0,0],h=0,l=null,c=0,f=function(){return e.charAt(c)};if(":"==f()){if(":"!=e.charAt(1))return;c+=2,h++,l=h}while(f()){if(8==h)return;if(":"!=f()){t=r=0;while(r<4&&O.test(f()))t=16*t+parseInt(f(),16),c++,r++;if("."==f()){if(0==r)return;if(c-=r,h>6)return;n=0;while(f()){if(a=null,n>0){if(!("."==f()&&n<4))return;c++}if(!j.test(f()))return;while(j.test(f())){if(i=parseInt(f(),10),null===a)a=i;else{if(0==a)return;a=10*a+i}if(a>255)return;c++}o[h]=256*o[h]+a,n++,2!=n&&4!=n||h++}if(4!=n)return;break}if(":"==f()){if(c++,!f())return}else if(f())return;o[h++]=t}else{if(null!==l)return;c++,h++,l=h}}if(null!==l){s=h-l,h=7;while(0!=h&&s>0)u=o[h],o[h--]=o[l+s-1],o[l+--s]=u}else if(8!=h)return;return o},Z=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t},H=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=U(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=Z(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},X={},G=f({},X,{" ":1,'"':1,"<":1,">":1,"`":1}),K=f({},G,{"#":1,"?":1,"{":1,"}":1}),Q=f({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(e,t){var r=g(e,0);return r>32&&r<127&&!c(t,e)?e:encodeURIComponent(e)},W={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return c(W,e.scheme)},_=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var r;return 2==e.length&&x.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},re=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&te(t[0],!0)||t.pop()},ae=function(e){return"."===e||"%2e"===e.toLowerCase()},i
|