PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-beta
Jetpack – WP Security, Backup, Speed, & Growth v16.3-beta
16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 All 507 releases
jetpack / _inc / blocks / premium-content / view.js

view.js in Jetpack – WP Security, Backup, Speed, & Growth 16.3-beta, at _inc/blocks/premium-content/view.js

1 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (()=>{var e={16020(){},72856(e,t,o){"use strict";o.d(t,{qR:()=>s});let n="";function s(e){if("https://subscribe.wordpress.com"===e.origin&&e.data){let t=e.data;if("string"==typeof t)try{t=JSON.parse(t)}catch{return}if(t&&t.result&&t.result.jwt_token&&(n=t.result.jwt_token,r(n)),t&&"close"===t.action&&n)window.location.reload(!0);else if(t&&"close"===t.action){window.removeEventListener("message",s);document.getElementById("memberships-modal-window").close(),document.body.classList.remove("jetpack-memberships-modal-open")}}}const r=function(e){const t=new Date,o=new Date(t.setMonth(t.getMonth()+1));document.cookie=`wp-jp-premium-content-session=${e}; expires=${o.toGMTString()}; path=/`}},79366(e,t,o){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(o.p=window.Jetpack_Block_Assets_Base_Url)}};const t={};function o(n){const s=t[n];if(void 0!==s)return s.exports;const r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.hasOwn(e,t),(()=>{"use strict";o(79366)})(),(()=>{"use strict";o(16020);var e=o(72856);document.addEventListener("DOMContentLoaded",function(){"undefined"!=typeof window&&window.addEventListener("message",e.qR,!1)})})()})();