@devvit/ui-renderer 0.11.17 → 0.11.18-next-2025-06-16-20-45-28-cf17b48ff.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocks/components/devvit-blocks-web-view.d.ts +6 -0
- package/blocks/components/devvit-blocks-web-view.d.ts.map +1 -1
- package/blocks/components/devvit-blocks-web-view.js +19 -0
- package/blocks/components/devvit-blocks-web-view.js.map +1 -1
- package/client/devvit-custom-post.d.ts.map +1 -1
- package/client/devvit-custom-post.js +6 -1
- package/client/devvit-custom-post.js.map +1 -1
- package/client/devvit-surface.d.ts.map +1 -1
- package/client/devvit-surface.js +10 -2
- package/client/devvit-surface.js.map +1 -1
- package/client/web-view.d.ts +2 -1
- package/client/web-view.d.ts.map +1 -1
- package/client/web-view.js +12 -1
- package/client/web-view.js.map +1 -1
- package/client/web-view.test.js.map +1 -1
- package/devvit-custom-post-meta.min.json +7429 -0
- package/devvit-custom-post.min.js +901 -0
- package/devvit-custom-post.min.js.map +7 -0
- package/devvit-surface-meta.min.json +7563 -0
- package/devvit-surface.min.js +901 -0
- package/devvit-surface.min.js.map +7 -0
- package/package.json +12 -15
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../node_modules/@protobufjs/aspromise/index.js", "../../../node_modules/@protobufjs/base64/index.js", "../../../node_modules/@protobufjs/eventemitter/index.js", "../../../node_modules/@protobufjs/float/index.js", "../../../node_modules/@protobufjs/inquire/index.js", "../../../node_modules/@protobufjs/utf8/index.js", "../../../node_modules/@protobufjs/pool/index.js", "../../../node_modules/protobufjs/src/util/longbits.js", "../../../node_modules/protobufjs/src/util/minimal.js", "../../../node_modules/protobufjs/src/writer.js", "../../../node_modules/protobufjs/src/writer_buffer.js", "../../../node_modules/protobufjs/src/reader.js", "../../../node_modules/protobufjs/src/reader_buffer.js", "../../../node_modules/protobufjs/src/rpc/service.js", "../../../node_modules/protobufjs/src/rpc.js", "../../../node_modules/protobufjs/src/roots.js", "../../../node_modules/protobufjs/src/index-minimal.js", "../../../node_modules/protobufjs/minimal.js", "../../../node_modules/long/src/long.js", "../../../node_modules/eventemitter3/index.js", "../../../node_modules/@lit/reactive-element/src/css-tag.ts", "../../../node_modules/@lit/reactive-element/src/reactive-element.ts", "../../../node_modules/lit-html/src/lit-html.ts", "../../../node_modules/lit-element/src/lit-element.ts", "../../../node_modules/lit-html/src/directive.ts", "../../../node_modules/@reddit/src/directives/attrs.ts", "../../../node_modules/lit-html/src/directives/if-defined.ts", "../../../node_modules/lit-html/src/directive-helpers.ts", "../../../node_modules/lit-html/src/directives/repeat.ts", "../../../node_modules/lit-html/src/directives/style-map.ts", "../../../node_modules/@reddit/faceplate-ui/dist/faceplateUIConfig.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/a.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/button.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/div.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/faceplate-expandable-section-helper.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/li.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/span.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/svg.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/ul.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/shared/elements/index.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/createElement/client/index.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/isSafeAttr.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateRenderingStrategy/checkForConflictingStrategies.js", "../../../node_modules/@reddit/faceplate-ui/dist/templateRenderingStrategy/clientStrategy.js", "../../protos/dist/types/devvit/ui/block_kit/v1beta/enums.js", "../../../node_modules/@lit/localize/src/internal/str-tag.ts", "../../../node_modules/@lit/localize/src/internal/default-msg.ts", "../../../node_modules/@lit/localize/src/internal/locale-status-event.ts", "../../../node_modules/@lit/localize/src/internal/localized-controller.ts", "../../../node_modules/@lit/localize/src/internal/localized-decorator.ts", "../../../node_modules/@lit/localize/src/internal/deferred.ts", "../../../node_modules/@lit/localize/src/internal/fnv1a64.ts", "../../../node_modules/@lit/localize/src/init/runtime.ts", "../../../node_modules/@lit/localize/src/lit-localize.ts", "../../../node_modules/@reddit/src/lib/custom-event.ts", "../../../node_modules/@reddit/faceplate-ui/dist/templates/_buttonBaseInternalsDoNotUse.js", "../../../node_modules/@reddit/faceplate-ui/dist/templates/button.js", "../../../node_modules/@reddit/faceplate-ui/dist/templates/empty-state.js", "../../../node_modules/@lit/reactive-element/src/decorators/custom-element.ts", "../../../node_modules/@lit/reactive-element/src/decorators/property.ts", "../../../node_modules/@lit/reactive-element/src/decorators/state.ts", "../../../node_modules/@lit/reactive-element/src/decorators/base.ts", "../../../node_modules/@lit/reactive-element/src/decorators/query.ts", "../../../node_modules/@lit/reactive-element/src/decorators/query-assigned-elements.ts", "../library/src/client/dispatcher/events.ts", "../library/src/client/dispatcher/performance.ts", "../../../node_modules/@reddit/src/lib/less.ts", "../library/src/styles.ts", "../library/src/semanticColors.ts", "../library/src/blocks/templates/util.ts", "../../../node_modules/@reddit/faceplate-ui/dist/svgs/svg-manifest.js", "../../../node_modules/lit-html/src/directives/class-map.ts", "../../../node_modules/lit-html/src/async-directive.ts", "../../../node_modules/lit-html/src/directives/ref.ts", "../../../node_modules/lit-html/src/directives/unsafe-html.ts", "../library/src/blocks/templates/color.ts", "../library/src/blocks/attributes.ts", "../library/src/blocks/block-type.ts", "../library/src/blocks/templates/renderAvatarBlock.ts", "../../../node_modules/@reddit/faceplate-ui/dist/templateUtils/styleMap.js", "../library/src/blocks/templates/renderIconBlock.ts", "../library/src/blocks/templates/renderButtonBlock.ts", "../../shared-types/dist/sanitizeSvg.js", "../library/src/blocks/templates/imageUtil.ts", "../library/src/blocks/templates/renderImageBlock.ts", "../library/src/blocks/templates/renderSpacerBlock.ts", "../library/src/blocks/templates/renderStackBlock.ts", "../library/src/blocks/templates/renderTextBlock.ts", "../../protos/dist/types/devvit/ui/effects/web_view/v1alpha/post_message.js", "../../protos/dist/types/google/protobuf/struct.js", "../../protos/dist/types/typeRegistry.js", "../library/src/client/web-view-scripts.ts", "../library/src/blocks/components/devvit-blocks-web-view.ts", "../library/src/blocks/templates/renderWebViewBlock.ts", "../library/src/blocks/templates/renderBlock.ts", "../library/src/blocks/components/devvit-blocks-renderer.ts", "../../protos/dist/types/devvit/events/v1alpha/realtime.js", "../../protos/dist/types/google/protobuf/empty.js", "../../protos/dist/types/devvit/ui/common/v1alpha/common.js", "../../shared-types/dist/CircuitBreaker.js", "../../shared-types/dist/Header.js", "../../shared-types/dist/throttle.js", "../../shared-types/dist/assert.js", "../../shared-types/dist/tid.js", "../../shared-types/dist/webbit.js", "../library/src/client/dimensions.ts", "../../protos/dist/types/devvit/ui/events/v1alpha/event.js", "../../protos/dist/types/google/protobuf/wrappers.js", "../../protos/dist/types/devvit/ui/effects/v1alpha/create_order.js", "../../protos/dist/types/devvit/ui/effects/v1alpha/realtime_subscriptions.js", "../../protos/dist/types/devvit/ui/effects/v1alpha/show_form.js", "../../protos/dist/types/devvit/ui/form_builder/v1alpha/form.js", "../../protos/dist/types/devvit/ui/form_builder/v1alpha/field.js", "../../protos/dist/types/devvit/ui/form_builder/v1alpha/type.js", "../../protos/dist/types/devvit/ui/form_builder/v1alpha/value.js", "../../protos/dist/types/devvit/ui/effects/v1alpha/show_toast.js", "../../protos/dist/types/devvit/ui/toast/toast.js", "../../protos/dist/types/devvit/ui/events/v1alpha/web_view.js", "../../protos/dist/types/devvit/plugin/logger/logger.js", "../../protos/dist/types/google/protobuf/timestamp.js", "../../runtime-lite/dist/types/Commands.js", "../../runtime-lite/dist/client/ClientShared.js", "../../protos/dist/types/devvit/cli/playtest.js", "../../runtime-lite/dist/client/playtest/PlaytestUtil.js", "../../runtime-lite/dist/client/playtest/PlaytestClient.js", "../../runtime-lite/dist/client/BrowserLiteClient.js", "../../../node_modules/p-queue/dist/index.js", "../../../node_modules/p-queue/node_modules/p-timeout/index.js", "../../../node_modules/p-queue/dist/lower-bound.js", "../../../node_modules/p-queue/dist/priority-queue.js", "../library/src/types/devvit-global.ts", "../library/src/client/dispatcher/dispatcher.ts", "../../protos/dist/types/devvit/ui/effects/web_view/v1alpha/context.js", "../library/src/client/web-view.ts", "../library/src/client/devvit-custom-post.ts"],
|
|
4
|
+
"sourcesContent": ["\"use strict\";\r\nmodule.exports = asPromise;\r\n\r\n/**\r\n * Callback as used by {@link util.asPromise}.\r\n * @typedef asPromiseCallback\r\n * @type {function}\r\n * @param {Error|null} error Error, if any\r\n * @param {...*} params Additional arguments\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Returns a promise from a node-style callback function.\r\n * @memberof util\r\n * @param {asPromiseCallback} fn Function to call\r\n * @param {*} ctx Function context\r\n * @param {...*} params Function arguments\r\n * @returns {Promise<*>} Promisified function\r\n */\r\nfunction asPromise(fn, ctx/*, varargs */) {\r\n var params = new Array(arguments.length - 1),\r\n offset = 0,\r\n index = 2,\r\n pending = true;\r\n while (index < arguments.length)\r\n params[offset++] = arguments[index++];\r\n return new Promise(function executor(resolve, reject) {\r\n params[offset] = function callback(err/*, varargs */) {\r\n if (pending) {\r\n pending = false;\r\n if (err)\r\n reject(err);\r\n else {\r\n var params = new Array(arguments.length - 1),\r\n offset = 0;\r\n while (offset < params.length)\r\n params[offset++] = arguments[offset];\r\n resolve.apply(null, params);\r\n }\r\n }\r\n };\r\n try {\r\n fn.apply(ctx || null, params);\r\n } catch (err) {\r\n if (pending) {\r\n pending = false;\r\n reject(err);\r\n }\r\n }\r\n });\r\n}\r\n", "\"use strict\";\r\n\r\n/**\r\n * A minimal base64 implementation for number arrays.\r\n * @memberof util\r\n * @namespace\r\n */\r\nvar base64 = exports;\r\n\r\n/**\r\n * Calculates the byte length of a base64 encoded string.\r\n * @param {string} string Base64 encoded string\r\n * @returns {number} Byte length\r\n */\r\nbase64.length = function length(string) {\r\n var p = string.length;\r\n if (!p)\r\n return 0;\r\n var n = 0;\r\n while (--p % 4 > 1 && string.charAt(p) === \"=\")\r\n ++n;\r\n return Math.ceil(string.length * 3) / 4 - n;\r\n};\r\n\r\n// Base64 encoding table\r\nvar b64 = new Array(64);\r\n\r\n// Base64 decoding table\r\nvar s64 = new Array(123);\r\n\r\n// 65..90, 97..122, 48..57, 43, 47\r\nfor (var i = 0; i < 64;)\r\n s64[b64[i] = i < 26 ? i + 65 : i < 52 ? i + 71 : i < 62 ? i - 4 : i - 59 | 43] = i++;\r\n\r\n/**\r\n * Encodes a buffer to a base64 encoded string.\r\n * @param {Uint8Array} buffer Source buffer\r\n * @param {number} start Source start\r\n * @param {number} end Source end\r\n * @returns {string} Base64 encoded string\r\n */\r\nbase64.encode = function encode(buffer, start, end) {\r\n var parts = null,\r\n chunk = [];\r\n var i = 0, // output index\r\n j = 0, // goto index\r\n t; // temporary\r\n while (start < end) {\r\n var b = buffer[start++];\r\n switch (j) {\r\n case 0:\r\n chunk[i++] = b64[b >> 2];\r\n t = (b & 3) << 4;\r\n j = 1;\r\n break;\r\n case 1:\r\n chunk[i++] = b64[t | b >> 4];\r\n t = (b & 15) << 2;\r\n j = 2;\r\n break;\r\n case 2:\r\n chunk[i++] = b64[t | b >> 6];\r\n chunk[i++] = b64[b & 63];\r\n j = 0;\r\n break;\r\n }\r\n if (i > 8191) {\r\n (parts || (parts = [])).push(String.fromCharCode.apply(String, chunk));\r\n i = 0;\r\n }\r\n }\r\n if (j) {\r\n chunk[i++] = b64[t];\r\n chunk[i++] = 61;\r\n if (j === 1)\r\n chunk[i++] = 61;\r\n }\r\n if (parts) {\r\n if (i)\r\n parts.push(String.fromCharCode.apply(String, chunk.slice(0, i)));\r\n return parts.join(\"\");\r\n }\r\n return String.fromCharCode.apply(String, chunk.slice(0, i));\r\n};\r\n\r\nvar invalidEncoding = \"invalid encoding\";\r\n\r\n/**\r\n * Decodes a base64 encoded string to a buffer.\r\n * @param {string} string Source string\r\n * @param {Uint8Array} buffer Destination buffer\r\n * @param {number} offset Destination offset\r\n * @returns {number} Number of bytes written\r\n * @throws {Error} If encoding is invalid\r\n */\r\nbase64.decode = function decode(string, buffer, offset) {\r\n var start = offset;\r\n var j = 0, // goto index\r\n t; // temporary\r\n for (var i = 0; i < string.length;) {\r\n var c = string.charCodeAt(i++);\r\n if (c === 61 && j > 1)\r\n break;\r\n if ((c = s64[c]) === undefined)\r\n throw Error(invalidEncoding);\r\n switch (j) {\r\n case 0:\r\n t = c;\r\n j = 1;\r\n break;\r\n case 1:\r\n buffer[offset++] = t << 2 | (c & 48) >> 4;\r\n t = c;\r\n j = 2;\r\n break;\r\n case 2:\r\n buffer[offset++] = (t & 15) << 4 | (c & 60) >> 2;\r\n t = c;\r\n j = 3;\r\n break;\r\n case 3:\r\n buffer[offset++] = (t & 3) << 6 | c;\r\n j = 0;\r\n break;\r\n }\r\n }\r\n if (j === 1)\r\n throw Error(invalidEncoding);\r\n return offset - start;\r\n};\r\n\r\n/**\r\n * Tests if the specified string appears to be base64 encoded.\r\n * @param {string} string String to test\r\n * @returns {boolean} `true` if probably base64 encoded, otherwise false\r\n */\r\nbase64.test = function test(string) {\r\n return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(string);\r\n};\r\n", "\"use strict\";\r\nmodule.exports = EventEmitter;\r\n\r\n/**\r\n * Constructs a new event emitter instance.\r\n * @classdesc A minimal event emitter.\r\n * @memberof util\r\n * @constructor\r\n */\r\nfunction EventEmitter() {\r\n\r\n /**\r\n * Registered listeners.\r\n * @type {Object.<string,*>}\r\n * @private\r\n */\r\n this._listeners = {};\r\n}\r\n\r\n/**\r\n * Registers an event listener.\r\n * @param {string} evt Event name\r\n * @param {function} fn Listener\r\n * @param {*} [ctx] Listener context\r\n * @returns {util.EventEmitter} `this`\r\n */\r\nEventEmitter.prototype.on = function on(evt, fn, ctx) {\r\n (this._listeners[evt] || (this._listeners[evt] = [])).push({\r\n fn : fn,\r\n ctx : ctx || this\r\n });\r\n return this;\r\n};\r\n\r\n/**\r\n * Removes an event listener or any matching listeners if arguments are omitted.\r\n * @param {string} [evt] Event name. Removes all listeners if omitted.\r\n * @param {function} [fn] Listener to remove. Removes all listeners of `evt` if omitted.\r\n * @returns {util.EventEmitter} `this`\r\n */\r\nEventEmitter.prototype.off = function off(evt, fn) {\r\n if (evt === undefined)\r\n this._listeners = {};\r\n else {\r\n if (fn === undefined)\r\n this._listeners[evt] = [];\r\n else {\r\n var listeners = this._listeners[evt];\r\n for (var i = 0; i < listeners.length;)\r\n if (listeners[i].fn === fn)\r\n listeners.splice(i, 1);\r\n else\r\n ++i;\r\n }\r\n }\r\n return this;\r\n};\r\n\r\n/**\r\n * Emits an event by calling its listeners with the specified arguments.\r\n * @param {string} evt Event name\r\n * @param {...*} args Arguments\r\n * @returns {util.EventEmitter} `this`\r\n */\r\nEventEmitter.prototype.emit = function emit(evt) {\r\n var listeners = this._listeners[evt];\r\n if (listeners) {\r\n var args = [],\r\n i = 1;\r\n for (; i < arguments.length;)\r\n args.push(arguments[i++]);\r\n for (i = 0; i < listeners.length;)\r\n listeners[i].fn.apply(listeners[i++].ctx, args);\r\n }\r\n return this;\r\n};\r\n", "\"use strict\";\r\n\r\nmodule.exports = factory(factory);\r\n\r\n/**\r\n * Reads / writes floats / doubles from / to buffers.\r\n * @name util.float\r\n * @namespace\r\n */\r\n\r\n/**\r\n * Writes a 32 bit float to a buffer using little endian byte order.\r\n * @name util.float.writeFloatLE\r\n * @function\r\n * @param {number} val Value to write\r\n * @param {Uint8Array} buf Target buffer\r\n * @param {number} pos Target buffer offset\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Writes a 32 bit float to a buffer using big endian byte order.\r\n * @name util.float.writeFloatBE\r\n * @function\r\n * @param {number} val Value to write\r\n * @param {Uint8Array} buf Target buffer\r\n * @param {number} pos Target buffer offset\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Reads a 32 bit float from a buffer using little endian byte order.\r\n * @name util.float.readFloatLE\r\n * @function\r\n * @param {Uint8Array} buf Source buffer\r\n * @param {number} pos Source buffer offset\r\n * @returns {number} Value read\r\n */\r\n\r\n/**\r\n * Reads a 32 bit float from a buffer using big endian byte order.\r\n * @name util.float.readFloatBE\r\n * @function\r\n * @param {Uint8Array} buf Source buffer\r\n * @param {number} pos Source buffer offset\r\n * @returns {number} Value read\r\n */\r\n\r\n/**\r\n * Writes a 64 bit double to a buffer using little endian byte order.\r\n * @name util.float.writeDoubleLE\r\n * @function\r\n * @param {number} val Value to write\r\n * @param {Uint8Array} buf Target buffer\r\n * @param {number} pos Target buffer offset\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Writes a 64 bit double to a buffer using big endian byte order.\r\n * @name util.float.writeDoubleBE\r\n * @function\r\n * @param {number} val Value to write\r\n * @param {Uint8Array} buf Target buffer\r\n * @param {number} pos Target buffer offset\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Reads a 64 bit double from a buffer using little endian byte order.\r\n * @name util.float.readDoubleLE\r\n * @function\r\n * @param {Uint8Array} buf Source buffer\r\n * @param {number} pos Source buffer offset\r\n * @returns {number} Value read\r\n */\r\n\r\n/**\r\n * Reads a 64 bit double from a buffer using big endian byte order.\r\n * @name util.float.readDoubleBE\r\n * @function\r\n * @param {Uint8Array} buf Source buffer\r\n * @param {number} pos Source buffer offset\r\n * @returns {number} Value read\r\n */\r\n\r\n// Factory function for the purpose of node-based testing in modified global environments\r\nfunction factory(exports) {\r\n\r\n // float: typed array\r\n if (typeof Float32Array !== \"undefined\") (function() {\r\n\r\n var f32 = new Float32Array([ -0 ]),\r\n f8b = new Uint8Array(f32.buffer),\r\n le = f8b[3] === 128;\r\n\r\n function writeFloat_f32_cpy(val, buf, pos) {\r\n f32[0] = val;\r\n buf[pos ] = f8b[0];\r\n buf[pos + 1] = f8b[1];\r\n buf[pos + 2] = f8b[2];\r\n buf[pos + 3] = f8b[3];\r\n }\r\n\r\n function writeFloat_f32_rev(val, buf, pos) {\r\n f32[0] = val;\r\n buf[pos ] = f8b[3];\r\n buf[pos + 1] = f8b[2];\r\n buf[pos + 2] = f8b[1];\r\n buf[pos + 3] = f8b[0];\r\n }\r\n\r\n /* istanbul ignore next */\r\n exports.writeFloatLE = le ? writeFloat_f32_cpy : writeFloat_f32_rev;\r\n /* istanbul ignore next */\r\n exports.writeFloatBE = le ? writeFloat_f32_rev : writeFloat_f32_cpy;\r\n\r\n function readFloat_f32_cpy(buf, pos) {\r\n f8b[0] = buf[pos ];\r\n f8b[1] = buf[pos + 1];\r\n f8b[2] = buf[pos + 2];\r\n f8b[3] = buf[pos + 3];\r\n return f32[0];\r\n }\r\n\r\n function readFloat_f32_rev(buf, pos) {\r\n f8b[3] = buf[pos ];\r\n f8b[2] = buf[pos + 1];\r\n f8b[1] = buf[pos + 2];\r\n f8b[0] = buf[pos + 3];\r\n return f32[0];\r\n }\r\n\r\n /* istanbul ignore next */\r\n exports.readFloatLE = le ? readFloat_f32_cpy : readFloat_f32_rev;\r\n /* istanbul ignore next */\r\n exports.readFloatBE = le ? readFloat_f32_rev : readFloat_f32_cpy;\r\n\r\n // float: ieee754\r\n })(); else (function() {\r\n\r\n function writeFloat_ieee754(writeUint, val, buf, pos) {\r\n var sign = val < 0 ? 1 : 0;\r\n if (sign)\r\n val = -val;\r\n if (val === 0)\r\n writeUint(1 / val > 0 ? /* positive */ 0 : /* negative 0 */ 2147483648, buf, pos);\r\n else if (isNaN(val))\r\n writeUint(2143289344, buf, pos);\r\n else if (val > 3.4028234663852886e+38) // +-Infinity\r\n writeUint((sign << 31 | 2139095040) >>> 0, buf, pos);\r\n else if (val < 1.1754943508222875e-38) // denormal\r\n writeUint((sign << 31 | Math.round(val / 1.401298464324817e-45)) >>> 0, buf, pos);\r\n else {\r\n var exponent = Math.floor(Math.log(val) / Math.LN2),\r\n mantissa = Math.round(val * Math.pow(2, -exponent) * 8388608) & 8388607;\r\n writeUint((sign << 31 | exponent + 127 << 23 | mantissa) >>> 0, buf, pos);\r\n }\r\n }\r\n\r\n exports.writeFloatLE = writeFloat_ieee754.bind(null, writeUintLE);\r\n exports.writeFloatBE = writeFloat_ieee754.bind(null, writeUintBE);\r\n\r\n function readFloat_ieee754(readUint, buf, pos) {\r\n var uint = readUint(buf, pos),\r\n sign = (uint >> 31) * 2 + 1,\r\n exponent = uint >>> 23 & 255,\r\n mantissa = uint & 8388607;\r\n return exponent === 255\r\n ? mantissa\r\n ? NaN\r\n : sign * Infinity\r\n : exponent === 0 // denormal\r\n ? sign * 1.401298464324817e-45 * mantissa\r\n : sign * Math.pow(2, exponent - 150) * (mantissa + 8388608);\r\n }\r\n\r\n exports.readFloatLE = readFloat_ieee754.bind(null, readUintLE);\r\n exports.readFloatBE = readFloat_ieee754.bind(null, readUintBE);\r\n\r\n })();\r\n\r\n // double: typed array\r\n if (typeof Float64Array !== \"undefined\") (function() {\r\n\r\n var f64 = new Float64Array([-0]),\r\n f8b = new Uint8Array(f64.buffer),\r\n le = f8b[7] === 128;\r\n\r\n function writeDouble_f64_cpy(val, buf, pos) {\r\n f64[0] = val;\r\n buf[pos ] = f8b[0];\r\n buf[pos + 1] = f8b[1];\r\n buf[pos + 2] = f8b[2];\r\n buf[pos + 3] = f8b[3];\r\n buf[pos + 4] = f8b[4];\r\n buf[pos + 5] = f8b[5];\r\n buf[pos + 6] = f8b[6];\r\n buf[pos + 7] = f8b[7];\r\n }\r\n\r\n function writeDouble_f64_rev(val, buf, pos) {\r\n f64[0] = val;\r\n buf[pos ] = f8b[7];\r\n buf[pos + 1] = f8b[6];\r\n buf[pos + 2] = f8b[5];\r\n buf[pos + 3] = f8b[4];\r\n buf[pos + 4] = f8b[3];\r\n buf[pos + 5] = f8b[2];\r\n buf[pos + 6] = f8b[1];\r\n buf[pos + 7] = f8b[0];\r\n }\r\n\r\n /* istanbul ignore next */\r\n exports.writeDoubleLE = le ? writeDouble_f64_cpy : writeDouble_f64_rev;\r\n /* istanbul ignore next */\r\n exports.writeDoubleBE = le ? writeDouble_f64_rev : writeDouble_f64_cpy;\r\n\r\n function readDouble_f64_cpy(buf, pos) {\r\n f8b[0] = buf[pos ];\r\n f8b[1] = buf[pos + 1];\r\n f8b[2] = buf[pos + 2];\r\n f8b[3] = buf[pos + 3];\r\n f8b[4] = buf[pos + 4];\r\n f8b[5] = buf[pos + 5];\r\n f8b[6] = buf[pos + 6];\r\n f8b[7] = buf[pos + 7];\r\n return f64[0];\r\n }\r\n\r\n function readDouble_f64_rev(buf, pos) {\r\n f8b[7] = buf[pos ];\r\n f8b[6] = buf[pos + 1];\r\n f8b[5] = buf[pos + 2];\r\n f8b[4] = buf[pos + 3];\r\n f8b[3] = buf[pos + 4];\r\n f8b[2] = buf[pos + 5];\r\n f8b[1] = buf[pos + 6];\r\n f8b[0] = buf[pos + 7];\r\n return f64[0];\r\n }\r\n\r\n /* istanbul ignore next */\r\n exports.readDoubleLE = le ? readDouble_f64_cpy : readDouble_f64_rev;\r\n /* istanbul ignore next */\r\n exports.readDoubleBE = le ? readDouble_f64_rev : readDouble_f64_cpy;\r\n\r\n // double: ieee754\r\n })(); else (function() {\r\n\r\n function writeDouble_ieee754(writeUint, off0, off1, val, buf, pos) {\r\n var sign = val < 0 ? 1 : 0;\r\n if (sign)\r\n val = -val;\r\n if (val === 0) {\r\n writeUint(0, buf, pos + off0);\r\n writeUint(1 / val > 0 ? /* positive */ 0 : /* negative 0 */ 2147483648, buf, pos + off1);\r\n } else if (isNaN(val)) {\r\n writeUint(0, buf, pos + off0);\r\n writeUint(2146959360, buf, pos + off1);\r\n } else if (val > 1.7976931348623157e+308) { // +-Infinity\r\n writeUint(0, buf, pos + off0);\r\n writeUint((sign << 31 | 2146435072) >>> 0, buf, pos + off1);\r\n } else {\r\n var mantissa;\r\n if (val < 2.2250738585072014e-308) { // denormal\r\n mantissa = val / 5e-324;\r\n writeUint(mantissa >>> 0, buf, pos + off0);\r\n writeUint((sign << 31 | mantissa / 4294967296) >>> 0, buf, pos + off1);\r\n } else {\r\n var exponent = Math.floor(Math.log(val) / Math.LN2);\r\n if (exponent === 1024)\r\n exponent = 1023;\r\n mantissa = val * Math.pow(2, -exponent);\r\n writeUint(mantissa * 4503599627370496 >>> 0, buf, pos + off0);\r\n writeUint((sign << 31 | exponent + 1023 << 20 | mantissa * 1048576 & 1048575) >>> 0, buf, pos + off1);\r\n }\r\n }\r\n }\r\n\r\n exports.writeDoubleLE = writeDouble_ieee754.bind(null, writeUintLE, 0, 4);\r\n exports.writeDoubleBE = writeDouble_ieee754.bind(null, writeUintBE, 4, 0);\r\n\r\n function readDouble_ieee754(readUint, off0, off1, buf, pos) {\r\n var lo = readUint(buf, pos + off0),\r\n hi = readUint(buf, pos + off1);\r\n var sign = (hi >> 31) * 2 + 1,\r\n exponent = hi >>> 20 & 2047,\r\n mantissa = 4294967296 * (hi & 1048575) + lo;\r\n return exponent === 2047\r\n ? mantissa\r\n ? NaN\r\n : sign * Infinity\r\n : exponent === 0 // denormal\r\n ? sign * 5e-324 * mantissa\r\n : sign * Math.pow(2, exponent - 1075) * (mantissa + 4503599627370496);\r\n }\r\n\r\n exports.readDoubleLE = readDouble_ieee754.bind(null, readUintLE, 0, 4);\r\n exports.readDoubleBE = readDouble_ieee754.bind(null, readUintBE, 4, 0);\r\n\r\n })();\r\n\r\n return exports;\r\n}\r\n\r\n// uint helpers\r\n\r\nfunction writeUintLE(val, buf, pos) {\r\n buf[pos ] = val & 255;\r\n buf[pos + 1] = val >>> 8 & 255;\r\n buf[pos + 2] = val >>> 16 & 255;\r\n buf[pos + 3] = val >>> 24;\r\n}\r\n\r\nfunction writeUintBE(val, buf, pos) {\r\n buf[pos ] = val >>> 24;\r\n buf[pos + 1] = val >>> 16 & 255;\r\n buf[pos + 2] = val >>> 8 & 255;\r\n buf[pos + 3] = val & 255;\r\n}\r\n\r\nfunction readUintLE(buf, pos) {\r\n return (buf[pos ]\r\n | buf[pos + 1] << 8\r\n | buf[pos + 2] << 16\r\n | buf[pos + 3] << 24) >>> 0;\r\n}\r\n\r\nfunction readUintBE(buf, pos) {\r\n return (buf[pos ] << 24\r\n | buf[pos + 1] << 16\r\n | buf[pos + 2] << 8\r\n | buf[pos + 3]) >>> 0;\r\n}\r\n", "\"use strict\";\r\nmodule.exports = inquire;\r\n\r\n/**\r\n * Requires a module only if available.\r\n * @memberof util\r\n * @param {string} moduleName Module to require\r\n * @returns {?Object} Required module if available and not empty, otherwise `null`\r\n */\r\nfunction inquire(moduleName) {\r\n try {\r\n var mod = eval(\"quire\".replace(/^/,\"re\"))(moduleName); // eslint-disable-line no-eval\r\n if (mod && (mod.length || Object.keys(mod).length))\r\n return mod;\r\n } catch (e) {} // eslint-disable-line no-empty\r\n return null;\r\n}\r\n", "\"use strict\";\r\n\r\n/**\r\n * A minimal UTF8 implementation for number arrays.\r\n * @memberof util\r\n * @namespace\r\n */\r\nvar utf8 = exports;\r\n\r\n/**\r\n * Calculates the UTF8 byte length of a string.\r\n * @param {string} string String\r\n * @returns {number} Byte length\r\n */\r\nutf8.length = function utf8_length(string) {\r\n var len = 0,\r\n c = 0;\r\n for (var i = 0; i < string.length; ++i) {\r\n c = string.charCodeAt(i);\r\n if (c < 128)\r\n len += 1;\r\n else if (c < 2048)\r\n len += 2;\r\n else if ((c & 0xFC00) === 0xD800 && (string.charCodeAt(i + 1) & 0xFC00) === 0xDC00) {\r\n ++i;\r\n len += 4;\r\n } else\r\n len += 3;\r\n }\r\n return len;\r\n};\r\n\r\n/**\r\n * Reads UTF8 bytes as a string.\r\n * @param {Uint8Array} buffer Source buffer\r\n * @param {number} start Source start\r\n * @param {number} end Source end\r\n * @returns {string} String read\r\n */\r\nutf8.read = function utf8_read(buffer, start, end) {\r\n var len = end - start;\r\n if (len < 1)\r\n return \"\";\r\n var parts = null,\r\n chunk = [],\r\n i = 0, // char offset\r\n t; // temporary\r\n while (start < end) {\r\n t = buffer[start++];\r\n if (t < 128)\r\n chunk[i++] = t;\r\n else if (t > 191 && t < 224)\r\n chunk[i++] = (t & 31) << 6 | buffer[start++] & 63;\r\n else if (t > 239 && t < 365) {\r\n t = ((t & 7) << 18 | (buffer[start++] & 63) << 12 | (buffer[start++] & 63) << 6 | buffer[start++] & 63) - 0x10000;\r\n chunk[i++] = 0xD800 + (t >> 10);\r\n chunk[i++] = 0xDC00 + (t & 1023);\r\n } else\r\n chunk[i++] = (t & 15) << 12 | (buffer[start++] & 63) << 6 | buffer[start++] & 63;\r\n if (i > 8191) {\r\n (parts || (parts = [])).push(String.fromCharCode.apply(String, chunk));\r\n i = 0;\r\n }\r\n }\r\n if (parts) {\r\n if (i)\r\n parts.push(String.fromCharCode.apply(String, chunk.slice(0, i)));\r\n return parts.join(\"\");\r\n }\r\n return String.fromCharCode.apply(String, chunk.slice(0, i));\r\n};\r\n\r\n/**\r\n * Writes a string as UTF8 bytes.\r\n * @param {string} string Source string\r\n * @param {Uint8Array} buffer Destination buffer\r\n * @param {number} offset Destination offset\r\n * @returns {number} Bytes written\r\n */\r\nutf8.write = function utf8_write(string, buffer, offset) {\r\n var start = offset,\r\n c1, // character 1\r\n c2; // character 2\r\n for (var i = 0; i < string.length; ++i) {\r\n c1 = string.charCodeAt(i);\r\n if (c1 < 128) {\r\n buffer[offset++] = c1;\r\n } else if (c1 < 2048) {\r\n buffer[offset++] = c1 >> 6 | 192;\r\n buffer[offset++] = c1 & 63 | 128;\r\n } else if ((c1 & 0xFC00) === 0xD800 && ((c2 = string.charCodeAt(i + 1)) & 0xFC00) === 0xDC00) {\r\n c1 = 0x10000 + ((c1 & 0x03FF) << 10) + (c2 & 0x03FF);\r\n ++i;\r\n buffer[offset++] = c1 >> 18 | 240;\r\n buffer[offset++] = c1 >> 12 & 63 | 128;\r\n buffer[offset++] = c1 >> 6 & 63 | 128;\r\n buffer[offset++] = c1 & 63 | 128;\r\n } else {\r\n buffer[offset++] = c1 >> 12 | 224;\r\n buffer[offset++] = c1 >> 6 & 63 | 128;\r\n buffer[offset++] = c1 & 63 | 128;\r\n }\r\n }\r\n return offset - start;\r\n};\r\n", "\"use strict\";\r\nmodule.exports = pool;\r\n\r\n/**\r\n * An allocator as used by {@link util.pool}.\r\n * @typedef PoolAllocator\r\n * @type {function}\r\n * @param {number} size Buffer size\r\n * @returns {Uint8Array} Buffer\r\n */\r\n\r\n/**\r\n * A slicer as used by {@link util.pool}.\r\n * @typedef PoolSlicer\r\n * @type {function}\r\n * @param {number} start Start offset\r\n * @param {number} end End offset\r\n * @returns {Uint8Array} Buffer slice\r\n * @this {Uint8Array}\r\n */\r\n\r\n/**\r\n * A general purpose buffer pool.\r\n * @memberof util\r\n * @function\r\n * @param {PoolAllocator} alloc Allocator\r\n * @param {PoolSlicer} slice Slicer\r\n * @param {number} [size=8192] Slab size\r\n * @returns {PoolAllocator} Pooled allocator\r\n */\r\nfunction pool(alloc, slice, size) {\r\n var SIZE = size || 8192;\r\n var MAX = SIZE >>> 1;\r\n var slab = null;\r\n var offset = SIZE;\r\n return function pool_alloc(size) {\r\n if (size < 1 || size > MAX)\r\n return alloc(size);\r\n if (offset + size > SIZE) {\r\n slab = alloc(SIZE);\r\n offset = 0;\r\n }\r\n var buf = slice.call(slab, offset, offset += size);\r\n if (offset & 7) // align to 32 bit\r\n offset = (offset | 7) + 1;\r\n return buf;\r\n };\r\n}\r\n", "\"use strict\";\r\nmodule.exports = LongBits;\r\n\r\nvar util = require(\"../util/minimal\");\r\n\r\n/**\r\n * Constructs new long bits.\r\n * @classdesc Helper class for working with the low and high bits of a 64 bit value.\r\n * @memberof util\r\n * @constructor\r\n * @param {number} lo Low 32 bits, unsigned\r\n * @param {number} hi High 32 bits, unsigned\r\n */\r\nfunction LongBits(lo, hi) {\r\n\r\n // note that the casts below are theoretically unnecessary as of today, but older statically\r\n // generated converter code might still call the ctor with signed 32bits. kept for compat.\r\n\r\n /**\r\n * Low bits.\r\n * @type {number}\r\n */\r\n this.lo = lo >>> 0;\r\n\r\n /**\r\n * High bits.\r\n * @type {number}\r\n */\r\n this.hi = hi >>> 0;\r\n}\r\n\r\n/**\r\n * Zero bits.\r\n * @memberof util.LongBits\r\n * @type {util.LongBits}\r\n */\r\nvar zero = LongBits.zero = new LongBits(0, 0);\r\n\r\nzero.toNumber = function() { return 0; };\r\nzero.zzEncode = zero.zzDecode = function() { return this; };\r\nzero.length = function() { return 1; };\r\n\r\n/**\r\n * Zero hash.\r\n * @memberof util.LongBits\r\n * @type {string}\r\n */\r\nvar zeroHash = LongBits.zeroHash = \"\\0\\0\\0\\0\\0\\0\\0\\0\";\r\n\r\n/**\r\n * Constructs new long bits from the specified number.\r\n * @param {number} value Value\r\n * @returns {util.LongBits} Instance\r\n */\r\nLongBits.fromNumber = function fromNumber(value) {\r\n if (value === 0)\r\n return zero;\r\n var sign = value < 0;\r\n if (sign)\r\n value = -value;\r\n var lo = value >>> 0,\r\n hi = (value - lo) / 4294967296 >>> 0;\r\n if (sign) {\r\n hi = ~hi >>> 0;\r\n lo = ~lo >>> 0;\r\n if (++lo > 4294967295) {\r\n lo = 0;\r\n if (++hi > 4294967295)\r\n hi = 0;\r\n }\r\n }\r\n return new LongBits(lo, hi);\r\n};\r\n\r\n/**\r\n * Constructs new long bits from a number, long or string.\r\n * @param {Long|number|string} value Value\r\n * @returns {util.LongBits} Instance\r\n */\r\nLongBits.from = function from(value) {\r\n if (typeof value === \"number\")\r\n return LongBits.fromNumber(value);\r\n if (util.isString(value)) {\r\n /* istanbul ignore else */\r\n if (util.Long)\r\n value = util.Long.fromString(value);\r\n else\r\n return LongBits.fromNumber(parseInt(value, 10));\r\n }\r\n return value.low || value.high ? new LongBits(value.low >>> 0, value.high >>> 0) : zero;\r\n};\r\n\r\n/**\r\n * Converts this long bits to a possibly unsafe JavaScript number.\r\n * @param {boolean} [unsigned=false] Whether unsigned or not\r\n * @returns {number} Possibly unsafe number\r\n */\r\nLongBits.prototype.toNumber = function toNumber(unsigned) {\r\n if (!unsigned && this.hi >>> 31) {\r\n var lo = ~this.lo + 1 >>> 0,\r\n hi = ~this.hi >>> 0;\r\n if (!lo)\r\n hi = hi + 1 >>> 0;\r\n return -(lo + hi * 4294967296);\r\n }\r\n return this.lo + this.hi * 4294967296;\r\n};\r\n\r\n/**\r\n * Converts this long bits to a long.\r\n * @param {boolean} [unsigned=false] Whether unsigned or not\r\n * @returns {Long} Long\r\n */\r\nLongBits.prototype.toLong = function toLong(unsigned) {\r\n return util.Long\r\n ? new util.Long(this.lo | 0, this.hi | 0, Boolean(unsigned))\r\n /* istanbul ignore next */\r\n : { low: this.lo | 0, high: this.hi | 0, unsigned: Boolean(unsigned) };\r\n};\r\n\r\nvar charCodeAt = String.prototype.charCodeAt;\r\n\r\n/**\r\n * Constructs new long bits from the specified 8 characters long hash.\r\n * @param {string} hash Hash\r\n * @returns {util.LongBits} Bits\r\n */\r\nLongBits.fromHash = function fromHash(hash) {\r\n if (hash === zeroHash)\r\n return zero;\r\n return new LongBits(\r\n ( charCodeAt.call(hash, 0)\r\n | charCodeAt.call(hash, 1) << 8\r\n | charCodeAt.call(hash, 2) << 16\r\n | charCodeAt.call(hash, 3) << 24) >>> 0\r\n ,\r\n ( charCodeAt.call(hash, 4)\r\n | charCodeAt.call(hash, 5) << 8\r\n | charCodeAt.call(hash, 6) << 16\r\n | charCodeAt.call(hash, 7) << 24) >>> 0\r\n );\r\n};\r\n\r\n/**\r\n * Converts this long bits to a 8 characters long hash.\r\n * @returns {string} Hash\r\n */\r\nLongBits.prototype.toHash = function toHash() {\r\n return String.fromCharCode(\r\n this.lo & 255,\r\n this.lo >>> 8 & 255,\r\n this.lo >>> 16 & 255,\r\n this.lo >>> 24 ,\r\n this.hi & 255,\r\n this.hi >>> 8 & 255,\r\n this.hi >>> 16 & 255,\r\n this.hi >>> 24\r\n );\r\n};\r\n\r\n/**\r\n * Zig-zag encodes this long bits.\r\n * @returns {util.LongBits} `this`\r\n */\r\nLongBits.prototype.zzEncode = function zzEncode() {\r\n var mask = this.hi >> 31;\r\n this.hi = ((this.hi << 1 | this.lo >>> 31) ^ mask) >>> 0;\r\n this.lo = ( this.lo << 1 ^ mask) >>> 0;\r\n return this;\r\n};\r\n\r\n/**\r\n * Zig-zag decodes this long bits.\r\n * @returns {util.LongBits} `this`\r\n */\r\nLongBits.prototype.zzDecode = function zzDecode() {\r\n var mask = -(this.lo & 1);\r\n this.lo = ((this.lo >>> 1 | this.hi << 31) ^ mask) >>> 0;\r\n this.hi = ( this.hi >>> 1 ^ mask) >>> 0;\r\n return this;\r\n};\r\n\r\n/**\r\n * Calculates the length of this longbits when encoded as a varint.\r\n * @returns {number} Length\r\n */\r\nLongBits.prototype.length = function length() {\r\n var part0 = this.lo,\r\n part1 = (this.lo >>> 28 | this.hi << 4) >>> 0,\r\n part2 = this.hi >>> 24;\r\n return part2 === 0\r\n ? part1 === 0\r\n ? part0 < 16384\r\n ? part0 < 128 ? 1 : 2\r\n : part0 < 2097152 ? 3 : 4\r\n : part1 < 16384\r\n ? part1 < 128 ? 5 : 6\r\n : part1 < 2097152 ? 7 : 8\r\n : part2 < 128 ? 9 : 10;\r\n};\r\n", "\"use strict\";\r\nvar util = exports;\r\n\r\n// used to return a Promise where callback is omitted\r\nutil.asPromise = require(\"@protobufjs/aspromise\");\r\n\r\n// converts to / from base64 encoded strings\r\nutil.base64 = require(\"@protobufjs/base64\");\r\n\r\n// base class of rpc.Service\r\nutil.EventEmitter = require(\"@protobufjs/eventemitter\");\r\n\r\n// float handling accross browsers\r\nutil.float = require(\"@protobufjs/float\");\r\n\r\n// requires modules optionally and hides the call from bundlers\r\nutil.inquire = require(\"@protobufjs/inquire\");\r\n\r\n// converts to / from utf8 encoded strings\r\nutil.utf8 = require(\"@protobufjs/utf8\");\r\n\r\n// provides a node-like buffer pool in the browser\r\nutil.pool = require(\"@protobufjs/pool\");\r\n\r\n// utility to work with the low and high bits of a 64 bit value\r\nutil.LongBits = require(\"./longbits\");\r\n\r\n/**\r\n * Whether running within node or not.\r\n * @memberof util\r\n * @type {boolean}\r\n */\r\nutil.isNode = Boolean(typeof global !== \"undefined\"\r\n && global\r\n && global.process\r\n && global.process.versions\r\n && global.process.versions.node);\r\n\r\n/**\r\n * Global object reference.\r\n * @memberof util\r\n * @type {Object}\r\n */\r\nutil.global = util.isNode && global\r\n || typeof window !== \"undefined\" && window\r\n || typeof self !== \"undefined\" && self\r\n || this; // eslint-disable-line no-invalid-this\r\n\r\n/**\r\n * An immuable empty array.\r\n * @memberof util\r\n * @type {Array.<*>}\r\n * @const\r\n */\r\nutil.emptyArray = Object.freeze ? Object.freeze([]) : /* istanbul ignore next */ []; // used on prototypes\r\n\r\n/**\r\n * An immutable empty object.\r\n * @type {Object}\r\n * @const\r\n */\r\nutil.emptyObject = Object.freeze ? Object.freeze({}) : /* istanbul ignore next */ {}; // used on prototypes\r\n\r\n/**\r\n * Tests if the specified value is an integer.\r\n * @function\r\n * @param {*} value Value to test\r\n * @returns {boolean} `true` if the value is an integer\r\n */\r\nutil.isInteger = Number.isInteger || /* istanbul ignore next */ function isInteger(value) {\r\n return typeof value === \"number\" && isFinite(value) && Math.floor(value) === value;\r\n};\r\n\r\n/**\r\n * Tests if the specified value is a string.\r\n * @param {*} value Value to test\r\n * @returns {boolean} `true` if the value is a string\r\n */\r\nutil.isString = function isString(value) {\r\n return typeof value === \"string\" || value instanceof String;\r\n};\r\n\r\n/**\r\n * Tests if the specified value is a non-null object.\r\n * @param {*} value Value to test\r\n * @returns {boolean} `true` if the value is a non-null object\r\n */\r\nutil.isObject = function isObject(value) {\r\n return value && typeof value === \"object\";\r\n};\r\n\r\n/**\r\n * Checks if a property on a message is considered to be present.\r\n * This is an alias of {@link util.isSet}.\r\n * @function\r\n * @param {Object} obj Plain object or message instance\r\n * @param {string} prop Property name\r\n * @returns {boolean} `true` if considered to be present, otherwise `false`\r\n */\r\nutil.isset =\r\n\r\n/**\r\n * Checks if a property on a message is considered to be present.\r\n * @param {Object} obj Plain object or message instance\r\n * @param {string} prop Property name\r\n * @returns {boolean} `true` if considered to be present, otherwise `false`\r\n */\r\nutil.isSet = function isSet(obj, prop) {\r\n var value = obj[prop];\r\n if (value != null && obj.hasOwnProperty(prop)) // eslint-disable-line eqeqeq, no-prototype-builtins\r\n return typeof value !== \"object\" || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0;\r\n return false;\r\n};\r\n\r\n/**\r\n * Any compatible Buffer instance.\r\n * This is a minimal stand-alone definition of a Buffer instance. The actual type is that exported by node's typings.\r\n * @interface Buffer\r\n * @extends Uint8Array\r\n */\r\n\r\n/**\r\n * Node's Buffer class if available.\r\n * @type {Constructor<Buffer>}\r\n */\r\nutil.Buffer = (function() {\r\n try {\r\n var Buffer = util.inquire(\"buffer\").Buffer;\r\n // refuse to use non-node buffers if not explicitly assigned (perf reasons):\r\n return Buffer.prototype.utf8Write ? Buffer : /* istanbul ignore next */ null;\r\n } catch (e) {\r\n /* istanbul ignore next */\r\n return null;\r\n }\r\n})();\r\n\r\n// Internal alias of or polyfull for Buffer.from.\r\nutil._Buffer_from = null;\r\n\r\n// Internal alias of or polyfill for Buffer.allocUnsafe.\r\nutil._Buffer_allocUnsafe = null;\r\n\r\n/**\r\n * Creates a new buffer of whatever type supported by the environment.\r\n * @param {number|number[]} [sizeOrArray=0] Buffer size or number array\r\n * @returns {Uint8Array|Buffer} Buffer\r\n */\r\nutil.newBuffer = function newBuffer(sizeOrArray) {\r\n /* istanbul ignore next */\r\n return typeof sizeOrArray === \"number\"\r\n ? util.Buffer\r\n ? util._Buffer_allocUnsafe(sizeOrArray)\r\n : new util.Array(sizeOrArray)\r\n : util.Buffer\r\n ? util._Buffer_from(sizeOrArray)\r\n : typeof Uint8Array === \"undefined\"\r\n ? sizeOrArray\r\n : new Uint8Array(sizeOrArray);\r\n};\r\n\r\n/**\r\n * Array implementation used in the browser. `Uint8Array` if supported, otherwise `Array`.\r\n * @type {Constructor<Uint8Array>}\r\n */\r\nutil.Array = typeof Uint8Array !== \"undefined\" ? Uint8Array /* istanbul ignore next */ : Array;\r\n\r\n/**\r\n * Any compatible Long instance.\r\n * This is a minimal stand-alone definition of a Long instance. The actual type is that exported by long.js.\r\n * @interface Long\r\n * @property {number} low Low bits\r\n * @property {number} high High bits\r\n * @property {boolean} unsigned Whether unsigned or not\r\n */\r\n\r\n/**\r\n * Long.js's Long class if available.\r\n * @type {Constructor<Long>}\r\n */\r\nutil.Long = /* istanbul ignore next */ util.global.dcodeIO && /* istanbul ignore next */ util.global.dcodeIO.Long\r\n || /* istanbul ignore next */ util.global.Long\r\n || util.inquire(\"long\");\r\n\r\n/**\r\n * Regular expression used to verify 2 bit (`bool`) map keys.\r\n * @type {RegExp}\r\n * @const\r\n */\r\nutil.key2Re = /^true|false|0|1$/;\r\n\r\n/**\r\n * Regular expression used to verify 32 bit (`int32` etc.) map keys.\r\n * @type {RegExp}\r\n * @const\r\n */\r\nutil.key32Re = /^-?(?:0|[1-9][0-9]*)$/;\r\n\r\n/**\r\n * Regular expression used to verify 64 bit (`int64` etc.) map keys.\r\n * @type {RegExp}\r\n * @const\r\n */\r\nutil.key64Re = /^(?:[\\\\x00-\\\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;\r\n\r\n/**\r\n * Converts a number or long to an 8 characters long hash string.\r\n * @param {Long|number} value Value to convert\r\n * @returns {string} Hash\r\n */\r\nutil.longToHash = function longToHash(value) {\r\n return value\r\n ? util.LongBits.from(value).toHash()\r\n : util.LongBits.zeroHash;\r\n};\r\n\r\n/**\r\n * Converts an 8 characters long hash string to a long or number.\r\n * @param {string} hash Hash\r\n * @param {boolean} [unsigned=false] Whether unsigned or not\r\n * @returns {Long|number} Original value\r\n */\r\nutil.longFromHash = function longFromHash(hash, unsigned) {\r\n var bits = util.LongBits.fromHash(hash);\r\n if (util.Long)\r\n return util.Long.fromBits(bits.lo, bits.hi, unsigned);\r\n return bits.toNumber(Boolean(unsigned));\r\n};\r\n\r\n/**\r\n * Merges the properties of the source object into the destination object.\r\n * @memberof util\r\n * @param {Object.<string,*>} dst Destination object\r\n * @param {Object.<string,*>} src Source object\r\n * @param {boolean} [ifNotSet=false] Merges only if the key is not already set\r\n * @returns {Object.<string,*>} Destination object\r\n */\r\nfunction merge(dst, src, ifNotSet) { // used by converters\r\n for (var keys = Object.keys(src), i = 0; i < keys.length; ++i)\r\n if (dst[keys[i]] === undefined || !ifNotSet)\r\n dst[keys[i]] = src[keys[i]];\r\n return dst;\r\n}\r\n\r\nutil.merge = merge;\r\n\r\n/**\r\n * Converts the first character of a string to lower case.\r\n * @param {string} str String to convert\r\n * @returns {string} Converted string\r\n */\r\nutil.lcFirst = function lcFirst(str) {\r\n return str.charAt(0).toLowerCase() + str.substring(1);\r\n};\r\n\r\n/**\r\n * Creates a custom error constructor.\r\n * @memberof util\r\n * @param {string} name Error name\r\n * @returns {Constructor<Error>} Custom error constructor\r\n */\r\nfunction newError(name) {\r\n\r\n function CustomError(message, properties) {\r\n\r\n if (!(this instanceof CustomError))\r\n return new CustomError(message, properties);\r\n\r\n // Error.call(this, message);\r\n // ^ just returns a new error instance because the ctor can be called as a function\r\n\r\n Object.defineProperty(this, \"message\", { get: function() { return message; } });\r\n\r\n /* istanbul ignore next */\r\n if (Error.captureStackTrace) // node\r\n Error.captureStackTrace(this, CustomError);\r\n else\r\n Object.defineProperty(this, \"stack\", { value: new Error().stack || \"\" });\r\n\r\n if (properties)\r\n merge(this, properties);\r\n }\r\n\r\n CustomError.prototype = Object.create(Error.prototype, {\r\n constructor: {\r\n value: CustomError,\r\n writable: true,\r\n enumerable: false,\r\n configurable: true,\r\n },\r\n name: {\r\n get: function get() { return name; },\r\n set: undefined,\r\n enumerable: false,\r\n // configurable: false would accurately preserve the behavior of\r\n // the original, but I'm guessing that was not intentional.\r\n // For an actual error subclass, this property would\r\n // be configurable.\r\n configurable: true,\r\n },\r\n toString: {\r\n value: function value() { return this.name + \": \" + this.message; },\r\n writable: true,\r\n enumerable: false,\r\n configurable: true,\r\n },\r\n });\r\n\r\n return CustomError;\r\n}\r\n\r\nutil.newError = newError;\r\n\r\n/**\r\n * Constructs a new protocol error.\r\n * @classdesc Error subclass indicating a protocol specifc error.\r\n * @memberof util\r\n * @extends Error\r\n * @template T extends Message<T>\r\n * @constructor\r\n * @param {string} message Error message\r\n * @param {Object.<string,*>} [properties] Additional properties\r\n * @example\r\n * try {\r\n * MyMessage.decode(someBuffer); // throws if required fields are missing\r\n * } catch (e) {\r\n * if (e instanceof ProtocolError && e.instance)\r\n * console.log(\"decoded so far: \" + JSON.stringify(e.instance));\r\n * }\r\n */\r\nutil.ProtocolError = newError(\"ProtocolError\");\r\n\r\n/**\r\n * So far decoded message instance.\r\n * @name util.ProtocolError#instance\r\n * @type {Message<T>}\r\n */\r\n\r\n/**\r\n * A OneOf getter as returned by {@link util.oneOfGetter}.\r\n * @typedef OneOfGetter\r\n * @type {function}\r\n * @returns {string|undefined} Set field name, if any\r\n */\r\n\r\n/**\r\n * Builds a getter for a oneof's present field name.\r\n * @param {string[]} fieldNames Field names\r\n * @returns {OneOfGetter} Unbound getter\r\n */\r\nutil.oneOfGetter = function getOneOf(fieldNames) {\r\n var fieldMap = {};\r\n for (var i = 0; i < fieldNames.length; ++i)\r\n fieldMap[fieldNames[i]] = 1;\r\n\r\n /**\r\n * @returns {string|undefined} Set field name, if any\r\n * @this Object\r\n * @ignore\r\n */\r\n return function() { // eslint-disable-line consistent-return\r\n for (var keys = Object.keys(this), i = keys.length - 1; i > -1; --i)\r\n if (fieldMap[keys[i]] === 1 && this[keys[i]] !== undefined && this[keys[i]] !== null)\r\n return keys[i];\r\n };\r\n};\r\n\r\n/**\r\n * A OneOf setter as returned by {@link util.oneOfSetter}.\r\n * @typedef OneOfSetter\r\n * @type {function}\r\n * @param {string|undefined} value Field name\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Builds a setter for a oneof's present field name.\r\n * @param {string[]} fieldNames Field names\r\n * @returns {OneOfSetter} Unbound setter\r\n */\r\nutil.oneOfSetter = function setOneOf(fieldNames) {\r\n\r\n /**\r\n * @param {string} name Field name\r\n * @returns {undefined}\r\n * @this Object\r\n * @ignore\r\n */\r\n return function(name) {\r\n for (var i = 0; i < fieldNames.length; ++i)\r\n if (fieldNames[i] !== name)\r\n delete this[fieldNames[i]];\r\n };\r\n};\r\n\r\n/**\r\n * Default conversion options used for {@link Message#toJSON} implementations.\r\n *\r\n * These options are close to proto3's JSON mapping with the exception that internal types like Any are handled just like messages. More precisely:\r\n *\r\n * - Longs become strings\r\n * - Enums become string keys\r\n * - Bytes become base64 encoded strings\r\n * - (Sub-)Messages become plain objects\r\n * - Maps become plain objects with all string keys\r\n * - Repeated fields become arrays\r\n * - NaN and Infinity for float and double fields become strings\r\n *\r\n * @type {IConversionOptions}\r\n * @see https://developers.google.com/protocol-buffers/docs/proto3?hl=en#json\r\n */\r\nutil.toJSONOptions = {\r\n longs: String,\r\n enums: String,\r\n bytes: String,\r\n json: true\r\n};\r\n\r\n// Sets up buffer utility according to the environment (called in index-minimal)\r\nutil._configure = function() {\r\n var Buffer = util.Buffer;\r\n /* istanbul ignore if */\r\n if (!Buffer) {\r\n util._Buffer_from = util._Buffer_allocUnsafe = null;\r\n return;\r\n }\r\n // because node 4.x buffers are incompatible & immutable\r\n // see: https://github.com/dcodeIO/protobuf.js/pull/665\r\n util._Buffer_from = Buffer.from !== Uint8Array.from && Buffer.from ||\r\n /* istanbul ignore next */\r\n function Buffer_from(value, encoding) {\r\n return new Buffer(value, encoding);\r\n };\r\n util._Buffer_allocUnsafe = Buffer.allocUnsafe ||\r\n /* istanbul ignore next */\r\n function Buffer_allocUnsafe(size) {\r\n return new Buffer(size);\r\n };\r\n};\r\n", "\"use strict\";\r\nmodule.exports = Writer;\r\n\r\nvar util = require(\"./util/minimal\");\r\n\r\nvar BufferWriter; // cyclic\r\n\r\nvar LongBits = util.LongBits,\r\n base64 = util.base64,\r\n utf8 = util.utf8;\r\n\r\n/**\r\n * Constructs a new writer operation instance.\r\n * @classdesc Scheduled writer operation.\r\n * @constructor\r\n * @param {function(*, Uint8Array, number)} fn Function to call\r\n * @param {number} len Value byte length\r\n * @param {*} val Value to write\r\n * @ignore\r\n */\r\nfunction Op(fn, len, val) {\r\n\r\n /**\r\n * Function to call.\r\n * @type {function(Uint8Array, number, *)}\r\n */\r\n this.fn = fn;\r\n\r\n /**\r\n * Value byte length.\r\n * @type {number}\r\n */\r\n this.len = len;\r\n\r\n /**\r\n * Next operation.\r\n * @type {Writer.Op|undefined}\r\n */\r\n this.next = undefined;\r\n\r\n /**\r\n * Value to write.\r\n * @type {*}\r\n */\r\n this.val = val; // type varies\r\n}\r\n\r\n/* istanbul ignore next */\r\nfunction noop() {} // eslint-disable-line no-empty-function\r\n\r\n/**\r\n * Constructs a new writer state instance.\r\n * @classdesc Copied writer state.\r\n * @memberof Writer\r\n * @constructor\r\n * @param {Writer} writer Writer to copy state from\r\n * @ignore\r\n */\r\nfunction State(writer) {\r\n\r\n /**\r\n * Current head.\r\n * @type {Writer.Op}\r\n */\r\n this.head = writer.head;\r\n\r\n /**\r\n * Current tail.\r\n * @type {Writer.Op}\r\n */\r\n this.tail = writer.tail;\r\n\r\n /**\r\n * Current buffer length.\r\n * @type {number}\r\n */\r\n this.len = writer.len;\r\n\r\n /**\r\n * Next state.\r\n * @type {State|null}\r\n */\r\n this.next = writer.states;\r\n}\r\n\r\n/**\r\n * Constructs a new writer instance.\r\n * @classdesc Wire format writer using `Uint8Array` if available, otherwise `Array`.\r\n * @constructor\r\n */\r\nfunction Writer() {\r\n\r\n /**\r\n * Current length.\r\n * @type {number}\r\n */\r\n this.len = 0;\r\n\r\n /**\r\n * Operations head.\r\n * @type {Object}\r\n */\r\n this.head = new Op(noop, 0, 0);\r\n\r\n /**\r\n * Operations tail\r\n * @type {Object}\r\n */\r\n this.tail = this.head;\r\n\r\n /**\r\n * Linked forked states.\r\n * @type {Object|null}\r\n */\r\n this.states = null;\r\n\r\n // When a value is written, the writer calculates its byte length and puts it into a linked\r\n // list of operations to perform when finish() is called. This both allows us to allocate\r\n // buffers of the exact required size and reduces the amount of work we have to do compared\r\n // to first calculating over objects and then encoding over objects. In our case, the encoding\r\n // part is just a linked list walk calling operations with already prepared values.\r\n}\r\n\r\nvar create = function create() {\r\n return util.Buffer\r\n ? function create_buffer_setup() {\r\n return (Writer.create = function create_buffer() {\r\n return new BufferWriter();\r\n })();\r\n }\r\n /* istanbul ignore next */\r\n : function create_array() {\r\n return new Writer();\r\n };\r\n};\r\n\r\n/**\r\n * Creates a new writer.\r\n * @function\r\n * @returns {BufferWriter|Writer} A {@link BufferWriter} when Buffers are supported, otherwise a {@link Writer}\r\n */\r\nWriter.create = create();\r\n\r\n/**\r\n * Allocates a buffer of the specified size.\r\n * @param {number} size Buffer size\r\n * @returns {Uint8Array} Buffer\r\n */\r\nWriter.alloc = function alloc(size) {\r\n return new util.Array(size);\r\n};\r\n\r\n// Use Uint8Array buffer pool in the browser, just like node does with buffers\r\n/* istanbul ignore else */\r\nif (util.Array !== Array)\r\n Writer.alloc = util.pool(Writer.alloc, util.Array.prototype.subarray);\r\n\r\n/**\r\n * Pushes a new operation to the queue.\r\n * @param {function(Uint8Array, number, *)} fn Function to call\r\n * @param {number} len Value byte length\r\n * @param {number} val Value to write\r\n * @returns {Writer} `this`\r\n * @private\r\n */\r\nWriter.prototype._push = function push(fn, len, val) {\r\n this.tail = this.tail.next = new Op(fn, len, val);\r\n this.len += len;\r\n return this;\r\n};\r\n\r\nfunction writeByte(val, buf, pos) {\r\n buf[pos] = val & 255;\r\n}\r\n\r\nfunction writeVarint32(val, buf, pos) {\r\n while (val > 127) {\r\n buf[pos++] = val & 127 | 128;\r\n val >>>= 7;\r\n }\r\n buf[pos] = val;\r\n}\r\n\r\n/**\r\n * Constructs a new varint writer operation instance.\r\n * @classdesc Scheduled varint writer operation.\r\n * @extends Op\r\n * @constructor\r\n * @param {number} len Value byte length\r\n * @param {number} val Value to write\r\n * @ignore\r\n */\r\nfunction VarintOp(len, val) {\r\n this.len = len;\r\n this.next = undefined;\r\n this.val = val;\r\n}\r\n\r\nVarintOp.prototype = Object.create(Op.prototype);\r\nVarintOp.prototype.fn = writeVarint32;\r\n\r\n/**\r\n * Writes an unsigned 32 bit value as a varint.\r\n * @param {number} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.uint32 = function write_uint32(value) {\r\n // here, the call to this.push has been inlined and a varint specific Op subclass is used.\r\n // uint32 is by far the most frequently used operation and benefits significantly from this.\r\n this.len += (this.tail = this.tail.next = new VarintOp(\r\n (value = value >>> 0)\r\n < 128 ? 1\r\n : value < 16384 ? 2\r\n : value < 2097152 ? 3\r\n : value < 268435456 ? 4\r\n : 5,\r\n value)).len;\r\n return this;\r\n};\r\n\r\n/**\r\n * Writes a signed 32 bit value as a varint.\r\n * @function\r\n * @param {number} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.int32 = function write_int32(value) {\r\n return value < 0\r\n ? this._push(writeVarint64, 10, LongBits.fromNumber(value)) // 10 bytes per spec\r\n : this.uint32(value);\r\n};\r\n\r\n/**\r\n * Writes a 32 bit value as a varint, zig-zag encoded.\r\n * @param {number} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.sint32 = function write_sint32(value) {\r\n return this.uint32((value << 1 ^ value >> 31) >>> 0);\r\n};\r\n\r\nfunction writeVarint64(val, buf, pos) {\r\n while (val.hi) {\r\n buf[pos++] = val.lo & 127 | 128;\r\n val.lo = (val.lo >>> 7 | val.hi << 25) >>> 0;\r\n val.hi >>>= 7;\r\n }\r\n while (val.lo > 127) {\r\n buf[pos++] = val.lo & 127 | 128;\r\n val.lo = val.lo >>> 7;\r\n }\r\n buf[pos++] = val.lo;\r\n}\r\n\r\n/**\r\n * Writes an unsigned 64 bit value as a varint.\r\n * @param {Long|number|string} value Value to write\r\n * @returns {Writer} `this`\r\n * @throws {TypeError} If `value` is a string and no long library is present.\r\n */\r\nWriter.prototype.uint64 = function write_uint64(value) {\r\n var bits = LongBits.from(value);\r\n return this._push(writeVarint64, bits.length(), bits);\r\n};\r\n\r\n/**\r\n * Writes a signed 64 bit value as a varint.\r\n * @function\r\n * @param {Long|number|string} value Value to write\r\n * @returns {Writer} `this`\r\n * @throws {TypeError} If `value` is a string and no long library is present.\r\n */\r\nWriter.prototype.int64 = Writer.prototype.uint64;\r\n\r\n/**\r\n * Writes a signed 64 bit value as a varint, zig-zag encoded.\r\n * @param {Long|number|string} value Value to write\r\n * @returns {Writer} `this`\r\n * @throws {TypeError} If `value` is a string and no long library is present.\r\n */\r\nWriter.prototype.sint64 = function write_sint64(value) {\r\n var bits = LongBits.from(value).zzEncode();\r\n return this._push(writeVarint64, bits.length(), bits);\r\n};\r\n\r\n/**\r\n * Writes a boolish value as a varint.\r\n * @param {boolean} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.bool = function write_bool(value) {\r\n return this._push(writeByte, 1, value ? 1 : 0);\r\n};\r\n\r\nfunction writeFixed32(val, buf, pos) {\r\n buf[pos ] = val & 255;\r\n buf[pos + 1] = val >>> 8 & 255;\r\n buf[pos + 2] = val >>> 16 & 255;\r\n buf[pos + 3] = val >>> 24;\r\n}\r\n\r\n/**\r\n * Writes an unsigned 32 bit value as fixed 32 bits.\r\n * @param {number} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.fixed32 = function write_fixed32(value) {\r\n return this._push(writeFixed32, 4, value >>> 0);\r\n};\r\n\r\n/**\r\n * Writes a signed 32 bit value as fixed 32 bits.\r\n * @function\r\n * @param {number} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.sfixed32 = Writer.prototype.fixed32;\r\n\r\n/**\r\n * Writes an unsigned 64 bit value as fixed 64 bits.\r\n * @param {Long|number|string} value Value to write\r\n * @returns {Writer} `this`\r\n * @throws {TypeError} If `value` is a string and no long library is present.\r\n */\r\nWriter.prototype.fixed64 = function write_fixed64(value) {\r\n var bits = LongBits.from(value);\r\n return this._push(writeFixed32, 4, bits.lo)._push(writeFixed32, 4, bits.hi);\r\n};\r\n\r\n/**\r\n * Writes a signed 64 bit value as fixed 64 bits.\r\n * @function\r\n * @param {Long|number|string} value Value to write\r\n * @returns {Writer} `this`\r\n * @throws {TypeError} If `value` is a string and no long library is present.\r\n */\r\nWriter.prototype.sfixed64 = Writer.prototype.fixed64;\r\n\r\n/**\r\n * Writes a float (32 bit).\r\n * @function\r\n * @param {number} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.float = function write_float(value) {\r\n return this._push(util.float.writeFloatLE, 4, value);\r\n};\r\n\r\n/**\r\n * Writes a double (64 bit float).\r\n * @function\r\n * @param {number} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.double = function write_double(value) {\r\n return this._push(util.float.writeDoubleLE, 8, value);\r\n};\r\n\r\nvar writeBytes = util.Array.prototype.set\r\n ? function writeBytes_set(val, buf, pos) {\r\n buf.set(val, pos); // also works for plain array values\r\n }\r\n /* istanbul ignore next */\r\n : function writeBytes_for(val, buf, pos) {\r\n for (var i = 0; i < val.length; ++i)\r\n buf[pos + i] = val[i];\r\n };\r\n\r\n/**\r\n * Writes a sequence of bytes.\r\n * @param {Uint8Array|string} value Buffer or base64 encoded string to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.bytes = function write_bytes(value) {\r\n var len = value.length >>> 0;\r\n if (!len)\r\n return this._push(writeByte, 1, 0);\r\n if (util.isString(value)) {\r\n var buf = Writer.alloc(len = base64.length(value));\r\n base64.decode(value, buf, 0);\r\n value = buf;\r\n }\r\n return this.uint32(len)._push(writeBytes, len, value);\r\n};\r\n\r\n/**\r\n * Writes a string.\r\n * @param {string} value Value to write\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.string = function write_string(value) {\r\n var len = utf8.length(value);\r\n return len\r\n ? this.uint32(len)._push(utf8.write, len, value)\r\n : this._push(writeByte, 1, 0);\r\n};\r\n\r\n/**\r\n * Forks this writer's state by pushing it to a stack.\r\n * Calling {@link Writer#reset|reset} or {@link Writer#ldelim|ldelim} resets the writer to the previous state.\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.fork = function fork() {\r\n this.states = new State(this);\r\n this.head = this.tail = new Op(noop, 0, 0);\r\n this.len = 0;\r\n return this;\r\n};\r\n\r\n/**\r\n * Resets this instance to the last state.\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.reset = function reset() {\r\n if (this.states) {\r\n this.head = this.states.head;\r\n this.tail = this.states.tail;\r\n this.len = this.states.len;\r\n this.states = this.states.next;\r\n } else {\r\n this.head = this.tail = new Op(noop, 0, 0);\r\n this.len = 0;\r\n }\r\n return this;\r\n};\r\n\r\n/**\r\n * Resets to the last state and appends the fork state's current write length as a varint followed by its operations.\r\n * @returns {Writer} `this`\r\n */\r\nWriter.prototype.ldelim = function ldelim() {\r\n var head = this.head,\r\n tail = this.tail,\r\n len = this.len;\r\n this.reset().uint32(len);\r\n if (len) {\r\n this.tail.next = head.next; // skip noop\r\n this.tail = tail;\r\n this.len += len;\r\n }\r\n return this;\r\n};\r\n\r\n/**\r\n * Finishes the write operation.\r\n * @returns {Uint8Array} Finished buffer\r\n */\r\nWriter.prototype.finish = function finish() {\r\n var head = this.head.next, // skip noop\r\n buf = this.constructor.alloc(this.len),\r\n pos = 0;\r\n while (head) {\r\n head.fn(head.val, buf, pos);\r\n pos += head.len;\r\n head = head.next;\r\n }\r\n // this.head = this.tail = null;\r\n return buf;\r\n};\r\n\r\nWriter._configure = function(BufferWriter_) {\r\n BufferWriter = BufferWriter_;\r\n Writer.create = create();\r\n BufferWriter._configure();\r\n};\r\n", "\"use strict\";\r\nmodule.exports = BufferWriter;\r\n\r\n// extends Writer\r\nvar Writer = require(\"./writer\");\r\n(BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;\r\n\r\nvar util = require(\"./util/minimal\");\r\n\r\n/**\r\n * Constructs a new buffer writer instance.\r\n * @classdesc Wire format writer using node buffers.\r\n * @extends Writer\r\n * @constructor\r\n */\r\nfunction BufferWriter() {\r\n Writer.call(this);\r\n}\r\n\r\nBufferWriter._configure = function () {\r\n /**\r\n * Allocates a buffer of the specified size.\r\n * @function\r\n * @param {number} size Buffer size\r\n * @returns {Buffer} Buffer\r\n */\r\n BufferWriter.alloc = util._Buffer_allocUnsafe;\r\n\r\n BufferWriter.writeBytesBuffer = util.Buffer && util.Buffer.prototype instanceof Uint8Array && util.Buffer.prototype.set.name === \"set\"\r\n ? function writeBytesBuffer_set(val, buf, pos) {\r\n buf.set(val, pos); // faster than copy (requires node >= 4 where Buffers extend Uint8Array and set is properly inherited)\r\n // also works for plain array values\r\n }\r\n /* istanbul ignore next */\r\n : function writeBytesBuffer_copy(val, buf, pos) {\r\n if (val.copy) // Buffer values\r\n val.copy(buf, pos, 0, val.length);\r\n else for (var i = 0; i < val.length;) // plain array values\r\n buf[pos++] = val[i++];\r\n };\r\n};\r\n\r\n\r\n/**\r\n * @override\r\n */\r\nBufferWriter.prototype.bytes = function write_bytes_buffer(value) {\r\n if (util.isString(value))\r\n value = util._Buffer_from(value, \"base64\");\r\n var len = value.length >>> 0;\r\n this.uint32(len);\r\n if (len)\r\n this._push(BufferWriter.writeBytesBuffer, len, value);\r\n return this;\r\n};\r\n\r\nfunction writeStringBuffer(val, buf, pos) {\r\n if (val.length < 40) // plain js is faster for short strings (probably due to redundant assertions)\r\n util.utf8.write(val, buf, pos);\r\n else if (buf.utf8Write)\r\n buf.utf8Write(val, pos);\r\n else\r\n buf.write(val, pos);\r\n}\r\n\r\n/**\r\n * @override\r\n */\r\nBufferWriter.prototype.string = function write_string_buffer(value) {\r\n var len = util.Buffer.byteLength(value);\r\n this.uint32(len);\r\n if (len)\r\n this._push(writeStringBuffer, len, value);\r\n return this;\r\n};\r\n\r\n\r\n/**\r\n * Finishes the write operation.\r\n * @name BufferWriter#finish\r\n * @function\r\n * @returns {Buffer} Finished buffer\r\n */\r\n\r\nBufferWriter._configure();\r\n", "\"use strict\";\r\nmodule.exports = Reader;\r\n\r\nvar util = require(\"./util/minimal\");\r\n\r\nvar BufferReader; // cyclic\r\n\r\nvar LongBits = util.LongBits,\r\n utf8 = util.utf8;\r\n\r\n/* istanbul ignore next */\r\nfunction indexOutOfRange(reader, writeLength) {\r\n return RangeError(\"index out of range: \" + reader.pos + \" + \" + (writeLength || 1) + \" > \" + reader.len);\r\n}\r\n\r\n/**\r\n * Constructs a new reader instance using the specified buffer.\r\n * @classdesc Wire format reader using `Uint8Array` if available, otherwise `Array`.\r\n * @constructor\r\n * @param {Uint8Array} buffer Buffer to read from\r\n */\r\nfunction Reader(buffer) {\r\n\r\n /**\r\n * Read buffer.\r\n * @type {Uint8Array}\r\n */\r\n this.buf = buffer;\r\n\r\n /**\r\n * Read buffer position.\r\n * @type {number}\r\n */\r\n this.pos = 0;\r\n\r\n /**\r\n * Read buffer length.\r\n * @type {number}\r\n */\r\n this.len = buffer.length;\r\n}\r\n\r\nvar create_array = typeof Uint8Array !== \"undefined\"\r\n ? function create_typed_array(buffer) {\r\n if (buffer instanceof Uint8Array || Array.isArray(buffer))\r\n return new Reader(buffer);\r\n throw Error(\"illegal buffer\");\r\n }\r\n /* istanbul ignore next */\r\n : function create_array(buffer) {\r\n if (Array.isArray(buffer))\r\n return new Reader(buffer);\r\n throw Error(\"illegal buffer\");\r\n };\r\n\r\nvar create = function create() {\r\n return util.Buffer\r\n ? function create_buffer_setup(buffer) {\r\n return (Reader.create = function create_buffer(buffer) {\r\n return util.Buffer.isBuffer(buffer)\r\n ? new BufferReader(buffer)\r\n /* istanbul ignore next */\r\n : create_array(buffer);\r\n })(buffer);\r\n }\r\n /* istanbul ignore next */\r\n : create_array;\r\n};\r\n\r\n/**\r\n * Creates a new reader using the specified buffer.\r\n * @function\r\n * @param {Uint8Array|Buffer} buffer Buffer to read from\r\n * @returns {Reader|BufferReader} A {@link BufferReader} if `buffer` is a Buffer, otherwise a {@link Reader}\r\n * @throws {Error} If `buffer` is not a valid buffer\r\n */\r\nReader.create = create();\r\n\r\nReader.prototype._slice = util.Array.prototype.subarray || /* istanbul ignore next */ util.Array.prototype.slice;\r\n\r\n/**\r\n * Reads a varint as an unsigned 32 bit value.\r\n * @function\r\n * @returns {number} Value read\r\n */\r\nReader.prototype.uint32 = (function read_uint32_setup() {\r\n var value = 4294967295; // optimizer type-hint, tends to deopt otherwise (?!)\r\n return function read_uint32() {\r\n value = ( this.buf[this.pos] & 127 ) >>> 0; if (this.buf[this.pos++] < 128) return value;\r\n value = (value | (this.buf[this.pos] & 127) << 7) >>> 0; if (this.buf[this.pos++] < 128) return value;\r\n value = (value | (this.buf[this.pos] & 127) << 14) >>> 0; if (this.buf[this.pos++] < 128) return value;\r\n value = (value | (this.buf[this.pos] & 127) << 21) >>> 0; if (this.buf[this.pos++] < 128) return value;\r\n value = (value | (this.buf[this.pos] & 15) << 28) >>> 0; if (this.buf[this.pos++] < 128) return value;\r\n\r\n /* istanbul ignore if */\r\n if ((this.pos += 5) > this.len) {\r\n this.pos = this.len;\r\n throw indexOutOfRange(this, 10);\r\n }\r\n return value;\r\n };\r\n})();\r\n\r\n/**\r\n * Reads a varint as a signed 32 bit value.\r\n * @returns {number} Value read\r\n */\r\nReader.prototype.int32 = function read_int32() {\r\n return this.uint32() | 0;\r\n};\r\n\r\n/**\r\n * Reads a zig-zag encoded varint as a signed 32 bit value.\r\n * @returns {number} Value read\r\n */\r\nReader.prototype.sint32 = function read_sint32() {\r\n var value = this.uint32();\r\n return value >>> 1 ^ -(value & 1) | 0;\r\n};\r\n\r\n/* eslint-disable no-invalid-this */\r\n\r\nfunction readLongVarint() {\r\n // tends to deopt with local vars for octet etc.\r\n var bits = new LongBits(0, 0);\r\n var i = 0;\r\n if (this.len - this.pos > 4) { // fast route (lo)\r\n for (; i < 4; ++i) {\r\n // 1st..4th\r\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i * 7) >>> 0;\r\n if (this.buf[this.pos++] < 128)\r\n return bits;\r\n }\r\n // 5th\r\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << 28) >>> 0;\r\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) >> 4) >>> 0;\r\n if (this.buf[this.pos++] < 128)\r\n return bits;\r\n i = 0;\r\n } else {\r\n for (; i < 3; ++i) {\r\n /* istanbul ignore if */\r\n if (this.pos >= this.len)\r\n throw indexOutOfRange(this);\r\n // 1st..3th\r\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i * 7) >>> 0;\r\n if (this.buf[this.pos++] < 128)\r\n return bits;\r\n }\r\n // 4th\r\n bits.lo = (bits.lo | (this.buf[this.pos++] & 127) << i * 7) >>> 0;\r\n return bits;\r\n }\r\n if (this.len - this.pos > 4) { // fast route (hi)\r\n for (; i < 5; ++i) {\r\n // 6th..10th\r\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i * 7 + 3) >>> 0;\r\n if (this.buf[this.pos++] < 128)\r\n return bits;\r\n }\r\n } else {\r\n for (; i < 5; ++i) {\r\n /* istanbul ignore if */\r\n if (this.pos >= this.len)\r\n throw indexOutOfRange(this);\r\n // 6th..10th\r\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i * 7 + 3) >>> 0;\r\n if (this.buf[this.pos++] < 128)\r\n return bits;\r\n }\r\n }\r\n /* istanbul ignore next */\r\n throw Error(\"invalid varint encoding\");\r\n}\r\n\r\n/* eslint-enable no-invalid-this */\r\n\r\n/**\r\n * Reads a varint as a signed 64 bit value.\r\n * @name Reader#int64\r\n * @function\r\n * @returns {Long} Value read\r\n */\r\n\r\n/**\r\n * Reads a varint as an unsigned 64 bit value.\r\n * @name Reader#uint64\r\n * @function\r\n * @returns {Long} Value read\r\n */\r\n\r\n/**\r\n * Reads a zig-zag encoded varint as a signed 64 bit value.\r\n * @name Reader#sint64\r\n * @function\r\n * @returns {Long} Value read\r\n */\r\n\r\n/**\r\n * Reads a varint as a boolean.\r\n * @returns {boolean} Value read\r\n */\r\nReader.prototype.bool = function read_bool() {\r\n return this.uint32() !== 0;\r\n};\r\n\r\nfunction readFixed32_end(buf, end) { // note that this uses `end`, not `pos`\r\n return (buf[end - 4]\r\n | buf[end - 3] << 8\r\n | buf[end - 2] << 16\r\n | buf[end - 1] << 24) >>> 0;\r\n}\r\n\r\n/**\r\n * Reads fixed 32 bits as an unsigned 32 bit integer.\r\n * @returns {number} Value read\r\n */\r\nReader.prototype.fixed32 = function read_fixed32() {\r\n\r\n /* istanbul ignore if */\r\n if (this.pos + 4 > this.len)\r\n throw indexOutOfRange(this, 4);\r\n\r\n return readFixed32_end(this.buf, this.pos += 4);\r\n};\r\n\r\n/**\r\n * Reads fixed 32 bits as a signed 32 bit integer.\r\n * @returns {number} Value read\r\n */\r\nReader.prototype.sfixed32 = function read_sfixed32() {\r\n\r\n /* istanbul ignore if */\r\n if (this.pos + 4 > this.len)\r\n throw indexOutOfRange(this, 4);\r\n\r\n return readFixed32_end(this.buf, this.pos += 4) | 0;\r\n};\r\n\r\n/* eslint-disable no-invalid-this */\r\n\r\nfunction readFixed64(/* this: Reader */) {\r\n\r\n /* istanbul ignore if */\r\n if (this.pos + 8 > this.len)\r\n throw indexOutOfRange(this, 8);\r\n\r\n return new LongBits(readFixed32_end(this.buf, this.pos += 4), readFixed32_end(this.buf, this.pos += 4));\r\n}\r\n\r\n/* eslint-enable no-invalid-this */\r\n\r\n/**\r\n * Reads fixed 64 bits.\r\n * @name Reader#fixed64\r\n * @function\r\n * @returns {Long} Value read\r\n */\r\n\r\n/**\r\n * Reads zig-zag encoded fixed 64 bits.\r\n * @name Reader#sfixed64\r\n * @function\r\n * @returns {Long} Value read\r\n */\r\n\r\n/**\r\n * Reads a float (32 bit) as a number.\r\n * @function\r\n * @returns {number} Value read\r\n */\r\nReader.prototype.float = function read_float() {\r\n\r\n /* istanbul ignore if */\r\n if (this.pos + 4 > this.len)\r\n throw indexOutOfRange(this, 4);\r\n\r\n var value = util.float.readFloatLE(this.buf, this.pos);\r\n this.pos += 4;\r\n return value;\r\n};\r\n\r\n/**\r\n * Reads a double (64 bit float) as a number.\r\n * @function\r\n * @returns {number} Value read\r\n */\r\nReader.prototype.double = function read_double() {\r\n\r\n /* istanbul ignore if */\r\n if (this.pos + 8 > this.len)\r\n throw indexOutOfRange(this, 4);\r\n\r\n var value = util.float.readDoubleLE(this.buf, this.pos);\r\n this.pos += 8;\r\n return value;\r\n};\r\n\r\n/**\r\n * Reads a sequence of bytes preceeded by its length as a varint.\r\n * @returns {Uint8Array} Value read\r\n */\r\nReader.prototype.bytes = function read_bytes() {\r\n var length = this.uint32(),\r\n start = this.pos,\r\n end = this.pos + length;\r\n\r\n /* istanbul ignore if */\r\n if (end > this.len)\r\n throw indexOutOfRange(this, length);\r\n\r\n this.pos += length;\r\n if (Array.isArray(this.buf)) // plain array\r\n return this.buf.slice(start, end);\r\n\r\n if (start === end) { // fix for IE 10/Win8 and others' subarray returning array of size 1\r\n var nativeBuffer = util.Buffer;\r\n return nativeBuffer\r\n ? nativeBuffer.alloc(0)\r\n : new this.buf.constructor(0);\r\n }\r\n return this._slice.call(this.buf, start, end);\r\n};\r\n\r\n/**\r\n * Reads a string preceeded by its byte length as a varint.\r\n * @returns {string} Value read\r\n */\r\nReader.prototype.string = function read_string() {\r\n var bytes = this.bytes();\r\n return utf8.read(bytes, 0, bytes.length);\r\n};\r\n\r\n/**\r\n * Skips the specified number of bytes if specified, otherwise skips a varint.\r\n * @param {number} [length] Length if known, otherwise a varint is assumed\r\n * @returns {Reader} `this`\r\n */\r\nReader.prototype.skip = function skip(length) {\r\n if (typeof length === \"number\") {\r\n /* istanbul ignore if */\r\n if (this.pos + length > this.len)\r\n throw indexOutOfRange(this, length);\r\n this.pos += length;\r\n } else {\r\n do {\r\n /* istanbul ignore if */\r\n if (this.pos >= this.len)\r\n throw indexOutOfRange(this);\r\n } while (this.buf[this.pos++] & 128);\r\n }\r\n return this;\r\n};\r\n\r\n/**\r\n * Skips the next element of the specified wire type.\r\n * @param {number} wireType Wire type received\r\n * @returns {Reader} `this`\r\n */\r\nReader.prototype.skipType = function(wireType) {\r\n switch (wireType) {\r\n case 0:\r\n this.skip();\r\n break;\r\n case 1:\r\n this.skip(8);\r\n break;\r\n case 2:\r\n this.skip(this.uint32());\r\n break;\r\n case 3:\r\n while ((wireType = this.uint32() & 7) !== 4) {\r\n this.skipType(wireType);\r\n }\r\n break;\r\n case 5:\r\n this.skip(4);\r\n break;\r\n\r\n /* istanbul ignore next */\r\n default:\r\n throw Error(\"invalid wire type \" + wireType + \" at offset \" + this.pos);\r\n }\r\n return this;\r\n};\r\n\r\nReader._configure = function(BufferReader_) {\r\n BufferReader = BufferReader_;\r\n Reader.create = create();\r\n BufferReader._configure();\r\n\r\n var fn = util.Long ? \"toLong\" : /* istanbul ignore next */ \"toNumber\";\r\n util.merge(Reader.prototype, {\r\n\r\n int64: function read_int64() {\r\n return readLongVarint.call(this)[fn](false);\r\n },\r\n\r\n uint64: function read_uint64() {\r\n return readLongVarint.call(this)[fn](true);\r\n },\r\n\r\n sint64: function read_sint64() {\r\n return readLongVarint.call(this).zzDecode()[fn](false);\r\n },\r\n\r\n fixed64: function read_fixed64() {\r\n return readFixed64.call(this)[fn](true);\r\n },\r\n\r\n sfixed64: function read_sfixed64() {\r\n return readFixed64.call(this)[fn](false);\r\n }\r\n\r\n });\r\n};\r\n", "\"use strict\";\r\nmodule.exports = BufferReader;\r\n\r\n// extends Reader\r\nvar Reader = require(\"./reader\");\r\n(BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;\r\n\r\nvar util = require(\"./util/minimal\");\r\n\r\n/**\r\n * Constructs a new buffer reader instance.\r\n * @classdesc Wire format reader using node buffers.\r\n * @extends Reader\r\n * @constructor\r\n * @param {Buffer} buffer Buffer to read from\r\n */\r\nfunction BufferReader(buffer) {\r\n Reader.call(this, buffer);\r\n\r\n /**\r\n * Read buffer.\r\n * @name BufferReader#buf\r\n * @type {Buffer}\r\n */\r\n}\r\n\r\nBufferReader._configure = function () {\r\n /* istanbul ignore else */\r\n if (util.Buffer)\r\n BufferReader.prototype._slice = util.Buffer.prototype.slice;\r\n};\r\n\r\n\r\n/**\r\n * @override\r\n */\r\nBufferReader.prototype.string = function read_string_buffer() {\r\n var len = this.uint32(); // modifies pos\r\n return this.buf.utf8Slice\r\n ? this.buf.utf8Slice(this.pos, this.pos = Math.min(this.pos + len, this.len))\r\n : this.buf.toString(\"utf-8\", this.pos, this.pos = Math.min(this.pos + len, this.len));\r\n};\r\n\r\n/**\r\n * Reads a sequence of bytes preceeded by its length as a varint.\r\n * @name BufferReader#bytes\r\n * @function\r\n * @returns {Buffer} Value read\r\n */\r\n\r\nBufferReader._configure();\r\n", "\"use strict\";\r\nmodule.exports = Service;\r\n\r\nvar util = require(\"../util/minimal\");\r\n\r\n// Extends EventEmitter\r\n(Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;\r\n\r\n/**\r\n * A service method callback as used by {@link rpc.ServiceMethod|ServiceMethod}.\r\n *\r\n * Differs from {@link RPCImplCallback} in that it is an actual callback of a service method which may not return `response = null`.\r\n * @typedef rpc.ServiceMethodCallback\r\n * @template TRes extends Message<TRes>\r\n * @type {function}\r\n * @param {Error|null} error Error, if any\r\n * @param {TRes} [response] Response message\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * A service method part of a {@link rpc.Service} as created by {@link Service.create}.\r\n * @typedef rpc.ServiceMethod\r\n * @template TReq extends Message<TReq>\r\n * @template TRes extends Message<TRes>\r\n * @type {function}\r\n * @param {TReq|Properties<TReq>} request Request message or plain object\r\n * @param {rpc.ServiceMethodCallback<TRes>} [callback] Node-style callback called with the error, if any, and the response message\r\n * @returns {Promise<Message<TRes>>} Promise if `callback` has been omitted, otherwise `undefined`\r\n */\r\n\r\n/**\r\n * Constructs a new RPC service instance.\r\n * @classdesc An RPC service as returned by {@link Service#create}.\r\n * @exports rpc.Service\r\n * @extends util.EventEmitter\r\n * @constructor\r\n * @param {RPCImpl} rpcImpl RPC implementation\r\n * @param {boolean} [requestDelimited=false] Whether requests are length-delimited\r\n * @param {boolean} [responseDelimited=false] Whether responses are length-delimited\r\n */\r\nfunction Service(rpcImpl, requestDelimited, responseDelimited) {\r\n\r\n if (typeof rpcImpl !== \"function\")\r\n throw TypeError(\"rpcImpl must be a function\");\r\n\r\n util.EventEmitter.call(this);\r\n\r\n /**\r\n * RPC implementation. Becomes `null` once the service is ended.\r\n * @type {RPCImpl|null}\r\n */\r\n this.rpcImpl = rpcImpl;\r\n\r\n /**\r\n * Whether requests are length-delimited.\r\n * @type {boolean}\r\n */\r\n this.requestDelimited = Boolean(requestDelimited);\r\n\r\n /**\r\n * Whether responses are length-delimited.\r\n * @type {boolean}\r\n */\r\n this.responseDelimited = Boolean(responseDelimited);\r\n}\r\n\r\n/**\r\n * Calls a service method through {@link rpc.Service#rpcImpl|rpcImpl}.\r\n * @param {Method|rpc.ServiceMethod<TReq,TRes>} method Reflected or static method\r\n * @param {Constructor<TReq>} requestCtor Request constructor\r\n * @param {Constructor<TRes>} responseCtor Response constructor\r\n * @param {TReq|Properties<TReq>} request Request message or plain object\r\n * @param {rpc.ServiceMethodCallback<TRes>} callback Service callback\r\n * @returns {undefined}\r\n * @template TReq extends Message<TReq>\r\n * @template TRes extends Message<TRes>\r\n */\r\nService.prototype.rpcCall = function rpcCall(method, requestCtor, responseCtor, request, callback) {\r\n\r\n if (!request)\r\n throw TypeError(\"request must be specified\");\r\n\r\n var self = this;\r\n if (!callback)\r\n return util.asPromise(rpcCall, self, method, requestCtor, responseCtor, request);\r\n\r\n if (!self.rpcImpl) {\r\n setTimeout(function() { callback(Error(\"already ended\")); }, 0);\r\n return undefined;\r\n }\r\n\r\n try {\r\n return self.rpcImpl(\r\n method,\r\n requestCtor[self.requestDelimited ? \"encodeDelimited\" : \"encode\"](request).finish(),\r\n function rpcCallback(err, response) {\r\n\r\n if (err) {\r\n self.emit(\"error\", err, method);\r\n return callback(err);\r\n }\r\n\r\n if (response === null) {\r\n self.end(/* endedByRPC */ true);\r\n return undefined;\r\n }\r\n\r\n if (!(response instanceof responseCtor)) {\r\n try {\r\n response = responseCtor[self.responseDelimited ? \"decodeDelimited\" : \"decode\"](response);\r\n } catch (err) {\r\n self.emit(\"error\", err, method);\r\n return callback(err);\r\n }\r\n }\r\n\r\n self.emit(\"data\", response, method);\r\n return callback(null, response);\r\n }\r\n );\r\n } catch (err) {\r\n self.emit(\"error\", err, method);\r\n setTimeout(function() { callback(err); }, 0);\r\n return undefined;\r\n }\r\n};\r\n\r\n/**\r\n * Ends this service and emits the `end` event.\r\n * @param {boolean} [endedByRPC=false] Whether the service has been ended by the RPC implementation.\r\n * @returns {rpc.Service} `this`\r\n */\r\nService.prototype.end = function end(endedByRPC) {\r\n if (this.rpcImpl) {\r\n if (!endedByRPC) // signal end to rpcImpl\r\n this.rpcImpl(null, null, null);\r\n this.rpcImpl = null;\r\n this.emit(\"end\").off();\r\n }\r\n return this;\r\n};\r\n", "\"use strict\";\r\n\r\n/**\r\n * Streaming RPC helpers.\r\n * @namespace\r\n */\r\nvar rpc = exports;\r\n\r\n/**\r\n * RPC implementation passed to {@link Service#create} performing a service request on network level, i.e. by utilizing http requests or websockets.\r\n * @typedef RPCImpl\r\n * @type {function}\r\n * @param {Method|rpc.ServiceMethod<Message<{}>,Message<{}>>} method Reflected or static method being called\r\n * @param {Uint8Array} requestData Request data\r\n * @param {RPCImplCallback} callback Callback function\r\n * @returns {undefined}\r\n * @example\r\n * function rpcImpl(method, requestData, callback) {\r\n * if (protobuf.util.lcFirst(method.name) !== \"myMethod\") // compatible with static code\r\n * throw Error(\"no such method\");\r\n * asynchronouslyObtainAResponse(requestData, function(err, responseData) {\r\n * callback(err, responseData);\r\n * });\r\n * }\r\n */\r\n\r\n/**\r\n * Node-style callback as used by {@link RPCImpl}.\r\n * @typedef RPCImplCallback\r\n * @type {function}\r\n * @param {Error|null} error Error, if any, otherwise `null`\r\n * @param {Uint8Array|null} [response] Response data or `null` to signal end of stream, if there hasn't been an error\r\n * @returns {undefined}\r\n */\r\n\r\nrpc.Service = require(\"./rpc/service\");\r\n", "\"use strict\";\r\nmodule.exports = {};\r\n\r\n/**\r\n * Named roots.\r\n * This is where pbjs stores generated structures (the option `-r, --root` specifies a name).\r\n * Can also be used manually to make roots available across modules.\r\n * @name roots\r\n * @type {Object.<string,Root>}\r\n * @example\r\n * // pbjs -r myroot -o compiled.js ...\r\n *\r\n * // in another module:\r\n * require(\"./compiled.js\");\r\n *\r\n * // in any subsequent module:\r\n * var root = protobuf.roots[\"myroot\"];\r\n */\r\n", "\"use strict\";\r\nvar protobuf = exports;\r\n\r\n/**\r\n * Build type, one of `\"full\"`, `\"light\"` or `\"minimal\"`.\r\n * @name build\r\n * @type {string}\r\n * @const\r\n */\r\nprotobuf.build = \"minimal\";\r\n\r\n// Serialization\r\nprotobuf.Writer = require(\"./writer\");\r\nprotobuf.BufferWriter = require(\"./writer_buffer\");\r\nprotobuf.Reader = require(\"./reader\");\r\nprotobuf.BufferReader = require(\"./reader_buffer\");\r\n\r\n// Utility\r\nprotobuf.util = require(\"./util/minimal\");\r\nprotobuf.rpc = require(\"./rpc\");\r\nprotobuf.roots = require(\"./roots\");\r\nprotobuf.configure = configure;\r\n\r\n/* istanbul ignore next */\r\n/**\r\n * Reconfigures the library according to the environment.\r\n * @returns {undefined}\r\n */\r\nfunction configure() {\r\n protobuf.util._configure();\r\n protobuf.Writer._configure(protobuf.BufferWriter);\r\n protobuf.Reader._configure(protobuf.BufferReader);\r\n}\r\n\r\n// Set up buffer utility according to the environment\r\nconfigure();\r\n", "// minimal library entry point.\r\n\r\n\"use strict\";\r\nmodule.exports = require(\"./src/index-minimal\");\r\n", "module.exports = Long;\r\n\r\n/**\r\n * wasm optimizations, to do native i64 multiplication and divide\r\n */\r\nvar wasm = null;\r\n\r\ntry {\r\n wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([\r\n 0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11\r\n ])), {}).exports;\r\n} catch (e) {\r\n // no wasm support :(\r\n}\r\n\r\n/**\r\n * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.\r\n * See the from* functions below for more convenient ways of constructing Longs.\r\n * @exports Long\r\n * @class A Long class for representing a 64 bit two's-complement integer value.\r\n * @param {number} low The low (signed) 32 bits of the long\r\n * @param {number} high The high (signed) 32 bits of the long\r\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\r\n * @constructor\r\n */\r\nfunction Long(low, high, unsigned) {\r\n\r\n /**\r\n * The low 32 bits as a signed value.\r\n * @type {number}\r\n */\r\n this.low = low | 0;\r\n\r\n /**\r\n * The high 32 bits as a signed value.\r\n * @type {number}\r\n */\r\n this.high = high | 0;\r\n\r\n /**\r\n * Whether unsigned or not.\r\n * @type {boolean}\r\n */\r\n this.unsigned = !!unsigned;\r\n}\r\n\r\n// The internal representation of a long is the two given signed, 32-bit values.\r\n// We use 32-bit pieces because these are the size of integers on which\r\n// Javascript performs bit-operations. For operations like addition and\r\n// multiplication, we split each number into 16 bit pieces, which can easily be\r\n// multiplied within Javascript's floating-point representation without overflow\r\n// or change in sign.\r\n//\r\n// In the algorithms below, we frequently reduce the negative case to the\r\n// positive case by negating the input(s) and then post-processing the result.\r\n// Note that we must ALWAYS check specially whether those values are MIN_VALUE\r\n// (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as\r\n// a positive number, it overflows back into a negative). Not handling this\r\n// case would often result in infinite recursion.\r\n//\r\n// Common constant values ZERO, ONE, NEG_ONE, etc. are defined below the from*\r\n// methods on which they depend.\r\n\r\n/**\r\n * An indicator used to reliably determine if an object is a Long or not.\r\n * @type {boolean}\r\n * @const\r\n * @private\r\n */\r\nLong.prototype.__isLong__;\r\n\r\nObject.defineProperty(Long.prototype, \"__isLong__\", { value: true });\r\n\r\n/**\r\n * @function\r\n * @param {*} obj Object\r\n * @returns {boolean}\r\n * @inner\r\n */\r\nfunction isLong(obj) {\r\n return (obj && obj[\"__isLong__\"]) === true;\r\n}\r\n\r\n/**\r\n * Tests if the specified object is a Long.\r\n * @function\r\n * @param {*} obj Object\r\n * @returns {boolean}\r\n */\r\nLong.isLong = isLong;\r\n\r\n/**\r\n * A cache of the Long representations of small integer values.\r\n * @type {!Object}\r\n * @inner\r\n */\r\nvar INT_CACHE = {};\r\n\r\n/**\r\n * A cache of the Long representations of small unsigned integer values.\r\n * @type {!Object}\r\n * @inner\r\n */\r\nvar UINT_CACHE = {};\r\n\r\n/**\r\n * @param {number} value\r\n * @param {boolean=} unsigned\r\n * @returns {!Long}\r\n * @inner\r\n */\r\nfunction fromInt(value, unsigned) {\r\n var obj, cachedObj, cache;\r\n if (unsigned) {\r\n value >>>= 0;\r\n if (cache = (0 <= value && value < 256)) {\r\n cachedObj = UINT_CACHE[value];\r\n if (cachedObj)\r\n return cachedObj;\r\n }\r\n obj = fromBits(value, (value | 0) < 0 ? -1 : 0, true);\r\n if (cache)\r\n UINT_CACHE[value] = obj;\r\n return obj;\r\n } else {\r\n value |= 0;\r\n if (cache = (-128 <= value && value < 128)) {\r\n cachedObj = INT_CACHE[value];\r\n if (cachedObj)\r\n return cachedObj;\r\n }\r\n obj = fromBits(value, value < 0 ? -1 : 0, false);\r\n if (cache)\r\n INT_CACHE[value] = obj;\r\n return obj;\r\n }\r\n}\r\n\r\n/**\r\n * Returns a Long representing the given 32 bit integer value.\r\n * @function\r\n * @param {number} value The 32 bit integer in question\r\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\r\n * @returns {!Long} The corresponding Long value\r\n */\r\nLong.fromInt = fromInt;\r\n\r\n/**\r\n * @param {number} value\r\n * @param {boolean=} unsigned\r\n * @returns {!Long}\r\n * @inner\r\n */\r\nfunction fromNumber(value, unsigned) {\r\n if (isNaN(value))\r\n return unsigned ? UZERO : ZERO;\r\n if (unsigned) {\r\n if (value < 0)\r\n return UZERO;\r\n if (value >= TWO_PWR_64_DBL)\r\n return MAX_UNSIGNED_VALUE;\r\n } else {\r\n if (value <= -TWO_PWR_63_DBL)\r\n return MIN_VALUE;\r\n if (value + 1 >= TWO_PWR_63_DBL)\r\n return MAX_VALUE;\r\n }\r\n if (value < 0)\r\n return fromNumber(-value, unsigned).neg();\r\n return fromBits((value % TWO_PWR_32_DBL) | 0, (value / TWO_PWR_32_DBL) | 0, unsigned);\r\n}\r\n\r\n/**\r\n * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.\r\n * @function\r\n * @param {number} value The number in question\r\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\r\n * @returns {!Long} The corresponding Long value\r\n */\r\nLong.fromNumber = fromNumber;\r\n\r\n/**\r\n * @param {number} lowBits\r\n * @param {number} highBits\r\n * @param {boolean=} unsigned\r\n * @returns {!Long}\r\n * @inner\r\n */\r\nfunction fromBits(lowBits, highBits, unsigned) {\r\n return new Long(lowBits, highBits, unsigned);\r\n}\r\n\r\n/**\r\n * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is\r\n * assumed to use 32 bits.\r\n * @function\r\n * @param {number} lowBits The low 32 bits\r\n * @param {number} highBits The high 32 bits\r\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\r\n * @returns {!Long} The corresponding Long value\r\n */\r\nLong.fromBits = fromBits;\r\n\r\n/**\r\n * @function\r\n * @param {number} base\r\n * @param {number} exponent\r\n * @returns {number}\r\n * @inner\r\n */\r\nvar pow_dbl = Math.pow; // Used 4 times (4*8 to 15+4)\r\n\r\n/**\r\n * @param {string} str\r\n * @param {(boolean|number)=} unsigned\r\n * @param {number=} radix\r\n * @returns {!Long}\r\n * @inner\r\n */\r\nfunction fromString(str, unsigned, radix) {\r\n if (str.length === 0)\r\n throw Error('empty string');\r\n if (str === \"NaN\" || str === \"Infinity\" || str === \"+Infinity\" || str === \"-Infinity\")\r\n return ZERO;\r\n if (typeof unsigned === 'number') {\r\n // For goog.math.long compatibility\r\n radix = unsigned,\r\n unsigned = false;\r\n } else {\r\n unsigned = !! unsigned;\r\n }\r\n radix = radix || 10;\r\n if (radix < 2 || 36 < radix)\r\n throw RangeError('radix');\r\n\r\n var p;\r\n if ((p = str.indexOf('-')) > 0)\r\n throw Error('interior hyphen');\r\n else if (p === 0) {\r\n return fromString(str.substring(1), unsigned, radix).neg();\r\n }\r\n\r\n // Do several (8) digits each time through the loop, so as to\r\n // minimize the calls to the very expensive emulated div.\r\n var radixToPower = fromNumber(pow_dbl(radix, 8));\r\n\r\n var result = ZERO;\r\n for (var i = 0; i < str.length; i += 8) {\r\n var size = Math.min(8, str.length - i),\r\n value = parseInt(str.substring(i, i + size), radix);\r\n if (size < 8) {\r\n var power = fromNumber(pow_dbl(radix, size));\r\n result = result.mul(power).add(fromNumber(value));\r\n } else {\r\n result = result.mul(radixToPower);\r\n result = result.add(fromNumber(value));\r\n }\r\n }\r\n result.unsigned = unsigned;\r\n return result;\r\n}\r\n\r\n/**\r\n * Returns a Long representation of the given string, written using the specified radix.\r\n * @function\r\n * @param {string} str The textual representation of the Long\r\n * @param {(boolean|number)=} unsigned Whether unsigned or not, defaults to signed\r\n * @param {number=} radix The radix in which the text is written (2-36), defaults to 10\r\n * @returns {!Long} The corresponding Long value\r\n */\r\nLong.fromString = fromString;\r\n\r\n/**\r\n * @function\r\n * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val\r\n * @param {boolean=} unsigned\r\n * @returns {!Long}\r\n * @inner\r\n */\r\nfunction fromValue(val, unsigned) {\r\n if (typeof val === 'number')\r\n return fromNumber(val, unsigned);\r\n if (typeof val === 'string')\r\n return fromString(val, unsigned);\r\n // Throws for non-objects, converts non-instanceof Long:\r\n return fromBits(val.low, val.high, typeof unsigned === 'boolean' ? unsigned : val.unsigned);\r\n}\r\n\r\n/**\r\n * Converts the specified value to a Long using the appropriate from* function for its type.\r\n * @function\r\n * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val Value\r\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\r\n * @returns {!Long}\r\n */\r\nLong.fromValue = fromValue;\r\n\r\n// NOTE: the compiler should inline these constant values below and then remove these variables, so there should be\r\n// no runtime penalty for these.\r\n\r\n/**\r\n * @type {number}\r\n * @const\r\n * @inner\r\n */\r\nvar TWO_PWR_16_DBL = 1 << 16;\r\n\r\n/**\r\n * @type {number}\r\n * @const\r\n * @inner\r\n */\r\nvar TWO_PWR_24_DBL = 1 << 24;\r\n\r\n/**\r\n * @type {number}\r\n * @const\r\n * @inner\r\n */\r\nvar TWO_PWR_32_DBL = TWO_PWR_16_DBL * TWO_PWR_16_DBL;\r\n\r\n/**\r\n * @type {number}\r\n * @const\r\n * @inner\r\n */\r\nvar TWO_PWR_64_DBL = TWO_PWR_32_DBL * TWO_PWR_32_DBL;\r\n\r\n/**\r\n * @type {number}\r\n * @const\r\n * @inner\r\n */\r\nvar TWO_PWR_63_DBL = TWO_PWR_64_DBL / 2;\r\n\r\n/**\r\n * @type {!Long}\r\n * @const\r\n * @inner\r\n */\r\nvar TWO_PWR_24 = fromInt(TWO_PWR_24_DBL);\r\n\r\n/**\r\n * @type {!Long}\r\n * @inner\r\n */\r\nvar ZERO = fromInt(0);\r\n\r\n/**\r\n * Signed zero.\r\n * @type {!Long}\r\n */\r\nLong.ZERO = ZERO;\r\n\r\n/**\r\n * @type {!Long}\r\n * @inner\r\n */\r\nvar UZERO = fromInt(0, true);\r\n\r\n/**\r\n * Unsigned zero.\r\n * @type {!Long}\r\n */\r\nLong.UZERO = UZERO;\r\n\r\n/**\r\n * @type {!Long}\r\n * @inner\r\n */\r\nvar ONE = fromInt(1);\r\n\r\n/**\r\n * Signed one.\r\n * @type {!Long}\r\n */\r\nLong.ONE = ONE;\r\n\r\n/**\r\n * @type {!Long}\r\n * @inner\r\n */\r\nvar UONE = fromInt(1, true);\r\n\r\n/**\r\n * Unsigned one.\r\n * @type {!Long}\r\n */\r\nLong.UONE = UONE;\r\n\r\n/**\r\n * @type {!Long}\r\n * @inner\r\n */\r\nvar NEG_ONE = fromInt(-1);\r\n\r\n/**\r\n * Signed negative one.\r\n * @type {!Long}\r\n */\r\nLong.NEG_ONE = NEG_ONE;\r\n\r\n/**\r\n * @type {!Long}\r\n * @inner\r\n */\r\nvar MAX_VALUE = fromBits(0xFFFFFFFF|0, 0x7FFFFFFF|0, false);\r\n\r\n/**\r\n * Maximum signed value.\r\n * @type {!Long}\r\n */\r\nLong.MAX_VALUE = MAX_VALUE;\r\n\r\n/**\r\n * @type {!Long}\r\n * @inner\r\n */\r\nvar MAX_UNSIGNED_VALUE = fromBits(0xFFFFFFFF|0, 0xFFFFFFFF|0, true);\r\n\r\n/**\r\n * Maximum unsigned value.\r\n * @type {!Long}\r\n */\r\nLong.MAX_UNSIGNED_VALUE = MAX_UNSIGNED_VALUE;\r\n\r\n/**\r\n * @type {!Long}\r\n * @inner\r\n */\r\nvar MIN_VALUE = fromBits(0, 0x80000000|0, false);\r\n\r\n/**\r\n * Minimum signed value.\r\n * @type {!Long}\r\n */\r\nLong.MIN_VALUE = MIN_VALUE;\r\n\r\n/**\r\n * @alias Long.prototype\r\n * @inner\r\n */\r\nvar LongPrototype = Long.prototype;\r\n\r\n/**\r\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\r\n * @returns {number}\r\n */\r\nLongPrototype.toInt = function toInt() {\r\n return this.unsigned ? this.low >>> 0 : this.low;\r\n};\r\n\r\n/**\r\n * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).\r\n * @returns {number}\r\n */\r\nLongPrototype.toNumber = function toNumber() {\r\n if (this.unsigned)\r\n return ((this.high >>> 0) * TWO_PWR_32_DBL) + (this.low >>> 0);\r\n return this.high * TWO_PWR_32_DBL + (this.low >>> 0);\r\n};\r\n\r\n/**\r\n * Converts the Long to a string written in the specified radix.\r\n * @param {number=} radix Radix (2-36), defaults to 10\r\n * @returns {string}\r\n * @override\r\n * @throws {RangeError} If `radix` is out of range\r\n */\r\nLongPrototype.toString = function toString(radix) {\r\n radix = radix || 10;\r\n if (radix < 2 || 36 < radix)\r\n throw RangeError('radix');\r\n if (this.isZero())\r\n return '0';\r\n if (this.isNegative()) { // Unsigned Longs are never negative\r\n if (this.eq(MIN_VALUE)) {\r\n // We need to change the Long value before it can be negated, so we remove\r\n // the bottom-most digit in this base and then recurse to do the rest.\r\n var radixLong = fromNumber(radix),\r\n div = this.div(radixLong),\r\n rem1 = div.mul(radixLong).sub(this);\r\n return div.toString(radix) + rem1.toInt().toString(radix);\r\n } else\r\n return '-' + this.neg().toString(radix);\r\n }\r\n\r\n // Do several (6) digits each time through the loop, so as to\r\n // minimize the calls to the very expensive emulated div.\r\n var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned),\r\n rem = this;\r\n var result = '';\r\n while (true) {\r\n var remDiv = rem.div(radixToPower),\r\n intval = rem.sub(remDiv.mul(radixToPower)).toInt() >>> 0,\r\n digits = intval.toString(radix);\r\n rem = remDiv;\r\n if (rem.isZero())\r\n return digits + result;\r\n else {\r\n while (digits.length < 6)\r\n digits = '0' + digits;\r\n result = '' + digits + result;\r\n }\r\n }\r\n};\r\n\r\n/**\r\n * Gets the high 32 bits as a signed integer.\r\n * @returns {number} Signed high bits\r\n */\r\nLongPrototype.getHighBits = function getHighBits() {\r\n return this.high;\r\n};\r\n\r\n/**\r\n * Gets the high 32 bits as an unsigned integer.\r\n * @returns {number} Unsigned high bits\r\n */\r\nLongPrototype.getHighBitsUnsigned = function getHighBitsUnsigned() {\r\n return this.high >>> 0;\r\n};\r\n\r\n/**\r\n * Gets the low 32 bits as a signed integer.\r\n * @returns {number} Signed low bits\r\n */\r\nLongPrototype.getLowBits = function getLowBits() {\r\n return this.low;\r\n};\r\n\r\n/**\r\n * Gets the low 32 bits as an unsigned integer.\r\n * @returns {number} Unsigned low bits\r\n */\r\nLongPrototype.getLowBitsUnsigned = function getLowBitsUnsigned() {\r\n return this.low >>> 0;\r\n};\r\n\r\n/**\r\n * Gets the number of bits needed to represent the absolute value of this Long.\r\n * @returns {number}\r\n */\r\nLongPrototype.getNumBitsAbs = function getNumBitsAbs() {\r\n if (this.isNegative()) // Unsigned Longs are never negative\r\n return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs();\r\n var val = this.high != 0 ? this.high : this.low;\r\n for (var bit = 31; bit > 0; bit--)\r\n if ((val & (1 << bit)) != 0)\r\n break;\r\n return this.high != 0 ? bit + 33 : bit + 1;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value equals zero.\r\n * @returns {boolean}\r\n */\r\nLongPrototype.isZero = function isZero() {\r\n return this.high === 0 && this.low === 0;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value equals zero. This is an alias of {@link Long#isZero}.\r\n * @returns {boolean}\r\n */\r\nLongPrototype.eqz = LongPrototype.isZero;\r\n\r\n/**\r\n * Tests if this Long's value is negative.\r\n * @returns {boolean}\r\n */\r\nLongPrototype.isNegative = function isNegative() {\r\n return !this.unsigned && this.high < 0;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value is positive.\r\n * @returns {boolean}\r\n */\r\nLongPrototype.isPositive = function isPositive() {\r\n return this.unsigned || this.high >= 0;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value is odd.\r\n * @returns {boolean}\r\n */\r\nLongPrototype.isOdd = function isOdd() {\r\n return (this.low & 1) === 1;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value is even.\r\n * @returns {boolean}\r\n */\r\nLongPrototype.isEven = function isEven() {\r\n return (this.low & 1) === 0;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value equals the specified's.\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.equals = function equals(other) {\r\n if (!isLong(other))\r\n other = fromValue(other);\r\n if (this.unsigned !== other.unsigned && (this.high >>> 31) === 1 && (other.high >>> 31) === 1)\r\n return false;\r\n return this.high === other.high && this.low === other.low;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value equals the specified's. This is an alias of {@link Long#equals}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.eq = LongPrototype.equals;\r\n\r\n/**\r\n * Tests if this Long's value differs from the specified's.\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.notEquals = function notEquals(other) {\r\n return !this.eq(/* validates */ other);\r\n};\r\n\r\n/**\r\n * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.neq = LongPrototype.notEquals;\r\n\r\n/**\r\n * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.ne = LongPrototype.notEquals;\r\n\r\n/**\r\n * Tests if this Long's value is less than the specified's.\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.lessThan = function lessThan(other) {\r\n return this.comp(/* validates */ other) < 0;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value is less than the specified's. This is an alias of {@link Long#lessThan}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.lt = LongPrototype.lessThan;\r\n\r\n/**\r\n * Tests if this Long's value is less than or equal the specified's.\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.lessThanOrEqual = function lessThanOrEqual(other) {\r\n return this.comp(/* validates */ other) <= 0;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.lte = LongPrototype.lessThanOrEqual;\r\n\r\n/**\r\n * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.le = LongPrototype.lessThanOrEqual;\r\n\r\n/**\r\n * Tests if this Long's value is greater than the specified's.\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.greaterThan = function greaterThan(other) {\r\n return this.comp(/* validates */ other) > 0;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value is greater than the specified's. This is an alias of {@link Long#greaterThan}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.gt = LongPrototype.greaterThan;\r\n\r\n/**\r\n * Tests if this Long's value is greater than or equal the specified's.\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.greaterThanOrEqual = function greaterThanOrEqual(other) {\r\n return this.comp(/* validates */ other) >= 0;\r\n};\r\n\r\n/**\r\n * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.gte = LongPrototype.greaterThanOrEqual;\r\n\r\n/**\r\n * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {boolean}\r\n */\r\nLongPrototype.ge = LongPrototype.greaterThanOrEqual;\r\n\r\n/**\r\n * Compares this Long's value with the specified's.\r\n * @param {!Long|number|string} other Other value\r\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\r\n * if the given one is greater\r\n */\r\nLongPrototype.compare = function compare(other) {\r\n if (!isLong(other))\r\n other = fromValue(other);\r\n if (this.eq(other))\r\n return 0;\r\n var thisNeg = this.isNegative(),\r\n otherNeg = other.isNegative();\r\n if (thisNeg && !otherNeg)\r\n return -1;\r\n if (!thisNeg && otherNeg)\r\n return 1;\r\n // At this point the sign bits are the same\r\n if (!this.unsigned)\r\n return this.sub(other).isNegative() ? -1 : 1;\r\n // Both are positive if at least one is unsigned\r\n return (other.high >>> 0) > (this.high >>> 0) || (other.high === this.high && (other.low >>> 0) > (this.low >>> 0)) ? -1 : 1;\r\n};\r\n\r\n/**\r\n * Compares this Long's value with the specified's. This is an alias of {@link Long#compare}.\r\n * @function\r\n * @param {!Long|number|string} other Other value\r\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\r\n * if the given one is greater\r\n */\r\nLongPrototype.comp = LongPrototype.compare;\r\n\r\n/**\r\n * Negates this Long's value.\r\n * @returns {!Long} Negated Long\r\n */\r\nLongPrototype.negate = function negate() {\r\n if (!this.unsigned && this.eq(MIN_VALUE))\r\n return MIN_VALUE;\r\n return this.not().add(ONE);\r\n};\r\n\r\n/**\r\n * Negates this Long's value. This is an alias of {@link Long#negate}.\r\n * @function\r\n * @returns {!Long} Negated Long\r\n */\r\nLongPrototype.neg = LongPrototype.negate;\r\n\r\n/**\r\n * Returns the sum of this and the specified Long.\r\n * @param {!Long|number|string} addend Addend\r\n * @returns {!Long} Sum\r\n */\r\nLongPrototype.add = function add(addend) {\r\n if (!isLong(addend))\r\n addend = fromValue(addend);\r\n\r\n // Divide each number into 4 chunks of 16 bits, and then sum the chunks.\r\n\r\n var a48 = this.high >>> 16;\r\n var a32 = this.high & 0xFFFF;\r\n var a16 = this.low >>> 16;\r\n var a00 = this.low & 0xFFFF;\r\n\r\n var b48 = addend.high >>> 16;\r\n var b32 = addend.high & 0xFFFF;\r\n var b16 = addend.low >>> 16;\r\n var b00 = addend.low & 0xFFFF;\r\n\r\n var c48 = 0, c32 = 0, c16 = 0, c00 = 0;\r\n c00 += a00 + b00;\r\n c16 += c00 >>> 16;\r\n c00 &= 0xFFFF;\r\n c16 += a16 + b16;\r\n c32 += c16 >>> 16;\r\n c16 &= 0xFFFF;\r\n c32 += a32 + b32;\r\n c48 += c32 >>> 16;\r\n c32 &= 0xFFFF;\r\n c48 += a48 + b48;\r\n c48 &= 0xFFFF;\r\n return fromBits((c16 << 16) | c00, (c48 << 16) | c32, this.unsigned);\r\n};\r\n\r\n/**\r\n * Returns the difference of this and the specified Long.\r\n * @param {!Long|number|string} subtrahend Subtrahend\r\n * @returns {!Long} Difference\r\n */\r\nLongPrototype.subtract = function subtract(subtrahend) {\r\n if (!isLong(subtrahend))\r\n subtrahend = fromValue(subtrahend);\r\n return this.add(subtrahend.neg());\r\n};\r\n\r\n/**\r\n * Returns the difference of this and the specified Long. This is an alias of {@link Long#subtract}.\r\n * @function\r\n * @param {!Long|number|string} subtrahend Subtrahend\r\n * @returns {!Long} Difference\r\n */\r\nLongPrototype.sub = LongPrototype.subtract;\r\n\r\n/**\r\n * Returns the product of this and the specified Long.\r\n * @param {!Long|number|string} multiplier Multiplier\r\n * @returns {!Long} Product\r\n */\r\nLongPrototype.multiply = function multiply(multiplier) {\r\n if (this.isZero())\r\n return ZERO;\r\n if (!isLong(multiplier))\r\n multiplier = fromValue(multiplier);\r\n\r\n // use wasm support if present\r\n if (wasm) {\r\n var low = wasm.mul(this.low,\r\n this.high,\r\n multiplier.low,\r\n multiplier.high);\r\n return fromBits(low, wasm.get_high(), this.unsigned);\r\n }\r\n\r\n if (multiplier.isZero())\r\n return ZERO;\r\n if (this.eq(MIN_VALUE))\r\n return multiplier.isOdd() ? MIN_VALUE : ZERO;\r\n if (multiplier.eq(MIN_VALUE))\r\n return this.isOdd() ? MIN_VALUE : ZERO;\r\n\r\n if (this.isNegative()) {\r\n if (multiplier.isNegative())\r\n return this.neg().mul(multiplier.neg());\r\n else\r\n return this.neg().mul(multiplier).neg();\r\n } else if (multiplier.isNegative())\r\n return this.mul(multiplier.neg()).neg();\r\n\r\n // If both longs are small, use float multiplication\r\n if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24))\r\n return fromNumber(this.toNumber() * multiplier.toNumber(), this.unsigned);\r\n\r\n // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products.\r\n // We can skip products that would overflow.\r\n\r\n var a48 = this.high >>> 16;\r\n var a32 = this.high & 0xFFFF;\r\n var a16 = this.low >>> 16;\r\n var a00 = this.low & 0xFFFF;\r\n\r\n var b48 = multiplier.high >>> 16;\r\n var b32 = multiplier.high & 0xFFFF;\r\n var b16 = multiplier.low >>> 16;\r\n var b00 = multiplier.low & 0xFFFF;\r\n\r\n var c48 = 0, c32 = 0, c16 = 0, c00 = 0;\r\n c00 += a00 * b00;\r\n c16 += c00 >>> 16;\r\n c00 &= 0xFFFF;\r\n c16 += a16 * b00;\r\n c32 += c16 >>> 16;\r\n c16 &= 0xFFFF;\r\n c16 += a00 * b16;\r\n c32 += c16 >>> 16;\r\n c16 &= 0xFFFF;\r\n c32 += a32 * b00;\r\n c48 += c32 >>> 16;\r\n c32 &= 0xFFFF;\r\n c32 += a16 * b16;\r\n c48 += c32 >>> 16;\r\n c32 &= 0xFFFF;\r\n c32 += a00 * b32;\r\n c48 += c32 >>> 16;\r\n c32 &= 0xFFFF;\r\n c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48;\r\n c48 &= 0xFFFF;\r\n return fromBits((c16 << 16) | c00, (c48 << 16) | c32, this.unsigned);\r\n};\r\n\r\n/**\r\n * Returns the product of this and the specified Long. This is an alias of {@link Long#multiply}.\r\n * @function\r\n * @param {!Long|number|string} multiplier Multiplier\r\n * @returns {!Long} Product\r\n */\r\nLongPrototype.mul = LongPrototype.multiply;\r\n\r\n/**\r\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\r\n * unsigned if this Long is unsigned.\r\n * @param {!Long|number|string} divisor Divisor\r\n * @returns {!Long} Quotient\r\n */\r\nLongPrototype.divide = function divide(divisor) {\r\n if (!isLong(divisor))\r\n divisor = fromValue(divisor);\r\n if (divisor.isZero())\r\n throw Error('division by zero');\r\n\r\n // use wasm support if present\r\n if (wasm) {\r\n // guard against signed division overflow: the largest\r\n // negative number / -1 would be 1 larger than the largest\r\n // positive number, due to two's complement.\r\n if (!this.unsigned &&\r\n this.high === -0x80000000 &&\r\n divisor.low === -1 && divisor.high === -1) {\r\n // be consistent with non-wasm code path\r\n return this;\r\n }\r\n var low = (this.unsigned ? wasm.div_u : wasm.div_s)(\r\n this.low,\r\n this.high,\r\n divisor.low,\r\n divisor.high\r\n );\r\n return fromBits(low, wasm.get_high(), this.unsigned);\r\n }\r\n\r\n if (this.isZero())\r\n return this.unsigned ? UZERO : ZERO;\r\n var approx, rem, res;\r\n if (!this.unsigned) {\r\n // This section is only relevant for signed longs and is derived from the\r\n // closure library as a whole.\r\n if (this.eq(MIN_VALUE)) {\r\n if (divisor.eq(ONE) || divisor.eq(NEG_ONE))\r\n return MIN_VALUE; // recall that -MIN_VALUE == MIN_VALUE\r\n else if (divisor.eq(MIN_VALUE))\r\n return ONE;\r\n else {\r\n // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|.\r\n var halfThis = this.shr(1);\r\n approx = halfThis.div(divisor).shl(1);\r\n if (approx.eq(ZERO)) {\r\n return divisor.isNegative() ? ONE : NEG_ONE;\r\n } else {\r\n rem = this.sub(divisor.mul(approx));\r\n res = approx.add(rem.div(divisor));\r\n return res;\r\n }\r\n }\r\n } else if (divisor.eq(MIN_VALUE))\r\n return this.unsigned ? UZERO : ZERO;\r\n if (this.isNegative()) {\r\n if (divisor.isNegative())\r\n return this.neg().div(divisor.neg());\r\n return this.neg().div(divisor).neg();\r\n } else if (divisor.isNegative())\r\n return this.div(divisor.neg()).neg();\r\n res = ZERO;\r\n } else {\r\n // The algorithm below has not been made for unsigned longs. It's therefore\r\n // required to take special care of the MSB prior to running it.\r\n if (!divisor.unsigned)\r\n divisor = divisor.toUnsigned();\r\n if (divisor.gt(this))\r\n return UZERO;\r\n if (divisor.gt(this.shru(1))) // 15 >>> 1 = 7 ; with divisor = 8 ; true\r\n return UONE;\r\n res = UZERO;\r\n }\r\n\r\n // Repeat the following until the remainder is less than other: find a\r\n // floating-point that approximates remainder / other *from below*, add this\r\n // into the result, and subtract it from the remainder. It is critical that\r\n // the approximate value is less than or equal to the real value so that the\r\n // remainder never becomes negative.\r\n rem = this;\r\n while (rem.gte(divisor)) {\r\n // Approximate the result of division. This may be a little greater or\r\n // smaller than the actual value.\r\n approx = Math.max(1, Math.floor(rem.toNumber() / divisor.toNumber()));\r\n\r\n // We will tweak the approximate result by changing it in the 48-th digit or\r\n // the smallest non-fractional digit, whichever is larger.\r\n var log2 = Math.ceil(Math.log(approx) / Math.LN2),\r\n delta = (log2 <= 48) ? 1 : pow_dbl(2, log2 - 48),\r\n\r\n // Decrease the approximation until it is smaller than the remainder. Note\r\n // that if it is too large, the product overflows and is negative.\r\n approxRes = fromNumber(approx),\r\n approxRem = approxRes.mul(divisor);\r\n while (approxRem.isNegative() || approxRem.gt(rem)) {\r\n approx -= delta;\r\n approxRes = fromNumber(approx, this.unsigned);\r\n approxRem = approxRes.mul(divisor);\r\n }\r\n\r\n // We know the answer can't be zero... and actually, zero would cause\r\n // infinite recursion since we would make no progress.\r\n if (approxRes.isZero())\r\n approxRes = ONE;\r\n\r\n res = res.add(approxRes);\r\n rem = rem.sub(approxRem);\r\n }\r\n return res;\r\n};\r\n\r\n/**\r\n * Returns this Long divided by the specified. This is an alias of {@link Long#divide}.\r\n * @function\r\n * @param {!Long|number|string} divisor Divisor\r\n * @returns {!Long} Quotient\r\n */\r\nLongPrototype.div = LongPrototype.divide;\r\n\r\n/**\r\n * Returns this Long modulo the specified.\r\n * @param {!Long|number|string} divisor Divisor\r\n * @returns {!Long} Remainder\r\n */\r\nLongPrototype.modulo = function modulo(divisor) {\r\n if (!isLong(divisor))\r\n divisor = fromValue(divisor);\r\n\r\n // use wasm support if present\r\n if (wasm) {\r\n var low = (this.unsigned ? wasm.rem_u : wasm.rem_s)(\r\n this.low,\r\n this.high,\r\n divisor.low,\r\n divisor.high\r\n );\r\n return fromBits(low, wasm.get_high(), this.unsigned);\r\n }\r\n\r\n return this.sub(this.div(divisor).mul(divisor));\r\n};\r\n\r\n/**\r\n * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.\r\n * @function\r\n * @param {!Long|number|string} divisor Divisor\r\n * @returns {!Long} Remainder\r\n */\r\nLongPrototype.mod = LongPrototype.modulo;\r\n\r\n/**\r\n * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.\r\n * @function\r\n * @param {!Long|number|string} divisor Divisor\r\n * @returns {!Long} Remainder\r\n */\r\nLongPrototype.rem = LongPrototype.modulo;\r\n\r\n/**\r\n * Returns the bitwise NOT of this Long.\r\n * @returns {!Long}\r\n */\r\nLongPrototype.not = function not() {\r\n return fromBits(~this.low, ~this.high, this.unsigned);\r\n};\r\n\r\n/**\r\n * Returns the bitwise AND of this Long and the specified.\r\n * @param {!Long|number|string} other Other Long\r\n * @returns {!Long}\r\n */\r\nLongPrototype.and = function and(other) {\r\n if (!isLong(other))\r\n other = fromValue(other);\r\n return fromBits(this.low & other.low, this.high & other.high, this.unsigned);\r\n};\r\n\r\n/**\r\n * Returns the bitwise OR of this Long and the specified.\r\n * @param {!Long|number|string} other Other Long\r\n * @returns {!Long}\r\n */\r\nLongPrototype.or = function or(other) {\r\n if (!isLong(other))\r\n other = fromValue(other);\r\n return fromBits(this.low | other.low, this.high | other.high, this.unsigned);\r\n};\r\n\r\n/**\r\n * Returns the bitwise XOR of this Long and the given one.\r\n * @param {!Long|number|string} other Other Long\r\n * @returns {!Long}\r\n */\r\nLongPrototype.xor = function xor(other) {\r\n if (!isLong(other))\r\n other = fromValue(other);\r\n return fromBits(this.low ^ other.low, this.high ^ other.high, this.unsigned);\r\n};\r\n\r\n/**\r\n * Returns this Long with bits shifted to the left by the given amount.\r\n * @param {number|!Long} numBits Number of bits\r\n * @returns {!Long} Shifted Long\r\n */\r\nLongPrototype.shiftLeft = function shiftLeft(numBits) {\r\n if (isLong(numBits))\r\n numBits = numBits.toInt();\r\n if ((numBits &= 63) === 0)\r\n return this;\r\n else if (numBits < 32)\r\n return fromBits(this.low << numBits, (this.high << numBits) | (this.low >>> (32 - numBits)), this.unsigned);\r\n else\r\n return fromBits(0, this.low << (numBits - 32), this.unsigned);\r\n};\r\n\r\n/**\r\n * Returns this Long with bits shifted to the left by the given amount. This is an alias of {@link Long#shiftLeft}.\r\n * @function\r\n * @param {number|!Long} numBits Number of bits\r\n * @returns {!Long} Shifted Long\r\n */\r\nLongPrototype.shl = LongPrototype.shiftLeft;\r\n\r\n/**\r\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\r\n * @param {number|!Long} numBits Number of bits\r\n * @returns {!Long} Shifted Long\r\n */\r\nLongPrototype.shiftRight = function shiftRight(numBits) {\r\n if (isLong(numBits))\r\n numBits = numBits.toInt();\r\n if ((numBits &= 63) === 0)\r\n return this;\r\n else if (numBits < 32)\r\n return fromBits((this.low >>> numBits) | (this.high << (32 - numBits)), this.high >> numBits, this.unsigned);\r\n else\r\n return fromBits(this.high >> (numBits - 32), this.high >= 0 ? 0 : -1, this.unsigned);\r\n};\r\n\r\n/**\r\n * Returns this Long with bits arithmetically shifted to the right by the given amount. This is an alias of {@link Long#shiftRight}.\r\n * @function\r\n * @param {number|!Long} numBits Number of bits\r\n * @returns {!Long} Shifted Long\r\n */\r\nLongPrototype.shr = LongPrototype.shiftRight;\r\n\r\n/**\r\n * Returns this Long with bits logically shifted to the right by the given amount.\r\n * @param {number|!Long} numBits Number of bits\r\n * @returns {!Long} Shifted Long\r\n */\r\nLongPrototype.shiftRightUnsigned = function shiftRightUnsigned(numBits) {\r\n if (isLong(numBits))\r\n numBits = numBits.toInt();\r\n numBits &= 63;\r\n if (numBits === 0)\r\n return this;\r\n else {\r\n var high = this.high;\r\n if (numBits < 32) {\r\n var low = this.low;\r\n return fromBits((low >>> numBits) | (high << (32 - numBits)), high >>> numBits, this.unsigned);\r\n } else if (numBits === 32)\r\n return fromBits(high, 0, this.unsigned);\r\n else\r\n return fromBits(high >>> (numBits - 32), 0, this.unsigned);\r\n }\r\n};\r\n\r\n/**\r\n * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.\r\n * @function\r\n * @param {number|!Long} numBits Number of bits\r\n * @returns {!Long} Shifted Long\r\n */\r\nLongPrototype.shru = LongPrototype.shiftRightUnsigned;\r\n\r\n/**\r\n * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.\r\n * @function\r\n * @param {number|!Long} numBits Number of bits\r\n * @returns {!Long} Shifted Long\r\n */\r\nLongPrototype.shr_u = LongPrototype.shiftRightUnsigned;\r\n\r\n/**\r\n * Converts this Long to signed.\r\n * @returns {!Long} Signed long\r\n */\r\nLongPrototype.toSigned = function toSigned() {\r\n if (!this.unsigned)\r\n return this;\r\n return fromBits(this.low, this.high, false);\r\n};\r\n\r\n/**\r\n * Converts this Long to unsigned.\r\n * @returns {!Long} Unsigned long\r\n */\r\nLongPrototype.toUnsigned = function toUnsigned() {\r\n if (this.unsigned)\r\n return this;\r\n return fromBits(this.low, this.high, true);\r\n};\r\n\r\n/**\r\n * Converts this Long to its byte representation.\r\n * @param {boolean=} le Whether little or big endian, defaults to big endian\r\n * @returns {!Array.<number>} Byte representation\r\n */\r\nLongPrototype.toBytes = function toBytes(le) {\r\n return le ? this.toBytesLE() : this.toBytesBE();\r\n};\r\n\r\n/**\r\n * Converts this Long to its little endian byte representation.\r\n * @returns {!Array.<number>} Little endian byte representation\r\n */\r\nLongPrototype.toBytesLE = function toBytesLE() {\r\n var hi = this.high,\r\n lo = this.low;\r\n return [\r\n lo & 0xff,\r\n lo >>> 8 & 0xff,\r\n lo >>> 16 & 0xff,\r\n lo >>> 24 ,\r\n hi & 0xff,\r\n hi >>> 8 & 0xff,\r\n hi >>> 16 & 0xff,\r\n hi >>> 24\r\n ];\r\n};\r\n\r\n/**\r\n * Converts this Long to its big endian byte representation.\r\n * @returns {!Array.<number>} Big endian byte representation\r\n */\r\nLongPrototype.toBytesBE = function toBytesBE() {\r\n var hi = this.high,\r\n lo = this.low;\r\n return [\r\n hi >>> 24 ,\r\n hi >>> 16 & 0xff,\r\n hi >>> 8 & 0xff,\r\n hi & 0xff,\r\n lo >>> 24 ,\r\n lo >>> 16 & 0xff,\r\n lo >>> 8 & 0xff,\r\n lo & 0xff\r\n ];\r\n};\r\n\r\n/**\r\n * Creates a Long from its byte representation.\r\n * @param {!Array.<number>} bytes Byte representation\r\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\r\n * @param {boolean=} le Whether little or big endian, defaults to big endian\r\n * @returns {Long} The corresponding Long value\r\n */\r\nLong.fromBytes = function fromBytes(bytes, unsigned, le) {\r\n return le ? Long.fromBytesLE(bytes, unsigned) : Long.fromBytesBE(bytes, unsigned);\r\n};\r\n\r\n/**\r\n * Creates a Long from its little endian byte representation.\r\n * @param {!Array.<number>} bytes Little endian byte representation\r\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\r\n * @returns {Long} The corresponding Long value\r\n */\r\nLong.fromBytesLE = function fromBytesLE(bytes, unsigned) {\r\n return new Long(\r\n bytes[0] |\r\n bytes[1] << 8 |\r\n bytes[2] << 16 |\r\n bytes[3] << 24,\r\n bytes[4] |\r\n bytes[5] << 8 |\r\n bytes[6] << 16 |\r\n bytes[7] << 24,\r\n unsigned\r\n );\r\n};\r\n\r\n/**\r\n * Creates a Long from its big endian byte representation.\r\n * @param {!Array.<number>} bytes Big endian byte representation\r\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\r\n * @returns {Long} The corresponding Long value\r\n */\r\nLong.fromBytesBE = function fromBytesBE(bytes, unsigned) {\r\n return new Long(\r\n bytes[4] << 24 |\r\n bytes[5] << 16 |\r\n bytes[6] << 8 |\r\n bytes[7],\r\n bytes[0] << 24 |\r\n bytes[1] << 16 |\r\n bytes[2] << 8 |\r\n bytes[3],\r\n unsigned\r\n );\r\n};\r\n", "'use strict';\n\nvar has = Object.prototype.hasOwnProperty\n , prefix = '~';\n\n/**\n * Constructor to create a storage for our `EE` objects.\n * An `Events` instance is a plain object whose properties are event names.\n *\n * @constructor\n * @private\n */\nfunction Events() {}\n\n//\n// We try to not inherit from `Object.prototype`. In some engines creating an\n// instance in this way is faster than calling `Object.create(null)` directly.\n// If `Object.create(null)` is not supported we prefix the event names with a\n// character to make sure that the built-in object properties are not\n// overridden or used as an attack vector.\n//\nif (Object.create) {\n Events.prototype = Object.create(null);\n\n //\n // This hack is needed because the `__proto__` property is still inherited in\n // some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.\n //\n if (!new Events().__proto__) prefix = false;\n}\n\n/**\n * Representation of a single event listener.\n *\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} [once=false] Specify if the listener is a one-time listener.\n * @constructor\n * @private\n */\nfunction EE(fn, context, once) {\n this.fn = fn;\n this.context = context;\n this.once = once || false;\n}\n\n/**\n * Add a listener for a given event.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} once Specify if the listener is a one-time listener.\n * @returns {EventEmitter}\n * @private\n */\nfunction addListener(emitter, event, fn, context, once) {\n if (typeof fn !== 'function') {\n throw new TypeError('The listener must be a function');\n }\n\n var listener = new EE(fn, context || emitter, once)\n , evt = prefix ? prefix + event : event;\n\n if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;\n else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);\n else emitter._events[evt] = [emitter._events[evt], listener];\n\n return emitter;\n}\n\n/**\n * Clear event by name.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} evt The Event name.\n * @private\n */\nfunction clearEvent(emitter, evt) {\n if (--emitter._eventsCount === 0) emitter._events = new Events();\n else delete emitter._events[evt];\n}\n\n/**\n * Minimal `EventEmitter` interface that is molded against the Node.js\n * `EventEmitter` interface.\n *\n * @constructor\n * @public\n */\nfunction EventEmitter() {\n this._events = new Events();\n this._eventsCount = 0;\n}\n\n/**\n * Return an array listing the events for which the emitter has registered\n * listeners.\n *\n * @returns {Array}\n * @public\n */\nEventEmitter.prototype.eventNames = function eventNames() {\n var names = []\n , events\n , name;\n\n if (this._eventsCount === 0) return names;\n\n for (name in (events = this._events)) {\n if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);\n }\n\n if (Object.getOwnPropertySymbols) {\n return names.concat(Object.getOwnPropertySymbols(events));\n }\n\n return names;\n};\n\n/**\n * Return the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Array} The registered listeners.\n * @public\n */\nEventEmitter.prototype.listeners = function listeners(event) {\n var evt = prefix ? prefix + event : event\n , handlers = this._events[evt];\n\n if (!handlers) return [];\n if (handlers.fn) return [handlers.fn];\n\n for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {\n ee[i] = handlers[i].fn;\n }\n\n return ee;\n};\n\n/**\n * Return the number of listeners listening to a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Number} The number of listeners.\n * @public\n */\nEventEmitter.prototype.listenerCount = function listenerCount(event) {\n var evt = prefix ? prefix + event : event\n , listeners = this._events[evt];\n\n if (!listeners) return 0;\n if (listeners.fn) return 1;\n return listeners.length;\n};\n\n/**\n * Calls each of the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Boolean} `true` if the event had listeners, else `false`.\n * @public\n */\nEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\n var evt = prefix ? prefix + event : event;\n\n if (!this._events[evt]) return false;\n\n var listeners = this._events[evt]\n , len = arguments.length\n , args\n , i;\n\n if (listeners.fn) {\n if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);\n\n switch (len) {\n case 1: return listeners.fn.call(listeners.context), true;\n case 2: return listeners.fn.call(listeners.context, a1), true;\n case 3: return listeners.fn.call(listeners.context, a1, a2), true;\n case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;\n case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\n case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\n }\n\n for (i = 1, args = new Array(len -1); i < len; i++) {\n args[i - 1] = arguments[i];\n }\n\n listeners.fn.apply(listeners.context, args);\n } else {\n var length = listeners.length\n , j;\n\n for (i = 0; i < length; i++) {\n if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);\n\n switch (len) {\n case 1: listeners[i].fn.call(listeners[i].context); break;\n case 2: listeners[i].fn.call(listeners[i].context, a1); break;\n case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;\n case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;\n default:\n if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {\n args[j - 1] = arguments[j];\n }\n\n listeners[i].fn.apply(listeners[i].context, args);\n }\n }\n }\n\n return true;\n};\n\n/**\n * Add a listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.on = function on(event, fn, context) {\n return addListener(this, event, fn, context, false);\n};\n\n/**\n * Add a one-time listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.once = function once(event, fn, context) {\n return addListener(this, event, fn, context, true);\n};\n\n/**\n * Remove the listeners of a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn Only remove the listeners that match this function.\n * @param {*} context Only remove the listeners that have this context.\n * @param {Boolean} once Only remove one-time listeners.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {\n var evt = prefix ? prefix + event : event;\n\n if (!this._events[evt]) return this;\n if (!fn) {\n clearEvent(this, evt);\n return this;\n }\n\n var listeners = this._events[evt];\n\n if (listeners.fn) {\n if (\n listeners.fn === fn &&\n (!once || listeners.once) &&\n (!context || listeners.context === context)\n ) {\n clearEvent(this, evt);\n }\n } else {\n for (var i = 0, events = [], length = listeners.length; i < length; i++) {\n if (\n listeners[i].fn !== fn ||\n (once && !listeners[i].once) ||\n (context && listeners[i].context !== context)\n ) {\n events.push(listeners[i]);\n }\n }\n\n //\n // Reset the array, or remove it completely if we have no more listeners.\n //\n if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;\n else clearEvent(this, evt);\n }\n\n return this;\n};\n\n/**\n * Remove all listeners, or those of the specified event.\n *\n * @param {(String|Symbol)} [event] The event name.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\n var evt;\n\n if (event) {\n evt = prefix ? prefix + event : event;\n if (this._events[evt]) clearEvent(this, evt);\n } else {\n this._events = new Events();\n this._eventsCount = 0;\n }\n\n return this;\n};\n\n//\n// Alias methods names because people roll like that.\n//\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\nEventEmitter.prototype.addListener = EventEmitter.prototype.on;\n\n//\n// Expose the prefix.\n//\nEventEmitter.prefixed = prefix;\n\n//\n// Allow `EventEmitter` to be imported as module namespace.\n//\nEventEmitter.EventEmitter = EventEmitter;\n\n//\n// Expose the module.\n//\nif ('undefined' !== typeof module) {\n module.exports = EventEmitter;\n}\n", "/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst NODE_MODE = false;\nconst global = NODE_MODE ? globalThis : window;\n\n/**\n * Whether the current browser supports `adoptedStyleSheets`.\n */\nexport const supportsAdoptingStyleSheets: boolean =\n global.ShadowRoot &&\n (global.ShadyCSS === undefined || global.ShadyCSS.nativeShadow) &&\n 'adoptedStyleSheets' in Document.prototype &&\n 'replace' in CSSStyleSheet.prototype;\n\n/**\n * A CSSResult or native CSSStyleSheet.\n *\n * In browsers that support constructible CSS style sheets, CSSStyleSheet\n * object can be used for styling along side CSSResult from the `css`\n * template tag.\n */\nexport type CSSResultOrNative = CSSResult | CSSStyleSheet;\n\nexport type CSSResultArray = Array<CSSResultOrNative | CSSResultArray>;\n\n/**\n * A single CSSResult, CSSStyleSheet, or an array or nested arrays of those.\n */\nexport type CSSResultGroup = CSSResultOrNative | CSSResultArray;\n\nconst constructionToken = Symbol();\n\nconst cssTagCache = new WeakMap<TemplateStringsArray, CSSStyleSheet>();\n\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nexport class CSSResult {\n // This property needs to remain unminified.\n ['_$cssResult$'] = true;\n readonly cssText: string;\n private _styleSheet?: CSSStyleSheet;\n private _strings: TemplateStringsArray | undefined;\n\n private constructor(\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ) {\n if (safeToken !== constructionToken) {\n throw new Error(\n 'CSSResult is not constructable. Use `unsafeCSS` or `css` instead.'\n );\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet(): CSSStyleSheet | undefined {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(\n this.cssText\n );\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n\n toString(): string {\n return this.cssText;\n }\n}\n\ntype ConstructableCSSResult = CSSResult & {\n new (\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ): CSSResult;\n};\n\nconst textFromCSSResult = (value: CSSResultGroup | number) => {\n // This property needs to remain unminified.\n if ((value as CSSResult)['_$cssResult$'] === true) {\n return (value as CSSResult).cssText;\n } else if (typeof value === 'number') {\n return value;\n } else {\n throw new Error(\n `Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`\n );\n }\n};\n\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nexport const unsafeCSS = (value: unknown) =>\n new (CSSResult as ConstructableCSSResult)(\n typeof value === 'string' ? value : String(value),\n undefined,\n constructionToken\n );\n\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an expression.\n */\nexport const css = (\n strings: TemplateStringsArray,\n ...values: (CSSResultGroup | number)[]\n): CSSResult => {\n const cssText =\n strings.length === 1\n ? strings[0]\n : values.reduce(\n (acc, v, idx) => acc + textFromCSSResult(v) + strings[idx + 1],\n strings[0]\n );\n return new (CSSResult as ConstructableCSSResult)(\n cssText,\n strings,\n constructionToken\n );\n};\n\n/**\n * Applies the given styles to a `shadowRoot`. When Shadow DOM is\n * available but `adoptedStyleSheets` is not, styles are appended to the\n * `shadowRoot` to [mimic spec behavior](https://wicg.github.io/construct-stylesheets/#using-constructed-stylesheets).\n * Note, when shimming is used, any styles that are subsequently placed into\n * the shadowRoot should be placed *before* any shimmed adopted styles. This\n * will match spec behavior that gives adopted sheets precedence over styles in\n * shadowRoot.\n */\nexport const adoptStyles = (\n renderRoot: ShadowRoot,\n styles: Array<CSSResultOrNative>\n) => {\n if (supportsAdoptingStyleSheets) {\n (renderRoot as ShadowRoot).adoptedStyleSheets = styles.map((s) =>\n s instanceof CSSStyleSheet ? s : s.styleSheet!\n );\n } else {\n styles.forEach((s) => {\n const style = document.createElement('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const nonce = (global as any)['litNonce'];\n if (nonce !== undefined) {\n style.setAttribute('nonce', nonce);\n }\n style.textContent = (s as CSSResult).cssText;\n renderRoot.appendChild(style);\n });\n }\n};\n\nconst cssResultFromStyleSheet = (sheet: CSSStyleSheet) => {\n let cssText = '';\n for (const rule of sheet.cssRules) {\n cssText += rule.cssText;\n }\n return unsafeCSS(cssText);\n};\n\nexport const getCompatibleStyle =\n supportsAdoptingStyleSheets ||\n (NODE_MODE && global.CSSStyleSheet === undefined)\n ? (s: CSSResultOrNative) => s\n : (s: CSSResultOrNative) =>\n s instanceof CSSStyleSheet ? cssResultFromStyleSheet(s) : s;\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\nimport {\n getCompatibleStyle,\n adoptStyles,\n CSSResultGroup,\n CSSResultOrNative,\n} from './css-tag.js';\nimport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\nexport * from './css-tag.js';\nexport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\nconst NODE_MODE = false;\nconst global = NODE_MODE ? globalThis : window;\n\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\n\nconst DEV_MODE = true;\n\nlet requestUpdateThenable: (name: string) => {\n then: (\n onfulfilled?: (value: boolean) => void,\n _onrejected?: () => void\n ) => void;\n};\n\nlet issueWarning: (code: string, warning: string) => void;\n\nconst trustedTypes = (global as unknown as {trustedTypes?: {emptyScript: ''}})\n .trustedTypes;\n\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings: Set<string | undefined> = (global.litIssuedWarnings ??=\n new Set());\n\n // Issue a warning, if we haven't already.\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning(\n 'polyfill-support-missing',\n `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`\n );\n }\n\n requestUpdateThenable = (name) => ({\n then: (\n onfulfilled?: (value: boolean) => void,\n _onrejected?: () => void\n ) => {\n issueWarning(\n 'request-update-promise',\n `The \\`requestUpdate\\` method should no longer return a Promise but ` +\n `does so on \\`${name}\\`. Use \\`updateComplete\\` instead.`\n );\n if (onfulfilled !== undefined) {\n onfulfilled(false);\n }\n },\n });\n}\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace ReactiveUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry = Update;\n export interface Update {\n kind: 'update';\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: ReactiveUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent<ReactiveUnstable.DebugLog.Entry>('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = <P extends PropertyKey>(\n prop: P,\n _obj: unknown\n): P => prop;\n\n/**\n * Converts property values to and from attribute values.\n */\nexport interface ComplexAttributeConverter<Type = unknown, TypeHint = unknown> {\n /**\n * Called to convert an attribute value to a property\n * value.\n */\n fromAttribute?(value: string | null, type?: TypeHint): Type;\n\n /**\n * Called to convert a property value to an attribute\n * value.\n *\n * It returns unknown instead of string, to be compatible with\n * https://github.com/WICG/trusted-types (and similar efforts).\n */\n toAttribute?(value: Type, type?: TypeHint): unknown;\n}\n\ntype AttributeConverter<Type = unknown, TypeHint = unknown> =\n | ComplexAttributeConverter<Type>\n | ((value: string | null, type?: TypeHint) => Type);\n\n/**\n * Defines options for a property accessor.\n */\nexport interface PropertyDeclaration<Type = unknown, TypeHint = unknown> {\n /**\n * When set to `true`, indicates the property is internal private state. The\n * property should not be set by users. When using TypeScript, this property\n * should be marked as `private` or `protected`, and it is also a common\n * practice to use a leading `_` in the name. The property is not added to\n * `observedAttributes`.\n */\n readonly state?: boolean;\n\n /**\n * Indicates how and whether the property becomes an observed attribute.\n * If the value is `false`, the property is not added to `observedAttributes`.\n * If true or absent, the lowercased property name is observed (e.g. `fooBar`\n * becomes `foobar`). If a string, the string value is observed (e.g\n * `attribute: 'foo-bar'`).\n */\n readonly attribute?: boolean | string;\n\n /**\n * Indicates the type of the property. This is used only as a hint for the\n * `converter` to determine how to convert the attribute\n * to/from a property.\n */\n readonly type?: TypeHint;\n\n /**\n * Indicates how to convert the attribute to/from a property. If this value\n * is a function, it is used to convert the attribute value a the property\n * value. If it's an object, it can have keys for `fromAttribute` and\n * `toAttribute`. If no `toAttribute` function is provided and\n * `reflect` is set to `true`, the property value is set directly to the\n * attribute. A default `converter` is used if none is provided; it supports\n * `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,\n * when a property changes and the converter is used to update the attribute,\n * the property is never updated again as a result of the attribute changing,\n * and vice versa.\n */\n readonly converter?: AttributeConverter<Type, TypeHint>;\n\n /**\n * Indicates if the property should reflect to an attribute.\n * If `true`, when the property is set, the attribute is set using the\n * attribute name determined according to the rules for the `attribute`\n * property option and the value of the property converted using the rules\n * from the `converter` property option.\n */\n readonly reflect?: boolean;\n\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n\n /**\n * Indicates whether an accessor will be created for this property. By\n * default, an accessor will be generated for this property that requests an\n * update when set. If this flag is `true`, no accessor will be created, and\n * it will be the user's responsibility to call\n * `this.requestUpdate(propertyName, oldValue)` to request an update when\n * the property changes.\n */\n readonly noAccessor?: boolean;\n}\n\n/**\n * Map of properties to PropertyDeclaration options. For each property an\n * accessor is made, and the property is processed according to the\n * PropertyDeclaration options.\n */\nexport interface PropertyDeclarations {\n readonly [key: string]: PropertyDeclaration;\n}\n\ntype PropertyDeclarationMap = Map<PropertyKey, PropertyDeclaration>;\n\ntype AttributeMap = Map<string, PropertyKey>;\n\n/**\n * A Map of property keys to values.\n *\n * Takes an optional type parameter T, which when specified as a non-any,\n * non-unknown type, will make the Map more strongly-typed, associating the map\n * keys with their corresponding value type on T.\n *\n * Use `PropertyValues<this>` when overriding ReactiveElement.update() and\n * other lifecycle methods in order to get stronger type-checking on keys\n * and values.\n */\n// This type is conditional so that if the parameter T is not specified, or\n// is `any`, the type will include `Map<PropertyKey, unknown>`. Since T is not\n// given in the uses of PropertyValues in this file, all uses here fallback to\n// meaning `Map<PropertyKey, unknown>`, but if a developer uses\n// `PropertyValues<this>` (or any other value for T) they will get a\n// strongly-typed Map type.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type PropertyValues<T = any> = T extends object\n ? PropertyValueMap<T>\n : Map<PropertyKey, unknown>;\n\n/**\n * Do not use, instead prefer {@linkcode PropertyValues}.\n */\n// This type must be exported such that JavaScript generated by the Google\n// Closure Compiler can import a type reference.\nexport interface PropertyValueMap<T> extends Map<PropertyKey, unknown> {\n get<K extends keyof T>(k: K): T[K];\n set<K extends keyof T>(key: K, value: T[K]): this;\n has<K extends keyof T>(k: K): boolean;\n delete<K extends keyof T>(k: K): boolean;\n}\n\nexport const defaultConverter: ComplexAttributeConverter = {\n toAttribute(value: unknown, type?: unknown): unknown {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n\n fromAttribute(value: string | null, type?: unknown) {\n let fromValue: unknown = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value!) as unknown;\n } catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n\nexport interface HasChanged {\n (value: unknown, old: unknown): boolean;\n}\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nexport const notEqual: HasChanged = (value: unknown, old: unknown): boolean => {\n // This ensures (old==NaN, value==NaN) always returns false\n return old !== value && (old === old || value === value);\n};\n\nconst defaultPropertyDeclaration: PropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n hasChanged: notEqual,\n};\n\n/**\n * The Closure JS Compiler doesn't currently have good support for static\n * property semantics where \"this\" is dynamic (e.g.\n * https://github.com/google/closure-compiler/issues/3177 and others) so we use\n * this hack to bypass any rewriting by the compiler.\n */\nconst finalized = 'finalized';\n\n/**\n * A string representing one of the supported dev mode warning categories.\n */\nexport type WarningKind = 'change-in-update' | 'migration';\n\nexport type Initializer = (element: ReactiveElement) => void;\n\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclassers to render updates as desired.\n * @noInheritDoc\n */\nexport abstract class ReactiveElement\n // In the Node build, this `extends` clause will be substituted with\n // `(globalThis.HTMLElement ?? HTMLElement)`.\n //\n // This way, we will first prefer any global `HTMLElement` polyfill that the\n // user has assigned, and then fall back to the `HTMLElement` shim which has\n // been imported (see note at the top of this file about how this import is\n // generated by Rollup). Note that the `HTMLElement` variable has been\n // shadowed by this import, so it no longer refers to the global.\n extends HTMLElement\n implements ReactiveControllerHost\n{\n // Note: these are patched in only in DEV_MODE.\n /**\n * Read or set all the enabled warning categories for this class.\n *\n * This property is only used in development builds.\n *\n * @nocollapse\n * @category dev-mode\n */\n static enabledWarnings?: WarningKind[];\n\n /**\n * Enable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Enable for all ReactiveElement subclasses\n * ReactiveElement.enableWarning?.('migration');\n *\n * // Enable for only MyElement and subclasses\n * MyElement.enableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static enableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Disable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Disable for all ReactiveElement subclasses\n * ReactiveElement.disableWarning?.('migration');\n *\n * // Disable for only MyElement and subclasses\n * MyElement.disableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static disableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer: Initializer) {\n this.finalize();\n (this._initializers ??= []).push(initializer);\n }\n\n static _initializers?: Initializer[];\n\n /*\n * Due to closure compiler ES6 compilation bugs, @nocollapse is required on\n * all static methods and properties with initializers. Reference:\n * - https://github.com/google/closure-compiler/issues/1776\n */\n\n /**\n * Maps attribute names to properties; for example `foobar` attribute to\n * `fooBar` property. Created lazily on user subclasses when finalizing the\n * class.\n * @nocollapse\n */\n private static __attributeToPropertyMap: AttributeMap;\n\n /**\n * Marks class as having finished creating properties.\n */\n protected static [finalized] = true;\n\n /**\n * Memoized list of all element properties, including any superclass properties.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category properties\n */\n static elementProperties: PropertyDeclarationMap = new Map();\n\n /**\n * User-supplied object that maps property names to `PropertyDeclaration`\n * objects containing options for configuring reactive properties. When\n * a reactive property is set the element will update and render.\n *\n * By default properties are public fields, and as such, they should be\n * considered as primarily settable by element users, either via attribute or\n * the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the `state: true` option. Properties\n * marked as `state` do not reflect from the corresponding attribute\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating\n * public properties should typically not be done for non-primitive (object or\n * array) properties. In other cases when an element needs to manage state, a\n * private property set with the `state: true` option should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n * @nocollapse\n * @category properties\n */\n static properties: PropertyDeclarations;\n\n /**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\n static elementStyles: Array<CSSResultOrNative> = [];\n\n /**\n * Array of styles to apply to the element. The styles should be defined\n * using the {@linkcode css} tag function, via constructible stylesheets, or\n * imported from native CSS module scripts.\n *\n * Note on Content Security Policy:\n *\n * Element styles are implemented with `<style>` tags when the browser doesn't\n * support adopted StyleSheets. To use such `<style>` tags with the style-src\n * CSP directive, the style-src value must either include 'unsafe-inline' or\n * `nonce-<base64-value>` with `<base64-value>` replaced be a server-generated\n * nonce.\n *\n * To provide a nonce to use on generated `<style>` elements, set\n * `window.litNonce` to a server-generated nonce in your page's HTML, before\n * loading application code:\n *\n * ```html\n * <script>\n * // Generated and unique per request:\n * window.litNonce = 'a1b2c3d4';\n * </script>\n * ```\n * @nocollapse\n * @category styles\n */\n static styles?: CSSResultGroup;\n\n /**\n * The set of properties defined by this class that caused an accessor to be\n * added during `createProperty`.\n * @nocollapse\n */\n private static __reactivePropertyKeys?: Set<PropertyKey>;\n\n /**\n * Returns a list of attributes corresponding to the registered properties.\n * @nocollapse\n * @category attributes\n */\n static get observedAttributes() {\n // note: piggy backing on this to ensure we're finalized.\n this.finalize();\n const attributes: string[] = [];\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n this.elementProperties.forEach((v, p) => {\n const attr = this.__attributeNameForProperty(p, v);\n if (attr !== undefined) {\n this.__attributeToPropertyMap.set(attr, p);\n attributes.push(attr);\n }\n });\n return attributes;\n }\n\n /**\n * Creates a property accessor on the element prototype if one does not exist\n * and stores a {@linkcode PropertyDeclaration} for the property with the\n * given options. The property setter calls the property's `hasChanged`\n * property option or uses a strict identity check to determine whether or not\n * to request an update.\n *\n * This method may be overridden to customize properties; however,\n * when doing so, it's important to call `super.createProperty` to ensure\n * the property is setup correctly. This method calls\n * `getPropertyDescriptor` internally to get a descriptor to install.\n * To customize what properties do when they are get or set, override\n * `getPropertyDescriptor`. To customize the options for a property,\n * implement `createProperty` like this:\n *\n * ```ts\n * static createProperty(name, options) {\n * options = Object.assign(options, {myOption: true});\n * super.createProperty(name, options);\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n static createProperty(\n name: PropertyKey,\n options: PropertyDeclaration = defaultPropertyDeclaration\n ) {\n // if this is a state property, force the attribute to false.\n if (options.state) {\n // Cast as any since this is readonly.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (options as any).attribute = false;\n }\n // Note, since this can be called by the `@property` decorator which\n // is called before `finalize`, we ensure finalization has been kicked off.\n this.finalize();\n this.elementProperties.set(name, options);\n // Do not generate an accessor if the prototype already has one, since\n // it would be lost otherwise and that would never be the user's intention;\n // Instead, we expect users to call `requestUpdate` themselves from\n // user-defined accessors. Note that if the super has an accessor we will\n // still overwrite it\n if (!options.noAccessor && !this.prototype.hasOwnProperty(name)) {\n const key = typeof name === 'symbol' ? Symbol() : `__${name}`;\n const descriptor = this.getPropertyDescriptor(name, key, options);\n if (descriptor !== undefined) {\n Object.defineProperty(this.prototype, name, descriptor);\n if (DEV_MODE) {\n // If this class doesn't have its own set, create one and initialize\n // with the values in the set from the nearest ancestor class, if any.\n if (!this.hasOwnProperty('__reactivePropertyKeys')) {\n this.__reactivePropertyKeys = new Set(\n this.__reactivePropertyKeys ?? []\n );\n }\n this.__reactivePropertyKeys!.add(name);\n }\n }\n }\n }\n\n /**\n * Returns a property descriptor to be defined on the given named property.\n * If no descriptor is returned, the property will not become an accessor.\n * For example,\n *\n * ```ts\n * class MyElement extends LitElement {\n * static getPropertyDescriptor(name, key, options) {\n * const defaultDescriptor =\n * super.getPropertyDescriptor(name, key, options);\n * const setter = defaultDescriptor.set;\n * return {\n * get: defaultDescriptor.get,\n * set(value) {\n * setter.call(this, value);\n * // custom action.\n * },\n * configurable: true,\n * enumerable: true\n * }\n * }\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n protected static getPropertyDescriptor(\n name: PropertyKey,\n key: string | symbol,\n options: PropertyDeclaration\n ): PropertyDescriptor | undefined {\n return {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get(): any {\n return (this as {[key: string]: unknown})[key as string];\n },\n set(this: ReactiveElement, value: unknown) {\n const oldValue = (this as {} as {[key: string]: unknown})[\n name as string\n ];\n (this as {} as {[key: string]: unknown})[key as string] = value;\n (this as unknown as ReactiveElement).requestUpdate(\n name,\n oldValue,\n options\n );\n },\n configurable: true,\n enumerable: true,\n };\n }\n\n /**\n * Returns the property options associated with the given property.\n * These options are defined with a `PropertyDeclaration` via the `properties`\n * object or the `@property` decorator and are registered in\n * `createProperty(...)`.\n *\n * Note, this method should be considered \"final\" and not overridden. To\n * customize the options for a given property, override\n * {@linkcode createProperty}.\n *\n * @nocollapse\n * @final\n * @category properties\n */\n static getPropertyOptions(name: PropertyKey) {\n return this.elementProperties.get(name) || defaultPropertyDeclaration;\n }\n\n /**\n * Creates property accessors for registered properties, sets up element\n * styling, and ensures any superclasses are also finalized. Returns true if\n * the element was finalized.\n * @nocollapse\n */\n protected static finalize() {\n if (this.hasOwnProperty(finalized)) {\n return false;\n }\n this[finalized] = true;\n // finalize any superclasses\n const superCtor = Object.getPrototypeOf(this) as typeof ReactiveElement;\n superCtor.finalize();\n // Create own set of initializers for this class if any exist on the\n // superclass and copy them down. Note, for a small perf boost, avoid\n // creating initializers unless needed.\n if (superCtor._initializers !== undefined) {\n this._initializers = [...superCtor._initializers];\n }\n this.elementProperties = new Map(superCtor.elementProperties);\n // initialize Map populated in observedAttributes\n this.__attributeToPropertyMap = new Map();\n // make any properties\n // Note, only process \"own\" properties since this element will inherit\n // any properties defined on the superClass, and finalization ensures\n // the entire prototype chain is finalized.\n if (this.hasOwnProperty(JSCompiler_renameProperty('properties', this))) {\n const props = this.properties;\n // support symbols in properties (IE11 does not support this)\n const propKeys = [\n ...Object.getOwnPropertyNames(props),\n ...Object.getOwnPropertySymbols(props),\n ];\n // This for/of is ok because propKeys is an array\n for (const p of propKeys) {\n // note, use of `any` is due to TypeScript lack of support for symbol in\n // index types\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.createProperty(p, (props as any)[p]);\n }\n }\n this.elementStyles = this.finalizeStyles(this.styles);\n // DEV mode warnings\n if (DEV_MODE) {\n const warnRemovedOrRenamed = (name: string, renamed = false) => {\n if (this.prototype.hasOwnProperty(name)) {\n issueWarning(\n renamed ? 'renamed-api' : 'removed-api',\n `\\`${name}\\` is implemented on class ${this.name}. It ` +\n `has been ${renamed ? 'renamed' : 'removed'} ` +\n `in this version of LitElement.`\n );\n }\n };\n warnRemovedOrRenamed('initialize');\n warnRemovedOrRenamed('requestUpdateInternal');\n warnRemovedOrRenamed('_getUpdateComplete', true);\n }\n return true;\n }\n\n /**\n * Options used when calling `attachShadow`. Set this property to customize\n * the options for the shadowRoot; for example, to create a closed\n * shadowRoot: `{mode: 'closed'}`.\n *\n * Note, these options are used in `createRenderRoot`. If this method\n * is customized, options should be respected if possible.\n * @nocollapse\n * @category rendering\n */\n static shadowRootOptions: ShadowRootInit = {mode: 'open'};\n\n /**\n * Takes the styles the user supplied via the `static styles` property and\n * returns the array of styles to apply to the element.\n * Override this method to integrate into a style management system.\n *\n * Styles are deduplicated preserving the _last_ instance in the list. This\n * is a performance optimization to avoid duplicated styles that can occur\n * especially when composing via subclassing. The last item is kept to try\n * to preserve the cascade order with the assumption that it's most important\n * that last added styles override previous styles.\n *\n * @nocollapse\n * @category styles\n */\n protected static finalizeStyles(\n styles?: CSSResultGroup\n ): Array<CSSResultOrNative> {\n const elementStyles = [];\n if (Array.isArray(styles)) {\n // Dedupe the flattened array in reverse order to preserve the last items.\n // Casting to Array<unknown> works around TS error that\n // appears to come from trying to flatten a type CSSResultArray.\n const set = new Set((styles as Array<unknown>).flat(Infinity).reverse());\n // Then preserve original order by adding the set items in reverse order.\n for (const s of set) {\n elementStyles.unshift(getCompatibleStyle(s as CSSResultOrNative));\n }\n } else if (styles !== undefined) {\n elementStyles.push(getCompatibleStyle(styles));\n }\n return elementStyles;\n }\n\n /**\n * Node or ShadowRoot into which element DOM should be rendered. Defaults\n * to an open shadowRoot.\n * @category rendering\n */\n readonly renderRoot!: HTMLElement | ShadowRoot;\n\n /**\n * Returns the property name for the given attribute `name`.\n * @nocollapse\n */\n private static __attributeNameForProperty(\n name: PropertyKey,\n options: PropertyDeclaration\n ) {\n const attribute = options.attribute;\n return attribute === false\n ? undefined\n : typeof attribute === 'string'\n ? attribute\n : typeof name === 'string'\n ? name.toLowerCase()\n : undefined;\n }\n\n private __instanceProperties?: PropertyValues = new Map();\n // Initialize to an unresolved Promise so we can make sure the element has\n // connected before first update.\n private __updatePromise!: Promise<boolean>;\n\n /**\n * True if there is a pending update as a result of calling `requestUpdate()`.\n * Should only be read.\n * @category updates\n */\n isUpdatePending = false;\n\n /**\n * Is set to `true` after the first update. The element code cannot assume\n * that `renderRoot` exists before the element `hasUpdated`.\n * @category updates\n */\n hasUpdated = false;\n\n /**\n * Map with keys for any properties that have changed since the last\n * update cycle with previous values.\n *\n * @internal\n */\n _$changedProperties!: PropertyValues;\n\n /**\n * Map with keys of properties that should be reflected when updated.\n */\n private __reflectingProperties?: Map<PropertyKey, PropertyDeclaration>;\n\n /**\n * Name of currently reflecting property\n */\n private __reflectingProperty: PropertyKey | null = null;\n\n /**\n * Set of controllers.\n */\n private __controllers?: ReactiveController[];\n\n constructor() {\n super();\n this.__initialize();\n }\n\n /**\n * Internal only override point for customizing work done when elements\n * are constructed.\n */\n private __initialize() {\n this.__updatePromise = new Promise<boolean>(\n (res) => (this.enableUpdating = res)\n );\n this._$changedProperties = new Map();\n this.__saveInstanceProperties();\n // ensures first update will be caught by an early access of\n // `updateComplete`\n this.requestUpdate();\n (this.constructor as typeof ReactiveElement)._initializers?.forEach((i) =>\n i(this)\n );\n }\n\n /**\n * Registers a `ReactiveController` to participate in the element's reactive\n * update cycle. The element automatically calls into any registered\n * controllers during its lifecycle callbacks.\n *\n * If the element is connected when `addController()` is called, the\n * controller's `hostConnected()` callback will be immediately called.\n * @category controllers\n */\n addController(controller: ReactiveController) {\n (this.__controllers ??= []).push(controller);\n // If a controller is added after the element has been connected,\n // call hostConnected. Note, re-using existence of `renderRoot` here\n // (which is set in connectedCallback) to avoid the need to track a\n // first connected state.\n if (this.renderRoot !== undefined && this.isConnected) {\n controller.hostConnected?.();\n }\n }\n\n /**\n * Removes a `ReactiveController` from the element.\n * @category controllers\n */\n removeController(controller: ReactiveController) {\n // Note, if the indexOf is -1, the >>> will flip the sign which makes the\n // splice do nothing.\n this.__controllers?.splice(this.__controllers.indexOf(controller) >>> 0, 1);\n }\n\n /**\n * Fixes any properties set on the instance before upgrade time.\n * Otherwise these would shadow the accessor and break these properties.\n * The properties are stored in a Map which is played back after the\n * constructor runs. Note, on very old versions of Safari (<=9) or Chrome\n * (<=41), properties created for native platform properties like (`id` or\n * `name`) may not have default values set in the element constructor. On\n * these browsers native properties appear on instances and therefore their\n * default value will overwrite any element default (e.g. if the element sets\n * this.id = 'id' in the constructor, the 'id' will become '' since this is\n * the native platform default).\n */\n private __saveInstanceProperties() {\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n (this.constructor as typeof ReactiveElement).elementProperties.forEach(\n (_v, p) => {\n if (this.hasOwnProperty(p)) {\n this.__instanceProperties!.set(p, this[p as keyof this]);\n delete this[p as keyof this];\n }\n }\n );\n }\n\n /**\n * Returns the node into which the element should render and by default\n * creates and returns an open shadowRoot. Implement to customize where the\n * element's DOM is rendered. For example, to render into the element's\n * childNodes, return `this`.\n *\n * @return Returns a node into which to render.\n * @category rendering\n */\n protected createRenderRoot(): Element | ShadowRoot {\n const renderRoot =\n this.shadowRoot ??\n this.attachShadow(\n (this.constructor as typeof ReactiveElement).shadowRootOptions\n );\n adoptStyles(\n renderRoot,\n (this.constructor as typeof ReactiveElement).elementStyles\n );\n return renderRoot;\n }\n\n /**\n * On first connection, creates the element's renderRoot, sets up\n * element styling, and enables updating.\n * @category lifecycle\n */\n connectedCallback() {\n // create renderRoot before first update.\n if (this.renderRoot === undefined) {\n (\n this as {\n renderRoot: Element | DocumentFragment;\n }\n ).renderRoot = this.createRenderRoot();\n }\n this.enableUpdating(true);\n this.__controllers?.forEach((c) => c.hostConnected?.());\n }\n\n /**\n * Note, this method should be considered final and not overridden. It is\n * overridden on the element instance with a function that triggers the first\n * update.\n * @category updates\n */\n protected enableUpdating(_requestedUpdate: boolean) {}\n\n /**\n * Allows for `super.disconnectedCallback()` in extensions while\n * reserving the possibility of making non-breaking feature additions\n * when disconnecting at some point in the future.\n * @category lifecycle\n */\n disconnectedCallback() {\n this.__controllers?.forEach((c) => c.hostDisconnected?.());\n }\n\n /**\n * Synchronizes property values when attributes change.\n *\n * Specifically, when an attribute is set, the corresponding property is set.\n * You should rarely need to implement this callback. If this method is\n * overridden, `super.attributeChangedCallback(name, _old, value)` must be\n * called.\n *\n * See [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\n * on MDN for more information about the `attributeChangedCallback`.\n * @category attributes\n */\n attributeChangedCallback(\n name: string,\n _old: string | null,\n value: string | null\n ) {\n this._$attributeToProperty(name, value);\n }\n\n private __propertyToAttribute(\n name: PropertyKey,\n value: unknown,\n options: PropertyDeclaration = defaultPropertyDeclaration\n ) {\n const attr = (\n this.constructor as typeof ReactiveElement\n ).__attributeNameForProperty(name, options);\n if (attr !== undefined && options.reflect === true) {\n const converter =\n (options.converter as ComplexAttributeConverter)?.toAttribute !==\n undefined\n ? (options.converter as ComplexAttributeConverter)\n : defaultConverter;\n const attrValue = converter.toAttribute!(value, options.type);\n if (\n DEV_MODE &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.indexOf(\n 'migration'\n ) >= 0 &&\n attrValue === undefined\n ) {\n issueWarning(\n 'undefined-attribute-value',\n `The attribute value for the ${name as string} property is ` +\n `undefined on element ${this.localName}. The attribute will be ` +\n `removed, but in the previous version of \\`ReactiveElement\\`, ` +\n `the attribute would not have changed.`\n );\n }\n // Track if the property is being reflected to avoid\n // setting the property again via `attributeChangedCallback`. Note:\n // 1. this takes advantage of the fact that the callback is synchronous.\n // 2. will behave incorrectly if multiple attributes are in the reaction\n // stack at time of calling. However, since we process attributes\n // in `update` this should not be possible (or an extreme corner case\n // that we'd like to discover).\n // mark state reflecting\n this.__reflectingProperty = name;\n if (attrValue == null) {\n this.removeAttribute(attr);\n } else {\n this.setAttribute(attr, attrValue as string);\n }\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n\n /** @internal */\n _$attributeToProperty(name: string, value: string | null) {\n const ctor = this.constructor as typeof ReactiveElement;\n // Note, hint this as an `AttributeMap` so closure clearly understands\n // the type; it has issues with tracking types through statics\n const propName = (ctor.__attributeToPropertyMap as AttributeMap).get(name);\n // Use tracking info to avoid reflecting a property value to an attribute\n // if it was just set because the attribute changed.\n if (propName !== undefined && this.__reflectingProperty !== propName) {\n const options = ctor.getPropertyOptions(propName);\n const converter =\n typeof options.converter === 'function'\n ? {fromAttribute: options.converter}\n : options.converter?.fromAttribute !== undefined\n ? options.converter\n : defaultConverter;\n // mark state reflecting\n this.__reflectingProperty = propName;\n this[propName as keyof this] = converter.fromAttribute!(\n value,\n options.type\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ) as any;\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n\n /**\n * Requests an update which is processed asynchronously. This should be called\n * when an element should update based on some state not triggered by setting\n * a reactive property. In this case, pass no arguments. It should also be\n * called when manually implementing a property setter. In this case, pass the\n * property `name` and `oldValue` to ensure that any configured property\n * options are honored.\n *\n * @param name name of requesting property\n * @param oldValue old value of requesting property\n * @param options property options to use instead of the previously\n * configured options\n * @category updates\n */\n requestUpdate(\n name?: PropertyKey,\n oldValue?: unknown,\n options?: PropertyDeclaration\n ): void {\n let shouldRequestUpdate = true;\n // If we have a property key, perform property update steps.\n if (name !== undefined) {\n options =\n options ||\n (this.constructor as typeof ReactiveElement).getPropertyOptions(name);\n const hasChanged = options.hasChanged || notEqual;\n if (hasChanged(this[name as keyof this], oldValue)) {\n if (!this._$changedProperties.has(name)) {\n this._$changedProperties.set(name, oldValue);\n }\n // Add to reflecting properties set.\n // Note, it's important that every change has a chance to add the\n // property to `_reflectingProperties`. This ensures setting\n // attribute + property reflects correctly.\n if (options.reflect === true && this.__reflectingProperty !== name) {\n if (this.__reflectingProperties === undefined) {\n this.__reflectingProperties = new Map();\n }\n this.__reflectingProperties.set(name, options);\n }\n } else {\n // Abort the request if the property should not be considered changed.\n shouldRequestUpdate = false;\n }\n }\n if (!this.isUpdatePending && shouldRequestUpdate) {\n this.__updatePromise = this.__enqueueUpdate();\n }\n // Note, since this no longer returns a promise, in dev mode we return a\n // thenable which warns if it's called.\n return DEV_MODE\n ? (requestUpdateThenable(this.localName) as unknown as void)\n : undefined;\n }\n\n /**\n * Sets up the element to asynchronously update.\n */\n private async __enqueueUpdate() {\n this.isUpdatePending = true;\n try {\n // Ensure any previous update has resolved before updating.\n // This `await` also ensures that property changes are batched.\n await this.__updatePromise;\n } catch (e) {\n // Refire any previous errors async so they do not disrupt the update\n // cycle. Errors are refired so developers have a chance to observe\n // them, and this can be done by implementing\n // `window.onunhandledrejection`.\n Promise.reject(e);\n }\n const result = this.scheduleUpdate();\n // If `scheduleUpdate` returns a Promise, we await it. This is done to\n // enable coordinating updates with a scheduler. Note, the result is\n // checked to avoid delaying an additional microtask unless we need to.\n if (result != null) {\n await result;\n }\n return !this.isUpdatePending;\n }\n\n /**\n * Schedules an element update. You can override this method to change the\n * timing of updates by returning a Promise. The update will await the\n * returned Promise, and you should resolve the Promise to allow the update\n * to proceed. If this method is overridden, `super.scheduleUpdate()`\n * must be called.\n *\n * For instance, to schedule updates to occur just before the next frame:\n *\n * ```ts\n * override protected async scheduleUpdate(): Promise<unknown> {\n * await new Promise((resolve) => requestAnimationFrame(() => resolve()));\n * super.scheduleUpdate();\n * }\n * ```\n * @category updates\n */\n protected scheduleUpdate(): void | Promise<unknown> {\n return this.performUpdate();\n }\n\n /**\n * Performs an element update. Note, if an exception is thrown during the\n * update, `firstUpdated` and `updated` will not be called.\n *\n * Call `performUpdate()` to immediately process a pending update. This should\n * generally not be needed, but it can be done in rare cases when you need to\n * update synchronously.\n *\n * Note: To ensure `performUpdate()` synchronously completes a pending update,\n * it should not be overridden. In LitElement 2.x it was suggested to override\n * `performUpdate()` to also customizing update scheduling. Instead, you should now\n * override `scheduleUpdate()`. For backwards compatibility with LitElement 2.x,\n * scheduling updates via `performUpdate()` continues to work, but will make\n * also calling `performUpdate()` to synchronously process updates difficult.\n *\n * @category updates\n */\n protected performUpdate(): void | Promise<unknown> {\n // Abort any update if one is not pending when this is called.\n // This can happen if `performUpdate` is called early to \"flush\"\n // the update.\n if (!this.isUpdatePending) {\n return;\n }\n debugLogEvent?.({kind: 'update'});\n // create renderRoot before first update.\n if (!this.hasUpdated) {\n // Produce warning if any class properties are shadowed by class fields\n if (DEV_MODE) {\n const shadowedProperties: string[] = [];\n (\n this.constructor as typeof ReactiveElement\n ).__reactivePropertyKeys?.forEach((p) => {\n if (this.hasOwnProperty(p) && !this.__instanceProperties?.has(p)) {\n shadowedProperties.push(p as string);\n }\n });\n if (shadowedProperties.length) {\n throw new Error(\n `The following properties on element ${this.localName} will not ` +\n `trigger updates as expected because they are set using class ` +\n `fields: ${shadowedProperties.join(', ')}. ` +\n `Native class fields and some compiled output will overwrite ` +\n `accessors used for detecting changes. See ` +\n `https://lit.dev/msg/class-field-shadowing ` +\n `for more information.`\n );\n }\n }\n }\n // Mixin instance properties once, if they exist.\n if (this.__instanceProperties) {\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.__instanceProperties!.forEach((v, p) => ((this as any)[p] = v));\n this.__instanceProperties = undefined;\n }\n let shouldUpdate = false;\n const changedProperties = this._$changedProperties;\n try {\n shouldUpdate = this.shouldUpdate(changedProperties);\n if (shouldUpdate) {\n this.willUpdate(changedProperties);\n this.__controllers?.forEach((c) => c.hostUpdate?.());\n this.update(changedProperties);\n } else {\n this.__markUpdated();\n }\n } catch (e) {\n // Prevent `firstUpdated` and `updated` from running when there's an\n // update exception.\n shouldUpdate = false;\n // Ensure element can accept additional updates after an exception.\n this.__markUpdated();\n throw e;\n }\n // The update is no longer considered pending and further updates are now allowed.\n if (shouldUpdate) {\n this._$didUpdate(changedProperties);\n }\n }\n\n /**\n * Invoked before `update()` to compute values needed during the update.\n *\n * Implement `willUpdate` to compute property values that depend on other\n * properties and are used in the rest of the update process.\n *\n * ```ts\n * willUpdate(changedProperties) {\n * // only need to check changed properties for an expensive computation.\n * if (changedProperties.has('firstName') || changedProperties.has('lastName')) {\n * this.sha = computeSHA(`${this.firstName} ${this.lastName}`);\n * }\n * }\n *\n * render() {\n * return html`SHA: ${this.sha}`;\n * }\n * ```\n *\n * @category updates\n */\n protected willUpdate(_changedProperties: PropertyValues): void {}\n\n // Note, this is an override point for polyfill-support.\n // @internal\n _$didUpdate(changedProperties: PropertyValues) {\n this.__controllers?.forEach((c) => c.hostUpdated?.());\n if (!this.hasUpdated) {\n this.hasUpdated = true;\n this.firstUpdated(changedProperties);\n }\n this.updated(changedProperties);\n if (\n DEV_MODE &&\n this.isUpdatePending &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.indexOf(\n 'change-in-update'\n ) >= 0\n ) {\n issueWarning(\n 'change-in-update',\n `Element ${this.localName} scheduled an update ` +\n `(generally because a property was set) ` +\n `after an update completed, causing a new update to be scheduled. ` +\n `This is inefficient and should be avoided unless the next update ` +\n `can only be scheduled as a side effect of the previous update.`\n );\n }\n }\n\n private __markUpdated() {\n this._$changedProperties = new Map();\n this.isUpdatePending = false;\n }\n\n /**\n * Returns a Promise that resolves when the element has completed updating.\n * The Promise value is a boolean that is `true` if the element completed the\n * update without triggering another update. The Promise result is `false` if\n * a property was set inside `updated()`. If the Promise is rejected, an\n * exception was thrown during the update.\n *\n * To await additional asynchronous work, override the `getUpdateComplete`\n * method. For example, it is sometimes useful to await a rendered element\n * before fulfilling this Promise. To do this, first await\n * `super.getUpdateComplete()`, then any subsequent state.\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n get updateComplete(): Promise<boolean> {\n return this.getUpdateComplete();\n }\n\n /**\n * Override point for the `updateComplete` promise.\n *\n * It is not safe to override the `updateComplete` getter directly due to a\n * limitation in TypeScript which means it is not possible to call a\n * superclass getter (e.g. `super.updateComplete.then(...)`) when the target\n * language is ES5 (https://github.com/microsoft/TypeScript/issues/338).\n * This method should be overridden instead. For example:\n *\n * ```ts\n * class MyElement extends LitElement {\n * override async getUpdateComplete() {\n * const result = await super.getUpdateComplete();\n * await this._myChild.updateComplete;\n * return result;\n * }\n * }\n * ```\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n protected getUpdateComplete(): Promise<boolean> {\n return this.__updatePromise;\n }\n\n /**\n * Controls whether or not `update()` should be called when the element requests\n * an update. By default, this method always returns `true`, but this can be\n * customized to control when to update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected shouldUpdate(_changedProperties: PropertyValues): boolean {\n return true;\n }\n\n /**\n * Updates the element. This method reflects property values to attributes.\n * It can be overridden to render and keep updated element DOM.\n * Setting properties inside this method will *not* trigger\n * another update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected update(_changedProperties: PropertyValues) {\n if (this.__reflectingProperties !== undefined) {\n // Use forEach so this works even if for/of loops are compiled to for\n // loops expecting arrays\n this.__reflectingProperties.forEach((v, k) =>\n this.__propertyToAttribute(k, this[k as keyof this], v)\n );\n this.__reflectingProperties = undefined;\n }\n this.__markUpdated();\n }\n\n /**\n * Invoked whenever the element is updated. Implement to perform\n * post-updating tasks via DOM APIs, for example, focusing an element.\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected updated(_changedProperties: PropertyValues) {}\n\n /**\n * Invoked when the element is first updated. Implement to perform one time\n * work on the element after update.\n *\n * ```ts\n * firstUpdated() {\n * this.renderRoot.getElementById('my-text-area').focus();\n * }\n * ```\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected firstUpdated(_changedProperties: PropertyValues) {}\n}\n\n// Apply polyfills if available\npolyfillSupport?.({ReactiveElement});\n\n// Dev mode warnings...\nif (DEV_MODE) {\n // Default warning set.\n ReactiveElement.enabledWarnings = ['change-in-update'];\n const ensureOwnWarnings = function (ctor: typeof ReactiveElement) {\n if (\n !ctor.hasOwnProperty(JSCompiler_renameProperty('enabledWarnings', ctor))\n ) {\n ctor.enabledWarnings = ctor.enabledWarnings!.slice();\n }\n };\n ReactiveElement.enableWarning = function (\n this: typeof ReactiveElement,\n warning: WarningKind\n ) {\n ensureOwnWarnings(this);\n if (this.enabledWarnings!.indexOf(warning) < 0) {\n this.enabledWarnings!.push(warning);\n }\n };\n ReactiveElement.disableWarning = function (\n this: typeof ReactiveElement,\n warning: WarningKind\n ) {\n ensureOwnWarnings(this);\n const i = this.enabledWarnings!.indexOf(warning);\n if (i >= 0) {\n this.enabledWarnings!.splice(i, 1);\n }\n };\n}\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for ReactiveElement usage.\n(global.reactiveElementVersions ??= []).push('1.6.3');\nif (DEV_MODE && global.reactiveElementVersions.length > 1) {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`\n );\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// IMPORTANT: these imports must be type-only\nimport type {Directive, DirectiveResult, PartInfo} from './directive.js';\n\nconst DEV_MODE = true;\nconst ENABLE_EXTRA_SECURITY_HOOKS = true;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst NODE_MODE = false;\n// Use window for browser builds because IE11 doesn't have globalThis.\nconst global = NODE_MODE ? globalThis : window;\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace LitUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry =\n | TemplatePrep\n | TemplateInstantiated\n | TemplateInstantiatedAndUpdated\n | TemplateUpdating\n | BeginRender\n | EndRender\n | CommitPartEntry\n | SetPartValue;\n export interface TemplatePrep {\n kind: 'template prep';\n template: Template;\n strings: TemplateStringsArray;\n clonableTemplate: HTMLTemplateElement;\n parts: TemplatePart[];\n }\n export interface BeginRender {\n kind: 'begin render';\n id: number;\n value: unknown;\n container: HTMLElement | DocumentFragment;\n options: RenderOptions | undefined;\n part: ChildPart | undefined;\n }\n export interface EndRender {\n kind: 'end render';\n id: number;\n value: unknown;\n container: HTMLElement | DocumentFragment;\n options: RenderOptions | undefined;\n part: ChildPart;\n }\n export interface TemplateInstantiated {\n kind: 'template instantiated';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n fragment: Node;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface TemplateInstantiatedAndUpdated {\n kind: 'template instantiated and updated';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n fragment: Node;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface TemplateUpdating {\n kind: 'template updating';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface SetPartValue {\n kind: 'set part';\n part: Part;\n value: unknown;\n valueIndex: number;\n values: unknown[];\n templateInstance: TemplateInstance;\n }\n\n export type CommitPartEntry =\n | CommitNothingToChildEntry\n | CommitText\n | CommitNode\n | CommitAttribute\n | CommitProperty\n | CommitBooleanAttribute\n | CommitEventListener\n | CommitToElementBinding;\n\n export interface CommitNothingToChildEntry {\n kind: 'commit nothing to child';\n start: ChildNode;\n end: ChildNode | null;\n parent: Disconnectable | undefined;\n options: RenderOptions | undefined;\n }\n\n export interface CommitText {\n kind: 'commit text';\n node: Text;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitNode {\n kind: 'commit node';\n start: Node;\n parent: Disconnectable | undefined;\n value: Node;\n options: RenderOptions | undefined;\n }\n\n export interface CommitAttribute {\n kind: 'commit attribute';\n element: Element;\n name: string;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitProperty {\n kind: 'commit property';\n element: Element;\n name: string;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitBooleanAttribute {\n kind: 'commit boolean attribute';\n element: Element;\n name: string;\n value: boolean;\n options: RenderOptions | undefined;\n }\n\n export interface CommitEventListener {\n kind: 'commit event listener';\n element: Element;\n name: string;\n value: unknown;\n oldListener: unknown;\n options: RenderOptions | undefined;\n // True if we're removing the old event listener (e.g. because settings changed, or value is nothing)\n removeListener: boolean;\n // True if we're adding a new event listener (e.g. because first render, or settings changed)\n addListener: boolean;\n }\n\n export interface CommitToElementBinding {\n kind: 'commit to element binding';\n element: Element;\n value: unknown;\n options: RenderOptions | undefined;\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: LitUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent<LitUnstable.DebugLog.Entry>('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n// Used for connecting beginRender and endRender events when there are nested\n// renders when errors are thrown preventing an endRender event from being\n// called.\nlet debugLogRenderId = 0;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nif (DEV_MODE) {\n global.litIssuedWarnings ??= new Set();\n\n // Issue a warning, if we haven't already.\n issueWarning = (code: string, warning: string) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!global.litIssuedWarnings!.has(warning)) {\n console.warn(warning);\n global.litIssuedWarnings!.add(warning);\n }\n };\n\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n}\n\nconst wrap =\n ENABLE_SHADYDOM_NOPATCH &&\n global.ShadyDOM?.inUse &&\n global.ShadyDOM?.noPatch === true\n ? global.ShadyDOM!.wrap\n : (node: Node) => node;\n\nconst trustedTypes = (global as unknown as Partial<Window>).trustedTypes;\n\n/**\n * Our TrustedTypePolicy for HTML which is declared using the html template\n * tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n */\nconst policy = trustedTypes\n ? trustedTypes.createPolicy('lit-html', {\n createHTML: (s) => s,\n })\n : undefined;\n\n/**\n * Used to sanitize any value before it is written into the DOM. This can be\n * used to implement a security policy of allowed and disallowed values in\n * order to prevent XSS attacks.\n *\n * One way of using this callback would be to check attributes and properties\n * against a list of high risk fields, and require that values written to such\n * fields be instances of a class which is safe by construction. Closure's Safe\n * HTML Types is one implementation of this technique (\n * https://github.com/google/safe-html-types/blob/master/doc/safehtml-types.md).\n * The TrustedTypes polyfill in API-only mode could also be used as a basis\n * for this technique (https://github.com/WICG/trusted-types).\n *\n * @param node The HTML node (usually either a #text node or an Element) that\n * is being written to. Note that this is just an exemplar node, the write\n * may take place against another instance of the same class of node.\n * @param name The name of an attribute or property (for example, 'href').\n * @param type Indicates whether the write that's about to be performed will\n * be to a property or a node.\n * @return A function that will sanitize this class of writes.\n */\nexport type SanitizerFactory = (\n node: Node,\n name: string,\n type: 'property' | 'attribute'\n) => ValueSanitizer;\n\n/**\n * A function which can sanitize values that will be written to a specific kind\n * of DOM sink.\n *\n * See SanitizerFactory.\n *\n * @param value The value to sanitize. Will be the actual value passed into\n * the lit-html template literal, so this could be of any type.\n * @return The value to write to the DOM. Usually the same as the input value,\n * unless sanitization is needed.\n */\nexport type ValueSanitizer = (value: unknown) => unknown;\n\nconst identityFunction: ValueSanitizer = (value: unknown) => value;\nconst noopSanitizer: SanitizerFactory = (\n _node: Node,\n _name: string,\n _type: 'property' | 'attribute'\n) => identityFunction;\n\n/** Sets the global sanitizer factory. */\nconst setSanitizer = (newSanitizer: SanitizerFactory) => {\n if (!ENABLE_EXTRA_SECURITY_HOOKS) {\n return;\n }\n if (sanitizerFactoryInternal !== noopSanitizer) {\n throw new Error(\n `Attempted to overwrite existing lit-html security policy.` +\n ` setSanitizeDOMValueFactory should be called at most once.`\n );\n }\n sanitizerFactoryInternal = newSanitizer;\n};\n\n/**\n * Only used in internal tests, not a part of the public API.\n */\nconst _testOnlyClearSanitizerFactoryDoNotCallOrElse = () => {\n sanitizerFactoryInternal = noopSanitizer;\n};\n\nconst createSanitizer: SanitizerFactory = (node, name, type) => {\n return sanitizerFactoryInternal(node, name, type);\n};\n\n// Added to an attribute name to mark the attribute as bound so we can find\n// it easily.\nconst boundAttributeSuffix = '$lit$';\n\n// This marker is used in many syntactic positions in HTML, so it must be\n// a valid element name and attribute name. We don't support dynamic names (yet)\n// but this at least ensures that the parse tree is closer to the template\n// intention.\nconst marker = `lit$${String(Math.random()).slice(9)}$`;\n\n// String used to tell if a comment is a marker comment\nconst markerMatch = '?' + marker;\n\n// Text used to insert a comment marker node. We use processing instruction\n// syntax because it's slightly smaller, but parses as a comment node.\nconst nodeMarker = `<${markerMatch}>`;\n\nconst d =\n NODE_MODE && global.document === undefined\n ? ({\n createTreeWalker() {\n return {};\n },\n } as unknown as Document)\n : document;\n\n// Creates a dynamic marker. We never have to search for these in the DOM.\nconst createMarker = () => d.createComment('');\n\n// https://tc39.github.io/ecma262/#sec-typeof-operator\ntype Primitive = null | undefined | boolean | number | string | symbol | bigint;\nconst isPrimitive = (value: unknown): value is Primitive =>\n value === null || (typeof value != 'object' && typeof value != 'function');\nconst isArray = Array.isArray;\nconst isIterable = (value: unknown): value is Iterable<unknown> =>\n isArray(value) ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n typeof (value as any)?.[Symbol.iterator] === 'function';\n\nconst SPACE_CHAR = `[ \\t\\n\\f\\r]`;\nconst ATTR_VALUE_CHAR = `[^ \\t\\n\\f\\r\"'\\`<>=]`;\nconst NAME_CHAR = `[^\\\\s\"'>=/]`;\n\n// These regexes represent the five parsing states that we care about in the\n// Template's HTML scanner. They match the *end* of the state they're named\n// after.\n// Depending on the match, we transition to a new state. If there's no match,\n// we stay in the same state.\n// Note that the regexes are stateful. We utilize lastIndex and sync it\n// across the multiple regexes used. In addition to the five regexes below\n// we also dynamically create a regex to find the matching end tags for raw\n// text elements.\n\n/**\n * End of text is: `<` followed by:\n * (comment start) or (tag) or (dynamic tag binding)\n */\nconst textEndRegex = /<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g;\nconst COMMENT_START = 1;\nconst TAG_NAME = 2;\nconst DYNAMIC_TAG_NAME = 3;\n\nconst commentEndRegex = /-->/g;\n/**\n * Comments not started with <!--, like </{, can be ended by a single `>`\n */\nconst comment2EndRegex = />/g;\n\n/**\n * The tagEnd regex matches the end of the \"inside an opening\" tag syntax\n * position. It either matches a `>`, an attribute-like sequence, or the end\n * of the string after a space (attribute-name position ending).\n *\n * See attributes in the HTML spec:\n * https://www.w3.org/TR/html5/syntax.html#elements-attributes\n *\n * \" \\t\\n\\f\\r\" are HTML space characters:\n * https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * So an attribute is:\n * * The name: any character except a whitespace character, (\"), ('), \">\",\n * \"=\", or \"/\". Note: this is different from the HTML spec which also excludes control characters.\n * * Followed by zero or more space characters\n * * Followed by \"=\"\n * * Followed by zero or more space characters\n * * Followed by:\n * * Any character except space, ('), (\"), \"<\", \">\", \"=\", (`), or\n * * (\") then any non-(\"), or\n * * (') then any non-(')\n */\nconst tagEndRegex = new RegExp(\n `>|${SPACE_CHAR}(?:(${NAME_CHAR}+)(${SPACE_CHAR}*=${SPACE_CHAR}*(?:${ATTR_VALUE_CHAR}|(\"|')|))|$)`,\n 'g'\n);\nconst ENTIRE_MATCH = 0;\nconst ATTRIBUTE_NAME = 1;\nconst SPACES_AND_EQUALS = 2;\nconst QUOTE_CHAR = 3;\n\nconst singleQuoteAttrEndRegex = /'/g;\nconst doubleQuoteAttrEndRegex = /\"/g;\n/**\n * Matches the raw text elements.\n *\n * Comments are not parsed within raw text elements, so we need to search their\n * text content for marker strings.\n */\nconst rawTextElement = /^(?:script|style|textarea|title)$/i;\n\n/** TemplateResult types */\nconst HTML_RESULT = 1;\nconst SVG_RESULT = 2;\n\ntype ResultType = typeof HTML_RESULT | typeof SVG_RESULT;\n\n// TemplatePart types\n// IMPORTANT: these must match the values in PartType\nconst ATTRIBUTE_PART = 1;\nconst CHILD_PART = 2;\nconst PROPERTY_PART = 3;\nconst BOOLEAN_ATTRIBUTE_PART = 4;\nconst EVENT_PART = 5;\nconst ELEMENT_PART = 6;\nconst COMMENT_PART = 7;\n\n/**\n * The return type of the template tag functions, {@linkcode html} and\n * {@linkcode svg}.\n *\n * A `TemplateResult` object holds all the information about a template\n * expression required to render it: the template strings, expression values,\n * and type of template (html or svg).\n *\n * `TemplateResult` objects do not create any DOM on their own. To create or\n * update DOM you need to render the `TemplateResult`. See\n * [Rendering](https://lit.dev/docs/components/rendering) for more information.\n *\n */\nexport type TemplateResult<T extends ResultType = ResultType> = {\n // This property needs to remain unminified.\n ['_$litType$']: T;\n strings: TemplateStringsArray;\n values: unknown[];\n};\n\nexport type HTMLTemplateResult = TemplateResult<typeof HTML_RESULT>;\n\nexport type SVGTemplateResult = TemplateResult<typeof SVG_RESULT>;\n\nexport interface CompiledTemplateResult {\n // This is a factory in order to make template initialization lazy\n // and allow ShadyRenderOptions scope to be passed in.\n // This property needs to remain unminified.\n ['_$litType$']: CompiledTemplate;\n values: unknown[];\n}\n\nexport interface CompiledTemplate extends Omit<Template, 'el'> {\n // el is overridden to be optional. We initialize it on first render\n el?: HTMLTemplateElement;\n\n // The prepared HTML string to create a template element from.\n // The type is a TemplateStringsArray to guarantee that the value came from\n // source code, preventing a JSON injection attack.\n h: TemplateStringsArray;\n}\n\n/**\n * Generates a template literal tag function that returns a TemplateResult with\n * the given result type.\n */\nconst tag =\n <T extends ResultType>(type: T) =>\n (strings: TemplateStringsArray, ...values: unknown[]): TemplateResult<T> => {\n // Warn against templates octal escape sequences\n // We do this here rather than in render so that the warning is closer to the\n // template definition.\n if (DEV_MODE && strings.some((s) => s === undefined)) {\n console.warn(\n 'Some template strings are undefined.\\n' +\n 'This is probably caused by illegal octal escape sequences.'\n );\n }\n return {\n // This property needs to remain unminified.\n ['_$litType$']: type,\n strings,\n values,\n };\n };\n\n/**\n * Interprets a template literal as an HTML template that can efficiently\n * render to and update a container.\n *\n * ```ts\n * const header = (title: string) => html`<h1>${title}</h1>`;\n * ```\n *\n * The `html` tag returns a description of the DOM to render as a value. It is\n * lazy, meaning no work is done until the template is rendered. When rendering,\n * if a template comes from the same expression as a previously rendered result,\n * it's efficiently updated instead of replaced.\n */\nexport const html = tag(HTML_RESULT);\n\n/**\n * Interprets a template literal as an SVG fragment that can efficiently\n * render to and update a container.\n *\n * ```ts\n * const rect = svg`<rect width=\"10\" height=\"10\"></rect>`;\n *\n * const myImage = html`\n * <svg viewBox=\"0 0 10 10\" xmlns=\"http://www.w3.org/2000/svg\">\n * ${rect}\n * </svg>`;\n * ```\n *\n * The `svg` *tag function* should only be used for SVG fragments, or elements\n * that would be contained **inside** an `<svg>` HTML element. A common error is\n * placing an `<svg>` *element* in a template tagged with the `svg` tag\n * function. The `<svg>` element is an HTML element and should be used within a\n * template tagged with the {@linkcode html} tag function.\n *\n * In LitElement usage, it's invalid to return an SVG fragment from the\n * `render()` method, as the SVG fragment will be contained within the element's\n * shadow root and thus cannot be used within an `<svg>` HTML element.\n */\nexport const svg = tag(SVG_RESULT);\n\n/**\n * A sentinel value that signals that a value was handled by a directive and\n * should not be written to the DOM.\n */\nexport const noChange = Symbol.for('lit-noChange');\n\n/**\n * A sentinel value that signals a ChildPart to fully clear its content.\n *\n * ```ts\n * const button = html`${\n * user.isAdmin\n * ? html`<button>DELETE</button>`\n * : nothing\n * }`;\n * ```\n *\n * Prefer using `nothing` over other falsy values as it provides a consistent\n * behavior between various expression binding contexts.\n *\n * In child expressions, `undefined`, `null`, `''`, and `nothing` all behave the\n * same and render no nodes. In attribute expressions, `nothing` _removes_ the\n * attribute, while `undefined` and `null` will render an empty string. In\n * property expressions `nothing` becomes `undefined`.\n */\nexport const nothing = Symbol.for('lit-nothing');\n\n/**\n * The cache of prepared templates, keyed by the tagged TemplateStringsArray\n * and _not_ accounting for the specific template tag used. This means that\n * template tags cannot be dynamic - the must statically be one of html, svg,\n * or attr. This restriction simplifies the cache lookup, which is on the hot\n * path for rendering.\n */\nconst templateCache = new WeakMap<TemplateStringsArray, Template>();\n\n/**\n * Object specifying options for controlling lit-html rendering. Note that\n * while `render` may be called multiple times on the same `container` (and\n * `renderBefore` reference node) to efficiently update the rendered content,\n * only the options passed in during the first render are respected during\n * the lifetime of renders to that unique `container` + `renderBefore`\n * combination.\n */\nexport interface RenderOptions {\n /**\n * An object to use as the `this` value for event listeners. It's often\n * useful to set this to the host component rendering a template.\n */\n host?: object;\n /**\n * A DOM node before which to render content in the container.\n */\n renderBefore?: ChildNode | null;\n /**\n * Node used for cloning the template (`importNode` will be called on this\n * node). This controls the `ownerDocument` of the rendered DOM, along with\n * any inherited context. Defaults to the global `document`.\n */\n creationScope?: {importNode(node: Node, deep?: boolean): Node};\n /**\n * The initial connected state for the top-level part being rendered. If no\n * `isConnected` option is set, `AsyncDirective`s will be connected by\n * default. Set to `false` if the initial render occurs in a disconnected tree\n * and `AsyncDirective`s should see `isConnected === false` for their initial\n * render. The `part.setConnected()` method must be used subsequent to initial\n * render to change the connected state of the part.\n */\n isConnected?: boolean;\n}\n\nconst walker = d.createTreeWalker(\n d,\n 129 /* NodeFilter.SHOW_{ELEMENT|COMMENT} */,\n null,\n false\n);\n\nlet sanitizerFactoryInternal: SanitizerFactory = noopSanitizer;\n\n//\n// Classes only below here, const variable declarations only above here...\n//\n// Keeping variable declarations and classes together improves minification.\n// Interfaces and type aliases can be interleaved freely.\n//\n\n// Type for classes that have a `_directive` or `_directives[]` field, used by\n// `resolveDirective`\nexport interface DirectiveParent {\n _$parent?: DirectiveParent;\n _$isConnected: boolean;\n __directive?: Directive;\n __directives?: Array<Directive | undefined>;\n}\n\nfunction trustFromTemplateString(\n tsa: TemplateStringsArray,\n stringFromTSA: string\n): TrustedHTML {\n // A security check to prevent spoofing of Lit template results.\n // In the future, we may be able to replace this with Array.isTemplateObject,\n // though we might need to make that check inside of the html and svg\n // functions, because precompiled templates don't come in as\n // TemplateStringArray objects.\n if (!Array.isArray(tsa) || !tsa.hasOwnProperty('raw')) {\n let message = 'invalid template strings array';\n if (DEV_MODE) {\n message = `\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n `\n .trim()\n .replace(/\\n */g, '\\n');\n }\n throw new Error(message);\n }\n return policy !== undefined\n ? policy.createHTML(stringFromTSA)\n : (stringFromTSA as unknown as TrustedHTML);\n}\n\n/**\n * Returns an HTML string for the given TemplateStringsArray and result type\n * (HTML or SVG), along with the case-sensitive bound attribute names in\n * template order. The HTML contains comment markers denoting the `ChildPart`s\n * and suffixes on bound attributes denoting the `AttributeParts`.\n *\n * @param strings template strings array\n * @param type HTML or SVG\n * @return Array containing `[html, attrNames]` (array returned for terseness,\n * to avoid object fields since this code is shared with non-minified SSR\n * code)\n */\nconst getTemplateHtml = (\n strings: TemplateStringsArray,\n type: ResultType\n): [TrustedHTML, Array<string | undefined>] => {\n // Insert makers into the template HTML to represent the position of\n // bindings. The following code scans the template strings to determine the\n // syntactic position of the bindings. They can be in text position, where\n // we insert an HTML comment, attribute value position, where we insert a\n // sentinel string and re-write the attribute name, or inside a tag where\n // we insert the sentinel string.\n const l = strings.length - 1;\n // Stores the case-sensitive bound attribute names in the order of their\n // parts. ElementParts are also reflected in this array as undefined\n // rather than a string, to disambiguate from attribute bindings.\n const attrNames: Array<string | undefined> = [];\n let html = type === SVG_RESULT ? '<svg>' : '';\n\n // When we're inside a raw text tag (not it's text content), the regex\n // will still be tagRegex so we can find attributes, but will switch to\n // this regex when the tag ends.\n let rawTextEndRegex: RegExp | undefined;\n\n // The current parsing state, represented as a reference to one of the\n // regexes\n let regex = textEndRegex;\n\n for (let i = 0; i < l; i++) {\n const s = strings[i];\n // The index of the end of the last attribute name. When this is\n // positive at end of a string, it means we're in an attribute value\n // position and need to rewrite the attribute name.\n // We also use a special value of -2 to indicate that we encountered\n // the end of a string in attribute name position.\n let attrNameEndIndex = -1;\n let attrName: string | undefined;\n let lastIndex = 0;\n let match!: RegExpExecArray | null;\n\n // The conditions in this loop handle the current parse state, and the\n // assignments to the `regex` variable are the state transitions.\n while (lastIndex < s.length) {\n // Make sure we start searching from where we previously left off\n regex.lastIndex = lastIndex;\n match = regex.exec(s);\n if (match === null) {\n break;\n }\n lastIndex = regex.lastIndex;\n if (regex === textEndRegex) {\n if (match[COMMENT_START] === '!--') {\n regex = commentEndRegex;\n } else if (match[COMMENT_START] !== undefined) {\n // We started a weird comment, like </{\n regex = comment2EndRegex;\n } else if (match[TAG_NAME] !== undefined) {\n if (rawTextElement.test(match[TAG_NAME])) {\n // Record if we encounter a raw-text element. We'll switch to\n // this regex at the end of the tag.\n rawTextEndRegex = new RegExp(`</${match[TAG_NAME]}`, 'g');\n }\n regex = tagEndRegex;\n } else if (match[DYNAMIC_TAG_NAME] !== undefined) {\n if (DEV_MODE) {\n throw new Error(\n 'Bindings in tag names are not supported. Please use static templates instead. ' +\n 'See https://lit.dev/docs/templates/expressions/#static-expressions'\n );\n }\n regex = tagEndRegex;\n }\n } else if (regex === tagEndRegex) {\n if (match[ENTIRE_MATCH] === '>') {\n // End of a tag. If we had started a raw-text element, use that\n // regex\n regex = rawTextEndRegex ?? textEndRegex;\n // We may be ending an unquoted attribute value, so make sure we\n // clear any pending attrNameEndIndex\n attrNameEndIndex = -1;\n } else if (match[ATTRIBUTE_NAME] === undefined) {\n // Attribute name position\n attrNameEndIndex = -2;\n } else {\n attrNameEndIndex = regex.lastIndex - match[SPACES_AND_EQUALS].length;\n attrName = match[ATTRIBUTE_NAME];\n regex =\n match[QUOTE_CHAR] === undefined\n ? tagEndRegex\n : match[QUOTE_CHAR] === '\"'\n ? doubleQuoteAttrEndRegex\n : singleQuoteAttrEndRegex;\n }\n } else if (\n regex === doubleQuoteAttrEndRegex ||\n regex === singleQuoteAttrEndRegex\n ) {\n regex = tagEndRegex;\n } else if (regex === commentEndRegex || regex === comment2EndRegex) {\n regex = textEndRegex;\n } else {\n // Not one of the five state regexes, so it must be the dynamically\n // created raw text regex and we're at the close of that element.\n regex = tagEndRegex;\n rawTextEndRegex = undefined;\n }\n }\n\n if (DEV_MODE) {\n // If we have a attrNameEndIndex, which indicates that we should\n // rewrite the attribute name, assert that we're in a valid attribute\n // position - either in a tag, or a quoted attribute value.\n console.assert(\n attrNameEndIndex === -1 ||\n regex === tagEndRegex ||\n regex === singleQuoteAttrEndRegex ||\n regex === doubleQuoteAttrEndRegex,\n 'unexpected parse state B'\n );\n }\n\n // We have four cases:\n // 1. We're in text position, and not in a raw text element\n // (regex === textEndRegex): insert a comment marker.\n // 2. We have a non-negative attrNameEndIndex which means we need to\n // rewrite the attribute name to add a bound attribute suffix.\n // 3. We're at the non-first binding in a multi-binding attribute, use a\n // plain marker.\n // 4. We're somewhere else inside the tag. If we're in attribute name\n // position (attrNameEndIndex === -2), add a sequential suffix to\n // generate a unique attribute name.\n\n // Detect a binding next to self-closing tag end and insert a space to\n // separate the marker from the tag end:\n const end =\n regex === tagEndRegex && strings[i + 1].startsWith('/>') ? ' ' : '';\n html +=\n regex === textEndRegex\n ? s + nodeMarker\n : attrNameEndIndex >= 0\n ? (attrNames.push(attrName!),\n s.slice(0, attrNameEndIndex) +\n boundAttributeSuffix +\n s.slice(attrNameEndIndex)) +\n marker +\n end\n : s +\n marker +\n (attrNameEndIndex === -2 ? (attrNames.push(undefined), i) : end);\n }\n\n const htmlResult: string | TrustedHTML =\n html + (strings[l] || '<?>') + (type === SVG_RESULT ? '</svg>' : '');\n\n // Returned as an array for terseness\n return [trustFromTemplateString(strings, htmlResult), attrNames];\n};\n\n/** @internal */\nexport type {Template};\nclass Template {\n /** @internal */\n el!: HTMLTemplateElement;\n\n parts: Array<TemplatePart> = [];\n\n constructor(\n // This property needs to remain unminified.\n {strings, ['_$litType$']: type}: TemplateResult,\n options?: RenderOptions\n ) {\n let node: Node | null;\n let nodeIndex = 0;\n let attrNameIndex = 0;\n const partCount = strings.length - 1;\n const parts = this.parts;\n\n // Create template element\n const [html, attrNames] = getTemplateHtml(strings, type);\n this.el = Template.createElement(html, options);\n walker.currentNode = this.el.content;\n\n // Reparent SVG nodes into template root\n if (type === SVG_RESULT) {\n const content = this.el.content;\n const svgElement = content.firstChild!;\n svgElement.remove();\n content.append(...svgElement.childNodes);\n }\n\n // Walk the template to find binding markers and create TemplateParts\n while ((node = walker.nextNode()) !== null && parts.length < partCount) {\n if (node.nodeType === 1) {\n if (DEV_MODE) {\n const tag = (node as Element).localName;\n // Warn if `textarea` includes an expression and throw if `template`\n // does since these are not supported. We do this by checking\n // innerHTML for anything that looks like a marker. This catches\n // cases like bindings in textarea there markers turn into text nodes.\n if (\n /^(?:textarea|template)$/i!.test(tag) &&\n (node as Element).innerHTML.includes(marker)\n ) {\n const m =\n `Expressions are not supported inside \\`${tag}\\` ` +\n `elements. See https://lit.dev/msg/expression-in-${tag} for more ` +\n `information.`;\n if (tag === 'template') {\n throw new Error(m);\n } else issueWarning('', m);\n }\n }\n // TODO (justinfagnani): for attempted dynamic tag names, we don't\n // increment the bindingIndex, and it'll be off by 1 in the element\n // and off by two after it.\n if ((node as Element).hasAttributes()) {\n // We defer removing bound attributes because on IE we might not be\n // iterating attributes in their template order, and would sometimes\n // remove an attribute that we still need to create a part for.\n const attrsToRemove = [];\n for (const name of (node as Element).getAttributeNames()) {\n // `name` is the name of the attribute we're iterating over, but not\n // _necessarily_ the name of the attribute we will create a part\n // for. They can be different in browsers that don't iterate on\n // attributes in source order. In that case the attrNames array\n // contains the attribute name we'll process next. We only need the\n // attribute name here to know if we should process a bound attribute\n // on this element.\n if (\n name.endsWith(boundAttributeSuffix) ||\n name.startsWith(marker)\n ) {\n const realName = attrNames[attrNameIndex++];\n attrsToRemove.push(name);\n if (realName !== undefined) {\n // Lowercase for case-sensitive SVG attributes like viewBox\n const value = (node as Element).getAttribute(\n realName.toLowerCase() + boundAttributeSuffix\n )!;\n const statics = value.split(marker);\n const m = /([.?@])?(.*)/.exec(realName)!;\n parts.push({\n type: ATTRIBUTE_PART,\n index: nodeIndex,\n name: m[2],\n strings: statics,\n ctor:\n m[1] === '.'\n ? PropertyPart\n : m[1] === '?'\n ? BooleanAttributePart\n : m[1] === '@'\n ? EventPart\n : AttributePart,\n });\n } else {\n parts.push({\n type: ELEMENT_PART,\n index: nodeIndex,\n });\n }\n }\n }\n for (const name of attrsToRemove) {\n (node as Element).removeAttribute(name);\n }\n }\n // TODO (justinfagnani): benchmark the regex against testing for each\n // of the 3 raw text element names.\n if (rawTextElement.test((node as Element).tagName)) {\n // For raw text elements we need to split the text content on\n // markers, create a Text node for each segment, and create\n // a TemplatePart for each marker.\n const strings = (node as Element).textContent!.split(marker);\n const lastIndex = strings.length - 1;\n if (lastIndex > 0) {\n (node as Element).textContent = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n // Generate a new text node for each literal section\n // These nodes are also used as the markers for node parts\n // We can't use empty text nodes as markers because they're\n // normalized when cloning in IE (could simplify when\n // IE is no longer supported)\n for (let i = 0; i < lastIndex; i++) {\n (node as Element).append(strings[i], createMarker());\n // Walk past the marker node we just added\n walker.nextNode();\n parts.push({type: CHILD_PART, index: ++nodeIndex});\n }\n // Note because this marker is added after the walker's current\n // node, it will be walked to in the outer loop (and ignored), so\n // we don't need to adjust nodeIndex here\n (node as Element).append(strings[lastIndex], createMarker());\n }\n }\n } else if (node.nodeType === 8) {\n const data = (node as Comment).data;\n if (data === markerMatch) {\n parts.push({type: CHILD_PART, index: nodeIndex});\n } else {\n let i = -1;\n while ((i = (node as Comment).data.indexOf(marker, i + 1)) !== -1) {\n // Comment node has a binding marker inside, make an inactive part\n // The binding won't work, but subsequent bindings will\n parts.push({type: COMMENT_PART, index: nodeIndex});\n // Move to the end of the match\n i += marker.length - 1;\n }\n }\n }\n nodeIndex++;\n }\n // We could set walker.currentNode to another node here to prevent a memory\n // leak, but every time we prepare a template, we immediately render it\n // and re-use the walker in new TemplateInstance._clone().\n debugLogEvent?.({\n kind: 'template prep',\n template: this,\n clonableTemplate: this.el,\n parts: this.parts,\n strings,\n });\n }\n\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @nocollapse */\n static createElement(html: TrustedHTML, _options?: RenderOptions) {\n const el = d.createElement('template');\n el.innerHTML = html as unknown as string;\n return el;\n }\n}\n\nexport interface Disconnectable {\n _$parent?: Disconnectable;\n _$disconnectableChildren?: Set<Disconnectable>;\n // Rather than hold connection state on instances, Disconnectables recursively\n // fetch the connection state from the RootPart they are connected in via\n // getters up the Disconnectable tree via _$parent references. This pushes the\n // cost of tracking the isConnected state to `AsyncDirectives`, and avoids\n // needing to pass all Disconnectables (parts, template instances, and\n // directives) their connection state each time it changes, which would be\n // costly for trees that have no AsyncDirectives.\n _$isConnected: boolean;\n}\n\nfunction resolveDirective(\n part: ChildPart | AttributePart | ElementPart,\n value: unknown,\n parent: DirectiveParent = part,\n attributeIndex?: number\n): unknown {\n // Bail early if the value is explicitly noChange. Note, this means any\n // nested directive is still attached and is not run.\n if (value === noChange) {\n return value;\n }\n let currentDirective =\n attributeIndex !== undefined\n ? (parent as AttributePart).__directives?.[attributeIndex]\n : (parent as ChildPart | ElementPart | Directive).__directive;\n const nextDirectiveConstructor = isPrimitive(value)\n ? undefined\n : // This property needs to remain unminified.\n (value as DirectiveResult)['_$litDirective$'];\n if (currentDirective?.constructor !== nextDirectiveConstructor) {\n // This property needs to remain unminified.\n currentDirective?.['_$notifyDirectiveConnectionChanged']?.(false);\n if (nextDirectiveConstructor === undefined) {\n currentDirective = undefined;\n } else {\n currentDirective = new nextDirectiveConstructor(part as PartInfo);\n currentDirective._$initialize(part, parent, attributeIndex);\n }\n if (attributeIndex !== undefined) {\n ((parent as AttributePart).__directives ??= [])[attributeIndex] =\n currentDirective;\n } else {\n (parent as ChildPart | Directive).__directive = currentDirective;\n }\n }\n if (currentDirective !== undefined) {\n value = resolveDirective(\n part,\n currentDirective._$resolve(part, (value as DirectiveResult).values),\n currentDirective,\n attributeIndex\n );\n }\n return value;\n}\n\nexport type {TemplateInstance};\n/**\n * An updateable instance of a Template. Holds references to the Parts used to\n * update the template instance.\n */\nclass TemplateInstance implements Disconnectable {\n _$template: Template;\n _$parts: Array<Part | undefined> = [];\n\n /** @internal */\n _$parent: ChildPart;\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n constructor(template: Template, parent: ChildPart) {\n this._$template = template;\n this._$parent = parent;\n }\n\n // Called by ChildPart parentNode getter\n get parentNode() {\n return this._$parent.parentNode;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n // This method is separate from the constructor because we need to return a\n // DocumentFragment and we don't want to hold onto it with an instance field.\n _clone(options: RenderOptions | undefined) {\n const {\n el: {content},\n parts: parts,\n } = this._$template;\n const fragment = (options?.creationScope ?? d).importNode(content, true);\n walker.currentNode = fragment;\n\n let node = walker.nextNode()!;\n let nodeIndex = 0;\n let partIndex = 0;\n let templatePart = parts[0];\n\n while (templatePart !== undefined) {\n if (nodeIndex === templatePart.index) {\n let part: Part | undefined;\n if (templatePart.type === CHILD_PART) {\n part = new ChildPart(\n node as HTMLElement,\n node.nextSibling,\n this,\n options\n );\n } else if (templatePart.type === ATTRIBUTE_PART) {\n part = new templatePart.ctor(\n node as HTMLElement,\n templatePart.name,\n templatePart.strings,\n this,\n options\n );\n } else if (templatePart.type === ELEMENT_PART) {\n part = new ElementPart(node as HTMLElement, this, options);\n }\n this._$parts.push(part);\n templatePart = parts[++partIndex];\n }\n if (nodeIndex !== templatePart?.index) {\n node = walker.nextNode()!;\n nodeIndex++;\n }\n }\n // We need to set the currentNode away from the cloned tree so that we\n // don't hold onto the tree even if the tree is detached and should be\n // freed.\n walker.currentNode = d;\n return fragment;\n }\n\n _update(values: Array<unknown>) {\n let i = 0;\n for (const part of this._$parts) {\n if (part !== undefined) {\n debugLogEvent?.({\n kind: 'set part',\n part,\n value: values[i],\n valueIndex: i,\n values,\n templateInstance: this,\n });\n if ((part as AttributePart).strings !== undefined) {\n (part as AttributePart)._$setValue(values, part as AttributePart, i);\n // The number of values the part consumes is part.strings.length - 1\n // since values are in between template spans. We increment i by 1\n // later in the loop, so increment it by part.strings.length - 2 here\n i += (part as AttributePart).strings!.length - 2;\n } else {\n part._$setValue(values[i]);\n }\n }\n i++;\n }\n }\n}\n\n/*\n * Parts\n */\ntype AttributeTemplatePart = {\n readonly type: typeof ATTRIBUTE_PART;\n readonly index: number;\n readonly name: string;\n readonly ctor: typeof AttributePart;\n readonly strings: ReadonlyArray<string>;\n};\ntype ChildTemplatePart = {\n readonly type: typeof CHILD_PART;\n readonly index: number;\n};\ntype ElementTemplatePart = {\n readonly type: typeof ELEMENT_PART;\n readonly index: number;\n};\ntype CommentTemplatePart = {\n readonly type: typeof COMMENT_PART;\n readonly index: number;\n};\n\n/**\n * A TemplatePart represents a dynamic part in a template, before the template\n * is instantiated. When a template is instantiated Parts are created from\n * TemplateParts.\n */\ntype TemplatePart =\n | ChildTemplatePart\n | AttributeTemplatePart\n | ElementTemplatePart\n | CommentTemplatePart;\n\nexport type Part =\n | ChildPart\n | AttributePart\n | PropertyPart\n | BooleanAttributePart\n | ElementPart\n | EventPart;\n\nexport type {ChildPart};\nclass ChildPart implements Disconnectable {\n readonly type = CHILD_PART;\n readonly options: RenderOptions | undefined;\n _$committedValue: unknown = nothing;\n /** @internal */\n __directive?: Directive;\n /** @internal */\n _$startNode: ChildNode;\n /** @internal */\n _$endNode: ChildNode | null;\n private _textSanitizer: ValueSanitizer | undefined;\n /** @internal */\n _$parent: Disconnectable | undefined;\n /**\n * Connection state for RootParts only (i.e. ChildPart without _$parent\n * returned from top-level `render`). This field is unsed otherwise. The\n * intention would clearer if we made `RootPart` a subclass of `ChildPart`\n * with this field (and a different _$isConnected getter), but the subclass\n * caused a perf regression, possibly due to making call sites polymorphic.\n * @internal\n */\n __isConnected: boolean;\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n // ChildParts that are not at the root should always be created with a\n // parent; only RootChildNode's won't, so they return the local isConnected\n // state\n return this._$parent?._$isConnected ?? this.__isConnected;\n }\n\n // The following fields will be patched onto ChildParts when required by\n // AsyncDirective\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n /** @internal */\n _$notifyConnectionChanged?(\n isConnected: boolean,\n removeFromParent?: boolean,\n from?: number\n ): void;\n /** @internal */\n _$reparentDisconnectables?(parent: Disconnectable): void;\n\n constructor(\n startNode: ChildNode,\n endNode: ChildNode | null,\n parent: TemplateInstance | ChildPart | undefined,\n options: RenderOptions | undefined\n ) {\n this._$startNode = startNode;\n this._$endNode = endNode;\n this._$parent = parent;\n this.options = options;\n // Note __isConnected is only ever accessed on RootParts (i.e. when there is\n // no _$parent); the value on a non-root-part is \"don't care\", but checking\n // for parent would be more code\n this.__isConnected = options?.isConnected ?? true;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n // Explicitly initialize for consistent class shape.\n this._textSanitizer = undefined;\n }\n }\n\n /**\n * The parent node into which the part renders its content.\n *\n * A ChildPart's content consists of a range of adjacent child nodes of\n * `.parentNode`, possibly bordered by 'marker nodes' (`.startNode` and\n * `.endNode`).\n *\n * - If both `.startNode` and `.endNode` are non-null, then the part's content\n * consists of all siblings between `.startNode` and `.endNode`, exclusively.\n *\n * - If `.startNode` is non-null but `.endNode` is null, then the part's\n * content consists of all siblings following `.startNode`, up to and\n * including the last child of `.parentNode`. If `.endNode` is non-null, then\n * `.startNode` will always be non-null.\n *\n * - If both `.endNode` and `.startNode` are null, then the part's content\n * consists of all child nodes of `.parentNode`.\n */\n get parentNode(): Node {\n let parentNode: Node = wrap(this._$startNode).parentNode!;\n const parent = this._$parent;\n if (\n parent !== undefined &&\n parentNode?.nodeType === 11 /* Node.DOCUMENT_FRAGMENT */\n ) {\n // If the parentNode is a DocumentFragment, it may be because the DOM is\n // still in the cloned fragment during initial render; if so, get the real\n // parentNode the part will be committed into by asking the parent.\n parentNode = (parent as ChildPart | TemplateInstance).parentNode;\n }\n return parentNode;\n }\n\n /**\n * The part's leading marker node, if any. See `.parentNode` for more\n * information.\n */\n get startNode(): Node | null {\n return this._$startNode;\n }\n\n /**\n * The part's trailing marker node, if any. See `.parentNode` for more\n * information.\n */\n get endNode(): Node | null {\n return this._$endNode;\n }\n\n _$setValue(value: unknown, directiveParent: DirectiveParent = this): void {\n if (DEV_MODE && this.parentNode === null) {\n throw new Error(\n `This \\`ChildPart\\` has no \\`parentNode\\` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's \\`innerHTML\\` or \\`textContent\\` can do this.`\n );\n }\n value = resolveDirective(this, value, directiveParent);\n if (isPrimitive(value)) {\n // Non-rendering child values. It's important that these do not render\n // empty text nodes to avoid issues with preventing default <slot>\n // fallback content.\n if (value === nothing || value == null || value === '') {\n if (this._$committedValue !== nothing) {\n debugLogEvent?.({\n kind: 'commit nothing to child',\n start: this._$startNode,\n end: this._$endNode,\n parent: this._$parent,\n options: this.options,\n });\n this._$clear();\n }\n this._$committedValue = nothing;\n } else if (value !== this._$committedValue && value !== noChange) {\n this._commitText(value);\n }\n // This property needs to remain unminified.\n } else if ((value as TemplateResult)['_$litType$'] !== undefined) {\n this._commitTemplateResult(value as TemplateResult);\n } else if ((value as Node).nodeType !== undefined) {\n if (DEV_MODE && this.options?.host === value) {\n this._commitText(\n `[probable mistake: rendered a template's host in itself ` +\n `(commonly caused by writing \\${this} in a template]`\n );\n console.warn(\n `Attempted to render the template host`,\n value,\n `inside itself. This is almost always a mistake, and in dev mode `,\n `we render some warning text. In production however, we'll `,\n `render it, which will usually result in an error, and sometimes `,\n `in the element disappearing from the DOM.`\n );\n return;\n }\n this._commitNode(value as Node);\n } else if (isIterable(value)) {\n this._commitIterable(value);\n } else {\n // Fallback, will render the string representation\n this._commitText(value);\n }\n }\n\n private _insert<T extends Node>(node: T) {\n return wrap(wrap(this._$startNode).parentNode!).insertBefore(\n node,\n this._$endNode\n );\n }\n\n private _commitNode(value: Node): void {\n if (this._$committedValue !== value) {\n this._$clear();\n if (\n ENABLE_EXTRA_SECURITY_HOOKS &&\n sanitizerFactoryInternal !== noopSanitizer\n ) {\n const parentNodeName = this._$startNode.parentNode?.nodeName;\n if (parentNodeName === 'STYLE' || parentNodeName === 'SCRIPT') {\n let message = 'Forbidden';\n if (DEV_MODE) {\n if (parentNodeName === 'STYLE') {\n message =\n `Lit does not support binding inside style nodes. ` +\n `This is a security risk, as style injection attacks can ` +\n `exfiltrate data and spoof UIs. ` +\n `Consider instead using css\\`...\\` literals ` +\n `to compose styles, and make do dynamic styling with ` +\n `css custom properties, ::parts, <slot>s, ` +\n `and by mutating the DOM rather than stylesheets.`;\n } else {\n message =\n `Lit does not support binding inside script nodes. ` +\n `This is a security risk, as it could allow arbitrary ` +\n `code execution.`;\n }\n }\n throw new Error(message);\n }\n }\n debugLogEvent?.({\n kind: 'commit node',\n start: this._$startNode,\n parent: this._$parent,\n value: value,\n options: this.options,\n });\n this._$committedValue = this._insert(value);\n }\n }\n\n private _commitText(value: unknown): void {\n // If the committed value is a primitive it means we called _commitText on\n // the previous render, and we know that this._$startNode.nextSibling is a\n // Text node. We can now just replace the text content (.data) of the node.\n if (\n this._$committedValue !== nothing &&\n isPrimitive(this._$committedValue)\n ) {\n const node = wrap(this._$startNode).nextSibling as Text;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(node, 'data', 'property');\n }\n value = this._textSanitizer(value);\n }\n debugLogEvent?.({\n kind: 'commit text',\n node,\n value,\n options: this.options,\n });\n (node as Text).data = value as string;\n } else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n const textNode = d.createTextNode('');\n this._commitNode(textNode);\n // When setting text content, for security purposes it matters a lot\n // what the parent is. For example, <style> and <script> need to be\n // handled with care, while <span> does not. So first we need to put a\n // text node into the document, then we can sanitize its content.\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(textNode, 'data', 'property');\n }\n value = this._textSanitizer(value);\n debugLogEvent?.({\n kind: 'commit text',\n node: textNode,\n value,\n options: this.options,\n });\n textNode.data = value as string;\n } else {\n this._commitNode(d.createTextNode(value as string));\n debugLogEvent?.({\n kind: 'commit text',\n node: wrap(this._$startNode).nextSibling as Text,\n value,\n options: this.options,\n });\n }\n }\n this._$committedValue = value;\n }\n\n private _commitTemplateResult(\n result: TemplateResult | CompiledTemplateResult\n ): void {\n // This property needs to remain unminified.\n const {values, ['_$litType$']: type} = result;\n // If $litType$ is a number, result is a plain TemplateResult and we get\n // the template from the template cache. If not, result is a\n // CompiledTemplateResult and _$litType$ is a CompiledTemplate and we need\n // to create the <template> element the first time we see it.\n const template: Template | CompiledTemplate =\n typeof type === 'number'\n ? this._$getTemplate(result as TemplateResult)\n : (type.el === undefined &&\n (type.el = Template.createElement(\n trustFromTemplateString(type.h, type.h[0]),\n this.options\n )),\n type);\n\n if ((this._$committedValue as TemplateInstance)?._$template === template) {\n debugLogEvent?.({\n kind: 'template updating',\n template,\n instance: this._$committedValue as TemplateInstance,\n parts: (this._$committedValue as TemplateInstance)._$parts,\n options: this.options,\n values,\n });\n (this._$committedValue as TemplateInstance)._update(values);\n } else {\n const instance = new TemplateInstance(template as Template, this);\n const fragment = instance._clone(this.options);\n debugLogEvent?.({\n kind: 'template instantiated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n instance._update(values);\n debugLogEvent?.({\n kind: 'template instantiated and updated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n this._commitNode(fragment);\n this._$committedValue = instance;\n }\n }\n\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @internal */\n _$getTemplate(result: TemplateResult) {\n let template = templateCache.get(result.strings);\n if (template === undefined) {\n templateCache.set(result.strings, (template = new Template(result)));\n }\n return template;\n }\n\n private _commitIterable(value: Iterable<unknown>): void {\n // For an Iterable, we create a new InstancePart per item, then set its\n // value to the item. This is a little bit of overhead for every item in\n // an Iterable, but it lets us recurse easily and efficiently update Arrays\n // of TemplateResults that will be commonly returned from expressions like:\n // array.map((i) => html`${i}`), by reusing existing TemplateInstances.\n\n // If value is an array, then the previous render was of an\n // iterable and value will contain the ChildParts from the previous\n // render. If value is not an array, clear this part and make a new\n // array for ChildParts.\n if (!isArray(this._$committedValue)) {\n this._$committedValue = [];\n this._$clear();\n }\n\n // Lets us keep track of how many items we stamped so we can clear leftover\n // items from a previous render\n const itemParts = this._$committedValue as ChildPart[];\n let partIndex = 0;\n let itemPart: ChildPart | undefined;\n\n for (const item of value) {\n if (partIndex === itemParts.length) {\n // If no existing part, create a new one\n // TODO (justinfagnani): test perf impact of always creating two parts\n // instead of sharing parts between nodes\n // https://github.com/lit/lit/issues/1266\n itemParts.push(\n (itemPart = new ChildPart(\n this._insert(createMarker()),\n this._insert(createMarker()),\n this,\n this.options\n ))\n );\n } else {\n // Reuse an existing part\n itemPart = itemParts[partIndex];\n }\n itemPart._$setValue(item);\n partIndex++;\n }\n\n if (partIndex < itemParts.length) {\n // itemParts always have end nodes\n this._$clear(\n itemPart && wrap(itemPart._$endNode!).nextSibling,\n partIndex\n );\n // Truncate the parts array so _value reflects the current state\n itemParts.length = partIndex;\n }\n }\n\n /**\n * Removes the nodes contained within this Part from the DOM.\n *\n * @param start Start node to clear from, for clearing a subset of the part's\n * DOM (used when truncating iterables)\n * @param from When `start` is specified, the index within the iterable from\n * which ChildParts are being removed, used for disconnecting directives in\n * those Parts.\n *\n * @internal\n */\n _$clear(\n start: ChildNode | null = wrap(this._$startNode).nextSibling,\n from?: number\n ) {\n this._$notifyConnectionChanged?.(false, true, from);\n while (start && start !== this._$endNode) {\n const n = wrap(start!).nextSibling;\n (wrap(start!) as Element).remove();\n start = n;\n }\n }\n /**\n * Implementation of RootPart's `isConnected`. Note that this metod\n * should only be called on `RootPart`s (the `ChildPart` returned from a\n * top-level `render()` call). It has no effect on non-root ChildParts.\n * @param isConnected Whether to set\n * @internal\n */\n setConnected(isConnected: boolean) {\n if (this._$parent === undefined) {\n this.__isConnected = isConnected;\n this._$notifyConnectionChanged?.(isConnected);\n } else if (DEV_MODE) {\n throw new Error(\n 'part.setConnected() may only be called on a ' +\n 'RootPart returned from render().'\n );\n }\n }\n}\n\n/**\n * A top-level `ChildPart` returned from `render` that manages the connected\n * state of `AsyncDirective`s created throughout the tree below it.\n */\nexport interface RootPart extends ChildPart {\n /**\n * Sets the connection state for `AsyncDirective`s contained within this root\n * ChildPart.\n *\n * lit-html does not automatically monitor the connectedness of DOM rendered;\n * as such, it is the responsibility of the caller to `render` to ensure that\n * `part.setConnected(false)` is called before the part object is potentially\n * discarded, to ensure that `AsyncDirective`s have a chance to dispose of\n * any resources being held. If a `RootPart` that was previously\n * disconnected is subsequently re-connected (and its `AsyncDirective`s should\n * re-connect), `setConnected(true)` should be called.\n *\n * @param isConnected Whether directives within this tree should be connected\n * or not\n */\n setConnected(isConnected: boolean): void;\n}\n\nexport type {AttributePart};\nclass AttributePart implements Disconnectable {\n readonly type = ATTRIBUTE_PART as\n | typeof ATTRIBUTE_PART\n | typeof PROPERTY_PART\n | typeof BOOLEAN_ATTRIBUTE_PART\n | typeof EVENT_PART;\n readonly element: HTMLElement;\n readonly name: string;\n readonly options: RenderOptions | undefined;\n\n /**\n * If this attribute part represents an interpolation, this contains the\n * static strings of the interpolation. For single-value, complete bindings,\n * this is undefined.\n */\n readonly strings?: ReadonlyArray<string>;\n /** @internal */\n _$committedValue: unknown | Array<unknown> = nothing;\n /** @internal */\n __directives?: Array<Directive | undefined>;\n /** @internal */\n _$parent: Disconnectable;\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n protected _sanitizer: ValueSanitizer | undefined;\n\n get tagName() {\n return this.element.tagName;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n constructor(\n element: HTMLElement,\n name: string,\n strings: ReadonlyArray<string>,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n this.element = element;\n this.name = name;\n this._$parent = parent;\n this.options = options;\n if (strings.length > 2 || strings[0] !== '' || strings[1] !== '') {\n this._$committedValue = new Array(strings.length - 1).fill(new String());\n this.strings = strings;\n } else {\n this._$committedValue = nothing;\n }\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n this._sanitizer = undefined;\n }\n }\n\n /**\n * Sets the value of this part by resolving the value from possibly multiple\n * values and static strings and committing it to the DOM.\n * If this part is single-valued, `this._strings` will be undefined, and the\n * method will be called with a single value argument. If this part is\n * multi-value, `this._strings` will be defined, and the method is called\n * with the value array of the part's owning TemplateInstance, and an offset\n * into the value array from which the values should be read.\n * This method is overloaded this way to eliminate short-lived array slices\n * of the template instance values, and allow a fast-path for single-valued\n * parts.\n *\n * @param value The part value, or an array of values for multi-valued parts\n * @param valueIndex the index to start reading values from. `undefined` for\n * single-valued parts\n * @param noCommit causes the part to not commit its value to the DOM. Used\n * in hydration to prime attribute parts with their first-rendered value,\n * but not set the attribute, and in SSR to no-op the DOM operation and\n * capture the value for serialization.\n *\n * @internal\n */\n _$setValue(\n value: unknown | Array<unknown>,\n directiveParent: DirectiveParent = this,\n valueIndex?: number,\n noCommit?: boolean\n ) {\n const strings = this.strings;\n\n // Whether any of the values has changed, for dirty-checking\n let change = false;\n\n if (strings === undefined) {\n // Single-value binding case\n value = resolveDirective(this, value, directiveParent, 0);\n change =\n !isPrimitive(value) ||\n (value !== this._$committedValue && value !== noChange);\n if (change) {\n this._$committedValue = value;\n }\n } else {\n // Interpolation case\n const values = value as Array<unknown>;\n value = strings[0];\n\n let i, v;\n for (i = 0; i < strings.length - 1; i++) {\n v = resolveDirective(this, values[valueIndex! + i], directiveParent, i);\n\n if (v === noChange) {\n // If the user-provided value is `noChange`, use the previous value\n v = (this._$committedValue as Array<unknown>)[i];\n }\n change ||=\n !isPrimitive(v) || v !== (this._$committedValue as Array<unknown>)[i];\n if (v === nothing) {\n value = nothing;\n } else if (value !== nothing) {\n value += (v ?? '') + strings[i + 1];\n }\n // We always record each value, even if one is `nothing`, for future\n // change detection.\n (this._$committedValue as Array<unknown>)[i] = v;\n }\n }\n if (change && !noCommit) {\n this._commitValue(value);\n }\n }\n\n /** @internal */\n _commitValue(value: unknown) {\n if (value === nothing) {\n (wrap(this.element) as Element).removeAttribute(this.name);\n } else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(\n this.element,\n this.name,\n 'attribute'\n );\n }\n value = this._sanitizer(value ?? '');\n }\n debugLogEvent?.({\n kind: 'commit attribute',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n (wrap(this.element) as Element).setAttribute(\n this.name,\n (value ?? '') as string\n );\n }\n }\n}\n\nexport type {PropertyPart};\nclass PropertyPart extends AttributePart {\n override readonly type = PROPERTY_PART;\n\n /** @internal */\n override _commitValue(value: unknown) {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(\n this.element,\n this.name,\n 'property'\n );\n }\n value = this._sanitizer(value);\n }\n debugLogEvent?.({\n kind: 'commit property',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (this.element as any)[this.name] = value === nothing ? undefined : value;\n }\n}\n\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n\nexport type {BooleanAttributePart};\nclass BooleanAttributePart extends AttributePart {\n override readonly type = BOOLEAN_ATTRIBUTE_PART;\n\n /** @internal */\n override _commitValue(value: unknown) {\n debugLogEvent?.({\n kind: 'commit boolean attribute',\n element: this.element,\n name: this.name,\n value: !!(value && value !== nothing),\n options: this.options,\n });\n if (value && value !== nothing) {\n (wrap(this.element) as Element).setAttribute(\n this.name,\n emptyStringForBooleanAttribute\n );\n } else {\n (wrap(this.element) as Element).removeAttribute(this.name);\n }\n }\n}\n\ntype EventListenerWithOptions = EventListenerOrEventListenerObject &\n Partial<AddEventListenerOptions>;\n\n/**\n * An AttributePart that manages an event listener via add/removeEventListener.\n *\n * This part works by adding itself as the event listener on an element, then\n * delegating to the value passed to it. This reduces the number of calls to\n * add/removeEventListener if the listener changes frequently, such as when an\n * inline function is used as a listener.\n *\n * Because event options are passed when adding listeners, we must take case\n * to add and remove the part as a listener when the event options change.\n */\nexport type {EventPart};\nclass EventPart extends AttributePart {\n override readonly type = EVENT_PART;\n\n constructor(\n element: HTMLElement,\n name: string,\n strings: ReadonlyArray<string>,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n super(element, name, strings, parent, options);\n\n if (DEV_MODE && this.strings !== undefined) {\n throw new Error(\n `A \\`<${element.localName}>\\` has a \\`@${name}=...\\` listener with ` +\n 'invalid content. Event listeners in templates must have exactly ' +\n 'one expression and no surrounding text.'\n );\n }\n }\n\n // EventPart does not use the base _$setValue/_resolveValue implementation\n // since the dirty checking is more complex\n /** @internal */\n override _$setValue(\n newListener: unknown,\n directiveParent: DirectiveParent = this\n ) {\n newListener =\n resolveDirective(this, newListener, directiveParent, 0) ?? nothing;\n if (newListener === noChange) {\n return;\n }\n const oldListener = this._$committedValue;\n\n // If the new value is nothing or any options change we have to remove the\n // part as a listener.\n const shouldRemoveListener =\n (newListener === nothing && oldListener !== nothing) ||\n (newListener as EventListenerWithOptions).capture !==\n (oldListener as EventListenerWithOptions).capture ||\n (newListener as EventListenerWithOptions).once !==\n (oldListener as EventListenerWithOptions).once ||\n (newListener as EventListenerWithOptions).passive !==\n (oldListener as EventListenerWithOptions).passive;\n\n // If the new value is not nothing and we removed the listener, we have\n // to add the part as a listener.\n const shouldAddListener =\n newListener !== nothing &&\n (oldListener === nothing || shouldRemoveListener);\n\n debugLogEvent?.({\n kind: 'commit event listener',\n element: this.element,\n name: this.name,\n value: newListener,\n options: this.options,\n removeListener: shouldRemoveListener,\n addListener: shouldAddListener,\n oldListener,\n });\n if (shouldRemoveListener) {\n this.element.removeEventListener(\n this.name,\n this,\n oldListener as EventListenerWithOptions\n );\n }\n if (shouldAddListener) {\n // Beware: IE11 and Chrome 41 don't like using the listener as the\n // options object. Figure out how to deal w/ this in IE11 - maybe\n // patch addEventListener?\n this.element.addEventListener(\n this.name,\n this,\n newListener as EventListenerWithOptions\n );\n }\n this._$committedValue = newListener;\n }\n\n handleEvent(event: Event) {\n if (typeof this._$committedValue === 'function') {\n this._$committedValue.call(this.options?.host ?? this.element, event);\n } else {\n (this._$committedValue as EventListenerObject).handleEvent(event);\n }\n }\n}\n\nexport type {ElementPart};\nclass ElementPart implements Disconnectable {\n readonly type = ELEMENT_PART;\n\n /** @internal */\n __directive?: Directive;\n\n // This is to ensure that every Part has a _$committedValue\n _$committedValue: undefined;\n\n /** @internal */\n _$parent!: Disconnectable;\n\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n options: RenderOptions | undefined;\n\n constructor(\n public element: Element,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n this._$parent = parent;\n this.options = options;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n _$setValue(value: unknown): void {\n debugLogEvent?.({\n kind: 'commit to element binding',\n element: this.element,\n value,\n options: this.options,\n });\n resolveDirective(this, value);\n }\n}\n\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LH object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-element, which re-exports all of lit-html.\n *\n * @private\n */\nexport const _$LH = {\n // Used in lit-ssr\n _boundAttributeSuffix: boundAttributeSuffix,\n _marker: marker,\n _markerMatch: markerMatch,\n _HTML_RESULT: HTML_RESULT,\n _getTemplateHtml: getTemplateHtml,\n // Used in tests and private-ssr-support\n _TemplateInstance: TemplateInstance,\n _isIterable: isIterable,\n _resolveDirective: resolveDirective,\n _ChildPart: ChildPart,\n _AttributePart: AttributePart,\n _BooleanAttributePart: BooleanAttributePart,\n _EventPart: EventPart,\n _PropertyPart: PropertyPart,\n _ElementPart: ElementPart,\n};\n\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? global.litHtmlPolyfillSupportDevMode\n : global.litHtmlPolyfillSupport;\npolyfillSupport?.(Template, ChildPart);\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for lit-html usage.\n(global.litHtmlVersions ??= []).push('2.8.0');\nif (DEV_MODE && global.litHtmlVersions.length > 1) {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. ` +\n `Loading multiple versions is not recommended.`\n );\n}\n\n/**\n * Renders a value, usually a lit-html TemplateResult, to the container.\n *\n * This example renders the text \"Hello, Zoe!\" inside a paragraph tag, appending\n * it to the container `document.body`.\n *\n * ```js\n * import {html, render} from 'lit';\n *\n * const name = \"Zoe\";\n * render(html`<p>Hello, ${name}!</p>`, document.body);\n * ```\n *\n * @param value Any [renderable\n * value](https://lit.dev/docs/templates/expressions/#child-expressions),\n * typically a {@linkcode TemplateResult} created by evaluating a template tag\n * like {@linkcode html} or {@linkcode svg}.\n * @param container A DOM container to render to. The first render will append\n * the rendered value to the container, and subsequent renders will\n * efficiently update the rendered value if the same result type was\n * previously rendered there.\n * @param options See {@linkcode RenderOptions} for options documentation.\n * @see\n * {@link https://lit.dev/docs/libraries/standalone-templates/#rendering-lit-html-templates| Rendering Lit HTML Templates}\n */\nexport const render = (\n value: unknown,\n container: HTMLElement | DocumentFragment,\n options?: RenderOptions\n): RootPart => {\n if (DEV_MODE && container == null) {\n // Give a clearer error message than\n // Uncaught TypeError: Cannot read properties of null (reading\n // '_$litPart$')\n // which reads like an internal Lit error.\n throw new TypeError(`The container to render into may not be ${container}`);\n }\n const renderId = DEV_MODE ? debugLogRenderId++ : 0;\n const partOwnerNode = options?.renderBefore ?? container;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let part: ChildPart = (partOwnerNode as any)['_$litPart$'];\n debugLogEvent?.({\n kind: 'begin render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n if (part === undefined) {\n const endNode = options?.renderBefore ?? null;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (partOwnerNode as any)['_$litPart$'] = part = new ChildPart(\n container.insertBefore(createMarker(), endNode),\n endNode,\n undefined,\n options ?? {}\n );\n }\n part._$setValue(value);\n debugLogEvent?.({\n kind: 'end render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n return part as RootPart;\n};\n\nif (ENABLE_EXTRA_SECURITY_HOOKS) {\n render.setSanitizer = setSanitizer;\n render.createSanitizer = createSanitizer;\n if (DEV_MODE) {\n render._testOnlyClearSanitizerFactoryDoNotCallOrElse =\n _testOnlyClearSanitizerFactoryDoNotCallOrElse;\n }\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * The main LitElement module, which defines the {@linkcode LitElement} base\n * class and related APIs.\n *\n * LitElement components can define a template and a set of observed\n * properties. Changing an observed property triggers a re-render of the\n * element.\n *\n * Import {@linkcode LitElement} and {@linkcode html} from this module to\n * create a component:\n *\n * ```js\n * import {LitElement, html} from 'lit-element';\n *\n * class MyElement extends LitElement {\n *\n * // Declare observed properties\n * static get properties() {\n * return {\n * adjective: {}\n * }\n * }\n *\n * constructor() {\n * this.adjective = 'awesome';\n * }\n *\n * // Define the element's template\n * render() {\n * return html`<p>your ${adjective} template here</p>`;\n * }\n * }\n *\n * customElements.define('my-element', MyElement);\n * ```\n *\n * `LitElement` extends {@linkcode ReactiveElement} and adds lit-html\n * templating. The `ReactiveElement` class is provided for users that want to\n * build their own custom element base classes that don't use lit-html.\n *\n * @packageDocumentation\n */\nimport {PropertyValues, ReactiveElement} from '@lit/reactive-element';\nimport {render, RenderOptions, noChange, RootPart} from 'lit-html';\nexport * from '@lit/reactive-element';\nexport * from 'lit-html';\n\nimport {LitUnstable} from 'lit-html';\nimport {ReactiveUnstable} from '@lit/reactive-element';\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace Unstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry =\n | LitUnstable.DebugLog.Entry\n | ReactiveUnstable.DebugLog.Entry;\n }\n}\n\n// For backwards compatibility export ReactiveElement as UpdatingElement. Note,\n// IE transpilation requires exporting like this.\nexport const UpdatingElement = ReactiveElement;\n\nconst DEV_MODE = true;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings: Set<string | undefined> =\n (globalThis.litIssuedWarnings ??= new Set());\n\n // Issue a warning, if we haven't already.\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\n\n/**\n * Base element class that manages element properties and attributes, and\n * renders a lit-html template.\n *\n * To define a component, subclass `LitElement` and implement a\n * `render` method to provide the component's template. Define properties\n * using the {@linkcode LitElement.properties properties} property or the\n * {@linkcode property} decorator.\n */\nexport class LitElement extends ReactiveElement {\n /**\n * Ensure this class is marked as `finalized` as an optimization ensuring\n * it will not needlessly try to `finalize`.\n *\n * Note this property name is a string to prevent breaking Closure JS Compiler\n * optimizations. See @lit/reactive-element for more information.\n */\n protected static override ['finalized'] = true;\n\n // This property needs to remain unminified.\n static ['_$litElement$'] = true;\n\n /**\n * @category rendering\n */\n readonly renderOptions: RenderOptions = {host: this};\n\n private __childPart: RootPart | undefined = undefined;\n\n /**\n * @category rendering\n */\n protected override createRenderRoot() {\n const renderRoot = super.createRenderRoot();\n // When adoptedStyleSheets are shimmed, they are inserted into the\n // shadowRoot by createRenderRoot. Adjust the renderBefore node so that\n // any styles in Lit content render before adoptedStyleSheets. This is\n // important so that adoptedStyleSheets have precedence over styles in\n // the shadowRoot.\n this.renderOptions.renderBefore ??= renderRoot!.firstChild as ChildNode;\n return renderRoot;\n }\n\n /**\n * Updates the element. This method reflects property values to attributes\n * and calls `render` to render DOM via lit-html. Setting properties inside\n * this method will *not* trigger another update.\n * @param changedProperties Map of changed properties with old values\n * @category updates\n */\n protected override update(changedProperties: PropertyValues) {\n // Setting properties in `render` should not trigger an update. Since\n // updates are allowed after super.update, it's important to call `render`\n // before that.\n const value = this.render();\n if (!this.hasUpdated) {\n this.renderOptions.isConnected = this.isConnected;\n }\n super.update(changedProperties);\n this.__childPart = render(value, this.renderRoot, this.renderOptions);\n }\n\n /**\n * Invoked when the component is added to the document's DOM.\n *\n * In `connectedCallback()` you should setup tasks that should only occur when\n * the element is connected to the document. The most common of these is\n * adding event listeners to nodes external to the element, like a keydown\n * event handler added to the window.\n *\n * ```ts\n * connectedCallback() {\n * super.connectedCallback();\n * addEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * Typically, anything done in `connectedCallback()` should be undone when the\n * element is disconnected, in `disconnectedCallback()`.\n *\n * @category lifecycle\n */\n override connectedCallback() {\n super.connectedCallback();\n this.__childPart?.setConnected(true);\n }\n\n /**\n * Invoked when the component is removed from the document's DOM.\n *\n * This callback is the main signal to the element that it may no longer be\n * used. `disconnectedCallback()` should ensure that nothing is holding a\n * reference to the element (such as event listeners added to nodes external\n * to the element), so that it is free to be garbage collected.\n *\n * ```ts\n * disconnectedCallback() {\n * super.disconnectedCallback();\n * window.removeEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * An element may be re-connected after being disconnected.\n *\n * @category lifecycle\n */\n override disconnectedCallback() {\n super.disconnectedCallback();\n this.__childPart?.setConnected(false);\n }\n\n /**\n * Invoked on each update to perform rendering tasks. This method may return\n * any value renderable by lit-html's `ChildPart` - typically a\n * `TemplateResult`. Setting properties inside this method will *not* trigger\n * the element to update.\n * @category rendering\n */\n protected render(): unknown {\n return noChange;\n }\n}\n\n// Install hydration if available\nglobalThis.litElementHydrateSupport?.({LitElement});\n\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? globalThis.litElementPolyfillSupportDevMode\n : globalThis.litElementPolyfillSupport;\npolyfillSupport?.({LitElement});\n\n// DEV mode warnings\nif (DEV_MODE) {\n /* eslint-disable @typescript-eslint/no-explicit-any */\n // Note, for compatibility with closure compilation, this access\n // needs to be as a string property index.\n (LitElement as any)['finalize'] = function (this: typeof LitElement) {\n const finalized = (ReactiveElement as any).finalize.call(this);\n if (!finalized) {\n return false;\n }\n const warnRemovedOrRenamed = (obj: any, name: string, renamed = false) => {\n if (obj.hasOwnProperty(name)) {\n const ctorName = (typeof obj === 'function' ? obj : obj.constructor)\n .name;\n issueWarning(\n renamed ? 'renamed-api' : 'removed-api',\n `\\`${name}\\` is implemented on class ${ctorName}. It ` +\n `has been ${renamed ? 'renamed' : 'removed'} ` +\n `in this version of LitElement.`\n );\n }\n };\n warnRemovedOrRenamed(this, 'render');\n warnRemovedOrRenamed(this, 'getStyles', true);\n warnRemovedOrRenamed((this as typeof LitElement).prototype, 'adoptStyles');\n return true;\n };\n /* eslint-enable @typescript-eslint/no-explicit-any */\n}\n\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LE object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-html, since this module re-exports all of lit-html.\n *\n * @private\n */\nexport const _$LE = {\n _$attributeToProperty: (\n el: LitElement,\n name: string,\n value: string | null\n ) => {\n // eslint-disable-next-line\n (el as any)._$attributeToProperty(name, value);\n },\n // eslint-disable-next-line\n _$changedProperties: (el: LitElement) => (el as any)._$changedProperties,\n};\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for LitElement usage.\n(globalThis.litElementVersions ??= []).push('3.3.3');\nif (DEV_MODE && globalThis.litElementVersions.length > 1) {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`\n );\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {Disconnectable, Part} from './lit-html.js';\n\nexport {\n AttributePart,\n BooleanAttributePart,\n ChildPart,\n ElementPart,\n EventPart,\n Part,\n PropertyPart,\n} from './lit-html.js';\n\nexport interface DirectiveClass {\n new (part: PartInfo): Directive;\n}\n\n/**\n * This utility type extracts the signature of a directive class's render()\n * method so we can use it for the type of the generated directive function.\n */\nexport type DirectiveParameters<C extends Directive> = Parameters<C['render']>;\n\n/**\n * A generated directive function doesn't evaluate the directive, but just\n * returns a DirectiveResult object that captures the arguments.\n */\nexport interface DirectiveResult<C extends DirectiveClass = DirectiveClass> {\n /**\n * This property needs to remain unminified.\n * @internal */\n ['_$litDirective$']: C;\n /** @internal */\n values: DirectiveParameters<InstanceType<C>>;\n}\n\nexport const PartType = {\n ATTRIBUTE: 1,\n CHILD: 2,\n PROPERTY: 3,\n BOOLEAN_ATTRIBUTE: 4,\n EVENT: 5,\n ELEMENT: 6,\n} as const;\n\nexport type PartType = (typeof PartType)[keyof typeof PartType];\n\nexport interface ChildPartInfo {\n readonly type: typeof PartType.CHILD;\n}\n\nexport interface AttributePartInfo {\n readonly type:\n | typeof PartType.ATTRIBUTE\n | typeof PartType.PROPERTY\n | typeof PartType.BOOLEAN_ATTRIBUTE\n | typeof PartType.EVENT;\n readonly strings?: ReadonlyArray<string>;\n readonly name: string;\n readonly tagName: string;\n}\n\nexport interface ElementPartInfo {\n readonly type: typeof PartType.ELEMENT;\n}\n\n/**\n * Information about the part a directive is bound to.\n *\n * This is useful for checking that a directive is attached to a valid part,\n * such as with directive that can only be used on attribute bindings.\n */\nexport type PartInfo = ChildPartInfo | AttributePartInfo | ElementPartInfo;\n\n/**\n * Creates a user-facing directive function from a Directive class. This\n * function has the same parameters as the directive's render() method.\n */\nexport const directive =\n <C extends DirectiveClass>(c: C) =>\n (...values: DirectiveParameters<InstanceType<C>>): DirectiveResult<C> => ({\n // This property needs to remain unminified.\n ['_$litDirective$']: c,\n values,\n });\n\n/**\n * Base class for creating custom directives. Users should extend this class,\n * implement `render` and/or `update`, and then pass their subclass to\n * `directive`.\n */\nexport abstract class Directive implements Disconnectable {\n //@internal\n __part!: Part;\n //@internal\n __attributeIndex: number | undefined;\n //@internal\n __directive?: Directive;\n\n //@internal\n _$parent!: Disconnectable;\n\n // These will only exist on the AsyncDirective subclass\n //@internal\n _$disconnectableChildren?: Set<Disconnectable>;\n // This property needs to remain unminified.\n //@internal\n ['_$notifyDirectiveConnectionChanged']?(isConnected: boolean): void;\n\n constructor(_partInfo: PartInfo) {}\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n /** @internal */\n _$initialize(\n part: Part,\n parent: Disconnectable,\n attributeIndex: number | undefined\n ) {\n this.__part = part;\n this._$parent = parent;\n this.__attributeIndex = attributeIndex;\n }\n /** @internal */\n _$resolve(part: Part, props: Array<unknown>): unknown {\n return this.update(part, props);\n }\n\n abstract render(...props: Array<unknown>): unknown;\n\n update(_part: Part, props: Array<unknown>): unknown {\n return this.render(...props);\n }\n}\n", null, "/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {nothing} from '../lit-html.js';\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nexport const ifDefined = <T>(value: T) => value ?? nothing;\n", "/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {\n _$LH,\n Part,\n DirectiveParent,\n TemplateResult,\n CompiledTemplateResult,\n} from './lit-html.js';\nimport {\n DirectiveResult,\n DirectiveClass,\n PartInfo,\n AttributePartInfo,\n} from './directive.js';\ntype Primitive = null | undefined | boolean | number | string | symbol | bigint;\n\nconst {_ChildPart: ChildPart} = _$LH;\n\ntype ChildPart = InstanceType<typeof ChildPart>;\n\nconst ENABLE_SHADYDOM_NOPATCH = true;\n\nconst wrap =\n ENABLE_SHADYDOM_NOPATCH &&\n window.ShadyDOM?.inUse &&\n window.ShadyDOM?.noPatch === true\n ? window.ShadyDOM!.wrap\n : (node: Node) => node;\n\n/**\n * Tests if a value is a primitive value.\n *\n * See https://tc39.github.io/ecma262/#sec-typeof-operator\n */\nexport const isPrimitive = (value: unknown): value is Primitive =>\n value === null || (typeof value != 'object' && typeof value != 'function');\n\nexport const TemplateResultType = {\n HTML: 1,\n SVG: 2,\n} as const;\n\nexport type TemplateResultType =\n (typeof TemplateResultType)[keyof typeof TemplateResultType];\n\ntype IsTemplateResult = {\n (val: unknown): val is TemplateResult | CompiledTemplateResult;\n <T extends TemplateResultType>(\n val: unknown,\n type: T\n ): val is TemplateResult<T>;\n};\n\n/**\n * Tests if a value is a TemplateResult or a CompiledTemplateResult.\n */\nexport const isTemplateResult: IsTemplateResult = (\n value: unknown,\n type?: TemplateResultType\n): value is TemplateResult =>\n type === undefined\n ? // This property needs to remain unminified.\n (value as TemplateResult)?.['_$litType$'] !== undefined\n : (value as TemplateResult)?.['_$litType$'] === type;\n\n/**\n * Tests if a value is a CompiledTemplateResult.\n */\nexport const isCompiledTemplateResult = (\n value: unknown\n): value is CompiledTemplateResult => {\n return (value as CompiledTemplateResult)?.['_$litType$']?.h != null;\n};\n\n/**\n * Tests if a value is a DirectiveResult.\n */\nexport const isDirectiveResult = (value: unknown): value is DirectiveResult =>\n // This property needs to remain unminified.\n (value as DirectiveResult)?.['_$litDirective$'] !== undefined;\n\n/**\n * Retrieves the Directive class for a DirectiveResult\n */\nexport const getDirectiveClass = (value: unknown): DirectiveClass | undefined =>\n // This property needs to remain unminified.\n (value as DirectiveResult)?.['_$litDirective$'];\n\n/**\n * Tests whether a part has only a single-expression with no strings to\n * interpolate between.\n *\n * Only AttributePart and PropertyPart can have multiple expressions.\n * Multi-expression parts have a `strings` property and single-expression\n * parts do not.\n */\nexport const isSingleExpression = (part: PartInfo) =>\n (part as AttributePartInfo).strings === undefined;\n\nconst createMarker = () => document.createComment('');\n\n/**\n * Inserts a ChildPart into the given container ChildPart's DOM, either at the\n * end of the container ChildPart, or before the optional `refPart`.\n *\n * This does not add the part to the containerPart's committed value. That must\n * be done by callers.\n *\n * @param containerPart Part within which to add the new ChildPart\n * @param refPart Part before which to add the new ChildPart; when omitted the\n * part added to the end of the `containerPart`\n * @param part Part to insert, or undefined to create a new part\n */\nexport const insertPart = (\n containerPart: ChildPart,\n refPart?: ChildPart,\n part?: ChildPart\n): ChildPart => {\n const container = wrap(containerPart._$startNode).parentNode!;\n\n const refNode =\n refPart === undefined ? containerPart._$endNode : refPart._$startNode;\n\n if (part === undefined) {\n const startNode = wrap(container).insertBefore(createMarker(), refNode);\n const endNode = wrap(container).insertBefore(createMarker(), refNode);\n part = new ChildPart(\n startNode,\n endNode,\n containerPart,\n containerPart.options\n );\n } else {\n const endNode = wrap(part._$endNode!).nextSibling;\n const oldParent = part._$parent;\n const parentChanged = oldParent !== containerPart;\n if (parentChanged) {\n part._$reparentDisconnectables?.(containerPart);\n // Note that although `_$reparentDisconnectables` updates the part's\n // `_$parent` reference after unlinking from its current parent, that\n // method only exists if Disconnectables are present, so we need to\n // unconditionally set it here\n part._$parent = containerPart;\n // Since the _$isConnected getter is somewhat costly, only\n // read it once we know the subtree has directives that need\n // to be notified\n let newConnectionState;\n if (\n part._$notifyConnectionChanged !== undefined &&\n (newConnectionState = containerPart._$isConnected) !==\n oldParent!._$isConnected\n ) {\n part._$notifyConnectionChanged(newConnectionState);\n }\n }\n if (endNode !== refNode || parentChanged) {\n let start: Node | null = part._$startNode;\n while (start !== endNode) {\n const n: Node | null = wrap(start!).nextSibling;\n wrap(container).insertBefore(start!, refNode);\n start = n;\n }\n }\n }\n\n return part;\n};\n\n/**\n * Sets the value of a Part.\n *\n * Note that this should only be used to set/update the value of user-created\n * parts (i.e. those created using `insertPart`); it should not be used\n * by directives to set the value of the directive's container part. Directives\n * should return a value from `update`/`render` to update their part state.\n *\n * For directives that require setting their part value asynchronously, they\n * should extend `AsyncDirective` and call `this.setValue()`.\n *\n * @param part Part to set\n * @param value Value to set\n * @param index For `AttributePart`s, the index to set\n * @param directiveParent Used internally; should not be set by user\n */\nexport const setChildPartValue = <T extends ChildPart>(\n part: T,\n value: unknown,\n directiveParent: DirectiveParent = part\n): T => {\n part._$setValue(value, directiveParent);\n return part;\n};\n\n// A sentinel value that can never appear as a part value except when set by\n// live(). Used to force a dirty-check to fail and cause a re-render.\nconst RESET_VALUE = {};\n\n/**\n * Sets the committed value of a ChildPart directly without triggering the\n * commit stage of the part.\n *\n * This is useful in cases where a directive needs to update the part such\n * that the next update detects a value change or not. When value is omitted,\n * the next update will be guaranteed to be detected as a change.\n *\n * @param part\n * @param value\n */\nexport const setCommittedValue = (part: Part, value: unknown = RESET_VALUE) =>\n (part._$committedValue = value);\n\n/**\n * Returns the committed value of a ChildPart.\n *\n * The committed value is used for change detection and efficient updates of\n * the part. It can differ from the value set by the template or directive in\n * cases where the template value is transformed before being committed.\n *\n * - `TemplateResult`s are committed as a `TemplateInstance`\n * - Iterables are committed as `Array<ChildPart>`\n * - All other types are committed as the template value or value returned or\n * set by a directive.\n *\n * @param part\n */\nexport const getCommittedValue = (part: ChildPart) => part._$committedValue;\n\n/**\n * Removes a ChildPart from the DOM, including any of its content.\n *\n * @param part The Part to remove\n */\nexport const removePart = (part: ChildPart) => {\n part._$notifyConnectionChanged?.(false, true);\n let start: ChildNode | null = part._$startNode;\n const end: ChildNode | null = wrap(part._$endNode!).nextSibling;\n while (start !== end) {\n const n: ChildNode | null = wrap(start!).nextSibling;\n (wrap(start!) as ChildNode).remove();\n start = n;\n }\n};\n\nexport const clearPart = (part: ChildPart) => {\n part._$clear();\n};\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {ChildPart, noChange} from '../lit-html.js';\nimport {directive, Directive, PartInfo, PartType} from '../directive.js';\nimport {\n insertPart,\n getCommittedValue,\n removePart,\n setCommittedValue,\n setChildPartValue,\n} from '../directive-helpers.js';\n\nexport type KeyFn<T> = (item: T, index: number) => unknown;\nexport type ItemTemplate<T> = (item: T, index: number) => unknown;\n\n// Helper for generating a map of array item to its index over a subset\n// of an array (used to lazily generate `newKeyToIndexMap` and\n// `oldKeyToIndexMap`)\nconst generateMap = (list: unknown[], start: number, end: number) => {\n const map = new Map<unknown, number>();\n for (let i = start; i <= end; i++) {\n map.set(list[i], i);\n }\n return map;\n};\n\nclass RepeatDirective extends Directive {\n private _itemKeys?: unknown[];\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (partInfo.type !== PartType.CHILD) {\n throw new Error('repeat() can only be used in text expressions');\n }\n }\n\n private _getValuesAndKeys<T>(\n items: Iterable<T>,\n keyFnOrTemplate: KeyFn<T> | ItemTemplate<T>,\n template?: ItemTemplate<T>\n ) {\n let keyFn: KeyFn<T> | undefined;\n if (template === undefined) {\n template = keyFnOrTemplate;\n } else if (keyFnOrTemplate !== undefined) {\n keyFn = keyFnOrTemplate as KeyFn<T>;\n }\n const keys = [];\n const values = [];\n let index = 0;\n for (const item of items) {\n keys[index] = keyFn ? keyFn(item, index) : index;\n values[index] = template!(item, index);\n index++;\n }\n return {\n values,\n keys,\n };\n }\n\n render<T>(items: Iterable<T>, template: ItemTemplate<T>): Array<unknown>;\n render<T>(\n items: Iterable<T>,\n keyFn: KeyFn<T> | ItemTemplate<T>,\n template: ItemTemplate<T>\n ): Array<unknown>;\n render<T>(\n items: Iterable<T>,\n keyFnOrTemplate: KeyFn<T> | ItemTemplate<T>,\n template?: ItemTemplate<T>\n ) {\n return this._getValuesAndKeys(items, keyFnOrTemplate, template).values;\n }\n\n override update<T>(\n containerPart: ChildPart,\n [items, keyFnOrTemplate, template]: [\n Iterable<T>,\n KeyFn<T> | ItemTemplate<T>,\n ItemTemplate<T>\n ]\n ) {\n // Old part & key lists are retrieved from the last update (which may\n // be primed by hydration)\n const oldParts = getCommittedValue(\n containerPart\n ) as Array<ChildPart | null>;\n const {values: newValues, keys: newKeys} = this._getValuesAndKeys(\n items,\n keyFnOrTemplate,\n template\n );\n\n // We check that oldParts, the committed value, is an Array as an\n // indicator that the previous value came from a repeat() call. If\n // oldParts is not an Array then this is the first render and we return\n // an array for lit-html's array handling to render, and remember the\n // keys.\n if (!Array.isArray(oldParts)) {\n this._itemKeys = newKeys;\n return newValues;\n }\n\n // In SSR hydration it's possible for oldParts to be an array but for us\n // to not have item keys because the update() hasn't run yet. We set the\n // keys to an empty array. This will cause all oldKey/newKey comparisons\n // to fail and execution to fall to the last nested brach below which\n // reuses the oldPart.\n const oldKeys = (this._itemKeys ??= []);\n\n // New part list will be built up as we go (either reused from\n // old parts or created for new keys in this update). This is\n // saved in the above cache at the end of the update.\n const newParts: ChildPart[] = [];\n\n // Maps from key to index for current and previous update; these\n // are generated lazily only when needed as a performance\n // optimization, since they are only required for multiple\n // non-contiguous changes in the list, which are less common.\n let newKeyToIndexMap!: Map<unknown, number>;\n let oldKeyToIndexMap!: Map<unknown, number>;\n\n // Head and tail pointers to old parts and new values\n let oldHead = 0;\n let oldTail = oldParts.length - 1;\n let newHead = 0;\n let newTail = newValues.length - 1;\n\n // Overview of O(n) reconciliation algorithm (general approach\n // based on ideas found in ivi, vue, snabbdom, etc.):\n //\n // * We start with the list of old parts and new values (and\n // arrays of their respective keys), head/tail pointers into\n // each, and we build up the new list of parts by updating\n // (and when needed, moving) old parts or creating new ones.\n // The initial scenario might look like this (for brevity of\n // the diagrams, the numbers in the array reflect keys\n // associated with the old parts or new values, although keys\n // and parts/values are actually stored in parallel arrays\n // indexed using the same head/tail pointers):\n //\n // oldHead v v oldTail\n // oldKeys: [0, 1, 2, 3, 4, 5, 6]\n // newParts: [ , , , , , , ]\n // newKeys: [0, 2, 1, 4, 3, 7, 6] <- reflects the user's new\n // item order\n // newHead ^ ^ newTail\n //\n // * Iterate old & new lists from both sides, updating,\n // swapping, or removing parts at the head/tail locations\n // until neither head nor tail can move.\n //\n // * Example below: keys at head pointers match, so update old\n // part 0 in-place (no need to move it) and record part 0 in\n // the `newParts` list. The last thing we do is advance the\n // `oldHead` and `newHead` pointers (will be reflected in the\n // next diagram).\n //\n // oldHead v v oldTail\n // oldKeys: [0, 1, 2, 3, 4, 5, 6]\n // newParts: [0, , , , , , ] <- heads matched: update 0\n // newKeys: [0, 2, 1, 4, 3, 7, 6] and advance both oldHead\n // & newHead\n // newHead ^ ^ newTail\n //\n // * Example below: head pointers don't match, but tail\n // pointers do, so update part 6 in place (no need to move\n // it), and record part 6 in the `newParts` list. Last,\n // advance the `oldTail` and `oldHead` pointers.\n //\n // oldHead v v oldTail\n // oldKeys: [0, 1, 2, 3, 4, 5, 6]\n // newParts: [0, , , , , , 6] <- tails matched: update 6\n // newKeys: [0, 2, 1, 4, 3, 7, 6] and advance both oldTail\n // & newTail\n // newHead ^ ^ newTail\n //\n // * If neither head nor tail match; next check if one of the\n // old head/tail items was removed. We first need to generate\n // the reverse map of new keys to index (`newKeyToIndexMap`),\n // which is done once lazily as a performance optimization,\n // since we only hit this case if multiple non-contiguous\n // changes were made. Note that for contiguous removal\n // anywhere in the list, the head and tails would advance\n // from either end and pass each other before we get to this\n // case and removals would be handled in the final while loop\n // without needing to generate the map.\n //\n // * Example below: The key at `oldTail` was removed (no longer\n // in the `newKeyToIndexMap`), so remove that part from the\n // DOM and advance just the `oldTail` pointer.\n //\n // oldHead v v oldTail\n // oldKeys: [0, 1, 2, 3, 4, 5, 6]\n // newParts: [0, , , , , , 6] <- 5 not in new map: remove\n // newKeys: [0, 2, 1, 4, 3, 7, 6] 5 and advance oldTail\n // newHead ^ ^ newTail\n //\n // * Once head and tail cannot move, any mismatches are due to\n // either new or moved items; if a new key is in the previous\n // \"old key to old index\" map, move the old part to the new\n // location, otherwise create and insert a new part. Note\n // that when moving an old part we null its position in the\n // oldParts array if it lies between the head and tail so we\n // know to skip it when the pointers get there.\n //\n // * Example below: neither head nor tail match, and neither\n // were removed; so find the `newHead` key in the\n // `oldKeyToIndexMap`, and move that old part's DOM into the\n // next head position (before `oldParts[oldHead]`). Last,\n // null the part in the `oldPart` array since it was\n // somewhere in the remaining oldParts still to be scanned\n // (between the head and tail pointers) so that we know to\n // skip that old part on future iterations.\n //\n // oldHead v v oldTail\n // oldKeys: [0, 1, -, 3, 4, 5, 6]\n // newParts: [0, 2, , , , , 6] <- stuck: update & move 2\n // newKeys: [0, 2, 1, 4, 3, 7, 6] into place and advance\n // newHead\n // newHead ^ ^ newTail\n //\n // * Note that for moves/insertions like the one above, a part\n // inserted at the head pointer is inserted before the\n // current `oldParts[oldHead]`, and a part inserted at the\n // tail pointer is inserted before `newParts[newTail+1]`. The\n // seeming asymmetry lies in the fact that new parts are\n // moved into place outside in, so to the right of the head\n // pointer are old parts, and to the right of the tail\n // pointer are new parts.\n //\n // * We always restart back from the top of the algorithm,\n // allowing matching and simple updates in place to\n // continue...\n //\n // * Example below: the head pointers once again match, so\n // simply update part 1 and record it in the `newParts`\n // array. Last, advance both head pointers.\n //\n // oldHead v v oldTail\n // oldKeys: [0, 1, -, 3, 4, 5, 6]\n // newParts: [0, 2, 1, , , , 6] <- heads matched: update 1\n // newKeys: [0, 2, 1, 4, 3, 7, 6] and advance both oldHead\n // & newHead\n // newHead ^ ^ newTail\n //\n // * As mentioned above, items that were moved as a result of\n // being stuck (the final else clause in the code below) are\n // marked with null, so we always advance old pointers over\n // these so we're comparing the next actual old value on\n // either end.\n //\n // * Example below: `oldHead` is null (already placed in\n // newParts), so advance `oldHead`.\n //\n // oldHead v v oldTail\n // oldKeys: [0, 1, -, 3, 4, 5, 6] <- old head already used:\n // newParts: [0, 2, 1, , , , 6] advance oldHead\n // newKeys: [0, 2, 1, 4, 3, 7, 6]\n // newHead ^ ^ newTail\n //\n // * Note it's not critical to mark old parts as null when they\n // are moved from head to tail or tail to head, since they\n // will be outside the pointer range and never visited again.\n //\n // * Example below: Here the old tail key matches the new head\n // key, so the part at the `oldTail` position and move its\n // DOM to the new head position (before `oldParts[oldHead]`).\n // Last, advance `oldTail` and `newHead` pointers.\n //\n // oldHead v v oldTail\n // oldKeys: [0, 1, -, 3, 4, 5, 6]\n // newParts: [0, 2, 1, 4, , , 6] <- old tail matches new\n // newKeys: [0, 2, 1, 4, 3, 7, 6] head: update & move 4,\n // advance oldTail & newHead\n // newHead ^ ^ newTail\n //\n // * Example below: Old and new head keys match, so update the\n // old head part in place, and advance the `oldHead` and\n // `newHead` pointers.\n //\n // oldHead v oldTail\n // oldKeys: [0, 1, -, 3, 4, 5, 6]\n // newParts: [0, 2, 1, 4, 3, ,6] <- heads match: update 3\n // newKeys: [0, 2, 1, 4, 3, 7, 6] and advance oldHead &\n // newHead\n // newHead ^ ^ newTail\n //\n // * Once the new or old pointers move past each other then all\n // we have left is additions (if old list exhausted) or\n // removals (if new list exhausted). Those are handled in the\n // final while loops at the end.\n //\n // * Example below: `oldHead` exceeded `oldTail`, so we're done\n // with the main loop. Create the remaining part and insert\n // it at the new head position, and the update is complete.\n //\n // (oldHead > oldTail)\n // oldKeys: [0, 1, -, 3, 4, 5, 6]\n // newParts: [0, 2, 1, 4, 3, 7 ,6] <- create and insert 7\n // newKeys: [0, 2, 1, 4, 3, 7, 6]\n // newHead ^ newTail\n //\n // * Note that the order of the if/else clauses is not\n // important to the algorithm, as long as the null checks\n // come first (to ensure we're always working on valid old\n // parts) and that the final else clause comes last (since\n // that's where the expensive moves occur). The order of\n // remaining clauses is is just a simple guess at which cases\n // will be most common.\n //\n // * Note, we could calculate the longest\n // increasing subsequence (LIS) of old items in new position,\n // and only move those not in the LIS set. However that costs\n // O(nlogn) time and adds a bit more code, and only helps\n // make rare types of mutations require fewer moves. The\n // above handles removes, adds, reversal, swaps, and single\n // moves of contiguous items in linear time, in the minimum\n // number of moves. As the number of multiple moves where LIS\n // might help approaches a random shuffle, the LIS\n // optimization becomes less helpful, so it seems not worth\n // the code at this point. Could reconsider if a compelling\n // case arises.\n\n while (oldHead <= oldTail && newHead <= newTail) {\n if (oldParts[oldHead] === null) {\n // `null` means old part at head has already been used\n // below; skip\n oldHead++;\n } else if (oldParts[oldTail] === null) {\n // `null` means old part at tail has already been used\n // below; skip\n oldTail--;\n } else if (oldKeys[oldHead] === newKeys[newHead]) {\n // Old head matches new head; update in place\n newParts[newHead] = setChildPartValue(\n oldParts[oldHead]!,\n newValues[newHead]\n );\n oldHead++;\n newHead++;\n } else if (oldKeys[oldTail] === newKeys[newTail]) {\n // Old tail matches new tail; update in place\n newParts[newTail] = setChildPartValue(\n oldParts[oldTail]!,\n newValues[newTail]\n );\n oldTail--;\n newTail--;\n } else if (oldKeys[oldHead] === newKeys[newTail]) {\n // Old head matches new tail; update and move to new tail\n newParts[newTail] = setChildPartValue(\n oldParts[oldHead]!,\n newValues[newTail]\n );\n insertPart(containerPart, newParts[newTail + 1], oldParts[oldHead]!);\n oldHead++;\n newTail--;\n } else if (oldKeys[oldTail] === newKeys[newHead]) {\n // Old tail matches new head; update and move to new head\n newParts[newHead] = setChildPartValue(\n oldParts[oldTail]!,\n newValues[newHead]\n );\n insertPart(containerPart, oldParts[oldHead]!, oldParts[oldTail]!);\n oldTail--;\n newHead++;\n } else {\n if (newKeyToIndexMap === undefined) {\n // Lazily generate key-to-index maps, used for removals &\n // moves below\n newKeyToIndexMap = generateMap(newKeys, newHead, newTail);\n oldKeyToIndexMap = generateMap(oldKeys, oldHead, oldTail);\n }\n if (!newKeyToIndexMap.has(oldKeys[oldHead])) {\n // Old head is no longer in new list; remove\n removePart(oldParts[oldHead]!);\n oldHead++;\n } else if (!newKeyToIndexMap.has(oldKeys[oldTail])) {\n // Old tail is no longer in new list; remove\n removePart(oldParts[oldTail]!);\n oldTail--;\n } else {\n // Any mismatches at this point are due to additions or\n // moves; see if we have an old part we can reuse and move\n // into place\n const oldIndex = oldKeyToIndexMap.get(newKeys[newHead]);\n const oldPart = oldIndex !== undefined ? oldParts[oldIndex] : null;\n if (oldPart === null) {\n // No old part for this value; create a new one and\n // insert it\n const newPart = insertPart(containerPart, oldParts[oldHead]!);\n setChildPartValue(newPart, newValues[newHead]);\n newParts[newHead] = newPart;\n } else {\n // Reuse old part\n newParts[newHead] = setChildPartValue(oldPart, newValues[newHead]);\n insertPart(containerPart, oldParts[oldHead]!, oldPart);\n // This marks the old part as having been used, so that\n // it will be skipped in the first two checks above\n oldParts[oldIndex as number] = null;\n }\n newHead++;\n }\n }\n }\n // Add parts for any remaining new values\n while (newHead <= newTail) {\n // For all remaining additions, we insert before last new\n // tail, since old pointers are no longer valid\n const newPart = insertPart(containerPart, newParts[newTail + 1]);\n setChildPartValue(newPart, newValues[newHead]);\n newParts[newHead++] = newPart;\n }\n // Remove any remaining unused old parts\n while (oldHead <= oldTail) {\n const oldPart = oldParts[oldHead++];\n if (oldPart !== null) {\n removePart(oldPart);\n }\n }\n\n // Save order of new parts for next round\n this._itemKeys = newKeys;\n // Directly set part value, bypassing it's dirty-checking\n setCommittedValue(containerPart, newParts);\n return noChange;\n }\n}\n\nexport interface RepeatDirectiveFn {\n <T>(\n items: Iterable<T>,\n keyFnOrTemplate: KeyFn<T> | ItemTemplate<T>,\n template?: ItemTemplate<T>\n ): unknown;\n <T>(items: Iterable<T>, template: ItemTemplate<T>): unknown;\n <T>(\n items: Iterable<T>,\n keyFn: KeyFn<T> | ItemTemplate<T>,\n template: ItemTemplate<T>\n ): unknown;\n}\n\n/**\n * A directive that repeats a series of values (usually `TemplateResults`)\n * generated from an iterable, and updates those items efficiently when the\n * iterable changes based on user-provided `keys` associated with each item.\n *\n * Note that if a `keyFn` is provided, strict key-to-DOM mapping is maintained,\n * meaning previous DOM for a given key is moved into the new position if\n * needed, and DOM will never be reused with values for different keys (new DOM\n * will always be created for new keys). This is generally the most efficient\n * way to use `repeat` since it performs minimum unnecessary work for insertions\n * and removals.\n *\n * The `keyFn` takes two parameters, the item and its index, and returns a unique key value.\n *\n * ```js\n * html`\n * <ol>\n * ${repeat(this.items, (item) => item.id, (item, index) => {\n * return html`<li>${index}: ${item.name}</li>`;\n * })}\n * </ol>\n * `\n * ```\n *\n * **Important**: If providing a `keyFn`, keys *must* be unique for all items in a\n * given call to `repeat`. The behavior when two or more items have the same key\n * is undefined.\n *\n * If no `keyFn` is provided, this directive will perform similar to mapping\n * items to values, and DOM will be reused against potentially different items.\n */\nexport const repeat = directive(RepeatDirective) as RepeatDirectiveFn;\n\n/**\n * The type of the class that powers this directive. Necessary for naming the\n * directive's return type.\n */\nexport type {RepeatDirective};\n", "/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {AttributePart, noChange} from '../lit-html.js';\nimport {\n directive,\n Directive,\n DirectiveParameters,\n PartInfo,\n PartType,\n} from '../directive.js';\n\n/**\n * A key-value set of CSS properties and values.\n *\n * The key should be either a valid CSS property name string, like\n * `'background-color'`, or a valid JavaScript camel case property name\n * for CSSStyleDeclaration like `backgroundColor`.\n */\nexport interface StyleInfo {\n [name: string]: string | number | undefined | null;\n}\n\nconst important = 'important';\n// The leading space is important\nconst importantFlag = ' !' + important;\n// How many characters to remove from a value, as a negative number\nconst flagTrim = 0 - importantFlag.length;\n\nclass StyleMapDirective extends Directive {\n _previousStyleProperties?: Set<string>;\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (\n partInfo.type !== PartType.ATTRIBUTE ||\n partInfo.name !== 'style' ||\n (partInfo.strings?.length as number) > 2\n ) {\n throw new Error(\n 'The `styleMap` directive must be used in the `style` attribute ' +\n 'and must be the only part in the attribute.'\n );\n }\n }\n\n render(styleInfo: Readonly<StyleInfo>) {\n return Object.keys(styleInfo).reduce((style, prop) => {\n const value = styleInfo[prop];\n if (value == null) {\n return style;\n }\n // Convert property names from camel-case to dash-case, i.e.:\n // `backgroundColor` -> `background-color`\n // Vendor-prefixed names need an extra `-` appended to front:\n // `webkitAppearance` -> `-webkit-appearance`\n // Exception is any property name containing a dash, including\n // custom properties; we assume these are already dash-cased i.e.:\n // `--my-button-color` --> `--my-button-color`\n prop = prop.includes('-')\n ? prop\n : prop\n .replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, '-$&')\n .toLowerCase();\n return style + `${prop}:${value};`;\n }, '');\n }\n\n override update(part: AttributePart, [styleInfo]: DirectiveParameters<this>) {\n const {style} = part.element as HTMLElement;\n\n if (this._previousStyleProperties === undefined) {\n this._previousStyleProperties = new Set();\n for (const name in styleInfo) {\n this._previousStyleProperties.add(name);\n }\n return this.render(styleInfo);\n }\n\n // Remove old properties that no longer exist in styleInfo\n // We use forEach() instead of for-of so that re don't require down-level\n // iteration.\n this._previousStyleProperties!.forEach((name) => {\n // If the name isn't in styleInfo or it's null/undefined\n if (styleInfo[name] == null) {\n this._previousStyleProperties!.delete(name);\n if (name.includes('-')) {\n style.removeProperty(name);\n } else {\n // Note reset using empty string (vs null) as IE11 does not always\n // reset via null (https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style#setting_styles)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (style as any)[name] = '';\n }\n }\n });\n\n // Add or update properties\n for (const name in styleInfo) {\n const value = styleInfo[name];\n if (value != null) {\n this._previousStyleProperties.add(name);\n const isImportant =\n typeof value === 'string' && value.endsWith(importantFlag);\n if (name.includes('-') || isImportant) {\n style.setProperty(\n name,\n isImportant\n ? (value as string).slice(0, flagTrim)\n : (value as string),\n isImportant ? important : ''\n );\n } else {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (style as any)[name] = value;\n }\n }\n }\n return noChange;\n }\n}\n\n/**\n * A directive that applies CSS properties to an element.\n *\n * `styleMap` can only be used in the `style` attribute and must be the only\n * expression in the attribute. It takes the property names in the\n * {@link StyleInfo styleInfo} object and adds the properties to the inline\n * style of the element.\n *\n * Property names with dashes (`-`) are assumed to be valid CSS\n * property names and set on the element's style object using `setProperty()`.\n * Names without dashes are assumed to be camelCased JavaScript property names\n * and set on the element's style object using property assignment, allowing the\n * style object to translate JavaScript-style names to CSS property names.\n *\n * For example `styleMap({backgroundColor: 'red', 'border-top': '5px', '--size':\n * '0'})` sets the `background-color`, `border-top` and `--size` properties.\n *\n * @param styleInfo\n * @see {@link https://lit.dev/docs/templates/directives/#stylemap styleMap code samples on Lit.dev}\n */\nexport const styleMap = directive(StyleMapDirective);\n\n/**\n * The type of the class that powers this directive. Necessary for naming the\n * directive's return type.\n */\nexport type {StyleMapDirective};\n", "export const DEFAULT_CONFIG = {\n templateRenderingStrategy: null,\n};\nlet config = { ...DEFAULT_CONFIG };\nexport const setConfig = (c) => {\n config = { ...config, ...c };\n};\nexport const getConfig = () => ({ ...config });\nexport const reset = () => {\n config = { ...DEFAULT_CONFIG };\n};\nexport const getTemplateRenderingStrategy = () => {\n const { templateRenderingStrategy: strategy = null } = getConfig();\n if (strategy == null) {\n throw new Error(`Faceplate-ui templateRenderingStrategy is undefined.\n\n Please import a templateRenderingStrategy so that faceplate-ui can render\n template components properly for your environment. For example:\n\n import '@reddit/faceplate-ui/templateRenderingStrategy/clientStrategy.js'\n\n or, for a server environment:\n\n import '@reddit/faceplate-ui/templateRenderingStrategy/serverStrategy.js'\n `);\n }\n return strategy;\n};\n", "export default ({ html, ifDefined, }) => (attributes, children = html ``) => {\n return html `<a\n ?list-item-group=\"${attributes?.['booleanListItemGroup']}\"\n ?list-item-header=\"${attributes?.['booleanListItemHeader']}\"\n ?open=\"${attributes?.['booleanOpen']}\"\n ?rpl=\"${Boolean(attributes?.rpl)}\"\n ?rpl-selected=\"${Boolean(attributes?.rplSelected)}\"\n ?disabled=\"${attributes?.['disabled']}\"\n ?hidden=\"${attributes?.['hidden']}\"\n @click=\"${attributes?.['onclick']}\"\n @contextmenu=\"${attributes?.['oncontextmenu']}\"\n @keydown=\"${attributes?.['onkeydown']}\"\n @mousedown=\"${attributes?.['onmousedown']}\"\n @pointerdown=\"${attributes?.['onpointerdown']}\"\n @touchstart=\"${attributes?.['ontouchstart']}\"\n alt=\"${ifDefined(attributes?.['alt'])}\"\n aria-controls=\"${ifDefined(attributes?.['aria-controls'])}\"\n aria-disabled=\"${ifDefined(attributes?.['aria-disabled'])}\"\n aria-expanded=\"${ifDefined(attributes?.['aria-expanded'])}\"\n aria-hidden=\"${ifDefined(attributes?.['aria-hidden'])}\"\n aria-label=\"${ifDefined(attributes?.['aria-label'])}\"\n aria-labelledby=\"${ifDefined(attributes?.['aria-labelledby'])}\"\n aria-pressed=\"${ifDefined(attributes?.['aria-pressed'])}\"\n aria-selected=\"${ifDefined(attributes?.['aria-selected'])}\"\n class=\"${ifDefined(attributes?.className)}\"\n data-announcement-dismiss=\"${ifDefined(attributes?.['data-announcement-dismiss'])}\"\n data-description=\"${ifDefined(attributes?.['data-description'])}\"\n data-faceplate-tracking-context=\"${ifDefined(attributes?.['data-faceplate-tracking-context'])}\"\n data-label=\"${ifDefined(attributes?.['data-label'])}\"\n data-mod-action=\"${ifDefined(attributes?.['data-mod-action'])}\"\n data-nextAction=\"${ifDefined(attributes?.['data-nextAction'])}\"\n data-post-click-location=\"${ifDefined(attributes?.['data-post-click-location'])}\"\n data-ref=\"${ifDefined(attributes?.['data-ref'])}\"\n data-see-less-label=\"${ifDefined(attributes?.['data-see-less-label'])}\"\n data-see-more-label=\"${ifDefined(attributes?.['data-see-more-label'])}\"\n data-select-label=\"${ifDefined(attributes?.['data-select-label'])}\"\n data-select-value=\"${ifDefined(attributes?.['data-select-value'])}\"\n data-test-id=\"${ifDefined(attributes?.['data-test-id'])}\"\n data-testid=\"${ifDefined(attributes?.['data-testid'])}\"\n fill=\"${ifDefined(attributes?.['fill'])}\"\n height=\"${ifDefined(attributes?.['height'])}\"\n href=\"${ifDefined(attributes?.['href'])}\"\n icon-name=\"${ifDefined(attributes?.['icon-name'])}\"\n id=\"${ifDefined(attributes?.['id'])}\"\n name=\"${ifDefined(attributes?.['name'])}\"\n perfmark=\"${ifDefined(attributes?.['perfmark'])}\"\n rel=\"${ifDefined(attributes?.['rel'])}\"\n role=\"${ifDefined(attributes?.['role'])}\"\n slot=\"${ifDefined(attributes?.['slot'])}\"\n src=\"${ifDefined(attributes?.['src'])}\"\n srcset=\"${ifDefined(attributes?.['srcset'])}\"\n style=\"${ifDefined(attributes?.['style'])}\"\n tabindex=\"${ifDefined(attributes?.['tabindex'])}\"\n target=\"${ifDefined(attributes?.['target'])}\"\n title=\"${ifDefined(attributes?.['title'])}\"\n type=\"${ifDefined(attributes?.['type'])}\"\n value=\"${ifDefined(attributes?.['value'])}\"\n viewBox=\"${ifDefined(attributes?.['viewBox'])}\"\n width=\"${ifDefined(attributes?.['width'])}\"\n xmlns=\"${ifDefined(attributes?.['xmlns'])}\"\n >${children}</a\n >`;\n};\n", "export default ({ html, ifDefined, }) => (attributes, children = html ``) => {\n return html `<button\n ?list-item-group=\"${attributes?.['booleanListItemGroup']}\"\n ?list-item-header=\"${attributes?.['booleanListItemHeader']}\"\n ?open=\"${attributes?.['booleanOpen']}\"\n ?rpl=\"${Boolean(attributes?.rpl)}\"\n ?rpl-selected=\"${Boolean(attributes?.rplSelected)}\"\n ?disabled=\"${attributes?.['disabled']}\"\n ?hidden=\"${attributes?.['hidden']}\"\n @click=\"${attributes?.['onclick']}\"\n @contextmenu=\"${attributes?.['oncontextmenu']}\"\n @keydown=\"${attributes?.['onkeydown']}\"\n @mousedown=\"${attributes?.['onmousedown']}\"\n @pointerdown=\"${attributes?.['onpointerdown']}\"\n @touchstart=\"${attributes?.['ontouchstart']}\"\n alt=\"${ifDefined(attributes?.['alt'])}\"\n aria-controls=\"${ifDefined(attributes?.['aria-controls'])}\"\n aria-haspopup=\"${ifDefined(attributes?.['aria-haspopup'])}\"\n aria-disabled=\"${ifDefined(attributes?.['aria-disabled'])}\"\n aria-expanded=\"${ifDefined(attributes?.['aria-expanded'])}\"\n aria-hidden=\"${ifDefined(attributes?.['aria-hidden'])}\"\n aria-label=\"${ifDefined(attributes?.['aria-label'])}\"\n aria-labelledby=\"${ifDefined(attributes?.['aria-labelledby'])}\"\n aria-pressed=\"${ifDefined(attributes?.['aria-pressed'])}\"\n aria-selected=\"${ifDefined(attributes?.['aria-selected'])}\"\n class=\"${ifDefined(attributes?.className)}\"\n data-announcement-dismiss=\"${ifDefined(attributes?.['data-announcement-dismiss'])}\"\n data-description=\"${ifDefined(attributes?.['data-description'])}\"\n data-faceplate-tracking-context=\"${ifDefined(attributes?.['data-faceplate-tracking-context'])}\"\n data-label=\"${ifDefined(attributes?.['data-label'])}\"\n data-mod-action=\"${ifDefined(attributes?.['data-mod-action'])}\"\n data-nextAction=\"${ifDefined(attributes?.['data-nextAction'])}\"\n data-post-click-location=\"${ifDefined(attributes?.['data-post-click-location'])}\"\n data-ref=\"${ifDefined(attributes?.['data-ref'])}\"\n data-next-step=\"${ifDefined(attributes?.['data-next-step'])}\"\n data-supporting-evidence=\"${ifDefined(attributes?.['data-supporting-evidence'])}\"\n data-see-less-label=\"${ifDefined(attributes?.['data-see-less-label'])}\"\n data-see-more-label=\"${ifDefined(attributes?.['data-see-more-label'])}\"\n data-select-label=\"${ifDefined(attributes?.['data-select-label'])}\"\n data-select-value=\"${ifDefined(attributes?.['data-select-value'])}\"\n data-test-id=\"${ifDefined(attributes?.['data-test-id'])}\"\n data-testid=\"${ifDefined(attributes?.['data-testid'])}\"\n fill=\"${ifDefined(attributes?.['fill'])}\"\n form=\"${ifDefined(attributes?.['form'])}\"\n height=\"${ifDefined(attributes?.['height'])}\"\n href=\"${ifDefined(attributes?.['href'])}\"\n icon-name=\"${ifDefined(attributes?.['icon-name'])}\"\n id=\"${ifDefined(attributes?.['id'])}\"\n name=\"${ifDefined(attributes?.['name'])}\"\n perfmark=\"${ifDefined(attributes?.['perfmark'])}\"\n rel=\"${ifDefined(attributes?.['rel'])}\"\n role=\"${ifDefined(attributes?.['role'])}\"\n slot=\"${ifDefined(attributes?.['slot'])}\"\n src=\"${ifDefined(attributes?.['src'])}\"\n srcset=\"${ifDefined(attributes?.['srcset'])}\"\n style=\"${ifDefined(attributes?.['style'])}\"\n tabindex=\"${ifDefined(attributes?.['tabindex'])}\"\n target=\"${ifDefined(attributes?.['target'])}\"\n title=\"${ifDefined(attributes?.['title'])}\"\n type=\"${ifDefined(attributes?.['type'])}\"\n value=\"${ifDefined(attributes?.['value'])}\"\n viewBox=\"${ifDefined(attributes?.['viewBox'])}\"\n width=\"${ifDefined(attributes?.['width'])}\"\n xmlns=\"${ifDefined(attributes?.['xmlns'])}\"\n ?upvote=\"${attributes?.['upvote']}\"\n ?downvote=\"${attributes?.['downvote']}\"\n >\n ${children}\n </button>`;\n};\n", "export default ({ html, ifDefined, }) => (attributes, children = html ``) => {\n return html `<div\n ?list-item-group=\"${attributes?.['booleanListItemGroup']}\"\n ?list-item-header=\"${attributes?.['booleanListItemHeader']}\"\n ?open=\"${attributes?.['booleanOpen']}\"\n ?rpl=\"${Boolean(attributes?.rpl)}\"\n ?disabled=\"${attributes?.['disabled']}\"\n ?hidden=\"${attributes?.['hidden']}\"\n @click=\"${attributes?.['onclick']}\"\n @contextmenu=\"${attributes?.['oncontextmenu']}\"\n @keydown=\"${attributes?.['onkeydown']}\"\n @mousedown=\"${attributes?.['onmousedown']}\"\n @pointerdown=\"${attributes?.['onpointerdown']}\"\n @touchstart=\"${attributes?.['ontouchstart']}\"\n alt=\"${ifDefined(attributes?.['alt'])}\"\n aria-controls=\"${ifDefined(attributes?.['aria-controls'])}\"\n aria-disabled=\"${ifDefined(attributes?.['aria-disabled'])}\"\n aria-expanded=\"${ifDefined(attributes?.['aria-expanded'])}\"\n aria-hidden=\"${ifDefined(attributes?.['aria-hidden'])}\"\n aria-label=\"${ifDefined(attributes?.['aria-label'])}\"\n aria-labelledby=\"${ifDefined(attributes?.['aria-labelledby'])}\"\n aria-pressed=\"${ifDefined(attributes?.['aria-pressed'])}\"\n aria-selected=\"${ifDefined(attributes?.['aria-selected'])}\"\n class=\"${ifDefined(attributes?.className)}\"\n data-announcement-dismiss=\"${ifDefined(attributes?.['data-announcement-dismiss'])}\"\n data-description=\"${ifDefined(attributes?.['data-description'])}\"\n data-faceplate-tracking-context=\"${ifDefined(attributes?.['data-faceplate-tracking-context'])}\"\n data-label=\"${ifDefined(attributes?.['data-label'])}\"\n data-mod-action=\"${ifDefined(attributes?.['data-mod-action'])}\"\n data-nextAction=\"${ifDefined(attributes?.['data-nextAction'])}\"\n data-post-click-location=\"${ifDefined(attributes?.['data-post-click-location'])}\"\n data-ref=\"${ifDefined(attributes?.['data-ref'])}\"\n data-see-less-label=\"${ifDefined(attributes?.['data-see-less-label'])}\"\n data-see-more-label=\"${ifDefined(attributes?.['data-see-more-label'])}\"\n data-select-label=\"${ifDefined(attributes?.['data-select-label'])}\"\n data-select-value=\"${ifDefined(attributes?.['data-select-value'])}\"\n data-test-id=\"${ifDefined(attributes?.['data-test-id'])}\"\n data-testid=\"${ifDefined(attributes?.['data-testid'])}\"\n fill=\"${ifDefined(attributes?.['fill'])}\"\n height=\"${ifDefined(attributes?.['height'])}\"\n href=\"${ifDefined(attributes?.['href'])}\"\n icon-name=\"${ifDefined(attributes?.['icon-name'])}\"\n id=\"${ifDefined(attributes?.['id'])}\"\n name=\"${ifDefined(attributes?.['name'])}\"\n perfmark=\"${ifDefined(attributes?.['perfmark'])}\"\n rel=\"${ifDefined(attributes?.['rel'])}\"\n role=\"${ifDefined(attributes?.['role'])}\"\n slot=\"${ifDefined(attributes?.['slot'])}\"\n src=\"${ifDefined(attributes?.['src'])}\"\n srcset=\"${ifDefined(attributes?.['srcset'])}\"\n style=\"${ifDefined(attributes?.['style'])}\"\n tabindex=\"${ifDefined(attributes?.['tabindex'])}\"\n target=\"${ifDefined(attributes?.['target'])}\"\n title=\"${ifDefined(attributes?.['title'])}\"\n type=\"${ifDefined(attributes?.['type'])}\"\n value=\"${ifDefined(attributes?.['value'])}\"\n viewBox=\"${ifDefined(attributes?.['viewBox'])}\"\n width=\"${ifDefined(attributes?.['width'])}\"\n xmlns=\"${ifDefined(attributes?.['xmlns'])}\"\n >\n ${children}\n </div>`;\n};\n", "export default ({ html, ifDefined, }) => (attributes, children = html ``) => {\n return html `<faceplate-expandable-section-helper\n ?list-item-group=\"${attributes?.['booleanListItemGroup']}\"\n ?list-item-header=\"${attributes?.['booleanListItemHeader']}\"\n ?open=\"${attributes?.['booleanOpen']}\"\n ?rpl=\"${Boolean(attributes?.rpl)}\"\n ?disabled=\"${attributes?.['disabled']}\"\n ?hidden=\"${attributes?.['hidden']}\"\n @click=\"${attributes?.['onclick']}\"\n @contextmenu=\"${attributes?.['oncontextmenu']}\"\n @keydown=\"${attributes?.['onkeydown']}\"\n @mousedown=\"${attributes?.['onmousedown']}\"\n @pointerdown=\"${attributes?.['onpointerdown']}\"\n @touchstart=\"${attributes?.['ontouchstart']}\"\n alt=\"${ifDefined(attributes?.['alt'])}\"\n aria-controls=\"${ifDefined(attributes?.['aria-controls'])}\"\n aria-disabled=\"${ifDefined(attributes?.['aria-disabled'])}\"\n aria-expanded=\"${ifDefined(attributes?.['aria-expanded'])}\"\n aria-hidden=\"${ifDefined(attributes?.['aria-hidden'])}\"\n aria-label=\"${ifDefined(attributes?.['aria-label'])}\"\n aria-labelledby=\"${ifDefined(attributes?.['aria-labelledby'])}\"\n aria-pressed=\"${ifDefined(attributes?.['aria-pressed'])}\"\n aria-selected=\"${ifDefined(attributes?.['aria-selected'])}\"\n class=\"${ifDefined(attributes?.className)}\"\n data-announcement-dismiss=\"${ifDefined(attributes?.['data-announcement-dismiss'])}\"\n data-description=\"${ifDefined(attributes?.['data-description'])}\"\n data-faceplate-tracking-context=\"${ifDefined(attributes?.['data-faceplate-tracking-context'])}\"\n data-label=\"${ifDefined(attributes?.['data-label'])}\"\n data-mod-action=\"${ifDefined(attributes?.['data-mod-action'])}\"\n data-nextAction=\"${ifDefined(attributes?.['data-nextAction'])}\"\n data-post-click-location=\"${ifDefined(attributes?.['data-post-click-location'])}\"\n data-ref=\"${ifDefined(attributes?.['data-ref'])}\"\n data-see-less-label=\"${ifDefined(attributes?.['data-see-less-label'])}\"\n data-see-more-label=\"${ifDefined(attributes?.['data-see-more-label'])}\"\n data-select-label=\"${ifDefined(attributes?.['data-select-label'])}\"\n data-select-value=\"${ifDefined(attributes?.['data-select-value'])}\"\n data-test-id=\"${ifDefined(attributes?.['data-test-id'])}\"\n data-testid=\"${ifDefined(attributes?.['data-testid'])}\"\n fill=\"${ifDefined(attributes?.['fill'])}\"\n height=\"${ifDefined(attributes?.['height'])}\"\n href=\"${ifDefined(attributes?.['href'])}\"\n icon-name=\"${ifDefined(attributes?.['icon-name'])}\"\n id=\"${ifDefined(attributes?.['id'])}\"\n name=\"${ifDefined(attributes?.['name'])}\"\n perfmark=\"${ifDefined(attributes?.['perfmark'])}\"\n rel=\"${ifDefined(attributes?.['rel'])}\"\n role=\"${ifDefined(attributes?.['role'])}\"\n slot=\"${ifDefined(attributes?.['slot'])}\"\n src=\"${ifDefined(attributes?.['src'])}\"\n srcset=\"${ifDefined(attributes?.['srcset'])}\"\n style=\"${ifDefined(attributes?.['style'])}\"\n tabindex=\"${ifDefined(attributes?.['tabindex'])}\"\n target=\"${ifDefined(attributes?.['target'])}\"\n type=\"${ifDefined(attributes?.['type'])}\"\n value=\"${ifDefined(attributes?.['value'])}\"\n viewBox=\"${ifDefined(attributes?.['viewBox'])}\"\n width=\"${ifDefined(attributes?.['width'])}\"\n xmlns=\"${ifDefined(attributes?.['xmlns'])}\"\n >\n ${children}\n </faceplate-expandable-section-helper>`;\n};\n", "export default ({ html, ifDefined, }) => (attributes, children = html ``) => {\n return html `<li\n ?list-item-group=\"${attributes?.['booleanListItemGroup']}\"\n ?list-item-header=\"${attributes?.['booleanListItemHeader']}\"\n ?open=\"${attributes?.['booleanOpen']}\"\n ?rpl=\"${Boolean(attributes?.rpl)}\"\n ?rpl-selected=\"${Boolean(attributes?.rplSelected)}\"\n ?disabled=\"${attributes?.['disabled']}\"\n ?hidden=\"${attributes?.['hidden']}\"\n @click=\"${attributes?.['onclick']}\"\n @contextmenu=\"${attributes?.['oncontextmenu']}\"\n @keydown=\"${attributes?.['onkeydown']}\"\n @mousedown=\"${attributes?.['onmousedown']}\"\n @pointerdown=\"${attributes?.['onpointerdown']}\"\n @touchstart=\"${attributes?.['ontouchstart']}\"\n alt=\"${ifDefined(attributes?.['alt'])}\"\n aria-controls=\"${ifDefined(attributes?.['aria-controls'])}\"\n aria-disabled=\"${ifDefined(attributes?.['aria-disabled'])}\"\n aria-expanded=\"${ifDefined(attributes?.['aria-expanded'])}\"\n aria-hidden=\"${ifDefined(attributes?.['aria-hidden'])}\"\n aria-label=\"${ifDefined(attributes?.['aria-label'])}\"\n aria-labelledby=\"${ifDefined(attributes?.['aria-labelledby'])}\"\n aria-pressed=\"${ifDefined(attributes?.['aria-pressed'])}\"\n aria-selected=\"${ifDefined(attributes?.['aria-selected'])}\"\n class=\"${ifDefined(attributes?.className)}\"\n data-announcement-dismiss=\"${ifDefined(attributes?.['data-announcement-dismiss'])}\"\n data-description=\"${ifDefined(attributes?.['data-description'])}\"\n data-faceplate-tracking-context=\"${ifDefined(attributes?.['data-faceplate-tracking-context'])}\"\n data-label=\"${ifDefined(attributes?.['data-label'])}\"\n data-mod-action=\"${ifDefined(attributes?.['data-mod-action'])}\"\n data-nextAction=\"${ifDefined(attributes?.['data-nextAction'])}\"\n data-post-click-location=\"${ifDefined(attributes?.['data-post-click-location'])}\"\n data-ref=\"${ifDefined(attributes?.['data-ref'])}\"\n data-see-less-label=\"${ifDefined(attributes?.['data-see-less-label'])}\"\n data-see-more-label=\"${ifDefined(attributes?.['data-see-more-label'])}\"\n data-select-label=\"${ifDefined(attributes?.['data-select-label'])}\"\n data-select-value=\"${ifDefined(attributes?.['data-select-value'])}\"\n data-test-id=\"${ifDefined(attributes?.['data-test-id'])}\"\n data-testid=\"${ifDefined(attributes?.['data-testid'])}\"\n fill=\"${ifDefined(attributes?.['fill'])}\"\n height=\"${ifDefined(attributes?.['height'])}\"\n href=\"${ifDefined(attributes?.['href'])}\"\n icon-name=\"${ifDefined(attributes?.['icon-name'])}\"\n id=\"${ifDefined(attributes?.['id'])}\"\n name=\"${ifDefined(attributes?.['name'])}\"\n perfmark=\"${ifDefined(attributes?.['perfmark'])}\"\n rel=\"${ifDefined(attributes?.['rel'])}\"\n role=\"${ifDefined(attributes?.['role'])}\"\n slot=\"${ifDefined(attributes?.['slot'])}\"\n src=\"${ifDefined(attributes?.['src'])}\"\n srcset=\"${ifDefined(attributes?.['srcset'])}\"\n style=\"${ifDefined(attributes?.['style'])}\"\n tabindex=\"${ifDefined(attributes?.['tabindex'])}\"\n target=\"${ifDefined(attributes?.['target'])}\"\n type=\"${ifDefined(attributes?.['type'])}\"\n title=\"${ifDefined(attributes?.['title'])}\"\n value=\"${ifDefined(attributes?.['value'])}\"\n viewBox=\"${ifDefined(attributes?.['viewBox'])}\"\n width=\"${ifDefined(attributes?.['width'])}\"\n xmlns=\"${ifDefined(attributes?.['xmlns'])}\"\n >\n ${children}\n </li>`;\n};\n", "export default ({ html, ifDefined, }) => (attributes, children = html ``) => {\n return html `<span\n ?list-item-group=\"${attributes?.['booleanListItemGroup']}\"\n ?list-item-header=\"${attributes?.['booleanListItemHeader']}\"\n ?open=\"${attributes?.['booleanOpen']}\"\n ?rpl=\"${Boolean(attributes?.rpl)}\"\n ?disabled=\"${attributes?.['disabled']}\"\n ?hidden=\"${attributes?.['hidden']}\"\n @click=\"${attributes?.['onclick']}\"\n @contextmenu=\"${attributes?.['oncontextmenu']}\"\n @keydown=\"${attributes?.['onkeydown']}\"\n @mousedown=\"${attributes?.['onmousedown']}\"\n @pointerdown=\"${attributes?.['onpointerdown']}\"\n @touchstart=\"${attributes?.['ontouchstart']}\"\n alt=\"${ifDefined(attributes?.['alt'])}\"\n aria-controls=\"${ifDefined(attributes?.['aria-controls'])}\"\n aria-disabled=\"${ifDefined(attributes?.['aria-disabled'])}\"\n aria-expanded=\"${ifDefined(attributes?.['aria-expanded'])}\"\n aria-hidden=\"${ifDefined(attributes?.['aria-hidden'])}\"\n aria-label=\"${ifDefined(attributes?.['aria-label'])}\"\n aria-labelledby=\"${ifDefined(attributes?.['aria-labelledby'])}\"\n aria-pressed=\"${ifDefined(attributes?.['aria-pressed'])}\"\n aria-selected=\"${ifDefined(attributes?.['aria-selected'])}\"\n class=\"${ifDefined(attributes?.className)}\"\n data-announcement-dismiss=\"${ifDefined(attributes?.['data-announcement-dismiss'])}\"\n data-description=\"${ifDefined(attributes?.['data-description'])}\"\n data-faceplate-tracking-context=\"${ifDefined(attributes?.['data-faceplate-tracking-context'])}\"\n data-label=\"${ifDefined(attributes?.['data-label'])}\"\n data-mod-action=\"${ifDefined(attributes?.['data-mod-action'])}\"\n data-nextAction=\"${ifDefined(attributes?.['data-nextAction'])}\"\n data-post-click-location=\"${ifDefined(attributes?.['data-post-click-location'])}\"\n data-ref=\"${ifDefined(attributes?.['data-ref'])}\"\n data-see-less-label=\"${ifDefined(attributes?.['data-see-less-label'])}\"\n data-see-more-label=\"${ifDefined(attributes?.['data-see-more-label'])}\"\n data-select-label=\"${ifDefined(attributes?.['data-select-label'])}\"\n data-select-value=\"${ifDefined(attributes?.['data-select-value'])}\"\n data-test-id=\"${ifDefined(attributes?.['data-test-id'])}\"\n data-testid=\"${ifDefined(attributes?.['data-testid'])}\"\n fill=\"${ifDefined(attributes?.['fill'])}\"\n height=\"${ifDefined(attributes?.['height'])}\"\n href=\"${ifDefined(attributes?.['href'])}\"\n icon-name=\"${ifDefined(attributes?.['icon-name'])}\"\n id=\"${ifDefined(attributes?.['id'])}\"\n name=\"${ifDefined(attributes?.['name'])}\"\n perfmark=\"${ifDefined(attributes?.['perfmark'])}\"\n rel=\"${ifDefined(attributes?.['rel'])}\"\n role=\"${ifDefined(attributes?.['role'])}\"\n slot=\"${ifDefined(attributes?.['slot'])}\"\n src=\"${ifDefined(attributes?.['src'])}\"\n srcset=\"${ifDefined(attributes?.['srcset'])}\"\n style=\"${ifDefined(attributes?.['style'])}\"\n tabindex=\"${ifDefined(attributes?.['tabindex'])}\"\n target=\"${ifDefined(attributes?.['target'])}\"\n title=\"${ifDefined(attributes?.['title'])}\"\n type=\"${ifDefined(attributes?.['type'])}\"\n value=\"${ifDefined(attributes?.['value'])}\"\n viewBox=\"${ifDefined(attributes?.['viewBox'])}\"\n width=\"${ifDefined(attributes?.['width'])}\"\n xmlns=\"${ifDefined(attributes?.['xmlns'])}\"\n >\n ${children}\n </span>`;\n};\n", "export default ({ html, ifDefined, }) => (attributes, children = html ``) => {\n return html `<svg\n ?list-item-group=\"${attributes?.['booleanListItemGroup']}\"\n ?list-item-header=\"${attributes?.['booleanListItemHeader']}\"\n ?open=\"${attributes?.['booleanOpen']}\"\n ?rpl=\"${Boolean(attributes?.rpl)}\"\n ?disabled=\"${attributes?.['disabled']}\"\n ?hidden=\"${attributes?.['hidden']}\"\n @click=\"${attributes?.['onclick']}\"\n @contextmenu=\"${attributes?.['oncontextmenu']}\"\n @keydown=\"${attributes?.['onkeydown']}\"\n @mousedown=\"${attributes?.['onmousedown']}\"\n @pointerdown=\"${attributes?.['onpointerdown']}\"\n @touchstart=\"${attributes?.['ontouchstart']}\"\n alt=\"${ifDefined(attributes?.['alt'])}\"\n aria-controls=\"${ifDefined(attributes?.['aria-controls'])}\"\n aria-disabled=\"${ifDefined(attributes?.['aria-disabled'])}\"\n aria-expanded=\"${ifDefined(attributes?.['aria-expanded'])}\"\n aria-hidden=\"${ifDefined(attributes?.['aria-hidden'])}\"\n aria-label=\"${ifDefined(attributes?.['aria-label'])}\"\n aria-labelledby=\"${ifDefined(attributes?.['aria-labelledby'])}\"\n aria-pressed=\"${ifDefined(attributes?.['aria-pressed'])}\"\n aria-selected=\"${ifDefined(attributes?.['aria-selected'])}\"\n class=\"${ifDefined(attributes?.className)}\"\n data-announcement-dismiss=\"${ifDefined(attributes?.['data-announcement-dismiss'])}\"\n data-description=\"${ifDefined(attributes?.['data-description'])}\"\n data-faceplate-tracking-context=\"${ifDefined(attributes?.['data-faceplate-tracking-context'])}\"\n data-label=\"${ifDefined(attributes?.['data-label'])}\"\n data-mod-action=\"${ifDefined(attributes?.['data-mod-action'])}\"\n data-nextAction=\"${ifDefined(attributes?.['data-nextAction'])}\"\n data-post-click-location=\"${ifDefined(attributes?.['data-post-click-location'])}\"\n data-ref=\"${ifDefined(attributes?.['data-ref'])}\"\n data-see-less-label=\"${ifDefined(attributes?.['data-see-less-label'])}\"\n data-see-more-label=\"${ifDefined(attributes?.['data-see-more-label'])}\"\n data-select-label=\"${ifDefined(attributes?.['data-select-label'])}\"\n data-select-value=\"${ifDefined(attributes?.['data-select-value'])}\"\n data-test-id=\"${ifDefined(attributes?.['data-test-id'])}\"\n data-testid=\"${ifDefined(attributes?.['data-testid'])}\"\n fill=\"${ifDefined(attributes?.['fill'])}\"\n height=\"${ifDefined(attributes?.['height'])}\"\n href=\"${ifDefined(attributes?.['href'])}\"\n icon-name=\"${ifDefined(attributes?.['icon-name'])}\"\n id=\"${ifDefined(attributes?.['id'])}\"\n name=\"${ifDefined(attributes?.['name'])}\"\n perfmark=\"${ifDefined(attributes?.['perfmark'])}\"\n rel=\"${ifDefined(attributes?.['rel'])}\"\n role=\"${ifDefined(attributes?.['role'])}\"\n slot=\"${ifDefined(attributes?.['slot'])}\"\n src=\"${ifDefined(attributes?.['src'])}\"\n srcset=\"${ifDefined(attributes?.['srcset'])}\"\n style=\"${ifDefined(attributes?.['style'])}\"\n tabindex=\"${ifDefined(attributes?.['tabindex'])}\"\n target=\"${ifDefined(attributes?.['target'])}\"\n title=\"${ifDefined(attributes?.['title'])}\"\n type=\"${ifDefined(attributes?.['type'])}\"\n value=\"${ifDefined(attributes?.['value'])}\"\n viewBox=\"${ifDefined(attributes?.['viewBox'])}\"\n width=\"${ifDefined(attributes?.['width'])}\"\n xmlns=\"${ifDefined(attributes?.['xmlns'])}\"\n >\n ${children}\n </svg>`;\n};\n", "export default ({ html, ifDefined, }) => (attributes, children = html ``) => {\n return html `<ul\n ?list-item-group=\"${attributes?.['booleanListItemGroup']}\"\n ?list-item-header=\"${attributes?.['booleanListItemHeader']}\"\n ?open=\"${attributes?.['booleanOpen']}\"\n ?rpl=\"${Boolean(attributes?.rpl)}\"\n ?disabled=\"${attributes?.['disabled']}\"\n ?hidden=\"${attributes?.['hidden']}\"\n @click=\"${attributes?.['onclick']}\"\n @contextmenu=\"${attributes?.['oncontextmenu']}\"\n @keydown=\"${attributes?.['onkeydown']}\"\n @mousedown=\"${attributes?.['onmousedown']}\"\n @pointerdown=\"${attributes?.['onpointerdown']}\"\n @touchstart=\"${attributes?.['ontouchstart']}\"\n alt=\"${ifDefined(attributes?.['alt'])}\"\n aria-controls=\"${ifDefined(attributes?.['aria-controls'])}\"\n aria-disabled=\"${ifDefined(attributes?.['aria-disabled'])}\"\n aria-expanded=\"${ifDefined(attributes?.['aria-expanded'])}\"\n aria-hidden=\"${ifDefined(attributes?.['aria-hidden'])}\"\n aria-label=\"${ifDefined(attributes?.['aria-label'])}\"\n aria-labelledby=\"${ifDefined(attributes?.['aria-labelledby'])}\"\n aria-pressed=\"${ifDefined(attributes?.['aria-pressed'])}\"\n aria-selected=\"${ifDefined(attributes?.['aria-selected'])}\"\n class=\"${ifDefined(attributes?.className)}\"\n data-announcement-dismiss=\"${ifDefined(attributes?.['data-announcement-dismiss'])}\"\n data-description=\"${ifDefined(attributes?.['data-description'])}\"\n data-faceplate-tracking-context=\"${ifDefined(attributes?.['data-faceplate-tracking-context'])}\"\n data-label=\"${ifDefined(attributes?.['data-label'])}\"\n data-mod-action=\"${ifDefined(attributes?.['data-mod-action'])}\"\n data-nextAction=\"${ifDefined(attributes?.['data-nextAction'])}\"\n data-post-click-location=\"${ifDefined(attributes?.['data-post-click-location'])}\"\n data-ref=\"${ifDefined(attributes?.['data-ref'])}\"\n data-see-less-label=\"${ifDefined(attributes?.['data-see-less-label'])}\"\n data-see-more-label=\"${ifDefined(attributes?.['data-see-more-label'])}\"\n data-select-label=\"${ifDefined(attributes?.['data-select-label'])}\"\n data-select-value=\"${ifDefined(attributes?.['data-select-value'])}\"\n data-test-id=\"${ifDefined(attributes?.['data-test-id'])}\"\n data-testid=\"${ifDefined(attributes?.['data-testid'])}\"\n fill=\"${ifDefined(attributes?.['fill'])}\"\n height=\"${ifDefined(attributes?.['height'])}\"\n href=\"${ifDefined(attributes?.['href'])}\"\n icon-name=\"${ifDefined(attributes?.['icon-name'])}\"\n id=\"${ifDefined(attributes?.['id'])}\"\n name=\"${ifDefined(attributes?.['name'])}\"\n perfmark=\"${ifDefined(attributes?.['perfmark'])}\"\n rel=\"${ifDefined(attributes?.['rel'])}\"\n role=\"${ifDefined(attributes?.['role'])}\"\n slot=\"${ifDefined(attributes?.['slot'])}\"\n src=\"${ifDefined(attributes?.['src'])}\"\n srcset=\"${ifDefined(attributes?.['srcset'])}\"\n style=\"${ifDefined(attributes?.['style'])}\"\n tabindex=\"${ifDefined(attributes?.['tabindex'])}\"\n target=\"${ifDefined(attributes?.['target'])}\"\n type=\"${ifDefined(attributes?.['type'])}\"\n title=\"${ifDefined(attributes?.['title'])}\"\n value=\"${ifDefined(attributes?.['value'])}\"\n viewBox=\"${ifDefined(attributes?.['viewBox'])}\"\n width=\"${ifDefined(attributes?.['width'])}\"\n xmlns=\"${ifDefined(attributes?.['xmlns'])}\"\n >\n ${children}\n </ul>`;\n};\n", "import { default as a } from './a.js';\nimport { default as button } from './button.js';\nimport { default as div } from './div.js';\nimport { default as faceplateExpandableSectionHelper } from './faceplate-expandable-section-helper.js';\nimport { default as li } from './li.js';\nimport { default as span } from './span.js';\nimport { default as svg } from './svg.js';\nimport { default as ul } from './ul.js';\nexport const makeCreateElement = ({ html, ifDefined, }) => {\n const elementMap = {\n a: a({ html, ifDefined }),\n button: button({ html, ifDefined }),\n div: div({ html, ifDefined }),\n 'faceplate-expandable-section-helper': faceplateExpandableSectionHelper({ html, ifDefined }),\n li: li({ html, ifDefined }),\n span: span({ html, ifDefined }),\n svg: svg({ html, ifDefined }),\n ul: ul({ html, ifDefined }),\n };\n return (element, attributes, children) => elementMap[element](attributes, children);\n};\n", "import { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { makeCreateElement as makeCreateElementBase } from '../shared/elements/index.js';\nexport const createElement = makeCreateElementBase({ html, ifDefined });\n", "// Check that a attr key and value is safe to be in the AttrsInfo type from faceplate\nexport function isSafeAttr(key, value, allowClassName = false) {\n if (key === 'className' && !allowClassName) {\n return false;\n }\n return (value == null ||\n typeof value === 'string' ||\n typeof value === 'number' ||\n typeof value === 'boolean');\n}\n", "import { getConfig } from '../faceplateUIConfig.js';\nexport default function checkForConflictingStrategies(strategyName) {\n const currentStrategyName = getConfig().templateRenderingStrategy?.getType();\n if (currentStrategyName != null && currentStrategyName !== strategyName) {\n throw new Error(`\nFaceplate UI templateRenderingStrategy is being set to ${strategyName}, but it has already been set to ${currentStrategyName}.\ntemplateRenderingStrategy cannot be changed once it has been set because it is not possible to switch from the client to the server.\n \nThis usually happens when mixing imports from faceplate-ui/templates/client and faceplate-ui/templates/server, since these imports\nautomatically set templateRenderingStrategy, but can also happen if multiple calls to setConfig try to set conflicting strategies.\n `);\n }\n}\n", "import { attrs as litAttrs } from '@reddit/faceplate/directives/attrs.js';\nimport { html as litHtml, svg as litSvg, nothing, render } from 'lit';\nimport { ifDefined as litIfDefined } from 'lit/directives/if-defined.js';\nimport { repeat as litRepeat } from 'lit/directives/repeat.js';\nimport { styleMap as litStyleMap } from 'lit/directives/style-map.js';\nimport { setConfig } from '../faceplateUIConfig.js';\nimport { createElement } from '../templateUtils/createElement/client/index.js';\nimport { isSafeAttr } from '../templateUtils/isSafeAttr.js';\nimport checkForConflictingStrategies from './checkForConflictingStrategies.js';\nconst STRATEGY_NAME = 'client';\ncheckForConflictingStrategies(STRATEGY_NAME);\nconst getType = () => STRATEGY_NAME;\nconst html = litHtml;\nconst svg = litSvg;\n// Directives\n/**\n * @deprecated this doesn't work with LitSSR, don't use it\n */\nconst attrs = (attrs) => {\n if (attrs == null) {\n return nothing;\n }\n return litAttrs(filterAttrs(attrs));\n};\nconst ifDefined = litIfDefined;\nconst repeat = litRepeat;\nconst styleMap = litStyleMap;\nconst _toHtml_TEST_ONLY = (templateResult) => {\n const container = document.createElement('div');\n render(templateResult, container);\n return container.children[0];\n};\nconst filterAttrs = (attrs) => {\n const result = {};\n for (const key in attrs) {\n const value = attrs[key];\n if (Object.prototype.hasOwnProperty.call(attrs, key) && isSafeAttr(key, value)) {\n result[key] = value;\n }\n }\n return result;\n};\nsetConfig({\n templateRenderingStrategy: {\n _toHtml_TEST_ONLY,\n attrs,\n getType,\n html,\n ifDefined,\n repeat,\n styleMap,\n svg,\n createElement,\n },\n});\n// Make sure these are exported AFTER the strategy is set...\nexport { _toHtml_TEST_ONLY, attrs, ifDefined, repeat, styleMap, html, getType, svg, createElement };\n", "/**\n * #enums.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nexport var BlockType;\n(function (BlockType) {\n BlockType[BlockType[\"BLOCK_ROOT\"] = 0] = \"BLOCK_ROOT\";\n BlockType[BlockType[\"BLOCK_STACK\"] = 1] = \"BLOCK_STACK\";\n BlockType[BlockType[\"BLOCK_TEXT\"] = 2] = \"BLOCK_TEXT\";\n BlockType[BlockType[\"BLOCK_BUTTON\"] = 3] = \"BLOCK_BUTTON\";\n BlockType[BlockType[\"BLOCK_IMAGE\"] = 4] = \"BLOCK_IMAGE\";\n BlockType[BlockType[\"BLOCK_SPACER\"] = 5] = \"BLOCK_SPACER\";\n BlockType[BlockType[\"BLOCK_ICON\"] = 6] = \"BLOCK_ICON\";\n BlockType[BlockType[\"BLOCK_AVATAR\"] = 7] = \"BLOCK_AVATAR\";\n /** @deprecated */\n BlockType[BlockType[\"BLOCK_FULLSNOO\"] = 8] = \"BLOCK_FULLSNOO\";\n /** @deprecated */\n BlockType[BlockType[\"BLOCK_ANIMATION\"] = 9] = \"BLOCK_ANIMATION\";\n /** BLOCK_WEBVIEW - elements 100+ are privileged */\n BlockType[BlockType[\"BLOCK_WEBVIEW\"] = 100] = \"BLOCK_WEBVIEW\";\n BlockType[BlockType[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockType || (BlockType = {}));\nexport function blockTypeFromJSON(object) {\n switch (object) {\n case 0:\n case \"BLOCK_ROOT\":\n return BlockType.BLOCK_ROOT;\n case 1:\n case \"BLOCK_STACK\":\n return BlockType.BLOCK_STACK;\n case 2:\n case \"BLOCK_TEXT\":\n return BlockType.BLOCK_TEXT;\n case 3:\n case \"BLOCK_BUTTON\":\n return BlockType.BLOCK_BUTTON;\n case 4:\n case \"BLOCK_IMAGE\":\n return BlockType.BLOCK_IMAGE;\n case 5:\n case \"BLOCK_SPACER\":\n return BlockType.BLOCK_SPACER;\n case 6:\n case \"BLOCK_ICON\":\n return BlockType.BLOCK_ICON;\n case 7:\n case \"BLOCK_AVATAR\":\n return BlockType.BLOCK_AVATAR;\n case 8:\n case \"BLOCK_FULLSNOO\":\n return BlockType.BLOCK_FULLSNOO;\n case 9:\n case \"BLOCK_ANIMATION\":\n return BlockType.BLOCK_ANIMATION;\n case 100:\n case \"BLOCK_WEBVIEW\":\n return BlockType.BLOCK_WEBVIEW;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockType.UNRECOGNIZED;\n }\n}\nexport function blockTypeToJSON(object) {\n switch (object) {\n case BlockType.BLOCK_ROOT:\n return 0;\n case BlockType.BLOCK_STACK:\n return 1;\n case BlockType.BLOCK_TEXT:\n return 2;\n case BlockType.BLOCK_BUTTON:\n return 3;\n case BlockType.BLOCK_IMAGE:\n return 4;\n case BlockType.BLOCK_SPACER:\n return 5;\n case BlockType.BLOCK_ICON:\n return 6;\n case BlockType.BLOCK_AVATAR:\n return 7;\n case BlockType.BLOCK_FULLSNOO:\n return 8;\n case BlockType.BLOCK_ANIMATION:\n return 9;\n case BlockType.BLOCK_WEBVIEW:\n return 100;\n case BlockType.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockActionType;\n(function (BlockActionType) {\n BlockActionType[BlockActionType[\"ACTION_CLICK\"] = 0] = \"ACTION_CLICK\";\n BlockActionType[BlockActionType[\"ACTION_WEBVIEW\"] = 100] = \"ACTION_WEBVIEW\";\n BlockActionType[BlockActionType[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockActionType || (BlockActionType = {}));\nexport function blockActionTypeFromJSON(object) {\n switch (object) {\n case 0:\n case \"ACTION_CLICK\":\n return BlockActionType.ACTION_CLICK;\n case 100:\n case \"ACTION_WEBVIEW\":\n return BlockActionType.ACTION_WEBVIEW;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockActionType.UNRECOGNIZED;\n }\n}\nexport function blockActionTypeToJSON(object) {\n switch (object) {\n case BlockActionType.ACTION_CLICK:\n return 0;\n case BlockActionType.ACTION_WEBVIEW:\n return 100;\n case BlockActionType.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockRenderEventType;\n(function (BlockRenderEventType) {\n /** RENDER_INITIAL - First render of the UI on the user's device */\n BlockRenderEventType[BlockRenderEventType[\"RENDER_INITIAL\"] = 0] = \"RENDER_INITIAL\";\n /** RENDER_USER_ACTION - Render triggered by a user action */\n BlockRenderEventType[BlockRenderEventType[\"RENDER_USER_ACTION\"] = 1] = \"RENDER_USER_ACTION\";\n /** RENDER_EFFECT_EVENT - Render triggered as the result of an effect */\n BlockRenderEventType[BlockRenderEventType[\"RENDER_EFFECT_EVENT\"] = 2] = \"RENDER_EFFECT_EVENT\";\n /** RENDER_CACHED - Render a version to be cached and used before the app can respond to RENDER_INITIAL */\n BlockRenderEventType[BlockRenderEventType[\"RENDER_CACHED\"] = 3] = \"RENDER_CACHED\";\n BlockRenderEventType[BlockRenderEventType[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockRenderEventType || (BlockRenderEventType = {}));\nexport function blockRenderEventTypeFromJSON(object) {\n switch (object) {\n case 0:\n case \"RENDER_INITIAL\":\n return BlockRenderEventType.RENDER_INITIAL;\n case 1:\n case \"RENDER_USER_ACTION\":\n return BlockRenderEventType.RENDER_USER_ACTION;\n case 2:\n case \"RENDER_EFFECT_EVENT\":\n return BlockRenderEventType.RENDER_EFFECT_EVENT;\n case 3:\n case \"RENDER_CACHED\":\n return BlockRenderEventType.RENDER_CACHED;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockRenderEventType.UNRECOGNIZED;\n }\n}\nexport function blockRenderEventTypeToJSON(object) {\n switch (object) {\n case BlockRenderEventType.RENDER_INITIAL:\n return 0;\n case BlockRenderEventType.RENDER_USER_ACTION:\n return 1;\n case BlockRenderEventType.RENDER_EFFECT_EVENT:\n return 2;\n case BlockRenderEventType.RENDER_CACHED:\n return 3;\n case BlockRenderEventType.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockStackDirection;\n(function (BlockStackDirection) {\n BlockStackDirection[BlockStackDirection[\"STACK_HORIZONTAL\"] = 0] = \"STACK_HORIZONTAL\";\n BlockStackDirection[BlockStackDirection[\"STACK_VERTICAL\"] = 1] = \"STACK_VERTICAL\";\n BlockStackDirection[BlockStackDirection[\"STACK_DEPTH\"] = 2] = \"STACK_DEPTH\";\n BlockStackDirection[BlockStackDirection[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockStackDirection || (BlockStackDirection = {}));\nexport function blockStackDirectionFromJSON(object) {\n switch (object) {\n case 0:\n case \"STACK_HORIZONTAL\":\n return BlockStackDirection.STACK_HORIZONTAL;\n case 1:\n case \"STACK_VERTICAL\":\n return BlockStackDirection.STACK_VERTICAL;\n case 2:\n case \"STACK_DEPTH\":\n return BlockStackDirection.STACK_DEPTH;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockStackDirection.UNRECOGNIZED;\n }\n}\nexport function blockStackDirectionToJSON(object) {\n switch (object) {\n case BlockStackDirection.STACK_HORIZONTAL:\n return 0;\n case BlockStackDirection.STACK_VERTICAL:\n return 1;\n case BlockStackDirection.STACK_DEPTH:\n return 2;\n case BlockStackDirection.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockBorderWidth;\n(function (BlockBorderWidth) {\n BlockBorderWidth[BlockBorderWidth[\"BORDER_WIDTH_NONE\"] = 0] = \"BORDER_WIDTH_NONE\";\n BlockBorderWidth[BlockBorderWidth[\"BORDER_WIDTH_THIN\"] = 1] = \"BORDER_WIDTH_THIN\";\n BlockBorderWidth[BlockBorderWidth[\"BORDER_WIDTH_THICK\"] = 2] = \"BORDER_WIDTH_THICK\";\n BlockBorderWidth[BlockBorderWidth[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockBorderWidth || (BlockBorderWidth = {}));\nexport function blockBorderWidthFromJSON(object) {\n switch (object) {\n case 0:\n case \"BORDER_WIDTH_NONE\":\n return BlockBorderWidth.BORDER_WIDTH_NONE;\n case 1:\n case \"BORDER_WIDTH_THIN\":\n return BlockBorderWidth.BORDER_WIDTH_THIN;\n case 2:\n case \"BORDER_WIDTH_THICK\":\n return BlockBorderWidth.BORDER_WIDTH_THICK;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockBorderWidth.UNRECOGNIZED;\n }\n}\nexport function blockBorderWidthToJSON(object) {\n switch (object) {\n case BlockBorderWidth.BORDER_WIDTH_NONE:\n return 0;\n case BlockBorderWidth.BORDER_WIDTH_THIN:\n return 1;\n case BlockBorderWidth.BORDER_WIDTH_THICK:\n return 2;\n case BlockBorderWidth.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockVerticalAlignment;\n(function (BlockVerticalAlignment) {\n BlockVerticalAlignment[BlockVerticalAlignment[\"ALIGN_TOP\"] = 0] = \"ALIGN_TOP\";\n BlockVerticalAlignment[BlockVerticalAlignment[\"ALIGN_MIDDLE\"] = 1] = \"ALIGN_MIDDLE\";\n BlockVerticalAlignment[BlockVerticalAlignment[\"ALIGN_BOTTOM\"] = 2] = \"ALIGN_BOTTOM\";\n BlockVerticalAlignment[BlockVerticalAlignment[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockVerticalAlignment || (BlockVerticalAlignment = {}));\nexport function blockVerticalAlignmentFromJSON(object) {\n switch (object) {\n case 0:\n case \"ALIGN_TOP\":\n return BlockVerticalAlignment.ALIGN_TOP;\n case 1:\n case \"ALIGN_MIDDLE\":\n return BlockVerticalAlignment.ALIGN_MIDDLE;\n case 2:\n case \"ALIGN_BOTTOM\":\n return BlockVerticalAlignment.ALIGN_BOTTOM;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockVerticalAlignment.UNRECOGNIZED;\n }\n}\nexport function blockVerticalAlignmentToJSON(object) {\n switch (object) {\n case BlockVerticalAlignment.ALIGN_TOP:\n return 0;\n case BlockVerticalAlignment.ALIGN_MIDDLE:\n return 1;\n case BlockVerticalAlignment.ALIGN_BOTTOM:\n return 2;\n case BlockVerticalAlignment.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockHorizontalAlignment;\n(function (BlockHorizontalAlignment) {\n BlockHorizontalAlignment[BlockHorizontalAlignment[\"ALIGN_START\"] = 0] = \"ALIGN_START\";\n BlockHorizontalAlignment[BlockHorizontalAlignment[\"ALIGN_CENTER\"] = 1] = \"ALIGN_CENTER\";\n BlockHorizontalAlignment[BlockHorizontalAlignment[\"ALIGN_END\"] = 2] = \"ALIGN_END\";\n BlockHorizontalAlignment[BlockHorizontalAlignment[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockHorizontalAlignment || (BlockHorizontalAlignment = {}));\nexport function blockHorizontalAlignmentFromJSON(object) {\n switch (object) {\n case 0:\n case \"ALIGN_START\":\n return BlockHorizontalAlignment.ALIGN_START;\n case 1:\n case \"ALIGN_CENTER\":\n return BlockHorizontalAlignment.ALIGN_CENTER;\n case 2:\n case \"ALIGN_END\":\n return BlockHorizontalAlignment.ALIGN_END;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockHorizontalAlignment.UNRECOGNIZED;\n }\n}\nexport function blockHorizontalAlignmentToJSON(object) {\n switch (object) {\n case BlockHorizontalAlignment.ALIGN_START:\n return 0;\n case BlockHorizontalAlignment.ALIGN_CENTER:\n return 1;\n case BlockHorizontalAlignment.ALIGN_END:\n return 2;\n case BlockHorizontalAlignment.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockPadding;\n(function (BlockPadding) {\n BlockPadding[BlockPadding[\"PADDING_NONE\"] = 0] = \"PADDING_NONE\";\n BlockPadding[BlockPadding[\"PADDING_XSMALL\"] = 1] = \"PADDING_XSMALL\";\n BlockPadding[BlockPadding[\"PADDING_SMALL\"] = 2] = \"PADDING_SMALL\";\n BlockPadding[BlockPadding[\"PADDING_MEDIUM\"] = 3] = \"PADDING_MEDIUM\";\n BlockPadding[BlockPadding[\"PADDING_LARGE\"] = 4] = \"PADDING_LARGE\";\n BlockPadding[BlockPadding[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockPadding || (BlockPadding = {}));\nexport function blockPaddingFromJSON(object) {\n switch (object) {\n case 0:\n case \"PADDING_NONE\":\n return BlockPadding.PADDING_NONE;\n case 1:\n case \"PADDING_XSMALL\":\n return BlockPadding.PADDING_XSMALL;\n case 2:\n case \"PADDING_SMALL\":\n return BlockPadding.PADDING_SMALL;\n case 3:\n case \"PADDING_MEDIUM\":\n return BlockPadding.PADDING_MEDIUM;\n case 4:\n case \"PADDING_LARGE\":\n return BlockPadding.PADDING_LARGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockPadding.UNRECOGNIZED;\n }\n}\nexport function blockPaddingToJSON(object) {\n switch (object) {\n case BlockPadding.PADDING_NONE:\n return 0;\n case BlockPadding.PADDING_XSMALL:\n return 1;\n case BlockPadding.PADDING_SMALL:\n return 2;\n case BlockPadding.PADDING_MEDIUM:\n return 3;\n case BlockPadding.PADDING_LARGE:\n return 4;\n case BlockPadding.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockGap;\n(function (BlockGap) {\n BlockGap[BlockGap[\"GAP_NONE\"] = 0] = \"GAP_NONE\";\n BlockGap[BlockGap[\"GAP_SMALL\"] = 1] = \"GAP_SMALL\";\n BlockGap[BlockGap[\"GAP_MEDIUM\"] = 2] = \"GAP_MEDIUM\";\n BlockGap[BlockGap[\"GAP_LARGE\"] = 3] = \"GAP_LARGE\";\n BlockGap[BlockGap[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockGap || (BlockGap = {}));\nexport function blockGapFromJSON(object) {\n switch (object) {\n case 0:\n case \"GAP_NONE\":\n return BlockGap.GAP_NONE;\n case 1:\n case \"GAP_SMALL\":\n return BlockGap.GAP_SMALL;\n case 2:\n case \"GAP_MEDIUM\":\n return BlockGap.GAP_MEDIUM;\n case 3:\n case \"GAP_LARGE\":\n return BlockGap.GAP_LARGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockGap.UNRECOGNIZED;\n }\n}\nexport function blockGapToJSON(object) {\n switch (object) {\n case BlockGap.GAP_NONE:\n return 0;\n case BlockGap.GAP_SMALL:\n return 1;\n case BlockGap.GAP_MEDIUM:\n return 2;\n case BlockGap.GAP_LARGE:\n return 3;\n case BlockGap.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockRadius;\n(function (BlockRadius) {\n BlockRadius[BlockRadius[\"RADIUS_NONE\"] = 0] = \"RADIUS_NONE\";\n BlockRadius[BlockRadius[\"RADIUS_SMALL\"] = 1] = \"RADIUS_SMALL\";\n BlockRadius[BlockRadius[\"RADIUS_MEDIUM\"] = 2] = \"RADIUS_MEDIUM\";\n BlockRadius[BlockRadius[\"RADIUS_LARGE\"] = 3] = \"RADIUS_LARGE\";\n BlockRadius[BlockRadius[\"RADIUS_FULL\"] = 100] = \"RADIUS_FULL\";\n BlockRadius[BlockRadius[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockRadius || (BlockRadius = {}));\nexport function blockRadiusFromJSON(object) {\n switch (object) {\n case 0:\n case \"RADIUS_NONE\":\n return BlockRadius.RADIUS_NONE;\n case 1:\n case \"RADIUS_SMALL\":\n return BlockRadius.RADIUS_SMALL;\n case 2:\n case \"RADIUS_MEDIUM\":\n return BlockRadius.RADIUS_MEDIUM;\n case 3:\n case \"RADIUS_LARGE\":\n return BlockRadius.RADIUS_LARGE;\n case 100:\n case \"RADIUS_FULL\":\n return BlockRadius.RADIUS_FULL;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockRadius.UNRECOGNIZED;\n }\n}\nexport function blockRadiusToJSON(object) {\n switch (object) {\n case BlockRadius.RADIUS_NONE:\n return 0;\n case BlockRadius.RADIUS_SMALL:\n return 1;\n case BlockRadius.RADIUS_MEDIUM:\n return 2;\n case BlockRadius.RADIUS_LARGE:\n return 3;\n case BlockRadius.RADIUS_FULL:\n return 100;\n case BlockRadius.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockTextSize;\n(function (BlockTextSize) {\n BlockTextSize[BlockTextSize[\"TEXT_SIZE_MEDIUM\"] = 0] = \"TEXT_SIZE_MEDIUM\";\n BlockTextSize[BlockTextSize[\"TEXT_SIZE_XSMALL\"] = 1] = \"TEXT_SIZE_XSMALL\";\n BlockTextSize[BlockTextSize[\"TEXT_SIZE_SMALL\"] = 2] = \"TEXT_SIZE_SMALL\";\n BlockTextSize[BlockTextSize[\"TEXT_SIZE_LARGE\"] = 3] = \"TEXT_SIZE_LARGE\";\n BlockTextSize[BlockTextSize[\"TEXT_SIZE_XLARGE\"] = 4] = \"TEXT_SIZE_XLARGE\";\n BlockTextSize[BlockTextSize[\"TEXT_SIZE_XXLARGE\"] = 5] = \"TEXT_SIZE_XXLARGE\";\n BlockTextSize[BlockTextSize[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockTextSize || (BlockTextSize = {}));\nexport function blockTextSizeFromJSON(object) {\n switch (object) {\n case 0:\n case \"TEXT_SIZE_MEDIUM\":\n return BlockTextSize.TEXT_SIZE_MEDIUM;\n case 1:\n case \"TEXT_SIZE_XSMALL\":\n return BlockTextSize.TEXT_SIZE_XSMALL;\n case 2:\n case \"TEXT_SIZE_SMALL\":\n return BlockTextSize.TEXT_SIZE_SMALL;\n case 3:\n case \"TEXT_SIZE_LARGE\":\n return BlockTextSize.TEXT_SIZE_LARGE;\n case 4:\n case \"TEXT_SIZE_XLARGE\":\n return BlockTextSize.TEXT_SIZE_XLARGE;\n case 5:\n case \"TEXT_SIZE_XXLARGE\":\n return BlockTextSize.TEXT_SIZE_XXLARGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockTextSize.UNRECOGNIZED;\n }\n}\nexport function blockTextSizeToJSON(object) {\n switch (object) {\n case BlockTextSize.TEXT_SIZE_MEDIUM:\n return 0;\n case BlockTextSize.TEXT_SIZE_XSMALL:\n return 1;\n case BlockTextSize.TEXT_SIZE_SMALL:\n return 2;\n case BlockTextSize.TEXT_SIZE_LARGE:\n return 3;\n case BlockTextSize.TEXT_SIZE_XLARGE:\n return 4;\n case BlockTextSize.TEXT_SIZE_XXLARGE:\n return 5;\n case BlockTextSize.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockTextWeight;\n(function (BlockTextWeight) {\n BlockTextWeight[BlockTextWeight[\"TEXT_WEIGHT_REGULAR\"] = 0] = \"TEXT_WEIGHT_REGULAR\";\n BlockTextWeight[BlockTextWeight[\"TEXT_WEIGHT_BOLD\"] = 1] = \"TEXT_WEIGHT_BOLD\";\n BlockTextWeight[BlockTextWeight[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockTextWeight || (BlockTextWeight = {}));\nexport function blockTextWeightFromJSON(object) {\n switch (object) {\n case 0:\n case \"TEXT_WEIGHT_REGULAR\":\n return BlockTextWeight.TEXT_WEIGHT_REGULAR;\n case 1:\n case \"TEXT_WEIGHT_BOLD\":\n return BlockTextWeight.TEXT_WEIGHT_BOLD;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockTextWeight.UNRECOGNIZED;\n }\n}\nexport function blockTextWeightToJSON(object) {\n switch (object) {\n case BlockTextWeight.TEXT_WEIGHT_REGULAR:\n return 0;\n case BlockTextWeight.TEXT_WEIGHT_BOLD:\n return 1;\n case BlockTextWeight.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockTextOutline;\n(function (BlockTextOutline) {\n BlockTextOutline[BlockTextOutline[\"TEXT_OUTLINE_NONE\"] = 0] = \"TEXT_OUTLINE_NONE\";\n BlockTextOutline[BlockTextOutline[\"TEXT_OUTLINE_THIN\"] = 1] = \"TEXT_OUTLINE_THIN\";\n BlockTextOutline[BlockTextOutline[\"TEXT_OUTLINE_THICK\"] = 2] = \"TEXT_OUTLINE_THICK\";\n BlockTextOutline[BlockTextOutline[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockTextOutline || (BlockTextOutline = {}));\nexport function blockTextOutlineFromJSON(object) {\n switch (object) {\n case 0:\n case \"TEXT_OUTLINE_NONE\":\n return BlockTextOutline.TEXT_OUTLINE_NONE;\n case 1:\n case \"TEXT_OUTLINE_THIN\":\n return BlockTextOutline.TEXT_OUTLINE_THIN;\n case 2:\n case \"TEXT_OUTLINE_THICK\":\n return BlockTextOutline.TEXT_OUTLINE_THICK;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockTextOutline.UNRECOGNIZED;\n }\n}\nexport function blockTextOutlineToJSON(object) {\n switch (object) {\n case BlockTextOutline.TEXT_OUTLINE_NONE:\n return 0;\n case BlockTextOutline.TEXT_OUTLINE_THIN:\n return 1;\n case BlockTextOutline.TEXT_OUTLINE_THICK:\n return 2;\n case BlockTextOutline.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockTextStyle;\n(function (BlockTextStyle) {\n BlockTextStyle[BlockTextStyle[\"TEXT_STYLE_BODY\"] = 0] = \"TEXT_STYLE_BODY\";\n BlockTextStyle[BlockTextStyle[\"TEXT_STYLE_METADATA\"] = 1] = \"TEXT_STYLE_METADATA\";\n BlockTextStyle[BlockTextStyle[\"TEXT_STYLE_HEADING\"] = 2] = \"TEXT_STYLE_HEADING\";\n BlockTextStyle[BlockTextStyle[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockTextStyle || (BlockTextStyle = {}));\nexport function blockTextStyleFromJSON(object) {\n switch (object) {\n case 0:\n case \"TEXT_STYLE_BODY\":\n return BlockTextStyle.TEXT_STYLE_BODY;\n case 1:\n case \"TEXT_STYLE_METADATA\":\n return BlockTextStyle.TEXT_STYLE_METADATA;\n case 2:\n case \"TEXT_STYLE_HEADING\":\n return BlockTextStyle.TEXT_STYLE_HEADING;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockTextStyle.UNRECOGNIZED;\n }\n}\nexport function blockTextStyleToJSON(object) {\n switch (object) {\n case BlockTextStyle.TEXT_STYLE_BODY:\n return 0;\n case BlockTextStyle.TEXT_STYLE_METADATA:\n return 1;\n case BlockTextStyle.TEXT_STYLE_HEADING:\n return 2;\n case BlockTextStyle.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockButtonSize;\n(function (BlockButtonSize) {\n BlockButtonSize[BlockButtonSize[\"BUTTON_SIZE_MEDIUM\"] = 0] = \"BUTTON_SIZE_MEDIUM\";\n BlockButtonSize[BlockButtonSize[\"BUTTON_SIZE_SMALL\"] = 1] = \"BUTTON_SIZE_SMALL\";\n BlockButtonSize[BlockButtonSize[\"BUTTON_SIZE_LARGE\"] = 2] = \"BUTTON_SIZE_LARGE\";\n BlockButtonSize[BlockButtonSize[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockButtonSize || (BlockButtonSize = {}));\nexport function blockButtonSizeFromJSON(object) {\n switch (object) {\n case 0:\n case \"BUTTON_SIZE_MEDIUM\":\n return BlockButtonSize.BUTTON_SIZE_MEDIUM;\n case 1:\n case \"BUTTON_SIZE_SMALL\":\n return BlockButtonSize.BUTTON_SIZE_SMALL;\n case 2:\n case \"BUTTON_SIZE_LARGE\":\n return BlockButtonSize.BUTTON_SIZE_LARGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockButtonSize.UNRECOGNIZED;\n }\n}\nexport function blockButtonSizeToJSON(object) {\n switch (object) {\n case BlockButtonSize.BUTTON_SIZE_MEDIUM:\n return 0;\n case BlockButtonSize.BUTTON_SIZE_SMALL:\n return 1;\n case BlockButtonSize.BUTTON_SIZE_LARGE:\n return 2;\n case BlockButtonSize.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockButtonAppearance;\n(function (BlockButtonAppearance) {\n BlockButtonAppearance[BlockButtonAppearance[\"BUTTON_APPEARANCE_SECONDARY\"] = 0] = \"BUTTON_APPEARANCE_SECONDARY\";\n BlockButtonAppearance[BlockButtonAppearance[\"BUTTON_APPEARANCE_PRIMARY\"] = 1] = \"BUTTON_APPEARANCE_PRIMARY\";\n BlockButtonAppearance[BlockButtonAppearance[\"BUTTON_APPEARANCE_PLAIN\"] = 2] = \"BUTTON_APPEARANCE_PLAIN\";\n BlockButtonAppearance[BlockButtonAppearance[\"BUTTON_APPEARANCE_BORDERED\"] = 3] = \"BUTTON_APPEARANCE_BORDERED\";\n BlockButtonAppearance[BlockButtonAppearance[\"BUTTON_APPEARANCE_MEDIA\"] = 4] = \"BUTTON_APPEARANCE_MEDIA\";\n BlockButtonAppearance[BlockButtonAppearance[\"BUTTON_APPEARANCE_DESTRUCTIVE\"] = 5] = \"BUTTON_APPEARANCE_DESTRUCTIVE\";\n BlockButtonAppearance[BlockButtonAppearance[\"BUTTON_APPEARANCE_CAUTION\"] = 6] = \"BUTTON_APPEARANCE_CAUTION\";\n BlockButtonAppearance[BlockButtonAppearance[\"BUTTON_APPEARANCE_SUCCESS\"] = 7] = \"BUTTON_APPEARANCE_SUCCESS\";\n BlockButtonAppearance[BlockButtonAppearance[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockButtonAppearance || (BlockButtonAppearance = {}));\nexport function blockButtonAppearanceFromJSON(object) {\n switch (object) {\n case 0:\n case \"BUTTON_APPEARANCE_SECONDARY\":\n return BlockButtonAppearance.BUTTON_APPEARANCE_SECONDARY;\n case 1:\n case \"BUTTON_APPEARANCE_PRIMARY\":\n return BlockButtonAppearance.BUTTON_APPEARANCE_PRIMARY;\n case 2:\n case \"BUTTON_APPEARANCE_PLAIN\":\n return BlockButtonAppearance.BUTTON_APPEARANCE_PLAIN;\n case 3:\n case \"BUTTON_APPEARANCE_BORDERED\":\n return BlockButtonAppearance.BUTTON_APPEARANCE_BORDERED;\n case 4:\n case \"BUTTON_APPEARANCE_MEDIA\":\n return BlockButtonAppearance.BUTTON_APPEARANCE_MEDIA;\n case 5:\n case \"BUTTON_APPEARANCE_DESTRUCTIVE\":\n return BlockButtonAppearance.BUTTON_APPEARANCE_DESTRUCTIVE;\n case 6:\n case \"BUTTON_APPEARANCE_CAUTION\":\n return BlockButtonAppearance.BUTTON_APPEARANCE_CAUTION;\n case 7:\n case \"BUTTON_APPEARANCE_SUCCESS\":\n return BlockButtonAppearance.BUTTON_APPEARANCE_SUCCESS;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockButtonAppearance.UNRECOGNIZED;\n }\n}\nexport function blockButtonAppearanceToJSON(object) {\n switch (object) {\n case BlockButtonAppearance.BUTTON_APPEARANCE_SECONDARY:\n return 0;\n case BlockButtonAppearance.BUTTON_APPEARANCE_PRIMARY:\n return 1;\n case BlockButtonAppearance.BUTTON_APPEARANCE_PLAIN:\n return 2;\n case BlockButtonAppearance.BUTTON_APPEARANCE_BORDERED:\n return 3;\n case BlockButtonAppearance.BUTTON_APPEARANCE_MEDIA:\n return 4;\n case BlockButtonAppearance.BUTTON_APPEARANCE_DESTRUCTIVE:\n return 5;\n case BlockButtonAppearance.BUTTON_APPEARANCE_CAUTION:\n return 6;\n case BlockButtonAppearance.BUTTON_APPEARANCE_SUCCESS:\n return 7;\n case BlockButtonAppearance.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockImageResizeMode;\n(function (BlockImageResizeMode) {\n BlockImageResizeMode[BlockImageResizeMode[\"IMAGE_RESIZE_FIT\"] = 0] = \"IMAGE_RESIZE_FIT\";\n BlockImageResizeMode[BlockImageResizeMode[\"IMAGE_RESIZE_FILL\"] = 1] = \"IMAGE_RESIZE_FILL\";\n BlockImageResizeMode[BlockImageResizeMode[\"IMAGE_RESIZE_COVER\"] = 2] = \"IMAGE_RESIZE_COVER\";\n BlockImageResizeMode[BlockImageResizeMode[\"IMAGE_RESIZE_NONE\"] = 3] = \"IMAGE_RESIZE_NONE\";\n BlockImageResizeMode[BlockImageResizeMode[\"IMAGE_RESIZE_SCALE_DOWN\"] = 4] = \"IMAGE_RESIZE_SCALE_DOWN\";\n BlockImageResizeMode[BlockImageResizeMode[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockImageResizeMode || (BlockImageResizeMode = {}));\nexport function blockImageResizeModeFromJSON(object) {\n switch (object) {\n case 0:\n case \"IMAGE_RESIZE_FIT\":\n return BlockImageResizeMode.IMAGE_RESIZE_FIT;\n case 1:\n case \"IMAGE_RESIZE_FILL\":\n return BlockImageResizeMode.IMAGE_RESIZE_FILL;\n case 2:\n case \"IMAGE_RESIZE_COVER\":\n return BlockImageResizeMode.IMAGE_RESIZE_COVER;\n case 3:\n case \"IMAGE_RESIZE_NONE\":\n return BlockImageResizeMode.IMAGE_RESIZE_NONE;\n case 4:\n case \"IMAGE_RESIZE_SCALE_DOWN\":\n return BlockImageResizeMode.IMAGE_RESIZE_SCALE_DOWN;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockImageResizeMode.UNRECOGNIZED;\n }\n}\nexport function blockImageResizeModeToJSON(object) {\n switch (object) {\n case BlockImageResizeMode.IMAGE_RESIZE_FIT:\n return 0;\n case BlockImageResizeMode.IMAGE_RESIZE_FILL:\n return 1;\n case BlockImageResizeMode.IMAGE_RESIZE_COVER:\n return 2;\n case BlockImageResizeMode.IMAGE_RESIZE_NONE:\n return 3;\n case BlockImageResizeMode.IMAGE_RESIZE_SCALE_DOWN:\n return 4;\n case BlockImageResizeMode.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockSpacerSize;\n(function (BlockSpacerSize) {\n BlockSpacerSize[BlockSpacerSize[\"SPACER_SMALL\"] = 0] = \"SPACER_SMALL\";\n BlockSpacerSize[BlockSpacerSize[\"SPACER_XSMALL\"] = 1] = \"SPACER_XSMALL\";\n BlockSpacerSize[BlockSpacerSize[\"SPACER_MEDIUM\"] = 2] = \"SPACER_MEDIUM\";\n BlockSpacerSize[BlockSpacerSize[\"SPACER_LARGE\"] = 3] = \"SPACER_LARGE\";\n BlockSpacerSize[BlockSpacerSize[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockSpacerSize || (BlockSpacerSize = {}));\nexport function blockSpacerSizeFromJSON(object) {\n switch (object) {\n case 0:\n case \"SPACER_SMALL\":\n return BlockSpacerSize.SPACER_SMALL;\n case 1:\n case \"SPACER_XSMALL\":\n return BlockSpacerSize.SPACER_XSMALL;\n case 2:\n case \"SPACER_MEDIUM\":\n return BlockSpacerSize.SPACER_MEDIUM;\n case 3:\n case \"SPACER_LARGE\":\n return BlockSpacerSize.SPACER_LARGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockSpacerSize.UNRECOGNIZED;\n }\n}\nexport function blockSpacerSizeToJSON(object) {\n switch (object) {\n case BlockSpacerSize.SPACER_SMALL:\n return 0;\n case BlockSpacerSize.SPACER_XSMALL:\n return 1;\n case BlockSpacerSize.SPACER_MEDIUM:\n return 2;\n case BlockSpacerSize.SPACER_LARGE:\n return 3;\n case BlockSpacerSize.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockSpacerShape;\n(function (BlockSpacerShape) {\n BlockSpacerShape[BlockSpacerShape[\"SPACER_INVISIBLE\"] = 0] = \"SPACER_INVISIBLE\";\n BlockSpacerShape[BlockSpacerShape[\"SPACER_THIN\"] = 1] = \"SPACER_THIN\";\n BlockSpacerShape[BlockSpacerShape[\"SPACER_SQUARE\"] = 2] = \"SPACER_SQUARE\";\n BlockSpacerShape[BlockSpacerShape[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockSpacerShape || (BlockSpacerShape = {}));\nexport function blockSpacerShapeFromJSON(object) {\n switch (object) {\n case 0:\n case \"SPACER_INVISIBLE\":\n return BlockSpacerShape.SPACER_INVISIBLE;\n case 1:\n case \"SPACER_THIN\":\n return BlockSpacerShape.SPACER_THIN;\n case 2:\n case \"SPACER_SQUARE\":\n return BlockSpacerShape.SPACER_SQUARE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockSpacerShape.UNRECOGNIZED;\n }\n}\nexport function blockSpacerShapeToJSON(object) {\n switch (object) {\n case BlockSpacerShape.SPACER_INVISIBLE:\n return 0;\n case BlockSpacerShape.SPACER_THIN:\n return 1;\n case BlockSpacerShape.SPACER_SQUARE:\n return 2;\n case BlockSpacerShape.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockIconSize;\n(function (BlockIconSize) {\n BlockIconSize[BlockIconSize[\"ICON_SIZE_MEDIUM\"] = 0] = \"ICON_SIZE_MEDIUM\";\n BlockIconSize[BlockIconSize[\"ICON_SIZE_XSMALL\"] = 1] = \"ICON_SIZE_XSMALL\";\n BlockIconSize[BlockIconSize[\"ICON_SIZE_SMALL\"] = 2] = \"ICON_SIZE_SMALL\";\n BlockIconSize[BlockIconSize[\"ICON_SIZE_LARGE\"] = 3] = \"ICON_SIZE_LARGE\";\n BlockIconSize[BlockIconSize[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockIconSize || (BlockIconSize = {}));\nexport function blockIconSizeFromJSON(object) {\n switch (object) {\n case 0:\n case \"ICON_SIZE_MEDIUM\":\n return BlockIconSize.ICON_SIZE_MEDIUM;\n case 1:\n case \"ICON_SIZE_XSMALL\":\n return BlockIconSize.ICON_SIZE_XSMALL;\n case 2:\n case \"ICON_SIZE_SMALL\":\n return BlockIconSize.ICON_SIZE_SMALL;\n case 3:\n case \"ICON_SIZE_LARGE\":\n return BlockIconSize.ICON_SIZE_LARGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockIconSize.UNRECOGNIZED;\n }\n}\nexport function blockIconSizeToJSON(object) {\n switch (object) {\n case BlockIconSize.ICON_SIZE_MEDIUM:\n return 0;\n case BlockIconSize.ICON_SIZE_XSMALL:\n return 1;\n case BlockIconSize.ICON_SIZE_SMALL:\n return 2;\n case BlockIconSize.ICON_SIZE_LARGE:\n return 3;\n case BlockIconSize.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockAvatarFacing;\n(function (BlockAvatarFacing) {\n BlockAvatarFacing[BlockAvatarFacing[\"AVATAR_FACING_LEFT\"] = 0] = \"AVATAR_FACING_LEFT\";\n BlockAvatarFacing[BlockAvatarFacing[\"AVATAR_FACING_RIGHT\"] = 1] = \"AVATAR_FACING_RIGHT\";\n BlockAvatarFacing[BlockAvatarFacing[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockAvatarFacing || (BlockAvatarFacing = {}));\nexport function blockAvatarFacingFromJSON(object) {\n switch (object) {\n case 0:\n case \"AVATAR_FACING_LEFT\":\n return BlockAvatarFacing.AVATAR_FACING_LEFT;\n case 1:\n case \"AVATAR_FACING_RIGHT\":\n return BlockAvatarFacing.AVATAR_FACING_RIGHT;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockAvatarFacing.UNRECOGNIZED;\n }\n}\nexport function blockAvatarFacingToJSON(object) {\n switch (object) {\n case BlockAvatarFacing.AVATAR_FACING_LEFT:\n return 0;\n case BlockAvatarFacing.AVATAR_FACING_RIGHT:\n return 1;\n case BlockAvatarFacing.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockAvatarSize;\n(function (BlockAvatarSize) {\n BlockAvatarSize[BlockAvatarSize[\"AVATAR_SIZE_SMALL\"] = 0] = \"AVATAR_SIZE_SMALL\";\n BlockAvatarSize[BlockAvatarSize[\"AVATAR_SIZE_XXSMALL\"] = 1] = \"AVATAR_SIZE_XXSMALL\";\n BlockAvatarSize[BlockAvatarSize[\"AVATAR_SIZE_XSMALL\"] = 2] = \"AVATAR_SIZE_XSMALL\";\n BlockAvatarSize[BlockAvatarSize[\"AVATAR_SIZE_MEDIUM\"] = 3] = \"AVATAR_SIZE_MEDIUM\";\n BlockAvatarSize[BlockAvatarSize[\"AVATAR_SIZE_LARGE\"] = 4] = \"AVATAR_SIZE_LARGE\";\n BlockAvatarSize[BlockAvatarSize[\"AVATAR_SIZE_XLARGE\"] = 5] = \"AVATAR_SIZE_XLARGE\";\n BlockAvatarSize[BlockAvatarSize[\"AVATAR_SIZE_XXLARGE\"] = 6] = \"AVATAR_SIZE_XXLARGE\";\n BlockAvatarSize[BlockAvatarSize[\"AVATAR_SIZE_XXXLARGE\"] = 7] = \"AVATAR_SIZE_XXXLARGE\";\n BlockAvatarSize[BlockAvatarSize[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockAvatarSize || (BlockAvatarSize = {}));\nexport function blockAvatarSizeFromJSON(object) {\n switch (object) {\n case 0:\n case \"AVATAR_SIZE_SMALL\":\n return BlockAvatarSize.AVATAR_SIZE_SMALL;\n case 1:\n case \"AVATAR_SIZE_XXSMALL\":\n return BlockAvatarSize.AVATAR_SIZE_XXSMALL;\n case 2:\n case \"AVATAR_SIZE_XSMALL\":\n return BlockAvatarSize.AVATAR_SIZE_XSMALL;\n case 3:\n case \"AVATAR_SIZE_MEDIUM\":\n return BlockAvatarSize.AVATAR_SIZE_MEDIUM;\n case 4:\n case \"AVATAR_SIZE_LARGE\":\n return BlockAvatarSize.AVATAR_SIZE_LARGE;\n case 5:\n case \"AVATAR_SIZE_XLARGE\":\n return BlockAvatarSize.AVATAR_SIZE_XLARGE;\n case 6:\n case \"AVATAR_SIZE_XXLARGE\":\n return BlockAvatarSize.AVATAR_SIZE_XXLARGE;\n case 7:\n case \"AVATAR_SIZE_XXXLARGE\":\n return BlockAvatarSize.AVATAR_SIZE_XXXLARGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockAvatarSize.UNRECOGNIZED;\n }\n}\nexport function blockAvatarSizeToJSON(object) {\n switch (object) {\n case BlockAvatarSize.AVATAR_SIZE_SMALL:\n return 0;\n case BlockAvatarSize.AVATAR_SIZE_XXSMALL:\n return 1;\n case BlockAvatarSize.AVATAR_SIZE_XSMALL:\n return 2;\n case BlockAvatarSize.AVATAR_SIZE_MEDIUM:\n return 3;\n case BlockAvatarSize.AVATAR_SIZE_LARGE:\n return 4;\n case BlockAvatarSize.AVATAR_SIZE_XLARGE:\n return 5;\n case BlockAvatarSize.AVATAR_SIZE_XXLARGE:\n return 6;\n case BlockAvatarSize.AVATAR_SIZE_XXXLARGE:\n return 7;\n case BlockAvatarSize.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockAvatarBackground;\n(function (BlockAvatarBackground) {\n BlockAvatarBackground[BlockAvatarBackground[\"AVATAR_BG_LIGHT\"] = 0] = \"AVATAR_BG_LIGHT\";\n BlockAvatarBackground[BlockAvatarBackground[\"AVATAR_BG_DARK\"] = 1] = \"AVATAR_BG_DARK\";\n BlockAvatarBackground[BlockAvatarBackground[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockAvatarBackground || (BlockAvatarBackground = {}));\nexport function blockAvatarBackgroundFromJSON(object) {\n switch (object) {\n case 0:\n case \"AVATAR_BG_LIGHT\":\n return BlockAvatarBackground.AVATAR_BG_LIGHT;\n case 1:\n case \"AVATAR_BG_DARK\":\n return BlockAvatarBackground.AVATAR_BG_DARK;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockAvatarBackground.UNRECOGNIZED;\n }\n}\nexport function blockAvatarBackgroundToJSON(object) {\n switch (object) {\n case BlockAvatarBackground.AVATAR_BG_LIGHT:\n return 0;\n case BlockAvatarBackground.AVATAR_BG_DARK:\n return 1;\n case BlockAvatarBackground.UNRECOGNIZED:\n default:\n return -1;\n }\n}\n/** @deprecated */\nexport var BlockFullSnooSize;\n(function (BlockFullSnooSize) {\n BlockFullSnooSize[BlockFullSnooSize[\"FULLSNOO_SMALL\"] = 0] = \"FULLSNOO_SMALL\";\n BlockFullSnooSize[BlockFullSnooSize[\"FULLSNOO_XSMALL\"] = 1] = \"FULLSNOO_XSMALL\";\n BlockFullSnooSize[BlockFullSnooSize[\"FULLSNOO_MEDIUM\"] = 2] = \"FULLSNOO_MEDIUM\";\n BlockFullSnooSize[BlockFullSnooSize[\"FULLSNOO_LARGE\"] = 3] = \"FULLSNOO_LARGE\";\n BlockFullSnooSize[BlockFullSnooSize[\"FULLSNOO_XLARGE\"] = 4] = \"FULLSNOO_XLARGE\";\n BlockFullSnooSize[BlockFullSnooSize[\"FULLSNOO_XXLARGE\"] = 5] = \"FULLSNOO_XXLARGE\";\n BlockFullSnooSize[BlockFullSnooSize[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockFullSnooSize || (BlockFullSnooSize = {}));\nexport function blockFullSnooSizeFromJSON(object) {\n switch (object) {\n case 0:\n case \"FULLSNOO_SMALL\":\n return BlockFullSnooSize.FULLSNOO_SMALL;\n case 1:\n case \"FULLSNOO_XSMALL\":\n return BlockFullSnooSize.FULLSNOO_XSMALL;\n case 2:\n case \"FULLSNOO_MEDIUM\":\n return BlockFullSnooSize.FULLSNOO_MEDIUM;\n case 3:\n case \"FULLSNOO_LARGE\":\n return BlockFullSnooSize.FULLSNOO_LARGE;\n case 4:\n case \"FULLSNOO_XLARGE\":\n return BlockFullSnooSize.FULLSNOO_XLARGE;\n case 5:\n case \"FULLSNOO_XXLARGE\":\n return BlockFullSnooSize.FULLSNOO_XXLARGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockFullSnooSize.UNRECOGNIZED;\n }\n}\nexport function blockFullSnooSizeToJSON(object) {\n switch (object) {\n case BlockFullSnooSize.FULLSNOO_SMALL:\n return 0;\n case BlockFullSnooSize.FULLSNOO_XSMALL:\n return 1;\n case BlockFullSnooSize.FULLSNOO_MEDIUM:\n return 2;\n case BlockFullSnooSize.FULLSNOO_LARGE:\n return 3;\n case BlockFullSnooSize.FULLSNOO_XLARGE:\n return 4;\n case BlockFullSnooSize.FULLSNOO_XXLARGE:\n return 5;\n case BlockFullSnooSize.UNRECOGNIZED:\n default:\n return -1;\n }\n}\n/** @deprecated */\nexport var BlockAnimationType;\n(function (BlockAnimationType) {\n BlockAnimationType[BlockAnimationType[\"ANIM_LOTTIE\"] = 0] = \"ANIM_LOTTIE\";\n BlockAnimationType[BlockAnimationType[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockAnimationType || (BlockAnimationType = {}));\nexport function blockAnimationTypeFromJSON(object) {\n switch (object) {\n case 0:\n case \"ANIM_LOTTIE\":\n return BlockAnimationType.ANIM_LOTTIE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockAnimationType.UNRECOGNIZED;\n }\n}\nexport function blockAnimationTypeToJSON(object) {\n switch (object) {\n case BlockAnimationType.ANIM_LOTTIE:\n return 0;\n case BlockAnimationType.UNRECOGNIZED:\n default:\n return -1;\n }\n}\n/** @deprecated */\nexport var BlockAnimationLoopMode;\n(function (BlockAnimationLoopMode) {\n BlockAnimationLoopMode[BlockAnimationLoopMode[\"ANIM_LOOP_REPEAT\"] = 0] = \"ANIM_LOOP_REPEAT\";\n BlockAnimationLoopMode[BlockAnimationLoopMode[\"ANIM_LOOP_BOUNCE\"] = 1] = \"ANIM_LOOP_BOUNCE\";\n BlockAnimationLoopMode[BlockAnimationLoopMode[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockAnimationLoopMode || (BlockAnimationLoopMode = {}));\nexport function blockAnimationLoopModeFromJSON(object) {\n switch (object) {\n case 0:\n case \"ANIM_LOOP_REPEAT\":\n return BlockAnimationLoopMode.ANIM_LOOP_REPEAT;\n case 1:\n case \"ANIM_LOOP_BOUNCE\":\n return BlockAnimationLoopMode.ANIM_LOOP_BOUNCE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockAnimationLoopMode.UNRECOGNIZED;\n }\n}\nexport function blockAnimationLoopModeToJSON(object) {\n switch (object) {\n case BlockAnimationLoopMode.ANIM_LOOP_REPEAT:\n return 0;\n case BlockAnimationLoopMode.ANIM_LOOP_BOUNCE:\n return 1;\n case BlockAnimationLoopMode.UNRECOGNIZED:\n default:\n return -1;\n }\n}\n/** @deprecated */\nexport var BlockAnimationDirection;\n(function (BlockAnimationDirection) {\n BlockAnimationDirection[BlockAnimationDirection[\"ANIM_DIR_FORWARD\"] = 0] = \"ANIM_DIR_FORWARD\";\n BlockAnimationDirection[BlockAnimationDirection[\"ANIM_DIR_BACKWARD\"] = 1] = \"ANIM_DIR_BACKWARD\";\n BlockAnimationDirection[BlockAnimationDirection[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockAnimationDirection || (BlockAnimationDirection = {}));\nexport function blockAnimationDirectionFromJSON(object) {\n switch (object) {\n case 0:\n case \"ANIM_DIR_FORWARD\":\n return BlockAnimationDirection.ANIM_DIR_FORWARD;\n case 1:\n case \"ANIM_DIR_BACKWARD\":\n return BlockAnimationDirection.ANIM_DIR_BACKWARD;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockAnimationDirection.UNRECOGNIZED;\n }\n}\nexport function blockAnimationDirectionToJSON(object) {\n switch (object) {\n case BlockAnimationDirection.ANIM_DIR_FORWARD:\n return 0;\n case BlockAnimationDirection.ANIM_DIR_BACKWARD:\n return 1;\n case BlockAnimationDirection.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockSizeUnit;\n(function (BlockSizeUnit) {\n BlockSizeUnit[BlockSizeUnit[\"SIZE_UNIT_PERCENT\"] = 0] = \"SIZE_UNIT_PERCENT\";\n BlockSizeUnit[BlockSizeUnit[\"SIZE_UNIT_PIXELS\"] = 1] = \"SIZE_UNIT_PIXELS\";\n BlockSizeUnit[BlockSizeUnit[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockSizeUnit || (BlockSizeUnit = {}));\nexport function blockSizeUnitFromJSON(object) {\n switch (object) {\n case 0:\n case \"SIZE_UNIT_PERCENT\":\n return BlockSizeUnit.SIZE_UNIT_PERCENT;\n case 1:\n case \"SIZE_UNIT_PIXELS\":\n return BlockSizeUnit.SIZE_UNIT_PIXELS;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockSizeUnit.UNRECOGNIZED;\n }\n}\nexport function blockSizeUnitToJSON(object) {\n switch (object) {\n case BlockSizeUnit.SIZE_UNIT_PERCENT:\n return 0;\n case BlockSizeUnit.SIZE_UNIT_PIXELS:\n return 1;\n case BlockSizeUnit.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport var BlockTextOverflow;\n(function (BlockTextOverflow) {\n BlockTextOverflow[BlockTextOverflow[\"TEXT_OVERFLOW_CLIP\"] = 0] = \"TEXT_OVERFLOW_CLIP\";\n BlockTextOverflow[BlockTextOverflow[\"TEXT_OVERFLOW_ELLIPSE\"] = 1] = \"TEXT_OVERFLOW_ELLIPSE\";\n BlockTextOverflow[BlockTextOverflow[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(BlockTextOverflow || (BlockTextOverflow = {}));\nexport function blockTextOverflowFromJSON(object) {\n switch (object) {\n case 0:\n case \"TEXT_OVERFLOW_CLIP\":\n return BlockTextOverflow.TEXT_OVERFLOW_CLIP;\n case 1:\n case \"TEXT_OVERFLOW_ELLIPSE\":\n return BlockTextOverflow.TEXT_OVERFLOW_ELLIPSE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return BlockTextOverflow.UNRECOGNIZED;\n }\n}\nexport function blockTextOverflowToJSON(object) {\n switch (object) {\n case BlockTextOverflow.TEXT_OVERFLOW_CLIP:\n return 0;\n case BlockTextOverflow.TEXT_OVERFLOW_ELLIPSE:\n return 1;\n case BlockTextOverflow.UNRECOGNIZED:\n default:\n return -1;\n }\n}\n", "/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport type {TemplateLike} from './types';\n\nexport interface StrResult {\n strTag: true;\n strings: TemplateStringsArray;\n values: unknown[];\n}\n\n/**\n * Tag that allows expressions to be used in localized non-HTML template\n * strings.\n *\n * Example: msg(str`Hello ${this.user}!`);\n *\n * The Lit html tag can also be used for this purpose, but HTML will need to be\n * escaped, and there is a small overhead for HTML parsing.\n *\n * Untagged template strings with expressions aren't supported by lit-localize\n * because they don't allow for values to be captured at runtime.\n */\nconst _str = (\n strings: TemplateStringsArray,\n ...values: unknown[]\n): StrResult => ({\n strTag: true,\n strings,\n values,\n});\n\nexport const str: typeof _str & {_LIT_LOCALIZE_STR_?: never} = _str;\n\nexport const isStrTagged = (val: TemplateLike): val is StrResult =>\n typeof val !== 'string' && 'strTag' in val;\n\n/**\n * Render the result of a `str` tagged template to a string. Note we don't need\n * to do this for Lit templates, since Lit itself handles rendering.\n */\nexport const joinStringsAndValues = (\n strings: TemplateStringsArray,\n values: Readonly<unknown[]>,\n valueOrder?: number[]\n) => {\n let concat = strings[0];\n for (let i = 1; i < strings.length; i++) {\n concat += values[valueOrder ? valueOrder[i - 1] : i - 1];\n concat += strings[i];\n }\n return concat;\n};\n", "/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {isStrTagged, joinStringsAndValues} from './str-tag.js';\n\nimport type {MsgFn, TemplateLike} from './types';\n\n/**\n * Default identity msg implementation. Simply returns the input template with\n * no awareness of translations. If the template is str-tagged, returns it in\n * string form.\n */\nexport const defaultMsg = ((template: TemplateLike) =>\n isStrTagged(template)\n ? joinStringsAndValues(template.strings, template.values)\n : template) as MsgFn;\n", "/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Name of the event dispatched to `window` whenever a locale change starts,\n * finishes successfully, or fails. Only relevant to runtime mode.\n *\n * The `detail` of this event is an object with a `status` string that can be:\n * \"loading\", \"ready\", or \"error\", along with the relevant locale code, and\n * error message if applicable.\n *\n * You can listen for this event to know when your application should be\n * re-rendered following a locale change. See also the Localized mixin, which\n * automatically re-renders LitElement classes using this event.\n */\nexport const LOCALE_STATUS_EVENT = 'lit-localize-status';\n\n// Misfiring eslint rule\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\ndeclare global {\n interface WindowEventMap {\n [LOCALE_STATUS_EVENT]: CustomEvent<LocaleStatusEventDetail>;\n }\n}\n\n/**\n * The possible details of the \"lit-localize-status\" event.\n */\nexport type LocaleStatusEventDetail = LocaleLoading | LocaleReady | LocaleError;\n\n/**\n * Detail of the \"lit-localize-status\" event when a new locale has started to\n * load.\n *\n * A \"loading\" status can be followed by [1] another \"loading\" status (in the\n * case that a second locale is requested before the first one completed), [2] a\n * \"ready\" status, or [3] an \"error\" status.\n */\nexport interface LocaleLoading {\n status: 'loading';\n /** Code of the locale that has started loading. */\n loadingLocale: string;\n}\n\n/**\n * Detail of the \"lit-localize-status\" event when a new locale has successfully\n * loaded and is ready for rendering.\n *\n * A \"ready\" status can be followed only by a \"loading\" status.\n */\nexport interface LocaleReady {\n status: 'ready';\n /** Code of the locale that has successfully loaded. */\n readyLocale: string;\n}\n\n/**\n * Detail of the \"lit-localize-status\" event when a new locale failed to load.\n *\n * An \"error\" status can be followed only by a \"loading\" status.\n */\nexport interface LocaleError {\n status: 'error';\n /** Code of the locale that failed to load. */\n errorLocale: string;\n /** Error message from locale load failure. */\n errorMessage: string;\n}\n", "/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {LOCALE_STATUS_EVENT} from './locale-status-event.js';\n\nimport type {ReactiveController, ReactiveControllerHost} from 'lit';\n\nclass LocalizeController implements ReactiveController {\n host: ReactiveControllerHost;\n\n constructor(host: ReactiveControllerHost) {\n this.host = host;\n }\n\n private readonly __litLocalizeEventHandler = (\n event: WindowEventMap[typeof LOCALE_STATUS_EVENT]\n ) => {\n if (event.detail.status === 'ready') {\n this.host.requestUpdate();\n }\n };\n\n hostConnected() {\n window.addEventListener(\n LOCALE_STATUS_EVENT,\n this.__litLocalizeEventHandler\n );\n }\n\n hostDisconnected() {\n window.removeEventListener(\n LOCALE_STATUS_EVENT,\n this.__litLocalizeEventHandler\n );\n }\n}\n\n/**\n * Re-render the given LitElement whenever a new active locale has loaded.\n *\n * See also {@link localized} for the same functionality as a decorator.\n *\n * When using lit-localize in transform mode, calls to this function are\n * replaced with undefined.\n *\n * Usage:\n *\n * import {LitElement, html} from 'lit';\n * import {msg, updateWhenLocaleChanges} from '@lit/localize';\n *\n * class MyElement extends LitElement {\n * constructor() {\n * super();\n * updateWhenLocaleChanges(this);\n * }\n *\n * render() {\n * return html`<b>${msg('Hello World')}</b>`;\n * }\n * }\n */\nconst _updateWhenLocaleChanges = (host: ReactiveControllerHost) =>\n host.addController(new LocalizeController(host));\n\nexport const updateWhenLocaleChanges: typeof _updateWhenLocaleChanges & {\n _LIT_LOCALIZE_CONTROLLER_FN_?: never;\n} = _updateWhenLocaleChanges;\n", "/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {updateWhenLocaleChanges} from './localized-controller.js';\n\nimport type {ReactiveElement} from '@lit/reactive-element';\nimport type {\n Constructor,\n ClassDescriptor,\n} from '@lit/reactive-element/decorators/base.js';\n\n/**\n * Class decorator to enable re-rendering the given LitElement whenever a new\n * active locale has loaded.\n *\n * See also {@link updateWhenLocaleChanges} for the same functionality without\n * the use of decorators.\n *\n * When using lit-localize in transform mode, applications of this decorator are\n * removed.\n *\n * Usage:\n *\n * import {LitElement, html} from 'lit';\n * import {customElement} from 'lit/decorators.js';\n * import {msg, localized} from '@lit/localize';\n *\n * @localized()\n * @customElement('my-element')\n * class MyElement extends LitElement {\n * render() {\n * return html`<b>${msg('Hello World')}</b>`;\n * }\n * }\n */\nconst _localized =\n () => (classOrDescriptor: Constructor<ReactiveElement> | ClassDescriptor) =>\n typeof classOrDescriptor === 'function'\n ? legacyLocalized(classOrDescriptor as unknown as typeof ReactiveElement)\n : standardLocalized(classOrDescriptor);\n\nexport const localized: typeof _localized & {\n _LIT_LOCALIZE_DECORATOR_?: never;\n} = _localized;\n\nconst standardLocalized = ({kind, elements}: ClassDescriptor) => {\n return {\n kind,\n elements,\n finisher(clazz: typeof ReactiveElement) {\n clazz.addInitializer(updateWhenLocaleChanges);\n },\n };\n};\n\nconst legacyLocalized = (clazz: typeof ReactiveElement) => {\n clazz.addInitializer(updateWhenLocaleChanges);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return clazz as any;\n};\n", "/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nexport class Deferred<T> {\n readonly promise: Promise<T>;\n private _resolve!: (value: T) => void;\n private _reject!: (error: Error) => void;\n settled = false;\n\n constructor() {\n this.promise = new Promise<T>((resolve, reject) => {\n this._resolve = resolve;\n this._reject = reject;\n });\n }\n\n resolve(value: T) {\n this.settled = true;\n this._resolve(value);\n }\n\n reject(error: Error) {\n this.settled = true;\n this._reject(error);\n }\n}\n", "/**\n * @license\n * Copyright 2014 Travis Webb\n * SPDX-License-Identifier: MIT\n */\n\n// This module is derived from the file:\n// https://github.com/tjwebb/fnv-plus/blob/1e2ce68a07cb7dd4c3c85364f3d8d96c95919474/index.js#L309\n//\n// Changes:\n// - Only the _hash64_1a_fast function is included.\n// - Removed loop unrolling.\n// - Converted to TypeScript ES module.\n// - var -> let/const\n//\n// TODO(aomarks) Upstream improvements to https://github.com/tjwebb/fnv-plus/.\n\nconst hl: string[] = [];\nfor (let i = 0; i < 256; i++) {\n hl[i] = ((i >> 4) & 15).toString(16) + (i & 15).toString(16);\n}\n\n/**\n * Perform a FNV-1A 64-bit hash of the given string (as UTF-16 code units), and\n * return a hexadecimal digest (left zero padded to 16 characters).\n *\n * @see {@link http://tools.ietf.org/html/draft-eastlake-fnv-06}\n */\nexport function fnv1a64(str: string) {\n let t0 = 0,\n v0 = 0x2325,\n t1 = 0,\n v1 = 0x8422,\n t2 = 0,\n v2 = 0x9ce4,\n t3 = 0,\n v3 = 0xcbf2;\n\n for (let i = 0; i < str.length; i++) {\n v0 ^= str.charCodeAt(i);\n t0 = v0 * 435;\n t1 = v1 * 435;\n t2 = v2 * 435;\n t3 = v3 * 435;\n t2 += v0 << 8;\n t3 += v1 << 8;\n t1 += t0 >>> 16;\n v0 = t0 & 65535;\n t2 += t1 >>> 16;\n v1 = t1 & 65535;\n v3 = (t3 + (t2 >>> 16)) & 65535;\n v2 = t2 & 65535;\n }\n\n return (\n hl[v3 >> 8] +\n hl[v3 & 255] +\n hl[v2 >> 8] +\n hl[v2 & 255] +\n hl[v1 >> 8] +\n hl[v1 & 255] +\n hl[v0 >> 8] +\n hl[v0 & 255]\n );\n}\n", "/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {_installMsgImplementation} from '../lit-localize.js';\nimport {Deferred} from '../internal/deferred.js';\nimport {LOCALE_STATUS_EVENT} from '../internal/locale-status-event.js';\nimport {runtimeMsg} from '../internal/runtime-msg.js';\n\nimport type {LocaleStatusEventDetail} from '../internal/locale-status-event.js';\nimport type {\n LocaleModule,\n TemplateLike,\n TemplateMap,\n MsgFn,\n MsgOptions,\n} from '../internal/types.js';\n\n/**\n * Configuration parameters for lit-localize when in runtime mode.\n */\nexport interface RuntimeConfiguration {\n /**\n * Required locale code in which source templates in this project are written,\n * and the initial active locale.\n */\n sourceLocale: string;\n\n /**\n * Required locale codes that are supported by this project. Should not\n * include the `sourceLocale` code.\n */\n targetLocales: Iterable<string>;\n\n /**\n * Required function that returns the localized templates for the given locale\n * code.\n *\n * This function will only ever be called with a `locale` that is contained by\n * `targetLocales`.\n */\n loadLocale: (locale: string) => Promise<LocaleModule>;\n}\n\n/**\n * Dispatch a \"lit-localize-status\" event to `window` with the given detail.\n */\nfunction dispatchStatusEvent(detail: LocaleStatusEventDetail) {\n window.dispatchEvent(new CustomEvent(LOCALE_STATUS_EVENT, {detail}));\n}\n\nlet activeLocale = '';\nlet loadingLocale: string | undefined;\nlet sourceLocale: string | undefined;\nlet validLocales: Set<string> | undefined;\nlet loadLocale: ((locale: string) => Promise<LocaleModule>) | undefined;\nlet templates: TemplateMap | undefined;\nlet loading = new Deferred<void>();\n// The loading promise must be initially resolved, because that's what we should\n// return if the user immediately calls setLocale(sourceLocale).\nloading.resolve();\nlet requestId = 0;\n\n/**\n * Set configuration parameters for lit-localize when in runtime mode. Returns\n * an object with functions:\n *\n * - `getLocale`: Return the active locale code.\n * - `setLocale`: Set the active locale code.\n *\n * Throws if called more than once.\n */\nexport const configureLocalization: ((config: RuntimeConfiguration) => {\n getLocale: typeof getLocale;\n setLocale: typeof setLocale;\n}) & {\n _LIT_LOCALIZE_CONFIGURE_LOCALIZATION_?: never;\n} = (config: RuntimeConfiguration) => {\n _installMsgImplementation(((template: TemplateLike, options?: MsgOptions) =>\n runtimeMsg(templates, template, options)) as MsgFn);\n activeLocale = sourceLocale = config.sourceLocale;\n validLocales = new Set(config.targetLocales);\n validLocales.add(config.sourceLocale);\n loadLocale = config.loadLocale;\n return {getLocale, setLocale};\n};\n\n/**\n * Return the active locale code.\n */\nconst getLocale: (() => string) & {\n _LIT_LOCALIZE_GET_LOCALE_?: never;\n} = () => {\n return activeLocale;\n};\n\n/**\n * Set the active locale code, and begin loading templates for that locale using\n * the `loadLocale` function that was passed to `configureLocalization`. Returns\n * a promise that resolves when the next locale is ready to be rendered.\n *\n * Note that if a second call to `setLocale` is made while the first requested\n * locale is still loading, then the second call takes precedence, and the\n * promise returned from the first call will resolve when second locale is\n * ready. If you need to know whether a particular locale was loaded, check\n * `getLocale` after the promise resolves.\n *\n * Throws if the given locale is not contained by the configured `sourceLocale`\n * or `targetLocales`.\n */\nconst setLocale: ((newLocale: string) => Promise<void>) & {\n _LIT_LOCALIZE_SET_LOCALE_?: never;\n} = (newLocale: string) => {\n if (newLocale === (loadingLocale ?? activeLocale)) {\n return loading.promise;\n }\n if (!validLocales || !loadLocale) {\n throw new Error('Internal error');\n }\n if (!validLocales.has(newLocale)) {\n throw new Error('Invalid locale code');\n }\n requestId++;\n const thisRequestId = requestId;\n loadingLocale = newLocale;\n if (loading.settled) {\n loading = new Deferred();\n }\n dispatchStatusEvent({status: 'loading', loadingLocale: newLocale});\n const localePromise: Promise<Partial<LocaleModule>> =\n newLocale === sourceLocale\n ? // We could switch to the source locale synchronously, but we prefer to\n // queue it on a microtask so that switching locales is consistently\n // asynchronous.\n Promise.resolve({templates: undefined})\n : loadLocale(newLocale);\n localePromise.then(\n (mod) => {\n if (requestId === thisRequestId) {\n activeLocale = newLocale;\n loadingLocale = undefined;\n templates = mod.templates;\n dispatchStatusEvent({status: 'ready', readyLocale: newLocale});\n loading.resolve();\n }\n // Else another locale was requested in the meantime. Don't resolve or\n // reject, because the newer load call is going to use the same promise.\n // Note the user can call getLocale() after the promise resolves if they\n // need to check if the locale is still the one they expected to load.\n },\n (err) => {\n if (requestId === thisRequestId) {\n dispatchStatusEvent({\n status: 'error',\n errorLocale: newLocale,\n errorMessage: err.toString(),\n });\n loading.reject(err);\n }\n }\n );\n return loading.promise;\n};\n", "/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {defaultMsg} from './internal/default-msg.js';\n\nimport type {MsgFn} from './internal/types.js';\n\nexport * from './internal/locale-status-event.js';\nexport * from './internal/str-tag.js';\nexport * from './internal/types.js';\n\n// TODO(aomarks) In a future breaking version, remove these imports so that the\n// bulk of the code isn't included in bundles by default. In particular imagine\n// the component library use-case where msg() calls are made, but there is no\n// need to actually initialize any of the localization runtime.\nexport * from './internal/localized-controller.js';\nexport * from './internal/localized-decorator.js';\nexport * from './init/runtime.js';\nexport * from './init/transform.js';\n\n/**\n * Make a string or lit-html template localizable.\n *\n * @param template A string, a lit-html template, or a function that returns\n * either a string or lit-html template.\n * @param options Optional configuration object with the following properties:\n * - id: Optional project-wide unique identifier for this template. If\n * omitted, an id will be automatically generated from the template strings.\n * - desc: Optional description\n */\nexport let msg: MsgFn = defaultMsg;\n\nlet installed = false;\n\n/**\n * Internal only. Do not use this function.\n *\n * Installs an implementation of the msg function to replace the default\n * identity function. Throws if called more than once.\n *\n * @internal\n */\nexport function _installMsgImplementation(impl: MsgFn) {\n if (installed) {\n throw new Error('lit-localize can only be configured once');\n }\n msg = impl;\n installed = true;\n}\n", null, "/* eslint-disable @reddit/i18n-shreddit/no-unwrapped-strings */\nimport { getTemplateRenderingStrategy } from '../faceplateUIConfig.js';\nexport var _ButtonSize;\n(function (_ButtonSize) {\n _ButtonSize[\"ExtraSmall\"] = \"xs\";\n _ButtonSize[\"Small\"] = \"sm\";\n _ButtonSize[\"Medium\"] = \"md\";\n _ButtonSize[\"Large\"] = \"lg\";\n})(_ButtonSize || (_ButtonSize = {}));\nconst TRAILING_ICON_SPACER_CLASSNAMES = {\n [_ButtonSize.Small]: {\n label: 'pl-[var(--rem10)] pr-[var(--rem6)]',\n icon: 'pl-[var(--rem10)] pr-[var(--rem6)]',\n iconLabel: 'pl-[var(--rem10)] pr-[var(--rem6)]',\n },\n [_ButtonSize.Medium]: {\n label: 'pl-[var(--rem14)] pr-[var(--rem10)]',\n icon: 'pl-[var(--rem10)] pr-[var(--rem6)]',\n iconLabel: 'px-[var(--rem10)]',\n },\n [_ButtonSize.Large]: {\n label: 'pl-[var(--rem14)] pr-[var(--rem10)]',\n icon: 'px-[var(--rem14)]',\n iconLabel: 'pl-[var(--rem14)] pr-[var(--rem10)]',\n },\n};\nconst LEADING_ICON_SPACER_CLASSNAMES = {\n [_ButtonSize.ExtraSmall]: {\n label: 'px-[var(--rem10)]',\n icon: 'px-[var(--rem6)]',\n iconLabel: 'px-[var(--rem10)]',\n },\n [_ButtonSize.Small]: {\n label: 'px-[var(--rem10)]',\n icon: 'px-[var(--rem6)]',\n iconLabel: 'px-[var(--rem10)]',\n },\n [_ButtonSize.Medium]: {\n label: 'px-[var(--rem14)]',\n icon: 'px-[var(--rem8)]',\n iconLabel: 'pl-[var(--rem10)] pr-[var(--rem14)]',\n },\n [_ButtonSize.Large]: {\n label: 'px-[var(--rem14)]',\n icon: 'px-[var(--rem12)]',\n iconLabel: 'pl-[var(--rem10)] pr-[var(--rem14)]',\n },\n};\nconst SIZE_CLASSNAMES = {\n xs: 'button-x-small',\n sm: 'button-small',\n md: 'button-medium',\n lg: 'button-large',\n};\nexport const BUTTON_APPEARANCE_CLASSNAMES = {\n primary: 'button-primary',\n secondary: 'button-secondary',\n // @deprecated\n tertiary: 'button-tertiary',\n plain: 'button-plain',\n bordered: 'button-bordered',\n destructive: 'button-destructive',\n media: 'button-media',\n brand: 'button-brand',\n success: 'button-success',\n plainInverted: 'button-plain-inverted',\n favorite: 'button-favorite',\n favoriteToggled: 'button-favorite-toggled',\n secondaryToggled: 'button-secondary-toggled',\n caution: 'button-caution',\n tab: 'button-tab',\n};\nexport const BUTTON_ICON_SIZE_CLASSNAMES = {\n xs: 'text-12',\n sm: 'text-16',\n md: 'text-20',\n lg: 'text-20',\n};\nconst getInnerElements = ({ hideChildrenOverflow, children, screenReaderContent, trailingIcon, leadingIcon, dropdown, appearance, selected, size, }) => {\n let leadingIconClass = 'flex';\n const childrenClass = 'flex items-center gap-xs';\n if (children || dropdown)\n leadingIconClass += ' mr-xs';\n const { html } = getTemplateRenderingStrategy();\n const classes = `${childrenClass}${hideChildrenOverflow ? ' overflow-hidden' : ''}`;\n const innerContent = html `<span\n class=\"flex items-center justify-center${hideChildrenOverflow ? ' overflow-hidden' : ''}\"\n >\n ${leadingIcon ? html `<span class=\"${leadingIconClass}\">${leadingIcon}</span>` : undefined}\n ${children ? html `<span class=\"${classes}\">${children}</span>` : undefined}\n </span>\n ${trailingIcon}`;\n return [\n appearance === 'tab'\n ? html `\n <span class=\"inline-flex items-center justify-center gap-xs\">${innerContent}</span>\n ${selected\n ? html ` <span\n class=\"w-100 ${size === _ButtonSize.Small || size === _ButtonSize.ExtraSmall\n ? 'h-[2px] -mt-[2px]'\n : 'h-2xs -mt-2xs'} pointer-events-none bg-primary rounded-full\"\n ></span>`\n : ''}\n `\n : innerContent,\n screenReaderContent\n ? html `<faceplate-screen-reader-content\n >${screenReaderContent}</faceplate-screen-reader-content\n >`\n : '',\n ];\n};\nconst getClassnames = ({ attributes, size = _ButtonSize.Medium, appearance, shape, leadingIcon, trailingIcon, children, selected, }) => {\n let variation = 'label';\n if (leadingIcon && children) {\n variation = 'iconLabel';\n }\n else if (!children) {\n variation = 'icon';\n }\n // trailing slots indicates potential leading and trailing combo\n const spacers = trailingIcon ? TRAILING_ICON_SPACER_CLASSNAMES : LEADING_ICON_SPACER_CLASSNAMES;\n return `${attributes?.className || ''}\n${size ? `${SIZE_CLASSNAMES[size]} ${spacers[size]?.[variation]}` : ''}\n${appearance ? BUTTON_APPEARANCE_CLASSNAMES[appearance] : ''}\n${selected ? 'button-activated' : ''}\n${shape === 'square' ? 'rounded-[.5rem]' : ''}\n${variation === 'icon' ? 'icon' : ''}\n${appearance === 'tab' ? 'flex-col' : 'items-center justify-center'}\nbutton inline-flex`;\n};\n/** The template function used to render the button markup */\nexport const _buttonBaseInternalsDoNotUse = (props) => {\n const { createElement } = getTemplateRenderingStrategy();\n const { attributes, selected, role = undefined } = props;\n const href = attributes?.href;\n const disabled = attributes?.disabled;\n const children = getInnerElements({\n ...props,\n });\n const isAnchor = href != null;\n return createElement(isAnchor ? 'a' : 'button', {\n rpl: true,\n role,\n ...attributes,\n className: `${getClassnames(props)} ${disabled && isAnchor ? 'anchor-disabled' : ''}`,\n rplSelected: selected,\n }, children);\n};\n", "/**\n * This template renders the design-system approved button and its variants.\n *\n * Requires the `styles/elements/button` less mixin or `faceplate.[css|less]` to render properly.\n *\n * @packageDocumentation\n * @see src/styles/elements/button.less\n * @see design-system/components/button.json\n */\nimport { BUTTON_ICON_SIZE_CLASSNAMES, _ButtonSize, _buttonBaseInternalsDoNotUse, } from './_buttonBaseInternalsDoNotUse.js';\nexport { _ButtonSize as ButtonSize, BUTTON_ICON_SIZE_CLASSNAMES, };\nexport const button = ({ size = _ButtonSize.Medium, ...props }) => _buttonBaseInternalsDoNotUse({ ...props, size });\n", "/**\n * The empty-state template\n *\n *\n * @packageDocumentation\n */\nimport { getTemplateRenderingStrategy } from '../faceplateUIConfig.js';\nimport { button } from './button.js';\nexport const emptyState = ({ attributes, title, description, buttonProps, creative, creativeSafe = true, }) => {\n const { html, createElement } = getTemplateRenderingStrategy();\n const children = html `<div\n class=\"w-full flex flex-col items-center overflow-hidden box-border\n ${!creativeSafe && 'p-md'}\"\n >\n ${creative}\n </div>\n <div\n class=\"flex flex-col w-full items-center box-border px-md gap-md ${title || description\n ? 'pb-md'\n : ''}\"\n >\n ${title || description\n ? html `\n <div class=\"max-w-[480px] flex flex-col items-center text-center\">\n <div class=\"text-24 font-bold text-neutral-content-strong\">${title}</div>\n <div class=\"text-16 text-neutral-content-weak\">${description}</div>\n </div>\n `\n : ''}\n ${buttonProps ? html `<div>${button(buttonProps)}</div>` : ''}\n </div>`;\n return createElement('div', {\n ...attributes,\n className: `flex flex-col items-center w-full`,\n rpl: true,\n }, children);\n};\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\nimport {Constructor, ClassDescriptor} from './base.js';\n\n/**\n * Allow for custom element classes with private constructors\n */\ntype CustomElementClass = Omit<typeof HTMLElement, 'new'>;\n\nconst legacyCustomElement = (tagName: string, clazz: CustomElementClass) => {\n customElements.define(tagName, clazz as CustomElementConstructor);\n // Cast as any because TS doesn't recognize the return type as being a\n // subtype of the decorated class when clazz is typed as\n // `Constructor<HTMLElement>` for some reason.\n // `Constructor<HTMLElement>` is helpful to make sure the decorator is\n // applied to elements however.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return clazz as any;\n};\n\nconst standardCustomElement = (\n tagName: string,\n descriptor: ClassDescriptor\n) => {\n const {kind, elements} = descriptor;\n return {\n kind,\n elements,\n // This callback is called once the class is otherwise fully defined\n finisher(clazz: Constructor<HTMLElement>) {\n customElements.define(tagName, clazz);\n },\n };\n};\n\n/**\n * Class decorator factory that defines the decorated class as a custom element.\n *\n * ```js\n * @customElement('my-element')\n * class MyElement extends LitElement {\n * render() {\n * return html``;\n * }\n * }\n * ```\n * @category Decorator\n * @param tagName The tag name of the custom element to define.\n */\nexport const customElement =\n (tagName: string) =>\n (classOrDescriptor: CustomElementClass | ClassDescriptor) =>\n typeof classOrDescriptor === 'function'\n ? legacyCustomElement(tagName, classOrDescriptor)\n : standardCustomElement(tagName, classOrDescriptor as ClassDescriptor);\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\nimport {PropertyDeclaration, ReactiveElement} from '../reactive-element.js';\nimport {ClassElement} from './base.js';\n\nconst standardProperty = (\n options: PropertyDeclaration,\n element: ClassElement\n) => {\n // When decorating an accessor, pass it through and add property metadata.\n // Note, the `hasOwnProperty` check in `createProperty` ensures we don't\n // stomp over the user's accessor.\n if (\n element.kind === 'method' &&\n element.descriptor &&\n !('value' in element.descriptor)\n ) {\n return {\n ...element,\n finisher(clazz: typeof ReactiveElement) {\n clazz.createProperty(element.key, options);\n },\n };\n } else {\n // createProperty() takes care of defining the property, but we still\n // must return some kind of descriptor, so return a descriptor for an\n // unused prototype field. The finisher calls createProperty().\n return {\n kind: 'field',\n key: Symbol(),\n placement: 'own',\n descriptor: {},\n // store the original key so subsequent decorators have access to it.\n originalKey: element.key,\n // When @babel/plugin-proposal-decorators implements initializers,\n // do this instead of the initializer below. See:\n // https://github.com/babel/babel/issues/9260 extras: [\n // {\n // kind: 'initializer',\n // placement: 'own',\n // initializer: descriptor.initializer,\n // }\n // ],\n initializer(this: {[key: string]: unknown}) {\n if (typeof element.initializer === 'function') {\n this[element.key as string] = element.initializer.call(this);\n }\n },\n finisher(clazz: typeof ReactiveElement) {\n clazz.createProperty(element.key, options);\n },\n };\n }\n};\n\nconst legacyProperty = (\n options: PropertyDeclaration,\n proto: Object,\n name: PropertyKey\n) => {\n (proto.constructor as typeof ReactiveElement).createProperty(name, options);\n};\n\n/**\n * A property decorator which creates a reactive property that reflects a\n * corresponding attribute value. When a decorated property is set\n * the element will update and render. A {@linkcode PropertyDeclaration} may\n * optionally be supplied to configure property features.\n *\n * This decorator should only be used for public fields. As public fields,\n * properties should be considered as primarily settable by element users,\n * either via attribute or the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the {@linkcode state} decorator.\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating public\n * properties should typically not be done for non-primitive (object or array)\n * properties. In other cases when an element needs to manage state, a private\n * property decorated via the {@linkcode state} decorator should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n *\n * ```ts\n * class MyElement {\n * @property({ type: Boolean })\n * clicked = false;\n * }\n * ```\n * @category Decorator\n * @ExportDecoratedItems\n */\nexport function property(options?: PropertyDeclaration) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (protoOrDescriptor: Object | ClassElement, name?: PropertyKey): any =>\n name !== undefined\n ? legacyProperty(options!, protoOrDescriptor as Object, name)\n : standardProperty(options!, protoOrDescriptor as ClassElement);\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\nimport {property} from './property.js';\n\nexport interface InternalPropertyDeclaration<Type = unknown> {\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n}\n\n/**\n * Declares a private or protected reactive property that still triggers\n * updates to the element when it changes. It does not reflect from the\n * corresponding attribute.\n *\n * Properties declared this way must not be used from HTML or HTML templating\n * systems, they're solely for properties internal to the element. These\n * properties may be renamed by optimization tools like closure compiler.\n * @category Decorator\n */\nexport function state(options?: InternalPropertyDeclaration) {\n return property({\n ...options,\n state: true,\n });\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {ReactiveElement} from '../reactive-element.js';\n\n/**\n * Generates a public interface type that removes private and protected fields.\n * This allows accepting otherwise compatible versions of the type (e.g. from\n * multiple copies of the same package in `node_modules`).\n */\nexport type Interface<T> = {\n [K in keyof T]: T[K];\n};\n\nexport type Constructor<T> = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n new (...args: any[]): T;\n};\n\n// From the TC39 Decorators proposal\nexport interface ClassDescriptor {\n kind: 'class';\n elements: ClassElement[];\n finisher?: <T>(clazz: Constructor<T>) => void | Constructor<T>;\n}\n\n// From the TC39 Decorators proposal\nexport interface ClassElement {\n kind: 'field' | 'method';\n key: PropertyKey;\n placement: 'static' | 'prototype' | 'own';\n initializer?: Function;\n extras?: ClassElement[];\n finisher?: <T>(clazz: Constructor<T>) => void | Constructor<T>;\n descriptor?: PropertyDescriptor;\n}\n\nexport const legacyPrototypeMethod = (\n descriptor: PropertyDescriptor,\n proto: Object,\n name: PropertyKey\n) => {\n Object.defineProperty(proto, name, descriptor);\n};\n\nexport const standardPrototypeMethod = (\n descriptor: PropertyDescriptor,\n element: ClassElement\n) => ({\n kind: 'method',\n placement: 'prototype',\n key: element.key,\n descriptor,\n});\n\n/**\n * Helper for decorating a property that is compatible with both TypeScript\n * and Babel decorators. The optional `finisher` can be used to perform work on\n * the class. The optional `descriptor` should return a PropertyDescriptor\n * to install for the given property.\n *\n * @param finisher {function} Optional finisher method; receives the element\n * constructor and property key as arguments and has no return value.\n * @param descriptor {function} Optional descriptor method; receives the\n * property key as an argument and returns a property descriptor to define for\n * the given property.\n * @returns {ClassElement|void}\n */\nexport const decorateProperty =\n ({\n finisher,\n descriptor,\n }: {\n finisher?:\n | ((ctor: typeof ReactiveElement, property: PropertyKey) => void)\n | null;\n descriptor?: (property: PropertyKey) => PropertyDescriptor;\n }) =>\n (\n protoOrDescriptor: Interface<ReactiveElement> | ClassElement,\n name?: PropertyKey\n // Note TypeScript requires the return type to be `void|any`\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ): void | any => {\n // TypeScript / Babel legacy mode\n if (name !== undefined) {\n const ctor = (protoOrDescriptor as ReactiveElement)\n .constructor as typeof ReactiveElement;\n if (descriptor !== undefined) {\n Object.defineProperty(protoOrDescriptor, name, descriptor(name));\n }\n finisher?.(ctor, name!);\n // Babel standard mode\n } else {\n // Note, the @property decorator saves `key` as `originalKey`\n // so try to use it here.\n const key =\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (protoOrDescriptor as any).originalKey ??\n (protoOrDescriptor as ClassElement).key;\n const info: ClassElement =\n descriptor != undefined\n ? {\n kind: 'method',\n placement: 'prototype',\n key,\n descriptor: descriptor((protoOrDescriptor as ClassElement).key),\n }\n : {...(protoOrDescriptor as ClassElement), key};\n if (finisher != undefined) {\n info.finisher = function <ReactiveElement>(\n ctor: Constructor<ReactiveElement>\n ) {\n finisher(ctor as unknown as typeof ReactiveElement, key);\n };\n }\n return info;\n }\n };\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\nimport {ReactiveElement} from '../reactive-element.js';\nimport {decorateProperty} from './base.js';\n\n/**\n * A property decorator that converts a class property into a getter that\n * executes a querySelector on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n * @param cache An optional boolean which when true performs the DOM query only\n * once and caches the result.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @query('#first')\n * first: HTMLDivElement;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nexport function query(selector: string, cache?: boolean) {\n return decorateProperty({\n descriptor: (name: PropertyKey) => {\n const descriptor = {\n get(this: ReactiveElement) {\n return this.renderRoot?.querySelector(selector) ?? null;\n },\n enumerable: true,\n configurable: true,\n };\n if (cache) {\n const key = typeof name === 'symbol' ? Symbol() : `__${name}`;\n descriptor.get = function (this: ReactiveElement) {\n if (\n (this as unknown as {[key: string]: Element | null})[\n key as string\n ] === undefined\n ) {\n (this as unknown as {[key: string]: Element | null})[\n key as string\n ] = this.renderRoot?.querySelector(selector) ?? null;\n }\n return (this as unknown as {[key: string]: Element | null})[\n key as string\n ];\n };\n }\n return descriptor;\n },\n });\n}\n", "/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\nimport {decorateProperty} from './base.js';\n\nimport type {ReactiveElement} from '../reactive-element.js';\nimport type {QueryAssignedNodesOptions} from './query-assigned-nodes.js';\n\nconst NODE_MODE = false;\nconst global = NODE_MODE ? globalThis : window;\n\n/**\n * A tiny module scoped polyfill for HTMLSlotElement.assignedElements.\n */\nconst slotAssignedElements =\n global.HTMLSlotElement?.prototype.assignedElements != null\n ? (slot: HTMLSlotElement, opts?: AssignedNodesOptions) =>\n slot.assignedElements(opts)\n : (slot: HTMLSlotElement, opts?: AssignedNodesOptions) =>\n slot\n .assignedNodes(opts)\n .filter(\n (node): node is Element => node.nodeType === Node.ELEMENT_NODE\n );\n\n/**\n * Options for the {@linkcode queryAssignedElements} decorator. Extends the\n * options that can be passed into\n * [HTMLSlotElement.assignedElements](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedElements).\n */\nexport interface QueryAssignedElementsOptions\n extends QueryAssignedNodesOptions {\n /**\n * CSS selector used to filter the elements returned. For example, a selector\n * of `\".item\"` will only include elements with the `item` class.\n */\n selector?: string;\n}\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedElements` of the given `slot`. Provides a declarative\n * way to use\n * [`HTMLSlotElement.assignedElements`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedElements).\n *\n * Can be passed an optional {@linkcode QueryAssignedElementsOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedElements({ slot: 'list' })\n * listItems!: Array<HTMLElement>;\n * @queryAssignedElements()\n * unnamedSlotEls!: Array<HTMLElement>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * <slot></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note, the type of this property should be annotated as `Array<HTMLElement>`.\n *\n * @category Decorator\n */\nexport function queryAssignedElements(options?: QueryAssignedElementsOptions) {\n const {slot, selector} = options ?? {};\n return decorateProperty({\n descriptor: (_name: PropertyKey) => ({\n get(this: ReactiveElement) {\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n const slotEl =\n this.renderRoot?.querySelector<HTMLSlotElement>(slotSelector);\n const elements =\n slotEl != null ? slotAssignedElements(slotEl, options) : [];\n if (selector) {\n return elements.filter((node) => node.matches(selector));\n }\n return elements;\n },\n enumerable: true,\n configurable: true,\n }),\n });\n}\n", "import type { Metadata } from '@devvit/protos/lib/Types.js';\nimport type { RealtimeEvent } from '@devvit/protos/types/devvit/events/v1alpha/realtime.js';\nimport type { Effect } from '@devvit/protos/types/devvit/ui/effects/v1alpha/effect.js';\nimport type { UIEvent } from '@devvit/protos/types/devvit/ui/events/v1alpha/event.js';\nimport type { WorkerErrorType } from '@devvit/runtime-lite/client/BrowserLiteClient.js';\nimport type { FaceplateEvent } from '@reddit/faceplate/event-types.js';\n\nexport type DevvitRealtimeSend = { event: RealtimeEvent };\nexport type DevvitRealtimeSendEvent = Omit<FaceplateEvent<'devvit-realtime-send'>, 'detail'> & {\n detail: DevvitRealtimeSend;\n};\nexport type DevvitUIEffect = {\n effect: Effect;\n onEvent(event: UIEvent): void;\n metadata?: Metadata | undefined;\n};\nexport type DevvitUIEffectEvent = Omit<FaceplateEvent<'devvit-ui-effect'>, 'detail'> & {\n detail: DevvitUIEffect;\n};\nexport type DevvitUIError = { type: WorkerErrorType; err: unknown };\n\nexport const DevvitClientPerformanceEventName = 'devvit-client-performance-report';\nexport type DevvitPerformanceTracingMetadata = {\n /**\n * Parent span.\n *\n * Should only be set explicitly if you create children manually.\n * If unset, consumer (shreddit) will take care of it\n */\n parentSpanId?: DevvitPerformanceSpanId;\n /**\n * Current span.\n *\n * Should only be set explicitly if you create children manually.\n * If unset, consumer (shreddit) will take care of it\n */\n spanId?: DevvitPerformanceSpanId;\n /**\n * Transaction id that unifies all related spans\n *\n * Should only be set explicitly if you create children manually.\n * Use tha value provided by consumer (Shreddit)\n * If unset, consumer (shreddit) will take care of it\n */\n traceId?: DevvitPerformanceTraceId;\n};\n\nexport type DevvitClientPerformanceEvent = {\n /**\n * Timestamp of the event start. Can use fractional milliseconds.\n */\n timeStart: number;\n /**\n * Timestamp of the event start. Can use fractional milliseconds.\n */\n timeEnd: number;\n /**\n * Name of the process that was measured.\n */\n name:\n | 'time_to_first_frame'\n | 'init_runtime'\n | 'fetch_full_bundle'\n | 'load_full_bundle'\n | 'blocks_layout';\n} & DevvitPerformanceTracingMetadata;\n\n/** 16 hex chars that identify the performance span. */\ntype DevvitPerformanceSpanId = string;\n/** 32 hex chars that identify the transaction. */\ntype DevvitPerformanceTraceId = string;\n\nexport const DevvitRuntimePerformanceEventName = 'devvit-runtime-performance-report';\nexport type DevvitRuntimePerformanceEvent = {\n /**\n * Name of the process that was measured.\n * For now, it's only \"runtime_trace\".\n */\n name: string;\n /**\n * Timestamp of the event start. Can use fractional milliseconds.\n */\n timeStart: number;\n /**\n * Timestamp of the event start. Can use fractional milliseconds.\n */\n timeEnd: number;\n /** Specifies if runtime call was \"local\" or \"remote\". */\n target: string;\n /** Event count of a single request. */\n eventCount: number;\n /**\n * If target is remote, specify why we are targeting the remote runtime \u2013 i.e. `remote_only`, `circuit_break`, `app_error`, etc.\n *\n * Empty string for local runtime calls.\n * */\n intent?: string;\n} & DevvitPerformanceTracingMetadata;\n\nexport const DevvitRuntimeErrorEventName = 'devvit-runtime-error';\nexport type DevvitRuntimeErrorEvent = {\n /** Exception message */\n message: string;\n /** \"local\" or \"remote\" -- which runtime the error originates from */\n origin: string;\n /** Version of the runtime, may be unavailable for remote runtimes */\n version: string;\n};\n", "export type RemoteRuntimePerformanceService = {\n /**\n * Returns a traceparent header for a method call.\n * More info on https://www.w3.org/TR/trace-context.\n *\n * Can return undefined if no tracing context is present/required for the operation\n *\n * @param method name of the method, e.g. 'RenderPostContent'\n */\n getTraceparent(method: string): string | undefined;\n};\n\nexport class PerformanceTracker {\n #perfStart: DOMHighResTimeStamp;\n #perfEnd?: DOMHighResTimeStamp;\n\n constructor() {\n this.#perfStart = performance.timeOrigin + performance.now();\n }\n\n /** Start timestamp of the measured operation. Uses fractional milliseconds */\n get timeStart(): DOMHighResTimeStamp {\n return this.#perfStart;\n }\n\n /**\n * End timestamp of the measured operation. Uses fractional milliseconds.\n *\n * Undefined if tracker has not been finished.\n */\n get timeEnd(): number | undefined {\n return this.#perfEnd;\n }\n\n finish(): void {\n if (this.#perfEnd !== undefined) {\n throw new Error('This tracker was already finished');\n }\n this.#perfEnd = performance.now() + performance.timeOrigin;\n }\n}\n", null, "import { cssString } from '@reddit/faceplate/lib/less.js';\n\nexport const stylesCSS: string = '';\n\nexport const styles = cssString(stylesCSS);\n", "export const semanticColors = {\n \"alienblue-100\": \"#DCE2FB\",\n \"alienblue-200\": \"#B8C5FC\",\n \"alienblue-25\": \"#F7F8FD\",\n \"alienblue-300\": \"#90A9FD\",\n \"alienblue-400\": \"#648EFC\",\n \"alienblue-50\": \"#EEF0FB\",\n \"alienblue-500\": \"#1870F4\",\n \"alienblue-600\": \"#115BCA\",\n \"alienblue-700\": \"#0A449B\",\n \"alienblue-75\": \"#E6E9FB\",\n \"alienblue-800\": \"#0A2F6C\",\n \"alienblue-900\": \"#0A1A3F\",\n \"alienblue-950\": \"#07102B\",\n \"berrypurple-100\": \"#F3DAFB\",\n \"berrypurple-200\": \"#EAB3FD\",\n \"berrypurple-25\": \"#FBF6FD\",\n \"berrypurple-300\": \"#DE8BFF\",\n \"berrypurple-400\": \"#CF5FFF\",\n \"berrypurple-50\": \"#F8EDFC\",\n \"berrypurple-500\": \"#BC0EFF\",\n \"berrypurple-600\": \"#9B00D4\",\n \"berrypurple-700\": \"#7600A3\",\n \"berrypurple-75\": \"#F6E4FB\",\n \"berrypurple-800\": \"#520472\",\n \"berrypurple-900\": \"#300643\",\n \"berrypurple-950\": \"#20042A\",\n \"black\": \"#000000\",\n \"black-opacity-0\": \"#00000000\",\n \"black-opacity-10\": \"#00000019\",\n \"black-opacity-15\": \"#00000026\",\n \"black-opacity-20\": \"#00000033\",\n \"black-opacity-25\": \"#0000003F\",\n \"black-opacity-33\": \"#00000054\",\n \"black-opacity-5\": \"#0000000C\",\n \"black-opacity-50\": \"#0000007F\",\n \"black-opacity-60\": \"#00000099\",\n \"black-opacity-67\": \"#000000AA\",\n \"black-opacity-80\": \"#000000CC\",\n \"black-opacity-90\": \"#000000E5\",\n \"brown-100\": \"#F1DFCF\",\n \"brown-200\": \"#E9BE95\",\n \"brown-25\": \"#FBF7F4\",\n \"brown-300\": \"#DC9D5D\",\n \"brown-400\": \"#BA854E\",\n \"brown-50\": \"#F7EFE9\",\n \"brown-500\": \"#9A6D3F\",\n \"brown-600\": \"#7B5631\",\n \"brown-700\": \"#5D4023\",\n \"brown-75\": \"#F4E7DC\",\n \"brown-800\": \"#3F2C19\",\n \"brown-900\": \"#221A11\",\n \"brown-950\": \"#15100A\",\n \"coolgray-100\": \"#DBE4E9\",\n \"coolgray-150\": \"#C9D7DE\",\n \"coolgray-200\": \"#B7CAD4\",\n \"coolgray-25\": \"#F6F8F9\",\n \"coolgray-250\": \"#A4BDCA\",\n \"coolgray-300\": \"#97AFBC\",\n \"coolgray-350\": \"#8BA2AD\",\n \"coolgray-400\": \"#7F949F\",\n \"coolgray-450\": \"#748791\",\n \"coolgray-50\": \"#EEF1F3\",\n \"coolgray-500\": \"#667780\",\n \"coolgray-525\": \"#576F76\",\n \"coolgray-550\": \"#5C6C74\",\n \"coolgray-600\": \"#536168\",\n \"coolgray-650\": \"#48545B\",\n \"coolgray-700\": \"#3D494E\",\n \"coolgray-75\": \"#E5EBEE\",\n \"coolgray-750\": \"#333D42\",\n \"coolgray-800\": \"#2A3236\",\n \"coolgray-850\": \"#21272A\",\n \"coolgray-900\": \"#181C1F\",\n \"coolgray-950\": \"#0E1113\",\n \"global-black\": \"#000000\",\n \"global-brand-orangered\": \"#FF4500\",\n \"global-white\": \"#FFFFFF\",\n \"kiwigreen-100\": \"#A8F5A0\",\n \"kiwigreen-200\": \"#58E15B\",\n \"kiwigreen-25\": \"#EBFDE7\",\n \"kiwigreen-300\": \"#00C61C\",\n \"kiwigreen-400\": \"#01A816\",\n \"kiwigreen-50\": \"#DDF8D7\",\n \"kiwigreen-500\": \"#008A10\",\n \"kiwigreen-600\": \"#016E0B\",\n \"kiwigreen-700\": \"#005306\",\n \"kiwigreen-75\": \"#CAF5C2\",\n \"kiwigreen-800\": \"#033902\",\n \"kiwigreen-900\": \"#0D2005\",\n \"kiwigreen-950\": \"#081404\",\n \"lightblue-100\": \"#CAE7FB\",\n \"lightblue-200\": \"#87D0FD\",\n \"lightblue-25\": \"#F3F9FD\",\n \"lightblue-300\": \"#02B9FB\",\n \"lightblue-400\": \"#029DD5\",\n \"lightblue-50\": \"#E6F3FC\",\n \"lightblue-500\": \"#007FAE\",\n \"lightblue-600\": \"#01668D\",\n \"lightblue-700\": \"#014D6B\",\n \"lightblue-75\": \"#D9EDFB\",\n \"lightblue-800\": \"#03354B\",\n \"lightblue-900\": \"#051E2B\",\n \"lightblue-950\": \"#04131A\",\n \"lime-100\": \"#B7F28E\",\n \"lime-200\": \"#90DA58\",\n \"lime-25\": \"#EEFDDC\",\n \"lime-300\": \"#6DBF01\",\n \"lime-400\": \"#5BA200\",\n \"lime-50\": \"#E0F8C8\",\n \"lime-500\": \"#4A8500\",\n \"lime-600\": \"#3A6A00\",\n \"lime-700\": \"#2A5000\",\n \"lime-75\": \"#CEF5AD\",\n \"lime-800\": \"#1E3702\",\n \"lime-900\": \"#151E05\",\n \"lime-950\": \"#0D1304\",\n \"mintgreen-100\": \"#9BF5D9\",\n \"mintgreen-200\": \"#00E2B7\",\n \"mintgreen-25\": \"#E7FDF5\",\n \"mintgreen-300\": \"#00C29D\",\n \"mintgreen-400\": \"#01A484\",\n \"mintgreen-50\": \"#D7F8EC\",\n \"mintgreen-500\": \"#01876D\",\n \"mintgreen-600\": \"#006C56\",\n \"mintgreen-700\": \"#015140\",\n \"mintgreen-75\": \"#C0F5E3\",\n \"mintgreen-800\": \"#00382B\",\n \"mintgreen-900\": \"#032019\",\n \"mintgreen-950\": \"#03140F\",\n \"orangered-100\": \"#FCDBCF\",\n \"orangered-200\": \"#FDB498\",\n \"orangered-25\": \"#FDF6F4\",\n \"orangered-300\": \"#FF895D\",\n \"orangered-400\": \"#FF4500\",\n \"orangered-50\": \"#FCEEE8\",\n \"orangered-500\": \"#D93900\",\n \"orangered-600\": \"#AE2C00\",\n \"orangered-700\": \"#842100\",\n \"orangered-75\": \"#FBE5DC\",\n \"orangered-800\": \"#591B02\",\n \"orangered-900\": \"#2F1405\",\n \"orangered-950\": \"#1C0D04\",\n \"periwinkle-100\": \"#E6DFFB\",\n \"periwinkle-200\": \"#CDBEFD\",\n \"periwinkle-25\": \"#F9F7FD\",\n \"periwinkle-300\": \"#B29FFF\",\n \"periwinkle-400\": \"#9580FF\",\n \"periwinkle-50\": \"#F2EFFC\",\n \"periwinkle-500\": \"#6A5CFF\",\n \"periwinkle-600\": \"#523DFF\",\n \"periwinkle-700\": \"#4001EA\",\n \"periwinkle-75\": \"#ECE7FB\",\n \"periwinkle-800\": \"#250AA6\",\n \"periwinkle-900\": \"#160E5B\",\n \"periwinkle-950\": \"#0C083F\",\n \"poopbrown-100\": \"#FEEEDD\",\n \"poopbrown-200\": \"#F6DDC3\",\n \"poopbrown-300\": \"#EECCAA\",\n \"poopbrown-400\": \"#CAA075\",\n \"poopbrown-50\": \"#FEF7EE\",\n \"poopbrown-500\": \"#9A6D3F\",\n \"poopbrown-600\": \"#6E4924\",\n \"poopbrown-700\": \"#54371A\",\n \"poopbrown-800\": \"#3B2510\",\n \"poopbrown-900\": \"#29190A\",\n \"poopbrown-950\": \"#110B04\",\n \"puregray-100\": \"#F2F2F2\",\n \"puregray-150\": \"#EBEBEB\",\n \"puregray-200\": \"#E4E4E4\",\n \"puregray-250\": \"#DDDDDD\",\n \"puregray-300\": \"#D6D6D6\",\n \"puregray-350\": \"#C3C3C3\",\n \"puregray-400\": \"#ACACAC\",\n \"puregray-450\": \"#919191\",\n \"puregray-50\": \"#F8F8F8\",\n \"puregray-500\": \"#767676\",\n \"puregray-550\": \"#5C5C5C\",\n \"puregray-600\": \"#434343\",\n \"puregray-650\": \"#393939\",\n \"puregray-700\": \"#303030\",\n \"puregray-750\": \"#272727\",\n \"puregray-800\": \"#1E1E1E\",\n \"puregray-850\": \"#181818\",\n \"puregray-900\": \"#131313\",\n \"puregray-950\": \"#080808\",\n \"red-100\": \"#FBDBD4\",\n \"red-200\": \"#FDB3A4\",\n \"red-25\": \"#FDF6F5\",\n \"red-300\": \"#FF8773\",\n \"red-400\": \"#FF4F40\",\n \"red-50\": \"#FCEEEA\",\n \"red-500\": \"#EB001F\",\n \"red-600\": \"#BC0117\",\n \"red-700\": \"#90000F\",\n \"red-75\": \"#FBE4DF\",\n \"red-800\": \"#650405\",\n \"red-900\": \"#340F05\",\n \"red-950\": \"#1F0B04\",\n \"sakurapink-100\": \"#FBD9EB\",\n \"sakurapink-200\": \"#FDAEDA\",\n \"sakurapink-25\": \"#FDF6F9\",\n \"sakurapink-300\": \"#FF7ECA\",\n \"sakurapink-400\": \"#FF38BB\",\n \"sakurapink-50\": \"#FCEDF4\",\n \"sakurapink-500\": \"#DE019F\",\n \"sakurapink-600\": \"#B2007F\",\n \"sakurapink-700\": \"#880060\",\n \"sakurapink-75\": \"#FBE3EF\",\n \"sakurapink-800\": \"#5F0443\",\n \"sakurapink-900\": \"#380626\",\n \"sakurapink-950\": \"#250419\",\n \"transparent\": \"transparent\",\n \"white\": \"#ffffff\",\n \"white-opacity-0\": \"#FFFFFF00\",\n \"white-opacity-10\": \"#FFFFFF19\",\n \"white-opacity-15\": \"#FFFFFF26\",\n \"white-opacity-20\": \"#FFFFFF33\",\n \"white-opacity-25\": \"#FFFFFF3F\",\n \"white-opacity-5\": \"#FFFFFF0C\",\n \"white-opacity-50\": \"#FFFFFF7F\",\n \"yellow-100\": \"#FFE284\",\n \"yellow-200\": \"#FFBF0B\",\n \"yellow-25\": \"#FFF9E0\",\n \"yellow-300\": \"#D8A100\",\n \"yellow-400\": \"#B78800\",\n \"yellow-50\": \"#FFF3C0\",\n \"yellow-500\": \"#977000\",\n \"yellow-600\": \"#785800\",\n \"yellow-700\": \"#5B4200\",\n \"yellow-75\": \"#FFEAA2\",\n \"yellow-800\": \"#3F2D00\",\n \"yellow-900\": \"#231A03\",\n \"yellow-950\": \"#161003\",\n \"yelloworange-100\": \"#FCDCC8\",\n \"yelloworange-200\": \"#FDB586\",\n \"yelloworange-25\": \"#FDF7F3\",\n \"yelloworange-300\": \"#FF8A35\",\n \"yelloworange-400\": \"#E46C00\",\n \"yelloworange-50\": \"#FCEEE6\",\n \"yelloworange-500\": \"#BD5800\",\n \"yelloworange-600\": \"#974500\",\n \"yelloworange-700\": \"#733300\",\n \"yelloworange-75\": \"#FBE5D7\",\n \"yelloworange-800\": \"#4E2402\",\n \"yelloworange-900\": \"#2A1705\",\n \"yelloworange-950\": \"#1A0E04\"\n};\n", "import type {\n BlockColor,\n BlockSizes,\n BlockSizes_Dimension_Value,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/attributes.js';\nimport type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport {\n BlockSizeUnit,\n BlockStackDirection,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport type { UnsafeString } from '@reddit/baseplate/html/html.js';\nimport { unsafeHTML as serverUnsafeHTML } from '@reddit/baseplate/html/html.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport faceplateIcons from '@reddit/faceplate-ui/svgs/svg-manifest.js';\nimport type { nothing, TemplateResult } from 'lit';\nimport type { DirectiveClass, DirectiveResult } from 'lit/directive.js';\nimport type { ClassInfo } from 'lit/directives/class-map.js';\nimport { classMap as clientClassMap } from 'lit/directives/class-map.js';\nimport type { RefOrCallback } from 'lit/directives/ref.js';\nimport { ref as clientRef } from 'lit/directives/ref.js';\nimport type { StyleInfo } from 'lit/directives/style-map.js';\nimport { unsafeHTML as clientUnsafeHTML } from 'lit/directives/unsafe-html.js';\n\nexport type TemplateLike = TemplateResult | typeof nothing;\n\nexport function classMap(\n classInfo: ClassInfo,\n forceString?: boolean\n): string | ReturnType<typeof clientClassMap> {\n const { getType } = getTemplateRenderingStrategy();\n if (getType() === 'client' && forceString !== true) {\n return clientClassMap(classInfo);\n }\n\n const result = Object.keys(classInfo)\n .filter((className) => classInfo[className])\n .join(' ');\n\n if (getType() === 'client' && forceString === true) {\n // We can't use `serverUnsafeHTML` here because it ends up just calling\n // `clientUnsafeHTML` due to our replacement plugins.\n return (clientUnsafeHTML(result) as { values: string[] }).values.join(' ');\n }\n\n return serverUnsafeHTML(result).string;\n}\n\nexport function unsafeHTML(input: string): DirectiveResult<DirectiveClass> | UnsafeString {\n const { getType } = getTemplateRenderingStrategy();\n if (getType() === 'client') {\n return clientUnsafeHTML(input);\n }\n return serverUnsafeHTML(input);\n}\n\nexport function ref(ref: RefOrCallback): ReturnType<typeof clientRef> | string {\n const { getType } = getTemplateRenderingStrategy();\n if (getType() === 'client') {\n return clientRef(ref);\n }\n return '';\n}\n\nexport function isHTMLElement(el: HTMLElement | Element | undefined): el is HTMLElement {\n return (el as HTMLElement)?.style !== undefined;\n}\n\nexport function resolveIcon(name: string): TemplateResult {\n const { html } = getTemplateRenderingStrategy();\n const fill = name.match(/-fill$/) !== null;\n // clean up icon name\n const iconName = name.replace(/^icon-/, '').replace(/-(fill|outline)$/, '');\n // Some icons are not properly named (powerup-color-outline, powerup-fill-color).\n // As a result we can't apply our normal search into the object keys so fallback to using the name as-is\n // and try to look in both the outline and fill slots in case the faceplace generator did something odd.\n // It seems like it falls back to filling the outline slot, but better safe than sorry.\n const group = faceplateIcons[iconName] ?? faceplateIcons[name];\n\n const icon = group[fill ? 'fill' : 'outline'] ?? group[fill ? 'outline' : 'fill'];\n if (icon) {\n return html`${unsafeHTML(icon)}`;\n } else {\n return html``;\n }\n}\n\n/**\n * Strip semicolons from style values and remove null/undefined values\n * @param styleInfo\n */\nexport function sanitizeStyleInfo(styleInfo: StyleInfo): StyleInfo {\n for (const [key, value] of Object.entries(styleInfo)) {\n if (value == null) {\n delete styleInfo[key];\n } else if (typeof value === 'string') {\n styleInfo[key] = value.replace(/;/g, '');\n }\n }\n return styleInfo;\n}\n\n/**\n * Returns a BlockSizes object either directly from the block or constructs\n * one from the legacy `size` field\n * @param block\n */\nexport function getSizes(block: Block): BlockSizes | undefined {\n return (\n block.sizes ??\n (block.size\n ? {\n width:\n block.size.width !== undefined\n ? {\n value: {\n value: block.size.width,\n unit: block.size.widthUnit ?? BlockSizeUnit.SIZE_UNIT_PERCENT,\n },\n }\n : undefined,\n height:\n block.size.height !== undefined\n ? {\n value: {\n value: block.size.height,\n unit: block.size.heightUnit ?? BlockSizeUnit.SIZE_UNIT_PERCENT,\n },\n }\n : undefined,\n grow: block.size.grow,\n }\n : undefined)\n );\n}\n\nexport function parseDimension(\n value: BlockSizes_Dimension_Value | undefined,\n onlyType: BlockSizeUnit | undefined = undefined\n): string | undefined {\n if (!value || (onlyType !== undefined && value.unit !== onlyType)) {\n return undefined;\n }\n return `${value.value}${getSizeUnits(value.unit)}`;\n}\n\nexport function getSizeUnits(unit: BlockSizeUnit | undefined): string {\n switch (unit) {\n case BlockSizeUnit.SIZE_UNIT_PIXELS:\n return 'px';\n case BlockSizeUnit.SIZE_UNIT_PERCENT:\n case BlockSizeUnit.UNRECOGNIZED:\n case undefined:\n default:\n return '%';\n }\n}\n\n/**\n * Extracts the light and dark colors from a BlockColor object with an optional\n * fallback on the original single color parameter.\n * Priority:\n * - Use the split light/dark colors if available\n * - If dark color is not available but light is, use light color for both\n * - If light and dark colors are not available try the legacy color (old apps)\n * @param colors BlockColor object\n * @param legacyColor Original color attribute before it was split into light/dark colors\n */\nexport function resolveColors(\n colors: BlockColor | undefined,\n legacyColor?: string | undefined\n): [light?: string | undefined, dark?: string | undefined] {\n const light = colors?.light ?? legacyColor;\n const dark = colors?.dark ?? light;\n return [light, dark];\n}\n\nexport function getBlockStackType(direction: BlockStackDirection | undefined): string {\n let stackType = '';\n switch (direction) {\n case BlockStackDirection.STACK_DEPTH:\n stackType = 'zstack';\n break;\n case BlockStackDirection.STACK_VERTICAL:\n stackType = 'vstack';\n break;\n case BlockStackDirection.STACK_HORIZONTAL:\n stackType = 'hstack';\n break;\n }\n return stackType;\n}\n", "const json = {\n '3rd-party': {\n name: '3rd-party',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.008 9.911a4.17 4.17 0 0 0-1.849.445 8.784 8.784 0 0 1 4.55-7.479c.009.704.196 1.395.543 2.007A6.783 6.783 0 0 0 3.18 9.929c-.058-.003-.113-.018-.172-.018Zm13.674.019c.063 0 .122-.019.186-.019a4.176 4.176 0 0 1 1.835.437 8.788 8.788 0 0 0-4.549-7.472 4.173 4.173 0 0 1-.543 2.008 6.783 6.783 0 0 1 3.071 5.046Zm-3.349 6.5a6.729 6.729 0 0 1-6.793.006A4.242 4.242 0 0 1 5 17.838a8.762 8.762 0 0 0 9.87 0 4.24 4.24 0 0 1-1.537-1.403v-.005ZM9.932 0a2.85 2.85 0 1 0-.002 5.7A2.85 2.85 0 0 0 9.932 0ZM3.008 11.286a2.85 2.85 0 1 0-.002 5.7 2.85 2.85 0 0 0 .002-5.7Zm13.86 0a2.85 2.85 0 1 0 0 5.7 2.85 2.85 0 0 0 0-5.7Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M11.515 5.22A2.85 2.85 0 1 1 8.347.48a2.85 2.85 0 0 1 3.168 4.74Zm-.694-3.7a1.6 1.6 0 0 0-.889-.269V1.25a1.6 1.6 0 1 0 .889.27Z\" clip-rule=\"evenodd\"/><path d=\"M18.32 10.184a4.201 4.201 0 0 0-1.263-.254 7.16 7.16 0 0 0-3.267-5.376c.173-.402.281-.83.322-1.265a8.406 8.406 0 0 1 4.208 6.895Z\"/><path d=\"M5.751 3.29c.04.436.149.863.322 1.265a7.16 7.16 0 0 0-3.268 5.378 4.17 4.17 0 0 0-1.263.257 8.4 8.4 0 0 1 4.209-6.9Z\"/><path d=\"M13.562 16.734a7.1 7.1 0 0 1-7.253 0 4.233 4.233 0 0 1-.934.893 8.358 8.358 0 0 0 9.12-.005 4.248 4.248 0 0 1-.933-.888Z\"/><path fill-rule=\"evenodd\" d=\"M3.008 11.286a2.85 2.85 0 1 0-.002 5.7 2.85 2.85 0 0 0 .002-5.7Zm0 4.449a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2Z\" clip-rule=\"evenodd\"/><path fill-rule=\"evenodd\" d=\"M15.285 11.766a2.85 2.85 0 1 1 3.167 4.74 2.85 2.85 0 0 1-3.167-4.74Zm.694 3.7a1.6 1.6 0 1 0 1.778-2.661 1.6 1.6 0 0 0-1.778 2.66Z\" clip-rule=\"evenodd\"/></svg>',\n },\n activity: {\n name: 'activity',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.847 9.02a1.6 1.6 0 0 0-1.468-.932h-4.462v-6.97a1.126 1.126 0 0 0-.74-1.053A1.142 1.142 0 0 0 9.94.4L2.385 9.26a1.61 1.61 0 0 0 1.234 2.652h4.462v6.97a1.122 1.122 0 0 0 1.978.722l7.556-8.863a1.593 1.593 0 0 0 .232-1.72Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.2 20a1.12 1.12 0 0 1-1.121-1.118v-6.971h-4.46a1.61 1.61 0 0 1-1.234-2.652L9.94.4a1.144 1.144 0 0 1 1.238-.33 1.126 1.126 0 0 1 .74 1.053v6.97h4.462a1.6 1.6 0 0 1 1.468.932 1.594 1.594 0 0 1-.232 1.72L10.06 19.6a1.13 1.13 0 0 1-.86.4Zm1.468-18.532-7.332 8.6a.348.348 0 0 0-.051.381.36.36 0 0 0 .335.211h5.712v7.87l7.332-8.6a.35.35 0 0 0 .05-.382.36.36 0 0 0-.334-.21h-5.712v-7.87Z\"/></svg>',\n },\n 'add-emoji': {\n name: 'add-emoji',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 4h-2v2h-2V4h-2V2h2V0h2v2h2v2Zm0 6c0 5.5-4.5 10-10 10S0 15.5 0 10 4.5 0 10 0c1.2 0 2.3.2 3.4.6-.5.7-.7 1.5-.7 2.4 0 2.4 1.9 4.4 4.4 4.4.9 0 1.7-.3 2.4-.7.3 1 .5 2.1.5 3.3Zm-14 .5c.8 0 1.5-.7 1.5-1.5S6.8 7.5 6 7.5 4.5 8.2 4.5 9s.7 1.5 1.5 1.5Zm8 2.4-1.2-.9-.4.6c-.5.7-1.4 1.1-2.4 1.1s-1.9-.4-2.4-1.1l-.4-.6-1.2.9.4.6c.8 1.1 2.1 1.8 3.6 1.8s2.8-.7 3.6-1.8l.4-.6ZM15.5 9c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5.7 1.5 1.5 1.5 1.5-.7 1.5-1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.41 7.61a8.793 8.793 0 1 1-6.124-6.047V.274A9.995 9.995 0 1 0 20 10a9.923 9.923 0 0 0-.3-2.39h-1.29Z\"/><path d=\"M10 13.829a3.042 3.042 0 0 1-2.488-1.188l-1.024.718A4.255 4.255 0 0 0 10 15.079a4.255 4.255 0 0 0 3.512-1.72l-1.024-.718A3.041 3.041 0 0 1 10 13.829Z\"/><path d=\"M6 10.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/><path d=\"M17.625 2.375V0h-1.25v2.375H14v1.25h2.375V6h1.25V3.625H20v-1.25h-2.375Z\"/><path d=\"M14 10.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/></svg>',\n },\n add: {\n name: 'add',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 9h-8V1H9v8H1v2h8v8h2v-8h8V9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 9.375h-8.375V1h-1.25v8.375H1v1.25h8.375V19h1.25v-8.375H19v-1.25Z\"/></svg>',\n },\n 'add-media': {\n name: 'add-media',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.376 3.032h-2.355L13.8 1.446A1.155 1.155 0 0 0 12.892 1h-5.74a1.17 1.17 0 0 0-.923.454L5.014 3.031H2.625A2.629 2.629 0 0 0 0 5.656v9.719A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V5.657a2.627 2.627 0 0 0-2.624-2.625ZM14 11h-3v3H9v-3H6V9h3V6h2v3h3v2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.376 3.032h-2.355L13.8 1.446A1.155 1.155 0 0 0 12.892 1h-5.74a1.17 1.17 0 0 0-.923.454L5.014 3.031H2.625A2.629 2.629 0 0 0 0 5.656v9.719A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V5.657a2.627 2.627 0 0 0-2.624-2.625Zm1.374 12.343a1.377 1.377 0 0 1-1.375 1.375H2.625a1.377 1.377 0 0 1-1.375-1.375V5.656a1.377 1.377 0 0 1 1.375-1.375h3L7.152 2.25l5.657-.041 1.6 2.072h2.971a1.375 1.375 0 0 1 1.37 1.376v9.718Zm-8.125-6H14v1.25h-3.375V14h-1.25v-3.375H6v-1.25h3.375V6h1.25v3.375Z\"/></svg>',\n },\n 'add-to-feed': {\n name: 'add-to-feed',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 5.629a3.008 3.008 0 0 1 3-3H16A1.627 1.627 0 0 0 14.375 1H2.625A1.627 1.627 0 0 0 1 2.624v11.751A1.627 1.627 0 0 0 2.625 16V5.629Z\"/><path d=\"M17.375 4H5.625A1.627 1.627 0 0 0 4 5.625v11.75A1.627 1.627 0 0 0 5.625 19h11.75A1.627 1.627 0 0 0 19 17.375V5.625A1.627 1.627 0 0 0 17.375 4ZM15.5 12.25h-3.25v3.25h-1.5v-3.25H7.5v-1.5h3.25V7.5h1.5v3.25h3.25v1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.125 10.875H15.5v1.25h-3.375V15.5h-1.25v-3.375H7.5v-1.25h3.375V7.5h1.25v3.375ZM19 5.625v11.75A1.627 1.627 0 0 1 17.375 19H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625Zm-1.25 0a.375.375 0 0 0-.375-.375H5.625a.375.375 0 0 0-.375.375v11.75a.375.375 0 0 0 .375.375h11.75a.375.375 0 0 0 .375-.375V5.625ZM2.624 2.25h11.751a.375.375 0 0 1 .375.374H16A1.627 1.627 0 0 0 14.375 1H2.624A1.626 1.626 0 0 0 1 2.624v11.751A1.627 1.627 0 0 0 2.624 16v-1.25a.375.375 0 0 1-.374-.375V2.624a.375.375 0 0 1 .374-.374Z\"/></svg>',\n },\n admin: {\n name: 'admin',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.938 9.212a3.251 3.251 0 0 0-3.177-2.643 2.935 2.935 0 0 0-1.3.3 10.806 10.806 0 0 0-4.838-1.38l.81-3.741 2.444.519a1.492 1.492 0 1 0 .2-1.235L11.572.5a1.128 1.128 0 0 0-1.333.862L9.343 5.5A10.779 10.779 0 0 0 4.55 6.857a3.206 3.206 0 0 0-1.314-.289A3.25 3.25 0 0 0 .064 9.2c-.079.4-.085.812-.018 1.214a3.23 3.23 0 0 0 .912 1.754l.066.071v.127c.076 3.69 4.013 6.582 8.975 6.582 4.961 0 8.89-2.889 8.965-6.566l.006-.139.044-.046a3.252 3.252 0 0 0 .939-1.778c.067-.4.063-.809-.015-1.207Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.938 9.211a3.25 3.25 0 0 0-3.177-2.642c-.45 0-.895.102-1.3.3a10.812 10.812 0 0 0-4.838-1.379l.81-3.741 2.444.519a1.492 1.492 0 1 0 .2-1.235L11.572.5a1.13 1.13 0 0 0-1.333.862L9.343 5.5a10.77 10.77 0 0 0-4.791 1.357 3.214 3.214 0 0 0-1.315-.289A3.248 3.248 0 0 0 .064 9.2c-.079.4-.085.812-.018 1.214a3.23 3.23 0 0 0 .912 1.754l.066.071v.127c.076 3.69 4.013 6.582 8.975 6.582 4.961 0 8.89-2.889 8.965-6.567l.006-.138.044-.046a3.252 3.252 0 0 0 .939-1.778c.067-.4.062-.81-.015-1.208Zm-1.221 1c-.075.42-.282.805-.59 1.1l-.392.407-.024.625c-.061 3-3.45 5.354-7.716 5.354-4.267 0-7.66-2.353-7.717-5.371l-.024-.6-.4-.433c-.3-.293-.5-.674-.571-1.087a2.138 2.138 0 0 1 .012-.765 2 2 0 0 1 1.942-1.623c.353.003.698.102 1 .286l.337.216.334-.22a9.435 9.435 0 0 1 4.758-1.381h.719a9.427 9.427 0 0 1 4.726 1.4l.347.225.343-.232a1.7 1.7 0 0 1 .96-.3 2 2 0 0 1 1.949 1.629c.049.253.051.512.007.766v.004Z\"/></svg>',\n },\n ads: {\n name: 'ads',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 5.629V16A1.626 1.626 0 0 1 1 14.375V2.624A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.624H5.629a3.008 3.008 0 0 0-3.004 3.005Zm5.714 4.578-.681 1.928h1.384l-.673-1.928h-.03Zm6.38-.2a1.417 1.417 0 0 0-.65-.166h-.787v3.312h.787a1.33 1.33 0 0 0 .646-.181 1.47 1.47 0 0 0 .552-.56 1.83 1.83 0 0 0 .223-.945 1.758 1.758 0 0 0-.223-.927 1.39 1.39 0 0 0-.548-.53v-.003ZM19 5.625v11.75A1.627 1.627 0 0 1 17.375 19H5.625A1.626 1.626 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625Zm-8.014 8.6-2.14-5.447h-.991l-2.14 5.444h1.262l.394-1.1h1.958l.393 1.1 1.264.003Zm5.7-2.76a2.707 2.707 0 0 0-.386-1.478 2.413 2.413 0 0 0-1.01-.907 3.068 3.068 0 0 0-1.353-.3h-1.858v5.444h1.952c.453.003.9-.106 1.3-.317a2.46 2.46 0 0 0 .984-.946c.258-.457.386-.975.37-1.499l.001.003Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 19H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625v11.75A1.627 1.627 0 0 1 17.375 19ZM5.625 5.25a.375.375 0 0 0-.375.375v11.75a.375.375 0 0 0 .375.375h11.75a.375.375 0 0 0 .375-.375V5.625a.375.375 0 0 0-.375-.375H5.625Zm4.512 8.972-.393-1.1H7.785l-.393 1.1H6.13l2.14-5.444h.99l2.14 5.444h-1.263Zm-1.383-4.015-.681 1.928h1.384l-.673-1.928h-.03Zm6.554-1.127c.417.2.767.514 1.01.907.265.445.398.957.382 1.475a2.863 2.863 0 0 1-.375 1.5c-.232.402-.572.73-.983.946-.4.21-.847.32-1.3.317h-1.948V8.778h1.861c.468-.004.93.1 1.353.302Zm-.578 3.895c.231-.133.422-.327.552-.56a1.84 1.84 0 0 0 .223-.945 1.767 1.767 0 0 0-.223-.927 1.39 1.39 0 0 0-1.198-.699H13.3v3.312h.787c.226-.005.447-.067.643-.181ZM2.625 14.75a.375.375 0 0 1-.375-.375V2.625a.375.375 0 0 1 .375-.375h11.75a.375.375 0 0 1 .375.375H16A1.627 1.627 0 0 0 14.375 1H2.625A1.627 1.627 0 0 0 1 2.625v11.75A1.627 1.627 0 0 0 2.625 16v-1.25Z\"/></svg>',\n },\n ai: {\n name: 'ai',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.9 2.75V4a2.752 2.752 0 0 0-2.75 2.75H15.9A2.753 2.753 0 0 0 13.155 4V2.75A2.753 2.753 0 0 0 15.9 0h1.25a2.752 2.752 0 0 0 2.75 2.75Zm-2.85 9.392v-1.284l-.525-.084c-4.541-.727-6.5-2.691-7.225-7.248L9.216 3h-1.33l-.085.526c-.724 4.557-2.683 6.521-7.223 7.248l-.527.084v1.284l.527.084c4.54.727 6.5 2.691 7.224 7.248l.084.526h1.33l.084-.526c.725-4.557 2.684-6.521 7.225-7.248l.526-.084Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.153 6.75H15.9A2.753 2.753 0 0 0 13.153 4V2.75A2.753 2.753 0 0 0 15.9 0h1.25a2.752 2.752 0 0 0 2.75 2.75V4a2.752 2.752 0 0 0-2.747 2.75ZM15.3 3.375c.494.316.914.735 1.23 1.23a4.02 4.02 0 0 1 1.23-1.23 4.02 4.02 0 0 1-1.23-1.23 4.033 4.033 0 0 1-1.23 1.23ZM9.216 20h-1.33l-.085-.526c-.725-4.557-2.684-6.521-7.224-7.248l-.526-.084v-1.284l.527-.084c4.54-.727 6.5-2.691 7.224-7.248L7.886 3h1.33l.084.526c.725 4.557 2.684 6.521 7.225 7.248l.526.084v1.284l-.526.084c-4.541.727-6.5 2.691-7.225 7.248L9.216 20Zm-6.234-8.5a7.858 7.858 0 0 1 5.569 5.634 7.858 7.858 0 0 1 5.57-5.634 7.859 7.859 0 0 1-5.57-5.634A7.858 7.858 0 0 1 2.98 11.5Z\"/></svg>',\n },\n 'align-center': {\n name: 'align-center',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 4H2V2h16v2Zm-3.5 2.667h-9v2h9v-2Zm3.5 4.666H2v2h16v-2ZM14.5 16h-9v2h9v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 3.25H2V2h16v1.25ZM14.5 7h-9v1.25h9V7Zm3.5 4.75H2V13h16v-1.25Zm-3.5 5h-9V18h9v-1.25Z\"/></svg>',\n },\n 'align-left': {\n name: 'align-left',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 4H2V2h16v2Zm-7 2.667H2v2h9v-2Zm7 4.666H2v2h16v-2ZM11 16H2v2h9v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 3.25H2V2h16v1.25ZM11 7H2v1.25h9V7Zm7 4.75H2V13h16v-1.25Zm-7 5H2V18h9v-1.25Z\"/></svg>',\n },\n 'align-right': {\n name: 'align-right',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 4H2V2h16v2Zm0 2.667H9v2h9v-2Zm0 4.666H2v2h16v-2ZM18 16H9v2h9v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 3.25H2V2h16v1.25ZM18 7H9v1.25h9V7Zm0 4.75H2V13h16v-1.25Zm0 5H9V18h9v-1.25Z\"/></svg>',\n },\n all: {\n name: 'all',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.01 10.01 0 0 0 10 0ZM7 18.209a8.664 8.664 0 0 1-1.5-.719V14H7v4.209Zm4 .479c-.332.04-.666.06-1 .062-.169 0-.334-.016-.5-.025V10H11v8.688Zm4-1.517c-.471.33-.973.612-1.5.843V6H15v11.171Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.01 10.01 0 0 0 10 0Zm5 17.171V6h-1.25v11.894a8.66 8.66 0 0 1-2.75.794V10H9.75v8.737A8.684 8.684 0 0 1 6.47 18H7v-4H5.75v3.642a8.753 8.753 0 1 1 9.25-.471Z\"/></svg>',\n },\n ama: {\n name: 'ama',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M10 0a10.01 10.01 0 0 1 9.16 6H.84A10.01 10.01 0 0 1 10 0Zm9.16 14H.84a9.957 9.957 0 0 0 1.626 2.574L.202 18.721a.776.776 0 0 0-.138.822.776.776 0 0 0 .698.457H10a10.01 10.01 0 0 0 9.16-6ZM4.302 11.844l-.042-.001a1.908 1.908 0 0 1-.668.485c-.27.115-.561.173-.855.169a2.269 2.269 0 0 1-2.036-1.214A2.81 2.81 0 0 1 .707 8.72a2.293 2.293 0 0 1 2.06-1.216c.289-.004.576.05.845.16.25.104.475.261.658.462h.033v-.55h1.415v4.85H4.303v-.582Zm-.019-.474-.004-1.366a1.409 1.409 0 0 0-.15-.655 1.118 1.118 0 0 0-.424-.456 1.202 1.202 0 0 0-.63-.164 1.268 1.268 0 0 0-.644.164 1.153 1.153 0 0 0-.443.458 1.366 1.366 0 0 0-.16.662c-.004.232.055.46.17.66.108.187.265.34.454.442.191.104.406.157.623.155.276.011.545-.082.754-.261l.426.36.028.001Zm9.46 1.054V9.333a2.561 2.561 0 0 0-.147-.875 1.448 1.448 0 0 0-.515-.682 1.619 1.619 0 0 0-.986-.273c-.302-.003-.6.056-.879.171-.264.11-.497.283-.677.505h-.023a1.278 1.278 0 0 0-.497-.505 1.476 1.476 0 0 0-.726-.17 1.626 1.626 0 0 0-1.378.688h-.023v-.617h-1.41v4.85h1.485V9.516A.868.868 0 0 1 8.17 8.9a.714.714 0 0 1 .537-.216c.189-.012.379.07.501.214a.95.95 0 0 1 .173.61v2.916h1.467V9.508a.85.85 0 0 1 .204-.61.721.721 0 0 1 .54-.214c.187-.01.373.071.492.214a.949.949 0 0 1 .174.61v2.917h1.485Zm4.33-4.848h1.414v4.85h-1.415v-.582l-.042-.001a1.906 1.906 0 0 1-.668.485c-.27.115-.561.173-.855.169a2.269 2.269 0 0 1-2.036-1.214 2.81 2.81 0 0 1 .005-2.563 2.294 2.294 0 0 1 2.06-1.217c.289-.003.576.051.845.16.25.104.475.262.658.463h.033v-.55Zm-.02 3.794-.004-1.366a1.409 1.409 0 0 0-.15-.655 1.116 1.116 0 0 0-.424-.456 1.202 1.202 0 0 0-.63-.164 1.267 1.267 0 0 0-.644.164 1.153 1.153 0 0 0-.443.458 1.367 1.367 0 0 0-.16.662c-.004.232.055.46.17.66.108.187.265.34.454.442.191.104.406.157.623.155.275.011.545-.082.754-.261l.426.36.028.001Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M2.227 6H.84a9.99 9.99 0 0 1 18.318 0h-1.386A8.735 8.735 0 0 0 2.227 6ZM10 18.75H1.987l2.253-2.135-.45-.454A8.771 8.771 0 0 1 2.22 14H.841a9.956 9.956 0 0 0 1.626 2.574L.202 18.721a.776.776 0 0 0-.138.822.763.763 0 0 0 .698.457H10a10.01 10.01 0 0 0 9.16-6h-1.387A8.753 8.753 0 0 1 10 18.75Zm-5.697-6.906v.581h1.415v-4.85H4.303v.55H4.27a1.852 1.852 0 0 0-.658-.462 2.165 2.165 0 0 0-.846-.16A2.293 2.293 0 0 0 .707 8.72a2.81 2.81 0 0 0-.004 2.562 2.269 2.269 0 0 0 2.036 1.215c.293.003.585-.054.855-.17.255-.11.483-.276.667-.484h.042v.001Zm-.473-.835c-.21.18-.479.272-.754.262a1.28 1.28 0 0 1-.623-.156 1.168 1.168 0 0 1-.454-.441 1.277 1.277 0 0 1-.17-.66c-.003-.231.052-.46.16-.663.102-.191.255-.35.443-.458.196-.11.418-.167.644-.164.221-.004.44.053.63.164.181.109.328.267.424.456.102.203.153.428.15.655l.004 1.366h-.028l-.426-.36v-.001Zm2.652-3.434v4.85h1.486V9.517A.868.868 0 0 1 8.17 8.9a.714.714 0 0 1 .537-.216c.189-.012.379.07.5.214a.949.949 0 0 1 .174.61v2.916h1.466V9.508a.851.851 0 0 1 .204-.61.722.722 0 0 1 .542-.214c.186-.01.372.071.491.214a.949.949 0 0 1 .174.61v2.917h1.485V9.333a2.559 2.559 0 0 0-.147-.875 1.447 1.447 0 0 0-.516-.682 1.618 1.618 0 0 0-.986-.273c-.301-.003-.6.056-.878.171-.264.11-.497.283-.677.505h-.024a1.278 1.278 0 0 0-.496-.505 1.477 1.477 0 0 0-.727-.17 1.626 1.626 0 0 0-1.377.689h-.023v-.618h-1.41Zm11.59 4.27v.58h1.416v-4.85h-1.415v.55h-.033a1.852 1.852 0 0 0-.658-.462 2.165 2.165 0 0 0-.846-.16 2.293 2.293 0 0 0-2.059 1.217 2.81 2.81 0 0 0-.004 2.562 2.27 2.27 0 0 0 2.036 1.215c.293.003.585-.054.855-.17.255-.11.483-.276.667-.484h.042v.001Zm-.472-.836c-.21.18-.479.272-.754.262a1.28 1.28 0 0 1-.623-.156 1.17 1.17 0 0 1-.455-.441 1.278 1.278 0 0 1-.168-.66c-.004-.231.05-.46.159-.663.102-.191.255-.35.443-.458.196-.11.418-.167.644-.164.221-.004.44.053.63.164.181.109.328.267.424.456.102.203.153.428.15.655l.004 1.366h-.028l-.426-.36v-.001Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n },\n appearance: {\n name: 'appearance',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m5.993 6.76 7.136 7.14-1.645 1.646a2.141 2.141 0 0 1-2.962 0l-.551-.55-3.1 3.873a2.737 2.737 0 1 1-3.846-3.846l3.873-3.1-.551-.552a2.1 2.1 0 0 1 0-2.962L5.993 6.76Zm13.76-.64A14.555 14.555 0 0 0 13.77.133a1.16 1.16 0 0 0-1.357.205L6.877 5.876l7.136 7.136 5.536-5.535a1.159 1.159 0 0 0 .205-1.358Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.755 6.12A14.556 14.556 0 0 0 13.77.133a1.16 1.16 0 0 0-1.357.205L6.436 6.317 4.349 8.4a2.1 2.1 0 0 0 0 2.963l.55.55-3.872 3.1a2.737 2.737 0 1 0 3.846 3.846l3.1-3.873.55.551a2.142 2.142 0 0 0 2.963 0l2.087-2.087 5.977-5.973a1.16 1.16 0 0 0 .205-1.358ZM10.6 14.657a.862.862 0 0 1-1.194 0L7.868 13.12 3.9 18.082a1.486 1.486 0 1 1-2.09-2.09l4.964-3.972-1.542-1.538a.847.847 0 0 1 0-1.194l1.646-1.645 5.369 5.368-1.647 1.646Zm2.529-2.53L7.762 6.76l5.487-5.488a13.311 13.311 0 0 1 5.368 5.37l-5.488 5.487Z\"/></svg>',\n },\n approve: {\n name: 'approve',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.6 12.472a.749.749 0 0 1-.533.242h-.017a.743.743 0 0 1-.527-.218L5.539 8.512l1.055-1.056 3.432 3.434 7.172-7.831a10 10 0 1 0 .961 1.16l-7.56 8.253Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.071 5.791a10 10 0 1 1-3.197-3.884l-.843.922a8.745 8.745 0 1 0 3.119 3.966l.921-1.004Zm-9.023 6.803a.624.624 0 0 0 .445-.199l9.44-10.31-.918-.84-9 9.827-3.53-3.53-.88.88 3.99 3.99a.625.625 0 0 0 .44.182h.013Z\"/></svg>',\n },\n archived: {\n name: 'archived',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 2.125v3.75A1.127 1.127 0 0 1 17.875 7H2.125A1.127 1.127 0 0 1 1 5.875v-3.75A1.127 1.127 0 0 1 2.125 1h15.75A1.127 1.127 0 0 1 19 2.125Zm-1 6.287v9.453a1.19 1.19 0 0 1-1.192 1.185H3.192A1.19 1.19 0 0 1 2 17.865V8.412c.042 0 .082.013.125.013h15.75c.043 0 .083-.011.125-.013ZM13.35 11h-6.7v1.5h6.7V11Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.875 1H2.125A1.127 1.127 0 0 0 1 2.125v3.75a1.115 1.115 0 0 0 1 1.1v10.84A1.19 1.19 0 0 0 3.192 19h13.616A1.19 1.19 0 0 0 18 17.815V6.975a1.115 1.115 0 0 0 1-1.1v-3.75A1.127 1.127 0 0 0 17.875 1ZM2.25 2.25h15.5v3.5H2.25v-3.5Zm1 15.565V7h13.5l.056 10.75-13.556.065ZM13.35 10v1.25h-6.7V10h6.7Z\"/></svg>',\n },\n 'aspect-ratio': {\n name: 'aspect-ratio',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 14h2v3.875A1.127 1.127 0 0 1 17.875 19H14v-2h3v-3ZM3 14H1v3.875A1.127 1.127 0 0 0 2.125 19H6v-2H3v-3ZM2.5 1h-.375A1.127 1.127 0 0 0 1 2.125V6h2V3h3V1H2.5Zm15.375 0H14v2h3v3h2V2.125A1.127 1.127 0 0 0 17.875 1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.25 5.925H1v-3.8A1.127 1.127 0 0 1 2.125 1h3.8v1.25H2.25v3.675ZM5.925 17.75H2.25v-3.675H1v3.8A1.127 1.127 0 0 0 2.125 19h3.8v-1.25ZM19 17.875v-3.8h-1.25v3.675h-3.675V19h3.8A1.127 1.127 0 0 0 19 17.875Zm0-15.75A1.127 1.127 0 0 0 17.875 1h-3.8v1.25h3.675v3.675H19v-3.8Z\"/></svg>',\n },\n 'aspect-rectangle': {\n name: 'aspect-rectangle',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.5 3H6v2H3v3H1V4.5A1.5 1.5 0 0 1 2.5 3Zm.5 9H1v3.5A1.5 1.5 0 0 0 2.5 17H6v-2H3v-3Zm14 3h-3v2h3.5a1.5 1.5 0 0 0 1.5-1.5V12h-2v3Zm.5-12H14v2h3v3h2V4.5A1.5 1.5 0 0 0 17.5 3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.25 6.925H0v-3.8A1.127 1.127 0 0 1 1.125 2h3.8v1.25H1.25v3.675Zm3.675 9.825H1.25v-3.675H0v3.8A1.127 1.127 0 0 0 1.125 18h3.8v-1.25ZM20 3.125A1.127 1.127 0 0 0 18.875 2h-3.8v1.25h3.675v3.675H20v-3.8Zm0 13.75v-3.8h-1.25v3.675h-3.675V18h3.8A1.127 1.127 0 0 0 20 16.875Z\"/></svg>',\n },\n attach: {\n name: 'attach',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.823 19.228A6.052 6.052 0 0 1 2.543 8.9l7.544-7.544a4.37 4.37 0 1 1 6.18 6.179l-7.545 7.54a2.687 2.687 0 0 1-3.8-3.8l7.348-7.341 1.414 1.414-7.345 7.344a.685.685 0 0 0 .97.968l7.543-7.543A2.37 2.37 0 1 0 11.5 2.766L3.957 10.31a4.054 4.054 0 0 0 5.733 5.733L17.631 8.1l1.414 1.414-7.945 7.943a6.036 6.036 0 0 1-4.277 1.771Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.366 19.041A5.863 5.863 0 0 1 2.218 9.03l7.824-7.823a4.12 4.12 0 0 1 5.825 5.824l-7.824 7.824A2.372 2.372 0 1 1 4.689 11.5l7.688-7.687.883.884-7.687 7.687a1.121 1.121 0 1 0 1.586 1.587l7.824-7.824a2.871 2.871 0 0 0 0-4.057 2.938 2.938 0 0 0-4.058 0L3.1 9.914a4.616 4.616 0 0 0 6.528 6.528l8.235-8.235.884.883-8.235 8.236a5.85 5.85 0 0 1-4.146 1.715Z\"/></svg>',\n },\n audience: {\n name: 'audience',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.776 3.559A3.735 3.735 0 1 1 12.6 7.474a5.122 5.122 0 0 0-3.824-3.915Zm5.746 4.44h-1.867c.027.174.044.348.053.523a5.074 5.074 0 0 1-1.274 3.343A6.7 6.7 0 0 1 15.357 15h3.614A1.034 1.034 0 0 0 20 13.964v-.41A5.521 5.521 0 0 0 14.522 8Zm-5 5H5.478A5.522 5.522 0 0 0 0 18.555v.41A1.034 1.034 0 0 0 1.03 20h12.94A1.034 1.034 0 0 0 15 18.964v-.41A5.522 5.522 0 0 0 9.522 13ZM3.758 8.523a3.742 3.742 0 1 1 7.484.002 3.742 3.742 0 0 1-7.484-.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 13.554v.41A1.034 1.034 0 0 1 18.97 15h-3.614a6.688 6.688 0 0 0-.913-1.25h4.306v-.2a4.27 4.27 0 0 0-4.228-4.3h-1.888a4.98 4.98 0 0 0 .075-.727A4.992 4.992 0 0 0 12.654 8h1.866A5.522 5.522 0 0 1 20 13.554Zm-9.992-9.811A2.56 2.56 0 1 1 12.122 6.2c.216.4.376.83.478 1.274A3.738 3.738 0 1 0 8.776 3.56c.442.109.867.277 1.264.5a2.39 2.39 0 0 1-.032-.317Zm4.991 15.221v-.41A5.522 5.522 0 0 0 9.522 13H5.478A5.522 5.522 0 0 0 0 18.554v.41A1.034 1.034 0 0 0 1.03 20H13.97A1.033 1.033 0 0 0 15 18.964Zm-13.749-.41a4.271 4.271 0 0 1 4.228-4.3h4.044a4.271 4.271 0 0 1 4.227 4.3v.2H1.25v-.2Zm9.992-10.031a3.742 3.742 0 1 0-7.484.001 3.742 3.742 0 0 0 7.484-.001Zm-1.25 0A2.492 2.492 0 1 1 7.5 6.032a2.5 2.5 0 0 1 2.492 2.49Z\"/></svg>',\n },\n audio: {\n name: 'audio',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 10v.4a6.745 6.745 0 0 1-6 6.525V18h1.42v2H7.58v-2H9v-1.075A6.745 6.745 0 0 1 3 10.4V10h2v.4a4.818 4.818 0 0 0 5 4.6 4.818 4.818 0 0 0 5-4.6V10h2Zm-7 4a4.031 4.031 0 0 0 4-4.052v-4.9a4 4 0 1 0-8 0v4.9A4.03 4.03 0 0 0 10 14Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.625 16.97v1.78h1.8V20H7.58v-1.25h1.8v-1.78A6.787 6.787 0 0 1 3 10.375h1.25A5.578 5.578 0 0 0 10 15.75a5.578 5.578 0 0 0 5.75-5.375H17a6.787 6.787 0 0 1-6.375 6.595ZM6 9.948v-4.9a4 4 0 0 1 8 0v4.9a4 4 0 0 1-8 0Zm1.25 0a2.75 2.75 0 1 0 5.5 0v-4.9a2.75 2.75 0 1 0-5.5 0v4.9Z\"/></svg>',\n },\n author: {\n name: 'author',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.117 9.44a2.48 2.48 0 0 0-.523-.788l-4.347-4.347a2.514 2.514 0 0 0-.786-.521 4.771 4.771 0 1 1 5.656 5.657Zm-1.16 1.065a1.137 1.137 0 0 1-.453.833L3.702 19.44a2.315 2.315 0 0 1-3.24-3.24l8.1-10.8a1.143 1.143 0 0 1 1.718-.124l4.346 4.344a1.129 1.129 0 0 1 .331.885Zm-3.972-.533L9.93 8.916l-2.076 2.076 1.055 1.056 2.076-2.076Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.128 0a4.78 4.78 0 0 0-4.774 4.774c.007.214.029.427.065.638l-.137-.138a1.143 1.143 0 0 0-1.719.126L.461 16.2a2.315 2.315 0 0 0 3.241 3.24l10.8-8.1a1.14 1.14 0 0 0 .122-1.718l-.138-.138c.212.036.426.058.64.065a4.773 4.773 0 1 0 0-9.547L15.128 0ZM2.955 18.445a1.07 1.07 0 0 1-1.5-1.5L9.487 6.239l4.175 4.176-10.707 8.03ZM15.128 8.3a3.53 3.53 0 1 1 0-7.06 3.53 3.53 0 0 1 0 7.06Zm-7.186 2.78L10.018 9l.88.88-2.077 2.08-.879-.88Z\"/></svg>',\n },\n automod: {\n name: 'automod',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m10.33 19.947-.032.009A1.121 1.121 0 0 1 10 20c-.101 0-.202-.014-.3-.04C8.249 19.553 1 17.273 1 12V3.182A1.12 1.12 0 0 1 1.847 2.1L9.73.108c.178-.044.363-.044.541 0L18.153 2.1A1.12 1.12 0 0 1 19 3.182v7.237h-.683a3.737 3.737 0 0 1-3.737-3.737V4.343a.627.627 0 0 0-.627-.626h-3a.627.627 0 0 0-.627.626v2.339a3.737 3.737 0 0 1-3.737 3.737H4.255a.627.627 0 0 0-.627.627v3a.627.627 0 0 0 .627.627h2.338a3.737 3.737 0 0 1 3.737 3.737v1.537Zm7.987-8.028a5.243 5.243 0 0 1-5.237-5.237V5.217h-1.25v1.465a5.243 5.243 0 0 1-5.237 5.237H5.128v1.25h1.465a5.244 5.244 0 0 1 5.237 5.238v1.465h1.25v-1.465a5.244 5.244 0 0 1 5.237-5.238h1.466v-1.25h-1.466Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.25 12V3.283l7.717-1.962 7.783 1.962v7.053c.163.026.328.043.493.05H19v-7.2a1.12 1.12 0 0 0-.847-1.086L10.271.108a1.117 1.117 0 0 0-.542 0L1.847 2.1A1.121 1.121 0 0 0 1 3.187V12c0 5.273 7.249 7.553 8.7 7.957.098.027.199.042.3.043h.014v-1.25C9.144 18.5 2.25 16.433 2.25 12Zm10.83 7.872h-1.25v-1.466a5.244 5.244 0 0 0-5.237-5.237H5.128v-1.25h1.465a5.243 5.243 0 0 0 5.237-5.237V5.216h1.25v1.466a5.243 5.243 0 0 0 5.237 5.237h1.466v1.25h-1.466a5.244 5.244 0 0 0-5.237 5.237v1.466Zm-3.71-7.328a6.528 6.528 0 0 1 3.085 3.085 6.528 6.528 0 0 1 3.085-3.085 6.52 6.52 0 0 1-3.085-3.085 6.52 6.52 0 0 1-3.085 3.085Z\"/></svg>',\n },\n 'avatar-style': {\n name: 'avatar-style',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 6.036a1.092 1.092 0 0 1-.332.775l-1.894 1.853a1.117 1.117 0 0 1-1.436.109L16 8.509v6.854a4.328 4.328 0 0 0-1.892-1.647l-6.843-3.591A2 2 0 0 0 5 10.411V8.475l-.32.24a1.121 1.121 0 0 1-1.48-.076L1.331 6.81a1.1 1.1 0 0 1-.014-1.557l3.869-3.921c.211-.212.498-.331.797-.332h1.55a1.094 1.094 0 0 1 1.095.909 1.9 1.9 0 0 0 3.744 0 1.092 1.092 0 0 1 1.1-.91h1.55a1.127 1.127 0 0 1 .8.332l3.87 3.92a1.1 1.1 0 0 1 .308.785Zm-5 11.548v1.079A1.324 1.324 0 0 1 13.691 20H1.31A1.325 1.325 0 0 1 0 18.663v-4.916a1.03 1.03 0 0 1 .5-.884.988.988 0 0 1 .98-.014 3 3 0 0 0 3.3-.266c.334-.342.649-.702.944-1.078a.624.624 0 0 1 .775-.163l6.75 3.5A2.945 2.945 0 0 1 15 17.584Zm-9.722.762 3.31-3.478L7.5 13.834l-3.31 3.478 1.088 1.034Zm5.6-2.4-1.094-1.03-2.26 2.4 1.093 1.029 2.261-2.399Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.683 5.252-3.87-3.92a1.128 1.128 0 0 0-.8-.332h-1.55a1.093 1.093 0 0 0-1.1.91 1.9 1.9 0 0 1-3.744 0A1.094 1.094 0 0 0 7.533 1h-1.55c-.3 0-.588.12-.8.332L1.317 5.253a1.1 1.1 0 0 0 .014 1.557l1.87 1.829a1.121 1.121 0 0 0 1.48.076l.32-.24v1.936c.344-.31.786-.49 1.25-.511V5.977L3.993 7.668l-1.68-1.646L6.036 2.25H7.42a3.156 3.156 0 0 0 6.16 0h1.383l3.723 3.772-1.7 1.668-2.236-1.749v8.138c.501.337.927.774 1.25 1.284V8.509l.338.264a1.117 1.117 0 0 0 1.436-.109l1.894-1.853a1.101 1.101 0 0 0 .015-1.559ZM13.691 20H1.31A1.325 1.325 0 0 1 0 18.663v-4.916a1.03 1.03 0 0 1 .5-.884.988.988 0 0 1 .98-.014 3 3 0 0 0 3.3-.266c.334-.342.649-.702.944-1.078a.624.624 0 0 1 .775-.163l6.75 3.5A2.945 2.945 0 0 1 15 17.584v1.079A1.325 1.325 0 0 1 13.691 20Zm-12.44-5.873v4.536c0 .054.033.087.058.087h12.382c.025 0 .06-.033.06-.087v-1.079a1.72 1.72 0 0 0-1.035-1.609l-6.349-3.29a9.24 9.24 0 0 1-.76.831 4.235 4.235 0 0 1-4.357.611Zm4.022 4.042-.9-.862 3.138-3.3.9.862-3.138 3.3Zm3.04 0-.913-.857 2.09-2.219.91.857-2.088 2.219Z\"/></svg>',\n },\n award: {\n name: 'award',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.5 7.5A7.5 7.5 0 1 1 10 0a7.508 7.508 0 0 1 7.5 7.5ZM2.736 12.584.573 15.825a.85.85 0 0 0 .744 1.34l2.565-.104.878 2.359a.857.857 0 0 0 .798.579.888.888 0 0 0 .722-.387l2.25-3.37a8.878 8.878 0 0 1-5.793-3.658Zm16.697 3.254-2.172-3.254a8.88 8.88 0 0 1-5.793 3.658l2.259 3.383c.16.23.432.374.712.375a.856.856 0 0 0 .791-.556l.886-2.384 2.544.103a.843.843 0 0 0 .81-.429.853.853 0 0 0-.037-.896Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.435 15.839-3.003-4.5A7.495 7.495 0 1 0 2.5 7.498c0 1.354.37 2.68 1.069 3.84L.573 15.825a.85.85 0 0 0 .744 1.34l2.565-.104.878 2.359a.848.848 0 0 0 .672.57.891.891 0 0 0 .848-.378l3.1-4.645c.41.034.83.034 1.24 0l3.109 4.658a.887.887 0 0 0 .841.365c.3-.043.563-.26.662-.546l.886-2.384 2.544.103a.852.852 0 0 0 .773-1.325Zm-13.767 2.44c-.243-.653-.412-1.915-1.03-2.336-.63-.429-1.898-.085-2.602-.057l2.315-3.468a7.502 7.502 0 0 0 3.685 2.312l-2.368 3.548ZM3.75 7.498A6.25 6.25 0 1 1 10 13.75 6.257 6.257 0 0 1 3.75 7.5Zm11.62 8.432c-.625.412-.796 1.697-1.037 2.348l-2.37-3.549a7.502 7.502 0 0 0 3.686-2.312l2.314 3.468c-.7-.029-1.962-.37-2.593.045Z\"/></svg>',\n },\n back: {\n name: 'back',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 9H3.914l7.293-7.293L9.793.293l-9 9a1 1 0 0 0 0 1.414l9 9 1.414-1.414L3.914 11H19V9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 9.375H2.51l7.932-7.933-.884-.884-9 9a.625.625 0 0 0 0 .884l9 9 .884-.884-7.933-7.933H19v-1.25Z\"/></svg>',\n },\n backup: {\n name: 'backup',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.625 11.354v.171h-4.25v-.171A1.89 1.89 0 0 1 9.294 9.5h.413a1.889 1.889 0 0 1 1.918 1.854ZM14.776 5.9a6.28 6.28 0 0 0-12.4 1.384c0 .34.027.68.083 1.016a4.371 4.371 0 0 0 1.922 8.3v-.626h.176c-.007-.106-.032-.207-.032-.315v-2.034a2.1 2.1 0 0 1 1.35-1.956v-.315A3.476 3.476 0 0 1 9.294 7.9h.413a3.476 3.476 0 0 1 3.418 3.454v.315a2.1 2.1 0 0 1 1.35 1.956v2.035c0 .108-.025.209-.032.315h.2v.625a5.353 5.353 0 0 0 .129-10.7h.004ZM13 13.625v2.035A3.343 3.343 0 0 1 9.66 19h-.32A3.343 3.343 0 0 1 6 15.66v-2.035A.625.625 0 0 1 6.625 13h5.75a.625.625 0 0 1 .625.625Zm-2.674 1.9a.8.8 0 1 0 0 .002v-.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.474 7.513A5.36 5.36 0 0 1 20 11.248a5.258 5.258 0 0 1-4.915 5.316v-1.25a4.008 4.008 0 0 0 3.662-4.068 4.107 4.107 0 0 0-4.1-4.1 1.13 1.13 0 0 0-.155.015l-.778.07-.075-.592a5.028 5.028 0 1 0-9.856 1.885l.143.561-.547.186a3.12 3.12 0 0 0-2.128 2.949 3.038 3.038 0 0 0 2.663 3.093v1.25A4.285 4.285 0 0 1 .001 12.22 4.366 4.366 0 0 1 2.46 8.3a6.115 6.115 0 0 1-.083-1.016A6.28 6.28 0 0 1 14.776 5.9a5.36 5.36 0 0 1 3.698 1.613Z\"/><path d=\"M9.14 16.1a.69.69 0 1 0 .768-1.147.69.69 0 0 0-.767 1.148Z\"/><path fill-rule=\"evenodd\" d=\"M13 12h.375a.624.624 0 0 1 .625.625v2.206A4.173 4.173 0 0 1 9.83 19H9.17A4.173 4.173 0 0 1 5 14.831v-2.206A.625.625 0 0 1 5.625 12H6v-.7A3.3 3.3 0 0 1 9.293 8h.414A3.3 3.3 0 0 1 13 11.3v.7ZM7.847 9.852A2.047 2.047 0 0 0 7.25 11.3v.7h4.5v-.7a2.047 2.047 0 0 0-2.043-2.05h-.414a2.047 2.047 0 0 0-1.446.602Zm4.046 7.043a2.923 2.923 0 0 0 .857-2.061V13.25h-6.5v1.581a2.923 2.923 0 0 0 2.92 2.919h.661a2.923 2.923 0 0 0 2.062-.855Z\" clip-rule=\"evenodd\"/></svg>',\n },\n ban: {\n name: 'ban',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.918 10.5a1.114 1.114 0 0 1-.33.8L14.3 16.588a1.127 1.127 0 0 1-1.592 0l-1.06-1.06a2.608 2.608 0 0 1-.769-1.856v-.913L7.241 9.125h-.913a2.607 2.607 0 0 1-1.856-.769L3.412 7.3a1.125 1.125 0 0 1 0-1.59L8.7.412a1.128 1.128 0 0 1 1.591 0l1.061 1.062a2.601 2.601 0 0 1 .77 1.856v.912l3.633 3.634h.913a2.607 2.607 0 0 1 1.856.769l1.061 1.061a1.12 1.12 0 0 1 .333.794ZM8.834 12.834l-1.392-1.392-.884-.884-5.5 5.5a2.04 2.04 0 0 0 2.883 2.884l5.5-5.5-.607-.608Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.59 9.705-1.062-1.061a2.606 2.606 0 0 0-1.856-.769h-.913l-3.634-3.634v-.912a2.597 2.597 0 0 0-.769-1.856L10.3.411a1.128 1.128 0 0 0-1.6.001L3.411 5.705a1.125 1.125 0 0 0 0 1.59l1.061 1.061a2.607 2.607 0 0 0 1.856.769h.913l.375.375-6.557 6.558a2.04 2.04 0 0 0 2.883 2.884l6.558-6.558.375.375v.913a2.608 2.608 0 0 0 .77 1.856l1.06 1.06a1.127 1.127 0 0 0 1.591 0l5.292-5.288a1.124 1.124 0 0 0 0-1.591l.001-.004ZM3.06 18.058a.79.79 0 1 1-1.118-1.116L8.5 10.384 9.616 11.5 3.06 18.058Zm10.44-2.442-.972-.972a1.38 1.38 0 0 1-.4-.972v-1.431L7.76 7.875H6.33a1.367 1.367 0 0 1-.973-.4L4.384 6.5 9.5 1.384l.972.972c.257.259.4.609.4.973v1.43l4.366 4.366h1.431c.364 0 .713.144.972.4l.972.972-5.113 5.119Z\"/></svg>',\n },\n best: {\n name: 'best',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.273.221 10 .087l-.273.134A10.263 10.263 0 0 0 4 9.566V18h12V9.566A10.264 10.264 0 0 0 10.273.221ZM10 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm-7.375-.425V18h-.5A1.14 1.14 0 0 1 1 16.852v-3.141a3.8 3.8 0 0 1 1.625-3.136ZM19 13.711v3.141A1.14 1.14 0 0 1 17.875 18h-.5v-7.425A3.8 3.8 0 0 1 19 13.711ZM7 18.75h6V20H7v-1.25Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16 10.011v-.445A10.264 10.264 0 0 0 10.273.221L10 .087l-.273.134A10.263 10.263 0 0 0 4 9.566v.445a3.727 3.727 0 0 0-3 3.7v3.141A1.14 1.14 0 0 0 2.125 18h15.75A1.14 1.14 0 0 0 19 16.852v-3.141a3.727 3.727 0 0 0-3-3.7ZM2.25 16.75v-3.039A2.493 2.493 0 0 1 4 11.3v5.45H2.25Zm12.5 0h-9.5V9.566A9.037 9.037 0 0 1 10 1.483a9.037 9.037 0 0 1 4.75 8.083v7.184Zm3 0H16V11.3a2.493 2.493 0 0 1 1.75 2.416v3.034ZM7 18.75h6V20H7v-1.25ZM7 8a3 3 0 1 0 6 0 3 3 0 0 0-6 0Zm4.75 0a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0Z\"/></svg>',\n },\n block: {\n name: 'block',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.028 11.03a6.474 6.474 0 0 1 5.951 5.95l-5.951-5.95ZM15 5.002a4.988 4.988 0 0 0-9.687-1.687l6.374 6.374A4.994 4.994 0 0 0 15 5.002ZM1.6 3.76 8.844 11H7.538A6.482 6.482 0 0 0 1 17.414v.482a1.114 1.114 0 0 0 1.119 1.107h14.725l.67.67.883-.885L2.486 2.876 1.6 3.76Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.384 18.81.013-.014L2.486 2.883l-.886.885 7.244 7.241H7.538A6.482 6.482 0 0 0 1 17.42v.482a1.114 1.114 0 0 0 1.119 1.107h14.725l.67.67.761-.762c.052-.02.102-.043.151-.068l-.042-.04ZM2.251 17.76v-.34a5.231 5.231 0 0 1 5.287-5.16h2.556l5.5 5.5H2.251ZM13.5 11.097a6.477 6.477 0 0 1 5.427 5.427l-2.6-2.6a4.795 4.795 0 0 0-.247-.247l-2.58-2.58Zm-7.1-7.1-.98-.983a5 5 0 1 1 6.574 6.574l-.985-.98a3.74 3.74 0 1 0-4.6-4.6L6.4 4Z\"/></svg>',\n },\n blockchain: {\n name: 'blockchain',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.178 4.406 10.8.21a1.637 1.637 0 0 0-1.6.001L1.82 4.406A1.628 1.628 0 0 0 1 5.818v8.364a1.627 1.627 0 0 0 .82 1.412L9.2 19.79a1.64 1.64 0 0 0 1.607 0l7.374-4.2A1.628 1.628 0 0 0 19 14.182V5.818a1.627 1.627 0 0 0-.82-1.412ZM11 10.578v5.29H9v-5.29L4.213 7.814l.187-.325.812-1.407L10 8.845l4.787-2.763.811 1.407.188.325L11 10.578Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a1.63 1.63 0 0 1-.8-.21l-7.376-4.2A1.628 1.628 0 0 1 1 14.18V5.819a1.628 1.628 0 0 1 .821-1.412L9.2.21A1.642 1.642 0 0 1 10.8.21l7.376 4.2A1.628 1.628 0 0 1 19 5.818v8.364a1.627 1.627 0 0 1-.821 1.412l-7.375 4.2A1.628 1.628 0 0 1 10 20Zm0-18.751a.378.378 0 0 0-.187.048l-7.374 4.2a.376.376 0 0 0-.189.326v8.364a.376.376 0 0 0 .189.325l7.375 4.2a.379.379 0 0 0 .373 0l7.374-4.194a.376.376 0 0 0 .189-.327V5.819a.375.375 0 0 0-.189-.326L10.186 1.3A.374.374 0 0 0 10 1.249Zm5.6 6.24-.625-1.082L10 9.279 5.026 6.407 4.4 7.489l4.974 2.872v5.506h1.25V10.36L15.6 7.49Z\"/></svg>',\n },\n bold: {\n name: 'bold',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.674 10.912c.559.687.844 1.557.8 2.442a4.384 4.384 0 0 1-.677 2.415 4.507 4.507 0 0 1-1.9 1.645 6.33 6.33 0 0 1-2.773.586H4.358V2h5.369a7.488 7.488 0 0 1 2.94.526c.755.296 1.411.799 1.894 1.45.436.61.665 1.345.655 2.095A4.175 4.175 0 0 1 14.746 8 4.542 4.542 0 0 1 13.5 9.522c.84.251 1.593.733 2.174 1.39ZM7.927 5.1v3.467h2.05a1.733 1.733 0 0 0 1.31-.5 1.806 1.806 0 0 0 .48-1.3 1.478 1.478 0 0 0-.54-1.243A2.365 2.365 0 0 0 9.75 5.1H7.927Zm3.01 9.8a2.062 2.062 0 0 0 1.44-.505 1.72 1.72 0 0 0 .558-1.341 1.622 1.622 0 0 0-.59-1.335 2.425 2.425 0 0 0-1.571-.478H7.927V14.9h3.01Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.209 10.95c.545.7.825 1.571.791 2.458a4.36 4.36 0 0 1-.668 2.394 4.448 4.448 0 0 1-1.855 1.623 6.155 6.155 0 0 1-2.715.575H5V2h4.511a6.981 6.981 0 0 1 2.817.521 4.183 4.183 0 0 1 1.828 1.443c.425.617.647 1.35.636 2.1a4.243 4.243 0 0 1-.476 1.96 4.33 4.33 0 0 1-1.256 1.509 4.5 4.5 0 0 1 2.149 1.417Zm-7.59-6.215v3.951h2.127a2.016 2.016 0 0 0 1.513-.564 2.04 2.04 0 0 0 .551-1.487 1.7 1.7 0 0 0-.61-1.422 2.619 2.619 0 0 0-1.657-.478H7.619Zm3.057 10.53a2.372 2.372 0 0 0 1.657-.571 1.95 1.95 0 0 0 .631-1.524 1.852 1.852 0 0 0-.674-1.531 2.792 2.792 0 0 0-1.806-.543H7.619v4.169h3.057Z\"/></svg>',\n },\n boost: {\n name: 'boost',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M19.773 8.518a3.1 3.1 0 0 1-.93 1.711l-.034.034-.005.115a5.554 5.554 0 0 1-2.3 4.216v-2.825a1.425 1.425 0 0 0-1.425-1.425H8.864v2.432a2.955 2.955 0 0 0-3.256.6L4.056 15a5.782 5.782 0 0 1-2.869-4.64v-.1l-.06-.06a3.058 3.058 0 0 1-.9-1.687 3.146 3.146 0 0 1 .015-1.174 3.179 3.179 0 0 1 3.123-2.523c.444.002.884.096 1.29.276A10.875 10.875 0 0 1 9.5 3.784l.593-2.54a1.038 1.038 0 0 1 1.229-.785l2.043.434a1.3 1.3 0 0 1 1.022-.517 1.325 1.325 0 1 1 0 2.65 1.313 1.313 0 0 1-1.238-.9l-1.885-.4-.485 2.082A10.8 10.8 0 0 1 15.36 5.1a2.975 2.975 0 0 1 1.275-.287 3.18 3.18 0 0 1 3.127 2.535c.077.386.08.783.011 1.17Zm-5.6 3.557a.757.757 0 0 1 .756.757V16.6h-1.25v-2.27L10.5 17.658a.628.628 0 0 1-.907 0l-1.972-2.074a.214.214 0 0 0-.313 0l-3.651 3.845-.906-.863L6.4 14.723a1.468 1.468 0 0 1 2.125 0l1.524 1.6 2.855-3h-2.351v-1.25l3.62.002Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M19.773 8.518a3.1 3.1 0 0 1-.93 1.711l-.034.034-.005.115a5.548 5.548 0 0 1-2.285 4.2l.008-1.709a4 4 0 0 0 1.028-2.531l.025-.613.393-.4a1.856 1.856 0 0 0 .534-1.857 1.894 1.894 0 0 0-1.872-1.401c-.335 0-.663.097-.943.281l-.335.219-.339-.212a9.46 9.46 0 0 0-4.639-1.332h-.706A9.46 9.46 0 0 0 5 6.338l-.329.205-.33-.206a1.959 1.959 0 0 0-.979-.271 1.926 1.926 0 0 0-1.9 1.521 1.829 1.829 0 0 0 .543 1.723l.407.423.025.588a4.643 4.643 0 0 0 2.488 3.767L4.056 15a5.782 5.782 0 0 1-2.869-4.64v-.1l-.06-.06a3.058 3.058 0 0 1-.9-1.687 3.146 3.146 0 0 1 .015-1.174 3.179 3.179 0 0 1 3.123-2.523c.444.002.884.096 1.29.276A10.875 10.875 0 0 1 9.5 3.784l.593-2.54a1.037 1.037 0 0 1 1.229-.785l2.043.434a1.3 1.3 0 0 1 1.022-.517 1.325 1.325 0 1 1 0 2.65 1.313 1.313 0 0 1-1.238-.9l-1.885-.4-.485 2.082A10.8 10.8 0 0 1 15.36 5.1a2.975 2.975 0 0 1 1.275-.287 3.18 3.18 0 0 1 3.127 2.535c.077.386.08.783.011 1.17Zm-9.22 3.557v1.25h2.353l-2.855 3-1.524-1.6a1.468 1.468 0 0 0-2.125 0l-3.651 3.841.906.863 3.651-3.845a.214.214 0 0 1 .313 0L9.6 17.658a.628.628 0 0 0 .907 0l3.171-3.328v2.27h1.25v-3.768a.757.757 0 0 0-.756-.757h-3.619Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n },\n bot: {\n name: 'bot',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9 3H7a3 3 0 1 1 6 0h-2a1 1 0 0 0-2 0Zm11 2.607v11.786A1.618 1.618 0 0 1 18.376 19H1.624A1.618 1.618 0 0 1 0 17.393V5.607A1.618 1.618 0 0 1 1.624 4h16.752A1.618 1.618 0 0 1 20 5.607ZM5 10h2V8H5v2Zm8.375 2.625h-6.75V14.3a1.412 1.412 0 0 0 1.446 1.375h3.858c.8 0 1.446-.386 1.446-1.146v-1.904ZM15 8h-2v2h2V8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.376 4H1.624A1.618 1.618 0 0 0 0 5.607v11.786A1.618 1.618 0 0 0 1.624 19h16.752A1.618 1.618 0 0 0 20 17.393V5.607A1.618 1.618 0 0 0 18.376 4Zm.374 13.393a.366.366 0 0 1-.374.357H1.624a.366.366 0 0 1-.374-.357V5.607a.366.366 0 0 1 .374-.357h16.752a.366.366 0 0 1 .374.357v11.786ZM6 14.529h.014A2.049 2.049 0 0 0 8.07 16.3h3.858A1.854 1.854 0 0 0 14 14.529V12H6v2.529Zm1.249-1.279h5.5v1.279c0 .47-.574.521-.821.521H8.07a.79.79 0 0 1-.821-.75v-1.05ZM8.624 3h-1.25a2.625 2.625 0 0 1 5.25 0h-1.25a1.375 1.375 0 0 0-2.75 0ZM7 10H5V8h2v2Zm6-2h2v2h-2V8Z\"/></svg>',\n },\n bounce: {\n name: 'bounce',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.78 14.606a1 1 0 0 0-.92-.606H17V8.5A7.271 7.271 0 0 0 10 1a7.271 7.271 0 0 0-7 7.5V14H1.139a1 1 0 0 0-.724 1.69l2.86 3a1 1 0 0 0 1.449 0l2.86-3A1 1 0 0 0 6.862 14H5V8.5A5.274 5.274 0 0 1 10 3a5.274 5.274 0 0 1 5 5.5V14h-1.861a1 1 0 0 0-.724 1.69l2.86 3a1 1 0 0 0 1.449 0l2.86-3a1 1 0 0 0 .197-1.084Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.6 14.359 17 16.274V8.125A7.071 7.071 0 0 0 10 1a7.071 7.071 0 0 0-7 7.125v8.149l-1.6-1.915-.96.8 2.7 3.241a.625.625 0 0 0 .96 0l2.7-3.241-.96-.8-1.6 1.915V8.125A5.821 5.821 0 0 1 10 2.25a5.821 5.821 0 0 1 5.75 5.875v8.149l-1.6-1.915-.96.8L15.9 18.4a.626.626 0 0 0 .96 0l2.7-3.241-.96-.8Z\"/></svg>',\n },\n 'brand-awareness': {\n name: 'brand-awareness',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.391 12.832a5.465 5.465 0 0 0-1.633.6 6.14 6.14 0 1 1 8.484 0 5.465 5.465 0 0 0-1.633-.6 4.64 4.64 0 1 0-5.218 0ZM4.7 14.192a7.424 7.424 0 1 1 10.594 0c.373.339.702.724.978 1.145a8.924 8.924 0 1 0-12.55 0c.276-.421.605-.806.978-1.145ZM11.581 14H8.419A4.569 4.569 0 0 0 4 18.7v.34a.953.953 0 0 0 .941.96h10.118a.953.953 0 0 0 .941-.963V18.7a4.57 4.57 0 0 0-4.419-4.7ZM10 5.583a3.417 3.417 0 1 0 0 6.834 3.417 3.417 0 0 0 0-6.834Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.249 13.434a5.464 5.464 0 0 0-1.325-.525A4.897 4.897 0 0 0 10 4.08 4.902 4.902 0 0 0 5.348 7.44a4.895 4.895 0 0 0 1.728 5.469 5.464 5.464 0 0 0-1.325.525 6.143 6.143 0 0 1 4.25-10.582 6.149 6.149 0 0 1 5.705 3.855 6.14 6.14 0 0 1-1.455 6.728h-.002Zm-9.782.986A7.744 7.744 0 0 1 10 1.25a7.753 7.753 0 0 1 7.146 4.747 7.742 7.742 0 0 1-1.613 8.423c.295.3.557.629.783.983A8.993 8.993 0 0 0 10 0a9.003 9.003 0 0 0-8.328 5.584 8.99 8.99 0 0 0 2.012 9.82c.226-.355.488-.685.783-.984Zm7.114-.417H8.419A4.57 4.57 0 0 0 4 18.701v.34a.952.952 0 0 0 .941.959h10.118a.954.954 0 0 0 .941-.962V18.7a4.565 4.565 0 0 0-4.419-4.698Zm3.169 4.752h-9.5V18.7a3.32 3.32 0 0 1 3.169-3.45h3.162a3.323 3.323 0 0 1 3.169 3.45v.054ZM10 5.59a3.418 3.418 0 0 0-3.351 4.081 3.414 3.414 0 0 0 4.659 2.489 3.416 3.416 0 0 0 2.109-3.155A3.418 3.418 0 0 0 10 5.59Zm0 5.58a2.168 2.168 0 0 1-2.125-2.588 2.166 2.166 0 0 1 2.954-1.578 2.167 2.167 0 0 1 1.338 2A2.167 2.167 0 0 1 10 11.173Z\"/></svg>',\n },\n browse: {\n name: 'browse',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.348 19H5.629A1.63 1.63 0 0 1 4 17.371V5.629A1.631 1.631 0 0 1 5.629 4H17.37A1.631 1.631 0 0 1 19 5.629v5.718A5.499 5.499 0 1 0 11.348 19ZM5.629 2.625H16A1.627 1.627 0 0 0 14.375 1H2.625A1.627 1.627 0 0 0 1 2.625v11.75A1.627 1.627 0 0 0 2.625 16V5.629a3.008 3.008 0 0 1 3.004-3.004Zm14.078 15.668-1.774-1.774c.368-.61.564-1.307.567-2.019a4 4 0 1 0-4 4c.712-.003 1.41-.2 2.019-.567l1.774 1.774 1.414-1.414ZM14.5 16.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 16A1.627 1.627 0 0 1 1 14.375V2.625A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.625h-1.25a.375.375 0 0 0-.375-.375H2.625a.375.375 0 0 0-.375.375v11.75a.375.375 0 0 0 .375.375V16Zm8.129 1.75H5.629a.379.379 0 0 1-.379-.379V5.629a.379.379 0 0 1 .379-.379h11.742a.38.38 0 0 1 .379.379v5.125a4.99 4.99 0 0 1 1.25 1.5V5.629A1.63 1.63 0 0 0 17.371 4H5.629A1.631 1.631 0 0 0 4 5.629v11.742A1.631 1.631 0 0 0 5.629 19h6.626a4.99 4.99 0 0 1-1.501-1.25Zm7.5-3.125a3.625 3.625 0 1 0-3.625 3.625 3.629 3.629 0 0 0 3.621-3.625h.004Zm-1.25 0a2.375 2.375 0 1 1-2.375-2.375A2.377 2.377 0 0 1 17 14.625h.004Zm2.567 4.058L17.188 16.3l-.884.884 2.379 2.379.888-.88Z\"/></svg>',\n },\n browser: {\n name: 'browser',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 1H2.625A1.627 1.627 0 0 0 1 2.625v14.75A1.627 1.627 0 0 0 2.625 19h14.75A1.627 1.627 0 0 0 19 17.375V2.625A1.627 1.627 0 0 0 17.375 1ZM5.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3ZM16 6H8V4h8v2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 19H2.625A1.627 1.627 0 0 1 1 17.375V2.625A1.627 1.627 0 0 1 2.625 1h14.75A1.627 1.627 0 0 1 19 2.625v14.75A1.627 1.627 0 0 1 17.375 19ZM2.625 2.25a.375.375 0 0 0-.375.375v14.75a.375.375 0 0 0 .375.375h14.75a.375.375 0 0 0 .375-.375V2.625a.375.375 0 0 0-.375-.375H2.625ZM5.5 3.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm10.5.875H8v1.25h8v-1.25Z\"/></svg>',\n },\n cake: {\n name: 'cake',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M0 11.5h20V15H4.451v1.5H20v1.375a1.094 1.094 0 0 1-.327.778 1.208 1.208 0 0 1-.85.347l-17.648-.037A1.153 1.153 0 0 1 0 17.838V11.5ZM7.746 1c-.493 0-2.962 1.5-2.962 3.5a2.963 2.963 0 1 0 5.925 0c0-2-2.469-3.5-2.963-3.5Zm11.68 7.687L12.2 4.571a4.442 4.442 0 0 1-8.653 1.4L.375 8.8A1.1 1.1 0 0 0 0 9.624V10h20v-.348a1.117 1.117 0 0 0-.574-.965Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.426 8.687-8.3-4.73A5.1 5.1 0 0 0 7.746.948c-.84 0-3.587 1.758-3.587 4.125 0 .112.023.218.032.328l-3.816 3.4A1.1 1.1 0 0 0 0 9.623v8.214a1.153 1.153 0 0 0 1.175 1.125L18.819 19c.318 0 .623-.124.85-.347a1.092 1.092 0 0 0 .331-.778V9.652a1.117 1.117 0 0 0-.574-.965ZM7.7 2.195c.387.076 2.382 1.308 2.382 2.878a2.34 2.34 0 1 1-4.675 0C5.409 3.5 7.4 2.271 7.7 2.195ZM18.75 14.75H4.451V16h14.3v1.75l-17.5-.037V11.25h17.5l-.001 3.5Zm0-4.75H1.25v-.3l3.325-2.967a3.555 3.555 0 0 0 6.717-1.24L18.75 9.74V10Z\"/></svg>',\n },\n calendar: {\n name: 'calendar',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1 8.5h18v8.874A1.627 1.627 0 0 1 17.374 19H2.626A1.627 1.627 0 0 1 1 17.374V8.5ZM17.374 2H16V.25h-2V2H6V.251H4V2H2.626A1.627 1.627 0 0 0 1 3.626V7h18V3.626A1.627 1.627 0 0 0 17.374 2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.374 2H16V.25h-1.25V2h-9.5V.251H4V2H2.626A1.627 1.627 0 0 0 1 3.626v13.748A1.627 1.627 0 0 0 2.626 19h14.748A1.627 1.627 0 0 0 19 17.374V3.626A1.627 1.627 0 0 0 17.374 2ZM2.626 3.25H4v1h1.25v-1h9.5v1H16v-1h1.374a.377.377 0 0 1 .376.376V7H2.25V3.626a.377.377 0 0 1 .376-.376Zm14.748 14.5H2.626a.377.377 0 0 1-.376-.376V8.25h15.5v9.124a.378.378 0 0 1-.376.376Z\"/></svg>',\n },\n camera: {\n name: 'camera',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.376 3.032h-2.355L13.8 1.446A1.155 1.155 0 0 0 12.892 1h-5.74a1.169 1.169 0 0 0-.923.454L5.014 3.031H2.625A2.629 2.629 0 0 0 0 5.656v9.719A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V5.657a2.627 2.627 0 0 0-2.624-2.625Zm-7.369 10.96a4 4 0 1 1 0-8 4 4 0 0 1 0 8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.007 14a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6.75a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5ZM17.375 18H2.625A2.63 2.63 0 0 1 0 15.375V5.656a2.629 2.629 0 0 1 2.625-2.625h2.389L6.23 1.454A1.166 1.166 0 0 1 7.153 1h5.739a1.155 1.155 0 0 1 .907.446l1.222 1.585h2.355A2.627 2.627 0 0 1 20 5.656v9.718A2.629 2.629 0 0 1 17.375 18ZM2.625 4.281A1.377 1.377 0 0 0 1.25 5.656v9.719a1.377 1.377 0 0 0 1.375 1.375h14.75a1.377 1.377 0 0 0 1.375-1.375V5.657a1.375 1.375 0 0 0-1.374-1.375h-2.969l-1.6-2.073-5.654.041-1.524 2.031H2.625Z\"/></svg>',\n },\n campaign: {\n name: 'campaign',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.019 14.26h5.351l-1.2 3.6a1.146 1.146 0 0 1-1.104 1.08H5.194a1.157 1.157 0 0 1-1.111-1.194c0-.056.007-.112.022-.166l.914-3.32ZM9 4.8c.005-.243.055-.482.146-.707H4.932C2.681 4.088 1 6.41 1 8.486c0 2.076 1.681 4.4 3.932 4.4h4.2A1.99 1.99 0 0 1 9 12.211V4.8Zm9.2-3.56a1.554 1.554 0 0 0-1.544-.027L10.6 4.235a.627.627 0 0 0-.346.56v7.416a.624.624 0 0 0 .348.56l6.043 2.983a1.562 1.562 0 0 0 1.554-.022 1.614 1.614 0 0 0 .8-1.409V2.649A1.615 1.615 0 0 0 18.2 1.24Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.2 1.24a1.554 1.554 0 0 0-1.544-.027l-5.84 2.914a.58.58 0 0 0-.191-.039H4.932C2.682 4.088 1 6.41 1 8.486c0 2.076 1.682 4.4 3.932 4.4H5.4L4.105 17.58a.626.626 0 0 0-.022.166 1.156 1.156 0 0 0 1.111 1.194h2.872a1.146 1.146 0 0 0 1.106-1.077l1.656-4.979 5.8 2.861a1.565 1.565 0 0 0 1.571-.013 1.614 1.614 0 0 0 .8-1.409V2.649A1.615 1.615 0 0 0 18.2 1.24ZM2.25 8.486c0-1.456 1.171-3.148 2.682-3.148H10v6.3H4.932C3.421 11.635 2.25 9.942 2.25 8.486Zm5.709 9.063a.72.72 0 0 0-.029.141H5.371l1.322-4.805H9.51l-1.551 4.664Zm9.791-3.226a.371.371 0 0 1-.183.33.342.342 0 0 1-.357-.013l-5.96-2.94V5.308l5.99-2.991a.316.316 0 0 1 .327 0 .371.371 0 0 1 .183.33v11.676Z\"/></svg>',\n },\n 'caret-down': {\n name: 'caret-down',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 13.5a1 1 0 0 1-.707-.293l-5-5 1.414-1.414L10 11.086l4.293-4.293 1.414 1.414-5 5A1 1 0 0 1 10 13.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 13.125a.624.624 0 0 1-.442-.183l-5-5 .884-.884L10 11.616l4.558-4.558.884.884-5 5a.624.624 0 0 1-.442.183Z\"/></svg>',\n },\n 'caret-left': {\n name: 'caret-left',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m11.793 15.707-5-5a1 1 0 0 1 0-1.414l5-5 1.414 1.414L8.914 10l4.293 4.293-1.414 1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m12.058 15.442-5-5a.624.624 0 0 1 0-.884l5-5 .884.884L8.384 10l4.558 4.558-.884.884Z\"/></svg>',\n },\n 'caret-right': {\n name: 'caret-right',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m8.207 15.707-1.414-1.414L11.086 10 6.793 5.707l1.414-1.414 5 5a1 1 0 0 1 0 1.414l-5 5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m7.942 15.442-.884-.884L11.616 10 7.058 5.442l.884-.884 5 5a.624.624 0 0 1 0 .884l-5 5Z\"/></svg>',\n },\n 'caret-up': {\n name: 'caret-up',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.293 13.207 10 8.914l-4.293 4.293-1.414-1.414 5-5a1 1 0 0 1 1.414 0l5 5-1.414 1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.558 12.942 10 8.384l-4.558 4.558-.884-.884 5-5a.623.623 0 0 1 .884 0l5 5-.884.884Z\"/></svg>',\n },\n chat: {\n name: 'chat',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.065 2.933A9.99 9.99 0 0 0 .123 8.444a9.882 9.882 0 0 0 1.2 6.49l-1.24 4.078a.727.727 0 0 0 .179.721.714.714 0 0 0 .72.19l4.166-1.193A9.856 9.856 0 0 0 9.99 20a9.99 9.99 0 0 0 7.075-17.067ZM6 11.501a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3.999 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm4 0a1.5 1.5 0 1 1 0-2.999 1.5 1.5 0 0 1 0 2.999Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.61 19.872a10.013 10.013 0 0 0 6.51-4.035A9.999 9.999 0 0 0 12.275.264c-1.28-.3-2.606-.345-3.903-.132a10.05 10.05 0 0 0-8.25 8.311 9.877 9.877 0 0 0 1.202 6.491l-1.24 4.078a.727.727 0 0 0 .178.721.72.72 0 0 0 .72.19l4.17-1.193A9.87 9.87 0 0 0 9.998 20c.54 0 1.079-.043 1.612-.128ZM1.558 18.458l1.118-3.69-.145-.24A8.647 8.647 0 0 1 1.36 8.634a8.778 8.778 0 0 1 7.21-7.27 8.765 8.765 0 0 1 8.916 3.995 8.748 8.748 0 0 1-2.849 12.09 8.763 8.763 0 0 1-3.22 1.188 8.68 8.68 0 0 1-5.862-1.118l-.232-.138-3.764 1.076ZM6.006 9a1.001 1.001 0 0 0-.708 1.707A1 1 0 1 0 6.006 9Zm4.002 0a1.001 1.001 0 0 0-.195 1.981 1 1 0 1 0 .195-1.98Zm4.003 0a1.001 1.001 0 1 0 0 2.003 1.001 1.001 0 0 0 0-2.003Z\"/></svg>',\n },\n 'chat-group': {\n name: 'chat-group',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.887 13.444a6.885 6.885 0 0 1-1.486-.644l-2.252.563a.626.626 0 0 1-.758-.758l.56-2.25A6.9 6.9 0 0 1 .202 5.2 6.8 6.8 0 0 1 5.34.17a6.91 6.91 0 0 1 6.399 1.847A6.836 6.836 0 0 1 13.45 4.89a8.18 8.18 0 0 0-8.334 6.24 8.532 8.532 0 0 0-.229 2.315Zm13.098-5.178a6.915 6.915 0 0 0-6.4-1.847 6.799 6.799 0 0 0-5.133 5.032A6.9 6.9 0 0 0 7.2 16.6l-.564 2.251a.625.625 0 0 0 .758.758l2.252-.563a6.824 6.824 0 0 0 3.479.953c.563 0 1.125-.068 1.672-.2a6.8 6.8 0 0 0 5.034-5.136 6.922 6.922 0 0 0-1.846-6.398h-.001Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.886 13.444a6.888 6.888 0 0 1-1.485-.644l-2.253.562a.617.617 0 0 1-.595-.162.625.625 0 0 1-.165-.593l.564-2.253a6.902 6.902 0 0 1-.75-5.153A6.8 6.8 0 0 1 5.338.169a6.913 6.913 0 0 1 6.398 1.847c.8.8 1.387 1.788 1.71 2.873a8.53 8.53 0 0 0-1.299.056A5.586 5.586 0 0 0 10.851 2.9 5.67 5.67 0 0 0 5.6 1.39a5.537 5.537 0 0 0-4.186 4.1 5.655 5.655 0 0 0 .73 4.42.624.624 0 0 1 .08.49l-.375 1.5 1.5-.375a.626.626 0 0 1 .489.082c.345.222.714.405 1.1.546-.052.429-.069.86-.052 1.291Zm9.91 6.356a6.797 6.797 0 0 0 5.033-5.136 6.892 6.892 0 0 0-4.806-8.146 6.884 6.884 0 0 0-3.436-.098 6.797 6.797 0 0 0-5.136 5.03 6.902 6.902 0 0 0 .748 5.15l-.564 2.252a.625.625 0 0 0 .758.758l2.252-.563a6.82 6.82 0 0 0 3.478.953 7.15 7.15 0 0 0 1.673-.2Zm-5.198-2.026-1.5.374.375-1.5a.624.624 0 0 0-.08-.489 5.653 5.653 0 0 1-.729-4.42 5.541 5.541 0 0 1 4.186-4.1 5.635 5.635 0 0 1 6.756 6.761 5.543 5.543 0 0 1-4.098 4.187 5.644 5.644 0 0 1-4.418-.729.648.648 0 0 0-.492-.084Z\"/></svg>',\n },\n 'chat-new': {\n name: 'chat-new',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.064 2.931A9.99 9.99 0 0 0 .124 8.444a9.876 9.876 0 0 0 1.195 6.49L.085 19.01a.728.728 0 0 0 .9.912l4.166-1.193A9.856 9.856 0 0 0 9.991 20 9.99 9.99 0 0 0 19.72 7.656a9.993 9.993 0 0 0-2.656-4.725Zm-3.065 8.07h-3v3H9v-3H6V9h3V6h2v3h3v2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.063 2.931A9.99 9.99 0 0 0 .123 8.444a9.883 9.883 0 0 0 1.195 6.49L.085 19.009a.729.729 0 0 0 .9.913l4.166-1.194a9.856 9.856 0 0 0 6.448 1.142 9.989 9.989 0 0 0 8.12-12.214 9.991 9.991 0 0 0-2.656-4.725Zm1.57 8.499a8.784 8.784 0 0 1-7.227 7.2 8.664 8.664 0 0 1-5.856-1.112l-.231-.139-3.762 1.078 1.118-3.691-.145-.238a8.655 8.655 0 0 1-1.172-5.893 8.751 8.751 0 1 1 17.275 2.8v-.005Zm-8.008-2.058h3.374v1.25h-3.375v3.379h-1.25v-3.376H6v-1.25h3.375V6.002h1.25v3.37Z\"/></svg>',\n },\n 'chat-private': {\n name: 'chat-private',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.374 14.367V17.5a8.374 8.374 0 0 1-2.024-.794l-3.4.973a.798.798 0 0 1-.7-.181.712.712 0 0 1-.177-.706l1.007-3.328a8.277 8.277 0 0 1-.977-5.4 8.367 8.367 0 0 1 16.077-1.7A4.637 4.637 0 0 0 14.5 5.5a5.285 5.285 0 0 0-5 5.519v.38a3.14 3.14 0 0 0-2.126 2.968ZM20 14.217v4.565A1.255 1.255 0 0 1 18.714 20h-8.428A1.255 1.255 0 0 1 9 18.782v-4.564A1.255 1.255 0 0 1 10.286 13H11v-1.98A3.79 3.79 0 0 1 14.5 7a3.79 3.79 0 0 1 3.5 4.02V13h.714A1.255 1.255 0 0 1 20 14.218ZM13 13h3v-1.98C16 9.925 15.313 9 14.5 9s-1.5.925-1.5 2.02V13Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.336 8.263a7.05 7.05 0 0 0 .955 4.8.625.625 0 0 1 .064.505l-.8 2.64 2.7-.772a.616.616 0 0 1 .491.063 7.102 7.102 0 0 0 2.123.827V17.6a8.317 8.317 0 0 1-2.524-.89l-3.4.973a.8.8 0 0 1-.7-.181.713.713 0 0 1-.177-.706l1.007-3.328a8.277 8.277 0 0 1-.977-5.4A8.378 8.378 0 0 1 17.326 6.74a4.7 4.7 0 0 0-1.7-.752 7.116 7.116 0 0 0-13.29 2.275ZM20 14.218v4.564A1.255 1.255 0 0 1 18.714 20h-8.428A1.255 1.255 0 0 1 9 18.782v-4.564A1.255 1.255 0 0 1 10.286 13H11v-2.307a3.578 3.578 0 0 1 3.5-3.644 3.578 3.578 0 0 1 3.5 3.644V13h.714A1.255 1.255 0 0 1 20 14.218ZM12.25 13h4.5v-2.307A2.328 2.328 0 0 0 14.5 8.3a2.328 2.328 0 0 0-2.25 2.394V13Zm6.515 5.736-.015-4.518-8.464.032-.036 4.532 8.464-.032a.09.09 0 0 0 .051-.014Z\"/></svg>',\n },\n 'checkbox-dismiss': {\n name: 'checkbox-dismiss',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 2H3.625A1.627 1.627 0 0 0 2 3.625v12.75A1.627 1.627 0 0 0 3.625 18h12.75A1.627 1.627 0 0 0 18 16.375V3.625A1.627 1.627 0 0 0 16.375 2Zm-2.839 8.5H6.464V9h7.072v1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 2H3.625A1.627 1.627 0 0 0 2 3.625v12.75A1.627 1.627 0 0 0 3.625 18h12.75A1.627 1.627 0 0 0 18 16.375V3.625A1.627 1.627 0 0 0 16.375 2Zm.375 14.375a.375.375 0 0 1-.375.375H3.625a.375.375 0 0 1-.375-.375V3.625a.375.375 0 0 1 .375-.375h12.75a.375.375 0 0 1 .375.375v12.75ZM6.464 9h7.072v1.25H6.464V9Z\"/></svg>',\n },\n checkbox: {\n name: 'checkbox',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 2H3.625A1.627 1.627 0 0 0 2 3.625v12.75A1.627 1.627 0 0 0 3.625 18h12.75A1.627 1.627 0 0 0 18 16.375V3.625A1.627 1.627 0 0 0 16.375 2ZM9.03 13.03a.746.746 0 0 1-1.06 0l-2-2 1.06-1.06 1.47 1.469 4.47-4.469 1.06 1.06-5 5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 18H3.625A1.627 1.627 0 0 1 2 16.375V3.625A1.627 1.627 0 0 1 3.625 2h12.75A1.627 1.627 0 0 1 18 3.625v12.75A1.627 1.627 0 0 1 16.375 18ZM3.625 3.25a.375.375 0 0 0-.375.375v12.75a.375.375 0 0 0 .375.375h12.75a.375.375 0 0 0 .375-.375V3.625a.375.375 0 0 0-.375-.375H3.625Z\"/></svg>',\n },\n checkmark: {\n name: 'checkmark',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.5 15.958a1.102 1.102 0 0 1-.778-.322l-5.429-5.429 1.414-1.414L7.5 13.586 17.793 3.293l1.414 1.414L8.278 15.636a1.101 1.101 0 0 1-.778.322Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.5 15.583a.72.72 0 0 1-.513-.212L1.558 9.942l.884-.884L7.5 14.116 18.058 3.558l.884.884-10.93 10.929a.723.723 0 0 1-.512.212Z\"/></svg>',\n },\n chrome: {\n name: 'chrome',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m7.172 19.506.264.15A9.97 9.97 0 0 1 .15 8.29a9.974 9.974 0 0 1 2.002-4.466l4.337 7.601a3.8 3.8 0 0 0 3.513 2.374c.151-.006.303-.021.452-.046l-3.282 5.754Zm6.634-9.501a3.757 3.757 0 0 1-.8 2.3h.007L8.673 19.9c.44.063.884.097 1.329.1a9.96 9.96 0 0 0 9.766-7.828 9.967 9.967 0 0 0-.046-4.473H13.01c.513.657.793 1.466.797 2.299v.007Zm-3.804-3.808h9.24A9.976 9.976 0 0 0 7.387.35a9.972 9.972 0 0 0-4.168 2.32l3.311 5.8a3.8 3.8 0 0 1 3.47-2.274Zm0 1.5a2.281 2.281 0 0 0-2.15 3.1l.007.013a2.3 2.3 0 1 0 2.143-3.113Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 1.25a8.755 8.755 0 0 1 7.93 5.074H10a3.668 3.668 0 0 0-3.444 2.449l-2.8-4.9A8.724 8.724 0 0 1 10 1.25ZM12.43 10a2.422 2.422 0 0 1-4.682.873l-.012-.021a2.4 2.4 0 0 1-.162-.849 2.426 2.426 0 1 1 4.851 0L12.43 10ZM1.25 10c0-1.832.58-3.617 1.655-5.1l3.7 6.475a3.632 3.632 0 0 0 4.08 2.232L7.9 18.484A8.758 8.758 0 0 1 1.25 10ZM10 18.75a8.64 8.64 0 0 1-.792-.04l3.7-6.465H12.9a3.6 3.6 0 0 0-.152-4.667H18.4A8.732 8.732 0 0 1 10 18.75Z\"/></svg>',\n },\n clear: {\n name: 'clear',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm3.832 12.418-1.414 1.414L10 11.414l-2.418 2.418-1.414-1.414L8.586 10 6.168 7.582l1.414-1.414L10 8.586l2.418-2.418 1.414 1.414L11.414 10l2.418 2.418Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 18.75A8.75 8.75 0 1 1 18.75 10 8.76 8.76 0 0 1 10 18.75Zm3.567-11.433L10.884 10l2.683 2.683-.884.884L10 10.884l-2.683 2.683-.884-.884L9.116 10 6.433 7.317l.884-.884L10 9.116l2.683-2.683.884.884Z\"/></svg>',\n },\n 'client-list': {\n name: 'client-list',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 0H3.625A1.627 1.627 0 0 0 2 1.625V5h1.722v2H2v2h1.722v2H2v2h1.722v2H2v3.375A1.627 1.627 0 0 0 3.625 20h12.75A1.627 1.627 0 0 0 18 18.375V1.625A1.627 1.627 0 0 0 16.375 0ZM10 4.07a2.845 2.845 0 1 1 0 5.69 2.845 2.845 0 0 1 0-5.69Zm5 11.037a.888.888 0 0 1-.882.893H5.882A.888.888 0 0 1 5 15.107v-.268A3.782 3.782 0 0 1 8.713 11h2.574A3.782 3.782 0 0 1 15 14.839v.268Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.118 16H5.882A.888.888 0 0 1 5 15.107v-.268A3.782 3.782 0 0 1 8.713 11h2.574A3.782 3.782 0 0 1 15 14.839v.268a.888.888 0 0 1-.882.893Zm-7.867-1.25h7.5a2.526 2.526 0 0 0-2.462-2.5H8.713a2.526 2.526 0 0 0-2.462 2.5ZM18 1.625v16.75A1.627 1.627 0 0 1 16.375 20H3.625A1.627 1.627 0 0 1 2 18.375v-1.459h1.25v1.459a.375.375 0 0 0 .375.375h12.75a.375.375 0 0 0 .375-.375V1.625a.375.375 0 0 0-.375-.375H3.625a.375.375 0 0 0-.375.375v2.709H2V1.625A1.627 1.627 0 0 1 3.625 0h12.75A1.627 1.627 0 0 1 18 1.625Zm-5.155 5.29a2.845 2.845 0 1 0-5.69 0 2.845 2.845 0 0 0 5.69 0Zm-1.25 0A1.6 1.6 0 1 1 10 5.32a1.6 1.6 0 0 1 1.6 1.595h-.005ZM3.722 10H1v1.25h2.722V10Zm0 4H1v1.25h2.722V14Zm0-8H1v1.25h2.722V6Z\"/></svg>',\n },\n close: {\n name: 'close',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.707 2.707-1.414-1.414L10 8.586 2.707 1.293 1.293 2.707 8.586 10l-7.293 7.293 1.414 1.414L10 11.414l7.293 7.293 1.414-1.414L11.414 10l7.293-7.293Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.442 2.442-.884-.884L10 9.116 2.442 1.558l-.884.884L9.116 10l-7.558 7.558.884.884L10 10.884l7.558 7.558.884-.884L10.884 10l7.558-7.558Z\"/></svg>',\n },\n 'closed-captioning': {\n name: 'closed-captioning',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.875 2H2.125A1.127 1.127 0 0 0 1 3.125v13.75A1.127 1.127 0 0 0 2.125 18h15.75A1.127 1.127 0 0 0 19 16.875V3.125A1.127 1.127 0 0 0 17.875 2ZM9.759 12.817a3.26 3.26 0 0 1-.949.429 3.892 3.892 0 0 1-1.048.144 3.536 3.536 0 0 1-1.751-.446 3.4 3.4 0 0 1-1.266-1.218 3.27 3.27 0 0 1-.469-1.712 3.233 3.233 0 0 1 .477-1.725c.31-.505.75-.92 1.272-1.2A3.7 3.7 0 0 1 8.789 6.8c.332.095.649.234.943.414l.22.135-.709 1.675-.314-.3a1.464 1.464 0 0 0-.5-.3 1.836 1.836 0 0 0-1.519.1A1.645 1.645 0 0 0 6.054 10a1.69 1.69 0 0 0 .865 1.5 1.862 1.862 0 0 0 1.528.112c.184-.057.352-.158.489-.293L9.25 11l.715 1.68-.206.137Zm5.746 0a3.26 3.26 0 0 1-.949.429 3.891 3.891 0 0 1-1.048.144 3.536 3.536 0 0 1-1.751-.446 3.4 3.4 0 0 1-1.266-1.218 3.27 3.27 0 0 1-.469-1.712 3.233 3.233 0 0 1 .478-1.725c.31-.505.75-.92 1.272-1.2a3.7 3.7 0 0 1 2.763-.289c.332.095.65.234.944.414l.219.135-.709 1.678-.314-.3a1.464 1.464 0 0 0-.5-.3 1.836 1.836 0 0 0-1.519.1A1.645 1.645 0 0 0 11.8 10a1.69 1.69 0 0 0 .865 1.5 1.862 1.862 0 0 0 1.528.112c.184-.057.351-.158.489-.293L15 11l.715 1.68-.21.137Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.157 12.683a3.24 3.24 0 0 0 1.6.407c.327 0 .652-.045.967-.133a2.92 2.92 0 0 0 .863-.388l-.441-1.035a1.51 1.51 0 0 1-.605.367 2.32 2.32 0 0 1-.764.13A2.006 2.006 0 0 1 5.754 10a1.942 1.942 0 0 1 1.01-1.733c.306-.17.65-.257 1-.255.261 0 .52.046.765.137.222.079.426.201.6.36l.44-1.043a3.471 3.471 0 0 0-1.817-.513 3.256 3.256 0 0 0-1.589.4 3.065 3.065 0 0 0-1.161 1.1c-.29.47-.44 1.014-.432 1.566A2.958 2.958 0 0 0 5 11.571c.28.466.68.85 1.157 1.112Z\"/><path d=\"M11.9 12.683a3.24 3.24 0 0 0 1.6.407c.327 0 .653-.045.968-.133.306-.082.598-.213.862-.388l-.43-1.035a1.51 1.51 0 0 1-.605.367 2.32 2.32 0 0 1-.764.13A2.005 2.005 0 0 1 11.5 10a1.943 1.943 0 0 1 1.01-1.733c.306-.17.65-.257 1-.255.261 0 .52.046.765.137.222.079.426.201.6.36l.44-1.043a3.471 3.471 0 0 0-1.815-.512 3.256 3.256 0 0 0-1.589.4 3.065 3.065 0 0 0-1.161 1.1c-.29.47-.44 1.014-.432 1.566a2.958 2.958 0 0 0 .426 1.557c.281.464.68.845 1.156 1.106Z\"/><path d=\"M17.875 2H2.125A1.127 1.127 0 0 0 1 3.125v13.75A1.127 1.127 0 0 0 2.125 18h15.75A1.127 1.127 0 0 0 19 16.875V3.125A1.127 1.127 0 0 0 17.875 2Zm-.125 14.75H2.25V3.25h15.5v13.5Z\"/></svg>',\n },\n 'code-block': {\n name: 'code-block',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 19H3a2 2 0 0 1-2-2v-6h2v6h14V3h-7V1h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2ZM7.828 7.828 6.414 6.414a2.047 2.047 0 0 1-2.828 0 2 2 0 0 1 0-2.828 2.047 2.047 0 0 1 2.828 0l1.414-1.414a4.093 4.093 0 0 0-5.656 0 4 4 0 1 0 5.656 5.656Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.371 19H2.629A1.63 1.63 0 0 1 1 17.371v-7.343h1.25v7.343a.378.378 0 0 0 .379.379h14.742a.377.377 0 0 0 .379-.379V2.629a.379.379 0 0 0-.379-.379h-7.329V1h7.329A1.631 1.631 0 0 1 19 2.629v14.742A1.63 1.63 0 0 1 17.371 19ZM7.563 7.563l-.884-.884a2.431 2.431 0 0 1-3.359 0 2.379 2.379 0 0 1 0-3.358 2.431 2.431 0 0 1 3.359 0l.884-.884a3.71 3.71 0 0 0-5.126 0 3.625 3.625 0 1 0 5.126 5.126Z\"/></svg>',\n },\n 'code-inline': {\n name: 'code-inline',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.786 18.543.182 10.575a1 1 0 0 1 0-1.15l5.604-7.968 1.639 1.149L2.227 10l5.198 7.394-1.639 1.149Zm7.32-5.749-1.275-1.275a2.202 2.202 0 0 1-3.04 0 2.15 2.15 0 0 1 0-3.038 2.203 2.203 0 0 1 3.04 0l1.276-1.275A3.956 3.956 0 0 0 6.355 10a3.95 3.95 0 0 0 2.442 3.651 3.958 3.958 0 0 0 4.31-.857Zm6.712-2.219a1 1 0 0 0 0-1.15l-5.604-7.968-1.635 1.149L17.776 10l-5.197 7.394 1.635 1.149 5.604-7.968Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.713 18.656.114 10.687a.622.622 0 0 1 0-.718L5.714 2l1.022.719-5.344 7.609 5.344 7.609-1.023.719Zm7.417-5.528-1.016-1.016a2.581 2.581 0 0 1-3.564 0 2.523 2.523 0 0 1 0-3.566 2.581 2.581 0 0 1 3.564 0l1.016-1.018a3.957 3.957 0 1 0 0 5.6Zm6.756-2.44a.622.622 0 0 0 0-.718l-5.6-7.969-1.021.719 5.346 7.608-5.343 7.609 1.022.719 5.596-7.968Z\"/></svg>',\n },\n 'coins-color-old': {\n name: 'coins-color-old',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.05 20V0h1.9c4.5 0 8.1 4.5 8.1 10s-3.6 10-8.1 10h-1.9z\"/><path fill-opacity=\".3\" d=\"M9.05 20V0h1.9c4.5 0 8.1 4.5 8.1 10s-3.6 10-8.1 10h-1.9z\"/><path d=\"M9.05 20c4.473 0 8.1-4.477 8.1-10S13.522 0 9.05 0C4.575 0 .95 4.477.95 10s3.626 10 8.1 10z\"/><path d=\"M11.55 14.1l-.6-1.9c-.2.2-.4.4-.7.5-.3.2-.6.3-1 .3-.5 0-.9-.1-1.3-.4-.4-.3-.7-.6-.9-1.1-.1-.5-.2-1-.2-1.5 0-.6.1-1.1.3-1.5.2-.4.414-.831.804-1.102A2.231 2.231 0 019.25 7c.3 0 .6.1.9.2.3.1.6.3.8.6l.6-1.9c-.4-.3-.7-.5-1.1-.6-.4-.1-.8-.2-1.2-.2-.7 0-1.4.2-2 .6-.6.4-1.1 1-1.5 1.8-.4.7-.6 1.6-.6 2.5 0 .9.2 1.8.6 2.5.4.8.9 1.3 1.5 1.8.6.4 1.3.6 2.1.6.4 0 .8-.1 1.2-.2.3-.1.7-.3 1-.6z\"/><defs><linearGradient id=\"paint0_linear_1608_18\" x1=\"11.628\" x2=\"11.628\" y1=\"0\" y2=\"20\" gradientUnits=\"userSpaceOnUse\"><stop offset=\".063\" stop-color=\"#fff\" stop-opacity=\"0\"/><stop offset=\".302\" stop-color=\"#fff\"/><stop offset=\".432\" stop-color=\"#fff\"/><stop offset=\".474\" stop-color=\"#fff\" stop-opacity=\"0\"/></linearGradient></defs></svg>',\n },\n coins: {\n name: 'coins',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.761 19.919A11.9 11.9 0 0 0 17.625 10 11.901 11.901 0 0 0 12.761.081C16.833.682 20 4.9 20 10c0 5.1-3.167 9.318-7.239 9.919ZM16.25 10c0 5.514-3.645 10-8.125 10S0 15.514 0 10 3.645 0 8.125 0s8.125 4.486 8.125 10Zm-5.613 4.129L10 12.245c-.18.249-.43.44-.717.548-.3.122-.619.185-.942.186-.45.004-.89-.133-1.257-.393A2.65 2.65 0 0 1 6.2 11.5a3.591 3.591 0 0 1-.319-1.53 3.4 3.4 0 0 1 .335-1.53 2.63 2.63 0 0 1 .9-1.049 2.166 2.166 0 0 1 1.224-.374c.309.002.614.064.9.181.296.115.553.312.74.568l.639-1.885a3.967 3.967 0 0 0-1.128-.6 3.615 3.615 0 0 0-3.225.428 4.423 4.423 0 0 0-1.514 1.76A5.582 5.582 0 0 0 4.188 10c-.012.872.18 1.735.564 2.519.34.71.86 1.32 1.511 1.764a3.635 3.635 0 0 0 2.065.634c.415 0 .827-.07 1.219-.207.392-.134.76-.33 1.09-.581Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.762 0H7.7v.026C3.419.3 0 4.662 0 10s3.419 9.7 7.7 9.974V20h4.06C16.305 20 20 15.514 20 10S16.305 0 11.762 0ZM1.25 10c0-4.825 3.084-8.75 6.875-8.75S15 5.175 15 10s-3.084 8.75-6.875 8.75S1.25 14.825 1.25 10Zm10.826 8.73A10.55 10.55 0 0 0 16.25 10a10.55 10.55 0 0 0-4.174-8.73c3.707.208 6.674 4.038 6.674 8.73s-2.967 8.522-6.674 8.73Zm-5.813-4.447a4.47 4.47 0 0 1-1.511-1.764A5.558 5.558 0 0 1 4.188 10a5.582 5.582 0 0 1 .564-2.531c.338-.71.86-1.317 1.511-1.758a3.615 3.615 0 0 1 3.229-.428c.406.137.787.34 1.128.6L9.977 7.77a1.664 1.664 0 0 0-.74-.568 2.415 2.415 0 0 0-.9-.181c-.436 0-.862.133-1.222.379a2.63 2.63 0 0 0-.9 1.049 3.4 3.4 0 0 0-.335 1.53A3.591 3.591 0 0 0 6.2 11.5c.192.433.497.807.883 1.082.367.26.807.397 1.257.393.323 0 .643-.064.942-.186a1.57 1.57 0 0 0 .718-.544l.639 1.884c-.33.251-.698.447-1.09.581a3.725 3.725 0 0 1-1.219.207 3.635 3.635 0 0 1-2.067-.634Z\"/></svg>',\n },\n 'collapse-left': {\n name: 'collapse-left',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9 3.375v5A.625.625 0 0 1 8.375 9h-5a.625.625 0 0 1-.442-1.067L4.726 6.14.714 2.127 2.128.713 6.14 4.726l1.793-1.793A.625.625 0 0 1 9 3.375Zm10.332 14.543-4.058-4.058 1.793-1.793A.626.626 0 0 0 16.625 11h-5a.625.625 0 0 0-.625.625v5a.626.626 0 0 0 1.067.442l1.793-1.793 4.058 4.058 1.414-1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.183 19.067 12.3 13.179v3.491h-1.25v-5a.625.625 0 0 1 .624-.625h5V12.3H13.18l5.887 5.888-.884.879ZM7.75 6.866 1.862.979l-.884.883L6.866 7.75H3.375V9h5A.625.625 0 0 0 9 8.375v-5H7.75v3.491Z\"/></svg>',\n },\n 'collapse-right': {\n name: 'collapse-right',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.067 7.933A.626.626 0 0 1 16.625 9h-5A.625.625 0 0 1 11 8.375v-5a.624.624 0 0 1 1.067-.442l1.793 1.793L17.872.713l1.414 1.414-4.012 4.013 1.793 1.793ZM8.375 11h-5a.625.625 0 0 0-.442 1.067l1.793 1.793-4.058 4.058 1.414 1.414 4.058-4.058 1.793 1.793A.626.626 0 0 0 9 16.625v-5A.625.625 0 0 0 8.375 11Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.954 11.67v5H7.7v-3.49l-5.883 5.887-.884-.884L6.82 12.3H3.329v-1.25h5a.625.625 0 0 1 .625.62Zm10.068-9.808-.884-.883-5.888 5.887V3.375H11v5a.625.625 0 0 0 .625.625h5V7.75h-3.491l5.888-5.888Z\"/></svg>',\n },\n 'collectible-expressions': {\n name: 'collectible-expressions',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"m7.115 7.822-.281.188-.316-.123a1.377 1.377 0 0 0-.5-.095A1.455 1.455 0 0 0 4.579 9.2a1.359 1.359 0 0 0 .6 1.142l.264.17.031.312c.184 1.846 2.172 3.29 4.526 3.29 2.354 0 4.332-1.437 4.523-3.272l.032-.3.248-.17a1.407 1.407 0 0 0-.016-2.337 1.311 1.311 0 0 0-1.26-.15l-.32.134-.29-.19a5.676 5.676 0 0 0-5.802-.007Zm-.194 2.187C6.633 8.5 9.164 8.261 9.058 9.8a.033.033 0 0 1-.052.021 1.9 1.9 0 0 0-2.015.25c-.043.03-.067-.027-.07-.062Zm6.526.052a.033.033 0 0 1-.025.02.033.033 0 0 1-.031-.01 1.9 1.9 0 0 0-2.017-.238c-.05.023-.059-.04-.053-.076.079-1.534 2.594-1.157 2.126.304Zm-1.715 1.044c.686.158.777.357.327.5a1.906 1.906 0 0 1-1.812 1.62c-1.154 0-2.349-1.5-1.8-1.78a5.827 5.827 0 0 1 3.285-.34Zm1.862-7.8a.913.913 0 1 1 .069.346.915.915 0 0 1-.069-.35v.004ZM20 6.941v6.118a3.612 3.612 0 0 1-1.952 3.214l-6.374 3.317a3.624 3.624 0 0 1-3.349 0L1.95 16.273A3.61 3.61 0 0 1 0 13.059V6.941a3.608 3.608 0 0 1 1.951-3.214L8.325.41a3.631 3.631 0 0 1 3.349 0l1.9.988c-.502.24-.89.667-1.084 1.188a3.8 3.8 0 0 0-2.8.993 2.159 2.159 0 0 0-.431 2.2 6.47 6.47 0 0 0-2.595.8A2.747 2.747 0 0 0 3.278 9.2a2.69 2.69 0 0 0 .944 2.047c.411 2.357 2.883 4.162 5.779 4.162s5.359-1.8 5.776-4.151a2.7 2.7 0 0 0-.258-4.3 2.638 2.638 0 0 0-2.161-.387 6.6 6.6 0 0 0-2.707-.8l-.129-.27a.883.883 0 0 1 .153-1.072 2.5 2.5 0 0 1 1.773-.538 2.145 2.145 0 0 0 4.209-.59 2.043 2.043 0 0 0-.032-.316l1.424.741A3.61 3.61 0 0 1 20 6.941Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M20 6.932v6.122a3.614 3.614 0 0 1-1.951 3.217l-6.374 3.32a3.627 3.627 0 0 1-3.349 0L1.95 16.27A3.613 3.613 0 0 1 0 13.054V6.932a3.614 3.614 0 0 1 1.951-3.218L8.325.396A3.612 3.612 0 0 1 11.3.254l-8.772 4.57A2.366 2.366 0 0 0 1.25 6.932v6.122a2.368 2.368 0 0 0 1.277 2.107l6.373 3.32a2.377 2.377 0 0 0 2.2 0l6.374-3.32a2.366 2.366 0 0 0 1.278-2.107V4.197A3.61 3.61 0 0 1 20 6.932ZM16.7 9.2a2.69 2.69 0 0 1-.94 2.045c-.41 2.345-2.876 4.143-5.753 4.143-2.877 0-5.352-1.8-5.757-4.153a2.696 2.696 0 0 1 2.418-4.647 6.425 6.425 0 0 1 2.624-.8 2.137 2.137 0 0 1 .416-2.201 3.791 3.791 0 0 1 2.8-.985 2.124 2.124 0 1 1-.041 1.253 2.541 2.541 0 0 0-1.813.548.908.908 0 0 0-.154 1.095l.135.286a6.553 6.553 0 0 1 2.72.807 2.613 2.613 0 0 1 2.15.383A2.69 2.69 0 0 1 16.7 9.2Zm-3.062-5.903a.875.875 0 1 0 .876-.875.876.876 0 0 0-.881.867l.005.008ZM15.45 9.2a1.443 1.443 0 0 0-.65-1.193 1.328 1.328 0 0 0-1.282-.154l-.309.13-.276-.184A5.704 5.704 0 0 0 7.1 7.792l-.272.181-.3-.118a1.404 1.404 0 0 0-.512-.1A1.478 1.478 0 0 0 4.555 9.2a1.387 1.387 0 0 0 .611 1.163l.254.163.03.3c.186 1.856 2.185 3.31 4.552 3.31 2.367 0 4.354-1.448 4.548-3.3l.03-.288.238-.163a1.442 1.442 0 0 0 .627-1.185h.005Zm-7 2.248c-.546.277.649 1.78 1.8 1.78a1.907 1.907 0 0 0 1.812-1.62c.45-.148.359-.349-.327-.507a5.815 5.815 0 0 0-3.291.344l.006.003Zm.562-1.631a.033.033 0 0 0 .052-.022c.106-1.54-2.425-1.3-2.137.21 0 .035.027.095.07.06a1.9 1.9 0 0 1 2.009-.251l.006.003Zm2.315-.064c-.006.035 0 .1.053.076a1.9 1.9 0 0 1 2.03.247.033.033 0 0 0 .043-.02c.462-1.47-2.053-1.842-2.132-.306l.006.003Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n },\n collection: {\n name: 'collection',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 8.614v8.773A1.616 1.616 0 0 1 18.386 19H1.614A1.616 1.616 0 0 1 0 17.387V8.614A1.616 1.616 0 0 1 1.614 7h16.772A1.616 1.616 0 0 1 20 8.614ZM17 4H3v2h14V4Zm-3-3H6v2h8V1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.386 19H1.614A1.616 1.616 0 0 1 0 17.387V8.614A1.616 1.616 0 0 1 1.614 7h16.772A1.616 1.616 0 0 1 20 8.614v8.773A1.616 1.616 0 0 1 18.386 19ZM1.614 8.25a.364.364 0 0 0-.364.364v8.773a.364.364 0 0 0 .364.363h16.772a.364.364 0 0 0 .364-.363V8.614a.364.364 0 0 0-.364-.364H1.614ZM17 4H3v1.25h14V4Zm-3-3H6v1.25h8V1Z\"/></svg>',\n },\n comment: {\n name: 'comment',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 1H3.625A2.629 2.629 0 0 0 1 3.625v9.75A2.63 2.63 0 0 0 3.625 16H7v3.147a.725.725 0 0 0 1.216.534l4-3.681h4.161A2.629 2.629 0 0 0 19 13.375v-9.75A2.63 2.63 0 0 0 16.375 1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.725 19.872a.718.718 0 0 1-.607-.328.725.725 0 0 1-.118-.397V16H3.625A2.63 2.63 0 0 1 1 13.375v-9.75A2.629 2.629 0 0 1 3.625 1h12.75A2.63 2.63 0 0 1 19 3.625v9.75A2.63 2.63 0 0 1 16.375 16h-4.161l-4 3.681a.725.725 0 0 1-.489.191ZM3.625 2.25A1.377 1.377 0 0 0 2.25 3.625v9.75a1.377 1.377 0 0 0 1.375 1.375h4a.625.625 0 0 1 .625.625v2.575l3.3-3.035a.628.628 0 0 1 .424-.165h4.4a1.377 1.377 0 0 0 1.375-1.375v-9.75a1.377 1.377 0 0 0-1.374-1.375H3.625Z\"/></svg>',\n },\n comments: {\n name: 'comments',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.625 7.959v5.36A2.98 2.98 0 0 1 1 10.349V4a2.985 2.985 0 0 1 2.958-3h8.084a2.969 2.969 0 0 1 2.92 2.625h-7a4.338 4.338 0 0 0-4.337 4.334ZM16.042 5H7.958A2.962 2.962 0 0 0 5 7.959V14a2.962 2.962 0 0 0 2.958 2.959h2.494l-.028 1.478a.719.719 0 0 0 .41.661l.46.158 2.727-2.3h2.021A2.963 2.963 0 0 0 19 14V7.959A2.962 2.962 0 0 0 16.042 5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.625 12.069v1.25A2.98 2.98 0 0 1 1 10.349V4a2.985 2.985 0 0 1 2.958-3h8.084a2.969 2.969 0 0 1 2.92 2.625h-1.255a1.72 1.72 0 0 0-1.665-1.375H3.958A1.734 1.734 0 0 0 2.25 4v6.345a1.746 1.746 0 0 0 1.375 1.724Zm10.4 4.89h2.021A2.962 2.962 0 0 0 19 14V7.959A2.962 2.962 0 0 0 16.042 5H7.958A2.962 2.962 0 0 0 5 7.959V14a2.962 2.962 0 0 0 2.958 2.959h2.494l-.028 1.478a.719.719 0 0 0 .41.661l.46.158 2.731-2.297ZM10.8 18.04h-.005.005Zm5.242-11.79a1.711 1.711 0 0 1 1.708 1.709V14a1.711 1.711 0 0 1-1.708 1.709h-2.478L11.7 17.283l.031-1.574H7.958A1.71 1.71 0 0 1 6.25 14V7.959A1.711 1.711 0 0 1 7.958 6.25h8.084Z\"/></svg>',\n },\n communities: {\n name: 'communities',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.806 16.25a10 10 0 1 0-1.403 1.43l2.187 2.15 1.403-1.429-2.187-2.151ZM13.133 6.04a2.453 2.453 0 1 1 0 4.905 2.453 2.453 0 0 1 0-4.905Zm-6.056 0a2.453 2.453 0 1 1 0 4.905 2.453 2.453 0 0 1 0-4.905ZM11.733 17.8a7.982 7.982 0 0 1-9.018-4.504 3.507 3.507 0 0 1 2.898-1.49h2.495a3.574 3.574 0 0 1 3.623 3.515l.002 2.48Zm1.503-.493v-1.986a4.946 4.946 0 0 0-1.477-3.515h2.247a3.628 3.628 0 0 1 3.139 1.796 8.065 8.065 0 0 1-3.909 3.705Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.937 19.672-2.27-2.23A9.917 9.917 0 0 1 10 20a10.032 10.032 0 0 1-7.419-3.297 1.976 1.976 0 0 1-.475-1.418 3.455 3.455 0 0 1 2.173-3.207c.426-.17.881-.255 1.34-.248h2.49a3.569 3.569 0 0 1 3.616 3.504v1.57h-1.25v-1.565a2.313 2.313 0 0 0-2.366-2.256h-2.49a2.243 2.243 0 0 0-2.098 1.388c-.113.275-.17.57-.167.868a.784.784 0 0 0 .143.52A8.778 8.778 0 0 0 10 18.752a8.694 8.694 0 0 0 6.234-2.607l.084-.085v-.72a2.235 2.235 0 0 0-2.218-2.256h-2.361v-1.248H14.1a3.492 3.492 0 0 1 3.464 3.504v1.237l2.245 2.206-.872.89ZM4.63 8.53a2.443 2.443 0 0 1 1.511-2.259A2.45 2.45 0 0 1 9.48 8.053a2.443 2.443 0 0 1-2.401 2.923A2.451 2.451 0 0 1 4.63 8.53Zm1.25 0a1.198 1.198 0 0 0 1.434 1.176 1.2 1.2 0 0 0 .875-1.634 1.2 1.2 0 0 0-2.309.458Zm4.794 0a2.443 2.443 0 0 1 1.511-2.259 2.45 2.45 0 0 1 3.338 1.782 2.443 2.443 0 0 1-2.401 2.923 2.451 2.451 0 0 1-2.448-2.446Zm1.25 0a1.197 1.197 0 0 0 1.434 1.176 1.2 1.2 0 0 0 .875-1.634 1.2 1.2 0 0 0-2.309.458ZM1.25 10.01A8.733 8.733 0 0 1 4.361 3.3a8.753 8.753 0 0 1 10.654-.48 8.745 8.745 0 0 1 3.702 6.406 8.732 8.732 0 0 1-.498 3.756l.714 1.498a9.98 9.98 0 0 0-2.62-12.237A10.005 10.005 0 0 0 .992 5.652a9.98 9.98 0 0 0-.103 8.454l.729-1.598a8.723 8.723 0 0 1-.368-2.497Z\"/></svg>',\n },\n community: {\n name: 'community',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0ZM8.016 8.633a1.616 1.616 0 0 0-.2.806V13.5H5.931V6.172h1.8v.9h.039a3.009 3.009 0 0 1 1.018-.732 3.45 3.45 0 0 1 1.449-.284c.246-.003.491.02.732.068.158.024.309.08.444.164l-.759 1.832a2.09 2.09 0 0 0-1.093-.26c-.33-.01-.658.062-.954.208a1.422 1.422 0 0 0-.591.565Zm2.9 6.918H9.355L14.7 2.633c.426.272.828.58 1.2.922l-4.984 11.996Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.875 7.614a2.055 2.055 0 0 0-.974.222 1.62 1.62 0 0 0-.879 1.46v4.2H6.409V6.2h1.552v.93H8c.275-.32.616-.575 1-.748.453-.207.947-.31 1.445-.3.243-.003.487.02.725.071.158.03.31.084.451.161l-.649 1.559a1.731 1.731 0 0 0-.523-.2 2.755 2.755 0 0 0-.574-.059ZM20 10A10 10 0 1 1 10 0a10.011 10.011 0 0 1 10 10Zm-1.25 0a8.722 8.722 0 0 0-2.841-6.435l-4.974 11.986H9.581l5.3-12.809A8.748 8.748 0 1 0 18.75 10Z\"/></svg>',\n },\n confidence: {\n name: 'confidence',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M20 10a9.993 9.993 0 0 1-17.57 6.522h2.954A8 8 0 1 0 3.3 5.642H1.01A9.994 9.994 0 0 1 20 10ZM5.916 13.673V8.327A1.315 1.315 0 0 0 4.616 7H.347l-.107.506a10.791 10.791 0 0 0 .929 7.145l.178.349h3.269a1.315 1.315 0 0 0 1.3-1.327Zm9.043-5.545a1.587 1.587 0 0 0-1.241-.6h-2.352l.683-1a2.174 2.174 0 0 0-.551-2.89l-.142-.1a1.073 1.073 0 0 0-1.485.217L7.087 7.39v7.117a3.748 3.748 0 0 0 1.666.406H12.8a1.61 1.61 0 0 0 1.558-1.259l.922-4.162a1.606 1.606 0 0 0-.321-1.364Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M20 10a9.99 9.99 0 0 1-17.564 6.522h1.751a8.745 8.745 0 1 0-1.764-10.88h-1.41A9.992 9.992 0 0 1 20 10ZM5.927 14.915h-4.58l-.178-.35A10.052 10.052 0 0 1 0 9.856c.002-.761.082-1.52.241-2.264l.108-.507h5.578a1.269 1.269 0 0 1 1.035.568l2.909-3.795a1.073 1.073 0 0 1 1.485-.217l.142.1a2.174 2.174 0 0 1 .551 2.89l-.683 1h2.352a1.587 1.587 0 0 1 1.241.6 1.606 1.606 0 0 1 .317 1.364l-.922 3.962a1.61 1.61 0 0 1-1.554 1.256H8.753a3.754 3.754 0 0 1-1.79-.467 1.268 1.268 0 0 1-1.036.569Zm1.3-5.537v3.639c.436.342.972.53 1.526.537H12.8a.344.344 0 0 0 .329-.272l.923-3.962a.364.364 0 0 0-.07-.3.334.334 0 0 0-.26-.126H9.938l-.244-.374a.708.708 0 0 1 .037-.728L11 5.947a.9.9 0 0 0-.234-1.18L7.227 9.378Zm-5.086 4.257h3.786l.02-.052V8.371H1.4a9.5 9.5 0 0 0-.119 1.485c0 1.308.293 2.6.86 3.779Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n },\n contest: {\n name: 'contest',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.523 10.947A4.989 4.989 0 0 0 20 6a2 2 0 0 0-2-2h-2V2.135A1.126 1.126 0 0 0 14.886 1H5.114A1.126 1.126 0 0 0 4 2.135V4H2a2 2 0 0 0-2 2 4.989 4.989 0 0 0 4.477 4.947A6.167 6.167 0 0 0 9 14.9V17H6v2h8v-2h-3v-2.1a6.166 6.166 0 0 0 4.523-3.953ZM18 6a2.994 2.994 0 0 1-2.021 2.822c.009-.156.021-.312.021-.47V6h2ZM2 6h2v2.352c0 .158.012.314.021.47A2.994 2.994 0 0 1 2 6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.757 10.211A4.615 4.615 0 0 0 20 5.625 1.627 1.627 0 0 0 18.375 4H16V2.135A1.126 1.126 0 0 0 14.886 1H5.114A1.126 1.126 0 0 0 4 2.135V4H1.625A1.627 1.627 0 0 0 0 5.625a4.615 4.615 0 0 0 4.243 4.586 6.219 6.219 0 0 0 5.132 4.753v2.786H6V19h8v-1.25h-3.375v-2.786a6.22 6.22 0 0 0 5.132-4.753Zm2.618-4.961a.375.375 0 0 1 .375.375 3.374 3.374 0 0 1-2.777 3.314c.016-.194.027-.389.027-.587V5.25h2.375ZM1.25 5.625a.375.375 0 0 1 .375-.375H4v3.1c0 .2.011.393.027.587A3.374 3.374 0 0 1 1.25 5.625Zm4 2.727V2.25h9.5v6.1c0 2.976-2.131 5.4-4.75 5.4s-4.75-2.422-4.75-5.398Z\"/></svg>',\n },\n controversial: {\n name: 'controversial',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 1.725v4.138l-.243.26L8.5 15.438l2.03 2.032-1.06 1.06-8-8 1.06-1.06 2.032 2.03 9.506-10.467.35-.033h3.857a.726.726 0 0 1 .725.725ZM5.06 16.058 3.5 14.5l-.442-.442-2 2a2.04 2.04 0 0 0 2.884 2.883l2-2-.884-.883Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.276 1H14.42l-.351.033-9.59 10.561-2.036-2.036-.884.884 8 8 .884-.884-2.036-2.036 10.35-9.4.244-.259V1.725A.726.726 0 0 0 18.276 1Zm-.525 4.348L7.52 14.636l-2.157-2.157L14.653 2.25h3.1l-.002 3.098ZM5.059 16.058l.884.884-2 2a2.04 2.04 0 0 1-2.884-2.883l2-2 .884.884-2 2a.792.792 0 0 0 0 1.117.812.812 0 0 0 1.116 0l2-2.002Z\"/></svg>',\n },\n conversion: {\n name: 'conversion',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m12.657 19.743 1.205-2.874 2.021 2.01a.7.7 0 0 0 .989 0l1.885-1.869a.7.7 0 0 0 .008-.989l-1.994-2.038 2.5-1.025a.7.7 0 0 0 .431-.646l-.046-.486L8.517 7.092a1.1 1.1 0 0 0-1.442 1.424l4.448 10.839a.7.7 0 0 0 .647.434l.487-.046ZM7.81 13.606l.963 2.353A7.303 7.303 0 0 1 8 16a8 8 0 1 1 8-8 8.08 8.08 0 0 1-.05.87l-2.338-.98a5.627 5.627 0 1 0-5.8 5.716H7.81ZM5.7 8.439l1.582 3.867a4.377 4.377 0 1 1 5.034-4.961l-3.91-1.637-.034-.008A2.09 2.09 0 0 0 5.7 8.439Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m6.758 11.034.585 1.43a4.53 4.53 0 1 1 5.13-5.052l-1.419-.594a3.276 3.276 0 1 0-4.3 4.216h.004Zm-3.53 1.738a6.75 6.75 0 1 1 9.545-9.544A6.7 6.7 0 0 1 14.75 8c0 .121-.01.24-.018.36l1.218.51a8 8 0 1 0-7.177 7.093l-.5-1.225a6.722 6.722 0 0 1-5.046-1.966Zm9.623 7.141 1.2-2.874 2.021 2.011a.7.7 0 0 0 .99 0l1.885-1.87a.7.7 0 0 0 .007-.989l-1.994-2.038 2.5-1.024a.7.7 0 0 0 .431-.647L19.852 12 8.712 7.262a1.1 1.1 0 0 0-1.443 1.424l4.448 10.84a.7.7 0 0 0 .646.433l.488-.046Zm4.913-7.436L14.772 13.7l2.912 2.977-1.112 1.1-2.95-2.938-1.25 2.981-3.759-9.178 9.151 3.835Z\"/></svg>',\n },\n 'copy-clipboard': {\n name: 'copy-clipboard',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 14.475h2v3.4A1.127 1.127 0 0 1 11.875 19h-9.75A1.127 1.127 0 0 1 1 17.875v-9.75A1.127 1.127 0 0 1 2.125 7h3.4v2H3v8h8v-2.525Zm8-12.35v9.75A1.126 1.126 0 0 1 17.875 13h-9.75A1.126 1.126 0 0 1 7 11.875v-9.75A1.127 1.127 0 0 1 8.125 1h9.75A1.127 1.127 0 0 1 19 2.125ZM9 3v8h8V3H9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.875 1h-9.75A1.127 1.127 0 0 0 7 2.125v9.75A1.126 1.126 0 0 0 8.125 13h9.75A1.126 1.126 0 0 0 19 11.875v-9.75A1.127 1.127 0 0 0 17.875 1Zm-.125 10.75h-9.5v-9.5h9.5v9.5Zm-6 2.716H13v3.409A1.127 1.127 0 0 1 11.875 19h-9.75A1.127 1.127 0 0 1 1 17.875v-9.75A1.127 1.127 0 0 1 2.125 7h3.409v1.25H2.25v9.5h9.5v-3.284Z\"/></svg>',\n },\n crop: {\n name: 'crop',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 14H6V8H4v6.5A1.5 1.5 0 0 0 5.5 16H14v3h2v-3h3v-2Z\"/><path d=\"M14 12h2V5.5A1.5 1.5 0 0 0 14.5 4H6V1H4v3H1v2h13v6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.925 16H16v2.925h-1.25V16H5.125A1.127 1.127 0 0 1 4 14.875v-8.5h1.25v8.375h13.675V16Zm-4.175-2.375H16v-8.5A1.127 1.127 0 0 0 14.875 4H5.25V1.075H4V4H1.075v1.25H14.75v8.375Z\"/></svg>',\n },\n crosspost: {\n name: 'crosspost',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.884 14.538-2.784-2.96a.575.575 0 0 0-.919.097.63.63 0 0 0-.098.344v1.98H12a4.288 4.288 0 0 1-4.5-4.024v-.062C7.5 7.756 9.519 6 12 6h3.082v2.025a.63.63 0 0 0 .368.579.577.577 0 0 0 .649-.14L18.89 5.5a.756.756 0 0 0-.011-1.02l-2.785-2.9a.574.574 0 0 0-.646-.133.627.627 0 0 0-.366.577V4H12a6.351 6.351 0 0 0-6.427 5.025H1V11h4.6a6.385 6.385 0 0 0 6.4 5h3.083v2.019a.627.627 0 0 0 .366.577.573.573 0 0 0 .647-.133l2.777-2.894a.841.841 0 0 0 .21-.517.854.854 0 0 0-.199-.514Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m15.944 11.926-.888.879 1.925 1.945H12A4.873 4.873 0 0 1 7.138 10 4.873 4.873 0 0 1 12 5.25h4.971l-1.915 1.936.888.878L18.875 5.1a.727.727 0 0 0-.007-1.025l-2.929-2.9-.878.888L17.011 4H12a6.128 6.128 0 0 0-6.056 5.25H1v1.625h4.981A6.117 6.117 0 0 0 12 16h5l-1.94 1.92.878.89 2.929-2.9a.726.726 0 0 0 .006-1.025l-2.929-2.96Z\"/></svg>',\n },\n 'crowd-control': {\n name: 'crowd-control',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.882 14h-1.926l-.825-2.566-.965-3-.965-3L11.9 1.386a2 2 0 0 0-3.8 0L6.8 5.434l-.965 3-.965 3L4.044 14H2.118A1.099 1.099 0 0 0 1 15.083v2.834A1.1 1.1 0 0 0 2.118 19h15.764A1.101 1.101 0 0 0 19 17.917v-2.834A1.1 1.1 0 0 0 17.882 14Zm-6.2-7.75L12.244 8H7.972l.563-1.75h3.147Zm1.928 6 .563 1.75H6.044l.562-1.75h7.004Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.882 14h-1.926L11.9 1.386a2 2 0 0 0-3.8 0L4.044 14H2.118A1.099 1.099 0 0 0 1 15.083v2.834A1.1 1.1 0 0 0 2.118 19h15.764A1.101 1.101 0 0 0 19 17.917v-2.834A1.1 1.1 0 0 0 17.882 14Zm-5.168-6H7.286l.562-1.75h4.3L12.714 8Zm.4 1.25.564 1.75H6.322l.562-1.75h6.23ZM9.289 1.769a.747.747 0 0 1 1.422 0L11.75 5h-3.5l1.039-3.231ZM5.92 12.25h8.16l.562 1.75H5.358l.562-1.75Zm11.83 5.5H2.25v-2.5h15.5v2.5Z\"/></svg>',\n },\n 'custom-feed': {\n name: 'custom-feed',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 15.375V16A1.627 1.627 0 0 1 1 14.375V2.624A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.624H5.629a3.008 3.008 0 0 0-3 3l-.004 9.751ZM19 5.625v11.75A1.627 1.627 0 0 1 17.375 19H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625Zm-3 4.855a2.7 2.7 0 0 0-2.664-2.73 2.629 2.629 0 0 0-1.836.761 2.629 2.629 0 0 0-1.836-.761A2.7 2.7 0 0 0 7 10.48c0 3.056 4.009 5.488 4.18 5.589l.32.193.32-.193c.171-.101 4.18-2.533 4.18-5.589Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m11.5 16.262-.32-.193C11.009 15.968 7 13.536 7 10.48a2.7 2.7 0 0 1 2.664-2.73 2.629 2.629 0 0 1 1.836.761 2.629 2.629 0 0 1 1.836-.761A2.7 2.7 0 0 1 16 10.48c0 3.056-4.009 5.488-4.18 5.589l-.32.193ZM9.664 9a1.45 1.45 0 0 0-1.414 1.48c0 1.769 2.112 3.55 3.249 4.312 1.138-.764 3.251-2.548 3.251-4.312A1.45 1.45 0 0 0 13.336 9a1.4 1.4 0 0 0-1.269.84l-.567 1.228-.567-1.228A1.4 1.4 0 0 0 9.664 9Zm7.711 10H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625v11.75A1.627 1.627 0 0 1 17.375 19ZM5.625 5.25a.375.375 0 0 0-.375.375v11.75a.375.375 0 0 0 .375.375h11.75a.375.375 0 0 0 .375-.375V5.625a.375.375 0 0 0-.375-.375H5.625Zm-3 9.5a.375.375 0 0 1-.375-.375V2.624a.375.375 0 0 1 .375-.374h11.75a.375.375 0 0 1 .375.374H16A1.627 1.627 0 0 0 14.375 1H2.625A1.627 1.627 0 0 0 1 2.624v11.751A1.627 1.627 0 0 0 2.625 16v-1.25Z\"/></svg>',\n },\n customize: {\n name: 'customize',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.638 3.799a1.14 1.14 0 0 0-1.873-.4l-2.933 2.934a.843.843 0 0 1-1.166 0 .82.82 0 0 1 0-1.164L16.6 2.234a1.138 1.138 0 0 0 .307-1.053A1.124 1.124 0 0 0 16.2.36a5.49 5.49 0 0 0-3.615-.105A5.827 5.827 0 0 0 8.543 5.03a5.701 5.701 0 0 0 .182 2.28L.872 15.17a2.8 2.8 0 1 0 3.958 3.96l7.858-7.854c.74.216 1.516.279 2.28.185a5.825 5.825 0 0 0 4.775-4.04 5.483 5.483 0 0 0-.105-3.621Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.826 19.974a2.8 2.8 0 0 1-1.979-4.78L8.7 7.337a5.7 5.7 0 0 1-.186-2.28A5.827 5.827 0 0 1 12.56.282a5.491 5.491 0 0 1 3.615.105 1.124 1.124 0 0 1 .707.819 1.14 1.14 0 0 1-.307 1.053l-2.934 2.935a.82.82 0 0 0 0 1.164.843.843 0 0 0 1.166 0l2.933-2.933a1.14 1.14 0 0 1 1.052-.308 1.127 1.127 0 0 1 .821.708 5.483 5.483 0 0 1 .105 3.616 5.825 5.825 0 0 1-4.774 4.04 5.687 5.687 0 0 1-2.28-.185l-7.859 7.857a2.778 2.778 0 0 1-1.979.821Zm11.4-18.7c-.44.001-.88.068-1.3.2a4.554 4.554 0 0 0-3.167 3.73A4.5 4.5 0 0 0 10 7.3l.135.373-8.404 8.406a1.547 1.547 0 0 0 0 2.19 1.587 1.587 0 0 0 2.19 0l8.41-8.41.374.135a4.468 4.468 0 0 0 2.088.246 4.561 4.561 0 0 0 3.73-3.167 4.256 4.256 0 0 0-.023-2.642l-2.81 2.812a2.123 2.123 0 0 1-2.933 0 2.07 2.07 0 0 1 0-2.932L15.57 1.5a4.249 4.249 0 0 0-1.344-.223l.001-.003Z\"/></svg>',\n },\n dashboard: {\n name: 'dashboard',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 16v2H1V2h2v14h16ZM9.082 9.445l3 3.146 3.932-4.126L16 10.99l1.979.01L18 6.091A1.086 1.086 0 0 0 16.909 5h-4.9L12 6.982l2.65.012-2.571 2.7-1.55-1.626a2.009 2.009 0 0 0-2.841-.008l-3.583 3.67 1.432 1.4 3.545-3.685Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.25 2v14.66H19v1.25H1V2h1.25Z\"/><path d=\"M13 6.25 13.007 5h4.311a.679.679 0 0 1 .682.682L17.978 10l-1.25-.006.014-2.822-4.289 4.5-2.726-2.861a.34.34 0 0 0-.5 0l-4.488 4.71-.9-.862 4.488-4.71a1.592 1.592 0 0 1 2.306 0l1.821 1.916 3.426-3.6L13 6.25Z\"/></svg>',\n },\n day: {\n name: 'day',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3 11H0V9h3v2Zm14-2v2h3V9h-3Zm-6-9H9v3h2V0ZM9 20h2v-3H9v3ZM5.758 4.343 3.636 2.222 2.222 3.636l2.122 2.121 1.414-1.414Zm8.485 11.314 2.121 2.121 1.414-1.414-2.121-2.121-1.414 1.414Zm3.535-12.021-1.414-1.414-2.122 2.121 1.414 1.414 2.122-2.121ZM2.222 16.364l1.414 1.414 2.121-2.121-1.414-1.414-2.121 2.121ZM10 4.875a5.125 5.125 0 1 0 0 10.25 5.125 5.125 0 0 0 0-10.25Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3 10.625H0v-1.25h3v1.25Zm17-1.25h-3v1.25h3v-1.25ZM10.625 0h-1.25v3h1.25V0Zm0 17h-1.25v3h1.25v-3ZM5.492 4.608 3.37 2.487l-.883.884 2.122 2.121.883-.884Zm12.022 12.021-2.121-2.121-.885.884 2.121 2.121.885-.884Zm0-13.258-.883-.884-2.123 2.121.883.884 2.123-2.121ZM5.492 15.392l-.885-.884-2.121 2.121.885.884 2.121-2.121ZM15 10a5 5 0 1 0-9.999 0A5 5 0 0 0 15 10Zm-1.25 0a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z\"/></svg>',\n },\n 'delete-column': {\n name: 'delete-column',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4 1v18H2.623A1.625 1.625 0 0 1 1 17.377V2.623A1.625 1.625 0 0 1 2.623 1H4Zm13.377 0H16v18h1.377A1.624 1.624 0 0 0 19 17.377V2.623A1.625 1.625 0 0 0 17.377 1ZM14.65 1v18h-9.3V1h9.3Zm-3.66 9 2.334-2.333-.991-.99L10 9.01 7.667 6.677l-.991.99L9.01 10l-2.334 2.333.991.99L10 10.99l2.333 2.333.991-.99L10.99 10Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.377 1H2.623A1.625 1.625 0 0 0 1 2.623v14.754A1.625 1.625 0 0 0 2.623 19h14.754A1.624 1.624 0 0 0 19 17.377V2.623A1.625 1.625 0 0 0 17.377 1ZM14.75 2.25v15.5h-9.5V2.25h9.5ZM2.25 17.377V2.623a.373.373 0 0 1 .373-.373H4v15.5H2.623a.373.373 0 0 1-.373-.373Zm15.5 0a.373.373 0 0 1-.373.373H16V2.25h1.377a.373.373 0 0 1 .373.373v14.754ZM9.116 10 6.729 7.614l.884-.885L10 9.116l2.387-2.387.884.885L10.884 10l2.387 2.386-.884.885L10 10.884l-2.387 2.387-.884-.885L9.116 10Z\"/></svg>',\n },\n delete: {\n name: 'delete',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.375 2.983A3.108 3.108 0 0 0 13.369.826a3.147 3.147 0 0 0-2.244-.824h-2.25a3.148 3.148 0 0 0-2.244.824 3.108 3.108 0 0 0-1.006 2.157H2v1.988h16V2.983h-3.625Zm-5.5-.993h2.25c.297-.03.595.059.828.244.234.186.385.454.422.75h-4.75c.037-.296.189-.564.422-.75.233-.185.53-.273.828-.244ZM3.025 6.46h13.95l-.737 11.013a2.554 2.554 0 0 1-.717 1.741A2.586 2.586 0 0 1 13.8 20H6.2a2.585 2.585 0 0 1-1.718-.783 2.553 2.553 0 0 1-.719-1.737L3.025 6.461Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.751 6.023 17 6.106l-.761 11.368a2.554 2.554 0 0 1-.718 1.741A2.586 2.586 0 0 1 13.8 20H6.2a2.585 2.585 0 0 1-1.718-.783 2.553 2.553 0 0 1-.719-1.737L3 6.106l1.248-.083.761 11.369c-.005.333.114.656.333.908.22.252.525.415.858.458h7.6c.333-.043.64-.207.859-.46.22-.254.338-.578.332-.912l.76-11.363ZM18 2.983v1.243H2V2.983h4v-.372A2.737 2.737 0 0 1 6.896.718 2.772 2.772 0 0 1 8.875.002h2.25c.729-.03 1.44.227 1.979.716.538.488.86 1.169.896 1.893v.372h4Zm-10.75 0h5.5v-.372a1.505 1.505 0 0 0-.531-1.014 1.524 1.524 0 0 0-1.094-.352h-2.25c-.397-.03-.79.097-1.094.352-.304.256-.495.62-.531 1.014v.372Z\"/></svg>',\n },\n 'delete-row': {\n name: 'delete-row',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 4H1V2.623A1.625 1.625 0 0 1 2.623 1h14.754A1.625 1.625 0 0 1 19 2.623V4Zm0 13.377V16H1v1.377A1.625 1.625 0 0 0 2.623 19h14.754A1.624 1.624 0 0 0 19 17.377Zm0-2.727H1v-9.3h18v9.3Zm-9-3.66 2.333 2.334.99-.991L10.99 10l2.333-2.333-.99-.991L10 9.01 7.667 6.676l-.99.991L9.01 10l-2.333 2.333.99.991L10 10.99Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 17.377V2.623A1.625 1.625 0 0 0 17.377 1H2.623A1.625 1.625 0 0 0 1 2.623v14.754A1.625 1.625 0 0 0 2.623 19h14.754A1.624 1.624 0 0 0 19 17.377Zm-1.25-2.627H2.25v-9.5h15.5v9.5ZM2.623 2.25h14.754a.373.373 0 0 1 .373.373V4H2.25V2.623a.373.373 0 0 1 .373-.373Zm0 15.5a.373.373 0 0 1-.373-.373V16h15.5v1.377a.373.373 0 0 1-.373.373H2.623ZM10 9.116l2.386-2.387.885.884L10.884 10l2.387 2.387-.885.884L10 10.884l-2.386 2.387-.885-.884L9.116 10 6.729 7.613l.885-.884L10 9.116Z\"/></svg>',\n },\n devvit: {\n name: 'devvit',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.215 7.357 2.438 5.141a.532.532 0 0 1 .009-.924L9.746.132a.629.629 0 0 1 .612 0l7.3 4.086a.531.531 0 0 1 .01.923L13.89 7.357l-3.564-2.063a.547.547 0 0 0-.548 0L6.215 7.357ZM5.8 12.843a.8.8 0 0 1-.4-.7V8.619L1.854 6.537a.533.533 0 0 0-.8.46v7.738a.626.626 0 0 0 .319.545l7.137 3.995a.532.532 0 0 0 .792-.464v-3.943L5.8 12.843Zm8.85-.743a.8.8 0 0 1-.4.7l-3.5 2.025v3.943a.531.531 0 0 0 .792.464l7.139-3.995a.624.624 0 0 0 .319-.554V6.945a.531.531 0 0 0-.8-.459l-3.55 2.082V12.1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M18.992 5.282A.614.614 0 0 0 18.915 5a.611.611 0 0 0-.212-.208c-.009 0-.012-.016-.021-.021L10.306.081a.618.618 0 0 0-.612 0L1.319 4.768c-.008 0-.012.015-.02.02A.608.608 0 0 0 1.086 5a.613.613 0 0 0-.077.283c0 .011-.008.02-.008.031v9.375a.623.623 0 0 0 .319.545l8.374 4.686c.009 0 .019 0 .028.008a.573.573 0 0 0 .556 0c.009-.005.019 0 .028-.008l8.375-4.687a.623.623 0 0 0 .319-.545V5.313c0-.013-.008-.02-.008-.031ZM10 1.341l7.118 3.985-2.556 1.5-3.824-2.054a1.55 1.55 0 0 0-1.475 0L5.438 6.826l-2.556-1.5L10 1.341Zm.145 12.788a.306.306 0 0 1-.291 0l-3.8-2.044V7.917l3.801-2.045a.306.306 0 0 1 .291 0l3.8 2.044v4.167l-3.801 2.046ZM2.25 6.4 4.8 7.9v4.558a.626.626 0 0 0 .329.551l4.133 2.22c.037.017.075.031.113.044v3.037L2.25 14.322V6.4Zm8.375 11.91v-3.036c.037-.017.076-.025.112-.044l4.134-2.221a.627.627 0 0 0 .329-.551V7.9l2.55-1.5v7.918l-7.125 3.992Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n },\n discover: {\n name: 'discover',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.206.368a9.625 9.625 0 1 0 9.625 9.625A9.636 9.636 0 0 0 10.206.368Zm4.033 6.418-2.379 4.621a.633.633 0 0 1-.269.27l-4.62 2.379a.625.625 0 0 1-.843-.842l2.38-4.621a.632.632 0 0 1 .268-.27L13.4 5.944a.625.625 0 0 1 .842.842h-.003Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.206 19.618a9.625 9.625 0 1 1 9.625-9.625 9.635 9.635 0 0 1-9.625 9.625Zm0-18a8.375 8.375 0 1 0 8.375 8.375 8.384 8.384 0 0 0-8.375-8.375Z\"/><path d=\"M6.684 14.125a.624.624 0 0 1-.556-.911l2.38-4.621a.632.632 0 0 1 .268-.27L13.4 5.944a.625.625 0 0 1 .842.842l-2.382 4.621a.633.633 0 0 1-.269.27l-4.62 2.379a.621.621 0 0 1-.287.069Zm2.842-4.782-1.393 2.708 2.708-1.394 1.393-2.708-2.708 1.394Z\"/></svg>',\n },\n 'dismiss-all': {\n name: 'dismiss-all',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 11H3V9h14v2Zm2-9H5v2h14V2Zm-4 14H1v2h14v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 10.625H3v-1.25h14v1.25Zm2-7.875H5V4h14V2.75ZM15 16H1v1.25h14V16Z\"/></svg>',\n },\n distinguish: {\n name: 'distinguish',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a.724.724 0 0 1-.7-.532A12.693 12.693 0 0 0 .53 10.7a.73.73 0 0 1 0-1.4A12.7 12.7 0 0 0 9.3.529a.729.729 0 0 1 1.4 0A12.692 12.692 0 0 0 19.471 9.3a.73.73 0 0 1 0 1.4 12.7 12.7 0 0 0-8.769 8.77A.723.723 0 0 1 10 20Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a.724.724 0 0 1-.7-.532A12.693 12.693 0 0 0 .53 10.7a.73.73 0 0 1 0-1.4A12.7 12.7 0 0 0 9.3.529a.729.729 0 0 1 1.4 0A12.692 12.692 0 0 0 19.471 9.3a.73.73 0 0 1 0 1.4 12.7 12.7 0 0 0-8.769 8.77A.723.723 0 0 1 10 20ZM2.31 10A13.9 13.9 0 0 1 10 17.691 13.9 13.9 0 0 1 17.691 10a13.9 13.9 0 0 1-7.69-7.691A13.9 13.9 0 0 1 2.308 10Z\"/></svg>',\n },\n 'down-arrow': {\n name: 'down-arrow',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.75.75v15.086l7.293-7.293 1.414 1.414-9 9a1 1 0 0 1-1.414 0l-9-9 1.414-1.414 7.293 7.293V.75h2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m10.134 19.13 9-9-.884-.885-7.933 7.933V.688h-1.25v16.49L1.134 9.245l-.884.884 9 9a.624.624 0 0 0 .884 0Z\"/></svg>',\n },\n down: {\n name: 'down',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 16a1 1 0 0 1-.707-.293l-9-9 1.414-1.414L10 13.586l8.293-8.293 1.414 1.414-9 9A1 1 0 0 1 10 16Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 15.625a.624.624 0 0 1-.442-.183l-9-9 .884-.884L10 14.116l8.558-8.558.884.884-9 9a.624.624 0 0 1-.442.183Z\"/></svg>',\n },\n download: {\n name: 'download',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 11v5a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3v-5h2v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5h2Zm-9.415 3.958H10l.484-.029 4.223-4.222-1.414-1.414L11 11.586V1H9v10.586L6.707 9.293l-1.414 1.414 3.929 3.929.363.322Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 11v5.373A2.63 2.63 0 0 1 16.373 19H3.627A2.629 2.629 0 0 1 1 16.373V11h1.25v5.373a1.379 1.379 0 0 0 1.377 1.377h12.746a1.379 1.379 0 0 0 1.377-1.377V11H19Zm-9.259 3.583H10l.33-.029 4.112-4.112-.884-.884-2.933 2.933V1h-1.25v11.491L6.442 9.558l-.884.884 3.929 3.929.254.212Z\"/></svg>',\n },\n downvote: {\n name: 'downvote',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.88 9.7a1.114 1.114 0 0 0-1.006-.7H14V2.123A1.125 1.125 0 0 0 12.877 1H7.123A1.125 1.125 0 0 0 6 2.123V9H2.123a1.114 1.114 0 0 0-1.005.7 1.25 1.25 0 0 0 .176 1.348l7.872 8.581a1.124 1.124 0 0 0 1.667.003l7.876-8.589A1.248 1.248 0 0 0 18.88 9.7Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a1.122 1.122 0 0 1-.834-.372l-7.872-8.581A1.251 1.251 0 0 1 1.118 9.7 1.114 1.114 0 0 1 2.123 9H6V2.123A1.125 1.125 0 0 1 7.123 1h5.754A1.125 1.125 0 0 1 14 2.123V9h3.874a1.114 1.114 0 0 1 1.007.7 1.25 1.25 0 0 1-.171 1.345l-7.876 8.589A1.128 1.128 0 0 1 10 20Zm-7.684-9.75L10 18.69l7.741-8.44H12.75v-8h-5.5v8H2.316Zm15.469-.05c-.01 0-.014.007-.012.013l.012-.013Z\"/></svg>',\n },\n downvotes: {\n name: 'downvotes',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m5.99 10.108 3.957 4.544-2.594 3.026a1.125 1.125 0 0 1-1.71 0L.379 11.534a.876.876 0 0 1 .664-1.445h3.032V5.182a1.127 1.127 0 0 1 1.125-1.125h2.6a1.127 1.127 0 0 1 1.125 1.125V6.8H7.499a2 2 0 0 0-1.508 3.313v-.005Zm13.76-1.567a.867.867 0 0 0-.794-.509h-3.032V3.125A1.127 1.127 0 0 0 14.799 2h-2.6a1.127 1.127 0 0 0-1.125 1.125v4.907H8.042a.876.876 0 0 0-.664 1.445l5.266 6.143a1.126 1.126 0 0 0 1.709 0l5.268-6.145a.867.867 0 0 0 .129-.934Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m9.117 13.7.83.953-2.594 3.025a1.125 1.125 0 0 1-1.71 0L.379 11.534a.876.876 0 0 1 .664-1.445h3.032V5.182a1.127 1.127 0 0 1 1.125-1.125h2.6a1.127 1.127 0 0 1 1.125 1.125V6.8h-1.25V5.307h-2.35v6.032H1.857l4.642 5.414L9.117 13.7Zm5.236 1.922 5.268-6.145a.876.876 0 0 0-.665-1.444h-3.032V3.125A1.127 1.127 0 0 0 14.799 2h-2.6a1.127 1.127 0 0 0-1.125 1.125v4.907H8.042a.876.876 0 0 0-.664 1.445l5.266 6.143a1.126 1.126 0 0 0 1.709 0v.002Zm-2.03-6.34V3.25h2.35v6.032h3.467L13.499 14.7 8.858 9.282h3.466Z\"/></svg>',\n },\n drag: {\n name: 'drag',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.75 3a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm5.75-1.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-7 7a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm7 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-7 7a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm7 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.75 3a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm5.75-1.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-7 7a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm7 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-7 7a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm7 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Z\"/></svg>',\n },\n drugs: {\n name: 'drugs',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.935 8.191c.29.524.43 1.117.407 1.715.021.607-.12 1.21-.407 1.744-.236.43-.586.784-1.012 1.026a2.5 2.5 0 0 1-1.2.328h-1.45V6.92h1.45c.418.004.83.107 1.2.3.424.22.775.557 1.012.971ZM19 5.625v8.75A4.631 4.631 0 0 1 14.375 19h-8.75A4.631 4.631 0 0 1 1 14.375v-8.75A4.631 4.631 0 0 1 5.625 1h8.75A4.631 4.631 0 0 1 19 5.625Zm-4.416 4.268a4.975 4.975 0 0 0-.732-2.776 4.475 4.475 0 0 0-1.893-1.657 5.83 5.83 0 0 0-2.475-.536H6.031V15h3.631a5.127 5.127 0 0 0 2.393-.585c.76-.398 1.393-1 1.828-1.739.487-.845.73-1.808.701-2.783Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.484 4.924a5.83 5.83 0 0 1 2.475.536c.777.36 1.433.935 1.893 1.657.511.833.766 1.799.732 2.776a5.272 5.272 0 0 1-.7 2.783 4.591 4.591 0 0 1-1.828 1.739A5.128 5.128 0 0 1 9.662 15H6.031V4.924h3.453ZM9.723 13a2.5 2.5 0 0 0 1.2-.328 2.641 2.641 0 0 0 1.012-1.026 3.425 3.425 0 0 0 .407-1.744 3.274 3.274 0 0 0-.407-1.715 2.48 2.48 0 0 0-1.009-.97 2.663 2.663 0 0 0-1.2-.3H8.273V13h1.45Zm4.652 6h-8.75A4.631 4.631 0 0 1 1 14.375v-8.75A4.631 4.631 0 0 1 5.625 1h8.75A4.631 4.631 0 0 1 19 5.625v8.75A4.631 4.631 0 0 1 14.375 19ZM5.625 2.25A3.379 3.379 0 0 0 2.25 5.625v8.75a3.379 3.379 0 0 0 3.375 3.375h8.75a3.38 3.38 0 0 0 3.375-3.375v-8.75a3.38 3.38 0 0 0-3.375-3.375h-8.75Z\"/></svg>',\n },\n duplicate: {\n name: 'duplicate',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 15h2v2.875A1.127 1.127 0 0 1 11.875 19h-9.75A1.127 1.127 0 0 1 1 17.875v-9.75A1.127 1.127 0 0 1 2.125 7H5v2H3v8h8v-2Zm8-12.875v9.75A1.126 1.126 0 0 1 17.875 13h-9.75A1.126 1.126 0 0 1 7 11.875v-9.75A1.127 1.127 0 0 1 8.125 1h9.75A1.127 1.127 0 0 1 19 2.125ZM9 3v8h8V3H9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.875 13h-9.75A1.126 1.126 0 0 1 7 11.875v-9.75A1.127 1.127 0 0 1 8.125 1h9.75A1.127 1.127 0 0 1 19 2.125v9.75A1.126 1.126 0 0 1 17.875 13ZM8.25 11.75h9.5v-9.5h-9.5v9.5ZM13 17.875v-3.409h-1.25v3.284h-9.5v-9.5h3.284V7H2.125A1.127 1.127 0 0 0 1 8.125v9.75A1.127 1.127 0 0 0 2.125 19h9.75A1.127 1.127 0 0 0 13 17.875Z\"/></svg>',\n },\n edit: {\n name: 'edit',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.279 7.825-5.107-5.107 1-.978a2.615 2.615 0 0 1 3.667.021l1.4 1.4a2.616 2.616 0 0 1 .02 3.668l-.98.996ZM1.336 13.318a1.129 1.129 0 0 0-.336.8v3.757A1.122 1.122 0 0 0 2.121 19h3.757a1.131 1.131 0 0 0 .8-.337l9.2-9.406-5.136-5.141-9.406 9.202Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.236 3.158-1.4-1.4a2.615 2.615 0 0 0-3.667-.021L1.336 13.318a1.129 1.129 0 0 0-.336.8v3.757A1.122 1.122 0 0 0 2.121 19h3.757a1.131 1.131 0 0 0 .8-.337L18.256 6.826a2.616 2.616 0 0 0-.02-3.668ZM5.824 17.747H2.25v-3.574l9.644-9.435L15.259 8.1l-9.435 9.647ZM17.363 5.952l-1.23 1.257-3.345-3.345 1.257-1.23a1.362 1.362 0 0 1 1.91.01l1.4 1.4a1.364 1.364 0 0 1 .008 1.908Z\"/></svg>',\n },\n effect: {\n name: 'effect',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m8.94 7.118 3.942 3.942-8.458 8.457a1.65 1.65 0 0 1-2.334 0l-1.607-1.61a1.652 1.652 0 0 1 0-2.333L8.94 7.118Zm8.253-2.703-1.608-1.61a1.65 1.65 0 0 0-2.334 0l-2.875 2.877 3.942 3.942 2.877-2.878a1.652 1.652 0 0 0 0-2.331h-.002ZM7.951.507V0H6.682v.507a1.397 1.397 0 0 1-1.395 1.395H4.78v1.269h.507a1.397 1.397 0 0 1 1.395 1.395v.507h1.269v-.507a1.397 1.397 0 0 1 1.395-1.395h.507V1.902h-.507A1.397 1.397 0 0 1 7.95.507Zm11.745.38a.585.585 0 0 1-.584-.583V0h-1.268v.304a.584.584 0 0 1-.584.584h-.304v1.268h.304a.584.584 0 0 1 .584.584v.304h1.268V2.74a.584.584 0 0 1 .584-.584H20V.888h-.304Zm-1.599 9.564v-.304H16.83v.304a.584.584 0 0 1-.583.583h-.305v1.269h.305a.585.585 0 0 1 .583.583v.305h1.268v-.305a.584.584 0 0 1 .584-.583h.304v-1.269h-.304a.584.584 0 0 1-.584-.583Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.945 4.648 15.36 3.063a1.626 1.626 0 0 0-2.3 0L.476 15.64a1.626 1.626 0 0 0 0 2.3l1.585 1.584a1.627 1.627 0 0 0 2.3 0l12.585-12.58a1.626 1.626 0 0 0 0-2.296ZM3.476 18.638a.377.377 0 0 1-.53 0L1.36 17.053a.375.375 0 0 1 0-.53l8.6-8.598 2.116 2.115-8.6 8.598ZM16.062 6.061l-3.1 3.1-2.117-2.115 3.1-3.1a.374.374 0 0 1 .265-.109c.1 0 .195.04.266.11l1.585 1.584a.375.375 0 0 1 .001.53ZM6.875 4.499V5h1.25v-.5A1.377 1.377 0 0 1 9.5 3.122h.5V1.874h-.5A1.376 1.376 0 0 1 8.125.5V0h-1.25v.5A1.376 1.376 0 0 1 5.5 1.874H5v1.248h.5A1.377 1.377 0 0 1 6.875 4.5ZM7.5 2.2c.092.109.192.21.3.3a2.6 2.6 0 0 0-.3.3 2.6 2.6 0 0 0-.3-.3c.109-.09.209-.191.3-.3ZM20 .876v1.249h-.3a.576.576 0 0 0-.575.574V3h-1.25v-.3a.576.576 0 0 0-.575-.574H17V.875h.3A.576.576 0 0 0 17.875.3V0h1.25v.3a.576.576 0 0 0 .575.575h.3Zm-1.3 9.993h.3v1.248h-.3a.576.576 0 0 0-.575.575v.3h-1.25v-.3a.576.576 0 0 0-.575-.575H16v-1.248h.3a.576.576 0 0 0 .575-.575v-.3h1.25v.3a.576.576 0 0 0 .575.575Z\"/></svg>',\n },\n embed: {\n name: 'embed',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 2H2.625A2.629 2.629 0 0 0 0 4.625v10.75A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V4.625A2.63 2.63 0 0 0 17.375 2ZM7.707 12.293l-1.414 1.414-3.222-3.222-.029-.9.322-.364 2.929-2.928 1.414 1.414L5.414 10l2.293 2.293ZM11 14H9V6h2v8Zm5.636-3.222-2.929 2.929-1.414-1.414L14.586 10l-2.293-2.293 1.414-1.414 3.222 3.222.029.9-.322.363Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 2H2.625A2.629 2.629 0 0 0 0 4.625v10.75A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V4.625A2.63 2.63 0 0 0 17.375 2Zm1.375 13.375a1.377 1.377 0 0 1-1.375 1.375H2.625a1.377 1.377 0 0 1-1.375-1.375V4.625A1.377 1.377 0 0 1 2.625 3.25h14.75a1.377 1.377 0 0 1 1.375 1.375v10.75Zm-2.2-5.7.029.589-.212.254-2.929 2.929-.884-.884L15.116 10l-2.558-2.558.884-.884 3.108 3.117ZM7.442 7.442 4.884 10l2.558 2.558-.884.884-3.112-3.112-.029-.589.212-.254 2.929-2.929.884.884ZM9.375 6h1.25v8h-1.25V6Z\"/></svg>',\n },\n emoji: {\n name: 'emoji',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0ZM4.5 9a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm5.5 6.454a4.63 4.63 0 0 1-3.818-1.878l1.635-1.151A2.669 2.669 0 0 0 10 13.454a2.666 2.666 0 0 0 2.182-1.029l1.636 1.15A4.626 4.626 0 0 1 10 15.454Zm4-4.954a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25Zm3.511 12.109-1.022-.718A3.046 3.046 0 0 1 10 13.829a3.045 3.045 0 0 1-2.489-1.188l-1.022.718A4.252 4.252 0 0 0 10 15.079a4.252 4.252 0 0 0 3.511-1.72ZM6 7.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm8 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z\"/></svg>',\n },\n 'end-live-chat': {\n name: 'end-live-chat',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.812 16.367 2.14 2.142-1.415 1.416-2.135-2.142-2.138 2.142-1.414-1.416 2.138-2.142-2.138-2.143 1.414-1.416 2.138 2.142 2.14-2.142 1.413 1.416-2.143 2.143Zm-6.41-1.861c-.452.15-.924.229-1.4.235a4.745 4.745 0 0 1-4.388-2.937 4.766 4.766 0 0 1 1.03-5.185 4.748 4.748 0 0 1 8.108 3.364c-.006.467-.083.93-.226 1.374a1.564 1.564 0 0 0-.266-.052 1.496 1.496 0 0 0-1.06.441l-1.415 1.416a1.475 1.475 0 0 0-.383 1.344Zm-1.4-1.518a2.997 2.997 0 0 0 2.772-1.855 3.01 3.01 0 0 0-.65-3.275 2.999 2.999 0 0 0-5.122 2.125c0 .797.316 1.561.879 2.125.563.563 1.326.88 2.121.88Zm0-4.758a1.748 1.748 0 0 0-1.617 1.082 1.756 1.756 0 0 0 1.276 2.39 1.748 1.748 0 0 0 2.091-1.719 1.756 1.756 0 0 0-1.75-1.753Zm1.783 9.216 1.078-1.08-.76-.762a6.015 6.015 0 0 1-7.184-2.368 6.043 6.043 0 0 1 .785-7.534 6.021 6.021 0 0 1 9.985 2.334 6.044 6.044 0 0 1-.062 4.017l.771.77 1.078-1.078a1.499 1.499 0 0 1 2.121 0l.207.206c.022-.113.05-.223.068-.337a10.036 10.036 0 0 0-1.766-7.461A10.008 10.008 0 0 0 11.591.128a9.985 9.985 0 0 0-7.449 1.769A10.012 10.012 0 0 0 .124 8.423a9.902 9.902 0 0 0 1.195 6.501L.086 19.005a.73.73 0 0 0 .9.917l4.164-1.194A9.84 9.84 0 0 0 9.991 20c.54 0 1.08-.044 1.614-.13.135-.02.266-.052.4-.08l-.219-.219a1.504 1.504 0 0 1 0-2.125Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.002 6.977a2.996 2.996 0 0 0-2.771 1.855 3.01 3.01 0 0 0 .65 3.275 2.998 2.998 0 0 0 5.121-2.124 2.997 2.997 0 0 0-3-3.005Zm0 4.758a1.748 1.748 0 0 1-1.617-1.083 1.756 1.756 0 0 1 1.276-2.39 1.747 1.747 0 0 1 1.797.746 1.755 1.755 0 0 1-1.456 2.728v-.001Zm1.783 3.55.318.318a6.015 6.015 0 0 1-7.184-2.367A6.044 6.044 0 0 1 5.704 5.7a6.02 6.02 0 0 1 9.985 2.335 6.046 6.046 0 0 1-.062 4.016l-.307-.308a1.467 1.467 0 0 0-.794-.388c.143-.444.22-.907.226-1.373a4.764 4.764 0 0 0-2.932-4.397 4.742 4.742 0 0 0-5.177 1.032 4.76 4.76 0 0 0 3.36 8.123 4.655 4.655 0 0 0 1.4-.236c.045.293.178.565.382.78Zm-.414 3.353a8.643 8.643 0 0 1-5.819-1.123l-.23-.139-3.764 1.078 1.117-3.697-.144-.24a8.672 8.672 0 0 1-1.173-5.902 8.767 8.767 0 0 1 6.587-7.163 8.735 8.735 0 0 1 9.127 3.355 8.772 8.772 0 0 1 1.574 6.52c.357.019.695.167.951.418l.206.207c.023-.113.05-.223.07-.338a10.037 10.037 0 0 0-1.767-7.461A10.008 10.008 0 0 0 11.591.128a9.985 9.985 0 0 0-7.449 1.769A10.012 10.012 0 0 0 .124 8.424a9.9 9.9 0 0 0 1.195 6.5L.086 19.005a.731.731 0 0 0 .9.917l4.164-1.194A9.851 9.851 0 0 0 9.991 20c.54 0 1.08-.044 1.614-.13.135-.02.266-.053.4-.08l-.219-.22a1.477 1.477 0 0 1-.415-.931v-.001Zm5.911-2.272 2.4 2.404-.885.885-2.4-2.404-2.4 2.404-.885-.885 2.4-2.404-2.4-2.405.885-.885 2.4 2.404 2.4-2.404.885.885-2.4 2.405Z\"/></svg>',\n },\n error: {\n name: 'error',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm1.155 5-.28 6.847H9.111L8.831 5h2.324Zm-.01 9.682c-.113.2-.276.366-.473.483a1.269 1.269 0 0 1-.672.182 1.3 1.3 0 0 1-1.316-1.316 1.3 1.3 0 0 1 1.309-1.316 1.313 1.313 0 0 1 1.152 1.965v.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25Zm-.533 13.716a1.077 1.077 0 0 1-.53-.92 1.058 1.058 0 0 1 .53-.919c.16-.096.343-.146.53-.144a1.056 1.056 0 0 1 .926.527 1.045 1.045 0 0 1 0 1.069c-.096.16-.23.293-.39.387a1.03 1.03 0 0 1-.536.143 1.016 1.016 0 0 1-.53-.143Zm-.14-3.329-.192-6.613h1.73l-.192 6.613H9.327Z\"/></svg>',\n },\n 'expand-left': {\n name: 'expand-left',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m6.274 4.86 3.058 3.058-1.414 1.414L4.86 6.274 3.067 8.067A.625.625 0 0 1 2 7.625v-5A.625.625 0 0 1 2.625 2h5a.625.625 0 0 1 .442 1.067L6.274 4.86Zm11.34 6.94a.627.627 0 0 0-.681.136l-1.793 1.79-3.058-3.058-1.414 1.414 3.058 3.058-1.793 1.793A.625.625 0 0 0 12.375 18h5a.624.624 0 0 0 .625-.625v-5a.626.626 0 0 0-.386-.575Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m4.134 3.25 4.933 4.933-.884.884L3.25 4.134v3.491H2v-5A.625.625 0 0 1 2.625 2h5v1.25H4.134Zm12.616 9.125v3.491l-4.933-4.933-.884.884 4.933 4.933h-3.491V18h5a.624.624 0 0 0 .625-.625v-5h-1.25Z\"/></svg>',\n },\n 'expand-right': {\n name: 'expand-right',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 2.625v5a.626.626 0 0 1-1.067.442L15.14 6.274l-3.058 3.058-1.414-1.414 3.058-3.058-1.793-1.793A.625.625 0 0 1 12.375 2h5a.625.625 0 0 1 .625.625ZM7.918 10.668 4.86 13.726l-1.793-1.793A.625.625 0 0 0 2 12.375v5a.625.625 0 0 0 .625.625h5a.625.625 0 0 0 .442-1.067L6.274 15.14l3.058-3.058-1.414-1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 2.625v5h-1.25V4.134l-4.933 4.933-.884-.884 4.933-4.933h-3.491V2h5a.625.625 0 0 1 .625.625Zm-9.817 8.308L3.25 15.866v-3.491H2v5a.625.625 0 0 0 .625.625h5v-1.25H4.134l4.933-4.933-.884-.884Z\"/></svg>',\n },\n external: {\n name: 'external',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15 13h2v3.35A2.653 2.653 0 0 1 14.35 19H3.65A2.653 2.653 0 0 1 1 16.35V5.653A2.656 2.656 0 0 1 3.653 3H7v2H3.653A.654.654 0 0 0 3 5.653v10.7a.65.65 0 0 0 .65.65h10.7a.65.65 0 0 0 .65-.65V13Zm3.375-12h-5.438a.625.625 0 0 0-.422 1.085L14.591 4l-6.423 6.418 1.414 1.414 6.483-6.483 1.887 1.736A.626.626 0 0 0 19 6.625v-5A.625.625 0 0 0 18.375 1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.75 13H17v3.375A2.63 2.63 0 0 1 14.375 19H3.625A2.63 2.63 0 0 1 1 16.375V5.625A2.629 2.629 0 0 1 3.625 3H7v1.25H3.625A1.377 1.377 0 0 0 2.25 5.625v10.75a1.377 1.377 0 0 0 1.375 1.375h10.75a1.377 1.377 0 0 0 1.375-1.375V13Zm2.625-12h-5v1.25h3.491l-8.433 8.433.884.884 8.433-8.433v3.491H19v-5A.625.625 0 0 0 18.375 1Z\"/></svg>',\n },\n 'feed-video': {\n name: 'feed-video',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 15.375V16A1.627 1.627 0 0 1 1 14.375V2.624A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.624H5.629a3.008 3.008 0 0 0-3 3l-.004 9.751ZM19 5.625v11.75A1.627 1.627 0 0 1 17.375 19H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625ZM15.418 11.5a.622.622 0 0 0-.286-.525L8.964 7A.626.626 0 0 0 8 7.521v7.958a.626.626 0 0 0 .964.526l6.168-3.98a.623.623 0 0 0 .286-.525Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.625 16.1A.625.625 0 0 1 8 15.479V7.521A.626.626 0 0 1 8.964 7l6.168 3.98a.626.626 0 0 1 0 1.05l-6.168 3.98a.628.628 0 0 1-.339.09Zm.625-7.432v5.664l4.391-2.832L9.25 8.668ZM17.375 19H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625v11.75A1.627 1.627 0 0 1 17.375 19ZM5.625 5.25a.375.375 0 0 0-.375.375v11.75a.375.375 0 0 0 .375.375h11.75a.375.375 0 0 0 .375-.375V5.625a.375.375 0 0 0-.375-.375H5.625Zm-3 9.5a.375.375 0 0 1-.375-.375V2.624a.375.375 0 0 1 .375-.374h11.75a.375.375 0 0 1 .375.374H16A1.627 1.627 0 0 0 14.375 1H2.625A1.627 1.627 0 0 0 1 2.624v11.751A1.627 1.627 0 0 0 2.625 16v-1.25Z\"/></svg>',\n },\n filter: {\n name: 'filter',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.162 6.5H1v-2h11.162a3.5 3.5 0 1 1 0 2ZM4.5 11a3.5 3.5 0 1 0 3.337 4.5h11.122v-2H7.837A3.494 3.494 0 0 0 4.5 11Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.5 9a3.5 3.5 0 1 0-3.437-4.125H1v1.25h11.063A3.5 3.5 0 0 0 15.5 9Zm0-5.75a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5ZM4.5 11a3.5 3.5 0 1 0 3.437 4.125H18.96v-1.25H7.937A3.5 3.5 0 0 0 4.5 11Zm0 5.75a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5Z\"/></svg>',\n },\n format: {\n name: 'format',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.315 2.109h11.37V5.3H11.78V18H8.21V5.3h-3.9l.005-3.191Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.73 2.109h10.541V3.9h-4.3v14.093H9.007V3.9H4.73V2.109Z\"/></svg>',\n },\n forward: {\n name: 'forward',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.207 9.293-9-9-1.414 1.414L16.086 9H1v2h15.086l-7.293 7.293 1.414 1.414 9-9a1 1 0 0 0 0-1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.442 9.558-9-9-.884.884 7.933 7.933H1v1.25h16.491l-7.933 7.933.884.884 9-9a.623.623 0 0 0 0-.884Z\"/></svg>',\n },\n funnel: {\n name: 'funnel',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.186 7.619H17.8l-3.928 5.266H6.029L2.186 7.619ZM17.375 1H2.625A1.627 1.627 0 0 0 1 2.625v2.75A.625.625 0 0 0 1.625 6h16.75A.625.625 0 0 0 19 5.375v-2.75A1.627 1.627 0 0 0 17.375 1ZM6.021 18.281a1.626 1.626 0 0 0 1.625 1.625h4.708a1.627 1.627 0 0 0 1.625-1.625v-3.606H6.021v3.606Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 2.625A1.627 1.627 0 0 0 17.375 1H2.625A1.627 1.627 0 0 0 1 2.625v2.994c.044.29.137.571.274.831l4.747 6.431v5.4a1.626 1.626 0 0 0 1.625 1.625h4.708a1.627 1.627 0 0 0 1.625-1.625v-5.4l4.747-6.431c.137-.26.23-.54.274-.831V2.625Zm-5.961 9.425H6.961L2.676 6.244h14.648l-4.285 5.806ZM2.25 2.625a.375.375 0 0 1 .375-.375h14.75a.375.375 0 0 1 .375.375v2.369H2.25V2.625Zm10.479 15.656a.376.376 0 0 1-.375.375H7.646a.376.376 0 0 1-.375-.375V13.3h5.458v4.981Z\"/></svg>',\n },\n 'gif-post': {\n name: 'gif-post',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.838 3.631a4.228 4.228 0 0 0-2.469-2.469 18.116 18.116 0 0 0-12.738 0 4.228 4.228 0 0 0-2.469 2.469 18.033 18.033 0 0 0 0 12.737 4.226 4.226 0 0 0 2.469 2.47 18.036 18.036 0 0 0 12.738 0 4.225 4.225 0 0 0 2.469-2.469 18.036 18.036 0 0 0 0-12.738ZM9 10.53a2.4 2.4 0 0 1-1.293 2.193 2.955 2.955 0 0 1-1.417.328 3.248 3.248 0 0 1-1.579-.386A2.811 2.811 0 0 1 3.6 11.583 3.108 3.108 0 0 1 3.2 10a3.052 3.052 0 0 1 .411-1.583c.267-.46.659-.834 1.129-1.082a3.37 3.37 0 0 1 1.616-.385c.333 0 .664.043.986.128.309.081.605.205.879.369l-.5 1.169a1.314 1.314 0 0 0-.563-.357 2.3 2.3 0 0 0-.754-.124 1.733 1.733 0 0 0-1.863 1.848c-.006.344.073.684.232.99a1.7 1.7 0 0 0 1.542.925c.258.004.513-.051.746-.162.209-.097.387-.25.513-.443.121-.185.185-.401.183-.622H6.124V9.619L9 9.6v.93Zm2.5 2.454H10V7.016h1.5v5.968Zm5-4.8h-2.138v1.393h1.79v1.169h-1.79v2.238H13V7.016h3.5v1.168Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.711 12.664A2.8 2.8 0 0 1 3.6 11.583 3.108 3.108 0 0 1 3.2 10a3.052 3.052 0 0 1 .411-1.583c.267-.46.659-.834 1.129-1.082a3.37 3.37 0 0 1 1.616-.385c.333 0 .664.043.986.128.309.081.605.205.879.369l-.5 1.169a1.314 1.314 0 0 0-.563-.357 2.3 2.3 0 0 0-.754-.124 1.733 1.733 0 0 0-1.863 1.848c-.006.344.073.684.232.99a1.7 1.7 0 0 0 1.542.925c.258.004.513-.051.746-.162.209-.097.387-.25.513-.443.121-.185.185-.401.183-.622H6.124V9.619L9 9.6v.928a2.4 2.4 0 0 1-1.293 2.193 2.955 2.955 0 0 1-1.417.328 3.247 3.247 0 0 1-1.579-.385Zm5.471-5.648H11.5v5.968h-1.318V7.016Zm2.862 0H16.5v1.169h-2.138v1.392h1.79v1.169h-1.79v2.238h-1.318V7.016ZM10 20a18.04 18.04 0 0 1-6.369-1.162 4.226 4.226 0 0 1-2.469-2.47 18.033 18.033 0 0 1 0-12.737 4.228 4.228 0 0 1 2.469-2.469 18.116 18.116 0 0 1 12.738 0 4.228 4.228 0 0 1 2.469 2.469 18.035 18.035 0 0 1 0 12.738 4.225 4.225 0 0 1-2.469 2.469A18.04 18.04 0 0 1 10 20Zm0-18.75a16.8 16.8 0 0 0-5.929 1.082 2.978 2.978 0 0 0-1.739 1.739 16.783 16.783 0 0 0 0 11.857 2.98 2.98 0 0 0 1.739 1.74 16.858 16.858 0 0 0 11.858 0 2.978 2.978 0 0 0 1.739-1.739 16.785 16.785 0 0 0 0-11.858 2.978 2.978 0 0 0-1.739-1.739A16.8 16.8 0 0 0 10 1.25Z\"/></svg>',\n },\n gold: {\n name: 'gold',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.49 5.02-4.64-3.36a4.88 4.88 0 0 0-5.71 0L2.5 5.03a4.871 4.871 0 0 0-1.76 5.42l1.77 5.46c.65 2 2.51 3.35 4.62 3.35h5.73c2.1 0 3.96-1.36 4.62-3.35l1.77-5.46c.65-2-.07-4.19-1.76-5.42v-.01Zm-2.13 4.39-2.06 2.14.41 2.94c.08.58-.51 1-1.04.76L10 13.96l-2.67 1.29c-.52.26-1.12-.18-1.04-.76l.41-2.94-2.06-2.14a.726.726 0 0 1 .4-1.22l2.92-.52 1.4-2.62c.27-.51 1.01-.51 1.29 0l1.4 2.62 2.92.52c.57.1.8.81.4 1.22h-.01Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.95 1.92c.85 0 1.67.27 2.35.77l4.35 3.16a4 4 0 0 1 1.46 4.48l-1.66 5.11a3.986 3.986 0 0 1-3.81 2.76H7.27c-1.74 0-3.27-1.11-3.81-2.76L1.8 10.33a3.99 3.99 0 0 1 1.46-4.48L7.6 2.69c.69-.5 1.5-.77 2.35-.77Zm0-1.3c-1.1 0-2.18.34-3.12 1.01L2.48 4.79a5.332 5.332 0 0 0-1.93 5.93l1.66 5.11a5.308 5.308 0 0 0 5.04 3.67h5.37c2.3 0 4.33-1.48 5.04-3.67l1.66-5.11c.71-2.18-.07-4.58-1.93-5.92l-4.34-3.16A5.326 5.326 0 0 0 9.93.63l.02-.01Z\"/><path d=\"M9.95 5.77c.08 0 .19.03.26.14l1.08 1.85.29.5.56.12 2.1.46c.14.03.2.12.23.2.02.07.03.19-.06.29l-1.82 2.01.06.57.22 2.13s.01.13-.07.23c-.06.06-.14.1-.23.1-.04 0-.08 0-.12-.03l-1.97-.87-.53-.23-.53.23-1.97.87s-.08.03-.12.03c-.08 0-.17-.04-.23-.1-.08-.09-.07-.2-.07-.23l.22-2.13.06-.57-1.82-2.01a.302.302 0 0 1-.06-.29.27.27 0 0 1 .23-.2l2.1-.46.56-.12.29-.5 1.08-1.85a.29.29 0 0 1 .26-.14Zm0-1.3c-.54 0-1.08.27-1.38.8L7.49 7.12l-2.1.46c-1.2.26-1.67 1.71-.85 2.63l1.44 1.59-.22 2.13c-.1.98.68 1.76 1.58 1.76.22 0 .43-.04.65-.13l1.97-.87 1.97.87c.22.09.43.13.65.13.9 0 1.69-.78 1.58-1.76l-.22-2.13 1.44-1.59c.82-.91.34-2.37-.85-2.63l-2.1-.46-1.08-1.85c-.31-.53-.84-.8-1.38-.8h-.04.02Z\"/></svg>',\n },\n hashtag: {\n name: 'hashtag',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.3 8V6h-2.1l1.589-3.91h-2.45L13.749 6H9.519l1.588-3.91h-2.45L7.07 6h-3.77v2h2.957L4.63 12H1.8v2h2.018l-1.6 3.925h2.454L6.267 14H10.5l-1.6 3.925h2.45L12.948 14H16.8v-2h-3.04l1.627-4H18.3Zm-6.988 4H7.08l1.625-4h4.233l-1.626 4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.83 7.934V6.43h-2.323l1.787-4.347h-1.611L13.9 6.43H9.04l1.787-4.347H9.216L7.429 6.43h-3.8v1.5h3.18L5.11 12.062H2.169v1.5h2.324l-1.787 4.355h1.611l1.788-4.347h4.855l-1.787 4.347h1.61l1.788-4.347h3.8v-1.5H13.19l1.7-4.132 2.94-.004Zm-6.252 4.132H6.723l1.7-4.132h4.855l-1.7 4.132Z\"/></svg>',\n },\n heart: {\n name: 'heart',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.313 1.568a5.685 5.685 0 0 0-5.31 2.062 5.688 5.688 0 0 0-5.311-2.062 5.358 5.358 0 0 0-4.67 5.798c.491 5.532 7.923 10.116 9.402 10.979a1.139 1.139 0 0 0 1.147 0c1.485-.863 8.916-5.447 9.407-10.979a5.353 5.353 0 0 0-4.665-5.798Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 18.5c-.201 0-.4-.053-.573-.155C7.943 17.482.513 12.902.022 7.366a5.352 5.352 0 0 1 4.669-5.798A5.685 5.685 0 0 1 10 3.63a5.673 5.673 0 0 1 5.308-2.062 5.355 5.355 0 0 1 4.669 5.798c-.491 5.532-7.92 10.116-9.405 10.979a1.14 1.14 0 0 1-.572.155ZM5.548 2.756a4.7 4.7 0 0 0-.677.049 4.118 4.118 0 0 0-3.6 4.45c.431 4.857 7.22 9.095 8.73 9.978 1.51-.884 8.3-5.122 8.733-9.978a4.117 4.117 0 0 0-3.603-4.45 4.376 4.376 0 0 0-4.573 2.266.65.65 0 0 1-1.114 0 4.324 4.324 0 0 0-3.896-2.315Z\"/></svg>',\n },\n help: {\n name: 'help',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm1.187 14.646c-.11.194-.27.356-.461.471a1.24 1.24 0 0 1-.657.178 1.287 1.287 0 0 1-.649-2.4c.195-.114.417-.173.642-.171a1.292 1.292 0 0 1 1.118.635 1.3 1.3 0 0 1 .007 1.286v.001Zm1.8-6.238c-.1.233-.235.45-.4.643a8.64 8.64 0 0 1-.629.625c-.223.2-.4.37-.53.512-.132.145-.243.31-.328.486a1.37 1.37 0 0 0-.133.608v.574H9.14v-.567c-.007-.33.056-.659.184-.964.108-.255.256-.491.438-.7A6.86 6.86 0 0 1 10.425 9c.2-.173.348-.315.458-.427.108-.11.2-.234.273-.369a.91.91 0 0 0 .11-.441.874.874 0 0 0-.151-.5 1 1 0 0 0-.407-.346 1.346 1.346 0 0 0-1.168.021c-.18.09-.333.226-.445.393a1.033 1.033 0 0 0-.174.57H7.027c.006-.51.144-1.009.4-1.449a2.815 2.815 0 0 1 1.1-1.055A3.373 3.373 0 0 1 10.186 5a3.515 3.515 0 0 1 1.524.321c.43.196.796.508 1.06.9.257.39.39.848.382 1.315.006.3-.05.596-.167.872h.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25Zm1.611 4.058a2.4 2.4 0 0 1 .994.861c.241.375.366.812.359 1.258a2.04 2.04 0 0 1-.167.854c-.1.229-.238.439-.407.622-.2.208-.413.404-.636.588-.223.188-.4.348-.533.483a1.754 1.754 0 0 0-.328.464 1.326 1.326 0 0 0-.13.591v.78H9.328v-.759a2.216 2.216 0 0 1 .601-1.572c.204-.21.421-.406.65-.588.209-.173.373-.316.492-.431a1.52 1.52 0 0 0 .3-.4 1.154 1.154 0 0 0-.058-1.128 1.192 1.192 0 0 0-.485-.421 1.525 1.525 0 0 0-.677-.151 1.545 1.545 0 0 0-.721.168 1.3 1.3 0 0 0-.713 1.131H7.256a2.628 2.628 0 0 1 1.381-2.293A3.132 3.132 0 0 1 10.175 5c.496-.008.987.097 1.436.308Zm-2.164 9.843a1.088 1.088 0 0 1-.386-.385 1.034 1.034 0 0 1-.144-.537c-.002-.186.048-.37.144-.53.094-.16.227-.293.386-.387a1.03 1.03 0 0 1 .53-.143 1.062 1.062 0 0 1 .926 1.597c-.096.159-.23.291-.389.385a1.034 1.034 0 0 1-.537.144 1.021 1.021 0 0 1-.53-.144Z\"/></svg>',\n },\n hide: {\n name: 'hide',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.914 10.349a10.405 10.405 0 0 1-2.862 3.923c-.024.02-.05.038-.075.058l-3.2-3.164c.142-.4.218-.82.223-1.244a3.932 3.932 0 0 0-1.172-2.797A4.024 4.024 0 0 0 10 5.967c-.428.005-.853.079-1.257.22L6.2 3.672A11.038 11.038 0 0 1 10 3c2.12-.018 4.196.591 5.963 1.749a10.536 10.536 0 0 1 3.952 4.748c.114.273.113.58 0 .852ZM3.724 3.542l12.728 12.584-.885.874-1.13-1.117a10.918 10.918 0 0 1-4.437.96 10.798 10.798 0 0 1-7.476-2.956 10.264 10.264 0 0 1-2.44-3.542 1.117 1.117 0 0 1 0-.847 10.35 10.35 0 0 1 3.453-4.392l-.7-.692.887-.872Zm8.176 9.832L6.508 8.043A3.823 3.823 0 0 0 6 9.922c0 1.048.421 2.054 1.171 2.796A4.024 4.024 0 0 0 10 13.877a3.936 3.936 0 0 0 1.9-.503Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.73 10.127c.004-.069.02-.135.02-.205 0-.721-.29-1.413-.806-1.922A2.768 2.768 0 0 0 10 7.203c-.071 0-.138.015-.208.02l-1.05-1.037c.405-.14.83-.214 1.258-.22 1.06 0 2.078.417 2.829 1.159A3.932 3.932 0 0 1 14 9.922c-.005.423-.08.843-.222 1.242l-1.049-1.037Zm7.187-.63a10.538 10.538 0 0 0-3.954-4.748A10.72 10.72 0 0 0 10 3c-1.297 0-2.584.227-3.8.673l.985.973A9.819 9.819 0 0 1 10 4.236a9.525 9.525 0 0 1 5.242 1.514 9.368 9.368 0 0 1 3.519 4.128 9.186 9.186 0 0 1-2.526 3.455c-.047.04-.1.075-.148.114l.89.88c.024-.02.051-.037.075-.058a10.421 10.421 0 0 0 2.866-3.924c.11-.273.11-.576-.001-.849ZM3.724 3.541l12.73 12.584-.886.874-1.13-1.117a10.923 10.923 0 0 1-4.438.96 10.804 10.804 0 0 1-7.476-2.956 10.265 10.265 0 0 1-2.44-3.542 1.117 1.117 0 0 1 0-.847 10.35 10.35 0 0 1 3.453-4.392l-.7-.692.887-.872Zm9.766 11.403-1.59-1.57a3.936 3.936 0 0 1-1.9.502 4.024 4.024 0 0 1-2.829-1.159A3.932 3.932 0 0 1 6 9.922c.004-.66.179-1.306.508-1.879L4.447 6.005a9.065 9.065 0 0 0-3.208 3.961 9.64 9.64 0 0 0 2.151 3.03 9.552 9.552 0 0 0 6.61 2.61 9.669 9.669 0 0 0 3.49-.66ZM7.25 9.922c0 .72.29 1.412.806 1.922.515.51 1.215.796 1.944.797.333 0 .664-.063.974-.183L7.434 8.96a2.609 2.609 0 0 0-.184.962Z\"/></svg>',\n },\n history: {\n name: 'history',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.01 10.01 0 0 0 10 0Zm3.47 14.53-4.22-4.219V4h1.5v5.689l3.78 3.781-1.06 1.06Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m13.558 14.442-4.183-4.183V4h1.25v5.741l3.817 3.817-.884.884ZM20 10a10 10 0 1 0-10 10 10.011 10.011 0 0 0 10-10Zm-1.25 0A8.75 8.75 0 1 1 10 1.25 8.76 8.76 0 0 1 18.75 10Z\"/></svg>',\n },\n home: {\n name: 'home',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.724 6.765-9.08-6.11A1.115 1.115 0 0 0 9.368.647L.276 6.765a.623.623 0 0 0 .35 1.141h.444v10.001c.001.278.113.544.31.74.196.195.462.304.739.303h5.16a.704.704 0 0 0 .706-.707v-4.507c0-.76 1.138-1.475 2.02-1.475.882 0 2.02.715 2.02 1.475v4.507a.71.71 0 0 0 .707.707h5.16c.274-.001.538-.112.732-.307.195-.195.305-.46.306-.736v-10h.445a.618.618 0 0 0 .598-.44.625.625 0 0 0-.25-.702Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.71 8.549 1.244.832v8.523a1.05 1.05 0 0 1-1.052 1.046H12.73a.707.707 0 0 1-.708-.707v-4.507c0-.76-1.142-1.474-2.026-1.474-.884 0-2.026.714-2.026 1.474v4.507a.71.71 0 0 1-.703.707H2.098a1.046 1.046 0 0 1-1.052-1.043V9.381l1.244-.835v9.158h4.44v-3.968c0-1.533 1.758-2.72 3.27-2.72s3.27 1.187 3.27 2.72v3.968h4.44V8.549Zm2.04-1.784L10.646.655a1.12 1.12 0 0 0-1.28-.008L.25 6.765l.696 1.036L10 1.721l9.054 6.08.696-1.036Z\"/></svg>',\n },\n hot: {\n name: 'hot',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.471 19.887a5.05 5.05 0 0 0 1.955-1.082 4.895 4.895 0 0 0 1.6-3.6c0-4.339-4.125-6.894-4.6-7.174l-.478-.22-.378.223c-.647.382-3.9 2.469-4.5 6.052A5.328 5.328 0 0 0 6.1 18.2a4.874 4.874 0 0 0 2.358 1.673C4.229 19.242 1 16.057 1 12.225 1 5.056 8.785.9 9.673.454l.283-.143.372.143C11.215.9 19 5.056 19 12.225c0 3.853-3.266 7.052-7.529 7.662ZM10 9.536a7.882 7.882 0 0 0-3.453 4.8 3.82 3.82 0 0 0 .74 2.954 3.352 3.352 0 0 0 2.369 1.322 3.566 3.566 0 0 0 2.759-.913 3.344 3.344 0 0 0 1.11-2.492c0-3.014-2.554-5.019-3.525-5.671Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.328.454 9.956.311l-.283.143C8.785.9 1 5.056 1 12.225c0 4.243 3.957 7.7 8.849 7.768A.979.979 0 0 0 9.99 20H10c4.962 0 9-3.488 9-7.775C19 5.056 11.215.9 10.328.454ZM12.5 17.789a3.699 3.699 0 0 1-2.854.945 3.48 3.48 0 0 1-2.457-1.37 3.945 3.945 0 0 1-.764-3.052c.441-2.639 2.75-4.38 3.576-4.926.928.611 3.65 2.674 3.65 5.818a3.469 3.469 0 0 1-1.151 2.585Zm1.64-.057c.49-.754.753-1.633.76-2.532 0-4.268-4.069-6.79-4.537-7.066l-.415-.184-.315.187c-.638.377-3.852 2.436-4.442 5.964A5.18 5.18 0 0 0 6 17.8a6.4 6.4 0 0 1-3.75-5.575c0-5.969 6.4-9.788 7.75-10.53 1.352.741 7.75 4.56 7.75 10.53a6.366 6.366 0 0 1-3.611 5.507h.001Z\"/></svg>',\n },\n 'ignore-reports': {\n name: 'ignore-reports',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.25 8.5A2.752 2.752 0 0 0 10 11.25a2.72 2.72 0 0 0 1.33-.358L7.609 7.169A2.721 2.721 0 0 0 7.25 8.5Z\"/><path d=\"M10 5.75a2.721 2.721 0 0 0-1.331.358l3.723 3.723A2.72 2.72 0 0 0 12.75 8.5 2.752 2.752 0 0 0 10 5.75Z\"/><path d=\"M18.67 2.13a.819.819 0 0 0-.7-.047 8.832 8.832 0 0 1-7.6-.062 10.3 10.3 0 0 0-8.92 0 .626.626 0 0 0-.351.563v17.191h.24V20H3v-5.442a9.033 9.033 0 0 1 6.826.4 10.084 10.084 0 0 0 8.822 0A.626.626 0 0 0 19 14.4V2.732a.712.712 0 0 0-.33-.602ZM10 12.75a4.25 4.25 0 1 1 0-8.5 4.25 4.25 0 0 1 0 8.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 4.326a4.125 4.125 0 1 0 0 8.25 4.125 4.125 0 0 0 0-8.25ZM7.125 8.451a2.845 2.845 0 0 1 .454-1.536l3.958 3.957a2.865 2.865 0 0 1-4.412-2.421Zm5.3 1.537L8.462 6.031a2.864 2.864 0 0 1 3.959 3.957h.004Zm6.25-7.858a.819.819 0 0 0-.7-.047 8.839 8.839 0 0 1-7.6-.062 10.3 10.3 0 0 0-8.92 0 .626.626 0 0 0-.352.563v17.191h1.25V14.8a9.04 9.04 0 0 1 7.477.162 10.084 10.084 0 0 0 8.821 0A.626.626 0 0 0 19 14.4V2.732a.712.712 0 0 0-.33-.602h.004ZM17.75 14a8.817 8.817 0 0 1-7.38-.162 10.308 10.308 0 0 0-8.022-.382V2.985a9.035 9.035 0 0 1 7.477.161 9.938 9.938 0 0 0 7.925.385V14Z\"/></svg>',\n },\n 'image-post': {\n name: 'image-post',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m7.935 12.305 6.7 6.7h-12A1.626 1.626 0 0 1 1 17.375v-.946l.022.022 4.146-4.146a1.96 1.96 0 0 1 2.767 0ZM19 2.625v14.75a1.623 1.623 0 0 1-1.565 1.619l.008-.009-8.094-8.094a3.961 3.961 0 0 0-5.6 0L1 13.645V2.625A1.627 1.627 0 0 1 2.625 1h14.75A1.627 1.627 0 0 1 19 2.625ZM15.5 7a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm0 4.75a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5Z\"/><path d=\"M17.375 1H2.625A1.627 1.627 0 0 0 1 2.625v14.75A1.627 1.627 0 0 0 2.625 19h14.75A1.627 1.627 0 0 0 19 17.375V2.625A1.627 1.627 0 0 0 17.375 1ZM2.25 17.375v-2.683L4.9 12.04a2.332 2.332 0 0 1 3.3 0l5.71 5.71H2.625a.375.375 0 0 1-.375-.375Zm15.5 0a.375.375 0 0 1-.375.375h-1.7l-6.6-6.594a3.582 3.582 0 0 0-5.063 0L2.25 12.925v-10.3a.375.375 0 0 1 .375-.375h14.75a.375.375 0 0 1 .375.375v14.75Z\"/></svg>',\n },\n inbox: {\n name: 'inbox',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.093 11.316.021 3.421A1.621 1.621 0 0 1 1.626 2l16.737.013a1.622 1.622 0 0 1 1.608 1.463l-9.1 7.875a1.249 1.249 0 0 1-1.778-.035Zm2.793 1.133a2.64 2.64 0 0 1-1.875.762 2.742 2.742 0 0 1-1.94-.8L0 5.391v10.984A1.627 1.627 0 0 0 1.625 18h16.749A1.629 1.629 0 0 0 20 16.373l-.01-10.929-8.104 7.005Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.987 3.636a1.627 1.627 0 0 0-1.624-1.623L1.626 2A1.627 1.627 0 0 0 0 3.625v12.75A1.627 1.627 0 0 0 1.625 18h16.749A1.629 1.629 0 0 0 20 16.373l-.013-12.737ZM1.625 3.25l16.738.013a.375.375 0 0 1 .374.375v1l-7.8 6.8a1.366 1.366 0 0 1-1.941-.025L1.25 4.579v-.954a.375.375 0 0 1 .375-.375Zm17.014 13.39a.376.376 0 0 1-.265.11H1.625a.375.375 0 0 1-.375-.375V6.246l6.888 6.078a2.61 2.61 0 0 0 1.848.762 2.54 2.54 0 0 0 1.8-.732L18.739 6.3l.01 10.078a.376.376 0 0 1-.11.262Z\"/></svg>',\n },\n info: {\n name: 'info',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm1.081 15.418H8.92V8.062h2.161v7.356Zm.065-8.859a1.307 1.307 0 0 1-1.139.656 1.29 1.29 0 0 1-.67-.178 1.343 1.343 0 0 1-.475-1.811c.113-.197.277-.36.475-.472a1.344 1.344 0 0 1 1.326.008 1.321 1.321 0 0 1 .483 1.797Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25Zm-.543 5.705a1.058 1.058 0 0 1-.39-.393 1.11 1.11 0 0 1 0-1.09c.093-.161.228-.295.39-.386a1.1 1.1 0 0 1 1.484.39c.098.163.149.35.147.54a1.08 1.08 0 0 1-.54.936A1.05 1.05 0 0 1 10 7.1a1.062 1.062 0 0 1-.543-.145Zm1.354 8.463H9.2V8.124h1.614l-.003 7.294Z\"/></svg>',\n },\n 'insert-column-left': {\n name: 'insert-column-left',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5 1v18H2.623A1.625 1.625 0 0 1 1 17.377V2.623A1.625 1.625 0 0 1 2.623 1H5Zm14 1.623v14.754A1.624 1.624 0 0 1 17.377 19H6.35V1h11.027A1.625 1.625 0 0 1 19 2.623ZM16 9.25h-3.25V6h-1.5v3.25H8v1.5h3.25V14h1.5v-3.25H16v-1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.377 1H2.623A1.625 1.625 0 0 0 1 2.623v14.754A1.625 1.625 0 0 0 2.623 19h14.754A1.624 1.624 0 0 0 19 17.377V2.623A1.625 1.625 0 0 0 17.377 1ZM2.25 17.377V2.623a.373.373 0 0 1 .373-.373H5v15.5H2.623a.373.373 0 0 1-.373-.373Zm15.5 0a.373.373 0 0 1-.373.373H6.25V2.25h11.127a.373.373 0 0 1 .373.373v14.754Zm-5.125-8H16v1.25h-3.375V14h-1.25v-3.375H8v-1.25h3.375V6h1.25v3.377Z\"/></svg>',\n },\n 'insert-column-right': {\n name: 'insert-column-right',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15 19V1h2.377A1.625 1.625 0 0 1 19 2.623v14.754A1.624 1.624 0 0 1 17.377 19H15ZM1 17.377V2.623A1.625 1.625 0 0 1 2.623 1H13.65v18H2.623A1.625 1.625 0 0 1 1 17.377Zm3-6.627h3.25V14h1.5v-3.25H12v-1.5H8.75V6h-1.5v3.25H4v1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.623 19h14.754A1.624 1.624 0 0 0 19 17.377V2.623A1.625 1.625 0 0 0 17.377 1H2.623A1.625 1.625 0 0 0 1 2.623v14.754A1.625 1.625 0 0 0 2.623 19ZM17.75 2.623v14.754a.373.373 0 0 1-.373.373H15V2.25h2.377a.373.373 0 0 1 .373.373Zm-15.5 0a.373.373 0 0 1 .373-.373H13.75v15.5H2.623a.373.373 0 0 1-.373-.373V2.623Zm5.125 8H4v-1.25h3.375V6h1.25v3.375H12v1.25H8.625V14h-1.25v-3.377Z\"/></svg>',\n },\n 'insert-row-above': {\n name: 'insert-row-above',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 5H1V2.623A1.625 1.625 0 0 1 2.623 1h14.754A1.625 1.625 0 0 1 19 2.623V5Zm-1.623 14H2.623A1.625 1.625 0 0 1 1 17.377V6.35h18v11.027A1.624 1.624 0 0 1 17.377 19Zm-6.627-3v-3.25H14v-1.5h-3.25V8h-1.5v3.25H6v1.5h3.25V16h1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 17.377V2.623A1.625 1.625 0 0 0 17.377 1H2.623A1.625 1.625 0 0 0 1 2.623v14.754A1.625 1.625 0 0 0 2.623 19h14.754A1.624 1.624 0 0 0 19 17.377ZM2.623 2.25h14.754a.373.373 0 0 1 .373.373V5H2.25V2.623a.373.373 0 0 1 .373-.373Zm0 15.5a.373.373 0 0 1-.373-.373V6.25h15.5v11.127a.373.373 0 0 1-.373.373H2.623Zm8-5.125V16h-1.25v-3.375H6v-1.25h3.375V8h1.25v3.375H14v1.25h-3.377Z\"/></svg>',\n },\n 'insert-row-below': {\n name: 'insert-row-below',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1 15h18v2.377A1.624 1.624 0 0 1 17.377 19H2.623A1.625 1.625 0 0 1 1 17.377V15ZM2.623 1h14.754A1.625 1.625 0 0 1 19 2.623V13.65H1V2.623A1.625 1.625 0 0 1 2.623 1ZM9.25 4v3.25H6v1.5h3.25V12h1.5V8.75H14v-1.5h-3.25V4h-1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1 2.623v14.754A1.625 1.625 0 0 0 2.623 19h14.754A1.624 1.624 0 0 0 19 17.377V2.623A1.625 1.625 0 0 0 17.377 1H2.623A1.625 1.625 0 0 0 1 2.623ZM17.377 17.75H2.623a.373.373 0 0 1-.373-.373V15h15.5v2.377a.373.373 0 0 1-.373.373Zm0-15.5a.373.373 0 0 1 .373.373V13.75H2.25V2.623a.373.373 0 0 1 .373-.373h14.754Zm-8 5.125V4h1.25v3.375H14v1.25h-3.375V12h-1.25V8.625H6v-1.25h3.377Z\"/></svg>',\n },\n internet: {\n name: 'internet',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.963 6.094-1.43 1.4A11.8 11.8 0 0 0 10 4a11.8 11.8 0 0 0-8.533 3.492l-1.43-1.4A13.787 13.787 0 0 1 10 2a13.787 13.787 0 0 1 9.963 4.094ZM2.71 8.508l1.43 1.4A8.1 8.1 0 0 1 10 7.511a8.1 8.1 0 0 1 5.86 2.4l1.43-1.4a10.088 10.088 0 0 0-7.29-3 10.084 10.084 0 0 0-7.29 2.997Zm2.568 2.435 1.43 1.4A4.555 4.555 0 0 1 10 11a4.554 4.554 0 0 1 3.292 1.342l1.43-1.4A6.54 6.54 0 0 0 10 9a6.54 6.54 0 0 0-4.722 1.943ZM10 13h-.005a2.5 2.5 0 1 0 2.505 2.515v-.006A2.506 2.506 0 0 0 10 13Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.8 6.855A12.178 12.178 0 0 0 10 3.25a12.178 12.178 0 0 0-8.8 3.605L.308 5.98A13.416 13.416 0 0 1 10 2a13.416 13.416 0 0 1 9.694 3.98l-.894.875Zm-1.778 1.679A9.718 9.718 0 0 0 10 5.65a9.716 9.716 0 0 0-7.022 2.885l.894.873A8.475 8.475 0 0 1 10 6.9a8.479 8.479 0 0 1 6.129 2.509l.892-.875Zm-2.568 2.946A6.166 6.166 0 0 0 10 9.65a6.167 6.167 0 0 0-4.453 1.83l.892.875A4.927 4.927 0 0 1 10 10.9a4.926 4.926 0 0 1 3.562 1.455l.892-.875ZM12.5 15.515v-.006A2.506 2.506 0 0 0 10 13h-.005a2.5 2.5 0 1 0 2.505 2.515Zm-1.62-.9c.236.237.369.557.37.891a1.25 1.25 0 1 1-.37-.889v-.002Z\"/></svg>',\n },\n invite: {\n name: 'invite',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 17.411v.482A1.114 1.114 0 0 1 17.883 19H2.118A1.113 1.113 0 0 1 1 17.893v-.482A6.482 6.482 0 0 1 7.537 11h4.927A6.483 6.483 0 0 1 19 17.411ZM13 6h-1.424A.576.576 0 0 1 11 5.424V2.576A.577.577 0 0 1 11.576 2h2.4A4.991 4.991 0 1 0 10 10a4.836 4.836 0 0 0 4-2.134V6h-1Zm6.83-3H17V0h-2v3h-3v2h3v3h2V5h2.83V3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.884 19H2.118A1.113 1.113 0 0 1 1 17.893v-.482A6.483 6.483 0 0 1 7.538 11h4.926A6.483 6.483 0 0 1 19 17.411v.482A1.113 1.113 0 0 1 17.884 19ZM2.251 17.75h15.5v-.339a5.231 5.231 0 0 0-5.287-5.161H7.538a5.231 5.231 0 0 0-5.287 5.161v.339ZM13.522 6.243a3.75 3.75 0 1 1-1.365-4.3h1.43v-.412a5 5 0 1 0 0 6.938V6.243h-.065Zm6.345-2.493H16.25V0H15v3.75h-3.617V5H15v4h1.25V5h3.617V3.75Z\"/></svg>',\n },\n italic: {\n name: 'italic',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.573 18a4.36 4.36 0 0 1-2.684-.891 2.79 2.79 0 0 1-.884-2.2c.004-.398.048-.795.131-1.185l1.385-6.295h3.458l-1.438 6.507c-.017.08-.024.163-.022.245a.777.777 0 0 0 .365.715c.275.161.576.273.889.33L10.573 18ZM9.83 5.829a2.058 2.058 0 0 1-.758-.747 1.982 1.982 0 0 1-.279-1.034A2.006 2.006 0 0 1 9.83 2.264c.328-.179.697-.27 1.07-.264.37-.004.736.09 1.059.272.313.174.574.428.758.736.189.314.287.674.283 1.04.004.364-.093.721-.279 1.034A2.094 2.094 0 0 1 10.9 6.107a2.1 2.1 0 0 1-1.07-.278Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.989 18a3.117 3.117 0 0 1-1.833-.765 2.1 2.1 0 0 1-.546-1.509c.007-.328.043-.655.109-.977l1.659-8.181h1.909l-1.735 8.563a1.03 1.03 0 0 0-.021.245.7.7 0 0 0 .3.626c.26.156.55.258.851.3L9.989 18Zm.267-13.424a1.364 1.364 0 0 1 0-2.392 1.44 1.44 0 0 1 1.943.5 1.35 1.35 0 0 1 0 1.381 1.447 1.447 0 0 1-1.943.5v.011Z\"/></svg>',\n },\n join: {\n name: 'join',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm4 11h-3v3H9v-3H6V9h3V6h2v3h3v2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.625 9.375H14v1.25h-3.375V14h-1.25v-3.375H6v-1.25h3.375V6h1.25v3.375ZM20 10A10 10 0 1 1 10 0a10.011 10.011 0 0 1 10 10Zm-1.25 0A8.75 8.75 0 1 0 10 18.75 8.76 8.76 0 0 0 18.75 10Z\"/></svg>',\n },\n joined: {\n name: 'joined',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0ZM8.925 13.53l-.487.031a1.113 1.113 0 0 1-.79-.332l-2-2 1.414-1.415 1.376 1.375 4.5-4.5L14.353 8.1l-5.428 5.43Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25ZM8.77 13.157l5.318-5.319-.888-.884-4.762 4.766L6.8 10.079l-.883.884 2 2a.722.722 0 0 0 .517.219l.336-.025Z\"/></svg>',\n },\n 'jump-down': {\n name: 'jump-down',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 19a1 1 0 0 1-.707-.293l-8-8 1.414-1.414L10 16.586l7.293-7.293 1.414 1.414-8 8A1 1 0 0 1 10 19Zm.707-7.293 8-8-1.414-1.414L10 9.586 2.707 2.293 1.293 3.707l8 8a1 1 0 0 0 1.414 0Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 18.625a.624.624 0 0 1-.442-.183l-8-8 .884-.884L10 17.116l7.558-7.558.884.884-8 8a.624.624 0 0 1-.442.183Zm.442-7.183 8-8-.884-.884L10 10.116 2.442 2.558l-.884.884 8 8a.624.624 0 0 0 .884 0Z\"/></svg>',\n },\n 'jump-up': {\n name: 'jump-up',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.293 10.707 10 3.414l-7.293 7.293-1.414-1.414 8-8a1 1 0 0 1 1.414 0l8 8-1.414 1.414Zm1.414 5.586-8-8a1 1 0 0 0-1.414 0l-8 8 1.414 1.414L10 10.414l7.293 7.293 1.414-1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.558 10.442 10 2.884l-7.558 7.558-.884-.884 8-8a.625.625 0 0 1 .884 0l8 8-.884.884Z\"/><path d=\"M17.558 17.442 10 9.884l-7.558 7.558-.884-.884 8-8a.625.625 0 0 1 .884 0l8 8-.884.884Z\"/></svg>',\n },\n karma: {\n name: 'karma',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.835 10c-.312.464-.58.956-.8 1.469a5.542 5.542 0 0 1-.934-1.18.614.614 0 0 1 0-.63c.254-.425.564-.815.922-1.158.222.524.494 1.027.812 1.5Zm6.71 8.96c.34.346.724.647 1.142.895a.616.616 0 0 0 .628 0 5.608 5.608 0 0 0 1.142-.895A8.875 8.875 0 0 1 10 18.178c-.46.305-.947.567-1.455.782Zm11.356-8.67a.614.614 0 0 0 0-.63 5.563 5.563 0 0 0-.921-1.16 9.046 9.046 0 0 1-.812 1.5c.31.464.576.956.795 1.469.364-.349.68-.745.938-1.18ZM11.49 1.029A5.598 5.598 0 0 0 10.314.1a.608.608 0 0 0-.627 0 5.59 5.59 0 0 0-1.175.932c.52.218 1.019.486 1.489.8a8.87 8.87 0 0 1 1.489-.804ZM15.922 10a7.25 7.25 0 0 1 1.816 6.833 1.251 1.251 0 0 1-.9.9 7.42 7.42 0 0 1-1.824.23A7.169 7.169 0 0 1 10 15.928a7.165 7.165 0 0 1-5.01 2.042 7.412 7.412 0 0 1-1.823-.231 1.249 1.249 0 0 1-.9-.9A7.253 7.253 0 0 1 4.08 10a7.253 7.253 0 0 1-1.815-6.833 1.249 1.249 0 0 1 .9-.9 7.415 7.415 0 0 1 1.824-.231A7.165 7.165 0 0 1 10 4.075a7.169 7.169 0 0 1 5.01-2.042 7.42 7.42 0 0 1 1.824.23 1.252 1.252 0 0 1 .9.9 7.25 7.25 0 0 1-1.813 6.838Zm-3.8-2.121a3 3 0 1 0-4.245 4.241 3 3 0 0 0 4.246-4.241h-.001Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M17.836 7.66a5.475 5.475 0 0 1 2.065 2 .614.614 0 0 1 0 .63 5.465 5.465 0 0 1-2.068 2.01 4.385 4.385 0 0 1-.36.172 7.236 7.236 0 0 1 .259 4.367 1.251 1.251 0 0 1-.9.9 7.142 7.142 0 0 1-4.379-.247c-.019.04-.035.08-.051.121a1.77 1.77 0 0 1-.08.179 5.473 5.473 0 0 1-2.01 2.06.616.616 0 0 1-.628 0 5.47 5.47 0 0 1-2.01-2.06c-.033-.057-.057-.12-.082-.182-.015-.04-.03-.08-.048-.118a7.141 7.141 0 0 1-4.38.247 1.249 1.249 0 0 1-.9-.9 7.236 7.236 0 0 1 .259-4.367 4.365 4.365 0 0 1-.36-.171 5.469 5.469 0 0 1-2.062-2.015.614.614 0 0 1 0-.63 5.485 5.485 0 0 1 2.066-2c.1-.058.204-.103.309-.149l.036-.015a7.228 7.228 0 0 1-.244-4.324 1.249 1.249 0 0 1 .9-.9 7.13 7.13 0 0 1 4.345.235l.005-.012c.05-.111.099-.223.158-.33A5.488 5.488 0 0 1 9.686.1a.608.608 0 0 1 .628 0 5.483 5.483 0 0 1 2.012 2.064c.054.096.099.196.143.297l.02.045a7.141 7.141 0 0 1 4.346-.235 1.252 1.252 0 0 1 .9.9 7.235 7.235 0 0 1-.244 4.324c.117.05.233.103.345.164ZM10 1.358c-.516.363-.943.84-1.247 1.393-.032.054-.052.112-.072.17-.014.04-.028.08-.045.119.493.29.951.637 1.364 1.035.412-.398.87-.745 1.364-1.034-.017-.039-.031-.078-.045-.118a1.164 1.164 0 0 0-.072-.172A4.147 4.147 0 0 0 10 1.358ZM1.36 9.976c.364.514.84.939 1.394 1.242a3.157 3.157 0 0 0 .302.14c.286-.492.63-.947 1.024-1.357a7.264 7.264 0 0 1-1.045-1.395l-.057.025a2.997 2.997 0 0 0-.218.103 4.151 4.151 0 0 0-1.4 1.242ZM10 18.594c.517-.364.943-.84 1.249-1.393.024-.045.042-.094.06-.143.012-.036.025-.071.04-.105a7.269 7.269 0 0 1-1.348-1.026c-.408.393-.86.737-1.347 1.025.014.033.026.067.038.101.018.05.036.1.062.148.304.553.73 1.03 1.247 1.393Zm5.01-1.875a6.12 6.12 0 0 0 1.516-.193A5.962 5.962 0 0 0 13.966 10a5.962 5.962 0 0 0 2.56-6.525 6.117 6.117 0 0 0-1.515-.193A5.984 5.984 0 0 0 10 6.036a5.98 5.98 0 0 0-5.01-2.753c-.51 0-1.02.065-1.515.193A5.965 5.965 0 0 0 6.036 10a5.965 5.965 0 0 0-2.56 6.525 6.129 6.129 0 0 0 1.516.193A5.98 5.98 0 0 0 10 13.966a5.984 5.984 0 0 0 5.01 2.753Zm2.002-5.39c.078-.035.157-.07.236-.111a4.159 4.159 0 0 0 1.394-1.242 4.148 4.148 0 0 0-1.394-1.242c-.073-.04-.15-.073-.226-.106a18.06 18.06 0 0 1-.05-.022A7.223 7.223 0 0 1 15.922 10c.394.41.738.866 1.026 1.357l.064-.029ZM6.63 8.615c.188-.442.463-.842.808-1.177a3.707 3.707 0 0 1 5.125.002 3.622 3.622 0 0 1 0 5.124 3.623 3.623 0 0 1-6.224-2.552c.003-.48.102-.956.29-1.397ZM10 12.352c.625 0 1.227-.24 1.68-.672a2.375 2.375 0 1 0-3.36 0 2.434 2.434 0 0 0 1.68.672Z\" clip-rule=\"evenodd\"/></svg>',\n },\n keyboard: {\n name: 'keyboard',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.375 2H1.625A1.627 1.627 0 0 0 0 3.625v11.75A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V3.625A1.627 1.627 0 0 0 18.375 2Zm-6.542 2.7a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6Zm0 4a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6Zm-3.666-4a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6Zm0 4a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6ZM4.5 11.3a1.3 1.3 0 1 1 0-2.6 1.3 1.3 0 0 1 0 2.6Zm0-4a1.3 1.3 0 1 1 0-2.6 1.3 1.3 0 0 1 0 2.6ZM13 15H7a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2Zm2.5-3.7a1.3 1.3 0 1 1 0-2.599 1.3 1.3 0 0 1 0 2.599Zm0-4a1.3 1.3 0 1 1 0-2.6 1.3 1.3 0 0 1 0 2.6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 18H2.625A2.63 2.63 0 0 1 0 15.375V3.625A1.627 1.627 0 0 1 1.625 2h16.75A1.627 1.627 0 0 1 20 3.625v11.75A2.63 2.63 0 0 1 17.375 18ZM1.625 3.25a.375.375 0 0 0-.375.375v11.75a1.377 1.377 0 0 0 1.375 1.375h14.75a1.377 1.377 0 0 0 1.375-1.375V3.625a.375.375 0 0 0-.375-.375H1.625ZM13 13H7a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2ZM4.5 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm3.666 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm3.667 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2ZM15.5 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-11 4a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm3.666 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm3.667 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2ZM15.5 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z\"/></svg>',\n },\n kick: {\n name: 'kick',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 6.75a3.213 3.213 0 0 0-1.7.492l4.458 4.457c.32-.509.49-1.098.492-1.7A3.253 3.253 0 0 0 10 6.75Z\"/><path d=\"m19.856 9.452-4.447-7.885A1.117 1.117 0 0 0 14.437 1H5.562a1.116 1.116 0 0 0-.97.567L.145 9.45a1.11 1.11 0 0 0 0 1.1L4.59 18.43a1.118 1.118 0 0 0 .972.568h8.875a1.117 1.117 0 0 0 .972-.567l4.446-7.882a1.11 1.11 0 0 0 0-1.098ZM10 14.749A4.75 4.75 0 1 1 14.75 10 4.756 4.756 0 0 1 10 14.75Z\"/><path d=\"M6.75 10A3.254 3.254 0 0 0 10 13.25a3.213 3.213 0 0 0 1.7-.493L7.242 8.3c-.32.509-.49 1.098-.492 1.7Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 5.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM6.75 10a3.227 3.227 0 0 1 .55-1.812l4.512 4.511A3.248 3.248 0 0 1 6.75 10Zm5.95 1.811L8.188 7.3A3.248 3.248 0 0 1 12.7 11.81Zm7.16-2.36-4.451-7.884A1.117 1.117 0 0 0 14.437 1H5.562a1.116 1.116 0 0 0-.97.567L.145 9.45a1.11 1.11 0 0 0 0 1.1L4.59 18.43a1.118 1.118 0 0 0 .972.568h8.875a1.117 1.117 0 0 0 .972-.567l4.446-7.882a1.11 1.11 0 0 0 0-1.098h.005Zm-5.5 8.3H5.641L1.271 10l4.37-7.75h8.718l4.37 7.75-4.369 7.751Z\"/></svg>',\n },\n language: {\n name: 'language',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.564 12.614a8.049 8.049 0 0 1-4.075 4.6c.433-.862.765-1.772.987-2.711l-.63-.011-.512-.352c-.146-.1-.387-.274-.679-.5-.588 2.75-1.765 4.385-2.655 4.385-1.147 0-2.775-2.706-3-7.025h2.894a11.77 11.77 0 0 1-1.353-2H7c.057-1.288.273-2.565.644-3.8A6.92 6.92 0 0 1 10.468.024C10.312.016 10.158 0 10 0a10 10 0 1 0 10 10c0-.068-.009-.133-.01-.2a14.901 14.901 0 0 1-2.426 2.814ZM2.044 11h2.98c.055 2.153.562 4.27 1.487 6.216A8.033 8.033 0 0 1 2.044 11Zm2.98-2h-2.98a8.033 8.033 0 0 1 4.467-6.216A15.388 15.388 0 0 0 5.024 9ZM14.5 0A5.532 5.532 0 0 0 9 5.55c0 3.766 4.59 7.028 5.117 7.39l.418.238.351-.241C15.409 12.578 20 9.315 20 5.55A5.532 5.532 0 0 0 14.5 0Zm0 8.02a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.573 11.608a8.751 8.751 0 0 1-5.726 6.657 10.825 10.825 0 0 0 1.622-3.765l-.623-.011-.512-.352-.053-.037c-.687 2.861-2.032 4.65-3.281 4.65-1.7 0-3.582-3.308-3.735-8.125H9.59a11.808 11.808 0 0 1-.848-1.25H6.265c.116-3.66 1.23-6.443 2.5-7.572a6.946 6.946 0 0 1 1.7-1.779C10.312.016 10.158 0 10 0a10 10 0 1 0 10 10c0-.068-.009-.133-.01-.2a13.41 13.41 0 0 1-1.417 1.808ZM7.153 1.735a14.065 14.065 0 0 0-2.138 7.64H1.282a8.756 8.756 0 0 1 5.871-7.64Zm-5.871 8.89h3.733c-.035 2.7.707 5.351 2.138 7.64a8.756 8.756 0 0 1-5.871-7.64Zm13.253 2.553-.418-.238C13.59 12.578 9 9.316 9 5.55a5.5 5.5 0 0 1 11 0c0 3.765-4.591 7.028-5.114 7.387l-.351.241ZM14.5 1.25a4.28 4.28 0 0 0-4.25 4.3c0 2.718 3.2 5.34 4.25 6.124 1.041-.78 4.25-3.4 4.25-6.124a4.28 4.28 0 0 0-4.25-4.3Zm0 6.75a2.49 2.49 0 1 1 .02-4.98A2.49 2.49 0 0 1 14.5 8Zm0-3.73a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Z\"/></svg>',\n },\n leave: {\n name: 'leave',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm4 11H6V9h8v2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14 10.625H6v-1.25h8v1.25ZM20 10a10 10 0 1 0-10 10 10.011 10.011 0 0 0 10-10Zm-1.25 0A8.75 8.75 0 1 1 10 1.25 8.76 8.76 0 0 1 18.75 10Z\"/></svg>',\n },\n left: {\n name: 'left',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m12.793 19.707-9-9a1 1 0 0 1 0-1.414l9-9 1.414 1.414L5.914 10l8.293 8.293-1.414 1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m13.058 19.442-9-9a.624.624 0 0 1 0-.884l9-9 .884.884L5.384 10l8.558 8.558-.884.884Z\"/></svg>',\n },\n link: {\n name: 'link',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.5 5.239a5.23 5.23 0 0 1-1.525 3.704c-.44.441-.853.866-1.267 1.29-.435.446-.87.892-1.333 1.358a5.115 5.115 0 0 1-5.944.993l1.56-1.57a3.254 3.254 0 0 0 2.981-.838c.459-.46.895-.9 1.321-1.344.427-.444.835-.857 1.28-1.3a3.236 3.236 0 0 0 .942-2.29 3.253 3.253 0 0 0-.943-2.29 3.216 3.216 0 0 0-2.276-.948 3.2 3.2 0 0 0-2.275.949c-.454.454-.878.89-1.303 1.326-.426.436-.851.865-1.302 1.32-.028.03-.047.064-.075.093l.038-.136L4.541 8.43a5.238 5.238 0 0 1 1.47-4.248c.448-.45.866-.88 1.285-1.31.42-.43.86-.88 1.316-1.34A5.19 5.19 0 0 1 12.293 0a5.19 5.19 0 0 1 3.682 1.534A5.203 5.203 0 0 1 17.5 5.239Zm-4.735 8.941c-.061.074-.114.155-.182.224-.445.447-.863.876-1.28 1.3-.416.424-.862.883-1.32 1.344a3.286 3.286 0 0 1-4.553 0 3.254 3.254 0 0 1 0-4.58c.45-.453.875-.888 1.298-1.322.423-.434.85-.872 1.303-1.326a3.157 3.157 0 0 1 3-.859l1.526-1.555a5.113 5.113 0 0 0-5.931 1c-.456.46-.887.9-1.316 1.34-.43.44-.838.86-1.285 1.31A5.256 5.256 0 0 0 2.5 14.76c0 1.39.55 2.722 1.526 3.705A5.192 5.192 0 0 0 7.709 20a5.192 5.192 0 0 0 3.682-1.535c.463-.466.894-.912 1.334-1.36.413-.422.827-.847 1.266-1.288a5.203 5.203 0 0 0 1.525-3.7 5.306 5.306 0 0 0-.063-.655l-2.688 2.718Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.111 12.5a3.701 3.701 0 0 1-1.09 2.41c-.479.47-.928.922-1.378 1.373-.45.45-.894.9-1.368 1.366a3.852 3.852 0 0 1-2.698 1.099 3.852 3.852 0 0 1-2.698-1.099 3.738 3.738 0 0 1-1.116-2.659c0-.997.402-1.953 1.116-2.658.479-.472.928-.923 1.378-1.375.45-.45.893-.9 1.368-1.365A3.936 3.936 0 0 1 9.638 8.59a3.968 3.968 0 0 1 2.24.258c.27-.269.546-.54.812-.806l.131-.13a5.086 5.086 0 0 0-3.182-.624A5.052 5.052 0 0 0 6.732 8.71c-.48.471-.929.922-1.377 1.373-.449.451-.894.9-1.37 1.366A4.982 4.982 0 0 0 2.5 14.992c0 1.328.534 2.602 1.486 3.543A5.13 5.13 0 0 0 7.58 20a5.13 5.13 0 0 0 3.595-1.465c.478-.471.927-.923 1.377-1.374.451-.451.894-.9 1.368-1.366a4.993 4.993 0 0 0 1.263-2.071c.243-.781.288-1.61.132-2.412L14.11 12.5Z\"/><path d=\"M16.017 1.467A5.123 5.123 0 0 0 12.422 0a5.123 5.123 0 0 0-3.595 1.467c-.478.471-.926.923-1.377 1.374-.45.451-.894.9-1.367 1.366a4.966 4.966 0 0 0-1.106 1.624 4.907 4.907 0 0 0-.291 2.86l1.2-1.19a3.699 3.699 0 0 1 1.092-2.41c.478-.472.928-.923 1.377-1.374.45-.45.894-.9 1.368-1.366a3.844 3.844 0 0 1 2.698-1.101c1.012 0 1.982.396 2.698 1.101a3.736 3.736 0 0 1 1.116 2.66c0 .996-.401 1.953-1.116 2.658-.478.471-.927.922-1.377 1.373-.45.451-.893.9-1.368 1.367a3.933 3.933 0 0 1-2.014 1.003 3.966 3.966 0 0 1-2.24-.26c-.273.274-.551.549-.818.818l-.123.12a5.087 5.087 0 0 0 3.183.624 5.053 5.053 0 0 0 2.906-1.423c.477-.472.926-.923 1.376-1.375.45-.452.894-.9 1.368-1.365A4.977 4.977 0 0 0 17.5 5.008a4.977 4.977 0 0 0-1.488-3.543l.005.002Z\"/></svg>',\n },\n 'link-post': {\n name: 'link-post',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.5 5.239a5.23 5.23 0 0 1-1.525 3.704c-.44.441-.853.866-1.267 1.29-.435.446-.87.892-1.333 1.358a5.115 5.115 0 0 1-5.944.993l1.56-1.57a3.254 3.254 0 0 0 2.981-.838c.459-.46.895-.9 1.321-1.344.427-.444.835-.857 1.28-1.3a3.236 3.236 0 0 0 .942-2.29 3.253 3.253 0 0 0-.943-2.29 3.216 3.216 0 0 0-2.276-.948 3.2 3.2 0 0 0-2.275.949c-.454.454-.878.89-1.303 1.326-.426.436-.851.865-1.302 1.32-.028.03-.047.064-.075.093l.038-.136L4.541 8.43a5.238 5.238 0 0 1 1.47-4.248c.448-.45.866-.88 1.285-1.31.42-.43.86-.88 1.316-1.34A5.19 5.19 0 0 1 12.293 0a5.19 5.19 0 0 1 3.682 1.534A5.203 5.203 0 0 1 17.5 5.239Zm-4.735 8.941c-.061.074-.114.155-.182.224-.445.447-.863.876-1.28 1.3-.416.424-.862.883-1.32 1.344a3.286 3.286 0 0 1-4.553 0 3.254 3.254 0 0 1 0-4.58c.45-.453.875-.888 1.298-1.322.423-.434.85-.872 1.303-1.326a3.157 3.157 0 0 1 3-.859l1.526-1.555a5.113 5.113 0 0 0-5.931 1c-.456.46-.887.9-1.316 1.34-.43.44-.838.86-1.285 1.31A5.256 5.256 0 0 0 2.5 14.76c0 1.39.55 2.722 1.526 3.705A5.192 5.192 0 0 0 7.709 20a5.192 5.192 0 0 0 3.682-1.535c.463-.466.894-.912 1.334-1.36.413-.422.827-.847 1.266-1.288a5.203 5.203 0 0 0 1.525-3.7 5.306 5.306 0 0 0-.063-.655l-2.688 2.718Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.111 12.5a3.701 3.701 0 0 1-1.09 2.41c-.479.47-.928.922-1.378 1.373-.45.45-.894.9-1.368 1.366a3.852 3.852 0 0 1-2.698 1.099 3.852 3.852 0 0 1-2.698-1.099 3.738 3.738 0 0 1-1.116-2.659c0-.997.402-1.953 1.116-2.658.479-.472.928-.923 1.378-1.375.45-.45.893-.9 1.368-1.365A3.936 3.936 0 0 1 9.638 8.59a3.968 3.968 0 0 1 2.24.258c.27-.269.546-.54.812-.806l.131-.13a5.086 5.086 0 0 0-3.182-.624A5.052 5.052 0 0 0 6.732 8.71c-.48.471-.929.922-1.377 1.373-.449.451-.894.9-1.37 1.366A4.982 4.982 0 0 0 2.5 14.992c0 1.328.534 2.602 1.486 3.543A5.13 5.13 0 0 0 7.58 20a5.13 5.13 0 0 0 3.595-1.465c.478-.471.927-.923 1.377-1.374.451-.451.894-.9 1.368-1.366a4.993 4.993 0 0 0 1.263-2.071c.243-.781.288-1.61.132-2.412L14.11 12.5Z\"/><path d=\"M16.017 1.467A5.123 5.123 0 0 0 12.422 0a5.123 5.123 0 0 0-3.595 1.467c-.478.471-.926.923-1.377 1.374-.45.451-.894.9-1.367 1.366a4.966 4.966 0 0 0-1.106 1.624 4.907 4.907 0 0 0-.291 2.86l1.2-1.19a3.699 3.699 0 0 1 1.092-2.41c.478-.472.928-.923 1.377-1.374.45-.45.894-.9 1.368-1.366a3.844 3.844 0 0 1 2.698-1.101c1.012 0 1.982.396 2.698 1.101a3.736 3.736 0 0 1 1.116 2.66c0 .996-.401 1.953-1.116 2.658-.478.471-.927.922-1.377 1.373-.45.451-.893.9-1.368 1.367a3.933 3.933 0 0 1-2.014 1.003 3.966 3.966 0 0 1-2.24-.26c-.273.274-.551.549-.818.818l-.123.12a5.087 5.087 0 0 0 3.183.624 5.053 5.053 0 0 0 2.906-1.423c.477-.472.926-.923 1.376-1.375.45-.452.894-.9 1.368-1.365A4.977 4.977 0 0 0 17.5 5.008a4.977 4.977 0 0 0-1.488-3.543l.005.002Z\"/></svg>',\n },\n 'list-bulleted': {\n name: 'list-bulleted',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 11H7V9h12v2Zm0-8H7v2h12V3Zm0 12H7v2h12v-2ZM3 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 10.625H7v-1.25h12v1.25Zm0-7.25H7v1.25h12v-1.25Zm0 12H7v1.25h12v-1.25ZM3 2.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0 6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0 6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z\"/></svg>',\n },\n 'list-numbered': {\n name: 'list-numbered',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.348 5.155h.72v-2.31c-.22.101-.458.158-.7.167v-.761c.265.013.526-.077.726-.251h1.054v3.155h.628V6H1.348v-.845Zm-.263 6.631c0-.569.107-1.145 1.153-1.778.6-.37.773-.453.773-.783 0-.222-.14-.346-.387-.346a1.067 1.067 0 0 0-.831.593l-.716-.518A1.758 1.758 0 0 1 2.649 8c.929 0 1.374.469 1.374 1.2 0 .445-.181.882-.988 1.316-.5.282-.666.478-.723.636h1.736V12H1.085v-.214ZM1 17.206l.632-.551a1.052 1.052 0 0 0 .849.5c.429 0 .574-.176.574-.419 0-.332-.226-.461-.76-.461h-.308v-.723h.323c.519 0 .673-.145.673-.38 0-.2-.145-.316-.413-.316a1.243 1.243 0 0 0-.882.39l-.551-.641c.406-.392.95-.61 1.514-.605C3.534 14 4 14.4 4 15.052a.815.815 0 0 1-.575.817.874.874 0 0 1 .7.892C4.125 17.57 3.509 18 2.57 18A1.832 1.832 0 0 1 1 17.206ZM19 9H7v2h12V9Zm0 6H7v2h12v-2Zm0-12H7v2h12V3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.348 5.155h.72v-2.31c-.22.101-.458.158-.7.167v-.761c.265.013.525-.077.726-.251h1.054v3.155h.628V6H1.348v-.845Zm-.263 6.631c0-.569.107-1.145 1.153-1.778.6-.37.773-.453.773-.783 0-.222-.141-.346-.387-.346a1.066 1.066 0 0 0-.831.593l-.716-.518A1.758 1.758 0 0 1 2.649 8c.929 0 1.374.469 1.374 1.2 0 .445-.181.882-.988 1.316-.5.282-.666.478-.724.636h1.736V12H1.085v-.214ZM1 17.206l.631-.551a1.055 1.055 0 0 0 .849.5c.43 0 .575-.176.575-.419 0-.332-.227-.461-.761-.461h-.307v-.723h.323c.518 0 .673-.145.673-.38 0-.2-.145-.316-.413-.316a1.241 1.241 0 0 0-.882.39l-.551-.641c.406-.392.949-.61 1.513-.605.884 0 1.35.4 1.35 1.052a.815.815 0 0 1-.575.817.873.873 0 0 1 .7.892C4.124 17.57 3.509 18 2.57 18A1.832 1.832 0 0 1 1 17.206Zm18-7.831H7v1.25h12v-1.25Zm0 6H7v1.25h12v-1.25Zm0-12H7v1.25h12v-1.25Z\"/></svg>',\n },\n 'live-chat': {\n name: 'live-chat',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.998 5.376a4.623 4.623 0 1 0 4.625 4.625 4.63 4.63 0 0 0-4.625-4.625Zm0 7.75A3.123 3.123 0 0 1 7.791 7.79a3.124 3.124 0 1 1 2.207 5.334ZM11.624 10a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm5.44-7.068a9.99 9.99 0 0 0-16.94 5.51 9.883 9.883 0 0 0 1.194 6.49L.085 19.012a.727.727 0 0 0 .178.721.715.715 0 0 0 .72.19l4.166-1.193A9.848 9.848 0 0 0 9.989 20a9.99 9.99 0 0 0 9.728-12.342 9.992 9.992 0 0 0-2.654-4.724ZM9.997 16.125a6.122 6.122 0 0 1-6.004-7.32A6.124 6.124 0 0 1 15.09 6.598a6.124 6.124 0 0 1 1.032 3.403 6.132 6.132 0 0 1-6.124 6.124Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.611 19.871a10.009 10.009 0 0 0 8.123-7.589A9.997 9.997 0 0 0 12.274.264c-1.28-.3-2.606-.345-3.903-.132A10.047 10.047 0 0 0 .124 8.443a9.878 9.878 0 0 0 1.195 6.49L.085 19.012a.727.727 0 0 0 .178.721.718.718 0 0 0 .721.19l4.169-1.193A9.86 9.86 0 0 0 9.997 20c.54 0 1.08-.043 1.614-.128ZM1.558 18.457l1.119-3.69-.145-.24a8.647 8.647 0 0 1-1.173-5.892 8.779 8.779 0 0 1 7.21-7.27 8.76 8.76 0 0 1 8.913 3.995 8.75 8.75 0 0 1-6.068 13.277 8.674 8.674 0 0 1-5.86-1.118l-.232-.138-3.764 1.076ZM16.008 10a5.998 5.998 0 0 0-3.705-5.543A6.005 6.005 0 0 0 4.119 8.83a5.997 5.997 0 0 0 2.552 6.158A6.005 6.005 0 0 0 10.006 16 6.01 6.01 0 0 0 16.008 10Zm-1.25 0a4.747 4.747 0 0 1-2.934 4.388 4.755 4.755 0 0 1-6.479-3.461 4.747 4.747 0 0 1 4.66-5.677A4.759 4.759 0 0 1 14.76 10h-.001Zm-1.75 0A2.998 2.998 0 0 0 9.42 7.058a3.002 3.002 0 0 0-2.187 4.09A3 3 0 0 0 13.007 10Zm-1.251 0a1.75 1.75 0 0 1-2.99 1.237 1.75 1.75 0 1 1 2.477-2.474c.328.328.513.773.514 1.237h-.001Z\"/></svg>',\n },\n live: {\n name: 'live',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 5.375a4.625 4.625 0 1 0 0 9.25 4.625 4.625 0 0 0 0-9.25Zm0 6.6a1.972 1.972 0 1 1 1.394-.58c-.37.37-.871.577-1.394.577v.003Z\"/><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 16.125A6.124 6.124 0 1 1 16.125 10 6.133 6.133 0 0 1 10 16.125Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25Zm0 13.875A5.125 5.125 0 1 1 15.125 10 5.131 5.131 0 0 1 10 15.125Zm0-9a3.875 3.875 0 1 0 0 7.75 3.875 3.875 0 0 0 0-7.75Z\"/></svg>',\n },\n load: {\n name: 'load',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.444 10.625H0v-1.25h4.444v1.25ZM20 9.375h-4.444v1.25H20v-1.25ZM10.625 0h-1.25v4.444h1.25V0Zm0 15.556h-1.25V20h1.25v-4.444ZM5.5 13.319l-.625-1.083-3.848 2.223.625 1.082L5.5 13.319Zm13.473-7.778-.625-1.082L14.5 6.681l.625 1.083 3.848-2.223Zm-11.21-.665L5.541 1.027l-1.082.625L6.681 5.5l1.082-.624Zm7.778 13.472L13.318 14.5l-1.082.625 2.223 3.849 1.082-.626Zm3.432-3.889-3.849-2.223-.624 1.083 3.849 2.222.624-1.082ZM5.5 6.681 1.652 4.459l-.625 1.082 3.849 2.223.624-1.083Zm2.263 8.443L6.682 14.5l-2.223 3.848 1.082.625 2.222-3.849Zm7.778-13.472-1.082-.625-2.223 3.849 1.082.625 2.223-3.849Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.444 10.625H0v-1.25h4.444v1.25ZM20 9.375h-4.444v1.25H20v-1.25ZM10.625 0h-1.25v4.444h1.25V0Zm0 15.556h-1.25V20h1.25v-4.444ZM5.5 13.319l-.625-1.083-3.848 2.223.625 1.082L5.5 13.319Zm13.473-7.778-.625-1.082L14.5 6.681l.625 1.083 3.848-2.223Zm-11.21-.665L5.541 1.027l-1.082.625L6.681 5.5l1.082-.624Zm7.778 13.472L13.318 14.5l-1.082.625 2.223 3.849 1.082-.626Zm3.432-3.889-3.849-2.223-.624 1.083 3.849 2.222.624-1.082ZM5.5 6.681 1.652 4.459l-.625 1.082 3.849 2.223.624-1.083Zm2.263 8.443L6.682 14.5l-2.223 3.848 1.082.625 2.222-3.849Zm7.778-13.472-1.082-.625-2.223 3.849 1.082.625 2.223-3.849Z\"/></svg>',\n },\n location: {\n name: 'location',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a8.212 8.212 0 0 0-8 8.39c0 5.752 6.809 10.79 7.581 11.342l.465.268.369-.265C11.191 19.18 18 14.142 18 8.39A8.212 8.212 0 0 0 10 0Zm0 11.3a3.354 3.354 0 1 1 3.375-3.354A3.365 3.365 0 0 1 10 11.3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m10.046 20-.465-.268C8.809 19.18 2 14.142 2 8.39A8.212 8.212 0 0 1 10 0a8.212 8.212 0 0 1 8 8.39c0 5.752-6.809 10.79-7.585 11.345l-.369.265ZM10 1.242A6.966 6.966 0 0 0 3.25 8.39c0 4.644 5.361 9.042 6.75 10.1 1.4-1.067 6.75-5.461 6.75-10.1A6.966 6.966 0 0 0 10 1.242ZM10 12a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6.75a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5Z\"/></svg>',\n },\n lock: {\n name: 'lock',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 8H15V5.312A5.17 5.17 0 0 0 10 0a5.169 5.169 0 0 0-5 5.312V8H3.625A1.629 1.629 0 0 0 2 9.63v7.74A1.629 1.629 0 0 0 3.625 19h12.75A1.629 1.629 0 0 0 18 17.37V9.63A1.629 1.629 0 0 0 16.375 8Zm-3.25 0h-6.25V5.313A3.3 3.3 0 0 1 10 1.875a3.3 3.3 0 0 1 3.125 3.438V8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 8H15V5.312A5.17 5.17 0 0 0 10 0a5.169 5.169 0 0 0-5 5.312V8H3.625A1.629 1.629 0 0 0 2 9.63v7.74A1.629 1.629 0 0 0 3.625 19h12.75A1.629 1.629 0 0 0 18 17.37V9.63A1.629 1.629 0 0 0 16.375 8ZM6.25 5.312A3.92 3.92 0 0 1 10 1.25a3.92 3.92 0 0 1 3.75 4.062V8h-7.5V5.312Zm10.5 12.058a.378.378 0 0 1-.375.38H3.625a.378.378 0 0 1-.375-.38V9.63a.383.383 0 0 1 .375-.38h12.75a.378.378 0 0 1 .375.38v7.74Z\"/></svg>',\n },\n logout: {\n name: 'logout',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.1 11H1V9h9.1V7a.5.5 0 0 1 .853-.354l3 3a.5.5 0 0 1 0 .708l-3 3A.5.5 0 0 1 10.1 13v-2Zm5.25-10h-9.7A2.653 2.653 0 0 0 3 3.65v1.133h2V3.65A.651.651 0 0 1 5.65 3h9.7a.65.65 0 0 1 .65.65v12.7a.65.65 0 0 1-.65.65h-9.7a.65.65 0 0 1-.65-.65v-1.133H3v1.133A2.653 2.653 0 0 0 5.65 19h9.7A2.653 2.653 0 0 0 18 16.35V3.65A2.653 2.653 0 0 0 15.35 1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.991 10.625H1v-1.25h10.991l-1.933-1.933.884-.884 3 3a.624.624 0 0 1 0 .884l-3 3-.884-.884 1.933-1.933ZM15.375 1h-9.75A2.629 2.629 0 0 0 3 3.625v.792h1.25v-.792A1.377 1.377 0 0 1 5.625 2.25h9.75a1.377 1.377 0 0 1 1.375 1.375v12.75a1.377 1.377 0 0 1-1.375 1.375h-9.75a1.377 1.377 0 0 1-1.375-1.375v-.792H3v.792A2.63 2.63 0 0 0 5.625 19h9.75A2.63 2.63 0 0 0 18 16.375V3.625A2.63 2.63 0 0 0 15.375 1Z\"/></svg>',\n },\n loop: {\n name: 'loop',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.75 19.5a5.25 5.25 0 1 1 0-10.5h8.5A3.25 3.25 0 1 0 11 5.75V7H9V5.75A5.25 5.25 0 1 1 14.25 11h-8.5A3.25 3.25 0 1 0 9 14.25V13h2v1.25a5.256 5.256 0 0 1-5.25 5.25Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.812 19a4.813 4.813 0 0 1 0-9.625h8.375a3.563 3.563 0 1 0-3.562-3.563v1.725h-1.25V5.812a4.813 4.813 0 1 1 4.812 4.813H5.812a3.563 3.563 0 1 0 3.563 3.563v-1.725h1.25v1.725A4.818 4.818 0 0 1 5.812 19Z\"/></svg>',\n },\n macro: {\n name: 'macro',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.047 14V6.015h1.482L10 10.159h.054l3.474-4.144H15V14h-1.952v-3.109l.041-1.962h-.055l-2.792 3.456h-.437L7.014 8.929h-.055L7 10.891V14H5.047Zm-3.559-3.967v.03c.164.01.327.029.488.057a1.1 1.1 0 0 1 .466.2c.153.117.276.27.357.444.108.252.158.526.146.8v3.752c0 .105.008.21.022.314.014.108.054.21.116.3.072.1.171.178.285.226.167.066.346.096.525.088h.713v1.666h-1.53a2.289 2.289 0 0 1-.736-.116 1.5 1.5 0 0 1-.6-.379 1.844 1.844 0 0 1-.4-.663 2.859 2.859 0 0 1-.146-.97v-3.9a.743.743 0 0 0-.2-.539 1.268 1.268 0 0 0-.459-.306 2.106 2.106 0 0 0-.524-.132H0V9.189h.016c.18-.021.356-.066.524-.132A1.27 1.27 0 0 0 1 8.75a.743.743 0 0 0 .2-.539v-4.02a2.98 2.98 0 0 1 .138-.968 1.7 1.7 0 0 1 .394-.657 1.52 1.52 0 0 1 .6-.371 2.3 2.3 0 0 1 .75-.117h1.53V3.74h-.719a1.267 1.267 0 0 0-.525.087.682.682 0 0 0-.285.226.689.689 0 0 0-.116.306 2.36 2.36 0 0 0-.022.314v3.845c.012.274-.037.548-.146.8a1.194 1.194 0 0 1-.357.445 1.2 1.2 0 0 1-.466.2c-.16.035-.324.058-.488.07Zm18.5-.852a2.11 2.11 0 0 1-.524-.132A1.268 1.268 0 0 1 19 8.743a.742.742 0 0 1-.2-.539v-4a2.858 2.858 0 0 0-.146-.97 1.843 1.843 0 0 0-.4-.663 1.5 1.5 0 0 0-.6-.379 2.29 2.29 0 0 0-.736-.116h-1.53v1.663h.713c.18-.008.358.022.525.088a.674.674 0 0 1 .285.226c.062.09.102.192.116.3.014.104.022.209.022.314v3.857c-.012.274.038.548.146.8.081.175.204.327.357.444a1.1 1.1 0 0 0 .466.2c.162.028.324.047.488.057v.03c-.164.01-.327.032-.488.065a1.13 1.13 0 0 0-.823.649 1.817 1.817 0 0 0-.146.8v3.745c0 .105-.008.21-.022.314a.689.689 0 0 1-.116.306.683.683 0 0 1-.285.226 1.268 1.268 0 0 1-.525.087h-.713v1.663h1.53a2.3 2.3 0 0 0 .75-.117 1.52 1.52 0 0 0 .6-.371 1.7 1.7 0 0 0 .394-.657c.099-.312.145-.638.138-.965v-3.92a.742.742 0 0 1 .2-.539c.129-.135.285-.24.459-.307.168-.066.344-.11.524-.131H20V9.182l-.012-.001Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.706 3.114h-.932a.7.7 0 0 0-.7.423 1.343 1.343 0 0 0-.12.44 4.79 4.79 0 0 0-.027.5v3.239c.01.34-.05.678-.173.994a2.275 2.275 0 0 1-.414.665c-.14.156-.307.287-.492.387a1.715 1.715 0 0 1-.406.164v.036c.141.022.278.066.406.128.185.09.352.213.492.364.18.196.32.424.414.673.125.34.184.7.173 1.061v3.323c0 .167.009.334.026.5.014.15.055.296.121.431.06.123.149.23.26.312a.73.73 0 0 0 .44.12h.931v1.036H3.5c-.223 0-.444-.048-.648-.138a1.725 1.725 0 0 1-.578-.415 2.152 2.152 0 0 1-.423-.681 2.456 2.456 0 0 1-.164-.924V12.43a2.445 2.445 0 0 0-.13-.829 2.14 2.14 0 0 0-.336-.621 1.38 1.38 0 0 0-.475-.389 1.26 1.26 0 0 0-.546-.129V9.426c.19-.001.377-.048.544-.138.183-.096.345-.228.475-.388a2 2 0 0 0 .336-.612 2.39 2.39 0 0 0 .13-.812v-3.24a2.325 2.325 0 0 1 .604-1.605c.162-.177.359-.318.578-.415.2-.09.415-.136.633-.138h1.206v1.036Zm10.588 13.76h.932a.7.7 0 0 0 .7-.423c.065-.139.106-.288.121-.44a4.8 4.8 0 0 0 .026-.5v-3.339c-.01-.34.05-.678.173-.994.099-.244.239-.469.414-.665a1.857 1.857 0 0 1 .898-.551v-.036a1.448 1.448 0 0 1-.406-.128 1.647 1.647 0 0 1-.492-.364 2.09 2.09 0 0 1-.414-.673c-.125-.34-.184-.7-.174-1.061V4.477a4.8 4.8 0 0 0-.026-.5 1.257 1.257 0 0 0-.12-.431.848.848 0 0 0-.26-.312.73.73 0 0 0-.44-.12h-.932V2.078H16.5c.223 0 .444.048.648.138.22.097.416.238.578.415.183.199.326.43.423.681.114.295.17.608.164.924v3.222c-.005.282.04.562.13.829.077.224.19.434.336.621.127.164.29.297.475.389.17.083.355.127.544.129v1.036c-.19.001-.376.048-.544.138a1.535 1.535 0 0 0-.475.389 2 2 0 0 0-.336.612 2.39 2.39 0 0 0-.13.812v3.339a2.325 2.325 0 0 1-.604 1.605 1.734 1.734 0 0 1-.578.415 1.585 1.585 0 0 1-.63.138h-1.207v-1.036ZM6 13.944V6.215h1.084l2.893 4.305h.046l2.893-4.3H14v7.729h-1.39v-3.466l.028-1.762h-.045L10.181 12.4h-.363l-2.41-3.679h-.046l.038 1.762v3.461H6Z\"/></svg>',\n },\n 'mark-read': {\n name: 'mark-read',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.209 4.158 12.318.641a4.514 4.514 0 0 0-4.637 0L1.8 4.154A1.641 1.641 0 0 0 1 5.556v11.8a1.627 1.627 0 0 0 1.625 1.625h14.75A1.627 1.627 0 0 0 19 17.359V5.55a1.627 1.627 0 0 0-.791-1.392ZM9.277 13.72a1.1 1.1 0 0 1-1.555 0l-1.929-1.929 1.414-1.414L8.5 11.669l4.293-4.292 1.414 1.414-4.93 4.929Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.209 4.158 12.318.641a4.512 4.512 0 0 0-4.636 0L1.8 4.155a1.637 1.637 0 0 0-.8 1.4v11.8a1.626 1.626 0 0 0 1.625 1.624h14.75A1.626 1.626 0 0 0 19 17.36V5.55a1.627 1.627 0 0 0-.791-1.392Zm-.459 13.2a.375.375 0 0 1-.375.374H2.625a.375.375 0 0 1-.375-.374V5.556a.382.382 0 0 1 .187-.328l5.885-3.514a3.266 3.266 0 0 1 3.356 0l5.891 3.517a.373.373 0 0 1 .181.319v11.808Zm-4.692-9.716.884.884-4.929 4.929a.727.727 0 0 1-1.026 0l-1.929-1.929.884-.884L8.5 12.2l4.558-4.558Z\"/></svg>',\n },\n marketplace: {\n name: 'marketplace',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.031 11.5A4.538 4.538 0 0 0 19 11.04v6.914A1.053 1.053 0 0 1 17.942 19h-5.195a.71.71 0 0 1-.711-.709V13.25H7.964v5.041a.711.711 0 0 1-.711.709H2.058A1.053 1.053 0 0 1 1 17.954V11.04c.613.3 1.286.457 1.969.461h.242a4.582 4.582 0 0 0 2.182-.547c.67.361 1.42.55 2.182.547h.242A4.57 4.57 0 0 0 10 10.954a4.57 4.57 0 0 0 2.183.547h.242a4.568 4.568 0 0 0 2.182-.547c.67.36 1.42.549 2.182.547l.242-.001Zm.852-10.17a.626.626 0 0 0-.551-.33H2.668a.626.626 0 0 0-.551.33L.312 4.75h19.407l-1.836-3.42ZM0 7.186A2.9 2.9 0 0 0 2.969 10h.242a3.019 3.019 0 0 0 2.183-.909A3.011 3.011 0 0 0 7.575 10h.242A3.02 3.02 0 0 0 10 9.092a3.02 3.02 0 0 0 2.183.908h.242a3.01 3.01 0 0 0 2.181-.909 3.02 3.02 0 0 0 2.183.909h.242A2.9 2.9 0 0 0 20 7.186V6H0v1.186Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.75 11H19v6.954A1.053 1.053 0 0 1 17.942 19h-5.195a.71.71 0 0 1-.711-.709V12.25H7.964v6.041a.711.711 0 0 1-.711.709H2.058A1.053 1.053 0 0 1 1 17.954V11h1.25v6.75h4.464v-6.125A.625.625 0 0 1 7.339 11h5.322a.624.624 0 0 1 .625.625v6.125h4.464V11ZM20 5.446v1.741A2.9 2.9 0 0 1 17.031 10h-.242a3.019 3.019 0 0 1-2.183-.909 3.012 3.012 0 0 1-2.181.909h-.242A3.02 3.02 0 0 1 10 9.093 3.019 3.019 0 0 1 7.817 10h-.242a3.01 3.01 0 0 1-2.181-.909A3.02 3.02 0 0 1 3.211 10h-.242A2.9 2.9 0 0 1 0 7.187V5.446c0-.103.025-.204.074-.295l2.043-3.82A.626.626 0 0 1 2.668 1h14.664a.626.626 0 0 1 .551.33l2.043 3.82a.624.624 0 0 1 .074.296ZM1.706 4.75h16.588l-1.337-2.5H3.043l-1.337 2.5ZM18.75 7.187V6H1.25v1.187a1.649 1.649 0 0 0 1.719 1.564h.242a1.727 1.727 0 0 0 1.6-1.02.627.627 0 0 1 1.157 0 1.724 1.724 0 0 0 1.6 1.02h.242a1.725 1.725 0 0 0 1.605-1.02.653.653 0 0 1 1.156 0 1.725 1.725 0 0 0 1.605 1.02h.242a1.724 1.724 0 0 0 1.6-1.02.627.627 0 0 1 1.157 0 1.726 1.726 0 0 0 1.6 1.02h.242a1.649 1.649 0 0 0 1.733-1.564Z\"/></svg>',\n },\n mask: {\n name: 'mask',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.774 6.562.97 5.7c.32-.67.713-1.3 1.172-1.883l1.57 1.238a8.041 8.041 0 0 0-.938 1.507Zm-.579 1.674L.244 7.8C.082 8.522 0 9.26 0 10h2c0-.593.065-1.185.195-1.764Zm1.5-6L4.956 3.79c.46-.374.96-.696 1.491-.959l-.888-1.792c-.664.33-1.29.732-1.865 1.2l.001-.003Zm12.434 2.622 1.531-1.286a10.082 10.082 0 0 0-1.6-1.529l-1.213 1.59c.47.36.9.771 1.282 1.225Zm1.617 3.133 1.936-.5a10.026 10.026 0 0 0-.792-2.07l-1.778.916c.272.526.485 1.08.634 1.654Zm-7.366 10 .094 2a9.974 9.974 0 0 0 2.19-.348l-.531-1.928c-.572.157-1.16.25-1.753.276Zm6.063-3.249 1.608 1.189a9.967 9.967 0 0 0 1.112-1.92l-1.832-.8a7.97 7.97 0 0 1-.888 1.531Zm-2.666 2.312.948 1.762a10.133 10.133 0 0 0 1.824-1.257l-1.311-1.512a7.972 7.972 0 0 1-1.461 1.007ZM20 9.684l-2 .061V10c0 .509-.048 1.016-.144 1.516l1.965.376A10.17 10.17 0 0 0 20 10v-.316ZM7.643.28l.47 1.944A8.088 8.088 0 0 1 9.874 2l-.033-2c-.74.012-1.478.106-2.198.28Zm4.4-.07-.406 1.958a7.9 7.9 0 0 1 1.683.553L14.156.9a9.957 9.957 0 0 0-2.109-.69h-.004ZM1.371 11.112a.723.723 0 0 0-.5.688v4.561a.726.726 0 0 0 .3.587l.35.2 3.038-1.012a.725.725 0 0 0 .465-.471l.081-.4-2.925-3.9a.727.727 0 0 0-.809-.253Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m9.847.376.021 1.25a8.48 8.48 0 0 0-1.844.233L7.731.645A9.656 9.656 0 0 1 9.847.376ZM3.931 2.529l.789.97a8.364 8.364 0 0 1 1.56-1l-.554-1.12a9.581 9.581 0 0 0-1.795 1.15Zm15.387 5.053a9.615 9.615 0 0 0-.761-1.994l-1.112.574c.285.553.508 1.136.664 1.738l1.209-.318Zm-17.489.572L.61 7.88A9.667 9.667 0 0 0 .375 10h1.25a8.4 8.4 0 0 1 .204-1.846Zm1.589-3.331-.982-.774a9.62 9.62 0 0 0-1.128 1.813l1.129.538c.267-.56.596-1.09.981-1.577ZM10.4 18.366l.059 1.249a9.644 9.644 0 0 0 2.108-.335l-.332-1.205a8.382 8.382 0 0 1-1.835.291Zm6.348-3.4 1 .743a9.52 9.52 0 0 0 1.07-1.848l-1.144-.5a8.395 8.395 0 0 1-.929 1.604l.003.001ZM15.83 2.341l-.758.993c.493.378.944.808 1.344 1.283l.957-.8a9.728 9.728 0 0 0-1.543-1.476ZM11.971.577 11.717 1.8c.607.127 1.198.32 1.763.578L14 1.243a9.567 9.567 0 0 0-2.029-.666ZM19.62 9.7l-1.25.039v.266c0 .532-.05 1.063-.15 1.586l1.228.235A9.749 9.749 0 0 0 19.625 10l-.005-.3Zm-5.665 7.689.592 1.1a9.756 9.756 0 0 0 1.753-1.214l-.819-.944a8.44 8.44 0 0 1-1.526 1.053v.005ZM1.371 11.112a.723.723 0 0 0-.5.688v4.561a.726.726 0 0 0 .3.587l.35.2 3.038-1.012a.725.725 0 0 0 .465-.471l.081-.4-2.925-3.9a.726.726 0 0 0-.809-.253Z\"/></svg>',\n },\n 'media-gallery': {\n name: 'media-gallery',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 15.374V16A1.627 1.627 0 0 1 1 14.375V2.625A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.625H5.629a3.008 3.008 0 0 0-3 3l-.004 9.749ZM7.562 13.3 4 16.865v.513A1.624 1.624 0 0 0 5.622 19h10l-5.7-5.7a1.708 1.708 0 0 0-2.36 0ZM19 5.622v11.756a1.618 1.618 0 0 1-1.184 1.554l-6.761-6.76a3.275 3.275 0 0 0-4.624 0L4 14.6V5.622A1.624 1.624 0 0 1 5.622 4h11.756A1.624 1.624 0 0 1 19 5.622Zm-2.331 3.31a2.574 2.574 0 1 0-5.149 0 2.574 2.574 0 0 0 5.149 0Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 16A1.627 1.627 0 0 1 1 14.375V2.625A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.625h-1.25a.375.375 0 0 0-.375-.375H2.625a.375.375 0 0 0-.375.375v11.75a.375.375 0 0 0 .375.375V16Zm14.044-7.068a2.573 2.573 0 1 1-5.147.002 2.573 2.573 0 0 1 5.147-.002Zm-1.029 0a1.544 1.544 0 1 0-3.087.002 1.544 1.544 0 0 0 3.087-.002ZM19 5.622v11.756A1.624 1.624 0 0 1 17.378 19H5.622A1.624 1.624 0 0 1 4 17.378V5.622A1.624 1.624 0 0 1 5.622 4h11.756A1.624 1.624 0 0 1 19 5.622ZM5.622 17.75h9.151l-4.648-4.65a1.958 1.958 0 0 0-2.765 0l-2.11 2.11v2.166a.373.373 0 0 0 .372.374ZM17.75 5.622a.373.373 0 0 0-.372-.372H5.622a.373.373 0 0 0-.372.372v8.134l1.382-1.381a2.988 2.988 0 0 1 4.222 0l5.375 5.375h1.149a.373.373 0 0 0 .372-.372V5.622Z\"/></svg>',\n },\n meme: {\n name: 'meme',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13 9.25h-2V12H4V9.25H.771a7.09 7.09 0 0 0-.2 1.625 7.545 7.545 0 0 0 2.81 5.779A10.231 10.231 0 0 0 10.024 19c2.423.03 4.778-.802 6.645-2.346A7.7 7.7 0 0 0 19.375 12H13V9.25Zm-3 7a6.26 6.26 0 0 1-4.357-1.713l1.048-1.073a4.977 4.977 0 0 0 4.616 1.117l.386 1.449a6.569 6.569 0 0 1-1.693.22ZM4 8H1.064V1.271a1.128 1.128 0 0 1 .582-.987 1.107 1.107 0 0 1 1.125.033l3.9 2.458c2.18-.696 4.521-.696 6.7 0l3.9-2.458a1.11 1.11 0 0 1 1.554.381c.102.174.156.372.155.573V7H13v1h-2V7H4v1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 7h-1.016V1.271A1.127 1.127 0 0 0 17.833.147c-.198.006-.391.064-.559.17l-3.9 2.458a11.016 11.016 0 0 0-6.7 0L2.771.317a1.107 1.107 0 0 0-1.55.381 1.128 1.128 0 0 0-.156.573v7.013a7.09 7.09 0 0 0-.489 2.591 7.545 7.545 0 0 0 2.804 5.779A10.231 10.231 0 0 0 10.025 19c2.423.03 4.778-.802 6.645-2.346A7.7 7.7 0 0 0 19.375 12H20V7ZM6.518 4.154l.286-.1a9.711 9.711 0 0 1 6.442 0l.286.1 4.2-2.648V7H13v1h-2V7H4v1H2.272l.043-6.493 4.203 2.647ZM15.861 15.7a8.99 8.99 0 0 1-5.836 2.048A8.987 8.987 0 0 1 4.19 15.7a6.32 6.32 0 0 1-2.364-4.827 5.82 5.82 0 0 1 .26-1.623H4V12h7V9.25h2V12h5.107a6.516 6.516 0 0 1-2.246 3.7Zm-4.522-1.125.322 1.208a6.46 6.46 0 0 1-1.66.217 6.127 6.127 0 0 1-4.27-1.678l.873-.893a5.1 5.1 0 0 0 4.735 1.148v-.002Z\"/></svg>',\n },\n menu: {\n name: 'menu',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 11H1V9h18v2Zm0-9H1v2h18V2Zm0 14H1v2h18v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 10.625H1v-1.25h18v1.25Zm0-7.875H1V4h18V2.75ZM19 16H1v1.25h18V16Z\"/></svg>',\n },\n message: {\n name: 'message',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.093 11.316.021 3.421A1.621 1.621 0 0 1 1.626 2l16.737.013a1.622 1.622 0 0 1 1.608 1.463l-9.1 7.875a1.249 1.249 0 0 1-1.778-.035Zm2.793 1.133a2.64 2.64 0 0 1-1.875.762 2.742 2.742 0 0 1-1.94-.8L0 5.391v10.984A1.627 1.627 0 0 0 1.625 18h16.749A1.629 1.629 0 0 0 20 16.373l-.01-10.929-8.104 7.005Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.987 3.636a1.627 1.627 0 0 0-1.624-1.623L1.626 2A1.627 1.627 0 0 0 0 3.625v12.75A1.627 1.627 0 0 0 1.625 18h16.749A1.629 1.629 0 0 0 20 16.373l-.013-12.737ZM1.625 3.25l16.738.013a.375.375 0 0 1 .374.375v1l-7.8 6.8a1.366 1.366 0 0 1-1.941-.025L1.25 4.579v-.954a.375.375 0 0 1 .375-.375Zm17.014 13.39a.376.376 0 0 1-.265.11H1.625a.375.375 0 0 1-.375-.375V6.246l6.888 6.078a2.61 2.61 0 0 0 1.848.762 2.54 2.54 0 0 0 1.8-.732L18.739 6.3l.01 10.078a.376.376 0 0 1-.11.262Z\"/></svg>',\n },\n mic: {\n name: 'mic',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 10v.4a6.745 6.745 0 0 1-6 6.525V18h1.42v2H7.58v-2H9v-1.075A6.745 6.745 0 0 1 3 10.4V10h2v.4a4.818 4.818 0 0 0 5 4.6 4.817 4.817 0 0 0 5-4.6V10h2Zm-7 4a4.031 4.031 0 0 0 4-4.052v-4.9a4 4 0 1 0-8 0v4.9A4.03 4.03 0 0 0 10 14Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.625 16.97v1.78h1.8V20H7.58v-1.25h1.8v-1.78A6.787 6.787 0 0 1 3 10.375h1.25A5.578 5.578 0 0 0 10 15.75a5.578 5.578 0 0 0 5.75-5.375H17a6.787 6.787 0 0 1-6.375 6.595ZM6 9.948v-4.9a4 4 0 0 1 8 0v4.9a4 4 0 1 1-8 0Zm1.25 0a2.75 2.75 0 0 0 5.5 0v-4.9a2.75 2.75 0 1 0-5.5 0v4.9Z\"/></svg>',\n },\n 'mic-mute': {\n name: 'mic-mute',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14 9.948v-4.9A4.03 4.03 0 0 0 10 1a3.978 3.978 0 0 0-3.5 2.132l7.438 7.438c.037-.206.057-.413.062-.622Z\"/><path d=\"M15 10v.4a4.232 4.232 0 0 1-.153 1.079l1.56 1.56A6.218 6.218 0 0 0 17 10.4V10h-2Z\"/><path d=\"M2.656 4.47 6 7.814v2.134A4.03 4.03 0 0 0 10 14a3.853 3.853 0 0 0 1.758-.428l.773.773a5.186 5.186 0 0 1-2.53.655 4.818 4.818 0 0 1-5-4.6V10H3v.4a6.745 6.745 0 0 0 6 6.525V18H7.58v2h4.84v-2H11v-1.075a7.19 7.19 0 0 0 2.977-1.134l1.406 1.409 1.416-1.416L4.07 3.056 2.656 4.47Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m7.382 4.24-.961-.961A3.988 3.988 0 0 1 10 1a4.031 4.031 0 0 1 4 4.052v4.9c0 .277-.029.554-.085.826l-1.165-1.17V5.052A2.78 2.78 0 0 0 10 2.25a2.75 2.75 0 0 0-2.618 1.99ZM17 10.375h-1.25a5.033 5.033 0 0 1-.365 1.868l.944.945A6.27 6.27 0 0 0 17 10.375ZM4.078 3.048l12.729 12.727-.885.884-1.312-1.312a7.17 7.17 0 0 1-3.985 1.623v1.78h1.8V20H7.58v-1.25h1.8v-1.78A6.787 6.787 0 0 1 3 10.375h1.25A5.578 5.578 0 0 0 10 15.75a5.94 5.94 0 0 0 3.719-1.294l-1.3-1.3A3.893 3.893 0 0 1 10 14a4.031 4.031 0 0 1-4-4.052v-3.21L3.193 3.932l.885-.884Zm7.441 9.209L7.25 7.988v1.96A2.779 2.779 0 0 0 10 12.75a2.646 2.646 0 0 0 1.519-.493Z\"/></svg>',\n },\n mod: {\n name: 'mod',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.154 2.1 10.27.108a1.121 1.121 0 0 0-.54 0L1.846 2.1A1.122 1.122 0 0 0 1 3.187V12c0 5.277 7.249 7.554 8.7 7.957.098.027.199.042.3.043.101 0 .202-.014.3-.04 1.453-.4 8.7-2.68 8.7-7.957V3.187a1.122 1.122 0 0 0-.846-1.087Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20c-.101 0-.202-.014-.3-.04C8.249 19.554 1 17.277 1 12V3.187A1.122 1.122 0 0 1 1.846 2.1L9.73.108c.177-.044.363-.044.54 0L18.154 2.1A1.122 1.122 0 0 1 19 3.187V12c0 5.277-7.249 7.554-8.7 7.957A1.162 1.162 0 0 1 10 20ZM2.25 3.283V12c0 4.465 6.989 6.531 7.786 6.751.725-.22 7.714-2.286 7.714-6.751V3.283L10 1.33 2.25 3.283Z\"/></svg>',\n },\n 'mod-mail': {\n name: 'mod-mail',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m10 6.362 3.5.875v3.938c0 2.187-3.5 3.062-3.5 3.062s-3.5-.875-3.5-3.062V7.237l3.5-.875Zm9.989-.918L15 9.757v1.418c0 3.264-4.162 4.4-4.636 4.518-.239.06-.489.06-.728 0C9.162 15.574 5 14.439 5 11.175V9.741l-5-4.35v10.984A1.627 1.627 0 0 0 1.625 18h16.749A1.629 1.629 0 0 0 20 16.373l-.011-10.929Zm-13.853.338 3.5-.875c.24-.059.489-.059.728 0l3.5.875A1.5 1.5 0 0 1 15 7.238v.537l4.971-4.3a1.622 1.622 0 0 0-1.608-1.463L1.626 2a1.621 1.621 0 0 0-1.6 1.421L5 7.754v-.516a1.5 1.5 0 0 1 1.136-1.456Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.987 3.636a1.627 1.627 0 0 0-1.624-1.623L1.626 2A1.627 1.627 0 0 0 0 3.625v12.75A1.627 1.627 0 0 0 1.625 18h16.749A1.629 1.629 0 0 0 20 16.373l-.013-12.737ZM1.625 3.25l16.738.013a.375.375 0 0 1 .374.375v1L14 8.767V6.454l-4-1.037-4 1.037v2.318L1.25 4.579v-.954a.375.375 0 0 1 .375-.375ZM12.75 7.421v3.454c0 1.423-2.144 2.215-2.75 2.41-.606-.2-2.75-.987-2.75-2.41V7.421L10 6.708l2.75.713Zm5.889 9.219a.376.376 0 0 1-.265.11H1.625a.375.375 0 0 1-.375-.375V6.246L6 10.438v.437c0 2.641 3.686 3.627 3.843 3.668l.157.04.157-.04C10.314 14.5 14 13.516 14 10.875v-.451L18.739 6.3l.01 10.078a.376.376 0 0 1-.11.262Z\"/></svg>',\n },\n 'mod-mode': {\n name: 'mod-mode',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.153 2.1 10.271.108a1.129 1.129 0 0 0-.542 0L1.846 2.1A1.122 1.122 0 0 0 1 3.187V12c0 5.277 7.249 7.554 8.7 7.957.098.028.199.042.3.043.101 0 .202-.014.3-.04 1.453-.4 8.7-2.68 8.7-7.957V3.187a1.122 1.122 0 0 0-.847-1.087Zm-3.135 10.522a.726.726 0 0 1-.637.378H5.619a.724.724 0 0 1-.608-1.119l4.563-7.075.768-.046.268.334 4.38 6.788a.725.725 0 0 1 .028.74Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20c-.101 0-.202-.013-.3-.04C8.249 19.554 1 17.277 1 12V3.187A1.122 1.122 0 0 1 1.846 2.1L9.729.108c.178-.044.364-.044.542 0L18.153 2.1A1.122 1.122 0 0 1 19 3.187V12c0 5.277-7.249 7.554-8.7 7.957A1.162 1.162 0 0 1 10 20ZM2.25 3.283V12c0 4.465 6.989 6.531 7.786 6.751.725-.22 7.714-2.286 7.714-6.751V3.283L10 1.33 2.25 3.283ZM14.381 13H5.619a.724.724 0 0 1-.608-1.119l4.563-7.075.768-.046.268.334 4.38 6.788A.724.724 0 0 1 14.381 13Zm-7.8-1.25h6.834L10 6.453 6.581 11.75Z\"/></svg>',\n },\n 'mod-mute': {\n name: 'mod-mute',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.75 8.5A3.254 3.254 0 0 0 10 11.75a3.213 3.213 0 0 0 1.7-.492L7.242 6.8c-.32.51-.49 1.098-.492 1.7Z\"/><path d=\"M10 5.25a3.213 3.213 0 0 0-1.7.492l4.458 4.458c.32-.51.49-1.098.492-1.7A3.254 3.254 0 0 0 10 5.25Z\"/><path d=\"M16.377 1H3.623A2.626 2.626 0 0 0 1 3.623v9.8A2.581 2.581 0 0 0 3.578 16h3.434v2.664a1.119 1.119 0 0 0 1.113 1.118c.288-.004.565-.115.776-.311L12.331 16h4.046A2.626 2.626 0 0 0 19 13.377V3.623A2.626 2.626 0 0 0 16.377 1ZM10 13.25a4.75 4.75 0 1 1 4.75-4.75A4.756 4.756 0 0 1 10 13.25Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 4a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM6.75 8.5a3.227 3.227 0 0 1 .55-1.812l4.512 4.512A3.248 3.248 0 0 1 6.75 8.5Zm5.95 1.812L8.188 5.8a3.248 3.248 0 0 1 4.512 4.512ZM16.377 1H3.623A2.626 2.626 0 0 0 1 3.623v9.8A2.581 2.581 0 0 0 3.578 16h3.434v2.664a1.119 1.119 0 0 0 1.113 1.118c.288-.004.565-.115.776-.311L12.331 16h4.046A2.626 2.626 0 0 0 19 13.377V3.623A2.626 2.626 0 0 0 16.377 1Zm1.373 12.377a1.375 1.375 0 0 1-1.373 1.373H11.81l-3.548 3.592V14.75H3.578a1.33 1.33 0 0 1-1.328-1.329v-9.8A1.375 1.375 0 0 1 3.623 2.25h12.754a1.375 1.375 0 0 1 1.373 1.373v9.754Z\"/></svg>',\n },\n 'mod-overflow': {\n name: 'mod-overflow',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.153 2.1 10.271.108a1.129 1.129 0 0 0-.542 0L1.846 2.1A1.122 1.122 0 0 0 1 3.187V12c0 5.277 7.249 7.554 8.7 7.957.098.028.199.042.3.043.101 0 .202-.014.3-.04 1.453-.4 8.7-2.68 8.7-7.957V3.187a1.122 1.122 0 0 0-.847-1.087ZM10.53 13.03a.747.747 0 0 1-1.06 0L4.939 8.5 6 7.439l4 4 4-4L15.061 8.5l-4.531 4.53Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 13.125a.624.624 0 0 1-.442-.183l-4-4 .884-.884L10 11.616l3.558-3.558.884.884-4 4a.624.624 0 0 1-.442.183Zm.3 6.832c1.453-.4 8.7-2.68 8.7-7.957V3.187a1.122 1.122 0 0 0-.847-1.087L10.271.108a1.129 1.129 0 0 0-.542 0L1.846 2.1A1.122 1.122 0 0 0 1 3.187V12c0 5.277 7.249 7.554 8.7 7.957.098.028.199.042.3.043.101-.001.202-.016.3-.043ZM10 1.33l7.75 1.953V12c0 4.465-6.989 6.531-7.714 6.751-.8-.22-7.786-2.286-7.786-6.751V3.283L10 1.33Z\"/></svg>',\n },\n 'mod-queue': {\n name: 'mod-queue',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 15.375V16A1.627 1.627 0 0 1 1 14.375V2.624A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.624H5.629a3.008 3.008 0 0 0-3 3l-.004 9.751ZM19 5.625v11.75A1.627 1.627 0 0 1 17.375 19H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625Zm-4 2.768-3.5-.914-3.5.914v3.857c0 2.331 3.206 3.194 3.342 3.229l.158.042.158-.042c.136-.035 3.342-.9 3.342-3.229V8.393Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m11.5 15.521-.158-.042C11.206 15.444 8 14.581 8 12.25V8.393l3.5-.914 3.5.914v3.857c0 2.331-3.206 3.194-3.342 3.229l-.158.042ZM9.25 9.357v2.893c0 1.147 1.713 1.8 2.249 1.972.536-.177 2.251-.83 2.251-1.972V9.357l-2.25-.586-2.25.586ZM17.375 19H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625v11.75A1.627 1.627 0 0 1 17.375 19ZM5.625 5.25a.375.375 0 0 0-.375.375v11.75a.375.375 0 0 0 .375.375h11.75a.375.375 0 0 0 .375-.375V5.625a.375.375 0 0 0-.375-.375H5.625Zm-3 9.5a.375.375 0 0 1-.375-.375V2.624a.375.375 0 0 1 .375-.374h11.75a.375.375 0 0 1 .375.374H16A1.627 1.627 0 0 0 14.375 1H2.625A1.627 1.627 0 0 0 1 2.624v11.751A1.627 1.627 0 0 0 2.625 16v-1.25Z\"/></svg>',\n },\n 'mod-unmute': {\n name: 'mod-unmute',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.377 1H3.623A2.626 2.626 0 0 0 1 3.623v9.8A2.581 2.581 0 0 0 3.578 16h3.434v2.664a1.119 1.119 0 0 0 1.113 1.118c.288-.004.565-.115.776-.311L12.331 16h4.046A2.626 2.626 0 0 0 19 13.377V3.623A2.626 2.626 0 0 0 16.377 1ZM9.53 11.53a.746.746 0 0 1-1.06 0l-2-2 1.06-1.06L9 9.939l4.47-4.469 1.06 1.06-5 5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.5 11.625a.624.624 0 0 1-.442-.183l-2-2 .884-.884L8.5 10.116l4.558-4.558.884.884-5 5a.623.623 0 0 1-.442.183Zm.4 7.846L12.331 16h4.046A2.626 2.626 0 0 0 19 13.377V3.623A2.626 2.626 0 0 0 16.377 1H3.623A2.626 2.626 0 0 0 1 3.623v9.8A2.581 2.581 0 0 0 3.578 16h3.434v2.664a1.119 1.119 0 0 0 1.113 1.118c.288-.004.564-.115.775-.311ZM16.377 2.25a1.375 1.375 0 0 1 1.373 1.373v9.754a1.375 1.375 0 0 1-1.373 1.373H11.81l-3.548 3.592V14.75H3.578a1.33 1.33 0 0 1-1.328-1.329v-9.8A1.375 1.375 0 0 1 3.623 2.25h12.754Z\"/></svg>',\n },\n music: {\n name: 'music',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.6.26a1 1 0 0 0-.87-.167L6.73 2.9a1 1 0 0 0-.73.965v8.486a3.462 3.462 0 0 0-1.5-.35 3.5 3.5 0 1 0 3.47 3.8H8V7.4l8-2.248v5.2A3.463 3.463 0 0 0 14.5 10a3.5 3.5 0 1 0 3.47 3.8H18V1.056a1 1 0 0 0-.4-.797Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.753.258a.628.628 0 0 0-.547-.1l-10 2.809a.624.624 0 0 0-.456.6v9.278A3.463 3.463 0 0 0 4.5 12 3.5 3.5 0 1 0 8 15.5V7.4l8.75-2.458v5.9a3.463 3.463 0 0 0-4.194-.252A3.5 3.5 0 1 0 18 13.5V.756a.629.629 0 0 0-.247-.498ZM4.5 17.75a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5ZM8 6.1V4.038l8.75-2.457v2.065L8 6.1Zm6.5 9.646a2.25 2.25 0 1 1 1.591-.657c-.421.422-.994.66-1.591.661v-.004Z\"/></svg>',\n },\n mute: {\n name: 'mute',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 1.285v17.43a1.131 1.131 0 0 1-.642 1.033 1.081 1.081 0 0 1-1.153-.14l-5.39-4.663H2.108A1.125 1.125 0 0 1 1 13.807V6.193a1.125 1.125 0 0 1 1.108-1.138h1.707L9.19.405a1.09 1.09 0 0 1 1.168-.153A1.129 1.129 0 0 1 11 1.285Zm8.607 5.922-1.414-1.414L15.9 8.086l-2.293-2.293-1.414 1.414L14.486 9.5l-2.293 2.293 1.414 1.414 2.293-2.293 2.293 2.293 1.414-1.414L17.314 9.5l2.293-2.293Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m16.784 9.5 2.558 2.558-.884.884-2.558-2.558-2.558 2.558-.884-.884L15.016 9.5l-2.558-2.558.884-.884L15.9 8.616l2.558-2.558.884.884L16.784 9.5Zm-6.427 10.248A1.128 1.128 0 0 0 11 18.715V1.286a1.131 1.131 0 0 0-.643-1.034A1.091 1.091 0 0 0 9.19.405L3.815 5.056H2.108A1.124 1.124 0 0 0 1 6.194v7.613a1.124 1.124 0 0 0 1.108 1.138h1.707L9.2 19.608a1.084 1.084 0 0 0 1.157.14ZM2.25 6.306h2.031l5.47-4.733v16.855L4.28 13.7h-2.03V6.306Z\"/></svg>',\n },\n new: {\n name: 'new',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.4 10 1.85-1.947a1.146 1.146 0 0 0-.622-1.915l-2.642-.489.352-2.662A1.145 1.145 0 0 0 14.711 1.8l-2.424 1.16L11.008.6a1.19 1.19 0 0 0-2.014 0L7.712 2.96 5.288 1.8a1.145 1.145 0 0 0-1.63 1.187l.353 2.662-2.64.488a1.145 1.145 0 0 0-.623 1.916L2.6 10 .748 11.947a1.144 1.144 0 0 0 .622 1.915l2.64.489-.351 2.662A1.145 1.145 0 0 0 5.288 18.2l2.424-1.16 1.28 2.36a1.145 1.145 0 0 0 2.014 0l1.281-2.36 2.424 1.16a1.146 1.146 0 0 0 1.63-1.184l-.353-2.662 2.64-.488a1.146 1.146 0 0 0 .623-1.916L17.4 10Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a1.143 1.143 0 0 1-1.007-.6l-1.281-2.36-2.424 1.16a1.145 1.145 0 0 1-1.63-1.184l.353-2.662-2.641-.492a1.144 1.144 0 0 1-.622-1.915L2.6 10 .748 8.053a1.145 1.145 0 0 1 .623-1.916l2.64-.488-.352-2.662A1.145 1.145 0 0 1 5.288 1.8l2.424 1.16L8.992.6a1.19 1.19 0 0 1 2.014 0l1.281 2.36 2.424-1.16a1.145 1.145 0 0 1 1.63 1.184l-.353 2.662 2.642.489a1.145 1.145 0 0 1 .622 1.915L17.4 10l1.85 1.947a1.145 1.145 0 0 1-.623 1.916l-2.64.488.351 2.662a1.144 1.144 0 0 1-1.627 1.187l-2.424-1.16-1.28 2.36A1.142 1.142 0 0 1 10 20Zm-2.244-4.242a1.144 1.144 0 0 1 1.007.6L10 18.636l1.236-2.279a1.147 1.147 0 0 1 1.5-.488l2.34 1.116-.34-2.569a1.146 1.146 0 0 1 .93-1.277l2.546-.47-1.785-1.88a1.146 1.146 0 0 1 0-1.578l1.785-1.88-2.547-.471a1.142 1.142 0 0 1-.928-1.276l.338-2.569-2.338 1.116a1.149 1.149 0 0 1-1.5-.488L10 1.364 8.763 3.643a1.147 1.147 0 0 1-1.5.488l-2.34-1.116.34 2.569a1.146 1.146 0 0 1-.93 1.277l-2.546.47 1.786 1.88a1.146 1.146 0 0 1 0 1.578l-1.786 1.88 2.548.471a1.142 1.142 0 0 1 .928 1.276l-.34 2.569 2.34-1.116c.154-.073.322-.11.493-.111Z\"/></svg>',\n },\n night: {\n name: 'night',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.347 1.518a1.1 1.1 0 0 0-1.194.248A1.144 1.144 0 0 0 11.9 3c.45 1.13.588 2.362.4 3.564a6.888 6.888 0 0 1-5.732 5.733A6.8 6.8 0 0 1 3 11.9a1.144 1.144 0 0 0-1.536.813c-.044.213-.024.433.058.634A9.072 9.072 0 0 0 10 19.125c.257 0 .515-.01.774-.032a9.184 9.184 0 0 0 8.32-8.321 9.082 9.082 0 0 0-5.747-9.254Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.875 19a9.073 9.073 0 0 1-8.48-5.78 1.094 1.094 0 0 1 .247-1.191 1.145 1.145 0 0 1 1.232-.255c1.13.449 2.361.587 3.564.4A6.89 6.89 0 0 0 12.17 6.44a6.806 6.806 0 0 0-.394-3.564 1.148 1.148 0 0 1 .255-1.231 1.1 1.1 0 0 1 1.193-.248 9.082 9.082 0 0 1 5.746 9.254 9.184 9.184 0 0 1-8.32 8.32 11.93 11.93 0 0 1-.775.028Zm-7.206-5.967A7.871 7.871 0 1 0 13.033 2.668 8.116 8.116 0 0 1 2.669 13.033Z\"/></svg>',\n },\n 'no-internet': {\n name: 'no-internet',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.963 6.094-1.43 1.4A11.8 11.8 0 0 0 10 4c-.86 0-1.716.09-2.558.264L5.793 2.616A14.513 14.513 0 0 1 10 2a13.787 13.787 0 0 1 9.963 4.094ZM10 13h-.005a2.5 2.5 0 1 0 2.505 2.515v-.006A2.506 2.506 0 0 0 10 13Zm7.29-4.492a10.088 10.088 0 0 0-7.29-3 10.93 10.93 0 0 0-1.234.077l1.956 1.957a8.023 8.023 0 0 1 5.138 2.364l1.43-1.398ZM1.043 2.457l1.594 1.594a13.185 13.185 0 0 0-2.6 2.043l1.43 1.4A11.222 11.222 0 0 1 4.1 5.517L5.246 6.66A9.779 9.779 0 0 0 2.71 8.508l1.43 1.4a7.763 7.763 0 0 1 2.62-1.734l1.152 1.152a6.4 6.4 0 0 0-2.634 1.617l1.43 1.4a4.5 4.5 0 0 1 2.914-1.306l6.578 6.575 1.412-1.412L2.457 1.043 1.043 2.457Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 13h-.005a2.5 2.5 0 1 0 2.505 2.515v-.006A2.508 2.508 0 0 0 10 13Zm.012 3.75a1.25 1.25 0 1 1 .465-2.405 1.266 1.266 0 0 1 .773 1.163 1.254 1.254 0 0 1-1.238 1.242ZM19.7 5.98l-.892.875A12.183 12.183 0 0 0 10 3.25a12.9 12.9 0 0 0-3.382.455l-1-1A14.08 14.08 0 0 1 10 2a13.422 13.422 0 0 1 9.7 3.98ZM10 6.9c-.06 0-.118.008-.177.009L8.66 5.747A10.4 10.4 0 0 1 10 5.65a9.716 9.716 0 0 1 7.022 2.885l-.894.873A8.475 8.475 0 0 0 10 6.9ZM2.192 1.308l15.155 15.155-.884.885-6.447-6.448H10a4.927 4.927 0 0 0-3.56 1.455l-.892-.875a6.046 6.046 0 0 1 3.34-1.707l-2.22-2.22a8.21 8.21 0 0 0-2.8 1.856l-.893-.875a9.393 9.393 0 0 1 2.747-1.927l-1.8-1.8A11.627 11.627 0 0 0 1.2 6.855L.305 5.98A12.978 12.978 0 0 1 3 3.885L1.307 2.192l.885-.884Z\"/></svg>',\n },\n notification: {\n name: 'notification',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 18h1a2 2 0 0 1-4 0h3Zm6.263-7.07a2.699 2.699 0 0 1-1.189-2.23l-.005-1.61a6.069 6.069 0 1 0-12.138 0v1.613a2.7 2.7 0 0 1-1.193 2.227A3.949 3.949 0 0 0 1 14.208v.672A1.119 1.119 0 0 0 2.117 16h15.766A1.119 1.119 0 0 0 19 14.88v-.672a3.952 3.952 0 0 0-1.737-3.278Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 18h1a2 2 0 0 1-4 0h3Zm8-3.792v.673A1.12 1.12 0 0 1 17.883 16H2.117A1.12 1.12 0 0 1 1 14.881v-.673a3.947 3.947 0 0 1 1.738-3.277A2.706 2.706 0 0 0 3.926 8.7V7.087a6.07 6.07 0 0 1 12.138 0l.01 1.613a2.7 2.7 0 0 0 1.189 2.235A3.949 3.949 0 0 1 19 14.208Zm-1.25 0a2.7 2.7 0 0 0-1.188-2.242A3.956 3.956 0 0 1 14.824 8.7V7.088a4.819 4.819 0 1 0-9.638 0v1.615a3.956 3.956 0 0 1-1.738 3.266 2.7 2.7 0 0 0-1.198 2.239v.542h15.5v-.542Z\"/></svg>',\n },\n 'notification-frequent': {\n name: 'notification-frequent',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m2.263 9.465-1.936.5A9.925 9.925 0 0 1 2.929.4l1.414 1.416a7.922 7.922 0 0 0-2.08 7.649ZM17.071.4l-1.414 1.416a7.921 7.921 0 0 1 2.08 7.649l1.936.5A9.925 9.925 0 0 0 17.071.4ZM9 18H8a2 2 0 0 0 4 0H9Zm8.263-7.07a2.7 2.7 0 0 1-1.189-2.23l-.005-1.61a6.07 6.07 0 0 0-12.138 0v1.613a2.7 2.7 0 0 1-1.193 2.227A3.949 3.949 0 0 0 1 14.208v.672A1.119 1.119 0 0 0 2.117 16h15.766A1.119 1.119 0 0 0 19 14.88v-.672a3.952 3.952 0 0 0-1.737-3.278Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 18h1a2 2 0 0 1-4 0h3Zm8-3.792v.673A1.119 1.119 0 0 1 17.883 16H2.117A1.119 1.119 0 0 1 1 14.881v-.673a3.947 3.947 0 0 1 1.738-3.277A2.706 2.706 0 0 0 3.926 8.7V7.087a6.069 6.069 0 1 1 12.138 0l.01 1.613a2.702 2.702 0 0 0 1.189 2.235A3.949 3.949 0 0 1 19 14.208Zm-1.25 0a2.7 2.7 0 0 0-1.188-2.242A3.956 3.956 0 0 1 14.824 8.7V7.088a4.819 4.819 0 1 0-9.638 0v1.615a3.956 3.956 0 0 1-1.738 3.266 2.7 2.7 0 0 0-1.198 2.239v.542h15.5v-.542ZM1.625 7.473a8.32 8.32 0 0 1 2.453-5.922L3.193.667A9.553 9.553 0 0 0 .69 9.875L1.9 9.56a8.364 8.364 0 0 1-.275-2.087ZM16.807.667l-.885.884A8.305 8.305 0 0 1 18.1 9.56l1.209.315a9.552 9.552 0 0 0-2.5-9.208h-.002Z\"/></svg>',\n },\n 'notification-off': {\n name: 'notification-off',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 18h1a2 2 0 1 1-4 0h3Zm8-3.12v-.672a3.95 3.95 0 0 0-1.737-3.278 2.7 2.7 0 0 1-1.189-2.23l-.005-1.61a6.057 6.057 0 0 0-10.034-4.6l12.857 12.855A1.1 1.1 0 0 0 19 14.88Zm.442 3.678-18-18-.884.884 3.705 3.705a6 6 0 0 0-.332 1.936v1.613a2.7 2.7 0 0 1-1.193 2.234A3.949 3.949 0 0 0 1 14.208v.672A1.119 1.119 0 0 0 2.117 16h13l3.443 3.442.882-.884Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 18h1a2 2 0 1 1-4 0h3ZM10 2.25a4.832 4.832 0 0 1 4.819 4.837v1.612a3.956 3.956 0 0 0 1.738 3.266 2.7 2.7 0 0 1 1.192 2.235l1.143 1.143A1.1 1.1 0 0 0 19 14.88v-.672a3.95 3.95 0 0 0-1.737-3.278 2.7 2.7 0 0 1-1.189-2.23l-.005-1.61a6.057 6.057 0 0 0-10.034-4.6l.9.9A4.763 4.763 0 0 1 10 2.25Zm8.558 17.192L15.115 16h-13A1.119 1.119 0 0 1 1 14.88v-.672a3.95 3.95 0 0 1 1.738-3.278A2.7 2.7 0 0 0 3.926 8.7V7.087a6 6 0 0 1 .332-1.936l-3.7-3.7.884-.893 18 18-.884.884Zm-4.693-4.692L5.282 6.166c-.064.302-.098.61-.1.919v1.614a3.956 3.956 0 0 1-1.738 3.266 2.7 2.7 0 0 0-1.194 2.243v.542h11.615Z\"/></svg>',\n },\n nsfw: {\n name: 'nsfw',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13 10.967a1.593 1.593 0 0 0-1.363 0 1.2 1.2 0 0 0-.475.414 1.02 1.02 0 0 0-.173.576.967.967 0 0 0 .18.574c.122.172.29.307.482.393.21.095.438.143.668.14a1.51 1.51 0 0 0 .671-.146 1.2 1.2 0 0 0 .475-.4.985.985 0 0 0 .173-.569 1.024 1.024 0 0 0-.17-.57 1.2 1.2 0 0 0-.469-.412Z\"/><path d=\"M11.747 9.227c.177.095.374.143.574.14.2.003.396-.045.572-.14a1.057 1.057 0 0 0 .402-1.462.984.984 0 0 0-.406-.37 1.317 1.317 0 0 0-1.137 0 1 1 0 0 0-.557.902 1.047 1.047 0 0 0 .551.932l.001-.002Z\"/><path d=\"M18.636 6.73 13.27 1.363a4.634 4.634 0 0 0-6.542 0L1.364 6.73a4.627 4.627 0 0 0 0 6.542l5.365 5.365a4.633 4.633 0 0 0 6.542 0l5.366-5.365a4.634 4.634 0 0 0 0-6.542ZM8.204 14.5H6.288V8.277L4.648 9V7.23l2.988-1.367h.568V14.5Zm6.862-1.148c-.29.4-.683.714-1.136.912a4.11 4.11 0 0 1-3.24-.006 2.8 2.8 0 0 1-1.134-.918 2.172 2.172 0 0 1-.41-1.283c0-.42.12-.83.345-1.184a2.6 2.6 0 0 1 .944-.879 2.488 2.488 0 0 1-.636-.832c-.152-.32-.23-.67-.229-1.025a2.117 2.117 0 0 1 .378-1.248c.256-.362.604-.65 1.008-.832.43-.198.9-.298 1.374-.293.474-.004.942.099 1.371.3.403.182.749.47 1 .834.249.368.378.804.37 1.248a2.371 2.371 0 0 1-.868 1.851c.383.21.708.51.944.877a2.24 2.24 0 0 1-.074 2.481l-.007-.003Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m4.47 7.123 2.653-1.26h.47V14.5H6.15V7.668l-1.68.8V7.123Zm9.9 3.69a2.288 2.288 0 0 1-.02 2.54 2.7 2.7 0 0 1-1.085.91 3.699 3.699 0 0 1-3.068 0A2.774 2.774 0 0 1 9.1 13.35a2.253 2.253 0 0 1-.019-2.532c.257-.383.61-.69 1.025-.893A2.372 2.372 0 0 1 9.4 9.11a2.21 2.21 0 0 1-.257-1.048 2.1 2.1 0 0 1 .342-1.175c.233-.353.557-.637.938-.82.409-.202.86-.305 1.315-.3.451-.005.897.098 1.3.3.377.185.697.468.926.82.227.352.345.762.34 1.18a2.2 2.2 0 0 1-.255 1.05 2.3 2.3 0 0 1-.706.8c.415.202.77.512 1.026.896ZM12.54 13.2c.235-.11.437-.28.583-.495.142-.207.216-.454.214-.705a1.267 1.267 0 0 0-.205-.7 1.468 1.468 0 0 0-.57-.51 1.776 1.776 0 0 0-.83-.19c-.29-.004-.577.061-.836.19a1.5 1.5 0 0 0-.583.513 1.262 1.262 0 0 0 .003 1.4c.147.216.348.388.583.5.256.124.537.186.821.182a1.86 1.86 0 0 0 .82-.185Zm-1.474-6.083a1.194 1.194 0 0 0-.468.422 1.11 1.11 0 0 0-.173.615c-.002.224.058.444.173.636.113.192.275.35.468.46.201.114.429.173.66.17.23.002.456-.055.656-.167a1.233 1.233 0 0 0 .638-1.099 1.132 1.132 0 0 0-.635-1.037 1.507 1.507 0 0 0-1.319 0ZM10 19.988a4.616 4.616 0 0 1-3.27-1.352l-5.366-5.365a4.627 4.627 0 0 1 0-6.542L6.73 1.364a4.634 4.634 0 0 1 6.542 0l5.366 5.365a4.634 4.634 0 0 1 0 6.542l-5.366 5.365a4.615 4.615 0 0 1-3.27 1.352Zm0-18.726a3.362 3.362 0 0 0-2.386.987L2.25 7.614a3.374 3.374 0 0 0 0 4.772l5.366 5.365a3.38 3.38 0 0 0 4.773 0l5.365-5.365a3.375 3.375 0 0 0 0-4.772L12.387 2.25A3.364 3.364 0 0 0 10 1.262Z\"/></svg>',\n },\n 'nsfw-language': {\n name: 'nsfw-language',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.635 6.73 13.27 1.364a4.627 4.627 0 0 0-6.542 0L1.364 6.73a4.627 4.627 0 0 0 0 6.542l5.365 5.365a4.628 4.628 0 0 0 6.542 0l5.364-5.365a4.627 4.627 0 0 0 0-6.542Zm-6.415 3.663c.46.142.91.314 1.347.515.164.094.301.227.4.387a.97.97 0 0 1 .012.984 1.035 1.035 0 0 1-.364.381.908.908 0 0 1-.48.135 1.16 1.16 0 0 1-.563-.164 4.524 4.524 0 0 1-.638-.5l-.5-.44-.9-.785c.133.667.208 1.034.223 1.1.015.086.058.308.13.668.058.266.093.536.104.808.017.29-.075.575-.258.8a.926.926 0 0 1-.726.287.914.914 0 0 1-.715-.287 1.158 1.158 0 0 1-.258-.8c.039-.47.113-.936.223-1.394.032-.133.106-.528.223-1.184l-.9.785-.5.44a4.461 4.461 0 0 1-.639.5c-.17.102-.363.159-.562.164a.893.893 0 0 1-.463-.129 1.027 1.027 0 0 1-.357-.363.926.926 0 0 1-.153-.516.9.9 0 0 1 .147-.5c.102-.156.239-.287.4-.38.175-.1.36-.183.551-.247.258-.094.54-.187.844-.28.29-.095.656-.22 1.1-.376l-1.017-.348a36.992 36.992 0 0 1-.9-.31 3.707 3.707 0 0 1-.58-.252 1.186 1.186 0 0 1-.4-.38.9.9 0 0 1-.147-.5 1 1 0 0 1 .152-.512c.087-.149.21-.274.357-.363.14-.084.3-.129.463-.129.199.006.392.062.562.164.193.12.376.258.545.41.24.2.5.43.78.68.28.25.515.445.7.61l-.176-.88a12.028 12.028 0 0 1-.258-1.664 1.2 1.2 0 0 1 .252-.808.9.9 0 0 1 .721-.293.926.926 0 0 1 .726.287c.185.23.277.52.258.814a10.438 10.438 0 0 1-.258 1.582l-.187.961c.187-.164.42-.367.7-.609.28-.242.54-.468.78-.68.169-.152.351-.289.544-.41a1.07 1.07 0 0 1 .563-.164c.17 0 .336.046.48.135.152.094.278.225.364.381.09.152.138.324.14.5a.891.891 0 0 1-.146.486 1.2 1.2 0 0 1-.405.381c-.24.126-.492.232-.75.316-.35.125-.578.2-.679.235-.538.179-.894.3-1.067.363.404.14.789.27 1.155.388Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 19.99a4.6 4.6 0 0 1-3.27-1.354l-5.366-5.365a4.627 4.627 0 0 1 0-6.542L6.73 1.364a4.627 4.627 0 0 1 6.542 0l5.365 5.364a4.627 4.627 0 0 1 0 6.542l-5.364 5.365A4.601 4.601 0 0 1 10 19.99Zm0-18.73a3.353 3.353 0 0 0-2.386.988L2.25 7.614a3.374 3.374 0 0 0 0 4.772l5.366 5.366a3.46 3.46 0 0 0 4.772 0l5.365-5.366a3.374 3.374 0 0 0 0-4.772L12.386 2.25A3.35 3.35 0 0 0 10 1.26Zm3.92 10.258c.066.112.1.24.1.37a.8.8 0 0 1-.094.35.7.7 0 0 1-.633.375.83.83 0 0 1-.387-.105c-.2-.116-1.033-.734-2.5-1.852.219 1.75.328 2.734.328 2.953.02.238-.043.476-.176.674a.651.651 0 0 1-.539.217c-.476 0-.714-.289-.714-.867 0-.242.11-1.226.328-2.953l-.364.27c-1.192.905-1.902 1.425-2.128 1.558a.85.85 0 0 1-.4.105.739.739 0 0 1-.715-.727.72.72 0 0 1 .1-.369.748.748 0 0 1 .287-.276c.234-.133 1.187-.547 2.86-1.242-1.67-.694-2.623-1.107-2.859-1.24a.859.859 0 0 1-.287-.282.673.673 0 0 1-.1-.352.681.681 0 0 1 .094-.363.756.756 0 0 1 .27-.287.658.658 0 0 1 .351-.1.829.829 0 0 1 .4.117c.226.134.937.653 2.132 1.56l.364.268c-.22-1.726-.328-2.706-.328-2.94a1.039 1.039 0 0 1 .175-.663.653.653 0 0 1 .54-.217.649.649 0 0 1 .544.217c.13.204.19.444.17.685 0 .22-.11 1.2-.328 2.942 1.462-1.116 2.295-1.734 2.5-1.852a.829.829 0 0 1 .4-.117c.124 0 .246.034.351.1.114.07.207.17.27.287a.68.68 0 0 1 .094.363.673.673 0 0 1-.1.352.86.86 0 0 1-.287.281c-.2.118-1.145.532-2.836 1.242l.844.363c1.047.438 1.711.731 1.992.88.117.064.214.16.281.275Z\"/></svg>',\n },\n 'nsfw-violence': {\n name: 'nsfw-violence',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.635 6.73 13.27 1.364a4.627 4.627 0 0 0-6.542 0L1.364 6.73a4.627 4.627 0 0 0 0 6.542l5.365 5.365a4.628 4.628 0 0 0 6.542 0l5.364-5.365a4.627 4.627 0 0 0 0-6.542ZM12.742 12H9v1H7.75v-1H4.883A.877.877 0 0 1 4 11.132V8.868A.877.877 0 0 1 4.883 8H7.75V7H9v1h7.2l.052.674A3.424 3.424 0 0 1 12.742 12Z\"/><path d=\"M9.024 10.75h3.718a2.24 2.24 0 0 0 2.168-1.5H9.024v1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.2 8H9V7H7.75v1H4.884A.877.877 0 0 0 4 8.868v2.264a.877.877 0 0 0 .884.868H7.75v1H9v-1h3.743a3.424 3.424 0 0 0 3.507-3.326L16.2 8Zm-3.455 2.75h-3.72v-1.5h5.886a2.24 2.24 0 0 1-2.168 1.5h.002ZM10 19.99a4.6 4.6 0 0 1-3.27-1.354l-5.366-5.365a4.627 4.627 0 0 1 0-6.542L6.73 1.364a4.627 4.627 0 0 1 6.542 0l5.365 5.364a4.627 4.627 0 0 1 0 6.542l-5.364 5.365A4.601 4.601 0 0 1 10 19.99Zm0-18.73a3.353 3.353 0 0 0-2.386.988L2.25 7.614a3.374 3.374 0 0 0 0 4.772l5.366 5.366a3.46 3.46 0 0 0 4.772 0l5.365-5.366a3.374 3.374 0 0 0 0-4.772L12.386 2.25A3.35 3.35 0 0 0 10 1.26Z\"/></svg>',\n },\n official: {\n name: 'official',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 17.54a9.411 9.411 0 0 0 6-2.156v3.989a.63.63 0 0 1-.625.627.628.628 0 0 1-.222-.041L10 17.997l-5.153 1.962a.622.622 0 0 1-.775-.295.63.63 0 0 1-.072-.291v-3.99a9.411 9.411 0 0 0 6 2.158Zm8-9.51c0 1.588-.47 3.14-1.348 4.461a8.007 8.007 0 0 1-3.59 2.958 7.972 7.972 0 0 1-8.719-1.74A8.058 8.058 0 0 1 2.61 4.957a8.024 8.024 0 0 1 2.946-3.605A7.979 7.979 0 0 1 10 0a7.994 7.994 0 0 1 5.654 2.355A8.054 8.054 0 0 1 18 8.03Zm-3.5-2.123-1.058-1.065-4.766 4.785-2.118-2.126L5.5 8.565l3.179 3.191L14.5 5.907Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 8.04a8.042 8.042 0 0 0-.908-3.73 8.016 8.016 0 0 0-2.533-2.88A7.986 7.986 0 0 0 4.024 2.69a8.03 8.03 0 0 0-1.796 7.236A8.03 8.03 0 0 0 4 13.33v6.043a.628.628 0 0 0 .55.622c.1.012.202 0 .297-.036L10 17.999l5.153 1.96a.618.618 0 0 0 .775-.295.63.63 0 0 0 .072-.29V13.33a7.993 7.993 0 0 0 2-5.29Zm-8-6.769c1.335 0 2.64.397 3.75 1.141a6.766 6.766 0 0 1 2.486 3.038 6.788 6.788 0 0 1-1.463 7.377 6.732 6.732 0 0 1-7.356 1.468 6.754 6.754 0 0 1-3.03-2.493A6.783 6.783 0 0 1 3.25 8.04a6.787 6.787 0 0 1 1.98-4.785A6.748 6.748 0 0 1 10 1.271Zm.222 15.47a.617.617 0 0 0-.444 0l-4.528 1.73v-3.99a7.923 7.923 0 0 0 9.5 0v3.99l-4.528-1.73Zm-1.546-5.155-3.09-3.1.883-.886 2.207 2.214 4.855-4.87.884.887-5.739 5.755Z\"/></svg>',\n },\n original: {\n name: 'original',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.98 8.383a1.652 1.652 0 0 0-.88-.246 1.68 1.68 0 0 0-.883.246c-.27.162-.494.393-.646.67a2.018 2.018 0 0 0 0 1.894 1.738 1.738 0 0 0 3.059 0 2.008 2.008 0 0 0 0-1.889 1.787 1.787 0 0 0-.65-.675Z\"/><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm-.235 11.551a3.012 3.012 0 0 1-1.117 1.113 3.18 3.18 0 0 1-3.11 0 3.075 3.075 0 0 1 0-5.336 3.094 3.094 0 0 1 1.558-.4 3.019 3.019 0 0 1 1.555.412 3.106 3.106 0 0 1 1.114 4.211Zm5.377 1.392a3.6 3.6 0 0 1-.955.129 3.388 3.388 0 0 1-1.617-.395 3.09 3.09 0 0 1-1.184-1.1 3.03 3.03 0 0 1 0-3.152 3.055 3.055 0 0 1 1.184-1.1 3.359 3.359 0 0 1 1.592-.392c.315 0 .63.043.934.125.31.084.608.21.884.375l-.5 1.176a1.33 1.33 0 0 0-.58-.354 2.315 2.315 0 0 0-.7-.113 2.029 2.029 0 0 0-.959.233c-.288.152-.53.378-.7.655a1.768 1.768 0 0 0-.262.955c-.004.335.082.664.25.954.164.284.403.518.692.675.301.166.64.251.984.246.25 0 .5-.04.738-.116.215-.062.409-.18.562-.342L16 12.58a3.31 3.31 0 0 1-.858.363Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25ZM5.538 12.668a3.075 3.075 0 0 1 0-5.336 3.094 3.094 0 0 1 1.558-.4 3.019 3.019 0 0 1 1.555.412 3.106 3.106 0 0 1 1.114 4.211 3.012 3.012 0 0 1-1.117 1.113 3.18 3.18 0 0 1-3.11 0Zm2.447-1.051c.268-.163.488-.394.637-.67a2.008 2.008 0 0 0 0-1.889c-.15-.277-.37-.51-.638-.675a1.652 1.652 0 0 0-.884-.246 1.681 1.681 0 0 0-.883.246c-.27.162-.494.393-.646.67a2.018 2.018 0 0 0 0 1.894 1.738 1.738 0 0 0 2.422.67h-.008Zm4.585 1.059a3.08 3.08 0 0 1-1.184-1.1 3.03 3.03 0 0 1 0-3.152 3.055 3.055 0 0 1 1.184-1.1 3.359 3.359 0 0 1 1.592-.392c.315 0 .63.043.934.125.31.084.608.21.884.375l-.5 1.176a1.33 1.33 0 0 0-.58-.354 2.316 2.316 0 0 0-.7-.113 2.029 2.029 0 0 0-.959.233c-.288.152-.53.378-.7.655a1.768 1.768 0 0 0-.262.955c-.004.335.082.664.25.954.164.284.404.518.692.675.301.166.64.251.984.246.25 0 .5-.04.738-.116.215-.062.409-.18.562-.342L16 12.58a3.31 3.31 0 0 1-.854.363 3.6 3.6 0 0 1-.955.129 3.377 3.377 0 0 1-1.621-.396Z\"/></svg>',\n },\n 'overflow-caret': {\n name: 'overflow-caret',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm.707 13.311a1 1 0 0 1-1.414 0L5.126 9.145 6.54 7.73 10 11.19l3.459-3.46 1.414 1.415-4.166 4.166Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 13.229a.624.624 0 0 1-.442-.183L5.391 8.879 6.275 8 10 11.72 13.725 8l.884.883-4.167 4.167a.623.623 0 0 1-.442.179ZM20 10a10 10 0 1 0-10 10 10.011 10.011 0 0 0 10-10Zm-1.25 0A8.75 8.75 0 1 1 10 1.25 8.76 8.76 0 0 1 18.75 10Z\"/></svg>',\n },\n 'overflow-horizontal': {\n name: 'overflow-horizontal',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm6 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.5 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM10 8.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm6 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z\"/></svg>',\n },\n 'overflow-vertical': {\n name: 'overflow-vertical',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm2 4a2 2 0 1 0-4 0 2 2 0 0 0 4 0Zm0 6a2 2 0 1 0-4 0 2 2 0 0 0 4 0Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 5.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm1.5 4.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Zm0 6a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z\"/></svg>',\n },\n pause: {\n name: 'pause',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.875 19h-3.75A1.127 1.127 0 0 1 2 17.875V2.125A1.127 1.127 0 0 1 3.125 1h3.75A1.127 1.127 0 0 1 8 2.125v15.75A1.127 1.127 0 0 1 6.875 19Zm10 0h-3.75A1.127 1.127 0 0 1 12 17.875V2.125A1.127 1.127 0 0 1 13.125 1h3.75A1.127 1.127 0 0 1 18 2.125v15.75A1.127 1.127 0 0 1 16.875 19Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.875 19h-3.75A1.126 1.126 0 0 1 2 17.875V2.125A1.127 1.127 0 0 1 3.125 1h3.75A1.127 1.127 0 0 1 8 2.125v15.75A1.126 1.126 0 0 1 6.875 19ZM3.25 17.75h3.5V2.25h-3.5v15.5ZM16.875 19h-3.75A1.126 1.126 0 0 1 12 17.875V2.125A1.127 1.127 0 0 1 13.125 1h3.75A1.127 1.127 0 0 1 18 2.125v15.75A1.126 1.126 0 0 1 16.875 19Zm-3.625-1.25h3.5V2.25h-3.5v15.5Z\"/></svg>',\n },\n payment: {\n name: 'payment',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.386 2H2.614A2.617 2.617 0 0 0 0 4.614v10.772A2.617 2.617 0 0 0 2.614 18h14.772A2.617 2.617 0 0 0 20 15.386V4.614A2.617 2.617 0 0 0 17.386 2ZM3 6h5v5H3V6Zm4 8.5H3V13h4v1.5Zm5 0H8V13h4v1.5Zm5 0h-4V13h4v1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.386 2H2.614A2.617 2.617 0 0 0 0 4.614v10.772A2.617 2.617 0 0 0 2.614 18h14.772A2.617 2.617 0 0 0 20 15.386V4.614A2.617 2.617 0 0 0 17.386 2Zm1.364 13.386a1.366 1.366 0 0 1-1.364 1.364H2.614a1.366 1.366 0 0 1-1.364-1.364V4.614A1.366 1.366 0 0 1 2.614 3.25h14.772a1.366 1.366 0 0 1 1.364 1.364v10.772ZM8 6H3v5h5V6ZM6.75 9.75h-2.5v-2.5h2.5v2.5ZM3 13h4v1.25H3V13Zm5 0h4v1.25H8V13Zm5 0h4v1.25h-4V13Z\"/></svg>',\n },\n peace: {\n name: 'peace',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.665 8.319v3.194a1.1 1.1 0 0 1-1.094 1.094h-.227a1.1 1.1 0 0 1-1.094-1.094V8.319a1.094 1.094 0 0 1 1.094-1.093h.227a1.094 1.094 0 0 1 1.094 1.093Zm5.493 1.571a1.505 1.505 0 0 0-1.929.708 1.217 1.217 0 0 0-.023.963 1.378 1.378 0 0 0 .783.76l3 1.2a.625.625 0 0 1-.464 1.16l-3-1.2a2.7 2.7 0 0 1-.9-.584c-.129.027-.26.041-.391.043h-.225c-.476 0-.94-.146-1.331-.419a2.342 2.342 0 0 1-2.107 1.336h-.227a2.32 2.32 0 0 1-1.335-.422 6.872 6.872 0 0 0 7.031 6.5l.684.008a7.044 7.044 0 0 0 6.618-4.6 3.468 3.468 0 0 0-.531-3.028c-.026-.041-.063-.069-.092-.107a1.428 1.428 0 0 0-.35-.208l-5.211-2.11Zm5.676.948c.134.06.263.13.386.209l1.515-7.977a1.676 1.676 0 0 0-.32-1.33 1.979 1.979 0 0 0-1.273-.751 1.938 1.938 0 0 0-2.257 1.442l-1.224 5-1.37-5.661a1.809 1.809 0 0 0-.852-1.151A2.039 2.039 0 0 0 8.958.368a1.947 1.947 0 0 0-1.238.8A1.674 1.674 0 0 0 7.458 2.5l.574 2.7a2.342 2.342 0 0 1 1.547 2.2v1.13c.358 0 .712.068 1.044.2l5.211 2.108Zm-8.743-.757a2.6 2.6 0 0 1 1.238-1.247V7.4a1.094 1.094 0 0 0-1.094-1.091h-.226A1.094 1.094 0 0 0 5.915 7.4v3.2a1.088 1.088 0 0 0 1.03 1.081 2.442 2.442 0 0 1 .146-1.6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.626 1.744a2.255 2.255 0 0 0-1.482-.912 2.228 2.228 0 0 0-2.568 1.7l-.824 3.506-1.139-4.19A2.277 2.277 0 0 0 7.525 1.2a2.028 2.028 0 0 0-.274 1.567L8 5.987a2.095 2.095 0 0 0-.436-.046h-.221a2.124 2.124 0 0 0-1.916 1.22 2.111 2.111 0 0 0-1.084-.307h-.218A2.128 2.128 0 0 0 2 8.979v4.247a6.863 6.863 0 0 0 7.034 6.625l.685.008h.007c.019 0 .036-.01.056-.011a6.851 6.851 0 0 0 6.893-6.618v-2.95L17.97 3.3a2.038 2.038 0 0 0-.344-1.556ZM6.469 8.979v-.913a.874.874 0 0 1 .874-.874h.219a.875.875 0 0 1 .874.874v1.276a2.34 2.34 0 0 0-.778.923c-.21.459-.257.975-.135 1.464h-.18a.875.875 0 0 1-.874-.875V8.979Zm-3.218 0a.876.876 0 0 1 .874-.874h.218a.876.876 0 0 1 .874.874v2.788a.876.876 0 0 1-.874.875h-.218a.876.876 0 0 1-.874-.875V8.979Zm6.381 9.626h-.013l-.576-.005a5.661 5.661 0 0 1-5.766-4.888c.267.118.556.18.848.18h.218a2.125 2.125 0 0 0 1.916-1.221 2.1 2.1 0 0 0 1.084.307h.219c.214 0 .426-.034.629-.1.227.214.493.384.783.5l2.673 1.064a.637.637 0 0 0 .232.044.625.625 0 0 0 .231-1.2l-2.674-1.069a1.162 1.162 0 0 1-.662-.638 1 1 0 0 1 .021-.793 1.281 1.281 0 0 1 1.637-.593l4.257 1.694a1.14 1.14 0 0 1 .7.762c.01.022.02.044.032.065v.516a5.614 5.614 0 0 1-5.789 5.375Zm5.674-7.8c-.053-.026-.1-.061-.154-.083L10.9 9.032a2.6 2.6 0 0 0-.951-.182L8.468 2.481a.787.787 0 0 1 .109-.608.97.97 0 0 1 .638-.42.982.982 0 0 1 1.185.7L12.154 8.6l.18.486 1-.054L14.8 2.785a.974.974 0 0 1 1.145-.719 1 1 0 0 1 .66.4.8.8 0 0 1 .137.6l-1.436 7.739Z\"/></svg>',\n },\n 'pending-posts': {\n name: 'pending-posts',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 15.375V16A1.627 1.627 0 0 1 1 14.375V2.625A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.625H5.622a3 3 0 0 0-3 3l.003 9.75ZM19 5.622v11.756A1.624 1.624 0 0 1 17.378 19H5.622A1.624 1.624 0 0 1 4 17.378V5.622A1.624 1.624 0 0 1 5.622 4h11.756A1.624 1.624 0 0 1 19 5.622ZM13.148 8.9l.956.954 1.7-1.7-.955-.954-1.701 1.7Zm-7.059 3.275h2.4v-1.35h-2.4v1.35ZM9.852 14.1l-.952-.951-1.7 1.7.955.954L9.852 14.1Zm0-5.206-1.7-1.7-.952.956 1.7 1.7.952-.956Zm2.323 5.609h-1.35v2.406h1.35v-2.406Zm0-8.418h-1.35v2.409h1.35V6.085ZM15.8 14.85l-1.7-1.7-.956.954 1.7 1.7.956-.954Zm1.107-4.025h-2.4v1.35h2.4v-1.35Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.624 16A1.627 1.627 0 0 1 1 14.375V2.625A1.627 1.627 0 0 1 2.624 1h11.751A1.627 1.627 0 0 1 16 2.625h-1.25a.375.375 0 0 0-.375-.375H2.624a.375.375 0 0 0-.374.375v11.75a.375.375 0 0 0 .374.375V16ZM19 17.377V5.622A1.624 1.624 0 0 0 17.378 4H5.622A1.624 1.624 0 0 0 4 5.622v11.755A1.625 1.625 0 0 0 5.622 19h11.756A1.625 1.625 0 0 0 19 17.377ZM17.378 5.25a.373.373 0 0 1 .372.372v11.755a.373.373 0 0 1-.372.373H5.622a.373.373 0 0 1-.372-.373V5.622a.373.373 0 0 1 .372-.372h11.756Zm-8.885 5.625H6.088v1.25h2.405v-1.25Zm8.418 0h-2.405v1.25h2.405v-1.25Zm-4.786-4.787h-1.25v2.405h1.25V6.088Zm0 8.418h-1.25v2.405h1.25v-2.405Zm-2.31-5.574-1.7-1.7-.883.884 1.7 1.7.883-.884Zm5.954 5.952-1.7-1.7-.884.883 1.7 1.7.884-.883Zm0-6.769-.885-.884-1.7 1.7.884.884 1.701-1.7Zm-5.954 5.952-.882-.883-1.7 1.7.883.884 1.699-1.701Z\"/></svg>',\n },\n phone: {\n name: 'phone',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 1.632A1.634 1.634 0 0 0 15.368 0H4.625A1.627 1.627 0 0 0 3 1.625V15.5h14V1.632ZM12 4.5H8V3h4v1.5ZM3 17h14v1.368A1.633 1.633 0 0 1 15.368 20H4.632A1.634 1.634 0 0 1 3 18.368V17Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.368 0H4.625A1.627 1.627 0 0 0 3 1.625v16.743A1.634 1.634 0 0 0 4.632 20h10.736A1.633 1.633 0 0 0 17 18.368V1.632A1.634 1.634 0 0 0 15.368 0ZM4.625 1.25h10.743a.382.382 0 0 1 .382.382V15.75H4.25V1.625a.375.375 0 0 1 .375-.375Zm10.743 17.5H4.632a.382.382 0 0 1-.382-.382V17h11.5v1.368a.382.382 0 0 1-.382.382Zm-3.413-14.5H8V3h3.955v1.25Z\"/></svg>',\n },\n pin: {\n name: 'pin',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.6 6.876 13.124.4a1.132 1.132 0 0 0-1.606 0l-.665.665a2.083 2.083 0 0 0-.379 2.435L6.68 7.292a2.085 2.085 0 0 0-2.432.374l-.665.665a1.14 1.14 0 0 0 0 1.612l2.53 2.53-5.82 5.82 1.414 1.414 5.82-5.82 2.53 2.53a1.132 1.132 0 0 0 1.606 0l.665-.665a2.084 2.084 0 0 0 .375-2.432L16.5 9.528a2.126 2.126 0 0 0 2.433-.375l.666-.666a1.142 1.142 0 0 0 .001-1.611Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.6 6.876 13.125.4a1.132 1.132 0 0 0-1.606 0l-.665.665a2.084 2.084 0 0 0-.378 2.435L6.68 7.292a2.086 2.086 0 0 0-2.432.374l-.665.665a1.14 1.14 0 0 0 0 1.612l2.8 2.8-5.82 5.82.884.884 5.82-5.82 2.8 2.8a1.132 1.132 0 0 0 1.607 0l.665-.665a2.084 2.084 0 0 0 .374-2.432L16.5 9.528a2.129 2.129 0 0 0 2.433-.375l.666-.666a1.142 1.142 0 0 0 .002-1.611Zm-1.55 1.393a.849.849 0 0 1-1.174 0l-.442-.442-5.426 5.426.443.442a.832.832 0 0 1 0 1.174l-.588.587-6.319-6.319.587-.587a.833.833 0 0 1 1.175 0l.442.442 5.426-5.426-.442-.441a.832.832 0 0 1 0-1.175l.565-.609 6.34 6.341-.587.587Z\"/></svg>',\n },\n play: {\n name: 'play',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.125 19.543A1.126 1.126 0 0 1 3 18.418V1.582A1.125 1.125 0 0 1 4.735.636l13.048 8.418a1.126 1.126 0 0 1 0 1.891L4.735 19.363a1.13 1.13 0 0 1-.61.18Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.125 19.543A1.124 1.124 0 0 1 3 18.418V1.582A1.125 1.125 0 0 1 4.735.636l13.048 8.419a1.125 1.125 0 0 1 0 1.89L4.735 19.364a1.129 1.129 0 0 1-.61.179ZM4.25 1.811v16.378L16.942 10 4.25 1.811Z\"/></svg>',\n },\n 'poll-post': {\n name: 'poll-post',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3 12a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm0 4.3a1.3 1.3 0 1 1 0-2.6 1.3 1.3 0 0 1 0 2.6ZM8 14h11v2H8v-2ZM19 4v2H8V4h11ZM6 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8 14.275h11v1.25H8v-1.25Zm0-10v1.25h11v-1.25H8ZM3 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm3 13a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-1.25 0a1.75 1.75 0 1 0-3.5 0 1.75 1.75 0 0 0 3.5 0Z\"/></svg>',\n },\n popular: {\n name: 'popular',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.01 10.01 0 0 0 10 0Zm4 13.791L10.812 10.6l-6.245 6.247a8.92 8.92 0 0 1-1.414-1.414L9.4 9.188 6.209 6h7.778l.013.638v7.153Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.01 10.01 0 0 0 10 0Zm0 18.75a8.7 8.7 0 0 1-5.721-2.145l8.471-8.471v4.148H14V6.638A.647.647 0 0 0 13.362 6H7.718v1.25h4.148L3.4 15.721A8.739 8.739 0 1 1 10 18.75Z\"/></svg>',\n },\n posts: {\n name: 'posts',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 15.375V16A1.627 1.627 0 0 1 1 14.375V2.624A1.627 1.627 0 0 1 2.625 1h11.75A1.627 1.627 0 0 1 16 2.624H5.629a3.008 3.008 0 0 0-3 3l-.004 9.751ZM19 5.625v11.75A1.627 1.627 0 0 1 17.375 19H5.625A1.627 1.627 0 0 1 4 17.375V5.625A1.627 1.627 0 0 1 5.625 4h11.75A1.627 1.627 0 0 1 19 5.625ZM15 14H8v1.5h7V14Zm0-3H8v1.5h7V11Zm0-3H8v1.5h7V8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15 9.25H8V8h7v1.25ZM15 11H8v1.25h7V11Zm0 3H8v1.25h7V14Zm4 3.375V5.625A1.627 1.627 0 0 0 17.375 4H5.625A1.627 1.627 0 0 0 4 5.625v11.75A1.627 1.627 0 0 0 5.625 19h11.75A1.627 1.627 0 0 0 19 17.375ZM17.375 5.25a.375.375 0 0 1 .375.375v11.75a.375.375 0 0 1-.375.375H5.625a.375.375 0 0 1-.375-.375V5.625a.375.375 0 0 1 .375-.375h11.75Zm-14.75 9.5a.375.375 0 0 1-.375-.375V2.624a.375.375 0 0 1 .375-.374h11.75a.375.375 0 0 1 .375.374H16A1.627 1.627 0 0 0 14.375 1H2.625A1.627 1.627 0 0 0 1 2.624v11.751A1.627 1.627 0 0 0 2.625 16v-1.25Z\"/></svg>',\n },\n powerup: {\n name: 'powerup',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.112 7.542a.83.83 0 0 0-.759-.491h-3.56l2.394-4.841a.831.831 0 0 0-.74-1.21h-8.3a.828.828 0 0 0-.807.63l-2.315 9.259a.832.832 0 0 0 .806 1.035h2.815l-1.162 6.882a.823.823 0 0 0 .461.887.843.843 0 0 0 .363.083.815.815 0 0 0 .613-.276L16.975 8.435a.832.832 0 0 0 .137-.893Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.308 19.776a.843.843 0 0 1-.743-.448.823.823 0 0 1-.08-.522l1.161-6.882H3.831a.831.831 0 0 1-.806-1.035L5.338 1.63A.828.828 0 0 1 6.144 1h8.3a.832.832 0 0 1 .741 1.21l-2.392 4.841h3.56a.832.832 0 0 1 .622 1.384L6.921 19.5a.816.816 0 0 1-.613.276ZM6 18.658l-.007.007.007-.007Zm-1.63-7.984h3.756L6.955 17.6l8.453-9.3H10.78l2.993-6.05h-7.3L4.37 10.674Zm9.7-9.026v.009-.009Z\"/></svg>',\n },\n predictions: {\n name: 'predictions',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 17.384a9.32 9.32 0 0 0 5.271-1.628l.787 2.117a1.655 1.655 0 0 1-.184 1.523 1.351 1.351 0 0 1-1.115.6H5.141a1.352 1.352 0 0 1-1.116-.6 1.656 1.656 0 0 1-.183-1.523l.81-2.173A9.314 9.314 0 0 0 10 17.384Zm7.963-8.652A8.02 8.02 0 1 1 14.8 1.625c-.22.171-.405.383-.546.623l-.413.739-.737.412a2.24 2.24 0 0 0 0 3.912l.74.413.412.739v.006a2.242 2.242 0 0 0 1.952 1.14h.006a2.221 2.221 0 0 0 1.75-.877ZM9.95 3.088A4.917 4.917 0 0 0 5.038 8h1.25A3.666 3.666 0 0 1 9.95 4.338v-1.25Zm8.7 1.513L17.567 4l-.6-1.077a.864.864 0 0 0-1.509-.002L14.852 4l-1.078.6a.863.863 0 0 0 0 1.509l1.08.6.6 1.079a.868.868 0 0 0 1.19.321.864.864 0 0 0 .317-.323l.6-1.078 1.081-.6a.864.864 0 0 0 0-1.509l.008.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.255 15.712c-.353.23-.72.436-1.1.619l.735 1.978a.424.424 0 0 1-.038.375c-.015.019-.051.066-.09.066H5.142c-.038 0-.075-.047-.09-.066a.418.418 0 0 1-.037-.375l.735-1.978a9.754 9.754 0 0 1-1.1-.619l-.8 2.161a1.656 1.656 0 0 0 .176 1.527 1.352 1.352 0 0 0 1.116.6h9.618a1.351 1.351 0 0 0 1.115-.6 1.657 1.657 0 0 0 .184-1.523l-.803-2.165Z\"/><path d=\"M6.288 8A3.666 3.666 0 0 1 9.95 4.338v-1.25A4.917 4.917 0 0 0 5.038 8h1.25Z\"/><path d=\"M16.562 9.562a6.762 6.762 0 1 1-2.515-6.942l.208-.372c.14-.24.326-.452.546-.623a7.992 7.992 0 1 0 3.162 7.107 2.212 2.212 0 0 1-1.401.83Z\"/><path d=\"m18.646 4.6-1.08-.6-.6-1.075a.864.864 0 0 0-1.508-.002L14.853 4l-1.082.6a.866.866 0 0 0 0 1.509l1.08.6.6 1.078a.867.867 0 0 0 1.191.323.865.865 0 0 0 .317-.324l.6-1.077 1.08-.6a.865.865 0 0 0 0-1.51l.007.001Zm-1.78 1.073a.877.877 0 0 0-.337.335l-.32.571-.316-.567a.876.876 0 0 0-.335-.337l-.574-.321.576-.321a.864.864 0 0 0 .33-.331l.32-.571.323.578c.078.137.192.25.33.326l.573.32-.57.318Z\"/></svg>',\n },\n premium: {\n name: 'premium',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.493 1.615a.629.629 0 0 0-.493-.24h-.877c-2.688 0-5.365-.33-7.972-.98a.594.594 0 0 0-.3 0c-2.608.65-5.285.98-7.972.98h-.88a.624.624 0 0 0-.605.776 32.91 32.91 0 0 1 .98 7.972v3.851a4.089 4.089 0 0 0 4.085 4.084 6.764 6.764 0 0 1 4.155 1.434.627.627 0 0 0 .772 0 6.764 6.764 0 0 1 4.155-1.434 4.09 4.09 0 0 0 4.084-4.084v-3.85c0-2.688.33-5.365.98-7.973a.625.625 0 0 0-.112-.536Zm-2.118 12.36a2.837 2.837 0 0 1-2.834 2.833A8.022 8.022 0 0 0 10 18.225V9.5H2.608a34.2 34.2 0 0 0-.817-6.875h.086c2.737 0 5.464-.33 8.123-.98V9.5h7.392c0 .208-.017.415-.017.623v3.851Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.493 1.615a.629.629 0 0 0-.493-.24h-.877c-2.688 0-5.365-.33-7.972-.98a.594.594 0 0 0-.3 0c-2.608.65-5.285.98-7.972.98h-.88a.624.624 0 0 0-.605.776 32.91 32.91 0 0 1 .98 7.972v3.851a4.089 4.089 0 0 0 4.085 4.084 6.764 6.764 0 0 1 4.155 1.434.627.627 0 0 0 .772 0 6.764 6.764 0 0 1 4.155-1.434 4.09 4.09 0 0 0 4.084-4.084v-3.85c0-2.688.33-5.365.98-7.973a.625.625 0 0 0-.112-.536ZM1.877 2.625a34.158 34.158 0 0 0 7.5-.848v7.1H2.59a34.172 34.172 0 0 0-.8-6.25l.087-.002Zm.748 11.35v-3.85h6.75v7.735a7.999 7.999 0 0 0-3.916-1.052 2.837 2.837 0 0 1-2.834-2.834Zm11.916 2.833a7.999 7.999 0 0 0-3.916 1.052v-7.735h6.75v3.85a2.837 2.837 0 0 1-2.834 2.833Zm2.869-7.933h-6.785v-7.1c2.46.56 4.976.844 7.5.848h.086a34.174 34.174 0 0 0-.801 6.252Z\"/></svg>',\n },\n privacy: {\n name: 'privacy',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.083 0a6.862 6.862 0 0 0-6.854 6.854c0 .825.149 1.643.442 2.414L0 15.939v4h5V17h3v-3h5.083a7.1 7.1 0 0 0 6.854-7.146A6.862 6.862 0 0 0 13.083 0Zm1.039 7.654a1.838 1.838 0 1 1 0-3.676 1.838 1.838 0 0 1 0 3.676Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.083 0a6.862 6.862 0 0 0-6.854 6.854c0 .825.149 1.643.442 2.414L0 15.939v4h5V17h3v-3h5.083a7.1 7.1 0 0 0 6.854-7.146A6.862 6.862 0 0 0 13.083 0Zm0 12.75H6.75v3h-3v2.938h-2.5v-2.231l6.906-6.906-.178-.395a5.554 5.554 0 0 1-.5-2.3 5.604 5.604 0 0 1 11.208 0 5.833 5.833 0 0 1-5.603 5.894Zm2.7-6.934a1.664 1.664 0 1 1-3.332 0 1.664 1.664 0 0 1 3.334 0h-.002Z\"/></svg>',\n },\n profile: {\n name: 'profile',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm.059 5a3.229 3.229 0 1 1 0 6.458 3.229 3.229 0 0 1 0-6.458ZM3.85 16.216a5.32 5.32 0 0 1 5.007-3.162h2.286a5.324 5.324 0 0 1 5.008 3.161 8.73 8.73 0 0 1-12.3 0l-.001.001Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0ZM4.866 17.07a3.99 3.99 0 0 1 3.991-2.77h2.286a3.99 3.99 0 0 1 3.991 2.766 8.685 8.685 0 0 1-10.268 0v.004Zm11.3-.87a5.354 5.354 0 0 0-5.024-3.146H8.857A5.354 5.354 0 0 0 3.833 16.2a8.75 8.75 0 1 1 12.334 0h-.001ZM10.059 5a3.229 3.229 0 1 0 0 6.458 3.229 3.229 0 0 0 0-6.458Zm0 5.208a1.98 1.98 0 1 1 0-3.959 1.98 1.98 0 0 1 0 3.959Z\"/></svg>',\n },\n qa: {\n name: 'qa',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.117 9.44a2.48 2.48 0 0 0-.523-.788l-4.347-4.347a2.514 2.514 0 0 0-.786-.521 4.771 4.771 0 1 1 5.656 5.657Zm-1.16 1.065a1.137 1.137 0 0 1-.453.833L3.702 19.44a2.315 2.315 0 0 1-3.24-3.24l8.1-10.8a1.143 1.143 0 0 1 1.718-.124l4.346 4.344a1.129 1.129 0 0 1 .331.885Zm-3.972-.533L9.93 8.916l-2.076 2.076 1.055 1.056 2.076-2.076Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.128 0a4.78 4.78 0 0 0-4.774 4.774c.007.214.029.427.065.638l-.137-.138a1.143 1.143 0 0 0-1.719.126L.461 16.2a2.315 2.315 0 0 0 3.241 3.24l10.8-8.1a1.14 1.14 0 0 0 .122-1.718l-.138-.138c.212.036.426.058.64.065a4.773 4.773 0 1 0 0-9.547L15.128 0ZM2.955 18.445a1.07 1.07 0 0 1-1.5-1.5L9.487 6.239l4.175 4.176-10.707 8.03ZM15.128 8.3a3.53 3.53 0 1 1 0-7.06 3.53 3.53 0 0 1 0 7.06Zm-7.186 2.78L10.018 9l.88.88-2.077 2.08-.879-.88Z\"/></svg>',\n },\n 'qr-code': {\n name: 'qr-code',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9 5.2v2.5C9 8.5 8.5 9 7.8 9H5.2C4.5 9 4 8.5 4 7.8V5.2C4 4.5 4.5 4 5.2 4h2.5C8.5 4 9 4.5 9 5.2ZM12.2 9h2.5c.8 0 1.3-.5 1.3-1.2V5.2c0-.7-.5-1.2-1.2-1.2h-2.5c-.8 0-1.3.5-1.3 1.2v2.5c0 .8.5 1.3 1.2 1.3Zm-4.4 2H5.2c-.7 0-1.2.5-1.2 1.2v2.5c0 .8.5 1.3 1.2 1.3h2.5c.8 0 1.3-.5 1.3-1.2v-2.5c0-.8-.5-1.3-1.2-1.3Zm8.2 3.4V11h-2v3h-3v2h3.4c.9 0 1.6-.7 1.6-1.6ZM3 13H1v4c0 1.1.9 2 2 2h4v-2H3v-4Zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4Zm0-16h-4v2h4v3.9h2V3c0-1.1-.9-2-2-2ZM3 3h4V1H3c-1.1 0-2 .9-2 2v4h2V3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.8 16h-3.7v-1.2h3.7v-3.7H16v3.7c0 .7-.5 1.2-1.2 1.2ZM9 7.8V5.2C9 4.5 8.5 4 7.8 4H5.2C4.5 4 4 4.5 4 5.2v2.5C4 8.5 4.5 9 5.2 9h2.5C8.5 9 9 8.5 9 7.8Zm-1.2 0H5.3V5.3h2.5v2.5Zm8.2 0V5.2c0-.7-.5-1.2-1.2-1.2h-2.5c-.8 0-1.3.5-1.3 1.2v2.5c0 .8.5 1.3 1.2 1.3h2.5c.8 0 1.3-.5 1.3-1.2Zm-1.2 0h-2.5V5.3h2.5v2.5Zm-5.8 7v-2.5c0-.8-.5-1.3-1.2-1.3H5.2c-.7 0-1.2.5-1.2 1.2v2.5c0 .8.5 1.3 1.2 1.3h2.5c.8 0 1.3-.5 1.3-1.2Zm-1.2 0H5.3v-2.5h2.5v2.5Zm-.8 3H2.6c-.2 0-.4-.2-.4-.4V13H1v4.4c0 .9.7 1.6 1.6 1.6H7v-1.2Zm12-.4V13h-1.2v4.4c0 .2-.2.4-.4.4H13V19h4.4c.9 0 1.6-.7 1.6-1.6Zm0-14.8c0-.9-.7-1.6-1.6-1.6H13v1.2h4.4c.2 0 .4.2.4.4V7H19V2.6Zm-16.8 0c0-.2.2-.4.4-.4H7V1H2.6C1.7 1 1 1.7 1 2.6V7h1.2V2.6Z\"/></svg>',\n },\n quarantined: {\n name: 'quarantined',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.635 6.73 13.27 1.364a4.627 4.627 0 0 0-6.542 0L1.364 6.73a4.627 4.627 0 0 0 0 6.542l5.365 5.365a4.628 4.628 0 0 0 6.542 0l5.364-5.365a4.627 4.627 0 0 0 0-6.542ZM11.375 10a1.375 1.375 0 1 1-2.75 0 1.375 1.375 0 0 1 2.75 0Zm-7 0a5.646 5.646 0 0 1 2.812-4.868l.542-.314L9.272 7.49a2.577 2.577 0 0 0-1.815 3.135H4.374V10Zm8.435 4.868a5.6 5.6 0 0 1-5.622 0l-.54-.312 1.538-2.666a2.6 2.6 0 0 0 3.626 0l1.54 2.666-.542.312Zm2.814-4.243h-3.083a2.577 2.577 0 0 0-1.815-3.135l1.543-2.672.542.314A5.645 5.645 0 0 1 15.624 10v.625Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.375 10a1.375 1.375 0 1 1-2.75 0 1.375 1.375 0 0 1 2.75 0Zm-3.188 1.89-1.539 2.666.541.312a5.6 5.6 0 0 0 5.622 0l.541-.312-1.539-2.666a2.6 2.6 0 0 1-3.626 0Zm1.086-4.4L7.73 4.818l-.542.314A5.646 5.646 0 0 0 4.375 10v.625h3.083A2.577 2.577 0 0 1 9.273 7.49ZM12.625 10c-.002.211-.03.42-.083.625h3.083V10a5.646 5.646 0 0 0-2.813-4.868l-.542-.314-1.543 2.672A2.622 2.622 0 0 1 12.625 10ZM10 19.99a4.6 4.6 0 0 1-3.27-1.354l-5.366-5.365a4.627 4.627 0 0 1 0-6.542L6.73 1.364a4.627 4.627 0 0 1 6.542 0l5.365 5.364a4.627 4.627 0 0 1 0 6.542l-5.364 5.365A4.601 4.601 0 0 1 10 19.99Zm0-18.73a3.353 3.353 0 0 0-2.386.988L2.25 7.614a3.374 3.374 0 0 0 0 4.772l5.366 5.366a3.46 3.46 0 0 0 4.772 0l5.365-5.366a3.374 3.374 0 0 0 0-4.772L12.386 2.25A3.35 3.35 0 0 0 10 1.26Z\"/></svg>',\n },\n quote: {\n name: 'quote',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.117 11.685a16.055 16.055 0 0 1-2.267 2.733l-2.233 2.127L2 14.788l2.039-1.9c.082-.067.278-.242.589-.527.3-.27.584-.558.852-.861.243-.273.46-.567.651-.879-.212.06-.43.09-.651.088a3.153 3.153 0 0 1-1.582-.43 3.386 3.386 0 0 1-1.221-1.187 3.212 3.212 0 0 1-.466-1.722 3.138 3.138 0 0 1 .475-1.706A3.29 3.29 0 0 1 3.96 4.487a3.609 3.609 0 0 1 1.714-.422 3.363 3.363 0 0 1 1.731.457 3.3 3.3 0 0 1 1.257 1.362c.334.68.497 1.432.475 2.189a6.384 6.384 0 0 1-1.02 3.612Zm8.863 0a16.006 16.006 0 0 1-2.267 2.733l-2.233 2.127-1.617-1.757 2.039-1.9c.082-.07.279-.246.589-.527.3-.271.585-.559.853-.862.243-.273.46-.567.65-.879-.211.06-.43.09-.65.088a3.15 3.15 0 0 1-1.582-.43 3.39 3.39 0 0 1-1.222-1.186 3.212 3.212 0 0 1-.466-1.722 3.139 3.139 0 0 1 .475-1.706 3.29 3.29 0 0 1 1.274-1.177 3.612 3.612 0 0 1 1.714-.422 3.369 3.369 0 0 1 1.732.457c.54.325.976.798 1.256 1.362.334.68.497 1.432.475 2.189a6.384 6.384 0 0 1-1.02 3.612Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m13.074 16.478-.826-.891c.3-.313.615-.628.935-.947 1.82-1.817 3.7-3.695 3.639-6.337a3.893 3.893 0 0 0-.341-1.727 2.262 2.262 0 0 0-3.251-1.015 2.3 2.3 0 0 0-.873.856 2.348 2.348 0 0 0-.318 1.227 2.414 2.414 0 0 0 1.155 2.117c.32.202.691.31 1.07.311v1.25a3.165 3.165 0 0 1-1.652-.475 3.62 3.62 0 0 1-1.261-1.3 3.739 3.739 0 0 1-.488-1.9 3.671 3.671 0 0 1 .5-1.891A3.45 3.45 0 0 1 17.522 6c.332.716.496 1.498.478 2.287.078 3.186-2.094 5.353-4.01 7.264-.315.313-.624.62-.916.927Zm-8.863 0-.826-.891c.3-.313.615-.628.935-.947 1.82-1.817 3.7-3.695 3.639-6.337a3.883 3.883 0 0 0-.342-1.727 2.329 2.329 0 0 0-.857-1 2.357 2.357 0 0 0-2.392-.019c-.363.2-.665.497-.873.856a2.349 2.349 0 0 0-.32 1.227 2.417 2.417 0 0 0 1.156 2.121c.32.202.691.31 1.07.311v1.25a3.159 3.159 0 0 1-1.652-.475 3.616 3.616 0 0 1-1.261-1.3A3.741 3.741 0 0 1 2 7.644a3.666 3.666 0 0 1 .5-1.892A3.53 3.53 0 0 1 7.354 4.5 3.554 3.554 0 0 1 8.659 6c.332.717.495 1.5.476 2.291.078 3.186-2.093 5.352-4.01 7.264a34.4 34.4 0 0 0-.914.923Z\"/></svg>',\n },\n 'r-slash': {\n name: 'r-slash',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.488 8.58a2.483 2.483 0 0 0-1.275-.3c-.5-.03-.994.126-1.385.441a1.607 1.607 0 0 0-.5 1.268V14.5H3.844V6.021h2.362v1.008h.047a3.57 3.57 0 0 1 1.165-.819 4.065 4.065 0 0 1 1.693-.323c.286-.002.57.024.85.079.187.028.366.092.527.189l-1 2.425ZM8.1 16.862l6.38-15.446h2.063l-6.425 15.446H8.1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.306 8.021a2 2 0 0 0-.6-.229 3.2 3.2 0 0 0-.658-.07c-.39-.008-.775.08-1.122.256-.31.158-.57.4-.748.7a1.884 1.884 0 0 0-.263.98V14.5h-1.86V6.092h1.787v1.071h.04c.316-.368.71-.663 1.153-.863A3.839 3.839 0 0 1 9.7 5.958c.28-.004.56.024.834.083.182.033.358.096.52.185l-.748 1.795Zm-1.7 8.841L15 1.416h1.583l-6.417 15.446h-1.56Z\"/></svg>',\n },\n radar: {\n name: 'radar',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M11.625 10a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm5.96-6.5-4.91 4.91a3.085 3.085 0 0 1-.077 3.326A3.125 3.125 0 1 1 10 6.875a3.09 3.09 0 0 1 1.622.468l1.434-1.434a5.071 5.071 0 0 0-5.915-.16c0 .03.017.055.017.086a1.324 1.324 0 0 1-1.323 1.323c-.031 0-.056-.015-.086-.017a5.119 5.119 0 0 0 3.258 7.884 1.279 1.279 0 0 1 1.986 0A5.131 5.131 0 0 0 15.125 10h1.5a6.63 6.63 0 0 1-5.494 6.521 1.283 1.283 0 0 1-2.262 0A6.609 6.609 0 0 1 4.584 6.2a1.315 1.315 0 0 1-.072-.361 1.323 1.323 0 0 1 1.323-1.327c.123.007.245.031.361.072a6.6 6.6 0 0 1 7.941.244l2.388-2.389a10.01 10.01 0 1 0 1.06 1.061Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M18.75 10a8.75 8.75 0 1 1-3.021-6.613l-1.6 1.6a6.493 6.493 0 0 0-7.772-.367A1.322 1.322 0 0 0 4.62 6.357a6.493 6.493 0 0 0 4.159 10.024 1.321 1.321 0 0 0 2.442 0A6.508 6.508 0 0 0 16.5 10h-1.25a5.26 5.26 0 0 1-4.18 5.139 1.268 1.268 0 0 0-2.14 0 5.238 5.238 0 0 1-3.308-8.024c.07.02.14.035.213.043a1.324 1.324 0 0 0 1.323-1.323 1.256 1.256 0 0 0-.043-.213 5.172 5.172 0 0 1 6.112.267l-1.6 1.6a3.015 3.015 0 1 0 .885.885l4.558-4.559a.627.627 0 0 0 0-.884A10 10 0 1 0 20 10h-1.25ZM10 11.75a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n },\n 'radio-button': {\n name: 'radio-button',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 19a8.99 8.99 0 1 1 .017-17.982A8.99 8.99 0 0 1 10 19Zm0-16.746a7.748 7.748 0 1 0 7.601 9.258A7.745 7.745 0 0 0 10 2.254Zm3.536 4.21a5 5 0 1 0-7.07 7.072 5 5 0 0 0 7.07-7.072Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 19a8.99 8.99 0 1 1 .017-17.982A8.99 8.99 0 0 1 10 19Zm0-16.746a7.748 7.748 0 1 0 7.601 9.258A7.745 7.745 0 0 0 10 2.254Z\"/></svg>',\n },\n 'raise-hand': {\n name: 'raise-hand',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.21 11.433V2.904a1.3 1.3 0 0 0-1.289-1.3h-.034a1.3 1.3 0 0 0-1.283 1.311c.006 1.691.012 5.137.018 6.482a.482.482 0 1 1-.963 0c.008-1.79.016-5.928.024-8.081v-.011A1.3 1.3 0 0 0 9.4 0h-.048a1.3 1.3 0 0 0-1.284 1.308c.005 2.109.011 6.273.016 8.014a.485.485 0 0 1-.484.488h-.006a.485.485 0 0 1-.478-.49c.006-1.162.021-4.846.03-6.424v-.008a1.3 1.3 0 0 0-1.289-1.3h-.043a1.3 1.3 0 0 0-1.282 1.306c.009 1.863.024 5.133.026 6.453a.484.484 0 0 1-.481.486h-.02a.483.483 0 0 1-.474-.493c.012-1.027.04-2.346.051-3.62v-.01a1.289 1.289 0 1 0-2.577 0v7.562a.21.21 0 0 0 0 .021 6.652 6.652 0 0 0 6.581 6.7l2.625.007h.019a6.619 6.619 0 0 0 5.638-3.2l2.928-4.862c.717-1.192.489-2.269-.783-2.416a2.56 2.56 0 0 0-2.284 1.068l-1.525 2.022-.046-1.179Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.129 8.913a2.136 2.136 0 0 0-2.829.557l-1.045 1.4V3.736a2.138 2.138 0 0 0-2.125-2.145 2.078 2.078 0 0 0-.906.213 2.114 2.114 0 0 0-4.182 0 2.092 2.092 0 0 0-.909-.214A2.138 2.138 0 0 0 4 3.736v.884a2.1 2.1 0 0 0-.878-.2A2.137 2.137 0 0 0 1 6.568v6.721a6.677 6.677 0 0 0 6.6 6.7l2.642.011h.02a6.642 6.642 0 0 0 5.658-3.216l2.938-4.884a2.184 2.184 0 0 0-.729-2.987Zm-.341 2.346-2.938 4.88a5.388 5.388 0 0 1-4.588 2.611h-.016l-2.638-.008a5.425 5.425 0 0 1-5.358-5.453V6.568a.875.875 0 1 1 1.75 0V9.92a.625.625 0 0 0 1.25 0V3.736a.875.875 0 1 1 1.75 0V9.92a.625.625 0 0 0 1.25 0V2.145a.875.875 0 1 1 1.75 0V9.92a.625.625 0 0 0 1.25 0v-6.2a.877.877 0 0 1 1.217-.797.876.876 0 0 1 .533.813v8.724a.726.726 0 0 0 1.307.435l1.993-2.679a.889.889 0 0 1 1.181-.235.933.933 0 0 1 .307 1.278Z\"/></svg>',\n },\n random: {\n name: 'random',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.381 6H7.619A1.621 1.621 0 0 0 6 7.619v9.762A1.621 1.621 0 0 0 7.619 19h9.762A1.62 1.62 0 0 0 19 17.381V7.619A1.62 1.62 0 0 0 17.381 6ZM9.5 10.763a1.263 1.263 0 1 1 0-2.526 1.263 1.263 0 0 1 0 2.526Zm3 3a1.263 1.263 0 1 1 0-2.526 1.263 1.263 0 0 1 0 2.526Zm2.908 2.908a1.263 1.263 0 1 1-.002-2.526 1.263 1.263 0 0 1 .002 2.526ZM11.369 1H2.631A1.633 1.633 0 0 0 1 2.632v8.736A1.633 1.633 0 0 0 2.631 13H4.625v-2.95a1.263 1.263 0 1 1 0-1.1V7.619a3 3 0 0 1 2.994-2.994h1.333a1.263 1.263 0 1 1 1.1 0H13V2.632A1.633 1.633 0 0 0 11.369 1ZM3.5 4.763a1.263 1.263 0 1 1 0-2.526 1.263 1.263 0 0 1 0 2.526Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.381 6H7.619A1.621 1.621 0 0 0 6 7.619v9.762A1.621 1.621 0 0 0 7.619 19h9.762A1.62 1.62 0 0 0 19 17.381V7.619A1.62 1.62 0 0 0 17.381 6Zm.369 11.381a.37.37 0 0 1-.369.369H7.619a.37.37 0 0 1-.369-.369V7.619a.37.37 0 0 1 .369-.369h9.762a.37.37 0 0 1 .369.369v9.762ZM2.631 11.75h1.4V13h-1.4A1.633 1.633 0 0 1 1 11.368V2.632A1.633 1.633 0 0 1 2.631 1h8.738A1.633 1.633 0 0 1 13 2.632v1.4h-1.25v-1.4a.382.382 0 0 0-.381-.382H2.631a.382.382 0 0 0-.381.382v8.736a.382.382 0 0 0 .381.382Zm11.132.75a1.263 1.263 0 1 1-2.526 0 1.263 1.263 0 0 1 2.526 0Zm-2.908-2.908a1.263 1.263 0 1 1-2.526 0 1.263 1.263 0 0 1 2.526 0Zm5.815 5.816a1.263 1.263 0 1 1-2.526.002 1.263 1.263 0 0 1 2.526-.002ZM5.355 4.092a1.263 1.263 0 1 1-2.526 0 1.263 1.263 0 0 1 2.526 0Zm4.553-1.263a1.263 1.263 0 1 1 0 2.526 1.263 1.263 0 0 1 0-2.526ZM5.355 9.908a1.263 1.263 0 1 1-2.527.002 1.263 1.263 0 0 1 2.527-.002Z\"/></svg>',\n },\n 'ratings-everyone': {\n name: 'ratings-everyone',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.375 1h-8.75A4.631 4.631 0 0 0 1 5.625v8.75A4.631 4.631 0 0 0 5.625 19h8.75A4.631 4.631 0 0 0 19 14.375v-8.75A4.631 4.631 0 0 0 14.375 1ZM13.1 6.92H9.443v2.016h3.028v1.935H9.443V13H13.1v2H7.2V4.924h5.9V6.92Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.375 19h-8.75A4.631 4.631 0 0 1 1 14.375v-8.75A4.631 4.631 0 0 1 5.625 1h8.75A4.631 4.631 0 0 1 19 5.625v8.75A4.631 4.631 0 0 1 14.375 19ZM5.625 2.25A3.379 3.379 0 0 0 2.25 5.625v8.75a3.379 3.379 0 0 0 3.375 3.375h8.75a3.38 3.38 0 0 0 3.375-3.375v-8.75a3.38 3.38 0 0 0-3.375-3.375h-8.75ZM7.2 15V4.924h5.9v2H9.443v2.012h3.028v1.935H9.443V13H13.1v2H7.2Z\"/></svg>',\n },\n 'ratings-mature': {\n name: 'ratings-mature',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.375 1h-8.75A4.631 4.631 0 0 0 1 5.625v8.75A4.631 4.631 0 0 0 5.625 19h8.75A4.631 4.631 0 0 0 19 14.375v-8.75A4.631 4.631 0 0 0 14.375 1ZM15 15h-2.168v-3.311l.046-2.632h-.053l-2.613 3.886h-.424L7.175 9.057h-.053l.053 2.632V15H5V5h1.611l3.362 4.817h.054L13.389 5H15v10Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5 15V5h1.611l3.362 4.817h.054L13.389 5H15v10h-2.168v-3.311l.046-2.632h-.053l-2.613 3.886h-.424L7.175 9.057h-.053l.053 2.632V15H5Zm9.375 4h-8.75A4.631 4.631 0 0 1 1 14.375v-8.75A4.631 4.631 0 0 1 5.625 1h8.75A4.631 4.631 0 0 1 19 5.625v8.75A4.631 4.631 0 0 1 14.375 19ZM5.625 2.25A3.379 3.379 0 0 0 2.25 5.625v8.75a3.379 3.379 0 0 0 3.375 3.375h8.75a3.38 3.38 0 0 0 3.375-3.375v-8.75a3.38 3.38 0 0 0-3.375-3.375h-8.75Z\"/></svg>',\n },\n 'ratings-nsfw': {\n name: 'ratings-nsfw',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.375 1h-8.75A4.631 4.631 0 0 0 1 5.625v8.75A4.631 4.631 0 0 0 5.625 19h8.75A4.631 4.631 0 0 0 19 14.375v-8.75A4.631 4.631 0 0 0 14.375 1Zm-2.229 14-2.132-3.338h-.035L7.826 15H5.188l3.281-4.98v-.054L5.242 5h2.584l2.153 3.561h.035L12.153 5h2.6l-3.22 4.966v.054L14.812 15h-2.666Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.538 10.02 14.812 15h-2.666l-2.132-3.338h-.035L7.826 15H5.188l3.281-4.98v-.054L5.242 5h2.584l2.153 3.561h.035L12.153 5h2.6l-3.22 4.966.005.054ZM14.375 19h-8.75A4.631 4.631 0 0 1 1 14.375v-8.75A4.631 4.631 0 0 1 5.625 1h8.75A4.631 4.631 0 0 1 19 5.625v8.75A4.631 4.631 0 0 1 14.375 19ZM5.625 2.25A3.379 3.379 0 0 0 2.25 5.625v8.75a3.379 3.379 0 0 0 3.375 3.375h8.75a3.38 3.38 0 0 0 3.375-3.375v-8.75a3.38 3.38 0 0 0-3.375-3.375h-8.75Z\"/></svg>',\n },\n 'ratings-violence': {\n name: 'ratings-violence',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.375 1h-8.75A4.631 4.631 0 0 0 1 5.625v8.75A4.631 4.631 0 0 0 5.625 19h8.75A4.631 4.631 0 0 0 19 14.375v-8.75A4.631 4.631 0 0 0 14.375 1Zm-3.411 14H9.091L4.941 5h2.441l1.565 4.179 1.032 2.8h.055l.991-2.795L12.6 5h2.461l-4.097 10Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.96 15H9.087L4.938 5h2.44l1.566 4.179 1.032 2.8h.055l.991-2.795L12.6 5h2.461L10.96 15Zm3.415 4h-8.75A4.631 4.631 0 0 1 1 14.375v-8.75A4.631 4.631 0 0 1 5.625 1h8.75A4.631 4.631 0 0 1 19 5.625v8.75A4.631 4.631 0 0 1 14.375 19ZM5.625 2.25A3.379 3.379 0 0 0 2.25 5.625v8.75a3.379 3.379 0 0 0 3.375 3.375h8.75a3.38 3.38 0 0 0 3.375-3.375v-8.75a3.38 3.38 0 0 0-3.375-3.375h-8.75Z\"/></svg>',\n },\n 'recovery-phrase': {\n name: 'recovery-phrase',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.154 2.1 10.27.108a1.1 1.1 0 0 0-.54 0L1.848 2.1A1.12 1.12 0 0 0 1 3.187V12c0 5.281 7.25 7.554 8.7 7.955.098.028.198.044.3.045.101 0 .202-.014.3-.041C11.75 19.554 19 17.281 19 12V3.187a1.12 1.12 0 0 0-.846-1.087ZM8.472 8.706a5.45 5.45 0 0 0-.8 1.017c.296.003.586.086.839.24a1.74 1.74 0 0 1 .838 1.479 1.65 1.65 0 0 1-.24.864c-.156.26-.375.475-.638.626a1.722 1.722 0 0 1-.865.231 1.69 1.69 0 0 1-.934-.272 1.845 1.845 0 0 1-.649-.745 2.427 2.427 0 0 1-.231-1.078 5.074 5.074 0 0 1 1.522-3.242l1.449-1.6 1.087 1.05-1.378 1.43Zm4.479 1.257a1.74 1.74 0 0 1 .838 1.479c.001.304-.082.603-.239.863a1.763 1.763 0 0 1-1.504.858 1.69 1.69 0 0 1-.934-.272 1.842 1.842 0 0 1-.648-.745 2.422 2.422 0 0 1-.232-1.078 5.07 5.07 0 0 1 1.524-3.242l1.45-1.6 1.086 1.054-1.377 1.43a5.46 5.46 0 0 0-.8 1.017c.295.002.583.084.836.236Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.4 10.133a1.543 1.543 0 0 1 .744 1.31c0 .268-.072.53-.211.76-.138.23-.333.422-.567.555a1.515 1.515 0 0 1-.766.2 1.48 1.48 0 0 1-.824-.239 1.64 1.64 0 0 1-.578-.667 2.192 2.192 0 0 1-.211-.987 4.862 4.862 0 0 1 1.473-3.11l1.31-1.45.794.772-1.236 1.29a4.741 4.741 0 0 0-1 1.4.936.936 0 0 1 .316-.047c.267 0 .529.073.756.213Zm4.443 0c.226.138.413.331.543.562a1.486 1.486 0 0 1-.011 1.508c-.138.23-.333.422-.566.555a1.518 1.518 0 0 1-.766.2c-.292.004-.58-.08-.824-.239a1.636 1.636 0 0 1-.579-.667 2.206 2.206 0 0 1-.21-.987 4.862 4.862 0 0 1 1.473-3.11l1.309-1.45.8.772-1.241 1.29a4.747 4.747 0 0 0-1.006 1.4.936.936 0 0 1 .316-.047c.27-.002.536.072.766.213h-.004ZM10 20a1.14 1.14 0 0 1-.3-.042C8.25 19.554 1 17.281 1 12V3.187A1.12 1.12 0 0 1 1.848 2.1L9.73.108a1.1 1.1 0 0 1 .54 0L18.154 2.1A1.12 1.12 0 0 1 19 3.187V12c0 5.281-7.25 7.554-8.7 7.956A1.104 1.104 0 0 1 10 20ZM2.25 3.283V12c0 4.468 6.989 6.53 7.786 6.751.725-.221 7.714-2.283 7.714-6.751V3.283L10 1.329 2.25 3.283Z\"/></svg>',\n },\n refresh: {\n name: 'refresh',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16 11.5A6.5 6.5 0 1 1 9.5 5H11v1.914a1 1 0 0 0 1.665.747l3.318-2.951a1 1 0 0 0 0-1.495L12.665.265A1 1 0 0 0 11 1.012V3H9.5a8.5 8.5 0 1 0 8.5 8.5h-2Zm-2.214-7.512v-.05l.028.025-.028.025Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.75 11.5A7.25 7.25 0 1 1 9.5 4.25h4.069L11.31 6.133l.8.96 3.59-2.988a.626.626 0 0 0 0-.96L12.109.157l-.8.96L13.569 3H9.5a8.5 8.5 0 1 0 8.5 8.5h-1.25Z\"/></svg>',\n },\n 'removal-reasons': {\n name: 'removal-reasons',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M7.625 14.5A6.86 6.86 0 0 1 18 8.593V1.611A1.619 1.619 0 0 0 16.375 0h-13.7A1.626 1.626 0 0 0 1.05 1.625v1.5A1.127 1.127 0 0 0 2.175 4.25h.875v14.632A1.123 1.123 0 0 0 4.175 20h6.217a6.86 6.86 0 0 1-2.767-5.5Zm-1.38-9.66h8.23v1.25h-8.23V4.84Zm0 2.848h2.472v1.25H6.246v-1.25ZM14.5 9a5.5 5.5 0 1 0 5.5 5.5A5.506 5.506 0 0 0 14.5 9Zm2.583 7.2-.885.885-1.7-1.7-1.7 1.7-.885-.885 1.7-1.7-1.7-1.7.885-.885 1.7 1.7 1.7-1.7.885.885-1.7 1.7 1.7 1.7Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#a)\"><path d=\"M13.476 6.09h-8.23V4.84h8.23v1.25Zm-8.23 2.848h2.978v-1.25H5.246v1.25ZM19 14.5A5.5 5.5 0 1 1 13.5 9a5.507 5.507 0 0 1 5.5 5.5Zm-1.25 0a4.25 4.25 0 1 0-8.502 0 4.25 4.25 0 0 0 8.502 0Zm-2.717-2.418L13.5 13.615l-1.533-1.533-.885.885 1.533 1.533-1.533 1.533.885.885 1.533-1.533 1.533 1.533.885-.885-1.533-1.533 1.533-1.533-.885-.885ZM7.97 18.75 9.238 20H3.175a1.123 1.123 0 0 1-1.125-1.118V4.25h-.875A1.127 1.127 0 0 1 .05 3.125v-1.5A1.626 1.626 0 0 1 1.675 0h13.7A1.62 1.62 0 0 1 17 1.611v6.915l-1.25-.58V1.611a.369.369 0 0 0-.375-.361H3.252a1.6 1.6 0 0 1 .048.375V18.75h4.67ZM1.3 3h.75V1.625a.375.375 0 1 0-.75 0V3Z\"/></g><defs><clipPath id=\"a\"><path d=\"M0 0H20V20H0z\"/></clipPath></defs></svg>',\n },\n remove: {\n name: 'remove',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.01 10.01 0 0 0 10 0Zm4.567 15.627L4.372 5.433l1.061-1.06 10.194 10.194-1.06 1.06Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.01 10.01 0 0 0 10 0ZM1.25 10A8.7 8.7 0 0 1 3.4 4.279l12.321 12.326A8.737 8.737 0 0 1 1.25 10Zm15.355 5.721L4.279 3.4a8.737 8.737 0 0 1 12.326 12.321Z\"/></svg>',\n },\n reply: {\n name: 'reply',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.925 7H3.9l4.454-4.456L6.939 1.13.793 7.276a1 1 0 0 0 0 1.414l6.146 6.146 1.415-1.414L3.931 9h8.994A4.042 4.042 0 0 1 17 13v4h2v-4a6.045 6.045 0 0 0-6.075-6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.3 7H3.065l5.024-5.023-.889-.884L1.058 7.24a.625.625 0 0 0 0 .884L7.2 14.27l.885-.884L2.952 8.25H13.3a4.417 4.417 0 0 1 4.45 4.375V17H19v-4.375A5.669 5.669 0 0 0 13.3 7Z\"/></svg>',\n },\n report: {\n name: 'report',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.668 2.127-.385-.188-.309.144a9.054 9.054 0 0 1-7.7-.061 10.293 10.293 0 0 0-8.919 0L1 2.193v17.582h2v-5.252a9.03 9.03 0 0 1 6.728.437 10.286 10.286 0 0 0 8.919 0l.353-.17V2.733a.715.715 0 0 0-.332-.606Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.25 19.775H1V2.193l.353-.171a10.293 10.293 0 0 1 8.919 0 9.054 9.054 0 0 0 7.7.061l.309-.144.385.188a.715.715 0 0 1 .334.606V14.79l-.353.17a10.286 10.286 0 0 1-8.919 0 9.033 9.033 0 0 0-7.478-.16v4.975Zm3.562-6.956a10.23 10.23 0 0 1 4.46 1.016A9.04 9.04 0 0 0 17.75 14V3.531a10.17 10.17 0 0 1-8.022-.384 9.037 9.037 0 0 0-7.478-.162v10.468c1.14-.42 2.347-.635 3.562-.634Z\"/></svg>',\n },\n reverse: {\n name: 'reverse',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.5 4H6V2.187a1 1 0 0 0-1.684-.73l-3 2.814a1 1 0 0 0 0 1.458l3 2.814A1 1 0 0 0 6 7.813V6h5.5a5.274 5.274 0 0 1 5.5 5 5.274 5.274 0 0 1-5.5 5H2.075v2H11.5a7.27 7.27 0 0 0 7.5-7 7.271 7.271 0 0 0-7.5-7Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.875 4h-8.15l1.86-1.549-.8-.96L1.6 4.145a.625.625 0 0 0 0 .96l3.185 2.654.8-.96-1.86-1.549h8.15A5.821 5.821 0 0 1 17.75 11a5.82 5.82 0 0 1-5.875 5.75h-9.8V18h9.8A7.07 7.07 0 0 0 19 11a7.07 7.07 0 0 0-7.125-7Z\"/></svg>',\n },\n 'rich-text': {\n name: 'rich-text',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.255 6.962-.661 1.578-.216-.081a1.761 1.761 0 0 1-1.1-.877h-.027c-.246.304-.565.54-.928.685a3.283 3.283 0 0 1-1.338.273c-.445.01-.887-.09-1.285-.29a2.174 2.174 0 0 1-.869-.792 2.084 2.084 0 0 1-.311-1.124 1.9 1.9 0 0 1 .354-1.159 2.307 2.307 0 0 1 1.08-.775 4.845 4.845 0 0 1 1.74-.276h1.221v-.332a1.135 1.135 0 0 0-.317-.846 1.355 1.355 0 0 0-.985-.314 3.76 3.76 0 0 0-1.072.172c-.33.092-.646.23-.938.408L13 1.769c.393-.22.815-.382 1.254-.482a6.525 6.525 0 0 1 1.638-.206 3.114 3.114 0 0 1 1.886.469c.363.245.631.607.761 1.025.1.389.148.789.146 1.19v2.24a1.69 1.69 0 0 0 .084.623.5.5 0 0 0 .327.28l.159.054Zm-3.173.013c.255-.087.484-.235.667-.432a1.035 1.035 0 0 0 .28-.741v-.438H15.64a1.87 1.87 0 0 0-1 .222.721.721 0 0 0-.351.647.754.754 0 0 0 .317.652c.22.152.482.231.749.225.248-.004.494-.05.727-.135ZM9.667 2H6.656L0 18h3.8l1.244-3.2h6.252l1.241 3.2h3.787L9.667 2Zm.721 9.856H5.947l2.171-5.688h.088l2.182 5.688Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.865 7.42a.62.62 0 0 1-.348-.359 2.046 2.046 0 0 1-.1-.736V3.783a3.13 3.13 0 0 0-.58-1.969 2.312 2.312 0 0 0-1.949-.751 5.423 5.423 0 0 0-1.4.2 5.16 5.16 0 0 0-1.274.515l.45 1.053a3.668 3.668 0 0 1 1.02-.481 3.8 3.8 0 0 1 1.116-.194c.358-.027.713.077 1 .291.199.163.341.384.407.632.053.24.08.486.078.732v.314h-1.249a5.28 5.28 0 0 0-1.815.273c-.441.145-.83.418-1.117.783a1.985 1.985 0 0 0-.376 1.213c-.01.397.094.788.3 1.127.204.326.497.587.844.752.384.183.805.275 1.23.267.474.008.943-.099 1.367-.31.377-.183.698-.463.93-.811h.034c.035.224.14.432.3.592.174.192.387.345.625.447l.192.082.45-1.066-.135-.055Zm-1.544-1.627c.005.336-.109.662-.32.922a2.053 2.053 0 0 1-.8.605 2.428 2.428 0 0 1-.965.208 1.689 1.689 0 0 1-.687-.136 1.133 1.133 0 0 1-.492-.4 1.093 1.093 0 0 1-.18-.629 1.02 1.02 0 0 1 .645-1 3.9 3.9 0 0 1 1.6-.29h1.2v.72ZM8.808 2H7.193L.537 17.9h2.051l1.746-4.09h7.332l1.746 4.09h2.052L8.808 2ZM5.032 12.03l2.924-7.36h.088l2.924 7.36H5.032Z\"/></svg>',\n },\n right: {\n name: 'right',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m7.207 19.707-1.414-1.414L14.086 10 5.793 1.707 7.207.293l9 9a1 1 0 0 1 0 1.414l-9 9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m6.942 19.442-.884-.884L14.616 10 6.058 1.442l.884-.884 9 9a.624.624 0 0 1 0 .884l-9 9Z\"/></svg>',\n },\n rising: {\n name: 'rising',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.273 4h-6.736a.726.726 0 0 0-.514 1.24l1.41 1.408-2.8 2.8-1.876-1.881a1.643 1.643 0 0 0-2.315 0L.435 13.576a1.131 1.131 0 0 0 0 1.6l2.32 2.324a1.133 1.133 0 0 0 1.6 0l3.244-3.252 1.877 1.878a1.679 1.679 0 0 0 2.314 0l5.56-5.559 1.41 1.411a.725.725 0 0 0 1.24-.516V4.727A.727.727 0 0 0 19.273 4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.554 17.826a1.124 1.124 0 0 1-.8-.33L.435 15.175a1.131 1.131 0 0 1 0-1.6l6.008-6.008a1.643 1.643 0 0 1 2.315 0l1.878 1.879 2.8-2.8-1.412-1.406A.726.726 0 0 1 12.54 4h6.736a.727.727 0 0 1 .726.727v6.735a.727.727 0 0 1-1.239.516l-1.41-1.411-5.56 5.56a1.64 1.64 0 0 1-2.313 0L7.6 14.248 4.354 17.5c-.213.21-.5.328-.8.326ZM1.4 14.376l2.151 2.151 4.05-4.047 2.76 2.763a.389.389 0 0 0 .547 0L17.352 8.8l1.4 1.4V5.25h-4.951l1.4 1.4-4.567 4.566-2.76-2.765a.391.391 0 0 0-.547 0L1.4 14.376Z\"/></svg>',\n },\n rotate: {\n name: 'rotate',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.2 15.376a1 1 0 0 1 0 1.25l-2.4 2.999a1 1 0 0 1-1.112.318 1 1 0 0 1-.673-.943v-2H7.8A5.8 5.8 0 0 1 2 11.206V9.001h2v2.205a3.8 3.8 0 0 0 3.8 3.795h2.22v-2a1 1 0 0 1 1.781-.625l2.399 3ZM12.205 3.002h-2.22v-2A1 1 0 0 0 8.2.38l-2.4 3a1 1 0 0 0 0 1.25l2.4 3a1 1 0 0 0 1.116.315 1 1 0 0 0 .669-.943v-2h2.22A3.8 3.8 0 0 1 16 8.802v2.2h2v-2.2a5.8 5.8 0 0 0-5.795-5.8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.857 15.861a.623.623 0 0 1 0 .884l-3 3-.883-.884 1.93-1.93H7.42A5.427 5.427 0 0 1 2 11.507v-2.4h1.25v2.4a4.175 4.175 0 0 0 4.17 4.171h4.486l-1.93-1.93.883-.884 2.998 2.997ZM12.58 3.072H8.094l1.93-1.93-.883-.884-3 3a.625.625 0 0 0 0 .884l3 3 .883-.884-1.93-1.93h4.486a4.175 4.175 0 0 1 4.17 4.171v2.4H18v-2.4a5.427 5.427 0 0 0-5.42-5.427Z\"/></svg>',\n },\n 'rotate-image': {\n name: 'rotate-image',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14 9.56v8.75a1.627 1.627 0 0 1-1.625 1.625h-8.75A1.627 1.627 0 0 1 2 18.31V9.56a1.627 1.627 0 0 1 1.625-1.625h8.75A1.627 1.627 0 0 1 14 9.56Zm-.795-6.625H9.869V1.289A.615.615 0 0 0 8.86.817L5.7 3.45a.616.616 0 0 0-.221.473l.041.323 3.339 2.788a.622.622 0 0 0 .655.085.618.618 0 0 0 .355-.558V4.935h3.336A3.8 3.8 0 0 1 17 8.735v3.2h2v-3.2a5.8 5.8 0 0 0-5.795-5.8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.375 7.935h-8.75A1.627 1.627 0 0 0 2 9.56v8.75a1.627 1.627 0 0 0 1.625 1.625h8.75A1.627 1.627 0 0 0 14 18.31V9.56a1.627 1.627 0 0 0-1.625-1.625Zm.375 10.375a.375.375 0 0 1-.375.375h-8.75a.375.375 0 0 1-.375-.375V9.56a.375.375 0 0 1 .375-.375h8.75a.375.375 0 0 1 .375.375v8.75ZM19 8.356v3.5h-1.25v-3.5a4.175 4.175 0 0 0-4.17-4.171H9.42v1.661a.6.6 0 0 1-.984.461L5.513 3.872l-.036-.312a.6.6 0 0 1 .215-.46L8.436.813a.6.6 0 0 1 .984.461v1.661h4.16A5.427 5.427 0 0 1 19 8.356Z\"/></svg>',\n },\n rpan: {\n name: 'rpan',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12 10a1 1 0 0 0 1-1V7h3a3 3 0 0 0 0-6h-4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1Zm1-7h3a1 1 0 1 1 0 2h-3V3ZM7.27 6.708A2.994 2.994 0 0 0 6 1H2a1 1 0 0 0-1 1v7a1 1 0 0 0 2 0V7h2.164l2.267 2.7A.9.9 0 0 0 8.81 8.542L7.27 6.708ZM3 3h3a1 1 0 1 1 0 2H3V3Zm16 11v4a1 1 0 0 1-2 0v-4a2 2 0 0 0-4 0v4a1 1 0 0 1-2 0v-4a4 4 0 1 1 8 0ZM5 10a4 4 0 0 0-4 4v4a1 1 0 1 0 2 0v-2h4v2a1 1 0 1 0 2 0v-4a4 4 0 0 0-4-4Zm-2 4a2 2 0 0 1 4 0H3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.625 9.578a.625.625 0 0 0 .625-.625V6.438H5.2l2.7 3.055a.625.625 0 0 0 .936-.828L6.778 6.331a2.737 2.737 0 0 0 2.089-2.612A2.78 2.78 0 0 0 6.036 1H1.625A.625.625 0 0 0 1 1.625v7.328a.625.625 0 0 0 .625.625ZM2.25 2.25h3.786a1.53 1.53 0 0 1 1.581 1.469 1.53 1.53 0 0 1-1.581 1.469H2.25V2.25Zm9.375 7.328a.625.625 0 0 0 .625-.625V6.438h3.875A2.8 2.8 0 0 0 19 3.719 2.8 2.8 0 0 0 16.125 1h-4.5a.625.625 0 0 0-.625.625v7.328a.625.625 0 0 0 .625.625Zm.625-7.328h3.875a1.555 1.555 0 0 1 1.625 1.469 1.555 1.555 0 0 1-1.625 1.469H12.25V2.25ZM19 14.188v4.187a.624.624 0 1 1-1.25 0v-4.187A2.644 2.644 0 0 0 15 11.672a2.644 2.644 0 0 0-2.75 2.516v4.187a.624.624 0 1 1-1.25 0v-4.187a3.892 3.892 0 0 1 4-3.766 3.892 3.892 0 0 1 4 3.766ZM5 10.422a3.892 3.892 0 0 0-4 3.766v4.187a.625.625 0 1 0 1.25 0v-2.516h5.5v2.516a.625.625 0 1 0 1.25 0v-4.187a3.892 3.892 0 0 0-4-3.766Zm-2.75 4.187v-.421A2.644 2.644 0 0 1 5 11.672a2.644 2.644 0 0 1 2.75 2.516v.421h-5.5Z\"/></svg>',\n },\n rules: {\n name: 'rules',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 0h-13.7A1.627 1.627 0 0 0 1.05 1.625v1.5A1.127 1.127 0 0 0 2.175 4.25h.875v14.632A1.123 1.123 0 0 0 4.175 20h12.7A1.123 1.123 0 0 0 18 18.882V1.611A1.62 1.62 0 0 0 16.375 0ZM5.732 6.77h.48V5.23a1.232 1.232 0 0 1-.47.111v-.507c.178.01.353-.05.487-.167h.7v2.1h.419v.563H5.732v-.56Zm.868 1.9c.619 0 .916.312.916.8 0 .3-.121.588-.66.878-.333.188-.443.318-.482.424h1.158v.564H5.557v-.146c0-.379.07-.763.768-1.185.4-.246.516-.3.516-.522 0-.148-.094-.23-.258-.23a.708.708 0 0 0-.554.395L5.55 9.3A1.171 1.171 0 0 1 6.6 8.667v.003Zm-.053 6.666A1.22 1.22 0 0 1 5.5 14.8l.42-.367a.7.7 0 0 0 .567.334c.287 0 .383-.118.383-.28 0-.221-.151-.307-.507-.307h-.205v-.48h.216c.345 0 .448-.1.448-.253 0-.13-.1-.211-.275-.211a.825.825 0 0 0-.588.26l-.368-.427c.27-.26.633-.404 1.009-.4.589 0 .9.263.9.7a.544.544 0 0 1-.383.545.581.581 0 0 1 .464.594c.002.539-.408.825-1.034.825v.003ZM15 15H9v-2h6v2Zm0-4H9V9h6v2Zm0-4H9V5h6v2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.35 7.333H5.733V6.77h.48V5.23a1.232 1.232 0 0 1-.47.111v-.507c.178.01.353-.05.487-.167h.7v2.1h.419l.003.566Zm-.767 1.92c.164 0 .258.082.258.23 0 .22-.115.276-.516.522-.7.422-.768.806-.768 1.185v.143h1.975v-.564H6.374c.039-.106.149-.236.483-.424.538-.29.659-.581.659-.878 0-.488-.3-.8-.916-.8a1.171 1.171 0 0 0-1.05.633l.479.345a.708.708 0 0 1 .554-.392Zm.536 4.66a.544.544 0 0 0 .383-.545c0-.438-.313-.7-.9-.7a1.435 1.435 0 0 0-1.01.4l.369.427a.824.824 0 0 1 .588-.26c.178 0 .275.081.275.211 0 .156-.1.253-.448.253h-.218v.482h.205c.356 0 .507.086.507.307 0 .162-.1.28-.383.28a.7.7 0 0 1-.566-.334L5.5 14.8a1.22 1.22 0 0 0 1.047.529c.626 0 1.036-.286 1.036-.826a.581.581 0 0 0-.464-.59Zm1.88-3.288h6v-1.25H9v1.25Zm0 4h6v-1.25H9v1.25Zm0-8h6v-1.25H9v1.25Zm9-5.014v17.271A1.123 1.123 0 0 1 16.876 20h-12.7a1.123 1.123 0 0 1-1.125-1.118V4.25h-.875A1.127 1.127 0 0 1 1.05 3.125v-1.5A1.627 1.627 0 0 1 2.675 0h13.7A1.62 1.62 0 0 1 18 1.611ZM2.3 3h.75V1.625a.375.375 0 0 0-.75 0V3Zm14.45-1.389a.369.369 0 0 0-.374-.361H4.252a1.6 1.6 0 0 1 .048.375V18.75h12.45V1.611Z\"/></svg>',\n },\n safari: {\n name: 'safari',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm4.056 6.786-2.379 4.621a.64.64 0 0 1-.27.27l-4.621 2.379a.617.617 0 0 1-.592-.01.625.625 0 0 1-.25-.832l2.38-4.621a.634.634 0 0 1 .27-.27l4.62-2.379a.625.625 0 0 1 .842.842Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25ZM6.5 14.132a.625.625 0 0 1-.556-.911L8.324 8.6a.629.629 0 0 1 .27-.27l4.62-2.379a.625.625 0 0 1 .842.842l-2.379 4.621a.64.64 0 0 1-.27.27l-4.621 2.378a.62.62 0 0 1-.286.07ZM9.344 9.35l-1.395 2.708 2.708-1.394 1.394-2.708L9.344 9.35Z\"/></svg>',\n },\n save: {\n name: 'save',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.372 1H4.628A1.629 1.629 0 0 0 3 2.628v16.256a1.113 1.113 0 0 0 1.709.941L10 16.479l5.282 3.34A1.12 1.12 0 0 0 17 18.873V2.628A1.63 1.63 0 0 0 15.372 1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.114 20A1.117 1.117 0 0 1 3 18.884V2.628A1.629 1.629 0 0 1 4.628 1h10.744A1.63 1.63 0 0 1 17 2.628v16.245a1.12 1.12 0 0 1-1.718.946L10 16.479l-5.291 3.346a1.11 1.11 0 0 1-.595.175Zm.514-17.75a.378.378 0 0 0-.378.378v16.009L10 15l5.75 3.636V2.628a.378.378 0 0 0-.378-.378H4.628Z\"/></svg>',\n },\n 'save-view': {\n name: 'save-view',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.625 7.125v5.73L6 12.112l-4.115 1.881A.625.625 0 0 1 1 13.425v-11.3A1.151 1.151 0 0 1 2.172 1h7.656A1.15 1.15 0 0 1 11 2.125v2.5h-.828a2.527 2.527 0 0 0-2.547 2.5ZM17.828 6h-7.656A1.151 1.151 0 0 0 9 7.125v11.3a.625.625 0 0 0 .885.568L14 17.112l4.115 1.881a.627.627 0 0 0 .701-.127.627.627 0 0 0 .184-.441v-11.3A1.15 1.15 0 0 0 17.828 6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.625 11.481v1.374L6 12.112l-4.115 1.881A.625.625 0 0 1 1 13.425v-11.3A1.151 1.151 0 0 1 2.172 1h7.656A1.15 1.15 0 0 1 11 2.125v2.5h-.828a2.548 2.548 0 0 0-.422.042V2.25h-7.5v10.2l3.49-1.6a.632.632 0 0 1 .52 0l1.365.631Zm11.088 7.469a.623.623 0 0 0 .287-.525v-11.3A1.15 1.15 0 0 0 17.828 6h-7.656A1.151 1.151 0 0 0 9 7.125v11.3a.625.625 0 0 0 .885.568L14 17.112l4.115 1.881a.627.627 0 0 0 .598-.043Zm-4.973-3.094-3.49 1.6V7.25h7.5v10.2l-3.49-1.6a.632.632 0 0 0-.52 0v.006Z\"/></svg>',\n },\n saved: {\n name: 'saved',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.625 7.125v5.73L6 12.112l-4.115 1.881A.626.626 0 0 1 1 13.425v-11.3A1.151 1.151 0 0 1 2.172 1h7.656A1.15 1.15 0 0 1 11 2.125v2.5h-.828a2.527 2.527 0 0 0-2.547 2.5ZM17.828 6h-7.656A1.151 1.151 0 0 0 9 7.125v11.3a.625.625 0 0 0 .885.568L14 17.112l4.115 1.881a.626.626 0 0 0 .885-.568v-11.3A1.15 1.15 0 0 0 17.828 6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6 10.8a.619.619 0 0 0-.26.056l-3.49 1.6V2.25h7.5v2.417c.14-.026.28-.04.422-.042H11v-2.5A1.15 1.15 0 0 0 9.828 1H2.172A1.151 1.151 0 0 0 1 2.125v11.3a.625.625 0 0 0 .885.568L6 12.112l1.625.743v-1.374l-1.365-.625A.619.619 0 0 0 6 10.8Z\"/><path d=\"M17.828 6h-7.656A1.151 1.151 0 0 0 9 7.125v11.3a.625.625 0 0 0 .885.568L14 17.112l4.115 1.881a.627.627 0 0 0 .701-.127.627.627 0 0 0 .184-.441v-11.3A1.15 1.15 0 0 0 17.828 6Zm-.078 11.452-3.49-1.6a.632.632 0 0 0-.52 0l-3.49 1.6V7.25h7.5v10.202Z\"/></svg>',\n },\n 'saved-response': {\n name: 'saved-response',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 7.959V14a2.962 2.962 0 0 1-2.959 2.959h-2.024L11.4 19.122a.625.625 0 0 1-1.023-.481v-1.682H7.959A2.962 2.962 0 0 1 5 14v-1.318l1-.457 3.544 1.62a2 2 0 0 0 2.831-1.82V5h3.666A2.962 2.962 0 0 1 19 7.959ZM9.828 1H2.172A1.15 1.15 0 0 0 1 2.125v9.9a.625.625 0 0 0 .885.569L6 10.713l4.115 1.881a.624.624 0 0 0 .885-.569v-9.9A1.15 1.15 0 0 0 9.828 1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 7.959V14a2.962 2.962 0 0 1-2.959 2.959h-2.024L11.4 19.122a.625.625 0 0 1-1.023-.481v-1.682H7.959A2.962 2.962 0 0 1 5 14v-1.318l1.25-.572V14a1.71 1.71 0 0 0 1.709 1.709H11a.625.625 0 0 1 .625.625v.979l1.769-1.46a.622.622 0 0 1 .4-.144h2.249A1.711 1.711 0 0 0 17.75 14V7.959a1.711 1.711 0 0 0-1.709-1.709h-3.666V5h3.666A2.962 2.962 0 0 1 19 7.959Zm-8.287 4.592a.623.623 0 0 0 .287-.526v-9.9A1.15 1.15 0 0 0 9.828 1H2.172A1.15 1.15 0 0 0 1 2.125v9.9a.625.625 0 0 0 .885.569L6 10.713l4.115 1.881a.628.628 0 0 0 .6-.043h-.002ZM5.74 9.457l-3.49 1.6V2.25h7.5v8.8l-3.49-1.6a.621.621 0 0 0-.52 0v.007Z\"/></svg>',\n },\n search: {\n name: 'search',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.75 18.337 15.213 13.8a8.522 8.522 0 1 0-1.413 1.413l4.537 4.537 1.413-1.413Zm-11.2-3.291a6.497 6.497 0 1 1 6.496-6.497 6.504 6.504 0 0 1-6.497 6.497Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.5 18.616 14.985 14.1a8.528 8.528 0 1 0-.884.884l4.515 4.515.884-.884ZM1.301 8.553a7.253 7.253 0 1 1 7.252 7.253 7.261 7.261 0 0 1-7.252-7.253Z\"/></svg>',\n },\n self: {\n name: 'self',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 17.411v.482A1.114 1.114 0 0 1 17.883 19H2.119A1.114 1.114 0 0 1 1 17.893v-.482A6.482 6.482 0 0 1 7.538 11h4.926A6.482 6.482 0 0 1 19 17.411ZM10 10a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.883 19H2.119A1.114 1.114 0 0 1 1 17.893v-.482A6.482 6.482 0 0 1 7.538 11h4.926A6.482 6.482 0 0 1 19 17.411v.482A1.114 1.114 0 0 1 17.883 19ZM2.251 17.75h15.5v-.339a5.231 5.231 0 0 0-5.287-5.161H7.538a5.23 5.23 0 0 0-5.287 5.161v.339ZM10 10a5 5 0 1 1 0-10 5 5 0 0 1 0 10Zm0-8.75a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5Z\"/></svg>',\n },\n send: {\n name: 'send',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.885 8.994 1.988.545a1.125 1.125 0 0 0-1.54 1.443L3.821 10 .448 18.012a1.128 1.128 0 0 0 1.034 1.563c.176 0 .349-.041.506-.12l16.9-8.449a1.125 1.125 0 0 0 0-2.012h-.003Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.482 19.575a1.128 1.128 0 0 1-1.034-1.563L3.821 10 .448 1.988A1.125 1.125 0 0 1 1.988.545l16.9 8.449a1.125 1.125 0 0 1 0 2.012l-16.9 8.449a1.13 1.13 0 0 1-.506.12Zm3.511-9.137-3.262 7.748L18.1 10 1.731 1.814l3.263 7.749a1.13 1.13 0 0 1 0 .875h-.001Z\"/></svg>',\n },\n settings: {\n name: 'settings',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.92 8.8a1.145 1.145 0 0 0-1.136-.99H17.71a.98.98 0 0 1-.887-.65A.969.969 0 0 1 17 6.1l.754-.754a1.15 1.15 0 0 0 .1-1.522 10.16 10.16 0 0 0-1.671-1.67 1.152 1.152 0 0 0-1.522.1L13.905 3a.975.975 0 0 1-1.09.167.97.97 0 0 1-.628-.878V1.216A1.144 1.144 0 0 0 11.2.08a9.13 9.13 0 0 0-2.4 0 1.145 1.145 0 0 0-.991 1.137V2.29a.98.98 0 0 1-.65.887A.966.966 0 0 1 6.1 3l-.753-.754a1.152 1.152 0 0 0-1.522-.1A10.159 10.159 0 0 0 2.148 3.82a1.15 1.15 0 0 0 .1 1.522l.752.76a.979.979 0 0 1 .167 1.09.97.97 0 0 1-.878.626H1.216A1.145 1.145 0 0 0 .079 8.8a9.1 9.1 0 0 0 0 2.393 1.145 1.145 0 0 0 1.137.991h1.073a.98.98 0 0 1 .887.65A.97.97 0 0 1 3 13.905l-.751.752a1.149 1.149 0 0 0-.1 1.523c.49.62 1.05 1.18 1.671 1.671a1.148 1.148 0 0 0 1.52-.1L6.1 17a.98.98 0 0 1 1.09-.167.97.97 0 0 1 .627.878v1.073a1.145 1.145 0 0 0 .983 1.137 9.103 9.103 0 0 0 2.393 0 1.144 1.144 0 0 0 .99-1.137v-1.073a.98.98 0 0 1 .65-.887.968.968 0 0 1 1.073.176l.753.753a1.148 1.148 0 0 0 1.522.1c.62-.49 1.18-1.05 1.67-1.671a1.149 1.149 0 0 0-.1-1.521L17 13.905a1.04 1.04 0 0 1 .71-1.717h1.074a1.146 1.146 0 0 0 1.137-.992 9.096 9.096 0 0 0 0-2.392V8.8ZM11.98 10a1.979 1.979 0 1 1-3.958 0 1.979 1.979 0 0 1 3.958 0Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20c-.401 0-.802-.027-1.2-.079a1.145 1.145 0 0 1-.992-1.137v-1.073a.97.97 0 0 0-.627-.878A.98.98 0 0 0 6.1 17l-.755.753a1.149 1.149 0 0 1-1.521.1 10.16 10.16 0 0 1-1.671-1.671 1.149 1.149 0 0 1 .1-1.523L3 13.906a.97.97 0 0 0 .176-1.069.98.98 0 0 0-.887-.649H1.216A1.145 1.145 0 0 1 .079 11.2a9.1 9.1 0 0 1 0-2.393 1.145 1.145 0 0 1 1.137-.992h1.073a.97.97 0 0 0 .878-.627A.979.979 0 0 0 3 6.1l-.754-.754a1.15 1.15 0 0 1-.1-1.522 10.16 10.16 0 0 1 1.673-1.676 1.155 1.155 0 0 1 1.522.1L6.1 3a.966.966 0 0 0 1.068.176.98.98 0 0 0 .649-.887V1.216A1.145 1.145 0 0 1 8.8.079a9.129 9.129 0 0 1 2.393 0 1.144 1.144 0 0 1 .991 1.137v1.073a.972.972 0 0 0 .628.878A.977.977 0 0 0 13.905 3l.754-.754a1.152 1.152 0 0 1 1.522-.1c.62.49 1.18 1.05 1.671 1.671a1.15 1.15 0 0 1-.1 1.522L17 6.1a.967.967 0 0 0-.176 1.068.98.98 0 0 0 .887.649h1.073a1.145 1.145 0 0 1 1.137.991 9.096 9.096 0 0 1 0 2.392 1.145 1.145 0 0 1-1.137.992h-1.073A1.041 1.041 0 0 0 17 13.905l.753.755a1.149 1.149 0 0 1 .1 1.521c-.49.62-1.05 1.18-1.671 1.671a1.149 1.149 0 0 1-1.522-.1L13.906 17a.97.97 0 0 0-1.069-.176.981.981 0 0 0-.65.887v1.073a1.144 1.144 0 0 1-.99 1.137A9.431 9.431 0 0 1 10 20Zm-.938-1.307a7.638 7.638 0 0 0 1.875 0v-.982a2.292 2.292 0 0 1 3.853-1.6l.693.694a8.796 8.796 0 0 0 1.326-1.326l-.694-.694a2.29 2.29 0 0 1 1.6-3.851h.982a7.746 7.746 0 0 0 0-1.876h-.982a2.213 2.213 0 0 1-2.034-1.4 2.223 2.223 0 0 1 .438-2.451l.694-.693a8.76 8.76 0 0 0-1.327-1.326l-.692.694a2.22 2.22 0 0 1-2.434.445 2.221 2.221 0 0 1-1.419-2.041v-.979a7.638 7.638 0 0 0-1.875 0v.982a2.213 2.213 0 0 1-1.4 2.034 2.23 2.23 0 0 1-2.456-.438l-.693-.694a8.757 8.757 0 0 0-1.326 1.327l.694.692a2.216 2.216 0 0 1 .445 2.434 2.22 2.22 0 0 1-2.041 1.418h-.982a7.746 7.746 0 0 0 0 1.876h.982a2.213 2.213 0 0 1 2.034 1.4 2.223 2.223 0 0 1-.438 2.451l-.694.693c.394.488.838.933 1.326 1.326l.694-.694a2.218 2.218 0 0 1 2.433-.445 2.22 2.22 0 0 1 1.418 2.041v.983ZM10 13.229a3.23 3.23 0 1 1 0-6.458 3.23 3.23 0 0 1 0 6.458Zm0-5.208a1.979 1.979 0 1 0 0 3.958 1.979 1.979 0 0 0 0-3.958Z\"/></svg>',\n },\n severity: {\n name: 'severity',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.5 11.667v-1.25h3.468a9.941 9.941 0 0 0-9.32-9.361v3.467H9.4V1.054a9.941 9.941 0 0 0-5.99 2.462L5.861 5.97l-.884.884L2.523 4.4a9.945 9.945 0 0 0-2.487 5.975H3.5v1.25H.034A9.943 9.943 0 0 0 2.5 17.612l2.453-2.453.885.884L3.6 18.275h12.74l-2.2-2.2.884-.884 2.455 2.455a9.942 9.942 0 0 0 2.487-5.976l-3.466-.003Zm-1.2-4.355-3.995 5.242a.515.515 0 0 1-.086.088c-.394.32-.886.497-1.395.5-.057 0-.116 0-.174-.007a2.025 2.025 0 0 1-1.437-.759 2.053 2.053 0 0 1-.426-1.576c.078-.566.372-1.08.821-1.434.05-.04.106-.07.166-.088L14.7 6.554a.5.5 0 0 1 .607.758H15.3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.01 1.027a10 10 0 0 1 7.061 2.898 10.011 10.011 0 0 1 .002 14.142l-.442.442-.49-.492-.016.015-1.985-1.985.884-.884 1.571 1.57a8.7 8.7 0 0 0 2.122-5.092H16.5v-1.25h2.214a8.7 8.7 0 0 0-8.07-8.11V4.5h-1.25V2.275a8.7 8.7 0 0 0-5.1 2.1l1.568 1.57-.884.883-1.57-1.57a8.7 8.7 0 0 0-2.123 5.092H3.5v1.25H1.28a8.7 8.7 0 0 0 2.1 5.1l1.568-1.566.885.883L4.24 17.61l.015.015-.884.884-.442-.442a10 10 0 0 1 7.08-17.04Z\"/><path fill-rule=\"evenodd\" d=\"M15.05 6.375a.626.626 0 0 1 .479.601.626.626 0 0 1-.129.386l-3.995 5.243a.653.653 0 0 1-.107.109 2.36 2.36 0 0 1-1.656.517 2.15 2.15 0 0 1-1.526-.807 2.176 2.176 0 0 1-.454-1.67 2.335 2.335 0 0 1 .867-1.515.63.63 0 0 1 .2-.107l5.915-2.717a.626.626 0 0 1 .405-.04Zm-5.307 5.61a1.13 1.13 0 0 0 .721-.206L12.89 8.6l-3.643 1.67a1.1 1.1 0 0 0-.345.653.944.944 0 0 0 .193.722.913.913 0 0 0 .65.34Z\" clip-rule=\"evenodd\"/></svg>',\n },\n share: {\n name: 'share',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.207 6.793 13.061.646l-1.415 1.415 4.44 4.439H14A13.507 13.507 0 0 0 .658 18h2.028A11.5 11.5 0 0 1 14 8.5h2.086l-4.44 4.439 1.415 1.415 6.146-6.147a1 1 0 0 0 0-1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.942 7.058 12.8.912l-.883.883 5.079 5.08h-2.871A13.189 13.189 0 0 0 1.067 18h1.267a11.94 11.94 0 0 1 11.791-9.875h2.866l-5.079 5.08.883.883 6.147-6.146a.624.624 0 0 0 0-.884Z\"/></svg>',\n },\n 'share-new': {\n name: 'share-new',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.8 8.286-6.466-7.064a.759.759 0 0 0-1.295.537v3.277C5.623 5.365 1 9.918 1 15.082v2.907h1.274C2.516 15 5.81 12.62 9.834 12.62h1.205v3.226a.757.757 0 0 0 1.315.515l6.422-7.021A.756.756 0 0 0 19 8.8a.736.736 0 0 0-.2-.514Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.8 8.286-6.466-7.064a.759.759 0 0 0-1.295.537v3.277C5.623 5.365 1 9.918 1 15.082v2.907h1.274C2.516 15 5.81 12.62 9.834 12.62h1.205v3.226a.757.757 0 0 0 1.315.515l6.422-7.021A.756.756 0 0 0 19 8.8a.736.736 0 0 0-.2-.514Zm-6.508 6.3V12a.625.625 0 0 0-.625-.625H9.834A9.436 9.436 0 0 0 2.26 14.7c.228-4.536 4.525-8.435 9.4-8.435a.626.626 0 0 0 .625-.625V3.023L17.576 8.8l-5.284 5.786Zm5.586-6.107a.176.176 0 0 0-.023.024.171.171 0 0 1 .02-.028l.003.004Zm-.011.642a.53.53 0 0 0-.003-.004l.003.004Z\"/></svg>',\n },\n show: {\n name: 'show',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.915 9.57A10.628 10.628 0 0 0 10 3 10.629 10.629 0 0 0 .084 9.572a1.142 1.142 0 0 0 0 .856 10.385 10.385 0 0 0 2.44 3.583c2.01 1.928 4.69 3 7.476 2.989a10.8 10.8 0 0 0 7.052-2.6 10.517 10.517 0 0 0 2.862-3.965c.114-.277.115-.587 0-.864ZM10 14a4 4 0 1 1 0-8 4 4 0 0 1 0 8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 14a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6.75a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5ZM10 17a10.735 10.735 0 0 1-7.475-2.989 10.385 10.385 0 0 1-2.441-3.583 1.142 1.142 0 0 1 0-.856A10.629 10.629 0 0 1 10 3a10.631 10.631 0 0 1 9.916 6.57c.11.275.11.583 0 .858a10.536 10.536 0 0 1-2.864 3.972A10.8 10.8 0 0 1 10 17Zm0-12.75a9.387 9.387 0 0 0-8.76 5.8 9.75 9.75 0 0 0 2.151 3.06 9.6 9.6 0 0 0 12.844.34 9.285 9.285 0 0 0 2.525-3.494A9.445 9.445 0 0 0 10 4.25Z\"/></svg>',\n },\n 'side-menu': {\n name: 'side-menu',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.293 14.707-4-4a1 1 0 0 1 0-1.414l4-4 1.414 1.414L15.414 10l3.293 3.293-1.414 1.414ZM11 2.124v15.752A1.125 1.125 0 0 1 9.876 19H2.124A1.125 1.125 0 0 1 1 17.876V2.124A1.125 1.125 0 0 1 2.124 1h7.752A1.125 1.125 0 0 1 11 2.124ZM8.5 13.875h-5v1.25h5v-1.25Zm0-3h-5v1.25h5v-1.25Zm0-3h-5v1.25h5v-1.25Zm0-3h-5v1.25h5v-1.25Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.876 19H2.124A1.125 1.125 0 0 1 1 17.876V2.124A1.125 1.125 0 0 1 2.124 1h7.752A1.125 1.125 0 0 1 11 2.124v15.752A1.125 1.125 0 0 1 9.876 19ZM2.25 17.75h7.5V2.25h-7.5v15.5Zm16.192-4.192L14.884 10l3.558-3.558-.884-.884-4 4a.624.624 0 0 0 0 .884l4 4 .884-.884ZM8.5 5h-5v1.25h5V5Zm0 3h-5v1.25h5V8Zm0 3h-5v1.25h5V11Zm0 3h-5v1.25h5V14Z\"/></svg>',\n },\n skipback10: {\n name: 'skipback10',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.331 9.392h-2.072a6.006 6.006 0 0 0-4.315-4.209v1.1a.6.6 0 0 1-.985.46L9.036 4.311 9 4a.6.6 0 0 1 .217-.462l2.742-2.286a.6.6 0 0 1 .985.461v1.424a8.017 8.017 0 0 1 6.387 6.255ZM6.959 6.747a.605.605 0 0 0 .893-.138.6.6 0 0 0 .094-.322V1.713a.6.6 0 0 0-.985-.461L4.217 3.538A.6.6 0 0 0 4 4l.036.311 2.923 2.436ZM4.182 13.41l1.64-.726v6.222h1.916V10.27H7.17l-2.988 1.365v1.775ZM12.625 19a3.012 3.012 0 0 0 2.842-1.808 4.86 4.86 0 0 0 .416-2.088v-.979a4.966 4.966 0 0 0-.416-2.112 3.148 3.148 0 0 0-1.155-1.366 3.078 3.078 0 0 0-1.693-.471 3.038 3.038 0 0 0-1.693.469 3.177 3.177 0 0 0-1.166 1.371 4.908 4.908 0 0 0-.422 2.109v.975a4.8 4.8 0 0 0 .419 2.077A3.054 3.054 0 0 0 12.625 19Zm.006-1.658a1.176 1.176 0 0 1-1.04-.525 2.5 2.5 0 0 1-.355-1.421v-1.611a2.422 2.422 0 0 1 .367-1.459 1.212 1.212 0 0 1 1.034-.492 1.155 1.155 0 0 1 1 .486c.26.442.38.953.345 1.465V15.4a2.5 2.5 0 0 1-.351 1.454 1.159 1.159 0 0 1-1 .488Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.951 9.392h-1.29a6.383 6.383 0 0 0-4.718-4.581v1.475a.6.6 0 0 1-.983.463L9.036 4.311 9 4a.6.6 0 0 1 .215-.46l2.744-2.288a.6.6 0 0 1 .984.461v1.8a7.646 7.646 0 0 1 6.008 5.879ZM7.6 1.17a.607.607 0 0 0-.64.082L4.215 3.54A.6.6 0 0 0 4 4l.036.311L6.96 6.749a.6.6 0 0 0 .983-.463V1.713A.6.6 0 0 0 7.6 1.17ZM4.363 11.529v1.348l1.682-.8v6.832h1.441V10.27h-.468l-2.655 1.259Zm10.9.495a5.1 5.1 0 0 1 .4 2.1v.967a5.023 5.023 0 0 1-.4 2.086 3.084 3.084 0 0 1-1.122 1.353 3.171 3.171 0 0 1-3.329-.006 3.12 3.12 0 0 1-1.13-1.359 4.942 4.942 0 0 1-.4-2.074v-.967a4.986 4.986 0 0 1 .418-2.117 3.177 3.177 0 0 1 1.143-1.365 3.107 3.107 0 0 1 3.305.008c.495.342.883.82 1.117 1.374h-.002ZM14.236 13.9a3.021 3.021 0 0 0-.463-1.836 1.516 1.516 0 0 0-1.283-.613 1.522 1.522 0 0 0-1.318.648 3.049 3.049 0 0 0-.463 1.8v1.4c-.01.44.063.878.214 1.292.12.335.335.628.618.844.277.201.612.306.955.3.327.008.648-.088.917-.273.278-.206.49-.49.607-.817a3.66 3.66 0 0 0 .216-1.342V13.9Z\"/></svg>',\n },\n skipforward10: {\n name: 'skipforward10',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.5 4a.6.6 0 0 1-.216.462l-2.742 2.286a.6.6 0 0 1-.985-.461V1.713a.6.6 0 0 1 .984-.46l2.924 2.436L16.5 4ZM7.034 5.183v1.1a.6.6 0 0 0 .984.461l2.742-2.282A.6.6 0 0 0 10.978 4l-.036-.311-2.923-2.436a.6.6 0 0 0-.984.46v1.424A8.017 8.017 0 0 0 .646 9.392h2.072a6.008 6.008 0 0 1 4.316-4.209ZM4.182 13.41l1.641-.726v6.222H7.74V10.27H7.17l-2.988 1.365v1.775ZM12.626 19a3.009 3.009 0 0 0 2.841-1.808c.292-.657.434-1.37.416-2.088v-.979a4.952 4.952 0 0 0-.415-2.112 3.146 3.146 0 0 0-1.155-1.366 3.08 3.08 0 0 0-1.693-.471 3.041 3.041 0 0 0-1.693.469 3.178 3.178 0 0 0-1.167 1.371 4.908 4.908 0 0 0-.422 2.109v.975a4.8 4.8 0 0 0 .42 2.077A3.054 3.054 0 0 0 12.625 19Zm.006-1.658a1.175 1.175 0 0 1-1.04-.525 2.5 2.5 0 0 1-.354-1.421v-1.611a2.429 2.429 0 0 1 .366-1.459 1.216 1.216 0 0 1 1.034-.492 1.153 1.153 0 0 1 1 .486c.26.442.381.953.345 1.465V15.4a2.492 2.492 0 0 1-.351 1.454 1.158 1.158 0 0 1-1 .488Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.5 4a.6.6 0 0 1-.215.46l-2.744 2.288a.6.6 0 0 1-.985-.462V1.713a.599.599 0 0 1 .983-.462l2.925 2.437L16.5 4Zm-5.523 0-.036-.312-2.925-2.437a.6.6 0 0 0-.983.462v1.8a7.645 7.645 0 0 0-6.007 5.879h1.29a6.381 6.381 0 0 1 4.717-4.581v1.475a.6.6 0 0 0 .985.462l2.744-2.288a.6.6 0 0 0 .215-.46Zm-6.614 7.529v1.348l1.682-.8v6.832h1.441V10.27h-.468l-2.655 1.259Zm10.9.495a5.1 5.1 0 0 1 .4 2.1v.967a5.023 5.023 0 0 1-.4 2.086 3.084 3.084 0 0 1-1.122 1.353 3.171 3.171 0 0 1-3.329-.006 3.119 3.119 0 0 1-1.13-1.359 4.942 4.942 0 0 1-.4-2.074v-.967a4.986 4.986 0 0 1 .418-2.117 3.178 3.178 0 0 1 1.143-1.365 3.107 3.107 0 0 1 3.305.008c.496.342.883.82 1.117 1.374h-.002ZM14.236 13.9a3.021 3.021 0 0 0-.463-1.836 1.517 1.517 0 0 0-1.283-.613 1.523 1.523 0 0 0-1.318.648 3.049 3.049 0 0 0-.463 1.8v1.4c-.01.44.063.878.214 1.292.12.335.335.628.618.844.278.201.613.306.955.3.327.008.648-.088.917-.273.279-.206.49-.49.607-.817.155-.43.229-.885.216-1.342V13.9Z\"/></svg>',\n },\n 'sort-az': {\n name: 'sort-az',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m5.082.909-3.76 8.573H3.17L4.087 7.5h3.25l.916 1.985h1.932L6.425.909H5.082Zm-.32 5.08.982-2.3.93 2.3H4.762Zm13.713 11.263v1.705h-7.109v-.764l4.187-6.311h-3.9v-1.7h6.727v.763l-4.187 6.312 4.282-.005ZM16.64 5.189l-1.748-1.921-1.678 1.909-1.5-1.321 2.416-2.75a1 1 0 0 1 .741-.339h.008a1 1 0 0 1 .74.327l2.5 2.75-1.479 1.345ZM5.712 19.233H5.7a1 1 0 0 1-.753-.35L2.534 16.05l1.522-1.3 1.67 1.957 1.736-1.97 1.5 1.324-2.5 2.839a1 1 0 0 1-.75.333Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m5.27.733-3.5 8.45h1.216L3.9 7.017h3.62l.917 2.166h1.3l-3.5-8.45H5.27Zm1.837 5.25H4.319L5.75 2.518l1.356 3.465Zm11.08 11.91v1.092h-6.534v-.38l.018-.026 4.415-6.472h-4.15v-1.092h6.155v.38l-.018.026-4.415 6.472h4.528ZM12.93 4.579l-.94-.824L14.41 1a.625.625 0 0 1 .463-.213.562.562 0 0 1 .469.2l2.5 2.75-.925.842-2.03-2.234-1.954 2.234ZM7.744 15.254l.938.826-2.5 2.833a.626.626 0 0 1-.47.212.625.625 0 0 1-.47-.22l-2.422-2.833.952-.81 1.949 2.284 2.023-2.292Z\"/></svg>',\n },\n sort: {\n name: 'sort',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13 11H1V9h12v2Zm6-9H1v2h18V2ZM7 16H1v2h6v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13 10.625H1v-1.25h12v1.25Zm6-7.875H1V4h18V2.75ZM7 16H1v1.25h6V16Z\"/></svg>',\n },\n 'sort-price': {\n name: 'sort-price',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.451 12.275 8.381 2.184A.622.622 0 0 0 7.937 2H2.625A.625.625 0 0 0 2 2.625v5.437c0 .165.065.323.181.44l9.967 10.071c.12.115.279.181.444.186a.625.625 0 0 0 .442-.183l5.417-5.417a.627.627 0 0 0 0-.884Zm-12.7-4.817a1.417 1.417 0 1 1 0-2.834 1.417 1.417 0 0 1 0 2.834Zm11.788-2.269-1.748-1.921-1.678 1.909-1.5-1.321 2.417-2.75a1 1 0 0 1 .74-.339h.01a1 1 0 0 1 .738.327l2.5 2.75-1.479 1.345ZM3.912 19.233H3.9a1 1 0 0 1-.753-.35L.734 16.05l1.522-1.3 1.668 1.957 1.738-1.97 1.5 1.324-2.5 2.839a1 1 0 0 1-.75.333Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.583 4.588-2.03-2.234L13.6 4.58l-.939-.826L15.076 1a.626.626 0 0 1 .464-.208.54.54 0 0 1 .468.2l2.5 2.75-.925.846ZM4.46 19.208A.628.628 0 0 0 4.924 19l2.417-2.75-.94-.83-1.954 2.226-2.03-2.234-.925.842L3.992 19a.63.63 0 0 0 .463.2l.005.008Zm1.29-11.75a1.417 1.417 0 1 0 0-2.834 1.417 1.417 0 0 0 0 2.834Zm7.284 11.118 5.417-5.417a.627.627 0 0 0 0-.884L8.381 2.184A.622.622 0 0 0 7.937 2H2.625A.625.625 0 0 0 2 2.625v5.437c0 .165.065.323.181.44l9.966 10.071a.629.629 0 0 0 .887.003ZM3.25 3.25h4.428l9.447 9.467-4.53 4.531L3.25 7.806V3.25Z\"/></svg>',\n },\n 'sort-za': {\n name: 'sort-za',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.593 10.3h-1.346l-3.756 8.656h1.85l.917-2.068H16.5l.917 2.068h1.933L15.593 10.3Zm-1.659 5.08.976-2.236.925 2.236h-1.9Zm-8.908-7.3h4.282v1.7H2.2v-.758l4.186-6.311h-3.9v-1.7h6.727v.763L5.026 8.08ZM16.64 5.189l-1.748-1.921-1.678 1.909-1.5-1.321 2.416-2.75a1 1 0 0 1 .741-.339 1.1 1.1 0 0 1 .748.327l2.5 2.75-1.479 1.345ZM5.712 19.233H5.7a1 1 0 0 1-.753-.35L2.534 16.05l1.522-1.3 1.67 1.957 1.736-1.97 1.5 1.324-2.5 2.839a1 1 0 0 1-.75.333Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.4 10.733h-.967l-3.5 8.45h1.216l.917-2.166h3.617l.917 2.166h1.3l-3.5-8.45Zm.87 5.25h-2.784l1.431-3.465 1.352 3.465ZM4.493 7.861H9.02v1.085H2.487v-.378l.02-.027 4.411-6.409H2.771V1.048h6.154v.377l-.019.027-4.412 6.409Zm12.422-3.273-2.03-2.234-1.954 2.225-.94-.824L14.41 1a.625.625 0 0 1 .464-.213.534.534 0 0 1 .468.2l2.5 2.75-.925.851ZM5.712 19.125a.629.629 0 0 1-.47-.22l-2.423-2.833.952-.81 1.95 2.284 2.022-2.292.938.826-2.5 2.833a.626.626 0 0 1-.469.212Z\"/></svg>',\n },\n spam: {\n name: 'spam',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 8.5H3.625A3.478 3.478 0 0 1 1 7.291v9.114A2.6 2.6 0 0 0 3.6 19h12.8a2.6 2.6 0 0 0 2.6-2.595V7.291A3.478 3.478 0 0 1 16.375 8.5Zm-3.345 7.439-.088.089-.884.884-.088.088L10 15.03 8.03 17l-.088-.088-.884-.884-.088-.089 1.969-1.969L6.97 12l.088-.088.884-.884.088-.089 1.97 1.97 1.97-1.97.088.089.884.884.088.088-1.969 1.97 1.969 1.969ZM19 3.625v.75A2.63 2.63 0 0 1 16.375 7H3.625A2.629 2.629 0 0 1 1 4.375v-.75A2.629 2.629 0 0 1 3.625 1h12.75A2.63 2.63 0 0 1 19 3.625Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.942 10.942 10.884 13l2.058 2.058-.884.884L10 13.884l-2.058 2.058-.884-.884L9.116 13l-2.058-2.058.884-.884L10 12.116l2.058-2.058.884.884ZM19 3.625v12.78A2.6 2.6 0 0 1 16.4 19H3.6A2.6 2.6 0 0 1 1 16.405V3.625A2.629 2.629 0 0 1 3.625 1h12.75A2.63 2.63 0 0 1 19 3.625Zm-1.25 12.78V7.851a2.6 2.6 0 0 1-1.375.4H3.625a2.6 2.6 0 0 1-1.375-.4v8.554A1.348 1.348 0 0 0 3.6 17.75h12.8a1.348 1.348 0 0 0 1.35-1.345Zm0-11.331V3.625a1.377 1.377 0 0 0-1.375-1.375H3.625A1.377 1.377 0 0 0 2.25 3.625v2A1.377 1.377 0 0 0 3.625 7h12.75a1.377 1.377 0 0 0 1.375-1.375v-.551Z\"/></svg>',\n },\n spoiler: {\n name: 'spoiler',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m18.628 6.73-5.364-5.365a4.626 4.626 0 0 0-6.542 0L1.355 6.73a4.634 4.634 0 0 0 0 6.542l5.367 5.365a4.627 4.627 0 0 0 6.542 0l5.364-5.365a4.627 4.627 0 0 0 0-6.542ZM11.162 5l-.28 6.747H9.117L8.837 5h2.325Zm-.038 9.536a1.29 1.29 0 0 1-.462.472 1.24 1.24 0 0 1-.655.178 1.286 1.286 0 1 1 1.117-.65Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.463 15.384A1.092 1.092 0 0 1 9.076 15a1.033 1.033 0 0 1-.143-.537c-.002-.186.047-.369.143-.529.093-.16.227-.293.387-.387.16-.097.345-.148.533-.147a1.05 1.05 0 0 1 .537.141 1.076 1.076 0 0 1 .537.921c0 .188-.051.373-.148.535-.096.159-.23.292-.39.386a1.042 1.042 0 0 1-.536.143 1.026 1.026 0 0 1-.533-.142Zm-.141-3.329L9.13 5.342h1.73l-.192 6.713H9.322Zm.667 7.935a4.6 4.6 0 0 1-3.27-1.354l-5.367-5.365a4.634 4.634 0 0 1 0-6.542l5.367-5.365a4.626 4.626 0 0 1 6.54 0l5.366 5.364a4.627 4.627 0 0 1 0 6.542l-5.364 5.365a4.6 4.6 0 0 1-3.272 1.355Zm0-18.73a3.353 3.353 0 0 0-2.386.988L2.237 7.614a3.375 3.375 0 0 0 0 4.772l5.366 5.366a3.46 3.46 0 0 0 4.771 0l5.365-5.366a3.374 3.374 0 0 0 0-4.772L12.374 2.25A3.349 3.349 0 0 0 9.99 1.26Z\"/></svg>',\n },\n sponsored: {\n name: 'sponsored',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.908 8.358a1.565 1.565 0 0 0-.717-.183h-.867v3.65h.867c.25-.004.496-.073.712-.2.255-.146.466-.36.609-.617.173-.319.258-.678.245-1.041a1.942 1.942 0 0 0-.245-1.021 1.529 1.529 0 0 0-.604-.588Z\"/><path d=\"m6.877 8.575-.75 2.125h1.525L6.91 8.575h-.033Z\"/><path d=\"M17.875 2H2.125A1.127 1.127 0 0 0 1 3.125v13.75A1.127 1.127 0 0 0 2.125 18h15.75A1.127 1.127 0 0 0 19 16.875V3.125A1.127 1.127 0 0 0 17.875 2ZM8.4 13l-.433-1.217H5.81L5.377 13H3.986l2.358-6h1.092l2.358 6H8.4Zm7.26-1.392a2.71 2.71 0 0 1-1.084 1.042c-.44.232-.93.352-1.426.35H11V7h2.05a3.393 3.393 0 0 1 1.492.333c.459.22.845.567 1.113 1a2.99 2.99 0 0 1 .42 1.625 3.162 3.162 0 0 1-.413 1.65h-.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.875 2H2.125A1.127 1.127 0 0 0 1 3.125v13.75A1.127 1.127 0 0 0 2.125 18h15.75A1.127 1.127 0 0 0 19 16.875V3.125A1.127 1.127 0 0 0 17.875 2Zm-.125 14.75H2.25V3.25h15.5v13.5ZM5.81 11.783h2.159L8.4 13h1.394L7.436 7H6.344l-2.358 6h1.391l.433-1.217Zm1.067-3.208h.033l.742 2.125H6.127l.75-2.125Zm7.7 4.075a2.71 2.71 0 0 0 1.084-1.042 3.163 3.163 0 0 0 .412-1.65 2.99 2.99 0 0 0-.42-1.625 2.668 2.668 0 0 0-1.113-1A3.393 3.393 0 0 0 13.049 7H11v6h2.15c.498.002.988-.118 1.428-.35h-.001Zm-2.253-4.475h.867a1.529 1.529 0 0 1 1.317.771c.174.311.259.665.245 1.021.013.363-.072.722-.245 1.041-.143.257-.354.47-.609.617a1.458 1.458 0 0 1-.712.2h-.867l.004-3.65Z\"/></svg>',\n },\n spreadsheet: {\n name: 'spreadsheet',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8 9.5h11v7.875A1.627 1.627 0 0 1 17.375 19H8V9.5ZM6.5 1H2.625A1.627 1.627 0 0 0 1 2.625V8h5.5V1ZM19 8V2.625A1.627 1.627 0 0 0 17.375 1H8v7h11ZM1 9.5v7.875A1.627 1.627 0 0 0 2.625 19H6.5V9.5H1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 1H2.625A1.627 1.627 0 0 0 1 2.625v14.75A1.627 1.627 0 0 0 2.625 19h14.75A1.627 1.627 0 0 0 19 17.375V2.625A1.627 1.627 0 0 0 17.375 1Zm.375 1.625V8H8V2.25h9.375a.375.375 0 0 1 .375.375ZM2.625 2.25H6.75V8h-4.5V2.625a.375.375 0 0 1 .375-.375ZM2.25 17.375V9.25h4.5v8.5H2.625a.375.375 0 0 1-.375-.375Zm15.125.375H8v-8.5h9.75v8.125a.375.375 0 0 1-.375.375Z\"/></svg>',\n },\n star: {\n name: 'star',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.943 7.659a1.142 1.142 0 0 0-.871-.771l-5.4-1.046L11 1.024a1.191 1.191 0 0 0-2 0L6.333 5.842.928 6.888a1.145 1.145 0 0 0-.619 1.9l3.757 4.024-.674 5.468a1.144 1.144 0 0 0 1.62 1.178L10 17.127l4.988 2.331a1.145 1.145 0 0 0 1.62-1.177l-.674-5.464 3.757-4.024a1.14 1.14 0 0 0 .252-1.134Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.473 19.566c-.168 0-.333-.036-.485-.107L10 17.127l-4.988 2.332a1.145 1.145 0 0 1-1.62-1.179l.674-5.463L.309 8.793a1.145 1.145 0 0 1 .619-1.9l5.405-1.051L9 1.024a1.192 1.192 0 0 1 2 0l2.665 4.818 5.4 1.046a1.145 1.145 0 0 1 .619 1.9l-3.757 4.024.674 5.464a1.143 1.143 0 0 1-1.135 1.285l.007.005ZM10 15.748l5.345 2.5-.724-5.855 4.026-4.313-5.791-1.122L10 1.8 7.144 6.958 1.353 8.08l4.026 4.311-.724 5.855L10 15.748Z\"/></svg>',\n },\n statistics: {\n name: 'statistics',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3 16H1v-6h2v6Zm5-9H6v9h2V7Zm5-3h-2v12h2V4Zm5-3h-2v15h2V1Zm1 16H1v2h18v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3 16H1.75v-6H3v6Zm5-9H6.75v9H8V7Zm5-3h-1.25v12H13V4Zm5-3h-1.25v15H18V1ZM1.01 17.75V19h17.9v-1.25H1.01Z\"/></svg>',\n },\n 'status-live': {\n name: 'status-live',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M4.444 1.685A10 10 0 0 1 10 0a10.011 10.011 0 0 1 10 10A10 10 0 1 1 4.444 1.685Zm2.153 13.408A6.124 6.124 0 0 0 10 16.125 6.133 6.133 0 0 0 16.125 10a6.125 6.125 0 1 0-9.528 5.093Zm.833-8.939a4.625 4.625 0 1 1 5.14 7.692 4.625 4.625 0 0 1-5.14-7.692Zm1.475 5.489c.324.216.705.332 1.095.332v-.003a1.972 1.972 0 0 0 1.638-3.067 1.972 1.972 0 1 0-2.733 2.738Z\" clip-rule=\"evenodd\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 20a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Zm0-18.75A8.75 8.75 0 1 0 18.75 10 8.76 8.76 0 0 0 10 1.25Zm0 13.875A5.125 5.125 0 1 1 15.125 10 5.131 5.131 0 0 1 10 15.125Zm0-9a3.875 3.875 0 1 0 0 7.75 3.875 3.875 0 0 0 0-7.75Z\"/></svg>',\n },\n sticker: {\n name: 'sticker',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.25 12A1.252 1.252 0 0 0 12 13.25v5.536L18.787 12H13.25Z\"/><path d=\"M10.125 14.875A4.377 4.377 0 0 1 6.512 13.1l-.432-.613 1.228-.863.43.614a3.068 3.068 0 0 0 2.737 1.1v-.116a2.752 2.752 0 0 1 2.75-2.75H19V3.6A2.6 2.6 0 0 0 16.4 1H3.6A2.6 2.6 0 0 0 1 3.6v12.8A2.6 2.6 0 0 0 3.6 19h6.879v-4.157c-.121.01-.235.032-.354.032Zm4-8.25a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-9.5 1.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.379 1H3.621A2.624 2.624 0 0 0 1 3.621v12.758A2.624 2.624 0 0 0 3.621 19h7.652c.297 0 .581-.118.791-.328l6.607-6.607c.21-.21.328-.494.329-.791V3.621A2.624 2.624 0 0 0 16.379 1ZM2.25 16.379V3.621A1.373 1.373 0 0 1 3.621 2.25h12.758a1.373 1.373 0 0 1 1.371 1.371V11h-4.292A2.46 2.46 0 0 0 11 13.458v.149c-.323.106-.66.163-1 .168a3.042 3.042 0 0 1-2.488-1.189l-1.024.719A4.254 4.254 0 0 0 10 15.025c.336-.002.672-.04 1-.113v2.838H3.621a1.373 1.373 0 0 1-1.371-1.371Zm14.469-4.129-4.469 4.469v-3.261a1.21 1.21 0 0 1 1.208-1.208h3.261ZM6 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3ZM12.5 8a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z\"/></svg>',\n },\n strikethrough: {\n name: 'strikethrough',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.8 7a4.1 4.1 0 0 1 .573-2.859 4.3 4.3 0 0 1 1.8-1.567A6.172 6.172 0 0 1 9.913 2a6.164 6.164 0 0 1 3.36.882A5.151 5.151 0 0 1 15.3 5.209l-3.358 1.359a2.22 2.22 0 0 0-.371-.648 2.38 2.38 0 0 0-.693-.594 1.789 1.789 0 0 0-.921-.245c-.268 0-.534.054-.781.159-.243.1-.456.264-.616.473-.163.215-.248.48-.241.749-.001.185.035.368.107.538H4.8ZM19 9H1v2h7.8c.048.016.09.036.138.052l.263.084c.516.156.97.312 1.363.468.386.151.74.37 1.048.648a1.29 1.29 0 0 1 .458.988 1.36 1.36 0 0 1-.251.781 1.807 1.807 0 0 1-.687.59c-.298.15-.627.227-.961.223a2.325 2.325 0 0 1-1.6-.622c-.454-.4-.798-.91-1-1.482l-3.4 1.4c.246.723.66 1.378 1.208 1.91a6.599 6.599 0 0 0 2.139 1.423c.848.36 1.76.543 2.682.537a5.928 5.928 0 0 0 2.816-.659 5.012 5.012 0 0 0 1.942-1.769c.46-.718.703-1.553.7-2.406a3.876 3.876 0 0 0-.6-2.166H19V9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.308 8h-2.4a4.048 4.048 0 0 1-.5-2.006 3.916 3.916 0 0 1 .557-2.1A3.722 3.722 0 0 1 7.529 2.5 5.212 5.212 0 0 1 9.858 2a5.083 5.083 0 0 1 2.914.8c.76.5 1.369 1.2 1.756 2.024l-1.745.691a3.7 3.7 0 0 0-1.13-1.22A2.993 2.993 0 0 0 9.88 3.77a3.036 3.036 0 0 0-1.28.265 2.208 2.208 0 0 0-.928.777c-.239.363-.36.79-.349 1.225-.012.521.156 1.03.477 1.441.152.19.322.365.508.522ZM19 9.007H1v1.25h8.467l.042.017.219.077c.53.184 1.05.4 1.554.649.475.24.898.572 1.244.976.376.43.577.984.562 1.555.006.49-.137.972-.409 1.38-.273.41-.65.742-1.091.961a3.218 3.218 0 0 1-1.468.343 3.174 3.174 0 0 1-1.495-.36 3.643 3.643 0 0 1-1.167-.96 4.227 4.227 0 0 1-.72-1.32l-1.838.758c.235.668.605 1.28 1.086 1.8a5.777 5.777 0 0 0 1.844 1.353 5.336 5.336 0 0 0 2.312.514 5.2 5.2 0 0 0 2.406-.573 4.563 4.563 0 0 0 1.789-1.615 4.283 4.283 0 0 0 .672-2.373A3.72 3.72 0 0 0 14.217 11a6.283 6.283 0 0 0-.716-.743H19v-1.25Z\"/></svg>',\n },\n subtract: {\n name: 'subtract',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 9H1v2h18V9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 9.375H1v1.25h18v-1.25Z\"/></svg>',\n },\n superscript: {\n name: 'superscript',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m12.293 7 3-6h.736l3 6h-2.235l-1.132-2.264L14.53 7h-2.237ZM9.667 2H6.656L0 18h3.8l1.244-3.2h6.252l1.241 3.2h3.787L9.667 2Zm.721 9.856H5.947l2.171-5.688h.088l2.182 5.688Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m12.691 7 2.5-5h.618l2.5 5h-1.118l-1.69-3.382L13.808 7h-1.118ZM8.808 2H7.192L.537 18h2.051l1.745-4.19h7.333L13.412 18h2.051L8.808 2Zm2.16 10.03H5.032l2.924-7.36h.087l2.925 7.36Z\"/></svg>',\n },\n 'swap-camera': {\n name: 'swap-camera',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.376 3.032h-2.355L13.8 1.448A1.15 1.15 0 0 0 12.892 1h-5.74a1.16 1.16 0 0 0-.923.454L5.014 3.031H2.625A2.629 2.629 0 0 0 0 5.656v9.719A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V5.657a2.627 2.627 0 0 0-2.624-2.625ZM8 9.029V7.548A2.57 2.57 0 0 0 6.468 10c0 .672.253 1.319.711 1.81l-.914.852A3.892 3.892 0 0 1 5.218 10 3.811 3.811 0 0 1 8 6.245v-1.84a.625.625 0 0 1 1.067-.442l2.376 2.271a.727.727 0 0 1 0 .961L9.066 9.471A.624.624 0 0 1 8 9.029Zm4 4.726V15.6a.625.625 0 0 1-1.067.442l-2.376-2.276a.727.727 0 0 1 0-.961l2.381-2.276a.624.624 0 0 1 1.062.442v1.481A2.57 2.57 0 0 0 13.532 10a2.65 2.65 0 0 0-.711-1.81l.914-.852A3.892 3.892 0 0 1 14.782 10 3.811 3.811 0 0 1 12 13.755Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.468 10c0 .672.253 1.319.711 1.81l-.914.852a3.908 3.908 0 0 1 2.86-6.57h.408L8.287 4.847l.885-.884 2.708 2.708-.433.524-2.276 2.276-.884-.884 1.246-1.245h-.408A2.661 2.661 0 0 0 6.468 10Zm6.353-1.81a2.658 2.658 0 0 1-1.946 4.468h-.408l1.246-1.245-.884-.884-2.276 2.276-.433.524 2.708 2.708.885-.884-1.246-1.245h.408a3.907 3.907 0 0 0 2.86-6.57l-.914.852ZM20 5.657v9.718A2.63 2.63 0 0 1 17.375 18H2.625A2.63 2.63 0 0 1 0 15.375V5.656a2.629 2.629 0 0 1 2.625-2.625h2.389l1.215-1.577A1.16 1.16 0 0 1 7.152 1h5.74a1.151 1.151 0 0 1 .909.448l1.22 1.583h2.355A2.627 2.627 0 0 1 20 5.657Zm-1.25 0a1.375 1.375 0 0 0-1.374-1.375h-2.971l-1.6-2.072-5.653.04-1.523 2.031h-3A1.377 1.377 0 0 0 1.25 5.656v9.719a1.377 1.377 0 0 0 1.375 1.375h14.75a1.377 1.377 0 0 0 1.375-1.375V5.657Z\"/></svg>',\n },\n 'swipe-back': {\n name: 'swipe-back',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5 2.25c-1.566 0-3.128.163-4.66.486L.08 1.513A23.856 23.856 0 0 1 5 1v1.25Zm14 7.973v3.023A6.673 6.673 0 0 1 12.456 20H9.825a6.657 6.657 0 0 1-5.6-3.3l-2.913-4.816a2.163 2.163 0 0 1 .724-2.965 2.125 2.125 0 0 1 2.812.552L6 11.016v-8.77A2.012 2.012 0 0 1 7.982.121a2.258 2.258 0 0 1 2.268 2.125V6.2c.224-.084.461-.127.7-.126a2.112 2.112 0 0 1 1.95 1.313 2.079 2.079 0 0 1 1.021-.266 2.112 2.112 0 0 1 1.925 1.256A2.078 2.078 0 0 1 16.89 8.1 2.119 2.119 0 0 1 19 10.223Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M.338 2.736.081 1.513A23.813 23.813 0 0 1 5 1v1.25c-1.567 0-3.129.163-4.662.486ZM9.843 20h2.613A6.674 6.674 0 0 0 19 13.246v-3.023A2.12 2.12 0 0 0 16.89 8.1c-.367 0-.727.096-1.044.279a2.113 2.113 0 0 0-1.926-1.258c-.357 0-.709.09-1.02.265a2.112 2.112 0 0 0-1.949-1.31 1.942 1.942 0 0 0-.7.127V2.245A2.258 2.258 0 0 0 7.981.121a1.906 1.906 0 0 0-1.457.653A2.235 2.235 0 0 0 6 2.246v8.77L4.848 9.471a2.124 2.124 0 0 0-2.812-.552 2.163 2.163 0 0 0-.725 2.965L4.22 16.7A6.659 6.659 0 0 0 9.825 20h.018Zm-6-9.782 1.972 2.644a.816.816 0 0 0 .914.244.72.72 0 0 0 .518-.677V2.245a.981.981 0 0 1 .22-.645.65.65 0 0 1 .514-.225A1.021 1.021 0 0 1 9 2.246V8.2h1.25c-.009-.237.065-.469.208-.657a.615.615 0 0 1 .493-.217.88.88 0 0 1 .86.92v1h1.25a.857.857 0 0 1 .86-.89.86.86 0 0 1 .86.89v.977h1.25a.86.86 0 1 1 1.72 0v3.023a5.488 5.488 0 0 1-5.3 5.5H9.84a5.376 5.376 0 0 1-4.55-2.691l-2.91-4.818a.911.911 0 0 1 .3-1.249.876.876 0 0 1 1.162.23Z\"/></svg>',\n },\n 'swipe-down': {\n name: 'swipe-down',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 6.921a.623.623 0 0 0 .442-.183l2-2a.625.625 0 0 0-.442-1.067H3.25V.8H2v2.871H.625a.625.625 0 0 0-.442 1.067l2 2a.623.623 0 0 0 .442.183Z\"/><path d=\"M16.89 8.1c-.366 0-.727.096-1.044.279a2.112 2.112 0 0 0-1.925-1.256c-.357 0-.71.091-1.02.266a2.112 2.112 0 0 0-1.95-1.311 1.957 1.957 0 0 0-.7.126V2.246A2.258 2.258 0 0 0 7.982.121 2.012 2.012 0 0 0 6 2.246v8.77L4.848 9.471a2.126 2.126 0 0 0-2.812-.552 2.163 2.163 0 0 0-.724 2.965L4.22 16.7A6.656 6.656 0 0 0 9.825 20h2.631A6.673 6.673 0 0 0 19 13.246v-3.023A2.12 2.12 0 0 0 16.89 8.1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m2.183 6.738-2-2 .883-.884.934.933V.8h1.25v3.987l.933-.933.883.884-2 2a.624.624 0 0 1-.883 0ZM19 10.223v3.023A6.674 6.674 0 0 1 12.456 20H9.825a6.658 6.658 0 0 1-5.606-3.3L1.31 11.884a2.163 2.163 0 0 1 .725-2.965 2.124 2.124 0 0 1 2.812.552L6 11.016v-8.77A2.235 2.235 0 0 1 6.524.774 1.906 1.906 0 0 1 7.98.121a2.258 2.258 0 0 1 2.269 2.124V6.2c.223-.085.46-.128.7-.127a2.112 2.112 0 0 1 1.95 1.313 2.09 2.09 0 0 1 2.17.078c.341.223.611.54.777.913A2.078 2.078 0 0 1 16.89 8.1 2.12 2.12 0 0 1 19 10.223Zm-1.25 0a.86.86 0 1 0-1.72 0h-1.25v-.977a.86.86 0 1 0-1.72 0h-1.25v-1a.88.88 0 0 0-.86-.92.616.616 0 0 0-.492.217c-.144.188-.217.42-.208.657H9V2.246a1.021 1.021 0 0 0-1.02-.875.649.649 0 0 0-.513.225.981.981 0 0 0-.217.649v10.184a.719.719 0 0 1-.518.677.816.816 0 0 1-.914-.244l-1.972-2.644a.876.876 0 0 0-1.162-.23.911.911 0 0 0-.3 1.249l2.906 4.818a5.4 5.4 0 0 0 4.537 2.7h2.627a5.488 5.488 0 0 0 5.3-5.5l-.004-3.032Z\"/></svg>',\n },\n swipe: {\n name: 'swipe',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.7 3.223a22.542 22.542 0 0 0-6.56-.973V1c2.344 0 4.675.345 6.918 1.026L18.7 3.223Zm.3 7v3.023A6.673 6.673 0 0 1 12.456 20H9.825a6.657 6.657 0 0 1-5.6-3.3l-2.913-4.816a2.163 2.163 0 0 1 .724-2.965 2.126 2.126 0 0 1 2.812.552L6 11.016v-8.77A2.012 2.012 0 0 1 7.982.121a2.258 2.258 0 0 1 2.268 2.125V6.2c.224-.084.46-.127.7-.126a2.112 2.112 0 0 1 1.95 1.313 2.079 2.079 0 0 1 1.02-.266 2.112 2.112 0 0 1 1.926 1.256A2.078 2.078 0 0 1 16.89 8.1 2.119 2.119 0 0 1 19 10.223Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.7 3.223a22.528 22.528 0 0 0-6.556-.973V1a23.8 23.8 0 0 1 6.919 1.026L18.7 3.223ZM9.843 20h2.613A6.674 6.674 0 0 0 19 13.246v-3.023A2.119 2.119 0 0 0 16.89 8.1c-.367 0-.727.096-1.044.279a2.113 2.113 0 0 0-1.926-1.258c-.358 0-.71.09-1.021.265a2.111 2.111 0 0 0-1.948-1.31 1.943 1.943 0 0 0-.7.127V2.245A2.258 2.258 0 0 0 7.98.121a1.906 1.906 0 0 0-1.457.653A2.235 2.235 0 0 0 6 2.246v8.77L4.848 9.471a2.124 2.124 0 0 0-2.812-.552 2.163 2.163 0 0 0-.725 2.965L4.219 16.7A6.659 6.659 0 0 0 9.825 20h.018Zm-6-9.782 1.972 2.644a.816.816 0 0 0 .914.244.72.72 0 0 0 .518-.677V2.245a.981.981 0 0 1 .22-.645.649.649 0 0 1 .514-.225A1.021 1.021 0 0 1 9 2.246V8.2h1.25a1.02 1.02 0 0 1 .208-.657.616.616 0 0 1 .493-.217.88.88 0 0 1 .86.92v1h1.25a.861.861 0 1 1 1.719 0v.977h1.25a.86.86 0 0 1 1.72 0v3.023a5.487 5.487 0 0 1-5.3 5.5H9.827a5.4 5.4 0 0 1-4.537-2.691l-2.91-4.818a.911.911 0 0 1 .3-1.249.876.876 0 0 1 1.163.23Z\"/></svg>',\n },\n 'swipe-up': {\n name: 'swipe-up',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.004 3.571H.63A.625.625 0 0 1 .187 2.5l2-2a.625.625 0 0 1 .884 0l2 2a.625.625 0 0 1-.442 1.067H3.254v2.879h-1.25V3.571Zm17 6.652v3.023A6.673 6.673 0 0 1 12.46 20H9.83a6.657 6.657 0 0 1-5.6-3.3l-2.914-4.816a2.163 2.163 0 0 1 .724-2.965 2.126 2.126 0 0 1 2.812.552l1.152 1.545v-8.77A2.012 2.012 0 0 1 7.986.121a2.258 2.258 0 0 1 2.268 2.125V6.2c.224-.084.461-.127.7-.126a2.112 2.112 0 0 1 1.95 1.313 2.079 2.079 0 0 1 1.021-.266 2.112 2.112 0 0 1 1.925 1.255 2.09 2.09 0 0 1 1.044-.276 2.119 2.119 0 0 1 2.11 2.123Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.067 3.388.183 2.5l2-2a.625.625 0 0 1 .884 0l2 2-.884.884-.933-.929v3.991H2V2.455l-.933.933ZM19 10.223v3.023A6.674 6.674 0 0 1 12.456 20H9.825a6.658 6.658 0 0 1-5.606-3.3L1.31 11.884a2.164 2.164 0 0 1 .725-2.965 2.124 2.124 0 0 1 2.812.552L6 11.016v-8.77A2.01 2.01 0 0 1 7.98.121a2.258 2.258 0 0 1 2.27 2.125V6.2c.223-.084.46-.127.7-.126a2.114 2.114 0 0 1 1.95 1.312 2.085 2.085 0 0 1 1.02-.265 2.113 2.113 0 0 1 1.926 1.256A2.078 2.078 0 0 1 16.89 8.1 2.12 2.12 0 0 1 19 10.223Zm-1.25 0a.86.86 0 1 0-1.72 0h-1.25v-.977a.86.86 0 1 0-1.72 0h-1.25v-1a.88.88 0 0 0-.86-.92c-.516 0-.7.471-.7.875H9V2.246a1.02 1.02 0 0 0-1.02-.875c-.5 0-.73.439-.73.875v10.183a.72.72 0 0 1-.518.677.816.816 0 0 1-.914-.244l-1.972-2.644a.876.876 0 0 0-1.162-.23.912.912 0 0 0-.3 1.25l2.906 4.817a5.32 5.32 0 0 0 4.55 2.7h2.614a5.488 5.488 0 0 0 5.3-5.5l-.004-3.032Z\"/></svg>',\n },\n table: {\n name: 'table',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.377 1H2.623A1.625 1.625 0 0 0 1 2.623v14.754A1.625 1.625 0 0 0 2.623 19h14.754A1.624 1.624 0 0 0 19 17.377V2.623A1.625 1.625 0 0 0 17.377 1ZM3 14h6v3H3v-3Zm6-6v4H3V8h6ZM3 6V3h6v3H3Zm8 8h6v3h-6v-3Zm0-2V8h6v4h-6Zm0-6V3h6v3h-6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.377 1H2.623A1.625 1.625 0 0 0 1 2.623v14.754A1.625 1.625 0 0 0 2.623 19h14.754A1.624 1.624 0 0 0 19 17.377V2.623A1.625 1.625 0 0 0 17.377 1Zm.373 1.623V6.75h-7.125v-4.5h6.752a.373.373 0 0 1 .373.373ZM10.625 8h7.125v4h-7.125V8Zm-1.25 4H2.25V8h7.125v4ZM2.623 2.25h6.752v4.5H2.25V2.623a.373.373 0 0 1 .373-.373ZM2.25 17.377V13.25h7.125v4.5H2.623a.373.373 0 0 1-.373-.373Zm15.127.373h-6.752v-4.5h7.125v4.127a.373.373 0 0 1-.373.373Z\"/></svg>',\n },\n tag: {\n name: 'tag',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 1h-6.49a1.632 1.632 0 0 0-1.168.5L.61 10.9a1.632 1.632 0 0 0 .019 2.28l6.194 6.2a1.634 1.634 0 0 0 2.28.017l9.4-9.1A1.633 1.633 0 0 0 19 9.116V2.625A1.627 1.627 0 0 0 17.375 1Zm-3.289 6.914a2 2 0 1 1 0-4 2 2 0 0 1 0 4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.973 19.844a1.624 1.624 0 0 1-1.15-.472L.629 13.177A1.632 1.632 0 0 1 .61 10.9l9.107-9.4a1.631 1.631 0 0 1 1.168-.5h6.49A1.627 1.627 0 0 1 19 2.625v6.491a1.633 1.633 0 0 1-.5 1.168l-9.4 9.1c-.301.294-.706.46-1.127.46ZM10.885 2.25a.38.38 0 0 0-.271.114l-9.1 9.4a.375.375 0 0 0 0 .525l6.194 6.195a.377.377 0 0 0 .526 0l9.4-9.106a.374.374 0 0 0 .114-.269V2.625a.375.375 0 0 0-.375-.375h-6.488ZM14.5 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z\"/></svg>',\n },\n tap: {\n name: 'tap',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.89 8.1c-.367 0-.727.096-1.044.279a2.112 2.112 0 0 0-1.925-1.256c-.358 0-.71.091-1.021.266a2.112 2.112 0 0 0-1.95-1.311 1.957 1.957 0 0 0-.7.126V2.246A2.258 2.258 0 0 0 7.983.121 2.012 2.012 0 0 0 6 2.246v8.77L4.848 9.471a2.126 2.126 0 0 0-2.812-.552 2.163 2.163 0 0 0-.724 2.965L4.22 16.7A6.656 6.656 0 0 0 9.825 20h2.63A6.673 6.673 0 0 0 19 13.246v-3.023A2.12 2.12 0 0 0 16.89 8.1ZM3.244 4.7a5.071 5.071 0 0 1-.494-2.2A5.071 5.071 0 0 1 3.244.3l1.129.54A3.824 3.824 0 0 0 4 2.5a3.824 3.824 0 0 0 .373 1.66l-1.13.54Zm8.383-.537c.248-.52.375-1.088.373-1.663a3.824 3.824 0 0 0-.373-1.66L12.756.3c.328.687.496 1.439.494 2.2a5.071 5.071 0 0 1-.494 2.2l-1.13-.537Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.89 8.1c-.367 0-.727.096-1.044.279a2.113 2.113 0 0 0-1.926-1.258c-.358 0-.71.09-1.021.265a2.111 2.111 0 0 0-1.948-1.31 1.943 1.943 0 0 0-.7.127V2.245A2.258 2.258 0 0 0 7.98.121a1.906 1.906 0 0 0-1.457.653A2.235 2.235 0 0 0 6 2.246v8.77L4.848 9.471a2.124 2.124 0 0 0-2.812-.552 2.163 2.163 0 0 0-.725 2.965L4.219 16.7A6.659 6.659 0 0 0 9.825 20h2.63A6.674 6.674 0 0 0 19 13.246v-3.023A2.119 2.119 0 0 0 16.89 8.1Zm.86 5.148a5.487 5.487 0 0 1-5.3 5.5H9.827a5.4 5.4 0 0 1-4.537-2.693l-2.91-4.818a.911.911 0 0 1 .3-1.249.876.876 0 0 1 1.163.23l1.972 2.644a.816.816 0 0 0 .914.244.72.72 0 0 0 .518-.677V2.245a.981.981 0 0 1 .22-.645.649.649 0 0 1 .514-.225A1.021 1.021 0 0 1 9 2.246V8.2h1.25a1.02 1.02 0 0 1 .208-.657.616.616 0 0 1 .493-.217.88.88 0 0 1 .86.92v1h1.25a.861.861 0 1 1 1.719 0v.977h1.25a.86.86 0 0 1 1.72 0v3.025ZM3.243 4.7a5.14 5.14 0 0 1 0-4.4l1.129.539a3.892 3.892 0 0 0 0 3.321l-1.13.54Zm8.384-.536a3.883 3.883 0 0 0 0-3.321L12.756.3a5.13 5.13 0 0 1 0 4.393l-1.13-.529Z\"/></svg>',\n },\n text: {\n name: 'text',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.316 2.109h11.37v3.19H11.78V18H8.21V5.3h-3.9l.006-3.19Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.73 2.109h10.541V3.9h-4.3v14.093H9.008V3.9H4.73V2.109Z\"/></svg>',\n },\n 'text-post': {\n name: 'text-post',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 1H2.625A1.627 1.627 0 0 0 1 2.625v14.75A1.627 1.627 0 0 0 2.625 19h14.75A1.627 1.627 0 0 0 19 17.375V2.625A1.627 1.627 0 0 0 17.375 1ZM14 15H6v-2h8v2Zm0-4H6V9h8v2Zm0-4H6V5h8v2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6 13h8v1.25H6V13Zm0-2.75h8V9H6v1.25Zm13-7.625v14.75A1.627 1.627 0 0 1 17.375 19H2.625A1.627 1.627 0 0 1 1 17.375V2.625A1.627 1.627 0 0 1 2.625 1h14.75A1.627 1.627 0 0 1 19 2.625Zm-1.25 0a.375.375 0 0 0-.375-.375H2.625a.375.375 0 0 0-.375.375v14.75a.375.375 0 0 0 .375.375h14.75a.375.375 0 0 0 .375-.375V2.625ZM6 6.25h8V5H6v1.25Z\"/></svg>',\n },\n 'text-size': {\n name: 'text-size',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2 8h6v2H6v6H4v-6H2V8Zm5.015-5.891V5.9h4.2V18h3.568V5.9h4.207V2.109H7.015Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2 8.075h6v1.45H5.625v6.447h-1.25V9.525H2v-1.45Zm5.029-5.966V3.9h4.977v14.093h1.964V3.9h5V2.109H7.029Z\"/></svg>',\n },\n toggle: {\n name: 'toggle',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.23 1H4.77A3.855 3.855 0 0 0 1 4.927v.146A3.855 3.855 0 0 0 4.77 9h10.46A3.855 3.855 0 0 0 19 5.073v-.146A3.855 3.855 0 0 0 15.23 1ZM7 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm10 .073A1.855 1.855 0 0 1 15.23 7H8.444a3.875 3.875 0 0 0 0-4h6.786A1.855 1.855 0 0 1 17 4.927v.146ZM15.067 11H4.933A3.937 3.937 0 0 0 1 14.933v.134A3.937 3.937 0 0 0 4.933 19h10.134A3.937 3.937 0 0 0 19 15.067v-.134A3.937 3.937 0 0 0 15.067 11ZM15 17a2 2 0 1 1 0-4 2 2 0 0 1 0 4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.067 1H4.933A3.937 3.937 0 0 0 1 4.933v.134A3.937 3.937 0 0 0 4.933 9h10.134A3.937 3.937 0 0 0 19 5.067v-.134A3.937 3.937 0 0 0 15.067 1ZM4.928 7.737a2.734 2.734 0 0 1 0-5.466 2.734 2.734 0 0 1 0 5.466Zm12.822-2.67a2.685 2.685 0 0 1-2.683 2.683H7.76a3.993 3.993 0 0 0-.006-5.5h7.313a2.685 2.685 0 0 1 2.683 2.683v.134ZM15.067 11H4.933A3.937 3.937 0 0 0 1 14.933v.134A3.937 3.937 0 0 0 4.933 19h10.134A3.937 3.937 0 0 0 19 15.067v-.134A3.937 3.937 0 0 0 15.067 11Zm0 1.267A2.735 2.735 0 1 1 12.4 15a2.71 2.71 0 0 1 2.672-2.733h-.005Zm-12.817 2.8v-.134a2.685 2.685 0 0 1 2.683-2.683h7.31a3.993 3.993 0 0 0 0 5.5h-7.31a2.685 2.685 0 0 1-2.683-2.683Z\"/></svg>',\n },\n tools: {\n name: 'tools',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.41 2.188a4.683 4.683 0 0 1-.457 5.223l-.142.175a5.278 5.278 0 0 1-.923.942v9.05c0 1.37-1.525 2.395-2.887 2.395s-2.887-1.025-2.887-2.395V8.53a5.177 5.177 0 0 1-.92-.942l-.145-.177a4.683 4.683 0 0 1-.456-5.223A5.111 5.111 0 0 1 4.39.18.967.967 0 0 1 5.4.134a1.087 1.087 0 0 1 .583.947v3.377c0 .165.532.555 1.017.555.485 0 1.017-.39 1.017-.555V1.081A1.087 1.087 0 0 1 8.6.135a.967.967 0 0 1 1.012.044 5.088 5.088 0 0 1 1.797 2.009ZM17.374 9H16V.359h-2V9h-1.375a.625.625 0 0 0-.625.625v7.64A2.738 2.738 0 0 0 14.735 20h.53A2.739 2.739 0 0 0 18 17.265v-7.64A.625.625 0 0 0 17.375 9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.612.179A.967.967 0 0 0 8.6.135a1.087 1.087 0 0 0-.582.946v3.377c0 .165-.532.555-1.017.555-.485 0-1.017-.39-1.017-.555V1.081A1.087 1.087 0 0 0 5.4.134.967.967 0 0 0 4.39.18a5.111 5.111 0 0 0-1.8 2.008 4.683 4.683 0 0 0 .455 5.223l.144.177c.266.352.575.668.921.942v9.048c0 1.37 1.525 2.395 2.887 2.395s2.887-1.025 2.887-2.395v-9.05c.346-.274.656-.59.923-.942l.142-.175a4.684 4.684 0 0 0 .456-5.223A5.088 5.088 0 0 0 9.612.179Zm.376 6.435-.147.186c-.267.357-.589.67-.954.926a.621.621 0 0 0-.249.5v9.356c0 .546-.857 1.145-1.637 1.145s-1.637-.6-1.637-1.145V8.223a.621.621 0 0 0-.252-.5 4.154 4.154 0 0 1-.95-.924l-.148-.182A3.424 3.424 0 0 1 3.685 2.8c.25-.512.608-.964 1.05-1.325v2.983c0 1.1 1.342 1.8 2.266 1.8.924 0 2.267-.7 2.267-1.8V1.474c.44.362.798.814 1.05 1.326a3.424 3.424 0 0 1-.33 3.816v-.002ZM17.375 9h-1.65V.359h-1.25V9h-1.85a.625.625 0 0 0-.625.625v7.64A2.738 2.738 0 0 0 14.735 20h.53A2.739 2.739 0 0 0 18 17.265v-7.64A.625.625 0 0 0 17.375 9Zm-.625 8.265a1.486 1.486 0 0 1-1.485 1.485h-.53a1.486 1.486 0 0 1-1.485-1.485V10.25h3.5v7.015Z\"/></svg>',\n },\n top: {\n name: 'top',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.625 11v8h-3.5A1.118 1.118 0 0 1 1 17.893v-5.786A1.118 1.118 0 0 1 2.125 11h3.5Zm12.25 0h-3.5v8h3.5A1.118 1.118 0 0 0 19 17.893v-5.786A1.118 1.118 0 0 0 17.875 11Zm-2.12-5.238L10.5.628l-.257-.212-.589.029L4.21 5.764A.726.726 0 0 0 4.725 7H7v12h6V7h2.242a.725.725 0 0 0 .513-1.238Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.875 11H13V7h2.242a.725.725 0 0 0 .513-1.238L10.5.628l-.257-.212-.589.029L4.21 5.764A.726.726 0 0 0 4.725 7H7v4H2.125A1.118 1.118 0 0 0 1 12.107v5.786A1.118 1.118 0 0 0 2.125 19h15.75A1.118 1.118 0 0 0 19 17.893v-5.786A1.118 1.118 0 0 0 17.875 11ZM2.25 17.75v-5.5H7v5.5H2.25Zm9.5-12v12h-3.5v-12H5.992l3.992-3.866 3.991 3.866H11.75Zm6 12H13v-5.5h4.75v5.5Z\"/></svg>',\n },\n 'topic-activism': {\n name: 'topic-activism',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m5.013 13.878 4.9 1.334v1.575a1.123 1.123 0 0 1-1.122 1.122H6.134a1.123 1.123 0 0 1-1.121-1.122v-2.91Zm10.162-.767c-.269.524-.488.639-.55.639-.4 0-1.375-1.84-1.375-5.25s.976-5.25 1.375-5.25c.062 0 .281.115.55.639l.284.556 1.113-.57-.285-.556c-.541-1.056-1.169-1.3-1.618-1.316h-.044a1.4 1.4 0 0 0-.754.23L3.7 5.852c-.913-.552-1.845-.99-2.608-.58C.237 5.735.044 6.98 0 9c.047 2 .24 3.245 1.093 3.7.783.423 1.754-.06 2.7-.637.758.26 2.249.658 5.175 1.439l5.074 1.355c.183.088.384.134.587.135.45 0 1.1-.23 1.661-1.32l.285-.555-1.113-.57-.287.564ZM16 8v1.25h3.25V8H16Zm.389-1.586 2.819-1.594-.615-1.088-2.82 1.594.616 1.088Zm-.616 5.26 2.82 1.594.615-1.088-2.819-1.594-.616 1.088Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.175 13.11c-.237.462-.428.6-.514.627l-.133-.035c-.439-.238-1.278-2.03-1.278-5.2 0-2.95.729-4.718 1.184-5.144l.245-.087c.095.042.276.192.5.62l.284.556 1.113-.57-.285-.556c-.541-1.057-1.17-1.3-1.618-1.316h-.044a1.4 1.4 0 0 0-.754.23L3.7 5.852c-.915-.552-1.847-.991-2.61-.58C.237 5.735.044 6.98 0 9c.047 2 .24 3.245 1.093 3.7.783.423 1.754-.06 2.7-.637.288.1.685.218 1.224.37v4.347a1.122 1.122 0 0 0 1.121 1.12h2.75a1.123 1.123 0 0 0 1.122-1.12v-3l4.028 1.075c.183.088.384.134.587.135.45 0 1.1-.23 1.661-1.32l.285-.555-1.113-.57-.283.566Zm-11.882-2.2c-1.247.782-1.546.734-1.607.7C1.6 11.56 1.3 11.229 1.25 9c.049-2.25.345-2.582.434-2.63.064-.033.361-.081 1.61.7a.624.624 0 0 0 .54.058l8.838-3.146A13.9 13.9 0 0 0 12 8.5c-.034 1.608.221 3.21.754 4.728L3.79 10.834a.622.622 0 0 0-.497.073v.004Zm2.97 5.753v-3.877c.678.184 1.507.405 2.5.67v3.2l-2.5.007ZM19.25 8v1.25H16V8h3.25Zm-3.477-2.674 2.82-1.594.615 1.088-2.819 1.594-.616-1.088Zm.616 5.26 2.819 1.594-.615 1.088-2.82-1.594.616-1.088Z\"/></svg>',\n },\n 'topic-addictionsupport': {\n name: 'topic-addictionsupport',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.266 5.162a.627.627 0 0 1 .03-.674l1.857-2.632a.625.625 0 0 1 .727-.227c.087.031.165.08.23.145a5.777 5.777 0 0 1 1.7 4.113 6.937 6.937 0 0 1-1.644 4.045l-.183.23-3.032-3.178a1.467 1.467 0 0 0 .508-1.1c0-.253-.067-.502-.193-.722ZM8.71 15.78l.013-.016-2.8-3.513-3.273 3.434a1.145 1.145 0 0 0 .05 1.626L5 19.46c.213.197.491.307.78.307h.086a1.15 1.15 0 0 0 .81-.429l2.443-3.068-.341-.429-.068-.06Zm8.64-.1L9.017 6.948a3.274 3.274 0 0 1 .415-3.734L9.625 3c.942-1.067 1.564-1.77 1.268-2.429a.885.885 0 0 0-.884-.495 5.816 5.816 0 0 0-5.817 5.811c.1 1.497.68 2.92 1.657 4.06l7.474 9.387a1.147 1.147 0 0 0 .81.43h.085c.29 0 .57-.109.783-.306l2.3-2.147a1.148 1.148 0 0 0 .048-1.627l.002-.004Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m5.772 18.466-2.142-2 3.082-3.232-.794-1-3.268 3.451a1.145 1.145 0 0 0 .05 1.626L5 19.46c.213.197.491.307.78.307h.086a1.15 1.15 0 0 0 .81-.429l2.443-3.068-.8-1-2.547 3.197Z\"/><path d=\"m17.35 15.684-4.232-4.437 1.047-1.315a6.937 6.937 0 0 0 1.645-4.045 5.778 5.778 0 0 0-1.7-4.113l-.227-.227L13 2.44l.219.22a4.54 4.54 0 0 1 1.338 3.228 5.795 5.795 0 0 1-1.385 3.281l-.928 1.166-1.381-1.448.96-1.009a2.69 2.69 0 0 0 .524-3.342l-.5-.864-.9.95.313.541a1.437 1.437 0 0 1 .058 1.33c-.087.19-.214.359-.372.495l-.951 1-.98-1.039a3.274 3.274 0 0 1 .415-3.734L9.625 3c.942-1.067 1.564-1.77 1.268-2.429a.885.885 0 0 0-.884-.495 5.816 5.816 0 0 0-5.817 5.811c.1 1.497.68 2.92 1.657 4.06l7.474 9.387a1.147 1.147 0 0 0 .81.43h.085c.29 0 .57-.109.783-.306l2.3-2.147a1.148 1.148 0 0 0 .048-1.627h.002Zm-3.12 2.782L6.839 9.184a5.813 5.813 0 0 1-1.4-3.3 4.563 4.563 0 0 1 3.932-4.52c-.216.27-.488.576-.686.8l-.2.223C7.312 3.734 6.852 6.2 8.047 7.74l.04.048 1.05 1.1-.012.013.272.26 6.975 7.311-2.142 1.995Z\"/></svg>',\n },\n 'topic-advice': {\n name: 'topic-advice',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.312 18.002h3.376v1.25H8.312v-1.25Zm-1.062-.75h5.5v-1.25h-5.5v1.25Zm7.176-15.68A7.065 7.065 0 0 0 8.5.158a6.958 6.958 0 0 0-2.75 12.349 3.309 3.309 0 0 1 1.2 1.994l.1.5h5.47l.125-.46a3.15 3.15 0 0 1 1.265-1.79 6.955 6.955 0 0 0 .516-11.18Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.688 19.252H8.312v-1.25h3.376v1.25Zm1.062-3.25h-5.5v1.25h5.5v-1.25Zm-.1-1.46a3.15 3.15 0 0 1 1.265-1.79 6.954 6.954 0 0 0 .51-11.18A7.065 7.065 0 0 0 8.5.158a6.958 6.958 0 0 0-2.75 12.349 3.309 3.309 0 0 1 1.2 1.994l.1.5h5.47l.13-.46Zm-6.141-3.03a5.709 5.709 0 0 1 2.243-10.13 5.819 5.819 0 0 1 4.885 1.16 5.7 5.7 0 0 1-.421 9.174 4.356 4.356 0 0 0-1.616 2.036H8.05a4.49 4.49 0 0 0-1.541-2.24Z\"/></svg>',\n },\n 'topic-animals': {\n name: 'topic-animals',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 2.62a1.105 1.105 0 0 0-.548-.956A1.171 1.171 0 0 0 18.3 1.64l-3.945 2.142a12.353 12.353 0 0 0-8.71 0L1.7 1.642a1.173 1.173 0 0 0-1.156.022A1.102 1.102 0 0 0 0 2.619v7.882c.003.034.01.067.02.1-.008.124-.02.25-.02.375v.2a.587.587 0 0 0 .018.112 7.316 7.316 0 0 0 2.967 5.415A11.345 11.345 0 0 0 10 19c2.528.038 4.996-.77 7.015-2.296A7.251 7.251 0 0 0 20 10.993c0-.132-.012-.264-.02-.395a.543.543 0 0 0 .02-.1V2.619ZM6.89 11.567a1.48 1.48 0 0 1-1.35.41c-.096-.018-.19-.049-.28-.09a1.294 1.294 0 0 1-.26-.14 1.298 1.298 0 0 1-.23-.18 1.522 1.522 0 0 1-.44-1.063c-.003-.2.038-.4.12-.582a.917.917 0 0 1 .14-.26.965.965 0 0 1 .18-.221c.07-.072.147-.136.23-.19.081-.057.168-.105.26-.141.09-.041.184-.071.28-.09a1.526 1.526 0 0 1 1.35.42c.071.067.135.141.19.221.053.084.1.17.14.261a1.614 1.614 0 0 1 .11.582c-.002.398-.16.78-.44 1.063Zm4.381 1.915H8.729V11.98h2.542v1.504Zm4.369-2.688a1.621 1.621 0 0 1-.23.542 1.31 1.31 0 0 1-.181.23 1.498 1.498 0 0 1-2.529-.772 1.508 1.508 0 0 1 .409-1.363 1.566 1.566 0 0 1 2.12 0 1.504 1.504 0 0 1 .411 1.363Zm3.735.382-.011-.013c0-.058.011-.114.011-.172v.184Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.64 10.204a1.508 1.508 0 0 1-.827 1.66 1.497 1.497 0 0 1-2.08-.926 1.508 1.508 0 0 1-.033-.734c.018-.096.045-.19.08-.28.04-.091.087-.178.14-.261a1.03 1.03 0 0 1 .19-.221 1.546 1.546 0 0 1 2.12 0c.07.064.131.138.18.22.057.082.104.17.14.261.04.09.07.185.09.281ZM5.54 9.021c-.096.019-.19.05-.28.09a1.299 1.299 0 0 0-.26.14 1.506 1.506 0 0 0-.641 1.544c.021.097.051.191.092.281.032.094.08.182.14.261.164.246.397.438.67.552.09.04.183.07.28.09a1.476 1.476 0 0 0 1.35-.411c.068-.072.132-.15.19-.23.052-.084.099-.171.14-.261.037-.09.064-.185.08-.281a1.506 1.506 0 0 0-1.034-1.73 1.526 1.526 0 0 0-.726-.045Zm3.315 4.074h2.291v-1.253H8.855v1.253Zm11.125-2.497c.008.13.02.259.02.39v.189a.637.637 0 0 1-.018.116 7.323 7.323 0 0 1-2.967 5.41 11.344 11.344 0 0 1-7.014 2.296 11.343 11.343 0 0 1-7.015-2.296 7.316 7.316 0 0 1-2.967-5.415.588.588 0 0 1-.018-.111v-.188c0-.127.011-.254.019-.38a.543.543 0 0 1-.02-.101V2.62a1.106 1.106 0 0 1 .548-.956 1.173 1.173 0 0 1 1.153-.022l3.947 2.141a12.38 12.38 0 0 1 8.705 0L18.3 1.641a1.171 1.171 0 0 1 1.155.023A1.102 1.102 0 0 1 20 2.62v7.88a.546.546 0 0 1-.02.098Zm-1.24.558.008-.128v-.032a5.751 5.751 0 0 0-1.7-3.995l-.433-.452.9-.868.431.454c.292.305.56.634.8.982v-4.34l-4.057 2.25a.618.618 0 0 1-.654-.045.645.645 0 0 1-.1-.018c-2.538-.96-5.339-.96-7.877 0a.72.72 0 0 1-.091.016.62.62 0 0 1-.66.047L1.252 2.82v4.293c.24-.348.508-.676.8-.982l.43-.454.9.868-.432.452a5.751 5.751 0 0 0-1.7 3.995v.04l.008.108v.007a6.072 6.072 0 0 0 2.5 4.57A10.093 10.093 0 0 0 10 17.744a10.093 10.093 0 0 0 6.242-2.028 6.054 6.054 0 0 0 2.497-4.561Z\"/></svg>',\n },\n 'topic-anime': {\n name: 'topic-anime',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 3.9V1.363H9V3.9c-.3.027-.6.07-.9.122l-.663-2.436-1.929.528.664 2.426c-.19.07-.372.154-.555.235l-1.491-2.24-1.664 1.108 1.407 2.114c-.188.132-.37.27-.547.415l-1.9-1.9L.005 5.684l1.9 1.9A8.362 8.362 0 0 0 0 12.852v1h2v-1a6.6 6.6 0 0 1 2.506-5.075c-.017.59.135 1.174.438 1.68.082.13.173.252.272.368-.14.666-.213 1.346-.216 2.027 0 3.928 2.243 7.125 5 7.125s5-3.2 5-7.125a8.619 8.619 0 0 0-1.735-5.384A7.034 7.034 0 0 1 18 12.852v1h2v-1c0-4.66-3.954-8.502-9-8.952ZM8.134 6.052A1.872 1.872 0 1 1 5.807 7.4c.067-.249.185-.48.348-.68a8.66 8.66 0 0 1 1.979-.668Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.913 4.266v-2.9h-1.25v2.875c-.524.013-1.046.062-1.563.146l-.738-2.7-1.2.33.723 2.646c-.495.14-.978.316-1.448.525L3.9 2.88l-1.041.693 1.457 2.192a9.916 9.916 0 0 0-1.393 1L1.067 4.91l-.884.883 1.858 1.86A7.838 7.838 0 0 0 0 12.852v.624h1.25v-.625a7.023 7.023 0 0 1 3.368-5.8 2.98 2.98 0 0 0 .6 2.77A10.038 10.038 0 0 0 5 11.852c0 3.928 2.243 7.125 5 7.125s5-3.2 5-7.125a8.155 8.155 0 0 0-2.343-6.026c3.529.951 6.093 3.74 6.093 7.026v.625H20v-.625c0-4.49-4-8.186-9.087-8.586ZM10.58 9.88a2.725 2.725 0 0 1 .714 1.973c0 1.312-.682 2.226-1.294 2.226s-1.294-.914-1.294-2.226c.004-.361.04-.722.106-1.078l.009-.037a3.14 3.14 0 0 0 1.349-1.085c.153.04.294.119.41.227ZM5.75 7.852a1.875 1.875 0 1 1 3.75 0 1.875 1.875 0 0 1-3.75 0Zm8 4c0 3.24-1.683 5.875-3.75 5.875s-3.75-2.636-3.75-5.875c.002-.39.03-.778.082-1.164a3.1 3.1 0 0 0 1.186.278c-.037.294-.058.59-.062.886 0 1.95 1.117 3.476 2.544 3.476s2.544-1.527 2.544-3.476a3.937 3.937 0 0 0-1.123-2.9 2.229 2.229 0 0 0-.746-.438 3.046 3.046 0 0 0-.558-2.53c2.013.1 3.633 2.69 3.633 5.868Z\"/></svg>',\n },\n 'topic-art': {\n name: 'topic-art',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.354 4.47 3.9 8.782.558 5.442a.625.625 0 0 1 0-.884l4-4a.625.625 0 0 1 .884 0L9.354 4.47Zm5.2 14.972a.625.625 0 0 0 .884 0l4-4a.623.623 0 0 0 0-.884l-3.924-3.928-4.328 5.44 3.368 3.372Zm3.888-17.884a2.244 2.244 0 0 0-2.95-.186L5.813 9.02a5.493 5.493 0 0 1 5.158 5.11l7.661-9.63a2.242 2.242 0 0 0-.19-2.942Zm-12.806 8.82A3.971 3.971 0 0 0 2.747 11.5a4.474 4.474 0 0 0-1.373 3.147 10.719 10.719 0 0 1-.719 3.573.871.871 0 0 0 1.128 1.125 10.731 10.731 0 0 1 3.572-.718A4.475 4.475 0 0 0 8.5 17.253a3.985 3.985 0 0 0 1.122-2.889 4.132 4.132 0 0 0-3.986-3.987Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.9 8.782.558 5.442a.625.625 0 0 1 0-.884l4-4a.625.625 0 0 1 .884 0L9.354 4.47l-.988.78L5 1.884 1.884 5l3 3-.984.782Zm15.544 5.776-3.93-3.928-.783.985L18.116 15 15 18.116l-3.03-3.03-.784.984 3.372 3.372a.625.625 0 0 0 .884 0l4-4a.623.623 0 0 0 0-.884h.002ZM18.634 4.5 9.011 16.593a4.108 4.108 0 0 1-.51.66 4.472 4.472 0 0 1-3.147 1.373 10.731 10.731 0 0 0-3.572.718.871.871 0 0 1-1.128-1.125c.442-1.141.685-2.35.72-3.573A4.473 4.473 0 0 1 2.746 11.5c.11-.096.226-.187.346-.272a.622.622 0 0 1 .143-.169l12.255-9.687A2.236 2.236 0 0 1 18.633 4.5Zm-10.26 9.9A2.88 2.88 0 0 0 5.6 11.626h-.092c-.71.005-1.39.284-1.9.78a3.217 3.217 0 0 0-.984 2.261 11.738 11.738 0 0 1-.542 3.251 11.801 11.801 0 0 1 3.253-.54A3.214 3.214 0 0 0 7.6 16.39a2.746 2.746 0 0 0 .773-1.99Zm9.184-11.958a.989.989 0 0 0-1.3-.084L6.046 10.431a4.11 4.11 0 0 1 3.516 3.463l8.086-10.162a.984.984 0 0 0-.09-1.29Z\"/></svg>',\n },\n 'topic-beauty': {\n name: 'topic-beauty',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.613 3.627v-1.25h-.5A1.377 1.377 0 0 1 3.738 1V.5h-1.25V1a1.377 1.377 0 0 1-1.375 1.377h-.5v1.25h.5A1.376 1.376 0 0 1 2.488 5v.5h1.25V5a1.376 1.376 0 0 1 1.375-1.373h.5Zm13.248 1.249v1.25h-.3a.576.576 0 0 0-.575.576V7h-1.25v-.3a.576.576 0 0 0-.575-.576h-.3V4.876h.3a.575.575 0 0 0 .575-.575V4h1.25v.3a.575.575 0 0 0 .575.575h.3ZM13 6.544H7v-1.38a2.176 2.176 0 0 1 .6-1.51l3.065-3.23A1.316 1.316 0 0 1 12.13.1 1.39 1.39 0 0 1 13 1.4v5.144ZM6.624 8A1.627 1.627 0 0 0 5 9.626v8.749A1.627 1.627 0 0 0 6.624 20h6.75A1.627 1.627 0 0 0 15 18.375v-8.75A1.627 1.627 0 0 0 13.374 8h-6.75ZM12 17.025h-1.465V11H12v6.025Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.613 3.627v-1.25h-.5A1.377 1.377 0 0 1 3.738 1V.5h-1.25V1a1.377 1.377 0 0 1-1.375 1.377h-.5v1.25h.5A1.376 1.376 0 0 1 2.488 5v.5h1.25V5a1.376 1.376 0 0 1 1.375-1.373h.5Zm-2.5-.327a2.6 2.6 0 0 0-.3-.3c.108-.092.208-.192.3-.3.092.108.193.208.3.3a2.68 2.68 0 0 0-.3.3Zm15.748 1.576v1.25h-.3a.576.576 0 0 0-.575.575v.3h-1.25v-.3a.576.576 0 0 0-.575-.576h-.3V4.876h.3a.575.575 0 0 0 .575-.575v-.3h1.25v.3a.575.575 0 0 0 .575.574l.3.001ZM13.374 8H13V1.4A1.391 1.391 0 0 0 12.13.1a1.316 1.316 0 0 0-1.466.327L7.6 3.654a2.176 2.176 0 0 0-.6 1.51V8h-.375A1.627 1.627 0 0 0 5 9.626v8.749A1.627 1.627 0 0 0 6.624 20h6.75A1.627 1.627 0 0 0 15 18.375V9.626A1.627 1.627 0 0 0 13.374 8ZM8.25 5.164a.945.945 0 0 1 .25-.648l3.165-3.257a.14.14 0 0 1 .082.144V8H8.25V5.164Zm5.5 13.211a.375.375 0 0 1-.375.375h-6.75a.375.375 0 0 1-.375-.375V9.626a.375.375 0 0 1 .375-.375h6.75a.375.375 0 0 1 .375.375v8.749ZM10.734 11.1h1.25v5.821h-1.25v-5.82Z\"/></svg>',\n },\n 'topic-business': {\n name: 'topic-business',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3 19H1v-4.5h2V19Zm4-7H5v7h2v-7Zm8 0h-2v7h2v-7Zm4-5h-2v12h2V7ZM6 8.087l2.939 2.939a1.5 1.5 0 0 0 2.122 0l8.646-8.646L18.293.966 10 9.259l-2.939-2.94a1.538 1.538 0 0 0-2.122 0L.293 10.966l1.414 1.414L6 8.087Zm5 6.413H9V19h2v-4.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.25 19H1v-4.5h1.25V19Zm4-7H5v7h1.25v-7Zm8 0H13v7h1.25v-7Zm4-5H17v12h1.25V7ZM6 7.557l3.206 3.2a1.126 1.126 0 0 0 1.59 0l8.647-8.646-.884-.884L10 9.79l-3.2-3.2a1.153 1.153 0 0 0-1.59 0L.559 11.231l.884.884L6 7.557Zm4.25 6.943H9V19h1.25v-4.5Z\"/></svg>',\n },\n 'topic-careers': {\n name: 'topic-careers',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.61 11.39a7 7 0 0 0 2.34 1.545l-6.175 6.174a2.747 2.747 0 0 1-3.883-3.884l6.18-6.181c.349.878.872 1.676 1.538 2.346Zm10.223-6.859a1.128 1.128 0 0 0-1.852-.395L14.118 7A.807.807 0 0 1 13 7a.79.79 0 0 1 0-1.116l2.864-2.863a1.127 1.127 0 0 0 .3-1.04 1.112 1.112 0 0 0-.7-.812 5.363 5.363 0 0 0-3.539-.1 5.7 5.7 0 0 0-3.946 4.666 5.627 5.627 0 0 0 6.283 6.287 5.7 5.7 0 0 0 4.671-3.953 5.372 5.372 0 0 0-.099-3.538Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.784 12.331a7 7 0 0 0 1.165.6l-6.174 6.178a2.747 2.747 0 0 1-3.883-3.884l6.18-6.181c.162.409.362.8.6 1.171l-5.897 5.894a1.5 1.5 0 0 0 0 2.116 1.533 1.533 0 0 0 2.118 0l5.891-5.894Zm4.481-.309a5.7 5.7 0 0 0 4.671-3.953 5.372 5.372 0 0 0-.1-3.538 1.116 1.116 0 0 0-.813-.7 1.127 1.127 0 0 0-1.039.305L14.118 7A.807.807 0 0 1 13 7a.79.79 0 0 1 0-1.116l2.864-2.863a1.127 1.127 0 0 0 .3-1.04 1.112 1.112 0 0 0-.7-.812 5.363 5.363 0 0 0-3.539-.1 5.7 5.7 0 0 0-3.946 4.666 5.627 5.627 0 0 0 6.287 6.287Zm.58-9.75L12.117 5a2.043 2.043 0 0 0 0 2.884 2.088 2.088 0 0 0 2.883 0l2.727-2.726c.271.825.276 1.714.013 2.542a4.432 4.432 0 0 1-3.628 3.079A4.377 4.377 0 0 1 9.22 5.887a4.429 4.429 0 0 1 4.342-3.822c.437 0 .87.07 1.284.207Z\"/></svg>',\n },\n 'topic-cars': {\n name: 'topic-cars',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 1.9a8.1 8.1 0 0 1 5.728 13.827A8.1 8.1 0 0 1 4.272 4.273 8.048 8.048 0 0 1 10 1.9ZM10 0a10 10 0 0 0-7.071 17.071A10 10 0 0 0 17.07 2.929 9.932 9.932 0 0 0 10 0Zm6.864 8.829-.584-1.755-3.133 1.044a3.652 3.652 0 0 0-6.3 0L3.7 7.074l-.581 1.755L6.322 9.9v.1a3.683 3.683 0 0 0 2.758 3.56v3.357h1.85V13.56A3.681 3.681 0 0 0 13.682 10c0-.037 0-.073-.005-.109l3.187-1.062Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.071 2.929A10 10 0 0 0 2.93 17.07 10 10 0 0 0 17.071 2.929Zm-.884 13.258A8.75 8.75 0 0 1 3.813 3.813a8.75 8.75 0 0 1 12.374 12.374Zm-.1-8.733-3.08 1.028a3.356 3.356 0 0 0-6.016.005l-3.1-1.033-.39 1.185 3.148 1.05c-.01.1-.032.2-.032.31a3.384 3.384 0 0 0 2.758 3.32v3.3h1.25v-3.3a3.383 3.383 0 0 0 2.757-3.32c0-.107-.022-.21-.032-.315l3.135-1.045-.398-1.185ZM10 12.132a2.132 2.132 0 1 1 0-4.264 2.132 2.132 0 0 1 0 4.264Z\"/></svg>',\n },\n 'topic-celebrity': {\n name: 'topic-celebrity',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.944 7.658a1.089 1.089 0 0 0-.808-.734l-5.378-1.198-2.812-4.717a1.14 1.14 0 0 0-1.9 0L6.238 5.722.862 6.924a1.1 1.1 0 0 0-.588 1.799l3.639 4.114-.515 5.459a1.098 1.098 0 0 0 1.534 1.113l5.066-2.172 5.062 2.172c.139.06.288.09.438.09a1.1 1.1 0 0 0 1.1-1.204l-.51-5.456 3.639-4.114a1.089 1.089 0 0 0 .217-1.067ZM9.998 13.98a3.002 3.002 0 0 1-2.772-1.85 2.994 2.994 0 0 1 2.187-4.086 3.003 3.003 0 0 1 3.08 1.274 2.995 2.995 0 0 1-2.495 4.662Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 13.979a3.003 3.003 0 0 1-2.772-1.85 2.993 2.993 0 0 1 2.187-4.086 3.004 3.004 0 0 1 3.08 1.274 2.994 2.994 0 0 1-.373 3.784A3.003 3.003 0 0 1 10 13.98Zm0-4.745a1.752 1.752 0 0 0-1.617 1.08 1.746 1.746 0 0 0 1.275 2.383 1.752 1.752 0 0 0 2.092-1.715A1.748 1.748 0 0 0 10 9.234ZM15.5 19.497c-.15 0-.3-.03-.438-.09L10 17.235l-5.063 2.172a1.103 1.103 0 0 1-1.447-.555 1.097 1.097 0 0 1-.092-.558l.512-5.456L.274 8.724a1.098 1.098 0 0 1 .588-1.798l5.377-1.199 2.813-4.719a1.14 1.14 0 0 1 1.9 0l2.809 4.713 5.378 1.199a1.1 1.1 0 0 1 .838 1.294c-.038.187-.125.36-.25.504l-3.64 4.114.51 5.455a1.097 1.097 0 0 1-1.1 1.204l.004.006ZM10 15.977c.15 0 .298.03.436.088l4.894 2.097-.494-5.272a1.099 1.099 0 0 1 .27-.829l3.515-3.975-5.194-1.16a1.101 1.101 0 0 1-.71-.515L10 1.858 7.28 6.414a1.1 1.1 0 0 1-.707.512L1.38 8.086l3.515 3.975a1.098 1.098 0 0 1 .27.832l-.494 5.27 4.894-2.098c.138-.059.286-.089.436-.088Z\"/></svg>',\n },\n 'topic-craftsdiy': {\n name: 'topic-craftsdiy',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.95 6.984v-1.87A1.121 1.121 0 0 0 15.825 4h-2.7A1.121 1.121 0 0 0 12 5.114V7H8V3h1.5V1h-8A1.5 1.5 0 0 0 0 2.5v5h.025A.589.589 0 0 0 0 7.625v7.75A.625.625 0 0 0 .625 16h.051a4.6 4.6 0 0 1-.051-.5 4.875 4.875 0 1 1 9.75 0 4.605 4.605 0 0 1-.051.5h.3a4.375 4.375 0 0 1 8.749-.01.62.62 0 0 0 .576-.615v-4.886a3.584 3.584 0 0 0-2.999-3.505ZM6 7H2V3h4v4Zm-.375 9.25h3.159a3.375 3.375 0 1 1 0-1.5H5.625a.75.75 0 1 0 0 1.5Zm12.25-.25a2.868 2.868 0 0 1-5.725.25h.175a.75.75 0 0 0 .75-.75.741.741 0 0 0-.662-.732A2.869 2.869 0 0 1 17.875 16Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.95 6.984v-1.87A1.121 1.121 0 0 0 15.825 4h-2.7A1.121 1.121 0 0 0 12 5.114V7H8V2.325h1.125v-1.25h-8A1.127 1.127 0 0 0 0 2.2v5.3h.025A.589.589 0 0 0 0 7.625v7.75A.625.625 0 0 0 .625 16h1.426a3.487 3.487 0 0 0 6.886.125h3.076A2.995 2.995 0 0 0 18 16h1.325a.625.625 0 0 0 .625-.625V10.49a3.584 3.584 0 0 0-3-3.505ZM6.75 2.325V7h-5.5V2.325h5.5ZM5.5 17.75a2.25 2.25 0 1 1 2.151-2.875H5.625v1.25h2.026A2.247 2.247 0 0 1 5.5 17.75Zm9.5 0a1.75 1.75 0 1 1 0-3.499 1.75 1.75 0 0 1 0 3.5Zm3.7-3h-.981a2.99 2.99 0 0 0-5.5.125H8.937a3.494 3.494 0 0 0-6.852-.125H1.25v-6.5h10.875a1.17 1.17 0 0 0 1.125-1.182V5.25h2.45v2.307a.625.625 0 0 0 .625.625A2.344 2.344 0 0 1 18.7 10.49v4.261Z\"/></svg>',\n },\n 'topic-crypto': {\n name: 'topic-crypto',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m14.439 10.312-1.8 3.126a1.127 1.127 0 0 1-.978.562H8.34a1.126 1.126 0 0 1-.974-.562l-1.8-3.126a.621.621 0 0 1 0-.624l1.8-3.126A1.126 1.126 0 0 1 8.34 6h3.32a1.126 1.126 0 0 1 .974.562l1.8 3.126a.622.622 0 0 1 .004.624ZM1.029 9h2.48a1.126 1.126 0 0 0 .974-.562l1.444-2.5a1.132 1.132 0 0 0 0-1.126l-1.588-2.75a.61.61 0 0 0-.57-.312.627.627 0 0 0-.54.363l-2.767 6A.625.625 0 0 0 1.03 9Zm3.454 2.562A1.125 1.125 0 0 0 3.509 11h-2.48a.625.625 0 0 0-.567.887l2.768 6a.627.627 0 0 0 .54.363h.03a.626.626 0 0 0 .542-.312l1.588-2.75a1.132 1.132 0 0 0 0-1.126l-1.447-2.5Zm11.036-3.124a1.125 1.125 0 0 0 .974.562h2.479a.625.625 0 0 0 .568-.887l-2.768-6a.625.625 0 0 0-1.11-.05l-1.587 2.75a1.131 1.131 0 0 0 0 1.125l1.444 2.5ZM18.972 11h-2.48a1.125 1.125 0 0 0-.973.562l-1.444 2.5a1.131 1.131 0 0 0 0 1.126l1.588 2.75a.624.624 0 0 0 .54.312h.029a.627.627 0 0 0 .54-.363l2.768-6a.626.626 0 0 0-.568-.887Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.66 14H8.34a1.126 1.126 0 0 1-.974-.562l-1.8-3.125a.623.623 0 0 1 0-.625l1.8-3.125A1.125 1.125 0 0 1 8.34 6h3.32a1.125 1.125 0 0 1 .974.563l1.8 3.125a.623.623 0 0 1 0 .625l-1.8 3.125a1.127 1.127 0 0 1-.974.562Zm-3.247-1.25h3.174L13.175 10l-1.588-2.75H8.413L6.825 10l1.588 2.75Zm-3.93-4.312 1.443-2.5a1.13 1.13 0 0 0 0-1.125l-1.9-3.292-1.083.625 1.864 3.229-1.37 2.375H.4V9h3.1a1.126 1.126 0 0 0 .982-.562Zm1.443 6.75a1.13 1.13 0 0 0 0-1.125l-1.444-2.5A1.125 1.125 0 0 0 3.508 11H.4v1.25h3.036l1.371 2.375-1.864 3.229 1.083.625 1.9-3.291ZM19.6 7.75h-3.036l-1.37-2.375 1.863-3.229-1.083-.625-1.9 3.292a1.13 1.13 0 0 0 0 1.125l1.444 2.5a1.126 1.126 0 0 0 .974.562h3.1l.008-1.25Zm-2.539 10.1-1.864-3.229 1.371-2.375H19.6V11h-3.1a1.125 1.125 0 0 0-.974.563l-1.444 2.5a1.13 1.13 0 0 0 0 1.125l1.9 3.291 1.08-.629Z\"/></svg>',\n },\n 'topic-culture': {\n name: 'topic-culture',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1 3.625a2.625 2.625 0 0 1 5.25 0 2.5 2.5 0 0 1-.029.289 4.092 4.092 0 0 1 4.232.883l1.757 1.582-1.339 1.485-1.795-1.617a2.025 2.025 0 0 0-2.865-.036 1.994 1.994 0 0 0-.527.927l-.243.97L3.5 7.624l.243-.97c.038-.146.085-.29.139-.43-.086.008-.17.026-.258.026A2.629 2.629 0 0 1 1 3.625Zm12.789 2.586a1.985 1.985 0 0 1 .422 2.203c-.107.25-.262.475-.458.663l-1.617 1.794 1.485 1.339 1.579-1.756a3.96 3.96 0 0 0 .909-4.231c.087.014.175.023.263.027a2.625 2.625 0 1 0-2.622-2.625c.004.086.013.173.026.258-.14-.054-.285-.1-.431-.139l-.971-.244-.482 1.941.97.242c.351.088.672.27.927.528Zm2.586 7.539c-.088 0-.172.018-.258.026.054-.14.1-.284.139-.43l.243-.97-1.94-.484-.243.97c-.088.351-.27.672-.527.927a2.024 2.024 0 0 1-2.865-.036l-1.795-1.617-1.339 1.485L9.547 15.2a3.958 3.958 0 0 0 4.23.909 2.547 2.547 0 0 0-.027.263 2.625 2.625 0 1 0 2.625-2.625v.003Zm-10.164.039a1.986 1.986 0 0 1-.422-2.203c.107-.25.262-.475.458-.663l1.617-1.794L6.379 7.79 4.8 9.546a3.959 3.959 0 0 0-.909 4.231 2.549 2.549 0 0 0-.263-.027 2.626 2.626 0 1 0 2.622 2.625 2.45 2.45 0 0 0-.026-.258c.14.054.285.1.431.139l.971.242.482-1.941-.97-.242a1.986 1.986 0 0 1-.927-.526Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.625 6.25c.237-.003.473-.04.7-.107-.212.465-.323.97-.325 1.482v.625h1.25v-.625a2.357 2.357 0 0 1 .7-1.679 2.416 2.416 0 0 1 3.381.022l1.517 1.367.837-.929-1.497-1.344a3.714 3.714 0 0 0-4.052-.713 2.59 2.59 0 0 0 .114-.724A2.625 2.625 0 1 0 3.625 6.25Zm0-4a1.375 1.375 0 1 1 0 2.75 1.375 1.375 0 0 1 0-2.75Zm10.43 3.7a2.36 2.36 0 0 1 .512 2.601 2.385 2.385 0 0 1-.53.778l-1.367 1.516.929.837 1.343-1.493a3.6 3.6 0 0 0 .739-4.045c.227.068.463.104.7.107a2.625 2.625 0 1 0-2.631-2.626c.003.237.04.473.107.7A3.611 3.611 0 0 0 12.375 4h-.625v1.25h.625a2.363 2.363 0 0 1 1.68.696v.004Zm2.32-3.7a1.375 1.375 0 1 1 0 2.75 1.375 1.375 0 0 1 0-2.75Zm0 11.5c-.237.003-.473.04-.7.107.212-.465.323-.97.325-1.482v-.625h-1.25v.625a2.356 2.356 0 0 1-.7 1.679 2.416 2.416 0 0 1-3.381-.022l-1.513-1.367-.837.929 1.493 1.344a3.6 3.6 0 0 0 4.045.737 2.578 2.578 0 0 0-.107.7 2.625 2.625 0 1 0 2.625-2.625Zm0 4a1.375 1.375 0 1 1 0-2.75 1.375 1.375 0 0 1 0 2.75Zm-10.43-3.7a2.36 2.36 0 0 1-.512-2.601c.123-.292.303-.557.53-.778l1.372-1.515-.929-.837-1.344 1.493a3.6 3.6 0 0 0-.738 4.045 2.562 2.562 0 0 0-.7-.107 2.625 2.625 0 1 0 2.626 2.625 2.564 2.564 0 0 0-.107-.7c.465.212.97.323 1.482.325h.625v-1.25h-.625a2.364 2.364 0 0 1-1.68-.696v-.004Zm-2.32 3.7a1.375 1.375 0 1 1 0-2.75 1.375 1.375 0 0 1 0 2.75Z\"/></svg>',\n },\n 'topic-diy': {\n name: 'topic-diy',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.875 8H2.125A1.127 1.127 0 0 1 1 6.875v-4.75A1.127 1.127 0 0 1 2.125 1h13.75A1.127 1.127 0 0 1 17 2.125v4.75A1.127 1.127 0 0 1 15.875 8ZM18 3.5v4.4a1.078 1.078 0 0 1-.937.972l-6.519 1.3A3.074 3.074 0 0 0 8 13.1v.022a1.625 1.625 0 0 0-1 1.5v2.75A1.627 1.627 0 0 0 8.625 19h.75A1.627 1.627 0 0 0 11 17.375v-2.75a1.625 1.625 0 0 0-1-1.5V13.1a1.078 1.078 0 0 1 .937-.972l6.519-1.3A3.074 3.074 0 0 0 20 7.9V3.5h-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 6.875v-4.75A1.127 1.127 0 0 0 15.875 1H2.125A1.127 1.127 0 0 0 1 2.125v4.75A1.127 1.127 0 0 0 2.125 8h13.75A1.127 1.127 0 0 0 17 6.875Zm-1.25-.125H2.25v-4.5h13.5v4.5ZM18 3.875V7.9a1.4 1.4 0 0 1-1.177 1.34l-6.276 1.3a2.677 2.677 0 0 0-2.165 2.485A1.622 1.622 0 0 0 7 14.625v2.75A1.627 1.627 0 0 0 8.625 19h1a1.627 1.627 0 0 0 1.625-1.625v-2.75A1.626 1.626 0 0 0 9.644 13a1.406 1.406 0 0 1 1.156-1.236l6.276-1.3A2.677 2.677 0 0 0 19.25 7.9V3.875H18Zm-8 10.75v2.75a.375.375 0 0 1-.375.375h-1a.375.375 0 0 1-.375-.375v-2.75a.375.375 0 0 1 .375-.375h1a.375.375 0 0 1 .375.375Z\"/></svg>',\n },\n 'topic-entertainment': {\n name: 'topic-entertainment',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M.163 12.5h9.164c-.006.025-.011.06-.017.082a4.712 4.712 0 0 1-5.41 3.351A4.676 4.676 0 0 1 .163 12.5ZM20 9.5H0V11h20V9.5Zm0-3.388A1.131 1.131 0 0 0 18.854 5H1.146A1.131 1.131 0 0 0 0 6.112V8h20V6.112Zm-9.3 6.521a4.513 4.513 0 0 0 2.955 3.111 5.381 5.381 0 0 0 1.633.256 4.845 4.845 0 0 0 2.879-.932 4.4 4.4 0 0 0 1.721-2.568h-9.21c.01.044.014.086.022.133Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.854 5H1.146A1.131 1.131 0 0 0 0 6.112v5.257a4.673 4.673 0 0 0 3.9 4.564 4.71 4.71 0 0 0 5.41-3.35c.028-.108.053-.24.079-.385.155-.847.295-1 .611-1 .355 0 .478.125.608.952a4.513 4.513 0 0 0 3.055 3.592 5.38 5.38 0 0 0 1.625.258 4.845 4.845 0 0 0 2.879-.932 4.38 4.38 0 0 0 1.767-2.819H20V6.112A1.131 1.131 0 0 0 18.854 5ZM4.1 14.7a3.414 3.414 0 0 1-2.715-2.45H8.1l-.013.061a3.5 3.5 0 0 1-3.987 2.39Zm13.333-.638a3.746 3.746 0 0 1-3.39.491A3.269 3.269 0 0 1 11.9 12.26v-.01h6.767a3.183 3.183 0 0 1-1.238 1.811l.004.001ZM18.75 11h-7.158A1.6 1.6 0 0 0 10 9.95 1.61 1.61 0 0 0 8.436 11H1.25V9.25h17.5V11ZM1.25 8V6.25h17.5V8H1.25Z\"/></svg>',\n },\n 'topic-ethics': {\n name: 'topic-ethics',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5 1.625v16.75a.625.625 0 0 1-.625.625H3.25v1H2v-1H.625A.625.625 0 0 1 0 18.375V1.625A.625.625 0 0 1 .625 1H2V0h1.25v1h1.125A.625.625 0 0 1 5 1.625ZM19.375 1H18.25V0H17v1h-1.375a.625.625 0 0 0-.625.625v16.75a.624.624 0 0 0 .625.625H17v1h1.25v-1h1.125a.624.624 0 0 0 .625-.625V1.625A.625.625 0 0 0 19.375 1Zm-5.75 2v14h-7.25V3h7.25Zm-1.736 8H8.111v2h3.778v-2Zm0-4H8.111v2h3.778V7Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.375 1H18.25V0H17v1h-1.375a.625.625 0 0 0-.625.625V3H5V1.625A.625.625 0 0 0 4.375 1H3.25V0H2v1H.625A.625.625 0 0 0 0 1.625v16.75A.625.625 0 0 0 .625 19H2v1h1.25v-1h1.125A.625.625 0 0 0 5 18.375V17h10v1.375a.624.624 0 0 0 .625.625H17v1h1.25v-1h1.125a.624.624 0 0 0 .625-.625V1.625A.625.625 0 0 0 19.375 1ZM3.75 17.75h-2.5V2.25h2.5v15.5Zm1.25-2V4.25h10v11.5H5Zm13.75 2h-2.5V2.25h2.5v15.5ZM7.782 7.025h4.436v1.25H7.782v-1.25Zm0 4h4.436v1.25H7.782v-1.25Z\"/></svg>',\n },\n 'topic-family': {\n name: 'topic-family',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.807 6.6c-.015-.155-.049-.3-.049-.464a5.177 5.177 0 0 1 5.265-5.076c.2.008.401.028.6.059L11.8 0l1.385 1.435-.41.391a5.022 5.022 0 0 1 2.517 4.305c0 .159-.034.309-.05.464a4.252 4.252 0 0 0-2-.015c.03-.148.046-.298.05-.449a3.18 3.18 0 0 0-3.27-3.081 3.18 3.18 0 0 0-3.264 3.081c.004.151.02.301.048.45a4.261 4.261 0 0 0-1.999.019Zm3.213-.752a.591.591 0 0 0 .44.179.672.672 0 0 0 .24-.04.7.7 0 0 0 .34-.338.734.734 0 0 0 0-.478.63.63 0 0 0-1.02-.2.594.594 0 0 0-.14.677.657.657 0 0 0 .14.2Zm3.2 0a.6.6 0 0 0 .2.139.672.672 0 0 0 .24.04.624.624 0 0 0 .44-.179.902.902 0 0 0 .14-.2.667.667 0 0 0 .04-.239.585.585 0 0 0-.18-.438.63.63 0 0 0-.88 0 .594.594 0 0 0-.14.677.659.659 0 0 0 .14.2Zm-4.136 2.27a2.888 2.888 0 0 0-2.792.154A2.7 2.7 0 0 0 3 10.568v.837l5.242-2.643-1.158-.644Zm8.624.154a2.891 2.891 0 0 0-2.792-.154l-2.087 1v.009L3 13.076a6.913 6.913 0 0 0 .908 3.344L16.92 9.947a2.718 2.718 0 0 0-1.212-1.675ZM4.8 17.649a6.974 6.974 0 0 0 4.986 2.35h.218a7.07 7.07 0 0 0 4.957-1.983A6.568 6.568 0 0 0 17 13.264v-1.688L4.8 17.649Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.708 8.216a2.872 2.872 0 0 0-2.792-.155l-3.13 1.508-2.7-1.508a2.875 2.875 0 0 0-2.792.155A2.717 2.717 0 0 0 3 10.522v2.452A7.057 7.057 0 0 0 9.786 20h.218a7.049 7.049 0 0 0 4.957-1.994A6.61 6.61 0 0 0 17 13.23v-2.71a2.717 2.717 0 0 0-1.292-2.305ZM4.25 10.522a1.454 1.454 0 0 1 .707-1.248c.263-.166.568-.254.879-.254.232 0 .462.05.672.149l1.9 1.063-4.158 2.005v-1.715Zm9.209-1.335a1.631 1.631 0 0 1 1.584.087 1.454 1.454 0 0 1 .707 1.248v.29L5.1 15.929a5.728 5.728 0 0 1-.811-2.321l9.17-4.42Zm.632 7.923a5.818 5.818 0 0 1-4.269 1.638 5.687 5.687 0 0 1-3.954-1.8L15.75 12.2v1.03a5.377 5.377 0 0 1-1.659 3.88ZM5.174 6.453c-.012-.13-.041-.255-.041-.39a4.813 4.813 0 0 1 4.89-4.72c.248.006.495.03.74.073L12.057.174l.865.9-.783.752a4.7 4.7 0 0 1 2.775 4.236c0 .133-.03.259-.041.389a4.257 4.257 0 0 0-1.25-.008c.021-.126.035-.253.041-.381a3.563 3.563 0 0 0-3.641-3.47 3.562 3.562 0 0 0-3.64 3.47c.006.128.02.255.04.382a4.216 4.216 0 0 0-1.249.009ZM8.9 4.9a.588.588 0 0 1 .18.44.672.672 0 0 1-.04.24.9.9 0 0 1-.14.2.62.62 0 0 1-.44.18.588.588 0 0 1-.44-.18.661.661 0 0 1-.14-.2.6.6 0 0 1 .14-.68.628.628 0 0 1 .88 0Zm3.2 0a.586.586 0 0 1 .18.44.672.672 0 0 1-.04.24.902.902 0 0 1-.14.2.62.62 0 0 1-.44.18.637.637 0 0 1-.24-.04.6.6 0 0 1-.2-.14.6.6 0 0 1-.14-.68.483.483 0 0 1 .14-.2.483.483 0 0 1 .2-.14.618.618 0 0 1 .68.14Z\"/></svg>',\n },\n 'topic-fashion': {\n name: 'topic-fashion',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.5 18h-15A2.5 2.5 0 0 1 1 13.5l6.742-5.056 1.2 1.6L2.2 15.1a.5.5 0 0 0 .3.9h15a.5.5 0 0 0 .3-.9l-7.2-5.406A13.978 13.978 0 0 1 8.276 7.5 5.452 5.452 0 0 1 7 4a3 3 0 1 1 6 0v1h-2V4a1 1 0 0 0-2 0c0 .81.286 1.594.807 2.215.588.7 1.253 1.33 1.985 1.879L19 13.5a2.5 2.5 0 0 1-1.5 4.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.81 18H2.19A2.142 2.142 0 0 1 .1 16.512a2.031 2.031 0 0 1 .8-2.3L7.6 9.47l.722 1.02-6.7 4.743a.782.782 0 0 0-.325.9.9.9 0 0 0 .9.617H17.81a.9.9 0 0 0 .9-.617.784.784 0 0 0-.324-.9l-7.5-5.315a13.932 13.932 0 0 1-2.347-2.1 4.859 4.859 0 0 1-1.246-3.225A2.654 2.654 0 0 1 10 2a2.654 2.654 0 0 1 2.707 2.592v.625h-1.25v-.625A1.4 1.4 0 0 0 10 3.25a1.4 1.4 0 0 0-1.457 1.342 3.6 3.6 0 0 0 .925 2.394c.635.717 1.35 1.36 2.132 1.914l7.505 5.315a2.032 2.032 0 0 1 .794 2.3A2.141 2.141 0 0 1 17.809 18Z\"/></svg>',\n },\n topic: {\n name: 'topic',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.832 18.418-2.266-2.266A3.45 3.45 0 0 0 18 14.5a3.5 3.5 0 1 0-3.5 3.5 3.45 3.45 0 0 0 1.652-.434l2.266 2.266 1.414-1.414ZM14.5 12.725a1.775 1.775 0 1 1 0 3.55 1.775 1.775 0 0 1 0-3.55ZM9 5.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Zm2 2.375v-4.75A1.127 1.127 0 0 1 12.125 2h4.75A1.127 1.127 0 0 1 18 3.125v4.75A1.127 1.127 0 0 1 16.875 9h-4.75A1.127 1.127 0 0 1 11 7.875Zm-2 4.25v4.75A1.127 1.127 0 0 1 7.875 18h-4.75A1.127 1.127 0 0 1 2 16.875v-4.75A1.127 1.127 0 0 1 3.125 11h4.75A1.127 1.127 0 0 1 9 12.125Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.567 18.683-2.194-2.194a3.508 3.508 0 1 0-.884.885l2.194 2.193.884-.884ZM14.5 16.75a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5ZM5.5 2a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7Zm0 5.75a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5ZM12.125 9h4.75A1.127 1.127 0 0 0 18 7.875v-4.75A1.127 1.127 0 0 0 16.875 2h-4.75A1.127 1.127 0 0 0 11 3.125v4.75A1.127 1.127 0 0 0 12.125 9Zm.125-5.75h4.5v4.5h-4.5v-4.5ZM7.875 11h-4.75A1.127 1.127 0 0 0 2 12.125v4.75A1.127 1.127 0 0 0 3.125 18h4.75A1.127 1.127 0 0 0 9 16.875v-4.75A1.127 1.127 0 0 0 7.875 11Zm-.125 5.75h-4.5v-4.5h4.5v4.5Z\"/></svg>',\n },\n 'topic-fitness': {\n name: 'topic-fitness',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 12.313v.062h-1.25v-.062h-7.69l2.084-2.085-1.061-1.06-3.143 3.145H6.894l3.125-3.128-1.061-1.06-4.184 4.188H1.25v.062H0v-4.36a1.129 1.129 0 0 1 .545-.974 1.147 1.147 0 0 1 1.134-.035 4.484 4.484 0 0 0 4.768-.38c.341-.328.665-.674.97-1.037L6.4 4.374a.625.625 0 0 1 .921-.844L9.31 5.524l8.363 3.35A3.685 3.685 0 0 1 20 12.314ZM20 14H0v2h20v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 12.313v.625h-1.25v-.625a2.443 2.443 0 0 0-1.542-2.28l-8.482-3.4a.6.6 0 0 1-.209-.133l-.126-.126c-.353.421-.731.822-1.131 1.2a5.738 5.738 0 0 1-6.01.615v4.748H0V8.014a1.129 1.129 0 0 1 .545-.973 1.147 1.147 0 0 1 1.134-.035 4.482 4.482 0 0 0 4.768-.38c.373-.36.726-.741 1.058-1.14L5.991 3.973l.884-.884L9.31 5.524l8.363 3.35A3.685 3.685 0 0 1 20 12.313Zm-15.05 0 .884.883 4.008-4.011-.884-.885-4.008 4.013Zm8.017-2.086-.884-.884-2.967 2.97.884.887 2.967-2.973ZM0 16h20v-1.25H0V16Z\"/></svg>',\n },\n 'topic-food': {\n name: 'topic-food',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6 5H4V0h2v5Zm1 0a2 2 0 0 1-1.986 2h-.028A2 2 0 0 1 3 5V0H1v5a4 4 0 0 0 3 3.859V20h2V8.859A4 4 0 0 0 9 5V0H7v5Zm10-5a6.007 6.007 0 0 0-6 6v4a4 4 0 0 0 2.667 3.772l.942.333.667-1.885-.943-.333A2 2 0 0 1 13 10V6a4.006 4.006 0 0 1 3-3.873V20h2V1a1 1 0 0 0-1-1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.75.376H9V5a3.624 3.624 0 0 1-3 3.563v11.063H4.75V8.563A3.624 3.624 0 0 1 1.75 5V.376H3V5a2.375 2.375 0 1 0 4.75 0V.376ZM6 .376H4.75v5.25H6V.376Zm11.375 0A5.511 5.511 0 0 0 12 6v4a3.629 3.629 0 0 0 2.308 3.416l.586.217.435-1.172-.586-.217A2.373 2.373 0 0 1 13.25 10V6a4.309 4.309 0 0 1 3.5-4.324v17.95H18V1a.625.625 0 0 0-.625-.624Z\"/></svg>',\n },\n 'topic-funny': {\n name: 'topic-funny',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.053 6.5h-2v-1a3.5 3.5 0 1 1 7 0v1h-2v-1a1.5 1.5 0 0 0-3 0v1Zm12.5-4.5a3.5 3.5 0 0 0-3.5 3.5v1h2v-1a1.5 1.5 0 1 1 3 0v1h2v-1a3.5 3.5 0 0 0-3.5-3.5Zm2.822 7H1.625A.625.625 0 0 0 1 9.625C1 14.243 5.038 18 10 18s9-3.757 9-8.375A.625.625 0 0 0 18.375 9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.678 5.875h-1.25V5.25a1.875 1.875 0 0 0-3.75 0v.625h-1.25V5.25a3.125 3.125 0 1 1 6.25 0v.625Z\"/><path d=\"M18.678 5.875h-1.25V5.25a1.875 1.875 0 1 0-3.75 0v.625h-1.25V5.25a3.125 3.125 0 0 1 6.25 0v.625Z\"/><path d=\"M10.053 17.875A8.635 8.635 0 0 1 1.428 9.25a.625.625 0 0 1 .625-.625h16a.625.625 0 0 1 .625.625 8.635 8.635 0 0 1-8.625 8.625Zm-7.348-8a7.375 7.375 0 0 0 14.7 0h-14.7Z\"/></svg>',\n },\n 'topic-gender': {\n name: 'topic-gender',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 16h2.646v2H10v2H8v-2H5.437v-2H8v-.84a6 6 0 0 1-4.5-8.31l.4-.917 1.833.8-.4.916a4.008 4.008 0 0 0 2.855 5.518H9.82c.269-.056.53-.14.781-.25l.916-.4.8 1.833-.917.4a5.945 5.945 0 0 1-1.4.41L10 16Zm6.48-16h-4.647v2h2.753l-2.26 2.26A5.993 5.993 0 0 0 6.6 3.75l-.917.4.8 1.833.916-.4a4 4 0 0 1 5.267 5.267l-.4.916 1.833.8.4-.917a5.975 5.975 0 0 0-.722-6.014L16 3.414v2.753h2V1.521A1.522 1.522 0 0 0 16.48 0Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.625 16.667h2.646v1.25H9.625V20h-1.25v-2.083H5.812v-1.25h2.563v-1.45A6.008 6.008 0 0 1 3 9.25a5.947 5.947 0 0 1 .5-2.4l.25-.573 1.145.5-.25.573a4.752 4.752 0 0 0 6.255 6.255l.573-.25.5 1.145-.573.25a5.929 5.929 0 0 1-1.775.468v1.449ZM16.854 0h-4.271v1.25h3.283l-3.235 3.235A5.976 5.976 0 0 0 6.6 3.75L6.027 4l.5 1.145.573-.25a4.752 4.752 0 0 1 6.254 6.254l-.25.573 1.145.5.25-.573a5.986 5.986 0 0 0-.957-6.309l3.208-3.206v3.283H18V1.146A1.147 1.147 0 0 0 16.854 0Z\"/></svg>',\n },\n 'topic-health': {\n name: 'topic-health',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.625 2.946H4.375V1h11.25v1.946ZM13.375 4h-6.75A4.631 4.631 0 0 0 2 8.625v6.75A4.631 4.631 0 0 0 6.625 20h6.75A4.631 4.631 0 0 0 18 15.375v-6.75A4.631 4.631 0 0 0 13.375 4Zm-.156 9h-2.194v2.248h-2.05V13H6.781v-2h2.194V8.809h2.05V11h2.194v2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.625 2.25H4.375V1h11.25v1.25ZM18 8.625v6.75A4.631 4.631 0 0 1 13.375 20h-6.75A4.631 4.631 0 0 1 2 15.375v-6.75A4.631 4.631 0 0 1 6.625 4h6.75A4.631 4.631 0 0 1 18 8.625Zm-1.25 0a3.38 3.38 0 0 0-3.375-3.375h-6.75A3.379 3.379 0 0 0 3.25 8.625v6.75a3.379 3.379 0 0 0 3.375 3.375h6.75a3.38 3.38 0 0 0 3.375-3.375v-6.75Zm-6.125.484h-1.25V11.4H7.081v1.25h2.294v2.3h1.25v-2.297h2.294V11.4h-2.294V9.109Z\"/></svg>',\n },\n 'topic-help': {\n name: 'topic-help',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.379 1.011H4.621A4.626 4.626 0 0 0 0 5.632v5.76a4.626 4.626 0 0 0 4.621 4.62h2L10 19.251l3.376-3.24h2A4.626 4.626 0 0 0 20 11.391v-5.76a4.626 4.626 0 0 0-4.621-4.62Zm-5.23 12.65a1 1 0 0 1-1.41 0 1.014 1.014 0 0 1 0-1.42l.15-.12a.705.705 0 0 1 .17-.09.812.812 0 0 1 .19-.06.856.856 0 0 1 .39 0c.066.008.13.029.19.06.061.02.119.05.17.09a.989.989 0 0 1 .149 1.54h.001Zm1.539-4.9c-.776.4-1.046.654-1.141 1.133 0 .006-.044.261-.046.267a.925.925 0 0 1-.227.422.911.911 0 0 1-.661.265.89.89 0 0 1-.665-.266.957.957 0 0 1-.276-.673c.004-.15.035-.3.093-.439A2.778 2.778 0 0 1 10.1 8c.728-.41 1.059-.7 1.059-1.35 0-.53-.45-.9-1.245-.9a2.989 2.989 0 0 0-1.753.65.832.832 0 0 1-1.081-.025l-.065-.06A.853.853 0 0 1 7.111 5a4.987 4.987 0 0 1 3.028-.95c2.012 0 3.111 1.018 3.111 2.422a2.452 2.452 0 0 1-1.562 2.291V8.76Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.45 13.95a1.033 1.033 0 0 1-.71-.29 1.014 1.014 0 0 1 0-1.42 1.033 1.033 0 0 1 1.409 0 1 1 0 0 1-.699 1.71Zm.689-9.9A4.987 4.987 0 0 0 7.111 5a.853.853 0 0 0-.1 1.313l.065.061a.832.832 0 0 0 1.085.026 2.987 2.987 0 0 1 1.752-.658c.8 0 1.245.371 1.245.9 0 .649-.331.94-1.059 1.351a2.772 2.772 0 0 0-1.333 1.481c-.058.14-.089.288-.093.439 0 .252.099.494.276.673a.89.89 0 0 0 .665.266.913.913 0 0 0 .661-.265.925.925 0 0 0 .227-.422c0-.006.046-.261.046-.267.095-.479.365-.733 1.141-1.134a2.452 2.452 0 0 0 1.562-2.29c-.001-1.405-1.1-2.424-3.112-2.424ZM13.376 16h2A4.626 4.626 0 0 0 20 11.379V5.621A4.626 4.626 0 0 0 15.379 1H4.621A4.626 4.626 0 0 0 0 5.621v5.758A4.626 4.626 0 0 0 4.621 16H7.5v-1.25H4.621a3.375 3.375 0 0 1-3.371-3.371V5.621A3.375 3.375 0 0 1 4.621 2.25h10.758a3.375 3.375 0 0 1 3.371 3.371v5.758a3.376 3.376 0 0 1-3.371 3.371h-2.5l-3.763 3.607.866.9L13.376 16Z\"/></svg>',\n },\n 'topic-history': {\n name: 'topic-history',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 19H2v-2h16v2ZM17 4.684V4H3v.684a5.85 5.85 0 0 0 3.28 5.234A5.852 5.852 0 0 0 3 15.153V16h4.015L10 13.059 12.985 16H17v-.847a5.853 5.853 0 0 0-3.28-5.235A5.85 5.85 0 0 0 17 4.684ZM18 1H2v2h16V1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.625 19H2.375v-1.25h15.25V19ZM17 4.684V3.625h-1.25v1.059a4.6 4.6 0 0 1-2.8 4.215l-1.062.442a.626.626 0 0 0 0 1.155l1.055.438a4.609 4.609 0 0 1 2.81 4.219v1.222H17v-1.222a5.853 5.853 0 0 0-3.28-5.235A5.85 5.85 0 0 0 17 4.684Zm-7 9.253 2.475 2.438h1.783l-3.82-3.761a.625.625 0 0 0-.876 0l-3.8 3.761h1.763L10 13.937ZM3 3.625v1.059a5.85 5.85 0 0 0 3.28 5.234A5.852 5.852 0 0 0 3 15.153v1.222h1.25v-1.222a4.6 4.6 0 0 1 2.8-4.215l1.065-.438a.626.626 0 0 0 0-1.155L7.06 8.9a4.609 4.609 0 0 1-2.81-4.216V3.625H3ZM17.625 1H2.375v1.25h15.25V1Z\"/></svg>',\n },\n 'topic-hobbies': {\n name: 'topic-hobbies',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.95 6.984v-1.87A1.121 1.121 0 0 0 15.825 4h-2.7A1.121 1.121 0 0 0 12 5.114V7H8V3h1.5V1h-8A1.5 1.5 0 0 0 0 2.5v5h.025A.589.589 0 0 0 0 7.625v7.75A.625.625 0 0 0 .625 16h.051a4.6 4.6 0 0 1-.051-.5 4.875 4.875 0 1 1 9.75 0 4.605 4.605 0 0 1-.051.5h.3a4.375 4.375 0 0 1 8.749-.01.62.62 0 0 0 .576-.615v-4.886a3.584 3.584 0 0 0-2.999-3.505ZM6 7H2V3h4v4Zm-.375 9.25h3.159a3.375 3.375 0 1 1 0-1.5H5.625a.75.75 0 1 0 0 1.5Zm12.25-.25a2.868 2.868 0 0 1-5.725.25h.175a.75.75 0 0 0 .75-.75.741.741 0 0 0-.662-.732A2.869 2.869 0 0 1 17.875 16Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.95 6.984v-1.87A1.121 1.121 0 0 0 15.825 4h-2.7A1.121 1.121 0 0 0 12 5.114V7H8V2.325h1.125v-1.25h-8A1.127 1.127 0 0 0 0 2.2v5.3h.025A.589.589 0 0 0 0 7.625v7.75A.625.625 0 0 0 .625 16h1.426a3.487 3.487 0 0 0 6.886.125h3.076A2.995 2.995 0 0 0 18 16h1.325a.625.625 0 0 0 .625-.625V10.49a3.584 3.584 0 0 0-3-3.505ZM6.75 2.325V7h-5.5V2.325h5.5ZM5.5 17.75a2.25 2.25 0 1 1 2.151-2.875H5.625v1.25h2.026A2.247 2.247 0 0 1 5.5 17.75Zm9.5 0a1.75 1.75 0 1 1 0-3.499 1.75 1.75 0 0 1 0 3.5Zm3.7-3h-.981a2.99 2.99 0 0 0-5.5.125H8.937a3.494 3.494 0 0 0-6.852-.125H1.25v-6.5h10.875a1.17 1.17 0 0 0 1.125-1.182V5.25h2.45v2.307a.625.625 0 0 0 .625.625A2.344 2.344 0 0 1 18.7 10.49v4.261Z\"/></svg>',\n },\n 'topic-homegarden': {\n name: 'topic-homegarden',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8 10H5.812A4.67 4.67 0 0 1 1 5.5V2.11A1.131 1.131 0 0 1 2.148 1h3.664a4.8 4.8 0 0 1 4.494 2.931A5.761 5.761 0 0 0 8 8.501V10Zm9.852-6h-3.664a4.693 4.693 0 0 0-4.763 4.034h-.05v7.05a4.03 4.03 0 0 0-3.187 3.946.624.624 0 0 0 .624.625h6.75a.627.627 0 0 0 .626-.625A4.032 4.032 0 0 0 11 15.084V13h3.188A4.67 4.67 0 0 0 19 8.5V5.11A1.13 1.13 0 0 0 17.852 4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.852 4h-3.664a4.932 4.932 0 0 0-3.563 1.5A4.67 4.67 0 0 0 5.812 1H2.148A1.131 1.131 0 0 0 1 2.109v3.39A4.67 4.67 0 0 0 5.812 10h3.563v5.065A4.016 4.016 0 0 0 6 19.03v.625h1.25v-.625a2.75 2.75 0 0 1 5.5 0v.625H14v-.625a4.016 4.016 0 0 0-3.375-3.966V13h3.563A4.67 4.67 0 0 0 19 8.5V5.109a1.13 1.13 0 0 0-1.148-1.11ZM5.812 8.75A3.421 3.421 0 0 1 2.25 5.5V2.25h3.562A3.421 3.421 0 0 1 9.375 5.5v3.25H5.812ZM17.75 8.5a3.421 3.421 0 0 1-3.562 3.25h-3.563V8.5a3.421 3.421 0 0 1 3.563-3.25h3.562V8.5Z\"/></svg>',\n },\n 'topic-internet': {\n name: 'topic-internet',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.192 12.511-12-12a.625.625 0 0 0-1.067.442v16.97a.625.625 0 0 0 1.067.442l2.879-2.879 1.606 3.805a.627.627 0 0 0 .815.334l3.4-1.409a.625.625 0 0 0 .339-.813l-1.554-3.825h4.073a.624.624 0 0 0 .442-1.067Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.253 19.672a.623.623 0 0 1-.576-.38l-1.606-3.8-2.879 2.873a.624.624 0 0 1-1.067-.442V.953A.625.625 0 0 1 5.192.511l12 12a.625.625 0 0 1-.442 1.067h-4.071l1.554 3.822a.625.625 0 0 1-.339.813l-3.4 1.41a.628.628 0 0 1-.241.05Zm-1.967-5.909a.622.622 0 0 1 .575.382l1.726 4.087 2.254-.934-1.67-4.11a.623.623 0 0 1 .579-.86h3.491L5.375 2.461v13.954l2.469-2.469a.626.626 0 0 1 .442-.183Z\"/></svg>',\n },\n 'topic-law': {\n name: 'topic-law',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m.535 8.634 2.114-5.009A2.952 2.952 0 0 1 5.618 1h8.764a2.952 2.952 0 0 1 2.969 2.625l2.114 5.01c-.03 0-.059-.01-.09-.01h-2.084l-.912-2.16-.912 2.16h-2.084c-.031 0-.06.008-.091.01l2.057-4.873A.954.954 0 0 0 14.382 3H5.618a.954.954 0 0 0-.967.762l2.057 4.872c-.031 0-.06-.009-.091-.009H4.533l-.912-2.16-.912 2.16H.625c-.031 0-.06.008-.09.01Zm6.707 1.991A.625.625 0 0 0 6.617 10H.625a.625.625 0 0 0-.625.625 3.62 3.62 0 1 0 7.242 0ZM19.375 10h-5.992a.625.625 0 0 0-.625.625 3.622 3.622 0 0 0 6.966 1.386c.182-.44.276-.91.276-1.386a.624.624 0 0 0-.625-.625ZM11 5H9v12H6.1v2h7.8v-2H11V5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.3 8.625 3.621 5.31l1.324 3.315h1.346L4.256 3.53a1.37 1.37 0 0 1 1.362-1.28h8.764a1.37 1.37 0 0 1 1.362 1.28l-2.035 5.1h1.346l1.324-3.32L17.7 8.625h1.346l-2.061-5.16A2.62 2.62 0 0 0 14.382 1H5.618a2.62 2.62 0 0 0-2.606 2.465L.951 8.625H2.3Z\"/><path d=\"M6.617 10H.625a.625.625 0 0 0-.625.625 3.62 3.62 0 1 0 7.242 0A.625.625 0 0 0 6.617 10Zm-3 3a2.376 2.376 0 0 1-2.288-1.75h4.58A2.376 2.376 0 0 1 3.621 13h-.004Z\"/><path d=\"M19.375 10h-5.992a.624.624 0 0 0-.625.625 3.622 3.622 0 0 0 6.966 1.386c.182-.44.276-.91.276-1.386a.624.624 0 0 0-.625-.625Zm-3 3a2.376 2.376 0 0 1-2.288-1.75h4.576A2.375 2.375 0 0 1 16.379 13h-.004Z\"/><path d=\"M10.625 5h-1.25v12.7H6.479v1.25h7.042V17.7h-2.896V5Z\"/></svg>',\n },\n 'topic-learning': {\n name: 'topic-learning',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.492 0A8.569 8.569 0 0 0 2 8.56l-.987 4.757a.625.625 0 0 0 .336.688L3 14.819v3.556a.625.625 0 0 0 .625.625h3.912a.63.63 0 0 0 .347-.105l2.8-1.869A8.514 8.514 0 0 0 10.492 0ZM6.48 4.539a5.673 5.673 0 0 1 8.028 0 .75.75 0 0 1 0 1.061l-1.645 1.645c.227.4.348.851.351 1.311a2.725 2.725 0 0 1-2.72 2.722h-.75v-1.5h.75a1.223 1.223 0 1 0-1.22-1.222v.75h-1.5v-.75a2.725 2.725 0 0 1 2.72-2.723c.458.003.909.124 1.308.351l1.068-1.068a4.27 4.27 0 0 0-5.33.484l-.529.53-1.062-1.06.531-.531Zm9.69 3.905a5.676 5.676 0 1 1-11.353 0v-.75h1.5v.75a4.177 4.177 0 1 0 8.353 0v-.75h1.5v.75Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.492 11.153h-.625V9.9h.625a1.348 1.348 0 1 0-1.345-1.344v.625H7.9v-.625a2.6 2.6 0 1 1 2.6 2.6l-.008-.003Zm-2.33 6.6H4.25V14.43a.626.626 0 0 0-.35-.561l-1.565-.77.9-4.346a.608.608 0 0 0 .013-.127 7.25 7.25 0 1 1 7.242 7.153h-.623v1.25h.625A8.513 8.513 0 1 0 2 8.56l-.987 4.757a.625.625 0 0 0 .336.688L3 14.819v3.556a.625.625 0 0 0 .625.625h4.537v-1.247ZM14.42 5.51a.627.627 0 0 0 0-.884 5.55 5.55 0 0 0-7.853 0l-.44.443.884.883.441-.442a4.3 4.3 0 0 1 5.611-.41L11.58 6.583l.884.884L14.42 5.51Zm0 6.862a5.522 5.522 0 0 0 1.625-3.93V7.82h-1.25v.625a4.3 4.3 0 0 1-8.6 0v-.625H4.941v.625a5.551 5.551 0 0 0 9.478 3.929Z\"/></svg>',\n },\n 'topic-lifestyle': {\n name: 'topic-lifestyle',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8 10H5.812A4.67 4.67 0 0 1 1 5.5V2.11A1.131 1.131 0 0 1 2.148 1h3.664a4.8 4.8 0 0 1 4.494 2.931A5.761 5.761 0 0 0 8 8.501V10Zm9.852-6h-3.664a4.693 4.693 0 0 0-4.763 4.034h-.05v7.05a4.03 4.03 0 0 0-3.187 3.946.624.624 0 0 0 .624.625h6.75a.627.627 0 0 0 .626-.625A4.032 4.032 0 0 0 11 15.084V13h3.188A4.67 4.67 0 0 0 19 8.5V5.11A1.13 1.13 0 0 0 17.852 4Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.852 4h-3.664a4.932 4.932 0 0 0-3.563 1.5A4.67 4.67 0 0 0 5.812 1H2.148A1.131 1.131 0 0 0 1 2.109v3.39A4.67 4.67 0 0 0 5.812 10h3.563v5.065A4.016 4.016 0 0 0 6 19.03v.625h1.25v-.625a2.75 2.75 0 0 1 5.5 0v.625H14v-.625a4.016 4.016 0 0 0-3.375-3.966V13h3.563A4.67 4.67 0 0 0 19 8.5V5.109a1.13 1.13 0 0 0-1.148-1.11ZM5.812 8.75A3.421 3.421 0 0 1 2.25 5.5V2.25h3.562A3.421 3.421 0 0 1 9.375 5.5v3.25H5.812ZM17.75 8.5a3.421 3.421 0 0 1-3.562 3.25h-3.563V8.5a3.421 3.421 0 0 1 3.563-3.25h3.562V8.5Z\"/></svg>',\n },\n 'topic-marketplace': {\n name: 'topic-marketplace',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.375 7H16.5v3H15V5A5 5 0 0 0 5 5v2H1.625A.627.627 0 0 0 1 7.626l.026 9.752a2.675 2.675 0 0 0 2.719 2.62h12.562A2.619 2.619 0 0 0 19 17.405v-9.78A.625.625 0 0 0 18.375 7ZM8.5 10H7V5a3 3 0 0 1 6 0v2H8.5v3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 7.627v9.777A2.617 2.617 0 0 1 16.307 20H3.745a2.675 2.675 0 0 1-2.719-2.62L1 7.627a.627.627 0 0 1 .625-.626h2.187v1.25H2.251l.025 9.124a1.423 1.423 0 0 0 1.469 1.373h12.562a1.385 1.385 0 0 0 1.443-1.345V8.251h-1.563v-1.25h2.188a.625.625 0 0 1 .625.626ZM8.013 7.002v1.25h3.974v-1.25H8.013ZM15 4.627a4.828 4.828 0 0 0-5-4.624 4.83 4.83 0 0 0-5 4.624v5.3h1.25v-5.3A3.58 3.58 0 0 1 10 1.253a3.581 3.581 0 0 1 3.75 3.374v5.3H15v-5.3Z\"/></svg>',\n },\n 'topic-mature': {\n name: 'topic-mature',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M0 3h2v14H0V3Zm12.986 9.539a4.756 4.756 0 0 1-5 4.46A4.756 4.756 0 0 1 3 12.54a4.325 4.325 0 0 1 2.074-3.6A3.31 3.31 0 0 1 4 6.539a3.792 3.792 0 0 1 3.991-3.54 3.792 3.792 0 0 1 4 3.54 3.31 3.31 0 0 1-1.075 2.4 4.324 4.324 0 0 1 2.07 3.6Zm-6.992-6a1.838 1.838 0 0 0 2 1.538 1.84 1.84 0 0 0 2-1.538 1.839 1.839 0 0 0-2.003-1.54 1.839 1.839 0 0 0-1.997 1.54Zm4.994 6a2.772 2.772 0 0 0-3-2.462 2.772 2.772 0 0 0-3 2.462 2.772 2.772 0 0 0 3 2.46 2.772 2.772 0 0 0 3-2.46ZM18 7.999V6h-2v2h-2v2h2v2h2v-2h2V8h-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M0 3.375h1.25v13.25H0V3.375ZM12.25 12.7A4.478 4.478 0 0 1 7.625 17 4.478 4.478 0 0 1 3 12.7a4.258 4.258 0 0 1 2.419-3.761A3.22 3.22 0 0 1 4 6.322 3.487 3.487 0 0 1 7.625 3a3.487 3.487 0 0 1 3.625 3.322 3.221 3.221 0 0 1-1.419 2.617A4.258 4.258 0 0 1 12.25 12.7ZM7.625 8.4A2.241 2.241 0 0 0 10 6.322 2.242 2.242 0 0 0 7.625 4.25 2.242 2.242 0 0 0 5.25 6.322a2.241 2.241 0 0 0 2.375 2.072V8.4ZM11 12.7a3.23 3.23 0 0 0-3.375-3.056A3.23 3.23 0 0 0 4.25 12.7a3.23 3.23 0 0 0 3.375 3.05A3.23 3.23 0 0 0 11 12.7ZM19.6 9H17V6.414h-1.25V9h-2.4v1.25h2.4v2.414H17V10.25h2.6V9Z\"/></svg>',\n },\n 'topic-mensfashion': {\n name: 'topic-mensfashion',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.456.935A.625.625 0 0 1 8 0h4a.625.625 0 0 1 .543.935l-1 1.75A.624.624 0 0 1 11 3H9a.624.624 0 0 1-.543-.315l-1-1.75ZM14.6 13.966l-2.237-8.5a.624.624 0 0 0-.6-.466H8.235a.624.624 0 0 0-.6.466l-2.237 8.5a.625.625 0 0 0 .137.574l4 4.5a.623.623 0 0 0 .934 0l4-4.5a.625.625 0 0 0 .13-.574Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 3H9a.624.624 0 0 1-.543-.315l-1-1.75A.625.625 0 1 1 8.543.316l.819 1.435h1.276l.819-1.435a.625.625 0 0 1 1.086.62l-1 1.75A.624.624 0 0 1 11 3Zm-.533 16.04 4-4.5a.624.624 0 0 0 .137-.574l-2.237-8.5a.625.625 0 0 0-.6-.466h-3.53a.625.625 0 0 0-.6.466L5.4 13.967a.624.624 0 0 0 .137.574l4 4.5a.623.623 0 0 0 .934 0l-.004-.001ZM8.719 6.251h2.562l2.03 7.71L10 17.685l-3.311-3.724 2.03-7.71Z\"/></svg>',\n },\n 'topic-menshealth': {\n name: 'topic-menshealth',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 1h-5v2h2.585L13.04 5.545a7.528 7.528 0 1 0 1.414 1.414L17 4.414V7h2V2a1 1 0 0 0-1-1ZM8.5 17a5.5 5.5 0 1 1 5.5-5.5A5.506 5.506 0 0 1 8.5 17Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.376 1h-4v1.25h2.49L13.34 5.778a7.517 7.517 0 1 0 .884.884l3.528-3.528v2.491H19v-4A.625.625 0 0 0 18.376 1ZM8.5 17.75a6.25 6.25 0 1 1 6.25-6.25 6.257 6.257 0 0 1-6.25 6.25Z\"/></svg>',\n },\n 'topic-meta': {\n name: 'topic-meta',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.619 14.8c.67.141 1.358.251 2.042.333l-1.406 3.146-1.826-.815 1.19-2.664Zm10.505.359 1.73 3.157 1.753-.961-1.381-2.521c-.692.14-1.402.247-2.102.325ZM9 15.361v3.764h2v-3.764c-.359.009-.7.014-1 .014-.3 0-.641-.005-1-.014Zm7.5-8.046-.149-.034v-.036A6.356 6.356 0 0 0 3.669 6.79 13.94 13.94 0 0 0 9 8c.963.005 1.925-.068 2.877-.218l.739-.123.247 1.479-.74.124A19.482 19.482 0 0 1 9 9.5a14.85 14.85 0 0 1-6.617-1.725A4.726 4.726 0 0 0 0 11.019C0 13.377 6.541 14 10 14c3.459 0 10-.623 10-2.981a4.82 4.82 0 0 0-3.5-3.704Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.994 14.88c.423.08.85.145 1.278.2l-1.207 2.7-1.14-.51 1.069-2.39Zm10.53.23L16 17.806l1.1-.6-1.259-2.3a24.25 24.25 0 0 1-1.317.202Zm-5.149.26v3.38h1.25v-3.38c-.22 0-.432.005-.625.005s-.4-.002-.625-.005ZM20 11.02C20 13.376 13.459 14 10 14c-3.459 0-10-.623-10-2.98a4.82 4.82 0 0 1 3.5-3.7l.149-.035v-.04a6.355 6.355 0 0 1 12.708 0v.036l.149.034A4.82 4.82 0 0 1 20 11.02Zm-1.25 0a3.783 3.783 0 0 0-2.53-2.485l-.256-.06H15.1v-1.23a5.105 5.105 0 0 0-10.208 0v.527c.308.32 2.074.891 5.1.891 1.012.006 2.023-.07 3.023-.225l.618-.1.2 1.234-.616.1c-1.064.166-2.14.246-3.217.241-.57 0-5.018-.045-6.111-1.405l-.109.025a3.781 3.781 0 0 0-2.53 2.486c.082.475 2.9 1.731 8.75 1.731s8.668-1.256 8.75-1.733v.002Z\"/></svg>',\n },\n 'topic-military': {\n name: 'topic-military',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.386.88a1.162 1.162 0 0 0-1.213.088L10 6.107 2.827.967a1.164 1.164 0 0 0-1.662.326c-.108.176-.165.38-.165.587v3.775l8.98 6.292 5.4-4.122.911 1.192-5.831 4.455a.75.75 0 0 1-.886.018L1 7.487v5.389a.626.626 0 0 0 .261.508l8.061 5.775a1.169 1.169 0 0 0 1.357 0l8.06-5.775a.625.625 0 0 0 .261-.508v-11a1.118 1.118 0 0 0-.614-.996Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.386.88a1.162 1.162 0 0 0-1.213.088L10 6.107 2.827.967a1.164 1.164 0 0 0-1.662.326c-.108.176-.165.38-.165.587v11a.626.626 0 0 0 .261.508l8.061 5.775a1.169 1.169 0 0 0 1.357 0l8.06-5.775a.626.626 0 0 0 .261-.512v-11a1.118 1.118 0 0 0-.614-.996Zm-.636 11.677-7.7 5.586-7.8-5.588V8.21l7.392 5.178a.626.626 0 0 0 .738-.015l5.73-4.38L15.352 8l-5.368 4.1L2.25 6.684V2.092l7.386 5.292a.625.625 0 0 0 .728 0l7.386-5.346v10.519Z\"/></svg>',\n },\n 'topic-movies': {\n name: 'topic-movies',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m12 1.078-2.5.67v5.435l2.5-.67V1.078Z\"/><path d=\"M17.743 4.327 16.708.463a.626.626 0 0 0-.766-.442L13.5.676v5.435l3.8-1.019a.622.622 0 0 0 .443-.765Z\"/><path d=\"M18.375 8H6.45L8 7.585V2.15l-2.5.67V8H4V3.222l-3.512.941a.623.623 0 0 0-.44.765l.968 3.617a.564.564 0 0 0-.016.08v8.75A2.629 2.629 0 0 0 3.625 20h12.75A2.63 2.63 0 0 0 19 17.375v-8.75A.625.625 0 0 0 18.375 8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.375 8H6.45L17.3 5.093a.625.625 0 0 0 .44-.765L16.709.464a.62.62 0 0 0-.522-.459.616.616 0 0 0-.244.017L.488 4.162a.624.624 0 0 0-.441.766l.969 3.618A.527.527 0 0 0 1 8.625v8.75A2.629 2.629 0 0 0 3.625 20h12.75A2.628 2.628 0 0 0 19 17.375v-8.75A.625.625 0 0 0 18.375 8ZM8.06 6.275l-2.75.737v-2.7a.61.61 0 0 0-.028-.135l2.778-.744v2.842Zm1.25-3.182 2.75-.737V5.2l-2.75.737V3.093Zm7.063.954-3.063.82V2.022l2.35-.63.713 2.656ZM4.06 4.5v2.807c0 .013.006.025.007.038l-1.94.52-.712-2.657L4.06 4.5ZM17.75 17.375a1.377 1.377 0 0 1-1.375 1.375H3.625a1.377 1.377 0 0 1-1.375-1.375V9.25h15.5v8.125Z\"/></svg>',\n },\n 'topic-music': {\n name: 'topic-music',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 9.93v-.078A6.936 6.936 0 0 0 10 3a6.936 6.936 0 0 0-7 6.852v.077H1v-.077A8.937 8.937 0 0 1 10 1a8.937 8.937 0 0 1 9 8.852v.077h-2ZM0 16.755h2V11H0v5.756ZM18 11v5.756h2V11h-2Zm-13.385-.906h-.11A1.447 1.447 0 0 0 3 11.544v4.91a1.525 1.525 0 0 0 1.505 1.54h.11A2.429 2.429 0 0 0 7 15.527v-3.066a2.343 2.343 0 0 0-2.385-2.367Zm10.77 0A2.342 2.342 0 0 0 13 12.461v3.066a2.429 2.429 0 0 0 2.385 2.467h.11A1.524 1.524 0 0 0 17 16.454v-4.91a1.446 1.446 0 0 0-1.5-1.45h-.115Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.741 10.094h-.124A1.587 1.587 0 0 0 3 11.645v4.708a1.582 1.582 0 0 0 1.617 1.541h.124a2.543 2.543 0 0 0 2.609-2.467v-2.866a2.544 2.544 0 0 0-2.609-2.467ZM6.1 15.427a1.3 1.3 0 0 1-1.359 1.217h-.124a.336.336 0 0 1-.367-.291v-4.708a.344.344 0 0 1 .367-.3h.124A1.3 1.3 0 0 1 6.1 12.561v2.866ZM0 10.941h1.25v5.874H0v-5.874Zm17.75-.841v-.623A7.51 7.51 0 0 0 10 2.25a7.511 7.511 0 0 0-7.75 7.227v.623H1v-.623A8.76 8.76 0 0 1 10 1a8.76 8.76 0 0 1 9 8.477v.623h-1.25Zm-2.367-.008h-.124a2.544 2.544 0 0 0-2.609 2.467v2.866a2.543 2.543 0 0 0 2.609 2.467h.124A1.582 1.582 0 0 0 17 16.353v-4.708a1.587 1.587 0 0 0-1.617-1.551v-.002Zm.367 6.259a.336.336 0 0 1-.367.291h-.124a1.3 1.3 0 0 1-1.359-1.215v-2.866a1.3 1.3 0 0 1 1.359-1.217h.124a.344.344 0 0 1 .367.3v4.707Zm4.25-5.41v5.874h-1.25v-5.874H20Z\"/></svg>',\n },\n 'topic-news': {\n name: 'topic-news',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.875 2H3.1v13.533a.514.514 0 0 1-.55.467.514.514 0 0 1-.55-.467V3.6H0v11.933a2.492 2.492 0 0 0 2.081 2.421V18h16.794A1.125 1.125 0 0 0 20 16.875V3.128A1.125 1.125 0 0 0 18.875 2ZM6 6h11v1.5H6V6Zm4 7.5H6V12h4v1.5Zm0-3H6V9h4v1.5Zm7 3h-4V12h4v1.5Zm0-3h-4V9h4v1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.875 2H3.1v13.87a.9.9 0 0 1-.925.88.9.9 0 0 1-.925-.88V3H0v12.87a2.149 2.149 0 0 0 2.081 2.121V18h16.794A1.126 1.126 0 0 0 20 16.874V3.126A1.126 1.126 0 0 0 18.875 2Zm-.125 14.75H4.15c.13-.275.199-.576.2-.88V3.25h14.4v13.5ZM13.029 9h3.849v1.25h-3.849V9Zm-6.911 4.25V12H10v1.25H6.118ZM13.029 12h3.849v1.25h-3.849V12Zm3.847-4.75H6.118V6h10.758v1.25Zm-6.876 3H6.118V9H10v1.25Z\"/></svg>',\n },\n 'topic-other': {\n name: 'topic-other',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.3 7.44c-.067 0-.131.016-.2.02a7.51 7.51 0 0 0-1.482-2.483 2.56 2.56 0 1 0-4.5-2.434 7.326 7.326 0 0 0-2.232 0 2.56 2.56 0 1 0-4.5 2.434A7.509 7.509 0 0 0 2.9 7.46c-.066 0-.13-.02-.2-.02a2.571 2.571 0 0 0 0 5.14c.067 0 .131-.014.2-.02a7.52 7.52 0 0 0 1.482 2.485c-.232.39-.356.834-.359 1.287a2.563 2.563 0 0 0 4.861 1.147c.369.061.742.095 1.116.1a7.454 7.454 0 0 0 1.116-.1 2.56 2.56 0 1 0 4.5-2.434 7.52 7.52 0 0 0 1.484-2.484c.066.005.13.02.2.02a2.571 2.571 0 0 0 0-5.141ZM9.091 15.5A.925.925 0 0 0 9 15.456a2.569 2.569 0 0 0-2.4-1.693c-.205.002-.41.03-.608.08a5.547 5.547 0 0 1-1.3-2.22 2.515 2.515 0 0 0 0-3.224 5.54 5.54 0 0 1 1.3-2.22c.199.051.403.078.608.08A2.567 2.567 0 0 0 9 4.566a.902.902 0 0 0 .089-.042 5.336 5.336 0 0 1 1.818 0c.03.016.061.03.093.042a2.567 2.567 0 0 0 2.4 1.693c.205-.002.41-.029.608-.08a5.54 5.54 0 0 1 1.3 2.22 2.515 2.515 0 0 0 0 3.225 5.547 5.547 0 0 1-1.3 2.22 2.546 2.546 0 0 0-.608-.081 2.568 2.568 0 0 0-2.4 1.693.914.914 0 0 0-.089.042 5.285 5.285 0 0 1-1.82.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.3 7.441a2.535 2.535 0 0 0-.574.07A7.145 7.145 0 0 0 15.4 5.292c.37-.451.575-1.016.578-1.6a2.563 2.563 0 0 0-5-.792 6.978 6.978 0 0 0-1.942 0A2.562 2.562 0 1 0 4.6 5.292a7.148 7.148 0 0 0-1.32 2.219 2.535 2.535 0 0 0-.575-.07 2.571 2.571 0 0 0 0 5.141c.194-.002.387-.026.575-.071A7.148 7.148 0 0 0 4.6 14.73a2.543 2.543 0 0 0-.578 1.6 2.563 2.563 0 0 0 5 .792c.324.049.65.075.978.078.325-.003.65-.029.97-.077a2.562 2.562 0 1 0 4.43-2.393 7.144 7.144 0 0 0 1.323-2.219c.188.046.381.07.575.071a2.571 2.571 0 0 0 0-5.141h.002Zm-3.9-5.072a1.32 1.32 0 1 1 0 2.64 1.32 1.32 0 0 1 0-2.64Zm-6.807 0a1.32 1.32 0 1 1-.5.098c.161-.066.334-.099.508-.098h-.008Zm-5.207 7.642a1.32 1.32 0 1 1 2.64.002 1.32 1.32 0 0 1-2.64-.002ZM6.6 17.654a1.321 1.321 0 1 1-.002-2.642 1.321 1.321 0 0 1 .002 2.642Zm6.808 0a1.32 1.32 0 1 1 .5-.099 1.32 1.32 0 0 1-.508.099h.008Zm1-3.687a2.565 2.565 0 0 0-3.524 1.893 5.696 5.696 0 0 1-1.763.009 2.564 2.564 0 0 0-3.525-1.9 5.899 5.899 0 0 1-1.2-2.038 2.538 2.538 0 0 0 0-3.836 5.91 5.91 0 0 1 1.2-2.037 2.567 2.567 0 0 0 3.522-1.896 5.726 5.726 0 0 1 1.763-.009 2.566 2.566 0 0 0 3.525 1.9 5.908 5.908 0 0 1 1.2 2.037 2.538 2.538 0 0 0 0 3.836 5.897 5.897 0 0 1-1.2 2.041h.002Zm2.892-2.635a1.32 1.32 0 1 1-.002-2.642 1.32 1.32 0 0 1 .002 2.642Z\"/></svg>',\n },\n 'topic-outdoors': {\n name: 'topic-outdoors',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.807 7.592c.092-.314.138-.64.139-.967a3.683 3.683 0 0 0-3.21-3.583A3.747 3.747 0 0 0 10 0a3.747 3.747 0 0 0-3.737 3.042 3.683 3.683 0 0 0-3.209 3.583c0 .328.047.653.139.967a4.462 4.462 0 0 0-1.16 3.58 4.712 4.712 0 0 0 2.886 3.667 4.112 4.112 0 0 0 2.775.281v3.324a.625.625 0 0 0 .625.625h3.362a.625.625 0 0 0 .625-.625V15.15a4.358 4.358 0 0 0 2.762-.3 4.711 4.711 0 0 0 2.9-3.665 4.462 4.462 0 0 0-1.161-3.593Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.306 18.444h-1.25V15a1.1 1.1 0 0 1 .423-.87 1.164 1.164 0 0 1 1-.218 3.153 3.153 0 0 0 2.1-.212 3.46 3.46 0 0 0 2.15-2.669 3.25 3.25 0 0 0-1.063-2.813.624.624 0 0 1-.151-.707c.12-.278.183-.578.184-.882A2.46 2.46 0 0 0 13.16 4.25a.625.625 0 0 1-.625-.625A2.462 2.462 0 0 0 10 1.25a2.462 2.462 0 0 0-2.536 2.375.625.625 0 0 1-.625.625 2.46 2.46 0 0 0-2.54 2.375c.002.304.064.604.185.882a.625.625 0 0 1-.151.707 3.251 3.251 0 0 0-1.064 2.807 3.461 3.461 0 0 0 2.142 2.67 3.146 3.146 0 0 0 2.11.217 1.162 1.162 0 0 1 1.312.604 1.1 1.1 0 0 1 .11.484v3.448h-1.25V15.12a4.112 4.112 0 0 1-2.774-.28 4.712 4.712 0 0 1-2.886-3.669 4.462 4.462 0 0 1 1.16-3.579 3.452 3.452 0 0 1-.139-.967 3.683 3.683 0 0 1 3.209-3.583A3.747 3.747 0 0 1 10 0a3.747 3.747 0 0 1 3.737 3.042 3.683 3.683 0 0 1 3.209 3.583c0 .328-.047.653-.14.967a4.461 4.461 0 0 1 1.16 3.588 4.711 4.711 0 0 1-2.9 3.665 4.358 4.358 0 0 1-2.762.3l.002 3.299Z\"/></svg>',\n },\n 'topic-pets': {\n name: 'topic-pets',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 3.625a19.081 19.081 0 0 0-6.606 1.084l-.935.357.714 1.869.933-.357A17.05 17.05 0 0 1 10 5.625c2.005-.031 4 .291 5.894.953l.933.357.714-1.869-.935-.357A19.08 19.08 0 0 0 10 3.625Z\"/><path d=\"M19.985 5.767c0-.048.015-.094.015-.142C20 2.988 15.7 1 10 1S0 2.988 0 5.625c0 .043.011.084.013.126L0 5.739v2.849c0 1.805 2.244 3.285 5.632 3.972a3.726 3.726 0 0 1 2.863-1.268c.253 0 .506.024.755.072v-1.13c.248.007.5.016.75.016s.5-.009.75-.016v1.13c.249-.048.502-.072.755-.072a3.726 3.726 0 0 1 2.863 1.268C17.756 11.873 20 10.393 20 8.588V5.756l-.015.011ZM1.25 5.625c0-1.6 3.594-3.375 8.75-3.375 5.156 0 8.75 1.779 8.75 3.375S15.156 9 10 9C4.844 9 1.25 7.221 1.25 5.625Z\"/><path d=\"M11.505 12.667a2.494 2.494 0 0 0-1.505.494 2.494 2.494 0 0 0-1.505-.494 2.434 2.434 0 0 0-2.473 2.642c0 2.849 3.424 4.415 3.574 4.482a1 1 0 0 0 .812 0c.146-.065 3.57-1.631 3.57-4.48a2.433 2.433 0 0 0-2.473-2.644Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 5.474C19.949 2.92 15.67 1 10 1S.051 2.92 0 5.474v3.011c0 2.141 2.979 3.84 7.262 4.352A2.59 2.59 0 0 0 6 15.184c0 2.851 3.446 4.416 3.6 4.482a1.006 1.006 0 0 0 .812 0C10.554 19.6 14 18.035 14 15.184a2.59 2.59 0 0 0-1.262-2.347 15.049 15.049 0 0 0 4.493-1.176C19.022 10.872 20 9.807 20 8.615V5.474ZM10 2.25c5.156 0 8.75 1.721 8.75 3.265S15.156 8.78 10 8.78c-5.156 0-8.75-1.721-8.75-3.265S4.844 2.25 10 2.25ZM1.25 8.485v-.722C2.925 9.137 6.138 10.03 10 10.03s7.075-.893 8.75-2.267v.722c0 .672-.682 1.377-1.875 1.96l-.054.025c-.092.044-.191.085-.288.127-.158.066-.32.131-.492.192l-.568.2c-1.574.469-3.206.72-4.848.747v-.862h-1.25v.862C4.558 11.6 1.25 9.966 1.25 8.485Zm8.75 9.99c-.506-.251-2.75-1.465-2.75-3.291a1.226 1.226 0 0 1 1.235-1.392 1.274 1.274 0 0 1 1.029.5l.486.6.486-.6a1.272 1.272 0 0 1 1.029-.5 1.227 1.227 0 0 1 1.235 1.392c0 1.828-2.25 3.042-2.75 3.291Z\"/><path d=\"M3.968 6.2A17.877 17.877 0 0 1 10 5.25c2.05-.031 4.09.291 6.032.952l.586.217.436-1.171-.586-.218A19.157 19.157 0 0 0 10 4c-2.2-.03-4.387.318-6.468 1.03l-.586.218.436 1.171.586-.219Z\"/></svg>',\n },\n 'topic-photography': {\n name: 'topic-photography',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1 14.5h18v1.869A2.63 2.63 0 0 1 16.378 19H3.622A2.63 2.63 0 0 1 1 16.369V14.5ZM19 13H1V3.631A2.63 2.63 0 0 1 3.622 1h12.756A2.63 2.63 0 0 1 19 3.631V13Zm-6.125-5.489a2.875 2.875 0 1 0-5.75 0 2.875 2.875 0 0 0 5.75 0ZM16.23 4.64a.982.982 0 0 0-.3-.71 1.034 1.034 0 0 0-1.41 0 1 1 0 0 0 .325 1.631 1 1 0 0 0 .385.079 1.025 1.025 0 0 0 1-1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 4a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7Zm0 5.75a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5Zm5.93-5.83a.979.979 0 0 1 0 1.41.931.931 0 0 1-.15.13c-.05.03-.11.06-.17.09-.06.03-.13.04-.19.06a1.21 1.21 0 0 1-.19.01.99.99 0 0 1-1-.99 1.036 1.036 0 0 1 .07-.39c.052-.12.127-.228.22-.32a.875.875 0 0 1 .32-.22 1.021 1.021 0 0 1 1.09.22ZM16.378 1H3.622A2.629 2.629 0 0 0 1 3.631v9.744a.625.625 0 0 0 .625.625H17.75v2.369a1.38 1.38 0 0 1-1.372 1.381H3.622a1.379 1.379 0 0 1-1.372-1.381v-.625H1v.625A2.63 2.63 0 0 0 3.622 19h12.756A2.63 2.63 0 0 0 19 16.369V3.631A2.63 2.63 0 0 0 16.378 1Zm1.372 11.75H2.25V3.631A1.379 1.379 0 0 1 3.622 2.25h12.756a1.38 1.38 0 0 1 1.372 1.381v9.119Z\"/></svg>',\n },\n 'topic-places': {\n name: 'topic-places',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a8.212 8.212 0 0 0-8 8.391c0 5.738 6.808 10.79 7.585 11.347l.465.262.366-.262C11.192 19.181 18 14.129 18 8.391A8.212 8.212 0 0 0 10 0Zm0 11.3a3.354 3.354 0 1 1 3.375-3.354A3.365 3.365 0 0 1 10 11.3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m10.05 20-.465-.262C8.808 19.181 2 14.129 2 8.391A8.212 8.212 0 0 1 10 0a8.212 8.212 0 0 1 8 8.391c0 5.738-6.808 10.79-7.584 11.347L10.05 20ZM10 1.242a6.966 6.966 0 0 0-6.75 7.149c0 4.632 5.36 9.039 6.75 10.1 1.39-1.064 6.75-5.472 6.75-10.1A6.966 6.966 0 0 0 10 1.242Zm0 10.682a3.975 3.975 0 1 1 4-3.975 3.992 3.992 0 0 1-4 3.975Zm0-6.707a2.733 2.733 0 1 0 2.75 2.732A2.743 2.743 0 0 0 10 5.217Z\"/></svg>',\n },\n 'topic-podcasts': {\n name: 'topic-podcasts',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 10.002a9.977 9.977 0 0 1-2.547 6.666l-.667.745L15.3 16.08l.667-.746a7.997 7.997 0 0 0-5.963-13.33 8.001 8.001 0 0 0-7.905 9.23 7.997 7.997 0 0 0 1.942 4.1l.667.746-1.49 1.334-.667-.746A9.996 9.996 0 0 1 11.188.07 10.001 10.001 0 0 1 20 10.002Zm-3 .031a6.75 6.75 0 0 0-6.791-7.029 7.27 7.27 0 0 0-7.2 6.96 6.797 6.797 0 0 0 1 3.83l.525.851 1.7-1.052-.525-.85A4.826 4.826 0 0 1 5 10.034a5.254 5.254 0 0 1 5.209-5.03A4.752 4.752 0 0 1 15 9.964a5.152 5.152 0 0 1-.909 2.74l-.567.824 1.649 1.132.566-.825a7.13 7.13 0 0 0 1.261-3.8Zm-7-2.985a3 3 0 0 0-.585 5.941 3 3 0 0 0 2.706-5.062A3 3 0 0 0 10 7.048Zm1.648 6.953h-3.3a1.365 1.365 0 0 0-1.062.5 1.275 1.275 0 0 0-.264 1.064l.691 3.37A1.366 1.366 0 0 0 9.064 20h1.872a1.367 1.367 0 0 0 1.347-1.069l.691-3.367a1.276 1.276 0 0 0-.264-1.063 1.364 1.364 0 0 0-1.062-.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m17.032 17.133-.936-.833.417-.466a8.751 8.751 0 1 0-13.042 0l.425.466-.932.834-.417-.466a10 10 0 1 1 14.906 0l-.421.465Zm-1.294-3.3a7.168 7.168 0 0 0 1.258-3.811 6.742 6.742 0 0 0-6.773-7.023 7.29 7.29 0 0 0-7.227 6.979 6.817 6.817 0 0 0 1 3.827l.328.532 1.072-.655-.33-.532a5.572 5.572 0 0 1-.816-3.128 6.028 6.028 0 0 1 5.973-5.773 5.487 5.487 0 0 1 5.527 5.729 5.92 5.92 0 0 1-1.043 3.146l-.354.515 1.031.708.354-.514Zm-2.742-3.788a3 3 0 1 0-6 0 3 3 0 0 0 6 0Zm-1.25 0a1.75 1.75 0 1 1-3.5.01 1.75 1.75 0 0 1 3.5-.01Zm.533 8.886.691-3.368a1.277 1.277 0 0 0-.264-1.063 1.363 1.363 0 0 0-1.062-.5h-3.3a1.364 1.364 0 0 0-1.062.5 1.276 1.276 0 0 0-.264 1.065l.691 3.369A1.367 1.367 0 0 0 9.06 20h1.872a1.367 1.367 0 0 0 1.347-1.07Zm-.635-3.681.1.062-.69 3.367a.123.123 0 0 1-.123.07H9.06a.125.125 0 0 1-.123-.07l-.69-3.367.1-.062h3.297Z\"/></svg>',\n },\n 'topic-politics': {\n name: 'topic-politics',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.837 5.158a1.089 1.089 0 0 1 .554-1.237L9.461.135a1.141 1.141 0 0 1 1.075 0l7.07 3.787a1.09 1.09 0 0 1 .556 1.237A1.107 1.107 0 0 1 17.07 6H2.93a1.107 1.107 0 0 1-1.093-.842ZM5 9h2v5.647h2V9h2v5.647h2V9h2v5.647h2V9h1V7H2v2h1v5.647h2V9Zm15 10.051c0-.41-.13-.81-.371-1.141l-1.146-1.58a1.13 1.13 0 0 0-.8-.33H2.312a1.156 1.156 0 0 0-.859.405L.365 17.918c-.237.33-.365.727-.365 1.133A.949.949 0 0 0 .949 20h18.1a.947.947 0 0 0 .95-.949Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.608 3.921 10.537.134a1.141 1.141 0 0 0-1.074 0L2.39 3.921a1.089 1.089 0 0 0-.554 1.237A1.107 1.107 0 0 0 2.93 6h14.14A1.107 1.107 0 0 0 18.1 4.443a1.09 1.09 0 0 0-.493-.522Zm-14.117.83L10 1.264l6.509 3.485H3.49Zm11.884 10.174V8.25h-2.75v6.675h-1.25V8.25h-2.75v6.675h-1.25V8.25h-2.75v6.675h-1.25V8.25h-1.2V7h15.65v1.25h-1.2v6.675h-1.25Zm4.506 3.326-1.012.733-1.254-1.734H2.385L1.13 18.984.12 18.25l1.334-1.846a1.154 1.154 0 0 1 .86-.405h15.375a1.13 1.13 0 0 1 .8.33l1.393 1.92Z\"/></svg>',\n },\n 'topic-programming': {\n name: 'topic-programming',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.875 2H1.125A1.127 1.127 0 0 0 0 3.125v12.25A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V3.125A1.127 1.127 0 0 0 18.875 2ZM11.08 6.24a.988.988 0 0 1 .21-.32 1.021 1.021 0 0 1 1.09-.22c.121.054.233.129.33.22.181.189.285.438.29.7 0 .266-.104.52-.29.71a1.19 1.19 0 0 1-.33.22 1 1 0 0 1-.38.08 1.007 1.007 0 0 1-1-1.01c.002-.13.029-.26.08-.38Zm.21 2.68a1 1 0 0 1 1.69.9.697.697 0 0 1-.06.19.557.557 0 0 1-.09.17 1.001 1.001 0 1 1-1.54-1.26ZM7.08 6.24a.988.988 0 0 1 .21-.32 1.037 1.037 0 0 1 1.42 0 1.036 1.036 0 0 1 .29.7 1.23 1.23 0 0 1-.02.2.7.7 0 0 1-.06.19.556.556 0 0 1-.09.17c-.04.05-.08.11-.12.15a.99.99 0 0 1-1.54-.15.556.556 0 0 1-.09-.17.7.7 0 0 1-.06-.19 1.23 1.23 0 0 1-.02-.2c.002-.13.03-.26.08-.38Zm.21 2.68a1.037 1.037 0 0 1 1.42 0A1.005 1.005 0 0 1 8 10.63a1.001 1.001 0 0 1-.38-.08 1.19 1.19 0 0 1-.33-.22 1 1 0 0 1 0-1.41Zm-2.31.9a.7.7 0 0 1-.06.19.556.556 0 0 1-.09.17.88.88 0 0 1-.12.15c-.047.046-.098.09-.15.13l-.18.09-.18.06a1.355 1.355 0 0 1-.2.02 1.017 1.017 0 0 1-.71-.3.88.88 0 0 1-.12-.15.556.556 0 0 1-.09-.17.7.7 0 0 1-.06-.19 1.014 1.014 0 0 1 .27-.9 1.052 1.052 0 0 1 .91-.28l.18.06.18.09c.052.04.103.084.15.13a1.014 1.014 0 0 1 .27.9Zm0-3a.7.7 0 0 1-.06.19.556.556 0 0 1-.09.17c-.04.05-.08.11-.12.15-.047.046-.098.09-.15.13l-.18.09-.18.06a1.5 1.5 0 0 1-.2.02 1 1 0 0 1-.38-.08 1.19 1.19 0 0 1-.33-.22A1.014 1.014 0 0 1 3 6.62c.005-.262.109-.511.29-.7a1.19 1.19 0 0 1 .33-.22 1.021 1.021 0 0 1 1.09.22c.09.092.162.2.21.32a.867.867 0 0 1 .08.38 1.23 1.23 0 0 1-.02.2Zm9.77 7.68h-9.5V13h9.5v1.5Zm1.96-4.17c-.047.046-.098.09-.15.13l-.18.09-.18.06a1.507 1.507 0 0 1-.2.02 1.001 1.001 0 0 1-.38-.08 1.19 1.19 0 0 1-.33-.22 1 1 0 0 1 .33-1.63c.184-.075.385-.096.58-.06l.18.06.18.09c.052.04.103.084.15.13a1 1 0 0 1 0 1.41Zm.27-3.51a.697.697 0 0 1-.06.19.557.557 0 0 1-.09.17 1.017 1.017 0 0 1-.83.45 1 1 0 0 1-.38-.08 1.19 1.19 0 0 1-.33-.22 1.014 1.014 0 0 1-.29-.71 1.04 1.04 0 0 1 .29-.7 1.19 1.19 0 0 1 .33-.22 1.021 1.021 0 0 1 1.09.22 1.036 1.036 0 0 1 .29.7 1.231 1.231 0 0 1-.02.2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.625 14.25h-9.25V13h9.25v1.25ZM4.71 7.33c.184-.187.288-.438.29-.7a1.046 1.046 0 0 0-.29-.71 1.047 1.047 0 0 0-1.42 0 1 1 0 0 0 1.42 1.41Zm4 0a1 1 0 0 0 0-1.41 1.047 1.047 0 0 0-1.42 0 1.046 1.046 0 0 0-.29.71 1 1 0 0 0 1.71.7Zm4 0a1.01 1.01 0 0 0 .29-.7 1.047 1.047 0 0 0-.29-.71 1.017 1.017 0 0 0-.91-.27 1.209 1.209 0 0 0-.18.05l-.18.09c-.052.04-.102.084-.15.13a1.047 1.047 0 0 0-.29.71c.002.262.106.513.29.7.048.046.098.09.15.13l.18.09a1.209 1.209 0 0 0 .38.07c.266 0 .52-.103.71-.29Zm4 0a1.01 1.01 0 0 0 .29-.7 1.047 1.047 0 0 0-.29-.71 1.047 1.047 0 0 0-1.42 0 1 1 0 0 0 1.42 1.41Zm-8.33 3.22a1.19 1.19 0 0 0 .33-.22c.184-.187.288-.438.29-.7a.88.88 0 0 0-.08-.39.988.988 0 0 0-.21-.32 1.047 1.047 0 0 0-1.42 0 1.046 1.046 0 0 0-.29.71.99.99 0 0 0 1 .99c.13.002.26-.022.38-.07Zm4.33-.22a1.01 1.01 0 0 0 .29-.7 1.047 1.047 0 0 0-.29-.71 1.047 1.047 0 0 0-1.42 0 1 1 0 0 0 .33 1.63c.12.048.25.072.38.07.266 0 .52-.103.71-.29Zm4 0a1 1 0 0 0 0-1.41 1.047 1.047 0 0 0-1.42 0 1.047 1.047 0 0 0-.29.71 1 1 0 0 0 1.71.7Zm-12 0c.184-.187.288-.438.29-.7a1.046 1.046 0 0 0-.29-.71 1.047 1.047 0 0 0-1.42 0 1.046 1.046 0 0 0-.29.71 1 1 0 0 0 1.71.7ZM20 15.375V3.125A1.127 1.127 0 0 0 18.875 2H1.125A1.127 1.127 0 0 0 0 3.125v12.25A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375ZM18.75 3.25v12.125a1.377 1.377 0 0 1-1.375 1.375H2.625a1.377 1.377 0 0 1-1.375-1.375V3.25h17.5Z\"/></svg>',\n },\n 'topic-reading': {\n name: 'topic-reading',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.25 3.12v16.7h-.876v-.62a1.375 1.375 0 0 0-.809-1.25H.7a.625.625 0 0 1-.625-.625v-14.7A.625.625 0 0 1 .7 2H8c.232.002.463.036.686.1a1.23 1.23 0 0 1 .564 1.02ZM19.3 2H12a2.552 2.552 0 0 0-.687.1 1.23 1.23 0 0 0-.564 1.02v16.83h.875v-.625A1.377 1.377 0 0 1 13 17.95h6.3a.625.625 0 0 0 .625-.625v-14.7A.625.625 0 0 0 19.3 2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.375 2h-7.292A2.688 2.688 0 0 0 10 3a2.688 2.688 0 0 0-2.083-1H.625A.625.625 0 0 0 0 2.625v14.75A.625.625 0 0 0 .625 18h7.917v-1.25H1.25V3.25h6.667a1.465 1.465 0 0 1 1.458 1.469v11.093h1.25V4.719a1.465 1.465 0 0 1 1.458-1.469h6.667v13.5h-6.667a2.64 2.64 0 0 0-2.708 2.625V20h1.25v-.625A1.388 1.388 0 0 1 12.083 18h7.292a.624.624 0 0 0 .625-.625V2.625A.625.625 0 0 0 19.375 2Z\"/></svg>',\n },\n 'topic-religion': {\n name: 'topic-religion',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.966 5.557a2.92 2.92 0 0 1-.514-2.341A4.342 4.342 0 0 1 9.38.6a1.131 1.131 0 0 1 1.237 0 4.154 4.154 0 0 1 2.008 3.36 2.634 2.634 0 0 1-.83 1.916 2.6 2.6 0 0 1-1.795.709c-.059 0-.119 0-.179-.006a2.515 2.515 0 0 1-1.854-1.022ZM12.25 8h-4.5A1.693 1.693 0 0 0 6 9.625v6.947c.054 0 .107.013.162.013h7.676c.055 0 .108-.01.162-.013V9.625A1.693 1.693 0 0 0 12.25 8Zm7.07 8.33.328-.945-1.888-.658-.329.943A3.574 3.574 0 0 1 14.017 18H5.981a3.574 3.574 0 0 1-3.413-2.33l-.328-.943-1.888.658.329.945A5.573 5.573 0 0 0 5.98 20h8.036a5.572 5.572 0 0 0 5.301-3.67Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.822 6.579c.06 0 .12.006.179.006a2.6 2.6 0 0 0 1.792-.709 2.633 2.633 0 0 0 .83-1.916A4.155 4.155 0 0 0 10.617.6a1.131 1.131 0 0 0-1.237 0 4.342 4.342 0 0 0-1.927 2.616 2.921 2.921 0 0 0 .514 2.341 2.515 2.515 0 0 0 1.856 1.022ZM8.675 3.48a3.122 3.122 0 0 1 1.324-1.79 2.9 2.9 0 0 1 1.375 2.27 1.375 1.375 0 0 1-1.475 1.372 1.28 1.28 0 0 1-.94-.527 1.65 1.65 0 0 1-.284-1.325ZM6.16 16.96c-.055 0-.108-.01-.162-.013V9.625A1.693 1.693 0 0 1 7.749 8h4.5a1.693 1.693 0 0 1 1.75 1.625v7.322c-.054 0-.107.013-.162.013h-1.088V9.625c0-.2-.23-.375-.5-.375h-4.5c-.271 0-.5.172-.5.375v7.335H6.16Zm13.009-.97-.206.59A5.2 5.2 0 0 1 14.017 20H5.98a5.2 5.2 0 0 1-4.947-3.42l-.206-.59 1.18-.411.206.59a3.95 3.95 0 0 0 3.767 2.58h8.036a3.95 3.95 0 0 0 3.767-2.58l.206-.59 1.18.412Z\"/></svg>',\n },\n 'topic-science': {\n name: 'topic-science',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.757 18.392a2.555 2.555 0 0 1-2.345 1.522H3.587a2.555 2.555 0 0 1-2.345-1.523 2.628 2.628 0 0 1 .411-2.842l4.292-5.5L6 9.981V4.124h7.95V10.1l4.415 5.47a2.615 2.615 0 0 1 .392 2.822ZM13.974 1H6v1.25h7.974V1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.757 18.392a2.555 2.555 0 0 1-2.345 1.522H3.587a2.555 2.555 0 0 1-2.345-1.523 2.628 2.628 0 0 1 .411-2.842l4.292-5.5L6 9.981V4.124h1.25V10.1a1.114 1.114 0 0 1-.332.732l-4.3 5.51a1.408 1.408 0 0 0-.237 1.529 1.3 1.3 0 0 0 1.207.79h12.825a1.3 1.3 0 0 0 1.208-.79 1.392 1.392 0 0 0-.215-1.5l-4.43-5.549a1.117 1.117 0 0 1-.276-.722V4.124h1.25V10.1l4.415 5.47a2.615 2.615 0 0 1 .392 2.822ZM13.974 1H6v1.25h7.974V1Z\"/></svg>',\n },\n 'topic-sexorientation': {\n name: 'topic-sexorientation',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 17h-3a1 1 0 0 1-1-1v-3a5 5 0 1 0-10 0v1H3v-1a7 7 0 0 1 14 0v2h1v-2a8 8 0 0 0-16 0v2h4v-2a4 4 0 1 1 8 0v4h-2v-4a2 2 0 0 0-4 0v3a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1v-3a10 10 0 1 1 20 0v3a1 1 0 0 1-1 1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.375 17H16.25a.625.625 0 0 1-.625-.625v-3.187A5.694 5.694 0 0 0 10 7.438a5.694 5.694 0 0 0-5.625 5.75v.624h-1.25v-.624a6.946 6.946 0 0 1 6.875-7 6.946 6.946 0 0 1 6.875 7v2.562h1.875v-2.562A8.854 8.854 0 0 0 10 4.25a8.855 8.855 0 0 0-8.75 8.938v2.562h5v-2.562a3.75 3.75 0 1 1 7.5 0V17H12.5v-3.812a2.5 2.5 0 0 0-5 0v3.187a.625.625 0 0 1-.625.625H.625A.625.625 0 0 1 0 16.375v-3.187A10.107 10.107 0 0 1 10 3a10.107 10.107 0 0 1 10 10.188v3.187a.625.625 0 0 1-.625.625Z\"/></svg>',\n },\n 'topic-sports': {\n name: 'topic-sports',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m14.247 6.454.238-.711 1.423.474-.237.712a8.527 8.527 0 0 0 .225 6l1.557 3.73A9.99 9.99 0 0 0 8.81.074 10.004 10.004 0 0 0 1.147 5.35 9.987 9.987 0 0 0 0 10c0 2.459.913 4.83 2.56 6.657l1.557-3.73c.8-1.906.88-4.038.226-6l-.24-.71 1.423-.474.238.71c.77 2.306.677 4.811-.26 7.053L3.723 17.77a9.976 9.976 0 0 0 12.57 0l-1.783-4.266a10.028 10.028 0 0 1-.263-7.051Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0ZM4.124 16.465l1.259-3.007a9.906 9.906 0 0 0 .261-6.964l-1.186.4a8.656 8.656 0 0 1-.228 6.087l-1.046 2.5a8.75 8.75 0 1 1 13.632 0l-1.046-2.5a8.653 8.653 0 0 1-.228-6.086l-1.186-.4a9.906 9.906 0 0 0 .261 6.964l1.259 3.007a8.7 8.7 0 0 1-11.752-.001Z\"/></svg>',\n },\n 'topic-style': {\n name: 'topic-style',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.375 7H16.5v3H15V5A5 5 0 0 0 5 5v2H1.625A.627.627 0 0 0 1 7.626l.026 9.752a2.675 2.675 0 0 0 2.719 2.62h12.562A2.619 2.619 0 0 0 19 17.405v-9.78A.625.625 0 0 0 18.375 7ZM8.5 10H7V5a3 3 0 0 1 6 0v2H8.5v3Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 7.627v9.777A2.617 2.617 0 0 1 16.307 20H3.745a2.675 2.675 0 0 1-2.719-2.62L1 7.627a.627.627 0 0 1 .625-.626h2.187v1.25H2.251l.025 9.124a1.423 1.423 0 0 0 1.469 1.373h12.562a1.385 1.385 0 0 0 1.443-1.345V8.251h-1.563v-1.25h2.188a.625.625 0 0 1 .625.626ZM8.013 7.002v1.25h3.974v-1.25H8.013ZM15 4.627a4.828 4.828 0 0 0-5-4.624 4.83 4.83 0 0 0-5 4.624v5.3h1.25v-5.3A3.58 3.58 0 0 1 10 1.253a3.581 3.581 0 0 1 3.75 3.374v5.3H15v-5.3Z\"/></svg>',\n },\n 'topic-tabletop': {\n name: 'topic-tabletop',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16 14.44H6.812v-.091l.121-.162A9.413 9.413 0 0 0 8.738 9.6l-1.726.87A2.592 2.592 0 0 1 4 9.98l-.669-.673a1.135 1.135 0 0 1-.1-1.467l4.2-5.655H5.818V.935h2.61A7.606 7.606 0 0 1 16 8.56v5.88Zm.393 1.56H4.607A1.609 1.609 0 0 0 3 17.607V20h15v-2.393A1.609 1.609 0 0 0 16.393 16Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.26 14.44H6.812v-.09l.121-.163A9.414 9.414 0 0 0 8.738 9.6l-1.726.87A2.591 2.591 0 0 1 4 9.98l-.669-.673a1.135 1.135 0 0 1-.1-1.467l4.2-5.655H5.818V.935h2.61A7.606 7.606 0 0 1 16 8.56v5.88h-1.25V8.56a6.363 6.363 0 0 0-5.778-6.352L4.289 8.5l.594.6a1.344 1.344 0 0 0 1.566.256l1.934-.974a1.1 1.1 0 0 1 1.126.073A1.145 1.145 0 0 1 10 9.5a10.65 10.65 0 0 1-1.74 4.94ZM18 17.625A1.618 1.618 0 0 0 16.393 16H4.607A1.618 1.618 0 0 0 3 17.625v2.325h1.25v-2.325a.367.367 0 0 1 .357-.375h11.786a.367.367 0 0 1 .357.375v2.325H18v-2.325Z\"/></svg>',\n },\n 'topic-technology': {\n name: 'topic-technology',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 7.625v-1.25h-2v-1.75A1.627 1.627 0 0 0 15.375 3h-1.75V1h-1.25v2h-1.75V1h-1.25v2h-1.75V1h-1.25v2h-1.75A1.627 1.627 0 0 0 3 4.625v1.75H1v1.25h2v1.75H1v1.25h2v1.75H1v1.25h2v1.75A1.627 1.627 0 0 0 4.625 17h1.75v2h1.25v-2h1.75v2h1.25v-2h1.75v2h1.25v-2h1.75A1.627 1.627 0 0 0 17 15.375v-1.75h2v-1.25h-2v-1.75h2v-1.25h-2v-1.75h2Zm-10.875 5.5a1.252 1.252 0 0 1-1.25-1.25v-3.75a1.252 1.252 0 0 1 1.25-1.25h3.75a1.252 1.252 0 0 1 1.25 1.25v3.75a1.252 1.252 0 0 1-1.25 1.25h-3.75Zm.25-4.75h3.25v3.25h-3.25v-3.25Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.875 7h-3.75A1.127 1.127 0 0 0 7 8.125v3.75A1.127 1.127 0 0 0 8.125 13h3.75A1.127 1.127 0 0 0 13 11.875v-3.75A1.127 1.127 0 0 0 11.875 7Zm-.125 4.75h-3.5v-3.5h3.5v3.5Z\"/><path d=\"M19 7.625v-1.25h-2v-1.75A1.627 1.627 0 0 0 15.375 3h-1.75V1h-1.25v2h-1.75V1h-1.25v2h-1.75V1h-1.25v2h-1.75A1.627 1.627 0 0 0 3 4.625v1.75H1v1.25h2v1.75H1v1.25h2v1.75H1v1.25h2v1.75A1.627 1.627 0 0 0 4.625 17h1.75v2h1.25v-2h1.75v2h1.25v-2h1.75v2h1.25v-2h1.75A1.627 1.627 0 0 0 17 15.375v-1.75h2v-1.25h-2v-1.75h2v-1.25h-2v-1.75h2Zm-3.25 7.75a.375.375 0 0 1-.375.375H4.625a.375.375 0 0 1-.375-.375V4.625a.375.375 0 0 1 .375-.375h10.75a.375.375 0 0 1 .375.375v10.75Z\"/></svg>',\n },\n 'topic-television': {\n name: 'topic-television',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.375 2H1.625A1.627 1.627 0 0 0 0 3.625v12.75A1.627 1.627 0 0 0 1.625 18h16.75A1.627 1.627 0 0 0 20 16.375V3.625A1.627 1.627 0 0 0 18.375 2ZM13 12.375A2.63 2.63 0 0 1 10.375 15h-4.75A2.63 2.63 0 0 1 3 12.375v-4.75A2.629 2.629 0 0 1 5.625 5h4.75A2.63 2.63 0 0 1 13 7.625v4.75Zm3.29-2.045a.608.608 0 0 1-.15.12.557.557 0 0 1-.17.09.602.602 0 0 1-.19.06 1.223 1.223 0 0 1-.19.02 1.052 1.052 0 0 1-.71-.29 1.007 1.007 0 0 1-.27-.9c.01-.065.027-.128.05-.19a.95.95 0 0 1 .1-.17.61.61 0 0 1 .12-.16.933.933 0 0 1 .33-.21 1.02 1.02 0 0 1 1.08.21c.049.049.092.102.13.16.04.051.07.109.09.17.03.06.05.124.06.19.012.063.018.126.02.19-.003.267-.11.522-.3.71Zm0-3a1.01 1.01 0 0 1-.7.29.838.838 0 0 1-.38-.08.933.933 0 0 1-.33-.21 1.007 1.007 0 0 1-.27-.9c.01-.065.027-.128.05-.19a.95.95 0 0 1 .1-.17.61.61 0 0 1 .12-.16.933.933 0 0 1 .33-.21 1.02 1.02 0 0 1 1.08.21c.049.049.092.102.13.16.04.051.07.109.09.17.03.06.05.124.06.19.012.063.018.126.02.19-.003.267-.11.522-.3.71Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.375 15h-4.75A2.63 2.63 0 0 1 3 12.375v-4.75A2.629 2.629 0 0 1 5.625 5h4.75A2.63 2.63 0 0 1 13 7.625v4.75A2.63 2.63 0 0 1 10.375 15Zm-4.75-8.75A1.377 1.377 0 0 0 4.25 7.625v4.75a1.377 1.377 0 0 0 1.375 1.375h4.75a1.377 1.377 0 0 0 1.375-1.375v-4.75a1.377 1.377 0 0 0-1.375-1.375h-4.75ZM16.29 7.33c.19-.188.297-.443.3-.71a1.224 1.224 0 0 0-.02-.19.602.602 0 0 0-.06-.19.557.557 0 0 0-.09-.17 1.01 1.01 0 0 0-.13-.16 1.02 1.02 0 0 0-1.08-.21.933.933 0 0 0-.33.21.61.61 0 0 0-.12.16.95.95 0 0 0-.1.17c-.023.062-.04.125-.05.19a1.007 1.007 0 0 0 .27.9.933.933 0 0 0 .33.21.838.838 0 0 0 .38.08 1.01 1.01 0 0 0 .7-.29Zm-.51 3.27c.066-.01.13-.03.19-.06a.557.557 0 0 0 .17-.09 1.017 1.017 0 0 0 .45-.83 1.224 1.224 0 0 0-.02-.19.602.602 0 0 0-.06-.19.557.557 0 0 0-.09-.17 1.01 1.01 0 0 0-.13-.16 1.02 1.02 0 0 0-1.08-.21.933.933 0 0 0-.33.21.61.61 0 0 0-.12.16.95.95 0 0 0-.1.17c-.023.062-.04.125-.05.19a1.007 1.007 0 0 0 .27.9c.192.183.445.286.71.29.064-.002.127-.008.19-.02Zm2.6 7.4H1.625A1.627 1.627 0 0 1 0 16.375V3.625A1.627 1.627 0 0 1 1.625 2h16.75A1.627 1.627 0 0 1 20 3.625v12.75A1.627 1.627 0 0 1 18.375 18h.005ZM1.625 3.25a.375.375 0 0 0-.375.375v12.75a.375.375 0 0 0 .375.375h16.75a.375.375 0 0 0 .375-.375V3.625a.375.375 0 0 0-.375-.375H1.625Z\"/></svg>',\n },\n 'topic-traumasupport': {\n name: 'topic-traumasupport',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.379 1.011H4.621A4.626 4.626 0 0 0 0 5.632v5.76a4.626 4.626 0 0 0 4.621 4.62h2L10 19.251l3.376-3.24h2A4.626 4.626 0 0 0 20 11.391v-5.76a4.626 4.626 0 0 0-4.621-4.62Zm-5.212 11.817a.235.235 0 0 1-.245 0c-.69-.426-4.07-2.637-4.288-5.248a2.325 2.325 0 0 1 4.411-1.262 2.325 2.325 0 0 1 4.41 1.262c-.218 2.611-3.598 4.82-4.288 5.248Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 5.621v5.758A4.626 4.626 0 0 1 15.379 16h-2l-3.397 3.259-.866-.9 3.758-3.607h2.5a3.376 3.376 0 0 0 3.371-3.371v-5.76a3.375 3.375 0 0 0-3.366-3.371H4.621A3.375 3.375 0 0 0 1.25 5.621v5.758a3.375 3.375 0 0 0 3.371 3.371H7.5V16H4.621A4.626 4.626 0 0 1 0 11.379V5.621A4.626 4.626 0 0 1 4.621 1h10.758A4.626 4.626 0 0 1 20 5.621Zm-9.955 7.856a.853.853 0 0 1-.445-.127c-1.018-.628-4.348-2.891-4.586-5.729a2.951 2.951 0 0 1 5.031-2.391 2.95 2.95 0 0 1 5.033 2.391c-.237 2.837-3.567 5.1-4.583 5.727a.851.851 0 0 1-.45.129Zm0-1.324c.843-.55 3.611-2.515 3.788-4.636a1.72 1.72 0 0 0-1.421-1.893 1.7 1.7 0 0 0-1.8.952l-.564 1.182-.568-1.182a1.7 1.7 0 0 0-1.8-.952 1.719 1.719 0 0 0-1.423 1.892c.178 2.122 2.943 4.084 3.787 4.637h.001Z\"/></svg>',\n },\n 'topic-travel': {\n name: 'topic-travel',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.182 3.275a12.171 12.171 0 0 1-2.623 3.9c-.709.71-1.985 1.9-2.568 2.443l2.125 5.221a3.264 3.264 0 0 1-.747 3.425l-.442.442L9.6 13.387l-2.122 1.75c.454 1.096.5 2.319.13 3.446a1.123 1.123 0 0 1-1.065.75 1.123 1.123 0 0 1-.8-.332L1 14.255a1.128 1.128 0 0 1 .418-1.86 4.97 4.97 0 0 1 3.448.13l3-3.607a79.122 79.122 0 0 1 4.871-5.342l.171-.17A12.168 12.168 0 0 1 16.65.851L16.7.828a1.876 1.876 0 0 1 2.478 2.447h.004ZM5.16 3.9a3.27 3.27 0 0 0-3.425.778l-.412.442 4.2 4.191L8.6 5.986c.15-.168.292-.34.443-.508L5.16 3.9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m6.447 8.472-.309.372-.479.575L1.75 5.548a.626.626 0 0 1-.015-.87A3.268 3.268 0 0 1 5.16 3.9l3.867 1.59c-.292.323-.57.657-.857.984L4.711 5.068a1.976 1.976 0 0 0-1.565.106l3.301 3.298Zm.344 10.833a1.123 1.123 0 0 0 .815-.722 4.965 4.965 0 0 0-.129-3.446l2.123-1.75 5.328 5.323.442-.442a3.265 3.265 0 0 0 .747-3.425l-2.126-5.221a122.4 122.4 0 0 0 2.568-2.443 12.172 12.172 0 0 0 2.623-3.9A1.875 1.875 0 0 0 16.7.828l-.055.024a12.167 12.167 0 0 0-3.74 2.553l-.172.17c-1.7 1.7-3.339 3.5-4.873 5.343l-3 3.607a4.959 4.959 0 0 0-3.448-.13A1.128 1.128 0 0 0 1 14.255L5.746 19a1.122 1.122 0 0 0 1.045.305Zm-2.42-5.63a1.11 1.11 0 0 0 1.387-.27l3.067-3.688a76.94 76.94 0 0 1 4.8-5.257l.172-.17A10.9 10.9 0 0 1 17.148 2l.057-.024a.606.606 0 0 1 .686.127.614.614 0 0 1 .138.69 10.909 10.909 0 0 1-2.354 3.5c-.722.723-2.06 1.97-2.6 2.473a1.111 1.111 0 0 0-.274 1.245l2.15 5.279a2 2 0 0 1-.095 1.579L10.4 12.422a1.123 1.123 0 0 0-1.51-.072L6.6 14.24a1.113 1.113 0 0 0-.272 1.392c.31.742.366 1.566.161 2.344l-4.464-4.463a3.655 3.655 0 0 1 2.345.163Z\"/></svg>',\n },\n 'topic-videogaming': {\n name: 'topic-videogaming',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.929 14.17 18.277 6.6a4.631 4.631 0 0 0-4.52-3.6H5.702a4.623 4.623 0 0 0-4.58 3.908L.034 14.387a3.134 3.134 0 0 0 .735 2.5 3.227 3.227 0 0 0 5.553-1.284l.39-1.635h5.794l.39 1.635A3.2 3.2 0 0 0 16.01 18h.782a3.211 3.211 0 0 0 3.123-2.444c.109-.455.114-.929.015-1.386ZM8.026 9.323H6.25V11.1h-1.5V9.323H2.976v-1.5H4.75V6.048h1.5v1.775h1.775v1.5Zm5.275.977c-.1.1-.219.178-.35.23a1.07 1.07 0 0 1-1.04-.098 1.1 1.1 0 0 1-.16-1.692 1.13 1.13 0 0 1 1.55 0 1.089 1.089 0 0 1 0 1.56Zm2.24-2.33a.88.88 0 0 1-.24.36 1.1 1.1 0 0 1-1.55 0 .878.878 0 0 1-.24-.36.982.982 0 0 1-.08-.42.746.746 0 0 1 .02-.21.826.826 0 0 1 .06-.21c.03-.065.063-.129.1-.19a1.13 1.13 0 0 1 1.83 0c.037.061.07.125.1.19.029.067.05.138.06.21.016.069.023.14.02.21a.985.985 0 0 1-.08.42Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.929 14.17 18.277 6.6a4.631 4.631 0 0 0-4.52-3.6H5.702a4.623 4.623 0 0 0-4.58 3.908L.034 14.387a3.134 3.134 0 0 0 .735 2.5 3.227 3.227 0 0 0 5.553-1.284l.39-1.635h5.794l.39 1.635A3.2 3.2 0 0 0 16.01 18h.782a3.211 3.211 0 0 0 3.123-2.444c.109-.455.114-.929.015-1.386Zm-1.6 1.85a1.964 1.964 0 0 1-1.54.73h-.781a1.947 1.947 0 0 1-1.9-1.453l-.63-2.476H5.74L5.11 15.3a1.947 1.947 0 0 1-1.9 1.453 1.974 1.974 0 0 1-1.5-.678 1.862 1.862 0 0 1-.443-1.506l1.09-7.481A3.366 3.366 0 0 1 5.7 4.25h8.062a3.373 3.373 0 0 1 3.3 2.614l1.65 7.573a1.877 1.877 0 0 1-.383 1.583h-.001Z\"/><path d=\"M6.256 6.212h-1.25v1.776h-1.73v1.25h1.73v1.622h1.25V9.238h1.73v-1.25h-1.73V6.212Z\"/><path d=\"M11.82 8.81a1 1 0 1 0 1.71.71 1.001 1.001 0 0 0-.3-.71 1.034 1.034 0 0 0-1.41 0Z\"/><path d=\"M15.23 6.85a.875.875 0 0 0-.32-.22c-.246-.1-.522-.1-.77 0a.875.875 0 0 0-.32.22.975.975 0 0 0 0 1.41 1 1 0 0 0 1.41 0 1.03 1.03 0 0 0 .22-1.09.877.877 0 0 0-.22-.32Z\"/></svg>',\n },\n 'topic-womensfashion': {\n name: 'topic-womensfashion',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.5 18h-15A2.5 2.5 0 0 1 1 13.5l6.742-5.056 1.2 1.6L2.2 15.1a.5.5 0 0 0 .3.9h15a.5.5 0 0 0 .3-.9l-7.2-5.406A13.978 13.978 0 0 1 8.276 7.5 5.452 5.452 0 0 1 7 4a3 3 0 1 1 6 0v1h-2V4a1 1 0 0 0-2 0c0 .81.286 1.594.807 2.215.588.7 1.253 1.33 1.985 1.879L19 13.5a2.5 2.5 0 0 1-1.5 4.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.81 18H2.19A2.142 2.142 0 0 1 .1 16.512a2.031 2.031 0 0 1 .8-2.3L7.6 9.47l.722 1.02-6.7 4.743a.782.782 0 0 0-.325.9.9.9 0 0 0 .9.617H17.81a.9.9 0 0 0 .9-.617.784.784 0 0 0-.324-.9l-7.5-5.315a13.932 13.932 0 0 1-2.347-2.1 4.859 4.859 0 0 1-1.246-3.225A2.654 2.654 0 0 1 10 2a2.654 2.654 0 0 1 2.707 2.592v.625h-1.25v-.625A1.4 1.4 0 0 0 10 3.25a1.4 1.4 0 0 0-1.457 1.342 3.6 3.6 0 0 0 .925 2.394c.635.717 1.35 1.36 2.132 1.914l7.505 5.315a2.032 2.032 0 0 1 .794 2.3A2.141 2.141 0 0 1 17.809 18Z\"/></svg>',\n },\n 'topic-womenshealth': {\n name: 'topic-womenshealth',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 7.005a6.995 6.995 0 0 0-4.086-6.37 7.003 7.003 0 0 0-9.629 4.386A6.994 6.994 0 0 0 9 13.922v2.08H6V18h3V20h2v-2h3v-1.998h-3v-2.08a7.001 7.001 0 0 0 6-6.917Zm-12 0a4.996 4.996 0 0 1 5.975-4.902 5 5 0 0 1 3.644 6.815 4.998 4.998 0 0 1-8.153 1.62A5.003 5.003 0 0 1 5 7.005Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17 7.1a7.167 7.167 0 0 0-1.135-3.877 7.026 7.026 0 0 0-3.04-2.62 6.913 6.913 0 0 0-3.957-.51 6.962 6.962 0 0 0-3.59 1.765 7.115 7.115 0 0 0-2.056 3.466 7.19 7.19 0 0 0 .146 4.041 7.096 7.096 0 0 0 2.3 3.305 6.947 6.947 0 0 0 3.707 1.494v1.806h-3v1.268h3V20h1.25v-2.762h3V15.97h-3v-1.806a6.972 6.972 0 0 0 4.538-2.28A7.157 7.157 0 0 0 17 7.1Zm-12.75 0c0-1.153.337-2.28.97-3.238A5.768 5.768 0 0 1 7.8 1.715a5.678 5.678 0 0 1 3.322-.332c1.115.225 2.14.78 2.944 1.596a5.855 5.855 0 0 1 1.573 2.984 5.903 5.903 0 0 1-.327 3.368 5.812 5.812 0 0 1-2.117 2.616 5.695 5.695 0 0 1-3.195.982 5.718 5.718 0 0 1-4.064-1.71A5.877 5.877 0 0 1 4.25 7.1Z\"/></svg>',\n },\n translate: {\n name: 'translate',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.316 5.283h-2.957L7.676 17.7h2.894l1.066-2.717h4.4l1.07 2.717H20L15.316 5.283Zm-2.673 6.979 1.175-3.177 1.208 3.177h-2.383Zm-4.906-2.145a11.206 11.206 0 0 0 1.755-4.052h.99l1.049-2.779H7.262V1.514H4.483v1.772H0v2.779h2.307a10.928 10.928 0 0 0 1.7 4.053 7.266 7.266 0 0 1-3.375 1.508l-.632.1V14.5l.848-.111a9.8 9.8 0 0 0 5.025-2.219 9.712 9.712 0 0 0 1.848 1.214l.994-2.635a7.268 7.268 0 0 1-.978-.632ZM5.888 7.852a8.805 8.805 0 0 1-.735-1.787h1.465a7.245 7.245 0 0 1-.73 1.787Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m6.1 10.352-.13-.117.1-.14a10.45 10.45 0 0 0 2.012-4.62l.025-.16h2.131V4.036H5.762V2.264H4.484v1.772H0v1.279h2.186l.026.161A10.24 10.24 0 0 0 4.168 10.1l.106.14-.13.117A8.081 8.081 0 0 1 0 12.367v1.281a9.076 9.076 0 0 0 4.993-2.361l.13-.12.13.12a9.1 9.1 0 0 0 3.991 2.143l.456-1.206a8.243 8.243 0 0 1-3.6-1.872Zm-.983-1.147-.149-.213A9.46 9.46 0 0 1 3.5 5.546l-.051-.231h3.339l-.038.224A7.95 7.95 0 0 1 5.274 9l-.157.205Zm10.765-3.172h-1.92L9.844 16.945h1.3l1.066-2.717h5.427l1.063 2.717H20L15.882 6.033Zm-3.232 6.979 2.243-6.062 2.3 6.062H12.65Z\"/></svg>',\n },\n 'translation-off': {\n name: 'translation-off',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 13.149A4.852 4.852 0 0 1 15.158 18H10v-2h5.158a2.851 2.851 0 0 0 0-5.7h-1.367l1.5 1.5-1.414 1.414-3.207-3.209a1 1 0 0 1 0-1.414l3.208-3.208L15.292 6.8l-1.5 1.5h1.367A4.852 4.852 0 0 1 20 13.149Zm-10-1.817V14.2a9.805 9.805 0 0 1-4.1-2.03l-.013.01-.012-.01a9.8 9.8 0 0 1-5.027 2.222L0 14.5v-2.773l.632-.1a7.264 7.264 0 0 0 3.378-1.509 10.928 10.928 0 0 1-1.7-4.053H0V3.286h4.483V1.514h2.805v1.772h4.483l-.965 2.779H9.464a10.928 10.928 0 0 1-1.7 4.053c.67.53 1.426.942 2.236 1.214ZM6.618 6.065H5.153c.179.618.424 1.216.732 1.781a8.828 8.828 0 0 0 .733-1.781Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m8.089 5.475.025-.16h2.131V4.036H5.762V2.264H4.484v1.772H0v1.279h2.186l.026.161c.258 1.68.93 3.269 1.956 4.624l.106.14-.13.117A8.071 8.071 0 0 1 0 12.366v1.282a9.076 9.076 0 0 0 4.993-2.361l.13-.12.13.12a9.085 9.085 0 0 0 3.991 2.142l.455-1.2a8.254 8.254 0 0 1-3.6-1.873l-.13-.117.1-.14a10.449 10.449 0 0 0 2.02-4.624ZM5.274 9l-.157.207-.149-.213A9.46 9.46 0 0 1 3.5 5.546l-.05-.231h3.34l-.038.224A7.95 7.95 0 0 1 5.274 9ZM20 13.524A4.467 4.467 0 0 1 15.552 18h-5.541v-1.25h5.541a3.226 3.226 0 0 0 0-6.452h-2.666l1.933 1.933-.884.884-3-3a.623.623 0 0 1 0-.884l3-3 .884.884-1.933 1.933h2.666A4.467 4.467 0 0 1 20 13.524Z\"/></svg>',\n },\n trim: {\n name: 'trim',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 8.586 7.566 6.152c.28-.506.43-1.074.434-1.652A3.5 3.5 0 1 0 4.5 8a3.449 3.449 0 0 0 1.652-.434L8.586 10l-2.434 2.434A3.45 3.45 0 0 0 4.5 12 3.5 3.5 0 1 0 8 15.5a3.45 3.45 0 0 0-.434-1.652L19.415 2.005 16.591 2 10 8.586ZM4.5 6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z\"/><path d=\"m12.707 11.293-1.414 1.414 5.294 5.288 2.832.005-6.712-6.707Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 9.116 7.373 6.49a3.513 3.513 0 1 0-.883.883L9.116 10 6.49 12.627a3.513 3.513 0 1 0 .883.883L18.892 2h-1.765L10 9.116ZM4.5 6.75a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5Zm0 11a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5Zm14.369.242h-1.77l-6.041-6.041.884-.884 6.927 6.925Z\"/></svg>',\n },\n 'u-slash': {\n name: 'u-slash',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.189 11.532a1.76 1.76 0 0 0 .056.5.612.612 0 0 0 .2.3c.129.097.273.171.426.22l-.882 2.079a3.857 3.857 0 0 1-1.122-.449 1.489 1.489 0 0 1-.58-.645h-.065c-.336.338-.73.611-1.165.806a3.427 3.427 0 0 1-1.41.288 3.391 3.391 0 0 1-1.571-.366 2.754 2.754 0 0 1-1.137-1.106 3.558 3.558 0 0 1-.425-1.8v-5.33H5v4.991c-.024.402.11.796.374 1.1a1.252 1.252 0 0 0 .956.4 1.294 1.294 0 0 0 1.192-.701c.125-.247.186-.522.178-.799V6.029h2.487l.002 5.503Zm6.29-10.116h2.064l-6.424 15.446h-2.02l6.38-15.446Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m11.261 13.02-.685 1.606a3.168 3.168 0 0 1-.948-.5 1.524 1.524 0 0 1-.5-.665h-.04c-.309.361-.69.652-1.121.854a3.44 3.44 0 0 1-1.485.311 3.315 3.315 0 0 1-1.614-.386 2.722 2.722 0 0 1-1.109-1.13 3.689 3.689 0 0 1-.4-1.783V6.1h1.856v5.038c-.009.34.064.678.213.985.132.268.34.49.6.637.274.15.582.226.894.22.337.008.67-.078.961-.248a1.66 1.66 0 0 0 .626-.669 2 2 0 0 0 .217-.925V6.1h1.857v5.771c-.005.19.014.378.056.563a.69.69 0 0 0 .2.342c.125.106.268.188.422.244ZM17 1.416l-6.392 15.446h1.559l6.416-15.446H17Z\"/></svg>',\n },\n unban: {\n name: 'unban',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m8.558 12.558.884.884-5.5 5.5a2.04 2.04 0 0 1-2.884-2.883l5.5-5.5L7 11l1.558 1.558Zm11.03-1.258a1.127 1.127 0 0 0 0-1.592l-1.06-1.06a2.607 2.607 0 0 0-1.857-.769h-.912l-3.634-3.638v-.913a2.606 2.606 0 0 0-.77-1.856L10.3.411a1.128 1.128 0 0 0-1.59 0l-1.25 1.25 10.879 10.884 1.249-1.245ZM2.94 1.149l2.513 2.514L3.412 5.7a1.127 1.127 0 0 0 0 1.592l1.06 1.06a2.608 2.608 0 0 0 1.857.769h.912l3.634 3.634v.913a2.608 2.608 0 0 0 .769 1.856l1.06 1.061a1.127 1.127 0 0 0 1.59 0l2.043-2.042 2.514 2.514.884-.885L3.824.265l-.884.884Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m8.442 2.442-.884-.884L8.705.411a1.129 1.129 0 0 1 1.59 0l1.06 1.061a2.601 2.601 0 0 1 .77 1.856v.913l3.634 3.634h.913a2.607 2.607 0 0 1 1.856.77l1.06 1.055a1.129 1.129 0 0 1 0 1.592l-1.146 1.146-.884-.884 1.059-1.054-.972-.972a1.37 1.37 0 0 0-.973-.4h-1.43L10.875 4.76V3.33c0-.365-.144-.714-.4-.973L9.5 1.384 8.442 2.442ZM3.824.208l15.91 15.911-.883.881-2.485-2.485-2.07 2.07a1.129 1.129 0 0 1-1.591 0l-1.06-1.06a2.6 2.6 0 0 1-.77-1.857v-.913l-.374-.375-6.56 6.562a2.04 2.04 0 0 1-2.883-2.883L7.616 9.5l-.374-.375h-.913a2.607 2.607 0 0 1-1.856-.769L3.412 7.3a1.129 1.129 0 0 1 0-1.592l2.07-2.069L2.94 1.093l.884-.885ZM9.616 11.5 8.5 10.384l-6.558 6.558a.792.792 0 0 0 0 1.117.81.81 0 0 0 1.115 0L9.616 11.5Zm5.866 2.135L6.366 4.52 4.384 6.5l.972.972a1.372 1.372 0 0 0 .973.4h1.43l4.366 4.366v1.431c0 .364.144.713.4.972l.972.972 1.985-1.978Z\"/></svg>',\n },\n undo: {\n name: 'undo',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.5 3H9V1.012A1 1 0 0 0 7.335.265l-3.318 2.95a1 1 0 0 0 0 1.5l3.318 2.946A1 1 0 0 0 9 6.914V5h1.5A6.5 6.5 0 1 1 4 11.5H2A8.5 8.5 0 1 0 10.5 3Zm-4.286.938v.05l-.028-.025.028-.025Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.5 3H6.43l2.26-1.883-.8-.96L4.3 3.145a.624.624 0 0 0 0 .96l3.59 2.988.8-.96L6.43 4.25h4.07a7.25 7.25 0 1 1-7.25 7.25H2A8.5 8.5 0 1 0 10.5 3Z\"/></svg>',\n },\n unheart: {\n name: 'unheart',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.978 7.863a5.363 5.363 0 0 0-1.161-3.848 5.354 5.354 0 0 0-3.507-1.958A5.687 5.687 0 0 0 10 4.121 5.636 5.636 0 0 0 5.59 2.002l11.563 11.574a10.385 10.385 0 0 0 2.826-5.713Z\"/><path d=\"m.559 1.435 1.655 1.66A5.253 5.253 0 0 0 .022 7.863c.492 5.539 7.92 10.128 9.4 10.992a1.143 1.143 0 0 0 1.147 0c1.524-.901 2.967-1.93 4.316-3.075l3.667 3.67.885-.884L1.437.55l-.878.885Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.119 3.533 5.589 2a5.627 5.627 0 0 1 4.412 2.12 5.693 5.693 0 0 1 5.309-2.065 5.352 5.352 0 0 1 3.507 1.957 5.361 5.361 0 0 1 1.16 3.848 10.384 10.384 0 0 1-2.825 5.714l-.876-.877a9.079 9.079 0 0 0 2.458-4.947 4.126 4.126 0 0 0-3.603-4.457 4.367 4.367 0 0 0-4.573 2.27.625.625 0 0 1-1.115 0 4.19 4.19 0 0 0-2.324-2.031ZM1.443.55l18 18.015-.885.885-3.667-3.671a31.067 31.067 0 0 1-4.316 3.075 1.147 1.147 0 0 1-1.148 0C7.943 17.99.514 13.402.022 7.86a5.255 5.255 0 0 1 2.192-4.767L.56 1.434 1.443.55Zm12.568 14.354L3.1 3.982a4.036 4.036 0 0 0-1.833 3.77c.43 4.861 7.224 9.107 8.733 9.988a30.392 30.392 0 0 0 4.01-2.836Z\"/></svg>',\n },\n unlock: {\n name: 'unlock',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 8h-9.5V5.313A3.3 3.3 0 0 1 10 1.875 3.144 3.144 0 0 1 12.886 4h1.941A5.064 5.064 0 0 0 10 0a5.169 5.169 0 0 0-5 5.312V8H3.625A1.629 1.629 0 0 0 2 9.63v7.74A1.629 1.629 0 0 0 3.625 19h12.75A1.629 1.629 0 0 0 18 17.37V9.63A1.629 1.629 0 0 0 16.375 8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.375 8H6.25V5.312A3.92 3.92 0 0 1 10 1.25 3.88 3.88 0 0 1 13.721 5h1.249A5.135 5.135 0 0 0 10 0a5.169 5.169 0 0 0-5 5.312V8H3.625A1.629 1.629 0 0 0 2 9.63v7.74A1.629 1.629 0 0 0 3.625 19h12.75A1.629 1.629 0 0 0 18 17.37V9.63A1.629 1.629 0 0 0 16.375 8Zm.375 9.37a.378.378 0 0 1-.375.38H3.625a.378.378 0 0 1-.375-.38V9.63a.383.383 0 0 1 .375-.38h12.75a.378.378 0 0 1 .375.38v7.74Z\"/></svg>',\n },\n unmod: {\n name: 'unmod',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M6.75 10A3.254 3.254 0 0 0 10 13.25a3.213 3.213 0 0 0 1.7-.492L7.242 8.3c-.32.51-.49 1.098-.492 1.7Z\"/><path d=\"M18.154 2.1 10.271.109a1.1 1.1 0 0 0-.541 0L1.846 2.1A1.122 1.122 0 0 0 1 3.187V12c0 5.277 7.249 7.554 8.7 7.957.098.027.199.042.3.043.101 0 .202-.014.3-.04 1.453-.4 8.7-2.68 8.7-7.957V3.187a1.122 1.122 0 0 0-.846-1.087ZM10 14.75A4.75 4.75 0 1 1 14.75 10 4.756 4.756 0 0 1 10 14.75Z\"/><path d=\"M10 6.75a3.213 3.213 0 0 0-1.7.492l4.458 4.458c.32-.51.49-1.098.492-1.7A3.254 3.254 0 0 0 10 6.75Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 5.125a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Zm3.25 4.5c0 .646-.193 1.277-.554 1.812L8.188 6.929a3.248 3.248 0 0 1 5.062 2.7v-.004Zm-6.5 0a3.232 3.232 0 0 1 .55-1.812l4.508 4.508a3.249 3.249 0 0 1-5.062-2.7l.004.004ZM18.154 2.1 10.271.109a1.1 1.1 0 0 0-.541 0L1.846 2.1A1.122 1.122 0 0 0 1 3.187V12c0 5.277 7.249 7.554 8.7 7.957.098.027.199.042.3.043.101 0 .202-.014.3-.04 1.453-.4 8.7-2.68 8.7-7.957V3.187a1.122 1.122 0 0 0-.846-1.087Zm-.4 9.9c0 4.465-6.989 6.531-7.714 6.751-.8-.22-7.786-2.286-7.786-6.751V3.283L10 1.33l7.75 1.953.004 8.717Z\"/></svg>',\n },\n unpin: {\n name: 'unpin',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.932 7.681a1.132 1.132 0 0 1-.334.807l-.665.665a2.126 2.126 0 0 1-2.432.374l-2.03 2.03-6.029-6.028L10.473 3.5a2.084 2.084 0 0 1 .374-2.432L11.512.4a1.135 1.135 0 0 1 1.24-.248c.139.057.265.142.372.248L19.6 6.876a1.128 1.128 0 0 1 .332.805ZM1.6 2.487 6.275 7.16a2.112 2.112 0 0 0-2.028.506l-.664.664a1.14 1.14 0 0 0 0 1.613l2.53 2.53-5.82 5.82 1.415 1.414 5.819-5.82 2.531 2.53a1.127 1.127 0 0 0 1.6.001l.665-.665a2.067 2.067 0 0 0 .541-1.995l4.649 4.642.884-.884L2.486 1.6l-.886.887Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.933 7.681a1.139 1.139 0 0 1-.334.807l-.666.665a2.126 2.126 0 0 1-2.433.374l-2.03 2.03-.883-.883 2.846-2.847.442.443a.851.851 0 0 0 1.174 0l.588-.587-6.32-6.32-.587.588a.831.831 0 0 0 0 1.174l.442.442-2.845 2.846-.884-.884 2.03-2.03a2.087 2.087 0 0 1 .373-2.434L11.512.4a1.143 1.143 0 0 1 1.613 0l6.475 6.476a1.138 1.138 0 0 1 .334.805ZM2.486 1.6l15.913 15.913-.883.884-4.67-4.67a2.06 2.06 0 0 1-.51 2.025l-.665.666a1.129 1.129 0 0 1-1.237.247 1.134 1.134 0 0 1-.37-.247l-2.8-2.8-5.818 5.82-.884-.884 5.819-5.82-2.798-2.791a1.141 1.141 0 0 1 0-1.613l.665-.664a2.112 2.112 0 0 1 2.028-.506L1.6 2.487l.886-.887Zm8.521 11.65.681-.68-4.261-4.258-.68.68-.442-.442a.849.849 0 0 0-1.174 0l-.587.587 6.319 6.317.587-.587a.832.832 0 0 0 0-1.174l-.442-.443Z\"/></svg>',\n },\n unstar: {\n name: 'unstar',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.691 8.793-3.613 3.868-8.7-8.7L9 1.023a1.19 1.19 0 0 1 2 0l2.666 4.818 5.4 1.047a1.144 1.144 0 0 1 .619 1.9l.006.005ZM.747 1.8l4.3 4.3-4.115.8a1.144 1.144 0 0 0-.618 1.9l3.758 4.023-.68 5.457a1.144 1.144 0 0 0 1.62 1.178L10 17.127l4.988 2.331a1.144 1.144 0 0 0 1.62-1.178l-.088-.711 1.815 1.815.884-.885L1.63.91l-.883.89Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m19.691 8.793-3.613 3.868-.884-.884 3.454-3.7-5.792-1.12L10 1.8 8.3 4.878l-.92-.92L9 1.023a1.191 1.191 0 0 1 2 0l2.666 4.818 5.4 1.047a1.144 1.144 0 0 1 .619 1.9l.006.005ZM1.63.91 19.219 18.5l-.884.885-1.815-1.816.088.711a1.144 1.144 0 0 1-1.62 1.178L10 17.127l-4.988 2.331a1.144 1.144 0 0 1-1.62-1.178l.675-5.464L.309 8.793a1.144 1.144 0 0 1 .618-1.9l4.115-.8L.747 1.8 1.63.91Zm13.453 15.222L6.11 7.158l-4.758.92 4.027 4.313-.724 5.854L10 15.748l5.345 2.5-.262-2.116Z\"/></svg>',\n },\n unverified: {\n name: 'unverified',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.635 6.73 13.27 1.364a4.627 4.627 0 0 0-6.542 0L1.364 6.73a4.627 4.627 0 0 0 0 6.542l5.365 5.365a4.628 4.628 0 0 0 6.542 0l5.364-5.365a4.627 4.627 0 0 0 0-6.542Zm-7.549 8.622c-.11.194-.27.356-.462.47-.197.12-.425.181-.656.178a1.293 1.293 0 0 1-1.114-1.934 1.29 1.29 0 0 1 2.225 0c.116.197.176.421.174.65.002.223-.056.442-.167.636Zm1.8-6.239c-.1.234-.234.45-.4.643-.198.22-.408.428-.629.625-.222.2-.4.372-.529.514a1.992 1.992 0 0 0-.328.484c-.09.19-.136.399-.133.61v.573H9.038v-.568a2.36 2.36 0 0 1 .186-.963c.108-.255.255-.491.437-.7.207-.224.428-.434.662-.629.2-.174.35-.316.46-.428.107-.11.2-.234.273-.369a.92.92 0 0 0-.04-.94 1.008 1.008 0 0 0-.409-.347 1.283 1.283 0 0 0-.563-.123 1.3 1.3 0 0 0-.606.145c-.179.09-.332.226-.444.392a1.043 1.043 0 0 0-.175.568H6.927c.006-.51.143-1.01.4-1.45A2.815 2.815 0 0 1 8.423 6.1a3.37 3.37 0 0 1 1.662-.394 3.5 3.5 0 0 1 1.523.322c.43.196.798.508 1.061.9.257.39.39.849.383 1.316.005.298-.052.594-.168.87h.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 19.99a4.6 4.6 0 0 1-3.27-1.354l-5.366-5.365a4.627 4.627 0 0 1 0-6.542L6.73 1.364a4.627 4.627 0 0 1 6.542 0l5.365 5.364a4.627 4.627 0 0 1 0 6.542l-5.364 5.365A4.601 4.601 0 0 1 10 19.99Zm0-18.73a3.353 3.353 0 0 0-2.386.988L2.25 7.614a3.374 3.374 0 0 0 0 4.772l5.366 5.366a3.46 3.46 0 0 0 4.772 0l5.365-5.366a3.374 3.374 0 0 0 0-4.772L12.386 2.25A3.35 3.35 0 0 0 10 1.26Zm1.511 4.381c.407.188.754.487 1 .861.24.375.365.813.358 1.258.007.293-.05.584-.167.853-.1.229-.238.44-.407.623a8.035 8.035 0 0 1-.636.588 8.14 8.14 0 0 0-.533.482 1.735 1.735 0 0 0-.328.465 1.319 1.319 0 0 0-.13.59v.78h-1.44v-.758a2.22 2.22 0 0 1 .601-1.572c.204-.21.42-.406.65-.588.208-.174.373-.318.492-.432a1.5 1.5 0 0 0 .3-.4c.081-.157.122-.332.12-.509a1.1 1.1 0 0 0-.178-.619 1.183 1.183 0 0 0-.485-.42 1.511 1.511 0 0 0-.677-.15 1.548 1.548 0 0 0-.722.166c-.21.106-.386.267-.512.465-.128.2-.197.43-.2.667h-1.46a2.62 2.62 0 0 1 1.38-2.29 3.143 3.143 0 0 1 1.538-.367c.496-.008.987.097 1.436.307Zm-2.163 9.843a1.077 1.077 0 0 1-.387-.386 1.034 1.034 0 0 1-.144-.537 1.02 1.02 0 0 1 .144-.53c.094-.16.227-.293.387-.386.16-.095.343-.144.53-.143a1.062 1.062 0 0 1 .925 1.596c-.095.16-.229.292-.389.386a1.035 1.035 0 0 1-.537.143 1.015 1.015 0 0 1-.529-.143Z\"/></svg>',\n },\n 'up-arrow': {\n name: 'up-arrow',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.75 19.25V4.164l7.293 7.293 1.414-1.414-9-9a1 1 0 0 0-1.414 0l-9 9 1.414 1.414L8.75 4.164V19.25h2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.312 19.312V2.822l7.933 7.932.884-.884-9-9a.624.624 0 0 0-.884 0l-9 9 .884.884 7.933-7.933v16.491h1.25Z\"/></svg>',\n },\n up: {\n name: 'up',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.293 14.707 10 6.414l-8.293 8.293-1.414-1.414 9-9a1 1 0 0 1 1.414 0l9 9-1.414 1.414Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.558 14.442 10 5.884l-8.558 8.558-.884-.884 9-9a.625.625 0 0 1 .884 0l9 9-.884.884Z\"/></svg>',\n },\n upload: {\n name: 'upload',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m10.777 5.364 3.93 3.929-1.414 1.414L11 8.414V19H9V8.414l-2.292 2.293-1.413-1.414 4.22-4.222.9-.03.362.323Zm5.64-1.15a6.993 6.993 0 0 0-12.833 0A4.993 4.993 0 0 0 5.002 14v-2a2.993 2.993 0 0 1-2.375-4.827 2.993 2.993 0 0 1 1.867-1.12l.587-.1.192-.562a4.993 4.993 0 0 1 9.456 0l.191.563.586.1A2.993 2.993 0 0 1 15 12v2a4.992 4.992 0 0 0 4.21-7.69 4.993 4.993 0 0 0-2.793-2.095Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m10.513 5.63 3.929 3.928-.884.884-2.933-2.933V19h-1.25V7.51l-2.933 2.932-.884-.884L9.67 5.446l.589-.029.254.212Zm5.859-1.482A6.876 6.876 0 0 0 10 0a6.876 6.876 0 0 0-6.372 4.148A4.639 4.639 0 0 0 0 8.625a4.716 4.716 0 0 0 4.792 4.625V12A3.465 3.465 0 0 1 1.25 8.625 3.412 3.412 0 0 1 4.189 5.31l.364-.06.123-.35A5.607 5.607 0 0 1 10 1.25a5.607 5.607 0 0 1 5.324 3.65l.123.348.364.06a3.412 3.412 0 0 1 2.939 3.317A3.465 3.465 0 0 1 15.208 12v1.25A4.716 4.716 0 0 0 20 8.625a4.639 4.639 0 0 0-3.628-4.477Z\"/></svg>',\n },\n upvote: {\n name: 'upvote',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.706 8.953 10.834.372A1.123 1.123 0 0 0 10 0a1.128 1.128 0 0 0-.833.368L1.29 8.957a1.249 1.249 0 0 0-.171 1.343 1.114 1.114 0 0 0 1.007.7H6v6.877A1.125 1.125 0 0 0 7.123 19h5.754A1.125 1.125 0 0 0 14 17.877V11h3.877a1.114 1.114 0 0 0 1.005-.7 1.251 1.251 0 0 0-.176-1.347Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.877 19H7.123A1.125 1.125 0 0 1 6 17.877V11H2.126a1.114 1.114 0 0 1-1.007-.7 1.249 1.249 0 0 1 .171-1.343L9.166.368a1.128 1.128 0 0 1 1.668.004l7.872 8.581a1.25 1.25 0 0 1 .176 1.348 1.113 1.113 0 0 1-1.005.7H14v6.877A1.125 1.125 0 0 1 12.877 19ZM7.25 17.75h5.5v-8h4.934L10 1.31 2.258 9.75H7.25v8ZM2.227 9.784l-.012.016c.01-.006.014-.01.012-.016Z\"/></svg>',\n },\n upvotes: {\n name: 'upvotes',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.5 13.205h1.424v1.613A1.127 1.127 0 0 1 7.8 15.943H5.2a1.128 1.128 0 0 1-1.125-1.125V9.91h-3.03a.875.875 0 0 1-.665-1.445l5.266-6.143a1.16 1.16 0 0 1 1.71 0l2.593 3.026-3.957 4.543A2 2 0 0 0 7.5 13.205Zm12.12-2.681L14.354 4.38a1.16 1.16 0 0 0-1.709 0L7.38 10.523a.875.875 0 0 0 .664 1.445h3.031v4.907A1.127 1.127 0 0 0 12.2 18h2.6a1.128 1.128 0 0 0 1.125-1.125v-4.907h3.032a.876.876 0 0 0 .664-1.444Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.674 14.693h-2.35V8.66H1.858L6.5 3.247 9.12 6.3l.83-.953-2.595-3.024a1.16 1.16 0 0 0-1.709 0L.38 8.466a.875.875 0 0 0 .664 1.445h3.031v4.907A1.127 1.127 0 0 0 5.2 15.943h2.6a1.128 1.128 0 0 0 1.125-1.125v-1.613h-1.25v1.488ZM14.8 18h-2.6a1.128 1.128 0 0 1-1.125-1.125v-4.907h-3.03a.876.876 0 0 1-.665-1.445l5.266-6.143a1.16 1.16 0 0 1 1.71 0l5.265 6.144a.875.875 0 0 1-.664 1.444h-3.032v4.907A1.127 1.127 0 0 1 14.8 18Zm-2.475-1.25h2.35v-6.032h3.466L13.5 5.3l-4.64 5.418h3.464v6.032Z\"/></svg>',\n },\n user: {\n name: 'user',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 17.411v.482A1.114 1.114 0 0 1 17.884 19H2.119A1.113 1.113 0 0 1 1 17.893v-.482A6.482 6.482 0 0 1 7.538 11h4.927A6.483 6.483 0 0 1 19 17.411ZM10 10a5 5 0 1 0-5-5 5.006 5.006 0 0 0 5 5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.465 11H7.538A6.482 6.482 0 0 0 1 17.411v.482A1.113 1.113 0 0 0 2.119 19h15.765A1.114 1.114 0 0 0 19 17.893v-.482A6.484 6.484 0 0 0 12.465 11Zm5.287 6.75h-15.5v-.339a5.23 5.23 0 0 1 5.286-5.161h4.927a5.231 5.231 0 0 1 5.287 5.161v.339ZM10 10a5 5 0 1 0-5-5 5.006 5.006 0 0 0 5 5Zm0-8.75a3.75 3.75 0 1 1 0 7.5 3.75 3.75 0 0 1 0-7.5Z\"/></svg>',\n },\n 'user-note': {\n name: 'user-note',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.044 2.419a2.044 2.044 0 1 1-4.088 0 2.044 2.044 0 0 1 4.088 0ZM7.35 18.989h6.265l-5.2-2.006a4.377 4.377 0 0 1-1.065 2.006ZM19 2.625v14.75a1.62 1.62 0 0 1-1.5 1.612l-10.375-4v1.021a2.977 2.977 0 0 1-2.676 2.952A3.855 3.855 0 0 1 1 15.137V2.625A1.627 1.627 0 0 1 2.625 1H6.87a3.444 3.444 0 1 0 6.26 0h4.245A1.627 1.627 0 0 1 19 2.625ZM11.686 11H6v1.5h5.686V11ZM14 8H6v1.5h8V8Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 1h-3.83v1.25h3.83a.375.375 0 0 1 .375.375v14.75a.371.371 0 0 1-.3.36L7.2 14.079v.611a3.053 3.053 0 0 1-2.7 3.023 2.608 2.608 0 0 1-2.25-2.576V2.625a.375.375 0 0 1 .375-.375h3.6V1h-3.6A1.627 1.627 0 0 0 1 2.625v12.512a3.866 3.866 0 0 0 3.14 3.79s.608.073.723.073h12.512A1.627 1.627 0 0 0 19 17.375V2.625A1.627 1.627 0 0 0 17.375 1ZM8.36 15.667l5.658 2.083H7.151a4 4 0 0 0 1.209-2.083Zm3.684-13.248a2.044 2.044 0 1 1-4.088 0 2.044 2.044 0 0 1 4.088 0Zm-.358 9.831H6V11h5.686v1.25Zm2.314-3H6V8h8v1.25Z\"/></svg>',\n },\n users: {\n name: 'users',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1.737 17.125h-.649A1.064 1.064 0 0 1 0 16.089v-.41c0-3.063 2.774-5.554 6.184-5.554h.1c.31.608.72 1.159 1.216 1.628a7.326 7.326 0 0 0-5.763 5.372ZM11.55 1.45c.1 0 .193.01.29.015A4.457 4.457 0 0 0 8.55 0a4.526 4.526 0 0 0-2.9 7.982 5.938 5.938 0 0 1 1.702-4.777A5.95 5.95 0 0 1 11.55 1.45ZM13.816 13H9.184C5.774 13 3 15.49 3 18.554v.41A1.064 1.064 0 0 0 4.088 20h14.824A1.064 1.064 0 0 0 20 18.964v-.41C20 15.49 17.226 13 13.816 13ZM11.5 12a4.5 4.5 0 1 0 0-9.001 4.5 4.5 0 0 0 0 9Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.16 15.875a6.43 6.43 0 0 0-.423 1.25h-.649A1.064 1.064 0 0 1 0 16.089v-.41c0-3.063 2.774-5.554 6.184-5.554h.1c.23.451.517.871.854 1.25h-.95c-2.721 0-4.934 1.93-4.934 4.3v.2h.906Zm3.593-9.691A3.273 3.273 0 0 1 8.55 1.25c.53.005 1.051.142 1.515.4a5.87 5.87 0 0 1 1.485-.2c.1 0 .193.01.29.015A4.457 4.457 0 0 0 8.55 0a4.526 4.526 0 0 0-2.9 7.982 5.938 5.938 0 0 1-.03-.57 6 6 0 0 1 .133-1.228ZM13.816 13H9.184C5.774 13 3 15.49 3 18.554v.41A1.064 1.064 0 0 0 4.088 20h14.824A1.064 1.064 0 0 0 20 18.964v-.41C20 15.49 17.226 13 13.816 13Zm4.934 5.75H4.25v-.2c0-2.373 2.213-4.3 4.934-4.3h4.632c2.72 0 4.934 1.93 4.934 4.3v.2ZM11.5 3a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Zm0 7.75a3.25 3.25 0 1 1 0-6.5 3.25 3.25 0 0 1 0 6.5Z\"/></svg>',\n },\n vault: {\n name: 'vault',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10.406 8.777a3.828 3.828 0 0 0 1.386-4.5 5.987 5.987 0 0 0-5.112.73 5.675 5.675 0 0 1 3.726 3.77Z\"/><path d=\"M9.133 8.94a4.486 4.486 0 0 0-3.571-2.96 5.964 5.964 0 0 0-1.551 3.856 5.672 5.672 0 0 1 5.122-.896Z\"/><path d=\"M11.224 9.731a3.834 3.834 0 0 0 4.623-1.061 6.01 6.01 0 0 0-2.611-3.714 5.058 5.058 0 0 1-2.012 4.775Z\"/><path d=\"M8.7 10.118a4.486 4.486 0 0 0-4.55 1.2 6.013 6.013 0 0 0 2.613 3.725A5.678 5.678 0 0 1 8.7 10.118Z\"/><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 17.249A7.249 7.249 0 1 1 17.25 10 7.257 7.257 0 0 1 10 17.249Z\"/><path d=\"M10.958 10.968a3.784 3.784 0 0 0 3.5 3.03 5.965 5.965 0 0 0 1.527-3.751 5.032 5.032 0 0 1-5.027.721Z\"/><path d=\"M9.654 10.936a4.519 4.519 0 0 0-1.541 4.754 5.95 5.95 0 0 0 5.148-.661 5.18 5.18 0 0 1-3.607-4.093Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 2.751A7.249 7.249 0 1 0 17.25 10 7.257 7.257 0 0 0 10 2.751Zm.957 8.217a5.032 5.032 0 0 0 5.03-.721 5.965 5.965 0 0 1-1.527 3.751 3.784 3.784 0 0 1-3.502-3.03h-.001Zm4.889-2.3a3.833 3.833 0 0 1-4.623 1.061 5.058 5.058 0 0 0 2.012-4.775 6.01 6.01 0 0 1 2.612 3.716l-.001-.002Zm-4.055-4.4a3.828 3.828 0 0 1-1.386 4.5A5.675 5.675 0 0 0 6.68 5.007a5.987 5.987 0 0 1 5.112-.735l-.001-.004ZM9.133 8.94a5.672 5.672 0 0 0-5.122.9 5.964 5.964 0 0 1 1.551-3.86 4.486 4.486 0 0 1 3.571 2.96Zm-4.98 2.379a4.486 4.486 0 0 1 4.55-1.2 5.678 5.678 0 0 0-1.937 4.926 6.013 6.013 0 0 1-2.613-3.726Zm3.96 4.371a4.52 4.52 0 0 1 1.541-4.754 5.18 5.18 0 0 0 3.607 4.093 5.949 5.949 0 0 1-5.148.661ZM10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 18.75A8.75 8.75 0 1 1 18.75 10 8.76 8.76 0 0 1 10 18.75Z\"/></svg>',\n },\n verified: {\n name: 'verified',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.62 9.149 16.906 6.9V4.216a1.124 1.124 0 0 0-1.122-1.123H13.1L10.81.335a1.158 1.158 0 0 0-1.66.044L6.9 3.093H4.214a1.124 1.124 0 0 0-1.122 1.123V6.9L.334 9.189a1.162 1.162 0 0 0 .044 1.662L3.092 13.1v2.686a1.124 1.124 0 0 0 1.122 1.123H6.9l2.29 2.756a1.116 1.116 0 0 0 .794.329 1.22 1.22 0 0 0 .866-.373l2.25-2.714h2.687a1.124 1.124 0 0 0 1.122-1.123V13.1l2.758-2.288a1.16 1.16 0 0 0-.046-1.663ZM9.03 13.53a.746.746 0 0 1-1.06 0l-2-2 1.06-1.06 1.47 1.469 4.47-4.469 1.06 1.06-5 5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.983 19.994a1.115 1.115 0 0 1-.794-.329L6.9 16.907H4.214a1.124 1.124 0 0 1-1.122-1.123V13.1L.378 10.851a1.163 1.163 0 0 1-.044-1.662L3.092 6.9V4.216a1.124 1.124 0 0 1 1.122-1.123H6.9L9.15.379a1.158 1.158 0 0 1 1.66-.044l2.29 2.758h2.687a1.124 1.124 0 0 1 1.122 1.123V6.9l2.714 2.248a1.162 1.162 0 0 1 .044 1.662l-2.76 2.29v2.685a1.124 1.124 0 0 1-1.122 1.123H13.1l-2.25 2.713a1.218 1.218 0 0 1-.866.373Zm-5.64-4.337h2.956l.253.118.155.139L10 18.69l2.383-2.882.252-.12.207-.031h2.813V12.71l.12-.251.144-.167L18.69 10l-2.875-2.38-.12-.252-.038-.221v-2.8h-2.952l-.253-.118-.152-.143L10 1.31 7.614 4.192l-.252.12-.207.031H4.342V7.29l-.12.251-.144.167L1.31 10l2.89 2.388.116.254.031.2-.004 2.815Zm12.14-2.8-.165-.08.165.08Zm-7.542.589 5-5-.884-.884L8.5 12.116l-1.558-1.558-.884.884 2 2a.624.624 0 0 0 .884 0v.004Z\"/></svg>',\n },\n 'video-camera': {\n name: 'video-camera',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 8.12v7.765a1.105 1.105 0 0 1-.328.786 1.007 1.007 0 0 1-.806.327l-2.355-.016a1.13 1.13 0 0 1-.611-.182l-1.919-1.213v1.3A1.122 1.122 0 0 1 12.857 18H1.126A1.121 1.121 0 0 1 0 16.886V7.114A1.121 1.121 0 0 1 1.126 6h11.731a1.122 1.122 0 0 1 1.127 1.114v1.3L15.9 7.2c.182-.118.394-.18.61-.181l2.353-.017a1 1 0 0 1 .806.328 1.1 1.1 0 0 1 .331.79ZM4.625 4H14V2H4.625a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.857 18H1.126A1.121 1.121 0 0 1 0 16.886V7.114A1.121 1.121 0 0 1 1.126 6h11.731a1.122 1.122 0 0 1 1.127 1.114v1.3L15.9 7.2a1.13 1.13 0 0 1 .61-.18L18.866 7a1.06 1.06 0 0 1 .806.328 1.101 1.101 0 0 1 .328.787v7.772a1.1 1.1 0 0 1-.328.785 1.121 1.121 0 0 1-.8.328h-.008l-2.355-.017a1.13 1.13 0 0 1-.609-.183l-1.919-1.214v1.3A1.122 1.122 0 0 1 12.857 18ZM1.25 16.75h11.484v-1.4a1.113 1.113 0 0 1 .581-.975 1.135 1.135 0 0 1 1.159.041l2.107 1.335h2.169V8.218l-2.2.05-2.076 1.315a1.136 1.136 0 0 1-1.583-.367 1.113 1.113 0 0 1-.157-.567V7.25H1.25v9.5Zm3.375-13.5h9.325V2H4.625A2.629 2.629 0 0 0 2 4.625V5h1.25v-.375A1.377 1.377 0 0 1 4.625 3.25Z\"/></svg>',\n },\n 'video-feed': {\n name: 'video-feed',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.74 6.914a3.901 3.901 0 0 0-2.466-1.964 22.274 22.274 0 0 0-5.775-.884l.883-2.694 2.457.522a1.494 1.494 0 1 0 .2-1.234L11.533.127a1.116 1.116 0 0 0-1.316.8l-1.01 3.07.218.07c-1.957.04-3.9.337-5.779.885A3.9 3.9 0 0 0 1.18 6.914a11.564 11.564 0 0 0 0 10.178 3.9 3.9 0 0 0 2.466 1.964c2.05.604 4.177.91 6.314.907a22.229 22.229 0 0 0 6.314-.907 3.9 3.9 0 0 0 2.466-1.964 11.565 11.565 0 0 0 0-10.178Zm-5 5.127-5.88 3.795a.351.351 0 0 1-.54-.294V7.95a.35.35 0 0 1 .54-.294l5.883 3.8a.351.351 0 0 1 0 .59l-.003-.005Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.74 6.914a3.901 3.901 0 0 0-2.466-1.964 22.274 22.274 0 0 0-5.775-.884l.883-2.694 2.457.522a1.494 1.494 0 1 0 .2-1.234L11.533.127a1.115 1.115 0 0 0-1.316.8l-1.01 3.07.218.07c-1.957.04-3.9.337-5.779.885A3.9 3.9 0 0 0 1.18 6.914a11.564 11.564 0 0 0 0 10.178 3.9 3.9 0 0 0 2.466 1.964c2.05.604 4.177.91 6.314.907a22.229 22.229 0 0 0 6.314-.907 3.9 3.9 0 0 0 2.466-1.964 11.565 11.565 0 0 0 0-10.178Zm-1.054 9.673a2.738 2.738 0 0 1-1.744 1.347 21.354 21.354 0 0 1-11.964 0 2.738 2.738 0 0 1-1.744-1.347 10.407 10.407 0 0 1 0-9.168 2.739 2.739 0 0 1 1.744-1.347 21.26 21.26 0 0 1 11.964 0 2.739 2.739 0 0 1 1.744 1.347 10.407 10.407 0 0 1 0 9.168Z\"/><path d=\"M13.96 11.136 8.079 7.34a.718.718 0 0 0-.74-.028.726.726 0 0 0-.379.637v7.592a.725.725 0 0 0 1.118.609l5.882-3.794a.723.723 0 0 0 0-1.221Zm-5.75 3.442V8.913l4.391 2.833-4.391 2.832Z\"/></svg>',\n },\n 'video-post': {\n name: 'video-post',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.838 3.631a4.228 4.228 0 0 0-2.469-2.469 18.116 18.116 0 0 0-12.738 0 4.228 4.228 0 0 0-2.469 2.469 18.033 18.033 0 0 0 0 12.737 4.226 4.226 0 0 0 2.469 2.47 18.036 18.036 0 0 0 12.738 0 4.225 4.225 0 0 0 2.469-2.469 18.036 18.036 0 0 0 0-12.738Zm-4.961 6.977-5.884 3.8a.724.724 0 0 1-1.118-.608V6.2a.725.725 0 0 1 1.119-.6l5.882 3.8a.826.826 0 0 1 .331.608.826.826 0 0 1-.33.6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.838 3.631a4.228 4.228 0 0 0-2.469-2.469 18.116 18.116 0 0 0-12.738 0 4.228 4.228 0 0 0-2.469 2.469 18.033 18.033 0 0 0 0 12.737 4.226 4.226 0 0 0 2.469 2.47 18.036 18.036 0 0 0 12.738 0 4.225 4.225 0 0 0 2.469-2.469 18.036 18.036 0 0 0 0-12.738Zm-1.17 12.3a2.98 2.98 0 0 1-1.739 1.739 16.858 16.858 0 0 1-11.858 0 2.98 2.98 0 0 1-1.739-1.74 16.783 16.783 0 0 1 0-11.857 2.978 2.978 0 0 1 1.739-1.741 16.785 16.785 0 0 1 11.858 0 2.98 2.98 0 0 1 1.739 1.739 16.785 16.785 0 0 1 0 11.858v.002Z\"/><path d=\"M14 9.392 8.119 5.6A.725.725 0 0 0 7 6.2v7.6a.725.725 0 0 0 1.118.609L14 10.608a.827.827 0 0 0 .333-.608.827.827 0 0 0-.333-.608Zm-5.75 3.441V7.167L12.64 10l-4.39 2.833Z\"/></svg>',\n },\n 'video-thread': {\n name: 'video-thread',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 2.083a2.625 2.625 0 0 1 2 2.542V6h-2V2.083ZM12 16v2h4v-2h-4Zm4-12V2h-4v2h4ZM2.625 16A.625.625 0 0 1 2 15.375V4.625A.625.625 0 0 1 2.625 4H10V2H2.625A2.629 2.629 0 0 0 0 4.625v10.75A2.63 2.63 0 0 0 2.625 18H10v-2H2.625ZM18 17.917a2.625 2.625 0 0 0 2-2.542V14h-2v3.917ZM18 8v4h2V8h-2Zm-3.543 1.394-5.32-3.207a.715.715 0 0 0-.726-.01.79.79 0 0 0-.361.616v6.414a.708.708 0 0 0 .361.616.73.73 0 0 0 .351.081.74.74 0 0 0 .375-.091l5.319-3.207a.707.707 0 0 0 .001-1.212Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.75 14H20v1.375a2.625 2.625 0 0 1-2 2.542v-1.324a1.372 1.372 0 0 0 .75-1.218V14Zm0-6v4H20V8h-1.25ZM16 3.25V2h-4v1.25h4Zm-4 13.5V18h4v-1.25h-4Zm6.75-12.125V6H20V4.625a2.625 2.625 0 0 0-2-2.542v1.324a1.373 1.373 0 0 1 .75 1.218ZM2.625 16.75a1.377 1.377 0 0 1-1.375-1.375V4.625A1.377 1.377 0 0 1 2.625 3.25H10V2H2.625A2.629 2.629 0 0 0 0 4.625v10.75A2.63 2.63 0 0 0 2.625 18H10v-1.25H2.625Zm6.512-2.937 5.319-3.207a.707.707 0 0 0 0-1.212L9.137 6.187a.717.717 0 0 0-.726-.01.79.79 0 0 0-.361.616v6.414a.708.708 0 0 0 .361.616.73.73 0 0 0 .351.081.74.74 0 0 0 .375-.091ZM13.042 10 9.3 12.256V7.744L13.042 10Z\"/></svg>',\n },\n 'video-transcription': {\n name: 'video-transcription',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 2H2.625A2.629 2.629 0 0 0 0 4.625v10.75A2.63 2.63 0 0 0 2.625 18h14.75A2.63 2.63 0 0 0 20 15.375V4.625A2.63 2.63 0 0 0 17.375 2ZM3 9h3.535v1.5H3V9Zm8.415 5.5H3V13h8.415v1.5Zm5.585 0h-3.535V13H17v1.5Zm0-4H8.585V9H17v1.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.375 18H2.625A2.63 2.63 0 0 1 0 15.375V4.625A2.629 2.629 0 0 1 2.625 2h14.75A2.63 2.63 0 0 1 20 4.625v10.75A2.63 2.63 0 0 1 17.375 18ZM2.625 3.25A1.377 1.377 0 0 0 1.25 4.625v10.75a1.377 1.377 0 0 0 1.375 1.375h14.75a1.377 1.377 0 0 0 1.375-1.375V4.625a1.377 1.377 0 0 0-1.375-1.375H2.625ZM6.766 9h-3.7v1.25h3.7V9Zm10.169 0H8.679v1.25h8.256V9Zm0 4h-3.7v1.25h3.7V13Zm-5.614 0H3.065v1.25h8.256V13Z\"/></svg>',\n },\n 'view-card': {\n name: 'view-card',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 9H1V2.119A1.119 1.119 0 0 1 2.118 1h15.764A1.119 1.119 0 0 1 19 2.119V9ZM1 17.881A1.119 1.119 0 0 0 2.118 19h15.764A1.12 1.12 0 0 0 19 17.881V11H1v6.881Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.882 1H2.118A1.12 1.12 0 0 0 1 2.119v15.762A1.119 1.119 0 0 0 2.118 19h15.764A1.12 1.12 0 0 0 19 17.881V2.119A1.12 1.12 0 0 0 17.882 1Zm-.132 16.75H2.25v-7.138h15.5v7.138ZM2.25 9.362V2.25h15.5v7.112H2.25Z\"/></svg>',\n },\n 'view-classic': {\n name: 'view-classic',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M1 14.5h18v3.381A1.12 1.12 0 0 1 17.882 19H2.118A1.12 1.12 0 0 1 1 17.881V14.5ZM19 2.119A1.12 1.12 0 0 0 17.882 1H2.118A1.12 1.12 0 0 0 1 2.119V5.5h18V2.119Zm0 7.243V7.5H1v5h18V9.362Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.882 2H2.118A1.118 1.118 0 0 0 1 3.116v13.768A1.118 1.118 0 0 0 2.118 18h15.764A1.118 1.118 0 0 0 19 16.884V3.116A1.118 1.118 0 0 0 17.882 2ZM2.25 3.25h15.5V7H2.25V3.25Zm15.5 13.5H2.25v-3.5h15.5v3.5Zm0-4.75H2.25V8.25h15.5V12Z\"/></svg>',\n },\n 'view-compact': {\n name: 'view-compact',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 4H2V2h16v2Zm0 2.667H2v2h16v-2Zm0 4.666H2v2h16v-2ZM18 16H2v2h16v-2Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18 3.25H2V2h16v1.25ZM18 7H2v1.25h16V7Zm0 4.75H2V13h16v-1.25Zm0 5H2V18h16v-1.25Z\"/></svg>',\n },\n 'view-grid': {\n name: 'view-grid',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9 2.188v5.624A1.185 1.185 0 0 1 7.819 9H2.181A1.185 1.185 0 0 1 1 7.812V2.188A1.185 1.185 0 0 1 2.181 1h5.638A1.185 1.185 0 0 1 9 2.188ZM17.819 1h-5.638A1.185 1.185 0 0 0 11 2.188v5.624A1.185 1.185 0 0 0 12.181 9h5.638A1.185 1.185 0 0 0 19 7.812V2.188A1.185 1.185 0 0 0 17.819 1Zm-10 10H2.181A1.185 1.185 0 0 0 1 12.188v5.624A1.185 1.185 0 0 0 2.181 19h5.638A1.185 1.185 0 0 0 9 17.812v-5.624A1.185 1.185 0 0 0 7.819 11Zm10 0h-5.638A1.185 1.185 0 0 0 11 12.188v5.624A1.185 1.185 0 0 0 12.181 19h5.638A1.185 1.185 0 0 0 19 17.812v-5.624A1.185 1.185 0 0 0 17.819 11Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.819 9H2.181A1.185 1.185 0 0 1 1 7.812V2.188A1.185 1.185 0 0 1 2.181 1h5.638A1.185 1.185 0 0 1 9 2.188v5.624A1.185 1.185 0 0 1 7.819 9Zm-5.57-1.25h5.57L7.75 2.188l-5.569.062.068 5.5ZM17.819 9h-5.638A1.185 1.185 0 0 1 11 7.812V2.188A1.185 1.185 0 0 1 12.181 1h5.638A1.185 1.185 0 0 1 19 2.188v5.624A1.185 1.185 0 0 1 17.819 9ZM12.25 2.249v5.563l5.569-.062-.069-5.562-5.5.061ZM7.819 19H2.181A1.185 1.185 0 0 1 1 17.812v-5.624A1.185 1.185 0 0 1 2.181 11h5.638A1.185 1.185 0 0 1 9 12.188v5.624A1.185 1.185 0 0 1 7.819 19Zm-5.57-1.25h5.57l-.069-5.562-5.569.062.068 5.5ZM17.819 19h-5.638A1.185 1.185 0 0 1 11 17.812v-5.624A1.185 1.185 0 0 1 12.181 11h5.638A1.185 1.185 0 0 1 19 12.188v5.624A1.185 1.185 0 0 1 17.819 19Zm-5.569-6.751v5.563l5.569-.062-.069-5.562-5.5.061Z\"/></svg>',\n },\n 'view-sort': {\n name: 'view-sort',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m10.688 14.97-4 3.811a1 1 0 0 1-1.377 0l-4-3.811 1.378-1.447 2.31 2.201V1.033h2v14.691l2.312-2.2 1.377 1.446Zm8-10.007-4-3.811a1 1 0 0 0-1.378 0l-4 3.811 1.378 1.447L13 4.209V19h2V4.209l2.312 2.2 1.378-1.446Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m9.354 14.38.884.883L6.7 18.8a.621.621 0 0 1-.442.183.628.628 0 0 1-.443-.182l-3.533-3.537.885-.885 2.47 2.469V1.134h1.25v15.714l2.467-2.468Zm8.884-9.653L14.7 1.191a.624.624 0 0 0-.884 0l-3.533 3.536.883.884 2.47-2.469v15.715h1.25V3.143l2.468 2.468.884-.884Z\"/></svg>',\n },\n views: {\n name: 'views',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M15.954 6.894A10.6 10.6 0 0 0 12 6.125c-.339 0-.673.031-1.007.063-.013-.15-.037-.3-.074-.446a3.016 3.016 0 0 0-3.682-2.068 2.917 2.917 0 0 0-2.125 3.582c.103.37.278.716.516 1.018a10.226 10.226 0 0 0-2.323 2.415A8.615 8.615 0 0 1 1.97 9.683 8.192 8.192 0 0 1 .211 7.377a1.94 1.94 0 0 1 0-1.753A8.757 8.757 0 0 1 8.014 1a8.679 8.679 0 0 1 7.735 4.5c.226.428.298.92.205 1.394Zm3.654 7.6a8.198 8.198 0 0 1-2 2.488 8.78 8.78 0 0 1-11.55-.3 8.174 8.174 0 0 1-1.729-2.309 1.968 1.968 0 0 1 0-1.745A8.586 8.586 0 0 1 12 8a8.5 8.5 0 0 1 7.6 4.5 2.143 2.143 0 0 1 .01 1.991v.003Zm-4.759-1.752a2.947 2.947 0 1 0-2.086 3.583 2.923 2.923 0 0 0 2.086-3.583Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.078 9.691a9.85 9.85 0 0 0-.774 1A8.613 8.613 0 0 1 1.97 9.683 8.192 8.192 0 0 1 .211 7.377a1.94 1.94 0 0 1 0-1.753A8.757 8.757 0 0 1 8.014 1a8.679 8.679 0 0 1 7.735 4.5c.227.43.3.924.205 1.4-.391-.157-.792-.29-1.2-.4a.885.885 0 0 0-.106-.412A7.43 7.43 0 0 0 8.014 2.25a7.5 7.5 0 0 0-6.689 3.941.7.7 0 0 0 0 .619 6.938 6.938 0 0 0 1.49 1.953c.388.353.81.664 1.263.928Zm1.635-2.6a2.217 2.217 0 0 1 .222-1.71A2.352 2.352 0 0 1 7.4 4.278c.202-.051.408-.078.616-.078a2.372 2.372 0 0 1 2.3 1.709c.029.113.048.228.06.344.411-.062.826-.1 1.242-.113a3.513 3.513 0 0 0-.1-.563A3.648 3.648 0 0 0 7.08 3.069a3.592 3.592 0 0 0-2.227 1.686 3.442 3.442 0 0 0 .286 3.893c.314-.27.644-.52.988-.75a2.268 2.268 0 0 1-.413-.808v.001Zm11.893 9.889a8.198 8.198 0 0 0 2-2.488A2.142 2.142 0 0 0 19.6 12.5 8.499 8.499 0 0 0 12 8a8.586 8.586 0 0 0-7.67 4.628 1.968 1.968 0 0 0 0 1.745 8.176 8.176 0 0 0 1.726 2.306 8.78 8.78 0 0 0 11.551.3v.001Zm.89-3.9a.899.899 0 0 1 0 .833c-.422.808-1 1.524-1.7 2.108a7.527 7.527 0 0 1-9.89-.254 6.926 6.926 0 0 1-1.464-1.954.716.716 0 0 1 0-.626A7.328 7.328 0 0 1 12 9.25a7.262 7.262 0 0 1 6.5 3.83h-.003Zm-5.572 3.849a3.546 3.546 0 0 0 2.175-1.663 3.508 3.508 0 0 0 .352-2.687 3.588 3.588 0 0 0-5.632-1.897 3.543 3.543 0 0 0-.92 1.051 3.506 3.506 0 0 0-.352 2.686 3.582 3.582 0 0 0 4.377 2.51Zm1.322-4.024a2.265 2.265 0 0 1-.227 1.735 2.306 2.306 0 0 1-1.42 1.081 2.334 2.334 0 0 1-2.849-1.628 2.265 2.265 0 0 1 .227-1.735 2.298 2.298 0 0 1 1.416-1.08 2.357 2.357 0 0 1 2.018.395c.406.308.7.74.835 1.232Z\"/></svg>',\n },\n volume: {\n name: 'volume',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13 13.5v-2a1.5 1.5 0 1 0 0-3v-2a3.5 3.5 0 1 1 0 7ZM13 3v2a5 5 0 1 1 0 10v2a7 7 0 1 0 0-14ZM10.357.252A1.091 1.091 0 0 0 9.19.405l-5.374 4.65H2.108A1.125 1.125 0 0 0 1 6.193v7.614a1.125 1.125 0 0 0 1.108 1.138h1.707l5.39 4.663a1.081 1.081 0 0 0 1.153.14A1.131 1.131 0 0 0 11 18.715V1.285a1.13 1.13 0 0 0-.643-1.033Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.891 19.854c-.25 0-.494-.087-.687-.247l-5.389-4.662H2.108A1.125 1.125 0 0 1 1 13.807V6.193a1.125 1.125 0 0 1 1.108-1.138h1.707L9.19.405a1.089 1.089 0 0 1 1.168-.153A1.129 1.129 0 0 1 11 1.285v17.43a1.129 1.129 0 0 1-.643 1.033c-.145.07-.305.106-.466.106ZM2.251 13.7h2.03l5.47 4.727V1.572L4.28 6.305h-2.03V13.7ZM16.124 10A3.13 3.13 0 0 0 13 6.875v1.25a1.875 1.875 0 1 1 0 3.75v1.25A3.129 3.129 0 0 0 16.125 10ZM20 10a7.008 7.008 0 0 0-7-7v1.25a5.75 5.75 0 1 1 0 11.5V17a7.008 7.008 0 0 0 7-7Z\"/></svg>',\n },\n wallet: {\n name: 'wallet',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M2.625 2.625a3.98 3.98 0 0 0-1.545.312 2.34 2.34 0 0 1 1.274-.649L14.377.343A2.364 2.364 0 0 1 17.089 2.3l.066.4a4.014 4.014 0 0 0-.78-.079l-13.75.004ZM11.012 11a3.5 3.5 0 0 1 3.5-3.5H19v-.875A2.63 2.63 0 0 0 16.375 4H2.625A2.629 2.629 0 0 0 0 6.625v8.75A2.63 2.63 0 0 0 2.625 18h13.75A2.63 2.63 0 0 0 19 15.375V14.5h-4.488a3.5 3.5 0 0 1-3.5-3.5ZM20 9v4h-5.488a2 2 0 0 1 0-4H20Zm-3.846 2a1.173 1.173 0 1 0-2.345-.002 1.173 1.173 0 0 0 2.345.002Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M20 8h-1V6.625a2.628 2.628 0 0 0-1.6-2.417L17.089 2.3A2.364 2.364 0 0 0 14.377.343L2.354 2.288A2.364 2.364 0 0 0 .389 4.947v.322A2.6 2.6 0 0 0 0 6.625v8.75A2.63 2.63 0 0 0 2.625 18h13.75A2.63 2.63 0 0 0 19 15.375V14h1V8ZM1.827 3.971a1.1 1.1 0 0 1 .726-.449l12.024-1.945a1.112 1.112 0 0 1 1.278.922L16.1 4H2.625a2.586 2.586 0 0 0-.887.165c.023-.067.053-.132.089-.194Zm15.923 11.4a1.377 1.377 0 0 1-1.375 1.375H2.625a1.377 1.377 0 0 1-1.375-1.371v-8.75A1.377 1.377 0 0 1 2.625 5.25h13.75a1.377 1.377 0 0 1 1.375 1.375V8H14a3 3 0 0 0 0 6h3.75v1.371Zm1-2.625H14a1.75 1.75 0 0 1 0-3.5h4.75v3.5Z\"/><path d=\"M14.505 12.286a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z\"/></svg>',\n },\n warning: {\n name: 'warning',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.752 16 11.686 1.7A1.911 1.911 0 0 0 10 .727a1.91 1.91 0 0 0-1.686.978L.25 16a1.873 1.873 0 0 0 .02 1.9 1.92 1.92 0 0 0 1.665.943h16.132a1.917 1.917 0 0 0 1.665-.943 1.875 1.875 0 0 0 .02-1.9Zm-8.6-10.08-.28 6.847h-1.76l-.281-6.844 2.322-.003Zm-.01 9.682A1.317 1.317 0 0 1 10 16.27a1.298 1.298 0 0 1-1.316-1.316 1.3 1.3 0 0 1 1.309-1.316 1.313 1.313 0 0 1 1.152 1.967l-.002-.003Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M18.066 18.843H1.934A1.919 1.919 0 0 1 .269 17.9a1.873 1.873 0 0 1-.02-1.9L8.314 1.7A1.91 1.91 0 0 1 10 .727a1.912 1.912 0 0 1 1.685.978L19.752 16a1.874 1.874 0 0 1-.021 1.9 1.918 1.918 0 0 1-1.665.943ZM9.418 2.314l-8.066 14.3a.644.644 0 0 0 .007.656.66.66 0 0 0 .575.325h16.132a.657.657 0 0 0 .575-.325.641.641 0 0 0 .007-.656l-8.066-14.3A.655.655 0 0 0 10 1.977a.654.654 0 0 0-.582.337ZM9.5 15.865a1.083 1.083 0 0 1-.386-.386 1.036 1.036 0 0 1-.144-.537 1.065 1.065 0 0 1 1.986-.533 1.047 1.047 0 0 1 0 1.07c-.096.16-.23.292-.39.386a1.039 1.039 0 0 1-.536.143 1.025 1.025 0 0 1-.53-.143Zm-.14-3.329-.194-6.513H10.9l-.2 6.513H9.36Z\"/></svg>',\n },\n webhook: {\n name: 'webhook',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.995 14.041a4.71 4.71 0 0 1-2.713 4.477c-.56.261-1.168.41-1.786.436h-.213a4.698 4.698 0 0 1-3.778-1.9l1.6-1.191a2.722 2.722 0 0 0 2.3 1.094 2.71 2.71 0 1 0-1.454-5.07l-.857.484L9.237 5.74a1.071 1.071 0 0 1-.357-.792 1.075 1.075 0 0 1 2.147-.1l2.86 4.91a4.713 4.713 0 0 1 6.109 4.283ZM14.01 2.524a4.705 4.705 0 1 0-7.165 5.984L3.878 13.5a1.067 1.067 0 0 0-.064 1.576c.203.203.478.317.765.317a1.07 1.07 0 0 0 1.055-.941L9.526 7.9l-.86-.508a2.713 2.713 0 1 1 3.865-1.257l1.83.793a4.7 4.7 0 0 0-.351-4.404Zm1.351 10.6c-.158.002-.315.04-.457.109H7.426l-.008.988A2.715 2.715 0 0 1 3.457 16.6a2.712 2.712 0 0 1 .942-5.1l-.23-1.982a4.706 4.706 0 0 0-2.965 7.822 4.706 4.706 0 0 0 8.094-2.108h5.761c.097.035.198.055.3.061a1.083 1.083 0 0 0 0-2.166l.002-.003Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.64 14.463A4.34 4.34 0 0 1 15.497 19h-.2a4.34 4.34 0 0 1-3.487-1.756l1-.746a3.092 3.092 0 1 0 .965-4.535l-.537.3-3.42-5.881a1.071 1.071 0 0 1-.907-1.049 1.086 1.086 0 1 1 2.172 0 1.063 1.063 0 0 1-.138.5l2.782 4.776a4.345 4.345 0 0 1 5.913 3.854ZM13.704 3.1a4.343 4.343 0 0 0-7.32 4.675c.254.396.57.748.935 1.043l-2.87 4.831a1.076 1.076 0 0 0-.969 1.062 1.086 1.086 0 1 0 2.172 0 1.065 1.065 0 0 0-.109-.457l3.468-5.83-.54-.324a3.053 3.053 0 0 1-1.033-1 3.093 3.093 0 1 1 5.443-.433l1.148.5a4.342 4.342 0 0 0-.325-4.067Zm1.671 10.425a1.068 1.068 0 0 0-.88.486h-6.7l-.007.619a3.092 3.092 0 1 1-3.448-3.107l-.143-1.235a4.343 4.343 0 1 0 4.788 4.977h5.542a1.07 1.07 0 0 0 .848.436 1.086 1.086 0 0 0 0-2.172v-.004Z\"/></svg>',\n },\n whale: {\n name: 'whale',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m1.735 3.823.209-1.232c1.38.23 2.62.974 3.475 2.081a5.544 5.544 0 0 1 3.472-2.081l.21 1.232c-.118.02-2.706.5-3.055 2.535.018.155.027.31.028.466H4.76c0-.155.01-.31.028-.464-.356-2.053-3.024-2.532-3.053-2.537ZM19.98 2.577a4.313 4.313 0 0 1-2.115 4.146v1.92a8.93 8.93 0 0 1-4.034 7.478l-.112.068a10.228 10.228 0 0 0-.479-2.774l-1.177.417a9.19 9.19 0 0 1 .408 3.04 7.298 7.298 0 0 1-.8 2.729.626.626 0 0 1-.51.331h-.042a.622.622 0 0 1-.507-.262l-1.493-2.09H8.93a8.935 8.935 0 0 1-6.31-2.62A8.954 8.954 0 0 1 0 8.643c0-.078.016-.156.046-.228.123.38.308.738.547 1.059a8.2 8.2 0 0 0 4.096 3.285l.339-1.2a7.169 7.169 0 0 1-3.43-2.824A2.564 2.564 0 0 1 1.232 8h12.387c.442 0 .769-.05.827-1.258a4.298 4.298 0 0 1-2.15-4.165.626.626 0 0 1 .484-.586 3.562 3.562 0 0 1 3.354 1.083 3.58 3.58 0 0 1 3.356-1.083.626.626 0 0 1 .49.586ZM8.092 10.931a.83.83 0 0 0-1.28 1.05.83.83 0 1 0 1.28-1.05Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M7.139 11.888a.521.521 0 1 1 .736-.737.521.521 0 0 1-.736.737ZM4.788 6.36a4.105 4.105 0 0 0-.028.464h1.318c0-.156-.01-.311-.028-.466.35-2.037 2.94-2.515 3.054-2.535l-.213-1.232a5.544 5.544 0 0 0-3.472 2.081 5.544 5.544 0 0 0-3.475-2.081l-.209 1.232c.03.005 2.697.484 3.053 2.537Zm15.191-3.783a4.313 4.313 0 0 1-2.115 4.146v1.92a8.93 8.93 0 0 1-4.034 7.478c-.429.279-.882.519-1.354.717a7.355 7.355 0 0 1-.8 2.763.626.626 0 0 1-.51.331h-.048a.622.622 0 0 1-.507-.262l-1.493-2.09a8.973 8.973 0 0 1-6.42-2.565A8.99 8.99 0 0 1 0 8.643.641.641 0 0 1 .624 8h12.997c.442 0 .769-.05.827-1.258a4.298 4.298 0 0 1-2.15-4.165.626.626 0 0 1 .484-.586 3.562 3.562 0 0 1 3.354 1.083 3.58 3.58 0 0 1 3.354-1.083.626.626 0 0 1 .49.586Zm-1.257.58a2.84 2.84 0 0 0-2.06 1.224.65.65 0 0 1-1.043 0 2.822 2.822 0 0 0-2.061-1.225 2.817 2.817 0 0 0 1.657 2.558.651.651 0 0 1 .5.6c0 .817 0 2.987-2.088 2.987l-11.614-.03a6.982 6.982 0 0 0 3.013 2.285l-.339 1.2a7.748 7.748 0 0 1-3.184-2.168 7.7 7.7 0 0 0 2.738 4.135A7.687 7.687 0 0 0 8.93 16.33c.156 0 .31 0 .463-.014h.037a.623.623 0 0 1 .508.262l1.034 1.449a8.659 8.659 0 0 0-.125-4.764l1.177-.417c.272.842.431 1.716.475 2.6.194-.1.4-.22.655-.381a7.664 7.664 0 0 0 3.458-6.424V6.315a.628.628 0 0 1 .432-.594 2.798 2.798 0 0 0 1.674-2.564h.004Z\"/></svg>',\n },\n 'wiki-ban': {\n name: 'wiki-ban',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M13.25 6.579a3.213 3.213 0 0 1-.492 1.7L8.3 3.821a3.233 3.233 0 0 1 4.95 2.758Zm-6.5 0a3.235 3.235 0 0 0 4.95 2.759L7.242 4.882a3.207 3.207 0 0 0-.492 1.697ZM2 17.5A2.5 2.5 0 0 0 4.5 20h12.375A1.127 1.127 0 0 0 18 18.875V15H4.5A2.5 2.5 0 0 0 2 17.5ZM18 1.125v12.5H4.5a3.841 3.841 0 0 0-2.5.939V2.625A2.628 2.628 0 0 1 4.625 0h12.25A1.127 1.127 0 0 1 18 1.125Zm-3.25 5.454a4.75 4.75 0 1 0-4.75 4.75 4.756 4.756 0 0 0 4.75-4.75Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M14.268 6.335a4.621 4.621 0 1 0-8.54 3.534 4.621 4.621 0 0 0 8.54-3.534ZM10 11.483A3.39 3.39 0 0 1 6.62 8.1a3.281 3.281 0 0 1 .6-1.9l4.68 4.68a3.281 3.281 0 0 1-1.9.603ZM12.78 10 8.1 5.323a3.281 3.281 0 0 1 1.9-.6A3.39 3.39 0 0 1 13.38 8.1a3.281 3.281 0 0 1-.6 1.9Zm4.1-10H4.625A2.624 2.624 0 0 0 2 2.618v14.708h.018c0 .061-.018.118-.018.18A2.5 2.5 0 0 0 4.5 20h12.375A1.125 1.125 0 0 0 18 18.878V1.122A1.125 1.125 0 0 0 16.875 0h.005Zm-.13 18.753H4.5a1.247 1.247 0 0 1 0-2.494h12.25v2.494ZM4.5 15.012c-.44.002-.872.122-1.25.347V2.618a1.375 1.375 0 0 1 1.375-1.371H16.75v13.765H4.5Z\"/></svg>',\n },\n wiki: {\n name: 'wiki',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.5 13.625a3.841 3.841 0 0 0-2.5.939V2.625A2.629 2.629 0 0 1 4.625 0h12.25A1.127 1.127 0 0 1 18 1.125v12.5H4.5ZM4.5 15a2.5 2.5 0 0 0 0 5h12.375A1.126 1.126 0 0 0 18 18.875V15H4.5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.875 0H4.625A2.625 2.625 0 0 0 2 2.618v14.708h.018c0 .061-.018.118-.018.18A2.5 2.5 0 0 0 4.5 20h12.375A1.125 1.125 0 0 0 18 18.878V1.122A1.125 1.125 0 0 0 16.875 0Zm-.125 18.753H4.5a1.247 1.247 0 0 1 0-2.494h12.25v2.494ZM4.5 15.012c-.44.002-.872.122-1.25.347V2.618a1.375 1.375 0 0 1 1.375-1.371H16.75v13.765H4.5Z\"/></svg>',\n },\n 'wiki-unban': {\n name: 'wiki-unban',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.5 15H18v3.875A1.127 1.127 0 0 1 16.875 20H4.5a2.5 2.5 0 0 1 0-5ZM18 1.125v12.5H4.5a3.841 3.841 0 0 0-2.5.939V2.625A2.628 2.628 0 0 1 4.625 0h12.25A1.127 1.127 0 0 1 18 1.125ZM14.13 4.5l-1.06-1.061-4.47 4.47-1.47-1.47L6.07 7.5l2 2a.751.751 0 0 0 1.06 0l5-5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M8.5 11.136a.624.624 0 0 1-.442-.183l-2-2 .884-.883L8.5 9.628l4.558-4.558.884.883-5 5a.623.623 0 0 1-.442.183ZM16.875 0H4.625A2.624 2.624 0 0 0 2 2.618v14.708h.018c0 .061-.018.118-.018.18A2.5 2.5 0 0 0 4.5 20h12.375A1.125 1.125 0 0 0 18 18.878V1.122A1.125 1.125 0 0 0 16.875 0Zm-.125 18.753H4.5a1.247 1.247 0 0 1 0-2.494h12.25v2.494ZM4.5 15.012c-.44.002-.872.122-1.25.347V2.618a1.375 1.375 0 0 1 1.375-1.371H16.75v13.765H4.5Z\"/></svg>',\n },\n world: {\n name: 'world',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5.8 9.25H.038A10 10 0 0 1 9.22.039C7.114.879 5.93 5.068 5.8 9.25Zm8.393 0h5.766A10 10 0 0 0 10.78.039c2.106.84 3.29 5.029 3.421 9.211h-.007ZM10 1.375c-1.052 0-2.553 3.045-2.7 7.875h5.4c-.148-4.83-1.649-7.875-2.7-7.875Zm0 17.25c1.051 0 2.552-3.045 2.7-7.875H7.3c.147 4.83 1.648 7.875 2.7 7.875ZM5.8 10.75H.038a10 10 0 0 0 9.182 9.211c-2.106-.84-3.29-5.029-3.42-9.211Zm4.976 9.211a10 10 0 0 0 9.183-9.211H14.2c-.13 4.182-1.315 8.371-3.42 9.211h-.004Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm8.718 9.375h-4.645c-.075-3.017-.7-6.051-1.819-7.82a8.755 8.755 0 0 1 6.464 7.82ZM10 18.75c-1.138 0-2.7-3.077-2.824-8.125h5.647C12.7 15.673 11.137 18.75 10 18.75ZM7.176 9.375C7.3 4.327 8.862 1.25 10 1.25s2.7 3.077 2.823 8.125H7.176Zm.569-7.82C6.625 3.324 6 6.359 5.926 9.375H1.282a8.756 8.756 0 0 1 6.463-7.82Zm-6.463 9.07h4.644c.075 3.016.7 6.051 1.819 7.82a8.756 8.756 0 0 1-6.463-7.82Zm10.972 7.82c1.12-1.769 1.744-4.8 1.819-7.82h4.645a8.754 8.754 0 0 1-6.464 7.82Z\"/></svg>',\n },\n 'coins-color': {\n name: 'coins-color',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11.762 0H7.7v.026C3.419.3 0 4.662 0 10s3.419 9.7 7.7 9.974V20h4.06C16.305 20 20 15.514 20 10S16.305 0 11.762 0z\"/><path fill-rule=\"evenodd\" d=\"M15 10c0 4.832-3.078 8.75-6.875 8.75S1.25 14.832 1.25 10s3.078-8.75 6.875-8.75S15 5.168 15 10zm.223 4.871a10.55 10.55 0 01-3.147 3.859c3.707-.209 6.674-4.039 6.674-8.73 0-4.692-2.967-8.522-6.674-8.73A10.55 10.55 0 0116.25 10a10.55 10.55 0 01-1.027 4.871z\" clip-rule=\"evenodd\"/><path d=\"M6.263 14.283a4.469 4.469 0 01-1.51-1.764A5.558 5.558 0 014.187 10a5.582 5.582 0 01.564-2.531c.339-.71.86-1.317 1.511-1.758a3.615 3.615 0 013.23-.428c.405.137.786.34 1.127.6L9.977 7.77a1.664 1.664 0 00-.74-.568 2.415 2.415 0 00-.9-.181c-.436 0-.862.133-1.222.379a2.629 2.629 0 00-.9 1.049 3.4 3.4 0 00-.335 1.53A3.591 3.591 0 006.2 11.5c.192.433.497.807.883 1.082.367.26.807.397 1.257.393.323 0 .643-.064.942-.186.287-.107.537-.296.718-.544l.64 1.884c-.33.251-.699.447-1.09.581a3.725 3.725 0 01-1.22.207 3.635 3.635 0 01-2.067-.634z\"/></svg>',\n },\n 'powerup-color': {\n name: 'powerup-color',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.2 7c-.1-.3-.4-.5-.8-.5h-3.5l2.3-4.6c.1-.3.1-.6 0-.8-.1-.3-.4-.4-.7-.4H6.3c-.4 0-.7.3-.8.6l-2.3 9.2v.2c0 .5.4.8.8.8h2.8l-1.2 7c-.1.4.1.7.5.9.1.1.2.1.4.1.3 0 .5-.1.7-.3l10-11.3c.1-.3.2-.6 0-.9zM7.1 17.2l1.2-7H4.5l2.1-8.3h7.3l-3 5.8h4.7l-8.5 9.5z\"/><path d=\"M4.5 10.2h3.7l-1.1 7 8.5-9.5h-4.7l3-5.8H6.6l-2.1 8.3z\"/></svg>',\n },\n 'powerup-fill-color': {\n name: 'powerup-fill-color',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M17.2 7c-.1-.3-.4-.5-.8-.5h-3.5l2.4-4.6c.1-.3.1-.6 0-.8-.1-.3-.4-.4-.7-.4H6.3c-.4 0-.7.3-.8.6l-2.3 9.1c-.1.4.2.9.6 1h3l-1.2 7c-.1.4.1.7.5.9.1.1.2.1.4.1s.5-.1.6-.3l10-11.2c.2-.3.3-.6.1-.9z\"/></svg>',\n },\n 'share-android': {\n name: 'share-android',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16 13c-.786 0-1.54.31-2.1.862l-6.947-3.394c.028-.155.044-.311.047-.468a2.912 2.912 0 00-.037-.364l6.96-3.48A2.994 2.994 0 1013 4c.005.122.017.243.037.363l-6.961 3.48a3.005 3.005 0 10-.083 4.382l7.041 3.439c-.018.111-.03.223-.034.336a3 3 0 103-3z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16 13a2.983 2.983 0 00-2.349 1.157l-6.786-3.314a2.7 2.7 0 00.03-1.591l6.773-3.387A2.984 2.984 0 1013 4c.004.253.04.504.106.748L6.331 8.135a3 3 0 10-.063 3.807l6.83 3.336A2.958 2.958 0 0013 16a3 3 0 103-3zm0-10.75a1.75 1.75 0 110 3.5 1.75 1.75 0 010-3.5zm-12 9.5a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zm12 6a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5z\"/></svg>',\n },\n 'share-ios': {\n name: 'share-ios',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 11v5a3 3 0 01-3 3H4a3 3 0 01-3-3v-5h2v5a1 1 0 001 1h12a1 1 0 001-1v-5h2zM9 4.414V14h2V4.414l2.293 2.293 1.414-1.414-4-4a1 1 0 00-1.414 0l-4 4 1.414 1.414L9 4.414z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19 11v5.378A2.625 2.625 0 0116.378 19H3.622A2.625 2.625 0 011 16.378V11h1.25v5.378a1.373 1.373 0 001.372 1.372h12.756a1.373 1.373 0 001.372-1.372V11H19zM9.375 3.009V14h1.25V3.009l2.933 2.933.884-.884-4-4a.624.624 0 00-.884 0l-4 4 .884.884 2.933-2.933z\"/></svg>',\n },\n 'video-live-1': {\n name: 'video-live-1',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#clip0_1771_6)\"><path d=\"M10 4a6 6 0 100 12 6 6 0 000-12zm0 10.75A4.75 4.75 0 1114.75 10 4.756 4.756 0 0110 14.75z\"/><path d=\"M10 7a3 3 0 100 6 3 3 0 000-6zm0 4.75a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5z\"/><path d=\"M18.838 3.631a4.228 4.228 0 00-2.47-2.469 18.11 18.11 0 00-12.736 0 4.226 4.226 0 00-2.47 2.469 18.035 18.035 0 000 12.738 4.226 4.226 0 002.47 2.469 18.03 18.03 0 0012.736 0 4.229 4.229 0 002.47-2.469 18.035 18.035 0 000-12.738zm-1.17 12.3a2.983 2.983 0 01-1.739 1.739 16.858 16.858 0 01-11.858 0 2.985 2.985 0 01-1.739-1.739 16.785 16.785 0 010-11.858 2.984 2.984 0 011.739-1.741 16.785 16.785 0 0111.858 0 2.983 2.983 0 011.739 1.739 16.785 16.785 0 010 11.858v.002z\"/></g><defs><clipPath id=\"clip0_1771_6\"><path d=\"M0 0h20v20H0z\"/></clipPath></defs></svg>',\n },\n 'video-live-fill-1': {\n name: 'video-live-fill-1',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><g clip-path=\"url(#clip0_1771_7)\"><path d=\"M10 11.75a1.75 1.75 0 100-3.5 1.75 1.75 0 000 3.5z\"/><path d=\"M10 5.25a4.75 4.75 0 100 9.5 4.75 4.75 0 000-9.5zM10 13a3 3 0 110-6 3 3 0 010 6z\"/><path d=\"M18.838 3.631a4.228 4.228 0 00-2.47-2.469 18.11 18.11 0 00-12.736 0 4.226 4.226 0 00-2.47 2.469 18.035 18.035 0 000 12.738 4.226 4.226 0 002.47 2.469 18.03 18.03 0 0012.736 0 4.229 4.229 0 002.47-2.469 18.035 18.035 0 000-12.738zM10 16a6 6 0 110-12 6 6 0 010 12z\"/></g><defs><clipPath id=\"clip0_1771_7\"><path d=\"M0 0h20v20H0z\"/></clipPath></defs></svg>',\n },\n 'video-live': {\n name: 'video-live',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M5 3.723h9v-2H5a3 3 0 00-3 3h2a1 1 0 011-1zM19.294 7.429A1.115 1.115 0 0018.5 7.1h-.009l-2.345.018c-.218 0-.431.065-.613.185l-1.907 1.259V7.223A1.127 1.127 0 0012.5 6.1h-11A1.127 1.127 0 00.376 7.223v3.494a8.5 8.5 0 017.652 7.631H12.5a1.127 1.127 0 001.125-1.125v-1.339l1.91 1.26c.182.118.393.181.609.184l2.347.016h.009a1.125 1.125 0 001.125-1.125V8.226a1.116 1.116 0 00-.331-.797zM.374 14.764v1.29a3.221 3.221 0 012.311 2.294h1.286a4.481 4.481 0 00-3.597-3.584z\"/><path d=\"M.374 12.1v1.275a5.856 5.856 0 015.007 4.973h1.263A7.12 7.12 0 00.374 12.1z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M3.626 4.5h-1.25A2.629 2.629 0 015 1.875h8v1.25H5A1.377 1.377 0 003.626 4.5zM19.294 7.206a1.116 1.116 0 00-.793-.328h-.009l-1.9.014a2.62 2.62 0 00-1.426.434l-1.54 1.013V7A1.127 1.127 0 0012.5 5.875h-11A1.127 1.127 0 00.376 7v3.494a8.3 8.3 0 011.25.219V7.125h10.75v3.536l3.475-2.291a1.37 1.37 0 01.746-.227l1.778-.013v7.74l-1.775-.013a1.365 1.365 0 01-.747-.227l-3.475-2.291v3.536H7.805c.106.41.18.828.223 1.25H12.5A1.127 1.127 0 0013.626 17v-1.339l1.536 1.013c.423.28.919.43 1.426.433l1.9.014a1.026 1.026 0 00.8-.327 1.115 1.115 0 00.332-.8V8a1.114 1.114 0 00-.326-.794z\"/><path d=\"M.374 11.877v1.275a5.856 5.856 0 015.007 4.973h1.263a7.12 7.12 0 00-6.27-6.248zM.374 14.541v1.29a3.22 3.22 0 012.311 2.294h1.286a4.481 4.481 0 00-3.597-3.584z\"/></svg>',\n },\n 'volume-mute': {\n name: 'volume-mute',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M11 1.285v17.43a1.131 1.131 0 01-.642 1.033 1.081 1.081 0 01-1.153-.14l-5.39-4.663H2.108A1.125 1.125 0 011 13.807V6.193a1.125 1.125 0 011.108-1.138h1.707L9.19.405a1.09 1.09 0 011.168-.153A1.129 1.129 0 0111 1.285zm8.607 5.922l-1.414-1.414L15.9 8.086l-2.293-2.293-1.414 1.414L14.486 9.5l-2.293 2.293 1.414 1.414 2.293-2.293 2.293 2.293 1.414-1.414L17.314 9.5l2.293-2.293z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M16.784 9.5l2.558 2.558-.884.884-2.558-2.558-2.558 2.558-.884-.884L15.016 9.5l-2.558-2.558.884-.884L15.9 8.616l2.558-2.558.884.884L16.784 9.5zm-6.427 10.248A1.128 1.128 0 0011 18.715V1.286a1.131 1.131 0 00-.643-1.034A1.091 1.091 0 009.19.405L3.815 5.056H2.108A1.124 1.124 0 001 6.194v7.613a1.124 1.124 0 001.108 1.138h1.707L9.2 19.608a1.084 1.084 0 001.157.14zM2.25 6.306h2.031l5.47-4.733v16.855L4.28 13.7h-2.03V6.306z\"/></svg>',\n },\n binoculars: {\n name: 'binoculars',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.5 10a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Zm.821 3.375h-.75a1.2 1.2 0 0 0-1.2 1.2v.75h-1.5v-.75a2.7 2.7 0 0 1 2.7-2.695h.75v1.495ZM15.5 10a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Zm.821 3.375h-.75a1.2 1.2 0 0 0-1.2 1.2v.75h-1.5v-.75a2.7 2.7 0 0 1 2.7-2.695h.75v1.495ZM11 9.6H9v1.336a5.722 5.722 0 0 0-7.911-1.054L2.824 3.32A3.178 3.178 0 0 1 5.851 1 3.183 3.183 0 0 1 9 4.208V6h2V4.208a3.143 3.143 0 0 1 6.172-.9l1.739 6.573A5.722 5.722 0 0 0 11 10.931V9.6Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M4.571 12H5.2v1.25h-.629a1.322 1.322 0 0 0-1.321 1.32v.63H2v-.63A2.573 2.573 0 0 1 4.571 12ZM13 14.57v.63h1.25v-.63a1.321 1.321 0 0 1 1.321-1.32h.629V12h-.625A2.573 2.573 0 0 0 13 14.57Zm7-.07a4.5 4.5 0 1 1-9 0V12H9v2.447a.1.1 0 0 1 0 .018v.035a4.5 4.5 0 1 1-9 0 4.456 4.456 0 0 1 .271-1.483.525.525 0 0 1 0-.056L2.824 3.32A3.178 3.178 0 0 1 5.851 1 3.183 3.183 0 0 1 9 4.208V6h2V4.208a3.143 3.143 0 0 1 6.172-.9l2.554 9.652a.523.523 0 0 1 0 .056c.175.476.268.977.274 1.484Zm-12.25 0a3.25 3.25 0 1 0-6.5 0 3.25 3.25 0 0 0 6.5 0Zm0-3.1V4.2a1.931 1.931 0 0 0-1.9-1.958 1.92 1.92 0 0 0-1.822 1.4l-1.854 7.025a4.434 4.434 0 0 1 5.576.733Zm3.25-.65v-3.5H9v3.5h2Zm1.25.654a4.434 4.434 0 0 1 5.576-.737l-1.858-7.026a1.893 1.893 0 0 0-3.718.567v7.196Zm6.5 3.1a3.25 3.25 0 1 0-.952 2.295c.61-.61.952-1.437.952-2.299v.004Z\"/></svg>',\n },\n 'caret-updown': {\n name: 'caret-updown',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.293 2.086a1 1 0 0 1 1.414 0l5 5L14.293 8.5 10 4.207 5.707 8.5 4.293 7.086l5-5Z\"/><path d=\"M9.293 18.207a1 1 0 0 0 1.414 0l5-5-1.414-1.414L10 16.086l-4.293-4.293-1.414 1.414 5 5Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M9.761 2.105a.623.623 0 0 1 .682.136l5 5-.884.884L10 3.567 5.443 8.125l-.884-.884 5-5a.623.623 0 0 1 .202-.136Z\"/><path d=\"M9.761 18.078a.624.624 0 0 0 .682-.136l5-5-.884-.884L10 16.616l-4.558-4.558-.884.884 5 5a.623.623 0 0 0 .202.136Z\"/></svg>',\n },\n planet: {\n name: 'planet',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M12.025 17.275a27.692 27.692 0 0 0 4.917-2.321 7.956 7.956 0 0 1-9.592 3.587 27.777 27.777 0 0 0 4.675-1.266Zm-.75-1.508a22.944 22.944 0 0 1-7.379 1.525 6.084 6.084 0 0 1-2.6-.459 2.2 2.2 0 0 1-1.2-1.287c-.263-.8-.1-2.087 1.942-3.763A7.796 7.796 0 0 1 1.997 11a7.97 7.97 0 0 1 2.5-5.794V11a1.5 1.5 0 0 0 1.5 1.5h2a1.5 1.5 0 0 0 1.5-1.5V8.244h2.499a2.5 2.5 0 0 0 1.9-4.131l-.141-.164a8.077 8.077 0 0 1 2.985 2.757c2.16.124 2.918.994 3.16 1.73.849 2.583-3.875 5.61-8.625 7.331Zm.03-12.359 1.463-1.771A1 1 0 0 0 11.996 0h-5a1 1 0 0 0-1 1v10h2V6.744h4a1 1 0 0 0 .758-1.652l-1.45-1.684Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.915 8.545c-.214-.623-.894-1.315-2.948-1.455a8.011 8.011 0 0 0-2.393-2.655l-.715 1.025A6.76 6.76 0 0 1 16.75 11c0 .112-.011.221-.016.332a24.243 24.243 0 0 1-5.962 2.9 26.17 26.17 0 0 1-5.711 1.35 6.728 6.728 0 0 1-.58-8.473l-1.021-.717A7.862 7.862 0 0 0 2.07 12C.03 13.574-.155 14.733.087 15.436a1.838 1.838 0 0 0 1 1.044c.81.333 1.684.485 2.56.446.3 0 .623-.016.953-.039a7.98 7.98 0 0 0 13.33-4.9c1.508-1.163 2.352-2.376 1.985-3.442ZM1.269 15.029c-.078-.227.11-.8 1.09-1.662.257.82.646 1.594 1.15 2.29a4.756 4.756 0 0 1-1.873-.3.7.7 0 0 1-.367-.328ZM10 17.75a6.705 6.705 0 0 1-3.641-1.075 29.729 29.729 0 0 0 4.823-1.258A28.588 28.588 0 0 0 16.449 13 6.765 6.765 0 0 1 10 17.75Zm7.959-7.423a7.923 7.923 0 0 0-.41-1.939c.715.116 1.107.341 1.184.564.095.277-.162.769-.774 1.375ZM7.25 5.994h4.376a.625.625 0 0 0 .475-1.033l-1.657-1.923 1.664-2.015A.623.623 0 0 0 11.626 0h-5A.626.626 0 0 0 6 .625v10h1.25V5.994Zm0-4.744h3.05l-1.153 1.4a.626.626 0 0 0 .008.807l1.11 1.289H7.25V1.25Z\"/></svg>',\n },\n telescope: {\n name: 'telescope',\n fill: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"m2.528 8.437 1.513 3.593-1.7.716a.624.624 0 0 1-.682-.135.625.625 0 0 1-.137-.202L.5 9.97a.625.625 0 0 1 .333-.82l1.695-.714Zm1.39-1.464a.624.624 0 0 0-.31.807l1.658 3.937a.625.625 0 0 0 .793.344l9.12-3.383-2.47-5.864-8.792 4.159ZM19.785 6.9 17.194.745a.625.625 0 0 0-.82-.333l-2.243.954a.625.625 0 0 0-.33.818l2.59 6.154a.632.632 0 0 0 .576.383.63.63 0 0 0 .245-.05l2.242-.953a.626.626 0 0 0 .332-.818Zm-10 5.074-4.178 7.6.071.05H7.6L10 15.31v4.313h2v-4.413l2.461 4.413h1.914l.072-.051-4.793-8.171-1.868.574Z\"/></svg>',\n outline: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\"><path d=\"M19.785 6.9 17.193.745a.625.625 0 0 0-.82-.333l-2.243.954a.625.625 0 0 0-.33.818l.04.095-9.924 4.694a.624.624 0 0 0-.309.807l.072.17L.827 9.153A.625.625 0 0 0 .5 9.97l1.027 2.44a.625.625 0 0 0 .341.338.624.624 0 0 0 .478 0l2.852-1.2.073.172a.625.625 0 0 0 .793.344l1.636-.611a2.97 2.97 0 0 0 1.53 1.626l-3.62 6.49.07.052H7.06l2.94-5.27v5.27h1.25v-5.63l3.14 5.63h1.38l.071-.051-3.758-6.737A2.887 2.887 0 0 0 13.2 9.413l3.154-1.17.04.095a.632.632 0 0 0 .576.383.63.63 0 0 0 .245-.05l2.242-.953a.626.626 0 0 0 .33-.818ZM2.431 11.352l-.543-1.29L4.164 9.1l.543 1.29-2.276.962Zm8.007.752a1.686 1.686 0 0 1-1.554-1.092l3.138-1.163c.068.18.104.37.107.563a1.693 1.693 0 0 1-1.69 1.688v.004ZM6.185 10.68l-.083-.2-.514-1.22-.6-1.417 9.334-4.414.342.814 1.2 2.843-9.679 3.594ZM17.3 7.275l-2.106-5 1.092-.464 2.106 5-1.092.464Z\"/></svg>',\n },\n};\nexport default json;\n", "/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {AttributePart, noChange} from '../lit-html.js';\nimport {\n directive,\n Directive,\n DirectiveParameters,\n PartInfo,\n PartType,\n} from '../directive.js';\n\n/**\n * A key-value set of class names to truthy values.\n */\nexport interface ClassInfo {\n readonly [name: string]: string | boolean | number;\n}\n\nclass ClassMapDirective extends Directive {\n /**\n * Stores the ClassInfo object applied to a given AttributePart.\n * Used to unset existing values when a new ClassInfo object is applied.\n */\n private _previousClasses?: Set<string>;\n private _staticClasses?: Set<string>;\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (\n partInfo.type !== PartType.ATTRIBUTE ||\n partInfo.name !== 'class' ||\n (partInfo.strings?.length as number) > 2\n ) {\n throw new Error(\n '`classMap()` can only be used in the `class` attribute ' +\n 'and must be the only part in the attribute.'\n );\n }\n }\n\n render(classInfo: ClassInfo) {\n // Add spaces to ensure separation from static classes\n return (\n ' ' +\n Object.keys(classInfo)\n .filter((key) => classInfo[key])\n .join(' ') +\n ' '\n );\n }\n\n override update(part: AttributePart, [classInfo]: DirectiveParameters<this>) {\n // Remember dynamic classes on the first render\n if (this._previousClasses === undefined) {\n this._previousClasses = new Set();\n if (part.strings !== undefined) {\n this._staticClasses = new Set(\n part.strings\n .join(' ')\n .split(/\\s/)\n .filter((s) => s !== '')\n );\n }\n for (const name in classInfo) {\n if (classInfo[name] && !this._staticClasses?.has(name)) {\n this._previousClasses.add(name);\n }\n }\n return this.render(classInfo);\n }\n\n const classList = part.element.classList;\n\n // Remove old classes that no longer apply\n // We use forEach() instead of for-of so that we don't require down-level\n // iteration.\n this._previousClasses.forEach((name) => {\n if (!(name in classInfo)) {\n classList.remove(name);\n this._previousClasses!.delete(name);\n }\n });\n\n // Add or remove classes based on their classMap value\n for (const name in classInfo) {\n // We explicitly want a loose truthy check of `value` because it seems\n // more convenient that '' and 0 are skipped.\n const value = !!classInfo[name];\n if (\n value !== this._previousClasses.has(name) &&\n !this._staticClasses?.has(name)\n ) {\n if (value) {\n classList.add(name);\n this._previousClasses.add(name);\n } else {\n classList.remove(name);\n this._previousClasses.delete(name);\n }\n }\n }\n return noChange;\n }\n}\n\n/**\n * A directive that applies dynamic CSS classes.\n *\n * This must be used in the `class` attribute and must be the only part used in\n * the attribute. It takes each property in the `classInfo` argument and adds\n * the property name to the element's `classList` if the property value is\n * truthy; if the property value is falsey, the property name is removed from\n * the element's `class`.\n *\n * For example `{foo: bar}` applies the class `foo` if the value of `bar` is\n * truthy.\n *\n * @param classInfo\n */\nexport const classMap = directive(ClassMapDirective);\n\n/**\n * The type of the class that powers this directive. Necessary for naming the\n * directive's return type.\n */\nexport type {ClassMapDirective};\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Overview:\n *\n * This module is designed to add support for an async `setValue` API and\n * `disconnected` callback to directives with the least impact on the core\n * runtime or payload when that feature is not used.\n *\n * The strategy is to introduce a `AsyncDirective` subclass of\n * `Directive` that climbs the \"parent\" tree in its constructor to note which\n * branches of lit-html's \"logical tree\" of data structures contain such\n * directives and thus need to be crawled when a subtree is being cleared (or\n * manually disconnected) in order to run the `disconnected` callback.\n *\n * The \"nodes\" of the logical tree include Parts, TemplateInstances (for when a\n * TemplateResult is committed to a value of a ChildPart), and Directives; these\n * all implement a common interface called `DisconnectableChild`. Each has a\n * `_$parent` reference which is set during construction in the core code, and a\n * `_$disconnectableChildren` field which is initially undefined.\n *\n * The sparse tree created by means of the `AsyncDirective` constructor\n * crawling up the `_$parent` tree and placing a `_$disconnectableChildren` Set\n * on each parent that includes each child that contains a\n * `AsyncDirective` directly or transitively via its children. In order to\n * notify connection state changes and disconnect (or reconnect) a tree, the\n * `_$notifyConnectionChanged` API is patched onto ChildParts as a directive\n * climbs the parent tree, which is called by the core when clearing a part if\n * it exists. When called, that method iterates over the sparse tree of\n * Set<DisconnectableChildren> built up by AsyncDirectives, and calls\n * `_$notifyDirectiveConnectionChanged` on any directives that are encountered\n * in that tree, running the required callbacks.\n *\n * A given \"logical tree\" of lit-html data-structures might look like this:\n *\n * ChildPart(N1) _$dC=[D2,T3]\n * ._directive\n * AsyncDirective(D2)\n * ._value // user value was TemplateResult\n * TemplateInstance(T3) _$dC=[A4,A6,N10,N12]\n * ._$parts[]\n * AttributePart(A4) _$dC=[D5]\n * ._directives[]\n * AsyncDirective(D5)\n * AttributePart(A6) _$dC=[D7,D8]\n * ._directives[]\n * AsyncDirective(D7)\n * Directive(D8) _$dC=[D9]\n * ._directive\n * AsyncDirective(D9)\n * ChildPart(N10) _$dC=[D11]\n * ._directive\n * AsyncDirective(D11)\n * ._value\n * string\n * ChildPart(N12) _$dC=[D13,N14,N16]\n * ._directive\n * AsyncDirective(D13)\n * ._value // user value was iterable\n * Array<ChildPart>\n * ChildPart(N14) _$dC=[D15]\n * ._value\n * string\n * ChildPart(N16) _$dC=[D17,T18]\n * ._directive\n * AsyncDirective(D17)\n * ._value // user value was TemplateResult\n * TemplateInstance(T18) _$dC=[A19,A21,N25]\n * ._$parts[]\n * AttributePart(A19) _$dC=[D20]\n * ._directives[]\n * AsyncDirective(D20)\n * AttributePart(A21) _$dC=[22,23]\n * ._directives[]\n * AsyncDirective(D22)\n * Directive(D23) _$dC=[D24]\n * ._directive\n * AsyncDirective(D24)\n * ChildPart(N25) _$dC=[D26]\n * ._directive\n * AsyncDirective(D26)\n * ._value\n * string\n *\n * Example 1: The directive in ChildPart(N12) updates and returns `nothing`. The\n * ChildPart will _clear() itself, and so we need to disconnect the \"value\" of\n * the ChildPart (but not its directive). In this case, when `_clear()` calls\n * `_$notifyConnectionChanged()`, we don't iterate all of the\n * _$disconnectableChildren, rather we do a value-specific disconnection: i.e.\n * since the _value was an Array<ChildPart> (because an iterable had been\n * committed), we iterate the array of ChildParts (N14, N16) and run\n * `setConnected` on them (which does recurse down the full tree of\n * `_$disconnectableChildren` below it, and also removes N14 and N16 from N12's\n * `_$disconnectableChildren`). Once the values have been disconnected, we then\n * check whether the ChildPart(N12)'s list of `_$disconnectableChildren` is empty\n * (and would remove it from its parent TemplateInstance(T3) if so), but since\n * it would still contain its directive D13, it stays in the disconnectable\n * tree.\n *\n * Example 2: In the course of Example 1, `setConnected` will reach\n * ChildPart(N16); in this case the entire part is being disconnected, so we\n * simply iterate all of N16's `_$disconnectableChildren` (D17,T18) and\n * recursively run `setConnected` on them. Note that we only remove children\n * from `_$disconnectableChildren` for the top-level values being disconnected\n * on a clear; doing this bookkeeping lower in the tree is wasteful since it's\n * all being thrown away.\n *\n * Example 3: If the LitElement containing the entire tree above becomes\n * disconnected, it will run `childPart.setConnected()` (which calls\n * `childPart._$notifyConnectionChanged()` if it exists); in this case, we\n * recursively run `setConnected()` over the entire tree, without removing any\n * children from `_$disconnectableChildren`, since this tree is required to\n * re-connect the tree, which does the same operation, simply passing\n * `isConnected: true` down the tree, signaling which callback to run.\n */\n\nimport {AttributePart, ChildPart, Disconnectable, Part} from './lit-html.js';\nimport {isSingleExpression} from './directive-helpers.js';\nimport {Directive, PartInfo, PartType} from './directive.js';\nexport * from './directive.js';\n\nconst DEV_MODE = true;\n\n/**\n * Recursively walks down the tree of Parts/TemplateInstances/Directives to set\n * the connected state of directives and run `disconnected`/ `reconnected`\n * callbacks.\n *\n * @return True if there were children to disconnect; false otherwise\n */\nconst notifyChildrenConnectedChanged = (\n parent: Disconnectable,\n isConnected: boolean\n): boolean => {\n const children = parent._$disconnectableChildren;\n if (children === undefined) {\n return false;\n }\n for (const obj of children) {\n // The existence of `_$notifyDirectiveConnectionChanged` is used as a \"brand\" to\n // disambiguate AsyncDirectives from other DisconnectableChildren\n // (as opposed to using an instanceof check to know when to call it); the\n // redundancy of \"Directive\" in the API name is to avoid conflicting with\n // `_$notifyConnectionChanged`, which exists `ChildParts` which are also in\n // this list\n // Disconnect Directive (and any nested directives contained within)\n // This property needs to remain unminified.\n (obj as AsyncDirective)['_$notifyDirectiveConnectionChanged']?.(\n isConnected,\n false\n );\n // Disconnect Part/TemplateInstance\n notifyChildrenConnectedChanged(obj, isConnected);\n }\n return true;\n};\n\n/**\n * Removes the given child from its parent list of disconnectable children, and\n * if the parent list becomes empty as a result, removes the parent from its\n * parent, and so forth up the tree when that causes subsequent parent lists to\n * become empty.\n */\nconst removeDisconnectableFromParent = (obj: Disconnectable) => {\n let parent, children;\n do {\n if ((parent = obj._$parent) === undefined) {\n break;\n }\n children = parent._$disconnectableChildren!;\n children.delete(obj);\n obj = parent;\n } while (children?.size === 0);\n};\n\nconst addDisconnectableToParent = (obj: Disconnectable) => {\n // Climb the parent tree, creating a sparse tree of children needing\n // disconnection\n for (let parent; (parent = obj._$parent); obj = parent) {\n let children = parent._$disconnectableChildren;\n if (children === undefined) {\n parent._$disconnectableChildren = children = new Set();\n } else if (children.has(obj)) {\n // Once we've reached a parent that already contains this child, we\n // can short-circuit\n break;\n }\n children.add(obj);\n installDisconnectAPI(parent);\n }\n};\n\n/**\n * Changes the parent reference of the ChildPart, and updates the sparse tree of\n * Disconnectable children accordingly.\n *\n * Note, this method will be patched onto ChildPart instances and called from\n * the core code when parts are moved between different parents.\n */\nfunction reparentDisconnectables(this: ChildPart, newParent: Disconnectable) {\n if (this._$disconnectableChildren !== undefined) {\n removeDisconnectableFromParent(this);\n this._$parent = newParent;\n addDisconnectableToParent(this);\n } else {\n this._$parent = newParent;\n }\n}\n\n/**\n * Sets the connected state on any directives contained within the committed\n * value of this part (i.e. within a TemplateInstance or iterable of\n * ChildParts) and runs their `disconnected`/`reconnected`s, as well as within\n * any directives stored on the ChildPart (when `valueOnly` is false).\n *\n * `isClearingValue` should be passed as `true` on a top-level part that is\n * clearing itself, and not as a result of recursively disconnecting directives\n * as part of a `clear` operation higher up the tree. This both ensures that any\n * directive on this ChildPart that produced a value that caused the clear\n * operation is not disconnected, and also serves as a performance optimization\n * to avoid needless bookkeeping when a subtree is going away; when clearing a\n * subtree, only the top-most part need to remove itself from the parent.\n *\n * `fromPartIndex` is passed only in the case of a partial `_clear` running as a\n * result of truncating an iterable.\n *\n * Note, this method will be patched onto ChildPart instances and called from the\n * core code when parts are cleared or the connection state is changed by the\n * user.\n */\nfunction notifyChildPartConnectedChanged(\n this: ChildPart,\n isConnected: boolean,\n isClearingValue = false,\n fromPartIndex = 0\n) {\n const value = this._$committedValue;\n const children = this._$disconnectableChildren;\n if (children === undefined || children.size === 0) {\n return;\n }\n if (isClearingValue) {\n if (Array.isArray(value)) {\n // Iterable case: Any ChildParts created by the iterable should be\n // disconnected and removed from this ChildPart's disconnectable\n // children (starting at `fromPartIndex` in the case of truncation)\n for (let i = fromPartIndex; i < value.length; i++) {\n notifyChildrenConnectedChanged(value[i], false);\n removeDisconnectableFromParent(value[i]);\n }\n } else if (value != null) {\n // TemplateInstance case: If the value has disconnectable children (will\n // only be in the case that it is a TemplateInstance), we disconnect it\n // and remove it from this ChildPart's disconnectable children\n notifyChildrenConnectedChanged(value as Disconnectable, false);\n removeDisconnectableFromParent(value as Disconnectable);\n }\n } else {\n notifyChildrenConnectedChanged(this, isConnected);\n }\n}\n\n/**\n * Patches disconnection API onto ChildParts.\n */\nconst installDisconnectAPI = (obj: Disconnectable) => {\n if ((obj as ChildPart).type == PartType.CHILD) {\n (obj as ChildPart)._$notifyConnectionChanged ??=\n notifyChildPartConnectedChanged;\n (obj as ChildPart)._$reparentDisconnectables ??= reparentDisconnectables;\n }\n};\n\n/**\n * An abstract `Directive` base class whose `disconnected` method will be\n * called when the part containing the directive is cleared as a result of\n * re-rendering, or when the user calls `part.setConnected(false)` on\n * a part that was previously rendered containing the directive (as happens\n * when e.g. a LitElement disconnects from the DOM).\n *\n * If `part.setConnected(true)` is subsequently called on a\n * containing part, the directive's `reconnected` method will be called prior\n * to its next `update`/`render` callbacks. When implementing `disconnected`,\n * `reconnected` should also be implemented to be compatible with reconnection.\n *\n * Note that updates may occur while the directive is disconnected. As such,\n * directives should generally check the `this.isConnected` flag during\n * render/update to determine whether it is safe to subscribe to resources\n * that may prevent garbage collection.\n */\nexport abstract class AsyncDirective extends Directive {\n // As opposed to other Disconnectables, AsyncDirectives always get notified\n // when the RootPart connection changes, so the public `isConnected`\n // is a locally stored variable initialized via its part's getter and synced\n // via `_$notifyDirectiveConnectionChanged`. This is cheaper than using\n // the _$isConnected getter, which has to look back up the tree each time.\n /**\n * The connection state for this Directive.\n */\n isConnected!: boolean;\n\n // @internal\n override _$disconnectableChildren?: Set<Disconnectable> = undefined;\n /**\n * Initialize the part with internal fields\n * @param part\n * @param parent\n * @param attributeIndex\n */\n override _$initialize(\n part: Part,\n parent: Disconnectable,\n attributeIndex: number | undefined\n ) {\n super._$initialize(part, parent, attributeIndex);\n addDisconnectableToParent(this);\n this.isConnected = part._$isConnected;\n }\n // This property needs to remain unminified.\n /**\n * Called from the core code when a directive is going away from a part (in\n * which case `shouldRemoveFromParent` should be true), and from the\n * `setChildrenConnected` helper function when recursively changing the\n * connection state of a tree (in which case `shouldRemoveFromParent` should\n * be false).\n *\n * @param isConnected\n * @param isClearingDirective - True when the directive itself is being\n * removed; false when the tree is being disconnected\n * @internal\n */\n override ['_$notifyDirectiveConnectionChanged'](\n isConnected: boolean,\n isClearingDirective = true\n ) {\n if (isConnected !== this.isConnected) {\n this.isConnected = isConnected;\n if (isConnected) {\n this.reconnected?.();\n } else {\n this.disconnected?.();\n }\n }\n if (isClearingDirective) {\n notifyChildrenConnectedChanged(this, isConnected);\n removeDisconnectableFromParent(this);\n }\n }\n\n /**\n * Sets the value of the directive's Part outside the normal `update`/`render`\n * lifecycle of a directive.\n *\n * This method should not be called synchronously from a directive's `update`\n * or `render`.\n *\n * @param directive The directive to update\n * @param value The value to set\n */\n setValue(value: unknown) {\n if (isSingleExpression(this.__part as unknown as PartInfo)) {\n this.__part._$setValue(value, this);\n } else {\n // this.__attributeIndex will be defined in this case, but\n // assert it in dev mode\n if (DEV_MODE && this.__attributeIndex === undefined) {\n throw new Error(`Expected this.__attributeIndex to be a number`);\n }\n const newValues = [...(this.__part._$committedValue as Array<unknown>)];\n newValues[this.__attributeIndex!] = value;\n (this.__part as AttributePart)._$setValue(newValues, this, 0);\n }\n }\n\n /**\n * User callbacks for implementing logic to release any resources/subscriptions\n * that may have been retained by this directive. Since directives may also be\n * re-connected, `reconnected` should also be implemented to restore the\n * working state of the directive prior to the next render.\n */\n protected disconnected() {}\n protected reconnected() {}\n}\n", "/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nimport {nothing, ElementPart} from '../lit-html.js';\nimport {directive, AsyncDirective} from '../async-directive.js';\n\n/**\n * Creates a new Ref object, which is container for a reference to an element.\n */\nexport const createRef = <T = Element>() => new Ref<T>();\n\n/**\n * An object that holds a ref value.\n */\nclass Ref<T = Element> {\n /**\n * The current Element value of the ref, or else `undefined` if the ref is no\n * longer rendered.\n */\n readonly value?: T;\n}\n\nexport type {Ref};\n\ninterface RefInternal {\n value: Element | undefined;\n}\n\n// When callbacks are used for refs, this map tracks the last value the callback\n// was called with, for ensuring a directive doesn't clear the ref if the ref\n// has already been rendered to a new spot. It is double-keyed on both the\n// context (`options.host`) and the callback, since we auto-bind class methods\n// to `options.host`.\nconst lastElementForContextAndCallback: WeakMap<\n object,\n WeakMap<Function, Element | undefined>\n> = new WeakMap();\n\nexport type RefOrCallback<T = Element> = Ref<T> | ((el: T | undefined) => void);\n\nclass RefDirective extends AsyncDirective {\n private _element?: Element;\n private _ref?: RefOrCallback;\n private _context?: object;\n\n render(_ref?: RefOrCallback) {\n return nothing;\n }\n\n override update(part: ElementPart, [ref]: Parameters<this['render']>) {\n const refChanged = ref !== this._ref;\n if (refChanged && this._ref !== undefined) {\n // The ref passed to the directive has changed;\n // unset the previous ref's value\n this._updateRefValue(undefined);\n }\n if (refChanged || this._lastElementForRef !== this._element) {\n // We either got a new ref or this is the first render;\n // store the ref/element & update the ref value\n this._ref = ref;\n this._context = part.options?.host;\n this._updateRefValue((this._element = part.element));\n }\n return nothing;\n }\n\n private _updateRefValue(element: Element | undefined) {\n if (typeof this._ref === 'function') {\n // If the current ref was called with a previous value, call with\n // `undefined`; We do this to ensure callbacks are called in a consistent\n // way regardless of whether a ref might be moving up in the tree (in\n // which case it would otherwise be called with the new value before the\n // previous one unsets it) and down in the tree (where it would be unset\n // before being set). Note that element lookup is keyed by\n // both the context and the callback, since we allow passing unbound\n // functions that are called on options.host, and we want to treat\n // these as unique \"instances\" of a function.\n const context = this._context ?? globalThis;\n let lastElementForCallback =\n lastElementForContextAndCallback.get(context);\n if (lastElementForCallback === undefined) {\n lastElementForCallback = new WeakMap();\n lastElementForContextAndCallback.set(context, lastElementForCallback);\n }\n if (lastElementForCallback.get(this._ref) !== undefined) {\n this._ref.call(this._context, undefined);\n }\n lastElementForCallback.set(this._ref, element);\n // Call the ref with the new element value\n if (element !== undefined) {\n this._ref.call(this._context, element);\n }\n } else {\n (this._ref as RefInternal)!.value = element;\n }\n }\n\n private get _lastElementForRef() {\n return typeof this._ref === 'function'\n ? lastElementForContextAndCallback\n .get(this._context ?? globalThis)\n ?.get(this._ref)\n : this._ref?.value;\n }\n\n override disconnected() {\n // Only clear the box if our element is still the one in it (i.e. another\n // directive instance hasn't rendered its element to it before us); that\n // only happens in the event of the directive being cleared (not via manual\n // disconnection)\n if (this._lastElementForRef === this._element) {\n this._updateRefValue(undefined);\n }\n }\n\n override reconnected() {\n // If we were manually disconnected, we can safely put our element back in\n // the box, since no rendering could have occurred to change its state\n this._updateRefValue(this._element);\n }\n}\n\n/**\n * Sets the value of a Ref object or calls a ref callback with the element it's\n * bound to.\n *\n * A Ref object acts as a container for a reference to an element. A ref\n * callback is a function that takes an element as its only argument.\n *\n * The ref directive sets the value of the Ref object or calls the ref callback\n * during rendering, if the referenced element changed.\n *\n * Note: If a ref callback is rendered to a different element position or is\n * removed in a subsequent render, it will first be called with `undefined`,\n * followed by another call with the new element it was rendered to (if any).\n *\n * ```js\n * // Using Ref object\n * const inputRef = createRef();\n * render(html`<input ${ref(inputRef)}>`, container);\n * inputRef.value.focus();\n *\n * // Using callback\n * const callback = (inputElement) => inputElement.focus();\n * render(html`<input ${ref(callback)}>`, container);\n * ```\n */\nexport const ref = directive(RefDirective);\n\n/**\n * The type of the class that powers this directive. Necessary for naming the\n * directive's return type.\n */\nexport type {RefDirective};\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {nothing, TemplateResult, noChange} from '../lit-html.js';\nimport {directive, Directive, PartInfo, PartType} from '../directive.js';\n\nconst HTML_RESULT = 1;\n\nexport class UnsafeHTMLDirective extends Directive {\n static directiveName = 'unsafeHTML';\n static resultType = HTML_RESULT;\n\n private _value: unknown = nothing;\n private _templateResult?: TemplateResult;\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (partInfo.type !== PartType.CHILD) {\n throw new Error(\n `${\n (this.constructor as typeof UnsafeHTMLDirective).directiveName\n }() can only be used in child bindings`\n );\n }\n }\n\n render(value: string | typeof nothing | typeof noChange | undefined | null) {\n if (value === nothing || value == null) {\n this._templateResult = undefined;\n return (this._value = value);\n }\n if (value === noChange) {\n return value;\n }\n if (typeof value != 'string') {\n throw new Error(\n `${\n (this.constructor as typeof UnsafeHTMLDirective).directiveName\n }() called with a non-string value`\n );\n }\n if (value === this._value) {\n return this._templateResult;\n }\n this._value = value;\n const strings = [value] as unknown as TemplateStringsArray;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (strings as any).raw = strings;\n // WARNING: impersonating a TemplateResult like this is extremely\n // dangerous. Third-party directives should not do this.\n return (this._templateResult = {\n // Cast to a known set of integers that satisfy ResultType so that we\n // don't have to export ResultType and possibly encourage this pattern.\n // This property needs to remain unminified.\n ['_$litType$']: (this.constructor as typeof UnsafeHTMLDirective)\n .resultType as 1 | 2,\n strings,\n values: [],\n });\n }\n}\n\n/**\n * Renders the result as HTML, rather than text.\n *\n * The values `undefined`, `null`, and `nothing`, will all result in no content\n * (empty string) being rendered.\n *\n * Note, this is unsafe to use with any user-provided input that hasn't been\n * sanitized or escaped, as it may lead to cross-site-scripting\n * vulnerabilities.\n */\nexport const unsafeHTML = directive(UnsafeHTMLDirective);\n", "import type { StyleInfo } from 'lit/directives/style-map.js';\n\nimport { semanticColors } from '../../semanticColors.js';\nimport { isHTMLElement, ref } from './util.js';\n\nconst colorCache: { [key: string]: string } = {\n default: '',\n transparent: 'rgba(0, 0, 0, 0)',\n};\n\n/**\n * Attach a ref callback to an element that ensures the assigned color is set and\n * attempts to use CSS variables for colors as a fallback\n *\n * @param style The sanitized StyleInfo\n * @param attr The attribute name to validate\n */\nexport function resolveStyleColor(style: StyleInfo, attr: string): ReturnType<typeof ref> {\n const color = style[attr];\n const propertyName = attr.replace(/[A-Z]/g, (sub) => `-${sub.toLowerCase()}`);\n return ref((el: Element | undefined) => {\n if (isHTMLElement(el)) {\n let success = false;\n if (color && typeof color === 'string') {\n success =\n applyAsCssColor(el, propertyName, color) ||\n applyAsColorPrimitive(el, propertyName, color) ||\n applyAsComputedColor(el, propertyName, color);\n }\n if (!success) {\n // Remove the property so stale styles aren't persisted by mistake\n el.style.removeProperty(propertyName);\n }\n }\n });\n}\n\n/**\n * Applies the color directly if the color is a #hex, rgb()/rgba(), or hsl()/hsla() color\n * @param el Element to apply the color\n * @param propertyName Javascript property name (camel case) to recieve the color\n * @param color Requested color\n */\nfunction applyAsCssColor(el: HTMLElement, propertyName: string, color: string): boolean {\n if (color.match(/^(#[0-9a-fA-F]{3,8}|((rgb|hsl)(a?)\\()).*/)) {\n el.style.setProperty(propertyName, color);\n return true;\n }\n return false;\n}\n\n/**\n * Looks up the color in the RPL color primitive table and applies the color if found\n * @param el Element to apply the color\n * @param propertyName Javascript property name (camel case) to recieve the color\n * @param color Requested color\n */\nfunction applyAsColorPrimitive(el: HTMLElement, propertyName: string, color: string): boolean {\n const colorLower = color.toLowerCase();\n const colors = semanticColors as Record<string, string>;\n const colorPrimitive = colors[colorLower];\n if (colorPrimitive) {\n el.style.setProperty(propertyName, colorPrimitive);\n return true;\n }\n return false;\n}\n\n/**\n * Applies the color as either an HTML color name or as a color variable from the current theme\n * @param el Element to apply the color\n * @param propertyName Javascript property name (camel case) to recieve the color\n * @param color Requested color\n */\nfunction applyAsComputedColor(el: HTMLElement, propertyName: string, color: string): boolean {\n const computedColor = getComputedColor(color);\n if (computedColor) {\n // If the value is not already the color, attempt to set it\n if (el.style.getPropertyValue(propertyName) !== computedColor) {\n el.style.setProperty(propertyName, computedColor);\n }\n\n // If it still doesn't match then the color is invalid\n return el.style.getPropertyValue(propertyName) === computedColor;\n }\n return false;\n}\n\n/**\n * Borrowed from: https://gist.github.com/w3core/e3d9b5b6d69a3ba8671cc84714cca8a4?permalink_comment_id=3125287#gistcomment-3125287\n * Calculate brightness value by RGB or HEX color.\n * @param color (String) The color value in RGB or HEX (for example: #000000 || #000 || rgb(0,0,0) || rgba(0,0,0,0))\n * @returns (Number) The brightness value (dark) 0 ... 255 (light)\n */\nexport function brightnessByColor(color: string): number {\n const isHEX = color.indexOf('#') === 0;\n const isRGB = color.indexOf('rgb') === 0;\n let r;\n let g;\n let b;\n if (isHEX) {\n const hasFullSpec = color.length === 7;\n const m = color.substring(1).match(hasFullSpec ? /(\\S{2})/g : /(\\S)/g);\n if (m) {\n r = parseInt(m[0] + (hasFullSpec ? '' : m[0]), 16);\n g = parseInt(m[1] + (hasFullSpec ? '' : m[1]), 16);\n b = parseInt(m[2] + (hasFullSpec ? '' : m[2]), 16);\n }\n }\n if (isRGB) {\n // eslint-disable-next-line security/detect-unsafe-regex\n const m = color.match(/(\\d+){3}/g);\n if (m) {\n r = parseInt(m[0]);\n g = parseInt(m[1]);\n b = parseInt(m[2]);\n }\n }\n if (r !== undefined && g !== undefined && b !== undefined) {\n return (r * 299 + g * 587 + b * 114) / 1000;\n }\n return 0;\n}\n\n/**\n * Determines the computed value of a color by applying it to a temporary element\n * attached to the document in order to utilize `window.getComputedStyle()` which\n * returns an `rgba()` string representing the displayed color.\n *\n * If the color resolves as an HTML color the value is cached to prevent unnecessary\n * repeated lookups for unchanging values.\n *\n * If the color is a CSS variable it will not be cached to prevent stale colors from\n * persisting between light and dark modes or app themes.\n *\n * @param element Element to apply the final color\n * @param color Requested color\n * @returns (String) The calculated color, or an empty string if the color was not resolved\n */\nfunction getComputedColor(color: string): string {\n if (colorCache[color]) {\n return colorCache[color];\n }\n const doc = document.body;\n const div = document.createElement('div');\n doc.appendChild(div);\n if (!colorCache.default) {\n // cache the default color once\n colorCache.default = window.getComputedStyle(div).backgroundColor;\n }\n // try it as an HTML color name\n div.style.backgroundColor = color;\n let computed = window.getComputedStyle(div).backgroundColor;\n let resolved = div.style.getPropertyValue('background-color');\n if (!validColor(resolved, computed)) {\n // not an HTMl color, try a CSS variable\n div.style.backgroundColor = `var(--color-${color})`;\n computed = window.getComputedStyle(div).backgroundColor;\n resolved = div.style.getPropertyValue('background-color');\n }\n doc.removeChild(div);\n // The initial value of backgroundColor is defined as 'transparent' in the W3C spec\n // so if the computed value is transparent then the color was invalid.\n // Note: 'transparent' is pre-seeded in the color cache to avoid unnecessary lookups\n if (validColor(resolved, computed)) {\n if (!resolved.startsWith('var(')) {\n colorCache[color] = computed;\n }\n return computed;\n } else {\n return '';\n }\n}\n\nfunction validColor(resolved: string, computed: string): boolean {\n return !!resolved && computed !== colorCache.default && computed !== colorCache.transparent;\n}\n", "import type {\n BlockAlignment,\n BlockBorder,\n BlockColor,\n BlockSizes,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/attributes.js';\nimport type {\n Block,\n BlockConfig_Text,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport {\n BlockActionType,\n BlockAvatarFacing,\n BlockAvatarSize,\n BlockBorderWidth,\n BlockButtonAppearance,\n BlockButtonSize,\n BlockGap,\n BlockHorizontalAlignment,\n BlockIconSize,\n BlockImageResizeMode,\n BlockPadding,\n BlockRadius,\n BlockSizeUnit,\n BlockSpacerShape,\n BlockSpacerSize,\n BlockStackDirection,\n BlockTextOutline,\n BlockTextOverflow,\n BlockTextSize,\n BlockTextWeight,\n BlockType,\n BlockVerticalAlignment,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport type { ButtonAppearance } from '@reddit/faceplate-ui/templates/button.js';\nimport { ButtonSize } from '@reddit/faceplate-ui/templates/button.js';\nimport { nothing } from 'lit';\nimport type { ClassInfo } from 'lit/directives/class-map.js';\nimport type { ref as clientRef } from 'lit/directives/ref.js';\nimport type { StyleInfo } from 'lit/directives/style-map.js';\n\nimport { brightnessByColor } from './templates/color.js';\nimport type { RenderContext } from './templates/renderContext.js';\nimport {\n getSizes,\n isHTMLElement,\n parseDimension,\n ref,\n resolveColors,\n sanitizeStyleInfo,\n} from './templates/util.js';\n\nexport type AttributeOverrides = {\n styles?: StyleInfo | undefined;\n classes?: ClassInfo | undefined;\n};\n\nexport function defaultClasses(block: Block, ctx: RenderContext): ClassInfo {\n const type = block.type;\n return {\n 'box-border': true,\n 'overflow-hidden': type === BlockType.BLOCK_ROOT || type === BlockType.BLOCK_STACK,\n 'm-0': type === BlockType.BLOCK_IMAGE,\n relative: true,\n ...stackChildClass(ctx.stackDirection),\n ...sizingClass(getSizes(block)),\n ...cursorClass(block),\n };\n}\n\nexport function defaultStyles(\n block: Block,\n ctx: RenderContext,\n reverse: boolean = false\n): StyleInfo {\n return sanitizeStyleInfo({\n ...sizingStyle(getSizes(block)),\n ...childGapStyle(ctx, reverse),\n });\n}\n\nexport function stackDirectionClass(\n direction: BlockStackDirection,\n reverse: boolean | undefined\n): ClassInfo {\n const vstack = direction === BlockStackDirection.STACK_VERTICAL;\n const hstack = direction === BlockStackDirection.STACK_HORIZONTAL;\n const zstack = direction === BlockStackDirection.STACK_DEPTH;\n return {\n flex: vstack || hstack,\n 'flex-row': hstack,\n 'flex-row-reverse': hstack && reverse === true,\n 'flex-col': vstack,\n 'flex-col-reverse': vstack && reverse === true,\n grid: zstack,\n 'grid-cols-1': zstack,\n 'dx-zstack': zstack,\n 'auto-cols-fr': zstack,\n 'auto-rows-fr': zstack,\n };\n}\n\nexport function stackChildClass(parentDirection: BlockStackDirection): ClassInfo {\n const zstack = parentDirection === BlockStackDirection.STACK_DEPTH;\n return {\n 'col-start-1': zstack,\n 'row-start-1': zstack,\n };\n}\n\nexport function sizingClass(sizing: BlockSizes | undefined): ClassInfo {\n return {\n 'shrink-0': sizing?.grow !== true,\n 'col-start-1': sizing?.grow === true,\n 'row-start-1': sizing?.grow === true,\n shrink: sizing?.grow === true,\n grow: sizing?.grow === true,\n };\n}\n\nexport function sizingStyle(sizing: BlockSizes | undefined): StyleInfo {\n return sanitizeStyleInfo({\n width: sizing?.grow === true ? undefined : parseDimension(sizing?.width?.value),\n minWidth: sizing?.grow === true ? undefined : parseDimension(sizing?.width?.min),\n maxWidth: sizing?.grow === true ? undefined : parseDimension(sizing?.width?.max),\n height: sizing?.grow === true ? undefined : parseDimension(sizing?.height?.value),\n minHeight: sizing?.grow === true ? undefined : parseDimension(sizing?.height?.min),\n maxHeight: sizing?.grow === true ? undefined : parseDimension(sizing?.height?.max),\n });\n}\n\nexport function growWrapperSizingStyle(block: Block): StyleInfo {\n const sizes = getSizes(block);\n return sanitizeStyleInfo({\n width: parseDimension(sizes?.width?.value),\n minWidth: parseDimension(sizes?.width?.min),\n maxWidth: parseDimension(sizes?.width?.max),\n height: parseDimension(sizes?.height?.value),\n minHeight: parseDimension(sizes?.height?.min),\n maxHeight: parseDimension(sizes?.height?.max),\n });\n}\n\nexport function paddingClass(padding: BlockPadding | undefined): ClassInfo {\n return {\n 'p-0': padding === undefined || padding === BlockPadding.PADDING_NONE,\n 'p-2xs': padding === BlockPadding.PADDING_XSMALL,\n 'p-xs': padding === BlockPadding.PADDING_SMALL,\n 'p-md': padding === BlockPadding.PADDING_MEDIUM,\n 'p-xl': padding === BlockPadding.PADDING_LARGE,\n };\n}\n\nexport function alignmentClass(\n direction: BlockStackDirection,\n align: BlockAlignment | undefined,\n block: Block\n): ClassInfo {\n const hstack = direction === BlockStackDirection.STACK_HORIZONTAL;\n const vstack = direction === BlockStackDirection.STACK_VERTICAL;\n const zstack = direction === BlockStackDirection.STACK_DEPTH;\n\n const hnone = align === undefined || align.horizontal === undefined;\n const start = align?.horizontal === BlockHorizontalAlignment.ALIGN_START;\n const center = align?.horizontal === BlockHorizontalAlignment.ALIGN_CENTER;\n const end = align?.horizontal === BlockHorizontalAlignment.ALIGN_END;\n\n const vnone = align === undefined || align.vertical === undefined;\n const top = align?.vertical === BlockVerticalAlignment.ALIGN_TOP;\n const middle = align?.vertical === BlockVerticalAlignment.ALIGN_MIDDLE;\n const bottom = align?.vertical === BlockVerticalAlignment.ALIGN_BOTTOM;\n\n const sizes = getSizes(block);\n\n return {\n // Primary axis alignment\n 'justify-start': (start && hstack) || (top && vstack),\n 'justify-center': (center && hstack) || (middle && vstack),\n 'justify-end': (end && hstack) || (bottom && vstack),\n\n // Alternate for ZStack\n 'justify-items-start': (hnone && zstack) || (start && zstack),\n 'justify-items-center': center && zstack,\n 'justify-items-end': end && zstack,\n\n // Cross-axis alignment\n 'items-start': (top && (hstack || zstack)) || (start && vstack) || (vnone && zstack),\n 'items-center': (middle && (hstack || zstack)) || (center && vstack),\n 'items-stretch': (vnone && hstack) || (hnone && vstack),\n 'items-end': (bottom && (hstack || zstack)) || (end && vstack),\n\n // CSS grid alignment for ZStack\n ...(zstack && sizes && { ...zstackAlignmentClass(align, sizes) }),\n };\n}\n\n/* ZStacks use CSS grid and require extra alignment classes over hstack and vstacks */\nexport function zstackAlignmentClass(\n align: BlockAlignment | undefined,\n sizes: BlockSizes\n): ClassInfo {\n // ZStacks with grow set to true should always stretch content\n if (sizes.grow) {\n return {\n 'content-stretch': true,\n };\n }\n\n return {\n 'content-start': align?.vertical === BlockVerticalAlignment.ALIGN_TOP,\n 'content-center': align?.vertical === BlockVerticalAlignment.ALIGN_MIDDLE,\n 'content-end': align?.vertical === BlockVerticalAlignment.ALIGN_BOTTOM,\n };\n}\n\nexport function backgroundClass(hasBgColor: boolean): ClassInfo {\n return {\n 'dx-bg-color': hasBgColor,\n };\n}\n\nexport function backgroundStyle(\n colors: BlockColor | undefined,\n legacyColor: string | undefined\n): StyleInfo {\n const [light, dark] = resolveColors(colors, legacyColor);\n return sanitizeStyleInfo({\n '--dx-bg-color-light': light,\n '--dx-bg-color-dark': dark,\n });\n}\n\nexport function borderClass(border: BlockBorder | undefined): ClassInfo {\n const thin = border?.width === BlockBorderWidth.BORDER_WIDTH_THIN;\n const thick = border?.width === BlockBorderWidth.BORDER_WIDTH_THICK;\n const none = !thin && !thick;\n const hasBorder = border !== undefined && !none;\n const hasColor = (border?.colors?.dark ?? border?.colors?.light ?? border?.color) !== undefined;\n return {\n 'border-0': !hasBorder,\n 'border-solid': hasBorder,\n 'border-dx-thin': thin,\n 'border-dx-thick': thick,\n 'border-neutral-border': hasBorder && !hasColor,\n 'dx-border-color': hasBorder,\n };\n}\n\nexport function borderStyle(border: BlockBorder | undefined): StyleInfo {\n const [light, dark] = resolveColors(border?.colors, border?.color);\n return sanitizeStyleInfo({\n '--dx-border-color-light': light,\n '--dx-border-color-dark': dark,\n });\n}\n\nexport function radiusClass(radius: BlockRadius | undefined): ClassInfo {\n return {\n 'rounded-none': radius === undefined || radius === BlockRadius.RADIUS_NONE,\n 'rounded-dx-sm': radius === BlockRadius.RADIUS_SMALL,\n 'rounded-dx-md': radius === BlockRadius.RADIUS_MEDIUM,\n 'rounded-dx-lg': radius === BlockRadius.RADIUS_LARGE,\n 'rounded-full': radius === BlockRadius.RADIUS_FULL,\n };\n}\n\nexport function textSizeClass(size: BlockTextSize | undefined): ClassInfo {\n return {\n 'text-10': size === BlockTextSize.TEXT_SIZE_XSMALL,\n 'text-12': size === BlockTextSize.TEXT_SIZE_SMALL,\n 'text-14': size === BlockTextSize.TEXT_SIZE_MEDIUM || size === undefined,\n 'text-16': size === BlockTextSize.TEXT_SIZE_LARGE,\n 'text-18': size === BlockTextSize.TEXT_SIZE_XLARGE,\n 'text-24': size === BlockTextSize.TEXT_SIZE_XXLARGE,\n };\n}\n\nexport function textAlignClass(alignment: BlockAlignment | undefined): ClassInfo {\n return {\n 'text-start':\n alignment === undefined ||\n alignment.horizontal === undefined ||\n alignment.horizontal === BlockHorizontalAlignment.ALIGN_START,\n 'text-center': alignment?.horizontal === BlockHorizontalAlignment.ALIGN_CENTER,\n 'text-end': alignment?.horizontal === BlockHorizontalAlignment.ALIGN_END,\n };\n}\n\nexport function textWeightClass(weight: BlockTextWeight | undefined): ClassInfo {\n return {\n 'font-normal': weight === BlockTextWeight.TEXT_WEIGHT_REGULAR,\n 'font-semibold': weight === BlockTextWeight.TEXT_WEIGHT_BOLD,\n };\n}\n\nexport function textSelectClass(selection: boolean | undefined): ClassInfo {\n return {\n 'select-none': selection === false,\n 'select-text': selection === true,\n 'select-auto': selection === undefined,\n };\n}\n\nexport function textColorClass(): ClassInfo {\n return {\n 'dx-text-color': true,\n };\n}\n\nexport function textColorStyle(\n colors: BlockColor | undefined,\n legacyColor: string | undefined\n): StyleInfo {\n const [light, dark] = resolveColors(colors, legacyColor);\n return sanitizeStyleInfo({\n '--dx-text-color-light': light,\n '--dx-text-color-dark': dark,\n });\n}\n\nexport function spacerSizeClass(\n size: BlockSpacerSize | undefined,\n shape: BlockSpacerShape | undefined,\n stackDirection: BlockStackDirection\n): ClassInfo {\n const zstack = stackDirection === BlockStackDirection.STACK_DEPTH;\n if (zstack) {\n return {};\n }\n\n const square = shape === BlockSpacerShape.SPACER_SQUARE;\n const thin = shape === BlockSpacerShape.SPACER_THIN;\n\n const xsmall = size === BlockSpacerSize.SPACER_XSMALL;\n const small = size === undefined || size === BlockSpacerSize.SPACER_SMALL;\n const medium = size === BlockSpacerSize.SPACER_MEDIUM;\n const large = size === BlockSpacerSize.SPACER_LARGE;\n\n const vstack = stackDirection === BlockStackDirection.STACK_VERTICAL;\n const hstack = stackDirection === BlockStackDirection.STACK_HORIZONTAL;\n\n return {\n 'w-2xs': xsmall && (hstack || square),\n 'w-xs': small && (hstack || square),\n 'w-md': medium && (hstack || square),\n 'w-xl': large && (hstack || square),\n 'h-2xs': xsmall && (vstack || square),\n 'h-xs': small && (vstack || square),\n 'h-md': medium && (vstack || square),\n 'h-xl': large && (vstack || square),\n 'w-px': vstack && thin,\n 'h-px': hstack && thin,\n };\n}\n\nexport function iconSizeClass(size: BlockIconSize | undefined): ClassInfo {\n const xsmall = size === BlockIconSize.ICON_SIZE_XSMALL;\n const small = size === BlockIconSize.ICON_SIZE_SMALL;\n const medium = size === BlockIconSize.ICON_SIZE_MEDIUM || size === undefined;\n const large = size === BlockIconSize.ICON_SIZE_LARGE;\n\n return {\n '[&>svg]:block': true,\n '[&>svg]:aspect-square': true,\n '[&>svg]:align-middle': true,\n '[&>svg]:text-center': true,\n '[&>svg]:w-sm': xsmall,\n '[&>svg]:h-sm': xsmall,\n '[&>svg]:w-md': small,\n '[&>svg]:h-md': small,\n '[&>svg]:w-[1.25rem]': medium,\n '[&>svg]:h-[1.25rem]': medium,\n '[&>svg]:w-lg': large,\n '[&>svg]:h-lg': large,\n };\n}\n\nexport function avatarSizeClass(size: BlockAvatarSize | undefined): ClassInfo {\n return {\n 'aspect-square': true,\n 'w-md': size === BlockAvatarSize.AVATAR_SIZE_XXSMALL,\n 'w-lg': size === BlockAvatarSize.AVATAR_SIZE_XSMALL,\n 'w-xl': size === undefined || size === BlockAvatarSize.AVATAR_SIZE_SMALL,\n 'w-[2.5rem]': size === BlockAvatarSize.AVATAR_SIZE_MEDIUM,\n 'w-2xl': size === BlockAvatarSize.AVATAR_SIZE_LARGE,\n 'w-[3.5rem]': size === BlockAvatarSize.AVATAR_SIZE_XLARGE,\n 'w-3xl': size === BlockAvatarSize.AVATAR_SIZE_XXLARGE,\n 'w-[5.5rem]': size === BlockAvatarSize.AVATAR_SIZE_XXXLARGE,\n };\n}\n\nexport function facingClass(facing: BlockAvatarFacing | undefined): ClassInfo {\n return {\n 'scale-x-100': facing === undefined || facing === BlockAvatarFacing.AVATAR_FACING_RIGHT,\n '-scale-x-100': facing === BlockAvatarFacing.AVATAR_FACING_LEFT,\n };\n}\n\nexport function buttonAppearance(appearance: BlockButtonAppearance | undefined): ButtonAppearance {\n let buttonAppearance: ButtonAppearance;\n switch (appearance) {\n case BlockButtonAppearance.BUTTON_APPEARANCE_PRIMARY:\n buttonAppearance = 'primary';\n break;\n case BlockButtonAppearance.BUTTON_APPEARANCE_PLAIN:\n buttonAppearance = 'plain';\n break;\n case BlockButtonAppearance.BUTTON_APPEARANCE_BORDERED:\n buttonAppearance = 'bordered';\n break;\n case BlockButtonAppearance.BUTTON_APPEARANCE_MEDIA:\n buttonAppearance = 'media';\n break;\n case BlockButtonAppearance.BUTTON_APPEARANCE_SUCCESS:\n buttonAppearance = 'success';\n break;\n case BlockButtonAppearance.BUTTON_APPEARANCE_DESTRUCTIVE:\n buttonAppearance = 'destructive';\n break;\n case BlockButtonAppearance.BUTTON_APPEARANCE_CAUTION:\n buttonAppearance = 'caution';\n break;\n case BlockButtonAppearance.BUTTON_APPEARANCE_SECONDARY:\n default:\n buttonAppearance = 'secondary';\n break;\n }\n return buttonAppearance;\n}\n\nexport function buttonSize(size: BlockButtonSize | undefined): ButtonSize {\n let buttonSize: ButtonSize;\n switch (size) {\n case BlockButtonSize.BUTTON_SIZE_SMALL:\n buttonSize = ButtonSize.Small;\n break;\n case BlockButtonSize.BUTTON_SIZE_LARGE:\n buttonSize = ButtonSize.Large;\n break;\n case BlockButtonSize.BUTTON_SIZE_MEDIUM:\n default:\n buttonSize = ButtonSize.Medium;\n break;\n }\n return buttonSize;\n}\n\nexport function cursorClass(block: Block): ClassInfo {\n return {\n 'cursor-pointer': !!block.actions.find((a) => a.type === BlockActionType.ACTION_CLICK),\n };\n}\n\nexport function pointerEventsClass(actionable: boolean): ClassInfo {\n return {\n 'pointer-events-none': !actionable,\n '[&>:not(.pointer-events-none)]:pointer-events-auto': !actionable,\n 'pointer-events-auto': actionable,\n };\n}\n\nexport function onClickAction(block: Block, ctx: RenderContext): (() => void) | undefined {\n const clickAction = block.actions.find((a) => a.type === BlockActionType.ACTION_CLICK);\n if (clickAction) {\n return () => {\n ctx.onAction?.(clickAction);\n };\n }\n}\n\nexport function onWebViewAction(\n block: Block,\n ctx: RenderContext\n): ((ev: CustomEvent) => void) | undefined {\n const webViewAction = block.actions.find((a) => a.type === BlockActionType.ACTION_WEBVIEW);\n if (webViewAction) {\n return (ev: CustomEvent) => {\n ctx.onAction?.({ ...webViewAction, data: ev.detail });\n };\n }\n}\n\nexport function setTextOutline(\n thickness: BlockTextOutline | undefined\n): ReturnType<typeof clientRef> {\n let thicknessClass: string;\n switch (thickness) {\n case BlockTextOutline.TEXT_OUTLINE_THIN:\n thicknessClass = 'thin';\n break;\n case BlockTextOutline.TEXT_OUTLINE_THICK:\n thicknessClass = 'thick';\n break;\n default:\n return nothing;\n }\n return ref((el: Element | undefined) => {\n if (isHTMLElement(el)) {\n let retry = true;\n const apply = (): void => {\n const color = window.getComputedStyle(el).color;\n if (!color && retry) {\n retry = false;\n window.setTimeout(() => apply(), 0);\n return;\n }\n const brightness = brightnessByColor(color) > 127 ? 'bright' : 'dark';\n el.classList.forEach((name) => {\n if (name.startsWith('text-outline-')) {\n el.classList.remove(name);\n }\n });\n el.classList.add(`text-outline-${thicknessClass}-${brightness}`);\n };\n apply();\n }\n });\n}\n\nexport function textOverflowClass(config: BlockConfig_Text): ClassInfo {\n const wrap = config.wrap === true;\n const overflow = config.overflow;\n return {\n 'overflow-hidden': true,\n 'text-clip': overflow === BlockTextOverflow.TEXT_OVERFLOW_CLIP,\n 'text-ellipsis': overflow === BlockTextOverflow.TEXT_OVERFLOW_ELLIPSE || overflow === undefined,\n 'whitespace-pre-line': wrap,\n 'whitespace-nowrap': !wrap,\n 'max-w-full': wrap,\n };\n}\n\n/**\n * Converts the BlockGap enum values to pixels\n */\nexport function gapSize(gap: BlockGap | undefined): number {\n switch (gap) {\n case BlockGap.GAP_SMALL:\n return 8;\n case BlockGap.GAP_MEDIUM:\n return 16;\n case BlockGap.GAP_LARGE:\n return 32;\n }\n return 0;\n}\n\n/**\n * Applies the necessary styles for a stack to appropriately\n * measure available space for relatively sized child blocks\n */\nexport function stackGapStyle(\n stackDirection: BlockStackDirection,\n gap: BlockGap | undefined,\n padding: BlockPadding | undefined,\n childCount: number,\n reverse: boolean | undefined\n): StyleInfo {\n if (!gap) return {};\n\n let paddingOffsetPx = 0;\n let paddingDirection: string | undefined;\n\n switch (padding) {\n case BlockPadding.PADDING_XSMALL:\n paddingOffsetPx = 4;\n break;\n case BlockPadding.PADDING_SMALL:\n paddingOffsetPx = 8;\n break;\n case BlockPadding.PADDING_MEDIUM:\n paddingOffsetPx = 16;\n break;\n case BlockPadding.PADDING_LARGE:\n paddingOffsetPx = 32;\n break;\n }\n switch (stackDirection) {\n case BlockStackDirection.STACK_HORIZONTAL:\n paddingDirection = reverse ? 'left' : 'right';\n break;\n case BlockStackDirection.STACK_VERTICAL:\n paddingDirection = reverse ? 'top' : 'bottom';\n break;\n }\n\n const gapOffsetPx = gapSize(gap) * (childCount - 1) + paddingOffsetPx;\n\n return sanitizeStyleInfo(\n paddingDirection && gapOffsetPx\n ? {\n [`padding-${paddingDirection}`]: `${gapOffsetPx}px`,\n }\n : {}\n );\n}\n\n/**\n * Applies a relative offset in order to properly space a\n * child block within a stack that has gap.\n * If reverse, the offset is applied in the opposite direction.\n */\nexport function childGapStyle(ctx: RenderContext, reverse: boolean): StyleInfo {\n const offset = (ctx.gapSize ?? 0) * (ctx.childIndex ?? 0);\n let offsetDirection: string | undefined;\n switch (ctx.stackDirection) {\n case BlockStackDirection.STACK_HORIZONTAL:\n offsetDirection = reverse ? 'right' : 'left';\n break;\n case BlockStackDirection.STACK_VERTICAL:\n offsetDirection = reverse ? 'bottom' : 'top';\n break;\n }\n return sanitizeStyleInfo(\n offsetDirection && offset\n ? {\n [offsetDirection]: `${offset}px`,\n }\n : {}\n );\n}\n\nexport function imageClasses(resizeMode: BlockImageResizeMode | undefined): ClassInfo {\n return {\n 'bg-center': true,\n 'bg-no-repeat': true,\n 'bg-cover': resizeMode === BlockImageResizeMode.IMAGE_RESIZE_COVER,\n 'bg-contain': resizeMode === undefined || resizeMode === BlockImageResizeMode.IMAGE_RESIZE_FIT,\n };\n}\n\nexport function imageStyle(\n url: string,\n resizeMode: BlockImageResizeMode | undefined,\n imageWidth: number,\n imageHeight: number,\n canvasSize: BlockSizes | undefined\n): StyleInfo {\n const size: Record<string, string> = {};\n\n switch (resizeMode) {\n case BlockImageResizeMode.IMAGE_RESIZE_FILL:\n size['backgroundSize'] = `100% 100%`;\n break;\n case BlockImageResizeMode.IMAGE_RESIZE_SCALE_DOWN: {\n if (\n canvasSize?.height?.value?.unit === BlockSizeUnit.SIZE_UNIT_PERCENT ||\n canvasSize?.width?.value?.unit === BlockSizeUnit.SIZE_UNIT_PERCENT\n ) {\n size['backgroundSize'] = 'contain';\n break;\n }\n const calculationHeight =\n canvasSize?.height?.value?.unit === BlockSizeUnit.SIZE_UNIT_PIXELS\n ? Math.min(canvasSize.height.value.value, imageHeight)\n : imageHeight;\n const calculationWidth =\n canvasSize?.width?.value?.unit === BlockSizeUnit.SIZE_UNIT_PIXELS\n ? Math.min(canvasSize.width.value.value, imageWidth)\n : imageWidth;\n\n if (calculationWidth > calculationHeight) {\n size['backgroundSize'] = `auto clamp(0px, 100%, ${calculationWidth}px)`;\n } else {\n size['backgroundSize'] = `clamp(0px, 100%, ${calculationHeight}px) auto`;\n }\n break;\n }\n case BlockImageResizeMode.IMAGE_RESIZE_NONE:\n size['backgroundSize'] = `${imageWidth}px ${imageHeight}px`;\n }\n return {\n backgroundImage: `url('${url}')`,\n width: canvasSize?.grow ? '100%' : canvasSize?.width ? undefined : `${imageWidth}px`,\n height: canvasSize?.grow ? '100%' : canvasSize?.height ? undefined : `${imageHeight}px`,\n ...size,\n };\n}\n", "import { BlockType } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\n\nexport enum BlockTypeName {\n Root = 'root',\n Stack = 'stack',\n Text = 'text',\n Button = 'button',\n Image = 'image',\n Spacer = 'spacer',\n Icon = 'icon',\n Avatar = 'avatar',\n FullSnoo = 'fullsnoo',\n Animation = 'animation',\n WebView = 'web-view',\n Unknown = 'unknown',\n}\n\nexport function blockTypeToString(type: BlockType) {\n switch (type) {\n case BlockType.BLOCK_ROOT:\n return BlockTypeName.Root;\n case BlockType.BLOCK_STACK:\n return BlockTypeName.Stack;\n case BlockType.BLOCK_TEXT:\n return BlockTypeName.Text;\n case BlockType.BLOCK_BUTTON:\n return BlockTypeName.Button;\n case BlockType.BLOCK_IMAGE:\n return BlockTypeName.Image;\n case BlockType.BLOCK_SPACER:\n return BlockTypeName.Spacer;\n case BlockType.BLOCK_ICON:\n return BlockTypeName.Icon;\n case BlockType.BLOCK_AVATAR:\n return BlockTypeName.Avatar;\n case BlockType.BLOCK_FULLSNOO:\n return BlockTypeName.FullSnoo;\n case BlockType.BLOCK_ANIMATION:\n return BlockTypeName.Animation;\n case BlockType.BLOCK_WEBVIEW:\n return BlockTypeName.WebView;\n case BlockType.UNRECOGNIZED:\n return BlockTypeName.Unknown;\n default:\n return type satisfies never;\n }\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport { nothing } from 'lit';\n\nimport {\n avatarSizeClass,\n defaultClasses,\n defaultStyles,\n facingClass,\n onClickAction,\n} from '../attributes.js';\nimport { blockTypeToString } from '../block-type.js';\nimport type { RenderContext } from './renderContext.js';\nimport type { TemplateLike } from './util.js';\nimport { classMap } from './util.js';\n\nexport function renderAvatarBlock(block: Block, ctx: RenderContext): TemplateLike {\n const { html, styleMap, ifDefined } = getTemplateRenderingStrategy();\n\n if (!block.config?.avatarConfig) {\n console.error('Invalid block: Avatar missing AvatarConfig');\n return nothing;\n }\n const { thingId, facing, size, background } = block.config.avatarConfig;\n\n const classes = {\n ...defaultClasses(block, ctx),\n ...avatarSizeClass(size),\n ...facingClass(facing),\n };\n\n const styles = {\n ...defaultStyles(block, ctx),\n };\n\n const onClick = onClickAction(block, ctx);\n\n return html`<div\n class=\"${classMap(classes)}\"\n style=\"${styleMap(styles)}\"\n @click=\"${ifDefined(onClick)}\"\n data-block-type=\"${blockTypeToString(block.type)}\"\n ></div>`;\n}\n", "import { unsafeHTML } from '@reddit/baseplate/html.js';\n// an implemenation of stylemap that tries to match the behavior of the version in lit-html\n// https://github.com/lit/lit/blob/main/packages/lit-html/src/directives/style-map.ts#L44-L61\nexport function styleMap(styleInfo) {\n let result = '';\n for (const key in styleInfo) {\n // @ts-ignore\n const value = styleInfo[key];\n if (!Object.prototype.hasOwnProperty.call(styleInfo, key)) {\n continue;\n }\n if (value == null) {\n continue;\n }\n // Straight-up taken from lit-html:\n // Convert property names from camel-case to dash-case, i.e.:\n // `backgroundColor` -> `background-color`\n // Vendor-prefixed names need an extra `-` appended to front:\n // `webkitAppearance` -> `-webkit-appearance`\n // Exception is any property name containing a dash, including\n // custom properties; we assume these are already dash-cased i.e.:\n // `--my-button-color` --> `--my-button-color`\n const prop = key.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, '-$&').toLowerCase();\n /* eslint-disable-next-line @reddit/i18n-shreddit/no-unwrapped-strings */\n result += `${prop}: ${value}; `;\n }\n return unsafeHTML(result.trim());\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport { nothing } from 'lit';\n\nimport {\n defaultClasses,\n defaultStyles,\n iconSizeClass,\n onClickAction,\n textColorClass,\n textColorStyle,\n} from '../attributes.js';\nimport { blockTypeToString } from '../block-type.js';\nimport { resolveStyleColor } from './color.js';\nimport type { RenderContext } from './renderContext.js';\nimport type { TemplateLike } from './util.js';\nimport { classMap, resolveIcon } from './util.js';\n\nexport function renderIconBlock(block: Block, ctx: RenderContext): TemplateLike {\n const { html, styleMap, ifDefined } = getTemplateRenderingStrategy();\n\n if (!block.config?.iconConfig) {\n console.error('Invalid block: Icon missing IconConfig');\n return nothing;\n }\n\n const { icon, size, color, colors } = block.config.iconConfig;\n\n const classes = {\n ...defaultClasses(block, ctx),\n ...textColorClass(),\n ...iconSizeClass(size),\n };\n\n const styles = {\n ...defaultStyles(block, ctx),\n ...textColorStyle(colors, color ?? 'neutral-content'),\n };\n\n const onClick = onClickAction(block, ctx);\n\n return html`<div\n id=\"${ifDefined(block.id)}\"\n class=\"${classMap(classes)}\"\n style=\"${styleMap(styles)}\"\n @click=\"${ifDefined(onClick)}\"\n data-block-type=\"${blockTypeToString(block.type)}\"\n ${resolveStyleColor(styles, 'color')}\n >\n ${resolveIcon(icon)}\n </div>`;\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport {\n BlockButtonSize,\n BlockIconSize,\n BlockStackDirection,\n BlockType,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport { button } from '@reddit/faceplate-ui/templates/button.js';\nimport { styleMap } from '@reddit/faceplate-ui/templateUtils/styleMap.js';\nimport type { TemplateResult } from 'lit';\nimport { nothing } from 'lit';\n\nimport {\n buttonAppearance,\n buttonSize,\n defaultClasses,\n defaultStyles,\n onClickAction,\n textColorStyle,\n} from '../attributes.js';\nimport { blockTypeToString } from '../block-type.js';\nimport type { RenderContext } from './renderContext.js';\nimport { renderIconBlock } from './renderIconBlock.js';\nimport type { TemplateLike } from './util.js';\nimport { classMap } from './util.js';\n\nexport function renderButtonBlock(block: Block, ctx: RenderContext): TemplateLike {\n const { html, ifDefined } = getTemplateRenderingStrategy();\n\n if (block.config?.buttonConfig === undefined) {\n console.error('Invalid block: Button missing ButtonConfig');\n return nothing;\n }\n\n const { icon, disabled, textColor, textColors } = block.config.buttonConfig;\n\n const classes = {\n ...defaultClasses(block, ctx),\n textColor: Boolean(textColor || textColors),\n };\n\n const styles = {\n ...defaultStyles(block, ctx),\n ...textColorStyle(textColors, textColor),\n // not available in all platforms yet\n // ...backgroundStyle(block.config?.buttonConfig?.backgroundColor),\n };\n\n const onClick = onClickAction(block, ctx);\n\n let iconSize: BlockIconSize | undefined;\n switch (block.config?.buttonConfig?.buttonSize) {\n case BlockButtonSize.BUTTON_SIZE_SMALL:\n iconSize = BlockIconSize.ICON_SIZE_SMALL;\n break;\n case BlockButtonSize.BUTTON_SIZE_LARGE:\n iconSize = BlockIconSize.ICON_SIZE_LARGE;\n break;\n case BlockButtonSize.BUTTON_SIZE_MEDIUM:\n default:\n iconSize = BlockIconSize.ICON_SIZE_MEDIUM;\n break;\n }\n const iconSvg = icon\n ? renderIconBlock(\n {\n type: BlockType.BLOCK_ICON,\n config: { iconConfig: { icon, size: iconSize } },\n actions: [],\n },\n { stackDirection: BlockStackDirection.STACK_HORIZONTAL }\n )\n : undefined;\n const iconProp = iconSvg && iconSvg !== nothing ? { leadingIcon: iconSvg as TemplateResult } : {};\n\n // Because of our baseplate replacement plugins, `styleMap` can return either\n // the server-side style we're expecting, or a client-side style object that\n // has a values array instead. We need to handle both cases.\n const styleMapResult = styleMap(styles);\n const styleString =\n 'string' in styleMapResult\n ? styleMapResult.string\n : (styleMapResult as { values: string[] }).values.join(' ');\n\n // TODO: correctColor\n return html`${button({\n size: buttonSize(block.config?.buttonConfig?.buttonSize),\n appearance: buttonAppearance(block.config?.buttonConfig?.buttonAppearance),\n ...iconProp,\n children: ifDefined(block.config?.buttonConfig?.text),\n attributes: {\n id: ifDefined(block.id),\n disabled,\n // convert from StyleInfo to CSSStyleDeclaration\n style: styleString,\n className: classMap(classes, true) as string,\n onclick: onClick ?? null,\n 'data-block-type': blockTypeToString(block.type),\n },\n })}`;\n}\n", "// https://github.com/cure53/DOMPurify/blob/f89d72681513d749d303798ced02fa2799340989/src/tags.js#L202\nconst DISALLOWED_ELEMENTS = [\n // We don't allow images bypass reddit safety checks!\n /**\n * 1/31/24: We need to allow images so we can make things happen.\n * https://reddit.atlassian.net/browse/DX-5740\n */\n // 'image',\n 'animate',\n 'color-profile',\n 'cursor',\n 'discard',\n 'font-face',\n 'font-face-format',\n 'font-face-name',\n 'font-face-src',\n 'font-face-uri',\n 'foreignobject',\n 'hatch',\n 'hatchpath',\n 'mesh',\n 'meshgradient',\n 'meshpatch',\n 'meshrow',\n 'missing-glyph',\n 'script',\n 'set',\n 'solidcolor',\n 'unknown',\n 'use',\n];\n// We don't allow images bypass reddit safety checks!\nconst DISALLOWED_STYLES = [\n /**\n * 1/31/24: We need to allow images so we can make things happen.\n * https://reddit.atlassian.net/browse/DX-5740\n */\n // 'background',\n // 'background-image',\n 'border-image',\n 'border-image-source',\n 'behavior',\n 'expression',\n 'list-style-image',\n 'cursor',\n 'content',\n];\nconst DISALLOWED_ATTRIBUTES = [\n 'onload',\n 'onerror',\n 'onclick',\n 'onmouseover',\n /**\n * 1/31/24: We need to allow images so we can make things happen.\n * https://reddit.atlassian.net/browse/DX-5740\n */\n // 'href',\n];\nfunction ensureXmlns(svg) {\n if (/xmlns=[\"']http:\\/\\/www\\.w3\\.org\\/2000\\/svg[\"']/.test(svg)) {\n return svg;\n }\n return svg.replace(/<svg\\b/, '<svg xmlns=\"http://www.w3.org/2000/svg\"');\n}\nexport function sanitizeSvg(svg) {\n if (!svg) {\n return undefined;\n }\n if (!svg.trim().startsWith('<svg')) {\n console.log('The provided string is not a valid SVG.');\n return undefined; // Return an empty string if it's not an SVG\n }\n try {\n // Create regex patterns (case-insensitive)\n // eslint-disable-next-line security/detect-non-literal-regexp\n const disallowedElementsRegex = new RegExp(`<\\\\s*(${DISALLOWED_ELEMENTS.join('|')})\\\\b`, 'gi');\n // eslint-disable-next-line security/detect-non-literal-regexp\n const disallowedStylesRegex = new RegExp(`(${DISALLOWED_STYLES.join('|')})\\\\s*:\\\\s*url\\\\s*\\\\((['\"]?)(.*?)\\\\2\\\\)`, 'gi');\n // eslint-disable-next-line security/detect-non-literal-regexp\n const disallowedAttributesRegex = new RegExp(`(${DISALLOWED_ATTRIBUTES.join('|')})\\\\s*(=\\\\s*(['\"]?)(.*?)\\\\3)?`, 'gi');\n // Remove newlines and excessive whitespace\n svg = svg.trim().replace(/\\s+/g, ' ');\n // SVGs as data URLs require it to be a valid XML file meaning\n // xmlns is required where it is not within most browsers.\n svg = ensureXmlns(svg);\n // Find disallowed elements, styles, and attributes\n const elementMatches = svg.match(disallowedElementsRegex) || [];\n const styleMatches = svg.match(disallowedStylesRegex) || [];\n const attributeMatches = svg.match(disallowedAttributesRegex) || [];\n let isInvalid = false;\n // Log and sanitize if disallowed elements are found\n if (elementMatches.length > 0) {\n isInvalid = true;\n console.warn(`Disallowed elements detected in SVG: ${elementMatches\n .map((x) => x.replace('<', ''))\n .join(', ')}`);\n }\n // Log and sanitize if disallowed styles are found\n if (styleMatches.length > 0) {\n isInvalid = true;\n console.warn(`Disallowed styles detected in SVG: ${styleMatches.map((x) => x.split(':')[0]).join(', ')}`);\n }\n // Log and sanitize if disallowed attributes are found\n if (attributeMatches.length > 0) {\n isInvalid = true;\n console.warn(`Disallowed attributes detected in SVG: ${attributeMatches\n .map((x) => x.split('=')[0])\n .join(', ')}`);\n }\n if (isInvalid) {\n return undefined;\n }\n return svg; // Return the original SVG string if it's clean\n }\n catch {\n return undefined;\n }\n}\n", "// Only the following domains are approved: redd.it, redditstatic.com, redditmedia.com, or snoo.dev\nimport { sanitizeSvg } from '@devvit/shared-types/sanitizeSvg.js';\n\nexport const REDD_IT = 'redd.it';\nexport const REDDIT_STATIC = 'redditstatic.com';\nexport const REDDIT_MEDIA = 'redditmedia.com';\nexport const SNOO_DEV = 'snoo.dev';\n\nexport const VerifiedPublicImageHosts: readonly string[] = [REDD_IT, REDDIT_STATIC, REDDIT_MEDIA];\nexport const VerifiedImageHosts: readonly string[] = [\n SNOO_DEV,\n REDD_IT,\n REDDIT_STATIC,\n REDDIT_MEDIA,\n];\n\nconst MIME_SVG_XML = 'image/svg+xml';\n\nconst ALLOWED_DATA_MIMETYPES = [MIME_SVG_XML];\n\nfunction validateDataUrl(url: URL): boolean {\n // mediaType is everything before the data section\n const mediaType = url.pathname.split(',')[0];\n // chunks are separated by semicolons, with the first being the mimetype\n const mimetype = mediaType.split(';')[0];\n return ALLOWED_DATA_MIMETYPES.includes(mimetype);\n}\n\nfunction validateHttpUrl(url: URL): boolean {\n // Get just the domain name from the hostname\n const domain = url.hostname.split('.').slice(-2).join('.');\n return VerifiedImageHosts.includes(domain);\n}\n\n/**\n * Validates whether an image URL is allowed to be displayed\n * @param imageUrl\n * @returns true if the URL is allowed\n */\nexport function isValidImageURL(imageUrl: string): boolean {\n try {\n const url = new URL(imageUrl);\n const protocol = url.protocol.substring(0, 4);\n switch (protocol) {\n case 'blob':\n return true;\n case 'data':\n return validateDataUrl(url);\n case 'http':\n return validateHttpUrl(url);\n }\n } catch (_) {\n // invalid imageUrl\n }\n return false;\n}\n\n/**\n * Performs any sanitization needed on a given image URL\n * Currently only processes SVG data URIs\n * @param imageUrl\n * @returns the sanitized URL\n */\nexport function sanitizeImageURL(imageUrl: string): string | undefined {\n try {\n // only parse up until the data segment so we don't waste time parsing it here\n const dataSeparator = imageUrl.indexOf(',');\n const url = new URL(dataSeparator > 0 ? imageUrl.slice(0, dataSeparator) : imageUrl);\n\n // nothing to sanitize\n if (url.protocol.startsWith('http') || url.protocol.startsWith('blob')) {\n return encodeURI(imageUrl);\n }\n\n const mediaType = url.pathname;\n const [mimetype] = mediaType.split(';');\n\n // can't sanitize binary image data\n if (mimetype !== MIME_SVG_XML) {\n return imageUrl;\n }\n\n const base64 = mediaType.split(';').at(-1) === 'base64';\n\n const data = imageUrl.slice(dataSeparator + 1);\n const svgData = base64 ? atob(data) : data;\n\n // extract SVG\n const svg = decodeURIComponent(svgData);\n // sanitize\n const safeSvg = sanitizeSvg(svg);\n if (safeSvg === undefined) {\n return undefined;\n }\n\n // URI encode if we're not base64 encoding to ensure the img tag doesn't choke on `#` and `?` characters\n const safeData = base64 ? btoa(safeSvg) : encodeURIComponent(safeSvg);\n\n return `data:${mediaType},${safeData}`;\n } catch {\n // failed to parse URL\n }\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport { nothing } from 'lit';\n\nimport {\n defaultClasses,\n defaultStyles,\n imageClasses,\n imageStyle,\n onClickAction,\n} from '../attributes.js';\nimport { blockTypeToString } from '../block-type.js';\nimport { isValidImageURL, sanitizeImageURL, VerifiedPublicImageHosts } from './imageUtil.js';\nimport type { RenderContext } from './renderContext.js';\nimport type { TemplateLike } from './util.js';\nimport { classMap, getSizes } from './util.js';\n\nconst FALLBACK_IMG_URL = 'https://i.redd.it/p1vmc5ulmpib1.png';\n\nexport function renderImageBlock(block: Block, ctx: RenderContext): TemplateLike {\n const { html, styleMap, ifDefined } = getTemplateRenderingStrategy();\n\n if (!block.config?.imageConfig) {\n console.error('Invalid block: Image missing ImageConfig');\n return nothing;\n }\n const sizes = getSizes(block);\n const {\n width: imageWidth,\n height: imageHeight,\n url,\n description,\n resizeMode,\n } = block.config.imageConfig;\n\n // Sanitize only affects data URIs, so do this first\n let imageUrl = sanitizeImageURL(url.trim()) || FALLBACK_IMG_URL;\n if (!ctx.disableAssetSandbox) {\n if (!isValidImageURL(imageUrl)) {\n console.error(\n `Invalid image URL: Image URL domain must be one of ${VerifiedPublicImageHosts.join(', ')}.`\n );\n // Replace url with a fallback snoo\n imageUrl = FALLBACK_IMG_URL;\n }\n }\n\n const classes = {\n ...defaultClasses(block, ctx),\n ...imageClasses(resizeMode),\n };\n\n const styles = {\n ...imageStyle(imageUrl, resizeMode, imageWidth, imageHeight, sizes),\n ...defaultStyles(block, ctx),\n };\n\n const onClick = onClickAction(block, ctx);\n\n return html`\n <div\n id=\"${ifDefined(block.id)}\"\n aria-description=\"${description}\"\n class=\"${classMap(classes)}\"\n style=\"${styleMap(styles)}\"\n @click=\"${ifDefined(onClick)}\"\n data-block-type=\"${blockTypeToString(block.type)}\"\n >\n <img\n src=\"${imageUrl}\"\n class=\"w-100 h-100\"\n style=\"display: none\"\n @error=\"${{\n handleEvent: (event: Event & { target: HTMLImageElement }) => {\n console.error(`Error loading image:`, imageUrl);\n\n event.target.parentElement!.style.backgroundImage = `url(${FALLBACK_IMG_URL})`;\n },\n once: true,\n }}\"\n />\n </div>\n `;\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\n\nimport { defaultClasses, defaultStyles, spacerSizeClass } from '../attributes.js';\nimport { blockTypeToString } from '../block-type.js';\nimport type { RenderContext } from './renderContext.js';\nimport type { TemplateLike } from './util.js';\nimport { classMap } from './util.js';\n\nexport function renderSpacerBlock(block: Block, ctx: RenderContext): TemplateLike {\n const { html, styleMap, ifDefined } = getTemplateRenderingStrategy();\n\n const classes = {\n ...defaultClasses(block, ctx),\n ...spacerSizeClass(\n block.config?.spacerConfig?.size,\n block.config?.spacerConfig?.shape,\n ctx.stackDirection\n ),\n };\n\n const styles = {\n ...defaultStyles(block, ctx),\n };\n\n return html`<div\n id=\"${ifDefined(block.id)}\"\n class=\"${classMap(classes)}\"\n style=\"${styleMap(styles)}\"\n data-block-type=\"${blockTypeToString(block.type)}\"\n ></div>`;\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport { BlockStackDirection } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport { nothing } from 'lit';\n\nimport type { AttributeOverrides } from '../attributes.js';\nimport {\n alignmentClass,\n backgroundClass,\n backgroundStyle,\n borderClass,\n borderStyle,\n defaultClasses,\n defaultStyles,\n gapSize,\n onClickAction,\n paddingClass,\n pointerEventsClass,\n radiusClass,\n stackDirectionClass,\n stackGapStyle,\n} from '../attributes.js';\nimport { blockTypeToString } from '../block-type.js';\nimport { resolveStyleColor } from './color.js';\nimport type { RenderContext } from './renderContext.js';\nimport type { TemplateLike } from './util.js';\nimport { classMap, getBlockStackType } from './util.js';\n\nexport function renderStackBlock(\n block: Block,\n ctx: RenderContext = { stackDirection: BlockStackDirection.UNRECOGNIZED },\n renderBlock: (block: Block, ctx: RenderContext) => TemplateLike,\n attributeOverrides: AttributeOverrides | undefined = undefined\n): TemplateLike {\n const { html, repeat, styleMap, ifDefined } = getTemplateRenderingStrategy();\n\n if (block.config?.stackConfig === undefined) {\n console.error('Invalid block: Stack missing StackConfig');\n return nothing;\n }\n\n const stackConfig = block.config.stackConfig;\n\n const {\n children,\n direction,\n padding,\n gap,\n alignment,\n reverse,\n backgroundColor,\n backgroundColors,\n border,\n cornerRadius,\n } = stackConfig;\n\n const bgColorLight = backgroundColors?.light ?? backgroundColor;\n const bgColorDark = backgroundColors?.dark ?? bgColorLight;\n const hasBGColor = !!bgColorLight || !!bgColorDark;\n\n // capture mouse events on a stack if there are actions associated or there's a background color\n const pointerEvents = !!block.actions.length || hasBGColor;\n\n const classes = {\n ...defaultClasses(block, ctx),\n ...backgroundClass(!!backgroundColors || !!backgroundColor),\n ...stackDirectionClass(direction, reverse),\n ...paddingClass(padding),\n ...alignmentClass(direction, alignment, block),\n ...borderClass(border),\n ...radiusClass(cornerRadius),\n ...pointerEventsClass(pointerEvents),\n ...attributeOverrides?.classes,\n };\n\n // If this block or parent stack is reverse, gap and positioning offsets are calculated in the opposite direction.\n const blockOrStackReversed = reverse || ctx.stackDirectionReversed;\n\n const styles = {\n ...defaultStyles(block, ctx, blockOrStackReversed),\n ...backgroundStyle(backgroundColors, backgroundColor),\n ...borderStyle(border),\n ...stackGapStyle(direction, gap, padding, children.length, reverse),\n ...attributeOverrides?.styles,\n };\n\n const newCtx: RenderContext = {\n ...ctx,\n gapSize: gapSize(gap),\n stackDirection: direction,\n stackDirectionReversed: reverse,\n };\n\n const onClick = onClickAction(block, ctx);\n const stackType = getBlockStackType(direction);\n\n const isReverseZstack = direction === BlockStackDirection.STACK_DEPTH && !!reverse;\n const blockChildren = isReverseZstack ? children.slice().reverse() : children;\n\n return html`\n <div\n id=\"${ifDefined(block.id)}\"\n class=\"${classMap(classes)}\"\n style=\"${styleMap(styles)}\"\n @click=\"${onClick}\"\n data-block-type=\"${blockTypeToString(block.type)}\"\n data-stack-type=\"${stackType}\"\n ${resolveStyleColor(styles, 'backgroundColor')}\n ${resolveStyleColor(styles, 'borderColor')}\n >\n ${repeat(blockChildren, (child: Block, childIndex: number) => {\n return renderBlock(child, {\n ...newCtx,\n childIndex,\n });\n })}\n </div>\n `;\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport {\n BlockTextSize,\n BlockTextStyle,\n BlockTextWeight,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport { nothing } from 'lit';\n\nimport {\n defaultClasses,\n defaultStyles,\n onClickAction,\n setTextOutline,\n textAlignClass,\n textColorClass,\n textColorStyle,\n textOverflowClass,\n textSelectClass,\n textSizeClass,\n textWeightClass,\n} from '../attributes.js';\nimport { blockTypeToString } from '../block-type.js';\nimport { resolveStyleColor } from './color.js';\nimport type { RenderContext } from './renderContext.js';\nimport type { TemplateLike } from './util.js';\nimport { classMap } from './util.js';\n\nexport function renderTextBlock(block: Block, ctx: RenderContext): TemplateLike {\n const { html, styleMap, ifDefined } = getTemplateRenderingStrategy();\n\n if (!block.config?.textConfig) {\n console.error('Invalid block: Text missing TextConfig');\n return nothing;\n }\n const { text, color, colors, size, alignment, weight, style, outline, selectable } =\n block.config.textConfig;\n\n let textColor;\n let textSize;\n let textWeight;\n switch (style) {\n case BlockTextStyle.TEXT_STYLE_METADATA:\n textColor = 'neutral-content-weak';\n textSize = BlockTextSize.TEXT_SIZE_SMALL;\n textWeight = BlockTextWeight.TEXT_WEIGHT_REGULAR;\n break;\n case BlockTextStyle.TEXT_STYLE_HEADING:\n textColor = 'neutral-content-strong';\n textSize = BlockTextSize.TEXT_SIZE_LARGE;\n textWeight = BlockTextWeight.TEXT_WEIGHT_BOLD;\n break;\n case BlockTextStyle.TEXT_STYLE_BODY:\n case undefined:\n default:\n textColor = 'neutral-content';\n textSize = BlockTextSize.TEXT_SIZE_MEDIUM;\n textWeight = BlockTextWeight.TEXT_WEIGHT_REGULAR;\n break;\n }\n\n textSize = size ?? textSize;\n textWeight = weight ?? textWeight;\n\n const classes = {\n ...defaultClasses(block, ctx),\n ...textColorClass(),\n ...textSizeClass(textSize),\n ...textAlignClass(alignment),\n ...textWeightClass(textWeight),\n ...textSelectClass(selectable),\n ...textOverflowClass(block.config.textConfig),\n };\n\n const styles = {\n ...defaultStyles(block, ctx),\n ...textColorStyle(colors, color ?? textColor),\n };\n\n const onClick = onClickAction(block, ctx);\n\n return html`<span\n id=\"${ifDefined(block.id)}\"\n class=\"${classMap(classes)}\"\n style=\"${styleMap(styles)}\"\n @click=\"${ifDefined(onClick)}\"\n data-block-type=\"${blockTypeToString(block.type)}\"\n ${resolveStyleColor(styles, 'color')}\n ${setTextOutline(outline)}\n >${text}</span\n >`;\n}\n", "/**\n * #post_message.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { Struct, Value } from \"../../../../../google/protobuf/struct.js\";\nimport { messageTypeRegistry } from \"../../../../../typeRegistry.js\";\nexport var WebViewInternalMessageScope;\n(function (WebViewInternalMessageScope) {\n /** CLIENT - Message is intended for the client only */\n WebViewInternalMessageScope[WebViewInternalMessageScope[\"CLIENT\"] = 0] = \"CLIENT\";\n WebViewInternalMessageScope[WebViewInternalMessageScope[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(WebViewInternalMessageScope || (WebViewInternalMessageScope = {}));\nexport function webViewInternalMessageScopeFromJSON(object) {\n switch (object) {\n case 0:\n case \"CLIENT\":\n return WebViewInternalMessageScope.CLIENT;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return WebViewInternalMessageScope.UNRECOGNIZED;\n }\n}\nexport function webViewInternalMessageScopeToJSON(object) {\n switch (object) {\n case WebViewInternalMessageScope.CLIENT:\n return 0;\n case WebViewInternalMessageScope.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nfunction createBaseWebViewInternalMessage() {\n return { type: \"\", scope: 0, analytics: undefined, effect: undefined, id: undefined };\n}\nexport const WebViewInternalMessage = {\n $type: \"devvit.ui.effects.web_view.v1alpha.WebViewInternalMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.type !== \"\") {\n writer.uint32(10).string(message.type);\n }\n if (message.scope !== 0) {\n writer.uint32(16).int32(message.scope);\n }\n if (message.analytics !== undefined) {\n Struct.encode(Struct.wrap(message.analytics), writer.uint32(26).fork()).ldelim();\n }\n if (message.effect !== undefined) {\n Struct.encode(Struct.wrap(message.effect), writer.uint32(34).fork()).ldelim();\n }\n if (message.id !== undefined) {\n writer.uint32(42).string(message.id);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewInternalMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.type = reader.string();\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.scope = reader.int32();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.analytics = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.effect = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.id = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n type: isSet(object.type) ? globalThis.String(object.type) : \"\",\n scope: isSet(object.scope) ? webViewInternalMessageScopeFromJSON(object.scope) : 0,\n analytics: isObject(object.analytics) ? object.analytics : undefined,\n effect: isObject(object.effect) ? object.effect : undefined,\n id: isSet(object.id) ? globalThis.String(object.id) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.type !== \"\") {\n obj.type = message.type;\n }\n if (message.scope !== 0) {\n obj.scope = webViewInternalMessageScopeToJSON(message.scope);\n }\n if (message.analytics !== undefined) {\n obj.analytics = message.analytics;\n }\n if (message.effect !== undefined) {\n obj.effect = message.effect;\n }\n if (message.id !== undefined) {\n obj.id = message.id;\n }\n return obj;\n },\n create(base) {\n return WebViewInternalMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewInternalMessage();\n message.type = object.type ?? \"\";\n message.scope = object.scope ?? 0;\n message.analytics = object.analytics ?? undefined;\n message.effect = object.effect ?? undefined;\n message.id = object.id ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewInternalMessage.$type, WebViewInternalMessage);\nfunction createBaseWebViewPostMessage() {\n return { type: \"\", data: undefined };\n}\nexport const WebViewPostMessage = {\n $type: \"devvit.ui.effects.web_view.v1alpha.WebViewPostMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.type !== \"\") {\n writer.uint32(10).string(message.type);\n }\n if (message.data !== undefined) {\n Struct.encode(Struct.wrap(message.data), writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewPostMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.type = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.data = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n type: isSet(object.type) ? globalThis.String(object.type) : \"\",\n data: isObject(object.data) ? object.data : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.type !== \"\") {\n obj.type = message.type;\n }\n if (message.data !== undefined) {\n obj.data = message.data;\n }\n return obj;\n },\n create(base) {\n return WebViewPostMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewPostMessage();\n message.type = object.type ?? \"\";\n message.data = object.data ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewPostMessage.$type, WebViewPostMessage);\nfunction createBaseWebViewAppMessage() {\n return { message: undefined, jsonString: undefined };\n}\nexport const WebViewAppMessage = {\n $type: \"devvit.ui.effects.web_view.v1alpha.WebViewAppMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.message !== undefined) {\n Value.encode(Value.wrap(message.message), writer.uint32(10).fork()).ldelim();\n }\n if (message.jsonString !== undefined) {\n writer.uint32(18).string(message.jsonString);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewAppMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.message = Value.unwrap(Value.decode(reader, reader.uint32()));\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.jsonString = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n message: isSet(object?.message) ? object.message : undefined,\n jsonString: isSet(object.jsonString) ? globalThis.String(object.jsonString) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.message !== undefined) {\n obj.message = message.message;\n }\n if (message.jsonString !== undefined) {\n obj.jsonString = message.jsonString;\n }\n return obj;\n },\n create(base) {\n return WebViewAppMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewAppMessage();\n message.message = object.message ?? undefined;\n message.jsonString = object.jsonString ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewAppMessage.$type, WebViewAppMessage);\nfunction createBaseWebViewStateMessage() {\n return { state: undefined };\n}\nexport const WebViewStateMessage = {\n $type: \"devvit.ui.effects.web_view.v1alpha.WebViewStateMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.state !== undefined) {\n Struct.encode(Struct.wrap(message.state), writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewStateMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.state = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { state: isObject(object.state) ? object.state : undefined };\n },\n toJSON(message) {\n const obj = {};\n if (message.state !== undefined) {\n obj.state = message.state;\n }\n return obj;\n },\n create(base) {\n return WebViewStateMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewStateMessage();\n message.state = object.state ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewStateMessage.$type, WebViewStateMessage);\nfunction createBaseWebViewPostMessageEffect() {\n return { webViewId: \"\", app: undefined, state: undefined };\n}\nexport const WebViewPostMessageEffect = {\n $type: \"devvit.ui.effects.web_view.v1alpha.WebViewPostMessageEffect\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.webViewId !== \"\") {\n writer.uint32(10).string(message.webViewId);\n }\n if (message.app !== undefined) {\n WebViewAppMessage.encode(message.app, writer.uint32(18).fork()).ldelim();\n }\n if (message.state !== undefined) {\n WebViewStateMessage.encode(message.state, writer.uint32(26).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewPostMessageEffect();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.webViewId = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.app = WebViewAppMessage.decode(reader, reader.uint32());\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.state = WebViewStateMessage.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n webViewId: isSet(object.webViewId) ? globalThis.String(object.webViewId) : \"\",\n app: isSet(object.app) ? WebViewAppMessage.fromJSON(object.app) : undefined,\n state: isSet(object.state) ? WebViewStateMessage.fromJSON(object.state) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.webViewId !== \"\") {\n obj.webViewId = message.webViewId;\n }\n if (message.app !== undefined) {\n obj.app = WebViewAppMessage.toJSON(message.app);\n }\n if (message.state !== undefined) {\n obj.state = WebViewStateMessage.toJSON(message.state);\n }\n return obj;\n },\n create(base) {\n return WebViewPostMessageEffect.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewPostMessageEffect();\n message.webViewId = object.webViewId ?? \"\";\n message.app = (object.app !== undefined && object.app !== null)\n ? WebViewAppMessage.fromPartial(object.app)\n : undefined;\n message.state = (object.state !== undefined && object.state !== null)\n ? WebViewStateMessage.fromPartial(object.state)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewPostMessageEffect.$type, WebViewPostMessageEffect);\nfunction isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #struct.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../typeRegistry.js\";\n/**\n * `NullValue` is a singleton enumeration to represent the null value for the\n * `Value` type union.\n *\n * The JSON representation for `NullValue` is JSON `null`.\n */\nexport var NullValue;\n(function (NullValue) {\n /** NULL_VALUE - Null value. */\n NullValue[NullValue[\"NULL_VALUE\"] = 0] = \"NULL_VALUE\";\n NullValue[NullValue[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(NullValue || (NullValue = {}));\nexport function nullValueFromJSON(object) {\n switch (object) {\n case 0:\n case \"NULL_VALUE\":\n return NullValue.NULL_VALUE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return NullValue.UNRECOGNIZED;\n }\n}\nexport function nullValueToJSON(object) {\n switch (object) {\n case NullValue.NULL_VALUE:\n return 0;\n case NullValue.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nfunction createBaseStruct() {\n return { fields: {} };\n}\nexport const Struct = {\n $type: \"google.protobuf.Struct\",\n encode(message, writer = _m0.Writer.create()) {\n Object.entries(message.fields).forEach(([key, value]) => {\n if (value !== undefined) {\n Struct_FieldsEntry.encode({ key: key, value }, writer.uint32(10).fork()).ldelim();\n }\n });\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseStruct();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32());\n if (entry1.value !== undefined) {\n message.fields[entry1.key] = entry1.value;\n }\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n fields: isObject(object.fields)\n ? Object.entries(object.fields).reduce((acc, [key, value]) => {\n acc[key] = value;\n return acc;\n }, {})\n : {},\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.fields) {\n const entries = Object.entries(message.fields);\n if (entries.length > 0) {\n obj.fields = {};\n entries.forEach(([k, v]) => {\n obj.fields[k] = v;\n });\n }\n }\n return obj;\n },\n create(base) {\n return Struct.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseStruct();\n message.fields = Object.entries(object.fields ?? {}).reduce((acc, [key, value]) => {\n if (value !== undefined) {\n acc[key] = value;\n }\n return acc;\n }, {});\n return message;\n },\n wrap(object) {\n const struct = createBaseStruct();\n if (object !== undefined) {\n for (const key of Object.keys(object)) {\n struct.fields[key] = object[key];\n }\n }\n return struct;\n },\n unwrap(message) {\n const object = {};\n if (message.fields) {\n for (const key of Object.keys(message.fields)) {\n object[key] = message.fields[key];\n }\n }\n return object;\n },\n};\nmessageTypeRegistry.set(Struct.$type, Struct);\nfunction createBaseStruct_FieldsEntry() {\n return { key: \"\", value: undefined };\n}\nexport const Struct_FieldsEntry = {\n $type: \"google.protobuf.Struct.FieldsEntry\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.key !== \"\") {\n writer.uint32(10).string(message.key);\n }\n if (message.value !== undefined) {\n Value.encode(Value.wrap(message.value), writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseStruct_FieldsEntry();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.key = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.value = Value.unwrap(Value.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n key: isSet(object.key) ? globalThis.String(object.key) : \"\",\n value: isSet(object?.value) ? object.value : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.key !== \"\") {\n obj.key = message.key;\n }\n if (message.value !== undefined) {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return Struct_FieldsEntry.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseStruct_FieldsEntry();\n message.key = object.key ?? \"\";\n message.value = object.value ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(Struct_FieldsEntry.$type, Struct_FieldsEntry);\nfunction createBaseValue() {\n return {\n nullValue: undefined,\n numberValue: undefined,\n stringValue: undefined,\n boolValue: undefined,\n structValue: undefined,\n listValue: undefined,\n };\n}\nexport const Value = {\n $type: \"google.protobuf.Value\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.nullValue !== undefined) {\n writer.uint32(8).int32(message.nullValue);\n }\n if (message.numberValue !== undefined) {\n writer.uint32(17).double(message.numberValue);\n }\n if (message.stringValue !== undefined) {\n writer.uint32(26).string(message.stringValue);\n }\n if (message.boolValue !== undefined) {\n writer.uint32(32).bool(message.boolValue);\n }\n if (message.structValue !== undefined) {\n Struct.encode(Struct.wrap(message.structValue), writer.uint32(42).fork()).ldelim();\n }\n if (message.listValue !== undefined) {\n ListValue.encode(ListValue.wrap(message.listValue), writer.uint32(50).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.nullValue = reader.int32();\n continue;\n case 2:\n if (tag !== 17) {\n break;\n }\n message.numberValue = reader.double();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.stringValue = reader.string();\n continue;\n case 4:\n if (tag !== 32) {\n break;\n }\n message.boolValue = reader.bool();\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.structValue = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n case 6:\n if (tag !== 50) {\n break;\n }\n message.listValue = ListValue.unwrap(ListValue.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n nullValue: isSet(object.nullValue) ? nullValueFromJSON(object.nullValue) : undefined,\n numberValue: isSet(object.numberValue) ? globalThis.Number(object.numberValue) : undefined,\n stringValue: isSet(object.stringValue) ? globalThis.String(object.stringValue) : undefined,\n boolValue: isSet(object.boolValue) ? globalThis.Boolean(object.boolValue) : undefined,\n structValue: isObject(object.structValue) ? object.structValue : undefined,\n listValue: globalThis.Array.isArray(object.listValue) ? [...object.listValue] : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.nullValue !== undefined) {\n obj.nullValue = nullValueToJSON(message.nullValue);\n }\n if (message.numberValue !== undefined) {\n obj.numberValue = message.numberValue;\n }\n if (message.stringValue !== undefined) {\n obj.stringValue = message.stringValue;\n }\n if (message.boolValue !== undefined) {\n obj.boolValue = message.boolValue;\n }\n if (message.structValue !== undefined) {\n obj.structValue = message.structValue;\n }\n if (message.listValue !== undefined) {\n obj.listValue = message.listValue;\n }\n return obj;\n },\n create(base) {\n return Value.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseValue();\n message.nullValue = object.nullValue ?? undefined;\n message.numberValue = object.numberValue ?? undefined;\n message.stringValue = object.stringValue ?? undefined;\n message.boolValue = object.boolValue ?? undefined;\n message.structValue = object.structValue ?? undefined;\n message.listValue = object.listValue ?? undefined;\n return message;\n },\n wrap(value) {\n const result = createBaseValue();\n if (value === null) {\n result.nullValue = NullValue.NULL_VALUE;\n }\n else if (typeof value === \"boolean\") {\n result.boolValue = value;\n }\n else if (typeof value === \"number\") {\n result.numberValue = value;\n }\n else if (typeof value === \"string\") {\n result.stringValue = value;\n }\n else if (globalThis.Array.isArray(value)) {\n result.listValue = value;\n }\n else if (typeof value === \"object\") {\n result.structValue = value;\n }\n else if (typeof value !== \"undefined\") {\n throw new globalThis.Error(\"Unsupported any value type: \" + typeof value);\n }\n return result;\n },\n unwrap(message) {\n if (message.stringValue !== undefined) {\n return message.stringValue;\n }\n else if (message?.numberValue !== undefined) {\n return message.numberValue;\n }\n else if (message?.boolValue !== undefined) {\n return message.boolValue;\n }\n else if (message?.structValue !== undefined) {\n return message.structValue;\n }\n else if (message?.listValue !== undefined) {\n return message.listValue;\n }\n else if (message?.nullValue !== undefined) {\n return null;\n }\n return undefined;\n },\n};\nmessageTypeRegistry.set(Value.$type, Value);\nfunction createBaseListValue() {\n return { values: [] };\n}\nexport const ListValue = {\n $type: \"google.protobuf.ListValue\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.values) {\n Value.encode(Value.wrap(v), writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseListValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.values.push(Value.unwrap(Value.decode(reader, reader.uint32())));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { values: globalThis.Array.isArray(object?.values) ? [...object.values] : [] };\n },\n toJSON(message) {\n const obj = {};\n if (message.values?.length) {\n obj.values = message.values;\n }\n return obj;\n },\n create(base) {\n return ListValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseListValue();\n message.values = object.values?.map((e) => e) || [];\n return message;\n },\n wrap(array) {\n const result = createBaseListValue();\n result.values = array ?? [];\n return result;\n },\n unwrap(message) {\n if (message?.hasOwnProperty(\"values\") && globalThis.Array.isArray(message.values)) {\n return message.values;\n }\n else {\n return message;\n }\n },\n};\nmessageTypeRegistry.set(ListValue.$type, ListValue);\nfunction isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #typeRegistry.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nexport const messageTypeRegistry = new Map();\n", "import type {\n WebViewInternalMessage,\n WebViewInternalMessageScope,\n} from '@devvit/protos/types/devvit/ui/effects/web_view/v1alpha/post_message.js';\n\n/**\n * Messages which are scoped to \"client\" and are of type \"devvit-internal\" should not be sent to the app.\n * These messages are designed to be handled by client platforms.\n *\n * @param message - The web view message to check\n * @returns True if the data is a WebViewInternalMessage\n **/\nexport const webViewMessageIsInternalAndClientScope = (\n message: unknown\n): message is WebViewInternalMessage => {\n if (message === null || typeof message !== 'object') return false;\n return (\n 'scope' in message &&\n message.scope === (0 satisfies WebViewInternalMessageScope.CLIENT) &&\n 'type' in message &&\n message.type === 'devvit-internal'\n );\n};\n", "import {\n type WebViewAppMessage,\n type WebViewInternalMessage,\n type WebViewPostMessage,\n type WebViewStateMessage,\n} from '@devvit/protos/types/devvit/ui/effects/web_view/v1alpha/post_message.js';\nimport type { UIEvent } from '@devvit/protos/types/devvit/ui/events/v1alpha/event.js';\nimport type { JSONObject, JSONValue } from '@devvit/shared-types/json.js';\nimport { customEvent } from '@reddit/faceplate/lib/custom-event.js';\nimport type { PropertyValues } from 'lit';\nimport { css, html, LitElement } from 'lit';\nimport { customElement, property, query, state } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nimport { webViewMessageIsInternalAndClientScope } from '../../client/web-view-scripts.js';\nimport type { DevvitBlocksElement } from './DevvitBlocksElement.js';\n\nexport type DevvitWebViewClickEvent = CustomEvent<{}>;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'devvit-blocks-web-view': DevvitBlocksWebView;\n }\n interface HTMLElementEventMap {\n // Re-emitted MessageEvent from the iframe\n 'devvit-web-view-message': CustomEvent<JSONValue>;\n\n /** Custom event type for web view click events */\n 'devvit-web-view-click': CustomEvent<DevvitWebViewClickEvent>;\n }\n}\n\n// Needed for backwards compatibility with apps which still use state\ntype DeprecatedWebViewMessageType = 'devvit-state' | 'stateUpdate';\n\ntype WebViewMessageType = 'devvit-message' | 'devvit-event' | 'devvit-environment';\n\ntype LegacyWebViewStateMessage = JSONObject;\n\ntype WebViewMessageDataType = WebViewAppMessage | WebViewStateMessage | LegacyWebViewStateMessage;\n\n/**\n * Wraps an iframe to capture messages sent from within to be handled by the app rendering the Blocks\n */\n@customElement('devvit-blocks-web-view')\nexport class DevvitBlocksWebView extends LitElement implements DevvitBlocksElement {\n @property({ type: String })\n src: string | undefined;\n\n @property({ type: Boolean, attribute: 'dev-mode' })\n devMode: boolean = false;\n\n /**\n * Handles messages sent from the web view to the Devvit app. Only present on fullscreen web views.\n *\n * Originates from WebViewEffectHandler.\n * */\n @property({ type: Object, attribute: false })\n onReceivedPostMessage?: (data: JSONValue) => void;\n\n /**\n * Use ui.webView.postMessage()\n * @deprecated\n */\n @property({ attribute: false })\n state: JSONObject | undefined;\n\n @property({ type: Boolean, attribute: 'auto-focus' })\n autoFocus: boolean = false;\n\n /**\n * When true, the embedded iframe will be focusable via keyboard navigation (tabindex=\"0\").\n * Defaults to false so that web views are not keyboard-focusable unless explicitly opted in.\n */\n @property({ type: Boolean, attribute: 'focusable' })\n focusable: boolean = false;\n\n @state()\n private _originDiffers: boolean = false; // eslint-disable-line @typescript-eslint/naming-convention\n\n @state()\n private _targetOrigin: string | undefined; // eslint-disable-line @typescript-eslint/naming-convention\n\n @state()\n pendingSrc: string | undefined;\n\n @query('iframe')\n private _iframe: HTMLIFrameElement | undefined; // eslint-disable-line @typescript-eslint/naming-convention\n\n #hasLoaded = false;\n readonly #queuedMessages: Readonly<WebViewAppMessage>[] = [];\n #sandboxUpdated: Promise<void> | undefined;\n #resolveSandboxUpdated: () => void = () => {};\n\n static override get styles() {\n return [\n css`\n :host {\n display: flex;\n flex-direction: row;\n }\n\n iframe {\n flex-grow: 1;\n border: 0;\n max-width: 100%;\n max-height: 100%;\n }\n `,\n ];\n }\n\n override connectedCallback(): void {\n super.connectedCallback();\n window.addEventListener('message', this.#handleMessage);\n }\n\n override disconnectedCallback(): void {\n super.disconnectedCallback();\n window.removeEventListener('message', this.#handleMessage);\n }\n\n protected override async getUpdateComplete(): Promise<boolean> {\n const result = super.getUpdateComplete();\n await this.#sandboxUpdated;\n return result;\n }\n\n protected override willUpdate(changedProperties: PropertyValues<this>): void {\n // Deprecated, but we need to keep this for backwards compatibility with apps that use state\n if (changedProperties.has('state') && this.state) {\n this.#sendStateUpdate();\n }\n\n if (changedProperties.has('src') && this.src) {\n const url = new URL(this.src);\n // Only send messages to app domains\n if (url.hostname.endsWith('webview.devvit.net')) {\n this._targetOrigin = url.origin;\n } else if (this.devMode) {\n this._targetOrigin = '*';\n } else {\n // not passing a target defaults to the current Origin\n this._targetOrigin = undefined;\n }\n\n this.#hasLoaded = false;\n if (changedProperties.get('src')) {\n this.#clearQueue();\n }\n\n this.#debugLog(\n 'New configuration: src:',\n this.src,\n '; allow-same-origin:',\n this._originDiffers,\n '; targetOrigin: ',\n this._targetOrigin\n );\n }\n }\n\n protected override updated(_changedProperties: PropertyValues<this>) {\n // Update `_originDiffers` in `updated` instead of `willUpdate` so the\n // change triggers another update. If we set the URL on the same frame\n // that we update the sandbox, the first page won't get the updated\n // permissions. If we did change the sandbox settings, `src` is saved\n // in another stateful variable that will trigger another update, allowing\n // the sandbox to be updated without setting the src this frame. If we\n // don't delay then allow-same-origin is not ready and the frame does not\n // have an origin in which to receive targeted messages.\n if (_changedProperties.has('src') && this.src) {\n const url = new URL(this.src);\n // If true, applies `allow-same-origin` to the iframe but removes it\n // if the URL matches the host to protect the main window from the\n // contents of the iframe reaching out of the sandbox\n const originDiffers = url.host !== location.host;\n if (originDiffers !== this._originDiffers) {\n this._originDiffers = originDiffers;\n this.pendingSrc = this.src;\n this.src = undefined;\n // Setup a promise to delay `updateComplete` until we've finished applying the updated sandbox and src settings\n this.#sandboxUpdated = new Promise((resolve) => (this.#resolveSandboxUpdated = resolve));\n }\n }\n\n // `_pendingSrc` was updated last frame, so reapply it to `src` now that\n // the sandbox settings have settled.\n if (_changedProperties.has('pendingSrc') && this.pendingSrc) {\n this.src = this.pendingSrc;\n this.pendingSrc = undefined;\n this.#resolveSandboxUpdated();\n }\n }\n\n reset(): void {\n this.#clearQueue();\n }\n\n postMessage(message: WebViewAppMessage): void {\n if (!this.#hasLoaded) {\n // don't send messages until we've received the onload event from the iframe\n this.#queuedMessages.push(message);\n this.#debugLog(() => ['Not ready. Queueing message:', JSON.stringify(message)]);\n } else {\n this.#postDevvitMessage('devvit-message', message);\n }\n }\n\n override render() {\n // Only allow the page to run in `same origin` mode if it's different from ours\n const allowOrigin = this._originDiffers ? 'allow-same-origin' : '';\n return html`<iframe\n src=\"${ifDefined(this.src)}\"\n sandbox=\"allow-scripts ${allowOrigin}\"\n referrerpolicy=\"origin\"\n tabindex=\"${ifDefined(this.focusable ? '0' : undefined)}\"\n @load=\"${this.#onLoad}\"\n ></iframe>`;\n }\n\n #clearQueue() {\n this.#debugLog('WebView reset. Clearing queued messages:', this.#queuedMessages.length);\n this.#queuedMessages.length = 0;\n }\n\n /**\n * Iframe will post messages to the window, we'll capture that and re-emit from here\n * so we can handle messages locally\n * @param event\n * @private\n */\n #handleMessage = (event: MessageEvent): void => {\n if (event.source === this._iframe?.contentWindow) {\n if (webViewMessageIsInternalAndClientScope(event.data)) {\n this.#handleInternalClientScopeMessage(event.data);\n return;\n }\n\n this.#debugLog('Got message from iframe:', event.data);\n event.preventDefault();\n event.stopImmediatePropagation();\n\n if (this.onReceivedPostMessage) {\n this.onReceivedPostMessage(event.data);\n } else {\n this.dispatchEvent(customEvent('devvit-web-view-message', event.data));\n }\n }\n };\n\n /**\n * Handles messages that are internal and client scoped\n * @param message - The internal client scoped message\n * @private\n */\n #handleInternalClientScopeMessage(message: WebViewInternalMessage): void {\n if (message.analytics) {\n // eslint-disable-next-line sonarjs/no-small-switch\n switch (message.analytics.event) {\n case 'click': {\n this.dispatchEvent(customEvent(`devvit-web-view-click`));\n break;\n }\n }\n }\n\n if (message.effect) {\n this.dispatchEvent(\n customEvent('devvit-ui-effect', {\n effect: message.effect,\n onEvent: (result: UIEvent) => {\n const clone: WebViewMessageDataType = JSON.parse(JSON.stringify(result));\n this.#postDevvitMessage('devvit-message', {\n ...clone,\n id: message.id ?? '',\n });\n },\n })\n );\n }\n }\n\n /**\n * When state is updated, send a copy to the iframe\n * @private\n * @deprecated\n */\n #sendStateUpdate(): void {\n if (this.state && this.#hasLoaded) {\n const stateMessage: WebViewStateMessage = {\n state: this.state,\n };\n this.#postDevvitMessage('devvit-state', stateMessage);\n this.#postDevvitMessage('stateUpdate', this.state);\n }\n }\n\n #onLoad() {\n if (!this.#hasLoaded && this.src) {\n this.#debugLog('Page loaded. Sending initial state.');\n this.#hasLoaded = true;\n // ensure we send a state update at least once\n this.#sendStateUpdate();\n this.#debugLog('Sending', this.#queuedMessages.length, 'queued messages');\n for (const message of this.#queuedMessages) {\n this.#postDevvitMessage('devvit-message', message);\n }\n // Autofocus the iframe so keyboard events flow into the web view when requested\n if (this.autoFocus) {\n this._iframe?.focus();\n }\n }\n }\n\n #postDevvitMessage(\n type: WebViewMessageType | DeprecatedWebViewMessageType,\n data: WebViewMessageDataType\n ): void {\n const postMessage: WebViewPostMessage = {\n type,\n data,\n };\n const postOptions = this._targetOrigin ? { targetOrigin: this._targetOrigin } : {};\n this._iframe?.contentWindow?.postMessage(postMessage, postOptions);\n this.#debugLog(() => ['Sending message:', JSON.stringify(postMessage)]);\n }\n\n #debugLog(...msg: unknown[]): void;\n #debugLog(msg: () => unknown[]): void;\n #debugLog(msg: (() => unknown[]) | unknown[]): void {\n if (globalThis.devvit?.debug.webView) {\n console.log.apply(null, [\n `[webView${this.id ? `#${this.id}` : ''}]`,\n ...(typeof msg === 'function' ? msg() : typeof msg === 'string' ? [msg] : msg),\n ]);\n }\n }\n}\n", "import '../components/devvit-blocks-web-view.js';\n\nimport type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport { nothing } from 'lit';\n\nimport { defaultClasses, defaultStyles, onWebViewAction } from '../attributes.js';\nimport { blockTypeToString } from '../block-type.js';\nimport type { RenderContext } from './renderContext.js';\nimport type { TemplateLike } from './util.js';\nimport { classMap } from './util.js';\n\nexport function renderWebViewBlock(block: Block, ctx: RenderContext): TemplateLike {\n const { html, styleMap, ifDefined } = getTemplateRenderingStrategy();\n\n if (!block.config?.webviewConfig) {\n console.error('Invalid block: WebView missing WebViewConfig');\n return nothing;\n }\n const { id } = block;\n const { url, state } = block.config.webviewConfig;\n\n const classes = {\n ...defaultClasses(block, ctx),\n };\n\n const styles = {\n ...defaultStyles(block, ctx),\n };\n\n const onWebView = onWebViewAction(block, ctx);\n\n const resolvedURL = ctx.resolveWebViewUrl?.(url);\n\n return html`<devvit-blocks-web-view\n id=\"${ifDefined(id)}\"\n src=\"${resolvedURL}\"\n class=\"${classMap(classes)}\"\n style=\"${styleMap(styles)}\"\n ?dev-mode=\"${ctx.disableAssetSandbox}\"\n .state=\"${state}\"\n data-block-type=\"${blockTypeToString(block.type)}\"\n @devvit-web-view-message=\"${onWebView}\"\n ></devvit-blocks-web-view>`;\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport {\n BlockRadius,\n BlockStackDirection,\n BlockType,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport { getTemplateRenderingStrategy } from '@reddit/faceplate-ui/faceplateUIConfig.js';\nimport { nothing } from 'lit';\n\nimport { growWrapperSizingStyle } from '../attributes.js';\nimport { renderAvatarBlock } from './renderAvatarBlock.js';\nimport { renderButtonBlock } from './renderButtonBlock.js';\nimport type { RenderContext } from './renderContext.js';\nimport { renderIconBlock } from './renderIconBlock.js';\nimport { renderImageBlock } from './renderImageBlock.js';\nimport { renderSpacerBlock } from './renderSpacerBlock.js';\nimport { renderStackBlock } from './renderStackBlock.js';\nimport { renderTextBlock } from './renderTextBlock.js';\nimport { renderWebViewBlock } from './renderWebViewBlock.js';\nimport type { TemplateLike } from './util.js';\n\nexport const DEFAULT_ROOT_HEIGHT = 320;\n\nexport function renderBlocks(block: Block, context: Partial<RenderContext> = {}): TemplateLike {\n if (block.type !== BlockType.BLOCK_ROOT) {\n console.error('Invalid root block');\n return nothing;\n }\n\n const height = `${block.config?.rootConfig?.height || DEFAULT_ROOT_HEIGHT}px`;\n return renderStackBlock(\n {\n type: BlockType.BLOCK_STACK,\n config: {\n stackConfig: {\n direction: BlockStackDirection.STACK_VERTICAL,\n children: block.config?.rootConfig?.children ?? [],\n cornerRadius: BlockRadius.RADIUS_SMALL,\n },\n },\n actions: [],\n },\n {\n ...context,\n stackDirection: BlockStackDirection.UNRECOGNIZED,\n },\n renderBlock,\n {\n styles: {\n height,\n minHeight: height,\n maxHeight: height,\n overflow: 'hidden',\n },\n }\n );\n}\n\nexport function renderBlock(block: Block, ctx: RenderContext): TemplateLike {\n const { html, styleMap } = getTemplateRenderingStrategy();\n\n let render: TemplateLike = nothing;\n switch (block.type) {\n case BlockType.BLOCK_STACK:\n render = renderStackBlock(block, ctx, renderBlock);\n break;\n case BlockType.BLOCK_SPACER:\n render = renderSpacerBlock(block, ctx);\n break;\n case BlockType.BLOCK_TEXT:\n render = renderTextBlock(block, ctx);\n break;\n case BlockType.BLOCK_IMAGE:\n render = renderImageBlock(block, ctx);\n break;\n case BlockType.BLOCK_ICON:\n render = renderIconBlock(block, ctx);\n break;\n case BlockType.BLOCK_BUTTON:\n render = renderButtonBlock(block, ctx);\n break;\n case BlockType.BLOCK_WEBVIEW:\n render = renderWebViewBlock(block, ctx);\n break;\n case BlockType.UNRECOGNIZED:\n return nothing;\n }\n if (ctx.experimental) {\n // eslint-disable-next-line sonarjs/no-small-switch\n switch (block.type) {\n case BlockType.BLOCK_AVATAR:\n render = renderAvatarBlock(block, ctx);\n break;\n }\n }\n\n /* eslint-disable lit/attribute-value-entities */\n if (block.size?.grow === true || block.sizes?.grow === true) {\n const styles = growWrapperSizingStyle(block);\n return html`<div\n class=\"grid grid-cols-1 grow shrink pointer-events-none [&>:not(.pointer-events-none)]:pointer-events-auto\"\n style=\"${styleMap(styles)}\"\n >\n ${render === nothing ? '' : render}\n </div>`;\n } else {\n return render;\n }\n /* eslint-enable lit/attribute-value-entities */\n}\n", "import type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport {\n BlockStackDirection,\n BlockType,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport { localized, msg } from '@lit/localize';\nimport { customEvent } from '@reddit/faceplate/lib/custom-event.js';\nimport { emptyState } from '@reddit/faceplate-ui/templates/empty-state.js';\nimport { html, LitElement } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nimport {\n type DevvitClientPerformanceEvent,\n DevvitClientPerformanceEventName,\n} from '../../client/dispatcher/events.js';\nimport { PerformanceTracker } from '../../client/dispatcher/performance.js';\nimport { styles } from '../../styles.js';\nimport type { BlockTypeName } from '../block-type.js';\nimport { renderBlocks } from '../templates/index.js';\nimport type { RenderContext } from '../templates/renderContext.js';\nimport type { DevvitBlocksElement, DevvitBlocksElementLike } from './DevvitBlocksElement.js';\n\ntype FindBlockValue =\n | {\n blockType: BlockTypeName;\n element: HTMLElement;\n }\n | undefined;\n\n@localized()\n@customElement('devvit-blocks-renderer')\nexport class DevvitBlocksRenderer extends LitElement implements DevvitBlocksElement {\n @property({ attribute: false })\n block: Block | undefined;\n\n @property({ attribute: false })\n renderContext: (() => RenderContext) | undefined;\n\n @property()\n class: string | undefined;\n\n #colorSchemeMediaQuery?: MediaQueryList = window.matchMedia('(prefers-color-scheme: dark)');\n\n static override get styles() {\n return [styles];\n }\n\n override connectedCallback(): void {\n super.connectedCallback();\n this.#colorSchemeMediaQuery?.addEventListener('change', this.#onColorSchemeChange);\n }\n\n override disconnectedCallback(): void {\n super.disconnectedCallback();\n this.#colorSchemeMediaQuery?.removeEventListener('change', this.#onColorSchemeChange);\n }\n\n protected override async getUpdateComplete(): Promise<boolean> {\n const result = await super.getUpdateComplete();\n // for every rendered block, if the renderer is a LitElement custom component, only return once they've all updated\n const blocks = this.renderRoot.querySelectorAll<DevvitBlocksElementLike>('[data-block-type]');\n for (let i = 0; i < blocks.length; i++) {\n await blocks.item(i).updateComplete;\n }\n return result;\n }\n\n reset(): void {\n const blocks = this.renderRoot.querySelectorAll<DevvitBlocksElementLike>('[data-block-type]');\n blocks.forEach((block) => {\n block.reset?.();\n });\n }\n\n findBlockById(id: string): FindBlockValue {\n const element = this.renderRoot.querySelector<HTMLElement>(`#${id}[data-block-type]`);\n if (element) {\n const blockType = element.dataset['blockType'] as BlockTypeName;\n return { blockType, element };\n }\n }\n\n findBlocksByType(blockType: BlockTypeName): FindBlockValue[] {\n return Array.from(\n this.renderRoot.querySelectorAll<HTMLElement>(`[data-block-type=${blockType}]`)\n ).map((element) => ({\n blockType,\n element,\n }));\n }\n\n override render() {\n if (this.block && this.block.type === BlockType.BLOCK_ROOT) {\n const context = { ...this.#baseRenderContext(), ...(this.renderContext?.() ?? {}) };\n\n const layoutPerformanceTracker = new PerformanceTracker();\n const renderedBlocks = renderBlocks(this.block, context);\n layoutPerformanceTracker.finish();\n\n this.dispatchEvent(\n customEvent(DevvitClientPerformanceEventName, <DevvitClientPerformanceEvent>{\n name: 'blocks_layout',\n timeStart: layoutPerformanceTracker.timeStart,\n timeEnd: layoutPerformanceTracker.timeEnd,\n })\n );\n\n return html` <div class=\"${ifDefined(this.class)}\">${renderedBlocks}</div>`;\n }\n\n return html`${emptyState({\n creative: html`<slot name=\"empty-state-image\"></slot>`,\n title: msg('Whoops!', { desc: 'Header for message to display when rendering fails' }),\n description: msg('Something went wrong while attempting to display this content.', {\n desc: 'Message for users to display when rendering fails',\n }),\n })}`;\n }\n\n #onColorSchemeChange = (): void => this.requestUpdate();\n\n #baseRenderContext = (): RenderContext => ({\n stackDirection: BlockStackDirection.UNRECOGNIZED,\n });\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'devvit-blocks-renderer': DevvitBlocksRenderer;\n }\n}\n", "/**\n * #realtime.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { map } from \"rxjs/operators\";\nimport { Empty } from \"../../../google/protobuf/empty.js\";\nimport { Struct } from \"../../../google/protobuf/struct.js\";\nimport { messageTypeRegistry } from \"../../../typeRegistry.js\";\nfunction createBaseRealtimeRequest() {\n return { channels: [] };\n}\nexport const RealtimeRequest = {\n $type: \"devvit.events.v1alpha.RealtimeRequest\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.channels) {\n writer.uint32(10).string(v);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRealtimeRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.channels.push(reader.string());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n channels: globalThis.Array.isArray(object?.channels) ? object.channels.map((e) => globalThis.String(e)) : [],\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.channels?.length) {\n obj.channels = message.channels;\n }\n return obj;\n },\n create(base) {\n return RealtimeRequest.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseRealtimeRequest();\n message.channels = object.channels?.map((e) => e) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(RealtimeRequest.$type, RealtimeRequest);\nfunction createBaseRealtimeEvent() {\n return { channel: \"\", data: undefined };\n}\nexport const RealtimeEvent = {\n $type: \"devvit.events.v1alpha.RealtimeEvent\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.channel !== \"\") {\n writer.uint32(10).string(message.channel);\n }\n if (message.data !== undefined) {\n Struct.encode(Struct.wrap(message.data), writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRealtimeEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.channel = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.data = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n channel: isSet(object.channel) ? globalThis.String(object.channel) : \"\",\n data: isObject(object.data) ? object.data : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.channel !== \"\") {\n obj.channel = message.channel;\n }\n if (message.data !== undefined) {\n obj.data = message.data;\n }\n return obj;\n },\n create(base) {\n return RealtimeEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseRealtimeEvent();\n message.channel = object.channel ?? \"\";\n message.data = object.data ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(RealtimeEvent.$type, RealtimeEvent);\nexport const RealtimeServiceName = \"devvit.events.v1alpha.Realtime\";\nexport class RealtimeClientImpl {\n constructor(rpc, opts) {\n this.service = opts?.service || RealtimeServiceName;\n this.rpc = rpc;\n this.Subscribe = this.Subscribe.bind(this);\n this.Send = this.Send.bind(this);\n }\n Subscribe(request, metadata) {\n const data = RealtimeRequest.encode(request).finish();\n const result = this.rpc.serverStreamingRequest(this.service, \"Subscribe\", data, metadata);\n return result.pipe(map((data) => RealtimeEvent.decode(_m0.Reader.create(data))));\n }\n Send(request, metadata) {\n const data = RealtimeEvent.encode(request).finish();\n const promise = this.rpc.request(this.service, \"Send\", data, metadata);\n return promise.then((data) => Empty.decode(_m0.Reader.create(data)));\n }\n}\nexport const RealtimeDefinition = {\n name: \"Realtime\",\n fullName: \"devvit.events.v1alpha.Realtime\",\n methods: {\n subscribe: {\n name: \"Subscribe\",\n requestType: RealtimeRequest,\n requestStream: false,\n responseType: RealtimeEvent,\n responseStream: true,\n options: {},\n },\n send: {\n name: \"Send\",\n requestType: RealtimeEvent,\n requestStream: false,\n responseType: Empty,\n responseStream: false,\n options: {},\n },\n },\n};\nfunction isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #empty.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../typeRegistry.js\";\nfunction createBaseEmpty() {\n return {};\n}\nexport const Empty = {\n $type: \"google.protobuf.Empty\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEmpty();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return Empty.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseEmpty();\n return message;\n },\n};\nmessageTypeRegistry.set(Empty.$type, Empty);\n", "/**\n * #common.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nfunction createBaseUIDimensions() {\n return { height: 0, width: 0, scale: 0, fontScale: undefined };\n}\nexport const UIDimensions = {\n $type: \"devvit.ui.common.v1alpha.UIDimensions\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.height !== 0) {\n writer.uint32(8).int32(message.height);\n }\n if (message.width !== 0) {\n writer.uint32(16).int32(message.width);\n }\n if (message.scale !== 0) {\n writer.uint32(29).float(message.scale);\n }\n if (message.fontScale !== undefined) {\n writer.uint32(37).float(message.fontScale);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUIDimensions();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.height = reader.int32();\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.width = reader.int32();\n continue;\n case 3:\n if (tag !== 29) {\n break;\n }\n message.scale = reader.float();\n continue;\n case 4:\n if (tag !== 37) {\n break;\n }\n message.fontScale = reader.float();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n height: isSet(object.height) ? globalThis.Number(object.height) : 0,\n width: isSet(object.width) ? globalThis.Number(object.width) : 0,\n scale: isSet(object.scale) ? globalThis.Number(object.scale) : 0,\n fontScale: isSet(object.fontScale) ? globalThis.Number(object.fontScale) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.height !== 0) {\n obj.height = Math.round(message.height);\n }\n if (message.width !== 0) {\n obj.width = Math.round(message.width);\n }\n if (message.scale !== 0) {\n obj.scale = message.scale;\n }\n if (message.fontScale !== undefined) {\n obj.fontScale = message.fontScale;\n }\n return obj;\n },\n create(base) {\n return UIDimensions.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseUIDimensions();\n message.height = object.height ?? 0;\n message.width = object.width ?? 0;\n message.scale = object.scale ?? 0;\n message.fontScale = object.fontScale ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(UIDimensions.$type, UIDimensions);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "// This message is referenced in LocalRuntimeJSEngine.kt.\nexport const CIRCUIT_BREAKER_MSG = 'ServerCallRequired';\n// to-do: use TypeScript to reference this function in SandboxedRuntimeLite.\n/** @arg method API method called for debugging. Eg, UserDataByAccountIds. */\nexport function CircuitBreak(method) {\n // Warning: this function is serialized by SandboxRuntimeLite. Don't use\n // import dependencies.\n // Error must be postable.\n const err = Error('ServerCallRequired');\n err.cause = { method, stack: err.stack };\n return err;\n}\nexport class CircuitBreakerResponse extends Error {\n constructor(response, cause) {\n super(CIRCUIT_BREAKER_MSG);\n this.response = response;\n this.cause = cause;\n this.name = 'CircuitBreakerResponse';\n }\n}\nexport function isCircuitBreaker(err) {\n return err?.message === CIRCUIT_BREAKER_MSG;\n}\n", "/**\n * Metadata header key. Every system header should start with \"devvit-\".\n *\n * Synchronize to headers.md.\n */\nexport const Header = Object.freeze({\n Actor: 'devvit-actor',\n App: 'devvit-app',\n AppUser: 'devvit-app-user',\n AppViewerAuthToken: 'devvit-app-viewer-authorization',\n Caller: 'devvit-caller',\n CallerPortID: 'devvit-caller-port-id',\n Canary: 'devvit-canary',\n Debug: 'devvit-debug',\n GQLHost: 'devvit-gql-host',\n Installation: 'devvit-installation',\n ModPermissions: 'devvit-mod-permissions',\n Post: 'devvit-post',\n PostAuthor: 'devvit-post-author',\n R2Auth: 'devvit-sec-authorization',\n R2Host: 'devvit-r2-host',\n RemoteHostname: 'devvit-remote-hostname',\n SettingsUri: 'devvit-sec-settings-uri',\n StreamID: 'devvit-stream-id',\n Subreddit: 'devvit-subreddit',\n SubredditName: 'devvit-subreddit-name',\n TraceID: 'devvit-trace-id',\n User: 'devvit-user',\n Username: 'devvit-user-name',\n UserSnoovatarUrl: 'devvit-user-snoovatar-url',\n UserAgent: 'devvit-user-agent',\n Version: 'devvit-version',\n Language: 'devvit-accept-language',\n Timezone: 'devvit-accept-timezone',\n Traceparent: 'traceparent',\n AppDependencies: 'devvit-app-dependencies',\n});\n/** Prefix common to all Devvit system headers. */\nexport const headerPrefix = 'devvit-';\n/** See DevvitGlobal and ContextDebugInfo. */\nexport var AppDebug;\n(function (AppDebug) {\n /** Enable debug logging for blocks. */\n AppDebug[\"Blocks\"] = \"blocks\";\n /**\n * Log the entire reified blocks JSX/XML tree on each render. Eg:\n *\n * <hstack><text>hi world</text></hstack>\n */\n AppDebug[\"EmitSnapshots\"] = \"emitSnapshots\";\n /** Log app state changes. */\n AppDebug[\"EmitState\"] = \"emitState\";\n /** Enable debug logging for realtime and useChannel() hook. */\n AppDebug[\"Realtime\"] = \"realtime\";\n /** Enable runtime and dispatcher logging. */\n AppDebug[\"Runtime\"] = \"runtime\";\n /** Enable debug logging for devvit-surface and dispatcher. */\n AppDebug[\"Surface\"] = \"surface\";\n /** Enable debug logging for the useAsync() hook family. */\n AppDebug[\"UseAsync\"] = \"useAsync\";\n /** Enable debug logging for payments APIs */\n AppDebug[\"Payments\"] = \"payments\";\n /** Enable bootstrap logging */\n AppDebug[\"Bootstrap\"] = \"bootstrap\";\n /** WebView debug logs */\n AppDebug[\"WebView\"] = \"webView\";\n})(AppDebug || (AppDebug = {}));\n", "/** Limit function execution frequency. */\nexport function throttle(fn, period) {\n let timeout;\n let prev = 0;\n let nextArgs;\n return function (...args) {\n nextArgs = args;\n timeout ?? (timeout = setTimeout(() => {\n prev = Date.now();\n timeout = undefined;\n const args = nextArgs;\n nextArgs = undefined;\n fn.apply(this, args);\n }, Math.max(0, period - (Date.now() - prev))));\n return () => {\n if (timeout != null)\n clearTimeout(timeout);\n timeout = undefined;\n nextArgs = undefined;\n };\n };\n}\n", "export function assert(condition, msg) {\n if (!condition)\n throw Error(msg);\n}\n", "import { assert } from './assert.js';\n// CALMS!\nexport var T_PREFIX;\n(function (T_PREFIX) {\n T_PREFIX[\"COMMENT\"] = \"t1_\";\n T_PREFIX[\"ACCOUNT\"] = \"t2_\";\n T_PREFIX[\"LINK\"] = \"t3_\";\n T_PREFIX[\"MESSAGE\"] = \"t4_\";\n T_PREFIX[\"SUBREDDIT\"] = \"t5_\";\n T_PREFIX[\"AWARD\"] = \"t6_\";\n})(T_PREFIX || (T_PREFIX = {}));\n// type guards\nexport function isT1ID(id) {\n return id.startsWith(T_PREFIX.COMMENT);\n}\nexport function isT2ID(id) {\n return id.startsWith(T_PREFIX.ACCOUNT);\n}\nexport function isT3ID(id) {\n return id.startsWith(T_PREFIX.LINK);\n}\nexport function isT4ID(id) {\n return id.startsWith(T_PREFIX.MESSAGE);\n}\nexport function isT5ID(id) {\n return id.startsWith(T_PREFIX.SUBREDDIT);\n}\nexport function isT6ID(id) {\n return id.startsWith(T_PREFIX.AWARD);\n}\n// assertion functions\nexport function assertT1ID(id) {\n assert(isT1ID(id), `Expected comment id to start with ${T_PREFIX.COMMENT}, got ${id}}`);\n}\nexport function assertT2ID(id) {\n assert(isT2ID(id), `Expected account id to start with ${T_PREFIX.ACCOUNT}, got ${id}}`);\n}\nexport function assertT3ID(id) {\n assert(isT3ID(id), `Expected link id to start with ${T_PREFIX.LINK}, got ${id}}`);\n}\nexport function assertT4ID(id) {\n assert(isT4ID(id), `Expected message id to start with ${T_PREFIX.MESSAGE}, got ${id}}`);\n}\nexport function assertT5ID(id) {\n assert(isT5ID(id), `Expected subreddit id to start with ${T_PREFIX.SUBREDDIT}, got ${id}}`);\n}\nexport function assertT6ID(id) {\n assert(isT6ID(id), `Expected award id to start with ${T_PREFIX.AWARD}, got ${id}}`);\n}\n// factory functions\nexport function asT1ID(id) {\n assertT1ID(id);\n return id;\n}\nexport function asT2ID(id) {\n assertT2ID(id);\n return id;\n}\nexport function asT3ID(id) {\n assertT3ID(id);\n return id;\n}\nexport function asT4ID(id) {\n assertT4ID(id);\n return id;\n}\nexport function asT5ID(id) {\n assertT5ID(id);\n return id;\n}\nexport function asT6ID(id) {\n assertT6ID(id);\n return id;\n}\nexport function asTID(id) {\n if (isT1ID(id)) {\n return asT1ID(id);\n }\n if (isT2ID(id)) {\n return asT2ID(id);\n }\n if (isT3ID(id)) {\n return asT3ID(id);\n }\n if (isT4ID(id)) {\n return asT4ID(id);\n }\n if (isT5ID(id)) {\n return asT5ID(id);\n }\n if (isT6ID(id)) {\n return asT6ID(id);\n }\n throw new Error(`Expected thing id to start with ${Object.values(T_PREFIX).join(', ')} got ${id}}`);\n}\n// convenience functions\nexport function isCommentId(id) {\n return isT1ID(id);\n}\nexport function isAccountId(id) {\n return isT2ID(id);\n}\nexport function isLinkId(id) {\n return isT3ID(id);\n}\nexport function isMessageId(id) {\n return isT4ID(id);\n}\nexport function isSubredditId(id) {\n return isT5ID(id);\n}\nexport function isAwardId(id) {\n return isT6ID(id);\n}\n", "export const noWebbitToken = `0.0.0`;\n", "import { UIDimensions } from '@devvit/protos/types/devvit/ui/common/v1alpha/common.js';\n\nconst DEFAULT_FONT_SCALE = 1;\n// refers to the default font size of a browser window\nconst DEFAULT_WINDOW_FONT_SIZE = 16;\n\n// to-do: the height of an initial layout is 0. can this be the requested post\n// height instead? we have the skinny post DX bundle.\nexport function buildDimensions(\n entry: ResizeObserverEntry,\n window: Window,\n element: HTMLElement\n): UIDimensions {\n const { width, height } = entry.contentRect;\n\n const windowFontSize = window.getComputedStyle(element).fontSize;\n const parsedFontSize = windowFontSize.split('px')[0];\n const fontScale = parsedFontSize\n ? parseFloat(parsedFontSize) / DEFAULT_WINDOW_FONT_SIZE\n : DEFAULT_FONT_SCALE;\n\n return {\n width: Math.round(width),\n height: Math.round(height),\n scale: window.devicePixelRatio,\n fontScale,\n };\n}\n", "/**\n * #event.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { Struct } from \"../../../../google/protobuf/struct.js\";\nimport { BoolValue, StringValue } from \"../../../../google/protobuf/wrappers.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nimport { OrderResultEvent } from \"../../effects/v1alpha/create_order.js\";\nimport { RealtimeSubscriptionEvent } from \"../../effects/v1alpha/realtime_subscriptions.js\";\nimport { FormCanceledEvent, FormSubmittedEvent } from \"../../effects/v1alpha/show_form.js\";\nimport { ToastActionEvent } from \"../../effects/v1alpha/show_toast.js\";\nimport { WebViewEvent } from \"./web_view.js\";\n/**\n * This is set when we want to map events to a specific runtime, examples:\n * [1] incoming realtime messages on a websocket connection\n * [2] keydown events in a text input block\n * Both are intended to be run only on local runtime\n */\nexport var UIEventScope;\n(function (UIEventScope) {\n UIEventScope[UIEventScope[\"ALL\"] = 0] = \"ALL\";\n UIEventScope[UIEventScope[\"LOCAL\"] = 1] = \"LOCAL\";\n UIEventScope[UIEventScope[\"REMOTE\"] = 2] = \"REMOTE\";\n UIEventScope[UIEventScope[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(UIEventScope || (UIEventScope = {}));\nexport function uIEventScopeFromJSON(object) {\n switch (object) {\n case 0:\n case \"ALL\":\n return UIEventScope.ALL;\n case 1:\n case \"LOCAL\":\n return UIEventScope.LOCAL;\n case 2:\n case \"REMOTE\":\n return UIEventScope.REMOTE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return UIEventScope.UNRECOGNIZED;\n }\n}\nexport function uIEventScopeToJSON(object) {\n switch (object) {\n case UIEventScope.ALL:\n return 0;\n case UIEventScope.LOCAL:\n return 1;\n case UIEventScope.REMOTE:\n return 2;\n case UIEventScope.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nfunction createBaseUIEvent() {\n return {\n realtimeEvent: undefined,\n formSubmitted: undefined,\n orderResult: undefined,\n toastAction: undefined,\n userAction: undefined,\n asyncRequest: undefined,\n asyncResponse: undefined,\n timer: undefined,\n blocking: undefined,\n resize: undefined,\n webView: undefined,\n formCanceled: undefined,\n async: undefined,\n hook: undefined,\n retry: undefined,\n scope: undefined,\n };\n}\nexport const UIEvent = {\n $type: \"devvit.ui.events.v1alpha.UIEvent\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.realtimeEvent !== undefined) {\n RealtimeSubscriptionEvent.encode(message.realtimeEvent, writer.uint32(18).fork()).ldelim();\n }\n if (message.formSubmitted !== undefined) {\n FormSubmittedEvent.encode(message.formSubmitted, writer.uint32(26).fork()).ldelim();\n }\n if (message.orderResult !== undefined) {\n OrderResultEvent.encode(message.orderResult, writer.uint32(154).fork()).ldelim();\n }\n if (message.toastAction !== undefined) {\n ToastActionEvent.encode(message.toastAction, writer.uint32(34).fork()).ldelim();\n }\n if (message.userAction !== undefined) {\n UserAction.encode(message.userAction, writer.uint32(50).fork()).ldelim();\n }\n if (message.asyncRequest !== undefined) {\n AsyncRequest.encode(message.asyncRequest, writer.uint32(58).fork()).ldelim();\n }\n if (message.asyncResponse !== undefined) {\n AsyncResponse.encode(message.asyncResponse, writer.uint32(66).fork()).ldelim();\n }\n if (message.timer !== undefined) {\n TimerEvent.encode(message.timer, writer.uint32(98).fork()).ldelim();\n }\n if (message.blocking !== undefined) {\n BlockingRenderEvent.encode(message.blocking, writer.uint32(106).fork()).ldelim();\n }\n if (message.resize !== undefined) {\n ResizeEvent.encode(message.resize, writer.uint32(114).fork()).ldelim();\n }\n if (message.webView !== undefined) {\n WebViewEvent.encode(message.webView, writer.uint32(162).fork()).ldelim();\n }\n if (message.formCanceled !== undefined) {\n FormCanceledEvent.encode(message.formCanceled, writer.uint32(170).fork()).ldelim();\n }\n if (message.async !== undefined) {\n BoolValue.encode({ value: message.async }, writer.uint32(122).fork()).ldelim();\n }\n if (message.hook !== undefined) {\n StringValue.encode({ value: message.hook }, writer.uint32(82).fork()).ldelim();\n }\n if (message.retry !== undefined) {\n BoolValue.encode({ value: message.retry }, writer.uint32(138).fork()).ldelim();\n }\n if (message.scope !== undefined) {\n writer.uint32(144).int32(message.scope);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUIEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 2:\n if (tag !== 18) {\n break;\n }\n message.realtimeEvent = RealtimeSubscriptionEvent.decode(reader, reader.uint32());\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.formSubmitted = FormSubmittedEvent.decode(reader, reader.uint32());\n continue;\n case 19:\n if (tag !== 154) {\n break;\n }\n message.orderResult = OrderResultEvent.decode(reader, reader.uint32());\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.toastAction = ToastActionEvent.decode(reader, reader.uint32());\n continue;\n case 6:\n if (tag !== 50) {\n break;\n }\n message.userAction = UserAction.decode(reader, reader.uint32());\n continue;\n case 7:\n if (tag !== 58) {\n break;\n }\n message.asyncRequest = AsyncRequest.decode(reader, reader.uint32());\n continue;\n case 8:\n if (tag !== 66) {\n break;\n }\n message.asyncResponse = AsyncResponse.decode(reader, reader.uint32());\n continue;\n case 12:\n if (tag !== 98) {\n break;\n }\n message.timer = TimerEvent.decode(reader, reader.uint32());\n continue;\n case 13:\n if (tag !== 106) {\n break;\n }\n message.blocking = BlockingRenderEvent.decode(reader, reader.uint32());\n continue;\n case 14:\n if (tag !== 114) {\n break;\n }\n message.resize = ResizeEvent.decode(reader, reader.uint32());\n continue;\n case 20:\n if (tag !== 162) {\n break;\n }\n message.webView = WebViewEvent.decode(reader, reader.uint32());\n continue;\n case 21:\n if (tag !== 170) {\n break;\n }\n message.formCanceled = FormCanceledEvent.decode(reader, reader.uint32());\n continue;\n case 15:\n if (tag !== 122) {\n break;\n }\n message.async = BoolValue.decode(reader, reader.uint32()).value;\n continue;\n case 10:\n if (tag !== 82) {\n break;\n }\n message.hook = StringValue.decode(reader, reader.uint32()).value;\n continue;\n case 17:\n if (tag !== 138) {\n break;\n }\n message.retry = BoolValue.decode(reader, reader.uint32()).value;\n continue;\n case 18:\n if (tag !== 144) {\n break;\n }\n message.scope = reader.int32();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n realtimeEvent: isSet(object.realtimeEvent) ? RealtimeSubscriptionEvent.fromJSON(object.realtimeEvent) : undefined,\n formSubmitted: isSet(object.formSubmitted) ? FormSubmittedEvent.fromJSON(object.formSubmitted) : undefined,\n orderResult: isSet(object.orderResult) ? OrderResultEvent.fromJSON(object.orderResult) : undefined,\n toastAction: isSet(object.toastAction) ? ToastActionEvent.fromJSON(object.toastAction) : undefined,\n userAction: isSet(object.userAction) ? UserAction.fromJSON(object.userAction) : undefined,\n asyncRequest: isSet(object.asyncRequest) ? AsyncRequest.fromJSON(object.asyncRequest) : undefined,\n asyncResponse: isSet(object.asyncResponse) ? AsyncResponse.fromJSON(object.asyncResponse) : undefined,\n timer: isSet(object.timer) ? TimerEvent.fromJSON(object.timer) : undefined,\n blocking: isSet(object.blocking) ? BlockingRenderEvent.fromJSON(object.blocking) : undefined,\n resize: isSet(object.resize) ? ResizeEvent.fromJSON(object.resize) : undefined,\n webView: isSet(object.webView) ? WebViewEvent.fromJSON(object.webView) : undefined,\n formCanceled: isSet(object.formCanceled) ? FormCanceledEvent.fromJSON(object.formCanceled) : undefined,\n async: isSet(object.async) ? Boolean(object.async) : undefined,\n hook: isSet(object.hook) ? String(object.hook) : undefined,\n retry: isSet(object.retry) ? Boolean(object.retry) : undefined,\n scope: isSet(object.scope) ? uIEventScopeFromJSON(object.scope) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.realtimeEvent !== undefined) {\n obj.realtimeEvent = RealtimeSubscriptionEvent.toJSON(message.realtimeEvent);\n }\n if (message.formSubmitted !== undefined) {\n obj.formSubmitted = FormSubmittedEvent.toJSON(message.formSubmitted);\n }\n if (message.orderResult !== undefined) {\n obj.orderResult = OrderResultEvent.toJSON(message.orderResult);\n }\n if (message.toastAction !== undefined) {\n obj.toastAction = ToastActionEvent.toJSON(message.toastAction);\n }\n if (message.userAction !== undefined) {\n obj.userAction = UserAction.toJSON(message.userAction);\n }\n if (message.asyncRequest !== undefined) {\n obj.asyncRequest = AsyncRequest.toJSON(message.asyncRequest);\n }\n if (message.asyncResponse !== undefined) {\n obj.asyncResponse = AsyncResponse.toJSON(message.asyncResponse);\n }\n if (message.timer !== undefined) {\n obj.timer = TimerEvent.toJSON(message.timer);\n }\n if (message.blocking !== undefined) {\n obj.blocking = BlockingRenderEvent.toJSON(message.blocking);\n }\n if (message.resize !== undefined) {\n obj.resize = ResizeEvent.toJSON(message.resize);\n }\n if (message.webView !== undefined) {\n obj.webView = WebViewEvent.toJSON(message.webView);\n }\n if (message.formCanceled !== undefined) {\n obj.formCanceled = FormCanceledEvent.toJSON(message.formCanceled);\n }\n if (message.async !== undefined) {\n obj.async = message.async;\n }\n if (message.hook !== undefined) {\n obj.hook = message.hook;\n }\n if (message.retry !== undefined) {\n obj.retry = message.retry;\n }\n if (message.scope !== undefined) {\n obj.scope = uIEventScopeToJSON(message.scope);\n }\n return obj;\n },\n create(base) {\n return UIEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseUIEvent();\n message.realtimeEvent = (object.realtimeEvent !== undefined && object.realtimeEvent !== null)\n ? RealtimeSubscriptionEvent.fromPartial(object.realtimeEvent)\n : undefined;\n message.formSubmitted = (object.formSubmitted !== undefined && object.formSubmitted !== null)\n ? FormSubmittedEvent.fromPartial(object.formSubmitted)\n : undefined;\n message.orderResult = (object.orderResult !== undefined && object.orderResult !== null)\n ? OrderResultEvent.fromPartial(object.orderResult)\n : undefined;\n message.toastAction = (object.toastAction !== undefined && object.toastAction !== null)\n ? ToastActionEvent.fromPartial(object.toastAction)\n : undefined;\n message.userAction = (object.userAction !== undefined && object.userAction !== null)\n ? UserAction.fromPartial(object.userAction)\n : undefined;\n message.asyncRequest = (object.asyncRequest !== undefined && object.asyncRequest !== null)\n ? AsyncRequest.fromPartial(object.asyncRequest)\n : undefined;\n message.asyncResponse = (object.asyncResponse !== undefined && object.asyncResponse !== null)\n ? AsyncResponse.fromPartial(object.asyncResponse)\n : undefined;\n message.timer = (object.timer !== undefined && object.timer !== null)\n ? TimerEvent.fromPartial(object.timer)\n : undefined;\n message.blocking = (object.blocking !== undefined && object.blocking !== null)\n ? BlockingRenderEvent.fromPartial(object.blocking)\n : undefined;\n message.resize = (object.resize !== undefined && object.resize !== null)\n ? ResizeEvent.fromPartial(object.resize)\n : undefined;\n message.webView = (object.webView !== undefined && object.webView !== null)\n ? WebViewEvent.fromPartial(object.webView)\n : undefined;\n message.formCanceled = (object.formCanceled !== undefined && object.formCanceled !== null)\n ? FormCanceledEvent.fromPartial(object.formCanceled)\n : undefined;\n message.async = object.async ?? undefined;\n message.hook = object.hook ?? undefined;\n message.retry = object.retry ?? undefined;\n message.scope = object.scope ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(UIEvent.$type, UIEvent);\nfunction createBaseBlockingRenderEvent() {\n return {};\n}\nexport const BlockingRenderEvent = {\n $type: \"devvit.ui.events.v1alpha.BlockingRenderEvent\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBlockingRenderEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return BlockingRenderEvent.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseBlockingRenderEvent();\n return message;\n },\n};\nmessageTypeRegistry.set(BlockingRenderEvent.$type, BlockingRenderEvent);\nfunction createBaseResizeEvent() {\n return {};\n}\nexport const ResizeEvent = {\n $type: \"devvit.ui.events.v1alpha.ResizeEvent\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseResizeEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return ResizeEvent.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseResizeEvent();\n return message;\n },\n};\nmessageTypeRegistry.set(ResizeEvent.$type, ResizeEvent);\nfunction createBaseTimerEvent() {\n return {};\n}\nexport const TimerEvent = {\n $type: \"devvit.ui.events.v1alpha.TimerEvent\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseTimerEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return TimerEvent.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseTimerEvent();\n return message;\n },\n};\nmessageTypeRegistry.set(TimerEvent.$type, TimerEvent);\nfunction createBaseAsyncError() {\n return { message: \"\", details: \"\" };\n}\nexport const AsyncError = {\n $type: \"devvit.ui.events.v1alpha.AsyncError\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.message !== \"\") {\n writer.uint32(10).string(message.message);\n }\n if (message.details !== \"\") {\n writer.uint32(18).string(message.details);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAsyncError();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.message = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.details = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n message: isSet(object.message) ? globalThis.String(object.message) : \"\",\n details: isSet(object.details) ? globalThis.String(object.details) : \"\",\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.message !== \"\") {\n obj.message = message.message;\n }\n if (message.details !== \"\") {\n obj.details = message.details;\n }\n return obj;\n },\n create(base) {\n return AsyncError.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseAsyncError();\n message.message = object.message ?? \"\";\n message.details = object.details ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(AsyncError.$type, AsyncError);\nfunction createBaseAsyncRequest() {\n return { requestId: \"\", data: undefined };\n}\nexport const AsyncRequest = {\n $type: \"devvit.ui.events.v1alpha.AsyncRequest\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.requestId !== \"\") {\n writer.uint32(10).string(message.requestId);\n }\n if (message.data !== undefined) {\n Struct.encode(Struct.wrap(message.data), writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAsyncRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.requestId = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.data = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n requestId: isSet(object.requestId) ? globalThis.String(object.requestId) : \"\",\n data: isObject(object.data) ? object.data : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.requestId !== \"\") {\n obj.requestId = message.requestId;\n }\n if (message.data !== undefined) {\n obj.data = message.data;\n }\n return obj;\n },\n create(base) {\n return AsyncRequest.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseAsyncRequest();\n message.requestId = object.requestId ?? \"\";\n message.data = object.data ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(AsyncRequest.$type, AsyncRequest);\nfunction createBaseAsyncResponse() {\n return { requestId: \"\", data: undefined, error: undefined };\n}\nexport const AsyncResponse = {\n $type: \"devvit.ui.events.v1alpha.AsyncResponse\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.requestId !== \"\") {\n writer.uint32(10).string(message.requestId);\n }\n if (message.data !== undefined) {\n Struct.encode(Struct.wrap(message.data), writer.uint32(18).fork()).ldelim();\n }\n if (message.error !== undefined) {\n AsyncError.encode(message.error, writer.uint32(26).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAsyncResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.requestId = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.data = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.error = AsyncError.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n requestId: isSet(object.requestId) ? globalThis.String(object.requestId) : \"\",\n data: isObject(object.data) ? object.data : undefined,\n error: isSet(object.error) ? AsyncError.fromJSON(object.error) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.requestId !== \"\") {\n obj.requestId = message.requestId;\n }\n if (message.data !== undefined) {\n obj.data = message.data;\n }\n if (message.error !== undefined) {\n obj.error = AsyncError.toJSON(message.error);\n }\n return obj;\n },\n create(base) {\n return AsyncResponse.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseAsyncResponse();\n message.requestId = object.requestId ?? \"\";\n message.data = object.data ?? undefined;\n message.error = (object.error !== undefined && object.error !== null)\n ? AsyncError.fromPartial(object.error)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(AsyncResponse.$type, AsyncResponse);\nfunction createBaseUserAction() {\n return { actionId: \"\", data: undefined };\n}\nexport const UserAction = {\n $type: \"devvit.ui.events.v1alpha.UserAction\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.actionId !== \"\") {\n writer.uint32(10).string(message.actionId);\n }\n if (message.data !== undefined) {\n Struct.encode(Struct.wrap(message.data), writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUserAction();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.actionId = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.data = Struct.unwrap(Struct.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n actionId: isSet(object.actionId) ? globalThis.String(object.actionId) : \"\",\n data: isObject(object.data) ? object.data : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.actionId !== \"\") {\n obj.actionId = message.actionId;\n }\n if (message.data !== undefined) {\n obj.data = message.data;\n }\n return obj;\n },\n create(base) {\n return UserAction.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseUserAction();\n message.actionId = object.actionId ?? \"\";\n message.data = object.data ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(UserAction.$type, UserAction);\nfunction isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #wrappers.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport Long from \"long\";\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../typeRegistry.js\";\nfunction createBaseDoubleValue() {\n return { value: 0 };\n}\nexport const DoubleValue = {\n $type: \"google.protobuf.DoubleValue\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value !== 0) {\n writer.uint32(9).double(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseDoubleValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 9) {\n break;\n }\n message.value = reader.double();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };\n },\n toJSON(message) {\n const obj = {};\n if (message.value !== 0) {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return DoubleValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseDoubleValue();\n message.value = object.value ?? 0;\n return message;\n },\n};\nmessageTypeRegistry.set(DoubleValue.$type, DoubleValue);\nfunction createBaseFloatValue() {\n return { value: 0 };\n}\nexport const FloatValue = {\n $type: \"google.protobuf.FloatValue\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value !== 0) {\n writer.uint32(13).float(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFloatValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 13) {\n break;\n }\n message.value = reader.float();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };\n },\n toJSON(message) {\n const obj = {};\n if (message.value !== 0) {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return FloatValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFloatValue();\n message.value = object.value ?? 0;\n return message;\n },\n};\nmessageTypeRegistry.set(FloatValue.$type, FloatValue);\nfunction createBaseInt64Value() {\n return { value: 0 };\n}\nexport const Int64Value = {\n $type: \"google.protobuf.Int64Value\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value !== 0) {\n writer.uint32(8).int64(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseInt64Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.value = longToNumber(reader.int64());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };\n },\n toJSON(message) {\n const obj = {};\n if (message.value !== 0) {\n obj.value = Math.round(message.value);\n }\n return obj;\n },\n create(base) {\n return Int64Value.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseInt64Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nmessageTypeRegistry.set(Int64Value.$type, Int64Value);\nfunction createBaseUInt64Value() {\n return { value: 0 };\n}\nexport const UInt64Value = {\n $type: \"google.protobuf.UInt64Value\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value !== 0) {\n writer.uint32(8).uint64(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUInt64Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.value = longToNumber(reader.uint64());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };\n },\n toJSON(message) {\n const obj = {};\n if (message.value !== 0) {\n obj.value = Math.round(message.value);\n }\n return obj;\n },\n create(base) {\n return UInt64Value.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseUInt64Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nmessageTypeRegistry.set(UInt64Value.$type, UInt64Value);\nfunction createBaseInt32Value() {\n return { value: 0 };\n}\nexport const Int32Value = {\n $type: \"google.protobuf.Int32Value\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value !== 0) {\n writer.uint32(8).int32(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseInt32Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.value = reader.int32();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };\n },\n toJSON(message) {\n const obj = {};\n if (message.value !== 0) {\n obj.value = Math.round(message.value);\n }\n return obj;\n },\n create(base) {\n return Int32Value.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseInt32Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nmessageTypeRegistry.set(Int32Value.$type, Int32Value);\nfunction createBaseUInt32Value() {\n return { value: 0 };\n}\nexport const UInt32Value = {\n $type: \"google.protobuf.UInt32Value\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value !== 0) {\n writer.uint32(8).uint32(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUInt32Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.value = reader.uint32();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };\n },\n toJSON(message) {\n const obj = {};\n if (message.value !== 0) {\n obj.value = Math.round(message.value);\n }\n return obj;\n },\n create(base) {\n return UInt32Value.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseUInt32Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nmessageTypeRegistry.set(UInt32Value.$type, UInt32Value);\nfunction createBaseBoolValue() {\n return { value: false };\n}\nexport const BoolValue = {\n $type: \"google.protobuf.BoolValue\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value !== false) {\n writer.uint32(8).bool(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBoolValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.value = reader.bool();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? globalThis.Boolean(object.value) : false };\n },\n toJSON(message) {\n const obj = {};\n if (message.value !== false) {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return BoolValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseBoolValue();\n message.value = object.value ?? false;\n return message;\n },\n};\nmessageTypeRegistry.set(BoolValue.$type, BoolValue);\nfunction createBaseStringValue() {\n return { value: \"\" };\n}\nexport const StringValue = {\n $type: \"google.protobuf.StringValue\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value !== \"\") {\n writer.uint32(10).string(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseStringValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.value = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? globalThis.String(object.value) : \"\" };\n },\n toJSON(message) {\n const obj = {};\n if (message.value !== \"\") {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return StringValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseStringValue();\n message.value = object.value ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(StringValue.$type, StringValue);\nfunction createBaseBytesValue() {\n return { value: new Uint8Array(0) };\n}\nexport const BytesValue = {\n $type: \"google.protobuf.BytesValue\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.value.length !== 0) {\n writer.uint32(10).bytes(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBytesValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.value = reader.bytes();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0) };\n },\n toJSON(message) {\n const obj = {};\n if (message.value.length !== 0) {\n obj.value = base64FromBytes(message.value);\n }\n return obj;\n },\n create(base) {\n return BytesValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseBytesValue();\n message.value = object.value ?? new Uint8Array(0);\n return message;\n },\n};\nmessageTypeRegistry.set(BytesValue.$type, BytesValue);\nfunction bytesFromBase64(b64) {\n if (globalThis.Buffer) {\n return Uint8Array.from(globalThis.Buffer.from(b64, \"base64\"));\n }\n else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\nfunction base64FromBytes(arr) {\n if (globalThis.Buffer) {\n return globalThis.Buffer.from(arr).toString(\"base64\");\n }\n else {\n const bin = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\nfunction longToNumber(long) {\n if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {\n throw new globalThis.Error(\"Value is larger than Number.MAX_SAFE_INTEGER\");\n }\n return long.toNumber();\n}\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long;\n _m0.configure();\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #create_order.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nexport var OrderResultStatus;\n(function (OrderResultStatus) {\n OrderResultStatus[OrderResultStatus[\"STATUS_CANCELLED\"] = 0] = \"STATUS_CANCELLED\";\n OrderResultStatus[OrderResultStatus[\"STATUS_SUCCESS\"] = 1] = \"STATUS_SUCCESS\";\n OrderResultStatus[OrderResultStatus[\"STATUS_ERROR\"] = 2] = \"STATUS_ERROR\";\n OrderResultStatus[OrderResultStatus[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(OrderResultStatus || (OrderResultStatus = {}));\nexport function orderResultStatusFromJSON(object) {\n switch (object) {\n case 0:\n case \"STATUS_CANCELLED\":\n return OrderResultStatus.STATUS_CANCELLED;\n case 1:\n case \"STATUS_SUCCESS\":\n return OrderResultStatus.STATUS_SUCCESS;\n case 2:\n case \"STATUS_ERROR\":\n return OrderResultStatus.STATUS_ERROR;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return OrderResultStatus.UNRECOGNIZED;\n }\n}\nexport function orderResultStatusToJSON(object) {\n switch (object) {\n case OrderResultStatus.STATUS_CANCELLED:\n return 0;\n case OrderResultStatus.STATUS_SUCCESS:\n return 1;\n case OrderResultStatus.STATUS_ERROR:\n return 2;\n case OrderResultStatus.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nfunction createBaseCreateOrderEffect() {\n return { id: \"\", skus: [], metadata: {} };\n}\nexport const CreateOrderEffect = {\n $type: \"devvit.ui.effects.v1alpha.CreateOrderEffect\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.id !== \"\") {\n writer.uint32(10).string(message.id);\n }\n for (const v of message.skus) {\n writer.uint32(18).string(v);\n }\n Object.entries(message.metadata).forEach(([key, value]) => {\n CreateOrderEffect_MetadataEntry.encode({ key: key, value }, writer.uint32(26).fork()).ldelim();\n });\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseCreateOrderEffect();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.id = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.skus.push(reader.string());\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n const entry3 = CreateOrderEffect_MetadataEntry.decode(reader, reader.uint32());\n if (entry3.value !== undefined) {\n message.metadata[entry3.key] = entry3.value;\n }\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n id: isSet(object.id) ? globalThis.String(object.id) : \"\",\n skus: globalThis.Array.isArray(object?.skus) ? object.skus.map((e) => globalThis.String(e)) : [],\n metadata: isObject(object.metadata)\n ? Object.entries(object.metadata).reduce((acc, [key, value]) => {\n acc[key] = String(value);\n return acc;\n }, {})\n : {},\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.id !== \"\") {\n obj.id = message.id;\n }\n if (message.skus?.length) {\n obj.skus = message.skus;\n }\n if (message.metadata) {\n const entries = Object.entries(message.metadata);\n if (entries.length > 0) {\n obj.metadata = {};\n entries.forEach(([k, v]) => {\n obj.metadata[k] = v;\n });\n }\n }\n return obj;\n },\n create(base) {\n return CreateOrderEffect.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseCreateOrderEffect();\n message.id = object.id ?? \"\";\n message.skus = object.skus?.map((e) => e) || [];\n message.metadata = Object.entries(object.metadata ?? {}).reduce((acc, [key, value]) => {\n if (value !== undefined) {\n acc[key] = globalThis.String(value);\n }\n return acc;\n }, {});\n return message;\n },\n};\nmessageTypeRegistry.set(CreateOrderEffect.$type, CreateOrderEffect);\nfunction createBaseCreateOrderEffect_MetadataEntry() {\n return { key: \"\", value: \"\" };\n}\nexport const CreateOrderEffect_MetadataEntry = {\n $type: \"devvit.ui.effects.v1alpha.CreateOrderEffect.MetadataEntry\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.key !== \"\") {\n writer.uint32(10).string(message.key);\n }\n if (message.value !== \"\") {\n writer.uint32(18).string(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseCreateOrderEffect_MetadataEntry();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.key = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.value = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n key: isSet(object.key) ? globalThis.String(object.key) : \"\",\n value: isSet(object.value) ? globalThis.String(object.value) : \"\",\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.key !== \"\") {\n obj.key = message.key;\n }\n if (message.value !== \"\") {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return CreateOrderEffect_MetadataEntry.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseCreateOrderEffect_MetadataEntry();\n message.key = object.key ?? \"\";\n message.value = object.value ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(CreateOrderEffect_MetadataEntry.$type, CreateOrderEffect_MetadataEntry);\nfunction createBaseOrderResultEvent() {\n return { errorMessage: undefined, orderId: undefined, order: undefined, status: 0, errorCode: undefined };\n}\nexport const OrderResultEvent = {\n $type: \"devvit.ui.effects.v1alpha.OrderResultEvent\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.errorMessage !== undefined) {\n writer.uint32(18).string(message.errorMessage);\n }\n if (message.orderId !== undefined) {\n writer.uint32(26).string(message.orderId);\n }\n if (message.order !== undefined) {\n CreateOrderEffect.encode(message.order, writer.uint32(34).fork()).ldelim();\n }\n if (message.status !== 0) {\n writer.uint32(40).int32(message.status);\n }\n if (message.errorCode !== undefined) {\n writer.uint32(48).int32(message.errorCode);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOrderResultEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 2:\n if (tag !== 18) {\n break;\n }\n message.errorMessage = reader.string();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.orderId = reader.string();\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.order = CreateOrderEffect.decode(reader, reader.uint32());\n continue;\n case 5:\n if (tag !== 40) {\n break;\n }\n message.status = reader.int32();\n continue;\n case 6:\n if (tag !== 48) {\n break;\n }\n message.errorCode = reader.int32();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n errorMessage: isSet(object.errorMessage) ? globalThis.String(object.errorMessage) : undefined,\n orderId: isSet(object.orderId) ? globalThis.String(object.orderId) : undefined,\n order: isSet(object.order) ? CreateOrderEffect.fromJSON(object.order) : undefined,\n status: isSet(object.status) ? orderResultStatusFromJSON(object.status) : 0,\n errorCode: isSet(object.errorCode) ? globalThis.Number(object.errorCode) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.errorMessage !== undefined) {\n obj.errorMessage = message.errorMessage;\n }\n if (message.orderId !== undefined) {\n obj.orderId = message.orderId;\n }\n if (message.order !== undefined) {\n obj.order = CreateOrderEffect.toJSON(message.order);\n }\n if (message.status !== 0) {\n obj.status = orderResultStatusToJSON(message.status);\n }\n if (message.errorCode !== undefined) {\n obj.errorCode = Math.round(message.errorCode);\n }\n return obj;\n },\n create(base) {\n return OrderResultEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseOrderResultEvent();\n message.errorMessage = object.errorMessage ?? undefined;\n message.orderId = object.orderId ?? undefined;\n message.order = (object.order !== undefined && object.order !== null)\n ? CreateOrderEffect.fromPartial(object.order)\n : undefined;\n message.status = object.status ?? 0;\n message.errorCode = object.errorCode ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(OrderResultEvent.$type, OrderResultEvent);\nfunction isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #realtime_subscriptions.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nimport { RealtimeEvent } from \"../../../events/v1alpha/realtime.js\";\nexport var RealtimeSubscriptionStatus;\n(function (RealtimeSubscriptionStatus) {\n RealtimeSubscriptionStatus[RealtimeSubscriptionStatus[\"REALTIME_SUBSCRIBED\"] = 0] = \"REALTIME_SUBSCRIBED\";\n RealtimeSubscriptionStatus[RealtimeSubscriptionStatus[\"REALTIME_UNSUBSCRIBED\"] = 1] = \"REALTIME_UNSUBSCRIBED\";\n RealtimeSubscriptionStatus[RealtimeSubscriptionStatus[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(RealtimeSubscriptionStatus || (RealtimeSubscriptionStatus = {}));\nexport function realtimeSubscriptionStatusFromJSON(object) {\n switch (object) {\n case 0:\n case \"REALTIME_SUBSCRIBED\":\n return RealtimeSubscriptionStatus.REALTIME_SUBSCRIBED;\n case 1:\n case \"REALTIME_UNSUBSCRIBED\":\n return RealtimeSubscriptionStatus.REALTIME_UNSUBSCRIBED;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return RealtimeSubscriptionStatus.UNRECOGNIZED;\n }\n}\nexport function realtimeSubscriptionStatusToJSON(object) {\n switch (object) {\n case RealtimeSubscriptionStatus.REALTIME_SUBSCRIBED:\n return 0;\n case RealtimeSubscriptionStatus.REALTIME_UNSUBSCRIBED:\n return 1;\n case RealtimeSubscriptionStatus.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nfunction createBaseRealtimeSubscriptionsEffect() {\n return { subscriptionIds: [] };\n}\nexport const RealtimeSubscriptionsEffect = {\n $type: \"devvit.ui.effects.v1alpha.RealtimeSubscriptionsEffect\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.subscriptionIds) {\n writer.uint32(10).string(v);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRealtimeSubscriptionsEffect();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.subscriptionIds.push(reader.string());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n subscriptionIds: globalThis.Array.isArray(object?.subscriptionIds)\n ? object.subscriptionIds.map((e) => globalThis.String(e))\n : [],\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.subscriptionIds?.length) {\n obj.subscriptionIds = message.subscriptionIds;\n }\n return obj;\n },\n create(base) {\n return RealtimeSubscriptionsEffect.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseRealtimeSubscriptionsEffect();\n message.subscriptionIds = object.subscriptionIds?.map((e) => e) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(RealtimeSubscriptionsEffect.$type, RealtimeSubscriptionsEffect);\nfunction createBaseRealtimeSubscriptionEvent() {\n return { event: undefined, status: undefined };\n}\nexport const RealtimeSubscriptionEvent = {\n $type: \"devvit.ui.effects.v1alpha.RealtimeSubscriptionEvent\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.event !== undefined) {\n RealtimeEvent.encode(message.event, writer.uint32(10).fork()).ldelim();\n }\n if (message.status !== undefined) {\n writer.uint32(16).int32(message.status);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRealtimeSubscriptionEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.event = RealtimeEvent.decode(reader, reader.uint32());\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.status = reader.int32();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n event: isSet(object.event) ? RealtimeEvent.fromJSON(object.event) : undefined,\n status: isSet(object.status) ? realtimeSubscriptionStatusFromJSON(object.status) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.event !== undefined) {\n obj.event = RealtimeEvent.toJSON(message.event);\n }\n if (message.status !== undefined) {\n obj.status = realtimeSubscriptionStatusToJSON(message.status);\n }\n return obj;\n },\n create(base) {\n return RealtimeSubscriptionEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseRealtimeSubscriptionEvent();\n message.event = (object.event !== undefined && object.event !== null)\n ? RealtimeEvent.fromPartial(object.event)\n : undefined;\n message.status = object.status ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(RealtimeSubscriptionEvent.$type, RealtimeSubscriptionEvent);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #show_form.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nimport { Form } from \"../../form_builder/v1alpha/form.js\";\nimport { FormFieldValue } from \"../../form_builder/v1alpha/value.js\";\nfunction createBaseShowFormEffect() {\n return { form: undefined };\n}\nexport const ShowFormEffect = {\n $type: \"devvit.ui.effects.v1alpha.ShowFormEffect\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.form !== undefined) {\n Form.encode(message.form, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseShowFormEffect();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.form = Form.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { form: isSet(object.form) ? Form.fromJSON(object.form) : undefined };\n },\n toJSON(message) {\n const obj = {};\n if (message.form !== undefined) {\n obj.form = Form.toJSON(message.form);\n }\n return obj;\n },\n create(base) {\n return ShowFormEffect.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseShowFormEffect();\n message.form = (object.form !== undefined && object.form !== null) ? Form.fromPartial(object.form) : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(ShowFormEffect.$type, ShowFormEffect);\nfunction createBaseFormSubmittedEvent() {\n return { results: {}, formId: undefined };\n}\nexport const FormSubmittedEvent = {\n $type: \"devvit.ui.effects.v1alpha.FormSubmittedEvent\",\n encode(message, writer = _m0.Writer.create()) {\n Object.entries(message.results).forEach(([key, value]) => {\n FormSubmittedEvent_ResultsEntry.encode({ key: key, value }, writer.uint32(10).fork()).ldelim();\n });\n if (message.formId !== undefined) {\n writer.uint32(18).string(message.formId);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFormSubmittedEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n const entry1 = FormSubmittedEvent_ResultsEntry.decode(reader, reader.uint32());\n if (entry1.value !== undefined) {\n message.results[entry1.key] = entry1.value;\n }\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.formId = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n results: isObject(object.results)\n ? Object.entries(object.results).reduce((acc, [key, value]) => {\n acc[key] = FormFieldValue.fromJSON(value);\n return acc;\n }, {})\n : {},\n formId: isSet(object.formId) ? globalThis.String(object.formId) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.results) {\n const entries = Object.entries(message.results);\n if (entries.length > 0) {\n obj.results = {};\n entries.forEach(([k, v]) => {\n obj.results[k] = FormFieldValue.toJSON(v);\n });\n }\n }\n if (message.formId !== undefined) {\n obj.formId = message.formId;\n }\n return obj;\n },\n create(base) {\n return FormSubmittedEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFormSubmittedEvent();\n message.results = Object.entries(object.results ?? {}).reduce((acc, [key, value]) => {\n if (value !== undefined) {\n acc[key] = FormFieldValue.fromPartial(value);\n }\n return acc;\n }, {});\n message.formId = object.formId ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FormSubmittedEvent.$type, FormSubmittedEvent);\nfunction createBaseFormSubmittedEvent_ResultsEntry() {\n return { key: \"\", value: undefined };\n}\nexport const FormSubmittedEvent_ResultsEntry = {\n $type: \"devvit.ui.effects.v1alpha.FormSubmittedEvent.ResultsEntry\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.key !== \"\") {\n writer.uint32(10).string(message.key);\n }\n if (message.value !== undefined) {\n FormFieldValue.encode(message.value, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFormSubmittedEvent_ResultsEntry();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.key = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.value = FormFieldValue.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n key: isSet(object.key) ? globalThis.String(object.key) : \"\",\n value: isSet(object.value) ? FormFieldValue.fromJSON(object.value) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.key !== \"\") {\n obj.key = message.key;\n }\n if (message.value !== undefined) {\n obj.value = FormFieldValue.toJSON(message.value);\n }\n return obj;\n },\n create(base) {\n return FormSubmittedEvent_ResultsEntry.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFormSubmittedEvent_ResultsEntry();\n message.key = object.key ?? \"\";\n message.value = (object.value !== undefined && object.value !== null)\n ? FormFieldValue.fromPartial(object.value)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FormSubmittedEvent_ResultsEntry.$type, FormSubmittedEvent_ResultsEntry);\nfunction createBaseFormCanceledEvent() {\n return { formId: undefined };\n}\nexport const FormCanceledEvent = {\n $type: \"devvit.ui.effects.v1alpha.FormCanceledEvent\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.formId !== undefined) {\n writer.uint32(10).string(message.formId);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFormCanceledEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.formId = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { formId: isSet(object.formId) ? globalThis.String(object.formId) : undefined };\n },\n toJSON(message) {\n const obj = {};\n if (message.formId !== undefined) {\n obj.formId = message.formId;\n }\n return obj;\n },\n create(base) {\n return FormCanceledEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFormCanceledEvent();\n message.formId = object.formId ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FormCanceledEvent.$type, FormCanceledEvent);\nfunction isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #form.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nimport { FormField } from \"./field.js\";\nfunction createBaseForm() {\n return {\n fields: [],\n title: undefined,\n shortDescription: undefined,\n acceptLabel: undefined,\n cancelLabel: undefined,\n id: undefined,\n };\n}\nexport const Form = {\n $type: \"devvit.ui.form_builder.v1alpha.Form\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.fields) {\n FormField.encode(v, writer.uint32(10).fork()).ldelim();\n }\n if (message.title !== undefined) {\n writer.uint32(18).string(message.title);\n }\n if (message.shortDescription !== undefined) {\n writer.uint32(26).string(message.shortDescription);\n }\n if (message.acceptLabel !== undefined) {\n writer.uint32(34).string(message.acceptLabel);\n }\n if (message.cancelLabel !== undefined) {\n writer.uint32(42).string(message.cancelLabel);\n }\n if (message.id !== undefined) {\n writer.uint32(50).string(message.id);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseForm();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.fields.push(FormField.decode(reader, reader.uint32()));\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.title = reader.string();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.shortDescription = reader.string();\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.acceptLabel = reader.string();\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.cancelLabel = reader.string();\n continue;\n case 6:\n if (tag !== 50) {\n break;\n }\n message.id = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n fields: globalThis.Array.isArray(object?.fields) ? object.fields.map((e) => FormField.fromJSON(e)) : [],\n title: isSet(object.title) ? globalThis.String(object.title) : undefined,\n shortDescription: isSet(object.shortDescription) ? globalThis.String(object.shortDescription) : undefined,\n acceptLabel: isSet(object.acceptLabel) ? globalThis.String(object.acceptLabel) : undefined,\n cancelLabel: isSet(object.cancelLabel) ? globalThis.String(object.cancelLabel) : undefined,\n id: isSet(object.id) ? globalThis.String(object.id) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.fields?.length) {\n obj.fields = message.fields.map((e) => FormField.toJSON(e));\n }\n if (message.title !== undefined) {\n obj.title = message.title;\n }\n if (message.shortDescription !== undefined) {\n obj.shortDescription = message.shortDescription;\n }\n if (message.acceptLabel !== undefined) {\n obj.acceptLabel = message.acceptLabel;\n }\n if (message.cancelLabel !== undefined) {\n obj.cancelLabel = message.cancelLabel;\n }\n if (message.id !== undefined) {\n obj.id = message.id;\n }\n return obj;\n },\n create(base) {\n return Form.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseForm();\n message.fields = object.fields?.map((e) => FormField.fromPartial(e)) || [];\n message.title = object.title ?? undefined;\n message.shortDescription = object.shortDescription ?? undefined;\n message.acceptLabel = object.acceptLabel ?? undefined;\n message.cancelLabel = object.cancelLabel ?? undefined;\n message.id = object.id ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(Form.$type, Form);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #field.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nimport { formFieldTypeFromJSON, formFieldTypeToJSON } from \"./type.js\";\nimport { FormFieldValue } from \"./value.js\";\nfunction createBaseFormField() {\n return {\n fieldId: \"\",\n fieldType: 0,\n label: \"\",\n helpText: undefined,\n defaultValue: undefined,\n required: undefined,\n disabled: undefined,\n fieldConfig: undefined,\n isSecret: undefined,\n };\n}\nexport const FormField = {\n $type: \"devvit.ui.form_builder.v1alpha.FormField\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.fieldId !== \"\") {\n writer.uint32(10).string(message.fieldId);\n }\n if (message.fieldType !== 0) {\n writer.uint32(16).int32(message.fieldType);\n }\n if (message.label !== \"\") {\n writer.uint32(26).string(message.label);\n }\n if (message.helpText !== undefined) {\n writer.uint32(34).string(message.helpText);\n }\n if (message.defaultValue !== undefined) {\n FormFieldValue.encode(message.defaultValue, writer.uint32(42).fork()).ldelim();\n }\n if (message.required !== undefined) {\n writer.uint32(48).bool(message.required);\n }\n if (message.disabled !== undefined) {\n writer.uint32(56).bool(message.disabled);\n }\n if (message.fieldConfig !== undefined) {\n FieldConfig.encode(message.fieldConfig, writer.uint32(66).fork()).ldelim();\n }\n if (message.isSecret !== undefined) {\n writer.uint32(72).bool(message.isSecret);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFormField();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.fieldId = reader.string();\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.fieldType = reader.int32();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.label = reader.string();\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.helpText = reader.string();\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.defaultValue = FormFieldValue.decode(reader, reader.uint32());\n continue;\n case 6:\n if (tag !== 48) {\n break;\n }\n message.required = reader.bool();\n continue;\n case 7:\n if (tag !== 56) {\n break;\n }\n message.disabled = reader.bool();\n continue;\n case 8:\n if (tag !== 66) {\n break;\n }\n message.fieldConfig = FieldConfig.decode(reader, reader.uint32());\n continue;\n case 9:\n if (tag !== 72) {\n break;\n }\n message.isSecret = reader.bool();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n fieldId: isSet(object.fieldId) ? globalThis.String(object.fieldId) : \"\",\n fieldType: isSet(object.fieldType) ? formFieldTypeFromJSON(object.fieldType) : 0,\n label: isSet(object.label) ? globalThis.String(object.label) : \"\",\n helpText: isSet(object.helpText) ? globalThis.String(object.helpText) : undefined,\n defaultValue: isSet(object.defaultValue) ? FormFieldValue.fromJSON(object.defaultValue) : undefined,\n required: isSet(object.required) ? globalThis.Boolean(object.required) : undefined,\n disabled: isSet(object.disabled) ? globalThis.Boolean(object.disabled) : undefined,\n fieldConfig: isSet(object.fieldConfig) ? FieldConfig.fromJSON(object.fieldConfig) : undefined,\n isSecret: isSet(object.isSecret) ? globalThis.Boolean(object.isSecret) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.fieldId !== \"\") {\n obj.fieldId = message.fieldId;\n }\n if (message.fieldType !== 0) {\n obj.fieldType = formFieldTypeToJSON(message.fieldType);\n }\n if (message.label !== \"\") {\n obj.label = message.label;\n }\n if (message.helpText !== undefined) {\n obj.helpText = message.helpText;\n }\n if (message.defaultValue !== undefined) {\n obj.defaultValue = FormFieldValue.toJSON(message.defaultValue);\n }\n if (message.required !== undefined) {\n obj.required = message.required;\n }\n if (message.disabled !== undefined) {\n obj.disabled = message.disabled;\n }\n if (message.fieldConfig !== undefined) {\n obj.fieldConfig = FieldConfig.toJSON(message.fieldConfig);\n }\n if (message.isSecret !== undefined) {\n obj.isSecret = message.isSecret;\n }\n return obj;\n },\n create(base) {\n return FormField.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFormField();\n message.fieldId = object.fieldId ?? \"\";\n message.fieldType = object.fieldType ?? 0;\n message.label = object.label ?? \"\";\n message.helpText = object.helpText ?? undefined;\n message.defaultValue = (object.defaultValue !== undefined && object.defaultValue !== null)\n ? FormFieldValue.fromPartial(object.defaultValue)\n : undefined;\n message.required = object.required ?? undefined;\n message.disabled = object.disabled ?? undefined;\n message.fieldConfig = (object.fieldConfig !== undefined && object.fieldConfig !== null)\n ? FieldConfig.fromPartial(object.fieldConfig)\n : undefined;\n message.isSecret = object.isSecret ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FormField.$type, FormField);\nfunction createBaseFieldConfig() {\n return {\n stringConfig: undefined,\n paragraphConfig: undefined,\n numberConfig: undefined,\n booleanConfig: undefined,\n listConfig: undefined,\n selectionConfig: undefined,\n groupConfig: undefined,\n };\n}\nexport const FieldConfig = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.stringConfig !== undefined) {\n FieldConfig_String.encode(message.stringConfig, writer.uint32(10).fork()).ldelim();\n }\n if (message.paragraphConfig !== undefined) {\n FieldConfig_Paragraph.encode(message.paragraphConfig, writer.uint32(18).fork()).ldelim();\n }\n if (message.numberConfig !== undefined) {\n FieldConfig_Number.encode(message.numberConfig, writer.uint32(26).fork()).ldelim();\n }\n if (message.booleanConfig !== undefined) {\n FieldConfig_Boolean.encode(message.booleanConfig, writer.uint32(34).fork()).ldelim();\n }\n if (message.listConfig !== undefined) {\n FieldConfig_List.encode(message.listConfig, writer.uint32(42).fork()).ldelim();\n }\n if (message.selectionConfig !== undefined) {\n FieldConfig_Selection.encode(message.selectionConfig, writer.uint32(50).fork()).ldelim();\n }\n if (message.groupConfig !== undefined) {\n FieldConfig_Group.encode(message.groupConfig, writer.uint32(58).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.stringConfig = FieldConfig_String.decode(reader, reader.uint32());\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.paragraphConfig = FieldConfig_Paragraph.decode(reader, reader.uint32());\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.numberConfig = FieldConfig_Number.decode(reader, reader.uint32());\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.booleanConfig = FieldConfig_Boolean.decode(reader, reader.uint32());\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.listConfig = FieldConfig_List.decode(reader, reader.uint32());\n continue;\n case 6:\n if (tag !== 50) {\n break;\n }\n message.selectionConfig = FieldConfig_Selection.decode(reader, reader.uint32());\n continue;\n case 7:\n if (tag !== 58) {\n break;\n }\n message.groupConfig = FieldConfig_Group.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n stringConfig: isSet(object.stringConfig) ? FieldConfig_String.fromJSON(object.stringConfig) : undefined,\n paragraphConfig: isSet(object.paragraphConfig)\n ? FieldConfig_Paragraph.fromJSON(object.paragraphConfig)\n : undefined,\n numberConfig: isSet(object.numberConfig) ? FieldConfig_Number.fromJSON(object.numberConfig) : undefined,\n booleanConfig: isSet(object.booleanConfig) ? FieldConfig_Boolean.fromJSON(object.booleanConfig) : undefined,\n listConfig: isSet(object.listConfig) ? FieldConfig_List.fromJSON(object.listConfig) : undefined,\n selectionConfig: isSet(object.selectionConfig)\n ? FieldConfig_Selection.fromJSON(object.selectionConfig)\n : undefined,\n groupConfig: isSet(object.groupConfig) ? FieldConfig_Group.fromJSON(object.groupConfig) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.stringConfig !== undefined) {\n obj.stringConfig = FieldConfig_String.toJSON(message.stringConfig);\n }\n if (message.paragraphConfig !== undefined) {\n obj.paragraphConfig = FieldConfig_Paragraph.toJSON(message.paragraphConfig);\n }\n if (message.numberConfig !== undefined) {\n obj.numberConfig = FieldConfig_Number.toJSON(message.numberConfig);\n }\n if (message.booleanConfig !== undefined) {\n obj.booleanConfig = FieldConfig_Boolean.toJSON(message.booleanConfig);\n }\n if (message.listConfig !== undefined) {\n obj.listConfig = FieldConfig_List.toJSON(message.listConfig);\n }\n if (message.selectionConfig !== undefined) {\n obj.selectionConfig = FieldConfig_Selection.toJSON(message.selectionConfig);\n }\n if (message.groupConfig !== undefined) {\n obj.groupConfig = FieldConfig_Group.toJSON(message.groupConfig);\n }\n return obj;\n },\n create(base) {\n return FieldConfig.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFieldConfig();\n message.stringConfig = (object.stringConfig !== undefined && object.stringConfig !== null)\n ? FieldConfig_String.fromPartial(object.stringConfig)\n : undefined;\n message.paragraphConfig = (object.paragraphConfig !== undefined && object.paragraphConfig !== null)\n ? FieldConfig_Paragraph.fromPartial(object.paragraphConfig)\n : undefined;\n message.numberConfig = (object.numberConfig !== undefined && object.numberConfig !== null)\n ? FieldConfig_Number.fromPartial(object.numberConfig)\n : undefined;\n message.booleanConfig = (object.booleanConfig !== undefined && object.booleanConfig !== null)\n ? FieldConfig_Boolean.fromPartial(object.booleanConfig)\n : undefined;\n message.listConfig = (object.listConfig !== undefined && object.listConfig !== null)\n ? FieldConfig_List.fromPartial(object.listConfig)\n : undefined;\n message.selectionConfig = (object.selectionConfig !== undefined && object.selectionConfig !== null)\n ? FieldConfig_Selection.fromPartial(object.selectionConfig)\n : undefined;\n message.groupConfig = (object.groupConfig !== undefined && object.groupConfig !== null)\n ? FieldConfig_Group.fromPartial(object.groupConfig)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig.$type, FieldConfig);\nfunction createBaseFieldConfig_String() {\n return { minLength: undefined, maxLength: undefined, placeholder: undefined };\n}\nexport const FieldConfig_String = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig.String\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.minLength !== undefined) {\n writer.uint32(8).int32(message.minLength);\n }\n if (message.maxLength !== undefined) {\n writer.uint32(16).int32(message.maxLength);\n }\n if (message.placeholder !== undefined) {\n writer.uint32(26).string(message.placeholder);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig_String();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.minLength = reader.int32();\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.maxLength = reader.int32();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.placeholder = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n minLength: isSet(object.minLength) ? globalThis.Number(object.minLength) : undefined,\n maxLength: isSet(object.maxLength) ? globalThis.Number(object.maxLength) : undefined,\n placeholder: isSet(object.placeholder) ? globalThis.String(object.placeholder) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.minLength !== undefined) {\n obj.minLength = Math.round(message.minLength);\n }\n if (message.maxLength !== undefined) {\n obj.maxLength = Math.round(message.maxLength);\n }\n if (message.placeholder !== undefined) {\n obj.placeholder = message.placeholder;\n }\n return obj;\n },\n create(base) {\n return FieldConfig_String.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFieldConfig_String();\n message.minLength = object.minLength ?? undefined;\n message.maxLength = object.maxLength ?? undefined;\n message.placeholder = object.placeholder ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig_String.$type, FieldConfig_String);\nfunction createBaseFieldConfig_Paragraph() {\n return { maxCharacters: undefined, lineHeight: undefined, placeholder: undefined };\n}\nexport const FieldConfig_Paragraph = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig.Paragraph\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.maxCharacters !== undefined) {\n writer.uint32(8).int32(message.maxCharacters);\n }\n if (message.lineHeight !== undefined) {\n writer.uint32(16).int32(message.lineHeight);\n }\n if (message.placeholder !== undefined) {\n writer.uint32(26).string(message.placeholder);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig_Paragraph();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.maxCharacters = reader.int32();\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.lineHeight = reader.int32();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.placeholder = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n maxCharacters: isSet(object.maxCharacters) ? globalThis.Number(object.maxCharacters) : undefined,\n lineHeight: isSet(object.lineHeight) ? globalThis.Number(object.lineHeight) : undefined,\n placeholder: isSet(object.placeholder) ? globalThis.String(object.placeholder) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.maxCharacters !== undefined) {\n obj.maxCharacters = Math.round(message.maxCharacters);\n }\n if (message.lineHeight !== undefined) {\n obj.lineHeight = Math.round(message.lineHeight);\n }\n if (message.placeholder !== undefined) {\n obj.placeholder = message.placeholder;\n }\n return obj;\n },\n create(base) {\n return FieldConfig_Paragraph.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFieldConfig_Paragraph();\n message.maxCharacters = object.maxCharacters ?? undefined;\n message.lineHeight = object.lineHeight ?? undefined;\n message.placeholder = object.placeholder ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig_Paragraph.$type, FieldConfig_Paragraph);\nfunction createBaseFieldConfig_Number() {\n return { step: undefined, min: undefined, max: undefined };\n}\nexport const FieldConfig_Number = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig.Number\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.step !== undefined) {\n writer.uint32(9).double(message.step);\n }\n if (message.min !== undefined) {\n writer.uint32(17).double(message.min);\n }\n if (message.max !== undefined) {\n writer.uint32(25).double(message.max);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig_Number();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 9) {\n break;\n }\n message.step = reader.double();\n continue;\n case 2:\n if (tag !== 17) {\n break;\n }\n message.min = reader.double();\n continue;\n case 3:\n if (tag !== 25) {\n break;\n }\n message.max = reader.double();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n step: isSet(object.step) ? globalThis.Number(object.step) : undefined,\n min: isSet(object.min) ? globalThis.Number(object.min) : undefined,\n max: isSet(object.max) ? globalThis.Number(object.max) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.step !== undefined) {\n obj.step = message.step;\n }\n if (message.min !== undefined) {\n obj.min = message.min;\n }\n if (message.max !== undefined) {\n obj.max = message.max;\n }\n return obj;\n },\n create(base) {\n return FieldConfig_Number.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFieldConfig_Number();\n message.step = object.step ?? undefined;\n message.min = object.min ?? undefined;\n message.max = object.max ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig_Number.$type, FieldConfig_Number);\nfunction createBaseFieldConfig_Boolean() {\n return {};\n}\nexport const FieldConfig_Boolean = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig.Boolean\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig_Boolean();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return FieldConfig_Boolean.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseFieldConfig_Boolean();\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig_Boolean.$type, FieldConfig_Boolean);\nfunction createBaseFieldConfig_List() {\n return { itemType: 0, itemConfig: undefined, minEntries: undefined, maxEntries: undefined, entryLabel: undefined };\n}\nexport const FieldConfig_List = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig.List\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.itemType !== 0) {\n writer.uint32(8).int32(message.itemType);\n }\n if (message.itemConfig !== undefined) {\n FieldConfig.encode(message.itemConfig, writer.uint32(18).fork()).ldelim();\n }\n if (message.minEntries !== undefined) {\n writer.uint32(24).int32(message.minEntries);\n }\n if (message.maxEntries !== undefined) {\n writer.uint32(32).int32(message.maxEntries);\n }\n if (message.entryLabel !== undefined) {\n writer.uint32(42).string(message.entryLabel);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig_List();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.itemType = reader.int32();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.itemConfig = FieldConfig.decode(reader, reader.uint32());\n continue;\n case 3:\n if (tag !== 24) {\n break;\n }\n message.minEntries = reader.int32();\n continue;\n case 4:\n if (tag !== 32) {\n break;\n }\n message.maxEntries = reader.int32();\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.entryLabel = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n itemType: isSet(object.itemType) ? formFieldTypeFromJSON(object.itemType) : 0,\n itemConfig: isSet(object.itemConfig) ? FieldConfig.fromJSON(object.itemConfig) : undefined,\n minEntries: isSet(object.minEntries) ? globalThis.Number(object.minEntries) : undefined,\n maxEntries: isSet(object.maxEntries) ? globalThis.Number(object.maxEntries) : undefined,\n entryLabel: isSet(object.entryLabel) ? globalThis.String(object.entryLabel) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.itemType !== 0) {\n obj.itemType = formFieldTypeToJSON(message.itemType);\n }\n if (message.itemConfig !== undefined) {\n obj.itemConfig = FieldConfig.toJSON(message.itemConfig);\n }\n if (message.minEntries !== undefined) {\n obj.minEntries = Math.round(message.minEntries);\n }\n if (message.maxEntries !== undefined) {\n obj.maxEntries = Math.round(message.maxEntries);\n }\n if (message.entryLabel !== undefined) {\n obj.entryLabel = message.entryLabel;\n }\n return obj;\n },\n create(base) {\n return FieldConfig_List.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFieldConfig_List();\n message.itemType = object.itemType ?? 0;\n message.itemConfig = (object.itemConfig !== undefined && object.itemConfig !== null)\n ? FieldConfig.fromPartial(object.itemConfig)\n : undefined;\n message.minEntries = object.minEntries ?? undefined;\n message.maxEntries = object.maxEntries ?? undefined;\n message.entryLabel = object.entryLabel ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig_List.$type, FieldConfig_List);\nfunction createBaseFieldConfig_Selection() {\n return {\n choices: [],\n multiSelect: undefined,\n minSelections: undefined,\n maxSelections: undefined,\n renderAsList: undefined,\n };\n}\nexport const FieldConfig_Selection = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig.Selection\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.choices) {\n FieldConfig_Selection_Item.encode(v, writer.uint32(10).fork()).ldelim();\n }\n if (message.multiSelect !== undefined) {\n writer.uint32(16).bool(message.multiSelect);\n }\n if (message.minSelections !== undefined) {\n writer.uint32(24).int32(message.minSelections);\n }\n if (message.maxSelections !== undefined) {\n writer.uint32(32).int32(message.maxSelections);\n }\n if (message.renderAsList !== undefined) {\n writer.uint32(40).bool(message.renderAsList);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig_Selection();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.choices.push(FieldConfig_Selection_Item.decode(reader, reader.uint32()));\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.multiSelect = reader.bool();\n continue;\n case 3:\n if (tag !== 24) {\n break;\n }\n message.minSelections = reader.int32();\n continue;\n case 4:\n if (tag !== 32) {\n break;\n }\n message.maxSelections = reader.int32();\n continue;\n case 5:\n if (tag !== 40) {\n break;\n }\n message.renderAsList = reader.bool();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n choices: globalThis.Array.isArray(object?.choices)\n ? object.choices.map((e) => FieldConfig_Selection_Item.fromJSON(e))\n : [],\n multiSelect: isSet(object.multiSelect) ? globalThis.Boolean(object.multiSelect) : undefined,\n minSelections: isSet(object.minSelections) ? globalThis.Number(object.minSelections) : undefined,\n maxSelections: isSet(object.maxSelections) ? globalThis.Number(object.maxSelections) : undefined,\n renderAsList: isSet(object.renderAsList) ? globalThis.Boolean(object.renderAsList) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.choices?.length) {\n obj.choices = message.choices.map((e) => FieldConfig_Selection_Item.toJSON(e));\n }\n if (message.multiSelect !== undefined) {\n obj.multiSelect = message.multiSelect;\n }\n if (message.minSelections !== undefined) {\n obj.minSelections = Math.round(message.minSelections);\n }\n if (message.maxSelections !== undefined) {\n obj.maxSelections = Math.round(message.maxSelections);\n }\n if (message.renderAsList !== undefined) {\n obj.renderAsList = message.renderAsList;\n }\n return obj;\n },\n create(base) {\n return FieldConfig_Selection.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFieldConfig_Selection();\n message.choices = object.choices?.map((e) => FieldConfig_Selection_Item.fromPartial(e)) || [];\n message.multiSelect = object.multiSelect ?? undefined;\n message.minSelections = object.minSelections ?? undefined;\n message.maxSelections = object.maxSelections ?? undefined;\n message.renderAsList = object.renderAsList ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig_Selection.$type, FieldConfig_Selection);\nfunction createBaseFieldConfig_Selection_Item() {\n return { label: \"\", value: \"\" };\n}\nexport const FieldConfig_Selection_Item = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig.Selection.Item\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.label !== \"\") {\n writer.uint32(10).string(message.label);\n }\n if (message.value !== \"\") {\n writer.uint32(18).string(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig_Selection_Item();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.label = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.value = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n label: isSet(object.label) ? globalThis.String(object.label) : \"\",\n value: isSet(object.value) ? globalThis.String(object.value) : \"\",\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.label !== \"\") {\n obj.label = message.label;\n }\n if (message.value !== \"\") {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return FieldConfig_Selection_Item.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFieldConfig_Selection_Item();\n message.label = object.label ?? \"\";\n message.value = object.value ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig_Selection_Item.$type, FieldConfig_Selection_Item);\nfunction createBaseFieldConfig_Group() {\n return { fields: [] };\n}\nexport const FieldConfig_Group = {\n $type: \"devvit.ui.form_builder.v1alpha.FieldConfig.Group\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.fields) {\n FormField.encode(v, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFieldConfig_Group();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.fields.push(FormField.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n fields: globalThis.Array.isArray(object?.fields) ? object.fields.map((e) => FormField.fromJSON(e)) : [],\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.fields?.length) {\n obj.fields = message.fields.map((e) => FormField.toJSON(e));\n }\n return obj;\n },\n create(base) {\n return FieldConfig_Group.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFieldConfig_Group();\n message.fields = object.fields?.map((e) => FormField.fromPartial(e)) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(FieldConfig_Group.$type, FieldConfig_Group);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #type.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nexport var FormFieldType;\n(function (FormFieldType) {\n /** STRING - Single-line string */\n FormFieldType[FormFieldType[\"STRING\"] = 0] = \"STRING\";\n /** PARAGRAPH - Multi-line string */\n FormFieldType[FormFieldType[\"PARAGRAPH\"] = 1] = \"PARAGRAPH\";\n /** NUMBER - Number input */\n FormFieldType[FormFieldType[\"NUMBER\"] = 2] = \"NUMBER\";\n /** BOOLEAN - Checkbox, switch */\n FormFieldType[FormFieldType[\"BOOLEAN\"] = 3] = \"BOOLEAN\";\n /** LIST - Collect multiple entries of a single type */\n FormFieldType[FormFieldType[\"LIST\"] = 4] = \"LIST\";\n /** SELECTION - Provide a list of options for the user to choose from */\n FormFieldType[FormFieldType[\"SELECTION\"] = 5] = \"SELECTION\";\n /** GROUP - Create a labeled subsection of the form with nested fields */\n FormFieldType[FormFieldType[\"GROUP\"] = 6] = \"GROUP\";\n /** IMAGE - Image upload - value is a URL for the uploaded image */\n FormFieldType[FormFieldType[\"IMAGE\"] = 7] = \"IMAGE\";\n FormFieldType[FormFieldType[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(FormFieldType || (FormFieldType = {}));\nexport function formFieldTypeFromJSON(object) {\n switch (object) {\n case 0:\n case \"STRING\":\n return FormFieldType.STRING;\n case 1:\n case \"PARAGRAPH\":\n return FormFieldType.PARAGRAPH;\n case 2:\n case \"NUMBER\":\n return FormFieldType.NUMBER;\n case 3:\n case \"BOOLEAN\":\n return FormFieldType.BOOLEAN;\n case 4:\n case \"LIST\":\n return FormFieldType.LIST;\n case 5:\n case \"SELECTION\":\n return FormFieldType.SELECTION;\n case 6:\n case \"GROUP\":\n return FormFieldType.GROUP;\n case 7:\n case \"IMAGE\":\n return FormFieldType.IMAGE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return FormFieldType.UNRECOGNIZED;\n }\n}\nexport function formFieldTypeToJSON(object) {\n switch (object) {\n case FormFieldType.STRING:\n return 0;\n case FormFieldType.PARAGRAPH:\n return 1;\n case FormFieldType.NUMBER:\n return 2;\n case FormFieldType.BOOLEAN:\n return 3;\n case FormFieldType.LIST:\n return 4;\n case FormFieldType.SELECTION:\n return 5;\n case FormFieldType.GROUP:\n return 6;\n case FormFieldType.IMAGE:\n return 7;\n case FormFieldType.UNRECOGNIZED:\n default:\n return -1;\n }\n}\n", "/**\n * #value.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nimport { formFieldTypeFromJSON, formFieldTypeToJSON } from \"./type.js\";\nfunction createBaseFormFieldValue() {\n return {\n fieldType: 0,\n isSecret: undefined,\n stringValue: undefined,\n numberValue: undefined,\n boolValue: undefined,\n listValue: undefined,\n selectionValue: undefined,\n groupValue: undefined,\n };\n}\nexport const FormFieldValue = {\n $type: \"devvit.ui.form_builder.v1alpha.FormFieldValue\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.fieldType !== 0) {\n writer.uint32(8).int32(message.fieldType);\n }\n if (message.isSecret !== undefined) {\n writer.uint32(800).bool(message.isSecret);\n }\n if (message.stringValue !== undefined) {\n writer.uint32(18).string(message.stringValue);\n }\n if (message.numberValue !== undefined) {\n writer.uint32(25).double(message.numberValue);\n }\n if (message.boolValue !== undefined) {\n writer.uint32(32).bool(message.boolValue);\n }\n if (message.listValue !== undefined) {\n FormFieldValue_ListValue.encode(message.listValue, writer.uint32(42).fork()).ldelim();\n }\n if (message.selectionValue !== undefined) {\n FormFieldValue_SelectionValue.encode(message.selectionValue, writer.uint32(50).fork()).ldelim();\n }\n if (message.groupValue !== undefined) {\n FormFieldValue_GroupValue.encode(message.groupValue, writer.uint32(58).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFormFieldValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.fieldType = reader.int32();\n continue;\n case 100:\n if (tag !== 800) {\n break;\n }\n message.isSecret = reader.bool();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.stringValue = reader.string();\n continue;\n case 3:\n if (tag !== 25) {\n break;\n }\n message.numberValue = reader.double();\n continue;\n case 4:\n if (tag !== 32) {\n break;\n }\n message.boolValue = reader.bool();\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.listValue = FormFieldValue_ListValue.decode(reader, reader.uint32());\n continue;\n case 6:\n if (tag !== 50) {\n break;\n }\n message.selectionValue = FormFieldValue_SelectionValue.decode(reader, reader.uint32());\n continue;\n case 7:\n if (tag !== 58) {\n break;\n }\n message.groupValue = FormFieldValue_GroupValue.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n fieldType: isSet(object.fieldType) ? formFieldTypeFromJSON(object.fieldType) : 0,\n isSecret: isSet(object.isSecret) ? globalThis.Boolean(object.isSecret) : undefined,\n stringValue: isSet(object.stringValue) ? globalThis.String(object.stringValue) : undefined,\n numberValue: isSet(object.numberValue) ? globalThis.Number(object.numberValue) : undefined,\n boolValue: isSet(object.boolValue) ? globalThis.Boolean(object.boolValue) : undefined,\n listValue: isSet(object.listValue) ? FormFieldValue_ListValue.fromJSON(object.listValue) : undefined,\n selectionValue: isSet(object.selectionValue)\n ? FormFieldValue_SelectionValue.fromJSON(object.selectionValue)\n : undefined,\n groupValue: isSet(object.groupValue) ? FormFieldValue_GroupValue.fromJSON(object.groupValue) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.fieldType !== 0) {\n obj.fieldType = formFieldTypeToJSON(message.fieldType);\n }\n if (message.isSecret !== undefined) {\n obj.isSecret = message.isSecret;\n }\n if (message.stringValue !== undefined) {\n obj.stringValue = message.stringValue;\n }\n if (message.numberValue !== undefined) {\n obj.numberValue = message.numberValue;\n }\n if (message.boolValue !== undefined) {\n obj.boolValue = message.boolValue;\n }\n if (message.listValue !== undefined) {\n obj.listValue = FormFieldValue_ListValue.toJSON(message.listValue);\n }\n if (message.selectionValue !== undefined) {\n obj.selectionValue = FormFieldValue_SelectionValue.toJSON(message.selectionValue);\n }\n if (message.groupValue !== undefined) {\n obj.groupValue = FormFieldValue_GroupValue.toJSON(message.groupValue);\n }\n return obj;\n },\n create(base) {\n return FormFieldValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFormFieldValue();\n message.fieldType = object.fieldType ?? 0;\n message.isSecret = object.isSecret ?? undefined;\n message.stringValue = object.stringValue ?? undefined;\n message.numberValue = object.numberValue ?? undefined;\n message.boolValue = object.boolValue ?? undefined;\n message.listValue = (object.listValue !== undefined && object.listValue !== null)\n ? FormFieldValue_ListValue.fromPartial(object.listValue)\n : undefined;\n message.selectionValue = (object.selectionValue !== undefined && object.selectionValue !== null)\n ? FormFieldValue_SelectionValue.fromPartial(object.selectionValue)\n : undefined;\n message.groupValue = (object.groupValue !== undefined && object.groupValue !== null)\n ? FormFieldValue_GroupValue.fromPartial(object.groupValue)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(FormFieldValue.$type, FormFieldValue);\nfunction createBaseFormFieldValue_ListValue() {\n return { itemType: 0, items: [] };\n}\nexport const FormFieldValue_ListValue = {\n $type: \"devvit.ui.form_builder.v1alpha.FormFieldValue.ListValue\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.itemType !== 0) {\n writer.uint32(8).int32(message.itemType);\n }\n for (const v of message.items) {\n FormFieldValue.encode(v, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFormFieldValue_ListValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.itemType = reader.int32();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.items.push(FormFieldValue.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n itemType: isSet(object.itemType) ? formFieldTypeFromJSON(object.itemType) : 0,\n items: globalThis.Array.isArray(object?.items) ? object.items.map((e) => FormFieldValue.fromJSON(e)) : [],\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.itemType !== 0) {\n obj.itemType = formFieldTypeToJSON(message.itemType);\n }\n if (message.items?.length) {\n obj.items = message.items.map((e) => FormFieldValue.toJSON(e));\n }\n return obj;\n },\n create(base) {\n return FormFieldValue_ListValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFormFieldValue_ListValue();\n message.itemType = object.itemType ?? 0;\n message.items = object.items?.map((e) => FormFieldValue.fromPartial(e)) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(FormFieldValue_ListValue.$type, FormFieldValue_ListValue);\nfunction createBaseFormFieldValue_SelectionValue() {\n return { values: [] };\n}\nexport const FormFieldValue_SelectionValue = {\n $type: \"devvit.ui.form_builder.v1alpha.FormFieldValue.SelectionValue\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.values) {\n writer.uint32(10).string(v);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFormFieldValue_SelectionValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.values.push(reader.string());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n values: globalThis.Array.isArray(object?.values) ? object.values.map((e) => globalThis.String(e)) : [],\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.values?.length) {\n obj.values = message.values;\n }\n return obj;\n },\n create(base) {\n return FormFieldValue_SelectionValue.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseFormFieldValue_SelectionValue();\n message.values = object.values?.map((e) => e) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(FormFieldValue_SelectionValue.$type, FormFieldValue_SelectionValue);\nfunction createBaseFormFieldValue_GroupValue() {\n return {};\n}\nexport const FormFieldValue_GroupValue = {\n $type: \"devvit.ui.form_builder.v1alpha.FormFieldValue.GroupValue\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFormFieldValue_GroupValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return FormFieldValue_GroupValue.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseFormFieldValue_GroupValue();\n return message;\n },\n};\nmessageTypeRegistry.set(FormFieldValue_GroupValue.$type, FormFieldValue_GroupValue);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #show_toast.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nimport { Toast } from \"../../toast/toast.js\";\nfunction createBaseShowToastEffect() {\n return { toast: undefined };\n}\nexport const ShowToastEffect = {\n $type: \"devvit.ui.effects.v1alpha.ShowToastEffect\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.toast !== undefined) {\n Toast.encode(message.toast, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseShowToastEffect();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.toast = Toast.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { toast: isSet(object.toast) ? Toast.fromJSON(object.toast) : undefined };\n },\n toJSON(message) {\n const obj = {};\n if (message.toast !== undefined) {\n obj.toast = Toast.toJSON(message.toast);\n }\n return obj;\n },\n create(base) {\n return ShowToastEffect.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseShowToastEffect();\n message.toast = (object.toast !== undefined && object.toast !== null) ? Toast.fromPartial(object.toast) : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(ShowToastEffect.$type, ShowToastEffect);\nfunction createBaseToastActionEvent() {\n return {};\n}\nexport const ToastActionEvent = {\n $type: \"devvit.ui.effects.v1alpha.ToastActionEvent\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseToastActionEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return ToastActionEvent.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseToastActionEvent();\n return message;\n },\n};\nmessageTypeRegistry.set(ToastActionEvent.$type, ToastActionEvent);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #toast.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../typeRegistry.js\";\nexport var ToastAppearance;\n(function (ToastAppearance) {\n ToastAppearance[ToastAppearance[\"NEUTRAL\"] = 0] = \"NEUTRAL\";\n ToastAppearance[ToastAppearance[\"SUCCESS\"] = 1] = \"SUCCESS\";\n ToastAppearance[ToastAppearance[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(ToastAppearance || (ToastAppearance = {}));\nexport function toastAppearanceFromJSON(object) {\n switch (object) {\n case 0:\n case \"NEUTRAL\":\n return ToastAppearance.NEUTRAL;\n case 1:\n case \"SUCCESS\":\n return ToastAppearance.SUCCESS;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return ToastAppearance.UNRECOGNIZED;\n }\n}\nexport function toastAppearanceToJSON(object) {\n switch (object) {\n case ToastAppearance.NEUTRAL:\n return 0;\n case ToastAppearance.SUCCESS:\n return 1;\n case ToastAppearance.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nfunction createBaseToastLeadingElement() {\n return { icon: undefined, emoji: undefined, avatar: undefined };\n}\nexport const ToastLeadingElement = {\n $type: \"devvit.ui.toast.ToastLeadingElement\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.icon !== undefined) {\n writer.uint32(10).string(message.icon);\n }\n if (message.emoji !== undefined) {\n writer.uint32(18).string(message.emoji);\n }\n if (message.avatar !== undefined) {\n writer.uint32(26).string(message.avatar);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseToastLeadingElement();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.icon = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.emoji = reader.string();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.avatar = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n icon: isSet(object.icon) ? globalThis.String(object.icon) : undefined,\n emoji: isSet(object.emoji) ? globalThis.String(object.emoji) : undefined,\n avatar: isSet(object.avatar) ? globalThis.String(object.avatar) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.icon !== undefined) {\n obj.icon = message.icon;\n }\n if (message.emoji !== undefined) {\n obj.emoji = message.emoji;\n }\n if (message.avatar !== undefined) {\n obj.avatar = message.avatar;\n }\n return obj;\n },\n create(base) {\n return ToastLeadingElement.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseToastLeadingElement();\n message.icon = object.icon ?? undefined;\n message.emoji = object.emoji ?? undefined;\n message.avatar = object.avatar ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(ToastLeadingElement.$type, ToastLeadingElement);\nfunction createBaseToastTrailingElement() {\n return { label: undefined, icon: undefined };\n}\nexport const ToastTrailingElement = {\n $type: \"devvit.ui.toast.ToastTrailingElement\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.label !== undefined) {\n writer.uint32(10).string(message.label);\n }\n if (message.icon !== undefined) {\n writer.uint32(18).string(message.icon);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseToastTrailingElement();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.label = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.icon = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n label: isSet(object.label) ? globalThis.String(object.label) : undefined,\n icon: isSet(object.icon) ? globalThis.String(object.icon) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.label !== undefined) {\n obj.label = message.label;\n }\n if (message.icon !== undefined) {\n obj.icon = message.icon;\n }\n return obj;\n },\n create(base) {\n return ToastTrailingElement.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseToastTrailingElement();\n message.label = object.label ?? undefined;\n message.icon = object.icon ?? undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(ToastTrailingElement.$type, ToastTrailingElement);\nfunction createBaseToast() {\n return { text: \"\", appearance: undefined, leadingElement: undefined, trailingElement: undefined };\n}\nexport const Toast = {\n $type: \"devvit.ui.toast.Toast\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.text !== \"\") {\n writer.uint32(10).string(message.text);\n }\n if (message.appearance !== undefined) {\n writer.uint32(16).int32(message.appearance);\n }\n if (message.leadingElement !== undefined) {\n ToastLeadingElement.encode(message.leadingElement, writer.uint32(26).fork()).ldelim();\n }\n if (message.trailingElement !== undefined) {\n ToastTrailingElement.encode(message.trailingElement, writer.uint32(34).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseToast();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.text = reader.string();\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.appearance = reader.int32();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.leadingElement = ToastLeadingElement.decode(reader, reader.uint32());\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.trailingElement = ToastTrailingElement.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n text: isSet(object.text) ? globalThis.String(object.text) : \"\",\n appearance: isSet(object.appearance) ? toastAppearanceFromJSON(object.appearance) : undefined,\n leadingElement: isSet(object.leadingElement) ? ToastLeadingElement.fromJSON(object.leadingElement) : undefined,\n trailingElement: isSet(object.trailingElement)\n ? ToastTrailingElement.fromJSON(object.trailingElement)\n : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.text !== \"\") {\n obj.text = message.text;\n }\n if (message.appearance !== undefined) {\n obj.appearance = toastAppearanceToJSON(message.appearance);\n }\n if (message.leadingElement !== undefined) {\n obj.leadingElement = ToastLeadingElement.toJSON(message.leadingElement);\n }\n if (message.trailingElement !== undefined) {\n obj.trailingElement = ToastTrailingElement.toJSON(message.trailingElement);\n }\n return obj;\n },\n create(base) {\n return Toast.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseToast();\n message.text = object.text ?? \"\";\n message.appearance = object.appearance ?? undefined;\n message.leadingElement = (object.leadingElement !== undefined && object.leadingElement !== null)\n ? ToastLeadingElement.fromPartial(object.leadingElement)\n : undefined;\n message.trailingElement = (object.trailingElement !== undefined && object.trailingElement !== null)\n ? ToastTrailingElement.fromPartial(object.trailingElement)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(Toast.$type, Toast);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #web_view.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { Value } from \"../../../../google/protobuf/struct.js\";\nimport { messageTypeRegistry } from \"../../../../typeRegistry.js\";\nimport { RealtimeSubscriptionEvent } from \"../../effects/v1alpha/realtime_subscriptions.js\";\nimport { FormCanceledEvent, FormSubmittedEvent } from \"../../effects/v1alpha/show_form.js\";\nexport var WebViewVisibility;\n(function (WebViewVisibility) {\n WebViewVisibility[WebViewVisibility[\"WEBVIEW_VISIBLE\"] = 0] = \"WEBVIEW_VISIBLE\";\n WebViewVisibility[WebViewVisibility[\"WEBVIEW_HIDDEN\"] = 1] = \"WEBVIEW_HIDDEN\";\n WebViewVisibility[WebViewVisibility[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(WebViewVisibility || (WebViewVisibility = {}));\nexport function webViewVisibilityFromJSON(object) {\n switch (object) {\n case 0:\n case \"WEBVIEW_VISIBLE\":\n return WebViewVisibility.WEBVIEW_VISIBLE;\n case 1:\n case \"WEBVIEW_HIDDEN\":\n return WebViewVisibility.WEBVIEW_HIDDEN;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return WebViewVisibility.UNRECOGNIZED;\n }\n}\nexport function webViewVisibilityToJSON(object) {\n switch (object) {\n case WebViewVisibility.WEBVIEW_VISIBLE:\n return 0;\n case WebViewVisibility.WEBVIEW_HIDDEN:\n return 1;\n case WebViewVisibility.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nfunction createBaseWebViewPostMessageEvent() {\n return { message: undefined, jsonString: \"\" };\n}\nexport const WebViewPostMessageEvent = {\n $type: \"devvit.ui.events.v1alpha.WebViewPostMessageEvent\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.message !== undefined) {\n Value.encode(Value.wrap(message.message), writer.uint32(10).fork()).ldelim();\n }\n if (message.jsonString !== \"\") {\n writer.uint32(18).string(message.jsonString);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewPostMessageEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.message = Value.unwrap(Value.decode(reader, reader.uint32()));\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.jsonString = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n message: isSet(object?.message) ? object.message : undefined,\n jsonString: isSet(object.jsonString) ? globalThis.String(object.jsonString) : \"\",\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.message !== undefined) {\n obj.message = message.message;\n }\n if (message.jsonString !== \"\") {\n obj.jsonString = message.jsonString;\n }\n return obj;\n },\n create(base) {\n return WebViewPostMessageEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewPostMessageEvent();\n message.message = object.message ?? undefined;\n message.jsonString = object.jsonString ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewPostMessageEvent.$type, WebViewPostMessageEvent);\nfunction createBaseWebViewFullScreenEvent() {\n return { visibility: 0 };\n}\nexport const WebViewFullScreenEvent = {\n $type: \"devvit.ui.events.v1alpha.WebViewFullScreenEvent\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.visibility !== 0) {\n writer.uint32(8).int32(message.visibility);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewFullScreenEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.visibility = reader.int32();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { visibility: isSet(object.visibility) ? webViewVisibilityFromJSON(object.visibility) : 0 };\n },\n toJSON(message) {\n const obj = {};\n if (message.visibility !== 0) {\n obj.visibility = webViewVisibilityToJSON(message.visibility);\n }\n return obj;\n },\n create(base) {\n return WebViewFullScreenEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewFullScreenEvent();\n message.visibility = object.visibility ?? 0;\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewFullScreenEvent.$type, WebViewFullScreenEvent);\nfunction createBaseWebViewEvent() {\n return { postMessage: undefined, fullScreen: undefined };\n}\nexport const WebViewEvent = {\n $type: \"devvit.ui.events.v1alpha.WebViewEvent\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.postMessage !== undefined) {\n WebViewPostMessageEvent.encode(message.postMessage, writer.uint32(10).fork()).ldelim();\n }\n if (message.fullScreen !== undefined) {\n WebViewFullScreenEvent.encode(message.fullScreen, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewEvent();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.postMessage = WebViewPostMessageEvent.decode(reader, reader.uint32());\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.fullScreen = WebViewFullScreenEvent.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n postMessage: isSet(object.postMessage) ? WebViewPostMessageEvent.fromJSON(object.postMessage) : undefined,\n fullScreen: isSet(object.fullScreen) ? WebViewFullScreenEvent.fromJSON(object.fullScreen) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.postMessage !== undefined) {\n obj.postMessage = WebViewPostMessageEvent.toJSON(message.postMessage);\n }\n if (message.fullScreen !== undefined) {\n obj.fullScreen = WebViewFullScreenEvent.toJSON(message.fullScreen);\n }\n return obj;\n },\n create(base) {\n return WebViewEvent.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewEvent();\n message.postMessage = (object.postMessage !== undefined && object.postMessage !== null)\n ? WebViewPostMessageEvent.fromPartial(object.postMessage)\n : undefined;\n message.fullScreen = (object.fullScreen !== undefined && object.fullScreen !== null)\n ? WebViewFullScreenEvent.fromPartial(object.fullScreen)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewEvent.$type, WebViewEvent);\nfunction createBaseWebViewInternalEventMessage() {\n return { id: \"\", formCanceled: undefined, formSubmitted: undefined, realtimeEvent: undefined };\n}\nexport const WebViewInternalEventMessage = {\n $type: \"devvit.ui.events.v1alpha.WebViewInternalEventMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.id !== \"\") {\n writer.uint32(10).string(message.id);\n }\n if (message.formCanceled !== undefined) {\n FormCanceledEvent.encode(message.formCanceled, writer.uint32(18).fork()).ldelim();\n }\n if (message.formSubmitted !== undefined) {\n FormSubmittedEvent.encode(message.formSubmitted, writer.uint32(26).fork()).ldelim();\n }\n if (message.realtimeEvent !== undefined) {\n RealtimeSubscriptionEvent.encode(message.realtimeEvent, writer.uint32(34).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewInternalEventMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.id = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.formCanceled = FormCanceledEvent.decode(reader, reader.uint32());\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.formSubmitted = FormSubmittedEvent.decode(reader, reader.uint32());\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.realtimeEvent = RealtimeSubscriptionEvent.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n id: isSet(object.id) ? globalThis.String(object.id) : \"\",\n formCanceled: isSet(object.formCanceled) ? FormCanceledEvent.fromJSON(object.formCanceled) : undefined,\n formSubmitted: isSet(object.formSubmitted) ? FormSubmittedEvent.fromJSON(object.formSubmitted) : undefined,\n realtimeEvent: isSet(object.realtimeEvent) ? RealtimeSubscriptionEvent.fromJSON(object.realtimeEvent) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.id !== \"\") {\n obj.id = message.id;\n }\n if (message.formCanceled !== undefined) {\n obj.formCanceled = FormCanceledEvent.toJSON(message.formCanceled);\n }\n if (message.formSubmitted !== undefined) {\n obj.formSubmitted = FormSubmittedEvent.toJSON(message.formSubmitted);\n }\n if (message.realtimeEvent !== undefined) {\n obj.realtimeEvent = RealtimeSubscriptionEvent.toJSON(message.realtimeEvent);\n }\n return obj;\n },\n create(base) {\n return WebViewInternalEventMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewInternalEventMessage();\n message.id = object.id ?? \"\";\n message.formCanceled = (object.formCanceled !== undefined && object.formCanceled !== null)\n ? FormCanceledEvent.fromPartial(object.formCanceled)\n : undefined;\n message.formSubmitted = (object.formSubmitted !== undefined && object.formSubmitted !== null)\n ? FormSubmittedEvent.fromPartial(object.formSubmitted)\n : undefined;\n message.realtimeEvent = (object.realtimeEvent !== undefined && object.realtimeEvent !== null)\n ? RealtimeSubscriptionEvent.fromPartial(object.realtimeEvent)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewInternalEventMessage.$type, WebViewInternalEventMessage);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #logger.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { map } from \"rxjs/operators\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { StringValue, UInt32Value } from \"../../../google/protobuf/wrappers.js\";\nimport { messageTypeRegistry } from \"../../../typeRegistry.js\";\nexport var Severity;\n(function (Severity) {\n /**\n * DEBUG - Debug logs should never be committed.\n *\n * These logs are always enabled in development builds but disabled in\n * production.\n */\n Severity[Severity[\"DEBUG\"] = 0] = \"DEBUG\";\n /**\n * INFO - Informational logs should be used to mark significant non-erroneous events.\n * Little information is significant.\n *\n * These logs are enabled by default in development builds but may be\n * disabled in production.\n */\n Severity[Severity[\"INFO\"] = 1] = \"INFO\";\n /**\n * WARN - Warnings should be reported as long as they do not contain sensitive data.\n *\n * These logs are always enabled.\n */\n Severity[Severity[\"WARN\"] = 2] = \"WARN\";\n /**\n * ERROR - Errors should always be reported as long as they do not contain sensitive\n * data.\n */\n Severity[Severity[\"ERROR\"] = 3] = \"ERROR\";\n /**\n * VERBOSE - Verbose logs are useful for tracing but usually a hindrance for others not\n * working where the log is placed. Keep our logs clean and add with care.\n *\n * These logs are disabled by default in all environments but can be enabled.\n */\n Severity[Severity[\"VERBOSE\"] = 4] = \"VERBOSE\";\n Severity[Severity[\"UNRECOGNIZED\"] = -1] = \"UNRECOGNIZED\";\n})(Severity || (Severity = {}));\nexport function severityFromJSON(object) {\n switch (object) {\n case 0:\n case \"DEBUG\":\n return Severity.DEBUG;\n case 1:\n case \"INFO\":\n return Severity.INFO;\n case 2:\n case \"WARN\":\n return Severity.WARN;\n case 3:\n case \"ERROR\":\n return Severity.ERROR;\n case 4:\n case \"VERBOSE\":\n return Severity.VERBOSE;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return Severity.UNRECOGNIZED;\n }\n}\nexport function severityToJSON(object) {\n switch (object) {\n case Severity.DEBUG:\n return 0;\n case Severity.INFO:\n return 1;\n case Severity.WARN:\n return 2;\n case Severity.ERROR:\n return 3;\n case Severity.VERBOSE:\n return 4;\n case Severity.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nfunction createBaseLogErrorMessage() {\n return {\n message: \"\",\n name: \"\",\n fileName: undefined,\n lineNumber: undefined,\n columnNumber: undefined,\n stack: undefined,\n timestamp: undefined,\n tags: [],\n };\n}\nexport const LogErrorMessage = {\n $type: \"devvit.plugin.logger.LogErrorMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.message !== \"\") {\n writer.uint32(10).string(message.message);\n }\n if (message.name !== \"\") {\n writer.uint32(18).string(message.name);\n }\n if (message.fileName !== undefined) {\n StringValue.encode({ value: message.fileName }, writer.uint32(26).fork()).ldelim();\n }\n if (message.lineNumber !== undefined) {\n UInt32Value.encode({ value: message.lineNumber }, writer.uint32(34).fork()).ldelim();\n }\n if (message.columnNumber !== undefined) {\n UInt32Value.encode({ value: message.columnNumber }, writer.uint32(42).fork()).ldelim();\n }\n if (message.stack !== undefined) {\n StringValue.encode({ value: message.stack }, writer.uint32(50).fork()).ldelim();\n }\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(58).fork()).ldelim();\n }\n for (const v of message.tags) {\n writer.uint32(66).string(v);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogErrorMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.message = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.name = reader.string();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.fileName = StringValue.decode(reader, reader.uint32()).value;\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.lineNumber = UInt32Value.decode(reader, reader.uint32()).value;\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.columnNumber = UInt32Value.decode(reader, reader.uint32()).value;\n continue;\n case 6:\n if (tag !== 50) {\n break;\n }\n message.stack = StringValue.decode(reader, reader.uint32()).value;\n continue;\n case 7:\n if (tag !== 58) {\n break;\n }\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n case 8:\n if (tag !== 66) {\n break;\n }\n message.tags.push(reader.string());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n message: isSet(object.message) ? globalThis.String(object.message) : \"\",\n name: isSet(object.name) ? globalThis.String(object.name) : \"\",\n fileName: isSet(object.fileName) ? String(object.fileName) : undefined,\n lineNumber: isSet(object.lineNumber) ? Number(object.lineNumber) : undefined,\n columnNumber: isSet(object.columnNumber) ? Number(object.columnNumber) : undefined,\n stack: isSet(object.stack) ? String(object.stack) : undefined,\n timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,\n tags: globalThis.Array.isArray(object?.tags) ? object.tags.map((e) => globalThis.String(e)) : [],\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.message !== \"\") {\n obj.message = message.message;\n }\n if (message.name !== \"\") {\n obj.name = message.name;\n }\n if (message.fileName !== undefined) {\n obj.fileName = message.fileName;\n }\n if (message.lineNumber !== undefined) {\n obj.lineNumber = message.lineNumber;\n }\n if (message.columnNumber !== undefined) {\n obj.columnNumber = message.columnNumber;\n }\n if (message.stack !== undefined) {\n obj.stack = message.stack;\n }\n if (message.timestamp !== undefined) {\n obj.timestamp = message.timestamp.toISOString();\n }\n if (message.tags?.length) {\n obj.tags = message.tags;\n }\n return obj;\n },\n create(base) {\n return LogErrorMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseLogErrorMessage();\n message.message = object.message ?? \"\";\n message.name = object.name ?? \"\";\n message.fileName = object.fileName ?? undefined;\n message.lineNumber = object.lineNumber ?? undefined;\n message.columnNumber = object.columnNumber ?? undefined;\n message.stack = object.stack ?? undefined;\n message.timestamp = object.timestamp ?? undefined;\n message.tags = object.tags?.map((e) => e) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(LogErrorMessage.$type, LogErrorMessage);\nfunction createBaseLogEventMessage() {\n return { type: \"\", timestamp: undefined, labels: {}, data: {} };\n}\nexport const LogEventMessage = {\n $type: \"devvit.plugin.logger.LogEventMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.type !== \"\") {\n writer.uint32(10).string(message.type);\n }\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();\n }\n Object.entries(message.labels).forEach(([key, value]) => {\n LogEventMessage_LabelsEntry.encode({ key: key, value }, writer.uint32(26).fork()).ldelim();\n });\n Object.entries(message.data).forEach(([key, value]) => {\n LogEventMessage_DataEntry.encode({ key: key, value }, writer.uint32(34).fork()).ldelim();\n });\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogEventMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.type = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n const entry3 = LogEventMessage_LabelsEntry.decode(reader, reader.uint32());\n if (entry3.value !== undefined) {\n message.labels[entry3.key] = entry3.value;\n }\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n const entry4 = LogEventMessage_DataEntry.decode(reader, reader.uint32());\n if (entry4.value !== undefined) {\n message.data[entry4.key] = entry4.value;\n }\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n type: isSet(object.type) ? globalThis.String(object.type) : \"\",\n timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,\n labels: isObject(object.labels)\n ? Object.entries(object.labels).reduce((acc, [key, value]) => {\n acc[key] = String(value);\n return acc;\n }, {})\n : {},\n data: isObject(object.data)\n ? Object.entries(object.data).reduce((acc, [key, value]) => {\n acc[key] = String(value);\n return acc;\n }, {})\n : {},\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.type !== \"\") {\n obj.type = message.type;\n }\n if (message.timestamp !== undefined) {\n obj.timestamp = message.timestamp.toISOString();\n }\n if (message.labels) {\n const entries = Object.entries(message.labels);\n if (entries.length > 0) {\n obj.labels = {};\n entries.forEach(([k, v]) => {\n obj.labels[k] = v;\n });\n }\n }\n if (message.data) {\n const entries = Object.entries(message.data);\n if (entries.length > 0) {\n obj.data = {};\n entries.forEach(([k, v]) => {\n obj.data[k] = v;\n });\n }\n }\n return obj;\n },\n create(base) {\n return LogEventMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseLogEventMessage();\n message.type = object.type ?? \"\";\n message.timestamp = object.timestamp ?? undefined;\n message.labels = Object.entries(object.labels ?? {}).reduce((acc, [key, value]) => {\n if (value !== undefined) {\n acc[key] = globalThis.String(value);\n }\n return acc;\n }, {});\n message.data = Object.entries(object.data ?? {}).reduce((acc, [key, value]) => {\n if (value !== undefined) {\n acc[key] = globalThis.String(value);\n }\n return acc;\n }, {});\n return message;\n },\n};\nmessageTypeRegistry.set(LogEventMessage.$type, LogEventMessage);\nfunction createBaseLogEventMessage_LabelsEntry() {\n return { key: \"\", value: \"\" };\n}\nexport const LogEventMessage_LabelsEntry = {\n $type: \"devvit.plugin.logger.LogEventMessage.LabelsEntry\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.key !== \"\") {\n writer.uint32(10).string(message.key);\n }\n if (message.value !== \"\") {\n writer.uint32(18).string(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogEventMessage_LabelsEntry();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.key = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.value = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n key: isSet(object.key) ? globalThis.String(object.key) : \"\",\n value: isSet(object.value) ? globalThis.String(object.value) : \"\",\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.key !== \"\") {\n obj.key = message.key;\n }\n if (message.value !== \"\") {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return LogEventMessage_LabelsEntry.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseLogEventMessage_LabelsEntry();\n message.key = object.key ?? \"\";\n message.value = object.value ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(LogEventMessage_LabelsEntry.$type, LogEventMessage_LabelsEntry);\nfunction createBaseLogEventMessage_DataEntry() {\n return { key: \"\", value: \"\" };\n}\nexport const LogEventMessage_DataEntry = {\n $type: \"devvit.plugin.logger.LogEventMessage.DataEntry\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.key !== \"\") {\n writer.uint32(10).string(message.key);\n }\n if (message.value !== \"\") {\n writer.uint32(18).string(message.value);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogEventMessage_DataEntry();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.key = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.value = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n key: isSet(object.key) ? globalThis.String(object.key) : \"\",\n value: isSet(object.value) ? globalThis.String(object.value) : \"\",\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.key !== \"\") {\n obj.key = message.key;\n }\n if (message.value !== \"\") {\n obj.value = message.value;\n }\n return obj;\n },\n create(base) {\n return LogEventMessage_DataEntry.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseLogEventMessage_DataEntry();\n message.key = object.key ?? \"\";\n message.value = object.value ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(LogEventMessage_DataEntry.$type, LogEventMessage_DataEntry);\nfunction createBaseLogMessage() {\n return { severity: 0, message: \"\", timestamp: undefined, tags: [] };\n}\nexport const LogMessage = {\n $type: \"devvit.plugin.logger.LogMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.severity !== 0) {\n writer.uint32(8).int32(message.severity);\n }\n if (message.message !== \"\") {\n writer.uint32(18).string(message.message);\n }\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim();\n }\n for (const v of message.tags) {\n writer.uint32(34).string(v);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.severity = reader.int32();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.message = reader.string();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.tags.push(reader.string());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n severity: isSet(object.severity) ? severityFromJSON(object.severity) : 0,\n message: isSet(object.message) ? globalThis.String(object.message) : \"\",\n timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,\n tags: globalThis.Array.isArray(object?.tags) ? object.tags.map((e) => globalThis.String(e)) : [],\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.severity !== 0) {\n obj.severity = severityToJSON(message.severity);\n }\n if (message.message !== \"\") {\n obj.message = message.message;\n }\n if (message.timestamp !== undefined) {\n obj.timestamp = message.timestamp.toISOString();\n }\n if (message.tags?.length) {\n obj.tags = message.tags;\n }\n return obj;\n },\n create(base) {\n return LogMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseLogMessage();\n message.severity = object.severity ?? 0;\n message.message = object.message ?? \"\";\n message.timestamp = object.timestamp ?? undefined;\n message.tags = object.tags?.map((e) => e) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(LogMessage.$type, LogMessage);\nfunction createBaseLogMessages() {\n return { messages: [] };\n}\nexport const LogMessages = {\n $type: \"devvit.plugin.logger.LogMessages\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.messages) {\n LogMessage.encode(v, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogMessages();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.messages.push(LogMessage.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n messages: globalThis.Array.isArray(object?.messages)\n ? object.messages.map((e) => LogMessage.fromJSON(e))\n : [],\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.messages?.length) {\n obj.messages = message.messages.map((e) => LogMessage.toJSON(e));\n }\n return obj;\n },\n create(base) {\n return LogMessages.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseLogMessages();\n message.messages = object.messages?.map((e) => LogMessage.fromPartial(e)) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(LogMessages.$type, LogMessages);\nfunction createBaseLogErrorResponse() {\n return {};\n}\nexport const LogErrorResponse = {\n $type: \"devvit.plugin.logger.LogErrorResponse\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogErrorResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return LogErrorResponse.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseLogErrorResponse();\n return message;\n },\n};\nmessageTypeRegistry.set(LogErrorResponse.$type, LogErrorResponse);\nfunction createBaseLogEventResponse() {\n return {};\n}\nexport const LogEventResponse = {\n $type: \"devvit.plugin.logger.LogEventResponse\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogEventResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return LogEventResponse.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseLogEventResponse();\n return message;\n },\n};\nmessageTypeRegistry.set(LogEventResponse.$type, LogEventResponse);\nfunction createBaseLogResponse() {\n return {};\n}\nexport const LogResponse = {\n $type: \"devvit.plugin.logger.LogResponse\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLogResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return LogResponse.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBaseLogResponse();\n return message;\n },\n};\nmessageTypeRegistry.set(LogResponse.$type, LogResponse);\nexport const LoggerServiceName = \"devvit.plugin.logger.Logger\";\nexport class LoggerClientImpl {\n constructor(rpc, opts) {\n this.service = opts?.service || LoggerServiceName;\n this.rpc = rpc;\n this.Error = this.Error.bind(this);\n this.Event = this.Event.bind(this);\n this.Log = this.Log.bind(this);\n this.LogBatch = this.LogBatch.bind(this);\n this.LogStream = this.LogStream.bind(this);\n }\n Error(request, metadata) {\n const data = LogErrorMessage.encode(request).finish();\n const promise = this.rpc.request(this.service, \"Error\", data, metadata);\n return promise.then((data) => LogErrorResponse.decode(_m0.Reader.create(data)));\n }\n Event(request, metadata) {\n const data = LogEventMessage.encode(request).finish();\n const promise = this.rpc.request(this.service, \"Event\", data, metadata);\n return promise.then((data) => LogEventResponse.decode(_m0.Reader.create(data)));\n }\n Log(request, metadata) {\n const data = LogMessage.encode(request).finish();\n const promise = this.rpc.request(this.service, \"Log\", data, metadata);\n return promise.then((data) => LogResponse.decode(_m0.Reader.create(data)));\n }\n LogBatch(request, metadata) {\n const data = LogMessages.encode(request).finish();\n const promise = this.rpc.request(this.service, \"LogBatch\", data, metadata);\n return promise.then((data) => LogResponse.decode(_m0.Reader.create(data)));\n }\n LogStream(request, metadata) {\n const data = request.pipe(map((request) => LogMessage.encode(request).finish()));\n const promise = this.rpc.clientStreamingRequest(this.service, \"LogStream\", data, metadata);\n return promise.then((data) => LogResponse.decode(_m0.Reader.create(data)));\n }\n}\nexport const LoggerDefinition = {\n name: \"Logger\",\n fullName: \"devvit.plugin.logger.Logger\",\n methods: {\n error: {\n name: \"Error\",\n requestType: LogErrorMessage,\n requestStream: false,\n responseType: LogErrorResponse,\n responseStream: false,\n options: {},\n },\n /**\n * Record a notable event or historical record for analytics and security.\n *\n * @internal\n */\n event: {\n name: \"Event\",\n requestType: LogEventMessage,\n requestStream: false,\n responseType: LogEventResponse,\n responseStream: false,\n options: {},\n },\n log: {\n name: \"Log\",\n requestType: LogMessage,\n requestStream: false,\n responseType: LogResponse,\n responseStream: false,\n options: {},\n },\n logBatch: {\n name: \"LogBatch\",\n requestType: LogMessages,\n requestStream: false,\n responseType: LogResponse,\n responseStream: false,\n options: {},\n },\n /**\n * Send log messages in a stream rather than unary calls.\n * This can be useful for guaranteeing ordering of received log messages.\n */\n logStream: {\n name: \"LogStream\",\n requestType: LogMessage,\n requestStream: true,\n responseType: LogResponse,\n responseStream: false,\n options: {},\n },\n },\n};\nfunction toTimestamp(date) {\n const seconds = Math.trunc(date.getTime() / 1000);\n const nanos = (date.getTime() % 1000) * 1000000;\n return { seconds, nanos };\n}\nfunction fromTimestamp(t) {\n let millis = (t.seconds || 0) * 1000;\n millis += (t.nanos || 0) / 1000000;\n return new globalThis.Date(millis);\n}\nfunction fromJsonTimestamp(o) {\n if (o instanceof globalThis.Date) {\n return o;\n }\n else if (typeof o === \"string\") {\n return new globalThis.Date(o);\n }\n else {\n return fromTimestamp(Timestamp.fromJSON(o));\n }\n}\nfunction isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "/**\n * #timestamp.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport Long from \"long\";\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../typeRegistry.js\";\nfunction createBaseTimestamp() {\n return { seconds: 0, nanos: 0 };\n}\nexport const Timestamp = {\n $type: \"google.protobuf.Timestamp\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.seconds !== 0) {\n writer.uint32(8).int64(message.seconds);\n }\n if (message.nanos !== 0) {\n writer.uint32(16).int32(message.nanos);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseTimestamp();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 8) {\n break;\n }\n message.seconds = longToNumber(reader.int64());\n continue;\n case 2:\n if (tag !== 16) {\n break;\n }\n message.nanos = reader.int32();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n seconds: isSet(object.seconds) ? globalThis.Number(object.seconds) : 0,\n nanos: isSet(object.nanos) ? globalThis.Number(object.nanos) : 0,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.seconds !== 0) {\n obj.seconds = Math.round(message.seconds);\n }\n if (message.nanos !== 0) {\n obj.nanos = Math.round(message.nanos);\n }\n return obj;\n },\n create(base) {\n return Timestamp.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseTimestamp();\n message.seconds = object.seconds ?? 0;\n message.nanos = object.nanos ?? 0;\n return message;\n },\n};\nmessageTypeRegistry.set(Timestamp.$type, Timestamp);\nfunction longToNumber(long) {\n if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {\n throw new globalThis.Error(\"Value is larger than Number.MAX_SAFE_INTEGER\");\n }\n return long.toNumber();\n}\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long;\n _m0.configure();\n}\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "export var ActorCommand;\n(function (ActorCommand) {\n /**\n * Collect and post app console logs in command responses. For a sandboxed\n * app, this would be every console.log() call made in the VM. When disabled,\n * logs are present but empty.\n */\n ActorCommand[\"ENABLE_APP_LOGGING\"] = \"enableAppLogging\";\n /** Enable runtime debug logs. */\n ActorCommand[\"ENABLE_DEBUG_LOGGING\"] = \"enableDebugLogging\";\n ActorCommand[\"ENABLE_PLUGINS\"] = \"enablePlugins\";\n ActorCommand[\"LOAD_BUNDLE\"] = \"loadBundle\";\n ActorCommand[\"CALL\"] = \"call\";\n ActorCommand[\"PLUGIN_RESPONSE\"] = \"pluginResponse\";\n ActorCommand[\"QUIT\"] = \"quit\";\n})(ActorCommand || (ActorCommand = {}));\nexport var ActorResponse;\n(function (ActorResponse) {\n /** Runtime itself and app environment is initialized. Polyfills are ready. */\n ActorResponse[\"READY\"] = \"ready\";\n ActorResponse[\"PLUGINS_CONFIGURED\"] = \"pluginsConfigured\";\n ActorResponse[\"BUNDLE_LOADED\"] = \"bundleLoaded\";\n ActorResponse[\"BUNDLE_LOAD_FAILED\"] = \"bundleLoadFailed\";\n ActorResponse[\"RETURN\"] = \"return\";\n ActorResponse[\"ERROR\"] = \"error\";\n ActorResponse[\"CIRCUIT_BREAKER\"] = \"circuitBreaker\";\n ActorResponse[\"PLUGIN_CALL\"] = \"pluginCall\";\n /**\n * An un-awaited promise rejected. This response has no originating request.\n */\n ActorResponse[\"UNHANDLED_REJECTION\"] = \"unhandledRejection\";\n})(ActorResponse || (ActorResponse = {}));\n", "export function getAppName(bundle) {\n return bundle.hostname.split('.')[1] ?? bundle.hostname;\n}\nexport function getAppTitle(bundle) {\n const appName = getAppName(bundle);\n return `${appName}@${bundle.actor?.version} by ${bundle.actor?.owner}`;\n}\n", "/**\n * #playtest.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../typeRegistry.js\";\nimport { LogMessage } from \"../plugin/logger/logger.js\";\nfunction createBasePlaytestProviderMessage() {\n return { callState: undefined, connect: undefined };\n}\nexport const PlaytestProviderMessage = {\n $type: \"devvit.cli.PlaytestProviderMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.callState !== undefined) {\n PlaytestCallState.encode(message.callState, writer.uint32(10).fork()).ldelim();\n }\n if (message.connect !== undefined) {\n PlaytestConnect.encode(message.connect, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePlaytestProviderMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.callState = PlaytestCallState.decode(reader, reader.uint32());\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.connect = PlaytestConnect.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n callState: isSet(object.callState) ? PlaytestCallState.fromJSON(object.callState) : undefined,\n connect: isSet(object.connect) ? PlaytestConnect.fromJSON(object.connect) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.callState !== undefined) {\n obj.callState = PlaytestCallState.toJSON(message.callState);\n }\n if (message.connect !== undefined) {\n obj.connect = PlaytestConnect.toJSON(message.connect);\n }\n return obj;\n },\n create(base) {\n return PlaytestProviderMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBasePlaytestProviderMessage();\n message.callState = (object.callState !== undefined && object.callState !== null)\n ? PlaytestCallState.fromPartial(object.callState)\n : undefined;\n message.connect = (object.connect !== undefined && object.connect !== null)\n ? PlaytestConnect.fromPartial(object.connect)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(PlaytestProviderMessage.$type, PlaytestProviderMessage);\nfunction createBasePlaytestSubscriberMessage() {\n return { appInstalled: undefined };\n}\nexport const PlaytestSubscriberMessage = {\n $type: \"devvit.cli.PlaytestSubscriberMessage\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.appInstalled !== undefined) {\n PlaytestAppInstalled.encode(message.appInstalled, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePlaytestSubscriberMessage();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.appInstalled = PlaytestAppInstalled.decode(reader, reader.uint32());\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n appInstalled: isSet(object.appInstalled) ? PlaytestAppInstalled.fromJSON(object.appInstalled) : undefined,\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.appInstalled !== undefined) {\n obj.appInstalled = PlaytestAppInstalled.toJSON(message.appInstalled);\n }\n return obj;\n },\n create(base) {\n return PlaytestSubscriberMessage.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBasePlaytestSubscriberMessage();\n message.appInstalled = (object.appInstalled !== undefined && object.appInstalled !== null)\n ? PlaytestAppInstalled.fromPartial(object.appInstalled)\n : undefined;\n return message;\n },\n};\nmessageTypeRegistry.set(PlaytestSubscriberMessage.$type, PlaytestSubscriberMessage);\nfunction createBasePlaytestAppInstalled() {\n return {};\n}\nexport const PlaytestAppInstalled = {\n $type: \"devvit.cli.PlaytestAppInstalled\",\n encode(_, writer = _m0.Writer.create()) {\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePlaytestAppInstalled();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(_) {\n return {};\n },\n toJSON(_) {\n const obj = {};\n return obj;\n },\n create(base) {\n return PlaytestAppInstalled.fromPartial(base ?? {});\n },\n fromPartial(_) {\n const message = createBasePlaytestAppInstalled();\n return message;\n },\n};\nmessageTypeRegistry.set(PlaytestAppInstalled.$type, PlaytestAppInstalled);\nfunction createBasePlaytestCallState() {\n return { logs: [] };\n}\nexport const PlaytestCallState = {\n $type: \"devvit.cli.PlaytestCallState\",\n encode(message, writer = _m0.Writer.create()) {\n for (const v of message.logs) {\n LogMessage.encode(v, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePlaytestCallState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.logs.push(LogMessage.decode(reader, reader.uint32()));\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { logs: globalThis.Array.isArray(object?.logs) ? object.logs.map((e) => LogMessage.fromJSON(e)) : [] };\n },\n toJSON(message) {\n const obj = {};\n if (message.logs?.length) {\n obj.logs = message.logs.map((e) => LogMessage.toJSON(e));\n }\n return obj;\n },\n create(base) {\n return PlaytestCallState.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBasePlaytestCallState();\n message.logs = object.logs?.map((e) => LogMessage.fromPartial(e)) || [];\n return message;\n },\n};\nmessageTypeRegistry.set(PlaytestCallState.$type, PlaytestCallState);\nfunction createBasePlaytestConnect() {\n return { url: \"\" };\n}\nexport const PlaytestConnect = {\n $type: \"devvit.cli.PlaytestConnect\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.url !== \"\") {\n writer.uint32(10).string(message.url);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePlaytestConnect();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.url = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return { url: isSet(object.url) ? globalThis.String(object.url) : \"\" };\n },\n toJSON(message) {\n const obj = {};\n if (message.url !== \"\") {\n obj.url = message.url;\n }\n return obj;\n },\n create(base) {\n return PlaytestConnect.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBasePlaytestConnect();\n message.url = object.url ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(PlaytestConnect.$type, PlaytestConnect);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "export const playtestQueryParam = 'playtest';\n/** Must align to Devvit CLI. */\nexport const playtestURI = 'ws://localhost:5678';\n/**\n * @arg app App name (slug). Do not derive from `location`.\n * @ret true if the current URL supports playtests.\n */\nexport function isPlaytest(app) {\n const playtest = getPlaytestFilter();\n return playtest === '' || playtest === app;\n}\nexport function getPlaytestFilter() {\n if (!globalThis.location)\n return;\n // to-do: consolidate with devvit-global.ts by moving devvit-global to\n // runtime-lite since ui-renderer depends on runtime-lite and runtime-lite has\n // web client-only components like BrowserLiteClient.\n const url = new URL(location.href);\n return url.searchParams.get(playtestQueryParam) ?? undefined;\n}\n", "// Playtest is a development mode for runtime-lite apps. When playtesting, the\n// local runtime client may use a bidirectional socket to send and receive data\n// such as sending local runtime logs to the Devvit CLI or receiving notice that\n// a new version of the app has been installed and the client should be\n// reloaded. The \"playtest\" term also applies to production apps that are being\n// loaded in this development mode. Eg, observing a closed source app's logs\n// with `devvit logs` even though we can't install new versions with\n// `devvit playtest`.\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _PlaytestClient_instances, _PlaytestClient_state, _PlaytestClient_newOpening, _PlaytestClient_newRetrying, _PlaytestClient_onClose, _PlaytestClient_onMsg, _PlaytestClient_onOpen, _PlaytestClient_onRetry;\nimport { PlaytestSubscriberMessage, } from '@devvit/protos/types/devvit/cli/playtest.js';\nimport { playtestURI } from './PlaytestUtil.js';\n/** Milliseconds to wait between reconnection attempts. */\nconst retryInterval = 15000;\n/**\n * Playtest development mode socket state machine. Connects and maintains\n * connection to the Devvit CLI and calls back on significant state changes.\n *\n * ```\n * \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25B2\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25B2\n * \u2502 \u2502 close \u2502 close\n * \u250C\u2500\u2500\u25BC\u2500\u2510 open \u250C\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2510 onOpen \u250C\u2500\u2500\u2500\u2534\u2500\u2500\u2510\n * \u2502Init\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25BAOpening\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25BAOpened\u2502\n * \u2514\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u252C\u2500\u25B2\u2500\u2500\u2518 notify \u2514\u2500\u2500\u2500\u252C\u2500\u2500\u2518\n * onClose\u2502 \u2502onRetry \u2502\n * \u250C\u2500\u2500\u25BC\u2500\u2534\u2500\u2500\u2500\u2510 onClose \u2502\n * \u2502Retrying\u25C4\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n * \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 notify\n * ```\n */\nexport class PlaytestClient {\n constructor() {\n _PlaytestClient_instances.add(this);\n _PlaytestClient_state.set(this, { type: 'Init' });\n _PlaytestClient_onClose.set(this, () => {\n if (__classPrivateFieldGet(this, _PlaytestClient_state, \"f\").type === 'Opened')\n this.onState?.('Closed');\n __classPrivateFieldSet(this, _PlaytestClient_state, __classPrivateFieldGet(this, _PlaytestClient_instances, \"m\", _PlaytestClient_newRetrying).call(this), \"f\");\n });\n _PlaytestClient_onMsg.set(this, (ev) => {\n const msg = PlaytestSubscriberMessage.fromJSON(JSON.parse(ev.data));\n // eslint-disable-next-line sonarjs/no-small-switch\n switch (true) {\n case msg.appInstalled != null:\n this.onState?.('Reloading');\n break;\n }\n });\n _PlaytestClient_onOpen.set(this, () => {\n if (__classPrivateFieldGet(this, _PlaytestClient_state, \"f\").type !== 'Opening')\n throw Error(`invalid transition from ${__classPrivateFieldGet(this, _PlaytestClient_state, \"f\").type}`);\n this.onState?.('Opened');\n __classPrivateFieldSet(this, _PlaytestClient_state, { sock: __classPrivateFieldGet(this, _PlaytestClient_state, \"f\").sock, type: 'Opened' }, \"f\");\n this.send({ connect: { url: location.href } });\n });\n _PlaytestClient_onRetry.set(this, () => {\n __classPrivateFieldSet(this, _PlaytestClient_state, __classPrivateFieldGet(this, _PlaytestClient_instances, \"m\", _PlaytestClient_newOpening).call(this), \"f\");\n });\n }\n /** The Close PlaytestState transition is not sent from this function. */\n close() {\n if ('timer' in __classPrivateFieldGet(this, _PlaytestClient_state, \"f\"))\n clearTimeout(__classPrivateFieldGet(this, _PlaytestClient_state, \"f\").timer);\n if ('sock' in __classPrivateFieldGet(this, _PlaytestClient_state, \"f\")) {\n __classPrivateFieldGet(this, _PlaytestClient_state, \"f\").sock.onopen = null;\n __classPrivateFieldGet(this, _PlaytestClient_state, \"f\").sock.onmessage = null;\n __classPrivateFieldGet(this, _PlaytestClient_state, \"f\").sock.onclose = null;\n __classPrivateFieldGet(this, _PlaytestClient_state, \"f\").sock.close();\n }\n __classPrivateFieldSet(this, _PlaytestClient_state, { type: 'Init' }, \"f\");\n }\n open() {\n if (__classPrivateFieldGet(this, _PlaytestClient_state, \"f\").type !== 'Init')\n return;\n __classPrivateFieldSet(this, _PlaytestClient_state, __classPrivateFieldGet(this, _PlaytestClient_instances, \"m\", _PlaytestClient_newOpening).call(this), \"f\");\n }\n /** Attempts to send data. If unopened or failure, data is lost. */\n send(msg) {\n if ('sock' in __classPrivateFieldGet(this, _PlaytestClient_state, \"f\"))\n __classPrivateFieldGet(this, _PlaytestClient_state, \"f\").sock.send(JSON.stringify(msg));\n else\n console.warn('devvit playtest message dropped', msg);\n }\n}\n_PlaytestClient_state = new WeakMap(), _PlaytestClient_onClose = new WeakMap(), _PlaytestClient_onMsg = new WeakMap(), _PlaytestClient_onOpen = new WeakMap(), _PlaytestClient_onRetry = new WeakMap(), _PlaytestClient_instances = new WeakSet(), _PlaytestClient_newOpening = function _PlaytestClient_newOpening() {\n // (There is no means to suppress DevTools console errors originating from a\n // failed connection.)\n const sock = new WebSocket(playtestURI);\n sock.onclose = __classPrivateFieldGet(this, _PlaytestClient_onClose, \"f\");\n sock.onmessage = __classPrivateFieldGet(this, _PlaytestClient_onMsg, \"f\");\n sock.onopen = __classPrivateFieldGet(this, _PlaytestClient_onOpen, \"f\");\n return { sock, type: 'Opening' };\n}, _PlaytestClient_newRetrying = function _PlaytestClient_newRetrying() {\n return { timer: setTimeout(__classPrivateFieldGet(this, _PlaytestClient_onRetry, \"f\"), retryInterval), type: 'Retrying' };\n};\n", "/// <reference lib=\"dom\"/>\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _BrowserLiteClient_instances, _BrowserLiteClient_workerSrc, _BrowserLiteClient_workerName, _BrowserLiteClient_worker, _BrowserLiteClient_ready, _BrowserLiteClient_workerReady, _BrowserLiteClient_bundleReady, _BrowserLiteClient_callId, _BrowserLiteClient_bundle, _BrowserLiteClient_returnHandlers, _BrowserLiteClient_onLoadHandler, _BrowserLiteClient_onError, _BrowserLiteClient_pluginOptions, _BrowserLiteClient_playtest, _BrowserLiteClient_playtestFilter, _BrowserLiteClient_runtimeDebugLogging, _BrowserLiteClient_runtimeInitMetric, _BrowserLiteClient_handleResponse, _BrowserLiteClient_loadPlugins, _BrowserLiteClient_log, _BrowserLiteClient_callLoadBundle, _BrowserLiteClient_onPlaytest;\nimport { Severity } from '@devvit/protos/types/devvit/plugin/logger/logger.js';\nimport { CircuitBreakerResponse } from '@devvit/shared-types/CircuitBreaker.js';\nimport { ActorCommand, ActorResponse } from '../types/Commands.js';\nimport { getAppName } from './ClientShared.js';\nimport { PlaytestClient } from './playtest/PlaytestClient.js';\nimport { getPlaytestFilter, isPlaytest, playtestQueryParam } from './playtest/PlaytestUtil.js';\nconst severityByAppMethod = {\n debug: Severity.DEBUG,\n error: Severity.ERROR,\n info: Severity.INFO,\n log: Severity.DEBUG,\n trace: Severity.DEBUG,\n warn: Severity.WARN,\n};\n/**\n * Wraps worker, runtime lifecycles, and call un/packing.\n *\n * Used by Shreddit via devvit-surface and devvit-custom-post(deprecated). A feed would have one client per\n * post. Not used by native mobile apps which doesn't have workers.\n *\n * Web workers can run code from data URI or URL of window origin.\n */\nexport class BrowserLiteClient {\n /** @arg onError Worker error event handler. */\n constructor(workerSrc, name, onError, pluginOptions) {\n _BrowserLiteClient_instances.add(this);\n /** The runtime. */\n _BrowserLiteClient_workerSrc.set(this, void 0);\n _BrowserLiteClient_workerName.set(this, void 0);\n _BrowserLiteClient_worker.set(this, void 0);\n _BrowserLiteClient_ready.set(this, false);\n _BrowserLiteClient_workerReady.set(this, false);\n _BrowserLiteClient_bundleReady.set(this, false);\n _BrowserLiteClient_callId.set(this, 0);\n _BrowserLiteClient_bundle.set(this, void 0);\n _BrowserLiteClient_returnHandlers.set(this, {});\n _BrowserLiteClient_onLoadHandler.set(this, void 0);\n _BrowserLiteClient_onError.set(this, () => { });\n _BrowserLiteClient_pluginOptions.set(this, void 0);\n _BrowserLiteClient_playtest.set(this, void 0);\n /** Save filter URL state at creation time. */\n _BrowserLiteClient_playtestFilter.set(this, getPlaytestFilter());\n _BrowserLiteClient_runtimeDebugLogging.set(this, false);\n _BrowserLiteClient_runtimeInitMetric.set(this, void 0);\n _BrowserLiteClient_handleResponse.set(this, (ev) => {\n const rsp = ev.data;\n const [cmd] = rsp;\n switch (cmd) {\n case ActorResponse.READY: {\n const [, init] = rsp;\n __classPrivateFieldSet(this, _BrowserLiteClient_runtimeInitMetric, init, \"f\");\n __classPrivateFieldSet(this, _BrowserLiteClient_workerReady, true, \"f\");\n if (__classPrivateFieldGet(this, _BrowserLiteClient_pluginOptions, \"f\")?.plugins) {\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_loadPlugins).call(this);\n }\n else {\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_callLoadBundle).call(this);\n }\n break;\n }\n case ActorResponse.PLUGINS_CONFIGURED:\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_callLoadBundle).call(this);\n break;\n case ActorResponse.BUNDLE_LOADED: {\n const [, logs, loadBundleMetric] = rsp;\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_log).call(this, logs);\n __classPrivateFieldSet(this, _BrowserLiteClient_ready, true, \"f\");\n __classPrivateFieldSet(this, _BrowserLiteClient_bundleReady, true, \"f\");\n __classPrivateFieldGet(this, _BrowserLiteClient_onLoadHandler, \"f\")?.resolve({\n metrics: { init: __classPrivateFieldGet(this, _BrowserLiteClient_runtimeInitMetric, \"f\"), loadBundle: loadBundleMetric },\n });\n __classPrivateFieldSet(this, _BrowserLiteClient_onLoadHandler, undefined, \"f\");\n break;\n }\n case ActorResponse.BUNDLE_LOAD_FAILED: {\n const [, , err, logs] = rsp;\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_log).call(this, logs);\n __classPrivateFieldGet(this, _BrowserLiteClient_onLoadHandler, \"f\")?.reject(err);\n __classPrivateFieldSet(this, _BrowserLiteClient_onLoadHandler, undefined, \"f\");\n break;\n }\n case ActorResponse.RETURN: {\n const [, id, response, logs] = rsp;\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_log).call(this, logs);\n __classPrivateFieldGet(this, _BrowserLiteClient_returnHandlers, \"f\")[id]?.resolve(response);\n delete __classPrivateFieldGet(this, _BrowserLiteClient_returnHandlers, \"f\")[id];\n break;\n }\n case ActorResponse.ERROR: {\n const [, id, err, logs] = rsp;\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_log).call(this, logs);\n __classPrivateFieldGet(this, _BrowserLiteClient_returnHandlers, \"f\")[id]?.reject(err);\n delete __classPrivateFieldGet(this, _BrowserLiteClient_returnHandlers, \"f\")[id];\n break;\n }\n case ActorResponse.CIRCUIT_BREAKER: {\n const [, id, response, cause] = rsp;\n __classPrivateFieldGet(this, _BrowserLiteClient_returnHandlers, \"f\")[id]?.reject(new CircuitBreakerResponse(response, cause));\n delete __classPrivateFieldGet(this, _BrowserLiteClient_returnHandlers, \"f\")[id];\n break;\n }\n case ActorResponse.PLUGIN_CALL: {\n const [, id, serviceName, method, args, meta] = rsp;\n __classPrivateFieldGet(this, _BrowserLiteClient_pluginOptions, \"f\")?.callback(id, serviceName, method, args, meta);\n break;\n }\n case ActorResponse.UNHANDLED_REJECTION: {\n const [, , reason, logs] = rsp;\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_log).call(this, logs);\n __classPrivateFieldGet(this, _BrowserLiteClient_onError, \"f\").call(this, 'UnhandledRejection', reason);\n break;\n }\n }\n });\n _BrowserLiteClient_onPlaytest.set(this, (state) => {\n // This state can only be received while in playtest mode.\n switch (state) {\n case 'Opened':\n console.info('devvit playtest connected'); // to-do: emit and toast.\n break;\n case 'Closed':\n console.info('devvit playtest disconnected'); // to-do: emit and toast.\n break;\n case 'Reloading': {\n // to-do: emit and toast. Let the receiver decide if they wish to reload\n // and to manage the location.\n console.info('devvit playtest reloading');\n __classPrivateFieldGet(this, _BrowserLiteClient_playtest, \"f\")?.close();\n // The user may have since changed URLs but expects playtest to continue\n // with the same filter.\n const url = new URL(location.href);\n url.searchParams.set(playtestQueryParam, __classPrivateFieldGet(this, _BrowserLiteClient_playtestFilter, \"f\") ?? '');\n location.assign(url);\n // Reload the page, don't just navigate.\n location.reload();\n break;\n }\n }\n });\n __classPrivateFieldSet(this, _BrowserLiteClient_workerSrc, typeof workerSrc === 'string' ? workerSrc : URL.createObjectURL(workerSrc), \"f\");\n __classPrivateFieldSet(this, _BrowserLiteClient_workerName, name, \"f\");\n if (onError)\n __classPrivateFieldSet(this, _BrowserLiteClient_onError, onError, \"f\");\n if (pluginOptions)\n __classPrivateFieldSet(this, _BrowserLiteClient_pluginOptions, pluginOptions, \"f\");\n }\n initializeWorker() {\n __classPrivateFieldSet(this, _BrowserLiteClient_worker, new Worker(__classPrivateFieldGet(this, _BrowserLiteClient_workerSrc, \"f\"), {\n name: __classPrivateFieldGet(this, _BrowserLiteClient_workerName, \"f\"),\n type: 'module',\n }), \"f\");\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").onerror = (errorEvent) => {\n __classPrivateFieldGet(this, _BrowserLiteClient_onError, \"f\").call(this, 'Error', errorEvent);\n };\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").onmessageerror = (messageEvent) => {\n __classPrivateFieldGet(this, _BrowserLiteClient_onError, \"f\").call(this, 'MessageError', messageEvent.data);\n };\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").onmessage = __classPrivateFieldGet(this, _BrowserLiteClient_handleResponse, \"f\");\n if (this.runtimeDebugLogging)\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").postMessage([ActorCommand.ENABLE_DEBUG_LOGGING]);\n }\n get ready() {\n return __classPrivateFieldGet(this, _BrowserLiteClient_ready, \"f\");\n }\n get runtimeDebugLogging() {\n return __classPrivateFieldGet(this, _BrowserLiteClient_runtimeDebugLogging, \"f\");\n }\n set runtimeDebugLogging(on) {\n if (on === __classPrivateFieldGet(this, _BrowserLiteClient_runtimeDebugLogging, \"f\"))\n return;\n __classPrivateFieldSet(this, _BrowserLiteClient_runtimeDebugLogging, on, \"f\");\n if (this.runtimeDebugLogging)\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\")?.postMessage([ActorCommand.ENABLE_DEBUG_LOGGING]);\n }\n /**\n * This function doesn't actually load a bundle by itself.\n * It stores the bundle in the state and waits for ActorResponse.READY which\n * eventually kicks off a bundle load.\n * It will also initialize the worker if it was terminated during the bundle reload\n */\n async loadBundle(bundle) {\n __classPrivateFieldSet(this, _BrowserLiteClient_bundle, bundle, \"f\");\n // this is only possible if we are loading a new bundle, so we need to re-initialize the worker\n if (!__classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\")) {\n this.initializeWorker();\n }\n else if (__classPrivateFieldGet(this, _BrowserLiteClient_workerReady, \"f\") && !__classPrivateFieldGet(this, _BrowserLiteClient_bundleReady, \"f\")) {\n __classPrivateFieldGet(this, _BrowserLiteClient_instances, \"m\", _BrowserLiteClient_callLoadBundle).call(this);\n }\n return new Promise((resolve, reject) => {\n __classPrivateFieldSet(this, _BrowserLiteClient_onLoadHandler, { resolve, reject }, \"f\");\n });\n }\n async call(method, args, meta) {\n var _a;\n if (!__classPrivateFieldGet(this, _BrowserLiteClient_ready, \"f\") || !__classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\")) {\n throw new Error('No bundle loaded');\n }\n const id = __classPrivateFieldSet(this, _BrowserLiteClient_callId, (_a = __classPrivateFieldGet(this, _BrowserLiteClient_callId, \"f\"), ++_a), \"f\");\n const handler = new Promise((resolve, reject) => {\n __classPrivateFieldGet(this, _BrowserLiteClient_returnHandlers, \"f\")[id] = { resolve, reject };\n });\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").postMessage([ActorCommand.CALL, id, method, args, meta, false]);\n return handler;\n }\n onPluginResponse(id, result) {\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\")?.postMessage([ActorCommand.PLUGIN_RESPONSE, id, result]);\n }\n /** Call this method before repeating a call to loadBundle(). */\n quit() {\n // don't quit if no bundle was loaded in, we can reuse the same worker\n if (!__classPrivateFieldGet(this, _BrowserLiteClient_bundle, \"f\")) {\n return;\n }\n __classPrivateFieldGet(this, _BrowserLiteClient_playtest, \"f\")?.close();\n __classPrivateFieldSet(this, _BrowserLiteClient_playtest, undefined, \"f\");\n __classPrivateFieldSet(this, _BrowserLiteClient_ready, false, \"f\");\n if (__classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\")) {\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").postMessage([ActorCommand.QUIT]);\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").onerror = null;\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").onmessageerror = null;\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").onmessage = null;\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").terminate();\n }\n __classPrivateFieldSet(this, _BrowserLiteClient_worker, undefined, \"f\");\n __classPrivateFieldSet(this, _BrowserLiteClient_bundleReady, false, \"f\");\n __classPrivateFieldSet(this, _BrowserLiteClient_workerReady, false, \"f\");\n for (const { reject } of Object.values(__classPrivateFieldGet(this, _BrowserLiteClient_returnHandlers, \"f\")))\n reject(Error('worker terminated'));\n __classPrivateFieldSet(this, _BrowserLiteClient_returnHandlers, {}, \"f\");\n __classPrivateFieldGet(this, _BrowserLiteClient_onLoadHandler, \"f\")?.reject(Error('worker terminated'));\n __classPrivateFieldSet(this, _BrowserLiteClient_onLoadHandler, undefined, \"f\");\n }\n}\n_BrowserLiteClient_workerSrc = new WeakMap(), _BrowserLiteClient_workerName = new WeakMap(), _BrowserLiteClient_worker = new WeakMap(), _BrowserLiteClient_ready = new WeakMap(), _BrowserLiteClient_workerReady = new WeakMap(), _BrowserLiteClient_bundleReady = new WeakMap(), _BrowserLiteClient_callId = new WeakMap(), _BrowserLiteClient_bundle = new WeakMap(), _BrowserLiteClient_returnHandlers = new WeakMap(), _BrowserLiteClient_onLoadHandler = new WeakMap(), _BrowserLiteClient_onError = new WeakMap(), _BrowserLiteClient_pluginOptions = new WeakMap(), _BrowserLiteClient_playtest = new WeakMap(), _BrowserLiteClient_playtestFilter = new WeakMap(), _BrowserLiteClient_runtimeDebugLogging = new WeakMap(), _BrowserLiteClient_runtimeInitMetric = new WeakMap(), _BrowserLiteClient_handleResponse = new WeakMap(), _BrowserLiteClient_onPlaytest = new WeakMap(), _BrowserLiteClient_instances = new WeakSet(), _BrowserLiteClient_loadPlugins = function _BrowserLiteClient_loadPlugins() {\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\")?.postMessage([ActorCommand.ENABLE_PLUGINS, __classPrivateFieldGet(this, _BrowserLiteClient_pluginOptions, \"f\")?.plugins ?? []]);\n}, _BrowserLiteClient_log = function _BrowserLiteClient_log(logs) {\n if (!logs.length)\n return;\n // This isn't really correct but the runtime doesn't care and waiting until\n // it gets to the client is even worse.\n const now = new Date();\n const callState = {\n logs: logs.map((log) => ({\n severity: severityByAppMethod[log.method],\n message: log.args.join(' '),\n tags: [],\n timestamp: now,\n })),\n };\n __classPrivateFieldGet(this, _BrowserLiteClient_playtest, \"f\")?.send({ callState });\n}, _BrowserLiteClient_callLoadBundle = function _BrowserLiteClient_callLoadBundle() {\n if (!__classPrivateFieldGet(this, _BrowserLiteClient_bundle, \"f\")) {\n return;\n }\n const playtest = isPlaytest(getAppName(__classPrivateFieldGet(this, _BrowserLiteClient_bundle, \"f\")));\n if (playtest) {\n __classPrivateFieldSet(this, _BrowserLiteClient_playtest, new PlaytestClient(), \"f\");\n __classPrivateFieldGet(this, _BrowserLiteClient_playtest, \"f\").onState = __classPrivateFieldGet(this, _BrowserLiteClient_onPlaytest, \"f\");\n }\n __classPrivateFieldGet(this, _BrowserLiteClient_playtest, \"f\")?.open();\n if (playtest)\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\").postMessage([ActorCommand.ENABLE_APP_LOGGING]);\n __classPrivateFieldGet(this, _BrowserLiteClient_worker, \"f\")?.postMessage([ActorCommand.LOAD_BUNDLE, __classPrivateFieldGet(this, _BrowserLiteClient_bundle, \"f\")]);\n};\n", "var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _PQueue_instances, _PQueue_carryoverConcurrencyCount, _PQueue_isIntervalIgnored, _PQueue_intervalCount, _PQueue_intervalCap, _PQueue_interval, _PQueue_intervalEnd, _PQueue_intervalId, _PQueue_timeoutId, _PQueue_queue, _PQueue_queueClass, _PQueue_pending, _PQueue_concurrency, _PQueue_isPaused, _PQueue_throwOnTimeout, _PQueue_doesIntervalAllowAnother_get, _PQueue_doesConcurrentAllowAnother_get, _PQueue_next, _PQueue_onResumeInterval, _PQueue_isIntervalPaused_get, _PQueue_tryToStartAnother, _PQueue_initializeIntervalIfNeeded, _PQueue_onInterval, _PQueue_processQueue, _PQueue_throwOnAbort, _PQueue_onEvent;\nimport EventEmitter from 'eventemitter3';\nimport pTimeout, { TimeoutError } from 'p-timeout';\nimport PriorityQueue from './priority-queue.js';\n/**\nThe error thrown by `queue.add()` when a job is aborted before it is run. See `signal`.\n*/\nexport class AbortError extends Error {\n}\n/**\nPromise queue with concurrency control.\n*/\nexport default class PQueue extends EventEmitter {\n // TODO: The `throwOnTimeout` option should affect the return types of `add()` and `addAll()`\n constructor(options) {\n var _a, _b, _c, _d;\n super();\n _PQueue_instances.add(this);\n _PQueue_carryoverConcurrencyCount.set(this, void 0);\n _PQueue_isIntervalIgnored.set(this, void 0);\n _PQueue_intervalCount.set(this, 0);\n _PQueue_intervalCap.set(this, void 0);\n _PQueue_interval.set(this, void 0);\n _PQueue_intervalEnd.set(this, 0);\n _PQueue_intervalId.set(this, void 0);\n _PQueue_timeoutId.set(this, void 0);\n _PQueue_queue.set(this, void 0);\n _PQueue_queueClass.set(this, void 0);\n _PQueue_pending.set(this, 0);\n // The `!` is needed because of https://github.com/microsoft/TypeScript/issues/32194\n _PQueue_concurrency.set(this, void 0);\n _PQueue_isPaused.set(this, void 0);\n _PQueue_throwOnTimeout.set(this, void 0);\n /**\n Per-operation timeout in milliseconds. Operations fulfill once `timeout` elapses if they haven't already.\n \n Applies to each future operation.\n */\n Object.defineProperty(this, \"timeout\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n options = {\n carryoverConcurrencyCount: false,\n intervalCap: Number.POSITIVE_INFINITY,\n interval: 0,\n concurrency: Number.POSITIVE_INFINITY,\n autoStart: true,\n queueClass: PriorityQueue,\n ...options,\n };\n if (!(typeof options.intervalCap === 'number' && options.intervalCap >= 1)) {\n throw new TypeError(`Expected \\`intervalCap\\` to be a number from 1 and up, got \\`${(_b = (_a = options.intervalCap) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : ''}\\` (${typeof options.intervalCap})`);\n }\n if (options.interval === undefined || !(Number.isFinite(options.interval) && options.interval >= 0)) {\n throw new TypeError(`Expected \\`interval\\` to be a finite number >= 0, got \\`${(_d = (_c = options.interval) === null || _c === void 0 ? void 0 : _c.toString()) !== null && _d !== void 0 ? _d : ''}\\` (${typeof options.interval})`);\n }\n __classPrivateFieldSet(this, _PQueue_carryoverConcurrencyCount, options.carryoverConcurrencyCount, \"f\");\n __classPrivateFieldSet(this, _PQueue_isIntervalIgnored, options.intervalCap === Number.POSITIVE_INFINITY || options.interval === 0, \"f\");\n __classPrivateFieldSet(this, _PQueue_intervalCap, options.intervalCap, \"f\");\n __classPrivateFieldSet(this, _PQueue_interval, options.interval, \"f\");\n __classPrivateFieldSet(this, _PQueue_queue, new options.queueClass(), \"f\");\n __classPrivateFieldSet(this, _PQueue_queueClass, options.queueClass, \"f\");\n this.concurrency = options.concurrency;\n this.timeout = options.timeout;\n __classPrivateFieldSet(this, _PQueue_throwOnTimeout, options.throwOnTimeout === true, \"f\");\n __classPrivateFieldSet(this, _PQueue_isPaused, options.autoStart === false, \"f\");\n }\n get concurrency() {\n return __classPrivateFieldGet(this, _PQueue_concurrency, \"f\");\n }\n set concurrency(newConcurrency) {\n if (!(typeof newConcurrency === 'number' && newConcurrency >= 1)) {\n throw new TypeError(`Expected \\`concurrency\\` to be a number from 1 and up, got \\`${newConcurrency}\\` (${typeof newConcurrency})`);\n }\n __classPrivateFieldSet(this, _PQueue_concurrency, newConcurrency, \"f\");\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_processQueue).call(this);\n }\n async add(function_, options = {}) {\n options = {\n timeout: this.timeout,\n throwOnTimeout: __classPrivateFieldGet(this, _PQueue_throwOnTimeout, \"f\"),\n ...options,\n };\n return new Promise((resolve, reject) => {\n __classPrivateFieldGet(this, _PQueue_queue, \"f\").enqueue(async () => {\n var _a;\n var _b, _c;\n __classPrivateFieldSet(this, _PQueue_pending, (_b = __classPrivateFieldGet(this, _PQueue_pending, \"f\"), _b++, _b), \"f\");\n __classPrivateFieldSet(this, _PQueue_intervalCount, (_c = __classPrivateFieldGet(this, _PQueue_intervalCount, \"f\"), _c++, _c), \"f\");\n try {\n // TODO: Use options.signal?.throwIfAborted() when targeting Node.js 18\n if ((_a = options.signal) === null || _a === void 0 ? void 0 : _a.aborted) {\n // TODO: Use ABORT_ERR code when targeting Node.js 16 (https://nodejs.org/docs/latest-v16.x/api/errors.html#abort_err)\n throw new AbortError('The task was aborted.');\n }\n let operation = function_({ signal: options.signal });\n if (options.timeout) {\n operation = pTimeout(Promise.resolve(operation), options.timeout);\n }\n if (options.signal) {\n operation = Promise.race([operation, __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_throwOnAbort).call(this, options.signal)]);\n }\n const result = await operation;\n resolve(result);\n this.emit('completed', result);\n }\n catch (error) {\n if (error instanceof TimeoutError && !options.throwOnTimeout) {\n resolve();\n return;\n }\n reject(error);\n this.emit('error', error);\n }\n finally {\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_next).call(this);\n }\n }, options);\n this.emit('add');\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_tryToStartAnother).call(this);\n });\n }\n async addAll(functions, options) {\n return Promise.all(functions.map(async (function_) => this.add(function_, options)));\n }\n /**\n Start (or resume) executing enqueued tasks within concurrency limit. No need to call this if queue is not paused (via `options.autoStart = false` or by `.pause()` method.)\n */\n start() {\n if (!__classPrivateFieldGet(this, _PQueue_isPaused, \"f\")) {\n return this;\n }\n __classPrivateFieldSet(this, _PQueue_isPaused, false, \"f\");\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_processQueue).call(this);\n return this;\n }\n /**\n Put queue execution on hold.\n */\n pause() {\n __classPrivateFieldSet(this, _PQueue_isPaused, true, \"f\");\n }\n /**\n Clear the queue.\n */\n clear() {\n __classPrivateFieldSet(this, _PQueue_queue, new (__classPrivateFieldGet(this, _PQueue_queueClass, \"f\"))(), \"f\");\n }\n /**\n Can be called multiple times. Useful if you for example add additional items at a later time.\n\n @returns A promise that settles when the queue becomes empty.\n */\n async onEmpty() {\n // Instantly resolve if the queue is empty\n if (__classPrivateFieldGet(this, _PQueue_queue, \"f\").size === 0) {\n return;\n }\n await __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_onEvent).call(this, 'empty');\n }\n /**\n @returns A promise that settles when the queue size is less than the given limit: `queue.size < limit`.\n\n If you want to avoid having the queue grow beyond a certain size you can `await queue.onSizeLessThan()` before adding a new item.\n\n Note that this only limits the number of items waiting to start. There could still be up to `concurrency` jobs already running that this call does not include in its calculation.\n */\n async onSizeLessThan(limit) {\n // Instantly resolve if the queue is empty.\n if (__classPrivateFieldGet(this, _PQueue_queue, \"f\").size < limit) {\n return;\n }\n await __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_onEvent).call(this, 'next', () => __classPrivateFieldGet(this, _PQueue_queue, \"f\").size < limit);\n }\n /**\n The difference with `.onEmpty` is that `.onIdle` guarantees that all work from the queue has finished. `.onEmpty` merely signals that the queue is empty, but it could mean that some promises haven't completed yet.\n\n @returns A promise that settles when the queue becomes empty, and all promises have completed; `queue.size === 0 && queue.pending === 0`.\n */\n async onIdle() {\n // Instantly resolve if none pending and if nothing else is queued\n if (__classPrivateFieldGet(this, _PQueue_pending, \"f\") === 0 && __classPrivateFieldGet(this, _PQueue_queue, \"f\").size === 0) {\n return;\n }\n await __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_onEvent).call(this, 'idle');\n }\n /**\n Size of the queue, the number of queued items waiting to run.\n */\n get size() {\n return __classPrivateFieldGet(this, _PQueue_queue, \"f\").size;\n }\n /**\n Size of the queue, filtered by the given options.\n\n For example, this can be used to find the number of items remaining in the queue with a specific priority level.\n */\n sizeBy(options) {\n // eslint-disable-next-line unicorn/no-array-callback-reference\n return __classPrivateFieldGet(this, _PQueue_queue, \"f\").filter(options).length;\n }\n /**\n Number of running items (no longer in the queue).\n */\n get pending() {\n return __classPrivateFieldGet(this, _PQueue_pending, \"f\");\n }\n /**\n Whether the queue is currently paused.\n */\n get isPaused() {\n return __classPrivateFieldGet(this, _PQueue_isPaused, \"f\");\n }\n}\n_PQueue_carryoverConcurrencyCount = new WeakMap(), _PQueue_isIntervalIgnored = new WeakMap(), _PQueue_intervalCount = new WeakMap(), _PQueue_intervalCap = new WeakMap(), _PQueue_interval = new WeakMap(), _PQueue_intervalEnd = new WeakMap(), _PQueue_intervalId = new WeakMap(), _PQueue_timeoutId = new WeakMap(), _PQueue_queue = new WeakMap(), _PQueue_queueClass = new WeakMap(), _PQueue_pending = new WeakMap(), _PQueue_concurrency = new WeakMap(), _PQueue_isPaused = new WeakMap(), _PQueue_throwOnTimeout = new WeakMap(), _PQueue_instances = new WeakSet(), _PQueue_doesIntervalAllowAnother_get = function _PQueue_doesIntervalAllowAnother_get() {\n return __classPrivateFieldGet(this, _PQueue_isIntervalIgnored, \"f\") || __classPrivateFieldGet(this, _PQueue_intervalCount, \"f\") < __classPrivateFieldGet(this, _PQueue_intervalCap, \"f\");\n}, _PQueue_doesConcurrentAllowAnother_get = function _PQueue_doesConcurrentAllowAnother_get() {\n return __classPrivateFieldGet(this, _PQueue_pending, \"f\") < __classPrivateFieldGet(this, _PQueue_concurrency, \"f\");\n}, _PQueue_next = function _PQueue_next() {\n var _a;\n __classPrivateFieldSet(this, _PQueue_pending, (_a = __classPrivateFieldGet(this, _PQueue_pending, \"f\"), _a--, _a), \"f\");\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_tryToStartAnother).call(this);\n this.emit('next');\n}, _PQueue_onResumeInterval = function _PQueue_onResumeInterval() {\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_onInterval).call(this);\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_initializeIntervalIfNeeded).call(this);\n __classPrivateFieldSet(this, _PQueue_timeoutId, undefined, \"f\");\n}, _PQueue_isIntervalPaused_get = function _PQueue_isIntervalPaused_get() {\n const now = Date.now();\n if (__classPrivateFieldGet(this, _PQueue_intervalId, \"f\") === undefined) {\n const delay = __classPrivateFieldGet(this, _PQueue_intervalEnd, \"f\") - now;\n if (delay < 0) {\n // Act as the interval was done\n // We don't need to resume it here because it will be resumed on line 160\n __classPrivateFieldSet(this, _PQueue_intervalCount, (__classPrivateFieldGet(this, _PQueue_carryoverConcurrencyCount, \"f\")) ? __classPrivateFieldGet(this, _PQueue_pending, \"f\") : 0, \"f\");\n }\n else {\n // Act as the interval is pending\n if (__classPrivateFieldGet(this, _PQueue_timeoutId, \"f\") === undefined) {\n __classPrivateFieldSet(this, _PQueue_timeoutId, setTimeout(() => {\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_onResumeInterval).call(this);\n }, delay), \"f\");\n }\n return true;\n }\n }\n return false;\n}, _PQueue_tryToStartAnother = function _PQueue_tryToStartAnother() {\n if (__classPrivateFieldGet(this, _PQueue_queue, \"f\").size === 0) {\n // We can clear the interval (\"pause\")\n // Because we can redo it later (\"resume\")\n if (__classPrivateFieldGet(this, _PQueue_intervalId, \"f\")) {\n clearInterval(__classPrivateFieldGet(this, _PQueue_intervalId, \"f\"));\n }\n __classPrivateFieldSet(this, _PQueue_intervalId, undefined, \"f\");\n this.emit('empty');\n if (__classPrivateFieldGet(this, _PQueue_pending, \"f\") === 0) {\n this.emit('idle');\n }\n return false;\n }\n if (!__classPrivateFieldGet(this, _PQueue_isPaused, \"f\")) {\n const canInitializeInterval = !__classPrivateFieldGet(this, _PQueue_instances, \"a\", _PQueue_isIntervalPaused_get);\n if (__classPrivateFieldGet(this, _PQueue_instances, \"a\", _PQueue_doesIntervalAllowAnother_get) && __classPrivateFieldGet(this, _PQueue_instances, \"a\", _PQueue_doesConcurrentAllowAnother_get)) {\n const job = __classPrivateFieldGet(this, _PQueue_queue, \"f\").dequeue();\n if (!job) {\n return false;\n }\n this.emit('active');\n job();\n if (canInitializeInterval) {\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_initializeIntervalIfNeeded).call(this);\n }\n return true;\n }\n }\n return false;\n}, _PQueue_initializeIntervalIfNeeded = function _PQueue_initializeIntervalIfNeeded() {\n if (__classPrivateFieldGet(this, _PQueue_isIntervalIgnored, \"f\") || __classPrivateFieldGet(this, _PQueue_intervalId, \"f\") !== undefined) {\n return;\n }\n __classPrivateFieldSet(this, _PQueue_intervalId, setInterval(() => {\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_onInterval).call(this);\n }, __classPrivateFieldGet(this, _PQueue_interval, \"f\")), \"f\");\n __classPrivateFieldSet(this, _PQueue_intervalEnd, Date.now() + __classPrivateFieldGet(this, _PQueue_interval, \"f\"), \"f\");\n}, _PQueue_onInterval = function _PQueue_onInterval() {\n if (__classPrivateFieldGet(this, _PQueue_intervalCount, \"f\") === 0 && __classPrivateFieldGet(this, _PQueue_pending, \"f\") === 0 && __classPrivateFieldGet(this, _PQueue_intervalId, \"f\")) {\n clearInterval(__classPrivateFieldGet(this, _PQueue_intervalId, \"f\"));\n __classPrivateFieldSet(this, _PQueue_intervalId, undefined, \"f\");\n }\n __classPrivateFieldSet(this, _PQueue_intervalCount, __classPrivateFieldGet(this, _PQueue_carryoverConcurrencyCount, \"f\") ? __classPrivateFieldGet(this, _PQueue_pending, \"f\") : 0, \"f\");\n __classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_processQueue).call(this);\n}, _PQueue_processQueue = function _PQueue_processQueue() {\n // eslint-disable-next-line no-empty\n while (__classPrivateFieldGet(this, _PQueue_instances, \"m\", _PQueue_tryToStartAnother).call(this)) { }\n}, _PQueue_throwOnAbort = async function _PQueue_throwOnAbort(signal) {\n return new Promise((_resolve, reject) => {\n signal.addEventListener('abort', () => {\n // TODO: Reject with signal.throwIfAborted() when targeting Node.js 18\n // TODO: Use ABORT_ERR code when targeting Node.js 16 (https://nodejs.org/docs/latest-v16.x/api/errors.html#abort_err)\n reject(new AbortError('The task was aborted.'));\n }, { once: true });\n });\n}, _PQueue_onEvent = async function _PQueue_onEvent(event, filter) {\n return new Promise(resolve => {\n const listener = () => {\n if (filter && !filter()) {\n return;\n }\n this.off(event, listener);\n resolve();\n };\n this.on(event, listener);\n });\n};\n", "export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined ?\n\tnew AbortError(errorMessage) :\n\tnew DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined ?\n\t\tgetDOMException('This operation was aborted.') :\n\t\tsignal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, milliseconds, fallback, options) {\n\tlet timer;\n\n\tconst cancelablePromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tresolve(promise);\n\t\t\treturn;\n\t\t}\n\n\t\toptions = {\n\t\t\tcustomTimers: {setTimeout, clearTimeout},\n\t\t\t...options\n\t\t};\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\ttimer = options.customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (typeof fallback === 'function') {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst message = typeof fallback === 'string' ? fallback : `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\tconst timeoutError = fallback instanceof Error ? fallback : new TimeoutError(message);\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\treject(timeoutError);\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t} finally {\n\t\t\t\toptions.customTimers.clearTimeout.call(undefined, timer);\n\t\t\t}\n\t\t})();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tclearTimeout(timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n", "// Port of lower_bound from https://en.cppreference.com/w/cpp/algorithm/lower_bound\n// Used to compute insertion index to keep queue sorted after insertion\nexport default function lowerBound(array, value, comparator) {\n let first = 0;\n let count = array.length;\n while (count > 0) {\n const step = Math.trunc(count / 2);\n let it = first + step;\n if (comparator(array[it], value) <= 0) {\n first = ++it;\n count -= step + 1;\n }\n else {\n count = step;\n }\n }\n return first;\n}\n", "var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _PriorityQueue_queue;\nimport lowerBound from './lower-bound.js';\nexport default class PriorityQueue {\n constructor() {\n _PriorityQueue_queue.set(this, []);\n }\n enqueue(run, options) {\n options = {\n priority: 0,\n ...options,\n };\n const element = {\n priority: options.priority,\n run,\n };\n if (this.size && __classPrivateFieldGet(this, _PriorityQueue_queue, \"f\")[this.size - 1].priority >= options.priority) {\n __classPrivateFieldGet(this, _PriorityQueue_queue, \"f\").push(element);\n return;\n }\n const index = lowerBound(__classPrivateFieldGet(this, _PriorityQueue_queue, \"f\"), element, (a, b) => b.priority - a.priority);\n __classPrivateFieldGet(this, _PriorityQueue_queue, \"f\").splice(index, 0, element);\n }\n dequeue() {\n const item = __classPrivateFieldGet(this, _PriorityQueue_queue, \"f\").shift();\n return item === null || item === void 0 ? void 0 : item.run;\n }\n filter(options) {\n return __classPrivateFieldGet(this, _PriorityQueue_queue, \"f\").filter((element) => element.priority === options.priority).map((element) => element.run);\n }\n get size() {\n return __classPrivateFieldGet(this, _PriorityQueue_queue, \"f\").length;\n }\n}\n_PriorityQueue_queue = new WeakMap();\n", "import type { AppDebug } from '@devvit/shared-types/Header.js';\n\ndeclare global {\n // eslint-disable-next-line no-var\n var devvit: DevvitGlobal | undefined;\n}\n\nexport type DevvitGlobal = {\n /**\n * Debug modes enabled by the case-insensitive devvitdebug CSV query\n * parameter. The parameter is split on commas and passed to devvit-debug\n * metadata. Missing values default to `'true'` and a totally empty\n * devvitdebug query parameter defaults almost everything true. The convention\n * is to interpret values as truthy. This filed may contain unknown entries\n * beyond the AppDebug typing to enable development.\n *\n * See ContextDebugInfo for app side.\n *\n * Any type removals may cause type errors but not runtime errors.\n *\n * Prefix mode-specific logging like `[blocks]` or `[useChannel]`. Favor\n * console.debug() and set Chromium DevTools to verbose log levels.\n * console.debug() shows as verbose in compute-go so you have to route those\n * to Log() if you want to see them:\n *\n * // devvit-compute-go/internal/plugins/loggerplugin/logger.go\n * case logger.Severity_VERBOSE:\n * // there is no verbose.\n * log.Debug(message.Message, fields...)\n */\n debug: { [debug in AppDebug]?: string };\n};\n\n/**\n * The bookmarklet to enable recommended debugging is:\n *\n * ```\n * javascript:(() => {\n * globalThis.devvit ??= {};\n * globalThis.devvit.debug ??= {};\n * globalThis.devvit.devvitDebug ??= [];\n * globalThis.devvit.debug.runtime = true;\n * globalThis.devvit.devvitDebug.push('runtime');\n * const url = new URL(location.href);\n * url.searchParams.set('devvitdebug', 'runtime');\n * history.replaceState(undefined, '', url);\n * console.log(`devvit debug enabled`, globalThis.devvit);\n * })()\n * ```\n */\nexport function initDevvitGlobal(): void {\n // `globalThis.location` check allows Node.js usage.\n const url = new URL(globalThis.location ? location.href : 'file://');\n\n // Initialize defensively to honor any initializations that might occur in a\n // temporary hack elsewhere.\n globalThis.devvit ??= {} as DevvitGlobal;\n\n if (globalThis.devvit.debug) return;\n\n // Roughly aligns to getContextFromMetadata().\n globalThis.devvit.debug ??= {} as { [debug in AppDebug]: string };\n\n // All known AppDebug keys.\n const keyset: { readonly [key in AppDebug]: undefined } = {\n blocks: undefined,\n emitSnapshots: undefined,\n emitState: undefined,\n realtime: undefined,\n runtime: undefined,\n surface: undefined,\n useAsync: undefined,\n payments: undefined,\n bootstrap: undefined,\n webView: undefined,\n };\n // {[key: Lowercase<AppDebug>]: AppDebug}\n const lowerKeyToKey: { [lower: string]: string } = {};\n for (const key in keyset) lowerKeyToKey[key.toLowerCase()] = key;\n\n let devvitDebug = [...url.searchParams].find(\n ([name]) => name.toLowerCase() === 'devvitdebug'\n )?.[1];\n if (devvitDebug == null) return;\n\n // empty means enable almost everything.\n if (devvitDebug === '')\n devvitDebug = Object.keys(keyset)\n .filter((key) => key !== 'emitSnapshots' && key !== 'emitState')\n .join();\n\n for (const kv of devvitDebug.split(',') ?? []) {\n let [key, val] = kv.split('='); // eslint-disable-line prefer-const\n if (!key) continue;\n\n if (key.toLowerCase() in lowerKeyToKey) key = lowerKeyToKey[key.toLowerCase()];\n else console.warn(`[devvit] unknown devvitdebug parameter \"${key}\"`);\n\n globalThis.devvit.debug[key as AppDebug] ??= val || `${true}`;\n console.info(`[devvit] set devvitdebug ${key}=${globalThis.devvit.debug[key as AppDebug]}`);\n }\n}\n", "import type { Metadata } from '@devvit/protos/lib/Types.js';\nimport { RealtimeDefinition } from '@devvit/protos/types/devvit/events/v1alpha/realtime.js';\nimport type {\n RenderPostRequest,\n RenderPostResponse,\n} from '@devvit/protos/types/devvit/reddit/custom_post/v1alpha/custom_post.js';\nimport type { LinkedBundle } from '@devvit/protos/types/devvit/runtime/bundle.js';\nimport { BlockRenderEventType } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport type { UIDimensions } from '@devvit/protos/types/devvit/ui/common/v1alpha/common.js';\nimport type { Effect } from '@devvit/protos/types/devvit/ui/effects/v1alpha/effect.js';\nimport type { UIEvent } from '@devvit/protos/types/devvit/ui/events/v1alpha/event.js';\nimport { UIEventScope } from '@devvit/protos/types/devvit/ui/events/v1alpha/event.js';\nimport type {\n HandleUIEventRequest,\n HandleUIEventResponse,\n} from '@devvit/protos/types/devvit/ui/events/v1alpha/handle_ui.js';\nimport type { Struct } from '@devvit/protos/types/google/protobuf/struct.js';\nimport type {\n ErrorCallback,\n LiteClient,\n WorkerErrorType,\n} from '@devvit/runtime-lite/client/BrowserLiteClient.js';\nimport { BrowserLiteClient } from '@devvit/runtime-lite/client/BrowserLiteClient.js';\nimport type { LiteLoadResponse } from '@devvit/runtime-lite/client/ClientShared.js';\nimport type { PluginCallback } from '@devvit/runtime-lite/runtime/RuntimeLite.js';\nimport { isCircuitBreaker } from '@devvit/shared-types/CircuitBreaker.js';\nimport { Header } from '@devvit/shared-types/Header.js';\nimport type { T3ID, TID } from '@devvit/shared-types/tid.js';\nimport PQueue from 'p-queue';\n\nimport { initDevvitGlobal } from '../../types/devvit-global.js';\nimport type { UIApp } from './remote-app.js';\n\nconst DEFAULT_DIMENSIONS: UIDimensions = {\n width: 288,\n height: 320,\n scale: 1.0,\n fontScale: 1.0,\n};\n\n// Effects that can only be fired as the result of a user action\nconst userActionEffects: readonly (keyof Effect)[] = ['showToast', 'showForm', 'navigateToUrl'];\n\ninitDevvitGlobal();\n\n// to-do: align to RenderContext['state'].\ntype AppState = {\n __postData?: {\n thingId: TID | undefined;\n config: Struct['fields'] | undefined;\n }; // to-do: type to BlocksReconciler['state']['__postData']?\n [key: string]: unknown;\n};\ntype EventData = { [key: string]: unknown };\ntype PausedEffect = { renderType: BlockRenderEventType; effects: readonly Effect[] };\n\n/**\n * App render and effect looping logic. Rendering and event processing is as\n * follows:\n *\n * 1. Try the local runtime, if available.\n * 2. If a local runtime or bundle is unavailable, or local execution fails\n * (including CircuitBreak), try the remote.\n * 3. Report execution errors by callback only. In general, all errors are\n * attempted to be tolerated.\n *\n * App / render state is always preserved even on error so a buggy app will try\n * not to show any issues. A bundle or runtime can be replaced on the fly with\n * losing state.\n */\nexport class Dispatcher {\n #meta?: Readonly<Metadata> | undefined;\n onError?: ErrorCallback | undefined;\n onPluginCall?: PluginCallback | undefined;\n onRenderPost?: ((req: RenderPostRequest, rsp: RenderPostResponse) => void) | undefined;\n onUserAction?: ((fx: Effect) => void) | undefined;\n postConfig?: Struct['fields'] | undefined;\n postID?: T3ID | undefined;\n /** A client to the remote runtime. */\n remote?: UIApp | undefined;\n /** Dimensions that describe layout information for the custom post entry point */\n dimensions: UIDimensions = DEFAULT_DIMENSIONS;\n\n /**\n * Bundle currently loaded. Used to test whether failed requests are for the\n * currently loaded bundle or a previous one.\n */\n #app?: Readonly<LinkedBundle> | undefined;\n /**\n * App state is never reset in production. Prior remote executions may have\n * occurred. The next loop will replace the state. Do not lose the current\n * state even after a bundle has been downloaded and is ready to load. The\n * only time state should be reinitialized is when a bundle has been\n * _replaced_ such as by devvit-preview.\n */\n #appState: AppState = {};\n /**\n * A client to the local runtime.\n * @internal\n */\n _local?: LiteClient | undefined;\n /** No concurrency is used to enforce order. to-do: replace with array? */\n readonly #q = new PQueue({ concurrency: 1 });\n /**\n * True if app has rendered since loaded. Since a successful render isn't\n * known at queue time, it's possible for multiple redundant renders to be\n * enqueued.\n */\n #rendered: boolean = false;\n #rerenderTimeout: ReturnType<typeof setTimeout> | undefined;\n #runtimeDebugLogging = false;\n /**\n * True if app has been paused. Paused apps don't run effects, rather store them\n * in #pausedEffects for when it has been unpaused.\n * Default is false to allow for initial remote render.\n */\n #paused: boolean = false;\n /** Store of any effects which queued while the app was paused. */\n #pausedEffects: PausedEffect[] = [];\n\n /** Get the current app state with the current post state. */\n get appState(): AppState {\n this.#appState.__postData = { thingId: this.postID, config: this.postConfig };\n return this.#appState;\n }\n\n /**\n * Load an app bundle into the local runtime, if available. The bundle is\n * assumed to implement a UIApp.\n */\n async load(app: Readonly<LinkedBundle>): Promise<LiteLoadResponse | undefined> {\n this.unload();\n this.#app = app;\n try {\n return await this._local?.loadBundle(app);\n } catch (err) {\n this.#onError(app, 'Error', err);\n }\n }\n\n set meta(meta: Readonly<Metadata> | undefined) {\n const copy = { ...meta };\n const debug = [];\n for (const [k, v] of Object.entries(devvit?.debug ?? {})) debug.push(`${k}=${v}`);\n if (debug.length) copy[Header.Debug] = { values: debug };\n this.#meta = copy;\n }\n\n queueEvent(ev: UIEvent): void {\n const app = this.#app;\n if (ev.async) {\n // TODO: Add QoS for different types of events on alternate queues. For\n // now, treat alternate queues as having infinite concurrency.\n void this.#processEvent(app, ev);\n } else {\n void this.#q.add(() => this.#processEvent(app, ev));\n }\n }\n\n queueRenderPost(type: BlockRenderEventType, id: string | undefined, data: EventData): void {\n const app = this.#app;\n void this.#q.add(() => this.#renderPost(app, type, id, data));\n }\n\n get rendered(): boolean {\n return this.#rendered;\n }\n\n get pausedEffects(): readonly PausedEffect[] {\n return this.#pausedEffects;\n }\n\n /**\n * Discard app and render state. This is used indirectly by devvit-preview\n * which frequently loads new bundles.\n */\n resetAppState(): void {\n this.#rendered = false;\n this.#appState = {};\n }\n\n set runtimeDebugLogging(on: boolean) {\n this.#runtimeDebugLogging = on;\n if (this._local) this._local.runtimeDebugLogging = on;\n }\n\n /** Set the runtime source code. */\n setLocalSrc(src: string | Blob | undefined, name: string): void {\n this.unload();\n if (!src) {\n this._local = undefined;\n return;\n }\n\n this._local = new BrowserLiteClient(src, name, (type, err) => this.onError?.(type, err), {\n callback: this.#onPluginCall,\n plugins: [],\n });\n this._local.runtimeDebugLogging = this.#runtimeDebugLogging;\n this._local.initializeWorker();\n }\n\n /** Unload the app and reject any open requests. */\n unload(): void {\n this.#app = undefined;\n if (this.#rerenderTimeout != null) clearTimeout(this.#rerenderTimeout);\n this.#q.clear();\n this._local?.quit();\n }\n\n /** Pause/unpause the app. */\n togglePause(paused: boolean): void {\n // If unpaused, run any saved effects while the app was paused.\n if (!paused && this.#pausedEffects.length > 0) {\n const pausedEffects = this.#pausedEffects;\n this.#pausedEffects = [];\n pausedEffects.forEach(({ renderType, effects }) => {\n this.#onEffects(renderType, effects);\n });\n }\n\n this.#paused = paused;\n }\n\n #logLocalErr(err: unknown): void {\n if (!devvit?.debug.runtime) return;\n if (isCircuitBreaker(err)) console.debug('[runtime] try remote call; circuit break');\n else console.debug('[runtime] try remote call; local failed', err);\n if (!this.remote) console.debug('[runtime] call failed; no remote');\n }\n\n #onEffects(renderType: BlockRenderEventType, effects: readonly Effect[]): void {\n for (const effect of effects) {\n if (effect.rerenderUi) {\n if (this.#rerenderTimeout != null) clearTimeout(this.#rerenderTimeout);\n this.#rerenderTimeout = setTimeout(\n () => {\n this.queueRenderPost(BlockRenderEventType.RENDER_EFFECT_EVENT, 'rerender-effect', {});\n },\n (effect.rerenderUi.delaySeconds ?? 0) * 1000\n );\n } else if (\n renderType !== BlockRenderEventType.RENDER_USER_ACTION ||\n userActionEffects.some((type) => effect[type])\n ) {\n this.onUserAction?.(effect);\n }\n }\n }\n\n /** @arg app The bundle at time of request. */\n #onError(app: Readonly<LinkedBundle> | undefined, type: WorkerErrorType, err: unknown): void {\n // Test if error was for a previously loaded bundle. If so, it's a hanging\n // request waiting for the BrowserLiteClient.quit() rejection. We can clear\n // enqueued requests on quit() but not in-flight requests. If app is\n // undefined, no assumptions can be made about the request since it was for\n // remote execution\n if (app && this.#app !== app) return;\n this.onError?.(type, err);\n }\n\n #onPluginCall: PluginCallback = (id, serviceName, method, args, meta) => {\n this.onPluginCall?.(id, serviceName, method, args, meta);\n if (\n serviceName === RealtimeDefinition.fullName &&\n method === RealtimeDefinition.methods.send.name\n )\n this._local?.onPluginResponse(id, { error: undefined, success: true, value: {} });\n };\n\n async #processEvent(app: Readonly<LinkedBundle> | undefined, ev: UIEvent): Promise<void> {\n let rsp: HandleUIEventResponse | undefined;\n const req: HandleUIEventRequest = { event: ev, state: this.appState };\n if (this._local?.ready && ev.scope !== UIEventScope.REMOTE) {\n try {\n rsp = (await this._local.call('HandleUIEvent', req, this.#meta)) as HandleUIEventResponse;\n } catch (err) {\n if (!isCircuitBreaker(err) || !this.remote) this.#onError(app, 'Error', err);\n this.#logLocalErr(err);\n }\n } else if (devvit?.debug.runtime) {\n console.debug(\n `[runtime] try remote call; ${\n ev.scope === UIEventScope.REMOTE ? 'local call forbidden' : 'local not ready'\n }`\n );\n }\n\n if (!rsp && ev.scope !== UIEventScope.LOCAL) {\n try {\n rsp = await this.remote?.HandleUIEvent(req, this.#meta);\n } catch (err) {\n this.#onError(app, 'Error', err);\n if (devvit?.debug.runtime) console.debug('[runtime] remote call failed', err);\n }\n }\n if (rsp) {\n // Can only change state on the main queue.\n if (!ev.async) {\n this.#appState = rsp.state ?? {};\n }\n const renderType = ev.realtimeEvent\n ? BlockRenderEventType.RENDER_EFFECT_EVENT\n : BlockRenderEventType.RENDER_USER_ACTION;\n if (this.#paused) {\n this.#pausedEffects.push({ renderType, effects: rsp.effects });\n } else {\n this.#onEffects(renderType, rsp.effects);\n }\n }\n\n if (devvit?.debug.runtime) {\n if (!this._local?.ready && !this.remote) console.debug('[runtime] call failed; no runtimes');\n else if (!this._local?.ready && ev.scope === UIEventScope.LOCAL)\n console.debug('[runtime] call failed; local event but local runtime is unavailable');\n else if (!this.remote && ev.scope === UIEventScope.REMOTE)\n console.debug('[runtime] call failed; remote event but remote runtime is unavailable');\n }\n }\n\n async #renderPost(\n app: Readonly<LinkedBundle> | undefined,\n type: BlockRenderEventType,\n id: string | undefined,\n data: EventData\n ): Promise<void> {\n const req: RenderPostRequest = {\n blocks: { type, id, data },\n state: this.appState,\n dimensions: this.dimensions,\n };\n let rsp: RenderPostResponse | undefined;\n\n if (this._local?.ready) {\n try {\n rsp = (await this._local.call('RenderPost', req, this.#meta)) as RenderPostResponse;\n } catch (err) {\n if (isCircuitBreaker(err) && err.response) rsp = err.response as RenderPostResponse;\n if (!isCircuitBreaker(err) || !this.remote) this.#onError(app, 'Error', err);\n this.#logLocalErr(err);\n }\n } else if (devvit?.debug.runtime) console.debug('[runtime] try remote call; local not ready');\n\n if (!rsp) {\n try {\n rsp = await this.remote?.RenderPost(req, this.#meta);\n } catch (err) {\n this.#onError(app, 'Error', err);\n if (devvit?.debug.runtime) console.debug('[runtime] remote call failed', err);\n }\n }\n\n if (rsp) {\n this.#rendered = true;\n if (rsp.state) this.#appState = rsp.state;\n this.onRenderPost?.(req, rsp);\n if (this.#paused) {\n this.#pausedEffects.push({ renderType: req.blocks!.type, effects: rsp.effects });\n } else {\n this.#onEffects(req.blocks!.type, rsp.effects);\n }\n }\n\n if (devvit?.debug.runtime && !this._local?.ready && !this.remote)\n console.debug('[runtime] call failed; no runtimes');\n }\n}\n", "/**\n * #context.ts\n *\n * @packageDocumentation\n */\n/* eslint-disable */\nimport _m0 from \"protobufjs/minimal.js\";\nimport { messageTypeRegistry } from \"../../../../../typeRegistry.js\";\nfunction createBaseWebViewContext() {\n return { subredditId: \"\", subredditName: \"\", userId: \"\", appName: \"\", appVersion: \"\", postId: \"\" };\n}\nexport const WebViewContext = {\n $type: \"devvit.ui.effects.web_view.v1alpha.WebViewContext\",\n encode(message, writer = _m0.Writer.create()) {\n if (message.subredditId !== \"\") {\n writer.uint32(10).string(message.subredditId);\n }\n if (message.subredditName !== \"\") {\n writer.uint32(18).string(message.subredditName);\n }\n if (message.userId !== \"\") {\n writer.uint32(26).string(message.userId);\n }\n if (message.appName !== \"\") {\n writer.uint32(34).string(message.appName);\n }\n if (message.appVersion !== \"\") {\n writer.uint32(42).string(message.appVersion);\n }\n if (message.postId !== \"\") {\n writer.uint32(50).string(message.postId);\n }\n return writer;\n },\n decode(input, length) {\n const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseWebViewContext();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (tag !== 10) {\n break;\n }\n message.subredditId = reader.string();\n continue;\n case 2:\n if (tag !== 18) {\n break;\n }\n message.subredditName = reader.string();\n continue;\n case 3:\n if (tag !== 26) {\n break;\n }\n message.userId = reader.string();\n continue;\n case 4:\n if (tag !== 34) {\n break;\n }\n message.appName = reader.string();\n continue;\n case 5:\n if (tag !== 42) {\n break;\n }\n message.appVersion = reader.string();\n continue;\n case 6:\n if (tag !== 50) {\n break;\n }\n message.postId = reader.string();\n continue;\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skipType(tag & 7);\n }\n return message;\n },\n fromJSON(object) {\n return {\n subredditId: isSet(object.subredditId) ? globalThis.String(object.subredditId) : \"\",\n subredditName: isSet(object.subredditName) ? globalThis.String(object.subredditName) : \"\",\n userId: isSet(object.userId) ? globalThis.String(object.userId) : \"\",\n appName: isSet(object.appName) ? globalThis.String(object.appName) : \"\",\n appVersion: isSet(object.appVersion) ? globalThis.String(object.appVersion) : \"\",\n postId: isSet(object.postId) ? globalThis.String(object.postId) : \"\",\n };\n },\n toJSON(message) {\n const obj = {};\n if (message.subredditId !== \"\") {\n obj.subredditId = message.subredditId;\n }\n if (message.subredditName !== \"\") {\n obj.subredditName = message.subredditName;\n }\n if (message.userId !== \"\") {\n obj.userId = message.userId;\n }\n if (message.appName !== \"\") {\n obj.appName = message.appName;\n }\n if (message.appVersion !== \"\") {\n obj.appVersion = message.appVersion;\n }\n if (message.postId !== \"\") {\n obj.postId = message.postId;\n }\n return obj;\n },\n create(base) {\n return WebViewContext.fromPartial(base ?? {});\n },\n fromPartial(object) {\n const message = createBaseWebViewContext();\n message.subredditId = object.subredditId ?? \"\";\n message.subredditName = object.subredditName ?? \"\";\n message.userId = object.userId ?? \"\";\n message.appName = object.appName ?? \"\";\n message.appVersion = object.appVersion ?? \"\";\n message.postId = object.postId ?? \"\";\n return message;\n },\n};\nmessageTypeRegistry.set(WebViewContext.$type, WebViewContext);\nfunction isSet(value) {\n return value !== null && value !== undefined;\n}\n", "import { WebViewContext } from '@devvit/protos/types/devvit/ui/effects/web_view/v1alpha/context.js';\nimport type { T2ID, T3ID, T5ID } from '@devvit/shared-types/tid.js';\nimport { noWebbitToken, type WebbitToken } from '@devvit/shared-types/webbit.js';\n\n/**\n * This is shared between <devvit-surface> <devvit-custom-post> to map the\n * WebView assets from their S3 key location to the fully qualified devvit.net\n * URL for use in an iframe.\n *\n * @param template provided by the client; fields will be dependent on the template version\n * @param subreddit the subreddit thing ID where the app is installed\n * @param version the app version currently running\n * @param url the URL from the WebView block configuration\n * @param hostname the app hostname\n */\nexport function resolveWebViewUrl(\n template: string,\n subreddit: T5ID | undefined,\n version: string,\n url: string,\n hostname: string,\n webbitToken: WebbitToken,\n subredditName: string | undefined,\n userId: T2ID | undefined,\n postId: T3ID | undefined,\n appName: string | undefined\n): string {\n // input: 9b9cfb2e-d7d4-4b35-b6bc-cb8af11ee5e9/path.html\n const segments = url.match(/([a-zA-Z0-9-]+)\\/(.*)/) ?? [];\n if (segments.length < 3) {\n return '';\n }\n const [_, app, path] = segments;\n if (!subreddit || !app || !path) {\n return '';\n }\n\n // Replace . with - to match the expected format in Fastly, e.g.\n // 1.10.1 => 1-10-1\n // 11.0.1 => 11-0-1\n const formattedVersion = version.replace(/[^0-9]+/g, '-');\n const subredditId = subreddit.replace(/^t[0-9]_/, '');\n const installation = hostname.split('.')[0];\n\n const parsedTemplate = template\n .replace('{{location}}', subredditId)\n .replace('{{app}}', app)\n .replace('{{installation}}', installation)\n .replace('{{version}}', formattedVersion)\n .replace('{{path}}', path);\n\n const newUrl = new URL(parsedTemplate);\n\n const webviewContext: WebViewContext = {\n subredditId: subreddit,\n subredditName: subredditName ?? '',\n userId: userId ?? '',\n appName: appName ?? '',\n appVersion: version,\n postId: postId ?? '',\n };\n const encodedJSONcontext = JSON.stringify(WebViewContext.toJSON(webviewContext));\n\n if (webbitToken !== noWebbitToken) newUrl.searchParams.append('webbit_token', webbitToken);\n newUrl.searchParams.append('context', encodedJSONcontext);\n\n return newUrl.toString();\n}\n", "import '@reddit/faceplate-ui/templateRenderingStrategy/clientStrategy.js';\nimport '../blocks/components/devvit-blocks-renderer.js';\nimport '../blocks/components/devvit-blocks-web-view.js';\n\nimport type { Metadata } from '@devvit/protos/lib/Types.js';\nimport {\n RealtimeDefinition,\n type RealtimeEvent,\n} from '@devvit/protos/types/devvit/events/v1alpha/realtime.js';\nimport type {\n RenderPostRequest,\n RenderPostResponse,\n} from '@devvit/protos/types/devvit/reddit/custom_post/v1alpha/custom_post.js';\nimport type { LinkedBundle } from '@devvit/protos/types/devvit/runtime/bundle.js';\nimport type { Block } from '@devvit/protos/types/devvit/ui/block_kit/v1beta/block.js';\nimport {\n BlockRenderEventType,\n BlockStackDirection,\n} from '@devvit/protos/types/devvit/ui/block_kit/v1beta/enums.js';\nimport { UIDimensions } from '@devvit/protos/types/devvit/ui/common/v1alpha/common.js';\nimport type { Effect } from '@devvit/protos/types/devvit/ui/effects/v1alpha/effect.js';\nimport type { Struct } from '@devvit/protos/types/google/protobuf/struct.js';\nimport type { ErrorCallback } from '@devvit/runtime-lite/client/BrowserLiteClient.js';\nimport type { PluginCallback } from '@devvit/runtime-lite/runtime/RuntimeLite.js';\nimport { isCircuitBreaker } from '@devvit/shared-types/CircuitBreaker.js';\nimport { Header } from '@devvit/shared-types/Header.js';\nimport { throttle } from '@devvit/shared-types/throttle.js';\nimport { asT3ID, type T2ID, type T3ID, type T5ID } from '@devvit/shared-types/tid.js';\nimport { noWebbitToken } from '@devvit/shared-types/webbit.js';\nimport type { FaceplateEvent } from '@reddit/faceplate/event-types.js';\nimport { customEvent } from '@reddit/faceplate/lib/custom-event.js';\nimport type { PropertyValues } from 'lit';\nimport { html, LitElement } from 'lit';\nimport { customElement, property, query, state } from 'lit/decorators.js';\n\nimport { DevvitBlocksRenderer } from '../blocks/components/devvit-blocks-renderer.js';\nimport { DEFAULT_ROOT_HEIGHT } from '../blocks/templates/renderBlock.js';\nimport type { RenderContext } from '../blocks/templates/renderContext.js';\nimport { styles } from '../styles.js';\nimport { buildDimensions } from './dimensions.js';\nimport { Dispatcher } from './dispatcher/dispatcher.js';\nimport type {\n DevvitRealtimeSend,\n DevvitRealtimeSendEvent,\n DevvitUIEffect,\n DevvitUIEffectEvent,\n DevvitUIError,\n} from './dispatcher/events.js';\nimport {\n type DevvitClientPerformanceEvent,\n DevvitClientPerformanceEventName,\n} from './dispatcher/events.js';\nimport type { UIApp } from './dispatcher/remote-app.js';\nimport { resolveWebViewUrl } from './web-view.js';\n\n// TODO: Remove once play imports these from events.js\nexport type {\n DevvitRealtimeSend,\n DevvitRealtimeSendEvent,\n DevvitUIEffect,\n DevvitUIEffectEvent,\n DevvitUIError,\n};\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'devvit-custom-post': DevvitCustomPost;\n }\n\n interface HTMLElementEventMap {\n 'devvit-realtime-send': DevvitRealtimeSendEvent;\n 'devvit-ui-effect': DevvitUIEffectEvent;\n 'devvit-ui-error': Omit<FaceplateEvent<'devvit-ui-error'>, 'detail'> & {\n detail: DevvitUIError;\n };\n [DevvitClientPerformanceEventName]: DevvitClientPerformanceEvent;\n }\n}\n\n/**\n * Blocks program renderer.\n *\n * Assumes the loaded program is a CustomPost & UIEventHandler.\n *\n * The complexity of this class should only be the UI itself and proxying state\n * to devvit-blocks-renderer and Dispatcher. Don't put logic here that you can't\n * unit test.\n *\n * @slot - Loading / unloaded state.\n */\n@customElement('devvit-custom-post')\nexport class DevvitCustomPost extends LitElement {\n static override get styles() {\n return [styles];\n }\n\n /** Probably a wrapper around the remote runtime (compute-go). */\n @property({ attribute: false }) remoteApp?: UIApp | undefined;\n @property({ attribute: false }) bundle?: LinkedBundle | undefined;\n /** url or blob with local runtime code */\n @property({ attribute: false }) localRuntimeCode?: string | Blob | undefined;\n @property({ attribute: false }) metadata?: Metadata | undefined;\n @property({ attribute: false }) postConfig?: Struct['fields'] | undefined;\n @property({ attribute: 'post-id' }) postId?: string | undefined;\n @property({ attribute: 'runtime-debug-logging', type: Boolean })\n runtimeDebugLogging: boolean = false;\n @property({ attribute: 'scheme' }) scheme?: 'dark' | 'light' | undefined;\n @property({ attribute: 'use-experimental-blocks', type: Boolean })\n useExperimentalBlocks: boolean = false;\n @property({ type: String })\n webViewUrlTemplate: string = '';\n @property({ attribute: 'disable-asset-sandbox', type: Boolean })\n disableAssetSandbox: boolean = false;\n @state() renderResponse?: RenderPostResponse | undefined; // to-do [studio]: privatize.\n @state() dimensions?: UIDimensions;\n\n @query('devvit-blocks-renderer') private _blocksRenderer!: DevvitBlocksRenderer; // eslint-disable-line @typescript-eslint/naming-convention\n @state() private _rootBlock?: Block | undefined; // eslint-disable-line @typescript-eslint/naming-convention\n #dispatcher: Dispatcher = new Dispatcher();\n #rootHeight: number | undefined;\n #resizeObserver: ResizeObserver | undefined;\n #intersectionObserver: IntersectionObserver | undefined;\n #appVersion: string = '';\n\n constructor() {\n super();\n if (devvit?.debug.surface) console.debug('[custom] constructed');\n this.#dispatcher.onError = this.#onError;\n this.#dispatcher.onPluginCall = this.#onPluginCall;\n this.#dispatcher.onRenderPost = this.#onRenderPost;\n this.#dispatcher.onUserAction = this.#onUserActionEffect;\n }\n\n override async connectedCallback(): Promise<void> {\n super.connectedCallback();\n if (devvit?.debug.surface) console.debug('[custom] connected');\n\n this.#resizeObserver = new ResizeObserver(\n throttle((entries) => {\n if (entries.length === 0) return;\n this.dimensions = buildDimensions(entries[0], window, document.body);\n if (devvit?.debug.surface) console.debug('[custom] resized', this.dimensions);\n }, 600)\n );\n this.#resizeObserver.observe(this, { box: 'content-box' });\n\n this.#intersectionObserver = new IntersectionObserver(\n (entries: IntersectionObserverEntry[]) => {\n entries.forEach((entry) => {\n if (devvit?.debug.surface)\n console.debug(`[custom] ${entry.isIntersecting ? '' : 'not '}intersecting`);\n this.#dispatcher.togglePause(!entry.isIntersecting);\n });\n }\n );\n this.#intersectionObserver.observe(this);\n }\n\n override disconnectedCallback(): void {\n if (devvit?.debug.surface) console.debug('[custom] disconnected');\n this.#dispatcher.unload();\n this.#resizeObserver?.unobserve(this);\n this.#intersectionObserver?.unobserve(this);\n super.disconnectedCallback();\n }\n\n protected override render() {\n if (!this.renderResponse) {\n // The slot content is considered the loading state.\n return html`<slot></slot>`;\n }\n\n return html`<div class=\"relative\">\n <devvit-blocks-renderer\n class=\"${this.scheme ?? ''}\"\n .block=\"${this._rootBlock}\"\n .renderContext=\"${this.#newRenderContext}\"\n >\n <slot slot=\"empty-state-image\" name=\"empty-state-image\"></slot>\n </devvit-blocks-renderer>\n </div>`;\n }\n\n protected override async willUpdate(props: PropertyValues<this>): Promise<void> {\n this.#dispatcher.meta = this.metadata;\n this.#dispatcher.postConfig = this.postConfig;\n // If the custom post has dimensions, set them on all prop updates to keep\n // the dispatcher up to date on what's happening.\n if (this.dimensions) {\n this.#dispatcher.dimensions = this.dimensions;\n }\n\n if (props.has('postId')) {\n this.#dispatcher.postID = this.postId ? asT3ID(this.postId) : undefined;\n }\n\n if (props.has('runtimeDebugLogging')) {\n this.#dispatcher.runtimeDebugLogging = this.runtimeDebugLogging;\n }\n\n if (props.has('remoteApp')) {\n if (devvit?.debug.surface)\n console.debug(`[custom] remoteApp ${this.remoteApp ? 'defined' : 'undefined'}`);\n this.#dispatcher.remote = this.remoteApp;\n }\n\n let bundleLoaded = false;\n if (props.has('localRuntimeCode')) {\n if (devvit?.debug.surface)\n console.debug(\n `[surface] local runtime blob ${this.localRuntimeCode ? 'loading' : 'unloading'}`\n );\n bundleLoaded = await this.#updateLocalRuntime(this.localRuntimeCode);\n }\n\n if (props.has('bundle') && this.bundle) {\n if (devvit?.debug.surface) console.debug('[custom] bundle loading');\n bundleLoaded = await this.#tryLoadAppBundle(this.bundle, !!props.get('bundle'));\n }\n\n // If the custom post does not have dimensions, block all render events until they are\n // reported. This prevents the user from being shown the jank of our custom dimensions.\n // Do not place this above the bundle loader! We want to start loading immediately\n // since it can take a few seconds.\n //\n // In case you're curious, this adds about 15ms of latency, but that pales in comparison\n // to the length of loading the local runtime.\n if (!this.dimensions) return;\n\n // We always want to trigger at least one render if:\n // 1. The app dimensions change\n // 2. The bundle changes. Loading a bundle is lengthy and dimensions may have changed during a load\n if (!this.#dispatcher.rendered) {\n if (devvit?.debug.surface) console.debug('[custom] initial render');\n this.#dispatcher.queueRenderPost(BlockRenderEventType.RENDER_INITIAL, undefined, {});\n } else if (props.has('dimensions') || bundleLoaded) {\n if (devvit?.debug.surface) console.debug('[custom] dimensions / bundle render');\n this.#dispatcher.queueRenderPost(BlockRenderEventType.RENDER_USER_ACTION, undefined, {});\n }\n }\n\n async #updateLocalRuntime(localRuntimeSrc: string | Blob | undefined): Promise<boolean> {\n const localRuntimeName = this.metadata?.[Header.App]?.values?.[0] || 'Untitled Runtime';\n this.#dispatcher.setLocalSrc(localRuntimeSrc, localRuntimeName);\n if (!this.bundle) {\n return false;\n }\n return this.#tryLoadAppBundle(this.bundle, false);\n }\n\n async #tryLoadAppBundle(bundle: LinkedBundle, isReload: boolean): Promise<boolean> {\n if (!this.localRuntimeCode) {\n return false;\n }\n const bundleLoadResponse = await this.#dispatcher.load(bundle);\n if (bundleLoadResponse) {\n this.#bubble<DevvitClientPerformanceEvent>(DevvitClientPerformanceEventName, {\n name: 'init_runtime',\n timeStart: bundleLoadResponse.metrics.init.start,\n timeEnd: bundleLoadResponse.metrics.init.end,\n });\n if (bundleLoadResponse.metrics.loadBundle) {\n this.#bubble<DevvitClientPerformanceEvent>(DevvitClientPerformanceEventName, {\n name: 'load_full_bundle',\n timeStart: bundleLoadResponse.metrics.loadBundle.start,\n timeEnd: bundleLoadResponse.metrics.loadBundle.end,\n });\n }\n }\n\n if (devvit?.debug.surface) console.debug('[custom] bundle loaded');\n\n this.#appVersion = bundle.actor?.version ?? '';\n\n if (isReload) {\n if (devvit?.debug.surface || devvit?.debug.runtime)\n console.debug('[runtime][custom] reset runtime state');\n // Bundle was _replaced_ (likely devvit-preview). Require a new render.\n this.renderResponse = undefined;\n this.#dispatcher.resetAppState();\n this.#rootHeight = undefined;\n }\n return true;\n }\n\n #bubble<T>(type: string, detail: T): void {\n this.dispatchEvent(customEvent(type, detail));\n }\n\n #newRenderContext = (): RenderContext => ({\n experimental: this.useExperimentalBlocks,\n resolveWebViewUrl: (url): string =>\n this.disableAssetSandbox\n ? url\n : resolveWebViewUrl(\n this.webViewUrlTemplate,\n this.metadata?.[Header.Subreddit]?.values?.[0] as T5ID | undefined, // subreddit\n this.#appVersion,\n url,\n this.bundle?.hostname ?? '',\n noWebbitToken,\n this.metadata?.[Header.SubredditName]?.values?.[0], // subredditName\n this.metadata?.[Header.User]?.values?.[0] as T2ID | undefined, // userId\n this.metadata?.[Header.Post]?.values?.[0] as T3ID | undefined, // postId\n this.metadata?.[Header.App]?.values?.[0] // app name\n ),\n onAction: (action) =>\n this.#dispatcher.queueRenderPost(\n BlockRenderEventType.RENDER_USER_ACTION,\n action.id,\n action.data ?? {}\n ),\n stackDirection: BlockStackDirection.UNRECOGNIZED,\n disableAssetSandbox: this.disableAssetSandbox,\n });\n\n #onError: ErrorCallback = (type, err) => {\n if (!isCircuitBreaker(err)) console.error(err);\n this.#bubble<DevvitUIError>('devvit-ui-error', { err, type });\n };\n\n #onPluginCall: PluginCallback = (_id, serviceName, method, args, _meta) => {\n if (\n serviceName === RealtimeDefinition.fullName &&\n method === RealtimeDefinition.methods.send.name\n ) {\n if (devvit?.debug.surface || devvit?.debug.realtime)\n console.debug('[realtime][custom] realtime plugin call', args);\n this.#bubble<DevvitRealtimeSend>('devvit-realtime-send', { event: <RealtimeEvent>args });\n }\n };\n\n #onRenderPost = (_: RenderPostRequest, rsp: RenderPostResponse): void => {\n this.renderResponse = rsp;\n\n if (this.renderResponse?.blocks?.ui) {\n this._rootBlock = this.renderResponse.blocks.ui;\n if (!this.#rootHeight) {\n // Lock in the initial height\n this.#rootHeight = this._rootBlock.config?.rootConfig?.height || DEFAULT_ROOT_HEIGHT;\n } else {\n this._rootBlock.config ??= {};\n this._rootBlock.config.rootConfig ??= { children: [], height: 0 };\n this._rootBlock.config.rootConfig.height = this.#rootHeight;\n }\n }\n };\n\n #onUserActionEffect = (fx: Effect): void => {\n if (devvit?.debug.surface) console.debug('[custom] effect', fx);\n this.#bubble<DevvitUIEffect>('devvit-ui-effect', {\n effect: fx,\n onEvent: (ev) => this.#dispatcher.queueEvent(ev),\n metadata: this.metadata,\n });\n };\n}\n"],
|
|
5
|
+
"mappings": "iiCAAA,IAAAA,GAAAC,GAAA,CAAAC,GAAAC,KAAA,cACAA,GAAO,QAAUC,GAmBjB,SAASA,GAAUC,EAAIC,EAAmB,CAKtC,QAJIC,EAAU,IAAI,MAAM,UAAU,OAAS,CAAC,EACxCC,EAAU,EACVC,EAAU,EACVC,EAAU,GACPD,EAAQ,UAAU,QACrBF,EAAOC,GAAQ,EAAI,UAAUC,GAAO,EACxC,OAAO,IAAI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AAS,+oBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,6kBACN,QAAS,89BACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,y4BACN,QAAS,yhCACb,EACA,GAAI,CACA,KAAM,KACN,KAAM,ueACN,QAAS,6tBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,kLACN,QAAS,2LACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,0KACN,QAAS,mLACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,yKACN,QAAS,kLACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,wTACN,QAAS,yRACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,06DACN,QAAS,8hEACb,EACA,WAAY,CACR,KAAM,aACN,KAAM,6YACN,QAAS,2lBACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,2PACN,QAAS,uTACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,mZACN,QAAS,0YACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,yTACN,QAAS,iXACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,iRACN,QAAS,gXACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,yaACN,QAAS,mcACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,8hBACN,QAAS,+yBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,uUACN,QAAS,uXACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,6aACN,QAAS,ghBACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,quBACN,QAAS,msBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,s2BACN,QAAS,ulCACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,gfACN,QAAS,6uBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,4LACN,QAAS,sMACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,2rBACN,QAAS,mjCACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,4iBACN,QAAS,2xBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,+ZACN,QAAS,+lBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,8WACN,QAAS,2gBACb,EACA,WAAY,CACR,KAAM,aACN,KAAM,+aACN,QAAS,2pBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,0qBACN,QAAS,+qBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,ggCACN,QAAS,4xCACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,uZACN,QAAS,woBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,oZACN,QAAS,uYACb,EACA,kBAAmB,CACf,KAAM,kBACN,KAAM,mhBACN,QAAS,+hCACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,oiBACN,QAAS,2vBACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,8SACN,QAAS,+bACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,0bACN,QAAS,ylBACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,6RACN,QAAS,6cACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,0XACN,QAAS,4mBACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,kjBACN,QAAS,qvBACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,2MACN,QAAS,iNACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,2LACN,QAAS,wLACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,4LACN,QAAS,2LACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,4LACN,QAAS,0LACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,ibACN,QAAS,qxBACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,8lBACN,QAAS,+hCACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,oVACN,QAAS,ujBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,knBACN,QAAS,6yBACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,iRACN,QAAS,qZACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,wUACN,QAAS,yXACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,kPACN,QAAS,mOACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,kmBACN,QAAS,qkBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,2SACN,QAAS,0VACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,0dACN,QAAS,uxBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,0PACN,QAAS,8OACb,EACA,oBAAqB,CACjB,KAAM,oBACN,KAAM,6oCACN,QAAS,+qCACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,yUACN,QAAS,weACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,+eACN,QAAS,ubACb,EACA,kBAAmB,CACf,KAAM,kBACN,QAAS,4iCACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,m1BACN,QAAS,q9BACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,2YACN,QAAS,mSACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,oZACN,QAAS,oSACb,EACA,0BAA2B,CACvB,KAAM,0BACN,KAAM,2jDACN,QAAS,otDACb,EACA,WAAY,CACR,KAAM,aACN,KAAM,iRACN,QAAS,8ZACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,uRACN,QAAS,siBACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,qbACN,QAAS,osBACb,EACA,YAAa,CACT,KAAM,cACN,KAAM,qhBACN,QAAS,0xCACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,+dACN,QAAS,sfACb,EACA,WAAY,CACR,KAAM,aACN,KAAM,kpBACN,QAAS,+8BACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,odACN,QAAS,upBACb,EACA,cAAe,CACX,KAAM,gBACN,KAAM,yTACN,QAAS,yaACb,EACA,WAAY,CACR,KAAM,aACN,KAAM,2iBACN,QAAS,spBACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,8XACN,QAAS,8ZACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,yNACN,QAAS,mRACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,gkBACN,QAAS,uaACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,iaACN,QAAS,8eACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,ykBACN,QAAS,q8BACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,geACN,QAAS,s4BACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,4TACN,QAAS,6VACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,odACN,QAAS,ggBACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,uZACN,QAAS,wjBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,giBACN,QAAS,2rBACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,wZACN,QAAS,yjBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,mkBACN,QAAS,ohCACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,6UACN,QAAS,+eACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,oJACN,QAAS,wKACb,EACA,YAAa,CACT,KAAM,cACN,KAAM,kUACN,QAAS,kbACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,uMACN,QAAS,6MACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,uMACN,QAAS,iNACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,4SACN,QAAS,wXACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,4VACN,QAAS,qdACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,6hBACN,QAAS,slBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,sZACN,QAAS,qZACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,inBACN,QAAS,qwBACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,uXACN,QAAS,gaACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,yVACN,QAAS,qdACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,q2BACN,QAAS,giCACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,ocACN,QAAS,4lBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,kYACN,QAAS,4bACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,ozCACN,QAAS,83CACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,qVACN,QAAS,8dACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,waACN,QAAS,mSACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,kZACN,QAAS,mSACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,4bACN,QAAS,kaACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,+gBACN,QAAS,2uBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,wNACN,QAAS,0VACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,8JACN,QAAS,4JACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,sMACN,QAAS,wMACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,8XACN,QAAS,wiBACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,q8BACN,QAAS,+uCACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,+fACN,QAAS,isCACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,wUACN,QAAS,2XACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,4UACN,QAAS,wkBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,26BACN,QAAS,wgCACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,8vBACN,QAAS,2wCACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,4MACN,QAAS,8QACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,meACN,QAAS,wgBACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,inBACN,QAAS,mtBACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,6mBACN,QAAS,kqBACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,+ZACN,QAAS,4kBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,8YACN,QAAS,0jBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,6WACN,QAAS,6cACb,EACA,qBAAsB,CAClB,KAAM,qBACN,KAAM,iUACN,QAAS,0dACb,EACA,sBAAuB,CACnB,KAAM,sBACN,KAAM,mUACN,QAAS,0dACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,oUACN,QAAS,ydACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,gUACN,QAAS,0dACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,ikBACN,QAAS,kqBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,yZACN,QAAS,ieACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,8kBACN,QAAS,6ZACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,sLACN,QAAS,yRACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,oQACN,QAAS,2TACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,0RACN,QAAS,qSACb,EACA,UAAW,CACP,KAAM,UACN,KAAM,kRACN,QAAS,4RACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,+oCACN,QAAS,49EACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,upBACN,QAAS,ysBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,qmBACN,QAAS,gjBACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,+xBACN,QAAS,u8BACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,oKACN,QAAS,2OACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,2LACN,QAAS,wLACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,kvCACN,QAAS,8hDACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,kvCACN,QAAS,8hDACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,sPACN,QAAS,0SACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,q2BACN,QAAS,63BACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,gpBACN,QAAS,oiCACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,mWACN,QAAS,0UACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,mrBACN,QAAS,krBACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,6SACN,QAAS,qcACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,iXACN,QAAS,qfACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,0bACN,QAAS,mfACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,wQACN,QAAS,6SACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,w0DACN,QAAS,k1DACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,6YACN,QAAS,ujBACb,EACA,YAAa,CACT,KAAM,cACN,KAAM,u0BACN,QAAS,qlCACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,4sCACN,QAAS,0tCACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,mjBACN,QAAS,q0BACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,ikBACN,QAAS,i0BACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,mJACN,QAAS,wKACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,8YACN,QAAS,0jBACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,uUACN,QAAS,uXACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,ukBACN,QAAS,8sBACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,mUACN,QAAS,yaACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,ilBACN,QAAS,msBACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,2cACN,QAAS,6jBACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,+lBACN,QAAS,+pBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,yZACN,QAAS,shBACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,ggBACN,QAAS,myBACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,mZACN,QAAS,kmBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,iTACN,QAAS,keACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,geACN,QAAS,ihBACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,ulBACN,QAAS,+nCACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,yZACN,QAAS,8eACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,ktBACN,QAAS,4zBACb,EACA,aAAc,CACV,KAAM,eACN,KAAM,8WACN,QAAS,ihBACb,EACA,wBAAyB,CACrB,KAAM,wBACN,KAAM,shBACN,QAAS,8uBACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,6bACN,QAAS,grBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,swCACN,QAAS,k/CACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,kqDACN,QAAS,k+CACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,kdACN,QAAS,2pBACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,6lBACN,QAAS,syBACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,qhCACN,QAAS,2mCACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,uPACN,QAAS,wUACb,EACA,sBAAuB,CACnB,KAAM,sBACN,KAAM,yMACN,QAAS,qOACb,EACA,oBAAqB,CACjB,KAAM,oBACN,KAAM,yMACN,QAAS,sOACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,2XACN,QAAS,8bACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,qTACN,QAAS,kfACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,+qCACN,QAAS,4/CACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,qsBACN,QAAS,84BACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,yRACN,QAAS,ubACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,wcACN,QAAS,mqBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,2PACN,QAAS,oSACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,sPACN,QAAS,4QACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,0PACN,QAAS,gSACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,ybACN,QAAS,wnBACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,uXACN,QAAS,wdACb,EACA,YAAa,CACT,KAAM,cACN,KAAM,mxBACN,QAAS,kjCACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,wpBACN,QAAS,o0BACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,yTACN,QAAS,ycACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,gUACN,QAAS,geACb,EACA,GAAI,CACA,KAAM,KACN,KAAM,6aACN,QAAS,ghBACb,EACA,UAAW,CACP,KAAM,UACN,KAAM,6kBACN,QAAS,6wBACb,EACA,YAAa,CACT,KAAM,cACN,KAAM,gnBACN,QAAS,21BACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,6/BACN,QAAS,0kCACb,EACA,UAAW,CACP,KAAM,UACN,KAAM,qYACN,QAAS,0aACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,2xBACN,QAAS,qtBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,uRACN,QAAS,gOACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,i0BACN,QAAS,i3BACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,2rBACN,QAAS,q9BACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,uTACN,QAAS,scACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,oXACN,QAAS,sgBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,4XACN,QAAS,whBACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,6UACN,QAAS,6dACb,EACA,kBAAmB,CACf,KAAM,kBACN,KAAM,o5BACN,QAAS,qjCACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,+RACN,QAAS,4PACb,EACA,kBAAmB,CACf,KAAM,kBACN,KAAM,0nBACN,QAAS,uyBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,iNACN,QAAS,oRACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,qQACN,QAAS,gRACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,mTACN,QAAS,ydACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,+SACN,QAAS,uTACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,6/BACN,QAAS,6hCACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,0LACN,QAAS,2LACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,8YACN,QAAS,ukBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,+cACN,QAAS,wbACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,gdACN,QAAS,+jBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,8fACN,QAAS,shCACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,q/BACN,QAAS,woCACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,oUACN,QAAS,ybACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,gQACN,QAAS,2XACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,wbACN,QAAS,6jBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,gaACN,QAAS,8kBACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,gcACN,QAAS,wrBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,8PACN,QAAS,sPACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,0RACN,QAAS,0aACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,iRACN,QAAS,+VACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,owCACN,QAAS,glEACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,kpBACN,QAAS,u7BACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,8QACN,QAAS,qRACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,mUACN,QAAS,olBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,uXACN,QAAS,8iBACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,qaACN,QAAS,+aACb,EACA,WAAY,CACR,KAAM,aACN,KAAM,4/BACN,QAAS,iiCACb,EACA,cAAe,CACX,KAAM,gBACN,KAAM,y+BACN,QAAS,qhCACb,EACA,UAAW,CACP,KAAM,UACN,KAAM,6hBACN,QAAS,4iBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,kJACN,QAAS,sKACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,kmBACN,QAAS,goBACb,EACA,UAAW,CACP,KAAM,UACN,KAAM,4hBACN,QAAS,ijBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,6jBACN,QAAS,ipBACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,6YACN,QAAS,i0BACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,yvBACN,QAAS,+uBACb,EACA,YAAa,CACT,KAAM,cACN,KAAM,sSACN,QAAS,2cACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,oYACN,QAAS,ogBACb,EACA,WAAY,CACR,KAAM,aACN,KAAM,+KACN,QAAS,2MACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,ifACN,QAAS,0UACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,mgBACN,QAAS,gtBACb,EACA,cAAe,CACX,KAAM,gBACN,KAAM,w4BACN,QAAS,k+BACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,oHACN,QAAS,8HACb,EACA,YAAa,CACT,KAAM,cACN,KAAM,8QACN,QAAS,qRACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,6xBACN,QAAS,u2BACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,yjBACN,QAAS,sgCACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,koBACN,QAAS,6/BACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,6jBACN,QAAS,q/BACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,wmBACN,QAAS,g7BACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,yUACN,QAAS,ohBACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,uUACN,QAAS,whBACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,4vBACN,QAAS,6jCACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,8JACN,QAAS,4JACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,6RACN,QAAS,6aACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,+KACN,QAAS,0MACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,siBACN,QAAS,6uBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,0qBACN,QAAS,+nCACb,EACA,IAAK,CACD,KAAM,MACN,KAAM,+XACN,QAAS,ycACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,wwBACN,QAAS,+jCACb,EACA,yBAA0B,CACtB,KAAM,yBACN,KAAM,mxBACN,QAAS,gkCACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,sVACN,QAAS,gfACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,0qCACN,QAAS,moDACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,mpBACN,QAAS,ymCACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,mpBACN,QAAS,i9BACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,usBACN,QAAS,igCACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,yUACN,QAAS,qVACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,kgBACN,QAAS,uzBACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,sdACN,QAAS,0gBACb,EACA,kBAAmB,CACf,KAAM,kBACN,KAAM,+hBACN,QAAS,0+BACb,EACA,kBAAmB,CACf,KAAM,kBACN,KAAM,2nBACN,QAAS,owBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,i+BACN,QAAS,84BACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,ytCACN,QAAS,02CACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,igBACN,QAAS,mqBACb,EACA,sBAAuB,CACnB,KAAM,sBACN,KAAM,wcACN,QAAS,wtBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,geACN,QAAS,yiBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,4mCACN,QAAS,44CACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,+XACN,QAAS,mlBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,imBACN,QAAS,ypBACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,4bACN,QAAS,ukBACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,sWACN,QAAS,kbACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,gWACN,QAAS,keACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,0fACN,QAAS,sjBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,uVACN,QAAS,kfACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,64BACN,QAAS,i9BACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,0SACN,QAAS,4nBACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,2nBACN,QAAS,owBACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,scACN,QAAS,mlBACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,kTACN,QAAS,meACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,4qBACN,QAAS,qxBACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,iqBACN,QAAS,4sBACb,EACA,kBAAmB,CACf,KAAM,kBACN,KAAM,scACN,QAAS,mlBACb,EACA,oBAAqB,CACjB,KAAM,oBACN,KAAM,mTACN,QAAS,ohBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,8lBACN,QAAS,ypBACb,EACA,oBAAqB,CACjB,KAAM,oBACN,KAAM,oYACN,QAAS,weACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,oPACN,QAAS,mRACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,ymBACN,QAAS,4xBACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,6aACN,QAAS,0gBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,sdACN,QAAS,krBACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,2jBACN,QAAS,w3BACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,4WACN,QAAS,4dACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,mlCACN,QAAS,q1CACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,mgBACN,QAAS,o/BACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,69BACN,QAAS,0oCACb,EACA,oBAAqB,CACjB,KAAM,oBACN,KAAM,ubACN,QAAS,wwBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,gTACN,QAAS,+eACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,o5BACN,QAAS,s6BACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,uhBACN,QAAS,okBACb,EACA,oBAAqB,CACjB,KAAM,oBACN,KAAM,+kEACN,QAAS,s8CACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,waACN,QAAS,8dACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,8oBACN,QAAS,k2BACb,EACA,gBAAiB,CACb,KAAM,gBACN,KAAM,sTACN,QAAS,ggBACb,EACA,uBAAwB,CACpB,KAAM,uBACN,KAAM,0SACN,QAAS,yjBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,4cACN,QAAS,2YACb,EACA,cAAe,CACX,KAAM,cACN,KAAM,mTACN,QAAS,ohBACb,EACA,iBAAkB,CACd,KAAM,iBACN,KAAM,wXACN,QAAS,mnBACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,8lBACN,QAAS,suBACb,EACA,mBAAoB,CAChB,KAAM,mBACN,KAAM,siCACN,QAAS,w0CACb,EACA,sBAAuB,CACnB,KAAM,sBACN,KAAM,ibACN,QAAS,yzBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,ymBACN,QAAS,6mCACb,EACA,oBAAqB,CACjB,KAAM,oBACN,KAAM,k1BACN,QAAS,sgCACb,EACA,sBAAuB,CACnB,KAAM,sBACN,KAAM,+XACN,QAAS,mlBACb,EACA,qBAAsB,CAClB,KAAM,qBACN,KAAM,uXACN,QAAS,kuBACb,EACA,UAAW,CACP,KAAM,YACN,KAAM,qkBACN,QAAS,soBACb,EACA,kBAAmB,CACf,KAAM,kBACN,KAAM,opBACN,QAAS,+sBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,keACN,QAAS,yXACb,EACA,UAAW,CACP,KAAM,UACN,KAAM,glBACN,QAAS,+lBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,inBACN,QAAS,66BACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,yRACN,QAAS,mPACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,0dACN,QAAS,gtBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,qWACN,QAAS,keACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,6lBACN,QAAS,moBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,2kBACN,QAAS,k1BACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,yaACN,QAAS,wjBACb,EACA,WAAY,CACR,KAAM,aACN,KAAM,8hCACN,QAAS,mzCACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,0MACN,QAAS,8MACb,EACA,GAAI,CACA,KAAM,KACN,KAAM,4LACN,QAAS,0LACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,6dACN,QAAS,2lBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,wXACN,QAAS,icACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,ufACN,QAAS,wkBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,gSACN,QAAS,ibACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,+dACN,QAAS,8lBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,qkBACN,QAAS,izBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,o3BACN,QAAS,w3BACb,EACA,SAAU,CACN,KAAM,WACN,KAAM,wkBACN,QAAS,84BACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,gfACN,QAAS,uuBACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,smBACN,QAAS,06BACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,keACN,QAAS,wwBACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,wjBACN,QAAS,ksBACb,EACA,sBAAuB,CACnB,KAAM,sBACN,KAAM,wUACN,QAAS,kfACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,kQACN,QAAS,mTACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,4RACN,QAAS,wUACb,EACA,eAAgB,CACZ,KAAM,eACN,KAAM,2KACN,QAAS,oLACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,0pBACN,QAAS,i2BACb,EACA,YAAa,CACT,KAAM,YACN,KAAM,qTACN,QAAS,sWACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,wuBACN,QAAS,mlDACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,gaACN,QAAS,ilBACb,EACA,OAAQ,CACJ,KAAM,SACN,KAAM,kiBACN,QAAS,wvBACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,meACN,QAAS,4tBACb,EACA,QAAS,CACL,KAAM,UACN,KAAM,q1BACN,QAAS,6yBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,k9BACN,QAAS,u1CACb,EACA,WAAY,CACR,KAAM,WACN,KAAM,+gBACN,QAAS,0qBACb,EACA,KAAM,CACF,KAAM,OACN,KAAM,yRACN,QAAS,+ZACb,EACA,aAAc,CACV,KAAM,aACN,KAAM,wWACN,QAAS,6gBACb,EACA,MAAO,CACH,KAAM,QACN,KAAM,siBACN,QAAS,ymBACb,EACA,cAAe,CACX,KAAM,cACN,QAAS,siCACb,EACA,gBAAiB,CACb,KAAM,gBACN,QAAS,4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D,GASqB,gCACA+C,EAAA,CAA/BC,EAAS,CAAE,UAAW,EAAM,CAAC,GAVnBhD,GAUqB,wBACA+C,EAAA,CAA/BC,EAAS,CAAE,UAAW,EAAM,CAAC,GAXnBhD,GAWqB,0BACI+C,EAAA,CAAnCC,EAAS,CAAE,UAAW,SAAU,CAAC,GAZvBhD,GAYyB,sBAEpC+C,EAAA,CADCC,EAAS,CAAE,UAAW,wBAAyB,KAAM,OAAQ,CAAC,GAbpDhD,GAcX,mCACmC+C,EAAA,CAAlCC,EAAS,CAAE,UAAW,QAAS,CAAC,GAftBhD,GAewB,sBAEnC+C,EAAA,CADCC,EAAS,CAAE,UAAW,0BAA2B,KAAM,OAAQ,CAAC,GAhBtDhD,GAiBX,qCAEA+C,EAAA,CADCC,EAAS,CAAE,KAAM,MAAO,CAAC,GAlBfhD,GAmBX,kCAEA+C,EAAA,CADCC,EAAS,CAAE,UAAW,wBAAyB,KAAM,OAAQ,CAAC,GApBpDhD,GAqBX,mCACS+C,EAAA,CAARE,GAAM,GAtBIjD,GAsBF,8BACA+C,EAAA,CAARE,GAAM,GAvBIjD,GAuBF,0BAEgC+C,EAAA,CAAxCG,GAAM,wBAAwB,GAzBpBlD,GAyB8B,+BACxB+C,EAAA,CAAhBE,GAAM,GA1BIjD,GA0BM,0BA1BNA,GAAN+C,EAAA,CADNI,GAAc,oBAAoB,GACtBnD",
|
|
6
|
+
"names": ["require_aspromise", "__commonJSMin", "exports", "module", "asPromise", "fn", "ctx", "params", "offset", "index", "pending", "resolve", "reject", "err", "require_base64", "__commonJSMin", "exports", "base64", "string", "p", "n", "b64", "s64", "i", "buffer", "start", "end", "parts", "chunk", "j", "t", "b", "invalidEncoding", "offset", "c", "require_eventemitter", "__commonJSMin", "exports", "module", "EventEmitter", "evt", "fn", "ctx", "listeners", "i", "args", "require_float", "__commonJSMin", "exports", "module", "factory", "f32", "f8b", "le", "writeFloat_f32_cpy", "val", "buf", "pos", "writeFloat_f32_rev", "readFloat_f32_cpy", "readFloat_f32_rev", "writeFloat_ieee754", "writeUint", "sign", "exponent", "mantissa", "writeUintLE", "writeUintBE", "readFloat_ieee754", "readUint", "uint", "readUintLE", "readUintBE", "f64", "writeDouble_f64_cpy", "writeDouble_f64_rev", "readDouble_f64_cpy", "readDouble_f64_rev", "writeDouble_ieee754", "off0", "off1", "readDouble_ieee754", "lo", "hi", "require_inquire", "__commonJSMin", "require_utf8", "__commonJSMin", "exports", "utf8", "string", "len", "c", "i", "buffer", "start", "end", "parts", "chunk", "t", "offset", "c1", "c2", "require_pool", "__commonJSMin", "exports", "module", "pool", "alloc", "slice", "size", "SIZE", "MAX", "slab", "offset", "buf", "require_longbits", "__commonJSMin", "exports", "module", "LongBits", "util", "lo", "hi", "zero", "zeroHash", "value", "sign", "unsigned", "charCodeAt", "hash", "mask", "part0", "part1", "part2", "require_minimal", "__commonJSMin", "exports", "util", "value", "obj", "prop", "Buffer", "sizeOrArray", "hash", "unsigned", "bits", "merge", "dst", "src", "ifNotSet", "keys", "i", "str", "newError", "name", "CustomError", "message", "properties", "fieldNames", "fieldMap", "encoding", "size", "require_writer", "__commonJSMin", "exports", "module", "Writer", "util", "BufferWriter", "LongBits", "base64", "utf8", "Op", "fn", "len", "val", "noop", "State", "writer", "create", "size", "writeByte", "buf", "pos", "writeVarint32", "VarintOp", "value", "writeVarint64", "bits", "writeFixed32", "writeBytes", "i", "head", "tail", "BufferWriter_", "require_writer_buffer", "__commonJSMin", "exports", "module", "BufferWriter", "Writer", "util", "val", "buf", "pos", "i", "value", "len", "writeStringBuffer", "require_reader", "__commonJSMin", "exports", "module", "Reader", "util", "BufferReader", "LongBits", "utf8", "indexOutOfRange", "reader", "writeLength", "buffer", "create_array", "create", "value", "readLongVarint", "bits", "i", "readFixed32_end", "buf", "end", "readFixed64", "length", "start", "nativeBuffer", "bytes", "wireType", "BufferReader_", "fn", "require_reader_buffer", "__commonJSMin", "exports", "module", "BufferReader", "Reader", "util", "buffer", "len", "require_service", "__commonJSMin", "exports", "module", "Service", "util", "rpcImpl", "requestDelimited", "responseDelimited", "rpcCall", "method", "requestCtor", "responseCtor", "request", "callback", "self", "err", "response", "endedByRPC", "require_rpc", "__commonJSMin", "exports", "rpc", "require_roots", "__commonJSMin", "exports", "module", "require_index_minimal", "__commonJSMin", "exports", "protobuf", "configure", "require_minimal", "__commonJSMin", "exports", "module", "require_long", "__commonJSMin", "exports", "module", "Long", "wasm", "low", "high", "unsigned", "isLong", "obj", "INT_CACHE", "UINT_CACHE", "fromInt", "value", "cachedObj", "cache", "fromBits", "fromNumber", "UZERO", "ZERO", "TWO_PWR_64_DBL", "MAX_UNSIGNED_VALUE", "TWO_PWR_63_DBL", "MIN_VALUE", "MAX_VALUE", "TWO_PWR_32_DBL", "lowBits", "highBits", "pow_dbl", "fromString", "str", "radix", "p", "radixToPower", "result", "i", "size", "power", "fromValue", "val", "TWO_PWR_16_DBL", "TWO_PWR_24_DBL", "TWO_PWR_24", "ONE", "UONE", "NEG_ONE", "LongPrototype", "radixLong", "div", "rem1", "rem", "remDiv", "intval", "digits", "bit", "other", "thisNeg", "otherNeg", "addend", "a48", "a32", "a16", "a00", "b48", "b32", "b16", "b00", "c48", "c32", "c16", "c00", "subtrahend", "multiplier", "divisor", "approx", "res", "halfThis", "log2", "delta", "approxRes", "approxRem", "numBits", "le", "hi", "lo", "bytes", "require_eventemitter3", "__commonJSMin", "exports", "module", "has", "prefix", "Events", "EE", "fn", "context", "once", "addListener", "emitter", "event", "listener", "evt", "clearEvent", "EventEmitter", "names", "events", "name", "handlers", "i", "l", "ee", "listeners", "a1", "a2", "a3", "a4", "a5", "len", "args", "length", "j", "global", "window", "supportsAdoptingStyleSheets", "ShadowRoot", "ShadyCSS", "nativeShadow", "Document", "prototype", "CSSStyleSheet", "constructionToken", "Symbol", "cssTagCache", "WeakMap", "CSSResult", "constructor", "cssText", "strings", "safeToken", "this", "Error", "_strings", "styleSheet", "_styleSheet", "cacheable", "length", "get", "replaceSync", "set", "toString", "unsafeCSS", "value", "String", "css", "values", "reduce", "acc", "v", "idx", "adoptStyles", "renderRoot", "styles", "adoptedStyleSheets", "map", "s", "forEach", "style", "document", "createElement", "nonce", "setAttribute", "textContent", "appendChild", "getCompatibleStyle", "sheet", "rule", "cssRules", "global", "window", "trustedTypes", "emptyStringForBooleanAttribute", "emptyScript", "polyfillSupport", "reactiveElementPolyfillSupport", "defaultConverter", "toAttribute", "value", "type", "Boolean", "Object", "Array", "JSON", "stringify", "fromAttribute", "fromValue", "Number", "parse", "e", "notEqual", "old", "defaultPropertyDeclaration", "attribute", "String", "converter", "reflect", "hasChanged", "finalized", "ReactiveElement", "HTMLElement", "constructor", "super", "this", "__instanceProperties", "Map", "isUpdatePending", "hasUpdated", "__reflectingProperty", "__initialize", "static", "initializer", "finalize", "_a", "_initializers", "push", "observedAttributes", "attributes", "elementProperties", "forEach", "v", "p", "attr", "__attributeNameForProperty", "__attributeToPropertyMap", "set", "name", "options", "state", "noAccessor", "prototype", "hasOwnProperty", "key", "Symbol", "descriptor", "getPropertyDescriptor", "defineProperty", "get", "oldValue", "requestUpdate", "configurable", "enumerable", "superCtor", "getPrototypeOf", "props", "properties", "propKeys", "getOwnPropertyNames", "getOwnPropertySymbols", "createProperty", "elementStyles", "finalizeStyles", "styles", "isArray", "Set", "flat", "Infinity", "reverse", "s", "unshift", "getCompatibleStyle", "toLowerCase", "__updatePromise", "Promise", "res", "enableUpdating", "_$changedProperties", "__saveInstanceProperties", "i", "addController", "controller", "__controllers", "renderRoot", "isConnected", "_b", "hostConnected", "call", "removeController", "splice", "indexOf", "_v", "createRenderRoot", "shadowRoot", "attachShadow", "shadowRootOptions", "adoptStyles", "connectedCallback", "c", "_requestedUpdate", "disconnectedCallback", "hostDisconnected", "attributeChangedCallback", "_old", "_$attributeToProperty", "__propertyToAttribute", "attrValue", "undefined", "removeAttribute", "setAttribute", "ctor", "propName", "getPropertyOptions", "shouldRequestUpdate", "has", "__reflectingProperties", "__enqueueUpdate", "async", "reject", "result", "scheduleUpdate", "performUpdate", "shouldUpdate", "changedProperties", "willUpdate", "hostUpdate", "update", "__markUpdated", "_$didUpdate", "_changedProperties", "hostUpdated", "firstUpdated", "updated", "updateComplete", "getUpdateComplete", "k", "mode", "_d", "reactiveElementVersions", "global", "window", "trustedTypes", "policy", "createPolicy", "createHTML", "s", "boundAttributeSuffix", "marker", "Math", "random", "String", "slice", "markerMatch", "nodeMarker", "d", "document", "createMarker", "createComment", "isPrimitive", "value", "isArray", "Array", "isIterable", "Symbol", "iterator", "SPACE_CHAR", "textEndRegex", "commentEndRegex", "comment2EndRegex", "tagEndRegex", "RegExp", "singleQuoteAttrEndRegex", "doubleQuoteAttrEndRegex", "rawTextElement", "tag", "type", "strings", "values", "_$litType$", "html", "svg", "noChange", "for", "nothing", "templateCache", "WeakMap", "walker", "createTreeWalker", "trustFromTemplateString", "tsa", "stringFromTSA", "hasOwnProperty", "Error", "getTemplateHtml", "l", "length", "attrNames", "rawTextEndRegex", "regex", "i", "attrName", "match", "attrNameEndIndex", "lastIndex", "exec", "test", "end", "startsWith", "push", "undefined", "Template", "constructor", "options", "node", "this", "parts", "nodeIndex", "attrNameIndex", "partCount", "el", "createElement", "currentNode", "content", "svgElement", "firstChild", "remove", "append", "childNodes", "nextNode", "nodeType", "hasAttributes", "attrsToRemove", "name", "getAttributeNames", "endsWith", "realName", "statics", "getAttribute", "toLowerCase", "split", "m", "index", "ctor", "PropertyPart", "BooleanAttributePart", "EventPart", "AttributePart", "removeAttribute", "tagName", "textContent", "emptyScript", "data", "indexOf", "static", "_options", "innerHTML", "resolveDirective", "part", "parent", "attributeIndex", "currentDirective", "_a", "__directives", "__directive", "nextDirectiveConstructor", "_b", "call", "_$initialize", "_c", "_d", "_$resolve", "TemplateInstance", "template", "_$parts", "_$disconnectableChildren", "_$template", "_$parent", "parentNode", "_$isConnected", "_clone", "fragment", "creationScope", "importNode", "partIndex", "templatePart", "ChildPart", "nextSibling", "ElementPart", "_update", "_$setValue", "startNode", "endNode", "_$committedValue", "_$startNode", "_$endNode", "__isConnected", "isConnected", "directiveParent", "_$clear", "_commitText", "_commitTemplateResult", "_commitNode", "_commitIterable", "_insert", "insertBefore", "createTextNode", "result", "_$getTemplate", "h", "instance", "get", "set", "itemParts", "itemPart", "item", "start", "from", "_$notifyConnectionChanged", "n", "setConnected", "element", "fill", "valueIndex", "noCommit", "change", "v", "_commitValue", "setAttribute", "emptyStringForBooleanAttribute", "super", "newListener", "oldListener", "shouldRemoveListener", "capture", "once", "passive", "shouldAddListener", "removeEventListener", "addEventListener", "handleEvent", "event", "host", "_$LH", "_boundAttributeSuffix", "_marker", "_markerMatch", "_HTML_RESULT", "_getTemplateHtml", "_TemplateInstance", "_isIterable", "_resolveDirective", "_ChildPart", "_AttributePart", "_BooleanAttributePart", "_EventPart", "_PropertyPart", "_ElementPart", "polyfillSupport", "litHtmlPolyfillSupport", "litHtmlVersions", "render", "container", "partOwnerNode", "renderBefore", "LitElement", "ReactiveElement", "constructor", "this", "renderOptions", "host", "__childPart", "createRenderRoot", "renderRoot", "super", "_a", "_b", "renderBefore", "firstChild", "update", "changedProperties", "value", "render", "hasUpdated", "isConnected", "connectedCallback", "setConnected", "disconnectedCallback", "noChange", "globalThis", "litElementHydrateSupport", "call", "polyfillSupport", "litElementPolyfillSupport", "_c", "globalThis", "litElementVersions", "push", "PartType", "ATTRIBUTE", "CHILD", "PROPERTY", "BOOLEAN_ATTRIBUTE", "EVENT", "ELEMENT", "directive", "c", "values", "_$litDirective$", "Directive", "constructor", "_partInfo", "_$isConnected", "this", "_$parent", "_$initialize", "part", "parent", "attributeIndex", "__part", "__attributeIndex", "_$resolve", "props", "update", "_part", "render", "AttrsDirective", "i", "partInfo", "t", "attrsInfo", "T", "part", "el", "name", "val", "attrVal", "attrs", "e", "ifDefined", "value", "nothing", "_ChildPart", "ChildPart", "_$LH", "isSingleExpression", "part", "strings", "createMarker", "document", "createComment", "insertPart", "containerPart", "refPart", "container", "_$startNode", "parentNode", "refNode", "_$endNode", "startNode", "insertBefore", "endNode", "ChildPart", "options", "nextSibling", "oldParent", "_$parent", "parentChanged", "newConnectionState", "_a", "_$reparentDisconnectables", "call", "_$notifyConnectionChanged", "_$isConnected", "start", "n", "setChildPartValue", "value", "directiveParent", "_$setValue", "RESET_VALUE", "setCommittedValue", "_$committedValue", "getCommittedValue", "removePart", "end", "remove", "generateMap", "list", "start", "end", "map", "Map", "i", "set", "repeat", "directive", "Directive", "constructor", "partInfo", "super", "type", "PartType", "CHILD", "Error", "_getValuesAndKeys", "items", "keyFnOrTemplate", "template", "keyFn", "keys", "values", "index", "item", "render", "this", "update", "containerPart", "oldParts", "getCommittedValue", "newValues", "newKeys", "Array", "isArray", "_itemKeys", "oldKeys", "_a", "newParts", "newKeyToIndexMap", "oldKeyToIndexMap", "oldHead", "oldTail", "length", "newHead", "newTail", "setChildPartValue", "insertPart", "has", "oldIndex", "get", "oldPart", "newPart", "removePart", "setCommittedValue", "noChange", "important", "importantFlag", "styleMap", "directive", "Directive", "constructor", "partInfo", "super", "type", "PartType", "ATTRIBUTE", "name", "_a", "strings", "length", "Error", "render", "styleInfo", "Object", "keys", "reduce", "style", "prop", "value", "includes", "replace", "toLowerCase", "update", "part", "element", "this", "_previousStyleProperties", "Set", "add", "forEach", "delete", "removeProperty", "isImportant", "endsWith", "setProperty", "slice", "noChange", "DEFAULT_CONFIG", "config", "setConfig", "c", "getConfig", "getTemplateRenderingStrategy", "strategy", "getConfig", "a_default", "html", "ifDefined", "attributes", "children", "button_default", "html", "ifDefined", "attributes", "children", "div_default", "html", "ifDefined", "attributes", "children", "faceplate_expandable_section_helper_default", "html", "ifDefined", "attributes", "children", "li_default", "html", "ifDefined", "attributes", "children", "span_default", "html", "ifDefined", "attributes", "children", "svg_default", "html", "ifDefined", "attributes", "children", "ul_default", "html", "ifDefined", "attributes", "children", "makeCreateElement", "html", "ifDefined", "elementMap", "a_default", "button_default", "div_default", "faceplate_expandable_section_helper_default", "li_default", "span_default", "svg_default", "ul_default", "element", "attributes", "children", "createElement", "makeCreateElement", "x", "l", "isSafeAttr", "key", "value", "allowClassName", "checkForConflictingStrategies", "strategyName", "currentStrategyName", "getConfig", "STRATEGY_NAME", "checkForConflictingStrategies", "getType", "html", "x", "svg", "b", "attrs", "A", "filterAttrs", "ifDefined", "l", "repeat", "c", "styleMap", "o", "_toHtml_TEST_ONLY", "templateResult", "container", "D", "result", "key", "value", "isSafeAttr", "setConfig", "createElement", "BlockType", "BlockActionType", "BlockRenderEventType", "BlockStackDirection", "BlockBorderWidth", "BlockVerticalAlignment", "BlockHorizontalAlignment", "BlockPadding", "BlockGap", "BlockRadius", "BlockTextSize", "BlockTextWeight", "BlockTextOutline", "BlockTextStyle", "BlockButtonSize", "BlockButtonAppearance", "BlockImageResizeMode", "BlockSpacerSize", "BlockSpacerShape", "BlockIconSize", "BlockAvatarFacing", "BlockAvatarSize", "BlockAvatarBackground", "BlockFullSnooSize", "BlockAnimationType", "BlockAnimationLoopMode", "BlockAnimationDirection", "BlockSizeUnit", "BlockTextOverflow", "isStrTagged", "val", "joinStringsAndValues", "strings", "values", "valueOrder", "concat", "i", "defaultMsg", "template", "isStrTagged", "joinStringsAndValues", "LOCALE_STATUS_EVENT", "LocalizeController", "host", "event", "LOCALE_STATUS_EVENT", "_updateWhenLocaleChanges", "updateWhenLocaleChanges", "_localized", "classOrDescriptor", "legacyLocalized", "standardLocalized", "localized", "kind", "elements", "clazz", "updateWhenLocaleChanges", "Deferred", "resolve", "reject", "value", "error", "hl", "i", "loading", "Deferred", "msg", "defaultMsg", "customEvent", "type", "detail", "bubbles", "_ButtonSize", "TRAILING_ICON_SPACER_CLASSNAMES", "LEADING_ICON_SPACER_CLASSNAMES", "SIZE_CLASSNAMES", "BUTTON_APPEARANCE_CLASSNAMES", "getInnerElements", "hideChildrenOverflow", "children", "screenReaderContent", "trailingIcon", "leadingIcon", "dropdown", "appearance", "selected", "size", "leadingIconClass", "childrenClass", "html", "getTemplateRenderingStrategy", "classes", "innerContent", "_ButtonSize", "getClassnames", "attributes", "shape", "variation", "spacers", "TRAILING_ICON_SPACER_CLASSNAMES", "LEADING_ICON_SPACER_CLASSNAMES", "SIZE_CLASSNAMES", "BUTTON_APPEARANCE_CLASSNAMES", "_buttonBaseInternalsDoNotUse", "props", "createElement", "role", "href", "disabled", "isAnchor", "button", "size", "_ButtonSize", "props", "_buttonBaseInternalsDoNotUse", "emptyState", "attributes", "title", "description", "buttonProps", "creative", "creativeSafe", "html", "createElement", "getTemplateRenderingStrategy", "children", "button", "customElement", "tagName", "classOrDescriptor", "clazz", "customElements", "define", "descriptor", "kind", "elements", "finisher", "standardProperty", "options", "element", "kind", "descriptor", "finisher", "clazz", "createProperty", "key", "Symbol", "placement", "originalKey", "initializer", "this", "call", "legacyProperty", "proto", "name", "constructor", "property", "protoOrDescriptor", "state", "options", "property", "decorateProperty", "finisher", "descriptor", "protoOrDescriptor", "name", "key", "_a", "originalKey", "info", "undefined", "kind", "placement", "ctor", "constructor", "Object", "defineProperty", "query", "selector", "cache", "decorateProperty", "descriptor", "name", "get", "_b", "_a", "this", "renderRoot", "querySelector", "enumerable", "configurable", "key", "Symbol", "o", "t", "slotAssignedElements", "_a", "window", "HTMLSlotElement", "prototype", "assignedElements", "slot", "opts", "assignedNodes", "filter", "node", "nodeType", "Node", "ELEMENT_NODE", "DevvitClientPerformanceEventName", "_perfStart", "_perfEnd", "PerformanceTracker", "__privateAdd", "__privateSet", "__privateGet", "cssString", "importedStyles", "arg", "i", "stylesCSS", "styles", "cssString", "semanticColors", "serverUnsafeHTML", "json", "svg_manifest_default", "classMap", "directive", "Directive", "constructor", "partInfo", "super", "type", "PartType", "ATTRIBUTE", "name", "_a", "strings", "length", "Error", "render", "classInfo", "Object", "keys", "filter", "key", "join", "update", "part", "this", "_previousClasses", "Set", "_staticClasses", "split", "s", "has", "add", "classList", "element", "forEach", "remove", "delete", "value", "_b", "noChange", "notifyChildrenConnectedChanged", "parent", "isConnected", "children", "_$disconnectableChildren", "obj", "_b", "_a", "o", "e", "removeDisconnectableFromParent", "_$parent", "delete", "size", "addDisconnectableToParent", "Set", "has", "add", "installDisconnectAPI", "reparentDisconnectables", "newParent", "this", "notifyChildPartConnectedChanged", "isClearingValue", "fromPartIndex", "value", "_$committedValue", "Array", "isArray", "i", "length", "type", "PartType", "CHILD", "_c", "_$notifyConnectionChanged", "_d", "_$reparentDisconnectables", "AsyncDirective", "Directive", "constructor", "_$initialize", "part", "attributeIndex", "super", "_$isConnected", "_$AO", "isClearingDirective", "r", "reconnected", "call", "disconnected", "setValue", "isSingleExpression", "__part", "_$setValue", "newValues", "__attributeIndex", "lastElementForContextAndCallback", "WeakMap", "ref", "directive", "AsyncDirective", "render", "_ref", "nothing", "update", "part", "refChanged", "this", "_updateRefValue", "undefined", "_lastElementForRef", "_element", "_context", "_a", "options", "host", "element", "context", "globalThis", "lastElementForCallback", "get", "set", "call", "value", "_b", "_c", "disconnected", "reconnected", "UnsafeHTMLDirective", "Directive", "constructor", "partInfo", "super", "this", "_value", "nothing", "type", "PartType", "CHILD", "Error", "directiveName", "render", "value", "_templateResult", "noChange", "strings", "raw", "_$litType$", "resultType", "values", "unsafeHTML", "directive", "classMap", "classInfo", "forceString", "getType", "getTemplateRenderingStrategy", "o", "result", "className", "serverUnsafeHTML", "unsafeHTML", "input", "ref", "n", "isHTMLElement", "el", "resolveIcon", "name", "html", "fill", "iconName", "group", "svg_manifest_default", "icon", "sanitizeStyleInfo", "styleInfo", "key", "value", "getSizes", "block", "BlockSizeUnit", "parseDimension", "onlyType", "getSizeUnits", "unit", "resolveColors", "colors", "legacyColor", "light", "dark", "getBlockStackType", "direction", "stackType", "BlockStackDirection", "colorCache", "resolveStyleColor", "style", "attr", "color", "propertyName", "sub", "ref", "el", "isHTMLElement", "success", "applyAsCssColor", "applyAsColorPrimitive", "applyAsComputedColor", "colorLower", "colorPrimitive", "semanticColors", "computedColor", "getComputedColor", "brightnessByColor", "isHEX", "isRGB", "r", "g", "b", "hasFullSpec", "m", "doc", "div", "computed", "resolved", "validColor", "defaultClasses", "block", "ctx", "type", "BlockType", "stackChildClass", "sizingClass", "getSizes", "cursorClass", "defaultStyles", "reverse", "sanitizeStyleInfo", "sizingStyle", "childGapStyle", "stackDirectionClass", "direction", "vstack", "BlockStackDirection", "hstack", "zstack", "parentDirection", "sizing", "parseDimension", "growWrapperSizingStyle", "sizes", "paddingClass", "padding", "BlockPadding", "alignmentClass", "align", "hnone", "start", "BlockHorizontalAlignment", "center", "end", "vnone", "top", "BlockVerticalAlignment", "middle", "bottom", "zstackAlignmentClass", "backgroundClass", "hasBgColor", "backgroundStyle", "colors", "legacyColor", "light", "dark", "resolveColors", "borderClass", "border", "thin", "BlockBorderWidth", "thick", "hasBorder", "hasColor", "borderStyle", "radiusClass", "radius", "BlockRadius", "textSizeClass", "size", "BlockTextSize", "textAlignClass", "alignment", "textWeightClass", "weight", "BlockTextWeight", "textSelectClass", "selection", "textColorClass", "textColorStyle", "spacerSizeClass", "shape", "stackDirection", "square", "BlockSpacerShape", "xsmall", "BlockSpacerSize", "small", "medium", "large", "iconSizeClass", "BlockIconSize", "avatarSizeClass", "BlockAvatarSize", "facingClass", "facing", "BlockAvatarFacing", "buttonAppearance", "appearance", "BlockButtonAppearance", "buttonSize", "BlockButtonSize", "_ButtonSize", "a", "BlockActionType", "pointerEventsClass", "actionable", "onClickAction", "clickAction", "onWebViewAction", "webViewAction", "ev", "setTextOutline", "thickness", "thicknessClass", "BlockTextOutline", "A", "ref", "el", "isHTMLElement", "retry", "apply", "color", "brightness", "brightnessByColor", "name", "textOverflowClass", "config", "wrap", "overflow", "BlockTextOverflow", "gapSize", "gap", "BlockGap", "stackGapStyle", "childCount", "paddingOffsetPx", "paddingDirection", "gapOffsetPx", "offset", "offsetDirection", "imageClasses", "resizeMode", "BlockImageResizeMode", "imageStyle", "url", "imageWidth", "imageHeight", "canvasSize", "BlockSizeUnit", "calculationHeight", "calculationWidth", "blockTypeToString", "type", "BlockType", "renderAvatarBlock", "block", "ctx", "html", "styleMap", "ifDefined", "getTemplateRenderingStrategy", "A", "thingId", "facing", "size", "background", "classes", "defaultClasses", "avatarSizeClass", "facingClass", "styles", "defaultStyles", "onClick", "onClickAction", "classMap", "blockTypeToString", "unsafeHTML", "styleMap", "styleInfo", "result", "key", "value", "prop", "renderIconBlock", "block", "ctx", "html", "styleMap", "ifDefined", "getTemplateRenderingStrategy", "A", "icon", "size", "color", "colors", "classes", "defaultClasses", "textColorClass", "iconSizeClass", "styles", "defaultStyles", "textColorStyle", "onClick", "onClickAction", "classMap", "blockTypeToString", "resolveStyleColor", "resolveIcon", "renderButtonBlock", "block", "ctx", "html", "ifDefined", "getTemplateRenderingStrategy", "A", "icon", "disabled", "textColor", "textColors", "classes", "defaultClasses", "styles", "defaultStyles", "textColorStyle", "onClick", "onClickAction", "iconSize", "BlockButtonSize", "BlockIconSize", "iconSvg", "renderIconBlock", "BlockType", "BlockStackDirection", "iconProp", "styleMapResult", "styleMap", "styleString", "button", "buttonSize", "buttonAppearance", "classMap", "blockTypeToString", "DISALLOWED_ELEMENTS", "DISALLOWED_STYLES", "DISALLOWED_ATTRIBUTES", "ensureXmlns", "svg", "sanitizeSvg", "disallowedElementsRegex", "disallowedStylesRegex", "disallowedAttributesRegex", "elementMatches", "styleMatches", "attributeMatches", "isInvalid", "x", "REDD_IT", "REDDIT_STATIC", "REDDIT_MEDIA", "SNOO_DEV", "VerifiedPublicImageHosts", "VerifiedImageHosts", "MIME_SVG_XML", "ALLOWED_DATA_MIMETYPES", "validateDataUrl", "url", "mimetype", "validateHttpUrl", "domain", "isValidImageURL", "imageUrl", "sanitizeImageURL", "dataSeparator", "mediaType", "base64", "data", "svgData", "svg", "safeSvg", "sanitizeSvg", "safeData", "FALLBACK_IMG_URL", "renderImageBlock", "block", "ctx", "html", "styleMap", "ifDefined", "getTemplateRenderingStrategy", "A", "sizes", "getSizes", "imageWidth", "imageHeight", "url", "description", "resizeMode", "imageUrl", "sanitizeImageURL", "isValidImageURL", "VerifiedPublicImageHosts", "classes", "defaultClasses", "imageClasses", "styles", "imageStyle", "defaultStyles", "onClick", "onClickAction", "classMap", "blockTypeToString", "event", "renderSpacerBlock", "block", "ctx", "html", "styleMap", "ifDefined", "getTemplateRenderingStrategy", "classes", "defaultClasses", "spacerSizeClass", "styles", "defaultStyles", "classMap", "blockTypeToString", "renderStackBlock", "block", "ctx", "BlockStackDirection", "renderBlock", "attributeOverrides", "html", "repeat", "styleMap", "ifDefined", "getTemplateRenderingStrategy", "A", "stackConfig", "children", "direction", "padding", "gap", "alignment", "reverse", "backgroundColor", "backgroundColors", "border", "cornerRadius", "bgColorLight", "bgColorDark", "hasBGColor", "pointerEvents", "classes", "defaultClasses", "backgroundClass", "stackDirectionClass", "paddingClass", "alignmentClass", "borderClass", "radiusClass", "pointerEventsClass", "blockOrStackReversed", "styles", "defaultStyles", "backgroundStyle", "borderStyle", "stackGapStyle", "newCtx", "gapSize", "onClick", "onClickAction", "stackType", "getBlockStackType", "blockChildren", "classMap", "blockTypeToString", "resolveStyleColor", "child", "childIndex", "renderTextBlock", "block", "ctx", "html", "styleMap", "ifDefined", "getTemplateRenderingStrategy", "A", "text", "color", "colors", "size", "alignment", "weight", "style", "outline", "selectable", "textColor", "textSize", "textWeight", "BlockTextStyle", "BlockTextSize", "BlockTextWeight", "classes", "defaultClasses", "textColorClass", "textSizeClass", "textAlignClass", "textWeightClass", "textSelectClass", "textOverflowClass", "styles", "defaultStyles", "textColorStyle", "onClick", "onClickAction", "classMap", "blockTypeToString", "resolveStyleColor", "setTextOutline", "import_minimal", "import_minimal", "messageTypeRegistry", "NullValue", "nullValueFromJSON", "object", "nullValueToJSON", "createBaseStruct", "Struct", "message", "writer", "_m0", "key", "value", "Struct_FieldsEntry", "input", "length", "reader", "end", "tag", "entry1", "isObject", "acc", "obj", "entries", "k", "v", "base", "struct", "messageTypeRegistry", "createBaseStruct_FieldsEntry", "Value", "isSet", "createBaseValue", "ListValue", "result", "createBaseListValue", "e", "array", "WebViewInternalMessageScope", "webViewInternalMessageScopeFromJSON", "object", "webViewInternalMessageScopeToJSON", "createBaseWebViewInternalMessage", "WebViewInternalMessage", "message", "writer", "_m0", "Struct", "input", "length", "reader", "end", "tag", "isSet", "isObject", "obj", "base", "messageTypeRegistry", "createBaseWebViewPostMessage", "WebViewPostMessage", "createBaseWebViewAppMessage", "WebViewAppMessage", "Value", "createBaseWebViewStateMessage", "WebViewStateMessage", "createBaseWebViewPostMessageEffect", "WebViewPostMessageEffect", "value", "webViewMessageIsInternalAndClientScope", "message", "_hasLoaded", "_queuedMessages", "_sandboxUpdated", "_resolveSandboxUpdated", "_DevvitBlocksWebView_instances", "clearQueue_fn", "_handleMessage", "handleInternalClientScopeMessage_fn", "sendStateUpdate_fn", "onLoad_fn", "postDevvitMessage_fn", "debugLog_fn", "DevvitBlocksWebView", "s", "__privateAdd", "event", "webViewMessageIsInternalAndClientScope", "__privateMethod", "customEvent", "i", "__privateGet", "result", "changedProperties", "url", "__privateSet", "_changedProperties", "originDiffers", "resolve", "message", "allowOrigin", "x", "l", "clone", "stateMessage", "type", "data", "postMessage", "postOptions", "msg", "__decorateClass", "n", "t", "e", "renderWebViewBlock", "block", "ctx", "html", "styleMap", "ifDefined", "getTemplateRenderingStrategy", "A", "id", "url", "state", "classes", "defaultClasses", "styles", "defaultStyles", "onWebView", "onWebViewAction", "resolvedURL", "classMap", "blockTypeToString", "DEFAULT_ROOT_HEIGHT", "renderBlocks", "block", "context", "BlockType", "A", "height", "renderStackBlock", "BlockStackDirection", "BlockRadius", "renderBlock", "ctx", "html", "styleMap", "getTemplateRenderingStrategy", "render", "renderSpacerBlock", "renderTextBlock", "renderImageBlock", "renderIconBlock", "renderButtonBlock", "renderWebViewBlock", "renderAvatarBlock", "styles", "growWrapperSizingStyle", "_colorSchemeMediaQuery", "_onColorSchemeChange", "_baseRenderContext", "DevvitBlocksRenderer", "s", "__privateAdd", "BlockStackDirection", "styles", "__privateGet", "result", "blocks", "i", "block", "id", "element", "blockType", "BlockType", "context", "layoutPerformanceTracker", "PerformanceTracker", "renderedBlocks", "renderBlocks", "customEvent", "DevvitClientPerformanceEventName", "x", "l", "emptyState", "msg", "__decorateClass", "n", "localized", "e", "import_minimal", "import_minimal", "createBaseEmpty", "Empty", "_", "writer", "_m0", "input", "length", "reader", "end", "message", "tag", "base", "messageTypeRegistry", "createBaseRealtimeRequest", "RealtimeRequest", "message", "writer", "_m0", "v", "input", "length", "reader", "end", "tag", "object", "e", "obj", "base", "messageTypeRegistry", "createBaseRealtimeEvent", "RealtimeEvent", "Struct", "isSet", "isObject", "RealtimeDefinition", "RealtimeRequest", "RealtimeEvent", "Empty", "isObject", "value", "isSet", "import_minimal", "createBaseUIDimensions", "UIDimensions", "message", "writer", "_m0", "input", "length", "reader", "end", "tag", "object", "isSet", "obj", "base", "messageTypeRegistry", "value", "CIRCUIT_BREAKER_MSG", "CircuitBreakerResponse", "response", "cause", "CIRCUIT_BREAKER_MSG", "isCircuitBreaker", "err", "Header", "AppDebug", "throttle", "fn", "period", "timeout", "prev", "nextArgs", "args", "assert", "condition", "msg", "T_PREFIX", "isT3ID", "id", "T_PREFIX", "assertT3ID", "id", "assert", "isT3ID", "T_PREFIX", "asT3ID", "id", "assertT3ID", "noWebbitToken", "DEFAULT_FONT_SCALE", "DEFAULT_WINDOW_FONT_SIZE", "buildDimensions", "entry", "window", "element", "width", "height", "parsedFontSize", "fontScale", "import_minimal", "import_long", "import_minimal", "createBaseDoubleValue", "DoubleValue", "message", "writer", "_m0", "input", "length", "reader", "end", "tag", "object", "isSet", "obj", "base", "messageTypeRegistry", "createBaseFloatValue", "FloatValue", "createBaseInt64Value", "Int64Value", "longToNumber", "createBaseUInt64Value", "UInt64Value", "createBaseInt32Value", "Int32Value", "createBaseUInt32Value", "UInt32Value", "createBaseBoolValue", "BoolValue", "createBaseStringValue", "StringValue", "createBaseBytesValue", "BytesValue", "bytesFromBase64", "base64FromBytes", "b64", "bin", "arr", "i", "byte", "long", "Long", "value", "import_minimal", "OrderResultStatus", "orderResultStatusFromJSON", "object", "orderResultStatusToJSON", "createBaseCreateOrderEffect", "CreateOrderEffect", "message", "writer", "_m0", "v", "key", "value", "CreateOrderEffect_MetadataEntry", "input", "length", "reader", "end", "tag", "entry3", "isSet", "e", "isObject", "acc", "obj", "entries", "k", "base", "messageTypeRegistry", "createBaseCreateOrderEffect_MetadataEntry", "createBaseOrderResultEvent", "OrderResultEvent", "import_minimal", "RealtimeSubscriptionStatus", "realtimeSubscriptionStatusFromJSON", "object", "realtimeSubscriptionStatusToJSON", "createBaseRealtimeSubscriptionsEffect", "RealtimeSubscriptionsEffect", "message", "writer", "_m0", "v", "input", "length", "reader", "end", "tag", "e", "obj", "base", "messageTypeRegistry", "createBaseRealtimeSubscriptionEvent", "RealtimeSubscriptionEvent", "RealtimeEvent", "isSet", "value", "import_minimal", "import_minimal", "import_minimal", "FormFieldType", "formFieldTypeFromJSON", "object", "formFieldTypeToJSON", "import_minimal", "createBaseFormFieldValue", "FormFieldValue", "message", "writer", "_m0", "FormFieldValue_ListValue", "FormFieldValue_SelectionValue", "FormFieldValue_GroupValue", "input", "length", "reader", "end", "tag", "object", "isSet", "formFieldTypeFromJSON", "obj", "formFieldTypeToJSON", "base", "messageTypeRegistry", "createBaseFormFieldValue_ListValue", "v", "e", "createBaseFormFieldValue_SelectionValue", "createBaseFormFieldValue_GroupValue", "_", "value", "createBaseFormField", "FormField", "message", "writer", "_m0", "FormFieldValue", "FieldConfig", "input", "length", "reader", "end", "tag", "object", "isSet", "formFieldTypeFromJSON", "obj", "formFieldTypeToJSON", "base", "messageTypeRegistry", "createBaseFieldConfig", "FieldConfig_String", "FieldConfig_Paragraph", "FieldConfig_Number", "FieldConfig_Boolean", "FieldConfig_List", "FieldConfig_Selection", "FieldConfig_Group", "createBaseFieldConfig_String", "createBaseFieldConfig_Paragraph", "createBaseFieldConfig_Number", "createBaseFieldConfig_Boolean", "_", "createBaseFieldConfig_List", "createBaseFieldConfig_Selection", "v", "FieldConfig_Selection_Item", "e", "createBaseFieldConfig_Selection_Item", "createBaseFieldConfig_Group", "value", "createBaseForm", "Form", "message", "writer", "_m0", "v", "FormField", "input", "length", "reader", "end", "tag", "object", "e", "isSet", "obj", "base", "messageTypeRegistry", "value", "createBaseShowFormEffect", "ShowFormEffect", "message", "writer", "_m0", "Form", "input", "length", "reader", "end", "tag", "object", "isSet", "obj", "base", "messageTypeRegistry", "createBaseFormSubmittedEvent", "FormSubmittedEvent", "key", "value", "FormSubmittedEvent_ResultsEntry", "entry1", "isObject", "acc", "FormFieldValue", "entries", "k", "v", "createBaseFormSubmittedEvent_ResultsEntry", "createBaseFormCanceledEvent", "FormCanceledEvent", "import_minimal", "import_minimal", "ToastAppearance", "toastAppearanceFromJSON", "object", "toastAppearanceToJSON", "createBaseToastLeadingElement", "ToastLeadingElement", "message", "writer", "_m0", "input", "length", "reader", "end", "tag", "isSet", "obj", "base", "messageTypeRegistry", "createBaseToastTrailingElement", "ToastTrailingElement", "createBaseToast", "Toast", "value", "createBaseShowToastEffect", "ShowToastEffect", "message", "writer", "_m0", "Toast", "input", "length", "reader", "end", "tag", "object", "isSet", "obj", "base", "messageTypeRegistry", "createBaseToastActionEvent", "ToastActionEvent", "_", "value", "import_minimal", "WebViewVisibility", "webViewVisibilityFromJSON", "object", "webViewVisibilityToJSON", "createBaseWebViewPostMessageEvent", "WebViewPostMessageEvent", "message", "writer", "_m0", "Value", "input", "length", "reader", "end", "tag", "isSet", "obj", "base", "messageTypeRegistry", "createBaseWebViewFullScreenEvent", "WebViewFullScreenEvent", "createBaseWebViewEvent", "WebViewEvent", "createBaseWebViewInternalEventMessage", "WebViewInternalEventMessage", "FormCanceledEvent", "FormSubmittedEvent", "RealtimeSubscriptionEvent", "value", "UIEventScope", "uIEventScopeFromJSON", "object", "uIEventScopeToJSON", "createBaseUIEvent", "UIEvent", "message", "writer", "_m0", "RealtimeSubscriptionEvent", "FormSubmittedEvent", "OrderResultEvent", "ToastActionEvent", "UserAction", "AsyncRequest", "AsyncResponse", "TimerEvent", "BlockingRenderEvent", "ResizeEvent", "WebViewEvent", "FormCanceledEvent", "BoolValue", "StringValue", "input", "length", "reader", "end", "tag", "isSet", "obj", "base", "messageTypeRegistry", "createBaseBlockingRenderEvent", "_", "createBaseResizeEvent", "createBaseTimerEvent", "createBaseAsyncError", "AsyncError", "createBaseAsyncRequest", "Struct", "isObject", "createBaseAsyncResponse", "createBaseUserAction", "value", "import_minimal", "import_long", "import_minimal", "createBaseTimestamp", "Timestamp", "message", "writer", "_m0", "input", "length", "reader", "end", "tag", "longToNumber", "object", "isSet", "obj", "base", "messageTypeRegistry", "long", "Long", "value", "Severity", "severityFromJSON", "object", "severityToJSON", "createBaseLogErrorMessage", "LogErrorMessage", "message", "writer", "_m0", "StringValue", "UInt32Value", "Timestamp", "toTimestamp", "v", "input", "length", "reader", "end", "tag", "fromTimestamp", "isSet", "fromJsonTimestamp", "e", "obj", "base", "messageTypeRegistry", "createBaseLogEventMessage", "LogEventMessage", "key", "value", "LogEventMessage_LabelsEntry", "LogEventMessage_DataEntry", "entry3", "entry4", "isObject", "acc", "entries", "k", "createBaseLogEventMessage_LabelsEntry", "createBaseLogEventMessage_DataEntry", "createBaseLogMessage", "LogMessage", "createBaseLogMessages", "LogMessages", "createBaseLogErrorResponse", "LogErrorResponse", "_", "createBaseLogEventResponse", "LogEventResponse", "createBaseLogResponse", "LogResponse", "toTimestamp", "date", "seconds", "nanos", "fromTimestamp", "t", "millis", "fromJsonTimestamp", "o", "Timestamp", "isObject", "value", "isSet", "ActorCommand", "ActorResponse", "getAppName", "bundle", "import_minimal", "createBasePlaytestProviderMessage", "PlaytestProviderMessage", "message", "writer", "_m0", "PlaytestCallState", "PlaytestConnect", "input", "length", "reader", "end", "tag", "object", "isSet", "obj", "base", "messageTypeRegistry", "createBasePlaytestSubscriberMessage", "PlaytestSubscriberMessage", "PlaytestAppInstalled", "createBasePlaytestAppInstalled", "_", "createBasePlaytestCallState", "v", "LogMessage", "e", "createBasePlaytestConnect", "value", "playtestQueryParam", "playtestURI", "isPlaytest", "app", "playtest", "getPlaytestFilter", "__classPrivateFieldGet", "receiver", "state", "kind", "f", "__classPrivateFieldSet", "value", "_PlaytestClient_instances", "_PlaytestClient_state", "_PlaytestClient_newOpening", "_PlaytestClient_newRetrying", "_PlaytestClient_onClose", "_PlaytestClient_onMsg", "_PlaytestClient_onOpen", "_PlaytestClient_onRetry", "retryInterval", "PlaytestClient", "ev", "msg", "PlaytestSubscriberMessage", "sock", "playtestURI", "__classPrivateFieldSet", "receiver", "state", "value", "kind", "f", "__classPrivateFieldGet", "_BrowserLiteClient_instances", "_BrowserLiteClient_workerSrc", "_BrowserLiteClient_workerName", "_BrowserLiteClient_worker", "_BrowserLiteClient_ready", "_BrowserLiteClient_workerReady", "_BrowserLiteClient_bundleReady", "_BrowserLiteClient_callId", "_BrowserLiteClient_bundle", "_BrowserLiteClient_returnHandlers", "_BrowserLiteClient_onLoadHandler", "_BrowserLiteClient_onError", "_BrowserLiteClient_pluginOptions", "_BrowserLiteClient_playtest", "_BrowserLiteClient_playtestFilter", "_BrowserLiteClient_runtimeDebugLogging", "_BrowserLiteClient_runtimeInitMetric", "_BrowserLiteClient_handleResponse", "_BrowserLiteClient_loadPlugins", "_BrowserLiteClient_log", "_BrowserLiteClient_callLoadBundle", "_BrowserLiteClient_onPlaytest", "severityByAppMethod", "Severity", "BrowserLiteClient", "workerSrc", "name", "onError", "pluginOptions", "getPlaytestFilter", "ev", "rsp", "cmd", "ActorResponse", "init", "logs", "loadBundleMetric", "err", "id", "response", "cause", "CircuitBreakerResponse", "serviceName", "method", "args", "meta", "reason", "url", "playtestQueryParam", "errorEvent", "messageEvent", "ActorCommand", "on", "bundle", "resolve", "reject", "_a", "handler", "result", "now", "callState", "log", "playtest", "isPlaytest", "getAppName", "PlaytestClient", "import_eventemitter3", "TimeoutError", "message", "AbortError", "getDOMException", "errorMessage", "getAbortedReason", "signal", "reason", "pTimeout", "promise", "milliseconds", "fallback", "options", "timer", "cancelablePromise", "resolve", "reject", "error", "timeoutError", "lowerBound", "array", "value", "comparator", "first", "count", "step", "it", "__classPrivateFieldGet", "receiver", "state", "kind", "f", "_PriorityQueue_queue", "PriorityQueue", "run", "options", "element", "index", "lowerBound", "a", "b", "item", "__classPrivateFieldSet", "receiver", "state", "value", "kind", "f", "__classPrivateFieldGet", "_PQueue_instances", "_PQueue_carryoverConcurrencyCount", "_PQueue_isIntervalIgnored", "_PQueue_intervalCount", "_PQueue_intervalCap", "_PQueue_interval", "_PQueue_intervalEnd", "_PQueue_intervalId", "_PQueue_timeoutId", "_PQueue_queue", "_PQueue_queueClass", "_PQueue_pending", "_PQueue_concurrency", "_PQueue_isPaused", "_PQueue_throwOnTimeout", "_PQueue_doesIntervalAllowAnother_get", "_PQueue_doesConcurrentAllowAnother_get", "_PQueue_next", "_PQueue_onResumeInterval", "_PQueue_isIntervalPaused_get", "_PQueue_tryToStartAnother", "_PQueue_initializeIntervalIfNeeded", "_PQueue_onInterval", "_PQueue_processQueue", "_PQueue_throwOnAbort", "_PQueue_onEvent", "AbortError", "PQueue", "EventEmitter", "options", "_a", "_b", "_c", "_d", "PriorityQueue", "newConcurrency", "function_", "resolve", "reject", "operation", "pTimeout", "result", "error", "TimeoutError", "functions", "limit", "now", "delay", "canInitializeInterval", "job", "signal", "_resolve", "event", "filter", "listener", "initDevvitGlobal", "_a", "_b", "url", "keyset", "lowerKeyToKey", "key", "devvitDebug", "name", "kv", "val", "DEFAULT_DIMENSIONS", "userActionEffects", "initDevvitGlobal", "_meta", "_app", "_appState", "_q", "_rendered", "_rerenderTimeout", "_runtimeDebugLogging", "_paused", "_pausedEffects", "_Dispatcher_instances", "logLocalErr_fn", "onEffects_fn", "onError_fn", "_onPluginCall", "processEvent_fn", "renderPost_fn", "Dispatcher", "__privateAdd", "PQueue", "id", "serviceName", "method", "args", "meta", "RealtimeDefinition", "__privateGet", "app", "__privateSet", "err", "__privateMethod", "copy", "debug", "k", "v", "Header", "ev", "type", "data", "on", "src", "name", "BrowserLiteClient", "paused", "pausedEffects", "renderType", "effects", "isCircuitBreaker", "effect", "BlockRenderEventType", "rsp", "req", "UIEventScope", "import_minimal", "createBaseWebViewContext", "WebViewContext", "message", "writer", "_m0", "input", "length", "reader", "end", "tag", "object", "isSet", "obj", "base", "messageTypeRegistry", "value", "resolveWebViewUrl", "template", "subreddit", "version", "url", "hostname", "webbitToken", "subredditName", "userId", "postId", "appName", "segments", "_", "app", "path", "formattedVersion", "subredditId", "installation", "parsedTemplate", "newUrl", "webviewContext", "encodedJSONcontext", "WebViewContext", "noWebbitToken", "_dispatcher", "_rootHeight", "_resizeObserver", "_intersectionObserver", "_appVersion", "_DevvitCustomPost_instances", "updateLocalRuntime_fn", "tryLoadAppBundle_fn", "bubble_fn", "_newRenderContext", "_onError", "_onPluginCall", "_onRenderPost", "_onUserActionEffect", "DevvitCustomPost", "s", "__privateAdd", "Dispatcher", "url", "resolveWebViewUrl", "Header", "__privateGet", "noWebbitToken", "action", "BlockRenderEventType", "BlockStackDirection", "type", "err", "isCircuitBreaker", "__privateMethod", "_id", "serviceName", "method", "args", "_meta", "RealtimeDefinition", "_", "rsp", "_a", "_b", "__privateSet", "DEFAULT_ROOT_HEIGHT", "fx", "ev", "styles", "throttle", "entries", "buildDimensions", "entry", "x", "props", "asT3ID", "bundleLoaded", "localRuntimeSrc", "localRuntimeName", "bundle", "isReload", "bundleLoadResponse", "DevvitClientPerformanceEventName", "detail", "customEvent", "__decorateClass", "n", "t", "i", "e"]
|
|
7
|
+
}
|