// flowcertapi
tarteaucitron.services.flowcert = {
    "key": "flowcert",
    "type": "api",
    "name": "Flowcert (Js API)",
    "uri": "https://www.flocert.net/privacy-policy/",
    "needConsent": true,
    "cookies": [],
    "js": function () {
        "use strict";
        tarteaucitron.addScript('https://www.flocert.net/customer-search-embed.js');
        tarteaucitron.fallback(['flowcertembed-canvas'], function (x) {
            var customid = x.getAttribute('data-site-id');
        });
    },
    "fallback": function () {
        "use strict";
        var id = 'flowcert';
        tarteaucitron.fallback(['flowcertembed-canvas'], function (elem) {
          return tarteaucitron.engage(id);
        });
    }
};