WordPress/wp-includes/js/dist/data-controls.min.js

2 lines
2.4 KiB
JavaScript

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="./node_modules/@wordpress/data-controls/build-module/index.js")}({"./node_modules/@wordpress/data-controls/build-module/index.js":function(t,e,r){"use strict";r.r(e),r.d(e,"apiFetch",(function(){return u})),r.d(e,"select",(function(){return d})),r.d(e,"syncSelect",(function(){return l})),r.d(e,"dispatch",(function(){return a})),r.d(e,"__unstableAwaitPromise",(function(){return p})),r.d(e,"controls",(function(){return f}));var n=r("@wordpress/api-fetch"),o=r.n(n),s=r("@wordpress/data"),i=r("@wordpress/deprecated"),c=r.n(i);function u(t){return{type:"API_FETCH",request:t}}function d(){return c()("`select` control in `@wordpress/data-controls`",{alternative:"built-in `resolveSelect` control in `@wordpress/data`"}),s.controls.resolveSelect.apply(s.controls,arguments)}function l(){return c()("`syncSelect` control in `@wordpress/data-controls`",{alternative:"built-in `select` control in `@wordpress/data`"}),s.controls.select.apply(s.controls,arguments)}function a(){return c()("`dispatch` control in `@wordpress/data-controls`",{alternative:"built-in `dispatch` control in `@wordpress/data`"}),s.controls.dispatch.apply(s.controls,arguments)}var p=function(t){return{type:"AWAIT_PROMISE",promise:t}},f={AWAIT_PROMISE:function(t){return t.promise},API_FETCH:function(t){var e=t.request;return o()(e)}}},"@wordpress/api-fetch":function(t,e){t.exports=window.wp.apiFetch},"@wordpress/data":function(t,e){t.exports=window.wp.data},"@wordpress/deprecated":function(t,e){t.exports=window.wp.deprecated}});