PageSourceSearch

https://www.greencleandesigns.com/wp-content/uploads/hummingbird-assets/c9225686406131549668d4841e648260.js

js greencleandesigns.com collected 2026-10-10 00:19:27 UTC 7,307 bytes, 3 lines download raw bytes

1/**handles:wpcf7-recaptcha,mc4wp-forms-api**/
2document.addEventListener("DOMContentLoaded",e=>{let t,n=(wpcf7_recaptcha={...null!=(t=wpcf7_recaptcha)?t:{}}).sitekey,{homepage:c,contactform:a}=wpcf7_recaptcha.actions,o=e=>{let{action:t,func:c,params:a}=e;grecaptcha.execute(n,{action:t}).then(e=>{var e=new CustomEvent("wpcf7grecaptchaexecuted",{detail:{action:t,token:e}});document.dispatchEvent(e)}).then(()=>{"function"==typeof c&&c(...a)}).catch(e=>console.error(e))};if(grecaptcha.ready(()=>{o({action:c})}),document.addEventListener("change",e=>{o({action:a})}),"undefined"!=typeof wpcf7&&"function"==typeof wpcf7.submit){let c=wpcf7.submit;wpcf7.submit=(e,t={})=>{o({action:a,func:c,params:[e,t]})}}document.addEventListener("wpcf7grecaptchaexecuted",t=>{var c=document.querySelectorAll('form.wpcf7-form input[name="_wpcf7_recaptcha_response"]');for(let e=0;e<c.length;e++)c[e].setAttribute("value",t.detail.token)})});
3(()=>{var r={9885(e){function t(){this.listeners={}}t.prototype.emit=function(e,t){this.listeners[e]=this.listeners[e]??[],this.listeners[e].forEach(e=>e.apply(null,t))},t.prototype.on=function(e,t){this.listeners[e]=this.listeners[e]??[],this.listeners[e].push(t)},e.exports=t},5626(){function r(e){var t=!!e.getAttribute("data-show-if"),r=(t?e.getAttribute("data-show-if"):e.getAttribute("data-hide-if")).split(":"),n=r[0],a=(1<r.length?r[1]:"*").split("|"),i=((e,t)=>{var r=[],n=e.querySelectorAll('input[name="'+t+'"],select[name="'+t+'"],textarea[name="'+t+'"]');for(let e=0;e<n.length;e++)("radio"!==n[e].type&&"checkbox"!==n[e].type||n[e].checked)&&r.push(n[e].value);return r})((e=>{let t=e;for(;t.parentElement;)if("FORM"===(t=t.parentElement).tagName)return t;return null})(e),n);let o=!1;for(let e=0;e<i.length&&!o;e++)o=-1<a.indexOf(i[e])||-1<a.indexOf("*")&&0<i[e].length;e.style.display=t?o?"":"none":o?"none":"";var s=e.querySelectorAll("input,select,textarea");for(let e=0;e<s.length;e++)(o||t)&&s[e].getAttribute("data-was-required")&&(s[e].required=!0,s[e].removeAttribute("data-was-required")),o&&t||!s[e].required||(s[e].setAttribute("data-was-required","true"),s[e].required=!1)}function e(){var t=document.querySelectorAll(".mc4wp-form [data-show-if],.mc4wp-form [data-hide-if]");for(let e=0;e<t.length;e++)r(t[e])}function t(e){if(e.target&&e.target.form&&!(e.target.form.className.indexOf("mc4wp-form")<0)){var t=e.target.form.querySelectorAll("[data-show-if],[data-hide-if]");for(let e=0;e<t.length;e++)r(t[e])}}document.addEventListener("keyup",t,!0),document.addEventListener("change",t,!0),document.addEventListener("mc4wp-refresh",e,!0),window.addEventListener("load",e),e()},6942(e,t,r){let n=r(2076),a=r(6564),i=function(e,t){this.id=e,this.element=t||document.createElement("form"),this.name=this.element.getAttribute("data-name")||"Form #"+this.id,this.errors=[],this.started=!1};i.prototype.setData=function(e){try{a(this.element,e)}catch(e){console.error(e)}},i.prototype.getData=function(){return n(this.element,{hash:!0,empty:!0})},i.prototype.getSerializedData=function(){return n(this.element,{hash:!1,empty:!0})},i.prototype.setResponse=function(e){this.element.querySelector(".mc4wp-response").innerHTML=e},i.prototype.reset=function(){this.setResponse(""),this.element.querySelector(".mc4wp-form-fields").style.display="",this.element.reset()},e.exports=i},9685(e,t,r){let n=r(6942),a=[],i=new(r(9885));function o(e,t){t=t||parseInt(e.getAttribute("data-id"))||0;var t=new n(t,e);return a.push(t),t}e.exports={get:function(t){t=parseInt(t);for(let e=0;e<a.length;e++)if(a[e].id===t)return a[e];return o(document.querySelector(".mc4wp-form-"+t),t)},getByElement:function(e){var t=e.form||e;for(let e=0;e<a.length;e++)if(a[e].element===t)return a[e];return o(t)},on:function(e,t){i.on(e,t)},trigger:function(e,t){"submit"===e||0<e.indexOf(".submit")?(i.emit(t[0].id+"."+e,t),i.emit(e,t)):window.setTimeout(function(){i.emit(t[0].id+"."+e,t),i.emit(e,t)},10)}}},2076(e){var p=/^(?:submit|button|image|reset|file)$/i,g=/^(?:input|select|textarea|keygen)/i,a=/(\[[^\[\]]*\])/g;function o(e,t,r){var n,a,a,i;return 0===t.length?r:(a=(n=t.shift()).match(/^\[(.+?)\]$/),"[]"===n?(e=e||[],(Array.isArray(e)?e:(e._values=e._values||[],e._values)).push(o(null,t,r))):a?(i=+(a=a[1]),isNaN(i)?(e=e||{})[a]=o(e[a],t,r):(e=e||[])[i]=o(e[i],t,r)):e[n]=o(e[n],t,r),e)}function v(e,t,r){var n;return t.match(a)?o(e,(e=>{var t=[],r=new RegExp(a),n=/^([^\[\]]*)/.exec(e);for(n[1]&&t.push(n[1]);null!==(n=r.exec(e));)t.push(n[1]);return t})(t),r):(n=e[t])?(Array.isArray(n)||(e[t]=[n]),e[t].push(r)):e[t]=r,e}function y(e,t,r){return r=r.replace(/(\r)?\n/g,"\r\n"),r=(r=encodeURIComponent(r)).replace(/%20/g,"+"),e+(e?"&":"")+encodeURIComponent(t)+"="+r}e.exports=function(e,t){"object"!=typeof t?t={hash:!!t}:void 0===t.hash&&(t.hash=!0);for(var r=t.hash?{}:"",n=t.serializer||(t.hash?v:y),a=e&&e.elements?e.elements:[],i=Object.create(null),o=0;o<a.length;++o){var s=a[o];if((t.disabled||!s.disabled)&&s.name&&g.test(s.nodeName)&&!p.test(s.type)){var l=s.name,c=s.value;if("checkbox"!==s.type&&"radio"!==s.type||s.checked||(c=void 0),t.empty){if
3("checkbox"!==s.type||s.checked||(c=""),"radio"===s.type&&(i[s.name]||s.checked?s.checked&&(i[s.name]=!0):i[s.name]=!1),null==c&&"radio"==s.type)continue}else if(!c)continue;if("select-multiple"!==s.type)r=n(r,l,c);else{for(var c=[],u=s.options,f=!1,d=0;d<u.length;++d){var h=u[d],m=t.empty&&!h.value,m=h.value||m;h.selected&&m&&(f=!0,r=t.hash&&"[]"!==l.slice(l.length-2)?n(r,l+"[]",h.value):n(r,l,h.value))}!f&&t.empty&&(r=n(r,l,""))}}}if(t.empty)for(var l in i)i[l]||(r=n(r,l,""));return r}},6564(e){e.exports&&(e.exports=function t(r,n,a){for(var i in n)if(n.hasOwnProperty(i)){const l=i;let e=n[i];if(null===(e=void 0===e?"":e)&&(e=""),void 0!==a&&(l=a+"["+i+"]"),e.constructor===Array)l+="[]";else if("object"==typeof e){t(r,e,l);continue}var o=r.elements.namedItem(l);if(o){var i=o.type||o[0].type;switch(i){default:o.value=e;break;case"radio":case"checkbox":{let t=e.constructor===Array?e:[e];for(let e=0;e<o.length;e++)o[e].checked=-1<t.indexOf(o[e].value)}break;case"select-multiple":{let t=e.constructor===Array?e:[e];for(let e=0;e<o.options.length;e++)o.options[e].selected=-1<t.indexOf(o.options[e].value)}break;case"select":case"select-one":o.value=e.toString()||e;break;case"date":o.value=new Date(e).toISOString().split("T")[0]}var s=new Event("change",{bubbles:!0});switch(i){default:o.dispatchEvent(s);break;case"radio":case"checkbox":for(let e=0;e<o.length;e++)o[e].checked&&o[e].dispatchEvent(s)}}}})}},n={};function a(e){var t=n[e],t;return void 0!==t||(t=n[e]={exports:{}},r[e](t,t.exports,a)),t.exports}let e=window.mc4wp||{},i=a(9685);function t(e,r){document.addEventListener(e,e=>{var t;e.target&&("string"==typeof(t=e.target).className&&-1<t.className.indexOf("mc4wp-form")||"function"==typeof t.matches&&t.matches(".mc4wp-form *"))&&r.call(e,e)},!0)}a(5626),t("submit",function(e){var t;e.defaultPrevented||(t=i.getByElement(e.target),i.trigger("submit",[t,e]))}),t("focus",function(e){var t=i.getByElement(e.target);t.started||(i.trigger("started",[t,e]),t.started=!0)}),t("change",function(e){var t=i.getByElement(e.target);i.trigger("change",[t,e])}),e.listeners&&([].forEach.call(e.listeners,function(e){i.on(e.event,e.callback)}),delete e.listeners),e.forms=i,window.mc4wp=e})();

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.