{"context":{"brandSettings":{"accentColor1":{"hex":"#ff6e26"},"accentColor2":{"hex":"#9966e5"},"accentColor3":null,"bodyFont":null,"colors":[{"hex":"#ffffff"},{"hex":"#42bfb0"},{"hex":"#ff6e26"},{"hex":"#9966e5"},{"hex":"#b0e2dc"},{"hex":"#f7c5ac"},{"hex":"#e6d5ff"},{"hex":"#E6F5F3"},{"hex":"#FAE9E1"},{"hex":"#E7E1F0"},{"hex":"#141414"}],"fallbackFont":null,"favicon":{"domain":null,"name":"visma-flyt-favicon.png","src":"https://143339701.fs1.hubspotusercontent-eu1.net/hubfs/143339701/Logo/Flyt-Logomark.png"},"favicons":[{"domain":null,"name":"visma-flyt-favicon.png","src":"https://143339701.fs1.hubspotusercontent-eu1.net/hubfs/143339701/Logo/Flyt-Logomark.png"}],"fonts":[],"logo":{"alt":"visma flyt logo","domain":null,"height":94,"link":"www.minflyt.no","name":"visma flyt logo","src":"https://143339701.fs1.hubspotusercontent-eu1.net/hubfs/143339701/Logo/flyt-logo.svg","width":140},"logos":[{"alt":"visma flyt logo","domain":null,"height":94,"link":"www.minflyt.no","name":"visma flyt logo","src":"https://143339701.fs1.hubspotusercontent-eu1.net/hubfs/143339701/Logo/flyt-logo.svg","width":140}],"primaryColor":{"hex":"#ffffff"},"primaryFavicon":{"domain":null,"name":"visma-flyt-favicon.png","src":"https://143339701.fs1.hubspotusercontent-eu1.net/hubfs/143339701/Logo/Flyt-Logomark.png"},"primaryFont":null,"primaryLogo":{"alt":"visma flyt logo","domain":null,"height":94,"link":"www.minflyt.no","name":"visma flyt logo","src":"https://143339701.fs1.hubspotusercontent-eu1.net/hubfs/143339701/Logo/flyt-logo.svg","width":140},"secondaryColor":{"hex":"#42bfb0"}},"menuData":{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Saksliste","level":1,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://kundeportal.minflyt.no/tickets","urlParamStr":"","urlWithoutAnchor":"https://kundeportal.minflyt.no/tickets"},{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Kunnskapsbase","level":1,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://kundeportal.minflyt.no/knowledge","urlParamStr":"","urlWithoutAnchor":"https://kundeportal.minflyt.no/knowledge"},{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":1,"children":[],"contentGroupId":null,"contentType":"site_page","errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Tilbake til Forsiden","level":1,"linkTarget":null,"live":true,"nodeType":2,"pageId":285262032111,"pageTitle":"Kundeportal","parentGuid":null,"slug":"","state":"PUBLISHED_OR_SCHEDULED","subcategory":"site_page","topLevelAncestorGuid":null,"url":"https://kundeportal.minflyt.no","urlParamStr":"","urlWithoutAnchor":"https://kundeportal.minflyt.no"},{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Min Profil","level":1,"linkTarget":"_blank","live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://accountsettings.connect.visma.com/","urlParamStr":"","urlWithoutAnchor":"https://accountsettings.connect.visma.com/"}],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":null,"level":0,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":null,"urlParamStr":"","urlWithoutAnchor":"null"},"themeSettings":{"bodyFont":{"casing":null,"color":null,"css":"","fallback":null,"font":null,"font_set":"DEFAULT","letter_spacing":null,"line_height":null,"size":null,"size_unit":null,"style":null,"styles":null,"variant":null},"primaryFont":{"casing":null,"color":null,"css":"","fallback":null,"font":null,"font_set":"DEFAULT","letter_spacing":null,"line_height":null,"size":null,"size_unit":null,"style":null,"styles":null,"variant":null},"trellisBorderRadius":"rounded","trellisColorFillPrimaryDefault":{"color":"#ffffff","css":"#ffffff","hex":"#ffffff","opacity":null,"rgb":"rgb(255, 255, 255)","rgba":"rgba(255, 255, 255, 1)"},"trellisColorFillSecondaryDefault":{"color":"#42bfb0","css":"#42bfb0","hex":"#42bfb0","opacity":null,"rgb":"rgb(66, 191, 176)","rgba":"rgba(66, 191, 176, 1)"},"trellisColorFillSurfaceDefault":"light","trellisColorFillTertiaryDefault":{"color":"#ff6e26","css":"#ff6e26","hex":"#ff6e26","opacity":null,"rgb":"rgb(255, 110, 38)","rgba":"rgba(255, 110, 38, 1)"},"trellisColorTextInteractiveDefault":{"color":"#666666","css":"#666666","hex":"#666666","opacity":null,"rgb":"rgb(102, 102, 102)","rgba":"rgba(102, 102, 102, 1)"}},"companyName":"Visma Flyt AS"},"modules":{},"dndAreas":{},"globalPartials":{},"headHtml":"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> \n<meta property=\"og:description\" content=\"\"> \n<meta property=\"og:title\" content=\"\"> \n<meta name=\"twitter:description\" content=\"\"> \n<meta name=\"twitter:title\" content=\"\"> \n<style>\na.cta_button{-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important;box-sizing:content-box !important;vertical-align:middle}.hs-breadcrumb-menu{list-style-type:none;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px}.hs-breadcrumb-menu-item{float:left;padding:10px 0px 10px 10px}.hs-breadcrumb-menu-divider:before{content:'›';padding-left:10px}.hs-featured-image-link{border:0}.hs-featured-image{float:right;margin:0 0 20px 20px;max-width:50%}@media (max-width: 568px){.hs-featured-image{float:none;margin:0;width:100%;max-width:100%}}.hs-screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}\n</style> \n<!--  Added by GoogleTagManager integration --> \n<script>\nvar _hsp = window._hsp = window._hsp || [];\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\n\nvar useGoogleConsentModeV2 = true;\nvar waitForUpdateMillis = 1000;\n\nif (useGoogleConsentModeV2) {\n\n  gtag('set','developer_id.dZTQ1Zm',true);\n\n  gtag('consent', 'default', {\n  'ad_storage': 'denied',\n  'analytics_storage': 'denied',\n  'ad_user_data': 'denied',\n  'ad_personalization': 'denied',\n  'wait_for_update': waitForUpdateMillis\n  });\n}\n\nvar hsLoadGtm = function loadGtm() {\n    if(window._hsGtmLoadOnce) {\n      return;\n    }\n\n    if (useGoogleConsentModeV2) {\n      _hsp.push(['useGoogleConsentModeV2'])\n    }\n\n    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n    })(window,document,'script','dataLayer','GTM-PCDXGBSS');\n\n    window._hsGtmLoadOnce = true;\n};\n\n_hsp.push(['addPrivacyConsentListener', function(consent){\n  if(consent.allowed || (consent.categories && consent.categories.analytics)){\n    hsLoadGtm();\n  }\n}]);\n\n</script> \n<!-- /Added by GoogleTagManager integration --> \n<link rel=\"canonical\" href=\"https://kundeportal.minflyt.no/hs/portals/customer-portal-app/brand\"> \n<script>\nfunction waitForHubSpotForm() {\n    var maxWaitTime = 5000; // Maximum waiting time in milliseconds (I've set this to 5 seconds here to save resources)\n    var checkIntervalTime = 100; // Interval time in milliseconds\n    var elapsed = 0; // Time elapsed since starting the checks\n\n    var checkInterval = setInterval(function() {\n        // Attempt to find a HubSpot form\n        var hubspotForms = document.querySelectorAll('.hs-form');\n        \n        if (hubspotForms.length > 0) {\n            // Once a form is detected, clear the interval to stop checking.\n            clearInterval(checkInterval);\n            \n            // Your logic to manipulate the form\n            setTimeout(setMetaValuesToForm, 1000);\n        } else if (elapsed >= maxWaitTime) {\n            // If the maximum wait time has been reached, stop checking\n            clearInterval(checkInterval);\n        }\n\n        elapsed += checkIntervalTime;\n    }, checkIntervalTime);\n}\n\nfunction setMetaValuesToForm() {\n    // Extracting content from the meta tags\n\tvar metaProductTag = document.querySelector('meta[name=\"products\"]');\n\tvar metaSectorTag = document.querySelector('meta[name=\"sector\"]');\n\n\t// Sjekk om taggene finnes før du prøver å hente 'content'\n\tvar metaProductContent = metaProductTag ? metaProductTag.getAttribute('content') : null;\n\tvar metaSectorContent = metaSectorTag ? metaSectorTag.getAttribute('content') : null;\n\n    // Initialize arrays for products and sectors\n    var metaProducts = [];\n    var metaSectors = [];\n\n    // Only process if metaProductContent is not null\n    if (metaProductContent) {\n        metaProducts = metaProductContent.split('|').map(function(product) {\n            return product.trim();\n        });\n    }\n\n    // Only process if metaSectorContent is not null\n    if (metaSectorContent) {\n        metaSectors = metaSectorContent.split('|').map(function(sector) {\n            return sector.trim();\n        });\n    }\n    \n    // Selecting the sector field\n    var sectorField = document.querySelector('input.hs-input[name=\"meta_tag_sector\"]');\n\n    // Selecting the product field\n    var productField = document.querySelector('input.hs-input[name=\"meta_tag_products\"]');\n    \n    // Assign the sector content to the hidden field\n    if (sectorField && metaSectorContent) {\n        sectorField.value = metaSectorContent;\n    }\n\n    // Assign the product content to the hidden field\n    if (productField && metaProductContent) {\n        productField.value = metaProductContent;\n    }\n\n    // Iterate over all checkboxes to find matches with metaProducts or metaSectors\n    document.querySelectorAll('.hs-form-checkbox input[type=\"checkbox\"]').forEach(function(checkbox) {\n        var checkboxProductName = checkbox.value.trim();\n\n        if (metaProducts.includes(checkboxProductName) || metaSectors.includes(checkboxProductName)) {\n            // If the product or sector name from the checkbox matches any in metaProducts or metaSectors, check it\n            checkbox.checked = true;\n        }\n    });\n  \n  \t// Hiding checkbox containers only if the corresponding label contains \"Produkt - form\" or \"Sektor - form\"\n    var productContainer = document.querySelector('.hs_produkt.hs-produkt.hs-fieldtype-checkbox.field.hs-form-field');\n    var productLabel = document.querySelector('.hs_produkt.hs-produkt label span');\n    if (productContainer && productLabel && productLabel.textContent.includes(\"Produkt - forms\")) {\n        productContainer.style.display = \"none\";\n    }\n\n    var sectorContainer = document.querySelector('.hs_sektor.hs-sektor.hs-fieldtype-checkbox.field.hs-form-field');\n    var sectorLabel = document.querySelector('.hs_sektor.hs-sektor label span');\n    if (sectorContainer && sectorLabel && sectorLabel.textContent.includes(\"Sektor - forms\")) {\n        sectorContainer.style.display = \"none\";\n    }\n}\n\n// Add the event listener correctly to wait for DOM content to load\ndocument.addEventListener('DOMContentLoaded', waitForHubSpotForm);\n</script> \n<!-- Storylane tracking script --> \n<script>\n    (function(){\n      \"use strict\";\n      function e(t){\n        var r = t.head;\n        if(!r) return;\n        var i = t.querySelector('script[src=\"https://js.storylane.io/js/v2/storylane.js\"]'),\n            n = t.querySelector('script[src=\"https://js.storylane.io/js/v1/storylane.js\"]');\n        if(i || n) return;\n        var s = t.createElement(\"script\");\n        s.type = \"text/javascript\";\n        s.async = true;\n        s.src = \"https://js.storylane.io/js/v2/storylane.js\";\n        r.appendChild(s);\n      }\n      e(window.document);\n    })();\n  </script> \n<meta property=\"og:url\" content=\"https://kundeportal.minflyt.no/hs/portals/customer-portal-app/brand\"> \n<meta http-equiv=\"content-language\" content=\"no\">","footerHtml":"<!-- HubSpot performance collection script --> \n<script defer src=\"/hs/hsstatic/content-cwv-embed/static-1.1293/embed.js\"></script> \n<!-- Start of HubSpot Analytics Code --> \n<script type=\"text/javascript\">\nvar _hsq = _hsq || [];\n_hsq.push([\"setContentType\", \"app-page\"]);\n_hsq.push([\"setCanonicalUrl\", \"https:\\/\\/kundeportal.minflyt.no\\/hs\\/portals\\/customer-portal-app\\/brand\"]);\n_hsq.push([\"setPageId\", \"465750780116\"]);\n_hsq.push([\"setContentMetadata\", {\n    \"contentPageId\": 465750780116,\n    \"legacyPageId\": \"465750780116\",\n    \"contentFolderId\": null,\n    \"contentGroupId\": null,\n    \"abTestId\": null,\n    \"languageVariantId\": 465750780116,\n    \"languageCode\": \"no\",\n    \n    \n}]);\n</script> \n<script type=\"text/javascript\" id=\"hs-script-loader\" async defer src=\"/hs/scriptloader/143339701.js\"></script> \n<!-- End of HubSpot Analytics Code --> \n<script type=\"text/javascript\">\nvar hsVars = {\n    render_id: \"3f128430-5366-4535-9408-15e9c4167de2\",\n    ticks: 1788539494377,\n    page_id: 465750780116,\n    \n    content_group_id: 0,\n    portal_id: 143339701,\n    app_hs_base_url: \"https://app-eu1.hubspot.com\",\n    cp_hs_base_url: \"https://cp-eu1.hubspot.com\",\n    language: \"no\",\n    analytics_page_type: \"app-page\",\n    scp_content_type: \"\",\n    \n    analytics_page_id: \"465750780116\",\n    category_id: 20,\n    folder_id: 0,\n    is_hubspot_user: false\n}\n</script> \n<script defer src=\"/hs/hsstatic/HubspotToolsMenu/static-1.640/js/index.js\"></script> \n<script type=\"application/ld+json\">\n{\n  \"@context\": \"https://schema.org\",\n  \"@graph\": [\n    {\n      \"@type\": \"Corporation\",\n      \"@id\": \"https://minflyt.no/#organization\",\n      \"name\": \"Visma Flyt AS\",\n      \"legalName\": \"Visma Flyt AS\",\n      \"url\": \"https://minflyt.no\",\n      \"description\": \"Innover offentlige tjenester med Visma Flyt AS sine effektive fagsystemer for helse, oppvekst og velferd. Forbedre arbeidsflyt, samarbeid og rapportering sømløst.\",\n      \"slogan\": \"Et bedre samfunn er vår drivkraft.\",\n      \"areaServed\": \"NO\",\n      \"logo\": {\n        \"@type\": \"ImageObject\",\n        \"@id\": \"https://minflyt.no/#logo\",\n        \"url\": \"https://minflyt.no/hubfs/visma-flyt-logo-web01.svg\"\n      },\n      \"address\": {\n        \"@type\": \"PostalAddress\",\n        \"streetAddress\": \"Karenslyst Allé 56\",\n        \"addressLocality\": \"Oslo\",\n        \"postalCode\": \"0277\",\n        \"addressCountry\": \"NO\"\n      },\n      \"parentOrganization\": {\n        \"@type\": \"Corporation\",\n        \"name\": \"Visma AS\",\n        \"url\": \"https://www.visma.no\"\n      },\n      \"sameAs\": [\n        \"https://www.facebook.com/vismaflyt/\",\n        \"https://www.linkedin.com/company/vismaflyt/\",\n        \"https://youtube.com/@vismaflytas\",\n        \"https://www.instagram.com/vismaflyt/\"\n      ],\n      \"contactPoint\": {\n        \"@type\": \"ContactPoint\",\n        \"contactType\": \"customer support\",\n        \"url\": \"https://minflyt.no/kontakt\",\n        \"availableLanguage\": [\"nb\", \"en\"]\n      }\n    },\n    {\n      \"@type\": \"WebSite\",\n      \"@id\": \"https://minflyt.no/#website\",\n      \"name\": \"Visma Flyt AS\",\n      \"url\": \"https://minflyt.no\",\n      \"inLanguage\": \"nb\",\n      \"publisher\": { \"@id\": \"https://minflyt.no/#organization\" },\n      \"potentialAction\": {\n        \"@type\": \"SearchAction\",\n        \"target\": {\n          \"@type\": \"EntryPoint\",\n          \"urlTemplate\": \"https://minflyt.no/hs-search-results?q={search_term_string}\"\n        },\n        \"query-input\": \"required name=search_term_string\"\n      },\n      \"copyrightHolder\": { \"@id\": \"https://minflyt.no/#organization\" }\n    },\n    {\n      \"@type\": \"WebPage\",\n      \"@id\": \"https://kundeportal.minflyt.no/hs/portals/customer-portal-app/brand#webpage\",\n      \"url\": \"https://kundeportal.minflyt.no/hs/portals/customer-portal-app/brand\",\n      \"name\": \"Visma Flyt AS\",\n      \"inLanguage\": \"nb\",\n      \"isPartOf\": { \"@id\": \"https://minflyt.no/#website\" },\n      \"description\": \"Skybaserte fagsystemer for helse, oppvekst og velferd i kommunal sektor.\"\n    }\n  ]\n}\n</script>","headElements":[{"tag":"meta","attributes":{"name":"viewport","content":"width=device-width, initial-scale=1"}},{"tag":"meta","attributes":{"property":"og:description","content":""}},{"tag":"meta","attributes":{"property":"og:title","content":""}},{"tag":"meta","attributes":{"name":"twitter:description","content":""}},{"tag":"meta","attributes":{"name":"twitter:title","content":""}},{"tag":"style","children":[{"tag":"#text","text":"a.cta_button{-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important;box-sizing:content-box !important;vertical-align:middle}.hs-breadcrumb-menu{list-style-type:none;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px}.hs-breadcrumb-menu-item{float:left;padding:10px 0px 10px 10px}.hs-breadcrumb-menu-divider:before{content:'›';padding-left:10px}.hs-featured-image-link{border:0}.hs-featured-image{float:right;margin:0 0 20px 20px;max-width:50%}@media (max-width: 568px){.hs-featured-image{float:none;margin:0;width:100%;max-width:100%}}.hs-screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}"}]},{"tag":"script","children":[{"tag":"#text","text":"var _hsp = window._hsp = window._hsp || [];\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\n\nvar useGoogleConsentModeV2 = true;\nvar waitForUpdateMillis = 1000;\n\nif (useGoogleConsentModeV2) {\n\n  gtag('set','developer_id.dZTQ1Zm',true);\n\n  gtag('consent', 'default', {\n  'ad_storage': 'denied',\n  'analytics_storage': 'denied',\n  'ad_user_data': 'denied',\n  'ad_personalization': 'denied',\n  'wait_for_update': waitForUpdateMillis\n  });\n}\n\nvar hsLoadGtm = function loadGtm() {\n    if(window._hsGtmLoadOnce) {\n      return;\n    }\n\n    if (useGoogleConsentModeV2) {\n      _hsp.push(['useGoogleConsentModeV2'])\n    }\n\n    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n    })(window,document,'script','dataLayer','GTM-PCDXGBSS');\n\n    window._hsGtmLoadOnce = true;\n};\n\n_hsp.push(['addPrivacyConsentListener', function(consent){\n  if(consent.allowed || (consent.categories && consent.categories.analytics)){\n    hsLoadGtm();\n  }\n}]);"}]},{"tag":"link","attributes":{"rel":"canonical","href":"https://kundeportal.minflyt.no/hs/portals/customer-portal-app/brand"}},{"tag":"script","children":[{"tag":"#text","text":"function waitForHubSpotForm() {\n    var maxWaitTime = 5000; // Maximum waiting time in milliseconds (I've set this to 5 seconds here to save resources)\n    var checkIntervalTime = 100; // Interval time in milliseconds\n    var elapsed = 0; // Time elapsed since starting the checks\n\n    var checkInterval = setInterval(function() {\n        // Attempt to find a HubSpot form\n        var hubspotForms = document.querySelectorAll('.hs-form');\n        \n        if (hubspotForms.length > 0) {\n            // Once a form is detected, clear the interval to stop checking.\n            clearInterval(checkInterval);\n            \n            // Your logic to manipulate the form\n            setTimeout(setMetaValuesToForm, 1000);\n        } else if (elapsed >= maxWaitTime) {\n            // If the maximum wait time has been reached, stop checking\n            clearInterval(checkInterval);\n        }\n\n        elapsed += checkIntervalTime;\n    }, checkIntervalTime);\n}\n\nfunction setMetaValuesToForm() {\n    // Extracting content from the meta tags\n\tvar metaProductTag = document.querySelector('meta[name=\"products\"]');\n\tvar metaSectorTag = document.querySelector('meta[name=\"sector\"]');\n\n\t// Sjekk om taggene finnes før du prøver å hente 'content'\n\tvar metaProductContent = metaProductTag ? metaProductTag.getAttribute('content') : null;\n\tvar metaSectorContent = metaSectorTag ? metaSectorTag.getAttribute('content') : null;\n\n    // Initialize arrays for products and sectors\n    var metaProducts = [];\n    var metaSectors = [];\n\n    // Only process if metaProductContent is not null\n    if (metaProductContent) {\n        metaProducts = metaProductContent.split('|').map(function(product) {\n            return product.trim();\n        });\n    }\n\n    // Only process if metaSectorContent is not null\n    if (metaSectorContent) {\n        metaSectors = metaSectorContent.split('|').map(function(sector) {\n            return sector.trim();\n        });\n    }\n    \n    // Selecting the sector field\n    var sectorField = document.querySelector('input.hs-input[name=\"meta_tag_sector\"]');\n\n    // Selecting the product field\n    var productField = document.querySelector('input.hs-input[name=\"meta_tag_products\"]');\n    \n    // Assign the sector content to the hidden field\n    if (sectorField && metaSectorContent) {\n        sectorField.value = metaSectorContent;\n    }\n\n    // Assign the product content to the hidden field\n    if (productField && metaProductContent) {\n        productField.value = metaProductContent;\n    }\n\n    // Iterate over all checkboxes to find matches with metaProducts or metaSectors\n    document.querySelectorAll('.hs-form-checkbox input[type=\"checkbox\"]').forEach(function(checkbox) {\n        var checkboxProductName = checkbox.value.trim();\n\n        if (metaProducts.includes(checkboxProductName) || metaSectors.includes(checkboxProductName)) {\n            // If the product or sector name from the checkbox matches any in metaProducts or metaSectors, check it\n            checkbox.checked = true;\n        }\n    });\n  \n  \t// Hiding checkbox containers only if the corresponding label contains \"Produkt - form\" or \"Sektor - form\"\n    var productContainer = document.querySelector('.hs_produkt.hs-produkt.hs-fieldtype-checkbox.field.hs-form-field');\n    var productLabel = document.querySelector('.hs_produkt.hs-produkt label span');\n    if (productContainer && productLabel && productLabel.textContent.includes(\"Produkt - forms\")) {\n        productContainer.style.display = \"none\";\n    }\n\n    var sectorContainer = document.querySelector('.hs_sektor.hs-sektor.hs-fieldtype-checkbox.field.hs-form-field');\n    var sectorLabel = document.querySelector('.hs_sektor.hs-sektor label span');\n    if (sectorContainer && sectorLabel && sectorLabel.textContent.includes(\"Sektor - forms\")) {\n        sectorContainer.style.display = \"none\";\n    }\n}\n\n// Add the event listener correctly to wait for DOM content to load\ndocument.addEventListener('DOMContentLoaded', waitForHubSpotForm);"}]},{"tag":"script","children":[{"tag":"#text","text":"(function(){\n      \"use strict\";\n      function e(t){\n        var r = t.head;\n        if(!r) return;\n        var i = t.querySelector('script[src=\"https://js.storylane.io/js/v2/storylane.js\"]'),\n            n = t.querySelector('script[src=\"https://js.storylane.io/js/v1/storylane.js\"]');\n        if(i || n) return;\n        var s = t.createElement(\"script\");\n        s.type = \"text/javascript\";\n        s.async = true;\n        s.src = \"https://js.storylane.io/js/v2/storylane.js\";\n        r.appendChild(s);\n      }\n      e(window.document);\n    })();"}]},{"tag":"meta","attributes":{"property":"og:url","content":"https://kundeportal.minflyt.no/hs/portals/customer-portal-app/brand"}},{"tag":"meta","attributes":{"http-equiv":"content-language","content":"no"}}],"footerElements":[{"tag":"script","attributes":{"defer":"","src":"/hs/hsstatic/content-cwv-embed/static-1.1293/embed.js"}},{"tag":"script","children":[{"tag":"#text","text":"var _hsq = _hsq || [];\n_hsq.push([\"setContentType\", \"app-page\"]);\n_hsq.push([\"setCanonicalUrl\", \"https:\\/\\/kundeportal.minflyt.no\\/hs\\/portals\\/customer-portal-app\\/brand\"]);\n_hsq.push([\"setPageId\", \"465750780116\"]);\n_hsq.push([\"setContentMetadata\", {\n    \"contentPageId\": 465750780116,\n    \"legacyPageId\": \"465750780116\",\n    \"contentFolderId\": null,\n    \"contentGroupId\": null,\n    \"abTestId\": null,\n    \"languageVariantId\": 465750780116,\n    \"languageCode\": \"no\",\n    \n    \n}]);"}],"attributes":{"type":"text/javascript"}},{"tag":"script","id":"hs-script-loader","attributes":{"async":"","defer":"","src":"/hs/scriptloader/143339701.js","type":"text/javascript"}},{"tag":"script","children":[{"tag":"#text","text":"var hsVars = {\n    render_id: \"3f128430-5366-4535-9408-15e9c4167de2\",\n    ticks: 1788539494377,\n    page_id: 465750780116,\n    \n    content_group_id: 0,\n    portal_id: 143339701,\n    app_hs_base_url: \"https://app-eu1.hubspot.com\",\n    cp_hs_base_url: \"https://cp-eu1.hubspot.com\",\n    language: \"no\",\n    analytics_page_type: \"app-page\",\n    scp_content_type: \"\",\n    \n    analytics_page_id: \"465750780116\",\n    category_id: 20,\n    folder_id: 0,\n    is_hubspot_user: false\n}"}],"attributes":{"type":"text/javascript"}},{"tag":"script","attributes":{"defer":"","src":"/hs/hsstatic/HubspotToolsMenu/static-1.640/js/index.js"}},{"tag":"script","children":[{"tag":"#text","text":"{\n  \"@context\": \"https://schema.org\",\n  \"@graph\": [\n    {\n      \"@type\": \"Corporation\",\n      \"@id\": \"https://minflyt.no/#organization\",\n      \"name\": \"Visma Flyt AS\",\n      \"legalName\": \"Visma Flyt AS\",\n      \"url\": \"https://minflyt.no\",\n      \"description\": \"Innover offentlige tjenester med Visma Flyt AS sine effektive fagsystemer for helse, oppvekst og velferd. Forbedre arbeidsflyt, samarbeid og rapportering sømløst.\",\n      \"slogan\": \"Et bedre samfunn er vår drivkraft.\",\n      \"areaServed\": \"NO\",\n      \"logo\": {\n        \"@type\": \"ImageObject\",\n        \"@id\": \"https://minflyt.no/#logo\",\n        \"url\": \"https://minflyt.no/hubfs/visma-flyt-logo-web01.svg\"\n      },\n      \"address\": {\n        \"@type\": \"PostalAddress\",\n        \"streetAddress\": \"Karenslyst Allé 56\",\n        \"addressLocality\": \"Oslo\",\n        \"postalCode\": \"0277\",\n        \"addressCountry\": \"NO\"\n      },\n      \"parentOrganization\": {\n        \"@type\": \"Corporation\",\n        \"name\": \"Visma AS\",\n        \"url\": \"https://www.visma.no\"\n      },\n      \"sameAs\": [\n        \"https://www.facebook.com/vismaflyt/\",\n        \"https://www.linkedin.com/company/vismaflyt/\",\n        \"https://youtube.com/@vismaflytas\",\n        \"https://www.instagram.com/vismaflyt/\"\n      ],\n      \"contactPoint\": {\n        \"@type\": \"ContactPoint\",\n        \"contactType\": \"customer support\",\n        \"url\": \"https://minflyt.no/kontakt\",\n        \"availableLanguage\": [\"nb\", \"en\"]\n      }\n    },\n    {\n      \"@type\": \"WebSite\",\n      \"@id\": \"https://minflyt.no/#website\",\n      \"name\": \"Visma Flyt AS\",\n      \"url\": \"https://minflyt.no\",\n      \"inLanguage\": \"nb\",\n      \"publisher\": { \"@id\": \"https://minflyt.no/#organization\" },\n      \"potentialAction\": {\n        \"@type\": \"SearchAction\",\n        \"target\": {\n          \"@type\": \"EntryPoint\",\n          \"urlTemplate\": \"https://minflyt.no/hs-search-results?q={search_term_string}\"\n        },\n        \"query-input\": \"required name=search_term_string\"\n      },\n      \"copyrightHolder\": { \"@id\": \"https://minflyt.no/#organization\" }\n    },\n    {\n      \"@type\": \"WebPage\",\n      \"@id\": \"https://kundeportal.minflyt.no/hs/portals/customer-portal-app/brand#webpage\",\n      \"url\": \"https://kundeportal.minflyt.no/hs/portals/customer-portal-app/brand\",\n      \"name\": \"Visma Flyt AS\",\n      \"inLanguage\": \"nb\",\n      \"isPartOf\": { \"@id\": \"https://minflyt.no/#website\" },\n      \"description\": \"Skybaserte fagsystemer for helse, oppvekst og velferd i kommunal sektor.\"\n    }\n  ]\n}"}],"attributes":{"type":"application/ld+json"}}]}