wp_back/wp-content/plugins/wordpress-seo/js/dist/externals-contexts.js

1 line
1.6 KiB
JavaScript
Raw Normal View History

2024-05-20 15:37:46 +03:00
!function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=298)}({0:function(e,t){e.exports=window.wp.element},2:function(e,t){e.exports=window.yoast.propTypes},298:function(e,t,o){"use strict";o.r(t);var n=o(0);const r=Object(n.createContext)("location"),i=r.Provider,u=r.Consumer;var c=o(2),a=o.n(c);const l={},s=Object(n.createContext)(l),d=e=>{let{children:t,context:o={}}=e;return Object(n.createElement)(s.Provider,{value:{...l,...o}},t)};d.propTypes={children:a.a.node.isRequired,context:a.a.object};var f=d;window.yoast=window.yoast||{},window.yoast.externals=window.yoast.externals||{},window.yoast.externals.contexts={LocationContext:r,LocationProvider:i,LocationConsumer:u,RootContext:s,Root:f,useRootContext:()=>Object(n.useContext)(s)}}});