{"id":4693,"date":"2025-11-19T14:24:26","date_gmt":"2025-11-19T13:24:26","guid":{"rendered":"https:\/\/www.vigiclim.exelys.io\/?page_id=4693"},"modified":"2026-04-01T14:36:32","modified_gmt":"2026-04-01T12:36:32","slug":"vigilances","status":"publish","type":"page","link":"https:\/\/www.vigiclim.exelys.io\/index.php\/vigilances\/","title":{"rendered":"Vigilances"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1256.6px;margin-left: calc(-3% \/ 2 );margin-right: calc(-3% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-spacing-right-large:1.455%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.455%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.455%;--awb-spacing-left-medium:1.455%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.455%;--awb-spacing-left-small:1.455%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><iframe id=\"sodexam-widget-iframe\" style=\"width: 100%; min-height: 600px; border: none; overflow: hidden;\"\n\tscrolling=\"no\" srcdoc='\n<html class=\"ion-palette-dark\">\n<head>\n    <script>\n        window.WIDGET_ASSETS_BASE_URL = \"\/wp-content\/uploads\/widgets\/ivory-coast\/\";\n    <\/script>\n    <link rel=\"stylesheet\" href=\"\/wp-content\/uploads\/widgets\/ivory-coast\/styles.css\">\n    <style>\n        html, body {\n            margin: 0;\n            padding: 0;\n            width: 100%;\n            display: flex;\n            align-items: flex-start;\n            justify-content: center;\n        }\n        .container {\n            width: 100%;\n            padding: 0;\n            background: #fff;\n            height: auto; \n            box-sizing: border-box;\n        }\n\n        ivory-coast-warning {\n            display: block;\n            height: auto;\n            min-height: 600px;\n            width: 100%;\n        }\n    <\/style>\n<\/head>\n<body>\n    <div class=\"container\" id=\"widget-container\">\n        <ivory-coast-warning \n              id=\"my-widget\" \n              area-id=\"-1\" lang=\"fr\" \n              assets-base-url=\"\/wp-content\/uploads\/widgets\/ivory-coast\/\"\n              style=\"display: block;\">\n        <\/ivory-coast-warning>\n    <\/div>\n\n    <script>\n        try {\n            const urlParams = new URLSearchParams(window.parent.location.search);\n            const idAreaFromUrl = urlParams.get(\"idArea\");            \n            if (idAreaFromUrl) {\n                document.getElementById(\"my-widget\").setAttribute(\"area-id\", idAreaFromUrl);\n            }\n        } catch(e) {}\n\n        try {\n            const container = document.getElementById(\"widget-container\");\n            let lastHeight = 0;\n            \n            const observer = new ResizeObserver((entries) => {\n                for (let entry of entries) {\n                    const currentHeight = entry.target.offsetHeight;\n                    \n                    if (Math.abs(currentHeight - lastHeight) > 5) {\n                        lastHeight = currentHeight;\n                        \n                        window.parent.postMessage({\n                            type: \"resize-sodexam-iframe\",\n                            height: currentHeight - 40\n                        }, \"*\");\n                    }\n                }\n            });\n            \n            observer.observe(container);\n            \n        } catch(e) {\n            console.warn(\"ResizeObserver non support\u00e9\", e);\n        }\n\n        window.addEventListener(\"message\", function(event) {\n            if (event.data && event.data.type === \"set-theme\") {\n                const isDark = event.data.theme === \"dark\";\n                \n                if (isDark) {\n                    document.documentElement.classList.add(\"ion-palette-dark\");\n                } else {\n                    document.documentElement.classList.remove(\"ion-palette-dark\");\n                }\n            }\n        });\n    <\/script>\n    <script src=\"\/wp-content\/uploads\/widgets\/ivory-coast\/ivory-coast-widgets.js\"><\/script>\n<\/body>\n<\/html>'><\/iframe>\n\n<script>\n\twindow.addEventListener(\"message\", function (event) {\n\t\tif (event.data && event.data.type === \"resize-sodexam-iframe\") {\n\t\t\tconst iframe = document.getElementById(\"sodexam-widget-iframe\");\n\t\t\tif (iframe) {\n\t\t\t\tiframe.style.height = (event.data.height + 25) + \"px\";\n\t\t\t}\n\t\t}\n\t});\n\n\tconst bodyObserver = new MutationObserver(function (mutations) {\n\t\tmutations.forEach(function (mutation) {\n\t\t\tif (mutation.attributeName === \"class\") {\n\t\t\t\tconst isDark = document.documentElement.classList.contains(\"darkify_dark_mode_enabled\")\n\t\t\t\tconst iframe = document.getElementById(\"sodexam-widget-iframe\");\n\t\t\t\tif (iframe && iframe.contentWindow) {\n\t\t\t\t\tiframe.contentWindow.postMessage({\n\t\t\t\t\t\ttype: \"set-theme\",\n\t\t\t\t\t\ttheme: isDark ? \"dark\" : \"light\"\n\t\t\t\t\t}, \"*\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n<\/script>\n<style>\n\t#sodexam-widget-iframe {\n\t\twidth: 70vw;\n\t}\n\n\thtml,\n\tbody {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n<\/style><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;margin-top:15px;margin-bottom:15px;width:100%;\"><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"100-width.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-4693","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.vigiclim.exelys.io\/index.php\/wp-json\/wp\/v2\/pages\/4693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vigiclim.exelys.io\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vigiclim.exelys.io\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vigiclim.exelys.io\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vigiclim.exelys.io\/index.php\/wp-json\/wp\/v2\/comments?post=4693"}],"version-history":[{"count":9,"href":"https:\/\/www.vigiclim.exelys.io\/index.php\/wp-json\/wp\/v2\/pages\/4693\/revisions"}],"predecessor-version":[{"id":4916,"href":"https:\/\/www.vigiclim.exelys.io\/index.php\/wp-json\/wp\/v2\/pages\/4693\/revisions\/4916"}],"wp:attachment":[{"href":"https:\/\/www.vigiclim.exelys.io\/index.php\/wp-json\/wp\/v2\/media?parent=4693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}