PageSourceSearch

https://stluciechamber.org/wp-includes/js/dist/primitives.js?ver=44cc5a35c7b9fe07a838

js stluciechamber.org collected 2026-10-02 11:22:26 UTC 5,270 bytes, 129 lines download raw bytes

1(function() {
2"use strict";
3var wp;
4(wp ||= {}).primitives = (() => {
5  var __create = Object.create;
6  var __defProp = Object.defineProperty;
7  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8  var __getOwnPropNames = Object.getOwnPropertyNames;
9  var __getProtoOf = Object.getPrototypeOf;
10  var __hasOwnProp = Object.prototype.hasOwnProperty;
11  var __commonJS = (cb, mod) => function __require() {
12    return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
13  };
14  var __export = (target, all) => {
15    for (var name in all)
16      __defProp(target, name, { get: all[name], enumerable: true });
17  };
18  var __copyProps = (to, from, except, desc) => {
19    if (from && typeof from === "object" || typeof from === "function") {
20      for (let key of __getOwnPropNames(from))
21        if (!__hasOwnProp.call(to, key) && key !== except)
22          __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23    }
24    return to;
25  };
26  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27    // If the importer is in node compatibility mode or this is not an ESM
28    // file that has been converted to a CommonJS file using a Babel-
29    // compatible transform (i.e. "__esModule" has not been set), then set
30    // "default" to the CommonJS "module.exports" for node compatibility.
31    isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
32    mod
33  ));
34  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
36  // package-external:@wordpress/element
37  var require_element = __commonJS({
38    "package-external:@wordpress/element"(exports, module) {
39      module.exports = window.wp.element;
40    }
41  });
42
43  // vendor-external:react/jsx-runtime
44  var require_jsx_runtime = __commonJS({
45    "vendor-external:react/jsx-runtime"(exports, module) {
46      module.exports = window.ReactJSXRuntime;
47    }
48  });
49
50  
50// packages/primitives/build-module/index.mjs
51  var index_exports = {};
52  __export(index_exports, {
53    BlockQuotation: () => BlockQuotation,
54    Circle: () => Circle,
55    Defs: () => Defs,
56    G: () => G,
57    HorizontalRule: () => HorizontalRule,
58    Line: () => Line,
59    LinearGradient: () => LinearGradient,
60    Path: () => Path,
61    Polygon: () => Polygon,
62    RadialGradient: () => RadialGradient,
63    Rect: () => Rect,
64    SVG: () => SVG,
65    Stop: () => Stop,
66    View: () => View
67  });
68
69  
vendor: 578 bytes, lines 69-85
69// node_modules/clsx/dist/clsx.mjs
70  function r(e) {
71    var t, f, n = "";
72    if ("string" == typeof e || "number" == typeof e) n += e;
73    else if ("object" == typeof e) if (Array.isArray(e)) {
74      var o = e.length;
75      for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
76    } else for (f in e) e[f] && (n && (n += " "), n += f);
77    return n;
78  }
79  function clsx() {
80    for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
81    return n;
82  }
83  var clsx_default = clsx;
84
85  
85// packages/primitives/build-module/svg/index.mjs
86  var import_element = __toESM(require_element(), 1);
87  var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
88  var Circle = (props) => (0, import_element.createElement)("circle", props);
89  var G = (props) => (0, import_element.createElement)("g", props);
90  var Line = (props) => (0, import_element.createElement)("line", props);
91  var Path = (props) => (0, import_element.createElement)("path", props);
92  var Polygon = (props) => (0, import_element.createElement)("polygon", props);
93  var Rect = (props) => (0, import_element.createElement)("rect", props);
94  var Defs = (props) => (0, import_element.createElement)("defs", props);
95  var RadialGradient = (props) => (0, import_element.createElement)("radialGradient", props);
96  var LinearGradient = (props) => (0, import_element.createElement)("linearGradient", props);
97  var Stop = (props) => (0, import_element.createElement)("stop", props);
98  var SVG = (0, import_element.forwardRef)(
99    /**
100     * @param {SVGProps}                          props isPressed indicates whether the SVG should appear as pressed.
101     *                                                  Other props will be passed through to svg component.
102     * @param {React.ForwardedRef<SVGSVGElement>} ref   The forwarded ref to the SVG element.
103     *
104     * @return {React.JSX.Element} Stop component
105     */
106    ({ className, isPressed, ...props }, ref) => {
107      const appliedProps = {
108        ...props,
109        className: clsx_default(className, { "is-pressed": isPressed }) || void 0,
110        "aria-hidden": true,
111        focusable: false
112      };
113      return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { ...appliedProps, ref });
114    }
115  );
116  SVG.displayName = "SVG";
117
118  
118// packages/primitives/build-module/horizontal-rule/index.mjs
119  var HorizontalRule = "hr";
120
121  
121// packages/primitives/build-module/block-quotation/index.mjs
122  var BlockQuotation = "blockquote";
123
124  
124// packages/primitives/build-module/view/index.mjs
125  var View = "div";
126  return __toCommonJS(index_exports);
127})();
128(window.wp ||= {}).primitives = wp.primitives;
129})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.