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
← All changes | _inc/blocks/premium-content/view.js +1 -1 12.1.3 → 16.3-beta View file →
@@ -1 +1 @@
1 -!function(){var t={63166:function(t,e,n){"use strict";n.d(e,{O8:function(){return r},mO:function(){return i}});const o=function(t,e,n){const o=new RegExp("([?&])"+e+"=.*?(&|$)","i"),r=-1!==t.indexOf("?")?"&":"?";return t.match(o)?t.replace(o,"$1"+e+"="+n+"$2"):t+r+e+"="+n},r=function(t){const e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="jp-premium-content-session="+t+"; expires="+e.toGMTString()+"; path=/"},i=function(t,e){let n=o(document.location.href,"token",t);e&&Object.keys(e).forEach((t=>{n=o(n,t,e[t])})),document.location.href=n}},80425:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var o=e.getElementsByTagName("script");o.length&&(t=o[o.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"}(),function(){"use strict";n(80425)}(),function(){"use strict";var t=n(63166);document.addEventListener("DOMContentLoaded",(function(){let e="";"undefined"!=typeof window&&window.addEventListener("message",(function(n){if("https://subscribe.wordpress.com"===n.origin&&n.data){const o=JSON.parse(n.data);o&&o.result&&o.result.jwt_token&&(e=o.result.jwt_token,(0,t.O8)(e)),o&&"close"===o.action&&e&&(0,t.mO)(e)}}),!1)}))}()}();
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)})})()})();