PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/tiktechtok.org/wp-content/plugins/jetpack/_inc/blocks/mailchimp/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/tiktechtok.org/wp-content/plugins/jetpack/_inc/blocks/mailchimp/view.js

(()=>{var t={92384:(t,e)=>{"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;e.validate=function(t){if(!t)return!1;if(t.length>254)return!1;if(!r.test(t))return!1;var e=t.split("@");return!(e[0].length>64)&&!e[1].split(".").some((function(t){return t.length>63}))}},64924:(t,e,r)=>{var n=r(49159).Symbol;t.exports=n},10530:(t,e,r)=>{var n=r(64924),o=r(38792),i=r(78004),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):i(t)}},59504:(t,e,r)=>{var n=r(90310),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},6150:t=>{var e="object"==typeof window&&window&&window.Object===Object&&window;t.exports=e},38792:(t,e,r)=>{var n=r(64924),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},78004:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},49159:(t,e,r)=>{var n=r(6150),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},90310:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},63259:(t,e,r)=>{var n=r(10731),o=r(26199),i=r(64934),s=Math.max,a=Math.min;t.exports=function(t,e,r){var c,u,l,p,f,d,v=0,m=!1,b=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var r=c,n=u;return c=u=void 0,v=e,p=t.apply(n,r)}function g(t){var r=t-d;return void 0===d||r>=e||r<0||b&&t-v>=l}function h(){var t=o();if(g(t))return x(t);f=setTimeout(h,function(t){var r=e-(t-d);return b?a(r,l-(t-v)):r}(t))}function x(t){return f=void 0,y&&c?w(t):(c=u=void 0,p)}function j(){var t=o(),r=g(t);if(c=arguments,u=this,d=t,r){if(void 0===f)return function(t){return v=t,f=setTimeout(h,e),m?w(t):p}(d);if(b)return clearTimeout(f),f=setTimeout(h,e),w(d)}return void 0===f&&(f=setTimeout(h,e)),p}return e=i(e)||0,n(r)&&(m=!!r.leading,l=(b="maxWait"in r)?s(i(r.maxWait)||0,e):l,y="trailing"in r?!!r.trailing:y),j.cancel=function(){void 0!==f&&clearTimeout(f),v=0,c=d=u=f=void 0},j.flush=function(){return void 0===f?p:x(o())},j}},10731:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},41642:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},46260:(t,e,r)=>{var n=r(10530),o=r(41642);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},26199:(t,e,r)=>{var n=r(49159);t.exports=function(){return n.Date.now()}},64934:(t,e,r)=>{var n=r(59504),o=r(10731),i=r(46260),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||c.test(t)?u(t.slice(2),r?2:8):s.test(t)?NaN:+t}},80425:(t,e,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},47701:t=>{"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"})(),(()=>{"use strict";r(80425)})(),(()=>{"use strict";var t=r(47701),e=r.n(t),n=r(92384),o=r(63259),i=r.n(o);const s="wp-block-jetpack-mailchimp";function a(t,e){const r=e.value,o="error";return e.classList.remove(o),!!n.validate(r)||(e.classList.add(o),"function"==typeof document.createElement("input").reportValidity&&t.reportValidity(),!1)}const c=(t,e)=>i()((()=>{a(t,e)}),1e3);function u(t,e){const r=t.querySelector("form"),n=t.querySelector("input[name=email]"),o=t.querySelector("."+s+"_processing"),i=t.querySelector("."+s+"_error"),u=t.querySelector("."+s+"_success");n.addEventListener("input",c(r,n)),r.addEventListener("submit",(s=>{s.preventDefault();const l=n.value,p=[].slice.call(r.querySelectorAll("input[type=hidden].mc-submit-param")).reduce(((t,e)=>({...t,[e.name]:e.value})),{});a(r,n)&&(t.classList.add("is-processing"),n.removeEventListener("input",c(r,n)),o.classList.add("is-visible"),function(t,e,r){let n="https://public-api.wordpress.com/rest/v1.1/sites/"+encodeURIComponent(t)+"/email_follow/subscribe?email="+encodeURIComponent(e);for(const t in r)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(r[t]);return new Promise((function(t,e){const r=new XMLHttpRequest;r.open("GET",n),r.onload=function(){if(200===r.status){const e=JSON.parse(r.responseText);t(e)}else{const t=JSON.parse(r.responseText);e(t)}},r.send()}))}(e,l,p).then((t=>{o.classList.remove("is-visible"),t.error&&"member_exists"!==t.error?i.classList.add("is-visible"):u.classList.add("is-visible")}),(()=>{o.classList.remove("is-visible"),i.classList.add("is-visible")})))}))}const l=()=>{Array.from(document.querySelectorAll("."+s)).forEach((t=>{if("true"===t.getAttribute("data-jetpack-block-initialized"))return;const e=t.getAttribute("data-blog-id");try{u(t,e)}catch(t){0}t.setAttribute("data-jetpack-block-initialized","true")}))};"undefined"!=typeof window&&e()(l)})()})();