tutoradvisor.ca Open in urlscan Pro
92.243.74.2  Public Scan

Submitted URL: http://tutoradvisor.ca/js/auth/login.js?v=7yeqagkmxr2xeczuzcyy
Effective URL: https://tutoradvisor.ca/js/auth/login.js?v=7yeqagkmxr2xeczuzcyy
Submission: On October 29 via api from US — Scanned from CA

Form analysis 0 forms found in the DOM

Text Content

!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=70)}({0:function(t,e,n){t.exports=n(5)},1:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r}));var o=function(t,e,n){document.querySelector("#".concat(e)).insertAdjacentHTML(n,t)},r=function(t,e,n){document.querySelector("".concat(e)).insertAdjacentHTML(n,t)}},19:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var r=(s=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),i=o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}));return[n].concat(i).concat([r]).join("\n")}var s;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var s=t[r];"number"==typeof s[0]&&o[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},2:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return c}));var o,r,i,s=n(1);function a(){var t=document.getElementsByTagName("body")[0],e=document.querySelector(".page-loader");t.classList.contains("loader-close")&&t.classList.remove("loader-close"),e.classList.contains("fade-out")&&e.classList.remove("fade-out"),t.classList.add("loader-open"),e.classList.add("fade-in")}function c(){var t=document.getElementsByTagName("body")[0],e=document.querySelector(".page-loader");t.classList.contains("loader-open")&&t.classList.remove("loader-open"),e.classList.contains("fade-in")&&e.classList.remove("fade-in"),t.classList.add("loader-close"),e.classList.add("fade-out")}(function(t){for(var e=document.getElementsByTagName("link"),n=0;n<e.length;n++)if(e[n].href.substr(-t.length)==t)return!0;return!1})("loader.css")||(o=document.getElementsByTagName("head")[0],(r=document.createElement("link")).rel="stylesheet",r.type="text/css",r.href="/css/components/loader.css",r.media="all",o.appendChild(r)),i="page-loader",document.getElementsByClassName(i).length>0||Object(s.b)('\n    <div class="page-loader">\n        <div class="spinner"><div></div><div></div></div>\n        <div class="txt">Please Wait</div>\n    </div>',"body","afterbegin")},20:function(t,e,n){var o,r,i={},s=(o=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=o.apply(this,arguments)),r}),a=function(t,e){return e?e.querySelector(t):document.querySelector(t)},c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var o=a.call(this,t,n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}e[t]=o}return e[t]}}(),f=null,u=0,l=[],p=n(21);function d(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=i[o.id];if(r){r.refs++;for(var s=0;s<r.parts.length;s++)r.parts[s](o.parts[s]);for(;s<o.parts.length;s++)r.parts.push(b(o.parts[s],e))}else{var a=[];for(s=0;s<o.parts.length;s++)a.push(b(o.parts[s],e));i[o.id]={id:o.id,refs:1,parts:a}}}}function h(t,e){for(var n=[],o={},r=0;r<t.length;r++){var i=t[r],s=e.base?i[0]+e.base:i[0],a={css:i[1],media:i[2],sourceMap:i[3]};o[s]?o[s].parts.push(a):n.push(o[s]={id:s,parts:[a]})}return n}function y(t,e){var n=c(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=l[l.length-1];if("top"===t.insertAt)o?o.nextSibling?n.insertBefore(e,o.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),l.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=c(t.insertAt.before,n);n.insertBefore(e,r)}}function v(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function m(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var o=function(){0;return n.nc}();o&&(t.attrs.nonce=o)}return g(e,t.attrs),y(t,e),e}function g(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function b(t,e){var n,o,r,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var s=u++;n=f||(f=m(e)),o=L.bind(null,n,s,!1),r=L.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),y(t,e),e}(e),o=j.bind(null,n,e),r=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(e),o=O.bind(null,n),r=function(){v(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=h(t,e);return d(n,e),function(t){for(var o=[],r=0;r<n.length;r++){var s=n[r];(a=i[s.id]).refs--,o.push(a)}t&&d(h(t,e),e);for(r=0;r<o.length;r++){var a;if(0===(a=o[r]).refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete i[a.id]}}}};var w,x=(w=[],function(t,e){return w[t]=e,w.filter(Boolean).join("\n")});function L(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=x(e,r);else{var i=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function O(t,e){var n=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function j(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=p(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([o],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}},21:function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,o=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var r,i=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(r=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:o+i.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},22:function(t,e,n){var o=n(23);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(20)(o,r);o.locals&&(t.exports=o.locals)},23:function(t,e,n){(t.exports=n(19)(!1)).push([t.i,".notifications-container{max-height:100vh;max-width:320px;pointer-events:none;position:fixed;width:100%;z-index:9999}.notifications-container.notify-is-x-center{left:50%;transform:translateX(-50%)}.notifications-container.notify-is-y-center{top:50%;transform:translateY(-50%)}.notifications-container.notify-is-center{left:50%;top:50%;transform:translate(-50%, -50%)}.notifications-container.notify-is-left{left:0}.notifications-container.notify-is-right{right:0}.notifications-container.notify-is-top{top:0}.notifications-container.notify-is-bottom{bottom:0}.notifications-container.notify-is-x-center.notify-is-top{top:var(--distance)}.notifications-container.notify-is-x-center.notify-is-bottom{bottom:var(--distance)}.notifications-container>*{pointer-events:auto}.notify{--notify-error: rgb(235, 87, 87);--notify-error-progress: rgb(192, 69, 69);--notify-success: rgb(111, 207, 151);--notify-success-progress: rgb(84, 170, 120);--notify-warning: rgb(242, 201, 76);--notify-warning-progress: rgb(196, 166, 79);--notify-info: rgb(81, 205, 243);--notify-info-progress: rgb(84, 169, 196);--notify-gray: rgb(51, 51, 51);--notify-gray-2: rgb(77, 77, 77);--notify-gray-3: rgb(130, 130, 130);--notify-white: rgb(255, 255, 255);--notify-white-2: rgba(255, 255, 255, 0.8);--notify-padding: 0.75rem;--notify-icon-size: 32px;--notify-close-icon-size: 16px;align-items:center;border-radius:6px;box-sizing:border-box;display:flex;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;overflow:hidden;padding:var(--notify-padding);position:relative;text-decoration:none;transition-timing-function:ease;width:100%}.notify__icon{align-items:center;display:flex;flex-shrink:0;height:var(--notify-icon-size);justify-content:center;margin-right:12px;width:var(--notify-icon-size)}.notify__close{align-items:center;cursor:pointer;display:flex;height:var(--notify-close-icon-size);justify-content:center;position:absolute;right:12px;top:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:var(--notify-close-icon-size)}.notify__close *{pointer-events:none}.notify__title{font-size:1rem;font-weight:600;padding-right:calc(var(--notify-padding) + var(--notify-close-icon-size))}.notify__text{font-size:0.875rem;margin-top:0.25rem}.notify--type-1{background-color:#fff;border:1px solid currentColor}.notify--type-1 .notify__close{color:var(--notify-gray-3)}.notify--type-1 .notify__title{color:var(--notify-gray)}.notify--type-1 .notify__text{color:var(--notify-gray-2)}.notify--type-2{color:var(--notify-gray)}.notify--type-3{color:var(--notify-white)}.notify--type-3 .notify__text{color:var(--notify-white-2)}.notify--error.notify--type-1{box-shadow:0 2px 26px rgba(215,0,0,0.1);color:var(--notify-error)}.notify--error.notify--type-2,.notify--error.notify--type-3{background-color:var(--notify-error)}.notify--warning.notify--type-1{box-shadow:0 2px 26px rgba(242,201,76,0.1);color:var(--notify-warning)}.notify--warning.notify--type-2,.notify--warning.notify--type-3{background-color:var(--notify-warning)}.notify--success.notify--type-1{box-shadow:0 2px 26px rgba(82,215,0,0.1);color:var(--notify-success)}.notify--success.notify--type-2,.notify--success.notify--type-3{background-color:var(--notify-success)}.notify--info.notify--type-1{box-shadow:0 2px 26px rgba(84,175,202,0.1);color:var(--notify-info)}.notify--info.notify--type-2,.notify--info.notify--type-3{background-color:var(--notify-info)}.notify--fade{opacity:0;will-change:opacity}.notify--fadeIn{opacity:1}.notify--slide{opacity:0;will-change:opacity, transform}.notify-is-center .notify--slide,.notify-is-y-center .notify--slide,.notify-is-x-center:not(.notify-is-bottom) .notify--slide{transform:translateY(-20px)}.notify-is-x-center.notify-is-bottom .notify--slide{transform:translateY(20px)}.notify-is-right .notify--slide{transform:translateX(calc(var(--distance) + 110%))}.notify-is-left .notify--slide{transform:translateX(calc((var(--distance) * -1) - 110%))}.notify-is-x-center:not(.notify-is-bottom) .notify--slideIn,.notify-is-center .notify--slideIn,.notify-is-y-center .notify--slideIn,.notify-is-x-center.notify-is-bottom .notify--slideIn{opacity:1;transform:translateY(0)}.notify-is-right .notify--slideIn,.notify-is-left .notify--slideIn{opacity:1;transform:translateX(0)}.notify-is-left .notify{left:var(--distance)}.notify-is-right .notify{right:var(--distance)}.notify-is-top .notify,.notify-is-center .notify,.notify-is-y-center .notify,.notify-is-x-center.notify-is-top .notify{margin-top:var(--gap)}.notify-is-bottom .notify,.notify-is-x-center:not(.notify-is-top) .notify{margin-bottom:var(--gap)}.notify.notify-autoclose{--progress-height: 5px;padding-bottom:calc(var(--notify-padding) + var(--progress-height))}.notify.notify-autoclose::before{-webkit-animation:progress calc(var(--timeout) * 1ms) linear forwards;animation:progress calc(var(--timeout) * 1ms) linear forwards;bottom:0;content:'';height:var(--progress-height);left:0;position:absolute;transform:scale3d(1, 1, 1);transform-origin:left;width:100%}@-webkit-keyframes progress{to{transform:scale3d(0, 1, 1)}}@keyframes progress{to{transform:scale3d(0, 1, 1)}}.notify.notify-autoclose.notify--error::before{background-color:var(--notify-error-progress)}.notify.notify-autoclose.notify--warning::before{background-color:var(--notify-warning-progress)}.notify.notify-autoclose.notify--success::before{background-color:var(--notify-success-progress)}.notify.notify-autoclose.notify--info::before{background-color:var(--notify-info-progress)}\n",""])},3:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var o=n(0),r=n.n(o),i=["body"];function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function u(t,e,n,o,r,i,s){try{var a=t[i](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(o,r)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(o,r){var i=t.apply(e,n);function s(t){u(i,o,r,s,a,"next",t)}function a(t){u(i,o,r,s,a,"throw",t)}s(void 0)}))}}function p(t){return d.apply(this,arguments)}function d(){return(d=l(r.a.mark((function t(e){var n,o,s,c,u,l,p,d=arguments;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=d.length>1&&void 0!==d[1]?d[1]:{},o=n.body,s=f(n,i),c={"Content-Type":"application/json"},u=a(a({method:o?"POST":"GET"},s),{},{headers:a(a({},c),s.headers)}),o&&(u.body=JSON.stringify(o)),t.prev=5,t.next=8,window.fetch(e,u);case 8:return p=t.sent,t.next=11,p.json();case 11:if(l=t.sent,!p.ok){t.next=14;break}return t.abrupt("return",{status:p.status,data:l,headers:p.headers,url:p.url});case 14:throw new Error(p.statusText);case 17:return t.prev=17,t.t0=t.catch(5),t.abrupt("return",Promise.reject(t.t0.message?t.t0.message:l));case 20:case"end":return t.stop()}}),t,null,[[5,17]])})))).apply(this,arguments)}p.get=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p(t,a(a({},e),{},{method:"GET"}))},p.post=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(t,a(a({},n),{},{body:e}))}},5:function(t,e,n){var o=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function a(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,n){return t[e]=n}}function c(t,e,n,o){var r=e&&e.prototype instanceof l?e:l,i=Object.create(r.prototype),s=new O(o||[]);return i._invoke=function(t,e,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return E()}for(n.method=r,n.arg=i;;){var s=n.delegate;if(s){var a=w(s,n);if(a){if(a===u)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var c=f(t,e,n);if("normal"===c.type){if(o=n.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o="completed",n.method="throw",n.arg=c.arg)}}}(t,n,s),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var u={};function l(){}function p(){}function d(){}var h={};a(h,r,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(j([])));v&&v!==e&&n.call(v,r)&&(h=v);var m=d.prototype=l.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var o;this._invoke=function(r,i){function s(){return new e((function(o,s){!function o(r,i,s,a){var c=f(t[r],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,s,a)}),(function(t){o("throw",t,s,a)})):e.resolve(l).then((function(t){u.value=t,s(u)}),(function(t){return o("throw",t,s,a)}))}a(c.arg)}(r,i,o,s)}))}return o=o?o.then(s,s):s()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,u;var r=o.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function j(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=d,a(m,"constructor",d),a(d,"constructor",p),p.displayName=a(d,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,a(t,s,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},g(b.prototype),a(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,o,r,i){void 0===i&&(i=Promise);var s=new b(c(e,n,o,r),i);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},g(m),a(m,s,"Generator"),a(m,r,(function(){return this})),a(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var o=e.pop();if(o in t)return n.value=o,n.done=!1,n}return n.done=!0,n}},t.values=j,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return s.type="throw",s.arg=t,e.next=n,o&&(e.method="next",e.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var a=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(a&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=t,s.arg=e,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var r=o.arg;L(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},t}(t.exports);try{regeneratorRuntime=o}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var o=function(t){t.wrapper.classList.add("notify--fade"),setTimeout((function(){t.wrapper.classList.add("notify--fadeIn")}),100)},r=function(t){t.wrapper.classList.remove("notify--fadeIn"),setTimeout((function(){t.wrapper.remove()}),t.speed)},i=function(t){t.wrapper.classList.add("notify--slide"),setTimeout((function(){t.wrapper.classList.add("notify--slideIn")}),100)},s=function(t){t.wrapper.classList.remove("notify--slideIn"),setTimeout((function(){t.wrapper.remove()}),t.speed)},a=function(){function t(t){var e=this;this.notifyOut=function(t){t(e)};var n=t.status,o=t.type,r=void 0===o?1:o,i=t.title,s=t.text,a=t.showIcon,c=void 0===a||a,f=t.customIcon,u=void 0===f?"":f,l=t.customClass,p=void 0===l?"":l,d=t.speed,h=void 0===d?500:d,y=t.effect,v=void 0===y?"fade":y,m=t.showCloseButton,g=void 0===m||m,b=t.autoclose,w=void 0!==b&&b,x=t.autotimeout,L=void 0===x?3e3:x,O=t.gap,j=void 0===O?20:O,E=t.distance,_=void 0===E?20:E,k=t.position,C=void 0===k?"right top":k,I=t.customWrapper,S=void 0===I?"":I;this.customWrapper=S,this.status=n,this.title=i,this.text=s,this.showIcon=c,this.customIcon=u,this.customClass=p,this.speed=h,this.effect=v,this.showCloseButton=g,this.autoclose=w,this.autotimeout=L,this.gap=j,this.distance=_,this.type=r,this.position=C,this.checkRequirements()?(this.setContainer(),this.setWrapper(),this.setPosition(),this.showIcon&&this.setIcon(),this.showCloseButton&&this.setCloseButton(),this.setContent(),this.container.prepend(this.wrapper),this.setEffect(),this.notifyIn(this.selectedNotifyInEffect),this.autoclose&&this.autoClose(),this.setObserver()):console.error("You must specify 'title' or 'text' at least.")}return t.prototype.checkRequirements=function(){return!(!this.title&&!this.text)},t.prototype.setContainer=function(){var t=document.querySelector(".notifications-container");t?this.container=t:(this.container=document.createElement("div"),this.container.classList.add("notifications-container"),document.body.appendChild(this.container)),this.container.style.setProperty("--distance",this.distance+"px")},t.prototype.setPosition=function(){var t="notify-is-";"center"===this.position?this.container.classList.add(t+"center"):this.container.classList.remove(t+"center"),this.position.includes("left")?this.container.classList.add(t+"left"):this.container.classList.remove(t+"left"),this.position.includes("right")?this.container.classList.add(t+"right"):this.container.classList.remove(t+"right"),this.position.includes("x-center")?this.container.classList.add(t+"x-center"):this.container.classList.remove(t+"x-center"),this.position.includes("top")?this.container.classList.add(t+"top"):this.container.classList.remove(t+"top"),this.position.includes("bottom")?this.container.classList.add(t+"bottom"):this.container.classList.remove(t+"bottom"),this.position.includes("y-center")?this.container.classList.add(t+"y-center"):this.container.classList.remove(t+"y-center")},t.prototype.setCloseButton=function(){var t=this,e=document.createElement("div");e.classList.add("notify__close"),e.innerHTML='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m8.94 8 4.2-4.193a.67.67 0 0 0-.947-.947L8 7.06l-4.193-4.2a.67.67 0 1 0-.947.947L7.06 8l-4.2 4.193a.667.667 0 0 0 .217 1.093.666.666 0 0 0 .73-.146L8 8.94l4.193 4.2a.665.665 0 0 0 .947 0 .665.665 0 0 0 0-.947L8.94 8Z" fill="currentColor"/></svg>',this.wrapper.appendChild(e),e.addEventListener("click",(function(){t.close()}))},t.prototype.setWrapper=function(){var t;this.customWrapper?this.wrapper=(t=this.customWrapper,(new DOMParser).parseFromString(t,"text/html").body.childNodes[0]):this.wrapper=document.createElement("div"),this.wrapper.style.setProperty("--gap",this.gap+"px"),this.wrapper.style.transitionDuration=this.speed+"ms",this.wrapper.classList.add("notify"),this.wrapper.classList.add("notify--type-"+this.type),this.wrapper.classList.add("notify--"+this.status),this.autoclose&&this.wrapper.style.setProperty("--timeout",""+(this.autotimeout+this.speed)),this.autoclose&&this.wrapper.classList.add("notify-autoclose"),this.customClass&&this.wrapper.classList.add(this.customClass)},t.prototype.setContent=function(){var t,e,n=document.createElement("div");n.classList.add("notify-content"),this.title&&((t=document.createElement("div")).classList.add("notify__title"),t.textContent=this.title,this.showCloseButton||(t.style.paddingRight="0")),this.text&&((e=document.createElement("div")).classList.add("notify__text"),e.innerHTML=this.text.trim(),this.title||(e.style.marginTop="0")),this.wrapper.appendChild(n),this.title&&n.appendChild(t),this.text&&n.appendChild(e)},t.prototype.setIcon=function(){var t=document.createElement("div");t.classList.add("notify__icon"),t.innerHTML=this.customIcon||function(t){switch(t){case"success":return'<svg height="32" width="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="m19.627 11.72-5.72 5.733-2.2-2.2a1.335 1.335 0 0 0-2.255.381 1.334 1.334 0 0 0 .375 1.5l3.133 3.146a1.333 1.333 0 0 0 1.88 0l6.667-6.667a1.334 1.334 0 1 0-1.88-1.893ZM16 2.667a13.333 13.333 0 1 0 0 26.666 13.333 13.333 0 0 0 0-26.666Zm0 24a10.666 10.666 0 1 1 0-21.333 10.666 10.666 0 0 1 0 21.333Z"/></svg>';case"warning":return'<svg height="32" width="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M13.666 15A1.333 1.333 0 0 0 15 13.667V8.334a1.333 1.333 0 0 0-2.665 0v5.333A1.333 1.333 0 0 0 13.666 15Zm-.507 5.227c.325.134.69.134 1.014 0 .164-.064.314-.159.44-.28a1.56 1.56 0 0 0 .28-.44c.075-.158.111-.332.106-.507a1.333 1.333 0 0 0-.386-.946 1.53 1.53 0 0 0-.44-.28A1.333 1.333 0 0 0 12.334 19a1.4 1.4 0 0 0 .386.947c.127.121.277.216.44.28ZM13.666 27a13.333 13.333 0 1 0 0-26.667 13.333 13.333 0 0 0 0 26.667Zm0-24a10.667 10.667 0 1 1 0 21.333 10.667 10.667 0 0 1 0-21.333Z"/></svg>';case"error":return'<svg height="32" width="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M16 2.667a13.333 13.333 0 1 0 0 26.666 13.333 13.333 0 0 0 0-26.666Zm0 24A10.667 10.667 0 0 1 5.333 16a10.56 10.56 0 0 1 2.254-6.533l14.946 14.946A10.56 10.56 0 0 1 16 26.667Zm8.413-4.134L9.467 7.587A10.56 10.56 0 0 1 16 5.333 10.667 10.667 0 0 1 26.667 16a10.56 10.56 0 0 1-2.254 6.533Z"/></svg>';case"info":return'<svg height="32" width="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M16 14.667A1.333 1.333 0 0 0 14.667 16v5.333a1.333 1.333 0 1 0 2.666 0V16A1.333 1.333 0 0 0 16 14.667Zm.507-5.227a1.333 1.333 0 0 0-1.014 0 1.334 1.334 0 0 0-.44.28c-.117.13-.212.278-.28.44a1.12 1.12 0 0 0-.106.507 1.333 1.333 0 0 0 .386.946c.13.118.279.213.44.28a1.333 1.333 0 0 0 1.84-1.226 1.4 1.4 0 0 0-.386-.947 1.334 1.334 0 0 0-.44-.28ZM16 2.667a13.333 13.333 0 1 0 0 26.666 13.333 13.333 0 0 0 0-26.666Zm0 24a10.666 10.666 0 1 1 0-21.333 10.666 10.666 0 0 1 0 21.333Z"/></svg>'}}(this.status),(this.status||this.customIcon)&&this.wrapper.appendChild(t)},t.prototype.setObserver=function(){var t=this,e=new IntersectionObserver((function(e){e[0].intersectionRatio<=0&&t.close()}),{threshold:0});setTimeout((function(){e.observe(t.wrapper)}),this.speed)},t.prototype.notifyIn=function(t){t(this)},t.prototype.autoClose=function(){var t=this;setTimeout((function(){t.close()}),this.autotimeout+this.speed)},t.prototype.close=function(){this.notifyOut(this.selectedNotifyOutEffect)},t.prototype.setEffect=function(){switch(this.effect){case"fade":this.selectedNotifyInEffect=o,this.selectedNotifyOutEffect=r;break;case"slide":this.selectedNotifyInEffect=i,this.selectedNotifyOutEffect=s;break;default:this.selectedNotifyInEffect=o,this.selectedNotifyOutEffect=r}},t}(),c=(n(22),function(t,e){new a({status:t,title:"success"===t?"Success":"Failed",text:e,effect:"slide",speed:300,autoclose:!0,autotimeout:3e3,gap:20,distance:20,type:1,position:"right top"})});function f(t,e){c(t,e)}},70:function(t,e,n){t.exports=n(71)},71:function(t,e,n){"use strict";n.r(e);var o=n(0),r=n.n(o),i=n(3),s=n(2),a=n(6);function c(t,e,n,o,r,i,s){try{var a=t[i](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(o,r)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(o,r){var i=t.apply(e,n);function s(t){c(i,o,r,s,a,"next",t)}function a(t){c(i,o,r,s,a,"throw",t)}s(void 0)}))}}function u(){return(u=f(r.a.mark((function t(){var e,n,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=Object.freeze({entered_login:document.getElementById("navbar_username").value,entered_password:document.getElementById("navbar_password").value}),t.next=4,i.a.post("/json/post/ceklogin",e);case 4:n=t.sent,(o=n.data.message)?"redirect_index"!==o?(Object(s.a)(),Object(a.a)("error",o)):window.location="/rules":(Object(s.a)(),Object(a.a)("error",JSON.stringify(n.data))),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),Object(s.a)(),Object(a.a)("error",t.t0.message);case 13:case"end":return t.stop()}}),t,null,[[0,9]])})))).apply(this,arguments)}$("#submitlogin, #loginBtnHeader").click((function(t){t.preventDefault(),Object(s.b)(),function(){u.apply(this,arguments)}()}))}});