diff --git a/resources/[standalone]/rcore_tv/rcore_television/.fxap b/resources/[standalone]/rcore_tv/rcore_television/.fxap new file mode 100644 index 000000000..3e1da034c Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/.fxap differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/Debug.lua b/resources/[standalone]/rcore_tv/rcore_television/Debug.lua new file mode 100644 index 000000000..8b24c656b Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/Debug.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/VIP.lua b/resources/[standalone]/rcore_tv/rcore_television/client/VIP.lua new file mode 100644 index 000000000..7ba9e8755 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/client/VIP.lua @@ -0,0 +1,4 @@ +-- if you want this script for... lets say like only vip, edit this function. +function YourSpecialPermission() + return true +end \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/cache_event.lua b/resources/[standalone]/rcore_tv/rcore_television/client/cache_event.lua new file mode 100644 index 000000000..f8511fb4c Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/cache_event.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/camera.lua b/resources/[standalone]/rcore_tv/rcore_television/client/camera.lua new file mode 100644 index 000000000..093f09e1d --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/client/camera.lua @@ -0,0 +1,119 @@ +local cameras = {} + +function CreateCamera(name, pos, rot, fov) + fov = fov or 50.0 + rot = rot or vector3(0, 0, 0) + local cam = CreateCamWithParams("DEFAULT_SCRIPTED_CAMERA", pos.x, pos.y, pos.z, rot.x, rot.y, rot.z, fov, false, 0) + local try = 0 + while not DoesCamExist(cam) do + Wait(33) + end + local self = {} + self.cam = cam + self.attachedEntity = nil + self.position = pos + self.rotation = rot + self.fov = fov + self.name = name + self.lastPointTo = nil + self.changingPos = false + self.SetCoords = function(pos) + self.position = pos + SetCamCoord(self.cam, pos.x, pos.y, pos.z) + end + + self.GetCoords = function() + return GetCamCoord(self.cam) + end + + self.AttachCameraToEntity = function(entity, offSet) + if not offSet then + offSet = vector3(0, 0, 0) + end + self.attachedEntity = entity + AttachCamToEntity(self.cam, entity, offSet.x, offSet.y, offSet.z, true) + end + + self.DeattachCameraFromEntity = function() + AttachCamToEntity(self.cam, 0, 0, 0, 0, true) + end + + self.FocusOnCoords = function(pos) + self.lastPointTo = pos + PointCamAtCoord(self.cam, pos.x, pos.y, pos.z) + end + + self.FocusOnEntity = function(entity, offSet) + PointCamAtEntity(self.cam, entity, offSet.x, offSet.y, offSet.z, true) + end + + self.StopFocus = function() + StopCamPointing(self.cam) + end + + self.SetRotation = function(rot) + SetCamRot(self.cam, rot.x, rot.y, rot.z, 2) + end + + self.GetRotation = function() + return GetCamRot(self.cam, 2) + end + + self.IsRendering = function() + return IsCamRendering(self.cam or -1) + end + + self.SetCamFov = function(fov) + SetCamFov(self.cam, fov) + end + + self.Render = function() + SetCamActive(self.cam, true) + RenderScriptCams(true, true, 1, true, true) + end + self.ChangeCam = function(newCam, duration) + duration = duration or 3000 + SetCamActiveWithInterp(newCam, self.cam, duration, true, true) + end + self.Destroy = function() + SetCamActive(self.cam, false) + DestroyCam(self.cam) + cameras[name] = nil + end + + self.GetCam = function() + return self.cam + end + + self.IsChangingCamera = function() + return self.changingPos + end + + self.ChangePosition = function(newPos, newPoint, newRot, duration) + newRot = newRot or vector3(0, 0, 0) + duration = duration or 4000 + + self.changingPos = true + + local tempCam = CreateCamera(string.format('tempCam-%s', self.name), newPos, newRot, self.fov) + tempCam.Render() + + self.ChangeCam(tempCam.cam, duration) + Citizen.Wait(duration) + tempCam.Destroy() + + SetCamActiveWithInterp(tempCam.cam, self.cam, 0, true, true) + SetCamCoord(self.cam, newPoint.x, newPoint.y, newPoint.z) + SetCamFov(self.cam, self.fov) + SetCamRot(self.cam, newRot.x, newRot.y, newRot.z, 2) + + self.changingPos = false + end + + cameras[name] = self + return self +end + +function StopRendering() + RenderScriptCams(false, false, 1, false, false) +end \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/client_editable.lua b/resources/[standalone]/rcore_tv/rcore_television/client/client_editable.lua new file mode 100644 index 000000000..7abd877f0 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/client/client_editable.lua @@ -0,0 +1,15 @@ +-- adding suggestions messages for commands +CreateThread(function() + TriggerEvent('chat:addSuggestion', "/" .. Config.volumeCommand, _U("volume_info") or 'Will set a new volume for TV', { + { name = _U("volume_argument") or "volume", help = "0-100" }, + }) + + TriggerEvent('chat:addSuggestion', "/" .. Config.playUrl, _U("playlink_info") or 'Will play a custom URL in the TV.', { + { name = "URL", help = _U("play_url_info") or "Your URL for website" }, + }) +end) + +-- fetching cache +CreateThread(function() + TriggerServerEvent("rcore_television:fetchCache") +end) \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/create_television.lua b/resources/[standalone]/rcore_tv/rcore_television/client/create_television.lua new file mode 100644 index 000000000..86a284627 Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/create_television.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/dui_events.lua b/resources/[standalone]/rcore_tv/rcore_television/client/dui_events.lua new file mode 100644 index 000000000..6471b6478 Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/dui_events.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/editor.lua b/resources/[standalone]/rcore_tv/rcore_television/client/editor.lua new file mode 100644 index 000000000..b176e6999 Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/editor.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/events.lua b/resources/[standalone]/rcore_tv/rcore_television/client/events.lua new file mode 100644 index 000000000..d01829d89 Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/events.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/init.lua b/resources/[standalone]/rcore_tv/rcore_television/client/init.lua new file mode 100644 index 000000000..188447123 Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/init.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/link.lua b/resources/[standalone]/rcore_tv/rcore_television/client/link.lua new file mode 100644 index 000000000..c103cbecb Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/link.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/permission.lua b/resources/[standalone]/rcore_tv/rcore_television/client/permission.lua new file mode 100644 index 000000000..0ae25002c Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/permission.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/render_scaleform.lua b/resources/[standalone]/rcore_tv/rcore_television/client/render_scaleform.lua new file mode 100644 index 000000000..7674c404b Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/render_scaleform.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/menu.lua b/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/menu.lua new file mode 100644 index 000000000..3b61bea66 Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/menu.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/program.lua b/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/program.lua new file mode 100644 index 000000000..a9ba0e18f Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/program.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/volume.lua b/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/volume.lua new file mode 100644 index 000000000..169f9adb6 Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/television_utils/volume.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/utils.lua b/resources/[standalone]/rcore_tv/rcore_television/client/utils.lua new file mode 100644 index 000000000..19b2b5662 Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/client/utils.lua differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/client/utils_editable.lua b/resources/[standalone]/rcore_tv/rcore_television/client/utils_editable.lua new file mode 100644 index 000000000..c47c9f227 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/client/utils_editable.lua @@ -0,0 +1,93 @@ +-- will return true / false if player is looking at TV +function IsPlayerLookingAtTV() + return IsLookingAtTV +end + +-- will return true / false if player is in TV menu +function IsPlayerInTVMenu() + return ViewingTvMenu +end + +-- will return type of redirect from URL +--- @param URL string +function GetRedirectFromURL(URL) + for key, value in pairs(Config.CustomSupport) do + if string.match(URL, key) then + return value + end + end + return RedirectType.OTHER +end + +-- will return true/false if hash is in config +--- @param hash int +function IsModelTelevision(hash) + return Config.resolution[hash] ~= nil +end + +--- Will display help notification +--- @param msg string +--- @param thisFrame boolean +--- @param beep boolean +--- @param duration int +function ShowHelpNotification(msg, thisFrame, beep, duration) + AddTextEntry('rcore_Tv_help_msg', msg) + + if thisFrame then + DisplayHelpTextThisFrame('rcore_Tv_help_msg', false) + else + if beep == nil then + beep = false + end + BeginTextCommandDisplayHelp('rcore_Tv_help_msg') + EndTextCommandDisplayHelp(0, false, beep, duration) + end +end + +--- Formated help text to prevent dup code anywhere i need to call it. +--- @param time int +function displayHelp(time) + local text = _U("help") + text = text .. _U("tv_help_line_2") + text = text .. _U("tv_help_line_3") + text = text .. _U("tv_help_line_4") + text = text .. _U("tv_help_line_5") + text = text .. _U("tv_help_line_6") + if not Config.CustomNotification then + ShowHelpNotification(text, false, false, time) + else + if type(Config.CustomNotification) == "function" then + Config.CustomNotification(text) + end + end +end + +--- Will register key action +--- @param fc function +--- @param uniqid string +--- @param description string +--- @param key string +--- @param inputDevice string +function RegisterKey(fc, uniqid, description, key, inputDevice) + if inputDevice == nil then + inputDevice = "keyboard" + end + RegisterCommand(uniqid .. key, fc, false) + RegisterKeyMapping(uniqid .. key, description, inputDevice, key) +end + +--- Will send a print when debug is enabled +--- @param ... object +function Debug(...) + if Config.Debug then + print(...) + end +end + +--- Will send a print when debug is enabled +--- @param ... object +function MegaDebug(...) + if Config.FunctionsDebug then + print("[Mega Debug]", ...) + end +end \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/config.lua b/resources/[standalone]/rcore_tv/rcore_television/config.lua new file mode 100644 index 000000000..b0ae2b1b4 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/config.lua @@ -0,0 +1,866 @@ +Config = {} + +-- 0 standalone +-- 1 ESX +-- 2 QBCore +Config.FrameWork = 0 + +-- 1 = raycast (whitedot in center of the screen) +-- 2 = E click on keyboard only. +Config.DetectorType = 2 + +-- Target type +-- 0 = In build target system +-- 1 = Q_Target +-- 2 = BT Target +-- 3 = QB Target +-- 4 = OX Target +Config.TargetZoneType = 0 + +-- i will leave this function open, just in case you had anticheat. +Config.SetPlayerInvisible = function() + --local ped = PlayerPedId() + --SetEntityLocallyInvisible(ped) +end + +Config.QBCoreObject = "QBCore:GetObject" + +-- is the script es_extended based? +Config.ESX_Object = "esx:getSharedObject" + +-- event for player loaded +Config.EsxPlayerLoaded = "esx:playerLoaded" + +-- event for setJob +Config.EsxSetJob = "esx:setJob" + +-- event for player loaded +Config.OnPlayerLoaded = "QBCore:Client:OnPlayerLoaded" + +-- event for setJob +Config.OnJobUpdate = "QBCore:Client:OnJobUpdate" + +-- will enable debug print and stuff +Config.Debug = false + +-- will type start and end of events + nui callbacks +Config.FunctionsDebug = false + +-- Will print in what type of thing error has happened.. Example CreateThread, RegisterNetEvent, RegisterCommand, etc. +Config.GeneralDebug = false + +-- a command to set volume for TV +Config.volumeCommand = "tvvolume" + +-- a command to change TV channel +Config.playUrl = "playlink" + +-- a key to open television +Config.keyOpenTV = "E" + +-- a key to select program in TV menu +Config.keyToSelectProgram = "RETURN" -- is enter + +-- a keys to leave TV menu +Config.keyToLeaveMenu = "BACK" +Config.secondKeyToLeaveMenu = "escape" + +-- a keys to stop current TV program +Config.keyToStopChannel = "SPACE" + +-- Default youtube playing volume +-- Only goes for youtube... +Config.defaultVolume = 40 + +-- i dont recommend to change this number +-- how far away TV can be visible +Config.visibleDistance = 10 + +-- if you want have whitelist to prevent troll links keep this on true. +-- i dont recommend turning this option off, people just can use +-- shortcut url and the system wont know that it is on blacklist etc. +Config.useWhitelist = true + +-- Message list +-- the command for this is /streamertelevision +Config.Messages = { + ["streamer_on"] = "Streamer mode is on. From now you will not hear any music/sound from any TV.", + ["streamer_off"] = "Streamer mode is off. From now you will be able to watch any TV.", +} + +-- list of scaleform to use to televison +-- the more there is = the more television can be active on single place +-- the hard limit should be 15? i think? +-- keep the value on false. +Config.ScaleFormLists = { + ["television_scaleform_1"] = false, + ["television_scaleform_2"] = false, + ["television_scaleform_3"] = false, + ["television_scaleform_4"] = false, + ["television_scaleform_5"] = false, + ["television_scaleform_6"] = false, + ["television_scaleform_7"] = false, +} + +-- what website are allowed to put on tv ? +Config.whitelisted = { + "youtube", + "youtu.be", + "twitch", + ".mp3", + "wav", + "mp4", + "webm", + "ogg", + "ogv", + "kick", + "douyin", + "bilibili", +} + +-- Black list urls +Config.blackListed = { + "pornhub", + "sex-slave", + "cryzysek" +} + +function split(text, sep) + local sep, fields = sep or ":", {} + local pattern = string.format("([^%s]+)", sep) + text:gsub(pattern, function(c) + fields[#fields + 1] = c + end) + return fields +end + +-- if you need complet redirect for some reason then you can do it here +Config.CompletRedirect = { + -- i have not found other solution how to play twitch from this, so redirect is one option for me now. + ["twitch"] = function(url, time, volume) + local newUrl = split(url, "/") + newUrl = "https://player.twitch.tv/?channel=" .. newUrl[#newUrl] .. "&parent=localhost&volume=" .. ((volume or 30) / 100) + return newUrl + end, + ["kick"] = function(url, time, volume) + return "https://proxy.rcore.cz/kick.html?url=" .. url .. "&volume=" .. ((volume or 30) / 100) + end, + --["youtube"] = function(url, time, volume) + -- return "https://rco.re/product/television/v2.html?url=" .. url .. "&volume=" .. (volume or 30) .. "&time=" .. (time or 0) + --end, + --["youtu.be"] = function(url, time, volume) + -- return "https://rco.re/product/television/v2.html?url=" .. url .. "&volume=" .. (volume or 30) .. "&time=" .. (time or 0) + --end, +} + +-- will get called each second because I have not found better way. +Config.ClickOnScreen = { + ["twitch"] = function(duiObj) + -- will accept the "i am over 18 hell yeah" + -- old position for the 18+ (leaving it here just in case it was added back) + --SendDuiMouseMove(duiObj, 870, 605) + --SendDuiMouseDown(duiObj, "left") + --SendDuiMouseUp(duiObj, "left") + + -- another old twitch + --SendDuiMouseMove(duiObj, 784, 604) + --SendDuiMouseDown(duiObj, "left") + --SendDuiMouseUp(duiObj, "left") + + SendDuiMouseMove(duiObj, 846, 630) + SendDuiMouseDown(duiObj, "left") + SendDuiMouseUp(duiObj, "left") + end, +} + +-- if the pasted URL contains one of the words bellow it will redirect it to +-- html/support/DEFINED VALUE/index.html so you can make your own support +-- to another website. +Config.CustomSupport = { + -- youtube + ["youtube"] = "youtube", + ["youtu.be"] = "youtube", + + -- sound + -- i do not recommend using .ogg there atleast small amout of video format that can be played. + -- also who uses ogg for music ? right ? + [".mp3"] = "music", + [".wav"] = "music", + + -- videos + [".mp4"] = "video", + [".webm"] = "video", + [".ogg"] = "video", + [".ogv"] = "video", + + -- douyin support + ["douyin"] = "douyin", + + -- bilibili support + ["bilibili"] = "bilibili", +} + +-- you can blacklist here the SendDUIMessage about player position for example +-- if you're streaming picture so there isnt any reason to send the DUI message about position right? +Config.IgnorePositionUpdateCustomSupport = { + ["youtube"] = false, + ["menu"] = true, + ["other"] = true, +} + +-- this will disable forever poping the scaleform at some point fivem update broke this +-- but to make sure I am leaving the option here just in case it wasnt working +-- for now it will ne enabled +-- false value = enabled poping +-- true value = disabled +Config.ScaleformPop = true + +-- this will allow networked objects to be streamed on (possible that they can move) +-- this feature is in work-in-progress it can have some unwanted bugs! +Config.AllowNetworkedObjects = false + +-- list of default videos for TV.. you have to manualy change it in html/menu.html aswell +Config.listVideos = { + [1] = { + name = "Flute Tune", + icon = "fa-solid fa-newspaper", + url = "https://www.youtube.com/watch?v=X2cl6_DVpFI" + }, + [2] = { + name = "Video 2", + icon = "fas fa-cat", + url = "" + }, + [3] = { + name = "Video 3", + icon = "fas fa-city", + url = "" + }, + [4] = { + name = "Video 4", + icon = "fas fa-hourglass-half", + url = "" + }, + [5] = { + name = "Video 5", + icon = "fas fa-grin-beam", + url = "" + }, + [6] = { + name = "Video 6", + icon = "fas fa-skull-crossbones", + url = "" + }, +} + +function PlayWearAnimation() + local ped = PlayerPedId() + local dict, anim = "gestures@m@standing@casual", "gesture_damn" + + RequestAnimDict(dict) + while not HasAnimDictLoaded(dict) do + Wait(33) + end + + TaskPlayAnim(ped, dict, anim, 8.0, 1.0, -1, 48, 0.0, false, false, false) +end + +-- this will create television at defined coords with default URL. +Config.PlayingTelevisionOnLocation = { + --["random_uniqid"] = { + -- ModelHash = GetHashKey("prop_tv_flat_michael"), + -- Position = vector3(0, 0, 0), + -- Heading = 180.0, + -- + -- URL = "https://www.youtube.com/watch?v=oqwKTKbsINY", -- will ignore the whitelist / blacklist since only a dev can add this. + -- + -- -- There is variable "time" which getting called in NUI / complet redirect, so should it count? + -- -- true = wont + -- -- false = will count + -- DisableCountTime = false, + -- DisableInteraction = true, + --}, + + ["some_tv_uniq_id"] = { + ModelHash = GetHashKey("prop_tv_flat_michael"), + Position = vector3(459.02, -983.5, 31.2), + Heading = 180.0, + + -- will add behind the url ?identifier=some_tv_uniq_id + AddIdentifierToURL = true, + URL = "nui://rcore_television/html/custom/menu/index.html", -- will ignore the whitelist / blacklist since only a dev can add this. + + Job = { + ["police"] = { "*" }, + ["ambulance"] = { "grade1", "grade2", "grade3" } + }, + + -- this table will get send to the DUI message, which mean you can build your custom html menu or whatever you would love to. + Items = { + [0] = { + Label = "Wear bulletproof vest", + CallBack = function() + SetPedArmour(PlayerPedId(), 100) + TriggerEvent('skinchanger:getSkin', function(skin) + skin.bproof_1 = 20 + TriggerEvent('skinchanger:loadSkin', skin) + end) + + PlayWearAnimation() + end, + + CloseAfterUse = true, + }, + [1] = { + Label = "Take it off", + CallBack = function() + SetPedArmour(PlayerPedId(), 0) + TriggerEvent('skinchanger:getSkin', function(skin) + skin.bproof_1 = -1 + TriggerEvent('skinchanger:loadSkin', skin) + end) + + PlayWearAnimation() + end, + + CloseAfterUse = true, + }, + }, + + -- There is variable "time" which getting called in NUI / complet redirect, so should it count? + -- true = wont + -- false = will count + DisableCountTime = true, + }, +} + +Config.ReplaceObjects = { + { + pos = vector3(-54.47, -1087.27, 27.27), + radius = 2.0, + originalModelHash = 1036195894, + newModelHash = GetHashKey("prop_tv_flat_01"), + } +} + +-- this will create television on coords that can be used by other folks +Config.CreateTelevisionModelOnCoords = { + { + ModelHash = GetHashKey("prop_tv_flat_01"), + Position = vector3(-921.48, -1181.22, -0.38), + Heading = 300.00, + }, +} + +-- if this is set to true it will preload one scaleform of television if some users experiencing bad loading +Config.UsePreloaded = true + +-- Do not switch to true use command /tveditor +Config.Editor = false + +-- default open distance from the model +Config.DefaultOpenDistance = 1.5 + +-- i wouldn't recommend to change anything there unless you know what you're doing +Config.resolution = { + [1036195894] = { + ['ScreenSize'] = vec3(0.000000, 0.000000, 0.000000), + ['Job'] = nil, + ['CameraOffSet'] = { + ['y'] = -3.0, + ['z'] = 0.35, + ['rotationOffset'] = vec3(0.000000, 0.000000, 0.000000), + ['x'] = 0.0 + }, + ['distance'] = 10, + ['distanceToOpen'] = 1.5, + ['ScreenOffSet'] = vec3(-1.045570, -0.069395, 1.058675), + ['ItemToOpen'] = nil + }, + + [1522819744] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(7.036000, 0.572270, 3.442090), + ScreenSize = vector3(0.767885, 0.027010, 0.0), + rotationOffset = vector3(0, 0, 0), + + distanceToOpen = 10.0, + distance = 30.0, + CameraOffSet = { + x = 0.0, + y = 12.0, + z = 0.2, + rotationOffset = vector3(0, 0, 180), + }, + }, + + [GetHashKey("ch_prop_ch_tv_rt_01a")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.090645, 1.413200, 0.885070), + ScreenSize = vector3(0.894370, 0.503975, 0.0), + rotationOffset = vector3(0, 0, 90), -- rotation of scaleform + + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = -3.0, + y = 0.0, + z = 0.2, + rotationOffset = vector3(0, 0, 90), -- rotation of camera + }, + }, + + [GetHashKey("prop_monitor_w_large")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(0.373000, -0.076500, 0.622000), + ScreenSize = vector3(-0.000685, -0.001575, 0), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.0, + y = -1.0, + z = 0.4, + }, + }, + [GetHashKey("apa_mp_h_str_avunitl_04")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.291720, -0.407225, 2.083020), + ScreenSize = vector3(0.081970, 0.046270, 0.0), + + --ScreenOffSet = vector3(-0.335, -0.409, 2.074), + --ScreenSize = vector3(0.081, 0.047, 0.090), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.6, + y = -2.7, + z = 1.2, + }, + }, + [GetHashKey("prop_monitor_01b")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.240, -0.084, 0.449), + ScreenSize = vector3(0, 0, 0), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.1, + rotationOffset = vector3(0, 0, 0), + }, + }, + + [GetHashKey("apa_mp_h_str_avunitl_01_b")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.471, -0.130, 1.941), + ScreenSize = vector3(0.075, 0.042, 0.038), + distanceToOpen = 3.0, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.5, + y = -3.0, + z = 1.20, + }, + }, + [GetHashKey("ex_prop_ex_tv_flat_01")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-1.049, -0.062, 1.072), + ScreenSize = vector3(-0.0, -0.0, -0.025), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.0, + y = -2.0, + z = 0.40, + }, + }, + [-1833573429] = { + ['CameraOffSet'] = { + ['rotationOffset'] = vec3(0.000000, 0.000000, 0.000000), + ['x'] = 0.0, + ['y'] = -5.0, + ['z'] = -1.0 + }, + ['distance'] = 10, + ['distanceToOpen'] = 4.0, + ['ScreenSize'] = vec3(0.020170, 0.024115, 0.000000), + ['ScreenOffSet'] = vec3(-1.994405, -0.056000, 0.000000), + ['Job'] = nil, + ['ItemToOpen'] = nil + }, + [GetHashKey("prop_huge_display_01")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-5.110, -0.105, 3.640), + ScreenSize = vector3(0.04, 0.025, 0.0), + distanceToOpen = 15.0, + distance = 30.0, + CameraOffSet = { + x = -0.6, + y = -15.9, + z = 1.0, + rotation = vector3(0, 0, 0), + }, + }, + [GetHashKey("prop_cs_tv_stand")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.552, -0.080, 1.553), + ScreenSize = vector3(0.0045, 0.004, 0.001), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.0, + y = -1.0, + z = 1.23, + }, + }, + [GetHashKey("v_ilev_cin_screen")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-6.967, -0.535, 2.821), + ScreenSize = vector3(-0.009, 0.057, 0), + distanceToOpen = 15.0, + distance = 30.0, + CameraOffSet = { + x = 0.15, + y = -10.7, + z = 0.5, + }, + }, + [GetHashKey("sm_prop_smug_tv_flat_01")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.682, -0.043, 0.978), + ScreenSize = vector3(-0.0045, -0.0025, -0.006), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.15, + y = -2.7, + z = 0.5, + }, + }, + [GetHashKey("prop_trev_tv_01")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.26, -0.01, 0.28), + ScreenSize = vector3(0.0035, 0.002, 0.0135), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.0, + y = -1.0, + z = 0.1, + }, + }, + [GetHashKey("prop_tv_02")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.20, -0.10, 0.19), + ScreenSize = vector3(0.005, 0.0, 0.0135), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.0, + }, + }, + [GetHashKey("prop_tv_03")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.35, -0.11, 0.22), + ScreenSize = vector3(0.008, 0.003, 0.0355), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.0, + }, + }, + [GetHashKey("prop_tv_03_overlay")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.36, -0.11, 0.21), + ScreenSize = vector3(0.0009, 0.0005, 0.036), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.0, + }, + }, + [GetHashKey("prop_tv_04")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(0, 0, 0), + ScreenSize = vector3(0, 0, 0), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.0, + }, + }, + [GetHashKey("prop_tv_06")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.34, -0.09, 0.25), + ScreenSize = vector3(0.0055, 0.0025, 0.0385), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.0, + }, + }, + [GetHashKey("prop_tv_flat_01_screen")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-1.04, -0.06, 1.06), + ScreenSize = vector3(-0.0055, -0.0035, 0.0735), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.15, + y = -2.7, + z = 0.5, + }, + }, + [GetHashKey("prop_tv_flat_02")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.55, -0.01, 0.57), + ScreenSize = vector3(0.00049, -0.0005, 0.073), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.5, + z = 0.25, + }, + }, + [GetHashKey("prop_tv_flat_02b")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.55, -0.01, 0.57), + ScreenSize = vector3(0.00049, -0.0005, 0.073), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.5, + z = 0.25, + }, + }, + [GetHashKey("prop_tv_flat_03")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.335, -0.008, 0.412), + ScreenSize = vector3(-0.0005, 0.0, 0.0745), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.2, + }, + }, + [GetHashKey("prop_tv_flat_03b")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.335, -0.065, 0.211), + ScreenSize = vector3(0.003, 0.002, 0.002), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.0, + }, + }, + [GetHashKey("apa_mp_h_str_avunits_01")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-1.012, -0.302, 2.085), + ScreenSize = vector3(0.023, 0.014, 0.004), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = -0.1, + y = -2.7, + z = 1.2, + }, + }, + [GetHashKey("hei_heist_str_avunitl_03")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-1.197, -0.372, 2.089), + ScreenSize = vector3(0.071, 0.037, 0.094), + distanceToOpen = Config.DefaultOpenDistance + 1.0, + distance = Config.visibleDistance, + CameraOffSet = { + x = -0.1, + y = -2.7, + z = 1.2, + }, + }, + [GetHashKey("prop_tv_flat_michael")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-0.711, -0.067, 0.441), + ScreenSize = vector3(0.0056, 0.0036, 0.0), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.15, + y = -2.7, + z = 0.1, + }, + }, + [GetHashKey("prop_tv_test")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(0, 0, 0), + ScreenSize = vector3(0, 0, 0), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -1.0, + z = 0.1, + }, + }, + + [GetHashKey("xm_prop_x17_tv_flat_02")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-1.049, -0.049, 1.068), + ScreenSize = vector3(0, 0, 0), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.05, + y = -3.0, + z = 0.4, + }, + }, + + -- i dont recommend using this.. i have no idea if this TV is on more location + -- than Michael house.. if there is just one TV then go ahead enable it. + [GetHashKey("des_tvsmash_start")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(0.096, -1.010, 0.940), + ScreenSize = vector3(0.009, 0.004, 0.004), + rotationOffset = vector3(0, 0, -90), + + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 2.7, + y = 0.1, + z = 0.4, + rotationOffset = vector3(0, 0, -90), + }, + }, + + -- i dont recommend to enable this.. you need to swap model to get this working. + -- if you know what you're doing.. swap this model: v_ilev_mm_scre_off to this one v_ilev_mm_screen2 + -- with function "CreateModelSwap" + [GetHashKey("v_ilev_mm_screen2")] = { + --Job = { ["police"] = {"*"}, }, + --ItemToOpen = { "remote", "another item" }, + + ScreenOffSet = vector3(-1.544, 0.006, -0.098), + ScreenSize = vector3(0.040, 0.023, 0.002), + distanceToOpen = Config.DefaultOpenDistance, + distance = Config.visibleDistance, + CameraOffSet = { + x = 0.15, + y = -2.7, + z = -1.0, + }, + }, +} + +-- Because many mappers like to resize television... There is the option for custom size... +Config.CustomScreenSizes = { + [GetHashKey("prop_tv_flat_01")] = {-- { + -- pos = vector3(-54.51, -1087.36, 27.26), + -- ScreenSize = vector3(0.10, 0.0, 0), + -- distanceToOpen = Config.DefaultOpenDistance, + -- }, + }, + [GetHashKey("prop_huge_display_01")] = {-- { + -- pos = vector3(-54.51, -1087.36, 27.26), + -- ScreenSize = vector3(0.0, 0.0, 0), + -- } + }, +} + +-- permission map +Config.PermissionGroup = { + ESX = { + -- group system that used to work on numbers only + [1] = { + 1, 2, 3, 4, 5 + }, + -- group system that works on name + [2] = { + "helper", "mod", "admin", "superadmin", + }, + }, + + QBCore = { + -- group system that works on ACE + [1] = { + "god", "admin", "mod", + }, + } +} + +Config.CommandPermissions = { + ["tveditor"] = { 3, 4, 5, "admin", "superadmin", "god" }, +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/const.lua b/resources/[standalone]/rcore_tv/rcore_television/const.lua new file mode 100644 index 000000000..08ea5f82c --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/const.lua @@ -0,0 +1,15 @@ +TargetType = { + NO_TARGET = 0, + Q_TARGET = 1, + BT_TARGET = 2, + QB_TARGET = 3, + OX_TARGET = 4 +} + +TargetTypeResourceName = { + [TargetType.NO_TARGET] = "none", + [TargetType.Q_TARGET] = "qtarget", + [TargetType.BT_TARGET] = "bt-target", + [TargetType.QB_TARGET] = "qb-target", + [TargetType.OX_TARGET] = "ox_target" +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/custom/client/events.lua b/resources/[standalone]/rcore_tv/rcore_television/custom/client/events.lua new file mode 100644 index 000000000..729d9e5df --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/custom/client/events.lua @@ -0,0 +1,32 @@ +RegisterNUICallback("menuloaded", function(data_, cb) + local data = TelevisionCache[data_.identifier] + local items = Config.PlayingTelevisionOnLocation[data_.identifier].Items + local duiObj = data.duiObj + local active = true + for k, v in pairs(items) do + local itemData = Deepcopy(v) + itemData.CallBack = nil + itemData.identifier = k + itemData.active = active + active = false + + DuiMessage(duiObj, { + type = "menuItems", + items = itemData, + }) + end + + if cb then cb('ok') end +end) + +RegisterNUICallback("itemSelected", function(data, cb) + local dataItem = Config.PlayingTelevisionOnLocation[data.identifier] + if dataItem then + if dataItem.Items[data.item].CloseAfterUse then + LeaveTelevisionMenu() + end + dataItem.Items[data.item].CallBack() + end + + if cb then cb('ok') end +end) \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/es_extended only.sql b/resources/[standalone]/rcore_tv/rcore_television/es_extended only.sql new file mode 100644 index 000000000..50bac2eed --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/es_extended only.sql @@ -0,0 +1 @@ +INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('remote', 'remote', '1', '0', '1') diff --git a/resources/[standalone]/rcore_tv/rcore_television/fxmanifest.lua b/resources/[standalone]/rcore_tv/rcore_television/fxmanifest.lua new file mode 100644 index 000000000..b32c241d7 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/fxmanifest.lua @@ -0,0 +1,97 @@ +fx_version 'cerulean' +games { 'gta5' } + +version "2.1.4" + +client_scripts { + "config.lua", + "const.lua", + "utils/shared.lua", + "Debug.lua", + "locales/*.lua", + "utils/client.lua", + "client/permission.lua", + + "client/VIP.lua", + + "client/init.lua", + "client/utils.lua", + "client/client_editable.lua", + "client/utils_editable.lua", + "client/create_television.lua", + "client/editor.lua", + + "client/television_utils/volume.lua", + + "client/render_scaleform.lua", + "client/link.lua", + "client/television_utils/menu.lua", + "client/camera.lua", + "client/television_utils/program.lua", + "client/events.lua", + "client/cache_event.lua", + "client/dui_events.lua", + + "custom/client/*.lua" +} + +server_scripts { + "config.lua", + "const.lua", + "utils/shared.lua", + "Debug.lua", + "locales/*.lua", + "utils/server.lua", + "server/*.lua", +} + +ui_page "html/off.html" + +files { + "html/*.mp4", + "html/*.html", + "html/*.js", + "html/support/**/*.*", + "html/js/*.js", + "html/css/*.css", + "html/css/img/*.png", + "html/css/img/*.jpg", + + "html/menu/*.html", + "html/menu/*.js", + + "html/menu/css/*.css", + + "html/menu/css/img/*.jpg", + "html/menu/css/img/*.png", + + "html/custom/**/*.*", + "html/custom/**/css/*.*", + "html/custom/**/js/*.*", +} + +dependencies { + "tv_scaleform", + '/server:4752', +} + +lua54 'yes' + +escrow_ignore { + "config.lua", + "locales/*.lua", + "utils/*.lua", + + "const.lua", + + "custom/client/*.lua", + "custom/server/*.lua", + + "server/server.lua", + + "client/camera.lua", + "client/VIP.lua", + "client/client_editable.lua", + "client/utils_editable.lua", +} +dependency '/assetpacks' \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/bootstrap.min.js b/resources/[standalone]/rcore_tv/rcore_television/html/bootstrap.min.js new file mode 100644 index 000000000..ef4d9cbd6 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v4.5.2 (https://getbootstrap.com/) + * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery,t.Popper)}(this,(function(t,e,n){"use strict";function i(t,e){for(var n=0;n=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};a.jQueryDetection(),e.fn.emulateTransitionEnd=r,e.event.special[a.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var l="alert",c=e.fn[l],h=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=a.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest(".alert")[0]),i},n._triggerCloseEvent=function(t){var n=e.Event("close.bs.alert");return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass("show"),e(t).hasClass("fade")){var i=a.getTransitionDurationFromElement(t);e(t).one(a.TRANSITION_END,(function(e){return n._destroyElement(t,e)})).emulateTransitionEnd(i)}else this._destroyElement(t)},n._destroyElement=function(t){e(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',h._handleDismiss(new h)),e.fn[l]=h._jQueryInterface,e.fn[l].Constructor=h,e.fn[l].noConflict=function(){return e.fn[l]=c,h._jQueryInterface};var u=e.fn.button,d=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest('[data-toggle="buttons"]')[0];if(i){var o=this._element.querySelector('input:not([type="hidden"])');if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains("active"))t=!1;else{var s=i.querySelector(".active");s&&e(s).removeClass("active")}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains("active")),e(o).trigger("change")),o.focus(),n=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&e(this._element).toggleClass("active"))},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.button");i||(i=new t(this),e(this).data("bs.button",i)),"toggle"===n&&i[n]()}))},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var n=t.target,i=n;if(e(n).hasClass("btn")||(n=e(n).closest(".btn")[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled"))t.preventDefault();else{var o=n.querySelector('input:not([type="hidden"])');if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();("LABEL"!==i.tagName||o&&"checkbox"!==o.type)&&d._jQueryInterface.call(e(n),"toggle")}})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){var n=e(t.target).closest(".btn")[0];e(n).toggleClass("focus",/^focus(in)?$/.test(t.type))})),e(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide("next")},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide("prev")},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(a.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(t){var n=this;this._activeElement=this._element.querySelector(".active.carousel-item");var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one("slid.bs.carousel",(function(){return n.to(t)}));else{if(i===t)return this.pause(),void this.cycle();var o=t>i?"next":"prev";this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(g),e.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(t){return t=s({},p,t),a.typeCheckConfig(f,t,_),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&e(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&v[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&v[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};e(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(e(this._element).on("pointerdown.bs.carousel",(function(t){return n(t)})),e(this._element).on("pointerup.bs.carousel",(function(t){return i(t)})),this._element.classList.add("pointer-event")):(e(this._element).on("touchstart.bs.carousel",(function(t){return n(t)})),e(this._element).on("touchmove.bs.carousel",(function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),e(this._element).on("touchend.bs.carousel",(function(t){return i(t)})))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n="next"===t,i="prev"===t,o=this._getItemIndex(e),s=this._items.length-1;if((i&&0===o||n&&o===s)&&!this._config.wrap)return e;var r=(o+("prev"===t?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(".active.carousel-item")),s=e.Event("slide.bs.carousel",{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(s),s},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));e(n).removeClass("active");var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass("active")}},n._slide=function(t,n){var i,o,s,r=this,l=this._element.querySelector(".active.carousel-item"),c=this._getItemIndex(l),h=n||l&&this._getItemByDirection(t,l),u=this._getItemIndex(h),d=Boolean(this._interval);if("next"===t?(i="carousel-item-left",o="carousel-item-next",s="left"):(i="carousel-item-right",o="carousel-item-prev",s="right"),h&&e(h).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(h,s).isDefaultPrevented()&&l&&h){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(h);var f=e.Event("slid.bs.carousel",{relatedTarget:h,direction:s,from:c,to:u});if(e(this._element).hasClass("slide")){e(h).addClass(o),a.reflow(h),e(l).addClass(i),e(h).addClass(i);var g=parseInt(h.getAttribute("data-interval"),10);g?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=g):this._config.interval=this._config.defaultInterval||this._config.interval;var m=a.getTransitionDurationFromElement(l);e(l).one(a.TRANSITION_END,(function(){e(h).removeClass(i+" "+o).addClass("active"),e(l).removeClass("active "+o+" "+i),r._isSliding=!1,setTimeout((function(){return e(r._element).trigger(f)}),0)})).emulateTransitionEnd(m)}else e(l).removeClass("active"),e(h).addClass("active"),this._isSliding=!1,e(this._element).trigger(f);d&&this.cycle()}},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.carousel"),o=s({},p,e(this).data());"object"==typeof n&&(o=s({},o,n));var r="string"==typeof n?n:o.slide;if(i||(i=new t(this,o),e(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if("undefined"==typeof i[r])throw new TypeError('No method named "'+r+'"');i[r]()}else o.interval&&o.ride&&(i.pause(),i.cycle())}))},t._dataApiClickHandler=function(n){var i=a.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass("carousel")){var r=s({},e(o).data(),e(this).data()),l=this.getAttribute("data-slide-to");l&&(r.interval=!1),t._jQueryInterface.call(e(o),r),l&&e(o).data("bs.carousel").to(l),n.preventDefault()}}},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return p}}]),t}();e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",b._dataApiClickHandler),e(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),n=0,i=t.length;n0&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){e(this._element).hasClass("show")?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!this._isTransitioning&&!e(this._element).hasClass("show")&&(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains("collapse")}))).length&&(n=null),!(n&&(i=e(n).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var s=e.Event("show.bs.collapse");if(e(this._element).trigger(s),!s.isDefaultPrevented()){n&&(t._jQueryInterface.call(e(n).not(this._selector),"hide"),i||e(n).data("bs.collapse",null));var r=this._getDimension();e(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[r]=0,this._triggerArray.length&&e(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var l="scroll"+(r[0].toUpperCase()+r.slice(1)),c=a.getTransitionDurationFromElement(this._element);e(this._element).one(a.TRANSITION_END,(function(){e(o._element).removeClass("collapsing").addClass("collapse show"),o._element.style[r]="",o.setTransitioning(!1),e(o._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(c),this._element.style[r]=this._element[l]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass("show")){var n=e.Event("hide.bs.collapse");if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",a.reflow(this._element),e(this._element).addClass("collapsing").removeClass("collapse show");var o=this._triggerArray.length;if(o>0)for(var s=0;s0},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),s({},t,this._config.popperConfig)},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.dropdown");if(i||(i=new t(this,"object"==typeof n?n:null),e(this).data("bs.dropdown",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),o=0,s=i.length;o0&&r--,40===n.which&&rdocument.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var o=a.getTransitionDurationFromElement(this._dialog);e(this._element).off(a.TRANSITION_END),e(this._element).one(a.TRANSITION_END,(function(){t._element.classList.remove("modal-static"),i||e(t._element).one(a.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,o)})).emulateTransitionEnd(o),this._element.focus()}else this.hide()},n._showElement=function(t){var n=this,i=e(this._element).hasClass("fade"),o=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),e(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,i&&a.reflow(this._element),e(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var s=e.Event("shown.bs.modal",{relatedTarget:t}),r=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(s)};if(i){var l=a.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(a.TRANSITION_END,r).emulateTransitionEnd(l)}else r()},n._enforceFocus=function(){var t=this;e(document).off("focusin.bs.modal").on("focusin.bs.modal",(function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()}))},n._setEscapeEvent=function(){var t=this;this._isShown?e(this._element).on("keydown.dismiss.bs.modal",(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||e(this._element).off("keydown.dismiss.bs.modal")},n._setResizeEvent=function(){var t=this;this._isShown?e(window).on("resize.bs.modal",(function(e){return t.handleUpdate(e)})):e(window).off("resize.bs.modal")},n._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){e(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger("hidden.bs.modal")}))},n._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(t){var n=this,i=e(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),e(this._backdrop).appendTo(document.body),e(this._element).on("click.dismiss.bs.modal",(function(t){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:t.target===t.currentTarget&&n._triggerBackdropTransition()})),i&&a.reflow(this._backdrop),e(this._backdrop).addClass("show"),!t)return;if(!i)return void t();var o=a.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(a.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass("show");var s=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass("fade")){var r=a.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(a.TRANSITION_END,s).emulateTransitionEnd(r)}else s()}else t&&t()},n._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:L,popperConfig:null},K={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},X=function(){function t(t,e){if("undefined"==typeof n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var i=t.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var o=a.findShadowRoot(this.element),s=e.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!s)return;var r=this.getTipElement(),l=a.getUID(this.constructor.NAME);r.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&e(r).addClass("fade");var c="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,h=this._getAttachment(c);this.addAttachmentClass(h);var u=this._getContainer();e(r).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(r).appendTo(u),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,r,this._getPopperConfig(h)),e(r).addClass("show"),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var d=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),"out"===n&&t._leave(null,t)};if(e(this.tip).hasClass("fade")){var f=a.getTransitionDurationFromElement(this.tip);e(this.tip).one(a.TRANSITION_END,d).emulateTransitionEnd(f)}else d()}},i.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),s=function(){"show"!==n._hoverState&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass("show"),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e(this.tip).hasClass("fade")){var r=a.getTransitionDurationFromElement(i);e(i).one(a.TRANSITION_END,s).emulateTransitionEnd(r)}else s();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},i.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(".tooltip-inner")),this.getTitle()),e(t).removeClass("fade show")},i.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Q(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},i.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},i._getPopperConfig=function(t){var e=this;return s({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:a.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},i._getAttachment=function(t){return V[t.toUpperCase()]},i._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==n){var i="hover"===n?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o="hover"===n?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},e(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e(n.getTipElement()).hasClass("show")||"show"===n._hoverState?n._hoverState="show":(clearTimeout(n._timeout),n._hoverState="show",n.config.delay&&n.config.delay.show?n._timeout=setTimeout((function(){"show"===n._hoverState&&n.show()}),n.config.delay.show):n.show())},i._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState="out",n.config.delay&&n.config.delay.hide?n._timeout=setTimeout((function(){"out"===n._hoverState&&n.hide()}),n.config.delay.hide):n.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach((function(t){-1!==M.indexOf(t)&&delete n[t]})),"number"==typeof(t=s({},this.constructor.Default,n,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),a.typeCheckConfig(B,t,this.constructor.DefaultType),t.sanitize&&(t.template=Q(t.template,t.whiteList,t.sanitizeFn)),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(U);null!==n&&n.length&&t.removeClass(n.join(""))},i._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data("bs.tooltip",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return z}},{key:"NAME",get:function(){return B}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return K}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return W}}]),t}();e.fn[B]=X._jQueryInterface,e.fn[B].Constructor=X,e.fn[B].noConflict=function(){return e.fn[B]=H,X._jQueryInterface};var Y="popover",$=e.fn[Y],J=new RegExp("(^|\\s)bs-popover\\S+","g"),G=s({},X.Default,{placement:"right",trigger:"click",content:"",template:''}),Z=s({},X.DefaultType,{content:"(string|element|function)"}),tt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},et=function(t){var n,i;function s(){return t.apply(this,arguments)||this}i=t,(n=s).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var r=s.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},r.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},r.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(".popover-body"),n),t.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(J);null!==n&&n.length>0&&t.removeClass(n.join(""))},s._jQueryInterface=function(t){return this.each((function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new s(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},o(s,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return G}},{key:"NAME",get:function(){return Y}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return tt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Z}}]),s}(X);e.fn[Y]=et._jQueryInterface,e.fn[Y].Constructor=et,e.fn[Y].noConflict=function(){return e.fn[Y]=$,et._jQueryInterface};var nt="scrollspy",it=e.fn[nt],ot={offset:10,method:"auto",target:""},st={offset:"number",method:"string",target:"(string|element)"},rt=function(){function t(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return i._process(t)})),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?n:this._config.method,o="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var n,s=a.getSelectorFromElement(t);if(s&&(n=document.querySelector(s)),n){var r=n.getBoundingClientRect();if(r.width||r.height)return[e(n)[i]().top+o,s]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},n.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(t){if("string"!=typeof(t=s({},ot,"object"==typeof t&&t?t:{})).target&&a.isElement(t.target)){var n=e(t.target).attr("id");n||(n=a.getUID(nt),e(t.target).attr("id",n)),t.target="#"+n}return a.typeCheckConfig(nt,t,st),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t li > .active":".active";i=(i=e.makeArray(e(o).find(r)))[i.length-1]}var l=e.Event("hide.bs.tab",{relatedTarget:this._element}),c=e.Event("show.bs.tab",{relatedTarget:i});if(i&&e(i).trigger(l),e(this._element).trigger(c),!c.isDefaultPrevented()&&!l.isDefaultPrevented()){s&&(n=document.querySelector(s)),this._activate(this._element,o);var h=function(){var n=e.Event("hidden.bs.tab",{relatedTarget:t._element}),o=e.Event("shown.bs.tab",{relatedTarget:i});e(i).trigger(n),e(t._element).trigger(o)};n?this._activate(n,n.parentNode,h):h()}}},n.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(t,n,i){var o=this,s=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(".active"):e(n).find("> li > .active"))[0],r=i&&s&&e(s).hasClass("fade"),l=function(){return o._transitionComplete(t,s,i)};if(s&&r){var c=a.getTransitionDurationFromElement(s);e(s).removeClass("show").one(a.TRANSITION_END,l).emulateTransitionEnd(c)}else l()},n._transitionComplete=function(t,n,i){if(n){e(n).removeClass("active");var o=e(n.parentNode).find("> .dropdown-menu .active")[0];o&&e(o).removeClass("active"),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),a.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&e(t.parentNode).hasClass("dropdown-menu")){var s=e(t).closest(".dropdown")[0];if(s){var r=[].slice.call(s.querySelectorAll(".dropdown-toggle"));e(r).addClass("active")}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.tab");if(o||(o=new t(this),i.data("bs.tab",o)),"string"==typeof n){if("undefined"==typeof o[n])throw new TypeError('No method named "'+n+'"');o[n]()}}))},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),lt._jQueryInterface.call(e(this),"show")})),e.fn.tab=lt._jQueryInterface,e.fn.tab.Constructor=lt,e.fn.tab.noConflict=function(){return e.fn.tab=at,lt._jQueryInterface};var ct=e.fn.toast,ht={animation:"boolean",autohide:"boolean",delay:"number"},ut={animation:!0,autohide:!0,delay:500},dt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var n=t.prototype;return n.show=function(){var t=this,n=e.Event("show.bs.toast");if(e(this._element).trigger(n),!n.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var i=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),e(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove("hide"),a.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var o=a.getTransitionDurationFromElement(this._element);e(this._element).one(a.TRANSITION_END,i).emulateTransitionEnd(o)}else i()}},n.hide=function(){if(this._element.classList.contains("show")){var t=e.Event("hide.bs.toast");e(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},n.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),e(this._element).off("click.dismiss.bs.toast"),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(t){return t=s({},ut,e(this._element).data(),"object"==typeof t&&t?t:{}),a.typeCheckConfig("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;e(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',(function(){return t.hide()}))},n._close=function(){var t=this,n=function(){t._element.classList.add("hide"),e(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=a.getTransitionDurationFromElement(this._element);e(this._element).one(a.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.toast");if(o||(o=new t(this,"object"==typeof n&&n),i.data("bs.toast",o)),"string"==typeof n){if("undefined"==typeof o[n])throw new TypeError('No method named "'+n+'"');o[n](this)}}))},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"DefaultType",get:function(){return ht}},{key:"Default",get:function(){return ut}}]),t}();e.fn.toast=dt._jQueryInterface,e.fn.toast.Constructor=dt,e.fn.toast.noConflict=function(){return e.fn.toast=ct,dt._jQueryInterface},t.Alert=h,t.Button=d,t.Carousel=b,t.Collapse=C,t.Dropdown=I,t.Modal=P,t.Popover=et,t.Scrollspy=rt,t.Tab=lt,t.Toast=dt,t.Tooltip=X,t.Util=a,Object.defineProperty(t,"__esModule",{value:!0})})); +//# sourceMappingURL=bootstrap.min.js.map \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/css/bootstrap.min.css b/resources/[standalone]/rcore_tv/rcore_television/html/css/bootstrap.min.css new file mode 100644 index 000000000..21d10bad3 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/css/bootstrap.min.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap v4.5.2 (https://getbootstrap.com/) + * Copyright 2011-2020 The Bootstrap Authors + * Copyright 2011-2020 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer::before{content:"\2014\00A0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered{border:1px solid #dee2e6}.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover{background-color:#9fcdff}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover{background-color:#c8cbcf}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover{background-color:#b1dfbb}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover{background-color:#abdde5}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover{background-color:#ffe8a1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover{background-color:#f1b0b7}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover{background-color:#ececf6}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover{background-color:#b9bbbe}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control::-webkit-input-placeholder{color:#6c757d;opacity:1}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#0069d9;border-color:#0062cc;box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{color:#fff;background-color:#5a6268;border-color:#545b62;box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#218838;border-color:#1e7e34;box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#138496;border-color:#117a8b;box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{color:#212529;background-color:#e0a800;border-color:#d39e00;box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c82333;border-color:#bd2130;box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{color:#212529;background-color:#e2e6ea;border-color:#dae0e5;box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{color:#fff;background-color:#23272b;border-color:#1d2124;box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3;text-decoration:underline}.btn-link.focus,.btn-link:focus{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#f8f9fa}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#6c757d;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn:hover,.btn-group>.btn:hover{z-index:1}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus{z-index:1}.btn-toolbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;min-width:0;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-append,.input-group-prepend{display:-ms-flexbox;display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;z-index:1;display:block;min-height:1.5rem;padding-left:1.5rem}.custom-control-inline{display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label::before,.custom-control-input[disabled]~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:"";background-color:#fff;border:#adb5bd solid 1px}.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label::before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label::after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:1.4rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.5rem}.custom-range::-ms-fill-lower{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px;background-color:#dee2e6;border-radius:1rem}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item,.nav-fill>.nav-link{-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:.5rem 1rem}.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:no-repeat center center;background-size:100% 100%}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.5);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{-ms-flex:1 1 auto;flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{-ms-flex-negative:0;flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{-ms-flex:1 0 0%;flex:1 0 0%;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item{display:-ms-flexbox;display:flex}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@-webkit-keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;line-height:0;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.media-body{-ms-flex:1;flex:1}.list-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0}a.close.disabled{pointer-events:none}.toast{-ms-flex-preferred-size:350px;flex-basis:350px;max-width:350px;font-size:.875rem;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal.modal-static .modal-dialog{-webkit-transform:scale(1.02);transform:scale(1.02)}.modal-dialog-scrollable{display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content;content:""}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .close{padding:1rem 1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem}.modal-footer{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow::before,.bs-tooltip-top .arrow::before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow::before,.bs-tooltip-bottom .arrow::before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow::after,.popover .arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){-webkit-transform:translateX(100%);transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50%/100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-right{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix::after{display:block;clear:both;content:""}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive::before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.857143%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-sm-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-sm-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-md-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-md-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-lg-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-lg-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-xl-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-xl-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;-ms-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;overflow-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px!important}.container{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/css/img/bg.jpg b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/css/img/bg.jpg new file mode 100644 index 000000000..df15e2eae Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/css/img/bg.jpg differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/css/tv-menu.css b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/css/tv-menu.css new file mode 100644 index 000000000..62b2315f3 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/css/tv-menu.css @@ -0,0 +1,106 @@ +#blackscreen{ + background: black; + position: absolute; + height: 100%; + width: 100%; + top: 0; + left: 0; + z-index: 999999; +} + +.bounce-enter-active { + animation: bounce-in 0.5s; +} + +@keyframes bounce-in { + 0% { + transform: scale(0); + } + 50% { + transform: scale(1.10); + } + 100% { + transform: scale(1); + } +} + +#offButton{ + font-size: 32px; + position: absolute; + top: 6px; + right: 52px; +} + +#off{ + background: aliceblue; + position: absolute; + height: 50px; + width: 70px; + position: absolute; + top: 0; + right: 0; + z-index: 100; +} + +#circle{ + height: 75px; + width: 75px; + background-color: aliceblue; + border-radius: 50%; + display: inline-block; + position: absolute; + top: -25px; + right: 32px; +} + +body { + background-image: url(./img/bg.jpg); + background-size: cover; + overflow: hidden; +} + +#icon-size{ + font-size: 47px; + padding: unset; + padding-bottom: 40px; + padding-top: 22px; +} + +#menu{ + margin: auto; + width: 89%; +} + +#container{ + height: 649px; + width: 871px; + margin: auto; + position: fixed; + top: 29%; + left: 27%; +} + +.text{ + font-family: Montserrat, sans-serif; + text-overflow: ellipsis; + font-size: 39px; + width: 100%; + position: relative; + bottom: 17px; +} + +.box{ + transition-duration: 500ms; + background: aliceblue; + float: left; + margin: 8px; + text-align: center; + height: 96px; + width: 100%; +} + +.box.active { + z-index: 999 !important; + border-radius: 6px; + background: #b8dbfb; +} diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/index.html b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/index.html new file mode 100644 index 000000000..93ac33989 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/index.html @@ -0,0 +1,23 @@ + + + + + + + + + + + +
+
+ +
+ + + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/js/script.js b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/js/script.js new file mode 100644 index 000000000..6476b79f4 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/js/script.js @@ -0,0 +1,71 @@ +$("#blackscreen").fadeOut(1500); + +var VueJS = new Vue({ + el: '#container', + data: + { + menuItems: [], + }, +}) + +function getQueryParams() { + var qs = window.location.search; + qs = qs.split('+').join(' '); + + var params = {}, + tokens, + re = /[?&]?([^=]+)=([^&]*)/g; + + while (tokens = re.exec(qs)) { + params[decodeURIComponent(tokens[1])] = decodeURIComponent(tokens[2]); + } + return params; +} + +var activeIndex = 0; + +function ChangeNumber(result){ + if(result){ + if(activeIndex + 1 == VueJS.menuItems.length) { + activeIndex = -1; + } + activeIndex ++; + }else{ + if(activeIndex == 0){ + activeIndex = VueJS.menuItems.length; + } + activeIndex --; + } +} + +$(document).ready(function(){ + var params = getQueryParams(); + $.post('http://rcore_television/menuloaded', JSON.stringify({ + identifier: params.identifier, + })); + window.addEventListener('message', function(event) { + var data = event.data; + if(data.type === "menuItems"){ + VueJS.menuItems.push(data.items) + } + + if(data.type === "enter"){ + $.post('http://rcore_television/itemSelected', JSON.stringify({ + identifier: params.identifier, + item: activeIndex, + })); + } + + if(data.type === "direction_bottom"){ + ChangeNumber(true) + for(var i = 0; i < VueJS.menuItems.length; i ++) VueJS.menuItems[i].active = false + VueJS.menuItems[activeIndex].active = true + } + + if(data.type === "direction_top"){ + ChangeNumber(false) + for(var i = 0; i < VueJS.menuItems.length; i ++) VueJS.menuItems[i].active = false + VueJS.menuItems[activeIndex].active = true + } + }); +}); diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/js/vue.min.js b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/js/vue.min.js new file mode 100644 index 000000000..41094e008 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/custom/menu/js/vue.min.js @@ -0,0 +1,6 @@ +/*! + * Vue.js v2.6.12 + * (c) 2014-2020 Evan You + * Released under the MIT License. + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function k(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function A(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,Z=J&&J.indexOf("edge/")>0,G=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===K),X=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),Y={}.watch,Q=!1;if(z)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===B&&(B=!z&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),B},ne=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,oe="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);ie="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ae=S,se=0,ce=function(){this.id=se++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){h(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=Pe(String,i.type);(c<0||s0&&(st((u=e(u,(a||"")+"_"+c))[0])&&st(f)&&(s[l]=he(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?st(f)?s[l]=he(f.text+u):""!==u&&s.push(he(u)):st(u)&&st(f)?s[l]=he(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function st(e){return n(e)&&n(e.text)&&!1===e.isComment}function ct(e,t){if(e){for(var n=Object.create(null),r=oe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=pt(n,c,t[c]))}else i={};for(var u in n)u in i||(i[u]=dt(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),R(i,"$stable",a),R(i,"$key",s),R(i,"$hasNormal",o),i}function pt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:at(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function dt(e,t){return function(){return e[t]}}function vt(e,t){var r,i,a,s,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),i=0,a=e.length;idocument.createEvent("Event").timeStamp&&(sn=function(){return cn.now()})}function un(){var e,t;for(an=sn(),rn=!0,Qt.sort(function(e,t){return e.id-t.id}),on=0;onon&&Qt[n].id>e.id;)n--;Qt.splice(n+1,0,e)}else Qt.push(e);nn||(nn=!0,Ye(un))}}(this)},fn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Re(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:S,set:S};function dn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&$e(!1);var o=function(o){i.push(o);var a=Me(o,t,n,e);xe(r,o,a),o in e||dn(e,"_props",o)};for(var a in t)o(a);$e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){le();try{return e.call(t,t)}catch(e){return Re(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&dn(e,"_data",o))}var a;Ce(t,!0)}(e):Ce(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=te();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new fn(e,a||S,S,hn)),i in e||mn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function An(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=xn(a.componentOptions);s&&!t(s)&&On(n,o,r,i)}}}function On(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=bn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=De($n(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&qt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=ut(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return Pt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Pt(t,e,n,r,i,!0)};var o=r&&r.data;xe(t,"$attrs",o&&o.attrs||e,null,!0),xe(t,"$listeners",n._parentListeners||e,null,!0)}(n),Yt(n,"beforeCreate"),function(e){var t=ct(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach(function(n){xe(e,n,t[n])}),$e(!0))}(n),vn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),Yt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(wn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=ke,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(s(t))return _n(this,e,t,n);(n=n||{}).user=!0;var r=new fn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Re(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?k(t):t;for(var n=k(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&On(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:ae,extend:A,mergeOptions:De,defineReactive:xe},e.set=ke,e.delete=Ae,e.nextTick=Ye,e.observable=function(e){return Ce(e),e},e.options=Object.create(null),M.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,A(e.options.components,Tn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),Cn(e),function(e){M.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:te}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Tt}),wn.version="2.6.12";var En=p("style,class"),Nn=p("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Dn=p("contenteditable,draggable,spellcheck"),Ln=p("events,caret,typing,plaintext-only"),Mn=function(e,t){return Hn(t)||"false"===t?"false":"contenteditable"===e&&Ln(t)?t:"true"},In=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Fn="http://www.w3.org/1999/xlink",Pn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return Pn(e)?e.slice(6,e.length):""},Hn=function(e){return null==e||!1===e};function Bn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Un(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Un(t,r.data));return function(e,t){if(n(e)||n(t))return zn(e,Vn(t));return""}(t.staticClass,t.class)}function Un(e,t){return{staticClass:zn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function zn(e,t){return e?t?e+" "+t:e:t||""}function Vn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?hr(e,t,n):In(t)?Hn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Dn(t)?e.setAttribute(t,Mn(t,n)):Pn(t)?Hn(n)?e.removeAttributeNS(Fn,Rn(t)):e.setAttributeNS(Fn,t,n):hr(e,t,n)}function hr(e,t,n){if(Hn(n))e.removeAttribute(t);else{if(q&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var mr={create:dr,update:dr};function yr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Bn(r),c=i._transitionClasses;n(c)&&(s=zn(s,Vn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var gr,_r,br,$r,wr,Cr,xr={create:yr,update:yr},kr=/[\w).+\-_$\]]/;function Ar(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&kr.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,$r),key:'"'+e.slice($r+1)+'"'}:{exp:e,key:null};_r=e,$r=wr=Cr=0;for(;!zr();)Vr(br=Ur())?Jr(br):91===br&&Kr(br);return{exp:e.slice(0,wr),key:e.slice(wr+1,Cr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return _r.charCodeAt(++$r)}function zr(){return $r>=gr}function Vr(e){return 34===e||39===e}function Kr(e){var t=1;for(wr=$r;!zr();)if(Vr(e=Ur()))Jr(e);else if(91===e&&t++,93===e&&t--,0===t){Cr=$r;break}}function Jr(e){for(var t=e;!zr()&&(e=Ur())!==t;);}var qr,Wr="__r",Zr="__c";function Gr(e,t,n){var r=qr;return function i(){null!==t.apply(null,arguments)&&Qr(e,i,n,r)}}var Xr=Ve&&!(X&&Number(X[1])<=53);function Yr(e,t,n,r){if(Xr){var i=an,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}qr.addEventListener(e,t,Q?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||qr).removeEventListener(e,t._wrapper||t,n)}function ei(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};qr=r.elm,function(e){if(n(e[Wr])){var t=q?"change":"input";e[t]=[].concat(e[Wr],e[t]||[]),delete e[Wr]}n(e[Zr])&&(e.change=[].concat(e[Zr],e.change||[]),delete e[Zr])}(i),rt(i,o,Yr,Qr,Gr,r.context),qr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=A({},c)),s)i in c||(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i&&"PROGRESS"!==a.tagName){a._value=o;var u=t(o)?"":String(o);ii(a,u)&&(a.value=u)}else if("innerHTML"===i&&qn(a.tagName)&&t(a.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+o+"";for(var l=ti.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[i])try{a[i]=o}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var oi={create:ri,update:ri},ai=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function si(e){var t=ci(e.style);return e.staticStyle?A(e.staticStyle,t):t}function ci(e){return Array.isArray(e)?O(e):"string"==typeof e?ai(e):e}var ui,li=/^--/,fi=/\s*!important$/,pi=function(e,t,n){if(li.test(t))e.style.setProperty(t,n);else if(fi.test(n))e.style.setProperty(C(t),n.replace(fi,""),"important");else{var r=vi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(yi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function _i(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(yi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,$i(e.name||"v")),A(t,e),t}return"string"==typeof e?$i(e):void 0}}var $i=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),wi=z&&!W,Ci="transition",xi="animation",ki="transition",Ai="transitionend",Oi="animation",Si="animationend";wi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ki="WebkitTransition",Ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Si="webkitAnimationEnd"));var Ti=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ei(e){Ti(function(){Ti(e)})}function Ni(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gi(e,t))}function ji(e,t){e._transitionClasses&&h(e._transitionClasses,t),_i(e,t)}function Di(e,t,n){var r=Mi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ci?Ai:Si,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ci,l=a,f=o.length):t===xi?u>0&&(n=xi,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ci:xi:null)?n===Ci?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ci&&Li.test(r[ki+"Property"])}}function Ii(e,t){for(;e.length1}function Ui(e,t){!0!==t.data.show&&Pi(t)}var zi=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function k(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(N(Wi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function qi(e,t){return t.every(function(t){return!N(t,e)})}function Wi(e){return"_value"in e?e._value:e.value}function Zi(e){e.target.composing=!0}function Gi(e){e.target.composing&&(e.target.composing=!1,Xi(e.target,"input"))}function Xi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Yi(e){return!e.componentInstance||e.data&&e.data.transition?e:Yi(e.componentInstance._vnode)}var Qi={model:Vi,show:{bind:function(e,t,n){var r=t.value,i=(n=Yi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Pi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Yi(n)).data&&n.data.transition?(n.data.show=!0,r?Pi(n,function(){e.style.display=e.__vOriginalDisplay}):Ri(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},eo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function to(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?to(zt(t.children)):e}function no(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function ro(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var io=function(e){return e.tag||Ut(e)},oo=function(e){return"show"===e.name},ao={name:"transition",props:eo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(io)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=to(o);if(!a)return o;if(this._leaving)return ro(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=no(this),u=this._vnode,l=to(u);if(a.data.directives&&a.data.directives.some(oo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!Ut(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=A({},c);if("out-in"===r)return this._leaving=!0,it(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ro(e,o);if("in-out"===r){if(Ut(a))return u;var p,d=function(){p()};it(c,"afterEnter",d),it(c,"enterCancelled",d),it(f,"delayLeave",function(e){p=e})}}return o}}},so=A({tag:String,moveClass:String},eo);function co(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function uo(e){e.data.newPos=e.elm.getBoundingClientRect()}function lo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete so.mode;var fo={Transition:ao,TransitionGroup:{props:so,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Zt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=no(this),s=0;s-1?Gn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Gn[e]=/HTMLUnknownElement/.test(t.toString())},A(wn.options.directives,Qi),A(wn.options.components,fo),wn.prototype.__patch__=z?zi:S,wn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ve),Yt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new fn(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&Yt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Yt(e,"mounted")),e}(this,e=e&&z?Yn(e):void 0,t)},z&&setTimeout(function(){F.devtools&&ne&&ne.emit("init",wn)},0);var po=/\{\{((?:.|\r?\n)+?)\}\}/g,vo=/[-.*+?^${}()|[\]\/\\]/g,ho=g(function(e){var t=e[0].replace(vo,"\\$&"),n=e[1].replace(vo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var mo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Fr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ir(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var yo,go={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Fr(e,"style");n&&(e.staticStyle=JSON.stringify(ai(n)));var r=Ir(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},_o=function(e){return(yo=yo||document.createElement("div")).innerHTML=e,yo.textContent},bo=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),$o=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),wo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Co=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,xo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+P.source+"]*",Ao="((?:"+ko+"\\:)?"+ko+")",Oo=new RegExp("^<"+Ao),So=/^\s*(\/?)>/,To=new RegExp("^<\\/"+Ao+"[^>]*>"),Eo=/^]+>/i,No=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Io=/&(?:lt|gt|quot|amp|#39);/g,Fo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Po=p("pre,textarea",!0),Ro=function(e,t){return e&&Po(e)&&"\n"===t[0]};function Ho(e,t){var n=t?Fo:Io;return e.replace(n,function(e){return Mo[e]})}var Bo,Uo,zo,Vo,Ko,Jo,qo,Wo,Zo=/^@|^v-on:/,Go=/^v-|^@|^:|^#/,Xo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qo=/^\(|\)$/g,ea=/^\[.*\]$/,ta=/:(.*)$/,na=/^:|^\.|^v-bind:/,ra=/\.[^.\]]+(?=[^\]]*$)/g,ia=/^v-slot(:|$)|^#/,oa=/[\r\n]/,aa=/\s+/g,sa=g(_o),ca="_empty_";function ua(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ma(t),rawAttrsMap:{},parent:n,children:[]}}function la(e,t){Bo=t.warn||Sr,Jo=t.isPreTag||T,qo=t.mustUseProp||T,Wo=t.getTagNamespace||T;t.isReservedTag;zo=Tr(t.modules,"transformNode"),Vo=Tr(t.modules,"preTransformNode"),Ko=Tr(t.modules,"postTransformNode"),Uo=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=fa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&da(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&da(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Jo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,Do(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ro(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,A(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(No.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(jo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Eo);if(m){C(m[0].length);continue}var y=e.match(To);if(y){var g=c;C(y[0].length),A(y[1],g,c);continue}var _=x();if(_){k(_),Ro(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(To.test($)||Oo.test($)||No.test($)||jo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(Oo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(So))&&(r=e.match(xo)||e.match(Co));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&wo(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}A()}(e,{warn:Bo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=r&&r.ns||Wo(e);q&&"svg"===p&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Ar(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Mr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Br(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Br(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Br(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ir(e,"value")||"null";Er(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Mr(e,"change",Br(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Wr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Br(t,l);c&&(f="if($event.target.composing)return;"+f),Er(e,"value","("+t+")"),Mr(e,u,f,null,!0),(s||a)&&Mr(e,"blur","$forceUpdate()")}(e,r,i);else if(!F.isReservedTag(o))return Hr(e,r,i),!1;return!0},text:function(e,t){t.value&&Er(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Er(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:bo,mustUseProp:jn,canBeLeftOpenTag:$o,isReservedTag:Wn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(ba)},xa=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function ka(e,t){e&&($a=xa(t.staticKeys||""),wa=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!wa(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every($a)))}(t);if(1===t.type){if(!wa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Oa=/\([^)]*?\);*$/,Sa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ea={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Na=function(e){return"if("+e+")return null;"},ja={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Na("$event.target !== $event.currentTarget"),ctrl:Na("!$event.ctrlKey"),shift:Na("!$event.shiftKey"),alt:Na("!$event.altKey"),meta:Na("!$event.metaKey"),left:Na("'button' in $event && $event.button !== 0"),middle:Na("'button' in $event && $event.button !== 1"),right:Na("'button' in $event && $event.button !== 2")};function Da(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=La(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function La(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return La(e)}).join(",")+"]";var t=Sa.test(e.value),n=Aa.test(e.value),r=Sa.test(e.value.replace(Oa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ja[s])o+=ja[s],Ta[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Na(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ma).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ma(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ta[e],r=Ea[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ia={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Fa=function(e){this.options=e,this.warn=e.warn||Sr,this.transforms=Tr(e.modules,"transformCode"),this.dataGenFns=Tr(e.modules,"genData"),this.directives=A(A({},Ia),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Pa(e,t){var n=new Fa(t);return{render:"with(this){return "+(e?Ra(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ra(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ha(e,t);if(e.once&&!e.onceProcessed)return Ba(e,t);if(e.for&&!e.forProcessed)return za(e,t);if(e.if&&!e.ifProcessed)return Ua(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=qa(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ga((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:b(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:qa(t,n,!0);return"_c("+e+","+Va(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Va(e,t));var i=e.inlineTemplate?null:qa(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Pa(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ga(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ka(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ka))}function Ja(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ua(e,t,Ja,"null");if(e.for&&!e.forProcessed)return za(e,t,Ja);var r=e.slotScope===ca?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(qa(e,t)||"undefined")+":undefined":qa(e,t)||"undefined":Ra(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function qa(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ra)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',ts.innerHTML.indexOf(" ")>0}var os=!!z&&is(!1),as=!!z&&is(!0),ss=g(function(e){var t=Yn(e);return t&&t.innerHTML}),cs=wn.prototype.$mount;return wn.prototype.$mount=function(e,t){if((e=e&&Yn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ss(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=rs(r,{outputSourceRange:!1,shouldDecodeNewlines:os,shouldDecodeNewlinesForHref:as,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return cs.call(this,e,t)},wn.compile=rs,wn}); \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/js/functions.js b/resources/[standalone]/rcore_tv/rcore_television/html/js/functions.js new file mode 100644 index 000000000..15b53595c --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/js/functions.js @@ -0,0 +1,105 @@ +function getQueryParams() { + var qs = window.location.search; + qs = qs.split('+').join(' '); + + var params = {}, + tokens, + re = /[?&]?([^=]+)=([^&]*)/g; + + while (tokens = re.exec(qs)) { + params[decodeURIComponent(tokens[1])] = decodeURIComponent(tokens[2]); + } + return params; +} + +function updateFrame(){ + var result = getQueryParams(); + + $("#black").css( + { + "max-width": "1920px", + "max-height": "1080px", + "top": "0", + "bottom": "0", + "left": "0", + "right": "0", + }); +} + +function editString(string){ + var str = string.toLowerCase(); + var res = str.split("/"); + var final = res[res.length - 1]; + final = final.replace(".mp3", " "); + final = final.replace(".wav", " "); + final = final.replace(".wma", " "); + final = final.replace(".wmv", " "); + + final = final.replace(".aac", " "); + final = final.replace(".ac3", " "); + final = final.replace(".aif", " "); + final = final.replace(".ogg", " "); + final = final.replace("%20", " "); + final = final.replace("-", " "); + + return final; +} + +var MaxDistance = 10; +var max_volume = 0.5; +var TelevisionPos = [0,0,0]; +var PlayerPos = [0,0,0]; + +$(document).ready(function(){ + var result = getQueryParams(); + $.post('http://rcore_television/loaded', JSON.stringify({ + isMenu: false, + identifier: result.identifier, + })); + window.addEventListener('message', function(event) { + var data = event.data; + if(data.type === "rcore_tv_update_pos"){ + PlayerPos = [data.x,data.y,data.z]; + } + if(data.type === "rcore_tv_update_tv_pos"){ + TelevisionPos = [data.x,data.y,data.z]; + MaxDistance = data.MaxDistance; + max_volume = data.max_volume / 100; + } + if(data.type === "rcore_tv_update_tv_volume"){ + max_volume = data.max_volume / 100; + } + }); +}); + +//taken from xsound +//https://github.com/Xogy/xsound + +function GetNewVolume() +{ + var d_max = MaxDistance; + var d_now = BetweenCoords(); + + var vol = 0; + + var distance = (d_now / d_max); + + if (distance < 1) + { + distance = distance * 100; + var far_away = 100 - distance; + vol = (max_volume / 100) * far_away; + } + + return vol; +} + +function BetweenCoords() +{ + var deltaX = PlayerPos[0] - TelevisionPos[0]; + var deltaY = PlayerPos[1] - TelevisionPos[1]; + var deltaZ = PlayerPos[2] - TelevisionPos[2]; + + var distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY + deltaZ * deltaZ); + return distance; +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/js/howler.min.js b/resources/[standalone]/rcore_tv/rcore_television/html/js/howler.min.js new file mode 100644 index 000000000..b73f984c5 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/js/howler.min.js @@ -0,0 +1,4 @@ +/*! howler.js v2.1.1 | (c) 2013-2018, James Simpson of GoldFire Studios | MIT License | howlerjs.com */ +!function(){"use strict";var e=function(){this.init()};e.prototype={init:function(){var e=this||n;return e._counter=1e3,e._html5AudioPool=[],e.html5PoolSize=10,e._codecs={},e._howls=[],e._muted=!1,e._volume=1,e._canPlayEvent="canplaythrough",e._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,e.masterGain=null,e.noAudio=!1,e.usingWebAudio=!0,e.autoSuspend=!0,e.ctx=null,e.autoUnlock=!0,e._setup(),e},volume:function(e){var o=this||n;if(e=parseFloat(e),o.ctx||_(),void 0!==e&&e>=0&&e<=1){if(o._volume=e,o._muted)return o;o.usingWebAudio&&o.masterGain.gain.setValueAtTime(e,n.ctx.currentTime);for(var t=0;t=0;o--)e._howls[o].unload();return e.usingWebAudio&&e.ctx&&void 0!==e.ctx.close&&(e.ctx.close(),e.ctx=null,_()),e},codecs:function(e){return(this||n)._codecs[e.replace(/^x-/,"")]},_setup:function(){var e=this||n;if(e.state=e.ctx?e.ctx.state||"suspended":"suspended",e._autoSuspend(),!e.usingWebAudio)if("undefined"!=typeof Audio)try{var o=new Audio;void 0===o.oncanplaythrough&&(e._canPlayEvent="canplay")}catch(n){e.noAudio=!0}else e.noAudio=!0;try{var o=new Audio;o.muted&&(e.noAudio=!0)}catch(e){}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var e=this||n,o=null;try{o="undefined"!=typeof Audio?new Audio:null}catch(n){return e}if(!o||"function"!=typeof o.canPlayType)return e;var t=o.canPlayType("audio/mpeg;").replace(/^no$/,""),r=e._navigator&&e._navigator.userAgent.match(/OPR\/([0-6].)/g),a=r&&parseInt(r[0].split("/")[1],10)<33;return e._codecs={mp3:!(a||!t&&!o.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!t,opus:!!o.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!o.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!o.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!o.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),aac:!!o.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!o.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(o.canPlayType("audio/x-m4a;")||o.canPlayType("audio/m4a;")||o.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(o.canPlayType("audio/x-mp4;")||o.canPlayType("audio/mp4;")||o.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!o.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),webm:!!o.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),dolby:!!o.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(o.canPlayType("audio/x-flac;")||o.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||n,o=/iPhone|iPad|iPod|Android|BlackBerry|BB10|Silk|Mobi|Chrome|Safari/i.test(e._navigator&&e._navigator.userAgent);if(!e._audioUnlocked&&e.ctx&&o){e._audioUnlocked=!1,e.autoUnlock=!1,e._mobileUnloaded||44100===e.ctx.sampleRate||(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function(n){for(var o=0;o0?i._seek:t._sprite[e][0]/1e3),s=Math.max(0,(t._sprite[e][0]+t._sprite[e][1])/1e3-_),l=1e3*s/Math.abs(i._rate),c=t._sprite[e][0]/1e3,f=(t._sprite[e][0]+t._sprite[e][1])/1e3,p=!(!i._loop&&!t._sprite[e][2]);i._sprite=e,i._ended=!1;var m=function(){i._paused=!1,i._seek=_,i._start=c,i._stop=f,i._loop=p};if(_>=f)return void t._ended(i);var v=i._node;if(t._webAudio){var h=function(){t._playLock=!1,m(),t._refreshBuffer(i);var e=i._muted||t._muted?0:i._volume;v.gain.setValueAtTime(e,n.ctx.currentTime),i._playStart=n.ctx.currentTime,void 0===v.bufferSource.start?i._loop?v.bufferSource.noteGrainOn(0,_,86400):v.bufferSource.noteGrainOn(0,_,s):i._loop?v.bufferSource.start(0,_,86400):v.bufferSource.start(0,_,s),l!==1/0&&(t._endTimers[i._id]=setTimeout(t._ended.bind(t,i),l)),o||setTimeout(function(){t._emit("play",i._id),t._loadQueue()},0)};"running"===n.state?h():(t._playLock=!0,t.once("resume",h),t._clearTimer(i._id))}else{var y=function(){v.currentTime=_,v.muted=i._muted||t._muted||n._muted||v.muted,v.volume=i._volume*n.volume(),v.playbackRate=i._rate;try{var r=v.play();if(r&&"undefined"!=typeof Promise&&(r instanceof Promise||"function"==typeof r.then)?(t._playLock=!0,m(),r.then(function(){t._playLock=!1,v._unlocked=!0,o||(t._emit("play",i._id),t._loadQueue())}).catch(function(){t._playLock=!1,t._emit("playerror",i._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),i._ended=!0,i._paused=!0})):o||(t._playLock=!1,m(),t._emit("play",i._id),t._loadQueue()),v.playbackRate=i._rate,v.paused)return void t._emit("playerror",i._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==e||i._loop?t._endTimers[i._id]=setTimeout(t._ended.bind(t,i),l):(t._endTimers[i._id]=function(){t._ended(i),v.removeEventListener("ended",t._endTimers[i._id],!1)},v.addEventListener("ended",t._endTimers[i._id],!1))}catch(e){t._emit("playerror",i._id,e)}},g=window&&window.ejecta||!v.readyState&&n._navigator.isCocoonJS;if(v.readyState>=3||g)y();else{t._playLock=!0;var b=function(){y(),v.removeEventListener(n._canPlayEvent,b,!1)};v.addEventListener(n._canPlayEvent,b,!1),t._clearTimer(i._id)}}return i._id},pause:function(e){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"pause",action:function(){n.pause(e)}}),n;for(var o=n._getSoundIds(e),t=0;t=0?o=parseInt(r[0],10):e=parseFloat(r[0])}else r.length>=2&&(e=parseFloat(r[0]),o=parseInt(r[1],10));var a;if(!(void 0!==e&&e>=0&&e<=1))return a=o?t._soundById(o):t._sounds[0],a?a._volume:0;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"volume",action:function(){t.volume.apply(t,r)}}),t;void 0===o&&(t._volume=e),o=t._getSoundIds(o);for(var u=0;u0?t/_:t),l=Date.now();e._fadeTo=o,e._interval=setInterval(function(){var r=(Date.now()-l)/t;l=Date.now(),i+=d*r,i=Math.max(0,i),i=Math.min(1,i),i=Math.round(100*i)/100,u._webAudio?e._volume=i:u.volume(i,e._id,!0),a&&(u._volume=i),(on&&i>=o)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,u.volume(o,e._id),u._emit("fade",e._id))},s)},_stopFade:function(e){var o=this,t=o._soundById(e);return t&&t._interval&&(o._webAudio&&t._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(t._interval),t._interval=null,o.volume(t._fadeTo,e),t._fadeTo=null,o._emit("fade",e)),o},loop:function(){var e,n,o,t=this,r=arguments;if(0===r.length)return t._loop;if(1===r.length){if("boolean"!=typeof r[0])return!!(o=t._soundById(parseInt(r[0],10)))&&o._loop;e=r[0],t._loop=e}else 2===r.length&&(e=r[0],n=parseInt(r[1],10));for(var a=t._getSoundIds(n),u=0;u=0?o=parseInt(r[0],10):e=parseFloat(r[0])}else 2===r.length&&(e=parseFloat(r[0]),o=parseInt(r[1],10));var i;if("number"!=typeof e)return i=t._soundById(o),i?i._rate:t._rate;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"rate",action:function(){t.rate.apply(t,r)}}),t;void 0===o&&(t._rate=e),o=t._getSoundIds(o);for(var d=0;d=0?o=parseInt(r[0],10):t._sounds.length&&(o=t._sounds[0]._id,e=parseFloat(r[0]))}else 2===r.length&&(e=parseFloat(r[0]),o=parseInt(r[1],10));if(void 0===o)return t;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"seek",action:function(){t.seek.apply(t,r)}}),t;var i=t._soundById(o);if(i){if(!("number"==typeof e&&e>=0)){if(t._webAudio){var d=t.playing(o)?n.ctx.currentTime-i._playStart:0,_=i._rateSeek?i._rateSeek-i._seek:0;return i._seek+(_+d*Math.abs(i._rate))}return i._node.currentTime}var s=t.playing(o);s&&t.pause(o,!0),i._seek=e,i._ended=!1,t._clearTimer(o),t._webAudio||!i._node||isNaN(i._node.duration)||(i._node.currentTime=e);var l=function(){t._emit("seek",o),s&&t.play(o,!0)};if(s&&!t._webAudio){var c=function(){t._playLock?setTimeout(c,0):l()};setTimeout(c,0)}else l()}return t},playing:function(e){var n=this;if("number"==typeof e){var o=n._soundById(e);return!!o&&!o._paused}for(var t=0;t=0&&n._howls.splice(a,1);var u=!0;for(t=0;t=0){u=!1;break}return r&&u&&delete r[e._src],n.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,n,o,t){var r=this,a=r["_on"+e];return"function"==typeof n&&a.push(t?{id:o,fn:n,once:t}:{id:o,fn:n}),r},off:function(e,n,o){var t=this,r=t["_on"+e],a=0;if("number"==typeof n&&(o=n,n=null),n||o)for(a=0;a=0;a--)r[a].id&&r[a].id!==n&&"load"!==e||(setTimeout(function(e){e.call(this,n,o)}.bind(t,r[a].fn),0),r[a].once&&t.off(e,r[a].fn,r[a].id));return t._loadQueue(e),t},_loadQueue:function(e){var n=this;if(n._queue.length>0){var o=n._queue[0];o.event===e&&(n._queue.shift(),n._loadQueue()),e||o.action()}return n},_ended:function(e){var o=this,t=e._sprite;if(!o._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime=0;t--){if(o<=n)return;e._sounds[t]._ended&&(e._webAudio&&e._sounds[t]._node&&e._sounds[t]._node.disconnect(0),e._sounds.splice(t,1),o--)}}},_getSoundIds:function(e){var n=this;if(void 0===e){for(var o=[],t=0;t=0;if(n._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),t))try{e.bufferSource.buffer=n._scratchBuffer}catch(e){}return e.bufferSource=null,o}};var t=function(e){this._parent=e,this.init()};t.prototype={init:function(){var e=this,o=e._parent;return e._muted=o._muted,e._loop=o._loop,e._volume=o._volume,e._rate=o._rate,e._seek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++n._counter,o._sounds.push(e),e.create(),e},create:function(){var e=this,o=e._parent,t=n._muted||e._muted||e._parent._muted?0:e._volume;return o._webAudio?(e._node=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),e._node.gain.setValueAtTime(t,n.ctx.currentTime),e._node.paused=!0,e._node.connect(n.masterGain)):(e._node=n._obtainHtml5Audio(),e._errorFn=e._errorListener.bind(e),e._node.addEventListener("error",e._errorFn,!1),e._loadFn=e._loadListener.bind(e),e._node.addEventListener(n._canPlayEvent,e._loadFn,!1),e._node.src=o._src,e._node.preload="auto",e._node.volume=t*n.volume(),e._node.load()),e},reset:function(){var e=this,o=e._parent;return e._muted=o._muted,e._loop=o._loop,e._volume=o._volume,e._rate=o._rate,e._seek=0,e._rateSeek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++n._counter,e},_errorListener:function(){var e=this;e._parent._emit("loaderror",e._id,e._node.error?e._node.error.code:0),e._node.removeEventListener("error",e._errorFn,!1)},_loadListener:function(){var e=this,o=e._parent;o._duration=Math.ceil(10*e._node.duration)/10,0===Object.keys(o._sprite).length&&(o._sprite={__default:[0,1e3*o._duration]}),"loaded"!==o._state&&(o._state="loaded",o._emit("load"),o._loadQueue()),e._node.removeEventListener(n._canPlayEvent,e._loadFn,!1)}};var r={},a=function(e){var n=e._src;if(r[n])return e._duration=r[n].duration,void d(e);if(/^data:[^;]+;base64,/.test(n)){for(var o=atob(n.split(",")[1]),t=new Uint8Array(o.length),a=0;a0?(r[o._src]=e,d(o,e)):t()};"undefined"!=typeof Promise&&1===n.ctx.decodeAudioData.length?n.ctx.decodeAudioData(e).then(a).catch(t):n.ctx.decodeAudioData(e,a,t)},d=function(e,n){n&&!e._duration&&(e._duration=n.duration),0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue())},_=function(){if(n.usingWebAudio){try{"undefined"!=typeof AudioContext?n.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch(e){n.usingWebAudio=!1}n.ctx||(n.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),o=n._navigator&&n._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),t=o?parseInt(o[1],10):null;if(e&&t&&t<9){var r=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());(n._navigator&&n._navigator.standalone&&!r||n._navigator&&!n._navigator.standalone&&!r)&&(n.usingWebAudio=!1)}n.usingWebAudio&&(n.masterGain=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),n.masterGain.gain.setValueAtTime(n._muted?0:1,n.ctx.currentTime),n.masterGain.connect(n.ctx.destination)),n._setup()}};"function"==typeof define&&define.amd&&define([],function(){return{Howler:n,Howl:o}}),"undefined"!=typeof exports&&(exports.Howler=n,exports.Howl=o),"undefined"!=typeof window?(window.HowlerGlobal=e,window.Howler=n,window.Howl=o,window.Sound=t):"undefined"!=typeof global&&(global.HowlerGlobal=e,global.Howler=n,global.Howl=o,global.Sound=t)}(); +/*! Spatial Plugin */ +!function(){"use strict";HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(e){var n=this;if(!n.ctx||!n.ctx.listener)return n;for(var t=n._howls.length-1;t>=0;t--)n._howls[t].stereo(e);return n},HowlerGlobal.prototype.pos=function(e,n,t){var r=this;return r.ctx&&r.ctx.listener?(n="number"!=typeof n?r._pos[1]:n,t="number"!=typeof t?r._pos[2]:t,"number"!=typeof e?r._pos:(r._pos=[e,n,t],void 0!==r.ctx.listener.positionX?(r.ctx.listener.positionX.setTargetAtTime(r._pos[0],Howler.ctx.currentTime,.1),r.ctx.listener.positionY.setTargetAtTime(r._pos[1],Howler.ctx.currentTime,.1),r.ctx.listener.positionZ.setTargetAtTime(r._pos[2],Howler.ctx.currentTime,.1)):r.ctx.listener.setPosition(r._pos[0],r._pos[1],r._pos[2]),r)):r},HowlerGlobal.prototype.orientation=function(e,n,t,r,o,i){var a=this;if(!a.ctx||!a.ctx.listener)return a;var s=a._orientation;return n="number"!=typeof n?s[1]:n,t="number"!=typeof t?s[2]:t,r="number"!=typeof r?s[3]:r,o="number"!=typeof o?s[4]:o,i="number"!=typeof i?s[5]:i,"number"!=typeof e?s:(a._orientation=[e,n,t,r,o,i],void 0!==a.ctx.listener.forwardX?(a.ctx.listener.forwardX.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.forwardY.setTargetAtTime(n,Howler.ctx.currentTime,.1),a.ctx.listener.forwardZ.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.upX.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.upY.setTargetAtTime(n,Howler.ctx.currentTime,.1),a.ctx.listener.upZ.setTargetAtTime(t,Howler.ctx.currentTime,.1)):a.ctx.listener.setOrientation(e,n,t,r,o,i),a)},Howl.prototype.init=function(e){return function(n){var t=this;return t._orientation=n.orientation||[1,0,0],t._stereo=n.stereo||null,t._pos=n.pos||null,t._pannerAttr={coneInnerAngle:void 0!==n.coneInnerAngle?n.coneInnerAngle:360,coneOuterAngle:void 0!==n.coneOuterAngle?n.coneOuterAngle:360,coneOuterGain:void 0!==n.coneOuterGain?n.coneOuterGain:0,distanceModel:void 0!==n.distanceModel?n.distanceModel:"inverse",maxDistance:void 0!==n.maxDistance?n.maxDistance:1e4,panningModel:void 0!==n.panningModel?n.panningModel:"HRTF",refDistance:void 0!==n.refDistance?n.refDistance:1,rolloffFactor:void 0!==n.rolloffFactor?n.rolloffFactor:1},t._onstereo=n.onstereo?[{fn:n.onstereo}]:[],t._onpos=n.onpos?[{fn:n.onpos}]:[],t._onorientation=n.onorientation?[{fn:n.onorientation}]:[],e.call(this,n)}}(Howl.prototype.init),Howl.prototype.stereo=function(n,t){var r=this;if(!r._webAudio)return r;if("loaded"!==r._state)return r._queue.push({event:"stereo",action:function(){r.stereo(n,t)}}),r;var o=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===t){if("number"!=typeof n)return r._stereo;r._stereo=n,r._pos=[n,0,0]}for(var i=r._getSoundIds(t),a=0;a+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0600)){n=e.fix(n,!0,t);if(i){n=n.replace(/url\(\s*?((?:"|')?)(.+?)\1\s*?\)/gi,function(e,t,n){return/^([a-z]{3,10}:|\/|#)/i.test(n)?e:'url("'+i+n+'")'});var r=i.replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,"\\$1");n=n.replace(RegExp("\\b(behavior:\\s*?url\\('?\"?)"+r,"gi"),"$1")}var u=document.createElement("style");u.textContent=n;u.media=t.media;u.disabled=t.disabled;u.setAttribute("data-href",t.getAttribute("href"));s.insertBefore(u,t);s.removeChild(t);u.media=t.media}};try{o.open("GET",r);o.send(null)}catch(n){if(typeof XDomainRequest!="undefined"){o=new XDomainRequest;o.onerror=o.onprogress=function(){};o.onload=u;o.open("GET",r);o.send(null)}}t.setAttribute("data-inprogress","")},styleElement:function(t){if(t.hasAttribute("data-noprefix"))return;var n=t.disabled;t.textContent=e.fix(t.textContent,!0,t);t.disabled=n},styleAttribute:function(t){var n=t.getAttribute("style");n=e.fix(n,!1,t);t.setAttribute("style",n)},process:function(){t('link[rel="stylesheet"]:not([data-inprogress])').forEach(StyleFix.link);t("style").forEach(StyleFix.styleElement);t("[style]").forEach(StyleFix.styleAttribute)},register:function(t,n){(e.fixers=e.fixers||[]).splice(n===undefined?e.fixers.length:n,0,t)},fix:function(t,n,r){for(var i=0;i-1&&(e=e.replace(/(\s|:|,)(repeating-)?linear-gradient\(\s*(-?\d*\.?\d*)deg/ig,function(e,t,n,r){return t+(n||"")+"linear-gradient("+(90-r)+"deg"}));e=t("functions","(\\s|:|,)","\\s*\\(","$1"+s+"$2(",e);e=t("keywords","(\\s|:)","(\\s|;|\\}|$)","$1"+s+"$2$3",e);e=t("properties","(^|\\{|\\s|;)","\\s*:","$1"+s+"$2:",e);if(n.properties.length){var o=RegExp("\\b("+n.properties.join("|")+")(?!:)","gi");e=t("valueProperties","\\b",":(.+?);",function(e){return e.replace(o,s+"$1")},e)}if(r){e=t("selectors","","\\b",n.prefixSelector,e);e=t("atrules","@","\\b","@"+s+"$1",e)}e=e.replace(RegExp("-"+s,"g"),"-");e=e.replace(/-\*-(?=[a-z]+)/gi,n.prefix);return e},property:function(e){return(n.properties.indexOf(e)?n.prefix:"")+e},value:function(e,r){e=t("functions","(^|\\s|,)","\\s*\\(","$1"+n.prefix+"$2(",e);e=t("keywords","(^|\\s)","(\\s|$)","$1"+n.prefix+"$2$3",e);return e},prefixSelector:function(e){return e.replace(/^:{1,2}/,function(e){return e+n.prefix})},prefixProperty:function(e,t){var r=n.prefix+e;return t?StyleFix.camelCase(r):r}};(function(){var e={},t=[],r={},i=getComputedStyle(document.documentElement,null),s=document.createElement("div").style,o=function(n){if(n.charAt(0)==="-"){t.push(n);var r=n.split("-"),i=r[1];e[i]=++e[i]||1;while(r.length>3){r.pop();var s=r.join("-");u(s)&&t.indexOf(s)===-1&&t.push(s)}}},u=function(e){return StyleFix.camelCase(e)in s};if(i.length>0)for(var a=0;a 10 && Math.random() < .5 ) { + + timeSinceLast = 0; + + lines.push( new Line( starter ) ); + + // cover the middle; + ctx.fillStyle = ctx.shadowColor = getColor( starter.x ); + ctx.beginPath(); + ctx.arc( starter.x, starter.y, initialWidth, 0, Math.PI * 2 ); + ctx.fill(); + } +} + +function Line( parent ) { + + this.x = parent.x | 0; + this.y = parent.y | 0; + this.width = parent.width / 1.25; + + do { + + var dir = dirs[ ( Math.random() * dirs.length ) |0 ]; + this.vx = dir[ 0 ]; + this.vy = dir[ 1 ]; + + } while ( + ( this.vx === -parent.vx && this.vy === -parent.vy ) || ( this.vx === parent.vx && this.vy === parent.vy) ); + + this.vx *= speed; + this.vy *= speed; + + this.dist = ( Math.random() * ( maxDist - minDist ) + minDist ); + +} +Line.prototype.step = function() { + + var dead = false; + + var prevX = this.x, + prevY = this.y; + + this.x += this.vx; + this.y += this.vy; + + --this.dist; + + // kill if out of screen + if( this.x < 0 || this.x > w || this.y < 0 || this.y > h ) + dead = true; + + // make children :D + if( this.dist <= 0 && this.width > 1 ) { + + // keep yo self, sometimes + this.dist = Math.random() * ( maxDist - minDist ) + minDist; + + // add 2 children + if( lines.length < maxLines ) lines.push( new Line( this ) ); + if( lines.length < maxLines && Math.random() < .5 ) lines.push( new Line( this ) ); + + // kill the poor thing + if( Math.random() < .2 ) dead = true; + } + + ctx.strokeStyle = ctx.shadowColor = getColor( this.x ); + ctx.beginPath(); + ctx.lineWidth = this.width; + ctx.moveTo( this.x, this.y ); + ctx.lineTo( prevX, prevY ); + ctx.stroke(); + + if( dead ) return true +} + +init(); +anim(); + +window.addEventListener( 'resize', function() { + + w = c.width = window.innerWidth; + h = c.height = window.innerHeight; + starter.x = w / 2; + starter.y = h / 2; + + init(); +} ) + diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/js/vue.min.js b/resources/[standalone]/rcore_tv/rcore_television/html/js/vue.min.js new file mode 100644 index 000000000..41094e008 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/js/vue.min.js @@ -0,0 +1,6 @@ +/*! + * Vue.js v2.6.12 + * (c) 2014-2020 Evan You + * Released under the MIT License. + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function k(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function A(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,Z=J&&J.indexOf("edge/")>0,G=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===K),X=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),Y={}.watch,Q=!1;if(z)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===B&&(B=!z&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),B},ne=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,oe="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);ie="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ae=S,se=0,ce=function(){this.id=se++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){h(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=Pe(String,i.type);(c<0||s0&&(st((u=e(u,(a||"")+"_"+c))[0])&&st(f)&&(s[l]=he(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?st(f)?s[l]=he(f.text+u):""!==u&&s.push(he(u)):st(u)&&st(f)?s[l]=he(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function st(e){return n(e)&&n(e.text)&&!1===e.isComment}function ct(e,t){if(e){for(var n=Object.create(null),r=oe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=pt(n,c,t[c]))}else i={};for(var u in n)u in i||(i[u]=dt(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),R(i,"$stable",a),R(i,"$key",s),R(i,"$hasNormal",o),i}function pt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:at(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function dt(e,t){return function(){return e[t]}}function vt(e,t){var r,i,a,s,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),i=0,a=e.length;idocument.createEvent("Event").timeStamp&&(sn=function(){return cn.now()})}function un(){var e,t;for(an=sn(),rn=!0,Qt.sort(function(e,t){return e.id-t.id}),on=0;onon&&Qt[n].id>e.id;)n--;Qt.splice(n+1,0,e)}else Qt.push(e);nn||(nn=!0,Ye(un))}}(this)},fn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Re(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:S,set:S};function dn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&$e(!1);var o=function(o){i.push(o);var a=Me(o,t,n,e);xe(r,o,a),o in e||dn(e,"_props",o)};for(var a in t)o(a);$e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){le();try{return e.call(t,t)}catch(e){return Re(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&dn(e,"_data",o))}var a;Ce(t,!0)}(e):Ce(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=te();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new fn(e,a||S,S,hn)),i in e||mn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function An(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=xn(a.componentOptions);s&&!t(s)&&On(n,o,r,i)}}}function On(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=bn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=De($n(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&qt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=ut(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return Pt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Pt(t,e,n,r,i,!0)};var o=r&&r.data;xe(t,"$attrs",o&&o.attrs||e,null,!0),xe(t,"$listeners",n._parentListeners||e,null,!0)}(n),Yt(n,"beforeCreate"),function(e){var t=ct(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach(function(n){xe(e,n,t[n])}),$e(!0))}(n),vn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),Yt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(wn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=ke,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(s(t))return _n(this,e,t,n);(n=n||{}).user=!0;var r=new fn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Re(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?k(t):t;for(var n=k(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&On(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:ae,extend:A,mergeOptions:De,defineReactive:xe},e.set=ke,e.delete=Ae,e.nextTick=Ye,e.observable=function(e){return Ce(e),e},e.options=Object.create(null),M.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,A(e.options.components,Tn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),Cn(e),function(e){M.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:te}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Tt}),wn.version="2.6.12";var En=p("style,class"),Nn=p("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Dn=p("contenteditable,draggable,spellcheck"),Ln=p("events,caret,typing,plaintext-only"),Mn=function(e,t){return Hn(t)||"false"===t?"false":"contenteditable"===e&&Ln(t)?t:"true"},In=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Fn="http://www.w3.org/1999/xlink",Pn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return Pn(e)?e.slice(6,e.length):""},Hn=function(e){return null==e||!1===e};function Bn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Un(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Un(t,r.data));return function(e,t){if(n(e)||n(t))return zn(e,Vn(t));return""}(t.staticClass,t.class)}function Un(e,t){return{staticClass:zn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function zn(e,t){return e?t?e+" "+t:e:t||""}function Vn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?hr(e,t,n):In(t)?Hn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Dn(t)?e.setAttribute(t,Mn(t,n)):Pn(t)?Hn(n)?e.removeAttributeNS(Fn,Rn(t)):e.setAttributeNS(Fn,t,n):hr(e,t,n)}function hr(e,t,n){if(Hn(n))e.removeAttribute(t);else{if(q&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var mr={create:dr,update:dr};function yr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Bn(r),c=i._transitionClasses;n(c)&&(s=zn(s,Vn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var gr,_r,br,$r,wr,Cr,xr={create:yr,update:yr},kr=/[\w).+\-_$\]]/;function Ar(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&kr.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,$r),key:'"'+e.slice($r+1)+'"'}:{exp:e,key:null};_r=e,$r=wr=Cr=0;for(;!zr();)Vr(br=Ur())?Jr(br):91===br&&Kr(br);return{exp:e.slice(0,wr),key:e.slice(wr+1,Cr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return _r.charCodeAt(++$r)}function zr(){return $r>=gr}function Vr(e){return 34===e||39===e}function Kr(e){var t=1;for(wr=$r;!zr();)if(Vr(e=Ur()))Jr(e);else if(91===e&&t++,93===e&&t--,0===t){Cr=$r;break}}function Jr(e){for(var t=e;!zr()&&(e=Ur())!==t;);}var qr,Wr="__r",Zr="__c";function Gr(e,t,n){var r=qr;return function i(){null!==t.apply(null,arguments)&&Qr(e,i,n,r)}}var Xr=Ve&&!(X&&Number(X[1])<=53);function Yr(e,t,n,r){if(Xr){var i=an,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}qr.addEventListener(e,t,Q?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||qr).removeEventListener(e,t._wrapper||t,n)}function ei(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};qr=r.elm,function(e){if(n(e[Wr])){var t=q?"change":"input";e[t]=[].concat(e[Wr],e[t]||[]),delete e[Wr]}n(e[Zr])&&(e.change=[].concat(e[Zr],e.change||[]),delete e[Zr])}(i),rt(i,o,Yr,Qr,Gr,r.context),qr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=A({},c)),s)i in c||(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i&&"PROGRESS"!==a.tagName){a._value=o;var u=t(o)?"":String(o);ii(a,u)&&(a.value=u)}else if("innerHTML"===i&&qn(a.tagName)&&t(a.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+o+"";for(var l=ti.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[i])try{a[i]=o}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var oi={create:ri,update:ri},ai=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function si(e){var t=ci(e.style);return e.staticStyle?A(e.staticStyle,t):t}function ci(e){return Array.isArray(e)?O(e):"string"==typeof e?ai(e):e}var ui,li=/^--/,fi=/\s*!important$/,pi=function(e,t,n){if(li.test(t))e.style.setProperty(t,n);else if(fi.test(n))e.style.setProperty(C(t),n.replace(fi,""),"important");else{var r=vi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(yi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function _i(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(yi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,$i(e.name||"v")),A(t,e),t}return"string"==typeof e?$i(e):void 0}}var $i=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),wi=z&&!W,Ci="transition",xi="animation",ki="transition",Ai="transitionend",Oi="animation",Si="animationend";wi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ki="WebkitTransition",Ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Si="webkitAnimationEnd"));var Ti=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ei(e){Ti(function(){Ti(e)})}function Ni(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gi(e,t))}function ji(e,t){e._transitionClasses&&h(e._transitionClasses,t),_i(e,t)}function Di(e,t,n){var r=Mi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ci?Ai:Si,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ci,l=a,f=o.length):t===xi?u>0&&(n=xi,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ci:xi:null)?n===Ci?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ci&&Li.test(r[ki+"Property"])}}function Ii(e,t){for(;e.length1}function Ui(e,t){!0!==t.data.show&&Pi(t)}var zi=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function k(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(N(Wi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function qi(e,t){return t.every(function(t){return!N(t,e)})}function Wi(e){return"_value"in e?e._value:e.value}function Zi(e){e.target.composing=!0}function Gi(e){e.target.composing&&(e.target.composing=!1,Xi(e.target,"input"))}function Xi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Yi(e){return!e.componentInstance||e.data&&e.data.transition?e:Yi(e.componentInstance._vnode)}var Qi={model:Vi,show:{bind:function(e,t,n){var r=t.value,i=(n=Yi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Pi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Yi(n)).data&&n.data.transition?(n.data.show=!0,r?Pi(n,function(){e.style.display=e.__vOriginalDisplay}):Ri(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},eo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function to(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?to(zt(t.children)):e}function no(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function ro(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var io=function(e){return e.tag||Ut(e)},oo=function(e){return"show"===e.name},ao={name:"transition",props:eo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(io)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=to(o);if(!a)return o;if(this._leaving)return ro(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=no(this),u=this._vnode,l=to(u);if(a.data.directives&&a.data.directives.some(oo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!Ut(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=A({},c);if("out-in"===r)return this._leaving=!0,it(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ro(e,o);if("in-out"===r){if(Ut(a))return u;var p,d=function(){p()};it(c,"afterEnter",d),it(c,"enterCancelled",d),it(f,"delayLeave",function(e){p=e})}}return o}}},so=A({tag:String,moveClass:String},eo);function co(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function uo(e){e.data.newPos=e.elm.getBoundingClientRect()}function lo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete so.mode;var fo={Transition:ao,TransitionGroup:{props:so,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Zt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=no(this),s=0;s-1?Gn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Gn[e]=/HTMLUnknownElement/.test(t.toString())},A(wn.options.directives,Qi),A(wn.options.components,fo),wn.prototype.__patch__=z?zi:S,wn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ve),Yt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new fn(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&Yt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Yt(e,"mounted")),e}(this,e=e&&z?Yn(e):void 0,t)},z&&setTimeout(function(){F.devtools&&ne&&ne.emit("init",wn)},0);var po=/\{\{((?:.|\r?\n)+?)\}\}/g,vo=/[-.*+?^${}()|[\]\/\\]/g,ho=g(function(e){var t=e[0].replace(vo,"\\$&"),n=e[1].replace(vo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var mo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Fr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ir(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var yo,go={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Fr(e,"style");n&&(e.staticStyle=JSON.stringify(ai(n)));var r=Ir(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},_o=function(e){return(yo=yo||document.createElement("div")).innerHTML=e,yo.textContent},bo=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),$o=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),wo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Co=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,xo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+P.source+"]*",Ao="((?:"+ko+"\\:)?"+ko+")",Oo=new RegExp("^<"+Ao),So=/^\s*(\/?)>/,To=new RegExp("^<\\/"+Ao+"[^>]*>"),Eo=/^]+>/i,No=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Io=/&(?:lt|gt|quot|amp|#39);/g,Fo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Po=p("pre,textarea",!0),Ro=function(e,t){return e&&Po(e)&&"\n"===t[0]};function Ho(e,t){var n=t?Fo:Io;return e.replace(n,function(e){return Mo[e]})}var Bo,Uo,zo,Vo,Ko,Jo,qo,Wo,Zo=/^@|^v-on:/,Go=/^v-|^@|^:|^#/,Xo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qo=/^\(|\)$/g,ea=/^\[.*\]$/,ta=/:(.*)$/,na=/^:|^\.|^v-bind:/,ra=/\.[^.\]]+(?=[^\]]*$)/g,ia=/^v-slot(:|$)|^#/,oa=/[\r\n]/,aa=/\s+/g,sa=g(_o),ca="_empty_";function ua(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ma(t),rawAttrsMap:{},parent:n,children:[]}}function la(e,t){Bo=t.warn||Sr,Jo=t.isPreTag||T,qo=t.mustUseProp||T,Wo=t.getTagNamespace||T;t.isReservedTag;zo=Tr(t.modules,"transformNode"),Vo=Tr(t.modules,"preTransformNode"),Ko=Tr(t.modules,"postTransformNode"),Uo=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=fa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&da(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&da(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Jo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,Do(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ro(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,A(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(No.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(jo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Eo);if(m){C(m[0].length);continue}var y=e.match(To);if(y){var g=c;C(y[0].length),A(y[1],g,c);continue}var _=x();if(_){k(_),Ro(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(To.test($)||Oo.test($)||No.test($)||jo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(Oo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(So))&&(r=e.match(xo)||e.match(Co));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&wo(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}A()}(e,{warn:Bo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=r&&r.ns||Wo(e);q&&"svg"===p&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Ar(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Mr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Br(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Br(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Br(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ir(e,"value")||"null";Er(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Mr(e,"change",Br(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Wr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Br(t,l);c&&(f="if($event.target.composing)return;"+f),Er(e,"value","("+t+")"),Mr(e,u,f,null,!0),(s||a)&&Mr(e,"blur","$forceUpdate()")}(e,r,i);else if(!F.isReservedTag(o))return Hr(e,r,i),!1;return!0},text:function(e,t){t.value&&Er(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Er(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:bo,mustUseProp:jn,canBeLeftOpenTag:$o,isReservedTag:Wn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(ba)},xa=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function ka(e,t){e&&($a=xa(t.staticKeys||""),wa=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!wa(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every($a)))}(t);if(1===t.type){if(!wa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Oa=/\([^)]*?\);*$/,Sa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ea={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Na=function(e){return"if("+e+")return null;"},ja={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Na("$event.target !== $event.currentTarget"),ctrl:Na("!$event.ctrlKey"),shift:Na("!$event.shiftKey"),alt:Na("!$event.altKey"),meta:Na("!$event.metaKey"),left:Na("'button' in $event && $event.button !== 0"),middle:Na("'button' in $event && $event.button !== 1"),right:Na("'button' in $event && $event.button !== 2")};function Da(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=La(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function La(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return La(e)}).join(",")+"]";var t=Sa.test(e.value),n=Aa.test(e.value),r=Sa.test(e.value.replace(Oa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ja[s])o+=ja[s],Ta[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Na(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ma).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ma(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ta[e],r=Ea[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ia={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Fa=function(e){this.options=e,this.warn=e.warn||Sr,this.transforms=Tr(e.modules,"transformCode"),this.dataGenFns=Tr(e.modules,"genData"),this.directives=A(A({},Ia),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Pa(e,t){var n=new Fa(t);return{render:"with(this){return "+(e?Ra(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ra(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ha(e,t);if(e.once&&!e.onceProcessed)return Ba(e,t);if(e.for&&!e.forProcessed)return za(e,t);if(e.if&&!e.ifProcessed)return Ua(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=qa(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ga((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:b(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:qa(t,n,!0);return"_c("+e+","+Va(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Va(e,t));var i=e.inlineTemplate?null:qa(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Pa(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ga(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ka(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ka))}function Ja(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ua(e,t,Ja,"null");if(e.for&&!e.forProcessed)return za(e,t,Ja);var r=e.slotScope===ca?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(qa(e,t)||"undefined")+":undefined":qa(e,t)||"undefined":Ra(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function qa(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ra)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',ts.innerHTML.indexOf(" ")>0}var os=!!z&&is(!1),as=!!z&&is(!0),ss=g(function(e){var t=Yn(e);return t&&t.innerHTML}),cs=wn.prototype.$mount;return wn.prototype.$mount=function(e,t){if((e=e&&Yn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ss(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=rs(r,{outputSourceRange:!1,shouldDecodeNewlines:os,shouldDecodeNewlinesForHref:as,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return cs.call(this,e,t)},wn.compile=rs,wn}); \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/loaded.html b/resources/[standalone]/rcore_tv/rcore_television/html/loaded.html new file mode 100644 index 000000000..8e21580e6 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/loaded.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/menu/css/img/bg.jpg b/resources/[standalone]/rcore_tv/rcore_television/html/menu/css/img/bg.jpg new file mode 100644 index 000000000..df15e2eae Binary files /dev/null and b/resources/[standalone]/rcore_tv/rcore_television/html/menu/css/img/bg.jpg differ diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/menu/css/tv-menu.css b/resources/[standalone]/rcore_tv/rcore_television/html/menu/css/tv-menu.css new file mode 100644 index 000000000..1faeaa294 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/menu/css/tv-menu.css @@ -0,0 +1,161 @@ +#blackscreen{ + background: black; + position: absolute; + height: 100%; + width: 100%; + top: 0; + left: 0; + z-index: 999999; +} + +.bounce-enter-active { + animation: bounce-in 0.5s; +} + +@keyframes bounce-in { + 0% { + transform: scale(0); + } + 50% { + transform: scale(1.10); + } + 100% { + transform: scale(1); + } +} + +#offButton{ + font-size: 32px; + position: absolute; + top: 6px; + right: 52px; +} + +#off{ + background: aliceblue; + position: absolute; + height: 50px; + width: 70px; + position: absolute; + top: 0; + right: 0; + z-index: 100; +} + +#circle{ + height: 75px; + width: 75px; + background-color: aliceblue; + border-radius: 50%; + display: inline-block; + position: absolute; + top: -25px; + right: 32px; +} + +body { + background-image: url(./img/bg.jpg); + background-size: cover; + overflow: hidden; +} + +#icon-size{ + font-size: 47px; + padding: unset; + padding-bottom: 40px; + padding-top: 22px; +} + +@media screen and (max-width: 768px) { + #menu { + max-height: 43vw; + max-width: 60vw; + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + margin: auto; + height: 100%; + width: 100%; + } +} +@media screen and (min-width: 768px) { + #menu{ + max-height: 43vw; + max-width: 76vw; + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + margin: auto; + height: 100%; + width: 100%; + } +} + +@media screen and (max-width: 768px) { + .text { + font-family: Montserrat, sans-serif; + text-overflow: ellipsis; + position: relative; + justify-content: center; + align-items: center; + font-size: 25px; + } +} + +@media screen and (min-width: 768px) { + .text{ + font-family: Montserrat, sans-serif; + height: 95px; + text-overflow: ellipsis; + font-size: 39px; + position: relative; + bottom: 83px; + width: 419px; + left: 26px; + display: flex; + justify-content: center; + align-items: center; + } +} + +.box.active { + z-index: 999 !important; + border-radius: 17px; + background: #e0eefb; + transform: scale(1.25); + box-shadow: 1px 7px 63px 0px #000000; +} + +@media screen and (min-width: 768px) { + .box{ + transition-duration: 500ms; + background: aliceblue; + max-height: 160px; + max-width: 467px; + float: left; + margin: 8px; + text-align: center; + height: 100%; + width: 100%; + z-index: 9 !imporant; + } +} +@media screen and (max-width: 768px) { + .box { + transition-duration: 500ms; + background: aliceblue; + float: left; + margin: 8px; + text-align: center; + width: 100%; + z-index: 9 !imporant; + } + + #icon-size{ + display: none; + } +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/menu/menu.html b/resources/[standalone]/rcore_tv/rcore_television/html/menu/menu.html new file mode 100644 index 000000000..4e787c3e3 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/menu/menu.html @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + +
+
+
+ + + + + + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/menu/script.js b/resources/[standalone]/rcore_tv/rcore_television/html/menu/script.js new file mode 100644 index 000000000..93a1de27a --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/menu/script.js @@ -0,0 +1,51 @@ +$("#blackscreen").fadeOut(1500); + +var VueJS = new Vue({ + el: '#menu', + data: + { + menuItems: [], + }, +}) + +$(document).ready(function(){ + $.post('http://rcore_television/loaded', JSON.stringify({ + isMenu: true, + })); + window.addEventListener('message', function(event) { + var data = event.data; + + if(data.type === "reset"){ + VueJS.menuItems = []; + } + + if(data.type === "rcore_tv_change"){ + for(var i = 0; i < VueJS.menuItems.length; i ++) VueJS.menuItems[i].active = false; + for(var i = 0; i < VueJS.menuItems.length; i ++){ + var menuData = VueJS.menuItems[i] + if(menuData.index == data.selected){ + VueJS.menuItems[i].active = true; + break; + } + } + } + if(data.type === "rcore_tv_add_tv"){ + VueJS.menuItems.push({ + active: false, + icon: data.icon, + title: data.title, + index: data.index, + }); + } + + if(data.type === "active_first"){ + for(var i = 0; i < VueJS.menuItems.length; i ++){ + var menuData = VueJS.menuItems[i] + if(menuData.index == 1){ + VueJS.menuItems[i].active = true; + break; + } + } + } + }); +}); diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/off.html b/resources/[standalone]/rcore_tv/rcore_television/html/off.html new file mode 100644 index 000000000..a4d34dce1 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/off.html @@ -0,0 +1,75 @@ + + + + + + + + + Welcome traveler, hope you like this file. :) Here, have a cookie to your journey! + + + + + + + + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/bilibili/index.html b/resources/[standalone]/rcore_tv/rcore_television/html/support/bilibili/index.html new file mode 100644 index 000000000..05a400807 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/bilibili/index.html @@ -0,0 +1,82 @@ + + + + + + + + + rcore_television douyin support + + + + + + + diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/douyin/index.html b/resources/[standalone]/rcore_tv/rcore_television/html/support/douyin/index.html new file mode 100644 index 000000000..0416bca12 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/douyin/index.html @@ -0,0 +1,77 @@ + + + + + + + + + rcore_television douyin support + + + + + + + diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/music/css.css b/resources/[standalone]/rcore_tv/rcore_television/html/support/music/css.css new file mode 100644 index 000000000..9a535e846 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/music/css.css @@ -0,0 +1,26 @@ +.centered { + position: absolute; + top:275px; + bottom: 0; + left: 68px; + right: 0; + margin: auto; + width: 100%; + height: 100%; + + max-width: 950px; + max-height: 370px; +} + +#black iframe{ + width: 100%; + height: 100%; +} + +canvas { + + position: absolute; + top: 0; + left: 0; + background-color: black; +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/music/index.html b/resources/[standalone]/rcore_tv/rcore_television/html/support/music/index.html new file mode 100644 index 000000000..5b3b56518 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/music/index.html @@ -0,0 +1,48 @@ + + + + + + + + + + rcore_television audio support + + +
+ +
+ + + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/other/css.css b/resources/[standalone]/rcore_tv/rcore_television/html/support/other/css.css new file mode 100644 index 000000000..3a44e702e --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/other/css.css @@ -0,0 +1,22 @@ +body { + background: black; +} + +.centered { + position: absolute; + top:275px; + bottom: 0; + left: 68px; + right: 0; + margin: auto; + width: 100%; + height: 100%; + + max-width: 950px; + max-height: 370px; +} + +#black iframe{ + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/other/index.html b/resources/[standalone]/rcore_tv/rcore_television/html/support/other/index.html new file mode 100644 index 000000000..7f48c8c58 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/other/index.html @@ -0,0 +1,23 @@ + + + + + + + + rcore_television other support + + +
+ +
+ + + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/readme.md b/resources/[standalone]/rcore_tv/rcore_television/html/support/readme.md new file mode 100644 index 000000000..d3ec0b640 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/readme.md @@ -0,0 +1,23 @@ +### Function list + +------------ + +- getQueryParams() will return array list + ``` +url +volume +time + ``` + +- Usage: + + ```javascript +var result = getQueryParams(); +alert(result.url); + ``` +
+ +- updateFrame()
Will update the container to the resolution of TV from config
+it is important to always call it or the TV might be too big to fit the screen. + +------------ \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/twitch/css.css b/resources/[standalone]/rcore_tv/rcore_television/html/support/twitch/css.css new file mode 100644 index 000000000..a6b62ce7b --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/twitch/css.css @@ -0,0 +1,27 @@ +body{ + background-color: black; +} + +video{ + height: 100%; + width: 100%; +} + +.centered { + position: absolute; + top:275px; + bottom: 0; + left: 68px; + right: 0; + margin: auto; + width: 100%; + height: 100%; + + max-width: 950px; + max-height: 370px; +} + +#black iframe{ + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/twitch/index.html b/resources/[standalone]/rcore_tv/rcore_television/html/support/twitch/index.html new file mode 100644 index 000000000..d12624d88 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/twitch/index.html @@ -0,0 +1,32 @@ + + + + + + + + + rcore_television twitch support + + +
+ +
+ + + + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/video/css.css b/resources/[standalone]/rcore_tv/rcore_television/html/support/video/css.css new file mode 100644 index 000000000..b28ab7e10 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/video/css.css @@ -0,0 +1,59 @@ +body{ + background-color: black; +} + +#main-video { + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; + z-index: 100; +} + +#blurred-video { + left: 50%; + position: absolute; + top: 50%; + transform: translate(-50%, -50%); + filter: blur(15px); + width: 100%; +} + +.centered { + position: absolute; + top:275px; + bottom: 0; + left: 68px; + right: 0; + margin: auto; + width: 100%; + height: 100%; + + max-width: 950px; + max-height: 370px; +} + +#black iframe{ + width: 100%; + height: 100%; +} + +::-webkit-scrollbar { + display: none; +} + +video::-webkit-media-controls { + display: none; +} + +/* Could Use thise as well for Individual Controls */ +video::-webkit-media-controls-play-button {} + +video::-webkit-media-controls-volume-slider {} + +video::-webkit-media-controls-mute-button {} + +video::-webkit-media-controls-timeline {} + +video::-webkit-media-controls-current-time-display {} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/video/index.html b/resources/[standalone]/rcore_tv/rcore_television/html/support/video/index.html new file mode 100644 index 000000000..49bc7cb5f --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/video/index.html @@ -0,0 +1,65 @@ + + + + + + + + rcore_television video support + + +
+ + +
+ + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/css.css b/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/css.css new file mode 100644 index 000000000..11c4865b0 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/css.css @@ -0,0 +1,19 @@ +body{ + background-color: black; +} + +.centered { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + width: -webkit-fill-available; + height: -webkit-fill-available; + overflow: hidden; +} + +#black iframe{ + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/index.html b/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/index.html new file mode 100644 index 000000000..ca6cca5eb --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/index.html @@ -0,0 +1,53 @@ + + + + + + + + + + + rcore_television youtube support + + + + + + + \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/yt-player.js b/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/yt-player.js new file mode 100644 index 000000000..6d491094f --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/html/support/youtube/yt-player.js @@ -0,0 +1,31 @@ +var yPlayer = null; + +function callMe(vol, time){ + yPlayer.setVolume(vol); + yPlayer.playVideo(); + yPlayer.seekTo(time); + setTimeout(UpdatVolume, 100); + yPlayer.setVolume(0); +} + +function getYoutubeUrlId(url) +{ + var videoId = ""; + if( url.indexOf("youtube") !== -1 ){ + var urlParts = url.split("?v="); + videoId = urlParts[1].substring(0,11); + } + + if( url.indexOf("youtu.be") !== -1 ){ + var urlParts = url.replace("//", "").split("/"); + videoId = urlParts[1].substring(0,11); + } + return videoId; +} + +function UpdatVolume(){ + if(yPlayer){ + yPlayer.setVolume(GetNewVolume() * 100); + } + setTimeout(UpdatVolume, 100); +} \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/locales/en.lua b/resources/[standalone]/rcore_tv/rcore_television/locales/en.lua new file mode 100644 index 000000000..630f8a1c3 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/locales/en.lua @@ -0,0 +1,38 @@ +Locales = { + ["help"] = "Television help\n", + + ["tv_help_line_2"] = "Use keys ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to switch default TV program\n", + ["tv_help_line_3"] = "To start selected program press ~INPUT_CELLPHONE_SELECT~\n", + ["tv_help_line_4"] = "To end current program press ~INPUT_DIVE~\n\n", + ["tv_help_line_5"] = "To play custom video use command ~g~/playlink~w~\n\n", + ["tv_help_line_6"] = "To change TV volume use command ~g~/tvvolume~w~\n", + + ["volume_changed"] = "You updated prefer TV volume to: %s", + ["tvstation_changed"] = "You changed TV station to: %s", + + ["volume_invalid"] = "The volume has to be between 0-100", + ["argument_has_to_be_number"] = "The volume has to be a number!", + + ["volume_info"] = "Will set a new volume for TV", + ["volume_argument"] = "volume", + + ["playlink_info"] = "Will play a custom URL in the TV.", + ["play_url_info"] = "Your URL for website", + + ["switch_to_menu"] = "Push ~INPUT_COVER~ button to open television menu", + + ["doesnt_have_remote"] = "You will need this/these item %s to open the TV!", + + ["cant_play_video"] = "You need to be in a TV menu to play video!", + + ["link_isnt_whitelisted"] = "You cant use this link ! It is not whitelisted!", + ["blacklisted_link"] = "This link is blacklisted! Use other one please.", + + ["stopped_program"] = "You stopped the current TV program", + + ["not_vip"] = "You're not VIP to use a television!", + + ["target_label"] = "Open the TV", + ["target_icon"] = "fas fa-gamepad", + ["target_targeticon"] = "fas fa-gamepad", +} diff --git a/resources/[standalone]/rcore_tv/rcore_television/server/server.lua b/resources/[standalone]/rcore_tv/rcore_television/server/server.lua new file mode 100644 index 000000000..572810dbd --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/server/server.lua @@ -0,0 +1,279 @@ +ESX = nil +QBCore = nil + +if Config.FrameWork == 1 then + ESX = GetEsxObject() +end + +if Config.FrameWork == 2 then + QBCore = Config.GetQBCoreObject() +end + +--- Will send a print when debug is enabled +--- @param ... object +function Debug(...) + if Config.Debug then + print(...) + end +end + +TelevisionCache = {} +PlayerBucketCache = {} + +RegisterNetEvent("rcore_television:stopTelevisionAtCoords", function(coords) + if not source then + print("Event: \"rcore_television:stopTelevisionAtCoords\" has to be called from client side only!") + end + + local playerBucket = GetPlayerRoutingBucket(source) + + if not TelevisionCache[playerBucket] then + TelevisionCache[playerBucket] = {} + end + + for k, v in pairs(TelevisionCache[playerBucket]) do + if #(v.tvPos - coords) < 1.5 then + table.remove(TelevisionCache[playerBucket], k) + TriggerClientEvent("rcore_television:stopTelevisionAtCoords", -1, coords) + break + end + end +end) + +RegisterNetEvent("rcore_television:fetchCache", function() + local playerBucket = GetPlayerRoutingBucket(source) + + if not TelevisionCache[playerBucket] then + TelevisionCache[playerBucket] = {} + end + + TriggerClientEvent("rcore_television:fetchCache", source, TelevisionCache[playerBucket]) +end) + +-- adding time thread +CreateThread(function() + while true do + Wait(1000) + for _, val in pairs(TelevisionCache) do + for _, v in pairs(val) do + if v.time then + v.time = v.time + 1 + end + end + end + end +end) + +-- updating bucket thread +CreateThread(function() + while true do + Wait(500) + for k, v in pairs(GetPlayers()) do + Wait(2) + local bucketID = GetPlayerRoutingBucket(k) + if PlayerBucketCache[k] ~= bucketID then + PlayerBucketCache[k] = bucketID + TriggerClientEvent(TriggerName("UpdatePlayerBucketID"), k, bucketID) + Debug("Updating player bucket ID cache", bucketID, "player ID", k) + end + end + end +end) + +RegisterNetEvent("rcore_television:AddTelevisionToCache", function(data) + if not source then + print("Event: \"rcore_television:AddTelevisionToCache\" has to be called from client side only!") + end + + local found = false + local key + local playerBucket = GetPlayerRoutingBucket(source) + + if not TelevisionCache[playerBucket] then + TelevisionCache[playerBucket] = {} + end + + for k, v in pairs(TelevisionCache[playerBucket]) do + if data.NetID then + if v.NetID == data.NetID then + found = true + key = k + break + end + end + if #(v.tvPos - data.tvPos) < 1.5 then + found = true + key = k + break + end + end + + if not found then + table.insert(TelevisionCache[playerBucket], data) + TriggerClientEvent("rcore_television:AddTelevisionToCache", -1, data) + else + TelevisionCache[playerBucket][key].URL = data.URL + TelevisionCache[playerBucket][key].time = 0 + + TriggerClientEvent("rcore_television:UpdateTelevisionCache", -1, key, TelevisionCache[playerBucket][key]) + end +end) + +registerCallback(TriggerName("DoesPlayerHaveCertain"), function(source, cb, items) + if Config.FrameWork == 1 then + local xPlayer = ESX.GetPlayerFromId(source) + for k, v in pairs(items) do + local item = xPlayer.getInventoryItem(v) + if item then + if item.count ~= 0 then + cb(true) + return + end + end + end + cb(false) + end + if Config.FrameWork == 2 then + local qbPlayer = QBCore.Functions.GetPlayer(source) + for k, v in pairs(items) do + if qbPlayer.Functions.GetItemByName(v) then + cb(true) + return + end + end + cb(false) + end +end) + +local SharedGroups = {} +if Config.Framework ~= 2 then + SharedGroups = { + "user", "mod", "moderator", "help", "helper", "admin", "superadmin", "god", + } +else + SharedGroups = QBCore.Config.Server.Permissions +end + +for k, v in pairs(SharedGroups) do + ExecuteCommand(("add_ace qbcore.%s rcore_perm.%s allow"):format(v, v)) + ExecuteCommand(("add_ace group.%s rcore_perm.%s allow"):format(v, v)) +end + +local grantedPermission = {} +function IsPlayerInGroup(source, groups, acePermission) + if grantedPermission[source] then + return true + end + + if acePermission then + if IsPlayerAceAllowed(source, acePermission) then + return true + end + end + + if Config.FrameWork == 2 then + for k, v in pairs(groups) do + if IsPlayerAceAllowed(source, "rcore_perm." .. v) then + return true + end + end + end + + if Config.FrameWork == 1 then + local xPlayer = ESX.GetPlayerFromId(source) + if xPlayer then + for k, v in pairs(groups) do + if xPlayer.getPermissions then + if Config.PermissionGroup.ESX[1][xPlayer.getPermissions()] then + return true + end + end + if xPlayer.getGroup then + if Config.PermissionGroup.ESX[2][xPlayer.getGroup()] then + return true + end + end + end + end + end + return false +end + +registerCallback(TriggerName("hasPermission"), function(source, cb, groups, acePermission) + cb(IsPlayerInGroup(source, groups, acePermission)) +end) + +CreateThread(function() + local deepCopy = function(object) + local lookup_table = {} + local function _copy(object) + if type(object) ~= "table" then + return object + elseif lookup_table[object] then + return lookup_table[object] + end + local new_table = {} + lookup_table[object] = new_table + for index, value in pairs(object) do + new_table[_copy(index)] = _copy(value) + end + return setmetatable(new_table, getmetatable(object)) + end + return _copy(object) + end + + local permissionGroup = deepCopy(Config.PermissionGroup) + for framework, v in pairs(permissionGroup) do + for index, _v in pairs(v) do + for key, permissions in pairs(_v) do + Config.PermissionGroup[framework][index][key] = nil + Config.PermissionGroup[framework][index][permissions] = true + end + end + end +end) + +RegisterCommand('tvgrantpermission', function(source, args, user) + if source ~= 0 then + TriggerClientEvent('chat:addMessage', source, { args = { "This command can be used ONLY in console! The 'Live Console' in txadmin panel." } }) + return + end + + if args[1] == nil then + print("Please use command: /tvgrantpermission [player ID] | Example: /tvgrantpermission 7") + return + end + + local sourceNumber = tonumber(args[1]) + + if not sourceNumber then + print("The player ID has to be number!") + return + end + + if grantedPermission[sourceNumber] ~= nil then + print("This player has already temporary permission!") + return + end + + grantedPermission[sourceNumber] = true + print("You granted temporary permission to the user with server ID: ", sourceNumber, "The permission last 30 minutes") + Wait(1000 * 60 * 30) + + grantedPermission[sourceNumber] = nil +end) + +RegisterCommand("televisionversion", function(source, args, rawCommand) + local frameworks = { [0] = "standlone", [1] = "esx", [2] = "qb-core" } + local detection = { [1] = "Raycast", [2] = "GetClosestObject" } + + print("^3") + print("rcore_television") + + print(string.format("^7framework: ^3%s", frameworks[Config.FrameWork])) + print(string.format("^7detection type: ^3%s", detection[Config.DetectorType])) + print(string.format("^7version: ^3%s", GetResourceMetadata(GetCurrentResourceName(), "version"))) + + print("https://documentation.rcore.cz/paid-resources/rcore_television") + print("^7") +end, false) \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/rcore_television/utils/client.lua b/resources/[standalone]/rcore_tv/rcore_television/utils/client.lua new file mode 100644 index 000000000..ab6770a1e --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/utils/client.lua @@ -0,0 +1,150 @@ +------------------------------------------------------------------ +-- Need to be changed to your framework, for now default is ESX -- +------------------------------------------------------------------ +if Config.FrameWork == 1 then + local PlayerData = {} + ESX = GetEsxObject() + + CreateThread(function() + if ESX then + if ESX.IsPlayerLoaded() then + PlayerData = ESX.GetPlayerData() + end + end + end) + + RegisterNetEvent(Config.EsxPlayerLoaded or 'esx:playerLoaded', function(xPlayer) + PlayerData = xPlayer + end) + + RegisterNetEvent(Config.EsxSetJob or 'esx:setJob', function(job) + PlayerData.job = job + end) + + function IsAtJob(name, grade) + if not PlayerData or not PlayerData.job then + print("ERROR", "the job for ESX is nil value please check if your events are correct.") + return true + end + + if grade and grade == "*" and PlayerData.job.name == name then + return true + end + if grade then + return PlayerData.job.name == name and PlayerData.job.grade_name == grade + end + return PlayerData.job.name == name + end +end + +if Config.FrameWork == 2 then + local PlayerData = {} + local QBCore + function UpdatePlayerDataForQBCore() + local pData = QBCore.Functions.GetPlayerData() + + local jobName = "none" + local gradeName = "none" + + if pData.job then + jobName = pData.job.name or "none" + + if pData.job.grade then + gradeName = pData.job.grade.name + end + end + + PlayerData = { + job = { + name = jobName, + grade_name = gradeName, + } + } + end + + CreateThread(function() + QBCore = Config.GetQBCoreObject() + + if QBCore and QBCore.Functions.GetPlayerData() then + UpdatePlayerDataForQBCore() + end + end) + + -- Will load player job + update markers + RegisterNetEvent(Config.OnPlayerLoaded, function() + UpdatePlayerDataForQBCore() + end) + + -- Will load player job + update markers + RegisterNetEvent(Config.OnJobUpdate, function() + UpdatePlayerDataForQBCore() + end) + + function IsAtJob(name, grade) + if not PlayerData or not PlayerData.job then + print("ERROR", "the job for QBcore is nil value please check if your events are correct.") + return true + end + + if grade and grade == "*" and PlayerData.job.name == name then + return true + end + if grade then + return PlayerData.job.name == name and PlayerData.job.grade_name == grade + end + return PlayerData.job.name == name + end +end + +if Config.FrameWork == 0 then + function IsAtJob(name, grade) + return true + end +end +------------------------ +-- Optional to change -- +------------------------ +-- This will allow to open any TV if true, other players wont be able to interact but will albe to see +-- what is playing on TVscreen +function CustomPermission() + return true +end + +function showNotification(text) + SetNotificationTextEntry('STRING') + AddTextComponentString(text) + DrawNotification(0, 1) +end + +RegisterNetEvent('rcore_tv:notification') +AddEventHandler('rcore_tv:notification', showNotification) + +--- call callback + +---TAKEN FROM rcore framework +---https://githu.com/Isigar/relisoft_core +---https://docs.rcore.cz + +local clientCallbacks = {} +local currentRequest = 0 + +function callCallback(name, cb, ...) + clientCallbacks[currentRequest] = cb + TriggerServerEvent(TriggerName('callCallback'), name, currentRequest, ...) + + if currentRequest < 65535 then + currentRequest = currentRequest + 1 + else + currentRequest = 0 + end +end + +exports('callCallback', callCallback) + +RegisterNetEvent(TriggerName('callback')) +AddEventHandler(TriggerName('callback'), function(requestId, ...) + if clientCallbacks[requestId] == nil then + return + end + clientCallbacks[requestId](...) +end) diff --git a/resources/[standalone]/rcore_tv/rcore_television/utils/server.lua b/resources/[standalone]/rcore_tv/rcore_television/utils/server.lua new file mode 100644 index 000000000..ed1bae9ad --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/utils/server.lua @@ -0,0 +1,65 @@ +------------------------------------------------------------------ +-- Need to be changed to your framework, for now default is ESX -- +------------------------------------------------------------------ +ESX = nil +QBCore = nil + +if Config.FrameWork == 1 then + ESX = GetEsxObject() +end + +if Config.FrameWork == 2 then + QBCore = Config.GetQBCoreObject() +end + + +function HavePlayerControler(source, itemName) + if Config.FrameWork == 1 then + local sourceItem = ESX.GetPlayerFromId(source).getInventoryItem(itemName) + return (sourceItem ~= nil and sourceItem.count ~= 0) + end + if Config.FrameWork == 2 then + local qbPlayer = QBCore.Functions.GetPlayer(source) + local item = qbPlayer.Functions.GetItemByName(itemName) or {} + local ItemInfo = { + name = itemName, + count = item.amount or 0, + label = item.label or "none", + weight = item.weight or 0, + usable = item.useable or false, + rare = false, + canRemove = false, + } + + return ItemInfo.count ~= 0 + end + return true +end + + +--- call callback +---TAKEN FROM rcore framework +---https://githu.com/Isigar/relisoft_core +---https://docs.rcore.cz +local serverCallbacks = {} +local callbacksRequestsHistory = {} + +function registerCallback(cbName, callback) + serverCallbacks[cbName] = callback +end + +RegisterNetEvent(TriggerName('callCallback')) +AddEventHandler(TriggerName('callCallback'), function(name, requestId, ...) + local source = source + if serverCallbacks[name] == nil then + return + end + callbacksRequestsHistory[requestId] = { + name = name, + source = source, + } + local call = serverCallbacks[name] + call(source, function(...) + TriggerClientEvent(TriggerName('callback'), source, requestId, ...) + end, ...) +end) diff --git a/resources/[standalone]/rcore_tv/rcore_television/utils/shared.lua b/resources/[standalone]/rcore_tv/rcore_television/utils/shared.lua new file mode 100644 index 000000000..1d6816879 --- /dev/null +++ b/resources/[standalone]/rcore_tv/rcore_television/utils/shared.lua @@ -0,0 +1,241 @@ +function GetEsxObject() + local promise_ = promise:new() + local obj + xpcall(function() + obj = exports['es_extended']['getSharedObject']() + promise_:resolve(obj) + end, function(error) + TriggerEvent(Config.ESX_Object or "esx:getSharedObject", function(module) + obj = module + promise_:resolve(obj) + end) + end) + + Citizen.Await(obj) + return obj +end + +Config.GetQBCoreObject = function() + local promise_ = promise:new() + local obj + xpcall(function() + obj = exports['qb-core']['GetCoreObject']() + promise_:resolve(obj) + end, function(error) + xpcall(function() + obj = exports['qb-core']['GetSharedObject']() + promise_:resolve(obj) + end, function(error) + + local QBCore = nil + local tries = 10 + + LoadQBCore = function() + if tries == 0 then + print("The QBCORE couldnt load any object! You need to correct the event / resource name for export!") + return + end + + tries = tries - 1 + + if QBCore == nil then + SetTimeout(100, LoadQBCore) + end + + TriggerEvent(Config.QBCoreObject or "QBCore:GetObject", function(module) + QBCore = module + + obj = QBCore + promise_:resolve(QBCore) + end) + end + + LoadQBCore() + + end) + end) + + Citizen.Await(obj) + + return obj +end + +function DrawUIText(text, x, y) + SetTextFont(0) + SetTextScale(0.5, 0.5) + SetTextColour(255, 255, 255, 255) + SetTextOutline() + SetTextCentre(true) + + BeginTextCommandDisplayText("STRING") + AddTextComponentSubstringPlayerName(text) + EndTextCommandDisplayText(x, y) +end + +--- this is for translation +--- @param str string +--- @param ... parameters +function _U(str, ...) + if type(Locales) ~= "table" then + return string.format("Locales table doesnt exists! There is probably syntax error in the translation or the file is missing completely!\n", GetCurrentResourceName()) + end + if not Locales[str] then + return string.format("[%s] There isnt such [%s] translation", GetCurrentResourceName(), str) + end + return string.format(Locales[str], ...) +end + +--- Will return true/false +--- @param url string +function isWhitelisted(url) + url = string.lower(url) + for k, v in pairs(Config.whitelisted) do + if string.match(url, v) ~= nil then + return true + end + end + return false +end + +--- Will return true/false +--- @param url string +function isBlackListed(url) + url = string.lower(url or "") + for k, v in pairs(Config.blackListed) do + if string.match(url, v) ~= nil then + return true + end + end + return false +end + +--- Will return timestamp from youtube URL +--- @param url string +function GetTimeFromUrl(url) + local pattern = "t=([^#&\n\r]+)" + + local _time = string.match(url, pattern) + + if _time then + _time = _time.gsub(_time, "%D+", "") + _time = tonumber(_time) + else + _time = 0 + end + + return _time +end + +--- trigger name +--- @param name string +function TriggerName(name) + return string.format('%s:%s', GetCurrentResourceName(), name) +end + +-- Will deep copy table +--- @param orig table +function Deepcopy(orig) + local orig_type = type(orig) + local copy + if orig_type == 'table' then + copy = {} + for orig_key, orig_value in next, orig, nil do + copy[Deepcopy(orig_key)] = Deepcopy(orig_value) + end + setmetatable(copy, Deepcopy(getmetatable(orig))) + else + -- number, string, boolean, etc + copy = orig + end + return copy +end + +-- will dump table +--- @param node table +--- @param printing boolean +function Dump(node, printing) + local cache, stack, output = {}, {}, {} + local depth = 1 + local output_str = "{\n" + + while true do + local size = 0 + for k, v in pairs(node) do + size = size + 1 + end + + local cur_index = 1 + for k, v in pairs(node) do + if (cache[node] == nil) or (cur_index >= cache[node]) then + + if (string.find(output_str, "}", output_str:len())) then + output_str = output_str .. ",\n" + elseif not (string.find(output_str, "\n", output_str:len())) then + output_str = output_str .. "\n" + end + + -- This is necessary for working with HUGE tables otherwise we run out of memory using concat on huge strings + table.insert(output, output_str) + output_str = "" + + local key + if (type(k) == "number" or type(k) == "boolean") then + key = "[" .. tostring(k) .. "]" + else + key = "['" .. tostring(k) .. "']" + end + + local isWhitelisted = false + + if type(v) == "string" then + isWhitelisted = string.match(string.lower(v), "nil") + end + + if (type(v) == "number" or type(v) == "boolean" or type(v) == "vector3" or isWhitelisted) then + output_str = output_str .. string.rep('\t', depth) .. key .. " = " .. tostring(v) + elseif (type(v) == "table") then + output_str = output_str .. string.rep('\t', depth) .. key .. " = {\n" + table.insert(stack, node) + table.insert(stack, v) + cache[node] = cur_index + 1 + break + else + output_str = output_str .. string.rep('\t', depth) .. key .. " = '" .. tostring(v) .. "'" + end + + if (cur_index == size) then + output_str = output_str .. "\n" .. string.rep('\t', depth - 1) .. "}" + else + output_str = output_str .. "," + end + else + -- close the table + if (cur_index == size) then + output_str = output_str .. "\n" .. string.rep('\t', depth - 1) .. "}" + end + end + + cur_index = cur_index + 1 + end + + if (size == 0) then + output_str = output_str .. "\n" .. string.rep('\t', depth - 1) .. "}" + end + + if (#stack > 0) then + node = stack[#stack] + stack[#stack] = nil + depth = cache[node] == nil and depth + 1 or depth - 1 + else + break + end + end + + -- This is necessary for working with HUGE tables otherwise we run out of memory using concat on huge strings + table.insert(output, output_str) + output_str = table.concat(output) + if not printing then + print(output_str) + end + return output_str +end \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/readme.md b/resources/[standalone]/rcore_tv/readme.md new file mode 100644 index 000000000..dac3647bb --- /dev/null +++ b/resources/[standalone]/rcore_tv/readme.md @@ -0,0 +1,17 @@ +# rcore_television + +if you see error: Bad binary format or syntax error near + +Read this guide: +https://documentation.rcore.cz/cfx-auth-system/error-syntax-error-near-less-than-1-greater-than + +i see "you lack the entitelment to run this resource" +Follow thid guide: https://documentation.rcore.cz/cfx-auth-system/you-lack-the-entitlement + +### editor + +Use: /tveditor + +Permission needed: add_ace group.admin command.tveditor allow + +if you're not sure how to grant someone else principal just please use command: tvgrantpermission \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/.fxap b/resources/[standalone]/rcore_tv/tv_scaleform/.fxap new file mode 100644 index 000000000..9eb74e6da Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/.fxap differ diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/fxmanifest.lua b/resources/[standalone]/rcore_tv/tv_scaleform/fxmanifest.lua new file mode 100644 index 000000000..697537156 --- /dev/null +++ b/resources/[standalone]/rcore_tv/tv_scaleform/fxmanifest.lua @@ -0,0 +1,9 @@ +fx_version "cerulean" +games { "gta5" } + +lua54 "yes" + +escrow_ignore { + "stream/*.*", +} +dependency '/assetpacks' \ No newline at end of file diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_1.gfx b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_1.gfx new file mode 100644 index 000000000..8151eff54 Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_1.gfx differ diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_2.gfx b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_2.gfx new file mode 100644 index 000000000..8151eff54 Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_2.gfx differ diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_3.gfx b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_3.gfx new file mode 100644 index 000000000..8151eff54 Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_3.gfx differ diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_4.gfx b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_4.gfx new file mode 100644 index 000000000..8151eff54 Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_4.gfx differ diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_5.gfx b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_5.gfx new file mode 100644 index 000000000..8151eff54 Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_5.gfx differ diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_6.gfx b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_6.gfx new file mode 100644 index 000000000..8151eff54 Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_6.gfx differ diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_7.gfx b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_7.gfx new file mode 100644 index 000000000..8151eff54 Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_7.gfx differ diff --git a/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_8.gfx b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_8.gfx new file mode 100644 index 000000000..8151eff54 Binary files /dev/null and b/resources/[standalone]/rcore_tv/tv_scaleform/stream/television_scaleform_8.gfx differ diff --git a/resources/[test]/doj.png b/resources/[test]/doj.png deleted file mode 100644 index 71f10ab95..000000000 Binary files a/resources/[test]/doj.png and /dev/null differ diff --git a/resources/[test]/qs-weed/.fxap b/resources/[test]/qs-weed/.fxap new file mode 100644 index 000000000..349492583 Binary files /dev/null and b/resources/[test]/qs-weed/.fxap differ diff --git a/resources/[test]/qs-weed/client/custom/framework/esx.lua b/resources/[test]/qs-weed/client/custom/framework/esx.lua new file mode 100644 index 000000000..370fb925d --- /dev/null +++ b/resources/[test]/qs-weed/client/custom/framework/esx.lua @@ -0,0 +1,157 @@ +if Config.Framework ~= 'esx' then + return +end + +ESX = exports['es_extended']:getSharedObject() + +PlayerJob = false +CreateThread(function() + while not GetPlayerData() or not GetPlayerData().job do + Wait(100) + end + PlayerJob = GetPlayerData().job.name +end) + +RegisterNetEvent('esx:setJob') +AddEventHandler('esx:setJob', function(job) + PlayerJob = job.name +end) + +function TriggerServerCallback(name, cb, ...) + ESX.TriggerServerCallback(name, cb, ...) +end + +function GetPlayerData() + return ESX.GetPlayerData() +end + +function GetJobName() + return GetPlayerData()?.job?.name +end + +local texts = {} +if GetResourceState('qs-textui') == 'started' then + function DrawText3D(x, y, z, text, id, key) + local _id = id + if not texts[_id] then + CreateThread(function() + texts[_id] = 5 + while texts[_id] > 0 do + texts[_id] = texts[_id] - 1 + Wait(0) + end + texts[_id] = nil + exports['qs-textui']:DeleteDrawText3D(id) + Debug('Deleted text', id) + end) + TriggerEvent('textui:DrawText3D', x, y, z, text, id, key) + end + texts[_id] = 5 + end +else + function DrawText3D(x, y, z, text) + SetTextScale(0.35, 0.35) + SetTextFont(4) + SetTextProportional(1) + SetTextColour(255, 255, 255, 215) + SetTextEntry('STRING') + SetTextCentre(true) + AddTextComponentString(text) + SetDrawOrigin(x, y, z, 0) + DrawText(0.0, 0.0) + local factor = text:len() / 370 + DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75) + ClearDrawOrigin() + end +end + +function DrawText3Ds(x, y, z, text) + SetTextScale(0.35, 0.35) + SetTextFont(4) + SetTextProportional(1) + SetTextColour(255, 255, 255, 215) + SetTextEntry('STRING') + SetTextCentre(true) + AddTextComponentString(text) + SetDrawOrigin(x, y, z, 0) + DrawText(0.0, 0.0) + local factor = (string.len(text)) / 370 + DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75) + ClearDrawOrigin() +end + +function ProgressBar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel) + if GetResourceState('qs-interface') == 'started' then + local success = exports['qs-interface']:ProgressBar({ + duration = duration, + label = label, + position = 'bottom', + useWhileDead = useWhileDead, + canCancel = canCancel, + disable = disableControls, + anim = { + dict = animation.animDict, + clip = animation.anim, + flag = animation?.flags + }, + prop = prop + }) + if success then + onFinish() + else + onCancel() + end + return + end + if lib.progressCircle({ + duration = duration, + label = label, + position = 'bottom', + useWhileDead = useWhileDead, + canCancel = canCancel, + disable = disableControls, + anim = { + dict = animation.animDict, + clip = animation.anim, + flag = animation?.flags + }, + prop = prop + }) then + onFinish() + else + onCancel() + end +end + +function SendTextMessage(msg, type) + if GetResourceState('qs-interface') == 'started' then + if type == 'inform' then + exports['qs-interface']:AddNotify(msg, 'Inform', 2500, 'fas fa-file') + elseif type == 'error' then + exports['qs-interface']:AddNotify(msg, 'Error', 2500, 'fas fa-bug') + elseif type == 'success' then + exports['qs-interface']:AddNotify(msg, 'Success', 2500, 'fas fa-thumbs-up') + end + return + end + + if type == 'inform' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'inform' + }) + elseif type == 'error' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'error' + }) + elseif type == 'success' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'success' + }) + end +end diff --git a/resources/[test]/qs-weed/client/custom/framework/qb.lua b/resources/[test]/qs-weed/client/custom/framework/qb.lua new file mode 100644 index 000000000..621d4e856 --- /dev/null +++ b/resources/[test]/qs-weed/client/custom/framework/qb.lua @@ -0,0 +1,157 @@ +if Config.Framework ~= 'qb' then + return +end + +QBCore = exports['qb-core']:GetCoreObject() + +PlayerJob = false +CreateThread(function() + while not GetPlayerData() or not GetPlayerData().job do + Wait(100) + end + PlayerJob = GetPlayerData().job.name +end) + +RegisterNetEvent('QBCore:Client:OnJobUpdate') +AddEventHandler('QBCore:Client:OnJobUpdate', function(job) + PlayerJob = job.name +end) + +function TriggerServerCallback(name, cb, ...) + QBCore.Functions.TriggerCallback(name, cb, ...) +end + +function GetPlayerData() + return QBCore.Functions.GetPlayerData() +end + +function GetJobName() + return GetPlayerData()?.job?.name +end + +local texts = {} +if GetResourceState('qs-textui') == 'started' then + function DrawText3D(x, y, z, text, id, key) + local _id = id + if not texts[_id] then + CreateThread(function() + texts[_id] = 5 + while texts[_id] > 0 do + texts[_id] = texts[_id] - 1 + Wait(0) + end + texts[_id] = nil + exports['qs-textui']:DeleteDrawText3D(id) + Debug('Deleted text', id) + end) + TriggerEvent('textui:DrawText3D', x, y, z, text, id, key) + end + texts[_id] = 5 + end +else + function DrawText3D(x, y, z, text) + SetTextScale(0.35, 0.35) + SetTextFont(4) + SetTextProportional(1) + SetTextColour(255, 255, 255, 215) + SetTextEntry('STRING') + SetTextCentre(true) + AddTextComponentString(text) + SetDrawOrigin(x, y, z, 0) + DrawText(0.0, 0.0) + local factor = text:len() / 370 + DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75) + ClearDrawOrigin() + end +end + +function DrawText3Ds(x, y, z, text) + SetTextScale(0.35, 0.35) + SetTextFont(4) + SetTextProportional(1) + SetTextColour(255, 255, 255, 215) + SetTextEntry('STRING') + SetTextCentre(true) + AddTextComponentString(text) + SetDrawOrigin(x, y, z, 0) + DrawText(0.0, 0.0) + local factor = (string.len(text)) / 370 + DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75) + ClearDrawOrigin() +end + +function ProgressBar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel) + if GetResourceState('qs-interface') == 'started' then + local success = exports['qs-interface']:ProgressBar({ + duration = duration, + label = label, + position = 'bottom', + useWhileDead = useWhileDead, + canCancel = canCancel, + disable = disableControls, + anim = { + dict = animation.animDict, + clip = animation.anim, + flag = animation?.flags + }, + prop = prop + }) + if success then + onFinish() + else + onCancel() + end + return + end + if lib.progressCircle({ + duration = duration, + label = label, + position = 'bottom', + useWhileDead = useWhileDead, + canCancel = canCancel, + disable = disableControls, + anim = { + dict = animation.animDict, + clip = animation.anim, + flag = animation?.flags + }, + prop = prop + }) then + onFinish() + else + onCancel() + end +end + +function SendTextMessage(msg, type) + if GetResourceState('qs-interface') == 'started' then + if type == 'inform' then + exports['qs-interface']:AddNotify(msg, 'Inform', 2500, 'fas fa-file') + elseif type == 'error' then + exports['qs-interface']:AddNotify(msg, 'Error', 2500, 'fas fa-bug') + elseif type == 'success' then + exports['qs-interface']:AddNotify(msg, 'Success', 2500, 'fas fa-thumbs-up') + end + return + end + + if type == 'inform' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'inform' + }) + elseif type == 'error' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'error' + }) + elseif type == 'success' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'success' + }) + end +end diff --git a/resources/[test]/qs-weed/client/custom/framework/qbx.lua b/resources/[test]/qs-weed/client/custom/framework/qbx.lua new file mode 100644 index 000000000..49d98d827 --- /dev/null +++ b/resources/[test]/qs-weed/client/custom/framework/qbx.lua @@ -0,0 +1,157 @@ +if Config.Framework ~= 'qbx' then + return +end + +QBCore = exports['qb-core']:GetCoreObject() + +PlayerJob = false +CreateThread(function() + while not GetPlayerData() or not GetPlayerData().job do + Wait(100) + end + PlayerJob = GetPlayerData().job.name +end) + +RegisterNetEvent('QBCore:Client:OnJobUpdate') +AddEventHandler('QBCore:Client:OnJobUpdate', function(job) + PlayerJob = job.name +end) + +function TriggerServerCallback(name, cb, ...) + QBCore.Functions.TriggerCallback(name, cb, ...) +end + +function GetPlayerData() + return exports.qbx_core:GetPlayerData() +end + +function GetJobName() + return GetPlayerData()?.job?.name +end + +local texts = {} +if GetResourceState('qs-textui') == 'started' then + function DrawText3D(x, y, z, text, id, key) + local _id = id + if not texts[_id] then + CreateThread(function() + texts[_id] = 5 + while texts[_id] > 0 do + texts[_id] = texts[_id] - 1 + Wait(0) + end + texts[_id] = nil + exports['qs-textui']:DeleteDrawText3D(id) + Debug('Deleted text', id) + end) + TriggerEvent('textui:DrawText3D', x, y, z, text, id, key) + end + texts[_id] = 5 + end +else + function DrawText3D(x, y, z, text) + SetTextScale(0.35, 0.35) + SetTextFont(4) + SetTextProportional(1) + SetTextColour(255, 255, 255, 215) + SetTextEntry('STRING') + SetTextCentre(true) + AddTextComponentString(text) + SetDrawOrigin(x, y, z, 0) + DrawText(0.0, 0.0) + local factor = text:len() / 370 + DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75) + ClearDrawOrigin() + end +end + +function DrawText3Ds(x, y, z, text) + SetTextScale(0.35, 0.35) + SetTextFont(4) + SetTextProportional(1) + SetTextColour(255, 255, 255, 215) + SetTextEntry('STRING') + SetTextCentre(true) + AddTextComponentString(text) + SetDrawOrigin(x, y, z, 0) + DrawText(0.0, 0.0) + local factor = (string.len(text)) / 370 + DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75) + ClearDrawOrigin() +end + +function ProgressBar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel) + if GetResourceState('qs-interface') == 'started' then + local success = exports['qs-interface']:ProgressBar({ + duration = duration, + label = label, + position = 'bottom', + useWhileDead = useWhileDead, + canCancel = canCancel, + disable = disableControls, + anim = { + dict = animation.animDict, + clip = animation.anim, + flag = animation?.flags + }, + prop = prop + }) + if success then + onFinish() + else + onCancel() + end + return + end + if lib.progressCircle({ + duration = duration, + label = label, + position = 'bottom', + useWhileDead = useWhileDead, + canCancel = canCancel, + disable = disableControls, + anim = { + dict = animation.animDict, + clip = animation.anim, + flag = animation?.flags + }, + prop = prop + }) then + onFinish() + else + onCancel() + end +end + +function SendTextMessage(msg, type) + if GetResourceState('qs-interface') == 'started' then + if type == 'inform' then + exports['qs-interface']:AddNotify(msg, 'Inform', 2500, 'fas fa-file') + elseif type == 'error' then + exports['qs-interface']:AddNotify(msg, 'Error', 2500, 'fas fa-bug') + elseif type == 'success' then + exports['qs-interface']:AddNotify(msg, 'Success', 2500, 'fas fa-thumbs-up') + end + return + end + + if type == 'inform' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'inform' + }) + elseif type == 'error' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'error' + }) + elseif type == 'success' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'success' + }) + end +end diff --git a/resources/[test]/qs-weed/client/custom/framework/standalone.lua b/resources/[test]/qs-weed/client/custom/framework/standalone.lua new file mode 100644 index 000000000..6aef0975d --- /dev/null +++ b/resources/[test]/qs-weed/client/custom/framework/standalone.lua @@ -0,0 +1,183 @@ +if Config.Framework ~= 'standalone' then return end + +PlayerJob = 'unemployed' + +local RequestId = 0 +local serverRequests = {} + +local clientCallbacks = {} + +---@param eventName string +---@param callback function +---@param ... any +TriggerServerCallback = function(eventName, callback, ...) + serverRequests[RequestId] = callback + + TriggerServerEvent('weed:triggerServerCallback', eventName, RequestId, GetInvokingResource() or 'unknown', ...) + + RequestId = RequestId + 1 +end + +exports('TriggerServerCallback', TriggerServerCallback) + +RegisterNetEvent('weed:serverCallback', function(requestId, invoker, ...) + if not serverRequests[requestId] then + return print(('[^1ERROR^7] Server Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) + end + + serverRequests[requestId](...) + serverRequests[requestId] = nil +end) + +---@param eventName string +---@param callback function +_RegisterClientCallback = function(eventName, callback) + clientCallbacks[eventName] = callback +end + +RegisterNetEvent('weed:triggerClientCallback', function(eventName, requestId, invoker, ...) + if not clientCallbacks[eventName] then + return print(('[^1ERROR^7] Client Callback not registered, name: ^5%s^7, invoker resource: ^5%s^7'):format(eventName, invoker)) + end + + clientCallbacks[eventName](function(...) + TriggerServerEvent('weed:clientCallback', requestId, invoker, ...) + end, ...) +end) + +function GetPlayerData() + ImplementError('You need to implement GetPlayerData()') + return {} +end + +function GetJobName() + Error('GetJobName is used with standalone') + return Config.PoliceJobs +end + +local texts = {} +if GetResourceState('qs-textui') == 'started' then + function DrawText3D(x, y, z, text, id, key) + local _id = id + if not texts[_id] then + CreateThread(function() + texts[_id] = 5 + while texts[_id] > 0 do + texts[_id] = texts[_id] - 1 + Wait(0) + end + texts[_id] = nil + exports['qs-textui']:DeleteDrawText3D(id) + Debug('Deleted text', id) + end) + TriggerEvent('textui:DrawText3D', x, y, z, text, id, key) + end + texts[_id] = 5 + end +else + function DrawText3D(x, y, z, text) + SetTextScale(0.35, 0.35) + SetTextFont(4) + SetTextProportional(1) + SetTextColour(255, 255, 255, 215) + SetTextEntry('STRING') + SetTextCentre(true) + AddTextComponentString(text) + SetDrawOrigin(x, y, z, 0) + DrawText(0.0, 0.0) + local factor = text:len() / 370 + DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75) + ClearDrawOrigin() + end +end + +function DrawText3Ds(x, y, z, text) + SetTextScale(0.35, 0.35) + SetTextFont(4) + SetTextProportional(1) + SetTextColour(255, 255, 255, 215) + SetTextEntry('STRING') + SetTextCentre(true) + AddTextComponentString(text) + SetDrawOrigin(x, y, z, 0) + DrawText(0.0, 0.0) + local factor = (string.len(text)) / 370 + DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75) + ClearDrawOrigin() +end + +function ProgressBar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel) + if GetResourceState('qs-interface') == 'started' then + local success = exports['qs-interface']:ProgressBar({ + duration = duration, + label = label, + position = 'bottom', + useWhileDead = useWhileDead, + canCancel = canCancel, + disable = disableControls, + anim = { + dict = animation.animDict, + clip = animation.anim, + flag = animation?.flags + }, + prop = prop + }) + if success then + onFinish() + else + onCancel() + end + return + end + if lib.progressCircle({ + duration = duration, + label = label, + position = 'bottom', + useWhileDead = useWhileDead, + canCancel = canCancel, + disable = disableControls, + anim = { + dict = animation.animDict, + clip = animation.anim, + flag = animation?.flags + }, + prop = prop + }) then + onFinish() + else + onCancel() + end +end + +function SendTextMessage(msg, type) + if GetResourceState('qs-interface') == 'started' then + if type == 'inform' then + exports['qs-interface']:AddNotify(msg, 'Inform', 2500, 'fas fa-file') + elseif type == 'error' then + exports['qs-interface']:AddNotify(msg, 'Error', 2500, 'fas fa-bug') + elseif type == 'success' then + exports['qs-interface']:AddNotify(msg, 'Success', 2500, 'fas fa-thumbs-up') + end + return + end + + if type == 'inform' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'inform' + }) + elseif type == 'error' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'error' + }) + elseif type == 'success' then + lib.notify({ + title = 'Weed', + description = msg, + type = 'success' + }) + end +end diff --git a/resources/[test]/qs-weed/client/main.lua b/resources/[test]/qs-weed/client/main.lua new file mode 100644 index 000000000..c7eb4d959 Binary files /dev/null and b/resources/[test]/qs-weed/client/main.lua differ diff --git a/resources/[test]/qs-weed/fxmanifest.lua b/resources/[test]/qs-weed/fxmanifest.lua new file mode 100644 index 000000000..6a6b455bc --- /dev/null +++ b/resources/[test]/qs-weed/fxmanifest.lua @@ -0,0 +1,34 @@ +fx_version 'cerulean' + +games { 'gta5' } + +lua54 'yes' + +shared_script { + '@ox_lib/init.lua', + 'shared/*.lua', + 'locales/*.lua' +} + +client_scripts { + 'client/**/**/**.lua' +} + +server_scripts { + '@mysql-async/lib/MySQL.lua', + 'server/**/**/**.lua' +} + +dependencies { + 'ox_lib' +} + +escrow_ignore { + 'shared/config.lua', + 'locales/*.lua', + 'client/custom/**/**.lua', + 'server/custom/**/**.lua', + 'server/custom/missions' +} + +dependency '/assetpacks' \ No newline at end of file diff --git a/resources/[test]/qs-weed/locales/ar.lua b/resources/[test]/qs-weed/locales/ar.lua new file mode 100644 index 000000000..f54091ea7 --- /dev/null +++ b/resources/[test]/qs-weed/locales/ar.lua @@ -0,0 +1,26 @@ +Locales["ar"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[ه] - حرق النبات', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[ز] - نبات الحمل', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[هـ] - إزالة النبات الميت', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[هـ] – حصاد النبات', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'يكتب:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'تَغذِيَة:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'صحة:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'نبات ينمو...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'إزالة النبات...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'زرع النبات ...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'مصنع تغذية ...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'لقد غيرت موقف النبات', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'اشتعلت النيران في المصنع بالكامل', +["WEED_NOTIFICATION_NO_PLACE"] = 'لا يوجد مكان لوضع النبات', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'أنت لست في منزلك أو في منطقة آمنة', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'هذا النبات لا يحتاج إلى مزيد من التغذية', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'لم يتم العثور على الكائن أو أنه مكسور', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'لقد حصدت النبات بشكل صحيح', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'المصنع لم يعد موجودا', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'ليس لديك أكياس كافية لحصاد النبات بأكمله', +["WEED_NOTIFICATION_NOT_PLANT"] = 'إنه ليس نباتك ولا يمكنك حصاد نبات لاعب آخر', +["WEED_NOTIFICATION_NO_PLANTS"] = 'لا يمكنك وضع المزيد من النباتات في هذا المنزل', +} diff --git a/resources/[test]/qs-weed/locales/bg.lua b/resources/[test]/qs-weed/locales/bg.lua new file mode 100644 index 000000000..9d86722f1 --- /dev/null +++ b/resources/[test]/qs-weed/locales/bg.lua @@ -0,0 +1,26 @@ +Locales["bg"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Изгорено растение', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Носещо растение', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Премахнете мъртвото растение', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Жътва', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Тип:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Хранене:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'здраве:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Отглеждане на растение...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Премахване на растението...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Засаждане на растение...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Завод за хранене...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Променихте позицията на растението', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Заводът се е запалил напълно', +["WEED_NOTIFICATION_NO_PLACE"] = 'Няма къде да поставите растението', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Не сте вкъщи или в безопасна зона', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Това растение не се нуждае от повече хранене', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Предметът не е намерен или е счупен', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Вие сте събрали растението правилно', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Заводът вече не съществува', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Нямате достатъчно торби, за да приберете цялото растение', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Това не е вашето растение, нито можете да берете растението на друг играч', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Не можете да поставите повече растения в този дом', +} diff --git a/resources/[test]/qs-weed/locales/ca.lua b/resources/[test]/qs-weed/locales/ca.lua new file mode 100644 index 000000000..47ea49bd0 --- /dev/null +++ b/resources/[test]/qs-weed/locales/ca.lua @@ -0,0 +1,26 @@ +Locales["ca"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Cremar planta', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Portar planta', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Eliminar la planta morta', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Planta de verema', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tipus:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrició:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Salut:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Planta en creixement...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Eliminant planta...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantar planta...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Planta d\'alimentació...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Has canviat la posició de la planta', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'La planta es va incendiar completament', +["WEED_NOTIFICATION_NO_PLACE"] = 'No hi ha lloc per posar la planta', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'No estàs a casa teva ni en una zona segura', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Aquesta planta no necessita més nutrició', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'L\'objecte no s\'ha trobat o està trencat', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Has collit correctament la planta', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'La planta ja no existeix', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'No teniu prou bosses per collir tota la planta', +["WEED_NOTIFICATION_NOT_PLANT"] = 'No és la teva planta ni pots collir la planta d\'un altre jugador', +["WEED_NOTIFICATION_NO_PLANTS"] = 'No podeu posar més plantes en aquesta casa', +} diff --git a/resources/[test]/qs-weed/locales/cs.lua b/resources/[test]/qs-weed/locales/cs.lua new file mode 100644 index 000000000..b0b91f45a --- /dev/null +++ b/resources/[test]/qs-weed/locales/cs.lua @@ -0,0 +1,26 @@ +Locales["cs"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Spálit rostlinu', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Přenášecí rostlina', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Odstraňte odumřelou rostlinu', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Sklizeň rostlin', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Typ:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Výživa:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Zdraví:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Rostoucí rostlina...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Odstraňování rostlin...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Výsadba rostlin...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Krmná rostlina...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Změnil jsi polohu rostliny', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Závod úplně vzplál', +["WEED_NOTIFICATION_NO_PLACE"] = 'Rostlinu není kam umístit', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Nejste doma nebo v bezpečné zóně', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Tato rostlina nepotřebuje více výživy', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Předmět nebyl nalezen nebo je rozbitý', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Rostlinu jste sklidili správně', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Rostlina již neexistuje', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nemáte dostatek pytlů na sklizeň celé rostliny', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Není to vaše rostlina ani nemůžete sklízet rostlinu jiného hráče', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Do tohoto domu nemůžete umístit více rostlin', +} diff --git a/resources/[test]/qs-weed/locales/da.lua b/resources/[test]/qs-weed/locales/da.lua new file mode 100644 index 000000000..5b787b4fa --- /dev/null +++ b/resources/[test]/qs-weed/locales/da.lua @@ -0,0 +1,26 @@ +Locales["da"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Brænd plante', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Bær plante', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Fjern døde plante', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Høstplante', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Ernæring:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Sundhed:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Plante i vækst...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Fjerner plante...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Planter plante...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Foderplante...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Du ændrede anlæggets position', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Anlægget brød fuldstændig i brand', +["WEED_NOTIFICATION_NO_PLACE"] = 'Der er ikke noget sted at sætte planten', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Du er ikke i dit hjem eller i en sikker zone', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Denne plante har ikke brug for mere næring', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Genstanden blev ikke fundet eller er ødelagt', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Du har høstet planten korrekt', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Planten eksisterer ikke længere', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Du har ikke nok poser til at høste hele planten', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Det er ikke din plante, og du kan heller ikke høste en anden spillers plante', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Du kan ikke sætte flere planter i dette hjem', +} diff --git a/resources/[test]/qs-weed/locales/de.lua b/resources/[test]/qs-weed/locales/de.lua new file mode 100644 index 000000000..202fa1b92 --- /dev/null +++ b/resources/[test]/qs-weed/locales/de.lua @@ -0,0 +1,26 @@ +Locales["de"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] – Pflanze verbrennen', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] – Pflanze tragen', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] – Abgestorbene Pflanzen entfernen', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] – Pflanze ernten', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Typ:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Ernährung:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Gesundheit:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Wachsende Pflanze...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Pflanze entfernen...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Pflanze pflanzen...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Futterpflanze...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Sie haben die Anlagenposition geändert', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Die Anlage geriet vollständig in Brand', +["WEED_NOTIFICATION_NO_PLACE"] = 'Es gibt keinen Platz für die Pflanze', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Sie befinden sich nicht zu Hause oder in einer sicheren Zone', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Diese Pflanze benötigt keine weitere Nahrung', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Das Objekt wurde nicht gefunden oder ist kaputt', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Sie haben die Pflanze richtig geerntet', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Die Pflanze existiert nicht mehr', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Sie haben nicht genügend Beutel, um die gesamte Pflanze zu ernten', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Es ist weder Ihre Pflanze, noch können Sie die Pflanze eines anderen Spielers ernten', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Sie können in diesem Haus nicht mehr Pflanzen pflanzen', +} diff --git a/resources/[test]/qs-weed/locales/el.lua b/resources/[test]/qs-weed/locales/el.lua new file mode 100644 index 000000000..731920c9e --- /dev/null +++ b/resources/[test]/qs-weed/locales/el.lua @@ -0,0 +1,26 @@ +Locales["el"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Φυτό καύσης', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Φυτό μεταφοράς', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Αφαιρέστε το νεκρό φυτό', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Φυτό συγκομιδής', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Τύπος:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Θρέψη:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Υγεία:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Καλλιέργεια φυτών...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Αφαίρεση φυτού...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Φύτευση φυτού...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Φυτό τροφοδοσίας...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Αλλάξατε τη θέση του φυτού', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Το εργοστάσιο πήρε φωτιά εντελώς', +["WEED_NOTIFICATION_NO_PLACE"] = 'Δεν υπάρχει μέρος για να βάλετε το φυτό', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Δεν βρίσκεστε στο σπίτι σας ή σε ασφαλή ζώνη', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Αυτό το φυτό δεν χρειάζεται περισσότερη διατροφή', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Το αντικείμενο δεν βρέθηκε ή είναι σπασμένο', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Έχετε μαζέψει σωστά το φυτό', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Το φυτό δεν υπάρχει πλέον', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Δεν έχετε αρκετές σακούλες για να μαζέψετε ολόκληρο το φυτό', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Δεν είναι το φυτό σας ούτε μπορείτε να μαζέψετε φυτό άλλου παίκτη', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Δεν μπορείτε να βάλετε περισσότερα φυτά σε αυτό το σπίτι', +} diff --git a/resources/[test]/qs-weed/locales/en.lua b/resources/[test]/qs-weed/locales/en.lua new file mode 100644 index 000000000..30008d37f --- /dev/null +++ b/resources/[test]/qs-weed/locales/en.lua @@ -0,0 +1,26 @@ +Locales["en"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Burn plant', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Carry plant', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Remove dead plant', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Harvest plant', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrition:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Health:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Growing plant...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Removing plant...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Planting plant...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Feeding plant...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'You changed the plant position', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'The plant caught fire completely', +["WEED_NOTIFICATION_NO_PLACE"] = 'There is no place to put the plant', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'You are not at your home or in a safe zone', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'This plant does not need more nutrition', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'The object was not found or is broken', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'You have harvested the plant correctly', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'The plant no longer exists', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'You do not have enough bags to harvest the entire plant', +["WEED_NOTIFICATION_NOT_PLANT"] = 'It is not your plant nor can you harvest another player\\\'s plant', +["WEED_NOTIFICATION_NO_PLANTS"] = 'You cannot put more plants in this home', +} diff --git a/resources/[test]/qs-weed/locales/es.lua b/resources/[test]/qs-weed/locales/es.lua new file mode 100644 index 000000000..d88791fe8 --- /dev/null +++ b/resources/[test]/qs-weed/locales/es.lua @@ -0,0 +1,26 @@ +Locales["es"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Quemar planta', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Planta de transporte', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Quitar la planta muerta', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Planta de cosecha', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tipo:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrición:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Salud:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Planta en crecimiento...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Quitando planta...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantación de planta...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Planta de alimentación...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Cambiaste la posición de la planta.', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'La planta se incendió por completo.', +["WEED_NOTIFICATION_NO_PLACE"] = 'No hay lugar para poner la planta.', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'No estás en tu casa ni en una zona segura', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Esta planta no necesita más nutrición.', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'El objeto no fue encontrado o está roto.', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Has cosechado la planta correctamente.', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'La planta ya no existe.', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'No tienes suficientes bolsas para cosechar toda la planta.', +["WEED_NOTIFICATION_NOT_PLANT"] = 'No es tu planta ni puedes cosechar la planta de otro jugador.', +["WEED_NOTIFICATION_NO_PLANTS"] = 'No se pueden poner más plantas en esta casa.', +} diff --git a/resources/[test]/qs-weed/locales/fa.lua b/resources/[test]/qs-weed/locales/fa.lua new file mode 100644 index 000000000..e43b1b3bd --- /dev/null +++ b/resources/[test]/qs-weed/locales/fa.lua @@ -0,0 +1,26 @@ +Locales["fa"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[اِ] - گیاه را بسوزانید', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - گیاه را حمل کنید', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - گیاه مرده را بردارید', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - گیاه درو', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'نوع:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'تغذیه:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'سلامت:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'در حال رشد گیاه ...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'حذف گیاه ...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'کاشت گیاه ...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'گیاه تغذیه ...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'شما موقعیت گیاه را تغییر دادید', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'این گیاه کاملاً آتش گرفت', +["WEED_NOTIFICATION_NO_PLACE"] = 'جایی برای قرار دادن گیاه وجود ندارد', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'شما در خانه یا در یک منطقه امن نیستید', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'این گیاه به تغذیه بیشتری نیاز ندارد', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'شی پیدا نشد یا شکسته است', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'شما گیاه را به درستی برداشت کرده اید', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'این گیاه دیگر وجود ندارد', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'کیسه های کافی برای برداشت کل گیاه ندارید', +["WEED_NOTIFICATION_NOT_PLANT"] = 'این گیاه شما نیست و نمی توانید گیاه بازیکن دیگری را برداشت کنید', +["WEED_NOTIFICATION_NO_PLANTS"] = 'شما نمی توانید گیاهان بیشتری را در این خانه قرار دهید', +} diff --git a/resources/[test]/qs-weed/locales/fr.lua b/resources/[test]/qs-weed/locales/fr.lua new file mode 100644 index 000000000..eb7930b96 --- /dev/null +++ b/resources/[test]/qs-weed/locales/fr.lua @@ -0,0 +1,26 @@ +Locales["fr"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Brûler plante', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Plante de transport', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Supprimer la plante morte', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Plante de récolte', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Taper:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrition:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Santé:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Plante en croissance...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Suppression d\'une plante...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Plante à planter...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Plante nourricière...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Vous avez changé la position de la plante', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'L\'usine a complètement pris feu', +["WEED_NOTIFICATION_NO_PLACE"] = 'Il n\'y a pas de place pour mettre la plante', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Vous n\'êtes pas chez vous ou dans une zone sûre', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Cette plante n\'a pas besoin de plus de nutrition', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'L\'objet n\'a pas été trouvé ou est cassé', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Vous avez récolté la plante correctement', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'La plante n\'existe plus', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Vous n\'avez pas assez de sacs pour récolter la plante entière', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Ce n\'est pas votre plante et vous ne pouvez pas non plus récolter la plante d\'un autre joueur', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Vous ne pouvez pas mettre plus de plantes dans cette maison', +} diff --git a/resources/[test]/qs-weed/locales/he.lua b/resources/[test]/qs-weed/locales/he.lua new file mode 100644 index 000000000..8913c359f --- /dev/null +++ b/resources/[test]/qs-weed/locales/he.lua @@ -0,0 +1,26 @@ +Locales["he"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Burn plant', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Carry plant', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Remove dead plant', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Harvest plant', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrition:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Health:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Growing plant...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Removing plant...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Planting plant...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Feeding plant...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'You changed the plant position', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'The plant caught fire completely', +["WEED_NOTIFICATION_NO_PLACE"] = 'There is no place to put the plant', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'You are not at your home or in a safe zone', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'This plant does not need more nutrition', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'The object was not found or is broken', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'You have harvested the plant correctly', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'The plant no longer exists', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'You do not have enough bags to harvest the entire plant', +["WEED_NOTIFICATION_NOT_PLANT"] = 'It is not your plant nor can you harvest another player\'s plant', +["WEED_NOTIFICATION_NO_PLANTS"] = 'You cannot put more plants in this home', +} diff --git a/resources/[test]/qs-weed/locales/hi.lua b/resources/[test]/qs-weed/locales/hi.lua new file mode 100644 index 000000000..bcd4882dc --- /dev/null +++ b/resources/[test]/qs-weed/locales/hi.lua @@ -0,0 +1,26 @@ +Locales["hi"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[ई] - जला हुआ पौधा', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[जी] - कैरी प्लांट', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[ई] - मृत पौधे को हटा दें', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[ई] - फसल का पौधा', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'प्रकार:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'पोषण:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'स्वास्थ्य:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'बढ़ता हुआ पौधा...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'पौधा हटाया जा रहा है...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'पौधारोपण...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'भोजन देने वाला पौधा...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'आपने पौधे की स्थिति बदल दी', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'प्लांट पूरी तरह से जलकर खाक हो गया', +["WEED_NOTIFICATION_NO_PLACE"] = 'पौधा लगाने की जगह नहीं है', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'आप अपने घर पर या सुरक्षित क्षेत्र में नहीं हैं', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'इस पौधे को अधिक पोषण की आवश्यकता नहीं होती', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'वस्तु नहीं मिली या टूट गयी है', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'आपने पौधे की सही कटाई की है', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'संयंत्र अब अस्तित्व में नहीं है', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'आपके पास पूरे पौधे की कटाई के लिए पर्याप्त बैग नहीं हैं', +["WEED_NOTIFICATION_NOT_PLANT"] = 'यह आपका पौधा नहीं है और न ही आप किसी अन्य खिलाड़ी का पौधा काट सकते हैं', +["WEED_NOTIFICATION_NO_PLANTS"] = 'आप इस घर में अधिक पौधे नहीं लगा सकते', +} diff --git a/resources/[test]/qs-weed/locales/hu.lua b/resources/[test]/qs-weed/locales/hu.lua new file mode 100644 index 000000000..f2f987738 --- /dev/null +++ b/resources/[test]/qs-weed/locales/hu.lua @@ -0,0 +1,26 @@ +Locales["hu"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Égess el egy növényt', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Növényhordozó', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Távolítsa el az elhalt növényt', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Betakarítás növény', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Típus:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Táplálás:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Egészség:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Növekvő növény...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Növény eltávolítása...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Növény ültetése...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Etető üzem...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Megváltoztatta az üzem pozícióját', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Az üzem teljesen kigyulladt', +["WEED_NOTIFICATION_NO_PLACE"] = 'Nincs hová tenni a növényt', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Nem tartózkodik otthonában vagy biztonságos zónában', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Ennek a növénynek nincs szüksége több táplálékra', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'A tárgy nem található, vagy elromlott', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Helyesen betakarította a növényt', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Az üzem már nem létezik', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nincs elég zacskója az egész növény betakarításához', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Ez nem a te növényed, és nem is betakaríthatod egy másik játékos növényét', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Nem tehet több növényt ebbe az otthonba', +} diff --git a/resources/[test]/qs-weed/locales/it.lua b/resources/[test]/qs-weed/locales/it.lua new file mode 100644 index 000000000..c95b906b6 --- /dev/null +++ b/resources/[test]/qs-weed/locales/it.lua @@ -0,0 +1,26 @@ +Locales["it"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Brucia la pianta', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Trasportare la pianta', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Rimuovere la pianta morta', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Pianta da raccogliere', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tipo:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrizione:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Salute:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Pianta in crescita...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Rimozione pianta...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Piantare una pianta...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Pianta da nutrire...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Hai cambiato la posizione della pianta', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'L\'impianto ha preso fuoco completamente', +["WEED_NOTIFICATION_NO_PLACE"] = 'Non c\'è posto dove mettere la pianta', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Non sei a casa tua o in una zona sicura', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Questa pianta non ha bisogno di più nutrimento', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'L\'oggetto non è stato trovato o è rotto', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Hai raccolto la pianta correttamente', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'L\'impianto non esiste più', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Non hai abbastanza sacchi per raccogliere l\'intera pianta', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Non è la tua pianta né puoi raccogliere la pianta di un altro giocatore', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Non puoi mettere più piante in questa casa', +} diff --git a/resources/[test]/qs-weed/locales/ja.lua b/resources/[test]/qs-weed/locales/ja.lua new file mode 100644 index 000000000..2dcc4bad5 --- /dev/null +++ b/resources/[test]/qs-weed/locales/ja.lua @@ -0,0 +1,26 @@ +Locales["ja"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - 植物を燃やす', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - キャリープラント', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - 枯れた植物を取り除く', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - 収穫植物', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'タイプ:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = '栄養:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = '健康:', + +["WEED_PROGRESS_GROWING_PLANT"] = '成長中の植物...', +["WEED_PROGRESS_REMOVE_PLANT"] = '植物を除去しています...', +["WEED_PROGRESS_PLANTING_PLANT"] = '植物を植える...', +["WEED_PROGRESS_NUTRITION_PLANT"] = '給餌植物...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = '工場の位置を変更しました', +["WEED_NOTIFICATION_FIRE_PLANT"] = '工場は完全に火災になった', +["WEED_NOTIFICATION_NO_PLACE"] = '植物を置く場所がない', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'あなたは自宅または安全地帯にいません', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'この植物にはそれ以上の栄養は必要ありません', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'オブジェクトが見つからないか壊れています', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = '植物を正しく収穫しました', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'その工場はもう存在しません', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = '植物全体を収穫するのに十分な袋がありません', +["WEED_NOTIFICATION_NOT_PLANT"] = 'それはあなたの植物ではなく、他のプレイヤーの植物を収穫することもできません', +["WEED_NOTIFICATION_NO_PLANTS"] = 'この家にはこれ以上植物を置くことはできません', +} diff --git a/resources/[test]/qs-weed/locales/ko.lua b/resources/[test]/qs-weed/locales/ko.lua new file mode 100644 index 000000000..f4a9d1652 --- /dev/null +++ b/resources/[test]/qs-weed/locales/ko.lua @@ -0,0 +1,26 @@ +Locales["ko"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - 식물 태우기', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - 식물 운반', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - 죽은 식물 제거', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - 수확 식물', +["WEED_DRAWTEXT_TYPE_STATUS"] = '유형:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = '영양물 섭취:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = '건강:', + +["WEED_PROGRESS_GROWING_PLANT"] = '식물을 키우는 중...', +["WEED_PROGRESS_REMOVE_PLANT"] = '식물 제거 중...', +["WEED_PROGRESS_PLANTING_PLANT"] = '식물을 심는 중...', +["WEED_PROGRESS_NUTRITION_PLANT"] = '먹이를 주는 식물...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = '공장 위치를 ​​바꾸셨네요', +["WEED_NOTIFICATION_FIRE_PLANT"] = '식물에 완전히 불이 붙었습니다', +["WEED_NOTIFICATION_NO_PLACE"] = '식물을 심을 곳이 없어요', +["WEED_NOTIFICATION_SAFE_ZONE"] = '당신은 집에 없거나 안전지대에 있지 않습니다.', +["WEED_NOTIFICATION_NO_NUTRITION"] = '이 식물에는 더 많은 영양이 필요하지 않습니다.', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = '개체를 찾을 수 없거나 손상되었습니다.', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = '식물을 올바르게 수확했습니다', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = '그 식물은 더 이상 존재하지 않습니다.', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = '전체 식물을 수확할 만큼 충분한 봉지가 없습니다.', +["WEED_NOTIFICATION_NOT_PLANT"] = '그것은 당신의 식물이 아니며 다른 플레이어의 식물을 수확할 수도 없습니다.', +["WEED_NOTIFICATION_NO_PLANTS"] = '이 집에는 더 이상 식물을 심을 수 없습니다', +} diff --git a/resources/[test]/qs-weed/locales/nl.lua b/resources/[test]/qs-weed/locales/nl.lua new file mode 100644 index 000000000..879ae6df4 --- /dev/null +++ b/resources/[test]/qs-weed/locales/nl.lua @@ -0,0 +1,26 @@ +Locales["nl"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Installatie verbranden', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Draag plant', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Verwijder dode plant', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Oogstplant', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Voeding:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Gezondheid:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Groeiende plant...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Plant verwijderen...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantje planten...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Voedingsplant...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Je hebt de plantpositie gewijzigd', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'De fabriek vloog volledig in brand', +["WEED_NOTIFICATION_NO_PLACE"] = 'Er is geen plek om de plant neer te zetten', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'U bent niet thuis of in een veilige zone', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Meer voeding heeft deze plant niet nodig', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Het object is niet gevonden of is kapot', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Je hebt de plant correct geoogst', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'De fabriek bestaat niet meer', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Je hebt niet genoeg zakken om de hele plant te oogsten', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Het is niet jouw plant en je kunt ook niet de plant van een andere speler oogsten', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Je kunt niet meer planten in dit huis zetten', +} diff --git a/resources/[test]/qs-weed/locales/no.lua b/resources/[test]/qs-weed/locales/no.lua new file mode 100644 index 000000000..001464862 --- /dev/null +++ b/resources/[test]/qs-weed/locales/no.lua @@ -0,0 +1,26 @@ +Locales["no"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Brenn plante', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Bær plante', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Fjern døde plante', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Høsteplante', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Ernæring:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Helse:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Voksende plante...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Fjerner planten...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Plante plante...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Matplante...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Du endret anleggsposisjonen', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Anlegget tok fullstendig fyr', +["WEED_NOTIFICATION_NO_PLACE"] = 'Det er ikke noe sted å sette planten', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Du er ikke hjemme eller i en trygg sone', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Denne planten trenger ikke mer næring', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Gjenstanden ble ikke funnet eller er ødelagt', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Du har høstet planten riktig', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Planten eksisterer ikke lenger', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Du har ikke nok poser til å høste hele planten', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Det er ikke din plante, og du kan heller ikke høste en annen spillers plante', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Du kan ikke sette flere planter i dette hjemmet', +} diff --git a/resources/[test]/qs-weed/locales/pl.lua b/resources/[test]/qs-weed/locales/pl.lua new file mode 100644 index 000000000..650234752 --- /dev/null +++ b/resources/[test]/qs-weed/locales/pl.lua @@ -0,0 +1,26 @@ +Locales["pl"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] – Spal roślinę', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] – Noś roślinę', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] – Usuń martwą roślinę', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Roślina zbierająca', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Typ:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Odżywianie:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Zdrowie:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Rosnąca roślina...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Usuwanie rośliny...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Sadzenie roślin...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Roślina zasilająca...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Zmieniłeś położenie rośliny', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Roślina całkowicie się zapaliła', +["WEED_NOTIFICATION_NO_PLACE"] = 'Nie ma gdzie postawić rośliny', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Nie jesteś w domu ani w bezpiecznej strefie', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Ta roślina nie potrzebuje więcej odżywiania', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Obiekt nie został znaleziony lub jest uszkodzony', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Zebrałeś roślinę prawidłowo', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Rośliny już nie ma', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nie masz wystarczającej liczby worków, aby zebrać całą roślinę', +["WEED_NOTIFICATION_NOT_PLANT"] = 'To nie jest twoja roślina i nie możesz zbierać roślin innego gracza', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Nie możesz umieścić więcej roślin w tym domu', +} diff --git a/resources/[test]/qs-weed/locales/pt.lua b/resources/[test]/qs-weed/locales/pt.lua new file mode 100644 index 000000000..1d2e522f9 --- /dev/null +++ b/resources/[test]/qs-weed/locales/pt.lua @@ -0,0 +1,26 @@ +Locales["pt"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Planta queimada', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Carregar planta', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Remover planta morta', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Planta de colheita', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tipo:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrição:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Saúde:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Planta crescendo...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Removendo planta...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantando planta...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Planta de alimentação...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Você mudou a posição da planta', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'A planta pegou fogo completamente', +["WEED_NOTIFICATION_NO_PLACE"] = 'Não há lugar para colocar a planta', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Você não está em sua casa ou em uma zona segura', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Esta planta não precisa de mais nutrição', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'O objeto não foi encontrado ou está quebrado', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Você colheu a planta corretamente', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'A planta não existe mais', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Você não tem sacos suficientes para colher a planta inteira', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Não é a sua planta nem você pode colher a planta de outro jogador', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Você não pode colocar mais plantas nesta casa', +} diff --git a/resources/[test]/qs-weed/locales/ro.lua b/resources/[test]/qs-weed/locales/ro.lua new file mode 100644 index 000000000..8004c2835 --- /dev/null +++ b/resources/[test]/qs-weed/locales/ro.lua @@ -0,0 +1,26 @@ +Locales["ro"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Arde planta', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Purtați planta', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Îndepărtați planta moartă', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Planta de recoltare', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tip:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutriţie:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Sănătate:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Planta in crestere...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Se indeparteaza planta...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Planta de plantare...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Planta de hrănire...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Ai schimbat poziția plantei', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Planta a luat foc complet', +["WEED_NOTIFICATION_NO_PLACE"] = 'Nu există loc unde să pui planta', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Nu sunteți acasă sau într-o zonă sigură', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Această plantă nu are nevoie de mai multă hrană', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Obiectul nu a fost găsit sau este rupt', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Ați recoltat planta corect', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Planta nu mai există', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nu aveți destui saci pentru a recolta întreaga plantă', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Nu este planta ta și nici nu poți recolta planta altui jucător', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Nu puteți pune mai multe plante în această casă', +} diff --git a/resources/[test]/qs-weed/locales/ru.lua b/resources/[test]/qs-weed/locales/ru.lua new file mode 100644 index 000000000..2c6a74c4d --- /dev/null +++ b/resources/[test]/qs-weed/locales/ru.lua @@ -0,0 +1,26 @@ +Locales["ru"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Сжечь завод', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Перенести растение', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] — Удалить мертвое растение.', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] — Сбор урожая', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Тип:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Питание:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Здоровье:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Выращивание растения...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Удаление растения...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Посадка растений...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Кормовой завод...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Вы изменили положение растения', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Завод полностью загорелся', +["WEED_NOTIFICATION_NO_PLACE"] = 'Растение поставить некуда', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Вы не у себя дома или в безопасной зоне', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Это растение не нуждается в дополнительном питании', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Объект не найден или сломан', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Вы правильно собрали растение.', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Завода больше нет', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'У вас недостаточно мешков, чтобы собрать все растение.', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Это не ваше растение, и вы не можете собирать растение другого игрока.', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Вы не можете посадить больше растений в этом доме.', +} diff --git a/resources/[test]/qs-weed/locales/sl.lua b/resources/[test]/qs-weed/locales/sl.lua new file mode 100644 index 000000000..94d6dc0fe --- /dev/null +++ b/resources/[test]/qs-weed/locales/sl.lua @@ -0,0 +1,26 @@ +Locales["sl"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Zažigalna rastlina', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Prenesite rastlino', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Odstranite mrtvo rastlino', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Žetvena rastlina', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tip:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Prehrana:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'zdravje:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Rastoča rastlina...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Odstranjevanje rastline ...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Sajenje rastlin...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Krmna rastlina...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Spremenili ste položaj rastline', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Obrat je v celoti zagorel', +["WEED_NOTIFICATION_NO_PLACE"] = 'Rastline ni kam postaviti', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Niste doma ali na varnem območju', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Ta rastlina ne potrebuje več hrane', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Predmet ni bil najden ali pa je pokvarjen', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Rastlino ste pravilno nabrali', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Rastlina ne obstaja več', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nimate dovolj vreč za nabiranje celotne rastline', +["WEED_NOTIFICATION_NOT_PLANT"] = 'To ni vaša rastlina, niti ne morete nabirati rastline drugega igralca', +["WEED_NOTIFICATION_NO_PLANTS"] = 'V ta dom ne morete postaviti več rastlin', +} diff --git a/resources/[test]/qs-weed/locales/sv.lua b/resources/[test]/qs-weed/locales/sv.lua new file mode 100644 index 000000000..c72e281c7 --- /dev/null +++ b/resources/[test]/qs-weed/locales/sv.lua @@ -0,0 +1,26 @@ +Locales["sv"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Bränn växt', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Bär växt', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Ta bort död planta', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Skördeväxt', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Typ:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Näring:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Hälsa:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Växande växt...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Tar bort växt...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantera växt...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Foderväxt...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Du ändrade anläggningens position', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Anläggningen fattade helt eld', +["WEED_NOTIFICATION_NO_PLACE"] = 'Det finns ingen plats att sätta plantan på', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Du är inte hemma eller i en säker zon', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Denna växt behöver inte mer näring', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Objektet hittades inte eller är trasigt', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Du har skördat växten korrekt', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Anläggningen finns inte längre', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Du har inte tillräckligt med påsar för att skörda hela plantan', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Det är inte din växt och du kan inte heller skörda en annan spelares växt', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Du kan inte sätta fler växter i det här hemmet', +} diff --git a/resources/[test]/qs-weed/locales/th.lua b/resources/[test]/qs-weed/locales/th.lua new file mode 100644 index 000000000..6225f4e3c --- /dev/null +++ b/resources/[test]/qs-weed/locales/th.lua @@ -0,0 +1,26 @@ +Locales["th"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - เผาต้นไม้', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - พกต้นไม้', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - กำจัดพืชที่ตายแล้ว', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - พืชเก็บเกี่ยว', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'พิมพ์:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'โภชนาการ:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'สุขภาพ:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'ปลูกพืช...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'กำลังถอดพืช...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'การปลูกพืช...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'โรงงานให้อาหาร...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'คุณเปลี่ยนตำแหน่งโรงงาน', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'โรงงานถูกไฟไหม้อย่างสมบูรณ์', +["WEED_NOTIFICATION_NO_PLACE"] = 'ไม่มีที่วางต้นไม้', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'คุณไม่ได้อยู่ที่บ้านหรืออยู่ในเขตปลอดภัย', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'พืชชนิดนี้ไม่ต้องการสารอาหารเพิ่มเติม', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'ไม่พบวัตถุหรือเสียหาย', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'คุณได้เก็บเกี่ยวพืชอย่างถูกต้อง', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'โรงงานไม่มีอยู่อีกต่อไป', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'คุณมีถุงไม่เพียงพอที่จะเก็บเกี่ยวทั้งต้น', +["WEED_NOTIFICATION_NOT_PLANT"] = 'ไม่ใช่ต้นไม้ของคุณ และคุณไม่สามารถเก็บเกี่ยวพืชของผู้เล่นคนอื่นได้', +["WEED_NOTIFICATION_NO_PLANTS"] = 'คุณไม่สามารถปลูกต้นไม้เพิ่มในบ้านนี้ได้', +} diff --git a/resources/[test]/qs-weed/locales/tk.lua b/resources/[test]/qs-weed/locales/tk.lua new file mode 100644 index 000000000..97740ca1d --- /dev/null +++ b/resources/[test]/qs-weed/locales/tk.lua @@ -0,0 +1,26 @@ +Locales["tk"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Burn plant', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Carry plant', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Remove dead plant', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Harvest plant', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrition:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Health:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Growing plant...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Removing plant...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Planting plant...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Feeding plant...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'You changed the plant position', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'The plant caught fire completely', +["WEED_NOTIFICATION_NO_PLACE"] = 'There is no place to put the plant', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'You are not at your home or in a safe zone', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'This plant does not need more nutrition', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'The object was not found or is broken', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'You have harvested the plant correctly', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'The plant no longer exists', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'You do not have enough bags to harvest the entire plant', +["WEED_NOTIFICATION_NOT_PLANT"] = 'It is not your plant nor can you harvest another player\'s plant', +["WEED_NOTIFICATION_NO_PLANTS"] = 'You cannot put more plants in this home', +} diff --git a/resources/[test]/qs-weed/locales/tr.lua b/resources/[test]/qs-weed/locales/tr.lua new file mode 100644 index 000000000..2514992f5 --- /dev/null +++ b/resources/[test]/qs-weed/locales/tr.lua @@ -0,0 +1,26 @@ +Locales["tr"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Tesisi yakmak', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Bitkiyi taşı', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Ölü bitkiyi kaldır', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Hasat tesisi', +["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tip:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Beslenme:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Sağlık:', + +["WEED_PROGRESS_GROWING_PLANT"] = 'Büyüyen bitki...', +["WEED_PROGRESS_REMOVE_PLANT"] = 'Bitki kaldırılıyor...', +["WEED_PROGRESS_PLANTING_PLANT"] = 'Bitki dikmek...', +["WEED_PROGRESS_NUTRITION_PLANT"] = 'Besleme tesisi...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = 'Tesis konumunu değiştirdiniz', +["WEED_NOTIFICATION_FIRE_PLANT"] = 'Fabrika tamamen alev aldı', +["WEED_NOTIFICATION_NO_PLACE"] = 'Bitkiyi koyacak yer yok', +["WEED_NOTIFICATION_SAFE_ZONE"] = 'Evinizde veya güvenli bir bölgede değilsiniz', +["WEED_NOTIFICATION_NO_NUTRITION"] = 'Bu bitkinin daha fazla beslenmeye ihtiyacı yok', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Nesne bulunamadı veya bozuk', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Bitkiyi doğru şekilde hasat ettiniz', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Bitki artık mevcut değil', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Bitkinin tamamını hasat etmeye yetecek kadar torbanız yok', +["WEED_NOTIFICATION_NOT_PLANT"] = 'Bu sizin bitkiniz değil, başka bir oyuncunun bitkisini de hasat edemezsiniz', +["WEED_NOTIFICATION_NO_PLANTS"] = 'Bu eve daha fazla bitki koyamazsınız', +} diff --git a/resources/[test]/qs-weed/locales/zh-CN.lua b/resources/[test]/qs-weed/locales/zh-CN.lua new file mode 100644 index 000000000..52831bdb9 --- /dev/null +++ b/resources/[test]/qs-weed/locales/zh-CN.lua @@ -0,0 +1,26 @@ +Locales["zh-CN"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - 燃烧植物', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - 携带植物', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - 移除死去的植物', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - 收获植物', +["WEED_DRAWTEXT_TYPE_STATUS"] = '类型:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = '营养:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = '健康:', + +["WEED_PROGRESS_GROWING_PLANT"] = '正在生长的植物...', +["WEED_PROGRESS_REMOVE_PLANT"] = '移除植物...', +["WEED_PROGRESS_PLANTING_PLANT"] = '种植植物...', +["WEED_PROGRESS_NUTRITION_PLANT"] = '饲料厂...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = '你改变了植物的位置', +["WEED_NOTIFICATION_FIRE_PLANT"] = '工厂完全着火了', +["WEED_NOTIFICATION_NO_PLACE"] = '没有地方可以放置植物', +["WEED_NOTIFICATION_SAFE_ZONE"] = '您不在家或不在安全区', +["WEED_NOTIFICATION_NO_NUTRITION"] = '这种植物不需要更多的营养', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = '未找到该对象或该对象已损坏', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = '您已正确收获植物', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = '该工厂已不复存在', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = '您没有足够的袋子来收获整个植物', +["WEED_NOTIFICATION_NOT_PLANT"] = '这不是你的植物,你也不能收获其他玩家的植物', +["WEED_NOTIFICATION_NO_PLANTS"] = '你不能在这个家里放置更多的植物', +} diff --git a/resources/[test]/qs-weed/locales/zh-TW.lua b/resources/[test]/qs-weed/locales/zh-TW.lua new file mode 100644 index 000000000..e6635fa1a --- /dev/null +++ b/resources/[test]/qs-weed/locales/zh-TW.lua @@ -0,0 +1,26 @@ +Locales["zh-TW"] = { +["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - 燃燒植物', +["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - 攜帶植物', +["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - 移除已死的植物', +["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - 收穫植物', +["WEED_DRAWTEXT_TYPE_STATUS"] = '類型:', +["WEED_DRAWTEXT_NUTRITION_STATUS"] = '營養:', +["WEED_DRAWTEXT_HEALTH_STATUS"] = '健康:', + +["WEED_PROGRESS_GROWING_PLANT"] = '正在生長的植物...', +["WEED_PROGRESS_REMOVE_PLANT"] = '移除植物...', +["WEED_PROGRESS_PLANTING_PLANT"] = '種植植物...', +["WEED_PROGRESS_NUTRITION_PLANT"] = '飼料廠...', + +["WEED_NOTIFICATION_PUT_OBJECT"] = '你改變了植物的位置', +["WEED_NOTIFICATION_FIRE_PLANT"] = '工廠完全著火了', +["WEED_NOTIFICATION_NO_PLACE"] = '沒有地方可以放置植物', +["WEED_NOTIFICATION_SAFE_ZONE"] = '您不在家或不在安全區', +["WEED_NOTIFICATION_NO_NUTRITION"] = '這種植物不需要更多的營養', +["WEED_NOTIFICATION_BROKEN_OBJECT"] = '未找到該物件或該物件已損壞', +["WEED_NOTIFICATION_HARVESTED_PLANT"] = '您已正確收穫植物', +["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = '該工廠已不復存在', +["WEED_NOTIFICATION_PLANT_NO_BAGS"] = '您沒有足夠的袋子來收穫整株植物', +["WEED_NOTIFICATION_NOT_PLANT"] = '這不是你的植物,你也不能收穫其他玩家的植物', +["WEED_NOTIFICATION_NO_PLANTS"] = '你不能在這個家裡放置更多的植物', +} diff --git a/resources/[test]/qs-weed/server/custom/framework/esx.lua b/resources/[test]/qs-weed/server/custom/framework/esx.lua new file mode 100644 index 000000000..51ff56e14 --- /dev/null +++ b/resources/[test]/qs-weed/server/custom/framework/esx.lua @@ -0,0 +1,54 @@ +if Config.Framework ~= 'esx' then + return +end + +ESX = exports['es_extended']:getSharedObject() + +RegisterNetEvent('esx:playerLoaded', function(id, data) + Wait(2000) + Debug('Loaded player:', id) + CreateQuests(id) +end) + +CreateThread(function() + for k, v in pairs(ESX.Players) do + if v and v.source then + Debug('Loaded player:', v.source) + CreateQuests(v.source) + end + end +end) + +function RegisterServerCallback(name, cb) + ESX.RegisterServerCallback(name, cb) +end + +function RegisterUsableItem(name, cb) + ESX.RegisterUsableItem(name, cb) +end + +function GetPlayerFromId(source) + return ESX.GetPlayerFromId(source) +end + +function GetItem(player, item) + return player.getInventoryItem(item) +end + +function AddItem(source, item, count) + local player = GetPlayerFromId(source) + local success = player.addInventoryItem(item, count) + if GetResourceState('ox_inventory'):find('started') then + Debug('ox_inventory add item success:::', success) + return success + end + return true +end + +---@param source string +---@param item string +---@param count number +function RemoveItem(source, item, count) + local player = GetPlayerFromId(source) + player.removeInventoryItem(item, count) +end diff --git a/resources/[test]/qs-weed/server/custom/framework/qb.lua b/resources/[test]/qs-weed/server/custom/framework/qb.lua new file mode 100644 index 000000000..b125b8fbe --- /dev/null +++ b/resources/[test]/qs-weed/server/custom/framework/qb.lua @@ -0,0 +1,47 @@ +if Config.Framework ~= 'qb' then + return +end + +QBCore = exports['qb-core']:GetCoreObject() + +RegisterNetEvent('QBCore:Server:OnPlayerLoaded', function() + local src = source + CreateQuests(src) +end) + +CreateThread(function() + for k, v in pairs(QBCore.Functions.GetPlayers()) do + if v then + Debug('Loaded player:', v) + CreateQuests(v) + end + end +end) + +function RegisterServerCallback(name, cb) + QBCore.Functions.CreateCallback(name, cb) +end + +function RegisterUsableItem(name, cb) + QBCore.Functions.CreateUseableItem(name, cb) +end + +function GetPlayerFromId(source) + return QBCore.Functions.GetPlayer(source) +end + +function GetItem(player, item) + local data = player.Functions.GetItemByName(item) + data.count = data.amount + return data +end + +function AddItem(source, item, count) + local player = GetPlayerFromId(source) + return player.Functions.AddItem(item, count) +end + +function RemoveItem(source, item, count, slot) + local player = GetPlayerFromId(source) + player.Functions.RemoveItem(item, count, slot) +end diff --git a/resources/[test]/qs-weed/server/custom/framework/qbx.lua b/resources/[test]/qs-weed/server/custom/framework/qbx.lua new file mode 100644 index 000000000..a68c48893 --- /dev/null +++ b/resources/[test]/qs-weed/server/custom/framework/qbx.lua @@ -0,0 +1,44 @@ +if Config.Framework ~= 'qbx' then + return +end + +QBCore = exports['qb-core']:GetCoreObject() + +RegisterNetEvent('QBCore:Server:OnPlayerLoaded', function() + local src = source + CreateQuests(src) +end) + +CreateThread(function() + for k, v in pairs(QBCore.Functions.GetPlayers()) do + if v then + Debug('Loaded player:', v) + CreateQuests(v) + end + end +end) + +function RegisterServerCallback(name, cb) + QBCore.Functions.CreateCallback(name, cb) +end + +function RegisterUsableItem(name, cb) + exports.qbx_core:CreateUseableItem(name, cb) +end + +function GetPlayerFromId(source) + return exports.qbx_core:GetPlayer(source) +end + +function GetItem(player, item) + local data = exports.ox_inventory:GetItem(player.PlayerData.source, item, nil, false) + return data +end + +function AddItem(source, item, count) + exports.ox_inventory:AddItem(source, item, count) +end + +function RemoveItem(source, item, count) + exports.ox_inventory:RemoveItem(source, item, count) +end diff --git a/resources/[test]/qs-weed/server/custom/framework/standalone.lua b/resources/[test]/qs-weed/server/custom/framework/standalone.lua new file mode 100644 index 000000000..4b67d8201 --- /dev/null +++ b/resources/[test]/qs-weed/server/custom/framework/standalone.lua @@ -0,0 +1,104 @@ +if Config.Framework ~= 'standalone' then + return +end + +local oxHas = GetResourceState('ox_inventory') == 'started' + +-- ESX Callbacks +local serverCallbacks = {} + +local clientRequests = {} +local RequestId = 0 + +---@param eventName string +---@param callback function +RegisterServerCallback = function(eventName, callback) + serverCallbacks[eventName] = callback +end + +exports('RegisterServerCallback', RegisterServerCallback) + +RegisterNetEvent('weed:triggerServerCallback', function(eventName, requestId, invoker, ...) + if not serverCallbacks[eventName] then + return print(('[^1ERROR^7] Server Callback not registered, name: ^5%s^7, invoker resource: ^5%s^7'):format(eventName, invoker)) + end + + local source = source + + serverCallbacks[eventName](source, function(...) + TriggerClientEvent('weed:serverCallback', source, requestId, invoker, ...) + end, ...) +end) + +---@param player number playerId +---@param eventName string +---@param callback function +---@param ... any +TriggerClientCallback = function(player, eventName, callback, ...) + clientRequests[RequestId] = callback + + TriggerClientEvent('weed:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or 'unknown', ...) + + RequestId = RequestId + 1 +end + +RegisterNetEvent('weed:clientCallback', function(requestId, invoker, ...) + if not clientRequests[requestId] then + return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) + end + + clientRequests[requestId](...) + clientRequests[requestId] = nil +end) + +function RegisterUsableItem(name, cb) + ImplementError('RegisterUsableItem is not supported with standalone') + return false +end + +function GetPlayerFromId(source) + return { + source = source, + identifier = GetIdentifier(source) + } +end + +function GetPlayerFromIdentifier(identifier) + identifier = string.gsub(identifier, ' ', '') + local players = GetPlayers() + for k, v in pairs(players) do + if GetIdentifier(v) == identifier then + return { + source = v, + identifier = identifier + } + end + end + return nil +end + +function GetIdentifier(source) + ImplementError('Get Identifier : You need to implement this function for your framework.') + for k, v in pairs(GetPlayerIdentifiers(source)) do + if string.sub(v, 1, string.len('license:')) == 'license:' then + return v:gsub('license:', '') + end + end + return nil +end + +function GetItem(player, item) + ImplementError('GetItem : You need to implement this function for your framework.') + return true +end + +function AddItem(source, item, count) + ImplementError('AddItem : You need to implement this function for your framework.') +end + +function RemoveItem(source, item, count, slot) + if oxHas then + return exports.ox_inventory:RemoveItem(source, item, count, nil) + end + ImplementError('RemoveItem : You need to implement this function for your framework.') +end diff --git a/resources/[test]/qs-weed/server/custom/missions.lua b/resources/[test]/qs-weed/server/custom/missions.lua new file mode 100644 index 000000000..5b087be18 --- /dev/null +++ b/resources/[test]/qs-weed/server/custom/missions.lua @@ -0,0 +1,54 @@ +function CreateQuests(source) + if GetResourceState('qs-inventory') ~= 'started' then + Debug('qs-inventory not started, skipping weed quest creation.') + return + end + + local quest1 = exports['qs-inventory']:createQuest(source, { + name = 'plant_weed_home', + title = 'Green Beginnings', + description = 'Plant your first weed plant inside your house.', + reward = 200, + requiredLevel = 1 + }) + + local quest2 = exports['qs-inventory']:createQuest(source, { + name = 'feed_weed_home', + title = 'Plant Caretaker', + description = 'Give nutrition to a weed plant growing in your house.', + reward = 150, + requiredLevel = 1 + }) + + local quest3 = exports['qs-inventory']:createQuest(source, { + name = 'harvest_weed_home', + title = 'First Harvest', + description = 'Harvest your first batch of home-grown weed.', + reward = 300, + requiredLevel = 2 + }) + + local quest4 = exports['qs-inventory']:createQuest(source, { + name = 'remove_dead_plant', + title = 'Clean Grower', + description = 'Remove a dead weed plant from your house.', + reward = 150, + requiredLevel = 1 + }) + + local quest5 = exports['qs-inventory']:createQuest(source, { + name = 'move_weed_plant', + title = 'Rearranging Nature', + description = 'Move a weed plant to a new position inside your house.', + reward = 150, + requiredLevel = 1 + }) + + Debug('Weed quests assigned to player:', source, { + plant_weed_home = quest1, + feed_weed_home = quest2, + harvest_weed_home = quest3, + remove_dead_plant = quest4, + move_weed_plant = quest5 + }) +end diff --git a/resources/[test]/qs-weed/server/main.lua b/resources/[test]/qs-weed/server/main.lua new file mode 100644 index 000000000..266b4a13b Binary files /dev/null and b/resources/[test]/qs-weed/server/main.lua differ diff --git a/resources/[test]/qs-weed/shared/config.lua b/resources/[test]/qs-weed/shared/config.lua new file mode 100644 index 000000000..fc98ad7a5 --- /dev/null +++ b/resources/[test]/qs-weed/shared/config.lua @@ -0,0 +1,275 @@ +--[[ + Welcome to the qs-weed configuration guide! + + Before you start setting up your new asset, take a moment to read this guide carefully. + We’ll walk you through each key part of the configuration step by step, ensuring you can + tailor everything to perfectly match your server’s requirements. + + Key configuration sections will be marked clearly, like this one you’re reading now. + In these sections, we’ll break down each setting available in this file to help you understand + and configure it with ease. + + Flexibility is a priority here. Most of the settings are customizable, allowing you to adapt + them to your framework, whether it's ESX, QBCore, or another. You’ll find all configurable files + located in `client/custom/*` for client-side adjustments or `server/custom/*` for server-side changes. + + Before diving in, please review our complete documentation for detailed guidance: + https://docs.quasar-store.com/information/welcome + + This resource is fully customizable, making it simple to adjust features to fit your server’s needs. + Take your time exploring and enjoy building your weed management system! +]] + +Config = {} +Locales = {} + +--[[ + Choose your preferred language! + + In this section, you can select the main language for your asset. We have a wide + selection of default languages available, located in the locales/* folder. + + If your language is not listed, don't worry! You can easily create a new one + by adding a new file in the locales folder and customizing it to your needs. + + Default languages available: + 'ar' -- Arabic + 'bg' -- Bulgarian + 'ca' -- Catalan + 'cs' -- Czech + 'da' -- Danish + 'de' -- German + 'el' -- Greek + 'en' -- English + 'es' -- Spanish + 'fa' -- Persian + 'fr' -- French + 'he' -- Hebrew + 'hi' -- Hindi + 'hu' -- Hungarian + 'it' -- Italian + 'ja' -- Japanese + 'ko' -- Korean + 'nl' -- Dutch + 'no' -- Norwegian + 'pl' -- Polish + 'pt' -- Portuguese + 'ro' -- Romanian + 'ru' -- Russian + 'sl' -- Slovenian + 'sv' -- Swedish + 'th' -- Thai + 'tr' -- Turkish + 'zh-CN' -- Chinese (Simplified) + 'zh-TW' -- Chinese (Traditional) + + After selecting your preferred language, be sure to save your changes and test + the asset to ensure everything works as expected! +]] + +Config.Language = 'en' + +--[[ + The current system will automatically detect if you are using 'qb-core' or 'es_extended'. + However, if you have renamed your framework, you can clear the value in `Config.Framework` + and manually add your framework name after adjusting the framework-specific files within + this script. + + Keep in mind that this detection is automated. Avoid making edits here unless you’re certain + of the changes, as incorrect modifications can disrupt functionality. +]] + +local esxHas = GetResourceState('es_extended') == 'started' +local qbHas = GetResourceState('qb-core') == 'started' +local qbxHas = GetResourceState('qbx_core') == 'started' + +Config.Framework = esxHas and 'esx' or qbxHas and 'qbx' or qbHas and 'qb' or 'standalone' + +--[[ + General asset settings: here you can adjust options like the growth time for plants + or add random areas on the map for plantations. + + Please avoid modifying the final settings, as changing them could disrupt the functionality + of the asset. +]] + +Config.PoliceJobs = { -- Specify jobs that have permission for creating houses + 'police', + 'sheriff' +} + +Config.HarvestTime = (60 * 1000) * 9.6 -- Growth time in milliseconds +Config.MaxPlants = 10 -- Maximum number of plants allowed per house + +Config.WeedArea = { -- Define random plantation areas on the map + { + id = 'weed-area-01', + minZ = 1, + maxZ = 800, + points = { + vec3(3140.91, 4104.55, 77.57), + vec3(2092.42, 1953.03, 77.57), + vec3(3122.73, 1595.45, 77.57), + vec3(3728.79, 3989.39, 77.57) + } + } +} + +--[[ + Do not modify this section; any changes may disrupt the asset’s functionality. + + Config.Props defines the various stages of weed growth with specific models. + These props correspond to different stages, from initial planting ('stage-a') + through full growth ('stage-g'). +]] + +Config.UseableItems = { + { + itemName = 'weed_white-widow_seed', + plantName = 'white-widow', + bagCount = 15, -- Need empty_weed_bag count to plant + harvestAmount = 2 + }, + { + itemName = 'weed_white-weed_skunk_seed', + plantName = 'skunk', + bagCount = 15, -- Need empty_weed_bag count to plant + harvestAmount = 2 + }, + { + itemName = 'weed_purple-haze_seed', + plantName = 'purple-haze', + bagCount = 15, -- Need empty_weed_bag count to plant + harvestAmount = 2 + }, + { + itemName = 'weed_og-kush_seed', + plantName = 'og-kush', + bagCount = 15, -- Need empty_weed_bag count to plant + harvestAmount = 2 + }, + { + itemName = 'weed_amnesia_seed', + plantName = 'amnesia', + bagCount = 15, -- Need empty_weed_bag count to plant + harvestAmount = 2 + }, + { + itemName = 'weed_ak47_seed', + plantName = 'ak47', + bagCount = 15, -- Need empty_weed_bag count to plant + harvestAmount = 2 + }, + { + itemName = 'weed_nutrition', + }, +} + +Config.Plants = { + ['og-kush'] = { + ['label'] = 'OG Kush', + ['item'] = 'ogkush', + ['stages'] = { + ['stage-a'] = 'bkr_prop_weed_01_small_01c', + ['stage-b'] = 'bkr_prop_weed_01_small_01b', + ['stage-c'] = 'bkr_prop_weed_01_small_01a', + ['stage-d'] = 'bkr_prop_weed_med_01b', + ['stage-e'] = 'bkr_prop_weed_lrg_01a', + ['stage-f'] = 'bkr_prop_weed_lrg_01b', + ['stage-g'] = 'bkr_prop_weed_lrg_01b', + }, + ['highestStage'] = 'stage-g' + }, + ['amnesia'] = { + ['label'] = 'Amnesia', + ['item'] = 'amnesia', + ['stages'] = { + ['stage-a'] = 'bkr_prop_weed_01_small_01c', + ['stage-b'] = 'bkr_prop_weed_01_small_01b', + ['stage-c'] = 'bkr_prop_weed_01_small_01a', + ['stage-d'] = 'bkr_prop_weed_med_01b', + ['stage-e'] = 'bkr_prop_weed_lrg_01a', + ['stage-f'] = 'bkr_prop_weed_lrg_01b', + ['stage-g'] = 'bkr_prop_weed_lrg_01b', + }, + ['highestStage'] = 'stage-g' + }, + ['skunk'] = { + ['label'] = 'Skunk', + ['item'] = 'skunk', + ['stages'] = { + ['stage-a'] = 'bkr_prop_weed_01_small_01c', + ['stage-b'] = 'bkr_prop_weed_01_small_01b', + ['stage-c'] = 'bkr_prop_weed_01_small_01a', + ['stage-d'] = 'bkr_prop_weed_med_01b', + ['stage-e'] = 'bkr_prop_weed_lrg_01a', + ['stage-f'] = 'bkr_prop_weed_lrg_01b', + ['stage-g'] = 'bkr_prop_weed_lrg_01b', + }, + ['highestStage'] = 'stage-g' + }, + ['ak47'] = { + ['label'] = 'AK 47', + ['item'] = 'ak47', + ['stages'] = { + ['stage-a'] = 'bkr_prop_weed_01_small_01c', + ['stage-b'] = 'bkr_prop_weed_01_small_01b', + ['stage-c'] = 'bkr_prop_weed_01_small_01a', + ['stage-d'] = 'bkr_prop_weed_med_01b', + ['stage-e'] = 'bkr_prop_weed_lrg_01a', + ['stage-f'] = 'bkr_prop_weed_lrg_01b', + ['stage-g'] = 'bkr_prop_weed_lrg_01b', + }, + ['highestStage'] = 'stage-g' + }, + ['purple-haze'] = { + ['label'] = 'Purple Haze', + ['item'] = 'purplehaze', + ['stages'] = { + ['stage-a'] = 'bkr_prop_weed_01_small_01c', + ['stage-b'] = 'bkr_prop_weed_01_small_01b', + ['stage-c'] = 'bkr_prop_weed_01_small_01a', + ['stage-d'] = 'bkr_prop_weed_med_01b', + ['stage-e'] = 'bkr_prop_weed_lrg_01a', + ['stage-f'] = 'bkr_prop_weed_lrg_01b', + ['stage-g'] = 'bkr_prop_weed_lrg_01b', + }, + ['highestStage'] = 'stage-g' + }, + ['white-widow'] = { + ['label'] = 'White Widow', + ['item'] = 'whitewidow', + ['stages'] = { + ['stage-a'] = 'bkr_prop_weed_01_small_01c', + ['stage-b'] = 'bkr_prop_weed_01_small_01b', + ['stage-c'] = 'bkr_prop_weed_01_small_01a', + ['stage-d'] = 'bkr_prop_weed_med_01b', + ['stage-e'] = 'bkr_prop_weed_lrg_01a', + ['stage-f'] = 'bkr_prop_weed_lrg_01b', + ['stage-g'] = 'bkr_prop_weed_lrg_01b', + }, + ['highestStage'] = 'stage-g' + }, +} + +Config.Props = { + ['stage-a'] = 'bkr_prop_weed_01_small_01c', + ['stage-b'] = 'bkr_prop_weed_01_small_01b', + ['stage-c'] = 'bkr_prop_weed_01_small_01a', + ['stage-d'] = 'bkr_prop_weed_med_01b', + ['stage-e'] = 'bkr_prop_weed_lrg_01a', + ['stage-f'] = 'bkr_prop_weed_lrg_01b', + ['stage-g'] = 'bkr_prop_weed_lrg_01b', +} + +local implemenetCaches = {} -- Internal cache for tracking error implementations, do not modify +-- Function to handle error implementations +function ImplementError(name) + if implemenetCaches[name] then + return + end + print('^1[IMPLEMENT ERROR]^7', name) -- Outputs an error message with the name of the issue + implemenetCaches[name] = true -- Caches the name to prevent repeated error messages +end + +Config.Debug = true -- Enable debug mode diff --git a/resources/[test]/qs-weed/shared/functions.lua b/resources/[test]/qs-weed/shared/functions.lua new file mode 100644 index 000000000..d2d1f3d91 Binary files /dev/null and b/resources/[test]/qs-weed/shared/functions.lua differ