{"version":3,"file":"Login.bundle.js","mappings":"6lBACA,IAAIA,EAAsB,CCA1BA,EAAwB,CAACC,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDH,EAAwB,CAACS,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFV,EAAyBC,IACH,oBAAXa,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeL,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeL,EAAS,aAAc,CAAEe,OAAO,GAAO,G,oFCLvD,MAAMC,EACT,gCAAOC,GAEEC,OAAOC,IACRC,QAAQC,MAAM,mCACdH,OAAOI,SAASC,KAAO,aAG3B,IACI,IAAIL,OAAOM,kBAAkB,OACjC,CACA,MAAOC,GACHL,QAAQC,MAAM,iCACdH,OAAOI,SAASC,KAAO,WAC3B,CACIG,YAEKA,UAAUC,gBACXP,QAAQC,MAAM,mCACdH,OAAOI,SAASC,KAAO,aAGnC,ECDG,SAASK,EAAoBH,GAC/BN,EAAE,sBAA8BU,KAAK,GAC1C,CAEO,SAASC,EAAaL,GAC7B,CAEO,SAASM,EAAYN,GACvBN,EAAE,sBAA8BU,KAAK,GAC1C,CA1BAX,OAAOc,OAAS,KACZhB,EAA4BC,2BAA2B,EAI3DE,GAAE,KACGA,EAAE,aAAoBc,KAAK,eAAgB,YAG/Bd,EAAE,UAAUe,KAAK,aAEzBC,QAAQC,OAAOjB,EAAE,4EACtBA,EAAE,+CACGkB,IAAIlB,EAAE,+DAA+DkB,MAAM,I","sources":["webpack://admin.mobi/webpack/bootstrap","webpack://admin.mobi/webpack/runtime/define property getters","webpack://admin.mobi/webpack/runtime/hasOwnProperty shorthand","webpack://admin.mobi/webpack/runtime/make namespace object","webpack://admin.mobi/./Bundler/Helpers/BrowserCompatibilityChecker.js","webpack://admin.mobi/./Bundler/Login.ts"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export class BrowserCompatibilityChecker {\n static checkBrowserCompatibility() {\n //Check if browser supports jquery\n if (!window.$) {\n console.error(\"Browser does not support jquery\");\n window.location.href = \"/browser/\";\n }\n //Check if browser supports gzip\n try {\n new window.CompressionStream(\"gzip\");\n }\n catch (e) {\n console.error(\"Browser does not support gzip\");\n window.location.href = \"/browser/\";\n }\n if (navigator) {\n //Check if cookies are enabled\n if (!navigator.cookieEnabled) {\n console.error(\"Browser does not accept cookies\");\n window.location.href = \"/browser/\";\n }\n }\n }\n}\n//# sourceMappingURL=BrowserCompatibilityChecker.js.map","import { BrowserCompatibilityChecker as BrowserCompatibilityChecker } from \"./Helpers/BrowserCompatibilityChecker\";\r\n\r\n//Use Vanilla JS to execute function even when JQuery is not available\r\n//CAUTION: Other window.onloads will be overwritten.\r\nwindow.onload = () => {\r\n BrowserCompatibilityChecker.checkBrowserCompatibility();\r\n}\r\n\r\n//document ready\r\n$(() => {\r\n ($('#UserName')as any).attr('autocomplete', 'username');\r\n\r\n //RequestVerificationToken für Formulare zufügen\r\n const form = $(\"#Login\").data(\"kendoForm\");\r\n\r\n form.wrapper.append($(\"\"));\r\n $(`#Login input[name=__BeyondAntiforgeryToken]`)\r\n .val($(\"#__AjaxAntiForgeryForm input[name=__BeyondAntiforgeryToken]\").val());\r\n\r\n});\r\n\r\nexport function onFormValidateField(e) {\r\n ($(\"#validation-result\") as any).html(\"\");\r\n}\r\n\r\nexport function onFormSubmit(e) {\r\n}\r\n\r\nexport function onFormClear(e) {\r\n ($(\"#validation-result\") as any).html(\"\");\r\n}"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","BrowserCompatibilityChecker","checkBrowserCompatibility","window","$","console","error","location","href","CompressionStream","e","navigator","cookieEnabled","onFormValidateField","html","onFormSubmit","onFormClear","onload","attr","data","wrapper","append","val"],"sourceRoot":""}