Plugin Directory

Changeset 3278480


Ignore:
Timestamp:
04/21/2025 09:32:42 PM (11 months ago)
Author:
google
Message:

Update to version 1.151.0 from GitHub

Location:
google-site-kit
Files:
92 added
90 deleted
48 edited
1 copied

Legend:

Unmodified
Added
Removed
  • google-site-kit/tags/1.151.0/dist/assets/js/blocks/reader-revenue-manager/contribute-with-google/block.json

    r3268141 r3278480  
    33    "apiVersion": 2,
    44    "name": "google-site-kit/rrm-contribute-with-google",
    5     "version": "1.150.0",
     5    "version": "1.151.0",
    66    "title": "Contribute with Google",
    77    "category": "widgets",
  • google-site-kit/tags/1.151.0/dist/assets/js/blocks/reader-revenue-manager/contribute-with-google/index.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=48)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function _next(e){r(a,o,i,_next,c,"next",e)}function c(e){r(a,o,i,_next,c,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),a=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function w(){}function k(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,n(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,o={},a=null,c=null;if(null!=t)for(n in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,R=[];function T(e,t,r,n){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return n(o,t,""===r?"."+L(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+L(c=t[s],s);u+=e(c,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(c=t.next()).done;)u+=e(c=c.value,l=r+L(c,s++),n,o);else if("object"===c)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),M(e,N,t=T(t,i,n,o)),C(t)}var G={current:null};function F(){var e=G.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,q,t=T(null,null,t,r)),C(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=c,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return F().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,r){return F().useReducer(e,t,r)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,u=a(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){c=n(r);for(var f=0;f<c.length;f++)i.call(r,c[f])&&(u[c[f]]=r[c[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),a=r.n(i),c=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(c.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:a.a.node.isRequired,disabled:a.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),g=r(1),b=r(5),_=r(8),w=r(6);function k(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,a=e.noSnippetWithoutModuleAccessNotice,c=Object(v.useState)(void 0),u=d()(c,2),l=u[0],p=u[1],O=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(g.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(g.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var x=Object(g.select)(w.a).getSettings(),E=x.publicationID,A=x.paymentOption,S=x.snippetMode,P=x.postTypes,j="googlesitekit_rrm_".concat(E,":productID"),R=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,a=e.postTypes,c=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:k(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!a.includes(c)?{disabled:!0,notice:k(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:A,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(b.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[j])||""})),snippetMode:S,postTypes:P,postType:Object(m.useSelect)((function(e){return e(b.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:a}),T=R.notice,C=R.disabled;return React.createElement(v.Fragment,null,T&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},T))),React.createElement("div",O,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:a.a.string.isRequired,requiredPaymentOption:a.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:a.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:a.a.node.isRequired,noSnippetWithModuleAccessNotice:a.a.node.isRequired,noSnippetWithoutModuleAccessNotice:a.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return b()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=h(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(g([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function g(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=g,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:g(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/user";[].concat(["kmAnalyticsAdSenseTopEarningContent","kmAnalyticsEngagedTrafficSource","kmAnalyticsLeastEngagingPages","kmAnalyticsNewVisitors","kmAnalyticsPopularAuthors","kmAnalyticsPopularContent","kmAnalyticsPopularProducts","kmAnalyticsReturningVisitors","kmAnalyticsTopCategories","kmAnalyticsTopCities","kmAnalyticsTopCitiesDrivingLeads","kmAnalyticsTopCitiesDrivingAddToCart","kmAnalyticsTopCitiesDrivingPurchases","kmAnalyticsTopDeviceDrivingPurchases","kmAnalyticsTopConvertingTrafficSource","kmAnalyticsTopCountries","kmAnalyticsTopRecentTrendingPages","kmAnalyticsTopTrafficSource","kmAnalyticsTopTrafficSourceDrivingAddToCart","kmAnalyticsPagesPerVisit","kmAnalyticsVisitLength","kmAnalyticsTopReturningVisitorPages","kmAnalyticsVisitsPerVisitor","kmAnalyticsMostEngagingPages","kmAnalyticsTopCategories"],["kmSearchConsolePopularKeywords"])},function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-contribute-with-google","version":"1.150.0","title":"Contribute with Google","category":"widgets","icon":"google","description":"Allow users to make voluntary contributions using Reader Revenue Manager.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),i=r(12),a=r.n(i),c=r(16),u=r(1),s=r(8),l=r(27),f=r(6),p=r(5),d=r(9),y=r(4),h=r(3),v=r(20);function Edit(){var e=Object(u.select)(f.a).getPublicationID(),t=Object(u.select)(f.a).getServiceURL({path:"reader-revenue-manager",query:{publication:e}});return React.createElement(v.a,{buttonLabel:
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=48)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function _next(e){r(a,o,i,_next,c,"next",e)}function c(e){r(a,o,i,_next,c,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),a=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function w(){}function k(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,n(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,o={},a=null,c=null;if(null!=t)for(n in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,R=[];function T(e,t,r,n){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return n(o,t,""===r?"."+L(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+L(c=t[s],s);u+=e(c,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(c=t.next()).done;)u+=e(c=c.value,l=r+L(c,s++),n,o);else if("object"===c)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),M(e,N,t=T(t,i,n,o)),C(t)}var G={current:null};function F(){var e=G.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,q,t=T(null,null,t,r)),C(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=c,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return F().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,r){return F().useReducer(e,t,r)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,u=a(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){c=n(r);for(var f=0;f<c.length;f++)i.call(r,c[f])&&(u[c[f]]=r[c[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),a=r.n(i),c=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(c.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:a.a.node.isRequired,disabled:a.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),g=r(1),b=r(5),_=r(8),w=r(6);function k(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,a=e.noSnippetWithoutModuleAccessNotice,c=Object(v.useState)(void 0),u=d()(c,2),l=u[0],p=u[1],O=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(g.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(g.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var x=Object(g.select)(w.a).getSettings(),E=x.publicationID,A=x.paymentOption,S=x.snippetMode,P=x.postTypes,j="googlesitekit_rrm_".concat(E,":productID"),R=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,a=e.postTypes,c=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:k(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!a.includes(c)?{disabled:!0,notice:k(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:A,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(b.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[j])||""})),snippetMode:S,postTypes:P,postType:Object(m.useSelect)((function(e){return e(b.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:a}),T=R.notice,C=R.disabled;return React.createElement(v.Fragment,null,T&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},T))),React.createElement("div",O,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:a.a.string.isRequired,requiredPaymentOption:a.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:a.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:a.a.node.isRequired,noSnippetWithModuleAccessNotice:a.a.node.isRequired,noSnippetWithoutModuleAccessNotice:a.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return b()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=h(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(g([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function g(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=g,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:g(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/user";[].concat(["kmAnalyticsAdSenseTopEarningContent","kmAnalyticsEngagedTrafficSource","kmAnalyticsLeastEngagingPages","kmAnalyticsNewVisitors","kmAnalyticsPopularAuthors","kmAnalyticsPopularContent","kmAnalyticsPopularProducts","kmAnalyticsReturningVisitors","kmAnalyticsTopCategories","kmAnalyticsTopCities","kmAnalyticsTopCitiesDrivingLeads","kmAnalyticsTopCitiesDrivingAddToCart","kmAnalyticsTopCitiesDrivingPurchases","kmAnalyticsTopDeviceDrivingPurchases","kmAnalyticsTopConvertingTrafficSource","kmAnalyticsTopCountries","kmAnalyticsTopRecentTrendingPages","kmAnalyticsTopTrafficSource","kmAnalyticsTopTrafficSourceDrivingAddToCart","kmAnalyticsPagesPerVisit","kmAnalyticsVisitLength","kmAnalyticsTopReturningVisitorPages","kmAnalyticsVisitsPerVisitor","kmAnalyticsMostEngagingPages","kmAnalyticsTopCategories"],["kmSearchConsolePopularKeywords"])},function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-contribute-with-google","version":"1.151.0","title":"Contribute with Google","category":"widgets","icon":"google","description":"Allow users to make voluntary contributions using Reader Revenue Manager.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),i=r(12),a=r.n(i),c=r(16),u=r(1),s=r(8),l=r(27),f=r(6),p=r(5),d=r(9),y=r(4),h=r(3),v=r(20);function Edit(){var e=Object(u.select)(f.a).getPublicationID(),t=Object(u.select)(f.a).getServiceURL({path:"reader-revenue-manager",query:{publication:e}});return React.createElement(v.a,{buttonLabel:
    22/* translators: Button label for Contribute with Google. See: https://github.com/subscriptions-project/swg-js/blob/05af2d45cfcaf831a6b4d35c28f2c7b5c2e39308/src/i18n/swg-strings.ts#L58-L91 (please refer to the latest version of the file) */
    33Object(h.__)("Contribute with Google","google-site-kit"),requiredPaymentOption:"contributions",invalidPaymentOptionWithModuleAccessNotice:Object(y.createInterpolateElement)(Object(h.__)("You need to set up a contributions request in Reader Revenue Manager to use this block. <a>Go to Reader Revenue Manager</a>","google-site-kit"),{a:React.createElement(d.ExternalLink,{href:t})}),invalidPaymentOptionWithoutModuleAccessNotice:Object(h.__)("You need to set up a contributions request in Reader Revenue Manager to use this block. Contact your administrator.","google-site-kit"),noSnippetWithModuleAccessNotice:Object(y.createInterpolateElement)(Object(h.__)("This post does not include the Reader Revenue Manager snippet. Configure the snippet for this post in the post settings sidebar.","google-site-kit"),{a:React.createElement(d.ExternalLink,{href:t})}),noSnippetWithoutModuleAccessNotice:Object(h.__)("This post does not include the Reader Revenue Manager snippet. Contact your administrator","google-site-kit")})}var m=r(30);function g(){return(g=a()(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(u.resolveSelect)(s.a).getModule("reader-revenue-manager"),Object(u.resolveSelect)(l.a).getUser(),Object(u.resolveSelect)(f.a).getSettings()]);case 2:t=!!Object(u.select)(p.b),Object(c.registerBlockType)(m.name,{edit:function(){return t?null:React.createElement(Edit,null)},supports:{inserter:!t}});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){g.apply(this,arguments)}()}]);
  • google-site-kit/tags/1.151.0/dist/assets/js/blocks/reader-revenue-manager/contribute-with-google/non-site-kit-user.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=42)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function _next(e){r(c,o,i,_next,a,"next",e)}function a(e){r(c,o,i,_next,a,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),c=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||c()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function w(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var x=O.prototype=new w;x.constructor=O,n(x,_.prototype),x.isPureReactComponent=!0;var k={current:null},E=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},c=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)E.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:c,ref:a,props:o,_owner:k.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,A=[];function N(e,t,r,n){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function L(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case c:u=!0}}if(u)return n(o,t,""===r?"."+M(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+M(a=t[s],s);u+=e(a,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(a=t.next()).done;)u+=e(a=a.value,l=r+M(a,s++),n,o);else if("object"===a)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),L(e,T,t=N(t,i,n,o)),C(t)}var F={current:null};function G(){var e=F.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;L(e,q,t=N(null,null,t,r)),C(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=a,t.Profiler=s,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),c=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=k.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:c,ref:a,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return G().useCallback(e,t)},t.useContext=function(e,t){return G().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return G().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return G().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return G().useLayoutEffect(e,t)},t.useMemo=function(e,t){return G().useMemo(e,t)},t.useReducer=function(e,t,r){return G().useReducer(e,t,r)},t.useRef=function(e){return G().useRef(e)},t.useState=function(e){return G().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,u=c(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){a=n(r);for(var f=0;f<a.length;f++)i.call(r,a[f])&&(u[a[f]]=r[a[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&e.push(c)}else if("object"===i)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),c=r.n(i),a=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(a.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:c.a.node.isRequired,disabled:c.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),b=r(1),g=r(5),_=r(8),w=r(6);function O(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,c=e.noSnippetWithoutModuleAccessNotice,a=Object(v.useState)(void 0),u=d()(a,2),l=u[0],p=u[1],x=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(b.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(b.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var k=Object(b.select)(w.a).getSettings(),E=k.publicationID,S=k.paymentOption,j=k.snippetMode,P=k.postTypes,R="googlesitekit_rrm_".concat(E,":productID"),A=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,c=e.postTypes,a=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:O(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!c.includes(a)?{disabled:!0,notice:O(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:S,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(g.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[R])||""})),snippetMode:j,postTypes:P,postType:Object(m.useSelect)((function(e){return e(g.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:c}),N=A.notice,C=A.disabled;return React.createElement(v.Fragment,null,N&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},N))),React.createElement("div",x,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:c.a.string.isRequired,requiredPaymentOption:c.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:c.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:c.a.node.isRequired,noSnippetWithModuleAccessNotice:c.a.node.isRequired,noSnippetWithoutModuleAccessNotice:c.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),c=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return g()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=h(c,r);if(a){if(a===s)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,c),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(b([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function c(){return new t((function(n,c){!function n(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,a)}))}a(s.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function b(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[c]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new AsyncIterator(a(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},y(d),d[c]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=b,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return c.type="throw",c.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},,function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,c){if(c!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-contribute-with-google","version":"1.150.0","title":"Contribute with Google","category":"widgets","icon":"google","description":"Allow users to make voluntary contributions using Reader Revenue Manager.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n,o=r(16),i=r(10),c=r(9),a=r(4),u=r(11),s=r(3),l=r(5),f=r(20),p=r(30);function Edit(){var e=Object(i.useBlockProps)();return React.createElement(a.Fragment,null,React.createElement(i.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(c.Notice,{status:"warning",isDismissible:!1},Object(s.__)("This block can only be configured by Site Kit users. Please contact your administrator.","google-site-kit")))),React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(f.b,{disabled:!0},
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=42)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function _next(e){r(c,o,i,_next,a,"next",e)}function a(e){r(c,o,i,_next,a,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),c=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||c()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function w(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var x=O.prototype=new w;x.constructor=O,n(x,_.prototype),x.isPureReactComponent=!0;var k={current:null},E=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},c=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)E.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:c,ref:a,props:o,_owner:k.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,A=[];function N(e,t,r,n){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function L(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case c:u=!0}}if(u)return n(o,t,""===r?"."+M(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+M(a=t[s],s);u+=e(a,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(a=t.next()).done;)u+=e(a=a.value,l=r+M(a,s++),n,o);else if("object"===a)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),L(e,T,t=N(t,i,n,o)),C(t)}var F={current:null};function G(){var e=F.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;L(e,q,t=N(null,null,t,r)),C(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=a,t.Profiler=s,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),c=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=k.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:c,ref:a,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return G().useCallback(e,t)},t.useContext=function(e,t){return G().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return G().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return G().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return G().useLayoutEffect(e,t)},t.useMemo=function(e,t){return G().useMemo(e,t)},t.useReducer=function(e,t,r){return G().useReducer(e,t,r)},t.useRef=function(e){return G().useRef(e)},t.useState=function(e){return G().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,u=c(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){a=n(r);for(var f=0;f<a.length;f++)i.call(r,a[f])&&(u[a[f]]=r[a[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&e.push(c)}else if("object"===i)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),c=r.n(i),a=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(a.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:c.a.node.isRequired,disabled:c.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),b=r(1),g=r(5),_=r(8),w=r(6);function O(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,c=e.noSnippetWithoutModuleAccessNotice,a=Object(v.useState)(void 0),u=d()(a,2),l=u[0],p=u[1],x=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(b.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(b.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var k=Object(b.select)(w.a).getSettings(),E=k.publicationID,S=k.paymentOption,j=k.snippetMode,P=k.postTypes,R="googlesitekit_rrm_".concat(E,":productID"),A=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,c=e.postTypes,a=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:O(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!c.includes(a)?{disabled:!0,notice:O(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:S,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(g.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[R])||""})),snippetMode:j,postTypes:P,postType:Object(m.useSelect)((function(e){return e(g.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:c}),N=A.notice,C=A.disabled;return React.createElement(v.Fragment,null,N&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},N))),React.createElement("div",x,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:c.a.string.isRequired,requiredPaymentOption:c.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:c.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:c.a.node.isRequired,noSnippetWithModuleAccessNotice:c.a.node.isRequired,noSnippetWithoutModuleAccessNotice:c.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),c=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return g()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=h(c,r);if(a){if(a===s)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,c),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(b([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function c(){return new t((function(n,c){!function n(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,a)}))}a(s.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function b(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[c]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new AsyncIterator(a(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},y(d),d[c]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=b,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return c.type="throw",c.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},,function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,c){if(c!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-contribute-with-google","version":"1.151.0","title":"Contribute with Google","category":"widgets","icon":"google","description":"Allow users to make voluntary contributions using Reader Revenue Manager.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n,o=r(16),i=r(10),c=r(9),a=r(4),u=r(11),s=r(3),l=r(5),f=r(20),p=r(30);function Edit(){var e=Object(i.useBlockProps)();return React.createElement(a.Fragment,null,React.createElement(i.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(c.Notice,{status:"warning",isDismissible:!1},Object(s.__)("This block can only be configured by Site Kit users. Please contact your administrator.","google-site-kit")))),React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(f.b,{disabled:!0},
    22/* translators: Button label for Contribute with Google. See: https://github.com/subscriptions-project/swg-js/blob/05af2d45cfcaf831a6b4d35c28f2c7b5c2e39308/src/i18n/swg-strings.ts#L58-L91 (please refer to the latest version of the file) */
    33Object(s.__)("Contribute with Google","google-site-kit")))))}n=!!Object(u.select)(l.b),Object(o.registerBlockType)(p.name,{edit:function(){return n?null:React.createElement(Edit,null)},supports:{inserter:!n}})}]);
  • google-site-kit/tags/1.151.0/dist/assets/js/blocks/reader-revenue-manager/subscribe-with-google/block.json

    r3268141 r3278480  
    33    "apiVersion": 2,
    44    "name": "google-site-kit/rrm-subscribe-with-google",
    5     "version": "1.150.0",
     5    "version": "1.151.0",
    66    "title": "Subscribe with Google",
    77    "category": "widgets",
  • google-site-kit/tags/1.151.0/dist/assets/js/blocks/reader-revenue-manager/subscribe-with-google/index.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=49)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function _next(e){r(a,o,i,_next,c,"next",e)}function c(e){r(a,o,i,_next,c,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),a=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function w(){}function k(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,n(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,o={},a=null,c=null;if(null!=t)for(n in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,R=[];function T(e,t,r,n){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return n(o,t,""===r?"."+L(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+L(c=t[s],s);u+=e(c,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(c=t.next()).done;)u+=e(c=c.value,l=r+L(c,s++),n,o);else if("object"===c)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function N(e,t){e.func.call(e.context,t,e.count++)}function q(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),M(e,q,t=T(t,i,n,o)),C(t)}var G={current:null};function F(){var e=G.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,N,t=T(null,null,t,r)),C(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=c,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return F().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,r){return F().useReducer(e,t,r)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,u=a(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){c=n(r);for(var f=0;f<c.length;f++)i.call(r,c[f])&&(u[c[f]]=r[c[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),a=r.n(i),c=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(c.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:a.a.node.isRequired,disabled:a.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),g=r(1),b=r(5),_=r(8),w=r(6);function k(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,a=e.noSnippetWithoutModuleAccessNotice,c=Object(v.useState)(void 0),u=d()(c,2),l=u[0],p=u[1],O=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(g.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(g.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var x=Object(g.select)(w.a).getSettings(),E=x.publicationID,A=x.paymentOption,S=x.snippetMode,P=x.postTypes,j="googlesitekit_rrm_".concat(E,":productID"),R=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,a=e.postTypes,c=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:k(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!a.includes(c)?{disabled:!0,notice:k(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:A,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(b.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[j])||""})),snippetMode:S,postTypes:P,postType:Object(m.useSelect)((function(e){return e(b.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:a}),T=R.notice,C=R.disabled;return React.createElement(v.Fragment,null,T&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},T))),React.createElement("div",O,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:a.a.string.isRequired,requiredPaymentOption:a.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:a.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:a.a.node.isRequired,noSnippetWithModuleAccessNotice:a.a.node.isRequired,noSnippetWithoutModuleAccessNotice:a.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return b()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=h(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(g([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function g(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=g,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:g(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/user";[].concat(["kmAnalyticsAdSenseTopEarningContent","kmAnalyticsEngagedTrafficSource","kmAnalyticsLeastEngagingPages","kmAnalyticsNewVisitors","kmAnalyticsPopularAuthors","kmAnalyticsPopularContent","kmAnalyticsPopularProducts","kmAnalyticsReturningVisitors","kmAnalyticsTopCategories","kmAnalyticsTopCities","kmAnalyticsTopCitiesDrivingLeads","kmAnalyticsTopCitiesDrivingAddToCart","kmAnalyticsTopCitiesDrivingPurchases","kmAnalyticsTopDeviceDrivingPurchases","kmAnalyticsTopConvertingTrafficSource","kmAnalyticsTopCountries","kmAnalyticsTopRecentTrendingPages","kmAnalyticsTopTrafficSource","kmAnalyticsTopTrafficSourceDrivingAddToCart","kmAnalyticsPagesPerVisit","kmAnalyticsVisitLength","kmAnalyticsTopReturningVisitorPages","kmAnalyticsVisitsPerVisitor","kmAnalyticsMostEngagingPages","kmAnalyticsTopCategories"],["kmSearchConsolePopularKeywords"])},function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-subscribe-with-google","version":"1.150.0","title":"Subscribe with Google","category":"widgets","icon":"google","description":"Allow users to subscribe using Reader Revenue Manager to access content behind a paywall.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),i=r(12),a=r.n(i),c=r(16),u=r(1),s=r(8),l=r(27),f=r(6),p=r(5),d=r(9),y=r(4),h=r(3),v=r(20);function Edit(){var e=Object(u.select)(f.a).getPublicationID(),t=Object(u.select)(f.a).getServiceURL({path:"reader-revenue-manager",query:{publication:e}});return React.createElement(v.a,{select:u.select,buttonLabel:
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=49)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function _next(e){r(a,o,i,_next,c,"next",e)}function c(e){r(a,o,i,_next,c,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),a=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function w(){}function k(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,n(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,o={},a=null,c=null;if(null!=t)for(n in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,R=[];function T(e,t,r,n){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return n(o,t,""===r?"."+L(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+L(c=t[s],s);u+=e(c,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(c=t.next()).done;)u+=e(c=c.value,l=r+L(c,s++),n,o);else if("object"===c)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function N(e,t){e.func.call(e.context,t,e.count++)}function q(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),M(e,q,t=T(t,i,n,o)),C(t)}var G={current:null};function F(){var e=G.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,N,t=T(null,null,t,r)),C(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=c,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return F().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,r){return F().useReducer(e,t,r)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,u=a(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){c=n(r);for(var f=0;f<c.length;f++)i.call(r,c[f])&&(u[c[f]]=r[c[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),a=r.n(i),c=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(c.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:a.a.node.isRequired,disabled:a.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),g=r(1),b=r(5),_=r(8),w=r(6);function k(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,a=e.noSnippetWithoutModuleAccessNotice,c=Object(v.useState)(void 0),u=d()(c,2),l=u[0],p=u[1],O=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(g.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(g.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var x=Object(g.select)(w.a).getSettings(),E=x.publicationID,A=x.paymentOption,S=x.snippetMode,P=x.postTypes,j="googlesitekit_rrm_".concat(E,":productID"),R=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,a=e.postTypes,c=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:k(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!a.includes(c)?{disabled:!0,notice:k(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:A,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(b.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[j])||""})),snippetMode:S,postTypes:P,postType:Object(m.useSelect)((function(e){return e(b.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:a}),T=R.notice,C=R.disabled;return React.createElement(v.Fragment,null,T&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},T))),React.createElement("div",O,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:a.a.string.isRequired,requiredPaymentOption:a.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:a.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:a.a.node.isRequired,noSnippetWithModuleAccessNotice:a.a.node.isRequired,noSnippetWithoutModuleAccessNotice:a.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return b()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=h(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(g([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function g(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=g,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:g(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/user";[].concat(["kmAnalyticsAdSenseTopEarningContent","kmAnalyticsEngagedTrafficSource","kmAnalyticsLeastEngagingPages","kmAnalyticsNewVisitors","kmAnalyticsPopularAuthors","kmAnalyticsPopularContent","kmAnalyticsPopularProducts","kmAnalyticsReturningVisitors","kmAnalyticsTopCategories","kmAnalyticsTopCities","kmAnalyticsTopCitiesDrivingLeads","kmAnalyticsTopCitiesDrivingAddToCart","kmAnalyticsTopCitiesDrivingPurchases","kmAnalyticsTopDeviceDrivingPurchases","kmAnalyticsTopConvertingTrafficSource","kmAnalyticsTopCountries","kmAnalyticsTopRecentTrendingPages","kmAnalyticsTopTrafficSource","kmAnalyticsTopTrafficSourceDrivingAddToCart","kmAnalyticsPagesPerVisit","kmAnalyticsVisitLength","kmAnalyticsTopReturningVisitorPages","kmAnalyticsVisitsPerVisitor","kmAnalyticsMostEngagingPages","kmAnalyticsTopCategories"],["kmSearchConsolePopularKeywords"])},function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-subscribe-with-google","version":"1.151.0","title":"Subscribe with Google","category":"widgets","icon":"google","description":"Allow users to subscribe using Reader Revenue Manager to access content behind a paywall.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),i=r(12),a=r.n(i),c=r(16),u=r(1),s=r(8),l=r(27),f=r(6),p=r(5),d=r(9),y=r(4),h=r(3),v=r(20);function Edit(){var e=Object(u.select)(f.a).getPublicationID(),t=Object(u.select)(f.a).getServiceURL({path:"reader-revenue-manager",query:{publication:e}});return React.createElement(v.a,{select:u.select,buttonLabel:
    22/* translators: Button label for Subscribe with Google. See: https://github.com/subscriptions-project/swg-js/blob/05af2d45cfcaf831a6b4d35c28f2c7b5c2e39308/src/i18n/swg-strings.ts#L24-L57 (please refer to the latest version of the file) */
    33Object(h.__)("Subscribe with Google","google-site-kit"),requiredPaymentOption:"subscriptions",invalidPaymentOptionWithModuleAccessNotice:Object(y.createInterpolateElement)(Object(h.__)("You need to set up a paywall in Reader Revenue Manager to use this block. <a>Go to Reader Revenue Manager</a>","google-site-kit"),{a:React.createElement(d.ExternalLink,{href:t})}),invalidPaymentOptionWithoutModuleAccessNotice:Object(h.__)("You need to set up a paywall in Reader Revenue Manager to use this block. Contact your administrator.","google-site-kit"),noSnippetWithModuleAccessNotice:Object(y.createInterpolateElement)(Object(h.__)("This post does not include the Reader Revenue Manager snippet. Configure the snippet for this post in the post settings sidebar.","google-site-kit"),{a:React.createElement(d.ExternalLink,{href:t})}),noSnippetWithoutModuleAccessNotice:Object(h.__)("This post does not include the Reader Revenue Manager snippet. Contact your administrator","google-site-kit")})}var m=r(31);function g(){return(g=a()(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(u.resolveSelect)(s.a).getModule("reader-revenue-manager"),Object(u.resolveSelect)(l.a).getUser(),Object(u.resolveSelect)(f.a).getSettings()]);case 2:t=!!Object(u.select)(p.b),Object(c.registerBlockType)(m.name,{edit:function(){return t?null:React.createElement(Edit,null)},supports:{inserter:!t}});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){g.apply(this,arguments)}()}]);
  • google-site-kit/tags/1.151.0/dist/assets/js/blocks/reader-revenue-manager/subscribe-with-google/non-site-kit-user.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=43)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function _next(e){r(c,o,i,_next,a,"next",e)}function a(e){r(c,o,i,_next,a,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),c=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||c()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function w(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var x=O.prototype=new w;x.constructor=O,n(x,_.prototype),x.isPureReactComponent=!0;var E={current:null},k=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},c=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)k.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:c,ref:a,props:o,_owner:E.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,A=[];function N(e,t,r,n){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case c:u=!0}}if(u)return n(o,t,""===r?"."+q(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+q(a=t[s],s);u+=e(a,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(a=t.next()).done;)u+=e(a=a.value,l=r+q(a,s++),n,o);else if("object"===a)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function C(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),M(e,T,t=N(t,i,n,o)),L(t)}var F={current:null};function G(){var e=F.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,C,t=N(null,null,t,r)),L(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=a,t.Profiler=s,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),c=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=E.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)k.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:c,ref:a,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return G().useCallback(e,t)},t.useContext=function(e,t){return G().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return G().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return G().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return G().useLayoutEffect(e,t)},t.useMemo=function(e,t){return G().useMemo(e,t)},t.useReducer=function(e,t,r){return G().useReducer(e,t,r)},t.useRef=function(e){return G().useRef(e)},t.useState=function(e){return G().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,u=c(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){a=n(r);for(var f=0;f<a.length;f++)i.call(r,a[f])&&(u[a[f]]=r[a[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&e.push(c)}else if("object"===i)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),c=r.n(i),a=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(a.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:c.a.node.isRequired,disabled:c.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),b=r(1),g=r(5),_=r(8),w=r(6);function O(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,c=e.noSnippetWithoutModuleAccessNotice,a=Object(v.useState)(void 0),u=d()(a,2),l=u[0],p=u[1],x=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(b.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(b.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var E=Object(b.select)(w.a).getSettings(),k=E.publicationID,S=E.paymentOption,j=E.snippetMode,P=E.postTypes,R="googlesitekit_rrm_".concat(k,":productID"),A=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,c=e.postTypes,a=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:O(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!c.includes(a)?{disabled:!0,notice:O(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:S,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(g.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[R])||""})),snippetMode:j,postTypes:P,postType:Object(m.useSelect)((function(e){return e(g.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:c}),N=A.notice,L=A.disabled;return React.createElement(v.Fragment,null,N&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},N))),React.createElement("div",x,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:L},t))))}ButtonEdit.propTypes={buttonLabel:c.a.string.isRequired,requiredPaymentOption:c.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:c.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:c.a.node.isRequired,noSnippetWithModuleAccessNotice:c.a.node.isRequired,noSnippetWithoutModuleAccessNotice:c.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),c=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return g()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=h(c,r);if(a){if(a===s)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,c),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(b([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function c(){return new t((function(n,c){!function n(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,a)}))}a(s.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function b(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[c]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new AsyncIterator(a(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},y(d),d[c]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=b,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return c.type="throw",c.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},,function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,c){if(c!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-subscribe-with-google","version":"1.150.0","title":"Subscribe with Google","category":"widgets","icon":"google","description":"Allow users to subscribe using Reader Revenue Manager to access content behind a paywall.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n,o=r(16),i=r(10),c=r(9),a=r(4),u=r(11),s=r(3),l=r(5),f=r(20),p=r(31);function Edit(){var e=Object(i.useBlockProps)();return React.createElement(a.Fragment,null,React.createElement(i.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(c.Notice,{status:"warning",isDismissible:!1},Object(s.__)("This block can only be configured by Site Kit users. Please contact your administrator.","google-site-kit")))),React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(f.b,{disabled:!0},
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=43)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function _next(e){r(c,o,i,_next,a,"next",e)}function a(e){r(c,o,i,_next,a,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),c=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||c()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function w(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var x=O.prototype=new w;x.constructor=O,n(x,_.prototype),x.isPureReactComponent=!0;var E={current:null},k=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},c=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)k.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:c,ref:a,props:o,_owner:E.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,A=[];function N(e,t,r,n){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case c:u=!0}}if(u)return n(o,t,""===r?"."+q(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+q(a=t[s],s);u+=e(a,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(a=t.next()).done;)u+=e(a=a.value,l=r+q(a,s++),n,o);else if("object"===a)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function C(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),M(e,T,t=N(t,i,n,o)),L(t)}var F={current:null};function G(){var e=F.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,C,t=N(null,null,t,r)),L(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=a,t.Profiler=s,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),c=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=E.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)k.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:c,ref:a,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return G().useCallback(e,t)},t.useContext=function(e,t){return G().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return G().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return G().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return G().useLayoutEffect(e,t)},t.useMemo=function(e,t){return G().useMemo(e,t)},t.useReducer=function(e,t,r){return G().useReducer(e,t,r)},t.useRef=function(e){return G().useRef(e)},t.useState=function(e){return G().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,u=c(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){a=n(r);for(var f=0;f<a.length;f++)i.call(r,a[f])&&(u[a[f]]=r[a[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&e.push(c)}else if("object"===i)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),c=r.n(i),a=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(a.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:c.a.node.isRequired,disabled:c.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),b=r(1),g=r(5),_=r(8),w=r(6);function O(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,c=e.noSnippetWithoutModuleAccessNotice,a=Object(v.useState)(void 0),u=d()(a,2),l=u[0],p=u[1],x=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(b.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(b.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var E=Object(b.select)(w.a).getSettings(),k=E.publicationID,S=E.paymentOption,j=E.snippetMode,P=E.postTypes,R="googlesitekit_rrm_".concat(k,":productID"),A=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,c=e.postTypes,a=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:O(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!c.includes(a)?{disabled:!0,notice:O(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:S,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(g.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[R])||""})),snippetMode:j,postTypes:P,postType:Object(m.useSelect)((function(e){return e(g.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:c}),N=A.notice,L=A.disabled;return React.createElement(v.Fragment,null,N&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},N))),React.createElement("div",x,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:L},t))))}ButtonEdit.propTypes={buttonLabel:c.a.string.isRequired,requiredPaymentOption:c.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:c.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:c.a.node.isRequired,noSnippetWithModuleAccessNotice:c.a.node.isRequired,noSnippetWithoutModuleAccessNotice:c.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),c=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return g()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=h(c,r);if(a){if(a===s)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,c),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(b([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function c(){return new t((function(n,c){!function n(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,a)}))}a(s.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function b(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[c]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new AsyncIterator(a(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},y(d),d[c]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=b,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return c.type="throw",c.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},,function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,c){if(c!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-subscribe-with-google","version":"1.151.0","title":"Subscribe with Google","category":"widgets","icon":"google","description":"Allow users to subscribe using Reader Revenue Manager to access content behind a paywall.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n,o=r(16),i=r(10),c=r(9),a=r(4),u=r(11),s=r(3),l=r(5),f=r(20),p=r(31);function Edit(){var e=Object(i.useBlockProps)();return React.createElement(a.Fragment,null,React.createElement(i.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(c.Notice,{status:"warning",isDismissible:!1},Object(s.__)("This block can only be configured by Site Kit users. Please contact your administrator.","google-site-kit")))),React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(f.b,{disabled:!0},
    22/* translators: Button label for Subscribe with Google. See: https://github.com/subscriptions-project/swg-js/blob/05af2d45cfcaf831a6b4d35c28f2c7b5c2e39308/src/i18n/swg-strings.ts#L24-L57 (please refer to the latest version of the file) */
    33Object(s.__)("Subscribe with Google","google-site-kit")))))}n=!!Object(u.select)(l.b),Object(o.registerBlockType)(p.name,{edit:function(){return n?null:React.createElement(Edit,null)},supports:{inserter:!n}})}]);
  • google-site-kit/tags/1.151.0/dist/assets/js/blocks/sign-in-with-google/block.json

    r3268141 r3278480  
    33    "apiVersion": 2,
    44    "name": "google-site-kit/sign-in-with-google",
    5     "version": "1.150.0",
     5    "version": "1.151.0",
    66    "title": "Sign in with Google",
    77    "category": "widgets",
  • google-site-kit/tags/1.151.0/dist/assets/js/blocks/sign-in-with-google/index.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=47)}({0:function(e,t,r){"use strict";e.exports=r(17)},10:function(e,t){e.exports=wp.blockEditor},16:function(e,t){e.exports=wp.blocks},17:function(e,t,r){"use strict";var n=r(18),A="function"==typeof Symbol&&Symbol.for,o=A?Symbol.for("react.element"):60103,i=A?Symbol.for("react.portal"):60106,u=A?Symbol.for("react.fragment"):60107,c=A?Symbol.for("react.strict_mode"):60108,l=A?Symbol.for("react.profiler"):60114,a=A?Symbol.for("react.provider"):60109,f=A?Symbol.for("react.context"):60110,s=A?Symbol.for("react.forward_ref"):60112,p=A?Symbol.for("react.suspense"):60113,g=A?Symbol.for("react.memo"):60115,v=A?Symbol.for("react.lazy"):60116,C="function"==typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function B(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||y}function b(){}function m(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||y}B.prototype.isReactComponent={},B.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},B.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=B.prototype;var E=m.prototype=new b;E.constructor=m,n(E,B.prototype),E.isPureReactComponent=!0;var R={current:null},d=Object.prototype.hasOwnProperty,Y={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,A={},i=null,u=null;if(null!=t)for(n in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)d.call(t,n)&&!Y.hasOwnProperty(n)&&(A[n]=t[n]);var c=arguments.length-2;if(1===c)A.children=r;else if(1<c){for(var l=Array(c),a=0;a<c;a++)l[a]=arguments[a+2];A.children=l}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===A[n]&&(A[n]=c[n]);return{$$typeof:o,type:e,key:i,ref:u,props:A,_owner:R.current}}function G(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g,I=[];function F(e,t,r,n){if(I.length){var A=I.pop();return A.result=e,A.keyPrefix=t,A.func=r,A.context=n,A.count=0,A}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function S(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function k(e,t,r){return null==e?0:function e(t,r,n,A){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case i:c=!0}}if(c)return n(A,t,""===r?"."+W(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var l=0;l<t.length;l++){var a=r+W(u=t[l],l);c+=e(u,a,n,A)}else if(null===t||"object"!=typeof t?a=null:a="function"==typeof(a=C&&t[C]||t["@@iterator"])?a:null,"function"==typeof a)for(t=a.call(t),l=0;!(u=t.next()).done;)c+=e(u=u.value,a=r+W(u,l++),n,A);else if("object"===u)throw n=""+t,Error(h(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,r)}function W(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,A=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?q(e,n,r,(function(e){return e})):null!=e&&(G(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,A+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+r)),n.push(e))}function q(e,t,r,n,A){var o="";null!=r&&(o=(""+r).replace(P,"$&/")+"/"),k(e,N,t=F(t,o,n,A)),S(t)}var V={current:null};function Z(){var e=V.current;if(null===e)throw Error(h(321));return e}var D={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:R,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return q(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;k(e,L,t=F(null,null,t,r)),S(t)},count:function(e){return k(e,(function(){return null}),null)},toArray:function(e){var t=[];return q(e,t,null,(function(e){return e})),t},only:function(e){if(!G(e))throw Error(h(143));return e}},t.Component=B,t.Fragment=u,t.Profiler=l,t.PureComponent=m,t.StrictMode=c,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null==e)throw Error(h(267,e));var A=n({},e.props),i=e.key,u=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,c=R.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)d.call(t,a)&&!Y.hasOwnProperty(a)&&(A[a]=void 0===t[a]&&void 0!==l?l[a]:t[a])}var a=arguments.length-2;if(1===a)A.children=r;else if(1<a){l=Array(a);for(var f=0;f<a;f++)l[f]=arguments[f+2];A.children=l}return{$$typeof:o,type:e.type,key:i,ref:u,props:A,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=G,t.lazy=function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:g,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return Z().useCallback(e,t)},t.useContext=function(e,t){return Z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return Z().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return Z().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return Z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Z().useMemo(e,t)},t.useReducer=function(e,t,r){return Z().useReducer(e,t,r)},t.useRef=function(e){return Z().useRef(e)},t.useState=function(e){return Z().useState(e)},t.version="16.14.0"},18:function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,c=i(e),l=1;l<arguments.length;l++){for(var a in r=Object(arguments[l]))A.call(r,a)&&(c[a]=r[a]);if(n){u=n(r);for(var f=0;f<u.length;f++)o.call(r,u[f])&&(c[u[f]]=r[u[f]])}}return c}},37:function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/sign-in-with-google","version":"1.150.0","title":"Sign in with Google","category":"widgets","icon":"google","description":"Allow users to sign in to your site using their Google Account.","textdomain":"google-site-kit"}')},47:function(e,t,r){"use strict";r.r(t);var n=r(16),A=r(10),o=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var u=o.createElement("rect",{width:180,height:41,rx:20.5,fill:"#fff"}),c=o.createElement("path",{fill:"url(#icon_svg__pattern0_1_99)",d:"M9 8h162v26H9z"}),l=o.createElement("defs",null,o.createElement("pattern",{id:"icon_svg__pattern0_1_99",patternContentUnits:"objectBoundingBox",width:1,height:1},o.createElement("use",{xlinkHref:"#icon_svg__image0_1_99",transform:"matrix(.00309 0 0 .01923 -.117 -.692)"})),o.createElement("image",{id:"icon_svg__image0_1_99",width:406,height:126,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZYAAAB+CAYAAAAHmDfNAAAKpGlDQ1BJQ0MgUHJvZmlsZQAASImVlwdQk9kWgO//p4eEllClhN6ktwBSQg9FerURkhBCiTEQVOyKuIIriogIqAuyKKCgqICsDUSxsCjY6wZZFNR1sSAqKu8PDGF337z35p2Zk/PNybnnnHvn3pnzA0BGs4TCDFgRgExBtigywJsWn5BIww0DPFAEMLAGZBY7S8gIDw8BiMzYv8vHuwCS2luW0lz//v9/FSUON4sNABSOcDIni52J8ElEJWyhKBsAVAniN1ieLZRyG8JUEdIgwj1S5k2zRMrJ0/xhKiY60gcANB4APInFEvEAIFERPy2HzUPykBwQthFw+AKEOQh7ZGYuRSypBmFTJEaIsDQ/PfkveXh/y5ksy8li8WQ8vZcpwfvys4QZrJX/53H8b8nMEM/UMEaUlCoKjJTWQ87sfvrSYBkLkueHzTCfM92TlFPFgTEzzM7ySZxhDss3WLY2Y37IDKfw/ZmyPNnM6BnmZvlFzbBoaaSsVorIhzHDLNFsXXF6jMyfymXK8uemRsfNcA4/dv4MZ6VHBc/G+Mj8InGkrH+uIMB7tq6/bO+ZWX/ZL58pW5udGh0o2ztrtn+ugDGbMyte1huH6+s3GxMjixdme8tqCTPCZfHcjACZPysnSrY2G7mQs2vDZWeYxgoKn2HAB6GABdjZ3BXZ0uZ9lgpXivi81GwaA3lVXBpTwLaaS7OzsUNur/SNTl+B0RtTbw/SUJr15cPIle6YnJxsmfUxVQE4fg4A4udZn8lZABTWA3BlDVssypn2oaU/GEAECoAKNIAOMACmwBLYASfgBryAHwgCYSAaJIDFgA1SQSYQgeVgNdgA8kEh2AF2g3JwABwEh8FR0AxawRnQAS6D6+AmuAMeAQkYAq/AKPgIJiAIwkFkiA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JhYDIWTM2MEGAFGgBFgYuE+wAgwAowAI2AoAkwshsLJmTECjAAjwAj8H8yd9deKaZbhAAAAAElFTkSuQmCC"}));var a=function SvgIcon(e){return o.createElement("svg",i({viewBox:"0 0 180 41",fill:"none"},e),u,c,l)};var f=r(37);Object(n.registerBlockType)(f.name,{edit:function Edit(){var e=Object(A.useBlockProps)();return React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-sign-in-with-google",style:{maxWidth:"180px",minWidth:"120px"}},React.createElement(a,null)))}})}});
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=47)}({0:function(e,t,r){"use strict";e.exports=r(17)},10:function(e,t){e.exports=wp.blockEditor},16:function(e,t){e.exports=wp.blocks},17:function(e,t,r){"use strict";var n=r(18),A="function"==typeof Symbol&&Symbol.for,o=A?Symbol.for("react.element"):60103,i=A?Symbol.for("react.portal"):60106,u=A?Symbol.for("react.fragment"):60107,c=A?Symbol.for("react.strict_mode"):60108,l=A?Symbol.for("react.profiler"):60114,a=A?Symbol.for("react.provider"):60109,f=A?Symbol.for("react.context"):60110,s=A?Symbol.for("react.forward_ref"):60112,p=A?Symbol.for("react.suspense"):60113,g=A?Symbol.for("react.memo"):60115,v=A?Symbol.for("react.lazy"):60116,C="function"==typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function B(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||y}function b(){}function m(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||y}B.prototype.isReactComponent={},B.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},B.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=B.prototype;var E=m.prototype=new b;E.constructor=m,n(E,B.prototype),E.isPureReactComponent=!0;var R={current:null},d=Object.prototype.hasOwnProperty,Y={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,A={},i=null,u=null;if(null!=t)for(n in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)d.call(t,n)&&!Y.hasOwnProperty(n)&&(A[n]=t[n]);var c=arguments.length-2;if(1===c)A.children=r;else if(1<c){for(var l=Array(c),a=0;a<c;a++)l[a]=arguments[a+2];A.children=l}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===A[n]&&(A[n]=c[n]);return{$$typeof:o,type:e,key:i,ref:u,props:A,_owner:R.current}}function G(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g,I=[];function F(e,t,r,n){if(I.length){var A=I.pop();return A.result=e,A.keyPrefix=t,A.func=r,A.context=n,A.count=0,A}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function S(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function k(e,t,r){return null==e?0:function e(t,r,n,A){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case i:c=!0}}if(c)return n(A,t,""===r?"."+W(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var l=0;l<t.length;l++){var a=r+W(u=t[l],l);c+=e(u,a,n,A)}else if(null===t||"object"!=typeof t?a=null:a="function"==typeof(a=C&&t[C]||t["@@iterator"])?a:null,"function"==typeof a)for(t=a.call(t),l=0;!(u=t.next()).done;)c+=e(u=u.value,a=r+W(u,l++),n,A);else if("object"===u)throw n=""+t,Error(h(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,r)}function W(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,A=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?q(e,n,r,(function(e){return e})):null!=e&&(G(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,A+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+r)),n.push(e))}function q(e,t,r,n,A){var o="";null!=r&&(o=(""+r).replace(P,"$&/")+"/"),k(e,N,t=F(t,o,n,A)),S(t)}var V={current:null};function Z(){var e=V.current;if(null===e)throw Error(h(321));return e}var D={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:R,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return q(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;k(e,L,t=F(null,null,t,r)),S(t)},count:function(e){return k(e,(function(){return null}),null)},toArray:function(e){var t=[];return q(e,t,null,(function(e){return e})),t},only:function(e){if(!G(e))throw Error(h(143));return e}},t.Component=B,t.Fragment=u,t.Profiler=l,t.PureComponent=m,t.StrictMode=c,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null==e)throw Error(h(267,e));var A=n({},e.props),i=e.key,u=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,c=R.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)d.call(t,a)&&!Y.hasOwnProperty(a)&&(A[a]=void 0===t[a]&&void 0!==l?l[a]:t[a])}var a=arguments.length-2;if(1===a)A.children=r;else if(1<a){l=Array(a);for(var f=0;f<a;f++)l[f]=arguments[f+2];A.children=l}return{$$typeof:o,type:e.type,key:i,ref:u,props:A,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=G,t.lazy=function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:g,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return Z().useCallback(e,t)},t.useContext=function(e,t){return Z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return Z().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return Z().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return Z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Z().useMemo(e,t)},t.useReducer=function(e,t,r){return Z().useReducer(e,t,r)},t.useRef=function(e){return Z().useRef(e)},t.useState=function(e){return Z().useState(e)},t.version="16.14.0"},18:function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,c=i(e),l=1;l<arguments.length;l++){for(var a in r=Object(arguments[l]))A.call(r,a)&&(c[a]=r[a]);if(n){u=n(r);for(var f=0;f<u.length;f++)o.call(r,u[f])&&(c[u[f]]=r[u[f]])}}return c}},37:function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/sign-in-with-google","version":"1.151.0","title":"Sign in with Google","category":"widgets","icon":"google","description":"Allow users to sign in to your site using their Google Account.","textdomain":"google-site-kit"}')},47:function(e,t,r){"use strict";r.r(t);var n=r(16),A=r(10),o=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var u=o.createElement("rect",{width:180,height:41,rx:20.5,fill:"#fff"}),c=o.createElement("path",{fill:"url(#icon_svg__pattern0_1_99)",d:"M9 8h162v26H9z"}),l=o.createElement("defs",null,o.createElement("pattern",{id:"icon_svg__pattern0_1_99",patternContentUnits:"objectBoundingBox",width:1,height:1},o.createElement("use",{xlinkHref:"#icon_svg__image0_1_99",transform:"matrix(.00309 0 0 .01923 -.117 -.692)"})),o.createElement("image",{id:"icon_svg__image0_1_99",width:406,height:126,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZYAAAB+CAYAAAAHmDfNAAAKpGlDQ1BJQ0MgUHJvZmlsZQAASImVlwdQk9kWgO//p4eEllClhN6ktwBSQg9FerURkhBCiTEQVOyKuIIriogIqAuyKKCgqICsDUSxsCjY6wZZFNR1sSAqKu8PDGF337z35p2Zk/PNybnnnHvn3pnzA0BGs4TCDFgRgExBtigywJsWn5BIww0DPFAEMLAGZBY7S8gIDw8BiMzYv8vHuwCS2luW0lz//v9/FSUON4sNABSOcDIni52J8ElEJWyhKBsAVAniN1ieLZRyG8JUEdIgwj1S5k2zRMrJ0/xhKiY60gcANB4APInFEvEAIFERPy2HzUPykBwQthFw+AKEOQh7ZGYuRSypBmFTJEaIsDQ/PfkveXh/y5ksy8li8WQ8vZcpwfvys4QZrJX/53H8b8nMEM/UMEaUlCoKjJTWQ87sfvrSYBkLkueHzTCfM92TlFPFgTEzzM7ySZxhDss3WLY2Y37IDKfw/ZmyPNnM6BnmZvlFzbBoaaSsVorIhzHDLNFsXXF6jMyfymXK8uemRsfNcA4/dv4MZ6VHBc/G+Mj8InGkrH+uIMB7tq6/bO+ZWX/ZL58pW5udGh0o2ztrtn+ugDGbMyte1huH6+s3GxMjixdme8tqCTPCZfHcjACZPysnSrY2G7mQs2vDZWeYxgoKn2HAB6GABdjZ3BXZ0uZ9lgpXivi81GwaA3lVXBpTwLaaS7OzsUNur/SNTl+B0RtTbw/SUJr15cPIle6YnJxsmfUxVQE4fg4A4udZn8lZABTWA3BlDVssypn2oaU/GEAECoAKNIAOMACmwBLYASfgBryAHwgCYSAaJIDFgA1SQSYQgeVgNdgA8kEh2AF2g3JwABw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ACPACDACjIChCDCxGAonZ8YIMAKMACPAxMJ9gBFgBBgBRsBQBJhYDIWTM2MEGAFGgBFgYuE+wAgwAowAI2AoAkwshsLJmTECjAAjwAj8H8yd9deKaZbhAAAAAElFTkSuQmCC"}));var a=function SvgIcon(e){return o.createElement("svg",i({viewBox:"0 0 180 41",fill:"none"},e),u,c,l)};var f=r(37);Object(n.registerBlockType)(f.name,{edit:function Edit(){var e=Object(A.useBlockProps)();return React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-sign-in-with-google",style:{maxWidth:"180px",minWidth:"120px"}},React.createElement(a,null)))}})}});
  • google-site-kit/tags/1.151.0/dist/config.php

    r3268141 r3278480  
    88
    99return array(
    10     'features' => array( 'adsPax','conversionReporting','firstPartyMode','gm3Components','privacySandboxModule','rrmModule' ),
     10    'features' => array( 'adsPax','firstPartyMode','gm3Components','privacySandboxModule','rrmModule' ),
    1111);
  • google-site-kit/tags/1.151.0/dist/manifest.php

    r3268141 r3278480  
    2828    'sign-in-with-google/editor-styles'                               => array( "sign-in-with-google/editor-styles.js", null ),
    2929    'sign-in-with-google/index'                                       => array( "sign-in-with-google/index.js", null ),
    30     'googlesitekit-admin-css'                                         => array( "googlesitekit-admin-css-cb47549277062c4b73a9.min.css", null ),
     30    'googlesitekit-admin-css'                                         => array( "googlesitekit-admin-css-5be41b6ea1f4e4a9d7aa.min.css", null ),
    3131    'googlesitekit-adminbar-css'                                      => array( "googlesitekit-adminbar-css-281d66e21d2b87430998.min.css", null ),
    3232    'googlesitekit-authorize-application-css'                         => array( "googlesitekit-authorize-application-css-ce25e97404abc5a02921.min.css", null ),
    3333    'googlesitekit-wp-dashboard-css'                                  => array( "googlesitekit-wp-dashboard-css-55d9d8bb13cf249a2389.min.css", null ),
    34     'googlesitekit-vendor'                                            => array( "googlesitekit-vendor-c41f3ea565982be81dc7.js", null ),
    35     'googlesitekit-runtime'                                           => array( "runtime-287781f5f74c2c5c81d6.js", null ),
    36     'googlesitekit-activation'                                        => array( "googlesitekit-activation-88d7bc49905406a66f50.js", null ),
    37     'googlesitekit-ad-blocking-recovery'                              => array( "googlesitekit-ad-blocking-recovery-a501d5a1bc6629ff511f.js", null ),
    38     'googlesitekit-adminbar'                                          => array( "googlesitekit-adminbar-887c35b1429a72281ce5.js", null ),
    39     'googlesitekit-api'                                               => array( "googlesitekit-api-fdbfa1d7798c4ec990fc.js", null ),
    40     'googlesitekit-components'                                        => array( array( "googlesitekit-components-gm2-f9237f69ac241bcc21ed.js", null ), array( "googlesitekit-components-gm3-ab2c1a9dc01af1133819.js", null ) ),
    41     'googlesitekit-data'                                              => array( "googlesitekit-data-45f7245998546176b318.js", null ),
    42     'googlesitekit-datastore-forms'                                   => array( "googlesitekit-datastore-forms-a9dfe420276ef5c9c38e.js", null ),
    43     'googlesitekit-datastore-location'                                => array( "googlesitekit-datastore-location-f572fec44b31e4df35a4.js", null ),
    44     'googlesitekit-datastore-site'                                    => array( "googlesitekit-datastore-site-d0290506ae2dceae258d.js", null ),
    45     'googlesitekit-datastore-ui'                                      => array( "googlesitekit-datastore-ui-85403f21f3fa898c5f42.js", null ),
    46     'googlesitekit-datastore-user'                                    => array( "googlesitekit-datastore-user-ed83cc041bfd7a167c61.js", null ),
    47     'googlesitekit-entity-dashboard'                                  => array( "googlesitekit-entity-dashboard-d016ceb266ded080cf54.js", null ),
    48     'googlesitekit-main-dashboard'                                    => array( "googlesitekit-main-dashboard-2f16496977523d94695c.js", null ),
    49     'googlesitekit-metric-selection'                                  => array( "googlesitekit-metric-selection-f2586c53d4c26e1f612b.js", null ),
    50     'googlesitekit-modules'                                           => array( "googlesitekit-modules-43e6eac0f528c9478d99.js", null ),
    51     'googlesitekit-modules-ads'                                       => array( "googlesitekit-modules-ads-0aae232041600e9c7247.js", null ),
    52     'googlesitekit-modules-adsense'                                   => array( "googlesitekit-modules-adsense-9175c88d297e25549011.js", null ),
    53     'googlesitekit-modules-analytics-4'                               => array( "googlesitekit-modules-analytics-4-80c52f9706553a5b10b8.js", null ),
    54     'googlesitekit-modules-pagespeed-insights'                        => array( "googlesitekit-modules-pagespeed-insights-8c99d7ff2c1b49f6bda8.js", null ),
    55     'googlesitekit-modules-reader-revenue-manager'                    => array( "googlesitekit-modules-reader-revenue-manager-22b67f5e89c2898ed8e3.js", null ),
    56     'googlesitekit-modules-search-console'                            => array( "googlesitekit-modules-search-console-89997c1640e147ea3ccd.js", null ),
    57     'googlesitekit-modules-sign-in-with-google'                       => array( "googlesitekit-modules-sign-in-with-google-ec01550e8d82b8ff15a5.js", null ),
    58     'googlesitekit-modules-tagmanager'                                => array( "googlesitekit-modules-tagmanager-d81f42aeacd4a5c7ffe1.js", null ),
    59     'googlesitekit-notifications'                                     => array( "googlesitekit-notifications-b491840b6580d294aa26.js", null ),
    60     'googlesitekit-polyfills'                                         => array( "googlesitekit-polyfills-6735e9dff66c9c6172bb.js", null ),
    61     'googlesitekit-settings'                                          => array( "googlesitekit-settings-c1f1b3a092fc9d8e3063.js", null ),
    62     'googlesitekit-splash'                                            => array( "googlesitekit-splash-fcd5bcfbd1f92aadc4c1.js", null ),
    63     'googlesitekit-user-input'                                        => array( "googlesitekit-user-input-ed04fc10d6b7b7c0f9cc.js", null ),
    64     'googlesitekit-widgets'                                           => array( "googlesitekit-widgets-d107680b232419de6a19.js", null ),
    65     'googlesitekit-wp-dashboard'                                      => array( "googlesitekit-wp-dashboard-870ef912360a20fdd099.js", null ),
     34    'googlesitekit-vendor'                                            => array( "googlesitekit-vendor-7a89e9cf7bac16af9d79.js", null ),
     35    'googlesitekit-runtime'                                           => array( "runtime-0644fb215f0ab84b2d76.js", null ),
     36    'googlesitekit-activation'                                        => array( "googlesitekit-activation-eb17ae245f913be73bce.js", null ),
     37    'googlesitekit-ad-blocking-recovery'                              => array( "googlesitekit-ad-blocking-recovery-e2d4e0f5c3c3c25441a7.js", null ),
     38    'googlesitekit-adminbar'                                          => array( "googlesitekit-adminbar-86406eed676194644c12.js", null ),
     39    'googlesitekit-api'                                               => array( "googlesitekit-api-68f034ddcc8aa2cf84ec.js", null ),
     40    'googlesitekit-components'                                        => array( array( "googlesitekit-components-gm2-24ad3c1e1956aca36103.js", null ), array( "googlesitekit-components-gm3-64a3e063d5103a6fafec.js", null ) ),
     41    'googlesitekit-data'                                              => array( "googlesitekit-data-00f18bf1d062e2d0a24a.js", null ),
     42    'googlesitekit-datastore-forms'                                   => array( "googlesitekit-datastore-forms-9d18ef42a0d881d377c6.js", null ),
     43    'googlesitekit-datastore-location'                                => array( "googlesitekit-datastore-location-14a4949237b84ca9cc37.js", null ),
     44    'googlesitekit-datastore-site'                                    => array( "googlesitekit-datastore-site-aba6daece9b2eaa759b2.js", null ),
     45    'googlesitekit-datastore-ui'                                      => array( "googlesitekit-datastore-ui-6b36c39182039f275428.js", null ),
     46    'googlesitekit-datastore-user'                                    => array( "googlesitekit-datastore-user-81e319c2f8abe10a6ef6.js", null ),
     47    'googlesitekit-entity-dashboard'                                  => array( "googlesitekit-entity-dashboard-0b13cf977d9a418420e2.js", null ),
     48    'googlesitekit-main-dashboard'                                    => array( "googlesitekit-main-dashboard-0a39474854d17bf3b944.js", null ),
     49    'googlesitekit-metric-selection'                                  => array( "googlesitekit-metric-selection-c71dae0c66de1fecd9b8.js", null ),
     50    'googlesitekit-modules'                                           => array( "googlesitekit-modules-560b754fd25ec8b8411c.js", null ),
     51    'googlesitekit-modules-ads'                                       => array( "googlesitekit-modules-ads-6251f4cdc6d2482395c4.js", null ),
     52    'googlesitekit-modules-adsense'                                   => array( "googlesitekit-modules-adsense-acbaf31a5b8a3bec041d.js", null ),
     53    'googlesitekit-modules-analytics-4'                               => array( "googlesitekit-modules-analytics-4-c996363f1b886561fd11.js", null ),
     54    'googlesitekit-modules-pagespeed-insights'                        => array( "googlesitekit-modules-pagespeed-insights-621453a07d4db3823577.js", null ),
     55    'googlesitekit-modules-reader-revenue-manager'                    => array( "googlesitekit-modules-reader-revenue-manager-31cd0372016deb783c14.js", null ),
     56    'googlesitekit-modules-search-console'                            => array( "googlesitekit-modules-search-console-07c50a5dfceda2333dfc.js", null ),
     57    'googlesitekit-modules-sign-in-with-google'                       => array( "googlesitekit-modules-sign-in-with-google-8d084cccb8d98b30652a.js", null ),
     58    'googlesitekit-modules-tagmanager'                                => array( "googlesitekit-modules-tagmanager-423f2f1617bf8848310b.js", null ),
     59    'googlesitekit-notifications'                                     => array( "googlesitekit-notifications-ab597852ddb127a4ac8b.js", null ),
     60    'googlesitekit-polyfills'                                         => array( "googlesitekit-polyfills-b5cac13b6ea236d651f6.js", null ),
     61    'googlesitekit-settings'                                          => array( "googlesitekit-settings-712a38e258e66403f7c5.js", null ),
     62    'googlesitekit-splash'                                            => array( "googlesitekit-splash-5b503b779153eb447105.js", null ),
     63    'googlesitekit-user-input'                                        => array( "googlesitekit-user-input-174594af49b764d340a8.js", null ),
     64    'googlesitekit-widgets'                                           => array( "googlesitekit-widgets-851854f58a49a0448f7e.js", null ),
     65    'googlesitekit-wp-dashboard'                                      => array( "googlesitekit-wp-dashboard-d8a1ae9cd97f12970a3f.js", null ),
    6666);
  • google-site-kit/tags/1.151.0/google-site-kit.php

    r3268141 r3278480  
    1212 * Plugin URI:        https://sitekit.withgoogle.com
    1313 * Description:       Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
    14  * Version:           1.150.0
     14 * Version:           1.151.0
    1515 * Requires at least: 5.2
    1616 * Requires PHP:      7.4
     
    2727
    2828// Define most essential constants.
    29 define( 'GOOGLESITEKIT_VERSION', '1.150.0' );
     29define( 'GOOGLESITEKIT_VERSION', '1.151.0' );
    3030define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
    3131define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' );
  • google-site-kit/tags/1.151.0/includes/Core/Admin/Screens.php

    r3208808 r3278480  
    1818use Google\Site_Kit\Core\Permissions\Permissions;
    1919use Google\Site_Kit\Core\Storage\User_Options;
    20 use Google\Site_Kit\Core\Util\Feature_Flags;
    2120
    2221/**
     
    481480        );
    482481
    483         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    484             $screens[] = new Screen(
    485                 self::PREFIX . 'metric-selection',
    486                 array(
    487                     'title'       => __( 'Select Key Metrics', 'google-site-kit' ),
    488                     'capability'  => Permissions::MANAGE_OPTIONS,
    489                     'parent_slug' => self::PARENT_SLUG_NULL,
    490                 )
    491             );
    492         }
     482        $screens[] = new Screen(
     483            self::PREFIX . 'metric-selection',
     484            array(
     485                'title'       => __( 'Select Key Metrics', 'google-site-kit' ),
     486                'capability'  => Permissions::MANAGE_OPTIONS,
     487                'parent_slug' => self::PARENT_SLUG_NULL,
     488            )
     489        );
    493490
    494491        return $screens;
  • google-site-kit/tags/1.151.0/includes/Core/Assets/Assets.php

    r3268141 r3278480  
    1616use Google\Site_Kit\Core\Storage\Options;
    1717use Google\Site_Kit\Core\Util\Feature_Flags;
    18 use Google\Site_Kit\Core\Util\Plugin_Status;
    1918use WP_Dependencies;
    2019use WP_Post_Type;
     
    698697                )
    699698            ),
     699            new Script(
     700                'googlesitekit-metric-selection',
     701                array(
     702                    'src'          => $base_url . 'js/googlesitekit-metric-selection.js',
     703                    'dependencies' => $this->get_asset_dependencies( 'dashboard' ),
     704                )
     705            ),
    700706            new Stylesheet(
    701707                'googlesitekit-adminbar-css',
     
    715721            ),
    716722        );
    717 
    718         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    719             $assets[] = new Script(
    720                 'googlesitekit-metric-selection',
    721                 array(
    722                     'src'          => $base_url . 'js/googlesitekit-metric-selection.js',
    723                     'dependencies' => $this->get_asset_dependencies( 'dashboard' ),
    724                 )
    725             );
    726         }
    727723
    728724        /**
  • google-site-kit/tags/1.151.0/includes/Core/Consent_Mode/REST_Consent_Mode_Controller.php

    r3253534 r3278480  
    255255                        'methods'             => WP_REST_Server::READABLE,
    256256                        'callback'            => function () {
    257                             $ads_connected = apply_filters( 'googlesitekit_is_module_connected', false, Ads::MODULE_SLUG );
    258 
    259                             if ( $ads_connected ) {
    260                                 return new WP_REST_Response( array( 'connected' => true ) );
     257                            $checks = apply_filters( 'googlesitekit_ads_measurement_connection_checks', array() );
     258
     259                            if ( ! is_array( $checks ) ) {
     260                                return new WP_REST_Response( array( 'connected' => false ) );
    261261                            }
    262262
    263                             $analytics_connected = apply_filters( 'googlesitekit_is_module_connected', false, Analytics_4::MODULE_SLUG );
    264                             if ( $analytics_connected ) {
    265                                 $analytics_settings = ( new Analytics_Settings( $this->options ) )->get();
    266                                 $adsense_linked     = $analytics_settings['adSenseLinked'] ?? false;
    267 
    268                                 if ( $adsense_linked ) {
    269                                     return new WP_REST_Response( array( 'connected' => true ) );
     263                            foreach ( $checks as $check ) {
     264                                if ( ! is_callable( $check ) ) {
     265                                    continue;
    270266                                }
    271267
    272                                 $container_destination_ids = $analytics_settings['googleTagContainerDestinationIDs'] ?? false;
    273                                 if ( is_array( $container_destination_ids ) ) {
    274                                     foreach ( $container_destination_ids as $destination_id ) {
    275                                         if ( substr( $destination_id, 0, 3 ) === 'AW-' ) {
    276                                             return new WP_REST_Response( array( 'connected' => true ) );
    277                                         }
    278                                     }
    279                                 }
    280                             }
    281 
    282                             $tag_manager_connected = apply_filters( 'googlesitekit_is_module_connected', false, Tag_Manager::MODULE_SLUG );
    283                             if ( $tag_manager_connected ) {
    284                                 $tag_manager          = $this->modules->get_module( Tag_Manager::MODULE_SLUG );
    285                                 $tag_manager_settings = ( new Tag_Manager_Settings( $this->options ) )->get();
    286 
    287                                 if ( ! $tag_manager || ! $tag_manager instanceof Tag_Manager ) {
    288                                     return new WP_REST_Response( array( 'connected' => false ) );
    289                                 }
    290 
    291                                 $live_containers_versions = $tag_manager->get_tagmanager_service()->accounts_containers_versions->live(
    292                                     "accounts/{$tag_manager_settings['accountID']}/containers/{$tag_manager_settings['internalContainerID']}"
    293                                 );
    294 
    295                                 if ( empty( $live_containers_versions->tag ) ) {
    296                                     return new WP_REST_Response( array( 'connected' => false ) );
    297                                 }
    298 
    299                                 $has_ads_tag = array_search( 'awct', array_column( $live_containers_versions->tag, 'type' ), true );
    300                                 if ( false !== $has_ads_tag ) {
     268                                if ( $check() ) {
    301269                                    return new WP_REST_Response( array( 'connected' => true ) );
    302270                                }
  • google-site-kit/tags/1.151.0/includes/Core/Key_Metrics/REST_Key_Metrics_Controller.php

    r3221899 r3278480  
    1414use Google\Site_Kit\Core\REST_API\REST_Route;
    1515use Google\Site_Kit\Core\REST_API\REST_Routes;
    16 use Google\Site_Kit\Core\Util\Feature_Flags;
    1716use WP_Error;
    1817use WP_REST_Request;
     
    135134                            // which we can solely rely on `maxItems` in the schema validation (see below).
    136135                            // See https://github.com/WordPress/WordPress/blob/965fcddcf68cf4fd122ae24b992e242dfea1d773/wp-includes/rest-api.php#L1922-L1925.
    137                             $max_num_widgets = Feature_Flags::enabled( 'conversionReporting' ) ? 8 : 4;
     136                            $max_num_widgets = 8;
    138137                            if ( $num_widgets > $max_num_widgets ) {
    139138                                return new WP_Error(
     
    173172                                            'type'     => 'array',
    174173                                            'required' => false,
    175                                             'maxItems' => Feature_Flags::enabled( 'conversionReporting' ) ? 8 : 4,
     174                                            'maxItems' => 8,
    176175                                            'items'    => array(
    177176                                                'type' => 'string',
  • google-site-kit/tags/1.151.0/includes/Core/User/REST_Conversion_Reporting_Controller.php

    r3221899 r3278480  
    1414use Google\Site_Kit\Core\REST_API\REST_Route;
    1515use Google\Site_Kit\Core\REST_API\REST_Routes;
    16 use Google\Site_Kit\Core\Util\Feature_Flags;
    1716use WP_REST_Request;
    1817use WP_REST_Response;
     
    6362            'googlesitekit_apifetch_preload_paths',
    6463            function ( $paths ) {
    65                 if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    66                     return array_merge(
    67                         $paths,
    68                         array(
    69                             '/' . REST_Routes::REST_ROOT . '/core/user/data/conversion-reporting-settings',
    70                         )
    71                     );
    72                 }
    73 
    74                 return $paths;
     64                return array_merge(
     65                    $paths,
     66                    array(
     67                        '/' . REST_Routes::REST_ROOT . '/core/user/data/conversion-reporting-settings',
     68                    )
     69                );
    7570            }
    7671        );
     
    8883            return current_user_can( Permissions::VIEW_DASHBOARD );
    8984        };
    90 
    91         if ( ! Feature_Flags::enabled( 'conversionReporting' ) ) {
    92             return array();
    93         }
    9485
    9586        return array(
  • google-site-kit/tags/1.151.0/includes/Modules/Ads.php

    r3261091 r3278480  
    106106        // Ads tag placement logic.
    107107        add_action( 'template_redirect', array( $this, 'register_tag' ) );
    108 
    109108        add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_modules_data' ) );
     109        add_filter(
     110            'googlesitekit_ads_measurement_connection_checks',
     111            function ( $checks ) {
     112                $checks[] = array( $this, 'check_ads_measurement_connection' );
     113                return $checks;
     114            },
     115            10
     116        );
    110117    }
    111118
     
    117124    public function register_persistent() {
    118125        add_filter( 'googlesitekit_inline_modules_data', fn ( $data ) => $this->persistent_inline_modules_data( $data ) );
     126    }
     127
     128    /**
     129     * Checks if the Ads module is connected and contributing to Ads measurement.
     130     *
     131     * @since 1.151.0
     132     *
     133     * @return bool True if the Ads module is connected, false otherwise.
     134     */
     135    public function check_ads_measurement_connection() {
     136        return $this->is_connected();
    119137    }
    120138
     
    185203                    array(
    186204                        // When updating, mirror the fixed version for google-pax-sdk in package.json.
    187                         'src'          => 'https://www.gstatic.com/pax/1.1.3/pax_integrator.js',
     205                        'src'          => 'https://www.gstatic.com/pax/1.1.4/pax_integrator.js',
    188206                        'execution'    => 'async',
    189207                        'dependencies' => array(
  • google-site-kit/tags/1.151.0/includes/Modules/Analytics_4.php

    r3261091 r3278480  
    206206        $this->custom_dimensions_data_available = new Custom_Dimensions_Data_Available( $this->transients );
    207207        $this->reset_audiences                  = new Reset_Audiences( $this->user_options );
    208         $this->resource_data_availability_date  = new Resource_Data_Availability_Date( $this->transients, $this->get_settings() );
     208        $this->audience_settings                = new Audience_Settings( $this->options );
     209        $this->resource_data_availability_date  = new Resource_Data_Availability_Date( $this->transients, $this->get_settings(), $this->audience_settings );
    209210    }
    210211
     
    237238        $synchronize_ads_linked->register();
    238239
    239         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    240             $conversion_reporting_provider = new Conversion_Reporting_Provider(
    241                 $this->context,
    242                 $this->settings,
    243                 $this->user_options,
    244                 $this
    245             );
    246             $conversion_reporting_provider->register();
    247         }
    248 
    249         $this->audience_settings = new Audience_Settings( $this->options );
     240        $conversion_reporting_provider = new Conversion_Reporting_Provider(
     241            $this->context,
     242            $this->settings,
     243            $this->user_options,
     244            $this
     245        );
     246        $conversion_reporting_provider->register();
     247
    250248        $this->audience_settings->register();
    251249
     
    265263        add_action( 'template_redirect', array( $this, 'register_tag' ) );
    266264
    267         $this->get_settings()->on_change(
     265        $this->audience_settings->on_change(
    268266            function ( $old_value, $new_value ) {
    269                 // Ensure that the data available state is reset when the property ID or measurement ID changes.
    270                 if ( $old_value['propertyID'] !== $new_value['propertyID'] || $old_value['measurementID'] !== $new_value['measurementID'] ) {
    271                     $this->reset_data_available();
    272                     $this->custom_dimensions_data_available->reset_data_available();
    273 
    274                     $available_audiences = $old_value['availableAudiences'] ?? array();
    275 
    276                     $available_audience_names = array_map(
    277                         function ( $audience ) {
    278                             return $audience['name'];
    279                         },
    280                         $available_audiences
    281                     );
    282 
    283                     $this->resource_data_availability_date->reset_all_resource_dates( $available_audience_names, $old_value['propertyID'] );
    284                 }
    285 
    286267                // Ensure that the resource data availability dates for `availableAudiences` that no longer exist are reset.
    287268                $old_available_audiences = $old_value['availableAudiences'];
     
    307288                        $this->resource_data_availability_date->reset_resource_date( $unavailable_audience_name, Resource_Data_Availability_Date::RESOURCE_TYPE_AUDIENCE );
    308289                    }
     290                }
     291            }
     292        );
     293
     294        $this->get_settings()->on_change(
     295            function ( $old_value, $new_value ) {
     296                // Ensure that the data available state is reset when the property ID or measurement ID changes.
     297                if ( $old_value['propertyID'] !== $new_value['propertyID'] || $old_value['measurementID'] !== $new_value['measurementID'] ) {
     298                    $this->reset_data_available();
     299                    $this->custom_dimensions_data_available->reset_data_available();
     300
     301                    $audience_settings   = $this->audience_settings->get();
     302                    $available_audiences = $audience_settings['availableAudiences'] ?? array();
     303
     304                    $available_audience_names = array_map(
     305                        function ( $audience ) {
     306                            return $audience['name'];
     307                        },
     308                        $available_audiences
     309                    );
     310
     311                    $this->resource_data_availability_date->reset_all_resource_dates( $available_audience_names, $old_value['propertyID'] );
    309312                }
    310313
     
    318321                            'adsLinkedLastSyncedAt'     => 0,
    319322                            'detectedEvents'            => array(),
    320                             'availableAudiencesLastSyncedAt' => 0,
    321323                        )
    322324                    );
     325
     326                    $this->audience_settings->delete();
    323327
    324328                    if ( ! empty( $new_value['propertyID'] ) ) {
    325329                        do_action( Synchronize_AdSenseLinked::CRON_SYNCHRONIZE_ADSENSE_LINKED );
    326330
    327                         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    328                             // Reset event detection and new badge events.
    329                             $this->transients->delete( Conversion_Reporting_Events_Sync::DETECTED_EVENTS_TRANSIENT );
    330                             $this->transients->delete( Conversion_Reporting_Events_Sync::LOST_EVENTS_TRANSIENT );
    331                             $this->transients->delete( Conversion_Reporting_New_Badge_Events_Sync::NEW_EVENTS_BADGE_TRANSIENT );
    332 
    333                             $this->transients->set( Conversion_Reporting_New_Badge_Events_Sync::SKIP_NEW_BADGE_TRANSIENT, 1 );
    334 
    335                             do_action( Conversion_Reporting_Cron::CRON_ACTION );
    336                         }
     331                        // Reset event detection and new badge events.
     332                        $this->transients->delete( Conversion_Reporting_Events_Sync::DETECTED_EVENTS_TRANSIENT );
     333                        $this->transients->delete( Conversion_Reporting_Events_Sync::LOST_EVENTS_TRANSIENT );
     334                        $this->transients->delete( Conversion_Reporting_New_Badge_Events_Sync::NEW_EVENTS_BADGE_TRANSIENT );
     335
     336                        $this->transients->set( Conversion_Reporting_New_Badge_Events_Sync::SKIP_NEW_BADGE_TRANSIENT, 1 );
     337
     338                        do_action( Conversion_Reporting_Cron::CRON_ACTION );
    337339                    }
    338340
     
    351353            function ( $new_value, $old_value ) {
    352354                if ( $new_value['propertyID'] !== $old_value['propertyID'] ) {
    353                     $new_value['availableCustomDimensions']            = null;
    354                     $new_value['availableAudiences']                   = null;
    355                     $new_value['audienceSegmentationSetupCompletedBy'] = null;
     355                    $new_value['availableCustomDimensions'] = null;
    356356                }
    357357
     
    368368        add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_resource_availability_dates_data' ) );
    369369
    370         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    371             add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_conversion_reporting_events_detection' ), 15 );
    372         }
     370        add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_conversion_reporting_events_detection' ), 15 );
    373371
    374372        add_filter(
     
    435433            }
    436434        );
     435
     436        add_filter(
     437            'googlesitekit_ads_measurement_connection_checks',
     438            function ( $checks ) {
     439                $checks[] = array( $this, 'check_ads_measurement_connection' );
     440                return $checks;
     441            },
     442            20
     443        );
     444    }
     445
     446    /**
     447     * Checks if the Analytics 4 module is connected and contributing to Ads measurement.
     448     *
     449     * Verifies connection status and settings to determine if Ads-related configurations
     450     * (AdSense linked or Google Tag Container with AW- destination IDs) exist.
     451     *
     452     * @since 1.151.0
     453     *
     454     * @return bool True if Analytics 4 is connected and configured for Ads measurement; false otherwise.
     455     */
     456    public function check_ads_measurement_connection() {
     457        if ( ! $this->is_connected() ) {
     458            return false;
     459        }
     460        $settings = $this->get_settings()->get();
     461
     462        if ( $settings['adsLinked'] ) {
     463            return true;
     464        }
     465
     466        foreach ( (array) $settings['googleTagContainerDestinationIDs'] as $destination_id ) {
     467            if ( 0 === stripos( $destination_id, 'AW-' ) ) {
     468                return true;
     469            }
     470        }
     471
     472        return false;
    437473    }
    438474
     
    498534        $this->custom_dimensions_data_available->reset_data_available();
    499535        $this->reset_audiences->reset_audience_data();
     536        $this->audience_settings->delete();
    500537    }
    501538
     
    598635
    599636        // Return the SITE_KIT_AUDIENCE audiences.
    600         $site_kit_audiences = $this->get_site_kit_audiences( $settings['availableAudiences'] ?? array() );
     637        $available_audiences = $this->audience_settings->get()['availableAudiences'] ?? array();
     638        $site_kit_audiences  = $this->get_site_kit_audiences( $available_audiences );
    601639
    602640        $debug_fields['analytics_4_site_kit_audiences'] = array(
     
    15071545                }
    15081546
    1509                 if ( isset( $data['audienceSegmentationSetupCompletedBy'] ) && ! is_int( $data['audienceSegmentationSetupCompletedBy'] ) ) {
     1547                $settings = $data['settings'];
     1548
     1549                if (
     1550                    isset( $settings['audienceSegmentationSetupCompletedBy'] ) &&
     1551                    ! is_int( $settings['audienceSegmentationSetupCompletedBy'] )
     1552                ) {
    15101553                    throw new Invalid_Param_Exception( 'audienceSegmentationSetupCompletedBy' );
    15111554                }
    15121555
    1513                 return function () use ( $data ) {
    1514                     if ( isset( $data['audienceSegmentationSetupCompletedBy'] ) ) {
    1515                         $new_settings['audienceSegmentationSetupCompletedBy'] = $data['audienceSegmentationSetupCompletedBy'];
     1556                return function () use ( $settings ) {
     1557                    $new_settings = array();
     1558
     1559                    if ( isset( $settings['audienceSegmentationSetupCompletedBy'] ) ) {
     1560                        $new_settings['audienceSegmentationSetupCompletedBy'] = $settings['audienceSegmentationSetupCompletedBy'];
    15161561                    }
    15171562
     
    25162561        );
    25172562
    2518         $this->get_settings()->merge(
     2563        $this->audience_settings->merge(
    25192564            array(
    25202565                'availableAudiences'             => $available_audiences,
  • google-site-kit/tags/1.151.0/includes/Modules/Analytics_4/Resource_Data_Availability_Date.php

    r3089590 r3278480  
    1212
    1313use Google\Site_Kit\Core\Modules\Module_Settings;
     14use Google\Site_Kit\Core\Storage\Options_Interface;
    1415use Google\Site_Kit\Core\Storage\Transients;
     16use Google\Site_Kit\Core\Util\Feature_Flags;
     17use Google\Site_Kit\Modules\Analytics_4\Audience_Settings;
    1518
    1619/**
     
    5457
    5558    /**
     59     * Options instance.
     60     *
     61     * @since 1.151.0
     62     * @var Audience_Settings
     63     */
     64    protected $audience_settings;
     65
     66    /**
    5667     * Constructor.
    5768     *
    5869     * @since 1.127.0
    5970     *
    60      * @param Transients      $transients Transients instance.
    61      * @param Module_Settings $settings Module settings instance.
    62      */
    63     public function __construct( Transients $transients, Module_Settings $settings ) {
    64         $this->transients = $transients;
    65         $this->settings   = $settings;
     71     * @param Transients        $transients Transients instance.
     72     * @param Module_Settings   $settings Module settings instance.
     73     * @param Audience_Settings $audience_settings Audience_Settings instance.
     74     */
     75    public function __construct( Transients $transients, Module_Settings $settings, Audience_Settings $audience_settings ) {
     76        $this->transients        = $transients;
     77        $this->settings          = $settings;
     78        $this->audience_settings = $audience_settings;
    6679    }
    6780
     
    230243     */
    231244    private function get_available_audience_resource_names() {
    232         $settings            = $this->settings->get();
    233         $available_audiences = $settings['availableAudiences'] ?? array();
     245        $available_audiences = $this->audience_settings->get();
     246        $available_audiences = $available_audiences['availableAudiences'] ?? array();
    234247
    235248        return array_map(
  • google-site-kit/tags/1.151.0/includes/Modules/Analytics_4/Settings.php

    r3261091 r3278480  
    7474            'availableCustomDimensions',
    7575            'adSenseLinked',
    76             'availableAudiences',
    77             'audienceSegmentationSetupCompletedBy',
    7876            'detectedEvents',
    7977            'newConversionEventsLastUpdateAt',
     
    9189    protected function get_default() {
    9290        return array(
    93             'ownerID'                              => 0,
    94             'accountID'                            => '',
    95             'adsConversionID'                      => '',
    96             'propertyID'                           => '',
    97             'webDataStreamID'                      => '',
    98             'measurementID'                        => '',
    99             'trackingDisabled'                     => array( 'loggedinUsers' ),
    100             'useSnippet'                           => true,
    101             'googleTagID'                          => '',
    102             'googleTagAccountID'                   => '',
    103             'googleTagContainerID'                 => '',
    104             'googleTagContainerDestinationIDs'     => null,
    105             'googleTagLastSyncedAtMs'              => 0,
    106             'availableCustomDimensions'            => null,
    107             'propertyCreateTime'                   => 0,
    108             'adSenseLinked'                        => false,
    109             'adSenseLinkedLastSyncedAt'            => 0,
    110             'adsConversionIDMigratedAtMs'          => 0,
    111             'adsLinked'                            => false,
    112             'adsLinkedLastSyncedAt'                => 0,
    113             'availableAudiences'                   => null,
    114             'availableAudiencesLastSyncedAt'       => 0,
    115             'audienceSegmentationSetupCompletedBy' => null,
    116             'detectedEvents'                       => array(),
    117             'newConversionEventsLastUpdateAt'      => 0,
    118             'lostConversionEventsLastUpdateAt'     => 0,
     91            'ownerID'                          => 0,
     92            'accountID'                        => '',
     93            'adsConversionID'                  => '',
     94            'propertyID'                       => '',
     95            'webDataStreamID'                  => '',
     96            'measurementID'                    => '',
     97            'trackingDisabled'                 => array( 'loggedinUsers' ),
     98            'useSnippet'                       => true,
     99            'googleTagID'                      => '',
     100            'googleTagAccountID'               => '',
     101            'googleTagContainerID'             => '',
     102            'googleTagContainerDestinationIDs' => null,
     103            'googleTagLastSyncedAtMs'          => 0,
     104            'availableCustomDimensions'        => null,
     105            'propertyCreateTime'               => 0,
     106            'adSenseLinked'                    => false,
     107            'adSenseLinkedLastSyncedAt'        => 0,
     108            'adsConversionIDMigratedAtMs'      => 0,
     109            'adsLinked'                        => false,
     110            'adsLinkedLastSyncedAt'            => 0,
     111            'detectedEvents'                   => array(),
     112            'newConversionEventsLastUpdateAt'  => 0,
     113            'lostConversionEventsLastUpdateAt' => 0,
    119114        );
    120115    }
     
    203198                }
    204199
    205                 if ( isset( $option['availableAudiences'] ) ) {
    206                     if ( ! is_array( $option['availableAudiences'] ) ) {
    207                         $option['availableAudiences'] = null;
    208                     }
    209                 }
    210 
    211                 if ( isset( $option['availableAudiencesLastSyncedAt'] ) ) {
    212                     if ( ! is_int( $option['availableAudiencesLastSyncedAt'] ) ) {
    213                         $option['availableAudiencesLastSyncedAt'] = 0;
    214                     }
    215                 }
    216 
    217                 if ( isset( $option['audienceSegmentationSetupCompletedBy'] ) ) {
    218                     if ( ! is_int( $option['audienceSegmentationSetupCompletedBy'] ) ) {
    219                         $option['audienceSegmentationSetupCompletedBy'] = null;
    220                     }
    221                 }
    222 
    223200                if ( isset( $option['newConversionEventsLastUpdateAt'] ) ) {
    224201                    if ( ! is_int( $option['newConversionEventsLastUpdateAt'] ) ) {
  • google-site-kit/tags/1.151.0/includes/Modules/Tag_Manager.php

    r3221899 r3278480  
    100100        // Tag Manager tag placement logic.
    101101        add_action( 'template_redirect', array( $this, 'register_tag' ) );
     102
     103        add_filter(
     104            'googlesitekit_ads_measurement_connection_checks',
     105            function ( $checks ) {
     106                $checks[] = array( $this, 'check_ads_measurement_connection' );
     107                return $checks;
     108            },
     109            30
     110        );
     111    }
     112
     113    /**
     114     * Checks if the Tag Manager module is connected and contains an Ads Conversion Tracking (AWCT) tag.
     115     *
     116     * @since 1.151.0
     117     *
     118     * @return bool Whether or not Ads measurement is connected via this module.
     119     */
     120    public function check_ads_measurement_connection() {
     121        if ( ! $this->is_connected() ) {
     122            return false;
     123        }
     124
     125        $settings = $this->get_settings()->get();
     126
     127        $live_containers_versions = $this->get_data(
     128            'live-container-version',
     129            array(
     130                'accountID'           => $settings['accountID'],
     131                'internalContainerID' => $settings['internalContainerID'],
     132            )
     133        );
     134
     135        if ( empty( $live_containers_versions->tag ) ) {
     136            return false;
     137        }
     138
     139        return in_array(
     140            'awct',
     141            array_column( $live_containers_versions->tag, 'type' ),
     142            true
     143        );
    102144    }
    103145
  • google-site-kit/tags/1.151.0/includes/Plugin.php

    r3208808 r3278480  
    221221                ( new Core\Util\Migration_1_123_0( $this->context, $options ) )->register();
    222222                ( new Core\Util\Migration_1_129_0( $this->context, $options ) )->register();
     223                ( new Core\Util\Migration_1_150_0( $this->context, $options ) )->register();
    223224                ( new Core\Dashboard_Sharing\Dashboard_Sharing( $this->context, $user_options ) )->register();
    224225                ( new Core\Key_Metrics\Key_Metrics( $this->context, $user_options, $options ) )->register();
  • google-site-kit/tags/1.151.0/includes/vendor/composer/autoload_classmap.php

    r3253534 r3278480  
    231231    'Google\\Site_Kit\\Core\\Util\\Migration_1_123_0' => $baseDir . '/Core/Util/Migration_1_123_0.php',
    232232    'Google\\Site_Kit\\Core\\Util\\Migration_1_129_0' => $baseDir . '/Core/Util/Migration_1_129_0.php',
     233    'Google\\Site_Kit\\Core\\Util\\Migration_1_150_0' => $baseDir . '/Core/Util/Migration_1_150_0.php',
    233234    'Google\\Site_Kit\\Core\\Util\\Migration_1_3_0' => $baseDir . '/Core/Util/Migration_1_3_0.php',
    234235    'Google\\Site_Kit\\Core\\Util\\Migration_1_8_1' => $baseDir . '/Core/Util/Migration_1_8_1.php',
  • google-site-kit/tags/1.151.0/readme.txt

    r3268141 r3278480  
    55Tested up to:      6.8
    66Requires PHP:      7.4
    7 Stable tag:        1.150.0
     7Stable tag:        1.151.0
    88License:           Apache License 2.0
    99License URI:       https://www.apache.org/licenses/LICENSE-2.0
     
    3737
    3838== Installation ==
     39
    3940**Note**: Make sure that your website is live. If your website isn't live yet, Site Kit can't show you any data.
    4041However, if you have a staging environment in addition to your production site, Site Kit can display data from your production site in the staging environment. Learn how to use [Site Kit with a staging environment](https://sitekit.withgoogle.com/documentation/using-site-kit/staging/).
     
    46473. Install and activate the Site Kit by Google plugin.
    47484. Connect Site Kit to your Google account. If there are multiple WordPress admins, keep in mind that each admin must connect their own Google account in order to access the plugin.
    48 
    4949
    5050= Manual installation =
     
    110110== Changelog ==
    111111
    112 = 1.150.0 =
     112= 1.151.0 =
    113113
    114114**Enhanced**
    115115
    116 * Fix bug that could cause an error when Analytics module is not connected. See [#10564](https://github.com/google/site-kit-wp/issues/10564).
    117 * Improve CTA label in Reader Revenue Manager setup flow. See [#10500](https://github.com/google/site-kit-wp/issues/10500).
    118 * Update PAX SDK package. See [#10493](https://github.com/google/site-kit-wp/issues/10493).
    119 * Improve Reader Revenue Manager debug information visibility in Site Health. See [#10478](https://github.com/google/site-kit-wp/issues/10478).
    120 * Update the "See full details in Ads" link to lead to the campaign deeplink URL. See [#10437](https://github.com/google/site-kit-wp/issues/10437).
    121 * Remove the progress bar on the setup screen when PAX setup is initiated. See [#10427](https://github.com/google/site-kit-wp/issues/10427).
    122 * Persist Ads reminder notification when Google for Woo plugin is installed. See [#10419](https://github.com/google/site-kit-wp/issues/10419).
    123 * Improve Reader Revenue Manager blocks in the WordPress editor for non-Site Kit users. See [#10400](https://github.com/google/site-kit-wp/issues/10400).
    124 * Add GA event tracking for user interaction with the Reader Revenue Manager settings edit screen. See [#10332](https://github.com/google/site-kit-wp/issues/10332).
    125 * Add opt-in GA event tracking for user interaction with the Reader Revenue Manager module setup success notification. See [#10329](https://github.com/google/site-kit-wp/issues/10329).
    126 * Ensure metrics' scroll bar is visible on mobile screens. See [#10163](https://github.com/google/site-kit-wp/issues/10163).
    127 * Merge the `rrmModuleV2` feature flag with the `rrmModule` flag in preparation for the launch of RRM V2. See [#10071](https://github.com/google/site-kit-wp/issues/10071).
    128 * Fix a bug that occurs when setting up Site Kit and clicking on the **Next** button in the final service setup stage multiple times. See [#10037](https://github.com/google/site-kit-wp/issues/10037).
    129 * Prevent multiple admin menu tooltips from appearing at once. See [#10003](https://github.com/google/site-kit-wp/issues/10003).
    130 * Update the module connection notifications to use our new notification infrastructure. See [#9297](https://github.com/google/site-kit-wp/issues/9297).
    131 * Update Enhanced Measurement banner to use new notifications infrastructure. See [#9293](https://github.com/google/site-kit-wp/issues/9293).
     116* Remove old feature tours. See [#10574](https://github.com/google/site-kit-wp/issues/10574).
     117* Remove the `conversionReporting` feature flag. See [#10552](https://github.com/google/site-kit-wp/issues/10552).
     118* Update the WooCommerce modal to deactivate the Google For WooCommerce linked account notification when the user selects to install that plugin. See [#10542](https://github.com/google/site-kit-wp/issues/10542).
     119* Add OverlayCard components to use for overlay notifications. See [#10532](https://github.com/google/site-kit-wp/issues/10532).
     120* Remove the ESLint complexity override from the Reader Revenue Manager `SettingsEdit` component. See [#10363](https://github.com/google/site-kit-wp/issues/10363).
     121* Enhance Ads measurement checks to avoid extra requests on dashboard. See [#10190](https://github.com/google/site-kit-wp/issues/10190).
     122* Limit display of Visitor groups setup success notice to user who set up the feature. See [#10089](https://github.com/google/site-kit-wp/issues/10089).
     123* Improve language intended to direct users to Site Kit settings. Props mxbclang. See [#7756](https://github.com/google/site-kit-wp/issues/7756).
     124
     125**Changed**
     126
     127* Update PAX SDK version to 1.1.4. See [#10614](https://github.com/google/site-kit-wp/issues/10614).
     128* Replace all usage of `deprecatedProvideNotifications` with the updated `provideNotifications` utility and remove the deprecated utility. See [#10465](https://github.com/google/site-kit-wp/issues/10465).
    132129
    133130**Fixed**
    134131
    135 * Fix issue that could cause surveys with multiple-choice answers to skip questions. See [#10581](https://github.com/google/site-kit-wp/issues/10581).
    136 * Ensure that changes to a selected publication's available product IDs are reflected in the Reader Revenue Manager settings screen without needing to wait for the publication to be synchronized. See [#10482](https://github.com/google/site-kit-wp/issues/10482).
    137 * Fix link to Publisher Center in the Reader Revenue Manager publication approved overlay notification. See [#10480](https://github.com/google/site-kit-wp/issues/10480).
    138 * Fix styling of Reader Revenue Manager buttons in the pattern view of the WordPress Block Editor. See [#10479](https://github.com/google/site-kit-wp/issues/10479).
    139 * Update the divider underneath the Reader Revenue Manager Product ID dropdown in the settings screen to align with the design. See [#10477](https://github.com/google/site-kit-wp/issues/10477).
    140 * Fix the incorrect behavior of the "Account Linked" notification of the Ads module. See [#10463](https://github.com/google/site-kit-wp/issues/10463).
    141 * Update the `Using the WooCommerce plugin` modal not to dismiss itself when it is closed by clicking outside of the dialog. See [#10414](https://github.com/google/site-kit-wp/issues/10414).
    142 * Update the Ads setup banner to disable the CTA button if adblocker is detected. See [#10326](https://github.com/google/site-kit-wp/issues/10326).
    143 * Prevent duplicate GA4 settings update requests by limiting Google tag syncs to once per hour. See [#10284](https://github.com/google/site-kit-wp/issues/10284).
    144 * Fix duplicate Google tag settings request issue. See [#10283](https://github.com/google/site-kit-wp/issues/10283).
    145 * Fix Ninja Forms script loading issue when the enhanced conversion tracking is enabled. See [#9381](https://github.com/google/site-kit-wp/issues/9381).
     132* Fix issue where syncing audiences and custom dimensions in parallel could result in the cached audiences not being persisted. See [#8888](https://github.com/google/site-kit-wp/issues/8888).
    146133
    147134[See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).
  • google-site-kit/trunk/dist/assets/js/blocks/reader-revenue-manager/contribute-with-google/block.json

    r3268141 r3278480  
    33    "apiVersion": 2,
    44    "name": "google-site-kit/rrm-contribute-with-google",
    5     "version": "1.150.0",
     5    "version": "1.151.0",
    66    "title": "Contribute with Google",
    77    "category": "widgets",
  • google-site-kit/trunk/dist/assets/js/blocks/reader-revenue-manager/contribute-with-google/index.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=48)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function _next(e){r(a,o,i,_next,c,"next",e)}function c(e){r(a,o,i,_next,c,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),a=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function w(){}function k(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,n(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,o={},a=null,c=null;if(null!=t)for(n in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,R=[];function T(e,t,r,n){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return n(o,t,""===r?"."+L(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+L(c=t[s],s);u+=e(c,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(c=t.next()).done;)u+=e(c=c.value,l=r+L(c,s++),n,o);else if("object"===c)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),M(e,N,t=T(t,i,n,o)),C(t)}var G={current:null};function F(){var e=G.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,q,t=T(null,null,t,r)),C(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=c,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return F().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,r){return F().useReducer(e,t,r)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,u=a(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){c=n(r);for(var f=0;f<c.length;f++)i.call(r,c[f])&&(u[c[f]]=r[c[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),a=r.n(i),c=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(c.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:a.a.node.isRequired,disabled:a.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),g=r(1),b=r(5),_=r(8),w=r(6);function k(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,a=e.noSnippetWithoutModuleAccessNotice,c=Object(v.useState)(void 0),u=d()(c,2),l=u[0],p=u[1],O=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(g.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(g.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var x=Object(g.select)(w.a).getSettings(),E=x.publicationID,A=x.paymentOption,S=x.snippetMode,P=x.postTypes,j="googlesitekit_rrm_".concat(E,":productID"),R=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,a=e.postTypes,c=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:k(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!a.includes(c)?{disabled:!0,notice:k(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:A,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(b.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[j])||""})),snippetMode:S,postTypes:P,postType:Object(m.useSelect)((function(e){return e(b.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:a}),T=R.notice,C=R.disabled;return React.createElement(v.Fragment,null,T&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},T))),React.createElement("div",O,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:a.a.string.isRequired,requiredPaymentOption:a.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:a.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:a.a.node.isRequired,noSnippetWithModuleAccessNotice:a.a.node.isRequired,noSnippetWithoutModuleAccessNotice:a.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return b()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=h(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(g([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function g(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=g,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:g(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/user";[].concat(["kmAnalyticsAdSenseTopEarningContent","kmAnalyticsEngagedTrafficSource","kmAnalyticsLeastEngagingPages","kmAnalyticsNewVisitors","kmAnalyticsPopularAuthors","kmAnalyticsPopularContent","kmAnalyticsPopularProducts","kmAnalyticsReturningVisitors","kmAnalyticsTopCategories","kmAnalyticsTopCities","kmAnalyticsTopCitiesDrivingLeads","kmAnalyticsTopCitiesDrivingAddToCart","kmAnalyticsTopCitiesDrivingPurchases","kmAnalyticsTopDeviceDrivingPurchases","kmAnalyticsTopConvertingTrafficSource","kmAnalyticsTopCountries","kmAnalyticsTopRecentTrendingPages","kmAnalyticsTopTrafficSource","kmAnalyticsTopTrafficSourceDrivingAddToCart","kmAnalyticsPagesPerVisit","kmAnalyticsVisitLength","kmAnalyticsTopReturningVisitorPages","kmAnalyticsVisitsPerVisitor","kmAnalyticsMostEngagingPages","kmAnalyticsTopCategories"],["kmSearchConsolePopularKeywords"])},function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-contribute-with-google","version":"1.150.0","title":"Contribute with Google","category":"widgets","icon":"google","description":"Allow users to make voluntary contributions using Reader Revenue Manager.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),i=r(12),a=r.n(i),c=r(16),u=r(1),s=r(8),l=r(27),f=r(6),p=r(5),d=r(9),y=r(4),h=r(3),v=r(20);function Edit(){var e=Object(u.select)(f.a).getPublicationID(),t=Object(u.select)(f.a).getServiceURL({path:"reader-revenue-manager",query:{publication:e}});return React.createElement(v.a,{buttonLabel:
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=48)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function _next(e){r(a,o,i,_next,c,"next",e)}function c(e){r(a,o,i,_next,c,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),a=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function w(){}function k(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,n(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,o={},a=null,c=null;if(null!=t)for(n in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,R=[];function T(e,t,r,n){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return n(o,t,""===r?"."+L(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+L(c=t[s],s);u+=e(c,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(c=t.next()).done;)u+=e(c=c.value,l=r+L(c,s++),n,o);else if("object"===c)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),M(e,N,t=T(t,i,n,o)),C(t)}var G={current:null};function F(){var e=G.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,q,t=T(null,null,t,r)),C(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=c,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return F().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,r){return F().useReducer(e,t,r)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,u=a(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){c=n(r);for(var f=0;f<c.length;f++)i.call(r,c[f])&&(u[c[f]]=r[c[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),a=r.n(i),c=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(c.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:a.a.node.isRequired,disabled:a.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),g=r(1),b=r(5),_=r(8),w=r(6);function k(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,a=e.noSnippetWithoutModuleAccessNotice,c=Object(v.useState)(void 0),u=d()(c,2),l=u[0],p=u[1],O=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(g.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(g.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var x=Object(g.select)(w.a).getSettings(),E=x.publicationID,A=x.paymentOption,S=x.snippetMode,P=x.postTypes,j="googlesitekit_rrm_".concat(E,":productID"),R=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,a=e.postTypes,c=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:k(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!a.includes(c)?{disabled:!0,notice:k(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:A,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(b.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[j])||""})),snippetMode:S,postTypes:P,postType:Object(m.useSelect)((function(e){return e(b.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:a}),T=R.notice,C=R.disabled;return React.createElement(v.Fragment,null,T&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},T))),React.createElement("div",O,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:a.a.string.isRequired,requiredPaymentOption:a.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:a.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:a.a.node.isRequired,noSnippetWithModuleAccessNotice:a.a.node.isRequired,noSnippetWithoutModuleAccessNotice:a.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return b()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=h(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(g([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function g(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=g,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:g(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/user";[].concat(["kmAnalyticsAdSenseTopEarningContent","kmAnalyticsEngagedTrafficSource","kmAnalyticsLeastEngagingPages","kmAnalyticsNewVisitors","kmAnalyticsPopularAuthors","kmAnalyticsPopularContent","kmAnalyticsPopularProducts","kmAnalyticsReturningVisitors","kmAnalyticsTopCategories","kmAnalyticsTopCities","kmAnalyticsTopCitiesDrivingLeads","kmAnalyticsTopCitiesDrivingAddToCart","kmAnalyticsTopCitiesDrivingPurchases","kmAnalyticsTopDeviceDrivingPurchases","kmAnalyticsTopConvertingTrafficSource","kmAnalyticsTopCountries","kmAnalyticsTopRecentTrendingPages","kmAnalyticsTopTrafficSource","kmAnalyticsTopTrafficSourceDrivingAddToCart","kmAnalyticsPagesPerVisit","kmAnalyticsVisitLength","kmAnalyticsTopReturningVisitorPages","kmAnalyticsVisitsPerVisitor","kmAnalyticsMostEngagingPages","kmAnalyticsTopCategories"],["kmSearchConsolePopularKeywords"])},function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-contribute-with-google","version":"1.151.0","title":"Contribute with Google","category":"widgets","icon":"google","description":"Allow users to make voluntary contributions using Reader Revenue Manager.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),i=r(12),a=r.n(i),c=r(16),u=r(1),s=r(8),l=r(27),f=r(6),p=r(5),d=r(9),y=r(4),h=r(3),v=r(20);function Edit(){var e=Object(u.select)(f.a).getPublicationID(),t=Object(u.select)(f.a).getServiceURL({path:"reader-revenue-manager",query:{publication:e}});return React.createElement(v.a,{buttonLabel:
    22/* translators: Button label for Contribute with Google. See: https://github.com/subscriptions-project/swg-js/blob/05af2d45cfcaf831a6b4d35c28f2c7b5c2e39308/src/i18n/swg-strings.ts#L58-L91 (please refer to the latest version of the file) */
    33Object(h.__)("Contribute with Google","google-site-kit"),requiredPaymentOption:"contributions",invalidPaymentOptionWithModuleAccessNotice:Object(y.createInterpolateElement)(Object(h.__)("You need to set up a contributions request in Reader Revenue Manager to use this block. <a>Go to Reader Revenue Manager</a>","google-site-kit"),{a:React.createElement(d.ExternalLink,{href:t})}),invalidPaymentOptionWithoutModuleAccessNotice:Object(h.__)("You need to set up a contributions request in Reader Revenue Manager to use this block. Contact your administrator.","google-site-kit"),noSnippetWithModuleAccessNotice:Object(y.createInterpolateElement)(Object(h.__)("This post does not include the Reader Revenue Manager snippet. Configure the snippet for this post in the post settings sidebar.","google-site-kit"),{a:React.createElement(d.ExternalLink,{href:t})}),noSnippetWithoutModuleAccessNotice:Object(h.__)("This post does not include the Reader Revenue Manager snippet. Contact your administrator","google-site-kit")})}var m=r(30);function g(){return(g=a()(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(u.resolveSelect)(s.a).getModule("reader-revenue-manager"),Object(u.resolveSelect)(l.a).getUser(),Object(u.resolveSelect)(f.a).getSettings()]);case 2:t=!!Object(u.select)(p.b),Object(c.registerBlockType)(m.name,{edit:function(){return t?null:React.createElement(Edit,null)},supports:{inserter:!t}});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){g.apply(this,arguments)}()}]);
  • google-site-kit/trunk/dist/assets/js/blocks/reader-revenue-manager/contribute-with-google/non-site-kit-user.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=42)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function _next(e){r(c,o,i,_next,a,"next",e)}function a(e){r(c,o,i,_next,a,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),c=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||c()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function w(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var x=O.prototype=new w;x.constructor=O,n(x,_.prototype),x.isPureReactComponent=!0;var k={current:null},E=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},c=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)E.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:c,ref:a,props:o,_owner:k.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,A=[];function N(e,t,r,n){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function L(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case c:u=!0}}if(u)return n(o,t,""===r?"."+M(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+M(a=t[s],s);u+=e(a,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(a=t.next()).done;)u+=e(a=a.value,l=r+M(a,s++),n,o);else if("object"===a)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),L(e,T,t=N(t,i,n,o)),C(t)}var F={current:null};function G(){var e=F.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;L(e,q,t=N(null,null,t,r)),C(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=a,t.Profiler=s,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),c=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=k.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:c,ref:a,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return G().useCallback(e,t)},t.useContext=function(e,t){return G().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return G().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return G().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return G().useLayoutEffect(e,t)},t.useMemo=function(e,t){return G().useMemo(e,t)},t.useReducer=function(e,t,r){return G().useReducer(e,t,r)},t.useRef=function(e){return G().useRef(e)},t.useState=function(e){return G().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,u=c(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){a=n(r);for(var f=0;f<a.length;f++)i.call(r,a[f])&&(u[a[f]]=r[a[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&e.push(c)}else if("object"===i)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),c=r.n(i),a=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(a.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:c.a.node.isRequired,disabled:c.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),b=r(1),g=r(5),_=r(8),w=r(6);function O(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,c=e.noSnippetWithoutModuleAccessNotice,a=Object(v.useState)(void 0),u=d()(a,2),l=u[0],p=u[1],x=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(b.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(b.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var k=Object(b.select)(w.a).getSettings(),E=k.publicationID,S=k.paymentOption,j=k.snippetMode,P=k.postTypes,R="googlesitekit_rrm_".concat(E,":productID"),A=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,c=e.postTypes,a=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:O(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!c.includes(a)?{disabled:!0,notice:O(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:S,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(g.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[R])||""})),snippetMode:j,postTypes:P,postType:Object(m.useSelect)((function(e){return e(g.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:c}),N=A.notice,C=A.disabled;return React.createElement(v.Fragment,null,N&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},N))),React.createElement("div",x,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:c.a.string.isRequired,requiredPaymentOption:c.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:c.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:c.a.node.isRequired,noSnippetWithModuleAccessNotice:c.a.node.isRequired,noSnippetWithoutModuleAccessNotice:c.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),c=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return g()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=h(c,r);if(a){if(a===s)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,c),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(b([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function c(){return new t((function(n,c){!function n(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,a)}))}a(s.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function b(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[c]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new AsyncIterator(a(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},y(d),d[c]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=b,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return c.type="throw",c.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},,function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,c){if(c!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-contribute-with-google","version":"1.150.0","title":"Contribute with Google","category":"widgets","icon":"google","description":"Allow users to make voluntary contributions using Reader Revenue Manager.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n,o=r(16),i=r(10),c=r(9),a=r(4),u=r(11),s=r(3),l=r(5),f=r(20),p=r(30);function Edit(){var e=Object(i.useBlockProps)();return React.createElement(a.Fragment,null,React.createElement(i.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(c.Notice,{status:"warning",isDismissible:!1},Object(s.__)("This block can only be configured by Site Kit users. Please contact your administrator.","google-site-kit")))),React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(f.b,{disabled:!0},
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=42)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function _next(e){r(c,o,i,_next,a,"next",e)}function a(e){r(c,o,i,_next,a,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),c=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||c()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function w(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var x=O.prototype=new w;x.constructor=O,n(x,_.prototype),x.isPureReactComponent=!0;var k={current:null},E=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},c=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)E.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:c,ref:a,props:o,_owner:k.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,A=[];function N(e,t,r,n){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function L(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case c:u=!0}}if(u)return n(o,t,""===r?"."+M(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+M(a=t[s],s);u+=e(a,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(a=t.next()).done;)u+=e(a=a.value,l=r+M(a,s++),n,o);else if("object"===a)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),L(e,T,t=N(t,i,n,o)),C(t)}var F={current:null};function G(){var e=F.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;L(e,q,t=N(null,null,t,r)),C(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=a,t.Profiler=s,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),c=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=k.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:c,ref:a,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return G().useCallback(e,t)},t.useContext=function(e,t){return G().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return G().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return G().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return G().useLayoutEffect(e,t)},t.useMemo=function(e,t){return G().useMemo(e,t)},t.useReducer=function(e,t,r){return G().useReducer(e,t,r)},t.useRef=function(e){return G().useRef(e)},t.useState=function(e){return G().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,u=c(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){a=n(r);for(var f=0;f<a.length;f++)i.call(r,a[f])&&(u[a[f]]=r[a[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&e.push(c)}else if("object"===i)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),c=r.n(i),a=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(a.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:c.a.node.isRequired,disabled:c.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),b=r(1),g=r(5),_=r(8),w=r(6);function O(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,c=e.noSnippetWithoutModuleAccessNotice,a=Object(v.useState)(void 0),u=d()(a,2),l=u[0],p=u[1],x=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(b.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(b.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var k=Object(b.select)(w.a).getSettings(),E=k.publicationID,S=k.paymentOption,j=k.snippetMode,P=k.postTypes,R="googlesitekit_rrm_".concat(E,":productID"),A=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,c=e.postTypes,a=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:O(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!c.includes(a)?{disabled:!0,notice:O(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:S,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(g.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[R])||""})),snippetMode:j,postTypes:P,postType:Object(m.useSelect)((function(e){return e(g.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:c}),N=A.notice,C=A.disabled;return React.createElement(v.Fragment,null,N&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},N))),React.createElement("div",x,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:c.a.string.isRequired,requiredPaymentOption:c.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:c.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:c.a.node.isRequired,noSnippetWithModuleAccessNotice:c.a.node.isRequired,noSnippetWithoutModuleAccessNotice:c.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),c=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return g()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=h(c,r);if(a){if(a===s)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,c),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(b([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function c(){return new t((function(n,c){!function n(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,a)}))}a(s.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function b(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[c]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new AsyncIterator(a(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},y(d),d[c]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=b,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return c.type="throw",c.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},,function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,c){if(c!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-contribute-with-google","version":"1.151.0","title":"Contribute with Google","category":"widgets","icon":"google","description":"Allow users to make voluntary contributions using Reader Revenue Manager.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n,o=r(16),i=r(10),c=r(9),a=r(4),u=r(11),s=r(3),l=r(5),f=r(20),p=r(30);function Edit(){var e=Object(i.useBlockProps)();return React.createElement(a.Fragment,null,React.createElement(i.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(c.Notice,{status:"warning",isDismissible:!1},Object(s.__)("This block can only be configured by Site Kit users. Please contact your administrator.","google-site-kit")))),React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(f.b,{disabled:!0},
    22/* translators: Button label for Contribute with Google. See: https://github.com/subscriptions-project/swg-js/blob/05af2d45cfcaf831a6b4d35c28f2c7b5c2e39308/src/i18n/swg-strings.ts#L58-L91 (please refer to the latest version of the file) */
    33Object(s.__)("Contribute with Google","google-site-kit")))))}n=!!Object(u.select)(l.b),Object(o.registerBlockType)(p.name,{edit:function(){return n?null:React.createElement(Edit,null)},supports:{inserter:!n}})}]);
  • google-site-kit/trunk/dist/assets/js/blocks/reader-revenue-manager/subscribe-with-google/block.json

    r3268141 r3278480  
    33    "apiVersion": 2,
    44    "name": "google-site-kit/rrm-subscribe-with-google",
    5     "version": "1.150.0",
     5    "version": "1.151.0",
    66    "title": "Subscribe with Google",
    77    "category": "widgets",
  • google-site-kit/trunk/dist/assets/js/blocks/reader-revenue-manager/subscribe-with-google/index.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=49)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function _next(e){r(a,o,i,_next,c,"next",e)}function c(e){r(a,o,i,_next,c,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),a=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function w(){}function k(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,n(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,o={},a=null,c=null;if(null!=t)for(n in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,R=[];function T(e,t,r,n){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return n(o,t,""===r?"."+L(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+L(c=t[s],s);u+=e(c,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(c=t.next()).done;)u+=e(c=c.value,l=r+L(c,s++),n,o);else if("object"===c)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function N(e,t){e.func.call(e.context,t,e.count++)}function q(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),M(e,q,t=T(t,i,n,o)),C(t)}var G={current:null};function F(){var e=G.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,N,t=T(null,null,t,r)),C(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=c,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return F().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,r){return F().useReducer(e,t,r)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,u=a(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){c=n(r);for(var f=0;f<c.length;f++)i.call(r,c[f])&&(u[c[f]]=r[c[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),a=r.n(i),c=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(c.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:a.a.node.isRequired,disabled:a.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),g=r(1),b=r(5),_=r(8),w=r(6);function k(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,a=e.noSnippetWithoutModuleAccessNotice,c=Object(v.useState)(void 0),u=d()(c,2),l=u[0],p=u[1],O=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(g.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(g.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var x=Object(g.select)(w.a).getSettings(),E=x.publicationID,A=x.paymentOption,S=x.snippetMode,P=x.postTypes,j="googlesitekit_rrm_".concat(E,":productID"),R=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,a=e.postTypes,c=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:k(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!a.includes(c)?{disabled:!0,notice:k(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:A,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(b.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[j])||""})),snippetMode:S,postTypes:P,postType:Object(m.useSelect)((function(e){return e(b.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:a}),T=R.notice,C=R.disabled;return React.createElement(v.Fragment,null,T&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},T))),React.createElement("div",O,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:a.a.string.isRequired,requiredPaymentOption:a.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:a.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:a.a.node.isRequired,noSnippetWithModuleAccessNotice:a.a.node.isRequired,noSnippetWithoutModuleAccessNotice:a.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return b()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=h(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(g([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function g(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=g,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:g(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/user";[].concat(["kmAnalyticsAdSenseTopEarningContent","kmAnalyticsEngagedTrafficSource","kmAnalyticsLeastEngagingPages","kmAnalyticsNewVisitors","kmAnalyticsPopularAuthors","kmAnalyticsPopularContent","kmAnalyticsPopularProducts","kmAnalyticsReturningVisitors","kmAnalyticsTopCategories","kmAnalyticsTopCities","kmAnalyticsTopCitiesDrivingLeads","kmAnalyticsTopCitiesDrivingAddToCart","kmAnalyticsTopCitiesDrivingPurchases","kmAnalyticsTopDeviceDrivingPurchases","kmAnalyticsTopConvertingTrafficSource","kmAnalyticsTopCountries","kmAnalyticsTopRecentTrendingPages","kmAnalyticsTopTrafficSource","kmAnalyticsTopTrafficSourceDrivingAddToCart","kmAnalyticsPagesPerVisit","kmAnalyticsVisitLength","kmAnalyticsTopReturningVisitorPages","kmAnalyticsVisitsPerVisitor","kmAnalyticsMostEngagingPages","kmAnalyticsTopCategories"],["kmSearchConsolePopularKeywords"])},function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-subscribe-with-google","version":"1.150.0","title":"Subscribe with Google","category":"widgets","icon":"google","description":"Allow users to subscribe using Reader Revenue Manager to access content behind a paywall.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),i=r(12),a=r.n(i),c=r(16),u=r(1),s=r(8),l=r(27),f=r(6),p=r(5),d=r(9),y=r(4),h=r(3),v=r(20);function Edit(){var e=Object(u.select)(f.a).getPublicationID(),t=Object(u.select)(f.a).getServiceURL({path:"reader-revenue-manager",query:{publication:e}});return React.createElement(v.a,{select:u.select,buttonLabel:
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=49)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function _next(e){r(a,o,i,_next,c,"next",e)}function c(e){r(a,o,i,_next,c,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),a=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function w(){}function k(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,n(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,o={},a=null,c=null;if(null!=t)for(n in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,R=[];function T(e,t,r,n){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return n(o,t,""===r?"."+L(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+L(c=t[s],s);u+=e(c,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(c=t.next()).done;)u+=e(c=c.value,l=r+L(c,s++),n,o);else if("object"===c)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function N(e,t){e.func.call(e.context,t,e.count++)}function q(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),M(e,q,t=T(t,i,n,o)),C(t)}var G={current:null};function F(){var e=G.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,N,t=T(null,null,t,r)),C(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=c,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return F().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,r){return F().useReducer(e,t,r)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,u=a(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){c=n(r);for(var f=0;f<c.length;f++)i.call(r,c[f])&&(u[c[f]]=r[c[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),a=r.n(i),c=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(c.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:a.a.node.isRequired,disabled:a.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),g=r(1),b=r(5),_=r(8),w=r(6);function k(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,a=e.noSnippetWithoutModuleAccessNotice,c=Object(v.useState)(void 0),u=d()(c,2),l=u[0],p=u[1],O=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(g.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(g.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var x=Object(g.select)(w.a).getSettings(),E=x.publicationID,A=x.paymentOption,S=x.snippetMode,P=x.postTypes,j="googlesitekit_rrm_".concat(E,":productID"),R=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,a=e.postTypes,c=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:k(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!a.includes(c)?{disabled:!0,notice:k(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:A,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(b.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[j])||""})),snippetMode:S,postTypes:P,postType:Object(m.useSelect)((function(e){return e(b.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:a}),T=R.notice,C=R.disabled;return React.createElement(v.Fragment,null,T&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},T))),React.createElement("div",O,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:C},t))))}ButtonEdit.propTypes={buttonLabel:a.a.string.isRequired,requiredPaymentOption:a.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:a.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:a.a.node.isRequired,noSnippetWithModuleAccessNotice:a.a.node.isRequired,noSnippetWithoutModuleAccessNotice:a.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return b()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=h(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(g([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function g(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:b}}function b(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(d),d[a]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=g,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:g(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/user";[].concat(["kmAnalyticsAdSenseTopEarningContent","kmAnalyticsEngagedTrafficSource","kmAnalyticsLeastEngagingPages","kmAnalyticsNewVisitors","kmAnalyticsPopularAuthors","kmAnalyticsPopularContent","kmAnalyticsPopularProducts","kmAnalyticsReturningVisitors","kmAnalyticsTopCategories","kmAnalyticsTopCities","kmAnalyticsTopCitiesDrivingLeads","kmAnalyticsTopCitiesDrivingAddToCart","kmAnalyticsTopCitiesDrivingPurchases","kmAnalyticsTopDeviceDrivingPurchases","kmAnalyticsTopConvertingTrafficSource","kmAnalyticsTopCountries","kmAnalyticsTopRecentTrendingPages","kmAnalyticsTopTrafficSource","kmAnalyticsTopTrafficSourceDrivingAddToCart","kmAnalyticsPagesPerVisit","kmAnalyticsVisitLength","kmAnalyticsTopReturningVisitorPages","kmAnalyticsVisitsPerVisitor","kmAnalyticsMostEngagingPages","kmAnalyticsTopCategories"],["kmSearchConsolePopularKeywords"])},function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-subscribe-with-google","version":"1.151.0","title":"Subscribe with Google","category":"widgets","icon":"google","description":"Allow users to subscribe using Reader Revenue Manager to access content behind a paywall.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),i=r(12),a=r.n(i),c=r(16),u=r(1),s=r(8),l=r(27),f=r(6),p=r(5),d=r(9),y=r(4),h=r(3),v=r(20);function Edit(){var e=Object(u.select)(f.a).getPublicationID(),t=Object(u.select)(f.a).getServiceURL({path:"reader-revenue-manager",query:{publication:e}});return React.createElement(v.a,{select:u.select,buttonLabel:
    22/* translators: Button label for Subscribe with Google. See: https://github.com/subscriptions-project/swg-js/blob/05af2d45cfcaf831a6b4d35c28f2c7b5c2e39308/src/i18n/swg-strings.ts#L24-L57 (please refer to the latest version of the file) */
    33Object(h.__)("Subscribe with Google","google-site-kit"),requiredPaymentOption:"subscriptions",invalidPaymentOptionWithModuleAccessNotice:Object(y.createInterpolateElement)(Object(h.__)("You need to set up a paywall in Reader Revenue Manager to use this block. <a>Go to Reader Revenue Manager</a>","google-site-kit"),{a:React.createElement(d.ExternalLink,{href:t})}),invalidPaymentOptionWithoutModuleAccessNotice:Object(h.__)("You need to set up a paywall in Reader Revenue Manager to use this block. Contact your administrator.","google-site-kit"),noSnippetWithModuleAccessNotice:Object(y.createInterpolateElement)(Object(h.__)("This post does not include the Reader Revenue Manager snippet. Configure the snippet for this post in the post settings sidebar.","google-site-kit"),{a:React.createElement(d.ExternalLink,{href:t})}),noSnippetWithoutModuleAccessNotice:Object(h.__)("This post does not include the Reader Revenue Manager snippet. Contact your administrator","google-site-kit")})}var m=r(31);function g(){return(g=a()(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(u.resolveSelect)(s.a).getModule("reader-revenue-manager"),Object(u.resolveSelect)(l.a).getUser(),Object(u.resolveSelect)(f.a).getSettings()]);case 2:t=!!Object(u.select)(p.b),Object(c.registerBlockType)(m.name,{edit:function(){return t?null:React.createElement(Edit,null)},supports:{inserter:!t}});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){g.apply(this,arguments)}()}]);
  • google-site-kit/trunk/dist/assets/js/blocks/reader-revenue-manager/subscribe-with-google/non-site-kit-user.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=43)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function _next(e){r(c,o,i,_next,a,"next",e)}function a(e){r(c,o,i,_next,a,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),c=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||c()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function w(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var x=O.prototype=new w;x.constructor=O,n(x,_.prototype),x.isPureReactComponent=!0;var E={current:null},k=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},c=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)k.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:c,ref:a,props:o,_owner:E.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,A=[];function N(e,t,r,n){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case c:u=!0}}if(u)return n(o,t,""===r?"."+q(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+q(a=t[s],s);u+=e(a,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(a=t.next()).done;)u+=e(a=a.value,l=r+q(a,s++),n,o);else if("object"===a)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function C(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),M(e,T,t=N(t,i,n,o)),L(t)}var F={current:null};function G(){var e=F.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,C,t=N(null,null,t,r)),L(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=a,t.Profiler=s,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),c=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=E.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)k.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:c,ref:a,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return G().useCallback(e,t)},t.useContext=function(e,t){return G().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return G().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return G().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return G().useLayoutEffect(e,t)},t.useMemo=function(e,t){return G().useMemo(e,t)},t.useReducer=function(e,t,r){return G().useReducer(e,t,r)},t.useRef=function(e){return G().useRef(e)},t.useState=function(e){return G().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,u=c(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){a=n(r);for(var f=0;f<a.length;f++)i.call(r,a[f])&&(u[a[f]]=r[a[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&e.push(c)}else if("object"===i)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),c=r.n(i),a=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(a.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:c.a.node.isRequired,disabled:c.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),b=r(1),g=r(5),_=r(8),w=r(6);function O(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,c=e.noSnippetWithoutModuleAccessNotice,a=Object(v.useState)(void 0),u=d()(a,2),l=u[0],p=u[1],x=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(b.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(b.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var E=Object(b.select)(w.a).getSettings(),k=E.publicationID,S=E.paymentOption,j=E.snippetMode,P=E.postTypes,R="googlesitekit_rrm_".concat(k,":productID"),A=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,c=e.postTypes,a=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:O(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!c.includes(a)?{disabled:!0,notice:O(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:S,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(g.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[R])||""})),snippetMode:j,postTypes:P,postType:Object(m.useSelect)((function(e){return e(g.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:c}),N=A.notice,L=A.disabled;return React.createElement(v.Fragment,null,N&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},N))),React.createElement("div",x,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:L},t))))}ButtonEdit.propTypes={buttonLabel:c.a.string.isRequired,requiredPaymentOption:c.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:c.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:c.a.node.isRequired,noSnippetWithModuleAccessNotice:c.a.node.isRequired,noSnippetWithoutModuleAccessNotice:c.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),c=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return g()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=h(c,r);if(a){if(a===s)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,c),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(b([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function c(){return new t((function(n,c){!function n(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,a)}))}a(s.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function b(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[c]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new AsyncIterator(a(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},y(d),d[c]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=b,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return c.type="throw",c.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},,function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,c){if(c!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-subscribe-with-google","version":"1.150.0","title":"Subscribe with Google","category":"widgets","icon":"google","description":"Allow users to subscribe using Reader Revenue Manager to access content behind a paywall.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n,o=r(16),i=r(10),c=r(9),a=r(4),u=r(11),s=r(3),l=r(5),f=r(20),p=r(31);function Edit(){var e=Object(i.useBlockProps)();return React.createElement(a.Fragment,null,React.createElement(i.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(c.Notice,{status:"warning",isDismissible:!1},Object(s.__)("This block can only be configured by Site Kit users. Please contact your administrator.","google-site-kit")))),React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(f.b,{disabled:!0},
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=43)}([function(e,t,r){"use strict";e.exports=r(17)},function(e,t){e.exports=googlesitekit.data},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=wp.element},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/editor",o="core/edit-site"},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="modules/reader-revenue-manager"},function(e,t,r){e.exports=r(23)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/modules"},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.data},function(e,t){function r(e,t,r,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function _next(e){r(c,o,i,_next,a,"next",e)}function a(e){r(c,o,i,_next,a,"throw",e)}_next(void 0)}))}}},,function(e,t,r){"use strict";var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),n.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),n.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),n.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return n.createElement("svg",o({viewBox:"0 0 43 44"},e),i)}},function(e,t,r){var n=r(24),o=r(25),i=r(22),c=r(26);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||c()}},function(e,t){e.exports=wp.blocks},function(e,t,r){"use strict";var n=r(18),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function w(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var x=O.prototype=new w;x.constructor=O,n(x,_.prototype),x.isPureReactComponent=!0;var E={current:null},k=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},c=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)k.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:c,ref:a,props:o,_owner:E.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,A=[];function N(e,t,r,n){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case c:u=!0}}if(u)return n(o,t,""===r?"."+q(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=r+q(a=t[s],s);u+=e(a,l,n,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(a=t.next()).done;)u+=e(a=a.value,l=r+q(a,s++),n,o);else if("object"===a)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function C(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,n,r,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function I(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),M(e,T,t=N(t,i,n,o)),L(t)}var F={current:null};function G(){var e=F.current;if(null===e)throw Error(m(321));return e}var $={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return I(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,C,t=N(null,null,t,r)),L(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(m(143));return e}},t.Component=_,t.Fragment=a,t.Profiler=s,t.PureComponent=O,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.cloneElement=function(e,t,r){if(null==e)throw Error(m(267,e));var o=n({},e.props),c=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=E.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)k.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:c,ref:a,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return G().useCallback(e,t)},t.useContext=function(e,t){return G().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return G().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return G().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return G().useLayoutEffect(e,t)},t.useMemo=function(e,t){return G().useMemo(e,t)},t.useReducer=function(e,t,r){return G().useReducer(e,t,r)},t.useRef=function(e){return G().useRef(e)},t.useState=function(e){return G().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,u=c(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(u[l]=r[l]);if(n){a=n(r);for(var f=0;f<a.length;f++)i.call(r,a[f])&&(u[a[f]]=r[a[f]])}}return u}},function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&e.push(c)}else if("object"===i)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return EditorButton})),r.d(t,"a",(function(){return ButtonEdit}));var n=r(19),o=r.n(n),i=r(2),c=r.n(i),a=r(14);function EditorButton(e){var t=e.children,r=e.disabled;return React.createElement("button",{disabled:r,className:o()("googlesitekit-blocks-reader-revenue-manager-button",{"googlesitekit-blocks-reader-revenue-manager-button--disabled":r})},React.createElement(a.a,{height:"18",width:"18"}),t)}EditorButton.propTypes={children:c.a.node.isRequired,disabled:c.a.bool.isRequired};var u=r(7),s=r.n(u),l=r(12),f=r.n(l),p=r(15),d=r.n(p),y=r(10),h=r(9),v=r(4),m=r(11),b=r(1),g=r(5),_=r(8),w=r(6);function O(e,t,r){return void 0===e?null:e?t:r}function ButtonEdit(e){var t=e.buttonLabel,r=e.requiredPaymentOption,n=e.invalidPaymentOptionWithModuleAccessNotice,o=e.invalidPaymentOptionWithoutModuleAccessNotice,i=e.noSnippetWithModuleAccessNotice,c=e.noSnippetWithoutModuleAccessNotice,a=Object(v.useState)(void 0),u=d()(a,2),l=u[0],p=u[1],x=Object(y.useBlockProps)();Object(v.useEffect)((function(){function e(){return(e=f()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==(t=Object(b.select)(_.a).hasModuleOwnership("reader-revenue-manager"))){e.next=5;break}return e.next=4,Object(b.resolveSelect)(_.a).hasModuleAccess("reader-revenue-manager");case 4:t=e.sent;case 5:p(!!t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var E=Object(b.select)(w.a).getSettings(),k=E.publicationID,S=E.paymentOption,j=E.snippetMode,P=E.postTypes,R="googlesitekit_rrm_".concat(k,":productID"),A=function(e){var t=e.paymentOption,r=e.requiredPaymentOption,n=e.hasModuleAccess,o=e.postProductID,i=e.snippetMode,c=e.postTypes,a=e.postType,u=e.invalidPaymentOptionWithModuleAccessNotice,s=e.invalidPaymentOptionWithoutModuleAccessNotice,l=e.noSnippetWithModuleAccessNotice,f=e.noSnippetWithoutModuleAccessNotice;return t!==r?{disabled:!0,notice:O(n,u,s)}:"none"===o||!o&&"per_post"===i||!o&&"post_types"===i&&!c.includes(a)?{disabled:!0,notice:O(n,l,f)}:{disabled:!1,notice:null}}({paymentOption:S,requiredPaymentOption:r,hasModuleAccess:l,postProductID:Object(m.useSelect)((function(e){var t;return(null===(t=e(g.a).getEditedPostAttribute("meta"))||void 0===t?void 0:t[R])||""})),snippetMode:j,postTypes:P,postType:Object(m.useSelect)((function(e){return e(g.a).getCurrentPostType()})),invalidPaymentOptionWithModuleAccessNotice:n,invalidPaymentOptionWithoutModuleAccessNotice:o,noSnippetWithModuleAccessNotice:i,noSnippetWithoutModuleAccessNotice:c}),N=A.notice,L=A.disabled;return React.createElement(v.Fragment,null,N&&React.createElement(y.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(h.Notice,{status:"warning",isDismissible:!1},N))),React.createElement("div",x,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(EditorButton,{disabled:L},t))))}ButtonEdit.propTypes={buttonLabel:c.a.string.isRequired,requiredPaymentOption:c.a.string.isRequired,invalidPaymentOptionWithModuleAccessNotice:c.a.node.isRequired,invalidPaymentOptionWithoutModuleAccessNotice:c.a.node.isRequired,noSnippetWithModuleAccessNotice:c.a.node.isRequired,noSnippetWithoutModuleAccessNotice:c.a.node.isRequired}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),c=new Context(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return g()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=h(c,r);if(a){if(a===s)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,c),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};l[o]=function(){return this};var f=Object.getPrototypeOf,p=f&&f(f(b([])));p&&p!==t&&r.call(p,o)&&(l=p);var d=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function AsyncIterator(e,t){var n;this._invoke=function(o,i){function c(){return new t((function(n,c){!function n(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,a)}))}a(s.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function h(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,h(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function b(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=d.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[c]=GeneratorFunction.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(d),e},e.awrap=function(e){return{__await:e}},y(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new AsyncIterator(a(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},y(d),d[c]="Generator",d[o]=function(){return this},d.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=b,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return c.type="throw",c.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),m(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;m(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},,function(e,t,r){"use strict";var n=r(29);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,c){if(c!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/rrm-subscribe-with-google","version":"1.151.0","title":"Subscribe with Google","category":"widgets","icon":"google","description":"Allow users to subscribe using Reader Revenue Manager to access content behind a paywall.","textdomain":"google-site-kit","supports":{"inserter":true}}')},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n,o=r(16),i=r(10),c=r(9),a=r(4),u=r(11),s=r(3),l=r(5),f=r(20),p=r(31);function Edit(){var e=Object(i.useBlockProps)();return React.createElement(a.Fragment,null,React.createElement(i.InspectorControls,null,React.createElement("div",{className:"block-editor-block-card"},React.createElement(c.Notice,{status:"warning",isDismissible:!1},Object(s.__)("This block can only be configured by Site Kit users. Please contact your administrator.","google-site-kit")))),React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-reader-revenue-manager"},React.createElement(f.b,{disabled:!0},
    22/* translators: Button label for Subscribe with Google. See: https://github.com/subscriptions-project/swg-js/blob/05af2d45cfcaf831a6b4d35c28f2c7b5c2e39308/src/i18n/swg-strings.ts#L24-L57 (please refer to the latest version of the file) */
    33Object(s.__)("Subscribe with Google","google-site-kit")))))}n=!!Object(u.select)(l.b),Object(o.registerBlockType)(p.name,{edit:function(){return n?null:React.createElement(Edit,null)},supports:{inserter:!n}})}]);
  • google-site-kit/trunk/dist/assets/js/blocks/sign-in-with-google/block.json

    r3268141 r3278480  
    33    "apiVersion": 2,
    44    "name": "google-site-kit/sign-in-with-google",
    5     "version": "1.150.0",
     5    "version": "1.151.0",
    66    "title": "Sign in with Google",
    77    "category": "widgets",
  • google-site-kit/trunk/dist/assets/js/blocks/sign-in-with-google/index.js

    r3268141 r3278480  
    1 !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=47)}({0:function(e,t,r){"use strict";e.exports=r(17)},10:function(e,t){e.exports=wp.blockEditor},16:function(e,t){e.exports=wp.blocks},17:function(e,t,r){"use strict";var n=r(18),A="function"==typeof Symbol&&Symbol.for,o=A?Symbol.for("react.element"):60103,i=A?Symbol.for("react.portal"):60106,u=A?Symbol.for("react.fragment"):60107,c=A?Symbol.for("react.strict_mode"):60108,l=A?Symbol.for("react.profiler"):60114,a=A?Symbol.for("react.provider"):60109,f=A?Symbol.for("react.context"):60110,s=A?Symbol.for("react.forward_ref"):60112,p=A?Symbol.for("react.suspense"):60113,g=A?Symbol.for("react.memo"):60115,v=A?Symbol.for("react.lazy"):60116,C="function"==typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function B(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||y}function b(){}function m(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||y}B.prototype.isReactComponent={},B.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},B.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=B.prototype;var E=m.prototype=new b;E.constructor=m,n(E,B.prototype),E.isPureReactComponent=!0;var R={current:null},d=Object.prototype.hasOwnProperty,Y={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,A={},i=null,u=null;if(null!=t)for(n in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)d.call(t,n)&&!Y.hasOwnProperty(n)&&(A[n]=t[n]);var c=arguments.length-2;if(1===c)A.children=r;else if(1<c){for(var l=Array(c),a=0;a<c;a++)l[a]=arguments[a+2];A.children=l}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===A[n]&&(A[n]=c[n]);return{$$typeof:o,type:e,key:i,ref:u,props:A,_owner:R.current}}function G(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g,I=[];function F(e,t,r,n){if(I.length){var A=I.pop();return A.result=e,A.keyPrefix=t,A.func=r,A.context=n,A.count=0,A}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function S(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function k(e,t,r){return null==e?0:function e(t,r,n,A){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case i:c=!0}}if(c)return n(A,t,""===r?"."+W(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var l=0;l<t.length;l++){var a=r+W(u=t[l],l);c+=e(u,a,n,A)}else if(null===t||"object"!=typeof t?a=null:a="function"==typeof(a=C&&t[C]||t["@@iterator"])?a:null,"function"==typeof a)for(t=a.call(t),l=0;!(u=t.next()).done;)c+=e(u=u.value,a=r+W(u,l++),n,A);else if("object"===u)throw n=""+t,Error(h(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,r)}function W(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,A=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?q(e,n,r,(function(e){return e})):null!=e&&(G(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,A+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+r)),n.push(e))}function q(e,t,r,n,A){var o="";null!=r&&(o=(""+r).replace(P,"$&/")+"/"),k(e,N,t=F(t,o,n,A)),S(t)}var V={current:null};function Z(){var e=V.current;if(null===e)throw Error(h(321));return e}var D={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:R,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return q(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;k(e,L,t=F(null,null,t,r)),S(t)},count:function(e){return k(e,(function(){return null}),null)},toArray:function(e){var t=[];return q(e,t,null,(function(e){return e})),t},only:function(e){if(!G(e))throw Error(h(143));return e}},t.Component=B,t.Fragment=u,t.Profiler=l,t.PureComponent=m,t.StrictMode=c,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null==e)throw Error(h(267,e));var A=n({},e.props),i=e.key,u=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,c=R.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)d.call(t,a)&&!Y.hasOwnProperty(a)&&(A[a]=void 0===t[a]&&void 0!==l?l[a]:t[a])}var a=arguments.length-2;if(1===a)A.children=r;else if(1<a){l=Array(a);for(var f=0;f<a;f++)l[f]=arguments[f+2];A.children=l}return{$$typeof:o,type:e.type,key:i,ref:u,props:A,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=G,t.lazy=function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:g,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return Z().useCallback(e,t)},t.useContext=function(e,t){return Z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return Z().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return Z().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return Z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Z().useMemo(e,t)},t.useReducer=function(e,t,r){return Z().useReducer(e,t,r)},t.useRef=function(e){return Z().useRef(e)},t.useState=function(e){return Z().useState(e)},t.version="16.14.0"},18:function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,c=i(e),l=1;l<arguments.length;l++){for(var a in r=Object(arguments[l]))A.call(r,a)&&(c[a]=r[a]);if(n){u=n(r);for(var f=0;f<u.length;f++)o.call(r,u[f])&&(c[u[f]]=r[u[f]])}}return c}},37:function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/sign-in-with-google","version":"1.150.0","title":"Sign in with Google","category":"widgets","icon":"google","description":"Allow users to sign in to your site using their Google Account.","textdomain":"google-site-kit"}')},47:function(e,t,r){"use strict";r.r(t);var n=r(16),A=r(10),o=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var u=o.createElement("rect",{width:180,height:41,rx:20.5,fill:"#fff"}),c=o.createElement("path",{fill:"url(#icon_svg__pattern0_1_99)",d:"M9 8h162v26H9z"}),l=o.createElement("defs",null,o.createElement("pattern",{id:"icon_svg__pattern0_1_99",patternContentUnits:"objectBoundingBox",width:1,height:1},o.createElement("use",{xlinkHref:"#icon_svg__image0_1_99",transform:"matrix(.00309 0 0 .01923 -.117 -.692)"})),o.createElement("image",{id:"icon_svg__image0_1_99",width:406,height:126,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZYAAAB+CAYAAAA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n/N9dO4XGF8rH1feHUk85/Zbi0ra93BGLbAg+FhbYtIH4EiXCoD3WNjKSWt/Rmnx8fGQythkBRoARqBQI5OTk0N59e2lPXJzQ9kKjCgqLKO3oaUpNS69QbSy3xAIU8Znj2wLqiz0YnNiXBstkIS1CKDg4mNWUJShsMwKMQIVDAGrDhw8fVpa3UtTlLjQCKsS4QPLYiQynfU7YSPDKNbFoG+qv7L00auBNDep7C8KRce7u7tS4cQA1atiQ/BWpxtvbm+p5eSlnZDwVlWZ3cnNzk0nZZgQYAUbAqQgUFRUpqsBXFKLIo/PnzlFubi5lZmXSqfR0OnnyhIiTFcKm/OmMXDp1GmnOyuAKaVcYYpHoQorx972VfH29yPtvdcUhSxnHNiPACDACFQkBSCa5Zy5QdvY5ysw+WyGlE2t4Vzhi0TcCBy296nmK0/zQLPPwcBeHL2vVciO3GjUspBv9s+xnBBgBRsBMBCCFFF29SgUFkFwK6ZKyCQ+NLtznde58Xrk72GgUFhWeWIwCgvNhBBgBRoARMAYBJhZjcORcGAFGgBFgBP5EgImFuwIjwAgwAoyAoQgwsRgKJ2fGCDACjAAjwMTCfYARYAQYAUbAUASYWAyFkzNjBBgBRoARYGLhPsAIMAKMACNgKAJMLIbCyZkxAowAI8AIMLFwH2AEGAFGgBEwFAEmFkPh5MwYAUaAEWAEmFi4DzACjAAjwAgYigATi6FwcmaMACPACDACTCzcBxgBRoARYAQMRYCJxVA4OTNGgBFgBBgBJhbuA4wAI8AIMAKGIsDEYiicnBkjwAgwAowAEwv3AUaAEWAEGAFDEWBiMRROzowRYAQYAUaAiYX7ACPACDACjIChCDCxGAonZ8YIMAKMACPAxMJ9gBFgBBgBRsBQBJhYDIWTM2MEGAFGgBFgYuE+wAgwAowAI2AoAkwshsLJmTECjAAjwAj8H8yd9deKaZbhAAAAAElFTkSuQmCC"}));var a=function SvgIcon(e){return o.createElement("svg",i({viewBox:"0 0 180 41",fill:"none"},e),u,c,l)};var f=r(37);Object(n.registerBlockType)(f.name,{edit:function Edit(){var e=Object(A.useBlockProps)();return React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-sign-in-with-google",style:{maxWidth:"180px",minWidth:"120px"}},React.createElement(a,null)))}})}});
     1!function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=47)}({0:function(e,t,r){"use strict";e.exports=r(17)},10:function(e,t){e.exports=wp.blockEditor},16:function(e,t){e.exports=wp.blocks},17:function(e,t,r){"use strict";var n=r(18),A="function"==typeof Symbol&&Symbol.for,o=A?Symbol.for("react.element"):60103,i=A?Symbol.for("react.portal"):60106,u=A?Symbol.for("react.fragment"):60107,c=A?Symbol.for("react.strict_mode"):60108,l=A?Symbol.for("react.profiler"):60114,a=A?Symbol.for("react.provider"):60109,f=A?Symbol.for("react.context"):60110,s=A?Symbol.for("react.forward_ref"):60112,p=A?Symbol.for("react.suspense"):60113,g=A?Symbol.for("react.memo"):60115,v=A?Symbol.for("react.lazy"):60116,C="function"==typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function B(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||y}function b(){}function m(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||y}B.prototype.isReactComponent={},B.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},B.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=B.prototype;var E=m.prototype=new b;E.constructor=m,n(E,B.prototype),E.isPureReactComponent=!0;var R={current:null},d=Object.prototype.hasOwnProperty,Y={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,A={},i=null,u=null;if(null!=t)for(n in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)d.call(t,n)&&!Y.hasOwnProperty(n)&&(A[n]=t[n]);var c=arguments.length-2;if(1===c)A.children=r;else if(1<c){for(var l=Array(c),a=0;a<c;a++)l[a]=arguments[a+2];A.children=l}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===A[n]&&(A[n]=c[n]);return{$$typeof:o,type:e,key:i,ref:u,props:A,_owner:R.current}}function G(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g,I=[];function F(e,t,r,n){if(I.length){var A=I.pop();return A.result=e,A.keyPrefix=t,A.func=r,A.context=n,A.count=0,A}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function S(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function k(e,t,r){return null==e?0:function e(t,r,n,A){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case i:c=!0}}if(c)return n(A,t,""===r?"."+W(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var l=0;l<t.length;l++){var a=r+W(u=t[l],l);c+=e(u,a,n,A)}else if(null===t||"object"!=typeof t?a=null:a="function"==typeof(a=C&&t[C]||t["@@iterator"])?a:null,"function"==typeof a)for(t=a.call(t),l=0;!(u=t.next()).done;)c+=e(u=u.value,a=r+W(u,l++),n,A);else if("object"===u)throw n=""+t,Error(h(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,r)}function W(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,A=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?q(e,n,r,(function(e){return e})):null!=e&&(G(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,A+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+r)),n.push(e))}function q(e,t,r,n,A){var o="";null!=r&&(o=(""+r).replace(P,"$&/")+"/"),k(e,N,t=F(t,o,n,A)),S(t)}var V={current:null};function Z(){var e=V.current;if(null===e)throw Error(h(321));return e}var D={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:R,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return q(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;k(e,L,t=F(null,null,t,r)),S(t)},count:function(e){return k(e,(function(){return null}),null)},toArray:function(e){var t=[];return q(e,t,null,(function(e){return e})),t},only:function(e){if(!G(e))throw Error(h(143));return e}},t.Component=B,t.Fragment=u,t.Profiler=l,t.PureComponent=m,t.StrictMode=c,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null==e)throw Error(h(267,e));var A=n({},e.props),i=e.key,u=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,c=R.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)d.call(t,a)&&!Y.hasOwnProperty(a)&&(A[a]=void 0===t[a]&&void 0!==l?l[a]:t[a])}var a=arguments.length-2;if(1===a)A.children=r;else if(1<a){l=Array(a);for(var f=0;f<a;f++)l[f]=arguments[f+2];A.children=l}return{$$typeof:o,type:e.type,key:i,ref:u,props:A,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=j,t.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=G,t.lazy=function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:g,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return Z().useCallback(e,t)},t.useContext=function(e,t){return Z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return Z().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return Z().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return Z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Z().useMemo(e,t)},t.useReducer=function(e,t,r){return Z().useReducer(e,t,r)},t.useRef=function(e){return Z().useRef(e)},t.useState=function(e){return Z().useState(e)},t.version="16.14.0"},18:function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,c=i(e),l=1;l<arguments.length;l++){for(var a in r=Object(arguments[l]))A.call(r,a)&&(c[a]=r[a]);if(n){u=n(r);for(var f=0;f<u.length;f++)o.call(r,u[f])&&(c[u[f]]=r[u[f]])}}return c}},37:function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"google-site-kit/sign-in-with-google","version":"1.151.0","title":"Sign in with Google","category":"widgets","icon":"google","description":"Allow users to sign in to your site using their Google Account.","textdomain":"google-site-kit"}')},47:function(e,t,r){"use strict";r.r(t);var n=r(16),A=r(10),o=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var u=o.createElement("rect",{width:180,height:41,rx:20.5,fill:"#fff"}),c=o.createElement("path",{fill:"url(#icon_svg__pattern0_1_99)",d:"M9 8h162v26H9z"}),l=o.createElement("defs",null,o.createElement("pattern",{id:"icon_svg__pattern0_1_99",patternContentUnits:"objectBoundingBox",width:1,height:1},o.createElement("use",{xlinkHref:"#icon_svg__image0_1_99",transform:"matrix(.00309 0 0 .01923 -.117 -.692)"})),o.createElement("image",{id:"icon_svg__image0_1_99",width:406,height:126,xlinkHref:"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fill:"none"},e),u,c,l)};var f=r(37);Object(n.registerBlockType)(f.name,{edit:function Edit(){var e=Object(A.useBlockProps)();return React.createElement("div",e,React.createElement("div",{className:"googlesitekit-blocks-sign-in-with-google",style:{maxWidth:"180px",minWidth:"120px"}},React.createElement(a,null)))}})}});
  • google-site-kit/trunk/dist/config.php

    r3268141 r3278480  
    88
    99return array(
    10     'features' => array( 'adsPax','conversionReporting','firstPartyMode','gm3Components','privacySandboxModule','rrmModule' ),
     10    'features' => array( 'adsPax','firstPartyMode','gm3Components','privacySandboxModule','rrmModule' ),
    1111);
  • google-site-kit/trunk/dist/manifest.php

    r3268141 r3278480  
    2828    'sign-in-with-google/editor-styles'                               => array( "sign-in-with-google/editor-styles.js", null ),
    2929    'sign-in-with-google/index'                                       => array( "sign-in-with-google/index.js", null ),
    30     'googlesitekit-admin-css'                                         => array( "googlesitekit-admin-css-cb47549277062c4b73a9.min.css", null ),
     30    'googlesitekit-admin-css'                                         => array( "googlesitekit-admin-css-5be41b6ea1f4e4a9d7aa.min.css", null ),
    3131    'googlesitekit-adminbar-css'                                      => array( "googlesitekit-adminbar-css-281d66e21d2b87430998.min.css", null ),
    3232    'googlesitekit-authorize-application-css'                         => array( "googlesitekit-authorize-application-css-ce25e97404abc5a02921.min.css", null ),
    3333    'googlesitekit-wp-dashboard-css'                                  => array( "googlesitekit-wp-dashboard-css-55d9d8bb13cf249a2389.min.css", null ),
    34     'googlesitekit-vendor'                                            => array( "googlesitekit-vendor-c41f3ea565982be81dc7.js", null ),
    35     'googlesitekit-runtime'                                           => array( "runtime-287781f5f74c2c5c81d6.js", null ),
    36     'googlesitekit-activation'                                        => array( "googlesitekit-activation-88d7bc49905406a66f50.js", null ),
    37     'googlesitekit-ad-blocking-recovery'                              => array( "googlesitekit-ad-blocking-recovery-a501d5a1bc6629ff511f.js", null ),
    38     'googlesitekit-adminbar'                                          => array( "googlesitekit-adminbar-887c35b1429a72281ce5.js", null ),
    39     'googlesitekit-api'                                               => array( "googlesitekit-api-fdbfa1d7798c4ec990fc.js", null ),
    40     'googlesitekit-components'                                        => array( array( "googlesitekit-components-gm2-f9237f69ac241bcc21ed.js", null ), array( "googlesitekit-components-gm3-ab2c1a9dc01af1133819.js", null ) ),
    41     'googlesitekit-data'                                              => array( "googlesitekit-data-45f7245998546176b318.js", null ),
    42     'googlesitekit-datastore-forms'                                   => array( "googlesitekit-datastore-forms-a9dfe420276ef5c9c38e.js", null ),
    43     'googlesitekit-datastore-location'                                => array( "googlesitekit-datastore-location-f572fec44b31e4df35a4.js", null ),
    44     'googlesitekit-datastore-site'                                    => array( "googlesitekit-datastore-site-d0290506ae2dceae258d.js", null ),
    45     'googlesitekit-datastore-ui'                                      => array( "googlesitekit-datastore-ui-85403f21f3fa898c5f42.js", null ),
    46     'googlesitekit-datastore-user'                                    => array( "googlesitekit-datastore-user-ed83cc041bfd7a167c61.js", null ),
    47     'googlesitekit-entity-dashboard'                                  => array( "googlesitekit-entity-dashboard-d016ceb266ded080cf54.js", null ),
    48     'googlesitekit-main-dashboard'                                    => array( "googlesitekit-main-dashboard-2f16496977523d94695c.js", null ),
    49     'googlesitekit-metric-selection'                                  => array( "googlesitekit-metric-selection-f2586c53d4c26e1f612b.js", null ),
    50     'googlesitekit-modules'                                           => array( "googlesitekit-modules-43e6eac0f528c9478d99.js", null ),
    51     'googlesitekit-modules-ads'                                       => array( "googlesitekit-modules-ads-0aae232041600e9c7247.js", null ),
    52     'googlesitekit-modules-adsense'                                   => array( "googlesitekit-modules-adsense-9175c88d297e25549011.js", null ),
    53     'googlesitekit-modules-analytics-4'                               => array( "googlesitekit-modules-analytics-4-80c52f9706553a5b10b8.js", null ),
    54     'googlesitekit-modules-pagespeed-insights'                        => array( "googlesitekit-modules-pagespeed-insights-8c99d7ff2c1b49f6bda8.js", null ),
    55     'googlesitekit-modules-reader-revenue-manager'                    => array( "googlesitekit-modules-reader-revenue-manager-22b67f5e89c2898ed8e3.js", null ),
    56     'googlesitekit-modules-search-console'                            => array( "googlesitekit-modules-search-console-89997c1640e147ea3ccd.js", null ),
    57     'googlesitekit-modules-sign-in-with-google'                       => array( "googlesitekit-modules-sign-in-with-google-ec01550e8d82b8ff15a5.js", null ),
    58     'googlesitekit-modules-tagmanager'                                => array( "googlesitekit-modules-tagmanager-d81f42aeacd4a5c7ffe1.js", null ),
    59     'googlesitekit-notifications'                                     => array( "googlesitekit-notifications-b491840b6580d294aa26.js", null ),
    60     'googlesitekit-polyfills'                                         => array( "googlesitekit-polyfills-6735e9dff66c9c6172bb.js", null ),
    61     'googlesitekit-settings'                                          => array( "googlesitekit-settings-c1f1b3a092fc9d8e3063.js", null ),
    62     'googlesitekit-splash'                                            => array( "googlesitekit-splash-fcd5bcfbd1f92aadc4c1.js", null ),
    63     'googlesitekit-user-input'                                        => array( "googlesitekit-user-input-ed04fc10d6b7b7c0f9cc.js", null ),
    64     'googlesitekit-widgets'                                           => array( "googlesitekit-widgets-d107680b232419de6a19.js", null ),
    65     'googlesitekit-wp-dashboard'                                      => array( "googlesitekit-wp-dashboard-870ef912360a20fdd099.js", null ),
     34    'googlesitekit-vendor'                                            => array( "googlesitekit-vendor-7a89e9cf7bac16af9d79.js", null ),
     35    'googlesitekit-runtime'                                           => array( "runtime-0644fb215f0ab84b2d76.js", null ),
     36    'googlesitekit-activation'                                        => array( "googlesitekit-activation-eb17ae245f913be73bce.js", null ),
     37    'googlesitekit-ad-blocking-recovery'                              => array( "googlesitekit-ad-blocking-recovery-e2d4e0f5c3c3c25441a7.js", null ),
     38    'googlesitekit-adminbar'                                          => array( "googlesitekit-adminbar-86406eed676194644c12.js", null ),
     39    'googlesitekit-api'                                               => array( "googlesitekit-api-68f034ddcc8aa2cf84ec.js", null ),
     40    'googlesitekit-components'                                        => array( array( "googlesitekit-components-gm2-24ad3c1e1956aca36103.js", null ), array( "googlesitekit-components-gm3-64a3e063d5103a6fafec.js", null ) ),
     41    'googlesitekit-data'                                              => array( "googlesitekit-data-00f18bf1d062e2d0a24a.js", null ),
     42    'googlesitekit-datastore-forms'                                   => array( "googlesitekit-datastore-forms-9d18ef42a0d881d377c6.js", null ),
     43    'googlesitekit-datastore-location'                                => array( "googlesitekit-datastore-location-14a4949237b84ca9cc37.js", null ),
     44    'googlesitekit-datastore-site'                                    => array( "googlesitekit-datastore-site-aba6daece9b2eaa759b2.js", null ),
     45    'googlesitekit-datastore-ui'                                      => array( "googlesitekit-datastore-ui-6b36c39182039f275428.js", null ),
     46    'googlesitekit-datastore-user'                                    => array( "googlesitekit-datastore-user-81e319c2f8abe10a6ef6.js", null ),
     47    'googlesitekit-entity-dashboard'                                  => array( "googlesitekit-entity-dashboard-0b13cf977d9a418420e2.js", null ),
     48    'googlesitekit-main-dashboard'                                    => array( "googlesitekit-main-dashboard-0a39474854d17bf3b944.js", null ),
     49    'googlesitekit-metric-selection'                                  => array( "googlesitekit-metric-selection-c71dae0c66de1fecd9b8.js", null ),
     50    'googlesitekit-modules'                                           => array( "googlesitekit-modules-560b754fd25ec8b8411c.js", null ),
     51    'googlesitekit-modules-ads'                                       => array( "googlesitekit-modules-ads-6251f4cdc6d2482395c4.js", null ),
     52    'googlesitekit-modules-adsense'                                   => array( "googlesitekit-modules-adsense-acbaf31a5b8a3bec041d.js", null ),
     53    'googlesitekit-modules-analytics-4'                               => array( "googlesitekit-modules-analytics-4-c996363f1b886561fd11.js", null ),
     54    'googlesitekit-modules-pagespeed-insights'                        => array( "googlesitekit-modules-pagespeed-insights-621453a07d4db3823577.js", null ),
     55    'googlesitekit-modules-reader-revenue-manager'                    => array( "googlesitekit-modules-reader-revenue-manager-31cd0372016deb783c14.js", null ),
     56    'googlesitekit-modules-search-console'                            => array( "googlesitekit-modules-search-console-07c50a5dfceda2333dfc.js", null ),
     57    'googlesitekit-modules-sign-in-with-google'                       => array( "googlesitekit-modules-sign-in-with-google-8d084cccb8d98b30652a.js", null ),
     58    'googlesitekit-modules-tagmanager'                                => array( "googlesitekit-modules-tagmanager-423f2f1617bf8848310b.js", null ),
     59    'googlesitekit-notifications'                                     => array( "googlesitekit-notifications-ab597852ddb127a4ac8b.js", null ),
     60    'googlesitekit-polyfills'                                         => array( "googlesitekit-polyfills-b5cac13b6ea236d651f6.js", null ),
     61    'googlesitekit-settings'                                          => array( "googlesitekit-settings-712a38e258e66403f7c5.js", null ),
     62    'googlesitekit-splash'                                            => array( "googlesitekit-splash-5b503b779153eb447105.js", null ),
     63    'googlesitekit-user-input'                                        => array( "googlesitekit-user-input-174594af49b764d340a8.js", null ),
     64    'googlesitekit-widgets'                                           => array( "googlesitekit-widgets-851854f58a49a0448f7e.js", null ),
     65    'googlesitekit-wp-dashboard'                                      => array( "googlesitekit-wp-dashboard-d8a1ae9cd97f12970a3f.js", null ),
    6666);
  • google-site-kit/trunk/google-site-kit.php

    r3268141 r3278480  
    1212 * Plugin URI:        https://sitekit.withgoogle.com
    1313 * Description:       Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
    14  * Version:           1.150.0
     14 * Version:           1.151.0
    1515 * Requires at least: 5.2
    1616 * Requires PHP:      7.4
     
    2727
    2828// Define most essential constants.
    29 define( 'GOOGLESITEKIT_VERSION', '1.150.0' );
     29define( 'GOOGLESITEKIT_VERSION', '1.151.0' );
    3030define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
    3131define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' );
  • google-site-kit/trunk/includes/Core/Admin/Screens.php

    r3208808 r3278480  
    1818use Google\Site_Kit\Core\Permissions\Permissions;
    1919use Google\Site_Kit\Core\Storage\User_Options;
    20 use Google\Site_Kit\Core\Util\Feature_Flags;
    2120
    2221/**
     
    481480        );
    482481
    483         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    484             $screens[] = new Screen(
    485                 self::PREFIX . 'metric-selection',
    486                 array(
    487                     'title'       => __( 'Select Key Metrics', 'google-site-kit' ),
    488                     'capability'  => Permissions::MANAGE_OPTIONS,
    489                     'parent_slug' => self::PARENT_SLUG_NULL,
    490                 )
    491             );
    492         }
     482        $screens[] = new Screen(
     483            self::PREFIX . 'metric-selection',
     484            array(
     485                'title'       => __( 'Select Key Metrics', 'google-site-kit' ),
     486                'capability'  => Permissions::MANAGE_OPTIONS,
     487                'parent_slug' => self::PARENT_SLUG_NULL,
     488            )
     489        );
    493490
    494491        return $screens;
  • google-site-kit/trunk/includes/Core/Assets/Assets.php

    r3268141 r3278480  
    1616use Google\Site_Kit\Core\Storage\Options;
    1717use Google\Site_Kit\Core\Util\Feature_Flags;
    18 use Google\Site_Kit\Core\Util\Plugin_Status;
    1918use WP_Dependencies;
    2019use WP_Post_Type;
     
    698697                )
    699698            ),
     699            new Script(
     700                'googlesitekit-metric-selection',
     701                array(
     702                    'src'          => $base_url . 'js/googlesitekit-metric-selection.js',
     703                    'dependencies' => $this->get_asset_dependencies( 'dashboard' ),
     704                )
     705            ),
    700706            new Stylesheet(
    701707                'googlesitekit-adminbar-css',
     
    715721            ),
    716722        );
    717 
    718         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    719             $assets[] = new Script(
    720                 'googlesitekit-metric-selection',
    721                 array(
    722                     'src'          => $base_url . 'js/googlesitekit-metric-selection.js',
    723                     'dependencies' => $this->get_asset_dependencies( 'dashboard' ),
    724                 )
    725             );
    726         }
    727723
    728724        /**
  • google-site-kit/trunk/includes/Core/Consent_Mode/REST_Consent_Mode_Controller.php

    r3253534 r3278480  
    255255                        'methods'             => WP_REST_Server::READABLE,
    256256                        'callback'            => function () {
    257                             $ads_connected = apply_filters( 'googlesitekit_is_module_connected', false, Ads::MODULE_SLUG );
    258 
    259                             if ( $ads_connected ) {
    260                                 return new WP_REST_Response( array( 'connected' => true ) );
     257                            $checks = apply_filters( 'googlesitekit_ads_measurement_connection_checks', array() );
     258
     259                            if ( ! is_array( $checks ) ) {
     260                                return new WP_REST_Response( array( 'connected' => false ) );
    261261                            }
    262262
    263                             $analytics_connected = apply_filters( 'googlesitekit_is_module_connected', false, Analytics_4::MODULE_SLUG );
    264                             if ( $analytics_connected ) {
    265                                 $analytics_settings = ( new Analytics_Settings( $this->options ) )->get();
    266                                 $adsense_linked     = $analytics_settings['adSenseLinked'] ?? false;
    267 
    268                                 if ( $adsense_linked ) {
    269                                     return new WP_REST_Response( array( 'connected' => true ) );
     263                            foreach ( $checks as $check ) {
     264                                if ( ! is_callable( $check ) ) {
     265                                    continue;
    270266                                }
    271267
    272                                 $container_destination_ids = $analytics_settings['googleTagContainerDestinationIDs'] ?? false;
    273                                 if ( is_array( $container_destination_ids ) ) {
    274                                     foreach ( $container_destination_ids as $destination_id ) {
    275                                         if ( substr( $destination_id, 0, 3 ) === 'AW-' ) {
    276                                             return new WP_REST_Response( array( 'connected' => true ) );
    277                                         }
    278                                     }
    279                                 }
    280                             }
    281 
    282                             $tag_manager_connected = apply_filters( 'googlesitekit_is_module_connected', false, Tag_Manager::MODULE_SLUG );
    283                             if ( $tag_manager_connected ) {
    284                                 $tag_manager          = $this->modules->get_module( Tag_Manager::MODULE_SLUG );
    285                                 $tag_manager_settings = ( new Tag_Manager_Settings( $this->options ) )->get();
    286 
    287                                 if ( ! $tag_manager || ! $tag_manager instanceof Tag_Manager ) {
    288                                     return new WP_REST_Response( array( 'connected' => false ) );
    289                                 }
    290 
    291                                 $live_containers_versions = $tag_manager->get_tagmanager_service()->accounts_containers_versions->live(
    292                                     "accounts/{$tag_manager_settings['accountID']}/containers/{$tag_manager_settings['internalContainerID']}"
    293                                 );
    294 
    295                                 if ( empty( $live_containers_versions->tag ) ) {
    296                                     return new WP_REST_Response( array( 'connected' => false ) );
    297                                 }
    298 
    299                                 $has_ads_tag = array_search( 'awct', array_column( $live_containers_versions->tag, 'type' ), true );
    300                                 if ( false !== $has_ads_tag ) {
     268                                if ( $check() ) {
    301269                                    return new WP_REST_Response( array( 'connected' => true ) );
    302270                                }
  • google-site-kit/trunk/includes/Core/Key_Metrics/REST_Key_Metrics_Controller.php

    r3221899 r3278480  
    1414use Google\Site_Kit\Core\REST_API\REST_Route;
    1515use Google\Site_Kit\Core\REST_API\REST_Routes;
    16 use Google\Site_Kit\Core\Util\Feature_Flags;
    1716use WP_Error;
    1817use WP_REST_Request;
     
    135134                            // which we can solely rely on `maxItems` in the schema validation (see below).
    136135                            // See https://github.com/WordPress/WordPress/blob/965fcddcf68cf4fd122ae24b992e242dfea1d773/wp-includes/rest-api.php#L1922-L1925.
    137                             $max_num_widgets = Feature_Flags::enabled( 'conversionReporting' ) ? 8 : 4;
     136                            $max_num_widgets = 8;
    138137                            if ( $num_widgets > $max_num_widgets ) {
    139138                                return new WP_Error(
     
    173172                                            'type'     => 'array',
    174173                                            'required' => false,
    175                                             'maxItems' => Feature_Flags::enabled( 'conversionReporting' ) ? 8 : 4,
     174                                            'maxItems' => 8,
    176175                                            'items'    => array(
    177176                                                'type' => 'string',
  • google-site-kit/trunk/includes/Core/User/REST_Conversion_Reporting_Controller.php

    r3221899 r3278480  
    1414use Google\Site_Kit\Core\REST_API\REST_Route;
    1515use Google\Site_Kit\Core\REST_API\REST_Routes;
    16 use Google\Site_Kit\Core\Util\Feature_Flags;
    1716use WP_REST_Request;
    1817use WP_REST_Response;
     
    6362            'googlesitekit_apifetch_preload_paths',
    6463            function ( $paths ) {
    65                 if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    66                     return array_merge(
    67                         $paths,
    68                         array(
    69                             '/' . REST_Routes::REST_ROOT . '/core/user/data/conversion-reporting-settings',
    70                         )
    71                     );
    72                 }
    73 
    74                 return $paths;
     64                return array_merge(
     65                    $paths,
     66                    array(
     67                        '/' . REST_Routes::REST_ROOT . '/core/user/data/conversion-reporting-settings',
     68                    )
     69                );
    7570            }
    7671        );
     
    8883            return current_user_can( Permissions::VIEW_DASHBOARD );
    8984        };
    90 
    91         if ( ! Feature_Flags::enabled( 'conversionReporting' ) ) {
    92             return array();
    93         }
    9485
    9586        return array(
  • google-site-kit/trunk/includes/Modules/Ads.php

    r3261091 r3278480  
    106106        // Ads tag placement logic.
    107107        add_action( 'template_redirect', array( $this, 'register_tag' ) );
    108 
    109108        add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_modules_data' ) );
     109        add_filter(
     110            'googlesitekit_ads_measurement_connection_checks',
     111            function ( $checks ) {
     112                $checks[] = array( $this, 'check_ads_measurement_connection' );
     113                return $checks;
     114            },
     115            10
     116        );
    110117    }
    111118
     
    117124    public function register_persistent() {
    118125        add_filter( 'googlesitekit_inline_modules_data', fn ( $data ) => $this->persistent_inline_modules_data( $data ) );
     126    }
     127
     128    /**
     129     * Checks if the Ads module is connected and contributing to Ads measurement.
     130     *
     131     * @since 1.151.0
     132     *
     133     * @return bool True if the Ads module is connected, false otherwise.
     134     */
     135    public function check_ads_measurement_connection() {
     136        return $this->is_connected();
    119137    }
    120138
     
    185203                    array(
    186204                        // When updating, mirror the fixed version for google-pax-sdk in package.json.
    187                         'src'          => 'https://www.gstatic.com/pax/1.1.3/pax_integrator.js',
     205                        'src'          => 'https://www.gstatic.com/pax/1.1.4/pax_integrator.js',
    188206                        'execution'    => 'async',
    189207                        'dependencies' => array(
  • google-site-kit/trunk/includes/Modules/Analytics_4.php

    r3261091 r3278480  
    206206        $this->custom_dimensions_data_available = new Custom_Dimensions_Data_Available( $this->transients );
    207207        $this->reset_audiences                  = new Reset_Audiences( $this->user_options );
    208         $this->resource_data_availability_date  = new Resource_Data_Availability_Date( $this->transients, $this->get_settings() );
     208        $this->audience_settings                = new Audience_Settings( $this->options );
     209        $this->resource_data_availability_date  = new Resource_Data_Availability_Date( $this->transients, $this->get_settings(), $this->audience_settings );
    209210    }
    210211
     
    237238        $synchronize_ads_linked->register();
    238239
    239         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    240             $conversion_reporting_provider = new Conversion_Reporting_Provider(
    241                 $this->context,
    242                 $this->settings,
    243                 $this->user_options,
    244                 $this
    245             );
    246             $conversion_reporting_provider->register();
    247         }
    248 
    249         $this->audience_settings = new Audience_Settings( $this->options );
     240        $conversion_reporting_provider = new Conversion_Reporting_Provider(
     241            $this->context,
     242            $this->settings,
     243            $this->user_options,
     244            $this
     245        );
     246        $conversion_reporting_provider->register();
     247
    250248        $this->audience_settings->register();
    251249
     
    265263        add_action( 'template_redirect', array( $this, 'register_tag' ) );
    266264
    267         $this->get_settings()->on_change(
     265        $this->audience_settings->on_change(
    268266            function ( $old_value, $new_value ) {
    269                 // Ensure that the data available state is reset when the property ID or measurement ID changes.
    270                 if ( $old_value['propertyID'] !== $new_value['propertyID'] || $old_value['measurementID'] !== $new_value['measurementID'] ) {
    271                     $this->reset_data_available();
    272                     $this->custom_dimensions_data_available->reset_data_available();
    273 
    274                     $available_audiences = $old_value['availableAudiences'] ?? array();
    275 
    276                     $available_audience_names = array_map(
    277                         function ( $audience ) {
    278                             return $audience['name'];
    279                         },
    280                         $available_audiences
    281                     );
    282 
    283                     $this->resource_data_availability_date->reset_all_resource_dates( $available_audience_names, $old_value['propertyID'] );
    284                 }
    285 
    286267                // Ensure that the resource data availability dates for `availableAudiences` that no longer exist are reset.
    287268                $old_available_audiences = $old_value['availableAudiences'];
     
    307288                        $this->resource_data_availability_date->reset_resource_date( $unavailable_audience_name, Resource_Data_Availability_Date::RESOURCE_TYPE_AUDIENCE );
    308289                    }
     290                }
     291            }
     292        );
     293
     294        $this->get_settings()->on_change(
     295            function ( $old_value, $new_value ) {
     296                // Ensure that the data available state is reset when the property ID or measurement ID changes.
     297                if ( $old_value['propertyID'] !== $new_value['propertyID'] || $old_value['measurementID'] !== $new_value['measurementID'] ) {
     298                    $this->reset_data_available();
     299                    $this->custom_dimensions_data_available->reset_data_available();
     300
     301                    $audience_settings   = $this->audience_settings->get();
     302                    $available_audiences = $audience_settings['availableAudiences'] ?? array();
     303
     304                    $available_audience_names = array_map(
     305                        function ( $audience ) {
     306                            return $audience['name'];
     307                        },
     308                        $available_audiences
     309                    );
     310
     311                    $this->resource_data_availability_date->reset_all_resource_dates( $available_audience_names, $old_value['propertyID'] );
    309312                }
    310313
     
    318321                            'adsLinkedLastSyncedAt'     => 0,
    319322                            'detectedEvents'            => array(),
    320                             'availableAudiencesLastSyncedAt' => 0,
    321323                        )
    322324                    );
     325
     326                    $this->audience_settings->delete();
    323327
    324328                    if ( ! empty( $new_value['propertyID'] ) ) {
    325329                        do_action( Synchronize_AdSenseLinked::CRON_SYNCHRONIZE_ADSENSE_LINKED );
    326330
    327                         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    328                             // Reset event detection and new badge events.
    329                             $this->transients->delete( Conversion_Reporting_Events_Sync::DETECTED_EVENTS_TRANSIENT );
    330                             $this->transients->delete( Conversion_Reporting_Events_Sync::LOST_EVENTS_TRANSIENT );
    331                             $this->transients->delete( Conversion_Reporting_New_Badge_Events_Sync::NEW_EVENTS_BADGE_TRANSIENT );
    332 
    333                             $this->transients->set( Conversion_Reporting_New_Badge_Events_Sync::SKIP_NEW_BADGE_TRANSIENT, 1 );
    334 
    335                             do_action( Conversion_Reporting_Cron::CRON_ACTION );
    336                         }
     331                        // Reset event detection and new badge events.
     332                        $this->transients->delete( Conversion_Reporting_Events_Sync::DETECTED_EVENTS_TRANSIENT );
     333                        $this->transients->delete( Conversion_Reporting_Events_Sync::LOST_EVENTS_TRANSIENT );
     334                        $this->transients->delete( Conversion_Reporting_New_Badge_Events_Sync::NEW_EVENTS_BADGE_TRANSIENT );
     335
     336                        $this->transients->set( Conversion_Reporting_New_Badge_Events_Sync::SKIP_NEW_BADGE_TRANSIENT, 1 );
     337
     338                        do_action( Conversion_Reporting_Cron::CRON_ACTION );
    337339                    }
    338340
     
    351353            function ( $new_value, $old_value ) {
    352354                if ( $new_value['propertyID'] !== $old_value['propertyID'] ) {
    353                     $new_value['availableCustomDimensions']            = null;
    354                     $new_value['availableAudiences']                   = null;
    355                     $new_value['audienceSegmentationSetupCompletedBy'] = null;
     355                    $new_value['availableCustomDimensions'] = null;
    356356                }
    357357
     
    368368        add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_resource_availability_dates_data' ) );
    369369
    370         if ( Feature_Flags::enabled( 'conversionReporting' ) ) {
    371             add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_conversion_reporting_events_detection' ), 15 );
    372         }
     370        add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_conversion_reporting_events_detection' ), 15 );
    373371
    374372        add_filter(
     
    435433            }
    436434        );
     435
     436        add_filter(
     437            'googlesitekit_ads_measurement_connection_checks',
     438            function ( $checks ) {
     439                $checks[] = array( $this, 'check_ads_measurement_connection' );
     440                return $checks;
     441            },
     442            20
     443        );
     444    }
     445
     446    /**
     447     * Checks if the Analytics 4 module is connected and contributing to Ads measurement.
     448     *
     449     * Verifies connection status and settings to determine if Ads-related configurations
     450     * (AdSense linked or Google Tag Container with AW- destination IDs) exist.
     451     *
     452     * @since 1.151.0
     453     *
     454     * @return bool True if Analytics 4 is connected and configured for Ads measurement; false otherwise.
     455     */
     456    public function check_ads_measurement_connection() {
     457        if ( ! $this->is_connected() ) {
     458            return false;
     459        }
     460        $settings = $this->get_settings()->get();
     461
     462        if ( $settings['adsLinked'] ) {
     463            return true;
     464        }
     465
     466        foreach ( (array) $settings['googleTagContainerDestinationIDs'] as $destination_id ) {
     467            if ( 0 === stripos( $destination_id, 'AW-' ) ) {
     468                return true;
     469            }
     470        }
     471
     472        return false;
    437473    }
    438474
     
    498534        $this->custom_dimensions_data_available->reset_data_available();
    499535        $this->reset_audiences->reset_audience_data();
     536        $this->audience_settings->delete();
    500537    }
    501538
     
    598635
    599636        // Return the SITE_KIT_AUDIENCE audiences.
    600         $site_kit_audiences = $this->get_site_kit_audiences( $settings['availableAudiences'] ?? array() );
     637        $available_audiences = $this->audience_settings->get()['availableAudiences'] ?? array();
     638        $site_kit_audiences  = $this->get_site_kit_audiences( $available_audiences );
    601639
    602640        $debug_fields['analytics_4_site_kit_audiences'] = array(
     
    15071545                }
    15081546
    1509                 if ( isset( $data['audienceSegmentationSetupCompletedBy'] ) && ! is_int( $data['audienceSegmentationSetupCompletedBy'] ) ) {
     1547                $settings = $data['settings'];
     1548
     1549                if (
     1550                    isset( $settings['audienceSegmentationSetupCompletedBy'] ) &&
     1551                    ! is_int( $settings['audienceSegmentationSetupCompletedBy'] )
     1552                ) {
    15101553                    throw new Invalid_Param_Exception( 'audienceSegmentationSetupCompletedBy' );
    15111554                }
    15121555
    1513                 return function () use ( $data ) {
    1514                     if ( isset( $data['audienceSegmentationSetupCompletedBy'] ) ) {
    1515                         $new_settings['audienceSegmentationSetupCompletedBy'] = $data['audienceSegmentationSetupCompletedBy'];
     1556                return function () use ( $settings ) {
     1557                    $new_settings = array();
     1558
     1559                    if ( isset( $settings['audienceSegmentationSetupCompletedBy'] ) ) {
     1560                        $new_settings['audienceSegmentationSetupCompletedBy'] = $settings['audienceSegmentationSetupCompletedBy'];
    15161561                    }
    15171562
     
    25162561        );
    25172562
    2518         $this->get_settings()->merge(
     2563        $this->audience_settings->merge(
    25192564            array(
    25202565                'availableAudiences'             => $available_audiences,
  • google-site-kit/trunk/includes/Modules/Analytics_4/Resource_Data_Availability_Date.php

    r3089590 r3278480  
    1212
    1313use Google\Site_Kit\Core\Modules\Module_Settings;
     14use Google\Site_Kit\Core\Storage\Options_Interface;
    1415use Google\Site_Kit\Core\Storage\Transients;
     16use Google\Site_Kit\Core\Util\Feature_Flags;
     17use Google\Site_Kit\Modules\Analytics_4\Audience_Settings;
    1518
    1619/**
     
    5457
    5558    /**
     59     * Options instance.
     60     *
     61     * @since 1.151.0
     62     * @var Audience_Settings
     63     */
     64    protected $audience_settings;
     65
     66    /**
    5667     * Constructor.
    5768     *
    5869     * @since 1.127.0
    5970     *
    60      * @param Transients      $transients Transients instance.
    61      * @param Module_Settings $settings Module settings instance.
    62      */
    63     public function __construct( Transients $transients, Module_Settings $settings ) {
    64         $this->transients = $transients;
    65         $this->settings   = $settings;
     71     * @param Transients        $transients Transients instance.
     72     * @param Module_Settings   $settings Module settings instance.
     73     * @param Audience_Settings $audience_settings Audience_Settings instance.
     74     */
     75    public function __construct( Transients $transients, Module_Settings $settings, Audience_Settings $audience_settings ) {
     76        $this->transients        = $transients;
     77        $this->settings          = $settings;
     78        $this->audience_settings = $audience_settings;
    6679    }
    6780
     
    230243     */
    231244    private function get_available_audience_resource_names() {
    232         $settings            = $this->settings->get();
    233         $available_audiences = $settings['availableAudiences'] ?? array();
     245        $available_audiences = $this->audience_settings->get();
     246        $available_audiences = $available_audiences['availableAudiences'] ?? array();
    234247
    235248        return array_map(
  • google-site-kit/trunk/includes/Modules/Analytics_4/Settings.php

    r3261091 r3278480  
    7474            'availableCustomDimensions',
    7575            'adSenseLinked',
    76             'availableAudiences',
    77             'audienceSegmentationSetupCompletedBy',
    7876            'detectedEvents',
    7977            'newConversionEventsLastUpdateAt',
     
    9189    protected function get_default() {
    9290        return array(
    93             'ownerID'                              => 0,
    94             'accountID'                            => '',
    95             'adsConversionID'                      => '',
    96             'propertyID'                           => '',
    97             'webDataStreamID'                      => '',
    98             'measurementID'                        => '',
    99             'trackingDisabled'                     => array( 'loggedinUsers' ),
    100             'useSnippet'                           => true,
    101             'googleTagID'                          => '',
    102             'googleTagAccountID'                   => '',
    103             'googleTagContainerID'                 => '',
    104             'googleTagContainerDestinationIDs'     => null,
    105             'googleTagLastSyncedAtMs'              => 0,
    106             'availableCustomDimensions'            => null,
    107             'propertyCreateTime'                   => 0,
    108             'adSenseLinked'                        => false,
    109             'adSenseLinkedLastSyncedAt'            => 0,
    110             'adsConversionIDMigratedAtMs'          => 0,
    111             'adsLinked'                            => false,
    112             'adsLinkedLastSyncedAt'                => 0,
    113             'availableAudiences'                   => null,
    114             'availableAudiencesLastSyncedAt'       => 0,
    115             'audienceSegmentationSetupCompletedBy' => null,
    116             'detectedEvents'                       => array(),
    117             'newConversionEventsLastUpdateAt'      => 0,
    118             'lostConversionEventsLastUpdateAt'     => 0,
     91            'ownerID'                          => 0,
     92            'accountID'                        => '',
     93            'adsConversionID'                  => '',
     94            'propertyID'                       => '',
     95            'webDataStreamID'                  => '',
     96            'measurementID'                    => '',
     97            'trackingDisabled'                 => array( 'loggedinUsers' ),
     98            'useSnippet'                       => true,
     99            'googleTagID'                      => '',
     100            'googleTagAccountID'               => '',
     101            'googleTagContainerID'             => '',
     102            'googleTagContainerDestinationIDs' => null,
     103            'googleTagLastSyncedAtMs'          => 0,
     104            'availableCustomDimensions'        => null,
     105            'propertyCreateTime'               => 0,
     106            'adSenseLinked'                    => false,
     107            'adSenseLinkedLastSyncedAt'        => 0,
     108            'adsConversionIDMigratedAtMs'      => 0,
     109            'adsLinked'                        => false,
     110            'adsLinkedLastSyncedAt'            => 0,
     111            'detectedEvents'                   => array(),
     112            'newConversionEventsLastUpdateAt'  => 0,
     113            'lostConversionEventsLastUpdateAt' => 0,
    119114        );
    120115    }
     
    203198                }
    204199
    205                 if ( isset( $option['availableAudiences'] ) ) {
    206                     if ( ! is_array( $option['availableAudiences'] ) ) {
    207                         $option['availableAudiences'] = null;
    208                     }
    209                 }
    210 
    211                 if ( isset( $option['availableAudiencesLastSyncedAt'] ) ) {
    212                     if ( ! is_int( $option['availableAudiencesLastSyncedAt'] ) ) {
    213                         $option['availableAudiencesLastSyncedAt'] = 0;
    214                     }
    215                 }
    216 
    217                 if ( isset( $option['audienceSegmentationSetupCompletedBy'] ) ) {
    218                     if ( ! is_int( $option['audienceSegmentationSetupCompletedBy'] ) ) {
    219                         $option['audienceSegmentationSetupCompletedBy'] = null;
    220                     }
    221                 }
    222 
    223200                if ( isset( $option['newConversionEventsLastUpdateAt'] ) ) {
    224201                    if ( ! is_int( $option['newConversionEventsLastUpdateAt'] ) ) {
  • google-site-kit/trunk/includes/Modules/Tag_Manager.php

    r3221899 r3278480  
    100100        // Tag Manager tag placement logic.
    101101        add_action( 'template_redirect', array( $this, 'register_tag' ) );
     102
     103        add_filter(
     104            'googlesitekit_ads_measurement_connection_checks',
     105            function ( $checks ) {
     106                $checks[] = array( $this, 'check_ads_measurement_connection' );
     107                return $checks;
     108            },
     109            30
     110        );
     111    }
     112
     113    /**
     114     * Checks if the Tag Manager module is connected and contains an Ads Conversion Tracking (AWCT) tag.
     115     *
     116     * @since 1.151.0
     117     *
     118     * @return bool Whether or not Ads measurement is connected via this module.
     119     */
     120    public function check_ads_measurement_connection() {
     121        if ( ! $this->is_connected() ) {
     122            return false;
     123        }
     124
     125        $settings = $this->get_settings()->get();
     126
     127        $live_containers_versions = $this->get_data(
     128            'live-container-version',
     129            array(
     130                'accountID'           => $settings['accountID'],
     131                'internalContainerID' => $settings['internalContainerID'],
     132            )
     133        );
     134
     135        if ( empty( $live_containers_versions->tag ) ) {
     136            return false;
     137        }
     138
     139        return in_array(
     140            'awct',
     141            array_column( $live_containers_versions->tag, 'type' ),
     142            true
     143        );
    102144    }
    103145
  • google-site-kit/trunk/includes/Plugin.php

    r3208808 r3278480  
    221221                ( new Core\Util\Migration_1_123_0( $this->context, $options ) )->register();
    222222                ( new Core\Util\Migration_1_129_0( $this->context, $options ) )->register();
     223                ( new Core\Util\Migration_1_150_0( $this->context, $options ) )->register();
    223224                ( new Core\Dashboard_Sharing\Dashboard_Sharing( $this->context, $user_options ) )->register();
    224225                ( new Core\Key_Metrics\Key_Metrics( $this->context, $user_options, $options ) )->register();
  • google-site-kit/trunk/includes/vendor/composer/autoload_classmap.php

    r3253534 r3278480  
    231231    'Google\\Site_Kit\\Core\\Util\\Migration_1_123_0' => $baseDir . '/Core/Util/Migration_1_123_0.php',
    232232    'Google\\Site_Kit\\Core\\Util\\Migration_1_129_0' => $baseDir . '/Core/Util/Migration_1_129_0.php',
     233    'Google\\Site_Kit\\Core\\Util\\Migration_1_150_0' => $baseDir . '/Core/Util/Migration_1_150_0.php',
    233234    'Google\\Site_Kit\\Core\\Util\\Migration_1_3_0' => $baseDir . '/Core/Util/Migration_1_3_0.php',
    234235    'Google\\Site_Kit\\Core\\Util\\Migration_1_8_1' => $baseDir . '/Core/Util/Migration_1_8_1.php',
  • google-site-kit/trunk/readme.txt

    r3268141 r3278480  
    55Tested up to:      6.8
    66Requires PHP:      7.4
    7 Stable tag:        1.150.0
     7Stable tag:        1.151.0
    88License:           Apache License 2.0
    99License URI:       https://www.apache.org/licenses/LICENSE-2.0
     
    3737
    3838== Installation ==
     39
    3940**Note**: Make sure that your website is live. If your website isn't live yet, Site Kit can't show you any data.
    4041However, if you have a staging environment in addition to your production site, Site Kit can display data from your production site in the staging environment. Learn how to use [Site Kit with a staging environment](https://sitekit.withgoogle.com/documentation/using-site-kit/staging/).
     
    46473. Install and activate the Site Kit by Google plugin.
    47484. Connect Site Kit to your Google account. If there are multiple WordPress admins, keep in mind that each admin must connect their own Google account in order to access the plugin.
    48 
    4949
    5050= Manual installation =
     
    110110== Changelog ==
    111111
    112 = 1.150.0 =
     112= 1.151.0 =
    113113
    114114**Enhanced**
    115115
    116 * Fix bug that could cause an error when Analytics module is not connected. See [#10564](https://github.com/google/site-kit-wp/issues/10564).
    117 * Improve CTA label in Reader Revenue Manager setup flow. See [#10500](https://github.com/google/site-kit-wp/issues/10500).
    118 * Update PAX SDK package. See [#10493](https://github.com/google/site-kit-wp/issues/10493).
    119 * Improve Reader Revenue Manager debug information visibility in Site Health. See [#10478](https://github.com/google/site-kit-wp/issues/10478).
    120 * Update the "See full details in Ads" link to lead to the campaign deeplink URL. See [#10437](https://github.com/google/site-kit-wp/issues/10437).
    121 * Remove the progress bar on the setup screen when PAX setup is initiated. See [#10427](https://github.com/google/site-kit-wp/issues/10427).
    122 * Persist Ads reminder notification when Google for Woo plugin is installed. See [#10419](https://github.com/google/site-kit-wp/issues/10419).
    123 * Improve Reader Revenue Manager blocks in the WordPress editor for non-Site Kit users. See [#10400](https://github.com/google/site-kit-wp/issues/10400).
    124 * Add GA event tracking for user interaction with the Reader Revenue Manager settings edit screen. See [#10332](https://github.com/google/site-kit-wp/issues/10332).
    125 * Add opt-in GA event tracking for user interaction with the Reader Revenue Manager module setup success notification. See [#10329](https://github.com/google/site-kit-wp/issues/10329).
    126 * Ensure metrics' scroll bar is visible on mobile screens. See [#10163](https://github.com/google/site-kit-wp/issues/10163).
    127 * Merge the `rrmModuleV2` feature flag with the `rrmModule` flag in preparation for the launch of RRM V2. See [#10071](https://github.com/google/site-kit-wp/issues/10071).
    128 * Fix a bug that occurs when setting up Site Kit and clicking on the **Next** button in the final service setup stage multiple times. See [#10037](https://github.com/google/site-kit-wp/issues/10037).
    129 * Prevent multiple admin menu tooltips from appearing at once. See [#10003](https://github.com/google/site-kit-wp/issues/10003).
    130 * Update the module connection notifications to use our new notification infrastructure. See [#9297](https://github.com/google/site-kit-wp/issues/9297).
    131 * Update Enhanced Measurement banner to use new notifications infrastructure. See [#9293](https://github.com/google/site-kit-wp/issues/9293).
     116* Remove old feature tours. See [#10574](https://github.com/google/site-kit-wp/issues/10574).
     117* Remove the `conversionReporting` feature flag. See [#10552](https://github.com/google/site-kit-wp/issues/10552).
     118* Update the WooCommerce modal to deactivate the Google For WooCommerce linked account notification when the user selects to install that plugin. See [#10542](https://github.com/google/site-kit-wp/issues/10542).
     119* Add OverlayCard components to use for overlay notifications. See [#10532](https://github.com/google/site-kit-wp/issues/10532).
     120* Remove the ESLint complexity override from the Reader Revenue Manager `SettingsEdit` component. See [#10363](https://github.com/google/site-kit-wp/issues/10363).
     121* Enhance Ads measurement checks to avoid extra requests on dashboard. See [#10190](https://github.com/google/site-kit-wp/issues/10190).
     122* Limit display of Visitor groups setup success notice to user who set up the feature. See [#10089](https://github.com/google/site-kit-wp/issues/10089).
     123* Improve language intended to direct users to Site Kit settings. Props mxbclang. See [#7756](https://github.com/google/site-kit-wp/issues/7756).
     124
     125**Changed**
     126
     127* Update PAX SDK version to 1.1.4. See [#10614](https://github.com/google/site-kit-wp/issues/10614).
     128* Replace all usage of `deprecatedProvideNotifications` with the updated `provideNotifications` utility and remove the deprecated utility. See [#10465](https://github.com/google/site-kit-wp/issues/10465).
    132129
    133130**Fixed**
    134131
    135 * Fix issue that could cause surveys with multiple-choice answers to skip questions. See [#10581](https://github.com/google/site-kit-wp/issues/10581).
    136 * Ensure that changes to a selected publication's available product IDs are reflected in the Reader Revenue Manager settings screen without needing to wait for the publication to be synchronized. See [#10482](https://github.com/google/site-kit-wp/issues/10482).
    137 * Fix link to Publisher Center in the Reader Revenue Manager publication approved overlay notification. See [#10480](https://github.com/google/site-kit-wp/issues/10480).
    138 * Fix styling of Reader Revenue Manager buttons in the pattern view of the WordPress Block Editor. See [#10479](https://github.com/google/site-kit-wp/issues/10479).
    139 * Update the divider underneath the Reader Revenue Manager Product ID dropdown in the settings screen to align with the design. See [#10477](https://github.com/google/site-kit-wp/issues/10477).
    140 * Fix the incorrect behavior of the "Account Linked" notification of the Ads module. See [#10463](https://github.com/google/site-kit-wp/issues/10463).
    141 * Update the `Using the WooCommerce plugin` modal not to dismiss itself when it is closed by clicking outside of the dialog. See [#10414](https://github.com/google/site-kit-wp/issues/10414).
    142 * Update the Ads setup banner to disable the CTA button if adblocker is detected. See [#10326](https://github.com/google/site-kit-wp/issues/10326).
    143 * Prevent duplicate GA4 settings update requests by limiting Google tag syncs to once per hour. See [#10284](https://github.com/google/site-kit-wp/issues/10284).
    144 * Fix duplicate Google tag settings request issue. See [#10283](https://github.com/google/site-kit-wp/issues/10283).
    145 * Fix Ninja Forms script loading issue when the enhanced conversion tracking is enabled. See [#9381](https://github.com/google/site-kit-wp/issues/9381).
     132* Fix issue where syncing audiences and custom dimensions in parallel could result in the cached audiences not being persisted. See [#8888](https://github.com/google/site-kit-wp/issues/8888).
    146133
    147134[See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).
Note: See TracChangeset for help on using the changeset viewer.