[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/js/dist/ -> primitives.min.js (source)

   1  /*! This file is auto-generated */
   2  this.wp=this.wp||{},this.wp.primitives=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=445)}({0:function(e,t){!function(){e.exports=this.wp.element}()},11:function(e,t,r){var n;
   3  /*!
   4    Copyright (c) 2017 Jed Watson.
   5    Licensed under the MIT License (MIT), see
   6    http://jedwatson.github.io/classnames
   7  */!function(){"use strict";var r={}.hasOwnProperty;function u(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var c=u.apply(null,n);c&&e.push(c)}else if("object"===o)for(var i in n)r.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}e.exports?(u.default=u,e.exports=u):void 0===(n=function(){return u}.apply(t,[]))||(e.exports=n)}()},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(41);function u(e,t){if(null==e)return{};var r,u,o=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(u=0;u<c.length;u++)r=c[u],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}},41:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,u={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(u[r]=e[r]);return u}r.d(t,"a",(function(){return n}))},445:function(e,t,r){"use strict";r.r(t);var n=r(5),u=r(19),o=r(11),c=r.n(o),i=r(0);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var a=function(e){return Object(i.createElement)("circle",e)},l=function(e){return Object(i.createElement)("g",e)},s=function(e){return Object(i.createElement)("path",e)},p=function(e){return Object(i.createElement)("polygon",e)},b=function(e){return Object(i.createElement)("rect",e)},d=function(e){return Object(i.createElement)("defs",e)},O=function(e){return Object(i.createElement)("radialGradient",e)},y=function(e){return Object(i.createElement)("linearGradient",e)},j=function(e){return Object(i.createElement)("stop",e)},v=function(e){var t=e.className,r=e.isPressed,o=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(u.a)(e,["className","isPressed"]),{className:c()(t,{"is-pressed":r})||void 0,role:"img","aria-hidden":"true",focusable:"false"});return Object(i.createElement)("svg",o)};r.d(t,"Circle",(function(){return a})),r.d(t,"G",(function(){return l})),r.d(t,"Path",(function(){return s})),r.d(t,"Polygon",(function(){return p})),r.d(t,"Rect",(function(){return b})),r.d(t,"Defs",(function(){return d})),r.d(t,"RadialGradient",(function(){return O})),r.d(t,"LinearGradient",(function(){return y})),r.d(t,"Stop",(function(){return j})),r.d(t,"SVG",(function(){return v})),r.d(t,"HorizontalRule",(function(){return"hr"})),r.d(t,"BlockQuotation",(function(){return"blockquote"}))},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))}});


Generated : Wed Dec 2 08:20:02 2020 Cross-referenced by PHPXref