OwlCyberSecurity - MANAGER
Edit File: view.js
(()=>{var t={88216:()=>{window.jetpackForms=window.jetpackForms||{},window.jetpackForms.getBackgroundColor=function(t){let o=window.getComputedStyle(t).backgroundColor;for(;"rgba(0, 0, 0, 0)"===o&&t.parentNode&&t.parentNode.nodeType===window.Node.ELEMENT_NODE;)if("wp-block-cover"!==(t=t.parentNode).className)o=window.getComputedStyle(t).backgroundColor;else{const e=t.querySelector(".wp-block-cover__background");o=window.getComputedStyle(e).backgroundColor}return o},window.jetpackForms.generateStyleVariables=function(t){const o=window["editor-canvas"]?window["editor-canvas"].document:document,e=o.querySelector("body");if(!t)return;const r=o.createElement("div");r.className="contact-form__style-probe",r.style="position: absolute; z-index: -1; width: 1px; height: 1px; visibility: hidden",r.innerHTML='\n\t\t\t<div class="contact-form" style="">\n\t\t\t\t<div class="wp-block-button is-style-outline">\n\t\t\t\t\t<div class="wp-block-button__link">Test</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="jetpack-field">\n\t\t\t\t\t<input class="jetpack-field__input" type="text">\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t',t.appendChild(r);const n=r.querySelector(".wp-block-button__link"),c=r.querySelector('input[type="text"]'),a=window.jetpackForms.getBackgroundColor(e),i=window.jetpackForms.getBackgroundColor(c),d=window.getComputedStyle(c).backgroundColor,l=window.getComputedStyle(n).borderColor,{color:p,padding:s,paddingTop:u,paddingLeft:w,border:f,borderColor:k,borderWidth:m,borderStyle:b,borderRadius:g,fontSize:y,fontFamily:j,lineHeight:v}=window.getComputedStyle(c);return r.remove(),{"--jetpack--contact-form--primary-color":l,"--jetpack--contact-form--background-color":a,"--jetpack--contact-form--text-color":p,"--jetpack--contact-form--border":f,"--jetpack--contact-form--border-color":k,"--jetpack--contact-form--border-size":m,"--jetpack--contact-form--border-style":b,"--jetpack--contact-form--border-radius":g,"--jetpack--contact-form--input-background":d,"--jetpack--contact-form--input-background-fallback":i,"--jetpack--contact-form--input-padding":s,"--jetpack--contact-form--input-padding-top":u,"--jetpack--contact-form--input-padding-left":w,"--jetpack--contact-form--font-size":y,"--jetpack--contact-form--font-family":j,"--jetpack--contact-form--line-height":v}}},80425:(t,o,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},o={};function e(r){var n=o[r];if(void 0!==n)return n.exports;var c=o[r]={exports:{}};return t[r](c,c.exports,e),c.exports}e.n=t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},e.d=(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,o)=>Object.prototype.hasOwnProperty.call(t,o),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var o=e.g.document;if(!t&&o&&(o.currentScript&&(t=o.currentScript.src),!t)){var r=o.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(80425)})(),(()=>{"use strict";e(88216);const{generateStyleVariables:t}=window.jetpackForms,o=setTimeout((()=>{r()}),3e3);function r(){const o=document.querySelectorAll(".wp-block-jetpack-contact-form-container");for(const e of o){const o=t(e);if(!o)return;for(const t in o)e.style.setProperty(t,o[t])}}window.addEventListener("load",(()=>{clearTimeout(o),r()}))})()})();