diff --git a/dist/html-static/js/backupRestore.js b/dist/html-static/js/backupRestore.js index bffbfcc3f..78dc819a8 100644 --- a/dist/html-static/js/backupRestore.js +++ b/dist/html-static/js/backupRestore.js @@ -175,6 +175,8 @@ require.config({ 'vs': 'https://cdn.jsdelivr.net/npm/monaco-editor@0.50.0/min/vs' } }); + + require(['vs/editor/editor.main'], function() { const colorScheme = detectColorScheme(); let vsCodeTheme = "vs"; // Default theme diff --git a/dist/html-static/js/clabEditor.js b/dist/html-static/js/clabEditor.js index bbe0c6108..959f94adf 100644 --- a/dist/html-static/js/clabEditor.js +++ b/dist/html-static/js/clabEditor.js @@ -5,6 +5,7 @@ var yamlTopoContent; let monacoEditorReady = new Promise((resolve) => { // Configure Monaco Editor paths require.config({ paths: { 'vs': ' https://cdn.jsdelivr.net/npm/monaco-editor@0.50.0/min/vs' }}); + // require.config({ paths: { 'vs': 'js/library/monaco-loader.js' }}); require(['vs/editor/editor.main'], function() { @@ -38,9 +39,11 @@ function showPanelContainerlabEditor(event) { } // Close button event listener -document.getElementById("panel-clab-editor-close-button").addEventListener("click", () => { - document.getElementById("panel-clab-editor").style.display = "none"; -}); +function closePanelContainerlabEditor() { + const editorPanel = document.getElementById("panel-clab-editor"); + editorPanel.style.display = "none"; +} + // Function to load a file into the editor function clabEditorLoadFile() { @@ -67,73 +70,119 @@ function clabEditorLoadFile() { }; } -async function clabEditorAddNode(nodeId, nodeName = "Spine-01", kind ='nokia_srlinux', image = 'ghcr.io/nokia/srlinux:latest', group = 'group-01', topoViewerRole = 'dcgw') { + +async function clabEditorAddNode(nodeId, nodeName = "Spine-01", kind = 'nokia_srlinux', image = 'ghcr.io/nokia/srlinux:latest', group = 'group-01', topoViewerRole = 'dcgw') { + // Ensure the Monaco Editor is initialized await monacoEditorReady; + // Validate required parameters if (!kind || !image || !group || !topoViewerRole) { console.error("All parameters (kind, image, group, topoViewerRole) must be provided."); + bulmaToast.toast({ + message: `All parameters (kind, image, group, topoViewerRole) must be provided.`, + type: "is-danger", + duration: 4000, + position: "top-center", + closeOnClick: true, + }); return; } - // Get the content of the Monaco Editor - let editorContent = window.monacoEditor.getValue(); - console.log ("editorContent - clabEditorAddNode: ", editorContent); // Debug: log editorContent - nodeId = (`### ${nodeId}`); - - // Updated regex pattern to capture nodeName if it exists under the specified nodeId - const existingNodeRegex = new RegExp(`${nodeId}\\s*\\n\\s+(\\S+):`, 'm'); - - const match = editorContent.match(existingNodeRegex); - const oldNodeName = match ? match[1] : null; - - console.log("oldNodeName: ", oldNodeName); // Debug: log oldNodeName - - // Node definition template with the new nodeName - const nodeDefinition = -`${nodeId} - ${nodeName}: - kind: ${kind} - image: ${image} - group: ${group} - labels: - topoViewer-role: ${topoViewerRole} - -`; - - // Insert or update the node definition in the "nodes" section - const nodesSectionIndex = editorContent.search(/^\s*nodes:/m); - const nodeRegex = new RegExp(`\\s*${nodeId}\\s*\\n(\\s*.*\\n)*?\\s*topoViewer-role: .*\\n`, 'g'); - - if (nodesSectionIndex !== -1) { - const insertionIndex = editorContent.indexOf(" links:", nodesSectionIndex); - const endOfNodesSection = insertionIndex !== -1 ? insertionIndex : editorContent.length; - const nodesSection = editorContent.slice(nodesSectionIndex, endOfNodesSection); - - if (nodesSection.match(nodeRegex)) { - // Replace the existing node - editorContent = editorContent.replace(nodeRegex, - `\n\n${nodeId}\n ${nodeName}:\n kind: ${kind}\n image: ${image}\n group: ${group}\n labels:\n topoViewer-role: ${topoViewerRole}\n`); + try { + // Get the current YAML content from the Monaco Editor + let editorContent = window.monacoEditor.getValue(); + console.log("editorContent - clabEditorAddNode: ", editorContent); // Debug: log editorContent + + // Parse the YAML content into a JavaScript object + let yamlData = jsyaml.load(editorContent) || {}; + + // Ensure the 'topology' and 'topology.nodes' sections exist + if (!yamlData.topology) { + yamlData.topology = {}; + console.log("'topology' section not found. Initialized as an empty object."); + } + + if (!yamlData.topology.nodes) { + yamlData.topology.nodes = {}; + console.log("'topology.nodes' section not found. Initialized as an empty object."); + } else if (typeof yamlData.topology.nodes !== 'object') { + throw new Error("The 'topology.nodes' section is not an object."); + } + + // Define the new node structure + const newNode = { + kind: kind, + image: image, + group: group, + labels: { + "topoViewer-role": topoViewerRole + } + }; + + // Check if the node already exists + const existingNode = yamlData.topology.nodes[nodeId]; + const oldNodeName = existingNode ? existingNode.nodeName : null; + + if (existingNode) { + console.log(`Node "${nodeId}" exists. Updating its properties.`); } else { - // Insert the new node at the end of the nodes section - editorContent = editorContent.slice(0, endOfNodesSection) + nodeDefinition + editorContent.slice(endOfNodesSection); + console.log(`Node "${nodeId}" does not exist. Adding as a new node.`); } - } else { - // Append if "nodes" section doesn't exist - editorContent += (editorContent.endsWith("\n") ? "" : "\n") + nodeDefinition; - } - // Update the links section if oldNodeName exists - if (oldNodeName && oldNodeName !== nodeName) { - // Updated regex to match oldNodeName in any position in the endpoints array - const linksRegex = new RegExp(`(endpoints:\\s*\\[\\s*".*?)(\\b${oldNodeName}\\b)(:.*?)\\]`, 'g'); - editorContent = editorContent.replace(linksRegex, `$1${nodeName}$3]`); - } + // Add or update the node in the 'topology.nodes' section + yamlData.topology.nodes[nodeId] = newNode; + console.log(`Node "${nodeId}" added/updated in YAML data.`); + + // If the node name has changed, update references in the 'links' section + if (oldNodeName && oldNodeName !== nodeName) { + if (yamlData.topology.links && Array.isArray(yamlData.topology.links)) { + yamlData.topology.links.forEach(link => { + link.endpoints = link.endpoints.map(endpoint => { + // Replace oldNodeName with new nodeName in endpoints + return endpoint.replace(new RegExp(`\\b${oldNodeName}\\b`), nodeName); + }); + }); + console.log(`Updated 'links' section with the new nodeName "${nodeName}".`); + } else { + console.warn("The 'topology.links' section is missing or not an array. Skipping link updates."); + } + } + + // Serialize the updated JavaScript object back to YAML + const updatedYaml = jsyaml.dump(yamlData); + console.log("Updated YAML content:", updatedYaml); // Debug: log updated YAML + + // Update the Monaco Editor with the new YAML content + window.monacoEditor.setValue(updatedYaml); + yamlTopoContent = updatedYaml; // Update the global or relevant state variable + + console.log("YAML topology updated successfully with the new/updated node."); - // Update the content of the Monaco Editor - window.monacoEditor.setValue(editorContent); - yamlTopoContent = editorContent; + // Optionally, persist the changes to the backend + await clabEditorSaveYamlTopo(); + console.log("Changes have been persisted to the backend."); + + // Notify the user of the successful operation + bulmaToast.toast({ + message: `Node "${nodeId}" has been successfully added/updated.`, + type: "is-success", + duration: 3000, + position: "top-center", + closeOnClick: true, + }); + } catch (error) { + console.error("Error while adding/updating node in YAML:", error); + bulmaToast.toast({ + message: `Failed to add/update node: ${error.message}`, + type: "is-danger", + duration: 5000, + position: "top-center", + closeOnClick: true, + }); + } } + async function clabEditorSaveYamlTopo() { // Wait until the Monaco Editor is initialized // await monacoEditorReady; @@ -144,7 +193,7 @@ async function clabEditorSaveYamlTopo() { console.log("clabTopoYamlEditorData - yamlTopoContent: ", clabTopoYamlEditorData) // Dump clabTopoYamlEditorData to be persisted to clab-topo.yaml - const endpointName = '/clab-save-topo-yaml'; + const endpointName = '/clab-topo-yaml-save'; try { // Send the enhanced node data directly without wrapping it in an object @@ -153,36 +202,10 @@ async function clabEditorSaveYamlTopo() { } catch (error) { console.error('Failed to save yaml topo:', error); } + } -function clabEditorAddEdge(sourceCyNode, sourceNodeEndpoint, targetCyNode, targetNodeEndpoint) { - // Get the content of the Monaco Editor - let editorContent = window.monacoEditor.getValue(); - const sourceNodeName = sourceCyNode.data("name"); - const targetNodeName = targetCyNode.data("name"); - - // Edge definition with dynamic endpoints array - const edgeDefinition = ` - - endpoints: ["${sourceNodeName}:${sourceNodeEndpoint}", "${targetNodeName}:${targetNodeEndpoint}"]`; - - // Locate the 'links' section and insert the edge definition at the end of it - const linksIndex = editorContent.indexOf(" links:"); - if (linksIndex !== -1) { - // Find the end of the links section or where the next section begins - const nextSectionIndex = editorContent.indexOf("\n", linksIndex); - const insertionIndex = nextSectionIndex !== -1 ? nextSectionIndex : editorContent.length; - - // Insert the edge definition at the end of the links section - editorContent = editorContent.slice(0, insertionIndex) + edgeDefinition + editorContent.slice(insertionIndex); - } else { - // If no 'links' section exists, append the edge definition at the end of the content - editorContent += "\n links:" + edgeDefinition; - } - - // Update the content of the Monaco Editor - window.monacoEditor.setValue(editorContent); -} async function showPanelNodeEditor(node) { // Remove all Overlayed Panels @@ -331,13 +354,18 @@ function populateKindDropdown(options) { }); } -// Initialize event listeners for the dropdown function initializeDropdownListeners() { const dropdownButton = document.querySelector("#panel-node-kind-dropdown .dropdown-trigger button"); + + if (!dropdownButton) { + console.error("Dropdown button not found in the DOM."); + return; + } + const dropdownContainer = dropdownButton.closest(".dropdown"); - if (!dropdownButton || !dropdownContainer) { - console.error("Dropdown button or container not found in the DOM."); + if (!dropdownContainer) { + console.error("Dropdown container not found in the DOM."); return; } @@ -349,11 +377,15 @@ function initializeDropdownListeners() { // Collapse the dropdown if clicked outside document.addEventListener("click", (event) => { - if (dropdownContainer.classList.contains("is-active")) { + if ( + dropdownContainer.classList.contains("is-active") && + !dropdownContainer.contains(event.target) + ) { dropdownContainer.classList.remove("is-active"); } }); } + // // Initialize dropdown listeners once when the DOM is fully loaded // document.addEventListener("DOMContentLoaded", () => { // initializeDropdownListeners(); @@ -404,13 +436,18 @@ function populateTopoViewerRoleDropdown(options) { }); } -// Initialize event listeners for the dropdown function initializeDropdownTopoViewerRoleListeners() { const dropdownButton = document.querySelector("#panel-node-topoviewerrole-dropdown .dropdown-trigger button"); + + if (!dropdownButton) { + console.error("Dropdown button not found in the DOM."); + return; + } + const dropdownContainer = dropdownButton.closest(".dropdown"); - if (!dropdownButton || !dropdownContainer) { - console.error("Dropdown button or container not found in the DOM."); + if (!dropdownContainer) { + console.error("Dropdown container not found in the DOM."); return; } @@ -422,17 +459,15 @@ function initializeDropdownTopoViewerRoleListeners() { // Collapse the dropdown if clicked outside document.addEventListener("click", (event) => { - if (dropdownContainer.classList.contains("is-active")) { + if ( + dropdownContainer.classList.contains("is-active") && + !dropdownContainer.contains(event.target) + ) { dropdownContainer.classList.remove("is-active"); } }); } -// // Initialize dropdown listeners once when the DOM is fully loaded -// document.addEventListener("DOMContentLoaded", () => { -// initializeDropdownTopoViewerRoleListeners(); -// }); - // Function to save node data from the editor // Adjusted saveNodeToEditorToFile function @@ -471,7 +506,7 @@ async function saveNodeToEditorToFile() { // dump cytoscape node object to nodeData to be persisted to dataCytoMarshall.json var nodeData = cy.$id(nodeId).json(); // Get JSON data of the node with the specified ID - const endpointName = '/clab-save-topo-cyto-json'; + const endpointName = '/clab-add-node-save-topo-cyto-json'; try { // Send the enhanced node data directly without wrapping it in an object @@ -482,9 +517,9 @@ async function saveNodeToEditorToFile() { } // add node to clab editor textarea - clabEditorAddNode(nodeId, nodeName, kind, image, group, topoViewerRole) + await clabEditorAddNode(nodeId, nodeName, kind, image, group, topoViewerRole) - // clabEditorSaveYamlTopo() + await clabEditorSaveYamlTopo() } async function getYamlTopoContent(yamlTopoContent) { @@ -497,7 +532,7 @@ async function getYamlTopoContent(yamlTopoContent) { if (!yamlTopoContent) { // Load the content if yamlTopoContent is empty - yamlTopoContent = await sendRequestToEndpointGetV3("/get-yaml-topo-content"); + yamlTopoContent = await sendRequestToEndpointGetV3("/clab-topo-yaml-get"); } console.log('YAML Topo Content:', yamlTopoContent); @@ -537,4 +572,219 @@ function clabEditorCopyYamlContent() { closeOnClick: true, }); } -} \ No newline at end of file +} + + +async function saveEdgeToEditorToFile(edgeId, sourceCyNode, sourceNodeEndpoint, targetCyNode, targetNodeEndpoint) { + const edgeData = cy.$id(edgeId).json(); // Get JSON data of the edge with the specified ID + const endpointName = '/clab-add-node-save-topo-cyto-json'; + + try { + // Send the enhanced edge data directly without wrapping it in an object + const response = await sendRequestToEndpointPost(endpointName, [edgeData]); + console.log('Edge data saved successfully', response); + } catch (error) { + console.error('Failed to save edge data:', error); + } + + + await clabEditorAddEdge(sourceCyNode, sourceNodeEndpoint, targetCyNode, targetNodeEndpoint) + + await clabEditorSaveYamlTopo() +} + + +// async function clabEditorAddEdge(sourceCyNode, sourceNodeEndpoint, targetCyNode, targetNodeEndpoint) { +// // Get the content of the Monaco Editor +// let editorContent = window.monacoEditor.getValue(); + +// const sourceNodeName = sourceCyNode.data("name"); +// const targetNodeName = targetCyNode.data("name"); + +// // Edge definition with dynamic endpoints array +// const edgeDefinition = ` +// - endpoints: ["${sourceNodeName}:${sourceNodeEndpoint}", "${targetNodeName}:${targetNodeEndpoint}"]`; + +// // Locate the 'links' section and insert the edge definition at the end of it +// const linksIndex = editorContent.indexOf(" links:"); +// if (linksIndex !== -1) { +// // Find the end of the links section or where the next section begins +// const nextSectionIndex = editorContent.indexOf("\n", linksIndex); +// const insertionIndex = nextSectionIndex !== -1 ? nextSectionIndex : editorContent.length; + +// // Insert the edge definition at the end of the links section +// editorContent = editorContent.slice(0, insertionIndex) + edgeDefinition + editorContent.slice(insertionIndex); +// } else { +// // If no 'links' section exists, append the edge definition at the end of the content +// editorContent += "\n links:" + edgeDefinition; +// } + +// // Update the content of the Monaco Editor +// window.monacoEditor.setValue(editorContent); +// yamlTopoContent = editorContent; +// } + +async function clabEditorAddEdge(sourceCyNode, sourceNodeEndpoint, targetCyNode, targetNodeEndpoint) { + // Get the content of the Monaco Editor + let editorContent = window.monacoEditor.getValue(); + let topology; + + try { + // Parse the YAML content into a JavaScript object + yamlData = jsyaml.load(editorContent) || {}; + + } catch (e) { + console.error("Failed to parse YAML content:", e); + return; + } + + const sourceNodeName = sourceCyNode.data("name"); + const targetNodeName = targetCyNode.data("name"); + + // Edge definition with dynamic endpoints array + const edgeDefinition = { + endpoints: [ + `${sourceNodeName}:${sourceNodeEndpoint}`, + `${targetNodeName}:${targetNodeEndpoint}` + ] + }; + + // Ensure the 'links' section exists and is an array + if (!Array.isArray(yamlData.topology.links)) { + yamlData.topology.links = []; + } + + // Add the edge definition to the 'links' section + yamlData.topology.links.push(edgeDefinition); + + // Serialize the updated topology back to YAML + const updatedYaml = jsyaml.dump(yamlData); + + // Update the Monaco Editor with the new YAML content + window.monacoEditor.setValue(updatedYaml); + yamlTopoContent = updatedYaml; // Update the global or relevant state variable +} + + + + + +async function deleteNodeToEditorToFile(node) { + try { + const nodeId = node.id(); + const nodeName = node.data('name'); + + console.log(`Node "${nodeId}" has been removed from Cytoscape.`); + + // dump cytoscape node object to nodeData to be persisted to dataCytoMarshall.json + var nodeData = cy.$id(nodeId).json(); // Get JSON data of the node with the specified ID + const endpointName = '/clab-del-node-save-topo-cyto-json'; + + console.log("nodeId - deleteNodeToEditorToFile: ", nodeId); + + try { + // Send the enhanced node data directly without wrapping it in an object + const response = await sendRequestToEndpointPost(endpointName, [nodeId]); + console.log('Node data saved successfully', response); + } catch (error) { + console.error('Failed to save node data:', error); + } + + // Update the YAML content in the Monaco Editor + await clabEditorDeleteNode(nodeId) + + // // Persist the changes to the backend + // await clabEditorSaveYamlTopo(); + // console.log(`Node "${nodeId}" has been deleted and changes have been saved.`); + + // Remove the node from Cytoscape + cy.remove(node); + + } catch (error) { + console.error(`Failed to delete node "${node.id()}":`, error); + alert(`Failed to delete node "${node.id()}": ${error.message}`); + } +} + +async function clabEditorDeleteNode(nodeId) { + // Ensure the Monaco Editor is initialized + await monacoEditorReady; + + try { + // Get the current YAML content from the Monaco Editor + let editorContent = window.monacoEditor.getValue(); + console.log("editorContent - clabEditorDeleteNode:", editorContent); // Debug: log editorContent + + // Parse the YAML content into a JavaScript object + let yamlData = jsyaml.load(editorContent) || {}; + + // Check if 'topology.nodes' exists and is an object + if (!yamlData.topology || !yamlData.topology.nodes || typeof yamlData.topology.nodes !== 'object') { + throw new Error("The 'topology.nodes' section is missing or invalid."); + } + + // Check if the node exists + if (!yamlData.topology.nodes.hasOwnProperty(nodeId)) { + console.warn(`Node "${nodeId}" does not exist in the topology.`); + bulmaToast.toast({ + message: `Node "${nodeId}" does not exist in the topology.`, + type: "is-warning", + duration: 4000, + position: "top-center", + closeOnClick: true, + }); + return; + } + + // Remove the node from 'topology.nodes' + delete yamlData.topology.nodes[nodeId]; + console.log(`Node "${nodeId}" has been deleted from 'topology.nodes'.`); + + // Remove any links associated with the node + if (yamlData.topology.links && Array.isArray(yamlData.topology.links)) { + const initialLinkCount = yamlData.topology.links.length; + + yamlData.topology.links = yamlData.topology.links.filter(link => { + return !link.endpoints.some(endpoint => endpoint.startsWith(`${nodeId}:`)); + }); + + const removedLinksCount = initialLinkCount - yamlData.topology.links.length; + console.log(`Removed ${removedLinksCount} link(s) associated with node "${nodeId}".`); + } else { + console.warn("The 'topology.links' section is missing or not an array. No links were removed."); + } + + // Serialize the updated JavaScript object back to YAML + const updatedYaml = jsyaml.dump(yamlData); + console.log("Updated YAML content after node deletion:", updatedYaml); // Debug: log updated YAML + + // Update the Monaco Editor with the new YAML content + window.monacoEditor.setValue(updatedYaml); + yamlTopoContent = updatedYaml; // Update the global or relevant state variable + + console.log("YAML topology updated successfully after deleting the node."); + + // Optionally, persist the changes to the backend + await clabEditorSaveYamlTopo(); + console.log("Changes have been persisted to the backend."); + + // Notify the user of the successful operation + bulmaToast.toast({ + message: `Node "${nodeId}" and its associated links have been successfully deleted.`, + type: "is-success", + duration: 3000, + position: "top-center", + closeOnClick: true, + }); + } catch (error) { + console.error("Error while deleting node from YAML:", error); + bulmaToast.toast({ + message: `Failed to delete node: ${error.message}`, + type: "is-danger", + duration: 5000, + position: "top-center", + closeOnClick: true, + }); + } +} + diff --git a/dist/html-static/js/dev.js b/dist/html-static/js/dev.js index cfcdfe064..3ab545d04 100644 --- a/dist/html-static/js/dev.js +++ b/dist/html-static/js/dev.js @@ -19,15 +19,11 @@ var deploymentType document.addEventListener("DOMContentLoaded", async function() { - detectColorScheme() - await changeTitle() - initializeDropdownTopoViewerRoleListeners(); - initializeDropdownListeners(); - + initViewportDrawerClabEditoCheckboxToggle() // Reusable function to initialize a WebSocket connection function initializeWebSocket(url, onMessageCallback) { @@ -55,8 +51,6 @@ document.addEventListener("DOMContentLoaded", async function() { return socket; } - - // WebSocket for uptime // WebSocket for uptime const socketUptime = initializeWebSocket("/uptime", async (msgUptime) => { environments = await getEnvironments(); @@ -144,9 +138,7 @@ document.addEventListener("DOMContentLoaded", async function() { let isEdgeHandlerActive = false; // Flag to track if edge handler is active - - - cy.on('ehcomplete', (event, sourceNode, targetNode, addedEdge) => { + cy.on('ehcomplete', async (event, sourceNode, targetNode, addedEdge) => { console.log(`Edge created from ${sourceNode.id()} to ${targetNode.id()}`); console.log("Added edge:", addedEdge); @@ -159,41 +151,59 @@ document.addEventListener("DOMContentLoaded", async function() { const edgeId = addedEdge.id(); // Extracts the edge ID // Helper function to get the next available endpoint with pattern detection - function getNextEndpoint(nodeId, isSource) { - const edges = cy.edges(`[${isSource ? 'source' : 'target'} = "${nodeId}"]`); + function getNextEndpoint(nodeId) { + // Get all edges connected to the node, both as source and target + const edges = cy.edges(`[source = "${nodeId}"], [target = "${nodeId}"]`); const e1Pattern = /^e1-(\d+)$/; const ethPattern = /^eth(\d+)$/; - let maxEndpoint = 0; - let selectedPattern = e1Pattern; // Default to e1- pattern - + let usedNumbers = new Set(); + let selectedPattern = null; // Determine the pattern based on existing endpoints + edges.forEach(edge => { - const endpoint = edge.data(isSource ? "sourceEndpoint" : "targetEndpoint"); - let match = endpoint ? endpoint.match(e1Pattern) : null; - if (match) { - // If endpoint matches e1- pattern - const endpointNum = parseInt(match[1], 10); - if (endpointNum > maxEndpoint) { - maxEndpoint = endpointNum; - } - } else { - // If endpoint doesn't match e1-, try eth pattern - match = endpoint ? endpoint.match(ethPattern) : null; + // Check both sourceEndpoint and targetEndpoint for the connected node + ['sourceEndpoint', 'targetEndpoint'].forEach(key => { + const endpoint = edge.data(key); + // Skip if the endpoint is not associated with the current node + const isNodeEndpoint = (edge.data('source') === nodeId && key === 'sourceEndpoint') || + (edge.data('target') === nodeId && key === 'targetEndpoint'); + if (!endpoint || !isNodeEndpoint) return; + + let match = endpoint.match(e1Pattern); if (match) { - // Switch to eth pattern if detected - selectedPattern = ethPattern; + // Endpoint matches e1- pattern const endpointNum = parseInt(match[1], 10); - if (endpointNum > maxEndpoint) { - maxEndpoint = endpointNum; + usedNumbers.add(endpointNum); + if (!selectedPattern) selectedPattern = e1Pattern; + } else { + match = endpoint.match(ethPattern); + if (match) { + // Endpoint matches eth pattern + const endpointNum = parseInt(match[1], 10); + usedNumbers.add(endpointNum); + if (!selectedPattern) selectedPattern = ethPattern; } } - } + }); }); - - // Increment max endpoint found and format based on selected pattern + + // If no pattern was detected, default to e1Pattern + if (!selectedPattern) { + selectedPattern = e1Pattern; + } + + // Find the smallest unused number + let endpointNum = 1; + while (usedNumbers.has(endpointNum)) { + endpointNum++; + } + + // Return the new endpoint formatted according to the pattern return selectedPattern === e1Pattern - ? `e1-${maxEndpoint + 1}` - : `eth${maxEndpoint + 1}`; + ? `e1-${endpointNum}` + : `eth${endpointNum}`; } + + // Calculate next available source and target endpoints const sourceEndpoint = getNextEndpoint(sourceNode.id(), true); @@ -203,38 +213,15 @@ document.addEventListener("DOMContentLoaded", async function() { addedEdge.data('sourceEndpoint', sourceEndpoint); addedEdge.data('targetEndpoint', targetEndpoint); - // Save the edge element to file in the server - saveEdgeToFile(edgeId); + await showPanelContainerlabEditor(event) - // Save the edge element to clab editor panel - clabEditorAddEdge(sourceNode, sourceEndpoint, targetNode, targetEndpoint); + // Save the edge element to file in the server CY and Yaml + await saveEdgeToEditorToFile(edgeId, sourceNode, sourceEndpoint, targetNode, targetEndpoint); }); - async function saveEdgeToFile(edgeId) { - const edgeData = cy.$id(edgeId).json(); // Get JSON data of the edge with the specified ID - const endpointName = '/clab-save-topo-cyto-json'; - - try { - // Send the enhanced edge data directly without wrapping it in an object - const response = await sendRequestToEndpointPost(endpointName, [edgeData]); - console.log('Edge data saved successfully', response); - } catch (error) { - console.error('Failed to save edge data:', error); - } - } - - - - // cy.on('remove', 'edge', () => { - // saveEdgeToFile(); - // }); - - - loadCytoStyle(); function loadCytoStyle() { - // detect light or dark mode const colorScheme = detectColorScheme(); console.log('The user prefers:', colorScheme); @@ -276,7 +263,6 @@ document.addEventListener("DOMContentLoaded", async function() { // Enable grid guide extension cy.gridGuide({ // On/Off Modules - snapToGridOnRelease: true, snapToGridDuringDrag: false, snapToAlignmentLocationOnRelease: true, @@ -323,8 +309,8 @@ document.addEventListener("DOMContentLoaded", async function() { }); // Fetch and load element data from a JSON file - // Dev Version EDITOR - fetch("") + // Main Version EDITOR + fetch("dataCytoMarshall.json") .then((response) => response.json()) .then((elements) => { @@ -366,7 +352,6 @@ document.addEventListener("DOMContentLoaded", async function() { let shiftKeyDown = false; - // Detect when Shift is pressed or released document.addEventListener('keydown', (event) => { if (event.key === 'Shift') { @@ -380,33 +365,35 @@ document.addEventListener("DOMContentLoaded", async function() { } }); + let altKeyDown = false; + // Detect when Alt is pressed or released + document.addEventListener('keydown', (event) => { + if (event.key === 'Ctrl') { + altKeyDown = true; + } + }); + + document.addEventListener('keyup', (event) => { + if (event.key === 'Ctrl') { + altKeyDown = false; + } + }); - //- Toggle the Panel(s) when clicking on the cy container //- Toggle the Panel(s) when clicking on the cy container document.getElementById("cy").addEventListener("click", function(event) { console.log("cy container clicked"); - console.log("isPanel01Cy: ", isPanel01Cy); console.log("nodeClicked: ", nodeClicked); console.log("edgeClicked: ", edgeClicked); - //- This code will be executed when you click anywhere in the Cytoscape container //- You can add logic specific to the container here - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here - - loadCytoStyle(); if (!nodeClicked && !edgeClicked) { - console.log("!nodeClicked -- !edgeClicked"); - if (!isPanel01Cy) { - console.log("!isPanel01Cy: "); - // Remove all Overlayed Panel // Get all elements with the class "panel-overlay" var panelOverlays = document.getElementsByClassName("panel-overlay"); @@ -443,17 +430,16 @@ document.addEventListener("DOMContentLoaded", async function() { appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); appendMessage(`"nodeClicked: " ${nodeClicked}`); - - }); // Listen for tap or click on the Cytoscape canvas cy.on('click', async (event) => { - if (event.target === cy && shiftKeyDown) { // Ensures Shift + click/tap + // Usage: Initialize the listener and get a live checker function + const isViewportDrawerClabEditorCheckboxChecked = setupCheckboxListener('#viewport-drawer-clab-editor-content-01 .checkbox-input'); + if (event.target === cy && shiftKeyDown && isViewportDrawerClabEditorCheckboxChecked) { // Ensures Shift + click/tap and the isViewportDrawerClabEditorCheckboxChecked const pos = event.position; const newNodeId = 'nodeId-' + (cy.nodes().length + 1); - // Add the new node to the graph cy.add({ group: 'nodes', @@ -483,7 +469,6 @@ document.addEventListener("DOMContentLoaded", async function() { var cyNode = cy.$id(newNodeId); // Get cytoscpe node object id - await showPanelContainerlabEditor(event) // sleep (1000) await showPanelNodeEditor(cyNode) @@ -493,72 +478,73 @@ document.addEventListener("DOMContentLoaded", async function() { }); // Click event listener for nodes - cy.on("click", "node", function(event) { + cy.on("click", "node", async function(event) { console.log("isEdgeHandlerActive after node click: ", isEdgeHandlerActive); // Ignore the click event if edge handler is active if (isEdgeHandlerActive) { return; } - const node = event.target; nodeClicked = true; - if (!node.isParent()) { - // if (event.originalEvent.shiftKey && (document.getElementById("panel-clab-editor").style.display != "none")) { // Start edge creation on Shift + Click and the clab editor panel is open - if (event.originalEvent.shiftKey) { // Start edge creation on Shift + // Usage: Initialize the listener and get a live checker function + const isViewportDrawerClabEditorCheckboxChecked = setupCheckboxListener('#viewport-drawer-clab-editor-content-01 .checkbox-input'); + if (event.originalEvent.shiftKey && isViewportDrawerClabEditorCheckboxChecked) { // Start edge creation on Shift and the isViewportDrawerClabEditorCheckboxChecked console.log("Shift + Click"); console.log("edgeHandler Node: ", node.data("extraData").longname); - + // Set the edge handler flag isEdgeHandlerActive = true; - // Start the edge handler from the clicked node eh.start(node); + console.log("Node is an editor node"); + + showPanelNodeEditor(node) + // after this cy.on('ehcomplete') is called, the 'ehcomplete' event will be triggered + } + if (event.originalEvent.altKey && isViewportDrawerClabEditorCheckboxChecked && (node.data("editor") === "true")) { // node deletion on Alt and the isViewportDrawerClabEditorCheckboxChecked + console.log("Alt + Click is enabled"); + console.log("deleted Node: ", node.data("extraData").longname); + deleteNodeToEditorToFile(node) } else { - if (node.data("editor") === "true") { - console.log("Node is an editor node"); - showPanelNodeEditor(node) + // Remove all Overlayed Panel + const panelOverlays = document.getElementsByClassName("panel-overlay"); + for (let i = 0; i < panelOverlays.length; i++) { + panelOverlays[i].style.display = "none"; + } + console.log(node); + console.log(node.data("containerDockerExtraAttribute").status); + console.log(node.data("extraData")); + if (document.getElementById("panel-node").style.display === "none") { + document.getElementById("panel-node").style.display = "block"; } else { - // Remove all Overlayed Panel - const panelOverlays = document.getElementsByClassName("panel-overlay"); - for (let i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - console.log(node); - console.log(node.data("containerDockerExtraAttribute").status); - console.log(node.data("extraData")); - if (document.getElementById("panel-node").style.display === "none") { - document.getElementById("panel-node").style.display = "block"; - } else { - document.getElementById("panel-node").style.display = "none"; - } - - document.getElementById("panel-node-name").textContent = node.data("extraData").longname; - document.getElementById("panel-node-status").textContent = node.data("containerDockerExtraAttribute").status; - document.getElementById("panel-node-kind").textContent = node.data("extraData").kind; - document.getElementById("panel-node-image").textContent = node.data("extraData").image; - document.getElementById("panel-node-mgmtipv4").textContent = node.data("extraData").mgmtIpv4Addresss; - document.getElementById("panel-node-mgmtipv6").textContent = node.data("extraData").mgmtIpv6Address; - document.getElementById("panel-node-fqdn").textContent = node.data("extraData").fqdn; - document.getElementById("panel-node-group").textContent = node.data("extraData").group; - document.getElementById("panel-node-topoviewerrole").textContent = node.data("topoViewerRole"); - - // Set selected node-long-name to global variable - globalSelectedNode = node.data("extraData").longname; - console.log("internal: ", globalSelectedNode); - - appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); - appendMessage(`"nodeClicked: " ${nodeClicked}`); + document.getElementById("panel-node").style.display = "none"; } + + document.getElementById("panel-node-name").textContent = node.data("extraData").longname; + document.getElementById("panel-node-status").textContent = node.data("containerDockerExtraAttribute").status; + document.getElementById("panel-node-kind").textContent = node.data("extraData").kind; + document.getElementById("panel-node-image").textContent = node.data("extraData").image; + document.getElementById("panel-node-mgmtipv4").textContent = node.data("extraData").mgmtIpv4Addresss; + document.getElementById("panel-node-mgmtipv6").textContent = node.data("extraData").mgmtIpv6Address; + document.getElementById("panel-node-fqdn").textContent = node.data("extraData").fqdn; + document.getElementById("panel-node-group").textContent = node.data("extraData").group; + document.getElementById("panel-node-topoviewerrole").textContent = node.data("topoViewerRole"); + + // Set selected node-long-name to global variable + globalSelectedNode = node.data("extraData").longname; + console.log("internal: ", globalSelectedNode); + + appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); + appendMessage(`"nodeClicked: " ${nodeClicked}`); } } }); - // Click event listener for edges // Click event listener for edges cy.on("click", "edge", async function(event) { @@ -618,8 +604,6 @@ document.addEventListener("DOMContentLoaded", async function() { document.getElementById("panel-link-endpoint-a-mac-address").textContent = actualLinkMacPair[0].sourceIfMac document.getElementById("panel-link-endpoint-b-mac-address").textContent = actualLinkMacPair[0].targetIfMac - - // setting default impairment endpoint-a values by getting the data from clab via /clab-link-impairment GET API clabSourceLinkArgsList = [`${clickedEdge.data("extraData").clabSourceLongName}`,`${clickedEdge.data("extraData").clabSourcePort}`] clabSourceLinkImpairmentClabData = await sendRequestToEndpointGetV2("/clab-link-impairment", clabSourceLinkArgsList) @@ -659,8 +643,6 @@ document.addEventListener("DOMContentLoaded", async function() { } - - // setting default impairment endpoint-b values by getting the data from clab via /clab-link-impairment GET API clabTargetLinkArgsList = [`${clickedEdge.data("extraData").clabTargetLongName}`,`${clickedEdge.data("extraData").clabTargetPort}`] clabTargetLinkImpairmentClabData = await sendRequestToEndpointGetV2("/clab-link-impairment", clabTargetLinkArgsList) @@ -699,16 +681,12 @@ document.addEventListener("DOMContentLoaded", async function() { console.log("Empty or invalid JSON response received"); } - - - // set selected edge-id to global variable globalSelectedEdge = clickedEdge.data("id") appendMessage(`"edgeClicked: " ${edgeClicked}`); }); - function generateNodesEvent(event) { @@ -722,15 +700,12 @@ document.addEventListener("DOMContentLoaded", async function() { const numNodes = document.getElementById("generateNodesInput").value; console.log(numNodes); //- Check if the number of node is empty - //- Check if the number of node is empty if (numNodes === null) { - //- if node number empty do nothing //- if node number empty do nothing return; } const numNodesToGenerate = parseInt(numNodes, 10); //- Check if the number of node is positive - //- Check if the number of node is positive if (isNaN(numNodesToGenerate) || numNodesToGenerate <= 0) { //- Invalid input //- Invalid input @@ -740,7 +715,6 @@ document.addEventListener("DOMContentLoaded", async function() { return; } //- Generate nodes with random positions - //- Generate nodes with random positions for (let i = 0; i < numNodesToGenerate; i++) { const nodeName = `node-${i + 1}`; const newNode = { @@ -755,22 +729,17 @@ document.addEventListener("DOMContentLoaded", async function() { }, }; //-cy.add(newNode); - //-cy.add(newNode); try { cy.add(newNode); //- throw new Error('This is an example exception'); - //- throw new Error('This is an example exception'); } catch (error) { - //- Log the exception to the console //- Log the exception to the console console.error("An exception occurred:", error); //- Log the exception to notification message to the textarea - //- Log the exception to notification message to the textarea appendMessage("An exception occurred:" + error); } } //- Generate random edges between nodes - //- Generate random edges between nodes for (let i = 0; i < numNodesToGenerate; i++) { const sourceNode = `node-${i + 1}`; const targetNode = `node-${Math.floor(Math.random() * numNodesToGenerate) + 1}`; @@ -787,19 +756,15 @@ document.addEventListener("DOMContentLoaded", async function() { try { cy.add(newEdge); //- throw new Error('This is an example exception'); - //- throw new Error('This is an example exception'); } catch (error) { - //- Log the exception to the console //- Log the exception to the console console.error("An exception occurred:", error); //- Log the exception to notification message to the textarea - //- Log the exception to notification message to the textarea appendMessage("An exception occurred::" + error); } } } //- run layout - //- run layout const layout = cy.layout({ name: "cola", nodeGap: 5, @@ -810,7 +775,6 @@ document.addEventListener("DOMContentLoaded", async function() { }); layout.run(); //-//- Append a notification message to the textarea - //-//- Append a notification message to the textarea console.log( "Info: " + `Boom! Just generated ${numNodesToGenerate} nodes with some random edges. That's how we roll!`, @@ -822,30 +786,23 @@ document.addEventListener("DOMContentLoaded", async function() { } function spawnNodeEvent(event) { - //- Add a click event listener to the 'Submit' button in the hidden form - //- Get the node name from the input field //- Add a click event listener to the 'Submit' button in the hidden form //- Get the node name from the input field const nodeName = document.getElementById("nodeName").value; console.log(nodeName); //- Check if a node name is empty - //- Check if a node name is empty if (nodeName == "") { - //- append message in textArea //- append message in textArea appendMessage("Error: Enter node name."); return; } //- Check if a node with the same name already exists - //- Check if a node with the same name already exists if (cy.$(`node[id = "${nodeName}"]`).length > 0) { - //- append message in textArea //- append message in textArea appendMessage("Error: Node with this name already exists."); return; } //- Create a new node element - //- Create a new node element const newNode = { group: "nodes", data: { @@ -855,10 +812,8 @@ document.addEventListener("DOMContentLoaded", async function() { }, }; //- Add the new node to Cytoscape.js - //- Add the new node to Cytoscape.js cy.add(newNode); //- Randomize the positions and center the graph - //- Randomize the positions and center the graph const layout = cy.layout({ name: "cola", nodeGap: 5, @@ -869,68 +824,14 @@ document.addEventListener("DOMContentLoaded", async function() { }); layout.run(); //- Append a notification message to the textarea - //- Append a notification message to the textarea console.log("Info: " + `Nice! Node "${nodeName}" added successfully.`); appendMessage("Info: " + `Nice! Node "${nodeName}" added successfully.`); } - function nodeFindEvent(event) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - const nodeName = document.getElementById("nodeFindInput").value; - const node = cy.$(`node[name = "${nodeName}"]`); - //- Check if the node exists - //- Check if the node exists - if (node.length > 0) { - // console - // console - console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - //- Apply a highlight style to the node - //- Apply a highlight style to the node - node.style({ - "border-color": "red", - "border-width": "2px", - "background-color": "yellow", - }); - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: node.position("x"), - y: node.position("y"), - }, - renderedPosition: { - x: node.renderedPosition("x"), - y: node.renderedPosition("y"), - }, - }, - duration: 1500, - }); - } else { - console.error( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - appendMessage( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - } - } - function zoomToFitDrawer() { const initialZoom = cy.zoom(); appendMessage(`Bro, initial zoom level is "${initialZoom}".`); //- Fit all nodes possible with padding - //- Fit all nodes possible with padding cy.fit(); const currentZoom = cy.zoom(); appendMessage(`And now the zoom level is "${currentZoom}".`); @@ -942,21 +843,14 @@ document.addEventListener("DOMContentLoaded", async function() { //- Function to get the default node style from cy-style.json //- weight: (edge) => 1, // You can adjust the weight function if needed //- weight: (edge) => edge.data('distance') - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') console.log("im triggered"); - // Remove existing highlight from all edges // Remove existing highlight from all edges cy.edges().forEach((edge) => { edge.removeClass("spf"); }); - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput const sourceNodeId = document.getElementById( "pathFinderSourceNodeInput", @@ -965,7 +859,6 @@ document.addEventListener("DOMContentLoaded", async function() { "pathFinderTargetNodeInput", ).value; - // Assuming you have 'cy' as your Cytoscape instance // Assuming you have 'cy' as your Cytoscape instance const sourceNode = cy.$(`node[id="${sourceNodeId}"]`); const targetNode = cy.$(`node[id="${targetNodeId}"]`); @@ -987,7 +880,6 @@ document.addEventListener("DOMContentLoaded", async function() { "!", ); - // Check if both nodes exist // Check if both nodes exist if (sourceNode.length === 0 || targetNode.length === 0) { console.error( @@ -999,46 +891,32 @@ document.addEventListener("DOMContentLoaded", async function() { return; } - // Get the Dijkstra result with the shortest path // Get the Dijkstra result with the shortest path const dijkstraResult = cy.elements().dijkstra({ root: sourceNode, weight: (edge) => 1, // Use the custom weight attribute // weight: edge => edge.data('customWeight'), - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), }); // Get the shortest path from Dijkstra result - // Get the shortest path from Dijkstra result const shortestPathEdges = dijkstraResult.pathTo(targetNode); console.log(shortestPathEdges); - // Check if there is a valid path (shortestPathEdges is not empty) // Check if there is a valid path (shortestPathEdges is not empty) if (shortestPathEdges.length > 1) { //// Apply a style to highlight the shortest path edges // shortestPathEdges.style({ // 'line-color': 'red', // 'line-style': 'solid', - // }); - //// Apply a style to highlight the shortest path edges - // shortestPathEdges.style({ - // 'line-color': 'red', - // 'line-style': 'solid', - // }); - // Highlight the shortest path // Highlight the shortest path shortestPathEdges.forEach((edge) => { edge.addClass("spf"); }); - //- Zoom out on the node //- Zoom out on the node cy.fit(); - //- Zoom in on the node //- Zoom in on the node cy.animate({ zoom: { @@ -1054,8 +932,6 @@ document.addEventListener("DOMContentLoaded", async function() { }, duration: 1500, }); - // throw log - // throw log console.log( "Info: " + "Yo, check it out! Shorthest Path from-" + @@ -1083,7 +959,6 @@ document.addEventListener("DOMContentLoaded", async function() { sourceNodeId = edge.source().id(); targetNodeId = edge.target().id(); // You can access other properties of the edge, e.g., source, target, data, etc. - // You can access other properties of the edge, e.g., source, target, data, etc. appendMessage("Info: " + "Edge ID: " + edgeId); appendMessage("Info: " + "Source Node ID: " + sourceNodeId); @@ -1104,7 +979,6 @@ document.addEventListener("DOMContentLoaded", async function() { cy.nodes().forEach(function(node) { var nodeId = node.data("id"); - // Find the corresponding status nodes based on node ID // Find the corresponding status nodes based on node ID var statusGreenNode = cy.$(`node[name="${nodeId}-statusGreen"]`); var statusOrangeNode = cy.$(`node[name="${nodeId}-statusOrange"]`); @@ -1195,40 +1069,29 @@ document.addEventListener("DOMContentLoaded", async function() { // Start of JS Generic Functions // Start of JS Generic Functions // - // - // Start of JS Generic Functions - // Start of JS Generic Functions - // - //- Function to get the default node style from cy-style.json //- Function to get the default node style from cy-style.json async function getDefaultNodeStyle(node) { try { - //- Fetch the cy-style.json file //- Fetch the cy-style.json file const response = await fetch("cy-style.json"); //- Check if the response is successful (status code 200) - //- Check if the response is successful (status code 200) if (!response.ok) { throw new Error( `Failed to fetch cy-style.json (${response.status} ${response.statusText})`, ); } //- Parse the JSON response - //- Parse the JSON response const styleData = await response.json(); //- Extract the default node style from the loaded JSON //- Adjust this based on your JSON structure - //- Extract the default node style from the loaded JSON - //- Adjust this based on your JSON structure const defaultNodeStyle = styleData[0].style; return defaultNodeStyle; } catch (error) { console.error("Error loading cy-style.json:", error); appendMessage(`Error loading cy-style.json: ${error}`); //- Return a default style in case of an error - //- Return a default style in case of an error return { "background-color": "blue", "border-color": "gray", @@ -1237,13 +1100,11 @@ document.addEventListener("DOMContentLoaded", async function() { } } - ///-logMessagesPanel Function to add a click event listener to the copy button ///-logMessagesPanel Function to add a click event listener to the copy button const copyButton = document.getElementById("copyToClipboardButton"); copyButton.className = "button is-smallest-element"; copyButton.addEventListener("click", copyToClipboard); - /// logMessagesPanel Function to copy textarea content to clipboard /// logMessagesPanel Function to copy textarea content to clipboard function copyToClipboard() { const textarea = document.getElementById("notificationTextarea"); @@ -1251,16 +1112,7 @@ document.addEventListener("DOMContentLoaded", async function() { document.execCommand("copy"); } - - - // function closePanelEvent(event, panel) { - // panel.style.display = "block"; - // console.log(panel.style.display); - // panel.style.display = "none"; - // } - function createModal(modalId, modalContent) { - // Create the modal // Create the modal const htmlContent = ` `; - // Instantiate modal // Instantiate modal createModal("modalSaveViewport", modalContentSaveViewport); - // create event listener // create event listener const performActionButton = document.getElementById("performActionButton"); performActionButton.addEventListener("click", function() { @@ -1368,7 +1218,6 @@ document.addEventListener("DOMContentLoaded", async function() { } }); - // show modal // show modal modal = document.getElementById(modalId); modal.classList.add("is-active"); @@ -1378,10 +1227,6 @@ document.addEventListener("DOMContentLoaded", async function() { // End of JS Generic Functions section // End of JS Generic Functions section // - // - // End of JS Generic Functions section - // End of JS Generic Functions section - // }); // aarafat-tag: @@ -1574,9 +1419,24 @@ async function linkWireshark(event, option, endpoint) { wiresharkHref = `clab-capture://${clabUser}@${clabServerAddress}?${clabTargetLongName}?${clabTargetPort}` console.log("linkWireshark- wiresharkHref: ", wiresharkHref) } - window.open(wiresharkHref); + } else if (option == "edgeShark") { + if (endpoint == "source") { + baseUrl = `packetflix:ws://${clabServerAddress}:5001/capture?`; + urlParams = `container={"network-interfaces":["${clabSourcePort}"],"name":"${clabSourceLongName.toLocaleLowerCase()}","type":"docker","prefix":""}&nif=${clabSourcePort}`; + edgeSharkHref = baseUrl + urlParams; + console.log("linkWireshark - edgeSharkHref: ", edgeSharkHref) + window.open(edgeSharkHref); + + } else if (endpoint == "target") { + baseUrl = `packetflix:ws://${clabServerAddress}:5001/capture?`; + urlParams = `container={"network-interfaces":["${clabTargetPort}"],"name":"${clabTargetLongName.toLocaleLowerCase()}","type":"docker","prefix":""}&nif=${clabTargetPort}`; + edgeSharkHref = baseUrl + urlParams; + console.log("linkWireshark - edgeSharkHref: ", edgeSharkHref) + window.open(edgeSharkHref); + } + } else if (option == "copy") { if (endpoint == "source") { if (deploymentType == "container") { @@ -1658,15 +1518,11 @@ async function showPanelTopoViewerClient(event) { const htmlContent = `
Wireshark Capture

- Please download the following helper app: + TopoViewer offers a remote capture feature for intercepting Containerlab node endpoints with the help from EdgeShark. + For the best experience, it's recommended to have both TopoViewer and its EdgeShark's helper app (packetflix) installed on client-side.

-

- TopoViewer offers a remote capture feature for intercepting ContainerLab node endpoints. - For the best experience, it's recommended to have both TopoViewer and its helper app installed on client-side. + please refer to this link https://containerlab.dev/manual/wireshark/#edgeshark-integration for more information on how to install the helper app. With the TopoViewer helper app, you can effortlessly automate the launch of Wireshark's GUI.

@@ -1805,7 +1661,48 @@ function viewportButtonsLayoutAlgo() { } - +function viewportNodeFindEvent(event) { + //- Get a reference to your Cytoscape instance (assuming it's named 'cy') + //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance + //- Find the node with the specified name + const nodeName = document.getElementById("viewport-drawer-topology-overview-content-edit").value; + const node = cy.$(`node[name = "${nodeName}"]`); + //- Check if the node exists + if (node.length > 0) { + console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); + appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); + //- Apply a highlight style to the node + node.style({ + "border-color": "red", + "border-width": "2px", + "background-color": "yellow", + }); + //- Zoom out on the node + cy.fit(); + //- Zoom in on the node + cy.animate({ + zoom: { + level: 5, + position: { + x: node.position("x"), + y: node.position("y"), + }, + renderedPosition: { + x: node.renderedPosition("x"), + y: node.renderedPosition("y"), + }, + }, + duration: 1500, + }); + } else { + console.error( + `Bro, I couldn't find a node named "${nodeName}". Try another one.`, + ); + appendMessage( + `Bro, I couldn't find a node named "${nodeName}". Try another one.`, + ); + } +} async function layoutAlgoChange(event) { @@ -1911,8 +1808,6 @@ function viewportButtonsTopologyCapture() { function viewportButtonsLabelEndpoint() { if (linkEndpointVisibility) { cy.edges().forEach(function(edge) { - // edge.style("source-label", "."); - // edge.style("target-label", "."); edge.style("text-opacity", 0); edge.style("text-background-opacity", 0); @@ -2065,7 +1960,6 @@ function viewportDrawerLayoutVertical() { let yPos = 0; // const yOffset = 50; - // const yOffset = 50; // Position parent nodes vertically and center them horizontally sortedParents.forEach(function(parentId) { @@ -2169,12 +2063,10 @@ function viewportDrawerLayoutHorizontal() { cy.fit(); }, delay); - } function viewportDrawerCaptureButton() { - console.log ("viewportDrawerCaptureButton() - clicked") // Get all checkbox inputs within the specific div @@ -2193,7 +2085,6 @@ function viewportDrawerCaptureButton() { console.log ("viewportDrawerCaptureButton() - ", selectedOptions) - if (selectedOptions.length === 0) { bulmaToast.toast({ message: `Hey there, please pick at least one option.😊👌`, @@ -2203,7 +2094,6 @@ function viewportDrawerCaptureButton() { closeOnClick: true, }); } else { - // Perform your action based on the selected options // Perform your action based on the selected options if (selectedOptions.join(", ") == "option01") { captureAndSaveViewportAsPng(cy); @@ -2329,26 +2219,53 @@ async function captureAndSaveViewportAsDrawIo(cy) { document.body.removeChild(a); } -// async function getYamlTopoContent(yamlTopoContent) { +function viewportButtonsClabEditor() { + var viewportDrawer = document.getElementsByClassName("viewport-drawer"); + // Loop through each element and set its display to 'none' + for (var i = 0; i < viewportDrawer.length; i++) { + viewportDrawer[i].style.display = "none"; + } -// try { -// // Check if yamlTopoContent is already set -// console.log('YAML Topo Initial Content:', yamlTopoContent); + console.log("viewportButtonsClabEditor clicked") -// if (!yamlTopoContent) { -// // Load the content if yamlTopoContent is empty -// yamlTopoContent = await sendRequestToEndpointGetV3("/get-yaml-topo-content"); -// } + viewportDrawerCapture = document.getElementById("viewport-drawer-clab-editor") + viewportDrawerCapture.style.display = "block" + + viewportDrawerCaptureContent = document.getElementById("viewport-drawer-clab-editor-content-01") + viewportDrawerCaptureContent.style.display = "block" + viewportDrawerCaptureContent = document.getElementById("viewport-drawer-clab-editor-content-02") + viewportDrawerCaptureContent.style.display = "block" +} -// console.log('YAML Topo Content:', yamlTopoContent); -// document.getElementById('panel-clab-editor-text-area').value = yamlTopoContent; +// Define a function to get the checkbox state and attach the event listener +function setupCheckboxListener(checkboxSelector) { + // Select the checkbox input element + const checkbox = document.querySelector(checkboxSelector); - -// } catch (error) { -// console.error("Error occurred:", error); -// // Handle errors as needed -// } -// } + if (!checkbox) { + console.error(`Checkbox not found for selector: ${checkboxSelector}`); + return null; // Return null if the checkbox is not found + } + + const isChecked = checkbox.checked; // Returns true if checked, false otherwise + console.log(`${checkboxSelector}:`); + console.log(isChecked); + + return isChecked; +} + +function initViewportDrawerClabEditoCheckboxToggle() { + const checkbox = document.querySelector('#viewport-drawer-clab-editor-content-01 .checkbox-input'); + + checkbox.addEventListener('change', function () { + if (checkbox.checked) { + showPanelContainerlabEditor(); + return isChecked; + } else { + closePanelContainerlabEditor(); + } + }); + } @@ -2369,9 +2286,6 @@ function appendMessage(message) { } function nodeFindDrawer(cy) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name //- Get a reference to your Cytoscape instance (assuming it's named 'cy') //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance //- Find the node with the specified name @@ -2381,24 +2295,19 @@ function nodeFindDrawer(cy) { const node = cy.$(`node[name = "${nodeName}"]`); //- Check if the node exists - //- Check if the node exists if (node.length > 0) { - // console // console console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); //- Apply a highlight style to the node - //- Apply a highlight style to the node node.style({ "border-color": "red", "border-width": "2px", "background-color": "yellow", }); //- Zoom out on the node - //- Zoom out on the node cy.fit(); //- Zoom in on the node - //- Zoom in on the node cy.animate({ zoom: { level: 5, @@ -2429,21 +2338,13 @@ function pathFinderDijkstraDrawer(cy) { //- Function to get the default node style from cy-style.json //- weight: (edge) => 1, // You can adjust the weight function if needed //- weight: (edge) => edge.data('distance') - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - console.log("im triggered"); - // Remove existing highlight from all edges // Remove existing highlight from all edges cy.edges().forEach((edge) => { edge.removeClass("spf"); }); - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput const sourceNodeId = document.getElementById( "panelBlock-viewportButtons-buttonfindRoute-divPanelBlock-columnContainerlabelFindRouteSource-panelContentlabelFindRouteSource-columnsPanelContentlabelFindRouteSource-labelColumnlabelFindRouteSource-inputColumnlabelFindRouteSource-labellabelFindRouteSource", @@ -2452,7 +2353,6 @@ function pathFinderDijkstraDrawer(cy) { "panelBlock-viewportButtons-buttonfindRoute-divPanelBlock-columnContainerlabelFindRouteTarget-panelContentlabelFindRouteTarget-columnsPanelContentlabelFindRouteTarget-labelColumnlabelFindRouteTarget-inputColumnlabelFindRouteTarget-labellabelFindRouteTarget", ).value; - // Assuming you have 'cy' as your Cytoscape instance // Assuming you have 'cy' as your Cytoscape instance const sourceNode = cy.$(`node[id="${sourceNodeId}"]`); const targetNode = cy.$(`node[id="${targetNodeId}"]`); @@ -2486,35 +2386,26 @@ function pathFinderDijkstraDrawer(cy) { return; } - // Get the Dijkstra result with the shortest path // Get the Dijkstra result with the shortest path const dijkstraResult = cy.elements().dijkstra({ root: sourceNode, weight: (edge) => 1, // Use the custom weight attribute // weight: edge => edge.data('customWeight'), - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), }); // Get the shortest path from Dijkstra result - // Get the shortest path from Dijkstra result const shortestPathEdges = dijkstraResult.pathTo(targetNode); console.log(shortestPathEdges); - // Check if there is a valid path (shortestPathEdges is not empty) // Check if there is a valid path (shortestPathEdges is not empty) if (shortestPathEdges.length > 1) { - // Highlight the shortest path // Highlight the shortest path shortestPathEdges.forEach((edge) => { edge.addClass("spf"); }); - - //- Zoom out on the node //- Zoom out on the node cy.fit(); - //- Zoom in on the node //- Zoom in on the node cy.animate({ zoom: { @@ -2531,7 +2422,6 @@ function pathFinderDijkstraDrawer(cy) { duration: 1500, }); // throw log - // throw log console.log( "Info: " + "Yo, check it out! Shorthest Path from-" + @@ -2558,9 +2448,8 @@ function pathFinderDijkstraDrawer(cy) { edgeId = edge.id(); sourceNodeId = edge.source().id(); targetNodeId = edge.target().id(); - // You can access other properties of the edge, e.g., source, target, data, etc. - // You can access other properties of the edge, e.g., source, target, data, etc. + // You can access other properties of the edge, e.g., source, target, data, etc. appendMessage("Info: " + "Edge ID: " + edgeId); appendMessage("Info: " + "Source Node ID: " + sourceNodeId); appendMessage("Info: " + "Target Node ID: " + targetNodeId); diff --git a/dist/html-static/js/index.cise.bak b/dist/html-static/js/index.cise.bak deleted file mode 100644 index ba8364ead..000000000 --- a/dist/html-static/js/index.cise.bak +++ /dev/null @@ -1,2443 +0,0 @@ -// Initialize a state variable to track the element's presence -var isPanel01Cy = false; -var nodeClicked = false; -var edgeClicked = false; - -var cy - -var globalSelectedNode -var globalSelectedEdge - -var linkEndpointVisibility = true; -var nodeContainerStatusVisibility = false; - - -var globalShellUrl = "/js/cloudshell" - -var labName -var deploymentType - -document.addEventListener("DOMContentLoaded", async function() { - - detectColorScheme() - - await changeTitle() - - - // Reusable function to initialize a WebSocket connection - function initializeWebSocket(url, onMessageCallback) { - const protocol = location.protocol === "https:" ? "wss://" : "ws://"; - const socket = new WebSocket(protocol + location.host + url); - - socket.onopen = () => { - console.log(`Successfully connected WebSocket to ${url}`); - if (socket.readyState === WebSocket.OPEN) { - socket.send(`Hi From the WebSocketClient-${url}`); - } - }; - - socket.onclose = (event) => { - console.log(`Socket to ${url} closed: `, event); - socket.send("Client Closed!"); - }; - - socket.onerror = (error) => { - console.log(`Socket to ${url} error: `, error); - }; - - socket.onmessage = onMessageCallback; - - return socket; - } - - - // WebSocket for uptime - // WebSocket for uptime - const socketUptime = initializeWebSocket("/uptime", async (msgUptime) => { - environments = await getEnvironments(); - labName = environments["clab-name"] - deploymentType = environments["deploymentType"] - - console.log("initializeWebSocket - getEnvironments", environments) - console.log("initializeWebSocket - labName", environments["clab-name"]) - - const string01 = "Containerlab Topology: " + labName; - const string02 = " ::: Uptime: " + msgUptime.data; - - const ClabSubtitle = document.getElementById("ClabSubtitle"); - const messageBody = string01 + string02; - - ClabSubtitle.innerText = messageBody; - console.log(ClabSubtitle.innerText); - }); - - // WebSocket for ContainerNodeStatus - const socketContainerNodeStatusInitial = initializeWebSocket( - "/containerNodeStatus", - (msgContainerNodeStatus) => { - try { - const { - Names, - Status, - State - } = JSON.parse(msgContainerNodeStatus.data); - setNodeContainerStatus(Names, Status); - console.log(JSON.parse(msgContainerNodeStatus.data)); - - setNodeDataWithContainerAttribute(Names, Status, State); - } catch (error) { - console.error("Error parsing JSON:", error); - } - }, - ); - - //- Instantiate Cytoscape.js - cy = cytoscape({ - container: document.getElementById("cy"), - elements: [], - style: [{ - selector: "node", - style: { - "background-color": "#3498db", - label: "data(label)", - }, - }, ], - }); - - - loadCytoStyle(); - - function loadCytoStyle() { - - // detect light or dark mode - const colorScheme = detectColorScheme(); - console.log('The user prefers:', colorScheme); - - //- Load and apply Cytoscape styles from cy-style.json using fetch - if (colorScheme == "light") { - fetch("css/cy-style.json") - .then((response) => response.json()) - .then((styles) => { - cy.style().fromJson(styles).update(); - }) - .catch((error) => { - console.error( - "Oops, we hit a snag! Couldnt load the cyto styles, bro.", - error, - ); - appendMessage( - `Oops, we hit a snag! Couldnt load the cyto styles, bro.: ${error}`, - ); - }); - } else if (colorScheme == "dark") { - fetch("css/cy-style-dark.json") - .then((response) => response.json()) - .then((styles) => { - cy.style().fromJson(styles).update(); - }) - .catch((error) => { - console.error( - "Oops, we hit a snag! Couldnt load the cyto styles, bro.", - error, - ); - appendMessage( - `Oops, we hit a snag! Couldnt load the cyto styles, bro.: ${error}`, - ); - }); - } - } - - // Enable grid guide extension - cy.gridGuide({ - // On/Off Modules - - snapToGridOnRelease: true, - snapToGridDuringDrag: false, - snapToAlignmentLocationOnRelease: true, - snapToAlignmentLocationDuringDrag: false, - distributionGuidelines: false, - geometricGuideline: false, - initPosAlignment: false, - centerToEdgeAlignment: false, - resize: false, - parentPadding: false, - drawGrid: false, - - // General - gridSpacing: 10, - snapToGridCenter: true, - - // Draw Grid - zoomDash: true, - panGrid: true, - gridStackOrder: -1, - gridColor: '#dedede', - lineWidth: 1.0, - - // Guidelines - guidelinesStackOrder: 4, - guidelinesTolerance: 2.00, - guidelinesStyle: { - strokeStyle: "#8b7d6b", - geometricGuidelineRange: 400, - range: 100, - minDistRange: 10, - distGuidelineOffset: 10, - horizontalDistColor: "#ff0000", - verticalDistColor: "#00ff00", - initPosAlignmentColor: "#0000ff", - lineDash: [0, 0], - horizontalDistLine: [0, 0], - verticalDistLine: [0, 0], - initPosAlignmentLine: [0, 0], - }, - - // Parent Padding - parentSpacing: -1 - }); - - // Fetch and load element data from a JSON file - // fetch("dataCytoMarshall-" + labName + ".json") - fetch("dataCytoMarshall.json") - - .then((response) => response.json()) - .then((elements) => { - // Add the elements to the Cytoscape instance - // Add the elements to the Cytoscape instance - cy.add(elements); - //- run layout - //- run layout - // const layout = cy.layout({ - // name: "cola", - // nodeGap: 5, - // edgeLength: 100, - // animate: true, - // randomize: false, - // maxSimulationTime: 1500, - // }); - // layout.run(); - - // Dynamically create clusters for CISE layout - // var clustersMap = {}; - // cy.nodes().filter('[parent != "newGroup"]').forEach(function (node) { - // var parent = node.data('parent'); - // if (!clustersMap[parent]) { - // clustersMap[parent] = []; - // } - // clustersMap[parent].push(node.id()); - // }); - // var clusters = Object.values(clustersMap); - - // // Apply CISE layout to existing nodes - // var ciseLayout = cy.layout({ - // name: 'cise', - // clusters: clusters, - // animate: "end", - // padding: 20, - // nodeSeparation: 10, - // idealInterClusterEdgeLengthCoefficient: 1.4, - // allowNodesInsideCircle: false, - // maxRatioOfNodesInsideCircle: 0.1, - // nodeRepulsion: 4500 - // }); - // ciseLayout.run() - // Apply force-directed layout (cose) to new nodes - var coseLayout = cy.layout({ - name: 'cose', - animate: "end", - padding: 20, - nodeOverlap: 10, - idealEdgeLength: 50, - edgeElasticity: 100, - nodeRepulsion: 40, - numIter: 100, - initialTemp: 200, - coolingFactor: 0.95, - gravity: 2.2 - }); - - coseLayout.run(); - - // remove node topoviewer - topoViewerNode = cy.filter('node[name = "topoviewer"]'); - topoViewerNode.remove(); - }) - .catch((error) => { - console.error("Error loading graph data:", error); - }); - - // Instantiate hover text element - const hoverText = document.createElement("box"); - hoverText.classList.add( - "hover-text", - "is-hidden", - "box", - "has-text-weight-normal", - "is-warning", - "is-smallest", - ); - hoverText.textContent = "Launch CloudShell."; - document.body.appendChild(hoverText); - - //- Toggle the Panel(s) when clicking on the cy container - //- Toggle the Panel(s) when clicking on the cy container - document.getElementById("cy").addEventListener("click", function(event) { - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here - - loadCytoStyle(); - - if (!nodeClicked && !edgeClicked) { - if (!isPanel01Cy) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - // display none each ViewPortDrawer Element, the ViewPortDrawer is created during DOM loading and styled as display node initially - // display none each ViewPortDrawer Element, the ViewPortDrawer is created during DOM loading and styled as display node initially - var ViewPortDrawerElements = - document.getElementsByClassName("ViewPortDrawer"); - var ViewPortDrawerArray = Array.from(ViewPortDrawerElements); - ViewPortDrawerArray.forEach(function(element) { - element.style.display = "none"; - }); - - } else { - removeElementById("Panel-01"); - appendMessage(`"try to remove panel01-Cy"`); - } - } - nodeClicked = false; - edgeClicked = false; - - appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); - appendMessage(`"nodeClicked: " ${nodeClicked}`); - }); - - // Click event listener for nodes - // Click event listener for nodes - cy.on("click", "node", function(event) { - // This code will be executed when you click on a node - // This code will be executed when you click on a node - const node = event.target; - nodeClicked = true; - - if (!node.isParent()) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - console.log(node) - console.log(node.data("containerDockerExtraAttribute").status) - console.log(node.data("extraData")) - - if (document.getElementById("panel-node").style.display === "none") { - document.getElementById("panel-node").style.display = "block"; - } else { - document.getElementById("panel-node").style.display = "none"; - } - - document.getElementById("panel-node-name").textContent = node.data("extraData").longname - document.getElementById("panel-node-status").textContent = node.data("containerDockerExtraAttribute").status - document.getElementById("panel-node-kind").textContent = node.data("extraData").kind - document.getElementById("panel-node-image").textContent = node.data("extraData").image - document.getElementById("panel-node-mgmtipv4").textContent = node.data("extraData").mgmtIpv4Addresss - document.getElementById("panel-node-mgmtipv6").textContent = node.data("extraData").mgmtIpv6Addresss - document.getElementById("panel-node-fqdn").textContent = node.data("extraData").fqdn - document.getElementById("panel-node-group").textContent = node.data("extraData").group - document.getElementById("panel-node-topoviewerrole").textContent = node.data("topoViewerRole") - - // set selected node-long-name to global variable - globalSelectedNode = node.data("extraData").longname - console.log("internal: ", globalSelectedNode) - - appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); - appendMessage(`"nodeClicked: " ${nodeClicked}`); - } - }); - - // Click event listener for edges - // Click event listener for edges - cy.on("click", "edge", async function(event) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - // This code will be executed when you click on a node - // You can add logic specific to nodes here - const clickedEdge = event.target; - const defaultEdgeColor = "#969799"; - edgeClicked = true; - - console.log(defaultEdgeColor); - - // Change the color of the clicked edge (for example, to red) - clickedEdge.style("line-color", "#0043BF"); - - // Revert the color of other edges that were not clicked (e.g., back to their default color) - cy.edges().forEach(function(edge) { - if (edge !== clickedEdge) { - edge.style("line-color", defaultEdgeColor); - } - }); - - - - - document.getElementById("panel-link").style.display = "none"; - - if (document.getElementById("panel-link").style.display === "none") { - document.getElementById("panel-link").style.display = "block"; - } else { - document.getElementById("panel-link").style.display = "none"; - } - - document.getElementById("panel-link-name").textContent = `${clickedEdge.data("source")} --- ${clickedEdge.data("target")}` - - document.getElementById("panel-link-endpoint-a-name").textContent = `${clickedEdge.data("source")}` - document.getElementById("panel-link-endpoint-a-mac-address").textContent = `${clickedEdge.data("extraData").clabSourceMacAddress}` - - document.getElementById("panel-link-endpoint-b-name").textContent = `${clickedEdge.data("target")}` - document.getElementById("panel-link-endpoint-b-mac-address").textContent = `${clickedEdge.data("extraData").clabTargetMacAddress}` - - - // setting default impairment endpoint-a values by getting the data from clab via /clab-link-impairment GET API - clabSourceLinkArgsList = [`${clickedEdge.data("extraData").clabSourceLongName}`,`${clickedEdge.data("extraData").clabSourcePort}`] - clabSourceLinkImpairmentClabData = await sendRequestToEndpointGetV2("/clab-link-impairment", clabSourceLinkArgsList) - - if (clabSourceLinkImpairmentClabData && typeof clabSourceLinkImpairmentClabData === 'object' && Object.keys(clabSourceLinkImpairmentClabData).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", clabSourceLinkImpairmentClabData); - console.log("Valid non-empty JSON response received: clabSourceLinkImpairmentClabData returnd data", clabSourceLinkImpairmentClabData["return data"]["delay"]); - - if (clabSourceLinkImpairmentClabData["return data"]["delay"] == "N/A") { - document.getElementById("panel-link-endpoint-a-delay").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-delay").value = clabSourceLinkImpairmentClabData["return data"]["delay"].replace(/ms$/, ''); - } - - if (clabSourceLinkImpairmentClabData["return data"]["jitter"] == "N/A") { - document.getElementById("panel-link-endpoint-a-jitter").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-jitter").value = clabSourceLinkImpairmentClabData["return data"]["jitter"].replace(/ms$/, ''); - } - - if (clabSourceLinkImpairmentClabData["return data"]["rate"] == "N/A") { - document.getElementById("panel-link-endpoint-a-rate").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-rate").value = clabSourceLinkImpairmentClabData["return data"]["rate"] - } - - if (clabSourceLinkImpairmentClabData["return data"]["packet_loss"] == "N/A") { - document.getElementById("panel-link-endpoint-a-loss").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-loss").value = clabSourceLinkImpairmentClabData["return data"]["packet_loss"].replace(/%$/, ''); - } - - - } else { - console.log("Empty or invalid JSON response received"); - } - - - - - // setting default impairment endpoint-b values by getting the data from clab via /clab-link-impairment GET API - clabTargetLinkArgsList = [`${clickedEdge.data("extraData").clabTargetLongName}`,`${clickedEdge.data("extraData").clabTargetPort}`] - clabTargetLinkImpairmentClabData = await sendRequestToEndpointGetV2("/clab-link-impairment", clabTargetLinkArgsList) - - if (clabTargetLinkImpairmentClabData && typeof clabTargetLinkImpairmentClabData === 'object' && Object.keys(clabTargetLinkImpairmentClabData).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", clabTargetLinkImpairmentClabData); - console.log("Valid non-empty JSON response received: clabTargetLinkImpairmentClabData returnd data", clabTargetLinkImpairmentClabData["return data"]["delay"]); - - if (clabTargetLinkImpairmentClabData["return data"]["delay"] == "N/A") { - document.getElementById("panel-link-endpoint-b-delay").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-delay").value = clabTargetLinkImpairmentClabData["return data"]["delay"].replace(/ms$/, ''); - } - - if (clabTargetLinkImpairmentClabData["return data"]["jitter"] == "N/A") { - document.getElementById("panel-link-endpoint-b-jitter").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-jitter").value = clabTargetLinkImpairmentClabData["return data"]["jitter"].replace(/ms$/, ''); - } - - if (clabTargetLinkImpairmentClabData["return data"]["rate"] == "N/A") { - document.getElementById("panel-link-endpoint-b-rate").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-rate").value = clabTargetLinkImpairmentClabData["return data"]["rate"] - } - - if (clabTargetLinkImpairmentClabData["return data"]["packet_loss"] == "N/A") { - document.getElementById("panel-link-endpoint-b-loss").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-loss").value = clabTargetLinkImpairmentClabData["return data"]["packet_loss"].replace(/%$/, ''); - } - - - } else { - console.log("Empty or invalid JSON response received"); - } - - - - - // set selected edge-id to global variable - globalSelectedEdge = clickedEdge.data("id") - - appendMessage(`"edgeClicked: " ${edgeClicked}`); - }); - - - - - function generateNodesEvent(event) { - // Your event handling logic here - //- Add a click event listener to the 'Generate' button - //- Get the number of node from the input field - // Your event handling logic here - //- Add a click event listener to the 'Generate' button - //- Get the number of node from the input field - console.log("generateNodesButton clicked"); - const numNodes = document.getElementById("generateNodesInput").value; - console.log(numNodes); - //- Check if the number of node is empty - //- Check if the number of node is empty - if (numNodes === null) { - //- if node number empty do nothing - //- if node number empty do nothing - return; - } - const numNodesToGenerate = parseInt(numNodes, 10); - //- Check if the number of node is positive - //- Check if the number of node is positive - if (isNaN(numNodesToGenerate) || numNodesToGenerate <= 0) { - //- Invalid input - //- Invalid input - appendMessage( - "Error:" + "Bro, you gotta enter a valid positive number, come on!", - ); - return; - } - //- Generate nodes with random positions - //- Generate nodes with random positions - for (let i = 0; i < numNodesToGenerate; i++) { - const nodeName = `node-${i + 1}`; - const newNode = { - group: "nodes", - data: { - id: nodeName, - name: nodeName, - }, - position: { - x: Math.random() * 400, - y: Math.random() * 400, - }, - }; - //-cy.add(newNode); - //-cy.add(newNode); - try { - cy.add(newNode); - //- throw new Error('This is an example exception'); - //- throw new Error('This is an example exception'); - } catch (error) { - //- Log the exception to the console - //- Log the exception to the console - console.error("An exception occurred:", error); - //- Log the exception to notification message to the textarea - //- Log the exception to notification message to the textarea - appendMessage("An exception occurred:" + error); - } - } - //- Generate random edges between nodes - //- Generate random edges between nodes - for (let i = 0; i < numNodesToGenerate; i++) { - const sourceNode = `node-${i + 1}`; - const targetNode = `node-${Math.floor(Math.random() * numNodesToGenerate) + 1}`; - if (sourceNode !== targetNode) { - const newEdge = { - group: "edges", - data: { - id: "from-" + sourceNode + "-to-" + targetNode, - name: "from-" + sourceNode + "-to-" + targetNode, - source: sourceNode, - target: targetNode, - }, - }; - try { - cy.add(newEdge); - //- throw new Error('This is an example exception'); - //- throw new Error('This is an example exception'); - } catch (error) { - //- Log the exception to the console - //- Log the exception to the console - console.error("An exception occurred:", error); - //- Log the exception to notification message to the textarea - //- Log the exception to notification message to the textarea - appendMessage("An exception occurred::" + error); - } - } - } - //- run layout - //- run layout - const layout = cy.layout({ - name: "cola", - nodeGap: 5, - edgeLengthVal: 45, - animate: true, - randomize: false, - maxSimulationTime: 1500, - }); - layout.run(); - //-//- Append a notification message to the textarea - //-//- Append a notification message to the textarea - console.log( - "Info: " + - `Boom! Just generated ${numNodesToGenerate} nodes with some random edges. That's how we roll!`, - ); - appendMessage( - "Info: " + - `Boom! Just generated ${numNodesToGenerate} nodes with some random edges. That's how we roll!`, - ); - } - - function spawnNodeEvent(event) { - //- Add a click event listener to the 'Submit' button in the hidden form - //- Get the node name from the input field - //- Add a click event listener to the 'Submit' button in the hidden form - //- Get the node name from the input field - const nodeName = document.getElementById("nodeName").value; - console.log(nodeName); - //- Check if a node name is empty - //- Check if a node name is empty - if (nodeName == "") { - //- append message in textArea - //- append message in textArea - appendMessage("Error: Enter node name."); - return; - } - //- Check if a node with the same name already exists - //- Check if a node with the same name already exists - if (cy.$(`node[id = "${nodeName}"]`).length > 0) { - //- append message in textArea - //- append message in textArea - appendMessage("Error: Node with this name already exists."); - return; - } - //- Create a new node element - //- Create a new node element - const newNode = { - group: "nodes", - data: { - id: nodeName, - name: nodeName, - label: nodeName, - }, - }; - //- Add the new node to Cytoscape.js - //- Add the new node to Cytoscape.js - cy.add(newNode); - //- Randomize the positions and center the graph - //- Randomize the positions and center the graph - const layout = cy.layout({ - name: "cola", - nodeGap: 5, - edgeLengthVal: 45, - animate: true, - randomize: false, - maxSimulationTime: 1500, - }); - layout.run(); - //- Append a notification message to the textarea - //- Append a notification message to the textarea - console.log("Info: " + `Nice! Node "${nodeName}" added successfully.`); - appendMessage("Info: " + `Nice! Node "${nodeName}" added successfully.`); - } - - function nodeFindEvent(event) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - const nodeName = document.getElementById("nodeFindInput").value; - const node = cy.$(`node[name = "${nodeName}"]`); - //- Check if the node exists - //- Check if the node exists - if (node.length > 0) { - // console - // console - console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - //- Apply a highlight style to the node - //- Apply a highlight style to the node - node.style({ - "border-color": "red", - "border-width": "2px", - "background-color": "yellow", - }); - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: node.position("x"), - y: node.position("y"), - }, - renderedPosition: { - x: node.renderedPosition("x"), - y: node.renderedPosition("y"), - }, - }, - duration: 1500, - }); - } else { - console.error( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - appendMessage( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - } - } - - function zoomToFitDrawer() { - const initialZoom = cy.zoom(); - appendMessage(`Bro, initial zoom level is "${initialZoom}".`); - //- Fit all nodes possible with padding - //- Fit all nodes possible with padding - cy.fit(); - const currentZoom = cy.zoom(); - appendMessage(`And now the zoom level is "${currentZoom}".`); - } - - function pathFinderDijkstraEvent(event) { - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - - console.log("im triggered"); - - // Remove existing highlight from all edges - // Remove existing highlight from all edges - cy.edges().forEach((edge) => { - edge.removeClass("spf"); - }); - - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - const sourceNodeId = document.getElementById( - "pathFinderSourceNodeInput", - ).value; - const targetNodeId = document.getElementById( - "pathFinderTargetNodeInput", - ).value; - - // Assuming you have 'cy' as your Cytoscape instance - // Assuming you have 'cy' as your Cytoscape instance - const sourceNode = cy.$(`node[id="${sourceNodeId}"]`); - const targetNode = cy.$(`node[id="${targetNodeId}"]`); - - console.log( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - appendMessage( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - - // Check if both nodes exist - // Check if both nodes exist - if (sourceNode.length === 0 || targetNode.length === 0) { - console.error( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - appendMessage( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - return; - } - - // Get the Dijkstra result with the shortest path - // Get the Dijkstra result with the shortest path - const dijkstraResult = cy.elements().dijkstra({ - root: sourceNode, - weight: (edge) => 1, - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - }); - // Get the shortest path from Dijkstra result - // Get the shortest path from Dijkstra result - const shortestPathEdges = dijkstraResult.pathTo(targetNode); - console.log(shortestPathEdges); - - // Check if there is a valid path (shortestPathEdges is not empty) - // Check if there is a valid path (shortestPathEdges is not empty) - if (shortestPathEdges.length > 1) { - //// Apply a style to highlight the shortest path edges - // shortestPathEdges.style({ - // 'line-color': 'red', - // 'line-style': 'solid', - // }); - //// Apply a style to highlight the shortest path edges - // shortestPathEdges.style({ - // 'line-color': 'red', - // 'line-style': 'solid', - // }); - - // Highlight the shortest path - // Highlight the shortest path - shortestPathEdges.forEach((edge) => { - edge.addClass("spf"); - }); - - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: sourceNode.position("x"), - y: sourceNode.position("y"), - }, - renderedPosition: { - x: sourceNode.renderedPosition("x"), - y: sourceNode.renderedPosition("y"), - }, - }, - duration: 1500, - }); - // throw log - // throw log - console.log( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found.", - ); - appendMessage( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found, below is the path trace..", - ); - console.log(shortestPathEdges); - - shortestPathEdges.forEach((edge) => { - console.log("Edge ID:", edge.id()); - console.log("Source Node ID:", edge.source().id()); - console.log("Target Node ID:", edge.target().id()); - - edgeId = edge.id(); - sourceNodeId = edge.source().id(); - targetNodeId = edge.target().id(); - // You can access other properties of the edge, e.g., source, target, data, etc. - // You can access other properties of the edge, e.g., source, target, data, etc. - - appendMessage("Info: " + "Edge ID: " + edgeId); - appendMessage("Info: " + "Source Node ID: " + sourceNodeId); - appendMessage("Info: " + "Target Node ID: " + targetNodeId); - }); - } else { - console.error( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - appendMessage( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - return; - } - } - - function setNodeContainerStatus(containerNodeName, containerNodeStatus) { - cy.nodes().forEach(function(node) { - var nodeId = node.data("id"); - - // Find the corresponding status nodes based on node ID - // Find the corresponding status nodes based on node ID - var statusGreenNode = cy.$(`node[name="${nodeId}-statusGreen"]`); - var statusOrangeNode = cy.$(`node[name="${nodeId}-statusOrange"]`); - var statusRedNode = cy.$(`node[name="${nodeId}-statusRed"]`); - - if (statusGreenNode.length === 0 || statusRedNode.length === 0) { - // If status nodes are not found, skip this node - return; - } - - // Update positions of status nodes relative to the node - var nodePosition = node.position(); - var offset = { - x: -4, - y: -10 - }; - var statusGreenNodePosition = { - x: nodePosition.x + offset.x, - y: nodePosition.y + offset.y, - }; - var statusRedNodePosition = { - x: nodePosition.x + offset.x, - y: nodePosition.y + offset.y, - }; - - // Check if the nodeContainerStatusVisibility is true - if (nodeContainerStatusVisibility) { - // Check if the containerNodeName includes nodeId and containerNodeStatus includes 'healthy' - if ( - containerNodeName.includes(nodeId) && - (containerNodeStatus.includes("Up") || - containerNodeStatus.includes("healthy")) - ) { - statusGreenNode.show(); - statusRedNode.hide(); - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - } else if ( - containerNodeName.includes(nodeId) && - containerNodeStatus.includes("(health: starting)") - ) { - statusGreenNode.hide(); - statusOrangeNode.show(); - } else if ( - containerNodeName.includes(nodeId) && - containerNodeStatus.includes("Exited") - ) { - statusGreenNode.hide(); - statusRedNode.show(); - } - } else { - statusGreenNode.hide(); - statusRedNode.hide(); - } - - statusGreenNode.position(statusGreenNodePosition); - statusRedNode.position(statusRedNodePosition); - }); - } - - function setNodeDataWithContainerAttribute(containerNodeName, status, state) { - cy.nodes().forEach(function(node) { - var nodeId = node.data("id"); - if (containerNodeName.includes(nodeId)) { - var containerDockerExtraAttributeData = { - state: state, - status: status, - }; - - node.data( - "containerDockerExtraAttribute", - containerDockerExtraAttributeData, - ); - } - }); - } - - // - // End of JS Functions Event Handling section - // End of JS Functions Event Handling section - // - - // - // Start of JS Generic Functions - // Start of JS Generic Functions - // - // - // Start of JS Generic Functions - // Start of JS Generic Functions - // - - - //- Function to get the default node style from cy-style.json - //- Function to get the default node style from cy-style.json - async function getDefaultNodeStyle(node) { - try { - //- Fetch the cy-style.json file - //- Fetch the cy-style.json file - const response = await fetch("cy-style.json"); - //- Check if the response is successful (status code 200) - //- Check if the response is successful (status code 200) - if (!response.ok) { - throw new Error( - `Failed to fetch cy-style.json (${response.status} ${response.statusText})`, - ); - } - //- Parse the JSON response - //- Parse the JSON response - const styleData = await response.json(); - //- Extract the default node style from the loaded JSON - //- Adjust this based on your JSON structure - //- Extract the default node style from the loaded JSON - //- Adjust this based on your JSON structure - const defaultNodeStyle = styleData[0].style; - return defaultNodeStyle; - } catch (error) { - console.error("Error loading cy-style.json:", error); - appendMessage(`Error loading cy-style.json: ${error}`); - //- Return a default style in case of an error - //- Return a default style in case of an error - return { - "background-color": "blue", - "border-color": "gray", - "border-width": "1px", - }; - } - } - - ///-logMessagesPanel Function to add a click event listener to the copy button - ///-logMessagesPanel Function to add a click event listener to the copy button - const copyButton = document.getElementById("copyToClipboardButton"); - copyButton.className = "button is-smallest-element"; - copyButton.addEventListener("click", copyToClipboard); - - /// logMessagesPanel Function to copy textarea content to clipboard - /// logMessagesPanel Function to copy textarea content to clipboard - function copyToClipboard() { - const textarea = document.getElementById("notificationTextarea"); - textarea.select(); - document.execCommand("copy"); - } - - - - // function closePanelEvent(event, panel) { - // panel.style.display = "block"; - // console.log(panel.style.display); - // panel.style.display = "none"; - // } - - function createModal(modalId, modalContent) { - // Create the modal - // Create the modal - const htmlContent = ` -

- `; - - const modalDiv = document.createElement("div"); - modalDiv.innerHTML = htmlContent; - modalDiv.id = "modalDivExportViewport"; - - document.body.appendChild(modalDiv); - const modalBackground = document.getElementById( - `${modalId}-modalBackgroundId`, - ); - - modalBackground.addEventListener("click", function() { - const modal = modalBackground.parentNode; - modal.classList.remove("is-active"); - }); - } - - function showModalCaptureViewport(modalId) { - const modalContentSaveViewport = ` - - `; - - // Instantiate modal - // Instantiate modal - createModal("modalSaveViewport", modalContentSaveViewport); - - // create event listener - // create event listener - const performActionButton = document.getElementById("performActionButton"); - performActionButton.addEventListener("click", function() { - const checkboxName = "checkboxSaveViewPort"; - const checkboxes = document.querySelectorAll( - `input[type="checkbox"][name="${checkboxName}"]`, - ); - const selectedOptions = []; - - checkboxes.forEach(function(checkbox) { - if (checkbox.checked) { - selectedOptions.push(checkbox.value); - } - }); - - if (selectedOptions.length === 0) { - bulmaToast.toast({ - message: `Hey there, please pick at least one option.😊👌`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - // Perform your action based on the selected options - // Perform your action based on the selected options - if (selectedOptions.join(", ") == "option01") { - captureAndSaveViewportAsPng(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option02") { - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option01, option02") { - captureAndSaveViewportAsPng(cy); - sleep(5000); - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } - } - }); - - // show modal - // show modal - modal = document.getElementById(modalId); - modal.classList.add("is-active"); - } - - // - // End of JS Generic Functions section - // End of JS Generic Functions section - // - // - // End of JS Generic Functions section - // End of JS Generic Functions section - // -}); - -// aarafat-tag: -//// REFACTOR START -//// to-do: -//// - re-create about-panel -//// - re-create log-messages -//// - re-create viewport - -async function initEnv() { - environments = await getEnvironments(); - labName = await environments["clab-name"] - deploymentType = await environments["deployment-type"] - - console.log("Lab-Name: ", labName) - console.log("DeploymentType: ", deploymentType) - return environments, labName - } - -async function changeTitle() { - environments = await getEnvironments(); - labName = await environments["clab-name"] - - console.log("changeTitle() - labName: ", labName) - document.title = `TopoViewer::${labName}`; -} - -async function sshWebBased(event) { - console.log("sshWebBased: ", globalSelectedNode) - var routerName = globalSelectedNode - try { - environments = await getEnvironments(event); - console.log("sshWebBased - environments: ", environments) - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - routerData = findCytoElementByLongname(cytoTopologyJson, routerName) - - console.log("sshWebBased: ", `${globalShellUrl}?RouterID=${routerData["data"]["extraData"]["mgmtIpv4Addresss"]}?RouterName=${routerName}`) - - window.open(`${globalShellUrl}?RouterID=${routerData["data"]["extraData"]["mgmtIpv4Addresss"]}?RouterName=${routerName}`); - - } catch (error) { - console.error('Error executing restore configuration:', error); - } -} - -async function sshCliCommandCopy(event) { - console.log("sshWebBased: ", globalSelectedNode) - var routerName = globalSelectedNode - try { - environments = await getEnvironments(event); - console.log("sshWebBased - environments: ", environments) - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - clabServerAddress = environments["clab-server-address"] - routerData = findCytoElementByLongname(cytoTopologyJson, routerName) - clabUser = routerData["data"]["extraData"]["clabServerUsername"] - - sshCopyString = `ssh -t ${clabUser}@${clabServerAddress} "ssh admin@${routerName}"` - - // Check if the clipboard API is available - if (navigator.clipboard && navigator.clipboard.writeText) { - navigator.clipboard.writeText(sshCopyString).then(function() { - alert('Text copied to clipboard'); - }).catch(function(error) { - console.error('Could not copy text: ', error); - }); - } else { - // Fallback method for older browsers - let textArea = document.createElement('textarea'); - textArea.value = sshCopyString; - document.body.appendChild(textArea); - textArea.focus(); - textArea.select(); - try { - document.execCommand('copy'); - alert('Text copied to clipboard'); - } catch (err) { - console.error('Fallback: Oops, unable to copy', err); - } - document.body.removeChild(textArea); - } - - } catch (error) { - console.error('Error executing restore configuration:', error); - } -} - - - -async function linkImpairmentClab(event, impairDirection) { - console.log("linkImpairmentClab - globalSelectedEdge: ", globalSelectedEdge) - var edgeId = globalSelectedEdge - try { - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - var deploymentType = environments["deployment-type"] - var command - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - edgeData = findCytoElementById(cytoTopologyJson, edgeId) - - console.log("linkImpairment- edgeData: ", edgeData) - console.log("linkImpairment- edgeSource: ", edgeData["data"]["source"]) - - clabUser = edgeData["data"]["extraData"]["clabServerUsername"] - clabServerAddress = environments["clab-server-address"] - clabSourceLongName = edgeData["data"]["extraData"]["clabSourceLongName"] - clabSourcePort = edgeData["data"]["extraData"]["clabSourcePort"] - - clabTargetLongName = edgeData["data"]["extraData"]["clabTargetLongName"] - clabTargetPort = edgeData["data"]["extraData"]["clabTargetPort"] - - if (impairDirection == "a-to-b") { - console.log("linkImpairment - impairDirection: ", impairDirection) - - delayValue = document.getElementById("panel-link-endpoint-a-delay").value - jitterValue = document.getElementById("panel-link-endpoint-a-jitter").value - rateValue = document.getElementById("panel-link-endpoint-a-rate").value - lossValue = document.getElementById("panel-link-endpoint-a-loss").value - - if (deploymentType == "container") { - command = `ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } else if (deploymentType == "colocated") { - command = `/usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } - - console.log(`linkImpairment - deployment ${deploymentType}, command: ${command}`) - var postPayload = [] - postPayload[0] = command - await sendRequestToEndpointPost("/clab-link-impairment", postPayload) - - - } else if (impairDirection == "b-to-a") { - console.log("linkImpairment - impairDirection: ", impairDirection) - - delayValue = document.getElementById("panel-link-endpoint-b-delay").value - jitterValue = document.getElementById("panel-link-endpoint-b-jitter").value - rateValue = document.getElementById("panel-link-endpoint-b-rate").value - lossValue = document.getElementById("panel-link-endpoint-b-loss").value - - if (deploymentType == "container") { - command = `ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } else if (deploymentType == "colocated") { - command = `/usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } - - console.log(`linkImpairment - deployment ${deploymentType}, command: ${command}`) - var postPayload = [] - postPayload[0] = command - await sendRequestToEndpointPost("/clab-link-impairment", postPayload) - } - - } catch (error) { - console.error('Error executing linkImpairment configuration:', error); - } -} - - -async function linkWireshark(event, option, endpoint) { - console.log("linkWireshark - globalSelectedEdge: ", globalSelectedEdge) - var edgeId = globalSelectedEdge - try { - environments = await getEnvironments(event); - console.log("linkWireshark - environments: ", environments) - - var deploymentType = environments["deployment-type"] - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - edgeData = findCytoElementById(cytoTopologyJson, edgeId) - - console.log("linkWireshark- edgeData: ", edgeData) - console.log("linkWireshark- edgeSource: ", edgeData["data"]["source"]) - - clabUser = edgeData["data"]["extraData"]["clabServerUsername"] - clabServerAddress = environments["clab-server-address"] - - clabSourceLongName = edgeData["data"]["extraData"]["clabSourceLongName"] - clabSourcePort = edgeData["data"]["extraData"]["clabSourcePort"] - - clabTargetLongName = edgeData["data"]["extraData"]["clabTargetLongName"] - clabTargetPort = edgeData["data"]["extraData"]["clabTargetPort"] - - if (option == "app") { - if (endpoint == "source") { - wiresharkHref = `clab-capture://${clabUser}@${clabServerAddress}?${clabSourceLongName}?${clabSourcePort}` - console.log("linkWireshark- wiresharkHref: ", wiresharkHref) - - } else if (endpoint == "target") { - wiresharkHref = `clab-capture://${clabUser}@${clabServerAddress}?${clabTargetLongName}?${clabTargetPort}` - console.log("linkWireshark- wiresharkHref: ", wiresharkHref) - } - - window.open(wiresharkHref); - - } else if (option == "copy") { - if (endpoint == "source") { - if (deploymentType == "container") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabSourceLongName} tcpdump -U -nni ${clabSourcePort} -w -" | wireshark -k -i -` - } else if (deploymentType == "colocated") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabSourceLongName} tcpdump -U -nni ${clabSourcePort} -w -" | wireshark -k -i -` - } - } else if (endpoint == "target") { - if (deploymentType == "container") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabTargetLongName} tcpdump -U -nni ${clabTargetPort} -w -" | wireshark -k -i -` - } else if (deploymentType == "colocated") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabTargetLongName} tcpdump -U -nni ${clabTargetPort} -w -" | wireshark -k -i -` - } - } - - console.log("linkWireshark- wiresharkSShCommand: ", wiresharkSshCommand) - - // Check if the clipboard API is available - if (navigator.clipboard && navigator.clipboard.writeText) { - navigator.clipboard.writeText(wiresharkSshCommand).then(function() { - alert('Text copied to clipboard'); - }).catch(function(error) { - console.error('Could not copy text: ', error); - }); - } else { - // Fallback method for older browsers - let textArea = document.createElement('textarea'); - textArea.value = wiresharkSshCommand; - document.body.appendChild(textArea); - textArea.focus(); - textArea.select(); - try { - document.execCommand('copy'); - alert('Text copied to clipboard'); - } catch (err) { - console.error('Fallback: Oops, unable to copy', err); - } - document.body.removeChild(textArea); - } - - } - - } catch (error) { - console.error('Error executing linkImpairment configuration:', error); - } -} - -async function showPanelLogMessages(event) { - document.getElementById("panel-log-messages").style.display = "block"; -} - -///-logMessagesPanel Function to add a click event listener to the close button -document.getElementById("panel-log-messages-close-button").addEventListener("click", () => { - document.getElementById("panel-log-messages").style.display = "none"; -}); - -async function showPanelTopoViewerClient(event) { - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - clabServerAddress = environments["clab-server-address"] - clabServerPort = environments["clab-server-port"] - - hrefWindows = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-windows/ClabCapture.app.zip` - hrefMac = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-mac/ClabCapture.app.zip` - - document.getElementById("panel-topoviewer-helper").style.display = "block"; - - const htmlContent = ` -
Wireshark Capture
-

- Please download the following helper app: -

- -

- TopoViewer offers a remote capture feature for intercepting ContainerLab node endpoints. - For the best experience, it's recommended to have both TopoViewer and its helper app installed on client-side. - With the TopoViewer helper app, you can effortlessly automate the launch of Wireshark's GUI. -

-

- Alternatively, if you don't have the helper app, you can simply copy and paste an SSH command to initiate Wireshark manually. - This setup provides flexibility in how you utilize this feature.
-

- `; - document.getElementById("panel-topoviewer-helper-content").innerHTML = htmlContent; -} - -async function showPanelAbout(event) { - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - topoViewerVersion = environments["topoviewer-version"] - - document.getElementById("panel-topoviewer-about").style.display = "block"; - - const htmlContent = ` -
-
Version: ${topoViewerVersion}
- -

- Designed and developed by Asad Arafat
-

-

- Special Thanks: -

-

- - -
- `; - document.getElementById("panel-topoviewer-about-content").innerHTML = htmlContent; -} - -async function sidebarButtonFitScreen(event) { - - // --sidebar-button-background-color-default: rgba(54,58, 69, 1); - // --sidebar-button-background-color-active: rgba(76, 82, 97, 1); - - var sidebarButtonFitScreen = document.getElementById("sidebar-button-fit-screen") - const sidebarButtonColorDefault = getComputedStyle(sidebarButtonFitScreen).getPropertyValue('--sidebar-button-background-color-default'); - const sidebarButtonColorActive = getComputedStyle(sidebarButtonFitScreen).getPropertyValue('--sidebar-button-background-color-active'); - - drawer = document.getElementById("drawer") - if (drawer.style.display === 'block') { - drawer.style.display = 'none'; - var sidebarButtonFitScreen = document.getElementById("sidebar-button-fit-screen") - sidebarButtonFitScreen.style.background = sidebarButtonColorDefault.trim(); - sidebarButtonFitScreen.style.border = sidebarButtonColorActive.trim(); - } else { - drawer.style.display = 'block'; - var sidebarButtons = document.getElementsByClassName("is-sidebar"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < sidebarButtons.length; i++) { - sidebarButtons[i].style.background = sidebarButtonColorDefault.trim(); - sidebarButtons[i].style.border = sidebarButtonColorDefault.trim(); - } - sidebarButtonFitScreen.style.background = sidebarButtonColorActive.trim(); - } - -} - -async function getActualNodesEndpoints(event) { - try { - bulmaToast.toast({ - message: `Getting Actual Nodes Endpoint Labels... Hold on..! 🚀💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - appendMessage( - `Getting Actual Nodes Endpoint Labels... Hold on..! 🚀💻`, - ); - - showLoadingSpinnerGlobal() - const CyTopoJson = await sendRequestToEndpointGet("/actual-nodes-endpoints", argsList = []) - location.reload(true); - - // Handle the response data - if (CyTopoJson && typeof CyTopoJson === 'object' && Object.keys(CyTopoJson).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", CyTopoJson); - - hideLoadingSpinnerGlobal(); - - - - return CyTopoJson - - } else { - - hideLoadingSpinnerGlobal(); - - console.log("Empty or invalid JSON response received"); - } - } catch (error) { - hideLoadingSpinnerGlobal(); - console.error("Error occurred:", error); - // Handle errors as needed - } -} - -function viewportButtonsZoomToFit() { - const initialZoom = cy.zoom(); - appendMessage(`Bro, initial zoom level is "${initialZoom}".`); - //- Fit all nodes possible with padding - //- Fit all nodes possible with padding - cy.fit(); - const currentZoom = cy.zoom(); - appendMessage(`And now the zoom level is "${currentZoom}".`); -} - -function viewportButtonsLayoutAlgo() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - viewportDrawerLayout = document.getElementById("viewport-drawer-layout") - viewportDrawerLayout.style.display = "block" -} - - - - -async function layoutAlgoChange(event) { - - try { - console.log("layoutAlgoChange clicked"); - - var selectElement = document.getElementById("select-layout-algo"); - var selectedOption = selectElement.value; - - if (selectedOption === "Force Directed") { - console.log("Force Directed algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-force-directed") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-force-directed-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-force-directed")) - console.log(document.getElementById("viewport-drawer-force-directed-reset-start")) - - } else if (selectedOption === "Vertical") { - console.log("Vertical algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-dc-vertical") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-dc-vertical-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-dc-vertical")) - console.log(document.getElementById("viewport-drawer-dc-vertical-reset-start")) - - } else if (selectedOption === "Horizontal") { - console.log("Horizontal algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-dc-horizontal") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-dc-horizontal-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-dc-horizontal")) - console.log(document.getElementById("viewport-drawer-dc-horizontal-reset-start")) - } - - }catch (error) { - console.error("Error occurred:", error); - // Handle errors as needed - } -} - - -function viewportButtonsTopologyOverview() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - console.log("viewportButtonsTopologyOverview clicked") - viewportDrawerLayout = document.getElementById("viewport-drawer-topology-overview") - viewportDrawerLayout.style.display = "block" - - viewportDrawerLayoutContent = document.getElementById("viewport-drawer-topology-overview-content") - viewportDrawerLayoutContent.style.display = "block" -} - -function viewportButtonsTopologyCapture() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - console.log("viewportButtonsTopologyCapture clicked") - - viewportDrawerCapture = document.getElementById("viewport-drawer-capture-sceenshoot") - viewportDrawerCapture.style.display = "block" - - viewportDrawerCaptureContent = document.getElementById("viewport-drawer-capture-sceenshoot-content") - viewportDrawerCaptureContent.style.display = "block" -} - -function viewportButtonsLabelEndpoint() { - if (linkEndpointVisibility) { - cy.edges().forEach(function(edge) { - // edge.style("source-label", "."); - // edge.style("target-label", "."); - edge.style("text-opacity", 0); - edge.style("text-background-opacity", 0); - - - linkEndpointVisibility = false; - }); - } else { - cy.edges().forEach(function(edge) { - edge.style("text-opacity", 1); - edge.style("text-background-opacity", 0.7); - linkEndpointVisibility = true; - }); - } -} - -function viewportButtonContainerStatusVisibility() { - if (nodeContainerStatusVisibility) { - nodeContainerStatusVisibility = false; - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - appendMessage( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - bulmaToast.toast({ - message: `Alright, mission control, we're standing down. 🛑🔍 Container status probing aborted. Stay chill, folks. 😎👨‍💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - nodeContainerStatusVisibility = true; - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - appendMessage( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - bulmaToast.toast({ - message: `🕵️‍♂️ Bro, we're currently on a mission to probe that container status! Stay tuned for the results. 🔍🚀👨‍💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } -} - - -function viewportDrawerLayoutForceDirected() { - edgeLengthSlider = document.getElementById("force-directed-slider-link-lenght"); - nodeGapSlider = document.getElementById("force-directed-slider-node-gap"); - - const edgeLengthValue = parseFloat(edgeLengthSlider.value); - const nodeGapValue = parseFloat(nodeGapSlider.value); - - console.log("edgeLengthValue", edgeLengthValue); - console.log("nodeGapValue", nodeGapValue); - - cy.layout( - { - fit: true, - name: "cola", - animate: true, - randomize: false, - maxSimulationTime: 400, - edgeLength: function(e) { - return edgeLengthValue / e.data("weight"); - }, - nodeGap: function(e) { - return nodeGapValue / e.data("weight"); - }, - }) - .run(); -} - -function viewportDrawerLayoutVertical() { - nodevGap = document.getElementById("vertical-layout-slider-node-v-gap"); - groupvGap = document.getElementById("vertical-layout-slider-group-v-gap"); - - const nodevGapValue = parseFloat(nodevGap.value); - const groupvGapValue = parseFloat(groupvGap.value); - - console.log("nodevGapValue", nodevGapValue); - console.log("groupvGapValue", groupvGapValue); - - const xOffset = parseFloat(nodevGapValue); - const yOffset = parseFloat(groupvGapValue); - - console.log("yOffset", yOffset); - console.log("xOffset", xOffset); - - const delay = 100; - - setTimeout(() => { - cy.nodes().forEach(function(node) { - if (node.isParent()) { - // For each parent node - const children = node.children(); - const numRows = 1; - - const cellWidth = node.width() / children.length; - // const xOffset = 5 - - children.forEach(function(child, index) { - // Position children in rows - const xPos = index * (cellWidth + xOffset); - const yPos = 0; - - // Set the position of each child node - child.position({ - x: xPos, - y: yPos - }); - }); - } - }); - - var parentCounts = {}; - var maxWidth = 0; - var centerX = 0; - var centerY = cy.height() / 2; - - // Count children of each parent node - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const childrenCount = node.children().length; - parentCounts[node.id()] = childrenCount; - } - }); - - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const width = node.width(); - if (width > maxWidth) { - maxWidth = width; - console.log("ParentMaxWidth: ", maxWidth); - } - } - }); - - const divisionFactor = maxWidth / 2; - console.log("divisionFactor: ", divisionFactor); - - // Sort parent nodes by child count in ascending order - const sortedParents = Object.keys(parentCounts).sort( - (a, b) => parentCounts[a] - parentCounts[b], - ); - - let yPos = 0; - // const yOffset = 50; - // const yOffset = 50; - - // Position parent nodes vertically and center them horizontally - sortedParents.forEach(function(parentId) { - const parent = cy.getElementById(parentId); - const xPos = centerX - parent.width() / divisionFactor; - // to the left compared to the center of the widest parent node. - parent.position({ - x: xPos, - y: yPos - }); - yPos += yOffset; - }); - cy.fit(); - }, delay); -} - -function viewportDrawerLayoutHorizontal() { - nodehGap = document.getElementById("horizontal-layout-slider-node-h-gap"); - grouphGap = document.getElementById("horizontal-layout-slider-group-h-gap"); - - const horizontalNodeGap = parseFloat(nodehGap.value); - const horizontalGroupGap = parseFloat(grouphGap.value); - - console.log("nodevGapValue", horizontalNodeGap); - console.log("groupvGapValue", horizontalGroupGap); - - const yOffset = parseFloat(horizontalNodeGap); - const xOffset = parseFloat(horizontalGroupGap); - - console.log("yOffset", yOffset); - console.log("xOffset", xOffset); - - const delay = 100; - setTimeout(() => { - cy.nodes().forEach(function(node) { - if (node.isParent()) { - // For each parent node - const children = node.children(); - const numColumns = 1; - const cellHeight = node.height() / children.length; - // const yOffset = 5; - - children.forEach(function(child, index) { - // Position children in columns - const xPos = 0; - const yPos = index * (cellHeight + yOffset); - - // Set the position of each child node - child.position({ - x: xPos, - y: yPos - }); - }); - } - }); - - var parentCounts = {}; - var maxHeight = 0; - var centerX = cy.width() / 2; - var centerY = cy.height() / 2; - - // Count children of each parent node - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const childrenCount = node.children().length; - parentCounts[node.id()] = childrenCount; - } - }); - - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const height = node.height(); - if (height > maxHeight) { - maxHeight = height; - console.log("ParentMaxHeight: ", maxHeight); - } - } - }); - - const divisionFactor = maxHeight / 2; - console.log("divisionFactor: ", divisionFactor); - - // Sort parent nodes by child count in ascending order - const sortedParents = Object.keys(parentCounts).sort( - (a, b) => parentCounts[a] - parentCounts[b], - ); - - let xPos = 0; - // const xOffset = 50; - - // Position parent nodes horizontally and center them vertically - sortedParents.forEach(function(parentId) { - const parent = cy.getElementById(parentId); - const yPos = centerY - parent.height() / divisionFactor; - parent.position({ - x: xPos, - y: yPos - }); - xPos -= xOffset; - }); - - cy.fit(); - }, delay); - -} - - -function viewportDrawerCaptureButton() { - - console.log ("viewportDrawerCaptureButton() - clicked") - - - - - // Get all checkbox inputs within the specific div - const checkboxes = document.querySelectorAll('#viewport-drawer-capture-sceenshoot-content .checkbox-input'); - - // Initialize an array to store the values of checked checkboxes - const selectedOptions = []; - - // Iterate through the NodeList of checkboxes - checkboxes.forEach((checkbox) => { - // If the checkbox is checked, push its value to the array - if (checkbox.checked) { - selectedOptions.push(checkbox.value); - } - }); - - console.log ("viewportDrawerCaptureButton() - ", selectedOptions) - - - if (selectedOptions.length === 0) { - bulmaToast.toast({ - message: `Hey there, please pick at least one option.😊👌`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - // Perform your action based on the selected options - // Perform your action based on the selected options - if (selectedOptions.join(", ") == "option01") { - captureAndSaveViewportAsPng(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option02") { - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option01, option02") { - captureAndSaveViewportAsPng(cy); - sleep(5000); - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } - } - -} - -async function captureAndSaveViewportAsDrawIo(cy) { - // Find the canvas element for layer2-node - // Find the canvas element for layer2-node - const canvasElement = document.querySelector( - '#cy canvas[data-id="layer2-node"]', - ); - const drawIoWidht = canvasElement.width / 10; - const drawIoHeight = canvasElement.height / 10; - const drawIoaAspectRatio = drawIoWidht / drawIoHeight; - - const mxGraphHeader = ` - - - `; - - const mxGraphFooter = ` - `; - - const mxCells = []; - - // Iterate through nodes and edges - // Function to create mxCell XML for nodes - // Iterate through nodes and edges - // Function to create mxCell XML for nodes - function createMxCellForNode(node, imageURL) { - if (node.isParent()) { - return ` - - - `; - } else if ( - !node.data("id").includes("statusGreen") && - !node.data("id").includes("statusRed") - ) { - return ` - - - `; - } - } - - cy.nodes().forEach(function(node) { - let imageURL; - switch (node.data("topoViewerRole")) { - case "pe": - imageURL = `http://${location.host}/images/clab-pe-light-blue.png`; - break; - case "controller": - imageURL = - `http://${location.host}/images/clab-controller-light-blue.png`; - break; - case "pon": - imageURL = `http://${location.host}/images/clab-pon-dark-blue.png`; - break; - case "dcgw": - imageURL = `http://${location.host}/images/clab-dcgw-dark-blue.png`; - break; - case "leaf": - imageURL = `http://${location.host}/images/clab-leaf-light-blue.png`; - break; - case "spine": - imageURL = `http://${location.host}/images/clab-spine-dark-blue.png`; - break; - case "super-spine": - imageURL = `http://${location.host}/images/clab-spine-light-blue.png`; - break; - } - mxCells.push(createMxCellForNode(node, imageURL)); - }); - - cy.edges().forEach(function(edge) { - mxCells.push(` - - - - - - - - - - - - - - `); - }); - - // Combine all parts and create XML - const mxGraphXML = mxGraphHeader + mxCells.join("") + mxGraphFooter; - - // Create a Blob from the XML - const blob = new Blob([mxGraphXML], { - type: "application/xml", - }); - - // Create a URL for the Blob - const url = window.URL.createObjectURL(blob); - - // Create a download link and trigger a click event - const a = document.createElement("a"); - a.style.display = "none"; - a.href = url; - a.download = "filename.drawio"; - document.body.appendChild(a); - - bulmaToast.toast({ - message: `Brace yourselves for a quick snapshot, folks! 📸 Capturing the viewport in 3... 2... 1... 🚀💥`, - type: "is-warning is-size-6 p-3", - duration: 2000, - position: "top-center", - closeOnClick: true, - }); - await sleep(2000); - // Simulate a click to trigger the download - a.click(); - - // Clean up by revoking the URL and removing the download link - window.URL.revokeObjectURL(url); - document.body.removeChild(a); -} -async function captureAndSaveViewportAsPng(cy) { - // Find the canvas element for layer2-node - // Find the canvas element for layer2-node - const canvasElement = document.querySelector( - '#cy canvas[data-id="layer2-node"]', - ); - - const zoomScaleFactor = 1; - - // Check if the canvas element exists and is an HTMLCanvasElement - // Check if the canvas element exists and is an HTMLCanvasElement - if (canvasElement instanceof HTMLCanvasElement) { - // Calculate the new canvas dimensions based on the high resolution factor - // Calculate the new canvas dimensions based on the high resolution factor - const newWidth = canvasElement.width * zoomScaleFactor; - const newHeight = canvasElement.height * zoomScaleFactor; - - // Create a new canvas element with the increased dimensions - // Create a new canvas element with the increased dimensions - const newCanvas = document.createElement("canvas"); - newCanvas.width = newWidth; - newCanvas.height = newHeight; - const newCanvasContext = newCanvas.getContext("2d"); - - // Scale the canvas content to the new dimensions - // Scale the canvas content to the new dimensions - newCanvasContext.scale(zoomScaleFactor, zoomScaleFactor); - - // Fill the new canvas with a white background - // Fill the new canvas with a white background - newCanvasContext.fillStyle = "white"; - newCanvasContext.fillRect(0, 0, newWidth, newHeight); - - // Draw the original canvas content on the new canvas - // Draw the original canvas content on the new canvas - newCanvasContext.drawImage(canvasElement, 0, 0); - - // Convert the new canvas to a data URL with a white background - // Convert the new canvas to a data URL with a white background - const dataUrl = newCanvas.toDataURL("image/png"); - - // Create an anchor element to trigger the download - // Create an anchor element to trigger the download - const link = document.createElement("a"); - link.href = dataUrl; - link.download = "cytoscape-viewport.png"; - - bulmaToast.toast({ - message: `Brace yourselves for a quick snapshot, folks! 📸 Capturing the viewport in 3... 2... 1... 🚀💥`, - type: "is-warning is-size-6 p-3", - duration: 2000, - position: "top-center", - closeOnClick: true, - }); - await sleep(2000); - // Simulate a click to trigger the download - // Simulate a click to trigger the download - link.click(); - } else { - console.error( - "Canvas element for layer2-node is not found or is not a valid HTML canvas element.", - ); - } -} - - - -// aarafat-tag: -//// REFACTOR END - -// logMessagesPanel manager -///-logMessagesPanel Function to append message function -function appendMessage(message) { - // const textarea = document.getElementById('notificationTextarea'); - const textarea = document.getElementById("notificationTextarea"); - - // Get the current date and time - const timestamp = new Date().toLocaleString(); - - textarea.value += `[${timestamp}] ${message}\n`; - textarea.scrollTop = textarea.scrollHeight; -} - -function nodeFindDrawer(cy) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - const nodeName = document.getElementById( - "panelBlock-viewportButtons-buttonfindNode-divPanelBlock-columnContainerlabelFindNodeNodeName-panelContentlabelFindNodeNodeName-columnsPanelContentlabelFindNodeNodeName-labelColumnlabelFindNodeNodeName-inputColumnlabelFindNodeNodeName-labellabelFindNodeNodeName", - ).value; - - const node = cy.$(`node[name = "${nodeName}"]`); - //- Check if the node exists - //- Check if the node exists - if (node.length > 0) { - // console - // console - console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - //- Apply a highlight style to the node - //- Apply a highlight style to the node - node.style({ - "border-color": "red", - "border-width": "2px", - "background-color": "yellow", - }); - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: node.position("x"), - y: node.position("y"), - }, - renderedPosition: { - x: node.renderedPosition("x"), - y: node.renderedPosition("y"), - }, - }, - duration: 1500, - }); - } else { - console.error( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - appendMessage( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - } -} - -function pathFinderDijkstraDrawer(cy) { - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - - console.log("im triggered"); - - // Remove existing highlight from all edges - // Remove existing highlight from all edges - cy.edges().forEach((edge) => { - edge.removeClass("spf"); - }); - - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - const sourceNodeId = document.getElementById( - "panelBlock-viewportButtons-buttonfindRoute-divPanelBlock-columnContainerlabelFindRouteSource-panelContentlabelFindRouteSource-columnsPanelContentlabelFindRouteSource-labelColumnlabelFindRouteSource-inputColumnlabelFindRouteSource-labellabelFindRouteSource", - ).value; - const targetNodeId = document.getElementById( - "panelBlock-viewportButtons-buttonfindRoute-divPanelBlock-columnContainerlabelFindRouteTarget-panelContentlabelFindRouteTarget-columnsPanelContentlabelFindRouteTarget-labelColumnlabelFindRouteTarget-inputColumnlabelFindRouteTarget-labellabelFindRouteTarget", - ).value; - - // Assuming you have 'cy' as your Cytoscape instance - // Assuming you have 'cy' as your Cytoscape instance - const sourceNode = cy.$(`node[id="${sourceNodeId}"]`); - const targetNode = cy.$(`node[id="${targetNodeId}"]`); - - console.log( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - appendMessage( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - - // Check if both nodes exist - // Check if both nodes exist - if (sourceNode.length === 0 || targetNode.length === 0) { - console.error( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - appendMessage( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - return; - } - - // Get the Dijkstra result with the shortest path - // Get the Dijkstra result with the shortest path - const dijkstraResult = cy.elements().dijkstra({ - root: sourceNode, - weight: (edge) => 1, - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - }); - // Get the shortest path from Dijkstra result - // Get the shortest path from Dijkstra result - const shortestPathEdges = dijkstraResult.pathTo(targetNode); - console.log(shortestPathEdges); - - // Check if there is a valid path (shortestPathEdges is not empty) - // Check if there is a valid path (shortestPathEdges is not empty) - if (shortestPathEdges.length > 1) { - // Highlight the shortest path - // Highlight the shortest path - shortestPathEdges.forEach((edge) => { - edge.addClass("spf"); - }); - - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: sourceNode.position("x"), - y: sourceNode.position("y"), - }, - renderedPosition: { - x: sourceNode.renderedPosition("x"), - y: sourceNode.renderedPosition("y"), - }, - }, - duration: 1500, - }); - // throw log - // throw log - console.log( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found.", - ); - appendMessage( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found, below is the path trace..", - ); - console.log(shortestPathEdges); - - shortestPathEdges.forEach((edge) => { - console.log("Edge ID:", edge.id()); - console.log("Source Node ID:", edge.source().id()); - console.log("Target Node ID:", edge.target().id()); - - edgeId = edge.id(); - sourceNodeId = edge.source().id(); - targetNodeId = edge.target().id(); - // You can access other properties of the edge, e.g., source, target, data, etc. - // You can access other properties of the edge, e.g., source, target, data, etc. - - appendMessage("Info: " + "Edge ID: " + edgeId); - appendMessage("Info: " + "Source Node ID: " + sourceNodeId); - appendMessage("Info: " + "Target Node ID: " + targetNodeId); - }); - } else { - console.error( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - appendMessage( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - return; - } -} - -// sleep funtion -function sleep(ms) { - return new Promise((resolve) => setTimeout(resolve, ms)); -} \ No newline at end of file diff --git a/dist/html-static/js/index.js b/dist/html-static/js/index.js index e1920aa40..e41800c22 100644 --- a/dist/html-static/js/index.js +++ b/dist/html-static/js/index.js @@ -19,11 +19,16 @@ var deploymentType document.addEventListener("DOMContentLoaded", async function() { + detectColorScheme() await changeTitle() + initializeDropdownTopoViewerRoleListeners(); + + initializeDropdownListeners(); + // Reusable function to initialize a WebSocket connection function initializeWebSocket(url, onMessageCallback) { const protocol = location.protocol === "https:" ? "wss://" : "ws://"; @@ -87,13 +92,6 @@ document.addEventListener("DOMContentLoaded", async function() { const IPAddress = JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.IPAddress; const GlobalIPv6Address= JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.GlobalIPv6Address - // console.log("IPAddress: ",JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.IPAddress); - // console.log("IPPrefixLen: ",JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.IPPrefixLen); - - // console.log("GlobalIPv6Address: ",JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.GlobalIPv6Address); - // console.log("GlobalIPv6PrefixLen: ",JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.GlobalIPv6PrefixLen); - - setNodeDataWithContainerAttribute(Names, Status, State, IPAddress, GlobalIPv6Address); @@ -117,6 +115,122 @@ document.addEventListener("DOMContentLoaded", async function() { }); + // // Initialize cytoscape-edgehandles plugin + // cytoscape.use(cytoscapeEdgehandles); + + // Initialize edgehandles with configuration + const eh = cy.edgehandles({ + // Enable preview of edge before finalizing + preview: false, + hoverDelay: 50, // time spent hovering over a target node before it is considered selected + snap: false, // when enabled, the edge can be drawn by just moving close to a target node (can be confusing on compound graphs) + snapThreshold: 10, // the target node must be less than or equal to this many pixels away from the cursor/finger + snapFrequency: 150, // the number of times per second (Hz) that snap checks done (lower is less expensive) + noEdgeEventsInDraw: false, // set events:no to edges during draws, prevents mouseouts on compounds + disableBrowserGestures: false, // during an edge drawing gesture, disable browser gestures such as two-finger trackpad swipe and pinch-to-zoom + canConnect: function( sourceNode, targetNode ){ + // whether an edge can be created between source and target + return !sourceNode.same(targetNode) && !sourceNode.isParent() && !targetNode.isParent(); + }, + edgeParams: function( sourceNode, targetNode ){ + // for edges between the specified source and target + // return element object to be passed to cy.add() for edge + return {}; + }, + }); + + // Enable edgehandles functionality + eh.enable(); + + let isEdgeHandlerActive = false; // Flag to track if edge handler is active + + + + cy.on('ehcomplete', (event, sourceNode, targetNode, addedEdge) => { + console.log(`Edge created from ${sourceNode.id()} to ${targetNode.id()}`); + console.log("Added edge:", addedEdge); + + // Reset the edge handler flag after a short delay + setTimeout(() => { + isEdgeHandlerActive = false; + }, 100); // Adjust delay as needed + + // Get the ID of the added edge + const edgeId = addedEdge.id(); // Extracts the edge ID + + // Helper function to get the next available endpoint with pattern detection + function getNextEndpoint(nodeId, isSource) { + const edges = cy.edges(`[${isSource ? 'source' : 'target'} = "${nodeId}"]`); + const e1Pattern = /^e1-(\d+)$/; + const ethPattern = /^eth(\d+)$/; + let maxEndpoint = 0; + let selectedPattern = e1Pattern; // Default to e1- pattern + + edges.forEach(edge => { + const endpoint = edge.data(isSource ? "sourceEndpoint" : "targetEndpoint"); + let match = endpoint ? endpoint.match(e1Pattern) : null; + if (match) { + // If endpoint matches e1- pattern + const endpointNum = parseInt(match[1], 10); + if (endpointNum > maxEndpoint) { + maxEndpoint = endpointNum; + } + } else { + // If endpoint doesn't match e1-, try eth pattern + match = endpoint ? endpoint.match(ethPattern) : null; + if (match) { + // Switch to eth pattern if detected + selectedPattern = ethPattern; + const endpointNum = parseInt(match[1], 10); + if (endpointNum > maxEndpoint) { + maxEndpoint = endpointNum; + } + } + } + }); + + // Increment max endpoint found and format based on selected pattern + return selectedPattern === e1Pattern + ? `e1-${maxEndpoint + 1}` + : `eth${maxEndpoint + 1}`; + } + + // Calculate next available source and target endpoints + const sourceEndpoint = getNextEndpoint(sourceNode.id(), true); + const targetEndpoint = getNextEndpoint(targetNode.id(), false); + + // Add calculated endpoints to the edge data + addedEdge.data('sourceEndpoint', sourceEndpoint); + addedEdge.data('targetEndpoint', targetEndpoint); + + // Save the edge element to file in the server + saveEdgeToFile(edgeId); + + // Save the edge element to clab editor panel + clabEditorAddEdge(sourceNode, sourceEndpoint, targetNode, targetEndpoint); + }); + + async function saveEdgeToFile(edgeId) { + const edgeData = cy.$id(edgeId).json(); // Get JSON data of the edge with the specified ID + const endpointName = '/clab-save-topo-cyto-json'; + + try { + // Send the enhanced edge data directly without wrapping it in an object + const response = await sendRequestToEndpointPost(endpointName, [edgeData]); + console.log('Edge data saved successfully', response); + } catch (error) { + console.error('Failed to save edge data:', error); + } + } + + + + // cy.on('remove', 'edge', () => { + // saveEdgeToFile(); + // }); + + + loadCytoStyle(); function loadCytoStyle() { @@ -209,9 +323,8 @@ document.addEventListener("DOMContentLoaded", async function() { }); // Fetch and load element data from a JSON file + // Main Version EDITOR fetch("dataCytoMarshall.json") - // fetch("") - .then((response) => response.json()) .then((elements) => { @@ -237,7 +350,6 @@ document.addEventListener("DOMContentLoaded", async function() { .catch((error) => { console.error("Error loading graph data:", error); }); - // Instantiate hover text element const hoverText = document.createElement("box"); hoverText.classList.add( @@ -251,13 +363,27 @@ document.addEventListener("DOMContentLoaded", async function() { hoverText.textContent = "Launch CloudShell."; document.body.appendChild(hoverText); + + + let shiftKeyDown = false; + + // Detect when Shift is pressed or released + document.addEventListener('keydown', (event) => { + if (event.key === 'Shift') { + shiftKeyDown = true; + } + }); + + document.addEventListener('keyup', (event) => { + if (event.key === 'Shift') { + shiftKeyDown = false; + } + }); + + //- Toggle the Panel(s) when clicking on the cy container //- Toggle the Panel(s) when clicking on the cy container document.getElementById("cy").addEventListener("click", function(event) { - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here console.log("cy container clicked"); @@ -266,16 +392,30 @@ document.addEventListener("DOMContentLoaded", async function() { console.log("edgeClicked: ", edgeClicked); + //- This code will be executed when you click anywhere in the Cytoscape container + //- You can add logic specific to the container here + //- This code will be executed when you click anywhere in the Cytoscape container + //- You can add logic specific to the container here + loadCytoStyle(); if (!nodeClicked && !edgeClicked) { + + console.log("!nodeClicked -- !edgeClicked"); + if (!isPanel01Cy) { + console.log("!isPanel01Cy: "); + // Remove all Overlayed Panel // Get all elements with the class "panel-overlay" var panelOverlays = document.getElementsByClassName("panel-overlay"); + + console.log("panelOverlays: ", panelOverlays); + // Loop through each element and set its display to 'none' for (var i = 0; i < panelOverlays.length; i++) { + console.log panelOverlays[i].style.display = "none"; } @@ -285,7 +425,6 @@ document.addEventListener("DOMContentLoaded", async function() { viewportDrawer[i].style.display = "none"; } - // display none each ViewPortDrawer Element, the ViewPortDrawer is created during DOM loading and styled as display node initially // display none each ViewPortDrawer Element, the ViewPortDrawer is created during DOM loading and styled as display node initially var ViewPortDrawerElements = document.getElementsByClassName("ViewPortDrawer"); @@ -304,52 +443,118 @@ document.addEventListener("DOMContentLoaded", async function() { appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); appendMessage(`"nodeClicked: " ${nodeClicked}`); + + }); - // Click event listener for nodes + // Listen for tap or click on the Cytoscape canvas + cy.on('click', async (event) => { + if (event.target === cy && shiftKeyDown) { // Ensures Shift + click/tap + + const pos = event.position; + const newNodeId = 'nodeId-' + (cy.nodes().length + 1); + + // Add the new node to the graph + cy.add({ + group: 'nodes', + data: + { + "id": newNodeId, + "editor": "true", + "weight": "30", + "name": newNodeId, + "parent": "", + "topoViewerRole": "pe", + "sourceEndpoint": "", + "targetEndpoint": "", + "containerDockerExtraAttribute": { + "state": "", + "status": "", + }, + "extraData": { + "kind": "container", + "longname": "", + "image": "", + "mgmtIpv4Addresss": "", + }, + }, + position: { x: pos.x, y: pos.y } + }); + + var cyNode = cy.$id(newNodeId); // Get cytoscpe node object id + + + await showPanelContainerlabEditor(event) + // sleep (1000) + await showPanelNodeEditor(cyNode) + // sleep (100) + await saveNodeToEditorToFile() + } + }); + // Click event listener for nodes cy.on("click", "node", function(event) { - // This code will be executed when you click on a node - // This code will be executed when you click on a node + console.log("isEdgeHandlerActive after node click: ", isEdgeHandlerActive); + + // Ignore the click event if edge handler is active + if (isEdgeHandlerActive) { + return; + } + const node = event.target; nodeClicked = true; - + if (!node.isParent()) { + // if (event.originalEvent.shiftKey && (document.getElementById("panel-clab-editor").style.display != "none")) { // Start edge creation on Shift + Click and the clab editor panel is open + if (event.originalEvent.shiftKey) { // Start edge creation on Shift - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } + console.log("Shift + Click"); + console.log("edgeHandler Node: ", node.data("extraData").longname); + + // Set the edge handler flag + isEdgeHandlerActive = true; + + // Start the edge handler from the clicked node + eh.start(node); - console.log(node) - console.log(node.data("containerDockerExtraAttribute").status) - console.log(node.data("extraData")) - if (document.getElementById("panel-node").style.display === "none") { - document.getElementById("panel-node").style.display = "block"; } else { - document.getElementById("panel-node").style.display = "none"; + if (node.data("editor") === "true") { + console.log("Node is an editor node"); + showPanelNodeEditor(node) + } else { + // Remove all Overlayed Panel + const panelOverlays = document.getElementsByClassName("panel-overlay"); + for (let i = 0; i < panelOverlays.length; i++) { + panelOverlays[i].style.display = "none"; + } + console.log(node); + console.log(node.data("containerDockerExtraAttribute").status); + console.log(node.data("extraData")); + if (document.getElementById("panel-node").style.display === "none") { + document.getElementById("panel-node").style.display = "block"; + } else { + document.getElementById("panel-node").style.display = "none"; + } + + document.getElementById("panel-node-name").textContent = node.data("extraData").longname; + document.getElementById("panel-node-status").textContent = node.data("containerDockerExtraAttribute").status; + document.getElementById("panel-node-kind").textContent = node.data("extraData").kind; + document.getElementById("panel-node-image").textContent = node.data("extraData").image; + document.getElementById("panel-node-mgmtipv4").textContent = node.data("extraData").mgmtIpv4Addresss; + document.getElementById("panel-node-mgmtipv6").textContent = node.data("extraData").mgmtIpv6Address; + document.getElementById("panel-node-fqdn").textContent = node.data("extraData").fqdn; + document.getElementById("panel-node-group").textContent = node.data("extraData").group; + document.getElementById("panel-node-topoviewerrole").textContent = node.data("topoViewerRole"); + + // Set selected node-long-name to global variable + globalSelectedNode = node.data("extraData").longname; + console.log("internal: ", globalSelectedNode); + + appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); + appendMessage(`"nodeClicked: " ${nodeClicked}`); + } } - - document.getElementById("panel-node-name").textContent = node.data("extraData").longname - document.getElementById("panel-node-status").textContent = node.data("containerDockerExtraAttribute").status - document.getElementById("panel-node-kind").textContent = node.data("extraData").kind - document.getElementById("panel-node-image").textContent = node.data("extraData").image - document.getElementById("panel-node-mgmtipv4").textContent = node.data("extraData").mgmtIpv4Addresss - document.getElementById("panel-node-mgmtipv6").textContent = node.data("extraData").mgmtIpv6Address - document.getElementById("panel-node-fqdn").textContent = node.data("extraData").fqdn - document.getElementById("panel-node-group").textContent = node.data("extraData").group - document.getElementById("panel-node-topoviewerrole").textContent = node.data("topoViewerRole") - - // set selected node-long-name to global variable - globalSelectedNode = node.data("extraData").longname - console.log("internal: ", globalSelectedNode) - - appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); - appendMessage(`"nodeClicked: " ${nodeClicked}`); } }); @@ -383,11 +588,6 @@ document.addEventListener("DOMContentLoaded", async function() { } }); - - - - - document.getElementById("panel-link").style.display = "none"; if (document.getElementById("panel-link").style.display === "none") { @@ -674,6 +874,7 @@ document.addEventListener("DOMContentLoaded", async function() { appendMessage("Info: " + `Nice! Node "${nodeName}" added successfully.`); } + function zoomToFitDrawer() { const initialZoom = cy.zoom(); @@ -1329,15 +1530,17 @@ async function linkWireshark(event, option, endpoint) { if (endpoint == "source") { baseUrl = `packetflix:ws://${clabServerAddress}:5001/capture?`; urlParams = `container={"network-interfaces":["${clabSourcePort}"],"name":"${clabSourceLongName.toLocaleLowerCase()}","type":"docker","prefix":""}&nif=${clabSourcePort}`; - edgeSharkHref = baseUrl + urlParams; - console.log("linkWireshark - edgeSharkHref: ", edgeSharkHref) + window.open(edgeSharkHref); + } else if (endpoint == "target") { + baseUrl = `packetflix:ws://${clabServerAddress}:5001/capture?`; + urlParams = `container={"network-interfaces":["${clabTargetPort}"],"name":"${clabTargetLongName.toLocaleLowerCase()}","type":"docker","prefix":""}&nif=${clabTargetPort}`; + edgeSharkHref = baseUrl + urlParams; + console.log("linkWireshark - edgeSharkHref: ", edgeSharkHref) window.open(edgeSharkHref); } - - } else if (option == "copy") { if (endpoint == "source") { @@ -1395,6 +1598,8 @@ document.getElementById("panel-log-messages-close-button").addEventListener("cli document.getElementById("panel-log-messages").style.display = "none"; }); + + async function showPanelTopoViewerClient(event) { // Remove all Overlayed Panel // Get all elements with the class "panel-overlay" @@ -1410,18 +1615,8 @@ async function showPanelTopoViewerClient(event) { clabServerAddress = environments["clab-server-address"] clabServerPort = environments["clab-server-port"] - // hrefWindows = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-windows/ClabCapture.app.zip` - // hrefMac = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-mac/ClabCapture.app.zip` - // hrefMac = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-mac/paketFlix.zip` - - //

- // Please download the following helper app: - //

- // - + hrefWindows = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-windows/ClabCapture.app.zip` + hrefMac = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-mac/ClabCapture.app.zip` document.getElementById("panel-topoviewer-helper").style.display = "block"; @@ -1430,6 +1625,8 @@ async function showPanelTopoViewerClient(event) {

TopoViewer offers a remote capture feature for intercepting Containerlab node endpoints with the help from EdgeShark. For the best experience, it's recommended to have both TopoViewer and its EdgeShark's helper app (packetflix) installed on client-side. +

+

please refer to this link https://containerlab.dev/manual/wireshark/#edgeshark-integration for more information on how to install the helper app. With the TopoViewer helper app, you can effortlessly automate the launch of Wireshark's GUI.

@@ -1522,7 +1719,7 @@ async function getActualNodesEndpoints(event) { ); showLoadingSpinnerGlobal() - const CyTopoJson = await sendRequestToEndpointGet("/actual-nodes-endpoints", argsList = []) + const CyTopoJson = await sendRequestToEndpointGetV2("/actual-nodes-endpoints", argsList = []) location.reload(true); // Handle the response data @@ -1532,8 +1729,6 @@ async function getActualNodesEndpoints(event) { hideLoadingSpinnerGlobal(); - - return CyTopoJson } else { @@ -1571,7 +1766,57 @@ function viewportButtonsLayoutAlgo() { } - +function viewportNodeFindEvent(event) { + //- Get a reference to your Cytoscape instance (assuming it's named 'cy') + //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance + //- Find the node with the specified name + //- Get a reference to your Cytoscape instance (assuming it's named 'cy') + //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance + //- Find the node with the specified name + const nodeName = document.getElementById("nodeFindInput").value; + const node = cy.$(`node[name = "${nodeName}"]`); + //- Check if the node exists + //- Check if the node exists + if (node.length > 0) { + // console + // console + console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); + appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); + //- Apply a highlight style to the node + //- Apply a highlight style to the node + node.style({ + "border-color": "red", + "border-width": "2px", + "background-color": "yellow", + }); + //- Zoom out on the node + //- Zoom out on the node + cy.fit(); + //- Zoom in on the node + //- Zoom in on the node + cy.animate({ + zoom: { + level: 5, + position: { + x: node.position("x"), + y: node.position("y"), + }, + renderedPosition: { + x: node.renderedPosition("x"), + y: node.renderedPosition("y"), + }, + }, + duration: 1500, + }); + } else { + console.error( + `Bro, I couldn't find a node named "${nodeName}". Try another one.`, + ); + appendMessage( + `Bro, I couldn't find a node named "${nodeName}". Try another one.`, + ); + } +} async function layoutAlgoChange(event) { @@ -1943,9 +2188,6 @@ function viewportDrawerCaptureButton() { console.log ("viewportDrawerCaptureButton() - clicked") - - - // Get all checkbox inputs within the specific div const checkboxes = document.querySelectorAll('#viewport-drawer-capture-sceenshoot-content .checkbox-input'); @@ -1990,100 +2232,42 @@ function viewportDrawerCaptureButton() { } - -function nodeFindEvent(event) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - const nodeName = document.getElementById("viewport-drawer-topology-overview-content-edit").value; - const node = cy.$(`node[name = "${nodeName}"]`); - //- Check if the node exists - //- Check if the node exists - if (node.length > 0) { - // console - // console - console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - //- Apply a highlight style to the node - //- Apply a highlight style to the node - node.style({ - "border-color": "red", - "border-width": "2px", - "background-color": "yellow", - }); - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: node.position("x"), - y: node.position("y"), - }, - renderedPosition: { - x: node.renderedPosition("x"), - y: node.renderedPosition("y"), - }, - }, - duration: 1500, - }); - } else { - console.error( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - appendMessage( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - bulmaToast.toast({ - message:`Bro, I couldn't find a node named "${nodeName}". Try another one.`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } -} - async function captureAndSaveViewportAsDrawIo(cy) { - // Find the canvas element for layer2-node - // Find the canvas element for layer2-node - const canvasElement = document.querySelector( - '#cy canvas[data-id="layer2-node"]', - ); - const drawIoWidht = canvasElement.width / 10; + // Define base64-encoded SVGs for each role + const svgBase64ByRole = { + dcgw: 'data:image/svg+xml,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMjAgMTIwOyIgdmlld0JveD0iMCAwIDEyMCAxMjAiIHk9IjBweCIgeD0iMHB4IiBpZD0iTGF5ZXJfMSIgdmVyc2lvbj0iMS4xIj4mI3hhOzxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+LnN0MCB7IGZpbGw6IHJnYigxLCA5MCwgMjU1KTsgfSAuc3QxIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0MiB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgfSAuc3QzIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDQgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IH0gLnN0NSB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NiB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQuMjMzMzsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NyB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDggeyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3Q5IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyB9IC5zdDEwIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgfSAuc3QxMSB7IGZpbGw6IHJnYigzOCwgMzgsIDM4KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNC4yMzMzOyB9IC5zdDEyIHsgZmlsbC1ydWxlOiBldmVub2RkOyBjbGlwLXJ1bGU6IGV2ZW5vZGQ7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QxMyB7IGZpbGwtcnVsZTogZXZlbm9kZDsgY2xpcC1ydWxlOiBldmVub2RkOyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IH0gLnN0MTQgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0LjIzMzM7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsgfSAuc3QxNSB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgfSAuc3QxNiB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QxNyB7IGZpbGw6IHJnYigzOCwgMzgsIDM4KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDE4IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IH0gPC9zdHlsZT4mI3hhOzxyZWN0IGhlaWdodD0iMTIwIiB3aWR0aD0iMTIwIiBjbGFzcz0ic3QwIi8+JiN4YTs8Zz4mI3hhOwk8Zz4mI3hhOwkJPHBhdGggZD0iTTk4LDMwLjFINjhMNTIsODkuOUgyMiIgY2xhc3M9InN0MSIvPiYjeGE7CQk8cGF0aCBkPSJNMjgsMTAwbC03LTguMWMtMS4zLTEuMy0xLjMtMy4xLDAtNC4zbDctNy42IiBjbGFzcz0ic3QxIi8+JiN4YTsJCTxwYXRoIGQ9Ik05MiwyMGw3LDguMWMxLjMsMS4zLDEuMywzLjEsMCw0LjNMOTIsNDAiIGNsYXNzPSJzdDEiLz4mI3hhOwk8L2c+JiN4YTsJPHBhdGggZD0iTTk4LDg5LjlINjQiIGNsYXNzPSJzdDEiLz4mI3hhOwk8cGF0aCBkPSJNOTIsODBsNyw3LjZjMS4zLDEuMywxLjMsMy4xLDAsNC4zbC03LDguMSIgY2xhc3M9InN0MSIvPiYjeGE7CTxwYXRoIGQ9Ik01NiwzMC4xSDIyIE0yOCw0MGwtNy03LjZjLTEuMy0xLjMtMS4zLTMuMSwwLTQuM2w3LTguMSIgY2xhc3M9InN0MSIvPiYjeGE7CTxsaW5lIHkyPSI0OCIgeDI9Ijc2IiB5MT0iNDgiIHgxPSIxMDAiIGNsYXNzPSJzdDEiLz4mI3hhOwk8bGluZSB5Mj0iNjAiIHgyPSI3MiIgeTE9IjYwIiB4MT0iMTAwIiBjbGFzcz0ic3QxIi8+JiN4YTsJPGxpbmUgeTI9IjcyIiB4Mj0iNjgiIHkxPSI3MiIgeDE9IjEwMCIgY2xhc3M9InN0MSIvPiYjeGE7CTxsaW5lIHkyPSI3MiIgeDI9IjQ0IiB5MT0iNzIiIHgxPSIyMCIgY2xhc3M9InN0MSIvPiYjeGE7CTxsaW5lIHkyPSI2MCIgeDI9IjQ4IiB5MT0iNjAiIHgxPSIyMCIgY2xhc3M9InN0MSIvPiYjeGE7CTxsaW5lIHkyPSI0OCIgeDI9IjUyIiB5MT0iNDgiIHgxPSIyMCIgY2xhc3M9InN0MSIvPiYjeGE7PC9nPiYjeGE7PC9zdmc+', + router: 'data:image/svg+xml,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMjAgMTIwOyIgdmlld0JveD0iMCAwIDEyMCAxMjAiIHk9IjBweCIgeD0iMHB4IiBpZD0iTGF5ZXJfMSIgdmVyc2lvbj0iMS4xIj4mI3hhOzxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+LnN0MCB7IGZpbGw6IHJnYigxLCA5MCwgMjU1KTsgfSAuc3QxIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0MiB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgfSAuc3QzIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDQgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IH0gLnN0NSB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NiB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQuMjMzMzsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NyB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDggeyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3Q5IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyB9IC5zdDEwIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgfSAuc3QxMSB7IGZpbGw6IHJnYigzOCwgMzgsIDM4KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNC4yMzMzOyB9IC5zdDEyIHsgZmlsbC1ydWxlOiBldmVub2RkOyBjbGlwLXJ1bGU6IGV2ZW5vZGQ7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QxMyB7IGZpbGwtcnVsZTogZXZlbm9kZDsgY2xpcC1ydWxlOiBldmVub2RkOyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IH0gLnN0MTQgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0LjIzMzM7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsgfSAuc3QxNSB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgfSAuc3QxNiB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QxNyB7IGZpbGw6IHJnYigzOCwgMzgsIDM4KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDE4IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IH0gPC9zdHlsZT4mI3hhOzxyZWN0IGhlaWdodD0iMTIwIiB3aWR0aD0iMTIwIiBjbGFzcz0ic3QwIiB4PSIwIi8+JiN4YTs8Zz4mI3hhOwk8Zz4mI3hhOwkJPHBhdGggZD0iTTQ5LjcsNzBMMjAuMSw5OS44IiBjbGFzcz0ic3QxIi8+JiN4YTsJPC9nPiYjeGE7CTxnPiYjeGE7CQk8cGF0aCBkPSJNOTcuNyw5Ny40TDY4LDY3LjkiIGNsYXNzPSJzdDEiLz4mI3hhOwk8L2c+JiN4YTsJPGc+JiN4YTsJCTxwYXRoIGQ9Ik03MC40LDQ5LjdMOTkuOSwyMCIgY2xhc3M9InN0MSIvPiYjeGE7CTwvZz4mI3hhOwk8cGF0aCBkPSJNMjIuMywyMi4zTDUyLDUxLjkiIGNsYXNzPSJzdDEiLz4mI3hhOwk8cGF0aCBkPSJNMjAuMSwzMy45bDAtMTAuN2MwLTEuOCwxLjMtMywzLjEtMy4xbDEwLjgsMCIgY2xhc3M9InN0MSIvPiYjeGE7CTxwYXRoIGQ9Ik0zOC40LDY4bDEwLjcsMGMxLjgsMCwzLDEuMywzLjEsMy4xbDAsMTAuOCIgY2xhc3M9InN0MSIvPiYjeGE7CTxwYXRoIGQ9Ik05OS44LDg2LjJsMCwxMC43YzAsMS44LTEuMywzLTMuMSwzLjFsLTEwLjgsMCIgY2xhc3M9InN0MSIvPiYjeGE7CTxwYXRoIGQ9Ik04MS44LDUxLjlsLTEwLjcsMGMtMS44LDAtMy0xLjMtMy4xLTMuMUw2OCwzOCIgY2xhc3M9InN0MSIvPiYjeGE7PC9nPiYjeGE7PC9zdmc+', + pe: 'data:image/svg+xml,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMjAgMTIwO2VkaXRhYmxlQ3NzUnVsZXM9Lio7IiB2aWV3Qm94PSIwIDAgMTIwIDEyMCIgeT0iMHB4IiB4PSIwcHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiPiYjeGE7PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uc3QwIHsgZmlsbDogcmdiKDEsIDkwLCAyNTUpOyB9IC5zdDEgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QyIHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyB9IC5zdDMgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NCB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsgfSAuc3Q1IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3Q2IHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNC4yMzMzOyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3Q3IHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0OCB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDkgeyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IH0gLnN0MTAgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyB9IC5zdDExIHsgZmlsbDogcmdiKDM4LCAzOCwgMzgpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0LjIzMzM7IH0gLnN0MTIgeyBmaWxsLXJ1bGU6IGV2ZW5vZGQ7IGNsaXAtcnVsZTogZXZlbm9kZDsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDEzIHsgZmlsbC1ydWxlOiBldmVub2RkOyBjbGlwLXJ1bGU6IGV2ZW5vZGQ7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgfSAuc3QxNCB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQuMjMzMzsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyB9IC5zdDE1IHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyB9IC5zdDE2IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDE3IHsgZmlsbDogcmdiKDM4LCAzOCwgMzgpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0MTggeyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsgfSA8L3N0eWxlPiYjeGE7PHJlY3QgaGVpZ2h0PSIxMjAiIHdpZHRoPSIxMjAiIGNsYXNzPSJzdDAiLz4mI3hhOzxnPiYjeGE7CTxnPiYjeGE7CQk8cGF0aCBkPSJNNzEuNywxOS43VjQ4aDI4IiBjbGFzcz0ic3QxIi8+JiN4YTsJCTxwYXRoIGQ9Ik05MS4yLDM4LjVsNy41LDcuNmMxLjMsMS4zLDEuMywzLjEsMCw0LjNMOTEuMSw1OCIgY2xhc3M9InN0MSIvPiYjeGE7CTwvZz4mI3hhOwk8Zz4mI3hhOwkJPHBhdGggZD0iTTIwLDQ3LjhoMjguNHYtMjgiIGNsYXNzPSJzdDEiLz4mI3hhOwkJPHBhdGggZD0iTTM4LjgsMjguM2w3LjYtNy41YzEuMy0xLjMsMy4xLTEuMyw0LjMsMGw3LjcsNy42IiBjbGFzcz0ic3QxIi8+JiN4YTsJPC9nPiYjeGE7CTxnPiYjeGE7CQk8cGF0aCBkPSJNNDgsMTAwLjNWNzJIMjAiIGNsYXNzPSJzdDEiLz4mI3hhOwkJPHBhdGggZD0iTTI4LjUsODEuNUwyMSw3My45Yy0xLjMtMS4zLTEuMy0zLjEsMC00LjNsNy42LTcuNyIgY2xhc3M9InN0MSIvPiYjeGE7CTwvZz4mI3hhOwk8Zz4mI3hhOwkJPHBhdGggZD0iTTEwMCw3MS45SDcxLjZ2MjgiIGNsYXNzPSJzdDEiLz4mI3hhOwkJPHBhdGggZD0iTTgxLjIsOTEuNGwtNy42LDcuNWMtMS4zLDEuMy0zLjEsMS4zLTQuMywwbC03LjctNy42IiBjbGFzcz0ic3QxIi8+JiN4YTsJPC9nPiYjeGE7PC9nPiYjeGE7PC9zdmc+', + controller: 'data:image/svg+xml,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBvdmVyZmxvdz0iaGlkZGVuIiB4bWw6c3BhY2U9InByZXNlcnZlIiBoZWlnaHQ9IjU4IiB3aWR0aD0iNTkiIHZpZXdCb3g9IjAgMCA1OSA1OCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQxNyAtMTg0KSI+PGc+PGc+PGc+PGc+PHBhdGggZmlsbC1vcGFjaXR5PSIxIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiMwMDVBRkYiIGQ9Ik00MTggMTg1IDQ3NSAxODUgNDc1IDI0MiA0MTggMjQyWiIvPjxwYXRoIGZpbGwtb3BhY2l0eT0iMSIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSIjMDA1QUZGIiBzdHJva2Utb3BhY2l0eT0iMSIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS13aWR0aD0iMS45IiBzdHJva2U9IiNGRkZGRkYiIGQ9Ik00NTYgMjAwLjEwNUM0NTEuMDYgMTk2LjU5IDQ0NC4zNjIgMTk1Ljk3MyA0MzguNzEgMTk5LjA2IDQzMy41MzMgMjAxLjg2MyA0MzAuNDQ1IDIwNy4wNCA0MzAuMTYgMjEyLjU1Ii8+PHBhdGggZmlsbC1vcGFjaXR5PSIxIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiMwMDVBRkYiIHN0cm9rZS1vcGFjaXR5PSIxIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjkiIHN0cm9rZT0iI0ZGRkZGRiIgZD0iTTQzNyAyMjYuODQ4QzQ0MS45NCAyMzAuMzE1IDQ0OC41OSAyMzAuOTggNDU0LjI5IDIyNy44OTMgNDU5LjQ2NyAyMjUuMDkgNDYyLjU1NSAyMTkuODY1IDQ2Mi44NCAyMTQuNDAyIi8+PHBhdGggZmlsbC1vcGFjaXR5PSIxIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiMwMDVBRkYiIHN0cm9rZS1vcGFjaXR5PSIxIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjkiIHN0cm9rZT0iI0ZGRkZGRiIgZD0iTTQ1MC45NjUgMjAyLjU3NSA0NTUuMzM1IDIwMC44MThDNDU2LjA5NSAyMDAuNTMzIDQ1Ni40MjcgMTk5LjgyIDQ1Ni4xOSAxOTkuMDEyTDQ1NC44NiAxOTQuMzEiLz48cGF0aCBmaWxsLW9wYWNpdHk9IjEiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0iIzAwNUFGRiIgc3Ryb2tlLW9wYWNpdHk9IjEiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuOSIgc3Ryb2tlPSIjRkZGRkZGIiBkPSJNNDQxLjk4NyAyMjQuNDI1IDQzNy42MTcgMjI2LjE4MkM0MzYuODU4IDIyNi40NjcgNDM2LjUyNSAyMjcuMTggNDM2Ljc2MyAyMjcuOTg4TDQzOC4wOTIgMjMyLjY5Ii8+PHBhdGggZmlsbC1vcGFjaXR5PSIxIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiMwMDVBRkYiIHN0cm9rZS1vcGFjaXR5PSIxIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjkiIHN0cm9rZT0iI0ZGRkZGRiIgZD0iTTQzNC4zODggMjIwLjQzNUM0MzQuMzg4IDIyMS45MyA0MzMuMTc1IDIyMy4xNDMgNDMxLjY4IDIyMy4xNDMgNDMwLjE4NSAyMjMuMTQzIDQyOC45NzMgMjIxLjkzIDQyOC45NzMgMjIwLjQzNSA0MjguOTczIDIxOC45NCA0MzAuMTg1IDIxNy43MjcgNDMxLjY4IDIxNy43MjcgNDMzLjE3NSAyMTcuNzI3IDQzNC4zODggMjE4Ljk0IDQzNC4zODggMjIwLjQzNVoiLz48cGF0aCBmaWxsLW9wYWNpdHk9IjEiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0iIzAwNUFGRiIgc3Ryb2tlLW9wYWNpdHk9IjEiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuOSIgc3Ryb2tlPSIjRkZGRkZGIiBkPSJNNDY0LjAyNyAyMDYuNDIzQzQ2NC4wMjcgMjA3LjkxOCA0NjIuODE1IDIwOS4xMyA0NjEuMzIgMjA5LjEzIDQ1OS44MjUgMjA5LjEzIDQ1OC42MTMgMjA3LjkxOCA0NTguNjEzIDIwNi40MjMgNDU4LjYxMyAyMDQuOTI3IDQ1OS44MjUgMjAzLjcxNSA0NjEuMzIgMjAzLjcxNSA0NjIuODE1IDIwMy43MTUgNDY0LjAyNyAyMDQuOTI3IDQ2NC4wMjcgMjA2LjQyM1oiLz48L2c+PC9nPjwvZz48L2c+PC9nPjwvc3ZnPg==', + pon: 'data:image/svg+xml,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBvdmVyZmxvdz0iaGlkZGVuIiB4bWw6c3BhY2U9InByZXNlcnZlIiBoZWlnaHQ9IjQ4MCIgd2lkdGg9IjQ4MiIgdmlld0JveD0iMCAwIDQ4MiA0ODAiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMTQgLTQpIj48Zz48Zz48Zz48Zz48cGF0aCBmaWxsLW9wYWNpdHk9IjEiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0iIzAwNUFGRiIgZD0iTTIxNSA0IDY5NSA0IDY5NSA0ODQgMjE1IDQ4NFoiLz48cGF0aCBmaWxsLW9wYWNpdHk9IjEiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0iIzAwNUFGRiIgc3Ryb2tlLW9wYWNpdHk9IjEiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjE2IiBzdHJva2U9IiNGRkZGRkYiIGQ9Ik0yOTguNiA4NCA2MDMgMjQ0IDI5OC42IDQwNCIvPjxwYXRoIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0ibm9uZSIgc3Ryb2tlLW9wYWNpdHk9IjEiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjE2IiBzdHJva2U9IiNGRkZGRkYiIGQ9Ik0yOTguNiAyNDQgNTEwLjIgMjQ0Ii8+PHBhdGggZmlsbC1vcGFjaXR5PSIxIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiMwMDVBRkYiIHN0cm9rZS1vcGFjaXR5PSIxIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiIHN0cm9rZS1saW5lY2FwPSJidXR0IiBzdHJva2Utd2lkdGg9IjE2IiBzdHJva2U9IiNGRkZGRkYiIGQ9Ik02MDcuNCAyNDRDNjA3LjQgMjUwLjYyNyA2MDIuMDI3IDI1NiA1OTUuNCAyNTYgNTg4Ljc3MyAyNTYgNTgzLjQgMjUwLjYyNyA1ODMuNCAyNDQgNTgzLjQgMjM3LjM3MyA1ODguNzczIDIzMiA1OTUuNCAyMzIgNjAyLjAyNyAyMzIgNjA3LjQgMjM3LjM3MyA2MDcuNCAyNDRaIi8+PC9nPjwvZz48L2c+PC9nPjwvZz48L3N2Zz4=', + leaf: 'data:image/svg+xml,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMjAgMTIwOyIgdmlld0JveD0iMCAwIDEyMCAxMjAiIHk9IjBweCIgeD0iMHB4IiBpZD0iTGF5ZXJfMSIgdmVyc2lvbj0iMS4xIj4mI3hhOzxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+LnN0MCB7IGZpbGw6IHJnYigwLCA5MCwgMjU1KTsgfSAuc3QxIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0MiB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgfSAuc3QzIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDQgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IH0gLnN0NSB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NiB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQuMjMzMzsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NyB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDggeyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3Q5IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyB9IC5zdDEwIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgfSAuc3QxMSB7IGZpbGw6IHJnYigzOCwgMzgsIDM4KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNC4yMzMzOyB9IC5zdDEyIHsgZmlsbC1ydWxlOiBldmVub2RkOyBjbGlwLXJ1bGU6IGV2ZW5vZGQ7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QxMyB7IGZpbGwtcnVsZTogZXZlbm9kZDsgY2xpcC1ydWxlOiBldmVub2RkOyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IH0gLnN0MTQgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0LjIzMzM7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsgfSAuc3QxNSB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgfSAuc3QxNiB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QxNyB7IGZpbGw6IHJnYigzOCwgMzgsIDM4KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDE4IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IH0gPC9zdHlsZT4mI3hhOzxyZWN0IGhlaWdodD0iMTIwIiB3aWR0aD0iMTIwIiBjbGFzcz0ic3QwIi8+JiN4YTs8Zz4mI3hhOwk8cGF0aCBkPSJNOTEuNSwyNy4zbDcuNiw3LjZjMS4zLDEuMywxLjMsMy4xLDAsNC4zbC03LjYsNy43IiBjbGFzcz0ic3QxIi8+JiN4YTsJPHBhdGggZD0iTTI4LjUsNDYuOWwtNy42LTcuNmMtMS4zLTEuMy0xLjMtMy4xLDAtNC4zbDcuNi03LjciIGNsYXNzPSJzdDEiLz4mI3hhOwk8cGF0aCBkPSJNOTEuNSw3My4xbDcuNiw3LjZjMS4zLDEuMywxLjMsMy4xLDAsNC4zbC03LjYsNy43IiBjbGFzcz0ic3QxIi8+JiN4YTsJPHBhdGggZD0iTTI4LjUsOTIuN2wtNy42LTcuNmMtMS4zLTEuMy0xLjMtMy4xLDAtNC4zbDcuNi03LjciIGNsYXNzPSJzdDEiLz4mI3hhOwk8Zz4mI3hhOwkJPHBhdGggZD0iTTk2LjYsMzYuOEg2Ny45bC0xNiw0NS45SDIzLjIiIGNsYXNzPSJzdDEiLz4mI3hhOwkJPHBhdGggZD0iTTk2LjYsODIuN0g2Ny45bC0xNi00NS45SDIzLjIiIGNsYXNzPSJzdDEiLz4mI3hhOwk8L2c+JiN4YTs8L2c+JiN4YTs8L3N2Zz4=', + spine: 'data:image/svg+xml,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMjAgMTIwOyIgdmlld0JveD0iMCAwIDEyMCAxMjAiIHk9IjBweCIgeD0iMHB4IiBpZD0iTGF5ZXJfMSIgdmVyc2lvbj0iMS4xIj4mI3hhOzxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+LnN0MCB7IGZpbGw6IHJnYigwLCA5MCwgMjU1KTsgfSAuc3QxIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0MiB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgfSAuc3QzIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDQgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IH0gLnN0NSB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NiB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQuMjMzMzsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gLnN0NyB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDggeyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3Q5IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyB9IC5zdDEwIHsgZmlsbDogbm9uZTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgfSAuc3QxMSB7IGZpbGw6IHJnYigzOCwgMzgsIDM4KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNC4yMzMzOyB9IC5zdDEyIHsgZmlsbC1ydWxlOiBldmVub2RkOyBjbGlwLXJ1bGU6IGV2ZW5vZGQ7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QxMyB7IGZpbGwtcnVsZTogZXZlbm9kZDsgY2xpcC1ydWxlOiBldmVub2RkOyBmaWxsOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IH0gLnN0MTQgeyBmaWxsOiBub25lOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0LjIzMzM7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsgfSAuc3QxNSB7IGZpbGw6IG5vbmU7IHN0cm9rZTogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2Utd2lkdGg6IDQ7IHN0cm9rZS1saW5lY2FwOiByb3VuZDsgfSAuc3QxNiB7IGZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS1taXRlcmxpbWl0OiAxMDsgfSAuc3QxNyB7IGZpbGw6IHJnYigzOCwgMzgsIDM4KTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOyB9IC5zdDE4IHsgZmlsbDogcmdiKDI1NSwgMjU1LCAyNTUpOyBzdHJva2U6IHJnYigyNTUsIDI1NSwgMjU1KTsgc3Ryb2tlLXdpZHRoOiA0OyBzdHJva2UtbGluZWNhcDogcm91bmQ7IHN0cm9rZS1saW5lam9pbjogcm91bmQ7IH0gLnN0MTkgeyBmaWxsOiByZ2IoMCwgMTcsIDUzKTsgc3Ryb2tlOiByZ2IoMjU1LCAyNTUsIDI1NSk7IHN0cm9rZS13aWR0aDogNDsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2UtbWl0ZXJsaW1pdDogMTA7IH0gPC9zdHlsZT4mI3hhOzxyZWN0IGhlaWdodD0iMTIwIiB3aWR0aD0iMTIwIiBjbGFzcz0ic3QwIiB5PSIwIi8+JiN4YTs8cmVjdCBoZWlnaHQ9IjEyMCIgd2lkdGg9IjEyMCIgY2xhc3M9InN0MCIvPiYjeGE7PGc+JiN4YTsJPGc+JiN4YTsJCTxwYXRoIGQ9Ik05OCwzMC4xSDY4TDUyLDg5LjlIMjIiIGNsYXNzPSJzdDEiLz4mI3hhOwkJPHBhdGggZD0iTTI4LDEwMGwtNy04LjFjLTEuMy0xLjMtMS4zLTMuMSwwLTQuM2w3LTcuNiIgY2xhc3M9InN0MSIvPiYjeGE7CQk8cGF0aCBkPSJNOTIsMjBsNyw4LjFjMS4zLDEuMywxLjMsMy4xLDAsNC4zTDkyLDQwIiBjbGFzcz0ic3QxIi8+JiN4YTsJPC9nPiYjeGE7CTxwYXRoIGQ9Ik05OCw4OS45SDY0IiBjbGFzcz0ic3QxIi8+JiN4YTsJPHBhdGggZD0iTTkyLDgwbDcsNy42YzEuMywxLjMsMS4zLDMuMSwwLDQuM2wtNyw4LjEiIGNsYXNzPSJzdDEiLz4mI3hhOwk8cGF0aCBkPSJNNTYsMzAuMUgyMiBNMjgsNDBsLTctNy42Yy0xLjMtMS4zLTEuMy0zLjEsMC00LjNsNy04LjEiIGNsYXNzPSJzdDEiLz4mI3hhOwk8bGluZSB5Mj0iNjAiIHgyPSI3MiIgeTE9IjYwIiB4MT0iMTAwIiBjbGFzcz0ic3QxIi8+JiN4YTsJPGxpbmUgeTI9IjYwIiB4Mj0iNDgiIHkxPSI2MCIgeDE9IjIwIiBjbGFzcz0ic3QxIi8+JiN4YTs8L2c+JiN4YTs8L3N2Zz4=', + 'super-spine': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48cGF0aCBkPSJNMTAsMTAgTDkwLDkwIiBzdHlsZT0iZmlsbDojZmYwMGYwOyIgLz48L3N2Zz4=', + }; + + const canvasElement = document.querySelector('#cy canvas[data-id="layer2-node"]'); + const drawIoWidth = canvasElement.width / 10; const drawIoHeight = canvasElement.height / 10; - const drawIoaAspectRatio = drawIoWidht / drawIoHeight; - const mxGraphHeader = ` - - - `; + const mxGraphHeader = ` + + + `; - const mxGraphFooter = ` - `; + const mxGraphFooter = ` + `; const mxCells = []; - // Iterate through nodes and edges - // Function to create mxCell XML for nodes - // Iterate through nodes and edges - // Function to create mxCell XML for nodes function createMxCellForNode(node, imageURL) { if (node.isParent()) { - return ` - + console.log("createMxCellForNode - node.isParent()",node.isParent() ); + // Use a tiny transparent SVG as a placeholder for the image + return ` + `; - } else if ( - !node.data("id").includes("statusGreen") && - !node.data("id").includes("statusRed") - ) { + } else if (!node.data("id").includes("statusGreen") && !node.data("id").includes("statusRed")) { return ` @@ -2092,39 +2276,24 @@ async function captureAndSaveViewportAsDrawIo(cy) { } cy.nodes().forEach(function(node) { - let imageURL; - switch (node.data("topoViewerRole")) { - case "pe": - imageURL = `http://${location.host}/images/clab-pe-light-blue.png`; - break; - case "controller": - imageURL = - `http://${location.host}/images/clab-controller-light-blue.png`; - break; - case "pon": - imageURL = `http://${location.host}/images/clab-pon-dark-blue.png`; - break; - case "dcgw": - imageURL = `http://${location.host}/images/clab-dcgw-dark-blue.png`; - break; - case "leaf": - imageURL = `http://${location.host}/images/clab-leaf-light-blue.png`; - break; - case "spine": - imageURL = `http://${location.host}/images/clab-spine-dark-blue.png`; - break; - case "super-spine": - imageURL = `http://${location.host}/images/clab-spine-light-blue.png`; - break; + const svgBase64 = svgBase64ByRole[node.data("topoViewerRole")] || (node.isParent() ? 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciLz4=' : null); + + if (svgBase64) { + // Add parent nodes at the start of the array for bottom-layer rendering + if (node.isParent()) { + mxCells.unshift(createMxCellForNode(node, svgBase64)); + } else { + // Add non-parent nodes at the end of the array + mxCells.push(createMxCellForNode(node, svgBase64)); + } } - mxCells.push(createMxCellForNode(node, imageURL)); }); + cy.edges().forEach(function(edge) { mxCells.push(` - - + @@ -2142,9 +2311,7 @@ async function captureAndSaveViewportAsDrawIo(cy) { const mxGraphXML = mxGraphHeader + mxCells.join("") + mxGraphFooter; // Create a Blob from the XML - const blob = new Blob([mxGraphXML], { - type: "application/xml", - }); + const blob = new Blob([mxGraphXML], { type: "application/xml" }); // Create a URL for the Blob const url = window.URL.createObjectURL(blob); @@ -2164,6 +2331,7 @@ async function captureAndSaveViewportAsDrawIo(cy) { closeOnClick: true, }); await sleep(2000); + // Simulate a click to trigger the download a.click(); @@ -2171,70 +2339,27 @@ async function captureAndSaveViewportAsDrawIo(cy) { window.URL.revokeObjectURL(url); document.body.removeChild(a); } -async function captureAndSaveViewportAsPng(cy) { - // Find the canvas element for layer2-node - // Find the canvas element for layer2-node - const canvasElement = document.querySelector( - '#cy canvas[data-id="layer2-node"]', - ); - const zoomScaleFactor = 1; - - // Check if the canvas element exists and is an HTMLCanvasElement - // Check if the canvas element exists and is an HTMLCanvasElement - if (canvasElement instanceof HTMLCanvasElement) { - // Calculate the new canvas dimensions based on the high resolution factor - // Calculate the new canvas dimensions based on the high resolution factor - const newWidth = canvasElement.width * zoomScaleFactor; - const newHeight = canvasElement.height * zoomScaleFactor; - - // Create a new canvas element with the increased dimensions - // Create a new canvas element with the increased dimensions - const newCanvas = document.createElement("canvas"); - newCanvas.width = newWidth; - newCanvas.height = newHeight; - const newCanvasContext = newCanvas.getContext("2d"); - - // Scale the canvas content to the new dimensions - // Scale the canvas content to the new dimensions - newCanvasContext.scale(zoomScaleFactor, zoomScaleFactor); - - // Fill the new canvas with a white background - // Fill the new canvas with a white background - newCanvasContext.fillStyle = "white"; - newCanvasContext.fillRect(0, 0, newWidth, newHeight); - - // Draw the original canvas content on the new canvas - // Draw the original canvas content on the new canvas - newCanvasContext.drawImage(canvasElement, 0, 0); - - // Convert the new canvas to a data URL with a white background - // Convert the new canvas to a data URL with a white background - const dataUrl = newCanvas.toDataURL("image/png"); - - // Create an anchor element to trigger the download - // Create an anchor element to trigger the download - const link = document.createElement("a"); - link.href = dataUrl; - link.download = "cytoscape-viewport.png"; +// async function getYamlTopoContent(yamlTopoContent) { - bulmaToast.toast({ - message: `Brace yourselves for a quick snapshot, folks! 📸 Capturing the viewport in 3... 2... 1... 🚀💥`, - type: "is-warning is-size-6 p-3", - duration: 2000, - position: "top-center", - closeOnClick: true, - }); - await sleep(2000); - // Simulate a click to trigger the download - // Simulate a click to trigger the download - link.click(); - } else { - console.error( - "Canvas element for layer2-node is not found or is not a valid HTML canvas element.", - ); - } -} +// try { +// // Check if yamlTopoContent is already set +// console.log('YAML Topo Initial Content:', yamlTopoContent); + +// if (!yamlTopoContent) { +// // Load the content if yamlTopoContent is empty +// yamlTopoContent = await sendRequestToEndpointGetV3("/get-yaml-topo-content"); +// } + +// console.log('YAML Topo Content:', yamlTopoContent); +// document.getElementById('panel-clab-editor-text-area').value = yamlTopoContent; + + +// } catch (error) { +// console.error("Error occurred:", error); +// // Handle errors as needed +// } +// } diff --git a/dist/html-static/js/library/bulma-1-0-0.min.css b/dist/html-static/js/library/bulma-1-0-0.min.css new file mode 100644 index 000000000..c5113b873 --- /dev/null +++ b/dist/html-static/js/library/bulma-1-0-0.min.css @@ -0,0 +1,3 @@ +@charset "UTF-8"; +/*! bulma.io v1.0.0 | MIT License | github.com/jgthms/bulma */:root{--bulma-control-radius:var(--bulma-radius);--bulma-control-radius-small:var(--bulma-radius-small);--bulma-control-border-width:1px;--bulma-control-height:2.5em;--bulma-control-line-height:1.5;--bulma-control-padding-vertical:calc(0.5em - 1px);--bulma-control-padding-horizontal:calc(0.75em - 1px);--bulma-control-size:var(--bulma-size-normal);--bulma-control-focus-shadow-l:50%;--bulma-scheme-h:221;--bulma-scheme-s:14%;--bulma-light-l:90%;--bulma-light-invert-l:20%;--bulma-dark-l:20%;--bulma-dark-invert-l:90%;--bulma-soft-l:90%;--bulma-bold-l:20%;--bulma-soft-invert-l:20%;--bulma-bold-invert-l:90%;--bulma-hover-background-l-delta:-5%;--bulma-active-background-l-delta:-10%;--bulma-hover-border-l-delta:-10%;--bulma-active-border-l-delta:-20%;--bulma-hover-color-l-delta:-5%;--bulma-active-color-l-delta:-10%;--bulma-hover-shadow-a-delta:-0.05;--bulma-active-shadow-a-delta:-0.1;--bulma-scheme-brightness:light;--bulma-scheme-main-l:100%;--bulma-scheme-main-bis-l:98%;--bulma-scheme-main-ter-l:96%;--bulma-background-l:96%;--bulma-border-weak-l:93%;--bulma-border-l:86%;--bulma-text-weak-l:48%;--bulma-text-strong-l:21%;--bulma-text-title-l:14%;--bulma-scheme-invert-ter-l:14%;--bulma-scheme-invert-bis-l:7%;--bulma-scheme-invert-l:4%;--bulma-family-primary:Inter,SF Pro,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Helvetica,Arial,sans-serif;--bulma-family-secondary:Inter,SF Pro,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Helvetica,Arial,sans-serif;--bulma-family-code:Inconsolata,Hack,SF Mono,Roboto Mono,Source Code Pro,Ubuntu Mono,monospace;--bulma-size-small:0.75rem;--bulma-size-normal:1rem;--bulma-size-medium:1.25rem;--bulma-size-large:1.5rem;--bulma-weight-light:300;--bulma-weight-normal:400;--bulma-weight-medium:500;--bulma-weight-semibold:600;--bulma-weight-bold:700;--bulma-weight-extrabold:800;--bulma-block-spacing:1.5rem;--bulma-duration:294ms;--bulma-easing:ease-out;--bulma-radius-small:0.25rem;--bulma-radius:0.375rem;--bulma-radius-medium:0.5em;--bulma-radius-large:0.75rem;--bulma-radius-rounded:9999px;--bulma-speed:86ms;--bulma-loading-color:var(--bulma-border);--bulma-burger-h:var(--bulma-link-h);--bulma-burger-s:var(--bulma-link-s);--bulma-burger-l:var(--bulma-link-l);--bulma-burger-border-radius:0.5em;--bulma-burger-gap:5px;--bulma-burger-item-height:2px;--bulma-burger-item-width:20px;--bulma-white:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-l),1);--bulma-white-base:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-l),1);--bulma-white-rgb:255,255,255;--bulma-white-h:221deg;--bulma-white-s:14%;--bulma-white-l:100%;--bulma-white-invert-l:4%;--bulma-white-invert:#090a0c;--bulma-white-on-scheme-l:35%;--bulma-white-on-scheme:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-on-scheme-l),1);--bulma-black:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-l),1);--bulma-black-base:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-l),1);--bulma-black-rgb:9,10,12;--bulma-black-h:221deg;--bulma-black-s:14%;--bulma-black-l:4%;--bulma-black-invert-l:100%;--bulma-black-invert:#fff;--bulma-black-on-scheme-l:4%;--bulma-black-on-scheme:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-on-scheme-l),1);--bulma-light:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-l),1);--bulma-light-base:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-l),1);--bulma-light-rgb:243,244,246;--bulma-light-h:221deg;--bulma-light-s:14%;--bulma-light-l:96%;--bulma-light-invert-l:21%;--bulma-light-invert:#2e333d;--bulma-light-on-scheme-l:36%;--bulma-light-on-scheme:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-on-scheme-l),1);--bulma-dark:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-l),1);--bulma-dark-base:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-l),1);--bulma-dark-rgb:46,51,61;--bulma-dark-h:221deg;--bulma-dark-s:14%;--bulma-dark-l:21%;--bulma-dark-invert-l:96%;--bulma-dark-invert:#f3f4f6;--bulma-dark-on-scheme-l:21%;--bulma-dark-on-scheme:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-on-scheme-l),1);--bulma-text:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l),1);--bulma-text-base:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l),1);--bulma-text-rgb:64,70,84;--bulma-text-h:221deg;--bulma-text-s:14%;--bulma-text-l:29%;--bulma-text-00-l:0%;--bulma-text-05-l:4%;--bulma-text-10-l:9%;--bulma-text-15-l:14%;--bulma-text-20-l:19%;--bulma-text-25-l:24%;--bulma-text-30-l:29%;--bulma-text-35-l:34%;--bulma-text-40-l:39%;--bulma-text-45-l:44%;--bulma-text-50-l:49%;--bulma-text-55-l:54%;--bulma-text-60-l:59%;--bulma-text-65-l:64%;--bulma-text-70-l:69%;--bulma-text-75-l:74%;--bulma-text-80-l:79%;--bulma-text-85-l:84%;--bulma-text-90-l:89%;--bulma-text-95-l:94%;--bulma-text-100-l:100%;--bulma-text-00:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-00-l),1);--bulma-text-00-invert-l:var(--bulma-text-60-l);--bulma-text-00-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-00-invert-l),1);--bulma-text-05:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-05-l),1);--bulma-text-05-invert-l:var(--bulma-text-60-l);--bulma-text-05-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-05-invert-l),1);--bulma-text-10:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-10-l),1);--bulma-text-10-invert-l:var(--bulma-text-70-l);--bulma-text-10-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-10-invert-l),1);--bulma-text-15:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-15-l),1);--bulma-text-15-invert-l:var(--bulma-text-75-l);--bulma-text-15-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-15-invert-l),1);--bulma-text-20:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-20-l),1);--bulma-text-20-invert-l:var(--bulma-text-85-l);--bulma-text-20-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-20-invert-l),1);--bulma-text-25:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-25-l),1);--bulma-text-25-invert-l:var(--bulma-text-95-l);--bulma-text-25-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-25-invert-l),1);--bulma-text-30:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-30-l),1);--bulma-text-30-invert-l:var(--bulma-text-100-l);--bulma-text-30-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-30-invert-l),1);--bulma-text-35:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-35-l),1);--bulma-text-35-invert-l:var(--bulma-text-100-l);--bulma-text-35-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-35-invert-l),1);--bulma-text-40:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-40-l),1);--bulma-text-40-invert-l:var(--bulma-text-100-l);--bulma-text-40-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-40-invert-l),1);--bulma-text-45:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-45-l),1);--bulma-text-45-invert-l:var(--bulma-text-100-l);--bulma-text-45-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-45-invert-l),1);--bulma-text-50:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-50-l),1);--bulma-text-50-invert-l:var(--bulma-text-100-l);--bulma-text-50-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-50-invert-l),1);--bulma-text-55:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-55-l),1);--bulma-text-55-invert-l:var(--bulma-text-100-l);--bulma-text-55-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-55-invert-l),1);--bulma-text-60:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-60-l),1);--bulma-text-60-invert-l:var(--bulma-text-05-l);--bulma-text-60-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-60-invert-l),1);--bulma-text-65:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-65-l),1);--bulma-text-65-invert-l:var(--bulma-text-05-l);--bulma-text-65-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-65-invert-l),1);--bulma-text-70:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-70-l),1);--bulma-text-70-invert-l:var(--bulma-text-10-l);--bulma-text-70-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-70-invert-l),1);--bulma-text-75:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-75-l),1);--bulma-text-75-invert-l:var(--bulma-text-15-l);--bulma-text-75-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-75-invert-l),1);--bulma-text-80:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-80-l),1);--bulma-text-80-invert-l:var(--bulma-text-15-l);--bulma-text-80-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-80-invert-l),1);--bulma-text-85:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-85-l),1);--bulma-text-85-invert-l:var(--bulma-text-20-l);--bulma-text-85-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-85-invert-l),1);--bulma-text-90:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-90-l),1);--bulma-text-90-invert-l:var(--bulma-text-20-l);--bulma-text-90-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-90-invert-l),1);--bulma-text-95:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-95-l),1);--bulma-text-95-invert-l:var(--bulma-text-25-l);--bulma-text-95-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-95-invert-l),1);--bulma-text-100:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-100-l),1);--bulma-text-100-invert-l:var(--bulma-text-30-l);--bulma-text-100-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-100-invert-l),1);--bulma-text-invert-l:var(--bulma-text-100-l);--bulma-text-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-invert-l),1);--bulma-text-light-l:var(--bulma-text-90-l);--bulma-text-light:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-light-l),1);--bulma-text-light-invert-l:var(--bulma-text-20-l);--bulma-text-light-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-light-invert-l),1);--bulma-text-dark-l:var(--bulma-text-10-l);--bulma-text-dark:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-dark-l),1);--bulma-text-dark-invert-l:var(--bulma-text-70-l);--bulma-text-dark-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-dark-invert-l),1);--bulma-text-soft:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-soft-l),1);--bulma-text-bold:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-bold-l),1);--bulma-text-soft-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-soft-invert-l),1);--bulma-text-bold-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-bold-invert-l),1);--bulma-text-on-scheme-l:29%;--bulma-text-on-scheme:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-on-scheme-l),1);--bulma-primary:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-l),1);--bulma-primary-base:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-l),1);--bulma-primary-rgb:0,209,178;--bulma-primary-h:171deg;--bulma-primary-s:100%;--bulma-primary-l:41%;--bulma-primary-00-l:1%;--bulma-primary-05-l:6%;--bulma-primary-10-l:11%;--bulma-primary-15-l:16%;--bulma-primary-20-l:21%;--bulma-primary-25-l:26%;--bulma-primary-30-l:31%;--bulma-primary-35-l:36%;--bulma-primary-40-l:41%;--bulma-primary-45-l:46%;--bulma-primary-50-l:51%;--bulma-primary-55-l:56%;--bulma-primary-60-l:61%;--bulma-primary-65-l:66%;--bulma-primary-70-l:71%;--bulma-primary-75-l:76%;--bulma-primary-80-l:81%;--bulma-primary-85-l:86%;--bulma-primary-90-l:91%;--bulma-primary-95-l:96%;--bulma-primary-100-l:100%;--bulma-primary-00:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-00-l),1);--bulma-primary-00-invert-l:var(--bulma-primary-30-l);--bulma-primary-00-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-00-invert-l),1);--bulma-primary-05:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-05-l),1);--bulma-primary-05-invert-l:var(--bulma-primary-40-l);--bulma-primary-05-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-05-invert-l),1);--bulma-primary-10:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-10-l),1);--bulma-primary-10-invert-l:var(--bulma-primary-50-l);--bulma-primary-10-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-10-invert-l),1);--bulma-primary-15:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-15-l),1);--bulma-primary-15-invert-l:var(--bulma-primary-100-l);--bulma-primary-15-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-15-invert-l),1);--bulma-primary-20:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-20-l),1);--bulma-primary-20-invert-l:var(--bulma-primary-100-l);--bulma-primary-20-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-20-invert-l),1);--bulma-primary-25:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-25-l),1);--bulma-primary-25-invert-l:var(--bulma-primary-100-l);--bulma-primary-25-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-25-invert-l),1);--bulma-primary-30:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-30-l),1);--bulma-primary-30-invert-l:var(--bulma-primary-00-l);--bulma-primary-30-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-30-invert-l),1);--bulma-primary-35:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-35-l),1);--bulma-primary-35-invert-l:var(--bulma-primary-00-l);--bulma-primary-35-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-35-invert-l),1);--bulma-primary-40:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-40-l),1);--bulma-primary-40-invert-l:var(--bulma-primary-05-l);--bulma-primary-40-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-40-invert-l),1);--bulma-primary-45:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-45-l),1);--bulma-primary-45-invert-l:var(--bulma-primary-05-l);--bulma-primary-45-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-45-invert-l),1);--bulma-primary-50:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-50-l),1);--bulma-primary-50-invert-l:var(--bulma-primary-10-l);--bulma-primary-50-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-50-invert-l),1);--bulma-primary-55:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-55-l),1);--bulma-primary-55-invert-l:var(--bulma-primary-10-l);--bulma-primary-55-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-55-invert-l),1);--bulma-primary-60:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-60-l),1);--bulma-primary-60-invert-l:var(--bulma-primary-10-l);--bulma-primary-60-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-60-invert-l),1);--bulma-primary-65:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-65-l),1);--bulma-primary-65-invert-l:var(--bulma-primary-10-l);--bulma-primary-65-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-65-invert-l),1);--bulma-primary-70:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-70-l),1);--bulma-primary-70-invert-l:var(--bulma-primary-10-l);--bulma-primary-70-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-70-invert-l),1);--bulma-primary-75:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-75-l),1);--bulma-primary-75-invert-l:var(--bulma-primary-10-l);--bulma-primary-75-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-75-invert-l),1);--bulma-primary-80:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-80-l),1);--bulma-primary-80-invert-l:var(--bulma-primary-10-l);--bulma-primary-80-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-80-invert-l),1);--bulma-primary-85:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-85-l),1);--bulma-primary-85-invert-l:var(--bulma-primary-10-l);--bulma-primary-85-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-85-invert-l),1);--bulma-primary-90:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-90-l),1);--bulma-primary-90-invert-l:var(--bulma-primary-10-l);--bulma-primary-90-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-90-invert-l),1);--bulma-primary-95:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-95-l),1);--bulma-primary-95-invert-l:var(--bulma-primary-10-l);--bulma-primary-95-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-95-invert-l),1);--bulma-primary-100:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-100-l),1);--bulma-primary-100-invert-l:var(--bulma-primary-15-l);--bulma-primary-100-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-100-invert-l),1);--bulma-primary-invert-l:var(--bulma-primary-05-l);--bulma-primary-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-invert-l),1);--bulma-primary-light-l:var(--bulma-primary-90-l);--bulma-primary-light:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-light-l),1);--bulma-primary-light-invert-l:var(--bulma-primary-10-l);--bulma-primary-light-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-light-invert-l),1);--bulma-primary-dark-l:var(--bulma-primary-10-l);--bulma-primary-dark:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-dark-l),1);--bulma-primary-dark-invert-l:var(--bulma-primary-50-l);--bulma-primary-dark-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-dark-invert-l),1);--bulma-primary-soft:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-soft-l),1);--bulma-primary-bold:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-bold-l),1);--bulma-primary-soft-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-soft-invert-l),1);--bulma-primary-bold-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-bold-invert-l),1);--bulma-primary-on-scheme-l:21%;--bulma-primary-on-scheme:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-on-scheme-l),1);--bulma-link:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l),1);--bulma-link-base:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l),1);--bulma-link-rgb:66,88,255;--bulma-link-h:233deg;--bulma-link-s:100%;--bulma-link-l:63%;--bulma-link-00-l:0%;--bulma-link-05-l:3%;--bulma-link-10-l:8%;--bulma-link-15-l:13%;--bulma-link-20-l:18%;--bulma-link-25-l:23%;--bulma-link-30-l:28%;--bulma-link-35-l:33%;--bulma-link-40-l:38%;--bulma-link-45-l:43%;--bulma-link-50-l:48%;--bulma-link-55-l:53%;--bulma-link-60-l:58%;--bulma-link-65-l:63%;--bulma-link-70-l:68%;--bulma-link-75-l:73%;--bulma-link-80-l:78%;--bulma-link-85-l:83%;--bulma-link-90-l:88%;--bulma-link-95-l:93%;--bulma-link-100-l:100%;--bulma-link-00:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-00-l),1);--bulma-link-00-invert-l:var(--bulma-link-75-l);--bulma-link-00-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-00-invert-l),1);--bulma-link-05:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-05-l),1);--bulma-link-05-invert-l:var(--bulma-link-75-l);--bulma-link-05-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-05-invert-l),1);--bulma-link-10:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-10-l),1);--bulma-link-10-invert-l:var(--bulma-link-75-l);--bulma-link-10-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-10-invert-l),1);--bulma-link-15:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-15-l),1);--bulma-link-15-invert-l:var(--bulma-link-80-l);--bulma-link-15-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-15-invert-l),1);--bulma-link-20:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-20-l),1);--bulma-link-20-invert-l:var(--bulma-link-80-l);--bulma-link-20-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-20-invert-l),1);--bulma-link-25:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-25-l),1);--bulma-link-25-invert-l:var(--bulma-link-85-l);--bulma-link-25-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-25-invert-l),1);--bulma-link-30:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-30-l),1);--bulma-link-30-invert-l:var(--bulma-link-90-l);--bulma-link-30-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-30-invert-l),1);--bulma-link-35:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-35-l),1);--bulma-link-35-invert-l:var(--bulma-link-90-l);--bulma-link-35-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-35-invert-l),1);--bulma-link-40:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-40-l),1);--bulma-link-40-invert-l:var(--bulma-link-95-l);--bulma-link-40-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-40-invert-l),1);--bulma-link-45:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-45-l),1);--bulma-link-45-invert-l:var(--bulma-link-100-l);--bulma-link-45-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-45-invert-l),1);--bulma-link-50:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-50-l),1);--bulma-link-50-invert-l:var(--bulma-link-100-l);--bulma-link-50-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-50-invert-l),1);--bulma-link-55:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-55-l),1);--bulma-link-55-invert-l:var(--bulma-link-100-l);--bulma-link-55-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-55-invert-l),1);--bulma-link-60:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-60-l),1);--bulma-link-60-invert-l:var(--bulma-link-100-l);--bulma-link-60-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-60-invert-l),1);--bulma-link-65:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-65-l),1);--bulma-link-65-invert-l:var(--bulma-link-100-l);--bulma-link-65-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-65-invert-l),1);--bulma-link-70:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-70-l),1);--bulma-link-70-invert-l:var(--bulma-link-100-l);--bulma-link-70-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-70-invert-l),1);--bulma-link-75:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-75-l),1);--bulma-link-75-invert-l:var(--bulma-link-10-l);--bulma-link-75-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-75-invert-l),1);--bulma-link-80:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-80-l),1);--bulma-link-80-invert-l:var(--bulma-link-20-l);--bulma-link-80-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-80-invert-l),1);--bulma-link-85:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-85-l),1);--bulma-link-85-invert-l:var(--bulma-link-25-l);--bulma-link-85-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-85-invert-l),1);--bulma-link-90:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-90-l),1);--bulma-link-90-invert-l:var(--bulma-link-35-l);--bulma-link-90-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-90-invert-l),1);--bulma-link-95:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-95-l),1);--bulma-link-95-invert-l:var(--bulma-link-40-l);--bulma-link-95-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-95-invert-l),1);--bulma-link-100:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-100-l),1);--bulma-link-100-invert-l:var(--bulma-link-50-l);--bulma-link-100-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-100-invert-l),1);--bulma-link-invert-l:var(--bulma-link-100-l);--bulma-link-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-invert-l),1);--bulma-link-light-l:var(--bulma-link-90-l);--bulma-link-light:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-light-l),1);--bulma-link-light-invert-l:var(--bulma-link-35-l);--bulma-link-light-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-light-invert-l),1);--bulma-link-dark-l:var(--bulma-link-10-l);--bulma-link-dark:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-dark-l),1);--bulma-link-dark-invert-l:var(--bulma-link-75-l);--bulma-link-dark-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-dark-invert-l),1);--bulma-link-soft:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-soft-l),1);--bulma-link-bold:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-bold-l),1);--bulma-link-soft-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-soft-invert-l),1);--bulma-link-bold-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-bold-invert-l),1);--bulma-link-on-scheme-l:58%;--bulma-link-on-scheme:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l),1);--bulma-info:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-l),1);--bulma-info-base:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-l),1);--bulma-info-rgb:102,209,255;--bulma-info-h:198deg;--bulma-info-s:100%;--bulma-info-l:70%;--bulma-info-00-l:0%;--bulma-info-05-l:5%;--bulma-info-10-l:10%;--bulma-info-15-l:15%;--bulma-info-20-l:20%;--bulma-info-25-l:25%;--bulma-info-30-l:30%;--bulma-info-35-l:35%;--bulma-info-40-l:40%;--bulma-info-45-l:45%;--bulma-info-50-l:50%;--bulma-info-55-l:55%;--bulma-info-60-l:60%;--bulma-info-65-l:65%;--bulma-info-70-l:70%;--bulma-info-75-l:75%;--bulma-info-80-l:80%;--bulma-info-85-l:85%;--bulma-info-90-l:90%;--bulma-info-95-l:95%;--bulma-info-100-l:100%;--bulma-info-00:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-00-l),1);--bulma-info-00-invert-l:var(--bulma-info-45-l);--bulma-info-00-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-00-invert-l),1);--bulma-info-05:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-05-l),1);--bulma-info-05-invert-l:var(--bulma-info-50-l);--bulma-info-05-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-05-invert-l),1);--bulma-info-10:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-10-l),1);--bulma-info-10-invert-l:var(--bulma-info-60-l);--bulma-info-10-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-10-invert-l),1);--bulma-info-15:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-15-l),1);--bulma-info-15-invert-l:var(--bulma-info-80-l);--bulma-info-15-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-15-invert-l),1);--bulma-info-20:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-20-l),1);--bulma-info-20-invert-l:var(--bulma-info-95-l);--bulma-info-20-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-20-invert-l),1);--bulma-info-25:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-25-l),1);--bulma-info-25-invert-l:var(--bulma-info-100-l);--bulma-info-25-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-25-invert-l),1);--bulma-info-30:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-30-l),1);--bulma-info-30-invert-l:var(--bulma-info-100-l);--bulma-info-30-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-30-invert-l),1);--bulma-info-35:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-35-l),1);--bulma-info-35-invert-l:var(--bulma-info-100-l);--bulma-info-35-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-35-invert-l),1);--bulma-info-40:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-40-l),1);--bulma-info-40-invert-l:var(--bulma-info-100-l);--bulma-info-40-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-40-invert-l),1);--bulma-info-45:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-45-l),1);--bulma-info-45-invert-l:var(--bulma-info-00-l);--bulma-info-45-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-45-invert-l),1);--bulma-info-50:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-50-l),1);--bulma-info-50-invert-l:var(--bulma-info-05-l);--bulma-info-50-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-50-invert-l),1);--bulma-info-55:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-55-l),1);--bulma-info-55-invert-l:var(--bulma-info-05-l);--bulma-info-55-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-55-invert-l),1);--bulma-info-60:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-60-l),1);--bulma-info-60-invert-l:var(--bulma-info-10-l);--bulma-info-60-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-60-invert-l),1);--bulma-info-65:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-65-l),1);--bulma-info-65-invert-l:var(--bulma-info-10-l);--bulma-info-65-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-65-invert-l),1);--bulma-info-70:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-70-l),1);--bulma-info-70-invert-l:var(--bulma-info-10-l);--bulma-info-70-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-70-invert-l),1);--bulma-info-75:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-75-l),1);--bulma-info-75-invert-l:var(--bulma-info-10-l);--bulma-info-75-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-75-invert-l),1);--bulma-info-80:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-80-l),1);--bulma-info-80-invert-l:var(--bulma-info-15-l);--bulma-info-80-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-80-invert-l),1);--bulma-info-85:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-85-l),1);--bulma-info-85-invert-l:var(--bulma-info-15-l);--bulma-info-85-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-85-invert-l),1);--bulma-info-90:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-90-l),1);--bulma-info-90-invert-l:var(--bulma-info-15-l);--bulma-info-90-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-90-invert-l),1);--bulma-info-95:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-95-l),1);--bulma-info-95-invert-l:var(--bulma-info-20-l);--bulma-info-95-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-95-invert-l),1);--bulma-info-100:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-100-l),1);--bulma-info-100-invert-l:var(--bulma-info-20-l);--bulma-info-100-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-100-invert-l),1);--bulma-info-invert-l:var(--bulma-info-10-l);--bulma-info-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-invert-l),1);--bulma-info-light-l:var(--bulma-info-90-l);--bulma-info-light:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-light-l),1);--bulma-info-light-invert-l:var(--bulma-info-15-l);--bulma-info-light-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-light-invert-l),1);--bulma-info-dark-l:var(--bulma-info-10-l);--bulma-info-dark:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-dark-l),1);--bulma-info-dark-invert-l:var(--bulma-info-60-l);--bulma-info-dark-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-dark-invert-l),1);--bulma-info-soft:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-soft-l),1);--bulma-info-bold:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-bold-l),1);--bulma-info-soft-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-soft-invert-l),1);--bulma-info-bold-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-bold-invert-l),1);--bulma-info-on-scheme-l:25%;--bulma-info-on-scheme:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-on-scheme-l),1);--bulma-success:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-l),1);--bulma-success-base:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-l),1);--bulma-success-rgb:72,199,142;--bulma-success-h:153deg;--bulma-success-s:53%;--bulma-success-l:53%;--bulma-success-00-l:0%;--bulma-success-05-l:3%;--bulma-success-10-l:8%;--bulma-success-15-l:13%;--bulma-success-20-l:18%;--bulma-success-25-l:23%;--bulma-success-30-l:28%;--bulma-success-35-l:33%;--bulma-success-40-l:38%;--bulma-success-45-l:43%;--bulma-success-50-l:48%;--bulma-success-55-l:53%;--bulma-success-60-l:58%;--bulma-success-65-l:63%;--bulma-success-70-l:68%;--bulma-success-75-l:73%;--bulma-success-80-l:78%;--bulma-success-85-l:83%;--bulma-success-90-l:88%;--bulma-success-95-l:93%;--bulma-success-100-l:100%;--bulma-success-00:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-00-l),1);--bulma-success-00-invert-l:var(--bulma-success-45-l);--bulma-success-00-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-00-invert-l),1);--bulma-success-05:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-05-l),1);--bulma-success-05-invert-l:var(--bulma-success-45-l);--bulma-success-05-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-05-invert-l),1);--bulma-success-10:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-10-l),1);--bulma-success-10-invert-l:var(--bulma-success-55-l);--bulma-success-10-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-10-invert-l),1);--bulma-success-15:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-15-l),1);--bulma-success-15-invert-l:var(--bulma-success-75-l);--bulma-success-15-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-15-invert-l),1);--bulma-success-20:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-20-l),1);--bulma-success-20-invert-l:var(--bulma-success-90-l);--bulma-success-20-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-20-invert-l),1);--bulma-success-25:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-25-l),1);--bulma-success-25-invert-l:var(--bulma-success-100-l);--bulma-success-25-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-25-invert-l),1);--bulma-success-30:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-30-l),1);--bulma-success-30-invert-l:var(--bulma-success-100-l);--bulma-success-30-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-30-invert-l),1);--bulma-success-35:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-35-l),1);--bulma-success-35-invert-l:var(--bulma-success-100-l);--bulma-success-35-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-35-invert-l),1);--bulma-success-40:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-40-l),1);--bulma-success-40-invert-l:var(--bulma-success-100-l);--bulma-success-40-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-40-invert-l),1);--bulma-success-45:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-45-l),1);--bulma-success-45-invert-l:var(--bulma-success-05-l);--bulma-success-45-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-45-invert-l),1);--bulma-success-50:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-50-l),1);--bulma-success-50-invert-l:var(--bulma-success-05-l);--bulma-success-50-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-50-invert-l),1);--bulma-success-55:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-55-l),1);--bulma-success-55-invert-l:var(--bulma-success-10-l);--bulma-success-55-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-55-invert-l),1);--bulma-success-60:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-60-l),1);--bulma-success-60-invert-l:var(--bulma-success-10-l);--bulma-success-60-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-60-invert-l),1);--bulma-success-65:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-65-l),1);--bulma-success-65-invert-l:var(--bulma-success-10-l);--bulma-success-65-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-65-invert-l),1);--bulma-success-70:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-70-l),1);--bulma-success-70-invert-l:var(--bulma-success-10-l);--bulma-success-70-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-70-invert-l),1);--bulma-success-75:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-75-l),1);--bulma-success-75-invert-l:var(--bulma-success-15-l);--bulma-success-75-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-75-invert-l),1);--bulma-success-80:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-80-l),1);--bulma-success-80-invert-l:var(--bulma-success-15-l);--bulma-success-80-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-80-invert-l),1);--bulma-success-85:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-85-l),1);--bulma-success-85-invert-l:var(--bulma-success-15-l);--bulma-success-85-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-85-invert-l),1);--bulma-success-90:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-90-l),1);--bulma-success-90-invert-l:var(--bulma-success-20-l);--bulma-success-90-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-90-invert-l),1);--bulma-success-95:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-95-l),1);--bulma-success-95-invert-l:var(--bulma-success-20-l);--bulma-success-95-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-95-invert-l),1);--bulma-success-100:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-100-l),1);--bulma-success-100-invert-l:var(--bulma-success-20-l);--bulma-success-100-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-100-invert-l),1);--bulma-success-invert-l:var(--bulma-success-10-l);--bulma-success-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-invert-l),1);--bulma-success-light-l:var(--bulma-success-90-l);--bulma-success-light:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-light-l),1);--bulma-success-light-invert-l:var(--bulma-success-20-l);--bulma-success-light-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-light-invert-l),1);--bulma-success-dark-l:var(--bulma-success-10-l);--bulma-success-dark:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-dark-l),1);--bulma-success-dark-invert-l:var(--bulma-success-55-l);--bulma-success-dark-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-dark-invert-l),1);--bulma-success-soft:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-soft-l),1);--bulma-success-bold:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-bold-l),1);--bulma-success-soft-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-soft-invert-l),1);--bulma-success-bold-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-bold-invert-l),1);--bulma-success-on-scheme-l:23%;--bulma-success-on-scheme:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-on-scheme-l),1);--bulma-warning:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-l),1);--bulma-warning-base:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-l),1);--bulma-warning-rgb:255,183,15;--bulma-warning-h:42deg;--bulma-warning-s:100%;--bulma-warning-l:53%;--bulma-warning-00-l:0%;--bulma-warning-05-l:3%;--bulma-warning-10-l:8%;--bulma-warning-15-l:13%;--bulma-warning-20-l:18%;--bulma-warning-25-l:23%;--bulma-warning-30-l:28%;--bulma-warning-35-l:33%;--bulma-warning-40-l:38%;--bulma-warning-45-l:43%;--bulma-warning-50-l:48%;--bulma-warning-55-l:53%;--bulma-warning-60-l:58%;--bulma-warning-65-l:63%;--bulma-warning-70-l:68%;--bulma-warning-75-l:73%;--bulma-warning-80-l:78%;--bulma-warning-85-l:83%;--bulma-warning-90-l:88%;--bulma-warning-95-l:93%;--bulma-warning-100-l:100%;--bulma-warning-00:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-00-l),1);--bulma-warning-00-invert-l:var(--bulma-warning-40-l);--bulma-warning-00-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-00-invert-l),1);--bulma-warning-05:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-05-l),1);--bulma-warning-05-invert-l:var(--bulma-warning-45-l);--bulma-warning-05-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-05-invert-l),1);--bulma-warning-10:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-10-l),1);--bulma-warning-10-invert-l:var(--bulma-warning-50-l);--bulma-warning-10-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-10-invert-l),1);--bulma-warning-15:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-15-l),1);--bulma-warning-15-invert-l:var(--bulma-warning-70-l);--bulma-warning-15-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-15-invert-l),1);--bulma-warning-20:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-20-l),1);--bulma-warning-20-invert-l:var(--bulma-warning-100-l);--bulma-warning-20-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-20-invert-l),1);--bulma-warning-25:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-25-l),1);--bulma-warning-25-invert-l:var(--bulma-warning-100-l);--bulma-warning-25-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-25-invert-l),1);--bulma-warning-30:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-30-l),1);--bulma-warning-30-invert-l:var(--bulma-warning-100-l);--bulma-warning-30-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-30-invert-l),1);--bulma-warning-35:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-35-l),1);--bulma-warning-35-invert-l:var(--bulma-warning-100-l);--bulma-warning-35-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-35-invert-l),1);--bulma-warning-40:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-40-l),1);--bulma-warning-40-invert-l:var(--bulma-warning-00-l);--bulma-warning-40-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-40-invert-l),1);--bulma-warning-45:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-45-l),1);--bulma-warning-45-invert-l:var(--bulma-warning-05-l);--bulma-warning-45-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-45-invert-l),1);--bulma-warning-50:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-50-l),1);--bulma-warning-50-invert-l:var(--bulma-warning-10-l);--bulma-warning-50-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-50-invert-l),1);--bulma-warning-55:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-55-l),1);--bulma-warning-55-invert-l:var(--bulma-warning-10-l);--bulma-warning-55-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-55-invert-l),1);--bulma-warning-60:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-60-l),1);--bulma-warning-60-invert-l:var(--bulma-warning-10-l);--bulma-warning-60-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-60-invert-l),1);--bulma-warning-65:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-65-l),1);--bulma-warning-65-invert-l:var(--bulma-warning-10-l);--bulma-warning-65-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-65-invert-l),1);--bulma-warning-70:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-70-l),1);--bulma-warning-70-invert-l:var(--bulma-warning-15-l);--bulma-warning-70-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-70-invert-l),1);--bulma-warning-75:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-75-l),1);--bulma-warning-75-invert-l:var(--bulma-warning-15-l);--bulma-warning-75-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-75-invert-l),1);--bulma-warning-80:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-80-l),1);--bulma-warning-80-invert-l:var(--bulma-warning-15-l);--bulma-warning-80-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-80-invert-l),1);--bulma-warning-85:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-85-l),1);--bulma-warning-85-invert-l:var(--bulma-warning-15-l);--bulma-warning-85-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-85-invert-l),1);--bulma-warning-90:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-90-l),1);--bulma-warning-90-invert-l:var(--bulma-warning-15-l);--bulma-warning-90-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-90-invert-l),1);--bulma-warning-95:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-95-l),1);--bulma-warning-95-invert-l:var(--bulma-warning-15-l);--bulma-warning-95-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-95-invert-l),1);--bulma-warning-100:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-100-l),1);--bulma-warning-100-invert-l:var(--bulma-warning-20-l);--bulma-warning-100-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-100-invert-l),1);--bulma-warning-invert-l:var(--bulma-warning-10-l);--bulma-warning-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-invert-l),1);--bulma-warning-light-l:var(--bulma-warning-90-l);--bulma-warning-light:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-light-l),1);--bulma-warning-light-invert-l:var(--bulma-warning-15-l);--bulma-warning-light-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-light-invert-l),1);--bulma-warning-dark-l:var(--bulma-warning-10-l);--bulma-warning-dark:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-dark-l),1);--bulma-warning-dark-invert-l:var(--bulma-warning-50-l);--bulma-warning-dark-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-dark-invert-l),1);--bulma-warning-soft:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-soft-l),1);--bulma-warning-bold:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-bold-l),1);--bulma-warning-soft-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-soft-invert-l),1);--bulma-warning-bold-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-bold-invert-l),1);--bulma-warning-on-scheme-l:23%;--bulma-warning-on-scheme:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-on-scheme-l),1);--bulma-danger:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-l),1);--bulma-danger-base:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-l),1);--bulma-danger-rgb:255,102,133;--bulma-danger-h:348deg;--bulma-danger-s:100%;--bulma-danger-l:70%;--bulma-danger-00-l:0%;--bulma-danger-05-l:5%;--bulma-danger-10-l:10%;--bulma-danger-15-l:15%;--bulma-danger-20-l:20%;--bulma-danger-25-l:25%;--bulma-danger-30-l:30%;--bulma-danger-35-l:35%;--bulma-danger-40-l:40%;--bulma-danger-45-l:45%;--bulma-danger-50-l:50%;--bulma-danger-55-l:55%;--bulma-danger-60-l:60%;--bulma-danger-65-l:65%;--bulma-danger-70-l:70%;--bulma-danger-75-l:75%;--bulma-danger-80-l:80%;--bulma-danger-85-l:85%;--bulma-danger-90-l:90%;--bulma-danger-95-l:95%;--bulma-danger-100-l:100%;--bulma-danger-00:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-00-l),1);--bulma-danger-00-invert-l:var(--bulma-danger-65-l);--bulma-danger-00-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-00-invert-l),1);--bulma-danger-05:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-05-l),1);--bulma-danger-05-invert-l:var(--bulma-danger-70-l);--bulma-danger-05-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-05-invert-l),1);--bulma-danger-10:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-10-l),1);--bulma-danger-10-invert-l:var(--bulma-danger-75-l);--bulma-danger-10-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-10-invert-l),1);--bulma-danger-15:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-15-l),1);--bulma-danger-15-invert-l:var(--bulma-danger-80-l);--bulma-danger-15-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-15-invert-l),1);--bulma-danger-20:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-20-l),1);--bulma-danger-20-invert-l:var(--bulma-danger-85-l);--bulma-danger-20-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-20-invert-l),1);--bulma-danger-25:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-25-l),1);--bulma-danger-25-invert-l:var(--bulma-danger-90-l);--bulma-danger-25-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-25-invert-l),1);--bulma-danger-30:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-30-l),1);--bulma-danger-30-invert-l:var(--bulma-danger-100-l);--bulma-danger-30-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-30-invert-l),1);--bulma-danger-35:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-35-l),1);--bulma-danger-35-invert-l:var(--bulma-danger-100-l);--bulma-danger-35-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-35-invert-l),1);--bulma-danger-40:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-40-l),1);--bulma-danger-40-invert-l:var(--bulma-danger-100-l);--bulma-danger-40-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-40-invert-l),1);--bulma-danger-45:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-45-l),1);--bulma-danger-45-invert-l:var(--bulma-danger-100-l);--bulma-danger-45-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-45-invert-l),1);--bulma-danger-50:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-50-l),1);--bulma-danger-50-invert-l:var(--bulma-danger-100-l);--bulma-danger-50-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-50-invert-l),1);--bulma-danger-55:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-55-l),1);--bulma-danger-55-invert-l:var(--bulma-danger-100-l);--bulma-danger-55-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-55-invert-l),1);--bulma-danger-60:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-60-l),1);--bulma-danger-60-invert-l:var(--bulma-danger-100-l);--bulma-danger-60-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-60-invert-l),1);--bulma-danger-65:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-65-l),1);--bulma-danger-65-invert-l:var(--bulma-danger-00-l);--bulma-danger-65-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-65-invert-l),1);--bulma-danger-70:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-70-l),1);--bulma-danger-70-invert-l:var(--bulma-danger-05-l);--bulma-danger-70-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-70-invert-l),1);--bulma-danger-75:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-75-l),1);--bulma-danger-75-invert-l:var(--bulma-danger-10-l);--bulma-danger-75-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-75-invert-l),1);--bulma-danger-80:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-80-l),1);--bulma-danger-80-invert-l:var(--bulma-danger-15-l);--bulma-danger-80-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-80-invert-l),1);--bulma-danger-85:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-85-l),1);--bulma-danger-85-invert-l:var(--bulma-danger-20-l);--bulma-danger-85-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-85-invert-l),1);--bulma-danger-90:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-90-l),1);--bulma-danger-90-invert-l:var(--bulma-danger-25-l);--bulma-danger-90-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-90-invert-l),1);--bulma-danger-95:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-95-l),1);--bulma-danger-95-invert-l:var(--bulma-danger-25-l);--bulma-danger-95-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-95-invert-l),1);--bulma-danger-100:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-100-l),1);--bulma-danger-100-invert-l:var(--bulma-danger-30-l);--bulma-danger-100-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-100-invert-l),1);--bulma-danger-invert-l:var(--bulma-danger-05-l);--bulma-danger-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-invert-l),1);--bulma-danger-light-l:var(--bulma-danger-90-l);--bulma-danger-light:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-light-l),1);--bulma-danger-light-invert-l:var(--bulma-danger-25-l);--bulma-danger-light-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-light-invert-l),1);--bulma-danger-dark-l:var(--bulma-danger-10-l);--bulma-danger-dark:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-dark-l),1);--bulma-danger-dark-invert-l:var(--bulma-danger-75-l);--bulma-danger-dark-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-dark-invert-l),1);--bulma-danger-soft:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-soft-l),1);--bulma-danger-bold:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-bold-l),1);--bulma-danger-soft-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-soft-invert-l),1);--bulma-danger-bold-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-bold-invert-l),1);--bulma-danger-on-scheme-l:40%;--bulma-danger-on-scheme:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l),1);--bulma-black-bis:#14161a;--bulma-black-ter:#1f2229;--bulma-grey-darker:#2e333d;--bulma-grey-dark:#404654;--bulma-grey:#69748c;--bulma-grey-light:#abb1bf;--bulma-grey-lighter:#d6d9e0;--bulma-white-ter:#f3f4f6;--bulma-white-bis:#f9fafb;--bulma-shadow-h:221deg;--bulma-shadow-s:14%;--bulma-shadow-l:4%;--bulma-size-1:3rem;--bulma-size-2:2.5rem;--bulma-size-3:2rem;--bulma-size-4:1.5rem;--bulma-size-5:1.25rem;--bulma-size-6:1rem;--bulma-size-7:0.75rem;--bulma-scheme-main:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-l));--bulma-scheme-main-bis:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-bis-l));--bulma-scheme-main-ter:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-ter-l));--bulma-background:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-background-l));--bulma-background-hover:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-background-l) + var(--bulma-hover-background-l-delta)));--bulma-background-active:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-background-l) + var(--bulma-active-background-l-delta)));--bulma-border-weak:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-border-weak-l));--bulma-border:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-border-l));--bulma-border-hover:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-border-l) + var(--bulma-hover-border-l-delta)));--bulma-border-active:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-border-l) + var(--bulma-active-border-l-delta)));--bulma-text-weak:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-weak-l));--bulma-text:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l));--bulma-text-strong:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-strong-l));--bulma-scheme-invert-ter:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-ter-l));--bulma-scheme-invert-bis:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-bis-l));--bulma-scheme-invert:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l));--bulma-link:hsl(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l));--bulma-link-text:hsl(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l));--bulma-link-text-hover:hsl(var(--bulma-link-h),var(--bulma-link-s),calc(var(--bulma-link-on-scheme-l) + var(--bulma-hover-color-l-delta)));--bulma-link-text-active:hsl(var(--bulma-link-h),var(--bulma-link-s),calc(var(--bulma-link-on-scheme-l) + var(--bulma-active-color-l-delta)));--bulma-focus-h:var(--bulma-link-h);--bulma-focus-s:var(--bulma-link-s);--bulma-focus-l:var(--bulma-link-l);--bulma-focus-offset:1px;--bulma-focus-style:solid;--bulma-focus-width:2px;--bulma-focus-shadow-size:0 0 0 0.1875em;--bulma-focus-shadow-alpha:0.25;--bulma-code:hsl(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l));--bulma-code-background:var(--bulma-background);--bulma-pre:var(--bulma-text);--bulma-pre-background:var(--bulma-background);--bulma-shadow:0 0.5em 1em -0.125em hsla(var(--bulma-shadow-h),var(--bulma-shadow-s),var(--bulma-shadow-l),0.1),0 0px 0 1px hsla(var(--bulma-shadow-h),var(--bulma-shadow-s),var(--bulma-shadow-l),0.02)}@media (prefers-color-scheme:light){:root{--bulma-scheme-h:221;--bulma-scheme-s:14%;--bulma-light-l:90%;--bulma-light-invert-l:20%;--bulma-dark-l:20%;--bulma-dark-invert-l:90%;--bulma-soft-l:90%;--bulma-bold-l:20%;--bulma-soft-invert-l:20%;--bulma-bold-invert-l:90%;--bulma-hover-background-l-delta:-5%;--bulma-active-background-l-delta:-10%;--bulma-hover-border-l-delta:-10%;--bulma-active-border-l-delta:-20%;--bulma-hover-color-l-delta:-5%;--bulma-active-color-l-delta:-10%;--bulma-hover-shadow-a-delta:-0.05;--bulma-active-shadow-a-delta:-0.1;--bulma-scheme-brightness:light;--bulma-scheme-main-l:100%;--bulma-scheme-main-bis-l:98%;--bulma-scheme-main-ter-l:96%;--bulma-background-l:96%;--bulma-border-weak-l:93%;--bulma-border-l:86%;--bulma-text-weak-l:48%;--bulma-text-strong-l:21%;--bulma-text-title-l:14%;--bulma-scheme-invert-ter-l:14%;--bulma-scheme-invert-bis-l:7%;--bulma-scheme-invert-l:4%;--bulma-family-primary:Inter,SF Pro,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Helvetica,Arial,sans-serif;--bulma-family-secondary:Inter,SF Pro,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Helvetica,Arial,sans-serif;--bulma-family-code:Inconsolata,Hack,SF Mono,Roboto Mono,Source Code Pro,Ubuntu Mono,monospace;--bulma-size-small:0.75rem;--bulma-size-normal:1rem;--bulma-size-medium:1.25rem;--bulma-size-large:1.5rem;--bulma-weight-light:300;--bulma-weight-normal:400;--bulma-weight-medium:500;--bulma-weight-semibold:600;--bulma-weight-bold:700;--bulma-weight-extrabold:800;--bulma-block-spacing:1.5rem;--bulma-duration:294ms;--bulma-easing:ease-out;--bulma-radius-small:0.25rem;--bulma-radius:0.375rem;--bulma-radius-medium:0.5em;--bulma-radius-large:0.75rem;--bulma-radius-rounded:9999px;--bulma-speed:86ms;--bulma-loading-color:var(--bulma-border);--bulma-burger-h:var(--bulma-link-h);--bulma-burger-s:var(--bulma-link-s);--bulma-burger-l:var(--bulma-link-l);--bulma-burger-border-radius:0.5em;--bulma-burger-gap:5px;--bulma-burger-item-height:2px;--bulma-burger-item-width:20px;--bulma-white:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-l),1);--bulma-white-base:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-l),1);--bulma-white-rgb:255,255,255;--bulma-white-h:221deg;--bulma-white-s:14%;--bulma-white-l:100%;--bulma-white-invert-l:4%;--bulma-white-invert:#090a0c;--bulma-white-on-scheme-l:35%;--bulma-white-on-scheme:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-on-scheme-l),1);--bulma-black:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-l),1);--bulma-black-base:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-l),1);--bulma-black-rgb:9,10,12;--bulma-black-h:221deg;--bulma-black-s:14%;--bulma-black-l:4%;--bulma-black-invert-l:100%;--bulma-black-invert:#fff;--bulma-black-on-scheme-l:4%;--bulma-black-on-scheme:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-on-scheme-l),1);--bulma-light:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-l),1);--bulma-light-base:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-l),1);--bulma-light-rgb:243,244,246;--bulma-light-h:221deg;--bulma-light-s:14%;--bulma-light-l:96%;--bulma-light-invert-l:21%;--bulma-light-invert:#2e333d;--bulma-light-on-scheme-l:36%;--bulma-light-on-scheme:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-on-scheme-l),1);--bulma-dark:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-l),1);--bulma-dark-base:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-l),1);--bulma-dark-rgb:46,51,61;--bulma-dark-h:221deg;--bulma-dark-s:14%;--bulma-dark-l:21%;--bulma-dark-invert-l:96%;--bulma-dark-invert:#f3f4f6;--bulma-dark-on-scheme-l:21%;--bulma-dark-on-scheme:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-on-scheme-l),1);--bulma-text:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l),1);--bulma-text-base:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l),1);--bulma-text-rgb:64,70,84;--bulma-text-h:221deg;--bulma-text-s:14%;--bulma-text-l:29%;--bulma-text-00-l:0%;--bulma-text-05-l:4%;--bulma-text-10-l:9%;--bulma-text-15-l:14%;--bulma-text-20-l:19%;--bulma-text-25-l:24%;--bulma-text-30-l:29%;--bulma-text-35-l:34%;--bulma-text-40-l:39%;--bulma-text-45-l:44%;--bulma-text-50-l:49%;--bulma-text-55-l:54%;--bulma-text-60-l:59%;--bulma-text-65-l:64%;--bulma-text-70-l:69%;--bulma-text-75-l:74%;--bulma-text-80-l:79%;--bulma-text-85-l:84%;--bulma-text-90-l:89%;--bulma-text-95-l:94%;--bulma-text-100-l:100%;--bulma-text-00:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-00-l),1);--bulma-text-00-invert-l:var(--bulma-text-60-l);--bulma-text-00-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-00-invert-l),1);--bulma-text-05:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-05-l),1);--bulma-text-05-invert-l:var(--bulma-text-60-l);--bulma-text-05-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-05-invert-l),1);--bulma-text-10:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-10-l),1);--bulma-text-10-invert-l:var(--bulma-text-70-l);--bulma-text-10-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-10-invert-l),1);--bulma-text-15:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-15-l),1);--bulma-text-15-invert-l:var(--bulma-text-75-l);--bulma-text-15-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-15-invert-l),1);--bulma-text-20:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-20-l),1);--bulma-text-20-invert-l:var(--bulma-text-85-l);--bulma-text-20-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-20-invert-l),1);--bulma-text-25:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-25-l),1);--bulma-text-25-invert-l:var(--bulma-text-95-l);--bulma-text-25-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-25-invert-l),1);--bulma-text-30:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-30-l),1);--bulma-text-30-invert-l:var(--bulma-text-100-l);--bulma-text-30-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-30-invert-l),1);--bulma-text-35:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-35-l),1);--bulma-text-35-invert-l:var(--bulma-text-100-l);--bulma-text-35-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-35-invert-l),1);--bulma-text-40:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-40-l),1);--bulma-text-40-invert-l:var(--bulma-text-100-l);--bulma-text-40-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-40-invert-l),1);--bulma-text-45:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-45-l),1);--bulma-text-45-invert-l:var(--bulma-text-100-l);--bulma-text-45-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-45-invert-l),1);--bulma-text-50:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-50-l),1);--bulma-text-50-invert-l:var(--bulma-text-100-l);--bulma-text-50-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-50-invert-l),1);--bulma-text-55:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-55-l),1);--bulma-text-55-invert-l:var(--bulma-text-100-l);--bulma-text-55-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-55-invert-l),1);--bulma-text-60:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-60-l),1);--bulma-text-60-invert-l:var(--bulma-text-05-l);--bulma-text-60-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-60-invert-l),1);--bulma-text-65:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-65-l),1);--bulma-text-65-invert-l:var(--bulma-text-05-l);--bulma-text-65-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-65-invert-l),1);--bulma-text-70:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-70-l),1);--bulma-text-70-invert-l:var(--bulma-text-10-l);--bulma-text-70-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-70-invert-l),1);--bulma-text-75:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-75-l),1);--bulma-text-75-invert-l:var(--bulma-text-15-l);--bulma-text-75-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-75-invert-l),1);--bulma-text-80:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-80-l),1);--bulma-text-80-invert-l:var(--bulma-text-15-l);--bulma-text-80-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-80-invert-l),1);--bulma-text-85:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-85-l),1);--bulma-text-85-invert-l:var(--bulma-text-20-l);--bulma-text-85-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-85-invert-l),1);--bulma-text-90:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-90-l),1);--bulma-text-90-invert-l:var(--bulma-text-20-l);--bulma-text-90-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-90-invert-l),1);--bulma-text-95:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-95-l),1);--bulma-text-95-invert-l:var(--bulma-text-25-l);--bulma-text-95-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-95-invert-l),1);--bulma-text-100:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-100-l),1);--bulma-text-100-invert-l:var(--bulma-text-30-l);--bulma-text-100-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-100-invert-l),1);--bulma-text-invert-l:var(--bulma-text-100-l);--bulma-text-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-invert-l),1);--bulma-text-light-l:var(--bulma-text-90-l);--bulma-text-light:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-light-l),1);--bulma-text-light-invert-l:var(--bulma-text-20-l);--bulma-text-light-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-light-invert-l),1);--bulma-text-dark-l:var(--bulma-text-10-l);--bulma-text-dark:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-dark-l),1);--bulma-text-dark-invert-l:var(--bulma-text-70-l);--bulma-text-dark-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-dark-invert-l),1);--bulma-text-soft:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-soft-l),1);--bulma-text-bold:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-bold-l),1);--bulma-text-soft-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-soft-invert-l),1);--bulma-text-bold-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-bold-invert-l),1);--bulma-text-on-scheme-l:29%;--bulma-text-on-scheme:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-on-scheme-l),1);--bulma-primary:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-l),1);--bulma-primary-base:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-l),1);--bulma-primary-rgb:0,209,178;--bulma-primary-h:171deg;--bulma-primary-s:100%;--bulma-primary-l:41%;--bulma-primary-00-l:1%;--bulma-primary-05-l:6%;--bulma-primary-10-l:11%;--bulma-primary-15-l:16%;--bulma-primary-20-l:21%;--bulma-primary-25-l:26%;--bulma-primary-30-l:31%;--bulma-primary-35-l:36%;--bulma-primary-40-l:41%;--bulma-primary-45-l:46%;--bulma-primary-50-l:51%;--bulma-primary-55-l:56%;--bulma-primary-60-l:61%;--bulma-primary-65-l:66%;--bulma-primary-70-l:71%;--bulma-primary-75-l:76%;--bulma-primary-80-l:81%;--bulma-primary-85-l:86%;--bulma-primary-90-l:91%;--bulma-primary-95-l:96%;--bulma-primary-100-l:100%;--bulma-primary-00:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-00-l),1);--bulma-primary-00-invert-l:var(--bulma-primary-30-l);--bulma-primary-00-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-00-invert-l),1);--bulma-primary-05:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-05-l),1);--bulma-primary-05-invert-l:var(--bulma-primary-40-l);--bulma-primary-05-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-05-invert-l),1);--bulma-primary-10:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-10-l),1);--bulma-primary-10-invert-l:var(--bulma-primary-50-l);--bulma-primary-10-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-10-invert-l),1);--bulma-primary-15:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-15-l),1);--bulma-primary-15-invert-l:var(--bulma-primary-100-l);--bulma-primary-15-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-15-invert-l),1);--bulma-primary-20:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-20-l),1);--bulma-primary-20-invert-l:var(--bulma-primary-100-l);--bulma-primary-20-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-20-invert-l),1);--bulma-primary-25:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-25-l),1);--bulma-primary-25-invert-l:var(--bulma-primary-100-l);--bulma-primary-25-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-25-invert-l),1);--bulma-primary-30:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-30-l),1);--bulma-primary-30-invert-l:var(--bulma-primary-00-l);--bulma-primary-30-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-30-invert-l),1);--bulma-primary-35:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-35-l),1);--bulma-primary-35-invert-l:var(--bulma-primary-00-l);--bulma-primary-35-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-35-invert-l),1);--bulma-primary-40:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-40-l),1);--bulma-primary-40-invert-l:var(--bulma-primary-05-l);--bulma-primary-40-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-40-invert-l),1);--bulma-primary-45:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-45-l),1);--bulma-primary-45-invert-l:var(--bulma-primary-05-l);--bulma-primary-45-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-45-invert-l),1);--bulma-primary-50:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-50-l),1);--bulma-primary-50-invert-l:var(--bulma-primary-10-l);--bulma-primary-50-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-50-invert-l),1);--bulma-primary-55:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-55-l),1);--bulma-primary-55-invert-l:var(--bulma-primary-10-l);--bulma-primary-55-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-55-invert-l),1);--bulma-primary-60:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-60-l),1);--bulma-primary-60-invert-l:var(--bulma-primary-10-l);--bulma-primary-60-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-60-invert-l),1);--bulma-primary-65:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-65-l),1);--bulma-primary-65-invert-l:var(--bulma-primary-10-l);--bulma-primary-65-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-65-invert-l),1);--bulma-primary-70:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-70-l),1);--bulma-primary-70-invert-l:var(--bulma-primary-10-l);--bulma-primary-70-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-70-invert-l),1);--bulma-primary-75:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-75-l),1);--bulma-primary-75-invert-l:var(--bulma-primary-10-l);--bulma-primary-75-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-75-invert-l),1);--bulma-primary-80:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-80-l),1);--bulma-primary-80-invert-l:var(--bulma-primary-10-l);--bulma-primary-80-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-80-invert-l),1);--bulma-primary-85:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-85-l),1);--bulma-primary-85-invert-l:var(--bulma-primary-10-l);--bulma-primary-85-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-85-invert-l),1);--bulma-primary-90:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-90-l),1);--bulma-primary-90-invert-l:var(--bulma-primary-10-l);--bulma-primary-90-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-90-invert-l),1);--bulma-primary-95:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-95-l),1);--bulma-primary-95-invert-l:var(--bulma-primary-10-l);--bulma-primary-95-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-95-invert-l),1);--bulma-primary-100:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-100-l),1);--bulma-primary-100-invert-l:var(--bulma-primary-15-l);--bulma-primary-100-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-100-invert-l),1);--bulma-primary-invert-l:var(--bulma-primary-05-l);--bulma-primary-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-invert-l),1);--bulma-primary-light-l:var(--bulma-primary-90-l);--bulma-primary-light:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-light-l),1);--bulma-primary-light-invert-l:var(--bulma-primary-10-l);--bulma-primary-light-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-light-invert-l),1);--bulma-primary-dark-l:var(--bulma-primary-10-l);--bulma-primary-dark:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-dark-l),1);--bulma-primary-dark-invert-l:var(--bulma-primary-50-l);--bulma-primary-dark-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-dark-invert-l),1);--bulma-primary-soft:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-soft-l),1);--bulma-primary-bold:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-bold-l),1);--bulma-primary-soft-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-soft-invert-l),1);--bulma-primary-bold-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-bold-invert-l),1);--bulma-primary-on-scheme-l:21%;--bulma-primary-on-scheme:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-on-scheme-l),1);--bulma-link:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l),1);--bulma-link-base:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l),1);--bulma-link-rgb:66,88,255;--bulma-link-h:233deg;--bulma-link-s:100%;--bulma-link-l:63%;--bulma-link-00-l:0%;--bulma-link-05-l:3%;--bulma-link-10-l:8%;--bulma-link-15-l:13%;--bulma-link-20-l:18%;--bulma-link-25-l:23%;--bulma-link-30-l:28%;--bulma-link-35-l:33%;--bulma-link-40-l:38%;--bulma-link-45-l:43%;--bulma-link-50-l:48%;--bulma-link-55-l:53%;--bulma-link-60-l:58%;--bulma-link-65-l:63%;--bulma-link-70-l:68%;--bulma-link-75-l:73%;--bulma-link-80-l:78%;--bulma-link-85-l:83%;--bulma-link-90-l:88%;--bulma-link-95-l:93%;--bulma-link-100-l:100%;--bulma-link-00:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-00-l),1);--bulma-link-00-invert-l:var(--bulma-link-75-l);--bulma-link-00-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-00-invert-l),1);--bulma-link-05:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-05-l),1);--bulma-link-05-invert-l:var(--bulma-link-75-l);--bulma-link-05-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-05-invert-l),1);--bulma-link-10:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-10-l),1);--bulma-link-10-invert-l:var(--bulma-link-75-l);--bulma-link-10-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-10-invert-l),1);--bulma-link-15:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-15-l),1);--bulma-link-15-invert-l:var(--bulma-link-80-l);--bulma-link-15-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-15-invert-l),1);--bulma-link-20:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-20-l),1);--bulma-link-20-invert-l:var(--bulma-link-80-l);--bulma-link-20-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-20-invert-l),1);--bulma-link-25:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-25-l),1);--bulma-link-25-invert-l:var(--bulma-link-85-l);--bulma-link-25-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-25-invert-l),1);--bulma-link-30:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-30-l),1);--bulma-link-30-invert-l:var(--bulma-link-90-l);--bulma-link-30-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-30-invert-l),1);--bulma-link-35:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-35-l),1);--bulma-link-35-invert-l:var(--bulma-link-90-l);--bulma-link-35-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-35-invert-l),1);--bulma-link-40:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-40-l),1);--bulma-link-40-invert-l:var(--bulma-link-95-l);--bulma-link-40-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-40-invert-l),1);--bulma-link-45:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-45-l),1);--bulma-link-45-invert-l:var(--bulma-link-100-l);--bulma-link-45-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-45-invert-l),1);--bulma-link-50:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-50-l),1);--bulma-link-50-invert-l:var(--bulma-link-100-l);--bulma-link-50-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-50-invert-l),1);--bulma-link-55:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-55-l),1);--bulma-link-55-invert-l:var(--bulma-link-100-l);--bulma-link-55-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-55-invert-l),1);--bulma-link-60:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-60-l),1);--bulma-link-60-invert-l:var(--bulma-link-100-l);--bulma-link-60-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-60-invert-l),1);--bulma-link-65:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-65-l),1);--bulma-link-65-invert-l:var(--bulma-link-100-l);--bulma-link-65-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-65-invert-l),1);--bulma-link-70:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-70-l),1);--bulma-link-70-invert-l:var(--bulma-link-100-l);--bulma-link-70-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-70-invert-l),1);--bulma-link-75:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-75-l),1);--bulma-link-75-invert-l:var(--bulma-link-10-l);--bulma-link-75-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-75-invert-l),1);--bulma-link-80:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-80-l),1);--bulma-link-80-invert-l:var(--bulma-link-20-l);--bulma-link-80-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-80-invert-l),1);--bulma-link-85:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-85-l),1);--bulma-link-85-invert-l:var(--bulma-link-25-l);--bulma-link-85-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-85-invert-l),1);--bulma-link-90:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-90-l),1);--bulma-link-90-invert-l:var(--bulma-link-35-l);--bulma-link-90-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-90-invert-l),1);--bulma-link-95:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-95-l),1);--bulma-link-95-invert-l:var(--bulma-link-40-l);--bulma-link-95-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-95-invert-l),1);--bulma-link-100:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-100-l),1);--bulma-link-100-invert-l:var(--bulma-link-50-l);--bulma-link-100-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-100-invert-l),1);--bulma-link-invert-l:var(--bulma-link-100-l);--bulma-link-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-invert-l),1);--bulma-link-light-l:var(--bulma-link-90-l);--bulma-link-light:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-light-l),1);--bulma-link-light-invert-l:var(--bulma-link-35-l);--bulma-link-light-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-light-invert-l),1);--bulma-link-dark-l:var(--bulma-link-10-l);--bulma-link-dark:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-dark-l),1);--bulma-link-dark-invert-l:var(--bulma-link-75-l);--bulma-link-dark-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-dark-invert-l),1);--bulma-link-soft:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-soft-l),1);--bulma-link-bold:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-bold-l),1);--bulma-link-soft-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-soft-invert-l),1);--bulma-link-bold-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-bold-invert-l),1);--bulma-link-on-scheme-l:58%;--bulma-link-on-scheme:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l),1);--bulma-info:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-l),1);--bulma-info-base:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-l),1);--bulma-info-rgb:102,209,255;--bulma-info-h:198deg;--bulma-info-s:100%;--bulma-info-l:70%;--bulma-info-00-l:0%;--bulma-info-05-l:5%;--bulma-info-10-l:10%;--bulma-info-15-l:15%;--bulma-info-20-l:20%;--bulma-info-25-l:25%;--bulma-info-30-l:30%;--bulma-info-35-l:35%;--bulma-info-40-l:40%;--bulma-info-45-l:45%;--bulma-info-50-l:50%;--bulma-info-55-l:55%;--bulma-info-60-l:60%;--bulma-info-65-l:65%;--bulma-info-70-l:70%;--bulma-info-75-l:75%;--bulma-info-80-l:80%;--bulma-info-85-l:85%;--bulma-info-90-l:90%;--bulma-info-95-l:95%;--bulma-info-100-l:100%;--bulma-info-00:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-00-l),1);--bulma-info-00-invert-l:var(--bulma-info-45-l);--bulma-info-00-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-00-invert-l),1);--bulma-info-05:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-05-l),1);--bulma-info-05-invert-l:var(--bulma-info-50-l);--bulma-info-05-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-05-invert-l),1);--bulma-info-10:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-10-l),1);--bulma-info-10-invert-l:var(--bulma-info-60-l);--bulma-info-10-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-10-invert-l),1);--bulma-info-15:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-15-l),1);--bulma-info-15-invert-l:var(--bulma-info-80-l);--bulma-info-15-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-15-invert-l),1);--bulma-info-20:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-20-l),1);--bulma-info-20-invert-l:var(--bulma-info-95-l);--bulma-info-20-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-20-invert-l),1);--bulma-info-25:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-25-l),1);--bulma-info-25-invert-l:var(--bulma-info-100-l);--bulma-info-25-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-25-invert-l),1);--bulma-info-30:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-30-l),1);--bulma-info-30-invert-l:var(--bulma-info-100-l);--bulma-info-30-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-30-invert-l),1);--bulma-info-35:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-35-l),1);--bulma-info-35-invert-l:var(--bulma-info-100-l);--bulma-info-35-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-35-invert-l),1);--bulma-info-40:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-40-l),1);--bulma-info-40-invert-l:var(--bulma-info-100-l);--bulma-info-40-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-40-invert-l),1);--bulma-info-45:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-45-l),1);--bulma-info-45-invert-l:var(--bulma-info-00-l);--bulma-info-45-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-45-invert-l),1);--bulma-info-50:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-50-l),1);--bulma-info-50-invert-l:var(--bulma-info-05-l);--bulma-info-50-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-50-invert-l),1);--bulma-info-55:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-55-l),1);--bulma-info-55-invert-l:var(--bulma-info-05-l);--bulma-info-55-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-55-invert-l),1);--bulma-info-60:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-60-l),1);--bulma-info-60-invert-l:var(--bulma-info-10-l);--bulma-info-60-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-60-invert-l),1);--bulma-info-65:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-65-l),1);--bulma-info-65-invert-l:var(--bulma-info-10-l);--bulma-info-65-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-65-invert-l),1);--bulma-info-70:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-70-l),1);--bulma-info-70-invert-l:var(--bulma-info-10-l);--bulma-info-70-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-70-invert-l),1);--bulma-info-75:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-75-l),1);--bulma-info-75-invert-l:var(--bulma-info-10-l);--bulma-info-75-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-75-invert-l),1);--bulma-info-80:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-80-l),1);--bulma-info-80-invert-l:var(--bulma-info-15-l);--bulma-info-80-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-80-invert-l),1);--bulma-info-85:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-85-l),1);--bulma-info-85-invert-l:var(--bulma-info-15-l);--bulma-info-85-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-85-invert-l),1);--bulma-info-90:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-90-l),1);--bulma-info-90-invert-l:var(--bulma-info-15-l);--bulma-info-90-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-90-invert-l),1);--bulma-info-95:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-95-l),1);--bulma-info-95-invert-l:var(--bulma-info-20-l);--bulma-info-95-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-95-invert-l),1);--bulma-info-100:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-100-l),1);--bulma-info-100-invert-l:var(--bulma-info-20-l);--bulma-info-100-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-100-invert-l),1);--bulma-info-invert-l:var(--bulma-info-10-l);--bulma-info-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-invert-l),1);--bulma-info-light-l:var(--bulma-info-90-l);--bulma-info-light:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-light-l),1);--bulma-info-light-invert-l:var(--bulma-info-15-l);--bulma-info-light-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-light-invert-l),1);--bulma-info-dark-l:var(--bulma-info-10-l);--bulma-info-dark:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-dark-l),1);--bulma-info-dark-invert-l:var(--bulma-info-60-l);--bulma-info-dark-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-dark-invert-l),1);--bulma-info-soft:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-soft-l),1);--bulma-info-bold:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-bold-l),1);--bulma-info-soft-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-soft-invert-l),1);--bulma-info-bold-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-bold-invert-l),1);--bulma-info-on-scheme-l:25%;--bulma-info-on-scheme:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-on-scheme-l),1);--bulma-success:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-l),1);--bulma-success-base:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-l),1);--bulma-success-rgb:72,199,142;--bulma-success-h:153deg;--bulma-success-s:53%;--bulma-success-l:53%;--bulma-success-00-l:0%;--bulma-success-05-l:3%;--bulma-success-10-l:8%;--bulma-success-15-l:13%;--bulma-success-20-l:18%;--bulma-success-25-l:23%;--bulma-success-30-l:28%;--bulma-success-35-l:33%;--bulma-success-40-l:38%;--bulma-success-45-l:43%;--bulma-success-50-l:48%;--bulma-success-55-l:53%;--bulma-success-60-l:58%;--bulma-success-65-l:63%;--bulma-success-70-l:68%;--bulma-success-75-l:73%;--bulma-success-80-l:78%;--bulma-success-85-l:83%;--bulma-success-90-l:88%;--bulma-success-95-l:93%;--bulma-success-100-l:100%;--bulma-success-00:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-00-l),1);--bulma-success-00-invert-l:var(--bulma-success-45-l);--bulma-success-00-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-00-invert-l),1);--bulma-success-05:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-05-l),1);--bulma-success-05-invert-l:var(--bulma-success-45-l);--bulma-success-05-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-05-invert-l),1);--bulma-success-10:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-10-l),1);--bulma-success-10-invert-l:var(--bulma-success-55-l);--bulma-success-10-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-10-invert-l),1);--bulma-success-15:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-15-l),1);--bulma-success-15-invert-l:var(--bulma-success-75-l);--bulma-success-15-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-15-invert-l),1);--bulma-success-20:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-20-l),1);--bulma-success-20-invert-l:var(--bulma-success-90-l);--bulma-success-20-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-20-invert-l),1);--bulma-success-25:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-25-l),1);--bulma-success-25-invert-l:var(--bulma-success-100-l);--bulma-success-25-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-25-invert-l),1);--bulma-success-30:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-30-l),1);--bulma-success-30-invert-l:var(--bulma-success-100-l);--bulma-success-30-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-30-invert-l),1);--bulma-success-35:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-35-l),1);--bulma-success-35-invert-l:var(--bulma-success-100-l);--bulma-success-35-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-35-invert-l),1);--bulma-success-40:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-40-l),1);--bulma-success-40-invert-l:var(--bulma-success-100-l);--bulma-success-40-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-40-invert-l),1);--bulma-success-45:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-45-l),1);--bulma-success-45-invert-l:var(--bulma-success-05-l);--bulma-success-45-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-45-invert-l),1);--bulma-success-50:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-50-l),1);--bulma-success-50-invert-l:var(--bulma-success-05-l);--bulma-success-50-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-50-invert-l),1);--bulma-success-55:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-55-l),1);--bulma-success-55-invert-l:var(--bulma-success-10-l);--bulma-success-55-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-55-invert-l),1);--bulma-success-60:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-60-l),1);--bulma-success-60-invert-l:var(--bulma-success-10-l);--bulma-success-60-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-60-invert-l),1);--bulma-success-65:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-65-l),1);--bulma-success-65-invert-l:var(--bulma-success-10-l);--bulma-success-65-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-65-invert-l),1);--bulma-success-70:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-70-l),1);--bulma-success-70-invert-l:var(--bulma-success-10-l);--bulma-success-70-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-70-invert-l),1);--bulma-success-75:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-75-l),1);--bulma-success-75-invert-l:var(--bulma-success-15-l);--bulma-success-75-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-75-invert-l),1);--bulma-success-80:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-80-l),1);--bulma-success-80-invert-l:var(--bulma-success-15-l);--bulma-success-80-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-80-invert-l),1);--bulma-success-85:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-85-l),1);--bulma-success-85-invert-l:var(--bulma-success-15-l);--bulma-success-85-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-85-invert-l),1);--bulma-success-90:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-90-l),1);--bulma-success-90-invert-l:var(--bulma-success-20-l);--bulma-success-90-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-90-invert-l),1);--bulma-success-95:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-95-l),1);--bulma-success-95-invert-l:var(--bulma-success-20-l);--bulma-success-95-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-95-invert-l),1);--bulma-success-100:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-100-l),1);--bulma-success-100-invert-l:var(--bulma-success-20-l);--bulma-success-100-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-100-invert-l),1);--bulma-success-invert-l:var(--bulma-success-10-l);--bulma-success-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-invert-l),1);--bulma-success-light-l:var(--bulma-success-90-l);--bulma-success-light:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-light-l),1);--bulma-success-light-invert-l:var(--bulma-success-20-l);--bulma-success-light-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-light-invert-l),1);--bulma-success-dark-l:var(--bulma-success-10-l);--bulma-success-dark:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-dark-l),1);--bulma-success-dark-invert-l:var(--bulma-success-55-l);--bulma-success-dark-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-dark-invert-l),1);--bulma-success-soft:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-soft-l),1);--bulma-success-bold:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-bold-l),1);--bulma-success-soft-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-soft-invert-l),1);--bulma-success-bold-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-bold-invert-l),1);--bulma-success-on-scheme-l:23%;--bulma-success-on-scheme:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-on-scheme-l),1);--bulma-warning:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-l),1);--bulma-warning-base:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-l),1);--bulma-warning-rgb:255,183,15;--bulma-warning-h:42deg;--bulma-warning-s:100%;--bulma-warning-l:53%;--bulma-warning-00-l:0%;--bulma-warning-05-l:3%;--bulma-warning-10-l:8%;--bulma-warning-15-l:13%;--bulma-warning-20-l:18%;--bulma-warning-25-l:23%;--bulma-warning-30-l:28%;--bulma-warning-35-l:33%;--bulma-warning-40-l:38%;--bulma-warning-45-l:43%;--bulma-warning-50-l:48%;--bulma-warning-55-l:53%;--bulma-warning-60-l:58%;--bulma-warning-65-l:63%;--bulma-warning-70-l:68%;--bulma-warning-75-l:73%;--bulma-warning-80-l:78%;--bulma-warning-85-l:83%;--bulma-warning-90-l:88%;--bulma-warning-95-l:93%;--bulma-warning-100-l:100%;--bulma-warning-00:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-00-l),1);--bulma-warning-00-invert-l:var(--bulma-warning-40-l);--bulma-warning-00-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-00-invert-l),1);--bulma-warning-05:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-05-l),1);--bulma-warning-05-invert-l:var(--bulma-warning-45-l);--bulma-warning-05-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-05-invert-l),1);--bulma-warning-10:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-10-l),1);--bulma-warning-10-invert-l:var(--bulma-warning-50-l);--bulma-warning-10-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-10-invert-l),1);--bulma-warning-15:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-15-l),1);--bulma-warning-15-invert-l:var(--bulma-warning-70-l);--bulma-warning-15-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-15-invert-l),1);--bulma-warning-20:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-20-l),1);--bulma-warning-20-invert-l:var(--bulma-warning-100-l);--bulma-warning-20-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-20-invert-l),1);--bulma-warning-25:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-25-l),1);--bulma-warning-25-invert-l:var(--bulma-warning-100-l);--bulma-warning-25-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-25-invert-l),1);--bulma-warning-30:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-30-l),1);--bulma-warning-30-invert-l:var(--bulma-warning-100-l);--bulma-warning-30-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-30-invert-l),1);--bulma-warning-35:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-35-l),1);--bulma-warning-35-invert-l:var(--bulma-warning-100-l);--bulma-warning-35-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-35-invert-l),1);--bulma-warning-40:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-40-l),1);--bulma-warning-40-invert-l:var(--bulma-warning-00-l);--bulma-warning-40-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-40-invert-l),1);--bulma-warning-45:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-45-l),1);--bulma-warning-45-invert-l:var(--bulma-warning-05-l);--bulma-warning-45-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-45-invert-l),1);--bulma-warning-50:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-50-l),1);--bulma-warning-50-invert-l:var(--bulma-warning-10-l);--bulma-warning-50-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-50-invert-l),1);--bulma-warning-55:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-55-l),1);--bulma-warning-55-invert-l:var(--bulma-warning-10-l);--bulma-warning-55-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-55-invert-l),1);--bulma-warning-60:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-60-l),1);--bulma-warning-60-invert-l:var(--bulma-warning-10-l);--bulma-warning-60-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-60-invert-l),1);--bulma-warning-65:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-65-l),1);--bulma-warning-65-invert-l:var(--bulma-warning-10-l);--bulma-warning-65-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-65-invert-l),1);--bulma-warning-70:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-70-l),1);--bulma-warning-70-invert-l:var(--bulma-warning-15-l);--bulma-warning-70-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-70-invert-l),1);--bulma-warning-75:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-75-l),1);--bulma-warning-75-invert-l:var(--bulma-warning-15-l);--bulma-warning-75-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-75-invert-l),1);--bulma-warning-80:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-80-l),1);--bulma-warning-80-invert-l:var(--bulma-warning-15-l);--bulma-warning-80-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-80-invert-l),1);--bulma-warning-85:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-85-l),1);--bulma-warning-85-invert-l:var(--bulma-warning-15-l);--bulma-warning-85-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-85-invert-l),1);--bulma-warning-90:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-90-l),1);--bulma-warning-90-invert-l:var(--bulma-warning-15-l);--bulma-warning-90-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-90-invert-l),1);--bulma-warning-95:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-95-l),1);--bulma-warning-95-invert-l:var(--bulma-warning-15-l);--bulma-warning-95-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-95-invert-l),1);--bulma-warning-100:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-100-l),1);--bulma-warning-100-invert-l:var(--bulma-warning-20-l);--bulma-warning-100-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-100-invert-l),1);--bulma-warning-invert-l:var(--bulma-warning-10-l);--bulma-warning-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-invert-l),1);--bulma-warning-light-l:var(--bulma-warning-90-l);--bulma-warning-light:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-light-l),1);--bulma-warning-light-invert-l:var(--bulma-warning-15-l);--bulma-warning-light-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-light-invert-l),1);--bulma-warning-dark-l:var(--bulma-warning-10-l);--bulma-warning-dark:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-dark-l),1);--bulma-warning-dark-invert-l:var(--bulma-warning-50-l);--bulma-warning-dark-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-dark-invert-l),1);--bulma-warning-soft:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-soft-l),1);--bulma-warning-bold:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-bold-l),1);--bulma-warning-soft-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-soft-invert-l),1);--bulma-warning-bold-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-bold-invert-l),1);--bulma-warning-on-scheme-l:23%;--bulma-warning-on-scheme:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-on-scheme-l),1);--bulma-danger:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-l),1);--bulma-danger-base:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-l),1);--bulma-danger-rgb:255,102,133;--bulma-danger-h:348deg;--bulma-danger-s:100%;--bulma-danger-l:70%;--bulma-danger-00-l:0%;--bulma-danger-05-l:5%;--bulma-danger-10-l:10%;--bulma-danger-15-l:15%;--bulma-danger-20-l:20%;--bulma-danger-25-l:25%;--bulma-danger-30-l:30%;--bulma-danger-35-l:35%;--bulma-danger-40-l:40%;--bulma-danger-45-l:45%;--bulma-danger-50-l:50%;--bulma-danger-55-l:55%;--bulma-danger-60-l:60%;--bulma-danger-65-l:65%;--bulma-danger-70-l:70%;--bulma-danger-75-l:75%;--bulma-danger-80-l:80%;--bulma-danger-85-l:85%;--bulma-danger-90-l:90%;--bulma-danger-95-l:95%;--bulma-danger-100-l:100%;--bulma-danger-00:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-00-l),1);--bulma-danger-00-invert-l:var(--bulma-danger-65-l);--bulma-danger-00-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-00-invert-l),1);--bulma-danger-05:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-05-l),1);--bulma-danger-05-invert-l:var(--bulma-danger-70-l);--bulma-danger-05-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-05-invert-l),1);--bulma-danger-10:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-10-l),1);--bulma-danger-10-invert-l:var(--bulma-danger-75-l);--bulma-danger-10-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-10-invert-l),1);--bulma-danger-15:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-15-l),1);--bulma-danger-15-invert-l:var(--bulma-danger-80-l);--bulma-danger-15-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-15-invert-l),1);--bulma-danger-20:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-20-l),1);--bulma-danger-20-invert-l:var(--bulma-danger-85-l);--bulma-danger-20-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-20-invert-l),1);--bulma-danger-25:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-25-l),1);--bulma-danger-25-invert-l:var(--bulma-danger-90-l);--bulma-danger-25-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-25-invert-l),1);--bulma-danger-30:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-30-l),1);--bulma-danger-30-invert-l:var(--bulma-danger-100-l);--bulma-danger-30-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-30-invert-l),1);--bulma-danger-35:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-35-l),1);--bulma-danger-35-invert-l:var(--bulma-danger-100-l);--bulma-danger-35-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-35-invert-l),1);--bulma-danger-40:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-40-l),1);--bulma-danger-40-invert-l:var(--bulma-danger-100-l);--bulma-danger-40-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-40-invert-l),1);--bulma-danger-45:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-45-l),1);--bulma-danger-45-invert-l:var(--bulma-danger-100-l);--bulma-danger-45-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-45-invert-l),1);--bulma-danger-50:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-50-l),1);--bulma-danger-50-invert-l:var(--bulma-danger-100-l);--bulma-danger-50-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-50-invert-l),1);--bulma-danger-55:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-55-l),1);--bulma-danger-55-invert-l:var(--bulma-danger-100-l);--bulma-danger-55-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-55-invert-l),1);--bulma-danger-60:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-60-l),1);--bulma-danger-60-invert-l:var(--bulma-danger-100-l);--bulma-danger-60-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-60-invert-l),1);--bulma-danger-65:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-65-l),1);--bulma-danger-65-invert-l:var(--bulma-danger-00-l);--bulma-danger-65-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-65-invert-l),1);--bulma-danger-70:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-70-l),1);--bulma-danger-70-invert-l:var(--bulma-danger-05-l);--bulma-danger-70-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-70-invert-l),1);--bulma-danger-75:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-75-l),1);--bulma-danger-75-invert-l:var(--bulma-danger-10-l);--bulma-danger-75-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-75-invert-l),1);--bulma-danger-80:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-80-l),1);--bulma-danger-80-invert-l:var(--bulma-danger-15-l);--bulma-danger-80-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-80-invert-l),1);--bulma-danger-85:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-85-l),1);--bulma-danger-85-invert-l:var(--bulma-danger-20-l);--bulma-danger-85-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-85-invert-l),1);--bulma-danger-90:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-90-l),1);--bulma-danger-90-invert-l:var(--bulma-danger-25-l);--bulma-danger-90-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-90-invert-l),1);--bulma-danger-95:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-95-l),1);--bulma-danger-95-invert-l:var(--bulma-danger-25-l);--bulma-danger-95-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-95-invert-l),1);--bulma-danger-100:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-100-l),1);--bulma-danger-100-invert-l:var(--bulma-danger-30-l);--bulma-danger-100-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-100-invert-l),1);--bulma-danger-invert-l:var(--bulma-danger-05-l);--bulma-danger-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-invert-l),1);--bulma-danger-light-l:var(--bulma-danger-90-l);--bulma-danger-light:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-light-l),1);--bulma-danger-light-invert-l:var(--bulma-danger-25-l);--bulma-danger-light-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-light-invert-l),1);--bulma-danger-dark-l:var(--bulma-danger-10-l);--bulma-danger-dark:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-dark-l),1);--bulma-danger-dark-invert-l:var(--bulma-danger-75-l);--bulma-danger-dark-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-dark-invert-l),1);--bulma-danger-soft:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-soft-l),1);--bulma-danger-bold:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-bold-l),1);--bulma-danger-soft-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-soft-invert-l),1);--bulma-danger-bold-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-bold-invert-l),1);--bulma-danger-on-scheme-l:40%;--bulma-danger-on-scheme:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l),1);--bulma-black-bis:#14161a;--bulma-black-ter:#1f2229;--bulma-grey-darker:#2e333d;--bulma-grey-dark:#404654;--bulma-grey:#69748c;--bulma-grey-light:#abb1bf;--bulma-grey-lighter:#d6d9e0;--bulma-white-ter:#f3f4f6;--bulma-white-bis:#f9fafb;--bulma-shadow-h:221deg;--bulma-shadow-s:14%;--bulma-shadow-l:4%;--bulma-size-1:3rem;--bulma-size-2:2.5rem;--bulma-size-3:2rem;--bulma-size-4:1.5rem;--bulma-size-5:1.25rem;--bulma-size-6:1rem;--bulma-size-7:0.75rem}}@media (prefers-color-scheme:dark){:root{--bulma-white-on-scheme-l:100%;--bulma-white-on-scheme:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-on-scheme-l),1);--bulma-black-on-scheme-l:0%;--bulma-black-on-scheme:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-on-scheme-l),1);--bulma-light-on-scheme-l:96%;--bulma-light-on-scheme:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-on-scheme-l),1);--bulma-dark-on-scheme-l:56%;--bulma-dark-on-scheme:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-on-scheme-l),1);--bulma-text-on-scheme-l:54%;--bulma-text-on-scheme:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-on-scheme-l),1);--bulma-primary-on-scheme-l:41%;--bulma-primary-on-scheme:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-on-scheme-l),1);--bulma-link-on-scheme-l:73%;--bulma-link-on-scheme:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l),1);--bulma-info-on-scheme-l:70%;--bulma-info-on-scheme:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-on-scheme-l),1);--bulma-success-on-scheme-l:53%;--bulma-success-on-scheme:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-on-scheme-l),1);--bulma-warning-on-scheme-l:53%;--bulma-warning-on-scheme:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-on-scheme-l),1);--bulma-danger-on-scheme-l:70%;--bulma-danger-on-scheme:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l),1);--bulma-scheme-brightness:dark;--bulma-scheme-main-l:9%;--bulma-scheme-main-bis-l:11%;--bulma-scheme-main-ter-l:13%;--bulma-soft-l:20%;--bulma-bold-l:90%;--bulma-soft-invert-l:90%;--bulma-bold-invert-l:20%;--bulma-background-l:14%;--bulma-border-weak-l:21%;--bulma-border-l:24%;--bulma-text-weak-l:53%;--bulma-text-l:71%;--bulma-text-strong-l:93%;--bulma-text-title-l:100%;--bulma-hover-background-l-delta:5%;--bulma-active-background-l-delta:10%;--bulma-hover-border-l-delta:10%;--bulma-active-border-l-delta:20%;--bulma-hover-color-l-delta:5%;--bulma-active-color-l-delta:10%;--bulma-shadow-h:0deg;--bulma-shadow-s:0%;--bulma-shadow-l:100%}}.theme-light,[data-theme=light]{--bulma-scheme-h:221;--bulma-scheme-s:14%;--bulma-light-l:90%;--bulma-light-invert-l:20%;--bulma-dark-l:20%;--bulma-dark-invert-l:90%;--bulma-soft-l:90%;--bulma-bold-l:20%;--bulma-soft-invert-l:20%;--bulma-bold-invert-l:90%;--bulma-hover-background-l-delta:-5%;--bulma-active-background-l-delta:-10%;--bulma-hover-border-l-delta:-10%;--bulma-active-border-l-delta:-20%;--bulma-hover-color-l-delta:-5%;--bulma-active-color-l-delta:-10%;--bulma-hover-shadow-a-delta:-0.05;--bulma-active-shadow-a-delta:-0.1;--bulma-scheme-brightness:light;--bulma-scheme-main-l:100%;--bulma-scheme-main-bis-l:98%;--bulma-scheme-main-ter-l:96%;--bulma-background-l:96%;--bulma-border-weak-l:93%;--bulma-border-l:86%;--bulma-text-weak-l:48%;--bulma-text-strong-l:21%;--bulma-text-title-l:14%;--bulma-scheme-invert-ter-l:14%;--bulma-scheme-invert-bis-l:7%;--bulma-scheme-invert-l:4%;--bulma-family-primary:Inter,SF Pro,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Helvetica,Arial,sans-serif;--bulma-family-secondary:Inter,SF Pro,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Helvetica,Arial,sans-serif;--bulma-family-code:Inconsolata,Hack,SF Mono,Roboto Mono,Source Code Pro,Ubuntu Mono,monospace;--bulma-size-small:0.75rem;--bulma-size-normal:1rem;--bulma-size-medium:1.25rem;--bulma-size-large:1.5rem;--bulma-weight-light:300;--bulma-weight-normal:400;--bulma-weight-medium:500;--bulma-weight-semibold:600;--bulma-weight-bold:700;--bulma-weight-extrabold:800;--bulma-block-spacing:1.5rem;--bulma-duration:294ms;--bulma-easing:ease-out;--bulma-radius-small:0.25rem;--bulma-radius:0.375rem;--bulma-radius-medium:0.5em;--bulma-radius-large:0.75rem;--bulma-radius-rounded:9999px;--bulma-speed:86ms;--bulma-loading-color:var(--bulma-border);--bulma-burger-h:var(--bulma-link-h);--bulma-burger-s:var(--bulma-link-s);--bulma-burger-l:var(--bulma-link-l);--bulma-burger-border-radius:0.5em;--bulma-burger-gap:5px;--bulma-burger-item-height:2px;--bulma-burger-item-width:20px;--bulma-white:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-l),1);--bulma-white-base:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-l),1);--bulma-white-rgb:255,255,255;--bulma-white-h:221deg;--bulma-white-s:14%;--bulma-white-l:100%;--bulma-white-invert-l:4%;--bulma-white-invert:#090a0c;--bulma-white-on-scheme-l:35%;--bulma-white-on-scheme:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-on-scheme-l),1);--bulma-black:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-l),1);--bulma-black-base:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-l),1);--bulma-black-rgb:9,10,12;--bulma-black-h:221deg;--bulma-black-s:14%;--bulma-black-l:4%;--bulma-black-invert-l:100%;--bulma-black-invert:#fff;--bulma-black-on-scheme-l:4%;--bulma-black-on-scheme:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-on-scheme-l),1);--bulma-light:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-l),1);--bulma-light-base:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-l),1);--bulma-light-rgb:243,244,246;--bulma-light-h:221deg;--bulma-light-s:14%;--bulma-light-l:96%;--bulma-light-invert-l:21%;--bulma-light-invert:#2e333d;--bulma-light-on-scheme-l:36%;--bulma-light-on-scheme:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-on-scheme-l),1);--bulma-dark:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-l),1);--bulma-dark-base:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-l),1);--bulma-dark-rgb:46,51,61;--bulma-dark-h:221deg;--bulma-dark-s:14%;--bulma-dark-l:21%;--bulma-dark-invert-l:96%;--bulma-dark-invert:#f3f4f6;--bulma-dark-on-scheme-l:21%;--bulma-dark-on-scheme:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-on-scheme-l),1);--bulma-text:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l),1);--bulma-text-base:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l),1);--bulma-text-rgb:64,70,84;--bulma-text-h:221deg;--bulma-text-s:14%;--bulma-text-l:29%;--bulma-text-00-l:0%;--bulma-text-05-l:4%;--bulma-text-10-l:9%;--bulma-text-15-l:14%;--bulma-text-20-l:19%;--bulma-text-25-l:24%;--bulma-text-30-l:29%;--bulma-text-35-l:34%;--bulma-text-40-l:39%;--bulma-text-45-l:44%;--bulma-text-50-l:49%;--bulma-text-55-l:54%;--bulma-text-60-l:59%;--bulma-text-65-l:64%;--bulma-text-70-l:69%;--bulma-text-75-l:74%;--bulma-text-80-l:79%;--bulma-text-85-l:84%;--bulma-text-90-l:89%;--bulma-text-95-l:94%;--bulma-text-100-l:100%;--bulma-text-00:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-00-l),1);--bulma-text-00-invert-l:var(--bulma-text-60-l);--bulma-text-00-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-00-invert-l),1);--bulma-text-05:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-05-l),1);--bulma-text-05-invert-l:var(--bulma-text-60-l);--bulma-text-05-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-05-invert-l),1);--bulma-text-10:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-10-l),1);--bulma-text-10-invert-l:var(--bulma-text-70-l);--bulma-text-10-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-10-invert-l),1);--bulma-text-15:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-15-l),1);--bulma-text-15-invert-l:var(--bulma-text-75-l);--bulma-text-15-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-15-invert-l),1);--bulma-text-20:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-20-l),1);--bulma-text-20-invert-l:var(--bulma-text-85-l);--bulma-text-20-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-20-invert-l),1);--bulma-text-25:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-25-l),1);--bulma-text-25-invert-l:var(--bulma-text-95-l);--bulma-text-25-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-25-invert-l),1);--bulma-text-30:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-30-l),1);--bulma-text-30-invert-l:var(--bulma-text-100-l);--bulma-text-30-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-30-invert-l),1);--bulma-text-35:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-35-l),1);--bulma-text-35-invert-l:var(--bulma-text-100-l);--bulma-text-35-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-35-invert-l),1);--bulma-text-40:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-40-l),1);--bulma-text-40-invert-l:var(--bulma-text-100-l);--bulma-text-40-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-40-invert-l),1);--bulma-text-45:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-45-l),1);--bulma-text-45-invert-l:var(--bulma-text-100-l);--bulma-text-45-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-45-invert-l),1);--bulma-text-50:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-50-l),1);--bulma-text-50-invert-l:var(--bulma-text-100-l);--bulma-text-50-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-50-invert-l),1);--bulma-text-55:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-55-l),1);--bulma-text-55-invert-l:var(--bulma-text-100-l);--bulma-text-55-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-55-invert-l),1);--bulma-text-60:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-60-l),1);--bulma-text-60-invert-l:var(--bulma-text-05-l);--bulma-text-60-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-60-invert-l),1);--bulma-text-65:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-65-l),1);--bulma-text-65-invert-l:var(--bulma-text-05-l);--bulma-text-65-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-65-invert-l),1);--bulma-text-70:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-70-l),1);--bulma-text-70-invert-l:var(--bulma-text-10-l);--bulma-text-70-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-70-invert-l),1);--bulma-text-75:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-75-l),1);--bulma-text-75-invert-l:var(--bulma-text-15-l);--bulma-text-75-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-75-invert-l),1);--bulma-text-80:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-80-l),1);--bulma-text-80-invert-l:var(--bulma-text-15-l);--bulma-text-80-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-80-invert-l),1);--bulma-text-85:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-85-l),1);--bulma-text-85-invert-l:var(--bulma-text-20-l);--bulma-text-85-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-85-invert-l),1);--bulma-text-90:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-90-l),1);--bulma-text-90-invert-l:var(--bulma-text-20-l);--bulma-text-90-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-90-invert-l),1);--bulma-text-95:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-95-l),1);--bulma-text-95-invert-l:var(--bulma-text-25-l);--bulma-text-95-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-95-invert-l),1);--bulma-text-100:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-100-l),1);--bulma-text-100-invert-l:var(--bulma-text-30-l);--bulma-text-100-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-100-invert-l),1);--bulma-text-invert-l:var(--bulma-text-100-l);--bulma-text-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-invert-l),1);--bulma-text-light-l:var(--bulma-text-90-l);--bulma-text-light:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-light-l),1);--bulma-text-light-invert-l:var(--bulma-text-20-l);--bulma-text-light-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-light-invert-l),1);--bulma-text-dark-l:var(--bulma-text-10-l);--bulma-text-dark:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-dark-l),1);--bulma-text-dark-invert-l:var(--bulma-text-70-l);--bulma-text-dark-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-dark-invert-l),1);--bulma-text-soft:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-soft-l),1);--bulma-text-bold:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-bold-l),1);--bulma-text-soft-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-soft-invert-l),1);--bulma-text-bold-invert:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-bold-invert-l),1);--bulma-text-on-scheme-l:29%;--bulma-text-on-scheme:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-on-scheme-l),1);--bulma-primary:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-l),1);--bulma-primary-base:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-l),1);--bulma-primary-rgb:0,209,178;--bulma-primary-h:171deg;--bulma-primary-s:100%;--bulma-primary-l:41%;--bulma-primary-00-l:1%;--bulma-primary-05-l:6%;--bulma-primary-10-l:11%;--bulma-primary-15-l:16%;--bulma-primary-20-l:21%;--bulma-primary-25-l:26%;--bulma-primary-30-l:31%;--bulma-primary-35-l:36%;--bulma-primary-40-l:41%;--bulma-primary-45-l:46%;--bulma-primary-50-l:51%;--bulma-primary-55-l:56%;--bulma-primary-60-l:61%;--bulma-primary-65-l:66%;--bulma-primary-70-l:71%;--bulma-primary-75-l:76%;--bulma-primary-80-l:81%;--bulma-primary-85-l:86%;--bulma-primary-90-l:91%;--bulma-primary-95-l:96%;--bulma-primary-100-l:100%;--bulma-primary-00:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-00-l),1);--bulma-primary-00-invert-l:var(--bulma-primary-30-l);--bulma-primary-00-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-00-invert-l),1);--bulma-primary-05:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-05-l),1);--bulma-primary-05-invert-l:var(--bulma-primary-40-l);--bulma-primary-05-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-05-invert-l),1);--bulma-primary-10:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-10-l),1);--bulma-primary-10-invert-l:var(--bulma-primary-50-l);--bulma-primary-10-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-10-invert-l),1);--bulma-primary-15:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-15-l),1);--bulma-primary-15-invert-l:var(--bulma-primary-100-l);--bulma-primary-15-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-15-invert-l),1);--bulma-primary-20:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-20-l),1);--bulma-primary-20-invert-l:var(--bulma-primary-100-l);--bulma-primary-20-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-20-invert-l),1);--bulma-primary-25:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-25-l),1);--bulma-primary-25-invert-l:var(--bulma-primary-100-l);--bulma-primary-25-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-25-invert-l),1);--bulma-primary-30:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-30-l),1);--bulma-primary-30-invert-l:var(--bulma-primary-00-l);--bulma-primary-30-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-30-invert-l),1);--bulma-primary-35:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-35-l),1);--bulma-primary-35-invert-l:var(--bulma-primary-00-l);--bulma-primary-35-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-35-invert-l),1);--bulma-primary-40:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-40-l),1);--bulma-primary-40-invert-l:var(--bulma-primary-05-l);--bulma-primary-40-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-40-invert-l),1);--bulma-primary-45:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-45-l),1);--bulma-primary-45-invert-l:var(--bulma-primary-05-l);--bulma-primary-45-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-45-invert-l),1);--bulma-primary-50:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-50-l),1);--bulma-primary-50-invert-l:var(--bulma-primary-10-l);--bulma-primary-50-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-50-invert-l),1);--bulma-primary-55:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-55-l),1);--bulma-primary-55-invert-l:var(--bulma-primary-10-l);--bulma-primary-55-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-55-invert-l),1);--bulma-primary-60:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-60-l),1);--bulma-primary-60-invert-l:var(--bulma-primary-10-l);--bulma-primary-60-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-60-invert-l),1);--bulma-primary-65:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-65-l),1);--bulma-primary-65-invert-l:var(--bulma-primary-10-l);--bulma-primary-65-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-65-invert-l),1);--bulma-primary-70:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-70-l),1);--bulma-primary-70-invert-l:var(--bulma-primary-10-l);--bulma-primary-70-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-70-invert-l),1);--bulma-primary-75:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-75-l),1);--bulma-primary-75-invert-l:var(--bulma-primary-10-l);--bulma-primary-75-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-75-invert-l),1);--bulma-primary-80:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-80-l),1);--bulma-primary-80-invert-l:var(--bulma-primary-10-l);--bulma-primary-80-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-80-invert-l),1);--bulma-primary-85:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-85-l),1);--bulma-primary-85-invert-l:var(--bulma-primary-10-l);--bulma-primary-85-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-85-invert-l),1);--bulma-primary-90:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-90-l),1);--bulma-primary-90-invert-l:var(--bulma-primary-10-l);--bulma-primary-90-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-90-invert-l),1);--bulma-primary-95:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-95-l),1);--bulma-primary-95-invert-l:var(--bulma-primary-10-l);--bulma-primary-95-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-95-invert-l),1);--bulma-primary-100:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-100-l),1);--bulma-primary-100-invert-l:var(--bulma-primary-15-l);--bulma-primary-100-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-100-invert-l),1);--bulma-primary-invert-l:var(--bulma-primary-05-l);--bulma-primary-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-invert-l),1);--bulma-primary-light-l:var(--bulma-primary-90-l);--bulma-primary-light:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-light-l),1);--bulma-primary-light-invert-l:var(--bulma-primary-10-l);--bulma-primary-light-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-light-invert-l),1);--bulma-primary-dark-l:var(--bulma-primary-10-l);--bulma-primary-dark:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-dark-l),1);--bulma-primary-dark-invert-l:var(--bulma-primary-50-l);--bulma-primary-dark-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-dark-invert-l),1);--bulma-primary-soft:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-soft-l),1);--bulma-primary-bold:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-bold-l),1);--bulma-primary-soft-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-soft-invert-l),1);--bulma-primary-bold-invert:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-bold-invert-l),1);--bulma-primary-on-scheme-l:21%;--bulma-primary-on-scheme:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-on-scheme-l),1);--bulma-link:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l),1);--bulma-link-base:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l),1);--bulma-link-rgb:66,88,255;--bulma-link-h:233deg;--bulma-link-s:100%;--bulma-link-l:63%;--bulma-link-00-l:0%;--bulma-link-05-l:3%;--bulma-link-10-l:8%;--bulma-link-15-l:13%;--bulma-link-20-l:18%;--bulma-link-25-l:23%;--bulma-link-30-l:28%;--bulma-link-35-l:33%;--bulma-link-40-l:38%;--bulma-link-45-l:43%;--bulma-link-50-l:48%;--bulma-link-55-l:53%;--bulma-link-60-l:58%;--bulma-link-65-l:63%;--bulma-link-70-l:68%;--bulma-link-75-l:73%;--bulma-link-80-l:78%;--bulma-link-85-l:83%;--bulma-link-90-l:88%;--bulma-link-95-l:93%;--bulma-link-100-l:100%;--bulma-link-00:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-00-l),1);--bulma-link-00-invert-l:var(--bulma-link-75-l);--bulma-link-00-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-00-invert-l),1);--bulma-link-05:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-05-l),1);--bulma-link-05-invert-l:var(--bulma-link-75-l);--bulma-link-05-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-05-invert-l),1);--bulma-link-10:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-10-l),1);--bulma-link-10-invert-l:var(--bulma-link-75-l);--bulma-link-10-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-10-invert-l),1);--bulma-link-15:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-15-l),1);--bulma-link-15-invert-l:var(--bulma-link-80-l);--bulma-link-15-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-15-invert-l),1);--bulma-link-20:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-20-l),1);--bulma-link-20-invert-l:var(--bulma-link-80-l);--bulma-link-20-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-20-invert-l),1);--bulma-link-25:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-25-l),1);--bulma-link-25-invert-l:var(--bulma-link-85-l);--bulma-link-25-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-25-invert-l),1);--bulma-link-30:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-30-l),1);--bulma-link-30-invert-l:var(--bulma-link-90-l);--bulma-link-30-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-30-invert-l),1);--bulma-link-35:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-35-l),1);--bulma-link-35-invert-l:var(--bulma-link-90-l);--bulma-link-35-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-35-invert-l),1);--bulma-link-40:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-40-l),1);--bulma-link-40-invert-l:var(--bulma-link-95-l);--bulma-link-40-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-40-invert-l),1);--bulma-link-45:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-45-l),1);--bulma-link-45-invert-l:var(--bulma-link-100-l);--bulma-link-45-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-45-invert-l),1);--bulma-link-50:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-50-l),1);--bulma-link-50-invert-l:var(--bulma-link-100-l);--bulma-link-50-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-50-invert-l),1);--bulma-link-55:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-55-l),1);--bulma-link-55-invert-l:var(--bulma-link-100-l);--bulma-link-55-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-55-invert-l),1);--bulma-link-60:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-60-l),1);--bulma-link-60-invert-l:var(--bulma-link-100-l);--bulma-link-60-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-60-invert-l),1);--bulma-link-65:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-65-l),1);--bulma-link-65-invert-l:var(--bulma-link-100-l);--bulma-link-65-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-65-invert-l),1);--bulma-link-70:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-70-l),1);--bulma-link-70-invert-l:var(--bulma-link-100-l);--bulma-link-70-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-70-invert-l),1);--bulma-link-75:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-75-l),1);--bulma-link-75-invert-l:var(--bulma-link-10-l);--bulma-link-75-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-75-invert-l),1);--bulma-link-80:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-80-l),1);--bulma-link-80-invert-l:var(--bulma-link-20-l);--bulma-link-80-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-80-invert-l),1);--bulma-link-85:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-85-l),1);--bulma-link-85-invert-l:var(--bulma-link-25-l);--bulma-link-85-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-85-invert-l),1);--bulma-link-90:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-90-l),1);--bulma-link-90-invert-l:var(--bulma-link-35-l);--bulma-link-90-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-90-invert-l),1);--bulma-link-95:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-95-l),1);--bulma-link-95-invert-l:var(--bulma-link-40-l);--bulma-link-95-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-95-invert-l),1);--bulma-link-100:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-100-l),1);--bulma-link-100-invert-l:var(--bulma-link-50-l);--bulma-link-100-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-100-invert-l),1);--bulma-link-invert-l:var(--bulma-link-100-l);--bulma-link-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-invert-l),1);--bulma-link-light-l:var(--bulma-link-90-l);--bulma-link-light:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-light-l),1);--bulma-link-light-invert-l:var(--bulma-link-35-l);--bulma-link-light-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-light-invert-l),1);--bulma-link-dark-l:var(--bulma-link-10-l);--bulma-link-dark:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-dark-l),1);--bulma-link-dark-invert-l:var(--bulma-link-75-l);--bulma-link-dark-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-dark-invert-l),1);--bulma-link-soft:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-soft-l),1);--bulma-link-bold:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-bold-l),1);--bulma-link-soft-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-soft-invert-l),1);--bulma-link-bold-invert:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-bold-invert-l),1);--bulma-link-on-scheme-l:58%;--bulma-link-on-scheme:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l),1);--bulma-info:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-l),1);--bulma-info-base:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-l),1);--bulma-info-rgb:102,209,255;--bulma-info-h:198deg;--bulma-info-s:100%;--bulma-info-l:70%;--bulma-info-00-l:0%;--bulma-info-05-l:5%;--bulma-info-10-l:10%;--bulma-info-15-l:15%;--bulma-info-20-l:20%;--bulma-info-25-l:25%;--bulma-info-30-l:30%;--bulma-info-35-l:35%;--bulma-info-40-l:40%;--bulma-info-45-l:45%;--bulma-info-50-l:50%;--bulma-info-55-l:55%;--bulma-info-60-l:60%;--bulma-info-65-l:65%;--bulma-info-70-l:70%;--bulma-info-75-l:75%;--bulma-info-80-l:80%;--bulma-info-85-l:85%;--bulma-info-90-l:90%;--bulma-info-95-l:95%;--bulma-info-100-l:100%;--bulma-info-00:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-00-l),1);--bulma-info-00-invert-l:var(--bulma-info-45-l);--bulma-info-00-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-00-invert-l),1);--bulma-info-05:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-05-l),1);--bulma-info-05-invert-l:var(--bulma-info-50-l);--bulma-info-05-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-05-invert-l),1);--bulma-info-10:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-10-l),1);--bulma-info-10-invert-l:var(--bulma-info-60-l);--bulma-info-10-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-10-invert-l),1);--bulma-info-15:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-15-l),1);--bulma-info-15-invert-l:var(--bulma-info-80-l);--bulma-info-15-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-15-invert-l),1);--bulma-info-20:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-20-l),1);--bulma-info-20-invert-l:var(--bulma-info-95-l);--bulma-info-20-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-20-invert-l),1);--bulma-info-25:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-25-l),1);--bulma-info-25-invert-l:var(--bulma-info-100-l);--bulma-info-25-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-25-invert-l),1);--bulma-info-30:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-30-l),1);--bulma-info-30-invert-l:var(--bulma-info-100-l);--bulma-info-30-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-30-invert-l),1);--bulma-info-35:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-35-l),1);--bulma-info-35-invert-l:var(--bulma-info-100-l);--bulma-info-35-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-35-invert-l),1);--bulma-info-40:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-40-l),1);--bulma-info-40-invert-l:var(--bulma-info-100-l);--bulma-info-40-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-40-invert-l),1);--bulma-info-45:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-45-l),1);--bulma-info-45-invert-l:var(--bulma-info-00-l);--bulma-info-45-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-45-invert-l),1);--bulma-info-50:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-50-l),1);--bulma-info-50-invert-l:var(--bulma-info-05-l);--bulma-info-50-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-50-invert-l),1);--bulma-info-55:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-55-l),1);--bulma-info-55-invert-l:var(--bulma-info-05-l);--bulma-info-55-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-55-invert-l),1);--bulma-info-60:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-60-l),1);--bulma-info-60-invert-l:var(--bulma-info-10-l);--bulma-info-60-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-60-invert-l),1);--bulma-info-65:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-65-l),1);--bulma-info-65-invert-l:var(--bulma-info-10-l);--bulma-info-65-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-65-invert-l),1);--bulma-info-70:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-70-l),1);--bulma-info-70-invert-l:var(--bulma-info-10-l);--bulma-info-70-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-70-invert-l),1);--bulma-info-75:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-75-l),1);--bulma-info-75-invert-l:var(--bulma-info-10-l);--bulma-info-75-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-75-invert-l),1);--bulma-info-80:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-80-l),1);--bulma-info-80-invert-l:var(--bulma-info-15-l);--bulma-info-80-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-80-invert-l),1);--bulma-info-85:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-85-l),1);--bulma-info-85-invert-l:var(--bulma-info-15-l);--bulma-info-85-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-85-invert-l),1);--bulma-info-90:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-90-l),1);--bulma-info-90-invert-l:var(--bulma-info-15-l);--bulma-info-90-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-90-invert-l),1);--bulma-info-95:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-95-l),1);--bulma-info-95-invert-l:var(--bulma-info-20-l);--bulma-info-95-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-95-invert-l),1);--bulma-info-100:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-100-l),1);--bulma-info-100-invert-l:var(--bulma-info-20-l);--bulma-info-100-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-100-invert-l),1);--bulma-info-invert-l:var(--bulma-info-10-l);--bulma-info-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-invert-l),1);--bulma-info-light-l:var(--bulma-info-90-l);--bulma-info-light:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-light-l),1);--bulma-info-light-invert-l:var(--bulma-info-15-l);--bulma-info-light-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-light-invert-l),1);--bulma-info-dark-l:var(--bulma-info-10-l);--bulma-info-dark:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-dark-l),1);--bulma-info-dark-invert-l:var(--bulma-info-60-l);--bulma-info-dark-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-dark-invert-l),1);--bulma-info-soft:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-soft-l),1);--bulma-info-bold:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-bold-l),1);--bulma-info-soft-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-soft-invert-l),1);--bulma-info-bold-invert:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-bold-invert-l),1);--bulma-info-on-scheme-l:25%;--bulma-info-on-scheme:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-on-scheme-l),1);--bulma-success:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-l),1);--bulma-success-base:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-l),1);--bulma-success-rgb:72,199,142;--bulma-success-h:153deg;--bulma-success-s:53%;--bulma-success-l:53%;--bulma-success-00-l:0%;--bulma-success-05-l:3%;--bulma-success-10-l:8%;--bulma-success-15-l:13%;--bulma-success-20-l:18%;--bulma-success-25-l:23%;--bulma-success-30-l:28%;--bulma-success-35-l:33%;--bulma-success-40-l:38%;--bulma-success-45-l:43%;--bulma-success-50-l:48%;--bulma-success-55-l:53%;--bulma-success-60-l:58%;--bulma-success-65-l:63%;--bulma-success-70-l:68%;--bulma-success-75-l:73%;--bulma-success-80-l:78%;--bulma-success-85-l:83%;--bulma-success-90-l:88%;--bulma-success-95-l:93%;--bulma-success-100-l:100%;--bulma-success-00:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-00-l),1);--bulma-success-00-invert-l:var(--bulma-success-45-l);--bulma-success-00-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-00-invert-l),1);--bulma-success-05:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-05-l),1);--bulma-success-05-invert-l:var(--bulma-success-45-l);--bulma-success-05-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-05-invert-l),1);--bulma-success-10:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-10-l),1);--bulma-success-10-invert-l:var(--bulma-success-55-l);--bulma-success-10-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-10-invert-l),1);--bulma-success-15:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-15-l),1);--bulma-success-15-invert-l:var(--bulma-success-75-l);--bulma-success-15-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-15-invert-l),1);--bulma-success-20:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-20-l),1);--bulma-success-20-invert-l:var(--bulma-success-90-l);--bulma-success-20-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-20-invert-l),1);--bulma-success-25:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-25-l),1);--bulma-success-25-invert-l:var(--bulma-success-100-l);--bulma-success-25-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-25-invert-l),1);--bulma-success-30:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-30-l),1);--bulma-success-30-invert-l:var(--bulma-success-100-l);--bulma-success-30-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-30-invert-l),1);--bulma-success-35:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-35-l),1);--bulma-success-35-invert-l:var(--bulma-success-100-l);--bulma-success-35-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-35-invert-l),1);--bulma-success-40:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-40-l),1);--bulma-success-40-invert-l:var(--bulma-success-100-l);--bulma-success-40-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-40-invert-l),1);--bulma-success-45:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-45-l),1);--bulma-success-45-invert-l:var(--bulma-success-05-l);--bulma-success-45-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-45-invert-l),1);--bulma-success-50:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-50-l),1);--bulma-success-50-invert-l:var(--bulma-success-05-l);--bulma-success-50-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-50-invert-l),1);--bulma-success-55:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-55-l),1);--bulma-success-55-invert-l:var(--bulma-success-10-l);--bulma-success-55-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-55-invert-l),1);--bulma-success-60:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-60-l),1);--bulma-success-60-invert-l:var(--bulma-success-10-l);--bulma-success-60-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-60-invert-l),1);--bulma-success-65:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-65-l),1);--bulma-success-65-invert-l:var(--bulma-success-10-l);--bulma-success-65-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-65-invert-l),1);--bulma-success-70:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-70-l),1);--bulma-success-70-invert-l:var(--bulma-success-10-l);--bulma-success-70-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-70-invert-l),1);--bulma-success-75:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-75-l),1);--bulma-success-75-invert-l:var(--bulma-success-15-l);--bulma-success-75-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-75-invert-l),1);--bulma-success-80:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-80-l),1);--bulma-success-80-invert-l:var(--bulma-success-15-l);--bulma-success-80-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-80-invert-l),1);--bulma-success-85:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-85-l),1);--bulma-success-85-invert-l:var(--bulma-success-15-l);--bulma-success-85-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-85-invert-l),1);--bulma-success-90:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-90-l),1);--bulma-success-90-invert-l:var(--bulma-success-20-l);--bulma-success-90-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-90-invert-l),1);--bulma-success-95:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-95-l),1);--bulma-success-95-invert-l:var(--bulma-success-20-l);--bulma-success-95-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-95-invert-l),1);--bulma-success-100:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-100-l),1);--bulma-success-100-invert-l:var(--bulma-success-20-l);--bulma-success-100-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-100-invert-l),1);--bulma-success-invert-l:var(--bulma-success-10-l);--bulma-success-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-invert-l),1);--bulma-success-light-l:var(--bulma-success-90-l);--bulma-success-light:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-light-l),1);--bulma-success-light-invert-l:var(--bulma-success-20-l);--bulma-success-light-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-light-invert-l),1);--bulma-success-dark-l:var(--bulma-success-10-l);--bulma-success-dark:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-dark-l),1);--bulma-success-dark-invert-l:var(--bulma-success-55-l);--bulma-success-dark-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-dark-invert-l),1);--bulma-success-soft:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-soft-l),1);--bulma-success-bold:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-bold-l),1);--bulma-success-soft-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-soft-invert-l),1);--bulma-success-bold-invert:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-bold-invert-l),1);--bulma-success-on-scheme-l:23%;--bulma-success-on-scheme:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-on-scheme-l),1);--bulma-warning:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-l),1);--bulma-warning-base:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-l),1);--bulma-warning-rgb:255,183,15;--bulma-warning-h:42deg;--bulma-warning-s:100%;--bulma-warning-l:53%;--bulma-warning-00-l:0%;--bulma-warning-05-l:3%;--bulma-warning-10-l:8%;--bulma-warning-15-l:13%;--bulma-warning-20-l:18%;--bulma-warning-25-l:23%;--bulma-warning-30-l:28%;--bulma-warning-35-l:33%;--bulma-warning-40-l:38%;--bulma-warning-45-l:43%;--bulma-warning-50-l:48%;--bulma-warning-55-l:53%;--bulma-warning-60-l:58%;--bulma-warning-65-l:63%;--bulma-warning-70-l:68%;--bulma-warning-75-l:73%;--bulma-warning-80-l:78%;--bulma-warning-85-l:83%;--bulma-warning-90-l:88%;--bulma-warning-95-l:93%;--bulma-warning-100-l:100%;--bulma-warning-00:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-00-l),1);--bulma-warning-00-invert-l:var(--bulma-warning-40-l);--bulma-warning-00-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-00-invert-l),1);--bulma-warning-05:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-05-l),1);--bulma-warning-05-invert-l:var(--bulma-warning-45-l);--bulma-warning-05-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-05-invert-l),1);--bulma-warning-10:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-10-l),1);--bulma-warning-10-invert-l:var(--bulma-warning-50-l);--bulma-warning-10-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-10-invert-l),1);--bulma-warning-15:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-15-l),1);--bulma-warning-15-invert-l:var(--bulma-warning-70-l);--bulma-warning-15-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-15-invert-l),1);--bulma-warning-20:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-20-l),1);--bulma-warning-20-invert-l:var(--bulma-warning-100-l);--bulma-warning-20-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-20-invert-l),1);--bulma-warning-25:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-25-l),1);--bulma-warning-25-invert-l:var(--bulma-warning-100-l);--bulma-warning-25-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-25-invert-l),1);--bulma-warning-30:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-30-l),1);--bulma-warning-30-invert-l:var(--bulma-warning-100-l);--bulma-warning-30-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-30-invert-l),1);--bulma-warning-35:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-35-l),1);--bulma-warning-35-invert-l:var(--bulma-warning-100-l);--bulma-warning-35-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-35-invert-l),1);--bulma-warning-40:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-40-l),1);--bulma-warning-40-invert-l:var(--bulma-warning-00-l);--bulma-warning-40-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-40-invert-l),1);--bulma-warning-45:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-45-l),1);--bulma-warning-45-invert-l:var(--bulma-warning-05-l);--bulma-warning-45-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-45-invert-l),1);--bulma-warning-50:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-50-l),1);--bulma-warning-50-invert-l:var(--bulma-warning-10-l);--bulma-warning-50-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-50-invert-l),1);--bulma-warning-55:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-55-l),1);--bulma-warning-55-invert-l:var(--bulma-warning-10-l);--bulma-warning-55-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-55-invert-l),1);--bulma-warning-60:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-60-l),1);--bulma-warning-60-invert-l:var(--bulma-warning-10-l);--bulma-warning-60-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-60-invert-l),1);--bulma-warning-65:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-65-l),1);--bulma-warning-65-invert-l:var(--bulma-warning-10-l);--bulma-warning-65-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-65-invert-l),1);--bulma-warning-70:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-70-l),1);--bulma-warning-70-invert-l:var(--bulma-warning-15-l);--bulma-warning-70-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-70-invert-l),1);--bulma-warning-75:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-75-l),1);--bulma-warning-75-invert-l:var(--bulma-warning-15-l);--bulma-warning-75-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-75-invert-l),1);--bulma-warning-80:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-80-l),1);--bulma-warning-80-invert-l:var(--bulma-warning-15-l);--bulma-warning-80-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-80-invert-l),1);--bulma-warning-85:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-85-l),1);--bulma-warning-85-invert-l:var(--bulma-warning-15-l);--bulma-warning-85-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-85-invert-l),1);--bulma-warning-90:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-90-l),1);--bulma-warning-90-invert-l:var(--bulma-warning-15-l);--bulma-warning-90-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-90-invert-l),1);--bulma-warning-95:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-95-l),1);--bulma-warning-95-invert-l:var(--bulma-warning-15-l);--bulma-warning-95-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-95-invert-l),1);--bulma-warning-100:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-100-l),1);--bulma-warning-100-invert-l:var(--bulma-warning-20-l);--bulma-warning-100-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-100-invert-l),1);--bulma-warning-invert-l:var(--bulma-warning-10-l);--bulma-warning-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-invert-l),1);--bulma-warning-light-l:var(--bulma-warning-90-l);--bulma-warning-light:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-light-l),1);--bulma-warning-light-invert-l:var(--bulma-warning-15-l);--bulma-warning-light-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-light-invert-l),1);--bulma-warning-dark-l:var(--bulma-warning-10-l);--bulma-warning-dark:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-dark-l),1);--bulma-warning-dark-invert-l:var(--bulma-warning-50-l);--bulma-warning-dark-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-dark-invert-l),1);--bulma-warning-soft:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-soft-l),1);--bulma-warning-bold:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-bold-l),1);--bulma-warning-soft-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-soft-invert-l),1);--bulma-warning-bold-invert:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-bold-invert-l),1);--bulma-warning-on-scheme-l:23%;--bulma-warning-on-scheme:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-on-scheme-l),1);--bulma-danger:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-l),1);--bulma-danger-base:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-l),1);--bulma-danger-rgb:255,102,133;--bulma-danger-h:348deg;--bulma-danger-s:100%;--bulma-danger-l:70%;--bulma-danger-00-l:0%;--bulma-danger-05-l:5%;--bulma-danger-10-l:10%;--bulma-danger-15-l:15%;--bulma-danger-20-l:20%;--bulma-danger-25-l:25%;--bulma-danger-30-l:30%;--bulma-danger-35-l:35%;--bulma-danger-40-l:40%;--bulma-danger-45-l:45%;--bulma-danger-50-l:50%;--bulma-danger-55-l:55%;--bulma-danger-60-l:60%;--bulma-danger-65-l:65%;--bulma-danger-70-l:70%;--bulma-danger-75-l:75%;--bulma-danger-80-l:80%;--bulma-danger-85-l:85%;--bulma-danger-90-l:90%;--bulma-danger-95-l:95%;--bulma-danger-100-l:100%;--bulma-danger-00:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-00-l),1);--bulma-danger-00-invert-l:var(--bulma-danger-65-l);--bulma-danger-00-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-00-invert-l),1);--bulma-danger-05:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-05-l),1);--bulma-danger-05-invert-l:var(--bulma-danger-70-l);--bulma-danger-05-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-05-invert-l),1);--bulma-danger-10:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-10-l),1);--bulma-danger-10-invert-l:var(--bulma-danger-75-l);--bulma-danger-10-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-10-invert-l),1);--bulma-danger-15:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-15-l),1);--bulma-danger-15-invert-l:var(--bulma-danger-80-l);--bulma-danger-15-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-15-invert-l),1);--bulma-danger-20:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-20-l),1);--bulma-danger-20-invert-l:var(--bulma-danger-85-l);--bulma-danger-20-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-20-invert-l),1);--bulma-danger-25:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-25-l),1);--bulma-danger-25-invert-l:var(--bulma-danger-90-l);--bulma-danger-25-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-25-invert-l),1);--bulma-danger-30:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-30-l),1);--bulma-danger-30-invert-l:var(--bulma-danger-100-l);--bulma-danger-30-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-30-invert-l),1);--bulma-danger-35:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-35-l),1);--bulma-danger-35-invert-l:var(--bulma-danger-100-l);--bulma-danger-35-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-35-invert-l),1);--bulma-danger-40:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-40-l),1);--bulma-danger-40-invert-l:var(--bulma-danger-100-l);--bulma-danger-40-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-40-invert-l),1);--bulma-danger-45:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-45-l),1);--bulma-danger-45-invert-l:var(--bulma-danger-100-l);--bulma-danger-45-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-45-invert-l),1);--bulma-danger-50:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-50-l),1);--bulma-danger-50-invert-l:var(--bulma-danger-100-l);--bulma-danger-50-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-50-invert-l),1);--bulma-danger-55:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-55-l),1);--bulma-danger-55-invert-l:var(--bulma-danger-100-l);--bulma-danger-55-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-55-invert-l),1);--bulma-danger-60:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-60-l),1);--bulma-danger-60-invert-l:var(--bulma-danger-100-l);--bulma-danger-60-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-60-invert-l),1);--bulma-danger-65:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-65-l),1);--bulma-danger-65-invert-l:var(--bulma-danger-00-l);--bulma-danger-65-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-65-invert-l),1);--bulma-danger-70:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-70-l),1);--bulma-danger-70-invert-l:var(--bulma-danger-05-l);--bulma-danger-70-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-70-invert-l),1);--bulma-danger-75:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-75-l),1);--bulma-danger-75-invert-l:var(--bulma-danger-10-l);--bulma-danger-75-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-75-invert-l),1);--bulma-danger-80:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-80-l),1);--bulma-danger-80-invert-l:var(--bulma-danger-15-l);--bulma-danger-80-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-80-invert-l),1);--bulma-danger-85:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-85-l),1);--bulma-danger-85-invert-l:var(--bulma-danger-20-l);--bulma-danger-85-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-85-invert-l),1);--bulma-danger-90:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-90-l),1);--bulma-danger-90-invert-l:var(--bulma-danger-25-l);--bulma-danger-90-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-90-invert-l),1);--bulma-danger-95:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-95-l),1);--bulma-danger-95-invert-l:var(--bulma-danger-25-l);--bulma-danger-95-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-95-invert-l),1);--bulma-danger-100:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-100-l),1);--bulma-danger-100-invert-l:var(--bulma-danger-30-l);--bulma-danger-100-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-100-invert-l),1);--bulma-danger-invert-l:var(--bulma-danger-05-l);--bulma-danger-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-invert-l),1);--bulma-danger-light-l:var(--bulma-danger-90-l);--bulma-danger-light:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-light-l),1);--bulma-danger-light-invert-l:var(--bulma-danger-25-l);--bulma-danger-light-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-light-invert-l),1);--bulma-danger-dark-l:var(--bulma-danger-10-l);--bulma-danger-dark:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-dark-l),1);--bulma-danger-dark-invert-l:var(--bulma-danger-75-l);--bulma-danger-dark-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-dark-invert-l),1);--bulma-danger-soft:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-soft-l),1);--bulma-danger-bold:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-bold-l),1);--bulma-danger-soft-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-soft-invert-l),1);--bulma-danger-bold-invert:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-bold-invert-l),1);--bulma-danger-on-scheme-l:40%;--bulma-danger-on-scheme:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l),1);--bulma-black-bis:#14161a;--bulma-black-ter:#1f2229;--bulma-grey-darker:#2e333d;--bulma-grey-dark:#404654;--bulma-grey:#69748c;--bulma-grey-light:#abb1bf;--bulma-grey-lighter:#d6d9e0;--bulma-white-ter:#f3f4f6;--bulma-white-bis:#f9fafb;--bulma-shadow-h:221deg;--bulma-shadow-s:14%;--bulma-shadow-l:4%;--bulma-size-1:3rem;--bulma-size-2:2.5rem;--bulma-size-3:2rem;--bulma-size-4:1.5rem;--bulma-size-5:1.25rem;--bulma-size-6:1rem;--bulma-size-7:0.75rem;--bulma-scheme-main:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-l));--bulma-scheme-main-bis:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-bis-l));--bulma-scheme-main-ter:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-ter-l));--bulma-background:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-background-l));--bulma-background-hover:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-background-l) + var(--bulma-hover-background-l-delta)));--bulma-background-active:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-background-l) + var(--bulma-active-background-l-delta)));--bulma-border-weak:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-border-weak-l));--bulma-border:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-border-l));--bulma-border-hover:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-border-l) + var(--bulma-hover-border-l-delta)));--bulma-border-active:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-border-l) + var(--bulma-active-border-l-delta)));--bulma-text-weak:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-weak-l));--bulma-text:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l));--bulma-text-strong:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-strong-l));--bulma-scheme-invert-ter:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-ter-l));--bulma-scheme-invert-bis:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-bis-l));--bulma-scheme-invert:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l));--bulma-link:hsl(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l));--bulma-link-text:hsl(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l));--bulma-link-text-hover:hsl(var(--bulma-link-h),var(--bulma-link-s),calc(var(--bulma-link-on-scheme-l) + var(--bulma-hover-color-l-delta)));--bulma-link-text-active:hsl(var(--bulma-link-h),var(--bulma-link-s),calc(var(--bulma-link-on-scheme-l) + var(--bulma-active-color-l-delta)));--bulma-focus-h:var(--bulma-link-h);--bulma-focus-s:var(--bulma-link-s);--bulma-focus-l:var(--bulma-link-l);--bulma-focus-offset:1px;--bulma-focus-style:solid;--bulma-focus-width:2px;--bulma-focus-shadow-size:0 0 0 0.1875em;--bulma-focus-shadow-alpha:0.25;--bulma-code:hsl(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l));--bulma-code-background:var(--bulma-background);--bulma-pre:var(--bulma-text);--bulma-pre-background:var(--bulma-background);--bulma-shadow:0 0.5em 1em -0.125em hsla(var(--bulma-shadow-h),var(--bulma-shadow-s),var(--bulma-shadow-l),0.1),0 0px 0 1px hsla(var(--bulma-shadow-h),var(--bulma-shadow-s),var(--bulma-shadow-l),0.02)}.theme-dark,[data-theme=dark]{--bulma-white-on-scheme-l:100%;--bulma-white-on-scheme:hsla(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-on-scheme-l),1);--bulma-black-on-scheme-l:0%;--bulma-black-on-scheme:hsla(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-on-scheme-l),1);--bulma-light-on-scheme-l:96%;--bulma-light-on-scheme:hsla(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-on-scheme-l),1);--bulma-dark-on-scheme-l:56%;--bulma-dark-on-scheme:hsla(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-on-scheme-l),1);--bulma-text-on-scheme-l:54%;--bulma-text-on-scheme:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-on-scheme-l),1);--bulma-primary-on-scheme-l:41%;--bulma-primary-on-scheme:hsla(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-on-scheme-l),1);--bulma-link-on-scheme-l:73%;--bulma-link-on-scheme:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l),1);--bulma-info-on-scheme-l:70%;--bulma-info-on-scheme:hsla(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-on-scheme-l),1);--bulma-success-on-scheme-l:53%;--bulma-success-on-scheme:hsla(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-on-scheme-l),1);--bulma-warning-on-scheme-l:53%;--bulma-warning-on-scheme:hsla(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-on-scheme-l),1);--bulma-danger-on-scheme-l:70%;--bulma-danger-on-scheme:hsla(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l),1);--bulma-scheme-brightness:dark;--bulma-scheme-main-l:9%;--bulma-scheme-main-bis-l:11%;--bulma-scheme-main-ter-l:13%;--bulma-soft-l:20%;--bulma-bold-l:90%;--bulma-soft-invert-l:90%;--bulma-bold-invert-l:20%;--bulma-background-l:14%;--bulma-border-weak-l:21%;--bulma-border-l:24%;--bulma-text-weak-l:53%;--bulma-text-l:71%;--bulma-text-strong-l:93%;--bulma-text-title-l:100%;--bulma-hover-background-l-delta:5%;--bulma-active-background-l-delta:10%;--bulma-hover-border-l-delta:10%;--bulma-active-border-l-delta:20%;--bulma-hover-color-l-delta:5%;--bulma-active-color-l-delta:10%;--bulma-shadow-h:0deg;--bulma-shadow-s:0%;--bulma-shadow-l:100%;--bulma-scheme-main:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-l));--bulma-scheme-main-bis:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-bis-l));--bulma-scheme-main-ter:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-main-ter-l));--bulma-background:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-background-l));--bulma-background-hover:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-background-l) + var(--bulma-hover-background-l-delta)));--bulma-background-active:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-background-l) + var(--bulma-active-background-l-delta)));--bulma-border-weak:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-border-weak-l));--bulma-border:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-border-l));--bulma-border-hover:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-border-l) + var(--bulma-hover-border-l-delta)));--bulma-border-active:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),calc(var(--bulma-border-l) + var(--bulma-active-border-l-delta)));--bulma-text-weak:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-weak-l));--bulma-text:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-l));--bulma-text-strong:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-strong-l));--bulma-scheme-invert-ter:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-ter-l));--bulma-scheme-invert-bis:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-bis-l));--bulma-scheme-invert:hsl(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l));--bulma-link:hsl(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-l));--bulma-link-text:hsl(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l));--bulma-link-text-hover:hsl(var(--bulma-link-h),var(--bulma-link-s),calc(var(--bulma-link-on-scheme-l) + var(--bulma-hover-color-l-delta)));--bulma-link-text-active:hsl(var(--bulma-link-h),var(--bulma-link-s),calc(var(--bulma-link-on-scheme-l) + var(--bulma-active-color-l-delta)));--bulma-focus-h:var(--bulma-link-h);--bulma-focus-s:var(--bulma-link-s);--bulma-focus-l:var(--bulma-link-l);--bulma-focus-offset:1px;--bulma-focus-style:solid;--bulma-focus-width:2px;--bulma-focus-shadow-size:0 0 0 0.1875em;--bulma-focus-shadow-alpha:0.25;--bulma-code:hsl(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l));--bulma-code-background:var(--bulma-background);--bulma-pre:var(--bulma-text);--bulma-pre-background:var(--bulma-background);--bulma-shadow:0 0.5em 1em -0.125em hsla(var(--bulma-shadow-h),var(--bulma-shadow-s),var(--bulma-shadow-l),0.1),0 0px 0 1px hsla(var(--bulma-shadow-h),var(--bulma-shadow-s),var(--bulma-shadow-l),0.02)} +/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */blockquote,body,dd,dl,dt,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,html,iframe,legend,li,ol,p,pre,textarea,ul{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}td:not([align]),th:not([align]){text-align:inherit}:root{--bulma-body-background-color:var(--bulma-scheme-main);--bulma-body-size:1em;--bulma-body-min-width:300px;--bulma-body-rendering:optimizeLegibility;--bulma-body-family:var(--bulma-family-primary);--bulma-body-overflow-x:hidden;--bulma-body-overflow-y:scroll;--bulma-body-color:var(--bulma-text);--bulma-body-font-size:1em;--bulma-body-weight:var(--bulma-weight-normal);--bulma-body-line-height:1.5;--bulma-code-family:var(--bulma-family-code);--bulma-code-padding:0.25em 0.5em 0.25em;--bulma-code-weight:normal;--bulma-code-size:0.875em;--bulma-small-font-size:0.875em;--bulma-hr-background-color:var(--bulma-background);--bulma-hr-height:2px;--bulma-hr-margin:1.5rem 0;--bulma-strong-color:var(--bulma-text-strong);--bulma-strong-weight:var(--bulma-weight-semibold);--bulma-pre-font-size:0.875em;--bulma-pre-padding:1.25rem 1.5rem;--bulma-pre-code-font-size:1em}html{background-color:var(--bulma-body-background-color);font-size:var(--bulma-body-size);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:var(--bulma-body-min-width);overflow-x:var(--bulma-body-overflow-x);overflow-y:var(--bulma-body-overflow-y);text-rendering:var(--bulma-body-rendering);text-size-adjust:100%}article,aside,figure,footer,header,hgroup,section{display:block}body,button,input,optgroup,select,textarea{font-family:var(--bulma-body-family)}code,pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:var(--bulma-code-family)}body{color:var(--bulma-body-color);font-size:var(--bulma-body-font-size);font-weight:var(--bulma-body-weight);line-height:var(--bulma-body-line-height)}a,button{cursor:pointer}a:focus-visible,button:focus-visible{outline-color:hsl(var(--bulma-focus-h),var(--bulma-focus-s),var(--bulma-focus-l));outline-offset:var(--bulma-focus-offset);outline-style:var(--bulma-focus-style);outline-width:var(--bulma-focus-width)}a:focus-visible:active,button:focus-visible:active{outline-width:1px}a:active,button:active{outline-width:1px}a{color:var(--bulma-link-text);cursor:pointer;text-decoration:none;transition-duration:var(--bulma-duration);transition-property:background-color,border-color,color}a strong{color:currentColor}button{appearance:none;background:none;border:none;color:inherit;font-family:inherit;font-size:1em;margin:0;padding:0;transition-duration:var(--bulma-duration);transition-property:background-color,border-color,color}code{background-color:var(--bulma-code-background);border-radius:.5em;color:var(--bulma-code);font-size:var(--bulma-code-size);font-weight:var(--bulma-code-weight);padding:var(--bulma-code-padding)}hr{background-color:var(--bulma-hr-background-color);border:none;display:block;height:var(--bulma-hr-height);margin:var(--bulma-hr-margin)}img{height:auto;max-width:100%}input[type=checkbox],input[type=radio]{vertical-align:baseline}small{font-size:var(--bulma-small-font-size)}span{font-style:inherit;font-weight:inherit}strong{color:var(--bulma-strong-color);font-weight:var(--bulma-strong-weight)}svg{height:auto;width:auto}fieldset{border:none}pre{-webkit-overflow-scrolling:touch;background-color:var(--bulma-pre-background);color:var(--bulma-pre);font-size:var(--bulma-pre-font-size);overflow-x:auto;padding:var(--bulma-pre-padding);white-space:pre;word-wrap:normal}pre code{background-color:transparent;color:currentColor;font-size:var(--bulma-pre-code-font-size);padding:0}table td,table th{vertical-align:top}table td:not([align]),table th:not([align]){text-align:inherit}table th{color:var(--bulma-text-strong)}@keyframes spinAround{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes pulsate{50%{opacity:.5}}.navbar-link:not(.is-arrowless):after,.select:not(.is-multiple):not(.is-loading):after{border:.125em solid var(--bulma-link);border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;transition-duration:var(--bulma-duration);transition-property:border-color;width:.625em}.block:not(:last-child),.box:not(:last-child),.breadcrumb:not(:last-child),.buttons:not(:last-child),.card:not(:last-child),.content:not(:last-child),.field:not(:last-child),.file:not(:last-child),.fixed-grid:not(:last-child),.grid:not(:last-child),.level:not(:last-child),.media:not(:last-child),.message:not(:last-child),.notification:not(:last-child),.pagination:not(:last-child),.progress:not(:last-child),.skeleton-block:not(:last-child),.subtitle:not(:last-child),.table-container:not(:last-child),.table:not(:last-child),.tabs:not(:last-child),.tags:not(:last-child),.title:not(:last-child){margin-bottom:var(--bulma-block-spacing)}.button,.file-cta,.file-name,.input,.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous,.select select,.textarea{align-items:center;appearance:none;border-color:transparent;border-radius:var(--bulma-control-radius);border-style:solid;border-width:var(--bulma-control-border-width);box-shadow:none;display:inline-flex;font-size:var(--bulma-control-size);height:var(--bulma-control-height);justify-content:flex-start;line-height:var(--bulma-control-line-height);padding:var(--bulma-control-padding-vertical) var(--bulma-control-padding-horizontal);position:relative;transition-duration:var(--bulma-duration);transition-property:background-color,border-color,box-shadow,color;vertical-align:top}.button:active,.button:focus,.button:focus-visible,.button:focus-within,.file-cta:active,.file-cta:focus,.file-cta:focus-visible,.file-cta:focus-within,.file-name:active,.file-name:focus,.file-name:focus-visible,.file-name:focus-within,.input:active,.input:focus,.input:focus-visible,.input:focus-within,.is-active.button,.is-active.file-cta,.is-active.file-name,.is-active.input,.is-active.pagination-ellipsis,.is-active.pagination-link,.is-active.pagination-next,.is-active.pagination-previous,.is-active.textarea,.is-focused.button,.is-focused.file-cta,.is-focused.file-name,.is-focused.input,.is-focused.pagination-ellipsis,.is-focused.pagination-link,.is-focused.pagination-next,.is-focused.pagination-previous,.is-focused.textarea,.pagination-ellipsis:active,.pagination-ellipsis:focus,.pagination-ellipsis:focus-visible,.pagination-ellipsis:focus-within,.pagination-link:active,.pagination-link:focus,.pagination-link:focus-visible,.pagination-link:focus-within,.pagination-next:active,.pagination-next:focus,.pagination-next:focus-visible,.pagination-next:focus-within,.pagination-previous:active,.pagination-previous:focus,.pagination-previous:focus-visible,.pagination-previous:focus-within,.select select.is-active,.select select.is-focused,.select select:active,.select select:focus,.select select:focus-visible,.select select:focus-within,.textarea:active,.textarea:focus,.textarea:focus-visible,.textarea:focus-within{outline:none}.select fieldset[disabled] select,.select select[disabled],[disabled].button,[disabled].file-cta,[disabled].file-name,[disabled].input,[disabled].pagination-ellipsis,[disabled].pagination-link,[disabled].pagination-next,[disabled].pagination-previous,[disabled].textarea,fieldset[disabled] .button,fieldset[disabled] .file-cta,fieldset[disabled] .file-name,fieldset[disabled] .input,fieldset[disabled] .pagination-ellipsis,fieldset[disabled] .pagination-link,fieldset[disabled] .pagination-next,fieldset[disabled] .pagination-previous,fieldset[disabled] .select select,fieldset[disabled] .textarea{cursor:not-allowed}.modal-close{--bulma-delete-dimensions:1.25rem;--bulma-delete-background-l:0%;--bulma-delete-background-alpha:0.5;--bulma-delete-color:var(--bulma-white);appearance:none;background-color:hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-delete-background-l),var(--bulma-delete-background-alpha));border:none;border-radius:var(--bulma-radius-rounded);cursor:pointer;display:inline-flex;flex-grow:0;flex-shrink:0;font-size:1em;height:var(--bulma-delete-dimensions);max-height:var(--bulma-delete-dimensions);max-width:var(--bulma-delete-dimensions);min-height:var(--bulma-delete-dimensions);min-width:var(--bulma-delete-dimensions);outline:none;pointer-events:auto;position:relative;vertical-align:top;width:var(--bulma-delete-dimensions)}.modal-close:after,.modal-close:before{background-color:var(--bulma-delete-color);content:"";display:block;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.modal-close:before{height:2px;width:50%}.modal-close:after{height:50%;width:2px}.modal-close:focus,.modal-close:hover{--bulma-delete-background-alpha:0.4}.modal-close:active{--bulma-delete-background-alpha:0.5}.is-small.modal-close{--bulma-delete-dimensions:1rem}.is-medium.modal-close{--bulma-delete-dimensions:1.5rem}.is-large.modal-close{--bulma-delete-dimensions:2rem}.button.is-loading:after,.control.is-loading:after,.select.is-loading:after{animation:spinAround .5s linear infinite;border-bottom:2px solid var(--bulma-loading-color);border-left:2px solid var(--bulma-loading-color);border-radius:var(--bulma-radius-rounded);border-right:2px solid transparent;border-top:2px solid transparent;content:"";display:block;height:1em;position:relative;width:1em}.hero-video,.is-overlay,.modal,.modal-background{bottom:0;left:0;position:absolute;right:0;top:0}.menu-list .menu-item,.menu-list a,.menu-list button,.navbar-burger{appearance:none;background:none;border:none;color:inherit;font-family:inherit;font-size:1em;margin:0;padding:0}.breadcrumb,.button,.file,.is-unselectable,.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous,.tabs{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box{--bulma-box-background-color:var(--bulma-scheme-main);--bulma-box-color:var(--bulma-text);--bulma-box-radius:var(--bulma-radius-large);--bulma-box-shadow:var(--bulma-shadow);--bulma-box-padding:1.25rem;--bulma-box-link-hover-shadow:0 0.5em 1em -0.125em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),0.1),0 0 0 1px var(--bulma-link);--bulma-box-link-active-shadow:inset 0 1px 2px hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),0.2),0 0 0 1px var(--bulma-link);background-color:var(--bulma-box-background-color);border-radius:var(--bulma-box-radius);box-shadow:var(--bulma-box-shadow);color:var(--bulma-box-color);display:block;padding:var(--bulma-box-padding)}a.box:focus,a.box:hover{box-shadow:var(--bulma-box-link-hover-shadow)}a.box:active{box-shadow:var(--bulma-box-link-active-shadow)}.button{--bulma-button-family:false;--bulma-button-weight:var(--bulma-weight-medium);--bulma-button-border-color:var(--bulma-border);--bulma-button-border-style:solid;--bulma-button-border-width:var(--bulma-control-border-width);--bulma-button-padding-vertical:0.5em;--bulma-button-padding-horizontal:1em;--bulma-button-focus-border-color:var(--bulma-link-focus-border);--bulma-button-focus-box-shadow-size:0 0 0 0.125em;--bulma-button-focus-box-shadow-color:hsla(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l),0.25);--bulma-button-active-color:var(--bulma-link-active);--bulma-button-active-border-color:var(--bulma-link-active-border);--bulma-button-text-color:var(--bulma-text);--bulma-button-text-decoration:underline;--bulma-button-text-hover-background-color:var(--bulma-background);--bulma-button-text-hover-color:var(--bulma-text-strong);--bulma-button-ghost-background:none;--bulma-button-ghost-border-color:transparent;--bulma-button-ghost-color:var(--bulma-link-text);--bulma-button-ghost-decoration:none;--bulma-button-ghost-hover-color:var(--bulma-link);--bulma-button-ghost-hover-decoration:underline;--bulma-button-disabled-background-color:var(--bulma-scheme-main);--bulma-button-disabled-border-color:var(--bulma-border);--bulma-button-disabled-shadow:none;--bulma-button-disabled-opacity:0.5;--bulma-button-static-color:var(--bulma-text-weak);--bulma-button-static-background-color:var(--bulma-scheme-main-ter);--bulma-button-static-border-color:var(--bulma-border);--bulma-button-h:var(--bulma-scheme-h);--bulma-button-s:var(--bulma-scheme-s);--bulma-button-l:var(--bulma-scheme-main-l);--bulma-button-background-l:var(--bulma-scheme-main-l);--bulma-button-background-l-delta:0%;--bulma-button-hover-background-l-delta:var(--bulma-hover-background-l-delta);--bulma-button-active-background-l-delta:var(--bulma-active-background-l-delta);--bulma-button-color-l:var(--bulma-text-strong-l);--bulma-button-border-l:var(--bulma-border-l);--bulma-button-border-l-delta:0%;--bulma-button-hover-border-l-delta:var(--bulma-hover-border-l-delta);--bulma-button-active-border-l-delta:var(--bulma-active-border-l-delta);--bulma-button-focus-border-l-delta:var(--bulma-focus-border-l-delta);--bulma-button-outer-shadow-h:0;--bulma-button-outer-shadow-s:0%;--bulma-button-outer-shadow-l:20%;--bulma-button-outer-shadow-a:0.05;--bulma-loading-color:hsl(var(--bulma-button-h),var(--bulma-button-s),var(--bulma-button-color-l));background-color:hsl(var(--bulma-button-h),var(--bulma-button-s),calc(var(--bulma-button-background-l) + var(--bulma-button-background-l-delta)));border-color:hsl(var(--bulma-button-h),var(--bulma-button-s),calc(var(--bulma-button-border-l) + var(--bulma-button-border-l-delta)));border-style:var(--bulma-button-border-style);border-width:var(--bulma-button-border-width);box-shadow:0 .0625em .125em hsla(var(--bulma-button-outer-shadow-h),var(--bulma-button-outer-shadow-s),var(--bulma-button-outer-shadow-l),var(--bulma-button-outer-shadow-a)),0 .125em .25em hsla(var(--bulma-button-outer-shadow-h),var(--bulma-button-outer-shadow-s),var(--bulma-button-outer-shadow-l),var(--bulma-button-outer-shadow-a));color:hsl(var(--bulma-button-h),var(--bulma-button-s),var(--bulma-button-color-l));cursor:pointer;font-weight:var(--bulma-button-weight);height:auto;justify-content:center;padding:calc(var(--bulma-button-padding-vertical) - var(--bulma-button-border-width)) calc(var(--bulma-button-padding-horizontal) - var(--bulma-button-border-width));text-align:center;white-space:nowrap}.button strong{color:inherit}.button .icon,.button .icon.is-large,.button .icon.is-medium,.button .icon.is-small{height:1.5em;width:1.5em}.button .icon:first-child:not(:last-child){margin-inline-end:calc(var(--bulma-button-padding-horizontal)*.25);margin-inline-start:calc(var(--bulma-button-padding-horizontal)*-.5)}.button .icon:last-child:not(:first-child){margin-inline-end:calc(var(--bulma-button-padding-horizontal)*-.5);margin-inline-start:calc(var(--bulma-button-padding-horizontal)*.25)}.button .icon:first-child:last-child{margin-inline-end:calc(var(--bulma-button-padding-horizontal)*-.5);margin-inline-start:calc(var(--bulma-button-padding-horizontal)*-.5)}.button.is-hovered,.button:hover{--bulma-button-background-l-delta:var(--bulma-button-hover-background-l-delta);--bulma-button-border-l-delta:var(--bulma-button-hover-border-l-delta)}.button.is-focused,.button:focus-visible{--bulma-button-border-width:1px;border-color:hsl(var(--bulma-focus-h),var(--bulma-focus-s),var(--bulma-focus-l));box-shadow:var(--bulma-focus-shadow-size) hsla(var(--bulma-focus-h),var(--bulma-focus-s),var(--bulma-focus-l),var(--bulma-focus-shadow-alpha))}.button.is-active,.button:active{--bulma-button-background-l-delta:var(--bulma-button-active-background-l-delta);--bulma-button-border-l-delta:var(--bulma-button-active-border-l-delta);--bulma-button-outer-shadow-a:0}.button[disabled],fieldset[disabled] .button{background-color:var(--bulma-button-disabled-background-color);border-color:var(--bulma-button-disabled-border-color);box-shadow:var(--bulma-button-disabled-shadow);opacity:var(--bulma-button-disabled-opacity)}.button.is-white{--bulma-button-h:var(--bulma-white-h);--bulma-button-s:var(--bulma-white-s);--bulma-button-l:var(--bulma-white-l);--bulma-button-background-l:var(--bulma-white-l);--bulma-button-border-l:var(--bulma-white-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-white-invert-l);--bulma-button-outer-shadow-a:0}.button.is-white.is-focused,.button.is-white:focus-visible{--bulma-button-border-width:1px}.button.is-white.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-white.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-white[disabled],fieldset[disabled] .button.is-white{background-color:var(--bulma-white);border-color:var(--bulma-white);box-shadow:none}.button.is-black{--bulma-button-h:var(--bulma-black-h);--bulma-button-s:var(--bulma-black-s);--bulma-button-l:var(--bulma-black-l);--bulma-button-background-l:var(--bulma-black-l);--bulma-button-border-l:var(--bulma-black-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-black-invert-l);--bulma-button-outer-shadow-a:0}.button.is-black.is-focused,.button.is-black:focus-visible{--bulma-button-border-width:1px}.button.is-black.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-black.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-black[disabled],fieldset[disabled] .button.is-black{background-color:var(--bulma-black);border-color:var(--bulma-black);box-shadow:none}.button.is-light{--bulma-button-h:var(--bulma-light-h);--bulma-button-s:var(--bulma-light-s);--bulma-button-l:var(--bulma-light-l);--bulma-button-background-l:var(--bulma-light-l);--bulma-button-border-l:var(--bulma-light-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-light-invert-l);--bulma-button-outer-shadow-a:0}.button.is-light.is-focused,.button.is-light:focus-visible{--bulma-button-border-width:1px}.button.is-light.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-light.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-light[disabled],fieldset[disabled] .button.is-light{background-color:var(--bulma-light);border-color:var(--bulma-light);box-shadow:none}.button.is-dark{--bulma-button-h:var(--bulma-dark-h);--bulma-button-s:var(--bulma-dark-s);--bulma-button-l:var(--bulma-dark-l);--bulma-button-background-l:var(--bulma-dark-l);--bulma-button-border-l:var(--bulma-dark-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-dark-invert-l);--bulma-button-outer-shadow-a:0}.button.is-dark.is-focused,.button.is-dark:focus-visible{--bulma-button-border-width:1px}.button.is-dark.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-dark.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-dark[disabled],fieldset[disabled] .button.is-dark{background-color:var(--bulma-dark);border-color:var(--bulma-dark);box-shadow:none}.button.is-text{--bulma-button-h:var(--bulma-text-h);--bulma-button-s:var(--bulma-text-s);--bulma-button-l:var(--bulma-text-l);--bulma-button-background-l:var(--bulma-text-l);--bulma-button-border-l:var(--bulma-text-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-text-invert-l);--bulma-button-outer-shadow-a:0}.button.is-text.is-focused,.button.is-text:focus-visible{--bulma-button-border-width:1px}.button.is-text.is-light{--bulma-button-background-l:var(--bulma-light-l);--bulma-button-color-l:var(--bulma-text-light-invert-l)}.button.is-text.is-dark{--bulma-button-background-l:var(--bulma-dark-l);--bulma-button-color-l:var(--bulma-text-dark-invert-l)}.button.is-text.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-text.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-text[disabled],fieldset[disabled] .button.is-text{background-color:var(--bulma-text);border-color:var(--bulma-text)}.button.is-primary{--bulma-button-h:var(--bulma-primary-h);--bulma-button-s:var(--bulma-primary-s);--bulma-button-l:var(--bulma-primary-l);--bulma-button-background-l:var(--bulma-primary-l);--bulma-button-border-l:var(--bulma-primary-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-primary-invert-l);--bulma-button-outer-shadow-a:0}.button.is-primary.is-focused,.button.is-primary:focus-visible{--bulma-button-border-width:1px}.button.is-primary.is-light{--bulma-button-background-l:var(--bulma-light-l);--bulma-button-color-l:var(--bulma-primary-light-invert-l)}.button.is-primary.is-dark{--bulma-button-background-l:var(--bulma-dark-l);--bulma-button-color-l:var(--bulma-primary-dark-invert-l)}.button.is-primary.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-primary.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-primary[disabled],fieldset[disabled] .button.is-primary{background-color:var(--bulma-primary);border-color:var(--bulma-primary);box-shadow:none}.button.is-link{--bulma-button-h:var(--bulma-link-h);--bulma-button-s:var(--bulma-link-s);--bulma-button-l:var(--bulma-link-l);--bulma-button-background-l:var(--bulma-link-l);--bulma-button-border-l:var(--bulma-link-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-link-invert-l);--bulma-button-outer-shadow-a:0}.button.is-link.is-focused,.button.is-link:focus-visible{--bulma-button-border-width:1px}.button.is-link.is-light{--bulma-button-background-l:var(--bulma-light-l);--bulma-button-color-l:var(--bulma-link-light-invert-l)}.button.is-link.is-dark{--bulma-button-background-l:var(--bulma-dark-l);--bulma-button-color-l:var(--bulma-link-dark-invert-l)}.button.is-link.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-link.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-link[disabled],fieldset[disabled] .button.is-link{background-color:var(--bulma-link);border-color:var(--bulma-link);box-shadow:none}.button.is-info{--bulma-button-h:var(--bulma-info-h);--bulma-button-s:var(--bulma-info-s);--bulma-button-l:var(--bulma-info-l);--bulma-button-background-l:var(--bulma-info-l);--bulma-button-border-l:var(--bulma-info-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-info-invert-l);--bulma-button-outer-shadow-a:0}.button.is-info.is-focused,.button.is-info:focus-visible{--bulma-button-border-width:1px}.button.is-info.is-light{--bulma-button-background-l:var(--bulma-light-l);--bulma-button-color-l:var(--bulma-info-light-invert-l)}.button.is-info.is-dark{--bulma-button-background-l:var(--bulma-dark-l);--bulma-button-color-l:var(--bulma-info-dark-invert-l)}.button.is-info.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-info.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-info[disabled],fieldset[disabled] .button.is-info{background-color:var(--bulma-info);border-color:var(--bulma-info);box-shadow:none}.button.is-success{--bulma-button-h:var(--bulma-success-h);--bulma-button-s:var(--bulma-success-s);--bulma-button-l:var(--bulma-success-l);--bulma-button-background-l:var(--bulma-success-l);--bulma-button-border-l:var(--bulma-success-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-success-invert-l);--bulma-button-outer-shadow-a:0}.button.is-success.is-focused,.button.is-success:focus-visible{--bulma-button-border-width:1px}.button.is-success.is-light{--bulma-button-background-l:var(--bulma-light-l);--bulma-button-color-l:var(--bulma-success-light-invert-l)}.button.is-success.is-dark{--bulma-button-background-l:var(--bulma-dark-l);--bulma-button-color-l:var(--bulma-success-dark-invert-l)}.button.is-success.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-success.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-success[disabled],fieldset[disabled] .button.is-success{background-color:var(--bulma-success);border-color:var(--bulma-success);box-shadow:none}.button.is-warning{--bulma-button-h:var(--bulma-warning-h);--bulma-button-s:var(--bulma-warning-s);--bulma-button-l:var(--bulma-warning-l);--bulma-button-background-l:var(--bulma-warning-l);--bulma-button-border-l:var(--bulma-warning-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-warning-invert-l);--bulma-button-outer-shadow-a:0}.button.is-warning.is-focused,.button.is-warning:focus-visible{--bulma-button-border-width:1px}.button.is-warning.is-light{--bulma-button-background-l:var(--bulma-light-l);--bulma-button-color-l:var(--bulma-warning-light-invert-l)}.button.is-warning.is-dark{--bulma-button-background-l:var(--bulma-dark-l);--bulma-button-color-l:var(--bulma-warning-dark-invert-l)}.button.is-warning.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-warning.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-warning[disabled],fieldset[disabled] .button.is-warning{background-color:var(--bulma-warning);border-color:var(--bulma-warning);box-shadow:none}.button.is-danger{--bulma-button-h:var(--bulma-danger-h);--bulma-button-s:var(--bulma-danger-s);--bulma-button-l:var(--bulma-danger-l);--bulma-button-background-l:var(--bulma-danger-l);--bulma-button-border-l:var(--bulma-danger-l);--bulma-button-border-width:0px;--bulma-button-color-l:var(--bulma-danger-invert-l);--bulma-button-outer-shadow-a:0}.button.is-danger.is-focused,.button.is-danger:focus-visible{--bulma-button-border-width:1px}.button.is-danger.is-light{--bulma-button-background-l:var(--bulma-light-l);--bulma-button-color-l:var(--bulma-danger-light-invert-l)}.button.is-danger.is-dark{--bulma-button-background-l:var(--bulma-dark-l);--bulma-button-color-l:var(--bulma-danger-dark-invert-l)}.button.is-danger.is-soft{--bulma-button-background-l:var(--bulma-soft-l);--bulma-button-color-l:var(--bulma-soft-invert-l)}.button.is-danger.is-bold{--bulma-button-background-l:var(--bulma-bold-l);--bulma-button-color-l:var(--bulma-bold-invert-l)}.button.is-danger[disabled],fieldset[disabled] .button.is-danger{background-color:var(--bulma-danger);border-color:var(--bulma-danger);box-shadow:none}.button.is-outlined{--bulma-button-border-width:max(1px,0.0625em);background-color:transparent;border-color:hsl(var(--bulma-button-h),var(--bulma-button-s),var(--bulma-button-l));color:hsl(var(--bulma-button-h),var(--bulma-button-s),var(--bulma-button-l))}.button.is-outlined:hover{--bulma-button-border-width:max(2px,0.125em);--bulma-button-outer-shadow-alpha:1}.button.is-inverted{background-color:hsl(var(--bulma-button-h),var(--bulma-button-s),calc(var(--bulma-button-color-l) + var(--bulma-button-background-l-delta)));color:hsl(var(--bulma-button-h),var(--bulma-button-s),var(--bulma-button-background-l))}.button.is-text{background-color:transparent;border-color:transparent;color:var(--bulma-button-text-color);text-decoration:var(--bulma-button-text-decoration)}.button.is-text.is-hovered,.button.is-text:hover{background-color:var(--bulma-button-text-hover-background-color);color:var(--bulma-button-text-hover-color)}.button.is-text.is-active,.button.is-text:active{color:var(--bulma-button-text-hover-color)}.button.is-text[disabled],fieldset[disabled] .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.button.is-ghost{background:var(--bulma-button-ghost-background);border-color:var(--bulma-button-ghost-border-color);box-shadow:none;color:var(--bulma-button-ghost-color);text-decoration:var(--bulma-button-ghost-decoration)}.button.is-ghost.is-hovered,.button.is-ghost:hover{color:var(--bulma-button-ghost-hover-color);text-decoration:var(--bulma-button-ghost-hover-decoration)}.button.is-small{--bulma-control-size:var(--bulma-size-small);--bulma-control-radius:var(--bulma-radius-small)}.button.is-normal{--bulma-control-size:var(--bulma-size-normal);--bulma-control-radius:var(--bulma-radius)}.button.is-medium{--bulma-control-size:var(--bulma-size-medium);--bulma-control-radius:var(--bulma-radius-medium)}.button.is-large{--bulma-control-size:var(--bulma-size-large);--bulma-control-radius:var(--bulma-radius-medium)}.button.is-fullwidth{display:flex;width:100%}.button.is-loading{box-shadow:none;color:transparent!important;pointer-events:none}.button.is-loading:after{left:calc(50% - .5em);position:absolute;position:absolute!important;top:calc(50% - .5em)}.button.is-static{background-color:var(--bulma-button-static-background-color);border-color:var(--bulma-button-static-border-color);box-shadow:none;color:var(--bulma-button-static-color);pointer-events:none}.button.is-rounded{border-radius:var(--bulma-radius-rounded);padding-left:calc(var(--bulma-button-padding-horizontal) + .25em);padding-right:calc(var(--bulma-button-padding-horizontal) + .25em)}.buttons{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:flex-start}.buttons.are-small{--bulma-control-size:var(--bulma-size-small);--bulma-control-radius:var(--bulma-radius-small)}.buttons.are-medium{--bulma-control-size:var(--bulma-size-medium);--bulma-control-radius:var(--bulma-radius-medium)}.buttons.are-large{--bulma-control-size:var(--bulma-size-large);--bulma-control-radius:var(--bulma-radius-large)}.buttons.has-addons{gap:0}.buttons.has-addons .button:not(:first-child){border-end-start-radius:0;border-start-start-radius:0}.buttons.has-addons .button:not(:last-child){border-end-end-radius:0;border-start-end-radius:0;margin-inline-end:-1px}.buttons.has-addons .button.is-hovered,.buttons.has-addons .button:hover{z-index:2}.buttons.has-addons .button.is-active,.buttons.has-addons .button.is-focused,.buttons.has-addons .button.is-selected,.buttons.has-addons .button:active,.buttons.has-addons .button:focus{z-index:3}.buttons.has-addons .button.is-active:hover,.buttons.has-addons .button.is-focused:hover,.buttons.has-addons .button.is-selected:hover,.buttons.has-addons .button:active:hover,.buttons.has-addons .button:focus:hover{z-index:4}.buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.buttons.is-centered{justify-content:center}.buttons.is-right{justify-content:flex-end}@media screen and (max-width:768px){.button.is-responsive.is-small{font-size:calc(var(--bulma-size-small)*.75)}.button.is-responsive,.button.is-responsive.is-normal{font-size:calc(var(--bulma-size-small)*.875)}.button.is-responsive.is-medium{font-size:var(--bulma-size-small)}.button.is-responsive.is-large{font-size:var(--bulma-size-normal)}}@media screen and (min-width:769px) and (max-width:1023px){.button.is-responsive.is-small{font-size:calc(var(--bulma-size-small)*.875)}.button.is-responsive,.button.is-responsive.is-normal{font-size:var(--bulma-size-small)}.button.is-responsive.is-medium{font-size:var(--bulma-size-normal)}.button.is-responsive.is-large{font-size:var(--bulma-size-medium)}}.content{--bulma-content-heading-color:var(--bulma-text-strong);--bulma-content-heading-weight:var(--bulma-weight-extrabold);--bulma-content-heading-line-height:1.125;--bulma-content-block-margin-bottom:1em;--bulma-content-blockquote-background-color:var(--bulma-background);--bulma-content-blockquote-border-left:5px solid var(--bulma-border);--bulma-content-blockquote-padding:1.25em 1.5em;--bulma-content-pre-padding:1.25em 1.5em;--bulma-content-table-cell-border:1px solid var(--bulma-border);--bulma-content-table-cell-border-width:0 0 1px;--bulma-content-table-cell-padding:0.5em 0.75em;--bulma-content-table-cell-heading-color:var(--bulma-text-strong);--bulma-content-table-head-cell-border-width:0 0 2px;--bulma-content-table-head-cell-color:var(--bulma-text-strong);--bulma-content-table-body-last-row-cell-border-bottom-width:0;--bulma-content-table-foot-cell-border-width:2px 0 0;--bulma-content-table-foot-cell-color:var(--bulma-text-strong)}.content li+li{margin-top:.25em}.content blockquote:not(:last-child),.content dl:not(:last-child),.content ol:not(:last-child),.content p:not(:last-child),.content pre:not(:last-child),.content table:not(:last-child),.content ul:not(:last-child){margin-bottom:var(--bulma-content-block-margin-bottom)}.content h1,.content h2,.content h3,.content h4,.content h5,.content h6{color:var(--bulma-content-heading-color);font-weight:var(--bulma-content-heading-weight);line-height:var(--bulma-content-heading-line-height)}.content h1{font-size:2em;margin-bottom:.5em}.content h1:not(:first-child){margin-top:1em}.content h2{font-size:1.75em;margin-bottom:.5714em}.content h2:not(:first-child){margin-top:1.1428em}.content h3{font-size:1.5em;margin-bottom:.6666em}.content h3:not(:first-child){margin-top:1.3333em}.content h4{font-size:1.25em;margin-bottom:.8em}.content h5{font-size:1.125em;margin-bottom:.8888em}.content h6{font-size:1em;margin-bottom:1em}.content blockquote{background-color:var(--bulma-content-blockquote-background-color);border-inline-start:var(--bulma-content-blockquote-border-left);padding:var(--bulma-content-blockquote-padding)}.content ol{list-style-position:outside;margin-inline-start:2em;margin-top:1em}.content ol:not([type]){list-style-type:decimal}.content ol:not([type]).is-lower-alpha{list-style-type:lower-alpha}.content ol:not([type]).is-lower-roman{list-style-type:lower-roman}.content ol:not([type]).is-upper-alpha{list-style-type:upper-alpha}.content ol:not([type]).is-upper-roman{list-style-type:upper-roman}.content ul{list-style:disc outside;margin-inline-start:2em;margin-top:1em}.content ul ul{list-style-type:circle;margin-bottom:.25em;margin-top:.25em}.content ul ul ul{list-style-type:square}.content dd{margin-inline-start:2em}.content figure:not([class]){margin-left:2em;margin-right:2em;text-align:center}.content figure:not([class]):not(:first-child){margin-top:2em}.content figure:not([class]):not(:last-child){margin-bottom:2em}.content figure:not([class]) img{display:inline-block}.content figure:not([class]) figcaption{font-style:italic}.content pre{-webkit-overflow-scrolling:touch;overflow-x:auto;padding:var(--bulma-content-pre-padding);white-space:pre;word-wrap:normal}.content sub,.content sup{font-size:75%}.content table td,.content table th{border:var(--bulma-content-table-cell-border);border-width:var(--bulma-content-table-cell-border-width);padding:var(--bulma-content-table-cell-padding);vertical-align:top}.content table th{color:var(--bulma-content-table-cell-heading-color)}.content table th:not([align]){text-align:inherit}.content table thead td,.content table thead th{border-width:var(--bulma-content-table-head-cell-border-width);color:var(--bulma-content-table-head-cell-color)}.content table tfoot td,.content table tfoot th{border-width:var(--bulma-content-table-foot-cell-border-width);color:var(--bulma-content-table-foot-cell-color)}.content table tbody tr:last-child td,.content table tbody tr:last-child th{border-bottom-width:var(--bulma-content-table-body-last-row-cell-border-bottom-width)}.content .tabs li+li{margin-top:0}.content.is-small{font-size:var(--bulma-size-small)}.content.is-normal{font-size:var(--bulma-size-normal)}.content.is-medium{font-size:var(--bulma-size-medium)}.content.is-large{font-size:var(--bulma-size-large)}.delete{--bulma-delete-dimensions:1.25rem;--bulma-delete-background-l:0%;--bulma-delete-background-alpha:0.5;--bulma-delete-color:var(--bulma-white);appearance:none;background-color:hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-delete-background-l),var(--bulma-delete-background-alpha));border:none;border-radius:var(--bulma-radius-rounded);cursor:pointer;display:inline-flex;flex-grow:0;flex-shrink:0;font-size:1em;height:var(--bulma-delete-dimensions);max-height:var(--bulma-delete-dimensions);max-width:var(--bulma-delete-dimensions);min-height:var(--bulma-delete-dimensions);min-width:var(--bulma-delete-dimensions);outline:none;pointer-events:auto;position:relative;vertical-align:top;width:var(--bulma-delete-dimensions)}.delete:after,.delete:before{background-color:var(--bulma-delete-color);content:"";display:block;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.delete:before{height:2px;width:50%}.delete:after{height:50%;width:2px}.delete:focus,.delete:hover{--bulma-delete-background-alpha:0.4}.delete:active{--bulma-delete-background-alpha:0.5}.delete.is-small{--bulma-delete-dimensions:1rem}.delete.is-medium{--bulma-delete-dimensions:1.5rem}.delete.is-large{--bulma-delete-dimensions:2rem}.icon,.icon-text{--bulma-icon-dimensions:1.5rem;--bulma-icon-dimensions-small:1rem;--bulma-icon-dimensions-medium:2rem;--bulma-icon-dimensions-large:3rem;--bulma-icon-text-spacing:0.25em}.icon{align-items:center;display:inline-flex;flex-shrink:0;height:var(--bulma-icon-dimensions);justify-content:center;transition-duration:var(--bulma-duration);transition-property:color;width:var(--bulma-icon-dimensions)}.icon.is-small{height:var(--bulma-icon-dimensions-small);width:var(--bulma-icon-dimensions-small)}.icon.is-medium{height:var(--bulma-icon-dimensions-medium);width:var(--bulma-icon-dimensions-medium)}.icon.is-large{height:var(--bulma-icon-dimensions-large);width:var(--bulma-icon-dimensions-large)}.icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;gap:var(--bulma-icon-text-spacing);line-height:var(--bulma-icon-dimensions);vertical-align:top}.icon-text .icon{flex-grow:0;flex-shrink:0}div.icon-text{display:flex}.image{display:block;position:relative}.image img{display:block;height:auto;width:100%}.image img.is-rounded{border-radius:var(--bulma-radius-rounded)}.image.is-fullwidth{width:100%}.image.is-square .has-ratio,.image.is-square img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-square{aspect-ratio:1}.image.is-1by1{aspect-ratio:1/1}.image.is-1by1 .has-ratio,.image.is-1by1 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-5by4{aspect-ratio:5/4}.image.is-5by4 .has-ratio,.image.is-5by4 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-4by3{aspect-ratio:4/3}.image.is-4by3 .has-ratio,.image.is-4by3 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-3by2{aspect-ratio:3/2}.image.is-3by2 .has-ratio,.image.is-3by2 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-5by3{aspect-ratio:5/3}.image.is-5by3 .has-ratio,.image.is-5by3 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-16by9{aspect-ratio:16/9}.image.is-16by9 .has-ratio,.image.is-16by9 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-2by1{aspect-ratio:2/1}.image.is-2by1 .has-ratio,.image.is-2by1 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-3by1{aspect-ratio:3/1}.image.is-3by1 .has-ratio,.image.is-3by1 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-4by5{aspect-ratio:4/5}.image.is-4by5 .has-ratio,.image.is-4by5 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-3by4{aspect-ratio:3/4}.image.is-3by4 .has-ratio,.image.is-3by4 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-2by3{aspect-ratio:2/3}.image.is-2by3 .has-ratio,.image.is-2by3 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-3by5{aspect-ratio:3/5}.image.is-3by5 .has-ratio,.image.is-3by5 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-9by16{aspect-ratio:9/16}.image.is-9by16 .has-ratio,.image.is-9by16 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-1by2{aspect-ratio:1/2}.image.is-1by2 .has-ratio,.image.is-1by2 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-1by3{aspect-ratio:1/3}.image.is-1by3 .has-ratio,.image.is-1by3 img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.image.is-16x16{height:16px;width:16px}.image.is-24x24{height:24px;width:24px}.image.is-32x32{height:32px;width:32px}.image.is-48x48{height:48px;width:48px}.image.is-64x64{height:64px;width:64px}.image.is-96x96{height:96px;width:96px}.image.is-128x128{height:128px;width:128px}.loader{animation:spinAround .5s linear infinite;border-bottom:2px solid var(--bulma-border);border-left:2px solid var(--bulma-border);border-radius:var(--bulma-radius-rounded);border-right:2px solid transparent;border-top:2px solid transparent;content:"";display:block;height:1em;position:relative;width:1em}.notification{--bulma-notification-h:var(--bulma-scheme-h);--bulma-notification-s:var(--bulma-scheme-s);--bulma-notification-background-l:var(--bulma-background-l);--bulma-notification-color-l:var(--bulma-text-strong-l);--bulma-notification-code-background-color:var(--bulma-scheme-main);--bulma-notification-radius:var(--bulma-radius);--bulma-notification-padding:1.375em 1.5em;background-color:hsl(var(--bulma-notification-h),var(--bulma-notification-s),var(--bulma-notification-background-l));border-radius:var(--bulma-notification-radius);color:hsl(var(--bulma-notification-h),var(--bulma-notification-s),var(--bulma-notification-color-l));padding:var(--bulma-notification-padding);position:relative}.notification a:not(.button):not(.dropdown-item){color:currentColor;text-decoration:underline}.notification strong{color:currentColor}.notification code,.notification pre{background:var(--bulma-notification-code-background-color)}.notification pre code{background:transparent}.notification>.delete{inset-inline-end:1rem;position:absolute;top:1rem}.notification .content,.notification .subtitle,.notification .title{color:currentColor}.notification.is-white{--bulma-notification-h:var(--bulma-white-h);--bulma-notification-s:var(--bulma-white-s);--bulma-notification-background-l:var(--bulma-white-l);--bulma-notification-color-l:var(--bulma-white-invert-l)}.notification.is-white.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-white-light-invert-l)}.notification.is-white.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-white-dark-invert-l)}.notification.is-black{--bulma-notification-h:var(--bulma-black-h);--bulma-notification-s:var(--bulma-black-s);--bulma-notification-background-l:var(--bulma-black-l);--bulma-notification-color-l:var(--bulma-black-invert-l)}.notification.is-black.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-black-light-invert-l)}.notification.is-black.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-black-dark-invert-l)}.notification.is-light{--bulma-notification-h:var(--bulma-light-h);--bulma-notification-s:var(--bulma-light-s);--bulma-notification-background-l:var(--bulma-light-l);--bulma-notification-color-l:var(--bulma-light-invert-l)}.notification.is-light.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-light-light-invert-l)}.notification.is-light.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-light-dark-invert-l)}.notification.is-dark{--bulma-notification-h:var(--bulma-dark-h);--bulma-notification-s:var(--bulma-dark-s);--bulma-notification-background-l:var(--bulma-dark-l);--bulma-notification-color-l:var(--bulma-dark-invert-l)}.notification.is-dark.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-dark-light-invert-l)}.notification.is-dark.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-dark-dark-invert-l)}.notification.is-text{--bulma-notification-h:var(--bulma-text-h);--bulma-notification-s:var(--bulma-text-s);--bulma-notification-background-l:var(--bulma-text-l);--bulma-notification-color-l:var(--bulma-text-invert-l)}.notification.is-text.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-text-light-invert-l)}.notification.is-text.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-text-dark-invert-l)}.notification.is-primary{--bulma-notification-h:var(--bulma-primary-h);--bulma-notification-s:var(--bulma-primary-s);--bulma-notification-background-l:var(--bulma-primary-l);--bulma-notification-color-l:var(--bulma-primary-invert-l)}.notification.is-primary.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-primary-light-invert-l)}.notification.is-primary.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-primary-dark-invert-l)}.notification.is-link{--bulma-notification-h:var(--bulma-link-h);--bulma-notification-s:var(--bulma-link-s);--bulma-notification-background-l:var(--bulma-link-l);--bulma-notification-color-l:var(--bulma-link-invert-l)}.notification.is-link.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-link-light-invert-l)}.notification.is-link.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-link-dark-invert-l)}.notification.is-info{--bulma-notification-h:var(--bulma-info-h);--bulma-notification-s:var(--bulma-info-s);--bulma-notification-background-l:var(--bulma-info-l);--bulma-notification-color-l:var(--bulma-info-invert-l)}.notification.is-info.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-info-light-invert-l)}.notification.is-info.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-info-dark-invert-l)}.notification.is-success{--bulma-notification-h:var(--bulma-success-h);--bulma-notification-s:var(--bulma-success-s);--bulma-notification-background-l:var(--bulma-success-l);--bulma-notification-color-l:var(--bulma-success-invert-l)}.notification.is-success.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-success-light-invert-l)}.notification.is-success.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-success-dark-invert-l)}.notification.is-warning{--bulma-notification-h:var(--bulma-warning-h);--bulma-notification-s:var(--bulma-warning-s);--bulma-notification-background-l:var(--bulma-warning-l);--bulma-notification-color-l:var(--bulma-warning-invert-l)}.notification.is-warning.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-warning-light-invert-l)}.notification.is-warning.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-warning-dark-invert-l)}.notification.is-danger{--bulma-notification-h:var(--bulma-danger-h);--bulma-notification-s:var(--bulma-danger-s);--bulma-notification-background-l:var(--bulma-danger-l);--bulma-notification-color-l:var(--bulma-danger-invert-l)}.notification.is-danger.is-light{--bulma-notification-background-l:90%;--bulma-notification-color-l:var(--bulma-danger-light-invert-l)}.notification.is-danger.is-dark{--bulma-notification-background-l:20%;--bulma-notification-color-l:var(--bulma-danger-dark-invert-l)}.progress{--bulma-progress-border-radius:var(--bulma-radius-rounded);--bulma-progress-bar-background-color:var(--bulma-border-weak);--bulma-progress-value-background-color:var(--bulma-text);--bulma-progress-indeterminate-duration:1.5s;appearance:none;border:none;border-radius:var(--bulma-progress-border-radius);display:block;height:var(--bulma-size-normal);overflow:hidden;padding:0;width:100%}.progress::-webkit-progress-bar{background-color:var(--bulma-progress-bar-background-color)}.progress::-webkit-progress-value{background-color:var(--bulma-progress-value-background-color)}.progress::-moz-progress-bar{background-color:var(--bulma-progress-value-background-color)}.progress::-ms-fill{background-color:var(--bulma-progress-value-background-color);border:none}.progress.is-white{--bulma-progress-value-background-color:var(--bulma-white)}.progress.is-black{--bulma-progress-value-background-color:var(--bulma-black)}.progress.is-light{--bulma-progress-value-background-color:var(--bulma-light)}.progress.is-dark{--bulma-progress-value-background-color:var(--bulma-dark)}.progress.is-text{--bulma-progress-value-background-color:var(--bulma-text)}.progress.is-primary{--bulma-progress-value-background-color:var(--bulma-primary)}.progress.is-link{--bulma-progress-value-background-color:var(--bulma-link)}.progress.is-info{--bulma-progress-value-background-color:var(--bulma-info)}.progress.is-success{--bulma-progress-value-background-color:var(--bulma-success)}.progress.is-warning{--bulma-progress-value-background-color:var(--bulma-warning)}.progress.is-danger{--bulma-progress-value-background-color:var(--bulma-danger)}.progress:indeterminate{animation-duration:var(--bulma-progress-indeterminate-duration);animation-iteration-count:infinite;animation-name:moveIndeterminate;animation-timing-function:linear;background-color:var(--bulma-progress-bar-background-color);background-image:linear-gradient(to right,var(--bulma-progress-value-background-color) 30%,var(--bulma-progress-bar-background-color) 30%);background-position:0 0;background-repeat:no-repeat;background-size:150% 150%}.progress:indeterminate::-webkit-progress-bar{background-color:transparent}.progress:indeterminate::-moz-progress-bar{background-color:transparent}.progress:indeterminate::-ms-fill{animation-name:none}.progress.is-small{height:var(--bulma-size-small)}.progress.is-medium{height:var(--bulma-size-medium)}.progress.is-large{height:var(--bulma-size-large)}@keyframes moveIndeterminate{0%{background-position:200% 0}to{background-position:-200% 0}}.table{--bulma-table-color:var(--bulma-text-strong);--bulma-table-background-color:var(--bulma-scheme-main);--bulma-table-cell-border-color:var(--bulma-border);--bulma-table-cell-border-style:solid;--bulma-table-cell-border-width:0 0 1px;--bulma-table-cell-padding:0.5em 0.75em;--bulma-table-cell-heading-color:var(--bulma-text-strong);--bulma-table-cell-text-align:left;--bulma-table-head-cell-border-width:0 0 2px;--bulma-table-head-cell-color:var(--bulma-text-strong);--bulma-table-foot-cell-border-width:2px 0 0;--bulma-table-foot-cell-color:var(--bulma-text-strong);--bulma-table-head-background-color:transparent;--bulma-table-body-background-color:transparent;--bulma-table-foot-background-color:transparent;--bulma-table-row-hover-background-color:var(--bulma-scheme-main-bis);--bulma-table-row-active-background-color:var(--bulma-primary);--bulma-table-row-active-color:var(--bulma-primary-invert);--bulma-table-striped-row-even-background-color:var(--bulma-scheme-main-bis);--bulma-table-striped-row-even-hover-background-color:var(--bulma-scheme-main-ter);background-color:var(--bulma-table-background-color)}.table,.table td,.table th{color:var(--bulma-table-color)}.table td,.table th{background-color:var(--bulma-table-cell-background-color);border-color:var(--bulma-table-cell-border-color);border-style:var(--bulma-table-cell-border-style);border-width:var(--bulma-table-cell-border-width);padding:var(--bulma-table-cell-padding);vertical-align:top}.table td.is-white,.table th.is-white{--bulma-table-color:var(--bulma-white-invert);--bulma-table-cell-heading-color:var(--bulma-white-invert);--bulma-table-cell-background-color:var(--bulma-white);--bulma-table-cell-border-color:var(--bulma-white)}.table td.is-black,.table th.is-black{--bulma-table-color:var(--bulma-black-invert);--bulma-table-cell-heading-color:var(--bulma-black-invert);--bulma-table-cell-background-color:var(--bulma-black);--bulma-table-cell-border-color:var(--bulma-black)}.table td.is-light,.table th.is-light{--bulma-table-color:var(--bulma-light-invert);--bulma-table-cell-heading-color:var(--bulma-light-invert);--bulma-table-cell-background-color:var(--bulma-light);--bulma-table-cell-border-color:var(--bulma-light)}.table td.is-dark,.table th.is-dark{--bulma-table-color:var(--bulma-dark-invert);--bulma-table-cell-heading-color:var(--bulma-dark-invert);--bulma-table-cell-background-color:var(--bulma-dark);--bulma-table-cell-border-color:var(--bulma-dark)}.table td.is-text,.table th.is-text{--bulma-table-color:var(--bulma-text-invert);--bulma-table-cell-heading-color:var(--bulma-text-invert);--bulma-table-cell-background-color:var(--bulma-text);--bulma-table-cell-border-color:var(--bulma-text)}.table td.is-primary,.table th.is-primary{--bulma-table-color:var(--bulma-primary-invert);--bulma-table-cell-heading-color:var(--bulma-primary-invert);--bulma-table-cell-background-color:var(--bulma-primary);--bulma-table-cell-border-color:var(--bulma-primary)}.table td.is-link,.table th.is-link{--bulma-table-color:var(--bulma-link-invert);--bulma-table-cell-heading-color:var(--bulma-link-invert);--bulma-table-cell-background-color:var(--bulma-link);--bulma-table-cell-border-color:var(--bulma-link)}.table td.is-info,.table th.is-info{--bulma-table-color:var(--bulma-info-invert);--bulma-table-cell-heading-color:var(--bulma-info-invert);--bulma-table-cell-background-color:var(--bulma-info);--bulma-table-cell-border-color:var(--bulma-info)}.table td.is-success,.table th.is-success{--bulma-table-color:var(--bulma-success-invert);--bulma-table-cell-heading-color:var(--bulma-success-invert);--bulma-table-cell-background-color:var(--bulma-success);--bulma-table-cell-border-color:var(--bulma-success)}.table td.is-warning,.table th.is-warning{--bulma-table-color:var(--bulma-warning-invert);--bulma-table-cell-heading-color:var(--bulma-warning-invert);--bulma-table-cell-background-color:var(--bulma-warning);--bulma-table-cell-border-color:var(--bulma-warning)}.table td.is-danger,.table th.is-danger{--bulma-table-color:var(--bulma-danger-invert);--bulma-table-cell-heading-color:var(--bulma-danger-invert);--bulma-table-cell-background-color:var(--bulma-danger);--bulma-table-cell-border-color:var(--bulma-danger)}.table td.is-narrow,.table th.is-narrow{white-space:nowrap;width:1%}.table td.is-selected,.table th.is-selected{background-color:var(--bulma-table-row-active-background-color);color:var(--bulma-table-row-active-color)}.table td.is-selected a,.table td.is-selected strong,.table th.is-selected a,.table th.is-selected strong{color:currentColor}.table td.is-vcentered,.table th.is-vcentered{vertical-align:middle}.table th{color:var(--bulma-table-cell-heading-color)}.table th:not([align]){text-align:var(--bulma-table-cell-text-align)}.table tr.is-selected{background-color:var(--bulma-table-row-active-background-color);color:var(--bulma-table-row-active-color)}.table tr.is-selected a,.table tr.is-selected strong{color:currentColor}.table tr.is-selected td,.table tr.is-selected th{border-color:var(--bulma-table-row-active-color);color:currentColor}.table tr.is-white{--bulma-table-color:var(--bulma-white-invert);--bulma-table-cell-heading-color:var(--bulma-white-invert);--bulma-table-cell-background-color:var(--bulma-white);--bulma-table-cell-border-color:var(--bulma-white)}.table tr.is-black{--bulma-table-color:var(--bulma-black-invert);--bulma-table-cell-heading-color:var(--bulma-black-invert);--bulma-table-cell-background-color:var(--bulma-black);--bulma-table-cell-border-color:var(--bulma-black)}.table tr.is-light{--bulma-table-color:var(--bulma-light-invert);--bulma-table-cell-heading-color:var(--bulma-light-invert);--bulma-table-cell-background-color:var(--bulma-light);--bulma-table-cell-border-color:var(--bulma-light)}.table tr.is-dark{--bulma-table-color:var(--bulma-dark-invert);--bulma-table-cell-heading-color:var(--bulma-dark-invert);--bulma-table-cell-background-color:var(--bulma-dark);--bulma-table-cell-border-color:var(--bulma-dark)}.table tr.is-text{--bulma-table-color:var(--bulma-text-invert);--bulma-table-cell-heading-color:var(--bulma-text-invert);--bulma-table-cell-background-color:var(--bulma-text);--bulma-table-cell-border-color:var(--bulma-text)}.table tr.is-primary{--bulma-table-color:var(--bulma-primary-invert);--bulma-table-cell-heading-color:var(--bulma-primary-invert);--bulma-table-cell-background-color:var(--bulma-primary);--bulma-table-cell-border-color:var(--bulma-primary)}.table tr.is-link{--bulma-table-color:var(--bulma-link-invert);--bulma-table-cell-heading-color:var(--bulma-link-invert);--bulma-table-cell-background-color:var(--bulma-link);--bulma-table-cell-border-color:var(--bulma-link)}.table tr.is-info{--bulma-table-color:var(--bulma-info-invert);--bulma-table-cell-heading-color:var(--bulma-info-invert);--bulma-table-cell-background-color:var(--bulma-info);--bulma-table-cell-border-color:var(--bulma-info)}.table tr.is-success{--bulma-table-color:var(--bulma-success-invert);--bulma-table-cell-heading-color:var(--bulma-success-invert);--bulma-table-cell-background-color:var(--bulma-success);--bulma-table-cell-border-color:var(--bulma-success)}.table tr.is-warning{--bulma-table-color:var(--bulma-warning-invert);--bulma-table-cell-heading-color:var(--bulma-warning-invert);--bulma-table-cell-background-color:var(--bulma-warning);--bulma-table-cell-border-color:var(--bulma-warning)}.table tr.is-danger{--bulma-table-color:var(--bulma-danger-invert);--bulma-table-cell-heading-color:var(--bulma-danger-invert);--bulma-table-cell-background-color:var(--bulma-danger);--bulma-table-cell-border-color:var(--bulma-danger)}.table thead{background-color:var(--bulma-table-head-background-color)}.table thead td,.table thead th{border-width:var(--bulma-table-head-cell-border-width);color:var(--bulma-table-head-cell-color)}.table tfoot{background-color:var(--bulma-table-foot-background-color)}.table tfoot td,.table tfoot th{border-width:var(--bulma-table-foot-cell-border-width);color:var(--bulma-table-foot-cell-color)}.table tbody{background-color:var(--bulma-table-body-background-color)}.table tbody tr:last-child td,.table tbody tr:last-child th{border-bottom-width:0}.table.is-bordered td,.table.is-bordered th{border-width:1px}.table.is-bordered tr:last-child td,.table.is-bordered tr:last-child th{border-bottom-width:1px}.table.is-fullwidth{width:100%}.table.is-hoverable tbody tr:not(.is-selected):hover,.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:var(--bulma-table-row-hover-background-color)}.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:var(--bulma-table-striped-row-even-hover-background-color)}.table.is-narrow td,.table.is-narrow th{padding:.25em .5em}.table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:var(--bulma-table-striped-row-even-background-color)}.table-container{-webkit-overflow-scrolling:touch;max-width:100%;overflow:auto;overflow-y:hidden}.tags{align-items:center;color:hsl(var(--bulma-tag-h),var(--bulma-tag-s),var(--bulma-tag-color-l));display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-start}.tags.are-medium .tag:not(.is-normal):not(.is-large){font-size:var(--bulma-size-normal)}.tags.are-large .tag:not(.is-normal):not(.is-medium){font-size:var(--bulma-size-medium)}.tags.is-centered{gap:.25rem;justify-content:center}.tags.is-right{justify-content:flex-end}.tags.has-addons{gap:0}.tags.has-addons .tag:not(:first-child){border-end-start-radius:0;border-start-start-radius:0}.tags.has-addons .tag:not(:last-child){border-end-end-radius:0;border-start-end-radius:0}.tag{--bulma-tag-h:var(--bulma-scheme-h);--bulma-tag-s:var(--bulma-scheme-s);--bulma-tag-background-l:var(--bulma-background-l);--bulma-tag-background-l-delta:0%;--bulma-tag-hover-background-l-delta:var(--bulma-hover-background-l-delta);--bulma-tag-active-background-l-delta:var(--bulma-active-background-l-delta);--bulma-tag-color-l:var(--bulma-text-l);--bulma-tag-radius:var(--bulma-radius);--bulma-tag-delete-margin:1px;align-items:center;background-color:hsl(var(--bulma-tag-h),var(--bulma-tag-s),calc(var(--bulma-tag-background-l) + var(--bulma-tag-background-l-delta)));border-radius:var(--bulma-radius);color:hsl(var(--bulma-tag-h),var(--bulma-tag-s),var(--bulma-tag-color-l));display:inline-flex;font-size:var(--bulma-size-small);height:2em;justify-content:center;line-height:1.5;padding-left:.75em;padding-right:.75em;white-space:nowrap}.tag .delete{margin-inline-end:-.375rem;margin-inline-start:.25rem}.tag.is-white{--bulma-tag-h:var(--bulma-white-h);--bulma-tag-s:var(--bulma-white-s);--bulma-tag-background-l:var(--bulma-white-l);--bulma-tag-color-l:var(--bulma-white-invert-l)}.tag.is-white.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-white-light-invert-l)}.tag.is-black{--bulma-tag-h:var(--bulma-black-h);--bulma-tag-s:var(--bulma-black-s);--bulma-tag-background-l:var(--bulma-black-l);--bulma-tag-color-l:var(--bulma-black-invert-l)}.tag.is-black.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-black-light-invert-l)}.tag.is-light{--bulma-tag-h:var(--bulma-light-h);--bulma-tag-s:var(--bulma-light-s);--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-light-invert-l)}.tag.is-light.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-light-light-invert-l)}.tag.is-dark{--bulma-tag-h:var(--bulma-dark-h);--bulma-tag-s:var(--bulma-dark-s);--bulma-tag-background-l:var(--bulma-dark-l);--bulma-tag-color-l:var(--bulma-dark-invert-l)}.tag.is-dark.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-dark-light-invert-l)}.tag.is-text{--bulma-tag-h:var(--bulma-text-h);--bulma-tag-s:var(--bulma-text-s);--bulma-tag-background-l:var(--bulma-text-l);--bulma-tag-color-l:var(--bulma-text-invert-l)}.tag.is-text.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-text-light-invert-l)}.tag.is-primary{--bulma-tag-h:var(--bulma-primary-h);--bulma-tag-s:var(--bulma-primary-s);--bulma-tag-background-l:var(--bulma-primary-l);--bulma-tag-color-l:var(--bulma-primary-invert-l)}.tag.is-primary.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-primary-light-invert-l)}.tag.is-link{--bulma-tag-h:var(--bulma-link-h);--bulma-tag-s:var(--bulma-link-s);--bulma-tag-background-l:var(--bulma-link-l);--bulma-tag-color-l:var(--bulma-link-invert-l)}.tag.is-link.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-link-light-invert-l)}.tag.is-info{--bulma-tag-h:var(--bulma-info-h);--bulma-tag-s:var(--bulma-info-s);--bulma-tag-background-l:var(--bulma-info-l);--bulma-tag-color-l:var(--bulma-info-invert-l)}.tag.is-info.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-info-light-invert-l)}.tag.is-success{--bulma-tag-h:var(--bulma-success-h);--bulma-tag-s:var(--bulma-success-s);--bulma-tag-background-l:var(--bulma-success-l);--bulma-tag-color-l:var(--bulma-success-invert-l)}.tag.is-success.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-success-light-invert-l)}.tag.is-warning{--bulma-tag-h:var(--bulma-warning-h);--bulma-tag-s:var(--bulma-warning-s);--bulma-tag-background-l:var(--bulma-warning-l);--bulma-tag-color-l:var(--bulma-warning-invert-l)}.tag.is-warning.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-warning-light-invert-l)}.tag.is-danger{--bulma-tag-h:var(--bulma-danger-h);--bulma-tag-s:var(--bulma-danger-s);--bulma-tag-background-l:var(--bulma-danger-l);--bulma-tag-color-l:var(--bulma-danger-invert-l)}.tag.is-danger.is-light{--bulma-tag-background-l:var(--bulma-light-l);--bulma-tag-color-l:var(--bulma-danger-light-invert-l)}.tag.is-normal{font-size:var(--bulma-size-small)}.tag.is-medium{font-size:var(--bulma-size-normal)}.tag.is-large{font-size:var(--bulma-size-medium)}.tag .icon:first-child:not(:last-child){margin-inline-end:.1875em;margin-inline-start:-.375em}.tag .icon:last-child:not(:first-child){margin-inline-end:-.375em;margin-inline-start:.1875em}.tag .icon:first-child:last-child{margin-inline-end:-.375em;margin-inline-start:-.375em}.tag.is-delete{margin-inline-start:var(--bulma-tag-delete-margin);padding:0;position:relative;width:2em}.tag.is-delete:after,.tag.is-delete:before{background-color:currentColor;content:"";display:block;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.tag.is-delete:before{height:1px;width:50%}.tag.is-delete:after{height:50%;width:1px}.tag.is-rounded{border-radius:var(--bulma-radius-rounded)}.tag.is-hoverable,a.tag,button.tag{cursor:pointer}.tag.is-hoverable:hover,a.tag:hover,button.tag:hover{--bulma-tag-background-l-delta:var(--bulma-tag-hover-background-l-delta)}.tag.is-hoverable:active,a.tag:active,button.tag:active{--bulma-tag-background-l-delta:var(--bulma-tag-active-background-l-delta)}.subtitle,.title{--bulma-title-color:var(--bulma-text-strong);--bulma-title-family:false;--bulma-title-size:var(--bulma-size-3);--bulma-title-weight:var(--bulma-weight-extrabold);--bulma-title-line-height:1.125;--bulma-title-strong-color:inherit;--bulma-title-strong-weight:inherit;--bulma-title-sub-size:0.75em;--bulma-title-sup-size:0.75em;--bulma-subtitle-color:var(--bulma-text);--bulma-subtitle-family:false;--bulma-subtitle-size:var(--bulma-size-5);--bulma-subtitle-weight:var(--bulma-weight-normal);--bulma-subtitle-line-height:1.25;--bulma-subtitle-strong-color:var(--bulma-text-strong);--bulma-subtitle-strong-weight:var(--bulma-weight-semibold);word-break:break-word}.subtitle em,.subtitle span,.title em,.title span{font-weight:inherit}.subtitle sub,.title sub{font-size:var(--bulma-title-sub-size)}.subtitle sup,.title sup{font-size:var(--bulma-title-sup-size)}.subtitle .tag,.title .tag{vertical-align:middle}.title{color:var(--bulma-title-color);font-size:var(--bulma-title-size);font-weight:var(--bulma-title-weight);line-height:var(--bulma-title-line-height)}.title strong{color:var(--bulma-title-strong-color);font-weight:var(--bulma-title-strong-weight)}.title:not(.is-spaced):has(+.subtitle){margin-bottom:0}.title.is-1{font-size:3rem}.title.is-2{font-size:2.5rem}.title.is-3{font-size:2rem}.title.is-4{font-size:1.5rem}.title.is-5{font-size:1.25rem}.title.is-6{font-size:1rem}.title.is-7{font-size:.75rem}.subtitle{color:var(--bulma-subtitle-color);font-size:var(--bulma-subtitle-size);font-weight:var(--bulma-subtitle-weight);line-height:var(--bulma-subtitle-line-height)}.subtitle strong{color:var(--bulma-subtitle-strong-color);font-weight:var(--bulma-subtitle-strong-weight)}.subtitle:not(.is-spaced):has(+.title){margin-bottom:0}.subtitle.is-1{font-size:3rem}.subtitle.is-2{font-size:2.5rem}.subtitle.is-3{font-size:2rem}.subtitle.is-4{font-size:1.5rem}.subtitle.is-5{font-size:1.25rem}.subtitle.is-6{font-size:1rem}.subtitle.is-7{font-size:.75rem}.control,.input,.select select,.textarea{--bulma-input-h:var(--bulma-scheme-h);--bulma-input-s:var(--bulma-scheme-s);--bulma-input-l:var(--bulma-scheme-main-l);--bulma-input-border-l:var(--bulma-border-l);--bulma-input-border-l-delta:0%;--bulma-input-hover-border-l-delta:var(--bulma-hover-border-l-delta);--bulma-input-active-border-l-delta:var(--bulma-active-border-l-delta);--bulma-input-focus-h:var(--bulma-focus-h);--bulma-input-focus-s:var(--bulma-focus-s);--bulma-input-focus-l:var(--bulma-focus-l);--bulma-input-focus-shadow-size:var(--bulma-focus-shadow-size);--bulma-input-focus-shadow-alpha:var(--bulma-focus-shadow-alpha);--bulma-input-color-l:var(--bulma-text-strong-l);--bulma-input-background-l:var(--bulma-scheme-main-l);--bulma-input-background-l-delta:0%;--bulma-input-height:var(--bulma-control-height);--bulma-input-shadow:inset 0 0.0625em 0.125em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),0.05);--bulma-input-placeholder-color:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-strong-l),0.3);--bulma-input-disabled-color:var(--bulma-text-weak);--bulma-input-disabled-background-color:var(--bulma-background);--bulma-input-disabled-border-color:var(--bulma-background);--bulma-input-disabled-placeholder-color:hsla(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-weak-l),0.3);--bulma-input-arrow:var(--bulma-link);--bulma-input-icon-color:var(--bulma-text-light);--bulma-input-icon-hover-color:var(--bulma-text-weak);--bulma-input-icon-focus-color:var(--bulma-link);--bulma-input-radius:var(--bulma-radius)}.input,.select select,.textarea{background-color:hsl(var(--bulma-input-h),var(--bulma-input-s),calc(var(--bulma-input-background-l) + var(--bulma-input-background-l-delta)));border-color:hsl(var(--bulma-input-h),var(--bulma-input-s),calc(var(--bulma-input-border-l) + var(--bulma-input-border-l-delta)));border-radius:var(--bulma-input-radius);color:hsl(var(--bulma-input-h),var(--bulma-input-s),var(--bulma-input-color-l))}.input::-moz-placeholder,.select select::-moz-placeholder,.textarea::-moz-placeholder{color:var(--bulma-input-placeholder-color)}.input::-webkit-input-placeholder,.select select::-webkit-input-placeholder,.textarea::-webkit-input-placeholder{color:var(--bulma-input-placeholder-color)}.input:-moz-placeholder,.select select:-moz-placeholder,.textarea:-moz-placeholder{color:var(--bulma-input-placeholder-color)}.input:-ms-input-placeholder,.select select:-ms-input-placeholder,.textarea:-ms-input-placeholder{color:var(--bulma-input-placeholder-color)}.input:hover,.is-hovered.input,.is-hovered.textarea,.select select.is-hovered,.select select:hover,.textarea:hover{--bulma-input-border-l-delta:var(--bulma-input-hover-border-l-delta)}.input:active,.is-active.input,.is-active.textarea,.select select.is-active,.select select:active,.textarea:active{--bulma-input-border-l-delta:var(--bulma-input-active-border-l-delta)}.input:focus,.input:focus-within,.is-focused.input,.is-focused.textarea,.select select.is-focused,.select select:focus,.select select:focus-within,.textarea:focus,.textarea:focus-within{border-color:hsl(var(--bulma-input-focus-h),var(--bulma-input-focus-s),var(--bulma-input-focus-l));box-shadow:var(--bulma-input-focus-shadow-size) hsla(var(--bulma-input-focus-h),var(--bulma-input-focus-s),var(--bulma-input-focus-l),var(--bulma-input-focus-shadow-alpha))}.select fieldset[disabled] select,.select select[disabled],[disabled].input,[disabled].textarea,fieldset[disabled] .input,fieldset[disabled] .select select,fieldset[disabled] .textarea{background-color:var(--bulma-input-disabled-background-color);border-color:var(--bulma-input-disabled-border-color);box-shadow:none;color:var(--bulma-input-disabled-color)}.select fieldset[disabled] select::-moz-placeholder,.select select[disabled]::-moz-placeholder,[disabled].input::-moz-placeholder,[disabled].textarea::-moz-placeholder,fieldset[disabled] .input::-moz-placeholder,fieldset[disabled] .select select::-moz-placeholder,fieldset[disabled] .textarea::-moz-placeholder{color:var(--bulma-input-disabled-placeholder-color)}.select fieldset[disabled] select::-webkit-input-placeholder,.select select[disabled]::-webkit-input-placeholder,[disabled].input::-webkit-input-placeholder,[disabled].textarea::-webkit-input-placeholder,fieldset[disabled] .input::-webkit-input-placeholder,fieldset[disabled] .select select::-webkit-input-placeholder,fieldset[disabled] .textarea::-webkit-input-placeholder{color:var(--bulma-input-disabled-placeholder-color)}.select fieldset[disabled] select:-moz-placeholder,.select select[disabled]:-moz-placeholder,[disabled].input:-moz-placeholder,[disabled].textarea:-moz-placeholder,fieldset[disabled] .input:-moz-placeholder,fieldset[disabled] .select select:-moz-placeholder,fieldset[disabled] .textarea:-moz-placeholder{color:var(--bulma-input-disabled-placeholder-color)}.select fieldset[disabled] select:-ms-input-placeholder,.select select[disabled]:-ms-input-placeholder,[disabled].input:-ms-input-placeholder,[disabled].textarea:-ms-input-placeholder,fieldset[disabled] .input:-ms-input-placeholder,fieldset[disabled] .select select:-ms-input-placeholder,fieldset[disabled] .textarea:-ms-input-placeholder{color:var(--bulma-input-disabled-placeholder-color)}.input,.textarea{--bulma-input-h:var(--bulma-scheme-h);--bulma-input-s:var(--bulma-scheme-s);--bulma-input-border-style:solid;--bulma-input-border-width:1px;--bulma-input-border-l:var(--bulma-border-l);box-shadow:inset 0 .0625em .125em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),.05);max-width:100%;width:100%}[readonly].input,[readonly].textarea{box-shadow:none}.is-white.input,.is-white.textarea{--bulma-input-h:var(--bulma-white-h);--bulma-input-s:var(--bulma-white-s);--bulma-input-l:var(--bulma-white-l);--bulma-input-focus-h:var(--bulma-white-h);--bulma-input-focus-s:var(--bulma-white-s);--bulma-input-focus-l:var(--bulma-white-l);--bulma-input-border-l:var(--bulma-white-l)}.is-black.input,.is-black.textarea{--bulma-input-h:var(--bulma-black-h);--bulma-input-s:var(--bulma-black-s);--bulma-input-l:var(--bulma-black-l);--bulma-input-focus-h:var(--bulma-black-h);--bulma-input-focus-s:var(--bulma-black-s);--bulma-input-focus-l:var(--bulma-black-l);--bulma-input-border-l:var(--bulma-black-l)}.is-light.input,.is-light.textarea{--bulma-input-h:var(--bulma-light-h);--bulma-input-s:var(--bulma-light-s);--bulma-input-l:var(--bulma-light-l);--bulma-input-focus-h:var(--bulma-light-h);--bulma-input-focus-s:var(--bulma-light-s);--bulma-input-focus-l:var(--bulma-light-l);--bulma-input-border-l:var(--bulma-light-l)}.is-dark.input,.is-dark.textarea{--bulma-input-h:var(--bulma-dark-h);--bulma-input-s:var(--bulma-dark-s);--bulma-input-l:var(--bulma-dark-l);--bulma-input-focus-h:var(--bulma-dark-h);--bulma-input-focus-s:var(--bulma-dark-s);--bulma-input-focus-l:var(--bulma-dark-l);--bulma-input-border-l:var(--bulma-dark-l)}.is-text.input,.is-text.textarea{--bulma-input-h:var(--bulma-text-h);--bulma-input-s:var(--bulma-text-s);--bulma-input-l:var(--bulma-text-l);--bulma-input-focus-h:var(--bulma-text-h);--bulma-input-focus-s:var(--bulma-text-s);--bulma-input-focus-l:var(--bulma-text-l);--bulma-input-border-l:var(--bulma-text-l)}.is-primary.input,.is-primary.textarea{--bulma-input-h:var(--bulma-primary-h);--bulma-input-s:var(--bulma-primary-s);--bulma-input-l:var(--bulma-primary-l);--bulma-input-focus-h:var(--bulma-primary-h);--bulma-input-focus-s:var(--bulma-primary-s);--bulma-input-focus-l:var(--bulma-primary-l);--bulma-input-border-l:var(--bulma-primary-l)}.is-link.input,.is-link.textarea{--bulma-input-h:var(--bulma-link-h);--bulma-input-s:var(--bulma-link-s);--bulma-input-l:var(--bulma-link-l);--bulma-input-focus-h:var(--bulma-link-h);--bulma-input-focus-s:var(--bulma-link-s);--bulma-input-focus-l:var(--bulma-link-l);--bulma-input-border-l:var(--bulma-link-l)}.is-info.input,.is-info.textarea{--bulma-input-h:var(--bulma-info-h);--bulma-input-s:var(--bulma-info-s);--bulma-input-l:var(--bulma-info-l);--bulma-input-focus-h:var(--bulma-info-h);--bulma-input-focus-s:var(--bulma-info-s);--bulma-input-focus-l:var(--bulma-info-l);--bulma-input-border-l:var(--bulma-info-l)}.is-success.input,.is-success.textarea{--bulma-input-h:var(--bulma-success-h);--bulma-input-s:var(--bulma-success-s);--bulma-input-l:var(--bulma-success-l);--bulma-input-focus-h:var(--bulma-success-h);--bulma-input-focus-s:var(--bulma-success-s);--bulma-input-focus-l:var(--bulma-success-l);--bulma-input-border-l:var(--bulma-success-l)}.is-warning.input,.is-warning.textarea{--bulma-input-h:var(--bulma-warning-h);--bulma-input-s:var(--bulma-warning-s);--bulma-input-l:var(--bulma-warning-l);--bulma-input-focus-h:var(--bulma-warning-h);--bulma-input-focus-s:var(--bulma-warning-s);--bulma-input-focus-l:var(--bulma-warning-l);--bulma-input-border-l:var(--bulma-warning-l)}.is-danger.input,.is-danger.textarea{--bulma-input-h:var(--bulma-danger-h);--bulma-input-s:var(--bulma-danger-s);--bulma-input-l:var(--bulma-danger-l);--bulma-input-focus-h:var(--bulma-danger-h);--bulma-input-focus-s:var(--bulma-danger-s);--bulma-input-focus-l:var(--bulma-danger-l);--bulma-input-border-l:var(--bulma-danger-l)}.is-small.input,.is-small.textarea{border-radius:var(--bulma-radius-small);font-size:var(--bulma-size-small)}.is-medium.input,.is-medium.textarea{font-size:var(--bulma-size-medium)}.is-large.input,.is-large.textarea{font-size:var(--bulma-size-large)}.is-fullwidth.input,.is-fullwidth.textarea{display:block;width:100%}.is-inline.input,.is-inline.textarea{display:inline;width:auto}.input.is-rounded{border-radius:var(--bulma-radius-rounded);padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.textarea{--bulma-textarea-padding:var(--bulma-control-padding-horizontal);--bulma-textarea-max-height:40em;--bulma-textarea-min-height:8em;display:block;max-width:100%;min-width:100%;padding:var(--bulma-textarea-padding);resize:vertical}.textarea:not([rows]){max-height:var(--bulma-textarea-max-height);min-height:var(--bulma-textarea-min-height)}.textarea[rows]{height:auto}.textarea.has-fixed-size{resize:none}.checkbox,.radio{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.checkbox input,.radio input{cursor:pointer}.checkbox input[disabled],.radio input[disabled],[disabled].checkbox,[disabled].radio,fieldset[disabled] .checkbox,fieldset[disabled] .radio{color:var(--bulma-text-weak);cursor:not-allowed}.radio+.radio{margin-inline-start:.5em}.select{--bulma-input-h:var(--bulma-scheme-h);--bulma-input-s:var(--bulma-scheme-s);--bulma-input-border-style:solid;--bulma-input-border-width:1px;--bulma-input-border-l:var(--bulma-border-l);display:inline-block;max-width:100%;position:relative;vertical-align:top}.select:not(.is-multiple){height:var(--bulma-control-height)}.select:not(.is-multiple):not(.is-loading):after{inset-inline-end:1.125em;z-index:4}.select.is-rounded select{border-radius:var(--bulma-radius-rounded);padding-inline-start:1em}.select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.select select::-ms-expand{display:none}.select select[disabled]:hover,fieldset[disabled] .select select:hover{border-color:var(--bulma-background)}.select select:not([multiple]){padding-inline-end:2.5em}.select select[multiple]{height:auto;padding:0}.select select[multiple] option{padding:.5em 1em}.select.is-white{--bulma-input-h:var(--bulma-white-h);--bulma-input-s:var(--bulma-white-s);--bulma-input-l:var(--bulma-white-l);--bulma-input-focus-h:var(--bulma-white-h);--bulma-input-focus-s:var(--bulma-white-s);--bulma-input-focus-l:var(--bulma-white-l);--bulma-input-border-l:var(--bulma-white-l)}.select.is-black{--bulma-input-h:var(--bulma-black-h);--bulma-input-s:var(--bulma-black-s);--bulma-input-l:var(--bulma-black-l);--bulma-input-focus-h:var(--bulma-black-h);--bulma-input-focus-s:var(--bulma-black-s);--bulma-input-focus-l:var(--bulma-black-l);--bulma-input-border-l:var(--bulma-black-l)}.select.is-light{--bulma-input-h:var(--bulma-light-h);--bulma-input-s:var(--bulma-light-s);--bulma-input-l:var(--bulma-light-l);--bulma-input-focus-h:var(--bulma-light-h);--bulma-input-focus-s:var(--bulma-light-s);--bulma-input-focus-l:var(--bulma-light-l);--bulma-input-border-l:var(--bulma-light-l)}.select.is-dark{--bulma-input-h:var(--bulma-dark-h);--bulma-input-s:var(--bulma-dark-s);--bulma-input-l:var(--bulma-dark-l);--bulma-input-focus-h:var(--bulma-dark-h);--bulma-input-focus-s:var(--bulma-dark-s);--bulma-input-focus-l:var(--bulma-dark-l);--bulma-input-border-l:var(--bulma-dark-l)}.select.is-text{--bulma-input-h:var(--bulma-text-h);--bulma-input-s:var(--bulma-text-s);--bulma-input-l:var(--bulma-text-l);--bulma-input-focus-h:var(--bulma-text-h);--bulma-input-focus-s:var(--bulma-text-s);--bulma-input-focus-l:var(--bulma-text-l);--bulma-input-border-l:var(--bulma-text-l)}.select.is-primary{--bulma-input-h:var(--bulma-primary-h);--bulma-input-s:var(--bulma-primary-s);--bulma-input-l:var(--bulma-primary-l);--bulma-input-focus-h:var(--bulma-primary-h);--bulma-input-focus-s:var(--bulma-primary-s);--bulma-input-focus-l:var(--bulma-primary-l);--bulma-input-border-l:var(--bulma-primary-l)}.select.is-link{--bulma-input-h:var(--bulma-link-h);--bulma-input-s:var(--bulma-link-s);--bulma-input-l:var(--bulma-link-l);--bulma-input-focus-h:var(--bulma-link-h);--bulma-input-focus-s:var(--bulma-link-s);--bulma-input-focus-l:var(--bulma-link-l);--bulma-input-border-l:var(--bulma-link-l)}.select.is-info{--bulma-input-h:var(--bulma-info-h);--bulma-input-s:var(--bulma-info-s);--bulma-input-l:var(--bulma-info-l);--bulma-input-focus-h:var(--bulma-info-h);--bulma-input-focus-s:var(--bulma-info-s);--bulma-input-focus-l:var(--bulma-info-l);--bulma-input-border-l:var(--bulma-info-l)}.select.is-success{--bulma-input-h:var(--bulma-success-h);--bulma-input-s:var(--bulma-success-s);--bulma-input-l:var(--bulma-success-l);--bulma-input-focus-h:var(--bulma-success-h);--bulma-input-focus-s:var(--bulma-success-s);--bulma-input-focus-l:var(--bulma-success-l);--bulma-input-border-l:var(--bulma-success-l)}.select.is-warning{--bulma-input-h:var(--bulma-warning-h);--bulma-input-s:var(--bulma-warning-s);--bulma-input-l:var(--bulma-warning-l);--bulma-input-focus-h:var(--bulma-warning-h);--bulma-input-focus-s:var(--bulma-warning-s);--bulma-input-focus-l:var(--bulma-warning-l);--bulma-input-border-l:var(--bulma-warning-l)}.select.is-danger{--bulma-input-h:var(--bulma-danger-h);--bulma-input-s:var(--bulma-danger-s);--bulma-input-l:var(--bulma-danger-l);--bulma-input-focus-h:var(--bulma-danger-h);--bulma-input-focus-s:var(--bulma-danger-s);--bulma-input-focus-l:var(--bulma-danger-l);--bulma-input-border-l:var(--bulma-danger-l)}.select.is-small{border-radius:var(--bulma-radius-small);font-size:var(--bulma-size-small)}.select.is-medium{font-size:var(--bulma-size-medium)}.select.is-large{font-size:var(--bulma-size-large)}.select.is-disabled:after{border-color:var(--bulma-text-weak)!important;opacity:.5}.select.is-fullwidth,.select.is-fullwidth select{width:100%}.select.is-loading:after{inset-inline-end:.625em;margin-top:0;position:absolute;top:.625em;transform:none}.select.is-loading.is-small:after{font-size:var(--bulma-size-small)}.select.is-loading.is-medium:after{font-size:var(--bulma-size-medium)}.select.is-loading.is-large:after{font-size:var(--bulma-size-large)}.file{--bulma-file-radius:var(--bulma-radius);--bulma-file-name-border-color:var(--bulma-border);--bulma-file-name-border-style:solid;--bulma-file-name-border-width:1px 1px 1px 0;--bulma-file-name-max-width:16em;--bulma-file-h:var(--bulma-scheme-h);--bulma-file-s:var(--bulma-scheme-s);--bulma-file-background-l:var(--bulma-scheme-main-ter-l);--bulma-file-background-l-delta:0%;--bulma-file-hover-background-l-delta:-5%;--bulma-file-active-background-l-delta:-10%;--bulma-file-border-l:var(--bulma-border-l);--bulma-file-border-l-delta:0%;--bulma-file-hover-border-l-delta:-10%;--bulma-file-active-border-l-delta:-20%;--bulma-file-cta-color-l:var(--bulma-text-strong-l);--bulma-file-name-color-l:var(--bulma-text-strong-l);--bulma-file-color-l-delta:0%;--bulma-file-hover-color-l-delta:-5%;--bulma-file-active-color-l-delta:-10%;align-items:stretch;display:flex;justify-content:flex-start;position:relative}.file.is-white{--bulma-file-h:var(--bulma-white-h);--bulma-file-s:var(--bulma-white-s);--bulma-file-background-l:var(--bulma-white-l);--bulma-file-border-l:var(--bulma-white-l);--bulma-file-cta-color-l:var(--bulma-white-invert-l);--bulma-file-name-color-l:var(--bulma-white-on-scheme-l)}.file.is-black{--bulma-file-h:var(--bulma-black-h);--bulma-file-s:var(--bulma-black-s);--bulma-file-background-l:var(--bulma-black-l);--bulma-file-border-l:var(--bulma-black-l);--bulma-file-cta-color-l:var(--bulma-black-invert-l);--bulma-file-name-color-l:var(--bulma-black-on-scheme-l)}.file.is-light{--bulma-file-h:var(--bulma-light-h);--bulma-file-s:var(--bulma-light-s);--bulma-file-background-l:var(--bulma-light-l);--bulma-file-border-l:var(--bulma-light-l);--bulma-file-cta-color-l:var(--bulma-light-invert-l);--bulma-file-name-color-l:var(--bulma-light-on-scheme-l)}.file.is-dark{--bulma-file-h:var(--bulma-dark-h);--bulma-file-s:var(--bulma-dark-s);--bulma-file-background-l:var(--bulma-dark-l);--bulma-file-border-l:var(--bulma-dark-l);--bulma-file-cta-color-l:var(--bulma-dark-invert-l);--bulma-file-name-color-l:var(--bulma-dark-on-scheme-l)}.file.is-text{--bulma-file-h:var(--bulma-text-h);--bulma-file-s:var(--bulma-text-s);--bulma-file-background-l:var(--bulma-text-l);--bulma-file-border-l:var(--bulma-text-l);--bulma-file-cta-color-l:var(--bulma-text-invert-l);--bulma-file-name-color-l:var(--bulma-text-on-scheme-l)}.file.is-primary{--bulma-file-h:var(--bulma-primary-h);--bulma-file-s:var(--bulma-primary-s);--bulma-file-background-l:var(--bulma-primary-l);--bulma-file-border-l:var(--bulma-primary-l);--bulma-file-cta-color-l:var(--bulma-primary-invert-l);--bulma-file-name-color-l:var(--bulma-primary-on-scheme-l)}.file.is-link{--bulma-file-h:var(--bulma-link-h);--bulma-file-s:var(--bulma-link-s);--bulma-file-background-l:var(--bulma-link-l);--bulma-file-border-l:var(--bulma-link-l);--bulma-file-cta-color-l:var(--bulma-link-invert-l);--bulma-file-name-color-l:var(--bulma-link-on-scheme-l)}.file.is-info{--bulma-file-h:var(--bulma-info-h);--bulma-file-s:var(--bulma-info-s);--bulma-file-background-l:var(--bulma-info-l);--bulma-file-border-l:var(--bulma-info-l);--bulma-file-cta-color-l:var(--bulma-info-invert-l);--bulma-file-name-color-l:var(--bulma-info-on-scheme-l)}.file.is-success{--bulma-file-h:var(--bulma-success-h);--bulma-file-s:var(--bulma-success-s);--bulma-file-background-l:var(--bulma-success-l);--bulma-file-border-l:var(--bulma-success-l);--bulma-file-cta-color-l:var(--bulma-success-invert-l);--bulma-file-name-color-l:var(--bulma-success-on-scheme-l)}.file.is-warning{--bulma-file-h:var(--bulma-warning-h);--bulma-file-s:var(--bulma-warning-s);--bulma-file-background-l:var(--bulma-warning-l);--bulma-file-border-l:var(--bulma-warning-l);--bulma-file-cta-color-l:var(--bulma-warning-invert-l);--bulma-file-name-color-l:var(--bulma-warning-on-scheme-l)}.file.is-danger{--bulma-file-h:var(--bulma-danger-h);--bulma-file-s:var(--bulma-danger-s);--bulma-file-background-l:var(--bulma-danger-l);--bulma-file-border-l:var(--bulma-danger-l);--bulma-file-cta-color-l:var(--bulma-danger-invert-l);--bulma-file-name-color-l:var(--bulma-danger-on-scheme-l)}.file.is-small{font-size:var(--bulma-size-small)}.file.is-normal{font-size:var(--bulma-size-normal)}.file.is-medium{font-size:var(--bulma-size-medium)}.file.is-medium .file-icon .fa{font-size:1.5rem}.file.is-large{font-size:var(--bulma-size-large)}.file.is-large .file-icon .fa{font-size:2rem}.file.has-name .file-cta{border-end-end-radius:0;border-start-end-radius:0}.file.has-name .file-name{border-end-start-radius:0;border-start-start-radius:0}.file.has-name.is-empty .file-cta{border-radius:var(--bulma-file-radius)}.file.has-name.is-empty .file-name{display:none}.file.is-boxed .file-label{flex-direction:column}.file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.file.is-boxed .file-name{border-width:0 1px 1px}.file.is-boxed .file-icon{height:1.5em;width:1.5em}.file.is-boxed .file-icon .fa{font-size:1.5rem}.file.is-boxed.is-small .file-icon .fa{font-size:1rem}.file.is-boxed.is-medium .file-icon .fa{font-size:2rem}.file.is-boxed.is-large .file-icon .fa{font-size:2.5rem}.file.is-boxed.has-name .file-cta{border-end-end-radius:0;border-end-start-radius:0;border-start-end-radius:var(--bulma-file-radius);border-start-start-radius:var(--bulma-file-radius)}.file.is-boxed.has-name .file-name{border-end-end-radius:var(--bulma-file-radius);border-end-start-radius:var(--bulma-file-radius);border-start-end-radius:0;border-start-start-radius:0;border-width:0 1px 1px}.file.is-centered{justify-content:center}.file.is-fullwidth .file-label{width:100%}.file.is-fullwidth .file-name{flex-grow:1;max-width:none}.file.is-right{justify-content:flex-end}.file.is-right .file-cta{border-radius:0 var(--bulma-file-radius) var(--bulma-file-radius) 0}.file.is-right .file-name{border-radius:var(--bulma-file-radius) 0 0 var(--bulma-file-radius);border-width:1px 0 1px 1px;order:-1}.file-label{align-items:stretch;cursor:pointer;display:flex;justify-content:flex-start;overflow:hidden;position:relative}.file-label:hover{--bulma-file-background-l-delta:var(--bulma-file-hover-background-l-delta);--bulma-file-border-l-delta:var(--bulma-file-hover-border-l-delta);--bulma-file-color-l-delta:var(--bulma-file-hover-color-l-delta)}.file-label:active{--bulma-file-background-l-delta:var(--bulma-file-active-background-l-delta);--bulma-file-border-l-delta:var(--bulma-file-active-border-l-delta);--bulma-file-color-l-delta:var(--bulma-file-active-color-l-delta)}.file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.file-cta,.file-name{border-color:hsl(var(--bulma-file-h),var(--bulma-file-s),calc(var(--bulma-file-border-l) + var(--bulma-file-border-l-delta)));border-radius:var(--bulma-file-radius);font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.file-cta{background-color:hsl(var(--bulma-file-h),var(--bulma-file-s),calc(var(--bulma-file-background-l) + var(--bulma-file-background-l-delta)));color:hsl(var(--bulma-file-h),var(--bulma-file-s),calc(var(--bulma-file-cta-color-l) + var(--bulma-file-color-l-delta)))}.file-name{border-color:hsl(var(--bulma-file-h),var(--bulma-file-s),calc(var(--bulma-file-border-l) + var(--bulma-file-color-l-delta)));border-style:var(--bulma-file-name-border-style);border-width:var(--bulma-file-name-border-width);color:hsl(var(--bulma-file-h),var(--bulma-file-s),calc(var(--bulma-file-name-color-l) + var(--bulma-file-color-l-delta)));display:block;max-width:var(--bulma-file-name-max-width);overflow:hidden;text-align:inherit;text-overflow:ellipsis}.file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-inline-end:.5em;width:1em}.file-icon .fa{font-size:1rem}.label{color:var(--bulma-text-strong);display:block;font-size:var(--bulma-size-normal);font-weight:var(--bulma-weight-semibold)}.label:not(:last-child){margin-bottom:.5em}.label.is-small{font-size:var(--bulma-size-small)}.label.is-medium{font-size:var(--bulma-size-medium)}.label.is-large{font-size:var(--bulma-size-large)}.help{display:block;font-size:var(--bulma-size-small);margin-top:.25rem}.help.is-white{color:hsl(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-white-on-scheme-l))}.help.is-black{color:hsl(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-black-on-scheme-l))}.help.is-light{color:hsl(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-light-on-scheme-l))}.help.is-dark{color:hsl(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-dark-on-scheme-l))}.help.is-text{color:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-text-on-scheme-l))}.help.is-primary{color:hsl(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-primary-on-scheme-l))}.help.is-link{color:hsl(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-link-on-scheme-l))}.help.is-info{color:hsl(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-info-on-scheme-l))}.help.is-success{color:hsl(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-success-on-scheme-l))}.help.is-warning{color:hsl(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-warning-on-scheme-l))}.help.is-danger{color:hsl(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-danger-on-scheme-l))}.field{--bulma-block-spacing:0.75rem}.field.has-addons{display:flex;justify-content:flex-start}.field.has-addons .control:not(:last-child){margin-inline-end:-1px}.field.has-addons .control:not(:first-child):not(:last-child) .button,.field.has-addons .control:not(:first-child):not(:last-child) .input,.field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.field.has-addons .control:first-child:not(:only-child) .button,.field.has-addons .control:first-child:not(:only-child) .input,.field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.field.has-addons .control:last-child:not(:only-child) .button,.field.has-addons .control:last-child:not(:only-child) .input,.field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.field.has-addons .control .button:not([disabled]).is-hovered,.field.has-addons .control .button:not([disabled]):hover,.field.has-addons .control .input:not([disabled]).is-hovered,.field.has-addons .control .input:not([disabled]):hover,.field.has-addons .control .select select:not([disabled]).is-hovered,.field.has-addons .control .select select:not([disabled]):hover{z-index:2}.field.has-addons .control .button:not([disabled]).is-active,.field.has-addons .control .button:not([disabled]).is-focused,.field.has-addons .control .button:not([disabled]):active,.field.has-addons .control .button:not([disabled]):focus,.field.has-addons .control .input:not([disabled]).is-active,.field.has-addons .control .input:not([disabled]).is-focused,.field.has-addons .control .input:not([disabled]):active,.field.has-addons .control .input:not([disabled]):focus,.field.has-addons .control .select select:not([disabled]).is-active,.field.has-addons .control .select select:not([disabled]).is-focused,.field.has-addons .control .select select:not([disabled]):active,.field.has-addons .control .select select:not([disabled]):focus{z-index:3}.field.has-addons .control .button:not([disabled]).is-active:hover,.field.has-addons .control .button:not([disabled]).is-focused:hover,.field.has-addons .control .button:not([disabled]):active:hover,.field.has-addons .control .button:not([disabled]):focus:hover,.field.has-addons .control .input:not([disabled]).is-active:hover,.field.has-addons .control .input:not([disabled]).is-focused:hover,.field.has-addons .control .input:not([disabled]):active:hover,.field.has-addons .control .input:not([disabled]):focus:hover,.field.has-addons .control .select select:not([disabled]).is-active:hover,.field.has-addons .control .select select:not([disabled]).is-focused:hover,.field.has-addons .control .select select:not([disabled]):active:hover,.field.has-addons .control .select select:not([disabled]):focus:hover{z-index:4}.field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.field.has-addons.has-addons-centered{justify-content:center}.field.has-addons.has-addons-right{justify-content:flex-end}.field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.field.is-grouped{display:flex;gap:.75rem;justify-content:flex-start}.field.is-grouped>.control{flex-shrink:0}.field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.field.is-grouped.is-grouped-centered{justify-content:center}.field.is-grouped.is-grouped-right{justify-content:flex-end}.field.is-grouped.is-grouped-multiline{flex-wrap:wrap}@media print,screen and (min-width:769px){.field.is-horizontal{display:flex}}.field-label .label{font-size:inherit}@media screen and (max-width:768px){.field-label{margin-bottom:.5rem}}@media print,screen and (min-width:769px){.field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-inline-end:1.5rem;text-align:right}.field-label.is-small{font-size:var(--bulma-size-small);padding-top:.375em}.field-label.is-normal{padding-top:.375em}.field-label.is-medium{font-size:var(--bulma-size-medium);padding-top:.375em}.field-label.is-large{font-size:var(--bulma-size-large);padding-top:.375em}}.field-body .field .field{margin-bottom:0}@media print,screen and (min-width:769px){.field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.field-body .field{margin-bottom:0}.field-body>.field{flex-shrink:1}.field-body>.field:not(.is-narrow){flex-grow:1}.field-body>.field:not(:last-child){margin-inline-end:.75rem}}.control{box-sizing:border-box;clear:both;font-size:var(--bulma-size-normal);position:relative;text-align:inherit}.control.has-icons-left .input:hover~.icon,.control.has-icons-left .select:hover~.icon,.control.has-icons-right .input:hover~.icon,.control.has-icons-right .select:hover~.icon{color:var(--bulma-input-icon-hover-color)}.control.has-icons-left .input:focus~.icon,.control.has-icons-left .select:focus~.icon,.control.has-icons-right .input:focus~.icon,.control.has-icons-right .select:focus~.icon{color:var(--bulma-input-icon-focus-color)}.control.has-icons-left .input.is-small~.icon,.control.has-icons-left .select.is-small~.icon,.control.has-icons-right .input.is-small~.icon,.control.has-icons-right .select.is-small~.icon{font-size:var(--bulma-size-small)}.control.has-icons-left .input.is-medium~.icon,.control.has-icons-left .select.is-medium~.icon,.control.has-icons-right .input.is-medium~.icon,.control.has-icons-right .select.is-medium~.icon{font-size:var(--bulma-size-medium)}.control.has-icons-left .input.is-large~.icon,.control.has-icons-left .select.is-large~.icon,.control.has-icons-right .input.is-large~.icon,.control.has-icons-right .select.is-large~.icon{font-size:var(--bulma-size-large)}.control.has-icons-left .icon,.control.has-icons-right .icon{color:var(--bulma-input-icon-color);height:var(--bulma-input-height);pointer-events:none;position:absolute;top:0;width:var(--bulma-input-height);z-index:4}.control.has-icons-left .input,.control.has-icons-left .select select{padding-left:var(--bulma-input-height)}.control.has-icons-left .icon.is-left{left:0}.control.has-icons-right .input,.control.has-icons-right .select select{padding-right:var(--bulma-input-height)}.control.has-icons-right .icon.is-right{right:0}.control.is-loading:after{inset-inline-end:.75em;position:absolute!important;top:.75em;z-index:4}.control.is-loading.is-small:after{font-size:var(--bulma-size-small)}.control.is-loading.is-medium:after{font-size:var(--bulma-size-medium)}.control.is-loading.is-large:after{font-size:var(--bulma-size-large)}.breadcrumb{--bulma-breadcrumb-item-color:var(--bulma-link-text);--bulma-breadcrumb-item-hover-color:var(--bulma-link-text-hover);--bulma-breadcrumb-item-active-color:var(--bulma-link-text-active);--bulma-breadcrumb-item-padding-vertical:0;--bulma-breadcrumb-item-padding-horizontal:0.75em;--bulma-breadcrumb-item-separator-color:var(--bulma-border);font-size:var(--bulma-size-normal);white-space:nowrap}.breadcrumb a{align-items:center;color:var(--bulma-breadcrumb-item-color);display:flex;justify-content:center;padding:var(--bulma-breadcrumb-item-padding-vertical) var(--bulma-breadcrumb-item-padding-horizontal)}.breadcrumb a:hover{color:var(--bulma-breadcrumb-item-hover-color)}.breadcrumb li{align-items:center;display:flex}.breadcrumb li:first-child a{padding-inline-start:0}.breadcrumb li.is-active a{color:var(--bulma-breadcrumb-item-active-color);cursor:default;pointer-events:none}.breadcrumb li+li:before{color:var(--bulma-breadcrumb-item-separator-color);content:"/"}.breadcrumb ol,.breadcrumb ul{align-items:flex-start;display:flex;flex-wrap:wrap;justify-content:flex-start}.breadcrumb .icon:first-child{margin-inline-end:.5em}.breadcrumb .icon:last-child{margin-inline-start:.5em}.breadcrumb.is-centered ol,.breadcrumb.is-centered ul{justify-content:center}.breadcrumb.is-right ol,.breadcrumb.is-right ul{justify-content:flex-end}.breadcrumb.is-small{font-size:var(--bulma-size-small)}.breadcrumb.is-medium{font-size:var(--bulma-size-medium)}.breadcrumb.is-large{font-size:var(--bulma-size-large)}.breadcrumb.has-arrow-separator li+li:before{content:"→"}.breadcrumb.has-bullet-separator li+li:before{content:"•"}.breadcrumb.has-dot-separator li+li:before{content:"·"}.breadcrumb.has-succeeds-separator li+li:before{content:"≻"}.card{--bulma-card-color:var(--bulma-text);--bulma-card-background-color:var(--bulma-scheme-main);--bulma-card-shadow:var(--bulma-shadow);--bulma-card-radius:0.75rem;--bulma-card-header-background-color:transparent;--bulma-card-header-color:var(--bulma-text-strong);--bulma-card-header-padding:0.75rem 1rem;--bulma-card-header-shadow:0 0.125em 0.25em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),0.1);--bulma-card-header-weight:var(--bulma-weight-bold);--bulma-card-content-background-color:transparent;--bulma-card-content-padding:1.5rem;--bulma-card-footer-background-color:transparent;--bulma-card-footer-border-top:1px solid var(--bulma-border-weak);--bulma-card-footer-padding:0.75rem;--bulma-card-media-margin:var(--bulma-block-spacing);background-color:var(--bulma-card-background-color);border-radius:var(--bulma-card-radius);box-shadow:var(--bulma-card-shadow);color:var(--bulma-card-color);max-width:100%;position:relative}.card-content:first-child,.card-footer:first-child,.card-header:first-child{border-start-end-radius:var(--bulma-card-radius);border-start-start-radius:var(--bulma-card-radius)}.card-content:last-child,.card-footer:last-child,.card-header:last-child{border-end-end-radius:var(--bulma-card-radius);border-end-start-radius:var(--bulma-card-radius)}.card-header{align-items:stretch;background-color:var(--bulma-card-header-background-color);box-shadow:var(--bulma-card-header-shadow);display:flex}.card-header-title{align-items:center;color:var(--bulma-card-header-color);display:flex;flex-grow:1;font-weight:var(--bulma-card-header-weight);padding:var(--bulma-card-header-padding)}.card-header-icon,.card-header-title.is-centered{justify-content:center}.card-header-icon{align-items:center;appearance:none;background:none;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:1em;margin:0;padding:0;padding:var(--bulma-card-header-padding)}.card-image{display:block;position:relative}.card-image:first-child img{border-start-end-radius:var(--bulma-card-radius);border-start-start-radius:var(--bulma-card-radius)}.card-image:last-child img{border-end-end-radius:var(--bulma-card-radius);border-end-start-radius:var(--bulma-card-radius)}.card-content{background-color:var(--bulma-card-content-background-color);padding:var(--bulma-card-content-padding)}.card-footer{align-items:stretch;background-color:var(--bulma-card-footer-background-color);border-top:var(--bulma-card-footer-border-top);display:flex}.card-footer-item{align-items:center;display:flex;flex-basis:0;flex-grow:1;flex-shrink:0;justify-content:center;padding:var(--bulma-card-footer-padding)}.card-footer-item:not(:last-child){border-inline-end:var(--bulma-card-footer-border-top)}.card .media:not(:last-child){margin-bottom:var(--bulma-card-media-margin)}.dropdown{--bulma-dropdown-menu-min-width:12rem;--bulma-dropdown-content-background-color:var(--bulma-scheme-main);--bulma-dropdown-content-offset:0.25rem;--bulma-dropdown-content-padding-bottom:0.5rem;--bulma-dropdown-content-padding-top:0.5rem;--bulma-dropdown-content-radius:var(--bulma-radius);--bulma-dropdown-content-shadow:var(--bulma-shadow);--bulma-dropdown-content-z:20;--bulma-dropdown-item-h:var(--bulma-scheme-h);--bulma-dropdown-item-s:var(--bulma-scheme-s);--bulma-dropdown-item-l:var(--bulma-scheme-main-l);--bulma-dropdown-item-background-l:var(--bulma-scheme-main-l);--bulma-dropdown-item-background-l-delta:0%;--bulma-dropdown-item-hover-background-l-delta:var(--bulma-hover-background-l-delta);--bulma-dropdown-item-active-background-l-delta:var(--bulma-active-background-l-delta);--bulma-dropdown-item-color-l:var(--bulma-text-strong-l);--bulma-dropdown-item-selected-h:var(--bulma-link-h);--bulma-dropdown-item-selected-s:var(--bulma-link-s);--bulma-dropdown-item-selected-l:var(--bulma-link-l);--bulma-dropdown-item-selected-background-l:var(--bulma-link-l);--bulma-dropdown-item-selected-color-l:var(--bulma-link-invert-l);--bulma-dropdown-divider-background-color:var(--bulma-border-weak);display:inline-flex;position:relative;vertical-align:top}.dropdown.is-active .dropdown-menu,.dropdown.is-hoverable:hover .dropdown-menu{display:block}.dropdown.is-right .dropdown-menu{left:auto;right:0}.dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:var(--bulma-dropdown-content-offset);padding-top:0;top:auto}.dropdown-menu{display:none;left:0;min-width:var(--bulma-dropdown-menu-min-width);padding-top:var(--bulma-dropdown-content-offset);position:absolute;top:100%;z-index:var(--bulma-dropdown-content-z)}.dropdown-content{background-color:var(--bulma-dropdown-content-background-color);border-radius:var(--bulma-dropdown-content-radius);box-shadow:var(--bulma-dropdown-content-shadow);padding-bottom:var(--bulma-dropdown-content-padding-bottom);padding-top:var(--bulma-dropdown-content-padding-top)}.dropdown-item{color:hsl(var(--bulma-dropdown-item-h),var(--bulma-dropdown-item-s),var(--bulma-dropdown-item-color-l));display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem}a.dropdown-item,button.dropdown-item{background-color:hsl(var(--bulma-dropdown-item-h),var(--bulma-dropdown-item-s),calc(var(--bulma-dropdown-item-background-l) + var(--bulma-dropdown-item-background-l-delta)));padding-inline-end:3rem;text-align:inherit;white-space:nowrap;width:100%}a.dropdown-item:hover,button.dropdown-item:hover{--bulma-dropdown-item-background-l-delta:var(--bulma-dropdown-item-hover-background-l-delta);--bulma-dropdown-item-border-l-delta:var(--bulma-dropdown-item-hover-border-l-delta)}a.dropdown-item:active,button.dropdown-item:active{--bulma-dropdown-item-background-l-delta:var(--bulma-dropdown-item-active-background-l-delta);--bulma-dropdown-item-border-l-delta:var(--bulma-dropdown-item-active-border-l-delta)}a.dropdown-item.is-active,a.dropdown-item.is-selected,button.dropdown-item.is-active,button.dropdown-item.is-selected{--bulma-dropdown-item-h:var(--bulma-dropdown-item-selected-h);--bulma-dropdown-item-s:var(--bulma-dropdown-item-selected-s);--bulma-dropdown-item-l:var(--bulma-dropdown-item-selected-l);--bulma-dropdown-item-background-l:var(--bulma-dropdown-item-selected-background-l);--bulma-dropdown-item-color-l:var(--bulma-dropdown-item-selected-color-l)}.dropdown-divider{background-color:var(--bulma-dropdown-divider-background-color);border:none;display:block;height:1px;margin:.5rem 0}.menu{--bulma-menu-item-h:var(--bulma-scheme-h);--bulma-menu-item-s:var(--bulma-scheme-s);--bulma-menu-item-l:var(--bulma-scheme-main-l);--bulma-menu-item-background-l:var(--bulma-scheme-main-l);--bulma-menu-item-background-l-delta:0%;--bulma-menu-item-hover-background-l-delta:var(--bulma-hover-background-l-delta);--bulma-menu-item-active-background-l-delta:var(--bulma-active-background-l-delta);--bulma-menu-item-color-l:var(--bulma-text-l);--bulma-menu-item-radius:var(--bulma-radius-small);--bulma-menu-item-selected-h:var(--bulma-link-h);--bulma-menu-item-selected-s:var(--bulma-link-s);--bulma-menu-item-selected-l:var(--bulma-link-l);--bulma-menu-item-selected-background-l:var(--bulma-link-l);--bulma-menu-item-selected-color-l:var(--bulma-link-invert-l);--bulma-menu-list-border-left:1px solid var(--bulma-border);--bulma-menu-list-line-height:1.25;--bulma-menu-list-link-padding:0.5em 0.75em;--bulma-menu-nested-list-margin:0.75em;--bulma-menu-nested-list-padding-left:0.75em;--bulma-menu-label-color:var(--bulma-text-weak);--bulma-menu-label-font-size:0.75em;--bulma-menu-label-letter-spacing:0.1em;--bulma-menu-label-spacing:1em;font-size:var(--bulma-size-normal)}.menu.is-small{font-size:var(--bulma-size-small)}.menu.is-medium{font-size:var(--bulma-size-medium)}.menu.is-large{font-size:var(--bulma-size-large)}.menu-list{line-height:var(--bulma-menu-list-line-height)}.menu-list .menu-item,.menu-list a,.menu-list button{background-color:hsl(var(--bulma-menu-item-h),var(--bulma-menu-item-s),calc(var(--bulma-menu-item-background-l) + var(--bulma-menu-item-background-l-delta)));border-radius:var(--bulma-menu-item-radius);color:hsl(var(--bulma-menu-item-h),var(--bulma-menu-item-s),var(--bulma-menu-item-color-l));display:block;padding:var(--bulma-menu-list-link-padding);text-align:left;width:100%}.menu-list .menu-item:hover,.menu-list a:hover,.menu-list button:hover{--bulma-menu-item-background-l-delta:var(--bulma-menu-item-hover-background-l-delta)}.menu-list .menu-item:active,.menu-list a:active,.menu-list button:active{--bulma-menu-item-background-l-delta:var(--bulma-menu-item-active-background-l-delta)}.menu-list .menu-item.is-active,.menu-list .menu-item.is-selected,.menu-list a.is-active,.menu-list a.is-selected,.menu-list button.is-active,.menu-list button.is-selected{--bulma-menu-item-h:var(--bulma-menu-item-selected-h);--bulma-menu-item-s:var(--bulma-menu-item-selected-s);--bulma-menu-item-l:var(--bulma-menu-item-selected-l);--bulma-menu-item-background-l:var(--bulma-menu-item-selected-background-l);--bulma-menu-item-color-l:var(--bulma-menu-item-selected-color-l)}.menu-list li ul{border-inline-start:var(--bulma-menu-list-border-left);margin:var(--bulma-menu-nested-list-margin);padding-inline-start:var(--bulma-menu-nested-list-padding-left)}.menu-label{color:var(--bulma-menu-label-color);font-size:var(--bulma-menu-label-font-size);letter-spacing:var(--bulma-menu-label-letter-spacing);text-transform:uppercase}.menu-label:not(:first-child){margin-top:var(--bulma-menu-label-spacing)}.menu-label:not(:last-child){margin-bottom:var(--bulma-menu-label-spacing)}.message{--bulma-message-border-l-delta:-20%;--bulma-message-radius:var(--bulma-radius);--bulma-message-header-weight:var(--bulma-weight-semibold);--bulma-message-header-padding:1em 1.25em;--bulma-message-header-radius:var(--bulma-radius);--bulma-message-body-border-width:0 0 0 4px;--bulma-message-body-color:var(--bulma-text);--bulma-message-body-padding:1.25em 1.5em;--bulma-message-body-radius:var(--bulma-radius-small);--bulma-message-body-pre-code-background-color:transparent;--bulma-message-header-body-border-width:0;--bulma-message-h:var(--bulma-scheme-h);--bulma-message-s:var(--bulma-scheme-s);--bulma-message-background-l:var(--bulma-background-l);--bulma-message-border-l:var(--bulma-border-l);--bulma-message-border-style:solid;--bulma-message-border-width:0.25em;--bulma-message-color-l:var(--bulma-text-l);--bulma-message-header-background-l:var(--bulma-dark-l);--bulma-message-header-color-l:var(--bulma-text-dark-invert-l);border-radius:var(--bulma-message-radius);color:hsl(var(--bulma-message-h),var(--bulma-message-s),var(--bulma-message-color-l));font-size:var(--bulma-size-normal)}.message strong{color:currentColor}.message a:not(.button):not(.tag):not(.dropdown-item){color:currentColor;text-decoration:underline}.message.is-small{font-size:var(--bulma-size-small)}.message.is-medium{font-size:var(--bulma-size-medium)}.message.is-large{font-size:var(--bulma-size-large)}.message.is-white{--bulma-message-h:var(--bulma-white-h);--bulma-message-s:var(--bulma-white-s);--bulma-message-border-l:calc(var(--bulma-white-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-white-on-scheme-l);--bulma-message-header-background-l:var(--bulma-white-l);--bulma-message-header-color-l:var(--bulma-white-invert-l)}.message.is-black{--bulma-message-h:var(--bulma-black-h);--bulma-message-s:var(--bulma-black-s);--bulma-message-border-l:calc(var(--bulma-black-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-black-on-scheme-l);--bulma-message-header-background-l:var(--bulma-black-l);--bulma-message-header-color-l:var(--bulma-black-invert-l)}.message.is-light{--bulma-message-h:var(--bulma-light-h);--bulma-message-s:var(--bulma-light-s);--bulma-message-border-l:calc(var(--bulma-light-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-light-on-scheme-l);--bulma-message-header-background-l:var(--bulma-light-l);--bulma-message-header-color-l:var(--bulma-light-invert-l)}.message.is-dark{--bulma-message-h:var(--bulma-dark-h);--bulma-message-s:var(--bulma-dark-s);--bulma-message-border-l:calc(var(--bulma-dark-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-dark-on-scheme-l);--bulma-message-header-background-l:var(--bulma-dark-l);--bulma-message-header-color-l:var(--bulma-dark-invert-l)}.message.is-text{--bulma-message-h:var(--bulma-text-h);--bulma-message-s:var(--bulma-text-s);--bulma-message-border-l:calc(var(--bulma-text-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-text-on-scheme-l);--bulma-message-header-background-l:var(--bulma-text-l);--bulma-message-header-color-l:var(--bulma-text-invert-l)}.message.is-primary{--bulma-message-h:var(--bulma-primary-h);--bulma-message-s:var(--bulma-primary-s);--bulma-message-border-l:calc(var(--bulma-primary-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-primary-on-scheme-l);--bulma-message-header-background-l:var(--bulma-primary-l);--bulma-message-header-color-l:var(--bulma-primary-invert-l)}.message.is-link{--bulma-message-h:var(--bulma-link-h);--bulma-message-s:var(--bulma-link-s);--bulma-message-border-l:calc(var(--bulma-link-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-link-on-scheme-l);--bulma-message-header-background-l:var(--bulma-link-l);--bulma-message-header-color-l:var(--bulma-link-invert-l)}.message.is-info{--bulma-message-h:var(--bulma-info-h);--bulma-message-s:var(--bulma-info-s);--bulma-message-border-l:calc(var(--bulma-info-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-info-on-scheme-l);--bulma-message-header-background-l:var(--bulma-info-l);--bulma-message-header-color-l:var(--bulma-info-invert-l)}.message.is-success{--bulma-message-h:var(--bulma-success-h);--bulma-message-s:var(--bulma-success-s);--bulma-message-border-l:calc(var(--bulma-success-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-success-on-scheme-l);--bulma-message-header-background-l:var(--bulma-success-l);--bulma-message-header-color-l:var(--bulma-success-invert-l)}.message.is-warning{--bulma-message-h:var(--bulma-warning-h);--bulma-message-s:var(--bulma-warning-s);--bulma-message-border-l:calc(var(--bulma-warning-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-warning-on-scheme-l);--bulma-message-header-background-l:var(--bulma-warning-l);--bulma-message-header-color-l:var(--bulma-warning-invert-l)}.message.is-danger{--bulma-message-h:var(--bulma-danger-h);--bulma-message-s:var(--bulma-danger-s);--bulma-message-border-l:calc(var(--bulma-danger-l) + var(--bulma-message-border-l-delta));--bulma-message-color-l:var(--bulma-danger-on-scheme-l);--bulma-message-header-background-l:var(--bulma-danger-l);--bulma-message-header-color-l:var(--bulma-danger-invert-l)}.message-header{align-items:center;background-color:hsl(var(--bulma-message-h),var(--bulma-message-s),var(--bulma-message-header-background-l));border-start-end-radius:var(--bulma-message-header-radius);border-start-start-radius:var(--bulma-message-header-radius);color:hsl(var(--bulma-message-h),var(--bulma-message-s),var(--bulma-message-header-color-l));display:flex;font-weight:var(--bulma-message-header-weight);justify-content:space-between;line-height:1.25;padding:var(--bulma-message-header-padding);position:relative}.message-header .delete{flex-grow:0;flex-shrink:0;margin-inline-start:.75em}.message-header+.message-body{border-start-end-radius:0;border-start-start-radius:0;border-width:var(--bulma-message-header-body-border-width)}.message-body{background-color:hsl(var(--bulma-message-h),var(--bulma-message-s),var(--bulma-message-background-l));border-inline-start-color:hsl(var(--bulma-message-h),var(--bulma-message-s),var(--bulma-message-border-l));border-inline-start-style:var(--bulma-message-border-style);border-inline-start-width:var(--bulma-message-border-width);border-radius:var(--bulma-message-body-radius);padding:var(--bulma-message-body-padding)}.message-body code,.message-body pre{background-color:hsl(var(--bulma-message-h),var(--bulma-message-s),var(--bulma-message-header-color-l));color:hsl(var(--bulma-message-h),var(--bulma-message-s),var(--bulma-message-header-background-l))}.message-body pre code{background-color:var(--bulma-message-body-pre-code-background-color)}.modal{--bulma-modal-z:40;--bulma-modal-background-background-color:hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),0.86);--bulma-modal-content-width:40rem;--bulma-modal-content-margin-mobile:1.25rem;--bulma-modal-content-spacing-mobile:10rem;--bulma-modal-content-spacing-tablet:2.5rem;--bulma-modal-close-dimensions:2.5rem;--bulma-modal-close-right:1.25rem;--bulma-modal-close-top:1.25rem;--bulma-modal-card-spacing:2.5rem;--bulma-modal-card-head-background-color:var(--bulma-scheme-main);--bulma-modal-card-head-padding:2rem;--bulma-modal-card-head-radius:var(--bulma-radius-large);--bulma-modal-card-title-color:var(--bulma-text-strong);--bulma-modal-card-title-line-height:1;--bulma-modal-card-title-size:var(--bulma-size-4);--bulma-modal-card-foot-background-color:var(--bulma-scheme-main-bis);--bulma-modal-card-foot-radius:var(--bulma-radius-large);--bulma-modal-card-body-background-color:var(--bulma-scheme-main);--bulma-modal-card-body-padding:2rem;align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:var(--bulma-modal-z)}.modal.is-active{display:flex}.modal-background{background-color:var(--bulma-modal-background-background-color)}.modal-card,.modal-content{margin:0 var(--bulma-modal-content-margin-mobile);max-height:calc(100vh - var(--bulma-modal-content-spacing-mobile));overflow:auto;position:relative;width:100%}@media screen and (min-width:769px){.modal-card,.modal-content{margin:0 auto;max-height:calc(100vh - var(--bulma-modal-content-spacing-tablet));width:var(--bulma-modal-content-width)}}.modal-close{background:none;height:var(--bulma-modal-close-dimensions);inset-inline-end:var(--bulma-modal-close-right);position:fixed;top:var(--bulma-modal-close-top);width:var(--bulma-modal-close-dimensions)}.modal-card{display:flex;flex-direction:column;max-height:calc(100vh - var(--bulma-modal-card-spacing));overflow:hidden;overflow-y:visible}.modal-card-foot,.modal-card-head{align-items:center;display:flex;flex-shrink:0;justify-content:flex-start;padding:var(--bulma-modal-card-head-padding);position:relative}.modal-card-head{background-color:var(--bulma-modal-card-head-background-color);border-start-end-radius:var(--bulma-modal-card-head-radius);border-start-start-radius:var(--bulma-modal-card-head-radius);box-shadow:var(--bulma-shadow)}.modal-card-title{color:var(--bulma-modal-card-title-color);flex-grow:1;flex-shrink:0;font-size:var(--bulma-modal-card-title-size);line-height:var(--bulma-modal-card-title-line-height)}.modal-card-foot{background-color:var(--bulma-modal-card-foot-background-color);border-end-end-radius:var(--bulma-modal-card-foot-radius);border-end-start-radius:var(--bulma-modal-card-foot-radius)}.modal-card-body{-webkit-overflow-scrolling:touch;background-color:var(--bulma-modal-card-body-background-color);flex-grow:1;flex-shrink:1;overflow:auto;padding:var(--bulma-modal-card-body-padding)}:root{--bulma-navbar-height:3.25rem}.navbar{--bulma-navbar-h:var(--bulma-scheme-h);--bulma-navbar-s:var(--bulma-scheme-s);--bulma-navbar-l:var(--bulma-scheme-main-l);--bulma-navbar-background-color:var(--bulma-scheme-main);--bulma-navbar-box-shadow-size:0 0.125em 0 0;--bulma-navbar-box-shadow-color:var(--bulma-background);--bulma-navbar-padding-vertical:1rem;--bulma-navbar-padding-horizontal:2rem;--bulma-navbar-z:30;--bulma-navbar-fixed-z:30;--bulma-navbar-item-background-a:0;--bulma-navbar-item-background-l:var(--bulma-scheme-main-l);--bulma-navbar-item-background-l-delta:0%;--bulma-navbar-item-hover-background-l-delta:var(--bulma-hover-background-l-delta);--bulma-navbar-item-active-background-l-delta:var(--bulma-active-background-l-delta);--bulma-navbar-item-color-l:var(--bulma-text-l);--bulma-navbar-item-selected-h:var(--bulma-link-h);--bulma-navbar-item-selected-s:var(--bulma-link-s);--bulma-navbar-item-selected-l:var(--bulma-link-l);--bulma-navbar-item-selected-background-l:var(--bulma-link-l);--bulma-navbar-item-selected-color-l:var(--bulma-link-invert-l);--bulma-navbar-item-img-max-height:1.75rem;--bulma-navbar-burger-color:var(--bulma-navbar-item-color);--bulma-navbar-tab-hover-background-color:transparent;--bulma-navbar-tab-hover-border-bottom-color:var(--bulma-link);--bulma-navbar-tab-active-color:var(--bulma-link);--bulma-navbar-tab-active-background-color:transparent;--bulma-navbar-tab-active-border-bottom-color:var(--bulma-link);--bulma-navbar-tab-active-border-bottom-style:solid;--bulma-navbar-tab-active-border-bottom-width:0.1875em;--bulma-navbar-dropdown-background-color:var(--bulma-scheme-main);--bulma-navbar-dropdown-border-l:var(--bulma-border-l);--bulma-navbar-dropdown-border-color:hsl(var(--bulma-navbar-h),var(--bulma-navbar-s),var(--bulma-navbar-dropdown-border-l));--bulma-navbar-dropdown-border-style:solid;--bulma-navbar-dropdown-border-width:0.125em;--bulma-navbar-dropdown-offset:-0.25em;--bulma-navbar-dropdown-arrow:var(--bulma-link);--bulma-navbar-dropdown-radius:var(--bulma-radius-large);--bulma-navbar-dropdown-z:20;--bulma-navbar-dropdown-boxed-radius:var(--bulma-radius-large);--bulma-navbar-dropdown-boxed-shadow:0 0.5em 0.5em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),0.1),0 0 0 1px hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),0.1);--bulma-navbar-dropdown-item-h:var(--bulma-scheme-h);--bulma-navbar-dropdown-item-s:var(--bulma-scheme-s);--bulma-navbar-dropdown-item-l:var(--bulma-scheme-main-l);--bulma-navbar-dropdown-item-background-l:var(--bulma-scheme-main-l);--bulma-navbar-dropdown-item-color-l:var(--bulma-text-l);--bulma-navbar-divider-background-l:var(--bulma-background-l);--bulma-navbar-divider-height:0.125em;--bulma-navbar-bottom-box-shadow-size:0 -0.125em 0 0;background-color:var(--bulma-navbar-background-color);min-height:var(--bulma-navbar-height);position:relative;z-index:var(--bulma-navbar-z)}.navbar.is-white{--bulma-navbar-h:var(--bulma-white-h);--bulma-navbar-s:var(--bulma-white-s);--bulma-navbar-l:var(--bulma-white-l);--bulma-burger-h:var(--bulma-white-h);--bulma-burger-s:var(--bulma-white-s);--bulma-burger-l:var(--bulma-white-invert-l);--bulma-navbar-background-color:var(--bulma-white);--bulma-navbar-item-background-l:var(--bulma-white-l);--bulma-navbar-item-color-l:var(--bulma-white-invert-l);--bulma-navbar-item-selected-h:var(--bulma-white-h);--bulma-navbar-item-selected-s:var(--bulma-white-s);--bulma-navbar-item-selected-l:var(--bulma-white-l);--bulma-navbar-item-selected-background-l:var(--bulma-white-l);--bulma-navbar-item-selected-color-l:var(--bulma-white-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-white-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-white-h),var(--bulma-white-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-white-h);--bulma-navbar-dropdown-item-s:var(--bulma-white-s)}.navbar.is-black{--bulma-navbar-h:var(--bulma-black-h);--bulma-navbar-s:var(--bulma-black-s);--bulma-navbar-l:var(--bulma-black-l);--bulma-burger-h:var(--bulma-black-h);--bulma-burger-s:var(--bulma-black-s);--bulma-burger-l:var(--bulma-black-invert-l);--bulma-navbar-background-color:var(--bulma-black);--bulma-navbar-item-background-l:var(--bulma-black-l);--bulma-navbar-item-color-l:var(--bulma-black-invert-l);--bulma-navbar-item-selected-h:var(--bulma-black-h);--bulma-navbar-item-selected-s:var(--bulma-black-s);--bulma-navbar-item-selected-l:var(--bulma-black-l);--bulma-navbar-item-selected-background-l:var(--bulma-black-l);--bulma-navbar-item-selected-color-l:var(--bulma-black-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-black-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-black-h),var(--bulma-black-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-black-h);--bulma-navbar-dropdown-item-s:var(--bulma-black-s)}.navbar.is-light{--bulma-navbar-h:var(--bulma-light-h);--bulma-navbar-s:var(--bulma-light-s);--bulma-navbar-l:var(--bulma-light-l);--bulma-burger-h:var(--bulma-light-h);--bulma-burger-s:var(--bulma-light-s);--bulma-burger-l:var(--bulma-light-invert-l);--bulma-navbar-background-color:var(--bulma-light);--bulma-navbar-item-background-l:var(--bulma-light-l);--bulma-navbar-item-color-l:var(--bulma-light-invert-l);--bulma-navbar-item-selected-h:var(--bulma-light-h);--bulma-navbar-item-selected-s:var(--bulma-light-s);--bulma-navbar-item-selected-l:var(--bulma-light-l);--bulma-navbar-item-selected-background-l:var(--bulma-light-l);--bulma-navbar-item-selected-color-l:var(--bulma-light-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-light-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-light-h),var(--bulma-light-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-light-h);--bulma-navbar-dropdown-item-s:var(--bulma-light-s)}.navbar.is-dark{--bulma-navbar-h:var(--bulma-dark-h);--bulma-navbar-s:var(--bulma-dark-s);--bulma-navbar-l:var(--bulma-dark-l);--bulma-burger-h:var(--bulma-dark-h);--bulma-burger-s:var(--bulma-dark-s);--bulma-burger-l:var(--bulma-dark-invert-l);--bulma-navbar-background-color:var(--bulma-dark);--bulma-navbar-item-background-l:var(--bulma-dark-l);--bulma-navbar-item-color-l:var(--bulma-dark-invert-l);--bulma-navbar-item-selected-h:var(--bulma-dark-h);--bulma-navbar-item-selected-s:var(--bulma-dark-s);--bulma-navbar-item-selected-l:var(--bulma-dark-l);--bulma-navbar-item-selected-background-l:var(--bulma-dark-l);--bulma-navbar-item-selected-color-l:var(--bulma-dark-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-dark-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-dark-h),var(--bulma-dark-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-dark-h);--bulma-navbar-dropdown-item-s:var(--bulma-dark-s)}.navbar.is-text{--bulma-navbar-h:var(--bulma-text-h);--bulma-navbar-s:var(--bulma-text-s);--bulma-navbar-l:var(--bulma-text-l);--bulma-burger-h:var(--bulma-text-h);--bulma-burger-s:var(--bulma-text-s);--bulma-burger-l:var(--bulma-text-invert-l);--bulma-navbar-background-color:var(--bulma-text);--bulma-navbar-item-background-l:var(--bulma-text-l);--bulma-navbar-item-color-l:var(--bulma-text-invert-l);--bulma-navbar-item-selected-h:var(--bulma-text-h);--bulma-navbar-item-selected-s:var(--bulma-text-s);--bulma-navbar-item-selected-l:var(--bulma-text-l);--bulma-navbar-item-selected-background-l:var(--bulma-text-l);--bulma-navbar-item-selected-color-l:var(--bulma-text-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-text-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-text-h),var(--bulma-text-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-text-h);--bulma-navbar-dropdown-item-s:var(--bulma-text-s)}.navbar.is-primary{--bulma-navbar-h:var(--bulma-primary-h);--bulma-navbar-s:var(--bulma-primary-s);--bulma-navbar-l:var(--bulma-primary-l);--bulma-burger-h:var(--bulma-primary-h);--bulma-burger-s:var(--bulma-primary-s);--bulma-burger-l:var(--bulma-primary-invert-l);--bulma-navbar-background-color:var(--bulma-primary);--bulma-navbar-item-background-l:var(--bulma-primary-l);--bulma-navbar-item-color-l:var(--bulma-primary-invert-l);--bulma-navbar-item-selected-h:var(--bulma-primary-h);--bulma-navbar-item-selected-s:var(--bulma-primary-s);--bulma-navbar-item-selected-l:var(--bulma-primary-l);--bulma-navbar-item-selected-background-l:var(--bulma-primary-l);--bulma-navbar-item-selected-color-l:var(--bulma-primary-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-primary-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-primary-h),var(--bulma-primary-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-primary-h);--bulma-navbar-dropdown-item-s:var(--bulma-primary-s)}.navbar.is-link{--bulma-navbar-h:var(--bulma-link-h);--bulma-navbar-s:var(--bulma-link-s);--bulma-navbar-l:var(--bulma-link-l);--bulma-burger-h:var(--bulma-link-h);--bulma-burger-s:var(--bulma-link-s);--bulma-burger-l:var(--bulma-link-invert-l);--bulma-navbar-background-color:var(--bulma-link);--bulma-navbar-item-background-l:var(--bulma-link-l);--bulma-navbar-item-color-l:var(--bulma-link-invert-l);--bulma-navbar-item-selected-h:var(--bulma-link-h);--bulma-navbar-item-selected-s:var(--bulma-link-s);--bulma-navbar-item-selected-l:var(--bulma-link-l);--bulma-navbar-item-selected-background-l:var(--bulma-link-l);--bulma-navbar-item-selected-color-l:var(--bulma-link-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-link-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-link-h),var(--bulma-link-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-link-h);--bulma-navbar-dropdown-item-s:var(--bulma-link-s)}.navbar.is-info{--bulma-navbar-h:var(--bulma-info-h);--bulma-navbar-s:var(--bulma-info-s);--bulma-navbar-l:var(--bulma-info-l);--bulma-burger-h:var(--bulma-info-h);--bulma-burger-s:var(--bulma-info-s);--bulma-burger-l:var(--bulma-info-invert-l);--bulma-navbar-background-color:var(--bulma-info);--bulma-navbar-item-background-l:var(--bulma-info-l);--bulma-navbar-item-color-l:var(--bulma-info-invert-l);--bulma-navbar-item-selected-h:var(--bulma-info-h);--bulma-navbar-item-selected-s:var(--bulma-info-s);--bulma-navbar-item-selected-l:var(--bulma-info-l);--bulma-navbar-item-selected-background-l:var(--bulma-info-l);--bulma-navbar-item-selected-color-l:var(--bulma-info-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-info-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-info-h),var(--bulma-info-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-info-h);--bulma-navbar-dropdown-item-s:var(--bulma-info-s)}.navbar.is-success{--bulma-navbar-h:var(--bulma-success-h);--bulma-navbar-s:var(--bulma-success-s);--bulma-navbar-l:var(--bulma-success-l);--bulma-burger-h:var(--bulma-success-h);--bulma-burger-s:var(--bulma-success-s);--bulma-burger-l:var(--bulma-success-invert-l);--bulma-navbar-background-color:var(--bulma-success);--bulma-navbar-item-background-l:var(--bulma-success-l);--bulma-navbar-item-color-l:var(--bulma-success-invert-l);--bulma-navbar-item-selected-h:var(--bulma-success-h);--bulma-navbar-item-selected-s:var(--bulma-success-s);--bulma-navbar-item-selected-l:var(--bulma-success-l);--bulma-navbar-item-selected-background-l:var(--bulma-success-l);--bulma-navbar-item-selected-color-l:var(--bulma-success-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-success-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-success-h),var(--bulma-success-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-success-h);--bulma-navbar-dropdown-item-s:var(--bulma-success-s)}.navbar.is-warning{--bulma-navbar-h:var(--bulma-warning-h);--bulma-navbar-s:var(--bulma-warning-s);--bulma-navbar-l:var(--bulma-warning-l);--bulma-burger-h:var(--bulma-warning-h);--bulma-burger-s:var(--bulma-warning-s);--bulma-burger-l:var(--bulma-warning-invert-l);--bulma-navbar-background-color:var(--bulma-warning);--bulma-navbar-item-background-l:var(--bulma-warning-l);--bulma-navbar-item-color-l:var(--bulma-warning-invert-l);--bulma-navbar-item-selected-h:var(--bulma-warning-h);--bulma-navbar-item-selected-s:var(--bulma-warning-s);--bulma-navbar-item-selected-l:var(--bulma-warning-l);--bulma-navbar-item-selected-background-l:var(--bulma-warning-l);--bulma-navbar-item-selected-color-l:var(--bulma-warning-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-warning-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-warning-h),var(--bulma-warning-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-warning-h);--bulma-navbar-dropdown-item-s:var(--bulma-warning-s)}.navbar.is-danger{--bulma-navbar-h:var(--bulma-danger-h);--bulma-navbar-s:var(--bulma-danger-s);--bulma-navbar-l:var(--bulma-danger-l);--bulma-burger-h:var(--bulma-danger-h);--bulma-burger-s:var(--bulma-danger-s);--bulma-burger-l:var(--bulma-danger-invert-l);--bulma-navbar-background-color:var(--bulma-danger);--bulma-navbar-item-background-l:var(--bulma-danger-l);--bulma-navbar-item-color-l:var(--bulma-danger-invert-l);--bulma-navbar-item-selected-h:var(--bulma-danger-h);--bulma-navbar-item-selected-s:var(--bulma-danger-s);--bulma-navbar-item-selected-l:var(--bulma-danger-l);--bulma-navbar-item-selected-background-l:var(--bulma-danger-l);--bulma-navbar-item-selected-color-l:var(--bulma-danger-invert-l);--bulma-navbar-dropdown-arrow:var(--bulma-danger-invert-l);--bulma-navbar-dropdown-background-color:hsl(var(--bulma-danger-h),var(--bulma-danger-s),var(--bulma-navbar-dropdown-item-background-l));--bulma-navbar-dropdown-item-h:var(--bulma-danger-h);--bulma-navbar-dropdown-item-s:var(--bulma-danger-s)}.navbar>.container{align-items:stretch;display:flex;min-height:var(--bulma-navbar-height);width:100%}.navbar.has-shadow{box-shadow:var(--bulma-navbar-box-shadow-size) var(--bulma-navbar-box-shadow-color)}.navbar.is-fixed-bottom,.navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:var(--bulma-navbar-fixed-z)}.navbar.is-fixed-bottom{bottom:0}.navbar.is-fixed-bottom.has-shadow{box-shadow:var(--bulma-navbar-bottom-box-shadow-size) var(--bulma-navbar-box-shadow-color)}.navbar.is-fixed-top{top:0}body.has-navbar-fixed-top,html.has-navbar-fixed-top{padding-top:var(--bulma-navbar-height)}body.has-navbar-fixed-bottom,html.has-navbar-fixed-bottom{padding-bottom:var(--bulma-navbar-height)}.navbar-brand,.navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:var(--bulma-navbar-height)}.navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.navbar-burger{align-items:center;align-self:center;appearance:none;background:none;border:none;border-radius:var(--bulma-burger-border-radius);color:hsl(var(--bulma-burger-h),var(--bulma-burger-s),var(--bulma-burger-l));cursor:pointer;display:inline-flex;flex-direction:column;flex-shrink:0;height:2.5rem;justify-content:center;margin-inline-end:.375rem;margin-inline-start:auto;position:relative;vertical-align:top;width:2.5rem}.navbar-burger span{background-color:currentColor;display:block;height:var(--bulma-burger-item-height);left:calc(50% - (var(--bulma-burger-item-width))/2);position:absolute;transform-origin:center;transition-duration:var(--bulma-duration);transition-property:background-color,color,opacity,transform;transition-timing-function:var(--bulma-easing);width:var(--bulma-burger-item-width)}.navbar-burger span:first-child,.navbar-burger span:nth-child(2){top:calc(50% - (var(--bulma-burger-item-height))/2)}.navbar-burger span:nth-child(3){bottom:calc(50% + var(--bulma-burger-gap))}.navbar-burger span:nth-child(4){top:calc(50% + var(--bulma-burger-gap))}.navbar-burger:hover{background-color:hsla(var(--bulma-burger-h),var(--bulma-burger-s),var(--bulma-burger-l),.1)}.navbar-burger:active{background-color:hsla(var(--bulma-burger-h),var(--bulma-burger-s),var(--bulma-burger-l),.2)}.navbar-burger.is-active span:first-child{transform:rotate(-45deg)}.navbar-burger.is-active span:nth-child(2){transform:rotate(45deg)}.navbar-burger.is-active span:nth-child(3),.navbar-burger.is-active span:nth-child(4){opacity:0}.navbar-menu{display:none}.navbar-item,.navbar-link{color:hsl(var(--bulma-navbar-h),var(--bulma-navbar-s),var(--bulma-navbar-item-color-l));display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.navbar-item .icon:only-child,.navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.navbar-link,a.navbar-item{background-color:hsla(var(--bulma-navbar-h),var(--bulma-navbar-s),calc(var(--bulma-navbar-item-background-l) + var(--bulma-navbar-item-background-l-delta)),var(--bulma-navbar-item-background-a));cursor:pointer}.navbar-link:focus,.navbar-link:focus-within,.navbar-link:hover,a.navbar-item:focus,a.navbar-item:focus-within,a.navbar-item:hover{--bulma-navbar-item-background-l-delta:var(--bulma-navbar-item-hover-background-l-delta);--bulma-navbar-item-background-a:1}.navbar-link:active,a.navbar-item:active{--bulma-navbar-item-background-l-delta:var(--bulma-navbar-item-active-background-l-delta);--bulma-navbar-item-background-a:1}.navbar-link.is-active,.navbar-link.is-selected,a.navbar-item.is-active,a.navbar-item.is-selected{--bulma-navbar-h:var(--bulma-navbar-item-selected-h);--bulma-navbar-s:var(--bulma-navbar-item-selected-s);--bulma-navbar-l:var(--bulma-navbar-item-selected-l);--bulma-navbar-item-background-l:var(--bulma-navbar-item-selected-background-l);--bulma-navbar-item-background-a:1;--bulma-navbar-item-color-l:var(--bulma-navbar-item-selected-color-l)}.navbar-item{flex-grow:0;flex-shrink:0}.navbar-item img,.navbar-item svg{max-height:var(--bulma-navbar-item-img-max-height)}.navbar-item.has-dropdown{padding:0}.navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.navbar-item.is-tab{border-bottom:1px solid transparent;min-height:var(--bulma-navbar-height);padding-bottom:calc(.5rem - 1px)}.navbar-item.is-tab:focus,.navbar-item.is-tab:hover{background-color:var(--bulma-navbar-tab-hover-background-color);border-bottom-color:var(--bulma-navbar-tab-hover-border-bottom-color)}.navbar-item.is-tab.is-active{background-color:var(--bulma-navbar-tab-active-background-color);border-bottom:var(--bulma-navbar-tab-active-border-bottom-width) var(--bulma-navbar-tab-active-border-bottom-style) var(--bulma-navbar-tab-active-border-bottom-color);color:var(--bulma-navbar-tab-active-color);padding-bottom:calc(.5rem - var(--bulma-navbar-tab-active-border-bottom-width))}.navbar-content{flex-grow:1;flex-shrink:1}.navbar-link:not(.is-arrowless){padding-inline-end:2.5em}.navbar-link:not(.is-arrowless):after{border-color:var(--bulma-navbar-dropdown-arrow);inset-inline-end:1.125em;margin-top:-.375em}.navbar-dropdown{font-size:.875rem;padding-bottom:.75rem;padding-top:.5rem}.navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.navbar-dropdown .navbar-item:not(.is-active,.is-selected){background-color:hsl(var(--bulma-navbar-dropdown-item-h),var(--bulma-navbar-dropdown-item-s),calc(var(--bulma-navbar-dropdown-item-background-l) + var(--bulma-navbar-item-background-l-delta)));color:hsl(var(--bulma-navbar-dropdown-item-h),var(--bulma-navbar-dropdown-item-s),var(--bulma-navbar-dropdown-item-color-l))}.navbar-divider{background-color:hsl(var(--bulma-navbar-h),var(--bulma-navbar-s),var(--bulma-navbar-divider-background-l));border:none;display:none;height:var(--bulma-navbar-divider-height);margin:.5rem 0}@media screen and (max-width:1023px){.navbar>.container{display:block}.navbar-brand .navbar-item,.navbar-tabs .navbar-item{align-items:center;display:flex}.navbar-link:after{display:none}.navbar-menu{background-color:var(--bulma-navbar-background-color);box-shadow:0 .5em 1em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),.1);padding:.5rem 0}.navbar-menu.is-active{display:block}.navbar.is-fixed-bottom-touch,.navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:var(--bulma-navbar-fixed-z)}.navbar.is-fixed-bottom-touch{bottom:0}.navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -.125em .1875em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),.1)}.navbar.is-fixed-top-touch{top:0}.navbar.is-fixed-top .navbar-menu,.navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - var(--bulma-navbar-height));overflow:auto}body.has-navbar-fixed-top-touch,html.has-navbar-fixed-top-touch{padding-top:var(--bulma-navbar-height)}body.has-navbar-fixed-bottom-touch,html.has-navbar-fixed-bottom-touch{padding-bottom:var(--bulma-navbar-height)}}@media screen and (min-width:1024px){.navbar,.navbar-end,.navbar-menu,.navbar-start{align-items:stretch;display:flex}.navbar{min-height:var(--bulma-navbar-height)}.navbar.is-spaced{padding:var(--bulma-navbar-padding-vertical) var(--bulma-navbar-padding-horizontal)}.navbar.is-spaced .navbar-end,.navbar.is-spaced .navbar-start{align-items:center}.navbar.is-spaced .navbar-link,.navbar.is-spaced a.navbar-item{border-radius:var(--bulma-radius)}.navbar.is-transparent{--bulma-navbar-item-background-a:0}.navbar.is-transparent .navbar-dropdown a.navbar-item{background-color:hsl(var(--bulma-navbar-h),var(--bulma-navbar-s),calc(var(--bulma-navbar-item-background-l) + var(--bulma-navbar-item-background-l-delta)))}.navbar.is-transparent .navbar-dropdown a.navbar-item.is-active,.navbar.is-transparent .navbar-dropdown a.navbar-item.is-selected{--bulma-navbar-h:var(--bulma-navbar-item-selected-h);--bulma-navbar-s:var(--bulma-navbar-item-selected-s);--bulma-navbar-l:var(--bulma-navbar-item-selected-l);--bulma-navbar-item-background-l:var(--bulma-navbar-item-selected-background-l);--bulma-navbar-item-color-l:var(--bulma-navbar-item-selected-color-l)}.navbar-burger{display:none}.navbar-item,.navbar-link{align-items:center;display:flex}.navbar-item.has-dropdown{align-items:stretch}.navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:var(--bulma-navbar-dropdown-border-width) var(--bulma-navbar-dropdown-border-style) var(--bulma-navbar-dropdown-border-color);border-radius:var(--bulma-navbar-dropdown-radius) var(--bulma-navbar-dropdown-radius) 0 0;border-top:none;bottom:100%;box-shadow:0 -.5em .5em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),.1);top:auto}.navbar-item.is-active .navbar-dropdown,.navbar-item.is-hoverable:focus .navbar-dropdown,.navbar-item.is-hoverable:focus-within .navbar-dropdown,.navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar-item.is-active .navbar-dropdown.is-boxed,.navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed,.navbar.is-spaced .navbar-item.is-active .navbar-dropdown,.navbar.is-spaced .navbar-item.is-hoverable:focus .navbar-dropdown,.navbar.is-spaced .navbar-item.is-hoverable:focus-within .navbar-dropdown,.navbar.is-spaced .navbar-item.is-hoverable:hover .navbar-dropdown{opacity:1;pointer-events:auto;transform:translateY(0)}.navbar-menu{flex-grow:1;flex-shrink:0}.navbar-start{justify-content:flex-start;margin-inline-end:auto}.navbar-end{justify-content:flex-end;margin-inline-start:auto}.navbar-dropdown{background-color:var(--bulma-navbar-dropdown-background-color);border-bottom-left-radius:var(--bulma-navbar-dropdown-radius);border-bottom-right-radius:var(--bulma-navbar-dropdown-radius);border-top:var(--bulma-navbar-dropdown-border-width) var(--bulma-navbar-dropdown-border-style) var(--bulma-navbar-dropdown-border-color);box-shadow:0 .5em .5em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),.1);display:none;font-size:.875rem;inset-inline-start:0;min-width:100%;position:absolute;top:100%;z-index:var(--bulma-navbar-dropdown-z)}.navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.navbar-dropdown a.navbar-item{padding-inline-end:3rem}.navbar-dropdown a.navbar-item:not(.is-active,.is-selected){background-color:hsl(var(--bulma-navbar-dropdown-item-h),var(--bulma-navbar-dropdown-item-s),calc(var(--bulma-navbar-dropdown-item-background-l) + var(--bulma-navbar-item-background-l-delta)));color:hsl(var(--bulma-navbar-dropdown-item-h),var(--bulma-navbar-dropdown-item-s),var(--bulma-navbar-dropdown-item-color-l))}.navbar-dropdown.is-boxed,.navbar.is-spaced .navbar-dropdown{border-radius:var(--bulma-navbar-dropdown-boxed-radius);border-top:none;box-shadow:var(--bulma-navbar-dropdown-boxed-shadow);display:block;opacity:0;pointer-events:none;top:calc(100% + var(--bulma-navbar-dropdown-offset));transform:translateY(-5px);transition-duration:var(--bulma-duration);transition-property:opacity,transform}.navbar-dropdown.is-right{left:auto;right:0}.navbar-divider{display:block}.container>.navbar .navbar-brand,.navbar>.container .navbar-brand{margin-inline-start:-.75rem}.container>.navbar .navbar-menu,.navbar>.container .navbar-menu{margin-inline-end:-.75rem}.navbar.is-fixed-bottom-desktop,.navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:var(--bulma-navbar-fixed-z)}.navbar.is-fixed-bottom-desktop{bottom:0}.navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -.125em .1875em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),.1)}.navbar.is-fixed-top-desktop{top:0}body.has-navbar-fixed-top-desktop,html.has-navbar-fixed-top-desktop{padding-top:var(--bulma-navbar-height)}body.has-navbar-fixed-bottom-desktop,html.has-navbar-fixed-bottom-desktop{padding-bottom:var(--bulma-navbar-height)}body.has-spaced-navbar-fixed-top,html.has-spaced-navbar-fixed-top{padding-top:calc(var(--bulma-navbar-height) + var(--bulma-navbar-padding-vertical)*2)}body.has-spaced-navbar-fixed-bottom,html.has-spaced-navbar-fixed-bottom{padding-bottom:calc(var(--bulma-navbar-height) + var(--bulma-navbar-padding-vertical)*2)}}.hero.is-fullheight-with-navbar{min-height:calc(100vh - var(--bulma-navbar-height))}.pagination{--bulma-pagination-margin:-0.25rem;--bulma-pagination-min-width:var(--bulma-control-height);--bulma-pagination-item-h:var(--bulma-scheme-h);--bulma-pagination-item-s:var(--bulma-scheme-s);--bulma-pagination-item-l:var(--bulma-scheme-main-l);--bulma-pagination-item-background-l-delta:0%;--bulma-pagination-item-hover-background-l-delta:var(--bulma-hover-background-l-delta);--bulma-pagination-item-active-background-l-delta:var(--bulma-active-background-l-delta);--bulma-pagination-item-border-style:solid;--bulma-pagination-item-border-width:var(--bulma-control-border-width);--bulma-pagination-item-border-l:var(--bulma-border-l);--bulma-pagination-item-border-l-delta:0%;--bulma-pagination-item-hover-border-l-delta:var(--bulma-hover-border-l-delta);--bulma-pagination-item-active-border-l-delta:var(--bulma-active-border-l-delta);--bulma-pagination-item-focus-border-l-delta:var(--bulma-focus-border-l-delta);--bulma-pagination-item-color-l:var(--bulma-text-strong-l);--bulma-pagination-item-font-size:1em;--bulma-pagination-item-margin:0.25rem;--bulma-pagination-item-padding-left:0.5em;--bulma-pagination-item-padding-right:0.5em;--bulma-pagination-item-outer-shadow-h:0;--bulma-pagination-item-outer-shadow-s:0%;--bulma-pagination-item-outer-shadow-l:20%;--bulma-pagination-item-outer-shadow-a:0.05;--bulma-pagination-nav-padding-left:0.75em;--bulma-pagination-nav-padding-right:0.75em;--bulma-pagination-disabled-color:var(--bulma-text-weak);--bulma-pagination-disabled-background-color:var(--bulma-border);--bulma-pagination-disabled-border-color:var(--bulma-border);--bulma-pagination-current-color:var(--bulma-link-invert);--bulma-pagination-current-background-color:var(--bulma-link);--bulma-pagination-current-border-color:var(--bulma-link);--bulma-pagination-ellipsis-color:var(--bulma-text-weak);--bulma-pagination-shadow-inset:inset 0 0.0625em 0.125em hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-scheme-invert-l),0.2);--bulma-pagination-selected-item-h:var(--bulma-link-h);--bulma-pagination-selected-item-s:var(--bulma-link-s);--bulma-pagination-selected-item-l:var(--bulma-link-l);--bulma-pagination-selected-item-background-l:var(--bulma-link-l);--bulma-pagination-selected-item-border-l:var(--bulma-link-l);--bulma-pagination-selected-item-color-l:var(--bulma-link-invert-l);font-size:var(--bulma-size-normal);margin:var(--bulma-pagination-margin)}.pagination.is-small{font-size:var(--bulma-size-small)}.pagination.is-medium{font-size:var(--bulma-size-medium)}.pagination.is-large{font-size:var(--bulma-size-large)}.pagination.is-rounded .pagination-next,.pagination.is-rounded .pagination-previous{border-radius:var(--bulma-radius-rounded);padding-left:1em;padding-right:1em}.pagination.is-rounded .pagination-link{border-radius:var(--bulma-radius-rounded)}.pagination,.pagination-list{align-items:center;display:flex;justify-content:center;text-align:center}.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous{color:hsl(var(--bulma-pagination-item-h),var(--bulma-pagination-item-s),var(--bulma-pagination-item-color-l));font-size:var(--bulma-pagination-item-font-size);justify-content:center;margin:var(--bulma-pagination-item-margin);padding-left:var(--bulma-pagination-item-padding-left);padding-right:var(--bulma-pagination-item-padding-right);text-align:center}.pagination-link,.pagination-next,.pagination-previous{background-color:hsl(var(--bulma-pagination-item-h),var(--bulma-pagination-item-s),calc(var(--bulma-pagination-item-background-l) + var(--bulma-pagination-item-background-l-delta)));border-color:hsl(var(--bulma-pagination-item-h),var(--bulma-pagination-item-s),calc(var(--bulma-pagination-item-border-l) + var(--bulma-pagination-item-border-l-delta)));border-style:var(--bulma-pagination-item-border-style);border-width:var(--bulma-pagination-item-border-width);box-shadow:0 .0625em .125em hsla(var(--bulma-pagination-item-outer-shadow-h),var(--bulma-pagination-item-outer-shadow-s),var(--bulma-pagination-item-outer-shadow-l),var(--bulma-pagination-item-outer-shadow-a)),0 .125em .25em hsla(var(--bulma-pagination-item-outer-shadow-h),var(--bulma-pagination-item-outer-shadow-s),var(--bulma-pagination-item-outer-shadow-l),var(--bulma-pagination-item-outer-shadow-a));color:hsl(var(--bulma-pagination-item-h),var(--bulma-pagination-item-s),var(--bulma-pagination-item-color-l));min-width:var(--bulma-pagination-min-width);transition-duration:var(--bulma-duration);transition-property:background-color,border-color,box-shadow,color}.pagination-link:focus,.pagination-link:hover,.pagination-next:focus,.pagination-next:hover,.pagination-previous:focus,.pagination-previous:hover{--bulma-pagination-item-background-l-delta:var(--bulma-pagination-item-hover-background-l-delta);--bulma-pagination-item-border-l-delta:var(--bulma-pagination-item-hover-border-l-delta)}.pagination-link:active,.pagination-next:active,.pagination-previous:active{box-shadow:var(--bulma-pagination-shadow-inset)}.pagination-link.is-disabled,.pagination-link[disabled],.pagination-next.is-disabled,.pagination-next[disabled],.pagination-previous.is-disabled,.pagination-previous[disabled]{background-color:var(--bulma-pagination-disabled-background-color);border-color:var(--bulma-pagination-disabled-border-color);box-shadow:none;color:var(--bulma-pagination-disabled-color);opacity:.5}.pagination-next,.pagination-previous{padding-left:var(--bulma-pagination-nav-padding-left);padding-right:var(--bulma-pagination-nav-padding-right);white-space:nowrap}.pagination-link.is-current,.pagination-link.is-selected{--bulma-pagination-item-h:var(--bulma-pagination-selected-item-h);--bulma-pagination-item-s:var(--bulma-pagination-selected-item-s);--bulma-pagination-item-l:var(--bulma-pagination-selected-item-l);--bulma-pagination-item-background-l:var(--bulma-pagination-selected-item-background-l);--bulma-pagination-item-border-l:var(--bulma-pagination-selected-item-border-l);--bulma-pagination-item-color-l:var(--bulma-pagination-selected-item-color-l)}.pagination-ellipsis{color:var(--bulma-pagination-ellipsis-color);pointer-events:none}.pagination-list{flex-wrap:wrap}.pagination-list li{list-style:none}@media screen and (max-width:768px){.pagination{flex-wrap:wrap}.pagination-list li,.pagination-next,.pagination-previous{flex-grow:1;flex-shrink:1}}@media print,screen and (min-width:769px){.pagination-list{flex-grow:1;flex-shrink:1;justify-content:flex-start;order:1}.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous{margin-bottom:0;margin-top:0}.pagination-previous{order:2}.pagination-next{order:3}.pagination{justify-content:space-between;margin-bottom:0;margin-top:0}.pagination.is-centered .pagination-previous{order:1}.pagination.is-centered .pagination-list{justify-content:center;order:2}.pagination.is-centered .pagination-next{order:3}.pagination.is-right .pagination-previous{order:1}.pagination.is-right .pagination-next{order:2}.pagination.is-right .pagination-list{justify-content:flex-end;order:3}}.panel{--bulma-panel-margin:var(--bulma-block-spacing);--bulma-panel-item-border:1px solid var(--bulma-border-weak);--bulma-panel-radius:var(--bulma-radius-large);--bulma-panel-shadow:var(--bulma-shadow);--bulma-panel-heading-line-height:1.25;--bulma-panel-heading-padding:1em 1.25em;--bulma-panel-heading-radius:var(--bulma-radius);--bulma-panel-heading-size:1.25em;--bulma-panel-heading-weight:var(--bulma-weight-bold);--bulma-panel-tabs-font-size:1em;--bulma-panel-tab-border-bottom-color:var(--bulma-border);--bulma-panel-tab-border-bottom-style:solid;--bulma-panel-tab-border-bottom-width:1px;--bulma-panel-tab-active-color:var(--bulma-link-active);--bulma-panel-list-item-color:var(--bulma-text);--bulma-panel-list-item-hover-color:var(--bulma-link);--bulma-panel-block-color:var(--bulma-text-strong);--bulma-panel-block-hover-background-color:var(--bulma-background);--bulma-panel-block-active-border-left-color:var(--bulma-link);--bulma-panel-block-active-color:var(--bulma-link-active);--bulma-panel-block-active-icon-color:var(--bulma-link);--bulma-panel-icon-color:var(--bulma-text-weak);--bulma-panel-h:var(--bulma-scheme-h);--bulma-panel-s:var(--bulma-scheme-s);--bulma-panel-color-l:var(--bulma-text-l);--bulma-panel-heading-background-l:var(--bulma-text-l);--bulma-panel-heading-color-l:var(--bulma-text-invert-l);border-radius:var(--bulma-panel-radius);box-shadow:var(--bulma-panel-shadow);font-size:var(--bulma-size-normal)}.panel:not(:last-child){margin-bottom:var(--bulma-panel-margin)}.panel.is-white{--bulma-panel-h:var(--bulma-white-h);--bulma-panel-s:var(--bulma-white-s);--bulma-panel-color-l:var(--bulma-white-l);--bulma-panel-heading-background-l:var(--bulma-white-l);--bulma-panel-heading-color-l:var(--bulma-white-invert-l)}.panel.is-black{--bulma-panel-h:var(--bulma-black-h);--bulma-panel-s:var(--bulma-black-s);--bulma-panel-color-l:var(--bulma-black-l);--bulma-panel-heading-background-l:var(--bulma-black-l);--bulma-panel-heading-color-l:var(--bulma-black-invert-l)}.panel.is-light{--bulma-panel-h:var(--bulma-light-h);--bulma-panel-s:var(--bulma-light-s);--bulma-panel-color-l:var(--bulma-light-l);--bulma-panel-heading-background-l:var(--bulma-light-l);--bulma-panel-heading-color-l:var(--bulma-light-invert-l)}.panel.is-dark{--bulma-panel-h:var(--bulma-dark-h);--bulma-panel-s:var(--bulma-dark-s);--bulma-panel-color-l:var(--bulma-dark-l);--bulma-panel-heading-background-l:var(--bulma-dark-l);--bulma-panel-heading-color-l:var(--bulma-dark-invert-l)}.panel.is-text{--bulma-panel-h:var(--bulma-text-h);--bulma-panel-s:var(--bulma-text-s);--bulma-panel-color-l:var(--bulma-text-l);--bulma-panel-heading-background-l:var(--bulma-text-l);--bulma-panel-heading-color-l:var(--bulma-text-invert-l)}.panel.is-primary{--bulma-panel-h:var(--bulma-primary-h);--bulma-panel-s:var(--bulma-primary-s);--bulma-panel-color-l:var(--bulma-primary-l);--bulma-panel-heading-background-l:var(--bulma-primary-l);--bulma-panel-heading-color-l:var(--bulma-primary-invert-l)}.panel.is-link{--bulma-panel-h:var(--bulma-link-h);--bulma-panel-s:var(--bulma-link-s);--bulma-panel-color-l:var(--bulma-link-l);--bulma-panel-heading-background-l:var(--bulma-link-l);--bulma-panel-heading-color-l:var(--bulma-link-invert-l)}.panel.is-info{--bulma-panel-h:var(--bulma-info-h);--bulma-panel-s:var(--bulma-info-s);--bulma-panel-color-l:var(--bulma-info-l);--bulma-panel-heading-background-l:var(--bulma-info-l);--bulma-panel-heading-color-l:var(--bulma-info-invert-l)}.panel.is-success{--bulma-panel-h:var(--bulma-success-h);--bulma-panel-s:var(--bulma-success-s);--bulma-panel-color-l:var(--bulma-success-l);--bulma-panel-heading-background-l:var(--bulma-success-l);--bulma-panel-heading-color-l:var(--bulma-success-invert-l)}.panel.is-warning{--bulma-panel-h:var(--bulma-warning-h);--bulma-panel-s:var(--bulma-warning-s);--bulma-panel-color-l:var(--bulma-warning-l);--bulma-panel-heading-background-l:var(--bulma-warning-l);--bulma-panel-heading-color-l:var(--bulma-warning-invert-l)}.panel.is-danger{--bulma-panel-h:var(--bulma-danger-h);--bulma-panel-s:var(--bulma-danger-s);--bulma-panel-color-l:var(--bulma-danger-l);--bulma-panel-heading-background-l:var(--bulma-danger-l);--bulma-panel-heading-color-l:var(--bulma-danger-invert-l)}.panel-block:not(:last-child),.panel-tabs:not(:last-child){border-bottom:var(--bulma-panel-item-border)}.panel-heading{background-color:hsl(var(--bulma-panel-h),var(--bulma-panel-s),var(--bulma-panel-heading-background-l));border-radius:var(--bulma-panel-radius) var(--bulma-panel-radius) 0 0;color:hsl(var(--bulma-panel-h),var(--bulma-panel-s),var(--bulma-panel-heading-color-l));font-size:var(--bulma-panel-heading-size);font-weight:var(--bulma-panel-heading-weight);line-height:var(--bulma-panel-heading-line-height);padding:var(--bulma-panel-heading-padding)}.panel-tabs{align-items:flex-end;display:flex;font-size:var(--bulma-panel-tabs-font-size);justify-content:center}.panel-tabs a{border-bottom:var(--bulma-panel-tab-border-bottom-width) var(--bulma-panel-tab-border-bottom-style) var(--bulma-panel-tab-border-bottom-color);margin-bottom:-1px;padding:.75em}.panel-tabs a.is-active{border-bottom-color:hsl(var(--bulma-panel-h),var(--bulma-panel-s),var(--bulma-panel-color-l));color:var(--bulma-panel-tab-active-color)}.panel-list a{color:var(--bulma-panel-list-item-color)}.panel-list a:hover{color:var(--bulma-panel-list-item-hover-color)}.panel-block{align-items:center;color:var(--bulma-panel-block-color);display:flex;justify-content:flex-start;padding:.75em 1em}.panel-block input[type=checkbox]{margin-inline-end:.75em}.panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.panel-block.is-wrapped{flex-wrap:wrap}.panel-block.is-active{border-left-color:var(--bulma-panel-block-active-border-left-color);color:var(--bulma-panel-block-active-color)}.panel-block.is-active .panel-icon{color:hsl(var(--bulma-panel-h),var(--bulma-panel-s),var(--bulma-panel-color-l))}.panel-block:last-child{border-bottom-left-radius:var(--bulma-panel-radius);border-bottom-right-radius:var(--bulma-panel-radius)}a.panel-block,label.panel-block{cursor:pointer}a.panel-block:hover,label.panel-block:hover{background-color:var(--bulma-panel-block-hover-background-color)}.panel-icon{color:var(--bulma-panel-icon-color);display:inline-block;font-size:1em;height:1em;line-height:1em;margin-inline-end:.75em;text-align:center;vertical-align:top;width:1em}.panel-icon .fa{font-size:inherit;line-height:inherit}.tabs{--bulma-tabs-border-bottom-color:var(--bulma-border);--bulma-tabs-border-bottom-style:solid;--bulma-tabs-border-bottom-width:1px;--bulma-tabs-link-color:var(--bulma-text);--bulma-tabs-link-hover-border-bottom-color:var(--bulma-text-strong);--bulma-tabs-link-hover-color:var(--bulma-text-strong);--bulma-tabs-link-active-border-bottom-color:var(--bulma-link-text);--bulma-tabs-link-active-color:var(--bulma-link-text);--bulma-tabs-link-padding:0.5em 1em;--bulma-tabs-boxed-link-radius:var(--bulma-radius);--bulma-tabs-boxed-link-hover-background-color:var(--bulma-background);--bulma-tabs-boxed-link-hover-border-bottom-color:var(--bulma-border);--bulma-tabs-boxed-link-active-background-color:var(--bulma-scheme-main);--bulma-tabs-boxed-link-active-border-color:var(--bulma-border);--bulma-tabs-boxed-link-active-border-bottom-color:transparent;--bulma-tabs-toggle-link-border-color:var(--bulma-border);--bulma-tabs-toggle-link-border-style:solid;--bulma-tabs-toggle-link-border-width:1px;--bulma-tabs-toggle-link-hover-background-color:var(--bulma-background);--bulma-tabs-toggle-link-hover-border-color:var(--bulma-border-hover);--bulma-tabs-toggle-link-radius:var(--bulma-radius);--bulma-tabs-toggle-link-active-background-color:var(--bulma-link);--bulma-tabs-toggle-link-active-border-color:var(--bulma-link);--bulma-tabs-toggle-link-active-color:var(--bulma-link-invert);-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:var(--bulma-size-normal);justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.tabs a{align-items:center;border-bottom:var(--bulma-tabs-border-bottom-width) var(--bulma-tabs-border-bottom-style) var(--bulma-tabs-border-bottom-color);color:var(--bulma-tabs-link-color);display:flex;justify-content:center;margin-bottom:calc(var(--bulma-tabs-border-bottom-width)*-1);padding:var(--bulma-tabs-link-padding);transition-duration:var(--bulma-duration);transition-property:background-color,border-color,color;vertical-align:top}.tabs a:hover{border-bottom-color:var(--bulma-tabs-link-hover-border-bottom-color);color:var(--bulma-tabs-link-hover-color)}.tabs li{display:block}.tabs li.is-active a{border-bottom-color:var(--bulma-tabs-link-active-border-bottom-color);color:var(--bulma-tabs-link-active-color)}.tabs ul{align-items:center;border-bottom:var(--bulma-tabs-border-bottom-width) var(--bulma-tabs-border-bottom-style) var(--bulma-tabs-border-bottom-color);display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.tabs ul.is-center,.tabs ul.is-left{padding-right:.75em}.tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em}.tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.tabs .icon:first-child{margin-inline-end:.5em}.tabs .icon:last-child{margin-inline-start:.5em}.tabs.is-centered ul{justify-content:center}.tabs.is-right ul{justify-content:flex-end}.tabs.is-boxed a{border:1px solid transparent;border-start-end-radius:var(--bulma-tabs-boxed-link-radius);border-start-start-radius:var(--bulma-tabs-boxed-link-radius)}.tabs.is-boxed a:hover{background-color:var(--bulma-tabs-boxed-link-hover-background-color);border-bottom-color:var(--bulma-tabs-boxed-link-hover-border-bottom-color)}.tabs.is-boxed li.is-active a{background-color:var(--bulma-tabs-boxed-link-active-background-color);border-color:var(--bulma-tabs-boxed-link-active-border-color);border-bottom-color:var(--bulma-tabs-boxed-link-active-border-bottom-color)!important}.tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.tabs.is-toggle a{border-color:var(--bulma-tabs-toggle-link-border-color);border-style:var(--bulma-tabs-toggle-link-border-style);border-width:var(--bulma-tabs-toggle-link-border-width);margin-bottom:0;position:relative}.tabs.is-toggle a:hover{background-color:var(--bulma-tabs-toggle-link-hover-background-color);border-color:var(--bulma-tabs-toggle-link-hover-border-color);z-index:2}.tabs.is-toggle li+li{margin-inline-start:calc(var(--bulma-tabs-toggle-link-border-width)*-1)}.tabs.is-toggle li:first-child a{border-end-start-radius:var(--bulma-tabs-toggle-link-radius);border-start-start-radius:var(--bulma-tabs-toggle-link-radius)}.tabs.is-toggle li:last-child a{border-end-end-radius:var(--bulma-tabs-toggle-link-radius);border-start-end-radius:var(--bulma-tabs-toggle-link-radius)}.tabs.is-toggle li.is-active a{background-color:var(--bulma-tabs-toggle-link-active-background-color);border-color:var(--bulma-tabs-toggle-link-active-border-color);color:var(--bulma-tabs-toggle-link-active-color);z-index:1}.tabs.is-toggle ul{border-bottom:none}.tabs.is-toggle.is-toggle-rounded li:first-child a{border-end-start-radius:var(--bulma-radius-rounded);border-start-start-radius:var(--bulma-radius-rounded);padding-inline-start:1.25em}.tabs.is-toggle.is-toggle-rounded li:last-child a{border-end-end-radius:var(--bulma-radius-rounded);border-start-end-radius:var(--bulma-radius-rounded);padding-inline-end:1.25em}.tabs.is-small{font-size:var(--bulma-size-small)}.tabs.is-medium{font-size:var(--bulma-size-medium)}.tabs.is-large{font-size:var(--bulma-size-large)}:root{--bulma-column-gap:0.75rem}.column{display:block;flex-basis:0;flex-grow:1;flex-shrink:1;padding:.75rem}.columns.is-mobile>.column.is-narrow{flex:none;width:unset}.columns.is-mobile>.column.is-full{flex:none;width:100%}.columns.is-mobile>.column.is-three-quarters{flex:none;width:75%}.columns.is-mobile>.column.is-two-thirds{flex:none;width:66.6666%}.columns.is-mobile>.column.is-half{flex:none;width:50%}.columns.is-mobile>.column.is-one-third{flex:none;width:33.3333%}.columns.is-mobile>.column.is-one-quarter{flex:none;width:25%}.columns.is-mobile>.column.is-one-fifth{flex:none;width:20%}.columns.is-mobile>.column.is-two-fifths{flex:none;width:40%}.columns.is-mobile>.column.is-three-fifths{flex:none;width:60%}.columns.is-mobile>.column.is-four-fifths{flex:none;width:80%}.columns.is-mobile>.column.is-offset-three-quarters{margin-inline-start:75%}.columns.is-mobile>.column.is-offset-two-thirds{margin-inline-start:66.6666%}.columns.is-mobile>.column.is-offset-half{margin-inline-start:50%}.columns.is-mobile>.column.is-offset-one-third{margin-inline-start:.3333%}.columns.is-mobile>.column.is-offset-one-quarter{margin-inline-start:25%}.columns.is-mobile>.column.is-offset-one-fifth{margin-inline-start:20%}.columns.is-mobile>.column.is-offset-two-fifths{margin-inline-start:40%}.columns.is-mobile>.column.is-offset-three-fifths{margin-inline-start:60%}.columns.is-mobile>.column.is-offset-four-fifths{margin-inline-start:80%}.columns.is-mobile>.column.is-0{flex:none;width:calc(0% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-0{margin-inline-start:0}.columns.is-mobile>.column.is-1{flex:none;width:calc(8.33333% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-1{margin-inline-start:8.3333333333%}.columns.is-mobile>.column.is-2{flex:none;width:calc(16.66667% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-2{margin-inline-start:16.6666666667%}.columns.is-mobile>.column.is-3{flex:none;width:calc(25% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-3{margin-inline-start:25%}.columns.is-mobile>.column.is-4{flex:none;width:calc(33.33333% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-4{margin-inline-start:33.3333333333%}.columns.is-mobile>.column.is-5{flex:none;width:calc(41.66667% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-5{margin-inline-start:41.6666666667%}.columns.is-mobile>.column.is-6{flex:none;width:calc(50% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-6{margin-inline-start:50%}.columns.is-mobile>.column.is-7{flex:none;width:calc(58.33333% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-7{margin-inline-start:58.3333333333%}.columns.is-mobile>.column.is-8{flex:none;width:calc(66.66667% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-8{margin-inline-start:66.6666666667%}.columns.is-mobile>.column.is-9{flex:none;width:calc(75% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-9{margin-inline-start:75%}.columns.is-mobile>.column.is-10{flex:none;width:calc(83.33333% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-10{margin-inline-start:83.3333333333%}.columns.is-mobile>.column.is-11{flex:none;width:calc(91.66667% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-11{margin-inline-start:91.6666666667%}.columns.is-mobile>.column.is-12{flex:none;width:calc(100% - var(--bulma-column-gap)/2)}.columns.is-mobile>.column.is-offset-12{margin-inline-start:100%}@media screen and (max-width:768px){.column.is-narrow-mobile{flex:none;width:unset}.column.is-full-mobile{flex:none;width:100%}.column.is-three-quarters-mobile{flex:none;width:75%}.column.is-two-thirds-mobile{flex:none;width:66.6666%}.column.is-half-mobile{flex:none;width:50%}.column.is-one-third-mobile{flex:none;width:33.3333%}.column.is-one-quarter-mobile{flex:none;width:25%}.column.is-one-fifth-mobile{flex:none;width:20%}.column.is-two-fifths-mobile{flex:none;width:40%}.column.is-three-fifths-mobile{flex:none;width:60%}.column.is-four-fifths-mobile{flex:none;width:80%}.column.is-offset-three-quarters-mobile{margin-inline-start:75%}.column.is-offset-two-thirds-mobile{margin-inline-start:66.6666%}.column.is-offset-half-mobile{margin-inline-start:50%}.column.is-offset-one-third-mobile{margin-inline-start:.3333%}.column.is-offset-one-quarter-mobile{margin-inline-start:25%}.column.is-offset-one-fifth-mobile{margin-inline-start:20%}.column.is-offset-two-fifths-mobile{margin-inline-start:40%}.column.is-offset-three-fifths-mobile{margin-inline-start:60%}.column.is-offset-four-fifths-mobile{margin-inline-start:80%}.column.is-0-mobile{flex:none;width:calc(0% - var(--bulma-column-gap)/2)}.column.is-offset-0-mobile{margin-inline-start:0}.column.is-1-mobile{flex:none;width:calc(8.33333% - var(--bulma-column-gap)/2)}.column.is-offset-1-mobile{margin-inline-start:8.3333333333%}.column.is-2-mobile{flex:none;width:calc(16.66667% - var(--bulma-column-gap)/2)}.column.is-offset-2-mobile{margin-inline-start:16.6666666667%}.column.is-3-mobile{flex:none;width:calc(25% - var(--bulma-column-gap)/2)}.column.is-offset-3-mobile{margin-inline-start:25%}.column.is-4-mobile{flex:none;width:calc(33.33333% - var(--bulma-column-gap)/2)}.column.is-offset-4-mobile{margin-inline-start:33.3333333333%}.column.is-5-mobile{flex:none;width:calc(41.66667% - var(--bulma-column-gap)/2)}.column.is-offset-5-mobile{margin-inline-start:41.6666666667%}.column.is-6-mobile{flex:none;width:calc(50% - var(--bulma-column-gap)/2)}.column.is-offset-6-mobile{margin-inline-start:50%}.column.is-7-mobile{flex:none;width:calc(58.33333% - var(--bulma-column-gap)/2)}.column.is-offset-7-mobile{margin-inline-start:58.3333333333%}.column.is-8-mobile{flex:none;width:calc(66.66667% - var(--bulma-column-gap)/2)}.column.is-offset-8-mobile{margin-inline-start:66.6666666667%}.column.is-9-mobile{flex:none;width:calc(75% - var(--bulma-column-gap)/2)}.column.is-offset-9-mobile{margin-inline-start:75%}.column.is-10-mobile{flex:none;width:calc(83.33333% - var(--bulma-column-gap)/2)}.column.is-offset-10-mobile{margin-inline-start:83.3333333333%}.column.is-11-mobile{flex:none;width:calc(91.66667% - var(--bulma-column-gap)/2)}.column.is-offset-11-mobile{margin-inline-start:91.6666666667%}.column.is-12-mobile{flex:none;width:calc(100% - var(--bulma-column-gap)/2)}.column.is-offset-12-mobile{margin-inline-start:100%}}@media print,screen and (min-width:769px){.column.is-narrow,.column.is-narrow-tablet{flex:none;width:unset}.column.is-full,.column.is-full-tablet{flex:none;width:100%}.column.is-three-quarters,.column.is-three-quarters-tablet{flex:none;width:75%}.column.is-two-thirds,.column.is-two-thirds-tablet{flex:none;width:66.6666%}.column.is-half,.column.is-half-tablet{flex:none;width:50%}.column.is-one-third,.column.is-one-third-tablet{flex:none;width:33.3333%}.column.is-one-quarter,.column.is-one-quarter-tablet{flex:none;width:25%}.column.is-one-fifth,.column.is-one-fifth-tablet{flex:none;width:20%}.column.is-two-fifths,.column.is-two-fifths-tablet{flex:none;width:40%}.column.is-three-fifths,.column.is-three-fifths-tablet{flex:none;width:60%}.column.is-four-fifths,.column.is-four-fifths-tablet{flex:none;width:80%}.column.is-offset-three-quarters,.column.is-offset-three-quarters-tablet{margin-inline-start:75%}.column.is-offset-two-thirds,.column.is-offset-two-thirds-tablet{margin-inline-start:66.6666%}.column.is-offset-half,.column.is-offset-half-tablet{margin-inline-start:50%}.column.is-offset-one-third,.column.is-offset-one-third-tablet{margin-inline-start:.3333%}.column.is-offset-one-quarter,.column.is-offset-one-quarter-tablet{margin-inline-start:25%}.column.is-offset-one-fifth,.column.is-offset-one-fifth-tablet{margin-inline-start:20%}.column.is-offset-two-fifths,.column.is-offset-two-fifths-tablet{margin-inline-start:40%}.column.is-offset-three-fifths,.column.is-offset-three-fifths-tablet{margin-inline-start:60%}.column.is-offset-four-fifths,.column.is-offset-four-fifths-tablet{margin-inline-start:80%}.column.is-0,.column.is-0-tablet{flex:none;width:calc(0% - var(--bulma-column-gap)/2)}.column.is-offset-0,.column.is-offset-0-tablet{margin-inline-start:0}.column.is-1,.column.is-1-tablet{flex:none;width:calc(8.33333% - var(--bulma-column-gap)/2)}.column.is-offset-1,.column.is-offset-1-tablet{margin-inline-start:8.3333333333%}.column.is-2,.column.is-2-tablet{flex:none;width:calc(16.66667% - var(--bulma-column-gap)/2)}.column.is-offset-2,.column.is-offset-2-tablet{margin-inline-start:16.6666666667%}.column.is-3,.column.is-3-tablet{flex:none;width:calc(25% - var(--bulma-column-gap)/2)}.column.is-offset-3,.column.is-offset-3-tablet{margin-inline-start:25%}.column.is-4,.column.is-4-tablet{flex:none;width:calc(33.33333% - var(--bulma-column-gap)/2)}.column.is-offset-4,.column.is-offset-4-tablet{margin-inline-start:33.3333333333%}.column.is-5,.column.is-5-tablet{flex:none;width:calc(41.66667% - var(--bulma-column-gap)/2)}.column.is-offset-5,.column.is-offset-5-tablet{margin-inline-start:41.6666666667%}.column.is-6,.column.is-6-tablet{flex:none;width:calc(50% - var(--bulma-column-gap)/2)}.column.is-offset-6,.column.is-offset-6-tablet{margin-inline-start:50%}.column.is-7,.column.is-7-tablet{flex:none;width:calc(58.33333% - var(--bulma-column-gap)/2)}.column.is-offset-7,.column.is-offset-7-tablet{margin-inline-start:58.3333333333%}.column.is-8,.column.is-8-tablet{flex:none;width:calc(66.66667% - var(--bulma-column-gap)/2)}.column.is-offset-8,.column.is-offset-8-tablet{margin-inline-start:66.6666666667%}.column.is-9,.column.is-9-tablet{flex:none;width:calc(75% - var(--bulma-column-gap)/2)}.column.is-offset-9,.column.is-offset-9-tablet{margin-inline-start:75%}.column.is-10,.column.is-10-tablet{flex:none;width:calc(83.33333% - var(--bulma-column-gap)/2)}.column.is-offset-10,.column.is-offset-10-tablet{margin-inline-start:83.3333333333%}.column.is-11,.column.is-11-tablet{flex:none;width:calc(91.66667% - var(--bulma-column-gap)/2)}.column.is-offset-11,.column.is-offset-11-tablet{margin-inline-start:91.6666666667%}.column.is-12,.column.is-12-tablet{flex:none;width:calc(100% - var(--bulma-column-gap)/2)}.column.is-offset-12,.column.is-offset-12-tablet{margin-inline-start:100%}}@media screen and (max-width:1023px){.column.is-narrow-touch{flex:none;width:unset}.column.is-full-touch{flex:none;width:100%}.column.is-three-quarters-touch{flex:none;width:75%}.column.is-two-thirds-touch{flex:none;width:66.6666%}.column.is-half-touch{flex:none;width:50%}.column.is-one-third-touch{flex:none;width:33.3333%}.column.is-one-quarter-touch{flex:none;width:25%}.column.is-one-fifth-touch{flex:none;width:20%}.column.is-two-fifths-touch{flex:none;width:40%}.column.is-three-fifths-touch{flex:none;width:60%}.column.is-four-fifths-touch{flex:none;width:80%}.column.is-offset-three-quarters-touch{margin-inline-start:75%}.column.is-offset-two-thirds-touch{margin-inline-start:66.6666%}.column.is-offset-half-touch{margin-inline-start:50%}.column.is-offset-one-third-touch{margin-inline-start:.3333%}.column.is-offset-one-quarter-touch{margin-inline-start:25%}.column.is-offset-one-fifth-touch{margin-inline-start:20%}.column.is-offset-two-fifths-touch{margin-inline-start:40%}.column.is-offset-three-fifths-touch{margin-inline-start:60%}.column.is-offset-four-fifths-touch{margin-inline-start:80%}.column.is-0-touch{flex:none;width:0}.column.is-offset-0-touch{margin-inline-start:0}.column.is-1-touch{flex:none;width:8.3333333333%}.column.is-offset-1-touch{margin-inline-start:8.3333333333%}.column.is-2-touch{flex:none;width:16.6666666667%}.column.is-offset-2-touch{margin-inline-start:16.6666666667%}.column.is-3-touch{flex:none;width:25%}.column.is-offset-3-touch{margin-inline-start:25%}.column.is-4-touch{flex:none;width:33.3333333333%}.column.is-offset-4-touch{margin-inline-start:33.3333333333%}.column.is-5-touch{flex:none;width:41.6666666667%}.column.is-offset-5-touch{margin-inline-start:41.6666666667%}.column.is-6-touch{flex:none;width:50%}.column.is-offset-6-touch{margin-inline-start:50%}.column.is-7-touch{flex:none;width:58.3333333333%}.column.is-offset-7-touch{margin-inline-start:58.3333333333%}.column.is-8-touch{flex:none;width:66.6666666667%}.column.is-offset-8-touch{margin-inline-start:66.6666666667%}.column.is-9-touch{flex:none;width:75%}.column.is-offset-9-touch{margin-inline-start:75%}.column.is-10-touch{flex:none;width:83.3333333333%}.column.is-offset-10-touch{margin-inline-start:83.3333333333%}.column.is-11-touch{flex:none;width:91.6666666667%}.column.is-offset-11-touch{margin-inline-start:91.6666666667%}.column.is-12-touch{flex:none;width:100%}.column.is-offset-12-touch{margin-inline-start:100%}}@media screen and (min-width:1024px){.column.is-narrow-desktop{flex:none;width:unset}.column.is-full-desktop{flex:none;width:100%}.column.is-three-quarters-desktop{flex:none;width:75%}.column.is-two-thirds-desktop{flex:none;width:66.6666%}.column.is-half-desktop{flex:none;width:50%}.column.is-one-third-desktop{flex:none;width:33.3333%}.column.is-one-quarter-desktop{flex:none;width:25%}.column.is-one-fifth-desktop{flex:none;width:20%}.column.is-two-fifths-desktop{flex:none;width:40%}.column.is-three-fifths-desktop{flex:none;width:60%}.column.is-four-fifths-desktop{flex:none;width:80%}.column.is-offset-three-quarters-desktop{margin-inline-start:75%}.column.is-offset-two-thirds-desktop{margin-inline-start:66.6666%}.column.is-offset-half-desktop{margin-inline-start:50%}.column.is-offset-one-third-desktop{margin-inline-start:.3333%}.column.is-offset-one-quarter-desktop{margin-inline-start:25%}.column.is-offset-one-fifth-desktop{margin-inline-start:20%}.column.is-offset-two-fifths-desktop{margin-inline-start:40%}.column.is-offset-three-fifths-desktop{margin-inline-start:60%}.column.is-offset-four-fifths-desktop{margin-inline-start:80%}.column.is-0-desktop{flex:none;width:calc(0% - var(--bulma-column-gap)/2)}.column.is-offset-0-desktop{margin-inline-start:0}.column.is-1-desktop{flex:none;width:calc(8.33333% - var(--bulma-column-gap)/2)}.column.is-offset-1-desktop{margin-inline-start:8.3333333333%}.column.is-2-desktop{flex:none;width:calc(16.66667% - var(--bulma-column-gap)/2)}.column.is-offset-2-desktop{margin-inline-start:16.6666666667%}.column.is-3-desktop{flex:none;width:calc(25% - var(--bulma-column-gap)/2)}.column.is-offset-3-desktop{margin-inline-start:25%}.column.is-4-desktop{flex:none;width:calc(33.33333% - var(--bulma-column-gap)/2)}.column.is-offset-4-desktop{margin-inline-start:33.3333333333%}.column.is-5-desktop{flex:none;width:calc(41.66667% - var(--bulma-column-gap)/2)}.column.is-offset-5-desktop{margin-inline-start:41.6666666667%}.column.is-6-desktop{flex:none;width:calc(50% - var(--bulma-column-gap)/2)}.column.is-offset-6-desktop{margin-inline-start:50%}.column.is-7-desktop{flex:none;width:calc(58.33333% - var(--bulma-column-gap)/2)}.column.is-offset-7-desktop{margin-inline-start:58.3333333333%}.column.is-8-desktop{flex:none;width:calc(66.66667% - var(--bulma-column-gap)/2)}.column.is-offset-8-desktop{margin-inline-start:66.6666666667%}.column.is-9-desktop{flex:none;width:calc(75% - var(--bulma-column-gap)/2)}.column.is-offset-9-desktop{margin-inline-start:75%}.column.is-10-desktop{flex:none;width:calc(83.33333% - var(--bulma-column-gap)/2)}.column.is-offset-10-desktop{margin-inline-start:83.3333333333%}.column.is-11-desktop{flex:none;width:calc(91.66667% - var(--bulma-column-gap)/2)}.column.is-offset-11-desktop{margin-inline-start:91.6666666667%}.column.is-12-desktop{flex:none;width:calc(100% - var(--bulma-column-gap)/2)}.column.is-offset-12-desktop{margin-inline-start:100%}}@media screen and (min-width:1216px){.column.is-narrow-widescreen{flex:none;width:unset}.column.is-full-widescreen{flex:none;width:100%}.column.is-three-quarters-widescreen{flex:none;width:75%}.column.is-two-thirds-widescreen{flex:none;width:66.6666%}.column.is-half-widescreen{flex:none;width:50%}.column.is-one-third-widescreen{flex:none;width:33.3333%}.column.is-one-quarter-widescreen{flex:none;width:25%}.column.is-one-fifth-widescreen{flex:none;width:20%}.column.is-two-fifths-widescreen{flex:none;width:40%}.column.is-three-fifths-widescreen{flex:none;width:60%}.column.is-four-fifths-widescreen{flex:none;width:80%}.column.is-offset-three-quarters-widescreen{margin-inline-start:75%}.column.is-offset-two-thirds-widescreen{margin-inline-start:66.6666%}.column.is-offset-half-widescreen{margin-inline-start:50%}.column.is-offset-one-third-widescreen{margin-inline-start:.3333%}.column.is-offset-one-quarter-widescreen{margin-inline-start:25%}.column.is-offset-one-fifth-widescreen{margin-inline-start:20%}.column.is-offset-two-fifths-widescreen{margin-inline-start:40%}.column.is-offset-three-fifths-widescreen{margin-inline-start:60%}.column.is-offset-four-fifths-widescreen{margin-inline-start:80%}.column.is-0-widescreen{flex:none;width:calc(0% - var(--bulma-column-gap)/2)}.column.is-offset-0-widescreen{margin-inline-start:0}.column.is-1-widescreen{flex:none;width:calc(8.33333% - var(--bulma-column-gap)/2)}.column.is-offset-1-widescreen{margin-inline-start:8.3333333333%}.column.is-2-widescreen{flex:none;width:calc(16.66667% - var(--bulma-column-gap)/2)}.column.is-offset-2-widescreen{margin-inline-start:16.6666666667%}.column.is-3-widescreen{flex:none;width:calc(25% - var(--bulma-column-gap)/2)}.column.is-offset-3-widescreen{margin-inline-start:25%}.column.is-4-widescreen{flex:none;width:calc(33.33333% - var(--bulma-column-gap)/2)}.column.is-offset-4-widescreen{margin-inline-start:33.3333333333%}.column.is-5-widescreen{flex:none;width:calc(41.66667% - var(--bulma-column-gap)/2)}.column.is-offset-5-widescreen{margin-inline-start:41.6666666667%}.column.is-6-widescreen{flex:none;width:calc(50% - var(--bulma-column-gap)/2)}.column.is-offset-6-widescreen{margin-inline-start:50%}.column.is-7-widescreen{flex:none;width:calc(58.33333% - var(--bulma-column-gap)/2)}.column.is-offset-7-widescreen{margin-inline-start:58.3333333333%}.column.is-8-widescreen{flex:none;width:calc(66.66667% - var(--bulma-column-gap)/2)}.column.is-offset-8-widescreen{margin-inline-start:66.6666666667%}.column.is-9-widescreen{flex:none;width:calc(75% - var(--bulma-column-gap)/2)}.column.is-offset-9-widescreen{margin-inline-start:75%}.column.is-10-widescreen{flex:none;width:calc(83.33333% - var(--bulma-column-gap)/2)}.column.is-offset-10-widescreen{margin-inline-start:83.3333333333%}.column.is-11-widescreen{flex:none;width:calc(91.66667% - var(--bulma-column-gap)/2)}.column.is-offset-11-widescreen{margin-inline-start:91.6666666667%}.column.is-12-widescreen{flex:none;width:calc(100% - var(--bulma-column-gap)/2)}.column.is-offset-12-widescreen{margin-inline-start:100%}}@media screen and (min-width:1408px){.column.is-narrow-fullhd{flex:none;width:unset}.column.is-full-fullhd{flex:none;width:100%}.column.is-three-quarters-fullhd{flex:none;width:75%}.column.is-two-thirds-fullhd{flex:none;width:66.6666%}.column.is-half-fullhd{flex:none;width:50%}.column.is-one-third-fullhd{flex:none;width:33.3333%}.column.is-one-quarter-fullhd{flex:none;width:25%}.column.is-one-fifth-fullhd{flex:none;width:20%}.column.is-two-fifths-fullhd{flex:none;width:40%}.column.is-three-fifths-fullhd{flex:none;width:60%}.column.is-four-fifths-fullhd{flex:none;width:80%}.column.is-offset-three-quarters-fullhd{margin-inline-start:75%}.column.is-offset-two-thirds-fullhd{margin-inline-start:66.6666%}.column.is-offset-half-fullhd{margin-inline-start:50%}.column.is-offset-one-third-fullhd{margin-inline-start:33.3333%}.column.is-offset-one-quarter-fullhd{margin-inline-start:25%}.column.is-offset-one-fifth-fullhd{margin-inline-start:20%}.column.is-offset-two-fifths-fullhd{margin-inline-start:40%}.column.is-offset-three-fifths-fullhd{margin-inline-start:60%}.column.is-offset-four-fifths-fullhd{margin-inline-start:80%}.column.is-0-fullhd{flex:none;width:0}.column.is-offset-0-fullhd{margin-inline-start:0}.column.is-1-fullhd{flex:none;width:8.3333333333%}.column.is-offset-1-fullhd{margin-inline-start:8.3333333333%}.column.is-2-fullhd{flex:none;width:16.6666666667%}.column.is-offset-2-fullhd{margin-inline-start:16.6666666667%}.column.is-3-fullhd{flex:none;width:25%}.column.is-offset-3-fullhd{margin-inline-start:25%}.column.is-4-fullhd{flex:none;width:33.3333333333%}.column.is-offset-4-fullhd{margin-inline-start:33.3333333333%}.column.is-5-fullhd{flex:none;width:41.6666666667%}.column.is-offset-5-fullhd{margin-inline-start:41.6666666667%}.column.is-6-fullhd{flex:none;width:50%}.column.is-offset-6-fullhd{margin-inline-start:50%}.column.is-7-fullhd{flex:none;width:58.3333333333%}.column.is-offset-7-fullhd{margin-inline-start:58.3333333333%}.column.is-8-fullhd{flex:none;width:66.6666666667%}.column.is-offset-8-fullhd{margin-inline-start:66.6666666667%}.column.is-9-fullhd{flex:none;width:75%}.column.is-offset-9-fullhd{margin-inline-start:75%}.column.is-10-fullhd{flex:none;width:83.3333333333%}.column.is-offset-10-fullhd{margin-inline-start:83.3333333333%}.column.is-11-fullhd{flex:none;width:91.6666666667%}.column.is-offset-11-fullhd{margin-inline-start:91.6666666667%}.column.is-12-fullhd{flex:none;width:100%}.column.is-offset-12-fullhd{margin-inline-start:100%}}.columns{margin-inline-end:calc(var(--bulma-column-gap)*-1);margin-inline-start:calc(var(--bulma-column-gap)*-1);margin-top:calc(var(--bulma-column-gap)*-1)}.columns:last-child{margin-bottom:calc(var(--bulma-column-gap)*-1)}.columns:not(:last-child){margin-bottom:.75rem}.columns.is-centered{justify-content:center}.columns.is-gapless{margin-inline-end:0;margin-inline-start:0;margin-top:0}.columns.is-gapless>.column{margin:0;padding:0!important}.columns.is-gapless:not(:last-child){margin-bottom:1.5rem}.columns.is-gapless:last-child{margin-bottom:0}.columns.is-mobile{display:flex}.columns.is-multiline{flex-wrap:wrap}.columns.is-vcentered{align-items:center}@media print,screen and (min-width:769px){.columns:not(.is-desktop){display:flex}}@media screen and (min-width:1024px){.columns.is-desktop{display:flex}}.fixed-grid{container-name:bulma-fixed-grid;container-type:inline-size}.fixed-grid .grid{--bulma-grid-gap-count:calc(var(--bulma-grid-column-count) - 1);--bulma-grid-column-count:2;grid-template-columns:repeat(var(--bulma-grid-column-count),1fr)}.fixed-grid.has-1-cols .grid{--bulma-grid-column-count:1}.fixed-grid.has-2-cols .grid{--bulma-grid-column-count:2}.fixed-grid.has-3-cols .grid{--bulma-grid-column-count:3}.fixed-grid.has-4-cols .grid{--bulma-grid-column-count:4}.fixed-grid.has-5-cols .grid{--bulma-grid-column-count:5}.fixed-grid.has-6-cols .grid{--bulma-grid-column-count:6}.fixed-grid.has-7-cols .grid{--bulma-grid-column-count:7}.fixed-grid.has-8-cols .grid{--bulma-grid-column-count:8}.fixed-grid.has-9-cols .grid{--bulma-grid-column-count:9}.fixed-grid.has-10-cols .grid{--bulma-grid-column-count:10}.fixed-grid.has-11-cols .grid{--bulma-grid-column-count:11}.fixed-grid.has-12-cols .grid{--bulma-grid-column-count:12}@container bulma-fixed-grid (max-width: 768px){.fixed-grid.has-1-cols-mobile .grid{--bulma-grid-column-count:1}.fixed-grid.has-2-cols-mobile .grid{--bulma-grid-column-count:2}.fixed-grid.has-3-cols-mobile .grid{--bulma-grid-column-count:3}.fixed-grid.has-4-cols-mobile .grid{--bulma-grid-column-count:4}.fixed-grid.has-5-cols-mobile .grid{--bulma-grid-column-count:5}.fixed-grid.has-6-cols-mobile .grid{--bulma-grid-column-count:6}.fixed-grid.has-7-cols-mobile .grid{--bulma-grid-column-count:7}.fixed-grid.has-8-cols-mobile .grid{--bulma-grid-column-count:8}.fixed-grid.has-9-cols-mobile .grid{--bulma-grid-column-count:9}.fixed-grid.has-10-cols-mobile .grid{--bulma-grid-column-count:10}.fixed-grid.has-11-cols-mobile .grid{--bulma-grid-column-count:11}.fixed-grid.has-12-cols-mobile .grid{--bulma-grid-column-count:12}}@container bulma-fixed-grid (min-width: 769px){.fixed-grid.has-1-cols-tablet .grid{--bulma-grid-column-count:1}.fixed-grid.has-2-cols-tablet .grid{--bulma-grid-column-count:2}.fixed-grid.has-3-cols-tablet .grid{--bulma-grid-column-count:3}.fixed-grid.has-4-cols-tablet .grid{--bulma-grid-column-count:4}.fixed-grid.has-5-cols-tablet .grid{--bulma-grid-column-count:5}.fixed-grid.has-6-cols-tablet .grid{--bulma-grid-column-count:6}.fixed-grid.has-7-cols-tablet .grid{--bulma-grid-column-count:7}.fixed-grid.has-8-cols-tablet .grid{--bulma-grid-column-count:8}.fixed-grid.has-9-cols-tablet .grid{--bulma-grid-column-count:9}.fixed-grid.has-10-cols-tablet .grid{--bulma-grid-column-count:10}.fixed-grid.has-11-cols-tablet .grid{--bulma-grid-column-count:11}.fixed-grid.has-12-cols-tablet .grid{--bulma-grid-column-count:12}}@container bulma-fixed-grid (min-width: 1024px){.fixed-grid.has-1-cols-desktop .grid{--bulma-grid-column-count:1}.fixed-grid.has-2-cols-desktop .grid{--bulma-grid-column-count:2}.fixed-grid.has-3-cols-desktop .grid{--bulma-grid-column-count:3}.fixed-grid.has-4-cols-desktop .grid{--bulma-grid-column-count:4}.fixed-grid.has-5-cols-desktop .grid{--bulma-grid-column-count:5}.fixed-grid.has-6-cols-desktop .grid{--bulma-grid-column-count:6}.fixed-grid.has-7-cols-desktop .grid{--bulma-grid-column-count:7}.fixed-grid.has-8-cols-desktop .grid{--bulma-grid-column-count:8}.fixed-grid.has-9-cols-desktop .grid{--bulma-grid-column-count:9}.fixed-grid.has-10-cols-desktop .grid{--bulma-grid-column-count:10}.fixed-grid.has-11-cols-desktop .grid{--bulma-grid-column-count:11}.fixed-grid.has-12-cols-desktop .grid{--bulma-grid-column-count:12}}@container bulma-fixed-grid (min-width: 1216px){.fixed-grid.has-1-cols-widescreen .grid{--bulma-grid-column-count:1}.fixed-grid.has-2-cols-widescreen .grid{--bulma-grid-column-count:2}.fixed-grid.has-3-cols-widescreen .grid{--bulma-grid-column-count:3}.fixed-grid.has-4-cols-widescreen .grid{--bulma-grid-column-count:4}.fixed-grid.has-5-cols-widescreen .grid{--bulma-grid-column-count:5}.fixed-grid.has-6-cols-widescreen .grid{--bulma-grid-column-count:6}.fixed-grid.has-7-cols-widescreen .grid{--bulma-grid-column-count:7}.fixed-grid.has-8-cols-widescreen .grid{--bulma-grid-column-count:8}.fixed-grid.has-9-cols-widescreen .grid{--bulma-grid-column-count:9}.fixed-grid.has-10-cols-widescreen .grid{--bulma-grid-column-count:10}.fixed-grid.has-11-cols-widescreen .grid{--bulma-grid-column-count:11}.fixed-grid.has-12-cols-widescreen .grid{--bulma-grid-column-count:12}}@container bulma-fixed-grid (min-width: 1408px){.fixed-grid.has-1-cols-fullhd .grid{--bulma-grid-column-count:1}.fixed-grid.has-2-cols-fullhd .grid{--bulma-grid-column-count:2}.fixed-grid.has-3-cols-fullhd .grid{--bulma-grid-column-count:3}.fixed-grid.has-4-cols-fullhd .grid{--bulma-grid-column-count:4}.fixed-grid.has-5-cols-fullhd .grid{--bulma-grid-column-count:5}.fixed-grid.has-6-cols-fullhd .grid{--bulma-grid-column-count:6}.fixed-grid.has-7-cols-fullhd .grid{--bulma-grid-column-count:7}.fixed-grid.has-8-cols-fullhd .grid{--bulma-grid-column-count:8}.fixed-grid.has-9-cols-fullhd .grid{--bulma-grid-column-count:9}.fixed-grid.has-10-cols-fullhd .grid{--bulma-grid-column-count:10}.fixed-grid.has-11-cols-fullhd .grid{--bulma-grid-column-count:11}.fixed-grid.has-12-cols-fullhd .grid{--bulma-grid-column-count:12}}@container bulma-fixed-grid (max-width: 768px){.fixed-grid.has-auto-count .grid{--bulma-grid-column-count:2}}@container bulma-fixed-grid (min-width: 769px){.fixed-grid.has-auto-count .grid{--bulma-grid-column-count:4}}@container bulma-fixed-grid (min-width: 1024px){.fixed-grid.has-auto-count .grid{--bulma-grid-column-count:8}}@container bulma-fixed-grid (min-width: 1216px){.fixed-grid.has-auto-count .grid{--bulma-grid-column-count:12}}@container bulma-fixed-grid (min-width: 1408px){.fixed-grid.has-auto-count .grid{--bulma-grid-column-count:16}}.grid{--bulma-grid-gap:0.75rem;--bulma-grid-column-min:9rem;--bulma-grid-cell-column-span:1;--bulma-grid-cell-row-span:1;column-gap:var(--bulma-grid-column-gap,var(--bulma-grid-gap));display:grid;gap:var(--bulma-grid-gap);grid-template-columns:repeat(auto-fit,minmax(var(--bulma-grid-column-min),1fr));grid-template-rows:auto;row-gap:var(--bulma-grid-row-gap,var(--bulma-grid-gap))}.grid.is-auto-fill{grid-template-columns:repeat(auto-fill,minmax(var(--bulma-grid-column-min),1fr))}.grid.is-col-min-1{--bulma-grid-column-min:1.5rem}.grid.is-col-min-2{--bulma-grid-column-min:3rem}.grid.is-col-min-3{--bulma-grid-column-min:4.5rem}.grid.is-col-min-4{--bulma-grid-column-min:6rem}.grid.is-col-min-5{--bulma-grid-column-min:7.5rem}.grid.is-col-min-6{--bulma-grid-column-min:9rem}.grid.is-col-min-7{--bulma-grid-column-min:10.5rem}.grid.is-col-min-8{--bulma-grid-column-min:12rem}.grid.is-col-min-9{--bulma-grid-column-min:13.5rem}.grid.is-col-min-10{--bulma-grid-column-min:15rem}.grid.is-col-min-11{--bulma-grid-column-min:16.5rem}.grid.is-col-min-12{--bulma-grid-column-min:18rem}.cell{grid-column-end:span var(--bulma-grid-cell-column-span);grid-column-start:var(--bulma-grid-cell-column-start);grid-row-end:span var(--bulma-grid-cell-row-span);grid-row-start:var(--bulma-grid-cell-row-start)}.cell.is-col-start-end{--bulma-grid-cell-column-start:-1}.cell.is-row-start-end{--bulma-grid-cell-row-start:-1}.cell.is-col-start-1{--bulma-grid-cell-column-start:1}.cell.is-col-end-1{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1{--bulma-grid-cell-column-span:1}.cell.is-row-start-1{--bulma-grid-cell-row-start:1}.cell.is-row-end-1{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1{--bulma-grid-cell-row-span:1}.cell.is-col-start-2{--bulma-grid-cell-column-start:2}.cell.is-col-end-2{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2{--bulma-grid-cell-column-span:2}.cell.is-row-start-2{--bulma-grid-cell-row-start:2}.cell.is-row-end-2{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2{--bulma-grid-cell-row-span:2}.cell.is-col-start-3{--bulma-grid-cell-column-start:3}.cell.is-col-end-3{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3{--bulma-grid-cell-column-span:3}.cell.is-row-start-3{--bulma-grid-cell-row-start:3}.cell.is-row-end-3{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3{--bulma-grid-cell-row-span:3}.cell.is-col-start-4{--bulma-grid-cell-column-start:4}.cell.is-col-end-4{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4{--bulma-grid-cell-column-span:4}.cell.is-row-start-4{--bulma-grid-cell-row-start:4}.cell.is-row-end-4{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4{--bulma-grid-cell-row-span:4}.cell.is-col-start-5{--bulma-grid-cell-column-start:5}.cell.is-col-end-5{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5{--bulma-grid-cell-column-span:5}.cell.is-row-start-5{--bulma-grid-cell-row-start:5}.cell.is-row-end-5{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5{--bulma-grid-cell-row-span:5}.cell.is-col-start-6{--bulma-grid-cell-column-start:6}.cell.is-col-end-6{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6{--bulma-grid-cell-column-span:6}.cell.is-row-start-6{--bulma-grid-cell-row-start:6}.cell.is-row-end-6{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6{--bulma-grid-cell-row-span:6}.cell.is-col-start-7{--bulma-grid-cell-column-start:7}.cell.is-col-end-7{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7{--bulma-grid-cell-column-span:7}.cell.is-row-start-7{--bulma-grid-cell-row-start:7}.cell.is-row-end-7{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7{--bulma-grid-cell-row-span:7}.cell.is-col-start-8{--bulma-grid-cell-column-start:8}.cell.is-col-end-8{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8{--bulma-grid-cell-column-span:8}.cell.is-row-start-8{--bulma-grid-cell-row-start:8}.cell.is-row-end-8{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8{--bulma-grid-cell-row-span:8}.cell.is-col-start-9{--bulma-grid-cell-column-start:9}.cell.is-col-end-9{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9{--bulma-grid-cell-column-span:9}.cell.is-row-start-9{--bulma-grid-cell-row-start:9}.cell.is-row-end-9{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9{--bulma-grid-cell-row-span:9}.cell.is-col-start-10{--bulma-grid-cell-column-start:10}.cell.is-col-end-10{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10{--bulma-grid-cell-column-span:10}.cell.is-row-start-10{--bulma-grid-cell-row-start:10}.cell.is-row-end-10{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10{--bulma-grid-cell-row-span:10}.cell.is-col-start-11{--bulma-grid-cell-column-start:11}.cell.is-col-end-11{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11{--bulma-grid-cell-column-span:11}.cell.is-row-start-11{--bulma-grid-cell-row-start:11}.cell.is-row-end-11{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11{--bulma-grid-cell-row-span:11}.cell.is-col-start-12{--bulma-grid-cell-column-start:12}.cell.is-col-end-12{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12{--bulma-grid-cell-column-span:12}.cell.is-row-start-12{--bulma-grid-cell-row-start:12}.cell.is-row-end-12{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12{--bulma-grid-cell-row-span:12}@media screen and (max-width:768px){.cell.is-col-start-1-mobile{--bulma-grid-cell-column-start:1}.cell.is-col-end-1-mobile{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1-mobile{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1-mobile{--bulma-grid-cell-column-span:1}.cell.is-row-start-1-mobile{--bulma-grid-cell-row-start:1}.cell.is-row-end-1-mobile{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1-mobile{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1-mobile{--bulma-grid-cell-row-span:1}.cell.is-col-start-2-mobile{--bulma-grid-cell-column-start:2}.cell.is-col-end-2-mobile{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2-mobile{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2-mobile{--bulma-grid-cell-column-span:2}.cell.is-row-start-2-mobile{--bulma-grid-cell-row-start:2}.cell.is-row-end-2-mobile{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2-mobile{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2-mobile{--bulma-grid-cell-row-span:2}.cell.is-col-start-3-mobile{--bulma-grid-cell-column-start:3}.cell.is-col-end-3-mobile{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3-mobile{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3-mobile{--bulma-grid-cell-column-span:3}.cell.is-row-start-3-mobile{--bulma-grid-cell-row-start:3}.cell.is-row-end-3-mobile{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3-mobile{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3-mobile{--bulma-grid-cell-row-span:3}.cell.is-col-start-4-mobile{--bulma-grid-cell-column-start:4}.cell.is-col-end-4-mobile{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4-mobile{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4-mobile{--bulma-grid-cell-column-span:4}.cell.is-row-start-4-mobile{--bulma-grid-cell-row-start:4}.cell.is-row-end-4-mobile{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4-mobile{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4-mobile{--bulma-grid-cell-row-span:4}.cell.is-col-start-5-mobile{--bulma-grid-cell-column-start:5}.cell.is-col-end-5-mobile{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5-mobile{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5-mobile{--bulma-grid-cell-column-span:5}.cell.is-row-start-5-mobile{--bulma-grid-cell-row-start:5}.cell.is-row-end-5-mobile{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5-mobile{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5-mobile{--bulma-grid-cell-row-span:5}.cell.is-col-start-6-mobile{--bulma-grid-cell-column-start:6}.cell.is-col-end-6-mobile{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6-mobile{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6-mobile{--bulma-grid-cell-column-span:6}.cell.is-row-start-6-mobile{--bulma-grid-cell-row-start:6}.cell.is-row-end-6-mobile{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6-mobile{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6-mobile{--bulma-grid-cell-row-span:6}.cell.is-col-start-7-mobile{--bulma-grid-cell-column-start:7}.cell.is-col-end-7-mobile{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7-mobile{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7-mobile{--bulma-grid-cell-column-span:7}.cell.is-row-start-7-mobile{--bulma-grid-cell-row-start:7}.cell.is-row-end-7-mobile{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7-mobile{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7-mobile{--bulma-grid-cell-row-span:7}.cell.is-col-start-8-mobile{--bulma-grid-cell-column-start:8}.cell.is-col-end-8-mobile{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8-mobile{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8-mobile{--bulma-grid-cell-column-span:8}.cell.is-row-start-8-mobile{--bulma-grid-cell-row-start:8}.cell.is-row-end-8-mobile{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8-mobile{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8-mobile{--bulma-grid-cell-row-span:8}.cell.is-col-start-9-mobile{--bulma-grid-cell-column-start:9}.cell.is-col-end-9-mobile{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9-mobile{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9-mobile{--bulma-grid-cell-column-span:9}.cell.is-row-start-9-mobile{--bulma-grid-cell-row-start:9}.cell.is-row-end-9-mobile{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9-mobile{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9-mobile{--bulma-grid-cell-row-span:9}.cell.is-col-start-10-mobile{--bulma-grid-cell-column-start:10}.cell.is-col-end-10-mobile{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10-mobile{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10-mobile{--bulma-grid-cell-column-span:10}.cell.is-row-start-10-mobile{--bulma-grid-cell-row-start:10}.cell.is-row-end-10-mobile{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10-mobile{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10-mobile{--bulma-grid-cell-row-span:10}.cell.is-col-start-11-mobile{--bulma-grid-cell-column-start:11}.cell.is-col-end-11-mobile{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11-mobile{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11-mobile{--bulma-grid-cell-column-span:11}.cell.is-row-start-11-mobile{--bulma-grid-cell-row-start:11}.cell.is-row-end-11-mobile{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11-mobile{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11-mobile{--bulma-grid-cell-row-span:11}.cell.is-col-start-12-mobile{--bulma-grid-cell-column-start:12}.cell.is-col-end-12-mobile{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12-mobile{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12-mobile{--bulma-grid-cell-column-span:12}.cell.is-row-start-12-mobile{--bulma-grid-cell-row-start:12}.cell.is-row-end-12-mobile{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12-mobile{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12-mobile{--bulma-grid-cell-row-span:12}}@media print,screen and (min-width:769px){.cell.is-col-start-1-tablet{--bulma-grid-cell-column-start:1}.cell.is-col-end-1-tablet{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1-tablet{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1-tablet{--bulma-grid-cell-column-span:1}.cell.is-row-start-1-tablet{--bulma-grid-cell-row-start:1}.cell.is-row-end-1-tablet{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1-tablet{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1-tablet{--bulma-grid-cell-row-span:1}.cell.is-col-start-2-tablet{--bulma-grid-cell-column-start:2}.cell.is-col-end-2-tablet{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2-tablet{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2-tablet{--bulma-grid-cell-column-span:2}.cell.is-row-start-2-tablet{--bulma-grid-cell-row-start:2}.cell.is-row-end-2-tablet{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2-tablet{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2-tablet{--bulma-grid-cell-row-span:2}.cell.is-col-start-3-tablet{--bulma-grid-cell-column-start:3}.cell.is-col-end-3-tablet{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3-tablet{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3-tablet{--bulma-grid-cell-column-span:3}.cell.is-row-start-3-tablet{--bulma-grid-cell-row-start:3}.cell.is-row-end-3-tablet{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3-tablet{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3-tablet{--bulma-grid-cell-row-span:3}.cell.is-col-start-4-tablet{--bulma-grid-cell-column-start:4}.cell.is-col-end-4-tablet{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4-tablet{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4-tablet{--bulma-grid-cell-column-span:4}.cell.is-row-start-4-tablet{--bulma-grid-cell-row-start:4}.cell.is-row-end-4-tablet{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4-tablet{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4-tablet{--bulma-grid-cell-row-span:4}.cell.is-col-start-5-tablet{--bulma-grid-cell-column-start:5}.cell.is-col-end-5-tablet{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5-tablet{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5-tablet{--bulma-grid-cell-column-span:5}.cell.is-row-start-5-tablet{--bulma-grid-cell-row-start:5}.cell.is-row-end-5-tablet{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5-tablet{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5-tablet{--bulma-grid-cell-row-span:5}.cell.is-col-start-6-tablet{--bulma-grid-cell-column-start:6}.cell.is-col-end-6-tablet{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6-tablet{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6-tablet{--bulma-grid-cell-column-span:6}.cell.is-row-start-6-tablet{--bulma-grid-cell-row-start:6}.cell.is-row-end-6-tablet{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6-tablet{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6-tablet{--bulma-grid-cell-row-span:6}.cell.is-col-start-7-tablet{--bulma-grid-cell-column-start:7}.cell.is-col-end-7-tablet{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7-tablet{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7-tablet{--bulma-grid-cell-column-span:7}.cell.is-row-start-7-tablet{--bulma-grid-cell-row-start:7}.cell.is-row-end-7-tablet{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7-tablet{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7-tablet{--bulma-grid-cell-row-span:7}.cell.is-col-start-8-tablet{--bulma-grid-cell-column-start:8}.cell.is-col-end-8-tablet{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8-tablet{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8-tablet{--bulma-grid-cell-column-span:8}.cell.is-row-start-8-tablet{--bulma-grid-cell-row-start:8}.cell.is-row-end-8-tablet{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8-tablet{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8-tablet{--bulma-grid-cell-row-span:8}.cell.is-col-start-9-tablet{--bulma-grid-cell-column-start:9}.cell.is-col-end-9-tablet{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9-tablet{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9-tablet{--bulma-grid-cell-column-span:9}.cell.is-row-start-9-tablet{--bulma-grid-cell-row-start:9}.cell.is-row-end-9-tablet{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9-tablet{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9-tablet{--bulma-grid-cell-row-span:9}.cell.is-col-start-10-tablet{--bulma-grid-cell-column-start:10}.cell.is-col-end-10-tablet{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10-tablet{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10-tablet{--bulma-grid-cell-column-span:10}.cell.is-row-start-10-tablet{--bulma-grid-cell-row-start:10}.cell.is-row-end-10-tablet{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10-tablet{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10-tablet{--bulma-grid-cell-row-span:10}.cell.is-col-start-11-tablet{--bulma-grid-cell-column-start:11}.cell.is-col-end-11-tablet{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11-tablet{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11-tablet{--bulma-grid-cell-column-span:11}.cell.is-row-start-11-tablet{--bulma-grid-cell-row-start:11}.cell.is-row-end-11-tablet{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11-tablet{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11-tablet{--bulma-grid-cell-row-span:11}.cell.is-col-start-12-tablet{--bulma-grid-cell-column-start:12}.cell.is-col-end-12-tablet{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12-tablet{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12-tablet{--bulma-grid-cell-column-span:12}.cell.is-row-start-12-tablet{--bulma-grid-cell-row-start:12}.cell.is-row-end-12-tablet{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12-tablet{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12-tablet{--bulma-grid-cell-row-span:12}}@media screen and (min-width:769px) and (max-width:1023px){.cell.is-col-start-1-tablet-only{--bulma-grid-cell-column-start:1}.cell.is-col-end-1-tablet-only{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1-tablet-only{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1-tablet-only{--bulma-grid-cell-column-span:1}.cell.is-row-start-1-tablet-only{--bulma-grid-cell-row-start:1}.cell.is-row-end-1-tablet-only{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1-tablet-only{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1-tablet-only{--bulma-grid-cell-row-span:1}.cell.is-col-start-2-tablet-only{--bulma-grid-cell-column-start:2}.cell.is-col-end-2-tablet-only{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2-tablet-only{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2-tablet-only{--bulma-grid-cell-column-span:2}.cell.is-row-start-2-tablet-only{--bulma-grid-cell-row-start:2}.cell.is-row-end-2-tablet-only{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2-tablet-only{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2-tablet-only{--bulma-grid-cell-row-span:2}.cell.is-col-start-3-tablet-only{--bulma-grid-cell-column-start:3}.cell.is-col-end-3-tablet-only{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3-tablet-only{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3-tablet-only{--bulma-grid-cell-column-span:3}.cell.is-row-start-3-tablet-only{--bulma-grid-cell-row-start:3}.cell.is-row-end-3-tablet-only{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3-tablet-only{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3-tablet-only{--bulma-grid-cell-row-span:3}.cell.is-col-start-4-tablet-only{--bulma-grid-cell-column-start:4}.cell.is-col-end-4-tablet-only{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4-tablet-only{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4-tablet-only{--bulma-grid-cell-column-span:4}.cell.is-row-start-4-tablet-only{--bulma-grid-cell-row-start:4}.cell.is-row-end-4-tablet-only{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4-tablet-only{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4-tablet-only{--bulma-grid-cell-row-span:4}.cell.is-col-start-5-tablet-only{--bulma-grid-cell-column-start:5}.cell.is-col-end-5-tablet-only{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5-tablet-only{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5-tablet-only{--bulma-grid-cell-column-span:5}.cell.is-row-start-5-tablet-only{--bulma-grid-cell-row-start:5}.cell.is-row-end-5-tablet-only{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5-tablet-only{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5-tablet-only{--bulma-grid-cell-row-span:5}.cell.is-col-start-6-tablet-only{--bulma-grid-cell-column-start:6}.cell.is-col-end-6-tablet-only{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6-tablet-only{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6-tablet-only{--bulma-grid-cell-column-span:6}.cell.is-row-start-6-tablet-only{--bulma-grid-cell-row-start:6}.cell.is-row-end-6-tablet-only{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6-tablet-only{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6-tablet-only{--bulma-grid-cell-row-span:6}.cell.is-col-start-7-tablet-only{--bulma-grid-cell-column-start:7}.cell.is-col-end-7-tablet-only{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7-tablet-only{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7-tablet-only{--bulma-grid-cell-column-span:7}.cell.is-row-start-7-tablet-only{--bulma-grid-cell-row-start:7}.cell.is-row-end-7-tablet-only{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7-tablet-only{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7-tablet-only{--bulma-grid-cell-row-span:7}.cell.is-col-start-8-tablet-only{--bulma-grid-cell-column-start:8}.cell.is-col-end-8-tablet-only{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8-tablet-only{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8-tablet-only{--bulma-grid-cell-column-span:8}.cell.is-row-start-8-tablet-only{--bulma-grid-cell-row-start:8}.cell.is-row-end-8-tablet-only{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8-tablet-only{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8-tablet-only{--bulma-grid-cell-row-span:8}.cell.is-col-start-9-tablet-only{--bulma-grid-cell-column-start:9}.cell.is-col-end-9-tablet-only{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9-tablet-only{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9-tablet-only{--bulma-grid-cell-column-span:9}.cell.is-row-start-9-tablet-only{--bulma-grid-cell-row-start:9}.cell.is-row-end-9-tablet-only{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9-tablet-only{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9-tablet-only{--bulma-grid-cell-row-span:9}.cell.is-col-start-10-tablet-only{--bulma-grid-cell-column-start:10}.cell.is-col-end-10-tablet-only{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10-tablet-only{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10-tablet-only{--bulma-grid-cell-column-span:10}.cell.is-row-start-10-tablet-only{--bulma-grid-cell-row-start:10}.cell.is-row-end-10-tablet-only{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10-tablet-only{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10-tablet-only{--bulma-grid-cell-row-span:10}.cell.is-col-start-11-tablet-only{--bulma-grid-cell-column-start:11}.cell.is-col-end-11-tablet-only{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11-tablet-only{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11-tablet-only{--bulma-grid-cell-column-span:11}.cell.is-row-start-11-tablet-only{--bulma-grid-cell-row-start:11}.cell.is-row-end-11-tablet-only{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11-tablet-only{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11-tablet-only{--bulma-grid-cell-row-span:11}.cell.is-col-start-12-tablet-only{--bulma-grid-cell-column-start:12}.cell.is-col-end-12-tablet-only{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12-tablet-only{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12-tablet-only{--bulma-grid-cell-column-span:12}.cell.is-row-start-12-tablet-only{--bulma-grid-cell-row-start:12}.cell.is-row-end-12-tablet-only{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12-tablet-only{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12-tablet-only{--bulma-grid-cell-row-span:12}}@media screen and (min-width:1024px){.cell.is-col-start-1-desktop{--bulma-grid-cell-column-start:1}.cell.is-col-end-1-desktop{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1-desktop{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1-desktop{--bulma-grid-cell-column-span:1}.cell.is-row-start-1-desktop{--bulma-grid-cell-row-start:1}.cell.is-row-end-1-desktop{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1-desktop{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1-desktop{--bulma-grid-cell-row-span:1}.cell.is-col-start-2-desktop{--bulma-grid-cell-column-start:2}.cell.is-col-end-2-desktop{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2-desktop{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2-desktop{--bulma-grid-cell-column-span:2}.cell.is-row-start-2-desktop{--bulma-grid-cell-row-start:2}.cell.is-row-end-2-desktop{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2-desktop{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2-desktop{--bulma-grid-cell-row-span:2}.cell.is-col-start-3-desktop{--bulma-grid-cell-column-start:3}.cell.is-col-end-3-desktop{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3-desktop{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3-desktop{--bulma-grid-cell-column-span:3}.cell.is-row-start-3-desktop{--bulma-grid-cell-row-start:3}.cell.is-row-end-3-desktop{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3-desktop{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3-desktop{--bulma-grid-cell-row-span:3}.cell.is-col-start-4-desktop{--bulma-grid-cell-column-start:4}.cell.is-col-end-4-desktop{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4-desktop{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4-desktop{--bulma-grid-cell-column-span:4}.cell.is-row-start-4-desktop{--bulma-grid-cell-row-start:4}.cell.is-row-end-4-desktop{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4-desktop{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4-desktop{--bulma-grid-cell-row-span:4}.cell.is-col-start-5-desktop{--bulma-grid-cell-column-start:5}.cell.is-col-end-5-desktop{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5-desktop{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5-desktop{--bulma-grid-cell-column-span:5}.cell.is-row-start-5-desktop{--bulma-grid-cell-row-start:5}.cell.is-row-end-5-desktop{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5-desktop{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5-desktop{--bulma-grid-cell-row-span:5}.cell.is-col-start-6-desktop{--bulma-grid-cell-column-start:6}.cell.is-col-end-6-desktop{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6-desktop{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6-desktop{--bulma-grid-cell-column-span:6}.cell.is-row-start-6-desktop{--bulma-grid-cell-row-start:6}.cell.is-row-end-6-desktop{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6-desktop{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6-desktop{--bulma-grid-cell-row-span:6}.cell.is-col-start-7-desktop{--bulma-grid-cell-column-start:7}.cell.is-col-end-7-desktop{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7-desktop{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7-desktop{--bulma-grid-cell-column-span:7}.cell.is-row-start-7-desktop{--bulma-grid-cell-row-start:7}.cell.is-row-end-7-desktop{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7-desktop{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7-desktop{--bulma-grid-cell-row-span:7}.cell.is-col-start-8-desktop{--bulma-grid-cell-column-start:8}.cell.is-col-end-8-desktop{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8-desktop{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8-desktop{--bulma-grid-cell-column-span:8}.cell.is-row-start-8-desktop{--bulma-grid-cell-row-start:8}.cell.is-row-end-8-desktop{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8-desktop{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8-desktop{--bulma-grid-cell-row-span:8}.cell.is-col-start-9-desktop{--bulma-grid-cell-column-start:9}.cell.is-col-end-9-desktop{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9-desktop{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9-desktop{--bulma-grid-cell-column-span:9}.cell.is-row-start-9-desktop{--bulma-grid-cell-row-start:9}.cell.is-row-end-9-desktop{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9-desktop{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9-desktop{--bulma-grid-cell-row-span:9}.cell.is-col-start-10-desktop{--bulma-grid-cell-column-start:10}.cell.is-col-end-10-desktop{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10-desktop{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10-desktop{--bulma-grid-cell-column-span:10}.cell.is-row-start-10-desktop{--bulma-grid-cell-row-start:10}.cell.is-row-end-10-desktop{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10-desktop{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10-desktop{--bulma-grid-cell-row-span:10}.cell.is-col-start-11-desktop{--bulma-grid-cell-column-start:11}.cell.is-col-end-11-desktop{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11-desktop{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11-desktop{--bulma-grid-cell-column-span:11}.cell.is-row-start-11-desktop{--bulma-grid-cell-row-start:11}.cell.is-row-end-11-desktop{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11-desktop{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11-desktop{--bulma-grid-cell-row-span:11}.cell.is-col-start-12-desktop{--bulma-grid-cell-column-start:12}.cell.is-col-end-12-desktop{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12-desktop{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12-desktop{--bulma-grid-cell-column-span:12}.cell.is-row-start-12-desktop{--bulma-grid-cell-row-start:12}.cell.is-row-end-12-desktop{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12-desktop{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12-desktop{--bulma-grid-cell-row-span:12}}@media screen and (min-width:1024px) and (max-width:1215px){.cell.is-col-start-1-desktop-only{--bulma-grid-cell-column-start:1}.cell.is-col-end-1-desktop-only{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1-desktop-only{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1-desktop-only{--bulma-grid-cell-column-span:1}.cell.is-row-start-1-desktop-only{--bulma-grid-cell-row-start:1}.cell.is-row-end-1-desktop-only{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1-desktop-only{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1-desktop-only{--bulma-grid-cell-row-span:1}.cell.is-col-start-2-desktop-only{--bulma-grid-cell-column-start:2}.cell.is-col-end-2-desktop-only{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2-desktop-only{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2-desktop-only{--bulma-grid-cell-column-span:2}.cell.is-row-start-2-desktop-only{--bulma-grid-cell-row-start:2}.cell.is-row-end-2-desktop-only{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2-desktop-only{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2-desktop-only{--bulma-grid-cell-row-span:2}.cell.is-col-start-3-desktop-only{--bulma-grid-cell-column-start:3}.cell.is-col-end-3-desktop-only{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3-desktop-only{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3-desktop-only{--bulma-grid-cell-column-span:3}.cell.is-row-start-3-desktop-only{--bulma-grid-cell-row-start:3}.cell.is-row-end-3-desktop-only{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3-desktop-only{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3-desktop-only{--bulma-grid-cell-row-span:3}.cell.is-col-start-4-desktop-only{--bulma-grid-cell-column-start:4}.cell.is-col-end-4-desktop-only{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4-desktop-only{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4-desktop-only{--bulma-grid-cell-column-span:4}.cell.is-row-start-4-desktop-only{--bulma-grid-cell-row-start:4}.cell.is-row-end-4-desktop-only{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4-desktop-only{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4-desktop-only{--bulma-grid-cell-row-span:4}.cell.is-col-start-5-desktop-only{--bulma-grid-cell-column-start:5}.cell.is-col-end-5-desktop-only{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5-desktop-only{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5-desktop-only{--bulma-grid-cell-column-span:5}.cell.is-row-start-5-desktop-only{--bulma-grid-cell-row-start:5}.cell.is-row-end-5-desktop-only{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5-desktop-only{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5-desktop-only{--bulma-grid-cell-row-span:5}.cell.is-col-start-6-desktop-only{--bulma-grid-cell-column-start:6}.cell.is-col-end-6-desktop-only{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6-desktop-only{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6-desktop-only{--bulma-grid-cell-column-span:6}.cell.is-row-start-6-desktop-only{--bulma-grid-cell-row-start:6}.cell.is-row-end-6-desktop-only{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6-desktop-only{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6-desktop-only{--bulma-grid-cell-row-span:6}.cell.is-col-start-7-desktop-only{--bulma-grid-cell-column-start:7}.cell.is-col-end-7-desktop-only{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7-desktop-only{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7-desktop-only{--bulma-grid-cell-column-span:7}.cell.is-row-start-7-desktop-only{--bulma-grid-cell-row-start:7}.cell.is-row-end-7-desktop-only{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7-desktop-only{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7-desktop-only{--bulma-grid-cell-row-span:7}.cell.is-col-start-8-desktop-only{--bulma-grid-cell-column-start:8}.cell.is-col-end-8-desktop-only{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8-desktop-only{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8-desktop-only{--bulma-grid-cell-column-span:8}.cell.is-row-start-8-desktop-only{--bulma-grid-cell-row-start:8}.cell.is-row-end-8-desktop-only{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8-desktop-only{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8-desktop-only{--bulma-grid-cell-row-span:8}.cell.is-col-start-9-desktop-only{--bulma-grid-cell-column-start:9}.cell.is-col-end-9-desktop-only{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9-desktop-only{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9-desktop-only{--bulma-grid-cell-column-span:9}.cell.is-row-start-9-desktop-only{--bulma-grid-cell-row-start:9}.cell.is-row-end-9-desktop-only{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9-desktop-only{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9-desktop-only{--bulma-grid-cell-row-span:9}.cell.is-col-start-10-desktop-only{--bulma-grid-cell-column-start:10}.cell.is-col-end-10-desktop-only{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10-desktop-only{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10-desktop-only{--bulma-grid-cell-column-span:10}.cell.is-row-start-10-desktop-only{--bulma-grid-cell-row-start:10}.cell.is-row-end-10-desktop-only{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10-desktop-only{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10-desktop-only{--bulma-grid-cell-row-span:10}.cell.is-col-start-11-desktop-only{--bulma-grid-cell-column-start:11}.cell.is-col-end-11-desktop-only{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11-desktop-only{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11-desktop-only{--bulma-grid-cell-column-span:11}.cell.is-row-start-11-desktop-only{--bulma-grid-cell-row-start:11}.cell.is-row-end-11-desktop-only{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11-desktop-only{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11-desktop-only{--bulma-grid-cell-row-span:11}.cell.is-col-start-12-desktop-only{--bulma-grid-cell-column-start:12}.cell.is-col-end-12-desktop-only{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12-desktop-only{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12-desktop-only{--bulma-grid-cell-column-span:12}.cell.is-row-start-12-desktop-only{--bulma-grid-cell-row-start:12}.cell.is-row-end-12-desktop-only{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12-desktop-only{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12-desktop-only{--bulma-grid-cell-row-span:12}}@media screen and (min-width:1216px){.cell.is-col-start-1-widescreen{--bulma-grid-cell-column-start:1}.cell.is-col-end-1-widescreen{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1-widescreen{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1-widescreen{--bulma-grid-cell-column-span:1}.cell.is-row-start-1-widescreen{--bulma-grid-cell-row-start:1}.cell.is-row-end-1-widescreen{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1-widescreen{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1-widescreen{--bulma-grid-cell-row-span:1}.cell.is-col-start-2-widescreen{--bulma-grid-cell-column-start:2}.cell.is-col-end-2-widescreen{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2-widescreen{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2-widescreen{--bulma-grid-cell-column-span:2}.cell.is-row-start-2-widescreen{--bulma-grid-cell-row-start:2}.cell.is-row-end-2-widescreen{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2-widescreen{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2-widescreen{--bulma-grid-cell-row-span:2}.cell.is-col-start-3-widescreen{--bulma-grid-cell-column-start:3}.cell.is-col-end-3-widescreen{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3-widescreen{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3-widescreen{--bulma-grid-cell-column-span:3}.cell.is-row-start-3-widescreen{--bulma-grid-cell-row-start:3}.cell.is-row-end-3-widescreen{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3-widescreen{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3-widescreen{--bulma-grid-cell-row-span:3}.cell.is-col-start-4-widescreen{--bulma-grid-cell-column-start:4}.cell.is-col-end-4-widescreen{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4-widescreen{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4-widescreen{--bulma-grid-cell-column-span:4}.cell.is-row-start-4-widescreen{--bulma-grid-cell-row-start:4}.cell.is-row-end-4-widescreen{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4-widescreen{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4-widescreen{--bulma-grid-cell-row-span:4}.cell.is-col-start-5-widescreen{--bulma-grid-cell-column-start:5}.cell.is-col-end-5-widescreen{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5-widescreen{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5-widescreen{--bulma-grid-cell-column-span:5}.cell.is-row-start-5-widescreen{--bulma-grid-cell-row-start:5}.cell.is-row-end-5-widescreen{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5-widescreen{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5-widescreen{--bulma-grid-cell-row-span:5}.cell.is-col-start-6-widescreen{--bulma-grid-cell-column-start:6}.cell.is-col-end-6-widescreen{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6-widescreen{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6-widescreen{--bulma-grid-cell-column-span:6}.cell.is-row-start-6-widescreen{--bulma-grid-cell-row-start:6}.cell.is-row-end-6-widescreen{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6-widescreen{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6-widescreen{--bulma-grid-cell-row-span:6}.cell.is-col-start-7-widescreen{--bulma-grid-cell-column-start:7}.cell.is-col-end-7-widescreen{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7-widescreen{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7-widescreen{--bulma-grid-cell-column-span:7}.cell.is-row-start-7-widescreen{--bulma-grid-cell-row-start:7}.cell.is-row-end-7-widescreen{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7-widescreen{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7-widescreen{--bulma-grid-cell-row-span:7}.cell.is-col-start-8-widescreen{--bulma-grid-cell-column-start:8}.cell.is-col-end-8-widescreen{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8-widescreen{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8-widescreen{--bulma-grid-cell-column-span:8}.cell.is-row-start-8-widescreen{--bulma-grid-cell-row-start:8}.cell.is-row-end-8-widescreen{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8-widescreen{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8-widescreen{--bulma-grid-cell-row-span:8}.cell.is-col-start-9-widescreen{--bulma-grid-cell-column-start:9}.cell.is-col-end-9-widescreen{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9-widescreen{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9-widescreen{--bulma-grid-cell-column-span:9}.cell.is-row-start-9-widescreen{--bulma-grid-cell-row-start:9}.cell.is-row-end-9-widescreen{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9-widescreen{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9-widescreen{--bulma-grid-cell-row-span:9}.cell.is-col-start-10-widescreen{--bulma-grid-cell-column-start:10}.cell.is-col-end-10-widescreen{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10-widescreen{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10-widescreen{--bulma-grid-cell-column-span:10}.cell.is-row-start-10-widescreen{--bulma-grid-cell-row-start:10}.cell.is-row-end-10-widescreen{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10-widescreen{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10-widescreen{--bulma-grid-cell-row-span:10}.cell.is-col-start-11-widescreen{--bulma-grid-cell-column-start:11}.cell.is-col-end-11-widescreen{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11-widescreen{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11-widescreen{--bulma-grid-cell-column-span:11}.cell.is-row-start-11-widescreen{--bulma-grid-cell-row-start:11}.cell.is-row-end-11-widescreen{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11-widescreen{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11-widescreen{--bulma-grid-cell-row-span:11}.cell.is-col-start-12-widescreen{--bulma-grid-cell-column-start:12}.cell.is-col-end-12-widescreen{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12-widescreen{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12-widescreen{--bulma-grid-cell-column-span:12}.cell.is-row-start-12-widescreen{--bulma-grid-cell-row-start:12}.cell.is-row-end-12-widescreen{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12-widescreen{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12-widescreen{--bulma-grid-cell-row-span:12}}@media screen and (min-width:1216px) and (max-width:1407px){.cell.is-col-start-1-widescreen-only{--bulma-grid-cell-column-start:1}.cell.is-col-end-1-widescreen-only{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1-widescreen-only{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1-widescreen-only{--bulma-grid-cell-column-span:1}.cell.is-row-start-1-widescreen-only{--bulma-grid-cell-row-start:1}.cell.is-row-end-1-widescreen-only{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1-widescreen-only{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1-widescreen-only{--bulma-grid-cell-row-span:1}.cell.is-col-start-2-widescreen-only{--bulma-grid-cell-column-start:2}.cell.is-col-end-2-widescreen-only{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2-widescreen-only{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2-widescreen-only{--bulma-grid-cell-column-span:2}.cell.is-row-start-2-widescreen-only{--bulma-grid-cell-row-start:2}.cell.is-row-end-2-widescreen-only{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2-widescreen-only{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2-widescreen-only{--bulma-grid-cell-row-span:2}.cell.is-col-start-3-widescreen-only{--bulma-grid-cell-column-start:3}.cell.is-col-end-3-widescreen-only{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3-widescreen-only{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3-widescreen-only{--bulma-grid-cell-column-span:3}.cell.is-row-start-3-widescreen-only{--bulma-grid-cell-row-start:3}.cell.is-row-end-3-widescreen-only{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3-widescreen-only{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3-widescreen-only{--bulma-grid-cell-row-span:3}.cell.is-col-start-4-widescreen-only{--bulma-grid-cell-column-start:4}.cell.is-col-end-4-widescreen-only{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4-widescreen-only{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4-widescreen-only{--bulma-grid-cell-column-span:4}.cell.is-row-start-4-widescreen-only{--bulma-grid-cell-row-start:4}.cell.is-row-end-4-widescreen-only{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4-widescreen-only{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4-widescreen-only{--bulma-grid-cell-row-span:4}.cell.is-col-start-5-widescreen-only{--bulma-grid-cell-column-start:5}.cell.is-col-end-5-widescreen-only{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5-widescreen-only{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5-widescreen-only{--bulma-grid-cell-column-span:5}.cell.is-row-start-5-widescreen-only{--bulma-grid-cell-row-start:5}.cell.is-row-end-5-widescreen-only{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5-widescreen-only{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5-widescreen-only{--bulma-grid-cell-row-span:5}.cell.is-col-start-6-widescreen-only{--bulma-grid-cell-column-start:6}.cell.is-col-end-6-widescreen-only{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6-widescreen-only{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6-widescreen-only{--bulma-grid-cell-column-span:6}.cell.is-row-start-6-widescreen-only{--bulma-grid-cell-row-start:6}.cell.is-row-end-6-widescreen-only{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6-widescreen-only{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6-widescreen-only{--bulma-grid-cell-row-span:6}.cell.is-col-start-7-widescreen-only{--bulma-grid-cell-column-start:7}.cell.is-col-end-7-widescreen-only{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7-widescreen-only{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7-widescreen-only{--bulma-grid-cell-column-span:7}.cell.is-row-start-7-widescreen-only{--bulma-grid-cell-row-start:7}.cell.is-row-end-7-widescreen-only{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7-widescreen-only{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7-widescreen-only{--bulma-grid-cell-row-span:7}.cell.is-col-start-8-widescreen-only{--bulma-grid-cell-column-start:8}.cell.is-col-end-8-widescreen-only{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8-widescreen-only{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8-widescreen-only{--bulma-grid-cell-column-span:8}.cell.is-row-start-8-widescreen-only{--bulma-grid-cell-row-start:8}.cell.is-row-end-8-widescreen-only{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8-widescreen-only{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8-widescreen-only{--bulma-grid-cell-row-span:8}.cell.is-col-start-9-widescreen-only{--bulma-grid-cell-column-start:9}.cell.is-col-end-9-widescreen-only{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9-widescreen-only{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9-widescreen-only{--bulma-grid-cell-column-span:9}.cell.is-row-start-9-widescreen-only{--bulma-grid-cell-row-start:9}.cell.is-row-end-9-widescreen-only{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9-widescreen-only{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9-widescreen-only{--bulma-grid-cell-row-span:9}.cell.is-col-start-10-widescreen-only{--bulma-grid-cell-column-start:10}.cell.is-col-end-10-widescreen-only{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10-widescreen-only{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10-widescreen-only{--bulma-grid-cell-column-span:10}.cell.is-row-start-10-widescreen-only{--bulma-grid-cell-row-start:10}.cell.is-row-end-10-widescreen-only{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10-widescreen-only{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10-widescreen-only{--bulma-grid-cell-row-span:10}.cell.is-col-start-11-widescreen-only{--bulma-grid-cell-column-start:11}.cell.is-col-end-11-widescreen-only{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11-widescreen-only{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11-widescreen-only{--bulma-grid-cell-column-span:11}.cell.is-row-start-11-widescreen-only{--bulma-grid-cell-row-start:11}.cell.is-row-end-11-widescreen-only{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11-widescreen-only{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11-widescreen-only{--bulma-grid-cell-row-span:11}.cell.is-col-start-12-widescreen-only{--bulma-grid-cell-column-start:12}.cell.is-col-end-12-widescreen-only{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12-widescreen-only{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12-widescreen-only{--bulma-grid-cell-column-span:12}.cell.is-row-start-12-widescreen-only{--bulma-grid-cell-row-start:12}.cell.is-row-end-12-widescreen-only{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12-widescreen-only{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12-widescreen-only{--bulma-grid-cell-row-span:12}}@media screen and (min-width:1408px){.cell.is-col-start-1-fullhd{--bulma-grid-cell-column-start:1}.cell.is-col-end-1-fullhd{--bulma-grid-cell-column-end:1}.cell.is-col-from-end-1-fullhd{--bulma-grid-cell-column-start:-1}.cell.is-col-span-1-fullhd{--bulma-grid-cell-column-span:1}.cell.is-row-start-1-fullhd{--bulma-grid-cell-row-start:1}.cell.is-row-end-1-fullhd{--bulma-grid-cell-row-end:1}.cell.is-row-from-end-1-fullhd{--bulma-grid-cell-row-start:-1}.cell.is-row-span-1-fullhd{--bulma-grid-cell-row-span:1}.cell.is-col-start-2-fullhd{--bulma-grid-cell-column-start:2}.cell.is-col-end-2-fullhd{--bulma-grid-cell-column-end:2}.cell.is-col-from-end-2-fullhd{--bulma-grid-cell-column-start:-2}.cell.is-col-span-2-fullhd{--bulma-grid-cell-column-span:2}.cell.is-row-start-2-fullhd{--bulma-grid-cell-row-start:2}.cell.is-row-end-2-fullhd{--bulma-grid-cell-row-end:2}.cell.is-row-from-end-2-fullhd{--bulma-grid-cell-row-start:-2}.cell.is-row-span-2-fullhd{--bulma-grid-cell-row-span:2}.cell.is-col-start-3-fullhd{--bulma-grid-cell-column-start:3}.cell.is-col-end-3-fullhd{--bulma-grid-cell-column-end:3}.cell.is-col-from-end-3-fullhd{--bulma-grid-cell-column-start:-3}.cell.is-col-span-3-fullhd{--bulma-grid-cell-column-span:3}.cell.is-row-start-3-fullhd{--bulma-grid-cell-row-start:3}.cell.is-row-end-3-fullhd{--bulma-grid-cell-row-end:3}.cell.is-row-from-end-3-fullhd{--bulma-grid-cell-row-start:-3}.cell.is-row-span-3-fullhd{--bulma-grid-cell-row-span:3}.cell.is-col-start-4-fullhd{--bulma-grid-cell-column-start:4}.cell.is-col-end-4-fullhd{--bulma-grid-cell-column-end:4}.cell.is-col-from-end-4-fullhd{--bulma-grid-cell-column-start:-4}.cell.is-col-span-4-fullhd{--bulma-grid-cell-column-span:4}.cell.is-row-start-4-fullhd{--bulma-grid-cell-row-start:4}.cell.is-row-end-4-fullhd{--bulma-grid-cell-row-end:4}.cell.is-row-from-end-4-fullhd{--bulma-grid-cell-row-start:-4}.cell.is-row-span-4-fullhd{--bulma-grid-cell-row-span:4}.cell.is-col-start-5-fullhd{--bulma-grid-cell-column-start:5}.cell.is-col-end-5-fullhd{--bulma-grid-cell-column-end:5}.cell.is-col-from-end-5-fullhd{--bulma-grid-cell-column-start:-5}.cell.is-col-span-5-fullhd{--bulma-grid-cell-column-span:5}.cell.is-row-start-5-fullhd{--bulma-grid-cell-row-start:5}.cell.is-row-end-5-fullhd{--bulma-grid-cell-row-end:5}.cell.is-row-from-end-5-fullhd{--bulma-grid-cell-row-start:-5}.cell.is-row-span-5-fullhd{--bulma-grid-cell-row-span:5}.cell.is-col-start-6-fullhd{--bulma-grid-cell-column-start:6}.cell.is-col-end-6-fullhd{--bulma-grid-cell-column-end:6}.cell.is-col-from-end-6-fullhd{--bulma-grid-cell-column-start:-6}.cell.is-col-span-6-fullhd{--bulma-grid-cell-column-span:6}.cell.is-row-start-6-fullhd{--bulma-grid-cell-row-start:6}.cell.is-row-end-6-fullhd{--bulma-grid-cell-row-end:6}.cell.is-row-from-end-6-fullhd{--bulma-grid-cell-row-start:-6}.cell.is-row-span-6-fullhd{--bulma-grid-cell-row-span:6}.cell.is-col-start-7-fullhd{--bulma-grid-cell-column-start:7}.cell.is-col-end-7-fullhd{--bulma-grid-cell-column-end:7}.cell.is-col-from-end-7-fullhd{--bulma-grid-cell-column-start:-7}.cell.is-col-span-7-fullhd{--bulma-grid-cell-column-span:7}.cell.is-row-start-7-fullhd{--bulma-grid-cell-row-start:7}.cell.is-row-end-7-fullhd{--bulma-grid-cell-row-end:7}.cell.is-row-from-end-7-fullhd{--bulma-grid-cell-row-start:-7}.cell.is-row-span-7-fullhd{--bulma-grid-cell-row-span:7}.cell.is-col-start-8-fullhd{--bulma-grid-cell-column-start:8}.cell.is-col-end-8-fullhd{--bulma-grid-cell-column-end:8}.cell.is-col-from-end-8-fullhd{--bulma-grid-cell-column-start:-8}.cell.is-col-span-8-fullhd{--bulma-grid-cell-column-span:8}.cell.is-row-start-8-fullhd{--bulma-grid-cell-row-start:8}.cell.is-row-end-8-fullhd{--bulma-grid-cell-row-end:8}.cell.is-row-from-end-8-fullhd{--bulma-grid-cell-row-start:-8}.cell.is-row-span-8-fullhd{--bulma-grid-cell-row-span:8}.cell.is-col-start-9-fullhd{--bulma-grid-cell-column-start:9}.cell.is-col-end-9-fullhd{--bulma-grid-cell-column-end:9}.cell.is-col-from-end-9-fullhd{--bulma-grid-cell-column-start:-9}.cell.is-col-span-9-fullhd{--bulma-grid-cell-column-span:9}.cell.is-row-start-9-fullhd{--bulma-grid-cell-row-start:9}.cell.is-row-end-9-fullhd{--bulma-grid-cell-row-end:9}.cell.is-row-from-end-9-fullhd{--bulma-grid-cell-row-start:-9}.cell.is-row-span-9-fullhd{--bulma-grid-cell-row-span:9}.cell.is-col-start-10-fullhd{--bulma-grid-cell-column-start:10}.cell.is-col-end-10-fullhd{--bulma-grid-cell-column-end:10}.cell.is-col-from-end-10-fullhd{--bulma-grid-cell-column-start:-10}.cell.is-col-span-10-fullhd{--bulma-grid-cell-column-span:10}.cell.is-row-start-10-fullhd{--bulma-grid-cell-row-start:10}.cell.is-row-end-10-fullhd{--bulma-grid-cell-row-end:10}.cell.is-row-from-end-10-fullhd{--bulma-grid-cell-row-start:-10}.cell.is-row-span-10-fullhd{--bulma-grid-cell-row-span:10}.cell.is-col-start-11-fullhd{--bulma-grid-cell-column-start:11}.cell.is-col-end-11-fullhd{--bulma-grid-cell-column-end:11}.cell.is-col-from-end-11-fullhd{--bulma-grid-cell-column-start:-11}.cell.is-col-span-11-fullhd{--bulma-grid-cell-column-span:11}.cell.is-row-start-11-fullhd{--bulma-grid-cell-row-start:11}.cell.is-row-end-11-fullhd{--bulma-grid-cell-row-end:11}.cell.is-row-from-end-11-fullhd{--bulma-grid-cell-row-start:-11}.cell.is-row-span-11-fullhd{--bulma-grid-cell-row-span:11}.cell.is-col-start-12-fullhd{--bulma-grid-cell-column-start:12}.cell.is-col-end-12-fullhd{--bulma-grid-cell-column-end:12}.cell.is-col-from-end-12-fullhd{--bulma-grid-cell-column-start:-12}.cell.is-col-span-12-fullhd{--bulma-grid-cell-column-span:12}.cell.is-row-start-12-fullhd{--bulma-grid-cell-row-start:12}.cell.is-row-end-12-fullhd{--bulma-grid-cell-row-end:12}.cell.is-row-from-end-12-fullhd{--bulma-grid-cell-row-start:-12}.cell.is-row-span-12-fullhd{--bulma-grid-cell-row-span:12}}.container{flex-grow:1;margin:0 auto;position:relative;width:100%}.container.is-fluid{max-width:none!important;padding-left:32px;padding-right:32px;width:100%}@media screen and (min-width:1024px){.container{max-width:960px}}@media screen and (max-width:1215px){.container.is-widescreen:not(.is-max-desktop){max-width:1152px}}@media screen and (max-width:1407px){.container.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen){max-width:1344px}}@media screen and (min-width:1216px){.container:not(.is-max-desktop){max-width:1152px}}@media screen and (min-width:1408px){.container:not(.is-max-desktop):not(.is-max-widescreen){max-width:1344px}}.footer{--bulma-footer-background-color:var(--bulma-scheme-main-bis);--bulma-footer-color:false;--bulma-footer-padding:3rem 1.5rem 6rem;background-color:var(--bulma-footer-background-color);padding:var(--bulma-footer-padding)}.hero{--bulma-hero-body-padding:3rem 1.5rem;--bulma-hero-body-padding-tablet:3rem 3rem;--bulma-hero-body-padding-small:1.5rem;--bulma-hero-body-padding-medium:9rem 4.5rem;--bulma-hero-body-padding-large:18rem 6rem;align-items:stretch;display:flex;flex-direction:column;justify-content:space-between}.hero .navbar{background:none}.hero .tabs ul{border-bottom:none}.hero.is-white{--bulma-hero-h:var(--bulma-white-h);--bulma-hero-s:var(--bulma-white-s);--bulma-hero-background-l:var(--bulma-white-l);--bulma-hero-color-l:var(--bulma-white-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-white .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-white .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-white .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-white .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-white.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-white.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-black{--bulma-hero-h:var(--bulma-black-h);--bulma-hero-s:var(--bulma-black-s);--bulma-hero-background-l:var(--bulma-black-l);--bulma-hero-color-l:var(--bulma-black-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-black .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-black .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-black .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-black .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-black.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-black.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-light{--bulma-hero-h:var(--bulma-light-h);--bulma-hero-s:var(--bulma-light-s);--bulma-hero-background-l:var(--bulma-light-l);--bulma-hero-color-l:var(--bulma-light-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-light .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-light .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-light .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-light .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-light.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-light.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-dark{--bulma-hero-h:var(--bulma-dark-h);--bulma-hero-s:var(--bulma-dark-s);--bulma-hero-background-l:var(--bulma-dark-l);--bulma-hero-color-l:var(--bulma-dark-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-dark .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-dark .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-dark .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-dark .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-dark.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-dark.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-text{--bulma-hero-h:var(--bulma-text-h);--bulma-hero-s:var(--bulma-text-s);--bulma-hero-background-l:var(--bulma-text-l);--bulma-hero-color-l:var(--bulma-text-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-text .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-text .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-text .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-text .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-text.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-text.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-primary{--bulma-hero-h:var(--bulma-primary-h);--bulma-hero-s:var(--bulma-primary-s);--bulma-hero-background-l:var(--bulma-primary-l);--bulma-hero-color-l:var(--bulma-primary-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-primary .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-primary .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-primary .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-primary .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-primary.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-primary.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-link{--bulma-hero-h:var(--bulma-link-h);--bulma-hero-s:var(--bulma-link-s);--bulma-hero-background-l:var(--bulma-link-l);--bulma-hero-color-l:var(--bulma-link-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-link .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-link .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-link .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-link .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-link.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-link.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-info{--bulma-hero-h:var(--bulma-info-h);--bulma-hero-s:var(--bulma-info-s);--bulma-hero-background-l:var(--bulma-info-l);--bulma-hero-color-l:var(--bulma-info-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-info .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-info .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-info .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-info .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-info.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-info.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-success{--bulma-hero-h:var(--bulma-success-h);--bulma-hero-s:var(--bulma-success-s);--bulma-hero-background-l:var(--bulma-success-l);--bulma-hero-color-l:var(--bulma-success-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-success .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-success .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-success .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-success .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-success.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-success.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-warning{--bulma-hero-h:var(--bulma-warning-h);--bulma-hero-s:var(--bulma-warning-s);--bulma-hero-background-l:var(--bulma-warning-l);--bulma-hero-color-l:var(--bulma-warning-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-warning .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-warning .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-warning .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-warning .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-warning.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-warning.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-danger{--bulma-hero-h:var(--bulma-danger-h);--bulma-hero-s:var(--bulma-danger-s);--bulma-hero-background-l:var(--bulma-danger-l);--bulma-hero-color-l:var(--bulma-danger-invert-l);background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-danger .navbar{--bulma-navbar-item-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-hover-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-navbar-item-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-navbar-item-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-danger .tabs{--bulma-tabs-link-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-background-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-tabs-boxed-link-active-border-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l));--bulma-tabs-link-active-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l))}.hero.is-danger .subtitle{--bulma-subtitle-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-subtitle-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-danger .title{--bulma-title-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l));--bulma-title-strong-color:hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l))}.hero.is-danger.is-bold{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-background-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}@media screen and (max-width:768px){.hero.is-danger.is-bold .navbar-menu{background-image:linear-gradient(141deg,hsl(calc(var(--bulma-hero-h) - 5deg),calc(var(--bulma-hero-s) + 10%),calc(var(--bulma-hero-background-l) + 5%)) 0,hsl(var(--bulma-hero-h),var(--bulma-hero-s),var(--bulma-hero-color-l)) 71%,hsl(calc(var(--bulma-hero-h) + 5deg),calc(var(--bulma-hero-s) - 10%),calc(var(--bulma-hero-background-l) - 5%)) 100%)}}.hero.is-small .hero-body{padding:var(--bulma-hero-body-padding-small)}@media print,screen and (min-width:769px){.hero.is-medium .hero-body{padding:var(--bulma-hero-body-padding-medium)}.hero.is-large .hero-body{padding:var(--bulma-hero-body-padding-large)}}.hero.is-fullheight .hero-body,.hero.is-fullheight-with-navbar .hero-body,.hero.is-halfheight .hero-body{align-items:center;display:flex}.hero.is-fullheight .hero-body>.container,.hero.is-fullheight-with-navbar .hero-body>.container,.hero.is-halfheight .hero-body>.container{flex-grow:1;flex-shrink:1}.hero.is-halfheight{min-height:50vh}.hero.is-fullheight{min-height:100vh}.hero-video{overflow:hidden}.hero-video video{left:50%;min-height:100%;min-width:100%;position:absolute;top:50%;transform:translate3d(-50%,-50%,0)}.hero-video.is-transparent{opacity:.3}@media screen and (max-width:768px){.hero-video{display:none}}.hero-buttons{margin-top:1.5rem}@media screen and (max-width:768px){.hero-buttons .button{display:flex}.hero-buttons .button:not(:last-child){margin-bottom:.75rem}}@media print,screen and (min-width:769px){.hero-buttons{display:flex;justify-content:center}.hero-buttons .button:not(:last-child){margin-inline-end:1.5rem}}.hero-foot,.hero-head{flex-grow:0;flex-shrink:0}.hero-body{flex-grow:1;flex-shrink:0;padding:var(--bulma-hero-body-padding)}@media print,screen and (min-width:769px){.hero-body{padding:var(--bulma-hero-body-padding-tablet)}}.level{--bulma-level-item-spacing:calc(var(--bulma-block-spacing)*0.5);align-items:center;display:flex;flex-direction:column;gap:var(--bulma-level-item-spacing);justify-content:space-between}.level code{border-radius:var(--bulma-radius)}.level img{display:inline-block;vertical-align:top}.level.is-mobile{display:flex;flex-direction:row}.level.is-mobile .level-left,.level.is-mobile .level-right{display:flex}.level.is-mobile .level-item:not(.is-narrow){flex-grow:1}@media print,screen and (min-width:769px){.level{display:flex;flex-direction:row}.level>.level-item:not(.is-narrow){flex-grow:1}}.level-item{align-items:center;display:flex;flex-basis:auto;flex-grow:0;flex-shrink:0;justify-content:center}.level-item .subtitle,.level-item .title{margin-bottom:0}.level-left,.level-right{flex-basis:auto;flex-grow:0;flex-shrink:0;gap:calc(var(--bulma-block-spacing)*.5)}.level-left .level-item.is-flexible,.level-right .level-item.is-flexible{flex-grow:1}.level-left{align-items:center;display:flex;flex-direction:column;justify-content:flex-start}@media print,screen and (min-width:769px){.level-left{flex-direction:row}}.level-right{align-items:center;display:flex;flex-direction:column;justify-content:flex-end}@media print,screen and (min-width:769px){.level-right{flex-direction:row}}.media{--bulma-media-border-color:hsla(var(--bulma-scheme-h),var(--bulma-scheme-s),var(--bulma-border-l),0.5);--bulma-media-border-size:1px;--bulma-media-spacing:1rem;--bulma-media-spacing-large:1.5rem;--bulma-media-content-spacing:0.75rem;--bulma-media-level-1-spacing:0.75rem;--bulma-media-level-1-content-spacing:0.5rem;--bulma-media-level-2-spacing:0.5rem;align-items:flex-start;display:flex;text-align:inherit}.media .content:not(:last-child){margin-bottom:var(--bulma-media-content-spacing)}.media .media{border-top:var(--bulma-media-border-size) solid var(--bulma-media-border-color);display:flex;padding-top:var(--bulma-media-level-1-spacing)}.media .media .content:not(:last-child),.media .media .control:not(:last-child){margin-bottom:var(--bulma-media-level-1-content-spacing)}.media .media .media{padding-top:var(--bulma-media-level-2-spacing)}.media .media .media+.media{margin-top:var(--bulma-media-level-2-spacing)}.media+.media{border-top:var(--bulma-media-border-size) solid var(--bulma-media-border-color);margin-top:var(--bulma-media-spacing);padding-top:var(--bulma-media-spacing)}.media.is-large+.media{margin-top:var(--bulma-media-spacing-large);padding-top:var(--bulma-media-spacing-large)}.media-left,.media-right{flex-basis:auto;flex-grow:0;flex-shrink:0}.media-left{margin-inline-end:var(--bulma-media-spacing)}.media-right{margin-inline-start:var(--bulma-media-spacing)}.media-content{flex-basis:auto;flex-grow:1;flex-shrink:1;text-align:inherit}@media screen and (max-width:768px){.media-content{overflow-x:auto}}.section{--bulma-section-padding:3rem 1.5rem;--bulma-section-padding-desktop:3rem 3rem;--bulma-section-padding-medium:9rem 4.5rem;--bulma-section-padding-large:18rem 6rem;padding:var(--bulma-section-padding)}@media screen and (min-width:1024px){.section{padding:var(--bulma-section-padding-desktop)}.section.is-medium{padding:var(--bulma-section-padding-medium)}.section.is-large{padding:var(--bulma-section-padding-large)}}:root{--bulma-skeleton-background:var(--bulma-border);--bulma-skeleton-radius:var(--bulma-radius-small);--bulma-skeleton-block-min-height:4.5em;--bulma-skeleton-lines-gap:0.75em;--bulma-skeleton-line-height:0.75em}.has-skeleton:after,.is-skeleton,.skeleton-block,.skeleton-lines>div{animation-duration:2s;animation-iteration-count:infinite;animation-name:pulsate;animation-timing-function:cubic-bezier(.4,0,.6,1);background-color:var(--bulma-skeleton-background);border-radius:var(--bulma-skeleton-radius);box-shadow:none;pointer-events:none}.is-skeleton{color:transparent!important}.is-skeleton em,.is-skeleton strong{color:inherit}.is-skeleton img{visibility:hidden}.is-skeleton.checkbox input{opacity:0}.is-skeleton.delete{border-radius:var(--bulma-radius-rounded)}.is-skeleton.delete:after,.is-skeleton.delete:before{display:none}input.is-skeleton,textarea.is-skeleton{resize:none}input.is-skeleton::-moz-placeholder,textarea.is-skeleton::-moz-placeholder{color:transparent!important}input.is-skeleton::-webkit-input-placeholder,textarea.is-skeleton::-webkit-input-placeholder{color:transparent!important}input.is-skeleton:-moz-placeholder,textarea.is-skeleton:-moz-placeholder{color:transparent!important}input.is-skeleton:-ms-input-placeholder,textarea.is-skeleton:-ms-input-placeholder{color:transparent!important}.has-skeleton{color:transparent!important;position:relative}.has-skeleton:after{content:"";display:block;height:100%;left:0;max-width:100%;min-width:10%;position:absolute;top:0;width:7em}.skeleton-block{color:transparent!important;min-height:var(--bulma-skeleton-block-min-height)}.skeleton-lines{color:transparent!important;display:flex;flex-direction:column;gap:var(--bulma-skeleton-lines-gap);position:relative}.skeleton-lines>div{height:var(--bulma-skeleton-line-height)}.skeleton-lines>div:last-child{min-width:4em;width:30%}.skeleton{background-image:linear-gradient(0deg,transparent,transparent 50%,#f60 0,#f60);background-position:0 0;background-size:1.5em}.is-aspect-ratio-1by1{aspect-ratio:1/1}.is-aspect-ratio-5by4{aspect-ratio:5/4}.is-aspect-ratio-4by3{aspect-ratio:4/3}.is-aspect-ratio-3by2{aspect-ratio:3/2}.is-aspect-ratio-5by3{aspect-ratio:5/3}.is-aspect-ratio-16by9{aspect-ratio:16/9}.is-aspect-ratio-2by1{aspect-ratio:2/1}.is-aspect-ratio-3by1{aspect-ratio:3/1}.is-aspect-ratio-4by5{aspect-ratio:4/5}.is-aspect-ratio-3by4{aspect-ratio:3/4}.is-aspect-ratio-2by3{aspect-ratio:2/3}.is-aspect-ratio-3by5{aspect-ratio:3/5}.is-aspect-ratio-9by16{aspect-ratio:9/16}.is-aspect-ratio-1by2{aspect-ratio:1/2}.is-aspect-ratio-1by3{aspect-ratio:1/3}.has-radius-small{border-radius:var(--bulma-radius-small)}.has-radius-normal{border-radius:var(--bulma-radius)}.has-radius-large{border-radius:var(--bulma-radius-large)}.has-radius-rounded{border-radius:var(--bulma-radius-rounded)}.has-background{background-color:var(--bulma-background)}[class*=has-text-white],[class*=is-color-white]{--bulma-color-l:var(--bulma-white-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-white-h),var(--bulma-white-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-white],[class*=is-background-white]{--bulma-background-l:var(--bulma-white-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-white-h),var(--bulma-white-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-white-invert,.is-color-white-invert{--bulma-color-l:var(--bulma-white-invert-l)}.has-background-white-invert,.is-background-white-invert{--bulma-background-l:var(--bulma-white-invert-l)}.has-text-white-on-scheme,.is-color-white-on-scheme{--bulma-color-l:var(--bulma-white-on-scheme-l)}.has-background-white-on-scheme,.is-background-white-on-scheme{--bulma-background-l:var(--bulma-white-on-scheme-l)}.has-text-white-light,.is-color-white-light{--bulma-color-l:var(--bulma-white-light-l)}.has-background-white-light,.is-background-white-light{--bulma-background-l:var(--bulma-white-light-l)}.has-text-white-light-invert,.is-color-white-light-invert{--bulma-color-l:var(--bulma-white-light-invert-l)}.has-background-white-light-invert,.is-background-white-light-invert{--bulma-background-l:var(--bulma-white-light-invert-l)}.has-text-white-dark,.is-color-white-dark{--bulma-color-l:var(--bulma-white-dark-l)}.has-background-white-dark,.is-background-white-dark{--bulma-background-l:var(--bulma-white-dark-l)}.has-text-white-dark-invert,.is-color-white-dark-invert{--bulma-color-l:var(--bulma-white-dark-invert-l)}.has-background-white-dark-invert,.is-background-white-dark-invert{--bulma-background-l:var(--bulma-white-dark-invert-l)}.has-text-white-soft,.is-color-white-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-white-soft,.is-background-white-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-white-bold,.is-color-white-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-white-bold,.is-background-white-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-white-soft-invert,.is-color-white-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-white-soft-invert,.is-background-white-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-white-bold-invert,.is-color-white-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-white-bold-invert,.is-background-white-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-white-00,.is-color-white-00{--bulma-color-l:var(--bulma-white-00-l)}.has-background-white-00,.is-background-white-00{--bulma-background-l:var(--bulma-white-00-l)}.has-text-white-00-invert,.is-color-white-00-invert{--bulma-color-l:var(--bulma-white-00-invert-l)}.has-background-white-00-invert,.is-background-white-00-invert{--bulma-background-l:var(--bulma-white-00-invert-l)}.has-text-white-05,.is-color-white-05{--bulma-color-l:var(--bulma-white-05-l)}.has-background-white-05,.is-background-white-05{--bulma-background-l:var(--bulma-white-05-l)}.has-text-white-05-invert,.is-color-white-05-invert{--bulma-color-l:var(--bulma-white-05-invert-l)}.has-background-white-05-invert,.is-background-white-05-invert{--bulma-background-l:var(--bulma-white-05-invert-l)}.has-text-white-10,.is-color-white-10{--bulma-color-l:var(--bulma-white-10-l)}.has-background-white-10,.is-background-white-10{--bulma-background-l:var(--bulma-white-10-l)}.has-text-white-10-invert,.is-color-white-10-invert{--bulma-color-l:var(--bulma-white-10-invert-l)}.has-background-white-10-invert,.is-background-white-10-invert{--bulma-background-l:var(--bulma-white-10-invert-l)}.has-text-white-15,.is-color-white-15{--bulma-color-l:var(--bulma-white-15-l)}.has-background-white-15,.is-background-white-15{--bulma-background-l:var(--bulma-white-15-l)}.has-text-white-15-invert,.is-color-white-15-invert{--bulma-color-l:var(--bulma-white-15-invert-l)}.has-background-white-15-invert,.is-background-white-15-invert{--bulma-background-l:var(--bulma-white-15-invert-l)}.has-text-white-20,.is-color-white-20{--bulma-color-l:var(--bulma-white-20-l)}.has-background-white-20,.is-background-white-20{--bulma-background-l:var(--bulma-white-20-l)}.has-text-white-20-invert,.is-color-white-20-invert{--bulma-color-l:var(--bulma-white-20-invert-l)}.has-background-white-20-invert,.is-background-white-20-invert{--bulma-background-l:var(--bulma-white-20-invert-l)}.has-text-white-25,.is-color-white-25{--bulma-color-l:var(--bulma-white-25-l)}.has-background-white-25,.is-background-white-25{--bulma-background-l:var(--bulma-white-25-l)}.has-text-white-25-invert,.is-color-white-25-invert{--bulma-color-l:var(--bulma-white-25-invert-l)}.has-background-white-25-invert,.is-background-white-25-invert{--bulma-background-l:var(--bulma-white-25-invert-l)}.has-text-white-30,.is-color-white-30{--bulma-color-l:var(--bulma-white-30-l)}.has-background-white-30,.is-background-white-30{--bulma-background-l:var(--bulma-white-30-l)}.has-text-white-30-invert,.is-color-white-30-invert{--bulma-color-l:var(--bulma-white-30-invert-l)}.has-background-white-30-invert,.is-background-white-30-invert{--bulma-background-l:var(--bulma-white-30-invert-l)}.has-text-white-35,.is-color-white-35{--bulma-color-l:var(--bulma-white-35-l)}.has-background-white-35,.is-background-white-35{--bulma-background-l:var(--bulma-white-35-l)}.has-text-white-35-invert,.is-color-white-35-invert{--bulma-color-l:var(--bulma-white-35-invert-l)}.has-background-white-35-invert,.is-background-white-35-invert{--bulma-background-l:var(--bulma-white-35-invert-l)}.has-text-white-40,.is-color-white-40{--bulma-color-l:var(--bulma-white-40-l)}.has-background-white-40,.is-background-white-40{--bulma-background-l:var(--bulma-white-40-l)}.has-text-white-40-invert,.is-color-white-40-invert{--bulma-color-l:var(--bulma-white-40-invert-l)}.has-background-white-40-invert,.is-background-white-40-invert{--bulma-background-l:var(--bulma-white-40-invert-l)}.has-text-white-45,.is-color-white-45{--bulma-color-l:var(--bulma-white-45-l)}.has-background-white-45,.is-background-white-45{--bulma-background-l:var(--bulma-white-45-l)}.has-text-white-45-invert,.is-color-white-45-invert{--bulma-color-l:var(--bulma-white-45-invert-l)}.has-background-white-45-invert,.is-background-white-45-invert{--bulma-background-l:var(--bulma-white-45-invert-l)}.has-text-white-50,.is-color-white-50{--bulma-color-l:var(--bulma-white-50-l)}.has-background-white-50,.is-background-white-50{--bulma-background-l:var(--bulma-white-50-l)}.has-text-white-50-invert,.is-color-white-50-invert{--bulma-color-l:var(--bulma-white-50-invert-l)}.has-background-white-50-invert,.is-background-white-50-invert{--bulma-background-l:var(--bulma-white-50-invert-l)}.has-text-white-55,.is-color-white-55{--bulma-color-l:var(--bulma-white-55-l)}.has-background-white-55,.is-background-white-55{--bulma-background-l:var(--bulma-white-55-l)}.has-text-white-55-invert,.is-color-white-55-invert{--bulma-color-l:var(--bulma-white-55-invert-l)}.has-background-white-55-invert,.is-background-white-55-invert{--bulma-background-l:var(--bulma-white-55-invert-l)}.has-text-white-60,.is-color-white-60{--bulma-color-l:var(--bulma-white-60-l)}.has-background-white-60,.is-background-white-60{--bulma-background-l:var(--bulma-white-60-l)}.has-text-white-60-invert,.is-color-white-60-invert{--bulma-color-l:var(--bulma-white-60-invert-l)}.has-background-white-60-invert,.is-background-white-60-invert{--bulma-background-l:var(--bulma-white-60-invert-l)}.has-text-white-65,.is-color-white-65{--bulma-color-l:var(--bulma-white-65-l)}.has-background-white-65,.is-background-white-65{--bulma-background-l:var(--bulma-white-65-l)}.has-text-white-65-invert,.is-color-white-65-invert{--bulma-color-l:var(--bulma-white-65-invert-l)}.has-background-white-65-invert,.is-background-white-65-invert{--bulma-background-l:var(--bulma-white-65-invert-l)}.has-text-white-70,.is-color-white-70{--bulma-color-l:var(--bulma-white-70-l)}.has-background-white-70,.is-background-white-70{--bulma-background-l:var(--bulma-white-70-l)}.has-text-white-70-invert,.is-color-white-70-invert{--bulma-color-l:var(--bulma-white-70-invert-l)}.has-background-white-70-invert,.is-background-white-70-invert{--bulma-background-l:var(--bulma-white-70-invert-l)}.has-text-white-75,.is-color-white-75{--bulma-color-l:var(--bulma-white-75-l)}.has-background-white-75,.is-background-white-75{--bulma-background-l:var(--bulma-white-75-l)}.has-text-white-75-invert,.is-color-white-75-invert{--bulma-color-l:var(--bulma-white-75-invert-l)}.has-background-white-75-invert,.is-background-white-75-invert{--bulma-background-l:var(--bulma-white-75-invert-l)}.has-text-white-80,.is-color-white-80{--bulma-color-l:var(--bulma-white-80-l)}.has-background-white-80,.is-background-white-80{--bulma-background-l:var(--bulma-white-80-l)}.has-text-white-80-invert,.is-color-white-80-invert{--bulma-color-l:var(--bulma-white-80-invert-l)}.has-background-white-80-invert,.is-background-white-80-invert{--bulma-background-l:var(--bulma-white-80-invert-l)}.has-text-white-85,.is-color-white-85{--bulma-color-l:var(--bulma-white-85-l)}.has-background-white-85,.is-background-white-85{--bulma-background-l:var(--bulma-white-85-l)}.has-text-white-85-invert,.is-color-white-85-invert{--bulma-color-l:var(--bulma-white-85-invert-l)}.has-background-white-85-invert,.is-background-white-85-invert{--bulma-background-l:var(--bulma-white-85-invert-l)}.has-text-white-90,.is-color-white-90{--bulma-color-l:var(--bulma-white-90-l)}.has-background-white-90,.is-background-white-90{--bulma-background-l:var(--bulma-white-90-l)}.has-text-white-90-invert,.is-color-white-90-invert{--bulma-color-l:var(--bulma-white-90-invert-l)}.has-background-white-90-invert,.is-background-white-90-invert{--bulma-background-l:var(--bulma-white-90-invert-l)}.has-text-white-95,.is-color-white-95{--bulma-color-l:var(--bulma-white-95-l)}.has-background-white-95,.is-background-white-95{--bulma-background-l:var(--bulma-white-95-l)}.has-text-white-95-invert,.is-color-white-95-invert{--bulma-color-l:var(--bulma-white-95-invert-l)}.has-background-white-95-invert,.is-background-white-95-invert{--bulma-background-l:var(--bulma-white-95-invert-l)}.has-text-white-100,.is-color-white-100{--bulma-color-l:var(--bulma-white-100-l)}.has-background-white-100,.is-background-white-100{--bulma-background-l:var(--bulma-white-100-l)}.has-text-white-100-invert,.is-color-white-100-invert{--bulma-color-l:var(--bulma-white-100-invert-l)}.has-background-white-100-invert,.is-background-white-100-invert{--bulma-background-l:var(--bulma-white-100-invert-l)}a.has-text-white:focus-visible,a.has-text-white:hover,a.is-color-white:focus-visible,a.is-color-white:hover,button.has-text-white:focus-visible,button.has-text-white:hover,button.is-color-white:focus-visible,button.is-color-white:hover,has-text-white.is-hoverable:focus-visible,has-text-white.is-hoverable:hover,is-color-white.is-hoverable:focus-visible,is-color-white.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-white:active,a.is-color-white:active,button.has-text-white:active,button.is-color-white:active,has-text-white.is-hoverable:active,is-color-white.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-white:focus-visible,a.has-background-white:hover,a.is-background-white:focus-visible,a.is-background-white:hover,button.has-background-white:focus-visible,button.has-background-white:hover,button.is-background-white:focus-visible,button.is-background-white:hover,has-background-white.is-hoverable:focus-visible,has-background-white.is-hoverable:hover,is-background-white.is-hoverable:focus-visible,is-background-white.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-white:active,a.is-background-white:active,button.has-background-white:active,button.is-background-white:active,has-background-white.is-hoverable:active,is-background-white.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-white{--h:var(--bulma-white-h);--s:var(--bulma-white-s);--l:var(--bulma-white-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-white-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-white-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-white-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-white-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-white-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-white-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-white-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-white-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-white-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-white-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-white-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-white-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-white-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-white-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-white-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-white-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-white-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-white-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-white-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-white-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-white-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-black],[class*=is-color-black]{--bulma-color-l:var(--bulma-black-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-black-h),var(--bulma-black-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-black],[class*=is-background-black]{--bulma-background-l:var(--bulma-black-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-black-h),var(--bulma-black-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-black-invert,.is-color-black-invert{--bulma-color-l:var(--bulma-black-invert-l)}.has-background-black-invert,.is-background-black-invert{--bulma-background-l:var(--bulma-black-invert-l)}.has-text-black-on-scheme,.is-color-black-on-scheme{--bulma-color-l:var(--bulma-black-on-scheme-l)}.has-background-black-on-scheme,.is-background-black-on-scheme{--bulma-background-l:var(--bulma-black-on-scheme-l)}.has-text-black-light,.is-color-black-light{--bulma-color-l:var(--bulma-black-light-l)}.has-background-black-light,.is-background-black-light{--bulma-background-l:var(--bulma-black-light-l)}.has-text-black-light-invert,.is-color-black-light-invert{--bulma-color-l:var(--bulma-black-light-invert-l)}.has-background-black-light-invert,.is-background-black-light-invert{--bulma-background-l:var(--bulma-black-light-invert-l)}.has-text-black-dark,.is-color-black-dark{--bulma-color-l:var(--bulma-black-dark-l)}.has-background-black-dark,.is-background-black-dark{--bulma-background-l:var(--bulma-black-dark-l)}.has-text-black-dark-invert,.is-color-black-dark-invert{--bulma-color-l:var(--bulma-black-dark-invert-l)}.has-background-black-dark-invert,.is-background-black-dark-invert{--bulma-background-l:var(--bulma-black-dark-invert-l)}.has-text-black-soft,.is-color-black-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-black-soft,.is-background-black-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-black-bold,.is-color-black-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-black-bold,.is-background-black-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-black-soft-invert,.is-color-black-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-black-soft-invert,.is-background-black-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-black-bold-invert,.is-color-black-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-black-bold-invert,.is-background-black-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-black-00,.is-color-black-00{--bulma-color-l:var(--bulma-black-00-l)}.has-background-black-00,.is-background-black-00{--bulma-background-l:var(--bulma-black-00-l)}.has-text-black-00-invert,.is-color-black-00-invert{--bulma-color-l:var(--bulma-black-00-invert-l)}.has-background-black-00-invert,.is-background-black-00-invert{--bulma-background-l:var(--bulma-black-00-invert-l)}.has-text-black-05,.is-color-black-05{--bulma-color-l:var(--bulma-black-05-l)}.has-background-black-05,.is-background-black-05{--bulma-background-l:var(--bulma-black-05-l)}.has-text-black-05-invert,.is-color-black-05-invert{--bulma-color-l:var(--bulma-black-05-invert-l)}.has-background-black-05-invert,.is-background-black-05-invert{--bulma-background-l:var(--bulma-black-05-invert-l)}.has-text-black-10,.is-color-black-10{--bulma-color-l:var(--bulma-black-10-l)}.has-background-black-10,.is-background-black-10{--bulma-background-l:var(--bulma-black-10-l)}.has-text-black-10-invert,.is-color-black-10-invert{--bulma-color-l:var(--bulma-black-10-invert-l)}.has-background-black-10-invert,.is-background-black-10-invert{--bulma-background-l:var(--bulma-black-10-invert-l)}.has-text-black-15,.is-color-black-15{--bulma-color-l:var(--bulma-black-15-l)}.has-background-black-15,.is-background-black-15{--bulma-background-l:var(--bulma-black-15-l)}.has-text-black-15-invert,.is-color-black-15-invert{--bulma-color-l:var(--bulma-black-15-invert-l)}.has-background-black-15-invert,.is-background-black-15-invert{--bulma-background-l:var(--bulma-black-15-invert-l)}.has-text-black-20,.is-color-black-20{--bulma-color-l:var(--bulma-black-20-l)}.has-background-black-20,.is-background-black-20{--bulma-background-l:var(--bulma-black-20-l)}.has-text-black-20-invert,.is-color-black-20-invert{--bulma-color-l:var(--bulma-black-20-invert-l)}.has-background-black-20-invert,.is-background-black-20-invert{--bulma-background-l:var(--bulma-black-20-invert-l)}.has-text-black-25,.is-color-black-25{--bulma-color-l:var(--bulma-black-25-l)}.has-background-black-25,.is-background-black-25{--bulma-background-l:var(--bulma-black-25-l)}.has-text-black-25-invert,.is-color-black-25-invert{--bulma-color-l:var(--bulma-black-25-invert-l)}.has-background-black-25-invert,.is-background-black-25-invert{--bulma-background-l:var(--bulma-black-25-invert-l)}.has-text-black-30,.is-color-black-30{--bulma-color-l:var(--bulma-black-30-l)}.has-background-black-30,.is-background-black-30{--bulma-background-l:var(--bulma-black-30-l)}.has-text-black-30-invert,.is-color-black-30-invert{--bulma-color-l:var(--bulma-black-30-invert-l)}.has-background-black-30-invert,.is-background-black-30-invert{--bulma-background-l:var(--bulma-black-30-invert-l)}.has-text-black-35,.is-color-black-35{--bulma-color-l:var(--bulma-black-35-l)}.has-background-black-35,.is-background-black-35{--bulma-background-l:var(--bulma-black-35-l)}.has-text-black-35-invert,.is-color-black-35-invert{--bulma-color-l:var(--bulma-black-35-invert-l)}.has-background-black-35-invert,.is-background-black-35-invert{--bulma-background-l:var(--bulma-black-35-invert-l)}.has-text-black-40,.is-color-black-40{--bulma-color-l:var(--bulma-black-40-l)}.has-background-black-40,.is-background-black-40{--bulma-background-l:var(--bulma-black-40-l)}.has-text-black-40-invert,.is-color-black-40-invert{--bulma-color-l:var(--bulma-black-40-invert-l)}.has-background-black-40-invert,.is-background-black-40-invert{--bulma-background-l:var(--bulma-black-40-invert-l)}.has-text-black-45,.is-color-black-45{--bulma-color-l:var(--bulma-black-45-l)}.has-background-black-45,.is-background-black-45{--bulma-background-l:var(--bulma-black-45-l)}.has-text-black-45-invert,.is-color-black-45-invert{--bulma-color-l:var(--bulma-black-45-invert-l)}.has-background-black-45-invert,.is-background-black-45-invert{--bulma-background-l:var(--bulma-black-45-invert-l)}.has-text-black-50,.is-color-black-50{--bulma-color-l:var(--bulma-black-50-l)}.has-background-black-50,.is-background-black-50{--bulma-background-l:var(--bulma-black-50-l)}.has-text-black-50-invert,.is-color-black-50-invert{--bulma-color-l:var(--bulma-black-50-invert-l)}.has-background-black-50-invert,.is-background-black-50-invert{--bulma-background-l:var(--bulma-black-50-invert-l)}.has-text-black-55,.is-color-black-55{--bulma-color-l:var(--bulma-black-55-l)}.has-background-black-55,.is-background-black-55{--bulma-background-l:var(--bulma-black-55-l)}.has-text-black-55-invert,.is-color-black-55-invert{--bulma-color-l:var(--bulma-black-55-invert-l)}.has-background-black-55-invert,.is-background-black-55-invert{--bulma-background-l:var(--bulma-black-55-invert-l)}.has-text-black-60,.is-color-black-60{--bulma-color-l:var(--bulma-black-60-l)}.has-background-black-60,.is-background-black-60{--bulma-background-l:var(--bulma-black-60-l)}.has-text-black-60-invert,.is-color-black-60-invert{--bulma-color-l:var(--bulma-black-60-invert-l)}.has-background-black-60-invert,.is-background-black-60-invert{--bulma-background-l:var(--bulma-black-60-invert-l)}.has-text-black-65,.is-color-black-65{--bulma-color-l:var(--bulma-black-65-l)}.has-background-black-65,.is-background-black-65{--bulma-background-l:var(--bulma-black-65-l)}.has-text-black-65-invert,.is-color-black-65-invert{--bulma-color-l:var(--bulma-black-65-invert-l)}.has-background-black-65-invert,.is-background-black-65-invert{--bulma-background-l:var(--bulma-black-65-invert-l)}.has-text-black-70,.is-color-black-70{--bulma-color-l:var(--bulma-black-70-l)}.has-background-black-70,.is-background-black-70{--bulma-background-l:var(--bulma-black-70-l)}.has-text-black-70-invert,.is-color-black-70-invert{--bulma-color-l:var(--bulma-black-70-invert-l)}.has-background-black-70-invert,.is-background-black-70-invert{--bulma-background-l:var(--bulma-black-70-invert-l)}.has-text-black-75,.is-color-black-75{--bulma-color-l:var(--bulma-black-75-l)}.has-background-black-75,.is-background-black-75{--bulma-background-l:var(--bulma-black-75-l)}.has-text-black-75-invert,.is-color-black-75-invert{--bulma-color-l:var(--bulma-black-75-invert-l)}.has-background-black-75-invert,.is-background-black-75-invert{--bulma-background-l:var(--bulma-black-75-invert-l)}.has-text-black-80,.is-color-black-80{--bulma-color-l:var(--bulma-black-80-l)}.has-background-black-80,.is-background-black-80{--bulma-background-l:var(--bulma-black-80-l)}.has-text-black-80-invert,.is-color-black-80-invert{--bulma-color-l:var(--bulma-black-80-invert-l)}.has-background-black-80-invert,.is-background-black-80-invert{--bulma-background-l:var(--bulma-black-80-invert-l)}.has-text-black-85,.is-color-black-85{--bulma-color-l:var(--bulma-black-85-l)}.has-background-black-85,.is-background-black-85{--bulma-background-l:var(--bulma-black-85-l)}.has-text-black-85-invert,.is-color-black-85-invert{--bulma-color-l:var(--bulma-black-85-invert-l)}.has-background-black-85-invert,.is-background-black-85-invert{--bulma-background-l:var(--bulma-black-85-invert-l)}.has-text-black-90,.is-color-black-90{--bulma-color-l:var(--bulma-black-90-l)}.has-background-black-90,.is-background-black-90{--bulma-background-l:var(--bulma-black-90-l)}.has-text-black-90-invert,.is-color-black-90-invert{--bulma-color-l:var(--bulma-black-90-invert-l)}.has-background-black-90-invert,.is-background-black-90-invert{--bulma-background-l:var(--bulma-black-90-invert-l)}.has-text-black-95,.is-color-black-95{--bulma-color-l:var(--bulma-black-95-l)}.has-background-black-95,.is-background-black-95{--bulma-background-l:var(--bulma-black-95-l)}.has-text-black-95-invert,.is-color-black-95-invert{--bulma-color-l:var(--bulma-black-95-invert-l)}.has-background-black-95-invert,.is-background-black-95-invert{--bulma-background-l:var(--bulma-black-95-invert-l)}.has-text-black-100,.is-color-black-100{--bulma-color-l:var(--bulma-black-100-l)}.has-background-black-100,.is-background-black-100{--bulma-background-l:var(--bulma-black-100-l)}.has-text-black-100-invert,.is-color-black-100-invert{--bulma-color-l:var(--bulma-black-100-invert-l)}.has-background-black-100-invert,.is-background-black-100-invert{--bulma-background-l:var(--bulma-black-100-invert-l)}a.has-text-black:focus-visible,a.has-text-black:hover,a.is-color-black:focus-visible,a.is-color-black:hover,button.has-text-black:focus-visible,button.has-text-black:hover,button.is-color-black:focus-visible,button.is-color-black:hover,has-text-black.is-hoverable:focus-visible,has-text-black.is-hoverable:hover,is-color-black.is-hoverable:focus-visible,is-color-black.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-black:active,a.is-color-black:active,button.has-text-black:active,button.is-color-black:active,has-text-black.is-hoverable:active,is-color-black.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-black:focus-visible,a.has-background-black:hover,a.is-background-black:focus-visible,a.is-background-black:hover,button.has-background-black:focus-visible,button.has-background-black:hover,button.is-background-black:focus-visible,button.is-background-black:hover,has-background-black.is-hoverable:focus-visible,has-background-black.is-hoverable:hover,is-background-black.is-hoverable:focus-visible,is-background-black.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-black:active,a.is-background-black:active,button.has-background-black:active,button.is-background-black:active,has-background-black.is-hoverable:active,is-background-black.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-black{--h:var(--bulma-black-h);--s:var(--bulma-black-s);--l:var(--bulma-black-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-black-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-black-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-black-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-black-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-black-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-black-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-black-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-black-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-black-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-black-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-black-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-black-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-black-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-black-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-black-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-black-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-black-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-black-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-black-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-black-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-black-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-light],[class*=is-color-light]{--bulma-color-l:var(--bulma-light-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-light-h),var(--bulma-light-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-light],[class*=is-background-light]{--bulma-background-l:var(--bulma-light-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-light-h),var(--bulma-light-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-light-invert,.is-color-light-invert{--bulma-color-l:var(--bulma-light-invert-l)}.has-background-light-invert,.is-background-light-invert{--bulma-background-l:var(--bulma-light-invert-l)}.has-text-light-on-scheme,.is-color-light-on-scheme{--bulma-color-l:var(--bulma-light-on-scheme-l)}.has-background-light-on-scheme,.is-background-light-on-scheme{--bulma-background-l:var(--bulma-light-on-scheme-l)}.has-text-light-light,.is-color-light-light{--bulma-color-l:var(--bulma-light-light-l)}.has-background-light-light,.is-background-light-light{--bulma-background-l:var(--bulma-light-light-l)}.has-text-light-light-invert,.is-color-light-light-invert{--bulma-color-l:var(--bulma-light-light-invert-l)}.has-background-light-light-invert,.is-background-light-light-invert{--bulma-background-l:var(--bulma-light-light-invert-l)}.has-text-light-dark,.is-color-light-dark{--bulma-color-l:var(--bulma-light-dark-l)}.has-background-light-dark,.is-background-light-dark{--bulma-background-l:var(--bulma-light-dark-l)}.has-text-light-dark-invert,.is-color-light-dark-invert{--bulma-color-l:var(--bulma-light-dark-invert-l)}.has-background-light-dark-invert,.is-background-light-dark-invert{--bulma-background-l:var(--bulma-light-dark-invert-l)}.has-text-light-soft,.is-color-light-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-light-soft,.is-background-light-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-light-bold,.is-color-light-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-light-bold,.is-background-light-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-light-soft-invert,.is-color-light-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-light-soft-invert,.is-background-light-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-light-bold-invert,.is-color-light-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-light-bold-invert,.is-background-light-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-light-00,.is-color-light-00{--bulma-color-l:var(--bulma-light-00-l)}.has-background-light-00,.is-background-light-00{--bulma-background-l:var(--bulma-light-00-l)}.has-text-light-00-invert,.is-color-light-00-invert{--bulma-color-l:var(--bulma-light-00-invert-l)}.has-background-light-00-invert,.is-background-light-00-invert{--bulma-background-l:var(--bulma-light-00-invert-l)}.has-text-light-05,.is-color-light-05{--bulma-color-l:var(--bulma-light-05-l)}.has-background-light-05,.is-background-light-05{--bulma-background-l:var(--bulma-light-05-l)}.has-text-light-05-invert,.is-color-light-05-invert{--bulma-color-l:var(--bulma-light-05-invert-l)}.has-background-light-05-invert,.is-background-light-05-invert{--bulma-background-l:var(--bulma-light-05-invert-l)}.has-text-light-10,.is-color-light-10{--bulma-color-l:var(--bulma-light-10-l)}.has-background-light-10,.is-background-light-10{--bulma-background-l:var(--bulma-light-10-l)}.has-text-light-10-invert,.is-color-light-10-invert{--bulma-color-l:var(--bulma-light-10-invert-l)}.has-background-light-10-invert,.is-background-light-10-invert{--bulma-background-l:var(--bulma-light-10-invert-l)}.has-text-light-15,.is-color-light-15{--bulma-color-l:var(--bulma-light-15-l)}.has-background-light-15,.is-background-light-15{--bulma-background-l:var(--bulma-light-15-l)}.has-text-light-15-invert,.is-color-light-15-invert{--bulma-color-l:var(--bulma-light-15-invert-l)}.has-background-light-15-invert,.is-background-light-15-invert{--bulma-background-l:var(--bulma-light-15-invert-l)}.has-text-light-20,.is-color-light-20{--bulma-color-l:var(--bulma-light-20-l)}.has-background-light-20,.is-background-light-20{--bulma-background-l:var(--bulma-light-20-l)}.has-text-light-20-invert,.is-color-light-20-invert{--bulma-color-l:var(--bulma-light-20-invert-l)}.has-background-light-20-invert,.is-background-light-20-invert{--bulma-background-l:var(--bulma-light-20-invert-l)}.has-text-light-25,.is-color-light-25{--bulma-color-l:var(--bulma-light-25-l)}.has-background-light-25,.is-background-light-25{--bulma-background-l:var(--bulma-light-25-l)}.has-text-light-25-invert,.is-color-light-25-invert{--bulma-color-l:var(--bulma-light-25-invert-l)}.has-background-light-25-invert,.is-background-light-25-invert{--bulma-background-l:var(--bulma-light-25-invert-l)}.has-text-light-30,.is-color-light-30{--bulma-color-l:var(--bulma-light-30-l)}.has-background-light-30,.is-background-light-30{--bulma-background-l:var(--bulma-light-30-l)}.has-text-light-30-invert,.is-color-light-30-invert{--bulma-color-l:var(--bulma-light-30-invert-l)}.has-background-light-30-invert,.is-background-light-30-invert{--bulma-background-l:var(--bulma-light-30-invert-l)}.has-text-light-35,.is-color-light-35{--bulma-color-l:var(--bulma-light-35-l)}.has-background-light-35,.is-background-light-35{--bulma-background-l:var(--bulma-light-35-l)}.has-text-light-35-invert,.is-color-light-35-invert{--bulma-color-l:var(--bulma-light-35-invert-l)}.has-background-light-35-invert,.is-background-light-35-invert{--bulma-background-l:var(--bulma-light-35-invert-l)}.has-text-light-40,.is-color-light-40{--bulma-color-l:var(--bulma-light-40-l)}.has-background-light-40,.is-background-light-40{--bulma-background-l:var(--bulma-light-40-l)}.has-text-light-40-invert,.is-color-light-40-invert{--bulma-color-l:var(--bulma-light-40-invert-l)}.has-background-light-40-invert,.is-background-light-40-invert{--bulma-background-l:var(--bulma-light-40-invert-l)}.has-text-light-45,.is-color-light-45{--bulma-color-l:var(--bulma-light-45-l)}.has-background-light-45,.is-background-light-45{--bulma-background-l:var(--bulma-light-45-l)}.has-text-light-45-invert,.is-color-light-45-invert{--bulma-color-l:var(--bulma-light-45-invert-l)}.has-background-light-45-invert,.is-background-light-45-invert{--bulma-background-l:var(--bulma-light-45-invert-l)}.has-text-light-50,.is-color-light-50{--bulma-color-l:var(--bulma-light-50-l)}.has-background-light-50,.is-background-light-50{--bulma-background-l:var(--bulma-light-50-l)}.has-text-light-50-invert,.is-color-light-50-invert{--bulma-color-l:var(--bulma-light-50-invert-l)}.has-background-light-50-invert,.is-background-light-50-invert{--bulma-background-l:var(--bulma-light-50-invert-l)}.has-text-light-55,.is-color-light-55{--bulma-color-l:var(--bulma-light-55-l)}.has-background-light-55,.is-background-light-55{--bulma-background-l:var(--bulma-light-55-l)}.has-text-light-55-invert,.is-color-light-55-invert{--bulma-color-l:var(--bulma-light-55-invert-l)}.has-background-light-55-invert,.is-background-light-55-invert{--bulma-background-l:var(--bulma-light-55-invert-l)}.has-text-light-60,.is-color-light-60{--bulma-color-l:var(--bulma-light-60-l)}.has-background-light-60,.is-background-light-60{--bulma-background-l:var(--bulma-light-60-l)}.has-text-light-60-invert,.is-color-light-60-invert{--bulma-color-l:var(--bulma-light-60-invert-l)}.has-background-light-60-invert,.is-background-light-60-invert{--bulma-background-l:var(--bulma-light-60-invert-l)}.has-text-light-65,.is-color-light-65{--bulma-color-l:var(--bulma-light-65-l)}.has-background-light-65,.is-background-light-65{--bulma-background-l:var(--bulma-light-65-l)}.has-text-light-65-invert,.is-color-light-65-invert{--bulma-color-l:var(--bulma-light-65-invert-l)}.has-background-light-65-invert,.is-background-light-65-invert{--bulma-background-l:var(--bulma-light-65-invert-l)}.has-text-light-70,.is-color-light-70{--bulma-color-l:var(--bulma-light-70-l)}.has-background-light-70,.is-background-light-70{--bulma-background-l:var(--bulma-light-70-l)}.has-text-light-70-invert,.is-color-light-70-invert{--bulma-color-l:var(--bulma-light-70-invert-l)}.has-background-light-70-invert,.is-background-light-70-invert{--bulma-background-l:var(--bulma-light-70-invert-l)}.has-text-light-75,.is-color-light-75{--bulma-color-l:var(--bulma-light-75-l)}.has-background-light-75,.is-background-light-75{--bulma-background-l:var(--bulma-light-75-l)}.has-text-light-75-invert,.is-color-light-75-invert{--bulma-color-l:var(--bulma-light-75-invert-l)}.has-background-light-75-invert,.is-background-light-75-invert{--bulma-background-l:var(--bulma-light-75-invert-l)}.has-text-light-80,.is-color-light-80{--bulma-color-l:var(--bulma-light-80-l)}.has-background-light-80,.is-background-light-80{--bulma-background-l:var(--bulma-light-80-l)}.has-text-light-80-invert,.is-color-light-80-invert{--bulma-color-l:var(--bulma-light-80-invert-l)}.has-background-light-80-invert,.is-background-light-80-invert{--bulma-background-l:var(--bulma-light-80-invert-l)}.has-text-light-85,.is-color-light-85{--bulma-color-l:var(--bulma-light-85-l)}.has-background-light-85,.is-background-light-85{--bulma-background-l:var(--bulma-light-85-l)}.has-text-light-85-invert,.is-color-light-85-invert{--bulma-color-l:var(--bulma-light-85-invert-l)}.has-background-light-85-invert,.is-background-light-85-invert{--bulma-background-l:var(--bulma-light-85-invert-l)}.has-text-light-90,.is-color-light-90{--bulma-color-l:var(--bulma-light-90-l)}.has-background-light-90,.is-background-light-90{--bulma-background-l:var(--bulma-light-90-l)}.has-text-light-90-invert,.is-color-light-90-invert{--bulma-color-l:var(--bulma-light-90-invert-l)}.has-background-light-90-invert,.is-background-light-90-invert{--bulma-background-l:var(--bulma-light-90-invert-l)}.has-text-light-95,.is-color-light-95{--bulma-color-l:var(--bulma-light-95-l)}.has-background-light-95,.is-background-light-95{--bulma-background-l:var(--bulma-light-95-l)}.has-text-light-95-invert,.is-color-light-95-invert{--bulma-color-l:var(--bulma-light-95-invert-l)}.has-background-light-95-invert,.is-background-light-95-invert{--bulma-background-l:var(--bulma-light-95-invert-l)}.has-text-light-100,.is-color-light-100{--bulma-color-l:var(--bulma-light-100-l)}.has-background-light-100,.is-background-light-100{--bulma-background-l:var(--bulma-light-100-l)}.has-text-light-100-invert,.is-color-light-100-invert{--bulma-color-l:var(--bulma-light-100-invert-l)}.has-background-light-100-invert,.is-background-light-100-invert{--bulma-background-l:var(--bulma-light-100-invert-l)}a.has-text-light:focus-visible,a.has-text-light:hover,a.is-color-light:focus-visible,a.is-color-light:hover,button.has-text-light:focus-visible,button.has-text-light:hover,button.is-color-light:focus-visible,button.is-color-light:hover,has-text-light.is-hoverable:focus-visible,has-text-light.is-hoverable:hover,is-color-light.is-hoverable:focus-visible,is-color-light.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-light:active,a.is-color-light:active,button.has-text-light:active,button.is-color-light:active,has-text-light.is-hoverable:active,is-color-light.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-light:focus-visible,a.has-background-light:hover,a.is-background-light:focus-visible,a.is-background-light:hover,button.has-background-light:focus-visible,button.has-background-light:hover,button.is-background-light:focus-visible,button.is-background-light:hover,has-background-light.is-hoverable:focus-visible,has-background-light.is-hoverable:hover,is-background-light.is-hoverable:focus-visible,is-background-light.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-light:active,a.is-background-light:active,button.has-background-light:active,button.is-background-light:active,has-background-light.is-hoverable:active,is-background-light.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-light{--h:var(--bulma-light-h);--s:var(--bulma-light-s);--l:var(--bulma-light-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-light-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-light-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-light-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-light-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-light-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-light-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-light-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-light-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-light-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-light-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-light-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-light-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-light-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-light-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-light-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-light-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-light-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-light-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-light-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-light-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-light-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-dark],[class*=is-color-dark]{--bulma-color-l:var(--bulma-dark-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-dark-h),var(--bulma-dark-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-dark],[class*=is-background-dark]{--bulma-background-l:var(--bulma-dark-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-dark-h),var(--bulma-dark-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-dark-invert,.is-color-dark-invert{--bulma-color-l:var(--bulma-dark-invert-l)}.has-background-dark-invert,.is-background-dark-invert{--bulma-background-l:var(--bulma-dark-invert-l)}.has-text-dark-on-scheme,.is-color-dark-on-scheme{--bulma-color-l:var(--bulma-dark-on-scheme-l)}.has-background-dark-on-scheme,.is-background-dark-on-scheme{--bulma-background-l:var(--bulma-dark-on-scheme-l)}.has-text-dark-light,.is-color-dark-light{--bulma-color-l:var(--bulma-dark-light-l)}.has-background-dark-light,.is-background-dark-light{--bulma-background-l:var(--bulma-dark-light-l)}.has-text-dark-light-invert,.is-color-dark-light-invert{--bulma-color-l:var(--bulma-dark-light-invert-l)}.has-background-dark-light-invert,.is-background-dark-light-invert{--bulma-background-l:var(--bulma-dark-light-invert-l)}.has-text-dark-dark,.is-color-dark-dark{--bulma-color-l:var(--bulma-dark-dark-l)}.has-background-dark-dark,.is-background-dark-dark{--bulma-background-l:var(--bulma-dark-dark-l)}.has-text-dark-dark-invert,.is-color-dark-dark-invert{--bulma-color-l:var(--bulma-dark-dark-invert-l)}.has-background-dark-dark-invert,.is-background-dark-dark-invert{--bulma-background-l:var(--bulma-dark-dark-invert-l)}.has-text-dark-soft,.is-color-dark-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-dark-soft,.is-background-dark-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-dark-bold,.is-color-dark-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-dark-bold,.is-background-dark-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-dark-soft-invert,.is-color-dark-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-dark-soft-invert,.is-background-dark-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-dark-bold-invert,.is-color-dark-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-dark-bold-invert,.is-background-dark-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-dark-00,.is-color-dark-00{--bulma-color-l:var(--bulma-dark-00-l)}.has-background-dark-00,.is-background-dark-00{--bulma-background-l:var(--bulma-dark-00-l)}.has-text-dark-00-invert,.is-color-dark-00-invert{--bulma-color-l:var(--bulma-dark-00-invert-l)}.has-background-dark-00-invert,.is-background-dark-00-invert{--bulma-background-l:var(--bulma-dark-00-invert-l)}.has-text-dark-05,.is-color-dark-05{--bulma-color-l:var(--bulma-dark-05-l)}.has-background-dark-05,.is-background-dark-05{--bulma-background-l:var(--bulma-dark-05-l)}.has-text-dark-05-invert,.is-color-dark-05-invert{--bulma-color-l:var(--bulma-dark-05-invert-l)}.has-background-dark-05-invert,.is-background-dark-05-invert{--bulma-background-l:var(--bulma-dark-05-invert-l)}.has-text-dark-10,.is-color-dark-10{--bulma-color-l:var(--bulma-dark-10-l)}.has-background-dark-10,.is-background-dark-10{--bulma-background-l:var(--bulma-dark-10-l)}.has-text-dark-10-invert,.is-color-dark-10-invert{--bulma-color-l:var(--bulma-dark-10-invert-l)}.has-background-dark-10-invert,.is-background-dark-10-invert{--bulma-background-l:var(--bulma-dark-10-invert-l)}.has-text-dark-15,.is-color-dark-15{--bulma-color-l:var(--bulma-dark-15-l)}.has-background-dark-15,.is-background-dark-15{--bulma-background-l:var(--bulma-dark-15-l)}.has-text-dark-15-invert,.is-color-dark-15-invert{--bulma-color-l:var(--bulma-dark-15-invert-l)}.has-background-dark-15-invert,.is-background-dark-15-invert{--bulma-background-l:var(--bulma-dark-15-invert-l)}.has-text-dark-20,.is-color-dark-20{--bulma-color-l:var(--bulma-dark-20-l)}.has-background-dark-20,.is-background-dark-20{--bulma-background-l:var(--bulma-dark-20-l)}.has-text-dark-20-invert,.is-color-dark-20-invert{--bulma-color-l:var(--bulma-dark-20-invert-l)}.has-background-dark-20-invert,.is-background-dark-20-invert{--bulma-background-l:var(--bulma-dark-20-invert-l)}.has-text-dark-25,.is-color-dark-25{--bulma-color-l:var(--bulma-dark-25-l)}.has-background-dark-25,.is-background-dark-25{--bulma-background-l:var(--bulma-dark-25-l)}.has-text-dark-25-invert,.is-color-dark-25-invert{--bulma-color-l:var(--bulma-dark-25-invert-l)}.has-background-dark-25-invert,.is-background-dark-25-invert{--bulma-background-l:var(--bulma-dark-25-invert-l)}.has-text-dark-30,.is-color-dark-30{--bulma-color-l:var(--bulma-dark-30-l)}.has-background-dark-30,.is-background-dark-30{--bulma-background-l:var(--bulma-dark-30-l)}.has-text-dark-30-invert,.is-color-dark-30-invert{--bulma-color-l:var(--bulma-dark-30-invert-l)}.has-background-dark-30-invert,.is-background-dark-30-invert{--bulma-background-l:var(--bulma-dark-30-invert-l)}.has-text-dark-35,.is-color-dark-35{--bulma-color-l:var(--bulma-dark-35-l)}.has-background-dark-35,.is-background-dark-35{--bulma-background-l:var(--bulma-dark-35-l)}.has-text-dark-35-invert,.is-color-dark-35-invert{--bulma-color-l:var(--bulma-dark-35-invert-l)}.has-background-dark-35-invert,.is-background-dark-35-invert{--bulma-background-l:var(--bulma-dark-35-invert-l)}.has-text-dark-40,.is-color-dark-40{--bulma-color-l:var(--bulma-dark-40-l)}.has-background-dark-40,.is-background-dark-40{--bulma-background-l:var(--bulma-dark-40-l)}.has-text-dark-40-invert,.is-color-dark-40-invert{--bulma-color-l:var(--bulma-dark-40-invert-l)}.has-background-dark-40-invert,.is-background-dark-40-invert{--bulma-background-l:var(--bulma-dark-40-invert-l)}.has-text-dark-45,.is-color-dark-45{--bulma-color-l:var(--bulma-dark-45-l)}.has-background-dark-45,.is-background-dark-45{--bulma-background-l:var(--bulma-dark-45-l)}.has-text-dark-45-invert,.is-color-dark-45-invert{--bulma-color-l:var(--bulma-dark-45-invert-l)}.has-background-dark-45-invert,.is-background-dark-45-invert{--bulma-background-l:var(--bulma-dark-45-invert-l)}.has-text-dark-50,.is-color-dark-50{--bulma-color-l:var(--bulma-dark-50-l)}.has-background-dark-50,.is-background-dark-50{--bulma-background-l:var(--bulma-dark-50-l)}.has-text-dark-50-invert,.is-color-dark-50-invert{--bulma-color-l:var(--bulma-dark-50-invert-l)}.has-background-dark-50-invert,.is-background-dark-50-invert{--bulma-background-l:var(--bulma-dark-50-invert-l)}.has-text-dark-55,.is-color-dark-55{--bulma-color-l:var(--bulma-dark-55-l)}.has-background-dark-55,.is-background-dark-55{--bulma-background-l:var(--bulma-dark-55-l)}.has-text-dark-55-invert,.is-color-dark-55-invert{--bulma-color-l:var(--bulma-dark-55-invert-l)}.has-background-dark-55-invert,.is-background-dark-55-invert{--bulma-background-l:var(--bulma-dark-55-invert-l)}.has-text-dark-60,.is-color-dark-60{--bulma-color-l:var(--bulma-dark-60-l)}.has-background-dark-60,.is-background-dark-60{--bulma-background-l:var(--bulma-dark-60-l)}.has-text-dark-60-invert,.is-color-dark-60-invert{--bulma-color-l:var(--bulma-dark-60-invert-l)}.has-background-dark-60-invert,.is-background-dark-60-invert{--bulma-background-l:var(--bulma-dark-60-invert-l)}.has-text-dark-65,.is-color-dark-65{--bulma-color-l:var(--bulma-dark-65-l)}.has-background-dark-65,.is-background-dark-65{--bulma-background-l:var(--bulma-dark-65-l)}.has-text-dark-65-invert,.is-color-dark-65-invert{--bulma-color-l:var(--bulma-dark-65-invert-l)}.has-background-dark-65-invert,.is-background-dark-65-invert{--bulma-background-l:var(--bulma-dark-65-invert-l)}.has-text-dark-70,.is-color-dark-70{--bulma-color-l:var(--bulma-dark-70-l)}.has-background-dark-70,.is-background-dark-70{--bulma-background-l:var(--bulma-dark-70-l)}.has-text-dark-70-invert,.is-color-dark-70-invert{--bulma-color-l:var(--bulma-dark-70-invert-l)}.has-background-dark-70-invert,.is-background-dark-70-invert{--bulma-background-l:var(--bulma-dark-70-invert-l)}.has-text-dark-75,.is-color-dark-75{--bulma-color-l:var(--bulma-dark-75-l)}.has-background-dark-75,.is-background-dark-75{--bulma-background-l:var(--bulma-dark-75-l)}.has-text-dark-75-invert,.is-color-dark-75-invert{--bulma-color-l:var(--bulma-dark-75-invert-l)}.has-background-dark-75-invert,.is-background-dark-75-invert{--bulma-background-l:var(--bulma-dark-75-invert-l)}.has-text-dark-80,.is-color-dark-80{--bulma-color-l:var(--bulma-dark-80-l)}.has-background-dark-80,.is-background-dark-80{--bulma-background-l:var(--bulma-dark-80-l)}.has-text-dark-80-invert,.is-color-dark-80-invert{--bulma-color-l:var(--bulma-dark-80-invert-l)}.has-background-dark-80-invert,.is-background-dark-80-invert{--bulma-background-l:var(--bulma-dark-80-invert-l)}.has-text-dark-85,.is-color-dark-85{--bulma-color-l:var(--bulma-dark-85-l)}.has-background-dark-85,.is-background-dark-85{--bulma-background-l:var(--bulma-dark-85-l)}.has-text-dark-85-invert,.is-color-dark-85-invert{--bulma-color-l:var(--bulma-dark-85-invert-l)}.has-background-dark-85-invert,.is-background-dark-85-invert{--bulma-background-l:var(--bulma-dark-85-invert-l)}.has-text-dark-90,.is-color-dark-90{--bulma-color-l:var(--bulma-dark-90-l)}.has-background-dark-90,.is-background-dark-90{--bulma-background-l:var(--bulma-dark-90-l)}.has-text-dark-90-invert,.is-color-dark-90-invert{--bulma-color-l:var(--bulma-dark-90-invert-l)}.has-background-dark-90-invert,.is-background-dark-90-invert{--bulma-background-l:var(--bulma-dark-90-invert-l)}.has-text-dark-95,.is-color-dark-95{--bulma-color-l:var(--bulma-dark-95-l)}.has-background-dark-95,.is-background-dark-95{--bulma-background-l:var(--bulma-dark-95-l)}.has-text-dark-95-invert,.is-color-dark-95-invert{--bulma-color-l:var(--bulma-dark-95-invert-l)}.has-background-dark-95-invert,.is-background-dark-95-invert{--bulma-background-l:var(--bulma-dark-95-invert-l)}.has-text-dark-100,.is-color-dark-100{--bulma-color-l:var(--bulma-dark-100-l)}.has-background-dark-100,.is-background-dark-100{--bulma-background-l:var(--bulma-dark-100-l)}.has-text-dark-100-invert,.is-color-dark-100-invert{--bulma-color-l:var(--bulma-dark-100-invert-l)}.has-background-dark-100-invert,.is-background-dark-100-invert{--bulma-background-l:var(--bulma-dark-100-invert-l)}a.has-text-dark:focus-visible,a.has-text-dark:hover,a.is-color-dark:focus-visible,a.is-color-dark:hover,button.has-text-dark:focus-visible,button.has-text-dark:hover,button.is-color-dark:focus-visible,button.is-color-dark:hover,has-text-dark.is-hoverable:focus-visible,has-text-dark.is-hoverable:hover,is-color-dark.is-hoverable:focus-visible,is-color-dark.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-dark:active,a.is-color-dark:active,button.has-text-dark:active,button.is-color-dark:active,has-text-dark.is-hoverable:active,is-color-dark.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-dark:focus-visible,a.has-background-dark:hover,a.is-background-dark:focus-visible,a.is-background-dark:hover,button.has-background-dark:focus-visible,button.has-background-dark:hover,button.is-background-dark:focus-visible,button.is-background-dark:hover,has-background-dark.is-hoverable:focus-visible,has-background-dark.is-hoverable:hover,is-background-dark.is-hoverable:focus-visible,is-background-dark.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-dark:active,a.is-background-dark:active,button.has-background-dark:active,button.is-background-dark:active,has-background-dark.is-hoverable:active,is-background-dark.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-dark{--h:var(--bulma-dark-h);--s:var(--bulma-dark-s);--l:var(--bulma-dark-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-dark-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-dark-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-dark-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-dark-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-dark-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-dark-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-dark-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-dark-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-dark-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-dark-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-dark-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-dark-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-dark-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-dark-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-dark-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-dark-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-dark-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-dark-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-dark-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-dark-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-dark-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-text],[class*=is-color-text]{--bulma-color-l:var(--bulma-text-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-text-h),var(--bulma-text-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-text],[class*=is-background-text]{--bulma-background-l:var(--bulma-text-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-text-h),var(--bulma-text-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-text-invert,.is-color-text-invert{--bulma-color-l:var(--bulma-text-invert-l)}.has-background-text-invert,.is-background-text-invert{--bulma-background-l:var(--bulma-text-invert-l)}.has-text-text-on-scheme,.is-color-text-on-scheme{--bulma-color-l:var(--bulma-text-on-scheme-l)}.has-background-text-on-scheme,.is-background-text-on-scheme{--bulma-background-l:var(--bulma-text-on-scheme-l)}.has-text-text-light,.is-color-text-light{--bulma-color-l:var(--bulma-text-light-l)}.has-background-text-light,.is-background-text-light{--bulma-background-l:var(--bulma-text-light-l)}.has-text-text-light-invert,.is-color-text-light-invert{--bulma-color-l:var(--bulma-text-light-invert-l)}.has-background-text-light-invert,.is-background-text-light-invert{--bulma-background-l:var(--bulma-text-light-invert-l)}.has-text-text-dark,.is-color-text-dark{--bulma-color-l:var(--bulma-text-dark-l)}.has-background-text-dark,.is-background-text-dark{--bulma-background-l:var(--bulma-text-dark-l)}.has-text-text-dark-invert,.is-color-text-dark-invert{--bulma-color-l:var(--bulma-text-dark-invert-l)}.has-background-text-dark-invert,.is-background-text-dark-invert{--bulma-background-l:var(--bulma-text-dark-invert-l)}.has-text-text-soft,.is-color-text-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-text-soft,.is-background-text-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-text-bold,.is-color-text-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-text-bold,.is-background-text-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-text-soft-invert,.is-color-text-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-text-soft-invert,.is-background-text-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-text-bold-invert,.is-color-text-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-text-bold-invert,.is-background-text-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-text-00,.is-color-text-00{--bulma-color-l:var(--bulma-text-00-l)}.has-background-text-00,.is-background-text-00{--bulma-background-l:var(--bulma-text-00-l)}.has-text-text-00-invert,.is-color-text-00-invert{--bulma-color-l:var(--bulma-text-00-invert-l)}.has-background-text-00-invert,.is-background-text-00-invert{--bulma-background-l:var(--bulma-text-00-invert-l)}.has-text-text-05,.is-color-text-05{--bulma-color-l:var(--bulma-text-05-l)}.has-background-text-05,.is-background-text-05{--bulma-background-l:var(--bulma-text-05-l)}.has-text-text-05-invert,.is-color-text-05-invert{--bulma-color-l:var(--bulma-text-05-invert-l)}.has-background-text-05-invert,.is-background-text-05-invert{--bulma-background-l:var(--bulma-text-05-invert-l)}.has-text-text-10,.is-color-text-10{--bulma-color-l:var(--bulma-text-10-l)}.has-background-text-10,.is-background-text-10{--bulma-background-l:var(--bulma-text-10-l)}.has-text-text-10-invert,.is-color-text-10-invert{--bulma-color-l:var(--bulma-text-10-invert-l)}.has-background-text-10-invert,.is-background-text-10-invert{--bulma-background-l:var(--bulma-text-10-invert-l)}.has-text-text-15,.is-color-text-15{--bulma-color-l:var(--bulma-text-15-l)}.has-background-text-15,.is-background-text-15{--bulma-background-l:var(--bulma-text-15-l)}.has-text-text-15-invert,.is-color-text-15-invert{--bulma-color-l:var(--bulma-text-15-invert-l)}.has-background-text-15-invert,.is-background-text-15-invert{--bulma-background-l:var(--bulma-text-15-invert-l)}.has-text-text-20,.is-color-text-20{--bulma-color-l:var(--bulma-text-20-l)}.has-background-text-20,.is-background-text-20{--bulma-background-l:var(--bulma-text-20-l)}.has-text-text-20-invert,.is-color-text-20-invert{--bulma-color-l:var(--bulma-text-20-invert-l)}.has-background-text-20-invert,.is-background-text-20-invert{--bulma-background-l:var(--bulma-text-20-invert-l)}.has-text-text-25,.is-color-text-25{--bulma-color-l:var(--bulma-text-25-l)}.has-background-text-25,.is-background-text-25{--bulma-background-l:var(--bulma-text-25-l)}.has-text-text-25-invert,.is-color-text-25-invert{--bulma-color-l:var(--bulma-text-25-invert-l)}.has-background-text-25-invert,.is-background-text-25-invert{--bulma-background-l:var(--bulma-text-25-invert-l)}.has-text-text-30,.is-color-text-30{--bulma-color-l:var(--bulma-text-30-l)}.has-background-text-30,.is-background-text-30{--bulma-background-l:var(--bulma-text-30-l)}.has-text-text-30-invert,.is-color-text-30-invert{--bulma-color-l:var(--bulma-text-30-invert-l)}.has-background-text-30-invert,.is-background-text-30-invert{--bulma-background-l:var(--bulma-text-30-invert-l)}.has-text-text-35,.is-color-text-35{--bulma-color-l:var(--bulma-text-35-l)}.has-background-text-35,.is-background-text-35{--bulma-background-l:var(--bulma-text-35-l)}.has-text-text-35-invert,.is-color-text-35-invert{--bulma-color-l:var(--bulma-text-35-invert-l)}.has-background-text-35-invert,.is-background-text-35-invert{--bulma-background-l:var(--bulma-text-35-invert-l)}.has-text-text-40,.is-color-text-40{--bulma-color-l:var(--bulma-text-40-l)}.has-background-text-40,.is-background-text-40{--bulma-background-l:var(--bulma-text-40-l)}.has-text-text-40-invert,.is-color-text-40-invert{--bulma-color-l:var(--bulma-text-40-invert-l)}.has-background-text-40-invert,.is-background-text-40-invert{--bulma-background-l:var(--bulma-text-40-invert-l)}.has-text-text-45,.is-color-text-45{--bulma-color-l:var(--bulma-text-45-l)}.has-background-text-45,.is-background-text-45{--bulma-background-l:var(--bulma-text-45-l)}.has-text-text-45-invert,.is-color-text-45-invert{--bulma-color-l:var(--bulma-text-45-invert-l)}.has-background-text-45-invert,.is-background-text-45-invert{--bulma-background-l:var(--bulma-text-45-invert-l)}.has-text-text-50,.is-color-text-50{--bulma-color-l:var(--bulma-text-50-l)}.has-background-text-50,.is-background-text-50{--bulma-background-l:var(--bulma-text-50-l)}.has-text-text-50-invert,.is-color-text-50-invert{--bulma-color-l:var(--bulma-text-50-invert-l)}.has-background-text-50-invert,.is-background-text-50-invert{--bulma-background-l:var(--bulma-text-50-invert-l)}.has-text-text-55,.is-color-text-55{--bulma-color-l:var(--bulma-text-55-l)}.has-background-text-55,.is-background-text-55{--bulma-background-l:var(--bulma-text-55-l)}.has-text-text-55-invert,.is-color-text-55-invert{--bulma-color-l:var(--bulma-text-55-invert-l)}.has-background-text-55-invert,.is-background-text-55-invert{--bulma-background-l:var(--bulma-text-55-invert-l)}.has-text-text-60,.is-color-text-60{--bulma-color-l:var(--bulma-text-60-l)}.has-background-text-60,.is-background-text-60{--bulma-background-l:var(--bulma-text-60-l)}.has-text-text-60-invert,.is-color-text-60-invert{--bulma-color-l:var(--bulma-text-60-invert-l)}.has-background-text-60-invert,.is-background-text-60-invert{--bulma-background-l:var(--bulma-text-60-invert-l)}.has-text-text-65,.is-color-text-65{--bulma-color-l:var(--bulma-text-65-l)}.has-background-text-65,.is-background-text-65{--bulma-background-l:var(--bulma-text-65-l)}.has-text-text-65-invert,.is-color-text-65-invert{--bulma-color-l:var(--bulma-text-65-invert-l)}.has-background-text-65-invert,.is-background-text-65-invert{--bulma-background-l:var(--bulma-text-65-invert-l)}.has-text-text-70,.is-color-text-70{--bulma-color-l:var(--bulma-text-70-l)}.has-background-text-70,.is-background-text-70{--bulma-background-l:var(--bulma-text-70-l)}.has-text-text-70-invert,.is-color-text-70-invert{--bulma-color-l:var(--bulma-text-70-invert-l)}.has-background-text-70-invert,.is-background-text-70-invert{--bulma-background-l:var(--bulma-text-70-invert-l)}.has-text-text-75,.is-color-text-75{--bulma-color-l:var(--bulma-text-75-l)}.has-background-text-75,.is-background-text-75{--bulma-background-l:var(--bulma-text-75-l)}.has-text-text-75-invert,.is-color-text-75-invert{--bulma-color-l:var(--bulma-text-75-invert-l)}.has-background-text-75-invert,.is-background-text-75-invert{--bulma-background-l:var(--bulma-text-75-invert-l)}.has-text-text-80,.is-color-text-80{--bulma-color-l:var(--bulma-text-80-l)}.has-background-text-80,.is-background-text-80{--bulma-background-l:var(--bulma-text-80-l)}.has-text-text-80-invert,.is-color-text-80-invert{--bulma-color-l:var(--bulma-text-80-invert-l)}.has-background-text-80-invert,.is-background-text-80-invert{--bulma-background-l:var(--bulma-text-80-invert-l)}.has-text-text-85,.is-color-text-85{--bulma-color-l:var(--bulma-text-85-l)}.has-background-text-85,.is-background-text-85{--bulma-background-l:var(--bulma-text-85-l)}.has-text-text-85-invert,.is-color-text-85-invert{--bulma-color-l:var(--bulma-text-85-invert-l)}.has-background-text-85-invert,.is-background-text-85-invert{--bulma-background-l:var(--bulma-text-85-invert-l)}.has-text-text-90,.is-color-text-90{--bulma-color-l:var(--bulma-text-90-l)}.has-background-text-90,.is-background-text-90{--bulma-background-l:var(--bulma-text-90-l)}.has-text-text-90-invert,.is-color-text-90-invert{--bulma-color-l:var(--bulma-text-90-invert-l)}.has-background-text-90-invert,.is-background-text-90-invert{--bulma-background-l:var(--bulma-text-90-invert-l)}.has-text-text-95,.is-color-text-95{--bulma-color-l:var(--bulma-text-95-l)}.has-background-text-95,.is-background-text-95{--bulma-background-l:var(--bulma-text-95-l)}.has-text-text-95-invert,.is-color-text-95-invert{--bulma-color-l:var(--bulma-text-95-invert-l)}.has-background-text-95-invert,.is-background-text-95-invert{--bulma-background-l:var(--bulma-text-95-invert-l)}.has-text-text-100,.is-color-text-100{--bulma-color-l:var(--bulma-text-100-l)}.has-background-text-100,.is-background-text-100{--bulma-background-l:var(--bulma-text-100-l)}.has-text-text-100-invert,.is-color-text-100-invert{--bulma-color-l:var(--bulma-text-100-invert-l)}.has-background-text-100-invert,.is-background-text-100-invert{--bulma-background-l:var(--bulma-text-100-invert-l)}a.has-text-text:focus-visible,a.has-text-text:hover,a.is-color-text:focus-visible,a.is-color-text:hover,button.has-text-text:focus-visible,button.has-text-text:hover,button.is-color-text:focus-visible,button.is-color-text:hover,has-text-text.is-hoverable:focus-visible,has-text-text.is-hoverable:hover,is-color-text.is-hoverable:focus-visible,is-color-text.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-text:active,a.is-color-text:active,button.has-text-text:active,button.is-color-text:active,has-text-text.is-hoverable:active,is-color-text.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-text:focus-visible,a.has-background-text:hover,a.is-background-text:focus-visible,a.is-background-text:hover,button.has-background-text:focus-visible,button.has-background-text:hover,button.is-background-text:focus-visible,button.is-background-text:hover,has-background-text.is-hoverable:focus-visible,has-background-text.is-hoverable:hover,is-background-text.is-hoverable:focus-visible,is-background-text.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-text:active,a.is-background-text:active,button.has-background-text:active,button.is-background-text:active,has-background-text.is-hoverable:active,is-background-text.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-text{--h:var(--bulma-text-h);--s:var(--bulma-text-s);--l:var(--bulma-text-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-text-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-text-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-text-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-text-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-text-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-text-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-text-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-text-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-text-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-text-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-text-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-text-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-text-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-text-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-text-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-text-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-text-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-text-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-text-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-text-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-text-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-primary],[class*=is-color-primary]{--bulma-color-l:var(--bulma-primary-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-primary-h),var(--bulma-primary-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-primary],[class*=is-background-primary]{--bulma-background-l:var(--bulma-primary-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-primary-h),var(--bulma-primary-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-primary-invert,.is-color-primary-invert{--bulma-color-l:var(--bulma-primary-invert-l)}.has-background-primary-invert,.is-background-primary-invert{--bulma-background-l:var(--bulma-primary-invert-l)}.has-text-primary-on-scheme,.is-color-primary-on-scheme{--bulma-color-l:var(--bulma-primary-on-scheme-l)}.has-background-primary-on-scheme,.is-background-primary-on-scheme{--bulma-background-l:var(--bulma-primary-on-scheme-l)}.has-text-primary-light,.is-color-primary-light{--bulma-color-l:var(--bulma-primary-light-l)}.has-background-primary-light,.is-background-primary-light{--bulma-background-l:var(--bulma-primary-light-l)}.has-text-primary-light-invert,.is-color-primary-light-invert{--bulma-color-l:var(--bulma-primary-light-invert-l)}.has-background-primary-light-invert,.is-background-primary-light-invert{--bulma-background-l:var(--bulma-primary-light-invert-l)}.has-text-primary-dark,.is-color-primary-dark{--bulma-color-l:var(--bulma-primary-dark-l)}.has-background-primary-dark,.is-background-primary-dark{--bulma-background-l:var(--bulma-primary-dark-l)}.has-text-primary-dark-invert,.is-color-primary-dark-invert{--bulma-color-l:var(--bulma-primary-dark-invert-l)}.has-background-primary-dark-invert,.is-background-primary-dark-invert{--bulma-background-l:var(--bulma-primary-dark-invert-l)}.has-text-primary-soft,.is-color-primary-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-primary-soft,.is-background-primary-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-primary-bold,.is-color-primary-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-primary-bold,.is-background-primary-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-primary-soft-invert,.is-color-primary-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-primary-soft-invert,.is-background-primary-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-primary-bold-invert,.is-color-primary-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-primary-bold-invert,.is-background-primary-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-primary-00,.is-color-primary-00{--bulma-color-l:var(--bulma-primary-00-l)}.has-background-primary-00,.is-background-primary-00{--bulma-background-l:var(--bulma-primary-00-l)}.has-text-primary-00-invert,.is-color-primary-00-invert{--bulma-color-l:var(--bulma-primary-00-invert-l)}.has-background-primary-00-invert,.is-background-primary-00-invert{--bulma-background-l:var(--bulma-primary-00-invert-l)}.has-text-primary-05,.is-color-primary-05{--bulma-color-l:var(--bulma-primary-05-l)}.has-background-primary-05,.is-background-primary-05{--bulma-background-l:var(--bulma-primary-05-l)}.has-text-primary-05-invert,.is-color-primary-05-invert{--bulma-color-l:var(--bulma-primary-05-invert-l)}.has-background-primary-05-invert,.is-background-primary-05-invert{--bulma-background-l:var(--bulma-primary-05-invert-l)}.has-text-primary-10,.is-color-primary-10{--bulma-color-l:var(--bulma-primary-10-l)}.has-background-primary-10,.is-background-primary-10{--bulma-background-l:var(--bulma-primary-10-l)}.has-text-primary-10-invert,.is-color-primary-10-invert{--bulma-color-l:var(--bulma-primary-10-invert-l)}.has-background-primary-10-invert,.is-background-primary-10-invert{--bulma-background-l:var(--bulma-primary-10-invert-l)}.has-text-primary-15,.is-color-primary-15{--bulma-color-l:var(--bulma-primary-15-l)}.has-background-primary-15,.is-background-primary-15{--bulma-background-l:var(--bulma-primary-15-l)}.has-text-primary-15-invert,.is-color-primary-15-invert{--bulma-color-l:var(--bulma-primary-15-invert-l)}.has-background-primary-15-invert,.is-background-primary-15-invert{--bulma-background-l:var(--bulma-primary-15-invert-l)}.has-text-primary-20,.is-color-primary-20{--bulma-color-l:var(--bulma-primary-20-l)}.has-background-primary-20,.is-background-primary-20{--bulma-background-l:var(--bulma-primary-20-l)}.has-text-primary-20-invert,.is-color-primary-20-invert{--bulma-color-l:var(--bulma-primary-20-invert-l)}.has-background-primary-20-invert,.is-background-primary-20-invert{--bulma-background-l:var(--bulma-primary-20-invert-l)}.has-text-primary-25,.is-color-primary-25{--bulma-color-l:var(--bulma-primary-25-l)}.has-background-primary-25,.is-background-primary-25{--bulma-background-l:var(--bulma-primary-25-l)}.has-text-primary-25-invert,.is-color-primary-25-invert{--bulma-color-l:var(--bulma-primary-25-invert-l)}.has-background-primary-25-invert,.is-background-primary-25-invert{--bulma-background-l:var(--bulma-primary-25-invert-l)}.has-text-primary-30,.is-color-primary-30{--bulma-color-l:var(--bulma-primary-30-l)}.has-background-primary-30,.is-background-primary-30{--bulma-background-l:var(--bulma-primary-30-l)}.has-text-primary-30-invert,.is-color-primary-30-invert{--bulma-color-l:var(--bulma-primary-30-invert-l)}.has-background-primary-30-invert,.is-background-primary-30-invert{--bulma-background-l:var(--bulma-primary-30-invert-l)}.has-text-primary-35,.is-color-primary-35{--bulma-color-l:var(--bulma-primary-35-l)}.has-background-primary-35,.is-background-primary-35{--bulma-background-l:var(--bulma-primary-35-l)}.has-text-primary-35-invert,.is-color-primary-35-invert{--bulma-color-l:var(--bulma-primary-35-invert-l)}.has-background-primary-35-invert,.is-background-primary-35-invert{--bulma-background-l:var(--bulma-primary-35-invert-l)}.has-text-primary-40,.is-color-primary-40{--bulma-color-l:var(--bulma-primary-40-l)}.has-background-primary-40,.is-background-primary-40{--bulma-background-l:var(--bulma-primary-40-l)}.has-text-primary-40-invert,.is-color-primary-40-invert{--bulma-color-l:var(--bulma-primary-40-invert-l)}.has-background-primary-40-invert,.is-background-primary-40-invert{--bulma-background-l:var(--bulma-primary-40-invert-l)}.has-text-primary-45,.is-color-primary-45{--bulma-color-l:var(--bulma-primary-45-l)}.has-background-primary-45,.is-background-primary-45{--bulma-background-l:var(--bulma-primary-45-l)}.has-text-primary-45-invert,.is-color-primary-45-invert{--bulma-color-l:var(--bulma-primary-45-invert-l)}.has-background-primary-45-invert,.is-background-primary-45-invert{--bulma-background-l:var(--bulma-primary-45-invert-l)}.has-text-primary-50,.is-color-primary-50{--bulma-color-l:var(--bulma-primary-50-l)}.has-background-primary-50,.is-background-primary-50{--bulma-background-l:var(--bulma-primary-50-l)}.has-text-primary-50-invert,.is-color-primary-50-invert{--bulma-color-l:var(--bulma-primary-50-invert-l)}.has-background-primary-50-invert,.is-background-primary-50-invert{--bulma-background-l:var(--bulma-primary-50-invert-l)}.has-text-primary-55,.is-color-primary-55{--bulma-color-l:var(--bulma-primary-55-l)}.has-background-primary-55,.is-background-primary-55{--bulma-background-l:var(--bulma-primary-55-l)}.has-text-primary-55-invert,.is-color-primary-55-invert{--bulma-color-l:var(--bulma-primary-55-invert-l)}.has-background-primary-55-invert,.is-background-primary-55-invert{--bulma-background-l:var(--bulma-primary-55-invert-l)}.has-text-primary-60,.is-color-primary-60{--bulma-color-l:var(--bulma-primary-60-l)}.has-background-primary-60,.is-background-primary-60{--bulma-background-l:var(--bulma-primary-60-l)}.has-text-primary-60-invert,.is-color-primary-60-invert{--bulma-color-l:var(--bulma-primary-60-invert-l)}.has-background-primary-60-invert,.is-background-primary-60-invert{--bulma-background-l:var(--bulma-primary-60-invert-l)}.has-text-primary-65,.is-color-primary-65{--bulma-color-l:var(--bulma-primary-65-l)}.has-background-primary-65,.is-background-primary-65{--bulma-background-l:var(--bulma-primary-65-l)}.has-text-primary-65-invert,.is-color-primary-65-invert{--bulma-color-l:var(--bulma-primary-65-invert-l)}.has-background-primary-65-invert,.is-background-primary-65-invert{--bulma-background-l:var(--bulma-primary-65-invert-l)}.has-text-primary-70,.is-color-primary-70{--bulma-color-l:var(--bulma-primary-70-l)}.has-background-primary-70,.is-background-primary-70{--bulma-background-l:var(--bulma-primary-70-l)}.has-text-primary-70-invert,.is-color-primary-70-invert{--bulma-color-l:var(--bulma-primary-70-invert-l)}.has-background-primary-70-invert,.is-background-primary-70-invert{--bulma-background-l:var(--bulma-primary-70-invert-l)}.has-text-primary-75,.is-color-primary-75{--bulma-color-l:var(--bulma-primary-75-l)}.has-background-primary-75,.is-background-primary-75{--bulma-background-l:var(--bulma-primary-75-l)}.has-text-primary-75-invert,.is-color-primary-75-invert{--bulma-color-l:var(--bulma-primary-75-invert-l)}.has-background-primary-75-invert,.is-background-primary-75-invert{--bulma-background-l:var(--bulma-primary-75-invert-l)}.has-text-primary-80,.is-color-primary-80{--bulma-color-l:var(--bulma-primary-80-l)}.has-background-primary-80,.is-background-primary-80{--bulma-background-l:var(--bulma-primary-80-l)}.has-text-primary-80-invert,.is-color-primary-80-invert{--bulma-color-l:var(--bulma-primary-80-invert-l)}.has-background-primary-80-invert,.is-background-primary-80-invert{--bulma-background-l:var(--bulma-primary-80-invert-l)}.has-text-primary-85,.is-color-primary-85{--bulma-color-l:var(--bulma-primary-85-l)}.has-background-primary-85,.is-background-primary-85{--bulma-background-l:var(--bulma-primary-85-l)}.has-text-primary-85-invert,.is-color-primary-85-invert{--bulma-color-l:var(--bulma-primary-85-invert-l)}.has-background-primary-85-invert,.is-background-primary-85-invert{--bulma-background-l:var(--bulma-primary-85-invert-l)}.has-text-primary-90,.is-color-primary-90{--bulma-color-l:var(--bulma-primary-90-l)}.has-background-primary-90,.is-background-primary-90{--bulma-background-l:var(--bulma-primary-90-l)}.has-text-primary-90-invert,.is-color-primary-90-invert{--bulma-color-l:var(--bulma-primary-90-invert-l)}.has-background-primary-90-invert,.is-background-primary-90-invert{--bulma-background-l:var(--bulma-primary-90-invert-l)}.has-text-primary-95,.is-color-primary-95{--bulma-color-l:var(--bulma-primary-95-l)}.has-background-primary-95,.is-background-primary-95{--bulma-background-l:var(--bulma-primary-95-l)}.has-text-primary-95-invert,.is-color-primary-95-invert{--bulma-color-l:var(--bulma-primary-95-invert-l)}.has-background-primary-95-invert,.is-background-primary-95-invert{--bulma-background-l:var(--bulma-primary-95-invert-l)}.has-text-primary-100,.is-color-primary-100{--bulma-color-l:var(--bulma-primary-100-l)}.has-background-primary-100,.is-background-primary-100{--bulma-background-l:var(--bulma-primary-100-l)}.has-text-primary-100-invert,.is-color-primary-100-invert{--bulma-color-l:var(--bulma-primary-100-invert-l)}.has-background-primary-100-invert,.is-background-primary-100-invert{--bulma-background-l:var(--bulma-primary-100-invert-l)}a.has-text-primary:focus-visible,a.has-text-primary:hover,a.is-color-primary:focus-visible,a.is-color-primary:hover,button.has-text-primary:focus-visible,button.has-text-primary:hover,button.is-color-primary:focus-visible,button.is-color-primary:hover,has-text-primary.is-hoverable:focus-visible,has-text-primary.is-hoverable:hover,is-color-primary.is-hoverable:focus-visible,is-color-primary.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-primary:active,a.is-color-primary:active,button.has-text-primary:active,button.is-color-primary:active,has-text-primary.is-hoverable:active,is-color-primary.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-primary:focus-visible,a.has-background-primary:hover,a.is-background-primary:focus-visible,a.is-background-primary:hover,button.has-background-primary:focus-visible,button.has-background-primary:hover,button.is-background-primary:focus-visible,button.is-background-primary:hover,has-background-primary.is-hoverable:focus-visible,has-background-primary.is-hoverable:hover,is-background-primary.is-hoverable:focus-visible,is-background-primary.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-primary:active,a.is-background-primary:active,button.has-background-primary:active,button.is-background-primary:active,has-background-primary.is-hoverable:active,is-background-primary.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-primary{--h:var(--bulma-primary-h);--s:var(--bulma-primary-s);--l:var(--bulma-primary-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-primary-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-primary-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-primary-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-primary-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-primary-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-primary-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-primary-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-primary-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-primary-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-primary-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-primary-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-primary-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-primary-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-primary-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-primary-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-primary-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-primary-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-primary-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-primary-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-primary-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-primary-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-link],[class*=is-color-link]{--bulma-color-l:var(--bulma-link-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-link-h),var(--bulma-link-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-link],[class*=is-background-link]{--bulma-background-l:var(--bulma-link-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-link-h),var(--bulma-link-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-link-invert,.is-color-link-invert{--bulma-color-l:var(--bulma-link-invert-l)}.has-background-link-invert,.is-background-link-invert{--bulma-background-l:var(--bulma-link-invert-l)}.has-text-link-on-scheme,.is-color-link-on-scheme{--bulma-color-l:var(--bulma-link-on-scheme-l)}.has-background-link-on-scheme,.is-background-link-on-scheme{--bulma-background-l:var(--bulma-link-on-scheme-l)}.has-text-link-light,.is-color-link-light{--bulma-color-l:var(--bulma-link-light-l)}.has-background-link-light,.is-background-link-light{--bulma-background-l:var(--bulma-link-light-l)}.has-text-link-light-invert,.is-color-link-light-invert{--bulma-color-l:var(--bulma-link-light-invert-l)}.has-background-link-light-invert,.is-background-link-light-invert{--bulma-background-l:var(--bulma-link-light-invert-l)}.has-text-link-dark,.is-color-link-dark{--bulma-color-l:var(--bulma-link-dark-l)}.has-background-link-dark,.is-background-link-dark{--bulma-background-l:var(--bulma-link-dark-l)}.has-text-link-dark-invert,.is-color-link-dark-invert{--bulma-color-l:var(--bulma-link-dark-invert-l)}.has-background-link-dark-invert,.is-background-link-dark-invert{--bulma-background-l:var(--bulma-link-dark-invert-l)}.has-text-link-soft,.is-color-link-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-link-soft,.is-background-link-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-link-bold,.is-color-link-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-link-bold,.is-background-link-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-link-soft-invert,.is-color-link-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-link-soft-invert,.is-background-link-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-link-bold-invert,.is-color-link-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-link-bold-invert,.is-background-link-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-link-00,.is-color-link-00{--bulma-color-l:var(--bulma-link-00-l)}.has-background-link-00,.is-background-link-00{--bulma-background-l:var(--bulma-link-00-l)}.has-text-link-00-invert,.is-color-link-00-invert{--bulma-color-l:var(--bulma-link-00-invert-l)}.has-background-link-00-invert,.is-background-link-00-invert{--bulma-background-l:var(--bulma-link-00-invert-l)}.has-text-link-05,.is-color-link-05{--bulma-color-l:var(--bulma-link-05-l)}.has-background-link-05,.is-background-link-05{--bulma-background-l:var(--bulma-link-05-l)}.has-text-link-05-invert,.is-color-link-05-invert{--bulma-color-l:var(--bulma-link-05-invert-l)}.has-background-link-05-invert,.is-background-link-05-invert{--bulma-background-l:var(--bulma-link-05-invert-l)}.has-text-link-10,.is-color-link-10{--bulma-color-l:var(--bulma-link-10-l)}.has-background-link-10,.is-background-link-10{--bulma-background-l:var(--bulma-link-10-l)}.has-text-link-10-invert,.is-color-link-10-invert{--bulma-color-l:var(--bulma-link-10-invert-l)}.has-background-link-10-invert,.is-background-link-10-invert{--bulma-background-l:var(--bulma-link-10-invert-l)}.has-text-link-15,.is-color-link-15{--bulma-color-l:var(--bulma-link-15-l)}.has-background-link-15,.is-background-link-15{--bulma-background-l:var(--bulma-link-15-l)}.has-text-link-15-invert,.is-color-link-15-invert{--bulma-color-l:var(--bulma-link-15-invert-l)}.has-background-link-15-invert,.is-background-link-15-invert{--bulma-background-l:var(--bulma-link-15-invert-l)}.has-text-link-20,.is-color-link-20{--bulma-color-l:var(--bulma-link-20-l)}.has-background-link-20,.is-background-link-20{--bulma-background-l:var(--bulma-link-20-l)}.has-text-link-20-invert,.is-color-link-20-invert{--bulma-color-l:var(--bulma-link-20-invert-l)}.has-background-link-20-invert,.is-background-link-20-invert{--bulma-background-l:var(--bulma-link-20-invert-l)}.has-text-link-25,.is-color-link-25{--bulma-color-l:var(--bulma-link-25-l)}.has-background-link-25,.is-background-link-25{--bulma-background-l:var(--bulma-link-25-l)}.has-text-link-25-invert,.is-color-link-25-invert{--bulma-color-l:var(--bulma-link-25-invert-l)}.has-background-link-25-invert,.is-background-link-25-invert{--bulma-background-l:var(--bulma-link-25-invert-l)}.has-text-link-30,.is-color-link-30{--bulma-color-l:var(--bulma-link-30-l)}.has-background-link-30,.is-background-link-30{--bulma-background-l:var(--bulma-link-30-l)}.has-text-link-30-invert,.is-color-link-30-invert{--bulma-color-l:var(--bulma-link-30-invert-l)}.has-background-link-30-invert,.is-background-link-30-invert{--bulma-background-l:var(--bulma-link-30-invert-l)}.has-text-link-35,.is-color-link-35{--bulma-color-l:var(--bulma-link-35-l)}.has-background-link-35,.is-background-link-35{--bulma-background-l:var(--bulma-link-35-l)}.has-text-link-35-invert,.is-color-link-35-invert{--bulma-color-l:var(--bulma-link-35-invert-l)}.has-background-link-35-invert,.is-background-link-35-invert{--bulma-background-l:var(--bulma-link-35-invert-l)}.has-text-link-40,.is-color-link-40{--bulma-color-l:var(--bulma-link-40-l)}.has-background-link-40,.is-background-link-40{--bulma-background-l:var(--bulma-link-40-l)}.has-text-link-40-invert,.is-color-link-40-invert{--bulma-color-l:var(--bulma-link-40-invert-l)}.has-background-link-40-invert,.is-background-link-40-invert{--bulma-background-l:var(--bulma-link-40-invert-l)}.has-text-link-45,.is-color-link-45{--bulma-color-l:var(--bulma-link-45-l)}.has-background-link-45,.is-background-link-45{--bulma-background-l:var(--bulma-link-45-l)}.has-text-link-45-invert,.is-color-link-45-invert{--bulma-color-l:var(--bulma-link-45-invert-l)}.has-background-link-45-invert,.is-background-link-45-invert{--bulma-background-l:var(--bulma-link-45-invert-l)}.has-text-link-50,.is-color-link-50{--bulma-color-l:var(--bulma-link-50-l)}.has-background-link-50,.is-background-link-50{--bulma-background-l:var(--bulma-link-50-l)}.has-text-link-50-invert,.is-color-link-50-invert{--bulma-color-l:var(--bulma-link-50-invert-l)}.has-background-link-50-invert,.is-background-link-50-invert{--bulma-background-l:var(--bulma-link-50-invert-l)}.has-text-link-55,.is-color-link-55{--bulma-color-l:var(--bulma-link-55-l)}.has-background-link-55,.is-background-link-55{--bulma-background-l:var(--bulma-link-55-l)}.has-text-link-55-invert,.is-color-link-55-invert{--bulma-color-l:var(--bulma-link-55-invert-l)}.has-background-link-55-invert,.is-background-link-55-invert{--bulma-background-l:var(--bulma-link-55-invert-l)}.has-text-link-60,.is-color-link-60{--bulma-color-l:var(--bulma-link-60-l)}.has-background-link-60,.is-background-link-60{--bulma-background-l:var(--bulma-link-60-l)}.has-text-link-60-invert,.is-color-link-60-invert{--bulma-color-l:var(--bulma-link-60-invert-l)}.has-background-link-60-invert,.is-background-link-60-invert{--bulma-background-l:var(--bulma-link-60-invert-l)}.has-text-link-65,.is-color-link-65{--bulma-color-l:var(--bulma-link-65-l)}.has-background-link-65,.is-background-link-65{--bulma-background-l:var(--bulma-link-65-l)}.has-text-link-65-invert,.is-color-link-65-invert{--bulma-color-l:var(--bulma-link-65-invert-l)}.has-background-link-65-invert,.is-background-link-65-invert{--bulma-background-l:var(--bulma-link-65-invert-l)}.has-text-link-70,.is-color-link-70{--bulma-color-l:var(--bulma-link-70-l)}.has-background-link-70,.is-background-link-70{--bulma-background-l:var(--bulma-link-70-l)}.has-text-link-70-invert,.is-color-link-70-invert{--bulma-color-l:var(--bulma-link-70-invert-l)}.has-background-link-70-invert,.is-background-link-70-invert{--bulma-background-l:var(--bulma-link-70-invert-l)}.has-text-link-75,.is-color-link-75{--bulma-color-l:var(--bulma-link-75-l)}.has-background-link-75,.is-background-link-75{--bulma-background-l:var(--bulma-link-75-l)}.has-text-link-75-invert,.is-color-link-75-invert{--bulma-color-l:var(--bulma-link-75-invert-l)}.has-background-link-75-invert,.is-background-link-75-invert{--bulma-background-l:var(--bulma-link-75-invert-l)}.has-text-link-80,.is-color-link-80{--bulma-color-l:var(--bulma-link-80-l)}.has-background-link-80,.is-background-link-80{--bulma-background-l:var(--bulma-link-80-l)}.has-text-link-80-invert,.is-color-link-80-invert{--bulma-color-l:var(--bulma-link-80-invert-l)}.has-background-link-80-invert,.is-background-link-80-invert{--bulma-background-l:var(--bulma-link-80-invert-l)}.has-text-link-85,.is-color-link-85{--bulma-color-l:var(--bulma-link-85-l)}.has-background-link-85,.is-background-link-85{--bulma-background-l:var(--bulma-link-85-l)}.has-text-link-85-invert,.is-color-link-85-invert{--bulma-color-l:var(--bulma-link-85-invert-l)}.has-background-link-85-invert,.is-background-link-85-invert{--bulma-background-l:var(--bulma-link-85-invert-l)}.has-text-link-90,.is-color-link-90{--bulma-color-l:var(--bulma-link-90-l)}.has-background-link-90,.is-background-link-90{--bulma-background-l:var(--bulma-link-90-l)}.has-text-link-90-invert,.is-color-link-90-invert{--bulma-color-l:var(--bulma-link-90-invert-l)}.has-background-link-90-invert,.is-background-link-90-invert{--bulma-background-l:var(--bulma-link-90-invert-l)}.has-text-link-95,.is-color-link-95{--bulma-color-l:var(--bulma-link-95-l)}.has-background-link-95,.is-background-link-95{--bulma-background-l:var(--bulma-link-95-l)}.has-text-link-95-invert,.is-color-link-95-invert{--bulma-color-l:var(--bulma-link-95-invert-l)}.has-background-link-95-invert,.is-background-link-95-invert{--bulma-background-l:var(--bulma-link-95-invert-l)}.has-text-link-100,.is-color-link-100{--bulma-color-l:var(--bulma-link-100-l)}.has-background-link-100,.is-background-link-100{--bulma-background-l:var(--bulma-link-100-l)}.has-text-link-100-invert,.is-color-link-100-invert{--bulma-color-l:var(--bulma-link-100-invert-l)}.has-background-link-100-invert,.is-background-link-100-invert{--bulma-background-l:var(--bulma-link-100-invert-l)}a.has-text-link:focus-visible,a.has-text-link:hover,a.is-color-link:focus-visible,a.is-color-link:hover,button.has-text-link:focus-visible,button.has-text-link:hover,button.is-color-link:focus-visible,button.is-color-link:hover,has-text-link.is-hoverable:focus-visible,has-text-link.is-hoverable:hover,is-color-link.is-hoverable:focus-visible,is-color-link.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-link:active,a.is-color-link:active,button.has-text-link:active,button.is-color-link:active,has-text-link.is-hoverable:active,is-color-link.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-link:focus-visible,a.has-background-link:hover,a.is-background-link:focus-visible,a.is-background-link:hover,button.has-background-link:focus-visible,button.has-background-link:hover,button.is-background-link:focus-visible,button.is-background-link:hover,has-background-link.is-hoverable:focus-visible,has-background-link.is-hoverable:hover,is-background-link.is-hoverable:focus-visible,is-background-link.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-link:active,a.is-background-link:active,button.has-background-link:active,button.is-background-link:active,has-background-link.is-hoverable:active,is-background-link.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-link{--h:var(--bulma-link-h);--s:var(--bulma-link-s);--l:var(--bulma-link-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-link-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-link-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-link-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-link-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-link-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-link-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-link-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-link-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-link-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-link-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-link-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-link-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-link-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-link-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-link-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-link-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-link-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-link-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-link-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-link-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-link-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-info],[class*=is-color-info]{--bulma-color-l:var(--bulma-info-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-info-h),var(--bulma-info-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-info],[class*=is-background-info]{--bulma-background-l:var(--bulma-info-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-info-h),var(--bulma-info-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-info-invert,.is-color-info-invert{--bulma-color-l:var(--bulma-info-invert-l)}.has-background-info-invert,.is-background-info-invert{--bulma-background-l:var(--bulma-info-invert-l)}.has-text-info-on-scheme,.is-color-info-on-scheme{--bulma-color-l:var(--bulma-info-on-scheme-l)}.has-background-info-on-scheme,.is-background-info-on-scheme{--bulma-background-l:var(--bulma-info-on-scheme-l)}.has-text-info-light,.is-color-info-light{--bulma-color-l:var(--bulma-info-light-l)}.has-background-info-light,.is-background-info-light{--bulma-background-l:var(--bulma-info-light-l)}.has-text-info-light-invert,.is-color-info-light-invert{--bulma-color-l:var(--bulma-info-light-invert-l)}.has-background-info-light-invert,.is-background-info-light-invert{--bulma-background-l:var(--bulma-info-light-invert-l)}.has-text-info-dark,.is-color-info-dark{--bulma-color-l:var(--bulma-info-dark-l)}.has-background-info-dark,.is-background-info-dark{--bulma-background-l:var(--bulma-info-dark-l)}.has-text-info-dark-invert,.is-color-info-dark-invert{--bulma-color-l:var(--bulma-info-dark-invert-l)}.has-background-info-dark-invert,.is-background-info-dark-invert{--bulma-background-l:var(--bulma-info-dark-invert-l)}.has-text-info-soft,.is-color-info-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-info-soft,.is-background-info-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-info-bold,.is-color-info-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-info-bold,.is-background-info-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-info-soft-invert,.is-color-info-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-info-soft-invert,.is-background-info-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-info-bold-invert,.is-color-info-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-info-bold-invert,.is-background-info-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-info-00,.is-color-info-00{--bulma-color-l:var(--bulma-info-00-l)}.has-background-info-00,.is-background-info-00{--bulma-background-l:var(--bulma-info-00-l)}.has-text-info-00-invert,.is-color-info-00-invert{--bulma-color-l:var(--bulma-info-00-invert-l)}.has-background-info-00-invert,.is-background-info-00-invert{--bulma-background-l:var(--bulma-info-00-invert-l)}.has-text-info-05,.is-color-info-05{--bulma-color-l:var(--bulma-info-05-l)}.has-background-info-05,.is-background-info-05{--bulma-background-l:var(--bulma-info-05-l)}.has-text-info-05-invert,.is-color-info-05-invert{--bulma-color-l:var(--bulma-info-05-invert-l)}.has-background-info-05-invert,.is-background-info-05-invert{--bulma-background-l:var(--bulma-info-05-invert-l)}.has-text-info-10,.is-color-info-10{--bulma-color-l:var(--bulma-info-10-l)}.has-background-info-10,.is-background-info-10{--bulma-background-l:var(--bulma-info-10-l)}.has-text-info-10-invert,.is-color-info-10-invert{--bulma-color-l:var(--bulma-info-10-invert-l)}.has-background-info-10-invert,.is-background-info-10-invert{--bulma-background-l:var(--bulma-info-10-invert-l)}.has-text-info-15,.is-color-info-15{--bulma-color-l:var(--bulma-info-15-l)}.has-background-info-15,.is-background-info-15{--bulma-background-l:var(--bulma-info-15-l)}.has-text-info-15-invert,.is-color-info-15-invert{--bulma-color-l:var(--bulma-info-15-invert-l)}.has-background-info-15-invert,.is-background-info-15-invert{--bulma-background-l:var(--bulma-info-15-invert-l)}.has-text-info-20,.is-color-info-20{--bulma-color-l:var(--bulma-info-20-l)}.has-background-info-20,.is-background-info-20{--bulma-background-l:var(--bulma-info-20-l)}.has-text-info-20-invert,.is-color-info-20-invert{--bulma-color-l:var(--bulma-info-20-invert-l)}.has-background-info-20-invert,.is-background-info-20-invert{--bulma-background-l:var(--bulma-info-20-invert-l)}.has-text-info-25,.is-color-info-25{--bulma-color-l:var(--bulma-info-25-l)}.has-background-info-25,.is-background-info-25{--bulma-background-l:var(--bulma-info-25-l)}.has-text-info-25-invert,.is-color-info-25-invert{--bulma-color-l:var(--bulma-info-25-invert-l)}.has-background-info-25-invert,.is-background-info-25-invert{--bulma-background-l:var(--bulma-info-25-invert-l)}.has-text-info-30,.is-color-info-30{--bulma-color-l:var(--bulma-info-30-l)}.has-background-info-30,.is-background-info-30{--bulma-background-l:var(--bulma-info-30-l)}.has-text-info-30-invert,.is-color-info-30-invert{--bulma-color-l:var(--bulma-info-30-invert-l)}.has-background-info-30-invert,.is-background-info-30-invert{--bulma-background-l:var(--bulma-info-30-invert-l)}.has-text-info-35,.is-color-info-35{--bulma-color-l:var(--bulma-info-35-l)}.has-background-info-35,.is-background-info-35{--bulma-background-l:var(--bulma-info-35-l)}.has-text-info-35-invert,.is-color-info-35-invert{--bulma-color-l:var(--bulma-info-35-invert-l)}.has-background-info-35-invert,.is-background-info-35-invert{--bulma-background-l:var(--bulma-info-35-invert-l)}.has-text-info-40,.is-color-info-40{--bulma-color-l:var(--bulma-info-40-l)}.has-background-info-40,.is-background-info-40{--bulma-background-l:var(--bulma-info-40-l)}.has-text-info-40-invert,.is-color-info-40-invert{--bulma-color-l:var(--bulma-info-40-invert-l)}.has-background-info-40-invert,.is-background-info-40-invert{--bulma-background-l:var(--bulma-info-40-invert-l)}.has-text-info-45,.is-color-info-45{--bulma-color-l:var(--bulma-info-45-l)}.has-background-info-45,.is-background-info-45{--bulma-background-l:var(--bulma-info-45-l)}.has-text-info-45-invert,.is-color-info-45-invert{--bulma-color-l:var(--bulma-info-45-invert-l)}.has-background-info-45-invert,.is-background-info-45-invert{--bulma-background-l:var(--bulma-info-45-invert-l)}.has-text-info-50,.is-color-info-50{--bulma-color-l:var(--bulma-info-50-l)}.has-background-info-50,.is-background-info-50{--bulma-background-l:var(--bulma-info-50-l)}.has-text-info-50-invert,.is-color-info-50-invert{--bulma-color-l:var(--bulma-info-50-invert-l)}.has-background-info-50-invert,.is-background-info-50-invert{--bulma-background-l:var(--bulma-info-50-invert-l)}.has-text-info-55,.is-color-info-55{--bulma-color-l:var(--bulma-info-55-l)}.has-background-info-55,.is-background-info-55{--bulma-background-l:var(--bulma-info-55-l)}.has-text-info-55-invert,.is-color-info-55-invert{--bulma-color-l:var(--bulma-info-55-invert-l)}.has-background-info-55-invert,.is-background-info-55-invert{--bulma-background-l:var(--bulma-info-55-invert-l)}.has-text-info-60,.is-color-info-60{--bulma-color-l:var(--bulma-info-60-l)}.has-background-info-60,.is-background-info-60{--bulma-background-l:var(--bulma-info-60-l)}.has-text-info-60-invert,.is-color-info-60-invert{--bulma-color-l:var(--bulma-info-60-invert-l)}.has-background-info-60-invert,.is-background-info-60-invert{--bulma-background-l:var(--bulma-info-60-invert-l)}.has-text-info-65,.is-color-info-65{--bulma-color-l:var(--bulma-info-65-l)}.has-background-info-65,.is-background-info-65{--bulma-background-l:var(--bulma-info-65-l)}.has-text-info-65-invert,.is-color-info-65-invert{--bulma-color-l:var(--bulma-info-65-invert-l)}.has-background-info-65-invert,.is-background-info-65-invert{--bulma-background-l:var(--bulma-info-65-invert-l)}.has-text-info-70,.is-color-info-70{--bulma-color-l:var(--bulma-info-70-l)}.has-background-info-70,.is-background-info-70{--bulma-background-l:var(--bulma-info-70-l)}.has-text-info-70-invert,.is-color-info-70-invert{--bulma-color-l:var(--bulma-info-70-invert-l)}.has-background-info-70-invert,.is-background-info-70-invert{--bulma-background-l:var(--bulma-info-70-invert-l)}.has-text-info-75,.is-color-info-75{--bulma-color-l:var(--bulma-info-75-l)}.has-background-info-75,.is-background-info-75{--bulma-background-l:var(--bulma-info-75-l)}.has-text-info-75-invert,.is-color-info-75-invert{--bulma-color-l:var(--bulma-info-75-invert-l)}.has-background-info-75-invert,.is-background-info-75-invert{--bulma-background-l:var(--bulma-info-75-invert-l)}.has-text-info-80,.is-color-info-80{--bulma-color-l:var(--bulma-info-80-l)}.has-background-info-80,.is-background-info-80{--bulma-background-l:var(--bulma-info-80-l)}.has-text-info-80-invert,.is-color-info-80-invert{--bulma-color-l:var(--bulma-info-80-invert-l)}.has-background-info-80-invert,.is-background-info-80-invert{--bulma-background-l:var(--bulma-info-80-invert-l)}.has-text-info-85,.is-color-info-85{--bulma-color-l:var(--bulma-info-85-l)}.has-background-info-85,.is-background-info-85{--bulma-background-l:var(--bulma-info-85-l)}.has-text-info-85-invert,.is-color-info-85-invert{--bulma-color-l:var(--bulma-info-85-invert-l)}.has-background-info-85-invert,.is-background-info-85-invert{--bulma-background-l:var(--bulma-info-85-invert-l)}.has-text-info-90,.is-color-info-90{--bulma-color-l:var(--bulma-info-90-l)}.has-background-info-90,.is-background-info-90{--bulma-background-l:var(--bulma-info-90-l)}.has-text-info-90-invert,.is-color-info-90-invert{--bulma-color-l:var(--bulma-info-90-invert-l)}.has-background-info-90-invert,.is-background-info-90-invert{--bulma-background-l:var(--bulma-info-90-invert-l)}.has-text-info-95,.is-color-info-95{--bulma-color-l:var(--bulma-info-95-l)}.has-background-info-95,.is-background-info-95{--bulma-background-l:var(--bulma-info-95-l)}.has-text-info-95-invert,.is-color-info-95-invert{--bulma-color-l:var(--bulma-info-95-invert-l)}.has-background-info-95-invert,.is-background-info-95-invert{--bulma-background-l:var(--bulma-info-95-invert-l)}.has-text-info-100,.is-color-info-100{--bulma-color-l:var(--bulma-info-100-l)}.has-background-info-100,.is-background-info-100{--bulma-background-l:var(--bulma-info-100-l)}.has-text-info-100-invert,.is-color-info-100-invert{--bulma-color-l:var(--bulma-info-100-invert-l)}.has-background-info-100-invert,.is-background-info-100-invert{--bulma-background-l:var(--bulma-info-100-invert-l)}a.has-text-info:focus-visible,a.has-text-info:hover,a.is-color-info:focus-visible,a.is-color-info:hover,button.has-text-info:focus-visible,button.has-text-info:hover,button.is-color-info:focus-visible,button.is-color-info:hover,has-text-info.is-hoverable:focus-visible,has-text-info.is-hoverable:hover,is-color-info.is-hoverable:focus-visible,is-color-info.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-info:active,a.is-color-info:active,button.has-text-info:active,button.is-color-info:active,has-text-info.is-hoverable:active,is-color-info.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-info:focus-visible,a.has-background-info:hover,a.is-background-info:focus-visible,a.is-background-info:hover,button.has-background-info:focus-visible,button.has-background-info:hover,button.is-background-info:focus-visible,button.is-background-info:hover,has-background-info.is-hoverable:focus-visible,has-background-info.is-hoverable:hover,is-background-info.is-hoverable:focus-visible,is-background-info.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-info:active,a.is-background-info:active,button.has-background-info:active,button.is-background-info:active,has-background-info.is-hoverable:active,is-background-info.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-info{--h:var(--bulma-info-h);--s:var(--bulma-info-s);--l:var(--bulma-info-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-info-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-info-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-info-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-info-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-info-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-info-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-info-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-info-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-info-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-info-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-info-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-info-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-info-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-info-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-info-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-info-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-info-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-info-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-info-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-info-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-info-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-success],[class*=is-color-success]{--bulma-color-l:var(--bulma-success-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-success-h),var(--bulma-success-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-success],[class*=is-background-success]{--bulma-background-l:var(--bulma-success-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-success-h),var(--bulma-success-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-success-invert,.is-color-success-invert{--bulma-color-l:var(--bulma-success-invert-l)}.has-background-success-invert,.is-background-success-invert{--bulma-background-l:var(--bulma-success-invert-l)}.has-text-success-on-scheme,.is-color-success-on-scheme{--bulma-color-l:var(--bulma-success-on-scheme-l)}.has-background-success-on-scheme,.is-background-success-on-scheme{--bulma-background-l:var(--bulma-success-on-scheme-l)}.has-text-success-light,.is-color-success-light{--bulma-color-l:var(--bulma-success-light-l)}.has-background-success-light,.is-background-success-light{--bulma-background-l:var(--bulma-success-light-l)}.has-text-success-light-invert,.is-color-success-light-invert{--bulma-color-l:var(--bulma-success-light-invert-l)}.has-background-success-light-invert,.is-background-success-light-invert{--bulma-background-l:var(--bulma-success-light-invert-l)}.has-text-success-dark,.is-color-success-dark{--bulma-color-l:var(--bulma-success-dark-l)}.has-background-success-dark,.is-background-success-dark{--bulma-background-l:var(--bulma-success-dark-l)}.has-text-success-dark-invert,.is-color-success-dark-invert{--bulma-color-l:var(--bulma-success-dark-invert-l)}.has-background-success-dark-invert,.is-background-success-dark-invert{--bulma-background-l:var(--bulma-success-dark-invert-l)}.has-text-success-soft,.is-color-success-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-success-soft,.is-background-success-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-success-bold,.is-color-success-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-success-bold,.is-background-success-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-success-soft-invert,.is-color-success-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-success-soft-invert,.is-background-success-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-success-bold-invert,.is-color-success-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-success-bold-invert,.is-background-success-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-success-00,.is-color-success-00{--bulma-color-l:var(--bulma-success-00-l)}.has-background-success-00,.is-background-success-00{--bulma-background-l:var(--bulma-success-00-l)}.has-text-success-00-invert,.is-color-success-00-invert{--bulma-color-l:var(--bulma-success-00-invert-l)}.has-background-success-00-invert,.is-background-success-00-invert{--bulma-background-l:var(--bulma-success-00-invert-l)}.has-text-success-05,.is-color-success-05{--bulma-color-l:var(--bulma-success-05-l)}.has-background-success-05,.is-background-success-05{--bulma-background-l:var(--bulma-success-05-l)}.has-text-success-05-invert,.is-color-success-05-invert{--bulma-color-l:var(--bulma-success-05-invert-l)}.has-background-success-05-invert,.is-background-success-05-invert{--bulma-background-l:var(--bulma-success-05-invert-l)}.has-text-success-10,.is-color-success-10{--bulma-color-l:var(--bulma-success-10-l)}.has-background-success-10,.is-background-success-10{--bulma-background-l:var(--bulma-success-10-l)}.has-text-success-10-invert,.is-color-success-10-invert{--bulma-color-l:var(--bulma-success-10-invert-l)}.has-background-success-10-invert,.is-background-success-10-invert{--bulma-background-l:var(--bulma-success-10-invert-l)}.has-text-success-15,.is-color-success-15{--bulma-color-l:var(--bulma-success-15-l)}.has-background-success-15,.is-background-success-15{--bulma-background-l:var(--bulma-success-15-l)}.has-text-success-15-invert,.is-color-success-15-invert{--bulma-color-l:var(--bulma-success-15-invert-l)}.has-background-success-15-invert,.is-background-success-15-invert{--bulma-background-l:var(--bulma-success-15-invert-l)}.has-text-success-20,.is-color-success-20{--bulma-color-l:var(--bulma-success-20-l)}.has-background-success-20,.is-background-success-20{--bulma-background-l:var(--bulma-success-20-l)}.has-text-success-20-invert,.is-color-success-20-invert{--bulma-color-l:var(--bulma-success-20-invert-l)}.has-background-success-20-invert,.is-background-success-20-invert{--bulma-background-l:var(--bulma-success-20-invert-l)}.has-text-success-25,.is-color-success-25{--bulma-color-l:var(--bulma-success-25-l)}.has-background-success-25,.is-background-success-25{--bulma-background-l:var(--bulma-success-25-l)}.has-text-success-25-invert,.is-color-success-25-invert{--bulma-color-l:var(--bulma-success-25-invert-l)}.has-background-success-25-invert,.is-background-success-25-invert{--bulma-background-l:var(--bulma-success-25-invert-l)}.has-text-success-30,.is-color-success-30{--bulma-color-l:var(--bulma-success-30-l)}.has-background-success-30,.is-background-success-30{--bulma-background-l:var(--bulma-success-30-l)}.has-text-success-30-invert,.is-color-success-30-invert{--bulma-color-l:var(--bulma-success-30-invert-l)}.has-background-success-30-invert,.is-background-success-30-invert{--bulma-background-l:var(--bulma-success-30-invert-l)}.has-text-success-35,.is-color-success-35{--bulma-color-l:var(--bulma-success-35-l)}.has-background-success-35,.is-background-success-35{--bulma-background-l:var(--bulma-success-35-l)}.has-text-success-35-invert,.is-color-success-35-invert{--bulma-color-l:var(--bulma-success-35-invert-l)}.has-background-success-35-invert,.is-background-success-35-invert{--bulma-background-l:var(--bulma-success-35-invert-l)}.has-text-success-40,.is-color-success-40{--bulma-color-l:var(--bulma-success-40-l)}.has-background-success-40,.is-background-success-40{--bulma-background-l:var(--bulma-success-40-l)}.has-text-success-40-invert,.is-color-success-40-invert{--bulma-color-l:var(--bulma-success-40-invert-l)}.has-background-success-40-invert,.is-background-success-40-invert{--bulma-background-l:var(--bulma-success-40-invert-l)}.has-text-success-45,.is-color-success-45{--bulma-color-l:var(--bulma-success-45-l)}.has-background-success-45,.is-background-success-45{--bulma-background-l:var(--bulma-success-45-l)}.has-text-success-45-invert,.is-color-success-45-invert{--bulma-color-l:var(--bulma-success-45-invert-l)}.has-background-success-45-invert,.is-background-success-45-invert{--bulma-background-l:var(--bulma-success-45-invert-l)}.has-text-success-50,.is-color-success-50{--bulma-color-l:var(--bulma-success-50-l)}.has-background-success-50,.is-background-success-50{--bulma-background-l:var(--bulma-success-50-l)}.has-text-success-50-invert,.is-color-success-50-invert{--bulma-color-l:var(--bulma-success-50-invert-l)}.has-background-success-50-invert,.is-background-success-50-invert{--bulma-background-l:var(--bulma-success-50-invert-l)}.has-text-success-55,.is-color-success-55{--bulma-color-l:var(--bulma-success-55-l)}.has-background-success-55,.is-background-success-55{--bulma-background-l:var(--bulma-success-55-l)}.has-text-success-55-invert,.is-color-success-55-invert{--bulma-color-l:var(--bulma-success-55-invert-l)}.has-background-success-55-invert,.is-background-success-55-invert{--bulma-background-l:var(--bulma-success-55-invert-l)}.has-text-success-60,.is-color-success-60{--bulma-color-l:var(--bulma-success-60-l)}.has-background-success-60,.is-background-success-60{--bulma-background-l:var(--bulma-success-60-l)}.has-text-success-60-invert,.is-color-success-60-invert{--bulma-color-l:var(--bulma-success-60-invert-l)}.has-background-success-60-invert,.is-background-success-60-invert{--bulma-background-l:var(--bulma-success-60-invert-l)}.has-text-success-65,.is-color-success-65{--bulma-color-l:var(--bulma-success-65-l)}.has-background-success-65,.is-background-success-65{--bulma-background-l:var(--bulma-success-65-l)}.has-text-success-65-invert,.is-color-success-65-invert{--bulma-color-l:var(--bulma-success-65-invert-l)}.has-background-success-65-invert,.is-background-success-65-invert{--bulma-background-l:var(--bulma-success-65-invert-l)}.has-text-success-70,.is-color-success-70{--bulma-color-l:var(--bulma-success-70-l)}.has-background-success-70,.is-background-success-70{--bulma-background-l:var(--bulma-success-70-l)}.has-text-success-70-invert,.is-color-success-70-invert{--bulma-color-l:var(--bulma-success-70-invert-l)}.has-background-success-70-invert,.is-background-success-70-invert{--bulma-background-l:var(--bulma-success-70-invert-l)}.has-text-success-75,.is-color-success-75{--bulma-color-l:var(--bulma-success-75-l)}.has-background-success-75,.is-background-success-75{--bulma-background-l:var(--bulma-success-75-l)}.has-text-success-75-invert,.is-color-success-75-invert{--bulma-color-l:var(--bulma-success-75-invert-l)}.has-background-success-75-invert,.is-background-success-75-invert{--bulma-background-l:var(--bulma-success-75-invert-l)}.has-text-success-80,.is-color-success-80{--bulma-color-l:var(--bulma-success-80-l)}.has-background-success-80,.is-background-success-80{--bulma-background-l:var(--bulma-success-80-l)}.has-text-success-80-invert,.is-color-success-80-invert{--bulma-color-l:var(--bulma-success-80-invert-l)}.has-background-success-80-invert,.is-background-success-80-invert{--bulma-background-l:var(--bulma-success-80-invert-l)}.has-text-success-85,.is-color-success-85{--bulma-color-l:var(--bulma-success-85-l)}.has-background-success-85,.is-background-success-85{--bulma-background-l:var(--bulma-success-85-l)}.has-text-success-85-invert,.is-color-success-85-invert{--bulma-color-l:var(--bulma-success-85-invert-l)}.has-background-success-85-invert,.is-background-success-85-invert{--bulma-background-l:var(--bulma-success-85-invert-l)}.has-text-success-90,.is-color-success-90{--bulma-color-l:var(--bulma-success-90-l)}.has-background-success-90,.is-background-success-90{--bulma-background-l:var(--bulma-success-90-l)}.has-text-success-90-invert,.is-color-success-90-invert{--bulma-color-l:var(--bulma-success-90-invert-l)}.has-background-success-90-invert,.is-background-success-90-invert{--bulma-background-l:var(--bulma-success-90-invert-l)}.has-text-success-95,.is-color-success-95{--bulma-color-l:var(--bulma-success-95-l)}.has-background-success-95,.is-background-success-95{--bulma-background-l:var(--bulma-success-95-l)}.has-text-success-95-invert,.is-color-success-95-invert{--bulma-color-l:var(--bulma-success-95-invert-l)}.has-background-success-95-invert,.is-background-success-95-invert{--bulma-background-l:var(--bulma-success-95-invert-l)}.has-text-success-100,.is-color-success-100{--bulma-color-l:var(--bulma-success-100-l)}.has-background-success-100,.is-background-success-100{--bulma-background-l:var(--bulma-success-100-l)}.has-text-success-100-invert,.is-color-success-100-invert{--bulma-color-l:var(--bulma-success-100-invert-l)}.has-background-success-100-invert,.is-background-success-100-invert{--bulma-background-l:var(--bulma-success-100-invert-l)}a.has-text-success:focus-visible,a.has-text-success:hover,a.is-color-success:focus-visible,a.is-color-success:hover,button.has-text-success:focus-visible,button.has-text-success:hover,button.is-color-success:focus-visible,button.is-color-success:hover,has-text-success.is-hoverable:focus-visible,has-text-success.is-hoverable:hover,is-color-success.is-hoverable:focus-visible,is-color-success.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-success:active,a.is-color-success:active,button.has-text-success:active,button.is-color-success:active,has-text-success.is-hoverable:active,is-color-success.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-success:focus-visible,a.has-background-success:hover,a.is-background-success:focus-visible,a.is-background-success:hover,button.has-background-success:focus-visible,button.has-background-success:hover,button.is-background-success:focus-visible,button.is-background-success:hover,has-background-success.is-hoverable:focus-visible,has-background-success.is-hoverable:hover,is-background-success.is-hoverable:focus-visible,is-background-success.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-success:active,a.is-background-success:active,button.has-background-success:active,button.is-background-success:active,has-background-success.is-hoverable:active,is-background-success.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-success{--h:var(--bulma-success-h);--s:var(--bulma-success-s);--l:var(--bulma-success-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-success-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-success-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-success-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-success-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-success-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-success-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-success-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-success-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-success-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-success-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-success-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-success-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-success-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-success-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-success-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-success-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-success-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-success-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-success-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-success-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-success-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-warning],[class*=is-color-warning]{--bulma-color-l:var(--bulma-warning-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-warning-h),var(--bulma-warning-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-warning],[class*=is-background-warning]{--bulma-background-l:var(--bulma-warning-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-warning-h),var(--bulma-warning-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-warning-invert,.is-color-warning-invert{--bulma-color-l:var(--bulma-warning-invert-l)}.has-background-warning-invert,.is-background-warning-invert{--bulma-background-l:var(--bulma-warning-invert-l)}.has-text-warning-on-scheme,.is-color-warning-on-scheme{--bulma-color-l:var(--bulma-warning-on-scheme-l)}.has-background-warning-on-scheme,.is-background-warning-on-scheme{--bulma-background-l:var(--bulma-warning-on-scheme-l)}.has-text-warning-light,.is-color-warning-light{--bulma-color-l:var(--bulma-warning-light-l)}.has-background-warning-light,.is-background-warning-light{--bulma-background-l:var(--bulma-warning-light-l)}.has-text-warning-light-invert,.is-color-warning-light-invert{--bulma-color-l:var(--bulma-warning-light-invert-l)}.has-background-warning-light-invert,.is-background-warning-light-invert{--bulma-background-l:var(--bulma-warning-light-invert-l)}.has-text-warning-dark,.is-color-warning-dark{--bulma-color-l:var(--bulma-warning-dark-l)}.has-background-warning-dark,.is-background-warning-dark{--bulma-background-l:var(--bulma-warning-dark-l)}.has-text-warning-dark-invert,.is-color-warning-dark-invert{--bulma-color-l:var(--bulma-warning-dark-invert-l)}.has-background-warning-dark-invert,.is-background-warning-dark-invert{--bulma-background-l:var(--bulma-warning-dark-invert-l)}.has-text-warning-soft,.is-color-warning-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-warning-soft,.is-background-warning-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-warning-bold,.is-color-warning-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-warning-bold,.is-background-warning-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-warning-soft-invert,.is-color-warning-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-warning-soft-invert,.is-background-warning-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-warning-bold-invert,.is-color-warning-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-warning-bold-invert,.is-background-warning-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-warning-00,.is-color-warning-00{--bulma-color-l:var(--bulma-warning-00-l)}.has-background-warning-00,.is-background-warning-00{--bulma-background-l:var(--bulma-warning-00-l)}.has-text-warning-00-invert,.is-color-warning-00-invert{--bulma-color-l:var(--bulma-warning-00-invert-l)}.has-background-warning-00-invert,.is-background-warning-00-invert{--bulma-background-l:var(--bulma-warning-00-invert-l)}.has-text-warning-05,.is-color-warning-05{--bulma-color-l:var(--bulma-warning-05-l)}.has-background-warning-05,.is-background-warning-05{--bulma-background-l:var(--bulma-warning-05-l)}.has-text-warning-05-invert,.is-color-warning-05-invert{--bulma-color-l:var(--bulma-warning-05-invert-l)}.has-background-warning-05-invert,.is-background-warning-05-invert{--bulma-background-l:var(--bulma-warning-05-invert-l)}.has-text-warning-10,.is-color-warning-10{--bulma-color-l:var(--bulma-warning-10-l)}.has-background-warning-10,.is-background-warning-10{--bulma-background-l:var(--bulma-warning-10-l)}.has-text-warning-10-invert,.is-color-warning-10-invert{--bulma-color-l:var(--bulma-warning-10-invert-l)}.has-background-warning-10-invert,.is-background-warning-10-invert{--bulma-background-l:var(--bulma-warning-10-invert-l)}.has-text-warning-15,.is-color-warning-15{--bulma-color-l:var(--bulma-warning-15-l)}.has-background-warning-15,.is-background-warning-15{--bulma-background-l:var(--bulma-warning-15-l)}.has-text-warning-15-invert,.is-color-warning-15-invert{--bulma-color-l:var(--bulma-warning-15-invert-l)}.has-background-warning-15-invert,.is-background-warning-15-invert{--bulma-background-l:var(--bulma-warning-15-invert-l)}.has-text-warning-20,.is-color-warning-20{--bulma-color-l:var(--bulma-warning-20-l)}.has-background-warning-20,.is-background-warning-20{--bulma-background-l:var(--bulma-warning-20-l)}.has-text-warning-20-invert,.is-color-warning-20-invert{--bulma-color-l:var(--bulma-warning-20-invert-l)}.has-background-warning-20-invert,.is-background-warning-20-invert{--bulma-background-l:var(--bulma-warning-20-invert-l)}.has-text-warning-25,.is-color-warning-25{--bulma-color-l:var(--bulma-warning-25-l)}.has-background-warning-25,.is-background-warning-25{--bulma-background-l:var(--bulma-warning-25-l)}.has-text-warning-25-invert,.is-color-warning-25-invert{--bulma-color-l:var(--bulma-warning-25-invert-l)}.has-background-warning-25-invert,.is-background-warning-25-invert{--bulma-background-l:var(--bulma-warning-25-invert-l)}.has-text-warning-30,.is-color-warning-30{--bulma-color-l:var(--bulma-warning-30-l)}.has-background-warning-30,.is-background-warning-30{--bulma-background-l:var(--bulma-warning-30-l)}.has-text-warning-30-invert,.is-color-warning-30-invert{--bulma-color-l:var(--bulma-warning-30-invert-l)}.has-background-warning-30-invert,.is-background-warning-30-invert{--bulma-background-l:var(--bulma-warning-30-invert-l)}.has-text-warning-35,.is-color-warning-35{--bulma-color-l:var(--bulma-warning-35-l)}.has-background-warning-35,.is-background-warning-35{--bulma-background-l:var(--bulma-warning-35-l)}.has-text-warning-35-invert,.is-color-warning-35-invert{--bulma-color-l:var(--bulma-warning-35-invert-l)}.has-background-warning-35-invert,.is-background-warning-35-invert{--bulma-background-l:var(--bulma-warning-35-invert-l)}.has-text-warning-40,.is-color-warning-40{--bulma-color-l:var(--bulma-warning-40-l)}.has-background-warning-40,.is-background-warning-40{--bulma-background-l:var(--bulma-warning-40-l)}.has-text-warning-40-invert,.is-color-warning-40-invert{--bulma-color-l:var(--bulma-warning-40-invert-l)}.has-background-warning-40-invert,.is-background-warning-40-invert{--bulma-background-l:var(--bulma-warning-40-invert-l)}.has-text-warning-45,.is-color-warning-45{--bulma-color-l:var(--bulma-warning-45-l)}.has-background-warning-45,.is-background-warning-45{--bulma-background-l:var(--bulma-warning-45-l)}.has-text-warning-45-invert,.is-color-warning-45-invert{--bulma-color-l:var(--bulma-warning-45-invert-l)}.has-background-warning-45-invert,.is-background-warning-45-invert{--bulma-background-l:var(--bulma-warning-45-invert-l)}.has-text-warning-50,.is-color-warning-50{--bulma-color-l:var(--bulma-warning-50-l)}.has-background-warning-50,.is-background-warning-50{--bulma-background-l:var(--bulma-warning-50-l)}.has-text-warning-50-invert,.is-color-warning-50-invert{--bulma-color-l:var(--bulma-warning-50-invert-l)}.has-background-warning-50-invert,.is-background-warning-50-invert{--bulma-background-l:var(--bulma-warning-50-invert-l)}.has-text-warning-55,.is-color-warning-55{--bulma-color-l:var(--bulma-warning-55-l)}.has-background-warning-55,.is-background-warning-55{--bulma-background-l:var(--bulma-warning-55-l)}.has-text-warning-55-invert,.is-color-warning-55-invert{--bulma-color-l:var(--bulma-warning-55-invert-l)}.has-background-warning-55-invert,.is-background-warning-55-invert{--bulma-background-l:var(--bulma-warning-55-invert-l)}.has-text-warning-60,.is-color-warning-60{--bulma-color-l:var(--bulma-warning-60-l)}.has-background-warning-60,.is-background-warning-60{--bulma-background-l:var(--bulma-warning-60-l)}.has-text-warning-60-invert,.is-color-warning-60-invert{--bulma-color-l:var(--bulma-warning-60-invert-l)}.has-background-warning-60-invert,.is-background-warning-60-invert{--bulma-background-l:var(--bulma-warning-60-invert-l)}.has-text-warning-65,.is-color-warning-65{--bulma-color-l:var(--bulma-warning-65-l)}.has-background-warning-65,.is-background-warning-65{--bulma-background-l:var(--bulma-warning-65-l)}.has-text-warning-65-invert,.is-color-warning-65-invert{--bulma-color-l:var(--bulma-warning-65-invert-l)}.has-background-warning-65-invert,.is-background-warning-65-invert{--bulma-background-l:var(--bulma-warning-65-invert-l)}.has-text-warning-70,.is-color-warning-70{--bulma-color-l:var(--bulma-warning-70-l)}.has-background-warning-70,.is-background-warning-70{--bulma-background-l:var(--bulma-warning-70-l)}.has-text-warning-70-invert,.is-color-warning-70-invert{--bulma-color-l:var(--bulma-warning-70-invert-l)}.has-background-warning-70-invert,.is-background-warning-70-invert{--bulma-background-l:var(--bulma-warning-70-invert-l)}.has-text-warning-75,.is-color-warning-75{--bulma-color-l:var(--bulma-warning-75-l)}.has-background-warning-75,.is-background-warning-75{--bulma-background-l:var(--bulma-warning-75-l)}.has-text-warning-75-invert,.is-color-warning-75-invert{--bulma-color-l:var(--bulma-warning-75-invert-l)}.has-background-warning-75-invert,.is-background-warning-75-invert{--bulma-background-l:var(--bulma-warning-75-invert-l)}.has-text-warning-80,.is-color-warning-80{--bulma-color-l:var(--bulma-warning-80-l)}.has-background-warning-80,.is-background-warning-80{--bulma-background-l:var(--bulma-warning-80-l)}.has-text-warning-80-invert,.is-color-warning-80-invert{--bulma-color-l:var(--bulma-warning-80-invert-l)}.has-background-warning-80-invert,.is-background-warning-80-invert{--bulma-background-l:var(--bulma-warning-80-invert-l)}.has-text-warning-85,.is-color-warning-85{--bulma-color-l:var(--bulma-warning-85-l)}.has-background-warning-85,.is-background-warning-85{--bulma-background-l:var(--bulma-warning-85-l)}.has-text-warning-85-invert,.is-color-warning-85-invert{--bulma-color-l:var(--bulma-warning-85-invert-l)}.has-background-warning-85-invert,.is-background-warning-85-invert{--bulma-background-l:var(--bulma-warning-85-invert-l)}.has-text-warning-90,.is-color-warning-90{--bulma-color-l:var(--bulma-warning-90-l)}.has-background-warning-90,.is-background-warning-90{--bulma-background-l:var(--bulma-warning-90-l)}.has-text-warning-90-invert,.is-color-warning-90-invert{--bulma-color-l:var(--bulma-warning-90-invert-l)}.has-background-warning-90-invert,.is-background-warning-90-invert{--bulma-background-l:var(--bulma-warning-90-invert-l)}.has-text-warning-95,.is-color-warning-95{--bulma-color-l:var(--bulma-warning-95-l)}.has-background-warning-95,.is-background-warning-95{--bulma-background-l:var(--bulma-warning-95-l)}.has-text-warning-95-invert,.is-color-warning-95-invert{--bulma-color-l:var(--bulma-warning-95-invert-l)}.has-background-warning-95-invert,.is-background-warning-95-invert{--bulma-background-l:var(--bulma-warning-95-invert-l)}.has-text-warning-100,.is-color-warning-100{--bulma-color-l:var(--bulma-warning-100-l)}.has-background-warning-100,.is-background-warning-100{--bulma-background-l:var(--bulma-warning-100-l)}.has-text-warning-100-invert,.is-color-warning-100-invert{--bulma-color-l:var(--bulma-warning-100-invert-l)}.has-background-warning-100-invert,.is-background-warning-100-invert{--bulma-background-l:var(--bulma-warning-100-invert-l)}a.has-text-warning:focus-visible,a.has-text-warning:hover,a.is-color-warning:focus-visible,a.is-color-warning:hover,button.has-text-warning:focus-visible,button.has-text-warning:hover,button.is-color-warning:focus-visible,button.is-color-warning:hover,has-text-warning.is-hoverable:focus-visible,has-text-warning.is-hoverable:hover,is-color-warning.is-hoverable:focus-visible,is-color-warning.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-warning:active,a.is-color-warning:active,button.has-text-warning:active,button.is-color-warning:active,has-text-warning.is-hoverable:active,is-color-warning.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-warning:focus-visible,a.has-background-warning:hover,a.is-background-warning:focus-visible,a.is-background-warning:hover,button.has-background-warning:focus-visible,button.has-background-warning:hover,button.is-background-warning:focus-visible,button.is-background-warning:hover,has-background-warning.is-hoverable:focus-visible,has-background-warning.is-hoverable:hover,is-background-warning.is-hoverable:focus-visible,is-background-warning.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-warning:active,a.is-background-warning:active,button.has-background-warning:active,button.is-background-warning:active,has-background-warning.is-hoverable:active,is-background-warning.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-warning{--h:var(--bulma-warning-h);--s:var(--bulma-warning-s);--l:var(--bulma-warning-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-warning-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-warning-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-warning-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-warning-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-warning-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-warning-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-warning-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-warning-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-warning-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-warning-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-warning-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-warning-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-warning-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-warning-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-warning-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-warning-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-warning-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-warning-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-warning-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-warning-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-warning-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}[class*=has-text-danger],[class*=is-color-danger]{--bulma-color-l:var(--bulma-danger-l);--bulma-color-l-delta:0%;color:hsl(var(--bulma-danger-h),var(--bulma-danger-s),calc(var(--bulma-color-l) + var(--bulma-color-l-delta)))!important}[class*=has-background-danger],[class*=is-background-danger]{--bulma-background-l:var(--bulma-danger-l);--bulma-background-l-delta:0%;background-color:hsl(var(--bulma-danger-h),var(--bulma-danger-s),calc(var(--bulma-background-l) + var(--bulma-background-l-delta)))!important}.has-text-danger-invert,.is-color-danger-invert{--bulma-color-l:var(--bulma-danger-invert-l)}.has-background-danger-invert,.is-background-danger-invert{--bulma-background-l:var(--bulma-danger-invert-l)}.has-text-danger-on-scheme,.is-color-danger-on-scheme{--bulma-color-l:var(--bulma-danger-on-scheme-l)}.has-background-danger-on-scheme,.is-background-danger-on-scheme{--bulma-background-l:var(--bulma-danger-on-scheme-l)}.has-text-danger-light,.is-color-danger-light{--bulma-color-l:var(--bulma-danger-light-l)}.has-background-danger-light,.is-background-danger-light{--bulma-background-l:var(--bulma-danger-light-l)}.has-text-danger-light-invert,.is-color-danger-light-invert{--bulma-color-l:var(--bulma-danger-light-invert-l)}.has-background-danger-light-invert,.is-background-danger-light-invert{--bulma-background-l:var(--bulma-danger-light-invert-l)}.has-text-danger-dark,.is-color-danger-dark{--bulma-color-l:var(--bulma-danger-dark-l)}.has-background-danger-dark,.is-background-danger-dark{--bulma-background-l:var(--bulma-danger-dark-l)}.has-text-danger-dark-invert,.is-color-danger-dark-invert{--bulma-color-l:var(--bulma-danger-dark-invert-l)}.has-background-danger-dark-invert,.is-background-danger-dark-invert{--bulma-background-l:var(--bulma-danger-dark-invert-l)}.has-text-danger-soft,.is-color-danger-soft{--bulma-color-l:var(--bulma-soft-l)}.has-background-danger-soft,.is-background-danger-soft{--bulma-background-l:var(--bulma-soft-l)}.has-text-danger-bold,.is-color-danger-bold{--bulma-color-l:var(--bulma-bold-l)}.has-background-danger-bold,.is-background-danger-bold{--bulma-background-l:var(--bulma-bold-l)}.has-text-danger-soft-invert,.is-color-danger-soft-invert{--bulma-color-l:var(--bulma-soft-invert-l)}.has-background-danger-soft-invert,.is-background-danger-soft-invert{--bulma-background-l:var(--bulma-soft-invert-l)}.has-text-danger-bold-invert,.is-color-danger-bold-invert{--bulma-color-l:var(--bulma-bold-invert-l)}.has-background-danger-bold-invert,.is-background-danger-bold-invert{--bulma-background-l:var(--bulma-bold-invert-l)}.has-text-danger-00,.is-color-danger-00{--bulma-color-l:var(--bulma-danger-00-l)}.has-background-danger-00,.is-background-danger-00{--bulma-background-l:var(--bulma-danger-00-l)}.has-text-danger-00-invert,.is-color-danger-00-invert{--bulma-color-l:var(--bulma-danger-00-invert-l)}.has-background-danger-00-invert,.is-background-danger-00-invert{--bulma-background-l:var(--bulma-danger-00-invert-l)}.has-text-danger-05,.is-color-danger-05{--bulma-color-l:var(--bulma-danger-05-l)}.has-background-danger-05,.is-background-danger-05{--bulma-background-l:var(--bulma-danger-05-l)}.has-text-danger-05-invert,.is-color-danger-05-invert{--bulma-color-l:var(--bulma-danger-05-invert-l)}.has-background-danger-05-invert,.is-background-danger-05-invert{--bulma-background-l:var(--bulma-danger-05-invert-l)}.has-text-danger-10,.is-color-danger-10{--bulma-color-l:var(--bulma-danger-10-l)}.has-background-danger-10,.is-background-danger-10{--bulma-background-l:var(--bulma-danger-10-l)}.has-text-danger-10-invert,.is-color-danger-10-invert{--bulma-color-l:var(--bulma-danger-10-invert-l)}.has-background-danger-10-invert,.is-background-danger-10-invert{--bulma-background-l:var(--bulma-danger-10-invert-l)}.has-text-danger-15,.is-color-danger-15{--bulma-color-l:var(--bulma-danger-15-l)}.has-background-danger-15,.is-background-danger-15{--bulma-background-l:var(--bulma-danger-15-l)}.has-text-danger-15-invert,.is-color-danger-15-invert{--bulma-color-l:var(--bulma-danger-15-invert-l)}.has-background-danger-15-invert,.is-background-danger-15-invert{--bulma-background-l:var(--bulma-danger-15-invert-l)}.has-text-danger-20,.is-color-danger-20{--bulma-color-l:var(--bulma-danger-20-l)}.has-background-danger-20,.is-background-danger-20{--bulma-background-l:var(--bulma-danger-20-l)}.has-text-danger-20-invert,.is-color-danger-20-invert{--bulma-color-l:var(--bulma-danger-20-invert-l)}.has-background-danger-20-invert,.is-background-danger-20-invert{--bulma-background-l:var(--bulma-danger-20-invert-l)}.has-text-danger-25,.is-color-danger-25{--bulma-color-l:var(--bulma-danger-25-l)}.has-background-danger-25,.is-background-danger-25{--bulma-background-l:var(--bulma-danger-25-l)}.has-text-danger-25-invert,.is-color-danger-25-invert{--bulma-color-l:var(--bulma-danger-25-invert-l)}.has-background-danger-25-invert,.is-background-danger-25-invert{--bulma-background-l:var(--bulma-danger-25-invert-l)}.has-text-danger-30,.is-color-danger-30{--bulma-color-l:var(--bulma-danger-30-l)}.has-background-danger-30,.is-background-danger-30{--bulma-background-l:var(--bulma-danger-30-l)}.has-text-danger-30-invert,.is-color-danger-30-invert{--bulma-color-l:var(--bulma-danger-30-invert-l)}.has-background-danger-30-invert,.is-background-danger-30-invert{--bulma-background-l:var(--bulma-danger-30-invert-l)}.has-text-danger-35,.is-color-danger-35{--bulma-color-l:var(--bulma-danger-35-l)}.has-background-danger-35,.is-background-danger-35{--bulma-background-l:var(--bulma-danger-35-l)}.has-text-danger-35-invert,.is-color-danger-35-invert{--bulma-color-l:var(--bulma-danger-35-invert-l)}.has-background-danger-35-invert,.is-background-danger-35-invert{--bulma-background-l:var(--bulma-danger-35-invert-l)}.has-text-danger-40,.is-color-danger-40{--bulma-color-l:var(--bulma-danger-40-l)}.has-background-danger-40,.is-background-danger-40{--bulma-background-l:var(--bulma-danger-40-l)}.has-text-danger-40-invert,.is-color-danger-40-invert{--bulma-color-l:var(--bulma-danger-40-invert-l)}.has-background-danger-40-invert,.is-background-danger-40-invert{--bulma-background-l:var(--bulma-danger-40-invert-l)}.has-text-danger-45,.is-color-danger-45{--bulma-color-l:var(--bulma-danger-45-l)}.has-background-danger-45,.is-background-danger-45{--bulma-background-l:var(--bulma-danger-45-l)}.has-text-danger-45-invert,.is-color-danger-45-invert{--bulma-color-l:var(--bulma-danger-45-invert-l)}.has-background-danger-45-invert,.is-background-danger-45-invert{--bulma-background-l:var(--bulma-danger-45-invert-l)}.has-text-danger-50,.is-color-danger-50{--bulma-color-l:var(--bulma-danger-50-l)}.has-background-danger-50,.is-background-danger-50{--bulma-background-l:var(--bulma-danger-50-l)}.has-text-danger-50-invert,.is-color-danger-50-invert{--bulma-color-l:var(--bulma-danger-50-invert-l)}.has-background-danger-50-invert,.is-background-danger-50-invert{--bulma-background-l:var(--bulma-danger-50-invert-l)}.has-text-danger-55,.is-color-danger-55{--bulma-color-l:var(--bulma-danger-55-l)}.has-background-danger-55,.is-background-danger-55{--bulma-background-l:var(--bulma-danger-55-l)}.has-text-danger-55-invert,.is-color-danger-55-invert{--bulma-color-l:var(--bulma-danger-55-invert-l)}.has-background-danger-55-invert,.is-background-danger-55-invert{--bulma-background-l:var(--bulma-danger-55-invert-l)}.has-text-danger-60,.is-color-danger-60{--bulma-color-l:var(--bulma-danger-60-l)}.has-background-danger-60,.is-background-danger-60{--bulma-background-l:var(--bulma-danger-60-l)}.has-text-danger-60-invert,.is-color-danger-60-invert{--bulma-color-l:var(--bulma-danger-60-invert-l)}.has-background-danger-60-invert,.is-background-danger-60-invert{--bulma-background-l:var(--bulma-danger-60-invert-l)}.has-text-danger-65,.is-color-danger-65{--bulma-color-l:var(--bulma-danger-65-l)}.has-background-danger-65,.is-background-danger-65{--bulma-background-l:var(--bulma-danger-65-l)}.has-text-danger-65-invert,.is-color-danger-65-invert{--bulma-color-l:var(--bulma-danger-65-invert-l)}.has-background-danger-65-invert,.is-background-danger-65-invert{--bulma-background-l:var(--bulma-danger-65-invert-l)}.has-text-danger-70,.is-color-danger-70{--bulma-color-l:var(--bulma-danger-70-l)}.has-background-danger-70,.is-background-danger-70{--bulma-background-l:var(--bulma-danger-70-l)}.has-text-danger-70-invert,.is-color-danger-70-invert{--bulma-color-l:var(--bulma-danger-70-invert-l)}.has-background-danger-70-invert,.is-background-danger-70-invert{--bulma-background-l:var(--bulma-danger-70-invert-l)}.has-text-danger-75,.is-color-danger-75{--bulma-color-l:var(--bulma-danger-75-l)}.has-background-danger-75,.is-background-danger-75{--bulma-background-l:var(--bulma-danger-75-l)}.has-text-danger-75-invert,.is-color-danger-75-invert{--bulma-color-l:var(--bulma-danger-75-invert-l)}.has-background-danger-75-invert,.is-background-danger-75-invert{--bulma-background-l:var(--bulma-danger-75-invert-l)}.has-text-danger-80,.is-color-danger-80{--bulma-color-l:var(--bulma-danger-80-l)}.has-background-danger-80,.is-background-danger-80{--bulma-background-l:var(--bulma-danger-80-l)}.has-text-danger-80-invert,.is-color-danger-80-invert{--bulma-color-l:var(--bulma-danger-80-invert-l)}.has-background-danger-80-invert,.is-background-danger-80-invert{--bulma-background-l:var(--bulma-danger-80-invert-l)}.has-text-danger-85,.is-color-danger-85{--bulma-color-l:var(--bulma-danger-85-l)}.has-background-danger-85,.is-background-danger-85{--bulma-background-l:var(--bulma-danger-85-l)}.has-text-danger-85-invert,.is-color-danger-85-invert{--bulma-color-l:var(--bulma-danger-85-invert-l)}.has-background-danger-85-invert,.is-background-danger-85-invert{--bulma-background-l:var(--bulma-danger-85-invert-l)}.has-text-danger-90,.is-color-danger-90{--bulma-color-l:var(--bulma-danger-90-l)}.has-background-danger-90,.is-background-danger-90{--bulma-background-l:var(--bulma-danger-90-l)}.has-text-danger-90-invert,.is-color-danger-90-invert{--bulma-color-l:var(--bulma-danger-90-invert-l)}.has-background-danger-90-invert,.is-background-danger-90-invert{--bulma-background-l:var(--bulma-danger-90-invert-l)}.has-text-danger-95,.is-color-danger-95{--bulma-color-l:var(--bulma-danger-95-l)}.has-background-danger-95,.is-background-danger-95{--bulma-background-l:var(--bulma-danger-95-l)}.has-text-danger-95-invert,.is-color-danger-95-invert{--bulma-color-l:var(--bulma-danger-95-invert-l)}.has-background-danger-95-invert,.is-background-danger-95-invert{--bulma-background-l:var(--bulma-danger-95-invert-l)}.has-text-danger-100,.is-color-danger-100{--bulma-color-l:var(--bulma-danger-100-l)}.has-background-danger-100,.is-background-danger-100{--bulma-background-l:var(--bulma-danger-100-l)}.has-text-danger-100-invert,.is-color-danger-100-invert{--bulma-color-l:var(--bulma-danger-100-invert-l)}.has-background-danger-100-invert,.is-background-danger-100-invert{--bulma-background-l:var(--bulma-danger-100-invert-l)}a.has-text-danger:focus-visible,a.has-text-danger:hover,a.is-color-danger:focus-visible,a.is-color-danger:hover,button.has-text-danger:focus-visible,button.has-text-danger:hover,button.is-color-danger:focus-visible,button.is-color-danger:hover,has-text-danger.is-hoverable:focus-visible,has-text-danger.is-hoverable:hover,is-color-danger.is-hoverable:focus-visible,is-color-danger.is-hoverable:hover{--bulma-color-l-delta:var(--bulma-hover-color-l-delta)}a.has-text-danger:active,a.is-color-danger:active,button.has-text-danger:active,button.is-color-danger:active,has-text-danger.is-hoverable:active,is-color-danger.is-hoverable:active{--bulma-color-l-delta:var(--bulma-active-color-l-delta)}a.has-background-danger:focus-visible,a.has-background-danger:hover,a.is-background-danger:focus-visible,a.is-background-danger:hover,button.has-background-danger:focus-visible,button.has-background-danger:hover,button.is-background-danger:focus-visible,button.is-background-danger:hover,has-background-danger.is-hoverable:focus-visible,has-background-danger.is-hoverable:hover,is-background-danger.is-hoverable:focus-visible,is-background-danger.is-hoverable:hover{--bulma-background-l-delta:var(--bulma-hover-background-l-delta)}a.has-background-danger:active,a.is-background-danger:active,button.has-background-danger:active,button.is-background-danger:active,has-background-danger.is-hoverable:active,is-background-danger.is-hoverable:active{--bulma-background-l-delta:var(--bulma-active-background-l-delta)}.is-palette-danger{--h:var(--bulma-danger-h);--s:var(--bulma-danger-s);--l:var(--bulma-danger-l);--color:hsl(var(--h),var(--s),var(--l));--00-l:var(--bulma-danger-00-l);--color-00:hsl(var(--h),var(--s),var(--00-l));--05-l:var(--bulma-danger-05-l);--color-05:hsl(var(--h),var(--s),var(--05-l));--10-l:var(--bulma-danger-10-l);--color-10:hsl(var(--h),var(--s),var(--10-l));--15-l:var(--bulma-danger-15-l);--color-15:hsl(var(--h),var(--s),var(--15-l));--20-l:var(--bulma-danger-20-l);--color-20:hsl(var(--h),var(--s),var(--20-l));--25-l:var(--bulma-danger-25-l);--color-25:hsl(var(--h),var(--s),var(--25-l));--30-l:var(--bulma-danger-30-l);--color-30:hsl(var(--h),var(--s),var(--30-l));--35-l:var(--bulma-danger-35-l);--color-35:hsl(var(--h),var(--s),var(--35-l));--40-l:var(--bulma-danger-40-l);--color-40:hsl(var(--h),var(--s),var(--40-l));--45-l:var(--bulma-danger-45-l);--color-45:hsl(var(--h),var(--s),var(--45-l));--50-l:var(--bulma-danger-50-l);--color-50:hsl(var(--h),var(--s),var(--50-l));--55-l:var(--bulma-danger-55-l);--color-55:hsl(var(--h),var(--s),var(--55-l));--60-l:var(--bulma-danger-60-l);--color-60:hsl(var(--h),var(--s),var(--60-l));--65-l:var(--bulma-danger-65-l);--color-65:hsl(var(--h),var(--s),var(--65-l));--70-l:var(--bulma-danger-70-l);--color-70:hsl(var(--h),var(--s),var(--70-l));--75-l:var(--bulma-danger-75-l);--color-75:hsl(var(--h),var(--s),var(--75-l));--80-l:var(--bulma-danger-80-l);--color-80:hsl(var(--h),var(--s),var(--80-l));--85-l:var(--bulma-danger-85-l);--color-85:hsl(var(--h),var(--s),var(--85-l));--90-l:var(--bulma-danger-90-l);--color-90:hsl(var(--h),var(--s),var(--90-l));--95-l:var(--bulma-danger-95-l);--color-95:hsl(var(--h),var(--s),var(--95-l));--100-l:var(--bulma-danger-100-l);--color-100:hsl(var(--h),var(--s),var(--100-l))}.has-text-black-bis,.is-color-black-bis{color:#14161a!important}.has-background-black-bis,.is-background-black-bis{background-color:#14161a!important}.has-text-black-ter,.is-color-black-ter{color:#1f2229!important}.has-background-black-ter,.is-background-black-ter{background-color:#1f2229!important}.has-text-grey-darker,.is-color-grey-darker{color:#2e333d!important}.has-background-grey-darker,.is-background-grey-darker{background-color:#2e333d!important}.has-text-grey-dark,.is-color-grey-dark{color:#404654!important}.has-background-grey-dark,.is-background-grey-dark{background-color:#404654!important}.has-text-grey,.is-color-grey{color:#69748c!important}.has-background-grey,.is-background-grey{background-color:#69748c!important}.has-text-grey-light,.is-color-grey-light{color:#abb1bf!important}.has-background-grey-light,.is-background-grey-light{background-color:#abb1bf!important}.has-text-grey-lighter,.is-color-grey-lighter{color:#d6d9e0!important}.has-background-grey-lighter,.is-background-grey-lighter{background-color:#d6d9e0!important}.has-text-white-ter,.is-color-white-ter{color:#f3f4f6!important}.has-background-white-ter,.is-background-white-ter{background-color:#f3f4f6!important}.has-text-white-bis,.is-color-white-bis{color:#f9fafb!important}.has-background-white-bis,.is-background-white-bis{background-color:#f9fafb!important}.is-flex-direction-row{flex-direction:row!important}.is-flex-direction-row-reverse{flex-direction:row-reverse!important}.is-flex-direction-column{flex-direction:column!important}.is-flex-direction-column-reverse{flex-direction:column-reverse!important}.is-flex-wrap-nowrap{flex-wrap:nowrap!important}.is-flex-wrap-wrap{flex-wrap:wrap!important}.is-flex-wrap-wrap-reverse{flex-wrap:wrap-reverse!important}.is-justify-content-flex-start{justify-content:flex-start!important}.is-justify-content-flex-end{justify-content:flex-end!important}.is-justify-content-center{justify-content:center!important}.is-justify-content-space-between{justify-content:space-between!important}.is-justify-content-space-around{justify-content:space-around!important}.is-justify-content-space-evenly{justify-content:space-evenly!important}.is-justify-content-start{justify-content:start!important}.is-justify-content-end{justify-content:end!important}.is-justify-content-left{justify-content:left!important}.is-justify-content-right{justify-content:right!important}.is-align-content-flex-start{align-content:flex-start!important}.is-align-content-flex-end{align-content:flex-end!important}.is-align-content-center{align-content:center!important}.is-align-content-space-between{align-content:space-between!important}.is-align-content-space-around{align-content:space-around!important}.is-align-content-space-evenly{align-content:space-evenly!important}.is-align-content-stretch{align-content:stretch!important}.is-align-content-start{align-content:start!important}.is-align-content-end{align-content:end!important}.is-align-content-baseline{align-content:baseline!important}.is-align-items-stretch{align-items:stretch!important}.is-align-items-flex-start{align-items:flex-start!important}.is-align-items-flex-end{align-items:flex-end!important}.is-align-items-center{align-items:center!important}.is-align-items-baseline{align-items:baseline!important}.is-align-items-start{align-items:start!important}.is-align-items-end{align-items:end!important}.is-align-items-self-start{align-items:self-start!important}.is-align-items-self-end{align-items:self-end!important}.is-align-self-auto{align-self:auto!important}.is-align-self-flex-start{align-self:flex-start!important}.is-align-self-flex-end{align-self:flex-end!important}.is-align-self-center{align-self:center!important}.is-align-self-baseline{align-self:baseline!important}.is-align-self-stretch{align-self:stretch!important}.is-flex-grow-0{flex-grow:0!important}.is-flex-grow-1{flex-grow:1!important}.is-flex-grow-2{flex-grow:2!important}.is-flex-grow-3{flex-grow:3!important}.is-flex-grow-4{flex-grow:4!important}.is-flex-grow-5{flex-grow:5!important}.is-flex-shrink-0{flex-shrink:0!important}.is-flex-shrink-1{flex-shrink:1!important}.is-flex-shrink-2{flex-shrink:2!important}.is-flex-shrink-3{flex-shrink:3!important}.is-flex-shrink-4{flex-shrink:4!important}.is-flex-shrink-5{flex-shrink:5!important}.is-clearfix:after{clear:both;content:" ";display:table}.is-float-left,.is-pulled-left{float:left!important}.is-float-right,.is-pulled-right{float:right!important}.is-float-none{float:none!important}.is-clear-both{clear:both!important}.is-clear-left{clear:left!important}.is-clear-none{clear:none!important}.is-clear-right{clear:right!important}.is-gap-0,.is-gapless{gap:0!important}.is-gap-0\.5{gap:.25rem!important}.is-gap-1{gap:.5rem!important}.is-gap-1\.5{gap:.75rem!important}.is-gap-2{gap:1rem!important}.is-gap-2\.5{gap:1.25rem!important}.is-gap-3{gap:1.5rem!important}.is-gap-3\.5{gap:1.75rem!important}.is-gap-4{gap:2rem!important}.is-gap-4\.5{gap:2.25rem!important}.is-gap-5{gap:2.5rem!important}.is-gap-5\.5{gap:2.75rem!important}.is-gap-6{gap:3rem!important}.is-gap-6\.5{gap:3.25rem!important}.is-gap-7{gap:3.5rem!important}.is-gap-7\.5{gap:3.75rem!important}.is-gap-8{gap:4rem!important}.is-column-gap-0{column-gap:0!important}.is-column-gap-0\.5{column-gap:.25rem!important}.is-column-gap-1{column-gap:.5rem!important}.is-column-gap-1\.5{column-gap:.75rem!important}.is-column-gap-2{column-gap:1rem!important}.is-column-gap-2\.5{column-gap:1.25rem!important}.is-column-gap-3{column-gap:1.5rem!important}.is-column-gap-3\.5{column-gap:1.75rem!important}.is-column-gap-4{column-gap:2rem!important}.is-column-gap-4\.5{column-gap:2.25rem!important}.is-column-gap-5{column-gap:2.5rem!important}.is-column-gap-5\.5{column-gap:2.75rem!important}.is-column-gap-6{column-gap:3rem!important}.is-column-gap-6\.5{column-gap:3.25rem!important}.is-column-gap-7{column-gap:3.5rem!important}.is-column-gap-7\.5{column-gap:3.75rem!important}.is-column-gap-8{column-gap:4rem!important}.is-row-gap-0{row-gap:0!important}.is-row-gap-0\.5{row-gap:.25rem!important}.is-row-gap-1{row-gap:.5rem!important}.is-row-gap-1\.5{row-gap:.75rem!important}.is-row-gap-2{row-gap:1rem!important}.is-row-gap-2\.5{row-gap:1.25rem!important}.is-row-gap-3{row-gap:1.5rem!important}.is-row-gap-3\.5{row-gap:1.75rem!important}.is-row-gap-4{row-gap:2rem!important}.is-row-gap-4\.5{row-gap:2.25rem!important}.is-row-gap-5{row-gap:2.5rem!important}.is-row-gap-5\.5{row-gap:2.75rem!important}.is-row-gap-6{row-gap:3rem!important}.is-row-gap-6\.5{row-gap:3.25rem!important}.is-row-gap-7{row-gap:3.5rem!important}.is-row-gap-7\.5{row-gap:3.75rem!important}.is-row-gap-8{row-gap:4rem!important}.is-clipped{overflow:hidden!important}.is-overflow-auto{overflow:auto!important}.is-overflow-x-auto{overflow-x:auto!important}.is-overflow-y-auto{overflow-y:auto!important}.is-overflow-clip{overflow:clip!important}.is-overflow-x-clip{overflow-x:clip!important}.is-overflow-y-clip{overflow-y:clip!important}.is-overflow-hidden{overflow:hidden!important}.is-overflow-x-hidden{overflow-x:hidden!important}.is-overflow-y-hidden{overflow-y:hidden!important}.is-overflow-scroll{overflow:scroll!important}.is-overflow-x-scroll{overflow-x:scroll!important}.is-overflow-y-scroll{overflow-y:scroll!important}.is-overflow-visible{overflow:visible!important}.is-overflow-x-visible{overflow-x:visible!important}.is-overflow-y-visible{overflow-y:visible!important}.is-relative{position:relative!important}.is-position-absolute{position:absolute!important}.is-position-fixed{position:fixed!important}.is-position-relative{position:relative!important}.is-position-static{position:static!important}.is-position-sticky{position:sticky!important}.marginless{margin:0!important}.paddingless{padding:0!important}.m-0{margin:0!important}.mt-0{margin-top:0!important}.mr-0{margin-right:0!important}.mb-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.mx-0{margin-right:0!important}.my-0{margin-bottom:0!important;margin-top:0!important}.m-1{margin:.25rem!important}.mt-1{margin-top:.25rem!important}.mr-1{margin-right:.25rem!important}.mb-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.mx-1{margin-right:.25rem!important}.my-1{margin-bottom:.25rem!important;margin-top:.25rem!important}.m-2{margin:.5rem!important}.mt-2{margin-top:.5rem!important}.mr-2{margin-right:.5rem!important}.mb-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.mx-2{margin-right:.5rem!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.m-3{margin:.75rem!important}.mt-3{margin-top:.75rem!important}.mr-3{margin-right:.75rem!important}.mb-3{margin-bottom:.75rem!important}.ml-3,.mx-3{margin-left:.75rem!important}.mx-3{margin-right:.75rem!important}.my-3{margin-bottom:.75rem!important;margin-top:.75rem!important}.m-4{margin:1rem!important}.mt-4{margin-top:1rem!important}.mr-4{margin-right:1rem!important}.mb-4{margin-bottom:1rem!important}.ml-4,.mx-4{margin-left:1rem!important}.mx-4{margin-right:1rem!important}.my-4{margin-bottom:1rem!important;margin-top:1rem!important}.m-5{margin:1.5rem!important}.mt-5{margin-top:1.5rem!important}.mr-5{margin-right:1.5rem!important}.mb-5{margin-bottom:1.5rem!important}.ml-5,.mx-5{margin-left:1.5rem!important}.mx-5{margin-right:1.5rem!important}.my-5{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.m-6{margin:3rem!important}.mt-6{margin-top:3rem!important}.mr-6{margin-right:3rem!important}.mb-6{margin-bottom:3rem!important}.ml-6,.mx-6{margin-left:3rem!important}.mx-6{margin-right:3rem!important}.my-6{margin-bottom:3rem!important;margin-top:3rem!important}.m-auto{margin:auto!important}.mt-auto{margin-top:auto!important}.mr-auto{margin-right:auto!important}.mb-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}.mx-auto{margin-right:auto!important}.my-auto{margin-bottom:auto!important;margin-top:auto!important}.p-0{padding:0!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.px-0{padding-right:0!important}.py-0{padding-bottom:0!important;padding-top:0!important}.p-1{padding:.25rem!important}.pt-1{padding-top:.25rem!important}.pr-1{padding-right:.25rem!important}.pb-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.px-1{padding-right:.25rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.p-2{padding:.5rem!important}.pt-2{padding-top:.5rem!important}.pr-2{padding-right:.5rem!important}.pb-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.px-2{padding-right:.5rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.p-3{padding:.75rem!important}.pt-3{padding-top:.75rem!important}.pr-3{padding-right:.75rem!important}.pb-3{padding-bottom:.75rem!important}.pl-3,.px-3{padding-left:.75rem!important}.px-3{padding-right:.75rem!important}.py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}.p-4{padding:1rem!important}.pt-4{padding-top:1rem!important}.pr-4{padding-right:1rem!important}.pb-4{padding-bottom:1rem!important}.pl-4,.px-4{padding-left:1rem!important}.px-4{padding-right:1rem!important}.py-4{padding-bottom:1rem!important;padding-top:1rem!important}.p-5{padding:1.5rem!important}.pt-5{padding-top:1.5rem!important}.pr-5{padding-right:1.5rem!important}.pb-5{padding-bottom:1.5rem!important}.pl-5,.px-5{padding-left:1.5rem!important}.px-5{padding-right:1.5rem!important}.py-5{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.p-6{padding:3rem!important}.pt-6{padding-top:3rem!important}.pr-6{padding-right:3rem!important}.pb-6{padding-bottom:3rem!important}.pl-6,.px-6{padding-left:3rem!important}.px-6{padding-right:3rem!important}.py-6{padding-bottom:3rem!important;padding-top:3rem!important}.p-auto{padding:auto!important}.pt-auto{padding-top:auto!important}.pr-auto{padding-right:auto!important}.pb-auto{padding-bottom:auto!important}.pl-auto,.px-auto{padding-left:auto!important}.px-auto{padding-right:auto!important}.py-auto{padding-bottom:auto!important;padding-top:auto!important}.is-size-1{font-size:3rem!important}.is-size-2{font-size:2.5rem!important}.is-size-3{font-size:2rem!important}.is-size-4{font-size:1.5rem!important}.is-size-5{font-size:1.25rem!important}.is-size-6{font-size:1rem!important}.is-size-7{font-size:.75rem!important}@media screen and (max-width:768px){.is-size-1-mobile{font-size:3rem!important}.is-size-2-mobile{font-size:2.5rem!important}.is-size-3-mobile{font-size:2rem!important}.is-size-4-mobile{font-size:1.5rem!important}.is-size-5-mobile{font-size:1.25rem!important}.is-size-6-mobile{font-size:1rem!important}.is-size-7-mobile{font-size:.75rem!important}}@media print,screen and (min-width:769px){.is-size-1-tablet{font-size:3rem!important}.is-size-2-tablet{font-size:2.5rem!important}.is-size-3-tablet{font-size:2rem!important}.is-size-4-tablet{font-size:1.5rem!important}.is-size-5-tablet{font-size:1.25rem!important}.is-size-6-tablet{font-size:1rem!important}.is-size-7-tablet{font-size:.75rem!important}}@media screen and (max-width:1023px){.is-size-1-touch{font-size:3rem!important}.is-size-2-touch{font-size:2.5rem!important}.is-size-3-touch{font-size:2rem!important}.is-size-4-touch{font-size:1.5rem!important}.is-size-5-touch{font-size:1.25rem!important}.is-size-6-touch{font-size:1rem!important}.is-size-7-touch{font-size:.75rem!important}}@media screen and (min-width:1024px){.is-size-1-desktop{font-size:3rem!important}.is-size-2-desktop{font-size:2.5rem!important}.is-size-3-desktop{font-size:2rem!important}.is-size-4-desktop{font-size:1.5rem!important}.is-size-5-desktop{font-size:1.25rem!important}.is-size-6-desktop{font-size:1rem!important}.is-size-7-desktop{font-size:.75rem!important}}@media screen and (min-width:1216px){.is-size-1-widescreen{font-size:3rem!important}.is-size-2-widescreen{font-size:2.5rem!important}.is-size-3-widescreen{font-size:2rem!important}.is-size-4-widescreen{font-size:1.5rem!important}.is-size-5-widescreen{font-size:1.25rem!important}.is-size-6-widescreen{font-size:1rem!important}.is-size-7-widescreen{font-size:.75rem!important}}@media screen and (min-width:1408px){.is-size-1-fullhd{font-size:3rem!important}.is-size-2-fullhd{font-size:2.5rem!important}.is-size-3-fullhd{font-size:2rem!important}.is-size-4-fullhd{font-size:1.5rem!important}.is-size-5-fullhd{font-size:1.25rem!important}.is-size-6-fullhd{font-size:1rem!important}.is-size-7-fullhd{font-size:.75rem!important}}.has-text-centered{text-align:center!important}.has-text-justified{text-align:justify!important}.has-text-left{text-align:left!important}.has-text-right{text-align:right!important}@media screen and (max-width:768px){.has-text-centered-mobile{text-align:center!important}}@media print,screen and (min-width:769px){.has-text-centered-tablet{text-align:center!important}}@media screen and (min-width:769px) and (max-width:1023px){.has-text-centered-tablet-only{text-align:center!important}}@media screen and (max-width:1023px){.has-text-centered-touch{text-align:center!important}}@media screen and (min-width:1024px){.has-text-centered-desktop{text-align:center!important}}@media screen and (min-width:1024px) and (max-width:1215px){.has-text-centered-desktop-only{text-align:center!important}}@media screen and (min-width:1216px){.has-text-centered-widescreen{text-align:center!important}}@media screen and (min-width:1216px) and (max-width:1407px){.has-text-centered-widescreen-only{text-align:center!important}}@media screen and (min-width:1408px){.has-text-centered-fullhd{text-align:center!important}}@media screen and (max-width:768px){.has-text-justified-mobile{text-align:justify!important}}@media print,screen and (min-width:769px){.has-text-justified-tablet{text-align:justify!important}}@media screen and (min-width:769px) and (max-width:1023px){.has-text-justified-tablet-only{text-align:justify!important}}@media screen and (max-width:1023px){.has-text-justified-touch{text-align:justify!important}}@media screen and (min-width:1024px){.has-text-justified-desktop{text-align:justify!important}}@media screen and (min-width:1024px) and (max-width:1215px){.has-text-justified-desktop-only{text-align:justify!important}}@media screen and (min-width:1216px){.has-text-justified-widescreen{text-align:justify!important}}@media screen and (min-width:1216px) and (max-width:1407px){.has-text-justified-widescreen-only{text-align:justify!important}}@media screen and (min-width:1408px){.has-text-justified-fullhd{text-align:justify!important}}@media screen and (max-width:768px){.has-text-left-mobile{text-align:left!important}}@media print,screen and (min-width:769px){.has-text-left-tablet{text-align:left!important}}@media screen and (min-width:769px) and (max-width:1023px){.has-text-left-tablet-only{text-align:left!important}}@media screen and (max-width:1023px){.has-text-left-touch{text-align:left!important}}@media screen and (min-width:1024px){.has-text-left-desktop{text-align:left!important}}@media screen and (min-width:1024px) and (max-width:1215px){.has-text-left-desktop-only{text-align:left!important}}@media screen and (min-width:1216px){.has-text-left-widescreen{text-align:left!important}}@media screen and (min-width:1216px) and (max-width:1407px){.has-text-left-widescreen-only{text-align:left!important}}@media screen and (min-width:1408px){.has-text-left-fullhd{text-align:left!important}}@media screen and (max-width:768px){.has-text-right-mobile{text-align:right!important}}@media print,screen and (min-width:769px){.has-text-right-tablet{text-align:right!important}}@media screen and (min-width:769px) and (max-width:1023px){.has-text-right-tablet-only{text-align:right!important}}@media screen and (max-width:1023px){.has-text-right-touch{text-align:right!important}}@media screen and (min-width:1024px){.has-text-right-desktop{text-align:right!important}}@media screen and (min-width:1024px) and (max-width:1215px){.has-text-right-desktop-only{text-align:right!important}}@media screen and (min-width:1216px){.has-text-right-widescreen{text-align:right!important}}@media screen and (min-width:1216px) and (max-width:1407px){.has-text-right-widescreen-only{text-align:right!important}}@media screen and (min-width:1408px){.has-text-right-fullhd{text-align:right!important}}.is-capitalized{text-transform:capitalize!important}.is-lowercase{text-transform:lowercase!important}.is-uppercase{text-transform:uppercase!important}.is-italic{font-style:italic!important}.is-underlined{text-decoration:underline!important}.has-text-weight-light{font-weight:300!important}.has-text-weight-normal{font-weight:400!important}.has-text-weight-medium{font-weight:500!important}.has-text-weight-semibold{font-weight:600!important}.has-text-weight-bold{font-weight:700!important}.is-family-primary,.is-family-sans-serif,.is-family-secondary{font-family:Inter,SF Pro,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Helvetica,Arial,sans-serif!important}.is-family-code,.is-family-monospace{font-family:Inconsolata,Hack,SF Mono,Roboto Mono,Source Code Pro,Ubuntu Mono,monospace!important}.is-display-none,.is-hidden{display:none!important}.is-block,.is-display-block{display:block!important}@media screen and (max-width:768px){.is-block-mobile,.is-display-block-mobile{display:block!important}}@media print,screen and (min-width:769px){.is-block-tablet,.is-display-block-tablet{display:block!important}}@media screen and (min-width:769px) and (max-width:1023px){.is-block-tablet-only,.is-display-block-tablet-only{display:block!important}}@media screen and (max-width:1023px){.is-block-touch,.is-display-block-touch{display:block!important}}@media screen and (min-width:1024px){.is-block-desktop,.is-display-block-desktop{display:block!important}}@media screen and (min-width:1024px) and (max-width:1215px){.is-block-desktop-only,.is-display-block-desktop-only{display:block!important}}@media screen and (min-width:1216px){.is-block-widescreen,.is-display-block-widescreen{display:block!important}}@media screen and (min-width:1216px) and (max-width:1407px){.is-block-widescreen-only,.is-display-block-widescreen-only{display:block!important}}@media screen and (min-width:1408px){.is-block-fullhd,.is-display-block-fullhd{display:block!important}}.is-display-flex,.is-flex{display:flex!important}@media screen and (max-width:768px){.is-display-flex-mobile,.is-flex-mobile{display:flex!important}}@media print,screen and (min-width:769px){.is-display-flex-tablet,.is-flex-tablet{display:flex!important}}@media screen and (min-width:769px) and (max-width:1023px){.is-display-flex-tablet-only,.is-flex-tablet-only{display:flex!important}}@media screen and (max-width:1023px){.is-display-flex-touch,.is-flex-touch{display:flex!important}}@media screen and (min-width:1024px){.is-display-flex-desktop,.is-flex-desktop{display:flex!important}}@media screen and (min-width:1024px) and (max-width:1215px){.is-display-flex-desktop-only,.is-flex-desktop-only{display:flex!important}}@media screen and (min-width:1216px){.is-display-flex-widescreen,.is-flex-widescreen{display:flex!important}}@media screen and (min-width:1216px) and (max-width:1407px){.is-display-flex-widescreen-only,.is-flex-widescreen-only{display:flex!important}}@media screen and (min-width:1408px){.is-display-flex-fullhd,.is-flex-fullhd{display:flex!important}}.is-display-inline,.is-inline{display:inline!important}@media screen and (max-width:768px){.is-display-inline-mobile,.is-inline-mobile{display:inline!important}}@media print,screen and (min-width:769px){.is-display-inline-tablet,.is-inline-tablet{display:inline!important}}@media screen and (min-width:769px) and (max-width:1023px){.is-display-inline-tablet-only,.is-inline-tablet-only{display:inline!important}}@media screen and (max-width:1023px){.is-display-inline-touch,.is-inline-touch{display:inline!important}}@media screen and (min-width:1024px){.is-display-inline-desktop,.is-inline-desktop{display:inline!important}}@media screen and (min-width:1024px) and (max-width:1215px){.is-display-inline-desktop-only,.is-inline-desktop-only{display:inline!important}}@media screen and (min-width:1216px){.is-display-inline-widescreen,.is-inline-widescreen{display:inline!important}}@media screen and (min-width:1216px) and (max-width:1407px){.is-display-inline-widescreen-only,.is-inline-widescreen-only{display:inline!important}}@media screen and (min-width:1408px){.is-display-inline-fullhd,.is-inline-fullhd{display:inline!important}}.is-display-inline-block,.is-inline-block{display:inline-block!important}@media screen and (max-width:768px){.is-display-inline-block-mobile,.is-inline-block-mobile{display:inline-block!important}}@media print,screen and (min-width:769px){.is-display-inline-block-tablet,.is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width:769px) and (max-width:1023px){.is-display-inline-block-tablet-only,.is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width:1023px){.is-display-inline-block-touch,.is-inline-block-touch{display:inline-block!important}}@media screen and (min-width:1024px){.is-display-inline-block-desktop,.is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width:1024px) and (max-width:1215px){.is-display-inline-block-desktop-only,.is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width:1216px){.is-display-inline-block-widescreen,.is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width:1216px) and (max-width:1407px){.is-display-inline-block-widescreen-only,.is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width:1408px){.is-display-inline-block-fullhd,.is-inline-block-fullhd{display:inline-block!important}}.is-display-inline-flex,.is-inline-flex{display:inline-flex!important}@media screen and (max-width:768px){.is-display-inline-flex-mobile,.is-inline-flex-mobile{display:inline-flex!important}}@media print,screen and (min-width:769px){.is-display-inline-flex-tablet,.is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width:769px) and (max-width:1023px){.is-display-inline-flex-tablet-only,.is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width:1023px){.is-display-inline-flex-touch,.is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width:1024px){.is-display-inline-flex-desktop,.is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width:1024px) and (max-width:1215px){.is-display-inline-flex-desktop-only,.is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width:1216px){.is-display-inline-flex-widescreen,.is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width:1216px) and (max-width:1407px){.is-display-inline-flex-widescreen-only,.is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width:1408px){.is-display-inline-flex-fullhd,.is-inline-flex-fullhd{display:inline-flex!important}}.is-display-grid,.is-grid{display:grid!important}@media screen and (max-width:768px){.is-display-grid-mobile,.is-grid-mobile{display:grid!important}}@media print,screen and (min-width:769px){.is-display-grid-tablet,.is-grid-tablet{display:grid!important}}@media screen and (min-width:769px) and (max-width:1023px){.is-display-grid-tablet-only,.is-grid-tablet-only{display:grid!important}}@media screen and (max-width:1023px){.is-display-grid-touch,.is-grid-touch{display:grid!important}}@media screen and (min-width:1024px){.is-display-grid-desktop,.is-grid-desktop{display:grid!important}}@media screen and (min-width:1024px) and (max-width:1215px){.is-display-grid-desktop-only,.is-grid-desktop-only{display:grid!important}}@media screen and (min-width:1216px){.is-display-grid-widescreen,.is-grid-widescreen{display:grid!important}}@media screen and (min-width:1216px) and (max-width:1407px){.is-display-grid-widescreen-only,.is-grid-widescreen-only{display:grid!important}}@media screen and (min-width:1408px){.is-display-grid-fullhd,.is-grid-fullhd{display:grid!important}}.is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width:768px){.is-display-none-mobile,.is-hidden-mobile{display:none!important}}@media print,screen and (min-width:769px){.is-display-none-tablet,.is-hidden-tablet{display:none!important}}@media screen and (min-width:769px) and (max-width:1023px){.is-display-none-tablet-only,.is-hidden-tablet-only{display:none!important}}@media screen and (max-width:1023px){.is-display-none-touch,.is-hidden-touch{display:none!important}}@media screen and (min-width:1024px){.is-display-none-desktop,.is-hidden-desktop{display:none!important}}@media screen and (min-width:1024px) and (max-width:1215px){.is-display-none-desktop-only,.is-hidden-desktop-only{display:none!important}}@media screen and (min-width:1216px){.is-display-none-widescreen,.is-hidden-widescreen{display:none!important}}@media screen and (min-width:1216px) and (max-width:1407px){.is-display-none-widescreen-only,.is-hidden-widescreen-only{display:none!important}}@media screen and (min-width:1408px){.is-display-none-fullhd,.is-hidden-fullhd{display:none!important}}.is-invisible,.is-visibility-hidden{visibility:hidden!important}@media screen and (max-width:768px){.is-invisible-mobile,.is-visibility-hidden-mobile{visibility:hidden!important}}@media print,screen and (min-width:769px){.is-invisible-tablet,.is-visibility-hidden-tablet{visibility:hidden!important}}@media screen and (min-width:769px) and (max-width:1023px){.is-invisible-tablet-only,.is-visibility-hidden-tablet-only{visibility:hidden!important}}@media screen and (max-width:1023px){.is-invisible-touch,.is-visibility-hidden-touch{visibility:hidden!important}}@media screen and (min-width:1024px){.is-invisible-desktop,.is-visibility-hidden-desktop{visibility:hidden!important}}@media screen and (min-width:1024px) and (max-width:1215px){.is-invisible-desktop-only,.is-visibility-hidden-desktop-only{visibility:hidden!important}}@media screen and (min-width:1216px){.is-invisible-widescreen,.is-visibility-hidden-widescreen{visibility:hidden!important}}@media screen and (min-width:1216px) and (max-width:1407px){.is-invisible-widescreen-only,.is-visibility-hidden-widescreen-only{visibility:hidden!important}}@media screen and (min-width:1408px){.is-invisible-fullhd,.is-visibility-hidden-fullhd{visibility:hidden!important}}.is-radiusless{border-radius:0!important}.is-shadowless{box-shadow:none!important}.is-clickable{cursor:pointer!important;pointer-events:all!important} \ No newline at end of file diff --git a/dist/html-static/js/library/bulma-slider.min.js b/dist/html-static/js/library/bulma-slider.min.js new file mode 100644 index 000000000..949566598 --- /dev/null +++ b/dist/html-static/js/library/bulma-slider.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.bulmaSlider=t():e.bulmaSlider=t()}("undefined"!=typeof self?self:this,function(){return function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}return i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(2),u=Object.assign||function(e){for(var t=1;t=l.length&&(s=!0)):s=!0),s&&(e.once&&(u[t]=null),e.callback(r))});-1!==u.indexOf(null);)u.splice(u.indexOf(null),1)}}]),t}();t.a=i},function(e,t,n){"use strict";t.a={}}]).default}); \ No newline at end of file diff --git a/dist/html-static/js/library/bulma-toast.min.js b/dist/html-static/js/library/bulma-toast.min.js new file mode 100644 index 000000000..36ef06bfe --- /dev/null +++ b/dist/html-static/js/library/bulma-toast.min.js @@ -0,0 +1,6 @@ +/*! + * bulma-toast 2.4.0 + * (c) 2018-present @rfoel + * Released under the MIT License. + */ +(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(exports):"function"==typeof define&&define.amd?define(["exports"],b):(a="undefined"==typeof globalThis?a||self:globalThis,b(a.bulmaToast={}))})(this,function(a){'use strict';function b(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function c(a){for(var c,d=1;d=a.children.length&&a.remove()}},{key:"onAnimationEnd",value:function(){var a=0h;){var i=b[h][g];i>0&&i1e-9)break;var n=this.offsetDir();for(d=0;d1&&o>p||!isFinite(p))for(d=0;d1&&(q=1);var r=p*p,s=2*q*(o-p)/(r*o),t=o*o*o,u=2*-q/(r*t);for(isFinite(s)||console.log(s),d=0;d0?A-(D+1)*w:A-(D-1)*w;-v0;)for(var e=b;e-- >0;)c(d,e)},a.prototype.matrixApply=function(b){a.mApply(this.k,this.n,b)},a.prototype.computeNextPosition=function(a,b){var c=this;this.computeDerivatives(a);var d=this.computeStepSize(this.g);if(this.stepAndProject(a,b,this.g,d),this.project){this.matrixApply(function(d,e){return c.e[d][e]=a[d][e]-b[d][e]});var e=this.computeStepSize(this.e);e=Math.max(.2,Math.min(e,1)),this.stepAndProject(a,b,this.e,e)}},a.prototype.run=function(a){for(var b=Number.MAX_VALUE,c=!1;!c&&a-- >0;){var d=this.rungeKutta();c=Math.abs(b/d-1)>16)/this.range},a.prototype.getNextBetween=function(a,b){return a+this.getNext()*(b-a)},a}();c.PseudoRandom=f},{}],8:[function(a,b,c){"use strict";function d(a,b,c){return(b.x-a.x)*(c.y-a.y)-(c.x-a.x)*(b.y-a.y)}function e(a,b,c){return d(a,b,c)>0}function f(a,b,c){return d(a,b,c)<0}function g(a){var b,c=a.slice(0).sort(function(a,b){return a.x!==b.x?b.x-a.x:b.y-a.y}),e=a.length,f=c[0].x;for(b=1;b=0&&c[b].x===k;b--);for(i=b+1,b=g;++b<=i;)if(!(d(c[0],c[i],c[b])>=0&&b1&&!(d(h[h.length-2],h[h.length-1],c[b])>0);)h.length-=1;0!=b&&h.push(c[b])}j!=i&&h.push(c[j]);var l=h.length;for(b=i;--b>=g;)if(!(d(c[j],c[g],c[b])>=0&&b>g)){for(;h.length>l&&!(d(h[h.length-2],h[h.length-1],c[b])>0);)h.length-=1;0!=b&&h.push(c[b])}}return h}function h(a,b,c){b.slice(0).sort(function(b,c){return Math.atan2(b.y-a.y,b.x-a.x)-Math.atan2(c.y-a.y,c.x-a.x)}).forEach(c)}function i(a,b){var c=b.slice(0);return c.push(b[0]),{rtan:j(a,c),ltan:k(a,c)}}function j(a,b){var c,d,g,h,i,j=b.length-1;if(f(a,b[1],b[0])&&!e(a,b[j-1],b[0]))return 0;for(c=0,d=j;;){if(d-c==1)return e(a,b[c],b[d])?c:d;if(g=Math.floor((c+d)/2),(i=f(a,b[g+1],b[g]))&&!e(a,b[g-1],b[g]))return g;h=e(a,b[c+1],b[c]),h?i?d=g:e(a,b[c],b[g])?d=g:c=g:i&&f(a,b[c],b[g])?d=g:c=g}}function k(a,b){var c,d,g,h,i,j=b.length-1;if(e(a,b[j-1],b[0])&&!f(a,b[1],b[0]))return 0;for(c=0,d=j;;){if(d-c==1)return f(a,b[c],b[d])?c:d;if(g=Math.floor((c+d)/2),i=f(a,b[g+1],b[g]),e(a,b[g-1],b[g])&&!i)return g;h=f(a,b[c+1],b[c]),h?i?f(a,b[c],b[g])?d=g:c=g:d=g:i?c=g:e(a,b[c],b[g])?d=g:c=g}}function l(a,b,c,d,e,f){var g,h;g=c(b[0],a),h=d(a[g],b);for(var i=!1;!i;){for(i=!0;;){if(g===a.length-1&&(g=0),e(b[h],a[g],a[g+1]))break;++g}for(;;){if(0===h&&(h=b.length-1),f(a[g],b[h],b[h-1]))break;--h,i=!1}}return{t1:g,t2:h}}function m(a,b){var c=n(b,a);return{t1:c.t2,t2:c.t1}}function n(a,b){return l(a,b,j,k,e,f)}function o(a,b){return l(a,b,k,k,f,f)}function p(a,b){return l(a,b,j,j,e,e)}function q(a,b){for(var c=[],d=1,e=b.length;d=0&&p>=0&&q<0&&r>=0&&s>=0&&t<0?f.ll=new A(g,h):o<=0&&p<=0&&q>0&&r<=0&&s<=0&&t>0?f.rr=new A(g,h):o<=0&&p>0&&q<=0&&r>=0&&s<0&&t>=0?f.rl=new A(g,h):o>=0&&p<0&&q>=0&&r<=0&&s>0&&t<=0&&(f.lr=new A(g,h))}return f}function s(a,b){for(var c=1,d=b.length;c0)return!0}return!1}var v=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(c,"__esModule",{value:!0});var w=a("./rectangle"),x=function(){function a(){}return a}();c.Point=x;var y=function(){function a(a,b,c,d){this.x1=a,this.y1=b,this.x2=c,this.y2=d}return a}();c.LineSegment=y;var z=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return v(b,a),b}(x);c.PolyPoint=z,c.isLeft=d,c.ConvexHull=g,c.clockwiseRadialSweep=h,c.tangent_PolyPolyC=l,c.LRtangent_PolyPolyC=m,c.RLtangent_PolyPolyC=n,c.LLtangent_PolyPolyC=o,c.RRtangent_PolyPolyC=p;var A=function(){function a(a,b){this.t1=a,this.t2=b}return a}();c.BiTangent=A;var B=function(){function a(){}return a}();c.BiTangents=B;var C=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return v(b,a),b}(x);c.TVGPoint=C;var D=function(){function a(a,b,c,d){this.id=a,this.polyid=b,this.polyvertid=c,this.p=d,d.vv=this}return a}();c.VisibilityVertex=D;var E=function(){function a(a,b){this.source=a,this.target=b}return a.prototype.length=function(){var a=this.source.p.x-this.target.p.x,b=this.source.p.y-this.target.p.y;return Math.sqrt(a*a+b*b)},a}();c.VisibilityEdge=E;var F=function(){function a(a,b){if(this.P=a,this.V=[],this.E=[],b)this.V=b.V.slice(0),this.E=b.E.slice(0);else{for(var c=a.length,d=0;d0&&this.E.push(new E(e[f-1].vv,h))}e.length>1&&this.E.push(new E(e[0].vv,e[e.length-1].vv))}for(var d=0;d0)return!0;return!1},a}();c.TangentVisibilityGraph=F,c.tangents=r,c.polysOverlap=u},{"./rectangle":17}],9:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=a("./rectangle"),e=a("./vpsc"),f=a("./shortestpaths"),g=function(){function a(a,b,c){this.id=a,this.rect=b,this.children=c,this.leaf=void 0===c||0===c.length}return a}();c.NodeWrapper=g;var h=function(){function a(a,b,c,d,e){void 0===d&&(d=null),void 0===e&&(e=null),this.id=a,this.x=b,this.y=c,this.node=d,this.line=e}return a}();c.Vert=h;var i=function(){function a(b,c){this.s=b,this.t=c;var d=a.findMatch(b,c),e=c.slice(0).reverse(),f=a.findMatch(b,e);d.length>=f.length?(this.length=d.length,this.si=d.si,this.ti=d.ti,this.reversed=!1):(this.length=f.length,this.si=f.si,this.ti=c.length-f.ti-f.length,this.reversed=!0)}return a.findMatch=function(a,b){for(var c=a.length,d=b.length,e={length:0,si:-1,ti:-1},f=new Array(c),g=0;ge.length&&(e.length=i,e.si=g-i+1,e.ti=h-i+1)}else f[g][h]=0}return e},a.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},a}();c.LongestCommonSubsequence=i;var j=function(){function a(a,b,c){void 0===c&&(c=12);var e=this;this.originalnodes=a,this.groupPadding=c,this.leaves=null,this.nodes=a.map(function(a,c){return new g(c,b.getBounds(a),b.getChildren(a))}),this.leaves=this.nodes.filter(function(a){return a.leaf}),this.groups=this.nodes.filter(function(a){return!a.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(a){return a.children.forEach(function(b){return e.nodes[b].parent=a})}),this.root={children:[]},this.nodes.forEach(function(a){void 0===a.parent&&(a.parent=e.root,e.root.children.push(a.id)),a.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(a,b){return e.getDepth(a)-e.getDepth(b)}),this.backToFront.slice(0).reverse().filter(function(a){return!a.leaf}).forEach(function(a){var b=d.Rectangle.empty();a.children.forEach(function(a){return b=b.union(e.nodes[a].rect)}),a.rect=b.inflate(e.groupPadding)});var f=this.midPoints(this.cols.map(function(a){return a.pos})),i=this.midPoints(this.rows.map(function(a){return a.pos})),j=f[0],k=f[f.length-1],l=i[0],m=i[i.length-1],n=this.rows.map(function(a){return{x1:j,x2:k,y1:a.pos,y2:a.pos}}).concat(i.map(function(a){return{x1:j,x2:k,y1:a,y2:a}})),o=this.cols.map(function(a){return{x1:a.pos,x2:a.pos,y1:l,y2:m}}).concat(f.map(function(a){return{x1:a,x2:a,y1:l,y2:m}})),p=n.concat(o);p.forEach(function(a){return a.verts=[]}),this.verts=[],this.edges=[],n.forEach(function(a){return o.forEach(function(b){var c=new h(e.verts.length,b.x1,a.y1);a.verts.push(c),b.verts.push(c),e.verts.push(c);for(var d=e.backToFront.length;d-- >0;){var f=e.backToFront[d],g=f.rect,i=Math.abs(c.x-g.cx()),j=Math.abs(c.y-g.cy());if(i0;){var d=c.filter(function(b){return b.rect["overlap"+a.toUpperCase()](c[0].rect)}),e={nodes:d,pos:this.avg(d.map(function(b){return b.rect["c"+a]()}))};b.push(e),e.nodes.forEach(function(a){return c.splice(c.indexOf(a),1)})}return b.sort(function(a,b){return a.pos-b.pos}),b},a.prototype.getDepth=function(a){for(var b=0;a.parent!==this.root;)b++,a=a.parent;return b},a.prototype.midPoints=function(a){for(var b=a[1]-a[0],c=[a[0]-b/2],d=1;d.1)&&(k={pos:h[0][b],segments:[]},j.push(k)),k.segments.push(h)}return j},a.nudgeSegs=function(a,b,c,d,f,g){var h=d.length;if(!(h<=1)){for(var i=d.map(function(b){return new e.Variable(b[0][a])}),j=[],k=0;k=0&&j.push(new e.Constraint(i[q],i[r],g))}new e.Solver(i,j).solve(),i.forEach(function(b,e){var f=d[e],g=b.position();f[0][a]=f[1][a]=g;var h=c[f.edgeid];f.i>0&&(h[f.i-1][1][a]=g),f.iMath.PI||e<-Math.PI)&&(e=d-c),e},a.isLeft=function(a,b,c){return(b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x)<=0},a.getOrder=function(a){for(var b={},c=0;c=j.length||l.ti+l.length>=k.length)?c.push({l:d,r:e}):(l.si+l.length>=j.length||l.ti+l.length>=k.length?(f=j[l.si+1],h=j[l.si-1],g=k[l.ti-1]):(f=j[l.si+l.length-2],g=j[l.si+l.length],h=k[l.ti+l.length]),a.isLeft(f,g,h)?c.push({l:e,r:d}):c.push({l:d,r:e})))}return a.getOrder(c)},a.makeSegments=function(a){function b(a){return{x:a.x,y:a.y}}for(var c=[],d=b(a[0]),e=1;e1&&k>1?1e3:0},p=n.PathFromNodeToNodeWithPrevCost(d.ports[0].id,e.ports[0].id,o),q=p.reverse().map(function(a){return c.verts[a]});return q.push(this.nodes[e.id].ports[0]),q.filter(function(a,b){return!(b0&&a.node===e&&q[b-1].node===e)})},a.getRoutePath=function(b,c,d,e){var f={routepath:"M "+b[0][0].x+" "+b[0][0].y+" ",arrowpath:""};if(b.length>1)for(var g=0;g0?i-=k/Math.abs(k)*c:j-=l/Math.abs(l)*c,f.routepath+="L "+i+" "+j+" ";var m=b[g+1],n=m[0].x,o=m[0].y,p=m[1].x,q=m[1].y;k=p-n,l=q-o;var r,s,t=a.angleBetween2Lines(h,m)<0?1:0;Math.abs(k)>0?(r=n+k/Math.abs(k)*c,s=o):(r=n,s=o+l/Math.abs(l)*c);var u=Math.abs(r-i),v=Math.abs(s-j);f.routepath+="A "+u+" "+v+" 0 0 "+t+" "+r+" "+s+" "}else{var w,x,y=[i,j];Math.abs(k)>0?(i-=k/Math.abs(k)*e,w=[i,j+d],x=[i,j-d]):(j-=l/Math.abs(l)*e,w=[i+d,j],x=[i-d,j]),f.routepath+="L "+i+" "+j+" ",e>0&&(f.arrowpath="M "+y[0]+" "+y[1]+" L "+w[0]+" "+w[1]+" L "+x[0]+" "+x[1])}}else{var w,x,h=b[0],i=h[1].x,j=h[1].y,k=i-h[0].x,l=j-h[0].y,y=[i,j];Math.abs(k)>0?(i-=k/Math.abs(k)*e,w=[i,j+d],x=[i,j-d]):(j-=l/Math.abs(l)*e,w=[i+d,j],x=[i-d,j]),f.routepath+="L "+i+" "+j+" ",e>0&&(f.arrowpath="M "+y[0]+" "+y[1]+" L "+w[0]+" "+w[1]+" L "+x[0]+" "+x[1])}return f},a}();c.GridRouter=j},{"./rectangle":17,"./shortestpaths":18,"./vpsc":19}],10:[function(a,b,c){"use strict";function d(a,b,c,d,e){function g(a,b){s=[],o=0,p=0,r=l;for(var c=0;c=a.height&&s[d].x+s[d].width+a.width+f.PADDING-b<=f.FLOAT_EPSILON){c=s[d];break}s.push(a),void 0!==c?(a.x=c.x+c.width+f.PADDING,a.y=c.bottom,a.space_left=a.height,a.bottom=a.y,c.space_left-=a.height+f.PADDING,c.bottom+=a.height+f.PADDING):(a.y=r,r+=a.height+f.PADDING,a.x=k,a.bottom=a.y,a.space_left=a.height),a.y+a.height-p>-f.FLOAT_EPSILON&&(p=a.y+a.height-l),a.x+a.width-o>-f.FLOAT_EPSILON&&(o=a.x+a.width-k)}function i(a){var b=0;return a.forEach(function(a){return b+=a.width+f.PADDING}),b}function j(){return o/p}void 0===e&&(e=1);var k=0,l=0,m=b,n=c,e=void 0!==e?e:1,d=void 0!==d?d:0,o=0,p=0,q=0,r=0,s=[];0!=a.length&&(function(a){function b(a){var b=Number.MAX_VALUE,c=Number.MAX_VALUE,e=0,f=0;a.array.forEach(function(a){var g=void 0!==a.width?a.width:d,h=void 0!==a.height?a.height:d;g/=2,h/=2,e=Math.max(a.x+g,e),b=Math.min(a.x-g,b),f=Math.max(a.y+h,f),c=Math.min(a.y-h,c)}),a.width=e-b,a.height=f-c}a.forEach(function(a){b(a)})}(a),function(a,b){var c=Number.POSITIVE_INFINITY,d=0;a.sort(function(a,b){return b.height-a.height}),q=a.reduce(function(a,b){return a.widthq||o>f.FLOAT_EPSILON;){if(1!=m)var p=h-(h-e)/f.GOLDEN_SECTION,k=g(a,p);if(0!=m)var r=e+(h-e)/f.GOLDEN_SECTION,l=g(a,r);if(n=Math.abs(p-r),o=Math.abs(k-l),kl?(e=p,p=r,k=l,m=1):(h=r,r=p,l=k,m=0),j++>100)break}g(a,d)}(a),function(a){a.forEach(function(a){var b={x:0,y:0};a.array.forEach(function(a){b.x+=a.x,b.y+=a.y}),b.x/=a.array.length,b.y/=a.array.length;var c={x:b.x-a.width/2,y:b.y-a.height/2},d={x:a.x-c.x+m/2-o/2,y:a.y-c.y+n/2-p/2};a.array.forEach(function(a){a.x+=d.x,a.y+=d.y})})}(a))}function e(a,b){function c(a,b){if(void 0===d[a.index]){b&&(g++,f.push({array:[]})),d[a.index]=g,f[g-1].array.push(a);var h=e[a.index];if(h)for(var i=0;i0){var b=0;this._links.forEach(function(a){b=Math.max(b,a.source,a.target)}),this._nodes=new Array(++b);for(var c=0;c0?a:0:a>0&&(this._running||(this._running=!0,this.trigger({type:e.start,alpha:this._alpha=a}),this.kick())),this):this._alpha},a.prototype.getLinkLength=function(a){return"function"==typeof this._linkDistance?+this._linkDistance(a):this._linkDistance},a.setLinkLength=function(a,b){a.length=b},a.prototype.getLinkType=function(a){return"function"==typeof this._linkType?this._linkType(a):0},a.prototype.symmetricDiffLinkLengths=function(a,b){var c=this;return void 0===b&&(b=1),this.linkDistance(function(b){return a*b.length}),this._linkLengthCalculator=function(){return g.symmetricDiffLinkLengths(c._links,c.linkAccessor,b)},this},a.prototype.jaccardLinkLengths=function(a,b){var c=this;return void 0===b&&(b=1),this.linkDistance(function(b){return a*b.length}),this._linkLengthCalculator=function(){return g.jaccardLinkLengths(c._links,c.linkAccessor,b)},this},a.prototype.start=function(b,c,d,e,f){var k=this;void 0===b&&(b=0),void 0===c&&(c=0),void 0===d&&(d=0),void 0===e&&(e=0),void 0===f&&(f=!0);var l,m=this.nodes().length,n=m+2*this._groups.length,o=(this._links.length,this._canvasSize[0]),p=this._canvasSize[1],q=new Array(n),r=new Array(n),s=null,t=this._avoidOverlaps;this._nodes.forEach(function(a,b){a.index=b,void 0===a.x&&(a.x=o/2,a.y=p/2),q[b]=a.x,r[b]=a.y}),this._linkLengthCalculator&&this._linkLengthCalculator();var u;this._distanceMatrix?u=this._distanceMatrix:(u=new j.Calculator(n,this._links,a.getSourceIndex,a.getTargetIndex,function(a){return k.getLinkLength(a)}).DistanceMatrix(),s=h.Descent.createSquareMatrix(n,function(){return 2}),this._links.forEach(function(a){"number"==typeof a.source&&(a.source=k._nodes[a.source]),"number"==typeof a.target&&(a.target=k._nodes[a.target])}),this._links.forEach(function(b){var c=a.getSourceIndex(b),d=a.getTargetIndex(b);s[c][d]=s[d][c]=b.weight||1}));var v=h.Descent.createSquareMatrix(n,function(a,b){return u[a][b]});if(this._rootGroup&&void 0!==this._rootGroup.groups){var l=m,w=function(a,b,c,d){s[a][b]=s[b][a]=c,v[a][b]=v[b][a]=d};this._groups.forEach(function(a){w(l,l+1,k._groupCompactness,.1),q[l]=0,r[l++]=0,q[l]=0,r[l++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var x=this._constraints||[];this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,x=x.concat(g.generateDirectedEdgeConstraints(m,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new h.Descent([q,r],v),this._descent.locks.clear();for(var l=0;l0&&(this._descent.project=new i.Projection(this._nodes,this._groups,this._rootGroup,x).projectFunctions()),this._descent.run(c),this.separateOverlappingComponents(o,p),this.avoidOverlaps(t),t&&(this._nodes.forEach(function(a,b){a.x=q[b],a.y=r[b]}),this._descent.project=new i.Projection(this._nodes,this._groups,this._rootGroup,x,!0).projectFunctions(),this._nodes.forEach(function(a,b){q[b]=a.x,r[b]=a.y})),this._descent.G=s,this._descent.run(d),e){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=m,this._descent.scaleSnapByMaxH=m!=n;var A=h.Descent.createSquareMatrix(n,function(a,b){return a>=m||b>=m?s[a][b]:0});this._descent.G=A,this._descent.run(e)}return this.updateNodePositions(),this.separateOverlappingComponents(o,p),f?this.resume():this},a.prototype.initialLayout=function(b,c,d){if(this._groups.length>0&&b>0){var e=this._nodes.length,f=this._links.map(function(a){return{source:a.source.index,target:a.target.index}}),g=this._nodes.map(function(a){return{index:a.index}});this._groups.forEach(function(a,b){g.push({index:a.index=e+b})}),this._groups.forEach(function(a,b){void 0!==a.leaves&&a.leaves.forEach(function(b){return f.push({source:a.index,target:b.index})}),void 0!==a.groups&&a.groups.forEach(function(b){return f.push({source:a.index,target:b.index})})}),(new a).size(this.size()).nodes(g).links(f).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(b,0,0,0,!1),this._nodes.forEach(function(a){c[a.index]=g[a.index].x,d[a.index]=g[a.index].y})}else this._descent.run(b)},a.prototype.separateOverlappingComponents=function(a,b){var c=this;if(!this._distanceMatrix&&this._handleDisconnected){var d=this._descent.x[0],e=this._descent.x[1];this._nodes.forEach(function(a,b){a.x=d[b],a.y=e[b]});var f=l.separateGraphs(this._nodes,this._links);l.applyPacking(f,a,b,this._defaultNodeSize),this._nodes.forEach(function(a,b){c._descent.x[0][b]=a.x,c._descent.x[1][b]=a.y,a.bounds&&(a.bounds.setXCentre(a.x),a.bounds.setYCentre(a.y))})}},a.prototype.resume=function(){return this.alpha(.1)},a.prototype.stop=function(){return this.alpha(0)},a.prototype.prepareEdgeRouting=function(a){void 0===a&&(a=0),this._visibilityGraph=new k.TangentVisibilityGraph(this._nodes.map(function(b){return b.bounds.inflate(-a).vertices()}))},a.prototype.routeEdge=function(a,b,c){void 0===b&&(b=5);var d=[],e=new k.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),f={x:a.source.x,y:a.source.y},g={x:a.target.x,y:a.target.y},h=e.addPoint(f,a.source.index),l=e.addPoint(g,a.target.index);e.addEdgeIfVisible(f,g,a.source.index,a.target.index),void 0!==c&&c(e);var m=function(a){return a.source.id},n=function(a){return a.target.id},o=function(a){return a.length()},p=new j.Calculator(e.V.length,e.E,m,n,o),q=p.PathFromNodeToNode(h.id,l.id);if(1===q.length||q.length===e.V.length){var r=i.makeEdgeBetween(a.source.innerBounds,a.target.innerBounds,b);d=[r.sourceIntersection,r.arrowStart]}else{for(var s=q.length-2,t=e.V[q[s]].p,u=e.V[q[0]].p,d=[a.source.innerBounds.rayIntersection(t.x,t.y)],v=s;v>=0;--v)d.push(e.V[q[v]].p);d.push(i.makeEdgeTo(u,a.target.innerBounds,b))}return d},a.getSourceIndex=function(a){return"number"==typeof a.source?a.source:a.source.index},a.getTargetIndex=function(a){return"number"==typeof a.target?a.target:a.target.index},a.linkId=function(b){return a.getSourceIndex(b)+"-"+a.getTargetIndex(b)},a.dragStart=function(b){d(b)?a.storeOffset(b,a.dragOrigin(b)):(a.stopNode(b),b.fixed|=2)},a.stopNode=function(a){a.px=a.x,a.py=a.y},a.storeOffset=function(b,c){void 0!==b.leaves&&b.leaves.forEach(function(b){b.fixed|=2,a.stopNode(b),b._dragGroupOffsetX=b.x-c.x,b._dragGroupOffsetY=b.y-c.y}),void 0!==b.groups&&b.groups.forEach(function(b){return a.storeOffset(b,c)})},a.dragOrigin=function(a){return d(a)?{x:a.bounds.cx(),y:a.bounds.cy()}:a},a.drag=function(b,c){d(b)?(void 0!==b.leaves&&b.leaves.forEach(function(a){b.bounds.setXCentre(c.x),b.bounds.setYCentre(c.y),a.px=a._dragGroupOffsetX+c.x,a.py=a._dragGroupOffsetY+c.y}),void 0!==b.groups&&b.groups.forEach(function(b){return a.drag(b,c)})):(b.px=c.x,b.py=c.y)},a.dragEnd=function(b){d(b)?(void 0!==b.leaves&&b.leaves.forEach(function(b){a.dragEnd(b),delete b._dragGroupOffsetX,delete b._dragGroupOffsetY}),void 0!==b.groups&&b.groups.forEach(a.dragEnd)):b.fixed&=-7},a.mouseOver=function(a){a.fixed|=4,a.px=a.x,a.py=a.y},a.mouseOut=function(a){a.fixed&=-5},a}();c.Layout=m},{"./descent":7,"./geom":8,"./handledisconnected":10,"./linklengths":13,"./powergraph":14,"./rectangle":17,"./shortestpaths":18}],12:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=a("./shortestpaths"),e=a("./descent"),f=a("./rectangle"),g=a("./linklengths"),h=function(){function a(a,b){this.source=a,this.target=b}return a.prototype.actualLength=function(a){var b=this;return Math.sqrt(a.reduce(function(a,c){var d=c[b.target]-c[b.source];return a+d*d},0))},a}();c.Link3D=h;var i=function(){function a(a,b,c){void 0===a&&(a=0),void 0===b&&(b=0),void 0===c&&(c=0),this.x=a,this.y=b,this.z=c}return a}();c.Node3D=i;var j=function(){function a(b,c,d){void 0===d&&(d=1);var e=this;this.nodes=b,this.links=c,this.idealLinkLength=d,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(a.k);for(var f=0;f=this.R))return this.merge(c.a,c.b,a),!0}},a.prototype.nEdges=function(a,b){var c=a.incoming.intersection(b.incoming),d=a.outgoing.intersection(b.outgoing);return this.R-c.count()-d.count()},a.prototype.getGroupHierarchy=function(a){var b=this,c=[],e={};return d(this.roots[0],e,c),this.allEdges().forEach(function(d){var e=b.modules[d.source],f=b.modules[d.target];a.push(new g(void 0===e.gid?d.source:c[e.gid],void 0===f.gid?d.target:c[f.gid],d.type))}),c},a.prototype.allEdges=function(){var b=[];return a.getEdges(this.roots[0],b),b},a.getEdges=function(b,c){b.forAll(function(b){b.getEdges(c),a.getEdges(b.children,c)})},a}();c.Configuration=h;var i=function(){function a(a,b,c,d,e){void 0===b&&(b=new k),void 0===c&&(c=new k),void 0===d&&(d=new j),this.id=a,this.outgoing=b,this.incoming=c,this.children=d,this.definition=e}return a.prototype.getEdges=function(a){var b=this;this.outgoing.forAll(function(c,d){c.forAll(function(c){a.push(new g(b.id,c.id,d))})})},a.prototype.isLeaf=function(){return 0===this.children.count()},a.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},a.prototype.isPredefined=function(){return void 0!==this.definition},a}();c.Module=i;var j=function(){function a(){this.table={}}return a.prototype.count=function(){return Object.keys(this.table).length},a.prototype.intersection=function(b){var c=new a;return c.table=e(this.table,b.table),c},a.prototype.intersectionCount=function(a){return this.intersection(a).count()},a.prototype.contains=function(a){return a in this.table},a.prototype.add=function(a){this.table[a.id]=a},a.prototype.remove=function(a){delete this.table[a.id]},a.prototype.forAll=function(a){for(var b in this.table)a(this.table[b])},a.prototype.modules=function(){var a=[];return this.forAll(function(b){b.isPredefined()||a.push(b)}),a},a}();c.ModuleSet=j;var k=function(){function a(){this.sets={},this.n=0}return a.prototype.count=function(){return this.n},a.prototype.contains=function(a){var b=!1;return this.forAllModules(function(c){b||c.id!=a||(b=!0)}),b},a.prototype.add=function(a,b){(a in this.sets?this.sets[a]:this.sets[a]=new j).add(b),++this.n},a.prototype.remove=function(a,b){var c=this.sets[a];c.remove(b),0===c.count()&&delete this.sets[a],--this.n},a.prototype.forAll=function(a){for(var b in this.sets)a(this.sets[b],Number(b))},a.prototype.forAllModules=function(a){this.forAll(function(b,c){return b.forAll(a)})},a.prototype.intersection=function(b){var c=new a;return this.forAll(function(a,d){if(d in b.sets){var e=a.intersection(b.sets[d]),f=e.count();f>0&&(c.sets[d]=e,c.n+=f)}}),c},a}();c.LinkSets=k,c.getGroups=f},{}],15:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=function(){function a(a){this.elem=a,this.subheaps=[]}return a.prototype.toString=function(a){for(var b="",c=!1,d=0;d0)}return null}}return a.prototype.clear=function(){this._root=null,this.size=0},a.prototype.find=function(a){for(var b=this._root;null!==b;){var c=this._comparator(a,b.data);if(0===c)return b.data;b=b.get_child(c>0)}return null},a.prototype.lowerBound=function(a){return this._bound(a,this._comparator)},a.prototype.upperBound=function(a){function b(a,b){return c(b,a)}var c=this._comparator;return this._bound(a,b)},a.prototype.min=function(){var a=this._root;if(null===a)return null;for(;null!==a.left;)a=a.left;return a.data},a.prototype.max=function(){var a=this._root;if(null===a)return null;for(;null!==a.right;)a=a.right;return a.data},a.prototype.iterator=function(){return new f(this)},a.prototype.each=function(a){for(var b,c=this.iterator();null!==(b=c.next());)a(b)},a.prototype.reach=function(a){for(var b,c=this.iterator();null!==(b=c.prev());)a(b)},a.prototype._bound=function(a,b){for(var c=this._root,d=this.iterator();null!==c;){var e=this._comparator(a,c.data);if(0===e)return d._cursor=c,d;d._ancestors.push(c),c=c.get_child(e>0)}for(var f=d._ancestors.length-1;f>=0;--f)if(c=d._ancestors[f],b(a,c.data)>0)return d._cursor=c,d._ancestors.length=f,d;return d._ancestors.length=0,d},a}();c.TreeBase=e;var f=function(){function a(a){this._tree=a,this._ancestors=[],this._cursor=null}return a.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},a.prototype.next=function(){if(null===this._cursor){var a=this._tree._root;null!==a&&this._minNode(a)}else if(null===this._cursor.right){var b;do{if(b=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===b)}else this._ancestors.push(this._cursor),this._minNode(this._cursor.right);return null!==this._cursor?this._cursor.data:null},a.prototype.prev=function(){if(null===this._cursor){var a=this._tree._root;null!==a&&this._maxNode(a)}else if(null===this._cursor.left){var b;do{if(b=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===b)}else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left);return null!==this._cursor?this._cursor.data:null},a.prototype._minNode=function(a){for(;null!==a.left;)this._ancestors.push(a),a=a.left;this._cursor=a},a.prototype._maxNode=function(a){for(;null!==a.right;)this._ancestors.push(a),a=a.right;this._cursor=a},a}();c.Iterator=f;var g=function(){function a(a){this.data=a,this.left=null,this.right=null,this.red=!0}return a.prototype.get_child=function(a){return a?this.right:this.left},a.prototype.set_child=function(a,b){a?this.right=b:this.left=b},a}(),h=function(a){function b(b){var c=a.call(this)||this;return c._root=null,c._comparator=b,c.size=0,c}return d(b,a),b.prototype.insert=function(a){var c=!1;if(null===this._root)this._root=new g(a),c=!0,this.size++;else{var d=new g(void 0),e=!1,f=!1,h=null,i=d,j=null,k=this._root;for(i.right=this._root;;){if(null===k?(k=new g(a),j.set_child(e,k),c=!0,this.size++):b.is_red(k.left)&&b.is_red(k.right)&&(k.red=!0,k.left.red=!1,k.right.red=!1),b.is_red(k)&&b.is_red(j)){var l=i.right===h;k===j.get_child(f)?i.set_child(l,b.single_rotate(h,!f)):i.set_child(l,b.double_rotate(h,!f))}var m=this._comparator(k.data,a);if(0===m)break;f=e,e=m<0,null!==h&&(i=h),h=j,j=k,k=k.get_child(e)}this._root=d.right}return this._root.red=!1,c},b.prototype.remove=function(a){if(null===this._root)return!1;var c=new g(void 0),d=c;d.right=this._root;for(var e=null,f=null,h=null,i=!0;null!==d.get_child(i);){var j=i;f=e,e=d,d=d.get_child(i);var k=this._comparator(a,d.data);if(i=k>0,0===k&&(h=d),!b.is_red(d)&&!b.is_red(d.get_child(i)))if(b.is_red(d.get_child(!i))){var l=b.single_rotate(d,i);e.set_child(j,l),e=l}else if(!b.is_red(d.get_child(!i))){var m=e.get_child(!j);if(null!==m)if(b.is_red(m.get_child(!j))||b.is_red(m.get_child(j))){var n=f.right===e;b.is_red(m.get_child(j))?f.set_child(n,b.double_rotate(e,j)):b.is_red(m.get_child(!j))&&f.set_child(n,b.single_rotate(e,j));var o=f.get_child(n);o.red=!0,d.red=!0,o.left.red=!1,o.right.red=!1}else e.red=!1,m.red=!0,d.red=!0}}return null!==h&&(h.data=d.data,e.set_child(e.right===d,d.get_child(null===d.left)),this.size--),this._root=c.right,null!==this._root&&(this._root.red=!1),null!==h},b.is_red=function(a){return null!==a&&a.red},b.single_rotate=function(a,b){var c=a.get_child(!b);return a.set_child(!b,c.get_child(b)),c.set_child(b,a),a.red=!0,c.red=!1,c},b.double_rotate=function(a,c){return a.set_child(!c,b.single_rotate(a.get_child(!c),!c)),b.single_rotate(a,c)},b}(e);c.RBTree=h},{}],17:[function(a,b,c){"use strict";function d(a){return a.bounds=void 0!==a.leaves?a.leaves.reduce(function(a,b){return b.bounds.union(a)},u.empty()):u.empty(),void 0!==a.groups&&(a.bounds=a.groups.reduce(function(a,b){return d(b).union(a)},a.bounds)),a.bounds=a.bounds.inflate(a.padding),a.bounds}function e(a,b,c){var d=a.rayIntersection(b.cx(),b.cy())||{x:a.cx(),y:a.cy()},e=b.rayIntersection(a.cx(),a.cy())||{x:b.cx(),y:b.cy()},f=e.x-d.x,g=e.y-d.y,h=Math.sqrt(f*f+g*g),i=h-c;return{sourceIntersection:d,targetIntersection:e,arrowStart:{x:d.x+i*f/h,y:d.y+i*g/h}}}function f(a,b,c){var d=b.rayIntersection(a.x,a.y);d||(d={x:b.cx(),y:b.cy()});var e=d.x-a.x,f=d.y-a.y,g=Math.sqrt(e*e+f*f);return{x:d.x-c*e/g,y:d.y-c*f/g}}function g(a,b){return a.pos>b.pos?1:a.pos=f);var j=new Array(i);for(e=0;e0&&(a[c].insert(e),e[d].insert(a))};c("next","prev"),c("prev","next")}function m(a,b){return j(a,b,x,1e-6)}function n(a,b){return j(a,b,y,1e-6)}function o(a){return i(a,x,1e-6)}function p(a){return i(a,y,1e-6)}function q(a){var b=a.map(function(a){return new s.Variable(a.cx())}),c=m(a,b),d=new s.Solver(b,c);d.solve(),b.forEach(function(b,c){return a[c].setXCentre(b.position())}),b=a.map(function(a){return new s.Variable(a.cy())}),c=n(a,b),d=new s.Solver(b,c),d.solve(),b.forEach(function(b,c){return a[c].setYCentre(b.position())})}var r=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){ +for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(c,"__esModule",{value:!0});var s=a("./vpsc"),t=a("./rbtree");c.computeGroupBounds=d;var u=function(){function a(a,b,c,d){this.x=a,this.X=b,this.y=c,this.Y=d}return a.empty=function(){return new a(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},a.prototype.cx=function(){return(this.x+this.X)/2},a.prototype.cy=function(){return(this.y+this.Y)/2},a.prototype.overlapX=function(a){var b=this.cx(),c=a.cx();return b<=c&&a.x0?c[0]:null},a.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},a.lineIntersection=function(a,b,c,d,e,f,g,h){var i=c-a,j=g-e,k=d-b,l=h-f,m=l*i-j*k;if(0==m)return null;var n=a-e,o=b-f,p=j*o-l*n,q=p/m,r=i*o-k*n,s=r/m;return q>=0&&q<=1&&s>=0&&s<=1?{x:a+q*i,y:b+q*k}:null},a.prototype.inflate=function(b){return new a(this.x-b,this.X+b,this.y-b,this.Y+b)},a}();c.Rectangle=u,c.makeEdgeBetween=e,c.makeEdgeTo=f;var v=function(){function a(a,b,c){this.v=a,this.r=b,this.pos=c,this.prev=h(),this.next=h()}return a}(),w=function(){function a(a,b,c){this.isOpen=a,this.v=b,this.pos=c}return a}(),x={getCentre:function(a){return a.cx()},getOpen:function(a){return a.y},getClose:function(a){return a.Y},getSize:function(a){return a.width()},makeRect:function(a,b,c,d){return new u(c-d/2,c+d/2,a,b)},findNeighbours:k},y={getCentre:function(a){return a.cy()},getOpen:function(a){return a.x},getClose:function(a){return a.X},getSize:function(a){return a.height()},makeRect:function(a,b,c,d){return new u(a,b,c-d/2,c+d/2)},findNeighbours:l};c.generateXConstraints=m,c.generateYConstraints=n,c.generateXGroupConstraints=o,c.generateYGroupConstraints=p,c.removeOverlaps=q;var z=function(a){function b(b,c){var d=a.call(this,0,c)||this;return d.index=b,d}return r(b,a),b}(s.Variable);c.IndexedVariable=z;var A=function(){function a(a,b,c,e,f){void 0===c&&(c=null),void 0===e&&(e=null),void 0===f&&(f=!1);var g=this;if(this.nodes=a,this.groups=b,this.rootGroup=c,this.avoidOverlaps=f,this.variables=a.map(function(a,b){return a.variable=new z(b,1)}),e&&this.createConstraints(e),f&&c&&void 0!==c.groups){a.forEach(function(a){if(!a.width||!a.height)return void(a.bounds=new u(a.x,a.x,a.y,a.y));var b=a.width/2,c=a.height/2;a.bounds=new u(a.x-b,a.x+b,a.y-c,a.y+c)}),d(c);var h=a.length;b.forEach(function(a){g.variables[h]=a.minVar=new z(h++,void 0!==a.stiffness?a.stiffness:.01),g.variables[h]=a.maxVar=new z(h++,void 0!==a.stiffness?a.stiffness:.01)})}}return a.prototype.createSeparation=function(a){return new s.Constraint(this.nodes[a.left].variable,this.nodes[a.right].variable,a.gap,void 0!==a.equality&&a.equality)},a.prototype.makeFeasible=function(a){var b=this;if(this.avoidOverlaps){var c="x",d="width";"x"===a.axis&&(c="y",d="height");var e=a.offsets.map(function(a){return b.nodes[a.node]}).sort(function(a,b){return a[c]-b[c]}),f=null;e.forEach(function(a){if(f){var b=f[c]+f[d];b>a[c]&&(a[c]=b)}f=a})}},a.prototype.createAlignment=function(a){var b=this,c=this.nodes[a.offsets[0].node].variable;this.makeFeasible(a);var d="x"===a.axis?this.xConstraints:this.yConstraints;a.offsets.slice(1).forEach(function(a){var e=b.nodes[a.node].variable;d.push(new s.Constraint(c,e,a.offset,!0))})},a.prototype.createConstraints=function(a){var b=this,c=function(a){return void 0===a.type||"separation"===a.type};this.xConstraints=a.filter(function(a){return"x"===a.axis&&c(a)}).map(function(a){return b.createSeparation(a)}),this.yConstraints=a.filter(function(a){return"y"===a.axis&&c(a)}).map(function(a){return b.createSeparation(a)}),a.filter(function(a){return"alignment"===a.type}).forEach(function(a){return b.createAlignment(a)})},a.prototype.setupVariablesAndBounds=function(a,b,c,d){this.nodes.forEach(function(e,f){e.fixed?(e.variable.weight=e.fixedWeight?e.fixedWeight:1e3,c[f]=d(e)):e.variable.weight=1;var g=(e.width||0)/2,h=(e.height||0)/2,i=a[f],j=b[f];e.bounds=new u(i-g,i+g,j-h,j+h)})},a.prototype.xProject=function(a,b,c){(this.rootGroup||this.avoidOverlaps||this.xConstraints)&&this.project(a,b,a,c,function(a){return a.px},this.xConstraints,o,function(a){return a.bounds.setXCentre(c[a.variable.index]=a.variable.position())},function(a){var b=c[a.minVar.index]=a.minVar.position(),d=c[a.maxVar.index]=a.maxVar.position(),e=a.padding/2;a.bounds.x=b-e,a.bounds.X=d+e})},a.prototype.yProject=function(a,b,c){(this.rootGroup||this.yConstraints)&&this.project(a,b,b,c,function(a){return a.py},this.yConstraints,p,function(a){return a.bounds.setYCentre(c[a.variable.index]=a.variable.position())},function(a){var b=c[a.minVar.index]=a.minVar.position(),d=c[a.maxVar.index]=a.maxVar.position(),e=a.padding/2;a.bounds.y=b-e,a.bounds.Y=d+e})},a.prototype.projectFunctions=function(){var a=this;return[function(b,c,d){return a.xProject(b,c,d)},function(b,c,d){return a.yProject(b,c,d)}]},a.prototype.project=function(a,b,c,e,f,g,h,i,j){this.setupVariablesAndBounds(a,b,e,f),this.rootGroup&&this.avoidOverlaps&&(d(this.rootGroup),g=g.concat(h(this.rootGroup))),this.solve(this.variables,g,c,e),this.nodes.forEach(i),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(j),d(this.rootGroup))},a.prototype.solve=function(a,b,c,d){var e=new s.Solver(a,b);e.setStartingPositions(c),e.setDesiredPositions(d),e.solve()},a}();c.Projection=A},{"./rbtree":16,"./vpsc":19}],18:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=a("./pqueue"),e=function(){function a(a,b){this.id=a,this.distance=b}return a}(),f=function(){function a(a){this.id=a,this.neighbours=[]}return a}(),g=function(){function a(a,b,c){this.node=a,this.prev=b,this.d=c}return a}(),h=function(){function a(a,b,c,d,g){this.n=a,this.es=b,this.neighbours=new Array(this.n);for(var h=this.n;h--;)this.neighbours[h]=new f(h);for(h=this.es.length;h--;){var i=this.es[h],j=c(i),k=d(i),l=g(i);this.neighbours[j].neighbours.push(new e(k,l)),this.neighbours[k].neighbours.push(new e(j,l))}}return a.prototype.DistanceMatrix=function(){for(var a=new Array(this.n),b=0;bl&&(j.d=l,j.prev=h,c.reduceKey(j.q,j,function(a,b){return a.q=b}))}}return f},a}();c.Calculator=h},{"./pqueue":15}],19:[function(a,b,c){"use strict";function d(a,b,c){for(var d=a.map(function(a){return new g(a.desiredCenter)}),e=[],h=a.length,i=0;i=0?this.inactive.push(b):this.bs.merge(b)}}},a.prototype.solve=function(){this.satisfy();for(var a=Number.MAX_VALUE,b=this.bs.cost();Math.abs(a-b)>1e-4;)this.satisfy(),a=b,b=this.bs.cost();return b},a.LAGRANGIAN_TOLERANCE=-1e-4,a.ZERO_UPPERBOUND=-1e-10,a}();c.Solver=j,c.removeOverlapInOneDimension=d},{}]},{},[1])(1)}); +//# sourceMappingURL=cola.min.js.map \ No newline at end of file diff --git a/dist/html-static/js/library/cytoscape-cola.js b/dist/html-static/js/library/cytoscape-cola.js new file mode 100644 index 000000000..b395836a5 --- /dev/null +++ b/dist/html-static/js/library/cytoscape-cola.js @@ -0,0 +1,722 @@ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(require("webcola")); + else if(typeof define === 'function' && define.amd) + define(["webcola"], factory); + else if(typeof exports === 'object') + exports["cytoscapeCola"] = factory(require("webcola")); + else + root["cytoscapeCola"] = factory(root["webcola"]); +})(this, function(__WEBPACK_EXTERNAL_MODULE_5__) { +return /******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // identity function for calling harmony imports with the correct context +/******/ __webpack_require__.i = function(value) { return value; }; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 3); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var assign = __webpack_require__(1); +var defaults = __webpack_require__(2); +var cola = __webpack_require__(5) || (typeof window !== 'undefined' ? window.cola : null); +var raf = __webpack_require__(4); +var isString = function isString(o) { + return (typeof o === 'undefined' ? 'undefined' : _typeof(o)) === _typeof(''); +}; +var isNumber = function isNumber(o) { + return (typeof o === 'undefined' ? 'undefined' : _typeof(o)) === _typeof(0); +}; +var isObject = function isObject(o) { + return o != null && (typeof o === 'undefined' ? 'undefined' : _typeof(o)) === _typeof({}); +}; +var isFunction = function isFunction(o) { + return o != null && (typeof o === 'undefined' ? 'undefined' : _typeof(o)) === _typeof(function () {}); +}; +var nop = function nop() {}; + +var getOptVal = function getOptVal(val, ele) { + if (isFunction(val)) { + var fn = val; + return fn.apply(ele, [ele]); + } else { + return val; + } +}; + +// constructor +// options : object containing layout options +function ColaLayout(options) { + this.options = assign({}, defaults, options); +} + +// runs the layout +ColaLayout.prototype.run = function () { + var layout = this; + var options = this.options; + + layout.manuallyStopped = false; + + var cy = options.cy; // cy is automatically populated for us in the constructor + var eles = options.eles; + var nodes = eles.nodes(); + var edges = eles.edges(); + var ready = false; + + var isParent = function isParent(ele) { + return ele.isParent(); + }; + + var parentNodes = nodes.filter(isParent); + + var nonparentNodes = nodes.subtract(parentNodes); + + var bb = options.boundingBox || { x1: 0, y1: 0, w: cy.width(), h: cy.height() }; + if (bb.x2 === undefined) { + bb.x2 = bb.x1 + bb.w; + } + if (bb.w === undefined) { + bb.w = bb.x2 - bb.x1; + } + if (bb.y2 === undefined) { + bb.y2 = bb.y1 + bb.h; + } + if (bb.h === undefined) { + bb.h = bb.y2 - bb.y1; + } + + var updateNodePositions = function updateNodePositions() { + for (var i = 0; i < nodes.length; i++) { + var node = nodes[i]; + var dimensions = node.layoutDimensions(options); + var scratch = node.scratch('cola'); + + // update node dims + if (!scratch.updatedDims) { + var padding = getOptVal(options.nodeSpacing, node); + + scratch.width = dimensions.w + 2 * padding; + scratch.height = dimensions.h + 2 * padding; + } + } + + nodes.positions(function (node) { + var scratch = node.scratch().cola; + var retPos = void 0; + + if (!node.grabbed() && nonparentNodes.contains(node)) { + retPos = { + x: bb.x1 + scratch.x, + y: bb.y1 + scratch.y + }; + + if (!isNumber(retPos.x) || !isNumber(retPos.y)) { + retPos = undefined; + } + } + + return retPos; + }); + + nodes.updateCompoundBounds(); // because the way this layout sets positions is buggy for some reason; ref #878 + + if (!ready) { + onReady(); + ready = true; + } + + if (options.fit) { + cy.fit(options.padding); + } + }; + + var onDone = function onDone() { + if (options.ungrabifyWhileSimulating) { + grabbableNodes.grabify(); + } + + cy.off('destroy', destroyHandler); + + nodes.off('grab free position', grabHandler); + nodes.off('lock unlock', lockHandler); + + // trigger layoutstop when the layout stops (e.g. finishes) + layout.one('layoutstop', options.stop); + layout.trigger({ type: 'layoutstop', layout: layout }); + }; + + var onReady = function onReady() { + // trigger layoutready when each node has had its position set at least once + layout.one('layoutready', options.ready); + layout.trigger({ type: 'layoutready', layout: layout }); + }; + + var ticksPerFrame = options.refresh; + + if (options.refresh < 0) { + ticksPerFrame = 1; + } else { + ticksPerFrame = Math.max(1, ticksPerFrame); // at least 1 + } + + var adaptor = layout.adaptor = cola.adaptor({ + trigger: function trigger(e) { + // on sim event + var TICK = cola.EventType ? cola.EventType.tick : null; + var END = cola.EventType ? cola.EventType.end : null; + + switch (e.type) { + case 'tick': + case TICK: + if (options.animate) { + updateNodePositions(); + } + break; + + case 'end': + case END: + updateNodePositions(); + if (!options.infinite) { + onDone(); + } + break; + } + }, + + kick: function kick() { + // kick off the simulation + //let skip = 0; + + var inftick = function inftick() { + if (layout.manuallyStopped) { + onDone(); + + return true; + } + + var ret = adaptor.tick(); + + if (ret && options.infinite) { + // resume layout if done + adaptor.resume(); // resume => new kick + } + + return ret; // allow regular finish b/c of new kick + }; + + var multitick = function multitick() { + // multiple ticks in a row + var ret = void 0; + + for (var i = 0; i < ticksPerFrame && !ret; i++) { + ret = ret || inftick(); // pick up true ret vals => sim done + } + + return ret; + }; + + if (options.animate) { + var frame = function frame() { + if (multitick()) { + return; + } + + raf(frame); + }; + + raf(frame); + } else { + while (!inftick()) { + // keep going... + } + } + }, + + on: nop, // dummy; not needed + + drag: nop // not needed for our case + }); + layout.adaptor = adaptor; + + // if set no grabbing during layout + var grabbableNodes = nodes.filter(':grabbable'); + if (options.ungrabifyWhileSimulating) { + grabbableNodes.ungrabify(); + } + + var destroyHandler = void 0; + cy.one('destroy', destroyHandler = function destroyHandler() { + layout.stop(); + }); + + // handle node dragging + var grabHandler = void 0; + nodes.on('grab free position', grabHandler = function grabHandler(e) { + var node = this; + var scrCola = node.scratch().cola; + var pos = node.position(); + var nodeIsTarget = e.cyTarget === node || e.target === node; + + if (!nodeIsTarget) { + return; + } + + switch (e.type) { + case 'grab': + adaptor.dragstart(scrCola); + break; + case 'free': + adaptor.dragend(scrCola); + break; + case 'position': + // only update when different (i.e. manual .position() call or drag) so we don't loop needlessly + if (scrCola.px !== pos.x - bb.x1 || scrCola.py !== pos.y - bb.y1) { + scrCola.px = pos.x - bb.x1; + scrCola.py = pos.y - bb.y1; + } + break; + } + }); + + var lockHandler = void 0; + nodes.on('lock unlock', lockHandler = function lockHandler() { + var node = this; + var scrCola = node.scratch().cola; + + scrCola.fixed = node.locked(); + + if (node.locked()) { + adaptor.dragstart(scrCola); + } else { + adaptor.dragend(scrCola); + } + }); + + // add nodes to cola + adaptor.nodes(nonparentNodes.map(function (node, i) { + var padding = getOptVal(options.nodeSpacing, node); + var pos = node.position(); + var dimensions = node.layoutDimensions(options); + + var struct = node.scratch().cola = { + x: options.randomize || pos.x === undefined ? Math.round(Math.random() * bb.w) : pos.x, + y: options.randomize || pos.y === undefined ? Math.round(Math.random() * bb.h) : pos.y, + width: dimensions.w + 2 * padding, + height: dimensions.h + 2 * padding, + index: i, + fixed: node.locked() + }; + + return struct; + })); + + // the constraints to be added on nodes + var constraints = []; + + if (options.alignment) { + // then set alignment constraints + + var offsetsX = []; + var offsetsY = []; + + nonparentNodes.forEach(function (node) { + var align = getOptVal(options.alignment, node); + var scrCola = node.scratch().cola; + var index = scrCola.index; + + if (!align) { + return; + } + + if (align.x != null) { + offsetsX.push({ + node: index, + offset: align.x + }); + } + + if (align.y != null) { + offsetsY.push({ + node: index, + offset: align.y + }); + } + }); + + if (offsetsX.length > 0) { + constraints.push({ + type: 'alignment', + axis: 'x', + offsets: offsetsX + }); + } + + if (offsetsY.length > 0) { + constraints.push({ + type: 'alignment', + axis: 'y', + offsets: offsetsY + }); + } + } + + // if gapInequalities variable is set add each inequality constraint to list of constraints + if (options.gapInequalities) { + options.gapInequalities.forEach(function (inequality) { + + // for the constraints to be passed to cola layout adaptor use indices of nodes, + // not the nodes themselves + var leftIndex = inequality.left.scratch().cola.index; + var rightIndex = inequality.right.scratch().cola.index; + + constraints.push({ + axis: inequality.axis, + left: leftIndex, + right: rightIndex, + gap: inequality.gap, + equality: inequality.equality + }); + }); + } + + // add constraints if any + if (constraints.length > 0) { + adaptor.constraints(constraints); + } + + // add compound nodes to cola + adaptor.groups(parentNodes.map(function (node, i) { + // add basic group incl leaf nodes + var optPadding = getOptVal(options.nodeSpacing, node); + var getPadding = function getPadding(d) { + return parseFloat(node.style('padding-' + d)); + }; + + var pleft = getPadding('left') + optPadding; + var pright = getPadding('right') + optPadding; + var ptop = getPadding('top') + optPadding; + var pbottom = getPadding('bottom') + optPadding; + + node.scratch().cola = { + index: i, + + padding: Math.max(pleft, pright, ptop, pbottom), + + // leaves should only contain direct descendants (children), + // not the leaves of nested compound nodes or any nodes that are compounds themselves + leaves: node.children().intersection(nonparentNodes).map(function (child) { + return child[0].scratch().cola.index; + }), + + fixed: node.locked() + }; + + return node; + }).map(function (node) { + // add subgroups + node.scratch().cola.groups = node.children().intersection(parentNodes).map(function (child) { + return child.scratch().cola.index; + }); + + return node.scratch().cola; + })); + + // get the edge length setting mechanism + var length = void 0; + var lengthFnName = void 0; + if (options.edgeLength != null) { + length = options.edgeLength; + lengthFnName = 'linkDistance'; + } else if (options.edgeSymDiffLength != null) { + length = options.edgeSymDiffLength; + lengthFnName = 'symmetricDiffLinkLengths'; + } else if (options.edgeJaccardLength != null) { + length = options.edgeJaccardLength; + lengthFnName = 'jaccardLinkLengths'; + } else { + length = 100; + lengthFnName = 'linkDistance'; + } + + var lengthGetter = function lengthGetter(link) { + return link.calcLength; + }; + + // add the edges to cola + adaptor.links(edges.stdFilter(function (edge) { + return nonparentNodes.contains(edge.source()) && nonparentNodes.contains(edge.target()); + }).map(function (edge) { + var c = edge.scratch().cola = { + source: edge.source()[0].scratch().cola.index, + target: edge.target()[0].scratch().cola.index + }; + + if (length != null) { + c.calcLength = getOptVal(length, edge); + } + + return c; + })); + + adaptor.size([bb.w, bb.h]); + + if (length != null) { + adaptor[lengthFnName](lengthGetter); + } + + // set the flow of cola + if (options.flow) { + var flow = void 0; + var defAxis = 'y'; + var defMinSep = 50; + + if (isString(options.flow)) { + flow = { + axis: options.flow, + minSeparation: defMinSep + }; + } else if (isNumber(options.flow)) { + flow = { + axis: defAxis, + minSeparation: options.flow + }; + } else if (isObject(options.flow)) { + flow = options.flow; + + flow.axis = flow.axis || defAxis; + flow.minSeparation = flow.minSeparation != null ? flow.minSeparation : defMinSep; + } else { + // e.g. options.flow: true + flow = { + axis: defAxis, + minSeparation: defMinSep + }; + } + + adaptor.flowLayout(flow.axis, flow.minSeparation); + } + + layout.trigger({ type: 'layoutstart', layout: layout }); + + adaptor.avoidOverlaps(options.avoidOverlap).handleDisconnected(options.handleDisconnected).start(options.unconstrIter, options.userConstIter, options.allConstIter); + + if (!options.infinite) { + setTimeout(function () { + if (!layout.manuallyStopped) { + adaptor.stop(); + } + }, options.maxSimulationTime); + } + + return this; // chaining +}; + +// called on continuous layouts to stop them before they finish +ColaLayout.prototype.stop = function () { + if (this.adaptor) { + this.manuallyStopped = true; + this.adaptor.stop(); + } + + return this; // chaining +}; + +module.exports = ColaLayout; + +/***/ }), +/* 1 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// Simple, internal Object.assign() polyfill for options objects etc. + +module.exports = Object.assign != null ? Object.assign.bind(Object) : function (tgt) { + for (var _len = arguments.length, srcs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + srcs[_key - 1] = arguments[_key]; + } + + srcs.forEach(function (src) { + Object.keys(src).forEach(function (k) { + return tgt[k] = src[k]; + }); + }); + + return tgt; +}; + +/***/ }), +/* 2 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// default layout options +var defaults = { + animate: true, // whether to show the layout as it's running + refresh: 1, // number of ticks per frame; higher is faster but more jerky + maxSimulationTime: 4000, // max length in ms to run the layout + ungrabifyWhileSimulating: false, // so you can't drag nodes during layout + fit: true, // on every layout reposition of nodes, fit the viewport + padding: 30, // padding around the simulation + boundingBox: undefined, // constrain layout bounds; { x1, y1, x2, y2 } or { x1, y1, w, h } + nodeDimensionsIncludeLabels: false, // whether labels should be included in determining the space used by a node + + // layout event callbacks + ready: function ready() {}, // on layoutready + stop: function stop() {}, // on layoutstop + + // positioning options + randomize: false, // use random node positions at beginning of layout + avoidOverlap: true, // if true, prevents overlap of node bounding boxes + handleDisconnected: true, // if true, avoids disconnected components from overlapping + nodeSpacing: function nodeSpacing(node) { + return 10; + }, // extra spacing around nodes + flow: undefined, // use DAG/tree flow layout if specified, e.g. { axis: 'y', minSeparation: 30 } + alignment: undefined, // relative alignment constraints on nodes, e.g. function( node ){ return { x: 0, y: 1 } } + gapInequalities: undefined, // list of inequality constraints for the gap between the nodes, e.g. [{"axis":"y", "left":node1, "right":node2, "gap":25}] + + // different methods of specifying edge length + // each can be a constant numerical value or a function like `function( edge ){ return 2; }` + edgeLength: undefined, // sets edge length directly in simulation + edgeSymDiffLength: undefined, // symmetric diff edge length in simulation + edgeJaccardLength: undefined, // jaccard edge length in simulation + + // iterations of cola algorithm; uses default values on undefined + unconstrIter: undefined, // unconstrained initial layout iterations + userConstIter: undefined, // initial layout iterations with user-specified constraints + allConstIter: undefined, // initial layout iterations with all constraints including non-overlap + + // infinite layout options + infinite: false // overrides all other options for a forces-all-the-time mode +}; + +module.exports = defaults; + +/***/ }), +/* 3 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var impl = __webpack_require__(0); + +// registers the extension on a cytoscape lib ref +var register = function register(cytoscape) { + if (!cytoscape) { + return; + } // can't register if cytoscape unspecified + + cytoscape('layout', 'cola', impl); // register with cytoscape.js +}; + +if (typeof cytoscape !== 'undefined') { + // expose to global cytoscape (i.e. window.cytoscape) + register(cytoscape); +} + +module.exports = register; + +/***/ }), +/* 4 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var raf = void 0; + +if ((typeof window === "undefined" ? "undefined" : _typeof(window)) !== ( true ? "undefined" : _typeof(undefined))) { + raf = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame; +} else { + // if not available, all you get is immediate calls + raf = function raf(cb) { + cb(); + }; +} + +module.exports = raf; + +/***/ }), +/* 5 */ +/***/ (function(module, exports) { + +module.exports = __WEBPACK_EXTERNAL_MODULE_5__; + +/***/ }) +/******/ ]); +}); \ No newline at end of file diff --git a/dist/html-static/js/library/cytoscape-edgehandles.min.js b/dist/html-static/js/library/cytoscape-edgehandles.min.js new file mode 100644 index 000000000..fd9b15ee2 --- /dev/null +++ b/dist/html-static/js/library/cytoscape-edgehandles.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.19.2. + * Original file: /npm/cytoscape-edgehandles@4.0.1/cytoscape-edgehandles.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash.memoize"),require("lodash.throttle")):"function"==typeof define&&define.amd?define(["lodash.memoize","lodash.throttle"],t):"object"==typeof exports?exports.cytoscapeEdgehandles=t(require("lodash.memoize"),require("lodash.throttle")):e.cytoscapeEdgehandles=t(e._.memoize,e._.throttle)}(this,(function(e,t){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=e,i.c=t,i.i=function(e){return e},i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=12)}([function(e,t,i){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]&&arguments[0],t=this.cy,i=(this.options,this.presumptiveTargets),n=this.previewEles,a=this.active,h=this.sourceNode,u=this.targetNode,c=e?"eh-preview":"",l=t.collection(),d=this.canConnect(u);if(a&&d){if(!u||0===u.size())return n.remove(),void this.emit("cancel",this.mp(),h,i);if(!e)return n.removeClass("eh-preview").style("events",""),void this.emit("complete",this.mp(),h,u,n);var v,p,f,m,g=t.add((v={group:"edges",data:{source:h.id(),target:u.id()}},p=this.edgeParams(u),f=c,s(m={},p,v),s(m.data,p.data,v.data),r(p.classes)?m.classes=p.classes+" "+f:o(p.classes)?m.classes=p.classes.join(" ")+" "+f:m.classes=f,m));return l=l.merge(g),e?(this.previewEles=l,l.style("events","no")):(l.style("events",""),this.emit("complete",this.mp(),h,u,l)),this}},makePreview:function(){return this.makeEdges(!0),this},removePreview:function(){return this.previewShown()&&this.previewEles.remove(),this},previewShown:function(){return this.previewEles.nonempty()&&this.previewEles.inside()},updateEdge:function(){var e=this,t=this.sourceNode,i=this.ghostNode,n=this.cy,r=this.mx,o=this.my,a=void 0,h=void 0;if(t)return i&&0!==i.length&&!i.removed()||(h=this.ghostEles=n.collection(),n.batch((function(){(i=e.ghostNode=n.add({group:"nodes",classes:"eh-ghost eh-ghost-node",position:{x:0,y:0}})).style({"background-color":"blue",width:1e-4,height:1e-4,opacity:0,events:"no"});var r={};(a=n.add(s({},r,{group:"edges",data:s({},r.data,{source:t.id(),target:i.id()}),classes:"eh-ghost eh-ghost-edge"}))).style({events:"no"})})),h.merge(i).merge(a)),i.position({x:r,y:o}),this}}},function(e,t,i){"use strict";e.exports={disableEdgeEvents:function(){return this.options.noEdgeEventsInDraw&&this.cy.edges().style("events","no"),this},enableEdgeEvents:function(){return this.options.noEdgeEventsInDraw&&this.cy.edges().style("events",""),this}}},function(e,t,i){"use strict";e.exports={enable:function(){return this.enabled=!0,this.emit("enable"),this},disable:function(){return this.enabled=!1,this.emit("disable"),this}}},function(e,t,i){"use strict";var n=i(13),s=Math.sqrt(2);e.exports={start:function(e){var t=this;if(this.canStartOn(e)){this.active=!0,this.sourceNode=e,this.sourceNode.addClass("eh-source"),this.disableGestures(),this.disableEdgeEvents();var i=function(e){return e.id()};this.canConnect=n((function(e){return t.options.canConnect(t.sourceNode,e)}),i),this.edgeParams=n((function(e){return t.options.edgeParams(t.sourceNode,e)}),i),this.emit("start",this.hp(),e)}},update:function(e){if(this.active){var t=e;return this.mx=t.x,this.my=t.y,this.updateEdge(),this.throttledSnap(),this}},preview:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.options,s=this.sourceNode,r=this.ghostNode,o=this.ghostEles,a=this.presumptiveTargets,h=this.previewEles,u=this.active,c=s,l=e.same(r),d=!this.canConnect(e),v=e.same(this.targetNode);if(!u||l||d||v)return!1;this.targetNode.nonempty()&&this.unpreview(this.targetNode),clearTimeout(this.previewTimeout);var p=function(){t.targetNode=e,a.merge(e),e.addClass("eh-presumptive-target"),e.addClass("eh-target"),t.emit("hoverover",t.mp(),c,e),e.addClass("eh-preview"),o.addClass("eh-preview-active"),s.addClass("eh-preview-active"),e.addClass("eh-preview-active"),t.makePreview(),t.emit("previewon",t.mp(),c,e,h)};return i&&n.hoverDelay>0?this.previewTimeout=setTimeout(p,n.hoverDelay):p(),!0},unpreview:function(e){if(this.active){var t=this.previewTimeout,i=this.sourceNode,n=this.previewEles,s=this.ghostEles,r=this.cy;clearTimeout(t),this.previewTimeout=null;var o=i;return e.removeClass("eh-preview eh-target eh-presumptive-target eh-preview-active"),s.removeClass("eh-preview-active"),i.removeClass("eh-preview-active"),this.targetNode=r.collection(),this.removePreview(o,e),this.emit("hoverout",this.mp(),o,e),this.emit("previewoff",this.mp(),o,e,n),this}},stop:function(){if(this.active){var e=this.sourceNode,t=this.targetNode,i=this.ghostEles,n=this.presumptiveTargets;return clearTimeout(this.previewTimeout),e.removeClass("eh-source eh-preview-active"),t.removeClass("eh-target eh-preview eh-hover eh-preview-active"),n.removeClass("eh-presumptive-target"),this.makeEdges(),i.remove(),this.clearCollections(),this.resetGestures(),this.enableEdgeEvents(),this.active=!1,this.emit("stop",this.mp(),e),this}},snap:function(){if(!this.active||!this.options.snap)return!1;var e=this.cy,t=this.targetNode,i=this.options.snapThreshold,n=this.mp(),r=this.previewEles,o=this.ghostNode,a=function(e,t,i,n){var s=i-e,r=n-t;return s*s+r*r},h=function(e){return t=e.position(),i=n,a(t.x,t.y,i.x,i.y);var t,i},u=function(e){var t=function(e){return s*Math.max(e.outerWidth(),e.outerHeight())/2}(e),n=t+i;return n*n},c=function(e){return h(e)<=u(e)},l=function(e){var t=e.position(),i=e.outerWidth()/2,s=e.outerHeight()/2,r=t.x,o=t.y,h=n.x,u=n.y,c=r-i,l=r+i,d=o-s,v=o+s,p=c<=h&&h<=l,f=d<=u&&u<=v;if(p&&f)return 0;if(p){var m=u-d,g=u-v;return Math.min(m*m,g*g)}if(f){var y=h-c,b=h-l;return Math.min(y*y,b*b)}return hl&&uv?c:l,v)},d=function(e,t){return l(e)-l(t)},v=function(e){var t=n,i=e.outerWidth()/2,s=e.outerHeight()/2,r=e.position(),o=r.x-i,a=r.x+i,h=r.y-s,u=r.y+s;return o<=t.x&&t.x<=a&&h<=t.y&&t.y<=u},p=e.nodes((function(e){return!function(e){return e.same(r)||e.same(o)}(e)&&c(e)})).sort(d),f=!1;t.nonempty()&&!c(t)&&this.unpreview(t);for(var m=0;m=0;h--){var u=this.listeners[h];if(!(a.target!==u.target||a.event!==u.event||null!=a.selector&&a.selector!==u.selector||null!=a.callback&&a.callback!==u.callback)){this.listeners.splice(h,1),r(a.target)?a.target.removeEventListener(a.event,a.callback,a.options):a.selector?a.target.removeListener(a.event,a.selector,a.callback,a.options):a.target.removeListener(a.event,a.callback,a.options);break}}return this},removeListeners:function(){for(var e=this.listeners.length-1;e>=0;e--){var t=this.listeners[e];this.removeListener(t.target,t.event,t.selector,t.callback,t.options)}return this},emit:function(e,t){for(var i=this.cy,n=arguments.length,s=Array(n>2?n-2:0),r=2;r0&&(o=n(r.key,r.value)))return o}if(a>0&&r.right)return g(e,t,i,n,r.right)}function d(e,t){this.tree=e,this._stack=t}Object.defineProperty(s,"keys",{get:function(){var e=[];return this.forEach((function(t,i){e.push(t)})),e}}),Object.defineProperty(s,"values",{get:function(){var e=[];return this.forEach((function(t,i){e.push(i)})),e}}),Object.defineProperty(s,"length",{get:function(){return this.root?this.root._count:0}}),s.insert=function(e,t){for(var i=this._compare,r=this.root,s=[],c=[];r;){var u=i(e,r.key);s.push(r),c.push(u),r=u<=0?r.left:r.right}s.push(new n(0,e,t,null,null,1));for(var g=s.length-2;g>=0;--g){r=s[g];c[g]<=0?s[g]=new n(r._color,r.key,r.value,s[g+1],r.right,r._count+1):s[g]=new n(r._color,r.key,r.value,r.left,s[g+1],r._count+1)}for(g=s.length-1;g>1;--g){var d=s[g-1];r=s[g];if(1===d._color||1===r._color)break;var h=s[g-2];if(h.left===d)if(d.left===r){if(!(f=h.right)||0!==f._color){if(h._color=0,h.left=d.right,d._color=1,d.right=h,s[g-2]=d,s[g-1]=r,l(h),l(d),g>=3)(v=s[g-3]).left===h?v.left=d:v.right=d;break}d._color=1,h.right=o(1,f),h._color=0,g-=1}else{if(!(f=h.right)||0!==f._color){if(d.right=r.left,h._color=0,h.left=r.right,r._color=1,r.left=d,r.right=h,s[g-2]=r,s[g-1]=d,l(h),l(d),l(r),g>=3)(v=s[g-3]).left===h?v.left=r:v.right=r;break}d._color=1,h.right=o(1,f),h._color=0,g-=1}else if(d.right===r){if(!(f=h.left)||0!==f._color){if(h._color=0,h.right=d.left,d._color=1,d.left=h,s[g-2]=d,s[g-1]=r,l(h),l(d),g>=3)(v=s[g-3]).right===h?v.right=d:v.left=d;break}d._color=1,h.left=o(1,f),h._color=0,g-=1}else{var f;if(!(f=h.left)||0!==f._color){var v;if(d.left=r.right,h._color=0,h.right=r.left,r._color=1,r.right=d,r.left=h,s[g-2]=r,s[g-1]=d,l(h),l(d),l(r),g>=3)(v=s[g-3]).right===h?v.right=r:v.left=r;break}d._color=1,h.left=o(1,f),h._color=0,g-=1}}return s[0]._color=1,new a(i,s[0])},s.forEach=function(e,t,i){if(this.root)switch(arguments.length){case 1:return c(e,this.root);case 2:return u(t,this._compare,e,this.root);case 3:if(this._compare(t,i)>=0)return;return g(t,i,this._compare,e,this.root)}},Object.defineProperty(s,"begin",{get:function(){for(var e=[],t=this.root;t;)e.push(t),t=t.left;return new d(this,e)}}),Object.defineProperty(s,"end",{get:function(){for(var e=[],t=this.root;t;)e.push(t),t=t.right;return new d(this,e)}}),s.at=function(e){if(e<0)return new d(this,[]);for(var t=this.root,i=[];;){if(i.push(t),t.left){if(e=t.right._count)break;t=t.right}return new d(this,[])},s.ge=function(e){for(var t=this._compare,i=this.root,n=[],r=0;i;){var o=t(e,i.key);n.push(i),o<=0&&(r=n.length),i=o<=0?i.left:i.right}return n.length=r,new d(this,n)},s.gt=function(e){for(var t=this._compare,i=this.root,n=[],r=0;i;){var o=t(e,i.key);n.push(i),o<0&&(r=n.length),i=o<0?i.left:i.right}return n.length=r,new d(this,n)},s.lt=function(e){for(var t=this._compare,i=this.root,n=[],r=0;i;){var o=t(e,i.key);n.push(i),o>0&&(r=n.length),i=o<=0?i.left:i.right}return n.length=r,new d(this,n)},s.le=function(e){for(var t=this._compare,i=this.root,n=[],r=0;i;){var o=t(e,i.key);n.push(i),o>=0&&(r=n.length),i=o<0?i.left:i.right}return n.length=r,new d(this,n)},s.find=function(e){for(var t=this._compare,i=this.root,n=[];i;){var r=t(e,i.key);if(n.push(i),0===r)return new d(this,n);i=r<=0?i.left:i.right}return new d(this,[])},s.remove=function(e){var t=this.find(e);return t?t.remove():this},s.get=function(e){for(var t=this._compare,i=this.root;i;){var n=t(e,i.key);if(0===n)return i.value;i=n<=0?i.left:i.right}};var h=d.prototype;function f(e,t){e.key=t.key,e.value=t.value,e.left=t.left,e.right=t.right,e._color=t._color,e._count=t._count}function v(e,t){return et?1:0}Object.defineProperty(h,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(h,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),h.clone=function(){return new d(this.tree,this._stack.slice())},h.remove=function(){var e=this._stack;if(0===e.length)return this.tree;var t=new Array(e.length),i=e[e.length-1];t[t.length-1]=new n(i._color,i.key,i.value,i.left,i.right,i._count);for(var s=e.length-2;s>=0;--s){(i=e[s]).left===e[s+1]?t[s]=new n(i._color,i.key,i.value,t[s+1],i.right,i._count):t[s]=new n(i._color,i.key,i.value,i.left,t[s+1],i._count)}if((i=t[t.length-1]).left&&i.right){var c=t.length;for(i=i.left;i.right;)t.push(i),i=i.right;var u=t[c-1];t.push(new n(i._color,u.key,u.value,i.left,i.right,i._count)),t[c-1].key=i.key,t[c-1].value=i.value;for(s=t.length-2;s>=c;--s)i=t[s],t[s]=new n(i._color,i.key,i.value,i.left,t[s+1],i._count);t[c-1].left=t[c]}if(0===(i=t[t.length-1])._color){var g=t[t.length-2];g.left===i?g.left=null:g.right===i&&(g.right=null),t.pop();for(s=0;s=0;--s){if(t=e[s],0===s)return void(t._color=1);if((i=e[s-1]).left===t){if((n=i.right).right&&0===n.right._color)return a=(n=i.right=r(n)).right=r(n.right),i.right=n.left,n.left=i,n.right=a,n._color=i._color,t._color=1,i._color=1,a._color=1,l(i),l(n),s>1&&((c=e[s-2]).left===i?c.left=n:c.right=n),void(e[s-1]=n);if(n.left&&0===n.left._color)return a=(n=i.right=r(n)).left=r(n.left),i.right=a.left,n.left=a.right,a.left=i,a.right=n,a._color=i._color,i._color=1,n._color=1,t._color=1,l(i),l(n),l(a),s>1&&((c=e[s-2]).left===i?c.left=a:c.right=a),void(e[s-1]=a);if(1===n._color){if(0===i._color)return i._color=1,void(i.right=o(0,n));i.right=o(0,n);continue}n=r(n),i.right=n.left,n.left=i,n._color=i._color,i._color=0,l(i),l(n),s>1&&((c=e[s-2]).left===i?c.left=n:c.right=n),e[s-1]=n,e[s]=i,s+11&&((c=e[s-2]).right===i?c.right=n:c.left=n),void(e[s-1]=n);if(n.right&&0===n.right._color)return a=(n=i.left=r(n)).right=r(n.right),i.left=a.right,n.right=a.left,a.right=i,a.left=n,a._color=i._color,i._color=1,n._color=1,t._color=1,l(i),l(n),l(a),s>1&&((c=e[s-2]).right===i?c.right=a:c.left=a),void(e[s-1]=a);if(1===n._color){if(0===i._color)return i._color=1,void(i.left=o(0,n));i.left=o(0,n);continue}var c;n=r(n),i.left=n.right,n.right=i,n._color=i._color,i._color=0,l(i),l(n),s>1&&((c=e[s-2]).right===i?c.right=n:c.left=n),e[s-1]=n,e[s]=i,s+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(h,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(h,"index",{get:function(){var e=0,t=this._stack;if(0===t.length){var i=this.tree.root;return i?i._count:0}t[t.length-1].left&&(e=t[t.length-1].left._count);for(var n=t.length-2;n>=0;--n)t[n+1]===t[n].right&&(++e,t[n].left&&(e+=t[n].left._count));return e},enumerable:!0}),h.next=function(){var e=this._stack;if(0!==e.length){var t=e[e.length-1];if(t.right)for(t=t.right;t;)e.push(t),t=t.left;else for(e.pop();e.length>0&&e[e.length-1].right===t;)t=e[e.length-1],e.pop()}},Object.defineProperty(h,"hasNext",{get:function(){var e=this._stack;if(0===e.length)return!1;if(e[e.length-1].right)return!0;for(var t=e.length-1;t>0;--t)if(e[t-1].left===e[t])return!0;return!1}}),h.update=function(e){var t=this._stack;if(0===t.length)throw new Error("Can't update empty node!");var i=new Array(t.length),r=t[t.length-1];i[i.length-1]=new n(r._color,r.key,e,r.left,r.right,r._count);for(var o=t.length-2;o>=0;--o)(r=t[o]).left===t[o+1]?i[o]=new n(r._color,r.key,r.value,i[o+1],r.right,r._count):i[o]=new n(r._color,r.key,r.value,r.left,i[o+1],r._count);return new a(this.tree._compare,i[0])},h.prev=function(){var e=this._stack;if(0!==e.length){var t=e[e.length-1];if(t.left)for(t=t.left;t;)e.push(t),t=t.right;else for(e.pop();e.length>0&&e[e.length-1].left===t;)t=e[e.length-1],e.pop()}},Object.defineProperty(h,"hasPrev",{get:function(){var e=this._stack;if(0===e.length)return!1;if(e[e.length-1].left)return!0;for(var t=e.length-1;t>0;--t)if(e[t-1].right===e[t])return!0;return!1}})},{}],2:[function(e,t,i){t.exports=function(e,t,i){function n(e,t,i){e.union(e.descendants()).filter(":childless").positions((function(e,n){"number"==typeof e&&(e=n);var r=e.position();return{x:r.x+t,y:r.y+i}}))}if(i||e("collection","align",(function(e,t,i){var r=function(e){for(var t={},i=0;it?m(g,l):u=setTimeout(D,e)}function x(){m(y,u)}function w(){if(o=arguments,s=r(),c=this,g=y&&(u||!p),!1===v)var i=p&&!u;else{l||p||(f=s);var n=v-(s-f),d=n<=0||n>v;d?(l&&(l=clearTimeout(l)),f=s,a=e.apply(c,o)):l||(l=setTimeout(x,n))}return d&&u?u=clearTimeout(u):u||t===v||(u=setTimeout(D,t)),i&&(d=!0,a=e.apply(c,o)),!d||u||l||(o=c=void 0),a}return w.cancel=function(){u&&clearTimeout(u),l&&clearTimeout(l),f=0,l=u=g=void 0},w});t.exports=o},{}],4:[function(e,t,i){t.exports=function(e,t,i){var n=e,r=function(e){var t=e.getBoundingClientRect();return{top:t.top+document.documentElement.scrollTop,left:t.left+document.documentElement.scrollLeft}},o=document.createElement("canvas"),l=t.container(),a=o.getContext("2d");l.appendChild(o);var s=function(){o.height=0,o.width=0,o.style.position="absolute",o.style.top=0,o.style.left=0,o.style.zIndex=n.gridStackOrder};s();var c=function(){var e=t.zoom(),i=t.width(),r=t.height(),o=n.gridSpacing*e,l=t.pan(),s=l.x%o,c=l.y%o;a.strokeStyle=n.gridColor,a.lineWidth=n.lineWidth;var g='\t\n \n \n \n \n \n \n \n \n \n \n \n',d=new Image;g=encodeURIComponent(g),d.onload=function(){u(),a.drawImage(d,0,0)},d.src="data:image/svg+xml,"+g},u=function(){var e=t.width(),i=t.height();a.clearRect(0,0,e,i)},g=i((function(){o.height=t.height(),o.width=t.width(),o.style.position="absolute",o.style.top=0,o.style.left=0,o.style.zIndex=n.gridStackOrder,setTimeout((function(){o.height=t.height(),o.width=t.width();var e=r(o),i=r(l);o.style.top=-(e.top-i.top),o.style.left=-(e.left-i.left),c()}),0)}),250);return{initCanvas:g,resizeCanvas:g,resetCanvas:s,clearCanvas:u,drawGrid:c,changeOptions:function(e){n=e},sizeCanvas:c}}},{}],5:[function(e,t,i){t.exports=function(e,t,i,n,r,o,l,a){var s=function(e){return function(t){e(t)}},c={snapToGridDuringDrag:new s((function(t){e[h(t)]("tapstart","node",n.onTapStartNode)})),resize:new s((function(t){e[h(t)]("ready",f),t?f():v()})),snapToGridOnRelease:new s((function(i){e[h(i)]("add","node",m),e[h(i)]("ready",y),e[h(i)]("free","node",t.onFreeNode),i?y():p()})),drawGrid:new s((function(t){e[h(t)]("zoom",D),e[h(t)]("pan",x),t?(r.initCanvas(),e.on("resize",r.resizeCanvas)):(r.clearCanvas(),r.resetCanvas(),e.off("resize",r.resizeCanvas))})),guidelines:new s((function(t){t?(o.resizeCanvas(),e.on("tapstart","node",k),e.on("grab",_),e.on("pan",T),e.on("drag","node",z),e.on("free",b),window.addEventListener("resize",S)):(e.off("tapstart","node",k),e.off("grab",_),e.off("pan",T),e.off("drag","node",z),e.off("free",b),o.resetCanvas(),window.removeEventListener("resize",S))})),parentPadding:new s((function(t){L(t),e[h(t)]("ready",L),e[h(t)]("add","node:parent",u(P,!0))}))};function u(e,t){return function(i){var n=i.target||i.cyTarget;n.is(":parent")&&!t||e(n)}}function g(t){return function(){e.nodes().not(":parent").each((function(e,i){"number"==typeof e&&(e=i),t(e)}))}}function d(t){return function(){e.nodes().each((function(e,i){"number"==typeof e&&(e=i),t(e)}))}}function h(e){return e?"on":"off"}var f=g(i.resizeNode),v=(u(i.resizeNode),g(i.recoverNodeDimensions));var y=d(t.snapNodesTopDown),p=d(t.recoverSnapNode),m=u(t.snapNode,!0);var D=function(){C.zoomDash&&r.drawGrid()},x=function(){C.panGrid&&r.drawGrid()};var w=null,_=function(e){var t=e.target||e.cyTarget,i=t.selected()?e.cy.$(":selected"):t;w=o.getTopMostNodes(i.nodes()),o.lines.init(w)},z=function(e){this.id()==w.id()&&(o.lines.update(w),C.snapToAlignmentLocationDuringDrag&&o.lines.snapToAlignmentLocation(w))},b=function(e){C.snapToAlignmentLocationOnRelease&&o.lines.snapToAlignmentLocation(w),o.lines.destroy(),w=null},S=function(e){o.lines.resize()},k=function(e){o.getMousePos(e)},T=function(t){w&&(o.setMousePos(e.pan()),o.lines.init(w))};var L=function(t){l.setPaddingOfParent(e.nodes(":parent"),t)},P=function(e){l.setPaddingOfParent(e,!0)};var C,O={},G={drawGrid:["gridSpacing","zoomDash","panGrid","gridStackOrder","gridColor","lineWidth","lineDash"],guidelines:["gridSpacing","guidelinesStackOrder","guidelinesTolerance","guidelinesStyle","distributionGuidelines","range","minDistRange","geometricGuidelineRange"],resize:["gridSpacing"],parentPadding:["gridSpacing","parentSpacing"],snapToGridOnRelease:["gridSpacing","snapToGridCenter"]};function M(e){for(var n in C=Object.extend({},e),e.guidelines=e.initPosAlignment||e.distributionGuidelines||e.geometricGuideline,e)if(O[n]!=e[n])if(c.hasOwnProperty(n))c[n](e[n]);else for(var a in G){G[a].indexOf(n)>=0&&("drawGrid"==a&&(r.changeOptions(e),e.drawGrid&&r.resizeCanvas()),"snapToGridOnRelease"==a&&(t.changeOptions(e),e.snapToGridOnRelease&&y()),"guidelines"==a&&o.changeOptions(e),"resize"==a&&(i.changeOptions(e),e.resize&&f()),"parentPadding"==a&&l.changeOptions(e))}O=Object.extend({},O,e)}return{init:M,syncWithOptions:M}}},{}],6:[function(e,t,i){Object.extend=function(e){e=e||{};for(var t=1;ta&&(a=p.getDims(c)[t].center,l=c)}if("horizontal"==t)var u=(r+a)/2o.guidelinesStyle.minDistRange){var d=Math.round(2*l)-e;y.forEach((function(e,r){for(var l=0;lMath.abs(D.hd))&&(D.h=D.hd);var s=x([t,e,n],"vertical");p.drawLine({x:p.getDims(t).horizontal.right,y:s},{x:r.horizontal.left,y:s},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:p.getDims(n).horizontal.left,y:s},{x:r.horizontal.right,y:s},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:p.getDims(t).horizontal.right,y:s},{x:p.getDims(t).horizontal.right,y:p.getDims(t).vertical.center},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:p.getDims(n).horizontal.left,y:s},{x:p.getDims(n).horizontal.left,y:p.getDims(n).vertical.center},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:r.horizontal.left,y:s},{x:r.horizontal.left,y:a},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:r.horizontal.right,y:s},{x:r.horizontal.right,y:a},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawArrow({x:p.getDims(t).horizontal.right,y:s},"left"),p.drawArrow({x:r.horizontal.left,y:s},"right"),p.drawArrow({x:r.horizontal.right,y:s},"left"),p.drawArrow({x:p.getDims(n).horizontal.left,y:s},"right")}else{p.horizontalDistributionNext(e,"left")||p.horizontalDistributionNext(e,"right")}},p.verticalDistribution=function(e){var t=null,n=null,r=p.getDims(e),l=r.horizontal.center,a=r.vertical.center;if(v.forEach((function(e,s){for(var c=0;co.guidelinesStyle.minDistRange){var d=Math.round(2*a-e);v.forEach((function(e,r){for(var a=0;aMath.abs(D.vd))&&(D.v=D.vd);var s=x([t,e,n],"horizontal");p.drawLine({y:p.getDims(t).vertical.bottom,x:s},{y:r.vertical.top,x:s},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({y:p.getDims(n).vertical.top,x:s},{y:r.vertical.bottom,x:s},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({y:p.getDims(t).vertical.bottom,x:s},{y:p.getDims(t).vertical.bottom,x:p.getDims(t).horizontal.center},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({y:p.getDims(n).vertical.top,x:s},{y:p.getDims(n).vertical.top,x:p.getDims(n).horizontal.center},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({y:r.vertical.bottom,x:s},{y:r.vertical.bottom,x:l},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({y:r.vertical.top,x:s},{y:r.vertical.top,x:l},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawArrow({x:s,y:p.getDims(t).vertical.bottom},"top"),p.drawArrow({x:s,y:r.vertical.top},"bottom"),p.drawArrow({x:s,y:p.getDims(n).vertical.top},"bottom"),p.drawArrow({x:s,y:r.vertical.bottom},"top")}else{p.verticalDistributionNext(e,"below")||p.verticalDistributionNext(e,"above")}},p.searchForLine=function(e,t){var n,r,l,a,s,c,u,g=p.getDims(t)[e],d=Number.MAX_SAFE_INTEGER;for(var h in"horizontal"==e?(c=y,a="y",s="x",D.h=null):(c=v,a="x",s="y",D.v=null),l=t.renderedPosition(a),g)if(n=g[h],c.forEach((function(e,t){for(var n=0;no.guidelinesStyle.minDistRange},right:function(e,t){return e-t>o.guidelinesStyle.minDistRange}};return y.forEach((function(e,a){for(var g=0;gMath.abs(D.hd))&&(D.h=D.hd),p.drawDH(e,n,r,t),!0):(o.geometricGuideline||(D.h=null),!1)},p.drawDH=function(e,t,i,n){var r=p.getDims(e).vertical.center,l="right",a="left";"left"==n&&(l="left",a="right");var s=x([t,e,i],"vertical");p.drawLine({x:p.getDims(t).horizontal[a],y:s},{x:p.getDims(e).horizontal[l],y:s},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:p.getDims(e).horizontal[l],y:s},{x:p.getDims(e).horizontal[l],y:r},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:p.getDims(i).horizontal[a],y:s},{x:p.getDims(t).horizontal[l],y:s},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:p.getDims(i).horizontal[a],y:s},{x:p.getDims(i).horizontal[a],y:p.getDims(i).vertical.center},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:p.getDims(t).horizontal[a],y:s},{x:p.getDims(t).horizontal[a],y:p.getDims(t).vertical.center},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawLine({x:p.getDims(t).horizontal[l],y:s},{x:p.getDims(t).horizontal[l],y:p.getDims(t).vertical.center},o.guidelinesStyle.horizontalDistColor,o.guidelinesStyle.horizontalDistLine),p.drawArrow({x:p.getDims(e).horizontal[l],y:s},a),p.drawArrow({x:p.getDims(t).horizontal[a],y:s},l),p.drawArrow({x:p.getDims(t).horizontal[l],y:s},a),p.drawArrow({x:p.getDims(i).horizontal[a],y:s},l)},p.verticalDistributionNext=function(e,t){var n=null,r=null,l=p.getDims(e),a=l.horizontal.center,s=l.vertical.center,c="top",u="bottom",g=s-o.guidelinesStyle.range*i.zoom();"above"==t&&(c="bottom",u="top",g=s);var d={below:function(e,t){return t-e>o.guidelinesStyle.minDistRange},above:function(e,t){return e-t>o.guidelinesStyle.minDistRange}};return v.forEach((function(e,s){for(var g=0;gMath.abs(D.vd))&&(D.v=D.vd),p.drawDV(e,n,r,t),!0):(o.geometricGuideline||(D.v=null),!1)},p.drawDV=function(e,t,i,n){var r=p.getDims(e),l=r.horizontal.center,a="top",s="bottom";"above"==n&&(a="bottom",s="top");var c=x([t,e,i],"horizontal");p.drawLine({x:c,y:r.vertical[a]},{x:c,y:p.getDims(t).vertical[s]},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({x:c,y:p.getDims(t).vertical[a]},{x:c,y:p.getDims(i).vertical[s]},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({x:l,y:r.vertical[a]},{x:c,y:r.vertical[a]},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({x:p.getDims(t).horizontal.center,y:p.getDims(t).vertical[s]},{x:c,y:p.getDims(t).vertical[s]},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({x:p.getDims(t).horizontal.center,y:p.getDims(t).vertical[a]},{x:c,y:p.getDims(t).vertical[a]},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawLine({x:c,y:p.getDims(i).vertical[s]},{x:p.getDims(i).horizontal.center,y:p.getDims(i).vertical[s]},o.guidelinesStyle.verticalDistColor,o.guidelinesStyle.verticalDistLine),p.drawArrow({x:c,y:r.vertical[a]},s),p.drawArrow({x:c,y:p.getDims(t).vertical[s]},a),p.drawArrow({x:c,y:p.getDims(t).vertical[a]},s),p.drawArrow({x:c,y:p.getDims(i).vertical[s]},a)},p.update=function(e){p.clear(),o.initPosAlignment&&S(e),e.each((function(e,t){"number"==typeof e&&(e=t),o.geometricGuideline&&(p.searchForLine("horizontal",e),p.searchForLine("vertical",e)),o.distributionGuidelines&&(p.horizontalDistribution(e),p.verticalDistribution(e))}))},p.resize=function(){a()};var _,z={},b={},S=function(e){var t=e.renderedPosition();Math.abs(h.y-t.y)2*o.guidelinesTolerance||Math.abs(k.y-L.y)>2*o.guidelinesTolerance)){e.unlock();var i={};i.x=k.x-_.renderedPosition("x"),i.y=k.y-_.renderedPosition("y"),n=i,(r=w(e)).union(r.descendants()).filter(":childless").forEach((function(e,t){"number"==typeof e&&(e=t);var i={x:n.x+e.renderedPosition("x"),y:n.y+e.renderedPosition("y")};e.renderedPosition(i)}))}var n,r}))})),p.snapToAlignmentLocation=function(e){T=e,e.each((function(e,t){"number"==typeof e&&(e=t);var i=e.renderedPosition();D.h&&(L=k,i.x-=D.h,e.renderedPosition(i)),D.v&&(L=k,i.y-=D.v,e.renderedPosition(i)),(D.v||D.h)&&(D.h=null,D.v=null,T.lock())})),p.update(e)},{changeOptions:function(e){0==(o=e).guidelinesTolerance&&(o.guidelinesTolerance=.001)},lines:p,getTopMostNodes:w,getMousePos:function(e){z=e.renderedPosition||e.cyRenderedPosition,b.x=z.x,b.y=z.y},setMousePos:function(e){b.x+=e.x-m.x,b.y+=e.y-m.y,m.x=e.x,m.y=e.y},resizeCanvas:a,resetCanvas:d}}},{"functional-red-black-tree":1}],8:[function(e,t,i){!function(){"use strict";var i=function(t){if(t){e("./extend");var i=!1,n={snapToGridOnRelease:!0,snapToGridDuringDrag:!1,snapToAlignmentLocationOnRelease:!1,snapToAlignmentLocationDuringDrag:!1,distributionGuidelines:!1,geometricGuideline:!1,initPosAlignment:!1,centerToEdgeAlignment:!1,resize:!1,parentPadding:!1,drawGrid:!0,gridSpacing:20,snapToGridCenter:!0,zoomDash:!0,panGrid:!1,gridStackOrder:-1,gridColor:"#dedede",lineWidth:1,guidelinesStackOrder:4,guidelinesTolerance:2,guidelinesStyle:{strokeStyle:"#8b7d6b",geometricGuidelineRange:400,range:100,minDistRange:10,distGuidelineOffset:10,horizontalDistColor:"#ff0000",verticalDistColor:"#00ff00",initPosAlignmentColor:"#0000ff",lineDash:[0,0],horizontalDistLine:[0,0],verticalDistLine:[0,0],initPosAlignmentLine:[0,0]},parentSpacing:-1},r=e("./snap_on_release"),o=e("./snap_during_drag"),l=e("./draw_grid"),a=e("./resize"),s=e("./events_controller"),c=e("./guidelines"),u=e("./parentPadding"),g=e("./alignment"),d=e("./debounce");t("core","gridGuide",(function(e){var h,f,v,y,p,m,D,x=this,w=function(e){return e.scratch("_gridGuide")||e.scratch("_gridGuide",{}),e.scratch("_gridGuide")}(x),_=Object.extend({},w.options||n,e);(w.options=_,w.initialized)?(p=w.eventsController).syncWithOptions(_):(h=r(x,_.gridSpacing,_.snapToGridCenter),f=a(_.gridSpacing),v=o(x,h),y=l(_,x,d),m=c(_,x,d),D=u(_,x),p=s(x,h,f,v,y,m,D,_),g(t,x,i),i=!0,p.init(_),w.initialized=!0,w.eventsController=p);return this}))}};void 0!==t&&t.exports&&(t.exports=i),"undefined"!=typeof define&&define.amd&&define("cytoscape-grid-guide",(function(){return i})),"undefined"!=typeof cytoscape&&i(cytoscape)}()},{"./alignment":2,"./debounce":3,"./draw_grid":4,"./events_controller":5,"./extend":6,"./guidelines":7,"./parentPadding":9,"./resize":10,"./snap_during_drag":11,"./snap_on_release":12}],9:[function(e,t,i){t.exports=function(e,t){var i,n=e,r="_gridParentPadding";return{changeOptions:function(e){i=(n=e).parentSpacing<0?n.gridSpacing:n.parentSpacing,t.style().selector("."+r).style("compound-sizing-wrt-labels","exclude").style("padding-left",i).style("padding-right",i).style("padding-top",i).style("padding-bottom",i).update()},setPaddingOfParent:function(e,t){t?e.addClass(r):e.removeClass(r)}}}},{}],10:[function(e,t,i){t.exports=function(e){var t=function(e){return e.scratch("_gridGuide")||e.scratch("_gridGuide",{}),e.scratch("_gridGuide")};return{resizeNode:function(i){var n=i.width(),r=i.height(),o=Math.round((n-e)/(2*e))*(2*e),l=Math.round((r-e)/(2*e))*(2*e);l=l>0?l+e:e,n==(o=o>0?o+e:e)&&r==l||(i.style({width:o,height:l}),t(i).resize={oldWidth:n,oldHeight:r})},recoverNodeDimensions:function(e){var i=t(e).resize;i&&e.style({width:i.oldWidth,height:i.oldHeight})},changeOptions:function(t){e=Number(t.gridSpacing)}}}},{}],11:[function(e,t,i){t.exports=function(e,t){var i,n,r,o,l={};l.onTapStartNode=function(t){if(!(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)){var o=t.target||t.cyTarget;n=o.selected()?t.cy.$(":selected"):o,r=t.position||t.cyPosition,o.grabbable()&&!o.locked()&&((i=o).lock(),e.on("tapdrag",s),e.on("tapend",a))}};var a=function(t){e.off("tapdrag",s),e.off("tapend",a),i.unlock(),t.preventDefault()},s=function(e){i.position();o=e.position||e.cyPosition;var l={x:(o=t.snapPos(o)).x-r.x,y:o.y-r.y};0==l.x&&0==l.y||(i.unlock(),n.union(n.descendants()).filter(":childless").positions((function(e,i){"number"==typeof e&&(e=i);var n=e.position();return t.snapPos({x:n.x+l.x,y:n.y+l.y})})),r=o,i.lock(),i.trigger("drag"))};return l}},{}],12:[function(e,t,i){t.exports=function(e,t,i){var n={changeOptions:function(e){t=e.gridSpacing,i=e.snapToGridCenter?.5:0}};return n.snapPos=function(e){var n=i?Math.floor(e.x/t):Math.round(e.x/t),r=i?Math.floor(e.y/t):Math.round(e.y/t);return{x:(n+i)*t,y:(r+i)*t}},n.snapNode=function(e){var t=e.position(),i=n.snapPos(t);e.position(i)},n.snapNodesTopDown=function(t){e.startBatch(),t.union(t.descendants()).filter(":childless").positions((function(e,t){"number"==typeof e&&(e=t);var i=e.position();return n.snapPos(i)})),e.endBatch()},n.onFreeNode=function(e){var t,i=e.target||e.cyTarget;t=i.selected()?e.cy.$(":selected"):i,n.snapNodesTopDown(t)},n.recoverSnapNode=function(e){var t=function(e){return e.scratch("_gridGuide")||e.scratch("_gridGuide",{}),e.scratch("_gridGuide")}(e).snap;t&&e.position(t.oldPos)},n}},{}]},{},[8]); +//# sourceMappingURL=/sm/212331b75ac00496da6c17ce7e72787dfa3b4b14fcb989203065acf2e1093d0c.map \ No newline at end of file diff --git a/dist/html-static/js/library/cytoscape-popper.js b/dist/html-static/js/library/cytoscape-popper.js new file mode 100644 index 000000000..b667c01f4 --- /dev/null +++ b/dist/html-static/js/library/cytoscape-popper.js @@ -0,0 +1,404 @@ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(require("popper.js")); + else if(typeof define === 'function' && define.amd) + define(["popper.js"], factory); + else if(typeof exports === 'object') + exports["cytoscapePopper"] = factory(require("popper.js")); + else + root["cytoscapePopper"] = factory(root["Popper"]); +})(this, function(__WEBPACK_EXTERNAL_MODULE_8__) { +return /******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // identity function for calling harmony imports with the correct context +/******/ __webpack_require__.i = function(value) { return value; }; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 7); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// Simple, internal Object.assign() polyfill for options objects etc. + +module.exports = Object.assign != null ? Object.assign.bind(Object) : function (tgt) { + for (var _len = arguments.length, srcs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + srcs[_key - 1] = arguments[_key]; + } + + srcs.forEach(function (src) { + Object.keys(src).forEach(function (k) { + return tgt[k] = src[k]; + }); + }); + + return tgt; +}; + +/***/ }), +/* 1 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var _require = __webpack_require__(5), + getBoundingBox = _require.getBoundingBox; + +// Create a popper reference object +// https://popper.js.org/popper-documentation.html#referenceObject + + +function getRef(target, opts) { + var renderedDimensions = opts.renderedDimensions; + + //Define popper reference object and cy reference object + + var refObject = { + getBoundingClientRect: function getBoundingClientRect() { + return getBoundingBox(target, opts); + }, + + get clientWidth() { + return renderedDimensions(target).w; + }, + + get clientHeight() { + return renderedDimensions(target).h; + } + }; + + return refObject; +} + +module.exports = { getRef: getRef }; + +/***/ }), +/* 2 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var assign = __webpack_require__(0); + +var _require = __webpack_require__(1), + getRef = _require.getRef; + +var _require2 = __webpack_require__(6), + getContent = _require2.getContent; + +var popperDefaults = {}; + +//Fix Popper.js webpack import conflict (Use .default if using webpack) +var Popper = __webpack_require__(8); +var EsmWebpackPopper = Popper.default; +if (EsmWebpackPopper != null && EsmWebpackPopper.Defaults != null) { + Popper = Popper.default; +} + +// Create a new popper object for a core or element target +function getPopper(target, opts) { + var refObject = getRef(target, opts); + var content = getContent(target, opts.content); + var popperOpts = assign({}, popperDefaults, opts.popper); + + return new Popper(refObject, content, popperOpts); +} + +module.exports = { getPopper: getPopper }; + +/***/ }), +/* 3 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var assign = __webpack_require__(0); + +var _require = __webpack_require__(2), + getPopper = _require.getPopper; + +var _require2 = __webpack_require__(1), + getRef = _require2.getRef; + +function popper(opts) { + checkForWarning(this); + + return getPopper(this[0], createOptionsObject(this[0], opts)); +} + +function popperRef(opts) { + checkForWarning(this); + + return getRef(this[0], createOptionsObject(this[0], opts)); +} + +function createOptionsObject(target, opts) { + var renderedDimensions = function renderedDimensions(el) { + return { w: el.renderedWidth(), h: el.renderedHeight() }; + }; + var renderedPosition = function renderedPosition(el) { + return el.isNode() ? getRenderedCenter(el, renderedDimensions) : getRenderedMidpoint(el); + }; + var popper = {}; + var cy = target.cy(); + + var defaults = { renderedDimensions: renderedDimensions, renderedPosition: renderedPosition, popper: popper, cy: cy }; + + return assign({}, defaults, opts); +} + +//Get the rendered center +function getRenderedCenter(target, renderedDimensions) { + var pos = target.renderedPosition(); + var dimensions = renderedDimensions(target); + var offsetX = dimensions.w / 2; + var offsetY = dimensions.h / 2; + + return { + x: pos.x - offsetX, + y: pos.y - offsetY + }; +} + +//Get the rendered position of the midpoint +function getRenderedMidpoint(target) { + var p = target.midpoint(); + var pan = target.cy().pan(); + var zoom = target.cy().zoom(); + + return { + x: p.x * zoom + pan.x, + y: p.y * zoom + pan.y + }; +} + +//Warn user about misuse of the plugin +function checkForWarning(elements) { + /* eslint-disable no-console */ + + //Popper.js Should only be used on 1 element + if (elements.length > 1) { + console.warn("Popper.js Extension should only be used on one element."); + console.warn("Ignoring all subsequent elements"); + } + + /* eslint-enable */ +} + +module.exports = { popper: popper, popperRef: popperRef }; + +/***/ }), +/* 4 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var assign = __webpack_require__(0); + +var _require = __webpack_require__(2), + getPopper = _require.getPopper; + +var _require2 = __webpack_require__(1), + getRef = _require2.getRef; + +function popper(opts) { + return getPopper(this, createOptionsObject(this, opts)); +} + +function popperRef(opts) { + return getRef(this, createOptionsObject(this, opts)); +} + +//Create a options object with required default values +function createOptionsObject(target, opts) { + var defaults = { + boundingBox: { + top: 0, + left: 0, + right: 0, + bottom: 0, + w: 3, + h: 3 + }, + renderedDimensions: function renderedDimensions() { + return { w: 3, h: 3 }; + }, + redneredPosition: function redneredPosition() { + return { x: 0, y: 0 }; + }, + popper: {}, + cy: target + }; + + return assign({}, defaults, opts); +} + +module.exports = { popper: popper, popperRef: popperRef }; + +/***/ }), +/* 5 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +function getBoundingBox(target, opts) { + var renderedPosition = opts.renderedPosition, + cy = opts.cy, + renderedDimensions = opts.renderedDimensions; + + var offset = cy.container().getBoundingClientRect(); + var dims = renderedDimensions(target); + var pos = renderedPosition(target); + + return { + top: pos.y + offset.top, + left: pos.x + offset.left, + right: pos.x + dims.w + offset.left, + bottom: pos.y + dims.h + offset.top, + width: dims.w, + height: dims.h + }; +} + +module.exports = { getBoundingBox: getBoundingBox }; + +/***/ }), +/* 6 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +function getContent(target, content) { + var contentObject = null; + + if (typeof content === "function") { + //Execute function if user opted for a dyanamic target + contentObject = content(target); + } else if (content instanceof HTMLElement) { + //Target option is an HTML element + return content; + } else { + throw new Error("Can not create popper from 'target' with unknown type"); + } + + // Check validity of parsed target + if (contentObject === null) { + throw new Error("No 'target' specified to create popper"); + } else { + return contentObject; + } +} + +module.exports = { getContent: getContent }; + +/***/ }), +/* 7 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +/* global cytoscape */ + +var coreImpl = __webpack_require__(4); +var collectionImpl = __webpack_require__(3); + +// registers the extension on a cytoscape lib ref +var register = function register(cytoscape) { + if (!cytoscape) { + return; + } // can't register if cytoscape unspecified + + // register with cytoscape.js + cytoscape('core', 'popper', coreImpl.popper); //Cytoscape Core + cytoscape('collection', 'popper', collectionImpl.popper); //Cytoscape Collections + cytoscape('core', 'popperRef', coreImpl.popperRef); //Cytoscape Core for References + cytoscape('collection', 'popperRef', collectionImpl.popperRef); //Cytoscape Collections for References +}; + +if (typeof cytoscape !== 'undefined') { + // expose to global cytoscape (i.e. window.cytoscape) + register(cytoscape); +} + +module.exports = register; + +/***/ }), +/* 8 */ +/***/ (function(module, exports) { + +module.exports = __WEBPACK_EXTERNAL_MODULE_8__; + +/***/ }) +/******/ ]); +}); \ No newline at end of file diff --git a/dist/html-static/js/library/cytoscape.min.js b/dist/html-static/js/library/cytoscape.min.js new file mode 100644 index 000000000..cdde206f8 --- /dev/null +++ b/dist/html-static/js/library/cytoscape.min.js @@ -0,0 +1,32 @@ +/** + * Copyright (c) 2016-2021, The Cytoscape Consortium. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of + * this software and associated documentation files (the “Software”), to deal in + * the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + * of the Software, and to permit persons to whom the Software is furnished to do + * so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).cytoscape=t()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;nt?1:0},I=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t}(e)||function(e){var t,n,r,i,a,o,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^hsl[a]?\\(((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?)))\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])(?:\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)$").exec(e);if(c){if((n=parseInt(c[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(c[2]))<0||r>100)return;if(r/=100,(i=parseFloat(c[3]))<0||i>100)return;if(i/=100,void 0!==(a=c[4])&&((a=parseFloat(a))<0||a>1))return;if(0===r)o=s=l=Math.round(255*i);else{var d=i<.5?i*(1+r):i+r-i*r,h=2*i-d;o=Math.round(255*u(h,d,n+1/3)),s=Math.round(255*u(h,d,n)),l=Math.round(255*u(h,d,n-1/3))}t=[o,s,l,a]}return t}(e)},L={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},A=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||d&&e-u>=a}function v(){var e=U();if(g(e))return y(e);s=setTimeout(v,function(e){var n=t-(e-l);return d?Z(n,a-(e-u)):n}(e))}function y(e){return s=void 0,h&&r?p(e):(r=i=void 0,o)}function m(){var e=U(),n=g(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return f(l);if(d)return s=setTimeout(v,t),p(l)}return void 0===s&&(s=setTimeout(v,t)),o}return t=Q(t)||0,$(n)&&(c=!!n.leading,a=(d="maxWait"in n)?G(Q(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),m.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},m.flush=function(){return void 0===s?o:y(U())},m},ee=o?o.performance:null,te=ee&&ee.now?function(){return ee.now()}:function(){return Date.now()},ne=function(){if(o){if(o.requestAnimationFrame)return function(e){o.requestAnimationFrame(e)};if(o.mozRequestAnimationFrame)return function(e){o.mozRequestAnimationFrame(e)};if(o.webkitRequestAnimationFrame)return function(e){o.webkitRequestAnimationFrame(e)};if(o.msRequestAnimationFrame)return function(e){o.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(te())}),1e3/60)}}(),re=function(e){return ne(e)},ie=te,ae=65599,oe=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261,r=n;!(t=e.next()).done;)r=r*ae+t.value|0;return r},se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261;return t*ae+e|0},le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5381;return(t<<5)+t+e|0},ue=function(e){return 2097152*e[0]+e[1]},ce=function(e,t){return[se(e[0],t[0]),le(e[1],t[1])]},de=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return oe({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},_e=function(e){e.splice(0,e.length)},Ne=function(e,t,n){return n&&(t=M(n,t)),e[t]},Ie=function(e,t,n,r){n&&(t=M(n,t)),e[t]=r},ze="undefined"!=typeof Map?Map:function(){function e(){t(this,e),this._obj={}}return r(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),Le=function(){function e(n){if(t(this,e),this._obj=Object.create(null),this.size=0,null!=n){var r;r=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var i=0;i2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&E(e)){var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new Ae,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];g(t.classes)?l=t.classes:p(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw new Error("lo must be non-negative");for(null==a&&(a=e.length);in;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse()).length;ag;0<=g?++h:--h)v.push(a(e,r));return v},f=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t&&i(a,o=e[s=r-1>>1])<0;)e[r]=o,r=s;return e[r]=a},g=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;i0;){var k=b.pop(),C=y(k),S=k.id();if(d[S]=C,C!==1/0)for(var P=k.neighborhood().intersect(f),D=0;D0)for(n.unshift(t);c[i];){var a=c[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},Ye={kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=new Array(i),o=n,s=function(e){for(var t=0;t0;){if(l=g.pop(),u=l.id(),v.delete(u),w++,u===d){for(var E=[],k=i,C=d,S=m[C];E.unshift(k),null!=S&&E.unshift(S),null!=(k=y[C]);)S=m[C=k.id()];return{found:!0,distance:h[u],path:this.spawn(E),steps:w}}f[u]=!0;for(var P=l._private.edges,D=0;DD&&(f[P]=D,m[P]=S,b[P]=w),!i){var T=S*u+C;!i&&f[T]>D&&(f[T]=D,m[T]=C,b[T]=w)}}}for(var M=0;M1&&void 0!==arguments[1]?arguments[1]:a,r=m(e),i=[],o=r;;){if(null==o)return t.spawn();var l=y(o),u=l.edge,c=l.pred;if(i.unshift(o[0]),o.same(n)&&i.length>0)break;null!=u&&i.unshift(u),o=c}return s.spawn(i)},hasNegativeWeightCycle:g,negativeWeightCycles:[]}}},Ue=Math.sqrt(2),$e=function(e,t,n){0===n.length&&Ee("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n,u=l.length-1;u>=0;u--){var c=l[u],d=c[1],h=c[2];(t[d]===o&&t[h]===s||t[d]===s&&t[h]===o)&&l.splice(u,1)}for(var p=0;pr;){var i=Math.floor(Math.random()*t.length);t=$e(i,e,t),n--}return t},Je={kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy((function(e){return e.isLoop()}));var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/Ue);if(!(i<2)){for(var l=[],u=0;u0?1:e<0?-1:0},ot=function(e,t){return Math.sqrt(st(e,t))},st=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},lt=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},pt=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},ft=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},gt=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===o.length)t=n=r=i=o[0];else if(2===o.length)t=r=o[0],i=n=o[1];else if(4===o.length){var s=a(o,4);t=s[0],n=s[1],r=s[2],i=s[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},vt=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},yt=function(e,t){return!(e.x1>t.x2)&&(!(t.x1>e.x2)&&(!(e.x2t.y2)&&!(t.y1>e.y2)))))))},mt=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},bt=function(e,t){return mt(e,t.x1,t.y1)&&mt(e,t.x2,t.y2)},xt=function(e,t,n,r,i,a,o){var s,l=Rt(i,a),u=i/2,c=a/2,d=r-c-o;if((s=Nt(e,t,n,r,n-u+l-o,d,n+u-l+o,d,!1)).length>0)return s;var h=n+u+o;if((s=Nt(e,t,n,r,h,r-c+l-o,h,r+c-l+o,!1)).length>0)return s;var p=r+c+o;if((s=Nt(e,t,n,r,n-u+l-o,p,n+u-l+o,p,!1)).length>0)return s;var f,g=n-u-o;if((s=Nt(e,t,n,r,g,r-c+l-o,g,r+c-l+o,!1)).length>0)return s;var v=n-u+l,y=r-c+l;if((f=Bt(e,t,n,r,v,y,l+o)).length>0&&f[0]<=v&&f[1]<=y)return[f[0],f[1]];var m=n+u-l,b=r-c+l;if((f=Bt(e,t,n,r,m,b,l+o)).length>0&&f[0]>=m&&f[1]<=b)return[f[0],f[1]];var x=n+u-l,w=r+c-l;if((f=Bt(e,t,n,r,x,w,l+o)).length>0&&f[0]>=x&&f[1]>=w)return[f[0],f[1]];var E=n-u+l,k=r+c-l;return(f=Bt(e,t,n,r,E,k,l+o)).length>0&&f[0]<=E&&f[1]>=k?[f[0],f[1]]:[]},wt=function(e,t,n,r,i,a,o){var s=o,l=Math.min(n,i),u=Math.max(n,i),c=Math.min(r,a),d=Math.max(r,a);return l-s<=e&&e<=u+s&&c-s<=t&&t<=d+s},Et=function(e,t,n,r,i,a,o,s,l){var u=Math.min(n,o,i)-l,c=Math.max(n,o,i)+l,d=Math.min(r,s,a)-l,h=Math.max(r,s,a)+l;return!(ec||th)},kt=function(e,t,n,r,i,a,o,s){var l=[];!function(e,t,n,r,i){var a,o,s,l,u,c,d,h;0===e&&(e=1e-5),s=-27*(r/=e)+(t/=e)*(9*(n/=e)-t*t*2),a=(o=(3*n-t*t)/9)*o*o+(s/=54)*s,i[1]=0,d=t/3,a>0?(u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(a))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-d+u+c,d+=(u+c)/2,i[4]=i[2]=-d,d=Math.sqrt(3)*(-c+u)/2,i[3]=d,i[5]=-d):(i[5]=i[3]=0,0===a?(h=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=2*h-d,i[4]=i[2]=-(h+d)):(l=(o=-o)*o*o,l=Math.acos(s/Math.sqrt(l)),h=2*Math.sqrt(o),i[0]=-d+h*Math.cos(l/3),i[2]=-d+h*Math.cos((l+2*Math.PI)/3),i[4]=-d+h*Math.cos((l+4*Math.PI)/3)))}(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,l);for(var u=[],c=0;c<6;c+=2)Math.abs(l[c+1])<1e-7&&l[c]>=0&&l[c]<=1&&u.push(l[c]);u.push(1),u.push(0);for(var d,h,p,f=-1,g=0;g=0?pl?(e-i)*(e-i)+(t-a)*(t-a):u-d},St=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e&&e>=a||r<=e&&e<=a))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},Pt=function(e,t,n,r,i,a,o,s,l){var u,c=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var d,h=Math.cos(-u),p=Math.sin(-u),f=0;f0){var g=Tt(c,-l);d=Dt(g)}else d=c;return St(e,t,d)},Dt=function(e){for(var t,n,r,i,a,o,s,l,u=new Array(e.length/2),c=0;c=0&&f<=1&&v.push(f),g>=0&&g<=1&&v.push(g),0===v.length)return[];var y=v[0]*s[0]+e,m=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,m]:[y,m,v[1]*s[0]+e,v[1]*s[1]+t]:[y,m]},_t=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},Nt=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,d=o-i,h=t-a,p=r-t,f=s-a,g=d*h-f*u,v=c*h-p*u,y=f*c-d*p;if(0!==y){var m=g/y,b=v/y;return-.001<=m&&m<=1.001&&-.001<=b&&b<=1.001||l?[e+m*c,t+m*p]:[]}return 0===g||0===v?_t(e,n,o)===o?[o,s]:_t(e,n,i)===i?[i,a]:_t(i,o,n)===n?[n,r]:[]:[]},It=function(e,t,n,r,i,a,o,s){var l,u,c,d,h,p,f=[],g=new Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0){var m=Tt(g,-s);u=Dt(m)}else u=g}else u=n;for(var b=0;bu&&(u=t)},d=function(e){return l[e]},h=0;h0?b.edgesTo(m)[0]:m.edgesTo(b)[0];var w=r(x);m=m.id(),h[m]>h[v]+w&&(h[m]=h[v]+w,p.nodes.indexOf(m)<0?p.push(m):p.updateItem(m),u[m]=0,l[m]=[]),h[m]==h[v]+w&&(u[m]=u[m]+u[v],l[m].push(v))}else for(var E=0;E0;){for(var P=n.pop(),D=0;D0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i}(c,l,t,r);return b=function(e){for(var t=0;t5&&void 0!==arguments[5]?arguments[5]:on,o=r,s=0;s=2?hn(e,t,n,0,un,cn):hn(e,t,n,0,ln)},squaredEuclidean:function(e,t,n){return hn(e,t,n,0,un)},manhattan:function(e,t,n){return hn(e,t,n,0,ln)},max:function(e,t,n){return hn(e,t,n,-1/0,dn)}};function fn(e,t,n,r,i,a){var o;return o=f(e)?e:pn[e]||pn.euclidean,0===t&&f(e)?o(i,a):o(t,n,r,i,a)}pn["squared-euclidean"]=pn.squaredEuclidean,pn.squaredeuclidean=pn.squaredEuclidean;var gn=Me({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),vn=function(e){return gn(e)},yn=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)},o=n,s=t;return fn(e,r.length,a,(function(e){return r[e](t)}),o,s)},mn=function(e,t,n){for(var r=n.length,i=new Array(r),a=new Array(r),o=new Array(t),s=null,l=0;ln)return!1}return!0},En=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var p,f=t[o],g=t[r[o]];p="dendrogram"===i.mode?{left:f,right:g,key:f.key}:{value:f.value.concat(g.value),key:f.key},e[f.index]=p,e.splice(g.index,1),t[f.key]=p;for(var v=0;vn[g.key][y.key]&&(a=n[g.key][y.key])):"max"===i.linkage?(a=n[f.key][y.key],n[f.key][y.key]1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];r?e=e.slice(t,n):(n0&&e.splice(0,t));for(var o=0,s=e.length-1;s>=0;s--){var l=e[s];a?isFinite(l)||(e[s]=-1/0,o++):e.splice(s,1)}i&&e.sort((function(e,t){return e-t}));var u=e.length,c=Math.floor(u/2);return u%2!=0?e[c+1+o]:(e[c-1+o]+e[c+o])/2}(e):"mean"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;u=D?(T=D,D=B,M=_):B>T&&(T=B);for(var N=0;N0?1:0;C[k%u.minIterations*t+R]=V,O+=V}if(O>0&&(k>=u.minIterations-1||k==u.maxIterations-1)){for(var F=0,q=0;q0&&r.push(i);return r}(t,a,o),X=function(e,t,n){for(var r=Rn(e,t,n),i=0;il&&(s=u,l=c)}n[i]=a[s]}return r=Rn(e,t,n)}(t,r,Y),W={},H=0;H1)}}));var l=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(l),components:i}},Yn=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e);return e.forEach((function(o){if(o.isNode()){var s=o.id();s in t||function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach((function(e){var n=e.target().id();n!==s&&(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),d=l.merge(c);r.push(d),a=a.difference(d)}}(s)}})),{cut:a,components:r}},Xn={};[Ve,je,Ye,We,Ke,Ze,Je,jt,Xt,Ht,Gt,an,Tn,zn,Fn,{hierholzer:function(e){if(!v(e)){var t=arguments;e={root:t[0],directed:t[1]}}var n,r,i,a=qn(e),o=a.root,s=a.directed,l=this,u=!1;o&&(i=p(o)?this.filter(o)[0].id():o[0].id());var c={},d={};s?l.forEach((function(e){var t=e.id();if(e.isNode()){var i=e.indegree(!0),a=e.outdegree(!0),o=i-a,s=a-i;1==o?n?u=!0:n=t:1==s?r?u=!0:r=t:(s>1||o>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else d[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();e.isNode()?(e.degree(!0)%2&&(n?r?u=!0:r=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))):d[t]=[e.source().id(),e.target().id()]}));var h={found:!1,trail:void 0};if(u)return h;if(r&&n)if(s){if(i&&r!=i)return h;i=r}else{if(i&&r!=i&&n!=i)return h;i||(i=r)}else i||(i=l[0].id());var f=function(e){for(var t,n,r,i=e,a=[e];c[i].length;)t=c[i].shift(),n=d[t][0],i!=(r=d[t][1])?(c[r]=c[r].filter((function(e){return e!=t})),i=r):s||i==n||(c[n]=c[n].filter((function(e){return e!=t})),i=n),a.unshift(t),a.unshift(i);return a},g=[],y=[];for(y=f(i);1!=y.length;)0==c[y[0]].length?(g.unshift(l.getElementById(y.shift())),g.unshift(l.getElementById(y.shift()))):y=f(y.shift()).concat(y);for(var m in g.unshift(l.getElementById(y.shift())),c)if(c[m].length)return h;return h.found=!0,h.trail=this.spawn(g,!0),h}},{hopcroftTarjanBiconnected:jn,htbc:jn,htb:jn,hopcroftTarjanBiconnectedComponents:jn},{tarjanStronglyConnected:Yn,tsc:Yn,tscc:Yn,tarjanStronglyConnectedComponents:Yn}].forEach((function(e){I(Xn,e)})); +/*! + Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable + Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com) + Licensed under The MIT License (http://opensource.org/licenses/MIT) + */ +var Wn=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};Wn.prototype={fulfill:function(e){return Hn(this,1,"fulfillValue",e)},reject:function(e){return Hn(this,2,"rejectReason",e)},then:function(e,t){var n=new Wn;return this.onFulfilled.push(Zn(e,n,"fulfill")),this.onRejected.push(Zn(t,n,"reject")),Kn(this),n.proxy}};var Hn=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,Kn(e)),e},Kn=function(e){1===e.state?Gn(e,"onFulfilled",e.fulfillValue):2===e.state&&Gn(e,"onRejected",e.rejectReason)},Gn=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e0:void 0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t0&&this.spawn(n).updateStyle().emit("class"),this},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){g(e)||(e=e.match(/\S+/g)||[]);for(var n=void 0===t,r=[],i=0,a=this.length;i0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};nr.className=nr.classNames=nr.classes;var rr={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:_,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};rr.variable="(?:[\\w-]|(?:\\\\"+rr.metaChar+"))+",rr.value=rr.string+"|"+rr.number,rr.className=rr.variable,rr.id=rr.variable,function(){var e,t,n;for(e=rr.comparatorOp.split("|"),n=0;n=0||"="!==t&&(rr.comparatorOp+="|\\!"+t)}();var ir=0,ar=1,or=2,sr=3,lr=4,ur=5,cr=6,dr=7,hr=8,pr=9,fr=10,gr=11,vr=12,yr=13,mr=14,br=15,xr=16,wr=17,Er=18,kr=19,Cr=20,Sr=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return function(e,t){return-1*N(e,t)}(e.selector,t.selector)})),Pr=function(){for(var e,t={},n=0;n0&&l.edgeCount>0)return Ce("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(l.edgeCount>1)return Ce("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===l.edgeCount&&Ce("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return p(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case ir:var l=e(s);return l.substring(0,l.length-1);case sr:var u=r.field,c=r.operator;return"["+u+n(e(c))+t(s)+"]";case ur:var d=r.operator,h=r.field;return"["+e(d)+h+"]";case lr:return"["+r.field+"]";case cr:var p=r.operator;return"[["+r.field+n(e(p))+t(s)+"]]";case dr:return s;case hr:return"#"+s;case pr:return"."+s;case wr:case br:return i(r.parent,a)+n(">")+i(r.child,a);case Er:case xr:return i(r.ancestor,a)+" "+i(r.descendant,a);case kr:var f=i(r.left,a),g=i(r.subject,a),v=i(r.right,a);return f+(f.length>0?" ":"")+g+v;case Cr:return""}},i=function(e,t){return e.checks.reduce((function(n,i,a){return n+(t===e&&0===a?"$":"")+r(i,t)}),"")},a="",o=0;o1&&o=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":d=!0,r=e>n;break;case">=":d=!0,r=e>=n;break;case"<":d=!0,r=e0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function Wr(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1&&void 0!==arguments[1])||arguments[1];return Xr(this,e,t,Wr)},Yr.forEachUp=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Xr(this,e,t,Hr)},Yr.forEachUpAndDown=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Xr(this,e,t,Kr)},Yr.ancestors=Yr.parents,(Fr=qr={data:er.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:er.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:er.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:er.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:er.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:er.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Fr.data,Fr.removeAttr=Fr.removeData;var Gr,Zr,Ur=qr,$r={};function Qr(e){return function(t){if(void 0===t&&(t=!0),0!==this.length&&this.isNode()&&!this.removed()){for(var n=0,r=this[0],i=r._private.edges,a=0;at})),minIndegree:Jr("indegree",(function(e,t){return et})),minOutdegree:Jr("outdegree",(function(e,t){return et}))}),I($r,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0,c=u;u&&(l=l[0]);var d=c?l.position():{x:0,y:0};return i={x:s.x-d.x,y:s.y-d.y},void 0===e?i:i[e]}for(var h=0;h0,m=y;y&&(g=g[0]);var b=m?g.position():{x:0,y:0};void 0!==t?f.position(e,t+b[e]):void 0!==i&&f.position({x:i.x+b.x,y:i.y+b.y})}}else if(!a)return;return this}}).modelPosition=Gr.point=Gr.position,Gr.modelPositions=Gr.points=Gr.positions,Gr.renderedPoint=Gr.renderedPosition,Gr.relativePoint=Gr.relativePosition;var ni,ri,ii=Zr;ni=ri={},ri.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},ri.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},ri.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),r="include"===e.pstyle("compound-sizing-wrt-labels").value,i={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:r,includeOverlays:!1,useCache:!1}),o=t.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=i.width.left.value;"px"===i.width.left.units&&i.width.val>0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var d=y(i.width.val-a.w,s,l),h=d.biasDiff,p=d.biasComplementDiff,f=y(i.height.val-a.h,u,c),g=f.biasDiff,v=f.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-h+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-g+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},si=function(e,t){return null==t?e:oi(e,t.x1,t.y1,t.x2,t.y2)},li=function(e,t,n){return Ne(e,t,n)},ui=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,ft(u,1),oi(e,u.x1,u.y1,u.x2,u.y2)}}},ci=function(e,t,n){if(!t.cy().headless()){var r;r=n?n+"-":"";var i=t._private,a=i.rstyle;if(t.pstyle(r+"label").strValue){var o,s,l,u,c=t.pstyle("text-halign"),d=t.pstyle("text-valign"),h=li(a,"labelWidth",n),p=li(a,"labelHeight",n),f=li(a,"labelX",n),g=li(a,"labelY",n),v=t.pstyle(r+"text-margin-x").pfValue,y=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle(r+"text-rotation"),x=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue/2,E=t.pstyle("text-background-padding").pfValue,k=p,C=h,S=C/2,P=k/2;if(m)o=f-S,s=f+S,l=g-P,u=g+P;else{switch(c.value){case"left":o=f-C,s=f;break;case"center":o=f-S,s=f+S;break;case"right":o=f,s=f+C}switch(d.value){case"top":l=g-k,u=g;break;case"center":l=g-P,u=g+P;break;case"bottom":l=g,u=g+k}}o+=v-Math.max(x,w)-E-2,s+=v+Math.max(x,w)+E+2,l+=y-Math.max(x,w)-E-2,u+=y+Math.max(x,w)+E+2;var D=n||"main",T=i.labelBounds,M=T[D]=T[D]||{};M.x1=o,M.y1=l,M.x2=s,M.y2=u,M.w=s-o,M.h=u-l;var B=m&&"autorotate"===b.strValue,_=null!=b.pfValue&&0!==b.pfValue;if(B||_){var N=B?li(i.rstyle,"labelAngle",n):b.pfValue,I=Math.cos(N),z=Math.sin(N),L=(o+s)/2,A=(l+u)/2;if(!m){switch(c.value){case"left":L=s;break;case"right":L=o}switch(d.value){case"top":A=u;break;case"bottom":A=l}}var O=function(e,t){return{x:(e-=L)*I-(t-=A)*z+L,y:e*z+t*I+A}},R=O(o,l),V=O(o,u),F=O(s,l),q=O(s,u);o=Math.min(R.x,V.x,F.x,q.x),s=Math.max(R.x,V.x,F.x,q.x),l=Math.min(R.y,V.y,F.y,q.y),u=Math.max(R.y,V.y,F.y,q.y)}var j=D+"Rot",Y=T[j]=T[j]||{};Y.x1=o,Y.y1=l,Y.x2=s,Y.y2=u,Y.w=s-o,Y.h=u-l,oi(e,o,l,s,u),oi(i.labelBounds.all,o,l,s,u)}return e}},di=function(e){var t=0,n=function(e){return(e?1:0)<(r=P[1].x)){var D=n;n=r,r=D}if(i>(a=P[1].y)){var T=i;i=a,a=T}oi(h,n-w,i-w,r+w,a+w)}}else if("bezier"===S||"unbundled-bezier"===S||"segments"===S||"taxi"===S){var M;switch(S){case"bezier":case"unbundled-bezier":M=v.bezierPts;break;case"segments":case"taxi":M=v.linePts}if(null!=M)for(var B=0;B(r=I.x)){var z=n;n=r,r=z}if((i=N.y)>(a=I.y)){var L=i;i=a,a=L}oi(h,n-=w,i-=w,r+=w,a+=w)}if(c&&t.includeEdges&&g&&(ui(h,e,"mid-source"),ui(h,e,"mid-target"),ui(h,e,"source"),ui(h,e,"target")),c)if("yes"===e.pstyle("ghost").value){var A=e.pstyle("ghost-offset-x").pfValue,O=e.pstyle("ghost-offset-y").pfValue;oi(h,h.x1+A,h.y1+O,h.x2+A,h.y2+O)}var R=p.bodyBounds=p.bodyBounds||{};vt(R,h),gt(R,y),ft(R,1),c&&(n=h.x1,r=h.x2,i=h.y1,a=h.y2,oi(h,n-x,i-x,r+x,a+x));var V=p.overlayBounds=p.overlayBounds||{};vt(V,h),gt(V,y),ft(V,1);var F=p.labelBounds=p.labelBounds||{};null!=F.all?((l=F.all).x1=1/0,l.y1=1/0,l.x2=-1/0,l.y2=-1/0,l.w=0,l.h=0):F.all=ht(),c&&t.includeLabels&&(t.includeMainLabels&&ci(h,e,null),g&&(t.includeSourceLabels&&ci(h,e,"source"),t.includeTargetLabels&&ci(h,e,"target")))}return h.x1=ai(h.x1),h.y1=ai(h.y1),h.x2=ai(h.x2),h.y2=ai(h.y2),h.w=ai(h.x2-h.x1),h.h=ai(h.y2-h.y1),h.w>0&&h.h>0&&b&&(gt(h,y),ft(h,1)),h}(e,fi),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var c=e.isNode();n=ht(),(t.includeNodes&&c||t.includeEdges&&!c)&&(t.includeOverlays?si(n,r.overlayBounds):si(n,r.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!i||t.includeSourceLabels&&t.includeTargetLabels)?si(n,r.labelBounds.all):(t.includeMainLabels&&si(n,r.labelBounds.mainRot),t.includeSourceLabels&&si(n,r.labelBounds.sourceRot),t.includeTargetLabels&&si(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},fi={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,useCache:!0},gi=di(fi),vi=Me(fi);ri.boundingBox=function(e){var t;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==e&&void 0!==e.useCache&&!0!==e.useCache){t=ht();var n=vi(e=e||fi);if(this.cy().styleEnabled())for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:_i,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},Ii.removeAllListeners=function(){return this.removeListener("*")},Ii.emit=Ii.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,g(t)||(t=[t]),Ai(this,(function(e,a){null!=n&&(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],i=r.length);for(var o=function(n){var i=r[n];if(i.type===a.type&&(!i.namespace||i.namespace===a.namespace||".*"===i.namespace)&&e.eventMatches(e.context,i,a)){var o=[a];null!=t&&function(e,t){for(var n=0;n1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&p(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--){e(this[t])&&this.unmergeAt(t)}return this},map:function(e,t){for(var n=[],r=0;rr&&(r=o,n=a)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=0;i=0&&i1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(v(e)){var i=e;r.applyBypass(this,i,!1),this.emitAndNotify("style")}else if(p(e)){if(void 0===t){var a=this[0];return a?r.getStylePropertyValue(a,e):void 0}r.applyBypass(this,e,t,!1),this.emitAndNotify("style")}else if(void 0===e){var o=this[0];return o?r.getRawStyle(o):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),oa.neighbourhood=oa.neighborhood,oa.closedNeighbourhood=oa.closedNeighborhood,oa.openNeighbourhood=oa.openNeighborhood,I(oa,{source:jr((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:jr((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:ca({attr:"source"}),targets:ca({attr:"target"})}),I(oa,{edgesWith:jr(da(),"edgesWith"),edgesTo:jr(da({thisIsSrc:!0}),"edgesTo")}),I(oa,{connectedEdges:jr((function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),oa.componentsOf=oa.components;var pa=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0!==e){var r=new ze,i=!1;if(t){if(t.length>0&&v(t[0])&&!x(t[0])){i=!0;for(var a=[],o=new Ae,s=0,l=t.length;s0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,a=i.cy(),o=a._private,s=[],l=[],u=0,c=i.length;u0){for(var R=e.length===i.length?i:new pa(a,e),V=0;V0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],i={},a=n._private.cy;function o(e){for(var t=e._private.edges,n=0;n0&&(e?D.emitAndNotify("remove"):t&&D.emit("remove"));for(var T=0;T1e-4&&Math.abs(s.v)>1e-4;);return a?function(e){return u[e*(u.length-1)|0]}:c}}(),ya=function(e,t,n,r){var i=function(e,t,n,r){var i=4,a=.001,o=1e-7,s=10,l=11,u=1/(l-1),c="undefined"!=typeof Float32Array;if(4!==arguments.length)return!1;for(var d=0;d<4;++d)if("number"!=typeof arguments[d]||isNaN(arguments[d])||!isFinite(arguments[d]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var h=c?new Float32Array(l):new Array(l);function p(e,t){return 1-3*t+3*e}function f(e,t){return 3*t-6*e}function g(e){return 3*e}function v(e,t,n){return((p(t,n)*e+f(t,n))*e+g(t))*e}function y(e,t,n){return 3*p(t,n)*e*e+2*f(t,n)*e+g(t)}function m(t,r){for(var a=0;a0?i=l:r=l}while(Math.abs(a)>o&&++u=a?m(t,s):0===c?s:x(t,r,r+u)}var E=!1;function k(){E=!0,e===t&&n===r||b()}var C=function(i){return E||k(),e===t&&n===r?i:0===i?0:1===i?1:v(w(i),t,r)};C.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var S="generateBezier("+[e,t,n,r]+")";return C.toString=function(){return S},C}(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},ma={linear:function(e,t,n){return e+(t-e)*n},ease:ya(.25,.1,.25,1),"ease-in":ya(.42,0,1,1),"ease-out":ya(0,0,.58,1),"ease-in-out":ya(.42,0,.58,1),"ease-in-sine":ya(.47,0,.745,.715),"ease-out-sine":ya(.39,.575,.565,1),"ease-in-out-sine":ya(.445,.05,.55,.95),"ease-in-quad":ya(.55,.085,.68,.53),"ease-out-quad":ya(.25,.46,.45,.94),"ease-in-out-quad":ya(.455,.03,.515,.955),"ease-in-cubic":ya(.55,.055,.675,.19),"ease-out-cubic":ya(.215,.61,.355,1),"ease-in-out-cubic":ya(.645,.045,.355,1),"ease-in-quart":ya(.895,.03,.685,.22),"ease-out-quart":ya(.165,.84,.44,1),"ease-in-out-quart":ya(.77,0,.175,1),"ease-in-quint":ya(.755,.05,.855,.06),"ease-out-quint":ya(.23,1,.32,1),"ease-in-out-quint":ya(.86,0,.07,1),"ease-in-expo":ya(.95,.05,.795,.035),"ease-out-expo":ya(.19,1,.22,1),"ease-in-out-expo":ya(1,0,0,1),"ease-in-circ":ya(.6,.04,.98,.335),"ease-out-circ":ya(.075,.82,.165,1),"ease-in-out-circ":ya(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return ma.linear;var r=va(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":ya};function ba(e,t,n,r,i){if(1===r)return n;if(t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function xa(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function wa(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=xa(e,i),s=xa(t,i);if(y(o)&&y(s))return ba(a,o,s,n,r);if(g(o)&&g(s)){for(var l=[],u=0;u0?("spring"===d&&h.push(o.duration),o.easingImpl=ma[d].apply(null,h)):o.easingImpl=ma[d]}var f,g=o.easingImpl;if(f=0===o.duration?1:(n-l)/o.duration,o.applying&&(f=o.progress),f<0?f=0:f>1&&(f=1),null==o.delay){var v=o.startPosition,y=o.position;if(y&&i&&!e.locked()){var m={};ka(v.x,y.x)&&(m.x=wa(v.x,y.x,f,g)),ka(v.y,y.y)&&(m.y=wa(v.y,y.y,f,g)),e.position(m)}var b=o.startPan,x=o.pan,w=a.pan,E=null!=x&&r;E&&(ka(b.x,x.x)&&(w.x=wa(b.x,x.x,f,g)),ka(b.y,x.y)&&(w.y=wa(b.y,x.y,f,g)),e.emit("pan"));var k=o.startZoom,C=o.zoom,S=null!=C&&r;S&&(ka(k,C)&&(a.zoom=dt(a.minZoom,wa(k,C,f,g),a.maxZoom)),e.emit("zoom")),(E||S)&&e.emit("viewport");var P=o.style;if(P&&P.length>0&&i){for(var D=0;D=0;t--){(0,e[t])()}e.splice(0,e.length)},c=a.length-1;c>=0;c--){var d=a[c],h=d._private;h.stopped?(a.splice(c,1),h.hooked=!1,h.playing=!1,h.started=!1,u(h.frames)):(h.playing||h.applying)&&(h.playing&&h.applying&&(h.applying=!1),h.started||Ca(0,d,e),Ea(t,d,e,n),h.applying&&(h.applying=!1),u(h.frames),null!=h.step&&h.step(e),d.completed()&&(a.splice(c,1),h.hooked=!1,h.playing=!1,h.started=!1,u(h.completes)),s=!0)}return n||0!==a.length||0!==o.length||r.push(t),s}for(var a=!1,o=0;o0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var Pa={animate:er.animate(),animation:er.animation(),animated:er.animated(),clearQueue:er.clearQueue(),delay:er.delay(),delayAnimation:er.delayAnimation(),stop:er.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){Sa(n,e)}),t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&re((function(n){Sa(n,e),t()}))}()}}},Da={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&x(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},Ta=function(e){return p(e)?new Or(e):e},Ma={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Ni(Da,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Ta(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Ta(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Ta(t),n),this},once:function(e,t,n){return this.emitter().one(e,Ta(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};er.eventAliasesOn(Ma);var Ba={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};Ba.jpeg=Ba.jpg;var _a={layout:function(e){if(null!=e)if(null!=e.name){var t=e.name,n=this.extension("layout",t);if(null!=n){var r;r=p(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$();var i=new n(I({},e,{cy:this,eles:r}));return i}Ee("No such layout `"+t+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ee("A `name` must be specified to make a layout");else Ee("Layout options must be specified to make a layout")}};_a.createLayout=_a.makeLayout=_a.layout;var Na={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&r.merge(t)}else if(n.notificationsEnabled){var i=this.renderer();!this.destroyed()&&i&&i.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)e.removeChild(e.childNodes[0]);this._private.renderer=null,this.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};za.invalidateDimensions=za.resize;var La={collection:function(e,t){return p(e)?this.$(e):b(e)?e.collection():g(e)?new pa(this,e,t):new pa(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};La.elements=La.filter=La.$;var Aa={};Aa.apply=function(e){for(var t=this._private.cy.collection(),n=0;n0;if(d||c&&h){var p=void 0;d&&h||d?p=l.properties:h&&(p=l.mappedProperties);for(var f=0;f1&&(g=1),s.color){var w=i.valueMin[0],E=i.valueMax[0],k=i.valueMin[1],C=i.valueMax[1],S=i.valueMin[2],P=i.valueMax[2],D=null==i.valueMin[3]?1:i.valueMin[3],T=null==i.valueMax[3]?1:i.valueMax[3],M=[Math.round(w+(E-w)*g),Math.round(k+(C-k)*g),Math.round(S+(P-S)*g),Math.round(D+(T-D)*g)];n={bypass:i.bypass,name:i.name,value:M,strValue:"rgb("+M[0]+", "+M[1]+", "+M[2]+")"}}else{if(!s.number)return!1;var B=i.valueMin+(i.valueMax-i.valueMin)*g;n=this.parse(i.name,B,i.bypass,"mapping")}if(!n)return f(),!1;n.mapping=i,i=n;break;case o.data:for(var _=i.field.split("."),N=d.data,I=0;I<_.length&&N;I++){N=N[_[I]]}if(null!=N&&(n=this.parse(i.name,N,i.bypass,"mapping")),!n)return f(),!1;n.mapping=i,i=n;break;case o.fn:var z=i.value,L=null!=i.fnValue?i.fnValue:z(e);if(i.prevFnValue=L,null==L)return Ce("Custom function mappers may not return null (i.e. `"+i.name+"` for ele `"+e.id()+"` is null)"),!1;if(!(n=this.parse(i.name,L,i.bypass,"mapping")))return Ce("Custom function mappers may not return invalid values for the property type (i.e. `"+i.name+"` for ele `"+e.id()+"` is invalid)"),!1;n.mapping=Se(i),i=n;break;case void 0:break;default:return!1}return l?(i.bypassed=c?u.bypassed:u,a[i.name]=i):c?u.bypassed=i:a[i.name]=i,p(),!0},Aa.cleanElements=function(e,t){for(var n=0;n0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},Aa.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},Aa.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,(function(e){return e.triggersZOrder}),(function(){i._private.cy.notify("zorder",e)}))},Aa.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,(function(e){return e.triggersBounds}),(function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),"curve-style"!==t||"bezier"!==n&&"bezier"!==r||!i.triggersBoundsOfParallelBeziers||e.parallelEdges().forEach((function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()}))}))},Aa.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Oa={applyBypass:function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?i.substr(t.length):""}function o(){n=n.length>r.length?n.substr(r.length):""}for(i=i.replace(/[/][*](\s|.)+?[*][/]/g,"");;){if(i.match(/^\s*$/))break;var s=i.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!s){Ce("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+i);break}t=s[0];var l=s[1];if("core"!==l)if(new Or(l).invalid){Ce("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),a();continue}var u=s[2],c=!1;n=u;for(var d=[];;){if(n.match(/^\s*$/))break;var h=n.match(/^\s*(.+?)\s*:\s*(.+?)\s*;/);if(!h){Ce("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+u),c=!0;break}r=h[0];var p=h[1],f=h[2];if(this.properties[p])this.parse(p,f)?(d.push({name:p,val:f}),o()):(Ce("Skipping property: Invalid property definition in: "+r),o());else Ce("Skipping property: Invalid property name in: "+r),o()}if(c){a();break}this.selector(l);for(var g=0;g=7&&"d"===t[0]&&(l=new RegExp(o.data.regex).exec(t))){if(n)return!1;var d=o.data;return{name:e,value:l,strValue:""+t,mapped:d,field:l[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(u=new RegExp(o.mapData.regex).exec(t))){if(n)return!1;if(c.multiple)return!1;var h=o.mapData;if(!c.color&&!c.number)return!1;var v=this.parse(e,u[4]);if(!v||v.mapped)return!1;var m=this.parse(e,u[5]);if(!m||m.mapped)return!1;if(v.pfValue===m.pfValue||v.strValue===m.strValue)return Ce("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+v.strValue+"`"),this.parse(e,v.strValue);if(c.color){var b=v.value,x=m.value;if(!(b[0]!==x[0]||b[1]!==x[1]||b[2]!==x[2]||b[3]!==x[3]&&(null!=b[3]&&1!==b[3]||null!=x[3]&&1!==x[3])))return!1}return{name:e,value:u,strValue:""+t,mapped:h,field:u[1],fieldMin:parseFloat(u[2]),fieldMax:parseFloat(u[3]),valueMin:v.value,valueMax:m.value,bypass:n}}}if(c.multiple&&"multiple"!==r){var w;if(w=s?t.split(/\s+/):g(t)?t:[t],c.evenMultiple&&w.length%2!=0)return null;for(var E=[],k=[],C=[],S="",P=!1,T=0;T0?" ":"")+M.strValue}return c.validate&&!c.validate(E,k)?null:c.singleEnum&&P?1===E.length&&p(E[0])?{name:e,value:E[0],strValue:E[0],bypass:n}:null:{name:e,value:E,pfValue:C,strValue:S,bypass:n,units:k}}var B,N,I=function(){for(var r=0;rc.max||c.strictMax&&t===c.max))return null;var V={name:e,value:t,strValue:""+t+(L||""),units:L,bypass:n};return c.unitless||"px"!==L&&"em"!==L?V.pfValue=t:V.pfValue="px"!==L&&L?this.getEmSizeInPixels()*t:t,"ms"!==L&&"s"!==L||(V.pfValue="ms"===L?t:1e3*t),"deg"!==L&&"rad"!==L||(V.pfValue="rad"===L?t:(B=t,Math.PI*B/180)),"%"===L&&(V.pfValue=t/100),V}if(c.propList){var F=[],q=""+t;if("none"===q);else{for(var j=q.split(/\s*,\s*|\s+/),Y=0;Y0&&l>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:o=(o=(o=Math.min((s-2*t)/n.w,(l-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:o)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),y(e)?n=e:v(e)&&(n=e.level,null!=e.position?t=et(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;y(l.x)&&(t.pan.x=l.x,o=!1),y(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(p(e)){var n=e;e=this.mutableElements().filter(n)}else b(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=o.getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}}};Ka.centre=Ka.center,Ka.autolockNodes=Ka.autolock,Ka.autoungrabifyNodes=Ka.autoungrabify;var Ga={data:er.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:er.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:er.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:er.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Ga.attr=Ga.data,Ga.removeAttr=Ga.removeData;var Za=function(e){var t=this,n=(e=I({},e)).container;n&&!m(n)&&m(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==o&&void 0!==n&&!e.headless,s=e;s.layout=I({name:a?"grid":"null"},s.layout),s.renderer=I({name:a?"canvas":"null"},s.renderer);var l=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},u=this._private={container:n,ready:!1,options:s,elements:new pa(this),listeners:[],aniEles:new pa(this),data:s.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:l(!0,s.zoomingEnabled),userZoomingEnabled:l(!0,s.userZoomingEnabled),panningEnabled:l(!0,s.panningEnabled),userPanningEnabled:l(!0,s.userPanningEnabled),boxSelectionEnabled:l(!0,s.boxSelectionEnabled),autolock:l(!1,s.autolock,s.autolockNodes),autoungrabify:l(!1,s.autoungrabify,s.autoungrabifyNodes),autounselectify:l(!1,s.autounselectify),styleEnabled:void 0===s.styleEnabled?a:s.styleEnabled,zoom:y(s.zoom)?s.zoom:1,pan:{x:v(s.pan)&&y(s.pan.x)?s.pan.x:0,y:v(s.pan)&&y(s.pan.y)?s.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1};this.createEmitter(),this.selectionType(s.selectionType),this.zoomRange({min:s.minZoom,max:s.maxZoom});u.styleEnabled&&t.setStyle([]);var c=I({},s,s.renderer);t.initRenderer(c);!function(e,t){if(e.some(S))return $n.all(e).then(t);t(e)}([s.style,s.elements],(function(e){var n=e[0],a=e[1];u.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(v(e)||g(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",r),t.emit("done")}));var a=I({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()}(a,(function(){t.startAnimationLoop(),u.ready=!0,f(s.ready)&&t.on("ready",s.ready);for(var e=0;e0,u=ht(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(b(n.roots))e=n.roots;else if(g(n.roots)){for(var c=[],d=0;d0;){var I=M.shift(),z=T(I,B);if(z)I.outgoers().filter((function(e){return e.isNode()&&i.has(e)})).forEach(_);else if(null===z){Ce("Detected double maximal shift for node `"+I.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}D();var L=0;if(n.avoidOverlap)for(var A=0;A0&&x[0].length<=3?l/2:0),d=2*Math.PI/x[r].length*i;return 0===r&&1===x[0].length&&(c=1),{x:G+c*Math.cos(d),y:Z+c*Math.sin(d)}}return{x:G+(i+1-(a+1)/2)*o,y:(r+1)*s}})),this};var to={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function no(e){this.options=I({},to,e)}no.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o,s=ht(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l=s.x1+s.w/2,u=s.y1+s.h/2,c=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),d=0,h=0;h1&&t.avoidOverlap){d*=1.75;var v=Math.cos(c)-Math.cos(0),m=Math.sin(c)-Math.sin(0),b=Math.sqrt(d*d/(v*v+m*m));o=Math.max(b,o)}return r.nodes().layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*c*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:l+a,y:u+s}})),this};var ro,io={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function ao(e){this.options=I({},io,e)}ao.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,i=t.eles,a=i.nodes().not(":parent"),o=ht(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s=o.x1+o.w/2,l=o.y1+o.h/2,u=[],c=0,d=0;d0)Math.abs(m[0].value-x.value)>=v&&(m=[],y.push(m));m.push(x)}var w=c+t.minNodeSpacing;if(!t.avoidOverlap){var E=y.length>0&&y[0].length>1,k=(Math.min(o.w,o.h)/2-w)/(y.length+E?1:0);w=Math.min(w,k)}for(var C=0,S=0;S1&&t.avoidOverlap){var M=Math.cos(T)-Math.cos(0),B=Math.sin(T)-Math.sin(0),_=Math.sqrt(w*w/(M*M+B*B));C=Math.max(_,C)}P.r=C,C+=w}if(t.equidistant){for(var N=0,I=0,z=0;z=e.numIter)&&(go(r,e),r.temperature=r.temperature*e.coolingFactor,!(r.temperature=e.animationThreshold&&a(),re(t)):(Do(r,e),s())}()}else{for(;u;)u=o(l),l++;Do(r,e),s()}return this},so.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},so.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var lo=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:ht(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},o=n.eles.components(),s={},l=0;l0){a.graphSet.push(w);for(l=0;lr.count?0:r.graph},co=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=(u=r.nodeOverlap*o)*i/(g=Math.sqrt(i*i+a*a)),l=u*a/g;else{var u,c=xo(e,i,a),d=xo(t,-1*i,-1*a),h=d.x-c.x,p=d.y-c.y,f=h*h+p*p,g=Math.sqrt(f);s=(u=(e.nodeRepulsion+t.nodeRepulsion)/f)*h/g,l=u*p/g}e.isLocked||(e.offsetX-=s,e.offsetY-=l),t.isLocked||(t.offsetX+=s,t.offsetY+=l)}},bo=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},xo=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=r-a*t/2/n,u.y=i-a/2,u):u},wo=function(e,t){for(var n=0;n1){var f=t.gravity*d/p,g=t.gravity*h/p;c.offsetX+=f,c.offsetY+=g}}}}},ko=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},Po=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopf&&(d+=p+t.componentSpacing,c=0,h=0,p=0)}}},To={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function Mo(e){this.options=I({},To,e)}Mo.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=r.nodes().not(":parent");t.sort&&(i=i.sort(t.sort));var a=ht(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)r.nodes().layoutPositions(this,t,(function(e){return{x:a.x1,y:a.y1}}));else{var o=i.size(),s=Math.sqrt(o*a.h/a.w),l=Math.round(s),u=Math.round(a.w/a.h*s),c=function(e){if(null==e)return Math.min(l,u);Math.min(l,u)==l?l=e:u=e},d=function(e){if(null==e)return Math.max(l,u);Math.max(l,u)==l?l=e:u=e},h=t.rows,p=null!=t.cols?t.cols:t.columns;if(null!=h&&null!=p)l=h,u=p;else if(null!=h&&null==p)l=h,u=Math.ceil(o/l);else if(null==h&&null!=p)u=p,l=Math.ceil(o/u);else if(u*l>o){var f=c(),g=d();(f-1)*g>=o?c(f-1):(g-1)*f>=o&&d(g-1)}else for(;u*l=o?d(y+1):c(v+1)}var m=a.w/u,b=a.h/l;if(t.condense&&(m=0,b=0),t.avoidOverlap)for(var x=0;x=u&&(_=0,B++)},I={},z=0;z(r=Ct(e,t,x[w],x[w+1],x[w+2],x[w+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(x=a.allpts,w=0;w+5(r=kt(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5])))return v(n,r),!0;m=m||i.source,b=b||i.target;var E=o.getArrowWidth(l,c),k=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(w=0;w0&&(y(m),y(b))}function b(e,t,n){return Ne(e,t,n)}function x(n,r){var i,a=n._private,o=f;i=r?r+"-":"",n.boundingBox();var s=a.labelBounds[r||"main"],l=n.pstyle(i+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var u=b(a.rscratch,"labelX",r),c=b(a.rscratch,"labelY",r),d=b(a.rscratch,"labelAngle",r),h=n.pstyle(i+"text-margin-x").pfValue,p=n.pstyle(i+"text-margin-y").pfValue,g=s.x1-o-h,y=s.x2+o-h,m=s.y1-o-p,x=s.y2+o-p;if(d){var w=Math.cos(d),E=Math.sin(d),k=function(e,t){return{x:(e-=u)*w-(t-=c)*E+u,y:e*E+t*w+c}},C=k(g,m),S=k(g,x),P=k(y,m),D=k(y,x),T=[C.x+h,C.y+p,P.x+h,P.y+p,D.x+h,D.y+p,S.x+h,S.y+p];if(St(e,t,T))return v(n),!0}else if(mt(s,e,t))return v(n),!0}}n&&(l=l.interactive);for(var w=l.length-1;w>=0;w--){var E=l[w];E.isNode()?y(E)||x(E):m(E)||x(E)||x(E,"source")||x(E,"target")}return u},getAllInBox:function(e,t,n,r){for(var i,a,o=this.getCachedZSortedEles().interactive,s=[],l=Math.min(e,n),u=Math.max(e,n),c=Math.min(t,r),d=Math.max(t,r),h=ht({x1:e=l,y1:t=c,x2:n=u,y2:r=d}),p=0;p0?Math.max(e-t,0):Math.min(e+t,0)},w=x(m,v),E=x(b,y),k=!1;"auto"===c?u=Math.abs(w)>Math.abs(E)?"horizontal":"vertical":"upward"===c||"downward"===c?(u="vertical",k=!0):"leftward"!==c&&"rightward"!==c||(u="horizontal",k=!0);var C,S="vertical"===u,P=S?E:w,D=S?b:m,T=at(D),M=!1;(k&&(h||f)||!("downward"===c&&D<0||"upward"===c&&D>0||"leftward"===c&&D>0||"rightward"===c&&D<0)||(P=(T*=-1)*Math.abs(P),M=!0),h)?C=(p<0?1+p:p)*P:C=(p<0?P:0)+p*T;var B=function(e){return Math.abs(e)=Math.abs(P)},_=B(C),N=B(Math.abs(P)-Math.abs(C));if((_||N)&&!M)if(S){var I=Math.abs(D)<=a/2,z=Math.abs(m)<=o/2;if(I){var L=(r.x1+r.x2)/2,A=r.y1,O=r.y2;n.segpts=[L,A,L,O]}else if(z){var R=(r.y1+r.y2)/2,V=r.x1,F=r.x2;n.segpts=[V,R,F,R]}else n.segpts=[r.x1,r.y2]}else{var q=Math.abs(D)<=i/2,j=Math.abs(b)<=s/2;if(q){var Y=(r.y1+r.y2)/2,X=r.x1,W=r.x2;n.segpts=[X,Y,W,Y]}else if(j){var H=(r.x1+r.x2)/2,K=r.y1,G=r.y2;n.segpts=[H,K,H,G]}else n.segpts=[r.x2,r.y1]}else if(S){var Z=r.y1+C+(l?a/2*T:0),U=r.x1,$=r.x2;n.segpts=[U,Z,$,Z]}else{var Q=r.x1+C+(l?i/2*T:0),J=r.y1,ee=r.y2;n.segpts=[Q,J,Q,ee]}},Yo.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,d=!y(n.startX)||!y(n.startY),h=!y(n.arrowStartX)||!y(n.arrowStartY),p=!y(n.endX)||!y(n.endY),f=!y(n.arrowEndX)||!y(n.arrowEndY),g=3*(this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth),v=ot({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),m=vh.poolIndex()){var p=d;d=h,h=p}var f=s.srcPos=d.position(),g=s.tgtPos=h.position(),v=s.srcW=d.outerWidth(),m=s.srcH=d.outerHeight(),b=s.tgtW=h.outerWidth(),x=s.tgtH=h.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(d)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(h)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var k=0;k0){var j=u,Y=st(j,nt(t)),X=st(j,nt(q)),W=Y;if(X2)st(j,{x:q[2],y:q[3]})0){var ie=c,ae=st(ie,nt(t)),oe=st(ie,nt(re)),se=ae;if(oe2)st(ie,{x:re[2],y:re[3]})=c||b){d={cp:v,segment:m};break}}if(d)break}var x=d.cp,w=d.segment,E=(c-p)/w.length,k=w.t1-w.t0,C=u?w.t0+k*E:w.t1-k*E;C=dt(0,C,1),t=ct(x.p0,x.p1,x.p2,C),l=function(e,t,n,r){var i=dt(0,r-.001,1),a=dt(0,r+.001,1),o=ct(e,t,n,i),s=ct(e,t,n,a);return Uo(o,s)}(x.p0,x.p1,x.p2,C);break;case"straight":case"segments":case"haystack":for(var S,P,D,T,M=0,B=r.allpts.length,_=0;_+3=c));_+=2);var N=(c-P)/S;N=dt(0,N,1),t=function(e,t,n,r){var i=t.x-e.x,a=t.y-e.y,o=ot(e,t),s=i/o,l=a/o;return n=null==n?0:n,r=null!=r?r:n*o,{x:e.x+s*r,y:e.y+l*r}}(D,T,N),l=Uo(D,T)}o("labelX",s,t.x),o("labelY",s,t.y),o("labelAutoAngle",s,l)}};l("source"),l("target"),this.applyLabelDimensions(e)}},Go.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Go.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=Ne(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=u*a,d=i.width,h=i.height+(l-1)*(a-1)*u;Ie(n.rstyle,"labelWidth",t,d),Ie(n.rscratch,"labelWidth",t,d),Ie(n.rstyle,"labelHeight",t,h),Ie(n.rscratch,"labelHeight",t,h),Ie(n.rscratch,"labelLineHeight",t,c)},Go.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(Ie(n.rscratch,e,t,r),r):Ne(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,d="anywhere"===e.pstyle("text-overflow-wrap").value,h=[],p=/[\s\u200b]+/,f=d?"":" ",g=0;gc){for(var b=v.split(p),x="",w=0;wC)break;S+=i[D],D===i.length-1&&(P=!0)}return P||(S+="…"),S}return i},Go.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Go.calculateLabelDimensions=function(e,t){var n=de(t,e._private.labelDimsKey),r=this.labelDimCache||(this.labelDimCache=[]),i=r[n];if(null!=i)return i;var a=e.pstyle("font-style").strValue,o=e.pstyle("font-size").pfValue,s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,u=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=u.getContext("2d");var d=u.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}c.font="".concat(a," ").concat(l," ").concat(o,"px ").concat(s);for(var h=0,p=0,f=t.split("\n"),g=0;g1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r=e.desktopTapThreshold2}var D=r(t);v&&(e.hoverData.tapholdCancelled=!0);a=!0,n(g,["mousemove","vmousemove","tapdrag"],t,{x:d[0],y:d[1]});var T=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:d[0],y:d[1]}}),f[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(v){var M={originalEvent:t,type:"cxtdrag",position:{x:d[0],y:d[1]}};x?x.emit(M):o.emit(M),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&g===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:d[0],y:d[1]}}),e.hoverData.cxtOver=g,g&&g.emit({originalEvent:t,type:"cxtdragover",position:{x:d[0],y:d[1]}}))}}else if(e.hoverData.dragging){if(a=!0,o.panningEnabled()&&o.userPanningEnabled()){var B;if(e.hoverData.justStartedPan){var _=e.hoverData.mdownPos;B={x:(d[0]-_[0])*s,y:(d[1]-_[1])*s},e.hoverData.justStartedPan=!1}else B={x:w[0]*s,y:w[1]*s};o.panBy(B),o.emit("dragpan"),e.hoverData.dragged=!0}d=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=f[4]||null!=x&&!x.pannable()){if(x&&x.pannable()&&x.active()&&x.unactivate(),x&&x.grabbed()||g==b||(b&&n(b,["mouseout","tapdragout"],t,{x:d[0],y:d[1]}),g&&n(g,["mouseover","tapdragover"],t,{x:d[0],y:d[1]}),e.hoverData.last=g),x)if(v){if(o.boxSelectionEnabled()&&D)x&&x.grabbed()&&(c(E),x.emit("freeon"),E.emit("free"),e.dragData.didDrag&&(x.emit("dragfreeon"),E.emit("dragfree"))),T();else if(x&&x.grabbed()&&e.nodeIsDraggable(x)){var N=!e.dragData.didDrag;N&&e.redrawHint("eles",!0),e.dragData.didDrag=!0;var I=o.collection();e.hoverData.draggingEles||l(E,{inDragLayer:!0});var z={x:0,y:0};if(y(w[0])&&y(w[1])&&(z.x+=w[0],z.y+=w[1],N)){var L=e.hoverData.dragDelta;L&&y(L[0])&&y(L[1])&&(z.x+=L[0],z.y+=L[1])}for(var A=0;A0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=u=a.collection()),l!=d||e.dragData.didDrag||e.hoverData.selecting||null!=l&&l._private.selectable&&(e.hoverData.dragging||("additive"===a.selectionType()||h?l.selected()?l.unselect(["tapunselect"]):l.select(["tapselect"]):h||(a.$(t).unmerge(l).unselect(["tapunselect"]),l.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var g=a.collection(e.getAllInBox(s[0],s[1],s[2],s[3]));e.redrawHint("select",!0),g.length>0&&e.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:i,position:{x:o[0],y:o[1]}});var v=function(e){return e.selectable()&&!e.selected()};"additive"===a.selectionType()||h||a.$(t).unmerge(g).unselect(),g.emit("box").stdFilter(v).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!s[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var y=d&&d.grabbed();c(u),y&&(d.emit("freeon"),u.emit("free"),e.dragData.didDrag&&(d.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1);var b,x,w,E,k,C,S,P,D,T,M,B,_,N=function(t){if(!e.scrollingPage){var n=e.cy,r=n.zoom(),i=n.pan(),a=e.projectIntoViewport(t.clientX,t.clientY),o=[a[0]*r+i.x,a[1]*r+i.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4])t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity,1===t.deltaMode&&(s*=33);var l=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(l=e.gestureStartZoom*t.scale),n.zoom({level:l,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",N,!0),e.registerBinding(window,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||N(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var I,z,L,A,O=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},R=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",I=function(t){if(e.hasTouchStarted=!0,m(t)){h(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var r=e.cy,i=e.touchData.now,a=e.touchData.earlier;if(t.touches[0]){var s=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);i[0]=s[0],i[1]=s[1]}if(t.touches[1]){s=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY);i[2]=s[0],i[3]=s[1]}if(t.touches[2]){s=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY);i[4]=s[0],i[5]=s[1]}if(t.touches[1]){e.touchData.singleTouchMoved=!0,c(e.dragData.touchDragEles);var d=e.findContainerClientCoords();D=d[0],T=d[1],M=d[2],B=d[3],b=t.touches[0].clientX-D,x=t.touches[0].clientY-T,w=t.touches[1].clientX-D,E=t.touches[1].clientY-T,_=0<=b&&b<=M&&0<=w&&w<=M&&0<=x&&x<=B&&0<=E&&E<=B;var p=r.pan(),f=r.zoom();k=O(b,x,w,E),C=R(b,x,w,E),P=[((S=[(b+w)/2,(x+E)/2])[0]-p.x)/f,(S[1]-p.y)/f];if(C<4e4&&!t.touches[2]){var g=e.findNearestElement(i[0],i[1],!0,!0),v=e.findNearestElement(i[2],i[3],!0,!0);return g&&g.isNode()?(g.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=g):v&&v.isNode()?(v.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=v):r.emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])r.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var y=e.findNearestElements(i[0],i[1],!0,!0),N=y[0];if(null!=N&&(N.activate(),e.touchData.start=N,e.touchData.starts=y,e.nodeIsGrabbable(N))){var I=e.dragData.touchDragEles=r.collection(),z=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),N.selected()?(z=r.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),l(z,{addToList:I})):u(N,{addToList:I}),o(N);var L=function(e){return{originalEvent:t,type:e,position:{x:i[0],y:i[1]}}};N.emit(L("grabon")),z?z.forEach((function(e){e.emit(L("grab"))})):N.emit(L("grab"))}n(N,["touchstart","tapstart","vmousedown"],t,{x:i[0],y:i[1]}),null==N&&(e.data.bgActivePosistion={x:s[0],y:s[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||n(e.touchData.start,["taphold"],t,{x:i[0],y:i[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var A=e.touchData.startPosition=[],V=0;V=e.touchTapThreshold2}if(r&&e.touchData.cxt){t.preventDefault();var N=t.touches[0].clientX-D,I=t.touches[0].clientY-T,z=t.touches[1].clientX-D,L=t.touches[1].clientY-T,A=R(N,I,z,L);if(A/C>=2.25||A>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var V={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(V),e.touchData.start=null):o.emit(V)}}if(r&&e.touchData.cxt){V={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}};e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(V):o.emit(V),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var F=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&F===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=F,F&&F.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(r&&t.touches[2]&&o.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,a[4]=1,a&&0!==a.length&&void 0!==a[0]?(a[2]=(s[0]+s[2]+s[4])/3,a[3]=(s[1]+s[3]+s[5])/3):(a[0]=(s[0]+s[2]+s[4])/3,a[1]=(s[1]+s[3]+s[5])/3,a[2]=(s[0]+s[2]+s[4])/3+1,a[3]=(s[1]+s[3]+s[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(r&&t.touches[1]&&!e.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var q=0;q0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(window,"touchcancel",L=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(window,"touchend",A=function(r){var i=e.touchData.start;if(e.touchData.capture){0===r.touches.length&&(e.touchData.capture=!1),r.preventDefault();var a=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,s=e.cy,l=s.zoom(),u=e.touchData.now,d=e.touchData.earlier;if(r.touches[0]){var h=e.projectIntoViewport(r.touches[0].clientX,r.touches[0].clientY);u[0]=h[0],u[1]=h[1]}if(r.touches[1]){h=e.projectIntoViewport(r.touches[1].clientX,r.touches[1].clientY);u[2]=h[0],u[3]=h[1]}if(r.touches[2]){h=e.projectIntoViewport(r.touches[2].clientX,r.touches[2].clientY);u[4]=h[0],u[5]=h[1]}if(i&&i.unactivate(),e.touchData.cxt){if(o={originalEvent:r,type:"cxttapend",position:{x:u[0],y:u[1]}},i?i.emit(o):s.emit(o),!e.touchData.cxtDragged){var p={originalEvent:r,type:"cxttap",position:{x:u[0],y:u[1]}};i?i.emit(p):s.emit(p)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!r.touches[2]&&s.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var f=s.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,e.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:r,position:{x:u[0],y:u[1]}});f.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),f.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=i&&i.unactivate(),r.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(r.touches[1]);else if(r.touches[0]);else if(!r.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var g=e.dragData.touchDragEles;if(null!=i){var v=i._private.grabbed;c(g),e.redrawHint("drag",!0),e.redrawHint("eles",!0),v&&(i.emit("freeon"),g.emit("free"),e.dragData.didDrag&&(i.emit("dragfreeon"),g.emit("dragfree"))),n(i,["touchend","tapend","vmouseup","tapdragout"],r,{x:u[0],y:u[1]}),i.unactivate(),e.touchData.start=null}else{var y=e.findNearestElement(u[0],u[1],!0,!0);n(y,["touchend","tapend","vmouseup","tapdragout"],r,{x:u[0],y:u[1]})}var m=e.touchData.startPosition[0]-u[0],b=m*m,x=e.touchData.startPosition[1]-u[1],w=(b+x*x)*l*l;e.touchData.singleTouchMoved||(i||s.$(":selected").unselect(["tapunselect"]),n(i,["tap","vclick"],r,{x:u[0],y:u[1]})),null!=i&&!e.dragData.didDrag&&i._private.selectable&&w2){for(var T=[u[0],u[1]],M=Math.pow(T[0]-e,2)+Math.pow(T[1]-t,2),B=1;B0)return g[0]}return null},h=Object.keys(c),p=0;p0?l:xt(i,a,e,t,n,r,o)},checkPoint:function(e,t,n,r,i,a,o){var s=Rt(r,i),l=2*s;if(Pt(e,t,this.points,a,o,r,i-l,[0,-1],n))return!0;if(Pt(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!St(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||(!!Mt(e,t,l,l,a+r/2-s,o+i/2-s,n)||!!Mt(e,t,l,l,a-r/2+s,o+i/2-s,n))}}},is.registerNodeShapes=function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",Lt(3,0)),this.generateRoundPolygon("round-triangle",Lt(3,0)),this.generatePolygon("rectangle",Lt(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",Lt(5,0)),this.generateRoundPolygon("round-pentagon",Lt(5,0)),this.generatePolygon("hexagon",Lt(6,0)),this.generateRoundPolygon("round-hexagon",Lt(6,0)),this.generatePolygon("heptagon",Lt(7,0)),this.generateRoundPolygon("round-heptagon",Lt(7,0)),this.generatePolygon("octagon",Lt(8,0)),this.generateRoundPolygon("round-octagon",Lt(8,0));var r=new Array(20),i=Ot(5,0),a=Ot(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s=e.deqFastCost*g)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(f>=e.deqNoDrawCost*(1e3/60))break;var v=e.deq(t,d,c);if(!(v.length>0))break;for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,d,c)&&r())}),i(t))}}},cs=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:be;t(this,e),this.idsByKey=new ze,this.keyForId=new ze,this.cachesByLvl=new ze,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=r}return r(e,[{key:"getIdsFor",value:function(e){null==e&&Ee("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new Ae,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new ze,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),ds={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},hs=Me({getKey:null,doesEleInvalidateKey:be,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:me,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),ps=function(e,t){this.renderer=e,this.onDequeues=[];var n=hs(t);I(this,n),this.lookup=new cs(n.getKey,n.doesEleInvalidateKey),this.setupDequeueing()},fs=ps.prototype;fs.reasons=ds,fs.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},fs.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},fs.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new Fe((function(e,t){return t.reqs-e.reqs}))},fs.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},fs.getElement=function(e,t,n,r,i){var a=this,o=this.renderer,s=o.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!a.allowEdgeTxrCaching&&e.isEdge()||!a.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(it(s*n))),r<-4)r=-4;else if(s>=7.99||r>3)return null;var u=Math.pow(2,r),c=t.h*u,d=t.w*u,h=o.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,h))return null;var p,f=l.get(e,r);if(f&&f.invalidated&&(f.invalidated=!1,f.texture.invalidatedWidth-=f.width),f)return f;if(p=c<=25?25:c<=50?50:50*Math.ceil(c/50),c>1024||d>1024)return null;var g=a.getTextureQueue(p),v=g[g.length-2],y=function(){return a.recycleTexture(p,d)||a.addTexture(p,d)};v||(v=g[g.length-1]),v||(v=y()),v.width-v.usedWidthr;D--)S=a.getElement(e,t,n,D,ds.downscale);P()}else{var T;if(!x&&!w&&!E)for(var M=r-1;M>=-4;M--){var B=l.get(e,M);if(B){T=B;break}}if(b(T))return a.queueElement(e,r),T;v.context.translate(v.usedWidth,0),v.context.scale(u,u),this.drawElement(v.context,e,t,h,!1),v.context.scale(1/u,1/u),v.context.translate(-v.usedWidth,0)}return f={x:v.usedWidth,texture:v,level:r,scale:u,width:d,height:c,scaledLabelShown:h},v.usedWidth+=Math.ceil(d+8),v.eleCaches.push(f),l.set(e,r,f),a.checkTextureFullness(v),f},fs.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},fs.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?Be(t,e):e.fullnessChecks++},fs.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;Be(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,_e(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),Be(r,a),n.push(a),a}},fs.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},fs.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=[],i=this.lookup,a=0;a<1&&t.size()>0;a++){var o=t.pop(),s=o.key,l=o.eles[0],u=i.hasCache(l,o.level);if(n[s]=null,!u){r.push(o);var c=this.getBoundingBox(l);this.getElement(l,c,e,o.level,ds.dequeue)}}return r},fs.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=ye,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},fs.onDequeue=function(e){this.onDequeues.push(e)},fs.offDequeue=function(e){Be(this.onDequeues,e)},fs.setupDequeueing=us({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;r.validateLayersElesOrdering(n,e);var o,s,l=r.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(r.levelIsComplete(n,e))return c;!function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},i=function(e){if(!s)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=c.length-1;a>=0;a--){var o=c[a];o.invalid&&Be(c,o)}}();var d=function(t){var i=(t=t||{}).after;if(function(){if(!o){o=ht();for(var t=0;t16e6)return null;var a=r.makeLayer(o,n);if(null!=i){var s=c.indexOf(i)+1;c.splice(s,0,a)}else(void 0===t.insert||t.insert)&&c.unshift(a);return a};if(r.skipping&&!a)return null;for(var h=null,p=e.length/1,f=!a,g=0;g=p||!bt(h.bb,v.boundingBox()))&&!(h=d({insert:!0,after:h})))return null;s||f?r.queueLayer(h,v):r.drawEleInLayer(h,v,n,t),h.eles.push(v),m[n]=h}}return s||(f?null:c)},vs.getEleLevelForLayerLevel=function(e,t){return e},vs.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0))},vs.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===t.length},vs.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},vs.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=ie(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},vs.invalidateLayer=function(e){if(this.lastInvalidationTime=ie(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];Be(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var i=0;i3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=t._private.rscratch;if((!a||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=a?t.pstyle("opacity").value:1,c=a?t.pstyle("line-opacity").value:1,d=t.pstyle("line-style").value,h=t.pstyle("width").pfValue,p=t.pstyle("line-cap").value,f=u*c,g=u*c,v=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;e.lineWidth=h,e.lineCap=p,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt"},y=function(){i&&o.drawEdgeOverlay(e,t)},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;o.drawArrowheads(e,t,n)},b=function(){o.drawElementText(e,t,null,r)};e.lineJoin="round";var x="yes"===t.pstyle("ghost").value;if(x){var w=t.pstyle("ghost-offset-x").pfValue,E=t.pstyle("ghost-offset-y").pfValue,k=t.pstyle("ghost-opacity").value,C=f*k;e.translate(w,E),v(C),m(C),e.translate(-w,-E)}v(),m(),y(),b(),n&&e.translate(l.x1,l.y1)}},drawEdgeOverlay:function(e,t){if(t.visible()){var n=t.pstyle("overlay-opacity").value;if(0!==n){var r=this,i=r.usePaths(),a=t._private.rscratch,o=2*t.pstyle("overlay-padding").pfValue,s=t.pstyle("overlay-color").value;e.lineWidth=o,"self"!==a.edgeType||i?e.lineCap="round":e.lineCap="butt",r.colorStrokeStyle(e,s[0],s[1],s[2],n),r.drawEdgePath(t,e,a.allpts,"solid")}}},drawEdgePath:function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var d=n.join("$");a.pathCacheKey&&a.pathCacheKey===d?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=d,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var h=2;h+35&&void 0!==arguments[5]?arguments[5]:5;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),e.fill()}Ls.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),r=this.getPixelRatio(),i=Math.ceil(it(n*r));t=Math.pow(2,i)}return!(e.pstyle("font-size").pfValue*t5&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=o.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),d=t.pstyle("source-label"),h=t.pstyle("target-label");if(u||(!c||!c.value)&&(!d||!d.value)&&(!h||!h.value))return;e.textAlign="center",e.textBaseline="bottom"}var p,f=!n;n&&(p=n,e.translate(-p.x1,-p.y1)),null==i?(o.drawText(e,t,null,f,a),t.isEdge()&&(o.drawText(e,t,"source",f,a),o.drawText(e,t,"target",f,a))):o.drawText(e,t,i,f,a),n&&e.translate(p.x1,p.y1)},Ls.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},Ls.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=Ne(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},Ls.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=t._private,o=a.rscratch,s=i?t.effectiveOpacity():1;if(!i||0!==s&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var l,u,c=Ne(o,"labelX",n),d=Ne(o,"labelY",n),h=this.getLabelText(t,n);if(null!=h&&""!==h&&!isNaN(c)&&!isNaN(d)){this.setupTextStyle(e,t,i);var p,f=n?n+"-":"",g=Ne(o,"labelWidth",n),v=Ne(o,"labelHeight",n),y=t.pstyle(f+"text-margin-x").pfValue,m=t.pstyle(f+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle("text-halign").value,w=t.pstyle("text-valign").value;switch(b&&(x="center",w="center"),c+=y,d+=m,0!==(p=r?this.getTextAngle(t,n):0)&&(l=c,u=d,e.translate(l,u),e.rotate(p),c=0,d=0),w){case"top":break;case"center":d+=v/2;break;case"bottom":d+=v}var E=t.pstyle("text-background-opacity").value,k=t.pstyle("text-border-opacity").value,C=t.pstyle("text-border-width").pfValue,S=t.pstyle("text-background-padding").pfValue;if(E>0||C>0&&k>0){var P=c-S;switch(x){case"left":P-=g;break;case"center":P-=g/2}var D=d-v-S,T=g+2*S,M=v+2*S;if(E>0){var B=e.fillStyle,_=t.pstyle("text-background-color").value;e.fillStyle="rgba("+_[0]+","+_[1]+","+_[2]+","+E*s+")";var N=t.pstyle("text-background-shape").strValue;0===N.indexOf("round")?As(e,P,D,T,M,2):e.fillRect(P,D,T,M),e.fillStyle=B}if(C>0&&k>0){var I=e.strokeStyle,z=e.lineWidth,L=t.pstyle("text-border-color").value,A=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+L[0]+","+L[1]+","+L[2]+","+k*s+")",e.lineWidth=C,e.setLineDash)switch(A){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=C/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(P,D,T,M),"double"===A){var O=C/2;e.strokeRect(P+O,D+O,T-2*O,M-2*O)}e.setLineDash&&e.setLineDash([]),e.lineWidth=z,e.strokeStyle=I}}var R=2*t.pstyle("text-outline-width").pfValue;if(R>0&&(e.lineWidth=R),"wrap"===t.pstyle("text-wrap").value){var V=Ne(o,"labelWrapCachedLines",n),F=Ne(o,"labelLineHeight",n),q=g/2,j=this.getLabelJustification(t);switch("auto"===j||("left"===x?"left"===j?c+=-g:"center"===j&&(c+=-q):"center"===x?"left"===j?c+=-q:"right"===j&&(c+=q):"right"===x&&("center"===j?c+=q:"right"===j&&(c+=g))),w){case"top":d-=(V.length-1)*F;break;case"center":case"bottom":d-=(V.length-1)*F}for(var Y=0;Y0&&e.strokeText(V[Y],c,d),e.fillText(V[Y],c,d),d+=F}else R>0&&e.strokeText(h,c,d),e.fillText(h,c,d);0!==p&&(e.rotate(-p),e.translate(-l,-u))}}};var Os={drawNode:function(e,t,n){var r,i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=this,u=t._private,c=u.rscratch,d=t.position();if(y(d.x)&&y(d.y)&&(!s||t.visible())){var h,p,f=s?t.effectiveOpacity():1,g=l.usePaths(),v=!1,m=t.padding();r=t.width()+2*m,i=t.height()+2*m,n&&(p=n,e.translate(-p.x1,-p.y1));for(var b=t.pstyle("background-image"),x=b.value,w=new Array(x.length),E=new Array(x.length),k=0,C=0;C0&&void 0!==arguments[0]?arguments[0]:B;l.eleFillStyle(e,t,n)},L=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;l.colorStrokeStyle(e,_[0],_[1],_[2],t)},A=t.pstyle("shape").strValue,O=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(d.x,d.y);var R=l.nodePathCache=l.nodePathCache||[],V=he("polygon"===A?A+","+O.join(","):A,""+i,""+r),F=R[V];null!=F?(h=F,v=!0,c.pathCache=h):(h=new Path2D,R[V]=c.pathCache=h)}var q=function(){if(!v){var n=d;g&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(h||e,n.x,n.y,r,i)}g?e.fill(h):e.fill()},j=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=u.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;l.hasPie(t)&&(l.drawPie(e,t,a),n&&(g||l.nodeShapes[l.getNodeShape(t)].draw(e,d.x,d.y,r,i)))},X=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,n=(T>0?T:-T)*t,r=T>0?0:255;0!==T&&(l.colorFillStyle(e,r,r,r,n),g?e.fill(h):e.fill())},W=function(){if(M>0){if(e.lineWidth=M,e.lineCap="butt",e.setLineDash)switch(N){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(g?e.stroke(h):e.stroke(),"double"===N){e.lineWidth=M/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(h):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}},H=function(){o&&l.drawNodeOverlay(e,t,d,r,i)},K=function(){l.drawElementText(e,t,null,a)},G="yes"===t.pstyle("ghost").value;if(G){var Z=t.pstyle("ghost-offset-x").pfValue,U=t.pstyle("ghost-offset-y").pfValue,$=t.pstyle("ghost-opacity").value,Q=$*f;e.translate(Z,U),z($*B),q(),j(Q,!0),L($*I),W(),Y(0!==T||0!==M),j(Q,!1),X(Q),e.translate(-Z,-U)}z(),q(),j(f,!0),L(),W(),Y(0!==T||0!==M),j(f,!1),X(),g&&e.translate(-d.x,-d.y),K(),H(),n&&e.translate(p.x1,p.y1)}},drawNodeOverlay:function(e,t,n,r,i){if(t.visible()){var a=t.pstyle("overlay-padding").pfValue,o=t.pstyle("overlay-opacity").value,s=t.pstyle("overlay-color").value;if(o>0){if(n=n||t.position(),null==r||null==i){var l=t.padding();r=t.width()+2*l,i=t.height()+2*l}this.colorFillStyle(e,s[0],s[1],s[2],o),this.nodeShapes.roundrectangle.draw(e,n.x,n.y,r+2*a,i+2*a),e.fill()}}},hasPie:function(e){return(e=e[0])._private.hasPie},drawPie:function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,d=0;this.usePaths()&&(o=0,s=0),"%"===a.units?c*=a.pfValue:void 0!==a.pfValue&&(c=a.pfValue/2);for(var h=1;h<=i.pieBackgroundN;h++){var p=t.pstyle("pie-"+h+"-background-size").value,f=t.pstyle("pie-"+h+"-background-color").value,g=t.pstyle("pie-"+h+"-background-opacity").value*n,v=p/100;v+d>1&&(v=1-d);var y=1.5*Math.PI+2*Math.PI*d,m=y+2*Math.PI*v;0===p||d>=1||d+v>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,c,y,m),e.closePath(),this.colorFillStyle(e,f[0],f[1],f[2],g),e.fill(),d+=v)}}},Rs={};Rs.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},Rs.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!d&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),x=void 0!==i?i:b,w=l.pan(),E={x:w.x,y:w.y},k={zoom:b,pan:{x:w.x,y:w.y}},C=o.prevViewport;void 0===C||k.zoom!==C.zoom||k.pan.x!==C.pan.x||k.pan.y!==C.pan.y||g&&!f||(o.motionBlurPxRatio=1),a&&(E=a),x*=s,E.x*=s,E.y*=s;var S=o.getCachedZSortedEles();function P(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function D(e,r){var s,l,c,d;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=E,l=x,c=o.canvasWidth,d=o.canvasHeight):(s={x:w.x*p,y:w.y*p},l=b*p,c=o.canvasWidth*p,d=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?P(e,0,0,c,d):t||void 0!==r&&!r||e.clearRect(0,0,c,d),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(d||(o.textureDrawLastFrame=!1),d){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var T=o.data.bufferContexts[o.TEXTURE_BUFFER];T.setTransform(1,0,0,1,0,0),T.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:T,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(k=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-k.pan.x)/k.zoom,y:(0-k.pan.y)/k.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var M=u.contexts[o.NODE],B=o.textureCache.texture;k=o.textureCache.viewport;M.setTransform(1,0,0,1,0,0),h?P(M,0,0,k.width,k.height):M.clearRect(0,0,k.width,k.height);var _=m.core("outside-texture-bg-color").value,N=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,_[0],_[1],_[2],N),M.fillRect(0,0,k.width,k.height);b=l.zoom();D(M,!1),M.clearRect(k.mpan.x,k.mpan.y,k.width/k.zoom/s,k.height/k.zoom/s),M.drawImage(B,k.mpan.x,k.mpan.y,k.width/k.zoom/s,k.height/k.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),z=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),L=o.hideEdgesOnViewport&&z,A=[];if(A[o.NODE]=!c[o.NODE]&&h&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,A[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),A[o.DRAG]=!c[o.DRAG]&&h&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,A[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||A[o.NODE]){var O=h&&!A[o.NODE]&&1!==p;D(M=t||(O?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),h&&!O?"motionBlur":void 0),L?o.drawCachedNodes(M,S.nondrag,s,I):o.drawLayeredElements(M,S.nondrag,s,I),o.debug&&o.drawDebugPoints(M,S.nondrag),n||h||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||A[o.DRAG])){O=h&&!A[o.DRAG]&&1!==p;D(M=t||(O?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),h&&!O?"motionBlur":void 0),L?o.drawCachedNodes(M,S.drag,s,I):o.drawCachedElements(M,S.drag,s,I),o.debug&&o.drawDebugPoints(M,S.drag),n||h||(c[o.DRAG]=!1)}if(o.showFps||!r&&c[o.SELECT_BOX]&&!n){if(D(M=t||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){b=o.cy.zoom();var R=m.core("selection-box-border-width").value/b;M.lineWidth=R,M.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",M.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),R>0&&(M.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",M.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){b=o.cy.zoom();var V=u.bgActivePosistion;M.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",M.beginPath(),M.arc(V.x,V.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),M.fill()}var F=o.lastRedrawTime;if(o.showFps&&F){F=Math.round(F);var q=Math.round(1e3/F);M.setTransform(1,0,0,1,0,0),M.fillStyle="rgba(255, 0, 0, 0.75)",M.strokeStyle="rgba(255, 0, 0, 0.75)",M.lineWidth=1,M.fillText("1 frame = "+F+" ms = "+q+" fps",0,20);M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(q/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(h&&1!==p){var j=u.contexts[o.NODE],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],X=u.contexts[o.DRAG],W=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],H=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):P(e,0,0,o.canvasWidth,o.canvasHeight);var r=p;e.drawImage(t,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||A[o.NODE])&&(H(j,Y,A[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||A[o.DRAG])&&(H(X,W,A[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=k,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),h&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!d,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()}),100)),t||l.emit("render")};for(var Vs={drawPolygonPath:function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){h.clearRect(0,0,i,a),h.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)h.translate(-n.x1*l,-n.y1*l),h.scale(l,l),this.drawElements(h,p),h.scale(1/l,1/l),h.translate(n.x1*l,n.y1*l);else{var f=t.pan(),g={x:f.x*l,y:f.y*l};l*=t.zoom(),h.translate(g.x,g.y),h.scale(l,l),this.drawElements(h,p),h.scale(1/l,1/l),h.translate(-g.x,-g.y)}e.bg&&(h.globalCompositeOperation="destination-over",h.fillStyle=e.bg,h.rect(0,0,i,a),h.fill())}return d},Hs.png=function(e){return Gs(e,this.bufferCanvasImage(e),"image/png")},Hs.jpg=function(e){return Gs(e,this.bufferCanvasImage(e),"image/jpeg")};var Zs={nodeShapeImpl:function(e,t,n,r,i,a,o){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,a);case"polygon":return this.drawPolygonPath(t,n,r,i,a,o);case"round-polygon":return this.drawRoundPolygonPath(t,n,r,i,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(t,n,r,i,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(t,n,r,i,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,a);case"barrel":return this.drawBarrelPath(t,n,r,i,a)}}},Us=Qs,$s=Qs.prototype;function Qs(e){var t=this;t.data={canvases:new Array($s.CANVAS_LAYERS),contexts:new Array($s.CANVAS_LAYERS),canvasNeedsRedraw:new Array($s.CANVAS_LAYERS),bufferCanvases:new Array($s.BUFFER_COUNT),bufferContexts:new Array($s.CANVAS_LAYERS)};t.data.canvasContainer=document.createElement("div");var n=t.data.canvasContainer.style;t.data.canvasContainer.style["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",n.position="relative",n.zIndex="0",n.overflow="hidden";var r=e.cy.container();r.appendChild(t.data.canvasContainer),r.style["-webkit-tap-highlight-color"]="rgba(0,0,0,0)";var i={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};s&&s.userAgent.match(/msie|trident|edge/i)&&(i["-ms-touch-action"]="none",i["touch-action"]="none");for(var a=0;a<$s.CANVAS_LAYERS;a++){var o=t.data.canvases[a]=document.createElement("canvas");t.data.contexts[a]=o.getContext("2d"),Object.keys(i).forEach((function(e){o.style[e]=i[e]})),o.style.position="absolute",o.setAttribute("data-id","layer"+a),o.style.zIndex=String($s.CANVAS_LAYERS-a),t.data.canvasContainer.appendChild(o),t.data.canvasNeedsRedraw[a]=!1}t.data.topCanvas=t.data.canvases[0],t.data.canvases[$s.NODE].setAttribute("data-id","layer"+$s.NODE+"-node"),t.data.canvases[$s.SELECT_BOX].setAttribute("data-id","layer"+$s.SELECT_BOX+"-selectbox"),t.data.canvases[$s.DRAG].setAttribute("data-id","layer"+$s.DRAG+"-drag");for(a=0;a<$s.BUFFER_COUNT;a++)t.data.bufferCanvases[a]=document.createElement("canvas"),t.data.bufferContexts[a]=t.data.bufferCanvases[a].getContext("2d"),t.data.bufferCanvases[a].style.position="absolute",t.data.bufferCanvases[a].setAttribute("data-id","buffer"+a),t.data.bufferCanvases[a].style.zIndex=String(-a-1),t.data.bufferCanvases[a].style.visibility="hidden";t.pathsEnabled=!0;var l=ht(),u=function(e){return{x:-e.w/2,y:-e.h/2}},c=function(e){return e.boundingBox(),e[0]._private.bodyBounds},d=function(e){return e.boundingBox(),e[0]._private.labelBounds.main||l},h=function(e){return e.boundingBox(),e[0]._private.labelBounds.source||l},p=function(e){return e.boundingBox(),e[0]._private.labelBounds.target||l},f=function(e,t){return t},g=function(e,t,n){var r=e?e+"-":"";return{x:t.x+n.pstyle(r+"text-margin-x").pfValue,y:t.y+n.pstyle(r+"text-margin-y").pfValue}},v=function(e,t,n){var r=e[0]._private.rscratch;return{x:r[t],y:r[n]}},y=t.data.eleTxrCache=new ps(t,{getKey:function(e){return e[0]._private.nodeKey},doesEleInvalidateKey:function(e){var t=e[0]._private;return!(t.oldBackgroundTimestamp===t.backgroundTimestamp)},drawElement:function(e,n,r,i,a){return t.drawElement(e,n,r,!1,!1,a)},getBoundingBox:c,getRotationPoint:function(e){return{x:((t=c(e)).x1+t.x2)/2,y:(t.y1+t.y2)/2};var t},getRotationOffset:function(e){return u(c(e))},allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),m=t.data.lblTxrCache=new ps(t,{getKey:function(e){return e[0]._private.labelStyleKey},drawElement:function(e,n,r,i,a){return t.drawElementText(e,n,r,i,"main",a)},getBoundingBox:d,getRotationPoint:function(e){return g("",v(e,"labelX","labelY"),e)},getRotationOffset:function(e){var t=d(e),n=u(d(e));if(e.isNode()){switch(e.pstyle("text-halign").value){case"left":n.x=-t.w;break;case"right":n.x=0}switch(e.pstyle("text-valign").value){case"top":n.y=-t.h;break;case"bottom":n.y=0}}return n},isVisible:f}),b=t.data.slbTxrCache=new ps(t,{getKey:function(e){return e[0]._private.sourceLabelStyleKey},drawElement:function(e,n,r,i,a){return t.drawElementText(e,n,r,i,"source",a)},getBoundingBox:h,getRotationPoint:function(e){return g("source",v(e,"sourceLabelX","sourceLabelY"),e)},getRotationOffset:function(e){return u(h(e))},isVisible:f}),x=t.data.tlbTxrCache=new ps(t,{getKey:function(e){return e[0]._private.targetLabelStyleKey},drawElement:function(e,n,r,i,a){return t.drawElementText(e,n,r,i,"target",a)},getBoundingBox:p,getRotationPoint:function(e){return g("target",v(e,"targetLabelX","targetLabelY"),e)},getRotationOffset:function(e){return u(p(e))},isVisible:f}),w=t.data.lyrTxrCache=new gs(t);t.onUpdateEleCalcs((function(e,t){y.invalidateElements(t),m.invalidateElements(t),b.invalidateElements(t),x.invalidateElements(t),w.invalidateElements(t);for(var n=0;nc.length)&&(l=c.length);for(var s=0,a=new Array(l);sc.length)&&(l=c.length);for(var s=0,a=new Array(l);sc.length)&&(l=c.length);for(var s=0,a=new Array(l);sc.length)&&(l=c.length);for(var s=0,a=new Array(l);s>>0;s--;)l[s]=c[s];return l}function a1(c){return c.classList?s1(c.classList):(c.getAttribute("class")||"").split(" ").filter(function(c){return c})}function z1(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function e1(s){return Object.keys(s||{}).reduce(function(c,l){return c+"".concat(l,": ").concat(s[l].trim(),";")},"")}function H1(c){return c.size!==J.size||c.x!==J.x||c.y!==J.y||c.rotate!==J.rotate||c.flipX||c.flipY}function t1(){var c,l,s=b,a=Q.cssPrefix,z=Q.replacementClass,e=':host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Solid";--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Regular";--fa-font-light:normal 300 1em/1 "Font Awesome 6 Light";--fa-font-thin:normal 100 1em/1 "Font Awesome 6 Thin";--fa-font-duotone:normal 900 1em/1 "Font Awesome 6 Duotone";--fa-font-sharp-solid:normal 900 1em/1 "Font Awesome 6 Sharp";--fa-font-sharp-regular:normal 400 1em/1 "Font Awesome 6 Sharp";--fa-font-sharp-light:normal 300 1em/1 "Font Awesome 6 Sharp";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}svg:not(:host).svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible;box-sizing:content-box}.svg-inline--fa{display:var(--fa-display,inline-block);height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-2xs{vertical-align:.1em}.svg-inline--fa.fa-xs{vertical-align:0}.svg-inline--fa.fa-sm{vertical-align:-.0714285705em}.svg-inline--fa.fa-lg{vertical-align:-.2em}.svg-inline--fa.fa-xl{vertical-align:-.25em}.svg-inline--fa.fa-2xl{vertical-align:-.3125em}.svg-inline--fa.fa-pull-left{margin-right:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-pull-right{margin-left:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-li{width:var(--fa-li-width,2em);top:.25em}.svg-inline--fa.fa-fw{width:var(--fa-fw-width,1.25em)}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:var(--fa-counter-background-color,#ff253a);border-radius:var(--fa-counter-border-radius,1em);box-sizing:border-box;color:var(--fa-inverse,#fff);line-height:var(--fa-counter-line-height,1);max-width:var(--fa-counter-max-width,5em);min-width:var(--fa-counter-min-width,1.5em);overflow:hidden;padding:var(--fa-counter-padding,.25em .5em);right:var(--fa-right,0);text-overflow:ellipsis;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-counter-scale,.25));transform:scale(var(--fa-counter-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:var(--fa-bottom,0);right:var(--fa-right,0);top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:var(--fa-bottom,0);left:var(--fa-left,0);right:auto;top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{top:var(--fa-top,0);right:var(--fa-right,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:var(--fa-left,0);right:auto;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top left;transform-origin:top left}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.0833333337em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.0714285718em;vertical-align:.0535714295em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.0416666682em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width,2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-color:var(--fa-border-color,#eee);border-radius:var(--fa-border-radius,.1em);border-style:var(--fa-border-style,solid);border-width:var(--fa-border-width,.08em);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}100%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}100%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,100%{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,100%{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;vertical-align:middle;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;z-index:var(--fa-stack-z-index,auto)}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:var(--fa-inverse,#fff)}.fa-sr-only,.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fa-sr-only-focusable:not(:focus),.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor);opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fa-duotone.fa-inverse,.fad.fa-inverse{color:var(--fa-inverse,#fff)}';return"fa"===a&&z===s||(c=new RegExp("\\.".concat("fa","\\-"),"g"),l=new RegExp("\\--".concat("fa","\\-"),"g"),s=new RegExp("\\.".concat(s),"g"),e=e.replace(c,".".concat(a,"-")).replace(l,"--".concat(a,"-")).replace(s,".".concat(z))),e}var V1=!1;function r1(){Q.autoAddCss&&!V1&&(function(c){if(c&&L){var l=C.createElement("style");l.setAttribute("type","text/css"),l.innerHTML=c;for(var s=C.head.childNodes,a=null,z=s.length-1;-1").concat(a.map(o1).join(""),"")}function f1(c,l,s){if(c&&c[l]&&c[l][s])return{prefix:l,iconName:s,icon:c[l][s]}}L&&((i1=(C.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(C.readyState))||C.addEventListener("DOMContentLoaded",M1));function v1(c,l,s,a){for(var z,e,H=Object.keys(c),t=H.length,V=void 0!==a?C1(l,a):l,r=void 0===s?(z=1,c[H[0]]):(z=0,s);zl&&(t=i-l+(o=" ... ").length),n-i>l&&(n=i+l-(a=" ...").length),{str:o+e.slice(t,n).replace(/\t/g,"→")+a,pos:i-t+o.length}}function l(e,t){return n.repeat(" ",t-e.length)+e}var c=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var i,r=/\r?\n|\r|\0/g,o=[0],c=[],s=-1;i=r.exec(e.buffer);)c.push(i.index),o.push(i.index+i[0].length),e.position<=i.index&&s<0&&(s=o.length-2);s<0&&(s=o.length-1);var u,p,f="",d=Math.min(e.line+t.linesAfter,c.length).toString().length,h=t.maxLength-(t.indent+d+3);for(u=1;u<=t.linesBefore&&!(s-u<0);u++)p=a(e.buffer,o[s-u],c[s-u],e.position-(o[s]-o[s-u]),h),f=n.repeat(" ",t.indent)+l((e.line-u+1).toString(),d)+" | "+p.str+"\n"+f;for(p=a(e.buffer,o[s],c[s],e.position,h),f+=n.repeat(" ",t.indent)+l((e.line+1).toString(),d)+" | "+p.str+"\n",f+=n.repeat("-",t.indent+d+3+p.pos)+"^\n",u=1;u<=t.linesAfter&&!(s+u>=c.length);u++)p=a(e.buffer,o[s+u],c[s+u],e.position-(o[s]-o[s+u]),h),f+=n.repeat(" ",t.indent)+l((e.line+u+1).toString(),d)+" | "+p.str+"\n";return f.replace(/\n$/,"")},s=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],u=["scalar","sequence","mapping"];var p=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===s.indexOf(t))throw new o('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===u.indexOf(this.kind))throw new o('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function f(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,i){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=i)})),n[t]=e})),n}function d(e){return this.extend(e)}d.prototype.extend=function(e){var t=[],n=[];if(e instanceof p)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new o("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof p))throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new o("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(e){if(!(e instanceof p))throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var i=Object.create(d.prototype);return i.implicit=(this.implicit||[]).concat(t),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=f(i,"implicit"),i.compiledExplicit=f(i,"explicit"),i.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),x=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var I=/^[-+]?[0-9]+e/;var S=new p("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!x.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||n.isNegativeZero(e))},represent:function(e,t){var i;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(n.isNegativeZero(e))return"-0.0";return i=e.toString(10),I.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"}),O=b.extend({implicit:[A,v,C,S]}),j=O,T=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),N=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var F=new p("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==T.exec(e)||null!==N.exec(e))},construct:function(e){var t,n,i,r,o,a,l,c,s=0,u=null;if(null===(t=T.exec(e))&&(t=N.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,i,r));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(s=t[7].slice(0,3);s.length<3;)s+="0";s=+s}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),c=new Date(Date.UTC(n,i,r,o,a,l,s)),u&&c.setTime(c.getTime()-u),c},instanceOf:Date,represent:function(e){return e.toISOString()}});var E=new p("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var L=new p("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=0,r=e.length,o=M;for(n=0;n64)){if(t<0)return!1;i+=6}return i%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=M,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(255&a)),a=a<<6|o.indexOf(i.charAt(t));return 0===(n=r%4*6)?(l.push(a>>16&255),l.push(a>>8&255),l.push(255&a)):18===n?(l.push(a>>10&255),l.push(a>>2&255)):12===n&&l.push(a>>4&255),new Uint8Array(l)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,i="",r=0,o=e.length,a=M;for(t=0;t>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+e[t];return 0===(n=o%3)?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}}),_=Object.prototype.hasOwnProperty,D=Object.prototype.toString;var U=new p("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,r,o,a=[],l=e;for(t=0,n=l.length;t>10),56320+(e-65536&1023))}for(var ie=new Array(256),re=new Array(256),oe=0;oe<256;oe++)ie[oe]=te(oe)?1:0,re[oe]=te(oe);function ae(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||K,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function le(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=c(n),new o(t,n)}function ce(e,t){throw le(e,t)}function se(e,t){e.onWarning&&e.onWarning.call(null,le(e,t))}var ue={YAML:function(e,t,n){var i,r,o;null!==e.version&&ce(e,"duplication of %YAML directive"),1!==n.length&&ce(e,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&ce(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&ce(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&se(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&ce(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],G.test(i)||ce(e,"ill-formed tag handle (first argument) of the TAG directive"),P.call(e.tagMap,i)&&ce(e,'there is a previously declared suffix for "'+i+'" tag handle'),V.test(r)||ce(e,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(t){ce(e,"tag prefix is malformed: "+r)}e.tagMap[i]=r}};function pe(e,t,n,i){var r,o,a,l;if(t1&&(e.result+=n.repeat("\n",t-1))}function be(e,t){var n,i,r=e.tag,o=e.anchor,a=[],l=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,ce(e,"tab characters must not be used in indentation")),45===i)&&z(e.input.charCodeAt(e.position+1));)if(l=!0,e.position++,ge(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,we(e,t,3,!1,!0),a.push(e.result),ge(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)ce(e,"bad indentation of a sequence entry");else if(e.lineIndentt?g=1:e.lineIndent===t?g=0:e.lineIndentt?g=1:e.lineIndent===t?g=0:e.lineIndentt)&&(y&&(a=e.line,l=e.lineStart,c=e.position),we(e,t,4,!0,r)&&(y?g=e.result:m=e.result),y||(de(e,f,d,h,g,m,a,l,c),h=g=m=null),ge(e,!0,-1),s=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&0!==s)ce(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===o?ce(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?ce(e,"repeat of an indentation width identifier"):(p=t+o-1,u=!0)}if(Q(a)){do{a=e.input.charCodeAt(++e.position)}while(Q(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!J(a)&&0!==a)}for(;0!==a;){for(he(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!u||e.lineIndentp&&(p=e.lineIndent),J(a))f++;else{if(e.lineIndent0){for(r=a,o=0;r>0;r--)(a=ee(l=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:ce(e,"expected hexadecimal character");e.result+=ne(o),e.position++}else ce(e,"unknown escape sequence");n=i=e.position}else J(l)?(pe(e,n,i,!0),ye(e,ge(e,!1,t)),n=i=e.position):e.position===e.lineStart&&me(e)?ce(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}ce(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?y=!0:!function(e){var t,n,i;if(42!==(i=e.input.charCodeAt(e.position)))return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!z(i)&&!X(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&ce(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),P.call(e.anchorMap,n)||ce(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],ge(e,!0,-1),!0}(e)?function(e,t,n){var i,r,o,a,l,c,s,u,p=e.kind,f=e.result;if(z(u=e.input.charCodeAt(e.position))||X(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(z(i=e.input.charCodeAt(e.position+1))||n&&X(i)))return!1;for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==u;){if(58===u){if(z(i=e.input.charCodeAt(e.position+1))||n&&X(i))break}else if(35===u){if(z(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&me(e)||n&&X(u))break;if(J(u)){if(l=e.line,c=e.lineStart,s=e.lineIndent,ge(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=o,e.line=l,e.lineStart=c,e.lineIndent=s;break}}a&&(pe(e,r,o,!1),ye(e,e.line-l),r=o=e.position,a=!1),Q(u)||(o=e.position+1),u=e.input.charCodeAt(++e.position)}return pe(e,r,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,d,1===i)&&(y=!0,null===e.tag&&(e.tag="?")):(y=!0,null===e.tag&&null===e.anchor||ce(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===g&&(y=c&&be(e,h))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&ce(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),s=0,u=e.implicitTypes.length;s"),null!==e.result&&f.kind!==e.kind&&ce(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):ce(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||y}function ke(e){var t,n,i,r,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(r=e.input.charCodeAt(e.position))&&(ge(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){for(a=!0,r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!z(r);)r=e.input.charCodeAt(++e.position);for(i=[],(n=e.input.slice(t,e.position)).length<1&&ce(e,"directive name must not be less than one character in length");0!==r;){for(;Q(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!J(r));break}if(J(r))break;for(t=e.position;0!==r&&!z(r);)r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&he(e),P.call(ue,n)?ue[n](e,n,i):se(e,'unknown document directive "'+n+'"')}ge(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,ge(e,!0,-1)):a&&ce(e,"directives end mark is expected"),we(e,e.lineIndent-1,4,!1,!0),ge(e,!0,-1),e.checkLineBreaks&&H.test(e.input.slice(o,e.position))&&se(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&me(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,ge(e,!0,-1)):e.position=55296&&i<=56319&&t+1=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i}function Re(e){return/^\n* /.test(e)}function Be(e,t,n,i,r,o,a,l){var c,s,u=0,p=null,f=!1,d=!1,h=-1!==i,g=-1,m=De(s=Ye(e,0))&&s!==Oe&&!_e(s)&&45!==s&&63!==s&&58!==s&&44!==s&&91!==s&&93!==s&&123!==s&&125!==s&&35!==s&&38!==s&&42!==s&&33!==s&&124!==s&&61!==s&&62!==s&&39!==s&&34!==s&&37!==s&&64!==s&&96!==s&&function(e){return!_e(e)&&58!==e}(Ye(e,e.length-1));if(t||a)for(c=0;c=65536?c+=2:c++){if(!De(u=Ye(e,c)))return 5;m=m&&qe(u,p,l),p=u}else{for(c=0;c=65536?c+=2:c++){if(10===(u=Ye(e,c)))f=!0,h&&(d=d||c-g-1>i&&" "!==e[g+1],g=c);else if(!De(u))return 5;m=m&&qe(u,p,l),p=u}d=d||h&&c-g-1>i&&" "!==e[g+1]}return f||d?n>9&&Re(e)?5:a?2===o?5:2:d?4:3:!m||a||r(e)?2===o?5:2:1}function Ke(e,t,n,i,r){e.dump=function(){if(0===t.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==Te.indexOf(t)||Ne.test(t)))return 2===e.quotingType?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),l=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),c=i||e.flowLevel>-1&&n>=e.flowLevel;switch(Be(t,c,e.indent,l,(function(t){return function(e,t){var n,i;for(n=0,i=e.implicitTypes.length;n"+Pe(t,e.indent)+We(Me(function(e,t){var n,i,r=/(\n+)([^\n]*)/g,o=(l=e.indexOf("\n"),l=-1!==l?l:e.length,r.lastIndex=l,He(e.slice(0,l),t)),a="\n"===e[0]||" "===e[0];var l;for(;i=r.exec(e);){var c=i[1],s=i[2];n=" "===s[0],o+=c+(a||n||""===s?"":"\n")+He(s,t),a=n}return o}(t,l),a));case 5:return'"'+function(e){for(var t,n="",i=0,r=0;r=65536?r+=2:r++)i=Ye(e,r),!(t=je[i])&&De(i)?(n+=e[r],i>=65536&&(n+=e[r+1])):n+=t||Fe(i);return n}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function Pe(e,t){var n=Re(e)?String(t):"",i="\n"===e[e.length-1];return n+(i&&("\n"===e[e.length-2]||"\n"===e)?"+":i?"":"-")+"\n"}function We(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function He(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,l=0,c="";n=r.exec(e);)(l=n.index)-o>t&&(i=a>o?a:l,c+="\n"+e.slice(o,i),o=i+1),a=l;return c+="\n",e.length-o>t&&a>o?c+=e.slice(o,a)+"\n"+e.slice(a+1):c+=e.slice(o),c.slice(1)}function $e(e,t,n,i){var r,o,a,l="",c=e.tag;for(r=0,o=n.length;r tag resolver accepts not "'+s+'" style');i=c.represent[s](t,s)}e.dump=i}return!0}return!1}function Ve(e,t,n,i,r,a,l){e.tag=null,e.dump=n,Ge(e,n,!1)||Ge(e,n,!0);var c,s=Ie.call(e.dump),u=i;i&&(i=e.flowLevel<0||e.flowLevel>t);var p,f,d="[object Object]"===s||"[object Array]"===s;if(d&&(f=-1!==(p=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&t>0)&&(r=!1),f&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(d&&f&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===s)i&&0!==Object.keys(e.dump).length?(!function(e,t,n,i){var r,a,l,c,s,u,p="",f=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(r=0,a=d.length;r1024)&&(e.dump&&10===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,s&&(u+=Le(e,t)),Ve(e,t+1,c,!0,s)&&(e.dump&&10===e.dump.charCodeAt(0)?u+=":":u+=": ",p+=u+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,r),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var i,r,o,a,l,c="",s=e.tag,u=Object.keys(n);for(i=0,r=u.length;i1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ve(e,t,a,!1,!1)&&(c+=l+=e.dump));e.tag=s,e.dump="{"+c+"}"}(e,t,e.dump),f&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===s)i&&0!==e.dump.length?(e.noArrayIndent&&!l&&t>0?$e(e,t-1,e.dump,r):$e(e,t,e.dump,r),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var i,r,o,a="",l=e.tag;for(i=0,r=n.length;i",e.dump=c+" "+e.dump)}return!0}function Ze(e,t){var n,i,r=[],o=[];for(Je(e,r,o),n=0,i=o.length;nt&&!o||!u||r&&!i&&f||e&&f)return 1;if(n=n&&9<=n&&13>=n||32==n||160==n||5760==n||6158==n||8192<=n&&(8202>=n||8232==n||8233==n||8239==n||8287==n||12288==n||65279==n); + }function v(n,t){for(var r=-1,e=n.length,u=-1,o=[];++r=F&&gu&&lu?new Dn(t):null,c=t.length;a&&(i=Mn,f=false,t=a);n:for(;++oi(t,a,0)&&u.push(a);return u}function at(n,t){var r=true;return Su(n,function(n,e,u){return r=!!t(n,e,u)}),r}function ct(n,t,r,e){var u=e,o=u;return Su(n,function(n,i,f){i=+t(n,i,f),(r(i,u)||i===e&&i===o)&&(u=i, + o=n)}),o}function lt(n,t){var r=[];return Su(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function st(n,t,r,e){var u;return r(n,function(n,r,o){return t(n,r,o)?(u=e?r:n,false):void 0}),u}function pt(n,t,r,e){e||(e=[]);for(var u=-1,o=n.length;++ut&&(t=-t>u?0:u+t),r=r===w||r>u?u:+r||0,0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=Be(u);++e=c)break n;o=e[o],u*="asc"===o||true===o?1:-1;break n}u=t.b-r.b}return u})}function $t(n,t){ + var r=0;return Su(n,function(n,e,u){r+=+t(n,e,u)||0}),r}function St(n,t){var e=-1,u=xr(),o=n.length,i=u==r,f=i&&o>=F,a=f&&gu&&lu?new Dn(void 0):null,c=[];a?(u=Mn,i=false):(f=false,a=t?[]:c);n:for(;++eu(a,s,0)&&((t||f)&&a.push(s),c.push(l))}return c}function Ft(n,t){for(var r=-1,e=t.length,u=Be(e);++r>>1,i=n[o];(r?i<=t:iu?w:o,u=1);++e=F)return t.plant(e).value();for(var u=0,n=r?o[u].apply(this,n):e;++uarguments.length;return typeof e=="function"&&o===w&&Oo(r)?n(r,e,u,i):Ot(r,wr(e,o,4),u,i,t)}}function sr(n,t,r,e,u,o,i,f,a,c){function l(){for(var m=arguments.length,b=m,j=Be(m);b--;)j[b]=arguments[b];if(e&&(j=Mt(j,e,u)),o&&(j=qt(j,o,i)),_||y){var b=l.placeholder,k=v(j,b),m=m-k.length;if(mt?0:t)):[]}function Pr(n,t,r){var e=n?n.length:0;return e?((r?Ur(n,t,r):null==t)&&(t=1),t=e-(+t||0),Et(n,0,0>t?0:t)):[]}function Kr(n){return n?n[0]:w}function Vr(n,t,e){var u=n?n.length:0;if(!u)return-1;if(typeof e=="number")e=0>e?bu(u+e,0):e;else if(e)return e=Lt(n,t), + er?bu(u+r,0):r||0,typeof n=="string"||!Oo(n)&&be(n)?r<=u&&-1t?0:+t||0,e);++r=n&&(t=w),r}}function ae(n,t,r){function e(t,r){r&&iu(r),a=p=h=w,t&&(_=ho(),c=n.apply(s,f),p||a||(f=s=w))}function u(){var n=t-(ho()-l);0>=n||n>t?e(h,a):p=su(u,n)}function o(){e(g,p); + }function i(){if(f=arguments,l=ho(),s=this,h=g&&(p||!y),false===v)var r=y&&!p;else{a||y||(_=l);var e=v-(l-_),i=0>=e||e>v;i?(a&&(a=iu(a)),_=l,c=n.apply(s,f)):a||(a=su(o,e))}return i&&p?p=iu(p):p||t===v||(p=su(u,t)),r&&(i=true,c=n.apply(s,f)),!i||p||a||(f=s=w),c}var f,a,c,l,s,p,h,_=0,v=false,g=true;if(typeof n!="function")throw new Ge(L);if(t=0>t?0:+t||0,true===r)var y=true,g=false;else ge(r)&&(y=!!r.leading,v="maxWait"in r&&bu(+r.maxWait||0,t),g="trailing"in r?!!r.trailing:g);return i.cancel=function(){p&&iu(p),a&&iu(a), + _=0,a=p=h=w},i}function ce(n,t){function r(){var e=arguments,u=t?t.apply(this,e):e[0],o=r.cache;return o.has(u)?o.get(u):(e=n.apply(this,e),r.cache=o.set(u,e),e)}if(typeof n!="function"||t&&typeof t!="function")throw new Ge(L);return r.cache=new ce.Cache,r}function le(n,t){if(typeof n!="function")throw new Ge(L);return t=bu(t===w?n.length-1:+t||0,0),function(){for(var r=arguments,e=-1,u=bu(r.length-t,0),o=Be(u);++et}function pe(n){return h(n)&&Er(n)&&nu.call(n,"callee")&&!cu.call(n,"callee")}function he(n,t,r,e){return e=(r=typeof r=="function"?Bt(r,e,3):w)?r(n,t):w,e===w?dt(n,t,r):!!e}function _e(n){return h(n)&&typeof n.message=="string"&&ru.call(n)==P}function ve(n){return ge(n)&&ru.call(n)==K}function ge(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}function ye(n){ + return null==n?false:ve(n)?uu.test(Qe.call(n)):h(n)&&Rn.test(n)}function de(n){return typeof n=="number"||h(n)&&ru.call(n)==V}function me(n){var t;if(!h(n)||ru.call(n)!=Z||pe(n)||!(nu.call(n,"constructor")||(t=n.constructor,typeof t!="function"||t instanceof t)))return false;var r;return ht(n,function(n,t){r=t}),r===w||nu.call(n,r)}function we(n){return ge(n)&&ru.call(n)==Y}function be(n){return typeof n=="string"||h(n)&&ru.call(n)==G}function xe(n){return h(n)&&Sr(n.length)&&!!Sn[ru.call(n)]}function Ae(n,t){ + return nt||!n||!mu(t))return r;do t%2&&(r+=n),t=yu(t/2),n+=n;while(t);return r}function We(n,t,r){var e=n;return(n=u(n))?(r?Ur(e,t,r):null==t)?n.slice(g(n),y(n)+1):(t+="",n.slice(o(n,t),i(n,t)+1)):n}function $e(n,t,r){return r&&Ur(n,t,r)&&(t=w),n=u(n),n.match(t||Wn)||[]}function Se(n,t,r){return r&&Ur(n,t,r)&&(t=w),h(n)?Ne(n):ut(n,t)}function Fe(n){ + return n}function Ne(n){return bt(ot(n,true))}function Te(n,t,r){if(null==r){var e=ge(t),u=e?zo(t):w;((u=u&&u.length?gt(t,u):w)?u.length:e)||(u=false,r=t,t=n,n=this)}u||(u=gt(t,zo(t)));var o=true,e=-1,i=ve(n),f=u.length;false===r?o=false:ge(r)&&"chain"in r&&(o=r.chain);for(;++e=$)return r}else n=0;return Lu(r,e)}}(),Mu=le(function(n,t){ + return h(n)&&Er(n)?ft(n,pt(t,false,true)):[]}),qu=tr(),Pu=tr(true),Ku=le(function(n){for(var t=n.length,e=t,u=Be(l),o=xr(),i=o==r,f=[];e--;){var a=n[e]=Er(a=n[e])?a:[];u[e]=i&&120<=a.length&&gu&&lu?new Dn(e&&a):null}var i=n[0],c=-1,l=i?i.length:0,s=u[0];n:for(;++c(s?Mn(s,a):o(f,a,0))){for(e=t;--e;){var p=u[e];if(0>(p?Mn(p,a):o(n[e],a,0)))continue n}s&&s.push(a),f.push(a)}return f}),Vu=le(function(t,r){r=pt(r);var e=rt(t,r);return It(t,r.sort(n)),e}),Zu=vr(),Yu=vr(true),Gu=le(function(n){return St(pt(n,false,true)); + }),Ju=le(function(n,t){return Er(n)?ft(n,t):[]}),Xu=le(Jr),Hu=le(function(n){var t=n.length,r=2--n?t.apply(this,arguments):void 0}},Nn.ary=function(n,t,r){return r&&Ur(n,t,r)&&(t=w),t=n&&null==t?n.length:bu(+t||0,0),gr(n,E,w,w,w,w,t)},Nn.assign=Co,Nn.at=no,Nn.before=fe,Nn.bind=_o,Nn.bindAll=vo,Nn.bindKey=go,Nn.callback=Se,Nn.chain=Qr,Nn.chunk=function(n,t,r){t=(r?Ur(n,t,r):null==t)?1:bu(yu(t)||1,1),r=0;for(var e=n?n.length:0,u=-1,o=Be(vu(e/t));rr&&(r=-r>u?0:u+r),e=e===w||e>u?u:+e||0,0>e&&(e+=u),u=r>e?0:e>>>0,r>>>=0;rt?0:t)):[]},Nn.takeRight=function(n,t,r){var e=n?n.length:0;return e?((r?Ur(n,t,r):null==t)&&(t=1),t=e-(+t||0),Et(n,0>t?0:t)):[]},Nn.takeRightWhile=function(n,t,r){ + return n&&n.length?Nt(n,wr(t,r,3),false,true):[]},Nn.takeWhile=function(n,t,r){return n&&n.length?Nt(n,wr(t,r,3)):[]},Nn.tap=function(n,t,r){return t.call(r,n),n},Nn.throttle=function(n,t,r){var e=true,u=true;if(typeof n!="function")throw new Ge(L);return false===r?e=false:ge(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),ae(n,t,{leading:e,maxWait:+t,trailing:u})},Nn.thru=ne,Nn.times=function(n,t,r){if(n=yu(n),1>n||!mu(n))return[];var e=-1,u=Be(xu(n,4294967295));for(t=Bt(t,r,1);++ee?u[e]=t(e):t(e); + return u},Nn.toArray=je,Nn.toPlainObject=ke,Nn.transform=function(n,t,r,e){var u=Oo(n)||xe(n);return t=wr(t,e,4),null==r&&(u||ge(n)?(e=n.constructor,r=u?Oo(n)?new e:[]:$u(ve(e)?e.prototype:w)):r={}),(u?Pn:_t)(n,function(n,e,u){return t(r,n,e,u)}),r},Nn.union=Gu,Nn.uniq=Gr,Nn.unzip=Jr,Nn.unzipWith=Xr,Nn.values=Ee,Nn.valuesIn=function(n){return Ft(n,Re(n))},Nn.where=function(n,t){return re(n,bt(t))},Nn.without=Ju,Nn.wrap=function(n,t){return t=null==t?Fe:t,gr(t,R,w,[n],[])},Nn.xor=function(){for(var n=-1,t=arguments.length;++nr?0:+r||0,e),r-=t.length,0<=r&&n.indexOf(t,r)==r},Nn.escape=function(n){return(n=u(n))&&hn.test(n)?n.replace(sn,c):n},Nn.escapeRegExp=function(n){return(n=u(n))&&bn.test(n)?n.replace(wn,l):n||"(?:)"},Nn.every=te,Nn.find=ro,Nn.findIndex=qu,Nn.findKey=$o,Nn.findLast=eo, + Nn.findLastIndex=Pu,Nn.findLastKey=So,Nn.findWhere=function(n,t){return ro(n,bt(t))},Nn.first=Kr,Nn.floor=ni,Nn.get=function(n,t,r){return n=null==n?w:yt(n,Dr(t),t+""),n===w?r:n},Nn.gt=se,Nn.gte=function(n,t){return n>=t},Nn.has=function(n,t){if(null==n)return false;var r=nu.call(n,t);if(!r&&!Wr(t)){if(t=Dr(t),n=1==t.length?n:yt(n,Et(t,0,-1)),null==n)return false;t=Zr(t),r=nu.call(n,t)}return r||Sr(n.length)&&Cr(t,n.length)&&(Oo(n)||pe(n))},Nn.identity=Fe,Nn.includes=ee,Nn.indexOf=Vr,Nn.inRange=function(n,t,r){ + return t=+t||0,r===w?(r=t,t=0):r=+r||0,n>=xu(t,r)&&nr?bu(e+r,0):xu(r||0,e-1))+1;else if(r)return u=Lt(n,t,true)-1,n=n[u],(t===t?t===n:n!==n)?u:-1; + if(t!==t)return p(n,u,true);for(;u--;)if(n[u]===t)return u;return-1},Nn.lt=Ae,Nn.lte=function(n,t){return n<=t},Nn.max=ti,Nn.min=ri,Nn.noConflict=function(){return Zn._=eu,this},Nn.noop=Le,Nn.now=ho,Nn.pad=function(n,t,r){n=u(n),t=+t;var e=n.length;return er?0:+r||0,n.length),n.lastIndexOf(t,r)==r},Nn.sum=function(n,t,r){if(r&&Ur(n,t,r)&&(t=w),t=wr(t,r,3),1==t.length){n=Oo(n)?n:zr(n),r=n.length;for(var e=0;r--;)e+=+t(n[r])||0;n=e}else n=$t(n,t);return n},Nn.template=function(n,t,r){var e=Nn.templateSettings;r&&Ur(n,t,r)&&(t=r=w),n=u(n),t=nt(tt({},r||t),e,Qn),r=nt(tt({},t.imports),e.imports,Qn); + var o,i,f=zo(r),a=Ft(r,f),c=0;r=t.interpolate||Cn;var l="__p+='";r=Ze((t.escape||Cn).source+"|"+r.source+"|"+(r===gn?jn:Cn).source+"|"+(t.evaluate||Cn).source+"|$","g");var p="sourceURL"in t?"//# sourceURL="+t.sourceURL+"\n":"";if(n.replace(r,function(t,r,e,u,f,a){return e||(e=u),l+=n.slice(c,a).replace(Un,s),r&&(o=true,l+="'+__e("+r+")+'"),f&&(i=true,l+="';"+f+";\n__p+='"),e&&(l+="'+((__t=("+e+"))==null?'':__t)+'"),c=a+t.length,t}),l+="';",(t=t.variable)||(l="with(obj){"+l+"}"),l=(i?l.replace(fn,""):l).replace(an,"$1").replace(cn,"$1;"), + l="function("+(t||"obj")+"){"+(t?"":"obj||(obj={});")+"var __t,__p=''"+(o?",__e=_.escape":"")+(i?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+l+"return __p}",t=Jo(function(){return qe(f,p+"return "+l).apply(w,a)}),t.source=l,_e(t))throw t;return t},Nn.trim=We,Nn.trimLeft=function(n,t,r){var e=n;return(n=u(n))?n.slice((r?Ur(e,t,r):null==t)?g(n):o(n,t+"")):n},Nn.trimRight=function(n,t,r){var e=n;return(n=u(n))?(r?Ur(e,t,r):null==t)?n.slice(0,y(n)+1):n.slice(0,i(n,t+"")+1):n; + },Nn.trunc=function(n,t,r){r&&Ur(n,t,r)&&(t=w);var e=U;if(r=W,null!=t)if(ge(t)){var o="separator"in t?t.separator:o,e="length"in t?+t.length||0:e;r="omission"in t?u(t.omission):r}else e=+t||0;if(n=u(n),e>=n.length)return n;if(e-=r.length,1>e)return r;if(t=n.slice(0,e),null==o)return t+r;if(we(o)){if(n.slice(e).search(o)){var i,f=n.slice(0,e);for(o.global||(o=Ze(o.source,(kn.exec(o)||"")+"g")),o.lastIndex=0;n=o.exec(f);)i=n.index;t=t.slice(0,null==i?e:i)}}else n.indexOf(o,e)!=e&&(o=t.lastIndexOf(o), + -1u.__dir__?"Right":"")}),u},zn.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),Pn(["filter","map","takeWhile"],function(n,t){ + var r=t+1,e=r!=T;zn.prototype[n]=function(n,t){var u=this.clone();return u.__iteratees__.push({iteratee:wr(n,t,1),type:r}),u.__filtered__=u.__filtered__||e,u}}),Pn(["first","last"],function(n,t){var r="take"+(t?"Right":"");zn.prototype[n]=function(){return this[r](1).value()[0]}}),Pn(["initial","rest"],function(n,t){var r="drop"+(t?"":"Right");zn.prototype[n]=function(){return this.__filtered__?new zn(this):this[r](1)}}),Pn(["pluck","where"],function(n,t){var r=t?"filter":"map",e=t?bt:ze;zn.prototype[n]=function(n){ + return this[r](e(n))}}),zn.prototype.compact=function(){return this.filter(Fe)},zn.prototype.reject=function(n,t){return n=wr(n,t,1),this.filter(function(t){return!n(t)})},zn.prototype.slice=function(n,t){n=null==n?0:+n||0;var r=this;return r.__filtered__&&(0t)?new zn(r):(0>n?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==w&&(t=+t||0,r=0>t?r.dropRight(-t):r.take(t-n)),r)},zn.prototype.takeRightWhile=function(n,t){return this.reverse().takeWhile(n,t).reverse()},zn.prototype.toArray=function(){return this.take(Ru); + },_t(zn.prototype,function(n,t){var r=/^(?:filter|map|reject)|While$/.test(t),e=/^(?:first|last)$/.test(t),u=Nn[e?"take"+("last"==t?"Right":""):t];u&&(Nn.prototype[t]=function(){function t(n){return e&&i?u(n,1)[0]:u.apply(w,Jn([n],o))}var o=e?[1]:arguments,i=this.__chain__,f=this.__wrapped__,a=!!this.__actions__.length,c=f instanceof zn,l=o[0],s=c||Oo(f);return s&&r&&typeof l=="function"&&1!=l.length&&(c=s=false),l={func:ne,args:[t],thisArg:w},a=c&&!a,e&&!i?a?(f=f.clone(),f.__actions__.push(l),n.call(f)):u.call(w,this.value())[0]:!e&&s?(f=a?f:new zn(this), + f=n.apply(f,o),f.__actions__.push(l),new Ln(f,i)):this.thru(t)})}),Pn("join pop push replace shift sort splice split unshift".split(" "),function(n){var t=(/^(?:replace|split)$/.test(n)?He:Je)[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:join|pop|replace|shift)$/.test(n);Nn.prototype[n]=function(){var n=arguments;return e&&!this.__chain__?t.apply(this.value(),n):this[r](function(r){return t.apply(r,n)})}}),_t(zn.prototype,function(n,t){var r=Nn[t];if(r){var e=r.name;(Wu[e]||(Wu[e]=[])).push({ + name:t,func:r})}}),Wu[sr(w,A).name]=[{name:"wrapper",func:w}],zn.prototype.clone=function(){var n=new zn(this.__wrapped__);return n.__actions__=qn(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=qn(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=qn(this.__views__),n},zn.prototype.reverse=function(){if(this.__filtered__){var n=new zn(this);n.__dir__=-1,n.__filtered__=true}else n=this.clone(),n.__dir__*=-1;return n},zn.prototype.value=function(){ + var n,t=this.__wrapped__.value(),r=this.__dir__,e=Oo(t),u=0>r,o=e?t.length:0;n=o;for(var i=this.__views__,f=0,a=-1,c=i.length;++ar.__dir__?n:n.reverse()}var t=this.__wrapped__; + if(t instanceof zn){var r=t;return this.__actions__.length&&(r=new zn(this)),r=r.reverse(),r.__actions__.push({func:ne,args:[n],thisArg:w}),new Ln(r,this.__chain__)}return this.thru(n)},Nn.prototype.toString=function(){return this.value()+""},Nn.prototype.run=Nn.prototype.toJSON=Nn.prototype.valueOf=Nn.prototype.value=function(){return Tt(this.__wrapped__,this.__actions__)},Nn.prototype.collect=Nn.prototype.map,Nn.prototype.head=Nn.prototype.first,Nn.prototype.select=Nn.prototype.filter,Nn.prototype.tail=Nn.prototype.rest, + Nn}var w,b="3.10.0",x=1,A=2,j=4,k=8,I=16,R=32,O=64,E=128,C=256,U=30,W="...",$=150,S=16,F=200,N=1,T=2,L="Expected a function",z="__lodash_placeholder__",B="[object Arguments]",D="[object Array]",M="[object Boolean]",q="[object Date]",P="[object Error]",K="[object Function]",V="[object Number]",Z="[object Object]",Y="[object RegExp]",G="[object String]",J="[object ArrayBuffer]",X="[object Float32Array]",H="[object Float64Array]",Q="[object Int8Array]",nn="[object Int16Array]",tn="[object Int32Array]",rn="[object Uint8Array]",en="[object Uint8ClampedArray]",un="[object Uint16Array]",on="[object Uint32Array]",fn=/\b__p\+='';/g,an=/\b(__p\+=)''\+/g,cn=/(__e\(.*?\)|\b__t\))\+'';/g,ln=/&(?:amp|lt|gt|quot|#39|#96);/g,sn=/[&<>"'`]/g,pn=RegExp(ln.source),hn=RegExp(sn.source),_n=/<%-([\s\S]+?)%>/g,vn=/<%([\s\S]+?)%>/g,gn=/<%=([\s\S]+?)%>/g,yn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,dn=/^\w*$/,mn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,wn=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,bn=RegExp(wn.source),xn=/[\u0300-\u036f\ufe20-\ufe23]/g,An=/\\(\\)?/g,jn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,kn=/\w*$/,In=/^0[xX]/,Rn=/^\[object .+?Constructor\]$/,On=/^\d+$/,En=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Cn=/($^)/,Un=/['\n\r\u2028\u2029\\]/g,Wn=RegExp("[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?=[A-Z\\xc0-\\xd6\\xd8-\\xde][a-z\\xdf-\\xf6\\xf8-\\xff]+)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+|[A-Z\\xc0-\\xd6\\xd8-\\xde]+|[0-9]+","g"),$n="Array ArrayBuffer Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Math Number Object RegExp Set String _ clearTimeout isFinite parseFloat parseInt setTimeout TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap".split(" "),Sn={}; + Sn[X]=Sn[H]=Sn[Q]=Sn[nn]=Sn[tn]=Sn[rn]=Sn[en]=Sn[un]=Sn[on]=true,Sn[B]=Sn[D]=Sn[J]=Sn[M]=Sn[q]=Sn[P]=Sn[K]=Sn["[object Map]"]=Sn[V]=Sn[Z]=Sn[Y]=Sn["[object Set]"]=Sn[G]=Sn["[object WeakMap]"]=false;var Fn={};Fn[B]=Fn[D]=Fn[J]=Fn[M]=Fn[q]=Fn[X]=Fn[H]=Fn[Q]=Fn[nn]=Fn[tn]=Fn[V]=Fn[Z]=Fn[Y]=Fn[G]=Fn[rn]=Fn[en]=Fn[un]=Fn[on]=true,Fn[P]=Fn[K]=Fn["[object Map]"]=Fn["[object Set]"]=Fn["[object WeakMap]"]=false;var Nn={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a", + "\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y", + "\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss"},Tn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ln={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},zn={"function":true,object:true},Bn={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Dn={"\\":"\\", + "'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mn=zn[typeof exports]&&exports&&!exports.nodeType&&exports,qn=zn[typeof module]&&module&&!module.nodeType&&module,Pn=zn[typeof self]&&self&&self.Object&&self,Kn=zn[typeof window]&&window&&window.Object&&window,Vn=qn&&qn.exports===Mn&&Mn,Zn=Mn&&qn&&typeof global=="object"&&global&&global.Object&&global||Kn!==(this&&this.window)&&Kn||Pn||this,Yn=m();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Zn._=Yn, define(function(){ + return Yn})):Mn&&qn?Vn?(qn.exports=Yn)._=Yn:Mn._=Yn:Zn._=Yn}).call(this); \ No newline at end of file diff --git a/dist/html-static/js/library/monaco-loader.js b/dist/html-static/js/library/monaco-loader.js new file mode 100644 index 000000000..2937cfeb5 --- /dev/null +++ b/dist/html-static/js/library/monaco-loader.js @@ -0,0 +1,11 @@ +"use strict";/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/const _amdLoaderGlobal=this,_commonjsGlobal=typeof global=="object"?global:{};var AMDLoader;(function(u){u.global=_amdLoaderGlobal;class y{get isWindows(){return this._detect(),this._isWindows}get isNode(){return this._detect(),this._isNode}get isElectronRenderer(){return this._detect(),this._isElectronRenderer}get isWebWorker(){return this._detect(),this._isWebWorker}get isElectronNodeIntegrationWebWorker(){return this._detect(),this._isElectronNodeIntegrationWebWorker}constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,this._isElectronRenderer=!1,this._isWebWorker=!1,this._isElectronNodeIntegrationWebWorker=!1}_detect(){this._detected||(this._detected=!0,this._isWindows=y._isWindows(),this._isNode=typeof module<"u"&&!!module.exports,this._isElectronRenderer=typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.electron<"u"&&process.type==="renderer",this._isWebWorker=typeof u.global.importScripts=="function",this._isElectronNodeIntegrationWebWorker=this._isWebWorker&&typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.electron<"u"&&process.type==="worker")}static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.indexOf("Windows")>=0?!0:typeof process<"u"?process.platform==="win32":!1}}u.Environment=y})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(u){class y{constructor(r,c,a){this.type=r,this.detail=c,this.timestamp=a}}u.LoaderEvent=y;class m{constructor(r){this._events=[new y(1,"",r)]}record(r,c){this._events.push(new y(r,c,u.Utilities.getHighPerformanceTimestamp()))}getEvents(){return this._events}}u.LoaderEventRecorder=m;class p{record(r,c){}getEvents(){return[]}}p.INSTANCE=new p,u.NullLoaderEventRecorder=p})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(u){class y{static fileUriToFilePath(p,h){if(h=decodeURI(h).replace(/%23/g,"#"),p){if(/^file:\/\/\//.test(h))return h.substr(8);if(/^file:\/\//.test(h))return h.substr(5)}else if(/^file:\/\//.test(h))return h.substr(7);return h}static startsWith(p,h){return p.length>=h.length&&p.substr(0,h.length)===h}static endsWith(p,h){return p.length>=h.length&&p.substr(p.length-h.length)===h}static containsQueryString(p){return/^[^\#]*\?/gi.test(p)}static isAbsolutePath(p){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(p)}static forEachProperty(p,h){if(p){let r;for(r in p)p.hasOwnProperty(r)&&h(r,p[r])}}static isEmpty(p){let h=!0;return y.forEachProperty(p,()=>{h=!1}),h}static recursiveClone(p){if(!p||typeof p!="object"||p instanceof RegExp||!Array.isArray(p)&&Object.getPrototypeOf(p)!==Object.prototype)return p;let h=Array.isArray(p)?[]:{};return y.forEachProperty(p,(r,c)=>{c&&typeof c=="object"?h[r]=y.recursiveClone(c):h[r]=c}),h}static generateAnonymousModule(){return"===anonymous"+y.NEXT_ANONYMOUS_ID+++"==="}static isAnonymousModule(p){return y.startsWith(p,"===anonymous")}static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBED||(this.PERFORMANCE_NOW_PROBED=!0,this.HAS_PERFORMANCE_NOW=u.global.performance&&typeof u.global.performance.now=="function"),this.HAS_PERFORMANCE_NOW?u.global.performance.now():Date.now()}}y.NEXT_ANONYMOUS_ID=1,y.PERFORMANCE_NOW_PROBED=!1,y.HAS_PERFORMANCE_NOW=!1,u.Utilities=y})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(u){function y(h){if(h instanceof Error)return h;const r=new Error(h.message||String(h)||"Unknown Error");return h.stack&&(r.stack=h.stack),r}u.ensureError=y;class m{static validateConfigurationOptions(r){function c(a){if(a.phase==="loading"){console.error('Loading "'+a.moduleId+'" failed'),console.error(a),console.error("Here are the modules that depend on it:"),console.error(a.neededBy);return}if(a.phase==="factory"){console.error('The factory function of "'+a.moduleId+'" has thrown an exception'),console.error(a),console.error("Here are the modules that depend on it:"),console.error(a.neededBy);return}}if(r=r||{},typeof r.baseUrl!="string"&&(r.baseUrl=""),typeof r.isBuild!="boolean"&&(r.isBuild=!1),typeof r.paths!="object"&&(r.paths={}),typeof r.config!="object"&&(r.config={}),typeof r.catchError>"u"&&(r.catchError=!1),typeof r.recordStats>"u"&&(r.recordStats=!1),typeof r.urlArgs!="string"&&(r.urlArgs=""),typeof r.onError!="function"&&(r.onError=c),Array.isArray(r.ignoreDuplicateModules)||(r.ignoreDuplicateModules=[]),r.baseUrl.length>0&&(u.Utilities.endsWith(r.baseUrl,"/")||(r.baseUrl+="/")),typeof r.cspNonce!="string"&&(r.cspNonce=""),typeof r.preferScriptTags>"u"&&(r.preferScriptTags=!1),r.nodeCachedData&&typeof r.nodeCachedData=="object"&&(typeof r.nodeCachedData.seed!="string"&&(r.nodeCachedData.seed="seed"),(typeof r.nodeCachedData.writeDelay!="number"||r.nodeCachedData.writeDelay<0)&&(r.nodeCachedData.writeDelay=1e3*7),!r.nodeCachedData.path||typeof r.nodeCachedData.path!="string")){const a=y(new Error("INVALID cached data configuration, 'path' MUST be set"));a.phase="configuration",r.onError(a),r.nodeCachedData=void 0}return r}static mergeConfigurationOptions(r=null,c=null){let a=u.Utilities.recursiveClone(c||{});return u.Utilities.forEachProperty(r,(t,e)=>{t==="ignoreDuplicateModules"&&typeof a.ignoreDuplicateModules<"u"?a.ignoreDuplicateModules=a.ignoreDuplicateModules.concat(e):t==="paths"&&typeof a.paths<"u"?u.Utilities.forEachProperty(e,(i,s)=>a.paths[i]=s):t==="config"&&typeof a.config<"u"?u.Utilities.forEachProperty(e,(i,s)=>a.config[i]=s):a[t]=u.Utilities.recursiveClone(e)}),m.validateConfigurationOptions(a)}}u.ConfigurationOptionsUtil=m;class p{constructor(r,c){if(this._env=r,this.options=m.mergeConfigurationOptions(c),this._createIgnoreDuplicateModulesMap(),this._createSortedPathsRules(),this.options.baseUrl===""&&this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){let a=this.options.nodeRequire.main.filename,t=Math.max(a.lastIndexOf("/"),a.lastIndexOf("\\"));this.options.baseUrl=a.substring(0,t+1)}}_createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};for(let r=0;r{Array.isArray(c)?this.sortedPathsRules.push({from:r,to:c}):this.sortedPathsRules.push({from:r,to:[c]})}),this.sortedPathsRules.sort((r,c)=>c.from.length-r.from.length)}cloneAndMerge(r){return new p(this._env,m.mergeConfigurationOptions(r,this.options))}getOptionsLiteral(){return this.options}_applyPaths(r){let c;for(let a=0,t=this.sortedPathsRules.length;athis.triggerCallback(i),d=>this.triggerErrorback(i,d))}triggerCallback(e){let i=this._callbackMap[e];delete this._callbackMap[e];for(let s=0;s{e.removeEventListener("load",l),e.removeEventListener("error",d)},l=o=>{n(),i()},d=o=>{n(),s(o)};e.addEventListener("load",l),e.addEventListener("error",d)}load(e,i,s,n){if(/^node\|/.test(i)){let l=e.getConfig().getOptionsLiteral(),d=c(e.getRecorder(),l.nodeRequire||u.global.nodeRequire),o=i.split("|"),_=null;try{_=d(o[1])}catch(f){n(f);return}e.enqueueDefineAnonymousModule([],()=>_),s()}else{let l=document.createElement("script");l.setAttribute("async","async"),l.setAttribute("type","text/javascript"),this.attachListeners(l,s,n);const{trustedTypesPolicy:d}=e.getConfig().getOptionsLiteral();d&&(i=d.createScriptURL(i)),l.setAttribute("src",i);const{cspNonce:o}=e.getConfig().getOptionsLiteral();o&&l.setAttribute("nonce",o),document.getElementsByTagName("head")[0].appendChild(l)}}}function p(t){const{trustedTypesPolicy:e}=t.getConfig().getOptionsLiteral();try{return(e?self.eval(e.createScript("","true")):new Function("true")).call(self),!0}catch{return!1}}class h{constructor(){this._cachedCanUseEval=null}_canUseEval(e){return this._cachedCanUseEval===null&&(this._cachedCanUseEval=p(e)),this._cachedCanUseEval}load(e,i,s,n){if(/^node\|/.test(i)){const l=e.getConfig().getOptionsLiteral(),d=c(e.getRecorder(),l.nodeRequire||u.global.nodeRequire),o=i.split("|");let _=null;try{_=d(o[1])}catch(f){n(f);return}e.enqueueDefineAnonymousModule([],function(){return _}),s()}else{const{trustedTypesPolicy:l}=e.getConfig().getOptionsLiteral();if(!(/^((http:)|(https:)|(file:))/.test(i)&&i.substring(0,self.origin.length)!==self.origin)&&this._canUseEval(e)){fetch(i).then(o=>{if(o.status!==200)throw new Error(o.statusText);return o.text()}).then(o=>{o=`${o} +//# sourceURL=${i}`,(l?self.eval(l.createScript("",o)):new Function(o)).call(self),s()}).then(void 0,n);return}try{l&&(i=l.createScriptURL(i)),importScripts(i),s()}catch(o){n(o)}}}}class r{constructor(e){this._env=e,this._didInitialize=!1,this._didPatchNodeRequire=!1}_init(e){this._didInitialize||(this._didInitialize=!0,this._fs=e("fs"),this._vm=e("vm"),this._path=e("path"),this._crypto=e("crypto"))}_initNodeRequire(e,i){const{nodeCachedData:s}=i.getConfig().getOptionsLiteral();if(!s||this._didPatchNodeRequire)return;this._didPatchNodeRequire=!0;const n=this,l=e("module");function d(o){const _=o.constructor;let f=function(v){try{return o.require(v)}finally{}};return f.resolve=function(v,E){return _._resolveFilename(v,o,!1,E)},f.resolve.paths=function(v){return _._resolveLookupPaths(v,o)},f.main=process.mainModule,f.extensions=_._extensions,f.cache=_._cache,f}l.prototype._compile=function(o,_){const f=l.wrap(o.replace(/^#!.*/,"")),g=i.getRecorder(),v=n._getCachedDataPath(s,_),E={filename:_};let I;try{const D=n._fs.readFileSync(v);I=D.slice(0,16),E.cachedData=D.slice(16),g.record(60,v)}catch{g.record(61,v)}const C=new n._vm.Script(f,E),P=C.runInThisContext(E),w=n._path.dirname(_),R=d(this),U=[this.exports,R,this,_,w,process,_commonjsGlobal,Buffer],b=P.apply(this.exports,U);return n._handleCachedData(C,f,v,!E.cachedData,i),n._verifyCachedData(C,f,v,I,i),b}}load(e,i,s,n){const l=e.getConfig().getOptionsLiteral(),d=c(e.getRecorder(),l.nodeRequire||u.global.nodeRequire),o=l.nodeInstrumenter||function(f){return f};this._init(d),this._initNodeRequire(d,e);let _=e.getRecorder();if(/^node\|/.test(i)){let f=i.split("|"),g=null;try{g=d(f[1])}catch(v){n(v);return}e.enqueueDefineAnonymousModule([],()=>g),s()}else{i=u.Utilities.fileUriToFilePath(this._env.isWindows,i);const f=this._path.normalize(i),g=this._getElectronRendererScriptPathOrUri(f),v=!!l.nodeCachedData,E=v?this._getCachedDataPath(l.nodeCachedData,i):void 0;this._readSourceAndCachedData(f,E,_,(I,C,P,w)=>{if(I){n(I);return}let R;C.charCodeAt(0)===r._BOM?R=r._PREFIX+C.substring(1)+r._SUFFIX:R=r._PREFIX+C+r._SUFFIX,R=o(R,f);const U={filename:g,cachedData:P},b=this._createAndEvalScript(e,R,U,s,n);this._handleCachedData(b,R,E,v&&!P,e),this._verifyCachedData(b,R,E,w,e)})}}_createAndEvalScript(e,i,s,n,l){const d=e.getRecorder();d.record(31,s.filename);const o=new this._vm.Script(i,s),_=o.runInThisContext(s),f=e.getGlobalAMDDefineFunc();let g=!1;const v=function(){return g=!0,f.apply(null,arguments)};return v.amd=f.amd,_.call(u.global,e.getGlobalAMDRequireFunc(),v,s.filename,this._path.dirname(s.filename)),d.record(32,s.filename),g?n():l(new Error(`Didn't receive define call in ${s.filename}!`)),o}_getElectronRendererScriptPathOrUri(e){if(!this._env.isElectronRenderer)return e;let i=e.match(/^([a-z])\:(.*)/i);return i?`file:///${(i[1].toUpperCase()+":"+i[2]).replace(/\\/g,"/")}`:`file://${e}`}_getCachedDataPath(e,i){const s=this._crypto.createHash("md5").update(i,"utf8").update(e.seed,"utf8").update(process.arch,"").digest("hex"),n=this._path.basename(i).replace(/\.js$/,"");return this._path.join(e.path,`${n}-${s}.code`)}_handleCachedData(e,i,s,n,l){e.cachedDataRejected?this._fs.unlink(s,d=>{l.getRecorder().record(62,s),this._createAndWriteCachedData(e,i,s,l),d&&l.getConfig().onError(d)}):n&&this._createAndWriteCachedData(e,i,s,l)}_createAndWriteCachedData(e,i,s,n){let l=Math.ceil(n.getConfig().getOptionsLiteral().nodeCachedData.writeDelay*(1+Math.random())),d=-1,o=0,_;const f=()=>{setTimeout(()=>{_||(_=this._crypto.createHash("md5").update(i,"utf8").digest());const g=e.createCachedData();if(!(g.length===0||g.length===d||o>=5)){if(g.length{v&&n.getConfig().onError(v),n.getRecorder().record(63,s),f()})}},l*Math.pow(4,o++))};f()}_readSourceAndCachedData(e,i,s,n){if(!i)this._fs.readFile(e,{encoding:"utf8"},n);else{let l,d,o,_=2;const f=g=>{g?n(g):--_===0&&n(void 0,l,d,o)};this._fs.readFile(e,{encoding:"utf8"},(g,v)=>{l=v,f(g)}),this._fs.readFile(i,(g,v)=>{!g&&v&&v.length>0?(o=v.slice(0,16),d=v.slice(16),s.record(60,i)):s.record(61,i),f()})}}_verifyCachedData(e,i,s,n,l){n&&(e.cachedDataRejected||setTimeout(()=>{const d=this._crypto.createHash("md5").update(i,"utf8").digest();n.equals(d)||(l.getConfig().onError(new Error(`FAILED TO VERIFY CACHED DATA, deleting stale '${s}' now, but a RESTART IS REQUIRED`)),this._fs.unlink(s,o=>{o&&l.getConfig().onError(o)}))},Math.ceil(5e3*(1+Math.random()))))}}r._BOM=65279,r._PREFIX="(function (require, define, __filename, __dirname) { ",r._SUFFIX=` +});`;function c(t,e){if(e.__$__isRecorded)return e;const i=function(n){t.record(33,n);try{return e(n)}finally{t.record(34,n)}};return i.__$__isRecorded=!0,i}u.ensureRecordedNodeRequire=c;function a(t){return new y(t)}u.createScriptLoader=a})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(u){class y{constructor(t){let e=t.lastIndexOf("/");e!==-1?this.fromModulePath=t.substr(0,e+1):this.fromModulePath=""}static _normalizeModuleId(t){let e=t,i;for(i=/\/\.\//;i.test(e);)e=e.replace(i,"/");for(e=e.replace(/^\.\//g,""),i=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;i.test(e);)e=e.replace(i,"/");return e=e.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,""),e}resolveModule(t){let e=t;return u.Utilities.isAbsolutePath(e)||(u.Utilities.startsWith(e,"./")||u.Utilities.startsWith(e,"../"))&&(e=y._normalizeModuleId(this.fromModulePath+e)),e}}y.ROOT=new y(""),u.ModuleIdResolver=y;class m{constructor(t,e,i,s,n,l){this.id=t,this.strId=e,this.dependencies=i,this._callback=s,this._errorback=n,this.moduleIdResolver=l,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}static _safeInvokeFunction(t,e){try{return{returnedValue:t.apply(u.global,e),producedError:null}}catch(i){return{returnedValue:null,producedError:i}}}static _invokeFactory(t,e,i,s){return t.shouldInvokeFactory(e)?t.shouldCatchError()?this._safeInvokeFunction(i,s):{returnedValue:i.apply(u.global,s),producedError:null}:{returnedValue:null,producedError:null}}complete(t,e,i,s){this._isComplete=!0;let n=null;if(this._callback)if(typeof this._callback=="function"){t.record(21,this.strId);let l=m._invokeFactory(e,this.strId,this._callback,i);n=l.producedError,t.record(22,this.strId),!n&&typeof l.returnedValue<"u"&&(!this.exportsPassedIn||u.Utilities.isEmpty(this.exports))&&(this.exports=l.returnedValue)}else this.exports=this._callback;if(n){let l=u.ensureError(n);l.phase="factory",l.moduleId=this.strId,l.neededBy=s(this.id),this.error=l,e.onError(l)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null}onDependencyError(t){return this._isComplete=!0,this.error=t,this._errorback?(this._errorback(t),!0):!1}isComplete(){return this._isComplete}}u.Module=m;class p{constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}getMaxModuleId(){return this._nextId}getModuleId(t){let e=this._strModuleIdToIntModuleId.get(t);return typeof e>"u"&&(e=this._nextId++,this._strModuleIdToIntModuleId.set(t,e),this._intModuleIdToStrModuleId[e]=t),e}getStrModuleId(t){return this._intModuleIdToStrModuleId[t]}}class h{constructor(t){this.id=t}}h.EXPORTS=new h(0),h.MODULE=new h(1),h.REQUIRE=new h(2),u.RegularDependency=h;class r{constructor(t,e,i){this.id=t,this.pluginId=e,this.pluginParam=i}}u.PluginDependency=r;class c{constructor(t,e,i,s,n=0){this._env=t,this._scriptLoader=e,this._loaderAvailableTimestamp=n,this._defineFunc=i,this._requireFunc=s,this._moduleIdProvider=new p,this._config=new u.Configuration(this._env),this._hasDependencyCycle=!1,this._modules2=[],this._knownModules2=[],this._inverseDependencies2=[],this._inversePluginDependencies2=new Map,this._currentAnonymousDefineCall=null,this._recorder=null,this._buildInfoPath=[],this._buildInfoDefineStack=[],this._buildInfoDependencies=[],this._requireFunc.moduleManager=this}reset(){return new c(this._env,this._scriptLoader,this._defineFunc,this._requireFunc,this._loaderAvailableTimestamp)}getGlobalAMDDefineFunc(){return this._defineFunc}getGlobalAMDRequireFunc(){return this._requireFunc}static _findRelevantLocationInStack(t,e){let i=l=>l.replace(/\\/g,"/"),s=i(t),n=e.split(/\n/);for(let l=0;lthis._moduleIdProvider.getStrModuleId(_.id))),this._resolve(o)}_normalizeDependency(t,e){if(t==="exports")return h.EXPORTS;if(t==="module")return h.MODULE;if(t==="require")return h.REQUIRE;let i=t.indexOf("!");if(i>=0){let s=e.resolveModule(t.substr(0,i)),n=e.resolveModule(t.substr(i+1)),l=this._moduleIdProvider.getModuleId(s+"!"+n),d=this._moduleIdProvider.getModuleId(s);return new r(l,d,n)}return new h(this._moduleIdProvider.getModuleId(e.resolveModule(t)))}_normalizeDependencies(t,e){let i=[],s=0;for(let n=0,l=t.length;nthis._moduleIdProvider.getStrModuleId(l));const n=u.ensureError(e);return n.phase="loading",n.moduleId=i,n.neededBy=s,n}_onLoadError(t,e){const i=this._createLoadError(t,e);this._modules2[t]||(this._modules2[t]=new m(t,this._moduleIdProvider.getStrModuleId(t),[],()=>{},null,null));let s=[];for(let d=0,o=this._moduleIdProvider.getMaxModuleId();d0;){let d=l.shift(),o=this._modules2[d];o&&(n=o.onDependencyError(i)||n);let _=this._inverseDependencies2[d];if(_)for(let f=0,g=_.length;f0;){let d=n.shift().dependencies;if(d)for(let o=0,_=d.length;o<_;o++){let f=d[o];if(f.id===e)return!0;let g=this._modules2[f.id];g&&!s[f.id]&&(s[f.id]=!0,n.push(g))}}return!1}_findCyclePath(t,e,i){if(t===e||i===50)return[t];let s=this._modules2[t];if(!s)return null;let n=s.dependencies;if(n)for(let l=0,d=n.length;lthis._relativeRequire(t,i,s,n);return e.toUrl=i=>this._config.requireToUrl(t.resolveModule(i)),e.getStats=()=>this.getLoaderEvents(),e.hasDependencyCycle=()=>this._hasDependencyCycle,e.config=(i,s=!1)=>{this.configure(i,s)},e.__$__nodeRequire=u.global.nodeRequire,e}_loadModule(t){if(this._modules2[t]||this._knownModules2[t])return;this._knownModules2[t]=!0;let e=this._moduleIdProvider.getStrModuleId(t),i=this._config.moduleIdToPaths(e),s=/^@[^\/]+\/[^\/]+$/;this._env.isNode&&(e.indexOf("/")===-1||s.test(e))&&i.push("node|"+e);let n=-1,l=d=>{if(n++,n>=i.length)this._onLoadError(t,d);else{let o=i[n],_=this.getRecorder();if(this._config.isBuild()&&o==="empty:"){this._buildInfoPath[t]=o,this.defineModule(this._moduleIdProvider.getStrModuleId(t),[],null,null,null),this._onLoad(t);return}_.record(10,o),this._scriptLoader.load(this,o,()=>{this._config.isBuild()&&(this._buildInfoPath[t]=o),_.record(11,o),this._onLoad(t)},f=>{_.record(12,o),l(f)})}};l(null)}_loadPluginDependency(t,e){if(this._modules2[e.id]||this._knownModules2[e.id])return;this._knownModules2[e.id]=!0;let i=s=>{this.defineModule(this._moduleIdProvider.getStrModuleId(e.id),[],s,null,null)};i.error=s=>{this._config.onError(this._createLoadError(e.id,s))},t.load(e.pluginParam,this._createRequire(y.ROOT),i,this._config.getOptionsLiteral())}_resolve(t){let e=t.dependencies;if(e)for(let i=0,s=e.length;ithis._moduleIdProvider.getStrModuleId(o)).join(` => +`)),t.unresolvedDependenciesCount--;continue}if(this._inverseDependencies2[n.id]=this._inverseDependencies2[n.id]||[],this._inverseDependencies2[n.id].push(t.id),n instanceof r){let d=this._modules2[n.pluginId];if(d&&d.isComplete()){this._loadPluginDependency(d.exports,n);continue}let o=this._inversePluginDependencies2.get(n.pluginId);o||(o=[],this._inversePluginDependencies2.set(n.pluginId,o)),o.push(n),this._loadModule(n.pluginId);continue}this._loadModule(n.id)}t.unresolvedDependenciesCount===0&&this._onModuleComplete(t)}_onModuleComplete(t){let e=this.getRecorder();if(t.isComplete())return;let i=t.dependencies,s=[];if(i)for(let o=0,_=i.length;o<_;o++){let f=i[o];if(f===h.EXPORTS){s[o]=t.exports;continue}if(f===h.MODULE){s[o]={id:t.strId,config:()=>this._config.getConfigForModule(t.strId)};continue}if(f===h.REQUIRE){s[o]=this._createRequire(t.moduleIdResolver);continue}let g=this._modules2[f.id];if(g){s[o]=g.exports;continue}s[o]=null}const n=o=>(this._inverseDependencies2[o]||[]).map(_=>this._moduleIdProvider.getStrModuleId(_));t.complete(e,this._config,s,n);let l=this._inverseDependencies2[t.id];if(this._inverseDependencies2[t.id]=null,l)for(let o=0,_=l.length;o<_;o++){let f=l[o],g=this._modules2[f];g.unresolvedDependenciesCount--,g.unresolvedDependenciesCount===0&&this._onModuleComplete(g)}let d=this._inversePluginDependencies2.get(t.id);if(d){this._inversePluginDependencies2.delete(t.id);for(let o=0,_=d.length;o<_;o++)this._loadPluginDependency(t.exports,d[o])}}}u.ModuleManager=c})(AMDLoader||(AMDLoader={}));var define,AMDLoader;(function(u){const y=new u.Environment;let m=null;const p=function(a,t,e){typeof a!="string"&&(e=t,t=a,a=null),(typeof t!="object"||!Array.isArray(t))&&(e=t,t=null),t||(t=["require","exports","module"]),a?m.defineModule(a,t,e,null,null):m.enqueueDefineAnonymousModule(t,e)};p.amd={jQuery:!0};const h=function(a,t=!1){m.configure(a,t)},r=function(){if(arguments.length===1){if(arguments[0]instanceof Object&&!Array.isArray(arguments[0])){h(arguments[0]);return}if(typeof arguments[0]=="string")return m.synchronousRequire(arguments[0])}if((arguments.length===2||arguments.length===3)&&Array.isArray(arguments[0])){m.defineModule(u.Utilities.generateAnonymousModule(),arguments[0],arguments[1],arguments[2],null);return}throw new Error("Unrecognized require call")};r.config=h,r.getConfig=function(){return m.getConfig().getOptionsLiteral()},r.reset=function(){m=m.reset()},r.getBuildInfo=function(){return m.getBuildInfo()},r.getStats=function(){return m.getLoaderEvents()},r.define=p;function c(){if(typeof u.global.require<"u"||typeof require<"u"){const a=u.global.require||require;if(typeof a=="function"&&typeof a.resolve=="function"){const t=u.ensureRecordedNodeRequire(m.getRecorder(),a);u.global.nodeRequire=t,r.nodeRequire=t,r.__$__nodeRequire=t}}y.isNode&&!y.isElectronRenderer&&!y.isElectronNodeIntegrationWebWorker?module.exports=r:(y.isElectronRenderer||(u.global.define=p),u.global.require=r)}u.init=c,(typeof u.global.define!="function"||!u.global.define.amd)&&(m=new u.ModuleManager(y,u.createScriptLoader(y),p,r,u.Utilities.getHighPerformanceTimestamp()),typeof u.global.require<"u"&&typeof u.global.require!="function"&&r.config(u.global.require),define=function(){return p.apply(null,arguments)},define.amd=p.amd,typeof doNotInitLoader>"u"&&c())})(AMDLoader||(AMDLoader={})); + +//# sourceMappingURL=../../min-maps/vs/loader.js.map \ No newline at end of file diff --git a/dist/html-static/js/library/popper.js b/dist/html-static/js/library/popper.js new file mode 100644 index 000000000..ad82223cb --- /dev/null +++ b/dist/html-static/js/library/popper.js @@ -0,0 +1,2540 @@ +/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.14.4 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global.Popper = factory()); +}(this, (function () { 'use strict'; + +var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined'; + +var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; +var timeoutDuration = 0; +for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { + if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { + timeoutDuration = 1; + break; + } +} + +function microtaskDebounce(fn) { + var called = false; + return function () { + if (called) { + return; + } + called = true; + window.Promise.resolve().then(function () { + called = false; + fn(); + }); + }; +} + +function taskDebounce(fn) { + var scheduled = false; + return function () { + if (!scheduled) { + scheduled = true; + setTimeout(function () { + scheduled = false; + fn(); + }, timeoutDuration); + } + }; +} + +var supportsMicroTasks = isBrowser && window.Promise; + +/** +* Create a debounced version of a method, that's asynchronously deferred +* but called in the minimum time possible. +* +* @method +* @memberof Popper.Utils +* @argument {Function} fn +* @returns {Function} +*/ +var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce; + +/** + * Check if the given variable is a function + * @method + * @memberof Popper.Utils + * @argument {Any} functionToCheck - variable to check + * @returns {Boolean} answer to: is a function? + */ +function isFunction(functionToCheck) { + var getType = {}; + return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; +} + +/** + * Get CSS computed property of the given element + * @method + * @memberof Popper.Utils + * @argument {Eement} element + * @argument {String} property + */ +function getStyleComputedProperty(element, property) { + if (element.nodeType !== 1) { + return []; + } + // NOTE: 1 DOM access here + var css = getComputedStyle(element, null); + return property ? css[property] : css; +} + +/** + * Returns the parentNode or the host of the element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} parent + */ +function getParentNode(element) { + if (element.nodeName === 'HTML') { + return element; + } + return element.parentNode || element.host; +} + +/** + * Returns the scrolling parent of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} scroll parent + */ +function getScrollParent(element) { + // Return body, `getScroll` will take care to get the correct `scrollTop` from it + if (!element) { + return document.body; + } + + switch (element.nodeName) { + case 'HTML': + case 'BODY': + return element.ownerDocument.body; + case '#document': + return element.body; + } + + // Firefox want us to check `-x` and `-y` variations as well + + var _getStyleComputedProp = getStyleComputedProperty(element), + overflow = _getStyleComputedProp.overflow, + overflowX = _getStyleComputedProp.overflowX, + overflowY = _getStyleComputedProp.overflowY; + + if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) { + return element; + } + + return getScrollParent(getParentNode(element)); +} + +var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode); +var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent); + +/** + * Determines if the browser is Internet Explorer + * @method + * @memberof Popper.Utils + * @param {Number} version to check + * @returns {Boolean} isIE + */ +function isIE(version) { + if (version === 11) { + return isIE11; + } + if (version === 10) { + return isIE10; + } + return isIE11 || isIE10; +} + +/** + * Returns the offset parent of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} offset parent + */ +function getOffsetParent(element) { + if (!element) { + return document.documentElement; + } + + var noOffsetParent = isIE(10) ? document.body : null; + + // NOTE: 1 DOM access here + var offsetParent = element.offsetParent; + // Skip hidden elements which don't have an offsetParent + while (offsetParent === noOffsetParent && element.nextElementSibling) { + offsetParent = (element = element.nextElementSibling).offsetParent; + } + + var nodeName = offsetParent && offsetParent.nodeName; + + if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') { + return element ? element.ownerDocument.documentElement : document.documentElement; + } + + // .offsetParent will return the closest TD or TABLE in case + // no offsetParent is present, I hate this job... + if (['TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { + return getOffsetParent(offsetParent); + } + + return offsetParent; +} + +function isOffsetContainer(element) { + var nodeName = element.nodeName; + + if (nodeName === 'BODY') { + return false; + } + return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element; +} + +/** + * Finds the root node (document, shadowDOM root) of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} node + * @returns {Element} root node + */ +function getRoot(node) { + if (node.parentNode !== null) { + return getRoot(node.parentNode); + } + + return node; +} + +/** + * Finds the offset parent common to the two provided nodes + * @method + * @memberof Popper.Utils + * @argument {Element} element1 + * @argument {Element} element2 + * @returns {Element} common offset parent + */ +function findCommonOffsetParent(element1, element2) { + // This check is needed to avoid errors in case one of the elements isn't defined for any reason + if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) { + return document.documentElement; + } + + // Here we make sure to give as "start" the element that comes first in the DOM + var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING; + var start = order ? element1 : element2; + var end = order ? element2 : element1; + + // Get common ancestor container + var range = document.createRange(); + range.setStart(start, 0); + range.setEnd(end, 0); + var commonAncestorContainer = range.commonAncestorContainer; + + // Both nodes are inside #document + + if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) { + if (isOffsetContainer(commonAncestorContainer)) { + return commonAncestorContainer; + } + + return getOffsetParent(commonAncestorContainer); + } + + // one of the nodes is inside shadowDOM, find which one + var element1root = getRoot(element1); + if (element1root.host) { + return findCommonOffsetParent(element1root.host, element2); + } else { + return findCommonOffsetParent(element1, getRoot(element2).host); + } +} + +/** + * Gets the scroll value of the given element in the given side (top and left) + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @argument {String} side `top` or `left` + * @returns {number} amount of scrolled pixels + */ +function getScroll(element) { + var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top'; + + var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft'; + var nodeName = element.nodeName; + + if (nodeName === 'BODY' || nodeName === 'HTML') { + var html = element.ownerDocument.documentElement; + var scrollingElement = element.ownerDocument.scrollingElement || html; + return scrollingElement[upperSide]; + } + + return element[upperSide]; +} + +/* + * Sum or subtract the element scroll values (left and top) from a given rect object + * @method + * @memberof Popper.Utils + * @param {Object} rect - Rect object you want to change + * @param {HTMLElement} element - The element from the function reads the scroll values + * @param {Boolean} subtract - set to true if you want to subtract the scroll values + * @return {Object} rect - The modifier rect object + */ +function includeScroll(rect, element) { + var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var scrollTop = getScroll(element, 'top'); + var scrollLeft = getScroll(element, 'left'); + var modifier = subtract ? -1 : 1; + rect.top += scrollTop * modifier; + rect.bottom += scrollTop * modifier; + rect.left += scrollLeft * modifier; + rect.right += scrollLeft * modifier; + return rect; +} + +/* + * Helper to detect borders of a given element + * @method + * @memberof Popper.Utils + * @param {CSSStyleDeclaration} styles + * Result of `getStyleComputedProperty` on the given element + * @param {String} axis - `x` or `y` + * @return {number} borders - The borders size of the given axis + */ + +function getBordersSize(styles, axis) { + var sideA = axis === 'x' ? 'Left' : 'Top'; + var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; + + return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10); +} + +function getSize(axis, body, html, computedStyle) { + return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0); +} + +function getWindowSizes(document) { + var body = document.body; + var html = document.documentElement; + var computedStyle = isIE(10) && getComputedStyle(html); + + return { + height: getSize('Height', body, html, computedStyle), + width: getSize('Width', body, html, computedStyle) + }; +} + +var classCallCheck = function (instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +}; + +var createClass = function () { + function defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + return function (Constructor, protoProps, staticProps) { + if (protoProps) defineProperties(Constructor.prototype, protoProps); + if (staticProps) defineProperties(Constructor, staticProps); + return Constructor; + }; +}(); + + + + + +var defineProperty = function (obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +}; + +var _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; +}; + +/** + * Given element offsets, generate an output similar to getBoundingClientRect + * @method + * @memberof Popper.Utils + * @argument {Object} offsets + * @returns {Object} ClientRect like output + */ +function getClientRect(offsets) { + return _extends({}, offsets, { + right: offsets.left + offsets.width, + bottom: offsets.top + offsets.height + }); +} + +/** + * Get bounding client rect of given element + * @method + * @memberof Popper.Utils + * @param {HTMLElement} element + * @return {Object} client rect + */ +function getBoundingClientRect(element) { + var rect = {}; + + // IE10 10 FIX: Please, don't ask, the element isn't + // considered in DOM in some circumstances... + // This isn't reproducible in IE10 compatibility mode of IE11 + try { + if (isIE(10)) { + rect = element.getBoundingClientRect(); + var scrollTop = getScroll(element, 'top'); + var scrollLeft = getScroll(element, 'left'); + rect.top += scrollTop; + rect.left += scrollLeft; + rect.bottom += scrollTop; + rect.right += scrollLeft; + } else { + rect = element.getBoundingClientRect(); + } + } catch (e) {} + + var result = { + left: rect.left, + top: rect.top, + width: rect.right - rect.left, + height: rect.bottom - rect.top + }; + + // subtract scrollbar size from sizes + var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {}; + var width = sizes.width || element.clientWidth || result.right - result.left; + var height = sizes.height || element.clientHeight || result.bottom - result.top; + + var horizScrollbar = element.offsetWidth - width; + var vertScrollbar = element.offsetHeight - height; + + // if an hypothetical scrollbar is detected, we must be sure it's not a `border` + // we make this check conditional for performance reasons + if (horizScrollbar || vertScrollbar) { + var styles = getStyleComputedProperty(element); + horizScrollbar -= getBordersSize(styles, 'x'); + vertScrollbar -= getBordersSize(styles, 'y'); + + result.width -= horizScrollbar; + result.height -= vertScrollbar; + } + + return getClientRect(result); +} + +function getOffsetRectRelativeToArbitraryNode(children, parent) { + var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var isIE10 = isIE(10); + var isHTML = parent.nodeName === 'HTML'; + var childrenRect = getBoundingClientRect(children); + var parentRect = getBoundingClientRect(parent); + var scrollParent = getScrollParent(children); + + var styles = getStyleComputedProperty(parent); + var borderTopWidth = parseFloat(styles.borderTopWidth, 10); + var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); + + // In cases where the parent is fixed, we must ignore negative scroll in offset calc + if (fixedPosition && isHTML) { + parentRect.top = Math.max(parentRect.top, 0); + parentRect.left = Math.max(parentRect.left, 0); + } + var offsets = getClientRect({ + top: childrenRect.top - parentRect.top - borderTopWidth, + left: childrenRect.left - parentRect.left - borderLeftWidth, + width: childrenRect.width, + height: childrenRect.height + }); + offsets.marginTop = 0; + offsets.marginLeft = 0; + + // Subtract margins of documentElement in case it's being used as parent + // we do this only on HTML because it's the only element that behaves + // differently when margins are applied to it. The margins are included in + // the box of the documentElement, in the other cases not. + if (!isIE10 && isHTML) { + var marginTop = parseFloat(styles.marginTop, 10); + var marginLeft = parseFloat(styles.marginLeft, 10); + + offsets.top -= borderTopWidth - marginTop; + offsets.bottom -= borderTopWidth - marginTop; + offsets.left -= borderLeftWidth - marginLeft; + offsets.right -= borderLeftWidth - marginLeft; + + // Attach marginTop and marginLeft because in some circumstances we may need them + offsets.marginTop = marginTop; + offsets.marginLeft = marginLeft; + } + + if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') { + offsets = includeScroll(offsets, parent); + } + + return offsets; +} + +function getViewportOffsetRectRelativeToArtbitraryNode(element) { + var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var html = element.ownerDocument.documentElement; + var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html); + var width = Math.max(html.clientWidth, window.innerWidth || 0); + var height = Math.max(html.clientHeight, window.innerHeight || 0); + + var scrollTop = !excludeScroll ? getScroll(html) : 0; + var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0; + + var offset = { + top: scrollTop - relativeOffset.top + relativeOffset.marginTop, + left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft, + width: width, + height: height + }; + + return getClientRect(offset); +} + +/** + * Check if the given element is fixed or is inside a fixed parent + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @argument {Element} customContainer + * @returns {Boolean} answer to "isFixed?" + */ +function isFixed(element) { + var nodeName = element.nodeName; + if (nodeName === 'BODY' || nodeName === 'HTML') { + return false; + } + if (getStyleComputedProperty(element, 'position') === 'fixed') { + return true; + } + return isFixed(getParentNode(element)); +} + +/** + * Finds the first parent of an element that has a transformed property defined + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} first transformed parent or documentElement + */ + +function getFixedPositionOffsetParent(element) { + // This check is needed to avoid errors in case one of the elements isn't defined for any reason + if (!element || !element.parentElement || isIE()) { + return document.documentElement; + } + var el = element.parentElement; + while (el && getStyleComputedProperty(el, 'transform') === 'none') { + el = el.parentElement; + } + return el || document.documentElement; +} + +/** + * Computed the boundaries limits and return them + * @method + * @memberof Popper.Utils + * @param {HTMLElement} popper + * @param {HTMLElement} reference + * @param {number} padding + * @param {HTMLElement} boundariesElement - Element used to define the boundaries + * @param {Boolean} fixedPosition - Is in fixed position mode + * @returns {Object} Coordinates of the boundaries + */ +function getBoundaries(popper, reference, padding, boundariesElement) { + var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; + + // NOTE: 1 DOM access here + + var boundaries = { top: 0, left: 0 }; + var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); + + // Handle viewport case + if (boundariesElement === 'viewport') { + boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition); + } else { + // Handle other cases based on DOM element used as boundaries + var boundariesNode = void 0; + if (boundariesElement === 'scrollParent') { + boundariesNode = getScrollParent(getParentNode(reference)); + if (boundariesNode.nodeName === 'BODY') { + boundariesNode = popper.ownerDocument.documentElement; + } + } else if (boundariesElement === 'window') { + boundariesNode = popper.ownerDocument.documentElement; + } else { + boundariesNode = boundariesElement; + } + + var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition); + + // In case of HTML, we need a different computation + if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { + var _getWindowSizes = getWindowSizes(popper.ownerDocument), + height = _getWindowSizes.height, + width = _getWindowSizes.width; + + boundaries.top += offsets.top - offsets.marginTop; + boundaries.bottom = height + offsets.top; + boundaries.left += offsets.left - offsets.marginLeft; + boundaries.right = width + offsets.left; + } else { + // for all the other DOM elements, this one is good + boundaries = offsets; + } + } + + // Add paddings + padding = padding || 0; + var isPaddingNumber = typeof padding === 'number'; + boundaries.left += isPaddingNumber ? padding : padding.left || 0; + boundaries.top += isPaddingNumber ? padding : padding.top || 0; + boundaries.right -= isPaddingNumber ? padding : padding.right || 0; + boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0; + + return boundaries; +} + +function getArea(_ref) { + var width = _ref.width, + height = _ref.height; + + return width * height; +} + +/** + * Utility used to transform the `auto` placement to the placement with more + * available space. + * @method + * @memberof Popper.Utils + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) { + var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0; + + if (placement.indexOf('auto') === -1) { + return placement; + } + + var boundaries = getBoundaries(popper, reference, padding, boundariesElement); + + var rects = { + top: { + width: boundaries.width, + height: refRect.top - boundaries.top + }, + right: { + width: boundaries.right - refRect.right, + height: boundaries.height + }, + bottom: { + width: boundaries.width, + height: boundaries.bottom - refRect.bottom + }, + left: { + width: refRect.left - boundaries.left, + height: boundaries.height + } + }; + + var sortedAreas = Object.keys(rects).map(function (key) { + return _extends({ + key: key + }, rects[key], { + area: getArea(rects[key]) + }); + }).sort(function (a, b) { + return b.area - a.area; + }); + + var filteredAreas = sortedAreas.filter(function (_ref2) { + var width = _ref2.width, + height = _ref2.height; + return width >= popper.clientWidth && height >= popper.clientHeight; + }); + + var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key; + + var variation = placement.split('-')[1]; + + return computedPlacement + (variation ? '-' + variation : ''); +} + +/** + * Get offsets to the reference element + * @method + * @memberof Popper.Utils + * @param {Object} state + * @param {Element} popper - the popper element + * @param {Element} reference - the reference element (the popper will be relative to this) + * @param {Element} fixedPosition - is in fixed position mode + * @returns {Object} An object containing the offsets which will be applied to the popper + */ +function getReferenceOffsets(state, popper, reference) { + var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; + + var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); + return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition); +} + +/** + * Get the outer sizes of the given element (offset size + margins) + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Object} object containing width and height properties + */ +function getOuterSizes(element) { + var styles = getComputedStyle(element); + var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom); + var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight); + var result = { + width: element.offsetWidth + y, + height: element.offsetHeight + x + }; + return result; +} + +/** + * Get the opposite placement of the given one + * @method + * @memberof Popper.Utils + * @argument {String} placement + * @returns {String} flipped placement + */ +function getOppositePlacement(placement) { + var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; + return placement.replace(/left|right|bottom|top/g, function (matched) { + return hash[matched]; + }); +} + +/** + * Get offsets to the popper + * @method + * @memberof Popper.Utils + * @param {Object} position - CSS position the Popper will get applied + * @param {HTMLElement} popper - the popper element + * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this) + * @param {String} placement - one of the valid placement options + * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper + */ +function getPopperOffsets(popper, referenceOffsets, placement) { + placement = placement.split('-')[0]; + + // Get popper node sizes + var popperRect = getOuterSizes(popper); + + // Add position, width and height to our offsets object + var popperOffsets = { + width: popperRect.width, + height: popperRect.height + }; + + // depending by the popper placement we have to compute its offsets slightly differently + var isHoriz = ['right', 'left'].indexOf(placement) !== -1; + var mainSide = isHoriz ? 'top' : 'left'; + var secondarySide = isHoriz ? 'left' : 'top'; + var measurement = isHoriz ? 'height' : 'width'; + var secondaryMeasurement = !isHoriz ? 'height' : 'width'; + + popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2; + if (placement === secondarySide) { + popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement]; + } else { + popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)]; + } + + return popperOffsets; +} + +/** + * Mimics the `find` method of Array + * @method + * @memberof Popper.Utils + * @argument {Array} arr + * @argument prop + * @argument value + * @returns index or -1 + */ +function find(arr, check) { + // use native find if supported + if (Array.prototype.find) { + return arr.find(check); + } + + // use `filter` to obtain the same behavior of `find` + return arr.filter(check)[0]; +} + +/** + * Return the index of the matching object + * @method + * @memberof Popper.Utils + * @argument {Array} arr + * @argument prop + * @argument value + * @returns index or -1 + */ +function findIndex(arr, prop, value) { + // use native findIndex if supported + if (Array.prototype.findIndex) { + return arr.findIndex(function (cur) { + return cur[prop] === value; + }); + } + + // use `find` + `indexOf` if `findIndex` isn't supported + var match = find(arr, function (obj) { + return obj[prop] === value; + }); + return arr.indexOf(match); +} + +/** + * Loop trough the list of modifiers and run them in order, + * each of them will then edit the data object. + * @method + * @memberof Popper.Utils + * @param {dataObject} data + * @param {Array} modifiers + * @param {String} ends - Optional modifier name used as stopper + * @returns {dataObject} + */ +function runModifiers(modifiers, data, ends) { + var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends)); + + modifiersToRun.forEach(function (modifier) { + if (modifier['function']) { + // eslint-disable-line dot-notation + console.warn('`modifier.function` is deprecated, use `modifier.fn`!'); + } + var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation + if (modifier.enabled && isFunction(fn)) { + // Add properties to offsets to make them a complete clientRect object + // we do this before each modifier to make sure the previous one doesn't + // mess with these values + data.offsets.popper = getClientRect(data.offsets.popper); + data.offsets.reference = getClientRect(data.offsets.reference); + + data = fn(data, modifier); + } + }); + + return data; +} + +/** + * Updates the position of the popper, computing the new offsets and applying + * the new style.
+ * Prefer `scheduleUpdate` over `update` because of performance reasons. + * @method + * @memberof Popper + */ +function update() { + // if popper is destroyed, don't perform any further update + if (this.state.isDestroyed) { + return; + } + + var data = { + instance: this, + styles: {}, + arrowStyles: {}, + attributes: {}, + flipped: false, + offsets: {} + }; + + // compute reference element offsets + data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed); + + // compute auto placement, store placement inside the data object, + // modifiers will be able to edit `placement` if needed + // and refer to originalPlacement to know the original value + data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding); + + // store the computed placement inside `originalPlacement` + data.originalPlacement = data.placement; + + data.positionFixed = this.options.positionFixed; + + // compute the popper offsets + data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); + + data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; + + // run the modifiers + data = runModifiers(this.modifiers, data); + + // the first `update` will call `onCreate` callback + // the other ones will call `onUpdate` callback + if (!this.state.isCreated) { + this.state.isCreated = true; + this.options.onCreate(data); + } else { + this.options.onUpdate(data); + } +} + +/** + * Helper used to know if the given modifier is enabled. + * @method + * @memberof Popper.Utils + * @returns {Boolean} + */ +function isModifierEnabled(modifiers, modifierName) { + return modifiers.some(function (_ref) { + var name = _ref.name, + enabled = _ref.enabled; + return enabled && name === modifierName; + }); +} + +/** + * Get the prefixed supported property name + * @method + * @memberof Popper.Utils + * @argument {String} property (camelCase) + * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix) + */ +function getSupportedPropertyName(property) { + var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O']; + var upperProp = property.charAt(0).toUpperCase() + property.slice(1); + + for (var i = 0; i < prefixes.length; i++) { + var prefix = prefixes[i]; + var toCheck = prefix ? '' + prefix + upperProp : property; + if (typeof document.body.style[toCheck] !== 'undefined') { + return toCheck; + } + } + return null; +} + +/** + * Destroys the popper. + * @method + * @memberof Popper + */ +function destroy() { + this.state.isDestroyed = true; + + // touch DOM only if `applyStyle` modifier is enabled + if (isModifierEnabled(this.modifiers, 'applyStyle')) { + this.popper.removeAttribute('x-placement'); + this.popper.style.position = ''; + this.popper.style.top = ''; + this.popper.style.left = ''; + this.popper.style.right = ''; + this.popper.style.bottom = ''; + this.popper.style.willChange = ''; + this.popper.style[getSupportedPropertyName('transform')] = ''; + } + + this.disableEventListeners(); + + // remove the popper if user explicity asked for the deletion on destroy + // do not use `remove` because IE11 doesn't support it + if (this.options.removeOnDestroy) { + this.popper.parentNode.removeChild(this.popper); + } + return this; +} + +/** + * Get the window associated with the element + * @argument {Element} element + * @returns {Window} + */ +function getWindow(element) { + var ownerDocument = element.ownerDocument; + return ownerDocument ? ownerDocument.defaultView : window; +} + +function attachToScrollParents(scrollParent, event, callback, scrollParents) { + var isBody = scrollParent.nodeName === 'BODY'; + var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent; + target.addEventListener(event, callback, { passive: true }); + + if (!isBody) { + attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents); + } + scrollParents.push(target); +} + +/** + * Setup needed event listeners used to update the popper position + * @method + * @memberof Popper.Utils + * @private + */ +function setupEventListeners(reference, options, state, updateBound) { + // Resize event listener on window + state.updateBound = updateBound; + getWindow(reference).addEventListener('resize', state.updateBound, { passive: true }); + + // Scroll event listener on scroll parents + var scrollElement = getScrollParent(reference); + attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents); + state.scrollElement = scrollElement; + state.eventsEnabled = true; + + return state; +} + +/** + * It will add resize/scroll events and start recalculating + * position of the popper element when they are triggered. + * @method + * @memberof Popper + */ +function enableEventListeners() { + if (!this.state.eventsEnabled) { + this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate); + } +} + +/** + * Remove event listeners used to update the popper position + * @method + * @memberof Popper.Utils + * @private + */ +function removeEventListeners(reference, state) { + // Remove resize event listener on window + getWindow(reference).removeEventListener('resize', state.updateBound); + + // Remove scroll event listener on scroll parents + state.scrollParents.forEach(function (target) { + target.removeEventListener('scroll', state.updateBound); + }); + + // Reset state + state.updateBound = null; + state.scrollParents = []; + state.scrollElement = null; + state.eventsEnabled = false; + return state; +} + +/** + * It will remove resize/scroll events and won't recalculate popper position + * when they are triggered. It also won't trigger `onUpdate` callback anymore, + * unless you call `update` method manually. + * @method + * @memberof Popper + */ +function disableEventListeners() { + if (this.state.eventsEnabled) { + cancelAnimationFrame(this.scheduleUpdate); + this.state = removeEventListeners(this.reference, this.state); + } +} + +/** + * Tells if a given input is a number + * @method + * @memberof Popper.Utils + * @param {*} input to check + * @return {Boolean} + */ +function isNumeric(n) { + return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); +} + +/** + * Set the style to the given popper + * @method + * @memberof Popper.Utils + * @argument {Element} element - Element to apply the style to + * @argument {Object} styles + * Object with a list of properties and values which will be applied to the element + */ +function setStyles(element, styles) { + Object.keys(styles).forEach(function (prop) { + var unit = ''; + // add unit if the value is numeric and is one of the following + if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) { + unit = 'px'; + } + element.style[prop] = styles[prop] + unit; + }); +} + +/** + * Set the attributes to the given popper + * @method + * @memberof Popper.Utils + * @argument {Element} element - Element to apply the attributes to + * @argument {Object} styles + * Object with a list of properties and values which will be applied to the element + */ +function setAttributes(element, attributes) { + Object.keys(attributes).forEach(function (prop) { + var value = attributes[prop]; + if (value !== false) { + element.setAttribute(prop, attributes[prop]); + } else { + element.removeAttribute(prop); + } + }); +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} data.styles - List of style properties - values to apply to popper element + * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The same data object + */ +function applyStyle(data) { + // any property present in `data.styles` will be applied to the popper, + // in this way we can make the 3rd party modifiers add custom styles to it + // Be aware, modifiers could override the properties defined in the previous + // lines of this modifier! + setStyles(data.instance.popper, data.styles); + + // any property present in `data.attributes` will be applied to the popper, + // they will be set as HTML attributes of the element + setAttributes(data.instance.popper, data.attributes); + + // if arrowElement is defined and arrowStyles has some properties + if (data.arrowElement && Object.keys(data.arrowStyles).length) { + setStyles(data.arrowElement, data.arrowStyles); + } + + return data; +} + +/** + * Set the x-placement attribute before everything else because it could be used + * to add margins to the popper margins needs to be calculated to get the + * correct popper offsets. + * @method + * @memberof Popper.modifiers + * @param {HTMLElement} reference - The reference element used to position the popper + * @param {HTMLElement} popper - The HTML element used as popper + * @param {Object} options - Popper.js options + */ +function applyStyleOnLoad(reference, popper, options, modifierOptions, state) { + // compute reference element offsets + var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed); + + // compute auto placement, store placement inside the data object, + // modifiers will be able to edit `placement` if needed + // and refer to originalPlacement to know the original value + var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding); + + popper.setAttribute('x-placement', placement); + + // Apply `position` to popper before anything else because + // without the position applied we can't guarantee correct computations + setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' }); + + return options; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function computeStyle(data, options) { + var x = options.x, + y = options.y; + var popper = data.offsets.popper; + + // Remove this legacy support in Popper.js v2 + + var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) { + return modifier.name === 'applyStyle'; + }).gpuAcceleration; + if (legacyGpuAccelerationOption !== undefined) { + console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'); + } + var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration; + + var offsetParent = getOffsetParent(data.instance.popper); + var offsetParentRect = getBoundingClientRect(offsetParent); + + // Styles + var styles = { + position: popper.position + }; + + // Avoid blurry text by using full pixel integers. + // For pixel-perfect positioning, top/bottom prefers rounded + // values, while left/right prefers floored values. + var offsets = { + left: Math.floor(popper.left), + top: Math.round(popper.top), + bottom: Math.round(popper.bottom), + right: Math.floor(popper.right) + }; + + var sideA = x === 'bottom' ? 'top' : 'bottom'; + var sideB = y === 'right' ? 'left' : 'right'; + + // if gpuAcceleration is set to `true` and transform is supported, + // we use `translate3d` to apply the position to the popper we + // automatically use the supported prefixed version if needed + var prefixedProperty = getSupportedPropertyName('transform'); + + // now, let's make a step back and look at this code closely (wtf?) + // If the content of the popper grows once it's been positioned, it + // may happen that the popper gets misplaced because of the new content + // overflowing its reference element + // To avoid this problem, we provide two options (x and y), which allow + // the consumer to define the offset origin. + // If we position a popper on top of a reference element, we can set + // `x` to `top` to make the popper grow towards its top instead of + // its bottom. + var left = void 0, + top = void 0; + if (sideA === 'bottom') { + // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar) + // and not the bottom of the html element + if (offsetParent.nodeName === 'HTML') { + top = -offsetParent.clientHeight + offsets.bottom; + } else { + top = -offsetParentRect.height + offsets.bottom; + } + } else { + top = offsets.top; + } + if (sideB === 'right') { + if (offsetParent.nodeName === 'HTML') { + left = -offsetParent.clientWidth + offsets.right; + } else { + left = -offsetParentRect.width + offsets.right; + } + } else { + left = offsets.left; + } + if (gpuAcceleration && prefixedProperty) { + styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)'; + styles[sideA] = 0; + styles[sideB] = 0; + styles.willChange = 'transform'; + } else { + // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties + var invertTop = sideA === 'bottom' ? -1 : 1; + var invertLeft = sideB === 'right' ? -1 : 1; + styles[sideA] = top * invertTop; + styles[sideB] = left * invertLeft; + styles.willChange = sideA + ', ' + sideB; + } + + // Attributes + var attributes = { + 'x-placement': data.placement + }; + + // Update `data` attributes, styles and arrowStyles + data.attributes = _extends({}, attributes, data.attributes); + data.styles = _extends({}, styles, data.styles); + data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles); + + return data; +} + +/** + * Helper used to know if the given modifier depends from another one.
+ * It checks if the needed modifier is listed and enabled. + * @method + * @memberof Popper.Utils + * @param {Array} modifiers - list of modifiers + * @param {String} requestingName - name of requesting modifier + * @param {String} requestedName - name of requested modifier + * @returns {Boolean} + */ +function isModifierRequired(modifiers, requestingName, requestedName) { + var requesting = find(modifiers, function (_ref) { + var name = _ref.name; + return name === requestingName; + }); + + var isRequired = !!requesting && modifiers.some(function (modifier) { + return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order; + }); + + if (!isRequired) { + var _requesting = '`' + requestingName + '`'; + var requested = '`' + requestedName + '`'; + console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!'); + } + return isRequired; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function arrow(data, options) { + var _data$offsets$arrow; + + // arrow depends on keepTogether in order to work + if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) { + return data; + } + + var arrowElement = options.element; + + // if arrowElement is a string, suppose it's a CSS selector + if (typeof arrowElement === 'string') { + arrowElement = data.instance.popper.querySelector(arrowElement); + + // if arrowElement is not found, don't run the modifier + if (!arrowElement) { + return data; + } + } else { + // if the arrowElement isn't a query selector we must check that the + // provided DOM node is child of its popper node + if (!data.instance.popper.contains(arrowElement)) { + console.warn('WARNING: `arrow.element` must be child of its popper element!'); + return data; + } + } + + var placement = data.placement.split('-')[0]; + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var isVertical = ['left', 'right'].indexOf(placement) !== -1; + + var len = isVertical ? 'height' : 'width'; + var sideCapitalized = isVertical ? 'Top' : 'Left'; + var side = sideCapitalized.toLowerCase(); + var altSide = isVertical ? 'left' : 'top'; + var opSide = isVertical ? 'bottom' : 'right'; + var arrowElementSize = getOuterSizes(arrowElement)[len]; + + // + // extends keepTogether behavior making sure the popper and its + // reference have enough pixels in conjunction + // + + // top/left side + if (reference[opSide] - arrowElementSize < popper[side]) { + data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize); + } + // bottom/right side + if (reference[side] + arrowElementSize > popper[opSide]) { + data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide]; + } + data.offsets.popper = getClientRect(data.offsets.popper); + + // compute center of the popper + var center = reference[side] + reference[len] / 2 - arrowElementSize / 2; + + // Compute the sideValue using the updated popper offsets + // take popper margin in account because we don't have this info available + var css = getStyleComputedProperty(data.instance.popper); + var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10); + var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10); + var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; + + // prevent arrowElement from being placed not contiguously to its popper + sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0); + + data.arrowElement = arrowElement; + data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow); + + return data; +} + +/** + * Get the opposite placement variation of the given one + * @method + * @memberof Popper.Utils + * @argument {String} placement variation + * @returns {String} flipped placement variation + */ +function getOppositeVariation(variation) { + if (variation === 'end') { + return 'start'; + } else if (variation === 'start') { + return 'end'; + } + return variation; +} + +/** + * List of accepted placements to use as values of the `placement` option.
+ * Valid placements are: + * - `auto` + * - `top` + * - `right` + * - `bottom` + * - `left` + * + * Each placement can have a variation from this list: + * - `-start` + * - `-end` + * + * Variations are interpreted easily if you think of them as the left to right + * written languages. Horizontally (`top` and `bottom`), `start` is left and `end` + * is right.
+ * Vertically (`left` and `right`), `start` is top and `end` is bottom. + * + * Some valid examples are: + * - `top-end` (on top of reference, right aligned) + * - `right-start` (on right of reference, top aligned) + * - `bottom` (on bottom, centered) + * - `auto-end` (on the side with more space available, alignment depends by placement) + * + * @static + * @type {Array} + * @enum {String} + * @readonly + * @method placements + * @memberof Popper + */ +var placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']; + +// Get rid of `auto` `auto-start` and `auto-end` +var validPlacements = placements.slice(3); + +/** + * Given an initial placement, returns all the subsequent placements + * clockwise (or counter-clockwise). + * + * @method + * @memberof Popper.Utils + * @argument {String} placement - A valid placement (it accepts variations) + * @argument {Boolean} counter - Set to true to walk the placements counterclockwise + * @returns {Array} placements including their variations + */ +function clockwise(placement) { + var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var index = validPlacements.indexOf(placement); + var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index)); + return counter ? arr.reverse() : arr; +} + +var BEHAVIORS = { + FLIP: 'flip', + CLOCKWISE: 'clockwise', + COUNTERCLOCKWISE: 'counterclockwise' +}; + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function flip(data, options) { + // if `inner` modifier is enabled, we can't use the `flip` modifier + if (isModifierEnabled(data.instance.modifiers, 'inner')) { + return data; + } + + if (data.flipped && data.placement === data.originalPlacement) { + // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides + return data; + } + + var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed); + + var placement = data.placement.split('-')[0]; + var placementOpposite = getOppositePlacement(placement); + var variation = data.placement.split('-')[1] || ''; + + var flipOrder = []; + + switch (options.behavior) { + case BEHAVIORS.FLIP: + flipOrder = [placement, placementOpposite]; + break; + case BEHAVIORS.CLOCKWISE: + flipOrder = clockwise(placement); + break; + case BEHAVIORS.COUNTERCLOCKWISE: + flipOrder = clockwise(placement, true); + break; + default: + flipOrder = options.behavior; + } + + flipOrder.forEach(function (step, index) { + if (placement !== step || flipOrder.length === index + 1) { + return data; + } + + placement = data.placement.split('-')[0]; + placementOpposite = getOppositePlacement(placement); + + var popperOffsets = data.offsets.popper; + var refOffsets = data.offsets.reference; + + // using floor because the reference offsets may contain decimals we are not going to consider here + var floor = Math.floor; + var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom); + + var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left); + var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right); + var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top); + var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom); + + var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom; + + // flip the variation if required + var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; + var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom); + + if (overlapsRef || overflowsBoundaries || flippedVariation) { + // this boolean to detect any flip loop + data.flipped = true; + + if (overlapsRef || overflowsBoundaries) { + placement = flipOrder[index + 1]; + } + + if (flippedVariation) { + variation = getOppositeVariation(variation); + } + + data.placement = placement + (variation ? '-' + variation : ''); + + // this object contains `position`, we want to preserve it along with + // any additional property we may add in the future + data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); + + data = runModifiers(data.instance.modifiers, data, 'flip'); + } + }); + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function keepTogether(data) { + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var placement = data.placement.split('-')[0]; + var floor = Math.floor; + var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; + var side = isVertical ? 'right' : 'bottom'; + var opSide = isVertical ? 'left' : 'top'; + var measurement = isVertical ? 'width' : 'height'; + + if (popper[side] < floor(reference[opSide])) { + data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement]; + } + if (popper[opSide] > floor(reference[side])) { + data.offsets.popper[opSide] = floor(reference[side]); + } + + return data; +} + +/** + * Converts a string containing value + unit into a px value number + * @function + * @memberof {modifiers~offset} + * @private + * @argument {String} str - Value + unit string + * @argument {String} measurement - `height` or `width` + * @argument {Object} popperOffsets + * @argument {Object} referenceOffsets + * @returns {Number|String} + * Value in pixels, or original string if no values were extracted + */ +function toValue(str, measurement, popperOffsets, referenceOffsets) { + // separate value from unit + var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/); + var value = +split[1]; + var unit = split[2]; + + // If it's not a number it's an operator, I guess + if (!value) { + return str; + } + + if (unit.indexOf('%') === 0) { + var element = void 0; + switch (unit) { + case '%p': + element = popperOffsets; + break; + case '%': + case '%r': + default: + element = referenceOffsets; + } + + var rect = getClientRect(element); + return rect[measurement] / 100 * value; + } else if (unit === 'vh' || unit === 'vw') { + // if is a vh or vw, we calculate the size based on the viewport + var size = void 0; + if (unit === 'vh') { + size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); + } else { + size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); + } + return size / 100 * value; + } else { + // if is an explicit pixel unit, we get rid of the unit and keep the value + // if is an implicit unit, it's px, and we return just the value + return value; + } +} + +/** + * Parse an `offset` string to extrapolate `x` and `y` numeric offsets. + * @function + * @memberof {modifiers~offset} + * @private + * @argument {String} offset + * @argument {Object} popperOffsets + * @argument {Object} referenceOffsets + * @argument {String} basePlacement + * @returns {Array} a two cells array with x and y offsets in numbers + */ +function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) { + var offsets = [0, 0]; + + // Use height if placement is left or right and index is 0 otherwise use width + // in this way the first offset will use an axis and the second one + // will use the other one + var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; + + // Split the offset string to obtain a list of values and operands + // The regex addresses values with the plus or minus sign in front (+10, -20, etc) + var fragments = offset.split(/(\+|\-)/).map(function (frag) { + return frag.trim(); + }); + + // Detect if the offset string contains a pair of values or a single one + // they could be separated by comma or space + var divider = fragments.indexOf(find(fragments, function (frag) { + return frag.search(/,|\s/) !== -1; + })); + + if (fragments[divider] && fragments[divider].indexOf(',') === -1) { + console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.'); + } + + // If divider is found, we divide the list of values and operands to divide + // them by ofset X and Y. + var splitRegex = /\s*,\s*|\s+/; + var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments]; + + // Convert the values with units to absolute pixels to allow our computations + ops = ops.map(function (op, index) { + // Most of the units rely on the orientation of the popper + var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width'; + var mergeWithPrevious = false; + return op + // This aggregates any `+` or `-` sign that aren't considered operators + // e.g.: 10 + +5 => [10, +, +5] + .reduce(function (a, b) { + if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) { + a[a.length - 1] = b; + mergeWithPrevious = true; + return a; + } else if (mergeWithPrevious) { + a[a.length - 1] += b; + mergeWithPrevious = false; + return a; + } else { + return a.concat(b); + } + }, []) + // Here we convert the string values into number values (in px) + .map(function (str) { + return toValue(str, measurement, popperOffsets, referenceOffsets); + }); + }); + + // Loop trough the offsets arrays and execute the operations + ops.forEach(function (op, index) { + op.forEach(function (frag, index2) { + if (isNumeric(frag)) { + offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1); + } + }); + }); + return offsets; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @argument {Number|String} options.offset=0 + * The offset value as described in the modifier description + * @returns {Object} The data object, properly modified + */ +function offset(data, _ref) { + var offset = _ref.offset; + var placement = data.placement, + _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var basePlacement = placement.split('-')[0]; + + var offsets = void 0; + if (isNumeric(+offset)) { + offsets = [+offset, 0]; + } else { + offsets = parseOffset(offset, popper, reference, basePlacement); + } + + if (basePlacement === 'left') { + popper.top += offsets[0]; + popper.left -= offsets[1]; + } else if (basePlacement === 'right') { + popper.top += offsets[0]; + popper.left += offsets[1]; + } else if (basePlacement === 'top') { + popper.left += offsets[0]; + popper.top -= offsets[1]; + } else if (basePlacement === 'bottom') { + popper.left += offsets[0]; + popper.top += offsets[1]; + } + + data.popper = popper; + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function preventOverflow(data, options) { + var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper); + + // If offsetParent is the reference element, we really want to + // go one step up and use the next offsetParent as reference to + // avoid to make this modifier completely useless and look like broken + if (data.instance.reference === boundariesElement) { + boundariesElement = getOffsetParent(boundariesElement); + } + + // NOTE: DOM access here + // resets the popper's position so that the document size can be calculated excluding + // the size of the popper element itself + var transformProp = getSupportedPropertyName('transform'); + var popperStyles = data.instance.popper.style; // assignment to help minification + var top = popperStyles.top, + left = popperStyles.left, + transform = popperStyles[transformProp]; + + popperStyles.top = ''; + popperStyles.left = ''; + popperStyles[transformProp] = ''; + + var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed); + + // NOTE: DOM access here + // restores the original style properties after the offsets have been computed + popperStyles.top = top; + popperStyles.left = left; + popperStyles[transformProp] = transform; + + options.boundaries = boundaries; + + var order = options.priority; + var popper = data.offsets.popper; + + var check = { + primary: function primary(placement) { + var value = popper[placement]; + if (popper[placement] < boundaries[placement] && !options.escapeWithReference) { + value = Math.max(popper[placement], boundaries[placement]); + } + return defineProperty({}, placement, value); + }, + secondary: function secondary(placement) { + var mainSide = placement === 'right' ? 'left' : 'top'; + var value = popper[mainSide]; + if (popper[placement] > boundaries[placement] && !options.escapeWithReference) { + value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height)); + } + return defineProperty({}, mainSide, value); + } + }; + + order.forEach(function (placement) { + var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary'; + popper = _extends({}, popper, check[side](placement)); + }); + + data.offsets.popper = popper; + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function shift(data) { + var placement = data.placement; + var basePlacement = placement.split('-')[0]; + var shiftvariation = placement.split('-')[1]; + + // if shift shiftvariation is specified, run the modifier + if (shiftvariation) { + var _data$offsets = data.offsets, + reference = _data$offsets.reference, + popper = _data$offsets.popper; + + var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1; + var side = isVertical ? 'left' : 'top'; + var measurement = isVertical ? 'width' : 'height'; + + var shiftOffsets = { + start: defineProperty({}, side, reference[side]), + end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement]) + }; + + data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]); + } + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function hide(data) { + if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) { + return data; + } + + var refRect = data.offsets.reference; + var bound = find(data.instance.modifiers, function (modifier) { + return modifier.name === 'preventOverflow'; + }).boundaries; + + if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) { + // Avoid unnecessary DOM access if visibility hasn't changed + if (data.hide === true) { + return data; + } + + data.hide = true; + data.attributes['x-out-of-boundaries'] = ''; + } else { + // Avoid unnecessary DOM access if visibility hasn't changed + if (data.hide === false) { + return data; + } + + data.hide = false; + data.attributes['x-out-of-boundaries'] = false; + } + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function inner(data) { + var placement = data.placement; + var basePlacement = placement.split('-')[0]; + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1; + + var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1; + + popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0); + + data.placement = getOppositePlacement(placement); + data.offsets.popper = getClientRect(popper); + + return data; +} + +/** + * Modifier function, each modifier can have a function of this type assigned + * to its `fn` property.
+ * These functions will be called on each update, this means that you must + * make sure they are performant enough to avoid performance bottlenecks. + * + * @function ModifierFn + * @argument {dataObject} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {dataObject} The data object, properly modified + */ + +/** + * Modifiers are plugins used to alter the behavior of your poppers.
+ * Popper.js uses a set of 9 modifiers to provide all the basic functionalities + * needed by the library. + * + * Usually you don't want to override the `order`, `fn` and `onLoad` props. + * All the other properties are configurations that could be tweaked. + * @namespace modifiers + */ +var modifiers = { + /** + * Modifier used to shift the popper on the start or end of its reference + * element.
+ * It will read the variation of the `placement` property.
+ * It can be one either `-end` or `-start`. + * @memberof modifiers + * @inner + */ + shift: { + /** @prop {number} order=100 - Index used to define the order of execution */ + order: 100, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: shift + }, + + /** + * The `offset` modifier can shift your popper on both its axis. + * + * It accepts the following units: + * - `px` or unit-less, interpreted as pixels + * - `%` or `%r`, percentage relative to the length of the reference element + * - `%p`, percentage relative to the length of the popper element + * - `vw`, CSS viewport width unit + * - `vh`, CSS viewport height unit + * + * For length is intended the main axis relative to the placement of the popper.
+ * This means that if the placement is `top` or `bottom`, the length will be the + * `width`. In case of `left` or `right`, it will be the `height`. + * + * You can provide a single value (as `Number` or `String`), or a pair of values + * as `String` divided by a comma or one (or more) white spaces.
+ * The latter is a deprecated method because it leads to confusion and will be + * removed in v2.
+ * Additionally, it accepts additions and subtractions between different units. + * Note that multiplications and divisions aren't supported. + * + * Valid examples are: + * ``` + * 10 + * '10%' + * '10, 10' + * '10%, 10' + * '10 + 10%' + * '10 - 5vh + 3%' + * '-10px + 5vh, 5px - 6%' + * ``` + * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap + * > with their reference element, unfortunately, you will have to disable the `flip` modifier. + * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373). + * + * @memberof modifiers + * @inner + */ + offset: { + /** @prop {number} order=200 - Index used to define the order of execution */ + order: 200, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: offset, + /** @prop {Number|String} offset=0 + * The offset value as described in the modifier description + */ + offset: 0 + }, + + /** + * Modifier used to prevent the popper from being positioned outside the boundary. + * + * A scenario exists where the reference itself is not within the boundaries.
+ * We can say it has "escaped the boundaries" — or just "escaped".
+ * In this case we need to decide whether the popper should either: + * + * - detach from the reference and remain "trapped" in the boundaries, or + * - if it should ignore the boundary and "escape with its reference" + * + * When `escapeWithReference` is set to`true` and reference is completely + * outside its boundaries, the popper will overflow (or completely leave) + * the boundaries in order to remain attached to the edge of the reference. + * + * @memberof modifiers + * @inner + */ + preventOverflow: { + /** @prop {number} order=300 - Index used to define the order of execution */ + order: 300, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: preventOverflow, + /** + * @prop {Array} [priority=['left','right','top','bottom']] + * Popper will try to prevent overflow following these priorities by default, + * then, it could overflow on the left and on top of the `boundariesElement` + */ + priority: ['left', 'right', 'top', 'bottom'], + /** + * @prop {number} padding=5 + * Amount of pixel used to define a minimum distance between the boundaries + * and the popper. This makes sure the popper always has a little padding + * between the edges of its container + */ + padding: 5, + /** + * @prop {String|HTMLElement} boundariesElement='scrollParent' + * Boundaries used by the modifier. Can be `scrollParent`, `window`, + * `viewport` or any DOM element. + */ + boundariesElement: 'scrollParent' + }, + + /** + * Modifier used to make sure the reference and its popper stay near each other + * without leaving any gap between the two. Especially useful when the arrow is + * enabled and you want to ensure that it points to its reference element. + * It cares only about the first axis. You can still have poppers with margin + * between the popper and its reference element. + * @memberof modifiers + * @inner + */ + keepTogether: { + /** @prop {number} order=400 - Index used to define the order of execution */ + order: 400, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: keepTogether + }, + + /** + * This modifier is used to move the `arrowElement` of the popper to make + * sure it is positioned between the reference element and its popper element. + * It will read the outer size of the `arrowElement` node to detect how many + * pixels of conjunction are needed. + * + * It has no effect if no `arrowElement` is provided. + * @memberof modifiers + * @inner + */ + arrow: { + /** @prop {number} order=500 - Index used to define the order of execution */ + order: 500, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: arrow, + /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */ + element: '[x-arrow]' + }, + + /** + * Modifier used to flip the popper's placement when it starts to overlap its + * reference element. + * + * Requires the `preventOverflow` modifier before it in order to work. + * + * **NOTE:** this modifier will interrupt the current update cycle and will + * restart it if it detects the need to flip the placement. + * @memberof modifiers + * @inner + */ + flip: { + /** @prop {number} order=600 - Index used to define the order of execution */ + order: 600, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: flip, + /** + * @prop {String|Array} behavior='flip' + * The behavior used to change the popper's placement. It can be one of + * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid + * placements (with optional variations) + */ + behavior: 'flip', + /** + * @prop {number} padding=5 + * The popper will flip if it hits the edges of the `boundariesElement` + */ + padding: 5, + /** + * @prop {String|HTMLElement} boundariesElement='viewport' + * The element which will define the boundaries of the popper position. + * The popper will never be placed outside of the defined boundaries + * (except if `keepTogether` is enabled) + */ + boundariesElement: 'viewport' + }, + + /** + * Modifier used to make the popper flow toward the inner of the reference element. + * By default, when this modifier is disabled, the popper will be placed outside + * the reference element. + * @memberof modifiers + * @inner + */ + inner: { + /** @prop {number} order=700 - Index used to define the order of execution */ + order: 700, + /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */ + enabled: false, + /** @prop {ModifierFn} */ + fn: inner + }, + + /** + * Modifier used to hide the popper when its reference element is outside of the + * popper boundaries. It will set a `x-out-of-boundaries` attribute which can + * be used to hide with a CSS selector the popper when its reference is + * out of boundaries. + * + * Requires the `preventOverflow` modifier before it in order to work. + * @memberof modifiers + * @inner + */ + hide: { + /** @prop {number} order=800 - Index used to define the order of execution */ + order: 800, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: hide + }, + + /** + * Computes the style that will be applied to the popper element to gets + * properly positioned. + * + * Note that this modifier will not touch the DOM, it just prepares the styles + * so that `applyStyle` modifier can apply it. This separation is useful + * in case you need to replace `applyStyle` with a custom implementation. + * + * This modifier has `850` as `order` value to maintain backward compatibility + * with previous versions of Popper.js. Expect the modifiers ordering method + * to change in future major versions of the library. + * + * @memberof modifiers + * @inner + */ + computeStyle: { + /** @prop {number} order=850 - Index used to define the order of execution */ + order: 850, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: computeStyle, + /** + * @prop {Boolean} gpuAcceleration=true + * If true, it uses the CSS 3D transformation to position the popper. + * Otherwise, it will use the `top` and `left` properties + */ + gpuAcceleration: true, + /** + * @prop {string} [x='bottom'] + * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin. + * Change this if your popper should grow in a direction different from `bottom` + */ + x: 'bottom', + /** + * @prop {string} [x='left'] + * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin. + * Change this if your popper should grow in a direction different from `right` + */ + y: 'right' + }, + + /** + * Applies the computed styles to the popper element. + * + * All the DOM manipulations are limited to this modifier. This is useful in case + * you want to integrate Popper.js inside a framework or view library and you + * want to delegate all the DOM manipulations to it. + * + * Note that if you disable this modifier, you must make sure the popper element + * has its position set to `absolute` before Popper.js can do its work! + * + * Just disable this modifier and define your own to achieve the desired effect. + * + * @memberof modifiers + * @inner + */ + applyStyle: { + /** @prop {number} order=900 - Index used to define the order of execution */ + order: 900, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: applyStyle, + /** @prop {Function} */ + onLoad: applyStyleOnLoad, + /** + * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier + * @prop {Boolean} gpuAcceleration=true + * If true, it uses the CSS 3D transformation to position the popper. + * Otherwise, it will use the `top` and `left` properties + */ + gpuAcceleration: undefined + } +}; + +/** + * The `dataObject` is an object containing all the information used by Popper.js. + * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks. + * @name dataObject + * @property {Object} data.instance The Popper.js instance + * @property {String} data.placement Placement applied to popper + * @property {String} data.originalPlacement Placement originally defined on init + * @property {Boolean} data.flipped True if popper has been flipped by flip modifier + * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper + * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier + * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`) + * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`) + * @property {Object} data.boundaries Offsets of the popper boundaries + * @property {Object} data.offsets The measurements of popper, reference and arrow elements + * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values + * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values + * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0 + */ + +/** + * Default options provided to Popper.js constructor.
+ * These can be overridden using the `options` argument of Popper.js.
+ * To override an option, simply pass an object with the same + * structure of the `options` object, as the 3rd argument. For example: + * ``` + * new Popper(ref, pop, { + * modifiers: { + * preventOverflow: { enabled: false } + * } + * }) + * ``` + * @type {Object} + * @static + * @memberof Popper + */ +var Defaults = { + /** + * Popper's placement. + * @prop {Popper.placements} placement='bottom' + */ + placement: 'bottom', + + /** + * Set this to true if you want popper to position it self in 'fixed' mode + * @prop {Boolean} positionFixed=false + */ + positionFixed: false, + + /** + * Whether events (resize, scroll) are initially enabled. + * @prop {Boolean} eventsEnabled=true + */ + eventsEnabled: true, + + /** + * Set to true if you want to automatically remove the popper when + * you call the `destroy` method. + * @prop {Boolean} removeOnDestroy=false + */ + removeOnDestroy: false, + + /** + * Callback called when the popper is created.
+ * By default, it is set to no-op.
+ * Access Popper.js instance with `data.instance`. + * @prop {onCreate} + */ + onCreate: function onCreate() {}, + + /** + * Callback called when the popper is updated. This callback is not called + * on the initialization/creation of the popper, but only on subsequent + * updates.
+ * By default, it is set to no-op.
+ * Access Popper.js instance with `data.instance`. + * @prop {onUpdate} + */ + onUpdate: function onUpdate() {}, + + /** + * List of modifiers used to modify the offsets before they are applied to the popper. + * They provide most of the functionalities of Popper.js. + * @prop {modifiers} + */ + modifiers: modifiers +}; + +/** + * @callback onCreate + * @param {dataObject} data + */ + +/** + * @callback onUpdate + * @param {dataObject} data + */ + +// Utils +// Methods +var Popper = function () { + /** + * Creates a new Popper.js instance. + * @class Popper + * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper + * @param {HTMLElement} popper - The HTML element used as the popper + * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults) + * @return {Object} instance - The generated Popper.js instance + */ + function Popper(reference, popper) { + var _this = this; + + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + classCallCheck(this, Popper); + + this.scheduleUpdate = function () { + return requestAnimationFrame(_this.update); + }; + + // make update() debounced, so that it only runs at most once-per-tick + this.update = debounce(this.update.bind(this)); + + // with {} we create a new object with the options inside it + this.options = _extends({}, Popper.Defaults, options); + + // init state + this.state = { + isDestroyed: false, + isCreated: false, + scrollParents: [] + }; + + // get reference and popper elements (allow jQuery wrappers) + this.reference = reference && reference.jquery ? reference[0] : reference; + this.popper = popper && popper.jquery ? popper[0] : popper; + + // Deep merge modifiers options + this.options.modifiers = {}; + Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) { + _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); + }); + + // Refactoring modifiers' list (Object => Array) + this.modifiers = Object.keys(this.options.modifiers).map(function (name) { + return _extends({ + name: name + }, _this.options.modifiers[name]); + }) + // sort the modifiers by order + .sort(function (a, b) { + return a.order - b.order; + }); + + // modifiers have the ability to execute arbitrary code when Popper.js get inited + // such code is executed in the same order of its modifier + // they could add new properties to their options configuration + // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`! + this.modifiers.forEach(function (modifierOptions) { + if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) { + modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state); + } + }); + + // fire the first update to position the popper in the right place + this.update(); + + var eventsEnabled = this.options.eventsEnabled; + if (eventsEnabled) { + // setup event listeners, they will take care of update the position in specific situations + this.enableEventListeners(); + } + + this.state.eventsEnabled = eventsEnabled; + } + + // We can't use class properties because they don't get listed in the + // class prototype and break stuff like Sinon stubs + + + createClass(Popper, [{ + key: 'update', + value: function update$$1() { + return update.call(this); + } + }, { + key: 'destroy', + value: function destroy$$1() { + return destroy.call(this); + } + }, { + key: 'enableEventListeners', + value: function enableEventListeners$$1() { + return enableEventListeners.call(this); + } + }, { + key: 'disableEventListeners', + value: function disableEventListeners$$1() { + return disableEventListeners.call(this); + } + + /** + * Schedules an update. It will run on the next UI update available. + * @method scheduleUpdate + * @memberof Popper + */ + + + /** + * Collection of utilities useful when writing custom modifiers. + * Starting from version 1.7, this method is available only if you + * include `popper-utils.js` before `popper.js`. + * + * **DEPRECATION**: This way to access PopperUtils is deprecated + * and will be removed in v2! Use the PopperUtils module directly instead. + * Due to the high instability of the methods contained in Utils, we can't + * guarantee them to follow semver. Use them at your own risk! + * @static + * @private + * @type {Object} + * @deprecated since version 1.8 + * @member Utils + * @memberof Popper + */ + + }]); + return Popper; +}(); + +/** + * The `referenceObject` is an object that provides an interface compatible with Popper.js + * and lets you use it as replacement of a real DOM node.
+ * You can use this method to position a popper relatively to a set of coordinates + * in case you don't have a DOM node to use as reference. + * + * ``` + * new Popper(referenceObject, popperNode); + * ``` + * + * NB: This feature isn't supported in Internet Explorer 10. + * @name referenceObject + * @property {Function} data.getBoundingClientRect + * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method. + * @property {number} data.clientWidth + * An ES6 getter that will return the width of the virtual reference element. + * @property {number} data.clientHeight + * An ES6 getter that will return the height of the virtual reference element. + */ + + +Popper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils; +Popper.placements = placements; +Popper.Defaults = Defaults; + +return Popper; + +}))); +//# sourceMappingURL=popper.js.map \ No newline at end of file diff --git a/dist/html-static/js/library/tippy.all.js b/dist/html-static/js/library/tippy.all.js new file mode 100644 index 000000000..ce8fa2ca6 --- /dev/null +++ b/dist/html-static/js/library/tippy.all.js @@ -0,0 +1,4282 @@ +/*! +* Tippy.js v2.6.0 +* (c) 2017-2018 atomiks +* MIT +*/ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global.tippy = factory()); +}(this, (function () { 'use strict'; + +var styles = ".tippy-touch{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{max-width:350px;-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4}.tippy-popper[data-html]{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 90%;transform-origin:0 90%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-50%,25%);transform:scale(6) translate(-50%,25%);opacity:1}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1) translate(-50%,25%);transform:scale(1) translate(-50%,25%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -90%;transform-origin:0 -90%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-50%,-125%);transform:scale(6) translate(-50%,-125%);opacity:1}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1) translate(-50%,-125%);transform:scale(1) translate(-50%,-125%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:100% 0;transform-origin:100% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(40%,-50%);transform:scale(6) translate(40%,-50%);opacity:1}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(40%,-50%);transform:scale(1.5) translate(40%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-100% 0;transform-origin:-100% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-140%,-50%);transform:scale(6) translate(-140%,-50%);opacity:1}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(-140%,-50%);transform:scale(1.5) translate(-140%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-animatefill] .tippy-content{transition:-webkit-clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98),-webkit-clip-path cubic-bezier(.46,.1,.52,.98)}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:26%;left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:\"\";float:left;padding-top:100%}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(100% 100% at 50% 50%);clip-path:ellipse(100% 100% at 50% 50%)}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(5% 50% at 50% 50%);clip-path:ellipse(5% 50% at 50% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 0 50%);clip-path:ellipse(135% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(40% 100% at 0 50%);clip-path:ellipse(40% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 100% 50%);clip-path:ellipse(135% 100% at 100% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(40% 100% at 100% 50%);clip-path:ellipse(40% 100% at 100% 50%)}@media (max-width:360px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}"; + +var version = "2.6.0"; + +var isBrowser = typeof window !== 'undefined'; + +var isIE = isBrowser && /MSIE |Trident\//.test(navigator.userAgent); + +var browser = {}; + +if (isBrowser) { + browser.supported = 'requestAnimationFrame' in window; + browser.supportsTouch = 'ontouchstart' in window; + browser.usingTouch = false; + browser.dynamicInputDetection = true; + browser.iOS = /iPhone|iPad|iPod/.test(navigator.platform) && !window.MSStream; + browser.onUserInputChange = function () {}; +} + +/** + * Selector constants used for grabbing elements + */ +var selectors = { + POPPER: '.tippy-popper', + TOOLTIP: '.tippy-tooltip', + CONTENT: '.tippy-content', + BACKDROP: '.tippy-backdrop', + ARROW: '.tippy-arrow', + ROUND_ARROW: '.tippy-roundarrow', + REFERENCE: '[data-tippy]' +}; + +var defaults = { + placement: 'top', + livePlacement: true, + trigger: 'mouseenter focus', + animation: 'shift-away', + html: false, + animateFill: true, + arrow: false, + delay: [0, 20], + duration: [350, 300], + interactive: false, + interactiveBorder: 2, + theme: 'dark', + size: 'regular', + distance: 10, + offset: 0, + hideOnClick: true, + multiple: false, + followCursor: false, + inertia: false, + updateDuration: 350, + sticky: false, + appendTo: function appendTo() { + return document.body; + }, + zIndex: 9999, + touchHold: false, + performance: false, + dynamicTitle: false, + flip: true, + flipBehavior: 'flip', + arrowType: 'sharp', + arrowTransform: '', + maxWidth: '', + target: null, + allowTitleHTML: true, + popperOptions: {}, + createPopperInstanceOnInit: false, + onShow: function onShow() {}, + onShown: function onShown() {}, + onHide: function onHide() {}, + onHidden: function onHidden() {} +}; + +/** + * The keys of the defaults object for reducing down into a new object + * Used in `getIndividualOptions()` + */ +var defaultsKeys = browser.supported && Object.keys(defaults); + +/** + * Determines if a value is an object literal + * @param {*} value + * @return {Boolean} + */ +function isObjectLiteral(value) { + return {}.toString.call(value) === '[object Object]'; +} + +/** + * Ponyfill for Array.from + * @param {*} value + * @return {Array} + */ +function toArray(value) { + return [].slice.call(value); +} + +/** + * Returns an array of elements based on the selector input + * @param {String|Element|Element[]|NodeList|Object} selector + * @return {Element[]} + */ +function getArrayOfElements(selector) { + if (selector instanceof Element || isObjectLiteral(selector)) { + return [selector]; + } + + if (selector instanceof NodeList) { + return toArray(selector); + } + + if (Array.isArray(selector)) { + return selector; + } + + try { + return toArray(document.querySelectorAll(selector)); + } catch (_) { + return []; + } +} + +/** + * Polyfills needed props/methods for a virtual reference object + * NOTE: in v3.0 this will be pure + * @param {Object} reference + */ +function polyfillVirtualReferenceProps(reference) { + reference.refObj = true; + reference.attributes = reference.attributes || {}; + reference.setAttribute = function (key, val) { + reference.attributes[key] = val; + }; + reference.getAttribute = function (key) { + return reference.attributes[key]; + }; + reference.removeAttribute = function (key) { + delete reference.attributes[key]; + }; + reference.hasAttribute = function (key) { + return key in reference.attributes; + }; + reference.addEventListener = function () {}; + reference.removeEventListener = function () {}; + reference.classList = { + classNames: {}, + add: function add(key) { + return reference.classList.classNames[key] = true; + }, + remove: function remove(key) { + delete reference.classList.classNames[key]; + return true; + }, + contains: function contains(key) { + return key in reference.classList.classNames; + } + }; +} + +/** + * Returns the supported prefixed property - only `webkit` is needed, `moz`, `ms` and `o` are obsolete + * @param {String} property + * @return {String} - browser supported prefixed property + */ +function prefix(property) { + var prefixes = ['', 'webkit']; + var upperProp = property.charAt(0).toUpperCase() + property.slice(1); + + for (var i = 0; i < prefixes.length; i++) { + var _prefix = prefixes[i]; + var prefixedProp = _prefix ? _prefix + upperProp : property; + if (typeof document.body.style[prefixedProp] !== 'undefined') { + return prefixedProp; + } + } + + return null; +} + +/** + * Creates a div element + * @return {Element} + */ +function div() { + return document.createElement('div'); +} + +/** + * Creates a popper element then returns it + * @param {Number} id - the popper id + * @param {String} title - the tooltip's `title` attribute + * @param {Object} options - individual options + * @return {Element} - the popper element + */ +function createPopperElement(id, title, options) { + var popper = div(); + popper.setAttribute('class', 'tippy-popper'); + popper.setAttribute('role', 'tooltip'); + popper.setAttribute('id', 'tippy-' + id); + popper.style.zIndex = options.zIndex; + popper.style.maxWidth = options.maxWidth; + + var tooltip = div(); + tooltip.setAttribute('class', 'tippy-tooltip'); + tooltip.setAttribute('data-size', options.size); + tooltip.setAttribute('data-animation', options.animation); + tooltip.setAttribute('data-state', 'hidden'); + options.theme.split(' ').forEach(function (t) { + tooltip.classList.add(t + '-theme'); + }); + + var content = div(); + content.setAttribute('class', 'tippy-content'); + + if (options.arrow) { + var arrow = div(); + arrow.style[prefix('transform')] = options.arrowTransform; + + if (options.arrowType === 'round') { + arrow.classList.add('tippy-roundarrow'); + arrow.innerHTML = ''; + } else { + arrow.classList.add('tippy-arrow'); + } + + tooltip.appendChild(arrow); + } + + if (options.animateFill) { + // Create animateFill circle element for animation + tooltip.setAttribute('data-animatefill', ''); + var backdrop = div(); + backdrop.classList.add('tippy-backdrop'); + backdrop.setAttribute('data-state', 'hidden'); + tooltip.appendChild(backdrop); + } + + if (options.inertia) { + // Change transition timing function cubic bezier + tooltip.setAttribute('data-inertia', ''); + } + + if (options.interactive) { + tooltip.setAttribute('data-interactive', ''); + } + + var html = options.html; + if (html) { + var templateId = void 0; + + if (html instanceof Element) { + content.appendChild(html); + templateId = '#' + (html.id || 'tippy-html-template'); + } else { + // trick linters: https://github.com/atomiks/tippyjs/issues/197 + content[true && 'innerHTML'] = document.querySelector(html)[true && 'innerHTML']; + templateId = html; + } + + popper.setAttribute('data-html', ''); + tooltip.setAttribute('data-template-id', templateId); + + if (options.interactive) { + popper.setAttribute('tabindex', '-1'); + } + } else { + content[options.allowTitleHTML ? 'innerHTML' : 'textContent'] = title; + } + + tooltip.appendChild(content); + popper.appendChild(tooltip); + + return popper; +} + +/** + * Creates a trigger by adding the necessary event listeners to the reference element + * @param {String} eventType - the custom event specified in the `trigger` setting + * @param {Element} reference + * @param {Object} handlers - the handlers for each event + * @param {Object} options + * @return {Array} - array of listener objects + */ +function createTrigger(eventType, reference, handlers, options) { + var onTrigger = handlers.onTrigger, + onMouseLeave = handlers.onMouseLeave, + onBlur = handlers.onBlur, + onDelegateShow = handlers.onDelegateShow, + onDelegateHide = handlers.onDelegateHide; + + var listeners = []; + + if (eventType === 'manual') return listeners; + + var on = function on(eventType, handler) { + reference.addEventListener(eventType, handler); + listeners.push({ event: eventType, handler: handler }); + }; + + if (!options.target) { + on(eventType, onTrigger); + + if (browser.supportsTouch && options.touchHold) { + on('touchstart', onTrigger); + on('touchend', onMouseLeave); + } + if (eventType === 'mouseenter') { + on('mouseleave', onMouseLeave); + } + if (eventType === 'focus') { + on(isIE ? 'focusout' : 'blur', onBlur); + } + } else { + if (browser.supportsTouch && options.touchHold) { + on('touchstart', onDelegateShow); + on('touchend', onDelegateHide); + } + if (eventType === 'mouseenter') { + on('mouseover', onDelegateShow); + on('mouseout', onDelegateHide); + } + if (eventType === 'focus') { + on('focusin', onDelegateShow); + on('focusout', onDelegateHide); + } + if (eventType === 'click') { + on('click', onDelegateShow); + } + } + + return listeners; +} + +var classCallCheck = function (instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +}; + +var createClass = function () { + function defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + return function (Constructor, protoProps, staticProps) { + if (protoProps) defineProperties(Constructor.prototype, protoProps); + if (staticProps) defineProperties(Constructor, staticProps); + return Constructor; + }; +}(); + + + + + + + +var _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; +}; + +/** + * Returns an object of settings to override global settings + * @param {Element} reference + * @param {Object} instanceOptions + * @return {Object} - individual options + */ +function getIndividualOptions(reference, instanceOptions) { + var options = defaultsKeys.reduce(function (acc, key) { + var val = reference.getAttribute('data-tippy-' + key.toLowerCase()) || instanceOptions[key]; + + // Convert strings to booleans + if (val === 'false') val = false; + if (val === 'true') val = true; + + // Convert number strings to true numbers + if (isFinite(val) && !isNaN(parseFloat(val))) { + val = parseFloat(val); + } + + // Convert array strings to actual arrays + if (key !== 'target' && typeof val === 'string' && val.trim().charAt(0) === '[') { + val = JSON.parse(val); + } + + acc[key] = val; + + return acc; + }, {}); + + return _extends({}, instanceOptions, options); +} + +/** + * Evaluates/modifies the options object for appropriate behavior + * @param {Element|Object} reference + * @param {Object} options + * @return {Object} modified/evaluated options + */ +function evaluateOptions(reference, options) { + // animateFill is disabled if an arrow is true + if (options.arrow) { + options.animateFill = false; + } + + if (options.appendTo && typeof options.appendTo === 'function') { + options.appendTo = options.appendTo(); + } + + if (typeof options.html === 'function') { + options.html = options.html(reference); + } + + return options; +} + +/** + * Returns inner elements of the popper element + * @param {Element} popper + * @return {Object} + */ +function getInnerElements(popper) { + var select = function select(s) { + return popper.querySelector(s); + }; + return { + tooltip: select(selectors.TOOLTIP), + backdrop: select(selectors.BACKDROP), + content: select(selectors.CONTENT), + arrow: select(selectors.ARROW) || select(selectors.ROUND_ARROW) + }; +} + +/** + * Removes the title from an element, setting `data-original-title` + * appropriately + * @param {Element} el + */ +function removeTitle(el) { + var title = el.getAttribute('title'); + // Only set `data-original-title` attr if there is a title + if (title) { + el.setAttribute('data-original-title', title); + } + el.removeAttribute('title'); +} + +/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.14.4 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +var isBrowser$1 = typeof window !== 'undefined' && typeof document !== 'undefined'; + +var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; +var timeoutDuration = 0; +for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { + if (isBrowser$1 && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { + timeoutDuration = 1; + break; + } +} + +function microtaskDebounce(fn) { + var called = false; + return function () { + if (called) { + return; + } + called = true; + window.Promise.resolve().then(function () { + called = false; + fn(); + }); + }; +} + +function taskDebounce(fn) { + var scheduled = false; + return function () { + if (!scheduled) { + scheduled = true; + setTimeout(function () { + scheduled = false; + fn(); + }, timeoutDuration); + } + }; +} + +var supportsMicroTasks = isBrowser$1 && window.Promise; + +/** +* Create a debounced version of a method, that's asynchronously deferred +* but called in the minimum time possible. +* +* @method +* @memberof Popper.Utils +* @argument {Function} fn +* @returns {Function} +*/ +var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce; + +/** + * Check if the given variable is a function + * @method + * @memberof Popper.Utils + * @argument {Any} functionToCheck - variable to check + * @returns {Boolean} answer to: is a function? + */ +function isFunction(functionToCheck) { + var getType = {}; + return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; +} + +/** + * Get CSS computed property of the given element + * @method + * @memberof Popper.Utils + * @argument {Eement} element + * @argument {String} property + */ +function getStyleComputedProperty(element, property) { + if (element.nodeType !== 1) { + return []; + } + // NOTE: 1 DOM access here + var css = getComputedStyle(element, null); + return property ? css[property] : css; +} + +/** + * Returns the parentNode or the host of the element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} parent + */ +function getParentNode(element) { + if (element.nodeName === 'HTML') { + return element; + } + return element.parentNode || element.host; +} + +/** + * Returns the scrolling parent of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} scroll parent + */ +function getScrollParent(element) { + // Return body, `getScroll` will take care to get the correct `scrollTop` from it + if (!element) { + return document.body; + } + + switch (element.nodeName) { + case 'HTML': + case 'BODY': + return element.ownerDocument.body; + case '#document': + return element.body; + } + + // Firefox want us to check `-x` and `-y` variations as well + + var _getStyleComputedProp = getStyleComputedProperty(element), + overflow = _getStyleComputedProp.overflow, + overflowX = _getStyleComputedProp.overflowX, + overflowY = _getStyleComputedProp.overflowY; + + if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) { + return element; + } + + return getScrollParent(getParentNode(element)); +} + +var isIE11 = isBrowser$1 && !!(window.MSInputMethodContext && document.documentMode); +var isIE10 = isBrowser$1 && /MSIE 10/.test(navigator.userAgent); + +/** + * Determines if the browser is Internet Explorer + * @method + * @memberof Popper.Utils + * @param {Number} version to check + * @returns {Boolean} isIE + */ +function isIE$1(version) { + if (version === 11) { + return isIE11; + } + if (version === 10) { + return isIE10; + } + return isIE11 || isIE10; +} + +/** + * Returns the offset parent of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} offset parent + */ +function getOffsetParent(element) { + if (!element) { + return document.documentElement; + } + + var noOffsetParent = isIE$1(10) ? document.body : null; + + // NOTE: 1 DOM access here + var offsetParent = element.offsetParent; + // Skip hidden elements which don't have an offsetParent + while (offsetParent === noOffsetParent && element.nextElementSibling) { + offsetParent = (element = element.nextElementSibling).offsetParent; + } + + var nodeName = offsetParent && offsetParent.nodeName; + + if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') { + return element ? element.ownerDocument.documentElement : document.documentElement; + } + + // .offsetParent will return the closest TD or TABLE in case + // no offsetParent is present, I hate this job... + if (['TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { + return getOffsetParent(offsetParent); + } + + return offsetParent; +} + +function isOffsetContainer(element) { + var nodeName = element.nodeName; + + if (nodeName === 'BODY') { + return false; + } + return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element; +} + +/** + * Finds the root node (document, shadowDOM root) of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} node + * @returns {Element} root node + */ +function getRoot(node) { + if (node.parentNode !== null) { + return getRoot(node.parentNode); + } + + return node; +} + +/** + * Finds the offset parent common to the two provided nodes + * @method + * @memberof Popper.Utils + * @argument {Element} element1 + * @argument {Element} element2 + * @returns {Element} common offset parent + */ +function findCommonOffsetParent(element1, element2) { + // This check is needed to avoid errors in case one of the elements isn't defined for any reason + if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) { + return document.documentElement; + } + + // Here we make sure to give as "start" the element that comes first in the DOM + var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING; + var start = order ? element1 : element2; + var end = order ? element2 : element1; + + // Get common ancestor container + var range = document.createRange(); + range.setStart(start, 0); + range.setEnd(end, 0); + var commonAncestorContainer = range.commonAncestorContainer; + + // Both nodes are inside #document + + if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) { + if (isOffsetContainer(commonAncestorContainer)) { + return commonAncestorContainer; + } + + return getOffsetParent(commonAncestorContainer); + } + + // one of the nodes is inside shadowDOM, find which one + var element1root = getRoot(element1); + if (element1root.host) { + return findCommonOffsetParent(element1root.host, element2); + } else { + return findCommonOffsetParent(element1, getRoot(element2).host); + } +} + +/** + * Gets the scroll value of the given element in the given side (top and left) + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @argument {String} side `top` or `left` + * @returns {number} amount of scrolled pixels + */ +function getScroll(element) { + var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top'; + + var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft'; + var nodeName = element.nodeName; + + if (nodeName === 'BODY' || nodeName === 'HTML') { + var html = element.ownerDocument.documentElement; + var scrollingElement = element.ownerDocument.scrollingElement || html; + return scrollingElement[upperSide]; + } + + return element[upperSide]; +} + +/* + * Sum or subtract the element scroll values (left and top) from a given rect object + * @method + * @memberof Popper.Utils + * @param {Object} rect - Rect object you want to change + * @param {HTMLElement} element - The element from the function reads the scroll values + * @param {Boolean} subtract - set to true if you want to subtract the scroll values + * @return {Object} rect - The modifier rect object + */ +function includeScroll(rect, element) { + var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var scrollTop = getScroll(element, 'top'); + var scrollLeft = getScroll(element, 'left'); + var modifier = subtract ? -1 : 1; + rect.top += scrollTop * modifier; + rect.bottom += scrollTop * modifier; + rect.left += scrollLeft * modifier; + rect.right += scrollLeft * modifier; + return rect; +} + +/* + * Helper to detect borders of a given element + * @method + * @memberof Popper.Utils + * @param {CSSStyleDeclaration} styles + * Result of `getStyleComputedProperty` on the given element + * @param {String} axis - `x` or `y` + * @return {number} borders - The borders size of the given axis + */ + +function getBordersSize(styles, axis) { + var sideA = axis === 'x' ? 'Left' : 'Top'; + var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; + + return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10); +} + +function getSize(axis, body, html, computedStyle) { + return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE$1(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0); +} + +function getWindowSizes(document) { + var body = document.body; + var html = document.documentElement; + var computedStyle = isIE$1(10) && getComputedStyle(html); + + return { + height: getSize('Height', body, html, computedStyle), + width: getSize('Width', body, html, computedStyle) + }; +} + +var classCallCheck$1 = function classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +}; + +var createClass$1 = function () { + function defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + return function (Constructor, protoProps, staticProps) { + if (protoProps) defineProperties(Constructor.prototype, protoProps); + if (staticProps) defineProperties(Constructor, staticProps); + return Constructor; + }; +}(); + +var defineProperty$1 = function defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +}; + +var _extends$1 = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; +}; + +/** + * Given element offsets, generate an output similar to getBoundingClientRect + * @method + * @memberof Popper.Utils + * @argument {Object} offsets + * @returns {Object} ClientRect like output + */ +function getClientRect(offsets) { + return _extends$1({}, offsets, { + right: offsets.left + offsets.width, + bottom: offsets.top + offsets.height + }); +} + +/** + * Get bounding client rect of given element + * @method + * @memberof Popper.Utils + * @param {HTMLElement} element + * @return {Object} client rect + */ +function getBoundingClientRect(element) { + var rect = {}; + + // IE10 10 FIX: Please, don't ask, the element isn't + // considered in DOM in some circumstances... + // This isn't reproducible in IE10 compatibility mode of IE11 + try { + if (isIE$1(10)) { + rect = element.getBoundingClientRect(); + var scrollTop = getScroll(element, 'top'); + var scrollLeft = getScroll(element, 'left'); + rect.top += scrollTop; + rect.left += scrollLeft; + rect.bottom += scrollTop; + rect.right += scrollLeft; + } else { + rect = element.getBoundingClientRect(); + } + } catch (e) {} + + var result = { + left: rect.left, + top: rect.top, + width: rect.right - rect.left, + height: rect.bottom - rect.top + }; + + // subtract scrollbar size from sizes + var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {}; + var width = sizes.width || element.clientWidth || result.right - result.left; + var height = sizes.height || element.clientHeight || result.bottom - result.top; + + var horizScrollbar = element.offsetWidth - width; + var vertScrollbar = element.offsetHeight - height; + + // if an hypothetical scrollbar is detected, we must be sure it's not a `border` + // we make this check conditional for performance reasons + if (horizScrollbar || vertScrollbar) { + var styles = getStyleComputedProperty(element); + horizScrollbar -= getBordersSize(styles, 'x'); + vertScrollbar -= getBordersSize(styles, 'y'); + + result.width -= horizScrollbar; + result.height -= vertScrollbar; + } + + return getClientRect(result); +} + +function getOffsetRectRelativeToArbitraryNode(children, parent) { + var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var isIE10 = isIE$1(10); + var isHTML = parent.nodeName === 'HTML'; + var childrenRect = getBoundingClientRect(children); + var parentRect = getBoundingClientRect(parent); + var scrollParent = getScrollParent(children); + + var styles = getStyleComputedProperty(parent); + var borderTopWidth = parseFloat(styles.borderTopWidth, 10); + var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); + + // In cases where the parent is fixed, we must ignore negative scroll in offset calc + if (fixedPosition && isHTML) { + parentRect.top = Math.max(parentRect.top, 0); + parentRect.left = Math.max(parentRect.left, 0); + } + var offsets = getClientRect({ + top: childrenRect.top - parentRect.top - borderTopWidth, + left: childrenRect.left - parentRect.left - borderLeftWidth, + width: childrenRect.width, + height: childrenRect.height + }); + offsets.marginTop = 0; + offsets.marginLeft = 0; + + // Subtract margins of documentElement in case it's being used as parent + // we do this only on HTML because it's the only element that behaves + // differently when margins are applied to it. The margins are included in + // the box of the documentElement, in the other cases not. + if (!isIE10 && isHTML) { + var marginTop = parseFloat(styles.marginTop, 10); + var marginLeft = parseFloat(styles.marginLeft, 10); + + offsets.top -= borderTopWidth - marginTop; + offsets.bottom -= borderTopWidth - marginTop; + offsets.left -= borderLeftWidth - marginLeft; + offsets.right -= borderLeftWidth - marginLeft; + + // Attach marginTop and marginLeft because in some circumstances we may need them + offsets.marginTop = marginTop; + offsets.marginLeft = marginLeft; + } + + if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') { + offsets = includeScroll(offsets, parent); + } + + return offsets; +} + +function getViewportOffsetRectRelativeToArtbitraryNode(element) { + var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var html = element.ownerDocument.documentElement; + var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html); + var width = Math.max(html.clientWidth, window.innerWidth || 0); + var height = Math.max(html.clientHeight, window.innerHeight || 0); + + var scrollTop = !excludeScroll ? getScroll(html) : 0; + var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0; + + var offset = { + top: scrollTop - relativeOffset.top + relativeOffset.marginTop, + left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft, + width: width, + height: height + }; + + return getClientRect(offset); +} + +/** + * Check if the given element is fixed or is inside a fixed parent + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @argument {Element} customContainer + * @returns {Boolean} answer to "isFixed?" + */ +function isFixed(element) { + var nodeName = element.nodeName; + if (nodeName === 'BODY' || nodeName === 'HTML') { + return false; + } + if (getStyleComputedProperty(element, 'position') === 'fixed') { + return true; + } + return isFixed(getParentNode(element)); +} + +/** + * Finds the first parent of an element that has a transformed property defined + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} first transformed parent or documentElement + */ + +function getFixedPositionOffsetParent(element) { + // This check is needed to avoid errors in case one of the elements isn't defined for any reason + if (!element || !element.parentElement || isIE$1()) { + return document.documentElement; + } + var el = element.parentElement; + while (el && getStyleComputedProperty(el, 'transform') === 'none') { + el = el.parentElement; + } + return el || document.documentElement; +} + +/** + * Computed the boundaries limits and return them + * @method + * @memberof Popper.Utils + * @param {HTMLElement} popper + * @param {HTMLElement} reference + * @param {number} padding + * @param {HTMLElement} boundariesElement - Element used to define the boundaries + * @param {Boolean} fixedPosition - Is in fixed position mode + * @returns {Object} Coordinates of the boundaries + */ +function getBoundaries(popper, reference, padding, boundariesElement) { + var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; + + // NOTE: 1 DOM access here + + var boundaries = { top: 0, left: 0 }; + var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); + + // Handle viewport case + if (boundariesElement === 'viewport') { + boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition); + } else { + // Handle other cases based on DOM element used as boundaries + var boundariesNode = void 0; + if (boundariesElement === 'scrollParent') { + boundariesNode = getScrollParent(getParentNode(reference)); + if (boundariesNode.nodeName === 'BODY') { + boundariesNode = popper.ownerDocument.documentElement; + } + } else if (boundariesElement === 'window') { + boundariesNode = popper.ownerDocument.documentElement; + } else { + boundariesNode = boundariesElement; + } + + var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition); + + // In case of HTML, we need a different computation + if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { + var _getWindowSizes = getWindowSizes(popper.ownerDocument), + height = _getWindowSizes.height, + width = _getWindowSizes.width; + + boundaries.top += offsets.top - offsets.marginTop; + boundaries.bottom = height + offsets.top; + boundaries.left += offsets.left - offsets.marginLeft; + boundaries.right = width + offsets.left; + } else { + // for all the other DOM elements, this one is good + boundaries = offsets; + } + } + + // Add paddings + padding = padding || 0; + var isPaddingNumber = typeof padding === 'number'; + boundaries.left += isPaddingNumber ? padding : padding.left || 0; + boundaries.top += isPaddingNumber ? padding : padding.top || 0; + boundaries.right -= isPaddingNumber ? padding : padding.right || 0; + boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0; + + return boundaries; +} + +function getArea(_ref) { + var width = _ref.width, + height = _ref.height; + + return width * height; +} + +/** + * Utility used to transform the `auto` placement to the placement with more + * available space. + * @method + * @memberof Popper.Utils + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) { + var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0; + + if (placement.indexOf('auto') === -1) { + return placement; + } + + var boundaries = getBoundaries(popper, reference, padding, boundariesElement); + + var rects = { + top: { + width: boundaries.width, + height: refRect.top - boundaries.top + }, + right: { + width: boundaries.right - refRect.right, + height: boundaries.height + }, + bottom: { + width: boundaries.width, + height: boundaries.bottom - refRect.bottom + }, + left: { + width: refRect.left - boundaries.left, + height: boundaries.height + } + }; + + var sortedAreas = Object.keys(rects).map(function (key) { + return _extends$1({ + key: key + }, rects[key], { + area: getArea(rects[key]) + }); + }).sort(function (a, b) { + return b.area - a.area; + }); + + var filteredAreas = sortedAreas.filter(function (_ref2) { + var width = _ref2.width, + height = _ref2.height; + return width >= popper.clientWidth && height >= popper.clientHeight; + }); + + var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key; + + var variation = placement.split('-')[1]; + + return computedPlacement + (variation ? '-' + variation : ''); +} + +/** + * Get offsets to the reference element + * @method + * @memberof Popper.Utils + * @param {Object} state + * @param {Element} popper - the popper element + * @param {Element} reference - the reference element (the popper will be relative to this) + * @param {Element} fixedPosition - is in fixed position mode + * @returns {Object} An object containing the offsets which will be applied to the popper + */ +function getReferenceOffsets(state, popper, reference) { + var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; + + var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); + return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition); +} + +/** + * Get the outer sizes of the given element (offset size + margins) + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Object} object containing width and height properties + */ +function getOuterSizes(element) { + var styles = getComputedStyle(element); + var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom); + var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight); + var result = { + width: element.offsetWidth + y, + height: element.offsetHeight + x + }; + return result; +} + +/** + * Get the opposite placement of the given one + * @method + * @memberof Popper.Utils + * @argument {String} placement + * @returns {String} flipped placement + */ +function getOppositePlacement(placement) { + var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; + return placement.replace(/left|right|bottom|top/g, function (matched) { + return hash[matched]; + }); +} + +/** + * Get offsets to the popper + * @method + * @memberof Popper.Utils + * @param {Object} position - CSS position the Popper will get applied + * @param {HTMLElement} popper - the popper element + * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this) + * @param {String} placement - one of the valid placement options + * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper + */ +function getPopperOffsets(popper, referenceOffsets, placement) { + placement = placement.split('-')[0]; + + // Get popper node sizes + var popperRect = getOuterSizes(popper); + + // Add position, width and height to our offsets object + var popperOffsets = { + width: popperRect.width, + height: popperRect.height + }; + + // depending by the popper placement we have to compute its offsets slightly differently + var isHoriz = ['right', 'left'].indexOf(placement) !== -1; + var mainSide = isHoriz ? 'top' : 'left'; + var secondarySide = isHoriz ? 'left' : 'top'; + var measurement = isHoriz ? 'height' : 'width'; + var secondaryMeasurement = !isHoriz ? 'height' : 'width'; + + popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2; + if (placement === secondarySide) { + popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement]; + } else { + popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)]; + } + + return popperOffsets; +} + +/** + * Mimics the `find` method of Array + * @method + * @memberof Popper.Utils + * @argument {Array} arr + * @argument prop + * @argument value + * @returns index or -1 + */ +function find(arr, check) { + // use native find if supported + if (Array.prototype.find) { + return arr.find(check); + } + + // use `filter` to obtain the same behavior of `find` + return arr.filter(check)[0]; +} + +/** + * Return the index of the matching object + * @method + * @memberof Popper.Utils + * @argument {Array} arr + * @argument prop + * @argument value + * @returns index or -1 + */ +function findIndex(arr, prop, value) { + // use native findIndex if supported + if (Array.prototype.findIndex) { + return arr.findIndex(function (cur) { + return cur[prop] === value; + }); + } + + // use `find` + `indexOf` if `findIndex` isn't supported + var match = find(arr, function (obj) { + return obj[prop] === value; + }); + return arr.indexOf(match); +} + +/** + * Loop trough the list of modifiers and run them in order, + * each of them will then edit the data object. + * @method + * @memberof Popper.Utils + * @param {dataObject} data + * @param {Array} modifiers + * @param {String} ends - Optional modifier name used as stopper + * @returns {dataObject} + */ +function runModifiers(modifiers, data, ends) { + var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends)); + + modifiersToRun.forEach(function (modifier) { + if (modifier['function']) { + // eslint-disable-line dot-notation + console.warn('`modifier.function` is deprecated, use `modifier.fn`!'); + } + var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation + if (modifier.enabled && isFunction(fn)) { + // Add properties to offsets to make them a complete clientRect object + // we do this before each modifier to make sure the previous one doesn't + // mess with these values + data.offsets.popper = getClientRect(data.offsets.popper); + data.offsets.reference = getClientRect(data.offsets.reference); + + data = fn(data, modifier); + } + }); + + return data; +} + +/** + * Updates the position of the popper, computing the new offsets and applying + * the new style.
+ * Prefer `scheduleUpdate` over `update` because of performance reasons. + * @method + * @memberof Popper + */ +function update() { + // if popper is destroyed, don't perform any further update + if (this.state.isDestroyed) { + return; + } + + var data = { + instance: this, + styles: {}, + arrowStyles: {}, + attributes: {}, + flipped: false, + offsets: {} + }; + + // compute reference element offsets + data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed); + + // compute auto placement, store placement inside the data object, + // modifiers will be able to edit `placement` if needed + // and refer to originalPlacement to know the original value + data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding); + + // store the computed placement inside `originalPlacement` + data.originalPlacement = data.placement; + + data.positionFixed = this.options.positionFixed; + + // compute the popper offsets + data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); + + data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; + + // run the modifiers + data = runModifiers(this.modifiers, data); + + // the first `update` will call `onCreate` callback + // the other ones will call `onUpdate` callback + if (!this.state.isCreated) { + this.state.isCreated = true; + this.options.onCreate(data); + } else { + this.options.onUpdate(data); + } +} + +/** + * Helper used to know if the given modifier is enabled. + * @method + * @memberof Popper.Utils + * @returns {Boolean} + */ +function isModifierEnabled(modifiers, modifierName) { + return modifiers.some(function (_ref) { + var name = _ref.name, + enabled = _ref.enabled; + return enabled && name === modifierName; + }); +} + +/** + * Get the prefixed supported property name + * @method + * @memberof Popper.Utils + * @argument {String} property (camelCase) + * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix) + */ +function getSupportedPropertyName(property) { + var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O']; + var upperProp = property.charAt(0).toUpperCase() + property.slice(1); + + for (var i = 0; i < prefixes.length; i++) { + var prefix = prefixes[i]; + var toCheck = prefix ? '' + prefix + upperProp : property; + if (typeof document.body.style[toCheck] !== 'undefined') { + return toCheck; + } + } + return null; +} + +/** + * Destroys the popper. + * @method + * @memberof Popper + */ +function destroy() { + this.state.isDestroyed = true; + + // touch DOM only if `applyStyle` modifier is enabled + if (isModifierEnabled(this.modifiers, 'applyStyle')) { + this.popper.removeAttribute('x-placement'); + this.popper.style.position = ''; + this.popper.style.top = ''; + this.popper.style.left = ''; + this.popper.style.right = ''; + this.popper.style.bottom = ''; + this.popper.style.willChange = ''; + this.popper.style[getSupportedPropertyName('transform')] = ''; + } + + this.disableEventListeners(); + + // remove the popper if user explicity asked for the deletion on destroy + // do not use `remove` because IE11 doesn't support it + if (this.options.removeOnDestroy) { + this.popper.parentNode.removeChild(this.popper); + } + return this; +} + +/** + * Get the window associated with the element + * @argument {Element} element + * @returns {Window} + */ +function getWindow(element) { + var ownerDocument = element.ownerDocument; + return ownerDocument ? ownerDocument.defaultView : window; +} + +function attachToScrollParents(scrollParent, event, callback, scrollParents) { + var isBody = scrollParent.nodeName === 'BODY'; + var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent; + target.addEventListener(event, callback, { passive: true }); + + if (!isBody) { + attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents); + } + scrollParents.push(target); +} + +/** + * Setup needed event listeners used to update the popper position + * @method + * @memberof Popper.Utils + * @private + */ +function setupEventListeners(reference, options, state, updateBound) { + // Resize event listener on window + state.updateBound = updateBound; + getWindow(reference).addEventListener('resize', state.updateBound, { passive: true }); + + // Scroll event listener on scroll parents + var scrollElement = getScrollParent(reference); + attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents); + state.scrollElement = scrollElement; + state.eventsEnabled = true; + + return state; +} + +/** + * It will add resize/scroll events and start recalculating + * position of the popper element when they are triggered. + * @method + * @memberof Popper + */ +function enableEventListeners() { + if (!this.state.eventsEnabled) { + this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate); + } +} + +/** + * Remove event listeners used to update the popper position + * @method + * @memberof Popper.Utils + * @private + */ +function removeEventListeners(reference, state) { + // Remove resize event listener on window + getWindow(reference).removeEventListener('resize', state.updateBound); + + // Remove scroll event listener on scroll parents + state.scrollParents.forEach(function (target) { + target.removeEventListener('scroll', state.updateBound); + }); + + // Reset state + state.updateBound = null; + state.scrollParents = []; + state.scrollElement = null; + state.eventsEnabled = false; + return state; +} + +/** + * It will remove resize/scroll events and won't recalculate popper position + * when they are triggered. It also won't trigger `onUpdate` callback anymore, + * unless you call `update` method manually. + * @method + * @memberof Popper + */ +function disableEventListeners() { + if (this.state.eventsEnabled) { + cancelAnimationFrame(this.scheduleUpdate); + this.state = removeEventListeners(this.reference, this.state); + } +} + +/** + * Tells if a given input is a number + * @method + * @memberof Popper.Utils + * @param {*} input to check + * @return {Boolean} + */ +function isNumeric(n) { + return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); +} + +/** + * Set the style to the given popper + * @method + * @memberof Popper.Utils + * @argument {Element} element - Element to apply the style to + * @argument {Object} styles + * Object with a list of properties and values which will be applied to the element + */ +function setStyles(element, styles) { + Object.keys(styles).forEach(function (prop) { + var unit = ''; + // add unit if the value is numeric and is one of the following + if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) { + unit = 'px'; + } + element.style[prop] = styles[prop] + unit; + }); +} + +/** + * Set the attributes to the given popper + * @method + * @memberof Popper.Utils + * @argument {Element} element - Element to apply the attributes to + * @argument {Object} styles + * Object with a list of properties and values which will be applied to the element + */ +function setAttributes(element, attributes) { + Object.keys(attributes).forEach(function (prop) { + var value = attributes[prop]; + if (value !== false) { + element.setAttribute(prop, attributes[prop]); + } else { + element.removeAttribute(prop); + } + }); +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} data.styles - List of style properties - values to apply to popper element + * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The same data object + */ +function applyStyle(data) { + // any property present in `data.styles` will be applied to the popper, + // in this way we can make the 3rd party modifiers add custom styles to it + // Be aware, modifiers could override the properties defined in the previous + // lines of this modifier! + setStyles(data.instance.popper, data.styles); + + // any property present in `data.attributes` will be applied to the popper, + // they will be set as HTML attributes of the element + setAttributes(data.instance.popper, data.attributes); + + // if arrowElement is defined and arrowStyles has some properties + if (data.arrowElement && Object.keys(data.arrowStyles).length) { + setStyles(data.arrowElement, data.arrowStyles); + } + + return data; +} + +/** + * Set the x-placement attribute before everything else because it could be used + * to add margins to the popper margins needs to be calculated to get the + * correct popper offsets. + * @method + * @memberof Popper.modifiers + * @param {HTMLElement} reference - The reference element used to position the popper + * @param {HTMLElement} popper - The HTML element used as popper + * @param {Object} options - Popper.js options + */ +function applyStyleOnLoad(reference, popper, options, modifierOptions, state) { + // compute reference element offsets + var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed); + + // compute auto placement, store placement inside the data object, + // modifiers will be able to edit `placement` if needed + // and refer to originalPlacement to know the original value + var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding); + + popper.setAttribute('x-placement', placement); + + // Apply `position` to popper before anything else because + // without the position applied we can't guarantee correct computations + setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' }); + + return options; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function computeStyle(data, options) { + var x = options.x, + y = options.y; + var popper = data.offsets.popper; + + // Remove this legacy support in Popper.js v2 + + var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) { + return modifier.name === 'applyStyle'; + }).gpuAcceleration; + if (legacyGpuAccelerationOption !== undefined) { + console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'); + } + var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration; + + var offsetParent = getOffsetParent(data.instance.popper); + var offsetParentRect = getBoundingClientRect(offsetParent); + + // Styles + var styles = { + position: popper.position + }; + + // Avoid blurry text by using full pixel integers. + // For pixel-perfect positioning, top/bottom prefers rounded + // values, while left/right prefers floored values. + var offsets = { + left: Math.floor(popper.left), + top: Math.round(popper.top), + bottom: Math.round(popper.bottom), + right: Math.floor(popper.right) + }; + + var sideA = x === 'bottom' ? 'top' : 'bottom'; + var sideB = y === 'right' ? 'left' : 'right'; + + // if gpuAcceleration is set to `true` and transform is supported, + // we use `translate3d` to apply the position to the popper we + // automatically use the supported prefixed version if needed + var prefixedProperty = getSupportedPropertyName('transform'); + + // now, let's make a step back and look at this code closely (wtf?) + // If the content of the popper grows once it's been positioned, it + // may happen that the popper gets misplaced because of the new content + // overflowing its reference element + // To avoid this problem, we provide two options (x and y), which allow + // the consumer to define the offset origin. + // If we position a popper on top of a reference element, we can set + // `x` to `top` to make the popper grow towards its top instead of + // its bottom. + var left = void 0, + top = void 0; + if (sideA === 'bottom') { + // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar) + // and not the bottom of the html element + if (offsetParent.nodeName === 'HTML') { + top = -offsetParent.clientHeight + offsets.bottom; + } else { + top = -offsetParentRect.height + offsets.bottom; + } + } else { + top = offsets.top; + } + if (sideB === 'right') { + if (offsetParent.nodeName === 'HTML') { + left = -offsetParent.clientWidth + offsets.right; + } else { + left = -offsetParentRect.width + offsets.right; + } + } else { + left = offsets.left; + } + if (gpuAcceleration && prefixedProperty) { + styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)'; + styles[sideA] = 0; + styles[sideB] = 0; + styles.willChange = 'transform'; + } else { + // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties + var invertTop = sideA === 'bottom' ? -1 : 1; + var invertLeft = sideB === 'right' ? -1 : 1; + styles[sideA] = top * invertTop; + styles[sideB] = left * invertLeft; + styles.willChange = sideA + ', ' + sideB; + } + + // Attributes + var attributes = { + 'x-placement': data.placement + }; + + // Update `data` attributes, styles and arrowStyles + data.attributes = _extends$1({}, attributes, data.attributes); + data.styles = _extends$1({}, styles, data.styles); + data.arrowStyles = _extends$1({}, data.offsets.arrow, data.arrowStyles); + + return data; +} + +/** + * Helper used to know if the given modifier depends from another one.
+ * It checks if the needed modifier is listed and enabled. + * @method + * @memberof Popper.Utils + * @param {Array} modifiers - list of modifiers + * @param {String} requestingName - name of requesting modifier + * @param {String} requestedName - name of requested modifier + * @returns {Boolean} + */ +function isModifierRequired(modifiers, requestingName, requestedName) { + var requesting = find(modifiers, function (_ref) { + var name = _ref.name; + return name === requestingName; + }); + + var isRequired = !!requesting && modifiers.some(function (modifier) { + return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order; + }); + + if (!isRequired) { + var _requesting = '`' + requestingName + '`'; + var requested = '`' + requestedName + '`'; + console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!'); + } + return isRequired; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function arrow(data, options) { + var _data$offsets$arrow; + + // arrow depends on keepTogether in order to work + if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) { + return data; + } + + var arrowElement = options.element; + + // if arrowElement is a string, suppose it's a CSS selector + if (typeof arrowElement === 'string') { + arrowElement = data.instance.popper.querySelector(arrowElement); + + // if arrowElement is not found, don't run the modifier + if (!arrowElement) { + return data; + } + } else { + // if the arrowElement isn't a query selector we must check that the + // provided DOM node is child of its popper node + if (!data.instance.popper.contains(arrowElement)) { + console.warn('WARNING: `arrow.element` must be child of its popper element!'); + return data; + } + } + + var placement = data.placement.split('-')[0]; + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var isVertical = ['left', 'right'].indexOf(placement) !== -1; + + var len = isVertical ? 'height' : 'width'; + var sideCapitalized = isVertical ? 'Top' : 'Left'; + var side = sideCapitalized.toLowerCase(); + var altSide = isVertical ? 'left' : 'top'; + var opSide = isVertical ? 'bottom' : 'right'; + var arrowElementSize = getOuterSizes(arrowElement)[len]; + + // + // extends keepTogether behavior making sure the popper and its + // reference have enough pixels in conjunction + // + + // top/left side + if (reference[opSide] - arrowElementSize < popper[side]) { + data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize); + } + // bottom/right side + if (reference[side] + arrowElementSize > popper[opSide]) { + data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide]; + } + data.offsets.popper = getClientRect(data.offsets.popper); + + // compute center of the popper + var center = reference[side] + reference[len] / 2 - arrowElementSize / 2; + + // Compute the sideValue using the updated popper offsets + // take popper margin in account because we don't have this info available + var css = getStyleComputedProperty(data.instance.popper); + var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10); + var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10); + var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; + + // prevent arrowElement from being placed not contiguously to its popper + sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0); + + data.arrowElement = arrowElement; + data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty$1(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty$1(_data$offsets$arrow, altSide, ''), _data$offsets$arrow); + + return data; +} + +/** + * Get the opposite placement variation of the given one + * @method + * @memberof Popper.Utils + * @argument {String} placement variation + * @returns {String} flipped placement variation + */ +function getOppositeVariation(variation) { + if (variation === 'end') { + return 'start'; + } else if (variation === 'start') { + return 'end'; + } + return variation; +} + +/** + * List of accepted placements to use as values of the `placement` option.
+ * Valid placements are: + * - `auto` + * - `top` + * - `right` + * - `bottom` + * - `left` + * + * Each placement can have a variation from this list: + * - `-start` + * - `-end` + * + * Variations are interpreted easily if you think of them as the left to right + * written languages. Horizontally (`top` and `bottom`), `start` is left and `end` + * is right.
+ * Vertically (`left` and `right`), `start` is top and `end` is bottom. + * + * Some valid examples are: + * - `top-end` (on top of reference, right aligned) + * - `right-start` (on right of reference, top aligned) + * - `bottom` (on bottom, centered) + * - `auto-end` (on the side with more space available, alignment depends by placement) + * + * @static + * @type {Array} + * @enum {String} + * @readonly + * @method placements + * @memberof Popper + */ +var placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']; + +// Get rid of `auto` `auto-start` and `auto-end` +var validPlacements = placements.slice(3); + +/** + * Given an initial placement, returns all the subsequent placements + * clockwise (or counter-clockwise). + * + * @method + * @memberof Popper.Utils + * @argument {String} placement - A valid placement (it accepts variations) + * @argument {Boolean} counter - Set to true to walk the placements counterclockwise + * @returns {Array} placements including their variations + */ +function clockwise(placement) { + var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var index = validPlacements.indexOf(placement); + var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index)); + return counter ? arr.reverse() : arr; +} + +var BEHAVIORS = { + FLIP: 'flip', + CLOCKWISE: 'clockwise', + COUNTERCLOCKWISE: 'counterclockwise' +}; + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function flip(data, options) { + // if `inner` modifier is enabled, we can't use the `flip` modifier + if (isModifierEnabled(data.instance.modifiers, 'inner')) { + return data; + } + + if (data.flipped && data.placement === data.originalPlacement) { + // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides + return data; + } + + var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed); + + var placement = data.placement.split('-')[0]; + var placementOpposite = getOppositePlacement(placement); + var variation = data.placement.split('-')[1] || ''; + + var flipOrder = []; + + switch (options.behavior) { + case BEHAVIORS.FLIP: + flipOrder = [placement, placementOpposite]; + break; + case BEHAVIORS.CLOCKWISE: + flipOrder = clockwise(placement); + break; + case BEHAVIORS.COUNTERCLOCKWISE: + flipOrder = clockwise(placement, true); + break; + default: + flipOrder = options.behavior; + } + + flipOrder.forEach(function (step, index) { + if (placement !== step || flipOrder.length === index + 1) { + return data; + } + + placement = data.placement.split('-')[0]; + placementOpposite = getOppositePlacement(placement); + + var popperOffsets = data.offsets.popper; + var refOffsets = data.offsets.reference; + + // using floor because the reference offsets may contain decimals we are not going to consider here + var floor = Math.floor; + var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom); + + var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left); + var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right); + var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top); + var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom); + + var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom; + + // flip the variation if required + var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; + var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom); + + if (overlapsRef || overflowsBoundaries || flippedVariation) { + // this boolean to detect any flip loop + data.flipped = true; + + if (overlapsRef || overflowsBoundaries) { + placement = flipOrder[index + 1]; + } + + if (flippedVariation) { + variation = getOppositeVariation(variation); + } + + data.placement = placement + (variation ? '-' + variation : ''); + + // this object contains `position`, we want to preserve it along with + // any additional property we may add in the future + data.offsets.popper = _extends$1({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); + + data = runModifiers(data.instance.modifiers, data, 'flip'); + } + }); + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function keepTogether(data) { + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var placement = data.placement.split('-')[0]; + var floor = Math.floor; + var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; + var side = isVertical ? 'right' : 'bottom'; + var opSide = isVertical ? 'left' : 'top'; + var measurement = isVertical ? 'width' : 'height'; + + if (popper[side] < floor(reference[opSide])) { + data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement]; + } + if (popper[opSide] > floor(reference[side])) { + data.offsets.popper[opSide] = floor(reference[side]); + } + + return data; +} + +/** + * Converts a string containing value + unit into a px value number + * @function + * @memberof {modifiers~offset} + * @private + * @argument {String} str - Value + unit string + * @argument {String} measurement - `height` or `width` + * @argument {Object} popperOffsets + * @argument {Object} referenceOffsets + * @returns {Number|String} + * Value in pixels, or original string if no values were extracted + */ +function toValue(str, measurement, popperOffsets, referenceOffsets) { + // separate value from unit + var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/); + var value = +split[1]; + var unit = split[2]; + + // If it's not a number it's an operator, I guess + if (!value) { + return str; + } + + if (unit.indexOf('%') === 0) { + var element = void 0; + switch (unit) { + case '%p': + element = popperOffsets; + break; + case '%': + case '%r': + default: + element = referenceOffsets; + } + + var rect = getClientRect(element); + return rect[measurement] / 100 * value; + } else if (unit === 'vh' || unit === 'vw') { + // if is a vh or vw, we calculate the size based on the viewport + var size = void 0; + if (unit === 'vh') { + size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); + } else { + size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); + } + return size / 100 * value; + } else { + // if is an explicit pixel unit, we get rid of the unit and keep the value + // if is an implicit unit, it's px, and we return just the value + return value; + } +} + +/** + * Parse an `offset` string to extrapolate `x` and `y` numeric offsets. + * @function + * @memberof {modifiers~offset} + * @private + * @argument {String} offset + * @argument {Object} popperOffsets + * @argument {Object} referenceOffsets + * @argument {String} basePlacement + * @returns {Array} a two cells array with x and y offsets in numbers + */ +function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) { + var offsets = [0, 0]; + + // Use height if placement is left or right and index is 0 otherwise use width + // in this way the first offset will use an axis and the second one + // will use the other one + var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; + + // Split the offset string to obtain a list of values and operands + // The regex addresses values with the plus or minus sign in front (+10, -20, etc) + var fragments = offset.split(/(\+|\-)/).map(function (frag) { + return frag.trim(); + }); + + // Detect if the offset string contains a pair of values or a single one + // they could be separated by comma or space + var divider = fragments.indexOf(find(fragments, function (frag) { + return frag.search(/,|\s/) !== -1; + })); + + if (fragments[divider] && fragments[divider].indexOf(',') === -1) { + console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.'); + } + + // If divider is found, we divide the list of values and operands to divide + // them by ofset X and Y. + var splitRegex = /\s*,\s*|\s+/; + var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments]; + + // Convert the values with units to absolute pixels to allow our computations + ops = ops.map(function (op, index) { + // Most of the units rely on the orientation of the popper + var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width'; + var mergeWithPrevious = false; + return op + // This aggregates any `+` or `-` sign that aren't considered operators + // e.g.: 10 + +5 => [10, +, +5] + .reduce(function (a, b) { + if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) { + a[a.length - 1] = b; + mergeWithPrevious = true; + return a; + } else if (mergeWithPrevious) { + a[a.length - 1] += b; + mergeWithPrevious = false; + return a; + } else { + return a.concat(b); + } + }, []) + // Here we convert the string values into number values (in px) + .map(function (str) { + return toValue(str, measurement, popperOffsets, referenceOffsets); + }); + }); + + // Loop trough the offsets arrays and execute the operations + ops.forEach(function (op, index) { + op.forEach(function (frag, index2) { + if (isNumeric(frag)) { + offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1); + } + }); + }); + return offsets; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @argument {Number|String} options.offset=0 + * The offset value as described in the modifier description + * @returns {Object} The data object, properly modified + */ +function offset(data, _ref) { + var offset = _ref.offset; + var placement = data.placement, + _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var basePlacement = placement.split('-')[0]; + + var offsets = void 0; + if (isNumeric(+offset)) { + offsets = [+offset, 0]; + } else { + offsets = parseOffset(offset, popper, reference, basePlacement); + } + + if (basePlacement === 'left') { + popper.top += offsets[0]; + popper.left -= offsets[1]; + } else if (basePlacement === 'right') { + popper.top += offsets[0]; + popper.left += offsets[1]; + } else if (basePlacement === 'top') { + popper.left += offsets[0]; + popper.top -= offsets[1]; + } else if (basePlacement === 'bottom') { + popper.left += offsets[0]; + popper.top += offsets[1]; + } + + data.popper = popper; + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function preventOverflow(data, options) { + var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper); + + // If offsetParent is the reference element, we really want to + // go one step up and use the next offsetParent as reference to + // avoid to make this modifier completely useless and look like broken + if (data.instance.reference === boundariesElement) { + boundariesElement = getOffsetParent(boundariesElement); + } + + // NOTE: DOM access here + // resets the popper's position so that the document size can be calculated excluding + // the size of the popper element itself + var transformProp = getSupportedPropertyName('transform'); + var popperStyles = data.instance.popper.style; // assignment to help minification + var top = popperStyles.top, + left = popperStyles.left, + transform = popperStyles[transformProp]; + + popperStyles.top = ''; + popperStyles.left = ''; + popperStyles[transformProp] = ''; + + var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed); + + // NOTE: DOM access here + // restores the original style properties after the offsets have been computed + popperStyles.top = top; + popperStyles.left = left; + popperStyles[transformProp] = transform; + + options.boundaries = boundaries; + + var order = options.priority; + var popper = data.offsets.popper; + + var check = { + primary: function primary(placement) { + var value = popper[placement]; + if (popper[placement] < boundaries[placement] && !options.escapeWithReference) { + value = Math.max(popper[placement], boundaries[placement]); + } + return defineProperty$1({}, placement, value); + }, + secondary: function secondary(placement) { + var mainSide = placement === 'right' ? 'left' : 'top'; + var value = popper[mainSide]; + if (popper[placement] > boundaries[placement] && !options.escapeWithReference) { + value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height)); + } + return defineProperty$1({}, mainSide, value); + } + }; + + order.forEach(function (placement) { + var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary'; + popper = _extends$1({}, popper, check[side](placement)); + }); + + data.offsets.popper = popper; + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function shift(data) { + var placement = data.placement; + var basePlacement = placement.split('-')[0]; + var shiftvariation = placement.split('-')[1]; + + // if shift shiftvariation is specified, run the modifier + if (shiftvariation) { + var _data$offsets = data.offsets, + reference = _data$offsets.reference, + popper = _data$offsets.popper; + + var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1; + var side = isVertical ? 'left' : 'top'; + var measurement = isVertical ? 'width' : 'height'; + + var shiftOffsets = { + start: defineProperty$1({}, side, reference[side]), + end: defineProperty$1({}, side, reference[side] + reference[measurement] - popper[measurement]) + }; + + data.offsets.popper = _extends$1({}, popper, shiftOffsets[shiftvariation]); + } + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function hide(data) { + if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) { + return data; + } + + var refRect = data.offsets.reference; + var bound = find(data.instance.modifiers, function (modifier) { + return modifier.name === 'preventOverflow'; + }).boundaries; + + if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) { + // Avoid unnecessary DOM access if visibility hasn't changed + if (data.hide === true) { + return data; + } + + data.hide = true; + data.attributes['x-out-of-boundaries'] = ''; + } else { + // Avoid unnecessary DOM access if visibility hasn't changed + if (data.hide === false) { + return data; + } + + data.hide = false; + data.attributes['x-out-of-boundaries'] = false; + } + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function inner(data) { + var placement = data.placement; + var basePlacement = placement.split('-')[0]; + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1; + + var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1; + + popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0); + + data.placement = getOppositePlacement(placement); + data.offsets.popper = getClientRect(popper); + + return data; +} + +/** + * Modifier function, each modifier can have a function of this type assigned + * to its `fn` property.
+ * These functions will be called on each update, this means that you must + * make sure they are performant enough to avoid performance bottlenecks. + * + * @function ModifierFn + * @argument {dataObject} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {dataObject} The data object, properly modified + */ + +/** + * Modifiers are plugins used to alter the behavior of your poppers.
+ * Popper.js uses a set of 9 modifiers to provide all the basic functionalities + * needed by the library. + * + * Usually you don't want to override the `order`, `fn` and `onLoad` props. + * All the other properties are configurations that could be tweaked. + * @namespace modifiers + */ +var modifiers = { + /** + * Modifier used to shift the popper on the start or end of its reference + * element.
+ * It will read the variation of the `placement` property.
+ * It can be one either `-end` or `-start`. + * @memberof modifiers + * @inner + */ + shift: { + /** @prop {number} order=100 - Index used to define the order of execution */ + order: 100, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: shift + }, + + /** + * The `offset` modifier can shift your popper on both its axis. + * + * It accepts the following units: + * - `px` or unit-less, interpreted as pixels + * - `%` or `%r`, percentage relative to the length of the reference element + * - `%p`, percentage relative to the length of the popper element + * - `vw`, CSS viewport width unit + * - `vh`, CSS viewport height unit + * + * For length is intended the main axis relative to the placement of the popper.
+ * This means that if the placement is `top` or `bottom`, the length will be the + * `width`. In case of `left` or `right`, it will be the `height`. + * + * You can provide a single value (as `Number` or `String`), or a pair of values + * as `String` divided by a comma or one (or more) white spaces.
+ * The latter is a deprecated method because it leads to confusion and will be + * removed in v2.
+ * Additionally, it accepts additions and subtractions between different units. + * Note that multiplications and divisions aren't supported. + * + * Valid examples are: + * ``` + * 10 + * '10%' + * '10, 10' + * '10%, 10' + * '10 + 10%' + * '10 - 5vh + 3%' + * '-10px + 5vh, 5px - 6%' + * ``` + * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap + * > with their reference element, unfortunately, you will have to disable the `flip` modifier. + * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373). + * + * @memberof modifiers + * @inner + */ + offset: { + /** @prop {number} order=200 - Index used to define the order of execution */ + order: 200, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: offset, + /** @prop {Number|String} offset=0 + * The offset value as described in the modifier description + */ + offset: 0 + }, + + /** + * Modifier used to prevent the popper from being positioned outside the boundary. + * + * A scenario exists where the reference itself is not within the boundaries.
+ * We can say it has "escaped the boundaries" — or just "escaped".
+ * In this case we need to decide whether the popper should either: + * + * - detach from the reference and remain "trapped" in the boundaries, or + * - if it should ignore the boundary and "escape with its reference" + * + * When `escapeWithReference` is set to`true` and reference is completely + * outside its boundaries, the popper will overflow (or completely leave) + * the boundaries in order to remain attached to the edge of the reference. + * + * @memberof modifiers + * @inner + */ + preventOverflow: { + /** @prop {number} order=300 - Index used to define the order of execution */ + order: 300, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: preventOverflow, + /** + * @prop {Array} [priority=['left','right','top','bottom']] + * Popper will try to prevent overflow following these priorities by default, + * then, it could overflow on the left and on top of the `boundariesElement` + */ + priority: ['left', 'right', 'top', 'bottom'], + /** + * @prop {number} padding=5 + * Amount of pixel used to define a minimum distance between the boundaries + * and the popper. This makes sure the popper always has a little padding + * between the edges of its container + */ + padding: 5, + /** + * @prop {String|HTMLElement} boundariesElement='scrollParent' + * Boundaries used by the modifier. Can be `scrollParent`, `window`, + * `viewport` or any DOM element. + */ + boundariesElement: 'scrollParent' + }, + + /** + * Modifier used to make sure the reference and its popper stay near each other + * without leaving any gap between the two. Especially useful when the arrow is + * enabled and you want to ensure that it points to its reference element. + * It cares only about the first axis. You can still have poppers with margin + * between the popper and its reference element. + * @memberof modifiers + * @inner + */ + keepTogether: { + /** @prop {number} order=400 - Index used to define the order of execution */ + order: 400, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: keepTogether + }, + + /** + * This modifier is used to move the `arrowElement` of the popper to make + * sure it is positioned between the reference element and its popper element. + * It will read the outer size of the `arrowElement` node to detect how many + * pixels of conjunction are needed. + * + * It has no effect if no `arrowElement` is provided. + * @memberof modifiers + * @inner + */ + arrow: { + /** @prop {number} order=500 - Index used to define the order of execution */ + order: 500, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: arrow, + /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */ + element: '[x-arrow]' + }, + + /** + * Modifier used to flip the popper's placement when it starts to overlap its + * reference element. + * + * Requires the `preventOverflow` modifier before it in order to work. + * + * **NOTE:** this modifier will interrupt the current update cycle and will + * restart it if it detects the need to flip the placement. + * @memberof modifiers + * @inner + */ + flip: { + /** @prop {number} order=600 - Index used to define the order of execution */ + order: 600, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: flip, + /** + * @prop {String|Array} behavior='flip' + * The behavior used to change the popper's placement. It can be one of + * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid + * placements (with optional variations) + */ + behavior: 'flip', + /** + * @prop {number} padding=5 + * The popper will flip if it hits the edges of the `boundariesElement` + */ + padding: 5, + /** + * @prop {String|HTMLElement} boundariesElement='viewport' + * The element which will define the boundaries of the popper position. + * The popper will never be placed outside of the defined boundaries + * (except if `keepTogether` is enabled) + */ + boundariesElement: 'viewport' + }, + + /** + * Modifier used to make the popper flow toward the inner of the reference element. + * By default, when this modifier is disabled, the popper will be placed outside + * the reference element. + * @memberof modifiers + * @inner + */ + inner: { + /** @prop {number} order=700 - Index used to define the order of execution */ + order: 700, + /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */ + enabled: false, + /** @prop {ModifierFn} */ + fn: inner + }, + + /** + * Modifier used to hide the popper when its reference element is outside of the + * popper boundaries. It will set a `x-out-of-boundaries` attribute which can + * be used to hide with a CSS selector the popper when its reference is + * out of boundaries. + * + * Requires the `preventOverflow` modifier before it in order to work. + * @memberof modifiers + * @inner + */ + hide: { + /** @prop {number} order=800 - Index used to define the order of execution */ + order: 800, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: hide + }, + + /** + * Computes the style that will be applied to the popper element to gets + * properly positioned. + * + * Note that this modifier will not touch the DOM, it just prepares the styles + * so that `applyStyle` modifier can apply it. This separation is useful + * in case you need to replace `applyStyle` with a custom implementation. + * + * This modifier has `850` as `order` value to maintain backward compatibility + * with previous versions of Popper.js. Expect the modifiers ordering method + * to change in future major versions of the library. + * + * @memberof modifiers + * @inner + */ + computeStyle: { + /** @prop {number} order=850 - Index used to define the order of execution */ + order: 850, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: computeStyle, + /** + * @prop {Boolean} gpuAcceleration=true + * If true, it uses the CSS 3D transformation to position the popper. + * Otherwise, it will use the `top` and `left` properties + */ + gpuAcceleration: true, + /** + * @prop {string} [x='bottom'] + * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin. + * Change this if your popper should grow in a direction different from `bottom` + */ + x: 'bottom', + /** + * @prop {string} [x='left'] + * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin. + * Change this if your popper should grow in a direction different from `right` + */ + y: 'right' + }, + + /** + * Applies the computed styles to the popper element. + * + * All the DOM manipulations are limited to this modifier. This is useful in case + * you want to integrate Popper.js inside a framework or view library and you + * want to delegate all the DOM manipulations to it. + * + * Note that if you disable this modifier, you must make sure the popper element + * has its position set to `absolute` before Popper.js can do its work! + * + * Just disable this modifier and define your own to achieve the desired effect. + * + * @memberof modifiers + * @inner + */ + applyStyle: { + /** @prop {number} order=900 - Index used to define the order of execution */ + order: 900, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: applyStyle, + /** @prop {Function} */ + onLoad: applyStyleOnLoad, + /** + * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier + * @prop {Boolean} gpuAcceleration=true + * If true, it uses the CSS 3D transformation to position the popper. + * Otherwise, it will use the `top` and `left` properties + */ + gpuAcceleration: undefined + } +}; + +/** + * The `dataObject` is an object containing all the information used by Popper.js. + * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks. + * @name dataObject + * @property {Object} data.instance The Popper.js instance + * @property {String} data.placement Placement applied to popper + * @property {String} data.originalPlacement Placement originally defined on init + * @property {Boolean} data.flipped True if popper has been flipped by flip modifier + * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper + * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier + * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`) + * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`) + * @property {Object} data.boundaries Offsets of the popper boundaries + * @property {Object} data.offsets The measurements of popper, reference and arrow elements + * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values + * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values + * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0 + */ + +/** + * Default options provided to Popper.js constructor.
+ * These can be overridden using the `options` argument of Popper.js.
+ * To override an option, simply pass an object with the same + * structure of the `options` object, as the 3rd argument. For example: + * ``` + * new Popper(ref, pop, { + * modifiers: { + * preventOverflow: { enabled: false } + * } + * }) + * ``` + * @type {Object} + * @static + * @memberof Popper + */ +var Defaults = { + /** + * Popper's placement. + * @prop {Popper.placements} placement='bottom' + */ + placement: 'bottom', + + /** + * Set this to true if you want popper to position it self in 'fixed' mode + * @prop {Boolean} positionFixed=false + */ + positionFixed: false, + + /** + * Whether events (resize, scroll) are initially enabled. + * @prop {Boolean} eventsEnabled=true + */ + eventsEnabled: true, + + /** + * Set to true if you want to automatically remove the popper when + * you call the `destroy` method. + * @prop {Boolean} removeOnDestroy=false + */ + removeOnDestroy: false, + + /** + * Callback called when the popper is created.
+ * By default, it is set to no-op.
+ * Access Popper.js instance with `data.instance`. + * @prop {onCreate} + */ + onCreate: function onCreate() {}, + + /** + * Callback called when the popper is updated. This callback is not called + * on the initialization/creation of the popper, but only on subsequent + * updates.
+ * By default, it is set to no-op.
+ * Access Popper.js instance with `data.instance`. + * @prop {onUpdate} + */ + onUpdate: function onUpdate() {}, + + /** + * List of modifiers used to modify the offsets before they are applied to the popper. + * They provide most of the functionalities of Popper.js. + * @prop {modifiers} + */ + modifiers: modifiers +}; + +/** + * @callback onCreate + * @param {dataObject} data + */ + +/** + * @callback onUpdate + * @param {dataObject} data + */ + +// Utils +// Methods +var Popper = function () { + /** + * Creates a new Popper.js instance. + * @class Popper + * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper + * @param {HTMLElement} popper - The HTML element used as the popper + * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults) + * @return {Object} instance - The generated Popper.js instance + */ + function Popper(reference, popper) { + var _this = this; + + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + classCallCheck$1(this, Popper); + + this.scheduleUpdate = function () { + return requestAnimationFrame(_this.update); + }; + + // make update() debounced, so that it only runs at most once-per-tick + this.update = debounce(this.update.bind(this)); + + // with {} we create a new object with the options inside it + this.options = _extends$1({}, Popper.Defaults, options); + + // init state + this.state = { + isDestroyed: false, + isCreated: false, + scrollParents: [] + }; + + // get reference and popper elements (allow jQuery wrappers) + this.reference = reference && reference.jquery ? reference[0] : reference; + this.popper = popper && popper.jquery ? popper[0] : popper; + + // Deep merge modifiers options + this.options.modifiers = {}; + Object.keys(_extends$1({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) { + _this.options.modifiers[name] = _extends$1({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); + }); + + // Refactoring modifiers' list (Object => Array) + this.modifiers = Object.keys(this.options.modifiers).map(function (name) { + return _extends$1({ + name: name + }, _this.options.modifiers[name]); + }) + // sort the modifiers by order + .sort(function (a, b) { + return a.order - b.order; + }); + + // modifiers have the ability to execute arbitrary code when Popper.js get inited + // such code is executed in the same order of its modifier + // they could add new properties to their options configuration + // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`! + this.modifiers.forEach(function (modifierOptions) { + if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) { + modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state); + } + }); + + // fire the first update to position the popper in the right place + this.update(); + + var eventsEnabled = this.options.eventsEnabled; + if (eventsEnabled) { + // setup event listeners, they will take care of update the position in specific situations + this.enableEventListeners(); + } + + this.state.eventsEnabled = eventsEnabled; + } + + // We can't use class properties because they don't get listed in the + // class prototype and break stuff like Sinon stubs + + + createClass$1(Popper, [{ + key: 'update', + value: function update$$1() { + return update.call(this); + } + }, { + key: 'destroy', + value: function destroy$$1() { + return destroy.call(this); + } + }, { + key: 'enableEventListeners', + value: function enableEventListeners$$1() { + return enableEventListeners.call(this); + } + }, { + key: 'disableEventListeners', + value: function disableEventListeners$$1() { + return disableEventListeners.call(this); + } + + /** + * Schedules an update. It will run on the next UI update available. + * @method scheduleUpdate + * @memberof Popper + */ + + /** + * Collection of utilities useful when writing custom modifiers. + * Starting from version 1.7, this method is available only if you + * include `popper-utils.js` before `popper.js`. + * + * **DEPRECATION**: This way to access PopperUtils is deprecated + * and will be removed in v2! Use the PopperUtils module directly instead. + * Due to the high instability of the methods contained in Utils, we can't + * guarantee them to follow semver. Use them at your own risk! + * @static + * @private + * @type {Object} + * @deprecated since version 1.8 + * @member Utils + * @memberof Popper + */ + + }]); + return Popper; +}(); + +/** + * The `referenceObject` is an object that provides an interface compatible with Popper.js + * and lets you use it as replacement of a real DOM node.
+ * You can use this method to position a popper relatively to a set of coordinates + * in case you don't have a DOM node to use as reference. + * + * ``` + * new Popper(referenceObject, popperNode); + * ``` + * + * NB: This feature isn't supported in Internet Explorer 10. + * @name referenceObject + * @property {Function} data.getBoundingClientRect + * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method. + * @property {number} data.clientWidth + * An ES6 getter that will return the width of the virtual reference element. + * @property {number} data.clientHeight + * An ES6 getter that will return the height of the virtual reference element. + */ + +Popper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils; +Popper.placements = placements; +Popper.Defaults = Defaults; + +/** + * Triggers document reflow. + * Use void because some minifiers or engines think simply accessing the property + * is unnecessary. + * @param {Element} popper + */ +function reflow(popper) { + void popper.offsetHeight; +} + +/** + * Wrapper util for popper position updating. + * Updates the popper's position and invokes the callback on update. + * Hackish workaround until Popper 2.0's update() becomes sync. + * @param {Popper} popperInstance + * @param {Function} callback: to run once popper's position was updated + * @param {Boolean} updateAlreadyCalled: was scheduleUpdate() already called? + */ +function updatePopperPosition(popperInstance, callback, updateAlreadyCalled) { + var popper = popperInstance.popper, + options = popperInstance.options; + + var onCreate = options.onCreate; + var onUpdate = options.onUpdate; + + options.onCreate = options.onUpdate = function () { + reflow(popper), callback && callback(), onUpdate(); + options.onCreate = onCreate; + options.onUpdate = onUpdate; + }; + + if (!updateAlreadyCalled) { + popperInstance.scheduleUpdate(); + } +} + +/** + * Returns the core placement ('top', 'bottom', 'left', 'right') of a popper + * @param {Element} popper + * @return {String} + */ +function getPopperPlacement(popper) { + return popper.getAttribute('x-placement').replace(/-.+/, ''); +} + +/** + * Determines if the mouse's cursor is outside the interactive border + * @param {MouseEvent} event + * @param {Element} popper + * @param {Object} options + * @return {Boolean} + */ +function cursorIsOutsideInteractiveBorder(event, popper, options) { + if (!popper.getAttribute('x-placement')) return true; + + var x = event.clientX, + y = event.clientY; + var interactiveBorder = options.interactiveBorder, + distance = options.distance; + + + var rect = popper.getBoundingClientRect(); + var placement = getPopperPlacement(popper); + var borderWithDistance = interactiveBorder + distance; + + var exceeds = { + top: rect.top - y > interactiveBorder, + bottom: y - rect.bottom > interactiveBorder, + left: rect.left - x > interactiveBorder, + right: x - rect.right > interactiveBorder + }; + + switch (placement) { + case 'top': + exceeds.top = rect.top - y > borderWithDistance; + break; + case 'bottom': + exceeds.bottom = y - rect.bottom > borderWithDistance; + break; + case 'left': + exceeds.left = rect.left - x > borderWithDistance; + break; + case 'right': + exceeds.right = x - rect.right > borderWithDistance; + break; + } + + return exceeds.top || exceeds.bottom || exceeds.left || exceeds.right; +} + +/** + * Transforms the `arrowTransform` numbers based on the placement axis + * @param {String} type 'scale' or 'translate' + * @param {Number[]} numbers + * @param {Boolean} isVertical + * @param {Boolean} isReverse + * @return {String} + */ +function transformNumbersBasedOnPlacementAxis(type, numbers, isVertical, isReverse) { + if (!numbers.length) return ''; + + var transforms = { + scale: function () { + if (numbers.length === 1) { + return '' + numbers[0]; + } else { + return isVertical ? numbers[0] + ', ' + numbers[1] : numbers[1] + ', ' + numbers[0]; + } + }(), + translate: function () { + if (numbers.length === 1) { + return isReverse ? -numbers[0] + 'px' : numbers[0] + 'px'; + } else { + if (isVertical) { + return isReverse ? numbers[0] + 'px, ' + -numbers[1] + 'px' : numbers[0] + 'px, ' + numbers[1] + 'px'; + } else { + return isReverse ? -numbers[1] + 'px, ' + numbers[0] + 'px' : numbers[1] + 'px, ' + numbers[0] + 'px'; + } + } + }() + }; + + return transforms[type]; +} + +/** + * Transforms the `arrowTransform` x or y axis based on the placement axis + * @param {String} axis 'X', 'Y', '' + * @param {Boolean} isVertical + * @return {String} + */ +function transformAxis(axis, isVertical) { + if (!axis) return ''; + var map = { + X: 'Y', + Y: 'X' + }; + return isVertical ? axis : map[axis]; +} + +/** + * Computes and applies the necessary arrow transform + * @param {Element} popper + * @param {Element} arrow + * @param {String} arrowTransform + */ +function computeArrowTransform(popper, arrow, arrowTransform) { + var placement = getPopperPlacement(popper); + var isVertical = placement === 'top' || placement === 'bottom'; + var isReverse = placement === 'right' || placement === 'bottom'; + + var getAxis = function getAxis(re) { + var match = arrowTransform.match(re); + return match ? match[1] : ''; + }; + + var getNumbers = function getNumbers(re) { + var match = arrowTransform.match(re); + return match ? match[1].split(',').map(parseFloat) : []; + }; + + var re = { + translate: /translateX?Y?\(([^)]+)\)/, + scale: /scaleX?Y?\(([^)]+)\)/ + }; + + var matches = { + translate: { + axis: getAxis(/translate([XY])/), + numbers: getNumbers(re.translate) + }, + scale: { + axis: getAxis(/scale([XY])/), + numbers: getNumbers(re.scale) + } + }; + + var computedTransform = arrowTransform.replace(re.translate, 'translate' + transformAxis(matches.translate.axis, isVertical) + '(' + transformNumbersBasedOnPlacementAxis('translate', matches.translate.numbers, isVertical, isReverse) + ')').replace(re.scale, 'scale' + transformAxis(matches.scale.axis, isVertical) + '(' + transformNumbersBasedOnPlacementAxis('scale', matches.scale.numbers, isVertical, isReverse) + ')'); + + arrow.style[prefix('transform')] = computedTransform; +} + +/** + * Returns the distance taking into account the default distance due to + * the transform: translate setting in CSS + * @param {Number} distance + * @return {String} + */ +function getOffsetDistanceInPx(distance) { + return -(distance - defaults.distance) + 'px'; +} + +var matches = {}; + +if (isBrowser) { + var e = Element.prototype; + matches = e.matches || e.matchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector || e.msMatchesSelector || function (s) { + var matches = (this.document || this.ownerDocument).querySelectorAll(s); + var i = matches.length; + while (--i >= 0 && matches.item(i) !== this) {} // eslint-disable-line no-empty + return i > -1; + }; +} + +var matches$1 = matches; + +/** + * Ponyfill to get the closest parent element + * @param {Element} element - child of parent to be returned + * @param {String} parentSelector - selector to match the parent if found + * @return {Element} + */ +function closest(element, parentSelector) { + var fn = Element.prototype.closest || function (selector) { + var el = this; + while (el) { + if (matches$1.call(el, selector)) { + return el; + } + el = el.parentElement; + } + }; + + return fn.call(element, parentSelector); +} + +/** + * Returns the value taking into account the value being either a number or array + * @param {Number|Array} value + * @param {Number} index + * @return {Number} + */ +function getValue(value, index) { + return Array.isArray(value) ? value[index] : value; +} + +/** + * Sets the visibility state of an element for transition to begin + * @param {Element[]} els - array of elements + * @param {String} type - 'visible' or 'hidden' + */ +function setVisibilityState(els, type) { + els.forEach(function (el) { + if (!el) return; + el.setAttribute('data-state', type); + }); +} + +/** + * Sets the transition property to each element + * @param {Element[]} els - Array of elements + * @param {String} value + */ +function applyTransitionDuration(els, value) { + els.filter(Boolean).forEach(function (el) { + el.style[prefix('transitionDuration')] = value + 'ms'; + }); +} + +/** + * Focuses an element while preventing a scroll jump if it's not entirely within the viewport + * @param {Element} el + */ +function focus(el) { + var x = window.scrollX || window.pageXOffset; + var y = window.scrollY || window.pageYOffset; + el.focus(); + scroll(x, y); +} + +var key = {}; +var store = function store(data) { + return function (k) { + return k === key && data; + }; +}; + +var Tippy = function () { + function Tippy(config) { + classCallCheck(this, Tippy); + + for (var _key in config) { + this[_key] = config[_key]; + } + + this.state = { + destroyed: false, + visible: false, + enabled: true + }; + + this._ = store({ + mutationObservers: [] + }); + } + + /** + * Enables the tooltip to allow it to show or hide + * @memberof Tippy + * @public + */ + + + createClass(Tippy, [{ + key: 'enable', + value: function enable() { + this.state.enabled = true; + } + + /** + * Disables the tooltip from showing or hiding, but does not destroy it + * @memberof Tippy + * @public + */ + + }, { + key: 'disable', + value: function disable() { + this.state.enabled = false; + } + + /** + * Shows the tooltip + * @param {Number} duration in milliseconds + * @memberof Tippy + * @public + */ + + }, { + key: 'show', + value: function show(duration) { + var _this = this; + + if (this.state.destroyed || !this.state.enabled) return; + + var popper = this.popper, + reference = this.reference, + options = this.options; + + var _getInnerElements = getInnerElements(popper), + tooltip = _getInnerElements.tooltip, + backdrop = _getInnerElements.backdrop, + content = _getInnerElements.content; + + // If the `dynamicTitle` option is true, the instance is allowed + // to be created with an empty title. Make sure that the tooltip + // content is not empty before showing it + + + if (options.dynamicTitle && !reference.getAttribute('data-original-title')) { + return; + } + + // Do not show tooltip if reference contains 'disabled' attribute. FF fix for #221 + if (reference.hasAttribute('disabled')) return; + + // Destroy tooltip if the reference element is no longer on the DOM + if (!reference.refObj && !document.documentElement.contains(reference)) { + this.destroy(); + return; + } + + options.onShow.call(popper, this); + + duration = getValue(duration !== undefined ? duration : options.duration, 0); + + // Prevent a transition when popper changes position + applyTransitionDuration([popper, tooltip, backdrop], 0); + + popper.style.visibility = 'visible'; + this.state.visible = true; + + _mount.call(this, function () { + if (!_this.state.visible) return; + + if (!_hasFollowCursorBehavior.call(_this)) { + // FIX: Arrow will sometimes not be positioned correctly. Force another update. + _this.popperInstance.scheduleUpdate(); + } + + // Set initial position near the cursor + if (_hasFollowCursorBehavior.call(_this)) { + _this.popperInstance.disableEventListeners(); + var delay = getValue(options.delay, 0); + var lastTriggerEvent = _this._(key).lastTriggerEvent; + if (lastTriggerEvent) { + _this._(key).followCursorListener(delay && _this._(key).lastMouseMoveEvent ? _this._(key).lastMouseMoveEvent : lastTriggerEvent); + } + } + + // Re-apply transition durations + applyTransitionDuration([tooltip, backdrop, backdrop ? content : null], duration); + + if (backdrop) { + getComputedStyle(backdrop)[prefix('transform')]; + } + + if (options.interactive) { + reference.classList.add('tippy-active'); + } + + if (options.sticky) { + _makeSticky.call(_this); + } + + setVisibilityState([tooltip, backdrop], 'visible'); + + _onTransitionEnd.call(_this, duration, function () { + if (!options.updateDuration) { + tooltip.classList.add('tippy-notransition'); + } + + if (options.interactive) { + focus(popper); + } + + reference.setAttribute('aria-describedby', 'tippy-' + _this.id); + + options.onShown.call(popper, _this); + }); + }); + } + + /** + * Hides the tooltip + * @param {Number} duration in milliseconds + * @memberof Tippy + * @public + */ + + }, { + key: 'hide', + value: function hide(duration) { + var _this2 = this; + + if (this.state.destroyed || !this.state.enabled) return; + + var popper = this.popper, + reference = this.reference, + options = this.options; + + var _getInnerElements2 = getInnerElements(popper), + tooltip = _getInnerElements2.tooltip, + backdrop = _getInnerElements2.backdrop, + content = _getInnerElements2.content; + + options.onHide.call(popper, this); + + duration = getValue(duration !== undefined ? duration : options.duration, 1); + + if (!options.updateDuration) { + tooltip.classList.remove('tippy-notransition'); + } + + if (options.interactive) { + reference.classList.remove('tippy-active'); + } + + popper.style.visibility = 'hidden'; + this.state.visible = false; + + applyTransitionDuration([tooltip, backdrop, backdrop ? content : null], duration); + + setVisibilityState([tooltip, backdrop], 'hidden'); + + if (options.interactive && options.trigger.indexOf('click') > -1) { + focus(reference); + } + + _onTransitionEnd.call(this, duration, function () { + if (_this2.state.visible || !options.appendTo.contains(popper)) return; + + if (!_this2._(key).isPreparingToShow) { + document.removeEventListener('mousemove', _this2._(key).followCursorListener); + _this2._(key).lastMouseMoveEvent = null; + } + + if (_this2.popperInstance) { + _this2.popperInstance.disableEventListeners(); + } + + reference.removeAttribute('aria-describedby'); + + options.appendTo.removeChild(popper); + + options.onHidden.call(popper, _this2); + }); + } + + /** + * Destroys the tooltip instance + * @param {Boolean} destroyTargetInstances - relevant only when destroying delegates + * @memberof Tippy + * @public + */ + + }, { + key: 'destroy', + value: function destroy() { + var _this3 = this; + + var destroyTargetInstances = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + + if (this.state.destroyed) return; + + // Ensure the popper is hidden + if (this.state.visible) { + this.hide(0); + } + + this.listeners.forEach(function (listener) { + _this3.reference.removeEventListener(listener.event, listener.handler); + }); + + // Restore title + if (this.title) { + this.reference.setAttribute('title', this.title); + } + + delete this.reference._tippy; + + var attributes = ['data-original-title', 'data-tippy', 'data-tippy-delegate']; + attributes.forEach(function (attr) { + _this3.reference.removeAttribute(attr); + }); + + if (this.options.target && destroyTargetInstances) { + toArray(this.reference.querySelectorAll(this.options.target)).forEach(function (child) { + return child._tippy && child._tippy.destroy(); + }); + } + + if (this.popperInstance) { + this.popperInstance.destroy(); + } + + this._(key).mutationObservers.forEach(function (observer) { + observer.disconnect(); + }); + + this.state.destroyed = true; + } + }]); + return Tippy; +}(); + +/** + * ------------------------------------------------------------------------ + * Private methods + * ------------------------------------------------------------------------ + * Standalone functions to be called with the instance's `this` context to make + * them truly private and not accessible on the prototype + */ + +/** + * Determines if the tooltip instance has followCursor behavior + * @return {Boolean} + * @memberof Tippy + * @private + */ +function _hasFollowCursorBehavior() { + var lastTriggerEvent = this._(key).lastTriggerEvent; + return this.options.followCursor && !browser.usingTouch && lastTriggerEvent && lastTriggerEvent.type !== 'focus'; +} + +/** + * Creates the Tippy instance for the child target of the delegate container + * @param {Event} event + * @memberof Tippy + * @private + */ +function _createDelegateChildTippy(event) { + var targetEl = closest(event.target, this.options.target); + if (targetEl && !targetEl._tippy) { + var title = targetEl.getAttribute('title') || this.title; + if (title) { + targetEl.setAttribute('title', title); + tippy(targetEl, _extends({}, this.options, { target: null })); + _enter.call(targetEl._tippy, event); + } + } +} + +/** + * Method used by event listeners to invoke the show method, taking into account delays and + * the `wait` option + * @param {Event} event + * @memberof Tippy + * @private + */ +function _enter(event) { + var _this4 = this; + + var options = this.options; + + + _clearDelayTimeouts.call(this); + + if (this.state.visible) return; + + // Is a delegate, create Tippy instance for the child target + if (options.target) { + _createDelegateChildTippy.call(this, event); + return; + } + + this._(key).isPreparingToShow = true; + + if (options.wait) { + options.wait.call(this.popper, this.show.bind(this), event); + return; + } + + // If the tooltip has a delay, we need to be listening to the mousemove as soon as the trigger + // event is fired so that it's in the correct position upon mount. + if (_hasFollowCursorBehavior.call(this)) { + if (!this._(key).followCursorListener) { + _setFollowCursorListener.call(this); + } + + var _getInnerElements3 = getInnerElements(this.popper), + arrow = _getInnerElements3.arrow; + + if (arrow) arrow.style.margin = '0'; + document.addEventListener('mousemove', this._(key).followCursorListener); + } + + var delay = getValue(options.delay, 0); + + if (delay) { + this._(key).showTimeout = setTimeout(function () { + _this4.show(); + }, delay); + } else { + this.show(); + } +} + +/** + * Method used by event listeners to invoke the hide method, taking into account delays + * @memberof Tippy + * @private + */ +function _leave() { + var _this5 = this; + + _clearDelayTimeouts.call(this); + + if (!this.state.visible) return; + + this._(key).isPreparingToShow = false; + + var delay = getValue(this.options.delay, 1); + + if (delay) { + this._(key).hideTimeout = setTimeout(function () { + if (_this5.state.visible) { + _this5.hide(); + } + }, delay); + } else { + this.hide(); + } +} + +/** + * Returns relevant listeners for the instance + * @return {Object} of listeners + * @memberof Tippy + * @private + */ +function _getEventListeners() { + var _this6 = this; + + var onTrigger = function onTrigger(event) { + if (!_this6.state.enabled) return; + + var shouldStopEvent = browser.supportsTouch && browser.usingTouch && ['mouseenter', 'mouseover', 'focus'].indexOf(event.type) > -1; + + if (shouldStopEvent && _this6.options.touchHold) return; + + _this6._(key).lastTriggerEvent = event; + + // Toggle show/hide when clicking click-triggered tooltips + if (event.type === 'click' && _this6.options.hideOnClick !== 'persistent' && _this6.state.visible) { + _leave.call(_this6); + } else { + _enter.call(_this6, event); + } + }; + + var onMouseLeave = function onMouseLeave(event) { + if (['mouseleave', 'mouseout'].indexOf(event.type) > -1 && browser.supportsTouch && browser.usingTouch && _this6.options.touchHold) return; + + if (_this6.options.interactive) { + var hide = _leave.bind(_this6); + + var onMouseMove = function onMouseMove(event) { + var referenceCursorIsOver = closest(event.target, selectors.REFERENCE); + var cursorIsOverPopper = closest(event.target, selectors.POPPER) === _this6.popper; + var cursorIsOverReference = referenceCursorIsOver === _this6.reference; + + if (cursorIsOverPopper || cursorIsOverReference) return; + + if (cursorIsOutsideInteractiveBorder(event, _this6.popper, _this6.options)) { + document.body.removeEventListener('mouseleave', hide); + document.removeEventListener('mousemove', onMouseMove); + + _leave.call(_this6, onMouseMove); + } + }; + + document.body.addEventListener('mouseleave', hide); + document.addEventListener('mousemove', onMouseMove); + return; + } + + _leave.call(_this6); + }; + + var onBlur = function onBlur(event) { + if (event.target !== _this6.reference || browser.usingTouch) return; + + if (_this6.options.interactive) { + if (!event.relatedTarget) return; + if (closest(event.relatedTarget, selectors.POPPER)) return; + } + + _leave.call(_this6); + }; + + var onDelegateShow = function onDelegateShow(event) { + if (closest(event.target, _this6.options.target)) { + _enter.call(_this6, event); + } + }; + + var onDelegateHide = function onDelegateHide(event) { + if (closest(event.target, _this6.options.target)) { + _leave.call(_this6); + } + }; + + return { + onTrigger: onTrigger, + onMouseLeave: onMouseLeave, + onBlur: onBlur, + onDelegateShow: onDelegateShow, + onDelegateHide: onDelegateHide + }; +} + +/** + * Creates and returns a new popper instance + * @return {Popper} + * @memberof Tippy + * @private + */ +function _createPopperInstance() { + var _this7 = this; + + var popper = this.popper, + reference = this.reference, + options = this.options; + + var _getInnerElements4 = getInnerElements(popper), + tooltip = _getInnerElements4.tooltip; + + var popperOptions = options.popperOptions; + + var arrowSelector = options.arrowType === 'round' ? selectors.ROUND_ARROW : selectors.ARROW; + var arrow = tooltip.querySelector(arrowSelector); + + var config = _extends({ + placement: options.placement + }, popperOptions || {}, { + modifiers: _extends({}, popperOptions ? popperOptions.modifiers : {}, { + arrow: _extends({ + element: arrowSelector + }, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.arrow : {}), + flip: _extends({ + enabled: options.flip, + padding: options.distance + 5 /* 5px from viewport boundary */ + , behavior: options.flipBehavior + }, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.flip : {}), + offset: _extends({ + offset: options.offset + }, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.offset : {}) + }), + onCreate: function onCreate() { + tooltip.style[getPopperPlacement(popper)] = getOffsetDistanceInPx(options.distance); + + if (arrow && options.arrowTransform) { + computeArrowTransform(popper, arrow, options.arrowTransform); + } + }, + onUpdate: function onUpdate() { + var styles = tooltip.style; + styles.top = ''; + styles.bottom = ''; + styles.left = ''; + styles.right = ''; + styles[getPopperPlacement(popper)] = getOffsetDistanceInPx(options.distance); + + if (arrow && options.arrowTransform) { + computeArrowTransform(popper, arrow, options.arrowTransform); + } + } + }); + + _addMutationObserver.call(this, { + target: popper, + callback: function callback() { + _this7.popperInstance.update(); + }, + options: { + childList: true, + subtree: true, + characterData: true + } + }); + + return new Popper(reference, popper, config); +} + +/** + * Appends the popper element to the DOM, updating or creating the popper instance + * @param {Function} callback + * @memberof Tippy + * @private + */ +function _mount(callback) { + var options = this.options; + + + if (!this.popperInstance) { + this.popperInstance = _createPopperInstance.call(this); + if (!options.livePlacement) { + this.popperInstance.disableEventListeners(); + } + } else { + this.popperInstance.scheduleUpdate(); + if (options.livePlacement && !_hasFollowCursorBehavior.call(this)) { + this.popperInstance.enableEventListeners(); + } + } + + // If the instance previously had followCursor behavior, it will be positioned incorrectly + // if triggered by `focus` afterwards - update the reference back to the real DOM element + if (!_hasFollowCursorBehavior.call(this)) { + var _getInnerElements5 = getInnerElements(this.popper), + arrow = _getInnerElements5.arrow; + + if (arrow) arrow.style.margin = ''; + this.popperInstance.reference = this.reference; + } + + updatePopperPosition(this.popperInstance, callback, true); + + if (!options.appendTo.contains(this.popper)) { + options.appendTo.appendChild(this.popper); + } +} + +/** + * Clears the show and hide delay timeouts + * @memberof Tippy + * @private + */ +function _clearDelayTimeouts() { + var _ref = this._(key), + showTimeout = _ref.showTimeout, + hideTimeout = _ref.hideTimeout; + + clearTimeout(showTimeout); + clearTimeout(hideTimeout); +} + +/** + * Sets the mousemove event listener function for `followCursor` option + * @memberof Tippy + * @private + */ +function _setFollowCursorListener() { + var _this8 = this; + + this._(key).followCursorListener = function (event) { + var _$lastMouseMoveEvent = _this8._(key).lastMouseMoveEvent = event, + clientX = _$lastMouseMoveEvent.clientX, + clientY = _$lastMouseMoveEvent.clientY; + + if (!_this8.popperInstance) return; + + _this8.popperInstance.reference = { + getBoundingClientRect: function getBoundingClientRect() { + return { + width: 0, + height: 0, + top: clientY, + left: clientX, + right: clientX, + bottom: clientY + }; + }, + clientWidth: 0, + clientHeight: 0 + }; + + _this8.popperInstance.scheduleUpdate(); + }; +} + +/** + * Updates the popper's position on each animation frame + * @memberof Tippy + * @private + */ +function _makeSticky() { + var _this9 = this; + + var applyTransitionDuration$$1 = function applyTransitionDuration$$1() { + _this9.popper.style[prefix('transitionDuration')] = _this9.options.updateDuration + 'ms'; + }; + + var removeTransitionDuration = function removeTransitionDuration() { + _this9.popper.style[prefix('transitionDuration')] = ''; + }; + + var updatePosition = function updatePosition() { + if (_this9.popperInstance) { + _this9.popperInstance.update(); + } + + applyTransitionDuration$$1(); + + if (_this9.state.visible) { + requestAnimationFrame(updatePosition); + } else { + removeTransitionDuration(); + } + }; + + updatePosition(); +} + +/** + * Adds a mutation observer to an element and stores it in the instance + * @param {Object} + * @memberof Tippy + * @private + */ +function _addMutationObserver(_ref2) { + var target = _ref2.target, + callback = _ref2.callback, + options = _ref2.options; + + if (!window.MutationObserver) return; + + var observer = new MutationObserver(callback); + observer.observe(target, options); + + this._(key).mutationObservers.push(observer); +} + +/** + * Fires the callback functions once the CSS transition ends for `show` and `hide` methods + * @param {Number} duration + * @param {Function} callback - callback function to fire once transition completes + * @memberof Tippy + * @private + */ +function _onTransitionEnd(duration, callback) { + // Make callback synchronous if duration is 0 + if (!duration) { + return callback(); + } + + var _getInnerElements6 = getInnerElements(this.popper), + tooltip = _getInnerElements6.tooltip; + + var toggleListeners = function toggleListeners(action, listener) { + if (!listener) return; + tooltip[action + 'EventListener']('transition' in document.body.style ? 'transitionend' : 'webkitTransitionEnd', listener); + }; + + var listener = function listener(e) { + if (e.target === tooltip) { + toggleListeners('remove', listener); + callback(); + } + }; + + toggleListeners('remove', this._(key).transitionendListener); + toggleListeners('add', listener); + + this._(key).transitionendListener = listener; +} + +var idCounter = 1; + +/** + * Creates tooltips for each reference element + * @param {Element[]} els + * @param {Object} config + * @return {Tippy[]} Array of Tippy instances + */ +function createTooltips(els, config) { + return els.reduce(function (acc, reference) { + var id = idCounter; + + var options = evaluateOptions(reference, config.performance ? config : getIndividualOptions(reference, config)); + + var title = reference.getAttribute('title'); + + // Don't create an instance when: + // * the `title` attribute is falsy (null or empty string), and + // * it's not a delegate for tooltips, and + // * there is no html template specified, and + // * `dynamicTitle` option is false + if (!title && !options.target && !options.html && !options.dynamicTitle) { + return acc; + } + + // Delegates should be highlighted as different + reference.setAttribute(options.target ? 'data-tippy-delegate' : 'data-tippy', ''); + + removeTitle(reference); + + var popper = createPopperElement(id, title, options); + + var tippy = new Tippy({ + id: id, + reference: reference, + popper: popper, + options: options, + title: title, + popperInstance: null + }); + + if (options.createPopperInstanceOnInit) { + tippy.popperInstance = _createPopperInstance.call(tippy); + tippy.popperInstance.disableEventListeners(); + } + + var listeners = _getEventListeners.call(tippy); + tippy.listeners = options.trigger.trim().split(' ').reduce(function (acc, eventType) { + return acc.concat(createTrigger(eventType, reference, listeners, options)); + }, []); + + // Update tooltip content whenever the title attribute on the reference changes + if (options.dynamicTitle) { + _addMutationObserver.call(tippy, { + target: reference, + callback: function callback() { + var _getInnerElements = getInnerElements(popper), + content = _getInnerElements.content; + + var title = reference.getAttribute('title'); + if (title) { + content[options.allowTitleHTML ? 'innerHTML' : 'textContent'] = tippy.title = title; + removeTitle(reference); + } + }, + + options: { + attributes: true + } + }); + } + + // Shortcuts + reference._tippy = tippy; + popper._tippy = tippy; + popper._reference = reference; + + acc.push(tippy); + + idCounter++; + + return acc; + }, []); +} + +/** + * Hides all poppers + * @param {Tippy} excludeTippy - tippy to exclude if needed + */ +function hideAllPoppers(excludeTippy) { + var poppers = toArray(document.querySelectorAll(selectors.POPPER)); + + poppers.forEach(function (popper) { + var tippy = popper._tippy; + if (!tippy) return; + + var options = tippy.options; + + + if ((options.hideOnClick === true || options.trigger.indexOf('focus') > -1) && (!excludeTippy || popper !== excludeTippy.popper)) { + tippy.hide(); + } + }); +} + +/** + * Adds the needed event listeners + */ +function bindEventListeners(useCapture) { + var onDocumentTouch = function onDocumentTouch() { + if (browser.usingTouch) return; + + browser.usingTouch = true; + + if (browser.iOS) { + document.body.classList.add('tippy-touch'); + } + + if (browser.dynamicInputDetection && window.performance) { + document.addEventListener('mousemove', onDocumentMouseMove); + } + + browser.onUserInputChange('touch'); + }; + + var onDocumentMouseMove = function () { + var time = void 0; + + return function () { + var now = performance.now(); + + // Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference + if (now - time < 20) { + browser.usingTouch = false; + document.removeEventListener('mousemove', onDocumentMouseMove); + if (!browser.iOS) { + document.body.classList.remove('tippy-touch'); + } + browser.onUserInputChange('mouse'); + } + + time = now; + }; + }(); + + var onDocumentClick = function onDocumentClick(event) { + // Simulated events dispatched on the document + if (!(event.target instanceof Element)) { + return hideAllPoppers(); + } + + var reference = closest(event.target, selectors.REFERENCE); + var popper = closest(event.target, selectors.POPPER); + + if (popper && popper._tippy && popper._tippy.options.interactive) { + return; + } + + if (reference && reference._tippy) { + var options = reference._tippy.options; + + var isClickTrigger = options.trigger.indexOf('click') > -1; + var isMultiple = options.multiple; + + // Hide all poppers except the one belonging to the element that was clicked + if (!isMultiple && browser.usingTouch || !isMultiple && isClickTrigger) { + return hideAllPoppers(reference._tippy); + } + + if (options.hideOnClick !== true || isClickTrigger) { + return; + } + } + + hideAllPoppers(); + }; + + var onWindowBlur = function onWindowBlur() { + var _document = document, + el = _document.activeElement; + + if (el && el.blur && matches$1.call(el, selectors.REFERENCE)) { + el.blur(); + } + }; + + var onWindowResize = function onWindowResize() { + toArray(document.querySelectorAll(selectors.POPPER)).forEach(function (popper) { + var tippyInstance = popper._tippy; + if (tippyInstance && !tippyInstance.options.livePlacement) { + tippyInstance.popperInstance.scheduleUpdate(); + } + }); + }; + + document.addEventListener('click', onDocumentClick, useCapture); + document.addEventListener('touchstart', onDocumentTouch); + window.addEventListener('blur', onWindowBlur); + window.addEventListener('resize', onWindowResize); + + if (!browser.supportsTouch && (navigator.maxTouchPoints || navigator.msMaxTouchPoints)) { + document.addEventListener('pointerdown', onDocumentTouch); + } +} + +var eventListenersBound = false; +var useCapture = false; + +/** + * Exported module + * @param {String|Element|Element[]|NodeList|Object} selector + * @param {Object} options + * @param {Boolean} one - create one tooltip + * @return {Object} + */ +function tippy(selector, options, one) { + if (browser.supported && !eventListenersBound) { + bindEventListeners(useCapture); + eventListenersBound = true; + } + + if (isObjectLiteral(selector)) { + polyfillVirtualReferenceProps(selector); + } + + options = _extends({}, defaults, options); + + var references = getArrayOfElements(selector); + var firstReference = references[0]; + + return { + selector: selector, + options: options, + tooltips: browser.supported ? createTooltips(one && firstReference ? [firstReference] : references, options) : [], + destroyAll: function destroyAll() { + this.tooltips.forEach(function (tooltip) { + return tooltip.destroy(); + }); + this.tooltips = []; + } + }; +} + +tippy.version = version; +tippy.browser = browser; +tippy.defaults = defaults; +tippy.one = function (selector, options) { + return tippy(selector, options, true).tooltips[0]; +}; +tippy.disableAnimations = function () { + defaults.updateDuration = defaults.duration = 0; + defaults.animateFill = false; +}; +tippy.useCapture = function () { + useCapture = true; +}; + +/** + * Injects CSS styles to document head + * @param {String} css + */ +function injectCSS() { + var css = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + + if (isBrowser && browser.supported) { + var head = document.head || document.querySelector('head'); + var style = document.createElement('style'); + style.type = 'text/css'; + head.insertBefore(style, head.firstChild); + + if (style.styleSheet) { + style.styleSheet.cssText = css; + } else { + style.appendChild(document.createTextNode(css)); + } + } +} + +injectCSS(styles); + +return tippy; + +}))); \ No newline at end of file diff --git a/dist/html-static/template/clab/button.html.tmpl b/dist/html-static/template/clab/button.html.tmpl index c5940ba4b..a01894a09 100644 --- a/dist/html-static/template/clab/button.html.tmpl +++ b/dist/html-static/template/clab/button.html.tmpl @@ -9,10 +9,6 @@ - - - - - - -
- - -
@@ -160,7 +159,7 @@
-
+ @@ -192,7 +191,7 @@
-
+ @@ -224,13 +223,11 @@
-
+ - - @@ -252,18 +249,24 @@
- + - +
+
+
+
+ +
+
+
- @@ -288,7 +291,7 @@
@@ -298,25 +301,66 @@
+ +
+
+
+
+ +
+
+
+

+ This panel allows to enable Container Editor mode . +

+
+
+
+
+ +
-
+
- - - - - - -
@@ -551,7 +575,6 @@
-
@@ -580,6 +603,7 @@
+
@@ -587,10 +611,6 @@ - - - - @@ -825,14 +841,15 @@ - + + - - - - - @@ -925,19 +936,12 @@ - - - - - - - - + \ No newline at end of file diff --git a/dist/html-static/template/clab/dev.html.tmpl b/dist/html-static/template/clab/dev.html.tmpl index c5940ba4b..b33a87253 100644 --- a/dist/html-static/template/clab/dev.html.tmpl +++ b/dist/html-static/template/clab/dev.html.tmpl @@ -4,15 +4,19 @@ TopoViewer - + + + - - - - - + + + + + + + - - -
- - -
@@ -160,7 +164,7 @@
-
+ @@ -192,7 +196,7 @@
-
+ @@ -224,13 +228,11 @@
-
+ - - @@ -252,18 +254,24 @@
- + - +
+
+
+
+ +
+
+
- @@ -288,7 +296,7 @@
@@ -298,7 +306,7 @@
@@ -310,12 +318,59 @@
-
+
- + + - - - - -
@@ -551,7 +585,6 @@
-
@@ -580,6 +613,7 @@
+
@@ -587,10 +621,6 @@ - - - - @@ -825,14 +851,15 @@ - + + - - - - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + + + + + + + + + + - - + \ No newline at end of file diff --git a/dist/html-static/template/clab/index.html.tmpl b/dist/html-static/template/clab/index.html.tmpl index 9ac675750..d48ba4223 100755 --- a/dist/html-static/template/clab/index.html.tmpl +++ b/dist/html-static/template/clab/index.html.tmpl @@ -31,77 +31,73 @@ - - -
- - -
@@ -154,7 +149,7 @@
-
+ @@ -186,7 +181,7 @@
-
+ @@ -218,13 +213,11 @@
-
+ - - @@ -248,7 +241,7 @@
- +
@@ -257,14 +250,13 @@
- +
- @@ -289,7 +281,7 @@
@@ -299,7 +291,7 @@
@@ -311,16 +303,33 @@
-
+
+ + + + + - - - - - + - + + - - - - - @@ -771,15 +883,12 @@ - - - - + - + - + \ No newline at end of file diff --git a/dist/topoviewer b/dist/topoviewer index b2d79c580..7bb964c44 100755 Binary files a/dist/topoviewer and b/dist/topoviewer differ diff --git a/go_cloudshellwrapper/constants.go b/go_cloudshellwrapper/constants.go index 8165bb947..746a31b92 100755 --- a/go_cloudshellwrapper/constants.go +++ b/go_cloudshellwrapper/constants.go @@ -1,6 +1,6 @@ package cloudshellwrapper -var VersionInfo string = "nightly-24.11.27" +var VersionInfo string = "nightly-24.12.05" // create html-public files var HtmlPublicPrefixPath string = "./html-public/" diff --git a/go_cloudshellwrapper/constants.go.bak b/go_cloudshellwrapper/constants.go.bak index c2954a557..8165bb947 100755 --- a/go_cloudshellwrapper/constants.go.bak +++ b/go_cloudshellwrapper/constants.go.bak @@ -1,6 +1,6 @@ package cloudshellwrapper -var VersionInfo string = "nightly-24.11.26" +var VersionInfo string = "nightly-24.11.27" // create html-public files var HtmlPublicPrefixPath string = "./html-public/" diff --git a/html-static/js/index copy.js b/html-static/js/index copy.js deleted file mode 100644 index f9be1d80a..000000000 --- a/html-static/js/index copy.js +++ /dev/null @@ -1,2470 +0,0 @@ -// Initialize a state variable to track the element's presence -var isPanel01Cy = false; -var nodeClicked = false; -var edgeClicked = false; - -var cy - -var globalSelectedNode -var globalSelectedEdge - -var linkEndpointVisibility = true; -var nodeContainerStatusVisibility = false; - - -var globalShellUrl = "/js/cloudshell" - -var labName -var deploymentType - -document.addEventListener("DOMContentLoaded", async function() { - - detectColorScheme() - - await changeTitle() - - - // Reusable function to initialize a WebSocket connection - function initializeWebSocket(url, onMessageCallback) { - const protocol = location.protocol === "https:" ? "wss://" : "ws://"; - const socket = new WebSocket(protocol + location.host + url); - - socket.onopen = () => { - console.log(`Successfully connected WebSocket to ${url}`); - if (socket.readyState === WebSocket.OPEN) { - socket.send(`Hi From the WebSocketClient-${url}`); - } - }; - - socket.onclose = (event) => { - console.log(`Socket to ${url} closed: `, event); - socket.send("Client Closed!"); - }; - - socket.onerror = (error) => { - console.log(`Socket to ${url} error: `, error); - }; - - socket.onmessage = onMessageCallback; - - return socket; - } - - - // WebSocket for uptime - // WebSocket for uptime - const socketUptime = initializeWebSocket("/uptime", async (msgUptime) => { - environments = await getEnvironments(); - labName = environments["clab-name"] - deploymentType = environments["deploymentType"] - - console.log("initializeWebSocket - getEnvironments", environments) - console.log("initializeWebSocket - labName", environments["clab-name"]) - - const string01 = "Containerlab Topology: " + labName; - const string02 = " ::: Uptime: " + msgUptime.data; - - const ClabSubtitle = document.getElementById("ClabSubtitle"); - const messageBody = string01 + string02; - - ClabSubtitle.innerText = messageBody; - console.log(ClabSubtitle.innerText); - }); - - // WebSocket for ContainerNodeStatus - const socketContainerNodeStatusInitial = initializeWebSocket( - "/containerNodeStatus", - (msgContainerNodeStatus) => { - try { - const { - Names, - Status, - State - } = JSON.parse(msgContainerNodeStatus.data); - setNodeContainerStatus(Names, Status); - console.log(JSON.parse(msgContainerNodeStatus.data)); - - const IPAddress = JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.IPAddress; - const GlobalIPv6Address= JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.GlobalIPv6Address - - // console.log("IPAddress: ",JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.IPAddress); - // console.log("IPPrefixLen: ",JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.IPPrefixLen); - - // console.log("GlobalIPv6Address: ",JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.GlobalIPv6Address); - // console.log("GlobalIPv6PrefixLen: ",JSON.parse(msgContainerNodeStatus.data).Networks.Networks.clab.GlobalIPv6PrefixLen); - - - - setNodeDataWithContainerAttribute(Names, Status, State, IPAddress, GlobalIPv6Address); - - } catch (error) { - console.error("Error parsing JSON:", error); - } - }, - ); - - //- Instantiate Cytoscape.js - cy = cytoscape({ - container: document.getElementById("cy"), - elements: [], - style: [{ - selector: "node", - style: { - "background-color": "#3498db", - label: "data(label)", - }, - }, ], - }); - - - loadCytoStyle(); - - function loadCytoStyle() { - - // detect light or dark mode - const colorScheme = detectColorScheme(); - console.log('The user prefers:', colorScheme); - - //- Load and apply Cytoscape styles from cy-style.json using fetch - if (colorScheme == "light") { - fetch("css/cy-style.json") - .then((response) => response.json()) - .then((styles) => { - cy.style().fromJson(styles).update(); - }) - .catch((error) => { - console.error( - "Oops, we hit a snag! Couldnt load the cyto styles, bro.", - error, - ); - appendMessage( - `Oops, we hit a snag! Couldnt load the cyto styles, bro.: ${error}`, - ); - }); - } else if (colorScheme == "dark") { - fetch("css/cy-style-dark.json") - .then((response) => response.json()) - .then((styles) => { - cy.style().fromJson(styles).update(); - }) - .catch((error) => { - console.error( - "Oops, we hit a snag! Couldnt load the cyto styles, bro.", - error, - ); - appendMessage( - `Oops, we hit a snag! Couldnt load the cyto styles, bro.: ${error}`, - ); - }); - } - } - - // Enable grid guide extension - cy.gridGuide({ - // On/Off Modules - - snapToGridOnRelease: true, - snapToGridDuringDrag: false, - snapToAlignmentLocationOnRelease: true, - snapToAlignmentLocationDuringDrag: false, - distributionGuidelines: false, - geometricGuideline: false, - initPosAlignment: false, - centerToEdgeAlignment: false, - resize: false, - parentPadding: false, - drawGrid: false, - - // General - gridSpacing: 10, - snapToGridCenter: true, - - // Draw Grid - zoomDash: true, - panGrid: true, - gridStackOrder: -1, - gridColor: '#dedede', - lineWidth: 1.0, - - // Guidelines - guidelinesStackOrder: 4, - guidelinesTolerance: 2.00, - guidelinesStyle: { - strokeStyle: "#8b7d6b", - geometricGuidelineRange: 400, - range: 100, - minDistRange: 10, - distGuidelineOffset: 10, - horizontalDistColor: "#ff0000", - verticalDistColor: "#00ff00", - initPosAlignmentColor: "#0000ff", - lineDash: [0, 0], - horizontalDistLine: [0, 0], - verticalDistLine: [0, 0], - initPosAlignmentLine: [0, 0], - }, - - // Parent Padding - parentSpacing: -1 - }); - - // Fetch and load element data from a JSON file - fetch("dataCytoMarshall.json") - // fetch("") - - - .then((response) => response.json()) - .then((elements) => { - // Add the elements to the Cytoscape instance - // Add the elements to the Cytoscape instance - cy.add(elements); - //- run layout - //- run layout - const layout = cy.layout({ - name: "cola", - nodeGap: 5, - edgeLength: 100, - animate: true, - randomize: false, - maxSimulationTime: 1500, - }); - layout.run(); - - // remove node topoviewer - topoViewerNode = cy.filter('node[name = "topoviewer"]'); - topoViewerNode.remove(); - }) - .catch((error) => { - console.error("Error loading graph data:", error); - }); - - // Instantiate hover text element - const hoverText = document.createElement("box"); - hoverText.classList.add( - "hover-text", - "is-hidden", - "box", - "has-text-weight-normal", - "is-warning", - "is-smallest", - ); - hoverText.textContent = "Launch CloudShell."; - document.body.appendChild(hoverText); - - //- Toggle the Panel(s) when clicking on the cy container - //- Toggle the Panel(s) when clicking on the cy container - document.getElementById("cy").addEventListener("click", function(event) { - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here - - console.log("cy container clicked"); - - console.log("isPanel01Cy: ", isPanel01Cy); - console.log("nodeClicked: ", nodeClicked); - console.log("edgeClicked: ", edgeClicked); - - - loadCytoStyle(); - - if (!nodeClicked && !edgeClicked) { - if (!isPanel01Cy) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - // display none each ViewPortDrawer Element, the ViewPortDrawer is created during DOM loading and styled as display node initially - // display none each ViewPortDrawer Element, the ViewPortDrawer is created during DOM loading and styled as display node initially - var ViewPortDrawerElements = - document.getElementsByClassName("ViewPortDrawer"); - var ViewPortDrawerArray = Array.from(ViewPortDrawerElements); - ViewPortDrawerArray.forEach(function(element) { - element.style.display = "none"; - }); - - } else { - removeElementById("Panel-01"); - appendMessage(`"try to remove panel01-Cy"`); - } - } - nodeClicked = false; - edgeClicked = false; - - appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); - appendMessage(`"nodeClicked: " ${nodeClicked}`); - }); - - // Click event listener for nodes - // Click event listener for nodes - cy.on("click", "node", function(event) { - // This code will be executed when you click on a node - // This code will be executed when you click on a node - const node = event.target; - nodeClicked = true; - - if (!node.isParent()) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - console.log(node) - console.log(node.data("containerDockerExtraAttribute").status) - console.log(node.data("extraData")) - - if (document.getElementById("panel-node").style.display === "none") { - document.getElementById("panel-node").style.display = "block"; - } else { - document.getElementById("panel-node").style.display = "none"; - } - - document.getElementById("panel-node-name").textContent = node.data("extraData").longname - document.getElementById("panel-node-status").textContent = node.data("containerDockerExtraAttribute").status - document.getElementById("panel-node-kind").textContent = node.data("extraData").kind - document.getElementById("panel-node-image").textContent = node.data("extraData").image - document.getElementById("panel-node-mgmtipv4").textContent = node.data("extraData").mgmtIpv4Addresss - document.getElementById("panel-node-mgmtipv6").textContent = node.data("extraData").mgmtIpv6Address - document.getElementById("panel-node-fqdn").textContent = node.data("extraData").fqdn - document.getElementById("panel-node-group").textContent = node.data("extraData").group - document.getElementById("panel-node-topoviewerrole").textContent = node.data("topoViewerRole") - - // set selected node-long-name to global variable - globalSelectedNode = node.data("extraData").longname - console.log("internal: ", globalSelectedNode) - - appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); - appendMessage(`"nodeClicked: " ${nodeClicked}`); - } - }); - - // Click event listener for edges - // Click event listener for edges - cy.on("click", "edge", async function(event) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - // This code will be executed when you click on a node - // You can add logic specific to nodes here - const clickedEdge = event.target; - const defaultEdgeColor = "#969799"; - edgeClicked = true; - - console.log(defaultEdgeColor); - - // Change the color of the clicked edge (for example, to red) - clickedEdge.style("line-color", "#0043BF"); - - // Revert the color of other edges that were not clicked (e.g., back to their default color) - cy.edges().forEach(function(edge) { - if (edge !== clickedEdge) { - edge.style("line-color", defaultEdgeColor); - } - }); - - - - - - - document.getElementById("panel-link").style.display = "none"; - - if (document.getElementById("panel-link").style.display === "none") { - document.getElementById("panel-link").style.display = "block"; - } else { - document.getElementById("panel-link").style.display = "none"; - } - - document.getElementById("panel-link-name").textContent = `${clickedEdge.data("source")} --- ${clickedEdge.data("target")}` - - document.getElementById("panel-link-endpoint-a-name").textContent = `${clickedEdge.data("source")}` - // document.getElementById("panel-link-endpoint-a-mac-address").textContent = `${clickedEdge.data("extraData").clabSourceMacAddress}` - document.getElementById("panel-link-endpoint-a-mac-address").textContent = "getting the MAC address" - - document.getElementById("panel-link-endpoint-b-name").textContent = `${clickedEdge.data("target")}` - // document.getElementById("panel-link-endpoint-b-mac-address").textContent = `${clickedEdge.data("extraData").clabTargetMacAddress}` - document.getElementById("panel-link-endpoint-b-mac-address").textContent = "getting the MAC address" - - - // setting clabSourceLinkArgsList - clabLinkMacArgsList = [`${clickedEdge.data("extraData").clabSourceLongName}`,`${clickedEdge.data("extraData").clabTargetLongName}`] - - // setting MAC address endpoint-a values by getting the data from clab via /clab-link-mac GET API - const actualLinkMacPair = await sendRequestToEndpointGetV2("/clab-link-mac", clabLinkMacArgsList) - console.log("actualLinkMacPair-Source: ", actualLinkMacPair[0].sourceIfMac) - console.log("actualLinkMacPair-Target: ", actualLinkMacPair[0].targetIfMac) - - document.getElementById("panel-link-endpoint-a-mac-address").textContent = actualLinkMacPair[0].sourceIfMac - document.getElementById("panel-link-endpoint-b-mac-address").textContent = actualLinkMacPair[0].targetIfMac - - - - // setting default impairment endpoint-a values by getting the data from clab via /clab-link-impairment GET API - clabSourceLinkArgsList = [`${clickedEdge.data("extraData").clabSourceLongName}`,`${clickedEdge.data("extraData").clabSourcePort}`] - clabSourceLinkImpairmentClabData = await sendRequestToEndpointGetV2("/clab-link-impairment", clabSourceLinkArgsList) - - if (clabSourceLinkImpairmentClabData && typeof clabSourceLinkImpairmentClabData === 'object' && Object.keys(clabSourceLinkImpairmentClabData).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", clabSourceLinkImpairmentClabData); - console.log("Valid non-empty JSON response received: clabSourceLinkImpairmentClabData returnd data", clabSourceLinkImpairmentClabData["return data"]["delay"]); - - if (clabSourceLinkImpairmentClabData["return data"]["delay"] == "N/A") { - document.getElementById("panel-link-endpoint-a-delay").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-delay").value = clabSourceLinkImpairmentClabData["return data"]["delay"].replace(/ms$/, ''); - } - - if (clabSourceLinkImpairmentClabData["return data"]["jitter"] == "N/A") { - document.getElementById("panel-link-endpoint-a-jitter").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-jitter").value = clabSourceLinkImpairmentClabData["return data"]["jitter"].replace(/ms$/, ''); - } - - if (clabSourceLinkImpairmentClabData["return data"]["rate"] == "N/A") { - document.getElementById("panel-link-endpoint-a-rate").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-rate").value = clabSourceLinkImpairmentClabData["return data"]["rate"] - } - - if (clabSourceLinkImpairmentClabData["return data"]["packet_loss"] == "N/A") { - document.getElementById("panel-link-endpoint-a-loss").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-loss").value = clabSourceLinkImpairmentClabData["return data"]["packet_loss"].replace(/%$/, ''); - } - - - } else { - console.log("Empty or invalid JSON response received"); - } - - - - - // setting default impairment endpoint-b values by getting the data from clab via /clab-link-impairment GET API - clabTargetLinkArgsList = [`${clickedEdge.data("extraData").clabTargetLongName}`,`${clickedEdge.data("extraData").clabTargetPort}`] - clabTargetLinkImpairmentClabData = await sendRequestToEndpointGetV2("/clab-link-impairment", clabTargetLinkArgsList) - - if (clabTargetLinkImpairmentClabData && typeof clabTargetLinkImpairmentClabData === 'object' && Object.keys(clabTargetLinkImpairmentClabData).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", clabTargetLinkImpairmentClabData); - console.log("Valid non-empty JSON response received: clabTargetLinkImpairmentClabData returnd data", clabTargetLinkImpairmentClabData["return data"]["delay"]); - - if (clabTargetLinkImpairmentClabData["return data"]["delay"] == "N/A") { - document.getElementById("panel-link-endpoint-b-delay").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-delay").value = clabTargetLinkImpairmentClabData["return data"]["delay"].replace(/ms$/, ''); - } - - if (clabTargetLinkImpairmentClabData["return data"]["jitter"] == "N/A") { - document.getElementById("panel-link-endpoint-b-jitter").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-jitter").value = clabTargetLinkImpairmentClabData["return data"]["jitter"].replace(/ms$/, ''); - } - - if (clabTargetLinkImpairmentClabData["return data"]["rate"] == "N/A") { - document.getElementById("panel-link-endpoint-b-rate").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-rate").value = clabTargetLinkImpairmentClabData["return data"]["rate"] - } - - if (clabTargetLinkImpairmentClabData["return data"]["packet_loss"] == "N/A") { - document.getElementById("panel-link-endpoint-b-loss").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-loss").value = clabTargetLinkImpairmentClabData["return data"]["packet_loss"].replace(/%$/, ''); - } - - - } else { - console.log("Empty or invalid JSON response received"); - } - - - - - // set selected edge-id to global variable - globalSelectedEdge = clickedEdge.data("id") - - appendMessage(`"edgeClicked: " ${edgeClicked}`); - }); - - - - - function generateNodesEvent(event) { - // Your event handling logic here - //- Add a click event listener to the 'Generate' button - //- Get the number of node from the input field - // Your event handling logic here - //- Add a click event listener to the 'Generate' button - //- Get the number of node from the input field - console.log("generateNodesButton clicked"); - const numNodes = document.getElementById("generateNodesInput").value; - console.log(numNodes); - //- Check if the number of node is empty - //- Check if the number of node is empty - if (numNodes === null) { - //- if node number empty do nothing - //- if node number empty do nothing - return; - } - const numNodesToGenerate = parseInt(numNodes, 10); - //- Check if the number of node is positive - //- Check if the number of node is positive - if (isNaN(numNodesToGenerate) || numNodesToGenerate <= 0) { - //- Invalid input - //- Invalid input - appendMessage( - "Error:" + "Bro, you gotta enter a valid positive number, come on!", - ); - return; - } - //- Generate nodes with random positions - //- Generate nodes with random positions - for (let i = 0; i < numNodesToGenerate; i++) { - const nodeName = `node-${i + 1}`; - const newNode = { - group: "nodes", - data: { - id: nodeName, - name: nodeName, - }, - position: { - x: Math.random() * 400, - y: Math.random() * 400, - }, - }; - //-cy.add(newNode); - //-cy.add(newNode); - try { - cy.add(newNode); - //- throw new Error('This is an example exception'); - //- throw new Error('This is an example exception'); - } catch (error) { - //- Log the exception to the console - //- Log the exception to the console - console.error("An exception occurred:", error); - //- Log the exception to notification message to the textarea - //- Log the exception to notification message to the textarea - appendMessage("An exception occurred:" + error); - } - } - //- Generate random edges between nodes - //- Generate random edges between nodes - for (let i = 0; i < numNodesToGenerate; i++) { - const sourceNode = `node-${i + 1}`; - const targetNode = `node-${Math.floor(Math.random() * numNodesToGenerate) + 1}`; - if (sourceNode !== targetNode) { - const newEdge = { - group: "edges", - data: { - id: "from-" + sourceNode + "-to-" + targetNode, - name: "from-" + sourceNode + "-to-" + targetNode, - source: sourceNode, - target: targetNode, - }, - }; - try { - cy.add(newEdge); - //- throw new Error('This is an example exception'); - //- throw new Error('This is an example exception'); - } catch (error) { - //- Log the exception to the console - //- Log the exception to the console - console.error("An exception occurred:", error); - //- Log the exception to notification message to the textarea - //- Log the exception to notification message to the textarea - appendMessage("An exception occurred::" + error); - } - } - } - //- run layout - //- run layout - const layout = cy.layout({ - name: "cola", - nodeGap: 5, - edgeLengthVal: 45, - animate: true, - randomize: false, - maxSimulationTime: 1500, - }); - layout.run(); - //-//- Append a notification message to the textarea - //-//- Append a notification message to the textarea - console.log( - "Info: " + - `Boom! Just generated ${numNodesToGenerate} nodes with some random edges. That's how we roll!`, - ); - appendMessage( - "Info: " + - `Boom! Just generated ${numNodesToGenerate} nodes with some random edges. That's how we roll!`, - ); - } - - function spawnNodeEvent(event) { - //- Add a click event listener to the 'Submit' button in the hidden form - //- Get the node name from the input field - //- Add a click event listener to the 'Submit' button in the hidden form - //- Get the node name from the input field - const nodeName = document.getElementById("nodeName").value; - console.log(nodeName); - //- Check if a node name is empty - //- Check if a node name is empty - if (nodeName == "") { - //- append message in textArea - //- append message in textArea - appendMessage("Error: Enter node name."); - return; - } - //- Check if a node with the same name already exists - //- Check if a node with the same name already exists - if (cy.$(`node[id = "${nodeName}"]`).length > 0) { - //- append message in textArea - //- append message in textArea - appendMessage("Error: Node with this name already exists."); - return; - } - //- Create a new node element - //- Create a new node element - const newNode = { - group: "nodes", - data: { - id: nodeName, - name: nodeName, - label: nodeName, - }, - }; - //- Add the new node to Cytoscape.js - //- Add the new node to Cytoscape.js - cy.add(newNode); - //- Randomize the positions and center the graph - //- Randomize the positions and center the graph - const layout = cy.layout({ - name: "cola", - nodeGap: 5, - edgeLengthVal: 45, - animate: true, - randomize: false, - maxSimulationTime: 1500, - }); - layout.run(); - //- Append a notification message to the textarea - //- Append a notification message to the textarea - console.log("Info: " + `Nice! Node "${nodeName}" added successfully.`); - appendMessage("Info: " + `Nice! Node "${nodeName}" added successfully.`); - } - - - function zoomToFitDrawer() { - const initialZoom = cy.zoom(); - appendMessage(`Bro, initial zoom level is "${initialZoom}".`); - //- Fit all nodes possible with padding - //- Fit all nodes possible with padding - cy.fit(); - const currentZoom = cy.zoom(); - appendMessage(`And now the zoom level is "${currentZoom}".`); - } - - function pathFinderDijkstraEvent(event) { - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - - console.log("im triggered"); - - // Remove existing highlight from all edges - // Remove existing highlight from all edges - cy.edges().forEach((edge) => { - edge.removeClass("spf"); - }); - - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - const sourceNodeId = document.getElementById( - "pathFinderSourceNodeInput", - ).value; - const targetNodeId = document.getElementById( - "pathFinderTargetNodeInput", - ).value; - - // Assuming you have 'cy' as your Cytoscape instance - // Assuming you have 'cy' as your Cytoscape instance - const sourceNode = cy.$(`node[id="${sourceNodeId}"]`); - const targetNode = cy.$(`node[id="${targetNodeId}"]`); - - console.log( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - appendMessage( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - - // Check if both nodes exist - // Check if both nodes exist - if (sourceNode.length === 0 || targetNode.length === 0) { - console.error( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - appendMessage( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - return; - } - - // Get the Dijkstra result with the shortest path - // Get the Dijkstra result with the shortest path - const dijkstraResult = cy.elements().dijkstra({ - root: sourceNode, - weight: (edge) => 1, - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - }); - // Get the shortest path from Dijkstra result - // Get the shortest path from Dijkstra result - const shortestPathEdges = dijkstraResult.pathTo(targetNode); - console.log(shortestPathEdges); - - // Check if there is a valid path (shortestPathEdges is not empty) - // Check if there is a valid path (shortestPathEdges is not empty) - if (shortestPathEdges.length > 1) { - //// Apply a style to highlight the shortest path edges - // shortestPathEdges.style({ - // 'line-color': 'red', - // 'line-style': 'solid', - // }); - //// Apply a style to highlight the shortest path edges - // shortestPathEdges.style({ - // 'line-color': 'red', - // 'line-style': 'solid', - // }); - - // Highlight the shortest path - // Highlight the shortest path - shortestPathEdges.forEach((edge) => { - edge.addClass("spf"); - }); - - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: sourceNode.position("x"), - y: sourceNode.position("y"), - }, - renderedPosition: { - x: sourceNode.renderedPosition("x"), - y: sourceNode.renderedPosition("y"), - }, - }, - duration: 1500, - }); - // throw log - // throw log - console.log( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found.", - ); - appendMessage( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found, below is the path trace..", - ); - console.log(shortestPathEdges); - - shortestPathEdges.forEach((edge) => { - console.log("Edge ID:", edge.id()); - console.log("Source Node ID:", edge.source().id()); - console.log("Target Node ID:", edge.target().id()); - - edgeId = edge.id(); - sourceNodeId = edge.source().id(); - targetNodeId = edge.target().id(); - // You can access other properties of the edge, e.g., source, target, data, etc. - // You can access other properties of the edge, e.g., source, target, data, etc. - - appendMessage("Info: " + "Edge ID: " + edgeId); - appendMessage("Info: " + "Source Node ID: " + sourceNodeId); - appendMessage("Info: " + "Target Node ID: " + targetNodeId); - }); - } else { - console.error( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - appendMessage( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - return; - } - } - - function setNodeContainerStatus(containerNodeName, containerNodeStatus) { - cy.nodes().forEach(function(node) { - var nodeId = node.data("id"); - - // Find the corresponding status nodes based on node ID - // Find the corresponding status nodes based on node ID - var statusGreenNode = cy.$(`node[name="${nodeId}-statusGreen"]`); - var statusOrangeNode = cy.$(`node[name="${nodeId}-statusOrange"]`); - var statusRedNode = cy.$(`node[name="${nodeId}-statusRed"]`); - - if (statusGreenNode.length === 0 || statusRedNode.length === 0) { - // If status nodes are not found, skip this node - return; - } - - // Update positions of status nodes relative to the node - var nodePosition = node.position(); - var offset = { - x: -4, - y: -10 - }; - var statusGreenNodePosition = { - x: nodePosition.x + offset.x, - y: nodePosition.y + offset.y, - }; - var statusRedNodePosition = { - x: nodePosition.x + offset.x, - y: nodePosition.y + offset.y, - }; - - // Check if the nodeContainerStatusVisibility is true - if (nodeContainerStatusVisibility) { - // Check if the containerNodeName includes nodeId and containerNodeStatus includes 'healthy' - if ( - containerNodeName.includes(nodeId) && - (containerNodeStatus.includes("Up") || - containerNodeStatus.includes("healthy")) - ) { - statusGreenNode.show(); - statusRedNode.hide(); - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - } else if ( - containerNodeName.includes(nodeId) && - containerNodeStatus.includes("(health: starting)") - ) { - statusGreenNode.hide(); - statusOrangeNode.show(); - } else if ( - containerNodeName.includes(nodeId) && - containerNodeStatus.includes("Exited") - ) { - statusGreenNode.hide(); - statusRedNode.show(); - } - } else { - statusGreenNode.hide(); - statusRedNode.hide(); - } - - statusGreenNode.position(statusGreenNodePosition); - statusRedNode.position(statusRedNodePosition); - }); - } - - function setNodeDataWithContainerAttribute(containerNodeName, status, state, IPAddress, GlobalIPv6Address) { - cy.nodes().forEach(function(node) { - var nodeId = node.data("id"); - if (containerNodeName.includes(nodeId)) { - var containerDockerExtraAttributeData = { - state: state, - status: status, - }; - - node.data( - "containerDockerExtraAttribute", - containerDockerExtraAttributeData, - ); - node.data("extraData").mgmtIpv4Addresss = IPAddress; - node.data("extraData").mgmtIpv6Address = GlobalIPv6Address; - - } - }); - } - - // - // End of JS Functions Event Handling section - // End of JS Functions Event Handling section - // - - // - // Start of JS Generic Functions - // Start of JS Generic Functions - // - // - // Start of JS Generic Functions - // Start of JS Generic Functions - // - - - //- Function to get the default node style from cy-style.json - //- Function to get the default node style from cy-style.json - async function getDefaultNodeStyle(node) { - try { - //- Fetch the cy-style.json file - //- Fetch the cy-style.json file - const response = await fetch("cy-style.json"); - //- Check if the response is successful (status code 200) - //- Check if the response is successful (status code 200) - if (!response.ok) { - throw new Error( - `Failed to fetch cy-style.json (${response.status} ${response.statusText})`, - ); - } - //- Parse the JSON response - //- Parse the JSON response - const styleData = await response.json(); - //- Extract the default node style from the loaded JSON - //- Adjust this based on your JSON structure - //- Extract the default node style from the loaded JSON - //- Adjust this based on your JSON structure - const defaultNodeStyle = styleData[0].style; - return defaultNodeStyle; - } catch (error) { - console.error("Error loading cy-style.json:", error); - appendMessage(`Error loading cy-style.json: ${error}`); - //- Return a default style in case of an error - //- Return a default style in case of an error - return { - "background-color": "blue", - "border-color": "gray", - "border-width": "1px", - }; - } - } - - ///-logMessagesPanel Function to add a click event listener to the copy button - ///-logMessagesPanel Function to add a click event listener to the copy button - const copyButton = document.getElementById("copyToClipboardButton"); - copyButton.className = "button is-smallest-element"; - copyButton.addEventListener("click", copyToClipboard); - - /// logMessagesPanel Function to copy textarea content to clipboard - /// logMessagesPanel Function to copy textarea content to clipboard - function copyToClipboard() { - const textarea = document.getElementById("notificationTextarea"); - textarea.select(); - document.execCommand("copy"); - } - - - - // function closePanelEvent(event, panel) { - // panel.style.display = "block"; - // console.log(panel.style.display); - // panel.style.display = "none"; - // } - - function createModal(modalId, modalContent) { - // Create the modal - // Create the modal - const htmlContent = ` - - `; - - const modalDiv = document.createElement("div"); - modalDiv.innerHTML = htmlContent; - modalDiv.id = "modalDivExportViewport"; - - document.body.appendChild(modalDiv); - const modalBackground = document.getElementById( - `${modalId}-modalBackgroundId`, - ); - - modalBackground.addEventListener("click", function() { - const modal = modalBackground.parentNode; - modal.classList.remove("is-active"); - }); - } - - function showModalCaptureViewport(modalId) { - const modalContentSaveViewport = ` - - `; - - // Instantiate modal - // Instantiate modal - createModal("modalSaveViewport", modalContentSaveViewport); - - // create event listener - // create event listener - const performActionButton = document.getElementById("performActionButton"); - performActionButton.addEventListener("click", function() { - const checkboxName = "checkboxSaveViewPort"; - const checkboxes = document.querySelectorAll( - `input[type="checkbox"][name="${checkboxName}"]`, - ); - const selectedOptions = []; - - checkboxes.forEach(function(checkbox) { - if (checkbox.checked) { - selectedOptions.push(checkbox.value); - } - }); - - if (selectedOptions.length === 0) { - bulmaToast.toast({ - message: `Hey there, please pick at least one option.😊👌`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - // Perform your action based on the selected options - // Perform your action based on the selected options - if (selectedOptions.join(", ") == "option01") { - captureAndSaveViewportAsPng(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option02") { - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option01, option02") { - captureAndSaveViewportAsPng(cy); - sleep(5000); - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } - } - }); - - // show modal - // show modal - modal = document.getElementById(modalId); - modal.classList.add("is-active"); - } - - // - // End of JS Generic Functions section - // End of JS Generic Functions section - // - // - // End of JS Generic Functions section - // End of JS Generic Functions section - // -}); - -// aarafat-tag: -//// REFACTOR START -//// to-do: -//// - re-create about-panel -//// - re-create log-messages -//// - re-create viewport - -async function initEnv() { - environments = await getEnvironments(); - labName = await environments["clab-name"] - deploymentType = await environments["deployment-type"] - - console.log("Lab-Name: ", labName) - console.log("DeploymentType: ", deploymentType) - return environments, labName - } - -async function changeTitle() { - environments = await getEnvironments(); - labName = await environments["clab-name"] - - console.log("changeTitle() - labName: ", labName) - document.title = `TopoViewer::${labName}`; -} - -async function sshWebBased(event) { - console.log("sshWebBased: ", globalSelectedNode) - var routerName = globalSelectedNode - try { - environments = await getEnvironments(event); - console.log("sshWebBased - environments: ", environments) - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - routerData = findCytoElementByLongname(cytoTopologyJson, routerName) - - console.log("sshWebBased: ", `${globalShellUrl}?RouterID=${routerData["data"]["extraData"]["mgmtIpv4Addresss"]}?RouterName=${routerName}`) - - window.open(`${globalShellUrl}?RouterID=${routerData["data"]["extraData"]["mgmtIpv4Addresss"]}?RouterName=${routerName}`); - - } catch (error) { - console.error('Error executing restore configuration:', error); - } -} - -async function sshCliCommandCopy(event) { - console.log("sshWebBased: ", globalSelectedNode) - var routerName = globalSelectedNode - try { - environments = await getEnvironments(event); - console.log("sshWebBased - environments: ", environments) - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - clabServerAddress = environments["clab-server-address"] - routerData = findCytoElementByLongname(cytoTopologyJson, routerName) - clabUser = routerData["data"]["extraData"]["clabServerUsername"] - - sshCopyString = `ssh -t ${clabUser}@${clabServerAddress} "ssh admin@${routerName}"` - - // Check if the clipboard API is available - if (navigator.clipboard && navigator.clipboard.writeText) { - navigator.clipboard.writeText(sshCopyString).then(function() { - alert('Text copied to clipboard'); - }).catch(function(error) { - console.error('Could not copy text: ', error); - }); - } else { - // Fallback method for older browsers - let textArea = document.createElement('textarea'); - textArea.value = sshCopyString; - document.body.appendChild(textArea); - textArea.focus(); - textArea.select(); - try { - document.execCommand('copy'); - alert('Text copied to clipboard'); - } catch (err) { - console.error('Fallback: Oops, unable to copy', err); - } - document.body.removeChild(textArea); - } - - } catch (error) { - console.error('Error executing restore configuration:', error); - } -} - - - -async function linkImpairmentClab(event, impairDirection) { - console.log("linkImpairmentClab - globalSelectedEdge: ", globalSelectedEdge) - var edgeId = globalSelectedEdge - try { - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - var deploymentType = environments["deployment-type"] - var command - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - edgeData = findCytoElementById(cytoTopologyJson, edgeId) - - console.log("linkImpairment- edgeData: ", edgeData) - console.log("linkImpairment- edgeSource: ", edgeData["data"]["source"]) - - clabUser = edgeData["data"]["extraData"]["clabServerUsername"] - clabServerAddress = environments["clab-server-address"] - clabSourceLongName = edgeData["data"]["extraData"]["clabSourceLongName"] - clabSourcePort = edgeData["data"]["extraData"]["clabSourcePort"] - - clabTargetLongName = edgeData["data"]["extraData"]["clabTargetLongName"] - clabTargetPort = edgeData["data"]["extraData"]["clabTargetPort"] - - if (impairDirection == "a-to-b") { - console.log("linkImpairment - impairDirection: ", impairDirection) - - delayValue = document.getElementById("panel-link-endpoint-a-delay").value - jitterValue = document.getElementById("panel-link-endpoint-a-jitter").value - rateValue = document.getElementById("panel-link-endpoint-a-rate").value - lossValue = document.getElementById("panel-link-endpoint-a-loss").value - - if (deploymentType == "container") { - command = `ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } else if (deploymentType == "colocated") { - command = `/usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } - - console.log(`linkImpairment - deployment ${deploymentType}, command: ${command}`) - var postPayload = [] - postPayload[0] = command - await sendRequestToEndpointPost("/clab-link-impairment", postPayload) - - - } else if (impairDirection == "b-to-a") { - console.log("linkImpairment - impairDirection: ", impairDirection) - - delayValue = document.getElementById("panel-link-endpoint-b-delay").value - jitterValue = document.getElementById("panel-link-endpoint-b-jitter").value - rateValue = document.getElementById("panel-link-endpoint-b-rate").value - lossValue = document.getElementById("panel-link-endpoint-b-loss").value - - if (deploymentType == "container") { - command = `ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } else if (deploymentType == "colocated") { - command = `/usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } - - console.log(`linkImpairment - deployment ${deploymentType}, command: ${command}`) - var postPayload = [] - postPayload[0] = command - await sendRequestToEndpointPost("/clab-link-impairment", postPayload) - } - - } catch (error) { - console.error('Error executing linkImpairment configuration:', error); - } -} - - -async function linkWireshark(event, option, endpoint) { - console.log("linkWireshark - globalSelectedEdge: ", globalSelectedEdge) - var edgeId = globalSelectedEdge - try { - environments = await getEnvironments(event); - console.log("linkWireshark - environments: ", environments) - - var deploymentType = environments["deployment-type"] - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - edgeData = findCytoElementById(cytoTopologyJson, edgeId) - - console.log("linkWireshark- edgeData: ", edgeData) - console.log("linkWireshark- edgeSource: ", edgeData["data"]["source"]) - - clabUser = edgeData["data"]["extraData"]["clabServerUsername"] - clabServerAddress = environments["clab-server-address"] - - clabSourceLongName = edgeData["data"]["extraData"]["clabSourceLongName"] - clabSourcePort = edgeData["data"]["extraData"]["clabSourcePort"] - - clabTargetLongName = edgeData["data"]["extraData"]["clabTargetLongName"] - clabTargetPort = edgeData["data"]["extraData"]["clabTargetPort"] - - if (option == "app") { - if (endpoint == "source") { - wiresharkHref = `clab-capture://${clabUser}@${clabServerAddress}?${clabSourceLongName}?${clabSourcePort}` - console.log("linkWireshark- wiresharkHref: ", wiresharkHref) - - } else if (endpoint == "target") { - wiresharkHref = `clab-capture://${clabUser}@${clabServerAddress}?${clabTargetLongName}?${clabTargetPort}` - console.log("linkWireshark- wiresharkHref: ", wiresharkHref) - } - window.open(wiresharkHref); - - } else if (option == "edgeShark") { - if (endpoint == "source") { - baseUrl = `packetflix:ws://${clabServerAddress}:5001/capture?`; - urlParams = `container={"network-interfaces":["${clabSourcePort}"],"name":"${clabSourceLongName.toLocaleLowerCase()}","type":"docker","prefix":""}&nif=${clabSourcePort}`; - - edgeSharkHref = baseUrl + urlParams; - - console.log("linkWireshark - edgeSharkHref: ", edgeSharkHref) - - window.open(edgeSharkHref); - } - - - - } else if (option == "copy") { - if (endpoint == "source") { - if (deploymentType == "container") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabSourceLongName} tcpdump -U -nni ${clabSourcePort} -w -" | wireshark -k -i -` - } else if (deploymentType == "colocated") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabSourceLongName} tcpdump -U -nni ${clabSourcePort} -w -" | wireshark -k -i -` - } - } else if (endpoint == "target") { - if (deploymentType == "container") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabTargetLongName} tcpdump -U -nni ${clabTargetPort} -w -" | wireshark -k -i -` - } else if (deploymentType == "colocated") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabTargetLongName} tcpdump -U -nni ${clabTargetPort} -w -" | wireshark -k -i -` - } - } - - console.log("linkWireshark- wiresharkSShCommand: ", wiresharkSshCommand) - - // Check if the clipboard API is available - if (navigator.clipboard && navigator.clipboard.writeText) { - navigator.clipboard.writeText(wiresharkSshCommand).then(function() { - alert('Text copied to clipboard'); - }).catch(function(error) { - console.error('Could not copy text: ', error); - }); - } else { - // Fallback method for older browsers - let textArea = document.createElement('textarea'); - textArea.value = wiresharkSshCommand; - document.body.appendChild(textArea); - textArea.focus(); - textArea.select(); - try { - document.execCommand('copy'); - alert('Text copied to clipboard'); - } catch (err) { - console.error('Fallback: Oops, unable to copy', err); - } - document.body.removeChild(textArea); - } - - } - - } catch (error) { - console.error('Error executing linkImpairment configuration:', error); - } -} - -async function showPanelLogMessages(event) { - document.getElementById("panel-log-messages").style.display = "block"; -} - -///-logMessagesPanel Function to add a click event listener to the close button -document.getElementById("panel-log-messages-close-button").addEventListener("click", () => { - document.getElementById("panel-log-messages").style.display = "none"; -}); - -async function showPanelTopoViewerClient(event) { - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - clabServerAddress = environments["clab-server-address"] - clabServerPort = environments["clab-server-port"] - - // hrefWindows = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-windows/ClabCapture.app.zip` - // hrefMac = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-mac/ClabCapture.app.zip` - // hrefMac = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-mac/paketFlix.zip` - - //

- // Please download the following helper app: - //

- // - - - document.getElementById("panel-topoviewer-helper").style.display = "block"; - - const htmlContent = ` -
Wireshark Capture
-

- TopoViewer offers a remote capture feature for intercepting Containerlab node endpoints with the help from EdgeShark. - For the best experience, it's recommended to have both TopoViewer and its EdgeShark's helper app (packetflix) installed on client-side. -

-

- please refer to this link https://containerlab.dev/manual/wireshark/#edgeshark-integration for more information on how to install the helper app. - With the TopoViewer helper app, you can effortlessly automate the launch of Wireshark's GUI. -

-

- Alternatively, if you don't have the helper app, you can simply copy and paste an SSH command to initiate Wireshark manually. - This setup provides flexibility in how you utilize this feature.
-

- `; - document.getElementById("panel-topoviewer-helper-content").innerHTML = htmlContent; -} - -async function showPanelAbout(event) { - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - topoViewerVersion = environments["topoviewer-version"] - - document.getElementById("panel-topoviewer-about").style.display = "block"; - - const htmlContent = ` -
-
Version: ${topoViewerVersion}
- -

- Designed and developed by Asad Arafat
-

-

- Special Thanks: -

    -
  • Siva Sivakumar - For pioneering the integration of Bulma CSS, significantly enhancing TopoViewer design and usability.
  • -
  • Gatot Susilo - For seamlessly incorporating TopoViewer into the Komodo2 tool, bridging functionality with innovation.
  • -
  • Gusman Dharma Putra - For his invaluable contribution in integrating TopoViewer into Komodo2, enriching its capabilities.
  • -
  • Sven Wisotzky - For offering insightful feedback that led to significant full stack optimizations.
  • -
-

- - -
- `; - document.getElementById("panel-topoviewer-about-content").innerHTML = htmlContent; -} - -async function sidebarButtonFitScreen(event) { - - // --sidebar-button-background-color-default: rgba(54,58, 69, 1); - // --sidebar-button-background-color-active: rgba(76, 82, 97, 1); - - var sidebarButtonFitScreen = document.getElementById("sidebar-button-fit-screen") - const sidebarButtonColorDefault = getComputedStyle(sidebarButtonFitScreen).getPropertyValue('--sidebar-button-background-color-default'); - const sidebarButtonColorActive = getComputedStyle(sidebarButtonFitScreen).getPropertyValue('--sidebar-button-background-color-active'); - - drawer = document.getElementById("drawer") - if (drawer.style.display === 'block') { - drawer.style.display = 'none'; - var sidebarButtonFitScreen = document.getElementById("sidebar-button-fit-screen") - sidebarButtonFitScreen.style.background = sidebarButtonColorDefault.trim(); - sidebarButtonFitScreen.style.border = sidebarButtonColorActive.trim(); - } else { - drawer.style.display = 'block'; - var sidebarButtons = document.getElementsByClassName("is-sidebar"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < sidebarButtons.length; i++) { - sidebarButtons[i].style.background = sidebarButtonColorDefault.trim(); - sidebarButtons[i].style.border = sidebarButtonColorDefault.trim(); - } - sidebarButtonFitScreen.style.background = sidebarButtonColorActive.trim(); - } - -} - -async function getActualNodesEndpoints(event) { - try { - bulmaToast.toast({ - message: `Getting Actual Nodes Endpoint Labels... Hold on..! 🚀💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - appendMessage( - `Getting Actual Nodes Endpoint Labels... Hold on..! 🚀💻`, - ); - - showLoadingSpinnerGlobal() - const CyTopoJson = await sendRequestToEndpointGet("/actual-nodes-endpoints", argsList = []) - location.reload(true); - - // Handle the response data - if (CyTopoJson && typeof CyTopoJson === 'object' && Object.keys(CyTopoJson).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", CyTopoJson); - - hideLoadingSpinnerGlobal(); - - - - return CyTopoJson - - } else { - - hideLoadingSpinnerGlobal(); - - console.log("Empty or invalid JSON response received"); - } - } catch (error) { - hideLoadingSpinnerGlobal(); - console.error("Error occurred:", error); - // Handle errors as needed - } -} - -function viewportButtonsZoomToFit() { - const initialZoom = cy.zoom(); - appendMessage(`Bro, initial zoom level is "${initialZoom}".`); - //- Fit all nodes possible with padding - //- Fit all nodes possible with padding - cy.fit(); - const currentZoom = cy.zoom(); - appendMessage(`And now the zoom level is "${currentZoom}".`); -} - -function viewportButtonsLayoutAlgo() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - viewportDrawerLayout = document.getElementById("viewport-drawer-layout") - viewportDrawerLayout.style.display = "block" -} - - - - -async function layoutAlgoChange(event) { - - try { - console.log("layoutAlgoChange clicked"); - - var selectElement = document.getElementById("select-layout-algo"); - var selectedOption = selectElement.value; - - if (selectedOption === "Force Directed") { - console.log("Force Directed algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-force-directed") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-force-directed-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-force-directed")) - console.log(document.getElementById("viewport-drawer-force-directed-reset-start")) - - } else if (selectedOption === "Vertical") { - console.log("Vertical algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-dc-vertical") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-dc-vertical-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-dc-vertical")) - console.log(document.getElementById("viewport-drawer-dc-vertical-reset-start")) - - } else if (selectedOption === "Horizontal") { - console.log("Horizontal algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-dc-horizontal") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-dc-horizontal-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-dc-horizontal")) - console.log(document.getElementById("viewport-drawer-dc-horizontal-reset-start")) - } - - }catch (error) { - console.error("Error occurred:", error); - // Handle errors as needed - } -} - - -function viewportButtonsTopologyOverview() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - console.log("viewportButtonsTopologyOverview clicked") - viewportDrawerLayout = document.getElementById("viewport-drawer-topology-overview") - viewportDrawerLayout.style.display = "block" - - viewportDrawerLayoutContent = document.getElementById("viewport-drawer-topology-overview-content") - viewportDrawerLayoutContent.style.display = "block" -} - -function viewportButtonsTopologyCapture() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - console.log("viewportButtonsTopologyCapture clicked") - - viewportDrawerCapture = document.getElementById("viewport-drawer-capture-sceenshoot") - viewportDrawerCapture.style.display = "block" - - viewportDrawerCaptureContent = document.getElementById("viewport-drawer-capture-sceenshoot-content") - viewportDrawerCaptureContent.style.display = "block" -} - -function viewportButtonsLabelEndpoint() { - if (linkEndpointVisibility) { - cy.edges().forEach(function(edge) { - // edge.style("source-label", "."); - // edge.style("target-label", "."); - edge.style("text-opacity", 0); - edge.style("text-background-opacity", 0); - - - linkEndpointVisibility = false; - }); - } else { - cy.edges().forEach(function(edge) { - edge.style("text-opacity", 1); - edge.style("text-background-opacity", 0.7); - linkEndpointVisibility = true; - }); - } -} - -function viewportButtonContainerStatusVisibility() { - if (nodeContainerStatusVisibility) { - nodeContainerStatusVisibility = false; - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - appendMessage( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - bulmaToast.toast({ - message: `Alright, mission control, we're standing down. 🛑🔍 Container status probing aborted. Stay chill, folks. 😎👨‍💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - nodeContainerStatusVisibility = true; - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - appendMessage( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - bulmaToast.toast({ - message: `🕵️‍♂️ Bro, we're currently on a mission to probe that container status! Stay tuned for the results. 🔍🚀👨‍💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } -} - - -function viewportDrawerLayoutForceDirected() { - edgeLengthSlider = document.getElementById("force-directed-slider-link-lenght"); - nodeGapSlider = document.getElementById("force-directed-slider-node-gap"); - - const edgeLengthValue = parseFloat(edgeLengthSlider.value); - const nodeGapValue = parseFloat(nodeGapSlider.value); - - console.log("edgeLengthValue", edgeLengthValue); - console.log("nodeGapValue", nodeGapValue); - - cy.layout( - { - fit: true, - name: "cola", - animate: true, - randomize: false, - maxSimulationTime: 400, - edgeLength: function(e) { - return edgeLengthValue / e.data("weight"); - }, - nodeGap: function(e) { - return nodeGapValue / e.data("weight"); - }, - }) - .run(); -} - -function viewportDrawerLayoutVertical() { - nodevGap = document.getElementById("vertical-layout-slider-node-v-gap"); - groupvGap = document.getElementById("vertical-layout-slider-group-v-gap"); - - const nodevGapValue = parseFloat(nodevGap.value); - const groupvGapValue = parseFloat(groupvGap.value); - - console.log("nodevGapValue", nodevGapValue); - console.log("groupvGapValue", groupvGapValue); - - const xOffset = parseFloat(nodevGapValue); - const yOffset = parseFloat(groupvGapValue); - - console.log("yOffset", yOffset); - console.log("xOffset", xOffset); - - const delay = 100; - - setTimeout(() => { - cy.nodes().forEach(function(node) { - if (node.isParent()) { - // For each parent node - const children = node.children(); - const numRows = 1; - - const cellWidth = node.width() / children.length; - // const xOffset = 5 - - children.forEach(function(child, index) { - // Position children in rows - const xPos = index * (cellWidth + xOffset); - const yPos = 0; - - // Set the position of each child node - child.position({ - x: xPos, - y: yPos - }); - }); - } - }); - - var parentCounts = {}; - var maxWidth = 0; - var centerX = 0; - var centerY = cy.height() / 2; - - // Count children of each parent node - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const childrenCount = node.children().length; - parentCounts[node.id()] = childrenCount; - } - }); - - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const width = node.width(); - if (width > maxWidth) { - maxWidth = width; - console.log("ParentMaxWidth: ", maxWidth); - } - } - }); - - const divisionFactor = maxWidth / 2; - console.log("divisionFactor: ", divisionFactor); - - // Sort parent nodes by child count in ascending order - const sortedParents = Object.keys(parentCounts).sort( - (a, b) => parentCounts[a] - parentCounts[b], - ); - - let yPos = 0; - // const yOffset = 50; - // const yOffset = 50; - - // Position parent nodes vertically and center them horizontally - sortedParents.forEach(function(parentId) { - const parent = cy.getElementById(parentId); - const xPos = centerX - parent.width() / divisionFactor; - // to the left compared to the center of the widest parent node. - parent.position({ - x: xPos, - y: yPos - }); - yPos += yOffset; - }); - cy.fit(); - }, delay); -} - -function viewportDrawerLayoutHorizontal() { - nodehGap = document.getElementById("horizontal-layout-slider-node-h-gap"); - grouphGap = document.getElementById("horizontal-layout-slider-group-h-gap"); - - const horizontalNodeGap = parseFloat(nodehGap.value); - const horizontalGroupGap = parseFloat(grouphGap.value); - - console.log("nodevGapValue", horizontalNodeGap); - console.log("groupvGapValue", horizontalGroupGap); - - const yOffset = parseFloat(horizontalNodeGap); - const xOffset = parseFloat(horizontalGroupGap); - - console.log("yOffset", yOffset); - console.log("xOffset", xOffset); - - const delay = 100; - setTimeout(() => { - cy.nodes().forEach(function(node) { - if (node.isParent()) { - // For each parent node - const children = node.children(); - const numColumns = 1; - const cellHeight = node.height() / children.length; - // const yOffset = 5; - - children.forEach(function(child, index) { - // Position children in columns - const xPos = 0; - const yPos = index * (cellHeight + yOffset); - - // Set the position of each child node - child.position({ - x: xPos, - y: yPos - }); - }); - } - }); - - var parentCounts = {}; - var maxHeight = 0; - var centerX = cy.width() / 2; - var centerY = cy.height() / 2; - - // Count children of each parent node - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const childrenCount = node.children().length; - parentCounts[node.id()] = childrenCount; - } - }); - - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const height = node.height(); - if (height > maxHeight) { - maxHeight = height; - console.log("ParentMaxHeight: ", maxHeight); - } - } - }); - - const divisionFactor = maxHeight / 2; - console.log("divisionFactor: ", divisionFactor); - - // Sort parent nodes by child count in ascending order - const sortedParents = Object.keys(parentCounts).sort( - (a, b) => parentCounts[a] - parentCounts[b], - ); - - let xPos = 0; - // const xOffset = 50; - - // Position parent nodes horizontally and center them vertically - sortedParents.forEach(function(parentId) { - const parent = cy.getElementById(parentId); - const yPos = centerY - parent.height() / divisionFactor; - parent.position({ - x: xPos, - y: yPos - }); - xPos -= xOffset; - }); - - cy.fit(); - }, delay); - -} - - -function viewportDrawerCaptureButton() { - - console.log ("viewportDrawerCaptureButton() - clicked") - - - - - // Get all checkbox inputs within the specific div - const checkboxes = document.querySelectorAll('#viewport-drawer-capture-sceenshoot-content .checkbox-input'); - - // Initialize an array to store the values of checked checkboxes - const selectedOptions = []; - - // Iterate through the NodeList of checkboxes - checkboxes.forEach((checkbox) => { - // If the checkbox is checked, push its value to the array - if (checkbox.checked) { - selectedOptions.push(checkbox.value); - } - }); - - console.log ("viewportDrawerCaptureButton() - ", selectedOptions) - - - if (selectedOptions.length === 0) { - bulmaToast.toast({ - message: `Hey there, please pick at least one option.😊👌`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - // Perform your action based on the selected options - // Perform your action based on the selected options - if (selectedOptions.join(", ") == "option01") { - captureAndSaveViewportAsPng(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option02") { - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option01, option02") { - captureAndSaveViewportAsPng(cy); - sleep(5000); - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } - } - -} - - -function nodeFindEvent(event) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - const nodeName = document.getElementById("viewport-drawer-topology-overview-content-edit").value; - const node = cy.$(`node[name = "${nodeName}"]`); - //- Check if the node exists - //- Check if the node exists - if (node.length > 0) { - // console - // console - console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - //- Apply a highlight style to the node - //- Apply a highlight style to the node - node.style({ - "border-color": "red", - "border-width": "2px", - "background-color": "yellow", - }); - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: node.position("x"), - y: node.position("y"), - }, - renderedPosition: { - x: node.renderedPosition("x"), - y: node.renderedPosition("y"), - }, - }, - duration: 1500, - }); - } else { - console.error( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - appendMessage( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - bulmaToast.toast({ - message:`Bro, I couldn't find a node named "${nodeName}". Try another one.`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } -} - -async function captureAndSaveViewportAsDrawIo(cy) { - // Find the canvas element for layer2-node - // Find the canvas element for layer2-node - const canvasElement = document.querySelector( - '#cy canvas[data-id="layer2-node"]', - ); - const drawIoWidht = canvasElement.width / 10; - const drawIoHeight = canvasElement.height / 10; - const drawIoaAspectRatio = drawIoWidht / drawIoHeight; - - const mxGraphHeader = ` - - - `; - - const mxGraphFooter = ` - `; - - const mxCells = []; - - // Iterate through nodes and edges - // Function to create mxCell XML for nodes - // Iterate through nodes and edges - // Function to create mxCell XML for nodes - function createMxCellForNode(node, imageURL) { - if (node.isParent()) { - return ` - - - `; - } else if ( - !node.data("id").includes("statusGreen") && - !node.data("id").includes("statusRed") - ) { - return ` - - - `; - } - } - - cy.nodes().forEach(function(node) { - let imageURL; - switch (node.data("topoViewerRole")) { - case "pe": - imageURL = `http://${location.host}/images/clab-pe-light-blue.png`; - break; - case "controller": - imageURL = - `http://${location.host}/images/clab-controller-light-blue.png`; - break; - case "pon": - imageURL = `http://${location.host}/images/clab-pon-dark-blue.png`; - break; - case "dcgw": - imageURL = `http://${location.host}/images/clab-dcgw-dark-blue.png`; - break; - case "leaf": - imageURL = `http://${location.host}/images/clab-leaf-light-blue.png`; - break; - case "spine": - imageURL = `http://${location.host}/images/clab-spine-dark-blue.png`; - break; - case "super-spine": - imageURL = `http://${location.host}/images/clab-spine-light-blue.png`; - break; - } - mxCells.push(createMxCellForNode(node, imageURL)); - }); - - cy.edges().forEach(function(edge) { - mxCells.push(` - - - - - - - - - - - - - - `); - }); - - // Combine all parts and create XML - const mxGraphXML = mxGraphHeader + mxCells.join("") + mxGraphFooter; - - // Create a Blob from the XML - const blob = new Blob([mxGraphXML], { - type: "application/xml", - }); - - // Create a URL for the Blob - const url = window.URL.createObjectURL(blob); - - // Create a download link and trigger a click event - const a = document.createElement("a"); - a.style.display = "none"; - a.href = url; - a.download = "filename.drawio"; - document.body.appendChild(a); - - bulmaToast.toast({ - message: `Brace yourselves for a quick snapshot, folks! 📸 Capturing the viewport in 3... 2... 1... 🚀💥`, - type: "is-warning is-size-6 p-3", - duration: 2000, - position: "top-center", - closeOnClick: true, - }); - await sleep(2000); - // Simulate a click to trigger the download - a.click(); - - // Clean up by revoking the URL and removing the download link - window.URL.revokeObjectURL(url); - document.body.removeChild(a); -} -async function captureAndSaveViewportAsPng(cy) { - // Find the canvas element for layer2-node - // Find the canvas element for layer2-node - const canvasElement = document.querySelector( - '#cy canvas[data-id="layer2-node"]', - ); - - const zoomScaleFactor = 1; - - // Check if the canvas element exists and is an HTMLCanvasElement - // Check if the canvas element exists and is an HTMLCanvasElement - if (canvasElement instanceof HTMLCanvasElement) { - // Calculate the new canvas dimensions based on the high resolution factor - // Calculate the new canvas dimensions based on the high resolution factor - const newWidth = canvasElement.width * zoomScaleFactor; - const newHeight = canvasElement.height * zoomScaleFactor; - - // Create a new canvas element with the increased dimensions - // Create a new canvas element with the increased dimensions - const newCanvas = document.createElement("canvas"); - newCanvas.width = newWidth; - newCanvas.height = newHeight; - const newCanvasContext = newCanvas.getContext("2d"); - - // Scale the canvas content to the new dimensions - // Scale the canvas content to the new dimensions - newCanvasContext.scale(zoomScaleFactor, zoomScaleFactor); - - // Fill the new canvas with a white background - // Fill the new canvas with a white background - newCanvasContext.fillStyle = "white"; - newCanvasContext.fillRect(0, 0, newWidth, newHeight); - - // Draw the original canvas content on the new canvas - // Draw the original canvas content on the new canvas - newCanvasContext.drawImage(canvasElement, 0, 0); - - // Convert the new canvas to a data URL with a white background - // Convert the new canvas to a data URL with a white background - const dataUrl = newCanvas.toDataURL("image/png"); - - // Create an anchor element to trigger the download - // Create an anchor element to trigger the download - const link = document.createElement("a"); - link.href = dataUrl; - link.download = "cytoscape-viewport.png"; - - bulmaToast.toast({ - message: `Brace yourselves for a quick snapshot, folks! 📸 Capturing the viewport in 3... 2... 1... 🚀💥`, - type: "is-warning is-size-6 p-3", - duration: 2000, - position: "top-center", - closeOnClick: true, - }); - await sleep(2000); - // Simulate a click to trigger the download - // Simulate a click to trigger the download - link.click(); - } else { - console.error( - "Canvas element for layer2-node is not found or is not a valid HTML canvas element.", - ); - } -} - - - -// aarafat-tag: -//// REFACTOR END - -// logMessagesPanel manager -///-logMessagesPanel Function to append message function -function appendMessage(message) { - // const textarea = document.getElementById('notificationTextarea'); - const textarea = document.getElementById("notificationTextarea"); - - // Get the current date and time - const timestamp = new Date().toLocaleString(); - - textarea.value += `[${timestamp}] ${message}\n`; - textarea.scrollTop = textarea.scrollHeight; -} - -function nodeFindDrawer(cy) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - const nodeName = document.getElementById( - "panelBlock-viewportButtons-buttonfindNode-divPanelBlock-columnContainerlabelFindNodeNodeName-panelContentlabelFindNodeNodeName-columnsPanelContentlabelFindNodeNodeName-labelColumnlabelFindNodeNodeName-inputColumnlabelFindNodeNodeName-labellabelFindNodeNodeName", - ).value; - - const node = cy.$(`node[name = "${nodeName}"]`); - //- Check if the node exists - //- Check if the node exists - if (node.length > 0) { - // console - // console - console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - //- Apply a highlight style to the node - //- Apply a highlight style to the node - node.style({ - "border-color": "red", - "border-width": "2px", - "background-color": "yellow", - }); - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: node.position("x"), - y: node.position("y"), - }, - renderedPosition: { - x: node.renderedPosition("x"), - y: node.renderedPosition("y"), - }, - }, - duration: 1500, - }); - } else { - console.error( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - appendMessage( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - } -} - -function pathFinderDijkstraDrawer(cy) { - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - - console.log("im triggered"); - - // Remove existing highlight from all edges - // Remove existing highlight from all edges - cy.edges().forEach((edge) => { - edge.removeClass("spf"); - }); - - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - const sourceNodeId = document.getElementById( - "panelBlock-viewportButtons-buttonfindRoute-divPanelBlock-columnContainerlabelFindRouteSource-panelContentlabelFindRouteSource-columnsPanelContentlabelFindRouteSource-labelColumnlabelFindRouteSource-inputColumnlabelFindRouteSource-labellabelFindRouteSource", - ).value; - const targetNodeId = document.getElementById( - "panelBlock-viewportButtons-buttonfindRoute-divPanelBlock-columnContainerlabelFindRouteTarget-panelContentlabelFindRouteTarget-columnsPanelContentlabelFindRouteTarget-labelColumnlabelFindRouteTarget-inputColumnlabelFindRouteTarget-labellabelFindRouteTarget", - ).value; - - // Assuming you have 'cy' as your Cytoscape instance - // Assuming you have 'cy' as your Cytoscape instance - const sourceNode = cy.$(`node[id="${sourceNodeId}"]`); - const targetNode = cy.$(`node[id="${targetNodeId}"]`); - - console.log( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - appendMessage( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - - // Check if both nodes exist - // Check if both nodes exist - if (sourceNode.length === 0 || targetNode.length === 0) { - console.error( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - appendMessage( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - return; - } - - // Get the Dijkstra result with the shortest path - // Get the Dijkstra result with the shortest path - const dijkstraResult = cy.elements().dijkstra({ - root: sourceNode, - weight: (edge) => 1, - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - }); - // Get the shortest path from Dijkstra result - // Get the shortest path from Dijkstra result - const shortestPathEdges = dijkstraResult.pathTo(targetNode); - console.log(shortestPathEdges); - - // Check if there is a valid path (shortestPathEdges is not empty) - // Check if there is a valid path (shortestPathEdges is not empty) - if (shortestPathEdges.length > 1) { - // Highlight the shortest path - // Highlight the shortest path - shortestPathEdges.forEach((edge) => { - edge.addClass("spf"); - }); - - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: sourceNode.position("x"), - y: sourceNode.position("y"), - }, - renderedPosition: { - x: sourceNode.renderedPosition("x"), - y: sourceNode.renderedPosition("y"), - }, - }, - duration: 1500, - }); - // throw log - // throw log - console.log( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found.", - ); - appendMessage( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found, below is the path trace..", - ); - console.log(shortestPathEdges); - - shortestPathEdges.forEach((edge) => { - console.log("Edge ID:", edge.id()); - console.log("Source Node ID:", edge.source().id()); - console.log("Target Node ID:", edge.target().id()); - - edgeId = edge.id(); - sourceNodeId = edge.source().id(); - targetNodeId = edge.target().id(); - // You can access other properties of the edge, e.g., source, target, data, etc. - // You can access other properties of the edge, e.g., source, target, data, etc. - - appendMessage("Info: " + "Edge ID: " + edgeId); - appendMessage("Info: " + "Source Node ID: " + sourceNodeId); - appendMessage("Info: " + "Target Node ID: " + targetNodeId); - }); - } else { - console.error( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - appendMessage( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - return; - } -} - -// sleep funtion -function sleep(ms) { - return new Promise((resolve) => setTimeout(resolve, ms)); -} \ No newline at end of file diff --git a/html-static/js/index.cise.bak b/html-static/js/index.cise.bak deleted file mode 100644 index ba8364ead..000000000 --- a/html-static/js/index.cise.bak +++ /dev/null @@ -1,2443 +0,0 @@ -// Initialize a state variable to track the element's presence -var isPanel01Cy = false; -var nodeClicked = false; -var edgeClicked = false; - -var cy - -var globalSelectedNode -var globalSelectedEdge - -var linkEndpointVisibility = true; -var nodeContainerStatusVisibility = false; - - -var globalShellUrl = "/js/cloudshell" - -var labName -var deploymentType - -document.addEventListener("DOMContentLoaded", async function() { - - detectColorScheme() - - await changeTitle() - - - // Reusable function to initialize a WebSocket connection - function initializeWebSocket(url, onMessageCallback) { - const protocol = location.protocol === "https:" ? "wss://" : "ws://"; - const socket = new WebSocket(protocol + location.host + url); - - socket.onopen = () => { - console.log(`Successfully connected WebSocket to ${url}`); - if (socket.readyState === WebSocket.OPEN) { - socket.send(`Hi From the WebSocketClient-${url}`); - } - }; - - socket.onclose = (event) => { - console.log(`Socket to ${url} closed: `, event); - socket.send("Client Closed!"); - }; - - socket.onerror = (error) => { - console.log(`Socket to ${url} error: `, error); - }; - - socket.onmessage = onMessageCallback; - - return socket; - } - - - // WebSocket for uptime - // WebSocket for uptime - const socketUptime = initializeWebSocket("/uptime", async (msgUptime) => { - environments = await getEnvironments(); - labName = environments["clab-name"] - deploymentType = environments["deploymentType"] - - console.log("initializeWebSocket - getEnvironments", environments) - console.log("initializeWebSocket - labName", environments["clab-name"]) - - const string01 = "Containerlab Topology: " + labName; - const string02 = " ::: Uptime: " + msgUptime.data; - - const ClabSubtitle = document.getElementById("ClabSubtitle"); - const messageBody = string01 + string02; - - ClabSubtitle.innerText = messageBody; - console.log(ClabSubtitle.innerText); - }); - - // WebSocket for ContainerNodeStatus - const socketContainerNodeStatusInitial = initializeWebSocket( - "/containerNodeStatus", - (msgContainerNodeStatus) => { - try { - const { - Names, - Status, - State - } = JSON.parse(msgContainerNodeStatus.data); - setNodeContainerStatus(Names, Status); - console.log(JSON.parse(msgContainerNodeStatus.data)); - - setNodeDataWithContainerAttribute(Names, Status, State); - } catch (error) { - console.error("Error parsing JSON:", error); - } - }, - ); - - //- Instantiate Cytoscape.js - cy = cytoscape({ - container: document.getElementById("cy"), - elements: [], - style: [{ - selector: "node", - style: { - "background-color": "#3498db", - label: "data(label)", - }, - }, ], - }); - - - loadCytoStyle(); - - function loadCytoStyle() { - - // detect light or dark mode - const colorScheme = detectColorScheme(); - console.log('The user prefers:', colorScheme); - - //- Load and apply Cytoscape styles from cy-style.json using fetch - if (colorScheme == "light") { - fetch("css/cy-style.json") - .then((response) => response.json()) - .then((styles) => { - cy.style().fromJson(styles).update(); - }) - .catch((error) => { - console.error( - "Oops, we hit a snag! Couldnt load the cyto styles, bro.", - error, - ); - appendMessage( - `Oops, we hit a snag! Couldnt load the cyto styles, bro.: ${error}`, - ); - }); - } else if (colorScheme == "dark") { - fetch("css/cy-style-dark.json") - .then((response) => response.json()) - .then((styles) => { - cy.style().fromJson(styles).update(); - }) - .catch((error) => { - console.error( - "Oops, we hit a snag! Couldnt load the cyto styles, bro.", - error, - ); - appendMessage( - `Oops, we hit a snag! Couldnt load the cyto styles, bro.: ${error}`, - ); - }); - } - } - - // Enable grid guide extension - cy.gridGuide({ - // On/Off Modules - - snapToGridOnRelease: true, - snapToGridDuringDrag: false, - snapToAlignmentLocationOnRelease: true, - snapToAlignmentLocationDuringDrag: false, - distributionGuidelines: false, - geometricGuideline: false, - initPosAlignment: false, - centerToEdgeAlignment: false, - resize: false, - parentPadding: false, - drawGrid: false, - - // General - gridSpacing: 10, - snapToGridCenter: true, - - // Draw Grid - zoomDash: true, - panGrid: true, - gridStackOrder: -1, - gridColor: '#dedede', - lineWidth: 1.0, - - // Guidelines - guidelinesStackOrder: 4, - guidelinesTolerance: 2.00, - guidelinesStyle: { - strokeStyle: "#8b7d6b", - geometricGuidelineRange: 400, - range: 100, - minDistRange: 10, - distGuidelineOffset: 10, - horizontalDistColor: "#ff0000", - verticalDistColor: "#00ff00", - initPosAlignmentColor: "#0000ff", - lineDash: [0, 0], - horizontalDistLine: [0, 0], - verticalDistLine: [0, 0], - initPosAlignmentLine: [0, 0], - }, - - // Parent Padding - parentSpacing: -1 - }); - - // Fetch and load element data from a JSON file - // fetch("dataCytoMarshall-" + labName + ".json") - fetch("dataCytoMarshall.json") - - .then((response) => response.json()) - .then((elements) => { - // Add the elements to the Cytoscape instance - // Add the elements to the Cytoscape instance - cy.add(elements); - //- run layout - //- run layout - // const layout = cy.layout({ - // name: "cola", - // nodeGap: 5, - // edgeLength: 100, - // animate: true, - // randomize: false, - // maxSimulationTime: 1500, - // }); - // layout.run(); - - // Dynamically create clusters for CISE layout - // var clustersMap = {}; - // cy.nodes().filter('[parent != "newGroup"]').forEach(function (node) { - // var parent = node.data('parent'); - // if (!clustersMap[parent]) { - // clustersMap[parent] = []; - // } - // clustersMap[parent].push(node.id()); - // }); - // var clusters = Object.values(clustersMap); - - // // Apply CISE layout to existing nodes - // var ciseLayout = cy.layout({ - // name: 'cise', - // clusters: clusters, - // animate: "end", - // padding: 20, - // nodeSeparation: 10, - // idealInterClusterEdgeLengthCoefficient: 1.4, - // allowNodesInsideCircle: false, - // maxRatioOfNodesInsideCircle: 0.1, - // nodeRepulsion: 4500 - // }); - // ciseLayout.run() - // Apply force-directed layout (cose) to new nodes - var coseLayout = cy.layout({ - name: 'cose', - animate: "end", - padding: 20, - nodeOverlap: 10, - idealEdgeLength: 50, - edgeElasticity: 100, - nodeRepulsion: 40, - numIter: 100, - initialTemp: 200, - coolingFactor: 0.95, - gravity: 2.2 - }); - - coseLayout.run(); - - // remove node topoviewer - topoViewerNode = cy.filter('node[name = "topoviewer"]'); - topoViewerNode.remove(); - }) - .catch((error) => { - console.error("Error loading graph data:", error); - }); - - // Instantiate hover text element - const hoverText = document.createElement("box"); - hoverText.classList.add( - "hover-text", - "is-hidden", - "box", - "has-text-weight-normal", - "is-warning", - "is-smallest", - ); - hoverText.textContent = "Launch CloudShell."; - document.body.appendChild(hoverText); - - //- Toggle the Panel(s) when clicking on the cy container - //- Toggle the Panel(s) when clicking on the cy container - document.getElementById("cy").addEventListener("click", function(event) { - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here - //- This code will be executed when you click anywhere in the Cytoscape container - //- You can add logic specific to the container here - - loadCytoStyle(); - - if (!nodeClicked && !edgeClicked) { - if (!isPanel01Cy) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - // display none each ViewPortDrawer Element, the ViewPortDrawer is created during DOM loading and styled as display node initially - // display none each ViewPortDrawer Element, the ViewPortDrawer is created during DOM loading and styled as display node initially - var ViewPortDrawerElements = - document.getElementsByClassName("ViewPortDrawer"); - var ViewPortDrawerArray = Array.from(ViewPortDrawerElements); - ViewPortDrawerArray.forEach(function(element) { - element.style.display = "none"; - }); - - } else { - removeElementById("Panel-01"); - appendMessage(`"try to remove panel01-Cy"`); - } - } - nodeClicked = false; - edgeClicked = false; - - appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); - appendMessage(`"nodeClicked: " ${nodeClicked}`); - }); - - // Click event listener for nodes - // Click event listener for nodes - cy.on("click", "node", function(event) { - // This code will be executed when you click on a node - // This code will be executed when you click on a node - const node = event.target; - nodeClicked = true; - - if (!node.isParent()) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - console.log(node) - console.log(node.data("containerDockerExtraAttribute").status) - console.log(node.data("extraData")) - - if (document.getElementById("panel-node").style.display === "none") { - document.getElementById("panel-node").style.display = "block"; - } else { - document.getElementById("panel-node").style.display = "none"; - } - - document.getElementById("panel-node-name").textContent = node.data("extraData").longname - document.getElementById("panel-node-status").textContent = node.data("containerDockerExtraAttribute").status - document.getElementById("panel-node-kind").textContent = node.data("extraData").kind - document.getElementById("panel-node-image").textContent = node.data("extraData").image - document.getElementById("panel-node-mgmtipv4").textContent = node.data("extraData").mgmtIpv4Addresss - document.getElementById("panel-node-mgmtipv6").textContent = node.data("extraData").mgmtIpv6Addresss - document.getElementById("panel-node-fqdn").textContent = node.data("extraData").fqdn - document.getElementById("panel-node-group").textContent = node.data("extraData").group - document.getElementById("panel-node-topoviewerrole").textContent = node.data("topoViewerRole") - - // set selected node-long-name to global variable - globalSelectedNode = node.data("extraData").longname - console.log("internal: ", globalSelectedNode) - - appendMessage(`"isPanel01Cy-cy: " ${isPanel01Cy}`); - appendMessage(`"nodeClicked: " ${nodeClicked}`); - } - }); - - // Click event listener for edges - // Click event listener for edges - cy.on("click", "edge", async function(event) { - - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - // This code will be executed when you click on a node - // You can add logic specific to nodes here - const clickedEdge = event.target; - const defaultEdgeColor = "#969799"; - edgeClicked = true; - - console.log(defaultEdgeColor); - - // Change the color of the clicked edge (for example, to red) - clickedEdge.style("line-color", "#0043BF"); - - // Revert the color of other edges that were not clicked (e.g., back to their default color) - cy.edges().forEach(function(edge) { - if (edge !== clickedEdge) { - edge.style("line-color", defaultEdgeColor); - } - }); - - - - - document.getElementById("panel-link").style.display = "none"; - - if (document.getElementById("panel-link").style.display === "none") { - document.getElementById("panel-link").style.display = "block"; - } else { - document.getElementById("panel-link").style.display = "none"; - } - - document.getElementById("panel-link-name").textContent = `${clickedEdge.data("source")} --- ${clickedEdge.data("target")}` - - document.getElementById("panel-link-endpoint-a-name").textContent = `${clickedEdge.data("source")}` - document.getElementById("panel-link-endpoint-a-mac-address").textContent = `${clickedEdge.data("extraData").clabSourceMacAddress}` - - document.getElementById("panel-link-endpoint-b-name").textContent = `${clickedEdge.data("target")}` - document.getElementById("panel-link-endpoint-b-mac-address").textContent = `${clickedEdge.data("extraData").clabTargetMacAddress}` - - - // setting default impairment endpoint-a values by getting the data from clab via /clab-link-impairment GET API - clabSourceLinkArgsList = [`${clickedEdge.data("extraData").clabSourceLongName}`,`${clickedEdge.data("extraData").clabSourcePort}`] - clabSourceLinkImpairmentClabData = await sendRequestToEndpointGetV2("/clab-link-impairment", clabSourceLinkArgsList) - - if (clabSourceLinkImpairmentClabData && typeof clabSourceLinkImpairmentClabData === 'object' && Object.keys(clabSourceLinkImpairmentClabData).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", clabSourceLinkImpairmentClabData); - console.log("Valid non-empty JSON response received: clabSourceLinkImpairmentClabData returnd data", clabSourceLinkImpairmentClabData["return data"]["delay"]); - - if (clabSourceLinkImpairmentClabData["return data"]["delay"] == "N/A") { - document.getElementById("panel-link-endpoint-a-delay").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-delay").value = clabSourceLinkImpairmentClabData["return data"]["delay"].replace(/ms$/, ''); - } - - if (clabSourceLinkImpairmentClabData["return data"]["jitter"] == "N/A") { - document.getElementById("panel-link-endpoint-a-jitter").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-jitter").value = clabSourceLinkImpairmentClabData["return data"]["jitter"].replace(/ms$/, ''); - } - - if (clabSourceLinkImpairmentClabData["return data"]["rate"] == "N/A") { - document.getElementById("panel-link-endpoint-a-rate").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-rate").value = clabSourceLinkImpairmentClabData["return data"]["rate"] - } - - if (clabSourceLinkImpairmentClabData["return data"]["packet_loss"] == "N/A") { - document.getElementById("panel-link-endpoint-a-loss").value = '0' - }else { - document.getElementById("panel-link-endpoint-a-loss").value = clabSourceLinkImpairmentClabData["return data"]["packet_loss"].replace(/%$/, ''); - } - - - } else { - console.log("Empty or invalid JSON response received"); - } - - - - - // setting default impairment endpoint-b values by getting the data from clab via /clab-link-impairment GET API - clabTargetLinkArgsList = [`${clickedEdge.data("extraData").clabTargetLongName}`,`${clickedEdge.data("extraData").clabTargetPort}`] - clabTargetLinkImpairmentClabData = await sendRequestToEndpointGetV2("/clab-link-impairment", clabTargetLinkArgsList) - - if (clabTargetLinkImpairmentClabData && typeof clabTargetLinkImpairmentClabData === 'object' && Object.keys(clabTargetLinkImpairmentClabData).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", clabTargetLinkImpairmentClabData); - console.log("Valid non-empty JSON response received: clabTargetLinkImpairmentClabData returnd data", clabTargetLinkImpairmentClabData["return data"]["delay"]); - - if (clabTargetLinkImpairmentClabData["return data"]["delay"] == "N/A") { - document.getElementById("panel-link-endpoint-b-delay").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-delay").value = clabTargetLinkImpairmentClabData["return data"]["delay"].replace(/ms$/, ''); - } - - if (clabTargetLinkImpairmentClabData["return data"]["jitter"] == "N/A") { - document.getElementById("panel-link-endpoint-b-jitter").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-jitter").value = clabTargetLinkImpairmentClabData["return data"]["jitter"].replace(/ms$/, ''); - } - - if (clabTargetLinkImpairmentClabData["return data"]["rate"] == "N/A") { - document.getElementById("panel-link-endpoint-b-rate").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-rate").value = clabTargetLinkImpairmentClabData["return data"]["rate"] - } - - if (clabTargetLinkImpairmentClabData["return data"]["packet_loss"] == "N/A") { - document.getElementById("panel-link-endpoint-b-loss").value = '0' - }else { - document.getElementById("panel-link-endpoint-b-loss").value = clabTargetLinkImpairmentClabData["return data"]["packet_loss"].replace(/%$/, ''); - } - - - } else { - console.log("Empty or invalid JSON response received"); - } - - - - - // set selected edge-id to global variable - globalSelectedEdge = clickedEdge.data("id") - - appendMessage(`"edgeClicked: " ${edgeClicked}`); - }); - - - - - function generateNodesEvent(event) { - // Your event handling logic here - //- Add a click event listener to the 'Generate' button - //- Get the number of node from the input field - // Your event handling logic here - //- Add a click event listener to the 'Generate' button - //- Get the number of node from the input field - console.log("generateNodesButton clicked"); - const numNodes = document.getElementById("generateNodesInput").value; - console.log(numNodes); - //- Check if the number of node is empty - //- Check if the number of node is empty - if (numNodes === null) { - //- if node number empty do nothing - //- if node number empty do nothing - return; - } - const numNodesToGenerate = parseInt(numNodes, 10); - //- Check if the number of node is positive - //- Check if the number of node is positive - if (isNaN(numNodesToGenerate) || numNodesToGenerate <= 0) { - //- Invalid input - //- Invalid input - appendMessage( - "Error:" + "Bro, you gotta enter a valid positive number, come on!", - ); - return; - } - //- Generate nodes with random positions - //- Generate nodes with random positions - for (let i = 0; i < numNodesToGenerate; i++) { - const nodeName = `node-${i + 1}`; - const newNode = { - group: "nodes", - data: { - id: nodeName, - name: nodeName, - }, - position: { - x: Math.random() * 400, - y: Math.random() * 400, - }, - }; - //-cy.add(newNode); - //-cy.add(newNode); - try { - cy.add(newNode); - //- throw new Error('This is an example exception'); - //- throw new Error('This is an example exception'); - } catch (error) { - //- Log the exception to the console - //- Log the exception to the console - console.error("An exception occurred:", error); - //- Log the exception to notification message to the textarea - //- Log the exception to notification message to the textarea - appendMessage("An exception occurred:" + error); - } - } - //- Generate random edges between nodes - //- Generate random edges between nodes - for (let i = 0; i < numNodesToGenerate; i++) { - const sourceNode = `node-${i + 1}`; - const targetNode = `node-${Math.floor(Math.random() * numNodesToGenerate) + 1}`; - if (sourceNode !== targetNode) { - const newEdge = { - group: "edges", - data: { - id: "from-" + sourceNode + "-to-" + targetNode, - name: "from-" + sourceNode + "-to-" + targetNode, - source: sourceNode, - target: targetNode, - }, - }; - try { - cy.add(newEdge); - //- throw new Error('This is an example exception'); - //- throw new Error('This is an example exception'); - } catch (error) { - //- Log the exception to the console - //- Log the exception to the console - console.error("An exception occurred:", error); - //- Log the exception to notification message to the textarea - //- Log the exception to notification message to the textarea - appendMessage("An exception occurred::" + error); - } - } - } - //- run layout - //- run layout - const layout = cy.layout({ - name: "cola", - nodeGap: 5, - edgeLengthVal: 45, - animate: true, - randomize: false, - maxSimulationTime: 1500, - }); - layout.run(); - //-//- Append a notification message to the textarea - //-//- Append a notification message to the textarea - console.log( - "Info: " + - `Boom! Just generated ${numNodesToGenerate} nodes with some random edges. That's how we roll!`, - ); - appendMessage( - "Info: " + - `Boom! Just generated ${numNodesToGenerate} nodes with some random edges. That's how we roll!`, - ); - } - - function spawnNodeEvent(event) { - //- Add a click event listener to the 'Submit' button in the hidden form - //- Get the node name from the input field - //- Add a click event listener to the 'Submit' button in the hidden form - //- Get the node name from the input field - const nodeName = document.getElementById("nodeName").value; - console.log(nodeName); - //- Check if a node name is empty - //- Check if a node name is empty - if (nodeName == "") { - //- append message in textArea - //- append message in textArea - appendMessage("Error: Enter node name."); - return; - } - //- Check if a node with the same name already exists - //- Check if a node with the same name already exists - if (cy.$(`node[id = "${nodeName}"]`).length > 0) { - //- append message in textArea - //- append message in textArea - appendMessage("Error: Node with this name already exists."); - return; - } - //- Create a new node element - //- Create a new node element - const newNode = { - group: "nodes", - data: { - id: nodeName, - name: nodeName, - label: nodeName, - }, - }; - //- Add the new node to Cytoscape.js - //- Add the new node to Cytoscape.js - cy.add(newNode); - //- Randomize the positions and center the graph - //- Randomize the positions and center the graph - const layout = cy.layout({ - name: "cola", - nodeGap: 5, - edgeLengthVal: 45, - animate: true, - randomize: false, - maxSimulationTime: 1500, - }); - layout.run(); - //- Append a notification message to the textarea - //- Append a notification message to the textarea - console.log("Info: " + `Nice! Node "${nodeName}" added successfully.`); - appendMessage("Info: " + `Nice! Node "${nodeName}" added successfully.`); - } - - function nodeFindEvent(event) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - const nodeName = document.getElementById("nodeFindInput").value; - const node = cy.$(`node[name = "${nodeName}"]`); - //- Check if the node exists - //- Check if the node exists - if (node.length > 0) { - // console - // console - console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - //- Apply a highlight style to the node - //- Apply a highlight style to the node - node.style({ - "border-color": "red", - "border-width": "2px", - "background-color": "yellow", - }); - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: node.position("x"), - y: node.position("y"), - }, - renderedPosition: { - x: node.renderedPosition("x"), - y: node.renderedPosition("y"), - }, - }, - duration: 1500, - }); - } else { - console.error( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - appendMessage( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - } - } - - function zoomToFitDrawer() { - const initialZoom = cy.zoom(); - appendMessage(`Bro, initial zoom level is "${initialZoom}".`); - //- Fit all nodes possible with padding - //- Fit all nodes possible with padding - cy.fit(); - const currentZoom = cy.zoom(); - appendMessage(`And now the zoom level is "${currentZoom}".`); - } - - function pathFinderDijkstraEvent(event) { - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - - console.log("im triggered"); - - // Remove existing highlight from all edges - // Remove existing highlight from all edges - cy.edges().forEach((edge) => { - edge.removeClass("spf"); - }); - - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - const sourceNodeId = document.getElementById( - "pathFinderSourceNodeInput", - ).value; - const targetNodeId = document.getElementById( - "pathFinderTargetNodeInput", - ).value; - - // Assuming you have 'cy' as your Cytoscape instance - // Assuming you have 'cy' as your Cytoscape instance - const sourceNode = cy.$(`node[id="${sourceNodeId}"]`); - const targetNode = cy.$(`node[id="${targetNodeId}"]`); - - console.log( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - appendMessage( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - - // Check if both nodes exist - // Check if both nodes exist - if (sourceNode.length === 0 || targetNode.length === 0) { - console.error( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - appendMessage( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - return; - } - - // Get the Dijkstra result with the shortest path - // Get the Dijkstra result with the shortest path - const dijkstraResult = cy.elements().dijkstra({ - root: sourceNode, - weight: (edge) => 1, - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - }); - // Get the shortest path from Dijkstra result - // Get the shortest path from Dijkstra result - const shortestPathEdges = dijkstraResult.pathTo(targetNode); - console.log(shortestPathEdges); - - // Check if there is a valid path (shortestPathEdges is not empty) - // Check if there is a valid path (shortestPathEdges is not empty) - if (shortestPathEdges.length > 1) { - //// Apply a style to highlight the shortest path edges - // shortestPathEdges.style({ - // 'line-color': 'red', - // 'line-style': 'solid', - // }); - //// Apply a style to highlight the shortest path edges - // shortestPathEdges.style({ - // 'line-color': 'red', - // 'line-style': 'solid', - // }); - - // Highlight the shortest path - // Highlight the shortest path - shortestPathEdges.forEach((edge) => { - edge.addClass("spf"); - }); - - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: sourceNode.position("x"), - y: sourceNode.position("y"), - }, - renderedPosition: { - x: sourceNode.renderedPosition("x"), - y: sourceNode.renderedPosition("y"), - }, - }, - duration: 1500, - }); - // throw log - // throw log - console.log( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found.", - ); - appendMessage( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found, below is the path trace..", - ); - console.log(shortestPathEdges); - - shortestPathEdges.forEach((edge) => { - console.log("Edge ID:", edge.id()); - console.log("Source Node ID:", edge.source().id()); - console.log("Target Node ID:", edge.target().id()); - - edgeId = edge.id(); - sourceNodeId = edge.source().id(); - targetNodeId = edge.target().id(); - // You can access other properties of the edge, e.g., source, target, data, etc. - // You can access other properties of the edge, e.g., source, target, data, etc. - - appendMessage("Info: " + "Edge ID: " + edgeId); - appendMessage("Info: " + "Source Node ID: " + sourceNodeId); - appendMessage("Info: " + "Target Node ID: " + targetNodeId); - }); - } else { - console.error( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - appendMessage( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - return; - } - } - - function setNodeContainerStatus(containerNodeName, containerNodeStatus) { - cy.nodes().forEach(function(node) { - var nodeId = node.data("id"); - - // Find the corresponding status nodes based on node ID - // Find the corresponding status nodes based on node ID - var statusGreenNode = cy.$(`node[name="${nodeId}-statusGreen"]`); - var statusOrangeNode = cy.$(`node[name="${nodeId}-statusOrange"]`); - var statusRedNode = cy.$(`node[name="${nodeId}-statusRed"]`); - - if (statusGreenNode.length === 0 || statusRedNode.length === 0) { - // If status nodes are not found, skip this node - return; - } - - // Update positions of status nodes relative to the node - var nodePosition = node.position(); - var offset = { - x: -4, - y: -10 - }; - var statusGreenNodePosition = { - x: nodePosition.x + offset.x, - y: nodePosition.y + offset.y, - }; - var statusRedNodePosition = { - x: nodePosition.x + offset.x, - y: nodePosition.y + offset.y, - }; - - // Check if the nodeContainerStatusVisibility is true - if (nodeContainerStatusVisibility) { - // Check if the containerNodeName includes nodeId and containerNodeStatus includes 'healthy' - if ( - containerNodeName.includes(nodeId) && - (containerNodeStatus.includes("Up") || - containerNodeStatus.includes("healthy")) - ) { - statusGreenNode.show(); - statusRedNode.hide(); - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - } else if ( - containerNodeName.includes(nodeId) && - containerNodeStatus.includes("(health: starting)") - ) { - statusGreenNode.hide(); - statusOrangeNode.show(); - } else if ( - containerNodeName.includes(nodeId) && - containerNodeStatus.includes("Exited") - ) { - statusGreenNode.hide(); - statusRedNode.show(); - } - } else { - statusGreenNode.hide(); - statusRedNode.hide(); - } - - statusGreenNode.position(statusGreenNodePosition); - statusRedNode.position(statusRedNodePosition); - }); - } - - function setNodeDataWithContainerAttribute(containerNodeName, status, state) { - cy.nodes().forEach(function(node) { - var nodeId = node.data("id"); - if (containerNodeName.includes(nodeId)) { - var containerDockerExtraAttributeData = { - state: state, - status: status, - }; - - node.data( - "containerDockerExtraAttribute", - containerDockerExtraAttributeData, - ); - } - }); - } - - // - // End of JS Functions Event Handling section - // End of JS Functions Event Handling section - // - - // - // Start of JS Generic Functions - // Start of JS Generic Functions - // - // - // Start of JS Generic Functions - // Start of JS Generic Functions - // - - - //- Function to get the default node style from cy-style.json - //- Function to get the default node style from cy-style.json - async function getDefaultNodeStyle(node) { - try { - //- Fetch the cy-style.json file - //- Fetch the cy-style.json file - const response = await fetch("cy-style.json"); - //- Check if the response is successful (status code 200) - //- Check if the response is successful (status code 200) - if (!response.ok) { - throw new Error( - `Failed to fetch cy-style.json (${response.status} ${response.statusText})`, - ); - } - //- Parse the JSON response - //- Parse the JSON response - const styleData = await response.json(); - //- Extract the default node style from the loaded JSON - //- Adjust this based on your JSON structure - //- Extract the default node style from the loaded JSON - //- Adjust this based on your JSON structure - const defaultNodeStyle = styleData[0].style; - return defaultNodeStyle; - } catch (error) { - console.error("Error loading cy-style.json:", error); - appendMessage(`Error loading cy-style.json: ${error}`); - //- Return a default style in case of an error - //- Return a default style in case of an error - return { - "background-color": "blue", - "border-color": "gray", - "border-width": "1px", - }; - } - } - - ///-logMessagesPanel Function to add a click event listener to the copy button - ///-logMessagesPanel Function to add a click event listener to the copy button - const copyButton = document.getElementById("copyToClipboardButton"); - copyButton.className = "button is-smallest-element"; - copyButton.addEventListener("click", copyToClipboard); - - /// logMessagesPanel Function to copy textarea content to clipboard - /// logMessagesPanel Function to copy textarea content to clipboard - function copyToClipboard() { - const textarea = document.getElementById("notificationTextarea"); - textarea.select(); - document.execCommand("copy"); - } - - - - // function closePanelEvent(event, panel) { - // panel.style.display = "block"; - // console.log(panel.style.display); - // panel.style.display = "none"; - // } - - function createModal(modalId, modalContent) { - // Create the modal - // Create the modal - const htmlContent = ` - - `; - - const modalDiv = document.createElement("div"); - modalDiv.innerHTML = htmlContent; - modalDiv.id = "modalDivExportViewport"; - - document.body.appendChild(modalDiv); - const modalBackground = document.getElementById( - `${modalId}-modalBackgroundId`, - ); - - modalBackground.addEventListener("click", function() { - const modal = modalBackground.parentNode; - modal.classList.remove("is-active"); - }); - } - - function showModalCaptureViewport(modalId) { - const modalContentSaveViewport = ` - - `; - - // Instantiate modal - // Instantiate modal - createModal("modalSaveViewport", modalContentSaveViewport); - - // create event listener - // create event listener - const performActionButton = document.getElementById("performActionButton"); - performActionButton.addEventListener("click", function() { - const checkboxName = "checkboxSaveViewPort"; - const checkboxes = document.querySelectorAll( - `input[type="checkbox"][name="${checkboxName}"]`, - ); - const selectedOptions = []; - - checkboxes.forEach(function(checkbox) { - if (checkbox.checked) { - selectedOptions.push(checkbox.value); - } - }); - - if (selectedOptions.length === 0) { - bulmaToast.toast({ - message: `Hey there, please pick at least one option.😊👌`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - // Perform your action based on the selected options - // Perform your action based on the selected options - if (selectedOptions.join(", ") == "option01") { - captureAndSaveViewportAsPng(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option02") { - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option01, option02") { - captureAndSaveViewportAsPng(cy); - sleep(5000); - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } - } - }); - - // show modal - // show modal - modal = document.getElementById(modalId); - modal.classList.add("is-active"); - } - - // - // End of JS Generic Functions section - // End of JS Generic Functions section - // - // - // End of JS Generic Functions section - // End of JS Generic Functions section - // -}); - -// aarafat-tag: -//// REFACTOR START -//// to-do: -//// - re-create about-panel -//// - re-create log-messages -//// - re-create viewport - -async function initEnv() { - environments = await getEnvironments(); - labName = await environments["clab-name"] - deploymentType = await environments["deployment-type"] - - console.log("Lab-Name: ", labName) - console.log("DeploymentType: ", deploymentType) - return environments, labName - } - -async function changeTitle() { - environments = await getEnvironments(); - labName = await environments["clab-name"] - - console.log("changeTitle() - labName: ", labName) - document.title = `TopoViewer::${labName}`; -} - -async function sshWebBased(event) { - console.log("sshWebBased: ", globalSelectedNode) - var routerName = globalSelectedNode - try { - environments = await getEnvironments(event); - console.log("sshWebBased - environments: ", environments) - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - routerData = findCytoElementByLongname(cytoTopologyJson, routerName) - - console.log("sshWebBased: ", `${globalShellUrl}?RouterID=${routerData["data"]["extraData"]["mgmtIpv4Addresss"]}?RouterName=${routerName}`) - - window.open(`${globalShellUrl}?RouterID=${routerData["data"]["extraData"]["mgmtIpv4Addresss"]}?RouterName=${routerName}`); - - } catch (error) { - console.error('Error executing restore configuration:', error); - } -} - -async function sshCliCommandCopy(event) { - console.log("sshWebBased: ", globalSelectedNode) - var routerName = globalSelectedNode - try { - environments = await getEnvironments(event); - console.log("sshWebBased - environments: ", environments) - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - clabServerAddress = environments["clab-server-address"] - routerData = findCytoElementByLongname(cytoTopologyJson, routerName) - clabUser = routerData["data"]["extraData"]["clabServerUsername"] - - sshCopyString = `ssh -t ${clabUser}@${clabServerAddress} "ssh admin@${routerName}"` - - // Check if the clipboard API is available - if (navigator.clipboard && navigator.clipboard.writeText) { - navigator.clipboard.writeText(sshCopyString).then(function() { - alert('Text copied to clipboard'); - }).catch(function(error) { - console.error('Could not copy text: ', error); - }); - } else { - // Fallback method for older browsers - let textArea = document.createElement('textarea'); - textArea.value = sshCopyString; - document.body.appendChild(textArea); - textArea.focus(); - textArea.select(); - try { - document.execCommand('copy'); - alert('Text copied to clipboard'); - } catch (err) { - console.error('Fallback: Oops, unable to copy', err); - } - document.body.removeChild(textArea); - } - - } catch (error) { - console.error('Error executing restore configuration:', error); - } -} - - - -async function linkImpairmentClab(event, impairDirection) { - console.log("linkImpairmentClab - globalSelectedEdge: ", globalSelectedEdge) - var edgeId = globalSelectedEdge - try { - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - var deploymentType = environments["deployment-type"] - var command - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - edgeData = findCytoElementById(cytoTopologyJson, edgeId) - - console.log("linkImpairment- edgeData: ", edgeData) - console.log("linkImpairment- edgeSource: ", edgeData["data"]["source"]) - - clabUser = edgeData["data"]["extraData"]["clabServerUsername"] - clabServerAddress = environments["clab-server-address"] - clabSourceLongName = edgeData["data"]["extraData"]["clabSourceLongName"] - clabSourcePort = edgeData["data"]["extraData"]["clabSourcePort"] - - clabTargetLongName = edgeData["data"]["extraData"]["clabTargetLongName"] - clabTargetPort = edgeData["data"]["extraData"]["clabTargetPort"] - - if (impairDirection == "a-to-b") { - console.log("linkImpairment - impairDirection: ", impairDirection) - - delayValue = document.getElementById("panel-link-endpoint-a-delay").value - jitterValue = document.getElementById("panel-link-endpoint-a-jitter").value - rateValue = document.getElementById("panel-link-endpoint-a-rate").value - lossValue = document.getElementById("panel-link-endpoint-a-loss").value - - if (deploymentType == "container") { - command = `ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } else if (deploymentType == "colocated") { - command = `/usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } - - console.log(`linkImpairment - deployment ${deploymentType}, command: ${command}`) - var postPayload = [] - postPayload[0] = command - await sendRequestToEndpointPost("/clab-link-impairment", postPayload) - - - } else if (impairDirection == "b-to-a") { - console.log("linkImpairment - impairDirection: ", impairDirection) - - delayValue = document.getElementById("panel-link-endpoint-b-delay").value - jitterValue = document.getElementById("panel-link-endpoint-b-jitter").value - rateValue = document.getElementById("panel-link-endpoint-b-rate").value - lossValue = document.getElementById("panel-link-endpoint-b-loss").value - - if (deploymentType == "container") { - command = `ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } else if (deploymentType == "colocated") { - command = `/usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delayValue}ms --jitter ${jitterValue}ms --rate ${rateValue} --loss ${lossValue}` - } - - console.log(`linkImpairment - deployment ${deploymentType}, command: ${command}`) - var postPayload = [] - postPayload[0] = command - await sendRequestToEndpointPost("/clab-link-impairment", postPayload) - } - - } catch (error) { - console.error('Error executing linkImpairment configuration:', error); - } -} - - -async function linkWireshark(event, option, endpoint) { - console.log("linkWireshark - globalSelectedEdge: ", globalSelectedEdge) - var edgeId = globalSelectedEdge - try { - environments = await getEnvironments(event); - console.log("linkWireshark - environments: ", environments) - - var deploymentType = environments["deployment-type"] - - cytoTopologyJson = environments["EnvCyTopoJsonBytes"] - edgeData = findCytoElementById(cytoTopologyJson, edgeId) - - console.log("linkWireshark- edgeData: ", edgeData) - console.log("linkWireshark- edgeSource: ", edgeData["data"]["source"]) - - clabUser = edgeData["data"]["extraData"]["clabServerUsername"] - clabServerAddress = environments["clab-server-address"] - - clabSourceLongName = edgeData["data"]["extraData"]["clabSourceLongName"] - clabSourcePort = edgeData["data"]["extraData"]["clabSourcePort"] - - clabTargetLongName = edgeData["data"]["extraData"]["clabTargetLongName"] - clabTargetPort = edgeData["data"]["extraData"]["clabTargetPort"] - - if (option == "app") { - if (endpoint == "source") { - wiresharkHref = `clab-capture://${clabUser}@${clabServerAddress}?${clabSourceLongName}?${clabSourcePort}` - console.log("linkWireshark- wiresharkHref: ", wiresharkHref) - - } else if (endpoint == "target") { - wiresharkHref = `clab-capture://${clabUser}@${clabServerAddress}?${clabTargetLongName}?${clabTargetPort}` - console.log("linkWireshark- wiresharkHref: ", wiresharkHref) - } - - window.open(wiresharkHref); - - } else if (option == "copy") { - if (endpoint == "source") { - if (deploymentType == "container") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabSourceLongName} tcpdump -U -nni ${clabSourcePort} -w -" | wireshark -k -i -` - } else if (deploymentType == "colocated") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabSourceLongName} tcpdump -U -nni ${clabSourcePort} -w -" | wireshark -k -i -` - } - } else if (endpoint == "target") { - if (deploymentType == "container") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabTargetLongName} tcpdump -U -nni ${clabTargetPort} -w -" | wireshark -k -i -` - } else if (deploymentType == "colocated") { - wiresharkSshCommand = `ssh ${clabUser}@${clabServerAddress} "sudo -S /sbin/ip netns exec ${clabTargetLongName} tcpdump -U -nni ${clabTargetPort} -w -" | wireshark -k -i -` - } - } - - console.log("linkWireshark- wiresharkSShCommand: ", wiresharkSshCommand) - - // Check if the clipboard API is available - if (navigator.clipboard && navigator.clipboard.writeText) { - navigator.clipboard.writeText(wiresharkSshCommand).then(function() { - alert('Text copied to clipboard'); - }).catch(function(error) { - console.error('Could not copy text: ', error); - }); - } else { - // Fallback method for older browsers - let textArea = document.createElement('textarea'); - textArea.value = wiresharkSshCommand; - document.body.appendChild(textArea); - textArea.focus(); - textArea.select(); - try { - document.execCommand('copy'); - alert('Text copied to clipboard'); - } catch (err) { - console.error('Fallback: Oops, unable to copy', err); - } - document.body.removeChild(textArea); - } - - } - - } catch (error) { - console.error('Error executing linkImpairment configuration:', error); - } -} - -async function showPanelLogMessages(event) { - document.getElementById("panel-log-messages").style.display = "block"; -} - -///-logMessagesPanel Function to add a click event listener to the close button -document.getElementById("panel-log-messages-close-button").addEventListener("click", () => { - document.getElementById("panel-log-messages").style.display = "none"; -}); - -async function showPanelTopoViewerClient(event) { - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - clabServerAddress = environments["clab-server-address"] - clabServerPort = environments["clab-server-port"] - - hrefWindows = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-windows/ClabCapture.app.zip` - hrefMac = `http://${clabServerAddress}:${clabServerPort}/clab-client/clab-client-mac/ClabCapture.app.zip` - - document.getElementById("panel-topoviewer-helper").style.display = "block"; - - const htmlContent = ` -
Wireshark Capture
-

- Please download the following helper app: -

- -

- TopoViewer offers a remote capture feature for intercepting ContainerLab node endpoints. - For the best experience, it's recommended to have both TopoViewer and its helper app installed on client-side. - With the TopoViewer helper app, you can effortlessly automate the launch of Wireshark's GUI. -

-

- Alternatively, if you don't have the helper app, you can simply copy and paste an SSH command to initiate Wireshark manually. - This setup provides flexibility in how you utilize this feature.
-

- `; - document.getElementById("panel-topoviewer-helper-content").innerHTML = htmlContent; -} - -async function showPanelAbout(event) { - // Remove all Overlayed Panel - // Get all elements with the class "panel-overlay" - var panelOverlays = document.getElementsByClassName("panel-overlay"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < panelOverlays.length; i++) { - panelOverlays[i].style.display = "none"; - } - - environments = await getEnvironments(event); - console.log("linkImpairment - environments: ", environments) - - topoViewerVersion = environments["topoviewer-version"] - - document.getElementById("panel-topoviewer-about").style.display = "block"; - - const htmlContent = ` -
-
Version: ${topoViewerVersion}
- -

- Designed and developed by Asad Arafat
-

-

- Special Thanks: -

    -
  • Siva Sivakumar - For pioneering the integration of Bulma CSS, significantly enhancing TopoViewer design and usability.
  • -
  • Gatot Susilo - For seamlessly incorporating TopoViewer into the Komodo2 tool, bridging functionality with innovation.
  • -
  • Gusman Dharma Putra - For his invaluable contribution in integrating TopoViewer into Komodo2, enriching its capabilities.
  • -
  • Sven Wisotzky - For offering insightful feedback that led to significant full stack optimizations.
  • -
-

- - -
- `; - document.getElementById("panel-topoviewer-about-content").innerHTML = htmlContent; -} - -async function sidebarButtonFitScreen(event) { - - // --sidebar-button-background-color-default: rgba(54,58, 69, 1); - // --sidebar-button-background-color-active: rgba(76, 82, 97, 1); - - var sidebarButtonFitScreen = document.getElementById("sidebar-button-fit-screen") - const sidebarButtonColorDefault = getComputedStyle(sidebarButtonFitScreen).getPropertyValue('--sidebar-button-background-color-default'); - const sidebarButtonColorActive = getComputedStyle(sidebarButtonFitScreen).getPropertyValue('--sidebar-button-background-color-active'); - - drawer = document.getElementById("drawer") - if (drawer.style.display === 'block') { - drawer.style.display = 'none'; - var sidebarButtonFitScreen = document.getElementById("sidebar-button-fit-screen") - sidebarButtonFitScreen.style.background = sidebarButtonColorDefault.trim(); - sidebarButtonFitScreen.style.border = sidebarButtonColorActive.trim(); - } else { - drawer.style.display = 'block'; - var sidebarButtons = document.getElementsByClassName("is-sidebar"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < sidebarButtons.length; i++) { - sidebarButtons[i].style.background = sidebarButtonColorDefault.trim(); - sidebarButtons[i].style.border = sidebarButtonColorDefault.trim(); - } - sidebarButtonFitScreen.style.background = sidebarButtonColorActive.trim(); - } - -} - -async function getActualNodesEndpoints(event) { - try { - bulmaToast.toast({ - message: `Getting Actual Nodes Endpoint Labels... Hold on..! 🚀💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - appendMessage( - `Getting Actual Nodes Endpoint Labels... Hold on..! 🚀💻`, - ); - - showLoadingSpinnerGlobal() - const CyTopoJson = await sendRequestToEndpointGet("/actual-nodes-endpoints", argsList = []) - location.reload(true); - - // Handle the response data - if (CyTopoJson && typeof CyTopoJson === 'object' && Object.keys(CyTopoJson).length > 0) { - hideLoadingSpinnerGlobal(); - console.log("Valid non-empty JSON response received:", CyTopoJson); - - hideLoadingSpinnerGlobal(); - - - - return CyTopoJson - - } else { - - hideLoadingSpinnerGlobal(); - - console.log("Empty or invalid JSON response received"); - } - } catch (error) { - hideLoadingSpinnerGlobal(); - console.error("Error occurred:", error); - // Handle errors as needed - } -} - -function viewportButtonsZoomToFit() { - const initialZoom = cy.zoom(); - appendMessage(`Bro, initial zoom level is "${initialZoom}".`); - //- Fit all nodes possible with padding - //- Fit all nodes possible with padding - cy.fit(); - const currentZoom = cy.zoom(); - appendMessage(`And now the zoom level is "${currentZoom}".`); -} - -function viewportButtonsLayoutAlgo() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - viewportDrawerLayout = document.getElementById("viewport-drawer-layout") - viewportDrawerLayout.style.display = "block" -} - - - - -async function layoutAlgoChange(event) { - - try { - console.log("layoutAlgoChange clicked"); - - var selectElement = document.getElementById("select-layout-algo"); - var selectedOption = selectElement.value; - - if (selectedOption === "Force Directed") { - console.log("Force Directed algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-force-directed") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-force-directed-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-force-directed")) - console.log(document.getElementById("viewport-drawer-force-directed-reset-start")) - - } else if (selectedOption === "Vertical") { - console.log("Vertical algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-dc-vertical") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-dc-vertical-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-dc-vertical")) - console.log(document.getElementById("viewport-drawer-dc-vertical-reset-start")) - - } else if (selectedOption === "Horizontal") { - console.log("Horizontal algo selected"); - - var layoutAlgoPanels = document.getElementsByClassName("layout-algo"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < layoutAlgoPanels.length; i++) { - layoutAlgoPanels[i].style.display = "none"; - } - - viewportDrawerForceDirected = document.getElementById("viewport-drawer-dc-horizontal") - viewportDrawerForceDirected.style.display = "block" - - viewportDrawerForceDirectedResetStart = document.getElementById("viewport-drawer-dc-horizontal-reset-start") - viewportDrawerForceDirectedResetStart.style.display = "block" - - console.log(document.getElementById("viewport-drawer-dc-horizontal")) - console.log(document.getElementById("viewport-drawer-dc-horizontal-reset-start")) - } - - }catch (error) { - console.error("Error occurred:", error); - // Handle errors as needed - } -} - - -function viewportButtonsTopologyOverview() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - console.log("viewportButtonsTopologyOverview clicked") - viewportDrawerLayout = document.getElementById("viewport-drawer-topology-overview") - viewportDrawerLayout.style.display = "block" - - viewportDrawerLayoutContent = document.getElementById("viewport-drawer-topology-overview-content") - viewportDrawerLayoutContent.style.display = "block" -} - -function viewportButtonsTopologyCapture() { - var viewportDrawer = document.getElementsByClassName("viewport-drawer"); - // Loop through each element and set its display to 'none' - for (var i = 0; i < viewportDrawer.length; i++) { - viewportDrawer[i].style.display = "none"; - } - - console.log("viewportButtonsTopologyCapture clicked") - - viewportDrawerCapture = document.getElementById("viewport-drawer-capture-sceenshoot") - viewportDrawerCapture.style.display = "block" - - viewportDrawerCaptureContent = document.getElementById("viewport-drawer-capture-sceenshoot-content") - viewportDrawerCaptureContent.style.display = "block" -} - -function viewportButtonsLabelEndpoint() { - if (linkEndpointVisibility) { - cy.edges().forEach(function(edge) { - // edge.style("source-label", "."); - // edge.style("target-label", "."); - edge.style("text-opacity", 0); - edge.style("text-background-opacity", 0); - - - linkEndpointVisibility = false; - }); - } else { - cy.edges().forEach(function(edge) { - edge.style("text-opacity", 1); - edge.style("text-background-opacity", 0.7); - linkEndpointVisibility = true; - }); - } -} - -function viewportButtonContainerStatusVisibility() { - if (nodeContainerStatusVisibility) { - nodeContainerStatusVisibility = false; - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - appendMessage( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - bulmaToast.toast({ - message: `Alright, mission control, we're standing down. 🛑🔍 Container status probing aborted. Stay chill, folks. 😎👨‍💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - nodeContainerStatusVisibility = true; - console.log( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - appendMessage( - "nodeContainerStatusVisibility: " + nodeContainerStatusVisibility, - ); - bulmaToast.toast({ - message: `🕵️‍♂️ Bro, we're currently on a mission to probe that container status! Stay tuned for the results. 🔍🚀👨‍💻`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } -} - - -function viewportDrawerLayoutForceDirected() { - edgeLengthSlider = document.getElementById("force-directed-slider-link-lenght"); - nodeGapSlider = document.getElementById("force-directed-slider-node-gap"); - - const edgeLengthValue = parseFloat(edgeLengthSlider.value); - const nodeGapValue = parseFloat(nodeGapSlider.value); - - console.log("edgeLengthValue", edgeLengthValue); - console.log("nodeGapValue", nodeGapValue); - - cy.layout( - { - fit: true, - name: "cola", - animate: true, - randomize: false, - maxSimulationTime: 400, - edgeLength: function(e) { - return edgeLengthValue / e.data("weight"); - }, - nodeGap: function(e) { - return nodeGapValue / e.data("weight"); - }, - }) - .run(); -} - -function viewportDrawerLayoutVertical() { - nodevGap = document.getElementById("vertical-layout-slider-node-v-gap"); - groupvGap = document.getElementById("vertical-layout-slider-group-v-gap"); - - const nodevGapValue = parseFloat(nodevGap.value); - const groupvGapValue = parseFloat(groupvGap.value); - - console.log("nodevGapValue", nodevGapValue); - console.log("groupvGapValue", groupvGapValue); - - const xOffset = parseFloat(nodevGapValue); - const yOffset = parseFloat(groupvGapValue); - - console.log("yOffset", yOffset); - console.log("xOffset", xOffset); - - const delay = 100; - - setTimeout(() => { - cy.nodes().forEach(function(node) { - if (node.isParent()) { - // For each parent node - const children = node.children(); - const numRows = 1; - - const cellWidth = node.width() / children.length; - // const xOffset = 5 - - children.forEach(function(child, index) { - // Position children in rows - const xPos = index * (cellWidth + xOffset); - const yPos = 0; - - // Set the position of each child node - child.position({ - x: xPos, - y: yPos - }); - }); - } - }); - - var parentCounts = {}; - var maxWidth = 0; - var centerX = 0; - var centerY = cy.height() / 2; - - // Count children of each parent node - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const childrenCount = node.children().length; - parentCounts[node.id()] = childrenCount; - } - }); - - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const width = node.width(); - if (width > maxWidth) { - maxWidth = width; - console.log("ParentMaxWidth: ", maxWidth); - } - } - }); - - const divisionFactor = maxWidth / 2; - console.log("divisionFactor: ", divisionFactor); - - // Sort parent nodes by child count in ascending order - const sortedParents = Object.keys(parentCounts).sort( - (a, b) => parentCounts[a] - parentCounts[b], - ); - - let yPos = 0; - // const yOffset = 50; - // const yOffset = 50; - - // Position parent nodes vertically and center them horizontally - sortedParents.forEach(function(parentId) { - const parent = cy.getElementById(parentId); - const xPos = centerX - parent.width() / divisionFactor; - // to the left compared to the center of the widest parent node. - parent.position({ - x: xPos, - y: yPos - }); - yPos += yOffset; - }); - cy.fit(); - }, delay); -} - -function viewportDrawerLayoutHorizontal() { - nodehGap = document.getElementById("horizontal-layout-slider-node-h-gap"); - grouphGap = document.getElementById("horizontal-layout-slider-group-h-gap"); - - const horizontalNodeGap = parseFloat(nodehGap.value); - const horizontalGroupGap = parseFloat(grouphGap.value); - - console.log("nodevGapValue", horizontalNodeGap); - console.log("groupvGapValue", horizontalGroupGap); - - const yOffset = parseFloat(horizontalNodeGap); - const xOffset = parseFloat(horizontalGroupGap); - - console.log("yOffset", yOffset); - console.log("xOffset", xOffset); - - const delay = 100; - setTimeout(() => { - cy.nodes().forEach(function(node) { - if (node.isParent()) { - // For each parent node - const children = node.children(); - const numColumns = 1; - const cellHeight = node.height() / children.length; - // const yOffset = 5; - - children.forEach(function(child, index) { - // Position children in columns - const xPos = 0; - const yPos = index * (cellHeight + yOffset); - - // Set the position of each child node - child.position({ - x: xPos, - y: yPos - }); - }); - } - }); - - var parentCounts = {}; - var maxHeight = 0; - var centerX = cy.width() / 2; - var centerY = cy.height() / 2; - - // Count children of each parent node - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const childrenCount = node.children().length; - parentCounts[node.id()] = childrenCount; - } - }); - - cy.nodes().forEach(function(node) { - if (node.isParent()) { - const height = node.height(); - if (height > maxHeight) { - maxHeight = height; - console.log("ParentMaxHeight: ", maxHeight); - } - } - }); - - const divisionFactor = maxHeight / 2; - console.log("divisionFactor: ", divisionFactor); - - // Sort parent nodes by child count in ascending order - const sortedParents = Object.keys(parentCounts).sort( - (a, b) => parentCounts[a] - parentCounts[b], - ); - - let xPos = 0; - // const xOffset = 50; - - // Position parent nodes horizontally and center them vertically - sortedParents.forEach(function(parentId) { - const parent = cy.getElementById(parentId); - const yPos = centerY - parent.height() / divisionFactor; - parent.position({ - x: xPos, - y: yPos - }); - xPos -= xOffset; - }); - - cy.fit(); - }, delay); - -} - - -function viewportDrawerCaptureButton() { - - console.log ("viewportDrawerCaptureButton() - clicked") - - - - - // Get all checkbox inputs within the specific div - const checkboxes = document.querySelectorAll('#viewport-drawer-capture-sceenshoot-content .checkbox-input'); - - // Initialize an array to store the values of checked checkboxes - const selectedOptions = []; - - // Iterate through the NodeList of checkboxes - checkboxes.forEach((checkbox) => { - // If the checkbox is checked, push its value to the array - if (checkbox.checked) { - selectedOptions.push(checkbox.value); - } - }); - - console.log ("viewportDrawerCaptureButton() - ", selectedOptions) - - - if (selectedOptions.length === 0) { - bulmaToast.toast({ - message: `Hey there, please pick at least one option.😊👌`, - type: "is-warning is-size-6 p-3", - duration: 4000, - position: "top-center", - closeOnClick: true, - }); - } else { - // Perform your action based on the selected options - // Perform your action based on the selected options - if (selectedOptions.join(", ") == "option01") { - captureAndSaveViewportAsPng(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option02") { - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } else if (selectedOptions.join(", ") == "option01, option02") { - captureAndSaveViewportAsPng(cy); - sleep(5000); - captureAndSaveViewportAsDrawIo(cy); - modal.classList.remove("is-active"); - } - } - -} - -async function captureAndSaveViewportAsDrawIo(cy) { - // Find the canvas element for layer2-node - // Find the canvas element for layer2-node - const canvasElement = document.querySelector( - '#cy canvas[data-id="layer2-node"]', - ); - const drawIoWidht = canvasElement.width / 10; - const drawIoHeight = canvasElement.height / 10; - const drawIoaAspectRatio = drawIoWidht / drawIoHeight; - - const mxGraphHeader = ` - - - `; - - const mxGraphFooter = ` - `; - - const mxCells = []; - - // Iterate through nodes and edges - // Function to create mxCell XML for nodes - // Iterate through nodes and edges - // Function to create mxCell XML for nodes - function createMxCellForNode(node, imageURL) { - if (node.isParent()) { - return ` - - - `; - } else if ( - !node.data("id").includes("statusGreen") && - !node.data("id").includes("statusRed") - ) { - return ` - - - `; - } - } - - cy.nodes().forEach(function(node) { - let imageURL; - switch (node.data("topoViewerRole")) { - case "pe": - imageURL = `http://${location.host}/images/clab-pe-light-blue.png`; - break; - case "controller": - imageURL = - `http://${location.host}/images/clab-controller-light-blue.png`; - break; - case "pon": - imageURL = `http://${location.host}/images/clab-pon-dark-blue.png`; - break; - case "dcgw": - imageURL = `http://${location.host}/images/clab-dcgw-dark-blue.png`; - break; - case "leaf": - imageURL = `http://${location.host}/images/clab-leaf-light-blue.png`; - break; - case "spine": - imageURL = `http://${location.host}/images/clab-spine-dark-blue.png`; - break; - case "super-spine": - imageURL = `http://${location.host}/images/clab-spine-light-blue.png`; - break; - } - mxCells.push(createMxCellForNode(node, imageURL)); - }); - - cy.edges().forEach(function(edge) { - mxCells.push(` - - - - - - - - - - - - - - `); - }); - - // Combine all parts and create XML - const mxGraphXML = mxGraphHeader + mxCells.join("") + mxGraphFooter; - - // Create a Blob from the XML - const blob = new Blob([mxGraphXML], { - type: "application/xml", - }); - - // Create a URL for the Blob - const url = window.URL.createObjectURL(blob); - - // Create a download link and trigger a click event - const a = document.createElement("a"); - a.style.display = "none"; - a.href = url; - a.download = "filename.drawio"; - document.body.appendChild(a); - - bulmaToast.toast({ - message: `Brace yourselves for a quick snapshot, folks! 📸 Capturing the viewport in 3... 2... 1... 🚀💥`, - type: "is-warning is-size-6 p-3", - duration: 2000, - position: "top-center", - closeOnClick: true, - }); - await sleep(2000); - // Simulate a click to trigger the download - a.click(); - - // Clean up by revoking the URL and removing the download link - window.URL.revokeObjectURL(url); - document.body.removeChild(a); -} -async function captureAndSaveViewportAsPng(cy) { - // Find the canvas element for layer2-node - // Find the canvas element for layer2-node - const canvasElement = document.querySelector( - '#cy canvas[data-id="layer2-node"]', - ); - - const zoomScaleFactor = 1; - - // Check if the canvas element exists and is an HTMLCanvasElement - // Check if the canvas element exists and is an HTMLCanvasElement - if (canvasElement instanceof HTMLCanvasElement) { - // Calculate the new canvas dimensions based on the high resolution factor - // Calculate the new canvas dimensions based on the high resolution factor - const newWidth = canvasElement.width * zoomScaleFactor; - const newHeight = canvasElement.height * zoomScaleFactor; - - // Create a new canvas element with the increased dimensions - // Create a new canvas element with the increased dimensions - const newCanvas = document.createElement("canvas"); - newCanvas.width = newWidth; - newCanvas.height = newHeight; - const newCanvasContext = newCanvas.getContext("2d"); - - // Scale the canvas content to the new dimensions - // Scale the canvas content to the new dimensions - newCanvasContext.scale(zoomScaleFactor, zoomScaleFactor); - - // Fill the new canvas with a white background - // Fill the new canvas with a white background - newCanvasContext.fillStyle = "white"; - newCanvasContext.fillRect(0, 0, newWidth, newHeight); - - // Draw the original canvas content on the new canvas - // Draw the original canvas content on the new canvas - newCanvasContext.drawImage(canvasElement, 0, 0); - - // Convert the new canvas to a data URL with a white background - // Convert the new canvas to a data URL with a white background - const dataUrl = newCanvas.toDataURL("image/png"); - - // Create an anchor element to trigger the download - // Create an anchor element to trigger the download - const link = document.createElement("a"); - link.href = dataUrl; - link.download = "cytoscape-viewport.png"; - - bulmaToast.toast({ - message: `Brace yourselves for a quick snapshot, folks! 📸 Capturing the viewport in 3... 2... 1... 🚀💥`, - type: "is-warning is-size-6 p-3", - duration: 2000, - position: "top-center", - closeOnClick: true, - }); - await sleep(2000); - // Simulate a click to trigger the download - // Simulate a click to trigger the download - link.click(); - } else { - console.error( - "Canvas element for layer2-node is not found or is not a valid HTML canvas element.", - ); - } -} - - - -// aarafat-tag: -//// REFACTOR END - -// logMessagesPanel manager -///-logMessagesPanel Function to append message function -function appendMessage(message) { - // const textarea = document.getElementById('notificationTextarea'); - const textarea = document.getElementById("notificationTextarea"); - - // Get the current date and time - const timestamp = new Date().toLocaleString(); - - textarea.value += `[${timestamp}] ${message}\n`; - textarea.scrollTop = textarea.scrollHeight; -} - -function nodeFindDrawer(cy) { - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - //- Get a reference to your Cytoscape instance (assuming it's named 'cy') - //- const cy = window.cy; //- Replace 'window.cy' with your actual Cytoscape instance - //- Find the node with the specified name - const nodeName = document.getElementById( - "panelBlock-viewportButtons-buttonfindNode-divPanelBlock-columnContainerlabelFindNodeNodeName-panelContentlabelFindNodeNodeName-columnsPanelContentlabelFindNodeNodeName-labelColumnlabelFindNodeNodeName-inputColumnlabelFindNodeNodeName-labellabelFindNodeNodeName", - ).value; - - const node = cy.$(`node[name = "${nodeName}"]`); - //- Check if the node exists - //- Check if the node exists - if (node.length > 0) { - // console - // console - console.log("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - appendMessage("Info: " + 'Sweet! Node "' + nodeName + '" is in the house.'); - //- Apply a highlight style to the node - //- Apply a highlight style to the node - node.style({ - "border-color": "red", - "border-width": "2px", - "background-color": "yellow", - }); - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: node.position("x"), - y: node.position("y"), - }, - renderedPosition: { - x: node.renderedPosition("x"), - y: node.renderedPosition("y"), - }, - }, - duration: 1500, - }); - } else { - console.error( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - appendMessage( - `Bro, I couldn't find a node named "${nodeName}". Try another one.`, - ); - } -} - -function pathFinderDijkstraDrawer(cy) { - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - // Usage example: - // highlightShortestPath('node-a', 'node-b'); // Replace with your source and target node IDs - //- Function to get the default node style from cy-style.json - //- weight: (edge) => 1, // You can adjust the weight function if needed - //- weight: (edge) => edge.data('distance') - - console.log("im triggered"); - - // Remove existing highlight from all edges - // Remove existing highlight from all edges - cy.edges().forEach((edge) => { - edge.removeClass("spf"); - }); - - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - // Get the node sourceNodeId from pathFinderSourceNodeInput and targetNodeId from pathFinderTargetNodeInput - const sourceNodeId = document.getElementById( - "panelBlock-viewportButtons-buttonfindRoute-divPanelBlock-columnContainerlabelFindRouteSource-panelContentlabelFindRouteSource-columnsPanelContentlabelFindRouteSource-labelColumnlabelFindRouteSource-inputColumnlabelFindRouteSource-labellabelFindRouteSource", - ).value; - const targetNodeId = document.getElementById( - "panelBlock-viewportButtons-buttonfindRoute-divPanelBlock-columnContainerlabelFindRouteTarget-panelContentlabelFindRouteTarget-columnsPanelContentlabelFindRouteTarget-labelColumnlabelFindRouteTarget-inputColumnlabelFindRouteTarget-labellabelFindRouteTarget", - ).value; - - // Assuming you have 'cy' as your Cytoscape instance - // Assuming you have 'cy' as your Cytoscape instance - const sourceNode = cy.$(`node[id="${sourceNodeId}"]`); - const targetNode = cy.$(`node[id="${targetNodeId}"]`); - - console.log( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - appendMessage( - "Info: " + - "Let's find the path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - "!", - ); - - // Check if both nodes exist - // Check if both nodes exist - if (sourceNode.length === 0 || targetNode.length === 0) { - console.error( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - appendMessage( - `Bro, couldn't find the source or target node you specified. Double-check the node names.`, - ); - return; - } - - // Get the Dijkstra result with the shortest path - // Get the Dijkstra result with the shortest path - const dijkstraResult = cy.elements().dijkstra({ - root: sourceNode, - weight: (edge) => 1, - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - // Use the custom weight attribute - // weight: edge => edge.data('customWeight'), - }); - // Get the shortest path from Dijkstra result - // Get the shortest path from Dijkstra result - const shortestPathEdges = dijkstraResult.pathTo(targetNode); - console.log(shortestPathEdges); - - // Check if there is a valid path (shortestPathEdges is not empty) - // Check if there is a valid path (shortestPathEdges is not empty) - if (shortestPathEdges.length > 1) { - // Highlight the shortest path - // Highlight the shortest path - shortestPathEdges.forEach((edge) => { - edge.addClass("spf"); - }); - - //- Zoom out on the node - //- Zoom out on the node - cy.fit(); - - //- Zoom in on the node - //- Zoom in on the node - cy.animate({ - zoom: { - level: 5, - position: { - x: sourceNode.position("x"), - y: sourceNode.position("y"), - }, - renderedPosition: { - x: sourceNode.renderedPosition("x"), - y: sourceNode.renderedPosition("y"), - }, - }, - duration: 1500, - }); - // throw log - // throw log - console.log( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found.", - ); - appendMessage( - "Info: " + - "Yo, check it out! Shorthest Path from-" + - sourceNodeId + - "-to-" + - targetNodeId + - " has been found, below is the path trace..", - ); - console.log(shortestPathEdges); - - shortestPathEdges.forEach((edge) => { - console.log("Edge ID:", edge.id()); - console.log("Source Node ID:", edge.source().id()); - console.log("Target Node ID:", edge.target().id()); - - edgeId = edge.id(); - sourceNodeId = edge.source().id(); - targetNodeId = edge.target().id(); - // You can access other properties of the edge, e.g., source, target, data, etc. - // You can access other properties of the edge, e.g., source, target, data, etc. - - appendMessage("Info: " + "Edge ID: " + edgeId); - appendMessage("Info: " + "Source Node ID: " + sourceNodeId); - appendMessage("Info: " + "Target Node ID: " + targetNodeId); - }); - } else { - console.error( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - appendMessage( - `Bro, there is no path from "${sourceNodeId}" to "${targetNodeId}".`, - ); - return; - } -} - -// sleep funtion -function sleep(ms) { - return new Promise((resolve) => setTimeout(resolve, ms)); -} \ No newline at end of file