Module 89738

2,656 characters · in 25868.bd058c114912c1de.js
Dependencies
Required by (1)
Lazily required by (0)none
Requires (0)none
Lazily requires (0)none
Source Raw
function(e,t,r){e=r.nmd(e),function(n){var i=t&&!t.nodeType&&t,o=e&&!e.nodeType&&e,a="object"==typeof r.g&&r.g;(a.global===a||a.window===a||a.self===a)&&(n=a);var s,l,u=/^xn--/,c=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,h=String.fromCharCode;function m(e){throw RangeError(f[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function v(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(d,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?(64512&(r=e.charCodeAt(i++)))==56320?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function b(e){return g(e,function(e){var t="";return e>65535&&(e-=65536,t+=h(e>>>10&1023|55296),e=56320|1023&e),t+=h(e)}).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>455;n+=36)e=p(e/35);return p(n+36*e/(e+38))}function x(e){var t,r,n,i,o,a,s,l,u,c,d,f=[],h=e.length,g=0,v=128,y=72;for((n=e.lastIndexOf("-"))<0&&(n=0),i=0;i<n;++i)e.charCodeAt(i)>=128&&m("not-basic"),f.push(e.charCodeAt(i));for(o=n>0?n+1:0;o<h;){for(a=g,s=1,l=36;o>=h&&m("invalid-input"),((u=(t=e.charCodeAt(o++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36)>=36||u>p((0x7fffffff-g)/s))&&m("overflow"),g+=u*s,!(u<(c=l<=y?1:l>=y+26?26:l-y));l+=36){;s>p(0x7fffffff/(d=36-c))&&m("overflow"),s*=d}y=w(g-a,r=f.length+1,0==a),p(g/r)>0x7fffffff-v&&m("overflow"),v+=p(g/r),g%=r,f.splice(g++,0,v)}return b(f)}function E(e){var t,r,n,i,o,a,s,l,u,c,d,f,g,v,b,x=[];for(a=0,f=(e=y(e)).length,t=128,r=0,o=72;a<f;++a)(d=e[a])<128&&x.push(h(d));for(n=i=x.length,i&&x.push("-");n<f;){for(s=0x7fffffff,a=0;a<f;++a)(d=e[a])>=t&&d<s&&(s=d);for(s-t>p((0x7fffffff-r)/(g=n+1))&&m("overflow"),r+=(s-t)*g,t=s,a=0;a<f;++a)if((d=e[a])<t&&++r>0x7fffffff&&m("overflow"),d==t){for(l=r,u=36;!(l<(c=u<=o?1:u>=o+26?26:u-o));u+=36)b=l-c,v=36-c,x.push(h(_(c+b%v,0))),l=p(b/v);x.push(h(_(l,0))),o=w(r,g,n==i),r=0,++n}++r,++t}return x.join("")}if(s={version:"1.4.1",ucs2:{decode:y,encode:b},decode:x,encode:E,toASCII:function(e){return v(e,function(e){return c.test(e)?"xn--"+E(e):e})},toUnicode:function(e){return v(e,function(e){return u.test(e)?x(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return s});else if(i&&o)if(e.exports==i)o.exports=s;else for(l in s)s.hasOwnProperty(l)&&(i[l]=s[l]);else n.punycode=s}(this)}