module.exports=(()=>{"use strict";var e={334:(e,t,o)=>{o.r(t);o.d(t,{init:()=>s});function getCurrentScriptSource(){if(document.currentScript){return document.currentScript.getAttribute("src")}const e=document.scripts||[];const t=Array.prototype.filter.call(e,function(e){return e.getAttribute("src")});if(t.length){const e=t[t.length-1];return e.getAttribute("src")}}const r=getCurrentScriptSource;function parseQuery(e){let t="";if(typeof e==="string"){t=e}return t.replace(/^\?/,"").split("&").reduce(function(e,t){const o=t.split("=");if(o[0]){e[o[0]]=o[1]}return e},{})}const n=parseQuery;function getSocketUrlParts(e){const t=r();let o={};try{o=new URL(t,window.location.href)}catch(e){}let c;let i=o.hostname;let s=o.protocol;let a="/sockjs-node";let u=o.port;if(o.username){c=[o.username,o.password].filter(Boolean).join(":")}const l=o.hostname==="0.0.0.0"||o.hostname==="[::]"||!o.hostname;if(l&&window.location.hostname&&window.location.protocol.indexOf("http")!==-1){i=window.location.hostname}if(i&&(l||window.location.protocol==="https:")){s=window.location.protocol}if(!u){u=window.location.port}const p=n(e||"");i=p.sockHost||i;a=p.sockPath||a;u=p.sockPort||u;if(p.sockProtocol){s=p.sockProtocol+":"}if(!i||!a||!u){throw new Error(["[React Refresh] Failed to get an URL for the socket connection.","This usually means that the current executed script doesn't have a `src` attribute set.","You should either specify the socket path parameters under the `devServer` key in your Webpack config, or use the `overlay` option.","https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/API.md#overlay"].join("\n"))}return{auth:c,hostname:i,pathname:a,protocol:s,port:u}}const c=getSocketUrlParts;function urlFromParts(e,t){let o="http:";if(e.protocol){o=e.protocol}if(t){o=o.replace(/^(?:http|.+-extension|file)/i,"ws")}o=o+"//";let r=e.hostname;if(e.auth){const t=e.auth.split(":").map(encodeURIComponent).join(":")+"@";r=t+r}if(e.port){r=r+":"+e.port}const n=new URL(e.pathname,o+r);return n.href}const i=urlFromParts;function initWDSSocket(e,t){if(typeof __webpack_dev_server_client__!=="undefined"){const o=__webpack_dev_server_client__;const r=c(t);let n=false;if(typeof o.name!=="undefined"&&o.name!==null&&o.name.toLowerCase().includes("websocket")){n=true}const s=new o(i(r,n));s.onMessage(function onSocketMessage(t){const o=JSON.parse(t);e(o)})}}const s=initWDSSocket}};var t={};function __nccwpck_require__(o){if(t[o]){return t[o].exports}var r=t[o]={exports:{}};var n=true;try{e[o](r,r.exports,__nccwpck_require__);n=false}finally{if(n)delete t[o]}return r.exports}(()=>{__nccwpck_require__.d=((e,t)=>{for(var o in t){if(__nccwpck_require__.o(t,o)&&!__nccwpck_require__.o(e,o)){Object.defineProperty(e,o,{enumerable:true,get:t[o]})}}})})();(()=>{__nccwpck_require__.o=((e,t)=>Object.prototype.hasOwnProperty.call(e,t))})();(()=>{__nccwpck_require__.r=(e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})})})();__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(334)})();