1(e=>{e(()=>{const t="mc_signup_dismissed",n="mailchimp-popup-trigger",i=1e4,o=.5,r={show:.4,hide:.9},s=e("#mailchimp-popup-modal");if(0===s.length)return;const l=s.find(".mailchimp-popup-overlay"),a=s.find(".mailchimp-popup-close"),c=e(`#${n}`);let m=null,d=!1,p=!1,f=!1,u=null,h=null,g=!1;const w=(e,t,n=14)=>{try{const i=new Date;i.setDate(i.getDate()+n);const o=`${encodeURIComponent(e)}=${encodeURIComponent(t)}; expires=${i.toUTCString()}; path=/; SameSite=Lax`;return"https:"===window.location.protocol?document.cookie=`${o}; Secure`:document.cookie=o,!0}catch(e){return console.warn("Failed to write cookie:",e),!1}},b=e=>{try{const t=encodeURIComponent(e)+"=",n=document.cookie.split(";");for(let e=0;e<n.length;e++){let i=n[e].trim();if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length))}return null}catch(e){return console.warn("Failed to read cookie:",e),null}},v=()=>{try{const e="__mc_test__";w(e,"test",1);const t="test"===b(e);return(e=>{try{w(e,"",-1)}catch(e){console.warn("Failed to delete cookie:",e)}})(e),t}catch(e){return!1}},y=()=>{const t=e(window).height(),n=e(document).height(),i=e(window).scrollTop(),o=n-t;return o<=0?0:i/o},E=()=>{c.length>0&&c.hasClass("visible")&&c.removeClass("visible")},I=()=>{const e=s.find("#mc-embedded-subscribe-form");0!==e.length&&(s.find("#mce-error-response, #mce-success-response").hide().empty(),e.find(".mce_inline_error").remove(),e.find(".error").removeClass("error"),e.find('[aria-invalid="true"]').removeAttr("aria-invalid"),e.find('button[type="submit"], input[type="submit"]').removeAttr("style").removeAttr("aria-invalid"))},M=(t=!1)=>{if(!u){const e=s.find("#mc-embedded-subscribe-form");e.length>0&&(u=e.html(),console.log("Captured original form HTML for restoration"))}const n=s.find("#mc-embedded-subscribe-form");if(0===n.length)return;const i=n.find('input[name="FIRSTNAME"]').length>0,o=n.find('input[name="LNAME"]').length>0,r=n.find('input[name="EMAIL"]').length>0;if((t||!i||!o||!r)&&u){g=!0;try{const t=e("<div>").html(u),s=t.find(".mc-name-fields-row");if(!(s.length>0)||i&&o||(n.find(".mc-name-fields-row").replaceWith(s.clone()),console.warn("Restored name fields row (first and last name inputs)")),!r){const i=n.find('label[for="mce-EMAIL"]');if(i.length>0){const o=i.closest(".mc-field-group"),r=t.find('label[for="mce-EMAIL"]').closest(".mc-field-group");if(r.length>0&&o.length>0)o.html(r.html()),console.warn("Restored email field group content");else if(r.length>0){const t=n.find(".mc-field-group");if(t.length>0){const n=t.filter(function(){return e(this).find('label[for="mce-EMAIL"]').length>0});n.length>0&&(n.html(r.html()),console.warn("Restored email field group via filter"))}}}}}finally{g=!1}}},C=()=>{f||((()=>{if(h)return;const t=s.find("#mc-embedded-subscribe-form");if(0===t.length)return;const n=t[0];h=new MutationObserver(t=>{if(g)return;let n=!1;for(const i of t)"childList"===i.type&&i.removedNodes.forEach(t=>{if(t.nodeType===Node.ELEMENT_NODE){const i=e(t);(i.is('input[type="text"]')||i.is('input[type="email"]')||i.is('input[type="hidden"]')||i.is("textarea")||i.is("label")||"mce-EMAIL"===i.attr("id")||"EMAIL"===i.attr("name")||"FIRSTNAME"===i.attr("name")||"LNAME"===i.attr("name"))&&(console.warn("MailChimp validation script removed form element:",t),n=!0),(i.hasClass("mc-field-group")||i.hasClass("mc-name-fields-row"))&&0===i.find('input[name="EMAIL"], input[name="FIRSTNAME"], input[name="LNAME"]').length&&(n=!0)}});n&&M(!0)}),h.observe(n,{childList:!0,subtree:!0,attributes:!1,characterData:!1})})(),M(),I(),s.addClass("active"),setTimeout(()=>{const e=s.find("#mce-FIRSTNAME"),t=s.find("#mce-EMAIL"),n=s.find("#mc-embedded-subscribe-form input:first");let i=e;0===i.length&&(i=t),0===i.length&&(i=n),i.length>0&&i.focus()},150),E())},A=()=>{f=!0,h&&(h.disconnect(),h=null),I(),s.addClass("closing"),setTimeout(()=>{s.removeClass("active closing"),((e=14)=>{const n=(new Date).toISOString();if(v())w(t,n,e);else{const i=new Date;i.setDate(i.getDate()+e),localStorage.setItem(t,JSON.stringify({timestamp:n,expiry:i.toISOString()}))}})(14),f=!1,L()},300)},L=()=>{const e=s.hasClass("active"),t=y();t>=r.show&&t<r.hide&&!e?c.length>0&&!c.hasClass("visible")&&c.addClass("visible"):E()};window.addEventListener("scroll",L,{passive:!0}),L();const S=s.find("#mc-embedded-subscribe-form");S.length>0&&(u=S.html(),console.log("Early form HTML capture: Original MailChimp form state saved")),a.on("click",e=>{e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),A()}),l.on("click",e=>{e.stopPropagation(),e.preventDefault(),A()}),s.find(".mailchimp-popup-card").on("click",e=>{e.stopPropagation()}),c.length>0&&c.on("click",e=>{e.stopPropagation(),f||C()}),e(document).on("keydown.mailchimp-popup",e=>{s.hasClass("active")&&"Escape"===e.key&&(e.preventDefault(),A())});(()=>{if((()=>
1{if(null!==b(t))return!0;try{const e=localStorage.getItem(t);if(e){const t=JSON.parse(e);return new Date(t.expiry)>new Date}}catch(e){}return!1})())return;m=setTimeout(()=>{d||p||(p=!0,e(window).off("scroll.mailchimp-auto-trigger"),C())},i);e(window).on("scroll.mailchimp-auto-trigger",()=>{y()>=o&&!d&&!p&&(d=!0,clearTimeout(m),e(window).off("scroll.mailchimp-auto-trigger"),C())})})()})})(jQuery);
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.