Layout


SUBMITTED BY: PaulHnk1990

DATE: Sept. 23, 2024, 11:56 a.m.

FORMAT: Text only

SIZE: 93.1 kB

HITS: 90

  1. [
  2. {
  3. "id": 22166,
  4. "label": "Nome do app",
  5. "name": "APP_NAME",
  6. "value": "DTunnel VPN",
  7. "type": "STRING",
  8. "status": "ACTIVE",
  9. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  10. },
  11. {
  12. "id": 22167,
  13. "label": "Logo do app",
  14. "name": "APP_LOGO",
  15. "value": "https://i.ibb.co/hMTh9WN/DT05iid359.png",
  16. "type": "IMAGE",
  17. "status": "ACTIVE",
  18. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  19. },
  20. {
  21. "id": 22168,
  22. "label": "Imagem de fundo",
  23. "name": "APP_BACKGROUND_IMAGE",
  24. "value": null,
  25. "type": "IMAGE",
  26. "status": "ACTIVE",
  27. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  28. },
  29. {
  30. "id": 22169,
  31. "label": "Tipo do fundo do app",
  32. "name": "APP_BACKGROUND_TYPE",
  33. "value": {
  34. "options": [
  35. {
  36. "label": "Imagem",
  37. "value": "IMAGE"
  38. },
  39. {
  40. "label": "Cor",
  41. "value": "COLOR"
  42. }
  43. ],
  44. "selected": "COLOR"
  45. },
  46. "type": "SELECT",
  47. "status": "ACTIVE",
  48. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  49. },
  50. {
  51. "id": 22170,
  52. "label": "Cor de fundo",
  53. "name": "APP_BACKGROUND_COLOR",
  54. "value": "#080e16c7",
  55. "type": "COLOR",
  56. "status": "ACTIVE",
  57. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  58. },
  59. {
  60. "id": 22171,
  61. "label": "Cor do card inicial",
  62. "name": "APP_CARD_COLOR",
  63. "value": "#1d242e73",
  64. "type": "COLOR",
  65. "status": "ACTIVE",
  66. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  67. },
  68. {
  69. "id": 22172,
  70. "label": "Raio do card inicial",
  71. "name": "APP_CARD_RADIUS",
  72. "value": 20,
  73. "type": "INTEGER",
  74. "status": "ACTIVE",
  75. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  76. },
  77. {
  78. "id": 22173,
  79. "label": "Cor do card de status",
  80. "name": "APP_CARD_STATUS_COLOR",
  81. "value": "#1d242e73",
  82. "type": "COLOR",
  83. "status": "ACTIVE",
  84. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  85. },
  86. {
  87. "id": 22174,
  88. "label": "Raio do card de status",
  89. "name": "APP_CARD_STATUS_RADIUS",
  90. "value": 25,
  91. "type": "INTEGER",
  92. "status": "ACTIVE",
  93. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  94. },
  95. {
  96. "id": 22175,
  97. "label": "Cor do card de configurações",
  98. "name": "APP_CARD_CONFIG_COLOR",
  99. "value": "#1D1D1D",
  100. "type": "COLOR",
  101. "status": "ACTIVE",
  102. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  103. },
  104. {
  105. "id": 22176,
  106. "label": "Cor do fundo dos dialogs",
  107. "name": "APP_DIALOG_BACKGROUND_COLOR",
  108. "value": "#1D1D1D",
  109. "type": "COLOR",
  110. "status": "ACTIVE",
  111. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  112. },
  113. {
  114. "id": 22177,
  115. "label": "Cor do fundo do dialog de log",
  116. "name": "APP_DIALOG_LOGGER_COLOR",
  117. "value": "#1D1D1D",
  118. "type": "COLOR",
  119. "status": "ACTIVE",
  120. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  121. },
  122. {
  123. "id": 22178,
  124. "label": "Cor das bordas",
  125. "name": "APP_BORDER_COLOR",
  126. "value": "#1d242e73",
  127. "type": "COLOR",
  128. "status": "ACTIVE",
  129. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  130. },
  131. {
  132. "id": 22179,
  133. "label": "Cor dos inputs",
  134. "name": "APP_INPUT_COLOR",
  135. "value": "#1d242e73",
  136. "type": "COLOR",
  137. "status": "ACTIVE",
  138. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  139. },
  140. {
  141. "id": 22180,
  142. "label": "Raio dos inputs",
  143. "name": "APP_INPUT_RADIUS",
  144. "value": 25,
  145. "type": "INTEGER",
  146. "status": "ACTIVE",
  147. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  148. },
  149. {
  150. "id": 22181,
  151. "label": "Cor dos textos",
  152. "name": "APP_TEXT_COLOR",
  153. "value": "#FFFFFFFF",
  154. "type": "COLOR",
  155. "status": "ACTIVE",
  156. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  157. },
  158. {
  159. "id": 22182,
  160. "label": "Cor dos botões",
  161. "name": "APP_BUTTON_COLOR",
  162. "value": "#1d242e73",
  163. "type": "COLOR",
  164. "status": "ACTIVE",
  165. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  166. },
  167. {
  168. "id": 22183,
  169. "label": "Raio dos botões",
  170. "name": "APP_BUTTON_RADIUS",
  171. "value": 25,
  172. "type": "INTEGER",
  173. "status": "ACTIVE",
  174. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  175. },
  176. {
  177. "id": 22184,
  178. "label": "Cor dos icones",
  179. "name": "APP_ICON_COLOR",
  180. "value": "#FFFFFFFF",
  181. "type": "COLOR",
  182. "status": "ACTIVE",
  183. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  184. },
  185. {
  186. "id": 22185,
  187. "label": "Exibir modo de conexão",
  188. "name": "APP_SHOW_CONNECTION_MODE",
  189. "value": true,
  190. "type": "BOOLEAN",
  191. "status": "ACTIVE",
  192. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  193. },
  194. {
  195. "id": 22871,
  196. "label": "Atualizar automaticamente as configurações ao lançar uma atualização.",
  197. "name": "APP_CONFIG_AUTO_UPDATE",
  198. "value": true,
  199. "type": "BOOLEAN",
  200. "status": "ACTIVE",
  201. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  202. },
  203. {
  204. "id": 22186,
  205. "label": "Iniciar o app automaticamente ao reiniciar o dispositivo",
  206. "name": "APP_AUTO_START",
  207. "value": false,
  208. "type": "BOOLEAN",
  209. "status": "ACTIVE",
  210. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  211. },
  212. {
  213. "id": 22187,
  214. "label": "Usar limiter de conexão",
  215. "name": "APP_CONNECTION_LIMITER",
  216. "value": false,
  217. "type": "BOOLEAN",
  218. "status": "ACTIVE",
  219. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  220. },
  221. {
  222. "id": 22188,
  223. "label": "Usar botão de atualizações",
  224. "name": "APP_BTN_UPDATE_ENABLED",
  225. "value": true,
  226. "type": "BOOLEAN",
  227. "status": "ACTIVE",
  228. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  229. },
  230. {
  231. "id": 22189,
  232. "label": "Usar botão de registros",
  233. "name": "APP_BTN_LOGGER_ENABLED",
  234. "value": true,
  235. "type": "BOOLEAN",
  236. "status": "ACTIVE",
  237. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  238. },
  239. {
  240. "id": 22190,
  241. "label": "Usar botão de pagina webview",
  242. "name": "APP_BTN_PAGE_ENABLED",
  243. "value": true,
  244. "type": "BOOLEAN",
  245. "status": "ACTIVE",
  246. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  247. },
  248. {
  249. "id": 22191,
  250. "label": "Ativar dialog de erros",
  251. "name": "APP_DIALOG_ERROR_ENABLED",
  252. "value": true,
  253. "type": "BOOLEAN",
  254. "status": "ACTIVE",
  255. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  256. },
  257. {
  258. "id": 22192,
  259. "label": "Ativar dialog de checkuser",
  260. "name": "APP_CHECKUSER_DIALOG_ENABLED",
  261. "value": false,
  262. "type": "BOOLEAN",
  263. "status": "ACTIVE",
  264. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  265. },
  266. {
  267. "id": 22193,
  268. "label": "Ativar toast de sucesso",
  269. "name": "APP_SUCCESS_TOAST_ENABLED",
  270. "value": true,
  271. "type": "BOOLEAN",
  272. "status": "ACTIVE",
  273. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  274. },
  275. {
  276. "id": 22194,
  277. "label": "Ativar toast de erro",
  278. "name": "APP_ERROR_TOAST_ENABLED",
  279. "value": true,
  280. "type": "BOOLEAN",
  281. "status": "ACTIVE",
  282. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  283. },
  284. {
  285. "id": 22195,
  286. "label": "Usar layout webview",
  287. "name": "APP_LAYOUT_WEBVIEW_ENABLED",
  288. "value": true,
  289. "type": "BOOLEAN",
  290. "status": "ACTIVE",
  291. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  292. },
  293. {
  294. "id": 22196,
  295. "label": "Mensagem",
  296. "name": "APP_MESSAGE",
  297. "value": null,
  298. "type": "TEXT",
  299. "status": "ACTIVE",
  300. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  301. },
  302. {
  303. "id": 22197,
  304. "label": "URL de atualização do aplicativo",
  305. "name": "APP_UPDATE_URL",
  306. "value": null,
  307. "type": "URL",
  308. "status": "ACTIVE",
  309. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  310. },
  311. {
  312. "id": 22198,
  313. "label": "Tipo de mensagem",
  314. "name": "APP_MESSAGE_TYPE",
  315. "value": {
  316. "options": [
  317. {
  318. "label": "Alerta",
  319. "value": "ALERT"
  320. },
  321. {
  322. "label": "Informação",
  323. "value": "INFO"
  324. },
  325. {
  326. "label": "Boas vindas",
  327. "value": "WELCOME"
  328. },
  329. {
  330. "label": "Sem mensagem",
  331. "value": "NONE"
  332. }
  333. ],
  334. "selected": "NONE"
  335. },
  336. "type": "SELECT",
  337. "status": "ACTIVE",
  338. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  339. },
  340. {
  341. "id": 22199,
  342. "label": "LAYOUT WEBVIEW (POR SUA CONTA E RISCO)",
  343. "name": "APP_LAYOUT_WEBVIEW",
  344. "value": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <title>Document</title>\n\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=no\" />\n\n <style>\n :root {\n --background-color-main: #171717;\n --background-image-main: url('');\n\n --header-container-color: linear-gradient(to right, #f2295b, #712de0);\n --background-container-color: #171717;\n\n --border-color: linear-gradient(to right, #f2295b, #712de0);\n --border-loading-color: #ffffff;\n\n --text-color: #ffffff;\n --text-alert-color: #ff0000;\n\n --icons-color: #ffffff;\n\n --background-buttons-color: linear-gradient(to right, #712de0, #f2295b);\n\n --margem-do-topo-do-modal: 10px;\n --margem-do-bottom-do-modal: 10px;\n }\n\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n html,\n body,\n main {\n width: 100%;\n height: 100%;\n }\n\n body {\n background-color: var(--background-color-main);\n background-image: var(--background-image-main);\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n\n main {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 20px;\n\n position: relative;\n\n transition: padding-bottom 0.3s ease 0.2s;\n\n overflow: hidden;\n }\n\n .container-logo {\n width: 95%;\n height: auto;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n margin-top: 40px;\n\n padding: 5px 3px;\n }\n\n .container-logo img {\n width: 50%;\n max-width: 300px;\n }\n\n .container {\n width: 95%;\n max-width: 450px;\n height: auto;\n\n position: relative;\n\n border-radius: 5px;\n\n background: transparent;\n }\n\n .container header {\n width: 95%;\n height: 45px;\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n\n margin: auto;\n padding: 5px 10px;\n\n background: #171717;\n }\n\n .container header button:first-child {\n visibility: hidden;\n }\n\n .container header button {\n flex: 1;\n height: 100%;\n\n border: 0;\n border-radius: 20px;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n\n background: var(--background-buttons-color);\n }\n\n .container form {\n width: 100%;\n height: calc(100% - 45px);\n\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 10px;\n\n margin: 10px 0px;\n padding: 0px 3px;\n }\n\n .container form div {\n width: 95%;\n height: 45px;\n\n display: flex;\n align-items: center;\n\n border-radius: 50px;\n\n padding: 0px 10px;\n\n background: #000;\n }\n\n .container form div#uuid-container {\n display: none;\n }\n\n .container form div svg {\n width: 38px;\n height: 100%;\n\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n\n padding: 0px 10px;\n\n border-right: 1px solid var(--border-color);\n\n color: var(--icons-color);\n }\n\n .container form div svg path {\n transform: scale(1);\n }\n\n .container form div input {\n width: 100%;\n height: 100%;\n\n border: 0;\n outline: none;\n\n padding-left: 5px;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n font-size: 1rem;\n\n background: transparent;\n }\n\n .container form div input::placeholder {\n color: #dddddd;\n }\n\n .form-buttons {\n width: 100%;\n\n display: flex;\n flex-wrap: wrap;\n gap: 10px;\n\n margin-top: 10px;\n padding: 0px 5px;\n }\n\n .form-buttons button {\n flex: 1;\n height: 45px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n\n border: 0;\n border-radius: 20px;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n\n background: #000;\n }\n\n .form-buttons button:last-child {\n width: 50%;\n flex-basis: 100%;\n\n margin-top: 10px;\n }\n\n .menu {\n width: 100%;\n height: calc(100% - 45px);\n\n position: absolute;\n top: 45px;\n left: 0;\n right: 0;\n bottom: 0;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 13px;\n\n padding: 10px 5px;\n\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n\n opacity: 0;\n transform: perspective(800px) rotateX(90deg) rotateY(0deg);\n transform-origin: 100% 100%;\n\n background: #171717;\n }\n\n .menu button {\n width: 95%;\n height: 45px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n border: 0;\n border-radius: 17.5px;\n\n background: var(--background-buttons-color);\n }\n\n .menu button svg {\n color: var(--icons-color);\n\n margin-right: 5px;\n }\n\n .menu button span {\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n }\n\n .status-vpn {\n width: 100%;\n height: auto;\n\n padding: 0px 10px;\n }\n\n .status-vpn section {\n width: 95%;\n height: 40px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n margin: 0 auto;\n padding: 0px 10px;\n\n border-radius: 20px;\n\n background: #000;\n }\n\n .status-vpn section svg {\n color: #ffffff;\n }\n\n .status-vpn section h1 {\n color: #ffffff;\n font-family: 'Roboto', sans-serif;\n font-weight: 400;\n font-size: 1rem;\n }\n\n .home-menu {\n width: 95%;\n max-width: 450px;\n height: auto;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: 10px;\n\n position: absolute;\n bottom: 20px;\n\n padding: 0px 10px;\n }\n\n .home-menu button {\n width: auto;\n height: 45px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 5px;\n\n padding: 0px 10px;\n\n border: 0px;\n border-radius: 20px;\n\n background: var(--background-buttons-color);\n }\n\n .home-menu button svg {\n height: 100%;\n color: var(--icons-color);\n }\n\n .home-menu button span {\n color: var(--text-color);\n }\n\n .modal-speedtest,\n .modal-configs,\n .modal-logs,\n .modal-alert-clear-data,\n .modal-error-alert,\n .modal-status-vpn,\n .modal-checkuser,\n .modal-loading,\n .modal-gen-test,\n .modal-buy-access,\n .modal-call-support {\n width: 98%;\n max-width: 450px;\n height: calc(100% - var(--margem-do-bottom-do-modal) - var(--margem-do-topo-do-modal));\n\n position: absolute;\n top: var(--margem-do-topo-do-modal);\n left: auto;\n right: auto;\n bottom: var(--margem-do-bottom-do-modal);\n z-index: 2;\n\n display: flex;\n flex-direction: column;\n\n border-radius: 5px;\n\n overflow: hidden;\n\n opacity: 0;\n transform: scale(0);\n transform-origin: center;\n transition: all 0.3s ease 0.1s;\n }\n\n .show {\n opacity: 1;\n transform: scale(1);\n }\n\n .modal-speedtest header,\n .modal-configs header,\n .modal-logs header,\n .modal-alert-clear-data header,\n .modal-error-alert header,\n .modal-status-vpn header,\n .modal-checkuser header,\n .modal-loading header,\n .modal-gen-test header,\n .modal-buy-access header,\n .modal-call-support header {\n width: 100%;\n height: 40px;\n\n display: flex;\n align-items: center;\n\n padding: 0px 10px;\n\n background: var(--header-container-color);\n }\n\n .modal-speedtest header svg,\n .modal-configs header svg,\n .modal-logs header svg,\n .modal-alert-clear-data header svg,\n .modal-error-alert header svg,\n .modal-status-vpn header svg,\n .modal-checkuser header svg,\n .modal-loading header svg,\n .modal-gen-test header svg,\n .modal-buy-access header svg,\n .modal-call-support header svg {\n margin-left: auto;\n\n color: var(--icons-color);\n }\n\n .modal-speedtest section,\n .modal-configs section,\n .modal-logs section,\n .modal-alert-clear-data section,\n .modal-error-alert section,\n .modal-status-vpn section,\n .modal-checkuser section,\n .modal-loading section,\n .modal-gen-test section,\n .modal-buy-access section,\n .modal-call-support section {\n background: var(--background-container-color);\n }\n\n .modal-speedtest section,\n .modal-gen-test section,\n .modal-buy-access section,\n .modal-call-support section {\n width: 100%;\n height: calc(100% - 40px);\n\n position: relative;\n\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .modal-logs section,\n .modal-checkuser section {\n width: 100%;\n height: calc(100% - 40px);\n\n position: relative;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .modal-logs section p {\n width: 100%;\n height: auto;\n max-height: calc(100% - 65px);\n\n margin: 10px 0px;\n padding: 0px 10px;\n\n overflow-y: auto;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n font-size: 0.7rem;\n }\n\n .modal-logs section button {\n width: 80%;\n height: 45px;\n\n margin-top: auto;\n margin-bottom: 5px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n border: 0;\n border-radius: 17.5px;\n\n background: var(--background-buttons-color);\n }\n\n .modal-logs section button svg {\n color: var(--icons-color);\n\n margin-right: 5px;\n }\n\n .modal-logs section button span {\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n }\n\n .modal-speedtest section iframe,\n .modal-gen-test section iframe,\n .modal-buy-access section iframe,\n .modal-call-support section iframe {\n width: 100%;\n height: 100%;\n\n border: 0;\n\n overflow: hidden;\n }\n\n .modal-checkuser section {\n padding: 10px;\n\n justify-content: center;\n }\n\n .modal-checkuser section h1 {\n width: 100%;\n height: 40px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n margin: 20px;\n\n border-bottom: 2px solid var(--background-buttons-color);\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n font-weight: 400;\n }\n\n .modal-checkuser section div {\n width: 100%;\n height: 40px;\n\n display: flex;\n align-items: center;\n\n margin: 10px 0px;\n\n border-radius: 20px;\n\n background: var(--background-buttons-color);\n\n overflow: hidden;\n }\n\n .modal-checkuser section div i {\n width: 40px;\n height: 40px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n color: var(--icons-color);\n }\n\n .modal-checkuser section div span {\n width: calc(100% - 40px);\n height: 100%;\n\n display: flex;\n align-items: center;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n }\n\n .modal-configs section {\n width: 100%;\n height: calc(100% - 40px);\n\n overflow-y: auto;\n }\n\n .modal-configs section div {\n width: 100%;\n height: auto;\n\n margin-top: 10px;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .modal-configs section div h1.title {\n width: 90%;\n min-height: 30px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n margin: 10px 0px;\n margin-top: 10px;\n\n border-radius: 15px;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n font-size: 0.9rem;\n\n background: var(--background-buttons-color);\n }\n\n .modal-configs section div ul {\n width: 100%;\n height: auto;\n\n margin-top: 5px;\n\n padding: 0px 10px;\n\n border-radius: 15px;\n }\n\n .modal-configs section div ul li {\n width: 100%;\n height: 60px;\n min-height: 60px;\n\n display: flex;\n align-items: center;\n\n margin: 0px 0px 10px 0px;\n\n padding: 5px;\n padding-left: 15px;\n\n border-radius: 30px;\n\n overflow: hidden;\n\n background: #000;\n }\n\n .modal-configs section ul li img {\n width: 30px;\n height: 30px;\n }\n\n .modal-configs section ul li div {\n width: calc(100% - 40px);\n height: 40px;\n\n margin-left: 5px;\n\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n\n overflow: hidden;\n }\n\n .modal-configs section ul li div h1 {\n color: var(--text-color);\n font-size: 0.7rem;\n font-weight: 600;\n font-family: 'Roboto', sans-serif;\n }\n\n .modal-configs section ul li div p {\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n font-size: 0.6rem;\n font-weight: 400;\n }\n\n .modal-alert-clear-data section,\n .modal-error-alert section,\n .modal-status-vpn section,\n .modal-loading section {\n width: 100%;\n height: calc(100% - 40px);\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n .modal-alert-clear-data section svg,\n .modal-error-alert section svg {\n width: 128px;\n height: auto;\n\n color: var(--text-alert-color);\n }\n\n .modal-alert-clear-data section h1,\n .modal-error-alert section h1 {\n margin: 10px 0px;\n\n color: var(--text-alert-color);\n font-family: 'Roboto', sans-serif;\n }\n\n .modal-alert-clear-data section p,\n .modal-error-alert section p {\n height: 145px;\n max-height: 145px;\n\n overflow-y: auto;\n\n margin-bottom: 10px;\n\n padding: 10px;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n font-weight: 300;\n }\n\n .modal-error-alert section p {\n text-align: center;\n }\n\n .modal-alert-clear-data section div {\n width: 95%;\n height: auto;\n\n margin-top: 10px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n }\n\n .modal-alert-clear-data section div button {\n width: 150px;\n height: 45px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding: 0px 5px;\n\n border: 0;\n border-radius: 20px;\n\n background: var(--background-buttons-color);\n }\n\n .modal-alert-clear-data section div button svg {\n width: 16px;\n height: auto;\n\n margin-left: 6px;\n\n color: var(--icons-color);\n }\n\n .modal-alert-clear-data section div button span {\n margin-left: 5px;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n font-size: 0.7rem;\n }\n\n .modal-status-vpn section {\n position: relative;\n }\n\n .modal-status-vpn section div.loading-status,\n .modal-loading section div {\n width: 70px;\n height: 70px;\n\n position: relative;\n\n border: 4px solid var(--border-loading-color);\n border-radius: 50%;\n border-top: 4px solid transparent;\n\n animation: spin 1s infinite linear;\n }\n\n .modal-status-vpn section div.loading-status svg,\n .modal-loading section svg {\n width: 100%;\n height: 100%;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n color: var(--icons-color);\n padding: 15px;\n\n position: absolute;\n top: auto;\n left: auto;\n right: auto;\n bottom: auto;\n\n animation: spin 1s infinite linear reverse;\n }\n\n .modal-status-vpn section h1 {\n margin-top: 15%;\n\n color: var(--text-color);\n font-family: 'Roboto', sans-serif;\n }\n\n @keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n\n .boingInUp {\n -webkit-animation-name: boingInUp;\n animation-name: boingInUp;\n }\n @-webkit-keyframes boingInUp {\n 0% {\n opacity: 0;\n transform: perspective(800px) rotateX(-90deg);\n transform-origin: 50% 0;\n }\n 50% {\n opacity: 1;\n transform: perspective(800px) rotateX(50deg);\n transform-origin: 50% 0;\n }\n to {\n opacity: 1;\n transform: perspective(800px) rotateX(0deg);\n transform-origin: 50% 0;\n }\n }\n @keyframes boingInUp {\n 0% {\n opacity: 0;\n transform: perspective(800px) rotateX(-90deg);\n transform-origin: 50% 0;\n }\n 50% {\n opacity: 1;\n transform: perspective(800px) rotateX(50deg);\n transform-origin: 50% 0;\n }\n to {\n opacity: 1;\n transform: perspective(800px) rotateX(0deg);\n transform-origin: 50% 0;\n }\n }\n .boingOutDown {\n -webkit-animation-name: boingOutDown;\n animation-name: boingOutDown;\n }\n @-webkit-keyframes boingOutDown {\n 0% {\n opacity: 1;\n transform: perspective(800px) rotateX(0deg) rotateY(0deg);\n transform-origin: 100% 100%;\n }\n 20% {\n opacity: 1;\n transform: perspective(800px) rotateX(0deg) rotateY(10deg);\n transform-origin: 100% 100%;\n }\n 30% {\n opacity: 1;\n transform: perspective(800px) rotateX(0deg) rotateY(0deg);\n transform-origin: 0 100%;\n }\n 40% {\n opacity: 1;\n transform: perspective(800px) rotateX(10deg) rotateY(10deg);\n transform-origin: 0 100%;\n }\n to {\n opacity: 0;\n transform: perspective(800px) rotateX(90deg) rotateY(0deg);\n transform-origin: 100% 100%;\n }\n }\n @keyframes boingOutDown {\n 0% {\n opacity: 1;\n transform: perspective(800px) rotateX(0deg) rotateY(0deg);\n transform-origin: 100% 100%;\n }\n 20% {\n opacity: 1;\n transform: perspective(800px) rotateX(0deg) rotateY(10deg);\n transform-origin: 100% 100%;\n }\n 30% {\n opacity: 1;\n transform: perspective(800px) rotateX(0deg) rotateY(0deg);\n transform-origin: 0 100%;\n }\n 40% {\n opacity: 1;\n transform: perspective(800px) rotateX(10deg) rotateY(10deg);\n transform-origin: 0 100%;\n }\n to {\n opacity: 0;\n transform: perspective(800px) rotateX(90deg) rotateY(0deg);\n transform-origin: 100% 100%;\n }\n }\n .magictime {\n -webkit-animation-duration: 1s;\n animation-duration: 1s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n }\n @media (prefers-reduced-motion), (print) {\n .magictime {\n -webkit-animation: unset !important;\n animation: unset !important;\n transition: none !important;\n }\n }\n\n @media (max-width: 375px) {\n .container form div {\n height: 35px;\n }\n\n .form-buttons button {\n height: 35px;\n }\n\n .home-menu button {\n height: 35px;\n }\n }\n </style>\n </head>\n <body>\n <main>\n <section class=\"container-logo\">\n <!-- PARA TROCAR A LOGO É SÓ COLOCAR UM LINK COM A IMAGEM DIRETO NO SRC -->\n <img id=\"app-logo\" src=\"\" alt=\"Logo do app\" />\n </section>\n\n <section class=\"container\">\n <header>\n <button>Log-in</button>\n <button id=\"configuracao\">Configurações</button>\n </header>\n\n <form>\n <div id=\"operadora\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n class=\"bi bi-ethernet\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M14 13.5v-7a.5.5 0 0 0-.5-.5H12V4.5a.5.5 0 0 0-.5-.5h-1v-.5A.5.5 0 0 0 10 3H6a.5.5 0 0 0-.5.5V4h-1a.5.5 0 0 0-.5.5V6H2.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5ZM3.75 11h.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25Zm2 0h.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25Zm1.75.25a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-1.5ZM9.75 11h.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25Zm1.75.25a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-1.5Z\"\n />\n <path\n d=\"M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2ZM1 2a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2Z\"\n />\n </svg>\n\n <input\n id=\"operator-selected\"\n type=\"text\"\n placeholder=\"Escolha sua operadora\"\n readonly\n />\n </div>\n\n <div id=\"user-container\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-person\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z\"\n />\n </svg>\n\n <input id=\"user\" type=\"text\" placeholder=\"Usuário\" />\n </div>\n\n <div id=\"password-container\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-key\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M0 8a4 4 0 0 1 7.465-2H14a.5.5 0 0 1 .354.146l1.5 1.5a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0L13 9.207l-.646.647a.5.5 0 0 1-.708 0L11 9.207l-.646.647a.5.5 0 0 1-.708 0L9 9.207l-.646.647A.5.5 0 0 1 8 10h-.535A4 4 0 0 1 0 8zm4-3a3 3 0 1 0 2.712 4.285A.5.5 0 0 1 7.163 9h.63l.853-.854a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.793-.793-1-1h-6.63a.5.5 0 0 1-.451-.285A3 3 0 0 0 4 5z\"\n />\n <path d=\"M4 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\" />\n </svg>\n\n <input id=\"password\" type=\"password\" placeholder=\"Senha\" />\n </div>\n\n <div id=\"uuid-container\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-fingerprint\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M8.06 6.5a.5.5 0 0 1 .5.5v.776a11.5 11.5 0 0 1-.552 3.519l-1.331 4.14a.5.5 0 0 1-.952-.305l1.33-4.141a10.5 10.5 0 0 0 .504-3.213V7a.5.5 0 0 1 .5-.5Z\"\n />\n <path\n d=\"M6.06 7a2 2 0 1 1 4 0 .5.5 0 1 1-1 0 1 1 0 1 0-2 0v.332c0 .409-.022.816-.066 1.221A.5.5 0 0 1 6 8.447c.04-.37.06-.742.06-1.115V7Zm3.509 1a.5.5 0 0 1 .487.513 11.5 11.5 0 0 1-.587 3.339l-1.266 3.8a.5.5 0 0 1-.949-.317l1.267-3.8a10.5 10.5 0 0 0 .535-3.048A.5.5 0 0 1 9.569 8Zm-3.356 2.115a.5.5 0 0 1 .33.626L5.24 14.939a.5.5 0 1 1-.955-.296l1.303-4.199a.5.5 0 0 1 .625-.329Z\"\n />\n <path\n d=\"M4.759 5.833A3.501 3.501 0 0 1 11.559 7a.5.5 0 0 1-1 0 2.5 2.5 0 0 0-4.857-.833.5.5 0 1 1-.943-.334Zm.3 1.67a.5.5 0 0 1 .449.546 10.72 10.72 0 0 1-.4 2.031l-1.222 4.072a.5.5 0 1 1-.958-.287L4.15 9.793a9.72 9.72 0 0 0 .363-1.842.5.5 0 0 1 .546-.449Zm6 .647a.5.5 0 0 1 .5.5c0 1.28-.213 2.552-.632 3.762l-1.09 3.145a.5.5 0 0 1-.944-.327l1.089-3.145c.382-1.105.578-2.266.578-3.435a.5.5 0 0 1 .5-.5Z\"\n />\n <path\n d=\"M3.902 4.222a4.996 4.996 0 0 1 5.202-2.113.5.5 0 0 1-.208.979 3.996 3.996 0 0 0-4.163 1.69.5.5 0 0 1-.831-.556Zm6.72-.955a.5.5 0 0 1 .705-.052A4.99 4.99 0 0 1 13.059 7v1.5a.5.5 0 1 1-1 0V7a3.99 3.99 0 0 0-1.386-3.028.5.5 0 0 1-.051-.705ZM3.68 5.842a.5.5 0 0 1 .422.568c-.029.192-.044.39-.044.59 0 .71-.1 1.417-.298 2.1l-1.14 3.923a.5.5 0 1 1-.96-.279L2.8 8.821A6.531 6.531 0 0 0 3.058 7c0-.25.019-.496.054-.736a.5.5 0 0 1 .568-.422Zm8.882 3.66a.5.5 0 0 1 .456.54c-.084 1-.298 1.986-.64 2.934l-.744 2.068a.5.5 0 0 1-.941-.338l.745-2.07a10.51 10.51 0 0 0 .584-2.678.5.5 0 0 1 .54-.456Z\"\n />\n <path\n d=\"M4.81 1.37A6.5 6.5 0 0 1 14.56 7a.5.5 0 1 1-1 0 5.5 5.5 0 0 0-8.25-4.765.5.5 0 0 1-.5-.865Zm-.89 1.257a.5.5 0 0 1 .04.706A5.478 5.478 0 0 0 2.56 7a.5.5 0 0 1-1 0c0-1.664.626-3.184 1.655-4.333a.5.5 0 0 1 .706-.04ZM1.915 8.02a.5.5 0 0 1 .346.616l-.779 2.767a.5.5 0 1 1-.962-.27l.778-2.767a.5.5 0 0 1 .617-.346Zm12.15.481a.5.5 0 0 1 .49.51c-.03 1.499-.161 3.025-.727 4.533l-.07.187a.5.5 0 0 1-.936-.351l.07-.187c.506-1.35.634-2.74.663-4.202a.5.5 0 0 1 .51-.49Z\"\n />\n </svg>\n\n <input id=\"uuid\" type=\"password\" placeholder=\"UUID\" />\n </div>\n\n <section class=\"form-buttons\">\n <button id=\"update-config\" type=\"button\" title=\"Atualizar\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-arrow-clockwise\"\n viewBox=\"0 0 16 16\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z\"\n />\n <path\n d=\"M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z\"\n />\n </svg>\n\n <span>ATUALIZAR</span>\n </button>\n\n <button id=\"logs-button\" type=\"button\" title=\"Registro\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-journal\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z\"\n />\n <path\n d=\"M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z\"\n />\n </svg>\n\n <span>REGISTRO</span>\n </button>\n\n <button id=\"vpn-start\" type=\"button\" title=\"Conectar\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-plug\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M6 0a.5.5 0 0 1 .5.5V3h3V.5a.5.5 0 0 1 1 0V3h1a.5.5 0 0 1 .5.5v3A3.5 3.5 0 0 1 8.5 10c-.002.434-.01.845-.04 1.22-.041.514-.126 1.003-.317 1.424a2.083 2.083 0 0 1-.97 1.028C6.725 13.9 6.169 14 5.5 14c-.998 0-1.61.33-1.974.718A1.922 1.922 0 0 0 3 16H2c0-.616.232-1.367.797-1.968C3.374 13.42 4.261 13 5.5 13c.581 0 .962-.088 1.218-.219.241-.123.4-.3.514-.55.121-.266.193-.621.23-1.09.027-.34.035-.718.037-1.141A3.5 3.5 0 0 1 4 6.5v-3a.5.5 0 0 1 .5-.5h1V.5A.5.5 0 0 1 6 0zM5 4v2.5A2.5 2.5 0 0 0 7.5 9h1A2.5 2.5 0 0 0 11 6.5V4H5z\"\n />\n </svg>\n\n <span>CONECTAR</span>\n </button>\n </section>\n </form>\n\n <section class=\"menu\">\n <button id=\"battery-optimization\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-battery-half\"\n viewBox=\"0 0 16 16\"\n >\n <path d=\"M2 6h5v4H2V6z\" />\n <path\n d=\"M2 4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2zm10 1a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h10zm4 3a1.5 1.5 0 0 1-1.5 1.5v-3A1.5 1.5 0 0 1 16 8z\"\n />\n </svg>\n\n <span>OTIMIZAÇÃO DE BATERIA</span>\n </button>\n\n <button id=\"apn-configuration\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-wrench-adjustable\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M16 4.5a4.492 4.492 0 0 1-1.703 3.526L13 5l2.959-1.11c.027.2.041.403.041.61Z\"\n />\n <path\n d=\"M11.5 9c.653 0 1.273-.139 1.833-.39L12 5.5 11 3l3.826-1.53A4.5 4.5 0 0 0 7.29 6.092l-6.116 5.096a2.583 2.583 0 1 0 3.638 3.638L9.908 8.71A4.49 4.49 0 0 0 11.5 9Zm-1.292-4.361-.596.893.809-.27a.25.25 0 0 1 .287.377l-.596.893.809-.27.158.475-1.5.5a.25.25 0 0 1-.287-.376l.596-.893-.809.27a.25.25 0 0 1-.287-.377l.596-.893-.809.27-.158-.475 1.5-.5a.25.25 0 0 1 .287.376ZM3 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"\n />\n </svg>\n\n <span>CONFIGURAR APN</span>\n </button>\n\n <button id=\"checkuser\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-person-lines-fill\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z\"\n />\n </svg>\n\n <span>DETALHES DO USUÁRIO</span>\n </button>\n\n <button id=\"speedtest-button\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-router\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M5.525 3.025a3.5 3.5 0 0 1 4.95 0 .5.5 0 1 0 .707-.707 4.5 4.5 0 0 0-6.364 0 .5.5 0 0 0 .707.707Z\"\n />\n <path\n d=\"M6.94 4.44a1.5 1.5 0 0 1 2.12 0 .5.5 0 0 0 .708-.708 2.5 2.5 0 0 0-3.536 0 .5.5 0 0 0 .707.707ZM2.5 11a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm4.5-.5a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0Zm2.5.5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm1.5-.5a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0Zm2 0a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0Z\"\n />\n <path\n d=\"M2.974 2.342a.5.5 0 1 0-.948.316L3.806 8H1.5A1.5 1.5 0 0 0 0 9.5v2A1.5 1.5 0 0 0 1.5 13H2a.5.5 0 0 0 .5.5h2A.5.5 0 0 0 5 13h6a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5h.5a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 14.5 8h-2.306l1.78-5.342a.5.5 0 1 0-.948-.316L11.14 8H4.86L2.974 2.342ZM14.5 9a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h13Z\"\n />\n <path d=\"M8.5 5.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\" />\n </svg>\n\n <span>TESTAR REDE</span>\n </button>\n\n <button id=\"clean-data-app\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-trash\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6Z\"\n />\n <path\n d=\"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1ZM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118ZM2.5 3h11V2h-11v1Z\"\n />\n </svg>\n\n <span>LIMPAR DADOS</span>\n </button>\n </section>\n </section>\n\n <section class=\"status-vpn\">\n <section>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-outlet\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M3.34 2.994c.275-.338.68-.494 1.074-.494h7.172c.393 0 .798.156 1.074.494.578.708 1.84 2.534 1.84 5.006 0 2.472-1.262 4.297-1.84 5.006-.276.338-.68.494-1.074.494H4.414c-.394 0-.799-.156-1.074-.494C2.762 12.297 1.5 10.472 1.5 8c0-2.472 1.262-4.297 1.84-5.006zm1.074.506a.376.376 0 0 0-.299.126C3.599 4.259 2.5 5.863 2.5 8c0 2.137 1.099 3.74 1.615 4.374.06.073.163.126.3.126h7.17c.137 0 .24-.053.3-.126.516-.633 1.615-2.237 1.615-4.374 0-2.137-1.099-3.74-1.615-4.374a.376.376 0 0 0-.3-.126h-7.17z\"\n />\n <path\n d=\"M6 5.5a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm4 0a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zM7 10v1h2v-1a1 1 0 0 0-2 0z\"\n />\n </svg>\n\n <h1>DESCONECTADO</h1>\n </section>\n </section>\n\n <section class=\"home-menu\">\n <button id=\"gen-test\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-cloud\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z\"\n />\n </svg>\n\n <span>Gerar Teste Grátis</span>\n </button>\n\n <button id=\"buy-access\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-wallet2\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499L12.136.326zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484L5.562 3zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z\"\n />\n </svg>\n\n <span>Comprar Acesso</span>\n </button>\n\n <button id=\"contact-support\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-whatsapp\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z\"\n />\n </svg>\n\n <span>Pedir Suporte</span>\n </button>\n </section>\n\n <section class=\"modal-speedtest\">\n <header>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-x-lg\"\n id=\"close\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"\n />\n </svg>\n </header>\n\n <section>\n <div class=\"loading\"></div>\n <iframe title=\"fast\" id=\"iframe-speedtest\"></iframe>\n </section>\n </section>\n\n <section class=\"modal-configs\">\n <header>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-x-lg\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"\n />\n </svg>\n </header>\n\n <section>\n <div>\n <h1 class=\"title\">VIVO</h1>\n\n <ul>\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>VIVO 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>VIVO 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>VIVO 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n </ul>\n </div>\n\n <div>\n <h1 class=\"title\">TIM</h1>\n\n <ul>\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>TIM 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>TIM 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>TIM 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n </ul>\n </div>\n\n <div>\n <h1 class=\"title\">CLARO</h1>\n\n <ul>\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>CLARO 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>CLARO 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n\n <li>\n <img src=\"https://basteon.me/assets/images/app/operadoras/VIVO.png\" alt=\"icon\" />\n\n <div>\n <h1>CLARO 1 ➜ CONFIG 1 ➜ SV01.QFN</h1>\n <p>SERVIDOR: ?? ➜ LATÊNCIA BAIXA</p>\n </div>\n </li>\n </ul>\n </div>\n </section>\n </section>\n\n <section class=\"modal-logs\">\n <header>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-x-lg\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"\n />\n </svg>\n </header>\n\n <section>\n <p></p>\n\n <button class=\"clear-logs\" type=\"button\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-stars\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828l.645-1.937zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.734 1.734 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.734 1.734 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.734 1.734 0 0 0 3.407 2.31l.387-1.162zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L10.863.1z\"\n />\n </svg>\n <span>Limpar Registro</span>\n </button>\n </section>\n </section>\n\n <section class=\"modal-alert-clear-data\">\n <header>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-x-lg\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"\n />\n </svg>\n </header>\n\n <section>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-exclamation-triangle\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z\"\n />\n <path\n d=\"M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z\"\n />\n </svg>\n\n <h1>ATENÇÃO</h1>\n\n <p>\n Ao limpar os dados do aplicativo, o aplicativo será redefinido como se estivesse sendo\n instalado pela primeira vez! Essa ação é irreversível. Será necessário inserir o usuário\n e senha novamente e atualizar o aplicativo para carregar as configurações atuais de\n conexão VPN.\n </p>\n\n <div>\n <button type=\"button\" id=\"back-clear-data-button\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-caret-left\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M10 12.796V3.204L4.519 8 10 12.796zm-.659.753-5.48-4.796a1 1 0 0 1 0-1.506l5.48-4.796A1 1 0 0 1 11 3.204v9.592a1 1 0 0 1-1.659.753z\"\n />\n </svg>\n <span>VOLTAR</span>\n </button>\n\n <button type=\"button\" id=\"clear-data-button-confirm\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-trash\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6Z\"\n />\n <path\n d=\"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1ZM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118ZM2.5 3h11V2h-11v1Z\"\n />\n </svg>\n <span>LIMPAR DADOS</span>\n </button>\n </div>\n </section>\n </section>\n\n <section class=\"modal-error-alert\">\n <header>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-x-lg\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"\n />\n </svg>\n </header>\n\n <section></section>\n </section>\n\n <section class=\"modal-status-vpn\">\n <header>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-x-lg\"\n id=\"close-modal-status-vpn\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"\n />\n </svg>\n </header>\n\n <section class=\"modal-status-content\">\n <div class=\"loading-status\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-shield-x\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M5.338 1.59a61.44 61.44 0 0 0-2.837.856.481.481 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.725 10.725 0 0 0 2.287 2.233c.346.244.652.42.893.533.12.057.218.095.293.118a.55.55 0 0 0 .101.025.615.615 0 0 0 .1-.025c.076-.023.174-.061.294-.118.24-.113.547-.29.893-.533a10.726 10.726 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.775 11.775 0 0 1-2.517 2.453 7.159 7.159 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7.158 7.158 0 0 1-1.048-.625 11.777 11.777 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 62.456 62.456 0 0 1 5.072.56z\"\n />\n <path\n d=\"M6.146 5.146a.5.5 0 0 1 .708 0L8 6.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 7l1.147 1.146a.5.5 0 0 1-.708.708L8 7.707 6.854 8.854a.5.5 0 1 1-.708-.708L7.293 7 6.146 5.854a.5.5 0 0 1 0-.708z\"\n />\n </svg>\n </div>\n\n <h1 id=\"modal-status-text\">CONECTADO!</h1>\n </section>\n </section>\n\n <section class=\"modal-checkuser\">\n <header>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-x-lg\"\n id=\"close-modal-checkuser\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"\n />\n </svg>\n </header>\n\n <section></section>\n </section>\n\n <section class=\"modal-loading\">\n <header>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-x-lg\"\n id=\"close-modal-loading\"\n id=\"close-modal-checkuser\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"\n />\n </svg>\n </header>\n\n <section>\n <div>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-calendar3\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z\"\n />\n <path\n d=\"M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z\"\n />\n </svg>\n </div>\n </section>\n </section>\n </main>\n\n <!-- FUNÇÕES DO APP -->\n <script>\n const dtStatusBarHeight = () => DtGetStatusBarHeight.execute()\n const dtNavbarHeight = () => DtGetNavigationBarHeight.execute()\n\n const dtAppLogo = () => DtGetAppConfig.execute('APP_LOGO')\n\n const dtVpnState = () => DtGetVpnState.execute()\n\n const dtTranslateText = (label) => DtTranslateText.execute(label)\n\n const dtAllConfigs = () => DtGetConfigs.execute()\n const dtSetConfig = (id) => DtSetConfig.execute(id)\n const dtGetDefaultConfig = () => DtGetDefaultConfig.execute()\n\n const dtGetLogs = () => DtGetLogs.execute()\n const dtClearLogs = () => DtClearLogs.execute()\n\n const dtGetUsername = () => DtUsername.get()\n const dtSetUsername = (username) => DtUsername.set(username)\n const dtGetPassword = () => DtPassword.get()\n const dtSetPassword = (password) => DtPassword.set(password)\n const dtGetUUID = () => DtUuid.get()\n const dtSetUUID = (uuid) => DtUuid.set(uuid)\n\n const dtUpdate = () => DtStartAppUpdate.execute()\n\n const dtStartVpn = () => DtExecuteVpnStart.execute()\n const dtStopVpn = () => DtExecuteVpnStop.execute()\n\n const dtBatteryOptimization = () => DtIgnoreBatteryOptimizations.execute()\n const dtApnConfiguration = () => DtStartApnActivity.execute()\n const dtStartCheckUser = () => DtStartCheckUser.execute()\n const dtCleanDataApp = () => DtCleanApp.execute()\n const dtStartWebView = (url) => DtStartWebViewActivity.execute(url)\n const dtOpenBrowser = (url) => DtOpenExternalUrl.execute(url)\n </script>\n\n <!-- FUNÇÕES PARA O APP -->\n <script>\n const dtOnNewLogListener = () => writeModalContent()\n const dtConfigClickListener = () => writeInputCarrierList()\n const dtCheckUserStartedListener = () => showModalLoading()\n const dtVpnStateListener = (state) => vpnState(state)\n const dtCheckUserModelListener = (model) => writeModalCheckUser(model)\n\n const dtMessageErrorListener = (model) => writeModalError(model)\n </script>\n\n <!-- FUNÇÕES DE AJUDA -->\n <script>\n const createSvgIcon = (iconPath, Class = '') => {\n const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg')\n svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg')\n svg.setAttribute('width', '16')\n svg.setAttribute('height', '16')\n svg.setAttribute('fill', 'currentColor')\n svg.setAttribute('viewBox', '0 0 16 16')\n svg.setAttribute('class', Class)\n\n const path = document.createElementNS('http://www.w3.org/2000/svg', 'path')\n path.setAttribute('d', iconPath)\n\n svg.appendChild(path)\n return svg\n }\n\n const createListItem = (iconPath, Class = '', text) => {\n const li = document.createElement('li')\n const svg = createSvgIcon(iconPath, Class)\n const span = document.createElement('span')\n span.setAttribute('class', Class)\n span.innerHTML = text\n li.appendChild(svg)\n li.appendChild(span)\n return li\n }\n </script>\n\n <!-- FUNÇÕES DO LAYOUT -->\n <script>\n const vpnState = (state) => {\n const stateLabel = state || dtVpnState()\n\n switch (stateLabel) {\n case 'DISCONNECTED':\n StartStopVPNButton.html(dtTranslateText('LBL_BTN_START'))\n writeModalVpnState(disconnected())\n hiddenModalVpnState()\n writeStatusVpn(disconnected())\n return disconnected()\n case 'CONNECTING':\n StartStopVPNButton.html(dtTranslateText('LBL_BTN_STOP'))\n writeModalVpnState(connecting())\n writeStatusVpn(connecting())\n return connecting()\n case 'CONNECTED':\n StartStopVPNButton.html(dtTranslateText('LBL_BTN_STOP'))\n writeModalVpnState(connected())\n writeStatusVpn(connected())\n return connected()\n case 'STOPPING':\n StartStopVPNButton.html(dtTranslateText('LBL_BTN_STOPPING'))\n writeModalVpnState(stopping())\n writeStatusVpn(stopping())\n return stopping()\n case 'NO_NETWORK':\n StartStopVPNButton.html(dtTranslateText('LBL_BTN_STOP'))\n writeModalVpnState(noNetwork())\n writeStatusVpn(noNetwork())\n return noNetwork()\n case 'AUTH':\n StartStopVPNButton.html(dtTranslateText('LBL_BTN_STOP'))\n writeModalVpnState(auth())\n writeStatusVpn(auth())\n return auth()\n case 'AUTH_FAILED':\n StartStopVPNButton.html(dtTranslateText('LBL_BTN_STOP'))\n writeModalVpnState(authFailed())\n writeStatusVpn(authFailed())\n return authFailed()\n default:\n return 'Não foi possível obter o status da conexão'\n }\n }\n\n const showConfigMenu = () => {\n const menu = document.querySelector('section.menu')\n\n if (!menu.className.includes('boingInUp') && !menu.className.includes('boingOutDown')) {\n menu.classList.add('magictime', 'boingInUp')\n HomeMenu.style({ visibility: `hidden` })\n } else if (menu.className.includes('boingInUp')) {\n menu.classList.remove('magictime', 'boingInUp')\n menu.classList.add('magictime', 'boingOutDown')\n HomeMenu.style({ visibility: `visible` })\n } else if (menu.className.includes('boingOutDown')) {\n menu.classList.remove('magictime', 'boingOutDown')\n menu.classList.add('magictime', 'boingInUp')\n HomeMenu.style({ visibility: `hidden` })\n } else {\n console.log('ocorreu um erro')\n }\n }\n\n const showModalSpeedtest = () => {\n ModalSpeedtest.addClass('show')\n\n IframeSpeedtest.attr({ src: 'https://fast.com/pt/' })\n }\n const hiddenModalSpeedtest = () => {\n IframeSpeedtest.attr({ src: '' })\n\n ModalSpeedtest.removeClass('show')\n }\n\n const writeCarrierList = () => {\n const writeCarrierList = document.querySelector('section.modal-configs section')\n\n writeCarrierList.innerHTML = ''\n\n const data = JSON.parse(dtAllConfigs())\n data.sort((a, b) => a.sorter - b.sorter)\n data.forEach((item, index) => item.items.sort((a, b) => a.sorter - b.sorter))\n data.forEach((category) => {\n const div = document.createElement('div')\n const h1 = document.createElement('h1')\n\n h1.classList.add('title')\n h1.innerHTML = category.name\n\n const ul = document.createElement('ul')\n\n category.items.forEach((item) => {\n const li = document.createElement('li')\n li.innerHTML = `<img src=\"${item.icon}\" alt=\"icon\" /><div><h1>${item.name}</h1><p>${\n item.description ?? ''\n }</p></div>`\n\n li.addEventListener('click', () => {\n dtSetConfig(item.id)\n\n ModalCarrierList.removeClass('show')\n })\n\n ul.appendChild(li)\n })\n\n div.appendChild(h1)\n div.appendChild(ul)\n\n writeCarrierList.appendChild(div)\n })\n }\n const writeInputCarrierList = () => {\n const data = JSON.parse(dtGetDefaultConfig())\n\n const isV2ray = data?.mode?.toLowerCase()?.startsWith('v2ray')\n\n InputCarrierValue.attr({ placeholder: data.name ?? 'Escolha sua operadora' })\n\n if (!data?.auth?.v2ray_uuid && isV2ray) {\n ContainerInputUser.style({ display: 'none' })\n ContainerInputPassword.style({ display: 'none' })\n ContainerInputUUID.style({ display: 'flex' })\n InputUUIDValue.attr({ value: dtGetUUID() ?? '' })\n } else {\n ContainerInputPassword.style({ display: 'flex' })\n ContainerInputUUID.style({ display: 'none' })\n InputUserValue.attr({ value: dtGetUsername() ?? '' })\n InputPasswordValue.attr({ value: dtGetPassword() ?? '' })\n }\n }\n const showModalCarrierList = () => {\n writeCarrierList()\n\n ModalCarrierList.addClass('show')\n }\n const hiddenModalCarrierList = () => {\n ModalCarrierList.removeClass('show')\n }\n\n const writeModalContent = () => {\n const data = JSON.parse(dtGetLogs())\n\n let content = ''\n\n data.forEach((item) => {\n content += `${Object.keys(item)} ${item[Object.keys(item)]} <br>`\n })\n\n ModalLoggerContent.html(content)\n }\n const showModalLogger = () => {\n dtOnNewLogListener()\n\n const modal = document.querySelector('section.modal-logs')\n\n if (!modal.className.includes('show')) {\n ModalLogger.addClass('show')\n }\n }\n const hiddenModalLogger = () => {\n ModalLogger.removeClass('show')\n }\n\n const startStopVpn = () => {\n const state = dtVpnState()\n\n if (state !== 'CONNECTED') {\n dtStartVpn()\n showModalVpnState()\n } else {\n dtStopVpn()\n }\n }\n\n const writeStatusVpn = (state) => {\n const icon = state.icon\n const text = `<h1 style=\"color: ${state.color}\">${state.text}</h1>`\n\n ContentContainerSVpnState.html(icon + text)\n\n return icon + text\n }\n\n const writeModalVpnState = (state) => {\n const divIcon = `<div class=\"loading-status\">${state.icon}</div>`\n const titleStatus = `<h1>${state.text}</h1>`\n\n ContentModalVpnState.html(divIcon + titleStatus)\n\n return divIcon + titleStatus\n }\n const showModalVpnState = () => {\n const data = JSON.parse(dtGetDefaultConfig())\n\n if (!data || !dtGetUsername() || !dtGetPassword()) {\n return\n } else {\n ModalVpnState.addClass('show')\n }\n }\n const hiddenModalVpnState = () => {\n ModalVpnState.removeClass('show')\n }\n\n const showModalLoading = () => {\n if (!JSON.parse(dtGetDefaultConfig())?.urlCheckUser) {\n hiddenModalVpnState()\n } else {\n hiddenModalVpnState()\n ModalLoading.addClass('show')\n }\n }\n const hiddenModalLoading = () => {\n ModalLoading.removeClass('show')\n }\n\n const writeModalCheckUser = (model) => {\n const data = JSON.parse(model)\n\n ContentModalCheckUser.html(`\n <h1>DETALHES DO USUÁRIO</h1>\n\n <div>\n <i class=\"bi bi-person\"></i>\n <span>Nome do usuário: ${data.username}</span>\n </div>\n\n <div>\n <i class=\"bi bi-calendar-week\"></i>\n <span>Expiração: ${data.expiration_date}</span>\n </div>\n\n <div>\n <i class=\"bi bi-hourglass-split\"></i>\n <span>Dias restantes: ${data.expiration_days}</span>\n </div>\n\n <div>\n <i class=\"bi bi-people\"></i>\n <span>Dispositivos: ${data.count_connections}|${data.limit_connections}</span>\n </div>\n `)\n\n showModalCheckUser()\n }\n const showModalCheckUser = () => {\n hiddenModalLoading()\n ModalCheckUser.addClass('show')\n }\n const hiddenModalCheckUser = () => {\n ModalCheckUser.removeClass('show')\n }\n\n const showModalAlertClearData = () => {\n ModalAlertClearData.addClass('show')\n }\n const hiddenModalAlertClearData = () => {\n ModalAlertClearData.removeClass('show')\n }\n\n const writeModalError = (model) => {\n const data = JSON.parse(model)\n\n const svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-exclamation-triangle\" viewBox=\"0 0 16 16\"><path d=\"M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z\"/><path d=\"M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z\"/></svg>`\n const h1 = `<h1 id=\"title-error-alert-title\">${data.title}</h1>`\n const p = `<p id=\"title-error-alert-description\">${data.content}</p>`\n\n ContentModalError.html(svg + h1 + p)\n hiddenModalSpeedtest()\n hiddenModalCarrierList()\n hiddenModalLogger()\n hiddenModalVpnState()\n hiddenModalLoading()\n hiddenModalCheckUser()\n\n showModalError()\n }\n const showModalError = () => {\n ModalError.addClass('show')\n }\n const hiddenModalError = () => {\n ModalError.removeClass('show')\n }\n\n const getAppLogo = () => {\n const logo = dtAppLogo()\n\n if (!logo) {\n return false\n } else {\n return JSON.parse(logo).value\n }\n }\n </script>\n\n <!-- ESTADOS DE CONEXÃO -->\n <script>\n const disconnected = () => {\n const state = {\n icon: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-outlet\" viewBox=\"0 0 16 16\"><path d=\"M3.34 2.994c.275-.338.68-.494 1.074-.494h7.172c.393 0 .798.156 1.074.494.578.708 1.84 2.534 1.84 5.006 0 2.472-1.262 4.297-1.84 5.006-.276.338-.68.494-1.074.494H4.414c-.394 0-.799-.156-1.074-.494C2.762 12.297 1.5 10.472 1.5 8c0-2.472 1.262-4.297 1.84-5.006zm1.074.506a.376.376 0 0 0-.299.126C3.599 4.259 2.5 5.863 2.5 8c0 2.137 1.099 3.74 1.615 4.374.06.073.163.126.3.126h7.17c.137 0 .24-.053.3-.126.516-.633 1.615-2.237 1.615-4.374 0-2.137-1.099-3.74-1.615-4.374a.376.376 0 0 0-.3-.126h-7.17z\"/><path d=\"M6 5.5a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm4 0a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zM7 10v1h2v-1a1 1 0 0 0-2 0z\"/></svg>`,\n color: '#FFFFFF',\n text: dtTranslateText('LBL_STATE_DISCONNECTED'),\n }\n\n return state\n }\n\n const connecting = () => {\n const state = {\n icon: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-plug\" viewBox=\"0 0 16 16\"><path d=\"M6 0a.5.5 0 0 1 .5.5V3h3V.5a.5.5 0 0 1 1 0V3h1a.5.5 0 0 1 .5.5v3A3.5 3.5 0 0 1 8.5 10c-.002.434-.01.845-.04 1.22-.041.514-.126 1.003-.317 1.424a2.083 2.083 0 0 1-.97 1.028C6.725 13.9 6.169 14 5.5 14c-.998 0-1.61.33-1.974.718A1.922 1.922 0 0 0 3 16H2c0-.616.232-1.367.797-1.968C3.374 13.42 4.261 13 5.5 13c.581 0 .962-.088 1.218-.219.241-.123.4-.3.514-.55.121-.266.193-.621.23-1.09.027-.34.035-.718.037-1.141A3.5 3.5 0 0 1 4 6.5v-3a.5.5 0 0 1 .5-.5h1V.5A.5.5 0 0 1 6 0zM5 4v2.5A2.5 2.5 0 0 0 7.5 9h1A2.5 2.5 0 0 0 11 6.5V4H5z\"/></svg>`,\n color: '#FFFF00',\n text: dtTranslateText('LBL_STATE_CONNECTING'),\n }\n\n return state\n }\n\n const connected = () => {\n const state = {\n icon: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-plugin\" viewBox=\"0 0 16 16\"><path fill-rule=\"evenodd\" d=\"M1 8a7 7 0 1 1 2.898 5.673c-.167-.121-.216-.406-.002-.62l1.8-1.8a3.5 3.5 0 0 0 4.572-.328l1.414-1.415a.5.5 0 0 0 0-.707l-.707-.707 1.559-1.563a.5.5 0 1 0-.708-.706l-1.559 1.562-1.414-1.414 1.56-1.562a.5.5 0 1 0-.707-.706l-1.56 1.56-.707-.706a.5.5 0 0 0-.707 0L5.318 5.975a3.5 3.5 0 0 0-.328 4.571l-1.8 1.8c-.58.58-.62 1.6.121 2.137A8 8 0 1 0 0 8a.5.5 0 0 0 1 0Z\"/></svg>`,\n color: '#00FF00',\n text: dtTranslateText('LBL_STATE_CONNECTED'),\n }\n\n return state\n }\n\n const stopping = () => {\n const state = {\n icon: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-stop\" viewBox=\"0 0 16 16\"><path d=\"M3.5 5A1.5 1.5 0 0 1 5 3.5h6A1.5 1.5 0 0 1 12.5 5v6a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 11V5zM5 4.5a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5V5a.5.5 0 0 0-.5-.5H5z\"/></svg>`,\n color: '#FFFF00',\n text: dtTranslateText('LBL_STATE_STOPPING'),\n }\n\n return state\n }\n\n const noNetwork = () => {\n const state = {\n icon: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-wifi-off\" viewBox=\"0 0 16 16\"><path d=\"M10.706 3.294A12.545 12.545 0 0 0 8 3C5.259 3 2.723 3.882.663 5.379a.485.485 0 0 0-.048.736.518.518 0 0 0 .668.05A11.448 11.448 0 0 1 8 4c.63 0 1.249.05 1.852.148l.854-.854zM8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065 8.448 8.448 0 0 1 3.51-1.27L8 6zm2.596 1.404.785-.785c.63.24 1.227.545 1.785.907a.482.482 0 0 1 .063.745.525.525 0 0 1-.652.065 8.462 8.462 0 0 0-1.98-.932zM8 10l.933-.933a6.455 6.455 0 0 1 2.013.637c.285.145.326.524.1.75l-.015.015a.532.532 0 0 1-.611.09A5.478 5.478 0 0 0 8 10zm4.905-4.905.747-.747c.59.3 1.153.645 1.685 1.03a.485.485 0 0 1 .047.737.518.518 0 0 1-.668.05 11.493 11.493 0 0 0-1.811-1.07zM9.02 11.78c.238.14.236.464.04.66l-.707.706a.5.5 0 0 1-.707 0l-.707-.707c-.195-.195-.197-.518.04-.66A1.99 1.99 0 0 1 8 11.5c.374 0 .723.102 1.021.28zm4.355-9.905a.53.53 0 0 1 .75.75l-10.75 10.75a.53.53 0 0 1-.75-.75l10.75-10.75z\"/></svg>`,\n color: '#FF0000',\n text: dtTranslateText('LBL_STATE_NO_NETWORK'),\n }\n\n return state\n }\n\n const auth = () => {\n const state = {\n icon: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-person-lock\" viewBox=\"0 0 16 16\"><path d=\"M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM8 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 5.996V14H3s-1 0-1-1 1-4 6-4c.564 0 1.077.038 1.544.107a4.524 4.524 0 0 0-.803.918A10.46 10.46 0 0 0 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h5ZM9 13a1 1 0 0 1 1-1v-1a2 2 0 1 1 4 0v1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-2Zm3-3a1 1 0 0 0-1 1v1h2v-1a1 1 0 0 0-1-1Z\"/></svg>`,\n color: '#FFFF00',\n text: dtTranslateText('LBL_STATE_AUTH'),\n }\n\n return state\n }\n\n const authFailed = () => {\n const state = {\n icon: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-person-slash\" viewBox=\"0 0 16 16\"><path d=\"M13.879 10.414a2.501 2.501 0 0 0-3.465 3.465l3.465-3.465Zm.707.707-3.465 3.465a2.501 2.501 0 0 0 3.465-3.465Zm-4.56-1.096a3.5 3.5 0 1 1 4.949 4.95 3.5 3.5 0 0 1-4.95-4.95ZM11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM8 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm.256 7a4.474 4.474 0 0 1-.229-1.004H3c.001-.246.154-.986.832-1.664C4.484 10.68 5.711 10 8 10c.26 0 .507.009.74.025.226-.341.496-.65.804-.918C9.077 9.038 8.564 9 8 9c-5 0-6 3-6 4s1 1 1 1h5.256Z\"/></svg>`,\n color: '#FF0000',\n text: dtTranslateText('LBL_STATE_AUTH_FAILED'),\n }\n\n return state\n }\n </script>\n\n <!-- DOM WRAPPER -->\n <script>\n const Dom = (selector) => {\n const _elements = document.querySelectorAll(selector)\n\n const wrapper = {\n on(listeners) {\n for (const [event, listener] of Object.entries(listeners)) {\n _elements.forEach((element) => {\n element.addEventListener(event, listener)\n })\n }\n\n return wrapper\n },\n addClass: (...tokens) => {\n _elements.forEach((element) => {\n element.classList.add(...tokens)\n })\n\n return wrapper\n },\n removeClass: (...tokens) => {\n _elements.forEach((element) => {\n element.classList.remove(...tokens)\n })\n\n return wrapper\n },\n toggleClass: (token, force) => {\n _elements.forEach((element) => {\n element.classList.toggle(token, force)\n })\n\n return wrapper\n },\n style(styles) {\n for (const [property, value] of Object.entries(styles)) {\n console.log(value)\n _elements.forEach((element) => {\n element.style[property] = value\n })\n }\n\n return wrapper\n },\n attr(attrs) {\n for (const [name, value] of Object.entries(attrs)) {\n _elements.forEach((element) => element.setAttribute(name, value))\n }\n\n return wrapper\n },\n html(value) {\n _elements.forEach((element) => (element.innerHTML = value))\n return wrapper\n },\n }\n\n return wrapper\n }\n </script>\n\n <!-- VÁRIAVEIS -->\n <script>\n const Main = Dom('main')\n\n const AppLogo = Dom('#app-logo')\n\n const ConfigMenu = Dom('#configuracao')\n const ContainerConfigMenu = Dom('section.menu')\n\n const BatteryOptimizationButton = Dom('#battery-optimization')\n const ApnConfigurationButton = Dom('#apn-configuration')\n const CheckuserButton = Dom('#checkuser')\n const SpeedtestButton = Dom('#speedtest-button')\n const ClearDataAppButton = Dom('#clean-data-app')\n\n const GenTestButton = Dom('#gen-test')\n const BuyAccessButton = Dom('#buy-access')\n const ContactSupportButton = Dom('#contact-support')\n\n const ModalSpeedtest = Dom('section.modal-speedtest')\n const CloseModalSpeedtest = Dom('section.modal-speedtest header svg')\n const LoadingSpeedtest = Dom('section.modal-speedtest section div.loading')\n const IframeSpeedtest = Dom('#iframe-speedtest')\n\n const SelectCarrierButton = Dom('#operadora')\n const ModalCarrierList = Dom('section.modal-configs')\n const CloseModalCarrierList = Dom('section.modal-configs header svg')\n const ModalContentCarrierList = Dom('section.modal-configs section')\n\n const ContainerInputUser = Dom('#user-container')\n const ContainerInputPassword = Dom('#password-container')\n const ContainerInputUUID = Dom('#uuid-container')\n\n const InputCarrierValue = Dom('#operadora input')\n const InputUserValue = Dom('#user-container input')\n const InputPasswordValue = Dom('#password-container input')\n const InputUUIDValue = Dom('#uuid-container input')\n\n const RefreshButton = Dom('#update-config')\n const LoggerButton = Dom('#logs-button')\n const StartStopVPNButton = Dom('#vpn-start')\n\n const ContainerSVpnState = Dom('section.status-vpn')\n const ContentContainerSVpnState = Dom('section.status-vpn section')\n\n const ModalVpnState = Dom('section.modal-status-vpn')\n const CloseModalVpnState = Dom('section.modal-status-vpn header svg')\n const ContentModalVpnState = Dom('section.modal-status-vpn section.modal-status-content')\n\n const ModalLogger = Dom('section.modal-logs')\n const CloseModalLogger = Dom('section.modal-logs header svg')\n const ModalLoggerContent = Dom('section.modal-logs section p')\n const CleanLoggerContent = Dom('section.modal-logs section button')\n\n const ModalLoading = Dom('section.modal-loading')\n const CloseModalLoading = Dom('section.modal-loading header svg')\n\n const ModalCheckUser = Dom('section.modal-checkuser')\n const CloseModalCheckUser = Dom('section.modal-checkuser header svg')\n const ContentModalCheckUser = Dom('section.modal-checkuser section')\n\n const ModalAlertClearData = Dom('section.modal-alert-clear-data')\n const CloseModalAlertClearData = Dom('section.modal-alert-clear-data header svg')\n const BackModalAlertClearData = Dom('#back-clear-data-button')\n const ConfirmModalAlertClearData = Dom('#clear-data-button-confirm')\n\n const ModalError = Dom('section.modal-error-alert')\n const CloseModalError = Dom('section.modal-error-alert header svg')\n const ContentModalError = Dom('section.modal-error-alert section')\n\n const HomeMenu = Dom('section.home-menu')\n </script>\n\n <!-- VARIAVEIS ROOT -->\n <script>\n document.documentElement.style.setProperty(\n '--margem-do-topo-do-modal',\n `${dtStatusBarHeight() + 10}px`\n )\n\n document.documentElement.style.setProperty(\n '--margem-do-bottom-do-modal',\n `${dtNavbarHeight() + 10}px`\n )\n </script>\n\n <!-- AÇÕES -->\n <script>\n Main.style({ padding: `${dtStatusBarHeight() + 10}px 0px 0px 0px` })\n HomeMenu.style({ bottom: `${dtNavbarHeight() + 10}px` })\n\n AppLogo.attr({ src: getAppLogo() })\n\n ConfigMenu.on({ click: () => showConfigMenu() })\n\n BatteryOptimizationButton.on({ click: () => dtBatteryOptimization() })\n ApnConfigurationButton.on({ click: () => dtApnConfiguration() })\n\n SpeedtestButton.on({ click: () => showModalSpeedtest() })\n CloseModalSpeedtest.on({ click: () => hiddenModalSpeedtest() })\n\n SelectCarrierButton.on({ click: () => showModalCarrierList() })\n CloseModalCarrierList.on({ click: () => hiddenModalCarrierList() })\n\n InputUserValue.on({ input: (e) => dtSetUsername(e.target.value) })\n InputPasswordValue.on({ input: (e) => dtSetPassword(e.target.value) })\n InputUUIDValue.on({ input: (e) => dtSetUUID(e.target.value) })\n\n RefreshButton.on({ click: () => dtUpdate() })\n\n LoggerButton.on({ click: () => showModalLogger() })\n CloseModalLogger.on({ click: () => hiddenModalLogger() })\n CleanLoggerContent.on({ click: () => dtClearLogs() })\n\n StartStopVPNButton.on({ click: () => startStopVpn() })\n\n ContentContainerSVpnState.html(vpnState())\n\n ContentModalVpnState.html(vpnState())\n CloseModalVpnState.on({ click: () => hiddenModalVpnState() })\n\n CloseModalLoading.on({ click: () => hiddenModalLoading() })\n\n CloseModalCheckUser.on({ click: () => hiddenModalCheckUser() })\n\n CheckuserButton.on({ click: () => dtStartCheckUser() })\n\n ClearDataAppButton.on({ click: () => showModalAlertClearData() })\n CloseModalAlertClearData.on({ click: () => hiddenModalAlertClearData() })\n BackModalAlertClearData.on({ click: () => hiddenModalAlertClearData() })\n ConfirmModalAlertClearData.on({ click: () => dtCleanDataApp() })\n\n CloseModalError.on({ click: () => hiddenModalError() })\n\n GenTestButton.on({\n click: () => dtStartWebView('https://spacez.pshnet.online/home/criar_teste.php?id=bhU&byid=1&mainid=0'),\n })\n\n BuyAccessButton.on({\n click: () => dtOpenBrowser('https://wa.me//5513982194402'),\n })\n\n ContactSupportButton.on({\n click: () =>\n dtOpenBrowser(\n 'https://chat.whatsapp.com/DuLQPKp1Q9i3IIKaXeBmqo'),\n })\n\n writeInputCarrierList()\n </script>\n </body>\n</html>",
  345. "type": "HTML",
  346. "status": "ACTIVE",
  347. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  348. },
  349. {
  350. "id": 22200,
  351. "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
  352. "name": "APP_SUPPORT_BUTTON",
  353. "value": null,
  354. "type": "HTML",
  355. "status": "ACTIVE",
  356. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  357. },
  358. {
  359. "id": 22201,
  360. "label": "PAGINA WEBVIEW (POR SUA CONTA E RISCO)",
  361. "name": "APP_WEB_VIEW",
  362. "value": null,
  363. "type": "HTML",
  364. "status": "ACTIVE",
  365. "user_id": "d37036c7-833d-4246-8b45-c0ce6e8daaa2"
  366. }
  367. ]

comments powered by Disqus