Não tem nada aqui


SUBMITTED BY: Chacal1107

DATE: Nov. 10, 2023, 9:48 p.m.

UPDATED: Jan. 9, 2024, 9:55 p.m.

FORMAT: Text only

SIZE: 23.0 kB

HITS: 4440

  1. [
  2. {
  3. "id": 27013,
  4. "label": "Nome do app",
  5. "name": "APP_NAME",
  6. "value": "CONNECT WORLD™",
  7. "type": "STRING",
  8. "status": "ACTIVE",
  9. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  10. },
  11. {
  12. "id": 27014,
  13. "label": "Logo do app",
  14. "name": "APP_LOGO",
  15. "value": "https://i.ibb.co/cgvrvRD/DTyyxbbodj.png",
  16. "type": "IMAGE",
  17. "status": "ACTIVE",
  18. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  19. },
  20. {
  21. "id": 27015,
  22. "label": "Imagem de fundo",
  23. "name": "APP_BACKGROUND_IMAGE",
  24. "value": "https://i.ibb.co/7nVr2JB/DTke432nqb.jpg",
  25. "type": "IMAGE",
  26. "status": "ACTIVE",
  27. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  28. },
  29. {
  30. "id": 27016,
  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": "IMAGE"
  45. },
  46. "type": "SELECT",
  47. "status": "ACTIVE",
  48. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  49. },
  50. {
  51. "id": 27017,
  52. "label": "Cor de fundo",
  53. "name": "APP_BACKGROUND_COLOR",
  54. "value": "#080e16c7",
  55. "type": "COLOR",
  56. "status": "ACTIVE",
  57. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  58. },
  59. {
  60. "id": 27018,
  61. "label": "Cor do card inicial",
  62. "name": "APP_CARD_COLOR",
  63. "value": "#1d242e73",
  64. "type": "COLOR",
  65. "status": "ACTIVE",
  66. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  67. },
  68. {
  69. "id": 27019,
  70. "label": "Raio do card inicial",
  71. "name": "APP_CARD_RADIUS",
  72. "value": 20,
  73. "type": "INTEGER",
  74. "status": "ACTIVE",
  75. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  76. },
  77. {
  78. "id": 27020,
  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": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  85. },
  86. {
  87. "id": 27021,
  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": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  94. },
  95. {
  96. "id": 27022,
  97. "label": "Cor do card de configurações",
  98. "name": "APP_CARD_CONFIG_COLOR",
  99. "value": "#0E171EC9",
  100. "type": "COLOR",
  101. "status": "ACTIVE",
  102. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  103. },
  104. {
  105. "id": 27023,
  106. "label": "Cor do fundo dos dialogs",
  107. "name": "APP_DIALOG_BACKGROUND_COLOR",
  108. "value": "#050C5AE4",
  109. "type": "COLOR",
  110. "status": "ACTIVE",
  111. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  112. },
  113. {
  114. "id": 27024,
  115. "label": "Cor do fundo do dialog de log",
  116. "name": "APP_DIALOG_LOGGER_COLOR",
  117. "value": "#080e16c7",
  118. "type": "COLOR",
  119. "status": "ACTIVE",
  120. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  121. },
  122. {
  123. "id": 27025,
  124. "label": "Cor das bordas",
  125. "name": "APP_BORDER_COLOR",
  126. "value": "#1d242e73",
  127. "type": "COLOR",
  128. "status": "ACTIVE",
  129. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  130. },
  131. {
  132. "id": 27026,
  133. "label": "Cor dos inputs",
  134. "name": "APP_INPUT_COLOR",
  135. "value": "#1d242e73",
  136. "type": "COLOR",
  137. "status": "ACTIVE",
  138. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  139. },
  140. {
  141. "id": 27027,
  142. "label": "Raio dos inputs",
  143. "name": "APP_INPUT_RADIUS",
  144. "value": 25,
  145. "type": "INTEGER",
  146. "status": "ACTIVE",
  147. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  148. },
  149. {
  150. "id": 27028,
  151. "label": "Cor dos textos",
  152. "name": "APP_TEXT_COLOR",
  153. "value": "#FFFFFFFF",
  154. "type": "COLOR",
  155. "status": "ACTIVE",
  156. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  157. },
  158. {
  159. "id": 27029,
  160. "label": "Cor dos botões",
  161. "name": "APP_BUTTON_COLOR",
  162. "value": "#1d242e73",
  163. "type": "COLOR",
  164. "status": "ACTIVE",
  165. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  166. },
  167. {
  168. "id": 27030,
  169. "label": "Raio dos botões",
  170. "name": "APP_BUTTON_RADIUS",
  171. "value": 25,
  172. "type": "INTEGER",
  173. "status": "ACTIVE",
  174. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  175. },
  176. {
  177. "id": 27031,
  178. "label": "Cor dos icones",
  179. "name": "APP_ICON_COLOR",
  180. "value": "#FFFFFFFF",
  181. "type": "COLOR",
  182. "status": "ACTIVE",
  183. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  184. },
  185. {
  186. "id": 27032,
  187. "label": "Exibir modo de conexão",
  188. "name": "APP_SHOW_CONNECTION_MODE",
  189. "value": false,
  190. "type": "BOOLEAN",
  191. "status": "ACTIVE",
  192. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  193. },
  194. {
  195. "id": 27033,
  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": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  202. },
  203. {
  204. "id": 27034,
  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": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  211. },
  212. {
  213. "id": 27035,
  214. "label": "Usar limiter de conexão",
  215. "name": "APP_CONNECTION_LIMITER",
  216. "value": false,
  217. "type": "BOOLEAN",
  218. "status": "ACTIVE",
  219. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  220. },
  221. {
  222. "id": 27036,
  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": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  229. },
  230. {
  231. "id": 27037,
  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": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  238. },
  239. {
  240. "id": 27038,
  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": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  247. },
  248. {
  249. "id": 27039,
  250. "label": "Ativar dialog de erros",
  251. "name": "APP_DIALOG_ERROR_ENABLED",
  252. "value": false,
  253. "type": "BOOLEAN",
  254. "status": "ACTIVE",
  255. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  256. },
  257. {
  258. "id": 27040,
  259. "label": "Ativar dialog de checkuser",
  260. "name": "APP_CHECKUSER_DIALOG_ENABLED",
  261. "value": true,
  262. "type": "BOOLEAN",
  263. "status": "ACTIVE",
  264. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  265. },
  266. {
  267. "id": 27041,
  268. "label": "Ativar toast de sucesso",
  269. "name": "APP_SUCCESS_TOAST_ENABLED",
  270. "value": true,
  271. "type": "BOOLEAN",
  272. "status": "ACTIVE",
  273. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  274. },
  275. {
  276. "id": 27042,
  277. "label": "Ativar toast de erro",
  278. "name": "APP_ERROR_TOAST_ENABLED",
  279. "value": false,
  280. "type": "BOOLEAN",
  281. "status": "ACTIVE",
  282. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  283. },
  284. {
  285. "id": 27043,
  286. "label": "Usar layout webview",
  287. "name": "APP_LAYOUT_WEBVIEW_ENABLED",
  288. "value": false,
  289. "type": "BOOLEAN",
  290. "status": "ACTIVE",
  291. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  292. },
  293. {
  294. "id": 27044,
  295. "label": "Mensagem",
  296. "name": "APP_MESSAGE",
  297. "value": "😎 Seja bem vindo a CONNECT WORLD™",
  298. "type": "TEXT",
  299. "status": "ACTIVE",
  300. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  301. },
  302. {
  303. "id": 27046,
  304. "label": "Tipo de mensagem",
  305. "name": "APP_MESSAGE_TYPE",
  306. "value": {
  307. "options": [
  308. {
  309. "label": "Alerta",
  310. "value": "ALERT"
  311. },
  312. {
  313. "label": "Informação",
  314. "value": "INFO"
  315. },
  316. {
  317. "label": "Boas vindas",
  318. "value": "WELCOME"
  319. },
  320. {
  321. "label": "Sem mensagem",
  322. "value": "NONE"
  323. }
  324. ],
  325. "selected": "NONE"
  326. },
  327. "type": "SELECT",
  328. "status": "ACTIVE",
  329. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  330. },
  331. {
  332. "id": 27045,
  333. "label": "URL de atualização do aplicativo",
  334. "name": "APP_UPDATE_URL",
  335. "value": null,
  336. "type": "URL",
  337. "status": "ACTIVE",
  338. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  339. },
  340. {
  341. "id": 27047,
  342. "label": "LAYOUT WEBVIEW (POR SUA CONTA E RISCO)",
  343. "name": "APP_LAYOUT_WEBVIEW",
  344. "value": null,
  345. "type": "HTML",
  346. "status": "ACTIVE",
  347. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  348. },
  349. {
  350. "id": 27048,
  351. "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
  352. "name": "APP_SUPPORT_BUTTON",
  353. "value": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n\n <title>979789237 - @raionetoficial</title>\n\n <style>\n :root {\n font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;\n line-height: 1.5;\n font-weight: 400;\n font-synthesis: none;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n\n --space-status-bar: 10px;\n --space-nav-bar: 33px;\n }\n\n *,\n *::before,\n *::after {\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 main {\n max-width: 600px;\n\n display: flex;\n flex-direction: column;\n\n margin: 0 auto;\n padding: var(--space-status-bar) 10px var(--space-nav-bar) 10px;\n }\n\n section.bottom {\n width: 100%;\n height: auto;\n\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n margin: auto 0 0 0;\n }\n\n section.bottom button {\n min-height: 60px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-direction: column;\n gap: 5px;\n\n padding: 3%;\n\n border: 0;\n border-radius: 10px;\n\n background: #03030359;\n }\n\n section.bottom button span {\n font-size: 0.7rem;\n font-weight: bold;\n text-transform: uppercase;\n color: #ffffff;\n }\n\n section.bottom button svg {\n color: #ffffff;\n }\n\n .display-none {\n display: none;\n }\n </style>\n </head>\n <body>\n <main>\n <section class=\"bottom\">\n <button type=\"button\" id=\"iptv\">\n <span>ATUALIZAR</span>\n\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-arrow-repeat\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z\"\n />\n <path\n fill-rule=\"evenodd\"\n d=\"M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z\"\n />\n </svg>\n </button>\n\n <button type=\"button\" id=\"youtube\">\n <span>SPEEDTEST</span>\n\n <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" \n width=\"16\" \n height=\"16\" \n viewBox=\"0 0 50 50\"\n style=\"fill:#ffffff;\">\n <path d=\"M 25 2 C 12.317 2 2 12.318 2 25 C 2 31.417 4.6454375 37.226344 8.8984375 41.402344 L 13.240234 37.248047 C 10.017234 34.152047 8 29.811 8 25 C 8 15.626 15.626 8 25 8 C 34.374 8 42 15.626 42 25 C 42 29.811 39.982766 34.152047 36.759766 37.248047 L 41.101562 41.402344 C 45.354562 37.226344 48 31.417 48 25 C 48 12.318 37.683 2 25 2 z M 32.232422 15.232422 L 20 26 L 25 31 L 35.767578 18.767578 L 32.232422 15.232422 z\"></path>\n </svg>\n </button>\n </button>\n \n <button type=\"button\" id=\"apn\">\n <span>AJUSTAR APN</span>\n\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 </button>\n\n <button type=\"button\" id=\"hotspot\">\n <span>Rotear</span>\n\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n id=\"hotspot-on\"\n class=\"bi bi-wifi\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M15.384 6.115a.485.485 0 0 0-.047-.736A12.444 12.444 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 4c2.507 0 4.827.802 6.716 2.164.205.148.49.13.668-.049z\"\n />\n <path\n d=\"M13.229 8.271a.482.482 0 0 0-.063-.745A9.455 9.455 0 0 0 8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065A8.46 8.46 0 0 1 8 7a8.46 8.46 0 0 1 4.576 1.336c.206.132.48.108.653-.065zm-2.183 2.183c.226-.226.185-.605-.1-.75A6.473 6.473 0 0 0 8 9c-1.06 0-2.062.254-2.946.704-.285.145-.326.524-.1.75l.015.015c.16.16.407.19.611.09A5.478 5.478 0 0 1 8 10c.868 0 1.69.201 2.42.56.203.1.45.07.61-.091l.016-.015zM9.06 12.44c.196-.196.198-.52-.04-.66A1.99 1.99 0 0 0 8 11.5a1.99 1.99 0 0 0-1.02.28c-.238.14-.236.464-.04.66l.706.706a.5.5 0 0 0 .707 0l.707-.707z\"\n />\n </svg>\n\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n id=\"hotspot-off\"\n class=\"bi bi-wifi-off display-none\"\n viewBox=\"0 0 16 16\"\n >\n <path\n 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\"\n />\n </svg>\n </button>\n </section>\n </main>\n\n <!-- FUNÇÕES DO APP -->\n <script>\n const appStatusBar = () => DtGetStatusBarHeight.execute()\n const appNavBar = () => DtGetNavigationBarHeight.execute()\n\n const appCarrier = () => Android.getNetworkName()\n const appLocalIp = () => Android.getLocalIP()\n\n const appBattery = () => DtIgnoreBatteryOptimizations.execute()\n const appApn = () => DtStartApnActivity.execute()\n const appLink = (value) => DtStartWebViewActivity.execute(value)\n const appClean = () => DtCleanApp.execute()\n const appCheckUser = () => DtStartCheckUser.execute()\n\n const appGetStatusHotspot = () => DtGetStatusHotSpotService.execute()\n const appStartHotspot = () => DtStartHotSpotService.execute()\n const appStopHotspot = () => DtStopHotSpotService.execute()\n\n const appGetConfigLabel = (label) => DtGetAppConfig.execute(label)\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 ROOT -->\n <script>\n document.documentElement.style.setProperty(\n \"--space-status-bar\",\n `${appStatusBar() + 10}px`\n )\n document.documentElement.style.setProperty(\n \"--space-nav-bar\",\n `${appNavBar() + 10}px`\n )\n </script>\n\n <!-- VARIAVEIS -->\n <script>\n const AllButtons = Dom(\"section.bottom button\")\n\n const ButtonIptv = Dom(\"#iptv\")\n const ButtonYoutube = Dom(\"#youtube\")\n const ButtonRenovar = Dom(\"#renovar\")\n const ButtonApn = Dom(\"#apn\")\n const ButtonHotspot = Dom(\"#hotspot\")\n\n const hotspotIconOn = Dom(\"#hotspot-on\")\n const hotspotIconOff = Dom(\"#hotspot-off\")\n </script>\n\n <!-- FUNÇÕES -->\n <script>\n const setBackgroundStyleButton = () => {\n const data = appGetConfigLabel(\"APP_BUTTON_COLOR\")\n\n AllButtons.style({ background: `${JSON.parse(data).value}` })\n }\n\n const startHotspot = () => {\n appStartHotspot()\n\n hotspotIconOn.addClass(\"display-none\")\n hotspotIconOff.removeClass(\"display-none\")\n }\n\n const stopHotspot = () => {\n appStopHotspot()\n\n hotspotIconOn.removeClass(\"display-none\")\n hotspotIconOff.addClass(\"display-none\")\n }\n\n const toggleHotspot = () => {\n appGetStatusHotspot() === \"STOPPED\" ? startHotspot() : stopHotspot()\n }\n\n const setStatusHotspot = () => {\n if (appGetStatusHotspot() === \"STOPPED\") {\n hotspotIconOn.removeClass(\"display-none\")\n hotspotIconOff.addClass(\"display-none\")\n } else {\n hotspotIconOn.addClass(\"display-none\")\n hotspotIconOff.removeClass(\"display-none\")\n }\n }\n </script>\n\n <!-- AÇÕES -->\n <script>\n ButtonIptv.on({ click: () => DtStartAppUpdate.execute() })\n ButtonYoutube.on({ click: () => appLink(\"https://fast.com/pt/\") })\n ButtonRenovar.on({ click: () => appLink(\"https://topnetbr.store/renovar.php\") })\n ButtonApn.on({ click: () => appApn() })\n ButtonHotspot.on({ click: () => toggleHotspot() })\n\n setStatusHotspot()\n setBackgroundStyleButton()\n </script>\n </body>\n</html>",
  354. "type": "HTML",
  355. "status": "ACTIVE",
  356. "user_id": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  357. },
  358. {
  359. "id": 27049,
  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": "9261b9df-5bd7-4571-9514-9d03e0812c15"
  366. }
  367. ]

comments powered by Disqus