"use strict";(self.webpackChunkrealCookieBanner_=self.webpackChunkrealCookieBanner_||[]).push([[508],{24080:(e,t,n)=>{n.d(t,{e:()=>i});var o=n(3713);const i=({children:e,maxWidth:t="auto",style:n={}})=>(0,o.jsx)("div",{className:"rcb-config-content",style:{maxWidth:"fixed"===t?1300:t,...n},children:e})},62556:(e,t,n)=>{n.d(t,{f:()=>i});var o=n(27667);function i(){return Object.fromEntries(new URLSearchParams((0,o.zy)().search).entries())}},80694:(e,t,n)=>{n.d(t,{A:()=>c});var o=n(17400),i=n(41594);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};var a=n(47593),r=function(e,t){return i.createElement(a.A,(0,o.A)({},e,{ref:t,icon:s}))};const c=i.forwardRef(r)},81170:(e,t,n)=>{n.d(t,{A:()=>o});const o=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n        opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n        opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},93843:(e,t,n)=>{n.d(t,{ConfigLicensing:()=>x});var o=n(3713),i=n(57922),s=n(37218),a=n(36086),r=n(43799),c=n(65824),l=n(91386),d=n(41594),u=n(42797),h=n(14383),m=n(62556),g=n(53203),p=n(84973);const f=(0,i.PA)(({withinModal:e=!1})=>{const{pluginUpdateStore:{pluginUpdates:t}}=(0,s.useStores)(),{optionStore:n,checklistStore:i}=(0,g.g)(),{slug:f,others:{isPro:v,showLicenseFormImmediate:x},publicUrl:b}=n,w=t.get(f),{navigateAfterActivation:y}=(0,m.f)(),_=(0,d.useCallback)(()=>{i.fetchChecklist(),(0,h.refreshQueue)(),n.setShowLicenseFormImmediate(!1,!0),y&&(window.location.href=y)},[i,n,y]),C=(0,d.useCallback)(()=>{i.fetchChecklist(),n.setShowLicenseFormImmediate(!1,!1)},[i,n]),j=(0,d.useCallback)(()=>{n.setShowLicenseFormImmediate(!1,!1),w.skip()},[w,n]);(0,d.useEffect)(()=>{x&&w?.hasInteractedWithFormOnce&&j()},[w,x,j]);const k=(0,p._i)((0,p.__)("Before we start configuring your cookie banner, you can {{strong}}obtain your free license to enjoy all the benefits{{/strong}} of the free version of Real Cookie Banner. The cookies are already waiting for you. Get started now!"),{strong:(0,o.jsx)("strong",{})});return(0,o.jsxs)(o.Fragment,{children:[x&&(0,o.jsxs)("div",{style:{maxWidth:650,textAlign:"center",margin:"0 auto"},children:[!e&&(0,o.jsx)(a.A,{src:`${b}images/logos/real-cookie-banner.svg`,shape:"square",size:130,style:{backgroundColor:"white",padding:25,borderRadius:999,marginBottom:10}}),!e&&!v&&(0,o.jsx)("p",{style:{fontSize:15,margin:"0 auto 20px"},children:k})]}),(0,o.jsx)(r.A,{title:e||!w?void 0:(0,o.jsxs)(o.Fragment,{children:[v||w.isLicensed?(0,p.__)("License activation"):(0,p.__)("Get your free license")," ",!v&&!x&&(0,o.jsx)(u.Y,{url:(0,p.__)("https://devowl.io/knowledge-base/upgrade-free-to-pro-version/"),label:(0,p.__)("Upgrade to PRO version")})]}),bordered:!e,children:(0,o.jsxs)(c.A,{direction:"vertical",size:"large",children:[e&&!v&&(0,o.jsx)("p",{className:"description",style:{fontWeight:"bold"},children:k}),(0,o.jsx)(s.PluginUpdateEmbed,{formProps:{onSave:_,onFailure:x&&!v?j:void 0,footer:(0,o.jsx)(l.A.Item,{style:{margin:"25px 0 0",textAlign:x?"center":void 0},children:(0,o.jsx)("input",{type:"submit",className:"button button-primary",value:x?v?(0,p.__)("Activate license & continue"):(0,p.__)("Activate free license & Continue"):(0,p.__)("Save")})})},listProps:{onDeactivate:C},slug:f})]})}),w&&x&&(0,o.jsx)("div",{style:{textAlign:"center",marginBottom:20,marginTop:e?0:20},children:(0,o.jsx)("a",{className:"button-link",onClick:j,children:v?(0,p.__)("Continue without regular updates and without any support"):(0,p.__)("Continue without any support and without e.g. discount announcements")})})]})});var v=n(24080);const x=(0,i.PA)(()=>(0,o.jsx)(v.e,{maxWidth:800,style:{margin:"auto"},children:(0,o.jsx)(s.Provider,{children:(0,o.jsx)(f,{})})}))}}]);
//# sourceMappingURL=https://sourcemap.devowl.io/real-cookie-banner/5.2.28/3b2612bba8951bbb97d3d07a16c564f0/chunk-config-tab-licensing.lite.js.map
