define(["require","exports","../.chunks/punycode.es6-CNOnFR2-.amd"],(function(l,r,c){"use strict";if(typeof C>"u")var C=window.Vue;const d=(e="")=>{if(e=e.replace(/[\r\n]/g," ").trim(),e.indexOf("xn--")===-1)return e;if(e.indexOf("/")===-1)return c.punycode.toUnicode(e);const n=i(e);let o=n.toLowerCase();return o=c.punycode.toUnicode(o),n!==o&&(e=e.replace(n,o)),e},s=e=>{if(e=e.replace(/[\r\n]/g," ").trim(),e.indexOf("/")===-1)return c.punycode.toASCII(e);const n=i(e);let o=n.toLowerCase();return o=c.punycode.toASCII(o),n!==o&&(e=e.replace(n,o)),e},i=e=>e.replace(/(?:^\w+:\/\/)?([^:/]+).*/i,"$1"),h=e=>(e=d(e),e=f(e),e),f=e=>{const n=i(e),o=n.toLowerCase();return n!==o&&(e=e.replace(n,o)),e},m=e=>escape(S(e)),g=e=>w(unescape(e)),S=e=>{e=e.replace(/\r\n/g,`
`);let n="";for(let o=0;o<e.length;o++){const t=e.charCodeAt(o);t<128?n+=String.fromCharCode(t):t>127&&t<2048?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(t&63|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(t&63|128))}return n},w=e=>{let n="",o=0,t=0,a=0;for(;o<e.length;)if(t=e.charCodeAt(o),t<128)n+=String.fromCharCode(t),o++;else if(t>191&&t<224)a=e.charCodeAt(o+1),n+=String.fromCharCode((t&31)<<6|a&63),o+=2;else{a=e.charCodeAt(o+1);let y=e.charCodeAt(o+2);n+=String.fromCharCode((t&15)<<12|(a&63)<<6|y&63),o+=3}return n};r.decode=g,r.encode=m,r.fromPuny=d,r.getHost=i,r.hostToLowerCase=f,r.normalize=h,r.toPuny=s,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));
//# sourceMappingURL=url.amd.js.map
