PageSourceSearch

https://biolyse.com/wp-content/plugins/cm4all-wordpress/dist/custo…/customizer-preview.min.js?ver=1790856901

js biolyse.com collected 2026-10-05 23:24:50 UTC 7,573 bytes, 2 lines download raw bytes

1!function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=t(cm4all_wordpress_debug);function n(e,t){return Array.from(t.matchAll(/[^\/#]+/g)).flat().reduce(((e,t)=>function(e){let t,o=e[0],n=1;for(;n<e.length;){const s=e[n],l=e[n+1];if(n+=2,("optionalAccess"===s||"optionalCall"===s)&&null==o)return;"access"===s||"optionalAccess"===s?(t=o,o=l(o)):"call"!==s&&"optionalCall"!==s||(o=l(((...e)=>o.call(t,...e))),t=void 0)}return o}([e,"optionalAccess",e=>e[t]])),e)}function s(e,t,o){let n=e;for(let s=0;s<o.steps;s++)n=parseFloat(n*o.scale),n="px"===t?Math.round(n):n.toFixed(2);return n}function l(e,t=Object.values(window.snippet_library)){for(const o of t)for(const t of o.snippets)if(t.id===e)return t;return{}}const c={css:"<style>(.*)</style>",js:"<script>(.*)<\/script>"};function i(e,t){const o=e.type.split("+");for(const n of o){let s="";if(1===o.length)s=e.value.global;else{s=new RegExp(c[n]).exec(e.value.global)[1]}let l=null;"css"===n?(l=document.createElement("style"),l.id="cm4all-code-snippet-"+e.id+"-inline-css",l.styleSheet?l.styleSheet.cssText=s:l.appendChild(document.createTextNode(s))):"js"===n&&(l=document.createElement("script"),l.id="cm4all-code-snippet-"+e.id+"-js-after",l.type="text/javascript",l.innerHTML=s),t.getElementsByTagName("head")[0].appendChild(l)}}function a(e,t){const o=t.querySelectorAll(`style[id^="cm4all-code-snippet-${e}"],script[id^="cm4all-code-snippet-${e}"]`);for(const n of o)n.parentNode.removeChild(n)}function r(e){let t,o=e[0],n=1;for(;n<e.length;){const s=e[n],l=e[n+1];if(n+=2,("optionalAccess"===s||"optionalCall"===s)&&null==o)return;"access"===s||"optionalAccess"===s?(t=o,o=l(o)):"call"!==s&&"optionalCall"!==s||(o=l(((...e)=>o.call(t,...e))),t=void 0)}return o}const m=o.default("cm4all-customizer");function u(e){return"string"==typeof e&&e.startsWith("trinity-",0)?`var(--wp--preset--color--${e})`:e}function d(e,t,o){m('document.documentElement.style.setProperty("--cm4all-theme-%s", "%s");',t,o);const n=r([document,"access",e=>e.getElementById,"call",t=>t(e),"optionalAccess",e=>e.sheet]);if(n)for(const s of n.cssRules)"body"===s.selectorText&&-1!==s.cssText.indexOf(`--cm4all-theme-${t}`)&&s.style.setProperty(`--cm4all-theme-${t}`,o);else document.documentElement.style.setProperty(`--cm4all-theme-${t}`,o)}function p(e,t){m("customize(%O)",e);const o=(t,l)=>{Object.entries(t).forEach((([t,c])=>{if("object"==typeof c&&t.includes("fontfamily")&&c.name){const e="initial"!==c.name?"'":"";if(d("cm4all-customizer-font-handle-inline-css",t,`${e}${c.name}${e}`),void 0===c.url)return;if(void 0!==window.theme_schema.fonts.google_fonts.find((e=>e.family===c.name))){const e="https://fonts.googleapis.com/css2?family="+c.name.replace(" ","+")+":ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900",t=new XMLHttpRequest;t.open("GET",e),t.send(),t.onreadystatechange=()=>{if(t.readyState===XMLHttpRequest.DONE){const e=t.status;if(0===e||e>=200&&e<400){const e=t.responseText,o=document.createElement("style");o.type="text/css",o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e)),document.getElementsByTagName("head")[0].appendChild(o)}}}}else if(c.url){new FontFace(c.name,`url(${c.url})`).load().then((e=>document.fonts.add(e))).catch((e=>{console.log("failed to load font %s: %O",c.name,e)}))}}else if(r([c,"optionalAccess",e=>e.desktop])){const o=l[t]["ui:inherit"];for(const l in c){let i=c[l];if("initial"===i||-1===i){i=n(e,o.$ref);const t=i.toString().match(/([^a-z]+)([a-z]+)/);t&&r([o,"optionalAccess",e=>e.scaling])&&(i=s(parseFloat(t[1]),t[2],r([o,"optionalAccess",e=>e.scaling,"access",e=>e[l]]))+t[2])}d(`cm4all-customizer-${"logo-navigation-presets"===t?"dummy":"font"}-handle-inline-css`,l+"-"+t,i)}}else if(t.includes("fontweight")){const e=c.substring(0,3),o=c.includes("italic")?"italic":"normal";d("cm4all-customizer-font-handle-inline-css",t,e),d("cm4all-customizer-font-handle-inline-css",t+"-style",o)}else if(" "===c&&"colorpalette"===l[t]["ui:widget"]){const o=l[t]["ui:inherit"],s=n(e,o.$ref);d("cm4all-customizer-dummy-handle-inline-css",t,c=u(s))}else if("object"==typeof c)if(r([c,"optionalAccess",e=>e.slug])&&r([c,"optionalAccess",e=>e.color])){const e=r([document,"access",e=>e.getElementById,"call",e=>e("global-styles-inline-css"),"optionalAccess",e=>e.sheet]);if(e)for(const t of e.cssRules)"body"===t.selectorText&&t.style.setProperty(`--wp--preset--color--${c.slug}`,c.color),t.selectorText===`.has-${c.slug}-color`&&t.style.setProperty("color",c.color,"important"),t.selectorText===`.has-${c.slug}-background-color`&&t.style.setProperty("background-color",c.color,"important");else m('document.documentElement.style.setProperty("--wp--preset--color--%s", "%s");',c.slug,c.color),document.documentElement.style.setProperty(`--wp--preset--color--${c.slug}`,c.color)}else if(r([c,"optionalAccess",e=>e.desktop]))for(const e in c)d("cm4all-customizer-dummy-handle-inline-css",e+"-"+t,c[e]);else o(c,l[t]);else d("cm4all-customizer-dummy-handle-inline-css",t,c=u(c))}))};o(e,t)}if(!Object.keys(window.theme_schema.values).length&&window.cm4all_wordpress_react_jsonschema_form_utils)try{window.theme_schema.values=window.cm4all_wordpress_react_jsonschema_form_utils.getDefaultFormState(window.theme_schema.schema)}catch(g){throw console.log("Failed to compute default theme settings"),g}function f(){return window.top.document.querySelector("#customize-preview > iframe").contentWindow.document}if(window.snippetListener=window.snippetListener||!1,!window.snippetListener){let e=null;document.documentElement.addEventListener("snippet-add",(t=>{null===e&&(console.log("no frame found, getting it now"),e=f());for(const o of t.detail){i(l(o,Object.values(window.snippet_library)),e)}})),document.documentElement.addEventListener("snippet-remove",(t=>{null===e&&(console.log("no frame found, getting it now"),e=f());for(const o of t.detail)a(o,e);t.stopPropagation()})),window.snippetListener=!0}function h(e){let t,o=e[0],n=1;for(;n<e.length;){const s=e[n],l=e[n+1];if(n+=2,("optionalAccess"===s||"optionalCall"===s)&&null==o)return;"access"===s||"optionalAccess"===s?(t=o,o=l(o)):"call"!==s&&"optionalCall"!==s||(o=l(((...e)=>o.call(t,...e))),t=void 0)}return o}"undefined"!=typeof wp&&p(window.theme_schema.values,window.theme_schema.schema_ui);
1o.default("cm4all-customizer-preview")("hello"),"undefined"!=typeof wp&&wp.customize&&(wp.customize("cm4all-theme-settings",(e=>e.bind((e=>{const t=JSON.parse(e);p(t,window.theme_schema.schema_ui);const o=new CustomEvent("cm4all-theme-settings",{detail:t});document.documentElement.dispatchEvent(o)})))),wp.customize.bind("change",(()=>{setTimeout((()=>{const e=document.querySelector(".cm4all-theme-navigation-main__menu .custom-logo-link > img");if(h([e,"optionalAccess",e=>e.src])){const t=function(e){const t=e+"=",o=decodeURIComponent(document.cookie).split(";");for(let n of o){for(;" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(t))return n.substring(t.length,n.length)}return""}("custom-logo-src");t&&t!==e.src?(document.cookie="custom-logo-src="+e.src,window.top.theme_schema.values.Navigation["navigation-layout"]["logo-size"]=100,window.top.theme_schema.values.set(window.top.theme_schema.values)):document.cookie="custom-logo-src="+e.src}}),1e3)})),document.cookie="custom-logo-src="+h([document,"access",e=>e.querySelector,"call",e=>e(".cm4all-theme-logo-main .custom-logo-link > img"),"optionalAccess",e=>e.src]))}();
2//# sourceMappingURL=customizer-preview.min.js.map

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.