{"id":103972,"date":"2020-04-04T16:57:05","date_gmt":"2020-04-04T14:57:05","guid":{"rendered":"https:\/\/my-moment.fr\/?page_id=103972"},"modified":"2026-10-02T16:32:06","modified_gmt":"2026-10-02T14:32:06","slug":"reservation-en-ligne-2","status":"publish","type":"page","link":"https:\/\/my-moment.fr\/?page_id=103972","title":{"rendered":"R\u00e9servation &#038; Tarifs"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<div id=\"myContainerId\"><\/div>\n<script>\nvar container = document.getElementById('myContainerId');\nwindow.planity = {key: '-MBJtNVzeWKsJtiJ9qTD',\n    primaryColor: '#fff',\n    container: container,\n    options: {}\n};\n<\/script>\n<script src=\"https:\/\/d2skjte8udjqxw.cloudfront.net\/widget\/production\/2\/polyfills.latest.js\"><\/script>\n<script src=\"https:\/\/d2skjte8udjqxw.cloudfront.net\/widget\/production\/2\/app.latest.js\"><\/script>\n<script>\n(function () {\n\n    function addPlanityAnchors() {\n\n        const headings = document.querySelectorAll('#planitywl h3');\n\n        headings.forEach(function (heading) {\n\n            const title = heading.textContent.trim().toLowerCase();\n\n            if (title === 'beaut\u00e9 des ongles') {\n                heading.id = 'beaute-ongles';\n            }\n\n            if (title === 'beaut\u00e9 du regard') {\n                heading.id = 'beaute-regard';\n            }\n\n        });\n\n        \/\/ Si la page a \u00e9t\u00e9 ouverte avec une ancre,\n        \/\/ on descend jusqu'\u00e0 la cat\u00e9gorie une fois Planity charg\u00e9.\n        if (\n            window.location.hash === '#beaute-ongles' ||\n            window.location.hash === '#beaute-regard'\n        ) {\n            const target = document.querySelector(window.location.hash);\n\n            if (target) {\n                setTimeout(function () {\n                    target.scrollIntoView({\n                        behavior: 'smooth',\n                        block: 'start'\n                    });\n                }, 200);\n            }\n        }\n    }\n\n    \/\/ Planity \u00e9tant charg\u00e9 dynamiquement, on attend son apparition\n    const observer = new MutationObserver(function () {\n        const planity = document.getElementById('planitywl');\n\n        if (planity) {\n            addPlanityAnchors();\n        }\n    });\n\n    observer.observe(document.body, {\n        childList: true,\n        subtree: true\n    });\n\n    addPlanityAnchors();\n\n})();\n<\/script>\n<script>\n(function () {\n\n    const categories = {\n        ongles: 'Beaut\u00e9 des Ongles',\n        regard: 'Beaut\u00e9 du Regard'\n    };\n\n    const params = new URLSearchParams(window.location.search);\n    const categorie = params.get('categorie');\n    const titreRecherche = categories[categorie];\n\n    \/\/ Pas de cat\u00e9gorie demand\u00e9e => affichage normal de tout Planity\n    if (!titreRecherche) return;\n\n    function normalize(str) {\n        return (str || '')\n            .normalize('NFD')\n            .replace(\/[\\u0300-\\u036f]\/g, '')\n            .replace(\/\\s+\/g, ' ')\n            .trim()\n            .toLowerCase();\n    }\n\n    function findTextNode(root, text) {\n        const wanted = normalize(text);\n\n        const walker = document.createTreeWalker(\n            root,\n            NodeFilter.SHOW_TEXT\n        );\n\n        let node;\n\n        while ((node = walker.nextNode())) {\n            if (normalize(node.nodeValue) === wanted) {\n                return node;\n            }\n        }\n\n        return null;\n    }\n\n    function filterPlanity() {\n\n        const root = document.getElementById('planitywl');\n\n        if (!root) return false;\n\n        const textNode = findTextNode(root, titreRecherche);\n\n        if (!textNode) return false;\n\n        const titleElement = textNode.parentElement;\n\n        \/*\n         * On remonte dans le DOM jusqu'au niveau o\u00f9 plusieurs\n         * groupes de prestations Planity sont fr\u00e8res.\n         *\/\n        let current = titleElement;\n\n        while (current && current !== root) {\n\n            const parent = current.parentElement;\n\n            if (!parent) break;\n\n            const groups = [...parent.children].filter(el =>\n                el.querySelector &&\n                el.querySelector('li.planity_ui_item-list-element')\n            );\n\n            if (groups.length >= 2) {\n\n                const selectedGroup = groups.find(el =>\n                    el.contains(titleElement)\n                );\n\n                if (selectedGroup) {\n\n                    groups.forEach(group => {\n                        group.style.display =\n                            group === selectedGroup ? '' : 'none';\n                    });\n\n                    \/\/ Descendre jusqu'\u00e0 la cat\u00e9gorie s\u00e9lectionn\u00e9e\n                    setTimeout(() => {\n                        selectedGroup.scrollIntoView({\n                            behavior: 'smooth',\n                            block: 'start'\n                        });\n                    }, 100);\n\n                    console.log(\n                        'Planity filtr\u00e9 sur :',\n                        titreRecherche\n                    );\n\n                    return true;\n                }\n            }\n\n            current = parent;\n        }\n\n        return false;\n    }\n\n    \/*\n     * Planity construit son interface dynamiquement.\n     * On attend donc que les cat\u00e9gories existent r\u00e9ellement.\n     *\/\n    if (filterPlanity()) return;\n\n    const observer = new MutationObserver(() => {\n\n        if (filterPlanity()) {\n            observer.disconnect();\n        }\n\n    });\n\n    observer.observe(document.body, {\n        childList: true,\n        subtree: true\n    });\n\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"footnotes":""},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P9cFxs-r2Y","_links":{"self":[{"href":"https:\/\/my-moment.fr\/index.php?rest_route=\/wp\/v2\/pages\/103972"}],"collection":[{"href":"https:\/\/my-moment.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/my-moment.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/my-moment.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/my-moment.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=103972"}],"version-history":[{"count":18,"href":"https:\/\/my-moment.fr\/index.php?rest_route=\/wp\/v2\/pages\/103972\/revisions"}],"predecessor-version":[{"id":144541,"href":"https:\/\/my-moment.fr\/index.php?rest_route=\/wp\/v2\/pages\/103972\/revisions\/144541"}],"wp:attachment":[{"href":"https:\/\/my-moment.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=103972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}