1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[515],{76515(t,e,i){i.d(e,{default:()=>u});var n=i(8840);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function a(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}const u=function(){return t=function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=e;var r=[],o=this.$el.querySelectorAll("u");this.urlParams=new URLSearchParams(window.location.search),this.containsAnyUTMParameter(window.location.search)&&window.sessionStorage.setItem("CMD__UTM_PARAMS",JSON.stringify({timestamp:Date.now(),utm_term:this.urlParams.get("utm_term"),utm_campaign:this.urlParams.get("utm_campaign"),utm_source:this.urlParams.get("utm_source"),utm_content:this.urlParams.get("utm_content"),utm_medium:this.urlParams.get("utm_medium")})),o.forEach(function(t){try{(t.children[0].matches("a")||t.children[0].children[0].matches("a"))&&r.push(t)}catch(t){return!1}}),r.forEach(function(t){t.style.textDecoration="none";var e=t.textContent;t.children[0].matches("a")?(t.children[0].classList.add("underline"),t.children[0].innerHTML="<span>".concat(e,'</span><svg viewBox="0 0 13 20"><polyline points="0.5 19.5 3 19.5 12.5 10 3 0.5"></polyline></svg>')):t.children[0].children[0].matches("a")&&(t.children[0].children[0].classList.add("underline"),t.children[0].children[0].innerHTML="<span>".concat(e,'</span><svg viewBox="0 0 13 20"><polyline points="0.5 19.5 3 19.5 12.5 10 3 0.5"></polyline></svg>'))}),this.$submit=this.$el.querySelector("#citymd-sf-singup-form > .cta.cta--red"),this.$input=this.$el.querySelector("#edit-email-address"),this.$doAnimation=this.$el.querySelector("#do-animation"),this.$result=this.$el.querySelector("#user-email-result"),this.$gsapTimeline=n.os.timeline({onComplete:function(){return n.os.set([i.$submit,i.$input],{clearProps:!0})}}),setTimeout(function(){i.$doAnimation&&i.$doAnimation.addEventListener("change",i.submitEmailSuccess.bind(i))},100),this.$isDesktopSize=window.innerWidth>=1280},e=[{key:"submitEmailSuccess",value:function(t){var e=this;t.preventDefault(),setTimeout(function(){e.$isDesktopSize&&e.$gsapTimeline.add(function(){document.querySelector("#do-animation").checked=!1}).to([e.$input,e.$submit],{disabled:!0}).add(function(){document.querySelector("#edit-email-address").style.borderRight="1px solid #aaa"}).to(e.$input,{position:"absolute",left:0}).to(e.$submit,{x:"+=100",duration:.45,ease:"sine.in"}).to(e.$submit,{borderRadius:"+38px",duration:.75},"-=0.55").to(e.$submit,{width:115,duration:.25},"-=0.75").to(e.$submit,{x:-85,width:235,duration:.75,ease:"sine.out"}).to(e.$submit,{scale:1.2,duration:.35},"-=0.8").add(function(){document.querySelector("#citymd-sf-singup-form > .cta.cta--red").value="Thank you!"},"-=0.75").to(e.$input,{duration:2.5}).add(function(){document.querySelector("#edit-email-address").value=""}).to([e.$input,e.$submit],{disabled:!1}).add(function(){document.querySelector("#citymd-sf-singup-form > .cta.cta--red").value="Sign up"})},10)}},{key:"containsAnyUTMParameter",value:function(){var t=this;return["utm_source","utm_medium","utm_campaign","utm_term","utm_content"].some(function(e){return t.urlParams.has(e)})}}],e&&o(t.prototype,e),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,i}()}}]);
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.