├── English Version └── vb-banking │ ├── html │ ├── img │ │ ├── gradient1.jpg │ │ ├── misdibank.PNG │ │ ├── background.png │ │ ├── creditcard.jpeg │ │ ├── creditcard2.png │ │ └── fonts │ │ │ └── Gilroy-Light.otf │ ├── js │ │ ├── bank.js │ │ └── fontawesome.js │ └── index.html │ ├── fxmanifest.lua │ ├── server │ └── main.lua │ ├── config.lua │ └── client │ └── main.lua ├── French Version └── vb-banking │ ├── html │ ├── img │ │ ├── background.png │ │ ├── gradient1.jpg │ │ ├── misdibank.PNG │ │ ├── creditcard.jpeg │ │ ├── creditcard2.png │ │ └── fonts │ │ │ └── Gilroy-Light.otf │ └── js │ │ ├── bank.js │ │ └── fontawesome.js │ ├── fxmanifest.lua │ ├── README.md │ ├── server │ └── main.lua │ ├── config.lua │ └── client │ └── main.lua ├── Spanish Version └── vb-banking │ ├── html │ ├── img │ │ ├── gradient1.jpg │ │ ├── misdibank.PNG │ │ ├── background.png │ │ ├── creditcard.jpeg │ │ ├── creditcard2.png │ │ └── fonts │ │ │ └── Gilroy-Light.otf │ └── js │ │ ├── bank.js │ │ └── fontawesome.js │ ├── fxmanifest.lua │ ├── server │ └── main.lua │ ├── config.lua │ └── client │ └── main.lua ├── VRP English Version └── vb-banking │ ├── html │ ├── img │ │ ├── background.png │ │ ├── gradient1.jpg │ │ ├── misdibank.PNG │ │ ├── creditcard.jpeg │ │ ├── creditcard2.png │ │ └── fonts │ │ │ └── Gilroy-Light.otf │ ├── js │ │ ├── bank.js │ │ └── fontawesome.js │ └── index.html │ ├── fxmanifest.lua │ ├── server │ └── main.lua │ ├── config.lua │ └── client │ └── main.lua └── README.md /English Version/vb-banking/html/img/gradient1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/English Version/vb-banking/html/img/gradient1.jpg -------------------------------------------------------------------------------- /English Version/vb-banking/html/img/misdibank.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/English Version/vb-banking/html/img/misdibank.PNG -------------------------------------------------------------------------------- /French Version/vb-banking/html/img/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/French Version/vb-banking/html/img/background.png -------------------------------------------------------------------------------- /French Version/vb-banking/html/img/gradient1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/French Version/vb-banking/html/img/gradient1.jpg -------------------------------------------------------------------------------- /French Version/vb-banking/html/img/misdibank.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/French Version/vb-banking/html/img/misdibank.PNG -------------------------------------------------------------------------------- /Spanish Version/vb-banking/html/img/gradient1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/Spanish Version/vb-banking/html/img/gradient1.jpg -------------------------------------------------------------------------------- /Spanish Version/vb-banking/html/img/misdibank.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/Spanish Version/vb-banking/html/img/misdibank.PNG -------------------------------------------------------------------------------- /English Version/vb-banking/html/img/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/English Version/vb-banking/html/img/background.png -------------------------------------------------------------------------------- /English Version/vb-banking/html/img/creditcard.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/English Version/vb-banking/html/img/creditcard.jpeg -------------------------------------------------------------------------------- /English Version/vb-banking/html/img/creditcard2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/English Version/vb-banking/html/img/creditcard2.png -------------------------------------------------------------------------------- /French Version/vb-banking/html/img/creditcard.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/French Version/vb-banking/html/img/creditcard.jpeg -------------------------------------------------------------------------------- /French Version/vb-banking/html/img/creditcard2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/French Version/vb-banking/html/img/creditcard2.png -------------------------------------------------------------------------------- /Spanish Version/vb-banking/html/img/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/Spanish Version/vb-banking/html/img/background.png -------------------------------------------------------------------------------- /Spanish Version/vb-banking/html/img/creditcard.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/Spanish Version/vb-banking/html/img/creditcard.jpeg -------------------------------------------------------------------------------- /Spanish Version/vb-banking/html/img/creditcard2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/Spanish Version/vb-banking/html/img/creditcard2.png -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/img/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/VRP English Version/vb-banking/html/img/background.png -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/img/gradient1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/VRP English Version/vb-banking/html/img/gradient1.jpg -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/img/misdibank.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/VRP English Version/vb-banking/html/img/misdibank.PNG -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/img/creditcard.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/VRP English Version/vb-banking/html/img/creditcard.jpeg -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/img/creditcard2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/VRP English Version/vb-banking/html/img/creditcard2.png -------------------------------------------------------------------------------- /English Version/vb-banking/html/img/fonts/Gilroy-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/English Version/vb-banking/html/img/fonts/Gilroy-Light.otf -------------------------------------------------------------------------------- /French Version/vb-banking/html/img/fonts/Gilroy-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/French Version/vb-banking/html/img/fonts/Gilroy-Light.otf -------------------------------------------------------------------------------- /Spanish Version/vb-banking/html/img/fonts/Gilroy-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/Spanish Version/vb-banking/html/img/fonts/Gilroy-Light.otf -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/img/fonts/Gilroy-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visibait/vb-banking/HEAD/VRP English Version/vb-banking/html/img/fonts/Gilroy-Light.otf -------------------------------------------------------------------------------- /English Version/vb-banking/fxmanifest.lua: -------------------------------------------------------------------------------- 1 | fx_version 'adamant' 2 | 3 | game 'gta5' 4 | 5 | author 'VB-Scripts (VisiBait#0712)' 6 | description 'VB-Banking for ESX' 7 | version '1.0.0' 8 | 9 | ui_page "html/index.html" 10 | 11 | client_scripts { 12 | 'client/*.lua', 13 | 'config.lua' 14 | } 15 | 16 | server_scripts { 17 | '@mysql-async/lib/MySQL.lua', 18 | 'server/main.lua', 19 | 'config.lua' 20 | } 21 | 22 | files { 23 | 'html/*.html', 24 | 'html/js/*.js', 25 | 'html/img/*.png', 26 | 'html/img/*.PNG', 27 | 'html/img/*.jpg', 28 | 'html/css/*.css', 29 | 'html/img/fonts/*.ttf', 30 | 'html/img/fonts/*.otf', 31 | 'html/img/fonts/*.woff', 32 | } -------------------------------------------------------------------------------- /French Version/vb-banking/fxmanifest.lua: -------------------------------------------------------------------------------- 1 | fx_version 'adamant' 2 | 3 | game 'gta5' 4 | 5 | author 'VB-Scripts (VisiBait#0712)' 6 | description 'VB-Banking for ESX' 7 | version '1.0.0' 8 | 9 | ui_page "html/index.html" 10 | 11 | client_scripts { 12 | 'client/*.lua', 13 | 'config.lua' 14 | } 15 | 16 | server_scripts { 17 | '@mysql-async/lib/MySQL.lua', 18 | 'server/main.lua', 19 | 'config.lua' 20 | } 21 | 22 | files { 23 | 'html/*.html', 24 | 'html/js/*.js', 25 | 'html/img/*.png', 26 | 'html/img/*.PNG', 27 | 'html/img/*.jpg', 28 | 'html/css/*.css', 29 | 'html/img/fonts/*.ttf', 30 | 'html/img/fonts/*.otf', 31 | 'html/img/fonts/*.woff', 32 | } -------------------------------------------------------------------------------- /VRP English Version/vb-banking/fxmanifest.lua: -------------------------------------------------------------------------------- 1 | fx_version 'adamant' 2 | 3 | game 'gta5' 4 | 5 | author 'VB-Scripts (VisiBait#0712)' 6 | description 'VB-Banking for vRP 0.5' 7 | version '1.0.0' 8 | 9 | ui_page "html/index.html" 10 | 11 | client_scripts { 12 | 'client/*.lua', 13 | 'config.lua' 14 | } 15 | 16 | server_scripts { 17 | "@vrp/lib/utils.lua", 18 | 'server/main.lua', 19 | 'config.lua' 20 | } 21 | 22 | files { 23 | 'html/*.html', 24 | 'html/js/*.js', 25 | 'html/img/*.png', 26 | 'html/img/*.PNG', 27 | 'html/img/*.jpg', 28 | 'html/css/*.css', 29 | 'html/img/fonts/*.ttf', 30 | 'html/img/fonts/*.otf', 31 | 'html/img/fonts/*.woff', 32 | } -------------------------------------------------------------------------------- /Spanish Version/vb-banking/fxmanifest.lua: -------------------------------------------------------------------------------- 1 | fx_version 'adamant' 2 | 3 | game 'gta5' 4 | 5 | author 'VB-Scripts (VisiBait#0712)' 6 | description 'VB-Banking for ESX' 7 | version '1.0.0' 8 | 9 | ui_page "html/index.html" 10 | 11 | client_scripts { 12 | 'client/*.lua', 13 | 'config.lua' 14 | } 15 | 16 | server_scripts { 17 | '@mysql-async/lib/MySQL.lua', 18 | 'server/main.lua', 19 | 'config.lua' 20 | } 21 | 22 | files { 23 | 'html/*.html', 24 | 'html/js/*.js', 25 | 'html/img/*.png', 26 | 'html/img/*.PNG', 27 | 'html/img/*.jpg', 28 | 'html/css/*.css', 29 | 'html/img/fonts/*.ttf', 30 | 'html/img/fonts/*.otf', 31 | 'html/img/fonts/*.woff', 32 | } 33 | -------------------------------------------------------------------------------- /French Version/vb-banking/README.md: -------------------------------------------------------------------------------- 1 | # VB-Banking: Banking script based off New_Banking by VisiBait#0712 2 | 3 | ## About the Project - Preview 4 | 5 | https://streamable.com/z3h9zw 6 | 7 | ## Features 8 | 9 | Resmon: ~0.01 ms. 10 | 11 | Modern UI, coded in HTML, JS & CSS 12 | 13 | This script is not a licensed product. I do not claim ownership of any brand or image/logo used. Copyrights and/or trademarks of any character and/or image used belong to their respective owners and are not being sold. 14 | 15 | ©VisiBait 2021 16 | 17 | ### Coded using: 18 | 19 | * [JQuery](https://jquery.com) 20 | * [HTML](https://html.spec.whatwg.org/) 21 | * [JS](https://developer.mozilla.org/es/docs/Web/JavaScript) 22 | * [CSS](https://www.w3schools.com/css/) 23 | * [LUA](https://www.lua.org/) 24 | 25 | ### Dependencies: 26 | * [ESX] ESX is needed to make this script work, btw you should be able to convert this to other cores easily. 27 | 28 | ## Contributions 29 | 30 | Any contribution to the project is ** highly appreciated **. 31 | 32 | **Steps to do a PR:** 33 | 1. Fork the script 34 | 2. Modify the script 35 | 3. Upload the files and confirm your changes. 36 | 4. Make a Pull Request 37 | 38 | ## License 39 | 40 | You are not allowed to sell this script, or claim it's yours. Feel free to open a pull request if you find any bugs or you want to improve something. 41 | 42 | ## Contact 43 | 44 | VisiBait - [@visibait](https://twitter.com/visibait) - grafoplays@gmail.com 45 | 46 | Script link: [https://github.com/visibait/vb-banking](https://github.com/visibait/vb-banking) 47 | 48 | ©VisiBait 2021 49 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # VB-Banking: Banking script based off New_Banking by VisiBait#0712 2 | 3 | ## About the Project - Preview 4 | 5 | https://streamable.com/z3h9zw 6 | 7 | ## Features 8 | 9 | Resmon: ~0.01 ms. 10 | 11 | Modern UI, coded in HTML, JS & CSS 12 | 13 | QBCore Version: https://github.com/Fodwi/Vb-Banking-QbCore-Converted 14 | 15 | vRP version coded by ToXicGlo, French Version by CraymHD 16 | 17 | This script is not a licensed product. I do not claim ownership of any brand or image/logo used. Copyrights and/or trademarks of any character and/or image used belong to their respective owners and are not being sold. 18 | 19 | ©VisiBait 2021 20 | 21 | ### Coded using: 22 | 23 | * [JQuery](https://jquery.com) 24 | * [HTML](https://html.spec.whatwg.org/) 25 | * [JS](https://developer.mozilla.org/es/docs/Web/JavaScript) 26 | * [CSS](https://www.w3schools.com/css/) 27 | * [LUA](https://www.lua.org/) 28 | 29 | ### Dependencies: 30 | * [ESX] ESX is needed to make this script work, btw you should be able to convert this to other cores easily. 31 | 32 | ## Contributions 33 | 34 | Any contribution to the project is ** highly appreciated **. 35 | 36 | **Steps to do a PR:** 37 | 1. Fork the script 38 | 2. Modify the script 39 | 3. Upload the files and confirm your changes. 40 | 4. Make a Pull Request 41 | 42 | ## License 43 | 44 | You are not allowed to sell this script, or claim it's yours. Feel free to open a pull request if you find any bugs or you want to improve something. 45 | 46 | ## Contact 47 | 48 | VisiBait - [@visibait](https://twitter.com/visibait) - grafoplays@gmail.com 49 | 50 | Script link: [https://github.com/visibait/vb-banking](https://github.com/visibait/vb-banking) 51 | 52 | ©VisiBait 2021 53 | -------------------------------------------------------------------------------- /French Version/vb-banking/server/main.lua: -------------------------------------------------------------------------------- 1 | ESX = nil 2 | 3 | TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) 4 | 5 | ESX.RegisterServerCallback('vb-banking:server:GetPlayerName', function(source, cb) 6 | local _char = ESX.GetPlayerFromId(source) 7 | local _charname = _char.getName() 8 | cb(_charname) 9 | end) 10 | 11 | RegisterServerEvent('vb-banking:server:depositvb') 12 | AddEventHandler('vb-banking:server:depositvb', function(amount, inMenu) 13 | local _src = source 14 | local _char = ESX.GetPlayerFromId(_src) 15 | amount = tonumber(amount) 16 | Citizen.Wait(50) 17 | if amount == nil or amount <= 0 or amount > _char.getMoney() then 18 | TriggerClientEvent('chatMessage', _src, "Mauvais montant.") 19 | else 20 | _char.removeMoney(amount) 21 | _char.addAccountMoney('bank', tonumber(amount)) 22 | _char.showNotification("Vous avez déposé $"..amount) 23 | end 24 | end) 25 | 26 | RegisterServerEvent('vb-banking:server:withdrawvb') 27 | AddEventHandler('vb-banking:server:withdrawvb', function(amount, inMenu) 28 | local _src = source 29 | local _char = ESX.GetPlayerFromId(_src) 30 | local _base = 0 31 | amount = tonumber(amount) 32 | _base = _char.getAccount('bank').money 33 | Citizen.Wait(100) 34 | if amount == nil or amount <= 0 or amount > _base then 35 | TriggerClientEvent('chatMessage', _src, "Invalid Quantity") 36 | else 37 | _char.removeAccountMoney('bank', amount) 38 | _char.addMoney(amount) 39 | _char.showNotification("Vous avez retiré $"..amount) 40 | end 41 | end) 42 | 43 | RegisterServerEvent('vb-banking:server:balance') 44 | AddEventHandler('vb-banking:server:balance', function(inMenu) 45 | local _src = source 46 | local _char = ESX.GetPlayerFromId(_src) 47 | local balance = _char.getAccount('bank').money 48 | TriggerClientEvent('vb-banking:client:refreshbalance', _src, balance) 49 | end) 50 | 51 | RegisterServerEvent('vb-banking:server:transfervb') 52 | AddEventHandler('vb-banking:server:transfervb', function(to, amountt, inMenu) 53 | local _source = source 54 | local xPlayer = ESX.GetPlayerFromId(_source) 55 | local zPlayer = ESX.GetPlayerFromId(tonumber(to)) 56 | local balance = 0 57 | if zPlayer ~= nil then 58 | balance = xPlayer.getAccount('bank').money 59 | if tonumber(_source) == tonumber(to) then 60 | TriggerClientEvent('chatMessage', _source, "Vous ne pouvez pas transferer de l'argent à vous même !") 61 | else 62 | if balance <= 0 or balance < tonumber(amountt) or tonumber(amountt) <= 0 then 63 | TriggerClientEvent('chatMessage', _source, "Vous n'avez pas assez d'argent sur votre compte") 64 | else 65 | xPlayer.removeAccountMoney('bank', tonumber(amountt)) 66 | zPlayer.addAccountMoney('bank', tonumber(amountt)) 67 | zPlayer.showNotification("Vous avez reçu un virement de "..amountt.."$ par l'ID: ".._source) 68 | xPlayer.showNotification("Vous avez envoyé un virement de "..amountt.."$ à l'ID: "..to) 69 | end 70 | end 71 | else 72 | TriggerClientEvent('chatMessage', _source, "Cet ID n'est pas valide !") 73 | end 74 | end) 75 | -------------------------------------------------------------------------------- /English Version/vb-banking/server/main.lua: -------------------------------------------------------------------------------- 1 | ESX = nil 2 | 3 | TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) 4 | 5 | ESX.RegisterServerCallback('vb-banking:server:GetPlayerName', function(source, cb) 6 | local _char = ESX.GetPlayerFromId(source) 7 | local _charname = _char.getName() 8 | cb(_charname) 9 | end) 10 | 11 | RegisterServerEvent('vb-banking:server:depositvb') 12 | AddEventHandler('vb-banking:server:depositvb', function(amount, inMenu) 13 | local _src = source 14 | local _char = ESX.GetPlayerFromId(_src) 15 | amount = tonumber(amount) 16 | Citizen.Wait(50) 17 | if amount == nil or amount <= 0 or amount > _char.getMoney() then 18 | TriggerClientEvent('chatMessage', _src, "Invalid Quantity.") 19 | else 20 | _char.removeMoney(amount) 21 | _char.addAccountMoney('bank', tonumber(amount)) 22 | _char.showNotification("You've deposited $"..amount) 23 | end 24 | end) 25 | 26 | RegisterServerEvent('vb-banking:server:withdrawvb') 27 | AddEventHandler('vb-banking:server:withdrawvb', function(amount, inMenu) 28 | local _src = source 29 | local _char = ESX.GetPlayerFromId(_src) 30 | local _base = 0 31 | amount = tonumber(amount) 32 | _base = _char.getAccount('bank').money 33 | Citizen.Wait(100) 34 | if amount == nil or amount <= 0 or amount > _base then 35 | TriggerClientEvent('chatMessage', _src, "Invalid Quantity") 36 | else 37 | _char.removeAccountMoney('bank', amount) 38 | _char.addMoney(amount) 39 | _char.showNotification("You've withdrawn $"..amount) 40 | end 41 | end) 42 | 43 | RegisterServerEvent('vb-banking:server:balance') 44 | AddEventHandler('vb-banking:server:balance', function(inMenu) 45 | local _src = source 46 | local _char = ESX.GetPlayerFromId(_src) 47 | local balance = _char.getAccount('bank').money 48 | TriggerClientEvent('vb-banking:client:refreshbalance', _src, balance) 49 | end) 50 | 51 | RegisterServerEvent('vb-banking:server:transfervb') 52 | AddEventHandler('vb-banking:server:transfervb', function(to, amountt, inMenu) 53 | local _source = source 54 | local xPlayer = ESX.GetPlayerFromId(_source) 55 | local zPlayer = ESX.GetPlayerFromId(tonumber(to)) 56 | local balance = 0 57 | if zPlayer ~= nil then 58 | balance = xPlayer.getAccount('bank').money 59 | if tonumber(_source) == tonumber(to) then 60 | TriggerClientEvent('chatMessage', _source, "You can't transfer money to yourself") 61 | else 62 | if balance <= 0 or balance < tonumber(amountt) or tonumber(amountt) <= 0 then 63 | TriggerClientEvent('chatMessage', _source, "You don't have enough money in your bank account.") 64 | else 65 | xPlayer.removeAccountMoney('bank', tonumber(amountt)) 66 | zPlayer.addAccountMoney('bank', tonumber(amountt)) 67 | zPlayer.showNotification("You've received a bank transfer of "..amountt.."$ from the ID: ".._source) 68 | xPlayer.showNotification("You've sent a bank transfer of "..amountt.."$ to the ID: "..to) 69 | end 70 | end 71 | else 72 | TriggerClientEvent('chatMessage', _source, "That Wallet ID is not valid or doesn't exist") 73 | end 74 | end) -------------------------------------------------------------------------------- /Spanish Version/vb-banking/server/main.lua: -------------------------------------------------------------------------------- 1 | ESX = nil 2 | 3 | TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) 4 | 5 | ESX.RegisterServerCallback('vb-banking:server:GetPlayerName', function(source, cb) 6 | local _char = ESX.GetPlayerFromId(source) 7 | local _charname = _char.getName() 8 | cb(_charname) 9 | end) 10 | 11 | RegisterServerEvent('vb-banking:server:depositvb') 12 | AddEventHandler('vb-banking:server:depositvb', function(amount, inMenu) 13 | local _src = source 14 | local _char = ESX.GetPlayerFromId(_src) 15 | amount = tonumber(amount) 16 | Citizen.Wait(50) 17 | if amount == nil or amount <= 0 or amount > _char.getMoney() then 18 | TriggerClientEvent('chatMessage', _src, "Cantidad Inválida.") 19 | else 20 | _char.removeMoney(amount) 21 | _char.addAccountMoney('bank', tonumber(amount)) 22 | _char.showNotification("Has ingresado $"..amount) 23 | end 24 | end) 25 | 26 | RegisterServerEvent('vb-banking:server:withdrawvb') 27 | AddEventHandler('vb-banking:server:withdrawvb', function(amount, inMenu) 28 | local _src = source 29 | local _char = ESX.GetPlayerFromId(_src) 30 | local _base = 0 31 | amount = tonumber(amount) 32 | _base = _char.getAccount('bank').money 33 | Citizen.Wait(100) 34 | if amount == nil or amount <= 0 or amount > _base then 35 | TriggerClientEvent('chatMessage', _src, "Cantidad Inválida") 36 | else 37 | _char.removeAccountMoney('bank', amount) 38 | _char.addMoney(amount) 39 | _char.showNotification("Has retirado $"..amount) 40 | end 41 | end) 42 | 43 | RegisterServerEvent('vb-banking:server:balance') 44 | AddEventHandler('vb-banking:server:balance', function(inMenu) 45 | local _src = source 46 | local _char = ESX.GetPlayerFromId(_src) 47 | local balance = _char.getAccount('bank').money 48 | TriggerClientEvent('vb-banking:client:refreshbalance', _src, balance) 49 | end) 50 | 51 | RegisterServerEvent('vb-banking:server:transfervb') 52 | AddEventHandler('vb-banking:server:transfervb', function(to, amountt, inMenu) 53 | local _source = source 54 | local xPlayer = ESX.GetPlayerFromId(_source) 55 | local zPlayer = ESX.GetPlayerFromId(tonumber(to)) 56 | local balance = 0 57 | if zPlayer ~= nil then 58 | balance = xPlayer.getAccount('bank').money 59 | if tonumber(_source) == tonumber(to) then 60 | TriggerClientEvent('chatMessage', _source, "No te puedes transferir dinero a ti mismo") 61 | else 62 | if balance <= 0 or balance < tonumber(amountt) or tonumber(amountt) <= 0 then 63 | TriggerClientEvent('chatMessage', _source, "No tienes suficiente dinero en el banco.") 64 | else 65 | xPlayer.removeAccountMoney('bank', tonumber(amountt)) 66 | zPlayer.addAccountMoney('bank', tonumber(amountt)) 67 | zPlayer.showNotification("Te han enviado una transferencia de "..amountt.."€ por parte de la ID: ".._source) 68 | xPlayer.showNotification("Has enviado una transferencia de "..amountt.."€ a la ID: "..to) 69 | end 70 | end 71 | else 72 | TriggerClientEvent('chatMessage', _source, "That Wallet ID is invalid or doesn't exist") 73 | end 74 | end) 75 | -------------------------------------------------------------------------------- /VRP English Version/vb-banking/server/main.lua: -------------------------------------------------------------------------------- 1 | local Tunnel = module("vrp", "lib/Tunnel") 2 | local Proxy = module("vrp", "lib/Proxy") 3 | 4 | vRP = Proxy.getInterface("vRP") 5 | 6 | RegisterServerEvent('vb-banking:server:depositvb') 7 | AddEventHandler('vb-banking:server:depositvb', function(amount, inMenu) 8 | local _src = source 9 | local user_id = vRP.getUserId({_src}) 10 | local walletMoney = vRP.getMoney({user_id}) 11 | local bankMoney = vRP.getBankMoney({user_id}) 12 | amount = tonumber(amount) 13 | Citizen.Wait(50) 14 | if amount == nil or amount <= 0 or amount > vRP.getMoney({user_id}) then 15 | TriggerClientEvent("vb-banking:ShowNotification", _src, "Invalid Quantity") 16 | else 17 | vRP.setBankMoney({user_id, bankMoney+tonumber(amount)}) 18 | vRP.setMoney({user_id, walletMoney-amount}) 19 | TriggerClientEvent("vb-banking:ShowNotification", _src, "You've deposited $"..amount) 20 | end 21 | end) 22 | 23 | RegisterServerEvent('vb-banking:server:withdrawvb') 24 | AddEventHandler('vb-banking:server:withdrawvb', function(amount, inMenu) 25 | local _src = source 26 | local user_id = vRP.getUserId({_src}) 27 | local _base = 0 28 | local walletMoney = vRP.getMoney({user_id}) 29 | local bankMoney = vRP.getBankMoney({user_id}) 30 | amount = tonumber(amount) 31 | _base = vRP.getBankMoney({user_id}) 32 | Citizen.Wait(100) 33 | if amount == nil or amount <= 0 or amount > _base then 34 | TriggerClientEvent("vb-banking:ShowNotification", _src, "Invalid Quantity") 35 | else 36 | vRP.setBankMoney({user_id, bankMoney-tonumber(amount)}) 37 | vRP.setMoney({user_id, walletMoney+amount}) 38 | TriggerClientEvent("vb-banking:ShowNotification", _src, "You've withdrawn $"..amount) 39 | end 40 | end) 41 | 42 | RegisterServerEvent('vb-banking:server:balance') 43 | AddEventHandler('vb-banking:server:balance', function(inMenu) 44 | local _src = source 45 | local user_id = vRP.getUserId({_src}) 46 | local balance = vRP.getBankMoney({user_id}) 47 | TriggerClientEvent('vb-banking:client:refreshbalance', _src, balance) 48 | end) 49 | 50 | RegisterServerEvent('vb-banking:server:transfervb') 51 | AddEventHandler('vb-banking:server:transfervb', function(to, amountt, inMenu) 52 | local _source = source 53 | local user_id = vRP.getUserId({_source}) 54 | local zuser_id = vRP.getUserId({tonumber(to)}) 55 | local zSource = vRP.getUserSource({tonumber(to)}) 56 | local balance = 0 57 | if zuser_id ~= nil then 58 | balance = vRP.getBankMoney({user_id}) 59 | if tonumber(_source) == tonumber(to) then 60 | TriggerClientEvent("vb-banking:ShowNotification", _source, "You can't transfer money to yourself") 61 | else 62 | if balance <= 0 or balance < tonumber(amountt) or tonumber(amountt) <= 0 then 63 | TriggerClientEvent("vb-banking:ShowNotification", _source, "You don't have enough money in your bank account.") 64 | else 65 | vRP.tryPayment({user_id, tonumber(amountt)}) 66 | vRP.giveBankMoney({zuser_id, tonumber(amountt)}) 67 | TriggerClientEvent("vb-banking:ShowNotification", zSource, "You've received a bank transfer of "..amountt.."$ from the ID: "..user_id) 68 | TriggerClientEvent("vb-banking:ShowNotification", _source, "You've sent a bank transfer of "..amountt.."$ to the ID: "..to) 69 | end 70 | end 71 | else 72 | TriggerClientEvent("vb-banking:ShowNotification", _source, "That Wallet ID is not valid or doesn't exist") 73 | end 74 | end) -------------------------------------------------------------------------------- /English Version/vb-banking/html/js/bank.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | window.addEventListener('message', function(event) { 3 | if (event.data.type === "openGeneral"){ 4 | $('body').fadeIn(500); 5 | } else if(event.data.type === "balanceHUD") { 6 | var balance = event.data.balance; 7 | $('.vb-banking-creditcard-footer-cardholder').html(event.data.player); 8 | $('.vb-balance-balance').html("$ "+balance); 9 | $('.vb-banking-tarjetas-mycardcontainer-balance').html("$ "+balance); 10 | $('.vb-banking-tarjetas-rigthbar-balance').html("$ "+balance); 11 | $('.vb-banking-myaccount-balance-balance').html("$ "+balance); 12 | $('.vb-banking-myaccount-faq-balance').html("$ "+balance); 13 | if (balance.toString().length >= Number(6)) { 14 | document.getElementById("vb-banking-tarjetas-mycardcontainer-balance").style.fontSize = "28px" 15 | document.getElementById("vb-banking-tarjetas-rigthbar-balance").style.fontSize = "25px" 16 | document.getElementById("vb-banking-depositcontainer-balance").style.fontSize = "25px" 17 | document.getElementById("vb-banking-transferir-container-balance").style.fontSize = "25px" 18 | document.getElementById("vb-banking-transferir-myaccount-balance").style.fontSize = "25px" 19 | } 20 | var playername = event.data.player 21 | $('.vb-banking-creditcard-cardholder').html(playername); 22 | var address = event.data.address 23 | $('.vb-banking-myaccount-info-address').html('   Address:  '+address+''); 24 | var walletid = event.data.playerid 25 | $('.vb-banking-myaccount-info-walletid').html('   Wallet ID:  '+walletid+''); 26 | } else if (event.data.type === "closeAll"){ 27 | $('body').fadeOut(500); 28 | } 29 | }); 30 | }); 31 | 32 | $(document).on('click','#inicio',function(){ 33 | hideall(); 34 | $(".vb-banking-container-inicio").fadeIn(500); 35 | }) 36 | 37 | $(document).on('click','#mycards',function(){ 38 | hideall(); 39 | $(".vb-banking-bigcontainertarjetas").fadeIn(500); 40 | }) 41 | 42 | $(document).on('click','#meterpastica',function(){ 43 | hideall(); 44 | $(".vb-banking-bigcontainerdepositar").fadeIn(500); 45 | }) 46 | 47 | $(document).on('click','#depositar',function(){ 48 | hideall(); 49 | $(".vb-banking-bigcontainerdepositar").fadeIn(500); 50 | }) 51 | 52 | $(document).on('click','#transfer',function(){ 53 | hideall(); 54 | $(".vb-banking-bigcontainertransfer").fadeIn(500); 55 | }) 56 | 57 | $(document).on('click','#myaccount',function(){ 58 | hideall(); 59 | $(".vb-banking-bigcontainermyaccount").fadeIn(500); 60 | }) 61 | 62 | $(document).on('click','#faq',function(){ 63 | hideall(); 64 | $(".vb-banking-bigcontainerfaq").fadeIn(500); 65 | }) 66 | 67 | $(document).on('click','#closebanking',function(){ 68 | $('body').fadeOut(500); 69 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 70 | }) 71 | 72 | $(document).on('click','#withdraw',function(e){ 73 | e.preventDefault(); 74 | $.post('http://vb-banking/withdraw', JSON.stringify({ 75 | amountw: $("#withdrawnumber").val() 76 | })); 77 | $('body').fadeOut(500); 78 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 79 | }) 80 | 81 | $(document).on('click','#depositarpasta',function(e){ 82 | e.preventDefault(); 83 | $.post('http://vb-banking/deposit', JSON.stringify({ 84 | amount: $("#cantidaddepositar").val() 85 | })); 86 | $('body').fadeOut(500); 87 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 88 | }) 89 | 90 | $(document).on('click','#transferirpasta',function(e){ 91 | e.preventDefault(); 92 | $.post('http://vb-banking/transfer', JSON.stringify({ 93 | to: $("#iddestinatario").val(), 94 | amountt: $("#cantidadtransfer").val() 95 | })); 96 | $('body').fadeOut(500); 97 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 98 | }) 99 | 100 | function hideall() { 101 | $(".vb-banking-container-inicio").hide(); 102 | $(".vb-banking-bigcontainertarjetas").hide(); 103 | $(".vb-banking-bigcontainerdepositar").hide(); 104 | $(".vb-banking-bigcontainertransfer").hide(); 105 | $(".vb-banking-bigcontainermyaccount").hide(); 106 | $(".vb-banking-bigcontainerfaq").hide(); 107 | } 108 | 109 | document.onkeyup = function(data){ 110 | if (data.which == 27){ 111 | $('body').fadeOut(500); 112 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 113 | } 114 | } -------------------------------------------------------------------------------- /French Version/vb-banking/html/js/bank.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | window.addEventListener('message', function(event) { 3 | if (event.data.type === "openGeneral"){ 4 | $('body').fadeIn(500); 5 | } else if(event.data.type === "balanceHUD") { 6 | var balance = event.data.balance; 7 | $('.vb-banking-creditcard-footer-cardholder').html(event.data.player); 8 | $('.vb-balance-balance').html("$ "+balance); 9 | $('.vb-banking-tarjetas-mycardcontainer-balance').html("$ "+balance); 10 | $('.vb-banking-tarjetas-rigthbar-balance').html("$ "+balance); 11 | $('.vb-banking-myaccount-balance-balance').html("$ "+balance); 12 | $('.vb-banking-myaccount-faq-balance').html("$ "+balance); 13 | if (balance.toString().length >= Number(6)) { 14 | document.getElementById("vb-banking-tarjetas-mycardcontainer-balance").style.fontSize = "28px" 15 | document.getElementById("vb-banking-tarjetas-rigthbar-balance").style.fontSize = "25px" 16 | document.getElementById("vb-banking-depositcontainer-balance").style.fontSize = "25px" 17 | document.getElementById("vb-banking-transferir-container-balance").style.fontSize = "25px" 18 | document.getElementById("vb-banking-transferir-myaccount-balance").style.fontSize = "25px" 19 | } 20 | var playername = event.data.player 21 | $('.vb-banking-creditcard-cardholder').html(playername); 22 | var address = event.data.address 23 | $('.vb-banking-myaccount-info-address').html('   Address:  '+address+''); 24 | var walletid = event.data.playerid 25 | $('.vb-banking-myaccount-info-walletid').html('   Wallet ID:  '+walletid+''); 26 | } else if (event.data.type === "closeAll"){ 27 | $('body').fadeOut(500); 28 | } 29 | }); 30 | }); 31 | 32 | $(document).on('click','#inicio',function(){ 33 | hideall(); 34 | $(".vb-banking-container-inicio").fadeIn(500); 35 | }) 36 | 37 | $(document).on('click','#mycards',function(){ 38 | hideall(); 39 | $(".vb-banking-bigcontainertarjetas").fadeIn(500); 40 | }) 41 | 42 | $(document).on('click','#meterpastica',function(){ 43 | hideall(); 44 | $(".vb-banking-bigcontainerdepositar").fadeIn(500); 45 | }) 46 | 47 | $(document).on('click','#depositar',function(){ 48 | hideall(); 49 | $(".vb-banking-bigcontainerdepositar").fadeIn(500); 50 | }) 51 | 52 | $(document).on('click','#transfer',function(){ 53 | hideall(); 54 | $(".vb-banking-bigcontainertransfer").fadeIn(500); 55 | }) 56 | 57 | $(document).on('click','#myaccount',function(){ 58 | hideall(); 59 | $(".vb-banking-bigcontainermyaccount").fadeIn(500); 60 | }) 61 | 62 | $(document).on('click','#faq',function(){ 63 | hideall(); 64 | $(".vb-banking-bigcontainerfaq").fadeIn(500); 65 | }) 66 | 67 | $(document).on('click','#closebanking',function(){ 68 | $('body').fadeOut(500); 69 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 70 | }) 71 | 72 | $(document).on('click','#withdraw',function(e){ 73 | e.preventDefault(); 74 | $.post('http://vb-banking/withdraw', JSON.stringify({ 75 | amountw: $("#withdrawnumber").val() 76 | })); 77 | $('body').fadeOut(500); 78 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 79 | }) 80 | 81 | $(document).on('click','#depositarpasta',function(e){ 82 | e.preventDefault(); 83 | $.post('http://vb-banking/deposit', JSON.stringify({ 84 | amount: $("#cantidaddepositar").val() 85 | })); 86 | $('body').fadeOut(500); 87 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 88 | }) 89 | 90 | $(document).on('click','#transferirpasta',function(e){ 91 | e.preventDefault(); 92 | $.post('http://vb-banking/transfer', JSON.stringify({ 93 | to: $("#iddestinatario").val(), 94 | amountt: $("#cantidadtransfer").val() 95 | })); 96 | $('body').fadeOut(500); 97 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 98 | }) 99 | 100 | function hideall() { 101 | $(".vb-banking-container-inicio").hide(); 102 | $(".vb-banking-bigcontainertarjetas").hide(); 103 | $(".vb-banking-bigcontainerdepositar").hide(); 104 | $(".vb-banking-bigcontainertransfer").hide(); 105 | $(".vb-banking-bigcontainermyaccount").hide(); 106 | $(".vb-banking-bigcontainerfaq").hide(); 107 | } 108 | 109 | document.onkeyup = function(data){ 110 | if (data.which == 27){ 111 | $('body').fadeOut(500); 112 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 113 | } 114 | } -------------------------------------------------------------------------------- /Spanish Version/vb-banking/html/js/bank.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | window.addEventListener('message', function(event) { 3 | if (event.data.type === "openGeneral"){ 4 | $('body').fadeIn(500); 5 | } else if(event.data.type === "balanceHUD") { 6 | var balance = event.data.balance; 7 | $('.vb-banking-creditcard-footer-cardholder').html(event.data.player); 8 | $('.vb-balance-balance').html("$ "+balance); 9 | $('.vb-banking-tarjetas-mycardcontainer-balance').html("$ "+balance); 10 | $('.vb-banking-tarjetas-rigthbar-balance').html("$ "+balance); 11 | $('.vb-banking-myaccount-balance-balance').html("$ "+balance); 12 | $('.vb-banking-myaccount-faq-balance').html("$ "+balance); 13 | if (balance.toString().length >= Number(6)) { 14 | document.getElementById("vb-banking-tarjetas-mycardcontainer-balance").style.fontSize = "28px" 15 | document.getElementById("vb-banking-tarjetas-rigthbar-balance").style.fontSize = "25px" 16 | document.getElementById("vb-banking-depositcontainer-balance").style.fontSize = "25px" 17 | document.getElementById("vb-banking-transferir-container-balance").style.fontSize = "25px" 18 | document.getElementById("vb-banking-transferir-myaccount-balance").style.fontSize = "25px" 19 | } 20 | var playername = event.data.player 21 | $('.vb-banking-creditcard-cardholder').html(playername); 22 | var address = event.data.address 23 | $('.vb-banking-myaccount-info-address').html('   Dirección:  '+address+''); 24 | var walletid = event.data.playerid 25 | $('.vb-banking-myaccount-info-walletid').html('   Wallet ID:  '+walletid+''); 26 | } else if (event.data.type === "closeAll"){ 27 | $('body').fadeOut(500); 28 | } 29 | }); 30 | }); 31 | 32 | $(document).on('click','#inicio',function(){ 33 | hideall(); 34 | $(".vb-banking-container-inicio").fadeIn(500); 35 | }) 36 | 37 | $(document).on('click','#mycards',function(){ 38 | hideall(); 39 | $(".vb-banking-bigcontainertarjetas").fadeIn(500); 40 | }) 41 | 42 | $(document).on('click','#meterpastica',function(){ 43 | hideall(); 44 | $(".vb-banking-bigcontainerdepositar").fadeIn(500); 45 | }) 46 | 47 | $(document).on('click','#depositar',function(){ 48 | hideall(); 49 | $(".vb-banking-bigcontainerdepositar").fadeIn(500); 50 | }) 51 | 52 | $(document).on('click','#transfer',function(){ 53 | hideall(); 54 | $(".vb-banking-bigcontainertransfer").fadeIn(500); 55 | }) 56 | 57 | $(document).on('click','#myaccount',function(){ 58 | hideall(); 59 | $(".vb-banking-bigcontainermyaccount").fadeIn(500); 60 | }) 61 | 62 | $(document).on('click','#faq',function(){ 63 | hideall(); 64 | $(".vb-banking-bigcontainerfaq").fadeIn(500); 65 | }) 66 | 67 | $(document).on('click','#closebanking',function(){ 68 | $('body').fadeOut(500); 69 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 70 | }) 71 | 72 | $(document).on('click','#withdraw',function(e){ 73 | e.preventDefault(); 74 | $.post('http://vb-banking/withdraw', JSON.stringify({ 75 | amountw: $("#withdrawnumber").val() 76 | })); 77 | $('body').fadeOut(500); 78 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 79 | }) 80 | 81 | $(document).on('click','#depositarpasta',function(e){ 82 | e.preventDefault(); 83 | $.post('http://vb-banking/deposit', JSON.stringify({ 84 | amount: $("#cantidaddepositar").val() 85 | })); 86 | $('body').fadeOut(500); 87 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 88 | }) 89 | 90 | $(document).on('click','#transferirpasta',function(e){ 91 | e.preventDefault(); 92 | $.post('http://vb-banking/transfer', JSON.stringify({ 93 | to: $("#iddestinatario").val(), 94 | amountt: $("#cantidadtransfer").val() 95 | })); 96 | $('body').fadeOut(500); 97 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 98 | }) 99 | 100 | function hideall() { 101 | $(".vb-banking-container-inicio").hide(); 102 | $(".vb-banking-bigcontainertarjetas").hide(); 103 | $(".vb-banking-bigcontainerdepositar").hide(); 104 | $(".vb-banking-bigcontainertransfer").hide(); 105 | $(".vb-banking-bigcontainermyaccount").hide(); 106 | $(".vb-banking-bigcontainerfaq").hide(); 107 | } 108 | 109 | document.onkeyup = function(data){ 110 | if (data.which == 27){ 111 | $('body').fadeOut(500); 112 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 113 | } 114 | } -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/js/bank.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | window.addEventListener('message', function(event) { 3 | if (event.data.type === "openGeneral"){ 4 | $('body').fadeIn(500); 5 | } else if(event.data.type === "balanceHUD") { 6 | var balance = event.data.balance; 7 | $('.vb-banking-creditcard-footer-cardholder').html(event.data.player); 8 | $('.vb-balance-balance').html("$ "+balance); 9 | $('.vb-banking-tarjetas-mycardcontainer-balance').html("$ "+balance); 10 | $('.vb-banking-tarjetas-rigthbar-balance').html("$ "+balance); 11 | $('.vb-banking-myaccount-balance-balance').html("$ "+balance); 12 | $('.vb-banking-myaccount-faq-balance').html("$ "+balance); 13 | if (balance.toString().length >= Number(6)) { 14 | document.getElementById("vb-banking-tarjetas-mycardcontainer-balance").style.fontSize = "28px" 15 | document.getElementById("vb-banking-tarjetas-rigthbar-balance").style.fontSize = "25px" 16 | document.getElementById("vb-banking-depositcontainer-balance").style.fontSize = "25px" 17 | document.getElementById("vb-banking-transferir-container-balance").style.fontSize = "25px" 18 | document.getElementById("vb-banking-transferir-myaccount-balance").style.fontSize = "25px" 19 | } 20 | var playername = event.data.player 21 | $('.vb-banking-creditcard-cardholder').html(playername); 22 | var address = event.data.address 23 | $('.vb-banking-myaccount-info-address').html('   Address:  '+address+''); 24 | var walletid = event.data.playerid 25 | $('.vb-banking-myaccount-info-walletid').html('   Wallet ID:  '+walletid+''); 26 | } else if (event.data.type === "closeAll"){ 27 | $('body').fadeOut(500); 28 | } 29 | }); 30 | }); 31 | 32 | $(document).on('click','#inicio',function(){ 33 | hideall(); 34 | $(".vb-banking-container-inicio").fadeIn(500); 35 | }) 36 | 37 | $(document).on('click','#mycards',function(){ 38 | hideall(); 39 | $(".vb-banking-bigcontainertarjetas").fadeIn(500); 40 | }) 41 | 42 | $(document).on('click','#meterpastica',function(){ 43 | hideall(); 44 | $(".vb-banking-bigcontainerdepositar").fadeIn(500); 45 | }) 46 | 47 | $(document).on('click','#depositar',function(){ 48 | hideall(); 49 | $(".vb-banking-bigcontainerdepositar").fadeIn(500); 50 | }) 51 | 52 | $(document).on('click','#transfer',function(){ 53 | hideall(); 54 | $(".vb-banking-bigcontainertransfer").fadeIn(500); 55 | }) 56 | 57 | $(document).on('click','#myaccount',function(){ 58 | hideall(); 59 | $(".vb-banking-bigcontainermyaccount").fadeIn(500); 60 | }) 61 | 62 | $(document).on('click','#faq',function(){ 63 | hideall(); 64 | $(".vb-banking-bigcontainerfaq").fadeIn(500); 65 | }) 66 | 67 | $(document).on('click','#closebanking',function(){ 68 | $('body').fadeOut(500); 69 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 70 | }) 71 | 72 | $(document).on('click','#withdraw',function(e){ 73 | e.preventDefault(); 74 | $.post('http://vb-banking/withdraw', JSON.stringify({ 75 | amountw: $("#withdrawnumber").val() 76 | })); 77 | $('body').fadeOut(500); 78 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 79 | }) 80 | 81 | $(document).on('click','#depositarpasta',function(e){ 82 | e.preventDefault(); 83 | $.post('http://vb-banking/deposit', JSON.stringify({ 84 | amount: $("#cantidaddepositar").val() 85 | })); 86 | $('body').fadeOut(500); 87 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 88 | }) 89 | 90 | $(document).on('click','#transferirpasta',function(e){ 91 | e.preventDefault(); 92 | $.post('http://vb-banking/transfer', JSON.stringify({ 93 | to: $("#iddestinatario").val(), 94 | amountt: $("#cantidadtransfer").val() 95 | })); 96 | $('body').fadeOut(500); 97 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 98 | }) 99 | 100 | function hideall() { 101 | $(".vb-banking-container-inicio").hide(); 102 | $(".vb-banking-bigcontainertarjetas").hide(); 103 | $(".vb-banking-bigcontainerdepositar").hide(); 104 | $(".vb-banking-bigcontainertransfer").hide(); 105 | $(".vb-banking-bigcontainermyaccount").hide(); 106 | $(".vb-banking-bigcontainerfaq").hide(); 107 | } 108 | 109 | document.onkeyup = function(data){ 110 | if (data.which == 27){ 111 | $('body').fadeOut(500); 112 | $.post('http://vb-banking/NUIFocusOff', JSON.stringify({})); 113 | } 114 | } -------------------------------------------------------------------------------- /English Version/vb-banking/config.lua: -------------------------------------------------------------------------------- 1 | -- LEALTAD-BANKING CONFIG 2 | 3 | Config = {} 4 | 5 | Config.Zonas = { 6 | ["banks"] = { 7 | {name="Bank", id=108, x=150.266, y=-1040.203, z=29.374}, 8 | {name="Bank", id=108, x=-1212.980, y=-330.841, z=37.787}, 9 | {name="Bank", id=108, x=-2962.582, y=482.627, z=15.703}, 10 | {name="Bank", id=108, x=-112.202, y=6469.295, z=31.626}, 11 | {name="Bank", id=108, x=314.187, y=-278.621, z=54.170}, 12 | {name="Bank", id=108, x=-351.534, y=-49.529, z=49.042}, 13 | {name="Bank", id=108, x=241.727, y=220.706, z=106.286}, 14 | {name="Bank", id=108, x=1175.0643310547, y=2706.6435546875, z=38.094036102295} 15 | }, 16 | ["atms"] = { 17 | {name="ATM", id=277, x=-386.733, y=6045.953, z=31.501}, 18 | {name="ATM", id=277, x=-284.037, y=6224.385, z=31.187}, 19 | {name="ATM", id=277, x=-284.037, y=6224.385, z=31.187}, 20 | {name="ATM", id=277, x=-135.165, y=6365.738, z=31.101}, 21 | {name="ATM", id=277, x=-110.753, y=6467.703, z=31.784}, 22 | {name="ATM", id=277, x=-94.9690, y=6455.301, z=31.784}, 23 | {name="ATM", id=277, x=155.4300, y=6641.991, z=31.784}, 24 | {name="ATM", id=277, x=174.6720, y=6637.218, z=31.784}, 25 | {name="ATM", id=277, x=1703.138, y=6426.783, z=32.730}, 26 | {name="ATM", id=277, x=1735.114, y=6411.035, z=35.164}, 27 | {name="ATM", id=277, x=1702.842, y=4933.593, z=42.051}, 28 | {name="ATM", id=277, x=1967.333, y=3744.293, z=32.272}, 29 | {name="ATM", id=277, x=1821.917, y=3683.483, z=34.244}, 30 | {name="ATM", id=277, x=1174.532, y=2705.278, z=38.027}, 31 | {name="ATM", id=277, x=540.0420, y=2671.007, z=42.177}, 32 | {name="ATM", id=277, x=2564.399, y=2585.100, z=38.016}, 33 | {name="ATM", id=277, x=2558.683, y=349.6010, z=108.050}, 34 | {name="ATM", id=277, x=2558.051, y=389.4817, z=108.660}, 35 | {name="ATM", id=277, x=1077.692, y=-775.796, z=58.218}, 36 | {name="ATM", id=277, x=1139.018, y=-469.886, z=66.789}, 37 | {name="ATM", id=277, x=1168.975, y=-457.241, z=66.641}, 38 | {name="ATM", id=277, x=1153.884, y=-326.540, z=69.245}, 39 | {name="ATM", id=277, x=381.2827, y=323.2518, z=103.270}, 40 | {name="ATM", id=277, x=236.4638, y=217.4718, z=106.840}, 41 | {name="ATM", id=277, x=265.0043, y=212.1717, z=106.780}, 42 | {name="ATM", id=277, x=285.2029, y=143.5690, z=104.970}, 43 | {name="ATM", id=277, x=157.7698, y=233.5450, z=106.450}, 44 | {name="ATM", id=277, x=-164.568, y=233.5066, z=94.919}, 45 | {name="ATM", id=277, x=-1827.04, y=785.5159, z=138.020}, 46 | {name="ATM", id=277, x=-1409.39, y=-99.2603, z=52.473}, 47 | {name="ATM", id=277, x=-1205.35, y=-325.579, z=37.870}, 48 | {name="ATM", id=277, x=-1215.64, y=-332.231, z=37.881}, 49 | {name="ATM", id=277, x=-2072.41, y=-316.959, z=13.345}, 50 | {name="ATM", id=277, x=-2975.72, y=379.7737, z=14.992}, 51 | {name="ATM", id=277, x=-2962.60, y=482.1914, z=15.762}, 52 | {name="ATM", id=277, x=-2955.70, y=488.7218, z=15.486}, 53 | {name="ATM", id=277, x=-3044.22, y=595.2429, z=7.595}, 54 | {name="ATM", id=277, x=-3144.13, y=1127.415, z=20.868}, 55 | {name="ATM", id=277, x=-3241.10, y=996.6881, z=12.500}, 56 | {name="ATM", id=277, x=-3241.11, y=1009.152, z=12.877}, 57 | {name="ATM", id=277, x=-1305.40, y=-706.240, z=25.352}, 58 | {name="ATM", id=277, x=-538.225, y=-854.423, z=29.234}, 59 | {name="ATM", id=277, x=-711.156, y=-818.958, z=23.768}, 60 | {name="ATM", id=277, x=-717.614, y=-915.880, z=19.268}, 61 | {name="ATM", id=277, x=-526.566, y=-1222.90, z=18.434}, 62 | {name="ATM", id=277, x=-256.831, y=-719.646, z=33.444}, 63 | {name="ATM", id=277, x=-203.548, y=-861.588, z=30.205}, 64 | {name="ATM", id=277, x=112.4102, y=-776.162, z=31.427}, 65 | {name="ATM", id=277, x=112.9290, y=-818.710, z=31.386}, 66 | {name="ATM", id=277, x=119.9000, y=-883.826, z=31.191}, 67 | {name="ATM", id=277, x=149.4551, y=-1038.95, z=29.366}, 68 | {name="ATM", id=277, x=-846.304, y=-340.402, z=38.687}, 69 | {name="ATM", id=277, x=-1204.35, y=-324.391, z=37.877}, 70 | {name="ATM", id=277, x=-1216.27, y=-331.461, z=37.773}, 71 | {name="ATM", id=277, x=-56.1935, y=-1752.53, z=29.452}, 72 | {name="ATM", id=277, x=-261.692, y=-2012.64, z=30.121}, 73 | {name="ATM", id=277, x=-273.001, y=-2025.60, z=30.197}, 74 | {name="ATM", id=277, x=314.187, y=-278.621, z=54.170}, 75 | {name="ATM", id=277, x=-351.534, y=-49.529, z=49.042}, 76 | {name="ATM", id=277, x=24.589, y=-946.056, z=29.357}, 77 | {name="ATM", id=277, x=-254.112, y=-692.483, z=33.616}, 78 | {name="ATM", id=277, x=-1570.197, y=-546.651, z=34.955}, 79 | {name="ATM", id=277, x=-1415.909, y=-211.825, z=46.500}, 80 | {name="ATM", id=277, x=-1430.112, y=-211.014, z=46.500}, 81 | {name="ATM", id=277, x=33.232, y=-1347.849, z=29.497}, 82 | {name="ATM", id=277, x=129.216, y=-1292.347, z=29.269}, 83 | {name="ATM", id=277, x=287.645, y=-1282.646, z=29.659}, 84 | {name="ATM", id=277, x=289.012, y=-1256.545, z=29.440}, 85 | {name="ATM", id=277, x=295.839, y=-895.640, z=29.217}, 86 | {name="ATM", id=277, x=1686.753, y=4815.809, z=42.008}, 87 | {name="ATM", id=277, x=-302.408, y=-829.945, z=32.417}, 88 | {name="ATM", id=277, x=5.134, y=-919.949, z=29.557} 89 | } 90 | } -------------------------------------------------------------------------------- /VRP English Version/vb-banking/config.lua: -------------------------------------------------------------------------------- 1 | -- LEALTAD-BANKING CONFIG 2 | 3 | Config = {} 4 | 5 | Config.Zonas = { 6 | ["banks"] = { 7 | {name="Bank", id=108, x=150.266, y=-1040.203, z=29.374}, 8 | {name="Bank", id=108, x=-1212.980, y=-330.841, z=37.787}, 9 | {name="Bank", id=108, x=-2962.582, y=482.627, z=15.703}, 10 | {name="Bank", id=108, x=-112.202, y=6469.295, z=31.626}, 11 | {name="Bank", id=108, x=314.187, y=-278.621, z=54.170}, 12 | {name="Bank", id=108, x=-351.534, y=-49.529, z=49.042}, 13 | {name="Bank", id=108, x=241.727, y=220.706, z=106.286}, 14 | {name="Bank", id=108, x=1175.0643310547, y=2706.6435546875, z=38.094036102295} 15 | }, 16 | ["atms"] = { 17 | {name="ATM", id=277, x=-386.733, y=6045.953, z=31.501}, 18 | {name="ATM", id=277, x=-284.037, y=6224.385, z=31.187}, 19 | {name="ATM", id=277, x=-284.037, y=6224.385, z=31.187}, 20 | {name="ATM", id=277, x=-135.165, y=6365.738, z=31.101}, 21 | {name="ATM", id=277, x=-110.753, y=6467.703, z=31.784}, 22 | {name="ATM", id=277, x=-94.9690, y=6455.301, z=31.784}, 23 | {name="ATM", id=277, x=155.4300, y=6641.991, z=31.784}, 24 | {name="ATM", id=277, x=174.6720, y=6637.218, z=31.784}, 25 | {name="ATM", id=277, x=1703.138, y=6426.783, z=32.730}, 26 | {name="ATM", id=277, x=1735.114, y=6411.035, z=35.164}, 27 | {name="ATM", id=277, x=1702.842, y=4933.593, z=42.051}, 28 | {name="ATM", id=277, x=1967.333, y=3744.293, z=32.272}, 29 | {name="ATM", id=277, x=1821.917, y=3683.483, z=34.244}, 30 | {name="ATM", id=277, x=1174.532, y=2705.278, z=38.027}, 31 | {name="ATM", id=277, x=540.0420, y=2671.007, z=42.177}, 32 | {name="ATM", id=277, x=2564.399, y=2585.100, z=38.016}, 33 | {name="ATM", id=277, x=2558.683, y=349.6010, z=108.050}, 34 | {name="ATM", id=277, x=2558.051, y=389.4817, z=108.660}, 35 | {name="ATM", id=277, x=1077.692, y=-775.796, z=58.218}, 36 | {name="ATM", id=277, x=1139.018, y=-469.886, z=66.789}, 37 | {name="ATM", id=277, x=1168.975, y=-457.241, z=66.641}, 38 | {name="ATM", id=277, x=1153.884, y=-326.540, z=69.245}, 39 | {name="ATM", id=277, x=381.2827, y=323.2518, z=103.270}, 40 | {name="ATM", id=277, x=236.4638, y=217.4718, z=106.840}, 41 | {name="ATM", id=277, x=265.0043, y=212.1717, z=106.780}, 42 | {name="ATM", id=277, x=285.2029, y=143.5690, z=104.970}, 43 | {name="ATM", id=277, x=157.7698, y=233.5450, z=106.450}, 44 | {name="ATM", id=277, x=-164.568, y=233.5066, z=94.919}, 45 | {name="ATM", id=277, x=-1827.04, y=785.5159, z=138.020}, 46 | {name="ATM", id=277, x=-1409.39, y=-99.2603, z=52.473}, 47 | {name="ATM", id=277, x=-1205.35, y=-325.579, z=37.870}, 48 | {name="ATM", id=277, x=-1215.64, y=-332.231, z=37.881}, 49 | {name="ATM", id=277, x=-2072.41, y=-316.959, z=13.345}, 50 | {name="ATM", id=277, x=-2975.72, y=379.7737, z=14.992}, 51 | {name="ATM", id=277, x=-2962.60, y=482.1914, z=15.762}, 52 | {name="ATM", id=277, x=-2955.70, y=488.7218, z=15.486}, 53 | {name="ATM", id=277, x=-3044.22, y=595.2429, z=7.595}, 54 | {name="ATM", id=277, x=-3144.13, y=1127.415, z=20.868}, 55 | {name="ATM", id=277, x=-3241.10, y=996.6881, z=12.500}, 56 | {name="ATM", id=277, x=-3241.11, y=1009.152, z=12.877}, 57 | {name="ATM", id=277, x=-1305.40, y=-706.240, z=25.352}, 58 | {name="ATM", id=277, x=-538.225, y=-854.423, z=29.234}, 59 | {name="ATM", id=277, x=-711.156, y=-818.958, z=23.768}, 60 | {name="ATM", id=277, x=-717.614, y=-915.880, z=19.268}, 61 | {name="ATM", id=277, x=-526.566, y=-1222.90, z=18.434}, 62 | {name="ATM", id=277, x=-256.831, y=-719.646, z=33.444}, 63 | {name="ATM", id=277, x=-203.548, y=-861.588, z=30.205}, 64 | {name="ATM", id=277, x=112.4102, y=-776.162, z=31.427}, 65 | {name="ATM", id=277, x=112.9290, y=-818.710, z=31.386}, 66 | {name="ATM", id=277, x=119.9000, y=-883.826, z=31.191}, 67 | {name="ATM", id=277, x=149.4551, y=-1038.95, z=29.366}, 68 | {name="ATM", id=277, x=-846.304, y=-340.402, z=38.687}, 69 | {name="ATM", id=277, x=-1204.35, y=-324.391, z=37.877}, 70 | {name="ATM", id=277, x=-1216.27, y=-331.461, z=37.773}, 71 | {name="ATM", id=277, x=-56.1935, y=-1752.53, z=29.452}, 72 | {name="ATM", id=277, x=-261.692, y=-2012.64, z=30.121}, 73 | {name="ATM", id=277, x=-273.001, y=-2025.60, z=30.197}, 74 | {name="ATM", id=277, x=314.187, y=-278.621, z=54.170}, 75 | {name="ATM", id=277, x=-351.534, y=-49.529, z=49.042}, 76 | {name="ATM", id=277, x=24.589, y=-946.056, z=29.357}, 77 | {name="ATM", id=277, x=-254.112, y=-692.483, z=33.616}, 78 | {name="ATM", id=277, x=-1570.197, y=-546.651, z=34.955}, 79 | {name="ATM", id=277, x=-1415.909, y=-211.825, z=46.500}, 80 | {name="ATM", id=277, x=-1430.112, y=-211.014, z=46.500}, 81 | {name="ATM", id=277, x=33.232, y=-1347.849, z=29.497}, 82 | {name="ATM", id=277, x=129.216, y=-1292.347, z=29.269}, 83 | {name="ATM", id=277, x=287.645, y=-1282.646, z=29.659}, 84 | {name="ATM", id=277, x=289.012, y=-1256.545, z=29.440}, 85 | {name="ATM", id=277, x=295.839, y=-895.640, z=29.217}, 86 | {name="ATM", id=277, x=1686.753, y=4815.809, z=42.008}, 87 | {name="ATM", id=277, x=-302.408, y=-829.945, z=32.417}, 88 | {name="ATM", id=277, x=5.134, y=-919.949, z=29.557} 89 | } 90 | } -------------------------------------------------------------------------------- /Spanish Version/vb-banking/config.lua: -------------------------------------------------------------------------------- 1 | -- VB-BANKING CONFIG 2 | 3 | Config = {} 4 | 5 | Config.Zonas = { 6 | ["banks"] = { 7 | {name="Banco", id=108, x=150.266, y=-1040.203, z=29.374}, 8 | {name="Banco", id=108, x=-1212.980, y=-330.841, z=37.787}, 9 | {name="Banco", id=108, x=-2962.582, y=482.627, z=15.703}, 10 | {name="Banco", id=108, x=-112.202, y=6469.295, z=31.626}, 11 | {name="Banco", id=108, x=314.187, y=-278.621, z=54.170}, 12 | {name="Banco", id=108, x=-351.534, y=-49.529, z=49.042}, 13 | {name="Banco", id=108, x=241.727, y=220.706, z=106.286}, 14 | {name="Banco", id=108, x=1175.0643310547, y=2706.6435546875, z=38.094036102295} 15 | }, 16 | ["atms"] = { 17 | {name="ATM", id=277, x=-386.733, y=6045.953, z=31.501}, 18 | {name="ATM", id=277, x=-284.037, y=6224.385, z=31.187}, 19 | {name="ATM", id=277, x=-284.037, y=6224.385, z=31.187}, 20 | {name="ATM", id=277, x=-135.165, y=6365.738, z=31.101}, 21 | {name="ATM", id=277, x=-110.753, y=6467.703, z=31.784}, 22 | {name="ATM", id=277, x=-94.9690, y=6455.301, z=31.784}, 23 | {name="ATM", id=277, x=155.4300, y=6641.991, z=31.784}, 24 | {name="ATM", id=277, x=174.6720, y=6637.218, z=31.784}, 25 | {name="ATM", id=277, x=1703.138, y=6426.783, z=32.730}, 26 | {name="ATM", id=277, x=1735.114, y=6411.035, z=35.164}, 27 | {name="ATM", id=277, x=1702.842, y=4933.593, z=42.051}, 28 | {name="ATM", id=277, x=1967.333, y=3744.293, z=32.272}, 29 | {name="ATM", id=277, x=1821.917, y=3683.483, z=34.244}, 30 | {name="ATM", id=277, x=1174.532, y=2705.278, z=38.027}, 31 | {name="ATM", id=277, x=540.0420, y=2671.007, z=42.177}, 32 | {name="ATM", id=277, x=2564.399, y=2585.100, z=38.016}, 33 | {name="ATM", id=277, x=2558.683, y=349.6010, z=108.050}, 34 | {name="ATM", id=277, x=2558.051, y=389.4817, z=108.660}, 35 | {name="ATM", id=277, x=1077.692, y=-775.796, z=58.218}, 36 | {name="ATM", id=277, x=1139.018, y=-469.886, z=66.789}, 37 | {name="ATM", id=277, x=1168.975, y=-457.241, z=66.641}, 38 | {name="ATM", id=277, x=1153.884, y=-326.540, z=69.245}, 39 | {name="ATM", id=277, x=381.2827, y=323.2518, z=103.270}, 40 | {name="ATM", id=277, x=236.4638, y=217.4718, z=106.840}, 41 | {name="ATM", id=277, x=265.0043, y=212.1717, z=106.780}, 42 | {name="ATM", id=277, x=285.2029, y=143.5690, z=104.970}, 43 | {name="ATM", id=277, x=157.7698, y=233.5450, z=106.450}, 44 | {name="ATM", id=277, x=-164.568, y=233.5066, z=94.919}, 45 | {name="ATM", id=277, x=-1827.04, y=785.5159, z=138.020}, 46 | {name="ATM", id=277, x=-1409.39, y=-99.2603, z=52.473}, 47 | {name="ATM", id=277, x=-1205.35, y=-325.579, z=37.870}, 48 | {name="ATM", id=277, x=-1215.64, y=-332.231, z=37.881}, 49 | {name="ATM", id=277, x=-2072.41, y=-316.959, z=13.345}, 50 | {name="ATM", id=277, x=-2975.72, y=379.7737, z=14.992}, 51 | {name="ATM", id=277, x=-2962.60, y=482.1914, z=15.762}, 52 | {name="ATM", id=277, x=-2955.70, y=488.7218, z=15.486}, 53 | {name="ATM", id=277, x=-3044.22, y=595.2429, z=7.595}, 54 | {name="ATM", id=277, x=-3144.13, y=1127.415, z=20.868}, 55 | {name="ATM", id=277, x=-3241.10, y=996.6881, z=12.500}, 56 | {name="ATM", id=277, x=-3241.11, y=1009.152, z=12.877}, 57 | {name="ATM", id=277, x=-1305.40, y=-706.240, z=25.352}, 58 | {name="ATM", id=277, x=-538.225, y=-854.423, z=29.234}, 59 | {name="ATM", id=277, x=-711.156, y=-818.958, z=23.768}, 60 | {name="ATM", id=277, x=-717.614, y=-915.880, z=19.268}, 61 | {name="ATM", id=277, x=-526.566, y=-1222.90, z=18.434}, 62 | {name="ATM", id=277, x=-256.831, y=-719.646, z=33.444}, 63 | {name="ATM", id=277, x=-203.548, y=-861.588, z=30.205}, 64 | {name="ATM", id=277, x=112.4102, y=-776.162, z=31.427}, 65 | {name="ATM", id=277, x=112.9290, y=-818.710, z=31.386}, 66 | {name="ATM", id=277, x=119.9000, y=-883.826, z=31.191}, 67 | {name="ATM", id=277, x=149.4551, y=-1038.95, z=29.366}, 68 | {name="ATM", id=277, x=-846.304, y=-340.402, z=38.687}, 69 | {name="ATM", id=277, x=-1204.35, y=-324.391, z=37.877}, 70 | {name="ATM", id=277, x=-1216.27, y=-331.461, z=37.773}, 71 | {name="ATM", id=277, x=-56.1935, y=-1752.53, z=29.452}, 72 | {name="ATM", id=277, x=-261.692, y=-2012.64, z=30.121}, 73 | {name="ATM", id=277, x=-273.001, y=-2025.60, z=30.197}, 74 | {name="ATM", id=277, x=314.187, y=-278.621, z=54.170}, 75 | {name="ATM", id=277, x=-351.534, y=-49.529, z=49.042}, 76 | {name="ATM", id=277, x=24.589, y=-946.056, z=29.357}, 77 | {name="ATM", id=277, x=-254.112, y=-692.483, z=33.616}, 78 | {name="ATM", id=277, x=-1570.197, y=-546.651, z=34.955}, 79 | {name="ATM", id=277, x=-1415.909, y=-211.825, z=46.500}, 80 | {name="ATM", id=277, x=-1430.112, y=-211.014, z=46.500}, 81 | {name="ATM", id=277, x=33.232, y=-1347.849, z=29.497}, 82 | {name="ATM", id=277, x=129.216, y=-1292.347, z=29.269}, 83 | {name="ATM", id=277, x=287.645, y=-1282.646, z=29.659}, 84 | {name="ATM", id=277, x=289.012, y=-1256.545, z=29.440}, 85 | {name="ATM", id=277, x=295.839, y=-895.640, z=29.217}, 86 | {name="ATM", id=277, x=1686.753, y=4815.809, z=42.008}, 87 | {name="ATM", id=277, x=-302.408, y=-829.945, z=32.417}, 88 | {name="ATM", id=277, x=5.134, y=-919.949, z=29.557} 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /French Version/vb-banking/config.lua: -------------------------------------------------------------------------------- 1 | -- LEALTAD-BANKING CONFIG 2 | 3 | Config = {} 4 | 5 | Config.Zonas = { 6 | ["banks"] = { 7 | {name="Banque", id=108, x=150.266, y=-1040.203, z=29.374}, 8 | {name="Banque", id=108, x=-1212.980, y=-330.841, z=37.787}, 9 | {name="Banque", id=108, x=-2962.582, y=482.627, z=15.703}, 10 | {name="Banque", id=108, x=-112.202, y=6469.295, z=31.626}, 11 | {name="Banque", id=108, x=314.187, y=-278.621, z=54.170}, 12 | {name="Banque", id=108, x=-351.534, y=-49.529, z=49.042}, 13 | {name="Banque", id=108, x=241.727, y=220.706, z=106.286}, 14 | {name="Banque", id=108, x=1175.0643310547, y=2706.6435546875, z=38.094036102295} 15 | }, 16 | ["atms"] = { 17 | {name="DAB", id=277, x=-386.733, y=6045.953, z=31.501}, 18 | {name="DAB", id=277, x=-284.037, y=6224.385, z=31.187}, 19 | {name="DAB", id=277, x=-284.037, y=6224.385, z=31.187}, 20 | {name="DAB", id=277, x=-135.165, y=6365.738, z=31.101}, 21 | {name="DAB", id=277, x=-110.753, y=6467.703, z=31.784}, 22 | {name="DAB", id=277, x=-94.9690, y=6455.301, z=31.784}, 23 | {name="DAB", id=277, x=155.4300, y=6641.991, z=31.784}, 24 | {name="DAB", id=277, x=174.6720, y=6637.218, z=31.784}, 25 | {name="DAB", id=277, x=1703.138, y=6426.783, z=32.730}, 26 | {name="DAB", id=277, x=1735.114, y=6411.035, z=35.164}, 27 | {name="DAB", id=277, x=1702.842, y=4933.593, z=42.051}, 28 | {name="DAB", id=277, x=1967.333, y=3744.293, z=32.272}, 29 | {name="DAB", id=277, x=1821.917, y=3683.483, z=34.244}, 30 | {name="DAB", id=277, x=1174.532, y=2705.278, z=38.027}, 31 | {name="DAB", id=277, x=540.0420, y=2671.007, z=42.177}, 32 | {name="DAB", id=277, x=2564.399, y=2585.100, z=38.016}, 33 | {name="DAB", id=277, x=2558.683, y=349.6010, z=108.050}, 34 | {name="DAB", id=277, x=2558.051, y=389.4817, z=108.660}, 35 | {name="DAB", id=277, x=1077.692, y=-775.796, z=58.218}, 36 | {name="DAB", id=277, x=1139.018, y=-469.886, z=66.789}, 37 | {name="DAB", id=277, x=1168.975, y=-457.241, z=66.641}, 38 | {name="DAB", id=277, x=1153.884, y=-326.540, z=69.245}, 39 | {name="DAB", id=277, x=381.2827, y=323.2518, z=103.270}, 40 | {name="DAB", id=277, x=236.4638, y=217.4718, z=106.840}, 41 | {name="DAB", id=277, x=265.0043, y=212.1717, z=106.780}, 42 | {name="DAB", id=277, x=285.2029, y=143.5690, z=104.970}, 43 | {name="DAB", id=277, x=157.7698, y=233.5450, z=106.450}, 44 | {name="DAB", id=277, x=-164.568, y=233.5066, z=94.919}, 45 | {name="DAB", id=277, x=-1827.04, y=785.5159, z=138.020}, 46 | {name="DAB", id=277, x=-1409.39, y=-99.2603, z=52.473}, 47 | {name="DAB", id=277, x=-1205.35, y=-325.579, z=37.870}, 48 | {name="DAB", id=277, x=-1215.64, y=-332.231, z=37.881}, 49 | {name="DAB", id=277, x=-2072.41, y=-316.959, z=13.345}, 50 | {name="DAB", id=277, x=-2975.72, y=379.7737, z=14.992}, 51 | {name="DAB", id=277, x=-2962.60, y=482.1914, z=15.762}, 52 | {name="DAB", id=277, x=-2955.70, y=488.7218, z=15.486}, 53 | {name="DAB", id=277, x=-3044.22, y=595.2429, z=7.595}, 54 | {name="DAB", id=277, x=-3144.13, y=1127.415, z=20.868}, 55 | {name="DAB", id=277, x=-3241.10, y=996.6881, z=12.500}, 56 | {name="DAB", id=277, x=-3241.11, y=1009.152, z=12.877}, 57 | {name="DAB", id=277, x=-1305.40, y=-706.240, z=25.352}, 58 | {name="DAB", id=277, x=-538.225, y=-854.423, z=29.234}, 59 | {name="DAB", id=277, x=-711.156, y=-818.958, z=23.768}, 60 | {name="DAB", id=277, x=-717.614, y=-915.880, z=19.268}, 61 | {name="DAB", id=277, x=-526.566, y=-1222.90, z=18.434}, 62 | {name="DAB", id=277, x=-256.831, y=-719.646, z=33.444}, 63 | {name="DAB", id=277, x=-203.548, y=-861.588, z=30.205}, 64 | {name="DAB", id=277, x=112.4102, y=-776.162, z=31.427}, 65 | {name="DAB", id=277, x=112.9290, y=-818.710, z=31.386}, 66 | {name="DAB", id=277, x=119.9000, y=-883.826, z=31.191}, 67 | {name="DAB", id=277, x=149.4551, y=-1038.95, z=29.366}, 68 | {name="DAB", id=277, x=-846.304, y=-340.402, z=38.687}, 69 | {name="DAB", id=277, x=-1204.35, y=-324.391, z=37.877}, 70 | {name="DAB", id=277, x=-1216.27, y=-331.461, z=37.773}, 71 | {name="DAB", id=277, x=-56.1935, y=-1752.53, z=29.452}, 72 | {name="DAB", id=277, x=-261.692, y=-2012.64, z=30.121}, 73 | {name="DAB", id=277, x=-273.001, y=-2025.60, z=30.197}, 74 | {name="DAB", id=277, x=314.187, y=-278.621, z=54.170}, 75 | {name="DAB", id=277, x=-351.534, y=-49.529, z=49.042}, 76 | {name="DAB", id=277, x=24.589, y=-946.056, z=29.357}, 77 | {name="DAB", id=277, x=-254.112, y=-692.483, z=33.616}, 78 | {name="DAB", id=277, x=-1570.197, y=-546.651, z=34.955}, 79 | {name="DAB", id=277, x=-1415.909, y=-211.825, z=46.500}, 80 | {name="DAB", id=277, x=-1430.112, y=-211.014, z=46.500}, 81 | {name="DAB", id=277, x=33.232, y=-1347.849, z=29.497}, 82 | {name="DAB", id=277, x=129.216, y=-1292.347, z=29.269}, 83 | {name="DAB", id=277, x=287.645, y=-1282.646, z=29.659}, 84 | {name="DAB", id=277, x=289.012, y=-1256.545, z=29.440}, 85 | {name="DAB", id=277, x=295.839, y=-895.640, z=29.217}, 86 | {name="DAB", id=277, x=1686.753, y=4815.809, z=42.008}, 87 | {name="DAB", id=277, x=-302.408, y=-829.945, z=32.417}, 88 | {name="DAB", id=277, x=5.134, y=-919.949, z=29.557} 89 | } 90 | } -------------------------------------------------------------------------------- /English Version/vb-banking/client/main.lua: -------------------------------------------------------------------------------- 1 | --================================================================================================ 2 | --== VB-BANKING BY VISIBAIT (BASED OFF NEW_BANKING) == 3 | --================================================================================================ 4 | 5 | ESX = nil 6 | local inMenu = false 7 | local atbank = false 8 | 9 | -- 10 | -- MAIN THREAD 11 | -- 12 | 13 | Citizen.CreateThread(function() 14 | 15 | while ESX == nil do 16 | TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) 17 | Citizen.Wait(0) 18 | end 19 | 20 | while true do 21 | local _sleep = true 22 | Citizen.Wait(0) 23 | if nearBankorATM() then 24 | _sleep = false 25 | DisplayHelpText("Press ~INPUT_PICKUP~ to open the bank ~b~") 26 | if IsControlJustPressed(1, 38) then 27 | inMenu = true 28 | SetNuiFocus(true, true) 29 | SendNUIMessage({type = 'openGeneral', banco = atbank}) 30 | TriggerServerEvent('vb-banking:server:balance', inMenu) 31 | end 32 | if IsControlPressed(1, 322) then 33 | inMenu = false 34 | SetNuiFocus(false, false) 35 | SendNUIMessage({type = 'close'}) 36 | end 37 | end 38 | if _sleep then Citizen.Wait(1000) end 39 | end 40 | end) 41 | 42 | -- 43 | -- BLIPS 44 | -- 45 | 46 | Citizen.CreateThread(function() 47 | for k,v in ipairs(Config.Zonas["banks"])do 48 | local blip = AddBlipForCoord(v.x, v.y, v.z) 49 | SetBlipSprite(blip, v.id) 50 | SetBlipDisplay(blip, 4) 51 | SetBlipScale (blip, 0.8) 52 | SetBlipColour (blip, 2) 53 | SetBlipAsShortRange(blip, true) 54 | BeginTextCommandSetBlipName("STRING") 55 | AddTextComponentString(tostring(v.name)) 56 | EndTextCommandSetBlipName(blip) 57 | end 58 | end) 59 | 60 | -- 61 | -- EVENTS 62 | -- 63 | 64 | RegisterNetEvent('vb-banking:client:refreshbalance') 65 | AddEventHandler('vb-banking:client:refreshbalance', function(balance) 66 | local _streetcoords = GetStreetNameFromHashKey(GetStreetNameAtCoord(table.unpack(GetEntityCoords(PlayerPedId())))) 67 | local _pid = GetPlayerServerId(PlayerId()) 68 | ESX.TriggerServerCallback('vb-banking:server:GetPlayerName', function(playerName) 69 | SendNUIMessage({ 70 | type = "balanceHUD", 71 | balance = balance, 72 | player = playerName, 73 | address = _streetcoords, 74 | playerid = _pid 75 | }) 76 | end) 77 | end) 78 | 79 | -- 80 | -- NUI CALLBACKS 81 | -- 82 | 83 | RegisterNUICallback('deposit', function(data) 84 | TriggerServerEvent('vb-banking:server:depositvb', tonumber(data.amount), inMenu) 85 | TriggerServerEvent('vb-banking:server:balance', inMenu) 86 | end) 87 | 88 | RegisterNUICallback('withdraw', function(data) 89 | TriggerServerEvent('vb-banking:server:withdrawvb', tonumber(data.amountw), inMenu) 90 | TriggerServerEvent('vb-banking:server:balance', inMenu) 91 | end) 92 | 93 | RegisterNUICallback('balance', function() 94 | TriggerServerEvent('vb-banking:server:balance', inMenu) 95 | end) 96 | 97 | RegisterNetEvent('balance:back') 98 | AddEventHandler('balance:back', function(balance) 99 | SendNUIMessage({type = 'balanceReturn', bal = balance}) 100 | end) 101 | 102 | RegisterNUICallback('transfer', function(data) 103 | TriggerServerEvent('vb-banking:server:transfervb', data.to, data.amountt, inMenu) 104 | TriggerServerEvent('vb-banking:server:balance', inMenu) 105 | end) 106 | 107 | RegisterNetEvent('vb-banking:result') 108 | AddEventHandler('vb-banking:result', function(type, message) 109 | SendNUIMessage({type = 'result', m = message, t = type}) 110 | end) 111 | 112 | RegisterNUICallback('NUIFocusOff', function() 113 | SetNuiFocus(false, false) 114 | SendNUIMessage({type = 'closeAll'}) 115 | Citizen.Wait(500) 116 | inMenu = false 117 | end) 118 | 119 | -- 120 | -- FUNCS 121 | -- 122 | 123 | nearBankorATM = function() 124 | local _ped = PlayerPedId() 125 | local _pcoords = GetEntityCoords(_ped) 126 | local _toreturn = false 127 | for _, search in pairs(Config.Zonas["banks"]) do 128 | local distance = #(vector3(search.x, search.y, search.z) - vector3(_pcoords)) 129 | if distance <= 3 then 130 | atbank = true 131 | toreturn = true 132 | DrawText3D(search.x, search.y, search.z, 'Press ~y~E~w~ to ~r~open~w~ the Bank') 133 | DrawMarker(2,search.x, search.y, search.z, 0.0, 0.0, 0.0, 300.0, 0.0, 0.0, 0.25, 0.25, 0.05, 0, 100, 255, 255, false, true, 2, false, false, false, false) 134 | end 135 | end 136 | for _, search in pairs(Config.Zonas["atms"]) do 137 | local distance = #(vector3(search.x, search.y, search.z) - vector3(_pcoords)) 138 | if distance <= 2 then 139 | atbank = false 140 | _toreturn = true 141 | end 142 | end 143 | return _toreturn 144 | end 145 | 146 | DisplayHelpText = function(str) 147 | SetTextComponentFormat("STRING") 148 | AddTextComponentString(str) 149 | DisplayHelpTextFromStringLabel(0, 0, 1, -1) 150 | end 151 | 152 | DrawText3D = function(x, y, z, text) 153 | SetTextScale(0.35, 0.35) 154 | SetTextFont(4) 155 | SetTextProportional(1) 156 | SetTextColour(255, 255, 255, 215) 157 | SetTextEntry("STRING") 158 | SetTextCentre(true) 159 | AddTextComponentString(text) 160 | SetDrawOrigin(x,y,z, 0) 161 | DrawText(0.0, 0.0) 162 | local factor = (string.len(text)) / 370 163 | DrawRect(0.0, 0.0+0.0125, 0.017+ factor, 0.03, 0, 0, 0, 75) 164 | ClearDrawOrigin() 165 | end -------------------------------------------------------------------------------- /Spanish Version/vb-banking/client/main.lua: -------------------------------------------------------------------------------- 1 | --================================================================================================ 2 | --== VB-BANKING BY VISIBAIT (BASED OFF NEW_BANKING) == 3 | --================================================================================================ 4 | 5 | ESX = nil 6 | local inMenu = false 7 | local atbank = false 8 | 9 | -- 10 | -- MAIN THREAD 11 | -- 12 | 13 | Citizen.CreateThread(function() 14 | 15 | while ESX == nil do 16 | TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) 17 | Citizen.Wait(0) 18 | end 19 | 20 | while true do 21 | local _sleep = true 22 | Citizen.Wait(0) 23 | if nearBankorATM() then 24 | _sleep = false 25 | DisplayHelpText("Presiona ~INPUT_PICKUP~ para acceder a tu cuenta ~b~") 26 | if IsControlJustPressed(1, 38) then 27 | inMenu = true 28 | SetNuiFocus(true, true) 29 | SendNUIMessage({type = 'openGeneral', banco = atbank}) 30 | TriggerServerEvent('vb-banking:server:balance', inMenu) 31 | end 32 | if IsControlPressed(1, 322) then 33 | inMenu = false 34 | SetNuiFocus(false, false) 35 | SendNUIMessage({type = 'close'}) 36 | end 37 | end 38 | if _sleep then Citizen.Wait(1000) end 39 | end 40 | end) 41 | 42 | -- 43 | -- BLIPS 44 | -- 45 | 46 | Citizen.CreateThread(function() 47 | for k,v in ipairs(Config.Zonas["banks"])do 48 | local blip = AddBlipForCoord(v.x, v.y, v.z) 49 | SetBlipSprite(blip, v.id) 50 | SetBlipDisplay(blip, 4) 51 | SetBlipScale (blip, 0.8) 52 | SetBlipColour (blip, 2) 53 | SetBlipAsShortRange(blip, true) 54 | BeginTextCommandSetBlipName("STRING") 55 | AddTextComponentString(tostring(v.name)) 56 | EndTextCommandSetBlipName(blip) 57 | end 58 | end) 59 | 60 | -- 61 | -- EVENTS 62 | -- 63 | 64 | RegisterNetEvent('vb-banking:client:refreshbalance') 65 | AddEventHandler('vb-banking:client:refreshbalance', function(balance) 66 | local _streetcoords = GetStreetNameFromHashKey(GetStreetNameAtCoord(table.unpack(GetEntityCoords(PlayerPedId())))) 67 | local _pid = GetPlayerServerId(PlayerId()) 68 | ESX.TriggerServerCallback('vb-banking:server:GetPlayerName', function(playerName) 69 | SendNUIMessage({ 70 | type = "balanceHUD", 71 | balance = balance, 72 | player = playerName, 73 | address = _streetcoords, 74 | playerid = _pid 75 | }) 76 | end) 77 | end) 78 | 79 | -- 80 | -- NUI CALLBACKS 81 | -- 82 | 83 | RegisterNUICallback('deposit', function(data) 84 | TriggerServerEvent('vb-banking:server:depositvb', tonumber(data.amount), inMenu) 85 | TriggerServerEvent('vb-banking:server:balance', inMenu) 86 | end) 87 | 88 | RegisterNUICallback('withdraw', function(data) 89 | TriggerServerEvent('vb-banking:server:withdrawvb', tonumber(data.amountw), inMenu) 90 | TriggerServerEvent('vb-banking:server:balance', inMenu) 91 | end) 92 | 93 | RegisterNUICallback('balance', function() 94 | TriggerServerEvent('vb-banking:server:balance', inMenu) 95 | end) 96 | 97 | RegisterNetEvent('balance:back') 98 | AddEventHandler('balance:back', function(balance) 99 | SendNUIMessage({type = 'balanceReturn', bal = balance}) 100 | end) 101 | 102 | RegisterNUICallback('transfer', function(data) 103 | TriggerServerEvent('vb-banking:server:transfervb', data.to, data.amountt, inMenu) 104 | TriggerServerEvent('vb-banking:server:balance', inMenu) 105 | end) 106 | 107 | RegisterNetEvent('vb-banking:result') 108 | AddEventHandler('vb-banking:result', function(type, message) 109 | SendNUIMessage({type = 'result', m = message, t = type}) 110 | end) 111 | 112 | RegisterNUICallback('NUIFocusOff', function() 113 | SetNuiFocus(false, false) 114 | SendNUIMessage({type = 'closeAll'}) 115 | Citizen.Wait(1000) 116 | inMenu = false 117 | end) 118 | 119 | -- 120 | -- FUNCS 121 | -- 122 | 123 | nearBankorATM = function() 124 | local _ped = PlayerPedId() 125 | local _pcoords = GetEntityCoords(_ped) 126 | local _toreturn = false 127 | for _, search in pairs(Config.Zonas["banks"]) do 128 | local distance = #(vector3(search.x, search.y, search.z) - vector3(_pcoords)) 129 | if distance <= 3 then 130 | atbank = true 131 | toreturn = true 132 | DrawText3D(search.x, search.y, search.z, 'Presiona ~y~E~w~ para ~r~abrir~w~ el Banco') 133 | DrawMarker(2,search.x, search.y, search.z, 0.0, 0.0, 0.0, 300.0, 0.0, 0.0, 0.25, 0.25, 0.05, 0, 100, 255, 255, false, true, 2, false, false, false, false) 134 | end 135 | end 136 | for _, search in pairs(Config.Zonas["atms"]) do 137 | local distance = #(vector3(search.x, search.y, search.z) - vector3(_pcoords)) 138 | if distance <= 2 then 139 | atbank = false 140 | _toreturn = true 141 | end 142 | end 143 | return _toreturn 144 | end 145 | 146 | DisplayHelpText = function(str) 147 | SetTextComponentFormat("STRING") 148 | AddTextComponentString(str) 149 | DisplayHelpTextFromStringLabel(0, 0, 1, -1) 150 | end 151 | 152 | DrawText3D = function(x, y, z, text) 153 | SetTextScale(0.35, 0.35) 154 | SetTextFont(4) 155 | SetTextProportional(1) 156 | SetTextColour(255, 255, 255, 215) 157 | SetTextEntry("STRING") 158 | SetTextCentre(true) 159 | AddTextComponentString(text) 160 | SetDrawOrigin(x,y,z, 0) 161 | DrawText(0.0, 0.0) 162 | local factor = (string.len(text)) / 370 163 | DrawRect(0.0, 0.0+0.0125, 0.017+ factor, 0.03, 0, 0, 0, 75) 164 | ClearDrawOrigin() 165 | end 166 | -------------------------------------------------------------------------------- /VRP English Version/vb-banking/client/main.lua: -------------------------------------------------------------------------------- 1 | --================================================================================================ 2 | --== VB-BANKING BY VISIBAIT (BASED OFF NEW_BANKING) == 3 | --================================================================================================ 4 | 5 | local inMenu = false 6 | local atbank = false 7 | 8 | -- 9 | -- MAIN THREAD 10 | -- 11 | 12 | Citizen.CreateThread(function() 13 | 14 | while true do 15 | local _sleep = true 16 | Citizen.Wait(0) 17 | if nearBankorATM() then 18 | _sleep = false 19 | --DisplayHelpText("Press ~INPUT_PICKUP~ to open the bank ~b~") 20 | if IsControlJustPressed(1, 38) then 21 | inMenu = true 22 | SetNuiFocus(true, true) 23 | SendNUIMessage({type = 'openGeneral', banco = atbank}) 24 | TriggerServerEvent('vb-banking:server:balance', inMenu) 25 | end 26 | if IsControlPressed(1, 322) then 27 | inMenu = false 28 | SetNuiFocus(false, false) 29 | SendNUIMessage({type = 'close'}) 30 | end 31 | end 32 | if _sleep then Citizen.Wait(1000) end 33 | end 34 | end) 35 | 36 | -- 37 | -- BLIPS 38 | -- 39 | 40 | Citizen.CreateThread(function() 41 | for k,v in ipairs(Config.Zonas["banks"])do 42 | local blip = AddBlipForCoord(v.x, v.y, v.z) 43 | SetBlipSprite(blip, v.id) 44 | SetBlipDisplay(blip, 4) 45 | SetBlipScale (blip, 0.8) 46 | SetBlipColour (blip, 2) 47 | SetBlipAsShortRange(blip, true) 48 | BeginTextCommandSetBlipName("STRING") 49 | AddTextComponentString(tostring(v.name)) 50 | EndTextCommandSetBlipName(blip) 51 | end 52 | end) 53 | 54 | -- 55 | -- EVENTS 56 | -- 57 | 58 | RegisterNetEvent('vb-banking:client:refreshbalance') 59 | AddEventHandler('vb-banking:client:refreshbalance', function(balance) 60 | local _streetcoords = GetStreetNameFromHashKey(GetStreetNameAtCoord(table.unpack(GetEntityCoords(PlayerPedId())))) 61 | local _pid = GetPlayerServerId(PlayerId()) 62 | SendNUIMessage({ 63 | type = "balanceHUD", 64 | balance = balance, 65 | player = GetPlayerName(PlayerId()), 66 | address = _streetcoords, 67 | playerid = _pid 68 | }) 69 | end) 70 | 71 | -- 72 | -- NUI CALLBACKS 73 | -- 74 | 75 | RegisterNUICallback('deposit', function(data) 76 | TriggerServerEvent('vb-banking:server:depositvb', tonumber(data.amount), inMenu) 77 | TriggerServerEvent('vb-banking:server:balance', inMenu) 78 | end) 79 | 80 | RegisterNUICallback('withdraw', function(data) 81 | TriggerServerEvent('vb-banking:server:withdrawvb', tonumber(data.amountw), inMenu) 82 | TriggerServerEvent('vb-banking:server:balance', inMenu) 83 | end) 84 | 85 | RegisterNUICallback('balance', function() 86 | TriggerServerEvent('vb-banking:server:balance', inMenu) 87 | end) 88 | 89 | RegisterNetEvent('balance:back') 90 | AddEventHandler('balance:back', function(balance) 91 | SendNUIMessage({type = 'balanceReturn', bal = balance}) 92 | end) 93 | 94 | RegisterNUICallback('transfer', function(data) 95 | TriggerServerEvent('vb-banking:server:transfervb', data.to, data.amountt, inMenu) 96 | TriggerServerEvent('vb-banking:server:balance', inMenu) 97 | end) 98 | 99 | RegisterNetEvent('vb-banking:result') 100 | AddEventHandler('vb-banking:result', function(type, message) 101 | SendNUIMessage({type = 'result', m = message, t = type}) 102 | end) 103 | 104 | RegisterNUICallback('NUIFocusOff', function() 105 | SetNuiFocus(false, false) 106 | SendNUIMessage({type = 'closeAll'}) 107 | Citizen.Wait(500) 108 | inMenu = false 109 | end) 110 | 111 | -- 112 | -- FUNCS 113 | -- 114 | 115 | nearBankorATM = function() 116 | local _ped = PlayerPedId() 117 | local _pcoords = GetEntityCoords(_ped) 118 | local _toreturn = false 119 | for _, search in pairs(Config.Zonas["banks"]) do 120 | local distance = #(vector3(search.x, search.y, search.z) - vector3(_pcoords)) 121 | if distance <= 3 then 122 | atbank = true 123 | toreturn = true 124 | DrawText3D(search.x, search.y, search.z, 'Press ~y~E~w~ to ~r~open~w~ the Bank') 125 | DrawMarker(2,search.x, search.y, search.z, 0.0, 0.0, 0.0, 300.0, 0.0, 0.0, 0.25, 0.25, 0.05, 0, 100, 255, 255, false, true, 2, false, false, false, false) 126 | end 127 | end 128 | for _, search in pairs(Config.Zonas["atms"]) do 129 | local distance = #(vector3(search.x, search.y, search.z) - vector3(_pcoords)) 130 | if distance <= 2 then 131 | atbank = false 132 | _toreturn = true 133 | end 134 | end 135 | return _toreturn 136 | end 137 | 138 | DisplayHelpText = function(str) 139 | SetTextComponentFormat("STRING") 140 | AddTextComponentString(str) 141 | DisplayHelpTextFromStringLabel(0, 0, 1, -1) 142 | end 143 | 144 | DrawText3D = function(x, y, z, text) 145 | SetTextScale(0.35, 0.35) 146 | SetTextFont(4) 147 | SetTextProportional(1) 148 | SetTextColour(255, 255, 255, 215) 149 | SetTextEntry("STRING") 150 | SetTextCentre(true) 151 | AddTextComponentString(text) 152 | SetDrawOrigin(x,y,z, 0) 153 | DrawText(0.0, 0.0) 154 | local factor = (string.len(text)) / 370 155 | DrawRect(0.0, 0.0+0.0125, 0.017+ factor, 0.03, 0, 0, 0, 75) 156 | ClearDrawOrigin() 157 | end 158 | 159 | RegisterNetEvent('vb-banking:ShowNotification') 160 | AddEventHandler('vb-banking:ShowNotification', function(msg) 161 | ShowNotification(msg) 162 | end) 163 | 164 | function ShowNotification(msg) 165 | SetNotificationTextEntry("STRING") 166 | AddTextComponentString(msg) 167 | DrawNotification(true, false) 168 | end -------------------------------------------------------------------------------- /French Version/vb-banking/client/main.lua: -------------------------------------------------------------------------------- 1 | --================================================================================================ 2 | --== VB-BANKING BY VISIBAIT (BASED OFF NEW_BANKING) == 3 | --================================================================================================ 4 | 5 | ESX = nil 6 | local inMenu = false 7 | local atbank = false 8 | 9 | -- 10 | -- MAIN THREAD 11 | -- 12 | 13 | Citizen.CreateThread(function() 14 | 15 | while ESX == nil do 16 | TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) 17 | Citizen.Wait(0) 18 | end 19 | 20 | while true do 21 | local _sleep = true 22 | Citizen.Wait(0) 23 | if nearBankorATM() then 24 | _sleep = false 25 | DisplayHelpText("Appuyez sur ~INPUT_PICKUP~ pour ouvrir la banque ~b~") 26 | if IsControlJustPressed(1, 38) then 27 | inMenu = true 28 | SetNuiFocus(true, true) 29 | SendNUIMessage({type = 'openGeneral', banco = atbank}) 30 | TriggerServerEvent('vb-banking:server:balance', inMenu) 31 | end 32 | if IsControlPressed(1, 322) then 33 | inMenu = false 34 | SetNuiFocus(false, false) 35 | SendNUIMessage({type = 'close'}) 36 | end 37 | end 38 | if _sleep then Citizen.Wait(1000) end 39 | end 40 | end) 41 | 42 | -- 43 | -- BLIPS 44 | -- 45 | 46 | Citizen.CreateThread(function() 47 | for k,v in ipairs(Config.Zonas["banks"])do 48 | local blip = AddBlipForCoord(v.x, v.y, v.z) 49 | SetBlipSprite(blip, v.id) 50 | SetBlipDisplay(blip, 4) 51 | SetBlipScale (blip, 0.8) 52 | SetBlipColour (blip, 2) 53 | SetBlipAsShortRange(blip, true) 54 | BeginTextCommandSetBlipName("STRING") 55 | AddTextComponentString(tostring(v.name)) 56 | EndTextCommandSetBlipName(blip) 57 | end 58 | end) 59 | 60 | Citizen.CreateThread(function() 61 | for k,v in ipairs(Config.Zonas["atms"])do 62 | local blip = AddBlipForCoord(v.x, v.y, v.z) 63 | SetBlipSprite(blip, v.id) 64 | SetBlipDisplay(blip, 4) 65 | SetBlipScale (blip, 0.8) 66 | SetBlipColour (blip, 2) 67 | SetBlipAsShortRange(blip, true) 68 | BeginTextCommandSetBlipName("STRING") 69 | AddTextComponentString(tostring(v.name)) 70 | EndTextCommandSetBlipName(blip) 71 | end 72 | end) 73 | -- 74 | -- EVENTS 75 | -- 76 | 77 | RegisterNetEvent('vb-banking:client:refreshbalance') 78 | AddEventHandler('vb-banking:client:refreshbalance', function(balance) 79 | local _streetcoords = GetStreetNameFromHashKey(GetStreetNameAtCoord(table.unpack(GetEntityCoords(PlayerPedId())))) 80 | local _pid = GetPlayerServerId(PlayerId()) 81 | ESX.TriggerServerCallback('vb-banking:server:GetPlayerName', function(playerName) 82 | SendNUIMessage({ 83 | type = "balanceHUD", 84 | balance = balance, 85 | player = playerName, 86 | address = _streetcoords, 87 | playerid = _pid 88 | }) 89 | end) 90 | end) 91 | 92 | -- 93 | -- NUI CALLBACKS 94 | -- 95 | 96 | RegisterNUICallback('deposit', function(data) 97 | TriggerServerEvent('vb-banking:server:depositvb', tonumber(data.amount), inMenu) 98 | TriggerServerEvent('vb-banking:server:balance', inMenu) 99 | end) 100 | 101 | RegisterNUICallback('withdraw', function(data) 102 | TriggerServerEvent('vb-banking:server:withdrawvb', tonumber(data.amountw), inMenu) 103 | TriggerServerEvent('vb-banking:server:balance', inMenu) 104 | end) 105 | 106 | RegisterNUICallback('balance', function() 107 | TriggerServerEvent('vb-banking:server:balance', inMenu) 108 | end) 109 | 110 | RegisterNetEvent('balance:back') 111 | AddEventHandler('balance:back', function(balance) 112 | SendNUIMessage({type = 'balanceReturn', bal = balance}) 113 | end) 114 | 115 | RegisterNUICallback('transfer', function(data) 116 | TriggerServerEvent('vb-banking:server:transfervb', data.to, data.amountt, inMenu) 117 | TriggerServerEvent('vb-banking:server:balance', inMenu) 118 | end) 119 | 120 | RegisterNetEvent('vb-banking:result') 121 | AddEventHandler('vb-banking:result', function(type, message) 122 | SendNUIMessage({type = 'result', m = message, t = type}) 123 | end) 124 | 125 | RegisterNUICallback('NUIFocusOff', function() 126 | SetNuiFocus(false, false) 127 | SendNUIMessage({type = 'closeAll'}) 128 | Citizen.Wait(500) 129 | inMenu = false 130 | end) 131 | 132 | -- 133 | -- FUNCS 134 | -- 135 | 136 | nearBankorATM = function() 137 | local _ped = PlayerPedId() 138 | local _pcoords = GetEntityCoords(_ped) 139 | local _toreturn = false 140 | for _, search in pairs(Config.Zonas["banks"]) do 141 | local distance = #(vector3(search.x, search.y, search.z) - vector3(_pcoords)) 142 | if distance <= 3 then 143 | atbank = true 144 | toreturn = true 145 | DrawText3D(search.x, search.y, search.z, 'Appuyez sur ~y~E~w~ pour ~r~ouvrir~w~ la banque') 146 | DrawMarker(2,search.x, search.y, search.z, 0.0, 0.0, 0.0, 300.0, 0.0, 0.0, 0.25, 0.25, 0.05, 0, 100, 255, 255, false, true, 2, false, false, false, false) 147 | end 148 | end 149 | for _, search in pairs(Config.Zonas["atms"]) do 150 | local distance = #(vector3(search.x, search.y, search.z) - vector3(_pcoords)) 151 | if distance <= 2 then 152 | atbank = false 153 | _toreturn = true 154 | end 155 | end 156 | return _toreturn 157 | end 158 | 159 | DisplayHelpText = function(str) 160 | SetTextComponentFormat("STRING") 161 | AddTextComponentString(str) 162 | DisplayHelpTextFromStringLabel(0, 0, 1, -1) 163 | end 164 | 165 | DrawText3D = function(x, y, z, text) 166 | SetTextScale(0.35, 0.35) 167 | SetTextFont(4) 168 | SetTextProportional(1) 169 | SetTextColour(255, 255, 255, 215) 170 | SetTextEntry("STRING") 171 | SetTextCentre(true) 172 | AddTextComponentString(text) 173 | SetDrawOrigin(x,y,z, 0) 174 | DrawText(0.0, 0.0) 175 | local factor = (string.len(text)) / 370 176 | DrawRect(0.0, 0.0+0.0125, 0.017+ factor, 0.03, 0, 0, 0, 75) 177 | ClearDrawOrigin() 178 | end -------------------------------------------------------------------------------- /English Version/vb-banking/html/js/fontawesome.js: -------------------------------------------------------------------------------- 1 | window.FontAwesomeKitConfig = { 2 | "asyncLoading": { 3 | "enabled": false 4 | }, 5 | "autoA11y": { 6 | "enabled": true 7 | }, 8 | "baseUrl": "https://ka-f.fontawesome.com", 9 | "baseUrlKit": "https://kit.fontawesome.com", 10 | "detectConflictsUntil": null, 11 | "iconUploads": {}, 12 | "id": 11317288, 13 | "license": "pro", 14 | "method": "css", 15 | "minify": { 16 | "enabled": true 17 | }, 18 | "token": "fc945f645a", 19 | "v4FontFaceShim": { 20 | "enabled": true 21 | }, 22 | "v4shim": { 23 | "enabled": true 24 | }, 25 | "version": "5.15.2" 26 | }; 27 | ! function(t) { 28 | "function" == typeof define && define.amd ? define("kit-loader", t) : t() 29 | }((function() { 30 | "use strict"; 31 | 32 | function t(e) { 33 | return (t = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { 34 | return typeof t 35 | } : function(t) { 36 | return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t 37 | })(e) 38 | } 39 | 40 | function e(t, e, n) { 41 | return e in t ? Object.defineProperty(t, e, { 42 | value: n, 43 | enumerable: !0, 44 | configurable: !0, 45 | writable: !0 46 | }) : t[e] = n, t 47 | } 48 | 49 | function n(t, e) { 50 | var n = Object.keys(t); 51 | if (Object.getOwnPropertySymbols) { 52 | var r = Object.getOwnPropertySymbols(t); 53 | e && (r = r.filter((function(e) { 54 | return Object.getOwnPropertyDescriptor(t, e).enumerable 55 | }))), n.push.apply(n, r) 56 | } 57 | return n 58 | } 59 | 60 | function r(t) { 61 | for (var r = 1; r < arguments.length; r++) { 62 | var o = null != arguments[r] ? arguments[r] : {}; 63 | r % 2 ? n(Object(o), !0).forEach((function(n) { 64 | e(t, n, o[n]) 65 | })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : n(Object(o)).forEach((function(e) { 66 | Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(o, e)) 67 | })) 68 | } 69 | return t 70 | } 71 | 72 | function o(t, e) { 73 | return function(t) { 74 | if (Array.isArray(t)) return t 75 | }(t) || function(t, e) { 76 | if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t))) return; 77 | var n = [], 78 | r = !0, 79 | o = !1, 80 | i = void 0; 81 | try { 82 | for (var c, a = t[Symbol.iterator](); !(r = (c = a.next()).done) && (n.push(c.value), !e || n.length !== e); r = !0); 83 | } catch (t) { 84 | o = !0, i = t 85 | } finally { 86 | try { 87 | r || null == a.return || a.return() 88 | } finally { 89 | if (o) throw i 90 | } 91 | } 92 | return n 93 | }(t, e) || function(t, e) { 94 | if (!t) return; 95 | if ("string" == typeof t) return i(t, e); 96 | var n = Object.prototype.toString.call(t).slice(8, -1); 97 | "Object" === n && t.constructor && (n = t.constructor.name); 98 | if ("Map" === n || "Set" === n) return Array.from(t); 99 | if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return i(t, e) 100 | }(t, e) || function() { 101 | throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") 102 | }() 103 | } 104 | 105 | function i(t, e) { 106 | (null == e || e > t.length) && (e = t.length); 107 | for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n]; 108 | return r 109 | } 110 | 111 | function c(t, e) { 112 | var n = e && e.addOn || "", 113 | r = e && e.baseFilename || t.license + n, 114 | o = e && e.minify ? ".min" : "", 115 | i = e && e.fileSuffix || t.method, 116 | c = e && e.subdir || t.method; 117 | return t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/" + c + "/" + r + o + "." + i 118 | } 119 | 120 | function a(t) { 121 | return t.baseUrlKit + "/" + t.token + "/" + t.id + "/kit-upload.css" 122 | } 123 | 124 | function u(t, e) { 125 | var n = e || ["fa"], 126 | r = "." + Array.prototype.join.call(n, ",."), 127 | o = t.querySelectorAll(r); 128 | Array.prototype.forEach.call(o, (function(e) { 129 | var n = e.getAttribute("title"); 130 | e.setAttribute("aria-hidden", "true"); 131 | var r = !e.nextElementSibling || !e.nextElementSibling.classList.contains("sr-only"); 132 | if (n && r) { 133 | var o = t.createElement("span"); 134 | o.innerHTML = n, o.classList.add("sr-only"), e.parentNode.insertBefore(o, e.nextSibling) 135 | } 136 | })) 137 | } 138 | var f, s = function() {}, 139 | d = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, 140 | l = "undefined" == typeof setImmediate ? setTimeout : setImmediate, 141 | h = []; 142 | 143 | function m() { 144 | for (var t = 0; t < h.length; t++) h[t][0](h[t][1]); 145 | h = [], f = !1 146 | } 147 | 148 | function p(t, e) { 149 | h.push([t, e]), f || (f = !0, l(m, 0)) 150 | } 151 | 152 | function y(t) { 153 | var e = t.owner, 154 | n = e._state, 155 | r = e._data, 156 | o = t[n], 157 | i = t.then; 158 | if ("function" == typeof o) { 159 | n = "fulfilled"; 160 | try { 161 | r = o(r) 162 | } catch (t) { 163 | w(i, t) 164 | } 165 | } 166 | b(i, r) || ("fulfilled" === n && v(i, r), "rejected" === n && w(i, r)) 167 | } 168 | 169 | function b(e, n) { 170 | var r; 171 | try { 172 | if (e === n) throw new TypeError("A promises callback cannot return that same promise."); 173 | if (n && ("function" == typeof n || "object" === t(n))) { 174 | var o = n.then; 175 | if ("function" == typeof o) return o.call(n, (function(t) { 176 | r || (r = !0, n === t ? g(e, t) : v(e, t)) 177 | }), (function(t) { 178 | r || (r = !0, w(e, t)) 179 | })), !0 180 | } 181 | } catch (t) { 182 | return r || w(e, t), !0 183 | } 184 | return !1 185 | } 186 | 187 | function v(t, e) { 188 | t !== e && b(t, e) || g(t, e) 189 | } 190 | 191 | function g(t, e) { 192 | "pending" === t._state && (t._state = "settled", t._data = e, p(S, t)) 193 | } 194 | 195 | function w(t, e) { 196 | "pending" === t._state && (t._state = "settled", t._data = e, p(O, t)) 197 | } 198 | 199 | function A(t) { 200 | t._then = t._then.forEach(y) 201 | } 202 | 203 | function S(t) { 204 | t._state = "fulfilled", A(t) 205 | } 206 | 207 | function O(t) { 208 | t._state = "rejected", A(t), !t._handled && d && global.process.emit("unhandledRejection", t._data, t) 209 | } 210 | 211 | function j(t) { 212 | global.process.emit("rejectionHandled", t) 213 | } 214 | 215 | function E(t) { 216 | if ("function" != typeof t) throw new TypeError("Promise resolver " + t + " is not a function"); 217 | if (this instanceof E == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."); 218 | this._then = [], 219 | function(t, e) { 220 | function n(t) { 221 | w(e, t) 222 | } 223 | try { 224 | t((function(t) { 225 | v(e, t) 226 | }), n) 227 | } catch (t) { 228 | n(t) 229 | } 230 | }(t, this) 231 | } 232 | E.prototype = { 233 | constructor: E, 234 | _state: "pending", 235 | _then: null, 236 | _data: void 0, 237 | _handled: !1, 238 | then: function(t, e) { 239 | var n = { 240 | owner: this, 241 | then: new this.constructor(s), 242 | fulfilled: t, 243 | rejected: e 244 | }; 245 | return !e && !t || this._handled || (this._handled = !0, "rejected" === this._state && d && p(j, this)), "fulfilled" === this._state || "rejected" === this._state ? p(y, n) : this._then.push(n), n.then 246 | }, 247 | catch: function(t) { 248 | return this.then(null, t) 249 | } 250 | }, E.all = function(t) { 251 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.all()."); 252 | return new E((function(e, n) { 253 | var r = [], 254 | o = 0; 255 | 256 | function i(t) { 257 | return o++, 258 | function(n) { 259 | r[t] = n, --o || e(r) 260 | } 261 | } 262 | for (var c, a = 0; a < t.length; a++)(c = t[a]) && "function" == typeof c.then ? c.then(i(a), n) : r[a] = c; 263 | o || e(r) 264 | })) 265 | }, E.race = function(t) { 266 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.race()."); 267 | return new E((function(e, n) { 268 | for (var r, o = 0; o < t.length; o++)(r = t[o]) && "function" == typeof r.then ? r.then(e, n) : e(r) 269 | })) 270 | }, E.resolve = function(e) { 271 | return e && "object" === t(e) && e.constructor === E ? e : new E((function(t) { 272 | t(e) 273 | })) 274 | }, E.reject = function(t) { 275 | return new E((function(e, n) { 276 | n(t) 277 | })) 278 | }; 279 | var _ = "function" == typeof Promise ? Promise : E; 280 | 281 | function P(t, e) { 282 | var n = e.fetch, 283 | r = e.XMLHttpRequest, 284 | o = e.token, 285 | i = t; 286 | return "URLSearchParams" in window ? (i = new URL(t)).searchParams.set("token", o) : i = i + "?token=" + encodeURIComponent(o), i = i.toString(), new _((function(t, e) { 287 | if ("function" == typeof n) n(i, { 288 | mode: "cors", 289 | cache: "default" 290 | }).then((function(t) { 291 | if (t.ok) return t.text(); 292 | throw new Error("") 293 | })).then((function(e) { 294 | t(e) 295 | })).catch(e); 296 | else if ("function" == typeof r) { 297 | var o = new r; 298 | o.addEventListener("loadend", (function() { 299 | this.responseText ? t(this.responseText) : e(new Error("")) 300 | })); 301 | ["abort", "error", "timeout"].map((function(t) { 302 | o.addEventListener(t, (function() { 303 | e(new Error("")) 304 | })) 305 | })), o.open("GET", i), o.send() 306 | } else { 307 | e(new Error("")) 308 | } 309 | })) 310 | } 311 | 312 | function C(t, e, n) { 313 | var r = t; 314 | return [ 315 | [/(url\("?)\.\.\/\.\.\/\.\./g, function(t, n) { 316 | return "".concat(n).concat(e) 317 | }], 318 | [/(url\("?)\.\.\/webfonts/g, function(t, r) { 319 | return "".concat(r).concat(e, "/releases/v").concat(n, "/webfonts") 320 | }], 321 | [/(url\("?)https:\/\/kit-pro([^.])*\.fontawesome\.com/g, function(t, n) { 322 | return "".concat(n).concat(e) 323 | }] 324 | ].forEach((function(t) { 325 | var e = o(t, 2), 326 | n = e[0], 327 | i = e[1]; 328 | r = r.replace(n, i) 329 | })), r 330 | } 331 | 332 | function F(t, e) { 333 | var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function() {}, 334 | o = e.document || o, 335 | i = u.bind(u, o, ["fa", "fab", "fas", "far", "fal", "fad", "fak"]), 336 | f = Object.keys(t.iconUploads || {}).length > 0; 337 | t.autoA11y.enabled && n(i); 338 | var s = [{ 339 | id: "fa-main", 340 | addOn: void 0 341 | }]; 342 | t.v4shim.enabled && s.push({ 343 | id: "fa-v4-shims", 344 | addOn: "-v4-shims" 345 | }), t.v4FontFaceShim.enabled && s.push({ 346 | id: "fa-v4-font-face", 347 | addOn: "-v4-font-face" 348 | }), f && s.push({ 349 | id: "fa-kit-upload", 350 | customCss: !0 351 | }); 352 | var d = s.map((function(n) { 353 | return new _((function(o, i) { 354 | P(n.customCss ? a(t) : c(t, { 355 | addOn: n.addOn, 356 | minify: t.minify.enabled 357 | }), e).then((function(i) { 358 | o(U(i, r(r({}, e), {}, { 359 | baseUrl: t.baseUrl, 360 | version: t.version, 361 | id: n.id, 362 | contentFilter: function(t, e) { 363 | return C(t, e.baseUrl, e.version) 364 | } 365 | }))) 366 | })).catch(i) 367 | })) 368 | })); 369 | return _.all(d) 370 | } 371 | 372 | function U(t, e) { 373 | var n = e.contentFilter || function(t, e) { 374 | return t 375 | }, 376 | r = document.createElement("style"), 377 | o = document.createTextNode(n(t, e)); 378 | return r.appendChild(o), r.media = "all", e.id && r.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), r 379 | } 380 | 381 | function k(t, e) { 382 | e.autoA11y = t.autoA11y.enabled, "pro" === t.license && (e.autoFetchSvg = !0, e.fetchSvgFrom = t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/svgs", e.fetchUploadedSvgFrom = t.uploadsUrl); 383 | var n = []; 384 | return t.v4shim.enabled && n.push(new _((function(n, o) { 385 | P(c(t, { 386 | addOn: "-v4-shims", 387 | minify: t.minify.enabled 388 | }), e).then((function(t) { 389 | n(I(t, r(r({}, e), {}, { 390 | id: "fa-v4-shims" 391 | }))) 392 | })).catch(o) 393 | }))), n.push(new _((function(n, o) { 394 | P(c(t, { 395 | minify: t.minify.enabled 396 | }), e).then((function(t) { 397 | var o = I(t, r(r({}, e), {}, { 398 | id: "fa-main" 399 | })); 400 | n(function(t, e) { 401 | var n = e && void 0 !== e.autoFetchSvg ? e.autoFetchSvg : void 0, 402 | r = e && void 0 !== e.autoA11y ? e.autoA11y : void 0; 403 | void 0 !== r && t.setAttribute("data-auto-a11y", r ? "true" : "false"); 404 | n && (t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")), t.setAttribute("data-fetch-svg-from", e.fetchSvgFrom), t.setAttribute("data-fetch-uploaded-svg-from", e.fetchUploadedSvgFrom)); 405 | return t 406 | }(o, e)) 407 | })).catch(o) 408 | }))), _.all(n) 409 | } 410 | 411 | function I(t, e) { 412 | var n = document.createElement("SCRIPT"), 413 | r = document.createTextNode(t); 414 | return n.appendChild(r), n.referrerPolicy = "strict-origin", e.id && n.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n 415 | } 416 | 417 | function L(t) { 418 | var e, n = [], 419 | r = document, 420 | o = r.documentElement.doScroll, 421 | i = (o ? /^loaded|^c/ : /^loaded|^i|^c/).test(r.readyState); 422 | i || r.addEventListener("DOMContentLoaded", e = function() { 423 | for (r.removeEventListener("DOMContentLoaded", e), i = 1; e = n.shift();) e() 424 | }), i ? setTimeout(t, 0) : n.push(t) 425 | } 426 | 427 | function T(t) { 428 | "undefined" != typeof MutationObserver && new MutationObserver(t).observe(document, { 429 | childList: !0, 430 | subtree: !0 431 | }) 432 | } 433 | try { 434 | if (window.FontAwesomeKitConfig) { 435 | var x = window.FontAwesomeKitConfig, 436 | M = { 437 | detectingConflicts: x.detectConflictsUntil && new Date <= new Date(x.detectConflictsUntil), 438 | detectionIgnoreAttr: "data-fa-detection-ignore", 439 | fetch: window.fetch, 440 | token: x.token, 441 | XMLHttpRequest: window.XMLHttpRequest, 442 | document: document 443 | }, 444 | D = document.currentScript, 445 | N = D ? D.parentElement : document.head; 446 | (function() { 447 | var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, 448 | e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; 449 | return "js" === t.method ? k(t, e) : "css" === t.method ? F(t, e, (function(t) { 450 | L(t), T(t) 451 | })) : void 0 452 | })(x, M).then((function(t) { 453 | t.map((function(t) { 454 | try { 455 | N.insertBefore(t, D ? D.nextSibling : null) 456 | } catch (e) { 457 | N.appendChild(t) 458 | } 459 | })), M.detectingConflicts && D && L((function() { 460 | D.setAttributeNode(document.createAttribute(M.detectionIgnoreAttr)); 461 | var t = function(t, e) { 462 | var n = document.createElement("script"); 463 | return e && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n.src = c(t, { 464 | baseFilename: "conflict-detection", 465 | fileSuffix: "js", 466 | subdir: "js", 467 | minify: t.minify.enabled 468 | }), n 469 | }(x, M); 470 | document.body.appendChild(t) 471 | })) 472 | })).catch((function(t) { 473 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 474 | })) 475 | } 476 | } catch (t) { 477 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 478 | } 479 | })); -------------------------------------------------------------------------------- /French Version/vb-banking/html/js/fontawesome.js: -------------------------------------------------------------------------------- 1 | window.FontAwesomeKitConfig = { 2 | "asyncLoading": { 3 | "enabled": false 4 | }, 5 | "autoA11y": { 6 | "enabled": true 7 | }, 8 | "baseUrl": "https://ka-f.fontawesome.com", 9 | "baseUrlKit": "https://kit.fontawesome.com", 10 | "detectConflictsUntil": null, 11 | "iconUploads": {}, 12 | "id": 11317288, 13 | "license": "pro", 14 | "method": "css", 15 | "minify": { 16 | "enabled": true 17 | }, 18 | "token": "fc945f645a", 19 | "v4FontFaceShim": { 20 | "enabled": true 21 | }, 22 | "v4shim": { 23 | "enabled": true 24 | }, 25 | "version": "5.15.2" 26 | }; 27 | ! function(t) { 28 | "function" == typeof define && define.amd ? define("kit-loader", t) : t() 29 | }((function() { 30 | "use strict"; 31 | 32 | function t(e) { 33 | return (t = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { 34 | return typeof t 35 | } : function(t) { 36 | return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t 37 | })(e) 38 | } 39 | 40 | function e(t, e, n) { 41 | return e in t ? Object.defineProperty(t, e, { 42 | value: n, 43 | enumerable: !0, 44 | configurable: !0, 45 | writable: !0 46 | }) : t[e] = n, t 47 | } 48 | 49 | function n(t, e) { 50 | var n = Object.keys(t); 51 | if (Object.getOwnPropertySymbols) { 52 | var r = Object.getOwnPropertySymbols(t); 53 | e && (r = r.filter((function(e) { 54 | return Object.getOwnPropertyDescriptor(t, e).enumerable 55 | }))), n.push.apply(n, r) 56 | } 57 | return n 58 | } 59 | 60 | function r(t) { 61 | for (var r = 1; r < arguments.length; r++) { 62 | var o = null != arguments[r] ? arguments[r] : {}; 63 | r % 2 ? n(Object(o), !0).forEach((function(n) { 64 | e(t, n, o[n]) 65 | })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : n(Object(o)).forEach((function(e) { 66 | Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(o, e)) 67 | })) 68 | } 69 | return t 70 | } 71 | 72 | function o(t, e) { 73 | return function(t) { 74 | if (Array.isArray(t)) return t 75 | }(t) || function(t, e) { 76 | if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t))) return; 77 | var n = [], 78 | r = !0, 79 | o = !1, 80 | i = void 0; 81 | try { 82 | for (var c, a = t[Symbol.iterator](); !(r = (c = a.next()).done) && (n.push(c.value), !e || n.length !== e); r = !0); 83 | } catch (t) { 84 | o = !0, i = t 85 | } finally { 86 | try { 87 | r || null == a.return || a.return() 88 | } finally { 89 | if (o) throw i 90 | } 91 | } 92 | return n 93 | }(t, e) || function(t, e) { 94 | if (!t) return; 95 | if ("string" == typeof t) return i(t, e); 96 | var n = Object.prototype.toString.call(t).slice(8, -1); 97 | "Object" === n && t.constructor && (n = t.constructor.name); 98 | if ("Map" === n || "Set" === n) return Array.from(t); 99 | if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return i(t, e) 100 | }(t, e) || function() { 101 | throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") 102 | }() 103 | } 104 | 105 | function i(t, e) { 106 | (null == e || e > t.length) && (e = t.length); 107 | for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n]; 108 | return r 109 | } 110 | 111 | function c(t, e) { 112 | var n = e && e.addOn || "", 113 | r = e && e.baseFilename || t.license + n, 114 | o = e && e.minify ? ".min" : "", 115 | i = e && e.fileSuffix || t.method, 116 | c = e && e.subdir || t.method; 117 | return t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/" + c + "/" + r + o + "." + i 118 | } 119 | 120 | function a(t) { 121 | return t.baseUrlKit + "/" + t.token + "/" + t.id + "/kit-upload.css" 122 | } 123 | 124 | function u(t, e) { 125 | var n = e || ["fa"], 126 | r = "." + Array.prototype.join.call(n, ",."), 127 | o = t.querySelectorAll(r); 128 | Array.prototype.forEach.call(o, (function(e) { 129 | var n = e.getAttribute("title"); 130 | e.setAttribute("aria-hidden", "true"); 131 | var r = !e.nextElementSibling || !e.nextElementSibling.classList.contains("sr-only"); 132 | if (n && r) { 133 | var o = t.createElement("span"); 134 | o.innerHTML = n, o.classList.add("sr-only"), e.parentNode.insertBefore(o, e.nextSibling) 135 | } 136 | })) 137 | } 138 | var f, s = function() {}, 139 | d = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, 140 | l = "undefined" == typeof setImmediate ? setTimeout : setImmediate, 141 | h = []; 142 | 143 | function m() { 144 | for (var t = 0; t < h.length; t++) h[t][0](h[t][1]); 145 | h = [], f = !1 146 | } 147 | 148 | function p(t, e) { 149 | h.push([t, e]), f || (f = !0, l(m, 0)) 150 | } 151 | 152 | function y(t) { 153 | var e = t.owner, 154 | n = e._state, 155 | r = e._data, 156 | o = t[n], 157 | i = t.then; 158 | if ("function" == typeof o) { 159 | n = "fulfilled"; 160 | try { 161 | r = o(r) 162 | } catch (t) { 163 | w(i, t) 164 | } 165 | } 166 | b(i, r) || ("fulfilled" === n && v(i, r), "rejected" === n && w(i, r)) 167 | } 168 | 169 | function b(e, n) { 170 | var r; 171 | try { 172 | if (e === n) throw new TypeError("A promises callback cannot return that same promise."); 173 | if (n && ("function" == typeof n || "object" === t(n))) { 174 | var o = n.then; 175 | if ("function" == typeof o) return o.call(n, (function(t) { 176 | r || (r = !0, n === t ? g(e, t) : v(e, t)) 177 | }), (function(t) { 178 | r || (r = !0, w(e, t)) 179 | })), !0 180 | } 181 | } catch (t) { 182 | return r || w(e, t), !0 183 | } 184 | return !1 185 | } 186 | 187 | function v(t, e) { 188 | t !== e && b(t, e) || g(t, e) 189 | } 190 | 191 | function g(t, e) { 192 | "pending" === t._state && (t._state = "settled", t._data = e, p(S, t)) 193 | } 194 | 195 | function w(t, e) { 196 | "pending" === t._state && (t._state = "settled", t._data = e, p(O, t)) 197 | } 198 | 199 | function A(t) { 200 | t._then = t._then.forEach(y) 201 | } 202 | 203 | function S(t) { 204 | t._state = "fulfilled", A(t) 205 | } 206 | 207 | function O(t) { 208 | t._state = "rejected", A(t), !t._handled && d && global.process.emit("unhandledRejection", t._data, t) 209 | } 210 | 211 | function j(t) { 212 | global.process.emit("rejectionHandled", t) 213 | } 214 | 215 | function E(t) { 216 | if ("function" != typeof t) throw new TypeError("Promise resolver " + t + " is not a function"); 217 | if (this instanceof E == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."); 218 | this._then = [], 219 | function(t, e) { 220 | function n(t) { 221 | w(e, t) 222 | } 223 | try { 224 | t((function(t) { 225 | v(e, t) 226 | }), n) 227 | } catch (t) { 228 | n(t) 229 | } 230 | }(t, this) 231 | } 232 | E.prototype = { 233 | constructor: E, 234 | _state: "pending", 235 | _then: null, 236 | _data: void 0, 237 | _handled: !1, 238 | then: function(t, e) { 239 | var n = { 240 | owner: this, 241 | then: new this.constructor(s), 242 | fulfilled: t, 243 | rejected: e 244 | }; 245 | return !e && !t || this._handled || (this._handled = !0, "rejected" === this._state && d && p(j, this)), "fulfilled" === this._state || "rejected" === this._state ? p(y, n) : this._then.push(n), n.then 246 | }, 247 | catch: function(t) { 248 | return this.then(null, t) 249 | } 250 | }, E.all = function(t) { 251 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.all()."); 252 | return new E((function(e, n) { 253 | var r = [], 254 | o = 0; 255 | 256 | function i(t) { 257 | return o++, 258 | function(n) { 259 | r[t] = n, --o || e(r) 260 | } 261 | } 262 | for (var c, a = 0; a < t.length; a++)(c = t[a]) && "function" == typeof c.then ? c.then(i(a), n) : r[a] = c; 263 | o || e(r) 264 | })) 265 | }, E.race = function(t) { 266 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.race()."); 267 | return new E((function(e, n) { 268 | for (var r, o = 0; o < t.length; o++)(r = t[o]) && "function" == typeof r.then ? r.then(e, n) : e(r) 269 | })) 270 | }, E.resolve = function(e) { 271 | return e && "object" === t(e) && e.constructor === E ? e : new E((function(t) { 272 | t(e) 273 | })) 274 | }, E.reject = function(t) { 275 | return new E((function(e, n) { 276 | n(t) 277 | })) 278 | }; 279 | var _ = "function" == typeof Promise ? Promise : E; 280 | 281 | function P(t, e) { 282 | var n = e.fetch, 283 | r = e.XMLHttpRequest, 284 | o = e.token, 285 | i = t; 286 | return "URLSearchParams" in window ? (i = new URL(t)).searchParams.set("token", o) : i = i + "?token=" + encodeURIComponent(o), i = i.toString(), new _((function(t, e) { 287 | if ("function" == typeof n) n(i, { 288 | mode: "cors", 289 | cache: "default" 290 | }).then((function(t) { 291 | if (t.ok) return t.text(); 292 | throw new Error("") 293 | })).then((function(e) { 294 | t(e) 295 | })).catch(e); 296 | else if ("function" == typeof r) { 297 | var o = new r; 298 | o.addEventListener("loadend", (function() { 299 | this.responseText ? t(this.responseText) : e(new Error("")) 300 | })); 301 | ["abort", "error", "timeout"].map((function(t) { 302 | o.addEventListener(t, (function() { 303 | e(new Error("")) 304 | })) 305 | })), o.open("GET", i), o.send() 306 | } else { 307 | e(new Error("")) 308 | } 309 | })) 310 | } 311 | 312 | function C(t, e, n) { 313 | var r = t; 314 | return [ 315 | [/(url\("?)\.\.\/\.\.\/\.\./g, function(t, n) { 316 | return "".concat(n).concat(e) 317 | }], 318 | [/(url\("?)\.\.\/webfonts/g, function(t, r) { 319 | return "".concat(r).concat(e, "/releases/v").concat(n, "/webfonts") 320 | }], 321 | [/(url\("?)https:\/\/kit-pro([^.])*\.fontawesome\.com/g, function(t, n) { 322 | return "".concat(n).concat(e) 323 | }] 324 | ].forEach((function(t) { 325 | var e = o(t, 2), 326 | n = e[0], 327 | i = e[1]; 328 | r = r.replace(n, i) 329 | })), r 330 | } 331 | 332 | function F(t, e) { 333 | var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function() {}, 334 | o = e.document || o, 335 | i = u.bind(u, o, ["fa", "fab", "fas", "far", "fal", "fad", "fak"]), 336 | f = Object.keys(t.iconUploads || {}).length > 0; 337 | t.autoA11y.enabled && n(i); 338 | var s = [{ 339 | id: "fa-main", 340 | addOn: void 0 341 | }]; 342 | t.v4shim.enabled && s.push({ 343 | id: "fa-v4-shims", 344 | addOn: "-v4-shims" 345 | }), t.v4FontFaceShim.enabled && s.push({ 346 | id: "fa-v4-font-face", 347 | addOn: "-v4-font-face" 348 | }), f && s.push({ 349 | id: "fa-kit-upload", 350 | customCss: !0 351 | }); 352 | var d = s.map((function(n) { 353 | return new _((function(o, i) { 354 | P(n.customCss ? a(t) : c(t, { 355 | addOn: n.addOn, 356 | minify: t.minify.enabled 357 | }), e).then((function(i) { 358 | o(U(i, r(r({}, e), {}, { 359 | baseUrl: t.baseUrl, 360 | version: t.version, 361 | id: n.id, 362 | contentFilter: function(t, e) { 363 | return C(t, e.baseUrl, e.version) 364 | } 365 | }))) 366 | })).catch(i) 367 | })) 368 | })); 369 | return _.all(d) 370 | } 371 | 372 | function U(t, e) { 373 | var n = e.contentFilter || function(t, e) { 374 | return t 375 | }, 376 | r = document.createElement("style"), 377 | o = document.createTextNode(n(t, e)); 378 | return r.appendChild(o), r.media = "all", e.id && r.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), r 379 | } 380 | 381 | function k(t, e) { 382 | e.autoA11y = t.autoA11y.enabled, "pro" === t.license && (e.autoFetchSvg = !0, e.fetchSvgFrom = t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/svgs", e.fetchUploadedSvgFrom = t.uploadsUrl); 383 | var n = []; 384 | return t.v4shim.enabled && n.push(new _((function(n, o) { 385 | P(c(t, { 386 | addOn: "-v4-shims", 387 | minify: t.minify.enabled 388 | }), e).then((function(t) { 389 | n(I(t, r(r({}, e), {}, { 390 | id: "fa-v4-shims" 391 | }))) 392 | })).catch(o) 393 | }))), n.push(new _((function(n, o) { 394 | P(c(t, { 395 | minify: t.minify.enabled 396 | }), e).then((function(t) { 397 | var o = I(t, r(r({}, e), {}, { 398 | id: "fa-main" 399 | })); 400 | n(function(t, e) { 401 | var n = e && void 0 !== e.autoFetchSvg ? e.autoFetchSvg : void 0, 402 | r = e && void 0 !== e.autoA11y ? e.autoA11y : void 0; 403 | void 0 !== r && t.setAttribute("data-auto-a11y", r ? "true" : "false"); 404 | n && (t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")), t.setAttribute("data-fetch-svg-from", e.fetchSvgFrom), t.setAttribute("data-fetch-uploaded-svg-from", e.fetchUploadedSvgFrom)); 405 | return t 406 | }(o, e)) 407 | })).catch(o) 408 | }))), _.all(n) 409 | } 410 | 411 | function I(t, e) { 412 | var n = document.createElement("SCRIPT"), 413 | r = document.createTextNode(t); 414 | return n.appendChild(r), n.referrerPolicy = "strict-origin", e.id && n.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n 415 | } 416 | 417 | function L(t) { 418 | var e, n = [], 419 | r = document, 420 | o = r.documentElement.doScroll, 421 | i = (o ? /^loaded|^c/ : /^loaded|^i|^c/).test(r.readyState); 422 | i || r.addEventListener("DOMContentLoaded", e = function() { 423 | for (r.removeEventListener("DOMContentLoaded", e), i = 1; e = n.shift();) e() 424 | }), i ? setTimeout(t, 0) : n.push(t) 425 | } 426 | 427 | function T(t) { 428 | "undefined" != typeof MutationObserver && new MutationObserver(t).observe(document, { 429 | childList: !0, 430 | subtree: !0 431 | }) 432 | } 433 | try { 434 | if (window.FontAwesomeKitConfig) { 435 | var x = window.FontAwesomeKitConfig, 436 | M = { 437 | detectingConflicts: x.detectConflictsUntil && new Date <= new Date(x.detectConflictsUntil), 438 | detectionIgnoreAttr: "data-fa-detection-ignore", 439 | fetch: window.fetch, 440 | token: x.token, 441 | XMLHttpRequest: window.XMLHttpRequest, 442 | document: document 443 | }, 444 | D = document.currentScript, 445 | N = D ? D.parentElement : document.head; 446 | (function() { 447 | var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, 448 | e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; 449 | return "js" === t.method ? k(t, e) : "css" === t.method ? F(t, e, (function(t) { 450 | L(t), T(t) 451 | })) : void 0 452 | })(x, M).then((function(t) { 453 | t.map((function(t) { 454 | try { 455 | N.insertBefore(t, D ? D.nextSibling : null) 456 | } catch (e) { 457 | N.appendChild(t) 458 | } 459 | })), M.detectingConflicts && D && L((function() { 460 | D.setAttributeNode(document.createAttribute(M.detectionIgnoreAttr)); 461 | var t = function(t, e) { 462 | var n = document.createElement("script"); 463 | return e && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n.src = c(t, { 464 | baseFilename: "conflict-detection", 465 | fileSuffix: "js", 466 | subdir: "js", 467 | minify: t.minify.enabled 468 | }), n 469 | }(x, M); 470 | document.body.appendChild(t) 471 | })) 472 | })).catch((function(t) { 473 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 474 | })) 475 | } 476 | } catch (t) { 477 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 478 | } 479 | })); -------------------------------------------------------------------------------- /Spanish Version/vb-banking/html/js/fontawesome.js: -------------------------------------------------------------------------------- 1 | window.FontAwesomeKitConfig = { 2 | "asyncLoading": { 3 | "enabled": false 4 | }, 5 | "autoA11y": { 6 | "enabled": true 7 | }, 8 | "baseUrl": "https://ka-f.fontawesome.com", 9 | "baseUrlKit": "https://kit.fontawesome.com", 10 | "detectConflictsUntil": null, 11 | "iconUploads": {}, 12 | "id": 11317288, 13 | "license": "pro", 14 | "method": "css", 15 | "minify": { 16 | "enabled": true 17 | }, 18 | "token": "fc945f645a", 19 | "v4FontFaceShim": { 20 | "enabled": true 21 | }, 22 | "v4shim": { 23 | "enabled": true 24 | }, 25 | "version": "5.15.2" 26 | }; 27 | ! function(t) { 28 | "function" == typeof define && define.amd ? define("kit-loader", t) : t() 29 | }((function() { 30 | "use strict"; 31 | 32 | function t(e) { 33 | return (t = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { 34 | return typeof t 35 | } : function(t) { 36 | return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t 37 | })(e) 38 | } 39 | 40 | function e(t, e, n) { 41 | return e in t ? Object.defineProperty(t, e, { 42 | value: n, 43 | enumerable: !0, 44 | configurable: !0, 45 | writable: !0 46 | }) : t[e] = n, t 47 | } 48 | 49 | function n(t, e) { 50 | var n = Object.keys(t); 51 | if (Object.getOwnPropertySymbols) { 52 | var r = Object.getOwnPropertySymbols(t); 53 | e && (r = r.filter((function(e) { 54 | return Object.getOwnPropertyDescriptor(t, e).enumerable 55 | }))), n.push.apply(n, r) 56 | } 57 | return n 58 | } 59 | 60 | function r(t) { 61 | for (var r = 1; r < arguments.length; r++) { 62 | var o = null != arguments[r] ? arguments[r] : {}; 63 | r % 2 ? n(Object(o), !0).forEach((function(n) { 64 | e(t, n, o[n]) 65 | })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : n(Object(o)).forEach((function(e) { 66 | Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(o, e)) 67 | })) 68 | } 69 | return t 70 | } 71 | 72 | function o(t, e) { 73 | return function(t) { 74 | if (Array.isArray(t)) return t 75 | }(t) || function(t, e) { 76 | if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t))) return; 77 | var n = [], 78 | r = !0, 79 | o = !1, 80 | i = void 0; 81 | try { 82 | for (var c, a = t[Symbol.iterator](); !(r = (c = a.next()).done) && (n.push(c.value), !e || n.length !== e); r = !0); 83 | } catch (t) { 84 | o = !0, i = t 85 | } finally { 86 | try { 87 | r || null == a.return || a.return() 88 | } finally { 89 | if (o) throw i 90 | } 91 | } 92 | return n 93 | }(t, e) || function(t, e) { 94 | if (!t) return; 95 | if ("string" == typeof t) return i(t, e); 96 | var n = Object.prototype.toString.call(t).slice(8, -1); 97 | "Object" === n && t.constructor && (n = t.constructor.name); 98 | if ("Map" === n || "Set" === n) return Array.from(t); 99 | if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return i(t, e) 100 | }(t, e) || function() { 101 | throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") 102 | }() 103 | } 104 | 105 | function i(t, e) { 106 | (null == e || e > t.length) && (e = t.length); 107 | for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n]; 108 | return r 109 | } 110 | 111 | function c(t, e) { 112 | var n = e && e.addOn || "", 113 | r = e && e.baseFilename || t.license + n, 114 | o = e && e.minify ? ".min" : "", 115 | i = e && e.fileSuffix || t.method, 116 | c = e && e.subdir || t.method; 117 | return t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/" + c + "/" + r + o + "." + i 118 | } 119 | 120 | function a(t) { 121 | return t.baseUrlKit + "/" + t.token + "/" + t.id + "/kit-upload.css" 122 | } 123 | 124 | function u(t, e) { 125 | var n = e || ["fa"], 126 | r = "." + Array.prototype.join.call(n, ",."), 127 | o = t.querySelectorAll(r); 128 | Array.prototype.forEach.call(o, (function(e) { 129 | var n = e.getAttribute("title"); 130 | e.setAttribute("aria-hidden", "true"); 131 | var r = !e.nextElementSibling || !e.nextElementSibling.classList.contains("sr-only"); 132 | if (n && r) { 133 | var o = t.createElement("span"); 134 | o.innerHTML = n, o.classList.add("sr-only"), e.parentNode.insertBefore(o, e.nextSibling) 135 | } 136 | })) 137 | } 138 | var f, s = function() {}, 139 | d = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, 140 | l = "undefined" == typeof setImmediate ? setTimeout : setImmediate, 141 | h = []; 142 | 143 | function m() { 144 | for (var t = 0; t < h.length; t++) h[t][0](h[t][1]); 145 | h = [], f = !1 146 | } 147 | 148 | function p(t, e) { 149 | h.push([t, e]), f || (f = !0, l(m, 0)) 150 | } 151 | 152 | function y(t) { 153 | var e = t.owner, 154 | n = e._state, 155 | r = e._data, 156 | o = t[n], 157 | i = t.then; 158 | if ("function" == typeof o) { 159 | n = "fulfilled"; 160 | try { 161 | r = o(r) 162 | } catch (t) { 163 | w(i, t) 164 | } 165 | } 166 | b(i, r) || ("fulfilled" === n && v(i, r), "rejected" === n && w(i, r)) 167 | } 168 | 169 | function b(e, n) { 170 | var r; 171 | try { 172 | if (e === n) throw new TypeError("A promises callback cannot return that same promise."); 173 | if (n && ("function" == typeof n || "object" === t(n))) { 174 | var o = n.then; 175 | if ("function" == typeof o) return o.call(n, (function(t) { 176 | r || (r = !0, n === t ? g(e, t) : v(e, t)) 177 | }), (function(t) { 178 | r || (r = !0, w(e, t)) 179 | })), !0 180 | } 181 | } catch (t) { 182 | return r || w(e, t), !0 183 | } 184 | return !1 185 | } 186 | 187 | function v(t, e) { 188 | t !== e && b(t, e) || g(t, e) 189 | } 190 | 191 | function g(t, e) { 192 | "pending" === t._state && (t._state = "settled", t._data = e, p(S, t)) 193 | } 194 | 195 | function w(t, e) { 196 | "pending" === t._state && (t._state = "settled", t._data = e, p(O, t)) 197 | } 198 | 199 | function A(t) { 200 | t._then = t._then.forEach(y) 201 | } 202 | 203 | function S(t) { 204 | t._state = "fulfilled", A(t) 205 | } 206 | 207 | function O(t) { 208 | t._state = "rejected", A(t), !t._handled && d && global.process.emit("unhandledRejection", t._data, t) 209 | } 210 | 211 | function j(t) { 212 | global.process.emit("rejectionHandled", t) 213 | } 214 | 215 | function E(t) { 216 | if ("function" != typeof t) throw new TypeError("Promise resolver " + t + " is not a function"); 217 | if (this instanceof E == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."); 218 | this._then = [], 219 | function(t, e) { 220 | function n(t) { 221 | w(e, t) 222 | } 223 | try { 224 | t((function(t) { 225 | v(e, t) 226 | }), n) 227 | } catch (t) { 228 | n(t) 229 | } 230 | }(t, this) 231 | } 232 | E.prototype = { 233 | constructor: E, 234 | _state: "pending", 235 | _then: null, 236 | _data: void 0, 237 | _handled: !1, 238 | then: function(t, e) { 239 | var n = { 240 | owner: this, 241 | then: new this.constructor(s), 242 | fulfilled: t, 243 | rejected: e 244 | }; 245 | return !e && !t || this._handled || (this._handled = !0, "rejected" === this._state && d && p(j, this)), "fulfilled" === this._state || "rejected" === this._state ? p(y, n) : this._then.push(n), n.then 246 | }, 247 | catch: function(t) { 248 | return this.then(null, t) 249 | } 250 | }, E.all = function(t) { 251 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.all()."); 252 | return new E((function(e, n) { 253 | var r = [], 254 | o = 0; 255 | 256 | function i(t) { 257 | return o++, 258 | function(n) { 259 | r[t] = n, --o || e(r) 260 | } 261 | } 262 | for (var c, a = 0; a < t.length; a++)(c = t[a]) && "function" == typeof c.then ? c.then(i(a), n) : r[a] = c; 263 | o || e(r) 264 | })) 265 | }, E.race = function(t) { 266 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.race()."); 267 | return new E((function(e, n) { 268 | for (var r, o = 0; o < t.length; o++)(r = t[o]) && "function" == typeof r.then ? r.then(e, n) : e(r) 269 | })) 270 | }, E.resolve = function(e) { 271 | return e && "object" === t(e) && e.constructor === E ? e : new E((function(t) { 272 | t(e) 273 | })) 274 | }, E.reject = function(t) { 275 | return new E((function(e, n) { 276 | n(t) 277 | })) 278 | }; 279 | var _ = "function" == typeof Promise ? Promise : E; 280 | 281 | function P(t, e) { 282 | var n = e.fetch, 283 | r = e.XMLHttpRequest, 284 | o = e.token, 285 | i = t; 286 | return "URLSearchParams" in window ? (i = new URL(t)).searchParams.set("token", o) : i = i + "?token=" + encodeURIComponent(o), i = i.toString(), new _((function(t, e) { 287 | if ("function" == typeof n) n(i, { 288 | mode: "cors", 289 | cache: "default" 290 | }).then((function(t) { 291 | if (t.ok) return t.text(); 292 | throw new Error("") 293 | })).then((function(e) { 294 | t(e) 295 | })).catch(e); 296 | else if ("function" == typeof r) { 297 | var o = new r; 298 | o.addEventListener("loadend", (function() { 299 | this.responseText ? t(this.responseText) : e(new Error("")) 300 | })); 301 | ["abort", "error", "timeout"].map((function(t) { 302 | o.addEventListener(t, (function() { 303 | e(new Error("")) 304 | })) 305 | })), o.open("GET", i), o.send() 306 | } else { 307 | e(new Error("")) 308 | } 309 | })) 310 | } 311 | 312 | function C(t, e, n) { 313 | var r = t; 314 | return [ 315 | [/(url\("?)\.\.\/\.\.\/\.\./g, function(t, n) { 316 | return "".concat(n).concat(e) 317 | }], 318 | [/(url\("?)\.\.\/webfonts/g, function(t, r) { 319 | return "".concat(r).concat(e, "/releases/v").concat(n, "/webfonts") 320 | }], 321 | [/(url\("?)https:\/\/kit-pro([^.])*\.fontawesome\.com/g, function(t, n) { 322 | return "".concat(n).concat(e) 323 | }] 324 | ].forEach((function(t) { 325 | var e = o(t, 2), 326 | n = e[0], 327 | i = e[1]; 328 | r = r.replace(n, i) 329 | })), r 330 | } 331 | 332 | function F(t, e) { 333 | var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function() {}, 334 | o = e.document || o, 335 | i = u.bind(u, o, ["fa", "fab", "fas", "far", "fal", "fad", "fak"]), 336 | f = Object.keys(t.iconUploads || {}).length > 0; 337 | t.autoA11y.enabled && n(i); 338 | var s = [{ 339 | id: "fa-main", 340 | addOn: void 0 341 | }]; 342 | t.v4shim.enabled && s.push({ 343 | id: "fa-v4-shims", 344 | addOn: "-v4-shims" 345 | }), t.v4FontFaceShim.enabled && s.push({ 346 | id: "fa-v4-font-face", 347 | addOn: "-v4-font-face" 348 | }), f && s.push({ 349 | id: "fa-kit-upload", 350 | customCss: !0 351 | }); 352 | var d = s.map((function(n) { 353 | return new _((function(o, i) { 354 | P(n.customCss ? a(t) : c(t, { 355 | addOn: n.addOn, 356 | minify: t.minify.enabled 357 | }), e).then((function(i) { 358 | o(U(i, r(r({}, e), {}, { 359 | baseUrl: t.baseUrl, 360 | version: t.version, 361 | id: n.id, 362 | contentFilter: function(t, e) { 363 | return C(t, e.baseUrl, e.version) 364 | } 365 | }))) 366 | })).catch(i) 367 | })) 368 | })); 369 | return _.all(d) 370 | } 371 | 372 | function U(t, e) { 373 | var n = e.contentFilter || function(t, e) { 374 | return t 375 | }, 376 | r = document.createElement("style"), 377 | o = document.createTextNode(n(t, e)); 378 | return r.appendChild(o), r.media = "all", e.id && r.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), r 379 | } 380 | 381 | function k(t, e) { 382 | e.autoA11y = t.autoA11y.enabled, "pro" === t.license && (e.autoFetchSvg = !0, e.fetchSvgFrom = t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/svgs", e.fetchUploadedSvgFrom = t.uploadsUrl); 383 | var n = []; 384 | return t.v4shim.enabled && n.push(new _((function(n, o) { 385 | P(c(t, { 386 | addOn: "-v4-shims", 387 | minify: t.minify.enabled 388 | }), e).then((function(t) { 389 | n(I(t, r(r({}, e), {}, { 390 | id: "fa-v4-shims" 391 | }))) 392 | })).catch(o) 393 | }))), n.push(new _((function(n, o) { 394 | P(c(t, { 395 | minify: t.minify.enabled 396 | }), e).then((function(t) { 397 | var o = I(t, r(r({}, e), {}, { 398 | id: "fa-main" 399 | })); 400 | n(function(t, e) { 401 | var n = e && void 0 !== e.autoFetchSvg ? e.autoFetchSvg : void 0, 402 | r = e && void 0 !== e.autoA11y ? e.autoA11y : void 0; 403 | void 0 !== r && t.setAttribute("data-auto-a11y", r ? "true" : "false"); 404 | n && (t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")), t.setAttribute("data-fetch-svg-from", e.fetchSvgFrom), t.setAttribute("data-fetch-uploaded-svg-from", e.fetchUploadedSvgFrom)); 405 | return t 406 | }(o, e)) 407 | })).catch(o) 408 | }))), _.all(n) 409 | } 410 | 411 | function I(t, e) { 412 | var n = document.createElement("SCRIPT"), 413 | r = document.createTextNode(t); 414 | return n.appendChild(r), n.referrerPolicy = "strict-origin", e.id && n.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n 415 | } 416 | 417 | function L(t) { 418 | var e, n = [], 419 | r = document, 420 | o = r.documentElement.doScroll, 421 | i = (o ? /^loaded|^c/ : /^loaded|^i|^c/).test(r.readyState); 422 | i || r.addEventListener("DOMContentLoaded", e = function() { 423 | for (r.removeEventListener("DOMContentLoaded", e), i = 1; e = n.shift();) e() 424 | }), i ? setTimeout(t, 0) : n.push(t) 425 | } 426 | 427 | function T(t) { 428 | "undefined" != typeof MutationObserver && new MutationObserver(t).observe(document, { 429 | childList: !0, 430 | subtree: !0 431 | }) 432 | } 433 | try { 434 | if (window.FontAwesomeKitConfig) { 435 | var x = window.FontAwesomeKitConfig, 436 | M = { 437 | detectingConflicts: x.detectConflictsUntil && new Date <= new Date(x.detectConflictsUntil), 438 | detectionIgnoreAttr: "data-fa-detection-ignore", 439 | fetch: window.fetch, 440 | token: x.token, 441 | XMLHttpRequest: window.XMLHttpRequest, 442 | document: document 443 | }, 444 | D = document.currentScript, 445 | N = D ? D.parentElement : document.head; 446 | (function() { 447 | var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, 448 | e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; 449 | return "js" === t.method ? k(t, e) : "css" === t.method ? F(t, e, (function(t) { 450 | L(t), T(t) 451 | })) : void 0 452 | })(x, M).then((function(t) { 453 | t.map((function(t) { 454 | try { 455 | N.insertBefore(t, D ? D.nextSibling : null) 456 | } catch (e) { 457 | N.appendChild(t) 458 | } 459 | })), M.detectingConflicts && D && L((function() { 460 | D.setAttributeNode(document.createAttribute(M.detectionIgnoreAttr)); 461 | var t = function(t, e) { 462 | var n = document.createElement("script"); 463 | return e && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n.src = c(t, { 464 | baseFilename: "conflict-detection", 465 | fileSuffix: "js", 466 | subdir: "js", 467 | minify: t.minify.enabled 468 | }), n 469 | }(x, M); 470 | document.body.appendChild(t) 471 | })) 472 | })).catch((function(t) { 473 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 474 | })) 475 | } 476 | } catch (t) { 477 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 478 | } 479 | })); -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/js/fontawesome.js: -------------------------------------------------------------------------------- 1 | window.FontAwesomeKitConfig = { 2 | "asyncLoading": { 3 | "enabled": false 4 | }, 5 | "autoA11y": { 6 | "enabled": true 7 | }, 8 | "baseUrl": "https://ka-f.fontawesome.com", 9 | "baseUrlKit": "https://kit.fontawesome.com", 10 | "detectConflictsUntil": null, 11 | "iconUploads": {}, 12 | "id": 11317288, 13 | "license": "pro", 14 | "method": "css", 15 | "minify": { 16 | "enabled": true 17 | }, 18 | "token": "fc945f645a", 19 | "v4FontFaceShim": { 20 | "enabled": true 21 | }, 22 | "v4shim": { 23 | "enabled": true 24 | }, 25 | "version": "5.15.2" 26 | }; 27 | ! function(t) { 28 | "function" == typeof define && define.amd ? define("kit-loader", t) : t() 29 | }((function() { 30 | "use strict"; 31 | 32 | function t(e) { 33 | return (t = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { 34 | return typeof t 35 | } : function(t) { 36 | return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t 37 | })(e) 38 | } 39 | 40 | function e(t, e, n) { 41 | return e in t ? Object.defineProperty(t, e, { 42 | value: n, 43 | enumerable: !0, 44 | configurable: !0, 45 | writable: !0 46 | }) : t[e] = n, t 47 | } 48 | 49 | function n(t, e) { 50 | var n = Object.keys(t); 51 | if (Object.getOwnPropertySymbols) { 52 | var r = Object.getOwnPropertySymbols(t); 53 | e && (r = r.filter((function(e) { 54 | return Object.getOwnPropertyDescriptor(t, e).enumerable 55 | }))), n.push.apply(n, r) 56 | } 57 | return n 58 | } 59 | 60 | function r(t) { 61 | for (var r = 1; r < arguments.length; r++) { 62 | var o = null != arguments[r] ? arguments[r] : {}; 63 | r % 2 ? n(Object(o), !0).forEach((function(n) { 64 | e(t, n, o[n]) 65 | })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : n(Object(o)).forEach((function(e) { 66 | Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(o, e)) 67 | })) 68 | } 69 | return t 70 | } 71 | 72 | function o(t, e) { 73 | return function(t) { 74 | if (Array.isArray(t)) return t 75 | }(t) || function(t, e) { 76 | if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t))) return; 77 | var n = [], 78 | r = !0, 79 | o = !1, 80 | i = void 0; 81 | try { 82 | for (var c, a = t[Symbol.iterator](); !(r = (c = a.next()).done) && (n.push(c.value), !e || n.length !== e); r = !0); 83 | } catch (t) { 84 | o = !0, i = t 85 | } finally { 86 | try { 87 | r || null == a.return || a.return() 88 | } finally { 89 | if (o) throw i 90 | } 91 | } 92 | return n 93 | }(t, e) || function(t, e) { 94 | if (!t) return; 95 | if ("string" == typeof t) return i(t, e); 96 | var n = Object.prototype.toString.call(t).slice(8, -1); 97 | "Object" === n && t.constructor && (n = t.constructor.name); 98 | if ("Map" === n || "Set" === n) return Array.from(t); 99 | if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return i(t, e) 100 | }(t, e) || function() { 101 | throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") 102 | }() 103 | } 104 | 105 | function i(t, e) { 106 | (null == e || e > t.length) && (e = t.length); 107 | for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n]; 108 | return r 109 | } 110 | 111 | function c(t, e) { 112 | var n = e && e.addOn || "", 113 | r = e && e.baseFilename || t.license + n, 114 | o = e && e.minify ? ".min" : "", 115 | i = e && e.fileSuffix || t.method, 116 | c = e && e.subdir || t.method; 117 | return t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/" + c + "/" + r + o + "." + i 118 | } 119 | 120 | function a(t) { 121 | return t.baseUrlKit + "/" + t.token + "/" + t.id + "/kit-upload.css" 122 | } 123 | 124 | function u(t, e) { 125 | var n = e || ["fa"], 126 | r = "." + Array.prototype.join.call(n, ",."), 127 | o = t.querySelectorAll(r); 128 | Array.prototype.forEach.call(o, (function(e) { 129 | var n = e.getAttribute("title"); 130 | e.setAttribute("aria-hidden", "true"); 131 | var r = !e.nextElementSibling || !e.nextElementSibling.classList.contains("sr-only"); 132 | if (n && r) { 133 | var o = t.createElement("span"); 134 | o.innerHTML = n, o.classList.add("sr-only"), e.parentNode.insertBefore(o, e.nextSibling) 135 | } 136 | })) 137 | } 138 | var f, s = function() {}, 139 | d = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, 140 | l = "undefined" == typeof setImmediate ? setTimeout : setImmediate, 141 | h = []; 142 | 143 | function m() { 144 | for (var t = 0; t < h.length; t++) h[t][0](h[t][1]); 145 | h = [], f = !1 146 | } 147 | 148 | function p(t, e) { 149 | h.push([t, e]), f || (f = !0, l(m, 0)) 150 | } 151 | 152 | function y(t) { 153 | var e = t.owner, 154 | n = e._state, 155 | r = e._data, 156 | o = t[n], 157 | i = t.then; 158 | if ("function" == typeof o) { 159 | n = "fulfilled"; 160 | try { 161 | r = o(r) 162 | } catch (t) { 163 | w(i, t) 164 | } 165 | } 166 | b(i, r) || ("fulfilled" === n && v(i, r), "rejected" === n && w(i, r)) 167 | } 168 | 169 | function b(e, n) { 170 | var r; 171 | try { 172 | if (e === n) throw new TypeError("A promises callback cannot return that same promise."); 173 | if (n && ("function" == typeof n || "object" === t(n))) { 174 | var o = n.then; 175 | if ("function" == typeof o) return o.call(n, (function(t) { 176 | r || (r = !0, n === t ? g(e, t) : v(e, t)) 177 | }), (function(t) { 178 | r || (r = !0, w(e, t)) 179 | })), !0 180 | } 181 | } catch (t) { 182 | return r || w(e, t), !0 183 | } 184 | return !1 185 | } 186 | 187 | function v(t, e) { 188 | t !== e && b(t, e) || g(t, e) 189 | } 190 | 191 | function g(t, e) { 192 | "pending" === t._state && (t._state = "settled", t._data = e, p(S, t)) 193 | } 194 | 195 | function w(t, e) { 196 | "pending" === t._state && (t._state = "settled", t._data = e, p(O, t)) 197 | } 198 | 199 | function A(t) { 200 | t._then = t._then.forEach(y) 201 | } 202 | 203 | function S(t) { 204 | t._state = "fulfilled", A(t) 205 | } 206 | 207 | function O(t) { 208 | t._state = "rejected", A(t), !t._handled && d && global.process.emit("unhandledRejection", t._data, t) 209 | } 210 | 211 | function j(t) { 212 | global.process.emit("rejectionHandled", t) 213 | } 214 | 215 | function E(t) { 216 | if ("function" != typeof t) throw new TypeError("Promise resolver " + t + " is not a function"); 217 | if (this instanceof E == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."); 218 | this._then = [], 219 | function(t, e) { 220 | function n(t) { 221 | w(e, t) 222 | } 223 | try { 224 | t((function(t) { 225 | v(e, t) 226 | }), n) 227 | } catch (t) { 228 | n(t) 229 | } 230 | }(t, this) 231 | } 232 | E.prototype = { 233 | constructor: E, 234 | _state: "pending", 235 | _then: null, 236 | _data: void 0, 237 | _handled: !1, 238 | then: function(t, e) { 239 | var n = { 240 | owner: this, 241 | then: new this.constructor(s), 242 | fulfilled: t, 243 | rejected: e 244 | }; 245 | return !e && !t || this._handled || (this._handled = !0, "rejected" === this._state && d && p(j, this)), "fulfilled" === this._state || "rejected" === this._state ? p(y, n) : this._then.push(n), n.then 246 | }, 247 | catch: function(t) { 248 | return this.then(null, t) 249 | } 250 | }, E.all = function(t) { 251 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.all()."); 252 | return new E((function(e, n) { 253 | var r = [], 254 | o = 0; 255 | 256 | function i(t) { 257 | return o++, 258 | function(n) { 259 | r[t] = n, --o || e(r) 260 | } 261 | } 262 | for (var c, a = 0; a < t.length; a++)(c = t[a]) && "function" == typeof c.then ? c.then(i(a), n) : r[a] = c; 263 | o || e(r) 264 | })) 265 | }, E.race = function(t) { 266 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.race()."); 267 | return new E((function(e, n) { 268 | for (var r, o = 0; o < t.length; o++)(r = t[o]) && "function" == typeof r.then ? r.then(e, n) : e(r) 269 | })) 270 | }, E.resolve = function(e) { 271 | return e && "object" === t(e) && e.constructor === E ? e : new E((function(t) { 272 | t(e) 273 | })) 274 | }, E.reject = function(t) { 275 | return new E((function(e, n) { 276 | n(t) 277 | })) 278 | }; 279 | var _ = "function" == typeof Promise ? Promise : E; 280 | 281 | function P(t, e) { 282 | var n = e.fetch, 283 | r = e.XMLHttpRequest, 284 | o = e.token, 285 | i = t; 286 | return "URLSearchParams" in window ? (i = new URL(t)).searchParams.set("token", o) : i = i + "?token=" + encodeURIComponent(o), i = i.toString(), new _((function(t, e) { 287 | if ("function" == typeof n) n(i, { 288 | mode: "cors", 289 | cache: "default" 290 | }).then((function(t) { 291 | if (t.ok) return t.text(); 292 | throw new Error("") 293 | })).then((function(e) { 294 | t(e) 295 | })).catch(e); 296 | else if ("function" == typeof r) { 297 | var o = new r; 298 | o.addEventListener("loadend", (function() { 299 | this.responseText ? t(this.responseText) : e(new Error("")) 300 | })); 301 | ["abort", "error", "timeout"].map((function(t) { 302 | o.addEventListener(t, (function() { 303 | e(new Error("")) 304 | })) 305 | })), o.open("GET", i), o.send() 306 | } else { 307 | e(new Error("")) 308 | } 309 | })) 310 | } 311 | 312 | function C(t, e, n) { 313 | var r = t; 314 | return [ 315 | [/(url\("?)\.\.\/\.\.\/\.\./g, function(t, n) { 316 | return "".concat(n).concat(e) 317 | }], 318 | [/(url\("?)\.\.\/webfonts/g, function(t, r) { 319 | return "".concat(r).concat(e, "/releases/v").concat(n, "/webfonts") 320 | }], 321 | [/(url\("?)https:\/\/kit-pro([^.])*\.fontawesome\.com/g, function(t, n) { 322 | return "".concat(n).concat(e) 323 | }] 324 | ].forEach((function(t) { 325 | var e = o(t, 2), 326 | n = e[0], 327 | i = e[1]; 328 | r = r.replace(n, i) 329 | })), r 330 | } 331 | 332 | function F(t, e) { 333 | var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function() {}, 334 | o = e.document || o, 335 | i = u.bind(u, o, ["fa", "fab", "fas", "far", "fal", "fad", "fak"]), 336 | f = Object.keys(t.iconUploads || {}).length > 0; 337 | t.autoA11y.enabled && n(i); 338 | var s = [{ 339 | id: "fa-main", 340 | addOn: void 0 341 | }]; 342 | t.v4shim.enabled && s.push({ 343 | id: "fa-v4-shims", 344 | addOn: "-v4-shims" 345 | }), t.v4FontFaceShim.enabled && s.push({ 346 | id: "fa-v4-font-face", 347 | addOn: "-v4-font-face" 348 | }), f && s.push({ 349 | id: "fa-kit-upload", 350 | customCss: !0 351 | }); 352 | var d = s.map((function(n) { 353 | return new _((function(o, i) { 354 | P(n.customCss ? a(t) : c(t, { 355 | addOn: n.addOn, 356 | minify: t.minify.enabled 357 | }), e).then((function(i) { 358 | o(U(i, r(r({}, e), {}, { 359 | baseUrl: t.baseUrl, 360 | version: t.version, 361 | id: n.id, 362 | contentFilter: function(t, e) { 363 | return C(t, e.baseUrl, e.version) 364 | } 365 | }))) 366 | })).catch(i) 367 | })) 368 | })); 369 | return _.all(d) 370 | } 371 | 372 | function U(t, e) { 373 | var n = e.contentFilter || function(t, e) { 374 | return t 375 | }, 376 | r = document.createElement("style"), 377 | o = document.createTextNode(n(t, e)); 378 | return r.appendChild(o), r.media = "all", e.id && r.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), r 379 | } 380 | 381 | function k(t, e) { 382 | e.autoA11y = t.autoA11y.enabled, "pro" === t.license && (e.autoFetchSvg = !0, e.fetchSvgFrom = t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/svgs", e.fetchUploadedSvgFrom = t.uploadsUrl); 383 | var n = []; 384 | return t.v4shim.enabled && n.push(new _((function(n, o) { 385 | P(c(t, { 386 | addOn: "-v4-shims", 387 | minify: t.minify.enabled 388 | }), e).then((function(t) { 389 | n(I(t, r(r({}, e), {}, { 390 | id: "fa-v4-shims" 391 | }))) 392 | })).catch(o) 393 | }))), n.push(new _((function(n, o) { 394 | P(c(t, { 395 | minify: t.minify.enabled 396 | }), e).then((function(t) { 397 | var o = I(t, r(r({}, e), {}, { 398 | id: "fa-main" 399 | })); 400 | n(function(t, e) { 401 | var n = e && void 0 !== e.autoFetchSvg ? e.autoFetchSvg : void 0, 402 | r = e && void 0 !== e.autoA11y ? e.autoA11y : void 0; 403 | void 0 !== r && t.setAttribute("data-auto-a11y", r ? "true" : "false"); 404 | n && (t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")), t.setAttribute("data-fetch-svg-from", e.fetchSvgFrom), t.setAttribute("data-fetch-uploaded-svg-from", e.fetchUploadedSvgFrom)); 405 | return t 406 | }(o, e)) 407 | })).catch(o) 408 | }))), _.all(n) 409 | } 410 | 411 | function I(t, e) { 412 | var n = document.createElement("SCRIPT"), 413 | r = document.createTextNode(t); 414 | return n.appendChild(r), n.referrerPolicy = "strict-origin", e.id && n.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n 415 | } 416 | 417 | function L(t) { 418 | var e, n = [], 419 | r = document, 420 | o = r.documentElement.doScroll, 421 | i = (o ? /^loaded|^c/ : /^loaded|^i|^c/).test(r.readyState); 422 | i || r.addEventListener("DOMContentLoaded", e = function() { 423 | for (r.removeEventListener("DOMContentLoaded", e), i = 1; e = n.shift();) e() 424 | }), i ? setTimeout(t, 0) : n.push(t) 425 | } 426 | 427 | function T(t) { 428 | "undefined" != typeof MutationObserver && new MutationObserver(t).observe(document, { 429 | childList: !0, 430 | subtree: !0 431 | }) 432 | } 433 | try { 434 | if (window.FontAwesomeKitConfig) { 435 | var x = window.FontAwesomeKitConfig, 436 | M = { 437 | detectingConflicts: x.detectConflictsUntil && new Date <= new Date(x.detectConflictsUntil), 438 | detectionIgnoreAttr: "data-fa-detection-ignore", 439 | fetch: window.fetch, 440 | token: x.token, 441 | XMLHttpRequest: window.XMLHttpRequest, 442 | document: document 443 | }, 444 | D = document.currentScript, 445 | N = D ? D.parentElement : document.head; 446 | (function() { 447 | var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, 448 | e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; 449 | return "js" === t.method ? k(t, e) : "css" === t.method ? F(t, e, (function(t) { 450 | L(t), T(t) 451 | })) : void 0 452 | })(x, M).then((function(t) { 453 | t.map((function(t) { 454 | try { 455 | N.insertBefore(t, D ? D.nextSibling : null) 456 | } catch (e) { 457 | N.appendChild(t) 458 | } 459 | })), M.detectingConflicts && D && L((function() { 460 | D.setAttributeNode(document.createAttribute(M.detectionIgnoreAttr)); 461 | var t = function(t, e) { 462 | var n = document.createElement("script"); 463 | return e && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n.src = c(t, { 464 | baseFilename: "conflict-detection", 465 | fileSuffix: "js", 466 | subdir: "js", 467 | minify: t.minify.enabled 468 | }), n 469 | }(x, M); 470 | document.body.appendChild(t) 471 | })) 472 | })).catch((function(t) { 473 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 474 | })) 475 | } 476 | } catch (t) { 477 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 478 | } 479 | })); -------------------------------------------------------------------------------- /English Version/vb-banking/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | vb-banking by VisiBait#0712 8 | 9 | 10 | 11 |
12 |
13 |
14 | 15 | VB-Banking 16 |
17 |
18 |
19 | 20 | Home 21 |
22 |
23 | 24 | My Cards 25 |
26 |
27 | 28 | Deposit 29 |
30 |
31 | 32 | Transfer 33 |
34 |
35 | 36 | My Account 37 |
38 |
39 | 40 | Log Off 41 |
42 |
43 |
44 |
45 |
46 |
47 | Mobile Cashback 48 | Use your app to pay for your purchases and get up to a 5% of cashback in your card. 49 | 50 |
51 |
52 |
53 |
54 | 55 | 56 | 4539    6370    9387    3456 57 | Card Holder 58 | Expires: 59 | Loading... 60 | 08/24 61 |
62 |
63 | Account Balance 64 | $ 0 65 |
66 | 67 |
68 | VB-Banking by VisiBait (VB-Scripts) 69 |
70 |
71 |
72 | Withdraw Money 73 |
74 | 75 | ****  2233 76 | 77 |
78 |
79 | Enter the Quantity 80 | $ 81 | 82 |
83 | 84 |
85 |
86 |
87 |
88 |
89 | My cards 90 |
91 |
92 | 93 | VB-Banking 94 |
95 | $ 0 96 | Total Balance 97 |
98 | 99 |
100 |
101 | Recent Transactions 102 |
103 |
104 |
105 | 106 |
107 | Spotify 108 | Music Platform 109 | - $24.00 110 |
111 |
112 |
113 | 114 |
115 | Apple 116 | Phones 117 | - $1200.00 118 |
119 |
120 |
121 |
122 |
123 |
124 | $ 0 125 | current balance 126 |
127 | History 128 |
129 |
130 |
131 | 132 |
133 | Spotify 134 | Music Platform 135 | - 24 136 |
137 |
138 |
139 | 140 |
141 | Apple 142 | Phones 143 | - 1200 144 |
145 |
146 |
147 | 148 |
149 | Discord Nitro 150 | Social 151 | - 5 152 |
153 |
154 |
155 | 156 |
157 | Amazon 158 | Shopping 159 | - 182 160 |
161 |
162 |
163 | 164 |
165 | Binance 166 | Bitcoin purchase 167 | - 540 168 |
169 |
170 |
171 | 172 |
173 | PlayStation 174 | Games 175 | - 50 176 |
177 | 178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 | 188 | 189 | 4539    6370    9387    3456 190 | Card Holder 191 | Expires: 192 | Loading... 193 | 08/24 194 |
195 | Deposit money 196 |
197 | 198 | 199 |
200 |
201 | Enter the Quantity 202 | $ 203 | 204 |
205 | 206 |
207 |
208 |
209 | $ 0 210 | current balance 211 |
212 | History 213 |
214 |
215 |
216 | 217 |
218 | Spotify 219 | Music Platform 220 | - 24 221 |
222 |
223 |
224 | 225 |
226 | Apple 227 | Phones 228 | - 1200 229 |
230 |
231 |
232 | 233 |
234 | Discord Nitro 235 | Social 236 | - 5 237 |
238 |
239 |
240 | 241 |
242 | Amazon 243 | Shopping 244 | - 182 245 |
246 |
247 |
248 | 249 |
250 | Binance 251 | Bitcoin purchase 252 | - 540 253 |
254 |
255 |
256 | 257 |
258 | PlayStation 259 | Games 260 | - 50 261 |
262 | 263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 | 273 | 274 | 4539    6370    9387    3456 275 | Titular 276 | Validez: 277 | Loading... 278 | 08/24 279 |
280 | Transfer Money 281 |
282 | 283 | 284 |
285 |
286 | Send to 287 | 288 | Quantity 289 | 290 | Reason 291 | 292 | 293 |
294 |
295 |
296 |
297 | $ 0 298 | current balance 299 |
300 | History 301 |
302 |
303 |
304 | 305 |
306 | Spotify 307 | Music Platform 308 | - 24 309 |
310 |
311 |
312 | 313 |
314 | Apple 315 | Phones 316 | - 1200 317 |
318 |
319 |
320 | 321 |
322 | Discord Nitro 323 | Social 324 | - 5 325 |
326 |
327 |
328 | 329 |
330 | Amazon 331 | Shopping 332 | - 182 333 |
334 |
335 |
336 | 337 |
338 | Binance 339 | Bitcoin purchase 340 | - 540 341 |
342 |
343 |
344 | 345 |
346 | PlayStation 347 | Games 348 | - 50 349 |
350 | 351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 | Balance 360 | $ 0 361 |
362 |
363 | Información 364 |    City:  SERVERNAME 365 |    Address:  Loading... 366 |    Wallet ID:  Loading... 367 |
368 |
369 | Security 370 |
371 | 372 |
373 | 2FA Enabled 374 | 375 |
376 |
377 |
378 | $ 0 379 | current balance 380 |
381 | History 382 |
383 |
384 |
385 | 386 |
387 | Spotify 388 | Music Platform 389 | - 24 390 |
391 |
392 |
393 | 394 |
395 | Apple 396 | Phones 397 | - 1200 398 |
399 |
400 |
401 | 402 |
403 | Discord Nitro 404 | Social 405 | - 5 406 |
407 |
408 |
409 | 410 |
411 | Amazon 412 | Shopping 413 | - 182 414 |
415 |
416 |
417 | 418 |
419 | Binance 420 | Bitcoin purchase 421 | - 540 422 |
423 |
424 |
425 | 426 |
427 | PlayStation 428 | Games 429 | - 50 430 |
431 | 432 |
433 |
434 |
435 |
436 |
437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | -------------------------------------------------------------------------------- /VRP English Version/vb-banking/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | vb-banking by VisiBait#0712 8 | 9 | 10 | 11 |
12 |
13 |
14 | 15 | VB-Banking 16 |
17 |
18 |
19 | 20 | Home 21 |
22 |
23 | 24 | My Cards 25 |
26 |
27 | 28 | Deposit 29 |
30 |
31 | 32 | Transfer 33 |
34 |
35 | 36 | My Account 37 |
38 |
39 | 40 | Log Off 41 |
42 |
43 |
44 |
45 |
46 |
47 | Mobile Cashback 48 | Use your app to pay for your purchases and get up to a 5% of cashback in your card. 49 | 50 |
51 |
52 |
53 |
54 | 55 | 56 | 4539    6370    9387    3456 57 | Card Holder 58 | Expires: 59 | Loading... 60 | 08/24 61 |
62 |
63 | Account Balance 64 | $ 0 65 |
66 | 67 |
68 | VB-Banking by VisiBait (VB-Scripts) 69 |
70 |
71 |
72 | Withdraw Money 73 |
74 | 75 | ****  2233 76 | 77 |
78 |
79 | Enter the Quantity 80 | $ 81 | 82 |
83 | 84 |
85 |
86 |
87 |
88 |
89 | My cards 90 |
91 |
92 | 93 | VB-Banking 94 |
95 | $ 0 96 | Total Balance 97 |
98 | 99 |
100 |
101 | Recent Transactions 102 |
103 |
104 |
105 | 106 |
107 | Spotify 108 | Music Platform 109 | - $24.00 110 |
111 |
112 |
113 | 114 |
115 | Apple 116 | Phones 117 | - $1200.00 118 |
119 |
120 |
121 |
122 |
123 |
124 | $ 0 125 | current balance 126 |
127 | History 128 |
129 |
130 |
131 | 132 |
133 | Spotify 134 | Music Platform 135 | - 24 136 |
137 |
138 |
139 | 140 |
141 | Apple 142 | Phones 143 | - 1200 144 |
145 |
146 |
147 | 148 |
149 | Discord Nitro 150 | Social 151 | - 5 152 |
153 |
154 |
155 | 156 |
157 | Amazon 158 | Shopping 159 | - 182 160 |
161 |
162 |
163 | 164 |
165 | Binance 166 | Bitcoin purchase 167 | - 540 168 |
169 |
170 |
171 | 172 |
173 | PlayStation 174 | Games 175 | - 50 176 |
177 | 178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 | 188 | 189 | 4539    6370    9387    3456 190 | Card Holder 191 | Expires: 192 | Loading... 193 | 08/24 194 |
195 | Deposit money 196 |
197 | 198 | 199 |
200 |
201 | Enter the Quantity 202 | $ 203 | 204 |
205 | 206 |
207 |
208 |
209 | $ 0 210 | current balance 211 |
212 | History 213 |
214 |
215 |
216 | 217 |
218 | Spotify 219 | Music Platform 220 | - 24 221 |
222 |
223 |
224 | 225 |
226 | Apple 227 | Phones 228 | - 1200 229 |
230 |
231 |
232 | 233 |
234 | Discord Nitro 235 | Social 236 | - 5 237 |
238 |
239 |
240 | 241 |
242 | Amazon 243 | Shopping 244 | - 182 245 |
246 |
247 |
248 | 249 |
250 | Binance 251 | Bitcoin purchase 252 | - 540 253 |
254 |
255 |
256 | 257 |
258 | PlayStation 259 | Games 260 | - 50 261 |
262 | 263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 | 273 | 274 | 4539    6370    9387    3456 275 | Titular 276 | Validez: 277 | Loading... 278 | 08/24 279 |
280 | Transfer Money 281 |
282 | 283 | 284 |
285 |
286 | Send to 287 | 288 | Quantity 289 | 290 | Reason 291 | 292 | 293 |
294 |
295 |
296 |
297 | $ 0 298 | current balance 299 |
300 | History 301 |
302 |
303 |
304 | 305 |
306 | Spotify 307 | Music Platform 308 | - 24 309 |
310 |
311 |
312 | 313 |
314 | Apple 315 | Phones 316 | - 1200 317 |
318 |
319 |
320 | 321 |
322 | Discord Nitro 323 | Social 324 | - 5 325 |
326 |
327 |
328 | 329 |
330 | Amazon 331 | Shopping 332 | - 182 333 |
334 |
335 |
336 | 337 |
338 | Binance 339 | Bitcoin purchase 340 | - 540 341 |
342 |
343 |
344 | 345 |
346 | PlayStation 347 | Games 348 | - 50 349 |
350 | 351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 | Balance 360 | $ 0 361 |
362 |
363 | Información 364 |    City:  SERVERNAME 365 |    Address:  Loading... 366 |    Wallet ID:  Loading... 367 |
368 |
369 | Security 370 |
371 | 372 |
373 | 2FA Enabled 374 | 375 |
376 |
377 |
378 | $ 0 379 | current balance 380 |
381 | History 382 |
383 |
384 |
385 | 386 |
387 | Spotify 388 | Music Platform 389 | - 24 390 |
391 |
392 |
393 | 394 |
395 | Apple 396 | Phones 397 | - 1200 398 |
399 |
400 |
401 | 402 |
403 | Discord Nitro 404 | Social 405 | - 5 406 |
407 |
408 |
409 | 410 |
411 | Amazon 412 | Shopping 413 | - 182 414 |
415 |
416 |
417 | 418 |
419 | Binance 420 | Bitcoin purchase 421 | - 540 422 |
423 |
424 |
425 | 426 |
427 | PlayStation 428 | Games 429 | - 50 430 |
431 | 432 |
433 |
434 |
435 |
436 |
437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | --------------------------------------------------------------------------------