https://adriasolapastor.com/wp-content/plugins/nextbricks/elements/js/next_cookies.min.js?ver=1.10.1
1if(!window.location.href.includes("brickspreview")){window.addEventListener("load",function(){next_cookies_front()})} 2function next_cookies_front(){var cookies=document.querySelector(".next-cookies");if(!cookies)return;let notification=cookies.querySelector(".next-cookies__notification");function openNotification(){notification.setAttribute("data-opened","")} 3function closeNotification(){notification.removeAttribute("data-opened")} 4if(!CookieConsent.validConsent()){openNotification()} 5const config={root:cookies,autoShow:!1,disablePageInteraction:cookies.getAttribute("data-block-site")==="1",cookie:{name:cookies.getAttribute("data-cookie-name"),expiresAfterDays:parseFloat(cookies.getAttribute("data-expires-after"))},guiOptions:{preferencesModal:{layout:cookies.getAttribute("data-type"),position:cookies.getAttribute("data-position"),equalWeightButtons:!0,flipButtons:!1}},categories:{necessary:{enabled:!0,readOnly:!0}},language:{default:"custom",translations:{custom:{preferencesModal:{title:cookies.getAttribute("data-title-text"),acceptAllBtn:cookies.getAttribute("data-accept-button-text"),acceptNecessaryBtn:cookies.getAttribute("data-reject-button-text"),savePreferencesBtn:cookies.getAttribute("data-save-button-text"),closeIconLabel:"Close modal",sections:[{title:cookies.getAttribute("data-necessary-category-title"),description:cookies.getAttribute("data-necessary-category-description"),linkedCategory:"necessary"}],},},},},onConsent:({})=>{closeNotification()},};var categoriesList=cookies.querySelector(".next-categories-list");if(categoriesList){const nameAttr=categoriesList.getAttribute("data-name");const titleAttr=categoriesList.getAttribute("data-title");const descriptionAttr=categoriesList.getAttribute("data-description");const enabledAttr=categoriesList.getAttribute("data-enabled");const readOnlyAttr=categoriesList.getAttribute("data-read-only");if(nameAttr){const names=nameAttr.split("d4511782");const titles=titleAttr?titleAttr.split("d4511782"):Array(names.length).fill("");const descriptions=descriptionAttr?descriptionAttr.split("d4511782"):Array(names.length).fill("");const enabledValues=enabledAttr?enabledAttr.split("d4511782"):Array(names.length).fill("0");const readOnlyValues=readOnlyAttr?readOnlyAttr.split("d4511782"):Array(names.length).fill("0");for(let i=0;i<names.length;i++){if(names[i]!=="unset"){config.categories[names[i]]={enabled:enabledValues[i]==="1",readOnly:readOnlyValues[i]==="1"};config.language.translations.custom.preferencesModal.sections.push({title:titles[i]!=="unset"?titles[i]:names[i],description:descriptions[i]!=="unset"?descriptions[i]:"",linkedCategory:names[i]})}}}} 6CookieConsent.run(config)} 7function next_cookies(){var cookies=document.querySelector(".next-cookies");if(!cookies)return;let notification=cookies.querySelector(".next-cookies__notification");cookies.querySelector(".next-cookies__manage").removeAttribute("data-cc");cookies.querySelector(".next-cookies__allow").removeAttribute("data-cc");function openNotification(){notification.setAttribute("data-opened","")} 8function closeNotification(){notification.removeAttribute("data-opened")} 9const config={root:cookies,autoShow:!1,disablePageInteraction:cookies.getAttribute("data-block-site")==="1",cookie:{name:cookies.getAttribute("data-cookie-name"),expiresAfterDays:parseFloat(cookies.getAttribute("data-expires-after"))},guiOptions:{preferencesModal:{layout:cookies.getAttribute("data-type"),position:cookies.getAttribute("data-position"),equalWeightButtons:!0,flipButtons:!1}},categories:{necessary:{enabled:!0,readOnly:!0}},language:{default:"custom",translations:{custom:{preferencesModal:{title:cookies.getAttribute("data-title-text"),acceptAllBtn:cookies.getAttribute("data-accept-button-text"),acceptNecessaryBtn:cookies.getAttribute("data-reject-button-text"),savePreferencesBtn:cookies.getAttribute("data-save-button-text"),closeIconLabel:"Close modal",sections:[{title:cookies.getAttribute("data-necessary-category-title"),description:cookies.getAttribute("data-necessary-category-description"),linkedCategory:"necessary"}],},},},},onConsent:({})=>{closeNotification()},};var categoriesList=cookies.querySelector(".next-categories-list");if(categoriesList){const nameAttr=categoriesList.getAttribute("data-name");const titleAttr=categoriesList.getAttribute("data-title");const descriptionAttr=categoriesList.getAttribute("data-description");const enabledAttr=categoriesList.getAttribute("data-enabled");const readOnlyAttr=categoriesList.getAttribute("data-read-only");if(nameAttr){const names=nameAttr.split("d4511782");const titles=titleAttr?titleAttr.split("d4511782"):[];const descriptions=descriptionAttr?descriptionAttr.split("d4511782"):[];const enabledValues=enabledAttr?enabledAttr.split("d4511782"):[];const readOnlyValues=readOnlyAttr?readOnlyAttr.split("d4511782"):[];for(let i=0;i<names.length;i++){if(names[i]!=="unset"){config.categories[names[i]]={enabled:enabledValues[i]==="1",readOnly:readOnlyValues[i]==="1"};config.language.translations.custom.preferencesModal.sections.push({title:titles[i]!=="unset"?titles[i]:names[i],description:descriptions[i]!=="unset"?descriptions[i]:"",linkedCategory:names[i]})}}}} 10CookieConsent.run(config);
10if(cookies.getAttribute("data-open-notification")==="1"){openNotification()} 11if(cookies.getAttribute("data-open-preferences")==="1"){CookieConsent.showPreferences()}} 12if(window.location.href.includes("brickspreview")){document.addEventListener("DOMContentLoaded",function(t){bricksIsFrontend&&next_cookies()})}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.