1(self.webpackChunkwebpack_demo=self.webpackChunkwebpack_demo||[]).push([[335,978,457],{9685:e=>{e.exports=function(e){function t(e){"undefined"!=typeof console&&(console.error||console.log)("[Script Loader]",e)}try{"undefined"!=typeof execScript&&"undefined"!=typeof attachEvent&&"undefined"==typeof addEventListener?execScript(e):"undefined"!=typeof eval?eval.call(null,e):t("EvalError: No eval function available")}catch(e){t(e)}}},7539:(e,t,o)=>{o(9685)(o(3499))},3499:e=>{e.exports='/*! Backstretch - v2.0.4 - 2013-06-19\n* http://srobbin.com/jquery-plugins/backstretch/\n* Copyright (c) 2013 Scott Robbin; Licensed MIT */\n(function(a,d,p){a.fn.backstretch=function(c,b){(c===p||0===c.length)&&a.error("No images were supplied for Backstretch");0===a(d).scrollTop()&&d.scrollTo(0,0);return this.each(function(){var d=a(this),g=d.data("backstretch");if(g){if("string"==typeof c&&"function"==typeof g[c]){g[c](b);return}b=a.extend(g.options,b);g.destroy(!0)}g=new q(this,c,b);d.data("backstretch",g)})};a.backstretch=function(c,b){return a("body").backstretch(c,b).data("backstretch")};a.expr[":"].backstretch=function(c){return a(c).data("backstretch")!==p};a.fn.backstretch.defaults={centeredX:!0,centeredY:!0,duration:5E3,fade:0};var r={left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},s={position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxHeight:"none",maxWidth:"none",zIndex:-999999},q=function(c,b,e){this.options=a.extend({},a.fn.backstretch.defaults,e||{});this.images=a.isArray(b)?b:[b];a.each(this.images,function(){a("<img />")[0].src=this});this.isBody=c===document.body;this.$container=a(c);this.$root=this.isBody?l?a(d):a(document):this.$container;c=this.$container.children(".backstretch").first();this.$wrap=c.length?c:a(\'<div class="backstretch"></div>\').css(r).appendTo(this.$container);this.isBody||(c=this.$container.css("position"),b=this.$container.css("zIndex"),this.$container.css({position:"static"===c?"relative":c,zIndex:"auto"===b?0:b,background:"none"}),this.$wrap.css({zIndex:-999998}));this.$wrap.css({position:this.isBody&&l?"fixed":"absolute"});this.index=0;this.show(this.index);a(d).on("resize.backstretch",a.proxy(this.resize,this)).on("orientationchange.backstretch",a.proxy(function(){this.isBody&&0===d.pageYOffset&&(d.scrollTo(0,1),this.resize())},this))};q.prototype={resize:function(){try{var a={left:0,top:0},b=this.isBody?this.$root.width():this.$root.innerWidth(),e=b,g=this.isBody?d.innerHeight?d.innerHeight:this.$root.height():this.$root.innerHeight(),j=e/this.$img.data("ratio"),f;j>=g?(f=(j-g)/2,this.options.centeredY&&(a.top="-"+f+"px")):(j=g,e=j*this.$img.data("ratio"),f=(e-b)/2,this.options.centeredX&&(a.left="-"+f+"px"));this.$wrap.css({width:b,height:g}).find("img:not(.deleteable)").css({width:e,height:j}).css(a)}catch(h){}return this},show:function(c){if(!(Math.abs(c)>this.images.length-1)){var b=this,e=b.$wrap.find("img").addClass("deleteable"),d={relatedTarget:b.$container[0]};b.$container.trigger(a.Event("backstretch.before",d),[b,c]);this.index=c;clearInterval(b.interval);b.$img=a("<img />").css(s).bind("load",function(f){var h=this.width||a(f.target).width();f=this.height||a(f.target).height();a(this).data("ratio",h/f);a(this).fadeIn(b.options.speed||b.options.fade,function(){e.remove();b.paused||b.cycle();a(["after","show"]).each(function(){b.$container.trigger(a.Event("backstretch."+this,d),[b,c])})});b.resize()}).appendTo(b.$wrap);b.$img.attr("src",b.images[c]);return b}},next:function(){return this.show(this.index<this.images.length-1?this.index+1:0)},prev:function(){return this.show(0===this.index?this.images.length-1:this.index-1)},pause:function(){this.paused=!0;return this},resume:function(){this.paused=!1;this.next();return this},cycle:function(){1<this.images.length&&(clearInterval(this.interval),this.interval=setInterval(a.proxy(function(){this.paused||this.next()},this),this.options.duration));return this},destroy:function(c){a(d).off("resize.backstretch orientationchange.backstretch");clearInterval(this.interval);c||this.$wrap.remove();this.$container.removeData("backstretch")}};var l,f=navigator.userAgent,m=navigator.platform,e=f.match(/AppleWeb
1Kit\\/([0-9]+)/),e=!!e&&e[1],h=f.match(/Fennec\\/([0-9]+)/),h=!!h&&h[1],n=f.match(/Opera Mobi\\/([0-9]+)/),t=!!n&&n[1],k=f.match(/MSIE ([0-9]+)/),k=!!k&&k[1];l=!((-1<m.indexOf("iPhone")||-1<m.indexOf("iPad")||-1<m.indexOf("iPod"))&&e&&534>e||d.operamini&&"[object OperaMini]"==={}.toString.call(d.operamini)||n&&7458>t||-1<f.indexOf("Android")&&e&&533>e||h&&6>h||"palmGetResource"in d&&e&&534>e||-1<f.indexOf("MeeGo")&&-1<f.indexOf("NokiaBrowser/8.5.0")||k&&6>=k)})(jQuery,window);'},6441:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var i,s,a,r=o(4882);const n=(a=function(){$(".forget-form").validate({errorElement:"span",errorClass:"help-block",focusInvalid:!1,ignore:"",rules:{email:{required:!0,email:!0}},messages:{email:{required:$T("tEmailIsRequired")}},invalidHandler:function(e,t){},highlight:function(e){$(e).closest(".form-group").addClass("has-error")},success:function(e){e.closest(".form-group").removeClass("has-error"),e.remove()},errorPlacement:function(e,t){e.insertAfter(t.closest(".input-icon"))},submitHandler:function(e){forgotPassword()}}),$(".forget-form input").keypress((function(e){if(13==e.which)return $(".forget-form").validate().form()&&$(".forget-form").submit(),!1})),jQuery("#forget-password").click((function(){jQuery(".login-form").hide(),jQuery(".forget-form").show()})),jQuery("#back-btn").click((function(){jQuery(".login-form").show(),jQuery(".forget-form").hide()}))},{init:function(){var e=document.getElementById("google-id-token");e&&(i=h.SOCIAL_TYPE_GOOGLE_WEB_ONE_TAP,s=e.value),$(".login-form").validate({errorElement:"span",errorClass:"help-block",focusInvalid:!1,rules:{email:{email:!0,required:!0},password:{minlength:5,required:!0},remember:{required:!1}},messages:{email:{required:$T("tEmailIsRequired")},password:{required:$T("tPasswordIsRequired")}},invalidHandler:function(e,t){$(".alert-danger",$(".login-form")).show()},highlight:function(e){$(e).closest(".form-group").addClass("has-error")},success:function(e){e.closest(".form-group").removeClass("has-error"),e.remove()},errorPlacement:function(e,t){e.insertAfter(t.closest(".input-icon"))},submitHandler:function(e){loginProfile()}}),$(".login-form input").keypress((function(e){if(13==e.which)return $(".login-form").validate().form()&&$(".login-form").submit(),!1})),a(),$.validator.addMethod("passwordStrength",(function(e,t,o){return o.test(e)}),$T("tPasswordRegexInvalid")),$(".reset-password-form").validate({errorElement:"span",errorClass:"help-block",focusInvalid:!1,ignore:"",rules:{password:{required:!0,passwordStrength:/^(?=.*[0-9])(?=.*[a-zA-Z])(?=\S+$).{6,30}$/},r_password:{minlength:6,maxlength:30,required:!0,equalTo:"#reset_password_input"}},messages:{password:{required:$T("tThisFieldIsRequired")},r_password:{required:$T("tThisFieldIsRequired"),minlength:$.validator.format($T("tPleaseEnterAtLeast")),maxlength:$.validator.format($T("tPleaseEnterAtMost"))}},invalidHandler:function(e,t){},highlight:function(e){$(e).closest(".form-group").addClass("has-error")},success:function(e){e.closest(".form-group").removeClass("has-error"),e.remove()},errorPlacement:function(e,t){e.insertAfter(t.closest(".input-icon"))},submitHandler:function(e){resetPassword()}}),$(".reset-password-form input").keypress((function(e){if(13==e.which)return $(".reset-password-form").validate().form()&&$(".reset-password-form").submit(),!1})),jQuery("#reset-back-btn").click((function(){window.location=serverPath+"/login"})),jQuery("#resend-activation-email").click((function(){$(".alert",$("#resendActivationEmail")).hide(),$("#activationEmail").val(""),$("#sendActivationEmailButton").prop("disabled",!1),$("#resendActivationEmailModal").modal("show")})),$("#resendActivationEmail").validate({errorElement:"span",errorClass:"help-block",focusInvalid:!1,ignore:"",rules:{email:{required:!0,email:!0}},messages:{email:{required:$T("tEmailIsRequired")}},invalidHandler:function(e,t){},highlight:function(e){$(e).closest(".form-group").addClass("has-error")},success:function(e){e.closest(".form-group").removeClass("has-error"),e.remove()},submitHandler:function(e){sendActivationEmail()}}),$("#showSocialLogin").val()&&(initFacebook($("#facebookClient").val()),initGoogle()),$(".btn-facebook").click((function(){loginWithFacebook()})),$(".btn-google").click((function(){loginGoogle()}))},forgotPassInit:function(){a()}});var c=0,d=1,l=2;
1window.getLoginProfileData=function(){var e=[];return $(".login-form :input").each((function(){var t,o=$(this),i=o.attr("type"),s=o.attr("name");null==s||"text"!=i&&"checkbox"!=i&&"password"!=i||(t="checkbox"==i?o.is(":checked"):encodeParameter(o.val()),0==e.length?e.push(s+"="+t):e.push("&"+s+"="+t))})),e.push(r.default.getCaptchaToken()),e.join("")},window.loginProfile=function(){var e=getLoginProfileData();hasText(e)&&ajax.send(SignalsUrl.loginProfile,{method:"POST",params:{loginRedirect:gup("lr"),type:0},data:e,callback:loginProfileResponse})},window.loginProfileResponse=function(e,t){var o=e.error,i=e.message,s=e.content.code;if(!o)return loginSuccessResponse(e,t);if(160==s)return loggingWithTwoFactorAuthenticationListener(s,i,t);var a=$(".alert-danger",$(".login-form"));hasText(i)&&(a.html(i),a.show()),r.default.isCaptchaRequired(s)},window.loginSuccessResponse=function(e,t){if(isValidRedirectUrl(t.loginRedirect))window.location=t.loginRedirect;else{var o=e.content.redirectToDashboard,i=serverPath,s=$("#subscribeAccountOid");if(s.length>0){var a=s.attr("referer");createRedirectCookie(s.attr("value"),a),i=a}else o?i=httpServerPath+"/dashboard":i+="/add-account";window.location=i}},window.twoFactorAuthenticationOkEvent=function(e){if(hasText($("#qr2fa").val()))switch(showLoaderById("modalMessage",$T("tUpdating")+"...",!0),Metronic.blockUI({target:"#modalMessage",boxed:!0}),e){case l:loginGoogle(),Metronic.unblockUI("#modalMessage");break;case d:loginWithFacebook(["&code=",$("#qr2fa").val()].join("")),Metronic.unblockUI("#modalMessage");break;case c:ajax.send(SignalsUrl.loginProfile,{data:getLoginProfileData()+["&code=",$("#qr2fa").val()].join(""),params:"",callback:function(e,t){if(Metronic.unblockUI("#modalMessage"),!e.error)return Metronic.alert({container:$("#modalMessageBody"),message:e.message,place:"prepend",reset:!0,close:!1,type:"success",closeInSeconds:3,icon:""}),loginSuccessResponse(e,t);Metronic.alert({container:$("#modalMessageBody"),message:e.message,place:"prepend",reset:!0,close:!1,type:"danger",icon:""})}})}},window.loggingWithTwoFactorAuthenticationListener=function(e,t,o){$(".login-form .alert").length&&$(".login-form .alert").remove();var i={title:$T("t2FactorAuthentication"),message:'<div class="form-group"><p>'+t+'</p></div><div class="form-group"><input type="text" class="form-control input-small" value="" id="qr2fa" name="qr2fa" onkeypress="if(event.keyCode == 13){twoFactorAuthenticationOkEvent('+o.type+')}" /></div>',showCancelBtn:!1,width:"570",height:"200",okButtonMarkup:$('<button id="okBtn" type="button" class="btn blue">'),okOnClickEvent:"twoFactorAuthenticationOkEvent("+o.type+")",dontCloseModalOnOutsideClick:!0};buildModalMessageDialog(i)},window.getForgotPasswordData=function(){var e=[];return $(".forget-form :input").each((function(){var t=$(this),o=t.attr("type"),i=t.attr("name");if(null!=i&&"text"==o){var s=encodeParameter(t.val());0==e.length?e.push(i+"="+s):e.push("&"+i+"="+s)}})),e.join("")},window.forgotPassword=function(){var e=getForgotPasswordData();hasText(e)&&($(".forget-form [type=submit]").addClass("disabled"),ajax.send(SignalsUrl.forgotPassword,{method:"POST",data:e,callback:forgotPasswordResponse}))},window.forgotPasswordResponse=function(e){var t,o=e.error,i=e.message;$(".forget-form .alert").hide(),o?($(".forget-form [type=submit]").removeClass("disabled"),t=$(".alert-danger",$(".forget-form"))):t=$(".alert-success",$(".forget-form")),hasText(i)&&(t.html(i),t.show())},window.getResetPasswordData=function(){var e=[];return $(".reset-password-form :input").each((function(){var t=$(this),o=t.attr("name");if(void 0!==o){var i=encodeParameter(t.val()),s=0===e.length?o+"="+i:"&"+o+"="+i;e.push(s)}})),e.join("")},window.resetPassword=function(){var e=getResetPasswordData();hasText(e)&&ajax.send(SignalsUrl.resetPassword,{method:"POST",data:e,callback:resetPasswordResponse})},window.resetPasswordResponse=function(e){var t,o=e.error,i=e.message;$(".reset-password-form .alert-success, .reset-password-form .alert-danger").hide();let s=$('.reset-password-form .btn[type="submit"]');s.prop("disabled",!0),s.addClass("disabled"),t=o?$(".alert-danger",$(".reset-password-form")):$(".alert-success",$(".reset-password-form")),hasText(i)&&(t.html(i),t.show())},window.sendActivationEmail=function(){var e=["email=",$("#activationEmail").val()];
1ajax.send(SignalsUrl.reactivate,{data:e.join(""),callback:sendActivationEmailResponse})},window.sendActivationEmailResponse=function(e,t){var o,i=e.error,s=e.message,a=$(".alert-danger",$("#resendActivationEmail")),r=$(".alert-success",$("#resendActivationEmail"));i?(o=a,r.hide()):(o=r,$("#resendActivationStep1").hide(),$("#resendActivationStep2").show(),$("#resendActivationStep2").on("click","#resendVerifyCodeBtn",(function(){const e=$("#codeInput").val();var t=["code="+encodeParameter(e)];ajax.send(SignalsUrl.verifyRegistrationCode,{method:"POST",data:t,callback:e=>{!function(e){const{error:t,message:o}=e,i=$("#resendActivationEmailModal");$(".alert-success, .alert-danger",i).hide();const s=t?$(".alert-danger",i):$(".alert-success",i);s.html(o).show(),t||($("#resendVerifyCodeBtn",i).prop("disabled",!0),$("input",i).prop("disabled",!0))}(e)}})}))),hasText(s)&&(o.html(s),o.show()),$("#sendActivationEmailButton").prop("disabled",!i)},window.initFacebook=function(e){var t,o,i,s,a;window.fbAsyncInit=function(){FB.init({appId:e,xfbml:!0,version:"v2.4"})},t=document,o="script",i="facebook-jssdk",a=t.getElementsByTagName(o)[0],t.getElementById(i)||((s=t.createElement(o)).id=i,s.src="//connect.facebook.net/en_US/sdk.js",a.parentNode.insertBefore(s,a))},window.loginWithFacebook=function(e){null==e&&(e=""),FB.login((function(t){var o=t.authResponse;if(o){var i=["token=",encodeParameter(o.accessToken),"&type=",1].join("");hasText(e)&&(i+=e),ajax.send(SignalsUrl.registerSocial,{data:i,params:{type:1},callback:"registerSocialResponse"})}}),{scope:"public_profile,email"})};const h={SOCIAL_TYPE_FACEBOOK:1,SOCIAL_TYPE_GOOGLE:2};function u(){return{theme:"outline",size:"large",width:document.getElementById("googleSignInButtonDiv").offsetWidth}}window.initGoogle=function(){if(google&&google.accounts&&google.accounts.id){function e(e){s=e.credential,loginGoogle()}google.accounts.id.initialize({client_id:$("#googleClient").val(),callback:e}),google.accounts.id.renderButton(document.getElementById("googleSignInButtonDiv"),u()),window.addEventListener("resize",(()=>{const e=document.getElementById("googleSignInButtonDiv");e&&google&&google.accounts&&google.accounts.id&&(e.innerHTML="",google.accounts.id.renderButton(e,u()))}))}},window.loginGoogle=function(){i=h.SOCIAL_TYPE_GOOGLE;let e=["token=",encodeParameter(s),"&type=",h.SOCIAL_TYPE_GOOGLE];isNaN($("#qr2fa").val())||(e.push("&code="),e.push($("#qr2fa").val())),ajax.send(SignalsUrl.registerSocial,{data:e.join(""),params:{type:i},callback:"registerSocialResponse"})},window.registerSocialResponse=function(e,t){let o=e.error,i=e.message,s=e.content.code;if(o){if(160==s)return loggingWithTwoFactorAuthenticationListener(s,i,t);let e=$(".alert-danger",$(".login-form")),o={title:$T("tRegistration"),message:i,showCancelBtn:!1};Metronic.scrollTo(e,-200),buildModalMessageDialog(o)}else top.location.href="/dashboard"},window.isValidRedirectUrl=function(e){if(!hasText(e))return!1;try{e=$(e.split(/\/\/|\\\\/)).get(-1),e=new URL("//"+e,serverPath)}catch(e){return!1}return e.host.replace("www.","")==new URL(serverPath).host.replace("www.","")}},8978:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});
1class i{constructor(){this.codeInput=$("#codeInput"),this.errorBox=$("#errorBox"),this.successBox=$("#successBox"),this.step1=$("#validateResetPasswordStep1"),this.step2=$("#validateResetPasswordStep2").hide(),$("#validateResetPasswordStep2 input").prop("disabled",!1),this.hiddenCodeInput=$("#hiddenCodeInput"),this.hiddenIdInput=$("#hiddenIdInput");const e=new URLSearchParams(window.location.search);this.prefilledCode=e.get("code")||"",this.prefilledId=e.get("id")||"",this.initPrefill(),this.initEvents(),$(".validate-reset-password-code").validate({errorElement:"span",errorClass:"help-block",focusInvalid:!1,ignore:"",rules:{codeInput:{required:!0}},messages:{codeInput:{required:$T("tThisFieldIsRequired")}},highlight:function(e){$(e).closest(".input-icon").addClass("has-error")},unhighlight:function(e){$(e).closest(".input-icon").removeClass("has-error")},errorPlacement:function(e,t){e.insertAfter(t)}})}initPrefill=()=>{this.prefilledCode&&this.codeInput.val(this.prefilledCode)};initEvents=()=>{$("#verifyCodeBtn").on("click",this.onVerifyCodeClick)};onVerifyCodeClick=()=>{const e=this.codeInput.val().trim(),t=this.prefilledId;if(this.clearMessages(),e&&t){var o=[],i="code="+e+"&id="+t;o.push(i),ajax.send("/verify-reset-code.json",{method:"POST",data:o.join(""),callback:this.resetPasswordResponse})}};resetPasswordResponse=e=>{$(".forget-form");if($(".forget-form [type=submit]").removeClass("disabled"),e.error&&hasText(e.message)){const t=$(".alert-danger",$("#validateResetPasswordStep1"));t.html(e.message),t.show()}else{$("#verifyCodeBtn").prop("disabled",!0);$(".alert-danger",$("#validateResetPasswordStep1")).hide();const t=$(".alert-success",$("#validateResetPasswordStep1"));t.html(e.message),t.show(),setTimeout((()=>{this.hiddenCodeInput.val(this.codeInput.val()),this.hiddenIdInput.val(this.prefilledId),this.step1.hide(),this.step2.show()}),2e3)}};clearMessages=()=>{this.errorBox.hide(),this.successBox.hide()}}},4882:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});const i={getCaptchaToken:()=>`&captchaToken=${encodeURIComponent(grecaptcha.getResponse())}`,isCaptchaRequired(e){if(197===e)return $("#requireCaptcha").removeClass("hidden"),!0}};window.captchaManager=i;const s=i},2335:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});var i=o(6441),s=(o(7539),o(8978));class a{constructor(){new s.default;i.Z.init(),hasText(window.staticServerPath)&&$.backstretch([window.staticServerPath+"/assets/admin/pages/media/bg/1.jpg",window.staticServerPath+"/assets/admin/pages/media/bg/2.jpg",window.staticServerPath+"/assets/admin/pages/media/bg/3.jpg",window.staticServerPath+"/assets/admin/pages/media/bg/4.jpg"],{fade:1e3,duration:8e3})}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.