(self.bxpChunk=self.bxpChunk||[]).push([[5235],{56122:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>h});var s=r(65311),i=r(58719),o=r(68332),n=r(28784);function a(t){return a="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},a(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function u(t,e,r){return(e=m(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t,e){for(var r=0;r'+this.params.submitError+"")}},{key:"setSocsCookie",value:function(){var t;this.useSocs&&(null===(t=n.Z.utils)||void 0===t||t.storage.setCookie("atl_soc2_nda_signed",1,!1,"Strict","atlassian.com"))}},{key:"submitDirectlyToExactTarget",value:function(){var t=this,e=this.emailInput.val(),r=o.Z.isProduction()?"www":"wac.stg.internal",i="https://".concat(r,".atlassian.com/apis/exact-target/").concat(e,"/subscribe?mailingListId=").concat(this.params.exactTargetId);s.ajax({url:i,method:"POST",dataType:"text",complete:function(e,r){"success"===r?(t.setSocsCookie(),t.params.redirectUrl?t.redirect():t.showMessage()):0===s(".error--server",t.domRoot).length&&t.form.append('
'+t.params.submitError+"
")}})}},{key:"redirect",value:function(){window.location.href=this.params.redirectUrl}},{key:"showMessage",value:function(){this.form.hide(),this.message.removeClass("hide-all"),"undefined"!=typeof dataLayer&&dataLayer.push({event:"emailSubmissionSuccess"})}}])&&l(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}()},56943:()=>{}}]); //# sourceMappingURL=/static/master/9671/assets/build/js/chunks/e2918530b4d095.js.map