WordPress/wp-includes/js/dist/deprecated.min.js

2 lines
1.7 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.deprecated=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s="./node_modules/@wordpress/deprecated/build-module/index.js")}({"./node_modules/@wordpress/deprecated/build-module/index.js":function(e,n,t){"use strict";t.r(n),t.d(n,"logged",(function(){return o})),t.d(n,"default",(function(){return i}));var r=t("@wordpress/hooks");const o=Object.create(null);function i(e,n={}){const{since:t,version:i,alternative:u,plugin:d,link:s,hint:l}=n,c=`${e} is deprecated${t?" since version "+t:""}${i?` and will be removed${d?" from "+d:""} in version ${i}`:""}.${u?` Please use ${u} instead.`:""}${s?" See: "+s:""}${l?" Note: "+l:""}`;c in o||(Object(r.doAction)("deprecated",e,n,c),console.warn(c),o[c]=!0)}},"@wordpress/hooks":function(e,n){e.exports=window.wp.hooks}}).default;