PageSourceSearch

https://www.textmagic.com/wp-content/themes/textmagic-new/assetsSrc/scripts/pricing.js?ver=v202609220621

js textmagic.com collected 2026-09-24 08:29:55 UTC 127,593 bytes, 1 lines download raw bytes

1!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/wp-content/themes/textmagic-new/assetsSrc/",n(n.s=12)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(null!=e&&"string"==typeof e)try{return t.querySelector(e)||void 0}catch(e){var n=e.message;return void console.error(n)}},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(null!=e&&"string"==typeof e)try{return t.querySelectorAll(e)||void 0}catch(e){var n=e.message;return void console.error(n)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=[],s=function(e,t,n){if(!a.includes(e)){a.push(e);var o=Object(r.a)(".holder",e),s=Object(r.a)(".holder__input",e),c=Object(r.b)(".select__options li",e),l=Object(r.a)(".select__dropdown",e),u=Array.from(c).find((function(e){return e.classList.contains("current")})),f=u||c[0],d=Object(r.a)(".select__options__search",e),p=Object(r.a)(".select__options__search input",e),h=-1,y=Array.from(c),m=Object(r.a)(".current",e);m&&(o.innerHTML=m.innerHTML,s.value=/select/i.test(o.textContent)?"":m.dataset.val),u||f.classList.add("current");var v=function(){return y.filter((function(e){return"none"!==e.style.display}))},b=function(e){var t=v();t.forEach((function(e){return e.classList.remove("keyboard-focused")})),e>=0&&e<t.length?(t[h=e].classList.add("keyboard-focused"),t[h].scrollIntoView({block:"nearest"})):h=-1};Object(r.a)("body").addEventListener("click",(function(){e.classList.remove("active"),h=-1,b(-1)})),o.addEventListener("click",(function(n){if(n.stopPropagation(),0==e.getAttribute("data-click")&&e.setAttribute("data-click",1),e.classList.contains("active"))e.classList.remove("active"),h=-1,b(-1);else{for(var i=0;i<t.length;i++)t[i].classList.remove("active");a.forEach((function(e){e.classList.remove("active"),Object(r.b)(".select__options li",e).forEach((function(e){e.classList.remove("keyboard-focused")}))})),Object(r.b)(".country-select-search").forEach((function(e){return e.classList.remove("active")})),e.classList.add("active"),h=-1,b(-1),d?p.focus():o.focus()}})),document.addEventListener("keydown",(function(t){if(e.classList.contains("active")){var n=v();switch(t.key){case"ArrowDown":t.preventDefault(),h<n.length-1&&b(h+1);break;case"ArrowUp":t.preventDefault(),h>0&&b(h-1);break;case"Enter":t.preventDefault(),function(){var e=v();h>=0&&h<e.length&&e[h].click()}();break;case"Escape":t.preventDefault(),e.classList.remove("active"),h=-1,b(-1);break;case"Home":t.preventDefault(),b(0);break;case"End":t.preventDefault(),b(n.length-1)}}})),o.hasAttribute("tabindex")||o.setAttribute("tabindex","0"),c.forEac
1h((function(t){t.addEventListener("click",(function(){f.classList.remove("current"),f=t,t.classList.add("current"),o.innerHTML=t.innerHTML,s.value=t.dataset.val;var e=new Event("change");s.dispatchEvent(e),l.classList.toggle("active"),h=-1,b(-1),null!=f.getAttribute("data-link")&&null!=f.getAttribute("data-link")&&(window.location.href=f.getAttribute("data-link")),n&&n(t)})),t.addEventListener("mouseenter",(function(){if(e.classList.contains("active")){var n=v().indexOf(t);n>=0&&b(n)}}))})),d&&(d.addEventListener("click",(function(e){e.stopPropagation()})),p.value="",p.addEventListener("input",(function(e){var t=e.target.value,n=new RegExp("(".concat(t,")"),"gi");y=[];var r,o=i(c);try{for(o.s();!(r=o.n()).done;){var a=r.value;n.test(a.innerText)?(a.style.display="block",a.innerHTML=a.innerText.replace(n,'<span class="highlighted">$1</span>'),y.push(a)):a.style.display="none"}}catch(e){o.e(e)}finally{o.f()}h=-1,b(-1)})),p.addEventListener("keydown",(function(t){"ArrowDown"===t.key?(t.preventDefault(),b(0)):"Escape"===t.key&&(t.preventDefault(),e.classList.remove("active"),h=-1,b(-1))})))}},c=function(e){var t=Object(r.b)(".select");if(t&&t.length)for(var n=0;n<t.length;n++)s(t[n],t,e)};c()},function(e,t,n){"use strict";t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,n=window.pageYOffset,r=n+e.getBoundingClientRect().top;if(!(n<r)){var i,o=r-60,a=document.body.scrollHeight-o<window.innerHeight?document.body.scrollHeight-window.innerHeight:o,s=a-n,c=function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1};if(s){var l=function(e){i||(i=e);var r=e-i,o=Math.min(r/t,1);o=c(o),window.scrollTo(0,n+s*o),r<t&&window.requestAnimationFrame(l)};window.requestAnimationFrame(l)}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(0),i=n(2);function o(e){var t=Object(r.a)(".collapse-btn"),n=document.querySelectorAll(".collapsible-line");t&&(void 0!==e?(t.classList.toggle("expand",e),n.forEach((function(t){return t.classList.toggle("opened",e)})),t.toggleAttribute("disabled",e)):t.addEventListener("click",(function(){var e=t.classList.contains("expand");t.classList.toggle("expand"),n.forEach((function(t){return t.classList.toggle("opened",!e)}))})))}var a=function(){if(Object(r.a)(".collapsible-lines")){o();var e=Object(r.b)(".collapsible-header"),t=null;e.forEach((function(e,n){e.addEventListener("click",(function(){!function(e){var n=e.element,r=e.scrollingToElement,o=n.parentElement;o.classList.contains("opened")?o.classList.remove("opened"):((t=n.nextSibling.nextElementSibling).style.height="".concat(t.scrollHeight,"px"),o.classList.add("opened"),r&&setTimeout((function(){Object(i.a)(o)}),250))}({element:e,scrollingToElement:!0})}))})),window.addEventListener("resize",(function(){t&&(t.style.height="auto",t.style.height="".concat(t.scrollHeight,"px"))}),!0)}},s=function(){var e=document.querySelectorAll(".modal-pricing-activator"),t=document.querySelector("#featuresModal"),n=document.querySelector("#featuresModal .modal-close"),r=document.querySelector("#featuresModal .modal-close-activator"),i=document.querySelector("#featuresModal .modal-backdrop"),o=document.querySelector("html");e&&n&&i&&(Array.from(e).forEach((function(e){e.addEventListener("click",(function(){t.classList.add("shown"),o.classList.add("hidden-xl")}))})),n.onclick=function(){t.classList.remove("shown"),o.classList.remove("hidden-xl")},r.onclick=function(){t.classList.remove("shown"),o.classList.remove("hidden-xl")},i.onclick=function(){t.classList.remove("shown"),o.classList.remove("hidden-xl")})},c=function(){var e=document.querySelector(".pricing_search_input"),t=document.querySelector(".input__clear-button");if(e){var n=document.querySelector(".page-pricing__features"),r=n.querySelector(".collapsible-lines"),i=n.querySelectorAll(".collapsible-block"),a=document.querySelector(".nothing-to-show"),s=document.querySelector(".search-query"),c=function(t){var n=e.value.toUpperCase();s&&t.target.value&&(s.textContent=t.target.value);var c=0;
1i.forEach((function(e){var t=e.querySelectorAll(".collapsible-label"),r=!1;t.forEach((function(e){var t=e.querySelector(".collapsible-label__span"),i=t.textContent||t.innerText;if(i.toUpperCase().indexOf(n)>-1){e.closest(".collapsible-line").classList.remove("hidden");var o=new RegExp(n,"gi");t.innerHTML=i.replace(o,(function(e){return'<span class="highlight">'.concat(e,"</span>")})),e.closest(".collapsible-line").classList.add("opened"),e.parentNode.classList.remove("hidden"),r=!0}else e.parentNode.classList.add("hidden")})),e.closest(".collapsible-line").classList.toggle("hidden",!r),r&&c++}));var l=r.querySelectorAll(".collapsible-line").length,u=r.querySelectorAll(".collapsible-line.hidden").length;a.classList.toggle("hidden",c>0&&l!==u),n?o(!0):(r.querySelectorAll(".collapsible-line.opened").forEach((function(e){return e.classList.remove("opened")})),o(!1))};t.addEventListener("click",(function(e){return c(e)})),e.addEventListener("keyup",(function(e){return c(e)}))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=function(e,t){t.style.setProperty("--value",e),t.style.setProperty("--text-value",'"'+e+'"')},o=function(){var e=Object(r.b)(".range-slider");if(e&&e.length)for(var t=function(t){var n=Object(r.a)("input",e[t]);e[t]&&(n.addEventListener("change",i(n.value,e[t])),n.addEventListener("input",(function(){i(n.value,e[t])})))},n=0;n<e.length;++n)t(n)};o()},function(e,t,n){"use strict";t.a=function(){document.querySelectorAll(".plans-table-grid__item-text-with-tooltip .tooltip__container").forEach((function(e){Array.from(e.childNodes).forEach((function(t){if(t.nodeType===Node.TEXT_NODE){var n=t.textContent.trim();if(n){var r=document.createElement("span");r.classList.add("text-wrapper"),r.innerHTML=n,e.replaceChild(r,t)}}else t.nodeType===Node.ELEMENT_NODE&&"SPAN"===t.tagName&&t.classList.add("text-wrapper")}))}))}},function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof r(e).Element||e instanceof Element}function o(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,"a",(function(){return Qe}));var s=Math.max,c=Math.min,l=Math.round;function u(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(u())}function d(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&o(e)&&(s=e.offsetWidth>0&&l(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&l(a.height)/e.offsetHeight||1);var u=(i(e)?r(e):window).visualViewport,d=!f()&&n,p=(a.left+(d&&u?u.offsetLeft:0))/s,h=(a.top+(d&&u?u.offsetTop:0))/c,y=a.width/s,m=a.height/c;return{width:y,height:m,top:h,right:p+y,bottom:h+m,left:p,x:p,y:h}}function p(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function y(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return d(y(e)).left+p(e).scrollLeft}function v(e){return r(e).getComputedStyle(e)}function b(e){var t=v(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function g(e,t,n){void 0===n&&(n=!1);var i,a,s=o(t),c=o(t)&&function(e){var t=e.getBoundingClientRect(),n=l(t.width)/e.offsetWidth||1,r=l(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=y(t),f=d(e,c,n),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(s||!s&&!n)&&(("body"!==h(t)||b(u))&&(v=(i=t)!==r(i)&&o(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:p(i)),o(t)?((g=d(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):u&&(g.x=m(u))),{x:f.left+v.scrollLeft-g.x,y:f.top+v.scrollTop-g.y,width:f.width,height:f.height}}function w(e){var t=d(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function S(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||y(e)}function E(e,t){var n;void 0===t&&(t=[]);var i=function e(t){return["html","body","#document"].indexOf(h(t))>=0?t.ownerDocument.body:o(t)&&b(t)?t:e(S(t))}(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),s=r(i),c=a?[s].c
vendor: 6,370 bytes, line 1
1oncat(s.visualViewport||[],b(i)?i:[]):i,l=t.concat(c);return a?l:l.concat(E(S(c)))}function L(e){return["table","td","th"].indexOf(h(e))>=0}function C(e){return o(e)&&"fixed"!==v(e).position?e.offsetParent:null}function x(e){for(var t=r(e),n=C(e);n&&L(n)&&"static"===v(n).position;)n=C(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===v(n).position)?t:n||function(e){var t=/firefox/i.test(u());if(/Trident/i.test(u())&&o(e)&&"fixed"===v(e).position)return null;var n=S(e);for(a(n)&&(n=n.host);o(n)&&["html","body"].indexOf(h(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var A="top",_="bottom",O="right",T="left",k=[A,_,O,T],V=k.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),j=[].concat(k,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),P=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function M(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var i=t.get(r);i&&e(i)}})),r.push(i)}(e)})),r}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function N(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?q:o;return function(e,t,n){void 0===n&&(n=a);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,f={state:c,setOptions:function(n){var o="function"==typeof n?n(c.options):n;d(),c.options=Object.assign({},a,c.options,o),c.scrollParents={reference:i(e)?E(e):e.contextElement?E(e.contextElement):[],popper:E(t)};var s,u,p=function(e){var t=M(e);return P.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(r,c.options.modifiers),u=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return c.orderedModifiers=p.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:c,name:t,instance:f,options:r});l.push(o||function(){})}})),f.update()},forceUpdate:function(){if(!u){var e=c.elements,t=e.reference,n=e.popper;if(U(t,n)){c.rects={reference:g(t,x(n),"fixed"===c.options.strategy),popper:w(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var i=c.orderedModifiers[r],o=i.fn,a=i.options,s=void 0===a?{}:a,l=i.name;"function"==typeof o&&(c=o({state:c,options:s,name:l,instance:f})||c)}else c.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(c)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){d(),u=!0}};if(!U(e,t))return f;function d(){l.forEach((function(e){return e()})),l=[]}return f.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var D={passive:!0};function B(e){return e.split("-")[0]}function H(e){return e.split("-")[1]}function F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function I(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?B(i):null,a=i?H(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case A:t={x:s,y:n.y-r.height};break;case _:t={x:s,y:n.y+n.height};break;case O:t={x:n.x+n.width,y:c};break;case T:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=o?F(o):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case"start":t[l]=t[l]-(n[u]/2-r[u]/2);break;case"end":t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}var G={top:"auto",right:"auto",bottom:"auto",left:"auto"};function R(e){var t,n=e.popper,i=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=s.x,m=void 0===h?0:h,b=s.y,g=void 0===b?0:b,w="function"==typeof d?d({x:m,y:g}):{x:m,y:g};m=w.x,g=w.y;var S=s.hasOwnProperty("x"),E=s.hasOwnProperty("y"),L=T,C=A,k=window;if(f){var V=x(n),j="clientHeight",P="clientWidth";if(V===r(n)&&"static"!==v(V=y(n)).position&&"absolute"===c&&(j="scrollHeight",P="scrollWidth"),V=V,o===A||(o===T||o===O)&&"end"===a)C=_,g-=(p&&V===k&&k.visualViewport?k.visualViewport.height:V[j])-i.height,g*=u?1:-1;if(o===T||(o===A||o===_)&&"end"===a)L=O,m-=(p&&V===k&&k.visualViewport?k.visualViewport.width:V[P])-i.width,m*=u?1:-1}var M,q=Object.assign({position:c},f&&G),U=!0===d?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:l(n*i)/i||0,y:l(r*i)/i||0}}({x:m,y:g},r(n)):{x:m,y:g};return m=U.x,g=U.y,u?Object.assign({},q,((M={})[C]=E?"0":"",M[L]=S?"0":"",M.transform=(k.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",M)):Object.assign({},q,((t={})[C]=E?g+"px":"",t[L]=S?m+"px":"",t.transform="",t))}var W={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&&h(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});
vendor: 10,108 bytes, line 1
1o(r)&&h(r)&&(Object.assign(r.style,a),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var $={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,(function(e){return $[e]}))}var Y={start:"end",end:"start"};function z(e){return e.replace(/start|end/g,(function(e){return Y[e]}))}function K(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function J(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Q(e,t,n){return"viewport"===t?J(function(e,t){var n=r(e),i=y(e),o=n.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,l=0;if(o){a=o.width,s=o.height;var u=f();(u||!u&&"fixed"===t)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:c+m(e),y:l}}(e,n)):i(t)?function(e,t){var n=d(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):J(function(e){var t,n=y(e),r=p(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=s(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-r.scrollLeft+m(e),l=-r.scrollTop;return"rtl"===v(i||n).direction&&(c+=s(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:c,y:l}}(y(e)))}function Z(e,t,n,r){var a="clippingParents"===t?function(e){var t=E(S(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&o(e)?x(e):e;return i(n)?t.filter((function(e){return i(e)&&K(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),l=[].concat(a,[n]),u=l[0],f=l.reduce((function(t,n){var i=Q(e,n,r);return t.top=s(i.top,t.top),t.right=c(i.right,t.right),t.bottom=c(i.bottom,t.bottom),t.left=s(i.left,t.left),t}),Q(e,u,r));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function ee(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function te(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ne(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,s=void 0===a?e.strategy:a,c=n.boundary,l=void 0===c?"clippingParents":c,u=n.rootBoundary,f=void 0===u?"viewport":u,p=n.elementContext,h=void 0===p?"popper":p,m=n.altBoundary,v=void 0!==m&&m,b=n.padding,g=void 0===b?0:b,w=ee("number"!=typeof g?g:te(g,k)),S="popper"===h?"reference":"popper",E=e.rects.popper,L=e.elements[v?S:h],C=Z(i(L)?L:L.contextElement||y(e.elements.popper),l,f,s),x=d(e.elements.reference),T=I({reference:x,element:E,strategy:"absolute",placement:o}),V=J(Object.assign({},E,T)),j="popper"===h?V:x,P={top:C.top-j.top+w.top,bottom:j.bottom-C.bottom+w.bottom,left:C.left-j.left+w.left,right:j.right-C.right+w.right},M=e.modifiersData.offset;if("popper"===h&&M){var q=M[o];Object.keys(P).forEach((function(e){var t=[O,_].indexOf(e)>=0?1:-1,n=[A,_].indexOf(e)>=0?"y":"x";P[e]+=q[n]*t}))}return P}function re(e,t,n){return s(e,c(t,n))}function ie(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function oe(e){return[A,O,_,T].some((function(t){return e[t]>=0}))}var ae=N({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,a=void 0===o||o,s=i.resize,c=void 0===s||s,l=r(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,D)})),c&&l.addEventListener("resize",n.update,D),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,D)})),c&&l.removeEventListener("resize",n.update,D)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=I({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,l={placement:B(t.placement),variation:H(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,R(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,R(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},W,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=j.reduce((function(e,n){return e[n]=function(e,t,n){var r=B(e),i=[T,A].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[T,O].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,y=n.allowedAutoPlacements,m=t.options.placement,v=B(m),b=c||(v===m||!h?[X(m)]:function(e){if("auto"===B(e))return[];var t=X(e);return[z(e),t,z(t)]}(m)),g=[m].concat(b).reduce((function(e,n){return e.concat("auto"===B(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?j:c,u=H(r),f=u?s?V:V.filter((function(e){return H(e)===u})):k,d=f.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=ne(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[B(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:y}):n)}),[]),w=t.rects.reference,S=t.rects.popper,E=new Map,L=!0,C=g[0],x=0;x<g.length;x++){var P=g[x],M=B(P),q="start"===H(P),U=[A,_].indexOf(M)>=0,N=U?"width":"height",D=ne(t,{placement:P,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),F=U?q?O:T:q?_:A;w[N]>S[N]&&(F=X(F));var I=X(F),G=[];if(o&&G.push(D[M]<=0),s&&G.push(D[F]<=0,D[I]<=0),G.every((function(e){return e}))){C=P,L=!1;break}E.set(P,G)}if(L)for(var R=function(e){var t=g.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},W=h?3:1;W>0;W--){if("break"===R(W))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,l=void 0!==a&&a,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.padding,h=n.tether,y=void 0===h||h,m=n.tetherOffset,v=void 0===m?0:m,b=ne(t,{boundary:u,rootBoundary:f,padding:p,altBoundary:d}),g=B(t.placement),S=H(t.placement),E=!S,L=F(g),C="x"===L?"y":"x",k=t.modifiersData.popperOffsets,V=t.rects.reference,j=t.rects.popper,P="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,M="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),q=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,U={x:0,y:0};if(k){if(o){var N,D="y"===L?A:T,I="y"===L?_:O,G="y"===L?"height":"width",R=k[L],W=R+b[D],$=R-b[I],X=y?-j[G]/2:0,Y="start"===S?V[G]:j[G],z="start"===S?-j[G]:-V[G],K=t.elements.arrow,J=y&&K?w(K):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=Q[D],ee=Q[I],te=re(0,V[G],J[G]),ie=E?V[G]/2-X-te-Z-M.mainAxis:Y-te-Z-M.mainAxis,oe=E?-V[G]/2+X+te+ee+M.mainAxis:z+te+ee+M.mainAxis,ae=t.elements.arrow&&x(t.elements.arrow),se=ae?"y"===L?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(N=null==q?void 0:q[L])?N:0,le=R+oe-ce,ue=re(y?c(W,R+ie-ce-se):W,R,y?s($,le):$);k[L]=ue,U[L]=ue-R}if(l){var fe,de="x"===L?A:T,pe="x"===L?_:O,he=k[C],ye="y"===C?"height":"width",me=he+b[de],ve=he-b[pe],be=-1!==[A,T].indexOf(g),ge=null!=(fe=null==q?void 0:q[C])?fe:0,we=be?me:he-V[ye]-j[ye]-ge+M.altAxis,Se=be?he+V[ye]+j[ye]-ge-M.altAxis:ve,Ee=y&&be?function(e,t,n){var r=re(e,t,n);return r>n?n:r}(we,he,Se):re(y?we:me,he,y?Se:ve);k[C]=Ee,U[C]=Ee-he}t.modifiersData[r]=U}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=B(n.placement),c=F(s),l=[T,O].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return ee("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:te(e,k))}(i.padding,n),f=w(o),d="y"===c?A:T,p="y"===c?_:O,h=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],y=a[c]-n.rects.reference[c],m=x(o),v=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,b=h/2-y/2,g=u[d],S=v-f[l]-u[p],E=v/2-f[l]/2+b,L=re(g,E,S),C=c;n.modifiersData[r]=((t={})[C]=L,t.centerOffset=L-E,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&K(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.re
vendor: 6,496 bytes, line 1
1cts.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=ne(t,{elementContext:"reference"}),s=ne(t,{altBoundary:!0}),c=ie(a,r),l=ie(s,i,o),u=oe(c),f=oe(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),se={passive:!0,capture:!0},ce=function(){return document.body};function le(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ue(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function fe(e,t){return"function"==typeof e?e.apply(void 0,t):e}function de(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function pe(e){return[].concat(e)}function he(e,t){-1===e.indexOf(t)&&e.push(t)}function ye(e){return e.split("-")[0]}function me(e){return[].slice.call(e)}function ve(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function be(){return document.createElement("div")}function ge(e){return["Element","Fragment"].some((function(t){return ue(e,t)}))}function we(e){return ue(e,"MouseEvent")}function Se(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Ee(e){return ge(e)?[e]:function(e){return ue(e,"NodeList")}(e)?me(e):Array.isArray(e)?e:me(document.querySelectorAll(e))}function Le(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ce(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function xe(e){var t,n=pe(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Ae(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function _e(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Oe={isTouch:!1},Te=0;function ke(){Oe.isTouch||(Oe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ve))}function Ve(){var e=performance.now();e-Te<20&&(Oe.isTouch=!1,document.removeEventListener("mousemove",Ve)),Te=e}function je(){var e=document.activeElement;if(Se(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Pe=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Me={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},qe=Object.assign({appendTo:ce,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Me,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Ue=Object.keys(qe);function Ne(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=qe[i])?r:o);return t}),{});return Object.assign({},e,t)}function De(e,t){var n=Object.assign({},t,{content:fe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ne(Object.assign({},qe,{plugins:t}))):Ue).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},qe.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Be(e,t){e.innerHTML=t}function He(e){var t=be();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",ge(e)?t.appendChild(e):Be(t,e)),t}function Fe(e,t){ge(t.content)?(Be(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Be(e,t.content):e.textContent=t.content)}function Ie(e){var t=e.firstElementChild,n=me(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Ge(e){var t=be(),n=be();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=be();function i(n,r){var i=Ie(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Fe(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(He(r.arrow))):o.appendChild(He(r.arrow)):s&&o.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),Fe(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Ge.$$tippy=!0;var Re=1,We=[],$e=[];function Xe(e,t){var n,r,i,o,a,s,c,l,u=De(e,Object.assign({},qe,Ne(ve(t)))),f=!1,d=!1,p=!1,h=!1,y=[],m=de(X,u.interactiveDebounce),v=Re++,b=(l=u.plugins).filter((function(e,t){return l.indexOf(e)===t})),g={id:v,reference:e,popper:be(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){0;if(g.state.isDestroyed)return;P("onBeforeUpdate",[g,t]),W();var n=g.props,r=De(e,Object.assign({},n,ve(t),{ignoreAttributes:!0}));g.props=r,R(),n.interactiveDebounce!==r.interactiveDebounce&&(U(),m=de(X,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?pe(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");q(),j(),E&&E(n,r);
vendor: 8,403 bytes, line 1
1g.popperInstance&&(J(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));P("onAfterUpdate",[g,t])},setContent:function(e){g.setProps({content:e})},show:function(){0;var e=g.state.isVisible,t=g.state.isDestroyed,n=!g.state.isEnabled,r=Oe.isTouch&&!g.props.touch,i=le(g.props.duration,0,qe.duration);if(e||t||n||r)return;if(O().hasAttribute("disabled"))return;if(P("onShow",[g],!1),!1===g.props.onShow(g))return;g.state.isVisible=!0,_()&&(S.style.visibility="visible");j(),H(),g.state.isMounted||(S.style.transition="none");if(_()){var o=k(),a=o.box,c=o.content;Le([a,c],0)}s=function(){var e;if(g.state.isVisible&&!h){if(h=!0,S.offsetHeight,S.style.transition=g.props.moveTransition,_()&&g.props.animation){var t=k(),n=t.box,r=t.content;Le([n,r],i),Ce([n,r],"visible")}M(),q(),he($e,g),null==(e=g.popperInstance)||e.forceUpdate(),P("onMount",[g]),g.props.animation&&_()&&function(e,t){I(e,t)}(i,(function(){g.state.isShown=!0,P("onShown",[g])}))}},function(){var e,t=g.props.appendTo,n=O();e=g.props.interactive&&t===ce||"parent"===t?n.parentNode:fe(t,[n]);e.contains(S)||e.appendChild(S);g.state.isMounted=!0,J(),!1}()},hide:function(){0;var e=!g.state.isVisible,t=g.state.isDestroyed,n=!g.state.isEnabled,r=le(g.props.duration,1,qe.duration);if(e||t||n)return;if(P("onHide",[g],!1),!1===g.props.onHide(g))return;g.state.isVisible=!1,g.state.isShown=!1,h=!1,f=!1,_()&&(S.style.visibility="hidden");if(U(),F(),j(!0),_()){var i=k(),o=i.box,a=i.content;g.props.animation&&(Le([o,a],r),Ce([o,a],"hidden"))}M(),q(),g.props.animation?_()&&function(e,t){I(e,(function(){!g.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&t()}))}(r,g.unmount):g.unmount()},hideWithInteractivity:function(e){0;T().addEventListener("mousemove",m),he(We,m),m(e)},enable:function(){g.state.isEnabled=!0},disable:function(){g.hide(),g.state.isEnabled=!1},unmount:function(){0;g.state.isVisible&&g.hide();if(!g.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),S.parentNode&&S.parentNode.removeChild(S);$e=$e.filter((function(e){return e!==g})),g.state.isMounted=!1,P("onHidden",[g])},destroy:function(){0;if(g.state.isDestroyed)return;g.clearDelayTimeouts(),g.unmount(),W(),delete e._tippy,g.state.isDestroyed=!0,P("onDestroy",[g])}};if(!u.render)return g;var w=u.render(g),S=w.popper,E=w.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+g.id,g.popper=S,e._tippy=g,S._tippy=g;var L=b.map((function(e){return e.fn(g)})),C=e.hasAttribute("aria-expanded");return R(),q(),j(),P("onCreate",[g]),u.showOnCreate&&ee(),S.addEventListener("mouseenter",(function(){g.props.interactive&&g.state.isVisible&&g.clearDelayTimeouts()})),S.addEventListener("mouseleave",(function(){g.props.interactive&&g.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",m)})),g;function x(){var e=g.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===x()[0]}function _(){var e;return!(null==(e=g.props.render)||!e.$$tippy)}function O(){return c||e}function T(){var e=O().parentNode;return e?xe(e):document}function k(){return Ie(S)}function V(e){return g.state.isMounted&&!g.state.isVisible||Oe.isTouch||o&&"focus"===o.type?0:le(g.props.delay,e?0:1,qe.delay)}function j(e){void 0===e&&(e=!1),S.style.pointerEvents=g.props.interactive&&!e?"":"none",S.style.zIndex=""+g.props.zIndex}function P(e,t,n){var r;(void 0===n&&(n=!0),L.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=g.props)[e].apply(r,t)}function M(){var t=g.props.aria;if(t.content){var n="aria-"+t.content,r=S.id;pe(g.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(g.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function q(){!C&&g.props.aria.expanded&&pe(g.props.triggerTarget||e).forEach((function(e){g.props.interactive?e.setAttribute("aria-expanded",g.state.isVisible&&e===O()?"true":"false"):e.removeAttribute("aria-expanded")}))}function U(){T().removeEventListener("mousemove",m),We=We.filter((function(e){return e!==m}))}function N(t){if(!Oe.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!g.props.interactive||!_e(S,n)){if(pe(g.props.triggerTarget||e).some((function(e){return _e(e,n)}))){if(Oe.isTouch)return;if(g.state.isVisible&&g.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[g,t]);!0===g.props.hideOnClick&&(g.clearDelayTimeouts(),g.hide(),d=!0,setTimeout((function(){d=!1})),g.state.isMounted||F())}}}function D(){p=!0}function B(){p=!1}function H(){var e=T();e.addEventListener("mousedown",N,!0),e.addEventListener("touchend",N,se),e.addEventListener("touchstart",B,se),e.addEventListener("touchmove",D,se)}function F(){var e=T();e.removeEventListener("mousedown",N,!0),e.removeEventListener("touchend",N,se),e.removeEventListener("touchstart",B,se),e.removeEventListener("touchmove",D,se)}function I(e,t){var n=k().box;function r(e){e.target===n&&(Ae(n,"remove",r),t())}if(0===e)return t();Ae(n,"remove",a),Ae(n,"add",r),a=r}function G(t,n,r){void 0===r&&(r=!1),pe(g.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),y.push({node:e,eventType:t,handler:n,options:r})}))}function R(){var e;A()&&(G("touchstart",$,{passive:!0}),G("touchend",Y,{passive:!0})),(e=g.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(G(e,$),e){case"mouseenter":G("mouseleave",Y);break;case"focus":G(Pe?"focusout":"blur",z);break;case"focusin":G("focusout",z)}}))}function W(){y.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),y=[]}function $(e){var t,n=!1;if(g.state.isEnabled&&!K(e)&&!d){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,q(),!g.state.isVisible&&we(e)&&We.forEach((function(t){return t(e)})),"click"===e.type&&(g.props.trigger.indexOf("mouseenter")<0||f)&&!1!==g.props.hideOnClick&&g.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function X(e){var t=e.target,n=O().contains(t)||S.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=ye(i.placement),s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,l="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,f="left"===a?s.right.x:0,d=t.top-r+c>o,p=r-t.bottom-l>o,h=t.left-n+u>o,y=n-t.right-f>o;return d||p||h||y}))}(Z().concat(S).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean),e)&&(U(),te(e))}function Y(e){K(e)||g.props.trigger.indexOf("click")>=0&&f||(g.props.interactive?g.hideWithInteractivity(e):te(e))}function z(e){g.props.trigger.indexOf("focusin")<0&&e.target!==O()||g.props.interactive&&e.relatedTarget&&S.contains(e.relatedTarget)||te(e)}function K(e){return!!Oe.isTouch&&A()!==e.type.indexOf("touch")>=0}function J(){Q();var t=g.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=_()?Ie(S).arrow:null,l=o?{getBoundingClientRect:o,contextElement:o.contextElement||O()}:e,u=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(_()){var n=k().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];_()&&c&&u.push({name:"arrow",options:{element:c,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),g.popperInstance=ae(l,S,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:u}))}function Q(){g.popperInstance&&(g.popperInstance.destroy(),g.popperInstance=null)}function Z(){return me(S.querySelectorAll("[data-tippy-root]"))}function ee(e){g.clearDelayTimeouts(),e&&P("onTrigger",[g,e]),H();var t=V(!0),r=x(),i=r[0],o=r[1];Oe.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){g.show()}),t):g.show()}function te(e){if(g.clearDelayTimeouts(),P("onUntrigger",[g,e]),g.state.isVisible){if(!(g.props.trigger.indexOf("mou
1seenter")>=0&&g.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=V(!1);t?r=setTimeout((function(){g.state.isVisible&&g.hide()}),t):i=requestAnimationFrame((function(){g.hide()}))}}else F()}}function Ye(e,t){void 0===t&&(t={});var n=qe.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",ke,se),window.addEventListener("blur",je);var r=Object.assign({},t,{plugins:n}),i=Ee(e).reduce((function(e,t){var n=t&&Xe(t,r);return n&&e.push(n),e}),[]);return ge(e)?i[0]:i}Ye.defaultProps=qe,Ye.setDefaultProps=function(e){Object.keys(e).forEach((function(t){qe[t]=e[t]}))},Ye.currentInput=Oe;Object.assign({},W,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});Ye.setDefaultProps({render:Ge});var ze=Ye;function Ke(e){return function(e){if(Array.isArray(e))return Je(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Je(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Je(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Qe(){function e(){document.querySelectorAll(".tooltip__container").forEach((function(e){var t,n=e.querySelector(".text-wrapper, .tooltip__icon")||e;if(!n._tippy){n.getAttribute("role")||n.setAttribute("role","button"),n.hasAttribute("tabindex")||n.setAttribute("tabindex","0");var r=e.querySelector(".tooltip__base"),i=(null==r?void 0:r.querySelector("a"))||(null==r?void 0:r.querySelector(".btn")),o=Ke(e.classList).find((function(e){return e.startsWith("tooltip--")})),a=o?o.split("--")[1]:"top",s=Ke(e.classList).find((function(e){return e.startsWith("tooltip__dark")})),c=null!=r&&null!==(t=r.dataset)&&void 0!==t&&t.delay?Number(r.dataset.delay):0;ze(n,{content:"",allowHTML:!0,placement:a,theme:s?"dark":"light",maxWidth:320,interactive:!!i,zIndex:9999,trigger:"mouseenter click",delay:c,aria:{content:"describedby",expanded:!1},popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top","right"]}}]},onShow:function(t){var n=e.querySelector(".tooltip__base");t.setContent(n?n.innerHTML:"")}})}}))}e(),new MutationObserver((function(){e()})).observe(document.body,{childList:!0,subtree:!0})}},,,,,,function(e,t,n){"use strict";n.r(t);var r=n(6),i=n(4),o=n(5),a=n(0);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return t.querySelectorAll(e)}var c=[],l=function(e,t,n){if(!c.includes(e)){c.push(e);var r=Object(a.a)(".holder",e),i=Object(a.a)(".holder__input",e),o=s(".select__options li",e),l=Object(a.a)(".select__dropdown",e),u=Array.from(o).find((function(e){return e.classList.contains("current")})),f=u||o[0],d=Object(a.a)(".select__options__search",e),p=Object(a.a)(".select__options__search input",e),h=Object(a.a)(".current",e),y=-1,m=Array.from(o),v=function(){return m.filter((function(e){return"none"!==e.style.display&&!e.classList.contains("hidden")}))},b=function(e){var t=v();t.forEach((function(e){e.classList.remove("keyboard-focused")})),e>=0&&e<t.length?(t[y=e].classList.add("keyboard-focused"),t[y].scrollIntoView({block:"nearest"})):y=-1};h&&(r.innerHTML=h.innerHTML,i.values=/select/i.test(r.textContent)?"":h.dataset.val),u||f.classList.add("current"),function(e,t){document.addEventListener(e,t)}("click",(function(){e.classList.remove("active"),y=-1,b(-1)})),document.addEventListener("keydown",(function(t){if(e.classList.contains("active")){t.stopPropagation();var n=v();switch(t.key){case"ArrowDown":t.preventDefault(),y<n.length-1&&b(y+1);break;case"ArrowUp":t.preventDefault(),y>0&&b(y-1);break;case"Enter":t.preventDefault(),function(){var e=v();y>=0&&y<e.length&&e[y].click()}();break;case"Escape":t.preventDefault(),e.classList.remove("active"),y=-1,b(-1);break;case"Home":t.preventDefault(),b(0);break;case"End":t.preventDefault(),b(n.length-1)}}}),!0),r.hasAttribute("tabindex")||r.setAttribute("tabindex","0"),r.addEventListener("click",(function(n){if(n.stopPropagation(),0==e.getAttribute("data-click")&&e.setAttribute("data-click",1),e.classList.contains("active"))e.classList.remove("active"),y=-1,b(-1);else{for(var i=0;i<t.length;i++)t[i].classList.remove("active");
1c.forEach((function(e){e.classList.remove("active"),s(".select__options li",e).forEach((function(e){e.classList.remove("keyboard-focused")}))})),s(".select").forEach((function(e){e.classList.remove("active"),s(".select__options li",e).forEach((function(e){e.classList.remove("keyboard-focused")}))})),e.classList.add("active"),y=-1,b(-1),d?p.focus():r.focus()}})),o.forEach((function(t){t.addEventListener("click",(function(){f.classList.remove("current"),f=t,t.classList.add("current"),r.innerHTML=t.innerHTML,i.value=t.dataset.val;var e=new Event("input",{bubbles:!0,cancelable:!0});i.dispatchEvent(e),l.classList.toggle("active"),y=-1,b(-1),null!=f.getAttribute("data-link")&&null!=f.getAttribute("data-link")&&(window.location.href=f.getAttribute("data-link")),n&&n(t)})),t.addEventListener("mouseenter",(function(){if(e.classList.contains("active")){var n=v().indexOf(t);n>=0&&b(n)}}))})),d&&(d.addEventListener("click",(function(e){e.stopPropagation()})),p.value="",p.addEventListener("input",(function(e){var t=e.target.value,n=new RegExp("(".concat(t,")"),"gi"),r='<span class="highlighted">$1</span>';m=[];var i,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(o);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(s.classList.contains("calc_search_li")){var c=s.querySelector(".calc_li_text_content").innerText;n.test(c)&&!s.classList.contains("used")?(s.style.display="block",s.querySelector(".calc_li_text_content").innerHTML=c.replace(n,r),m.push(s)):s.style.display="none"}else n.test(s.innerText)?(s.style.display="block",s.innerHTML=s.innerText.replace(n,r),m.push(s)):s.style.display="none"}}catch(e){a.e(e)}finally{a.f()}y=-1,b(-1)})),p.addEventListener("keydown",(function(t){if(e.classList.contains("active")||e.classList.add("active"),"ArrowDown"===t.key)t.preventDefault(),b(0);else if("ArrowUp"===t.key){t.preventDefault();var n=v();b(n.length-1)}else"Escape"===t.key&&(t.preventDefault(),e.classList.remove("active"),y=-1,b(-1))})))}},u=function(e){var t=s(".country-select-search");if(t&&t.length)for(var n=0;n<t.length;n++)l(t[n],t,e)},f=n(1),d=n(2);var p=function(){var e=Object(a.a)(".collapsible-lines");if(e&&!e.closest("#featuresModal.vesr-2026")){var t,n,r;n=Object(a.a)(".collapse-btn"),r=document.querySelectorAll(".collapsible-line"),n&&(void 0!==t?(n.classList.toggle("expand",t),r.forEach((function(e){return e.classList.toggle("opened",t)})),n.toggleAttribute("disabled",t)):n.addEventListener("click",(function(){var e=n.classList.contains("expand");n.classList.toggle("expand"),r.forEach((function(t){return t.classList.toggle("opened",!e)}))})));var i=Object(a.b)(".collapsible-header"),o=null;i.forEach((function(e,t){e.addEventListener("click",(function(){!function(e){var t=e.element,n=e.scrollingToElement,r=t.parentElement;r.classList.contains("opened")?r.classList.remove("opened"):((o=t.nextSibling.nextElementSibling).style.height="".concat(o.scrollHeight,"px"),r.classList.add("opened"),n&&setTimeout((function(){Object(d.a)(r)}),250))}({element:e,scrollingToElement:!0})}))})),window.addEventListener("resize",(function(){o&&(o.style.height="auto",o.style.height="".concat(o.scrollHeight,"px"))}),!0)}};function h(e,t){var n=e.replace(/^\D+/g,"");return""===n||isNaN(n)?e:"".concat({USD:"$",GBP:"£",AUD:"A$",EUR:"€"}[t]).concat(Number(Number(n).toFixed(3)).toPrecision())}function y(e){var t=e.replace(/^\D+/g,"");return""===t||isNaN(t)?0:Number(t)}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,g(r.key),r)}}function b(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function g(e){var t=function(e,t){if("object"!=m(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==m(t)?t:t+""}var w=b((function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sms=h(t.sms,n),this.byoc=h(t.byoc,n),this.mms=h(t.mms,n),this.tts=h(t.tts,n),this.vbc=h(t.vbc,n),this.outbound_call=h(t.outbound_call,n),this.inbound=h(t.inbound,n),this.inbound_call=h(t.inbound_call,n),this.email_lookup=h(t.email_lookup,n),this.carrier_lookup=h(t.carrier_lookup,n),this.receive=h(t.receive,n),this.byoc_receive=h(t.byoc_receive,n),this.ten_dlc_brand=h(t["10dlc_brand"],n),this.ten_dlc_registration=h(t["10dlc_registration"],n),this.sender_id=h(t.sender_id,n),this.email=h(t.email,n),this.messenger=h(t.messenger,n),this.helpdesk=h(t.helpdesk,n),this.livechat=h(t.livechat,n),this.pipeline=h(t.pipeline,n),this.numbers={sms:y(t.sms),byoc:y(t.byoc),mms:y(t.mms),tts:y(t.tts),vbc:y(t.vbc),outbound_call:y(t.outbound_call),inbound:y(t.inbound),inbound_call:y(t.inbound_call),email_lookup:y(t.email_lookup),carrier_lookup:y(t.carrier_lookup),receive:y(t.receive),byoc_receive:y(t.byoc_receive),ten_dlc_brand:y(t["10dlc_brand"]),ten_dlc_registration:y(t["10dlc_registration"]),sender_id:y(t.sender_id),email:y(t.email),messenger:y(t.messenger),helpdesk:y(t.helpdesk),livechat:y(t.livechat),pipeline:y(t.pipeline)}}));function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C(r.key),r)}}function L(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function C(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}var x=L((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.allow_dedicated=t.allow_dedicated,this.allowed=t.allowed,this.default_currency=t.default_currency,this.prices=[],t.prices.AUD&&(this.prices.AUD=new w(t.prices.AUD,"AUD")),t.prices.EUR&&(this.prices.EUR=new w(t.prices.EUR,"EUR")),t.prices.GBP&&(this.prices.GBP=new w(t.prices.GBP,"GBP")),t.prices.USD&&(this.prices.USD=new w(t.prices.USD,"USD"))}));function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}
vendor: 4,159 bytes, line 1
1try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),s=new V(r||[]);return i(a,"_invoke",{value:x(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="executing",h="completed",y={};function m(){}function v(){}function b(){}var g={};l(g,a,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(j([])));S&&S!==n&&r.call(S,a)&&(g=S);var E=b.prototype=m.prototype=Object.create(g);function L(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,o,a,s){var c=f(e[i],e,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==A(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function x(t,n,r){var i=d;return function(o,a){if(i===p)throw Error("Generator is already running");if(i===h){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=O(s,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var l=f(t,n,r);if("normal"===l.type){if(i=r.done?h:"suspendedYield",l.arg===y)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=h,r.method="throw",r.arg=l.arg)}}}function O(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function j(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(A(t)+" is not iterable")}return v.prototype=b,i(E,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:v,configurable:!0}),v.displayName=l(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,c,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},L(C.prototype),l(C.prototype,s,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new C(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},L(E),l(E,c,"Generator"),l(E,a,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=j,V.prototype={constructor:V,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
1h(k),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function O(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){O(o,r,i,a,s,"next",e)}function s(e){O(o,r,i,a,s,"throw",e)}a(void 0)}))}}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,V(r.key),r)}}function V(e){var t=function(e,t){if("object"!=A(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==A(t)?t:t+""}var j=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getApiBaseUrl",value:function(){return"3000"===window.location.port?"/api/textmagic":"https://rest.textmagic.com"}},{key:"fetch",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(T(_().mark((function e(){var t;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(this.getApiBaseUrl(),"/pricing-info"),{headers:{Accept:"application/json"}});case 3:return t=e.sent,e.next=6,t.json();case 6:return e.abrupt("return",e.sent);case 9:return e.prev=9,e.t0=e.catch(0),console.error("Error fetching pricing info:",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,this,[[0,9]])}))))},{key:"fetchByCountryWithVolume",value:(r=T(_().mark((function e(t){var n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(this.getApiBaseUrl(),"/plans-pricing-info?country=").concat(t),{headers:{Accept:"application/json"}});case 3:return n=e.sent,e.next=6,n.json();case 6:return e.abrupt("return",e.sent);case 9:return e.prev=9,e.t0=e.catch(0),console.error("Error fetching pricing info with volume by country:",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return r.apply(this,arguments)})}])&&k(e.prototype,t),n&&k(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,r}();function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,q(r.key),r)}}function q(e){var t=function(e,t){if("object"!=P(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==P(t)?t:t+""}var U=function(){return e=function e(t,n,r,i,o,a,s){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.prices=t.prices[r],this.pricesByVolume=s,this.country=n,this.smsVolume=i,this.emailsVolume=o,this.type=a,this.currencyMap={USD:"$",GBP:"£",AUD:"A$",EUR:"€"},this.currencyCentMap={USD:"¢",GBP:"p",AUD:"¢",EUR:"¢"}},(t=[{key:"calculate",value:function(){var e=this.calculateSmsPrice(),t=this.calculateEmailPrice(),n=e+t,r=this.prices.numbers.ten_dlc_registration+this.prices.numbers.ten_dlc_brand,i=document.body.classList.contains("no-sms-pricing");return"none"===this.type||i||(("tollfree"===this.type||"local"===this.type)&&this.smsVolume>0&&(n+=this.prices.numbers.inbound),"local"===this.type&&["US","PR"].includes(this.country)&&this.smsVolume>0&&(n+=this.prices.numbers.ten_dlc_registration+this.prices.numbers.ten_dlc_brand),"byoc"===this.type&&(n=this.prices.numbers.byoc*this.smsVolume+t,e=this.prices.numbers.byoc*this.smsVolume),"senderId"===this.type&&(n+=this.prices.numbers.sender_id)),e+t===0&&(n=0),{sms:this.formatPrice(e),email:this.formatPrice(t),total:this.formatPrice(n),tenDlc:this.formatPrice(r)}}},{key:"calculateSmsPrice",value:function(){return document.body.classList.contains("no-sms-pricing")?0:["US","CA","PR","GB","AU"].includes(this.country)?this.get
1SmsPriceNumberForVolume()*this.smsVolume:this.prices.numbers.sms*this.smsVolume}},{key:"getSmsPriceNumberForVolume",value:function(){var e,t;return null!==(e=null===(t=this.pricesByVolume[this.country])||void 0===t||null===(t=t.plans[this.smsVolume])||void 0===t?void 0:t.professional.outboundMessageCostNumber)&&void 0!==e?e:0}},{key:"getSmsPriceForVolume",value:function(){var e,t;return null!==(e=null===(t=this.pricesByVolume[this.country])||void 0===t||null===(t=t.plans[this.smsVolume])||void 0===t?void 0:t.professional.outboundMessageCost)&&void 0!==e?e:0}},{key:"getSmsPriceByVolume",value:function(e){var t,n;return null!==(t=null===(n=this.pricesByVolume[this.country])||void 0===n||null===(n=n.plans[e])||void 0===n?void 0:n.professional.outboundMessageCost)&&void 0!==t?t:0}},{key:"getSmsPriceNumberForTableVolume",value:function(){var e,t;return null!==(e=null===(t=this.pricesByVolume[tableCountryCode])||void 0===t||null===(t=t.plans[this.smsVolume])||void 0===t?void 0:t.professional.outboundMessageCostNumber)&&void 0!==e?e:0}},{key:"calculateEmailPrice",value:function(){var e=Math.max(0,this.emailsVolume-1e4);return this.prices.numbers.email*e}},{key:"getCurrencySymbol",value:function(e){return this.currencyMap[e]||e}},{key:"formatPrice",value:function(e){return Intl.NumberFormat("en-US").format(Number(parseFloat(e).toFixed(2)).toPrecision())}}])&&M(e.prototype,t),n&&M(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,B(r.key),r)}}function B(e){var t=function(e,t){if("object"!=N(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==N(t)?t:t+""}var H=function(){return e=function e(t,n,r,i,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.model=t,this.country=n,this.currency=r,this.pricing=i,this.appComponent=o,this.optionsContainer=document.querySelector("#selectFromType .input__content"),this.select=null,this.buildOptionsByCountry()},(t=[{key:"buildOptionsByCountry",value:function(){["US","PR"].includes(this.country)?(this.optionsContainer.innerHTML=this.getUSOptions(),this.pricing.setFromType("tollfree")):"CA"===this.country?(this.optionsContainer.innerHTML=this.getCAOptions(),this.pricing.setFromType("tollfree")):"GB"===this.country?(this.optionsContainer.innerHTML=this.getGBOptions(),this.pricing.setFromType("local")):"AU"===this.country?(this.optionsContainer.innerHTML=this.getAUOptions(),this.pricing.setFromType("local")):(this.optionsContainer.innerHTML=this.getUSOptions(),this.pricing.setFromType("none")),this.select=document.querySelector(".selectFromType"),this.addEventListeners(),Object(f.a)(),this.appComponent.toggleVisibility(this.pricing.fromType)}},{key:"addEventListeners",value:function(){var e=this;this.select.addEventListener("change",(function(t){e.appComponent.showLoading(),e.pricing.setFromType(t.target.value),e.appComponent.init(e.model,e.country,e.currency,e.pricing,!0),e.appComponent.toggleVisibility(t.target.value),e.appComponent.handleSupportedCountriesNonUsVisibility(e.country),window.dispatchEvent(new Event("scroll")),e.appComponent.handleLastItemVisibleBorder()}))}},{key:"getUSOptions",value:function(){return'<div class="select select-bordered"><div class="select__dropdown"><div class="holder">        <div class="country-line">            <div>                Toll-free number <span class="distinct--text">(8XX area codes)</span>            </div>        </div>    </div><input type="hidden" class="holder__input selectFromType" value="tollfree"></div><div class="select__options"><ul>    <li class="current" data-val="tollfree">        <div class="country-line">            <div>                Toll-free number <span class="distinct--text">(8XX area codes)</span>            </div>        </div>    </li>    <li class="" data-val="local">        <div class="country-line">            <div>                Local number <span class="distinct--text">(U.S area codes)</span>            </div>        </div>    </li>    <li class="" data-val="byoc">        <div class="country-line">            <div>                Existing number from Twilio <span class="distinct--text">(or Vonage / Sinch / Bandwidth)</span>            </div>        </div>    </li></ul></div></div>'}},{key:"getCAOptions",value:function(){return'<div class="select select-bordered"><div class="select__dropdown"><div class="holder">        <div class="country-line">            <div>                Toll-free number <span class="distinct--text">(8XX area codes)</span>            </div>        </div>    </div><input type="hidden" class="holder__input selectFromType" value="tollfree"></div><div class="select__options"><ul>    <li class="current" data-val="tollfree">        <div class="country-line">            <div>                Toll-free number <span class="distinct--text">(8XX area codes)</span>            </div>        </div>    </li>    <li class="" data-val="local">        <div class="country-line">            <div>                Local number <span class="distinct--text">(Canadian area codes)</span>            </div>        </div>    </li>    <li class="" data-val="byoc">        <div class="country-line">            <div>                Existing number from Twilio <span class="distinct--text">(or Vonage / Sinch / Bandwidth)</span>            </div>        </div>    </li></ul></div></div>'}},{key:"getGBOptions",value:function(){return'<div class="select select-bordered"><div class="select__dropdown"><div class="holder">        <div class="country-line">            <div>                Local number <span class="distinct--text">(+44 country code)</span>            </div>        </div>    </div><input type="hidden" class="holder__input selectFromType" value="local"></div><div class="select__options"><ul>    <li class="current" data-val="local">        <div class="country-line">            <div>                Local number <span class="distinct--text">(+44 country code)</span>            </div>        </div>    </li>    <li class="" data-val="senderId">        <div class="country-line">            <div>                Alphanumeric Sender ID <span class="distinct--text">(your company name)</span>            </div>        </div>    </li>    <li class="" data-val="byoc">        <div class="country-line">            <div>                Existing number from Twilio <span class="distinct--text">(or Vonage / Sinch / Bandwidth)</span>            </div>        </div>    </li></ul></div></div>'}},{key:"getAUOptions",value:function(){return'<div class="select select-bordered"><div class="select__dropdown"><div class="holder">        <div class="country-line">            <div>                Local number <span class="distinct--text">(+61 country code)</span>            </div>        </div>    </div><input type="hidden" class="holder__input selectFromType" value="local"></div><div class="select__options"><ul>    <li class="current" data-val="local">        <div class="country-line">            <div>                Local number <span class="distinct--text">(+61 country code)</span>            </div>        </div>    </li>    <li class="" data-val="senderId">        <div class="country-line">            <div>                Alphanumeric Sender ID <span class="distinct--text">(your company name)</span>            </div>        </div>    </li>    <li class="" data-val="byoc">        <div class="country-line">            <div>                Existing number from Twilio <span class="distinct--text">(or Vonage / Sinch / Bandwidth)</span>            </div>        </div>    </li></ul></div></div>'}}])&&D(e.prototype,t),n&&D(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function F(e){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return G(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,W(r.key),r)}}function W(e){var t=function(e,t){if("object"!=F(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==F(t)?t:t+""}var $=function(){return e=function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.appComponent=t,this.pricing=n,this.calculator=r,this.tableCountrySelect=document.querySelector(".table-country-select"),this.currency=document.querySelectorAll(".pricing-table-currency"),this.USVisiblity=document.querySelectorAll(".visibility-type-table-US"),this.CAVisiblity=document.querySelectorAll(".visibility-type-table-CA"),this.GBVisiblity=document.querySelectorAll(".visibility-type-table-GB"),this.AUVisiblity=document.querySelectorAll(".visibility-type-table-AU"),this.othersVisiblity=document.querySelectorAll(".visibility-type-table-others"),this.addEventListeners()},(t=[{key:"addEventListeners",value:function(){var e=this;if(this.tableCountrySelect){var t=function(n){var r=n.target.value.toUpperCase();tableCountryCode=r,e.pricing.setTableModel(),e.setTableData(),e.updateModalPrices(),e.handleTableVisibilityByCountry(r),e.tableCountrySelect&&e.tableCountrySelect.removeEventListener("input",t),e.appComponent.setPricingTable(e.pricing)};this.tableCountrySelect.removeEventListener("input",t),this.tableCountrySelect.addEventListener("input",t),this.updateModalPrices()}else console.log("PricingFullTable: .table-country-select element not found on this page")}},{key:"updateModalPrices",value:function(){var e=this,t=document.querySelector("#featuresModal");if(t&&t.classList.contains("vesr-2026")){var n=this.tableCountrySelect&&this.tableCountrySelect.value&&this.tableCountrySelect.value.trim(),r
1=(n||("undefined"!=typeof tableCountryCode?tableCountryCode:"US")).toUpperCase(),i=t.querySelector(".collapsible-lines"),o=this.getOpenedSectionTitlesFromModal(t),a="/?action=pricing_modal_features&country="+encodeURIComponent(r);fetch(a,{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}}).then((function(e){return e.text()})).then((function(n){i&&(i.innerHTML=n),e.fillModalPriceValues(t,o)})).catch((function(e){return console.warn("pricing-modal-features fetch failed",e)})).finally((function(){i&&setTimeout((function(){}),100)}))}else t&&this.pricing.tableModel&&this.fillModalPriceValues(t)}},{key:"fillModalPriceValues",value:function(e,t){if(e&&this.pricing.tableModel){var n=this.pricing.tableModel,r=n.default_currency,i=n.prices[r];if(i){e.querySelectorAll("[data-price-key]").forEach((function(e){var t=e.dataset.priceKey,n=i[t];if(null!=n){var r=e.querySelector(".custom-value-price");r?r.textContent=n:e.textContent=n}}));var o=this.calculator.getCurrencySymbol(r);if(e.querySelectorAll(".custom-currency-val").forEach((function(e){e.textContent=o})),e.classList.contains("vesr-2026")){if(Array.isArray(t)&&t.length>0){var a=new Set(t);e.querySelectorAll(".collapsible-line").forEach((function(e){var t=e.getAttribute("data-title");t&&a.has(t)&&e.classList.add("opened")}))}var s=e.querySelector(".collapse-btn"),c=e.querySelectorAll(".collapsible-line");if(s)if(s.removeAttribute("disabled"),c.length>0){var l=e.querySelectorAll(".collapsible-line.opened").length===c.length;s.classList.toggle("expand",l)}else s.classList.remove("expand")}}}}},{key:"getOpenedSectionTitlesFromModal",value:function(e){return e&&e.classList.contains("vesr-2026")?Array.from(e.querySelectorAll(".collapsible-line.opened")).map((function(e){return e.getAttribute("data-title")||""})).filter((function(e){return e.length>0})):[]}},{key:"handleTableVisibilityByCountry",value:function(e){var t,n,r,i={US:{toShow:this.USVisiblity,toHide:[].concat(I(this.CAVisiblity),I(this.GBVisiblity),I(this.AUVisiblity),I(this.othersVisiblity))},CA:{toShow:this.CAVisiblity,toHide:[].concat(I(this.USVisiblity),I(this.GBVisiblity),I(this.AUVisiblity),I(this.othersVisiblity))},GB:{toShow:this.GBVisiblity,toHide:[].concat(I(this.USVisiblity),I(this.CAVisiblity),I(this.AUVisiblity),I(this.othersVisiblity))},AU:{toShow:this.AUVisiblity,toHide:[].concat(I(this.USVisiblity),I(this.CAVisiblity),I(this.GBVisiblity),I(this.othersVisiblity))}},o={toShow:this.othersVisiblity,toHide:[].concat(I(this.USVisiblity),I(this.CAVisiblity),I(this.GBVisiblity),I(this.AUVisiblity))};this.appComponent.handleElementsVisibility((null===(t=i[e])||void 0===t?void 0:t.toShow)||o.toShow,(null===(n=i[e])||void 0===n?void 0:n.toHide)||o.toHide),null!==(r=this.pricing.data[e].allow_dedicated)&&void 0!==r&&r&&!["US","CA","PR","GB","AU"].includes(e)?this.appComponent.handleElementsVisibility(this.appComponent.othersNoNumberForSale,[]):this.appComponent.handleElementsVisibility([],this.appComponent.othersNoNumberForSale),this.adjustBackground()}},{key:"setTableData",value:function(){var e=this,t=this.pricing.tableModel;this.currency.forEach((function(n){n.innerHTML=e.calculator.getCurrencySymbol(t.default_currency)})),Object.keys(t.prices[t.default_currency].numbers).forEach((function(n){var r=document.querySelectorAll('.full-pricing-table [data-model-price-raw="'+n+'"]');"sms"===n&&["US","CA","PR","GB","AU"].includes(tableCountryCode)?r.forEach((function(r){t.prices[t.default_currency].numbers[n]&&(r.innerHTML=0===e.calculator.getSmsPriceNumberForTableVolume()?"Free":e.calculator.getSmsPriceNumberForTableVolume())})):r.forEach((function(e){t.prices[t.default_currency].numbers[n]&&(e.innerHTML=0===t.prices[t.default_currency].numbers[n]?"Free":t.prices[t.default_currency].numbers[n])}))}))}},{key:"adjustBackground",value:function(){document.querySelectorAll(".full-pricing-table__cell").forEach((function(e){e.classList.remove("full-pricing-table__cell--gray")}));var e=document.querySelectorAll(".full-pricing-table__cell:not(.hidden)");e.forEach((function(t,n){var r="full-pricing-table__cell--gray",i=e[n-1];i||t.classList.add(r),i&&!i.classList.contains(r)&&t.classList.add(r)}))}}])&&R(e.prototype,t),n&&R(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,z(r.key),r)}}function z(e){var t=function(e,t){if("object"!=X(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=X(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==X(t)?t:t+""}var K=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"handleFeatures",value:function(e,t){var n=document.querySelector(".pricing__calc-container-left .pricing-card .pricing-card__features > div:nth-child(3)"),r=document.querySelector("#senderIdTooltip");"senderId"===e?(n.innerHTML=this.getSenderIdTemplate(),("AU"===t||"GB"===t)&&(r.innerHTML="With an Alphanumeric Sender ID, your business name appears as the sender instead of a phone number, and recipients cannot reply directly.")):"senderId"!==e&&(n.innerHTML=this.getStandardTemplate())}},{key:"getSenderIdTemplate",value:function(){return'<div class="pricing-card__features-item-text"><span class="pricing-card__features-checkmark tmi tmi-check-circle-outline"></span><span>One way messaging (Alphanumeric Sender ID)</span></div>'}},{key:"getStandardTemplate",value:function(){return'<div class="pricing-card__features-item-text"><span class="pricing-card__features-checkmark tmi tmi-check-circle-outline"></span><span>Two-way messaging &amp; free replies</span></div>'}}])&&Y(e.prototype,t),n&&Y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function J(e){return function(e){if(Array.isArray(e))return Q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,te(r.key),r)}}function te(e){var t=function(e,t){if("object"!=Z(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Z(t)?t:t+""}var ne=function(){return e=function e(t,n,r,i,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.countrySelect=document.querySelector(".countrySelect"),this.tableCountrySelect=document.querySelector(".table-country-select"),this.smsVolumeSelect=document.querySelector(".selectSmsVolume"),this.emailsVolumeSelect=document.querySelector(".selectEmailsVolume"),this.total=document.querySelectorAll(".pricing-total"),this.smsTotal=document.querySelectorAll(".pricing-sms-total"),this.emailsTotal=document.querySelectorAll(".pricing-emails-total"),this.tenDlcTotal=document.querySelectorAll(".pricing-ten-dlc-total"),this.currency=document.querySelectorAll(".pricing-currency"),this.currencyCent=document.querySelectorAll(".pricing-currency-cent"),this.smsNumber=document.querySelector("#pricingSmsNumber"),this.emailsNumber=document.querySelector("#pricingEmailsNumber"),this.emailsDescription=document.querySelector("#pricingEmailsDescription"),this.smsCalcContainer=document.querySelector("#pricingSmsCalcContainer"),this.emailsCalcContainer=document.querySelector("#pricingEmailsCalcContainer"),this.smsFeaturesContainer=document.querySelector("#pricingSmsFeaturesContainer"),this.emailsFeaturesContainer=document.querySelector("#pricingEmailsFeaturesContainer"),this.totalCostValue=document.querySelector(".total-cost__value"),this.totalCostContainerBottom=document.querySelector(".total-cost__container-bottom"),this.tollFreeVisible=document.querySelectorAll(".visibility-type-toll-free"),this.tenDlcVisible=document.querySelectorAll(".visibility-type-ten-dlc"),this.byocVisible=document.querySelectorAll(".visibility-type-byoc"),this.senderIdVisible=document.querySelectorAll(".visibility-type-sen
1der-id"),this.noSmsVisible=document.querySelectorAll(".visibility-type-no-sms"),this.noOtherCountriesVisible=document.querySelectorAll(".visibility-type-no-others"),this.otherCountriesVisible=document.querySelectorAll(".visibility-type-others"),this.AUVisible=document.querySelectorAll(".visibility-type-no-country-AU"),this.USVisible=document.querySelectorAll(".visibility-type-country-US"),this.CAVisible=document.querySelectorAll(".visibility-type-country-CA"),this.noCATenDlcVisible=document.querySelectorAll(".visibility-type-no-ten-dlc-country-CA"),this.nonUSVIsible=document.querySelectorAll(".visibility-type-country-non-US"),this.othersNoNumberForSale=document.querySelectorAll(".visibility-type-others-no-number-for-sale"),this.pricesByVolume=i,this.pricingFeatures=new K,a||new H(t,n,r,o,this),this.init(t,n,r,o),this.handleVisibilityByCountry(n.toUpperCase())},(t=[{key:"init",value:function(e,t,n,r,i){this.prices=e.prices[n],this.calculator=new U(e,t,n,this.smsVolumeSelect.value,this.emailsVolumeSelect.value,r.fromType,this.pricesByVolume),this.setPricingTable(r);var o=this.calculator.calculate();this.pricing=r,this.setTotalData(o),this.setModelData(),i||this.addEventListeners()}},{key:"setPricingTable",value:function(e){this.fullTable=new $(this,e,this.calculator)}},{key:"addEventListeners",value:function(){var e=this;if(this.countrySelect)if(this.smsVolumeSelect)if(this.emailsVolumeSelect){var t=function(i){e.showLoading();var o=i.target.value.toUpperCase();e.pricing.setCountry(o),e.pricing.update(),e.handleVisibilityByCountry(o),e.tableCountrySelect&&(e.tableCountrySelect.value=i.target.value);var a=document.querySelector('#pricingTableCountrySelect .select__options [data-val="'.concat(i.target.value,'"]'));a&&a.dispatchEvent(new Event("click")),e.removeEventListeners(t,n,r)},n=function(i){if(e.showLoading(),e.pricing.update(!0),e.smsNumber.innerHTML=Intl.NumberFormat("en-US").format(i.target.value),0!==Number(i.target.value)||e.smsCalcContainer.classList.contains("hidden")?Number(i.target.value)>0&&e.smsCalcContainer.classList.contains("hidden")&&(e.smsCalcContainer.classList.remove("hidden"),["US","CA","PR","AU","GB"].includes(countryCode)&&e.handleElementsVisibility(e.noSmsVisible,[]),e.toggleVisibility(e.pricing.fromType)):(e.smsCalcContainer.classList.add("hidden"),e.handleElementsVisibility([],e.noSmsVisible)),e.smsFeaturesContainer&&(0!==Number(i.target.value)||e.smsFeaturesContainer.classList.contains("hidden")?e.smsFeaturesContainer.classList.remove("hidden"):e.smsFeaturesContainer.classList.add("hidden")),0===Number(i.target.value)&&0===Number(e.emailsVolumeSelect.value)){var o=document.querySelector('#pricingEmailsVolume .select__options [data-val="10000"]');o&&o.dispatchEvent(new Event("click"))}"byoc"===e.pricing.fromType&&["GB","AU"].includes(countryCode)&&(e.handleElementsVisibility(e.AUVisible,[]),0===Number(i.target.value)&&e.handleElementsVisibility([],e.noSmsVisible),e.handleLastItemVisibleBorder()),e.updateTableCountry(),e.removeEventListeners(t,n,r)},r=function(i){e.showLoading(),e.pricing.update(!0);var o=Number(i.target.value);e.emailsNumber&&(e.emailsNumber.innerHTML=Intl.NumberFormat("en-US").format(o));var a="total-cost__item--no-border";0!==Number(i.target.value)||e.emailsCalcContainer.classList.contains("hidden")?Number(i.target.value)>0&&e.emailsCalcContainer.classList.contains("hidden")&&(e.emailsCalcContainer.classList.remove("hidden"),e.emailsFeaturesContainer&&e.emailsFeaturesContainer.classList.remove("hidden"),e.emailsCalcContainer.previousElementSibling.classList.contains(a)&&e.emailsCalcContainer.previousElementSibling.classList.remove(a)):(e.emailsCalcContainer.classList.add("hidden"),e.emailsFeaturesContainer&&e.emailsFeaturesContainer.classList.add("hidden"),e.emailsCalcContainer.previousElementSibling.classList.add(a)),"byoc"===e.pricing.fromType&&["GB","AU"].includes(countryCode)&&e.handleElementsVisibility(e.AUVisible,[]),0===Number(i.target.value)&&0===Number(e.smsVolumeSelect.value)&&document.querySelector('#pricingSmsVolume .select__options [data-val="1000"]').dispatchEvent(new Event("click")),e.handleLastItemVisibleBorder(),e.updateTableCountry(),e.removeEventListeners(t,n,r)};this.countrySelect.addEventListener("input",t),this.smsVolumeSelect.addEventListener("change",n),this.emailsVolumeSelect.addEventListener("change",r)}else console.log("PricingComponents: .selectEmailsVolume element not found on this page");else console.log("PricingComponents: .selectSmsVolume element not found on this page");else console.log("PricingComponents: .countrySelect element not found on this page")}},{key:"removeEventListeners",value:function(e,t,n){this.countrySelect&&this.countrySelect.removeEventListener("input",e),this.smsVolumeSelect&&this.smsVolumeSelect.removeEventListener("change",t),this.emailsVolumeSelect&&this.emailsVolumeSelect.removeEventListener("change",n)}},{key:"handleSupportedCountriesVisibility",value:function(e){this.handleElementsVisibility(this.noOtherCountriesVisible,this.otherCountriesVisible),["AU","GB"].includes(e)&&["local","byoc"].includes(this.pricing.fromType)?this.handleElementsVisibility([],this.AUVisible):"CA"===e?(this.handleElementsVisibility(this.CAVisible,[]),this.handleElementsVisibility([],this.USVisible)):["US","PR"].includes(e)?(this.handleElementsVisibility(this.USVisible,[]),this.handleElementsVisibility([],this.CAVisible)):this.handleElementsVisibility(this.AUVisible,[]),this.handleSupportedCountriesNonUsVisibility(e),0===Number(this.smsVolumeSelect.value)&&(this.smsCalcContainer.classList.add("hidden"),this.handleElementsVisibility([],this.noSmsVisible))}},{key:"handleSupportedCountriesNonUsVisibility",value:function(e){["GB","AU"].includes(e)?this.handleElementsVisibility(this.nonUSVIsible,[]):this.handleElementsVisibility([],this.nonUSVIsible),["US","PR"].includes(e)?(this.handleElementsVisibility(this.USVisible,[]),this.handleElementsVisibility([],this.CAVisible)):"CA"===e?(this.handleElementsVisibility(this.CAVisible,[]),this.handleElementsVisibility([],this.USVisible),"local"===this.pricing.fromType?this.handleElementsVisibility([],this.noCATenDlcVisible):this.handleElementsVisibility(this.noCATenDlcVisible,[])):(this.handleElementsVisibility([],this.USVisible),this.handleElementsVisibility([],this.CAVisible))}},{key:"handleVisibilityByCountry",value:function(e){["US","CA","PR","GB","AU"].includes(e)?this.handleSupportedCountriesVisibility(e):this.handleElementsVisibility(this.otherCountriesVisible,this.noOtherCountriesVisible),this.handleLastItemVisibleBorder(),this.fullTable&&this.fullTable.handleTableVisibilityByCountry(e)}},{key:"showLoading",value:function(){this.totalCostValue&&this.totalCostValue.classList.add("loading"),this.totalCostContainerBottom&&this.totalCostContainerBottom.classList.add("loading")}},{key:"hideLoading",value:function(){this.totalCostValue&&this.totalCostValue.classList.remove("loading"),this.totalCostContainerBottom&&this.totalCostContainerBottom.classList.remove("loading")}},{key:"setTotalData",value:function(e){var t=this;this.hideLoading(),this.currency.forEach((function(e){e.innerHTML=t.calculator.getCurrencySymbol(t.pricing.model.default_currency)})),this.currencyCent.forEach((function(e){var n;e.innerHTML=null!==(n=t.calculator.currencyCentMap[t.pricing.model.default_currency])&&void 0!==n?n:"¢"})),this.total.forEach((function(t){t.innerHTML=e.total})),this.smsTotal.forEach((function(t){t.innerHTML=e.sms})),this.emailsTotal.forEach((function(n){var r=Number(t.emailsVolumeSelect.value);if(n.closest("#pricingEmailsCalcContainer"))if(r<=1e4&&r>0){n.innerHTML="Free";var i=n.parentElement.querySelector(".pricing-currency");i&&(i.style.display="none")}else if(r>1e4){n.innerHTML=e.email;var o=n.parentElement.querySelector(".pricing-currency");o&&(o.style.display="")}else{n.innerHTML="0";var a=n.parentElement.querySelector(".pricing-currency");a&&(a.style.display="")}else if(r>1e4){n.innerHTML=e.email;var s=n.parentElement.querySelector(".pricing-currency");s&&(s.style.display="")}else if(r>0){n.innerHTML="FREE";var c=n.parentElement.querySelector(".pricing-currency");c&&(c.style.display="none")}else{n.innerHTML="0";var l=n.parentElement.querySelector(".pricing-currency");l&&(l.style.display="")}})),this.tenDlcTotal.forEach((function(t){t.innerHTML=e.tenDlc})),this.updateEmailDescription()}},{key:"updateEmailDescription",value:function(){if(this.emailsDescription&&this.emailsVolumeSelect){var e=Number(this.emailsVolumeSelect.value);if(e<=1e4&&e>0)this.emailsDescription.innerHTML="One-time welcome bonus";else if(e>1e4){var t=this.calculator.prices.numbers.email.toFixed(3),n=this.calculator.getCurrencySymbol(this.pricing.model.default_currency);this.emailsDescription.innerHTML="First 10K free, then ".concat(n).concat(t," per email")}else this.emailsDescription.innerHTML="per email"}}},{key:"setModelData",value:function(){var e=this;
1Object.keys(this.calculator.prices).forEach((function(t){var n=document.querySelectorAll('[data-model-price="'.concat(t,'"]'));"sms"===t&&["US","CA","PR","GB","AU"].includes(countryCode)?(n.forEach((function(n){e.calculator.prices[t]&&"object"!==Z(e.calculator.prices[t])&&(n.innerHTML=e.calculator.getSmsPriceForVolume(),n.classList.remove("shimmer"))})),document.querySelectorAll("#pricingSmsVolume .select__options li").forEach((function(t){if("0"!==t.dataset.val){var n=document.querySelector('#pricingSmsVolume .select__options li[data-val="'.concat(t.dataset.val,'"] .visibility-type-ten-dlc [data-model-price="sms"]')),r=document.querySelector('#pricingSmsVolume .select__options li[data-val="'.concat(t.dataset.val,'"] .visibility-type-toll-free [data-model-price="sms"]'));n&&(n.innerHTML=e.calculator.getSmsPriceByVolume(t.dataset.val),n.classList.remove("shimmer")),r&&(r.innerHTML=e.calculator.getSmsPriceByVolume(t.dataset.val),r.classList.remove("shimmer"))}}))):n.forEach((function(n){e.calculator.prices[t]&&"object"!==Z(e.calculator.prices[t])&&(n.innerHTML=e.calculator.prices[t])}))})),this.setModelRawData()}},{key:"setModelRawData",value:function(){var e=this;Object.keys(this.calculator.prices.numbers).forEach((function(t){var n=document.querySelectorAll('[data-model-price-raw="'.concat(t,'"]'));"sms"===t&&(["US","CA","PR","GB","AU"].includes(e.tableCountrySelect.value.toUpperCase())||["US","CA","GB","AU"].includes(countryCode))?n.forEach((function(n){e.calculator.prices[t]&&(n.innerHTML=0===e.calculator.getSmsPriceNumberForVolume()?"Free":e.calculator.getSmsPriceNumberForVolume())})):n.forEach((function(n){e.calculator.prices[t]&&(n.innerHTML=0===e.calculator.prices.numbers[t]?"Free":e.calculator.prices.numbers[t])}))}))}},{key:"updateTableCountry",value:function(){if(this.tableCountrySelect){var e=document.querySelector('#pricingTableCountrySelect .select__options [data-val="'.concat(countryCode.toLowerCase(),'"]'));e&&e.dispatchEvent(new Event("click"))}}},{key:"toggleVisibility",value:function(e){var t=document.querySelectorAll(".visibility-type-toll-free"),n=document.querySelectorAll(".visibility-type-ten-dlc"),r=document.querySelectorAll(".visibility-type-byoc"),i=document.querySelectorAll(".visibility-type-sender-id"),o=document.querySelectorAll(".visibility-type-no-country-AU");"tollfree"===e?this.handleElementsVisibility(t,[].concat(J(n),J(r),J(i))):"local"===e?(console.log(n),this.handleElementsVisibility(n,[].concat(J(t),J(r),J(i))),"AU"!==countryCode&&"GB"!==countryCode||this.handleElementsVisibility([],o)):"byoc"===e?(this.handleElementsVisibility(r,[].concat(J(t),J(n),J(i))),"AU"!==countryCode&&"GB"!==countryCode||this.handleElementsVisibility(o,[])):"senderId"===e?(this.handleElementsVisibility(i,[].concat(J(t),J(n),J(r))),"AU"!==countryCode&&"GB"!==countryCode||this.handleElementsVisibility(o,[])):"none"===e&&this.handleElementsVisibility([],[].concat(J(t),J(n),J(r),J(i))),this.pricingFeatures.handleFeatures(e,countryCode)}},{key:"handleElementsVisibility",value:function(e,t){t.forEach((function(e){e.classList.contains("hidden")||e.classList.add("hidden")})),e.forEach((function(e){e.classList.contains("hidden")&&e.classList.remove("hidden")}))}},{key:"handleLastItemVisibleBorder",value:function(){var e=document.querySelectorAll(".total-cost__container-bottom div.total-cost__item:not(.hidden)"),t=e[e.length-1],n="total-cost__item--no-border";e.forEach((function(e){e.classList.contains(n)&&e.classList.remove(n)})),t&&t.classList.add(n)}}])&&ee(e.prototype,t),n&&ee(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,oe(r.key),r)}}function oe(e){var t=function(e,t){if("object"!=re(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=re(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==re(t)?t:t+""}var ae=function(){return e=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.plans={500:{professional:{outboundMessageCost:h(String(t[500].essential.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[500].essential.outboundMessageCost)}},1e3:{professional:{outboundMessageCost:h(String(t[1e3].essential.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[1e3].essential.outboundMessageCost)}},2e3:{professional:{outboundMessageCost:h(String(t[2e3].professional.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[2e3].professional.outboundMessageCost)}},5e3:{professional:{outboundMessageCost:h(String(t[5e3].professional.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[5e3].professional.outboundMessageCost)}},1e4:{professional:{outboundMessageCost:h(String(t[1e4].professional.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[1e4].professional.outboundMessageCost)}},2e4:{professional:{outboundMessageCost:h(String(t[2e4].professional.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[2e4].professional.outboundMessageCost)}},5e4:{professional:{outboundMessageCost:h(String(t[5e4].professional.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[5e4].professional.outboundMessageCost)}},1e5:{professional:{outboundMessageCost:h(String(t[1e5].professional.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[1e5].professional.outboundMessageCost)}},15e4:{professional:{outboundMessageCost:h(String(t[15e4].professional.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[15e4].professional.outboundMessageCost)}},2e5:{professional:{outboundMessageCost:h(String(t[2e5].professional.outboundMessageCost),n),outboundMessageCostNumber:this.formatPriceAsNumber(t[2e5].professional.outboundMessageCost)}}}},(t=[{key:"formatPriceAsNumber",value:function(e){return Intl.NumberFormat("en-US").format(Number(parseFloat(e).toFixed(3)).toPrecision())}}])&&ie(e.prototype,t),n&&ie(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function se(e){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ue(r.key),r)}}function le(e,t,n){return t&&ce(e.prototype,t),n&&ce(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ue(e){var t=function(e,t){if("object"!=se(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=se(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==se(t)?t:t+""}var fe=le((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.US=new ae(t[0].plans,"USD"),this.CA=new ae(t[1].plans,"USD"),this.GB=new ae(t[2].plans,"GBP"),this.AU=new ae(t[3].plans,"AUD"),this.PR=new ae(t[4].plans,"USD")}));function de(e){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pe(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */pe=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}
vendor: 4,161 bytes, line 1
1try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),s=new T(r||[]);return i(a,"_invoke",{value:x(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="executing",h="completed",y={};function m(){}function v(){}function b(){}var g={};l(g,a,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(k([])));S&&S!==n&&r.call(S,a)&&(g=S);var E=b.prototype=m.prototype=Object.create(g);function L(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,o,a,s){var c=f(e[i],e,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==de(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function x(t,n,r){var i=d;return function(o,a){if(i===p)throw Error("Generator is already running");if(i===h){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=A(s,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var l=f(t,n,r);if("normal"===l.type){if(i=r.done?h:"suspendedYield",l.arg===y)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=h,r.method="throw",r.arg=l.arg)}}}function A(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function k(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(de(t)+" is not iterable")}return v.prototype=b,i(E,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:v,configurable:!0}),v.displayName=l(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,c,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},L(C.prototype),l(C.prototype,s,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new C(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},L(E),l(E,c,"Generator"),l(E,a,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=k,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
1h(O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function he(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function ye(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){he(o,r,i,a,s,"next",e)}function s(e){he(o,r,i,a,s,"throw",e)}a(void 0)}))}}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ve(r.key),r)}}function ve(e){var t=function(e,t){if("object"!=de(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==de(t)?t:t+""}var be=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.currency="USD",this.fromType="toll-free",this.data=null,this.receiver=new j,this.model=null,this.tableModel=null,this.volumeModel=null,this.components=null},(t=[{key:"init",value:(i=ye(pe().mark((function e(){var t,n,r,i,o;return pe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.receiver.fetch();case 2:return t=e.sent,e.next=5,Promise.all([this.receiver.fetchByCountryWithVolume("US"),this.receiver.fetchByCountryWithVolume("CA"),this.receiver.fetchByCountryWithVolume("GB"),this.receiver.fetchByCountryWithVolume("AU"),this.receiver.fetchByCountryWithVolume("PR")]);case 5:if(n=e.sent,this.data=t.data,this.volumeModel=new fe(n),this.data&&this.data[countryCode]&&this.volumeModel){e.next=11;break}return console.error("No data received for ".concat(countryCode)),e.abrupt("return");case 11:return e.next=13,this.checkCountryCode();case 13:if(r=e.sent,this.setModel(),this.setAllowedCountries(),this.setComponents(),document.body.classList.add("prices-loaded"),(i=document.querySelector(".pricing-gutenberg-wrapper"))&&(i.style.opacity="1"),r){e.next=25;break}if(o=document.querySelector('#countrySelectContainer .calc_search_li[data-val="us"]')){e.next=24;break}return e.abrupt("return");case 24:o.dispatchEvent(new Event("click"));case 25:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"checkCountryCode",value:(r=ye(pe().mark((function e(){return pe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.data[countryCode].allowed&&this.data[tableCountryCode].allowed){e.next=4;break}return this.setCountry("US"),tableCountryCode="US",e.abrupt("return",!1);case 4:return e.abrupt("return",!0);case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"setCurrency",value:function(e){this.currency=e}},{key:"setCountry",value:function(e){countryCode=e}},{key:"setModel",value:function(){this.model=new x(this.data[countryCode]),this.tableModel=new x(this.data[countryCode]),this.currency=this.data[countryCode].default_currency}},{key:"setTableModel",value:function(){this.tableModel=new x(this.data[tableCountryCode])}},{key:"setComponents",value:function(e){var t=this;this.components=new ne(this.model,countryCode,this.currency,this.volumeModel,this,e),this.components&&this.components.hideLoading&&setTimeout((function(){t.components.hideLoading()}),100)}},{key:"setFromType",value:function(e){this.fromType=e}}
1,{key:"update",value:function(e){this.setModel(),this.setComponents(e),this.setCurrency(this.model.default_currency)}},{key:"setAllowedCountries",value:function(){var e=this;document.querySelectorAll("ul li.calc_search_li").forEach((function(t){var n=t.dataset.val.toUpperCase();e.data[n]&&e.data[n].allowed||t.classList.contains("hidden")||t.classList.add("hidden")}))}}])&&me(e.prototype,t),n&&me(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,r,i}();n(3);function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function we(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Se(r.key),r)}}function Se(e){var t=function(e,t){if("object"!=ge(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ge(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ge(t)?t:t+""}var Ee=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"prepare",value:function(){if("function"==typeof a.a&&"function"==typeof a.b){var e=Object(a.a)("#featuresModal");if(e){var t=Object(a.b)(".pricing-modal-button"),n=Object(a.a)(".modal-close",e),r=function(){e.classList.remove("shown")};t.forEach((function(t){t.addEventListener("click",(function(){e.classList.add("shown"),"true"===t.dataset.modalSms?document.querySelector("#pricingModalSMS").scrollIntoView({block:"start",behavior:"instant"}):"true"===t.dataset.modalEmails&&document.querySelector("#pricingModalEmails").scrollIntoView({block:"start",behavior:"instant"})}))}));var i=Object(a.a)(".modal-backdrop");i&&i.addEventListener("click",(function(){r()})),n&&n.addEventListener("click",(function(){return r()})),this.initSearch()}}}},{key:"initSearch",value:function(){var e=document.querySelector(".pricing_search_input");if(e){var t=document.querySelector(".modal-content"),n=document.querySelector(".nothing-to-show"),r=document.querySelector(".search-query");e.addEventListener("keyup",(function(o){return function(o){var a=e.value.toUpperCase(),s=t&&t.querySelector(".collapsible-lines"),c=t?t.querySelectorAll(".collapsible-block"):[];r&&o.target.value&&(r.textContent=o.target.value);var l=0;if(s){document.querySelectorAll(".collapsible-line.opened .collapsible-content").forEach((function(e){e.style.height="initial"})),c.forEach((function(e){var t=e.querySelectorAll(".collapsible-label"),n=!1;t.forEach((function(e){var t=e.querySelector(".collapsible-label__span"),r=t.textContent||t.innerText;if(r.toUpperCase().indexOf(a)>-1){e.closest(".collapsible-line").classList.remove("hidden");var i=new RegExp(a,"gi"),o=t.querySelector(".collapsible-label__note");if(o){o.remove();var s=t.textContent||t.innerText||"";t.innerHTML=s.replace(i,(function(e){return'<span class="highlight">'.concat(e,"</span>")})),t.appendChild(o)}else t.innerHTML=r.replace(i,(function(e){return'<span class="highlight">'.concat(e,"</span>")}));e.closest(".collapsible-line").classList.add("opened"),e.parentNode.classList.remove("hidden"),n=!0}else e.parentNode.classList.add("hidden")})),e.closest(".collapsible-line").classList.toggle("hidden",!n),n&&l++}));var u=s.querySelectorAll(".collapsible-line").length,f=s.querySelectorAll(".collapsible-line.hidden").length;n&&n.classList.toggle("hidden",l>0&&u!==f),a?i(!0):(s.querySelectorAll(".collapsible-line.opened").forEach((function(e){return e.classList.remove("opened")})),i(!1))}}(o)}))}function i(e){var t=Object(a.a)(".collapse-btn"),n=document.querySelectorAll(".collapsible-line");t&&(void 0!==e?(t.classList.toggle("expand",e),n.forEach((function(t){return t.classList.toggle("opened",e)})),t.toggleAttribute("disabled",e)):t.addEventListener("click",(function(){var e=t.classList.contains("expand");
vendor: 5,125 bytes, line 1
1t.classList.toggle("expand"),n.forEach((function(t){return t.classList.toggle("opened",!e)}))})))}}}])&&we(e.prototype,t),n&&we(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ce(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ce=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),s=new T(r||[]);return i(a,"_invoke",{value:x(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="executing",h="completed",y={};function m(){}function v(){}function b(){}var g={};l(g,a,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(k([])));S&&S!==n&&r.call(S,a)&&(g=S);var E=b.prototype=m.prototype=Object.create(g);function L(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,o,a,s){var c=f(e[i],e,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==Le(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function x(t,n,r){var i=d;return function(o,a){if(i===p)throw Error("Generator is already running");if(i===h){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=A(s,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var l=f(t,n,r);if("normal"===l.type){if(i=r.done?h:"suspendedYield",l.arg===y)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=h,r.method="throw",r.arg=l.arg)}}}function A(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function k(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Le(t)+" is not iterable")}return v.prototype=b,i(E,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:v,configurable:!0}),v.displayName=l(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,c,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},L(C.prototype),l(C.prototype,s,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new C(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},L(E),l(E,c,"Generator"),l(E,a,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=k,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
1h(O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function xe(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function Ae(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){xe(o,r,i,a,s,"next",e)}function s(e){xe(o,r,i,a,s,"throw",e)}a(void 0)}))}}document.addEventListener("DOMContentLoaded",Ae(Ce().mark((function e(){var t,n,a,s;return Ce().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.querySelector(".total-cost__value"),n=document.querySelector(".total-cost__container-bottom"),t&&t.classList.add("loading"),n&&n.classList.add("loading"),a=new be,s=new Ee,Object(f.a)(),Object(r.a)(),Object(i.a)(),Object(o.a)(),u(),p(),e.next=14,a.init();case 14:s.prepare();case 15:case"end":return e.stop()}}),e)}))))}]);

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.