/*! For license information please see 84cac5bf5283d8.js.LICENSE.txt */ "use strict";(self.bxpChunk=self.bxpChunk||[]).push([[8792],{55579:(t,r,e)=>{e.r(r),e.d(r,{default:()=>m});var n,o=e(26913),i=e(53006);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,r){for(var e=0;e=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),u=e.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),O(e),p}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;O(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:P(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),p}},t}function f(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}function s(t,r,e){return(r=h(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function h(t){var r=function(t,r){if("object"!==a(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===a(r)?r:String(r)}var p=".localized_pricing_",y=(s(n={},"".concat(p,"heading > .heading"),i.$o),s(n,"".concat(p,"currency_code"),(function(t){return t.currencyCode})),s(n,"".concat(p,"price"),(function(t){var r=t.price,e=t.currencyCode;return(0,o.oM)((0,i.T4)(r,e))})),s(n,"".concat(p,"primary_text"),i.$o),s(n,"".concat(p,"secondary_text"),i.$o),n),v=function(t,r,e){var n=e.unitLimitLower,o=e.unitLimitUpper,i=e.price;return Object.keys(y).forEach((function(e){var a=t.querySelector(e);a.innerText=y[e]({currencyCode:r,unitLimitLower:Math.max(n,0),unitLimitUpper:o,price:i},a.innerText)}))},d=function(){var t,r=(t=l().mark((function t(r,e,n){var o,i,a;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r;case 2:o=t.sent,i=o.currencyCode,(a=o.pricingTiers)[parseInt(e)]&&(v(n,i,a[parseInt(e)]),n.classList.remove("loading"));case 6:case"end":return t.stop()}}),t)})),function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){f(i,n,o,a,c,"next",t)}function c(t){f(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,e,n){return r.apply(this,arguments)}}(),m=u((function t(r,e){var n=e.pricing,o=e.tierStart;!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),d(n,o,r)}))},53006:(t,r,e)=>{e.d(r,{$o:()=>a,T4:()=>u,x_:()=>c});var n=e(26913);function o(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e1&&void 0!==arguments[1]?arguments[1]:"USD")&&0!==t&&(t%1!=0||t<10)?t.toFixed(2):t}}}]); //# sourceMappingURL=/static/master/9671/assets/build/js/chunks/84cac5bf5283d8.js.map