PluginProbe
Passster – Password Protect Pages and Content / 4.3.16
Passster – Password Protect Pages and Content v4.3.16
4.3.16 4.3.15 4.3.14 4.3.12 4.3.13 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 trunk 3.5.4 3.5.5.2 3.5.5.8 3.5.5.9 4.0 4.1.4 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.15 All 48 releases
content-protector / inc / admin / build / upsells.js

upsells.js in Passster – Password Protect Pages and Content 4.3.16, at inc/admin/build/upsells.js

1 lines 7.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (()=>{"use strict";const e=window.wp.element,t=window.wp.i18n,s=window.wp.components,r=window.React,a=window.wp.primitives,n=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{fillRule:"evenodd",d:"M11.25 5h1.5v15h-1.5V5zM6 10h1.5v10H6V10zm12 4h-1.5v6H18v-6z",clipRule:"evenodd"})),o=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M9 13.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM9 16a4.002 4.002 0 003.8-2.75H15V16h2.5v-2.75H19v-2.5h-6.2A4.002 4.002 0 005 12a4 4 0 004 4z",fillRule:"evenodd",clipRule:"evenodd"})),c=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M12 3.176l6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 01-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176zM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21z",fillRule:"evenodd",clipRule:"evenodd"})),i=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),p=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"})),d=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})),h=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),_=window.ReactJSXRuntime,w={chart:n,key:o,shield:c,people:i,calendar:l,download:p,lock:d},v=function({title:e,headline:r,subheadline:a,features:n=[],previewImage:o,ctaText:c=(0,t.__)("Unlock with Passster PRO","content-protector"),ctaUrl:i="https://passster.com/#pricing",secondaryCtaText:l=(0,t.__)("See all PRO features","content-protector"),secondaryCtaUrl:p="https://passster.com/#free-vs-pro"}){return(0,_.jsxs)("div",{className:"passster-upsell-page",children:[(0,_.jsx)("div",{className:"passster-upsell-page__header",children:(0,_.jsx)("div",{className:"passster-upsell-page__header-content",children:(0,_.jsxs)("h1",{className:"passster-upsell-page__title",children:[e,(0,_.jsx)("span",{className:"passster-pro-badge",children:(0,t.__)("PRO","content-protector")})]})})}),(0,_.jsx)("div",{className:"passster-upsell-page__content",children:(0,_.jsxs)("div",{className:"passster-upsell-page__main",children:[(0,_.jsxs)("div",{className:"passster-upsell-page__value",children:[(0,_.jsx)("div",{className:"passster-upsell-page__icon-wrapper",children:(0,_.jsx)(s.Icon,{icon:d,size:48})}),(0,_.jsx)("h2",{className:"passster-upsell-page__headline",children:r}),(0,_.jsx)("p",{className:"passster-upsell-page__subheadline",children:a})]}),o&&(0,_.jsxs)("div",{className:"passster-upsell-page__preview",children:[(0,_.jsx)("img",{src:o,alt:e}),(0,_.jsx)("div",{className:"passster-upsell-page__preview-overlay",children:(0,_.jsx)(s.Icon,{icon:d,size:32})})]}),(0,_.jsx)("div",{className:"passster-upsell-page__features",children:n.map(((e,t)=>(0,_.jsxs)("div",{className:"passster-upsell-page__feature",children:[(0,_.jsx)("div",{className:"passster-upsell-page__feature-icon",children:(0,_.jsx)(s.Icon,{icon:w[e.icon]||h,size:24})}),(0,_.jsxs)("div",{className:"passster-upsell-page__feature-content",children:[(0,_.jsx)("h3",{children:e.title}),(0,_.jsx)("p",{children:e.description})]})]},t)))}),(0,_.jsxs)("div",{className:"passster-upsell-page__cta",children:[(0,_.jsxs)("div",{className:"passster-upsell-page__cta-buttons",children:[(0,_.jsx)(s.Button,{variant:"primary",href:i,target:"_blank",className:"passster-upsell-page__cta-primary",children:c}),(0,_.jsx)(s.Button,{variant:"secondary",href:p,target:"_blank",className:"passster-upsell-page__cta-secondary",children:l})]}),(0,_.jsx)("p",{className:"passster-upsell-page__guarantee",children:(0,t.__)("14-day money-back guarantee • Instant access","content-protector")})]})]})})]})},m=function(){const e=[{icon:"chart",title:(0,t.__)("Track Every Unlock","content-protector"),description:(0,t.__)("See exactly when each password is used with precise timestamps.","content-protector")},{icon:"people",title:(0,t.__)("Know Your Users","content-protector"),description:(0,t.__)("Track IP addresses and browsers to identify patterns and abuse.","content-protector")},{icon:"key",title:(0,t.__)("Password Popularity","content-protector"),description:(0,t.__)("See which passwords are used most and optimize distribution.","content-protector")},{icon:"download",title:(0,t.__)("Export & Analyze","content-protector"),description:(0,t.__)("Reset statistics anytime or export data for reporting.","content-protector")}];return(0,_.jsx)(v,{title:(0,t.__)("Statistics","content-protector"),headline:(0,t.__)("See who unlocks your content","content-protector"),subheadline:(0,t.__)("Right now, you have zero visibility into how your passwords are being used. Statistics shows you every unlock in real-time.","content-protector"),features:e,ctaText:(0,t.__)("Unlock Statistics","content-protector")})},u=function(){const e=[{icon:"key",title:(0,t.__)("Multiple Passwords","content-protector"),description:(0,t.__)("Protect content with a list of passwords instead of just one.","content-protector")},{icon:"shield",title:(0,t.__)("Auto-Generate","content-protector"),description:(0,t.__)("Generate secure passwords with one click—no more weak passwords.","content-protector")},{icon:"calendar",title:(0,t.__)("Expiration Control","content-protector"),description:(0,t.__)("Set passwords to expire after a date, number of uses, or time interval.","content-protector")},{icon:"chart",title:(0,t.__)("Usage Tracking","content-protector"),description:(0,t.__)("See how often each password is used and when it expires.","content-protector")}];return(0,_.jsx)(v,{title:(0,t.__)("Password Lists","content-protector"),headline:(0,t.__)("Manage multiple passwords per protection","content-protector"),subheadline:(0,t.__)("With the free version, you can only use one password. Password Lists lets you create, generate, and expire multiple passwords for each protected area.","content-protector"),features:e,ctaText:(0,t.__)("Unlock Password Lists","content-protector")})},x=document.getElementById("passster-upsell-page");if(x){const t=(0,e.createRoot)(x);"passster-statistics"===options.screen?t.render((0,_.jsx)(m,{})):"passster-password-lists"===options.screen&&t.render((0,_.jsx)(u,{}))}})();