1/*! This file is auto-generated */ 2(()=>{"use strict";var e={d:(t,d)=>{for(var o in d)e.o(d,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:d[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};function d(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}e.d(t,{default:()=>d}),(window.wp=window.wp||{}).domReady=t.default})();; 3!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.domReady;const n=(e,t=!1)=>{if(!e)return;(e=>{let n=e.querySelector(".js-banner-countdown__timer"),o=n?.dataset?.countdownDate;if(!n||!o)return;let r=new Date(o);const a=setInterval((function(){if(t){if(n=e.querySelector(".js-banner-countdown__timer"),o=n?.dataset?.countdownDate,!n||!o)return void clearInterval(a);r=new Date(o)}const c=new Date((new Date).toLocaleString("en-US",{timeZone:"America/Los_Angeles"})),u=r-c;if(u<=0&&!t)return n.remove(),e.querySelector(".promo-banner-countdown__content--countdown")?.remove(),e.querySelector(".promo-banner-countdown__content--default").style.display="block",void clearInterval(a);n.textContent=(e=>`${String(Math.floor(e/864e5)).padStart(2,"0")}:${String(Math.floor(e%864e5/36e5)).padStart(2,"0")}:${String(Math.floor(e%36e5/6e4)).padStart(2,"0")}:${String(Math.floor(e%6e4/1e3)).padStart(2,"0")}`)(u)}),1e3)})(e)};e.n(t)()((function(){n(document.querySelector("#js-promo-banner-countdown"),!1)}))}();; 4!function(){"use strict";var e={n:function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(o,{a:o}),o},d:function(n,o){for(var t in o)e.o(o,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:o[t]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.wp.domReady;e.n(n)()((()=>{const e=document.getElementById("js-promo-banner-countdown");if(!e)return;if((e=>{const n=document.querySelector("#js-promo-banner-countdown .js-
4promo-banner-countdown__btn");e&&n&&n.addEventListener("click",(()=>{e.remove(),sessionStorage.setItem("tcPromoBannerClosed","true")}))})(e),"true"===sessionStorage.getItem("tcPromoBannerClosed"))return;const n=e.querySelector(".js-banner-countdown__timer"),o=n?.dataset?.countdownDate,t=e.querySelector(".promo-banner-countdown__content--countdown"),r=e.querySelector(".promo-banner-countdown__content--default");if(!n||!o)return t.remove(),r.style.display="block",void(e.style.display="block");const c=new Date((new Date).toLocaleString("en-US",{timeZone:"America/Los_Angeles"}));new Date(o)>c?(n.style.display="flex",t.style.display="block",r.style.display="none"):(n.remove(),t.remove(),r.style.display="block"),e.style.display="block"}))}();; 5!function(){var e={6999:function(e,t,n){"use strict";var r=n(6848);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,_){if(_!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},9067:function(e,t,n){e.exports=n(6999)()},6848:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e,t,r,o,i,_,l,s,a,u,c={},p=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function h(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function v(t,n,r){var o,i,_,l={};for(_ in n)"key"==_?o=n[_]:"ref"==_?i=n[_]:l[_]=n[_];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(_ in t.defaultProps)void 0===l[_]&&(l[_]=t.defaultProps[_]);return y(t,l,o,i,null)}function y(e,n,o,i,_){var l={type:e,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==_?++r:_,__i:-1,__u:0};return null==_&&null!=t.vnode&&t.vnode(l),l}function g(e){return e.children}function b(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function k(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return k(e)}}function N(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!x.__r++||i!==t.debounceRendering)&&((i=t.debounceRendering)||_)(x)}function x(){var e,n,r,i,_,s,a,u;for(o.sort(l);e=o.shift();)e.__d&&(n=o.length,i=void 0,s=(_=(r=e).__v).__e,a=[],u=[],r.__P&&((i=h({},_)).__v=_.__v+1,t.vnode&&t.vnode(i),L(r.__P,i,_,r.__n,r.__P.namespaceURI,32&_.__u?[s]:null,a,null==s?w(_):s,!!(32&_.__u),u),i.__v=_.__v,i.__.__k[i.__i]=i,I(a,i,u),i.__e!=s&&k(i)),o.length>n&&o.sort(l));x.__r=0}function S(e,t,n,r,o,i,_,l,s,a,u){var f,d,h,m,v,y=r&&r.__k||p,g=t.length;for(n.__d=s,P(n,t,y),s=n.__d,f=0;f<g;f++)null!=(h=n.__k[f])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?c:y[h.__i]||c,h.__i=f,L(e,h,d,o,i,_,l,s,a,u),m=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&$(d.ref,null,h),u.push(h.ref,h.__c||m,h)),null==v&&null!=m&&(v=m),65536&h.__u||d.__k===h.__k?s=E(h,s,e):"function"==typeof h.type&&void 0!==h.__d?s=h.__d:m&&(s=m.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=s,n.__e=v}function P(e,t,n){var r,o,i,_,l,s=t.length,a=n.length,u=a,c=0;for(e.__k=[],r=0;r<s;r++)_=r+c,null!=(o=e.__k[r]=null==(o=t[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?y(null,o,null,null,null):d(o)?y(g,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?y(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,l=T(o,n,_,u),o.__i=l,i=null,-1!==l&&(u--,(i=n[l])&&(i.__u|=131072)),null==i||null===i.__v?(-1==l&&c--,"function"!=typeof o.type&&(o.__u|=65536)):l!==_&&(l==_-1?c--:l==_+1?c++:l>_?u>s-_?c+=l-_:c--:l<_&&(l==_-c?c-=l-_:c++),l!==r+c&&(o.__u|=65536))):(i=n[_])&&null==i.key&&i.__e&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=w(i)),F(i,i,!1),n[_]=null,u--);if(u)for(r=0;r<a;r++)null!=(i=n[r])&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=w(i)),F(i,i))}function E(e,t,n){var r,o;
vendor: 7,300 bytes, line 5
5if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=E(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=w(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(d(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function T(e,t,n,r){var o=e.key,i=e.type,_=n-1,l=n+1,s=t[n];if(null===s||s&&o==s.key&&i===s.type&&0==(131072&s.__u))return n;if(r>(null!=s&&0==(131072&s.__u)?1:0))for(;_>=0||l<t.length;){if(_>=0){if((s=t[_])&&0==(131072&s.__u)&&o==s.key&&i===s.type)return _;_--}if(l<t.length){if((s=t[l])&&0==(131072&s.__u)&&o==s.key&&i===s.type)return l;l++}}return-1}function O(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function H(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||O(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||O(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=s,e.addEventListener(t,i?u:a,i)):e.removeEventListener(t,i?u:a,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function U(e){return function(n){if(this.l){var r=this.l[n.type+e];if(null==n.t)n.t=s++;else if(n.t<r.u)return;return r(t.event?t.event(n):n)}}}function L(e,n,r,o,i,_,l,s,a,u){var c,p,f,m,v,y,w,k,N,x,P,E,C,T,O,H,U=n.type;if(void 0!==n.constructor)return null;128&r.__u&&(a=!!(32&r.__u),_=[s=n.__e=r.__e]),(c=t.__b)&&c(n);e:if("function"==typeof U)try{if(k=n.props,N="prototype"in U&&U.prototype.render,x=(c=U.contextType)&&o[c.__c],P=c?x?x.props.value:c.__:o,r.__c?w=(p=n.__c=r.__c).__=p.__E:(N?n.__c=p=new U(k,P):(n.__c=p=new b(k,P),p.constructor=U,p.render=A),x&&x.sub(p),p.props=k,p.state||(p.state={}),p.context=P,p.__n=o,f=p.__d=!0,p.__h=[],p._sb=[]),N&&null==p.__s&&(p.__s=p.state),N&&null!=U.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=h({},p.__s)),h(p.__s,U.getDerivedStateFromProps(k,p.__s))),m=p.props,v=p.state,p.__v=n,f)N&&null==U.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),N&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(N&&null==U.getDerivedStateFromProps&&k!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,P),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,P)||n.__v===r.__v)){for(n.__v!==r.__v&&(p.props=k,p.state=p.__s,p.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),E=0;E<p._sb.length;E++)p.__h.push(p._sb[E]);p._sb=[],p.__h.length&&l.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,P),N&&null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(m,v,y)}))}if(p.context=P,p.props=k,p.__P=e,p.__e=!1,C=t.__r,T=0,N){for(p.state=p.__s,p.__d=!1,C&&C(n),c=p.render(p.props,p.state,p.context),O=0;O<p._sb.length;O++)p.__h.push(p._sb[O]);p._sb=[]}else do{p.__d=!1,C&&C(n),c=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++T<25);p.state=p.__s,null!=p.getChildContext&&(o=h(h({},o),p.getChildContext())),N&&!f&&null!=p.getSnapshotBeforeUpdate&&(y=p.getSnapshotBeforeUpdate(m,v)),S(e,d(H=null!=c&&c.type===g&&null==c.key?c.props.children:c)?H:[H],n,r,o,i,_,l,s,a,u),p.base=n.__e,n.__u&=-161,p.__h.length&&l.push(p),w&&(p.__E=p.__=null)}catch(e){if(n.__v=null,a||null!=_){for(n.__u|=a?160:32;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;_[_.indexOf(s)]=null,n.__e=s}else n.__e=r.__e,n.__k=r.__k;t.__e(e,n,r)}else null==_&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=R(r.__e,n,r,o,i,_,l,a,u);(c=t.diffed)&&c(n)}function I(e,n,r){n.__d=void 0;for(var o=0;o<r.length;o++)$(r[o],r[++o],r[++o]);t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function R(t,n,r,o,i,_,l,s,a){var u,p,f,h,v,y,g,b=r.props,k=n.props,N=n.type;if("svg"===N?i="http://www.w3.org/2000/svg":"math"===N?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=_)for(u=0;u<_.length;u++)if((v=_[u])&&"setAttribute"in v==!!N&&(N?v.localName===N:3===v.nodeType)){t=v,_[u]=null;break}if(null==t){if(null===N)return document.createTextNode(k);t=document.createElementNS(i,N,k.is&&k),_=null,s=!1}if(null===N)b===k||s&&t.data===k||(t.data=k);else{if(_=_&&e.call(t.childNodes),b=r.props||c,!s&&null!=_)for(b={},u=0;u<t.attributes.length;u++)b[(v=t.attributes[u]).name]=v.value;for(u in b)if(v=b[u],"children"==u);else if("dangerouslySetInnerHTML"==u)f=v;else if("key"!==u&&!(u in k)){if("value"==u&&"defaultValue"in k||"checked"==u&&"defaultChecked"in k)continue;H(t,u,null,v,i)}for(u in k)v=k[u],"children"==u?h=v:"dangerouslySetInnerHTML"==u?p=v:"value"==u?y=v:"checked"==u?g=v:"key"===u||s&&"function"!=typeof v||b[u]===v||H(t,u,v,b[u],i);if(p)s||f&&(p.__html===f.__html||p.__html===t.innerHTML)||(t.innerHTML=p.__html),n.__k=[];else if(f&&(t.innerHTML=""),S(t,d(h)?h:[h],n,r,o,"foreignObject"===N?"http://www.w3.org/1999/xhtml":i,_,l,_?_[0]:r.__k&&w(r,0),s,a),null!=_)for(u=_.length;u--;)null!=_[u]&&m(_[u]);s||(u="value",void 0!==y&&(y!==t[u]||"progress"===N&&!y||"option"===N&&y!==b[u])&&H(t,u,y,b[u],i),u="checked",void 0!==g&&g!==t[u]&&H(t,u,g,b[u],i))}return t}function $(e,n,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==n||(e.__u=e(n))}else e.current=n}catch(e){t.__e(e,r)}}function F(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||$(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&F(o[i],n,r||"function"!=typeof e.type);r||null==e.__e||m(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function A(e,t,n){return this.constructor(e,n)}function M(n,r,o){var i,_,l,s;t.__&&t.__(n,r),_=(i="function"==typeof o)?null:o&&o.__k||r.__k,l=[],s=[],L(r,n=(!i&&o||r).__k=v(g,null,[n]),_||c,c,r.namespaceURI,!i&&o?[o]:_?null:r.firstChild?e.call(r.childNodes):null,l,!i&&o?o:_?_.__e:r.firstChild,i,s),I(l,n,s)}e=p.slice,t={__e:function(e,t,n,r){for(var o,i,_;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),_=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),_=o.__d),_)return o.__E=o}catch(t){e=t}throw e}},r=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),N(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),N(this))},b.prototype.render=g,o=[],_="function"==typeof Promise?Promise.prototype.then.bind(Prom
5ise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,s=0,a=U(!1),u=U(!0);var q,B,D,W,j=n(9067),V=n.n(j),z=0,Z=[],Y=t,J=Y.__b,K=Y.__r,G=Y.diffed,Q=Y.__c,X=Y.unmount,ee=Y.__;function te(e,t){Y.__h&&Y.__h(B,e,z||t),z=0;var n=B.__H||(B.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ne(e){return z=1,re(fe,e)}function re(e,t,n){var r=te(q++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):fe(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=B,!B.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var _=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(_=!0)}})),!(!_&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};B.u=!0;var i=B.shouldComponentUpdate,_=B.componentWillUpdate;B.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}_&&_.call(this,e,t,n)},B.shouldComponentUpdate=o}return r.__N||r.__}function oe(e,t){var n=te(q++,3);!Y.__s&&pe(n.__H,t)&&(n.__=e,n.i=t,B.__H.__h.push(n))}function ie(e,t){var n=te(q++,7);return pe(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function _e(e,t){return z=8,ie((function(){return e}),t)}function le(){for(var e;e=Z.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ue),e.__H.__h.forEach(ce),e.__H.__h=[]}catch(t){e.__H.__h=[],Y.__e(t,e.__v)}}Y.__b=function(e){B=null,J&&J(e)},Y.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ee&&ee(e,t)},Y.__r=function(e){K&&K(e),q=0;var t=(B=e.__c).__H;t&&(D===B?(t.__h=[],B.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(ue),t.__h.forEach(ce),t.__h=[],q=0)),D=B},Y.diffed=function(e){G&&G(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Z.push(t)&&W===Y.requestAnimationFrame||((W=Y.requestAnimationFrame)||ae)(le)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),D=B=null},Y.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ue),e.__h=e.__h.filter((function(e){return!e.__||ce(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Y.__e(n,e.__v)}})),Q&&Q(e,t)},Y.unmount=function(e){X&&X(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{ue(e)}catch(e){t=e}})),n.__H=void 0,t&&Y.__e(t,n.__v))};var se="function"==typeof requestAnimationFrame;function ae(e){var t,n=function(){clearTimeout(r),se&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);se&&(t=requestAnimationFrame(n))}function ue(e){var t=B,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),B=t}function ce(e){var t=B;e.__c=e.__(),B=t}function pe(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function fe(e,t){return"function"==typeof t?t(e):t}const de=e=>{const{title:t,description:n,slug:r,postId:o,isSelected:i,onInvoke:_,className:l,cta:s,ctaLink:a,logo:u,logoLink:c}=e,[p,f]=ne("");oe((()=>{f(i?`Remove ${t} from your subscription choices`:`Add ${t} to your subscription choices`)}),[i,t]);const d=s&&a,h=u&&c,m=d||h,y=l.includes("grid"),g=l.includes("has-featured-image");return v("div",{className:`newsletter-signup-item ${l} ${i?"newsletter-signup-item--selected":""}`},v("input",{type:"checkbox",id:`newsletter-${r}`,name:"newsletters[]",className:"visually-hidden newsletter-signup-item__control",value:o,checked:i,tabIndex:-1}),v("button",{className:"newsletter-signup-item__select",type:"button",onClick:()=>_(o)},y&&g&&v("div",{className:"newsletter-signup-item__cover"}),v("h5",{className:"newsletter-signup-item__title","aria-hidden":"true"},wp.htmlEntities.decodeEntities(t)),v("div",{className:"newsletter-signup-item__status-icon"}),v("p",{className:"newsletter-signup-item__description","aria-hidden":"true"},wp.htmlEntities.decodeEntities(n)),m&&v("div",{className:"newsletter-signup-item__meta"},d&&v("div",{className:"btn is-style-link md:is-style-outline"},v("a",{target:"_blank",href:a,className:"btn__link force-small is-text-underlined md:is-text-not-underlined",rel:"noreferrer nofollow"},s)),h&&v("a",{target:"_blank",href:c,className:"newsletter-signup-item__meta-logo",rel:"nofollow noreferrer"},"Sponsored By:",v("img",{src:u,alt:t}))),v("label",{htmlFor:`newsletter-${r}`,className:"visually-hidden newsletter-signup-item__action-label"},p)))};de.propTypes={title:V().string.isRequired,description:V().string,
5slug:V().string.isRequired,postId:V().number.isRequired,isSelected:V().bool,onInvoke:V().func.isRequired,className:V().string,logo:V().string,logoLink:V().string,cta:V().string,ctaLink:V().string},de.defaultProps={description:"",isSelected:!1,className:"",logo:"",logoLink:"",cta:"Learn More",ctaLink:""};var he=de;var me=(e,t,n,r="",o=()=>{},i=()=>{},_="")=>{if(0===e.length)return;const l={action:t?"subscribe":"unsubscribe",subs:e};n&&(l.email=n),r&&(l.name=r),_&&(l.user_type=_),grecaptcha.ready((()=>{grecaptcha.execute(reCAPTCHA.siteKey,{action:"submit"}).then((e=>{if(null===e)throw console.warn("Recaptcha token is null"),new Error("Recaptcha token is null");return l.token=e,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:`newsletter_${l.action}`}),wp.apiFetch({path:"/tc/v1/newsletters/update-user-newsletters",method:"POST",parse:!1,data:l})})).then((e=>{if(!e.ok)throw new Error("Request failed");o(),i(!1)})).catch((e=>{console.warn("Signup error",e),i(!0)}))}))};function ve(e,t){for(var n in t)e[n]=t[n];return e}function ye(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ge(e,t){this.props=e,this.context=t}(ge.prototype=new b).isPureReactComponent=!0,ge.prototype.shouldComponentUpdate=function(e,t){return ye(this.props,e)||ye(this.state,t)};var be=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),be&&be(e)};var we="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ke(e){function t(t){var n=ve({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=we,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ne=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Ne(e,t,n,r)};var xe=t.unmount;function Se(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=ve({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Se(e,t,n)}))),e}function Pe(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Pe(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Ee(){this.__u=0,this.t=null,this.__b=null}function Ce(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Te(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),xe&&xe(e)},(Ee.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ce(r.__v),i=!1,_=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=_;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Pe(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(_,_)},Ee.prototype.componentWillUnmount=function(){this.t=[]},Ee.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Se(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&v(g,null,e.fallback);return o&&(o.__u&=-33),[v(g,null,t.__a?null:e.children),o]};var Oe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(Te.prototype=new b).__a=function(e){var t=this,n=Ce(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Oe(t,e,r)):o()};n?n(i):i()}},Te.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Te.prototype.componentDidUpdate=Te.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Oe(e,n,t)}))};var He="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ue=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Le=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ie=/[A-Z0-9]/g,Re="undefined"!=typeof document,$e=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Fe=t.event;function Ae(){}function Me(){return this.cancelBubble}function qe(){return this.defaultPrevented}t.event=function(e){return Fe&&(e=Fe(e)),e.persist=Ae,e.isPropagationStopped=Me,e.isDefaultPrevented=qe,e.nativeEvent=e};
5var Be={enumerable:!1,configurable:!0,get:function(){return this.class}},De=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1===n.indexOf("-");for(var i in t){var _=t[i];if(!("value"===i&&"defaultValue"in t&&null==_||Re&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var l=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===_?_="":"translate"===l&&"no"===_?_=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?i="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||$e(t.type)?"onfocus"===l?i="onfocusin":"onblur"===l?i="onfocusout":Le.test(i)&&(i=l):l=i="oninput":o&&Ue.test(i)?i=i.replace(Ie,"-$&").toLowerCase():null===_&&(_=void 0),"oninput"===l&&r[i=l]&&(i="oninputCapture"),r[i]=_}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Be)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=He,De&&De(e)};var We=t.__r;t.__r=function(e){We&&We(e),e.__c};var je=t.diffed;t.diffed=function(e){je&&je(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),null};const Ve=ke(((e,t)=>{const{value:n,onChange:r,onBlur:o,name:i,id:_,type:l="text",placeholder:s="",required:a=null,label:u="",error:c="",isVisible:p=!0,className:f="",submit:d="",submitClassName:h="is-style-primary-green",privacyElement:m=null}=e;return v("div",{className:`form-input d-flex gap-8 flex-column ${f}`},u&&v("label",{htmlFor:i,className:"form-input__label d-block "+(p?"":"visually-hidden")},u," ",a&&"(required)"),v("div",{className:"d-flex flex-column gap-8 form-input__wrapper"},v("input",{ref:t,type:l,id:_||i,name:i,placeholder:s,value:n,onChange:r,onBlur:o,required:a,className:"form-input__input flex-grow-1 "+(c?"has-error":"")}),d&&v("div",{className:"d-flex gap-16"},v("div",{className:"btn flex-shrink-0"},v("button",{type:"submit",className:`btn__link ${h}`},"Subscribe")),m&&m)),c&&v("span",{className:"form-input__error status status--alert"},c))}));Ve.propTypes={value:V().string,onChange:V().func,onBlur:V().func,name:V().string,id:V().string,type:V().string,placeholder:V().string,label:V().string,required:V().oneOfType([V().string,V().bool]),error:V().oneOfType([V().string,V().bool]),submit:V().string,privacyElement:V().element};var ze=Ve;const Ze=ke(((e,t)=>{const{value:n,name:r,id:o,type:i="text",placeholder:_="",className:l=""}=e;return v("div",{className:`form-input ${l}`},v("input",{ref:t,type:i,name:r,id:o||r,className:`visually-hidden ${l}`,tabIndex:"-1","aria-hidden":"true",autoComplete:"off",value:n,placeholder:_}))}));Ze.propTypes={value:V().string,name:V().string,id:V().string,type:V().string,placeholder:V().string};var Ye=Ze,Je=()=>v("svg",{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M7.5 4.5V6h9.442L4.5 18.442 5.558 19.5 18 7.058V16.5h1.5v-12h-12Z",fill:"var(--c-svg, currentColor)"}));function Ke(e){const{validity:t}=e;return t.valueMissing?"This field is required.":t.typeMismatch&&"email"===e.type?"Please enter an email address.":t.tooLong?`Please enter a value less than or equal to ${e.maxLength}.`:t.tooShort?`Please enter a value greater than or equal to ${e.minLength}.`:"The value you entered for this field is invalid."}var Ge=e=>{const[t,n]=ne(e),[r,o]=ne({}),[i]=ne((()=>{const t={};return Object.keys(e).forEach((e=>{t[e]={current:null}})),t})),_=_e((e=>{let t=!0;if(e.current)if(e.current.validity.valid){const{[e.current.name]:t,...n}=r;o(n)}else t=!1,o({...r,[e.current.name]:Ke(e.current)});return t}),[r]),l=_e((()=>{let e=!0;return Object.values(i).forEach((t=>{_(t)||(e=!1)})),e}),[i,_]);return{values:t,errors:r,formRefs:i,methods:{handleChange:e=>{const{name:r,value:o}=e.target;n({...t,[r]:o})},handleBlur:e=>{const{name:t}=e.target,n=i[t];n&&_(n)},handleSubmit:(e,t=null)=>{e.preventDefault();if(l()&&"function"===typeof t)t();else{const e=Object.keys(r)[0];e&&i[e].current&&i[e].current.focus()}}}}};const Qe=({title:e,description:t,showBtn:n,newsletters:r,urls:o,currentUserEmail:i})=>{const[_,l]=ne([]),[s,a]=ne("No newsletters"),[u,c]=ne(!1),[p,f]=ne(""),d=r.find((e=>"startup-battlefield-200"===e.slug))?.postId,h=!!d&&_.includes(d),{values:{email:m,name:y},errors:b,methods:{handleChange:w,handleBlur:k,handleSubmit:N},formRefs:x}=Ge({email:i,name:""});oe((()=>{_.length<=0?a("No newsletters"):1===_.length?a("1 newsletter"):a(`${_.length} newsletters`)}),[_]);const S=e=>{const t=_.includes(e);l(t?_.filter((t=>t!==e)):[..._,e])},P=e=>
5{const t=document.getElementById("aria-live-region");t&&(t.textContent=e,t.setAttribute("aria-live","assertive"))},E=()=>{c(!0);try{me(_,!0,m,y,(()=>{P(`You have subscribed to ${s}`),window.InfoPopup.create({title:"Thanks for subscribing!",description:"Please check your inbox for a confirmation emailâand click that to complete your sign-up."}),c(!1)}),(e=>{e&&(P(`An error occurred while subscribing to ${s}`),window.InfoPopup.create({title:"There has been an error trying to subscribe.",description:"Please try again later."}),c(!1))}),p)}catch(e){console.warn("error",e),c(!1)}},C=_.length>0&&!b.email&&(!h||""!==p);return v(g,null,v("div",{className:"d-flex justify-content-between mb-24 gap-8 flex-column"},v("div",{className:"d-flex-inline align-items-center gap-16"},e&&v("h3",{className:"newsletter-signup-compact__title has-h-1-font-size"},e),o.expandedSignup&&n&&v("div",{className:"btn is-style-outline"},v("a",{className:"btn__link force-small",href:o.expandedSignup},"See More ",v(Je,null)))),t&&v("p",{className:"newsletter-signup-compact__description"},t)),v("div",{id:"aria-live-region","aria-live":"off",style:{position:"absolute",left:"-9999px"}}),v("form",{"aria-busy":u,method:"POST",action:"/",className:"newsletter-signup-compact__form validated-form",onSubmit:e=>{N(e,E)},onChange:w,onBlur:k,noValidate:!0},v("div",{className:"d-flex gap-30 g-col-8 flex-column flex-md-row"},v("div",{className:"d-grid gap-8 g-col-8"},r.map((e=>v(he,{className:"g-col-12 g-col-sm-6 g-col-lg-3",key:e.slug,title:e.title,description:e.description,slug:e.slug,postId:e.postId,isSelected:_.includes(e.postId),onInvoke:S})))),v("div",{className:"g-col-4 d-flex flex-column gap-8 justify-content-center flex-basis-30 flex-shrink-0"},v("legend",{role:"status","aria-live":"polite",className:"newsletter-signup-compact__status"},s," selected."),v("fieldset",null,v(Ye,{ref:x.name,type:"text",name:"name",placeholder:"Name",value:y}),h&&v("div",{className:"form-input form-input--user-type"},v("p",{className:"form-input__label"},v("span",{className:"form-input__required","aria-hidden":"true"},"*"),"I am aâ¦"," ",v("span",{className:"screen-reader-text"}," (required)")),v("div",{className:"form-input__radio-group"},v("label",{className:"form-input__radio-label",htmlFor:"user-type-founder"},v("input",{type:"radio",id:"user-type-founder",name:"user_type",value:"Founder",checked:"Founder"===p,onChange:()=>f("Founder"),required:!0}),"Founder"),v("label",{className:"form-input__radio-label",htmlFor:"user-type-investor"},v("input",{type:"radio",id:"user-type-investor",name:"user_type",value:"Investor",checked:"Investor"===p,onChange:()=>f("Investor")}),"Investor"))),v(ze,{ref:x.email,type:"email",name:"email",required:!0,value:m,placeholder:"Email address",error:b.email,submit:u?"Subscribing...":"Subscribe",submitClassName:!C||u?"is-disabled force-small":"force-small",isVisible:!0,privacyElement:v("p",{className:"newsletter-signup-compact__compliance"},"By submitting your email, you agree to our"," ",v("a",{href:o.termsOfService},"Terms")," and"," ",v("a",{href:o.privacyPolicy},"Privacy Notice"),".")})),u&&v("div",{className:"screen-reader-text","aria-live":"assertive","aria-relevant":"additions"},u&&v("p",null,"Subscribing..."))))))};Qe.propTypes={title:V().string,newsletters:V().arrayOf(V().shape({title:V().string,description:V().string,slug:V().string})),currentUserEmail:V().string,urls:V().shape({expandedSignup:V().string,privacyPolicy:V().string,termsOfService:V().string})},Qe.defaultProps={title:"",newsletters:[],currentUserEmail:"",urls:{expandedSignup:null,privacyPolicy:null,termsOfService:null}};var Xe=Qe;const et=({newsletters:e,urls:t,title:n,description:r,showBtn:o,currentUserEmail:i})=>v(Xe,{newsletters:e,urls:t,title:n,description:r,showBtn:o,currentUserEmail:i}),tt=()=>{const e=document.querySelectorAll(".wp-block-techcrunch-newsletter-signup-compact:not(.initialized)"),t=document.getElementById("newsletter-compact-initial-data");if(t&&e?.length){const n=JSON.parse(t.innerHTML);e.forEach((e=>
5{M(v(et,{newsletters:n.newsletters,urls:n.urls,title:n.title,description:n.description,showBtn:n.showBtn,currentUserEmail:n.currentUserEmail}),e),e.classList.add("initialized")}))}};document.addEventListener("DOMContentLoaded",tt)}()}();;
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.