1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="a6e04aba-133f-709f-3beb-9daa56f287e4")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,516015,(e,t,i)=>{},90317,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={bindSnapshot:function(){return c},createAsyncLocalStorage:function(){return o},createSnapshot:function(){return d}};for(var l in r)Object.defineProperty(i,l,{enumerable:!0,get:r[l]});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let s="u">typeof globalThis&&globalThis.AsyncLocalStorage;function o(){return s?new s:new a}function c(e){return s?s.bind(e):a.bind(e)}function d(){return s?s.snapshot():function(e,...t){return e(...t)}}},242344,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,e.r(90317).createAsyncLocalStorage)()},563599,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=e.r(242344)},667585,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"BailoutToCSR",{enumerable:!0,get:function(){return l}});let r=e.r(132061);function l({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},652157,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"PreloadChunks",{enumerable:!0,get:function(){return o}});let r=e.r(843476),l=e.r(174080),n=e.r(563599),a=e.r(309885),s=e.r(543369);function o({moduleIds:e}){if("u">typeof window)return null;let t=n.workAsyncStorage.getStore();if(void 0===t)return null;let i=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;i.push(...e)}}if(0===i.length)return null;let c=(0,s.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:i.map(e=>{let i=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:i,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,l.preload)(i,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},869093,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return c}});let r=e.r(843476),l=e.r(271645),n=e.r(667585),a=e.r(652157);function s(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},c=function(e){let t={...o,...e},i=(0,l.lazy)(()=>t.loader().then(s)),c=t.loading;function d(e){let s=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,d=o?l.Suspense:l.Fragment,u=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"<typeof window?(0,r.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(i,{...e})]}):(0,r.jsx)(n.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(i,{...e})});return(0,r.jsx)(d,{...o?{fallback:s}:{},children:u})}return d.displayName="LoadableComponent",d}},770703,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return l}});let r=e.r(555682)._(e.r(869093));function l(e,t){let i={};"function"==typeof e&&(i.loader=e);let l={...i,...t};return(0,r.default)({...l,modules:l.loadableGenerated?.modules})}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
2dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},618566,(e,t,i)=>{t.exports=e.r(976562)},232189,(e,t,i)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(e,t,i)=>{"use strict";var r=e.r(232189);function l(){}function n(){}n.resetWarningCache=l,t.exports=function(){function e(e,t,i,l,n,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:l};return i.PropTypes=i,i}},745009,(e,t,i)=>{t.exports=e.r(865156)()},276261,(e,t,i)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,l=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,x=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,j=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case l:switch(e=e.type){case u:case p:case a:case o:case s:case m:return e;default:switch(e=e&&e.$$typeof){case d:case x:case g:case h:case c:return e;default:return t}}case n:return t}}}function w(e){return _(e)===p}i.AsyncMode=u,i.ConcurrentMode=p,i.ContextConsumer=d,i.ContextProvider=c,i.Element=l,i.ForwardRef=x,i.Fragment=a,i.Lazy=g,i.Memo=h,i.Portal=n,i.Profiler=o,i.StrictMode=s,i.Suspense=m,i.isAsyncMode=function(e){return w(e)||_(e)===u},i.isConcurrentMode=w,i.isContextConsumer=function(e){return _(e)===d},i.isContextProvider=function(e){return _(e)===c},i.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===l},i.isForwardRef=function(e){return _(e)===x},i.isFragment=function(e){return _(e)===a},i.isLazy=function(e){return _(e)===g},i.isMemo=function(e){return _(e)===h},i.isPortal=function(e){return _(e)===n},i.isProfiler=function(e){return _(e)===o},i.isStrictMode=function(e){return _(e)===s},i.isSuspense=function(e){return _(e)===m},i.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===o||e===s||e===m||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===c||e.$$typeof===d||e.$$typeof===x||e.$$typeof===y||e.$$typeof===v||e.$$typeof===j||e.$$typeof===b)},i.typeOf=_},102079,(e,t,i)=>{"use strict";t.exports=e.r(276261)},398437,(e,t,i)=>{"use strict";var r=e.r(102079),l={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function o(e){return r.isMemo(e)?a:s[e.$$typeof]||l}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,x=Object.getPrototypeOf,m=Object.prototype;t.exports=function e(t,i,r){if("string"!=typeof i){if(m){var l=x(i);l&&l!==m&&e(t,l,r)}var a=d(i);u&&(a=a.concat(u(i)));for(var s=o(t),f=o(i),h=0;h<a.length;++h){var g=a[h];if(!n[g]&&!(r&&r[g])&&!(f&&f[g])&&!(s&&s[g])){var b=p(i,g);try{c(t,g,b)}catch(e){}}}}return t}},455263,e=>{"use strict";var t,i,r=e.i(271645),l=e.i(745009),n=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function a(){return(a=Object.assign.bind()).apply(this,arguments)}function s(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(s(t)),t.handleErrored=t.handleErrored.bind(s(t)),t.handleChange=t.handleChange.bind(s(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(s(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var i=t.prototype;return i.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},i.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise(function(t,i){e.executionResolve=t,e.executionReject=i,e.execute()})},i.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},i.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var i,r,l={},n=Object.keys(e);for(r=0;r<n.length;r++)i=n[r],t.indexOf(i)>=0||(l[i]=e[i]);return l}(e,n));return r.createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},t}(r.Component);c.displayName="ReCAPTCHA",c.propTypes={sitekey:l.default.string.isRequired,onChange:l.default.func,grecaptcha:l.default.object,theme:l.default.oneOf(["dark","light"]),type:l.default.oneOf(["image","audio"]),tabindex:l.default.number,onExpired:l.default.func,onErrored:l.default.func,size:l.default.oneOf(["compact","normal","invisible"]),stoken:l.default.string,hl:l.default.string,badge:l.default.oneOf(["bottomright","bottomleft","inline"]),isolated:l.default.bool},c.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var d=e.i(398437);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}).apply(this,arguments)}var p={},x=0,m="onloadcallback";function f(){return"u">typeof window&&window.recaptchaOptions||{}}let h=(t=function(){var e=f(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+m+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+m+"&render=explicit"}
2,i=i={callbackName:m,globalName:"grecaptcha",attributes:f().nonce?{nonce:f().nonce}:{}},function(e){var n=e.displayName||e.name||"Component",a=function(l){function n(e,t){var i;return(i=l.call(this,e,t)||this).state={},i.__scriptURL="",i}n.prototype=Object.create(l.prototype),n.prototype.constructor=n,n.__proto__=l;var a=n.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+x++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL="function"==typeof t?t():t,this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=p[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[i.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),l=i,n=l.globalName,a=l.callbackName,s=l.scriptId;if(n&&void 0!==window[n]&&(p[t]={loaded:!0,observers:{}}),p[t]){var o=p[t];return o&&(o.loaded||o.errored)?void this.asyncScriptLoaderHandleLoad(o):void(o.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},p[t]={loaded:!1,observers:c};var d=document.createElement("script");for(var u in d.src=t,d.async=!0,i.attributes)d.setAttribute(u,i.attributes[u]);s&&(d.id=s);var x=function(e){if(p[t]){var i=p[t].observers;for(var r in i)e(i[r])&&delete i[r]}};a&&"u">typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),d.onload=function(){var e=p[t];e&&(e.loaded=!0,x(function(t){return!a&&(t(e),!0)}))},d.onerror=function(){var e=p[t];e&&(e.errored=!0,x(function(t){return t(e),!0}))},document.body.appendChild(d)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===i.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var l=p[e];l&&(delete l.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===i.removeOnUnmount&&delete p[e])},a.render=function(){var t=i.globalName,l=this.props,n=(l.asyncScriptOnLoad,l.forwardedRef),a=function(e,t){if(null==e)return{};var i,r,l={},n=Object.keys(e);for(r=0;r<n.length;r++)t.indexOf(i=n[r])>=0||(l[i]=e[i]);return l}(l,["asyncScriptOnLoad","forwardedRef"]);return t&&"u">typeof window&&(a[t]=void 0!==window[t]?window[t]:void 0),a.ref=n,(0,r.createElement)(e,a)},n}(r.Component),s=(0,r.forwardRef)(function(e,t){return(0,r.createElement)(a,u({},e,{forwardedRef:t}))});return s.displayName="AsyncScriptLoader("+n+")",s.propTypes={asyncScriptOnLoad:l.default.func},(0,d.default)(s,e)})(c);e.s(["default",0,h],455263)},898547,(e,t,i)=>{var r=e.i(247167);e.r(516015);var l=e.r(271645),n=l&&"object"==typeof l&&"default"in l?l:{default:l},a=void 0!==r.default&&r.default.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},o=function(){function e(e){var t=void 0===e?{}:e,i=t.name,r=void 0===i?"stylesheet":i,l=t.optimizeForSpeed,n=void 0===l?a:l;c(s(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",c("boolean"==typeof n,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=n,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,i=e.prototype;return i.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},i.isOptimizeForSpeed=function(){return this._optimizeForSpeed},i.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
2Sheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,i){return"number"==typeof i?e._serverSheet.cssRules[i]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),i},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},i.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},i.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},i.insertRule=function(e,t){if(c(s(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var i=this.getSheet();"number"!=typeof t&&(t=i.cssRules.length);try{i.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},i.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var i="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!i.cssRules[e])return e;i.deleteRule(e);try{i.insertRule(t,e)}catch(r){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),i.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];c(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},i.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},i.flush=function(){this._injected=!1,this._rulesCount=0,"u">
2typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},i.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,i){return i?t=t.concat(Array.prototype.map.call(e.getSheetForTag(i).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},i.makeStyleTag=function(e,t,i){t&&c(s(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var l=document.head||document.getElementsByTagName("head")[0];return i?l.insertBefore(r,i):l.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,i=e.length;i;)t=33*t^e.charCodeAt(--i);return t>>>0},u={};function p(e,t){if(!t)return"jsx-"+e;var i=String(t),r=e+i;return u[r]||(u[r]="jsx-"+d(e+"-"+i)),u[r]}function x(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var i=e+t;return u[i]||(u[i]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[i]}var m=function(){function e(e){var t=void 0===e?{}:e,i=t.styleSheet,r=void 0===i?null:i,l=t.optimizeForSpeed,n=void 0!==l&&l;this._sheet=r||new o({name:"styled-jsx",optimizeForSpeed:n}),this._sheet.inject(),r&&"boolean"==typeof n&&(this._sheet.setOptimizeForSpeed(n),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var i=this.getIdAndRules(e),r=i.styleId,l=i.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var n=l.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=n,this._instancesCounts[r]=1},t.remove=function(e){var t=this,i=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(i in this._instancesCounts,"styleId: `"+i+"` not found"),this._instancesCounts[i]-=1,this._instancesCounts[i]<1){var r=this._fromServer&&this._fromServer[i];r?(r.parentNode.removeChild(r),delete this._fromServer[i]):(this._indices[i].forEac
2h(function(e){return t._sheet.deleteRule(e)}),delete this._indices[i]),delete this._instancesCounts[i]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],i=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return i[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,i;return t=this.cssRules(),void 0===(i=e)&&(i={}),t.map(function(e){var t=e[0],r=e[1];return n.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:i.nonce?i.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,i=e.dynamic,r=e.id;if(i){var l=p(r,i);return{styleId:l,rules:Array.isArray(t)?t.map(function(e){return x(l,e)}):[x(l,t)]}}return{styleId:p(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=l.createContext(null);function h(){return new m}function g(){return l.useContext(f)}f.displayName="StyleSheetContext";var b=n.default.useInsertionEffect||n.default.useLayoutEffect,y="u">typeof window?h():void 0;function v(e){var t=y||g();return t&&("u"<typeof window?t.add(e):b(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},i.StyleRegistry=function(e){var t=e.registry,i=e.children,r=l.useContext(f),a=l.useState(function(){return r||t||h()})[0];return n.default.createElement(f.Provider,{value:a},i)},i.createStyleRegistry=h,i.style=v,i.useStyleRegistry=g},437902,(e,t,i)=>{t.exports=e.r(898547).style},892220,e=>{"use strict";var t=e.i(843476),i=e.i(271645);let r=(0,i.createContext)(null),l=()=>(0,i.useContext)(r);var n=e.i(607994);function a({verifyCallback:e}){let r,s=l();(0,n.default)();let[o,c]=(0,i.useState)({}),[d,u]=(0,i.useState)(""),[p,x]=(0,i.useState)(!1),[m,f]=(0,i.useState)(!1),[h,g]=(0,i.useState)(!1),b=(0,i.useCallback)(async()=>{try{let t=await fetch("/api/captcha/generate"),i=await t.json();c(i),f(!1),u(""),h&&(e(!1,i.id,""),g(!1))}catch(e){console.error("Failed to fetch captcha:",e)}},[h,e]),y=(0,i.useCallback)(async t=>{if(6!==t.length){f(!1),e(!1,o.id,t);return}try{x(!0);let i=await fetch(`/api/captcha/validate/${o.id}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({answer:t})}),r=await i.json(),l="OK"===r.status;f(l),g(!0),e(l,o.id,t)}catch(i){console.error("Failed to validate captcha:",i),f(!1),e(!1,o.id,t)}finally{x(!1)}},[o.id,e]),v=(0,i.useCallback)(e=>{u(e),y(e)},[y]);return(0,i.useEffect)(()=>{b()},[b]),(0,t.jsxs)("div",{className:"cg-captcha max-w-[240px]",children:[(0,t.jsxs)("div",{className:"image-wrapper relative mb-4",children:[o.image&&(0,t.jsx)("img",{src:o.image,alt:"Captcha",className:"w-[180px] h-auto mx-auto block"}),(0,t.jsx)("button",{type:"button",className:"btn-refresh absolute top-0 right-0 w-8 h-8 flex items-center justify-center bg-white border border-gray-300 rounded hover:border-blue-500 hover:bg-blue-50 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",title:s?.i18n?.tooltip||"Reload captcha",onClick:b,disabled:p,children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-gray-600",children:(0,t.jsx)("path",{d:"M13.65 2.35C12.2 0.9 10.21 0 8 0C3.58 0 0.01 3.58 0.01 8C0.01 12.42 3.58 16 8 16C11.73 16 14.84 13.45 15.73 10H13.65C12.83 12.33 10.61 14 8 14C4.69 14 2 11.31 2 8C2 4.69 4.69 2 8 2C9.66 2 11.14 2.69 12.22 3.78L9 7H16V0L13.65 2.35Z",fill:"currentColor"})})})]}),(0,t.jsx)("label",{className:`block text-sm mb-2 ${m?"text-green-600 font-medium":h&&!m?"text-red-600 font-medium":"text-gray-700"}`,children:m?s?.i18n?.success||"Valid captcha":h&&!m?s?.i18n?.error||"Invalid captcha":s?.i18n?.label||"Please enter the numbers on the image"}),(0,t.jsx)("div",{className:"form-compact mb-4",children:(0,t.jsx)("div",{className:"form-field-wrapper",children:(0,t.jsx)("input",{type:"text",value:d,onChange:e=>v(e.target.value),disabled:p,maxLength:6,className:(r="w-full border rounded px-3 py-2 text-center tracking-widest text-lg focus:outline-none focus:ring-2 transition-all",m?`${r} border-green-600 focus:ring-green-200`:h&&!m?`${r} border-red-600 focus:ring-red-200`:`${r} border-gray-300 focus:ring-blue-200`),placeholder:s?.i18n?.label||"Enter captcha"})})}),(0,t.jsx)("input",{type:"hidden",name:"g-req-id",value:o.id||""}),(0,t.jsx)("input",{type:"hidden",name:"g-recaptcha-response",value:d})]})}var s=e.i(455263);function o({verifyCallback:e}){let{recaptchaKey:r}=l(),[n,a]=i.default.useState();return(0,t.jsxs)("div",{className:"captcha",children:[(0,t.jsx)(s.default,{sitekey:r,onChange:t=>{a(t),e(t.length>0,"google-recaptcha",t)}}),(0,t.jsx)("input",{type:"hidden",name:"g-req-id",value:"google-recaptcha"}),(0,t.jsx)("input",{type:"hidden",name:"g-recaptcha-response",value:n})]})}e.s(["default",0,function({captchaContext:e,...i}){let l="cn"===e.locale||"CN"===e.country?a:o;return(0,t.jsx)(r.Provider,{value:e,children:(0,t.jsx)(l,{...i})})}],892220)},348089,529713,312058,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(410332);let r=({title:e,className:r})=>(0,t.jsx)("div",{className:(0,i.cn)("flex py-[4px] px-[3px] rounded-[30px] bg-utility-v3 mx-1",r),children:(0,t.jsx)("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8.75 0.75L3.25 6.25L0.75 3.75",stroke:"#FAFAFC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),l=({open:e})=>(0,t.jsx)("div",{className:"flex justify-center items-center size-[36px] p-[6px] rounded-[6px] bg-white",children:(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,i.cn)("transition-transform ease-in-out duration-300",!e&&"rotate-90"),"aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18 15L12 9L6 15",stroke:"#1C1C1C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})});e.s(["default",0,({title:e,description:i,open:r,onToggle:n})=>(0,t.jsxs)("div",{className:"flex items-start max-xl:justify-center gap-[15px] self-stretch bottom-sm",children:[(0,t.jsx)("div",{onClick:()=>{n()},children:(0,t.jsx)(l,{open:r})}),(e||i)&&(0,t.jsxs)("div",{className:"flex flex-col gap-[5px]",children:[e&&(0,t.jsx)("span",{className:"heading-3 normal-case",children:e}
2),i&&(0,t.jsx)("p",{className:"body-3 opacity-50",children:i})]})]})],529713),e.s([],348089),e.s(["RenderContent",0,({content:e,featureLabel:i,removeTopSpacing:l=!1,TooltipComponent:n,textClass:a="fine-print text-[var(--pricing-compare-text)]"})=>{if(!e||0===e.length)return null;try{return(0,t.jsx)(t.Fragment,{children:e.map((e,s)=>"checkmark"===e.type?(0,t.jsx)(r,{title:i},`check-${s}`):"text"===e.type?(0,t.jsx)("span",{className:a,children:e.value},`text-${s}`):"tooltip"===e.type&&n?(0,t.jsx)(n,{removeTopSpacing:l,icon:null,title:"",description:e.value},`tooltip-${s}`):null)})}catch(e){return console.error("RenderContent error:",e),null}}],312058)},380767,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(410332);let l=({alwaysOpen:e,children:i,onToggle:l,isOpen:n})=>(0,t.jsxs)("div",{className:(0,r.cn)("relative p-5 px-10 transition-colors lg:py-8",e?"":"cursor-pointer"),children:[(0,t.jsx)("div",{className:"absolute inset-0",onClick:l}),(0,t.jsx)("div",{className:"relative z-10 pointer-events-none [&_.pointer-events-auto]:pointer-events-auto [&_button]:pointer-events-auto [&_a]:pointer-events-auto",children:"function"==typeof i?i(n):i})]}),n=({children:e,isOpen:i})=>(0,t.jsx)("div",{className:`px-10 pb-10 transition-all duration-300 ${i?"block":"hidden"}`,children:e});e.s(["default",0,({children:e,id:a,alwaysOpen:s=!1,renderContent:o})=>{let[c,d]=i.default.useState(s);return(0,t.jsx)("div",{className:(0,r.cn)("border-t border-gray-200 bg-white last:border-b",s?"":"hover:bg-gray-100 transition-colors "),children:(0,t.jsxs)("div",{id:a,children:[(0,t.jsx)(l,{alwaysOpen:s,onToggle:()=>d(s||!c),isOpen:c,children:e}),(0,t.jsx)(n,{isOpen:c,children:o()})]})})}])},775685,707958,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(312682),l=e.i(36430),n=e.i(368758),a=e.i(19342),s=e.i(82855),o=e.i(57838);let c=({card:e})=>e?.ribbon_color?.length>0&&e?.ribbon_text?.length>0?(0,t.jsx)("div",{className:"absolute z-40 h-1/5 top-0 inset-x-0",children:(0,t.jsx)("div",{className:"relative z-50 w-full h-full overflow-hidden",children:(0,t.jsx)("span",{style:{background:`${e.ribbon_color}`},className:"absolute top-[15px] right-[-55px] z-10 flex justify-center items-center w-[164px] h-[23px] rotate-45 fine-print text-white text-center",children:e.ribbon_text})})}):null;var d=e.i(558275),u=e.i(759411);let p=()=>(0,t.jsx)("div",{hidden:!0,className:"btn btn-secondary-theme hidden",children:"fake"}),x=({ratePlan:e,button_1:r,button_2:l,fullButtonSection:n,rpPricingData:a,currency:o,pickedPromoCode:c,locale:x,country:m,currentUrl:f,cardType:h,cardTitle:g,ga4ItemCategory2:b="Commercial",ga4ItemVariant:y="Standard",onSelect:v})=>n&&(!r.label||!r.link)&&l.link&&l.label?(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsx)(d.default,{className:"xl:w-full w-full",settings:l,onClick:v}),(0,t.jsx)(p,{})]}):n&&r.label&&r.link&&(!l.label||!l.link)?"info"===h?(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsx)(d.default,{className:"xl:w-full w-full",settings:r,onClick:v}),(0,t.jsx)(p,{})]}):(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsx)(u.default,{className:"xl:w-full w-full",settings:r,onClick:v,productInfo:{productCode:a?.id,sourceProductCode:e?.source_rate_plan_id,migrationPathId:e?.migration_path_id,quantity:a?.min_qty||1,promoCode:s.default.isPromoActive(a,e,c)?a?.code:"",currency:o,ratePlanDetails:a||{},placement:"Pricing page",ga4ItemOverrides:{item_name:g||a?.name,item_category2:b,item_variant:y}},upsellEnabled:e?.disable_upsell!=="yes",context:{locale:x,geoIpCountry:m,currentUrl:f}}),(0,t.jsx)(p,{})]}):"info"===h?(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsx)(d.default,{className:"xl:w-full w-full",settings:r,onClick:v}),l?.label&&l?.link&&(0,t.jsx)(d.default,{className:"xl:w-full w-full",settings:l,onClick:v})]}):(0,t.jsxs)(i.default.Fragment,{children:[r?.label&&r?.link&&(0,t.jsx)(u.default,{className:"xl:w-full w-full",settings:r,onClick:v,productInfo:{productCode:a?.id,sourceProductCode:e?.source_rate_plan_id,migrationPathId:e?.migration_path_id,quantity:a?.min_qty||1,promoCode:s.default.isPromoActive(a,e,c)?a?.code:"",currency:o,ratePlanDetails:a||{},placement:"Pricing page",ga4ItemOverrides:{item_name:g||a?.name,item_category2:b,item_variant:y}},upsellEnabled:e?.disable_upsell!=="yes",context:{locale:x,geoIpCountry:m,currentUrl:f}}),l?.label&&l?.link&&(0,t.jsx)(d.default,{className:"xl:w-full w-full",settings:l,onClick:v})]}),m=({card:e})=>(0,t.jsx)("span",{style:{color:`${e.outline_text_color}`,background:`${e.outline_color}`}
2,className:"absolute z-0 right-[-4px] -top-[26px] flex justify-center items-start h-[40px] px-[6px] pb-0 pt-[4px] rounded-[6px] fine-print font-semibold text-vr-1 text-center",children:e.outline_text});var f=e.i(832594),h=e.i(410332);let g=({value:e,currency:i,country:r})=>{let l="";return e&&(l=`${f.default.symbol(i,r)} ${e}`),(0,t.jsx)("span",{className:"block h-[calc(13px*1.4)] text-[13px] leading-[1.4] normal-case font-bold line-through text-blueGray-6",children:l})},b=({price:e,sourceRpPricingData:i,currency:r,country:l})=>{let n=e.promo||i;return(0,t.jsxs)("span",{className:(0,h.cn)("text-[30.79px] font-medium leading-[1.4] normal-case text-pricing-main-text",n&&"promo"),children:[f.default.symbol(r,l),s.default.wholePart(e.value)]})},y=({price:e,sourceRpPricingData:i,currency:r})=>{if(f.default.shouldSkipCents(r))return null;let l=e.promo||i;return(0,t.jsx)("span",{className:(0,h.cn)("pb-3.5 text-[13px] text-pricing-main-text font-normal leading-[1.4] normal-case",l&&"promo"),children:s.default.decimalPart(e.value)})},v=({ratePlan:e,sourceRpPricingData:i})=>(0,t.jsx)("span",{className:(0,h.cn)("pt-2.5 fine-print text-blueGray-5",i&&"promo"),children:e?.after_price}),j=({ratePlan:e,price:i,sourceRpPricingData:r,currency:l,country:n})=>(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(b,{price:i,sourceRpPricingData:r,currency:l,country:n}),(0,t.jsx)(y,{price:i,sourceRpPricingData:r,currency:l}),(0,t.jsx)(v,{ratePlan:e,sourceRpPricingData:r})]});function _(e){return e.outline_color&&e.outline_text&&e.outline_text_color&&e.outline_border_color}function w(e,t){let i=[];return e.monthly?.rate_plan_id&&i.push({id:"monthly",label:t.billing_monthly,tag:e.monthly?.tag,tooltip:e.monthly?.tooltip}),e.semiannual?.rate_plan_id&&i.push({id:"semiannual",label:t.billing_semiannual,tag:e.semiannual?.tag,tooltip:e.semiannual?.tooltip}),e.annual?.rate_plan_id&&i.push({id:"annual",label:t.billing_annual,tag:e.annual?.tag,tooltip:e.annual?.tooltip}),e.triennial?.rate_plan_id&&i.push({id:"triennial",label:t.billing_triennial,tag:e.triennial?.tag,tooltip:e.triennial?.tooltip}),i}function N(e){let t=[e.annual,e.monthly,e.semiannual,e.triennial].filter(e=>!!e?.rate_plan_id);return 1===t.length?t[0].tag:""}function C(e){let t=e.licenses.find(e=>"yes"===e.default_license);return t||e.licenses[0]}e.s(["initialLicense",0,C,"prepareBillingPeriods",0,w,"shouldBeGlowing",0,_,"tagForLicense",0,N],707958);let k=({card:e})=>e.logo?(0,t.jsx)(r.default,{className:"w-10",loading:"lazy",image:e.logo,variant:"thumb"}):null,S=({card:e})=>(0,t.jsxs)("div",{className:"flex flex-col gap-[15px] h-20 pt-2",children:[e.title&&(0,t.jsx)("span",{className:"body-1 font-semibold text-pricing-main-text",children:e.title}),e.description&&(0,t.jsx)("span",{className:"markdown text-pricing-ac-sub-title-text text-[11px]",children:(0,l.default)(e.description,!0)})]});e.s(["default",0,({card:e,labels:r,fullButtonSection:l,ga4ItemCategory2:d="Commercial",ga4ListName:u})=>{i.default.useEffect(()=>{if(!e?.licenses?.length)return;let t=C(e);L(t);let i=w(t,r);$(i.find(e=>e.id===t.default_period)||i[0])},[e]);let{currentUrl:p,locale:f,currency:b,country:y,pricingData:v,pickedPromoCode:P}=i.default.useContext(o.default),[I,L]=i.default.useState(e?.licenses?.length?C(e):void 0),O=I?w(I,r):[],[R,$]=i.default.useState(O.find(e=>e.id===I?.default_period)||O[0]),M=I?.[R?.id],T=i.default.useRef(null),z=_(e),F="Standard";if(!e?.licenses?.length||!M?.rate_plan_id&&"hide"===e.on_missing_rate_plan_id)return null;if(!M?.rate_plan_id&&"disable"===e.on_missing_rate_plan_id)return(0,t.jsx)("p",{children:"Disabled card"});let E=s.default.pricingDataFor(M,v),A=s.default.sourcePricingDataFor(M,v),D=s.default.priceForPeriod(E,b,M,P),B=null;D.promo&&(B=D.oldValue?.toFixed(2).toString());let G=M?.old_prices?.find(e=>e.currency.toLowerCase()===b)?.value,V=G?Number.parseFloat(G).toFixed(2).toString():null;return(0,t.jsxs)("div",{style:z?{outlineColor:e.outline_color,outlineWidth:"4px",outlineStyle:"solid"}:{},className:(0,h.cn)("relative items-start rounded-[16px] shadow-newPricing","w-[330px] xl:w-[250px] 2xl:w-[330px] xl:min-h-[450px]"),ref:T,children:[(0,t.jsx)(c,{card:e}),z&&(0,t.jsx)(m,{card:e}),(0,t.jsxs)("div",{style:{borderColor:z?`${e.outline_border_color}`:"transparent"},className:(0,h.cn)("relative z-10 flex flex-col items-start min-h-[450px] max-xl:min-h-[auto] py-[20px] px-[15px] rounded-[16px]","[background:var(--pricing-elements-bg)]",z?"w-[330px] xl:w-[250px] 2xl:w-[330px] border border-solid border-transparent":"w-full"),children:[(0,t.jsx)(k,{card:e}),(0,t.jsx)(S,{card:e}),"info"!==e.card_type&&(0,t.jsx)("div",{className:"flex flex-col items-start self-stretch pt-[15px] pb-5",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(g,{value:B||V,currency:b,country:y}),(0,t.jsx)(j,{ratePlan:M,price:D,sourceRpPricingData:A,currency:b,country:y}
2),(0,t.jsx)("p",{className:"pb-[10px] fine-print text-pricing-ac-price-description-text",dangerouslySetInnerHTML:{__html:s.default.customBilledLabel(M,1,A||E,b,y,P)||s.default.billingMethodStaticLabel(R,r,A||E,b,y,M,P,1)}})]})}),"info"===e.card_type&&(0,t.jsx)("div",{className:"flex flex-col items-start self-stretch pt-[15px] pb-[50px]",children:(0,t.jsxs)("div",{children:[e.main_title&&(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)("span",{className:"text-[30.79px] font-medium leading-[1.4] normal-case text-pricing-main-text",children:e.main_title})}),e.main_sub_title&&(0,t.jsx)("p",{className:"pb-[10px] fine-print text-pricing-ac-price-description-text",children:e.main_sub_title})]})}),(0,t.jsxs)("div",{className:"flex flex-col items-start justify-end gap-[10px] flex-1 w-full",children:["info"!==e.card_type&&(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsx)(a.default,{skipSingle:!0,options:O,value:R,onChange:$}),e.licenses.length>0&&(0,t.jsx)(a.default,{options:e.licenses.map(e=>({id:e.license_type,label:e.license_type,tag:N(e),tooltip:e?.tooltip})),value:{id:I.license_type,label:I.license_type,tooltip:I.tooltip,tag:O?.length===1&&I[R.id]?.tag||""},onChange:t=>{let i=e.licenses.find(e=>e.license_type===t.id);L(i);let l=w(i,r);$(l.find(e=>e.id===i.default_period)||l[0])}})]}),(0,t.jsx)(x,{ratePlan:M,button_1:e.button_1,button_2:e.button_2,fullButtonSection:l,rpPricingData:E,currency:b,pickedPromoCode:P,locale:f,country:y,currentUrl:p,cardType:e.card_type,cardTitle:e.title,ga4ItemCategory2:d,ga4ItemVariant:F,onSelect:()=>{E&&(0,n.registerSelectItem)(E,b,u,{item_name:e.title||E?.name,item_category2:d,item_variant:F})}})]})]})]})}],775685)},230278,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(410332);let l=({open:e})=>(0,t.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,r.cn)("transition-transform ease-in-out duration-300",e?"":"-rotate-90"),"aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 6.5L8 10.5L12 6.5",strokeWidth:"1.2",stroke:"var(--pricing-cf-trigger-text)",strokeLinecap:"round",strokeLinejoin:"round"})}),n=({label:e,open:i,setOpen:r})=>(0,t.jsxs)("div",{className:"flex justify-between p-[16px] pb-0 w-full",onClick:e=>{r(!i)},children:[(0,t.jsx)("span",{className:"body-3 font-medium text-pricing-cf-trigger-text leading-[1.4] normal-case",children:e}),(0,t.jsx)(l,{open:i})]}),a=({tag:e})=>e?(0,t.jsx)("span",{className:"flex justify-center items-center px-[6px] h-[17px] rounded-[4px] text-center fine-print bg-mono-7 text-mono-4",children:e}):null,s=({showQuantity:e,id:i,idPrefix:r,label:l,qty:n})=>(0,t.jsxs)("label",{className:"cursor-pointer",htmlFor:`cb-${r}-${i}`,children:[l," ",e&&n>1&&`(${n})`]}),o=({id:e,idPrefix:i,value:r,onChange:l})=>(0,t.jsx)("input",{type:"checkbox",id:`cb-${i}-${e}`,className:"pricing-checkbox",checked:r.includes(e),onChange:t=>{t.target.checked?l([...r,e]):l(r.filter(t=>t!=e))}});e.s(["default",0,({label:e,options:l,value:c,initialOpen:d=!1,showQuantity:u=!0,onChange:p})=>{let[x,m]=i.default.useState(d),f=i.default.useId();return(0,t.jsx)("div",{className:"flex flex-col items-start gap-[20px] w-full py-[7.5px] px-0",children:(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col items-start self-stretch rounded-[16px]","cursor-pointer border border-solid","[background:var(--pricing-cf-card-bg)] border-pricing-cf-card-border",x?"p-0 pb-[16px]":""),children:[(0,t.jsx)(n,{label:e,open:x,setOpen:m}),l.length>0&&(0,t.jsx)("div",{style:{height:x?`calc(${l.length} * 28px + 30px`:"0px"},className:(0,r.cn)("flex flex-col gap-[8px] pt-[15px] ml-4 overflow-hidden transition-all ease-out duration-300",x?"":"h-0"),children:l.map(e=>!e.qty>0?null:(0,t.jsxs)("div",{className:"flex items-center gap-[10px] body-3",children:[(0,t.jsx)(o,{...e,idPrefix:f,value:c,onChange:p}),(0,t.jsx)(s,{...e,idPrefix:f,showQuantity:u}),(0,t.jsx)(a,{...e})]},e.id))})]})})}],230278)},230865,204662,330756,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(558275),l=e.i(759411),n=e.i(57838),a=e.i(82855),s=e.i(410332);let o=({disabled:e=!1,children:i})=>(0,t.jsx)("div",{className:(0,s.cn)("flex flex-col items-center rounded-[16px] gap-[10px] p-[15px] pb-[20px]","w-[330px] xl:w-[250px] 2xl:w-[330px] max-xl:h-auto xl:min-h-[170px]","transition-all ease-out duration-[400ms]",e?"opacity-50 pointer-events-none bg-pricing-mc-dark-bg":"[background:var(--pricing-elements-bg)]"),children:i});function c(e){return e?.licenses?.find(e=>"yes"===e.default_license)||e?.licenses?.[0]}function d(e,t){let i=Number.parseInt(t?.qty||"1",10);return i<e?e:i}var u=e.i(308517),p=e.i(369084);let x=({title:e})=>(0,t.jsx)("div",{className:"flex flex-col items-center gap-[8px] self-stretch pt-[10px]",children:e&&(0,t.jsx)("span",{className:"text-[17.33px] font-bold leading-[1.4] text-center text-pricing-main-text",children:e})}),m=({logos:e})=>e?.length?(0,t.jsx)("div",{className:"flex items-center justify-center gap-[6px] w-full",children:e.map(e=>(0,t.jsx)(p.Logo,{logo:e,imgClassName:"block size-[24px]"},e.id))}):null,f=({card:e,labels:i})=>(0,t.jsxs)(o,{disabled:!0,children:[(0,t.jsx)(x,{title:e.title}),(0,t.jsx)(m,{logos:e.logos}),(0,t.jsx)("div",{className:"flex flex-col items-center self-stretch",children:(0,t.jsx)("span",{className:"text-[30.79px] font-medium leading-[1.4] normal-case text-pricing-main-text",children:"N/A"})}),(0,t.jsx)(r.default,{settings:{...e.button_1||{},label:i.main_card_disabled_button_label,link:"#"},className:"w-full xl:w-full mt-auto text-white bg-mono-6 border-mono-6"})]});var h=e.i(832594);let g=({text:e})=>e?(0,t.jsx)("span",{className:"text-[14.5px] font-bold leading-[1.4] text-center text-pricing-main-text",children:e}):null,b=({card:e})=>(0,t.jsxs)(o,{disabled:!0,children:[(0,t.jsx)(g,{text:e.title}),(0,t.jsxs)("div",{className:"flex items-center gap-[20px]",children:[(0,t.jsx)("span",{className:"text-[30.79px] font-medium leading-[1.4] normal-case text-pricing-main-text",children:"N/A"}),(0,t.jsx)(r.default,{settings:{...e.button_1||{},label:"{CART}",link:"#"},className:"flex items-center justify-center size-[46px] xl:size-[46px] p-0 rounded-[100px] text-white bg-mono-6 border-mono-6"})]})]});e.s([],230865),e.s(["BundleCardDesktop",0,({labels:e,card:r,billingPeriod:s,licensesCount:p,selectedLicenseType:h})=>{let{currentUrl:g,locale:b,currency:y,country:v,pricingData:j,pickedPromoCode:_}=i.default.useContext(n.default);if(!r?.licenses?.length)return null;let w=r.licenses.find(e=>e.license_type===h);if(!w&&h)return(0,t.jsx)(f,{card:r,labels:e});let N=w||c(r),C=N?.[s?.id];if(!C?.rate_plan_id&&"hide"===r.on_missing_rate_plan_id)return null;if(!C?.rate_plan_id&&"disable"===r.on_missing_rate_plan_id)return(0,t.jsx)(f,{card:r,labels:e});let k=a.default.pricingDataFor(C,j),S=d(p,k),P=a.default.sourcePricingDataFor(C,j),I=a.default.priceForPerio
2d(k,y,C,_),L=(S*I.value).toFixed(2).toString(),O=null;I.promo&&(O=(S*I.oldValue).toFixed(2).toString());let R=C?.old_prices?.find(e=>e.currency.toLowerCase()===y)?.value,$=null;return R&&($=Number.parseFloat(R)*S),(0,t.jsxs)(o,{children:[(0,t.jsx)(x,{title:r.title}),(0,t.jsx)(m,{logos:r.logos}),(0,t.jsxs)("div",{className:"flex flex-col items-center self-stretch",children:[(O||$||C?.promo_tag_label)&&(0,t.jsx)(u.OldPrice,{value:O||$,currency:y,country:v,ratePlan:C,isPromo:I.promo}),(0,t.jsx)(u.CurrentPrice,{ratePlan:C,price:I,totalValue:L,sourceRpPricingData:P,currency:y,country:v})]}),r?.button_1?.label&&(0,t.jsx)(l.default,{settings:r.button_1,className:"w-full xl:w-full mt-auto",productInfo:{productCode:k?.id,sourceProductCode:C?.source_rate_plan_id,migrationPathId:C?.migration_path_id,quantity:S,promoCode:a.default.isPromoActive(k,C,_)?k?.code:"",currency:y,ratePlanDetails:k||{},placement:"Pricing page",ga4ItemOverrides:{item_name:r.title||k?.name,item_category2:"Commercial",item_variant:"Standard"}},upsellEnabled:C?.disable_upsell!=="yes",context:{locale:b,geoIpCountry:v,currentUrl:g}})]})}],204662),e.s(["BundleCardMobile",0,({card:e,billingPeriod:r,licensesCount:s,selectedLicenseType:p})=>{let{currentUrl:x,locale:m,currency:f,country:y,pricingData:v,pickedPromoCode:j}=i.default.useContext(n.default);if(!e?.licenses?.length)return null;let _=e.licenses.find(e=>e.license_type===p);if(!_&&p)return(0,t.jsx)(b,{card:e});let w=_||c(e),N=w?.[r?.id];if(!N?.rate_plan_id&&"hide"===e.on_missing_rate_plan_id)return null;if(!N?.rate_plan_id&&"disable"===e.on_missing_rate_plan_id)return(0,t.jsx)(b,{card:e});let C=a.default.pricingDataFor(N,v),k=d(s,C),S=a.default.sourcePricingDataFor(N,v),P=a.default.priceForPeriod(C,f,N,j),I=(k*P.value).toFixed(2).toString(),L=null;P.promo&&(L=(k*P.oldValue).toFixed(2).toString());let O=N?.old_prices?.find(e=>e.currency.toLowerCase()===f)?.value,R=null;return O&&(R=Number.parseFloat(O)*k),(0,t.jsxs)(o,{children:[(0,t.jsx)(g,{text:e.title}),N?.promo_tag_label&&(0,t.jsx)(u.OldPriceTag,{ratePlan:N}),(0,t.jsxs)("div",{className:"flex justify-center items-start gap-[20px] self-stretch min-h-auto",children:[(L||R)&&(0,t.jsx)("span",{className:"block text-[13px] leading-[1.4] normal-case font-bold line-through text-blueGray-6",children:L?`${h.default.symbol(f,y)} ${L}`:`${h.default.symbol(f,y)} ${R}`}),(0,t.jsx)(u.CurrentPrice,{ratePlan:N,price:P,totalValue:I,sourceRpPricingData:S,currency:f,country:y}),e?.button_1?.label&&(0,t.jsx)(l.default,{settings:{...e?.button_1,label:"{CART}"},className:"flex items-center justify-center size-[46px] xl:size-[46px] p-0 rounded-[100px]",productInfo:{productCode:C?.id,sourceProductCode:N?.source_rate_plan_id,migrationPathId:N?.migration_path_id,quantity:k,promoCode:C?.promoActive?C?.code:"",currency:f,ratePlanDetails:C||{},placement:"Pricing page",ga4ItemOverrides:{item_name:e.title||C?.name,item_category2:"Commercial",item_variant:"Standard"}},upsellEnabled:N?.disable_upsell!=="yes",context:{locale:m,geoIpCountry:y,currentUrl:x}})]})]})}],330756)},476017,339276,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(410332),r=e.i(312682),l=e.i(250215),n=e.i(610582);let a="flex flex-row justify-center items-center gap-[8px] py-[20px] px-[30px] w-full max-w-[330px] xl:max-w-[250px] 2xl:max-w-[330px]",s=()=>(0,t.jsx)("div",{className:"w-[1px] h-[10px] bg-blueGray-5"});e.s(["IntegrationsDesktop",0,({title:e,description:o,integrations:c})=>(0,t.jsx)("div",{className:l.PRICING_COMPARE_INTEGRATIONS_CLASS,children:(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)(n.IntegrationsTitlesDesktop,{title:e,description:o}),c.length>0&&(0,t.jsx)("div",{className:(0,l.calcColumnClass)(c),children:(0,t.jsx)("div",{className:(0,i.cn)(l.PRICING_FLEX_CONTAINER,"xl:items-center h-full"),children:c.map((e,i)=>(0,t.jsxs)("div",{className:a,children:[e.os?.filter(e=>e&&e.urls&&e.urls.thumb).map(e=>(0,t.jsx)(r.default,{loading:"lazy",image:e,variant:"thumb",className:"block size-[18px]"},`os-${e.id}`)),e.os?.length>0&&e.cads?.length>0&&(0,t.jsx)(s,{}),e.cads?.filter(e=>e&&e.urls&&e.urls.thumb).map(e=>(0,t.jsx)(r.default,{loading:"lazy",image:e,variant:"thumb",className:"block size-[18px]"},`cad-${e.id}`))]},`${e.id}-${i}`))})})]})}),"IntegrationsMobile",0,({title:e,description:i,integrations:o})=>(0,t.jsxs)("div",{className:l.PRICING_COMPARE_INTEGRATIONS_CLASS,children:[(0,t.jsx)(n.IntegrationsTitlesMobile,{title:e,description:i}),(o.os?.length>0||o.cads?.length>0)&&(0,t.jsxs)("div",{className:a,children:[o.os?.filter(e=>e&&e.urls&&e.urls.thumb).map(e=>(0,t.jsx)(r.default,{loading:"lazy",image:e,variant:"thumb",className:"block size-[18px]"},`os-${e.id}`)),o.os?.length>0&&o.cads?.length>0&&(0,t.jsx)(s,{}
2),o.cads?.filter(e=>e&&e.urls&&e.urls.thumb).map(e=>(0,t.jsx)(r.default,{loading:"lazy",image:e,variant:"thumb",className:"block size-[18px]"},`cad-${e.id}`))]})]})],476017);var o=e.i(992967);e.i(348089);var c=e.i(312058);let d=({content:e,featureLabel:i,removeTopSpacing:r=!1})=>(0,t.jsx)(c.RenderContent,{content:e,featureLabel:i,removeTopSpacing:r,TooltipComponent:o.default,textClass:"text-[11px] text-[var(--pricing-compare-text)] break-words min-w-0 shrink"}),u=(0,i.cn)("flex flex-col justify-center items-start self-stretch py-[20px] px-[15px] mb-[15px] rounded-[16px] [background:var(--pricing-elements-bg)]","w-[330px] xl:w-full"),p=(0,i.cn)("w-full border-b border-solid border-[var(--pricing-compare-border)]","max-xl:flex max-xl:items-center max-xl:py-[12px] max-xl:gap-[10px] min-h-[34px]"),x=(0,i.cn)("w-full border-b border-solid border-[var(--pricing-compare-border)]","max-xl:flex max-xl:items-center max-xl:py-[12px] max-xl:gap-[10px] min-h-[40px]"),m=e=>e.image?x:p,f="flex justify-start xl:justify-between items-center max-xl:w-[35%] xl:flex-1 pr-2",h="flex flex-col justify-center self-stretch h-[23px] body-1 font-bold mb-3 max-xl:mb-4",g=({image:e,label:i})=>{let r=e?"string"==typeof e?e:e.urls?.original||e.urls?.image||e.urls?.thumb||null:null;return r?(0,t.jsx)("img",{loading:"lazy",src:r,alt:i||"",className:"max-h-6 max-w-full w-auto h-auto object-contain"}):i?(0,t.jsx)("span",{className:"text-[11px] text-blueGray-3 max-xl:flex-1 mr-1 xl:mr-0",children:i}):null};e.s(["FeaturesDesktop",0,({title:e,features:r})=>(0,t.jsxs)("div",{className:u,children:[e&&(0,t.jsx)("span",{className:h,children:e}),r.map((e,r)=>(0,t.jsxs)("div",{className:(0,i.cn)("row",m(e)),children:[(0,t.jsx)("div",{className:l.PRICING_SIDE_COL_CLASS,children:(0,t.jsxs)("div",{className:f,children:[(0,t.jsx)(g,{image:e.image,label:e.label}),(0,t.jsx)(o.default,{removeTopSpacing:!0,icon:e.tooltip.icon,title:e.tooltip.title,description:e.tooltip.description})]})}),(0,t.jsx)("div",{className:(0,l.calcColumnClass)(e.ticks),children:(0,t.jsx)("div",{className:(0,i.cn)(l.PRICING_FLEX_CONTAINER,"xl:flex-nowrap xl:items-center h-full"),children:e.ticks.map((i,r)=>(0,t.jsx)("div",{className:"flex justify-center items-center gap-1 flex-wrap w-full max-w-[330px] xl:max-w-[250px] 2xl:max-w-[330px]",children:(0,t.jsx)(d,{content:i.content,featureLabel:e.label,removeTopSpacing:!0})},`${r}-${i.id}`))})})]},`${r}-${e.id}`))]}),"FeaturesMobile",0,({title:e,features:i})=>(0,t.jsxs)("div",{className:u,children:[(0,t.jsx)("span",{className:h,children:e}),i.map((e,i)=>(0,t.jsxs)("div",{className:m(e),children:[(e.label||e.image||e.tooltip)&&(0,t.jsxs)("div",{className:f,children:[(0,t.jsx)(g,{image:e.image,label:e.label}),e.tooltip&&(0,t.jsx)(o.default,{icon:e.tooltip.icon,title:e.tooltip.title,description:e.tooltip.description})]}),e.ticks.map((i,r)=>(0,t.jsx)("div",{className:"flex items-start gap-1 flex-wrap",children:(0,t.jsx)(d,{content:i.content,featureLabel:e.label})},`${e.label}-${r}`))]},`${i}-${e.id}`))]})],339276)},610582,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(250215),r=e.i(410332);let l=({title:e,description:i})=>(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col items-center xl:items-start flex-1 gap-[5px] self-stretch","pt-[20px] pb-0 px-[15px] xl:py-[20px]"),children:[e&&(0,t.jsx)("span",{className:"body-1 font-bold leading-[1.4]",children:e}),i&&(0,t.jsx)("p",{className:"w-[300px] body-3 opacity-50 text-center xl:text-left",children:i})]});e.s(["IntegrationsTitlesDesktop",0,({title:e,description:r})=>e||r?(0,t.jsx)("div",{className:i.PRICING_SIDE_COL_CLASS,children:(0,t.jsx)(l,{title:e,description:r})}):null,"IntegrationsTitlesMobile",0,({title:e,description:i})=>e||i?(0,t.jsx)(l,{title:e,description:i}):null])},949108,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(36430),r=e.i(410332),l=e.i(250215),n=e.i(610582);let a="flex flex-row justify-center items-center gap-[8px] py-[20px] px-[30px] w-full max-w-[330px] xl:max-w-[250px] 2xl:max-w-[330px] body-3 text-[var(--pricing-compare-text)] text-center";e.s(["AvailableProductsDesktop",0,({title:e,description:s,cards:o})=>e?(0,t.jsx)("div",{className:(0,r.cn)(l.PRICING_COMPARE_INTEGRATIONS_CLASS),children:(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)(n.IntegrationsTitlesDesktop,{title:e,description:s}),o.length>0&&(0,t.jsx)("div",{className:(0,l.calcColumnClass)(o),children:(0,t.jsx)("div",{className:(0,r.cn)(l.PRICING_FLEX_CONTAINER,"xl:items-center h-full"),children:o.map((e,r)=>(0,t.jsx)("div",{className:a,children:(0,i.default)(e?.comparison_links?.available_products||"",!0)},`available-products-${r}`))})})]})}):null,"AvailableProductsMobile",0,({title:e,description:r,card:s})=>e?(0,t.jsxs)("div",{className:l.PRICING_COMPARE_INTEGRATIONS_CLASS,children:[(0,t.jsx)(n.IntegrationsTitlesMobile,{title:e,description:r}),s?.comparison_links?.available_products&&(0,t.jsx)("div",{className:a,children:(0,i.default)(s?.comparison_links?.available_products||"",!0)})]}):null])},477748,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(759411),l=e.i(558275),n=e.i(368758),a=e.i(832594),s=e.i(82855),o=e.i(19342),c=e.i(57838),d=e.i(508576),u=e.i(410332),p=e.i(312682),x=e.i(36430);let m=({product:e,card:i})=>(0,t.jsxs)("div",{className:"flex flex-col items-start px-2.5 pt-[25px] rounded-[16px] bg-transparent",children:[i.title&&(0,t.jsx)("span",{style:{color:e.color},className:"fine-print font-semibold leading-[1.4] normal-case",children:i.title}),(i.icon||i.description)&&(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[i.icon&&(0,t.jsx)(p.default,{image:i.icon,variant:"thumb",className:"block size-[32px] rounded"}),i.description&&(0,t.jsx)("span",{className:"text-[41.05px] font-bold leading-[1.2] text-pricing-main-text normal-case",children:(0,x.default)(i.description,!0)})]})]});var f=e.i(992967);let h=({card:e})=>{let i=e.features?.items||[];return e.features?.title||0!==i.length?(0,t.jsx)("div",{className:(0,u.cn)("flex flex-col items-start self-stretch","px-2.5 pb-0"),children:(0,t.jsxs)("div",{className:"flex flex-col items-start self-stretch pricing-ul",children:[e.features?.title&&(0,t.jsx)("span",{className:"fine-print font-bold leading-[1.4] normal-case",children:e.features.title}),i.length>0&&(0,t.jsx)("ul",{className:"fine-print",children:i.map((e,i)=>(0,t.jsx)("li",{className:"my-0.5",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("span",{children:e.value}),(0,t.jsx)(f.default,{iconClass:"size-[1em]",...e.tooltip})]})},`${i}-${e.id}`))})]})}):null},g=({product:e,card:i,disabled:r=!1,children:l})=>{let n="yes"===i.is_main,a=i.glowing_text&&i.glowing_text_color&&i.glowing_text_bg_color;return(0,t.jsxs)("div",{className:(0,u.cn)("relative rounded-[16px] [background:var(--pricing-elements-bg)]","w-[330px] xl:w-[250px] 2xl:w-[343px]",r&&"pointer-events-none opacity-50","h-full",n?"pricing-main-card-shadow":"shadow-newPricing"),children:[a&&(0,t.jsx)("span",{style:{background:i.glowing_text_bg_color,color:i.glowing_text_color},className:"absolute z-[2] right-[13px] top-[-13px] flex items-center px-[10px] py-[6px] rounded-[6px] text-[11px] font-bold leading-none whitespace-nowrap shadow-newPricing",children:i.glowing_text}),(0,t.jsxs)("div",{className:(0,u.cn)("flex flex-col items-start h-full p-2.5 bg-white rounded-[16px] [background:var(--pricing-elements-bg)]",n?"min-h-[442px]":"min-h-[378px]"),children:[(0,t.jsx)(m,{product:e,card:i}),(0,t.jsx)(h,{card:i}),(0,t.jsx)("div",{className:"flex flex-col items-start gap-[10px] self-stretch px-2.5 pb-2.5 pt-0 mt-auto",children:l})]})]})},b=({settings:e,label:i,className:r})=>(0,t.jsx)("div",{className:(0,u.cn)("w-full",r),children:(0,t.jsx)(l.default,{settings:{...e||{},label:i,link:"#"},className:"w-full xl:w-full text-white bg-mono-6 border-mono-6"})}),y=({product:e,card:i,labels:r={}})=>(0,t.jsxs)(g,{product:e,card:i,disabled:!0,children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)("span",{className:"text-[30.79px] font-medium leading-[1.4] normal-case text-pricing-main-text",children:"N/A"})})}),i?.button_1?.label&&(0,t.jsx)(b,{settings:i.button_1,label:r.main_card_disabled_button_label||"Not available in current selection"})]}),v="Floating";function j(e,t){return e?.prices?.find(e=>e.currency?.toLowerCase()===t?.toLowerCase())?.value}function _(e){return e?.licenses?.find(e=>"yes"===e.default_license)||e?.licenses?.[0]}let w=({value:e,currency:i,country:r})=>{if(!e&&0!==e)return null;let l=Number(e).toFixed(2),n=s.default.wholePart(l),o=s.default.decimalPart(l);return(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsxs)("span",{className:"text-[30.79px] font-medium leading-[1.4] normal-case text-pricing-main-text",children:[a.default.symbol(i,r),n]}),!a.default.shouldSkipCents(i)&&"00"!==o&&(0,t.jsx)("span",{className:"pb-3.5 text-[13px] font-normal leading-[1.4] normal-case text-pricing-main-text",children:o})]})};e.s(["default",0,({product:e,card:a,billingPeriod:u,labels:p,licenseType:x,ga4ItemVariant:m="Credits"})=>{let f,h,b,{currentUrl:N,locale:C,currency:k,country:S,pricingData:P,pickedPromoCode:I}=i.default.useContext(c.default),[L,O]=i.default.useState(_(a));i.default.useEffect(()=>{O(_(a))},[a]);let R=u||(L?.monthly?.rate_plan_id?{id:"monthly"}:L?.semiannual?.rate_plan_id?{id:"semiannual"}:L?.annual?.rate_plan_id?{id:"annual"}:L?.triennial?.rate_plan_id?{id:"triennial"}:{}),$=L?.[R?.id],M=i.default.useMemo(()=>s.default.pricingDataFor($,P)||{},[$,P]),T=(0,s.mapItemCategory2)(x),z=j($,k),F=$?.rate_plan_id&&!z,E=F&&M&&M?.min_qty||1,[A,D]=i.default.useState(E);i.default.useEffect(()=>{D(E)}
2,[a,E]),F&&M?(f=s.default.priceForPeriod(M,k,$,I),h=Math.max(A,E),b=s.default.sourcePricingDataFor($,P)):(f={value:z||0,promo:!1},h=A,b=null);let B=(h*f.value).toFixed(2).toString();if(i.default.useEffect(()=>{a?.licenses?.length&&(0,n.registerPricingViewItem)(M,k,h,"Pricing page",{item_category2:T,item_category3:v,item_variant:m},{billingPeriod:R,licenseType:L?.license_type},a)},[M,k,h,a,T,m,R,L?.license_type]),!a?.licenses?.length)return null;let G=!$?.rate_plan_id&&!$?.price_text&&!j($,k)&&a.on_missing_rate_plan_id||null;if("hide"===G)return null;if("disable"===G)return(0,t.jsx)(y,{product:e,card:a,labels:p});let V=a.licenses.every(e=>e.license_type);return(0,t.jsxs)(g,{product:e,card:a,children:[a.savings_text&&(0,t.jsx)("span",{className:"block text-[13px] leading-[1.4] normal-case text-blueGray-6 font-bold",children:a.savings_text}),V?(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(w,{value:B,currency:k,country:S}),F&&(0,t.jsx)("p",{className:"text-[11px] text-pricing-ac-price-description-text",dangerouslySetInnerHTML:{__html:s.default.customBilledLabel($,h,b||M,k,S,I)||s.default.billingMethodLabel(h,R,p,b||M,k,S,$,I)}})]}),(0,t.jsxs)("div",{className:"flex items-stretch gap-2 w-full",children:[(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(o.default,{options:a.licenses.map(e=>({id:e.license_type,label:e.license_type,tag:"",tooltip:e.tooltip})),value:{id:L.license_type,label:L.license_type,tooltip:L.tooltip},onChange:e=>{O(a.licenses.find(t=>t.license_type===e.id))}})}),(0,t.jsx)(d.default,{count:h,onChange:D,label:"Quantity"})]})]}):(0,t.jsxs)("div",{className:"flex items-end justify-between w-full",children:[(0,t.jsxs)("div",{className:"pb-1.5",children:[(0,t.jsx)(w,{value:B,currency:k,country:S}),F&&(0,t.jsx)("p",{className:"text-[11px] leading-[1.4] text-pricing-ac-price-description-text",dangerouslySetInnerHTML:{__html:s.default.customBilledLabel($,h,b||M,k,S,I)||s.default.billingMethodLabel(h,R,p,b||M,k,S,$,I)}})]}),(0,t.jsxs)("div",{className:"flex flex-col items-end",children:[(0,t.jsx)("span",{className:"fine-print font-medium leading-[1.4] normal-case text-pricing-main-text mr-3 mb-[4px]",children:"Quantity"}),(0,t.jsx)(d.default,{count:h,onChange:D,label:"Quantity"})]})]}),F&&M&&a?.button_1?.label&&(0,t.jsx)(r.default,{settings:a.button_1,className:"w-full xl:w-full",productInfo:{productCode:M?.id,quantity:h,promoCode:s.default.isPromoActive(M,$,I)?M?.code:"",currency:k,ratePlanDetails:M||{},placement:"Pricing page",ga4ItemOverrides:{item_name:[a.title,a.description].filter(Boolean).join(" - "),item_brand:a.title,item_category2:T,item_category3:v,item_variant:"Credits"}},upsellEnabled:$?.disable_upsell!=="yes",context:{locale:C,geoIpCountry:S,currentUrl:N}}),!F&&a?.button_1?.label&&a?.button_1?.link&&(0,t.jsx)(l.default,{settings:a.button_1,className:"w-full xl:w-full"})]})}],477748)},307001,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(36430),l=e.i(410332);let n=({count:e,maxLicenses:i})=>(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,l.cn)("cursor-pointer",e>=i?"text-pricing-lcs-text-disabled":"text-pricing-lcs-text"),"aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8.00065 3.33398V12.6673M3.33398 8.00065H12.6673",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),a=({count:e})=>(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,l.cn)("cursor-pointer",e<=1?"text-pricing-lcs-text-disabled":"text-pricing-lcs-text"),"aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3.33398 8H12.6673",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),s=({disabled:e,children:i,onClick:r})=>(0,t.jsx)("button",{disabled:e,type:"button",className:(0,l.cn)(e?"text-pricing-lcs-text-disabled":"text-pricing-lcs-text","flex w-[38px] h-[38px] justify-center items-center gap-2 p-1.5 outline-none [background:var(--pricing-lcs-bg)] rounded-[100px] cursor-pointer border border-solid border-pricing-lcs-border"),onClick:r,children:i});e.s(["default",0,({count:e,maxLicenses:o,labels:c,onChange:d})=>(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsxs)("div",{className:"flex justify-between items-center gap-2 w-full text-nowrap pl-4 text-[13px]",children:[(0,t.jsx)("span",{children:c.licenses_count_title}),(0,t.jsxs)("div",{className:"flex justify-center items-center gap-[calc(24px/3)]",children:[(0,t.jsx)(s,{disabled:e<=1,onClick:()=>{d(e-1)},children:(0,t.jsx)(a,{count:e})}
2),(0,t.jsx)("input",{type:"number",max:o,min:"1",value:e,onChange:e=>{let t;e.preventDefault(),d((t=Number(e.target.value))>o?o:t<1?1:t)},className:(0,l.cn)("[-moz-appearance:textfield] [-webkit-appearance:none] m-0 outline-none focus:outline-none","block w-10 self-stretch px-2.5 py-[4.5px] body-2 text-pricing-lcs-text border [background:var(--pricing-lcs-bg)] text-center rounded-lg border-solid border-pricing-lcs-border")}),(0,t.jsx)(s,{disabled:e>=o,onClick:()=>{d(e+1)},children:(0,t.jsx)(n,{count:e,maxLicenses:o})})]})]}),e>=11&&(0,t.jsx)("p",{className:"pt-[5px] pl-4 markdown markdown-medium text-pricing-lcs-upsell-text",children:(0,r.default)(c.licenses_count_max_message,!0)})]})],307001)},508576,e=>{"use strict";var t=e.i(843476);e.i(271645);let i=()=>(0,t.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",children:(0,t.jsx)("path",{d:"M1 5L5 1L9 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),r=()=>(0,t.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",children:(0,t.jsx)("path",{d:"M1 1L5 5L9 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});
2e.s(["default",0,({count:e,onChange:l,label:n})=>{let a=e=>l(Math.min(50,Math.max(1,e)));return(0,t.jsxs)("div",{className:"relative shrink-0",children:[(0,t.jsx)("input",{type:"number",min:1,max:50,value:e,"aria-label":n,onChange:e=>{let t=Number.parseInt(e.target.value,10);if(Number.isNaN(t))return a(1);a(t)},className:"h-[30px] w-[64px] pl-3 pr-7 text-left rounded-[8px] border border-solid text-[11px] font-medium bg-pricing-dropdown-select-bg border-pricing-dropdown-select-border text-pricing-dropdown-select-text"}),(0,t.jsxs)("div",{className:"absolute right-2 top-1/2 -translate-y-1/2 flex flex-col items-center justify-center gap-1.5",children:[(0,t.jsx)("button",{type:"button",tabIndex:-1,"aria-label":"Increase",disabled:e>=50,onClick:()=>a(e+1),className:"block leading-none text-pricing-main-text disabled:opacity-30 cursor-pointer disabled:cursor-default",children:(0,t.jsx)(i,{})}),(0,t.jsx)("button",{type:"button",tabIndex:-1,"aria-label":"Decrease",disabled:e<=1,onClick:()=>a(e-1),className:"block leading-none text-pricing-main-text disabled:opacity-30 cursor-pointer disabled:cursor-default",children:(0,t.jsx)(r,{})})]})]})}])},308517,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(832594),r=e.i(410332),l=e.i(82855),n=e.i(992967);let a=({value:e,isPromo:r,ratePlan:l,currency:a,country:s})=>{let o="";return e&&(o=`${i.default.symbol(a,s)} ${e}`),(0,t.jsxs)("span",{className:"block h-[calc(13px*1.4)] text-[13px]",children:[(0,t.jsx)("span",{className:"leading-[1.4] normal-case line-through text-blueGray-6 font-bold",children:o}),o&&l.old_prices_tooltip&&!r&&(0,t.jsx)(n.default,{custmInfoIcon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgOCA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTEzOTBfMjMyNDMwKSI+CjxwYXRoIGQ9Ik0zLjk5OTM1IDUuMzMyNjhWMy45OTkzNU0zLjk5OTM1IDIuNjY2MDJINC4wMDI2OE03LjMzMjY4IDMuOTk5MzVDNy4zMzI2OCA1Ljg0MDMgNS44NDAzIDcuMzMyNjggMy45OTkzNSA3LjMzMjY4QzIuMTU4NCA3LjMzMjY4IDAuNjY2MDE2IDUuODQwMyAwLjY2NjAxNiAzLjk5OTM1QzAuNjY2MDE2IDIuMTU4NCAyLjE1ODQgMC42NjYwMTYgMy45OTkzNSAwLjY2NjAxNkM1Ljg0MDMgMC42NjYwMTYgNy4zMzI2OCAyLjE1ODQgNy4zMzI2OCAzLjk5OTM1WiIgc3Ryb2tlPSIjQUJBQkI2IiBzdHJva2Utd2lkdGg9IjEuMjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzExMzkwXzIzMjQzMCI+CjxyZWN0IHdpZHRoPSI4IiBoZWlnaHQ9IjgiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==",iconClass:"size-[1em]",...l.old_prices_tooltip})]})},s=({ratePlan:e})=>{if(!e?.promo_tag_label)return null;let i=e?.promo_tag_color?{background:e.promo_tag_color}:{};return(0,t.jsx)("span",{className:(0,r.cn)("flex justify-center items-center px-[8px] pb-0 pt-[1px] fine-print text-white text-center font-semibold rounded-[10px] bg-utility-c3"),style:i,children:e.promo_tag_label})},o=({price:e,totalValue:n,sourceRpPricingData:a,currency:s,country:o})=>{let c=e.promo||a;return(0,t.jsxs)("span",{className:(0,r.cn)("text-[30.79px] font-medium leading-[1.4] normal-case",c?"text-v-2":"text-pricing-main-text"),children:[i.default.symbol(s,o),l.default.wholePart(n)]})},c=({price:e,totalValue:n,sourceRpPricingData:a,currency:s})=>{if(i.default.shouldSkipCents(s)||a&&"00"===l.default.decimalPart(n))return null;let o=e.promo||a;return(0,t.jsx)("span",{className:(0,r.cn)("pb-3.5 text-[13px] font-normal leading-[1.4] normal-case",o?"text-v-2":"text-pricing-main-text"),children:l.default.decimalPart(n)})},d=({ratePlan:e,sourceRpPricingData:i})=>e?.after_price?(0,t.jsx)("span",{className:(0,r.cn)("pt-2.5 fine-print",i?"text-v-2":"text-blueGray-5"),children:e?.after_price}):null;e.s(["CurrentPrice",0,({ratePlan:e,price:i,totalValue:r,sourceRpPricingData:l,currency:n,country:a})=>(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(o,{totalValue:r,price:i,sourceRpPricingData:l,currency:n,country:a}),(0,t.jsx)(c,{totalValue:r,price:i,sourceRpPricingData:l,currency:n}),(0,t.jsx)(d,{ratePlan:e,sourceRpPricingData:l})]}),"OldPrice",0,e=>(0,t.jsxs)("div",{className:"flex items-center gap-[5px] min-h-[18px] text-blueGray-6",children:[(0,t.jsx)(a,{...e}),(0,t.jsx)(s,{...e})]}),"OldPriceTag",0,s])},369084,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(312682),r=e.i(36430),l=e.i(410332),n=e.i(992967);let a=({logo:e,imgClassName:r})=>n.default.isVisible(e.tooltip)?(0,t.jsx)(n.default,{custmInfoIcon:e?.image,removeTopSpacing:!0,iconClass:r,...e?.tooltip||{}},e.id):(0,t.jsx)(i.default,{image:e?.image?e.image:e,variant:"thumb",className:r},e.id),s=({hiddenLogos:e})=>!e?.length>0?null:(0,t.jsxs)("div",{className:"relative flex items-center group/additional-logos",children:[(0,t.jsx)("div",{className:"relative z-[3] flex justify-center items-center p-0 size-[26px] rounded-[6px] border border-solid border-blueGray-7 bg-white text-center text-black fine-print cursor-pointer",children:(0,t.jsxs)("span",{children:["+",e.length]})}),(0,t.jsx)("div",{className:(0,l.cn)("relative left-[-20px] flex items-center gap-[4px] p-1 pl-0, max-w-0","rounded-[6px] border border-solid border-blueGray-7 bg-blueGray-95","overflow-x-hidden transition-all ease-in-out duration-300","group-hover/additional-logos:pl-[28px] group-hover/additional-logos:max-w-[300px] group-hover/additional-logos:overflow-visible"),children:e.map(e=>
2(0,t.jsx)(a,{logo:e,imgClassName:"block size-[16px]"},e.id))})]});e.s(["Logo",0,a,"default",0,({product:e,card:i})=>{let l=Number.parseInt(i.hidden_logos_count||0,10),n=i.icon||(i.logos||[])[0],o=i.icon?i.logos||[]:(i.logos||[]).slice(1),c=o.slice(0,o.length-l),d=o.slice(o.length-l);return(0,t.jsxs)("div",{className:"flex flex-col items-start gap-2 p-[15px] pt-[28px] rounded-[16px] bg-transparent",children:[(i.title||i.description||n)&&(0,t.jsxs)("div",{className:"flex flex-col gap-[5px] w-full",children:[(i.title||n)&&(0,t.jsxs)("div",{className:"flex items-center gap-[12px]",children:[n&&(0,t.jsx)(a,{logo:n,imgClassName:"block size-[32px] rounded-[5px]"}),i.title&&(0,t.jsx)("span",{className:"text-[17.33px] font-bold leading-[1.2] text-pricing-main-text normal-case",children:i.title})]}),i.description&&(0,t.jsx)("span",{className:"body-1 leading-[1.6] font-semibold text-pricing-main-text normal-case",children:(0,r.default)(i.description,!0)})]}),(c.length>0||d.length>0)&&(0,t.jsxs)("div",{className:"flex items-center gap-[6px]",children:[c.map(e=>(0,t.jsx)(a,{logo:e,imgClassName:"block size-[24px]"},e.id)),(0,t.jsx)(s,{hiddenLogos:d})]})]})}])},978594,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(759411),l=e.i(558275),n=e.i(368758),a=e.i(410332),s=e.i(82855),o=e.i(19342),c=e.i(57838);function d(e){return e.glow_border_color&&e.glow_outline_color&&e.glowing_text}function u(e){return e?.licenses?.find(e=>"yes"===e.default_license)||e?.licenses?.[0]}function p(e,t){return e||(t.monthly?.rate_plan_id?{id:"monthly"}:t.semiannual?.rate_plan_id?{id:"semiannual"}:t.annual?.rate_plan_id?{id:"annual"}:t.triennial?.rate_plan_id?{id:"triennial"}:{})}let x=({card:e,disabled:i})=>{let r=i?{}:{color:e.glow_border_color,background:e.glow_outline_color};return(0,t.jsx)("span",{style:r,className:(0,a.cn)("absolute z-0 right-[-4px] top-[-22px] flex justify-center items-start h-[40px] px-[6px] pb-0 pt-[3px]","rounded-[6px] text-[9.75px] text-center",i&&"text-mono-1 bg-mono-7"),children:e.glowing_text})};var m=e.i(369084),f=e.i(992967);let h=({settings:e,onClick:i,onSelect:r})=>e.label&&e.link?i?(0,t.jsx)("a",{href:e.link,className:(0,a.cn)("btn btn-text-theme text-mono-1 hover:text-mono-1","w-full xl:w-auto","text-pricing-main-text hover:text-pricing-main-text"),id:e.id||"",target:e.target,rel:"no-follow"===e.follow_link?"nofollow":"",onClick:e=>{e.preventDefault(),r?.(),i()},children:e.label}):(0,t.jsx)(l.default,{settings:e,className:"text-mono-1 hover:text-mono-1",onClick:r}):null,g=({card:e,onSecondButtonClick:i,onSelect:r})=>{let l=e.features?.items||[];return(0,t.jsxs)("div",{className:(0,a.cn)("flex flex-col items-start self-stretch","gap-[10px] px-[15px]"),children:[(0,t.jsxs)("div",{className:"flex flex-col items-start self-stretch pricing-ul",children:[e.features?.title&&(0,t.jsx)("span",{className:"fine-print font-bold leading-[1.4] normal-case",children:e.features.title}),l.length>0&&(0,t.jsx)("ul",{className:"fine-print",children:l.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"items-center gap-1",children:[(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.value}}),(0,t.jsx)(f.default,{iconClass:"size-[1em]",...e.tooltip})]})},`${i}-${e.id}`))})]}),e.button_2?.label&&(0,t.jsx)(h,{settings:e.button_2,onClick:"yes"===e.button_2_on_click&&i,onSelect:r})]})},b=({card:e,product:i})=>{let r=e.additional_info||{},l=r.items||[],n=i?.color||"#F7941D",a=r.background?.asset_url||r.background?.urls?.original||"";return r.title||r.label||0!==l.length?(0,t.jsxs)("div",{className:"relative self-stretch m-[15px] mt-0 min-h-[107px] overflow-hidden rounded-[12px] [background:var(--pricing-elements-bg)]",children:[a&&(0,t.jsx)("img",{src:a,alt:"","aria-hidden":"true",className:"absolute inset-0 size-full object-cover"}),(0,t.jsxs)("div",{className:"relative flex flex-col justify-between h-full gap-[6px] p-[10px]",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-[10px] py-[3px]",children:[r.title&&(0,t.jsx)("span",{className:"text-[13px] font-bold leading-[1.2] text-pricing-main-text normal-case",children:r.title}),r.label&&(0,t.jsx)("span",{style:{background:r.label_bg||n,color:r.label_color||"#FFFFFF"}
2,className:"flex items-center h-[15px] px-[8px] rounded-full text-[10px] font-bold leading-none whitespace-nowrap",children:r.label})]}),l.length>0&&(0,t.jsx)("ul",{className:"fine-print list-none text-left p-0 m-0 pb-[7px] flex flex-col gap-[4px]",children:l.map((e,i)=>(0,t.jsxs)("li",{className:"relative flex gap-1 items-start",children:[(0,t.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative top-[0.2em] block flex-shrink-0 size-[1em]",children:(0,t.jsx)("path",{d:"M20 6L9 17l-5-5",stroke:r.checkmark_color||n,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,t.jsx)("span",{children:e.value})]},`${i}-${e.id??i}`))})]})]}):null},y=({settings:e,label:i,className:r})=>(0,t.jsx)("div",{className:(0,a.cn)("w-full",r),children:(0,t.jsx)(l.default,{settings:{...e||{},label:i,link:"#"},className:"w-full xl:w-full text-white bg-mono-6 border-mono-6"})}),v=({product:e,card:i,license:r,labels:l})=>{let n=d(i),s="yes"===i.is_main;return(0,t.jsxs)("div",{className:(0,a.cn)("relative rounded-[16px] bg-pricing-mc-light-bg text-pricing-main-text pointer-events-none opacity-50","w-[330px] xl:w-[250px] 2xl:w-[330px]","h-full",s?"pricing-main-card-shadow":"shadow-newPricing",n?"[outline:4px_solid_theme('colors.mono.7')]":""),children:[n&&(0,t.jsx)(x,{card:i,disabled:!0}),(0,t.jsxs)("div",{className:(0,a.cn)("flex flex-col items-start h-full rounded-[16px] bg-pricing-mc-dark-bg",s?"min-h-[520px]":"min-h-[490px]",n&&"relative w-[330px] xl:w-[250px] 2xl:w-[330px] border border-solid border-mono-4"),children:[(0,t.jsx)(m.default,{product:e,card:i}),(0,t.jsx)(g,{card:i,onSecondButtonClick:()=>{}}),(0,t.jsxs)("div",{className:"flex flex-col items-start gap-[10px] self-stretch p-[15px] mt-auto",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"flex items-center gap-[5px] min-h-[18px]",children:(0,t.jsx)("span",{className:"block h-[calc(13px*1.4)] text-[13px]"})}),(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)("span",{className:"text-[30.79px] font-medium leading-[1.4] normal-case text-pricing-main-text",children:"N/A"})}),(0,t.jsx)("p",{"aria-hidden":"true",className:"fine-print text-pricing-ac-price-description-text invisible",children:"non-visible"})]}),(0,t.jsx)(o.default,{options:[{id:r?.license_type,label:r?.license_type,tag:"",tooltip:r?.tooltip}]}),(0,t.jsx)(y,{settings:i.button_1||{},label:l.main_card_disabled_button_label,className:"block xl:hidden 2xl:block"}),(0,t.jsx)(y,{settings:i.button_1||{},label:l.main_card_disabled_button_laptop_label,className:"hidden xl:block 2xl:hidden"})]}),(0,t.jsx)(b,{card:i,product:e})]})]})};var j=e.i(508576),_=e.i(308517);function w(e,t){return e?.prices?.find(e=>e.currency?.toLowerCase()===t?.toLowerCase())?.value}function N(e,t,i){return e.licenses.filter(e=>{let r=e[t.id];return r?.rate_plan_id||r?.price_text||w(r,i)})}e.s(["default",0,({product:e,card:f,billingPeriod:h,billingPeriods:y,licensesCount:C,onLicensesCountChange:k,licenseType:S,ga4ItemVariant:P="Standard",labels:I,onSecondButtonClick:L})=>{var O;let R,$,M,T,{currentUrl:z,locale:F,currency:E,country:A,pricingData:D,pickedPromoCode:B}=i.default.useContext(c.default),[G,V]=i.default.useState(h),[H,U]=i.default.useState(u(f)),[W,q]=i.default.useState(y?.filter(e=>{let t=p(e,H);return H[t?.id]?.rate_plan_id}));i.default.useEffect(()=>{q(y?.filter(e=>{let t=p(e,H);return H[t?.id]?.rate_plan_id}))},[y,H]),i.default.useEffect(()=>{if(V(h),!h?.id||!H)return;let e=H[h.id];if(e?.rate_plan_id||e?.price_text||w(e,E))return;let t=N(f,h,E);0===t.length||t.find(e=>e.license_type===H.license_type)||U(u({licenses:t}))},[h,H]),i.default.useEffect(()=>{U(u(f))},[e,f]);let Y=d(f),Z="yes"===f.is_main,Q=H?p(G,H):null,X=H?.[Q?.id],J=i.default.useRef(null),K=(0,s.mapItemCategory2)(S),ee=i.default.useMemo(()=>s.default.pricingDataFor(X,D)||{},[X,D]),et={item_name:f.title||ee?.name||f.description,item_category2:K,item_category3:"Educational"===K?"Named":void 0,item_variant:P};if(i.default.useEffect(()=>{(0,n.registerPricingViewItem)(ee,E,C,"Pricing page",et,{billingPeriod:Q,licenseType:H?.license_type},f)},[ee,E,C,f.title,K,P,Q,H?.license_type]),!f?.licenses?.length||!X?.rate_plan_id&&"hide"===f.on_missing_rate_plan_id&&!X?.price_text&&!w(X,E))return null;if(!X?.rate_plan_id&&"disable"===f.on_missing_rate_plan_id&&!X?.price_text&&!w(X,E))return(0,t.jsx)(v,{product:e,card:f,license:H,labels:I});let ei=w(X,E),er=X.price_text&&!X?.rate_plan_id,el=ei&&!X?.rate_plan_id,en=!er&&!el;if(en){let e;O=R=s.default.pricingDataFor(X,D),$=(e=O?.min_qty||0)<C?C:e,M=s.default.sourcePricingDataFor(X,D),T=s.default.priceForPerio
2d(R,E,X,B)}else R={},$=1,M=null,T={value:ei,promo:!1};let ea=($*T.value).toFixed(2).toString(),es=null;T.promo&&(es=($*T.oldValue).toFixed(2).toString());let eo=X?.old_prices?.find(e=>e.currency?.toLowerCase()===E?.toLowerCase())?.value,ec=null;eo&&(ec=(Number.parseFloat(eo)*$).toFixed(2).toString());let ed=N(f,Q,E);return(0,t.jsxs)("div",{ref:J,style:Y?{outlineColor:f.glow_outline_color,outlineWidth:"4px",outlineStyle:"solid"}:{},className:(0,a.cn)("relative rounded-[16px] [background:var(--pricing-elements-bg)]","w-[330px] xl:w-[250px] 2xl:w-[330px]","h-full",Z?"pricing-main-card-shadow":"shadow-newPricing"),children:[Y&&(0,t.jsx)(x,{card:f}),f.upgrade_label&&(0,t.jsx)("span",{style:{background:f.upgrade_label_bg||"#F7941D",color:f.upgrade_label_color||"#FFFFFF"},className:"absolute z-[2] right-[12px] top-[-14px] flex items-center px-[12px] py-[6px] rounded-[6px] text-[11px] font-bold leading-none whitespace-nowrap shadow-newPricing",children:f.upgrade_label}),(0,t.jsxs)("div",{style:{borderColor:Y?f.glow_border_color:"transparent"},className:(0,a.cn)("flex flex-col items-start h-full bg-white rounded-[16px] [background:var(--pricing-elements-bg)]",Z?"min-h-[520px]":"min-h-[490px]",Y&&"relative w-[330px] xl:w-[250px] 2xl:w-[330px] border border-solid border-transparent"),children:[(0,t.jsx)(m.default,{product:e,card:f}),(0,t.jsx)(g,{card:f,onSecondButtonClick:L}),(0,t.jsxs)("div",{className:"flex flex-col items-start gap-[10px] self-stretch p-[15px] mt-auto",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(_.OldPrice,{value:es||ec,currency:E,country:A,ratePlan:X,isPromo:T.promo}),!er&&(0,t.jsx)(_.CurrentPrice,{ratePlan:X,price:T,totalValue:ea,sourceRpPricingData:M,currency:E,country:A}),er&&(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)("span",{className:"text-[30.79px] font-medium leading-[1.4] normal-case text-pricing-main-text",children:X.price_text})}),(0,t.jsx)("p",{"aria-hidden":"true",className:"pb-[10px] fine-print text-pricing-ac-price-description-text invisible",children:"non-visible"})]}),en&&(0,t.jsx)("p",{className:"fine-print text-pricing-ac-price-description-text",dangerouslySetInnerHTML:{__html:s.default.customBilledLabel(X,$,M||R,E,A,B)||s.default.billingMethodLabel($,Q,I,M||R,E,A,X,B)}})]}),W?.length>0&&(0,t.jsx)(o.default,{options:W,value:G,onChange:e=>V(e)}),(ed.length>0||en&&k)&&(0,t.jsxs)("div",{className:"flex items-stretch gap-2 w-full",children:[ed.length>0&&(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(o.default,{options:ed.map(e=>({id:e.license_type,label:e.license_type,tag:"",tooltip:e.tooltip})),value:{id:H.license_type,label:H.license_type,tooltip:H.tooltip},onChange:e=>{U(f.licenses.find(t=>t.license_type===e.id))}})}),en&&k&&(0,t.jsx)(j.default,{count:C,onChange:k,label:I?.licenses_count_title||"Licenses"})]}),en&&f?.button_1?.label&&(0,t.jsx)(r.default,{settings:f.button_1,className:"w-full xl:w-full",productInfo:{productCode:R?.id,sourceProductCode:X?.source_rate_plan_id,migrationPathId:X?.migration_path_id,quantity:$,promoCode:s.default.isPromoActive(R,X,B)?R?.code:"",currency:E,ratePlanDetails:R||{},placement:"Pricing page",ga4ItemOverrides:{item_name:f.title||R?.name,item_category2:K,item_variant:P}},upsellEnabled:X?.disable_upsell!=="yes",context:{locale:F,geoIpCountry:A,currentUrl:z}}),!en&&f?.button_1?.label&&f?.button_1?.link&&(0,t.jsx)(l.default,{settings:f.button_1,className:"w-full xl:w-full"})]}),(0,t.jsx)(b,{card:f,product:e})]})]})}],978594)},700287,e=>{"use strict";var t=e.i(843476),i=e.i(410332),r=e.i(271645),l=e.i(36430),n=e.i(832594),a=e.i(57838);let s=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,t.jsx)("path",{d:"M4.78255 8.45867L6.62163 10.2978L11.2193 5.70005M14.6673 7.9987C14.6673 11.6806 11.6826 14.6654 8.00065 14.6654C4.31875 14.6654 1.33398 11.6806 1.33398 7.9987C1.33398 4.3168 4.31875 1.33203 8.00065 1.33203C11.6826 1.33203 14.6673 4.3168 14.6673 7.9987Z",stroke:"#1C1C1C","stroke-miterlimit":"6",strokeLinecap:"round",strokeLinejoin:"round"})}),o=()=>(0,t.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M12.5833 5.58333H14.25V14.75H5.08333V13.0833M1.75 2.25H10.9167V11.4167H1.75V2.25Z",stroke:"#1C1C1C",strokeLinecap:"round",strokeLinejoin:"round"})}),c=({isCopied:e})=>(0,t.jsx)("span",{className:"flex justify-center items-center size-[20px]",children:e?(0,t.jsx)(s,{}):(0,t.jsx)(o,{})});e.s(["default",0,({title:e,description:s,code:o,copied_text:d})=>{let{currency:u}=r.default.useContext(a.default),[p,x]=r.default.useState(!1),m=async()=>{try{await navigator.clipboard.writeText(o),x(!0)}catch(t){console.error("Failed to copy code:",t);let e=document.createElement("textarea");e.value=o,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),x(!0)}};return r.default.useEffect(()=>{if(p){let e=setTimeout(()=>{x(!1)},2e3);return()=>clearTimeout(e)}},[p]),(0,t.jsxs)("div",{className:"flex flex-col gap-[15px] p-[30px] max-w-[450px] rounded-[16px] promo-box",children:[(e||s)&&(0,t.jsxs)("div",{className:"flex flex-col gap-[5px]",children:[e&&(0,t.jsx)("p",{className:"body-1 text-mono-8 p-0",children:(0,l.default)(e,!0)}),s&&(0,t.jsx)("p",{className:"markdown markdown-small leading-[1.55] text-mono-8 p-0",children:(0,l.default)(s.replace(/\{([^}]+)\}/g,(e,t)=>{try{let i=t.replace(/(\w+):/g,'"$1":'),r=JSON.parse(`{${i}}`)[u.toLowerCase()];if(void 0===r)return e;return`${r} ${n.default.symbol(u)}`}catch(t){return console.error("Error parsing price JSON:",t),e}}),!0)})]}),o&&(0,t.jsxs)("button",{className:(0,i.cn)("relative flex justify-between items-center gap-[5px] py-[5px] px-[10px] min-w-[100px] w-fit bg-white rounded border-0 cursor-pointer transition-all duration-200 ease-in-out","hover:shadow-[0_2px_8px_rgba(0,0,0,0.15)] active:bg-[var(--light-gray)] active:shadow-[0_1px_4px_rgba(0,0,0,0.05)]"),onClick:m,type:"button",children:[(0,t.jsx)("span",{className:"text-[13px] font-base text-center text-black",children:p?d:o}),(0,t.jsx)(c,{isCopied:p})]})]})}])},878937,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(410332),l=e.i(992967);let n={allProducts:e=>(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...e,children:[(0,t.jsx)("path",{d:"M4 2H2.66667C2.29848 2 2 2.29848 2 2.66667V4C2 4.36819 2.29848 4.66667 2.66667 4.66667H4C4.36819 4.66667 4.66667 4.36819 4.66667 4V2.66667C4.66667 2.29848 4.36819 2 4 2Z",stroke:"currentColor"}),(0,t.jsx)("path",{d:"M4 6.66667H2.66667C2.29848 6.66667 2 6.96514 2 7.33333V8.66667C2 9.03486 2.29848 9.33333 2.66667 9.33333H4C4.36819 9.33333 4.66667 9.03486 4.66667 8.66667V7.33333C4.66667 6.96514 4.36819 6.66667 4 6.66667Z",stroke:"currentColor"}),(0,t.jsx)("path",{d:"M8.66667 2H7.33333C6.96514 2 6.66667 2.29848 6.66667 2.66667V4C6.66667 4.36819 6.96514 4.66667 7.33333 4.66667H8.66667C9.03486 4.66667 9.33333 4.36819 9.33333 4V2.66667C9.33333 2.29848 9.03486 2 8.66667 2Z",stroke:"currentColor"}),(0,t.jsx)("path",{d:"M8.66667 6.66667H7.33333C6.96514 6.66667 6.66667 6.96514 6.66667 7.33333V8.66667C6.66667 9.03486 6.96514 9.33333 7.33333 9.33333H8.66667C9.03486 9.33333 9.33333 9.03486 9.33333 8.66667V7.33333C9.33333 6.96514 9.03486 6.66667 8.66667 6.66667Z",stroke:"currentColor"}),(0,t.jsx)("path",{d:"M13.3333 2H12C11.6318 2 11.3333 2.29848 11.3333 2.66667V4C11.3333 4.36819 11.6318 4.66667 12 4.66667H13.3333C13.7015 4.66667 14 4.36819 14 4V2.66667C14 2.29848 13.7015 2 13.3333 2Z",stroke:"currentColor"}),(0,t.jsx)("path",{d:"M13.3333 6.66667H12C11.6318 6.66667 11.3333 6.96514 11.3333 7.33333V8.66667C11.3333 9.03486 11.6318 9.33333 12 9.33333H13.3333C13.7015 9.33333 14 9.03486 14 8.66667V7.33333C14 6.96514 13.7015 6.66667 13.3333 6.66667Z",stroke:"currentColor"}),(0,t.jsx)("path",{d:"M4 11.3333H2.66667C2.29848 11.3333 2 11.6318 2 12V13.3333C2 13.7015 2.29848 14 2.66667 14H4C4.36819 14 4.66667 13.7015 4.66667 13.3333V12C4.66667 11.6318 4.36819 11.3333 4 11.3333Z",stroke:"currentColor"}),(0,t.jsx)("path",{d:"M8.66667 11.3333H7.33333C6.96514 11.3333 6.66667 11.6318 6.66667 12V13.3333C6.66667 13.7015 6.96514 14 7.33333 14H8.66667C9.03486 14 9.33333 13.7015 9.33333 13.3333V12C9.33333 11.6318 9.03486 11.3333 8.66667 11.3333Z",stroke:"currentColor"}),(0,t.jsx)("path",{d:"M13.3333 11.3333H12C11.6318 11.3333 11.3333 11.6318 11.3333 12V13.3333C11.3333 13.7015 11.6318 14 12 14H13.3333C13.7015 14 14 13.7015 14 13.3333V12C14 11.6318 13.7015 11.3333 13.3333 11.3333Z",stroke:"currentColor"})]})},a=({icon:e,...i})=>{if(!n[e])return null;let r=n[e];return(0,t.jsx)(r,{...i})};var s=e.i(312682);let o=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",className:"absolute z-[-1] left-1/2 -translate-x-1/2 top-1/2",children:(0,t.jsx)("rect",{x:"5",y:"5",width:"10",height:"10",rx:"2",transform:"rotate(45, 10, 10)",className:"fill-v-2"})}),c=({label:e})=>e?(0,t.jsx)("div",{className:"absolute z-1 left-1/2 -top-6 -translate-x-1/2",children:(0,t.jsxs)("span",{className:"relative z-1 flex justify-center items-center pt-[3px] pb-0.5 px-1.5 fine-print text-white whitespace-nowrap text-center rounded bg-v-2 transition-[visibility] ease-in-out duration-200",children:[e,(0,t.jsx)(o,{})]})}):null,d={small:"px-6 py-[4.5px]",large:"px-5 py-3 font-semibold",wrap:"px-4 py-[9px] text-[12px] font-semibold"},u=({label:e,tag:i,icon:l,logo_unselected:n,logo_selected:o,variant:u,wrap:p,onChange:x})=>(0,t.jsxs)("div",{className:(0,r.cn)("relative flex-[1_0] flex items-center justify-center gap-1 ","text-[13px] xl:text-[11px] 2xl:text-[13px]","text-pricing-tabs-active-tab-text font-medium transition-all ease-in-out duration-100 cursor-pointer text-center bg-pricing-tabs-active-tab-bg border-[0.5px] border-solid border-pricing-tabs-active-tab-border",p?"whitespace-normal rounded-[6px]":"whitespace-nowrap rounded-3xl",d[u]),role:"button",onClick:x,children:[(0,t.jsx)(a,{icon:l}),!l&&(n||o)&&(0,t.jsx)(s.default,{containerClassName:"h-4 w-4",image:o||n,variant:"thumb",className:"block h-4 w-4 object-contain"}),e,(0,t.jsx)(c,{label:i})]}),p=({label:e,icon:i,logo_unselected:l,logo_selected:n,variant:o,wrap:c,onChange:u})=>(0,t.jsxs)("div",{className:(0,r.cn)("relative flex-[1_0] flex items-center justify-center gap-1 px-6 py-[4.5px]","text-[13px] xl:text-[11px] 2xl:text-[13px]","text-pricing-tabs-tab-text bg-pricing-tabs-tab-bg font-medium cursor-pointer text-center border-[0.5px] border-solid border-transparent","transition-all ease-in-out duration-100 hover:bg-pricing-tabs-tab-bg
2-hover hover:border-pricing-tabs-tab-border-hover hover:shadow-[0_0_4px_0_rgba(0,0,60,0.02),0_4px_8px_0_rgba(0,0,60,0.04)]",c?"whitespace-normal rounded-[6px]":"whitespace-nowrap rounded-3xl",d[o]),role:"button",onClick:u,children:[(0,t.jsx)(a,{icon:i}),!i&&(l||n)&&(0,t.jsx)(s.default,{containerClassName:"h-4 w-4",image:l||n,variant:"thumb",className:"block h-4 w-4 object-contain"}),e]}),x=({active:e,...i})=>e?(0,t.jsx)(u,{...i}):(0,t.jsx)(p,{...i}),m=()=>(0,t.jsx)("div",{className:"mx-4 w-[1px] h-[16px] bg-pricing-tabs-tab-text opacity-30"});e.s(["default",0,({variant:e="small",wrap:n=!1,tooltip:a,option:s,options:o,separatorIdx:c,className:d,onChange:u})=>(0,t.jsx)("div",{className:d,children:(0,t.jsxs)("div",{className:"flex items-center gap-1 w-full",children:[(0,t.jsx)("div",{className:(0,r.cn)("inline-flex flex-nowrap justify-between items-center w-full border [background:var(--pricing-tabs-bg)] shadow-newPricing border-solid border-pricing-tabs-border max-xl:w-full",n?"rounded-[8px] flex-wrap":"rounded-[100px] text-nowrap","small"===e?"p-1":"p-[5px]"),children:o.map((r,l)=>(0,t.jsxs)(i.default.Fragment,{children:[c===l&&(0,t.jsx)(m,{},l),(0,t.jsx)(x,{variant:n?"wrap":e,wrap:n,active:s?.id===r.id,...r,onChange:()=>{u(r)}},r.id)]},`${l}-${r.id}`))}),(0,t.jsx)(l.default,{...a||{}})]})})],878937)},250215,e=>{"use strict";let t="w-full xl:w-auto xl:col-span-9";e.s(["PRICING_COMPARE_INTEGRATIONS_CLASS",0," block w-[330px] xl:w-full text-center self-auto [background:var(--pricing-elements-bg)] rounded-[16px]","PRICING_FLEX_CONTAINER",0,"flex flex-col items-center xl:items-stretch xl:flex-row xl:flex-wrap gap-[30px] w-full h-full","PRICING_MAIN_COL_CLASS",0,t,"PRICING_ROW_CLASS",0,"flex flex-col items-center xl:items-start gap-[18px] xl:grid xl:gap-[24px] 3xl:gap-[30px] grid-cols-4 md:grid-cols-8 xl:grid-cols-12","PRICING_SIDE_COL_CLASS",0,"flex flex-col gap-[20px] w-[330px] xl:w-full xl:w-auto xl:col-span-3","PRICING_SMALL_INFO_CARDS",0,"flex flex-col gap-[30px] items-center xl:item-start mt-[30px] xl:mt-0 pb-[20px] xl:pb-0","calcColumnClass",0,function(e){return e?.length===1?"w-full xl:w-auto xl:col-span-3":e?.length===2?"w-full xl:w-auto xl:col-span-9":t}])},376636,e=>{"use strict";var t=e.i(843476),i=e.i(770703),r=e.i(607994);let l=(0,i.default)(()=>e.A(382063).then(e=>e.Webshop),{loadableGenerated:{modules:[195988]},ssr:!1}),n=(0,i.default)(()=>e.A(382063).then(e=>e.WebshopButton),{loadableGenerated:{modules:[195988]},ssr:!1});async function a(t,i,r){(await e.A(289662)).addToCart(t,i,r)}async function s(t,i){let r=await e.A(289662);i?r.addToCartMultiple(t,i):r.addToCartMultiple(t)}async function o(){return(await e.A(289662)).productsInCart()}async function c(){return(await e.A(289662)).cartIsOpened()}async function d(t){return(await e.A(289662)).cartOpen(t)}e.s(["Cart",0,({language:e,showPromoField:i})=>(0,t.jsx)(l,{language:e,env:(0,r.default)().cart_env,theme:"chaos",showPromoField:i}),"CartButton",0,({language:e})=>(0,t.jsx)(n,{language:e,theme:"chaos",env:(0,r.default)().cart_env}),"addToCart",0,a,"addToCartMultiple",0,s,"cartIsOpened",0,c,"cartOpen",0,d,"productsInCart",0,o])},477935,e=>{"use strict";var t=e.i(843476);e.s(["default",0,({className:e,...i})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",className:`animate-spin h-5 w-5 text-black ${e}`,viewBox:"0 0 24 24",...i,children:[(0,t.jsx)("circle",{cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4,className:"opacity-25"}),(0,t.jsx)("path",{fill:"currentColor",d:"M4 12a8 8 0 0 1 8-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 0 1 4 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",className:"opacity-75"})]})])},558275,586367,358108,e=>{"use strict";var t=e.i(843476),i=e.i(271645);let r=function(e,r){if(!e)return e;let l=RegExp(`(${Object.keys(r).join("|")})`,"g");
2return e.split(l).filter(Boolean).map((e,l)=>r[e]?i.default.cloneElement(r[e],{key:l}):(0,t.jsx)("span",{children:e},l))};e.s(["default",0,r],586367);let l={"{WINDOWS}":(0,t.jsx)("i",{className:"icon windows-icon"}),"{MAC}":(0,t.jsx)("i",{className:"icon mac-icon"}),"{CART}":(0,t.jsx)("i",{className:"icon shopping-cart-icon"}),"{LINUX}":(0,t.jsx)("i",{className:"icon linux-icon"}),"{CHECK}":(0,t.jsx)("i",{className:"icon check-icon"}),"{UPRIGHT}":(0,t.jsx)("i",{className:"icon up-right-icon"})};function n({text:e}){return e?(0,t.jsx)("span",{className:"flex items-center justify-center space-x-2",children:r(e,l)}):null}e.s(["default",0,n],358108);var a=e.i(410332);let s={sm:"btn-sm",md:"",lg:"btn-lg"};e.s(["default",0,({settings:{type:e,label:i,link:r,id:l,target:o,rel:c},className:d,size:u="lg",onClick:p,...x})=>{let m={};return null!=l&&(m.id=l),null!=o&&(m.target=o),null!=c&&(m.rel=c),(0,t.jsx)("a",{href:r,className:(0,a.cn)(`btn btn-${e}-theme`,s[u],"w-full xl:w-auto",d),onClick:p,...m,...x,children:(0,t.jsx)(n,{text:i})})}],558275)},426922,e=>{"use strict";var t=e.i(843476);e.s(["FontIcon",0,function({name:e,className:i}){return(0,t.jsx)("span",{className:`icon-font icon-${e} ${i}`})}])},312682,340050,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=Object.defineProperty,r=Object.defineProperties,l=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,o=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var i in t||(t={}))a.call(t,i)&&o(e,i,t[i]);if(n)for(var i of n(t))s.call(t,i)&&o(e,i,t[i]);return e},d=(e,t)=>{var i={};for(var r in e)a.call(e,r)&&0>t.indexOf(r)&&(i[r]=e[r]);if(null!=e&&n)for(var r of n(e))0>t.indexOf(r)&&s.call(e,r)&&(i[r]=e[r]);return i};e.s(["__objRest",0,d,"__spreadProps",0,(e,t)=>r(e,l(t)),"__spreadValues",0,c],340050);var u=e=>{var i,r,l,n,a,{variant:s,src:o,alt:u,loading:p="lazy",optimizedFormats:x=["webp","avif"]}=e,m=d(e,["variant","src","alt","loading","optimizedFormats"]);if(!s)return console.error("Image with no variant",{variant:s,src:o,alt:u,props:m}),null;if(!o)return null;let f="object"==typeof o&&o.hasOwnProperty("image")?o.image:o;if(f&&"object"==typeof f&&!f.sizes)return console.error("Image with no sizes",{variant:s,src:o,alt:u,props:m}),null;let[h,g]=(i=f,r=s,"object"==typeof i&&(null==(l=null==i?void 0:i.name)?void 0:l.includes(".svg"))?[i.width||null,i.height||null]:"object"==typeof i?[(null==(n=i.sizes[r])?void 0:n.width)||null,(null==(a=i.sizes[r])?void 0:a.height)||null]:[null,null]),b=u||(e=>{let t=typeof e;if("object"===t&&e.alt)return e.alt;if("object"===t){let t=e.image||e,i=((null==t?void 0:t.settings)||[]).find(e=>"alt"===e.key);if(i)return i.value}return""})(o),[y,v,j]=((e,t,i)=>{var r,l,n;if("object"==typeof e){if((null==(r=null==e?void 0:e.name)?void 0:r.includes(".svg"))||(null==(l=null==e?void 0:e.name)?void 0:l.includes(".gif")))return[null,null,null==(n=e.urls)?void 0:n.original];let a=e.urls[t];return[i.includes("webp")?(e=>{if(!e)return null;let t=e.split(".");return t[t.length-1]="webp",t.join(".")})(a):null,i.includes("avif")?(e=>{if(!e)return null;let t=e.split(".");return t[t.length-1]="avif",t.join(".")})(a):null,a]}return[null,null,e]})(f,s,x);return(0,t.jsxs)("picture",{children:[v&&(0,t.jsx)("source",{srcSet:encodeURI(v),type:"image/avif"}),y&&(0,t.jsx)("source",{srcSet:encodeURI(y),type:"image/webp"}),(0,t.jsx)("source",{srcSet:encodeURI(j),type:o.mime_type}),(0,t.jsx)("img",c({src:j,alt:b,width:h,height:g,loading:p},m))]})},p=e.i(410332);function x(e,t){return{width:e,height:t}}let m={thumb:x(200,200),gallery_masonry_horizontal:x(636,358),gallery_masonry_horizontal_wide:x(1276,359),gallery_masonry_vertical:x(636,716),simple_image_slider:x(1140,769),articles_2_columns:x(690,380),full_width_image:x(1920,600),magazine_spotlight:x(705,490),single_image_horizontal:x(1410,800),mobile_square:x(540,540)};function f(e,t){return(e*t.height/t.width).toFixed(0)}let h=[".avif",".webp"];e.s(["default",0,function({image:e,variant:i,showCredits:r=!0,containerClassName:l="",...n}){let a="object"==typeof e&&e?.urls&&(!e.urls[i]||function(e){if(e?.avif_generated)return!1;let t="string"==typeof e?.name?e.name:e?.urls?.original;if("string"!=typeof t)return!1;let i=t.split("?")[0].toLowerCase();return h.some(e=>i.endsWith(e))}(e))?"original":i;if(!e||"object"==typeof e&&(!e.urls||!e.urls[a]))return null;let s=function(e){if("string"==typeof e||!e||"object"!=typeof e||!e.urls||"object"!=typeof e.urls)return e;let t={};for(let[i,r]of Object.entries(e.urls))try{t[i]="string"==typeof r?decodeURIComponent(r):r}catch(e){console.warn(`Failed to decode URL for key "${i}":`,e),t[i]=r}return{...e,urls:t}}(e),o=null;if("string"!=typeof s&&s)o={image:{...s,sizes:{...m,original:x(s.width,s.height),full_width_original:x(1920,f(1920,s)),image:x(960,f(960,s))}}};else o=s;return(0,t.jsxs)("div",{className:(0,p.cn)("image-container",l),children:[(0,t.jsx)(u,{loading:"lazy",src:o,variant:a,optimizedFormats:e?.avif_generated&&"original"!==a?["avif"]:[],...n}),r&&e?.credits?.length>0&&(0,t.jsx)("span",{className:`credits ${e.credits_theme||"light"}`,children:e.credits})]})}],312682)},666417,e=>{"use strict";var t=e.i(843476);e.i(271645),e.s(["default",0,({settings:{link:e,id:i,target:r,rel:l,label:n},children:a,className:s})=>{let o={};return null!=i&&(o.id=i),null!=r&&(o.target=r),null!=l&&(o.rel=l),(0,t.jsx)("a",{href:e,className:s,...o,children:a||n})}])},160514,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(426922);e.s(["default",0,function({isOpen:e,onClose:l,children:n}){let[a,s]=(0,i.useState)(!1),[o,c]=(0,i.useState)(!1);(0,i.useEffect)(()=>{e&&s(!0)},[e]),(0,i.useEffect)(()=>
2{if(a){let e=requestAnimationFrame(()=>c(!0));return()=>cancelAnimationFrame(e)}},[a]);let d=()=>{c(!1),setTimeout(()=>{s(!1),l?.()},300)};return((0,i.useEffect)(()=>{let t=t=>{"Escape"===t.key&&e&&d()};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e]),a)?(0,t.jsx)("div",{className:` 3 fixed inset-0 z-[1000] bg-black/60 flex items-center justify-center 4 transition-opacity duration-300 5 ${o?"opacity-100":"opacity-0"} 6 `,onClick:d,children:(0,t.jsxs)("div",{className:"relative bg-white max-w-screen-lg",onClick:e=>e.stopPropagation(),children:[n,(0,t.jsx)("button",{onClick:d,className:"absolute top-5 right-5 cursor-pointer p-2 bg-white",children:(0,t.jsx)(r.FontIcon,{name:"close",className:"cursor-pointer block text-mono-1"})})]})}):null}])},567566,e=>{"use strict";e.s(["boolToNumber",0,e=>Number(e).toString(),"wordToBool",0,e=>"yes"===e])},368758,e=>{"use strict";function t(e,t){if(!e||!t)return;let i=e.find(e=>e.currency?.toLowerCase()===t.toLowerCase());return i?.price}let i={fixed_seat:"Named",floating:"Floating"},r={month:"Monthly",monthly:"Monthly",semiannual:"6 Months",semi_annual:"6 Months",six_months:"6 Months","6_months":"6 Months",annual:"Annual",yearly:"Annual",year:"Annual",triennial:"3 Years",three_years:"3 Years",three_year:"3 Years","3_years":"3 Years"},l={1:"Monthly",6:"6 Months",12:"Annual",36:"3 Years"};function n(e){if(null!=e)return String(e).trim()||void 0}function a(e){let t=n(e);if(!t)return;let i=t.toLowerCase().replace(/[\s-]+/g,"_");return r[i]||i}function s(e){let t=n(e);if(!t)return;let i=t.toLowerCase().replace(/[\s-]+/g,"_");return i.includes("æµ®å¨ææ")||i.includes("floating")||i.includes("flotante")||i.includes("ããã¼ãã£ã³ã°_ã©ã¤ã»ã³ã¹")||i.includes("flutuante")||i.includes("flottante")||i.includes("mobile")||i.includes("netzwerk")?"floating":"fixed_seat"}function o(e,r,n={}){if(!e)return null;let c=function(e,t={}){if(t.item_name)return String(t.item_name).trim().replace(/\s*\([^)]*\)\s*$/i,"").trim()||void 0;let i=e?.name??e?.product_name??e?.title??e?.description??e?.id;if(null!=i)return String(i).trim().replace(/\s*\([^)]*\)\s*$/i,"").trim()||void 0}(e,n),d=n.item_brand??e.brand??function(e){if(e)return e.split(/\s+/)[0]}(c),u=t(e.prices,r)??0,p=function(e,t){if(!e||!t)return;let i=e.find(e=>e.currency?.toLowerCase()===t.toLowerCase());if(i&&i.amount)return Number.parseFloat(i.amount)}(e.discount,r),x=function(e,t={}){let i=t.item_category??e.billingPeriod??e.billing_period??e.specific_billing_period??e.termType??e.term_type??e.ratePlanDetails?.billing_period??e.ratePlanDetails?.term_type;if("specific_months"===a(i))return a(l[Number.parseInt(e?.specific_billing_period??e?.ratePlanDetails?.specific_billing_period,10)]);return a(i)}(e,n),m=function(e,t={}){return s(t?.item_category3??e?.category??e?.license_type??e?.licenseType??e?.ratePlanDetails?.license_type??e?.ratePlanDetails?.licenseType??e?.ratePlanDetails?.license)}(e,n),f=m?i[m]||m:void 0,h=Object.fromEntries(Object.entries({item_id:e.id,item_name:c,item_brand:d,item_category:a(x),item_category2:n.item_category2,item_category3:f,item_variant:n.item_variant??e.variant,currency:r?.toUpperCase(),price:u,discount:p,quantity:n.quantity??e.min_qty??1,item_list_name:n.item_list_name,index:n.index,list_length:n.list_length}).filter(([e,t])=>"discount"===e||"item_category3"===e||void 0!==t));return h.item_id||h.item_name?h:null}function c(e,t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:e,ecommerce:t})}e.s(["buildGA4Item",0,o,"registerPricingViewItem",0,function(e,t,i,r,l={},n={},d=null){return function(e,t,i,r,l={}
6){if(!e?.id||(window.dataLayer=window.dataLayer||[],window.dataLayer.find(t=>"view_item"===t.event&&(t?.ecommerce?.items||[]).some(t=>t.item_id===e.id))))return;let n=o(e,t,{...l,quantity:i});if(!n||0===Object.keys(n).length)return;let a=null!=n.price?n.price*(i||1):void 0;c("view_item",{currency:t?.toUpperCase(),value:a,placement:r,items:[n]})}(d?{...d,...e}:e,t,i,r,function(e={},t={}){return{...e,item_category:e.item_category??a(function(e={}){let t=e.billingPeriod;return t&&"object"==typeof t?t.id??t.value??t.slug??void 0:t}(t)),item_category3:e.item_category3??s(function(e={}){let t=e.licenseType;return t&&"object"==typeof t?t.id??t.value??t.license_type??t.slug??void 0:t}(t))}}(l,n))},"registerSelectItem",0,function(e,i,r,l={}){let n=o(e,i,l);if(!n)return;let a=t(e?.prices,i),s=null!=a?a*(n.quantity||1):void 0;c("select_item",{currency:i?.toUpperCase(),value:s,items:[{...n,item_list_name:r}]})},"registerViewItemList",0,function(e,t){if(!e||0===e.length)return;window.dataLayer=window.dataLayer||[];let i=e.map(e=>e.item_id).filter(Boolean).sort().join(",");window.dataLayer.find(e=>"view_item_list"===e.event&&e?.ecommerce?.items?.[0]?.item_list_name===t&&(e?.ecommerce?.items||[]).map(e=>e.item_id).filter(Boolean).sort().join(",")===i)||c("view_item_list",{items:e.map((i,r)=>({...i,item_list_name:t,index:r+1,list_length:e.length}))})}])},390273,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(175028),l=e.i(558275);function n(e){if(!e||isNaN(e))return"0:00:00";let t=Math.floor(e/3600),i=Math.floor(e%3600/60),r=Math.floor(e%60);return`${t}:${i.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`}function a({onClick:e,href:i,download:r,id:l,icon:n,label:s}){return(0,t.jsxs)("a",{href:i||"#",download:r,target:"_blank",rel:"noopener noreferrer",id:l,onClick:t=>{e&&(t.preventDefault(),e())},className:"text-cl-4 font-bold text-sm hover:no-underline flex items-center gap-2",children:[(0,t.jsx)("span",{children:s}),n&&(0,t.jsx)("span",{className:`${n}-icon`})]})}e.s(["default",0,function({source:e,episodeNo:s,publishDate:o,title:c,summary:d,moreUrl:u,transcription:p,htmlID:x,theme:m}){let f,h,g,b,[y,v]=(0,i.useState)(0),[j,_]=(0,i.useState)(!1),[w,N]=(0,i.useState)(0),[C,k]=(0,i.useState)(0),[S,P]=(0,i.useState)(!1),[I,L]=(0,i.useState)(!1),[O,R]=(0,i.useState)(!1),$=(0,i.useRef)(null);console.log(s,u),(0,i.useEffect)(()=>{let t=new Audio(e);t.preload="metadata",$.current=t;let i=()=>{let{currentTime:e,duration:i,buffered:r}=t;i&&(v(100*e/i),N(e),k(i))},r=()=>{k(t.duration)};return t.addEventListener("timeupdate",i),t.addEventListener("loadedmetadata",r),()=>{t.removeEventListener("timeupdate",i),t.removeEventListener("loadedmetadata",r),t.pause(),t.src=""}},[e]);let M=()=>{$.current&&($.current.play(),_(!0),L(!0))},T="dark"===m,z=T?"text-white":"text-mono-1",F=T?"text-mono-8":"text-mono-2";return(0,t.jsxs)("div",{className:"relative bg-transparent",children:[(0,t.jsxs)("div",{className:"relative h-20 flex items-start",children:[(0,t.jsx)("button",{onClick:j?()=>{$.current&&($.current.pause(),_(!1))}:M,"aria-label":j?"Pause podcast":"Play podcast",className:`flex-shrink-0 w-[72px] h-[72px] ${z} hover:opacity-80`,children:j?(0,t.jsx)("span",{className:"pause-icon"}):(0,t.jsx)("span",{className:"play-icon"})}),(0,t.jsxs)("div",{className:"flex-1 ml-[18px] mr-8 flex flex-col justify-between h-[70px] min-w-0",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start mb-[7px] -mt-1 min-w-0",children:[(0,t.jsxs)("h6",{className:`text-base ${F}`,children:["#",s,(0,t.jsxs)("span",{className:"hidden md:inline",children:[": ",(h=(f=new Date(o)).getFullYear(),g=String(f.getMonth()+1).padStart(2,"0"),b=String(f.getDate()).padStart(2,"0"),`${h}-${g}-${b}`)]})]}),(0,t.jsxs)("div",{className:"flex gap-6 mt-2 -mr-1",children:[(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(a,{href:e,id:`gtm-audio-${x}`,download:!0,icon:"download",label:"Download"})}),(0,t.jsx)(a,{onClick:()=>R(!0),icon:"subscribe",label:"Subscribe"}),p&&(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(a,{href:p,id:`gtm-transcription-${x}`,label:"Transcript"})})]})]}),(0,t.jsxs)("div",{className:"flex justify-between items-center min-w-0",children:[(0,t.jsx)("h5",{className:`heading-3 text-[16.25px] ${z} truncate min-w-0 flex-shrink`,children:c}),I&&(0,t.jsxs)("div",{className:`${F} text-base ml-4 flex-shrink-0`,children:[(0,t.jsx)("span",{children:n(w)}),(0,t.jsx)("span",{children:" / "}),(0,t.jsx)("span",{children:n(C)})]})]})]}),(0,t.jsx)("div",{onClick:e=>{if(!$.current)return;let t=e.currentTarget.getBoundingClientRect(),i=e.clientX-t.left,r=t.width,l=$.current.duration*i/r;$.current.currentTime=l,v(100*l/$.current.duration),j||M()}
6,role:"progressbar","aria-valuenow":y,"aria-valuemin":"0","aria-valuemax":"100",className:`h-2.5 ${T?"bg-mono-6":"bg-mono-1"} cursor-pointer -mr-2`,children:(0,t.jsx)("div",{className:"h-full bg-cl-4 transition-all",style:{width:`${y}%`}})})]}),(0,t.jsx)("button",{onClick:()=>{if($.current){let e=!S;$.current.volume=+!e,P(e)}},"aria-label":S?"Unmute":"Mute",className:`absolute bottom-[22px] right-[1px] ${F}`,children:(0,t.jsx)("span",{className:`volume-icon ${S?"muted-icon":""}`})})]}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("p",{className:`body-2 ${F}`,children:d}),u&&(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(l.default,{settings:{type:"secondary",label:"Read more",link:u},className:"!w-auto"})})]}),(0,t.jsx)(r.default,{isOpen:O,onClose:()=>R(!1)})]})}])},175028,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(160514);e.s(["default",0,function({isOpen:e,onClose:r}){return(0,t.jsx)(i.default,{isOpen:e,onClose:r,children:(0,t.jsxs)("div",{className:"p-10 bg-white text-center",children:[(0,t.jsx)("h2",{className:"heading-2 text-[25px] text-mono-1 mb-10",children:"SUBSCRIBE"}),(0,t.jsx)("p",{className:"body-2 text-mono-2 mb-4",children:"Click below to subscribe for CG Garage Podcasts on your platform of choice."}),(0,t.jsx)("div",{className:"flex justify-center gap-4 flex-wrap mt-10",children:[{name:"RSS Feed",url:"http://cglabs.libsyn.com/rss",icon:"rss"},{name:"Apple Podcasts",url:"https://itunes.apple.com/us/podcast/cg-garage/id949248007?mt=2&uo=4",icon:"apple"},{name:"Overcast",url:"https://overcast.fm/itunes949248007/cg-garage",icon:"overcast"},{name:"Pocket Casts",url:"http://pca.st/sOds",icon:"pocketcasts"},{name:"Spotify",url:"https://open.spotify.com/show/7r06TsnJhAZfGAuQfskD0T",icon:"spotify"},{name:"Stitcher",url:"https://www.stitcher.com/podcast/chaos-group-labs/cg-garage",icon:"stitcher"},{name:"iHeartRadio",url:"https://www.iheart.com/podcast/cg-garage-27627365/",icon:"iheartradio"}].map(e=>(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:`subscribe-${e.icon}-icon`,"aria-label":e.name},e.name))})]})})}])},580057,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(666417);e.s(["default",0,({link:e,children:l})=>e?.link?(0,t.jsx)(r.default,{settings:e,children:l}):(0,t.jsx)(i.default.Fragment,{children:l})])},384867,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(580057),r=e.i(312682);e.s(["default",0,({background:e,title:l,link:n,lastOnMobile:a=!1})=>(0,t.jsx)("div",{className:"relative block rounded-[20px] drop-shadow-lg",children:(0,t.jsxs)(i.default,{link:n,children:[(0,t.jsx)(r.default,{className:"block rounded-[20px] w-full h-auto aspect-[16/10]",loading:"lazy",image:e,variant:"image"}),(0,t.jsx)("div",{className:`absolute top-0 left-0 bottom-0 right-0 flex flex-col justify-end p-8 text-center ${a&&"max-sm:mb-4"}`,children:(0,t.jsx)("h4",{className:"text-[20.31px] font-semibold text-white",children:l})})]})})])},627943,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(580057),r=e.i(312682);e.s(["default",0,({stat:e,label:l,disclaimer:n,background:a,link:s})=>(0,t.jsx)("div",{className:"relative block rounded-[20px] drop-shadow-lg",children:(0,t.jsxs)(i.default,{link:s,children:[(0,t.jsx)(r.default,{className:"block rounded-[20px] w-full h-auto aspect-[16/10]",loading:"lazy",image:a,variant:"image"}),(0,t.jsxs)("div",{className:"absolute top-0 left-0 bottom-0 right-0 flex flex-col justify-between pb-[30px] xl:pb-8 pt-10 xl:pt-20 text-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"hero-2 text-en-3 max-sm:text-[41.05px]",children:e}),(0,t.jsx)("h4",{className:"heading-2 text-[20.31px] 2xl:heading-3 font-semibold !text-blueGray-2",children:l})]}),(0,t.jsx)("p",{className:"text-[13px] p-0 text-blueGray-4",children:n})]})]})})])},607933,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(312682),l=e.i(580057);let n=({label:e})=>(0,t.jsx)("div",{className:"py-1 px-2.5 rounded-2xl fine-print text-white bg-[linear-gradient(180deg,rgba(255,255,255,0.3)_0%,rgba(255,255,255,0.3)_10%,rgba(255,255,255,0.12)_100%)]",children:e});e.s(["default",0,({background:e,title:a,tags:s,credits:o,link:c,lastOnMobile:d=!1})=>{let u=i.default.useMemo(()=>s?.split(",").map(e=>e.trim()),[s]);return(0,t.jsx)("div",{className:"relative block rounded-[20px] drop-shadow-lg",children:(0,t.jsxs)(l.default,{link:c,children:[(0,t.jsx)(r.default,{loading:"lazy",className:"block rounded-[20px] w-full h-auto aspect-[16/10]",image:e,variant:"image"}),(0,t.jsxs)("div",{className:"absolute top-0 left-0 bottom-0 right-0 pt-8 text-center",children:[(0,t.jsx)("h4",{className:"text-[20.31px] font-semibold text-white mb-2.5",children:a}),(0,t.jsx)("div",{className:"flex gap-1.5 justify-center items-center flex-wrap",children:u.map((e,i)=>(0,t.jsx)(n,{label:e},i))})]}
6),o&&(0,t.jsx)("div",{className:"absolute bottom-[18px] right-[27px] py-1.5 px-2.5 fine-print text-white rounded-[4px] backdrop-blur-[8px] bg-blueGray-6/80",children:o})]})})}])},883716,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(312682),r=e.i(558275),l=e.i(179147);e.s(["default",0,({video_preview:e,logo:n,title:a,description:s,button_1:o,button_2:c,video_id:d})=>(0,t.jsxs)("div",{className:"rounded-[20px] bg-white drop-shadow-lg overflow-hidden xl:flex xl:flex-col xl:h-full",children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)(l.default,{className:"rounded-t-[20px]",video_id:d,video_url:"",image:e})}),(0,t.jsxs)("div",{className:"py-8 px-6 xl:flex xl:flex-col xl:justify-between xl:flex-1 xl:px-[60px] xl:pb-[50px] xl:pt-[30px]",children:[(0,t.jsxs)("div",{className:"xl:pb-8",children:[(0,t.jsx)(i.default,{loading:"lazy",image:n,variant:"original",className:"block max-sm:mb-5 mb-6 w-[130px] h-[40px]"}),(0,t.jsx)("h3",{className:"heading-2 font-bold text-blueGray-2 mb-2 max-sm:mb-1",children:a}),(0,t.jsx)("p",{className:"text-[14.5px] text-blueGray-4",children:s})]}),(o?.label||c?.label)&&(0,t.jsxs)("div",{className:"pt-9 flex gap-1.5 xl:pt-5 w-fit 2xl:pt-3",children:[o?.label&&(0,t.jsx)(r.default,{settings:o,className:"mr-0",size:"md"}),c?.label&&(0,t.jsx)(r.default,{settings:c,className:"mr-0",size:"md"})]})]})]})])},914413,e=>{"use strict";var t=e.i(843476);e.i(271645);var i=e.i(312682),r=e.i(36430),l=e.i(255726),n=e.i(410332);function a(e){let t=e?.hero?.title&&e?.hero?.image&&e?.hero?.image_size,i=e?.hero?.title&&e?.hero?.hide_image==="yes";return t||i}let s=({hero:e,countdown:a,theme:s})=>{let o=a?.date&&a?.text;return(0,t.jsxs)("div",{className:(0,n.cn)("relative z-10 py-10 xl:py-5 2xl:py-20 2xl:pb-[120px]","light"===s?"theme-light":"theme-dark",o&&"with-countdown"),children:["yes"===e.glow_effect&&"yes"===e.hide_image&&(0,t.jsx)("div",{className:"glowing-background"}),e?.hide_image!=="yes"&&(0,t.jsx)(i.default,{className:"absolute inset-0 object-cover object-top opacity-40 w-full h-full",image:e.image,variant:e.image_size}),(0,t.jsx)("div",{className:(0,n.cn)("contain row",o&&"with-countdown"),children:(0,t.jsx)("div",{className:"shift-3",children:(0,t.jsxs)("div",{className:"relative z-20 flex flex-col justify-center items-center gap-[72px] h-full text-center",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("h1",{className:"heading-1",style:{textShadow:"0px 1px 2px rgba(0, 0, 0, 0.15)"},children:e.title}),e.description&&(0,t.jsx)("p",{className:"markdown longform text-shadow",style:{textShadow:"0px 1px 2px rgba(0, 0, 0, 0.15)"},children:(0,r.default)(e.description,!0)})]}),o&&(0,t.jsx)(l.default,{...a,className:"text-white"})]})})})]})};e.s(["default",0,({tab:e,summaryTab:i,summary:r,countdown:l,theme:n})=>{let o=a(e),c=r&&a(i);if(!o&&!c)return null;let d=e;return c&&(d=i),(0,t.jsx)(s,{hero:d.hero,countdown:l,theme:n})}])},179147,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(987474),l=e.i(810100),n=e.i(61601);e.s(["default",0,({locale:e,video_id:a,video_url:s,autoplay:o,image:c,className:d,videoData:u,...p})=>{let[x,m]=(0,i.useState)(!1),f=o||x;if(!(a||s))return(0,t.jsx)(n.default,{image:c,withPlayButton:!1,className:d});if(!f&&c)return(0,t.jsx)("div",{onClick:()=>m(!0),className:d,children:(0,t.jsx)(n.default,{image:c,className:d})});let h=a?r.default:l.default;return(0,t.jsx)("div",{className:`relative aspect-video w-full ${d}`,children:a&&u&&u.assetMp4Url?(0,t.jsxs)("video",{autoPlay:f,muted:p.mute,loop:p.loop,controls:p.controls,playsInline:!0,className:`h-full w-full ${d}`,children:[(0,t.jsx)("source",{src:u.assetMp4Url,type:"video/mp4"}),"Your browser does not support HTML5 video."]}):(0,t.jsx)(h,{...a?{id:a,locale:e}:{url:s},...p,autoplay:f,className:d})})}])},987474,42030,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(994201),l=e.i(318693);let n=` 7 query ($input: IdInput!) { 8 video(input: $input) { 9 id 10 title 11 assetMp4Url 12 credits 13 cover ${(0,l.imageFragment)()} 14 } 15 }`;async function a(e,t){try{return await (0,r.default)({locale:t},n,{input:{id:e}})}catch(e){return console.error("Error fetching videos:",e),{error:e.message}}}e.s(["default",0,a],42030);var s=e.i(477935);e.s(["default",0,({id:e,autoplay:r,mute:l,loop:n,controls:o,locale:c,className:d=""})=>{let{video:u,isLoading:p,error:x}=((e,t="en")=>{let[r,l]=(0,i.useState)({video:null,isLoading:!0,error:null});return(0,i.useEffect)(()=>{!async function(){try{let i=await a(e,t);l({video:i?.video||null,isLoading:!1,error:i?.error})}catch(e){l({video:null,isLoading:!1,error:e.message||"Failed to fetch data"})}}()},[t]),r})(e,c);return p?(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-mono-1 text-white",children:(0,t.jsx)(s.default,{className:"text-white"})}):x?(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-mono-1 text-white",children:"Error loading video"}
15):u?(0,t.jsxs)("video",{...{autoPlay:r,muted:l,playsInline:!0,controls:o,loop:n},className:`h-full w-full object-cover ${d}`,children:[(0,t.jsx)("source",{src:u.assetMp4Url,type:"video/mp4"}),"Your browser does not support HTML5 video."]}):(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-mono-1 text-white",children:"No video available"})}],987474)},810100,e=>{"use strict";var t=e.i(843476),i=e.i(567566);let r=({id:e,autoplay:r,mute:l,loop:n,controls:a,className:s})=>{let o=`https://player.vimeo.com/video/${e}?color=ffffff&title=0&byline=0&portrait=0&autoplay=${(0,i.boolToNumber)(r)}&muted=${(0,i.boolToNumber)(l)}&loop=${(0,i.boolToNumber)(n)}&controls=${(0,i.boolToNumber)(a)}`;return(0,t.jsx)("iframe",{title:"Vimeo Embed",frameBorder:"0",allow:"autoplay",allowfullscreen:"0",src:o,className:s})},l=({id:e,autoplay:r,mute:l,controls:n,loop:a,className:s})=>{let o=`https://www.youtube.com/embed/${e}?autoplay=${(0,i.boolToNumber)(r)}&mute=${(0,i.boolToNumber)(l)}&controls=${(0,i.boolToNumber)(n)}&loop=${(0,i.boolToNumber)(a)}&playlist=${e}&modestbranding=1&rel=0`;return(0,t.jsx)("iframe",{title:"YouTube Embed",frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0,src:o,className:s})},n=/(youtu\.be\/|youtube\.com\/(watch\?(.*&)?v=|(embed|v)\/))([^\?&"'>]+)/,a=/youtube\.com\/shorts\/(?<id>[^?&]+)/,s=/vimeo\.com\/(\d+)($|\/)/,o=/youku\.com\/v_show\/id_([A-Za-z0-9=]+)\.html/,c=/fast\.wistia\.net\/embed\/iframe\/([^?]+)/,d={youtube:e=>{let t=e.match(n);return t?.[5]||""},"youtube-shorts":e=>{let t=e.match(a);return t?.groups?.id||""},vimeo:e=>e.match(s)?.[1]||"",youku:e=>e.match(o)?.[1]||"",wistia:e=>e.match(c)?.[1]||""},u=e=>e.includes(".com/shorts/")?"youtube-shorts":e.includes("youtu")?"youtube":e.includes("vimeo")?"vimeo":e.includes("youku")?"youku":e.includes("wistia")?"wistia":void 0,p={vimeo:r,youku:({id:e,autoplay:r,mute:l,controls:n,loop:a,className:s})=>{let o=`https://player.youku.com/embed/${e}?autoplay=${(0,i.boolToNumber)(r)}&muted=${(0,i.boolToNumber)(l)}&loop=${(0,i.boolToNumber)(a)}&controls=${(0,i.boolToNumber)(n)}`;return(0,t.jsx)("iframe",{title:"Youku Embed",frameBorder:"0",allow:"autoplay",allowFullScreen:!0,src:o,width:"0",height:"0",className:s})},youtube:l,"youtube-shorts":l,wistia:({id:e,autoplay:i,mute:r,loop:l,controls:n,className:a})=>{let s=`https://fast.wistia.net/embed/iframe/${e}?autoPlay=${i}&muted=${r}${l&&"&endVideoBehavior=loop"}&controlsVisibleOnLoad=${n}`;return(0,t.jsx)("iframe",{title:"Wistia Embed",frameBorder:"0",allow:"autoplay",allowfullscreen:!0,src:s,className:a})}};e.s(["default",0,({url:e,...i})=>{let l,n=p[u(e)]||r;return(0,t.jsx)(n,{id:(l=d[u(e)])?l(e):"",...i,className:"h-full w-full absolute top-0 left-0"})}],810100)},61601,e=>{"use strict";var t=e.i(843476),i=e.i(312682);let r={true:"",false:"bg-mono-3 aspect-video flex items-center justify-center"},l={true:"[&_div]:hover:bg-transparent [&_div]:xl:hover:bg-white",false:"[&_div]:hover:bg-white"},n={true:"bg-transparent xl:bg-utility-bt",false:"bg-utility-bt"};e.s(["default",0,({image:e,withPlayButton:a=!0,isThumbnail:s=!1,className:o})=>{let c=!!e;return(0,t.jsxs)("div",{className:`relative h-full cursor-pointer ${l[s]} [&_span]:hover:border-l-cl-4 ${r[c]}`,children:[c?(0,t.jsx)(i.default,{image:e,variant:"single_image_horizontal",className:`w-full ${o}`}):(0,t.jsx)("span",{className:"text-white/70 text-sm",children:"No preview available"}),a&&(0,t.jsx)("div",{className:`absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-10 ${n[s]} rounded-full w-[70px] h-[70px]`,children:(0,t.jsx)("span",{className:"absolute top-1/2 left-1/2 -translate-x-[5px] -translate-y-[11px] w-0 h-0 border-t-[11px] border-b-[11px] border-l-[18px] border-t-transparent border-b-transparent border-l-white"})})]})}])},318693,e=>{"use strict";function t(){return`{ 16 image_library { 17 id 18 name 19 } 20 id 21 name 22 credits 23 credits_theme 24 avif_generated 25 width 26 height 27 url 28 thumb_url 29 urls { 30 original 31 thumb 32 gallery_masonry_horizontal 33 gallery_masonry_horizontal_wide 34 gallery_masonry_vertical 35 simple_image_slider 36 articles_2_columns 37 full_width_image 38 magazine_spotlight 39 single_image_horizontal 40 full_width_original 41 mobile_square 42 } 43 }`}e.s(["articleFragment",0,function(){return`{ 44 id 45 originalId 46 slug 47 title 48 subtitle 49 layout 50 url 51 description 52 metaTitle 53 metaDescription 54 publishOn 55 widgets 56 hostedVideo { 57 id 58 title 59 credits 60 assetMp4Url 61 } 62 image ${t()} 63 featuredImage ${t()} 64 magazineCategory { 65 id 66 name 67 slug 68 url 69 } 70 author { 71 id 72 name 73 slug 74 bio 75 image ${t()} 76 } 77 showAuthor 78 featuredImageOverlay 79 readTime 80 products { 81 id 82 slug 83 name 84 } 85 tags { 86 id 87 slug 88 name 89 color 90 } 91 lastModifiedAt 92 }`},"errorsGragment",0,function(){return`{ 93 key 94 message 95 }`},"imageFragment",0,t,"pageFragment",0,function(){return`{ 96 id 97 originalId 98 slug 99 status 100 metaTitle 101 metaDescription 102 button1 103 button2 104 visibility 105 unauthorizedPage 106 layout 107 image ${t()} 108 widgets 109 }`}])},994201,e=>{"use strict";var t=e.i(563406),i=e.i(607994);async function r(e,l,n={}){var a;if(!(0,i.default)().widgets_graphql_endpoint)throw Error("GraphQL endpoint for widgets not configured");let s={query:l};Object.keys(n).length>0&&(s.variables=n);let o={"Content-Type":"application/json",...t.getTraceData()},c=await fetch((a=e.locale,(0,i.default)().widgets_graphql_endpoint.replace(":locale",a)),{method:"POST",headers:o,body:JSON.stringify(s)});if(!c.ok)throw Error(`HTTP error! status: ${c.status}`);let d=await c.json();if(d.errors)throw console.error("GraphQL errors:",d.errors),Error(`GraphQL query failed: ${d.errors.map(e=>e.message).join(", ")}`);return d.data}e.s(["default",0,r])}]); 110 111//# debugId=a6e04aba-133f-709f-3beb-9daa56f287e4
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.