{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./helper/keyboard.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","KEYBOARD_LAYOUT","_shiftOff","_defineProperty","String","fromCharCode","_shiftOn","KEYBOARD_LAYOUT_MARK","_shiftOff2","getCharFromKeyboard","event","map","shiftKey","keyCode","toString","keys","includes","getCharFromKeyboardMark"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAA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AM,IACN,GAAM,IACN,IAAO,IACP,IAAO,IACP,IAAO,IACP,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,IAAO,IACP,IAAO,IACP,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,IAAO,IACP,GAAM,IACN,IAAO,IACP,IAAO,IACP,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,IAAO,IACP,IAAO,IACP,IAAO,MAIJ,SAASI,EAAoBC,GAClC,IAAMC,GAAyB,IAAnBD,EAAME,SACNX,EAAyB,QACzBA,EAA0B,SAChCY,EAAUH,EAAMG,QAAQC,SAAS,IACvC,OAAInC,OAAOoC,KAAKJ,GAAKK,SAASH,GACrBF,EAAIE,GAEN,KAGF,SAASI,EAAwBP,GACtC,IAAMC,GAAyB,IAAnBD,EAAME,SAChBL,EAA8B,QAC9BA,EAA+B,SAC3BM,EAAUH,EAAMG,QAAQC,SAAS,IACvC,OAAInC,OAAOoC,KAAKJ,GAAKK,SAASH,GACrBF,EAAIE,GAEN,O","file":"keyboard.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 513);\n","const KEYBOARD_LAYOUT = {\n \"shiftOff\": {\n \"192\": \"`\",\n \"49\": \"1\",\n \"50\": \"2\",\n \"51\": \"3\",\n \"52\": \"4\",\n \"53\": \"5\",\n \"54\": \"6\",\n \"55\": \"7\",\n \"56\": \"8\",\n \"57\": \"9\",\n \"48\": \"0\",\n \"189\": \"-\",\n \"187\": \"=\",\n \"81\": \"q\",\n \"87\": \"w\",\n \"69\": \"e\",\n \"82\": \"r\",\n \"84\": \"t\",\n \"89\": \"y\",\n \"85\": \"u\",\n \"73\": \"i\",\n \"79\": \"o\",\n \"80\": \"p\",\n \"219\": \"[\",\n \"221\": \"]\",\n \"65\": \"a\",\n \"83\": \"s\",\n \"68\": \"d\",\n \"70\": \"f\",\n \"71\": \"g\",\n \"72\": \"h\",\n \"74\": \"j\",\n \"75\": \"k\",\n \"76\": \"l\",\n \"186\": \";\",\n \"222\": \"'\",\n \"220\": \"\\\\\",\n \"220\": \"<\",\n \"90\": \"z\",\n \"88\": \"x\",\n \"67\": \"c\",\n \"86\": \"v\",\n \"66\": \"b\",\n \"78\": \"n\",\n \"77\": \"m\",\n \"188\": \",\",\n \"190\": \".\",\n \"191\": \"/\",\n \"20\": String.fromCharCode(2),\n \"17\": String.fromCharCode(5),\n \"37\": String.fromCharCode(8),\n \"9\": String.fromCharCode(9),\n \"46\": String.fromCharCode(12),\n \"13\": String.fromCharCode(13),\n \"45\": String.fromCharCode(14),\n \"27\": String.fromCharCode(15),\n \"36\": String.fromCharCode(17),\n \"44\": String.fromCharCode(18),\n \"112\": String.fromCharCode(22),\n \"113\": String.fromCharCode(23),\n \"114\": String.fromCharCode(24),\n \"115\": String.fromCharCode(25),\n \"116\": String.fromCharCode(26),\n \"117\": String.fromCharCode(27),\n \"118\": String.fromCharCode(28),\n \"119\": String.fromCharCode(29),\n \"120\": String.fromCharCode(30),\n \"121\": String.fromCharCode(31),\n \"122\": String.fromCharCode(16),\n \"123\": String.fromCharCode(21),\n },\n \"shiftOn\": {\n \"192\": \"~\",\n \"49\": \"!\",\n \"50\": \"@\",\n \"51\": \"#\",\n \"52\": \"$\",\n \"53\": \"%\",\n \"54\": \"^\",\n \"55\": \"&\",\n \"56\": \"*\",\n \"57\": \"(\",\n \"48\": \")\",\n \"189\": \"_\",\n \"187\": \"+\",\n \"81\": \"Q\",\n \"87\": \"W\",\n \"69\": \"E\",\n \"82\": \"R\",\n \"84\": \"T\",\n \"89\": \"Y\",\n \"85\": \"U\",\n \"73\": \"I\",\n \"79\": \"O\",\n \"80\": \"P\",\n \"219\": \"{\",\n \"221\": \"}\",\n \"65\": \"A\",\n \"83\": \"S\",\n \"68\": \"D\",\n \"70\": \"F\",\n \"71\": \"G\",\n \"72\": \"H\",\n \"74\": \"J\",\n \"75\": \"K\",\n \"76\": \"L\",\n \"186\": \":\",\n \"222\": \"\\\"\",\n \"220\": \"|\",\n \"220\": \">\",\n \"90\": \"Z\",\n \"88\": \"X\",\n \"67\": \"C\",\n \"86\": \"V\",\n \"66\": \"B\",\n \"78\": \"N\",\n \"77\": \"M\",\n \"188\": \"<\",\n \"190\": \">\",\n \"191\": \"?\",\n }\n};\n\nconst KEYBOARD_LAYOUT_MARK = {\n \"shiftOff\": {\n \"192\": \"`\",\n \"49\": \"1\",\n \"50\": \"2\",\n \"51\": \"3\",\n \"52\": \"4\",\n \"53\": \"5\",\n \"54\": \"6\",\n \"55\": \"7\",\n \"56\": \"8\",\n \"57\": \"9\",\n \"48\": \"0\",\n \"189\": \"-\",\n \"173\": \"-\",\n \"187\": \"=\",\n \"61\": \"=\",\n \"81\": \"q\",\n \"87\": \"w\",\n \"69\": \"e\",\n \"82\": \"r\",\n \"84\": \"t\",\n \"89\": \"y\",\n \"85\": \"u\",\n \"73\": \"i\",\n \"79\": \"o\",\n \"80\": \"p\",\n \"219\": \"[\",\n \"221\": \"]\",\n \"65\": \"a\",\n \"83\": \"s\",\n \"68\": \"d\",\n \"70\": \"f\",\n \"71\": \"g\",\n \"72\": \"h\",\n \"74\": \"j\",\n \"75\": \"k\",\n \"76\": \"l\",\n \"186\": \";\",\n \"59\": \";\",\n \"222\": \"'\",\n \"220\": \"\\\\\",\n \"90\": \"z\",\n \"88\": \"x\",\n \"67\": \"c\",\n \"86\": \"v\",\n \"66\": \"b\",\n \"78\": \"n\",\n \"77\": \"m\",\n \"188\": \",\",\n \"190\": \".\",\n \"191\": \"/\",\n \"20\": String.fromCharCode(191),\n \"20\": String.fromCharCode(2),\n \"17\": String.fromCharCode(5),\n \"37\": String.fromCharCode(8),\n \"9\": String.fromCharCode(9),\n \"46\": String.fromCharCode(12),\n \"13\": String.fromCharCode(13),\n \"45\": String.fromCharCode(14),\n \"27\": String.fromCharCode(15),\n \"36\": String.fromCharCode(17),\n \"44\": String.fromCharCode(18),\n \"112\": String.fromCharCode(22),\n \"113\": String.fromCharCode(23),\n \"114\": String.fromCharCode(24),\n \"115\": String.fromCharCode(25),\n \"116\": String.fromCharCode(26),\n \"117\": String.fromCharCode(27),\n \"118\": String.fromCharCode(28),\n \"119\": String.fromCharCode(29),\n \"120\": String.fromCharCode(30),\n \"121\": String.fromCharCode(31),\n \"122\": String.fromCharCode(16),\n \"123\": String.fromCharCode(21),\n },\n \"shiftOn\": {\n \"192\": \"~\",\n \"49\": \"!\",\n \"50\": \"@\",\n \"51\": \"#\",\n \"52\": \"$\",\n \"53\": \"%\",\n \"54\": \"^\",\n \"55\": \"&\",\n \"56\": \"*\",\n \"57\": \"(\",\n \"48\": \")\",\n \"189\": \"_\",\n \"173\": \"_\",\n \"187\": \"+\",\n \"61\": \"+\",\n \"81\": \"Q\",\n \"87\": \"W\",\n \"69\": \"E\",\n \"82\": \"R\",\n \"84\": \"T\",\n \"89\": \"Y\",\n \"85\": \"U\",\n \"73\": \"I\",\n \"79\": \"O\",\n \"80\": \"P\",\n \"219\": \"{\",\n \"221\": \"}\",\n \"65\": \"A\",\n \"83\": \"S\",\n \"68\": \"D\",\n \"70\": \"F\",\n \"71\": \"G\",\n \"72\": \"H\",\n \"74\": \"J\",\n \"75\": \"K\",\n \"76\": \"L\",\n \"186\": \":\",\n \"59\": \":\",\n \"222\": \"\\\"\",\n \"220\": \"|\",\n \"90\": \"Z\",\n \"88\": \"X\",\n \"67\": \"C\",\n \"86\": \"V\",\n \"66\": \"B\",\n \"78\": \"N\",\n \"77\": \"M\",\n \"188\": \"<\",\n \"190\": \">\",\n \"191\": \"?\",\n }\n};\n\nexport function getCharFromKeyboard(event) {\n const map = event.shiftKey === true\n ? KEYBOARD_LAYOUT[\"shiftOn\"]\n : KEYBOARD_LAYOUT[\"shiftOff\"];\n const keyCode = event.keyCode.toString(10);\n if (Object.keys(map).includes(keyCode)) {\n return map[keyCode];\n }\n return null;\n}\n\nexport function getCharFromKeyboardMark(event) {\n const map = event.shiftKey === true\n ? KEYBOARD_LAYOUT_MARK[\"shiftOn\"]\n : KEYBOARD_LAYOUT_MARK[\"shiftOff\"];\n const keyCode = event.keyCode.toString(10);\n if (Object.keys(map).includes(keyCode)) {\n return map[keyCode];\n }\n return null;\n}"],"sourceRoot":""}