1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1700,3390],{21700:function(t,e,c){c.r(e);var n=c(27573),o=c(53146),r=c.n(o),a=c(63390),i=c(17692),l=c(7653),u=c(81695);e.default=t=>{let{attributes:e}=t,o=(0,u.useRouter)(),{pricingTableId:d,productName:s,pluginId:p,billingCycle:b,publicKey:h,planId:f,isCoupon:g,couponCode:y,numberOfLicenses:_,productImageURL:j,btnColor:m,btnBgColor:x,border:v,borderRadius:w,padding:k,width:T}=e,S=(0,l.useRef)(null),C=(0,l.useRef)(null),N=async()=>{if(!C.current){let{FSCheckout:t}=await c.e(5389).then(c.bind(c,35389));C.current=new t({plugin_id:p,public_key:h,plan_id:f,image:j})}return C.current},E=async t=>{var e,c;t.preventDefault();let n=null===(e=S.current)||void 0===e?void 0:e.getAttribute("plan_id"),r=null===(c=S.current)||void 0===c?void 0:c.getAttribute("license");(await N()).open({billing_cycle:b,plan_id:n||f,licenses:r||_,title:s,coupon:y,hide_coupon:g,success:t=>{},purchaseCompleted:function(t){var e=null!=t.purchase.trial_ends,c=null!=t.purchase.initial_amount,n=e?0:(c?t.purchase.initial_amount:t.purchase.gross).toString();"undefined"!=typeof fbq&&fbq("track","Purchase",{currency:t.purchase.currency.toUpperCase(),value:n});try{sessionStorage.setItem("jlt_purchase",JSON.stringify({conversion_value:n,currency:t.purchase.currency.toUpperCase(),order_id:t.purchase.id}))}catch(t){}setTimeout(()=>{o.push("/thank-you")},3e3)}})};return((0,l.useEffect)(()=>()=>{var t;null===(t=C.current)||void 0===t||t.close()},[]),p)?(0,n.jsx)(l.Fragment,{children:(0,n.jsxs)(l.Suspense,{children:[(0,n.jsx)("button",{ref:S,onClick:t=>E(t),id:d,className:r().dynamic([["2b47ab09534ee13d",[x?"background: ".concat(x,";"):"",m?"color: ".concat(m,";"):"",w?"border-radius: ".concat(w,"px;"):"",T?"width: ".concat(T,";"):"",(0,a.a)(v)?(0,a.a)(v):"",(0,i.T)(k,"padding")?(0,i.T)(k,"padding"):""]]])+" jlt-freemius-btn jlt-shadow-[0px_0px_20px_rgba(173,173,188,0.15)] jlt-rounded-[25px] jlt-py-3 jlt-px-6 jlt-font-bold jlt-text-sm jlt-leading-[18px] jlt-text-center jlt-text-white jlt-border-none jlt-cursor-pointer",children:(null==e?void 0:e.btnText)||"Button Text"}),(0,n.jsx)(r(),{id:"2b47ab09534ee13d",dynamic:[x?"background: ".concat(x,";"):"",m?"color: ".concat(m,";"):"",w?"border-radius: ".concat(w,"px;"):"",T?"width: ".concat(T,";"):"",(0,a.a)(v)?(0,a.a)(v):"",(0,i.T)(k,"padding")?(0,i.T)(k,"padding"):""],children:".jlt-freemius-btn.__jsx-style-dynamic-selector{".concat(x?"background: ".concat(x,";"):""," ").concat(m?"color: ".concat(m,";"):"","\n ").concat(w?"border-radius: ".concat(w,"px;"):"","\n ").concat(T?"width: ".concat(T,";"):"","\n ").concat((0,a.a)(v)?(0,a.a)(v):"","\n ").concat((0,i.T)(k,"padding")?(0,i.T)(k,"padding"):"","}")})]})}):null}},63390:function(t,e,c){c.d(e,{a:function(){return n},u:function(){return o}});let n=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.keys(t).sort().toString();if(e==["color","style","width"].sort().toString())return"border: ".concat(t.width," ").concat(t.style," ").concat(t.color,";");if(e==["top","right","bottom","left"].sort().toString()){let{top:e,right:c,bottom:n,left:o}=t;return"border-top: ".concat(e.width," ").concat(e.style," ").concat(e.color,"; border-right: ").concat(c.width," ").concat(c.style," ").concat(c.color,"; border-bottom: ").concat(n.width," ").concat(n.style," ").concat(n.color,"; border-left: ").concat(o.width," ").concat(o.style," ").concat(o.color,";")}},o=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object.keys(t).length>0)return t.top===t.right===t.bottom===t.left?"border-radius: ".concat(t.top,";"):"border-top-left-radius: ".concat(t.top,"; border-top-right-radius: ").concat(t.right,"; border-bottom-right-radius: ").concat(t.bottom,"; border-bottom-left-radius: ").concat(t.left,";")}}}]); 2//# sourceMappingURL=1700.b7668567193ee88f.js.map
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.