(function() { "use strict"; var wp; (wp ||= {}).blockLibrary = (() => { var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __require = /* @__PURE__ */ ((x3) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x3, { get: (a2, b2) => (typeof require !== "undefined" ? require : a2)[b2] }) : x3)(function(x3) { if (typeof require !== "undefined") return require.apply(this, arguments); throw Error('Dynamic require of "' + x3 + '" is not supported'); }); var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name122 in all) __defProp(target, name122, { get: all[name122], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // package-external:@wordpress/blocks var require_blocks = __commonJS({ "package-external:@wordpress/blocks"(exports, module) { module.exports = window.wp.blocks; } }); // package-external:@wordpress/compose var require_compose = __commonJS({ "package-external:@wordpress/compose"(exports, module) { module.exports = window.wp.compose; } }); // package-external:@wordpress/data var require_data = __commonJS({ "package-external:@wordpress/data"(exports, module) { module.exports = window.wp.data; } }); // package-external:@wordpress/block-editor var require_block_editor = __commonJS({ "package-external:@wordpress/block-editor"(exports, module) { module.exports = window.wp.blockEditor; } }); // package-external:@wordpress/server-side-render var require_server_side_render = __commonJS({ "package-external:@wordpress/server-side-render"(exports, module) { module.exports = window.wp.serverSideRender; } }); // package-external:@wordpress/i18n var require_i18n = __commonJS({ "package-external:@wordpress/i18n"(exports, module) { module.exports = window.wp.i18n; } }); // node_modules/domelementtype/lib/index.js var require_lib = __commonJS({ "node_modules/domelementtype/lib/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0; var ElementType; (function(ElementType2) { ElementType2["Root"] = "root"; ElementType2["Text"] = "text"; ElementType2["Directive"] = "directive"; ElementType2["Comment"] = "comment"; ElementType2["Script"] = "script"; ElementType2["Style"] = "style"; ElementType2["Tag"] = "tag"; ElementType2["CDATA"] = "cdata"; ElementType2["Doctype"] = "doctype"; })(ElementType = exports.ElementType || (exports.ElementType = {})); function isTag(elem) { return elem.type === ElementType.Tag || elem.type === ElementType.Script || elem.type === ElementType.Style; } exports.isTag = isTag; exports.Root = ElementType.Root; exports.Text = ElementType.Text; exports.Directive = ElementType.Directive; exports.Comment = ElementType.Comment; exports.Script = ElementType.Script; exports.Style = ElementType.Style; exports.Tag = ElementType.Tag; exports.CDATA = ElementType.CDATA; exports.Doctype = ElementType.Doctype; } }); // node_modules/domhandler/lib/node.js var require_node = __commonJS({ "node_modules/domhandler/lib/node.js"(exports) { "use strict"; var __extends = exports && exports.__extends || /* @__PURE__ */ (function() { var extendStatics = function(d2, b2) { extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b3) { d3.__proto__ = b3; } || function(d3, b3) { for (var p2 in b3) if (Object.prototype.hasOwnProperty.call(b3, p2)) d3[p2] = b3[p2]; }; return extendStatics(d2, b2); }; return function(d2, b2) { if (typeof b2 !== "function" && b2 !== null) throw new TypeError("Class extends value " + String(b2) + " is not a constructor or null"); extendStatics(d2, b2); function __273() { this.constructor = d2; } d2.prototype = b2 === null ? Object.create(b2) : (__273.prototype = b2.prototype, new __273()); }; })(); var __assign2 = exports && exports.__assign || function() { __assign2 = Object.assign || function(t2) { for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) { s2 = arguments[i2]; for (var p2 in s2) if (Object.prototype.hasOwnProperty.call(s2, p2)) t2[p2] = s2[p2]; } return t2; }; return __assign2.apply(this, arguments); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.cloneNode = exports.hasChildren = exports.isDocument = exports.isDirective = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = exports.Element = exports.Document = exports.CDATA = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0; var domelementtype_1 = require_lib(); var Node2 = ( /** @class */ (function() { function Node3() { this.parent = null; this.prev = null; this.next = null; this.startIndex = null; this.endIndex = null; } Object.defineProperty(Node3.prototype, "parentNode", { // Read-write aliases for properties /** * Same as {@link parent}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: function() { return this.parent; }, set: function(parent) { this.parent = parent; }, enumerable: false, configurable: true }); Object.defineProperty(Node3.prototype, "previousSibling", { /** * Same as {@link prev}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: function() { return this.prev; }, set: function(prev) { this.prev = prev; }, enumerable: false, configurable: true }); Object.defineProperty(Node3.prototype, "nextSibling", { /** * Same as {@link next}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: function() { return this.next; }, set: function(next2) { this.next = next2; }, enumerable: false, configurable: true }); Node3.prototype.cloneNode = function(recursive) { if (recursive === void 0) { recursive = false; } return cloneNode(this, recursive); }; return Node3; })() ); exports.Node = Node2; var DataNode = ( /** @class */ (function(_super) { __extends(DataNode2, _super); function DataNode2(data) { var _this = _super.call(this) || this; _this.data = data; return _this; } Object.defineProperty(DataNode2.prototype, "nodeValue", { /** * Same as {@link data}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: function() { return this.data; }, set: function(data) { this.data = data; }, enumerable: false, configurable: true }); return DataNode2; })(Node2) ); exports.DataNode = DataNode; var Text2 = ( /** @class */ (function(_super) { __extends(Text3, _super); function Text3() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.type = domelementtype_1.ElementType.Text; return _this; } Object.defineProperty(Text3.prototype, "nodeType", { get: function() { return 3; }, enumerable: false, configurable: true }); return Text3; })(DataNode) ); exports.Text = Text2; var Comment2 = ( /** @class */ (function(_super) { __extends(Comment3, _super); function Comment3() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.type = domelementtype_1.ElementType.Comment; return _this; } Object.defineProperty(Comment3.prototype, "nodeType", { get: function() { return 8; }, enumerable: false, configurable: true }); return Comment3; })(DataNode) ); exports.Comment = Comment2; var ProcessingInstruction2 = ( /** @class */ (function(_super) { __extends(ProcessingInstruction3, _super); function ProcessingInstruction3(name122, data) { var _this = _super.call(this, data) || this; _this.name = name122; _this.type = domelementtype_1.ElementType.Directive; return _this; } Object.defineProperty(ProcessingInstruction3.prototype, "nodeType", { get: function() { return 1; }, enumerable: false, configurable: true }); return ProcessingInstruction3; })(DataNode) ); exports.ProcessingInstruction = ProcessingInstruction2; var NodeWithChildren = ( /** @class */ (function(_super) { __extends(NodeWithChildren2, _super); function NodeWithChildren2(children) { var _this = _super.call(this) || this; _this.children = children; return _this; } Object.defineProperty(NodeWithChildren2.prototype, "firstChild", { // Aliases /** First child of the node. */ get: function() { var _a; return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null; }, enumerable: false, configurable: true }); Object.defineProperty(NodeWithChildren2.prototype, "lastChild", { /** Last child of the node. */ get: function() { return this.children.length > 0 ? this.children[this.children.length - 1] : null; }, enumerable: false, configurable: true }); Object.defineProperty(NodeWithChildren2.prototype, "childNodes", { /** * Same as {@link children}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: function() { return this.children; }, set: function(children) { this.children = children; }, enumerable: false, configurable: true }); return NodeWithChildren2; })(Node2) ); exports.NodeWithChildren = NodeWithChildren; var CDATA = ( /** @class */ (function(_super) { __extends(CDATA2, _super); function CDATA2() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.type = domelementtype_1.ElementType.CDATA; return _this; } Object.defineProperty(CDATA2.prototype, "nodeType", { get: function() { return 4; }, enumerable: false, configurable: true }); return CDATA2; })(NodeWithChildren) ); exports.CDATA = CDATA; var Document = ( /** @class */ (function(_super) { __extends(Document2, _super); function Document2() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.type = domelementtype_1.ElementType.Root; return _this; } Object.defineProperty(Document2.prototype, "nodeType", { get: function() { return 9; }, enumerable: false, configurable: true }); return Document2; })(NodeWithChildren) ); exports.Document = Document; var Element3 = ( /** @class */ (function(_super) { __extends(Element4, _super); function Element4(name122, attribs, children, type) { if (children === void 0) { children = []; } if (type === void 0) { type = name122 === "script" ? domelementtype_1.ElementType.Script : name122 === "style" ? domelementtype_1.ElementType.Style : domelementtype_1.ElementType.Tag; } var _this = _super.call(this, children) || this; _this.name = name122; _this.attribs = attribs; _this.type = type; return _this; } Object.defineProperty(Element4.prototype, "nodeType", { get: function() { return 1; }, enumerable: false, configurable: true }); Object.defineProperty(Element4.prototype, "tagName", { // DOM Level 1 aliases /** * Same as {@link name}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: function() { return this.name; }, set: function(name122) { this.name = name122; }, enumerable: false, configurable: true }); Object.defineProperty(Element4.prototype, "attributes", { get: function() { var _this = this; return Object.keys(this.attribs).map(function(name122) { var _a, _b; return { name: name122, value: _this.attribs[name122], namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name122], prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name122] }; }); }, enumerable: false, configurable: true }); return Element4; })(NodeWithChildren) ); exports.Element = Element3; function isTag(node) { return (0, domelementtype_1.isTag)(node); } exports.isTag = isTag; function isCDATA(node) { return node.type === domelementtype_1.ElementType.CDATA; } exports.isCDATA = isCDATA; function isText(node) { return node.type === domelementtype_1.ElementType.Text; } exports.isText = isText; function isComment(node) { return node.type === domelementtype_1.ElementType.Comment; } exports.isComment = isComment; function isDirective(node) { return node.type === domelementtype_1.ElementType.Directive; } exports.isDirective = isDirective; function isDocument(node) { return node.type === domelementtype_1.ElementType.Root; } exports.isDocument = isDocument; function hasChildren(node) { return Object.prototype.hasOwnProperty.call(node, "children"); } exports.hasChildren = hasChildren; function cloneNode(node, recursive) { if (recursive === void 0) { recursive = false; } var result; if (isText(node)) { result = new Text2(node.data); } else if (isComment(node)) { result = new Comment2(node.data); } else if (isTag(node)) { var children = recursive ? cloneChildren(node.children) : []; var clone_1 = new Element3(node.name, __assign2({}, node.attribs), children); children.forEach(function(child) { return child.parent = clone_1; }); if (node.namespace != null) { clone_1.namespace = node.namespace; } if (node["x-attribsNamespace"]) { clone_1["x-attribsNamespace"] = __assign2({}, node["x-attribsNamespace"]); } if (node["x-attribsPrefix"]) { clone_1["x-attribsPrefix"] = __assign2({}, node["x-attribsPrefix"]); } result = clone_1; } else if (isCDATA(node)) { var children = recursive ? cloneChildren(node.children) : []; var clone_2 = new CDATA(children); children.forEach(function(child) { return child.parent = clone_2; }); result = clone_2; } else if (isDocument(node)) { var children = recursive ? cloneChildren(node.children) : []; var clone_3 = new Document(children); children.forEach(function(child) { return child.parent = clone_3; }); if (node["x-mode"]) { clone_3["x-mode"] = node["x-mode"]; } result = clone_3; } else if (isDirective(node)) { var instruction = new ProcessingInstruction2(node.name, node.data); if (node["x-name"] != null) { instruction["x-name"] = node["x-name"]; instruction["x-publicId"] = node["x-publicId"]; instruction["x-systemId"] = node["x-systemId"]; } result = instruction; } else { throw new Error("Not implemented yet: ".concat(node.type)); } result.startIndex = node.startIndex; result.endIndex = node.endIndex; if (node.sourceCodeLocation != null) { result.sourceCodeLocation = node.sourceCodeLocation; } return result; } exports.cloneNode = cloneNode; function cloneChildren(childs) { var children = childs.map(function(child) { return cloneNode(child, true); }); for (var i2 = 1; i2 < children.length; i2++) { children[i2].prev = children[i2 - 1]; children[i2 - 1].next = children[i2]; } return children; } } }); // node_modules/domhandler/lib/index.js var require_lib2 = __commonJS({ "node_modules/domhandler/lib/index.js"(exports) { "use strict"; var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o2, m3, k2, k22) { if (k22 === void 0) k22 = k2; var desc = Object.getOwnPropertyDescriptor(m3, k2); if (!desc || ("get" in desc ? !m3.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m3[k2]; } }; } Object.defineProperty(o2, k22, desc); }) : (function(o2, m3, k2, k22) { if (k22 === void 0) k22 = k2; o2[k22] = m3[k2]; })); var __exportStar = exports && exports.__exportStar || function(m3, exports2) { for (var p2 in m3) if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p2)) __createBinding(exports2, m3, p2); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DomHandler = void 0; var domelementtype_1 = require_lib(); var node_js_1 = require_node(); __exportStar(require_node(), exports); var defaultOpts = { withStartIndices: false, withEndIndices: false, xmlMode: false }; var DomHandler = ( /** @class */ (function() { function DomHandler2(callback, options2, elementCB) { this.dom = []; this.root = new node_js_1.Document(this.dom); this.done = false; this.tagStack = [this.root]; this.lastNode = null; this.parser = null; if (typeof options2 === "function") { elementCB = options2; options2 = defaultOpts; } if (typeof callback === "object") { options2 = callback; callback = void 0; } this.callback = callback !== null && callback !== void 0 ? callback : null; this.options = options2 !== null && options2 !== void 0 ? options2 : defaultOpts; this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null; } DomHandler2.prototype.onparserinit = function(parser) { this.parser = parser; }; DomHandler2.prototype.onreset = function() { this.dom = []; this.root = new node_js_1.Document(this.dom); this.done = false; this.tagStack = [this.root]; this.lastNode = null; this.parser = null; }; DomHandler2.prototype.onend = function() { if (this.done) return; this.done = true; this.parser = null; this.handleCallback(null); }; DomHandler2.prototype.onerror = function(error2) { this.handleCallback(error2); }; DomHandler2.prototype.onclosetag = function() { this.lastNode = null; var elem = this.tagStack.pop(); if (this.options.withEndIndices) { elem.endIndex = this.parser.endIndex; } if (this.elementCB) this.elementCB(elem); }; DomHandler2.prototype.onopentag = function(name122, attribs) { var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : void 0; var element = new node_js_1.Element(name122, attribs, void 0, type); this.addNode(element); this.tagStack.push(element); }; DomHandler2.prototype.ontext = function(data) { var lastNode = this.lastNode; if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) { lastNode.data += data; if (this.options.withEndIndices) { lastNode.endIndex = this.parser.endIndex; } } else { var node = new node_js_1.Text(data); this.addNode(node); this.lastNode = node; } }; DomHandler2.prototype.oncomment = function(data) { if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) { this.lastNode.data += data; return; } var node = new node_js_1.Comment(data); this.addNode(node); this.lastNode = node; }; DomHandler2.prototype.oncommentend = function() { this.lastNode = null; }; DomHandler2.prototype.oncdatastart = function() { var text = new node_js_1.Text(""); var node = new node_js_1.CDATA([text]); this.addNode(node); text.parent = node; this.lastNode = text; }; DomHandler2.prototype.oncdataend = function() { this.lastNode = null; }; DomHandler2.prototype.onprocessinginstruction = function(name122, data) { var node = new node_js_1.ProcessingInstruction(name122, data); this.addNode(node); }; DomHandler2.prototype.handleCallback = function(error2) { if (typeof this.callback === "function") { this.callback(error2, this.dom); } else if (error2) { throw error2; } }; DomHandler2.prototype.addNode = function(node) { var parent = this.tagStack[this.tagStack.length - 1]; var previousSibling = parent.children[parent.children.length - 1]; if (this.options.withStartIndices) { node.startIndex = this.parser.startIndex; } if (this.options.withEndIndices) { node.endIndex = this.parser.endIndex; } parent.children.push(node); if (previousSibling) { node.prev = previousSibling; previousSibling.next = node; } node.parent = parent; this.lastNode = null; }; return DomHandler2; })() ); exports.DomHandler = DomHandler; exports.default = DomHandler; } }); // node_modules/html-dom-parser/lib/client/constants.js var require_constants = __commonJS({ "node_modules/html-dom-parser/lib/client/constants.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CARRIAGE_RETURN_PLACEHOLDER_REGEX = exports.CARRIAGE_RETURN_PLACEHOLDER = exports.CARRIAGE_RETURN_REGEX = exports.CARRIAGE_RETURN = exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES = void 0; exports.CASE_SENSITIVE_TAG_NAMES = [ "animateMotion", "animateTransform", "clipPath", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "foreignObject", "linearGradient", "radialGradient", "textPath" ]; exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES.reduce(function(accumulator, tagName) { accumulator[tagName.toLowerCase()] = tagName; return accumulator; }, {}); exports.CARRIAGE_RETURN = "\r"; exports.CARRIAGE_RETURN_REGEX = new RegExp(exports.CARRIAGE_RETURN, "g"); exports.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(), "__"); exports.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(exports.CARRIAGE_RETURN_PLACEHOLDER, "g"); } }); // node_modules/html-dom-parser/lib/client/utilities.js var require_utilities = __commonJS({ "node_modules/html-dom-parser/lib/client/utilities.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.formatAttributes = formatAttributes; exports.escapeSpecialCharacters = escapeSpecialCharacters; exports.revertEscapedCharacters = revertEscapedCharacters; exports.formatDOM = formatDOM; var domhandler_1 = require_lib2(); var constants_1 = require_constants(); function getCaseSensitiveTagName(tagName) { return constants_1.CASE_SENSITIVE_TAG_NAMES_MAP[tagName]; } function formatAttributes(attributes) { var map = {}; var index = 0; var attributesLength = attributes.length; for (; index < attributesLength; index++) { var attribute = attributes[index]; map[attribute.name] = attribute.value; } return map; } function formatTagName(tagName) { tagName = tagName.toLowerCase(); var caseSensitiveTagName = getCaseSensitiveTagName(tagName); if (caseSensitiveTagName) { return caseSensitiveTagName; } return tagName; } function escapeSpecialCharacters(html) { return html.replace(constants_1.CARRIAGE_RETURN_REGEX, constants_1.CARRIAGE_RETURN_PLACEHOLDER); } function revertEscapedCharacters(text) { return text.replace(constants_1.CARRIAGE_RETURN_PLACEHOLDER_REGEX, constants_1.CARRIAGE_RETURN); } function formatDOM(nodes, parent, directive) { if (parent === void 0) { parent = null; } var domNodes = []; var current; var index = 0; var nodesLength = nodes.length; for (; index < nodesLength; index++) { var node = nodes[index]; switch (node.nodeType) { case 1: { var tagName = formatTagName(node.nodeName); current = new domhandler_1.Element(tagName, formatAttributes(node.attributes)); current.children = formatDOM( // template children are on content tagName === "template" ? node.content.childNodes : node.childNodes, current ); break; } case 3: current = new domhandler_1.Text(revertEscapedCharacters(node.nodeValue)); break; case 8: current = new domhandler_1.Comment(node.nodeValue); break; default: continue; } var prev = domNodes[index - 1] || null; if (prev) { prev.next = current; } current.parent = parent; current.prev = prev; current.next = null; domNodes.push(current); } if (directive) { current = new domhandler_1.ProcessingInstruction(directive.substring(0, directive.indexOf(" ")).toLowerCase(), directive); current.next = domNodes[0] || null; current.parent = parent; domNodes.unshift(current); if (domNodes[1]) { domNodes[1].prev = domNodes[0]; } } return domNodes; } } }); // node_modules/html-dom-parser/lib/client/domparser.js var require_domparser = __commonJS({ "node_modules/html-dom-parser/lib/client/domparser.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = domparser; var utilities_1 = require_utilities(); var HTML = "html"; var HEAD = "head"; var BODY = "body"; var FIRST_TAG_REGEX = /<([a-zA-Z]+[0-9]?)/; var HEAD_TAG_REGEX = /
/i; var BODY_TAG_REGEX = //i; var parseFromDocument = function(html, tagName) { throw new Error("This browser does not support `document.implementation.createHTMLDocument`"); }; var parseFromString = function(html, tagName) { throw new Error("This browser does not support `DOMParser.prototype.parseFromString`"); }; var DOMParser = typeof window === "object" && window.DOMParser; if (typeof DOMParser === "function") { domParser_1 = new DOMParser(); mimeType_1 = "text/html"; parseFromString = function(html, tagName) { if (tagName) { html = "<".concat(tagName, ">").concat(html, "").concat(tagName, ">"); } return domParser_1.parseFromString(html, mimeType_1); }; parseFromDocument = parseFromString; } var domParser_1; var mimeType_1; if (typeof document === "object" && document.implementation) { htmlDocument_1 = document.implementation.createHTMLDocument(); parseFromDocument = function(html, tagName) { if (tagName) { var element = htmlDocument_1.documentElement.querySelector(tagName); if (element) { element.innerHTML = html; } return htmlDocument_1; } htmlDocument_1.documentElement.innerHTML = html; return htmlDocument_1; }; } var htmlDocument_1; var template = typeof document === "object" && document.createElement("template"); var parseFromTemplate; if (template && template.content) { parseFromTemplate = function(html) { template.innerHTML = html; return template.content.childNodes; }; } function domparser(html) { var _a, _b; html = (0, utilities_1.escapeSpecialCharacters)(html); var match = html.match(FIRST_TAG_REGEX); var firstTagName = match && match[1] ? match[1].toLowerCase() : ""; switch (firstTagName) { case HTML: { var doc = parseFromString(html); if (!HEAD_TAG_REGEX.test(html)) { var element = doc.querySelector(HEAD); (_a = element === null || element === void 0 ? void 0 : element.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(element); } if (!BODY_TAG_REGEX.test(html)) { var element = doc.querySelector(BODY); (_b = element === null || element === void 0 ? void 0 : element.parentNode) === null || _b === void 0 ? void 0 : _b.removeChild(element); } return doc.querySelectorAll(HTML); } case HEAD: case BODY: { var elements = parseFromDocument(html).querySelectorAll(firstTagName); if (BODY_TAG_REGEX.test(html) && HEAD_TAG_REGEX.test(html)) { return elements[0].parentNode.childNodes; } return elements; } // low-level tag or text default: { if (parseFromTemplate) { return parseFromTemplate(html); } var element = parseFromDocument(html, BODY).querySelector(BODY); return element.childNodes; } } } } }); // node_modules/html-dom-parser/lib/client/html-to-dom.js var require_html_to_dom = __commonJS({ "node_modules/html-dom-parser/lib/client/html-to-dom.js"(exports) { "use strict"; var __importDefault = exports && exports.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = HTMLDOMParser; var domparser_1 = __importDefault(require_domparser()); var utilities_1 = require_utilities(); var DIRECTIVE_REGEX = /<(![a-zA-Z\s]+)>/; function HTMLDOMParser(html) { if (typeof html !== "string") { throw new TypeError("First argument must be a string"); } if (!html) { return []; } var match = html.match(DIRECTIVE_REGEX); var directive = match ? match[1] : void 0; return (0, utilities_1.formatDOM)((0, domparser_1.default)(html), null, directive); } } }); // node_modules/react-property/lib/possibleStandardNamesOptimized.js var require_possibleStandardNamesOptimized = __commonJS({ "node_modules/react-property/lib/possibleStandardNamesOptimized.js"(exports) { var SAME = 0; exports.SAME = SAME; var CAMELCASE = 1; exports.CAMELCASE = CAMELCASE; exports.possibleStandardNames = { accept: 0, acceptCharset: 1, "accept-charset": "acceptCharset", accessKey: 1, action: 0, allowFullScreen: 1, alt: 0, as: 0, async: 0, autoCapitalize: 1, autoComplete: 1, autoCorrect: 1, autoFocus: 1, autoPlay: 1, autoSave: 1, capture: 0, cellPadding: 1, cellSpacing: 1, challenge: 0, charSet: 1, checked: 0, children: 0, cite: 0, class: "className", classID: 1, className: 1, cols: 0, colSpan: 1, content: 0, contentEditable: 1, contextMenu: 1, controls: 0, controlsList: 1, coords: 0, crossOrigin: 1, dangerouslySetInnerHTML: 1, data: 0, dateTime: 1, default: 0, defaultChecked: 1, defaultValue: 1, defer: 0, dir: 0, disabled: 0, disablePictureInPicture: 1, disableRemotePlayback: 1, download: 0, draggable: 0, encType: 1, enterKeyHint: 1, for: "htmlFor", form: 0, formMethod: 1, formAction: 1, formEncType: 1, formNoValidate: 1, formTarget: 1, frameBorder: 1, headers: 0, height: 0, hidden: 0, high: 0, href: 0, hrefLang: 1, htmlFor: 1, httpEquiv: 1, "http-equiv": "httpEquiv", icon: 0, id: 0, innerHTML: 1, inputMode: 1, integrity: 0, is: 0, itemID: 1, itemProp: 1, itemRef: 1, itemScope: 1, itemType: 1, keyParams: 1, keyType: 1, kind: 0, label: 0, lang: 0, list: 0, loop: 0, low: 0, manifest: 0, marginWidth: 1, marginHeight: 1, max: 0, maxLength: 1, media: 0, mediaGroup: 1, method: 0, min: 0, minLength: 1, multiple: 0, muted: 0, name: 0, noModule: 1, nonce: 0, noValidate: 1, open: 0, optimum: 0, pattern: 0, placeholder: 0, playsInline: 1, poster: 0, preload: 0, profile: 0, radioGroup: 1, readOnly: 1, referrerPolicy: 1, rel: 0, required: 0, reversed: 0, role: 0, rows: 0, rowSpan: 1, sandbox: 0, scope: 0, scoped: 0, scrolling: 0, seamless: 0, selected: 0, shape: 0, size: 0, sizes: 0, span: 0, spellCheck: 1, src: 0, srcDoc: 1, srcLang: 1, srcSet: 1, start: 0, step: 0, style: 0, summary: 0, tabIndex: 1, target: 0, title: 0, type: 0, useMap: 1, value: 0, width: 0, wmode: 0, wrap: 0, about: 0, accentHeight: 1, "accent-height": "accentHeight", accumulate: 0, additive: 0, alignmentBaseline: 1, "alignment-baseline": "alignmentBaseline", allowReorder: 1, alphabetic: 0, amplitude: 0, arabicForm: 1, "arabic-form": "arabicForm", ascent: 0, attributeName: 1, attributeType: 1, autoReverse: 1, azimuth: 0, baseFrequency: 1, baselineShift: 1, "baseline-shift": "baselineShift", baseProfile: 1, bbox: 0, begin: 0, bias: 0, by: 0, calcMode: 1, capHeight: 1, "cap-height": "capHeight", clip: 0, clipPath: 1, "clip-path": "clipPath", clipPathUnits: 1, clipRule: 1, "clip-rule": "clipRule", color: 0, colorInterpolation: 1, "color-interpolation": "colorInterpolation", colorInterpolationFilters: 1, "color-interpolation-filters": "colorInterpolationFilters", colorProfile: 1, "color-profile": "colorProfile", colorRendering: 1, "color-rendering": "colorRendering", contentScriptType: 1, contentStyleType: 1, cursor: 0, cx: 0, cy: 0, d: 0, datatype: 0, decelerate: 0, descent: 0, diffuseConstant: 1, direction: 0, display: 0, divisor: 0, dominantBaseline: 1, "dominant-baseline": "dominantBaseline", dur: 0, dx: 0, dy: 0, edgeMode: 1, elevation: 0, enableBackground: 1, "enable-background": "enableBackground", end: 0, exponent: 0, externalResourcesRequired: 1, fill: 0, fillOpacity: 1, "fill-opacity": "fillOpacity", fillRule: 1, "fill-rule": "fillRule", filter: 0, filterRes: 1, filterUnits: 1, floodOpacity: 1, "flood-opacity": "floodOpacity", floodColor: 1, "flood-color": "floodColor", focusable: 0, fontFamily: 1, "font-family": "fontFamily", fontSize: 1, "font-size": "fontSize", fontSizeAdjust: 1, "font-size-adjust": "fontSizeAdjust", fontStretch: 1, "font-stretch": "fontStretch", fontStyle: 1, "font-style": "fontStyle", fontVariant: 1, "font-variant": "fontVariant", fontWeight: 1, "font-weight": "fontWeight", format: 0, from: 0, fx: 0, fy: 0, g1: 0, g2: 0, glyphName: 1, "glyph-name": "glyphName", glyphOrientationHorizontal: 1, "glyph-orientation-horizontal": "glyphOrientationHorizontal", glyphOrientationVertical: 1, "glyph-orientation-vertical": "glyphOrientationVertical", glyphRef: 1, gradientTransform: 1, gradientUnits: 1, hanging: 0, horizAdvX: 1, "horiz-adv-x": "horizAdvX", horizOriginX: 1, "horiz-origin-x": "horizOriginX", ideographic: 0, imageRendering: 1, "image-rendering": "imageRendering", in2: 0, in: 0, inlist: 0, intercept: 0, k1: 0, k2: 0, k3: 0, k4: 0, k: 0, kernelMatrix: 1, kernelUnitLength: 1, kerning: 0, keyPoints: 1, keySplines: 1, keyTimes: 1, lengthAdjust: 1, letterSpacing: 1, "letter-spacing": "letterSpacing", lightingColor: 1, "lighting-color": "lightingColor", limitingConeAngle: 1, local: 0, markerEnd: 1, "marker-end": "markerEnd", markerHeight: 1, markerMid: 1, "marker-mid": "markerMid", markerStart: 1, "marker-start": "markerStart", markerUnits: 1, markerWidth: 1, mask: 0, maskContentUnits: 1, maskUnits: 1, mathematical: 0, mode: 0, numOctaves: 1, offset: 0, opacity: 0, operator: 0, order: 0, orient: 0, orientation: 0, origin: 0, overflow: 0, overlinePosition: 1, "overline-position": "overlinePosition", overlineThickness: 1, "overline-thickness": "overlineThickness", paintOrder: 1, "paint-order": "paintOrder", panose1: 0, "panose-1": "panose1", pathLength: 1, patternContentUnits: 1, patternTransform: 1, patternUnits: 1, pointerEvents: 1, "pointer-events": "pointerEvents", points: 0, pointsAtX: 1, pointsAtY: 1, pointsAtZ: 1, prefix: 0, preserveAlpha: 1, preserveAspectRatio: 1, primitiveUnits: 1, property: 0, r: 0, radius: 0, refX: 1, refY: 1, renderingIntent: 1, "rendering-intent": "renderingIntent", repeatCount: 1, repeatDur: 1, requiredExtensions: 1, requiredFeatures: 1, resource: 0, restart: 0, result: 0, results: 0, rotate: 0, rx: 0, ry: 0, scale: 0, security: 0, seed: 0, shapeRendering: 1, "shape-rendering": "shapeRendering", slope: 0, spacing: 0, specularConstant: 1, specularExponent: 1, speed: 0, spreadMethod: 1, startOffset: 1, stdDeviation: 1, stemh: 0, stemv: 0, stitchTiles: 1, stopColor: 1, "stop-color": "stopColor", stopOpacity: 1, "stop-opacity": "stopOpacity", strikethroughPosition: 1, "strikethrough-position": "strikethroughPosition", strikethroughThickness: 1, "strikethrough-thickness": "strikethroughThickness", string: 0, stroke: 0, strokeDasharray: 1, "stroke-dasharray": "strokeDasharray", strokeDashoffset: 1, "stroke-dashoffset": "strokeDashoffset", strokeLinecap: 1, "stroke-linecap": "strokeLinecap", strokeLinejoin: 1, "stroke-linejoin": "strokeLinejoin", strokeMiterlimit: 1, "stroke-miterlimit": "strokeMiterlimit", strokeWidth: 1, "stroke-width": "strokeWidth", strokeOpacity: 1, "stroke-opacity": "strokeOpacity", suppressContentEditableWarning: 1, suppressHydrationWarning: 1, surfaceScale: 1, systemLanguage: 1, tableValues: 1, targetX: 1, targetY: 1, textAnchor: 1, "text-anchor": "textAnchor", textDecoration: 1, "text-decoration": "textDecoration", textLength: 1, textRendering: 1, "text-rendering": "textRendering", to: 0, transform: 0, typeof: 0, u1: 0, u2: 0, underlinePosition: 1, "underline-position": "underlinePosition", underlineThickness: 1, "underline-thickness": "underlineThickness", unicode: 0, unicodeBidi: 1, "unicode-bidi": "unicodeBidi", unicodeRange: 1, "unicode-range": "unicodeRange", unitsPerEm: 1, "units-per-em": "unitsPerEm", unselectable: 0, vAlphabetic: 1, "v-alphabetic": "vAlphabetic", values: 0, vectorEffect: 1, "vector-effect": "vectorEffect", version: 0, vertAdvY: 1, "vert-adv-y": "vertAdvY", vertOriginX: 1, "vert-origin-x": "vertOriginX", vertOriginY: 1, "vert-origin-y": "vertOriginY", vHanging: 1, "v-hanging": "vHanging", vIdeographic: 1, "v-ideographic": "vIdeographic", viewBox: 1, viewTarget: 1, visibility: 0, vMathematical: 1, "v-mathematical": "vMathematical", vocab: 0, widths: 0, wordSpacing: 1, "word-spacing": "wordSpacing", writingMode: 1, "writing-mode": "writingMode", x1: 0, x2: 0, x: 0, xChannelSelector: 1, xHeight: 1, "x-height": "xHeight", xlinkActuate: 1, "xlink:actuate": "xlinkActuate", xlinkArcrole: 1, "xlink:arcrole": "xlinkArcrole", xlinkHref: 1, "xlink:href": "xlinkHref", xlinkRole: 1, "xlink:role": "xlinkRole", xlinkShow: 1, "xlink:show": "xlinkShow", xlinkTitle: 1, "xlink:title": "xlinkTitle", xlinkType: 1, "xlink:type": "xlinkType", xmlBase: 1, "xml:base": "xmlBase", xmlLang: 1, "xml:lang": "xmlLang", xmlns: 0, "xml:space": "xmlSpace", xmlnsXlink: 1, "xmlns:xlink": "xmlnsXlink", xmlSpace: 1, y1: 0, y2: 0, y: 0, yChannelSelector: 1, z: 0, zoomAndPan: 1 }; } }); // node_modules/react-property/lib/index.js var require_lib3 = __commonJS({ "node_modules/react-property/lib/index.js"(exports) { "use strict"; var RESERVED = 0; var STRING = 1; var BOOLEANISH_STRING = 2; var BOOLEAN = 3; var OVERLOADED_BOOLEAN = 4; var NUMERIC = 5; var POSITIVE_NUMERIC = 6; function getPropertyInfo(name122) { return properties.hasOwnProperty(name122) ? properties[name122] : null; } function PropertyInfoRecord(name122, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) { this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN; this.attributeName = attributeName; this.attributeNamespace = attributeNamespace; this.mustUseProperty = mustUseProperty; this.propertyName = name122; this.type = type; this.sanitizeURL = sanitizeURL; this.removeEmptyString = removeEmptyString; } var properties = {}; var reservedProps = [ "children", "dangerouslySetInnerHTML", // TODO: This prevents the assignment of defaultValue to regular // elements (not just inputs). Now that ReactDOMInput assigns to the // defaultValue property -- do we need this? "defaultValue", "defaultChecked", "innerHTML", "suppressContentEditableWarning", "suppressHydrationWarning", "style" ]; reservedProps.forEach((name122) => { properties[name122] = new PropertyInfoRecord( name122, RESERVED, false, // mustUseProperty name122, // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); [ ["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"] ].forEach(([name122, attributeName]) => { properties[name122] = new PropertyInfoRecord( name122, STRING, false, // mustUseProperty attributeName, // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach((name122) => { properties[name122] = new PropertyInfoRecord( name122, BOOLEANISH_STRING, false, // mustUseProperty name122.toLowerCase(), // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); [ "autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha" ].forEach((name122) => { properties[name122] = new PropertyInfoRecord( name122, BOOLEANISH_STRING, false, // mustUseProperty name122, // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); [ "allowFullScreen", "async", // Note: there is a special case that prevents it from being written to the DOM // on the client side because the browsers are inconsistent. Instead we call focus(). "autoFocus", "autoPlay", "controls", "default", "defer", "disabled", "disablePictureInPicture", "disableRemotePlayback", "formNoValidate", "hidden", "loop", "noModule", "noValidate", "open", "playsInline", "readOnly", "required", "reversed", "scoped", "seamless", // Microdata "itemScope" ].forEach((name122) => { properties[name122] = new PropertyInfoRecord( name122, BOOLEAN, false, // mustUseProperty name122.toLowerCase(), // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); [ "checked", // Note: `option.selected` is not updated if `select.multiple` is // disabled with `removeAttribute`. We have special logic for handling this. "multiple", "muted", "selected" // NOTE: if you add a camelCased prop to this list, // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach((name122) => { properties[name122] = new PropertyInfoRecord( name122, BOOLEAN, true, // mustUseProperty name122, // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); [ "capture", "download" // NOTE: if you add a camelCased prop to this list, // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach((name122) => { properties[name122] = new PropertyInfoRecord( name122, OVERLOADED_BOOLEAN, false, // mustUseProperty name122, // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); [ "cols", "rows", "size", "span" // NOTE: if you add a camelCased prop to this list, // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach((name122) => { properties[name122] = new PropertyInfoRecord( name122, POSITIVE_NUMERIC, false, // mustUseProperty name122, // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); ["rowSpan", "start"].forEach((name122) => { properties[name122] = new PropertyInfoRecord( name122, NUMERIC, false, // mustUseProperty name122.toLowerCase(), // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); var CAMELIZE = /[\-\:]([a-z])/g; var capitalize2 = (token) => token[1].toUpperCase(); [ "accent-height", "alignment-baseline", "arabic-form", "baseline-shift", "cap-height", "clip-path", "clip-rule", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "dominant-baseline", "enable-background", "fill-opacity", "fill-rule", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "glyph-name", "glyph-orientation-horizontal", "glyph-orientation-vertical", "horiz-adv-x", "horiz-origin-x", "image-rendering", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "overline-position", "overline-thickness", "paint-order", "panose-1", "pointer-events", "rendering-intent", "shape-rendering", "stop-color", "stop-opacity", "strikethrough-position", "strikethrough-thickness", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-anchor", "text-decoration", "text-rendering", "underline-position", "underline-thickness", "unicode-bidi", "unicode-range", "units-per-em", "v-alphabetic", "v-hanging", "v-ideographic", "v-mathematical", "vector-effect", "vert-adv-y", "vert-origin-x", "vert-origin-y", "word-spacing", "writing-mode", "xmlns:xlink", "x-height" // NOTE: if you add a camelCased prop to this list, // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach((attributeName) => { const name122 = attributeName.replace(CAMELIZE, capitalize2); properties[name122] = new PropertyInfoRecord( name122, STRING, false, // mustUseProperty attributeName, null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); [ "xlink:actuate", "xlink:arcrole", "xlink:role", "xlink:show", "xlink:title", "xlink:type" // NOTE: if you add a camelCased prop to this list, // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach((attributeName) => { const name122 = attributeName.replace(CAMELIZE, capitalize2); properties[name122] = new PropertyInfoRecord( name122, STRING, false, // mustUseProperty attributeName, "http://www.w3.org/1999/xlink", false, // sanitizeURL false // removeEmptyString ); }); [ "xml:base", "xml:lang", "xml:space" // NOTE: if you add a camelCased prop to this list, // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach((attributeName) => { const name122 = attributeName.replace(CAMELIZE, capitalize2); properties[name122] = new PropertyInfoRecord( name122, STRING, false, // mustUseProperty attributeName, "http://www.w3.org/XML/1998/namespace", false, // sanitizeURL false // removeEmptyString ); }); ["tabIndex", "crossOrigin"].forEach((attributeName) => { properties[attributeName] = new PropertyInfoRecord( attributeName, STRING, false, // mustUseProperty attributeName.toLowerCase(), // attributeName null, // attributeNamespace false, // sanitizeURL false // removeEmptyString ); }); var xlinkHref = "xlinkHref"; properties[xlinkHref] = new PropertyInfoRecord( "xlinkHref", STRING, false, // mustUseProperty "xlink:href", "http://www.w3.org/1999/xlink", true, // sanitizeURL false // removeEmptyString ); ["src", "href", "action", "formAction"].forEach((attributeName) => { properties[attributeName] = new PropertyInfoRecord( attributeName, STRING, false, // mustUseProperty attributeName.toLowerCase(), // attributeName null, // attributeNamespace true, // sanitizeURL true // removeEmptyString ); }); var { CAMELCASE, SAME, possibleStandardNames: possibleStandardNamesOptimized } = require_possibleStandardNamesOptimized(); var ATTRIBUTE_NAME_START_CHAR = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"; var ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040"; var isCustomAttribute = RegExp.prototype.test.bind( // eslint-disable-next-line no-misleading-character-class new RegExp("^(data|aria)-[" + ATTRIBUTE_NAME_CHAR + "]*$") ); var possibleStandardNames = Object.keys( possibleStandardNamesOptimized ).reduce((accumulator, standardName) => { const propName = possibleStandardNamesOptimized[standardName]; if (propName === SAME) { accumulator[standardName] = standardName; } else if (propName === CAMELCASE) { accumulator[standardName.toLowerCase()] = standardName; } else { accumulator[standardName] = propName; } return accumulator; }, {}); exports.BOOLEAN = BOOLEAN; exports.BOOLEANISH_STRING = BOOLEANISH_STRING; exports.NUMERIC = NUMERIC; exports.OVERLOADED_BOOLEAN = OVERLOADED_BOOLEAN; exports.POSITIVE_NUMERIC = POSITIVE_NUMERIC; exports.RESERVED = RESERVED; exports.STRING = STRING; exports.getPropertyInfo = getPropertyInfo; exports.isCustomAttribute = isCustomAttribute; exports.possibleStandardNames = possibleStandardNames; } }); // vendor-external:react var require_react = __commonJS({ "vendor-external:react"(exports, module) { module.exports = window.React; } }); // node_modules/inline-style-parser/cjs/index.js var require_cjs = __commonJS({ "node_modules/inline-style-parser/cjs/index.js"(exports, module) { "use strict"; var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g; var NEWLINE_REGEX = /\n/g; var WHITESPACE_REGEX = /^\s*/; var PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/; var COLON_REGEX = /^:\s*/; var VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/; var SEMICOLON_REGEX = /^[;\s]*/; var TRIM_REGEX = /^\s+|\s+$/g; var NEWLINE = "\n"; var FORWARD_SLASH = "/"; var ASTERISK = "*"; var EMPTY_STRING = ""; var TYPE_COMMENT = "comment"; var TYPE_DECLARATION = "declaration"; function index(style2, options2) { if (typeof style2 !== "string") { throw new TypeError("First argument must be a string"); } if (!style2) return []; options2 = options2 || {}; var lineno = 1; var column = 1; function updatePosition(str) { var lines = str.match(NEWLINE_REGEX); if (lines) lineno += lines.length; var i2 = str.lastIndexOf(NEWLINE); column = ~i2 ? str.length - i2 : column + str.length; } function position() { var start = { line: lineno, column }; return function(node) { node.position = new Position(start); whitespace(); return node; }; } function Position(start) { this.start = start; this.end = { line: lineno, column }; this.source = options2.source; } Position.prototype.content = style2; function error2(msg) { var err = new Error( options2.source + ":" + lineno + ":" + column + ": " + msg ); err.reason = msg; err.filename = options2.source; err.line = lineno; err.column = column; err.source = style2; if (options2.silent) ; else { throw err; } } function match(re) { var m3 = re.exec(style2); if (!m3) return; var str = m3[0]; updatePosition(str); style2 = style2.slice(str.length); return m3; } function whitespace() { match(WHITESPACE_REGEX); } function comments(rules) { var c2; rules = rules || []; while (c2 = comment()) { if (c2 !== false) { rules.push(c2); } } return rules; } function comment() { var pos = position(); if (FORWARD_SLASH != style2.charAt(0) || ASTERISK != style2.charAt(1)) return; var i2 = 2; while (EMPTY_STRING != style2.charAt(i2) && (ASTERISK != style2.charAt(i2) || FORWARD_SLASH != style2.charAt(i2 + 1))) { ++i2; } i2 += 2; if (EMPTY_STRING === style2.charAt(i2 - 1)) { return error2("End of comment missing"); } var str = style2.slice(2, i2 - 2); column += 2; updatePosition(str); style2 = style2.slice(i2); column += 2; return pos({ type: TYPE_COMMENT, comment: str }); } function declaration() { var pos = position(); var prop = match(PROPERTY_REGEX); if (!prop) return; comment(); if (!match(COLON_REGEX)) return error2("property missing ':'"); var val = match(VALUE_REGEX); var ret = pos({ type: TYPE_DECLARATION, property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)), value: val ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING)) : EMPTY_STRING }); match(SEMICOLON_REGEX); return ret; } function declarations() { var decls = []; comments(decls); var decl; while (decl = declaration()) { if (decl !== false) { decls.push(decl); comments(decls); } } return decls; } whitespace(); return declarations(); } function trim(str) { return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING; } module.exports = index; } }); // node_modules/style-to-object/cjs/index.js var require_cjs2 = __commonJS({ "node_modules/style-to-object/cjs/index.js"(exports) { "use strict"; var __importDefault = exports && exports.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = StyleToObject; var inline_style_parser_1 = __importDefault(require_cjs()); function StyleToObject(style2, iterator) { let styleObject = null; if (!style2 || typeof style2 !== "string") { return styleObject; } const declarations = (0, inline_style_parser_1.default)(style2); const hasIterator = typeof iterator === "function"; declarations.forEach((declaration) => { if (declaration.type !== "declaration") { return; } const { property, value } = declaration; if (hasIterator) { iterator(property, value, declaration); } else if (value) { styleObject = styleObject || {}; styleObject[property] = value; } }); return styleObject; } } }); // node_modules/style-to-js/cjs/utilities.js var require_utilities2 = __commonJS({ "node_modules/style-to-js/cjs/utilities.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.camelCase = void 0; var CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9_-]+$/; var HYPHEN_REGEX = /-([a-z])/g; var NO_HYPHEN_REGEX = /^[^-]+$/; var VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/; var MS_VENDOR_PREFIX_REGEX = /^-(ms)-/; var skipCamelCase = function(property) { return !property || NO_HYPHEN_REGEX.test(property) || CUSTOM_PROPERTY_REGEX.test(property); }; var capitalize2 = function(match, character) { return character.toUpperCase(); }; var trimHyphen = function(match, prefix) { return "".concat(prefix, "-"); }; var camelCase = function(property, options2) { if (options2 === void 0) { options2 = {}; } if (skipCamelCase(property)) { return property; } property = property.toLowerCase(); if (options2.reactCompat) { property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen); } else { property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen); } return property.replace(HYPHEN_REGEX, capitalize2); }; exports.camelCase = camelCase; } }); // node_modules/style-to-js/cjs/index.js var require_cjs3 = __commonJS({ "node_modules/style-to-js/cjs/index.js"(exports, module) { "use strict"; var __importDefault = exports && exports.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; var style_to_object_1 = __importDefault(require_cjs2()); var utilities_1 = require_utilities2(); function StyleToJS(style2, options2) { var output = {}; if (!style2 || typeof style2 !== "string") { return output; } (0, style_to_object_1.default)(style2, function(property, value) { if (property && value) { output[(0, utilities_1.camelCase)(property, options2)] = value; } }); return output; } StyleToJS.default = StyleToJS; module.exports = StyleToJS; } }); // node_modules/html-react-parser/lib/utilities.js var require_utilities3 = __commonJS({ "node_modules/html-react-parser/lib/utilities.js"(exports) { "use strict"; var __importDefault = exports && exports.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.returnFirstArg = exports.canTextBeChildOfNode = exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = exports.PRESERVE_CUSTOM_ATTRIBUTES = void 0; exports.isCustomComponent = isCustomComponent; exports.setStyleProp = setStyleProp; var react_1 = require_react(); var style_to_js_1 = __importDefault(require_cjs3()); var RESERVED_SVG_MATHML_ELEMENTS = /* @__PURE__ */ new Set([ "annotation-xml", "color-profile", "font-face", "font-face-src", "font-face-uri", "font-face-format", "font-face-name", "missing-glyph" ]); function isCustomComponent(tagName, props) { if (!tagName.includes("-")) { return Boolean(props && typeof props.is === "string"); } if (RESERVED_SVG_MATHML_ELEMENTS.has(tagName)) { return false; } return true; } var styleOptions = { reactCompat: true }; function setStyleProp(style2, props) { if (typeof style2 !== "string") { return; } if (!style2.trim()) { props.style = {}; return; } try { props.style = (0, style_to_js_1.default)(style2, styleOptions); } catch (error2) { props.style = {}; } } exports.PRESERVE_CUSTOM_ATTRIBUTES = Number(react_1.version.split(".")[0]) >= 16; exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = /* @__PURE__ */ new Set([ "tr", "tbody", "thead", "tfoot", "colgroup", "table", "head", "html", "frameset" ]); var canTextBeChildOfNode = function(node) { return !exports.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(node.name); }; exports.canTextBeChildOfNode = canTextBeChildOfNode; var returnFirstArg = function(arg) { return arg; }; exports.returnFirstArg = returnFirstArg; } }); // node_modules/html-react-parser/lib/attributes-to-props.js var require_attributes_to_props = __commonJS({ "node_modules/html-react-parser/lib/attributes-to-props.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = attributesToProps2; var react_property_1 = require_lib3(); var utilities_1 = require_utilities3(); var UNCONTROLLED_COMPONENT_ATTRIBUTES = ["checked", "value"]; var UNCONTROLLED_COMPONENT_NAMES = ["input", "select", "textarea"]; var valueOnlyInputs = { reset: true, submit: true }; function attributesToProps2(attributes, nodeName) { if (attributes === void 0) { attributes = {}; } var props = {}; var isInputValueOnly = Boolean(attributes.type && valueOnlyInputs[attributes.type]); for (var attributeName in attributes) { var attributeValue = attributes[attributeName]; if ((0, react_property_1.isCustomAttribute)(attributeName)) { props[attributeName] = attributeValue; continue; } var attributeNameLowerCased = attributeName.toLowerCase(); var propName = getPropName(attributeNameLowerCased); if (propName) { var propertyInfo = (0, react_property_1.getPropertyInfo)(propName); if (UNCONTROLLED_COMPONENT_ATTRIBUTES.includes(propName) && UNCONTROLLED_COMPONENT_NAMES.includes(nodeName) && !isInputValueOnly) { propName = getPropName("default" + attributeNameLowerCased); } props[propName] = attributeValue; switch (propertyInfo && propertyInfo.type) { case react_property_1.BOOLEAN: props[propName] = true; break; case react_property_1.OVERLOADED_BOOLEAN: if (attributeValue === "") { props[propName] = true; } break; } continue; } if (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES) { props[attributeName] = attributeValue; } } (0, utilities_1.setStyleProp)(attributes.style, props); return props; } function getPropName(attributeName) { return react_property_1.possibleStandardNames[attributeName]; } } }); // node_modules/html-react-parser/lib/dom-to-react.js var require_dom_to_react = __commonJS({ "node_modules/html-react-parser/lib/dom-to-react.js"(exports) { "use strict"; var __importDefault = exports && exports.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = domToReact2; var react_1 = require_react(); var attributes_to_props_1 = __importDefault(require_attributes_to_props()); var utilities_1 = require_utilities3(); var React31 = { cloneElement: react_1.cloneElement, createElement: react_1.createElement, isValidElement: react_1.isValidElement }; function domToReact2(nodes, options2) { if (options2 === void 0) { options2 = {}; } var reactElements = []; var hasReplace = typeof options2.replace === "function"; var transform = options2.transform || utilities_1.returnFirstArg; var _a = options2.library || React31, cloneElement3 = _a.cloneElement, createElement3 = _a.createElement, isValidElement3 = _a.isValidElement; var nodesLength = nodes.length; for (var index = 0; index < nodesLength; index++) { var node = nodes[index]; if (hasReplace) { var replaceElement = options2.replace(node, index); if (isValidElement3(replaceElement)) { if (nodesLength > 1) { replaceElement = cloneElement3(replaceElement, { key: replaceElement.key || index }); } reactElements.push(transform(replaceElement, node, index)); continue; } } if (node.type === "text") { var isWhitespace = !node.data.trim().length; if (isWhitespace && node.parent && !(0, utilities_1.canTextBeChildOfNode)(node.parent)) { continue; } if (options2.trim && isWhitespace) { continue; } reactElements.push(transform(node.data, node, index)); continue; } var element = node; var props = {}; if (skipAttributesToProps(element)) { (0, utilities_1.setStyleProp)(element.attribs.style, element.attribs); props = element.attribs; } else if (element.attribs) { props = (0, attributes_to_props_1.default)(element.attribs, element.name); } var children = void 0; switch (node.type) { case "script": case "style": if (node.children[0]) { props.dangerouslySetInnerHTML = { __html: node.children[0].data }; } break; case "tag": if (node.name === "textarea" && node.children[0]) { props.defaultValue = node.children[0].data; } else if (node.children && node.children.length) { children = domToReact2(node.children, options2); } break; // skip all other cases (e.g., comment) default: continue; } if (nodesLength > 1) { props.key = index; } reactElements.push(transform(createElement3(node.name, props, children), node, index)); } return reactElements.length === 1 ? reactElements[0] : reactElements; } function skipAttributesToProps(node) { return utilities_1.PRESERVE_CUSTOM_ATTRIBUTES && node.type === "tag" && (0, utilities_1.isCustomComponent)(node.name, node.attribs); } } }); // node_modules/html-react-parser/lib/index.js var require_lib4 = __commonJS({ "node_modules/html-react-parser/lib/index.js"(exports) { "use strict"; var __importDefault = exports && exports.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.htmlToDOM = exports.domToReact = exports.attributesToProps = exports.Text = exports.ProcessingInstruction = exports.Element = exports.Comment = void 0; exports.default = HTMLReactParser2; var html_dom_parser_1 = __importDefault(require_html_to_dom()); exports.htmlToDOM = html_dom_parser_1.default; var attributes_to_props_1 = __importDefault(require_attributes_to_props()); exports.attributesToProps = attributes_to_props_1.default; var dom_to_react_1 = __importDefault(require_dom_to_react()); exports.domToReact = dom_to_react_1.default; var domhandler_1 = require_lib2(); Object.defineProperty(exports, "Comment", { enumerable: true, get: function() { return domhandler_1.Comment; } }); Object.defineProperty(exports, "Element", { enumerable: true, get: function() { return domhandler_1.Element; } }); Object.defineProperty(exports, "ProcessingInstruction", { enumerable: true, get: function() { return domhandler_1.ProcessingInstruction; } }); Object.defineProperty(exports, "Text", { enumerable: true, get: function() { return domhandler_1.Text; } }); var domParserOptions = { lowerCaseAttributeNames: false }; function HTMLReactParser2(html, options2) { if (typeof html !== "string") { throw new TypeError("First argument must be a string"); } if (!html) { return []; } return (0, dom_to_react_1.default)((0, html_dom_parser_1.default)(html, (options2 === null || options2 === void 0 ? void 0 : options2.htmlparser2) || domParserOptions), options2); } } }); // package-external:@wordpress/dom var require_dom = __commonJS({ "package-external:@wordpress/dom"(exports, module) { module.exports = window.wp.dom; } }); // vendor-external:react/jsx-runtime var require_jsx_runtime = __commonJS({ "vendor-external:react/jsx-runtime"(exports, module) { module.exports = window.ReactJSXRuntime; } }); // package-external:@wordpress/element var require_element = __commonJS({ "package-external:@wordpress/element"(exports, module) { module.exports = window.wp.element; } }); // package-external:@wordpress/primitives var require_primitives = __commonJS({ "package-external:@wordpress/primitives"(exports, module) { module.exports = window.wp.primitives; } }); // package-external:@wordpress/components var require_components = __commonJS({ "package-external:@wordpress/components"(exports, module) { module.exports = window.wp.components; } }); // package-external:@wordpress/blob var require_blob = __commonJS({ "package-external:@wordpress/blob"(exports, module) { module.exports = window.wp.blob; } }); // package-external:@wordpress/core-data var require_core_data = __commonJS({ "package-external:@wordpress/core-data"(exports, module) { module.exports = window.wp.coreData; } }); // package-external:@wordpress/url var require_url = __commonJS({ "package-external:@wordpress/url"(exports, module) { module.exports = window.wp.url; } }); // package-external:@wordpress/html-entities var require_html_entities = __commonJS({ "package-external:@wordpress/html-entities"(exports, module) { module.exports = window.wp.htmlEntities; } }); // package-external:@wordpress/notices var require_notices = __commonJS({ "package-external:@wordpress/notices"(exports, module) { module.exports = window.wp.notices; } }); // package-external:@wordpress/private-apis var require_private_apis = __commonJS({ "package-external:@wordpress/private-apis"(exports, module) { module.exports = window.wp.privateApis; } }); // package-external:@wordpress/keycodes var require_keycodes = __commonJS({ "package-external:@wordpress/keycodes"(exports, module) { module.exports = window.wp.keycodes; } }); // vendor-external:react-dom var require_react_dom = __commonJS({ "vendor-external:react-dom"(exports, module) { module.exports = window.ReactDOM; } }); // node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js var require_use_sync_external_store_shim_development = __commonJS({ "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"(exports) { "use strict"; (function() { function is(x3, y2) { return x3 === y2 && (0 !== x3 || 1 / x3 === 1 / y2) || x3 !== x3 && y2 !== y2; } function useSyncExternalStore$2(subscribe2, getSnapshot2) { didWarnOld18Alpha || void 0 === React31.startTransition || (didWarnOld18Alpha = true, console.error( "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release." )); var value = getSnapshot2(); if (!didWarnUncachedGetSnapshot) { var cachedValue = getSnapshot2(); objectIs(value, cachedValue) || (console.error( "The result of getSnapshot should be cached to avoid an infinite loop" ), didWarnUncachedGetSnapshot = true); } cachedValue = useState87({ inst: { value, getSnapshot: getSnapshot2 } }); var inst = cachedValue[0].inst, forceUpdate = cachedValue[1]; useLayoutEffect5( function() { inst.value = value; inst.getSnapshot = getSnapshot2; checkIfSnapshotChanged(inst) && forceUpdate({ inst }); }, [subscribe2, value, getSnapshot2] ); useEffect69( function() { checkIfSnapshotChanged(inst) && forceUpdate({ inst }); return subscribe2(function() { checkIfSnapshotChanged(inst) && forceUpdate({ inst }); }); }, [subscribe2] ); useDebugValue(value); return value; } function checkIfSnapshotChanged(inst) { var latestGetSnapshot = inst.getSnapshot; inst = inst.value; try { var nextValue = latestGetSnapshot(); return !objectIs(inst, nextValue); } catch (error2) { return true; } } function useSyncExternalStore$1(subscribe2, getSnapshot2) { return getSnapshot2(); } "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); var React31 = require_react(), objectIs = "function" === typeof Object.is ? Object.is : is, useState87 = React31.useState, useEffect69 = React31.useEffect, useLayoutEffect5 = React31.useLayoutEffect, useDebugValue = React31.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2; exports.useSyncExternalStore = void 0 !== React31.useSyncExternalStore ? React31.useSyncExternalStore : shim; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); })(); } }); // node_modules/use-sync-external-store/shim/index.js var require_shim = __commonJS({ "node_modules/use-sync-external-store/shim/index.js"(exports, module) { "use strict"; if (false) { module.exports = null; } else { module.exports = require_use_sync_external_store_shim_development(); } } }); // package-external:@wordpress/a11y var require_a11y = __commonJS({ "package-external:@wordpress/a11y"(exports, module) { module.exports = window.wp.a11y; } }); // package-external:@wordpress/deprecated var require_deprecated = __commonJS({ "package-external:@wordpress/deprecated"(exports, module) { module.exports = window.wp.deprecated; } }); // package-external:@wordpress/rich-text var require_rich_text = __commonJS({ "package-external:@wordpress/rich-text"(exports, module) { module.exports = window.wp.richText; } }); // package-external:@wordpress/date var require_date = __commonJS({ "package-external:@wordpress/date"(exports, module) { module.exports = window.wp.date; } }); // package-external:@wordpress/api-fetch var require_api_fetch = __commonJS({ "package-external:@wordpress/api-fetch"(exports, module) { module.exports = window.wp.apiFetch; } }); // package-external:@wordpress/hooks var require_hooks = __commonJS({ "package-external:@wordpress/hooks"(exports, module) { module.exports = window.wp.hooks; } }); // node_modules/remove-accents/index.js var require_remove_accents = __commonJS({ "node_modules/remove-accents/index.js"(exports, module) { var characterMap = { "\xC0": "A", "\xC1": "A", "\xC2": "A", "\xC3": "A", "\xC4": "A", "\xC5": "A", "\u1EA4": "A", "\u1EAE": "A", "\u1EB2": "A", "\u1EB4": "A", "\u1EB6": "A", "\xC6": "AE", "\u1EA6": "A", "\u1EB0": "A", "\u0202": "A", "\u1EA2": "A", "\u1EA0": "A", "\u1EA8": "A", "\u1EAA": "A", "\u1EAC": "A", "\xC7": "C", "\u1E08": "C", "\xC8": "E", "\xC9": "E", "\xCA": "E", "\xCB": "E", "\u1EBE": "E", "\u1E16": "E", "\u1EC0": "E", "\u1E14": "E", "\u1E1C": "E", "\u0206": "E", "\u1EBA": "E", "\u1EBC": "E", "\u1EB8": "E", "\u1EC2": "E", "\u1EC4": "E", "\u1EC6": "E", "\xCC": "I", "\xCD": "I", "\xCE": "I", "\xCF": "I", "\u1E2E": "I", "\u020A": "I", "\u1EC8": "I", "\u1ECA": "I", "\xD0": "D", "\xD1": "N", "\xD2": "O", "\xD3": "O", "\xD4": "O", "\xD5": "O", "\xD6": "O", "\xD8": "O", "\u1ED0": "O", "\u1E4C": "O", "\u1E52": "O", "\u020E": "O", "\u1ECE": "O", "\u1ECC": "O", "\u1ED4": "O", "\u1ED6": "O", "\u1ED8": "O", "\u1EDC": "O", "\u1EDE": "O", "\u1EE0": "O", "\u1EDA": "O", "\u1EE2": "O", "\xD9": "U", "\xDA": "U", "\xDB": "U", "\xDC": "U", "\u1EE6": "U", "\u1EE4": "U", "\u1EEC": "U", "\u1EEE": "U", "\u1EF0": "U", "\xDD": "Y", "\xE0": "a", "\xE1": "a", "\xE2": "a", "\xE3": "a", "\xE4": "a", "\xE5": "a", "\u1EA5": "a", "\u1EAF": "a", "\u1EB3": "a", "\u1EB5": "a", "\u1EB7": "a", "\xE6": "ae", "\u1EA7": "a", "\u1EB1": "a", "\u0203": "a", "\u1EA3": "a", "\u1EA1": "a", "\u1EA9": "a", "\u1EAB": "a", "\u1EAD": "a", "\xE7": "c", "\u1E09": "c", "\xE8": "e", "\xE9": "e", "\xEA": "e", "\xEB": "e", "\u1EBF": "e", "\u1E17": "e", "\u1EC1": "e", "\u1E15": "e", "\u1E1D": "e", "\u0207": "e", "\u1EBB": "e", "\u1EBD": "e", "\u1EB9": "e", "\u1EC3": "e", "\u1EC5": "e", "\u1EC7": "e", "\xEC": "i", "\xED": "i", "\xEE": "i", "\xEF": "i", "\u1E2F": "i", "\u020B": "i", "\u1EC9": "i", "\u1ECB": "i", "\xF0": "d", "\xF1": "n", "\xF2": "o", "\xF3": "o", "\xF4": "o", "\xF5": "o", "\xF6": "o", "\xF8": "o", "\u1ED1": "o", "\u1E4D": "o", "\u1E53": "o", "\u020F": "o", "\u1ECF": "o", "\u1ECD": "o", "\u1ED5": "o", "\u1ED7": "o", "\u1ED9": "o", "\u1EDD": "o", "\u1EDF": "o", "\u1EE1": "o", "\u1EDB": "o", "\u1EE3": "o", "\xF9": "u", "\xFA": "u", "\xFB": "u", "\xFC": "u", "\u1EE7": "u", "\u1EE5": "u", "\u1EED": "u", "\u1EEF": "u", "\u1EF1": "u", "\xFD": "y", "\xFF": "y", "\u0100": "A", "\u0101": "a", "\u0102": "A", "\u0103": "a", "\u0104": "A", "\u0105": "a", "\u0106": "C", "\u0107": "c", "\u0108": "C", "\u0109": "c", "\u010A": "C", "\u010B": "c", "\u010C": "C", "\u010D": "c", "C\u0306": "C", "c\u0306": "c", "\u010E": "D", "\u010F": "d", "\u0110": "D", "\u0111": "d", "\u0112": "E", "\u0113": "e", "\u0114": "E", "\u0115": "e", "\u0116": "E", "\u0117": "e", "\u0118": "E", "\u0119": "e", "\u011A": "E", "\u011B": "e", "\u011C": "G", "\u01F4": "G", "\u011D": "g", "\u01F5": "g", "\u011E": "G", "\u011F": "g", "\u0120": "G", "\u0121": "g", "\u0122": "G", "\u0123": "g", "\u0124": "H", "\u0125": "h", "\u0126": "H", "\u0127": "h", "\u1E2A": "H", "\u1E2B": "h", "\u0128": "I", "\u0129": "i", "\u012A": "I", "\u012B": "i", "\u012C": "I", "\u012D": "i", "\u012E": "I", "\u012F": "i", "\u0130": "I", "\u0131": "i", "\u0132": "IJ", "\u0133": "ij", "\u0134": "J", "\u0135": "j", "\u0136": "K", "\u0137": "k", "\u1E30": "K", "\u1E31": "k", "K\u0306": "K", "k\u0306": "k", "\u0139": "L", "\u013A": "l", "\u013B": "L", "\u013C": "l", "\u013D": "L", "\u013E": "l", "\u013F": "L", "\u0140": "l", "\u0141": "l", "\u0142": "l", "\u1E3E": "M", "\u1E3F": "m", "M\u0306": "M", "m\u0306": "m", "\u0143": "N", "\u0144": "n", "\u0145": "N", "\u0146": "n", "\u0147": "N", "\u0148": "n", "\u0149": "n", "N\u0306": "N", "n\u0306": "n", "\u014C": "O", "\u014D": "o", "\u014E": "O", "\u014F": "o", "\u0150": "O", "\u0151": "o", "\u0152": "OE", "\u0153": "oe", "P\u0306": "P", "p\u0306": "p", "\u0154": "R", "\u0155": "r", "\u0156": "R", "\u0157": "r", "\u0158": "R", "\u0159": "r", "R\u0306": "R", "r\u0306": "r", "\u0212": "R", "\u0213": "r", "\u015A": "S", "\u015B": "s", "\u015C": "S", "\u015D": "s", "\u015E": "S", "\u0218": "S", "\u0219": "s", "\u015F": "s", "\u0160": "S", "\u0161": "s", "\u0162": "T", "\u0163": "t", "\u021B": "t", "\u021A": "T", "\u0164": "T", "\u0165": "t", "\u0166": "T", "\u0167": "t", "T\u0306": "T", "t\u0306": "t", "\u0168": "U", "\u0169": "u", "\u016A": "U", "\u016B": "u", "\u016C": "U", "\u016D": "u", "\u016E": "U", "\u016F": "u", "\u0170": "U", "\u0171": "u", "\u0172": "U", "\u0173": "u", "\u0216": "U", "\u0217": "u", "V\u0306": "V", "v\u0306": "v", "\u0174": "W", "\u0175": "w", "\u1E82": "W", "\u1E83": "w", "X\u0306": "X", "x\u0306": "x", "\u0176": "Y", "\u0177": "y", "\u0178": "Y", "Y\u0306": "Y", "y\u0306": "y", "\u0179": "Z", "\u017A": "z", "\u017B": "Z", "\u017C": "z", "\u017D": "Z", "\u017E": "z", "\u017F": "s", "\u0192": "f", "\u01A0": "O", "\u01A1": "o", "\u01AF": "U", "\u01B0": "u", "\u01CD": "A", "\u01CE": "a", "\u01CF": "I", "\u01D0": "i", "\u01D1": "O", "\u01D2": "o", "\u01D3": "U", "\u01D4": "u", "\u01D5": "U", "\u01D6": "u", "\u01D7": "U", "\u01D8": "u", "\u01D9": "U", "\u01DA": "u", "\u01DB": "U", "\u01DC": "u", "\u1EE8": "U", "\u1EE9": "u", "\u1E78": "U", "\u1E79": "u", "\u01FA": "A", "\u01FB": "a", "\u01FC": "AE", "\u01FD": "ae", "\u01FE": "O", "\u01FF": "o", "\xDE": "TH", "\xFE": "th", "\u1E54": "P", "\u1E55": "p", "\u1E64": "S", "\u1E65": "s", "X\u0301": "X", "x\u0301": "x", "\u0403": "\u0413", "\u0453": "\u0433", "\u040C": "\u041A", "\u045C": "\u043A", "A\u030B": "A", "a\u030B": "a", "E\u030B": "E", "e\u030B": "e", "I\u030B": "I", "i\u030B": "i", "\u01F8": "N", "\u01F9": "n", "\u1ED2": "O", "\u1ED3": "o", "\u1E50": "O", "\u1E51": "o", "\u1EEA": "U", "\u1EEB": "u", "\u1E80": "W", "\u1E81": "w", "\u1EF2": "Y", "\u1EF3": "y", "\u0200": "A", "\u0201": "a", "\u0204": "E", "\u0205": "e", "\u0208": "I", "\u0209": "i", "\u020C": "O", "\u020D": "o", "\u0210": "R", "\u0211": "r", "\u0214": "U", "\u0215": "u", "B\u030C": "B", "b\u030C": "b", "\u010C\u0323": "C", "\u010D\u0323": "c", "\xCA\u030C": "E", "\xEA\u030C": "e", "F\u030C": "F", "f\u030C": "f", "\u01E6": "G", "\u01E7": "g", "\u021E": "H", "\u021F": "h", "J\u030C": "J", "\u01F0": "j", "\u01E8": "K", "\u01E9": "k", "M\u030C": "M", "m\u030C": "m", "P\u030C": "P", "p\u030C": "p", "Q\u030C": "Q", "q\u030C": "q", "\u0158\u0329": "R", "\u0159\u0329": "r", "\u1E66": "S", "\u1E67": "s", "V\u030C": "V", "v\u030C": "v", "W\u030C": "W", "w\u030C": "w", "X\u030C": "X", "x\u030C": "x", "Y\u030C": "Y", "y\u030C": "y", "A\u0327": "A", "a\u0327": "a", "B\u0327": "B", "b\u0327": "b", "\u1E10": "D", "\u1E11": "d", "\u0228": "E", "\u0229": "e", "\u0190\u0327": "E", "\u025B\u0327": "e", "\u1E28": "H", "\u1E29": "h", "I\u0327": "I", "i\u0327": "i", "\u0197\u0327": "I", "\u0268\u0327": "i", "M\u0327": "M", "m\u0327": "m", "O\u0327": "O", "o\u0327": "o", "Q\u0327": "Q", "q\u0327": "q", "U\u0327": "U", "u\u0327": "u", "X\u0327": "X", "x\u0327": "x", "Z\u0327": "Z", "z\u0327": "z", "\u0439": "\u0438", "\u0419": "\u0418", "\u0451": "\u0435", "\u0401": "\u0415" }; var chars = Object.keys(characterMap).join("|"); var allAccents = new RegExp(chars, "g"); var firstAccent = new RegExp(chars, ""); function matcher(match) { return characterMap[match]; } var removeAccents5 = function(string) { return string.replace(allAccents, matcher); }; var hasAccents = function(string) { return !!string.match(firstAccent); }; module.exports = removeAccents5; module.exports.has = hasAccents; module.exports.remove = removeAccents5; } }); // package-external:@wordpress/style-engine var require_style_engine = __commonJS({ "package-external:@wordpress/style-engine"(exports, module) { module.exports = window.wp.styleEngine; } }); // node_modules/fast-deep-equal/es6/index.js var require_es6 = __commonJS({ "node_modules/fast-deep-equal/es6/index.js"(exports, module) { "use strict"; module.exports = function equal(a2, b2) { if (a2 === b2) return true; if (a2 && b2 && typeof a2 == "object" && typeof b2 == "object") { if (a2.constructor !== b2.constructor) return false; var length, i2, keys; if (Array.isArray(a2)) { length = a2.length; if (length != b2.length) return false; for (i2 = length; i2-- !== 0; ) if (!equal(a2[i2], b2[i2])) return false; return true; } if (a2 instanceof Map && b2 instanceof Map) { if (a2.size !== b2.size) return false; for (i2 of a2.entries()) if (!b2.has(i2[0])) return false; for (i2 of a2.entries()) if (!equal(i2[1], b2.get(i2[0]))) return false; return true; } if (a2 instanceof Set && b2 instanceof Set) { if (a2.size !== b2.size) return false; for (i2 of a2.entries()) if (!b2.has(i2[0])) return false; return true; } if (ArrayBuffer.isView(a2) && ArrayBuffer.isView(b2)) { length = a2.length; if (length != b2.length) return false; for (i2 = length; i2-- !== 0; ) if (a2[i2] !== b2[i2]) return false; return true; } if (a2.constructor === RegExp) return a2.source === b2.source && a2.flags === b2.flags; if (a2.valueOf !== Object.prototype.valueOf) return a2.valueOf() === b2.valueOf(); if (a2.toString !== Object.prototype.toString) return a2.toString() === b2.toString(); keys = Object.keys(a2); length = keys.length; if (length !== Object.keys(b2).length) return false; for (i2 = length; i2-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(b2, keys[i2])) return false; for (i2 = length; i2-- !== 0; ) { var key = keys[i2]; if (!equal(a2[key], b2[key])) return false; } return true; } return a2 !== a2 && b2 !== b2; }; } }); // package-external:@wordpress/upload-media var require_upload_media = __commonJS({ "package-external:@wordpress/upload-media"(exports, module) { module.exports = window.wp.uploadMedia; } }); // package-external:@wordpress/escape-html var require_escape_html = __commonJS({ "package-external:@wordpress/escape-html"(exports, module) { module.exports = window.wp.escapeHtml; } }); // package-external:@wordpress/wordcount var require_wordcount = __commonJS({ "package-external:@wordpress/wordcount"(exports, module) { module.exports = window.wp.wordcount; } }); // package-external:@wordpress/patterns var require_patterns = __commonJS({ "package-external:@wordpress/patterns"(exports, module) { module.exports = window.wp.patterns; } }); // package-external:@wordpress/autop var require_autop = __commonJS({ "package-external:@wordpress/autop"(exports, module) { module.exports = window.wp.autop; } }); // package-external:@wordpress/shortcode var require_shortcode = __commonJS({ "package-external:@wordpress/shortcode"(exports, module) { module.exports = window.wp.shortcode; } }); // package-external:@wordpress/keyboard-shortcuts var require_keyboard_shortcuts = __commonJS({ "package-external:@wordpress/keyboard-shortcuts"(exports, module) { module.exports = window.wp.keyboardShortcuts; } }); // packages/block-library/build-module/index.mjs var index_exports = {}; __export(index_exports, { __experimentalGetCoreBlocks: () => __experimentalGetCoreBlocks, __experimentalRegisterExperimentalCoreBlocks: () => __experimentalRegisterExperimentalCoreBlocks, privateApis: () => privateApis4, registerCoreBlocks: () => registerCoreBlocks }); var import_blocks132 = __toESM(require_blocks(), 1); var import_compose64 = __toESM(require_compose(), 1); var import_data177 = __toESM(require_data(), 1); var import_block_editor303 = __toESM(require_block_editor(), 1); var import_server_side_render7 = __toESM(require_server_side_render(), 1); var import_i18n281 = __toESM(require_i18n(), 1); // node_modules/clsx/dist/clsx.mjs function r(e3) { var t2, f2, n2 = ""; if ("string" == typeof e3 || "number" == typeof e3) n2 += e3; else if ("object" == typeof e3) if (Array.isArray(e3)) { var o2 = e3.length; for (t2 = 0; t2 < o2; t2++) e3[t2] && (f2 = r(e3[t2])) && (n2 && (n2 += " "), n2 += f2); } else for (f2 in e3) e3[f2] && (n2 && (n2 += " "), n2 += f2); return n2; } function clsx() { for (var e3, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++) (e3 = arguments[f2]) && (t2 = r(e3)) && (n2 && (n2 += " "), n2 += t2); return n2; } var clsx_default = clsx; // node_modules/html-react-parser/esm/index.mjs var import_lib = __toESM(require_lib4(), 1); var import_lib2 = __toESM(require_lib4(), 1); var esm_default = import_lib.default.default || import_lib.default; // packages/block-library/build-module/utils/html-renderer.mjs var import_dom = __toESM(require_dom(), 1); var import_jsx_runtime = __toESM(require_jsx_runtime(), 1); var HtmlRenderer = ({ wrapperProps = {}, html = "" }) => { const options2 = { replace: ({ name: name122, type, attribs, parent, children }) => { if (type === "tag" && name122) { const parsedProps = (0, import_lib2.attributesToProps)(attribs || {}); const TagName2 = name122; if (!parent) { const mergedProps = { ...parsedProps, ...wrapperProps, className: clsx_default( parsedProps.className, wrapperProps.className ), style: { ...parsedProps.style || {}, ...wrapperProps.style || {} } }; return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TagName2, { ...mergedProps, children: (0, import_lib2.domToReact)(children, options2) }); } } } }; const sanitizedContent = (0, import_dom.safeHTML)(html); const parsedContent = esm_default(sanitizedContent, options2); return parsedContent; }; var html_renderer_default = HtmlRenderer; // packages/block-library/build-module/accordion/index.mjs var accordion_exports = {}; __export(accordion_exports, { init: () => init, metadata: () => block_default, name: () => name, settings: () => settings }); var import_i18n2 = __toESM(require_i18n(), 1); // packages/icons/build-module/icon/index.mjs var import_element = __toESM(require_element(), 1); var icon_default = (0, import_element.forwardRef)( ({ icon: icon4, size = 24, ...props }, ref) => { return (0, import_element.cloneElement)(icon4, { width: size, height: size, ...props, ref }); } ); // packages/icons/build-module/library/accordion-heading.mjs var import_primitives = __toESM(require_primitives(), 1); var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1); var accordion_heading_default = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_primitives.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_primitives.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M19.5 12.75L9.5 12.75L9.5 11.25L19.5 11.25L19.5 12.75Z" }), /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_primitives.Path, { d: "M4.5 9.5L8.5 12L4.5 14.5L4.5 9.5Z" }) ] }); // packages/icons/build-module/library/accordion-item.mjs var import_primitives2 = __toESM(require_primitives(), 1); var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1); var accordion_item_default = /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_primitives2.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives2.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M19.5 9.5L9.5 9.5L9.5 8L19.5 8L19.5 9.5Z" }), /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives2.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M19.5 13L9.5 13L9.5 11.5L19.5 11.5L19.5 13Z" }), /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives2.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M19.5 16.3999L9.5 16.3999L9.5 14.8999L19.5 14.8999L19.5 16.3999Z" }), /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives2.Path, { d: "M4.5 6.25L8.5 8.75L4.5 11.25L4.5 6.25Z" }) ] }); // packages/icons/build-module/library/accordion.mjs var import_primitives3 = __toESM(require_primitives(), 1); var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1); var accordion_default = /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_primitives3.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_primitives3.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M19.5 9.25L9.5 9.25L9.5 7.75L19.5 7.75L19.5 9.25Z" }), /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_primitives3.Path, { d: "M4.5 6L8.5 8.5L4.5 11L4.5 6Z" }), /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_primitives3.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M19.5 16.25L9.5 16.25L9.5 14.75L19.5 14.75L19.5 16.25Z" }), /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_primitives3.Path, { d: "M4.5 13L8.5 15.5L4.5 18L4.5 13Z" }) ] }); // packages/icons/build-module/library/add-submenu.mjs var import_primitives4 = __toESM(require_primitives(), 1); var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1); var add_submenu_default = /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_primitives4.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_primitives4.Path, { d: "M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z" }) }); // packages/icons/build-module/library/align-center.mjs var import_primitives5 = __toESM(require_primitives(), 1); var import_jsx_runtime6 = __toESM(require_jsx_runtime(), 1); var align_center_default = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_primitives5.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_primitives5.Path, { d: "M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z" }) }); // packages/icons/build-module/library/align-left.mjs var import_primitives6 = __toESM(require_primitives(), 1); var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1); var align_left_default = /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_primitives6.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_primitives6.Path, { d: "M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z" }) }); // packages/icons/build-module/library/align-none.mjs var import_primitives7 = __toESM(require_primitives(), 1); var import_jsx_runtime8 = __toESM(require_jsx_runtime(), 1); var align_none_default = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_primitives7.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_primitives7.Path, { d: "M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z" }) }); // packages/icons/build-module/library/align-right.mjs var import_primitives8 = __toESM(require_primitives(), 1); var import_jsx_runtime9 = __toESM(require_jsx_runtime(), 1); var align_right_default = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_primitives8.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_primitives8.Path, { d: "M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z" }) }); // packages/icons/build-module/library/archive.mjs var import_primitives9 = __toESM(require_primitives(), 1); var import_jsx_runtime10 = __toESM(require_jsx_runtime(), 1); var archive_default = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_primitives9.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_primitives9.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M11.934 7.406a1 1 0 0 0 .914.594H19a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h5.764a.5.5 0 0 1 .447.276l.723 1.63Zm1.064-1.216a.5.5 0 0 0 .462.31H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.764a2 2 0 0 1 1.789 1.106l.445 1.084ZM8.5 10.5h7V12h-7v-1.5Zm7 3.5h-7v1.5h7V14Z" }) }); // packages/icons/build-module/library/audio.mjs var import_primitives10 = __toESM(require_primitives(), 1); var import_jsx_runtime11 = __toESM(require_jsx_runtime(), 1); var audio_default = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_primitives10.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_primitives10.Path, { d: "M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z" }) }); // packages/icons/build-module/library/block-default.mjs var import_primitives11 = __toESM(require_primitives(), 1); var import_jsx_runtime12 = __toESM(require_jsx_runtime(), 1); var block_default_default = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_primitives11.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_primitives11.Path, { d: "M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z" }) }); // packages/icons/build-module/library/block-table.mjs var import_primitives12 = __toESM(require_primitives(), 1); var import_jsx_runtime13 = __toESM(require_jsx_runtime(), 1); var block_table_default = /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_primitives12.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_primitives12.Path, { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z" }) }); // packages/icons/build-module/library/breadcrumbs.mjs var import_primitives13 = __toESM(require_primitives(), 1); var import_jsx_runtime14 = __toESM(require_jsx_runtime(), 1); var breadcrumbs_default = /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_primitives13.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_primitives13.Path, { d: "M4 13.5h3v-3H4v3Zm6-3.5 2 2-2 2 1 1 3-3-3-3-1 1Zm7 .5v3h3v-3h-3Z" }) }); // packages/icons/build-module/library/button.mjs var import_primitives14 = __toESM(require_primitives(), 1); var import_jsx_runtime15 = __toESM(require_jsx_runtime(), 1); var button_default = /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_primitives14.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_primitives14.Path, { d: "M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z" }) }); // packages/icons/build-module/library/buttons.mjs var import_primitives15 = __toESM(require_primitives(), 1); var import_jsx_runtime16 = __toESM(require_jsx_runtime(), 1); var buttons_default = /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_primitives15.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_primitives15.Path, { d: "M14.5 17.5H9.5V16H14.5V17.5Z M14.5 8H9.5V6.5H14.5V8Z M7 3.5H17C18.1046 3.5 19 4.39543 19 5.5V9C19 10.1046 18.1046 11 17 11H7C5.89543 11 5 10.1046 5 9V5.5C5 4.39543 5.89543 3.5 7 3.5ZM17 5H7C6.72386 5 6.5 5.22386 6.5 5.5V9C6.5 9.27614 6.72386 9.5 7 9.5H17C17.2761 9.5 17.5 9.27614 17.5 9V5.5C17.5 5.22386 17.2761 5 17 5Z M7 13H17C18.1046 13 19 13.8954 19 15V18.5C19 19.6046 18.1046 20.5 17 20.5H7C5.89543 20.5 5 19.6046 5 18.5V15C5 13.8954 5.89543 13 7 13ZM17 14.5H7C6.72386 14.5 6.5 14.7239 6.5 15V18.5C6.5 18.7761 6.72386 19 7 19H17C17.2761 19 17.5 18.7761 17.5 18.5V15C17.5 14.7239 17.2761 14.5 17 14.5Z" }) }); // packages/icons/build-module/library/calendar.mjs var import_primitives16 = __toESM(require_primitives(), 1); var import_jsx_runtime17 = __toESM(require_jsx_runtime(), 1); var calendar_default = /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_primitives16.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_primitives16.Path, { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z" }) }); // packages/icons/build-module/library/caption.mjs var import_primitives17 = __toESM(require_primitives(), 1); var import_jsx_runtime18 = __toESM(require_jsx_runtime(), 1); var caption_default = /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_primitives17.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_primitives17.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M6 5.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5ZM4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6Zm4 10h2v-1.5H8V16Zm5 0h-2v-1.5h2V16Zm1 0h2v-1.5h-2V16Z" }) }); // packages/icons/build-module/library/category.mjs var import_primitives18 = __toESM(require_primitives(), 1); var import_jsx_runtime19 = __toESM(require_jsx_runtime(), 1); var category_default = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_primitives18.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_primitives18.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z" }) }); // packages/icons/build-module/library/chevron-down.mjs var import_primitives19 = __toESM(require_primitives(), 1); var import_jsx_runtime20 = __toESM(require_jsx_runtime(), 1); var chevron_down_default = /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_primitives19.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_primitives19.Path, { d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z" }) }); // packages/icons/build-module/library/chevron-left-small.mjs var import_primitives20 = __toESM(require_primitives(), 1); var import_jsx_runtime21 = __toESM(require_jsx_runtime(), 1); var chevron_left_small_default = /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_primitives20.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_primitives20.Path, { d: "m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z" }) }); // packages/icons/build-module/library/chevron-left.mjs var import_primitives21 = __toESM(require_primitives(), 1); var import_jsx_runtime22 = __toESM(require_jsx_runtime(), 1); var chevron_left_default = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_primitives21.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_primitives21.Path, { d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z" }) }); // packages/icons/build-module/library/chevron-right-small.mjs var import_primitives22 = __toESM(require_primitives(), 1); var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1); var chevron_right_small_default = /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_primitives22.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_primitives22.Path, { d: "M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z" }) }); // packages/icons/build-module/library/chevron-right.mjs var import_primitives23 = __toESM(require_primitives(), 1); var import_jsx_runtime24 = __toESM(require_jsx_runtime(), 1); var chevron_right_default = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_primitives23.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_primitives23.Path, { d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z" }) }); // packages/icons/build-module/library/chevron-up.mjs var import_primitives24 = __toESM(require_primitives(), 1); var import_jsx_runtime25 = __toESM(require_jsx_runtime(), 1); var chevron_up_default = /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_primitives24.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_primitives24.Path, { d: "M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z" }) }); // packages/icons/build-module/library/classic.mjs var import_primitives25 = __toESM(require_primitives(), 1); var import_jsx_runtime26 = __toESM(require_jsx_runtime(), 1); var classic_default = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_primitives25.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_primitives25.Path, { d: "M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z" }) }); // packages/icons/build-module/library/close.mjs var import_primitives26 = __toESM(require_primitives(), 1); var import_jsx_runtime27 = __toESM(require_jsx_runtime(), 1); var close_default = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_primitives26.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_primitives26.Path, { d: "m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z" }) }); // packages/icons/build-module/library/code.mjs var import_primitives27 = __toESM(require_primitives(), 1); var import_jsx_runtime28 = __toESM(require_jsx_runtime(), 1); var code_default = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_primitives27.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_primitives27.Path, { d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z" }) }); // packages/icons/build-module/library/column.mjs var import_primitives28 = __toESM(require_primitives(), 1); var import_jsx_runtime29 = __toESM(require_jsx_runtime(), 1); var column_default = /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_primitives28.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_primitives28.Path, { d: "M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z" }) }); // packages/icons/build-module/library/columns.mjs var import_primitives29 = __toESM(require_primitives(), 1); var import_jsx_runtime30 = __toESM(require_jsx_runtime(), 1); var columns_default = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_primitives29.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_primitives29.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z" }) }); // packages/icons/build-module/library/comment-author-avatar.mjs var import_primitives30 = __toESM(require_primitives(), 1); var import_jsx_runtime31 = __toESM(require_jsx_runtime(), 1); var comment_author_avatar_default = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_primitives30.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_primitives30.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" }) }); // packages/icons/build-module/library/comment-author-name.mjs var import_primitives31 = __toESM(require_primitives(), 1); var import_jsx_runtime32 = __toESM(require_jsx_runtime(), 1); var comment_author_name_default = /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_primitives31.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_primitives31.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z" }), /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_primitives31.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15" }), /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_primitives31.Circle, { cx: "12", cy: "9", r: "2", fillRule: "evenodd", clipRule: "evenodd" }) ] }); // packages/icons/build-module/library/comment-content.mjs var import_primitives32 = __toESM(require_primitives(), 1); var import_jsx_runtime33 = __toESM(require_jsx_runtime(), 1); var comment_content_default = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_primitives32.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_primitives32.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z" }) }); // packages/icons/build-module/library/comment-edit-link.mjs var import_primitives33 = __toESM(require_primitives(), 1); var import_jsx_runtime34 = __toESM(require_jsx_runtime(), 1); var comment_edit_link_default = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_primitives33.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_primitives33.Path, { d: "m6.249 11.065.44-.44h3.186l-1.5 1.5H7.31l-1.957 1.96A.792.792 0 0 1 4 13.524V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v1.5L12.5 8V5.5h-7v6.315l.749-.75ZM20 19.75H7v-1.5h13v1.5Zm0-12.653-8.967 9.064L8 17l.867-2.935L17.833 5 20 7.097Z" }) }); // packages/icons/build-module/library/comment-reply-link.mjs var import_primitives34 = __toESM(require_primitives(), 1); var import_jsx_runtime35 = __toESM(require_jsx_runtime(), 1); var comment_reply_link_default = /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_primitives34.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_primitives34.Path, { d: "M6.68822 10.625L6.24878 11.0649L5.5 11.8145L5.5 5.5L12.5 5.5V8L14 6.5V5C14 4.44772 13.5523 4 13 4H5C4.44772 4 4 4.44771 4 5V13.5247C4 13.8173 4.16123 14.086 4.41935 14.2237C4.72711 14.3878 5.10601 14.3313 5.35252 14.0845L7.31 12.125H8.375L9.875 10.625H7.31H6.68822ZM14.5605 10.4983L11.6701 13.75H16.9975C17.9963 13.75 18.7796 14.1104 19.3553 14.7048C19.9095 15.2771 20.2299 16.0224 20.4224 16.7443C20.7645 18.0276 20.7543 19.4618 20.7487 20.2544C20.7481 20.345 20.7475 20.4272 20.7475 20.4999L19.2475 20.5001C19.2475 20.4191 19.248 20.3319 19.2484 20.2394V20.2394C19.2526 19.4274 19.259 18.2035 18.973 17.1307C18.8156 16.5401 18.586 16.0666 18.2778 15.7483C17.9909 15.4521 17.5991 15.25 16.9975 15.25H11.8106L14.5303 17.9697L13.4696 19.0303L8.96956 14.5303L13.4394 9.50171L14.5605 10.4983Z" }) }); // packages/icons/build-module/library/comment.mjs var import_primitives35 = __toESM(require_primitives(), 1); var import_jsx_runtime36 = __toESM(require_jsx_runtime(), 1); var comment_default = /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_primitives35.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_primitives35.Path, { d: "M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z" }) }); // packages/icons/build-module/library/contents.mjs var import_primitives36 = __toESM(require_primitives(), 1); var import_jsx_runtime37 = __toESM(require_jsx_runtime(), 1); var contents_default = /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_primitives36.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_primitives36.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M8.10417 6.00024H6.5C5.39543 6.00024 4.5 6.89567 4.5 8.00024V10.3336H6V8.00024C6 7.7241 6.22386 7.50024 6.5 7.50024H8.10417V6.00024ZM4.5 13.6669V16.0002C4.5 17.1048 5.39543 18.0002 6.5 18.0002H8.10417V16.5002H6.5C6.22386 16.5002 6 16.2764 6 16.0002V13.6669H4.5ZM10.3958 6.00024V7.50024H13.6042V6.00024H10.3958ZM15.8958 6.00024V7.50024H17.5C17.7761 7.50024 18 7.7241 18 8.00024V10.3336H19.5V8.00024C19.5 6.89567 18.6046 6.00024 17.5 6.00024H15.8958ZM19.5 13.6669H18V16.0002C18 16.2764 17.7761 16.5002 17.5 16.5002H15.8958V18.0002H17.5C18.6046 18.0002 19.5 17.1048 19.5 16.0002V13.6669ZM13.6042 18.0002V16.5002H10.3958V18.0002H13.6042Z" }) }); // packages/icons/build-module/library/cover.mjs var import_primitives37 = __toESM(require_primitives(), 1); var import_jsx_runtime38 = __toESM(require_jsx_runtime(), 1); var cover_default = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_primitives37.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_primitives37.Path, { d: "M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z" }) }); // packages/icons/build-module/library/crop.mjs var import_primitives38 = __toESM(require_primitives(), 1); var import_jsx_runtime39 = __toESM(require_jsx_runtime(), 1); var crop_default = /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_primitives38.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_primitives38.Path, { d: "M18 20v-2h2v-1.5H7.75a.25.25 0 0 1-.25-.25V4H6v2H4v1.5h2v8.75c0 .966.784 1.75 1.75 1.75h8.75v2H18ZM9.273 7.5h6.977a.25.25 0 0 1 .25.25v6.977H18V7.75A1.75 1.75 0 0 0 16.25 6H9.273v1.5Z" }) }); // packages/icons/build-module/library/custom-link.mjs var import_primitives39 = __toESM(require_primitives(), 1); var import_jsx_runtime40 = __toESM(require_jsx_runtime(), 1); var custom_link_default = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_primitives39.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_primitives39.Path, { d: "M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z" }) }); // packages/icons/build-module/library/custom-post-type.mjs var import_primitives40 = __toESM(require_primitives(), 1); var import_jsx_runtime41 = __toESM(require_jsx_runtime(), 1); var custom_post_type_default = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_primitives40.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_primitives40.Path, { d: "M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z" }) }); // packages/icons/build-module/library/details.mjs var import_primitives41 = __toESM(require_primitives(), 1); var import_jsx_runtime42 = __toESM(require_jsx_runtime(), 1); var details_default = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_primitives41.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_primitives41.Path, { d: "M4 16h10v1.5H4V16Zm0-4.5h16V13H4v-1.5ZM10 7h10v1.5H10V7Z", fillRule: "evenodd", clipRule: "evenodd" }), /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_primitives41.Path, { d: "m4 5.25 4 2.5-4 2.5v-5Z" }) ] }); // packages/icons/build-module/library/external.mjs var import_primitives42 = __toESM(require_primitives(), 1); var import_jsx_runtime43 = __toESM(require_jsx_runtime(), 1); var external_default = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_primitives42.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_primitives42.Path, { d: "M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z" }) }); // packages/icons/build-module/library/file.mjs var import_primitives43 = __toESM(require_primitives(), 1); var import_jsx_runtime44 = __toESM(require_jsx_runtime(), 1); var file_default = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_primitives43.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_primitives43.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z" }) }); // packages/icons/build-module/library/flip-horizontal.mjs var import_primitives44 = __toESM(require_primitives(), 1); var import_jsx_runtime45 = __toESM(require_jsx_runtime(), 1); var flip_horizontal_default = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_primitives44.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_primitives44.Path, { d: "M4 6v12c0 1.1.9 2 2 2h3v-1.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h3V4H6c-1.1 0-2 .9-2 2zm7.2 16h1.5V2h-1.5v20zM15 5.5h1.5V4H15v1.5zm3.5.5H20c0-1.1-.9-2-2-2v1.5c.3 0 .5.2.5.5zm0 10.5H20v-2h-1.5v2zm0-3.5H20v-2h-1.5v2zm-.5 5.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zM15 20h1.5v-1.5H15V20zm3.5-10.5H20v-2h-1.5v2z" }) }); // packages/icons/build-module/library/flip-vertical.mjs var import_primitives45 = __toESM(require_primitives(), 1); var import_jsx_runtime46 = __toESM(require_jsx_runtime(), 1); var flip_vertical_default = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_primitives45.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_primitives45.Path, { d: "M2 11.2v1.5h20v-1.5H2zM5.5 6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v3H20V6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v3h1.5V6zm2 14h2v-1.5h-2V20zm3.5 0h2v-1.5h-2V20zm7-1.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zm.5-2H20V15h-1.5v1.5zM5.5 18H4c0 1.1.9 2 2 2v-1.5c-.3 0-.5-.2-.5-.5zm0-3H4v1.5h1.5V15zm9 5h2v-1.5h-2V20z" }) }); // packages/icons/build-module/library/footer.mjs var import_primitives46 = __toESM(require_primitives(), 1); var import_jsx_runtime47 = __toESM(require_jsx_runtime(), 1); var footer_default = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_primitives46.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_primitives46.Path, { fillRule: "evenodd", d: "M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z" }) }); // packages/icons/build-module/library/format-indent-rtl.mjs var import_primitives47 = __toESM(require_primitives(), 1); var import_jsx_runtime48 = __toESM(require_jsx_runtime(), 1); var format_indent_rtl_default = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_primitives47.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_primitives47.Path, { d: "M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z" }) }); // packages/icons/build-module/library/format-indent.mjs var import_primitives48 = __toESM(require_primitives(), 1); var import_jsx_runtime49 = __toESM(require_jsx_runtime(), 1); var format_indent_default = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_primitives48.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_primitives48.Path, { d: "M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z" }) }); // packages/icons/build-module/library/format-list-bullets-rtl.mjs var import_primitives49 = __toESM(require_primitives(), 1); var import_jsx_runtime50 = __toESM(require_jsx_runtime(), 1); var format_list_bullets_rtl_default = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_primitives49.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_primitives49.Path, { d: "M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" }) }); // packages/icons/build-module/library/format-list-bullets.mjs var import_primitives50 = __toESM(require_primitives(), 1); var import_jsx_runtime51 = __toESM(require_jsx_runtime(), 1); var format_list_bullets_default = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_primitives50.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_primitives50.Path, { d: "M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }) }); // packages/icons/build-module/library/format-list-numbered-rtl.mjs var import_primitives51 = __toESM(require_primitives(), 1); var import_jsx_runtime52 = __toESM(require_jsx_runtime(), 1); var format_list_numbered_rtl_default = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_primitives51.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_primitives51.Path, { d: "M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z" }) }); // packages/icons/build-module/library/format-list-numbered.mjs var import_primitives52 = __toESM(require_primitives(), 1); var import_jsx_runtime53 = __toESM(require_jsx_runtime(), 1); var format_list_numbered_default = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_primitives52.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_primitives52.Path, { d: "M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z" }) }); // packages/icons/build-module/library/format-ltr.mjs var import_primitives53 = __toESM(require_primitives(), 1); var import_jsx_runtime54 = __toESM(require_jsx_runtime(), 1); var format_ltr_default = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_primitives53.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_primitives53.Path, { d: "M3 9c0 2.8 2.2 5 5 5v-.2V20h1.5V5.5H12V20h1.5V5.5h3V4H8C5.2 4 3 6.2 3 9Zm15.9-1-1.1 1 2.6 3-2.6 3 1.1 1 3.4-4-3.4-4Z" }) }); // packages/icons/build-module/library/format-outdent-rtl.mjs var import_primitives54 = __toESM(require_primitives(), 1); var import_jsx_runtime55 = __toESM(require_jsx_runtime(), 1); var format_outdent_rtl_default = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_primitives54.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_primitives54.Path, { d: "M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z" }) }); // packages/icons/build-module/library/format-outdent.mjs var import_primitives55 = __toESM(require_primitives(), 1); var import_jsx_runtime56 = __toESM(require_jsx_runtime(), 1); var format_outdent_default = /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_primitives55.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_primitives55.Path, { d: "M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z" }) }); // packages/icons/build-module/library/fullscreen.mjs var import_primitives56 = __toESM(require_primitives(), 1); var import_jsx_runtime57 = __toESM(require_jsx_runtime(), 1); var fullscreen_default = /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_primitives56.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_primitives56.Path, { d: "M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z" }) }); // packages/icons/build-module/library/gallery.mjs var import_primitives57 = __toESM(require_primitives(), 1); var import_jsx_runtime58 = __toESM(require_jsx_runtime(), 1); var gallery_default = /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_primitives57.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_primitives57.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M16.375 4.5H4.625a.125.125 0 0 0-.125.125v8.254l2.859-1.54a.75.75 0 0 1 .68-.016l2.384 1.142 2.89-2.074a.75.75 0 0 1 .874 0l2.313 1.66V4.625a.125.125 0 0 0-.125-.125Zm.125 9.398-2.75-1.975-2.813 2.02a.75.75 0 0 1-.76.067l-2.444-1.17L4.5 14.583v1.792c0 .069.056.125.125.125h11.75a.125.125 0 0 0 .125-.125v-2.477ZM4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.273 3.728 18 4.625 18h11.75c.898 0 1.625-.727 1.625-1.625V4.625C18 3.728 17.273 3 16.375 3H4.625ZM20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z" }) }); // packages/icons/build-module/library/grid.mjs var import_primitives58 = __toESM(require_primitives(), 1); var import_jsx_runtime59 = __toESM(require_jsx_runtime(), 1); var grid_default = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_primitives58.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_primitives58.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z" }) }); // packages/icons/build-module/library/group.mjs var import_primitives59 = __toESM(require_primitives(), 1); var import_jsx_runtime60 = __toESM(require_jsx_runtime(), 1); var group_default = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_primitives59.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_primitives59.Path, { d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z" }) }); // packages/icons/build-module/library/header.mjs var import_primitives60 = __toESM(require_primitives(), 1); var import_jsx_runtime61 = __toESM(require_jsx_runtime(), 1); var header_default = /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_primitives60.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_primitives60.Path, { d: "M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z" }) }); // packages/icons/build-module/library/heading-level-1.mjs var import_primitives61 = __toESM(require_primitives(), 1); var import_jsx_runtime62 = __toESM(require_jsx_runtime(), 1); var heading_level_1_default = /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_primitives61.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_primitives61.Path, { d: "M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z" }) }); // packages/icons/build-module/library/heading-level-2.mjs var import_primitives62 = __toESM(require_primitives(), 1); var import_jsx_runtime63 = __toESM(require_jsx_runtime(), 1); var heading_level_2_default = /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_primitives62.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_primitives62.Path, { d: "M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z" }) }); // packages/icons/build-module/library/heading-level-3.mjs var import_primitives63 = __toESM(require_primitives(), 1); var import_jsx_runtime64 = __toESM(require_jsx_runtime(), 1); var heading_level_3_default = /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_primitives63.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_primitives63.Path, { d: "M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z" }) }); // packages/icons/build-module/library/heading-level-4.mjs var import_primitives64 = __toESM(require_primitives(), 1); var import_jsx_runtime65 = __toESM(require_jsx_runtime(), 1); var heading_level_4_default = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_primitives64.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_primitives64.Path, { d: "M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z" }) }); // packages/icons/build-module/library/heading-level-5.mjs var import_primitives65 = __toESM(require_primitives(), 1); var import_jsx_runtime66 = __toESM(require_jsx_runtime(), 1); var heading_level_5_default = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_primitives65.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_primitives65.Path, { d: "M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z" }) }); // packages/icons/build-module/library/heading-level-6.mjs var import_primitives66 = __toESM(require_primitives(), 1); var import_jsx_runtime67 = __toESM(require_jsx_runtime(), 1); var heading_level_6_default = /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_primitives66.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_primitives66.Path, { d: "M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z" }) }); // packages/icons/build-module/library/heading.mjs var import_primitives67 = __toESM(require_primitives(), 1); var import_jsx_runtime68 = __toESM(require_jsx_runtime(), 1); var heading_default = /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_primitives67.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_primitives67.Path, { d: "M6 5V18.5911L12 13.8473L18 18.5911V5H6Z" }) }); // packages/icons/build-module/library/home.mjs var import_primitives68 = __toESM(require_primitives(), 1); var import_jsx_runtime69 = __toESM(require_jsx_runtime(), 1); var home_default = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_primitives68.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_primitives68.Path, { d: "M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z" }) }); // packages/icons/build-module/library/html.mjs var import_primitives69 = __toESM(require_primitives(), 1); var import_jsx_runtime70 = __toESM(require_jsx_runtime(), 1); var html_default = /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_primitives69.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_primitives69.Path, { d: "M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z" }) }); // packages/icons/build-module/library/image.mjs var import_primitives70 = __toESM(require_primitives(), 1); var import_jsx_runtime71 = __toESM(require_jsx_runtime(), 1); var image_default = /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_primitives70.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_primitives70.Path, { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z" }) }); // packages/icons/build-module/library/keyboard-return.mjs var import_primitives71 = __toESM(require_primitives(), 1); var import_jsx_runtime72 = __toESM(require_jsx_runtime(), 1); var keyboard_return_default = /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_primitives71.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_primitives71.Path, { d: "m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z" }) }); // packages/icons/build-module/library/layout.mjs var import_primitives72 = __toESM(require_primitives(), 1); var import_jsx_runtime73 = __toESM(require_jsx_runtime(), 1); var layout_default = /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_primitives72.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_primitives72.Path, { d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z" }) }); // packages/icons/build-module/library/link-off.mjs var import_primitives73 = __toESM(require_primitives(), 1); var import_jsx_runtime74 = __toESM(require_jsx_runtime(), 1); var link_off_default = /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_primitives73.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_primitives73.Path, { d: "M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z" }) }); // packages/icons/build-module/library/link.mjs var import_primitives74 = __toESM(require_primitives(), 1); var import_jsx_runtime75 = __toESM(require_jsx_runtime(), 1); var link_default = /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_primitives74.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_primitives74.Path, { d: "M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z" }) }); // packages/icons/build-module/library/list-item.mjs var import_primitives75 = __toESM(require_primitives(), 1); var import_jsx_runtime76 = __toESM(require_jsx_runtime(), 1); var list_item_default = /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_primitives75.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_primitives75.Path, { d: "M12 11v1.5h8V11h-8zm-6-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }) }); // packages/icons/build-module/library/list.mjs var import_primitives76 = __toESM(require_primitives(), 1); var import_jsx_runtime77 = __toESM(require_jsx_runtime(), 1); var list_default = /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_primitives76.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_primitives76.Path, { d: "M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z" }) }); // packages/icons/build-module/library/login.mjs var import_primitives77 = __toESM(require_primitives(), 1); var import_jsx_runtime78 = __toESM(require_jsx_runtime(), 1); var login_default = /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_primitives77.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_primitives77.Path, { d: "M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z" }) }); // packages/icons/build-module/library/loop.mjs var import_primitives78 = __toESM(require_primitives(), 1); var import_jsx_runtime79 = __toESM(require_jsx_runtime(), 1); var loop_default = /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_primitives78.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_primitives78.Path, { d: "M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z" }) }); // packages/icons/build-module/library/map-marker.mjs var import_primitives79 = __toESM(require_primitives(), 1); var import_jsx_runtime80 = __toESM(require_jsx_runtime(), 1); var map_marker_default = /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_primitives79.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_primitives79.Path, { d: "M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z" }) }); // packages/icons/build-module/library/math.mjs var import_primitives80 = __toESM(require_primitives(), 1); var import_jsx_runtime81 = __toESM(require_jsx_runtime(), 1); var math_default = /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_primitives80.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_primitives80.Path, { d: "M11.2 6.8c-.7 0-1.4.5-1.6 1.1l-2.8 7.5-1.2-1.8c-.1-.2-.4-.3-.6-.3H3v1.5h1.6l1.2 1.8c.6.9 1.9.7 2.2-.3l2.9-7.9s.1-.2.2-.2h7.8V6.7h-7.8Zm5.3 3.4-1.9 1.9-1.9-1.9-1.1 1.1 1.9 1.9-1.9 1.9 1.1 1.1 1.9-1.9 1.9 1.9 1.1-1.1-1.9-1.9 1.9-1.9-1.1-1.1Z" }) }); // packages/icons/build-module/library/media-and-text.mjs var import_primitives81 = __toESM(require_primitives(), 1); var import_jsx_runtime82 = __toESM(require_jsx_runtime(), 1); var media_and_text_default = /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_primitives81.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_primitives81.Path, { d: "M3 6v11.5h8V6H3Zm11 3h7V7.5h-7V9Zm7 3.5h-7V11h7v1.5ZM14 16h7v-1.5h-7V16Z" }) }); // packages/icons/build-module/library/media.mjs var import_primitives82 = __toESM(require_primitives(), 1); var import_jsx_runtime83 = __toESM(require_jsx_runtime(), 1); var media_default = /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_primitives82.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_primitives82.Path, { d: "m7 6.5 4 2.5-4 2.5z" }), /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_primitives82.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z" }) ] }); // packages/icons/build-module/library/menu.mjs var import_primitives83 = __toESM(require_primitives(), 1); var import_jsx_runtime84 = __toESM(require_jsx_runtime(), 1); var menu_default = /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_primitives83.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_primitives83.Path, { d: "M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z" }) }); // packages/icons/build-module/library/more-vertical.mjs var import_primitives84 = __toESM(require_primitives(), 1); var import_jsx_runtime85 = __toESM(require_jsx_runtime(), 1); var more_vertical_default = /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_primitives84.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_primitives84.Path, { d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z" }) }); // packages/icons/build-module/library/more.mjs var import_primitives85 = __toESM(require_primitives(), 1); var import_jsx_runtime86 = __toESM(require_jsx_runtime(), 1); var more_default = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_primitives85.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_primitives85.Path, { d: "M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z" }) }); // packages/icons/build-module/library/navigation-overlay.mjs var import_primitives86 = __toESM(require_primitives(), 1); var import_jsx_runtime87 = __toESM(require_jsx_runtime(), 1); var navigation_overlay_default = /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_primitives86.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_primitives86.Path, { d: "M18.5 10a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-7a1.5 1.5 0 0 1-1.5-1.5v-7a1.5 1.5 0 0 1 1.5-1.5zM16 4a2 2 0 0 1 2 2v2h-1.5V6a.5.5 0 0 0-.5-.5H6a.5.5 0 0 0-.5.5v3H8v1.5H5.5V16a.5.5 0 0 0 .5.5h2V18H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" }) }); // packages/icons/build-module/library/navigation.mjs var import_primitives87 = __toESM(require_primitives(), 1); var import_jsx_runtime88 = __toESM(require_jsx_runtime(), 1); var navigation_default = /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_primitives87.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_primitives87.Path, { d: "M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z" }) }); // packages/icons/build-module/library/next.mjs var import_primitives88 = __toESM(require_primitives(), 1); var import_jsx_runtime89 = __toESM(require_jsx_runtime(), 1); var next_default = /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_primitives88.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_primitives88.Path, { d: "M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z" }) }); // packages/icons/build-module/library/overlay-text.mjs var import_primitives89 = __toESM(require_primitives(), 1); var import_jsx_runtime90 = __toESM(require_jsx_runtime(), 1); var overlay_text_default = /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_primitives89.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_primitives89.Path, { d: "M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z" }) }); // packages/icons/build-module/library/page-break.mjs var import_primitives90 = __toESM(require_primitives(), 1); var import_jsx_runtime91 = __toESM(require_jsx_runtime(), 1); var page_break_default = /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_primitives90.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_primitives90.Path, { d: "M17.5 9V6a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v3H8V6a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v3h1.5Zm0 6.5V18a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-2.5H8V18a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-2.5h1.5ZM4 13h16v-1.5H4V13Z" }) }); // packages/icons/build-module/library/page.mjs var import_primitives91 = __toESM(require_primitives(), 1); var import_jsx_runtime92 = __toESM(require_jsx_runtime(), 1); var page_default = /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_primitives91.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_primitives91.Path, { d: "M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z" }), /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_primitives91.Path, { d: "M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z" }) ] }); // packages/icons/build-module/library/pages.mjs var import_primitives92 = __toESM(require_primitives(), 1); var import_jsx_runtime93 = __toESM(require_jsx_runtime(), 1); var pages_default = /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_primitives92.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_primitives92.Path, { d: "M14.5 5.5h-7V7h7V5.5ZM7.5 9h7v1.5h-7V9Zm7 3.5h-7V14h7v-1.5Z" }), /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_primitives92.Path, { d: "M16 2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM6 3.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5Z" }), /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_primitives92.Path, { d: "M20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z" }) ] }); // packages/icons/build-module/library/paragraph.mjs var import_primitives93 = __toESM(require_primitives(), 1); var import_jsx_runtime94 = __toESM(require_jsx_runtime(), 1); var paragraph_default = /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_primitives93.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_primitives93.Path, { d: "m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z" }) }); // packages/icons/build-module/library/pencil.mjs var import_primitives94 = __toESM(require_primitives(), 1); var import_jsx_runtime95 = __toESM(require_jsx_runtime(), 1); var pencil_default = /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_primitives94.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_primitives94.Path, { d: "m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z" }) }); // packages/icons/build-module/library/pin.mjs var import_primitives95 = __toESM(require_primitives(), 1); var import_jsx_runtime96 = __toESM(require_jsx_runtime(), 1); var pin_default = /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_primitives95.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_primitives95.Path, { d: "m21.5 9.1-6.6-6.6-4.2 5.6c-1.2-.1-2.4.1-3.6.7-.1 0-.1.1-.2.1-.5.3-.9.6-1.2.9l3.7 3.7-5.7 5.7v1.1h1.1l5.7-5.7 3.7 3.7c.4-.4.7-.8.9-1.2.1-.1.1-.2.2-.3.6-1.1.8-2.4.6-3.6l5.6-4.1zm-7.3 3.5.1.9c.1.9 0 1.8-.4 2.6l-6-6c.8-.4 1.7-.5 2.6-.4l.9.1L15 4.9 19.1 9l-4.9 3.6z" }) }); // packages/icons/build-module/library/playlist-track.mjs var import_primitives96 = __toESM(require_primitives(), 1); var import_jsx_runtime97 = __toESM(require_jsx_runtime(), 1); var playlist_track_default = /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_primitives96.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_primitives96.Path, { d: "M16.1 5.7h-.3c-1 0-2.2 0-2.8.6-.3.4-.5.9-.5 1.6v7.3c0 .7-.2 1.7-.7 2.5C11.3 19 10 20 8.5 20 6.6 20 5 18.4 5 16.5S6.6 13 8.5 13c1 0 1.9.4 2.5 1V7.9c0-1.1.3-2 .9-2.6 1-1 2.6-1 3.8-1h.4zM19.5 12l-4 3V9z" }) }); // packages/icons/build-module/library/playlist.mjs var import_primitives97 = __toESM(require_primitives(), 1); var import_jsx_runtime98 = __toESM(require_jsx_runtime(), 1); var playlist_default = /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_primitives97.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_primitives97.Path, { d: "M16.1 5.7h-.3c-1 0-2.2 0-2.8.6-.3.4-.5.9-.5 1.6v7.3c0 .7-.2 1.7-.7 2.5C11.3 19 10 20 8.5 20 6.6 20 5 18.4 5 16.5S6.6 13 8.5 13c1 0 1.9.4 2.5 1V7.9c0-1.1.3-2 .9-2.6 1-1 2.6-1 3.8-1h.4zM20 15.75h-5v-1.5h5zM20 10.75h-5v-1.5h5z" }) }); // packages/icons/build-module/library/plugins.mjs var import_primitives98 = __toESM(require_primitives(), 1); var import_jsx_runtime99 = __toESM(require_jsx_runtime(), 1); var plugins_default = /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_primitives98.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_primitives98.Path, { d: "M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z" }) }); // packages/icons/build-module/library/plus.mjs var import_primitives99 = __toESM(require_primitives(), 1); var import_jsx_runtime100 = __toESM(require_jsx_runtime(), 1); var plus_default = /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_primitives99.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_primitives99.Path, { d: "M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z" }) }); // packages/icons/build-module/library/position-center.mjs var import_primitives100 = __toESM(require_primitives(), 1); var import_jsx_runtime101 = __toESM(require_jsx_runtime(), 1); var position_center_default = /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_primitives100.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_primitives100.Path, { d: "M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z" }) }); // packages/icons/build-module/library/position-left.mjs var import_primitives101 = __toESM(require_primitives(), 1); var import_jsx_runtime102 = __toESM(require_jsx_runtime(), 1); var position_left_default = /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_primitives101.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_primitives101.Path, { d: "M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z" }) }); // packages/icons/build-module/library/position-right.mjs var import_primitives102 = __toESM(require_primitives(), 1); var import_jsx_runtime103 = __toESM(require_jsx_runtime(), 1); var position_right_default = /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_primitives102.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_primitives102.Path, { d: "M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z" }) }); // packages/icons/build-module/library/post-author.mjs var import_primitives103 = __toESM(require_primitives(), 1); var import_jsx_runtime104 = __toESM(require_jsx_runtime(), 1); var post_author_default = /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_primitives103.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_primitives103.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z" }) }); // packages/icons/build-module/library/post-categories.mjs var import_primitives104 = __toESM(require_primitives(), 1); var import_jsx_runtime105 = __toESM(require_jsx_runtime(), 1); var post_categories_default = /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_primitives104.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_primitives104.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z" }) }); // packages/icons/build-module/library/post-comments-count.mjs var import_primitives105 = __toESM(require_primitives(), 1); var import_jsx_runtime106 = __toESM(require_jsx_runtime(), 1); var post_comments_count_default = /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_primitives105.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_primitives105.Path, { d: "M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-2.2 6.6H7l1.6-2.2c.3-.4.5-.7.6-.9.1-.2.2-.4.2-.5 0-.2-.1-.3-.1-.4-.1-.1-.2-.1-.4-.1s-.4 0-.6.1c-.3.1-.5.3-.7.4l-.2.2-.2-1.2.1-.1c.3-.2.5-.3.8-.4.3-.1.6-.1.9-.1.3 0 .6.1.9.2.2.1.4.3.6.5.1.2.2.5.2.7 0 .3-.1.6-.2.9-.1.3-.4.7-.7 1.1l-.5.6h1.6v1.2z" }) }); // packages/icons/build-module/library/post-comments-form.mjs var import_primitives106 = __toESM(require_primitives(), 1); var import_jsx_runtime107 = __toESM(require_jsx_runtime(), 1); var post_comments_form_default = /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_primitives106.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_primitives106.Path, { d: "M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-.5 6.6H6.7l-1.2 1.2v-6.3h7v5.1z" }) }); // packages/icons/build-module/library/post-comments.mjs var import_primitives107 = __toESM(require_primitives(), 1); var import_jsx_runtime108 = __toESM(require_jsx_runtime(), 1); var post_comments_default = /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_primitives107.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_primitives107.Path, { d: "M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z" }) }); // packages/icons/build-module/library/post-content.mjs var import_primitives108 = __toESM(require_primitives(), 1); var import_jsx_runtime109 = __toESM(require_jsx_runtime(), 1); var post_content_default = /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_primitives108.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_primitives108.Path, { d: "M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z" }) }); // packages/icons/build-module/library/post-date.mjs var import_primitives109 = __toESM(require_primitives(), 1); var import_jsx_runtime110 = __toESM(require_jsx_runtime(), 1); var post_date_default = /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_primitives109.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_primitives109.Path, { d: "M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z" }), /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_primitives109.Path, { d: "M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z" }) ] }); // packages/icons/build-module/library/post-excerpt.mjs var import_primitives110 = __toESM(require_primitives(), 1); var import_jsx_runtime111 = __toESM(require_jsx_runtime(), 1); var post_excerpt_default = /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_primitives110.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_primitives110.Path, { d: "M8.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H4v-3h4.001ZM4 20h9v-1.5H4V20Zm16-4H4v-1.5h16V16ZM13.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H9v-3h4.001Z" }) }); // packages/icons/build-module/library/post-featured-image.mjs var import_primitives111 = __toESM(require_primitives(), 1); var import_jsx_runtime112 = __toESM(require_jsx_runtime(), 1); var post_featured_image_default = /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_primitives111.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_primitives111.Path, { d: "M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z" }) }); // packages/icons/build-module/library/post-list.mjs var import_primitives112 = __toESM(require_primitives(), 1); var import_jsx_runtime113 = __toESM(require_jsx_runtime(), 1); var post_list_default = /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_primitives112.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_primitives112.Path, { d: "M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z" }) }); // packages/icons/build-module/library/post-terms.mjs var import_primitives113 = __toESM(require_primitives(), 1); var import_jsx_runtime114 = __toESM(require_jsx_runtime(), 1); var post_terms_default = /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_primitives113.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_primitives113.Path, { d: "M8.1 12.3c.1.1.3.3.5.3.2.1.4.1.6.1.2 0 .4 0 .6-.1.2-.1.4-.2.5-.3l3-3c.3-.3.5-.7.5-1.1 0-.4-.2-.8-.5-1.1L9.7 3.5c-.1-.2-.3-.3-.5-.3H5c-.4 0-.8.4-.8.8v4.2c0 .2.1.4.2.5l3.7 3.6zM5.8 4.8h3.1l3.4 3.4v.1l-3 3 .5.5-.7-.5-3.3-3.4V4.8zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z" }) }); // packages/icons/build-module/library/preformatted.mjs var import_primitives114 = __toESM(require_primitives(), 1); var import_jsx_runtime115 = __toESM(require_jsx_runtime(), 1); var preformatted_default = /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_primitives114.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_primitives114.Path, { d: "M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z" }) }); // packages/icons/build-module/library/previous.mjs var import_primitives115 = __toESM(require_primitives(), 1); var import_jsx_runtime116 = __toESM(require_jsx_runtime(), 1); var previous_default = /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_primitives115.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_primitives115.Path, { d: "M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z" }) }); // packages/icons/build-module/library/pull-left.mjs var import_primitives116 = __toESM(require_primitives(), 1); var import_jsx_runtime117 = __toESM(require_jsx_runtime(), 1); var pull_left_default = /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_primitives116.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_primitives116.Path, { d: "M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z" }) }); // packages/icons/build-module/library/pull-right.mjs var import_primitives117 = __toESM(require_primitives(), 1); var import_jsx_runtime118 = __toESM(require_jsx_runtime(), 1); var pull_right_default = /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_primitives117.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_primitives117.Path, { d: "M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z" }) }); // packages/icons/build-module/library/pullquote.mjs var import_primitives118 = __toESM(require_primitives(), 1); var import_jsx_runtime119 = __toESM(require_jsx_runtime(), 1); var pullquote_default = /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_primitives118.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_primitives118.Path, { d: "M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z" }) }); // packages/icons/build-module/library/query-pagination-next.mjs var import_primitives119 = __toESM(require_primitives(), 1); var import_jsx_runtime120 = __toESM(require_jsx_runtime(), 1); var query_pagination_next_default = /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_primitives119.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_primitives119.Path, { d: "M5 13.5h3v-3H5v3zm5 0h3v-3h-3v3zM17 9l-1 1 2 2-2 2 1 1 3-3-3-3z" }) }); // packages/icons/build-module/library/query-pagination-numbers.mjs var import_primitives120 = __toESM(require_primitives(), 1); var import_jsx_runtime121 = __toESM(require_jsx_runtime(), 1); var query_pagination_numbers_default = /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_primitives120.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_primitives120.Path, { d: "M4 13.5h6v-3H4v3zm8.2-2.5.8-.3V14h1V9.3l-2.2.7.4 1zm7.1-1.2c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3-.1-.8-.3-1.1z" }) }); // packages/icons/build-module/library/query-pagination-previous.mjs var import_primitives121 = __toESM(require_primitives(), 1); var import_jsx_runtime122 = __toESM(require_jsx_runtime(), 1); var query_pagination_previous_default = /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_primitives121.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_primitives121.Path, { d: "M16 10.5v3h3v-3h-3zm-5 3h3v-3h-3v3zM7 9l-3 3 3 3 1-1-2-2 2-2-1-1z" }) }); // packages/icons/build-module/library/query-pagination.mjs var import_primitives122 = __toESM(require_primitives(), 1); var import_jsx_runtime123 = __toESM(require_jsx_runtime(), 1); var query_pagination_default = /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_primitives122.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_primitives122.Path, { d: "M4 13.5h6v-3H4v3zm8 0h3v-3h-3v3zm5-3v3h3v-3h-3z" }) }); // packages/icons/build-module/library/quote.mjs var import_primitives123 = __toESM(require_primitives(), 1); var import_jsx_runtime124 = __toESM(require_jsx_runtime(), 1); var quote_default = /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_primitives123.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_primitives123.Path, { d: "M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z" }) }); // packages/icons/build-module/library/remove-submenu.mjs var import_primitives124 = __toESM(require_primitives(), 1); var import_jsx_runtime125 = __toESM(require_jsx_runtime(), 1); var remove_submenu_default = /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_primitives124.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_primitives124.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "m13.955 20.748 8-17.5-.91-.416L19.597 6H13.5v1.5h5.411l-1.6 3.5H13.5v1.5h3.126l-1.6 3.5H13.5l.028 1.5h.812l-1.295 2.832.91.416ZM17.675 16l-.686 1.5h4.539L21.5 16h-3.825Zm2.286-5-.686 1.5H21.5V11h-1.54ZM2 12c0 3.58 2.42 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.48 0-4.5-1.52-4.5-4S5.52 7.5 8 7.5h3.5V6H8c-3.58 0-6 2.42-6 6Z" }) }); // packages/icons/build-module/library/reset.mjs var import_primitives125 = __toESM(require_primitives(), 1); var import_jsx_runtime126 = __toESM(require_jsx_runtime(), 1); var reset_default = /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_primitives125.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_primitives125.Path, { d: "M7 11.5h10V13H7z" }) }); // packages/icons/build-module/library/resize-corner-ne.mjs var import_primitives126 = __toESM(require_primitives(), 1); var import_jsx_runtime127 = __toESM(require_jsx_runtime(), 1); var resize_corner_ne_default = /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_primitives126.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_primitives126.Path, { d: "M7 18h4.5v1.5h-7v-7H6V17L17 6h-4.5V4.5h7v7H18V7L7 18Z" }) }); // packages/icons/build-module/library/rotate-right.mjs var import_primitives127 = __toESM(require_primitives(), 1); var import_jsx_runtime128 = __toESM(require_jsx_runtime(), 1); var rotate_right_default = /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_primitives127.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_primitives127.Path, { d: "M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z" }) }); // packages/icons/build-module/library/row.mjs var import_primitives128 = __toESM(require_primitives(), 1); var import_jsx_runtime129 = __toESM(require_jsx_runtime(), 1); var row_default = /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_primitives128.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_primitives128.Path, { d: "M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z" }) }); // packages/icons/build-module/library/rss.mjs var import_primitives129 = __toESM(require_primitives(), 1); var import_jsx_runtime130 = __toESM(require_jsx_runtime(), 1); var rss_default = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_primitives129.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_primitives129.Path, { d: "M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z" }) }); // packages/icons/build-module/library/search.mjs var import_primitives130 = __toESM(require_primitives(), 1); var import_jsx_runtime131 = __toESM(require_jsx_runtime(), 1); var search_default = /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_primitives130.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_primitives130.Path, { d: "M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z" }) }); // packages/icons/build-module/library/separator.mjs var import_primitives131 = __toESM(require_primitives(), 1); var import_jsx_runtime132 = __toESM(require_jsx_runtime(), 1); var separator_default = /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_primitives131.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_primitives131.Path, { d: "M4.5 12.5v4H3V7h1.5v3.987h15V7H21v9.5h-1.5v-4h-15Z" }) }); // packages/icons/build-module/library/share.mjs var import_primitives132 = __toESM(require_primitives(), 1); var import_jsx_runtime133 = __toESM(require_jsx_runtime(), 1); var share_default = /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_primitives132.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_primitives132.Path, { d: "M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z" }) }); // packages/icons/build-module/library/shortcode.mjs var import_primitives133 = __toESM(require_primitives(), 1); var import_jsx_runtime134 = __toESM(require_jsx_runtime(), 1); var shortcode_default = /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_primitives133.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_primitives133.Path, { d: "M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z" }) }); // packages/icons/build-module/library/sidebar.mjs var import_primitives134 = __toESM(require_primitives(), 1); var import_jsx_runtime135 = __toESM(require_jsx_runtime(), 1); var sidebar_default = /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_primitives134.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_primitives134.Path, { d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z" }) }); // packages/icons/build-module/library/site-logo.mjs var import_primitives135 = __toESM(require_primitives(), 1); var import_jsx_runtime136 = __toESM(require_jsx_runtime(), 1); var site_logo_default = /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_primitives135.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_primitives135.Path, { d: "M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm0 1.5c3.4 0 6.2 2.7 6.5 6l-1.2-.6-.8-.4c-.1 0-.2 0-.3-.1H16c-.1-.2-.4-.2-.7 0l-2.9 2.1L9 11.3h-.7L5.5 13v-1.1c0-3.6 2.9-6.5 6.5-6.5Zm0 13c-2.7 0-5-1.7-6-4l2.8-1.7 3.5 1.2h.4s.2 0 .4-.2l2.9-2.1.4.2c.6.3 1.4.7 2.1 1.1-.5 3.1-3.2 5.4-6.4 5.4Z" }) }); // packages/icons/build-module/library/square.mjs var import_primitives136 = __toESM(require_primitives(), 1); var import_jsx_runtime137 = __toESM(require_jsx_runtime(), 1); var square_default = /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_primitives136.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_primitives136.Path, { fill: "none", d: "M5.75 12.75V18.25H11.25M12.75 5.75H18.25V11.25", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "square" }) }); // packages/icons/build-module/library/stack.mjs var import_primitives137 = __toESM(require_primitives(), 1); var import_jsx_runtime138 = __toESM(require_jsx_runtime(), 1); var stack_default = /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(import_primitives137.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(import_primitives137.Path, { d: "M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z" }) }); // packages/icons/build-module/library/symbol-filled.mjs var import_primitives138 = __toESM(require_primitives(), 1); var import_jsx_runtime139 = __toESM(require_jsx_runtime(), 1); var symbol_filled_default = /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(import_primitives138.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(import_primitives138.Path, { d: "M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z" }) }); // packages/icons/build-module/library/symbol.mjs var import_primitives139 = __toESM(require_primitives(), 1); var import_jsx_runtime140 = __toESM(require_jsx_runtime(), 1); var symbol_default = /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_primitives139.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_primitives139.Path, { d: "M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z" }) }); // packages/icons/build-module/library/tab-list.mjs var import_primitives140 = __toESM(require_primitives(), 1); var import_jsx_runtime141 = __toESM(require_jsx_runtime(), 1); var tab_list_default = /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_primitives140.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_primitives140.Path, { d: "M18.2 9.5h-3.5c-1 0-1.8.8-1.8 1.8v2.5h1.5v-2.5c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5v-2.5c0-1-.8-1.8-1.8-1.8Zm-9 0H5.7c-1 0-1.8.8-1.8 1.8v2.5h7v-2.5c0-1-.8-1.8-1.8-1.8Z" }) }); // packages/icons/build-module/library/tab-panel.mjs var import_primitives141 = __toESM(require_primitives(), 1); var import_jsx_runtime142 = __toESM(require_jsx_runtime(), 1); var tab_panel_default = /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_primitives141.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_primitives141.Path, { d: "M4 16.5h13V15H4v1.5ZM4 12v1.5h16V12H4Zm1.5-4.2c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5V7.8c0-1-.8-1.8-1.8-1.8H5.6c-1 0-1.8.8-1.8 1.8v2.5h1.5V7.8Z" }) }); // packages/icons/build-module/library/table-column-after.mjs var import_primitives142 = __toESM(require_primitives(), 1); var import_jsx_runtime143 = __toESM(require_jsx_runtime(), 1); var table_column_after_default = /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_primitives142.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_primitives142.Path, { d: "M19 3H5c-1.1 0-2 .9-2 2v14.2c.1.9.9 1.7 1.8 1.8H19.2c1-.1 1.8-1 1.8-2V5c0-1.1-.9-2-2-2ZM8.5 19.5H5c-.3 0-.5-.2-.5-.5v-3.5h4v4Zm0-5.5h-4v-4h4v4Zm0-5.5h-4V5c0-.3.2-.5.5-.5h3.5v4Zm11 10.5c0 .3-.2.5-.5.5h-9v-15h9c.3 0 .5.2.5.5v14Zm-4-10.8H14v3h-3v1.5h3v3h1.5v-3h3v-1.5h-3v-3Z" }) }); // packages/icons/build-module/library/table-column-before.mjs var import_primitives143 = __toESM(require_primitives(), 1); var import_jsx_runtime144 = __toESM(require_jsx_runtime(), 1); var table_column_before_default = /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(import_primitives143.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(import_primitives143.Path, { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1 .8 1.9 1.8 2H19.2c.9-.1 1.7-.9 1.8-1.8V5c0-1.1-.9-2-2-2Zm-5 16.5H5c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h9v15Zm5.5-.5c0 .3-.2.5-.5.5h-3.5v-4h4V19Zm0-5h-4v-4h4v4Zm0-5.5h-4v-4H19c.3 0 .5.2.5.5v3.5Zm-11 7.3H10v-3h3v-1.5h-3v-3H8.5v3h-3v1.5h3v3Z" }) }); // packages/icons/build-module/library/table-column-delete.mjs var import_primitives144 = __toESM(require_primitives(), 1); var import_jsx_runtime145 = __toESM(require_jsx_runtime(), 1); var table_column_delete_default = /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(import_primitives144.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(import_primitives144.Path, { d: "M19 3H5c-1.1 0-2 .9-2 2v14.2c.1.9.9 1.7 1.8 1.8H19.2c1-.1 1.8-1 1.8-2V5c0-1.1-.9-2-2-2ZM8.5 19.5H5c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h3.5v15Zm11-.5c0 .3-.2.5-.5.5h-9v-15h9c.3 0 .5.2.5.5v14ZM16.9 8.8l-2.1 2.1-2.1-2.1-1.1 1.1 2.1 2.1-2.1 2.1 1.1 1.1 2.1-2.1 2.1 2.1 1.1-1.1-2.1-2.1L18 9.9l-1.1-1.1Z" }) }); // packages/icons/build-module/library/table-of-contents.mjs var import_primitives145 = __toESM(require_primitives(), 1); var import_jsx_runtime146 = __toESM(require_jsx_runtime(), 1); var table_of_contents_default = /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(import_primitives145.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(import_primitives145.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M20 9.484h-8.889v-1.5H20v1.5Zm0 7h-4.889v-1.5H20v1.5Zm-14 .032a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" }), /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(import_primitives145.Path, { d: "M13 15.516a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 8.484a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" }) ] }); // packages/icons/build-module/library/table-row-after.mjs var import_primitives146 = __toESM(require_primitives(), 1); var import_jsx_runtime147 = __toESM(require_jsx_runtime(), 1); var table_row_after_default = /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(import_primitives146.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(import_primitives146.Path, { d: "M19 3H4.8c-.9.1-1.7.9-1.8 1.8V19.2c.1 1 1 1.8 2 1.8h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-9 1.5h4v4h-4v-4ZM4.5 5c0-.3.2-.5.5-.5h3.5v4h-4V5Zm15 14c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-9h15v9Zm0-10.5h-4v-4H19c.3 0 .5.2.5.5v3.5Zm-8.3 10h1.5v-3h3V14h-3v-3h-1.5v3h-3v1.5h3v3Z" }) }); // packages/icons/build-module/library/table-row-before.mjs var import_primitives147 = __toESM(require_primitives(), 1); var import_jsx_runtime148 = __toESM(require_jsx_runtime(), 1); var table_row_before_default = /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(import_primitives147.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(import_primitives147.Path, { d: "M21 5c0-1.1-.9-2-2-2H5c-1 0-1.9.8-2 1.8V19.2c.1.9.9 1.7 1.8 1.8H19c1.1 0 2-.9 2-2V5ZM4.5 14V5c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v9h-15Zm4 5.5H5c-.3 0-.5-.2-.5-.5v-3.5h4v4Zm5.5 0h-4v-4h4v4Zm5.5-.5c0 .3-.2.5-.5.5h-3.5v-4h4V19ZM11.2 10h-3V8.5h3v-3h1.5v3h3V10h-3v3h-1.5v-3Z" }) }); // packages/icons/build-module/library/table-row-delete.mjs var import_primitives148 = __toESM(require_primitives(), 1); var import_jsx_runtime149 = __toESM(require_jsx_runtime(), 1); var table_row_delete_default = /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(import_primitives148.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(import_primitives148.Path, { d: "M19 3H4.8c-.9.1-1.7.9-1.8 1.8V19.2c.1 1 1 1.8 2 1.8h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-9h15v9Zm0-10.5h-15V5c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v3.5Zm-9.6 9.4 2.1-2.1 2.1 2.1 1.1-1.1-2.1-2.1 2.1-2.1-1.1-1.1-2.1 2.1-2.1-2.1-1.1 1.1 2.1 2.1-2.1 2.1 1.1 1.1Z" }) }); // packages/icons/build-module/library/table.mjs var import_primitives149 = __toESM(require_primitives(), 1); var import_jsx_runtime150 = __toESM(require_jsx_runtime(), 1); var table_default = /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(import_primitives149.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(import_primitives149.Path, { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm.5 2v6.2h-6.8V4.4h6.2c.3 0 .5.2.5.5ZM5 4.5h6.2v6.8H4.4V5.1c0-.3.2-.5.5-.5ZM4.5 19v-6.2h6.8v6.8H5.1c-.3 0-.5-.2-.5-.5Zm14.5.5h-6.2v-6.8h6.8v6.2c0 .3-.2.5-.5.5Z" }) }); // packages/icons/build-module/library/tabs.mjs var import_primitives150 = __toESM(require_primitives(), 1); var import_jsx_runtime151 = __toESM(require_jsx_runtime(), 1); var tabs_default = /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(import_primitives150.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(import_primitives150.Path, { d: "M4 16.5h13V15H4v1.5Zm0-3h16V12H4v1.5ZM18.2 6h-3.5c-1 0-1.8.8-1.8 1.8v2.5h1.5V7.8c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5V7.8c0-1-.8-1.8-1.8-1.8ZM11 7.8c0-1-.8-1.8-1.8-1.8H5.7c-1 0-1.8.8-1.8 1.8v2.5h7V7.8Z" }) }); // packages/icons/build-module/library/tag.mjs var import_primitives151 = __toESM(require_primitives(), 1); var import_jsx_runtime152 = __toESM(require_jsx_runtime(), 1); var tag_default = /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(import_primitives151.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(import_primitives151.Path, { d: "M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" }) }); // packages/icons/build-module/library/term-count.mjs var import_primitives152 = __toESM(require_primitives(), 1); var import_jsx_runtime153 = __toESM(require_jsx_runtime(), 1); var term_count_default = /* @__PURE__ */ (0, import_jsx_runtime153.jsxs)(import_primitives152.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(import_primitives152.Path, { d: "M 12.841306,16.677917 12.001264,12.71529 Q 11.835801,11.930402 11.695793,11.417042 11.560029,10.89944 11.398809,10.568514 11.237588,10.237588 11,10 10.635133,9.6351329 10.219354,9.6351329 9.8078183,9.6308902 9.4387086,10 8.9932313,10.445477 8.8574668,11.022476 8.7259449,11.595233 8.7259449,12.155262 L 7.4955791,11.196425 Q 7.5719467,10.509117 7.8307477,9.9109045 8.0937915,9.3084495 8.6410921,8.7611489 9.1799075,8.2223335 9.7569066,8.086569 q 0.5812414,-0.1400071 1.1242994,0.046669 0.543058,0.1866762 0.975808,0.6194255 0.335168,0.3351686 0.581242,0.767918 0.24183,0.4285067 0.436992,1.0564174 0.195161,0.619426 0.381837,1.527351 l 0.364867,1.756453 1.883733,-1.883732 1.018234,1.018233 z" }), /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(import_primitives152.Path, { d: "M12.574 4a.75.75 0 0 1 .53.22l6.723 6.724a2.315 2.315 0 0 1 0 3.264l-.532-.528.531.53-5.61 5.611a2.31 2.31 0 0 1-3.276.001l-6.72-6.716a.75.75 0 0 1-.22-.53V4.75A.75.75 0 0 1 4.75 4h7.824ZM5.5 5.5v6.764l6.501 6.497a.817.817 0 0 0 .889.178.816.816 0 0 0 .264-.178l5.61-5.61a.816.816 0 0 0-.001-1.149l-6.5-6.502H5.5Z" }) ] }); // packages/icons/build-module/library/term-description.mjs var import_primitives153 = __toESM(require_primitives(), 1); var import_jsx_runtime154 = __toESM(require_jsx_runtime(), 1); var term_description_default = /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(import_primitives153.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(import_primitives153.Path, { d: "M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z" }) }); // packages/icons/build-module/library/term-name.mjs var import_primitives154 = __toESM(require_primitives(), 1); var import_jsx_runtime155 = __toESM(require_jsx_runtime(), 1); var term_name_default = /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)(import_primitives154.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [ /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(import_primitives154.Path, { d: "m14.95 13.889-1.061 1.061-5.552-5.553 1.06-1.06 5.552 5.552Z" }), /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(import_primitives154.Path, { d: "M12.574 4a.75.75 0 0 1 .53.22l6.723 6.724a2.315 2.315 0 0 1 0 3.264l-.532-.528.531.53-5.61 5.611a2.31 2.31 0 0 1-3.276.001l-6.72-6.716a.75.75 0 0 1-.22-.53V4.75A.75.75 0 0 1 4.75 4h7.824ZM5.5 5.5v6.764l6.501 6.497a.817.817 0 0 0 .889.178.816.816 0 0 0 .264-.178l5.61-5.61a.816.816 0 0 0-.001-1.149l-6.5-6.502H5.5Z" }) ] }); // packages/icons/build-module/library/time.mjs var import_primitives155 = __toESM(require_primitives(), 1); var import_jsx_runtime156 = __toESM(require_jsx_runtime(), 1); var time_default = /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(import_primitives155.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(import_primitives155.Path, { d: "M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16.5c-4.1 0-7.5-3.4-7.5-7.5S7.9 4.5 12 4.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5zM12 7l-1 5c0 .3.2.6.4.8l4.2 2.8-2.7-4.1L12 7z" }) }); // packages/icons/build-module/library/title.mjs var import_primitives156 = __toESM(require_primitives(), 1); var import_jsx_runtime157 = __toESM(require_jsx_runtime(), 1); var title_default = /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(import_primitives156.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(import_primitives156.Path, { d: "m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z" }) }); // packages/icons/build-module/library/upload.mjs var import_primitives157 = __toESM(require_primitives(), 1); var import_jsx_runtime158 = __toESM(require_jsx_runtime(), 1); var upload_default = /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(import_primitives157.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(import_primitives157.Path, { d: "M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z" }) }); // packages/icons/build-module/library/verse.mjs var import_primitives158 = __toESM(require_primitives(), 1); var import_jsx_runtime159 = __toESM(require_jsx_runtime(), 1); var verse_default = /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(import_primitives158.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(import_primitives158.Path, { d: "M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z" }) }); // packages/icons/build-module/library/video.mjs var import_primitives159 = __toESM(require_primitives(), 1); var import_jsx_runtime160 = __toESM(require_jsx_runtime(), 1); var video_default = /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(import_primitives159.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(import_primitives159.Path, { d: "M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z" }) }); // packages/icons/build-module/library/word-count.mjs var import_primitives160 = __toESM(require_primitives(), 1); var import_jsx_runtime161 = __toESM(require_jsx_runtime(), 1); var word_count_default = /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(import_primitives160.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(import_primitives160.Path, { d: "M19 5c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2zM5 6.5c-.3 0-.5.2-.5.5v10c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V7c0-.3-.2-.5-.5-.5zM14.734 9q.714 0 1.15.253.437.247.639.84.2.591.2 1.61v1.15q0 .402.036.667.04.258.172.39.138.127.437.127h.104l-.162.828h-.08q-.5 0-.776-.097a.9.9 0 0 1-.414-.283 2 2 0 0 1-.259-.448q-.316.367-.748.598-.43.23-.977.23-.524 0-.914-.213a1.56 1.56 0 0 1-.61-.58 1.65 1.65 0 0 1-.213-.84q0-.477.207-.817.213-.345.564-.568.357-.23.794-.363.437-.139.902-.196.471-.062.902-.068 0-.805-.315-1.053-.316-.247-.915-.247-.316 0-.678.098-.356.097-.805.408l-.15-.84a2.8 2.8 0 0 1 .846-.419A3.4 3.4 0 0 1 14.734 9m-5.877 1.669H9.86l.59-1.531h.689l-.585 1.53h.898l-.249.727h-.922l-.337.866h1.019l-.354.773h-.962l-.681 1.804h-.701l.69-1.804h-.999l-.693 1.804h-.69l.685-1.804H6.3l.34-.773h.915l.333-.866h-.994l.244-.726H8.16l.594-1.531h.693zm6.832 1.264q-.823.029-1.335.16-.506.133-.74.397-.236.265-.236.685 0 .454.241.66.248.202.632.202.414 0 .8-.207.39-.207.637-.552zm-7.441.328h1l.34-.866h-1z" }) }); // packages/block-library/build-module/accordion/edit.mjs var import_block_editor2 = __toESM(require_block_editor(), 1); var import_i18n = __toESM(require_i18n(), 1); var import_components = __toESM(require_components(), 1); var import_data2 = __toESM(require_data(), 1); var import_blocks = __toESM(require_blocks(), 1); // packages/block-library/build-module/utils/hooks.mjs var import_data = __toESM(require_data(), 1); var import_element2 = __toESM(require_element(), 1); var import_blob = __toESM(require_blob(), 1); var import_block_editor = __toESM(require_block_editor(), 1); var import_core_data = __toESM(require_core_data(), 1); var import_compose = __toESM(require_compose(), 1); function useCanEditEntity(kind, name122, recordId) { return (0, import_data.useSelect)( (select10) => select10(import_core_data.store).canUser("update", { kind, name: name122, id: recordId }), [kind, name122, recordId] ); } function useUploadMediaFromBlobURL(args = {}) { const latestArgsRef = (0, import_element2.useRef)(args); const hasUploadStartedRef = (0, import_element2.useRef)(false); const { getSettings: getSettings2 } = (0, import_data.useSelect)(import_block_editor.store); (0, import_element2.useLayoutEffect)(() => { latestArgsRef.current = args; }); (0, import_element2.useEffect)(() => { if (hasUploadStartedRef.current) { return; } if (!latestArgsRef.current.url || !(0, import_blob.isBlobURL)(latestArgsRef.current.url)) { return; } const file = (0, import_blob.getBlobByURL)(latestArgsRef.current.url); if (!file) { return; } const { url, allowedTypes, onChange, onError } = latestArgsRef.current; const { mediaUpload } = getSettings2(); if (!mediaUpload) { return; } hasUploadStartedRef.current = true; mediaUpload({ filesList: [file], allowedTypes, onFileChange: ([media]) => { if ((0, import_blob.isBlobURL)(media?.url)) { return; } (0, import_blob.revokeBlobURL)(url); onChange(media); hasUploadStartedRef.current = false; }, onError: (message) => { (0, import_blob.revokeBlobURL)(url); onError(message); hasUploadStartedRef.current = false; } }); }, [getSettings2]); } function useDefaultAvatar() { const avatarURL = (0, import_data.useSelect)((select10) => { const { getSettings: getSettings2 } = select10(import_block_editor.store); const { __experimentalDiscussionSettings } = getSettings2(); return __experimentalDiscussionSettings?.avatarURL ?? ""; }, []); return avatarURL; } function useToolsPanelDropdownMenuProps() { const isMobile = (0, import_compose.useViewportMatch)("medium", "<"); return !isMobile ? { popoverProps: { placement: "left-start", // For non-mobile, inner sidebar width (248px) - button width (24px) - border (1px) + padding (16px) + spacing (20px) offset: 259 } } : {}; } // packages/block-library/build-module/accordion/edit.mjs var import_jsx_runtime162 = __toESM(require_jsx_runtime(), 1); var ACCORDION_BLOCK_NAME = "core/accordion-item"; var ACCORDION_HEADING_BLOCK_NAME = "core/accordion-heading"; var ACCORDION_BLOCK = { name: ACCORDION_BLOCK_NAME }; function Edit({ attributes: { autoclose, iconPosition, showIcon, headingLevel, levelOptions }, clientId, setAttributes, isSelected: isSingleSelected }) { const registry = (0, import_data2.useRegistry)(); const { getBlockOrder } = (0, import_data2.useSelect)(import_block_editor2.store); const blockProps = (0, import_block_editor2.useBlockProps)({ role: "group" }); const dropdownMenuProps = useToolsPanelDropdownMenuProps(); const { updateBlockAttributes, insertBlock } = (0, import_data2.useDispatch)(import_block_editor2.store); const blockEditingMode = (0, import_block_editor2.useBlockEditingMode)(); const isContentOnlyMode = blockEditingMode === "contentOnly"; const innerBlocksProps = (0, import_block_editor2.useInnerBlocksProps)(blockProps, { template: [[ACCORDION_BLOCK_NAME]], defaultBlock: ACCORDION_BLOCK, directInsert: true, templateInsertUpdatesSelection: true }); const addAccordionItemBlock = () => { const newAccordionItem = (0, import_blocks.createBlock)(ACCORDION_BLOCK_NAME, {}, [ (0, import_blocks.createBlock)(ACCORDION_HEADING_BLOCK_NAME, { level: headingLevel }), (0, import_blocks.createBlock)("core/accordion-panel", {}) ]); insertBlock(newAccordionItem, void 0, clientId); }; const updateHeadingLevel = (newHeadingLevel) => { const innerBlockClientIds = getBlockOrder(clientId); const accordionHeaderClientIds = []; innerBlockClientIds.forEach((contentClientId) => { const headerClientIds = getBlockOrder(contentClientId); accordionHeaderClientIds.push(...headerClientIds); }); registry.batch(() => { setAttributes({ headingLevel: newHeadingLevel }); updateBlockAttributes(accordionHeaderClientIds, { level: newHeadingLevel }); }); }; return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(import_jsx_runtime162.Fragment, { children: [ isSingleSelected && !isContentOnlyMode && /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(import_jsx_runtime162.Fragment, { children: [ /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(import_block_editor2.BlockControls, { children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(import_components.ToolbarGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)( import_block_editor2.HeadingLevelDropdown, { value: headingLevel, options: levelOptions, onChange: updateHeadingLevel } ) }) }), /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(import_block_editor2.BlockControls, { group: "other", children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(import_components.ToolbarButton, { onClick: addAccordionItemBlock, children: (0, import_i18n.__)("Add item") }) }) ] }), /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(import_block_editor2.InspectorControls, { children: /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)( import_components.__experimentalToolsPanel, { label: (0, import_i18n.__)("Settings"), resetAll: () => { setAttributes({ autoclose: false, showIcon: true, iconPosition: "right" }); }, dropdownMenuProps, children: [ /* @__PURE__ */ (0, import_jsx_runtime162.jsx)( import_components.__experimentalToolsPanelItem, { label: (0, import_i18n.__)("Auto-close"), isShownByDefault: true, hasValue: () => !!autoclose, onDeselect: () => setAttributes({ autoclose: false }), children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)( import_components.ToggleControl, { label: (0, import_i18n.__)("Auto-close"), onChange: (value) => { setAttributes({ autoclose: value }); }, checked: autoclose, help: (0, import_i18n.__)( "Automatically close accordions when a new one is opened." ) } ) } ), /* @__PURE__ */ (0, import_jsx_runtime162.jsx)( import_components.__experimentalToolsPanelItem, { label: (0, import_i18n.__)("Show icon"), isShownByDefault: true, hasValue: () => !showIcon, onDeselect: () => setAttributes({ showIcon: true }), children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)( import_components.ToggleControl, { label: (0, import_i18n.__)("Show icon"), onChange: (value) => { setAttributes({ showIcon: value, iconPosition: value ? iconPosition : "right" }); }, checked: showIcon, help: (0, import_i18n.__)( "Display a plus icon next to the accordion header." ) } ) } ), showIcon && /* @__PURE__ */ (0, import_jsx_runtime162.jsx)( import_components.__experimentalToolsPanelItem, { label: (0, import_i18n.__)("Icon Position"), isShownByDefault: true, hasValue: () => iconPosition !== "right", onDeselect: () => setAttributes({ iconPosition: "right" }), children: /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)( import_components.__experimentalToggleGroupControl, { isBlock: true, label: (0, import_i18n.__)("Icon Position"), value: iconPosition, onChange: (value) => { setAttributes({ iconPosition: value }); }, children: [ /* @__PURE__ */ (0, import_jsx_runtime162.jsx)( import_components.__experimentalToggleGroupControlOption, { label: (0, import_i18n.__)("Left"), value: "left" } ), /* @__PURE__ */ (0, import_jsx_runtime162.jsx)( import_components.__experimentalToggleGroupControlOption, { label: (0, import_i18n.__)("Right"), value: "right" } ) ] } ) } ) ] } ) }, "setting"), /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...innerBlocksProps }) ] }); } // packages/block-library/build-module/accordion/save.mjs var import_block_editor3 = __toESM(require_block_editor(), 1); var import_jsx_runtime163 = __toESM(require_jsx_runtime(), 1); function save() { const blockProps = import_block_editor3.useBlockProps.save({ role: "group" }); return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { ...import_block_editor3.useInnerBlocksProps.save(blockProps) }); } // packages/block-library/build-module/accordion/block.json var block_default = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/accordion", title: "Accordion", category: "design", description: "Displays a foldable layout that groups content in collapsible sections.", example: {}, supports: { anchor: true, html: false, align: ["wide", "full"], background: { backgroundImage: true, backgroundSize: true, gradient: true, __experimentalDefaultControls: { backgroundImage: true } }, color: { background: true, gradients: true }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, spacing: { padding: true, margin: ["top", "bottom"], blockGap: true }, shadow: true, layout: true, ariaLabel: true, interactivity: true, typography: { fontSize: true, lineHeight: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true } }, contentRole: true, listView: true }, attributes: { iconPosition: { type: "string", default: "right" }, showIcon: { type: "boolean", default: true }, autoclose: { type: "boolean", default: false }, headingLevel: { type: "number", default: 3 }, levelOptions: { type: "array" } }, providesContext: { "core/accordion-icon-position": "iconPosition", "core/accordion-show-icon": "showIcon", "core/accordion-heading-level": "headingLevel" }, allowedBlocks: ["core/accordion-item"], textdomain: "default", viewScriptModule: "@wordpress/block-library/accordion/view" }; // packages/block-library/build-module/utils/init-block.mjs var import_blocks2 = __toESM(require_blocks(), 1); function initBlock(block) { if (!block) { return; } const { metadata, settings: settings121, name: name122 } = block; return (0, import_blocks2.registerBlockType)({ name: name122, ...metadata }, settings121); } // packages/block-library/build-module/accordion/index.mjs var { name } = block_default; var settings = { icon: accordion_default, example: { innerBlocks: [ { name: "core/accordion-item", innerBlocks: [ { name: "core/accordion-heading", attributes: { title: (0, import_i18n2.__)( "Lorem ipsum dolor sit amet, consectetur." ) } } ] }, { name: "core/accordion-item", innerBlocks: [ { name: "core/accordion-heading", attributes: { title: (0, import_i18n2.__)( "Suspendisse commodo lacus, interdum et." ) } } ] } ] }, edit: Edit, save }; var init = () => initBlock({ name, metadata: block_default, settings }); // packages/block-library/build-module/accordion-item/index.mjs var accordion_item_exports = {}; __export(accordion_item_exports, { init: () => init2, metadata: () => block_default2, name: () => name2, settings: () => settings2 }); // packages/block-library/build-module/accordion-item/edit.mjs var import_i18n3 = __toESM(require_i18n(), 1); var import_block_editor4 = __toESM(require_block_editor(), 1); var import_data3 = __toESM(require_data(), 1); var import_components2 = __toESM(require_components(), 1); var import_jsx_runtime164 = __toESM(require_jsx_runtime(), 1); var TEMPLATE = [["core/accordion-heading"], ["core/accordion-panel"]]; function Edit2({ attributes, clientId, setAttributes, isSelected: isSingleSelected }) { const { openByDefault } = attributes; const dropdownMenuProps = useToolsPanelDropdownMenuProps(); const { isSelected } = (0, import_data3.useSelect)( (select10) => { if (isSingleSelected || openByDefault) { return { isSelected: true }; } return { isSelected: select10(import_block_editor4.store).hasSelectedInnerBlock( clientId, true ) }; }, [clientId, isSingleSelected, openByDefault] ); const blockProps = (0, import_block_editor4.useBlockProps)({ className: clsx_default({ "is-open": openByDefault || isSelected }) }); const innerBlocksProps = (0, import_block_editor4.useInnerBlocksProps)(blockProps, { template: TEMPLATE, templateLock: "all", directInsert: true, templateInsertUpdatesSelection: true }); return /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(import_jsx_runtime164.Fragment, { children: [ /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(import_block_editor4.InspectorControls, { children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)( import_components2.__experimentalToolsPanel, { label: (0, import_i18n3.__)("Settings"), resetAll: () => { setAttributes({ openByDefault: false }); }, dropdownMenuProps, children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)( import_components2.__experimentalToolsPanelItem, { label: (0, import_i18n3.__)("Open by default"), isShownByDefault: true, hasValue: () => !!openByDefault, onDeselect: () => { setAttributes({ openByDefault: false }); }, children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)( import_components2.ToggleControl, { label: (0, import_i18n3.__)("Open by default"), onChange: (value) => { setAttributes({ openByDefault: value }); }, checked: openByDefault, help: (0, import_i18n3.__)( "Accordion content will be displayed by default." ) } ) } ) } ) }, "setting"), /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("div", { ...innerBlocksProps }) ] }); } // packages/block-library/build-module/accordion-item/save.mjs var import_block_editor5 = __toESM(require_block_editor(), 1); var import_jsx_runtime165 = __toESM(require_jsx_runtime(), 1); function save2({ attributes }) { const { openByDefault } = attributes; const blockProps = import_block_editor5.useBlockProps.save({ className: clsx_default({ "is-open": openByDefault }) }); const innerBlocksProps = import_block_editor5.useInnerBlocksProps.save(blockProps); return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("div", { ...innerBlocksProps }); } // packages/block-library/build-module/accordion-item/block.json var block_default2 = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/accordion-item", title: "Accordion Item", category: "design", description: "Wraps the heading and panel in one unit.", parent: ["core/accordion"], allowedBlocks: ["core/accordion-heading", "core/accordion-panel"], supports: { html: false, color: { background: true, gradients: true }, interactivity: true, spacing: { margin: ["top", "bottom"], padding: true, blockGap: true }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, shadow: true, layout: { allowEditing: false }, typography: { fontSize: true, lineHeight: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true } }, contentRole: true }, attributes: { openByDefault: { type: "boolean", default: false } }, providesContext: { "core/accordion-open-by-default": "openByDefault" }, textdomain: "default", style: "wp-block-accordion-item" }; // packages/block-library/build-module/accordion-item/index.mjs var { name: name2 } = block_default2; var settings2 = { icon: accordion_item_default, edit: Edit2, save: save2 }; var init2 = () => initBlock({ name: name2, metadata: block_default2, settings: settings2 }); // packages/block-library/build-module/accordion-heading/index.mjs var accordion_heading_exports = {}; __export(accordion_heading_exports, { init: () => init3, metadata: () => block_default3, name: () => name3, settings: () => settings3 }); // packages/block-library/build-module/accordion-heading/edit.mjs var import_i18n4 = __toESM(require_i18n(), 1); var import_element3 = __toESM(require_element(), 1); var import_block_editor6 = __toESM(require_block_editor(), 1); var import_data4 = __toESM(require_data(), 1); var import_jsx_runtime166 = __toESM(require_jsx_runtime(), 1); function Edit3({ attributes, setAttributes, context }) { const { title } = attributes; const { "core/accordion-icon-position": iconPosition, "core/accordion-show-icon": showIcon, "core/accordion-heading-level": headingLevel } = context; const TagName2 = "h" + headingLevel; const { __unstableMarkNextChangeAsNotPersistent } = (0, import_data4.useDispatch)(import_block_editor6.store); (0, import_element3.useEffect)(() => { if (iconPosition !== void 0 && showIcon !== void 0) { __unstableMarkNextChangeAsNotPersistent(); setAttributes({ iconPosition, showIcon }); } }, [ iconPosition, showIcon, setAttributes, __unstableMarkNextChangeAsNotPersistent ]); const [fluidTypographySettings, layout] = (0, import_block_editor6.useSettings)( "typography.fluid", "layout" ); const typographyProps = (0, import_block_editor6.getTypographyClassesAndStyles)(attributes, { typography: { fluid: fluidTypographySettings }, layout: { wideSize: layout?.wideSize } }); const blockProps = (0, import_block_editor6.useBlockProps)({ className: clsx_default({ "has-icon": showIcon, "has-icon-left": showIcon && iconPosition === "left", "has-icon-right": showIcon && iconPosition === "right" }) }); const spacingProps = (0, import_block_editor6.__experimentalGetSpacingClassesAndStyles)(attributes); return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(TagName2, { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)( "button", { className: "wp-block-accordion-heading__toggle", style: spacingProps.style, tabIndex: "-1", children: [ showIcon && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ), /* @__PURE__ */ (0, import_jsx_runtime166.jsx)( import_block_editor6.RichText, { withoutInteractiveFormatting: true, disableLineBreaks: true, tagName: "span", value: title, onChange: (newTitle) => setAttributes({ title: newTitle }), placeholder: (0, import_i18n4.__)("Accordion title"), className: "wp-block-accordion-heading__toggle-title", style: { letterSpacing: typographyProps.style.letterSpacing, textDecoration: typographyProps.style.textDecoration } } ), showIcon && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ) ] } ) }); } // packages/block-library/build-module/accordion-heading/save.mjs var import_block_editor7 = __toESM(require_block_editor(), 1); var import_jsx_runtime167 = __toESM(require_jsx_runtime(), 1); function save3({ attributes }) { const { level, title, iconPosition, showIcon } = attributes; const TagName2 = "h" + (level || 3); const typographyProps = (0, import_block_editor7.getTypographyClassesAndStyles)(attributes); const blockProps = import_block_editor7.useBlockProps.save({ className: clsx_default({ "has-icon": showIcon, "has-icon-left": showIcon && iconPosition === "left", "has-icon-right": showIcon && iconPosition === "right" }) }); const spacingProps = (0, import_block_editor7.__experimentalGetSpacingClassesAndStyles)(attributes); return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(TagName2, { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)( "button", { type: "button", className: "wp-block-accordion-heading__toggle", style: spacingProps.style, children: [ showIcon && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime167.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ), /* @__PURE__ */ (0, import_jsx_runtime167.jsx)( import_block_editor7.RichText.Content, { className: "wp-block-accordion-heading__toggle-title", tagName: "span", value: title, style: { letterSpacing: typographyProps.style.letterSpacing, textDecoration: typographyProps.style.textDecoration } } ), showIcon && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime167.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ) ] } ) }); } // packages/block-library/build-module/accordion-heading/block.json var block_default3 = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/accordion-heading", title: "Accordion Heading", category: "design", description: "Displays a heading that toggles the accordion panel.", parent: ["core/accordion-item"], usesContext: [ "core/accordion-icon-position", "core/accordion-show-icon", "core/accordion-heading-level" ], supports: { anchor: true, color: { background: true, gradients: true }, align: false, interactivity: true, spacing: { padding: true, __experimentalDefaultControls: { padding: true }, __experimentalSkipSerialization: true, __experimentalSelector: ".wp-block-accordion-heading__toggle" }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, typography: { __experimentalSkipSerialization: [ "textDecoration", "letterSpacing" ], fontSize: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true, fontFamily: true } }, shadow: true, visibility: false, lock: false }, selectors: { typography: { letterSpacing: ".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title", textDecoration: ".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title" } }, attributes: { openByDefault: { type: "boolean", default: false }, title: { type: "rich-text", source: "rich-text", selector: ".wp-block-accordion-heading__toggle-title", role: "content" }, level: { type: "number" }, iconPosition: { type: "string", enum: ["left", "right"], default: "right" }, showIcon: { type: "boolean", default: true } }, textdomain: "default" }; // packages/block-library/build-module/accordion-heading/deprecated.mjs var import_block_editor8 = __toESM(require_block_editor(), 1); var import_jsx_runtime168 = __toESM(require_jsx_runtime(), 1); var v1 = { attributes: { openByDefault: { type: "boolean", default: false }, title: { type: "rich-text", source: "rich-text", selector: ".wp-block-accordion-heading__toggle-title", role: "content" }, level: { type: "number" }, iconPosition: { type: "string", enum: ["left", "right"], default: "right" }, showIcon: { type: "boolean", default: true } }, supports: { anchor: true, color: { background: true, gradients: true }, align: false, interactivity: true, spacing: { padding: true, __experimentalDefaultControls: { padding: true }, __experimentalSkipSerialization: true, __experimentalSelector: ".wp-block-accordion-heading__toggle" }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, typography: { fontSize: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true, fontFamily: true } }, shadow: true, visibility: false }, save({ attributes }) { const { level, title, iconPosition, showIcon } = attributes; const TagName2 = "h" + (level || 3); const blockProps = import_block_editor8.useBlockProps.save(); const spacingProps = (0, import_block_editor8.__experimentalGetSpacingClassesAndStyles)(attributes); return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(TagName2, { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime168.jsxs)( "button", { className: "wp-block-accordion-heading__toggle", style: spacingProps.style, children: [ showIcon && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ), /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( import_block_editor8.RichText.Content, { className: "wp-block-accordion-heading__toggle-title", tagName: "span", value: title } ), showIcon && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ) ] } ) }); } }; var v2 = { attributes: { openByDefault: { type: "boolean", default: false }, title: { type: "rich-text", source: "rich-text", selector: ".wp-block-accordion-heading__toggle-title", role: "content" }, level: { type: "number" }, iconPosition: { type: "string", enum: ["left", "right"], default: "right" }, showIcon: { type: "boolean", default: true } }, supports: { anchor: true, color: { background: true, gradients: true }, align: false, interactivity: true, spacing: { padding: true, __experimentalDefaultControls: { padding: true }, __experimentalSkipSerialization: true, __experimentalSelector: ".wp-block-accordion-heading__toggle" }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, typography: { __experimentalSkipSerialization: [ "textDecoration", "letterSpacing" ], fontSize: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true, fontFamily: true } }, shadow: true, visibility: false, lock: false }, save({ attributes }) { const { level, title, iconPosition, showIcon } = attributes; const TagName2 = "h" + (level || 3); const typographyProps = (0, import_block_editor8.getTypographyClassesAndStyles)(attributes); const blockProps = import_block_editor8.useBlockProps.save(); const spacingProps = (0, import_block_editor8.__experimentalGetSpacingClassesAndStyles)(attributes); return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(TagName2, { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime168.jsxs)( "button", { className: "wp-block-accordion-heading__toggle", style: spacingProps.style, children: [ showIcon && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ), /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( import_block_editor8.RichText.Content, { className: "wp-block-accordion-heading__toggle-title", tagName: "span", value: title, style: { letterSpacing: typographyProps.style.letterSpacing, textDecoration: typographyProps.style.textDecoration } } ), showIcon && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ) ] } ) }); } }; var v3 = { attributes: { openByDefault: { type: "boolean", default: false }, title: { type: "rich-text", source: "rich-text", selector: ".wp-block-accordion-heading__toggle-title", role: "content" }, level: { type: "number" }, iconPosition: { type: "string", enum: ["left", "right"], default: "right" }, showIcon: { type: "boolean", default: true } }, supports: { anchor: true, color: { background: true, gradients: true }, align: false, interactivity: true, spacing: { padding: true, __experimentalDefaultControls: { padding: true }, __experimentalSkipSerialization: true, __experimentalSelector: ".wp-block-accordion-heading__toggle" }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, typography: { __experimentalSkipSerialization: [ "textDecoration", "letterSpacing" ], fontSize: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true, fontFamily: true } }, shadow: true, visibility: false, lock: false }, save({ attributes }) { const { level, title, iconPosition, showIcon } = attributes; const TagName2 = "h" + (level || 3); const typographyProps = (0, import_block_editor8.getTypographyClassesAndStyles)(attributes); const blockProps = import_block_editor8.useBlockProps.save(); const spacingProps = (0, import_block_editor8.__experimentalGetSpacingClassesAndStyles)(attributes); return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(TagName2, { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime168.jsxs)( "button", { type: "button", className: "wp-block-accordion-heading__toggle", style: spacingProps.style, children: [ showIcon && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ), /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( import_block_editor8.RichText.Content, { className: "wp-block-accordion-heading__toggle-title", tagName: "span", value: title, style: { letterSpacing: typographyProps.style.letterSpacing, textDecoration: typographyProps.style.textDecoration } } ), showIcon && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)( "span", { className: "wp-block-accordion-heading__toggle-icon", "aria-hidden": "true", children: "+" } ) ] } ) }); } }; var deprecated_default = [v3, v2, v1]; // packages/block-library/build-module/accordion-heading/index.mjs var { name: name3 } = block_default3; var settings3 = { icon: accordion_heading_default, edit: Edit3, save: save3, deprecated: deprecated_default }; var init3 = () => initBlock({ name: name3, metadata: block_default3, settings: settings3 }); // packages/block-library/build-module/accordion-panel/index.mjs var accordion_panel_exports = {}; __export(accordion_panel_exports, { init: () => init4, metadata: () => block_default4, name: () => name4, settings: () => settings4 }); // packages/block-library/build-module/accordion-panel/edit.mjs var import_block_editor9 = __toESM(require_block_editor(), 1); var import_data5 = __toESM(require_data(), 1); var import_jsx_runtime169 = __toESM(require_jsx_runtime(), 1); function Edit4({ attributes, context, clientId, isSelected }) { const { allowedBlocks, templateLock } = attributes; const openByDefault = context["core/accordion-open-by-default"]; const { hasSelection } = (0, import_data5.useSelect)( (select10) => { if (isSelected || openByDefault) { return { hasSelection: true }; } const { getBlockRootClientId, isBlockSelected, hasSelectedInnerBlock } = select10(import_block_editor9.store); const rootClientId = getBlockRootClientId(clientId); return { hasSelection: isBlockSelected(rootClientId) || hasSelectedInnerBlock(rootClientId, true) }; }, [clientId, isSelected, openByDefault] ); const blockProps = (0, import_block_editor9.useBlockProps)({ hidden: !hasSelection, role: "region" }); const innerBlocksProps = (0, import_block_editor9.useInnerBlocksProps)(blockProps, { allowedBlocks, template: [["core/paragraph", {}]], templateLock }); return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)("div", { ...innerBlocksProps }); } // packages/block-library/build-module/accordion-panel/save.mjs var import_block_editor10 = __toESM(require_block_editor(), 1); var import_jsx_runtime170 = __toESM(require_jsx_runtime(), 1); function save4() { const blockProps = import_block_editor10.useBlockProps.save({ role: "region" }); const innerBlocksProps = import_block_editor10.useInnerBlocksProps.save(blockProps); return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { ...innerBlocksProps }); } // packages/block-library/build-module/accordion-panel/block.json var block_default4 = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/accordion-panel", title: "Accordion Panel", category: "design", description: "Contains the hidden or revealed content beneath the heading.", parent: ["core/accordion-item"], usesContext: ["core/accordion-open-by-default"], supports: { html: false, color: { background: true, gradients: true }, interactivity: true, spacing: { padding: true, blockGap: true, __experimentalDefaultControls: { padding: true, blockGap: true } }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, typography: { fontSize: true, lineHeight: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true } }, shadow: true, layout: { allowEditing: false }, visibility: false, contentRole: true, allowedBlocks: true, lock: false }, attributes: { templateLock: { type: ["string", "boolean"], enum: ["all", "insert", "contentOnly", false], default: false } }, textdomain: "default", style: "wp-block-accordion-panel" }; // packages/block-library/build-module/accordion-panel/index.mjs var { name: name4 } = block_default4; var settings4 = { icon: contents_default, edit: Edit4, save: save4 }; var init4 = () => initBlock({ name: name4, metadata: block_default4, settings: settings4 }); // packages/block-library/build-module/archives/index.mjs var archives_exports = {}; __export(archives_exports, { init: () => init5, metadata: () => block_default5, name: () => name5, settings: () => settings5 }); // packages/block-library/build-module/archives/block.json var block_default5 = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/archives", title: "Archives", category: "widgets", description: "Display a date archive of your posts.", textdomain: "default", attributes: { displayAsDropdown: { type: "boolean", default: false }, showLabel: { type: "boolean", default: true }, showPostCounts: { type: "boolean", default: false }, type: { type: "string", default: "monthly" } }, supports: { anchor: true, align: true, __experimentalBorder: { radius: true, color: true, width: true, style: true }, html: false, spacing: { margin: true, padding: true, __experimentalDefaultControls: { margin: false, padding: false } }, typography: { fontSize: true, lineHeight: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true } }, color: { gradients: true, link: true, __experimentalDefaultControls: { background: true, text: true, link: true } }, interactivity: { clientNavigation: true } } }; // packages/block-library/build-module/archives/edit.mjs var import_components3 = __toESM(require_components(), 1); var import_i18n5 = __toESM(require_i18n(), 1); var import_block_editor11 = __toESM(require_block_editor(), 1); var import_server_side_render = __toESM(require_server_side_render(), 1); var import_compose2 = __toESM(require_compose(), 1); var import_jsx_runtime171 = __toESM(require_jsx_runtime(), 1); function ArchivesEdit({ attributes, setAttributes, name: name122 }) { const { showLabel, showPostCounts, displayAsDropdown, type } = attributes; const dropdownMenuProps = useToolsPanelDropdownMenuProps(); const { content, status, error: error2 } = (0, import_server_side_render.useServerSideRender)({ attributes, skipBlockSupportAttributes: true, block: name122 }); const disabledRef = (0, import_compose2.useDisabled)(); const blockProps = (0, import_block_editor11.useBlockProps)({ ref: disabledRef }); return /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_jsx_runtime171.Fragment, { children: [ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_block_editor11.InspectorControls, { children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)( import_components3.__experimentalToolsPanel, { label: (0, import_i18n5.__)("Settings"), resetAll: () => { setAttributes({ displayAsDropdown: false, showLabel: true, showPostCounts: false, type: "monthly" }); }, dropdownMenuProps, children: [ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)( import_components3.__experimentalToolsPanelItem, { label: (0, import_i18n5.__)("Display as dropdown"), isShownByDefault: true, hasValue: () => displayAsDropdown, onDeselect: () => setAttributes({ displayAsDropdown: false }), children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)( import_components3.ToggleControl, { label: (0, import_i18n5.__)("Display as dropdown"), checked: displayAsDropdown, onChange: () => setAttributes({ displayAsDropdown: !displayAsDropdown }) } ) } ), displayAsDropdown && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)( import_components3.__experimentalToolsPanelItem, { label: (0, import_i18n5.__)("Show label"), isShownByDefault: true, hasValue: () => !showLabel, onDeselect: () => setAttributes({ showLabel: true }), children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)( import_components3.ToggleControl, { label: (0, import_i18n5.__)("Show label"), checked: showLabel, onChange: () => setAttributes({ showLabel: !showLabel }) } ) } ), /* @__PURE__ */ (0, import_jsx_runtime171.jsx)( import_components3.__experimentalToolsPanelItem, { label: (0, import_i18n5.__)("Show post counts"), isShownByDefault: true, hasValue: () => showPostCounts, onDeselect: () => setAttributes({ showPostCounts: false }), children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)( import_components3.ToggleControl, { label: (0, import_i18n5.__)("Show post counts"), checked: showPostCounts, onChange: () => setAttributes({ showPostCounts: !showPostCounts }) } ) } ), /* @__PURE__ */ (0, import_jsx_runtime171.jsx)( import_components3.__experimentalToolsPanelItem, { label: (0, import_i18n5.__)("Group by"), isShownByDefault: true, hasValue: () => type !== "monthly", onDeselect: () => setAttributes({ type: "monthly" }), children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)( import_components3.SelectControl, { label: (0, import_i18n5.__)("Group by"), options: [ { label: (0, import_i18n5.__)("Year"), value: "yearly" }, { label: (0, import_i18n5.__)("Month"), value: "monthly" }, { label: (0, import_i18n5.__)("Week"), value: "weekly" }, { label: (0, import_i18n5.__)("Day"), value: "daily" } ], value: type, onChange: (value) => setAttributes({ type: value }) } ) } ) ] } ) }), status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_components3.Spinner, {}) }), status === "error" && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("p", { children: (0, import_i18n5.sprintf)( /* translators: %s: error message returned when rendering the block. */ (0, import_i18n5.__)("Error: %s"), error2 ) }) }), status === "success" && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(html_renderer_default, { wrapperProps: blockProps, html: content }) ] }); } // packages/block-library/build-module/archives/index.mjs var { name: name5 } = block_default5; var settings5 = { icon: archive_default, example: {}, edit: ArchivesEdit }; var init5 = () => initBlock({ name: name5, metadata: block_default5, settings: settings5 }); // packages/block-library/build-module/avatar/index.mjs var avatar_exports = {}; __export(avatar_exports, { init: () => init6, metadata: () => block_default6, name: () => name6, settings: () => settings6 }); // packages/block-library/build-module/avatar/block.json var block_default6 = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/avatar", title: "Avatar", category: "theme", description: "Add a user\u2019s avatar.", textdomain: "default", attributes: { userId: { type: "number" }, size: { type: "number", default: 96 }, isLink: { type: "boolean", default: false }, linkTarget: { type: "string", default: "_self" } }, usesContext: ["postType", "postId", "commentId"], supports: { anchor: true, html: false, align: true, alignWide: false, spacing: { margin: true, padding: true, __experimentalDefaultControls: { margin: false, padding: false } }, __experimentalBorder: { __experimentalSkipSerialization: true, radius: true, width: true, color: true, style: true, __experimentalDefaultControls: { radius: true } }, color: { text: false, background: false }, filter: { duotone: true }, interactivity: { clientNavigation: true } }, selectors: { border: ".wp-block-avatar img", filter: { duotone: ".wp-block-avatar img" } }, editorStyle: "wp-block-avatar-editor", style: "wp-block-avatar" }; // packages/block-library/build-module/avatar/edit.mjs var import_block_editor12 = __toESM(require_block_editor(), 1); var import_components5 = __toESM(require_components(), 1); var import_i18n8 = __toESM(require_i18n(), 1); var import_url = __toESM(require_url(), 1); // packages/block-library/build-module/avatar/hooks.mjs var import_core_data2 = __toESM(require_core_data(), 1); var import_i18n6 = __toESM(require_i18n(), 1); var import_data6 = __toESM(require_data(), 1); function getAvatarSizes(sizes) { const minSize = sizes ? sizes[0] : 24; const maxSize = sizes ? sizes[sizes.length - 1] : 96; const maxSizeBuffer = Math.floor(maxSize * 2.5); return { minSize, maxSize: maxSizeBuffer }; } function useCommentAvatar({ commentId }) { const [avatars] = (0, import_core_data2.useEntityProp)( "root", "comment", "author_avatar_urls", commentId ); const [authorName] = (0, import_core_data2.useEntityProp)( "root", "comment", "author_name", commentId ); const avatarUrls = avatars ? Object.values(avatars) : null; const sizes = avatars ? Object.keys(avatars) : null; const { minSize, maxSize } = getAvatarSizes(sizes); const defaultAvatar = useDefaultAvatar(); return { src: avatarUrls ? avatarUrls[avatarUrls.length - 1] : defaultAvatar, minSize, maxSize, alt: authorName ? ( // translators: %s: Author name. (0, import_i18n6.sprintf)((0, import_i18n6.__)("%s Avatar"), authorName) ) : (0, import_i18n6.__)("Default Avatar") }; } function useUserAvatar({ userId, postId, postType }) { const { authorDetails } = (0, import_data6.useSelect)( (select10) => { const { getEditedEntityRecord, getUser } = select10(import_core_data2.store); if (userId) { return { authorDetails: getUser(userId) }; } const _authorId = getEditedEntityRecord( "postType", postType, postId )?.author; return { authorDetails: _authorId ? getUser(_authorId) : null }; }, [postType, postId, userId] ); const avatarUrls = authorDetails?.avatar_urls ? Object.values(authorDetails.avatar_urls) : null; const sizes = authorDetails?.avatar_urls ? Object.keys(authorDetails.avatar_urls) : null; const { minSize, maxSize } = getAvatarSizes(sizes); const defaultAvatar = useDefaultAvatar(); return { src: avatarUrls ? avatarUrls[avatarUrls.length - 1] : defaultAvatar, minSize, maxSize, alt: authorDetails ? ( // translators: %s: Author name. (0, import_i18n6.sprintf)((0, import_i18n6.__)("%s Avatar"), authorDetails?.name) ) : (0, import_i18n6.__)("Default Avatar") }; } // packages/block-library/build-module/avatar/user-control.mjs var import_i18n7 = __toESM(require_i18n(), 1); var import_components4 = __toESM(require_components(), 1); var import_data7 = __toESM(require_data(), 1); var import_core_data3 = __toESM(require_core_data(), 1); var import_element4 = __toESM(require_element(), 1); var import_compose3 = __toESM(require_compose(), 1); var import_html_entities = __toESM(require_html_entities(), 1); var import_jsx_runtime172 = __toESM(require_jsx_runtime(), 1); var AUTHORS_QUERY = { who: "authors", per_page: 100, _fields: "id,name", context: "view" }; function UserControl({ value, onChange }) { const [filterValue, setFilterValue] = (0, import_element4.useState)(""); const { authors, isLoading } = (0, import_data7.useSelect)( (select10) => { const { getUsers, isResolving } = select10(import_core_data3.store); const query = { ...AUTHORS_QUERY }; if (filterValue) { query.search = filterValue; query.search_columns = ["name"]; } return { authors: getUsers(query), isLoading: isResolving("getUsers", [query]) }; }, [filterValue] ); const options2 = (0, import_element4.useMemo)(() => { return (authors ?? []).map((author) => { return { value: author.id, label: (0, import_html_entities.decodeEntities)(author.name) }; }); }, [authors]); return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)( import_components4.ComboboxControl, { label: (0, import_i18n7.__)("User"), help: (0, import_i18n7.__)( "Select the avatar user to display, if it is blank it will use the post/page author." ), value, onChange, options: options2, onFilterValueChange: (0, import_compose3.debounce)(setFilterValue, 300), isLoading } ); } // packages/block-library/build-module/avatar/edit.mjs var import_jsx_runtime173 = __toESM(require_jsx_runtime(), 1); var AvatarInspectorControls = ({ setAttributes, avatar, attributes, selectUser }) => { const dropdownMenuProps = useToolsPanelDropdownMenuProps(); return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(import_block_editor12.InspectorControls, { children: /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)( import_components5.__experimentalToolsPanel, { label: (0, import_i18n8.__)("Settings"), resetAll: () => { setAttributes({ size: 96, isLink: false, linkTarget: "_self", userId: void 0 }); }, dropdownMenuProps, children: [ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( import_components5.__experimentalToolsPanelItem, { label: (0, import_i18n8.__)("Image size"), isShownByDefault: true, hasValue: () => attributes?.size !== 96, onDeselect: () => setAttributes({ size: 96 }), children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( import_components5.RangeControl, { label: (0, import_i18n8.__)("Image size"), onChange: (newSize) => setAttributes({ size: newSize }), min: avatar.minSize, max: avatar.maxSize, initialPosition: attributes?.size, value: attributes?.size } ) } ), /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( import_components5.__experimentalToolsPanelItem, { label: (0, import_i18n8.__)("Link to user profile"), isShownByDefault: true, hasValue: () => attributes?.isLink, onDeselect: () => setAttributes({ isLink: false }), children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( import_components5.ToggleControl, { label: (0, import_i18n8.__)("Link to user profile"), onChange: () => setAttributes({ isLink: !attributes.isLink }), checked: attributes.isLink } ) } ), attributes.isLink && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( import_components5.__experimentalToolsPanelItem, { label: (0, import_i18n8.__)("Open in new tab"), isShownByDefault: true, hasValue: () => attributes?.linkTarget !== "_self", onDeselect: () => setAttributes({ linkTarget: "_self" }), children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( import_components5.ToggleControl, { label: (0, import_i18n8.__)("Open in new tab"), onChange: (value) => setAttributes({ linkTarget: value ? "_blank" : "_self" }), checked: attributes.linkTarget === "_blank" } ) } ), selectUser && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( import_components5.__experimentalToolsPanelItem, { label: (0, import_i18n8.__)("User"), isShownByDefault: true, hasValue: () => !!attributes?.userId, onDeselect: () => setAttributes({ userId: void 0 }), children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( UserControl, { value: attributes?.userId, onChange: (value) => { setAttributes({ userId: value }); } } ) } ) ] } ) }); }; var AvatarLinkWrapper = ({ children, isLink }) => isLink ? /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( "a", { href: "#avatar-pseudo-link", className: "wp-block-avatar__link", onClick: (event) => event.preventDefault(), children } ) : children; var ResizableAvatar = ({ setAttributes, attributes, avatar, blockProps, isSelected }) => { const borderProps = (0, import_block_editor12.__experimentalUseBorderProps)(attributes); const doubledSizedSrc = (0, import_url.addQueryArgs)( (0, import_url.removeQueryArgs)(avatar?.src, ["s"]), { s: attributes?.size * 2 } ); return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(AvatarLinkWrapper, { isLink: attributes.isLink, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( import_components5.ResizableBox, { size: { width: attributes.size, height: attributes.size }, showHandle: isSelected, onResizeStop: (event, direction, elt, delta) => { setAttributes({ size: parseInt( attributes.size + (delta.height || delta.width), 10 ) }); }, lockAspectRatio: true, enable: { top: false, right: !(0, import_i18n8.isRTL)(), bottom: true, left: (0, import_i18n8.isRTL)() }, minWidth: avatar.minSize, maxWidth: avatar.maxSize, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( "img", { src: doubledSizedSrc, alt: avatar.alt, className: clsx_default( "avatar", "avatar-" + attributes.size, "photo", "wp-block-avatar__image", borderProps.className ), style: borderProps.style } ) } ) }) }); }; var CommentEdit = ({ attributes, context, setAttributes, isSelected }) => { const { commentId } = context; const blockProps = (0, import_block_editor12.useBlockProps)(); const avatar = useCommentAvatar({ commentId }); return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(import_jsx_runtime173.Fragment, { children: [ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( AvatarInspectorControls, { avatar, setAttributes, attributes, selectUser: false } ), /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( ResizableAvatar, { attributes, avatar, blockProps, isSelected, setAttributes } ) ] }); }; var UserEdit = ({ attributes, context, setAttributes, isSelected }) => { const { postId, postType } = context; const avatar = useUserAvatar({ userId: attributes?.userId, postId, postType }); const blockProps = (0, import_block_editor12.useBlockProps)(); return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(import_jsx_runtime173.Fragment, { children: [ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( AvatarInspectorControls, { selectUser: true, attributes, avatar, setAttributes } ), /* @__PURE__ */ (0, import_jsx_runtime173.jsx)( ResizableAvatar, { attributes, avatar, blockProps, isSelected, setAttributes } ) ] }); }; function Edit5(props) { if (props?.context?.commentId || props?.context?.commentId === null) { return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(CommentEdit, { ...props }); } return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(UserEdit, { ...props }); } // packages/block-library/build-module/avatar/index.mjs var { name: name6 } = block_default6; var settings6 = { icon: comment_author_avatar_default, edit: Edit5, example: {} }; var init6 = () => initBlock({ name: name6, metadata: block_default6, settings: settings6 }); // packages/block-library/build-module/audio/index.mjs var audio_exports = {}; __export(audio_exports, { init: () => init7, metadata: () => block_default8, name: () => name7, settings: () => settings7 }); var import_i18n11 = __toESM(require_i18n(), 1); var import_blocks6 = __toESM(require_blocks(), 1); // packages/block-library/build-module/audio/deprecated.mjs var import_block_editor13 = __toESM(require_block_editor(), 1); var import_jsx_runtime174 = __toESM(require_jsx_runtime(), 1); var deprecated_default2 = [ { attributes: { src: { type: "string", source: "attribute", selector: "audio", attribute: "src" }, caption: { type: "string", source: "html", selector: "figcaption" }, id: { type: "number" }, autoplay: { type: "boolean", source: "attribute", selector: "audio", attribute: "autoplay" }, loop: { type: "boolean", source: "attribute", selector: "audio", attribute: "loop" }, preload: { type: "string", source: "attribute", selector: "audio", attribute: "preload" } }, supports: { align: true }, save({ attributes }) { const { autoplay, caption, loop, preload, src } = attributes; return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("figure", { children: [ /* @__PURE__ */ (0, import_jsx_runtime174.jsx)( "audio", { controls: "controls", src, autoPlay: autoplay, loop, preload } ), !import_block_editor13.RichText.isEmpty(caption) && /* @__PURE__ */ (0, import_jsx_runtime174.jsx)( import_block_editor13.RichText.Content, { tagName: "figcaption", value: caption } ) ] }); } } ]; // packages/block-library/build-module/audio/edit.mjs var import_blob2 = __toESM(require_blob(), 1); var import_components8 = __toESM(require_components(), 1); var import_block_editor15 = __toESM(require_block_editor(), 1); var import_i18n10 = __toESM(require_i18n(), 1); var import_data8 = __toESM(require_data(), 1); var import_notices = __toESM(require_notices(), 1); var import_element7 = __toESM(require_element(), 1); // node_modules/memize/dist/index.js function memize(fn, options2) { var size = 0; var head; var tail; options2 = options2 || {}; function memoized() { var node = head, len = arguments.length, args, i2; searchCache: while (node) { if (node.args.length !== arguments.length) { node = node.next; continue; } for (i2 = 0; i2 < len; i2++) { if (node.args[i2] !== arguments[i2]) { node = node.next; continue searchCache; } } if (node !== head) { if (node === tail) { tail = node.prev; } node.prev.next = node.next; if (node.next) { node.next.prev = node.prev; } node.next = head; node.prev = null; head.prev = node; head = node; } return node.val; } args = new Array(len); for (i2 = 0; i2 < len; i2++) { args[i2] = arguments[i2]; } node = { args, // Generate the result from original function val: fn.apply(null, args) }; if (head) { head.prev = node; node.next = head; } else { tail = node; } if (size === /** @type {MemizeOptions} */ options2.maxSize) { tail = /** @type {MemizeCacheNode} */ tail.prev; tail.next = null; } else { size++; } head = node; return node.val; } memoized.clear = function() { head = null; tail = null; size = 0; }; return memoized; } // packages/block-library/build-module/embed/util.mjs var import_components6 = __toESM(require_components(), 1); var import_element5 = __toESM(require_element(), 1); var import_blocks3 = __toESM(require_blocks(), 1); var import_url2 = __toESM(require_url(), 1); // packages/block-library/build-module/embed/block.json var block_default7 = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/embed", title: "Embed", category: "embed", description: "Add a block that displays content pulled from other sites, like Twitter or YouTube.", textdomain: "default", attributes: { url: { type: "string", role: "content" }, caption: { type: "rich-text", source: "rich-text", selector: "figcaption", role: "content" }, type: { type: "string", role: "content" }, providerNameSlug: { type: "string", role: "content" }, allowResponsive: { type: "boolean", default: true }, responsive: { type: "boolean", default: false, role: "content" }, previewable: { type: "boolean", default: true, role: "content" } }, supports: { anchor: true, align: true, spacing: { margin: true }, interactivity: { clientNavigation: true } }, editorStyle: "wp-block-embed-editor", style: "wp-block-embed" }; // packages/block-library/build-module/embed/constants.mjs var ASPECT_RATIOS = [ // Common video resolutions. { ratio: "2.33", className: "wp-embed-aspect-21-9" }, { ratio: "2.00", className: "wp-embed-aspect-18-9" }, { ratio: "1.78", className: "wp-embed-aspect-16-9" }, { ratio: "1.33", className: "wp-embed-aspect-4-3" }, // Vertical video and instagram square video support. { ratio: "1.00", className: "wp-embed-aspect-1-1" }, { ratio: "0.56", className: "wp-embed-aspect-9-16" }, { ratio: "0.50", className: "wp-embed-aspect-1-2" } ]; var WP_EMBED_TYPE = "wp-embed"; // packages/block-library/build-module/lock-unlock.mjs var import_private_apis = __toESM(require_private_apis(), 1); var { lock, unlock } = (0, import_private_apis.__dangerousOptInToUnstableAPIsOnlyForCoreModules)( "I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.", "@wordpress/block-library" ); // packages/block-library/build-module/embed/util.mjs var import_jsx_runtime175 = __toESM(require_jsx_runtime(), 1); var { name: DEFAULT_EMBED_BLOCK } = block_default7; var { kebabCase } = unlock(import_components6.privateApis); var getEmbedInfoByProvider = (provider) => (0, import_blocks3.getBlockVariations)(DEFAULT_EMBED_BLOCK)?.find( ({ name: name122 }) => name122 === provider ); var matchesPatterns = (url, patterns = []) => patterns.some((pattern) => url.match(pattern)); var findMoreSuitableBlock = (url) => (0, import_blocks3.getBlockVariations)(DEFAULT_EMBED_BLOCK)?.find( ({ patterns }) => matchesPatterns(url, patterns) ); function rewriteXToTwitter(url) { if (!url || (0, import_url2.getAuthority)(url) !== "x.com") { return url; } const rewritten = new URL(url); rewritten.host = "twitter.com"; return rewritten.toString(); } var isFromWordPress = (html) => html && html.includes('class="wp-embedded-content"'); var getPhotoHtml = (photo) => { const imageUrl = photo.url || photo.thumbnail_url; const photoPreview = /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("img", { src: imageUrl, alt: photo.title, width: "100%" }) }); return (0, import_element5.renderToString)(photoPreview); }; var createUpgradedEmbedBlock = (props, attributesFromPreview = {}) => { const { preview, attributes = {} } = props; const { url, providerNameSlug, type, ...restAttributes } = attributes; if (!url || !(0, import_blocks3.getBlockType)(DEFAULT_EMBED_BLOCK)) { return; } const matchedBlock = findMoreSuitableBlock(url); const isCurrentBlockWP = providerNameSlug === "wordpress" || type === WP_EMBED_TYPE; const shouldCreateNewBlock = !isCurrentBlockWP && matchedBlock && (matchedBlock.attributes.providerNameSlug !== providerNameSlug || !providerNameSlug); if (shouldCreateNewBlock) { return (0, import_blocks3.createBlock)(DEFAULT_EMBED_BLOCK, { url, ...restAttributes, ...matchedBlock.attributes }); } const wpVariation = (0, import_blocks3.getBlockVariations)(DEFAULT_EMBED_BLOCK)?.find( ({ name: name122 }) => name122 === "wordpress" ); if (!wpVariation || !preview || !isFromWordPress(preview.html) || isCurrentBlockWP) { return; } return (0, import_blocks3.createBlock)(DEFAULT_EMBED_BLOCK, { url, ...wpVariation.attributes, // By now we have the preview, but when the new block first renders, it // won't have had all the attributes set, and so won't get the correct // type and it won't render correctly. So, we pass through the current attributes // here so that the initial render works when we switch to the WordPress // block. This only affects the WordPress block because it can't be // rendered in the usual Sandbox (it has a sandbox of its own) and it // relies on the preview to set the correct render type. ...attributesFromPreview }); }; var hasAspectRatioClass = (existingClassNames) => { if (!existingClassNames) { return false; } return ASPECT_RATIOS.some( ({ className }) => existingClassNames.includes(className) ); }; var removeAspectRatioClasses = (existingClassNames) => { if (!existingClassNames) { return existingClassNames; } const aspectRatioClassNames = ASPECT_RATIOS.reduce( (accumulator, { className }) => { accumulator.push(className); return accumulator; }, ["wp-has-aspect-ratio"] ); let outputClassNames = existingClassNames; for (const className of aspectRatioClassNames) { outputClassNames = outputClassNames.replace(className, ""); } return outputClassNames.trim(); }; function hasInlineResponsivePadding(html) { const paddingPattern = /padding-(top|bottom)\s*:\s*[\d.]+%/i; return paddingPattern.test(html); } function getClassNames(html, existingClassNames, allowResponsive = true) { if (!allowResponsive) { return removeAspectRatioClasses(existingClassNames); } if (hasInlineResponsivePadding(html)) { return removeAspectRatioClasses(existingClassNames); } const previewDocument = document.implementation.createHTMLDocument(""); previewDocument.body.innerHTML = html; const iframe = previewDocument.body.querySelector("iframe"); if (iframe && iframe.height && iframe.width) { const aspectRatio = (iframe.width / iframe.height).toFixed(2); for (let ratioIndex = 0; ratioIndex < ASPECT_RATIOS.length; ratioIndex++) { const potentialRatio = ASPECT_RATIOS[ratioIndex]; if (aspectRatio >= potentialRatio.ratio) { const ratioDiff = aspectRatio - potentialRatio.ratio; if (ratioDiff > 0.1) { return removeAspectRatioClasses(existingClassNames); } return clsx_default( removeAspectRatioClasses(existingClassNames), potentialRatio.className, "wp-has-aspect-ratio" ); } } } return existingClassNames; } function fallback(url, onReplace) { const link = /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("a", { href: url, children: url }); onReplace( (0, import_blocks3.createBlock)("core/paragraph", { content: (0, import_element5.renderToString)(link) }) ); } var getAttributesFromPreview = memize( (preview, title, currentClassNames, isResponsive, allowResponsive = true) => { if (!preview) { return {}; } const attributes = {}; let { type = "rich" } = preview; const { html, provider_name: providerName } = preview; const providerNameSlug = kebabCase( (providerName || title).toLowerCase() ); if (isFromWordPress(html)) { type = WP_EMBED_TYPE; } if (html || "photo" === type) { attributes.type = type; attributes.providerNameSlug = providerNameSlug; } if (hasAspectRatioClass(currentClassNames)) { return attributes; } attributes.className = getClassNames( html, currentClassNames, isResponsive && allowResponsive ); return attributes; } ); var getMergedAttributesWithPreview = (currentAttributes, preview, title, isResponsive) => { const { allowResponsive, className } = currentAttributes; return { ...currentAttributes, ...getAttributesFromPreview( preview, title, className, isResponsive, allowResponsive ) }; }; // packages/block-library/build-module/utils/caption.mjs var import_element6 = __toESM(require_element(), 1); var import_compose4 = __toESM(require_compose(), 1); var import_i18n9 = __toESM(require_i18n(), 1); var import_block_editor14 = __toESM(require_block_editor(), 1); var import_components7 = __toESM(require_components(), 1); var import_blocks4 = __toESM(require_blocks(), 1); var import_jsx_runtime176 = __toESM(require_jsx_runtime(), 1); function Caption({ attributeKey = "caption", attributes, setAttributes, isSelected, insertBlocksAfter, placeholder: placeholder2 = (0, import_i18n9.__)("Add caption"), label = (0, import_i18n9.__)("Caption text"), showToolbarButton = true, excludeElementClassName, className, readOnly, tagName = "figcaption", addLabel = (0, import_i18n9.__)("Add caption"), removeLabel = (0, import_i18n9.__)("Remove caption"), icon: icon4 = caption_default, ...props }) { const caption = attributes[attributeKey]; const prevCaption = (0, import_compose4.usePrevious)(caption); const isCaptionEmpty = import_block_editor14.RichText.isEmpty(caption); const isPrevCaptionEmpty = import_block_editor14.RichText.isEmpty(prevCaption); const [showCaption, setShowCaption] = (0, import_element6.useState)(!isCaptionEmpty); (0, import_element6.useEffect)(() => { if (!isCaptionEmpty && isPrevCaptionEmpty) { setShowCaption(true); } }, [isCaptionEmpty, isPrevCaptionEmpty]); (0, import_element6.useEffect)(() => { if (!isSelected && isCaptionEmpty) { setShowCaption(false); } }, [isSelected, isCaptionEmpty]); const ref = (0, import_element6.useCallback)( (node) => { if (node && isCaptionEmpty) { node.focus(); } }, [isCaptionEmpty] ); return /* @__PURE__ */ (0, import_jsx_runtime176.jsxs)(import_jsx_runtime176.Fragment, { children: [ showToolbarButton && /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(import_block_editor14.BlockControls, { group: "block", children: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)( import_components7.ToolbarButton, { onClick: () => { setShowCaption(!showCaption); if (showCaption && caption) { setAttributes({ [attributeKey]: void 0 }); } }, icon: icon4, isPressed: showCaption, label: showCaption ? removeLabel : addLabel } ) }), showCaption && (!import_block_editor14.RichText.isEmpty(caption) || isSelected) && /* @__PURE__ */ (0, import_jsx_runtime176.jsx)( import_block_editor14.RichText, { identifier: attributeKey, tagName, className: clsx_default( className, excludeElementClassName ? "" : (0, import_block_editor14.__experimentalGetElementClassName)("caption") ), ref, "aria-label": label, placeholder: placeholder2, value: caption, onChange: (value) => setAttributes({ [attributeKey]: value }), inlineToolbar: true, __unstableOnSplitAtEnd: insertBlocksAfter ? () => insertBlocksAfter( (0, import_blocks4.createBlock)((0, import_blocks4.getDefaultBlockName)()) ) : void 0, readOnly, ...props } ) ] }); } // packages/block-library/build-module/audio/edit.mjs var import_jsx_runtime177 = __toESM(require_jsx_runtime(), 1); var ALLOWED_MEDIA_TYPES = ["audio"]; function AudioEdit({ attributes, className, setAttributes, onReplace, isSelected: isSingleSelected, insertBlocksAfter }) { const { id, autoplay, loop, preload, src } = attributes; const [temporaryURL, setTemporaryURL] = (0, import_element7.useState)(attributes.blob); const blockEditingMode = (0, import_block_editor15.useBlockEditingMode)(); const hasNonContentControls = blockEditingMode === "default"; useUploadMediaFromBlobURL({ url: temporaryURL, allowedTypes: ALLOWED_MEDIA_TYPES, onChange: onSelectAudio, onError: onUploadError }); function toggleAttribute(attribute) { return (newValue) => { setAttributes({ [attribute]: newValue }); }; } function onSelectURL(newSrc) { if (newSrc !== src) { const embedBlock = createUpgradedEmbedBlock({ attributes: { url: newSrc } }); if (void 0 !== embedBlock && onReplace) { onReplace(embedBlock); return; } setAttributes({ src: newSrc, id: void 0, blob: void 0 }); setTemporaryURL(); } } const { createErrorNotice } = (0, import_data8.useDispatch)(import_notices.store); function onUploadError(message) { createErrorNotice(message, { type: "snackbar" }); } function getAutoplayHelp(checked) { return checked ? (0, import_i18n10.__)("Autoplay may cause usability issues for some users.") : null; } function onSelectAudio(media) { if (!media || !media.url) { setAttributes({ src: void 0, id: void 0, caption: void 0, blob: void 0 }); setTemporaryURL(); return; } if ((0, import_blob2.isBlobURL)(media.url)) { setTemporaryURL(media.url); return; } setAttributes({ blob: void 0, src: media.url, id: media.id, caption: media.caption }); setTemporaryURL(); } const classes = clsx_default(className, { "is-transient": !!temporaryURL }); const blockProps = (0, import_block_editor15.useBlockProps)({ className: classes }); const dropdownMenuProps = useToolsPanelDropdownMenuProps(); if (!src && !temporaryURL) { return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( import_block_editor15.MediaPlaceholder, { icon: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_block_editor15.BlockIcon, { icon: audio_default }), onSelect: onSelectAudio, onSelectURL, accept: "audio/*", allowedTypes: ALLOWED_MEDIA_TYPES, value: attributes, onError: onUploadError } ) }); } return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(import_jsx_runtime177.Fragment, { children: [ isSingleSelected && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_block_editor15.BlockControls, { group: "other", children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( import_block_editor15.MediaReplaceFlow, { mediaId: id, mediaURL: src, allowedTypes: ALLOWED_MEDIA_TYPES, accept: "audio/*", onSelect: onSelectAudio, onSelectURL, onError: onUploadError, onReset: () => onSelectAudio(void 0), variant: "toolbar" } ) }), /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_block_editor15.InspectorControls, { children: /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)( import_components8.__experimentalToolsPanel, { label: (0, import_i18n10.__)("Settings"), resetAll: () => { setAttributes({ autoplay: false, loop: false, preload: void 0 }); }, dropdownMenuProps, children: [ /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( import_components8.__experimentalToolsPanelItem, { label: (0, import_i18n10.__)("Autoplay"), isShownByDefault: true, hasValue: () => !!autoplay, onDeselect: () => setAttributes({ autoplay: false }), children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( import_components8.ToggleControl, { label: (0, import_i18n10.__)("Autoplay"), onChange: toggleAttribute("autoplay"), checked: !!autoplay, help: getAutoplayHelp } ) } ), /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( import_components8.__experimentalToolsPanelItem, { label: (0, import_i18n10.__)("Loop"), isShownByDefault: true, hasValue: () => !!loop, onDeselect: () => setAttributes({ loop: false }), children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( import_components8.ToggleControl, { label: (0, import_i18n10.__)("Loop"), onChange: toggleAttribute("loop"), checked: !!loop } ) } ), /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( import_components8.__experimentalToolsPanelItem, { label: (0, import_i18n10.__)("Preload"), isShownByDefault: true, hasValue: () => !!preload, onDeselect: () => setAttributes({ preload: void 0 }), children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( import_components8.SelectControl, { label: (0, import_i18n10._x)( "Preload", "noun; Audio block parameter" ), value: preload || "", onChange: (value) => setAttributes({ preload: value || void 0 }), options: [ { value: "", label: (0, import_i18n10.__)("Browser default") }, { value: "auto", label: (0, import_i18n10.__)("Auto") }, { value: "metadata", label: (0, import_i18n10.__)("Metadata") }, { value: "none", label: (0, import_i18n10._x)("None", "Preload value") } ] } ) } ) ] } ) }), /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)("figure", { ...blockProps, children: [ /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( "audio", { controls: "controls", inert: !isSingleSelected ? "true" : void 0, src: src ?? temporaryURL } ), !!temporaryURL && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_components8.Spinner, {}), /* @__PURE__ */ (0, import_jsx_runtime177.jsx)( Caption, { attributes, setAttributes, isSelected: isSingleSelected, insertBlocksAfter, label: (0, import_i18n10.__)("Audio caption text"), showToolbarButton: isSingleSelected && hasNonContentControls } ) ] }) ] }); } var edit_default = AudioEdit; // packages/block-library/build-module/audio/block.json var block_default8 = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/audio", title: "Audio", category: "media", description: "Embed a simple audio player.", keywords: ["music", "sound", "podcast", "recording"], textdomain: "default", attributes: { blob: { type: "string", role: "local" }, src: { type: "string", source: "attribute", selector: "audio", attribute: "src", role: "content" }, caption: { type: "rich-text", source: "rich-text", selector: "figcaption", role: "content" }, id: { type: "number", role: "content" }, autoplay: { type: "boolean", source: "attribute", selector: "audio", attribute: "autoplay" }, loop: { type: "boolean", source: "attribute", selector: "audio", attribute: "loop" }, preload: { type: "string", source: "attribute", selector: "audio", attribute: "preload" } }, supports: { anchor: true, align: true, spacing: { margin: true, padding: true, __experimentalDefaultControls: { margin: false, padding: false } }, interactivity: { clientNavigation: true } }, editorStyle: "wp-block-audio-editor", style: "wp-block-audio" }; // packages/block-library/build-module/audio/save.mjs var import_block_editor16 = __toESM(require_block_editor(), 1); var import_jsx_runtime178 = __toESM(require_jsx_runtime(), 1); function save5({ attributes }) { const { autoplay, caption, loop, preload, src } = attributes; return src && /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("figure", { ...import_block_editor16.useBlockProps.save(), children: [ /* @__PURE__ */ (0, import_jsx_runtime178.jsx)( "audio", { controls: "controls", src, autoPlay: autoplay, loop, preload } ), !import_block_editor16.RichText.isEmpty(caption) && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)( import_block_editor16.RichText.Content, { tagName: "figcaption", value: caption, className: (0, import_block_editor16.__experimentalGetElementClassName)( "caption" ) } ) ] }); } // packages/block-library/build-module/audio/transforms.mjs var import_blob3 = __toESM(require_blob(), 1); var import_blocks5 = __toESM(require_blocks(), 1); var transforms = { from: [ { type: "files", isMatch(files) { return files.length === 1 && files[0].type.indexOf("audio/") === 0; }, transform(files) { const file = files[0]; const block = (0, import_blocks5.createBlock)("core/audio", { blob: (0, import_blob3.createBlobURL)(file) }); return block; } }, { type: "shortcode", tag: "audio", attributes: { src: { type: "string", shortcode: ({ named: { src, mp3, m4a, ogg, wav, wma } }) => { return src || mp3 || m4a || ogg || wav || wma; } }, loop: { type: "string", shortcode: ({ named: { loop } }) => { return loop; } }, autoplay: { type: "string", shortcode: ({ named: { autoplay } }) => { return autoplay; } }, preload: { type: "string", shortcode: ({ named: { preload } }) => { return preload; } } } } ] }; var transforms_default = transforms; // packages/block-library/build-module/audio/index.mjs var { fieldsKey, formKey } = unlock(import_blocks6.privateApis); var { name: name7 } = block_default8; var settings7 = { icon: audio_default, example: { attributes: { src: "https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg" }, viewportWidth: 350 }, transforms: transforms_default, deprecated: deprecated_default2, edit: edit_default, save: save5 }; if (window.__experimentalContentOnlyInspectorFields) { settings7[fieldsKey] = [ { id: "audio", label: (0, import_i18n11.__)("Audio"), type: "media", Edit: { control: "media", // TODO: replace with custom component allowedTypes: ["audio"], multiple: false }, getValue: ({ item }) => ({ id: item.id, url: item.src }), setValue: ({ value }) => ({ id: value.id, src: value.url }) }, { id: "caption", label: (0, import_i18n11.__)("Caption"), type: "text", Edit: "rich-text" // TODO: replace with custom component } ]; settings7[formKey] = { fields: ["audio", "caption"] }; } var init7 = () => initBlock({ name: name7, metadata: block_default8, settings: settings7 }); // packages/block-library/build-module/breadcrumbs/index.mjs var breadcrumbs_exports = {}; __export(breadcrumbs_exports, { init: () => init8, metadata: () => block_default9, name: () => name8, settings: () => settings8 }); // packages/block-library/build-module/breadcrumbs/block.json var block_default9 = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/breadcrumbs", title: "Breadcrumbs", category: "theme", description: "Display a breadcrumb trail showing the path to the current page.", textdomain: "default", attributes: { prefersTaxonomy: { type: "boolean", default: false }, separator: { type: "string", default: "/" }, showHomeItem: { type: "boolean", default: true }, showCurrentItem: { type: "boolean", default: true }, showOnHomePage: { type: "boolean", default: false } }, usesContext: ["postId", "postType", "templateSlug"], supports: { anchor: true, html: false, align: ["wide", "full"], spacing: { margin: true, padding: true }, color: { gradients: true, link: true, __experimentalDefaultControls: { background: true, text: true } }, __experimentalBorder: { radius: true, color: true, width: true, style: true, __experimentalDefaultControls: { radius: false, color: true, width: true, style: true } }, typography: { fontSize: true, lineHeight: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalDefaultControls: { fontSize: true } }, interactivity: { clientNavigation: true } }, style: "wp-block-breadcrumbs" }; // packages/block-library/build-module/breadcrumbs/edit.mjs var import_i18n12 = __toESM(require_i18n(), 1); var import_block_editor17 = __toESM(require_block_editor(), 1); var import_components9 = __toESM(require_components(), 1); var import_data9 = __toESM(require_data(), 1); var import_core_data4 = __toESM(require_core_data(), 1); var import_element8 = __toESM(require_element(), 1); var import_server_side_render2 = __toESM(require_server_side_render(), 1); var import_compose5 = __toESM(require_compose(), 1); var import_jsx_runtime179 = __toESM(require_jsx_runtime(), 1); var separatorDefaultValue = "/"; function BreadcrumbEdit({ attributes, setAttributes, name: name122, context: { postId, postType, templateSlug } }) { const { separator, showHomeItem, showCurrentItem, prefersTaxonomy, showOnHomePage } = attributes; const { post, isPostTypeHierarchical, postTypeHasTaxonomies, hasTermsAssigned, isLoading } = (0, import_data9.useSelect)( (select10) => { if (!postType) { return {}; } const _post = select10(import_core_data4.store).getEntityRecord( "postType", postType, postId ); const postTypeObject = select10(import_core_data4.store).getPostType(postType); const _postTypeHasTaxonomies = postTypeObject && postTypeObject.taxonomies.length; let taxonomies; if (_postTypeHasTaxonomies) { taxonomies = select10(import_core_data4.store).getTaxonomies({ type: postType, per_page: -1 }); } return { post: _post, isPostTypeHierarchical: postTypeObject?.hierarchical, postTypeHasTaxonomies: _postTypeHasTaxonomies, hasTermsAssigned: _post && (taxonomies || []).filter( ({ visibility }) => visibility?.publicly_queryable ).some((taxonomy) => { return !!_post[taxonomy.rest_base]?.length; }), isLoading: postId && !_post || !postTypeObject || _postTypeHasTaxonomies && !taxonomies }; }, [postType, postId] ); const [invalidationKey, setInvalidationKey] = (0, import_element8.useState)(0); (0, import_element8.useEffect)(() => { setInvalidationKey((c2) => c2 + 1); }, [post]); const dropdownMenuProps = useToolsPanelDropdownMenuProps(); const { content, status, error: error2 } = (0, import_server_side_render2.useServerSideRender)({ attributes, skipBlockSupportAttributes: true, block: name122, urlQueryArgs: { post_id: postId, invalidationKey } }); const prevContentRef = (0, import_element8.useRef)(""); (0, import_element8.useEffect)(() => { if (status === "success") { prevContentRef.current = content; } }, [content, status]); const [showLoader, setShowLoader] = (0, import_element8.useState)(false); (0, import_element8.useEffect)(() => { if (status !== "loading") { return; } const timeout = setTimeout(() => { setShowLoader(true); }, 400); return () => { clearTimeout(timeout); setShowLoader(false); }; }, [status]); const disabledRef = (0, import_compose5.useDisabled)(); const blockProps = (0, import_block_editor17.useBlockProps)({ ref: disabledRef }); if (isLoading) { return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(import_components9.Spinner, {}) }); } let _showTerms; if (!isPostTypeHierarchical && !post?.parent) { _showTerms = true; } else if (!postTypeHasTaxonomies) { _showTerms = false; } else { _showTerms = prefersTaxonomy; } let placeholder2 = null; const showPlaceholder = !postId || !postType || // When `templateSlug` is set only show placeholder if the post type is not. // This is needed because when we are showing the template in post editor we // want to show the real breadcrumbs if we have the post type. templateSlug && !postType || !_showTerms && !isPostTypeHierarchical || _showTerms && !hasTermsAssigned; if (showPlaceholder) { const placeholderItems = []; if (showHomeItem) { placeholderItems.push((0, import_i18n12.__)("Home")); } if (templateSlug && !postId) { placeholderItems.push((0, import_i18n12.__)("Page")); } else if (_showTerms) { placeholderItems.push((0, import_i18n12.__)("Category")); } else { placeholderItems.push((0, import_i18n12.__)("Ancestor"), (0, import_i18n12.__)("Parent")); } placeholder2 = /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( "nav", { ...blockProps, style: { "--separator": `"${separator.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`, ...blockProps.style }, children: /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)("ol", { children: [ placeholderItems.map((text, index) => /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("a", { href: `#breadcrumbs-pseudo-link-${index}`, children: text }) }, index)), showCurrentItem && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("span", { "aria-current": "page", children: (0, import_i18n12.__)("Current") }) }) ] }) } ); } return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(import_jsx_runtime179.Fragment, { children: [ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(import_block_editor17.InspectorControls, { children: /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)( import_components9.__experimentalToolsPanel, { label: (0, import_i18n12.__)("Settings"), resetAll: () => { setAttributes({ separator: separatorDefaultValue, showHomeItem: true, showCurrentItem: true }); }, dropdownMenuProps, children: [ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( import_components9.__experimentalToolsPanelItem, { label: (0, import_i18n12.__)("Show home breadcrumb"), isShownByDefault: true, hasValue: () => !showHomeItem, onDeselect: () => setAttributes({ showHomeItem: true }), children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( import_components9.ToggleControl, { label: (0, import_i18n12.__)("Show home breadcrumb"), onChange: (value) => setAttributes({ showHomeItem: value }), checked: showHomeItem } ) } ), /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( import_components9.__experimentalToolsPanelItem, { label: (0, import_i18n12.__)("Show current breadcrumb"), isShownByDefault: true, hasValue: () => !showCurrentItem, onDeselect: () => setAttributes({ showCurrentItem: true }), children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( import_components9.ToggleControl, { label: (0, import_i18n12.__)("Show current breadcrumb"), onChange: (value) => setAttributes({ showCurrentItem: value }), checked: showCurrentItem } ) } ), /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( import_components9.__experimentalToolsPanelItem, { label: (0, import_i18n12.__)("Separator"), isShownByDefault: true, hasValue: () => separator !== separatorDefaultValue, onDeselect: () => setAttributes({ separator: separatorDefaultValue }), children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( import_components9.TextControl, { autoComplete: "off", label: (0, import_i18n12.__)("Separator"), value: separator, onChange: (value) => setAttributes({ separator: value }), onBlur: () => { if (!separator) { setAttributes({ separator: separatorDefaultValue }); } } } ) } ) ] } ) }), /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(import_block_editor17.InspectorControls, { group: "advanced", children: [ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( import_components9.CheckboxControl, { label: (0, import_i18n12.__)("Show on homepage"), checked: showOnHomePage, onChange: (value) => setAttributes({ showOnHomePage: value }), help: (0, import_i18n12.__)( "If this Breadcrumbs block appears in a template or template part that\u2019s shown on the homepage, enable this option to display the breadcrumb trail. Otherwise, this setting has no effect." ) } ), /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( import_components9.CheckboxControl, { label: (0, import_i18n12.__)("Prefer taxonomy terms"), checked: prefersTaxonomy, onChange: (value) => setAttributes({ prefersTaxonomy: value }), help: (0, import_i18n12.__)( "The exact type of breadcrumbs shown will vary automatically depending on the page in which this block is displayed. In the specific case of a hierarchical post type with taxonomies, the breadcrumbs can either reflect its post hierarchy (default) or the hierarchy of its assigned taxonomy terms." ) } ) ] }), status === "loading" && !showPlaceholder && (prevContentRef.current ? /* @__PURE__ */ (0, import_jsx_runtime179.jsx)( html_renderer_default, { wrapperProps: { ...blockProps, style: { ...blockProps.style, opacity: showLoader ? 0.3 : 1 } }, html: prevContentRef.current } ) : /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(import_components9.Spinner, {}) })), status === "error" && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...blockProps, children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("p", { children: (0, import_i18n12.sprintf)( /* translators: %s: error message returned when rendering the block. */ (0, import_i18n12.__)("Error: %s"), error2 ) }) }), showPlaceholder && placeholder2, !showPlaceholder && status === "success" && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(html_renderer_default, { wrapperProps: blockProps, html: content }) ] }); } // packages/block-library/build-module/breadcrumbs/index.mjs var { name: name8 } = block_default9; var settings8 = { icon: breadcrumbs_default, example: {}, edit: BreadcrumbEdit }; var init8 = () => initBlock({ name: name8, metadata: block_default9, settings: settings8 }); // packages/block-library/build-module/button/index.mjs var button_exports = {}; __export(button_exports, { init: () => init9, metadata: () => block_default10, name: () => name9, settings: () => settings9 }); var import_i18n15 = __toESM(require_i18n(), 1); var import_blocks8 = __toESM(require_blocks(), 1); // packages/block-library/build-module/button/deprecated.mjs var import_block_editor19 = __toESM(require_block_editor(), 1); var import_compose6 = __toESM(require_compose(), 1); // packages/block-library/build-module/utils/migrate-font-family.mjs var import_block_editor18 = __toESM(require_block_editor(), 1); var { cleanEmptyObject } = unlock(import_block_editor18.privateApis); function migrate_font_family_default(attributes) { if (!attributes?.style?.typography?.fontFamily) { return attributes; } const { fontFamily, ...typography } = attributes.style.typography; return { ...attributes, style: cleanEmptyObject({ ...attributes.style, typography }), fontFamily: fontFamily.split("|").pop() }; } // packages/block-library/build-module/utils/migrate-text-align.mjs function migrate_text_align_default(attributes) { const { textAlign, ...restAttributes } = attributes; if (!textAlign) { return attributes; } return { ...restAttributes, style: { ...attributes.style, typography: { ...attributes.style?.typography, textAlign } } }; } // packages/block-library/build-module/button/deprecated.mjs var import_jsx_runtime180 = __toESM(require_jsx_runtime(), 1); var migrateWidth = (attributes) => { const { width, ...otherAttributes } = attributes; if (!width) { return otherAttributes; } return { ...otherAttributes, style: { ...otherAttributes.style, dimensions: { ...otherAttributes.style?.dimensions, width: `${width}%` } } }; }; var migrateBorderRadius = (attributes) => { const { borderRadius, ...newAttributes } = attributes; const oldBorderRadius = [ borderRadius, newAttributes.style?.border?.radius ].find((possibleBorderRadius) => { return typeof possibleBorderRadius === "number" && possibleBorderRadius !== 0; }); if (!oldBorderRadius) { return newAttributes; } return { ...newAttributes, style: { ...newAttributes.style, border: { ...newAttributes.style?.border, radius: `${oldBorderRadius}px` } } }; }; function migrateAlign(attributes) { if (!attributes.align) { return attributes; } const { align, ...otherAttributes } = attributes; return { ...otherAttributes, className: clsx_default( otherAttributes.className, `align${attributes.align}` ) }; } var migrateCustomColorsAndGradients = (attributes) => { if (!attributes.customTextColor && !attributes.customBackgroundColor && !attributes.customGradient) { return attributes; } const style2 = { color: {} }; if (attributes.customTextColor) { style2.color.text = attributes.customTextColor; } if (attributes.customBackgroundColor) { style2.color.background = attributes.customBackgroundColor; } if (attributes.customGradient) { style2.color.gradient = attributes.customGradient; } const { customTextColor, customBackgroundColor, customGradient, ...restAttributes } = attributes; return { ...restAttributes, style: style2 }; }; var oldColorsMigration = (attributes) => { const { color, textColor, ...restAttributes } = { ...attributes, customTextColor: attributes.textColor && "#" === attributes.textColor[0] ? attributes.textColor : void 0, customBackgroundColor: attributes.color && "#" === attributes.color[0] ? attributes.color : void 0 }; return migrateCustomColorsAndGradients(restAttributes); }; var blockAttributes = { url: { type: "string", source: "attribute", selector: "a", attribute: "href" }, title: { type: "string", source: "attribute", selector: "a", attribute: "title" }, text: { type: "string", source: "html", selector: "a" } }; var v14 = { attributes: { tagName: { type: "string", enum: ["a", "button"], default: "a" }, type: { type: "string", default: "button" }, url: { type: "string", source: "attribute", selector: "a", attribute: "href", role: "content" }, title: { type: "string", source: "attribute", selector: "a,button", attribute: "title", role: "content" }, text: { type: "rich-text", source: "rich-text", selector: "a,button", role: "content" }, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target", role: "content" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel", role: "content" }, placeholder: { type: "string" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, width: { type: "number" } }, supports: { anchor: true, splitting: true, align: false, alignWide: false, color: { __experimentalSkipSerialization: true, gradients: true, __experimentalDefaultControls: { background: true, text: true } }, typography: { __experimentalSkipSerialization: [ "fontSize", "lineHeight", "textAlign", "fontFamily", "fontWeight", "fontStyle", "textTransform", "textDecoration", "letterSpacing" ], fontSize: true, lineHeight: true, textAlign: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalWritingMode: true, __experimentalDefaultControls: { fontSize: true } }, reusable: false, shadow: { __experimentalSkipSerialization: true }, spacing: { __experimentalSkipSerialization: true, padding: ["horizontal", "vertical"], __experimentalDefaultControls: { padding: true } }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalSkipSerialization: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, interactivity: { clientNavigation: true } }, selectors: { root: ".wp-block-button .wp-block-button__link", typography: { writingMode: ".wp-block-button" } }, save({ attributes, className }) { const { tagName, type, fontSize, linkTarget, rel, style: style2, text, title, url, width } = attributes; const TagName2 = tagName || "a"; const isButtonTag = "button" === TagName2; const buttonType = type || "button"; const borderProps = (0, import_block_editor19.__experimentalGetBorderClassesAndStyles)(attributes); const colorProps = (0, import_block_editor19.__experimentalGetColorClassesAndStyles)(attributes); const spacingProps = (0, import_block_editor19.__experimentalGetSpacingClassesAndStyles)(attributes); const shadowProps = (0, import_block_editor19.__experimentalGetShadowClassesAndStyles)(attributes); const typographyProps = (0, import_block_editor19.getTypographyClassesAndStyles)(attributes); const buttonClasses = clsx_default( "wp-block-button__link", colorProps.className, borderProps.className, typographyProps.className, { // For backwards compatibility add style that isn't // provided via block support. "no-border-radius": style2?.border?.radius === 0, [`has-custom-font-size`]: fontSize || style2?.typography?.fontSize }, (0, import_block_editor19.__experimentalGetElementClassName)("button") ); const buttonStyle = { ...borderProps.style, ...colorProps.style, ...spacingProps.style, ...shadowProps.style, ...typographyProps.style, writingMode: void 0 }; const wrapperClasses = clsx_default(className, { [`has-custom-width wp-block-button__width-${width}`]: width }); return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { ...import_block_editor19.useBlockProps.save({ className: wrapperClasses }), children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: TagName2, type: isButtonTag ? buttonType : null, className: buttonClasses, href: isButtonTag ? null : url, title, style: buttonStyle, value: text, target: isButtonTag ? null : linkTarget, rel: isButtonTag ? null : rel } ) }); }, isEligible(attributes) { return typeof attributes.width === "number"; }, migrate: migrateWidth }; var v13 = { attributes: { tagName: { type: "string", enum: ["a", "button"], default: "a" }, type: { type: "string", default: "button" }, textAlign: { type: "string" }, url: { type: "string", source: "attribute", selector: "a", attribute: "href", role: "content" }, title: { type: "string", source: "attribute", selector: "a,button", attribute: "title", role: "content" }, text: { type: "rich-text", source: "rich-text", selector: "a,button", role: "content" }, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target", role: "content" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel", role: "content" }, placeholder: { type: "string" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, width: { type: "number" } }, supports: { anchor: true, align: true, alignWide: false, color: { __experimentalSkipSerialization: true, gradients: true, __experimentalDefaultControls: { background: true, text: true } }, typography: { __experimentalSkipSerialization: [ "fontSize", "lineHeight", "fontFamily", "fontWeight", "fontStyle", "textTransform", "textDecoration", "letterSpacing" ], fontSize: true, lineHeight: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalWritingMode: true, __experimentalDefaultControls: { fontSize: true } }, reusable: false, shadow: { __experimentalSkipSerialization: true }, spacing: { __experimentalSkipSerialization: true, padding: ["horizontal", "vertical"], __experimentalDefaultControls: { padding: true } }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalSkipSerialization: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, interactivity: { clientNavigation: true } }, selectors: { root: ".wp-block-button .wp-block-button__link", typography: { writingMode: ".wp-block-button" } }, save({ attributes, className }) { const { tagName, type, textAlign, fontSize, linkTarget, rel, style: style2, text, title, url, width } = attributes; const TagName2 = tagName || "a"; const isButtonTag = "button" === TagName2; const buttonType = type || "button"; const borderProps = (0, import_block_editor19.__experimentalGetBorderClassesAndStyles)(attributes); const colorProps = (0, import_block_editor19.__experimentalGetColorClassesAndStyles)(attributes); const spacingProps = (0, import_block_editor19.__experimentalGetSpacingClassesAndStyles)(attributes); const shadowProps = (0, import_block_editor19.__experimentalGetShadowClassesAndStyles)(attributes); const typographyProps = (0, import_block_editor19.getTypographyClassesAndStyles)(attributes); const buttonClasses = clsx_default( "wp-block-button__link", colorProps.className, borderProps.className, typographyProps.className, { [`has-text-align-${textAlign}`]: textAlign, // For backwards compatibility add style that isn't provided via // block support. "no-border-radius": style2?.border?.radius === 0, [`has-custom-font-size`]: fontSize || style2?.typography?.fontSize }, (0, import_block_editor19.__experimentalGetElementClassName)("button") ); const buttonStyle = { ...borderProps.style, ...colorProps.style, ...spacingProps.style, ...shadowProps.style, ...typographyProps.style, writingMode: void 0 }; const wrapperClasses = clsx_default(className, { [`has-custom-width wp-block-button__width-${width}`]: width }); return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { ...import_block_editor19.useBlockProps.save({ className: wrapperClasses }), children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: TagName2, type: isButtonTag ? buttonType : null, className: buttonClasses, href: isButtonTag ? null : url, title, style: buttonStyle, value: text, target: isButtonTag ? null : linkTarget, rel: isButtonTag ? null : rel } ) }); }, isEligible(attributes) { return !!attributes.textAlign || typeof attributes.width === "number"; }, migrate: (0, import_compose6.compose)(migrateWidth, migrate_text_align_default) }; var v12 = { attributes: { tagName: { type: "string", enum: ["a", "button"], default: "a" }, type: { type: "string", default: "button" }, textAlign: { type: "string" }, url: { type: "string", source: "attribute", selector: "a", attribute: "href" }, title: { type: "string", source: "attribute", selector: "a,button", attribute: "title", role: "content" }, text: { type: "rich-text", source: "rich-text", selector: "a,button", role: "content" }, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target", role: "content" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel", role: "content" }, placeholder: { type: "string" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, width: { type: "number" } }, supports: { anchor: true, align: true, alignWide: false, color: { __experimentalSkipSerialization: true, gradients: true, __experimentalDefaultControls: { background: true, text: true } }, typography: { fontSize: true, lineHeight: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalTextDecoration: true, __experimentalLetterSpacing: true, __experimentalWritingMode: true, __experimentalDefaultControls: { fontSize: true } }, reusable: false, shadow: { __experimentalSkipSerialization: true }, spacing: { __experimentalSkipSerialization: true, padding: ["horizontal", "vertical"], __experimentalDefaultControls: { padding: true } }, __experimentalBorder: { color: true, radius: true, style: true, width: true, __experimentalSkipSerialization: true, __experimentalDefaultControls: { color: true, radius: true, style: true, width: true } }, __experimentalSelector: ".wp-block-button__link", interactivity: { clientNavigation: true } }, save({ attributes, className }) { const { tagName, type, textAlign, fontSize, linkTarget, rel, style: style2, text, title, url, width } = attributes; const TagName2 = tagName || "a"; const isButtonTag = "button" === TagName2; const buttonType = type || "button"; const borderProps = (0, import_block_editor19.__experimentalGetBorderClassesAndStyles)(attributes); const colorProps = (0, import_block_editor19.__experimentalGetColorClassesAndStyles)(attributes); const spacingProps = (0, import_block_editor19.__experimentalGetSpacingClassesAndStyles)(attributes); const shadowProps = (0, import_block_editor19.__experimentalGetShadowClassesAndStyles)(attributes); const buttonClasses = clsx_default( "wp-block-button__link", colorProps.className, borderProps.className, { [`has-text-align-${textAlign}`]: textAlign, // For backwards compatibility add style that isn't provided via // block support. "no-border-radius": style2?.border?.radius === 0 }, (0, import_block_editor19.__experimentalGetElementClassName)("button") ); const buttonStyle = { ...borderProps.style, ...colorProps.style, ...spacingProps.style, ...shadowProps.style }; const wrapperClasses = clsx_default(className, { [`has-custom-width wp-block-button__width-${width}`]: width, [`has-custom-font-size`]: fontSize || style2?.typography?.fontSize }); return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { ...import_block_editor19.useBlockProps.save({ className: wrapperClasses }), children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: TagName2, type: isButtonTag ? buttonType : null, className: buttonClasses, href: isButtonTag ? null : url, title, style: buttonStyle, value: text, target: isButtonTag ? null : linkTarget, rel: isButtonTag ? null : rel } ) }); }, isEligible(attributes) { return typeof attributes.width === "number"; }, migrate: migrateWidth }; var v11 = { attributes: { url: { type: "string", source: "attribute", selector: "a", attribute: "href" }, title: { type: "string", source: "attribute", selector: "a", attribute: "title" }, text: { type: "string", source: "html", selector: "a" }, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel" }, placeholder: { type: "string" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, width: { type: "number" } }, supports: { anchor: true, align: true, alignWide: false, color: { __experimentalSkipSerialization: true, gradients: true, __experimentalDefaultControls: { background: true, text: true } }, typography: { fontSize: true, __experimentalFontFamily: true, __experimentalDefaultControls: { fontSize: true } }, reusable: false, spacing: { __experimentalSkipSerialization: true, padding: ["horizontal", "vertical"], __experimentalDefaultControls: { padding: true } }, __experimentalBorder: { radius: true, __experimentalSkipSerialization: true, __experimentalDefaultControls: { radius: true } }, __experimentalSelector: ".wp-block-button__link" }, save({ attributes, className }) { const { fontSize, linkTarget, rel, style: style2, text, title, url, width } = attributes; if (!text) { return null; } const borderProps = (0, import_block_editor19.__experimentalGetBorderClassesAndStyles)(attributes); const colorProps = (0, import_block_editor19.__experimentalGetColorClassesAndStyles)(attributes); const spacingProps = (0, import_block_editor19.__experimentalGetSpacingClassesAndStyles)(attributes); const buttonClasses = clsx_default( "wp-block-button__link", colorProps.className, borderProps.className, { // For backwards compatibility add style that isn't provided via // block support. "no-border-radius": style2?.border?.radius === 0 } ); const buttonStyle = { ...borderProps.style, ...colorProps.style, ...spacingProps.style }; const wrapperClasses = clsx_default(className, { [`has-custom-width wp-block-button__width-${width}`]: width, [`has-custom-font-size`]: fontSize || style2?.typography?.fontSize }); return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { ...import_block_editor19.useBlockProps.save({ className: wrapperClasses }), children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text, target: linkTarget, rel } ) }); } }; var v10 = { attributes: { url: { type: "string", source: "attribute", selector: "a", attribute: "href" }, title: { type: "string", source: "attribute", selector: "a", attribute: "title" }, text: { type: "string", source: "html", selector: "a" }, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel" }, placeholder: { type: "string" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, width: { type: "number" } }, supports: { anchor: true, align: true, alignWide: false, color: { __experimentalSkipSerialization: true, gradients: true }, typography: { fontSize: true, __experimentalFontFamily: true }, reusable: false, spacing: { __experimentalSkipSerialization: true, padding: ["horizontal", "vertical"], __experimentalDefaultControls: { padding: true } }, __experimentalBorder: { radius: true, __experimentalSkipSerialization: true }, __experimentalSelector: ".wp-block-button__link" }, save({ attributes, className }) { const { fontSize, linkTarget, rel, style: style2, text, title, url, width } = attributes; if (!text) { return null; } const borderProps = (0, import_block_editor19.__experimentalGetBorderClassesAndStyles)(attributes); const colorProps = (0, import_block_editor19.__experimentalGetColorClassesAndStyles)(attributes); const spacingProps = (0, import_block_editor19.__experimentalGetSpacingClassesAndStyles)(attributes); const buttonClasses = clsx_default( "wp-block-button__link", colorProps.className, borderProps.className, { // For backwards compatibility add style that isn't provided via // block support. "no-border-radius": style2?.border?.radius === 0 } ); const buttonStyle = { ...borderProps.style, ...colorProps.style, ...spacingProps.style }; const wrapperClasses = clsx_default(className, { [`has-custom-width wp-block-button__width-${width}`]: width, [`has-custom-font-size`]: fontSize || style2?.typography?.fontSize }); return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { ...import_block_editor19.useBlockProps.save({ className: wrapperClasses }), children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text, target: linkTarget, rel } ) }); }, migrate: (0, import_compose6.compose)(migrateWidth, migrate_font_family_default), isEligible({ style: style2, width }) { return style2?.typography?.fontFamily || typeof width === "number"; } }; var deprecated = [ v14, v13, v12, v11, v10, { supports: { anchor: true, align: true, alignWide: false, color: { __experimentalSkipSerialization: true, gradients: true }, typography: { fontSize: true, __experimentalFontFamily: true }, reusable: false, __experimentalSelector: ".wp-block-button__link" }, attributes: { ...blockAttributes, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel" }, placeholder: { type: "string" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, width: { type: "number" } }, isEligible({ style: style2 }) { return typeof style2?.border?.radius === "number"; }, save({ attributes, className }) { const { fontSize, linkTarget, rel, style: style2, text, title, url, width } = attributes; if (!text) { return null; } const borderRadius = style2?.border?.radius; const colorProps = (0, import_block_editor19.__experimentalGetColorClassesAndStyles)(attributes); const buttonClasses = clsx_default( "wp-block-button__link", colorProps.className, { "no-border-radius": style2?.border?.radius === 0 } ); const buttonStyle = { borderRadius: borderRadius ? borderRadius : void 0, ...colorProps.style }; const wrapperClasses = clsx_default(className, { [`has-custom-width wp-block-button__width-${width}`]: width, [`has-custom-font-size`]: fontSize || style2?.typography?.fontSize }); return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { ...import_block_editor19.useBlockProps.save({ className: wrapperClasses }), children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text, target: linkTarget, rel } ) }); }, migrate: (0, import_compose6.compose)( migrateWidth, migrate_font_family_default, migrateBorderRadius ) }, { supports: { anchor: true, align: true, alignWide: false, color: { __experimentalSkipSerialization: true }, reusable: false, __experimentalSelector: ".wp-block-button__link" }, attributes: { ...blockAttributes, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel" }, placeholder: { type: "string" }, borderRadius: { type: "number" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, style: { type: "object" }, width: { type: "number" } }, save({ attributes, className }) { const { borderRadius, linkTarget, rel, text, title, url, width } = attributes; const colorProps = (0, import_block_editor19.__experimentalGetColorClassesAndStyles)(attributes); const buttonClasses = clsx_default( "wp-block-button__link", colorProps.className, { "no-border-radius": borderRadius === 0 } ); const buttonStyle = { borderRadius: borderRadius ? borderRadius + "px" : void 0, ...colorProps.style }; const wrapperClasses = clsx_default(className, { [`has-custom-width wp-block-button__width-${width}`]: width }); return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { ...import_block_editor19.useBlockProps.save({ className: wrapperClasses }), children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text, target: linkTarget, rel } ) }); }, migrate: (0, import_compose6.compose)( migrateWidth, migrate_font_family_default, migrateBorderRadius ) }, { supports: { anchor: true, align: true, alignWide: false, color: { __experimentalSkipSerialization: true }, reusable: false, __experimentalSelector: ".wp-block-button__link" }, attributes: { ...blockAttributes, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel" }, placeholder: { type: "string" }, borderRadius: { type: "number" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, style: { type: "object" }, width: { type: "number" } }, save({ attributes, className }) { const { borderRadius, linkTarget, rel, text, title, url, width } = attributes; const colorProps = (0, import_block_editor19.__experimentalGetColorClassesAndStyles)(attributes); const buttonClasses = clsx_default( "wp-block-button__link", colorProps.className, { "no-border-radius": borderRadius === 0 } ); const buttonStyle = { borderRadius: borderRadius ? borderRadius + "px" : void 0, ...colorProps.style }; const wrapperClasses = clsx_default(className, { [`has-custom-width wp-block-button__width-${width}`]: width }); return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { ...import_block_editor19.useBlockProps.save({ className: wrapperClasses }), children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text, target: linkTarget, rel } ) }); }, migrate: (0, import_compose6.compose)( migrateWidth, migrate_font_family_default, migrateBorderRadius ) }, { supports: { align: true, alignWide: false, color: { gradients: true } }, attributes: { ...blockAttributes, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel" }, placeholder: { type: "string" }, borderRadius: { type: "number" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, gradient: { type: "string" }, style: { type: "object" } }, save({ attributes }) { const { borderRadius, linkTarget, rel, text, title, url } = attributes; const buttonClasses = clsx_default("wp-block-button__link", { "no-border-radius": borderRadius === 0 }); const buttonStyle = { borderRadius: borderRadius ? borderRadius + "px" : void 0 }; return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text, target: linkTarget, rel } ); }, migrate: (0, import_compose6.compose)(migrateWidth, migrateBorderRadius) }, { supports: { align: true, alignWide: false }, attributes: { ...blockAttributes, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel" }, placeholder: { type: "string" }, borderRadius: { type: "number" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, customBackgroundColor: { type: "string" }, customTextColor: { type: "string" }, customGradient: { type: "string" }, gradient: { type: "string" } }, isEligible: (attributes) => !!attributes.customTextColor || !!attributes.customBackgroundColor || !!attributes.customGradient || !!attributes.align, migrate: (0, import_compose6.compose)( migrateWidth, migrateBorderRadius, migrateCustomColorsAndGradients, migrateAlign ), save({ attributes }) { const { backgroundColor, borderRadius, customBackgroundColor, customTextColor, customGradient, linkTarget, gradient, rel, text, textColor, title, url } = attributes; const textClass = (0, import_block_editor19.getColorClassName)("color", textColor); const backgroundClass = !customGradient && (0, import_block_editor19.getColorClassName)("background-color", backgroundColor); const gradientClass = (0, import_block_editor19.__experimentalGetGradientClass)(gradient); const buttonClasses = clsx_default("wp-block-button__link", { "has-text-color": textColor || customTextColor, [textClass]: textClass, "has-background": backgroundColor || customBackgroundColor || customGradient || gradient, [backgroundClass]: backgroundClass, "no-border-radius": borderRadius === 0, [gradientClass]: gradientClass }); const buttonStyle = { background: customGradient ? customGradient : void 0, backgroundColor: backgroundClass || customGradient || gradient ? void 0 : customBackgroundColor, color: textClass ? void 0 : customTextColor, borderRadius: borderRadius ? borderRadius + "px" : void 0 }; return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text, target: linkTarget, rel } ) }); } }, { attributes: { ...blockAttributes, align: { type: "string", default: "none" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, customBackgroundColor: { type: "string" }, customTextColor: { type: "string" }, linkTarget: { type: "string", source: "attribute", selector: "a", attribute: "target" }, rel: { type: "string", source: "attribute", selector: "a", attribute: "rel" }, placeholder: { type: "string" } }, isEligible(attribute) { return attribute.className && attribute.className.includes("is-style-squared"); }, migrate(attributes) { let newClassName = attributes.className; if (newClassName) { newClassName = newClassName.replace(/is-style-squared[\s]?/, "").trim(); } return migrateBorderRadius( migrateCustomColorsAndGradients({ ...attributes, className: newClassName ? newClassName : void 0, borderRadius: 0 }) ); }, save({ attributes }) { const { backgroundColor, customBackgroundColor, customTextColor, linkTarget, rel, text, textColor, title, url } = attributes; const textClass = (0, import_block_editor19.getColorClassName)("color", textColor); const backgroundClass = (0, import_block_editor19.getColorClassName)( "background-color", backgroundColor ); const buttonClasses = clsx_default("wp-block-button__link", { "has-text-color": textColor || customTextColor, [textClass]: textClass, "has-background": backgroundColor || customBackgroundColor, [backgroundClass]: backgroundClass }); const buttonStyle = { backgroundColor: backgroundClass ? void 0 : customBackgroundColor, color: textClass ? void 0 : customTextColor }; return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text, target: linkTarget, rel } ) }); } }, { attributes: { ...blockAttributes, align: { type: "string", default: "none" }, backgroundColor: { type: "string" }, textColor: { type: "string" }, customBackgroundColor: { type: "string" }, customTextColor: { type: "string" } }, migrate: (0, import_compose6.compose)(migrateWidth, oldColorsMigration), save({ attributes }) { const { url, text, title, backgroundColor, textColor, customBackgroundColor, customTextColor } = attributes; const textClass = (0, import_block_editor19.getColorClassName)("color", textColor); const backgroundClass = (0, import_block_editor19.getColorClassName)( "background-color", backgroundColor ); const buttonClasses = clsx_default("wp-block-button__link", { "has-text-color": textColor || customTextColor, [textClass]: textClass, "has-background": backgroundColor || customBackgroundColor, [backgroundClass]: backgroundClass }); const buttonStyle = { backgroundColor: backgroundClass ? void 0 : customBackgroundColor, color: textClass ? void 0 : customTextColor }; return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: buttonClasses, href: url, title, style: buttonStyle, value: text } ) }); } }, { attributes: { ...blockAttributes, color: { type: "string" }, textColor: { type: "string" }, align: { type: "string", default: "none" } }, save({ attributes }) { const { url, text, title, align, color, textColor } = attributes; const buttonStyle = { backgroundColor: color, color: textColor }; const linkClass = "wp-block-button__link"; return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { className: `align${align}`, children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", className: linkClass, href: url, title, style: buttonStyle, value: text } ) }); }, migrate: (0, import_compose6.compose)(migrateWidth, oldColorsMigration) }, { attributes: { ...blockAttributes, color: { type: "string" }, textColor: { type: "string" }, align: { type: "string", default: "none" } }, save({ attributes }) { const { url, text, title, align, color, textColor } = attributes; return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( "div", { className: `align${align}`, style: { backgroundColor: color }, children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)( import_block_editor19.RichText.Content, { tagName: "a", href: url, title, style: { color: textColor }, value: text } ) } ); }, migrate: (0, import_compose6.compose)(migrateWidth, oldColorsMigration) } ]; var deprecated_default3 = deprecated; // packages/block-library/build-module/button/edit.mjs var import_i18n14 = __toESM(require_i18n(), 1); var import_element20 = __toESM(require_element(), 1); var import_components10 = __toESM(require_components(), 1); var import_block_editor21 = __toESM(require_block_editor(), 1); var import_keycodes = __toESM(require_keycodes(), 1); var import_blocks7 = __toESM(require_blocks(), 1); var import_compose9 = __toESM(require_compose(), 1); var import_data11 = __toESM(require_data(), 1); // node_modules/@base-ui/utils/useControlled.mjs var React = __toESM(require_react(), 1); // node_modules/@base-ui/utils/error.mjs var set; if (true) { set = /* @__PURE__ */ new Set(); } function error(...messages) { if (true) { const messageKey = messages.join(" "); if (!set.has(messageKey)) { set.add(messageKey); console.error(`Base UI: ${messageKey}`); } } } // node_modules/@base-ui/utils/useControlled.mjs function useControlled({ controlled, default: defaultProp, name: name122, state = "value" }) { const { current: isControlled } = React.useRef(controlled !== void 0); const [valueState, setValue] = React.useState(defaultProp); const value = isControlled ? controlled : valueState; if (true) { React.useEffect(() => { if (isControlled !== (controlled !== void 0)) { error([`A component is changing the ${isControlled ? "" : "un"}controlled ${state} state of ${name122} to be ${isControlled ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${name122} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join("\n")); } }, [state, name122, controlled]); const { current: defaultValue } = React.useRef(defaultProp); React.useEffect(() => { if (!isControlled && serializeToDevModeString(defaultValue) !== serializeToDevModeString(defaultProp)) { error([`A component is changing the default ${state} state of an uncontrolled ${name122} after being initialized. To suppress this warning opt to use a controlled ${name122}.`].join("\n")); } }, [defaultProp]); } const setValueIfUncontrolled = React.useCallback((newValue) => { if (!isControlled) { setValue(newValue); } }, []); return [value, setValueIfUncontrolled]; } function serializeToDevModeString(input) { let nextId = 0; const seen = /* @__PURE__ */ new WeakMap(); try { const result = JSON.stringify(input, function replacer(key, value) { if (key === "_owner" && this != null && typeof this === "object" && "$$typeof" in this) { return void 0; } if (typeof value === "bigint") { return `__bigint__:${value}`; } if (value !== null && typeof value === "object") { const id = seen.get(value); if (id !== void 0) { return `__object__:${id}`; } seen.set(value, nextId); nextId += 1; } return value; }); return result ?? `__top__:${typeof input}`; } catch { return "__unserializable__"; } } // node_modules/@base-ui/utils/safeReact.mjs var React2 = __toESM(require_react(), 1); var SafeReact = { ...React2 }; // node_modules/@base-ui/utils/useRefWithInit.mjs var React3 = __toESM(require_react(), 1); var UNINITIALIZED = {}; function useRefWithInit(init121, initArg) { const ref = React3.useRef(UNINITIALIZED); if (ref.current === UNINITIALIZED) { ref.current = init121(initArg); } return ref; } // node_modules/@base-ui/utils/useStableCallback.mjs var useInsertionEffect = SafeReact.useInsertionEffect; var useSafeInsertionEffect = ( // React 17 doesn't have useInsertionEffect. useInsertionEffect && // Preact replaces useInsertionEffect with useLayoutEffect and fires too late. useInsertionEffect !== SafeReact.useLayoutEffect ? useInsertionEffect : (fn) => fn() ); function useStableCallback(callback) { const stable = useRefWithInit(createStableCallback).current; stable.next = callback; useSafeInsertionEffect(stable.effect); return stable.trampoline; } function createStableCallback() { const stable = { next: void 0, callback: assertNotCalled, trampoline: (...args) => stable.callback?.(...args), effect: () => { stable.callback = stable.next; } }; return stable; } function assertNotCalled() { if (true) { throw ( /* minify-error-disabled */ new Error("Base UI: Cannot call an event handler while rendering.") ); } } // node_modules/@base-ui/utils/useIsoLayoutEffect.mjs var React4 = __toESM(require_react(), 1); var noop = () => { }; var useIsoLayoutEffect = typeof document !== "undefined" ? React4.useLayoutEffect : noop; // node_modules/@base-ui/utils/warn.mjs var set2; if (true) { set2 = /* @__PURE__ */ new Set(); } function warn(...messages) { if (true) { const messageKey = messages.join(" "); if (!set2.has(messageKey)) { set2.add(messageKey); console.warn(`Base UI: ${messageKey}`); } } } // node_modules/@base-ui/react/internals/composite/list/CompositeList.mjs var React6 = __toESM(require_react(), 1); // node_modules/@base-ui/react/internals/composite/list/CompositeListContext.mjs var React5 = __toESM(require_react(), 1); var CompositeListContext = /* @__PURE__ */ React5.createContext({ register: () => { }, unregister: () => { }, subscribeMapChange: () => { return () => { }; }, elementsRef: { current: [] }, nextIndexRef: { current: 0 } }); if (true) CompositeListContext.displayName = "CompositeListContext"; function useCompositeListContext() { return React5.useContext(CompositeListContext); } // node_modules/@base-ui/react/internals/composite/list/CompositeList.mjs var import_jsx_runtime181 = __toESM(require_jsx_runtime(), 1); function CompositeList(props) { const { children, elementsRef, labelsRef, onMapChange: onMapChangeProp } = props; const onMapChange = useStableCallback(onMapChangeProp); const nextIndexRef = React6.useRef(0); const listeners = useRefWithInit(createListeners).current; const map = useRefWithInit(createMap).current; const [mapTick, setMapTick] = React6.useState(0); const lastTickRef = React6.useRef(mapTick); const register = useStableCallback((node, metadata) => { map.set(node, metadata ?? null); lastTickRef.current += 1; setMapTick(lastTickRef.current); }); const unregister = useStableCallback((node) => { map.delete(node); lastTickRef.current += 1; setMapTick(lastTickRef.current); }); const sortedMap = React6.useMemo(() => { disableEslintWarning(mapTick); const newMap = /* @__PURE__ */ new Map(); const sortedNodes = Array.from(map.keys()).filter((node) => node.isConnected).sort(sortByDocumentPosition); sortedNodes.forEach((node, index) => { const metadata = map.get(node) ?? {}; newMap.set(node, { ...metadata, index }); }); return newMap; }, [map, mapTick]); useIsoLayoutEffect(() => { if (typeof MutationObserver !== "function" || sortedMap.size === 0) { return void 0; } const mutationObserver = new MutationObserver((entries) => { const diff = /* @__PURE__ */ new Set(); const updateDiff = (node) => diff.has(node) ? diff.delete(node) : diff.add(node); entries.forEach((entry) => { entry.removedNodes.forEach(updateDiff); entry.addedNodes.forEach(updateDiff); }); if (diff.size === 0) { lastTickRef.current += 1; setMapTick(lastTickRef.current); } }); sortedMap.forEach((_2, node) => { if (node.parentElement) { mutationObserver.observe(node.parentElement, { childList: true }); } }); return () => { mutationObserver.disconnect(); }; }, [sortedMap]); useIsoLayoutEffect(() => { const shouldUpdateLengths = lastTickRef.current === mapTick; if (shouldUpdateLengths) { if (elementsRef.current.length !== sortedMap.size) { elementsRef.current.length = sortedMap.size; } if (labelsRef && labelsRef.current.length !== sortedMap.size) { labelsRef.current.length = sortedMap.size; } nextIndexRef.current = sortedMap.size; } onMapChange(sortedMap); }, [onMapChange, sortedMap, elementsRef, labelsRef, mapTick]); useIsoLayoutEffect(() => { return () => { elementsRef.current = []; }; }, [elementsRef]); useIsoLayoutEffect(() => { return () => { if (labelsRef) { labelsRef.current = []; } }; }, [labelsRef]); const subscribeMapChange = useStableCallback((fn) => { listeners.add(fn); return () => { listeners.delete(fn); }; }); useIsoLayoutEffect(() => { listeners.forEach((l2) => l2(sortedMap)); }, [listeners, sortedMap]); const contextValue = React6.useMemo(() => ({ register, unregister, subscribeMapChange, elementsRef, labelsRef, nextIndexRef }), [register, unregister, subscribeMapChange, elementsRef, labelsRef, nextIndexRef]); return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(CompositeListContext.Provider, { value: contextValue, children }); } function createMap() { return /* @__PURE__ */ new Map(); } function createListeners() { return /* @__PURE__ */ new Set(); } function sortByDocumentPosition(a2, b2) { const position = a2.compareDocumentPosition(b2); if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) { return -1; } if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) { return 1; } return 0; } function disableEslintWarning(_2) { } // node_modules/@base-ui/react/internals/direction-context/DirectionContext.mjs var React7 = __toESM(require_react(), 1); var DirectionContext = /* @__PURE__ */ React7.createContext(void 0); if (true) DirectionContext.displayName = "DirectionContext"; function useDirection() { const context = React7.useContext(DirectionContext); return context?.direction ?? "ltr"; } // node_modules/@base-ui/react/internals/useRenderElement.mjs var React10 = __toESM(require_react(), 1); // node_modules/@base-ui/utils/useMergedRefs.mjs function useMergedRefs(a2, b2, c2, d2) { const forkRef = useRefWithInit(createForkRef).current; if (didChange(forkRef, a2, b2, c2, d2)) { update(forkRef, [a2, b2, c2, d2]); } return forkRef.callback; } function useMergedRefsN(refs) { const forkRef = useRefWithInit(createForkRef).current; if (didChangeN(forkRef, refs)) { update(forkRef, refs); } return forkRef.callback; } function createForkRef() { return { callback: null, cleanup: null, refs: [] }; } function didChange(forkRef, a2, b2, c2, d2) { return forkRef.refs[0] !== a2 || forkRef.refs[1] !== b2 || forkRef.refs[2] !== c2 || forkRef.refs[3] !== d2; } function didChangeN(forkRef, newRefs) { return forkRef.refs.length !== newRefs.length || forkRef.refs.some((ref, index) => ref !== newRefs[index]); } function update(forkRef, refs) { forkRef.refs = refs; if (refs.every((ref) => ref == null)) { forkRef.callback = null; return; } forkRef.callback = (instance) => { if (forkRef.cleanup) { forkRef.cleanup(); forkRef.cleanup = null; } if (instance != null) { const cleanupCallbacks = Array(refs.length).fill(null); for (let i2 = 0; i2 < refs.length; i2 += 1) { const ref = refs[i2]; if (ref == null) { continue; } switch (typeof ref) { case "function": { const refCleanup = ref(instance); if (typeof refCleanup === "function") { cleanupCallbacks[i2] = refCleanup; } break; } case "object": { ref.current = instance; break; } default: } } forkRef.cleanup = () => { for (let i2 = 0; i2 < refs.length; i2 += 1) { const ref = refs[i2]; if (ref == null) { continue; } switch (typeof ref) { case "function": { const cleanupCallback = cleanupCallbacks[i2]; if (typeof cleanupCallback === "function") { cleanupCallback(); } else { ref(null); } break; } case "object": { ref.current = null; break; } default: } } }; } }; } // node_modules/@base-ui/utils/getReactElementRef.mjs var React9 = __toESM(require_react(), 1); // node_modules/@base-ui/utils/reactVersion.mjs var React8 = __toESM(require_react(), 1); var majorVersion = parseInt(React8.version, 10); function isReactVersionAtLeast(reactVersionToCheck) { return majorVersion >= reactVersionToCheck; } // node_modules/@base-ui/utils/getReactElementRef.mjs function getReactElementRef(element) { if (!/* @__PURE__ */ React9.isValidElement(element)) { return null; } const reactElement = element; const propsWithRef = reactElement.props; return (isReactVersionAtLeast(19) ? propsWithRef?.ref : reactElement.ref) ?? null; } // node_modules/@base-ui/utils/mergeObjects.mjs function mergeObjects(a2, b2) { if (a2 && !b2) { return a2; } if (!a2 && b2) { return b2; } if (a2 || b2) { return { ...a2, ...b2 }; } return void 0; } // node_modules/@base-ui/utils/empty.mjs function NOOP() { } var EMPTY_ARRAY = Object.freeze([]); var EMPTY_OBJECT = Object.freeze({}); // node_modules/@base-ui/react/internals/getStateAttributesProps.mjs function getStateAttributesProps(state, customMapping) { const props = {}; for (const key in state) { const value = state[key]; if (customMapping?.hasOwnProperty(key)) { const customProps = customMapping[key](value); if (customProps != null) { Object.assign(props, customProps); } continue; } if (value === true) { props[`data-${key.toLowerCase()}`] = ""; } else if (value) { props[`data-${key.toLowerCase()}`] = value.toString(); } } return props; } // node_modules/@base-ui/react/utils/resolveClassName.mjs function resolveClassName(className, state) { return typeof className === "function" ? className(state) : className; } // node_modules/@base-ui/react/utils/resolveStyle.mjs function resolveStyle(style2, state) { return typeof style2 === "function" ? style2(state) : style2; } // node_modules/@base-ui/react/merge-props/mergeProps.mjs var EMPTY_PROPS = {}; function mergeProps(a2, b2, c2, d2, e3) { if (!c2 && !d2 && !e3 && !a2) { return createInitialMergedProps(b2); } let merged = createInitialMergedProps(a2); if (b2) { merged = mergeInto(merged, b2); } if (c2) { merged = mergeInto(merged, c2); } if (d2) { merged = mergeInto(merged, d2); } if (e3) { merged = mergeInto(merged, e3); } return merged; } function mergePropsN(props) { if (props.length === 0) { return EMPTY_PROPS; } if (props.length === 1) { return createInitialMergedProps(props[0]); } let merged = createInitialMergedProps(props[0]); for (let i2 = 1; i2 < props.length; i2 += 1) { merged = mergeInto(merged, props[i2]); } return merged; } function createInitialMergedProps(inputProps) { if (isPropsGetter(inputProps)) { return { ...resolvePropsGetter(inputProps, EMPTY_PROPS) }; } return copyInitialProps(inputProps); } function mergeInto(merged, inputProps) { if (isPropsGetter(inputProps)) { return resolvePropsGetter(inputProps, merged); } return mutablyMergeInto(merged, inputProps); } function copyInitialProps(inputProps) { const copiedProps = { ...inputProps }; for (const propName in copiedProps) { const propValue = copiedProps[propName]; if (isEventHandler(propName, propValue)) { copiedProps[propName] = wrapEventHandler(propValue); } } return copiedProps; } function mutablyMergeInto(mergedProps, externalProps) { if (!externalProps) { return mergedProps; } for (const propName in externalProps) { const externalPropValue = externalProps[propName]; switch (propName) { case "style": { mergedProps[propName] = mergeObjects(mergedProps.style, externalPropValue); break; } case "className": { mergedProps[propName] = mergeClassNames(mergedProps.className, externalPropValue); break; } default: { if (isEventHandler(propName, externalPropValue)) { mergedProps[propName] = mergeEventHandlers(mergedProps[propName], externalPropValue); } else { mergedProps[propName] = externalPropValue; } } } } return mergedProps; } function isEventHandler(key, value) { const code0 = key.charCodeAt(0); const code1 = key.charCodeAt(1); const code2 = key.charCodeAt(2); return code0 === 111 && code1 === 110 && code2 >= 65 && code2 <= 90 && (typeof value === "function" || typeof value === "undefined"); } function isPropsGetter(inputProps) { return typeof inputProps === "function"; } function resolvePropsGetter(inputProps, previousProps) { if (isPropsGetter(inputProps)) { return inputProps(previousProps); } return inputProps ?? EMPTY_PROPS; } function mergeEventHandlers(ourHandler, theirHandler) { if (!theirHandler) { return ourHandler; } if (!ourHandler) { return wrapEventHandler(theirHandler); } return (...args) => { const event = args[0]; if (isSyntheticEvent(event)) { const baseUIEvent = event; makeEventPreventable(baseUIEvent); const result2 = theirHandler(...args); if (!baseUIEvent.baseUIHandlerPrevented) { ourHandler?.(...args); } return result2; } const result = theirHandler(...args); ourHandler?.(...args); return result; }; } function wrapEventHandler(handler) { if (!handler) { return handler; } return (...args) => { const event = args[0]; if (isSyntheticEvent(event)) { makeEventPreventable(event); } return handler(...args); }; } function makeEventPreventable(event) { event.preventBaseUIHandler = () => { event.baseUIHandlerPrevented = true; }; return event; } function mergeClassNames(ourClassName, theirClassName) { if (theirClassName) { if (ourClassName) { return theirClassName + " " + ourClassName; } return theirClassName; } return ourClassName; } function isSyntheticEvent(event) { return event != null && typeof event === "object" && "nativeEvent" in event; } // node_modules/@base-ui/react/internals/useRenderElement.mjs var import_react = __toESM(require_react(), 1); function useRenderElement(element, componentProps, params = {}) { const renderProp = componentProps.render; const outProps = useRenderElementProps(componentProps, params); if (params.enabled === false) { return null; } const state = params.state ?? EMPTY_OBJECT; return evaluateRenderProp(element, renderProp, outProps, state); } function useRenderElementProps(componentProps, params = {}) { const { className: classNameProp, style: styleProp, render: renderProp } = componentProps; const { state = EMPTY_OBJECT, ref, props, stateAttributesMapping: stateAttributesMapping3, enabled = true } = params; const className = enabled ? resolveClassName(classNameProp, state) : void 0; const style2 = enabled ? resolveStyle(styleProp, state) : void 0; const stateProps = enabled ? getStateAttributesProps(state, stateAttributesMapping3) : EMPTY_OBJECT; const resolvedProps = enabled && props ? resolveRenderFunctionProps(props) : void 0; const outProps = enabled ? mergeObjects(stateProps, resolvedProps) ?? {} : EMPTY_OBJECT; if (typeof document !== "undefined") { if (!enabled) { useMergedRefs(null, null); } else if (Array.isArray(ref)) { outProps.ref = useMergedRefsN([outProps.ref, getReactElementRef(renderProp), ...ref]); } else { outProps.ref = useMergedRefs(outProps.ref, getReactElementRef(renderProp), ref); } } if (!enabled) { return EMPTY_OBJECT; } if (className !== void 0) { outProps.className = mergeClassNames(outProps.className, className); } if (style2 !== void 0) { outProps.style = mergeObjects(outProps.style, style2); } return outProps; } function resolveRenderFunctionProps(props) { if (Array.isArray(props)) { return mergePropsN(props); } return mergeProps(void 0, props); } var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"); var COMPONENT_IDENTIFIER_PATTERN = /^[A-Z][A-Za-z0-9$]*$/; var LOWERCASE_CHARACTER_PATTERN = /[a-z]/; function evaluateRenderProp(element, render, props, state) { if (render) { if (typeof render === "function") { if (true) { warnIfRenderPropLooksLikeComponent(render); } return render(props, state); } const mergedProps = mergeProps(props, render.props); mergedProps.ref = props.ref; let newElement = render; if (newElement?.$$typeof === REACT_LAZY_TYPE) { const children = React10.Children.toArray(render); newElement = children[0]; } if (true) { if (!/* @__PURE__ */ React10.isValidElement(newElement)) { throw new Error(["Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.", "A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.", "https://base-ui.com/r/invalid-render-prop"].join("\n")); } } return /* @__PURE__ */ React10.cloneElement(newElement, mergedProps); } if (element) { if (typeof element === "string") { return renderTag(element, props); } } throw new Error(true ? "Base UI: Render element or function are not defined." : formatErrorMessage_default(8)); } function warnIfRenderPropLooksLikeComponent(renderFn) { const functionName = renderFn.name; if (functionName.length === 0) { return; } if (!COMPONENT_IDENTIFIER_PATTERN.test(functionName)) { return; } if (!LOWERCASE_CHARACTER_PATTERN.test(functionName)) { return; } warn(`The \`render\` prop received a function named \`${functionName}\` that starts with an uppercase letter.`, "This usually means a React component was passed directly as `render={Component}`.", "Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.", "If this is an intentional render callback, rename it to start with a lowercase letter.", "Use `render={