(()=>{"use strict";var t,e,r={913:(t,e,r)=>{const n=jQuery;var a=r.n(n);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var r=0;r.5?-1:1}));for(var O=0;O0?setTimeout(I,(O+1)*n):I()}}}function d(t){return null!==t.pageX&&void 0!==t.pageX?{x:Math.round(t.pageX),y:Math.round(t.pageY)}:(t.changedTouches?e=t.changedTouches:t.targetTouches?e=t.targetTouches:t.originalEvent&&t.originalEvent.targetTouches&&(e=t.originalEvent.targetTouches),null!==e[0].pageX&&void 0!==e[0].pageX?{x:Math.round(e[0].pageX),y:Math.round(e[0].pageY)}:{x:Math.round(e[0].clientX),y:Math.round(e[0].clientY)});var e}function p(t){var e=d(t),r=e.x,n=e.y;currentCaptcha.currentCaptchaData.startX=r,currentCaptcha.currentCaptchaData.startY=n;var a=currentCaptcha.currentCaptchaData.startX,i=currentCaptcha.currentCaptchaData.startY,o=currentCaptcha.currentCaptchaData.startTime;currentCaptcha.currentCaptchaData.trackArr.push({x:a-r,y:i-n,type:"down",t:(new Date).getTime()-o.getTime()}),s(["start",r,n]),window.addEventListener("mousemove",h),window.addEventListener("mouseup",v),window.addEventListener("touchmove",h,!1),window.addEventListener("touchend",v,!1),window.currentCaptcha.doDown&&window.currentCaptcha.doDown(t,window.currentCaptcha)}function h(t){t.touches&&t.touches.length>0&&(t=t.touches[0]);var e=d(t),r=e.x,n=e.y,a=window.currentCaptcha.currentCaptchaData.startX,i=window.currentCaptcha.currentCaptchaData.startY,o=window.currentCaptcha.currentCaptchaData.startTime,c=window.currentCaptcha.currentCaptchaData.end,u=window.currentCaptcha.currentCaptchaData.bgImageWidth,l=window.currentCaptcha.currentCaptchaData.trackArr,p=r-a,h={x:r-a,y:n-i,type:"move",t:(new Date).getTime()-o.getTime()};l.push(h),p<0?p=0:p>c&&(p=c),window.currentCaptcha.currentCaptchaData.moveX=p,window.currentCaptcha.currentCaptchaData.movePercent=p/u,window.currentCaptcha.doMove&&window.currentCaptcha.doMove(t,currentCaptcha),s(["move",h])}function f(){window.removeEventListener("mousemove",h),window.removeEventListener("mouseup",v),window.removeEventListener("touchmove",h),window.removeEventListener("touchend",v)}function v(t){f();var e=d(t);currentCaptcha.currentCaptchaData.stopTime=new Date;var r=e.x,n=e.y,a=currentCaptcha.currentCaptchaData.startX,i=currentCaptcha.currentCaptchaData.startY,o=currentCaptcha.currentCaptchaData.startTime,c=currentCaptcha.currentCaptchaData.trackArr,u={x:r-a,y:n-i,type:"up",t:(new Date).getTime()-o.getTime()};c.push(u),s(["up",u]),window.currentCaptcha.doUp&&window.currentCaptcha.doUp(t,window.currentCaptcha),window.currentCaptcha.endCallback(currentCaptcha.currentCaptchaData,currentCaptcha)}function g(t,e,r,n,a){var i={startTime:new Date,trackArr:[],movePercent:0,clickCount:0,bgImageWidth:Math.round(t),bgImageHeight:Math.round(e),sliderImageWidth:Math.round(r),sliderImageHeight:Math.round(n),end:a};return s(["init",i]),i}function A(t,e){a()(t.find("#tianai-captcha-tips")).removeClass("tianai-captcha-tips-on"),e&&setTimeout(e,.35)}function m(t,e,r,n){var i=a()(t.find("#tianai-captcha-tips"));i.text(e),1===r?(i.removeClass("tianai-captcha-tips-error"),i.addClass("tianai-captcha-tips-success")):(i.removeClass("tianai-captcha-tips-success"),i.addClass("tianai-captcha-tips-error")),i.addClass("tianai-captcha-tips-on"),setTimeout(n,1e3)}var y=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r;return e=t,(r=[{key:"showTips",value:function(t,e,r){m(this.el,t,e,r)}},{key:"closeTips",value:function(t,e){A(this.el,t)}}])&&o(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function w(t,e){for(var r=0;r\n
\n 拖动滑块完成拼图\n
\n
\n
\n \n \n
\n
\n \n
\n
验证失败,请重新尝试
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n\n'),this.el=a()(this.boxEl.find("#tianai-captcha")),this.loadStyle(),this.el.find("#tianai-captcha-slider-move-btn").mousedown(p),this.el.find("#tianai-captcha-slider-move-btn").on("touchstart",p),window.currentCaptcha=this,this.loadCaptchaForData(this,t),this.endCallback=e,r&&r(this),this}},{key:"showTips",value:function(t,e,r){m(this.el,t,e,r)}},{key:"closeTips",value:function(t){A(this.el,t)}},{key:"destroy",value:function(){var t=this.boxEl.children("#tianai-captcha");t&&t.remove(),f()}},{key:"doMove",value:function(){var t=this.currentCaptchaData.moveX;this.el.find("#tianai-captcha-slider-move-btn").css("transform","translate("+t+"px, 0px)"),this.el.find("#tianai-captcha-slider-img-div").css("transform","translate("+t+"px, 0px)"),this.el.find("#tianai-captcha-slider-move-track-mask").css("width",t+"px")}},{key:"loadStyle",value:function(){var t="",e="",r="#00f4ab",n="#a9ffe5",a="images/logo.png",i=this.styleConfig;i&&(t=i.btnUrl,e=i.bgUrl,n=i.moveTrackMaskBgColor,r=i.moveTrackMaskBorderColor,i.logoUrl&&(a=this.styleConfig.logoUrl)),this.el.find("#tianai-captcha-logo").attr("src",a),this.el.find("#tianai-captcha-bg-img").css("background-image","url("+e+")"),this.el.find(".slider-move .slider-move-btn").css("background-image","url("+t+")"),this.el.find("#tianai-captcha-slider-move-track-mask").css("border-color",r),this.el.find("#tianai-captcha-slider-move-track-mask").css("background-color",n)}},{key:"loadCaptchaForData",value:function(t,e){var r=t.el.find("#tianai-captcha-slider-bg-img"),n=t.el.find("#tianai-captcha-slider-move-img");r.attr("src",e.captcha.backgroundImage),n.attr("src",e.captcha.templateImage),r.on("load",(function(){t.currentCaptchaData=g(r.width(),r.height(),n.width(),n.height(),242),t.currentCaptchaData.currentCaptchaId=e.id,l(e.captcha,"tianai-captcha-slider-bg-canvas","tianai-captcha-slider-bg-img",50)}))}}])&&w(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(y);function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function B(t,e){for(var r=0;r\n
\n 拖动滑块完成拼图\n
\n
\n
\n \n \n
\n
\n \n
\n
验证失败,请重新尝试
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n'),this.el=a()(this.boxEl.find("#tianai-captcha")),this.loadStyle(),this.el.find("#tianai-captcha-slider-move-btn").mousedown(p),this.el.find("#tianai-captcha-slider-move-btn").on("touchstart",p),window.currentCaptcha=this,this.loadCaptchaForData(this,t),this.endCallback=e,r&&r(this),this}},{key:"destroy",value:function(){var t=this.boxEl.children("#tianai-captcha");t&&t.remove(),f()}},{key:"doMove",value:function(){var t=this.currentCaptchaData.moveX;this.el.find("#tianai-captcha-slider-move-btn").css("transform","translate("+t+"px, 0px)"),this.el.find("#tianai-captcha-slider-move-img").css("transform","rotate("+t/(this.currentCaptchaData.end/360)+"deg)"),this.el.find("#tianai-captcha-slider-move-track-mask").css("width",t+"px")}},{key:"loadStyle",value:function(){var t="",e="",r="#00f4ab",n="#a9ffe5",a="images/logo.png",i=this.styleConfig;i&&(t=i.btnUrl,e=i.bgUrl,n=i.moveTrackMaskBgColor,r=i.moveTrackMaskBorderColor,i.logoUrl&&(a=this.styleConfig.logoUrl)),this.el.find("#tianai-captcha-logo").attr("src",a),this.el.find("#tianai-captcha-bg-img").css("background-image","url("+e+")"),this.el.find(".slider-move .slider-move-btn").css("background-image","url("+t+")"),this.el.find("#tianai-captcha-slider-move-track-mask").css("border-color",r),this.el.find("#tianai-captcha-slider-move-track-mask").css("background-color",n)}},{key:"loadCaptchaForData",value:function(t,e){var r=t.el.find("#tianai-captcha-slider-bg-img"),n=t.el.find("#tianai-captcha-slider-move-img");r.attr("src",e.captcha.backgroundImage),n.attr("src",e.captcha.templateImage),r.on("load",(function(){t.currentCaptchaData=g(r.width(),r.height(),n.width(),n.height(),242),t.currentCaptchaData.currentCaptchaId=e.id,l(e.captcha,"tianai-captcha-slider-bg-canvas","tianai-captcha-slider-bg-img",50)}))}}])&&B(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(y);function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function M(t,e){for(var r=0;r\n
\n 拖动滑块完成拼图\n
\n
\n
\n \n
\n
\n
验证失败,请重新尝试
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n '),this.el=a()(this.boxEl.find("#tianai-captcha")),this.loadStyle(),this.el.find("#tianai-captcha-slider-move-btn").mousedown(p),this.el.find("#tianai-captcha-slider-move-btn").on("touchstart",p),this.el.each((function(t,e){e.addEventListener("touchmove",u,{passive:!1}),e.addEventListener("mousemove",u,{passive:!1})})),window.currentCaptcha=this,this.loadCaptchaForData(this,t),this.endCallback=e,r&&r(this),this}},{key:"destroy",value:function(){f();var t=this.boxEl.children("#tianai-captcha");t&&t.remove()}},{key:"doMove",value:function(){var t=this.currentCaptchaData.moveX;this.el.find("#tianai-captcha-slider-move-btn").css("transform","translate("+t+"px, 0px)"),this.el.find("#tianai-captcha-slider-concat-img-div").css("background-position-x",t+"px"),this.el.find("#tianai-captcha-slider-move-track-mask").css("width",t+"px")}},{key:"loadStyle",value:function(){var t="",e="",r="#00f4ab",n="#a9ffe5",a="images/logo.png",i=this.styleConfig;i&&(t=i.btnUrl,e=i.bgUrl,n=i.moveTrackMaskBgColor,r=i.moveTrackMaskBorderColor,i.logoUrl&&(a=this.styleConfig.logoUrl)),this.el.find("#tianai-captcha-logo").attr("src",a),this.el.find("#tianai-captcha-bg-img").css("background-image","url("+e+")"),this.el.find(".slider-move .slider-move-btn").css("background-image","url("+t+")"),this.el.find("#tianai-captcha-slider-move-track-mask").css("border-color",r),this.el.find("#tianai-captcha-slider-move-track-mask").css("background-color",n)}},{key:"loadCaptchaForData",value:function(t,e){var r=t.el.find(".tianai-captcha-slider-concat-bg-img"),n=t.el.find("#tianai-captcha-slider-concat-img-div");r.css("background-image","url("+e.captcha.backgroundImage+")"),n.css("background-image","url("+e.captcha.backgroundImage+")"),n.css("background-position","0px 0px");var a=e.captcha.backgroundImageHeight,i=(a-e.captcha.data.randomY)/a*180;n.css("height",i),t.currentCaptchaData=g(r.width(),r.height(),n.width(),n.height(),242),t.currentCaptchaData.currentCaptchaId=e.id}}])&&M(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(y);function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function Y(t,e){for(var r=0;r\n
\n 请依次点击:\n \n
\n
\n
\n \n \n
\n
\n
验证失败,请重新尝试
\n
\n\n'),this.el=a()(this.boxEl.find("#tianai-captcha")),window.currentCaptcha=this,this.loadCaptchaForData(this,t),this.endCallback=e,this.el.find("#bg-img-click-mask").click((function(t){n.currentCaptchaData.clickCount++;var e=n.currentCaptchaData.trackArr,r=n.currentCaptchaData.startTime;1===n.currentCaptchaData.clickCount&&(window.addEventListener("mousemove",h),n.currentCaptchaData.startX=t.offsetX,n.currentCaptchaData.startY=t.offsetY),e.push({x:Math.round(t.offsetX),y:Math.round(t.offsetY),type:"click",t:(new Date).getTime()-r.getTime()});var a=t.offsetX-10,i=t.offsetY-10;n.el.find("#bg-img-click-mask").append(""+n.currentCaptchaData.clickCount+""),4===n.currentCaptchaData.clickCount&&(n.currentCaptchaData.stopTime=new Date,window.removeEventListener("mousemove",h),n.endCallback(n.currentCaptchaData,n))})),r&&r(this),this}},{key:"destroy",value:function(){var t=this.boxEl.children("#tianai-captcha");t&&t.remove(),f()}},{key:"loadCaptchaForData",value:function(t,e){var r=t.el.find("#tianai-captcha-slider-bg-img"),n=t.el.find("#tianai-captcha-tip-img");r.on("load",(function(){t.currentCaptchaData=g(r.width(),r.height(),n.width(),n.height()),t.currentCaptchaData.currentCaptchaId=e.id,l(e.captcha,"tianai-captcha-slider-bg-canvas","tianai-captcha-slider-bg-img",50)})),r.attr("src",e.captcha.backgroundImage),n.attr("src",e.captcha.templateImage)}}])&&Y(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(y));function P(t){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(t)}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}(t.split(">"));try{for(r.s();!(e=r.n()).done;){var n=e.value,a=J[n];if(!a)throw new Error("[TAC] chains错误, 无法读取到[".concat(n,"]"));this.addRequestChain(a)}}catch(t){r.e(t)}finally{r.f()}}}},{key:"addRequestChain",value:function(t){this.requestChain.push(t)}},{key:"requestCaptchaData",value:function(){var t=this,e={};return this._preRequest("requestCaptchaData",e),this.doSendRequest("requestCaptchaData",e).then((function(r){return t._postRequest("requestCaptchaData",e,r),r}))}},{key:"doSendRequest",value:function(t,e){var r;return r="requestCaptchaData"===t?this.requestCaptchaDataUrl:this.validCaptchaUrl,new Promise((function(t,n){a().ajax({url:r,type:"POST",data:JSON.stringify(e),dataType:"json",contentType:"application/json;charset=UTF-8",success:function(e){t(e)},error:function(t){n(t)}})}))}},{key:"_preRequest",value:function(t,e,r,n){for(var a=0;a\n
\n
\n loading\n
\n \x3c!-- 底部 --\x3e\n
\n \n
\n
\n
\n \n '),this.loadStyle(),this.config.$bindEl.find("#tianai-captcha-slider-refresh-btn").click((function(){t.reloadCaptcha()})),this.config.$bindEl.find("#tianai-captcha-slider-close-btn").click((function(){t.destroyWindow()})),this.reloadCaptcha(),this}},{key:"reloadCaptcha",value:function(){var t=this;this.showLoading(),this.destroyCaptcha((function(){t.createCaptcha()}))}},{key:"showLoading",value:function(){this.config.$bindEl.find("#tianai-captcha-loading").css("display","block")}},{key:"closeLoading",value:function(){this.config.$bindEl.find("#tianai-captcha-loading").css("display","none")}},{key:"loadStyle",value:function(){var t=this.style.bgUrl,e=this.style.logoUrl;t&&this.config.$bindEl.find("#tianai-captcha-bg-img").css("background-image","url("+t+")"),e&&(""!==e?this.config.$bindEl.find("#tianai-captcha-logo").attr("src",e):this.config.$bindEl.find("#tianai-captcha-logo").css("display","none"))}},{key:"destroyWindow",value:function(){window.currentCaptcha=void 0,this.config.$bindEl.find("#tianai-captcha-parent").remove()}},{key:"openCaptcha",value:function(){setTimeout((function(){window.currentCaptcha.el.css("transform","translateX(0)")}),10)}},{key:"createCaptcha",value:function(){var t=this;this.config.requestCaptchaData().then((function(e){t.closeLoading();var r=function(t,e){switch(t){case"SLIDER":return new D("#tianai-captcha-box",e);case"ROTATE":return new j("#tianai-captcha-box",e);case"CONCAT":return new G("#tianai-captcha-box",e);case"WORD_IMAGE_CLICK":return new K("#tianai-captcha-box",e);default:return null}}(e.captcha.type,t.style);if(null==r)throw new Error("[TAC] 未知的验证码类型["+e.captcha.type+"]");r.init(e,(function(e,r){var n=r.currentCaptchaData,a={bgImageWidth:n.bgImageWidth,bgImageHeight:n.bgImageHeight,sliderImageWidth:n.sliderImageWidth,sliderImageHeight:n.sliderImageHeight,startSlidingTime:n.startTime,endSlidingTime:n.stopTime,trackList:n.trackArr};"ROTATE_DEGREE"!==r.type&&"ROTATE"!==r.type||(a.bgImageWidth=r.currentCaptchaData.end);var i=r.currentCaptchaData.currentCaptchaId;r.currentCaptchaData=void 0,t.config.validCaptcha(i,a,r,t)})),t.openCaptcha()}))}},{key:"destroyCaptcha",value:function(t){window.currentCaptcha?(window.currentCaptcha.el.css("transform","translateX(300px)"),setTimeout((function(){window.currentCaptcha.destroy(),t&&t()}),500)):t()}}])&&F(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();window.TAC=X,window.CaptchaConfig=z},783:(t,e,r)=>{var n=r(618),a=Object.create(null),i="undefined"==typeof document,o=Array.prototype.forEach;function c(){}function s(t,e){if(!e){if(!t.href)return;e=t.href.split("?")[0]}if(l(e)&&!1!==t.isLoaded&&e&&e.indexOf(".css")>-1){t.visited=!0;var r=t.cloneNode();r.isLoaded=!1,r.addEventListener("load",(function(){r.isLoaded||(r.isLoaded=!0,t.parentNode.removeChild(t))})),r.addEventListener("error",(function(){r.isLoaded||(r.isLoaded=!0,t.parentNode.removeChild(t))})),r.href="".concat(e,"?").concat(Date.now()),t.nextSibling?t.parentNode.insertBefore(r,t.nextSibling):t.parentNode.appendChild(r)}}function u(){var t=document.querySelectorAll("link");o.call(t,(function(t){!0!==t.visited&&s(t)}))}function l(t){return!!/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(t)}t.exports=function(t,e){if(i)return console.log("no window.document found, will not HMR CSS"),c;var r,d,p=function(t){var e=a[t];if(!e){if(document.currentScript)e=document.currentScript.src;else{var r=document.getElementsByTagName("script"),i=r[r.length-1];i&&(e=i.src)}a[t]=e}return function(t){if(!e)return null;var r=e.split(/([^\\/]+)\.js$/),a=r&&r[1];return a&&t?t.split(",").map((function(t){var r=new RegExp("".concat(a,"\\.js$"),"g");return n(e.replace(r,"".concat(t.replace(/{fileName}/g,a),".css")))})):[e.replace(".js",".css")]}}(t);return r=function(){var t=p(e.filename),r=function(t){if(!t)return!1;var e=document.querySelectorAll("link"),r=!1;return o.call(e,(function(e){if(e.href){var a=function(t,e){var r;return t=n(t),e.some((function(n){t.indexOf(e)>-1&&(r=n)})),r}(e.href,t);l(a)&&!0!==e.visited&&a&&(s(e,a),r=!0)}})),r}(t);if(e.locals)return console.log("[HMR] Detected local css modules. Reload all css"),void u();r?console.log("[HMR] css reload %s",t.join(" ")):(console.log("[HMR] Reload all css"),u())},50,d=0,function(){var t=this,e=arguments;clearTimeout(d),d=setTimeout((function(){return r.apply(t,e)}),50)}}},618:t=>{t.exports=function(t){if(t=t.trim(),/^data:/i.test(t))return t;var e=-1!==t.indexOf("//")?t.split("//")[0]+"//":"",r=t.replace(new RegExp(e,"i"),"").split("/"),n=r[0].toLowerCase().replace(/\.$/,"");return r[0]="",e+n+r.reduce((function(t,e){switch(e){case"..":t.pop();break;case".":break;default:t.push(e)}return t}),[]).join("/")}},488:(t,e,r)=>{var n=r(783)(t.id,{locals:!1});t.hot.dispose(n),t.hot.accept(void 0,n)},523:(t,e,r)=>{var n=r(783)(t.id,{locals:!1});t.hot.dispose(n),t.hot.accept(void 0,n)},991:(t,e,r)=>{var n=r(783)(t.id,{locals:!1});t.hot.dispose(n),t.hot.accept(void 0,n)},492:(t,e,r)=>{var n=r(783)(t.id,{locals:!1});t.hot.dispose(n),t.hot.accept(void 0,n)},305:(t,e,r)=>{var n=r(783)(t.id,{locals:!1});t.hot.dispose(n),t.hot.accept(void 0,n)},444:(t,e,r)=>{var n=r(783)(t.id,{locals:!1});t.hot.dispose(n),t.hot.accept(void 0,n)}},n={};function a(t){var e=n[t];if(void 0!==e){if(void 0!==e.error)throw e.error;return e.exports}var i=n[t]={id:t,exports:{}};try{var o={id:t,module:i,factory:r[t],require:a};a.i.forEach((function(t){t(o)})),i=o.module,o.factory.call(i.exports,i,i.exports,o.require)}catch(t){throw i.error=t,t}return i.exports}a.m=r,a.c=n,a.i=[],a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.hu=t=>t+"."+a.h()+".hot-update.js",a.miniCssF=t=>{},a.hmrF=()=>"main."+a.h()+".hot-update.json",a.h=()=>"5f2fe5cc4c7dcbe0724d",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="webpack-demo:",a.l=(r,n,i,o)=>{if(t[r])t[r].push(n);else{var c,s;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l{c.onerror=c.onload=null,clearTimeout(h);var a=t[r];if(delete t[r],c.parentNode&&c.parentNode.removeChild(c),a&&a.forEach((t=>t(n))),e)return e(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},(()=>{var t,e,r,n={},i=a.c,o=[],c=[],s="idle",u=0,l=[];function d(t){s=t;for(var e=[],r=0;r0)return d("abort").then((function(){throw a[0]}));var i=d("dispose");n.forEach((function(t){t.dispose&&t.dispose()}));var o,c=d("apply"),s=function(t){o||(o=t)},u=[];return n.forEach((function(t){if(t.apply){var e=t.apply(s);if(e)for(var r=0;r=0&&m._disposeHandlers.splice(e,1)},invalidate:function(){switch(this._selfInvalidated=!0,s){case"idle":e=[],Object.keys(a.hmrI).forEach((function(t){a.hmrI[t](v,e)})),d("ready");break;case"ready":Object.keys(a.hmrI).forEach((function(t){a.hmrI[t](v,e)}));break;case"prepare":case"check":case"dispose":case"apply":(r=r||[]).push(v)}},check:h,apply:f,status:function(t){if(!t)return s;c.push(t)},addStatusHandler:function(t){c.push(t)},removeStatusHandler:function(t){var e=c.indexOf(t);e>=0&&c.splice(e,1)},data:n[v]},t=void 0,m),y.parents=o,y.children=[],o=[],l.require=b})),a.hmrC={},a.hmrI={}})(),(()=>{var t;a.g.importScripts&&(t=a.g.location+"");var e=a.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!t;)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=t})(),(()=>{if("undefined"!=typeof document){var t=[],e=[],r=r=>({dispose:()=>{for(var e=0;e{for(var t=0;t{s.push(r),n.forEach((r=>{var n=a.miniCssF(r),i=a.p+n,o=((t,e)=>{for(var r=document.getElementsByTagName("link"),n=0;n{var c=((t,e,r,n,a)=>{var i=document.createElement("link");return i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var o=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.href||e,s=new Error("Loading CSS chunk "+t+" failed.\n("+c+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=c,i.parentNode&&i.parentNode.removeChild(i),a(s)}},i.href=e,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i),i})(r,i,o,(()=>{c.as="style",c.rel="preload",n()}),a);t.push(o),e.push(c)})))}))}}})(),(()=>{var t,e,r,n,i,o=a.hmrS_jsonp=a.hmrS_jsonp||{179:0},c={};function s(e,r){return t=r,new Promise(((t,r)=>{c[e]=t;var n=a.p+a.hu(e),i=new Error;a.l(n,(t=>{if(c[e]){c[e]=void 0;var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading hot update chunk "+e+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,r(i)}}))}))}function u(t){function c(t){for(var e=[t],r={},n=e.map((function(t){return{chain:[t],id:t}}));n.length>0;){var i=n.pop(),o=i.id,c=i.chain,u=a.c[o];if(u&&(!u.hot._selfAccepted||u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:o};if(u.hot._main)return{type:"unaccepted",chain:c,moduleId:o};for(var l=0;l ")),f.type){case"self-declined":t.onDeclined&&t.onDeclined(f),t.ignoreDeclined||(g=new Error("Aborted because of self decline: "+f.moduleId+y));break;case"declined":t.onDeclined&&t.onDeclined(f),t.ignoreDeclined||(g=new Error("Aborted because of declined dependency: "+f.moduleId+" in "+f.parentId+y));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(f),t.ignoreUnaccepted||(g=new Error("Aborted because "+h+" is not accepted"+y));break;case"accepted":t.onAccepted&&t.onAccepted(f),A=!0;break;case"disposed":t.onDisposed&&t.onDisposed(f),m=!0;break;default:throw new Error("Unexception type "+f.type)}if(g)return{error:g};if(A)for(h in d[h]=v,s(l,f.outdatedModules),f.outdatedDependencies)a.o(f.outdatedDependencies,h)&&(u[h]||(u[h]=[]),s(u[h],f.outdatedDependencies[h]));m&&(s(l,[f.moduleId]),d[h]=p)}r=void 0;for(var b,w=[],C=0;C0;){var i=r.pop(),c=a.c[i];if(c){var s={},d=c.hot._disposeHandlers;for(C=0;C=0&&p.parents.splice(t,1)}}}for(var h in u)if(a.o(u,h)&&(c=a.c[h]))for(b=u[h],C=0;C=0&&c.children.splice(t,1)},apply:function(e){for(var r in d)a.o(d,r)&&(a.m[r]=d[r]);for(var n=0;n{for(var s in n)a.o(n,s)&&(r[s]=n[s],t&&t.push(s));o&&i.push(o),c[e]&&(c[e](),c[e]=void 0)},a.hmrI.jsonp=function(t,e){r||(r={},i=[],n=[],e.push(u)),a.o(r,t)||(r[t]=a.m[t])},a.hmrC.jsonp=function(t,c,l,d,p,h){p.push(u),e={},n=c,r=l.reduce((function(t,e){return t[e]=!1,t}),{}),i=[],t.forEach((function(t){a.o(o,t)&&void 0!==o[t]?(d.push(s(t,h)),e[t]=!0):e[t]=!1})),a.f&&(a.f.jsonpHmr=function(t,r){e&&a.o(e,t)&&!e[t]&&(r.push(s(t)),e[t]=!0)})},a.hmrM=()=>{if("undefined"==typeof fetch)throw new Error("No browser support: need fetch API");return fetch(a.p+a.hmrF()).then((t=>{if(404!==t.status){if(!t.ok)throw new Error("Failed to fetch update manifest "+t.statusText);return t.json()}}))}})(),a(913)})();