From 40477523eb08139f7801cf1718cc624edaaebb83 Mon Sep 17 00:00:00 2001 From: AveWycc220 Date: Mon, 18 Jan 2021 17:38:58 +0300 Subject: [PATCH] feat (dist) build a prod version --- dist/index.html | 2 +- dist/login/index.html | 2 +- dist/main.bundle.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.html b/dist/index.html index 5d676ef..e40521d 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -Chat \ No newline at end of file +Chat \ No newline at end of file diff --git a/dist/login/index.html b/dist/login/index.html index a050bf3..6a1216d 100644 --- a/dist/login/index.html +++ b/dist/login/index.html @@ -1 +1 @@ -Chat-Login \ No newline at end of file +Chat-Login \ No newline at end of file diff --git a/dist/main.bundle.js b/dist/main.bundle.js index d3b4c53..0509ca6 100644 --- a/dist/main.bundle.js +++ b/dist/main.bundle.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,n={324:(e,t,n)=>{e.exports=n.p+"d6da2a2a8b78756892f6.png"},109:(e,t,n)=>{function o(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];e[0].value?e[0].style.border="2px solid black":e[0].style.border="2px solid red",e[1].value?e[1].style.border="2px solid black":e[1].style.border="2px solid red",t&&(e[2].value?e[2].style.border="2px solid black":e[2].style.border="2px solid red")}},{key:"renderMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&(this.nodeMessages=document.querySelector(t)),this.nodeMessages){var n=document.createElement("div"),o='
\n \n \n
',r=e.name===this.userName;n.classList.add("message"),n.id=e.id,r?n.classList.add("my"):n.classList.add("someone"),n.innerHTML='
\n

'.concat(e.name,"

\n ").concat(r?o:"",'\n
\n

').concat(new Date(+e.time).toString().split(" ").slice(1,5).join(" "),'

\n

').concat(e.message,"

"),this.nodeMessages.prepend(n)}}},{key:"rerenderMessage",value:function(e){document.getElementById("".concat(e.id)).querySelector(".message-text").innerHTML=e.message}},{key:"deleteMessage",value:function(e){document.getElementById("".concat(e.id)).remove()}},{key:"showError",value:function(e){e?(console.log("Server-Error ".concat(e)),document.querySelector(".root").innerHTML="Server-Error ".concat(e)):(console.log("Server-Error"),document.querySelector(".root").innerHTML="Server-Error")}},{key:"showInfo",value:function(e,t){e.innerHTML=t}}])&&i(t.prototype,n),e}();function s(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n{n.r(t),n.d(t,{default:()=>g});var o=n(645),r=n.n(o),i=n(667),a=n.n(i),s=n(391),c=n(492),d=n(610),u=n(892),l=r()((function(e){return e[1]})),f=a()(s),p=a()(c),h=a()(d),m=a()(u);l.push([e.id,"html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}*{margin:0;padding:0}body{-webkit-transition:background-color 3000ms linear;transition:background-color 3000ms linear;background:linear-gradient(45deg, #fff 30%, #89D2DC) no-repeat;min-height:100vh}.log-in{overflow:hidden}.info{margin-top:1.25em}.form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;width:20em;height:23.25em;margin:4em auto;border-radius:10px;-webkit-box-shadow:0 1px 13px 0 rgba(50,50,50,0.7);box-shadow:0 1px 13px 0 rgba(50,50,50,0.7)}#keys{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.key{margin-top:1.5em}#log-in,#sign-in{background:#2431e2;color:#ffffff;border:none;text-align:center;text-decoration:none;font-size:14px;-webkit-box-flex:1;-ms-flex:1;flex:1;border-radius:10px;width:15em;height:2.5em;margin-bottom:0.75em;position:relative;left:50%;-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0);-webkit-transition-property:background;transition-property:background;-webkit-transition-duration:.5s;transition-duration:.5s}#log-in:hover,#sign-in:hover{background:#434bff;cursor:pointer}#log-in:active,#sign-in:active,#log-in:focus,#sign-in:focus{outline:none;background:#b2c4ff}.button-div{margin:auto auto 2em}input{width:18em;border:2px solid black;border-radius:4px;padding:0.8em 0.8em}input:active,input:hover,input:focus{outline:0;outline-offset:0}@media (max-width: 875px){.form{font-size:14px}input{font-size:12px}.open-button{font-size:12px}.info{font-size:12px}}@media (min-width: 2000px){.form{font-size:22px}input{font-size:20px}.open-button{font-size:20px}.info{font-size:20px}}@media (min-width: 2300px){.form{font-size:24px}input{font-size:22px}.open-button{font-size:22px}.info{font-size:22px}}#log-out,#name{width:1.25em;height:1.25em;margin:0.75em}header{font-family:'Montserrat', sans-serif;background:#6564DB;font-size:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}#log-out{-webkit-transition:0.5s;transition:0.5s;font-size:inherit;border:none;outline:none;background:url("+f+") no-repeat}#log-out:hover,#log-out:focus{cursor:pointer;-webkit-transform:scale(1.1);transform:scale(1.1)}@media (max-width: 875px){header{font-size:24px}}@media (min-width: 2000px){header{font-size:34px}}@media (min-width: 2300px){header{font-size:38px}}section{font-family:'Montserrat', sans-serif;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;font-size:20px}.edit,.delete{-webkit-transition:0.5s;transition:0.5s;border:none;outline:none;width:1vw;height:1vw;margin:0 0.25em;font-size:inherit}.edit:hover,.delete:hover,.edit:focus,.delete:focus{cursor:pointer;-webkit-transform:scale(1.1);transform:scale(1.1)}#message-input{margin:1em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.textarea{font-family:inherit;font-size:inherit;resize:none;padding:0.2em}.textarea:active,.textarea:focus{outline:none}#send{-webkit-transition:0.5s;transition:0.5s;border:none;outline:none;width:2.5vw;height:2.5vw;font-size:inherit;margin:auto 1em 0.2em 1em;background:url("+p+") no-repeat}#send:hover,#send:focus{cursor:pointer;-webkit-transform:scale(1.1);transform:scale(1.1)}#message-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.someone{margin:0.5em 0.5em 0.5em 1em;padding:0.5em}.message{border:2.5px #2431e2 solid;border-radius:5px;overflow:hidden;word-wrap:break-word;width:50vw;min-height:5em;background:#ffffff}.my{margin:1em 1em 1em auto;padding:0.5em;border-color:#0D1317}.nickname{font-weight:bold}.message-text{margin-top:0.1em}.time{margin-top:0.1em;opacity:0.75;font-size:.75em}.control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.edit{background:url("+h+") no-repeat}.delete{background:url("+m+') no-repeat}.message-text[contenteditable="true"]{outline-offset:1px;outline:1px #2431e2 solid;font-family:inherit;font-size:inherit;resize:none}.message-text[contenteditable="true"]:active,.message-text[contenteditable="true"]:focus{outline-offset:1px;outline:1px #2431e2 solid}.active{width:1.5vw;height:1.5vw}@media (min-width: 1950px){section{font-size:26px}}@media (min-width: 2150px){section{font-size:28px}}@media (min-width: 2400px){section{font-size:32px}}@media (max-width: 1450px){section{font-size:16px}.edit{width:2vw;height:2vw}.delete{width:2vw;height:2vw}}@media (max-width: 1200px){section{font-size:13px}}@media (max-width: 1000px){section{font-size:11px}}\n',""]);const g=l},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var i=0;i{e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},981:(e,t,n)=>{var o=n(379),r=n.n(o),i=n(235),a=r()(i.default,{insert:"head",singleton:!1});if(!i.default.locals||e.hot.invalidate){var s=i.default.locals;e.hot.accept(235,(t=>{i=n(235),function(e,t,n){if(!e&&t||e&&!t)return!1;var o;for(o in e)if(e[o]!==t[o])return!1;for(o in t)if(!e[o])return!1;return!0}(s,i.default.locals)?(s=i.default.locals,a(i.default)):e.hot.invalidate()}))}e.hot.dispose((function(){a()})),i.default.locals},379:(e,t,n)=>{var o,r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNTEyIDI4LjMwOEw0ODMuNjkyIDAgMjU2IDIyNy42OTIgMjguMzA4IDAgMCAyOC4zMDggMjI3LjY5MiAyNTYgMCA0ODMuNjkyIDI4LjMwOCA1MTIgMjU2IDI4NC4zMDggNDgzLjY5MiA1MTIgNTEyIDQ4My42OTIgMjg0LjMwOCAyNTZ6Ii8+PC9zdmc+"},610:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODMuOTQ3IDM4My45NDciPjxwYXRoIGQ9Ik0wIDMwMy45NDd2ODBoODBsMjM2LjA1My0yMzYuMDU0LTgwLTgwek0zNzcuNzA3IDU2LjA1M0wzMjcuODkzIDYuMjRjLTguMzItOC4zMi0yMS44NjctOC4zMi0zMC4xODcgMGwtMzkuMDQgMzkuMDQgODAgODAgMzkuMDQtMzkuMDRjOC4zMjEtOC4zMiA4LjMyMS0yMS44NjcuMDAxLTMwLjE4N3oiLz48L3N2Zz4="},391:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMjU1LjE1IDQ2OC42MjVINjMuNzg3Yy0xMS43MzcgMC0yMS4yNjItOS41MjYtMjEuMjYyLTIxLjI2MlY2NC42MzhjMC0xMS43MzcgOS41MjYtMjEuMjYyIDIxLjI2Mi0yMS4yNjJIMjU1LjE1YzExLjc1OCAwIDIxLjI2Mi05LjUwNCAyMS4yNjItMjEuMjYyUzI2Ni45MDguODUgMjU1LjE1Ljg1SDYzLjc4N0MyOC42MTkuODUgMCAyOS40NyAwIDY0LjYzOHYzODIuNzI0YzAgMzUuMTY4IDI4LjYxOSA2My43ODcgNjMuNzg3IDYzLjc4N0gyNTUuMTVjMTEuNzU4IDAgMjEuMjYyLTkuNTA0IDIxLjI2Mi0yMS4yNjIgMC0xMS43NTgtOS41MDQtMjEuMjYyLTIxLjI2Mi0yMS4yNjJ6Ii8+PHBhdGggZD0iTTUwNS42NjQgMjQwLjg2MUwzNzYuMzg4IDExMy4yODZjLTguMzM1LTguMjUtMjEuODE1LTguMTQzLTMwLjA2NS4yMTNzLTguMTY1IDIxLjgxNS4yMTMgMzAuMDY1bDkyLjM4NSA5MS4xNzNIMTkxLjM2MmMtMTEuNzU4IDAtMjEuMjYyIDkuNTA0LTIxLjI2MiAyMS4yNjIgMCAxMS43NTggOS41MDQgMjEuMjYzIDIxLjI2MiAyMS4yNjNoMjQ3LjU1OWwtOTIuMzg1IDkxLjE3M2MtOC4zNzcgOC4yNS04LjQ0MSAyMS43MDktLjIxMyAzMC4wNjVhMjEuMjU1IDIxLjI1NSAwIDAwMTUuMTM5IDYuMzM2YzUuNDAxIDAgMTAuODAxLTIuMDQxIDE0LjkyNi02LjEyNGwxMjkuMjc2LTEyNy41NzVBMjEuMzAzIDIxLjMwMyAwIDAwNTEyIDI1NS45OThjMC01LjY5Ni0yLjI3NS0xMS4xMTgtNi4zMzYtMTUuMTM3eiIvPjwvc3ZnPg=="},492:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNDQ4Ij48cGF0aCBkPSJNLjIxMyAzMkwwIDE4MS4zMzMgMzIwIDIyNCAwIDI2Ni42NjcuMjEzIDQxNiA0NDggMjI0eiIvPjwvc3ZnPg=="}},o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={id:e,exports:{}},i={id:e,module:t,factory:n[e],require:r};return r.i.forEach((function(e){e(i)})),t=i.module,i.factory.call(t.exports,t,t.exports,i.require),t.exports}r.m=n,r.c=o,r.i=[],r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.hu=e=>e+"."+r.h()+".hot-update.js",r.hmrF=()=>"main."+r.h()+".hot-update.json",r.h=()=>"f9f2593493a775e2f3c2",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="chat:",r.l=(n,o,i)=>{if(e[n])e[n].push(o);else{var a,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(f);var r=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(o))),t)return t(o)},f=setTimeout(l.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=l.bind(null,a.onerror),a.onload=l.bind(null,a.onload),s&&document.head.appendChild(a)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e,t,n,o,i={},a=r.c,s=[],c=[],d="idle";function u(e){d=e;for(var t=0;t0)return u("abort"),Promise.resolve().then((function(){throw i[0]}));u("dispose"),t.forEach((function(e){e.dispose&&e.dispose()})),u("apply");var a=function(e){r||(r=e)},s=[];return t.forEach((function(e){if(e.apply){var t=e.apply(a);if(t)for(var n=0;n=0&&v._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,d){case"idle":n=[],Object.keys(r.hmrI).forEach((function(e){r.hmrI[e](m,n)})),u("ready");break;case"ready":Object.keys(r.hmrI).forEach((function(e){r.hmrI[e](m,n)}));break;case"prepare":case"check":case"dispose":case"apply":(o=o||[]).push(m)}},check:f,apply:p,status:function(e){if(!e)return d;c.push(e)},addStatusHandler:function(e){c.push(e)},removeStatusHandler:function(e){var t=c.indexOf(e);t>=0&&c.splice(t,1)},data:i[m]},e=void 0,v),y.parents=s,y.children=[],s=[],h.require=b})),r.hmrC={},r.hmrI={}})(),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e,t,n,o,i={179:0},a={};function s(e){return new Promise(((t,n)=>{a[e]=t;var o=r.p+r.hu(e),i=new Error;r.l(o,(t=>{if(a[e]){a[e]=void 0;var o=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;i.message="Loading hot update chunk "+e+" failed.\n("+o+": "+r+")",i.name="ChunkLoadError",i.type=o,i.request=r,n(i)}}))}))}function c(a){function s(e){for(var t=[e],n={},o=t.map((function(e){return{chain:[e],id:e}}));o.length>0;){var i=o.pop(),a=i.id,s=i.chain,d=r.c[a];if(d&&(!d.hot._selfAccepted||d.hot._selfInvalidated)){if(d.hot._selfDeclined)return{type:"self-declined",chain:s,moduleId:a};if(d.hot._main)return{type:"unaccepted",chain:s,moduleId:a};for(var u=0;u ")),h.type){case"self-declined":a.onDeclined&&a.onDeclined(h),a.ignoreDeclined||(g=new Error("Aborted because of self decline: "+h.moduleId+b));break;case"declined":a.onDeclined&&a.onDeclined(h),a.ignoreDeclined||(g=new Error("Aborted because of declined dependency: "+h.moduleId+" in "+h.parentId+b));break;case"unaccepted":a.onUnaccepted&&a.onUnaccepted(h),a.ignoreUnaccepted||(g=new Error("Aborted because "+p+" is not accepted"+b));break;case"accepted":a.onAccepted&&a.onAccepted(h),v=!0;break;case"disposed":a.onDisposed&&a.onDisposed(h),y=!0;break;default:throw new Error("Unexception type "+h.type)}if(g)return{error:g};if(v)for(p in l[p]=m,c(u,h.outdatedModules),h.outdatedDependencies)r.o(h.outdatedDependencies,p)&&(d[p]||(d[p]=[]),c(d[p],h.outdatedDependencies[p]));y&&(c(u,[h.moduleId]),l[p]=f)}t=void 0;for(var M,w=[],x=0;x0;){var a=o.pop(),s=r.c[a];if(s){var c={},l=s.hot._disposeHandlers;for(x=0;x=0&&f.parents.splice(e,1)}}}for(var p in d)if(r.o(d,p)&&(s=r.c[p]))for(M=d[p],x=0;x=0&&s.children.splice(e,1)},apply:function(e){for(var t in l)r.o(l,t)&&(r.m[t]=l[t]);for(var n=0;n{for(var s in n)r.o(n,s)&&(t[s]=n[s]);i&&o.push(i),a[e]&&(a[e](),a[e]=void 0)},r.hmrI.jsonp=function(e,i){t||(t={},o=[],n=[],i.push(c)),r.o(t,e)||(t[e]=r.m[e])},r.hmrC.jsonp=function(a,d,u,l,f,p){f.push(c),e={},n=d,t=u.reduce((function(e,t){return e[t]=!1,e}),{}),o=[],a.forEach((function(t){r.o(i,t)&&void 0!==i[t]&&(l.push(s(t)),e[t]=!0)})),r.f&&(r.f.jsonpHmr=function(t,n){e&&!r.o(e,t)&&r.o(i,t)&&void 0!==i[t]&&(n.push(s(t)),e[t]=!0)})},r.hmrM=()=>{if("undefined"==typeof fetch)throw new Error("No browser support: need fetch API");return fetch(r.p+r.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))}})(),r(109)})(); \ No newline at end of file +(()=>{"use strict";var e,t,n={324:(e,t,n)=>{e.exports=n.p+"d6da2a2a8b78756892f6.png"},163:(e,t,n)=>{function o(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:void 0;console.log("Server-Error. Press F5 to Retry. ".concat(e||"")),document.body.innerHTML="Server-Error. Press F5 to Retry. ".concat(e||"")}}])&&i(t.prototype,n),e}();function c(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n '}}])&&ie(t.prototype,n),a}(ne);function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t){for(var n=0;n"),t=document.createElement("div");t.classList.add("message"),t.id=this.lastId;var n=this.cookieWorker.getCookie("name")===this.stat[this.lastId].name;return n?t.classList.add("my"):t.classList.add("someone"),t.innerHTML='
\n

'.concat(this.stat[this.lastId].name,"

\n ").concat(n?e:"",'\n
\n

\n ').concat(new Date(+this.stat[this.lastId].time).toString().split(" ").slice(1,5).join(" "),'\n

\n

').concat(this.stat[this.lastId].message,"

"),t}return""}},{key:"_readMessages",value:function(){var e=this;this.apiWorker.messageList.forEach((function(t){e.lastId=t.id,e.stat[t.id]=t}))}}])&&Ze(t.prototype,n),a}(y);function $e(e){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t){for(var n=0;n')}},{key:"events",value:function(){var e=this;document.addEventListener("click",(function(t){e._isDelete(t.target)&&(console.log(t.path),e.apiWorker.delete(t.path[3].id))}))}},{key:"render",value:function(){return""}},{key:"_isDelete",value:function(e){return e.classList.contains("delete")}}])&&et(t.prototype,n),a}(y);function it(e){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function at(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t){for(var n=0;n'),this.isEditing=!1,this.idEditing=void 0}},{key:"events",value:function(){var e=this;document.addEventListener("click",(function(t){if(e._isEdit(t.target)){var n=t.path[3],o=n.querySelector(".message-text");e.isEditing?n.id===e.idEditing&&(t.target.classList.remove("active"),e.apiWorker.edit(n.id,o.innerHTML),o.removeAttribute("contenteditable"),e.isEditing=!1):(t.target.classList.add("active"),o.setAttribute("contenteditable","true"),e.idEditing=n.id,e.isEditing=!0)}})),document.addEventListener("keydown",(function(t){if("Enter"===t.key&&!0!==t.shiftKey&&e._isMessageText(t.target)){var n=t.path[1],o=n.querySelector(".message-text");n.id===e.idEditing&&e.isEditing&&(t.target.classList.remove("active"),e.apiWorker.edit(n.id,o.innerHTML),o.removeAttribute("contenteditable"),e.isEditing=!1)}}))}},{key:"render",value:function(){return""}},{key:"_isEdit",value:function(e){return e.classList.contains("edit")}},{key:"_isMessageText",value:function(e){return e.classList.contains("message-text")}}])&&ct(t.prototype,n),a}(y);function dt(e){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t){for(var n=0;n\n
\n
\n
\n '}}])&&yt(t.prototype,n),a}(ne),gt=new d,wt=new u(gt);wt.redirect(),new function e(t){var n=t.apiWorker,o=void 0===n?void 0:n,r=t.routerWorker,i=void 0===r?void 0:r,a=t.cookieWorker,c=void 0===a?void 0:a,u=t.ButtonLogin,s=void 0===u?void 0:u,f=t.ButtonSignin,l=void 0===f?void 0:f,d=t.EmailInput,p=void 0===d?void 0:d,y=t.PasswordInput,h=void 0===y?void 0:y,m=t.UserInput,v=void 0===m?void 0:m,b=t.RootLogin,g=void 0===b?void 0:b,w=t.RootMain,k=void 0===w?void 0:w,j=t.InfoDiv,O=void 0===j?void 0:j,x=t.NameDiv,M=void 0===x?void 0:x,E=t.LogoutButton,S=void 0===E?void 0:E,_=t.MessageInput,D=void 0===_?void 0:_,I=t.SendButton,L=void 0===I?void 0:I,P=t.MessageList,T=void 0===P?void 0:P,N=t.DeleteButton,R=void 0===N?void 0:N,C=t.EditButton,z=void 0===C?void 0:C;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.router=i,this.router.isLoginPage()&&s&&l&&p&&h&&v&&g?(new g({node:"body",typeOfElement:"div"}),new O({node:".form",typeOfElement:"div",insert:"beforebegin",insertElement:".button-div"}),new s({apiWorker:o,node:".button-div",typeOfElement:"button"}),new l({apiWorker:o,node:".button-div",typeOfElement:"button"}),new p({node:"#keys",typeOfElement:"input"}),new h({node:"#keys",typeOfElement:"input"}),new v({node:"#keys",typeOfElement:"input"})):!this.router.isLoginPage()&&k&&M&&S&&D&&L&&T&&R&&z?(new k({node:"body",typeOfElement:"div"}),new M({cookieWorker:c,node:"header",typeOfElement:"div"}),new S({apiWorker:o,node:"header",typeOfElement:"button"}),new D({node:"#message-input",typeOfElement:"div"}),new L({apiWorker:o,node:"#message-input",typeOfElement:"button"}),new T({apiWorker:o,cookieWorker:c,node:"section",typeOfElement:"div",prependElements:!0,childComponents:{deleteButton:new R({apiWorker:o,typeOfElement:"button"}),editButton:new z({apiWorker:o,typeOfElement:"button"})}})):document.querySelector(".root").innerHTML="Component Error"}({apiWorker:new a("ws://127.0.0.1:5025",gt,wt,r),routerWorker:wt,cookieWorker:gt,RootLogin:se,InfoDiv:me,ButtonLogin:k,ButtonSignin:_,EmailInput:R,PasswordInput:U,UserInput:V,NameDiv:Oe,LogoutButton:Ie,MessageInput:ze,SendButton:qe,MessageList:Xe,DeleteButton:rt,EditButton:lt,RootMain:bt})},235:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});var o=n(645),r=n.n(o),i=n(667),a=n.n(i),c=n(391),u=n(492),s=n(610),f=n(892),l=r()((function(e){return e[1]})),d=a()(c),p=a()(u),y=a()(s),h=a()(f);l.push([e.id,"html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}*{margin:0;padding:0}body{-webkit-transition:background-color 3000ms linear;transition:background-color 3000ms linear;background:linear-gradient(45deg, #fff 30%, #89D2DC) no-repeat;min-height:100vh}.log-in{overflow:hidden}.info{margin-top:1.25em}.form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;width:20em;height:23.25em;margin:4em auto;border-radius:10px;-webkit-box-shadow:0 1px 13px 0 rgba(50,50,50,0.7);box-shadow:0 1px 13px 0 rgba(50,50,50,0.7)}#keys{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.key{margin-top:1.5em}#log-in,#sign-in{background:#2431e2;color:#ffffff;border:none;text-align:center;text-decoration:none;font-size:14px;-webkit-box-flex:1;-ms-flex:1;flex:1;border-radius:10px;width:15em;height:2.5em;margin-bottom:0.75em;position:relative;left:50%;-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0);-webkit-transition-property:background;transition-property:background;-webkit-transition-duration:.5s;transition-duration:.5s}#log-in:hover,#sign-in:hover{background:#434bff;cursor:pointer}#log-in:active,#sign-in:active,#log-in:focus,#sign-in:focus{outline:none;background:#b2c4ff}.button-div{margin:auto auto 2em}input{width:18em;border:2px solid black;border-radius:4px;padding:0.8em 0.8em}input:active,input:hover,input:focus{outline:0;outline-offset:0}@media (max-width: 875px){.form{font-size:14px}input{font-size:12px}.open-button{font-size:12px}.info{font-size:12px}}@media (min-width: 2000px){.form{font-size:22px}input{font-size:20px}.open-button{font-size:20px}.info{font-size:20px}}@media (min-width: 2300px){.form{font-size:24px}input{font-size:22px}.open-button{font-size:22px}.info{font-size:22px}}#log-out,#name{width:1.25em;height:1.25em;margin:0.75em}header{font-family:'Montserrat', sans-serif;background:#6564DB;font-size:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}#log-out{-webkit-transition:0.5s;transition:0.5s;font-size:inherit;border:none;outline:none;background:url("+d+") no-repeat}#log-out:hover,#log-out:focus{cursor:pointer;-webkit-transform:scale(1.1);transform:scale(1.1)}@media (max-width: 875px){header{font-size:24px}}@media (min-width: 2000px){header{font-size:34px}}@media (min-width: 2300px){header{font-size:38px}}section{font-family:'Montserrat', sans-serif;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;font-size:20px}.edit,.delete{-webkit-transition:0.5s;transition:0.5s;border:none;outline:none;width:1vw;height:1vw;margin:0 0.25em;font-size:inherit}.edit:hover,.delete:hover,.edit:focus,.delete:focus{cursor:pointer;-webkit-transform:scale(1.1);transform:scale(1.1)}#message-input{margin:1em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.textarea{font-family:inherit;font-size:inherit;resize:none;padding:0.2em}.textarea:active,.textarea:focus{outline:none}#send{-webkit-transition:0.5s;transition:0.5s;border:none;outline:none;width:2.5vw;height:2.5vw;font-size:inherit;margin:auto 1em 0.2em 1em;background:url("+p+") no-repeat}#send:hover,#send:focus{cursor:pointer;-webkit-transform:scale(1.1);transform:scale(1.1)}#message-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.someone{margin:0.5em 0.5em 0.5em 1em;padding:0.5em}.message{border:2.5px #2431e2 solid;border-radius:5px;overflow:hidden;word-wrap:break-word;width:50vw;min-height:5em;background:#ffffff}.my{margin:1em 1em 1em auto;padding:0.5em;border-color:#0D1317}.nickname{font-weight:bold}.message-text{margin-top:0.1em}.time{margin-top:0.1em;opacity:0.75;font-size:.75em}.control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.edit{background:url("+y+") no-repeat}.delete{background:url("+h+') no-repeat}.message-text[contenteditable="true"]{outline-offset:1px;outline:1px #2431e2 solid;font-family:inherit;font-size:inherit;resize:none}.message-text[contenteditable="true"]:active,.message-text[contenteditable="true"]:focus{outline-offset:1px;outline:1px #2431e2 solid}.active{width:1.5vw;height:1.5vw}@media (min-width: 1950px){section{font-size:26px}}@media (min-width: 2150px){section{font-size:28px}}@media (min-width: 2400px){section{font-size:32px}}@media (max-width: 1450px){section{font-size:16px}.edit{width:2vw;height:2vw}.delete{width:2vw;height:2vw}}@media (max-width: 1200px){section{font-size:13px}}@media (max-width: 1000px){section{font-size:11px}}\n',""]);const m=l},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var i=0;i{e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},981:(e,t,n)=>{var o=n(379),r=n.n(o),i=n(235),a=r()(i.default,{insert:"head",singleton:!1});if(!i.default.locals||e.hot.invalidate){var c=i.default.locals;e.hot.accept(235,(t=>{i=n(235),function(e,t,n){if(!e&&t||e&&!t)return!1;var o;for(o in e)if(e[o]!==t[o])return!1;for(o in t)if(!e[o])return!1;return!0}(c,i.default.locals)?(c=i.default.locals,a(i.default)):e.hot.invalidate()}))}e.hot.dispose((function(){a()})),i.default.locals},379:(e,t,n)=>{var o,r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNTEyIDI4LjMwOEw0ODMuNjkyIDAgMjU2IDIyNy42OTIgMjguMzA4IDAgMCAyOC4zMDggMjI3LjY5MiAyNTYgMCA0ODMuNjkyIDI4LjMwOCA1MTIgMjU2IDI4NC4zMDggNDgzLjY5MiA1MTIgNTEyIDQ4My42OTIgMjg0LjMwOCAyNTZ6Ii8+PC9zdmc+"},610:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODMuOTQ3IDM4My45NDciPjxwYXRoIGQ9Ik0wIDMwMy45NDd2ODBoODBsMjM2LjA1My0yMzYuMDU0LTgwLTgwek0zNzcuNzA3IDU2LjA1M0wzMjcuODkzIDYuMjRjLTguMzItOC4zMi0yMS44NjctOC4zMi0zMC4xODcgMGwtMzkuMDQgMzkuMDQgODAgODAgMzkuMDQtMzkuMDRjOC4zMjEtOC4zMiA4LjMyMS0yMS44NjcuMDAxLTMwLjE4N3oiLz48L3N2Zz4="},391:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMjU1LjE1IDQ2OC42MjVINjMuNzg3Yy0xMS43MzcgMC0yMS4yNjItOS41MjYtMjEuMjYyLTIxLjI2MlY2NC42MzhjMC0xMS43MzcgOS41MjYtMjEuMjYyIDIxLjI2Mi0yMS4yNjJIMjU1LjE1YzExLjc1OCAwIDIxLjI2Mi05LjUwNCAyMS4yNjItMjEuMjYyUzI2Ni45MDguODUgMjU1LjE1Ljg1SDYzLjc4N0MyOC42MTkuODUgMCAyOS40NyAwIDY0LjYzOHYzODIuNzI0YzAgMzUuMTY4IDI4LjYxOSA2My43ODcgNjMuNzg3IDYzLjc4N0gyNTUuMTVjMTEuNzU4IDAgMjEuMjYyLTkuNTA0IDIxLjI2Mi0yMS4yNjIgMC0xMS43NTgtOS41MDQtMjEuMjYyLTIxLjI2Mi0yMS4yNjJ6Ii8+PHBhdGggZD0iTTUwNS42NjQgMjQwLjg2MUwzNzYuMzg4IDExMy4yODZjLTguMzM1LTguMjUtMjEuODE1LTguMTQzLTMwLjA2NS4yMTNzLTguMTY1IDIxLjgxNS4yMTMgMzAuMDY1bDkyLjM4NSA5MS4xNzNIMTkxLjM2MmMtMTEuNzU4IDAtMjEuMjYyIDkuNTA0LTIxLjI2MiAyMS4yNjIgMCAxMS43NTggOS41MDQgMjEuMjYzIDIxLjI2MiAyMS4yNjNoMjQ3LjU1OWwtOTIuMzg1IDkxLjE3M2MtOC4zNzcgOC4yNS04LjQ0MSAyMS43MDktLjIxMyAzMC4wNjVhMjEuMjU1IDIxLjI1NSAwIDAwMTUuMTM5IDYuMzM2YzUuNDAxIDAgMTAuODAxLTIuMDQxIDE0LjkyNi02LjEyNGwxMjkuMjc2LTEyNy41NzVBMjEuMzAzIDIxLjMwMyAwIDAwNTEyIDI1NS45OThjMC01LjY5Ni0yLjI3NS0xMS4xMTgtNi4zMzYtMTUuMTM3eiIvPjwvc3ZnPg=="},492:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNDQ4Ij48cGF0aCBkPSJNLjIxMyAzMkwwIDE4MS4zMzMgMzIwIDIyNCAwIDI2Ni42NjcuMjEzIDQxNiA0NDggMjI0eiIvPjwvc3ZnPg=="}},o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={id:e,exports:{}},i={id:e,module:t,factory:n[e],require:r};return r.i.forEach((function(e){e(i)})),t=i.module,i.factory.call(t.exports,t,t.exports,i.require),t.exports}r.m=n,r.c=o,r.i=[],r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.hu=e=>e+"."+r.h()+".hot-update.js",r.hmrF=()=>"main."+r.h()+".hot-update.json",r.h=()=>"df3f9c4eb78987ea1aa6",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="chat:",r.l=(n,o,i)=>{if(e[n])e[n].push(o);else{var a,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),s=0;s{a.onerror=a.onload=null,clearTimeout(d);var r=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(o))),t)return t(o)},d=setTimeout(l.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=l.bind(null,a.onerror),a.onload=l.bind(null,a.onload),c&&document.head.appendChild(a)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e,t,n,o,i={},a=r.c,c=[],u=[],s="idle";function f(e){s=e;for(var t=0;t0)return f("abort"),Promise.resolve().then((function(){throw i[0]}));f("dispose"),t.forEach((function(e){e.dispose&&e.dispose()})),f("apply");var a=function(e){r||(r=e)},c=[];return t.forEach((function(e){if(e.apply){var t=e.apply(a);if(t)for(var n=0;n=0&&v._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,s){case"idle":n=[],Object.keys(r.hmrI).forEach((function(e){r.hmrI[e](h,n)})),f("ready");break;case"ready":Object.keys(r.hmrI).forEach((function(e){r.hmrI[e](h,n)}));break;case"prepare":case"check":case"dispose":case"apply":(o=o||[]).push(h)}},check:d,apply:p,status:function(e){if(!e)return s;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:i[h]},e=void 0,v),b.parents=c,b.children=[],c=[],y.require=g})),r.hmrC={},r.hmrI={}})(),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e,t,n,o,i={179:0},a={};function c(e){return new Promise(((t,n)=>{a[e]=t;var o=r.p+r.hu(e),i=new Error;r.l(o,(t=>{if(a[e]){a[e]=void 0;var o=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;i.message="Loading hot update chunk "+e+" failed.\n("+o+": "+r+")",i.name="ChunkLoadError",i.type=o,i.request=r,n(i)}}))}))}function u(a){function c(e){for(var t=[e],n={},o=t.map((function(e){return{chain:[e],id:e}}));o.length>0;){var i=o.pop(),a=i.id,c=i.chain,s=r.c[a];if(s&&(!s.hot._selfAccepted||s.hot._selfInvalidated)){if(s.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:a};if(s.hot._main)return{type:"unaccepted",chain:c,moduleId:a};for(var f=0;f ")),y.type){case"self-declined":a.onDeclined&&a.onDeclined(y),a.ignoreDeclined||(m=new Error("Aborted because of self decline: "+y.moduleId+g));break;case"declined":a.onDeclined&&a.onDeclined(y),a.ignoreDeclined||(m=new Error("Aborted because of declined dependency: "+y.moduleId+" in "+y.parentId+g));break;case"unaccepted":a.onUnaccepted&&a.onUnaccepted(y),a.ignoreUnaccepted||(m=new Error("Aborted because "+p+" is not accepted"+g));break;case"accepted":a.onAccepted&&a.onAccepted(y),v=!0;break;case"disposed":a.onDisposed&&a.onDisposed(y),b=!0;break;default:throw new Error("Unexception type "+y.type)}if(m)return{error:m};if(v)for(p in l[p]=h,u(f,y.outdatedModules),y.outdatedDependencies)r.o(y.outdatedDependencies,p)&&(s[p]||(s[p]=[]),u(s[p],y.outdatedDependencies[p]));b&&(u(f,[y.moduleId]),l[p]=d)}t=void 0;for(var w,k=[],j=0;j0;){var a=o.pop(),c=r.c[a];if(c){var u={},l=c.hot._disposeHandlers;for(j=0;j=0&&d.parents.splice(e,1)}}}for(var p in s)if(r.o(s,p)&&(c=r.c[p]))for(w=s[p],j=0;j=0&&c.children.splice(e,1)},apply:function(e){for(var t in l)r.o(l,t)&&(r.m[t]=l[t]);for(var n=0;n{for(var c in n)r.o(n,c)&&(t[c]=n[c]);i&&o.push(i),a[e]&&(a[e](),a[e]=void 0)},r.hmrI.jsonp=function(e,i){t||(t={},o=[],n=[],i.push(u)),r.o(t,e)||(t[e]=r.m[e])},r.hmrC.jsonp=function(a,s,f,l,d,p){d.push(u),e={},n=s,t=f.reduce((function(e,t){return e[t]=!1,e}),{}),o=[],a.forEach((function(t){r.o(i,t)&&void 0!==i[t]&&(l.push(c(t)),e[t]=!0)})),r.f&&(r.f.jsonpHmr=function(t,n){e&&!r.o(e,t)&&r.o(i,t)&&void 0!==i[t]&&(n.push(c(t)),e[t]=!0)})},r.hmrM=()=>{if("undefined"==typeof fetch)throw new Error("No browser support: need fetch API");return fetch(r.p+r.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))}})(),r(163)})(); \ No newline at end of file