<!doctype html>
<html lang="ko">

<head>
  <title>문의하기</title>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, shrink-to-fit=no, user-scalable=no">
  <meta name="theme-color" content="#ffffff">
  <meta property="og:type" content="website">
  <link rel="stylesheet" type="text/css" href="BackendQuestionStyle.css">
</head>

<body>
  <div class="lightbox">
    <div id="header">
      <h1>1:1문의하기</h1>
      </span>
    </div>
    <div class="container">
      <div id="pop-layer" class="pop-layer" style="display: none;"></div>
      <div class="tab-menu">
        <a class="active item" onclick="changeIndexScene()">문의하기</a>
        <a class="item" onclick="changeListScene()">문의내역</a>
      </div>
      <div class="contents form">
        <div class="type">
          <label>문의 유형</label>
          <select id="selectType" onchange="handleSelect()">
            <option selected>선택해주세요.</option>
            <option>계정</option>
            <option>결제</option>
            <option>복구</option>
            <option>게임문의</option>
            <option>신고</option>
            <option>설치/실행</option>
            <option>버그</option>
            <option>이벤트</option>
            <option>건의사항</option>
            <option>기타</option>
          </select>
        </div>
        <div class="texttitle">
          <label>제목</label>
          <input type="text" id="title">
        </div>
        <div class="text">
          <label>내용</label>
          <textarea type="text" id="content"></textarea>
        </div>
        <div class="upload">
          <label>첨부파일</label><span id="fileSize">0/5MB</span>
          <button id="input-file-deta" onclick="clickInputFile()">+첨부파일추가</button>
          <input type="file" id="input-file" onchange="fileChange(this.files)" style="display:none" } />

          <div id="upload-file" class="upload-file">
          </div>
          <p>첨부 파일은 최대 3개, 총 5MB까지 등록 가능하며 gif, jpg, png, doc, txt, zip파일 형식만 가능합니다.</p>
        </div>
        <div>
          <button class="main-btn" onclick="setGameId()">문의등록</button>
          <p id="is-loading" style="color:blue"></p>
        </div>
      </div>
    </div>
    <script type="text/javascript">
      const _0x383a = ['OpenGallery', '183700eQsLOW', 'messageHandlers', 'Content-Type', 'fileLocation', 'readyState', 'send', 'fileSize', 'red', 'split', 'title', 'type', 'onreadystatechange', 'content', '<p>첨부파일은\x20최대\x203개까지\x20등록\x20가능합니다.</p><div\x20onclick=\x22handleLayer(false)\x22>확인</div>', 'toFixed', 'pop-layer', 'iphone', 'stringify', 'color', 'responseType', 'readAsArrayBuffer', 'webkit', 'pdf', '1314950ACsjgL', '</p><button\x20onclick=\x22handleDeleteFile(this)\x22\x20id=\x22', 'blob', 'is-loading', 'ipad', 'selectType', 'consoleMessage', 'innerHTML', 'application/json', 'none', '1049eAwrZb', 'GET', '/5MB', 'ipod', 'POST', 'gif', 'doc', 'other', 'txt', 'response', '<p>내용을\x20입력해주세요.</p><div\x20onclick=\x22handleLayer(false)\x22>확인</div>', 'value', 'jpg', 'upload-file', 'error', '7022owYLNT', 'result', 'length', '136QVijdC', 'options', 'status', 'zip', 'setRequestHeader', 'postMessage', '등록에\x20실패했습니다.', 'client_app_id', 'android', 'blue', 'numbers', 'display', 'imageURL1', '등록중입니다.\x20잠시\x20기다려주세요.', '<p>제목을\x20입력해주세요.</p><div\x20onclick=\x22handleLayer(false)\x22>확인</div>', 'WebView', 'ChangeListScene', '20hdgEVY', 'extension', 'slice', 'includes', '<p>첨부할\x20수\x20없는\x20파일\x20형식입니다.</p><div\x20onclick=\x22handleLayer(false)\x22>확인</div>', 'input-file', 'GetGameId', '<p>첨부파일은\x20최대\x205MB까지\x20등록\x20가능합니다.</p><div\x20onclick=\x22handleLayer(false)\x22>확인</div>', 'name', 'iosMessage', 'indexOf', '\x22>X</button></div>', '357041dNWJYG', 'toLowerCase', '/image', 'png', 'files', 'DONE', 'https://api.thebackend.io', 'getElementById', 'append', 'parse', 'imageURL3', 'forEach', 'style', 'size', 'ios', 'CloseWebView', 'ChangeIndexScene', 'map', 'open', 'innerText', '601473HfsbEX', 'userAgent', '435458UHlZXa', 'onload', 'operation/question', '선택해주세요.']; const _0x5e4842 = _0x436d; (function (_0x2718fe, _0x55fca3) { const _0x3d1fb7 = _0x436d; while (!![]) { try { const _0x4f5b02 = parseInt(_0x3d1fb7(0x18a)) + parseInt(_0x3d1fb7(0x1c4)) * parseInt(_0x3d1fb7(0x1c1)) + parseInt(_0x3d1fb7(0x191)) + -parseInt(_0x3d1fb7(0x176)) + parseInt(_0x3d1fb7(0x18c)) + -parseInt(_0x3d1fb7(0x1b2)) * parseInt(_0x3d1fb7(0x16a)) + -parseInt(_0x3d1fb7(0x1a8)); if (_0x4f5b02 === _0x55fca3) break; else _0x2718fe['push'](_0x2718fe['shift']()); } catch (_0x4631da) { _0x2718fe['push'](_0x2718fe['shift']()); } } }(_0x383a, 0x75d5c)); const handleLayer = (_0xc0c79, _0x4fda53) => { const _0x29a640 = _0x436d, _0x2d0996 = document['getElementById'](_0x29a640(0x1a0)); if (_0xc0c79) { const { errType: _0x50e1f9 } = _0x4fda53; let _0xf18dce = ''; switch (_0x50e1f9) { case _0x29a640(0x19b): _0xf18dce = '<p>문의\x20유형을\x20선택해주세요.</p><div\x20onclick=\x22handleLayer(false)\x22>확인</div>'; break; case _0x29a640(0x19a): _0xf18dce = _0x29a640(0x167); break; case _0x29a640(0x19d): _0xf18dce = _0x29a640(0x1bc); break; case _0x29a640(0x1ce): _0xf18dce = _0x29a640(0x19e); break; case 'extension': _0xf18dce = _0x29a640(0x16e); break; case _0x29a640(0x197): _0xf18dce = _0x29a640(0x171); break; case 'success': _0xf18dce = '<p\x20class=\x22p-header\x22>문의\x20등록\x20완료</p><p>답변이\x20완료되면\x20문의내역에서<br>답변을\x20확인하실\x20수\x20있습니다.</p><div\x20onclick=\x22closePanel()\x22>확인</div>'; break; default: break; }_0x2d0996[_0x29a640(0x182)]['display'] = 'block', _0x2d0996['innerHTML'] = _0xf18dce; } else _0x2d0996[_0x29a640(0x182)][_0x29a640(0x1cf)] = _0x29a640(0x1b1); }; function clickInputFile() { const _0xadf64c = _0x436d; if (files && files[_0xadf64c(0x1c3)] === 0x3) { handleLayer(!![], { 'errType': _0xadf64c(0x1ce) }); return; } else document['getElementById'](_0xadf64c(0x16f))['click'](); } function handleSelect(_0x2c64fd, _0x22772b) { const _0x6f45d6 = _0x436d, _0xd55725 = document[_0x6f45d6(0x17d)]('selectType'), _0x5eafe8 = _0xd55725[_0x6f45d6(0x1c5)][_0xd55725['selectedIndex']][_0x6f45d6(0x1bd)]; _0xd55725['value'] = _0x5eafe8; } let fileCount = 0x0, files = [], totalSize = 0x0, transSize = ''; function fileChange(_0x314c6f) { const _0x894a32 = _0x436d; var _0x43860f = _0x314c6f[0x0], _0x510317 = _0x43860f[_0x894a32(0x172)], _0x446081 = _0x510317[_0x894a32(0x199)]('.'), _0xf128c6 = _0x446081[_0x446081['length'] - 0x1], _0x251623 = '', _0x1d3ed = (_0x43860f[_0x894a32(0x183)] / 0xf4240)['toFixed'](0x2); const _0x1a897a = [_0x894a32(0x1b7), 'jpg', _0x894a32(0x179), _0x894a32(0x1b8), 'txt', _0x894a32(0x1a7), 'zip', 'jpeg']; if (!_0x1a897a[_0x894a32(0x16d)](_0xf128c6)) { handleLayer(!![], { 'errType': _0x894a32(0x16b) }); return; } totalSize = Number(totalSize) + Number(_0x1d3ed); if (totalSize > 0x5) { handleLayer(!![], { 'errType': _0x894a32(0x197) }), totalSize = Number(totalSize) - Number(_0x1d3ed); return; } let _0x411ddd = new FileReader(); _0x411ddd[_0x894a32(0x18d)] = function (_0x5bf633) { const _0x39379f = _0x894a32; let _0x391dda = new Blob([new Uint8Array(_0x5bf633['target'][_0x39379f(0x1c2)])], { 'type': _0x43860f[_0x39379f(0x19b)] }); files = [...files, { 'path': _0x251623, 'title': _0x510317, 'size': _0x1d3ed, 'extension': _0xf128c6, 'blob': _0x391dda }], calcSize(totalSize), showFileAttach(); }, _0x411ddd[_0x894a32(0x1a5)](_0x43860f); } const calcSize = _0x52621c => { const _0x270121 = _0x436d, _0x293627 = document[_0x270121(0x17d)]('fileSize'); _0x293627[_0x270121(0x189)] = Number(_0x52621c)[_0x270121(0x19f)](0x2) + _0x270121(0x1b4); }, getFilesInfo = (_0x3615e0, _0x3b3ce1, _0x51caa1, _0x2c326c) => { const _0x2a2474 = _0x436d, _0x448b91 = [_0x2a2474(0x1b7), _0x2a2474(0x1be), _0x2a2474(0x179), _0x2a2474(0x1b8), _0x2a2474(0x1ba), 'pdf', _0x2a2474(0x1c7)]; if (!_0x448b91[_0x2a2474(0x16d)](_0x2c326c)) { handleLayer(!![], { 'errType': _0x2a2474(0x16b) }); return; } totalSize = Number(totalSize) + Number(_0x51caa1); if (totalSize > 0x5) { handleLayer(!![], { 'errType': _0x2a2474(0x197) }), totalSize = Number(totalSize) - Number(_0x51caa1); return; } var _0x1a4252 = new XMLHttpRequest(); _0x1a4252[_0x2a2474(0x188)](_0x2a2474(0x1b3), _0x3615e0, !![]), _0x1a4252[_0x2a2474(0x1a4)] = _0x2a2474(0x1aa), _0x1a4252[_0x2a2474(0x18d)] = function () { const _0x90c46c = _0x2a2474; if (_0x1a4252[_0x90c46c(0x1c6)] == 0xc8 || _0x1a4252[_0x90c46c(0x1c6)] == 0x0) { var _0x24f858 = new Blob(); _0x24f858 = _0x1a4252[_0x90c46c(0x1bb)], _0x3b3ce1 && (files = [...files, { 'path': _0x3615e0, 'title': _0x3b3ce1, 'size': _0x51caa1, 'extension': _0x2c326c, 'blob': _0x24f858 }]), calcSize(totalSize), showFileAttach(); } }, _0x1a4252[_0x2a2474(0x196)](); }, baseUrl = _0x5e4842(0x17c), endPoint = _0x5e4842(0x18e); var gameId, gamerInDate; function getGameId() { const _0x2c53cc = _0x5e4842; if (checkPlatform() == _0x2c53cc(0x1cc)) return window['WebView']['GetGameId'](); else { if (checkPlatform() == _0x2c53cc(0x184)) return; else return _0x2c53cc(0x1c0); } } function handlePostQuestion(_0x19e843) { const _0x352060 = _0x5e4842, _0x412881 = new XMLHttpRequest(); _0x412881[_0x352060(0x19c)] = function () { const _0x5532a9 = _0x352060; _0x412881[_0x5532a9(0x195)] === _0x412881[_0x5532a9(0x17b)] && (setLoadingDialog(0x0), _0x412881['status'] === 0xc8 || _0x412881['status'] === 0xc9 || _0x412881[_0x5532a9(0x1c6)] === 0xcc ? handleLayer(!![], { 'errType': 'success' }) : setLoadingDialog(0x2)); }, _0x412881[_0x352060(0x188)](_0x352060(0x1b6), baseUrl + '/' + endPoint + '/' + gamerInDate), _0x412881[_0x352060(0x1c8)](_0x352060(0x1cb), gameId), _0x412881[_0x352060(0x1c8)](_0x352060(0x193), _0x352060(0x1b0)), _0x412881['send'](JSON[_0x352060(0x1a2)](_0x19e843)); } function handleFileAttachAjax(_0x17b90b, _0x1462bd) { const _0x3f1441 = _0x5e4842, _0x180b2f = new XMLHttpRequest(); _0x180b2f[_0x3f1441(0x19c)] = function () { const _0x1af5cc = _0x3f1441; _0x180b2f[_0x1af5cc(0x195)] === _0x180b2f['DONE'] && (_0x180b2f['status'] === 0xc8 || _0x180b2f[_0x1af5cc(0x1c6)] === 0xc9 ? (res = JSON[_0x1af5cc(0x17f)](_0x180b2f['response']), res[_0x1af5cc(0x194)][_0x1af5cc(0x181)]((_0x2d6a3c, _0x328060) => { const _0x10b7c8 = _0x1af5cc; if (_0x328060 == 0x0) _0x17b90b[_0x10b7c8(0x1d0)] = _0x2d6a3c; if (_0x328060 == 0x1) _0x17b90b['imageURL2'] = _0x2d6a3c; if (_0x328060 == 0x2) _0x17b90b[_0x10b7c8(0x180)] = _0x2d6a3c; }), handlePostQuestion(_0x17b90b)) : setLoadingDialog(0x2)); }, _0x180b2f['open'](_0x3f1441(0x1b6), baseUrl + '/' + endPoint + '/' + gamerInDate + _0x3f1441(0x178)), _0x180b2f['setRequestHeader'](_0x3f1441(0x1cb), gameId); var _0x142b1b = new FormData(); _0x1462bd['forEach']((_0x20edfe, _0x32fd81) => { const _0x1f2106 = _0x3f1441; _0x142b1b[_0x1f2106(0x17e)](_0x1f2106(0x17a), _0x20edfe[_0x1f2106(0x1aa)], _0x20edfe['fileName']); }), _0x180b2f[_0x3f1441(0x196)](_0x142b1b); } function handleDeleteFile(_0x4b2d1c) { const _0x3ba08d = _0x5e4842, _0x3ea48f = document['getElementById'](_0x3ba08d(0x1bf)); totalSize = Number(totalSize - files[_0x4b2d1c['id']][_0x3ba08d(0x183)])['toFixed'](0x2), calcSize(totalSize); let _0x434e5b = []; if (files && files[_0x3ba08d(0x1c3)] > 0x1) { for (let _0x158059 = 0x0; _0x158059 < files[_0x3ba08d(0x1c3)]; _0x158059++) { String(_0x158059) !== String(_0x4b2d1c['id']) && (_0x434e5b = [..._0x434e5b, files[_0x158059]]); } files = _0x434e5b, showFileAttach(); return; } files = [], showFileAttach(); } function showFileAttach() { const _0x1f99e2 = _0x5e4842, _0x5157bd = document[_0x1f99e2(0x17d)](_0x1f99e2(0x1bf)); let _0x14a351 = ''; files[_0x1f99e2(0x1c3)] ? (files[_0x1f99e2(0x181)]((_0x20d10b, _0x3d20e0) => { const _0xaafe46 = _0x1f99e2; _0x14a351 += '<div\x20class=\x22attached-File\x22\x20id=\x22' + _0x3d20e0 + '\x22><p>' + (_0x20d10b[_0xaafe46(0x19a)]['length'] >= 0x28 ? _0x20d10b[_0xaafe46(0x19a)][_0xaafe46(0x16c)](0x0, 0x27) + '...' : _0x20d10b[_0xaafe46(0x19a)]) + _0xaafe46(0x1a9) + _0x3d20e0 + _0xaafe46(0x175); }), _0x5157bd[_0x1f99e2(0x1af)] = _0x14a351) : _0x5157bd[_0x1f99e2(0x1af)] = ''; } function closePanel() { const _0x42feeb = _0x5e4842; if (checkPlatform() == _0x42feeb(0x1cc)) window[_0x42feeb(0x168)]['ClosePanel'](); else checkPlatform() == _0x42feeb(0x184) && window[_0x42feeb(0x1a6)]['messageHandlers'][_0x42feeb(0x173)][_0x42feeb(0x1c9)](_0x42feeb(0x185)); } function openGallery() { const _0x1faea2 = _0x5e4842; if (files && files[_0x1faea2(0x1c3)] === 0x3) { handleLayer(!![], { 'errType': _0x1faea2(0x1ce) }); return; } window[_0x1faea2(0x168)][_0x1faea2(0x190)](); } function setGameId() { const _0xaff8fc = _0x5e4842; if (document['getElementById'](_0xaff8fc(0x1ab))['innerText'] === isLoading) return; const _0x1bbdfc = document[_0xaff8fc(0x17d)](_0xaff8fc(0x1ad))[_0xaff8fc(0x1bd)], _0x1255ee = document[_0xaff8fc(0x17d)](_0xaff8fc(0x19a))[_0xaff8fc(0x1bd)], _0x232428 = document[_0xaff8fc(0x17d)]('content')[_0xaff8fc(0x1bd)]; let _0x5c5506 = ![]; files && files[_0xaff8fc(0x1c3)] > 0x3 && (_0x5c5506 = { 'errType': 'numbers' }); !_0x232428 && (_0x5c5506 = { 'errType': _0xaff8fc(0x19d) }); !_0x1255ee && (_0x5c5506 = { 'errType': _0xaff8fc(0x19a) }); (!_0x1bbdfc || _0x1bbdfc === _0xaff8fc(0x18f)) && (_0x5c5506 = { 'errType': _0xaff8fc(0x19b) }); if (_0x5c5506) { handleLayer(!![], _0x5c5506); return; } let _0x2778dc = { 'type': _0x1bbdfc, 'title': _0x1255ee, 'content': _0x232428 }; const _0x464198 = files[_0xaff8fc(0x187)](_0x1a6813 => ({ 'fileName': _0x1a6813[_0xaff8fc(0x19a)], 'blob': _0x1a6813['blob'] })); setLoadingDialog(0x1), _0x464198[_0xaff8fc(0x1c3)] > 0x0 ? handleFileAttachAjax(_0x2778dc, _0x464198) : handlePostQuestion(_0x2778dc); } document['getElementById']('is-loading')['innerText'] = ''; const isLoading = _0x5e4842(0x166), isLoadingFail = _0x5e4842(0x1ca); function setLoadingDialog(_0x5b3417) { const _0x5478b2 = _0x5e4842; var _0x3cea20 = document[_0x5478b2(0x17d)](_0x5478b2(0x1ab)); switch (_0x5b3417) { case 0x0: _0x3cea20['innerText'] = '', _0x3cea20[_0x5478b2(0x182)][_0x5478b2(0x1a3)] = _0x5478b2(0x1cd); break; case 0x1: _0x3cea20['innerText'] = isLoading, _0x3cea20[_0x5478b2(0x182)][_0x5478b2(0x1a3)] = 'blue'; break; case 0x2: _0x3cea20[_0x5478b2(0x189)] = isLoadingFail, _0x3cea20[_0x5478b2(0x182)][_0x5478b2(0x1a3)] = _0x5478b2(0x198); break; } } function changeIndexScene() { const _0x4c7f44 = _0x5e4842; if (checkPlatform() == _0x4c7f44(0x1cc)) window['WebView'][_0x4c7f44(0x186)](); else { if (checkPlatform() == _0x4c7f44(0x184)) window[_0x4c7f44(0x1a6)]['messageHandlers'][_0x4c7f44(0x173)]['postMessage'](_0x4c7f44(0x186)); else { } } } function changeListScene() { const _0x410476 = _0x5e4842; if (checkPlatform() == _0x410476(0x1cc)) window['WebView']['ChangeListScene'](); else { if (checkPlatform() == _0x410476(0x184)) window['webkit'][_0x410476(0x192)][_0x410476(0x173)][_0x410476(0x1c9)](_0x410476(0x169)); else { } } } function _0x436d(_0x5b45e0, _0x58877c) { _0x5b45e0 = _0x5b45e0 - 0x166; let _0x383add = _0x383a[_0x5b45e0]; return _0x383add; } const handleQuestionForm = _0x33d5c1 => { const _0x5fa5f5 = _0x5e4842, { type: _0x4b83b1, form: _0x53c709 } = _0x33d5c1, _0x1527c8 = document[_0x5fa5f5(0x17d)](_0x5fa5f5(0x19d)); _0x1527c8[_0x5fa5f5(0x1bd)] = _0x53c709; }, handleGetQuestionForm = () => { const _0x12a9be = _0x5e4842; if (checkPlatform() == _0x12a9be(0x1cc)) gameId = window['WebView'][_0x12a9be(0x170)](), gamerInDate = window[_0x12a9be(0x168)]['GetGamerIndate'](), GetSupportType(); else checkPlatform() == _0x12a9be(0x184) && window[_0x12a9be(0x1a6)][_0x12a9be(0x192)]['iosMessage'][_0x12a9be(0x1c9)]('SettingIosInfo'); }; function GetSupportType() { const _0x309017 = _0x5e4842, _0x4a1b6a = _0x309017(0x17c), _0x288e50 = 'operation/question', _0x4026e4 = new XMLHttpRequest(); _0x4026e4['onreadystatechange'] = function () { const _0x45a50f = _0x309017; if (_0x4026e4[_0x45a50f(0x195)] === _0x4026e4[_0x45a50f(0x17b)]) { if (_0x4026e4[_0x45a50f(0x1c6)] === 0xc8 || _0x4026e4[_0x45a50f(0x1c6)] === 0xc9) handleQuestionForm(JSON['parse'](_0x4026e4[_0x45a50f(0x1bb)])); else { } } }, _0x4026e4['open'](_0x309017(0x1b3), _0x4a1b6a + '/' + _0x288e50), _0x4026e4[_0x309017(0x1c8)](_0x309017(0x1cb), gameId), _0x4026e4['send'](); } function iOSSetGameIdAndGamerIndate(_0x53a242, _0x33c61e) { this['gameId'] = _0x53a242, this['gamerInDate'] = _0x33c61e, GetSupportType(); } function ConsoleMessage(_0x1a5458) { const _0xac19d9 = _0x5e4842; checkPlatform() == 'ios' && window[_0xac19d9(0x1a6)][_0xac19d9(0x192)][_0xac19d9(0x1ae)][_0xac19d9(0x1c9)](_0x1a5458); } function checkPlatform() { const _0x5d8f93 = _0x5e4842; var _0x59c854 = navigator[_0x5d8f93(0x18b)][_0x5d8f93(0x177)](); if (_0x59c854[_0x5d8f93(0x174)]('android') > -0x1) return _0x5d8f93(0x1cc); else return _0x59c854['indexOf'](_0x5d8f93(0x1a1)) > -0x1 || _0x59c854[_0x5d8f93(0x174)](_0x5d8f93(0x1ac)) > -0x1 || _0x59c854['indexOf'](_0x5d8f93(0x1b5)) > -0x1 ? _0x5d8f93(0x184) : _0x5d8f93(0x1b9); } window['onload'] = handleGetQuestionForm();
    </script>
  </div>
</body>

</html>