!function(){var t={1455:function(t){"use strict";t.exports=window.wp.apiFetch}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var c=e[o]={exports:{}};return t[o](c,c.exports,n),c.exports}!function(){var t,e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__};n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"===typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"===typeof o.then)return o}var c=Object.create(null);n.r(c);var i={};t=t||[null,e({}),e([]),e(e)];for(var u=2&r&&o;"object"==typeof u&&!~t.indexOf(u);u=e(u))Object.getOwnPropertyNames(u).forEach((function(t){i[t]=function(){return o[t]}}));return i.default=function(){return o},n.d(c,i),c}}(),n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};const{YEXT:{rest_url:o}}=window,r=t=>{const{target:e}=t;e instanceof HTMLButtonElement&&Promise.resolve().then(n.t.bind(n,1455,23)).then((({default:t})=>{t({path:`${o}/activated`,method:"POST",data:{activated:!0}}).catch((t=>{console.error(t)}))}))};window.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelector(".yext-activated-notice");t&&t.addEventListener("click",r)}))}();