@cartbot/plate-search 3.1.12 → 3.2.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.
@@ -1,141 +1,141 @@
1
- import * as a from "react";
2
- import Gt, { createContext as xa, useState as q, useRef as Oe, useEffect as B, forwardRef as ya, useImperativeHandle as Ea } from "react";
3
- import { createRoot as Yt } from "react-dom/client";
4
- const _a = "/css/plate-search.css";
1
+ import * as o from "react";
2
+ import r, { createContext as ka, useState as J, useRef as Ie, useEffect as $, forwardRef as Aa, useImperativeHandle as Ta } from "react";
3
+ import { createRoot as Xt } from "react-dom/client";
4
+ const Sa = "/css/plate-search.css";
5
5
  /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
6
6
  const {
7
- entries: qt,
8
- setPrototypeOf: Ot,
9
- isFrozen: Aa,
10
- getPrototypeOf: Ra,
11
- getOwnPropertyDescriptor: Ta
7
+ entries: Jt,
8
+ setPrototypeOf: Pt,
9
+ isFrozen: La,
10
+ getPrototypeOf: Ma,
11
+ getOwnPropertyDescriptor: Ca
12
12
  } = Object;
13
13
  let {
14
- freeze: z,
15
- seal: W,
16
- create: Xt
14
+ freeze: j,
15
+ seal: G,
16
+ create: Qt
17
17
  } = Object, {
18
- apply: dt,
19
- construct: mt
18
+ apply: ut,
19
+ construct: ft
20
20
  } = typeof Reflect < "u" && Reflect;
21
- z || (z = function(t) {
21
+ j || (j = function(t) {
22
22
  return t;
23
23
  });
24
- W || (W = function(t) {
24
+ G || (G = function(t) {
25
25
  return t;
26
26
  });
27
- dt || (dt = function(t, c, l) {
28
- return t.apply(c, l);
27
+ ut || (ut = function(t, d, l) {
28
+ return t.apply(d, l);
29
29
  });
30
- mt || (mt = function(t, c) {
31
- return new t(...c);
30
+ ft || (ft = function(t, d) {
31
+ return new t(...d);
32
32
  });
33
- const Be = F(Array.prototype.forEach), ka = F(Array.prototype.lastIndexOf), It = F(Array.prototype.pop), Se = F(Array.prototype.push), Sa = F(Array.prototype.splice), $e = F(String.prototype.toLowerCase), nt = F(String.prototype.toString), Ht = F(String.prototype.match), Ce = F(String.prototype.replace), Ca = F(String.prototype.indexOf), La = F(String.prototype.trim), $ = F(Object.prototype.hasOwnProperty), U = F(RegExp.prototype.test), Le = Ma(TypeError);
34
- function F(o) {
33
+ const Ge = V(Array.prototype.forEach), Ra = V(Array.prototype.lastIndexOf), Ut = V(Array.prototype.pop), Me = V(Array.prototype.push), Na = V(Array.prototype.splice), qe = V(String.prototype.toLowerCase), lt = V(String.prototype.toString), zt = V(String.prototype.match), Ce = V(String.prototype.replace), Oa = V(String.prototype.indexOf), Ia = V(String.prototype.trim), q = V(Object.prototype.hasOwnProperty), Z = V(RegExp.prototype.test), Re = Ha(TypeError);
34
+ function V(a) {
35
35
  return function(t) {
36
36
  t instanceof RegExp && (t.lastIndex = 0);
37
- for (var c = arguments.length, l = new Array(c > 1 ? c - 1 : 0), u = 1; u < c; u++)
38
- l[u - 1] = arguments[u];
39
- return dt(o, t, l);
37
+ for (var d = arguments.length, l = new Array(d > 1 ? d - 1 : 0), g = 1; g < d; g++)
38
+ l[g - 1] = arguments[g];
39
+ return ut(a, t, l);
40
40
  };
41
41
  }
42
- function Ma(o) {
42
+ function Ha(a) {
43
43
  return function() {
44
- for (var t = arguments.length, c = new Array(t), l = 0; l < t; l++)
45
- c[l] = arguments[l];
46
- return mt(o, c);
44
+ for (var t = arguments.length, d = new Array(t), l = 0; l < t; l++)
45
+ d[l] = arguments[l];
46
+ return ft(a, d);
47
47
  };
48
48
  }
49
- function w(o, t) {
50
- let c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : $e;
51
- Ot && Ot(o, null);
49
+ function b(a, t) {
50
+ let d = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : qe;
51
+ Pt && Pt(a, null);
52
52
  let l = t.length;
53
53
  for (; l--; ) {
54
- let u = t[l];
55
- if (typeof u == "string") {
56
- const h = c(u);
57
- h !== u && (Aa(t) || (t[l] = h), u = h);
54
+ let g = t[l];
55
+ if (typeof g == "string") {
56
+ const u = d(g);
57
+ u !== g && (La(t) || (t[l] = u), g = u);
58
58
  }
59
- o[u] = !0;
59
+ a[g] = !0;
60
60
  }
61
- return o;
61
+ return a;
62
62
  }
63
- function Na(o) {
64
- for (let t = 0; t < o.length; t++)
65
- $(o, t) || (o[t] = null);
66
- return o;
63
+ function Da(a) {
64
+ for (let t = 0; t < a.length; t++)
65
+ q(a, t) || (a[t] = null);
66
+ return a;
67
67
  }
68
- function Q(o) {
69
- const t = Xt(null);
70
- for (const [c, l] of qt(o))
71
- $(o, c) && (Array.isArray(l) ? t[c] = Na(l) : l && typeof l == "object" && l.constructor === Object ? t[c] = Q(l) : t[c] = l);
68
+ function oe(a) {
69
+ const t = Qt(null);
70
+ for (const [d, l] of Jt(a))
71
+ q(a, d) && (Array.isArray(l) ? t[d] = Da(l) : l && typeof l == "object" && l.constructor === Object ? t[d] = oe(l) : t[d] = l);
72
72
  return t;
73
73
  }
74
- function Me(o, t) {
75
- for (; o !== null; ) {
76
- const l = Ta(o, t);
74
+ function Ne(a, t) {
75
+ for (; a !== null; ) {
76
+ const l = Ca(a, t);
77
77
  if (l) {
78
78
  if (l.get)
79
- return F(l.get);
79
+ return V(l.get);
80
80
  if (typeof l.value == "function")
81
- return F(l.value);
81
+ return V(l.value);
82
82
  }
83
- o = Ra(o);
83
+ a = Ma(a);
84
84
  }
85
- function c() {
85
+ function d() {
86
86
  return null;
87
87
  }
88
- return c;
88
+ return d;
89
89
  }
90
- const Dt = z(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), rt = z(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), it = z(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Oa = z(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), lt = z(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Ia = z(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Pt = z(["#text"]), Ut = z(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), st = z(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), zt = z(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), We = z(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ha = W(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Da = W(/<%[\w\W]*|[\w\W]*%>/gm), Pa = W(/\$\{[\w\W]*/gm), Ua = W(/^data-[\-\w.\u00B7-\uFFFF]+$/), za = W(/^aria-[\-\w]+$/), Kt = W(
90
+ const Ft = j(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), st = j(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ct = j(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Pa = j(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), dt = j(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Ua = j(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Zt = j(["#text"]), jt = j(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), mt = j(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Vt = j(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ye = j(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), za = G(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Fa = G(/<%[\w\W]*|[\w\W]*%>/gm), Za = G(/\$\{[\w\W]*/gm), ja = G(/^data-[\-\w.\u00B7-\uFFFF]+$/), Va = G(/^aria-[\-\w]+$/), ea = G(
91
91
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
92
92
  // eslint-disable-line no-useless-escape
93
- ), Fa = W(/^(?:\w+script|data):/i), Za = W(
93
+ ), Ba = G(/^(?:\w+script|data):/i), Wa = G(
94
94
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
95
95
  // eslint-disable-line no-control-regex
96
- ), Jt = W(/^html$/i), Va = W(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
- var Ft = /* @__PURE__ */ Object.freeze({
96
+ ), ta = G(/^html$/i), $a = G(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
+ var Bt = /* @__PURE__ */ Object.freeze({
98
98
  __proto__: null,
99
- ARIA_ATTR: za,
100
- ATTR_WHITESPACE: Za,
101
- CUSTOM_ELEMENT: Va,
102
- DATA_ATTR: Ua,
103
- DOCTYPE_NAME: Jt,
104
- ERB_EXPR: Da,
105
- IS_ALLOWED_URI: Kt,
106
- IS_SCRIPT_OR_DATA: Fa,
107
- MUSTACHE_EXPR: Ha,
108
- TMPLIT_EXPR: Pa
99
+ ARIA_ATTR: Va,
100
+ ATTR_WHITESPACE: Wa,
101
+ CUSTOM_ELEMENT: $a,
102
+ DATA_ATTR: ja,
103
+ DOCTYPE_NAME: ta,
104
+ ERB_EXPR: Fa,
105
+ IS_ALLOWED_URI: ea,
106
+ IS_SCRIPT_OR_DATA: Ba,
107
+ MUSTACHE_EXPR: za,
108
+ TMPLIT_EXPR: Za
109
109
  });
110
- const Ne = {
110
+ const Oe = {
111
111
  element: 1,
112
112
  text: 3,
113
113
  // Deprecated
114
114
  progressingInstruction: 7,
115
115
  comment: 8,
116
116
  document: 9
117
- }, ja = function() {
117
+ }, Ga = function() {
118
118
  return typeof window > "u" ? null : window;
119
- }, Ba = function(t, c) {
119
+ }, Ya = function(t, d) {
120
120
  if (typeof t != "object" || typeof t.createPolicy != "function")
121
121
  return null;
122
122
  let l = null;
123
- const u = "data-tt-policy-suffix";
124
- c && c.hasAttribute(u) && (l = c.getAttribute(u));
125
- const h = "dompurify" + (l ? "#" + l : "");
123
+ const g = "data-tt-policy-suffix";
124
+ d && d.hasAttribute(g) && (l = d.getAttribute(g));
125
+ const u = "dompurify" + (l ? "#" + l : "");
126
126
  try {
127
- return t.createPolicy(h, {
128
- createHTML(p) {
129
- return p;
127
+ return t.createPolicy(u, {
128
+ createHTML(c) {
129
+ return c;
130
130
  },
131
- createScriptURL(p) {
132
- return p;
131
+ createScriptURL(c) {
132
+ return c;
133
133
  }
134
134
  });
135
135
  } catch {
136
- return console.warn("TrustedTypes policy " + h + " could not be created."), null;
136
+ return console.warn("TrustedTypes policy " + u + " could not be created."), null;
137
137
  }
138
- }, Zt = function() {
138
+ }, Wt = function() {
139
139
  return {
140
140
  afterSanitizeAttributes: [],
141
141
  afterSanitizeElements: [],
@@ -148,57 +148,57 @@ const Ne = {
148
148
  uponSanitizeShadowNode: []
149
149
  };
150
150
  };
151
- function Qt() {
152
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ja();
153
- const t = (d) => Qt(d);
154
- if (t.version = "3.2.6", t.removed = [], !o || !o.document || o.document.nodeType !== Ne.document || !o.Element)
151
+ function aa() {
152
+ let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ga();
153
+ const t = (h) => aa(h);
154
+ if (t.version = "3.2.6", t.removed = [], !a || !a.document || a.document.nodeType !== Oe.document || !a.Element)
155
155
  return t.isSupported = !1, t;
156
156
  let {
157
- document: c
158
- } = o;
159
- const l = c, u = l.currentScript, {
160
- DocumentFragment: h,
161
- HTMLTemplateElement: p,
162
- Node: m,
157
+ document: d
158
+ } = a;
159
+ const l = d, g = l.currentScript, {
160
+ DocumentFragment: u,
161
+ HTMLTemplateElement: c,
162
+ Node: p,
163
163
  Element: v,
164
- NodeFilter: r,
165
- NamedNodeMap: f = o.NamedNodeMap || o.MozNamedAttrMap,
164
+ NodeFilter: i,
165
+ NamedNodeMap: f = a.NamedNodeMap || a.MozNamedAttrMap,
166
166
  HTMLFormElement: x,
167
167
  DOMParser: I,
168
- trustedTypes: k
169
- } = o, y = v.prototype, H = Me(y, "cloneNode"), Z = Me(y, "remove"), V = Me(y, "nextSibling"), ge = Me(y, "childNodes"), ee = Me(y, "parentNode");
170
- if (typeof p == "function") {
171
- const d = c.createElement("template");
172
- d.content && d.content.ownerDocument && (c = d.content.ownerDocument);
168
+ trustedTypes: A
169
+ } = a, E = v.prototype, H = Ne(E, "cloneNode"), B = Ne(E, "remove"), Y = Ne(E, "nextSibling"), ne = Ne(E, "childNodes"), K = Ne(E, "parentNode");
170
+ if (typeof c == "function") {
171
+ const h = d.createElement("template");
172
+ h.content && h.content.ownerDocument && (d = h.content.ownerDocument);
173
173
  }
174
- let S, te = "";
174
+ let S, re = "";
175
175
  const {
176
- implementation: le,
177
- createNodeIterator: Ge,
178
- createDocumentFragment: we,
179
- getElementsByTagName: Ye
180
- } = c, {
181
- importNode: Ie
176
+ implementation: me,
177
+ createNodeIterator: Je,
178
+ createDocumentFragment: xe,
179
+ getElementsByTagName: Qe
180
+ } = d, {
181
+ importNode: He
182
182
  } = l;
183
- let M = Zt();
184
- t.isSupported = typeof qt == "function" && typeof ee == "function" && le && le.createHTMLDocument !== void 0;
183
+ let N = Wt();
184
+ t.isSupported = typeof Jt == "function" && typeof K == "function" && me && me.createHTMLDocument !== void 0;
185
185
  const {
186
- MUSTACHE_EXPR: He,
186
+ MUSTACHE_EXPR: De,
187
187
  ERB_EXPR: C,
188
- TMPLIT_EXPR: ae,
189
- DATA_ATTR: be,
190
- ARIA_ATTR: De,
191
- IS_SCRIPT_OR_DATA: qe,
192
- ATTR_WHITESPACE: ve,
193
- CUSTOM_ELEMENT: Xe
194
- } = Ft;
188
+ TMPLIT_EXPR: ye,
189
+ DATA_ATTR: pe,
190
+ ARIA_ATTR: Ee,
191
+ IS_SCRIPT_OR_DATA: Pe,
192
+ ATTR_WHITESPACE: Ue,
193
+ CUSTOM_ELEMENT: ze
194
+ } = Bt;
195
195
  let {
196
- IS_ALLOWED_URI: Pe
197
- } = Ft, E = null;
198
- const xe = w({}, [...Dt, ...rt, ...it, ...lt, ...Pt]);
199
- let R = null;
200
- const ye = w({}, [...Ut, ...st, ...zt, ...We]);
201
- let T = Object.seal(Xt(null, {
196
+ IS_ALLOWED_URI: Fe
197
+ } = Bt, L = null;
198
+ const U = b({}, [...Ft, ...st, ...ct, ...dt, ...Zt]);
199
+ let M = null;
200
+ const ie = b({}, [...jt, ...mt, ...Vt, ...Ye]);
201
+ let _ = Object.seal(Qt(null, {
202
202
  tagNameCheck: {
203
203
  writable: !0,
204
204
  configurable: !1,
@@ -217,70 +217,70 @@ function Qt() {
217
217
  enumerable: !0,
218
218
  value: !1
219
219
  }
220
- })), oe = null, se = null, Ee = !0, _e = !0, Ae = !1, i = !0, g = !1, b = !0, _ = !1, ne = !1, ce = !1, G = !1, Ue = !1, ze = !1, ft = !0, gt = !1;
221
- const ha = "user-content-";
222
- let Ke = !0, Re = !1, de = {}, me = null;
223
- const wt = w({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
224
- let bt = null;
225
- const vt = w({}, ["audio", "video", "img", "source", "image", "track"]);
226
- let Je = null;
227
- const xt = w({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Fe = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", X = "http://www.w3.org/1999/xhtml";
228
- let he = X, Qe = !1, et = null;
229
- const pa = w({}, [Fe, Ze, X], nt);
230
- let Ve = w({}, ["mi", "mo", "mn", "ms", "mtext"]), je = w({}, ["annotation-xml"]);
231
- const ua = w({}, ["title", "style", "font", "a", "script"]);
232
- let Te = null;
233
- const fa = ["application/xhtml+xml", "text/html"], ga = "text/html";
234
- let N = null, pe = null;
235
- const wa = c.createElement("form"), yt = function(e) {
220
+ })), se = null, _e = null, ke = !0, he = !0, Ze = !1, Ae = !0, s = !1, y = !0, w = !1, D = !1, P = !1, Q = !1, le = !1, je = !1, vt = !0, xt = !1;
221
+ const ga = "user-content-";
222
+ let et = !0, Te = !1, ue = {}, fe = null;
223
+ const yt = b({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
224
+ let Et = null;
225
+ const _t = b({}, ["audio", "video", "img", "source", "image", "track"]);
226
+ let tt = null;
227
+ const kt = b({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ve = "http://www.w3.org/1998/Math/MathML", Be = "http://www.w3.org/2000/svg", ee = "http://www.w3.org/1999/xhtml";
228
+ let ge = ee, at = !1, ot = null;
229
+ const wa = b({}, [Ve, Be, ee], lt);
230
+ let We = b({}, ["mi", "mo", "mn", "ms", "mtext"]), $e = b({}, ["annotation-xml"]);
231
+ const ba = b({}, ["title", "style", "font", "a", "script"]);
232
+ let Se = null;
233
+ const va = ["application/xhtml+xml", "text/html"], xa = "text/html";
234
+ let O = null, we = null;
235
+ const ya = d.createElement("form"), At = function(e) {
236
236
  return e instanceof RegExp || e instanceof Function;
237
- }, tt = function() {
237
+ }, nt = function() {
238
238
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
239
- if (!(pe && pe === e)) {
240
- if ((!e || typeof e != "object") && (e = {}), e = Q(e), Te = // eslint-disable-next-line unicorn/prefer-includes
241
- fa.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? ga : e.PARSER_MEDIA_TYPE, N = Te === "application/xhtml+xml" ? nt : $e, E = $(e, "ALLOWED_TAGS") ? w({}, e.ALLOWED_TAGS, N) : xe, R = $(e, "ALLOWED_ATTR") ? w({}, e.ALLOWED_ATTR, N) : ye, et = $(e, "ALLOWED_NAMESPACES") ? w({}, e.ALLOWED_NAMESPACES, nt) : pa, Je = $(e, "ADD_URI_SAFE_ATTR") ? w(Q(xt), e.ADD_URI_SAFE_ATTR, N) : xt, bt = $(e, "ADD_DATA_URI_TAGS") ? w(Q(vt), e.ADD_DATA_URI_TAGS, N) : vt, me = $(e, "FORBID_CONTENTS") ? w({}, e.FORBID_CONTENTS, N) : wt, oe = $(e, "FORBID_TAGS") ? w({}, e.FORBID_TAGS, N) : Q({}), se = $(e, "FORBID_ATTR") ? w({}, e.FORBID_ATTR, N) : Q({}), de = $(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Ee = e.ALLOW_ARIA_ATTR !== !1, _e = e.ALLOW_DATA_ATTR !== !1, Ae = e.ALLOW_UNKNOWN_PROTOCOLS || !1, i = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, g = e.SAFE_FOR_TEMPLATES || !1, b = e.SAFE_FOR_XML !== !1, _ = e.WHOLE_DOCUMENT || !1, G = e.RETURN_DOM || !1, Ue = e.RETURN_DOM_FRAGMENT || !1, ze = e.RETURN_TRUSTED_TYPE || !1, ce = e.FORCE_BODY || !1, ft = e.SANITIZE_DOM !== !1, gt = e.SANITIZE_NAMED_PROPS || !1, Ke = e.KEEP_CONTENT !== !1, Re = e.IN_PLACE || !1, Pe = e.ALLOWED_URI_REGEXP || Kt, he = e.NAMESPACE || X, Ve = e.MATHML_TEXT_INTEGRATION_POINTS || Ve, je = e.HTML_INTEGRATION_POINTS || je, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), g && (_e = !1), Ue && (G = !0), de && (E = w({}, Pt), R = [], de.html === !0 && (w(E, Dt), w(R, Ut)), de.svg === !0 && (w(E, rt), w(R, st), w(R, We)), de.svgFilters === !0 && (w(E, it), w(R, st), w(R, We)), de.mathMl === !0 && (w(E, lt), w(R, zt), w(R, We))), e.ADD_TAGS && (E === xe && (E = Q(E)), w(E, e.ADD_TAGS, N)), e.ADD_ATTR && (R === ye && (R = Q(R)), w(R, e.ADD_ATTR, N)), e.ADD_URI_SAFE_ATTR && w(Je, e.ADD_URI_SAFE_ATTR, N), e.FORBID_CONTENTS && (me === wt && (me = Q(me)), w(me, e.FORBID_CONTENTS, N)), Ke && (E["#text"] = !0), _ && w(E, ["html", "head", "body"]), E.table && (w(E, ["tbody"]), delete oe.tbody), e.TRUSTED_TYPES_POLICY) {
239
+ if (!(we && we === e)) {
240
+ if ((!e || typeof e != "object") && (e = {}), e = oe(e), Se = // eslint-disable-next-line unicorn/prefer-includes
241
+ va.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? xa : e.PARSER_MEDIA_TYPE, O = Se === "application/xhtml+xml" ? lt : qe, L = q(e, "ALLOWED_TAGS") ? b({}, e.ALLOWED_TAGS, O) : U, M = q(e, "ALLOWED_ATTR") ? b({}, e.ALLOWED_ATTR, O) : ie, ot = q(e, "ALLOWED_NAMESPACES") ? b({}, e.ALLOWED_NAMESPACES, lt) : wa, tt = q(e, "ADD_URI_SAFE_ATTR") ? b(oe(kt), e.ADD_URI_SAFE_ATTR, O) : kt, Et = q(e, "ADD_DATA_URI_TAGS") ? b(oe(_t), e.ADD_DATA_URI_TAGS, O) : _t, fe = q(e, "FORBID_CONTENTS") ? b({}, e.FORBID_CONTENTS, O) : yt, se = q(e, "FORBID_TAGS") ? b({}, e.FORBID_TAGS, O) : oe({}), _e = q(e, "FORBID_ATTR") ? b({}, e.FORBID_ATTR, O) : oe({}), ue = q(e, "USE_PROFILES") ? e.USE_PROFILES : !1, ke = e.ALLOW_ARIA_ATTR !== !1, he = e.ALLOW_DATA_ATTR !== !1, Ze = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ae = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, s = e.SAFE_FOR_TEMPLATES || !1, y = e.SAFE_FOR_XML !== !1, w = e.WHOLE_DOCUMENT || !1, Q = e.RETURN_DOM || !1, le = e.RETURN_DOM_FRAGMENT || !1, je = e.RETURN_TRUSTED_TYPE || !1, P = e.FORCE_BODY || !1, vt = e.SANITIZE_DOM !== !1, xt = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Te = e.IN_PLACE || !1, Fe = e.ALLOWED_URI_REGEXP || ea, ge = e.NAMESPACE || ee, We = e.MATHML_TEXT_INTEGRATION_POINTS || We, $e = e.HTML_INTEGRATION_POINTS || $e, _ = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && At(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (_.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && At(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (_.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (_.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), s && (he = !1), le && (Q = !0), ue && (L = b({}, Zt), M = [], ue.html === !0 && (b(L, Ft), b(M, jt)), ue.svg === !0 && (b(L, st), b(M, mt), b(M, Ye)), ue.svgFilters === !0 && (b(L, ct), b(M, mt), b(M, Ye)), ue.mathMl === !0 && (b(L, dt), b(M, Vt), b(M, Ye))), e.ADD_TAGS && (L === U && (L = oe(L)), b(L, e.ADD_TAGS, O)), e.ADD_ATTR && (M === ie && (M = oe(M)), b(M, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && b(tt, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (fe === yt && (fe = oe(fe)), b(fe, e.FORBID_CONTENTS, O)), et && (L["#text"] = !0), w && b(L, ["html", "head", "body"]), L.table && (b(L, ["tbody"]), delete se.tbody), e.TRUSTED_TYPES_POLICY) {
242
242
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
243
- throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
243
+ throw Re('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
244
244
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
245
- throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
246
- S = e.TRUSTED_TYPES_POLICY, te = S.createHTML("");
245
+ throw Re('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
246
+ S = e.TRUSTED_TYPES_POLICY, re = S.createHTML("");
247
247
  } else
248
- S === void 0 && (S = Ba(k, u)), S !== null && typeof te == "string" && (te = S.createHTML(""));
249
- z && z(e), pe = e;
248
+ S === void 0 && (S = Ya(A, g)), S !== null && typeof re == "string" && (re = S.createHTML(""));
249
+ j && j(e), we = e;
250
250
  }
251
- }, Et = w({}, [...rt, ...it, ...Oa]), _t = w({}, [...lt, ...Ia]), ba = function(e) {
252
- let n = ee(e);
251
+ }, Tt = b({}, [...st, ...ct, ...Pa]), St = b({}, [...dt, ...Ua]), Ea = function(e) {
252
+ let n = K(e);
253
253
  (!n || !n.tagName) && (n = {
254
- namespaceURI: he,
254
+ namespaceURI: ge,
255
255
  tagName: "template"
256
256
  });
257
- const s = $e(e.tagName), A = $e(n.tagName);
258
- return et[e.namespaceURI] ? e.namespaceURI === Ze ? n.namespaceURI === X ? s === "svg" : n.namespaceURI === Fe ? s === "svg" && (A === "annotation-xml" || Ve[A]) : !!Et[s] : e.namespaceURI === Fe ? n.namespaceURI === X ? s === "math" : n.namespaceURI === Ze ? s === "math" && je[A] : !!_t[s] : e.namespaceURI === X ? n.namespaceURI === Ze && !je[A] || n.namespaceURI === Fe && !Ve[A] ? !1 : !_t[s] && (ua[s] || !Et[s]) : !!(Te === "application/xhtml+xml" && et[e.namespaceURI]) : !1;
259
- }, Y = function(e) {
260
- Se(t.removed, {
257
+ const m = qe(e.tagName), k = qe(n.tagName);
258
+ return ot[e.namespaceURI] ? e.namespaceURI === Be ? n.namespaceURI === ee ? m === "svg" : n.namespaceURI === Ve ? m === "svg" && (k === "annotation-xml" || We[k]) : !!Tt[m] : e.namespaceURI === Ve ? n.namespaceURI === ee ? m === "math" : n.namespaceURI === Be ? m === "math" && $e[k] : !!St[m] : e.namespaceURI === ee ? n.namespaceURI === Be && !$e[k] || n.namespaceURI === Ve && !We[k] ? !1 : !St[m] && (ba[m] || !Tt[m]) : !!(Se === "application/xhtml+xml" && ot[e.namespaceURI]) : !1;
259
+ }, X = function(e) {
260
+ Me(t.removed, {
261
261
  element: e
262
262
  });
263
263
  try {
264
- ee(e).removeChild(e);
264
+ K(e).removeChild(e);
265
265
  } catch {
266
- Z(e);
266
+ B(e);
267
267
  }
268
- }, ue = function(e, n) {
268
+ }, be = function(e, n) {
269
269
  try {
270
- Se(t.removed, {
270
+ Me(t.removed, {
271
271
  attribute: n.getAttributeNode(e),
272
272
  from: n
273
273
  });
274
274
  } catch {
275
- Se(t.removed, {
275
+ Me(t.removed, {
276
276
  attribute: null,
277
277
  from: n
278
278
  });
279
279
  }
280
280
  if (n.removeAttribute(e), e === "is")
281
- if (G || Ue)
281
+ if (Q || le)
282
282
  try {
283
- Y(n);
283
+ X(n);
284
284
  } catch {
285
285
  }
286
286
  else
@@ -288,97 +288,97 @@ function Qt() {
288
288
  n.setAttribute(e, "");
289
289
  } catch {
290
290
  }
291
- }, At = function(e) {
292
- let n = null, s = null;
293
- if (ce)
291
+ }, Lt = function(e) {
292
+ let n = null, m = null;
293
+ if (P)
294
294
  e = "<remove></remove>" + e;
295
295
  else {
296
- const L = Ht(e, /^[\r\n\t ]+/);
297
- s = L && L[0];
296
+ const R = zt(e, /^[\r\n\t ]+/);
297
+ m = R && R[0];
298
298
  }
299
- Te === "application/xhtml+xml" && he === X && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
300
- const A = S ? S.createHTML(e) : e;
301
- if (he === X)
299
+ Se === "application/xhtml+xml" && ge === ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
300
+ const k = S ? S.createHTML(e) : e;
301
+ if (ge === ee)
302
302
  try {
303
- n = new I().parseFromString(A, Te);
303
+ n = new I().parseFromString(k, Se);
304
304
  } catch {
305
305
  }
306
306
  if (!n || !n.documentElement) {
307
- n = le.createDocument(he, "template", null);
307
+ n = me.createDocument(ge, "template", null);
308
308
  try {
309
- n.documentElement.innerHTML = Qe ? te : A;
309
+ n.documentElement.innerHTML = at ? re : k;
310
310
  } catch {
311
311
  }
312
312
  }
313
- const D = n.body || n.documentElement;
314
- return e && s && D.insertBefore(c.createTextNode(s), D.childNodes[0] || null), he === X ? Ye.call(n, _ ? "html" : "body")[0] : _ ? n.documentElement : D;
315
- }, Rt = function(e) {
316
- return Ge.call(
313
+ const z = n.body || n.documentElement;
314
+ return e && m && z.insertBefore(d.createTextNode(m), z.childNodes[0] || null), ge === ee ? Qe.call(n, w ? "html" : "body")[0] : w ? n.documentElement : z;
315
+ }, Mt = function(e) {
316
+ return Je.call(
317
317
  e.ownerDocument || e,
318
318
  e,
319
319
  // eslint-disable-next-line no-bitwise
320
- r.SHOW_ELEMENT | r.SHOW_COMMENT | r.SHOW_TEXT | r.SHOW_PROCESSING_INSTRUCTION | r.SHOW_CDATA_SECTION,
320
+ i.SHOW_ELEMENT | i.SHOW_COMMENT | i.SHOW_TEXT | i.SHOW_PROCESSING_INSTRUCTION | i.SHOW_CDATA_SECTION,
321
321
  null
322
322
  );
323
- }, at = function(e) {
323
+ }, rt = function(e) {
324
324
  return e instanceof x && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof f) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
325
- }, Tt = function(e) {
326
- return typeof m == "function" && e instanceof m;
325
+ }, Ct = function(e) {
326
+ return typeof p == "function" && e instanceof p;
327
327
  };
328
- function K(d, e, n) {
329
- Be(d, (s) => {
330
- s.call(t, e, n, pe);
328
+ function te(h, e, n) {
329
+ Ge(h, (m) => {
330
+ m.call(t, e, n, we);
331
331
  });
332
332
  }
333
- const kt = function(e) {
333
+ const Rt = function(e) {
334
334
  let n = null;
335
- if (K(M.beforeSanitizeElements, e, null), at(e))
336
- return Y(e), !0;
337
- const s = N(e.nodeName);
338
- if (K(M.uponSanitizeElement, e, {
339
- tagName: s,
340
- allowedTags: E
341
- }), b && e.hasChildNodes() && !Tt(e.firstElementChild) && U(/<[/\w!]/g, e.innerHTML) && U(/<[/\w!]/g, e.textContent) || e.nodeType === Ne.progressingInstruction || b && e.nodeType === Ne.comment && U(/<[/\w]/g, e.data))
342
- return Y(e), !0;
343
- if (!E[s] || oe[s]) {
344
- if (!oe[s] && Ct(s) && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, s) || T.tagNameCheck instanceof Function && T.tagNameCheck(s)))
335
+ if (te(N.beforeSanitizeElements, e, null), rt(e))
336
+ return X(e), !0;
337
+ const m = O(e.nodeName);
338
+ if (te(N.uponSanitizeElement, e, {
339
+ tagName: m,
340
+ allowedTags: L
341
+ }), y && e.hasChildNodes() && !Ct(e.firstElementChild) && Z(/<[/\w!]/g, e.innerHTML) && Z(/<[/\w!]/g, e.textContent) || e.nodeType === Oe.progressingInstruction || y && e.nodeType === Oe.comment && Z(/<[/\w]/g, e.data))
342
+ return X(e), !0;
343
+ if (!L[m] || se[m]) {
344
+ if (!se[m] && Ot(m) && (_.tagNameCheck instanceof RegExp && Z(_.tagNameCheck, m) || _.tagNameCheck instanceof Function && _.tagNameCheck(m)))
345
345
  return !1;
346
- if (Ke && !me[s]) {
347
- const A = ee(e) || e.parentNode, D = ge(e) || e.childNodes;
348
- if (D && A) {
349
- const L = D.length;
350
- for (let j = L - 1; j >= 0; --j) {
351
- const J = H(D[j], !0);
352
- J.__removalCount = (e.__removalCount || 0) + 1, A.insertBefore(J, V(e));
346
+ if (et && !fe[m]) {
347
+ const k = K(e) || e.parentNode, z = ne(e) || e.childNodes;
348
+ if (z && k) {
349
+ const R = z.length;
350
+ for (let W = R - 1; W >= 0; --W) {
351
+ const ae = H(z[W], !0);
352
+ ae.__removalCount = (e.__removalCount || 0) + 1, k.insertBefore(ae, Y(e));
353
353
  }
354
354
  }
355
355
  }
356
- return Y(e), !0;
356
+ return X(e), !0;
357
357
  }
358
- return e instanceof v && !ba(e) || (s === "noscript" || s === "noembed" || s === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (Y(e), !0) : (g && e.nodeType === Ne.text && (n = e.textContent, Be([He, C, ae], (A) => {
359
- n = Ce(n, A, " ");
360
- }), e.textContent !== n && (Se(t.removed, {
358
+ return e instanceof v && !Ea(e) || (m === "noscript" || m === "noembed" || m === "noframes") && Z(/<\/no(script|embed|frames)/i, e.innerHTML) ? (X(e), !0) : (s && e.nodeType === Oe.text && (n = e.textContent, Ge([De, C, ye], (k) => {
359
+ n = Ce(n, k, " ");
360
+ }), e.textContent !== n && (Me(t.removed, {
361
361
  element: e.cloneNode()
362
- }), e.textContent = n)), K(M.afterSanitizeElements, e, null), !1);
363
- }, St = function(e, n, s) {
364
- if (ft && (n === "id" || n === "name") && (s in c || s in wa))
362
+ }), e.textContent = n)), te(N.afterSanitizeElements, e, null), !1);
363
+ }, Nt = function(e, n, m) {
364
+ if (vt && (n === "id" || n === "name") && (m in d || m in ya))
365
365
  return !1;
366
- if (!(_e && !se[n] && U(be, n))) {
367
- if (!(Ee && U(De, n))) {
368
- if (!R[n] || se[n]) {
366
+ if (!(he && !_e[n] && Z(pe, n))) {
367
+ if (!(ke && Z(Ee, n))) {
368
+ if (!M[n] || _e[n]) {
369
369
  if (
370
370
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
371
371
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
372
372
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
373
- !(Ct(e) && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && U(T.attributeNameCheck, n) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(n)) || // Alternative, second condition checks if it's an `is`-attribute, AND
373
+ !(Ot(e) && (_.tagNameCheck instanceof RegExp && Z(_.tagNameCheck, e) || _.tagNameCheck instanceof Function && _.tagNameCheck(e)) && (_.attributeNameCheck instanceof RegExp && Z(_.attributeNameCheck, n) || _.attributeNameCheck instanceof Function && _.attributeNameCheck(n)) || // Alternative, second condition checks if it's an `is`-attribute, AND
374
374
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
375
- n === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, s) || T.tagNameCheck instanceof Function && T.tagNameCheck(s)))
375
+ n === "is" && _.allowCustomizedBuiltInElements && (_.tagNameCheck instanceof RegExp && Z(_.tagNameCheck, m) || _.tagNameCheck instanceof Function && _.tagNameCheck(m)))
376
376
  ) return !1;
377
- } else if (!Je[n]) {
378
- if (!U(Pe, Ce(s, ve, ""))) {
379
- if (!((n === "src" || n === "xlink:href" || n === "href") && e !== "script" && Ca(s, "data:") === 0 && bt[e])) {
380
- if (!(Ae && !U(qe, Ce(s, ve, "")))) {
381
- if (s)
377
+ } else if (!tt[n]) {
378
+ if (!Z(Fe, Ce(m, Ue, ""))) {
379
+ if (!((n === "src" || n === "xlink:href" || n === "href") && e !== "script" && Oa(m, "data:") === 0 && Et[e])) {
380
+ if (!(Ze && !Z(Pe, Ce(m, Ue, "")))) {
381
+ if (m)
382
382
  return !1;
383
383
  }
384
384
  }
@@ -387,367 +387,367 @@ function Qt() {
387
387
  }
388
388
  }
389
389
  return !0;
390
- }, Ct = function(e) {
391
- return e !== "annotation-xml" && Ht(e, Xe);
392
- }, Lt = function(e) {
393
- K(M.beforeSanitizeAttributes, e, null);
390
+ }, Ot = function(e) {
391
+ return e !== "annotation-xml" && zt(e, ze);
392
+ }, It = function(e) {
393
+ te(N.beforeSanitizeAttributes, e, null);
394
394
  const {
395
395
  attributes: n
396
396
  } = e;
397
- if (!n || at(e))
397
+ if (!n || rt(e))
398
398
  return;
399
- const s = {
399
+ const m = {
400
400
  attrName: "",
401
401
  attrValue: "",
402
402
  keepAttr: !0,
403
- allowedAttributes: R,
403
+ allowedAttributes: M,
404
404
  forceKeepAttr: void 0
405
405
  };
406
- let A = n.length;
407
- for (; A--; ) {
408
- const D = n[A], {
409
- name: L,
410
- namespaceURI: j,
411
- value: J
412
- } = D, ke = N(L), ot = J;
413
- let P = L === "value" ? ot : La(ot);
414
- if (s.attrName = ke, s.attrValue = P, s.keepAttr = !0, s.forceKeepAttr = void 0, K(M.uponSanitizeAttribute, e, s), P = s.attrValue, gt && (ke === "id" || ke === "name") && (ue(L, e), P = ha + P), b && U(/((--!?|])>)|<\/(style|title)/i, P)) {
415
- ue(L, e);
406
+ let k = n.length;
407
+ for (; k--; ) {
408
+ const z = n[k], {
409
+ name: R,
410
+ namespaceURI: W,
411
+ value: ae
412
+ } = z, Le = O(R), it = ae;
413
+ let F = R === "value" ? it : Ia(it);
414
+ if (m.attrName = Le, m.attrValue = F, m.keepAttr = !0, m.forceKeepAttr = void 0, te(N.uponSanitizeAttribute, e, m), F = m.attrValue, xt && (Le === "id" || Le === "name") && (be(R, e), F = ga + F), y && Z(/((--!?|])>)|<\/(style|title)/i, F)) {
415
+ be(R, e);
416
416
  continue;
417
417
  }
418
- if (s.forceKeepAttr)
418
+ if (m.forceKeepAttr)
419
419
  continue;
420
- if (!s.keepAttr) {
421
- ue(L, e);
420
+ if (!m.keepAttr) {
421
+ be(R, e);
422
422
  continue;
423
423
  }
424
- if (!i && U(/\/>/i, P)) {
425
- ue(L, e);
424
+ if (!Ae && Z(/\/>/i, F)) {
425
+ be(R, e);
426
426
  continue;
427
427
  }
428
- g && Be([He, C, ae], (Nt) => {
429
- P = Ce(P, Nt, " ");
428
+ s && Ge([De, C, ye], (Dt) => {
429
+ F = Ce(F, Dt, " ");
430
430
  });
431
- const Mt = N(e.nodeName);
432
- if (!St(Mt, ke, P)) {
433
- ue(L, e);
431
+ const Ht = O(e.nodeName);
432
+ if (!Nt(Ht, Le, F)) {
433
+ be(R, e);
434
434
  continue;
435
435
  }
436
- if (S && typeof k == "object" && typeof k.getAttributeType == "function" && !j)
437
- switch (k.getAttributeType(Mt, ke)) {
436
+ if (S && typeof A == "object" && typeof A.getAttributeType == "function" && !W)
437
+ switch (A.getAttributeType(Ht, Le)) {
438
438
  case "TrustedHTML": {
439
- P = S.createHTML(P);
439
+ F = S.createHTML(F);
440
440
  break;
441
441
  }
442
442
  case "TrustedScriptURL": {
443
- P = S.createScriptURL(P);
443
+ F = S.createScriptURL(F);
444
444
  break;
445
445
  }
446
446
  }
447
- if (P !== ot)
447
+ if (F !== it)
448
448
  try {
449
- j ? e.setAttributeNS(j, L, P) : e.setAttribute(L, P), at(e) ? Y(e) : It(t.removed);
449
+ W ? e.setAttributeNS(W, R, F) : e.setAttribute(R, F), rt(e) ? X(e) : Ut(t.removed);
450
450
  } catch {
451
- ue(L, e);
451
+ be(R, e);
452
452
  }
453
453
  }
454
- K(M.afterSanitizeAttributes, e, null);
455
- }, va = function d(e) {
454
+ te(N.afterSanitizeAttributes, e, null);
455
+ }, _a = function h(e) {
456
456
  let n = null;
457
- const s = Rt(e);
458
- for (K(M.beforeSanitizeShadowDOM, e, null); n = s.nextNode(); )
459
- K(M.uponSanitizeShadowNode, n, null), kt(n), Lt(n), n.content instanceof h && d(n.content);
460
- K(M.afterSanitizeShadowDOM, e, null);
457
+ const m = Mt(e);
458
+ for (te(N.beforeSanitizeShadowDOM, e, null); n = m.nextNode(); )
459
+ te(N.uponSanitizeShadowNode, n, null), Rt(n), It(n), n.content instanceof u && h(n.content);
460
+ te(N.afterSanitizeShadowDOM, e, null);
461
461
  };
462
- return t.sanitize = function(d) {
463
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = null, s = null, A = null, D = null;
464
- if (Qe = !d, Qe && (d = "<!-->"), typeof d != "string" && !Tt(d))
465
- if (typeof d.toString == "function") {
466
- if (d = d.toString(), typeof d != "string")
467
- throw Le("dirty is not a string, aborting");
462
+ return t.sanitize = function(h) {
463
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = null, m = null, k = null, z = null;
464
+ if (at = !h, at && (h = "<!-->"), typeof h != "string" && !Ct(h))
465
+ if (typeof h.toString == "function") {
466
+ if (h = h.toString(), typeof h != "string")
467
+ throw Re("dirty is not a string, aborting");
468
468
  } else
469
- throw Le("toString is not a function");
469
+ throw Re("toString is not a function");
470
470
  if (!t.isSupported)
471
- return d;
472
- if (ne || tt(e), t.removed = [], typeof d == "string" && (Re = !1), Re) {
473
- if (d.nodeName) {
474
- const J = N(d.nodeName);
475
- if (!E[J] || oe[J])
476
- throw Le("root node is forbidden and cannot be sanitized in-place");
471
+ return h;
472
+ if (D || nt(e), t.removed = [], typeof h == "string" && (Te = !1), Te) {
473
+ if (h.nodeName) {
474
+ const ae = O(h.nodeName);
475
+ if (!L[ae] || se[ae])
476
+ throw Re("root node is forbidden and cannot be sanitized in-place");
477
477
  }
478
- } else if (d instanceof m)
479
- n = At("<!---->"), s = n.ownerDocument.importNode(d, !0), s.nodeType === Ne.element && s.nodeName === "BODY" || s.nodeName === "HTML" ? n = s : n.appendChild(s);
478
+ } else if (h instanceof p)
479
+ n = Lt("<!---->"), m = n.ownerDocument.importNode(h, !0), m.nodeType === Oe.element && m.nodeName === "BODY" || m.nodeName === "HTML" ? n = m : n.appendChild(m);
480
480
  else {
481
- if (!G && !g && !_ && // eslint-disable-next-line unicorn/prefer-includes
482
- d.indexOf("<") === -1)
483
- return S && ze ? S.createHTML(d) : d;
484
- if (n = At(d), !n)
485
- return G ? null : ze ? te : "";
481
+ if (!Q && !s && !w && // eslint-disable-next-line unicorn/prefer-includes
482
+ h.indexOf("<") === -1)
483
+ return S && je ? S.createHTML(h) : h;
484
+ if (n = Lt(h), !n)
485
+ return Q ? null : je ? re : "";
486
486
  }
487
- n && ce && Y(n.firstChild);
488
- const L = Rt(Re ? d : n);
489
- for (; A = L.nextNode(); )
490
- kt(A), Lt(A), A.content instanceof h && va(A.content);
491
- if (Re)
492
- return d;
493
- if (G) {
494
- if (Ue)
495
- for (D = we.call(n.ownerDocument); n.firstChild; )
496
- D.appendChild(n.firstChild);
487
+ n && P && X(n.firstChild);
488
+ const R = Mt(Te ? h : n);
489
+ for (; k = R.nextNode(); )
490
+ Rt(k), It(k), k.content instanceof u && _a(k.content);
491
+ if (Te)
492
+ return h;
493
+ if (Q) {
494
+ if (le)
495
+ for (z = xe.call(n.ownerDocument); n.firstChild; )
496
+ z.appendChild(n.firstChild);
497
497
  else
498
- D = n;
499
- return (R.shadowroot || R.shadowrootmode) && (D = Ie.call(l, D, !0)), D;
498
+ z = n;
499
+ return (M.shadowroot || M.shadowrootmode) && (z = He.call(l, z, !0)), z;
500
500
  }
501
- let j = _ ? n.outerHTML : n.innerHTML;
502
- return _ && E["!doctype"] && n.ownerDocument && n.ownerDocument.doctype && n.ownerDocument.doctype.name && U(Jt, n.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + n.ownerDocument.doctype.name + `>
503
- ` + j), g && Be([He, C, ae], (J) => {
504
- j = Ce(j, J, " ");
505
- }), S && ze ? S.createHTML(j) : j;
501
+ let W = w ? n.outerHTML : n.innerHTML;
502
+ return w && L["!doctype"] && n.ownerDocument && n.ownerDocument.doctype && n.ownerDocument.doctype.name && Z(ta, n.ownerDocument.doctype.name) && (W = "<!DOCTYPE " + n.ownerDocument.doctype.name + `>
503
+ ` + W), s && Ge([De, C, ye], (ae) => {
504
+ W = Ce(W, ae, " ");
505
+ }), S && je ? S.createHTML(W) : W;
506
506
  }, t.setConfig = function() {
507
- let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
508
- tt(d), ne = !0;
507
+ let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
508
+ nt(h), D = !0;
509
509
  }, t.clearConfig = function() {
510
- pe = null, ne = !1;
511
- }, t.isValidAttribute = function(d, e, n) {
512
- pe || tt({});
513
- const s = N(d), A = N(e);
514
- return St(s, A, n);
515
- }, t.addHook = function(d, e) {
516
- typeof e == "function" && Se(M[d], e);
517
- }, t.removeHook = function(d, e) {
510
+ we = null, D = !1;
511
+ }, t.isValidAttribute = function(h, e, n) {
512
+ we || nt({});
513
+ const m = O(h), k = O(e);
514
+ return Nt(m, k, n);
515
+ }, t.addHook = function(h, e) {
516
+ typeof e == "function" && Me(N[h], e);
517
+ }, t.removeHook = function(h, e) {
518
518
  if (e !== void 0) {
519
- const n = ka(M[d], e);
520
- return n === -1 ? void 0 : Sa(M[d], n, 1)[0];
519
+ const n = Ra(N[h], e);
520
+ return n === -1 ? void 0 : Na(N[h], n, 1)[0];
521
521
  }
522
- return It(M[d]);
523
- }, t.removeHooks = function(d) {
524
- M[d] = [];
522
+ return Ut(N[h]);
523
+ }, t.removeHooks = function(h) {
524
+ N[h] = [];
525
525
  }, t.removeAllHooks = function() {
526
- M = Zt();
526
+ N = Wt();
527
527
  }, t;
528
528
  }
529
- var Vt = Qt();
530
- const Wa = /* @__PURE__ */ new Map([
529
+ var $t = aa();
530
+ const qa = /* @__PURE__ */ new Map([
531
531
  [
532
532
  "bold",
533
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z" }))
533
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z" }))
534
534
  ],
535
535
  [
536
536
  "duotone",
537
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M112,56V200L40,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z" }))
537
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M112,56V200L40,128Z", opacity: "0.2" }), /* @__PURE__ */ o.createElement("path", { d: "M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z" }))
538
538
  ],
539
539
  [
540
540
  "fill",
541
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z" }))
541
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z" }))
542
542
  ],
543
543
  [
544
544
  "light",
545
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z" }))
545
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z" }))
546
546
  ],
547
547
  [
548
548
  "regular",
549
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z" }))
549
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z" }))
550
550
  ],
551
551
  [
552
552
  "thin",
553
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z" }))
553
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z" }))
554
554
  ]
555
- ]), $a = /* @__PURE__ */ new Map([
555
+ ]), Ka = /* @__PURE__ */ new Map([
556
556
  [
557
557
  "bold",
558
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z" }))
558
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z" }))
559
559
  ],
560
560
  [
561
561
  "duotone",
562
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
562
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z", opacity: "0.2" }), /* @__PURE__ */ o.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
563
563
  ],
564
564
  [
565
565
  "fill",
566
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
566
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
567
567
  ],
568
568
  [
569
569
  "light",
570
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z" }))
570
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z" }))
571
571
  ],
572
572
  [
573
573
  "regular",
574
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
574
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
575
575
  ],
576
576
  [
577
577
  "thin",
578
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z" }))
578
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z" }))
579
579
  ]
580
- ]), Ga = /* @__PURE__ */ new Map([
580
+ ]), Xa = /* @__PURE__ */ new Map([
581
581
  [
582
582
  "bold",
583
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,100h-8.2L205.08,39.88A20,20,0,0,0,186.8,28H69.2A20,20,0,0,0,50.92,39.88L24.2,100H16a12,12,0,0,0,0,24h4v76a20,20,0,0,0,20,20H68a20,20,0,0,0,20-20V180h80v20a20,20,0,0,0,20,20h28a20,20,0,0,0,20-20V124h4a12,12,0,0,0,0-24ZM71.8,52H184.2l21.33,48H50.47ZM64,196H44V180H64Zm128,0V180h20v16Zm20-40H44V124H212Z" }))
583
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,100h-8.2L205.08,39.88A20,20,0,0,0,186.8,28H69.2A20,20,0,0,0,50.92,39.88L24.2,100H16a12,12,0,0,0,0,24h4v76a20,20,0,0,0,20,20H68a20,20,0,0,0,20-20V180h80v20a20,20,0,0,0,20,20h28a20,20,0,0,0,20-20V124h4a12,12,0,0,0,0-24ZM71.8,52H184.2l21.33,48H50.47ZM64,196H44V180H64Zm128,0V180h20v16Zm20-40H44V124H212Z" }))
584
584
  ],
585
585
  [
586
586
  "duotone",
587
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
587
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
588
588
  "path",
589
589
  {
590
590
  d: "M184,176h40v24a8,8,0,0,1-8,8H192a8,8,0,0,1-8-8ZM32,200a8,8,0,0,0,8,8H64a8,8,0,0,0,8-8V176H32ZM194.11,44.75A8,8,0,0,0,186.8,40H69.2a8,8,0,0,0-7.31,4.75L32,112H224Z",
591
591
  opacity: "0.2"
592
592
  }
593
- ), /* @__PURE__ */ a.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
593
+ ), /* @__PURE__ */ o.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
594
594
  ],
595
595
  [
596
596
  "fill",
597
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16v-8h96v8a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM80,152H56a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm120,0H176a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM44.31,104,69.2,48H186.8l24.89,56Z" }))
597
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16v-8h96v8a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM80,152H56a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm120,0H176a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM44.31,104,69.2,48H186.8l24.89,56Z" }))
598
598
  ],
599
599
  [
600
600
  "light",
601
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,106H227.9L199.59,42.31A14,14,0,0,0,186.8,34H69.2a14,14,0,0,0-12.79,8.31L28.1,106H16a6,6,0,0,0,0,12H26v82a14,14,0,0,0,14,14H64a14,14,0,0,0,14-14V182H178v18a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V118h10a6,6,0,0,0,0-12ZM67.37,47.19A2,2,0,0,1,69.2,46H186.8a2,2,0,0,1,1.83,1.19L214.77,106H41.23ZM66,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V182H66Zm150,2H192a2,2,0,0,1-2-2V182h28v18A2,2,0,0,1,216,202Zm2-32H38V118H218ZM58,144a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12H64A6,6,0,0,1,58,144Zm112,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,144Z" }))
601
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,106H227.9L199.59,42.31A14,14,0,0,0,186.8,34H69.2a14,14,0,0,0-12.79,8.31L28.1,106H16a6,6,0,0,0,0,12H26v82a14,14,0,0,0,14,14H64a14,14,0,0,0,14-14V182H178v18a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V118h10a6,6,0,0,0,0-12ZM67.37,47.19A2,2,0,0,1,69.2,46H186.8a2,2,0,0,1,1.83,1.19L214.77,106H41.23ZM66,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V182H66Zm150,2H192a2,2,0,0,1-2-2V182h28v18A2,2,0,0,1,216,202Zm2-32H38V118H218ZM58,144a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12H64A6,6,0,0,1,58,144Zm112,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,144Z" }))
602
602
  ],
603
603
  [
604
604
  "regular",
605
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
605
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
606
606
  ],
607
607
  [
608
608
  "thin",
609
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,108H226.6L197.77,43.13a12,12,0,0,0-11-7.13H69.2a12,12,0,0,0-11,7.13L29.4,108H16a4,4,0,0,0,0,8H28v84a12,12,0,0,0,12,12H64a12,12,0,0,0,12-12V180H180v20a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V116h12a4,4,0,0,0,0-8ZM65.54,46.38A4,4,0,0,1,69.2,44H186.8a4,4,0,0,1,3.66,2.38L217.84,108H38.16ZM68,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H68Zm148,4H192a4,4,0,0,1-4-4V180h32v20A4,4,0,0,1,216,204Zm4-32H36V116H220ZM60,144a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8H64A4,4,0,0,1,60,144Zm112,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,144Z" }))
609
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,108H226.6L197.77,43.13a12,12,0,0,0-11-7.13H69.2a12,12,0,0,0-11,7.13L29.4,108H16a4,4,0,0,0,0,8H28v84a12,12,0,0,0,12,12H64a12,12,0,0,0,12-12V180H180v20a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V116h12a4,4,0,0,0,0-8ZM65.54,46.38A4,4,0,0,1,69.2,44H186.8a4,4,0,0,1,3.66,2.38L217.84,108H38.16ZM68,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H68Zm148,4H192a4,4,0,0,1-4-4V180h32v20A4,4,0,0,1,216,204Zm4-32H36V116H220ZM60,144a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8H64A4,4,0,0,1,60,144Zm112,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,144Z" }))
610
610
  ]
611
- ]), Ya = /* @__PURE__ */ new Map([
611
+ ]), Ja = /* @__PURE__ */ new Map([
612
612
  [
613
613
  "bold",
614
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z" }))
614
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z" }))
615
615
  ],
616
616
  [
617
617
  "duotone",
618
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
618
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ o.createElement("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
619
619
  ],
620
620
  [
621
621
  "fill",
622
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z" }))
622
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z" }))
623
623
  ],
624
624
  [
625
625
  "light",
626
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z" }))
626
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z" }))
627
627
  ],
628
628
  [
629
629
  "regular",
630
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
630
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
631
631
  ],
632
632
  [
633
633
  "thin",
634
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z" }))
634
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z" }))
635
635
  ]
636
- ]), qa = /* @__PURE__ */ new Map([
636
+ ]), Qa = /* @__PURE__ */ new Map([
637
637
  [
638
638
  "bold",
639
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z" }))
639
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z" }))
640
640
  ],
641
641
  [
642
642
  "duotone",
643
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
643
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
644
644
  "path",
645
645
  {
646
646
  d: "M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",
647
647
  opacity: "0.2"
648
648
  }
649
- ), /* @__PURE__ */ a.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
649
+ ), /* @__PURE__ */ o.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
650
650
  ],
651
651
  [
652
652
  "fill",
653
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
653
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
654
654
  ],
655
655
  [
656
656
  "light",
657
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z" }))
657
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z" }))
658
658
  ],
659
659
  [
660
660
  "regular",
661
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
661
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
662
662
  ],
663
663
  [
664
664
  "thin",
665
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z" }))
665
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z" }))
666
666
  ]
667
- ]), Xa = /* @__PURE__ */ new Map([
667
+ ]), eo = /* @__PURE__ */ new Map([
668
668
  [
669
669
  "bold",
670
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z" }))
670
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z" }))
671
671
  ],
672
672
  [
673
673
  "duotone",
674
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
674
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ o.createElement("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
675
675
  ],
676
676
  [
677
677
  "fill",
678
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
678
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
679
679
  ],
680
680
  [
681
681
  "light",
682
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z" }))
682
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z" }))
683
683
  ],
684
684
  [
685
685
  "regular",
686
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
686
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
687
687
  ],
688
688
  [
689
689
  "thin",
690
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z" }))
690
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z" }))
691
691
  ]
692
- ]), Ka = xa({
692
+ ]), to = ka({
693
693
  color: "currentColor",
694
694
  size: "1em",
695
695
  weight: "regular",
696
696
  mirrored: !1
697
- }), ie = a.forwardRef(
698
- (o, t) => {
697
+ }), de = o.forwardRef(
698
+ (a, t) => {
699
699
  const {
700
- alt: c,
700
+ alt: d,
701
701
  color: l,
702
- size: u,
703
- weight: h,
704
- mirrored: p,
705
- children: m,
702
+ size: g,
703
+ weight: u,
704
+ mirrored: c,
705
+ children: p,
706
706
  weights: v,
707
- ...r
708
- } = o, {
707
+ ...i
708
+ } = a, {
709
709
  color: f = "currentColor",
710
710
  size: x,
711
711
  weight: I = "regular",
712
- mirrored: k = !1,
713
- ...y
714
- } = a.useContext(Ka);
715
- return /* @__PURE__ */ a.createElement(
712
+ mirrored: A = !1,
713
+ ...E
714
+ } = o.useContext(to);
715
+ return /* @__PURE__ */ o.createElement(
716
716
  "svg",
717
717
  {
718
718
  ref: t,
719
719
  xmlns: "http://www.w3.org/2000/svg",
720
- width: u ?? x,
721
- height: u ?? x,
720
+ width: g ?? x,
721
+ height: g ?? x,
722
722
  fill: l ?? f,
723
723
  viewBox: "0 0 256 256",
724
- transform: p || k ? "scale(-1, 1)" : void 0,
725
- ...y,
726
- ...r
724
+ transform: c || A ? "scale(-1, 1)" : void 0,
725
+ ...E,
726
+ ...i
727
727
  },
728
- !!c && /* @__PURE__ */ a.createElement("title", null, c),
729
- m,
730
- v.get(h ?? I)
728
+ !!d && /* @__PURE__ */ o.createElement("title", null, d),
729
+ p,
730
+ v.get(u ?? I)
731
731
  );
732
732
  }
733
733
  );
734
- ie.displayName = "IconBase";
735
- const ea = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(ie, { ref: t, ...o, weights: Wa }));
736
- ea.displayName = "ArrowLeftIcon";
737
- const ta = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(ie, { ref: t, ...o, weights: $a }));
738
- ta.displayName = "ArrowsClockwiseIcon";
739
- const aa = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(ie, { ref: t, ...o, weights: Ga }));
740
- aa.displayName = "CarIcon";
741
- const oa = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(ie, { ref: t, ...o, weights: Ya }));
742
- oa.displayName = "CircleNotchIcon";
743
- const na = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(ie, { ref: t, ...o, weights: qa }));
744
- na.displayName = "XIcon";
745
- const ra = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(ie, { ref: t, ...o, weights: Xa }));
746
- ra.displayName = "XCircleIcon";
747
- function ia(o) {
748
- return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
734
+ de.displayName = "IconBase";
735
+ const oa = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: qa }));
736
+ oa.displayName = "ArrowLeftIcon";
737
+ const na = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: Ka }));
738
+ na.displayName = "ArrowsClockwiseIcon";
739
+ const ra = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: Xa }));
740
+ ra.displayName = "CarIcon";
741
+ const ia = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: Ja }));
742
+ ia.displayName = "CircleNotchIcon";
743
+ const la = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: Qa }));
744
+ la.displayName = "XIcon";
745
+ const sa = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: eo }));
746
+ sa.displayName = "XCircleIcon";
747
+ function ca(a) {
748
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
749
749
  }
750
- var la = { exports: {} };
750
+ var da = { exports: {} };
751
751
  /*!
752
752
  * JavaScript Cookie v2.2.1
753
753
  * https://github.com/js-cookie/js-cookie
@@ -755,154 +755,154 @@ var la = { exports: {} };
755
755
  * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
756
756
  * Released under the MIT license
757
757
  */
758
- (function(o, t) {
759
- (function(c) {
758
+ (function(a, t) {
759
+ (function(d) {
760
760
  var l;
761
- if (o.exports = c(), l = !0, !l) {
762
- var u = window.Cookies, h = window.Cookies = c();
763
- h.noConflict = function() {
764
- return window.Cookies = u, h;
761
+ if (a.exports = d(), l = !0, !l) {
762
+ var g = window.Cookies, u = window.Cookies = d();
763
+ u.noConflict = function() {
764
+ return window.Cookies = g, u;
765
765
  };
766
766
  }
767
767
  })(function() {
768
- function c() {
769
- for (var h = 0, p = {}; h < arguments.length; h++) {
770
- var m = arguments[h];
771
- for (var v in m)
772
- p[v] = m[v];
768
+ function d() {
769
+ for (var u = 0, c = {}; u < arguments.length; u++) {
770
+ var p = arguments[u];
771
+ for (var v in p)
772
+ c[v] = p[v];
773
773
  }
774
- return p;
774
+ return c;
775
775
  }
776
- function l(h) {
777
- return h.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
776
+ function l(u) {
777
+ return u.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
778
778
  }
779
- function u(h) {
780
- function p() {
779
+ function g(u) {
780
+ function c() {
781
781
  }
782
- function m(r, f, x) {
782
+ function p(i, f, x) {
783
783
  if (!(typeof document > "u")) {
784
- x = c({
784
+ x = d({
785
785
  path: "/"
786
- }, p.defaults, x), typeof x.expires == "number" && (x.expires = new Date(/* @__PURE__ */ new Date() * 1 + x.expires * 864e5)), x.expires = x.expires ? x.expires.toUTCString() : "";
786
+ }, c.defaults, x), typeof x.expires == "number" && (x.expires = new Date(/* @__PURE__ */ new Date() * 1 + x.expires * 864e5)), x.expires = x.expires ? x.expires.toUTCString() : "";
787
787
  try {
788
788
  var I = JSON.stringify(f);
789
789
  /^[\{\[]/.test(I) && (f = I);
790
790
  } catch {
791
791
  }
792
- f = h.write ? h.write(f, r) : encodeURIComponent(String(f)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), r = encodeURIComponent(String(r)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
793
- var k = "";
794
- for (var y in x)
795
- x[y] && (k += "; " + y, x[y] !== !0 && (k += "=" + x[y].split(";")[0]));
796
- return document.cookie = r + "=" + f + k;
792
+ f = u.write ? u.write(f, i) : encodeURIComponent(String(f)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), i = encodeURIComponent(String(i)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
793
+ var A = "";
794
+ for (var E in x)
795
+ x[E] && (A += "; " + E, x[E] !== !0 && (A += "=" + x[E].split(";")[0]));
796
+ return document.cookie = i + "=" + f + A;
797
797
  }
798
798
  }
799
- function v(r, f) {
799
+ function v(i, f) {
800
800
  if (!(typeof document > "u")) {
801
- for (var x = {}, I = document.cookie ? document.cookie.split("; ") : [], k = 0; k < I.length; k++) {
802
- var y = I[k].split("="), H = y.slice(1).join("=");
801
+ for (var x = {}, I = document.cookie ? document.cookie.split("; ") : [], A = 0; A < I.length; A++) {
802
+ var E = I[A].split("="), H = E.slice(1).join("=");
803
803
  !f && H.charAt(0) === '"' && (H = H.slice(1, -1));
804
804
  try {
805
- var Z = l(y[0]);
806
- if (H = (h.read || h)(H, Z) || l(H), f)
805
+ var B = l(E[0]);
806
+ if (H = (u.read || u)(H, B) || l(H), f)
807
807
  try {
808
808
  H = JSON.parse(H);
809
809
  } catch {
810
810
  }
811
- if (x[Z] = H, r === Z)
811
+ if (x[B] = H, i === B)
812
812
  break;
813
813
  } catch {
814
814
  }
815
815
  }
816
- return r ? x[r] : x;
816
+ return i ? x[i] : x;
817
817
  }
818
818
  }
819
- return p.set = m, p.get = function(r) {
819
+ return c.set = p, c.get = function(i) {
820
820
  return v(
821
- r,
821
+ i,
822
822
  !1
823
823
  /* read as raw */
824
824
  );
825
- }, p.getJSON = function(r) {
825
+ }, c.getJSON = function(i) {
826
826
  return v(
827
- r,
827
+ i,
828
828
  !0
829
829
  /* read as json */
830
830
  );
831
- }, p.remove = function(r, f) {
832
- m(r, "", c(f, {
831
+ }, c.remove = function(i, f) {
832
+ p(i, "", d(f, {
833
833
  expires: -1
834
834
  }));
835
- }, p.defaults = {}, p.withConverter = u, p;
835
+ }, c.defaults = {}, c.withConverter = g, c;
836
836
  }
837
- return u(function() {
837
+ return g(function() {
838
838
  });
839
839
  });
840
- })(la);
841
- var Ja = la.exports;
842
- const ct = /* @__PURE__ */ ia(Ja);
843
- var sa = { exports: {} }, Qa = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", eo = Qa, to = eo;
844
- function ca() {
840
+ })(da);
841
+ var ao = da.exports;
842
+ const pt = /* @__PURE__ */ ca(ao);
843
+ var ma = { exports: {} }, oo = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", no = oo, ro = no;
844
+ function pa() {
845
845
  }
846
- function da() {
846
+ function ha() {
847
847
  }
848
- da.resetWarningCache = ca;
849
- var ao = function() {
850
- function o(l, u, h, p, m, v) {
851
- if (v !== to) {
852
- var r = new Error(
848
+ ha.resetWarningCache = pa;
849
+ var io = function() {
850
+ function a(l, g, u, c, p, v) {
851
+ if (v !== ro) {
852
+ var i = new Error(
853
853
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
854
854
  );
855
- throw r.name = "Invariant Violation", r;
855
+ throw i.name = "Invariant Violation", i;
856
856
  }
857
857
  }
858
- o.isRequired = o;
858
+ a.isRequired = a;
859
859
  function t() {
860
- return o;
860
+ return a;
861
861
  }
862
- var c = {
863
- array: o,
864
- bigint: o,
865
- bool: o,
866
- func: o,
867
- number: o,
868
- object: o,
869
- string: o,
870
- symbol: o,
871
- any: o,
862
+ var d = {
863
+ array: a,
864
+ bigint: a,
865
+ bool: a,
866
+ func: a,
867
+ number: a,
868
+ object: a,
869
+ string: a,
870
+ symbol: a,
871
+ any: a,
872
872
  arrayOf: t,
873
- element: o,
874
- elementType: o,
873
+ element: a,
874
+ elementType: a,
875
875
  instanceOf: t,
876
- node: o,
876
+ node: a,
877
877
  objectOf: t,
878
878
  oneOf: t,
879
879
  oneOfType: t,
880
880
  shape: t,
881
881
  exact: t,
882
- checkPropTypes: da,
883
- resetWarningCache: ca
882
+ checkPropTypes: ha,
883
+ resetWarningCache: pa
884
884
  };
885
- return c.PropTypes = c, c;
885
+ return d.PropTypes = d, d;
886
886
  };
887
- sa.exports = ao();
888
- var oo = sa.exports;
889
- const O = /* @__PURE__ */ ia(oo);
890
- function ma({ error: o }) {
887
+ ma.exports = io();
888
+ var lo = ma.exports;
889
+ const T = /* @__PURE__ */ ca(lo);
890
+ function ua({ error: a }) {
891
891
  return /* @__PURE__ */ React.createElement("div", { className: "rounded-md bg-red-50 p-4" }, /* @__PURE__ */ React.createElement("div", { className: "flex justify-center items-center" }, /* @__PURE__ */ React.createElement("div", { className: "flex-shrink-0" }, /* @__PURE__ */ React.createElement(
892
- ra,
892
+ sa,
893
893
  {
894
894
  size: 20,
895
895
  weight: "bold",
896
896
  className: "text-red-400",
897
897
  "aria-hidden": "true"
898
898
  }
899
- )), /* @__PURE__ */ React.createElement("div", { className: "ml-3" }, /* @__PURE__ */ React.createElement("h3", { className: "text-sm font-medium text-red-800" }, o))));
899
+ )), /* @__PURE__ */ React.createElement("div", { className: "ml-3" }, /* @__PURE__ */ React.createElement("h3", { className: "text-sm font-medium text-red-800" }, a))));
900
900
  }
901
- ma.propTypes = {
902
- error: O.string.isRequired
901
+ ua.propTypes = {
902
+ error: T.string.isRequired
903
903
  };
904
- function no({ className: o, alt: t = "Partbot Logo" }) {
905
- return /* @__PURE__ */ React.createElement("span", { className: o, role: "img", "aria-label": t }, /* @__PURE__ */ React.createElement(
904
+ function so({ className: a, alt: t = "Partbot Logo" }) {
905
+ return /* @__PURE__ */ React.createElement("span", { className: a, role: "img", "aria-label": t }, /* @__PURE__ */ React.createElement(
906
906
  "svg",
907
907
  {
908
908
  xmlns: "http://www.w3.org/2000/svg",
@@ -981,111 +981,186 @@ function no({ className: o, alt: t = "Partbot Logo" }) {
981
981
  ))
982
982
  ));
983
983
  }
984
- const ro = "3.1.12", ht = {
985
- version: ro
986
- }, jt = ["ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"], Bt = "https://api.partbot.io/v1/vehicles/plate-search", Wt = "https://api.partbot.io/v1/vehicles/plate-search-retry";
987
- function ut(o) {
988
- const [t, c] = q(!1), [l, u] = q(!1), [h, p] = q(""), [m, v] = q(""), [r, f] = q(null), [x, I] = q(!1), k = Oe(null), [y, H] = q(Bt), [Z, V] = q(null), ge = o.apiKey, ee = o.callbackUrl, S = o.productsUrl, te = o.useGeolocation === "true", le = o.themeColor || "#4f46e5", Ge = o.buttonTheme || "light", we = o.responsive !== void 0 ? o.responsive : !0, Ye = o.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", Ie = o.placeholder || "PL8SRCH", M = o.supportMessage, C = (o.displayMode === "inline" ? "inline" : "modal") === "inline", ae = o.isOpen !== void 0, be = o.isOpen, De = o.onOpenChange, qe = o.hideDefaultButton || !1, ve = o.onModalClose, Xe = o.autoCloseOnSelect || !1, Pe = o.actionButtonLabel || "Show Products", E = C ? !0 : ae ? be : t;
989
- B(() => {
984
+ const co = "3.2.0", gt = {
985
+ version: co
986
+ }, Gt = ["ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"], Yt = "https://api.partbot.io/v1/vehicles/plate-search", qt = "https://api.partbot.io/v1/vehicles/plate-search-retry", mo = 60 * 1e3, fa = "partbot_plate_search_session_limits_v1", po = 10, ho = 2, uo = () => ({
987
+ minuteLookups: {},
988
+ demoDay: "",
989
+ demoLookups: {}
990
+ });
991
+ let Ke = uo();
992
+ const Xe = (a) => a !== null && typeof a == "object" && !Array.isArray(a), fo = () => {
993
+ if (typeof window > "u")
994
+ return { ...Ke };
995
+ try {
996
+ const a = window.sessionStorage.getItem(fa);
997
+ if (!a)
998
+ return { ...Ke };
999
+ const t = JSON.parse(a);
1000
+ return {
1001
+ minuteLookups: Xe(t == null ? void 0 : t.minuteLookups) ? { ...t.minuteLookups } : {},
1002
+ demoDay: t && typeof t.demoDay == "string" ? t.demoDay : "",
1003
+ demoLookups: Xe(t == null ? void 0 : t.demoLookups) ? { ...t.demoLookups } : {}
1004
+ };
1005
+ } catch {
1006
+ return { ...Ke };
1007
+ }
1008
+ }, ht = (a) => {
1009
+ if (Ke = a, !(typeof window > "u"))
1010
+ try {
1011
+ window.sessionStorage.setItem(
1012
+ fa,
1013
+ JSON.stringify(a)
1014
+ );
1015
+ } catch {
1016
+ }
1017
+ }, go = (a, t) => {
1018
+ const d = a.toUpperCase().trim(), l = t.toUpperCase().trim();
1019
+ return !d || !l ? "" : `${d}|${l}`;
1020
+ }, wo = ({ plate: a, vehicleState: t, demoMode: d }) => {
1021
+ const l = go(a, t);
1022
+ if (!l)
1023
+ return { allowed: !0 };
1024
+ const g = Date.now(), u = g - mo, c = fo();
1025
+ Xe(c.minuteLookups) || (c.minuteLookups = {}), Xe(c.demoLookups) || (c.demoLookups = {}), Object.entries(c.minuteLookups).forEach(([i, f]) => {
1026
+ (typeof f != "number" || f < u) && delete c.minuteLookups[i];
1027
+ });
1028
+ const p = Object.prototype.hasOwnProperty.call(
1029
+ c.minuteLookups,
1030
+ l
1031
+ ), v = Object.keys(c.minuteLookups).length;
1032
+ if (!p && v >= po)
1033
+ return ht(c), {
1034
+ allowed: !1,
1035
+ message: "Too many unique plate searches. Please wait a minute before trying new plates."
1036
+ };
1037
+ if (d) {
1038
+ const i = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
1039
+ c.demoDay !== i && (c.demoDay = i, c.demoLookups = {});
1040
+ const f = Object.prototype.hasOwnProperty.call(
1041
+ c.demoLookups,
1042
+ l
1043
+ ), x = Object.keys(c.demoLookups).length;
1044
+ if (!f && x >= ho)
1045
+ return ht(c), {
1046
+ allowed: !1,
1047
+ message: "Demo mode allows up to 2 unique plate searches per day in this browser session."
1048
+ };
1049
+ f || (c.demoLookups[l] = g);
1050
+ }
1051
+ return p || (c.minuteLookups[l] = g), ht(c), { allowed: !0 };
1052
+ };
1053
+ function bt(a) {
1054
+ const [t, d] = J(!1), [l, g] = J(!1), [u, c] = J(""), [p, v] = J(""), [i, f] = J(null), [x, I] = J(!1), A = Ie(null), [E, H] = J(Yt), [B, Y] = J(null), ne = a.apiKey, K = a.callbackUrl, S = a.productsUrl, re = a.useGeolocation === "true", me = a.themeColor || "#4f46e5", Je = a.buttonTheme || "light", xe = a.responsive !== void 0 ? a.responsive : !0, Qe = a.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", He = a.placeholder || "PL8SRCH", N = a.supportMessage, C = (a.displayMode === "inline" ? "inline" : "modal") === "inline", ye = a.demoMode === !0 || a.demoMode === "true", pe = a.isOpen !== void 0, Ee = a.isOpen, Pe = a.onOpenChange, Ue = a.hideDefaultButton || !1, ze = a.onModalClose, Fe = a.autoCloseOnSelect || !1, L = a.actionButtonLabel || "Show Products", U = C ? !0 : pe ? Ee : t;
1055
+ $(() => {
990
1056
  console.log(
991
1057
  "[PlateSearch] Controlled:",
992
- ae,
1058
+ pe,
993
1059
  "isOpenProp:",
994
- be,
1060
+ Ee,
995
1061
  "actualOpen:",
996
- E,
1062
+ U,
997
1063
  "internal open state:",
998
1064
  t
999
1065
  );
1000
- }, [ae, be, E, t]);
1001
- const xe = (i) => {
1002
- ae || c(i), De && De(i);
1003
- }, R = () => {
1066
+ }, [pe, Ee, U, t]);
1067
+ const M = (s) => {
1068
+ pe || d(s), Pe && Pe(s);
1069
+ }, ie = () => {
1004
1070
  if (C)
1005
1071
  return;
1006
- xe(!1);
1007
- const i = new CustomEvent("plate-search-modal-close", {
1072
+ M(!1);
1073
+ const s = new CustomEvent("plate-search-modal-close", {
1008
1074
  detail: { timestamp: Date.now() }
1009
1075
  });
1010
- document.dispatchEvent(i), ve && ve();
1076
+ document.dispatchEvent(s), ze && ze();
1011
1077
  };
1012
- B(() => {
1078
+ $(() => {
1013
1079
  console.info(
1014
- `Vehicle Registration Search (v${ht.version}) powered by Partbot https://use.partbot.io`
1080
+ `Vehicle Registration Search (v${gt.version}) powered by Partbot https://use.partbot.io`
1015
1081
  );
1016
- }, []), B(() => {
1017
- const i = localStorage.getItem(
1082
+ }, []), $(() => {
1083
+ const s = localStorage.getItem(
1018
1084
  "partbot_selected_vehicle"
1019
1085
  );
1020
- if (i) {
1021
- const g = JSON.parse(i);
1022
- g.description && (g.vehicle_ids.length > 0 || Object.values(g.vehicle).every(
1023
- (b) => b !== null && b !== "" && (typeof b != "object" || Object.keys(b).length > 0)
1024
- )) && V(g);
1086
+ if (s) {
1087
+ const y = JSON.parse(s);
1088
+ y.description && (y.vehicle_ids.length > 0 || Object.values(y.vehicle).every(
1089
+ (w) => w !== null && w !== "" && (typeof w != "object" || Object.keys(w).length > 0)
1090
+ )) && Y(y);
1025
1091
  }
1026
- }, []), B(() => {
1027
- document.documentElement.style.setProperty("--partbot-theme", le);
1028
- }, [le]), B(() => {
1029
- E && te && "geolocation" in navigator && navigator.geolocation.getCurrentPosition(async function(i) {
1030
- const { latitude: g, longitude: b } = i.coords;
1092
+ }, []), $(() => {
1093
+ document.documentElement.style.setProperty("--partbot-theme", me);
1094
+ }, [me]), $(() => {
1095
+ U && re && "geolocation" in navigator && navigator.geolocation.getCurrentPosition(async function(s) {
1096
+ const { latitude: y, longitude: w } = s.coords;
1031
1097
  try {
1032
- const ne = await (await fetch(
1033
- `https://maps.googleapis.com/maps/api/geocode/json?latlng=${g},${b}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
1098
+ const P = await (await fetch(
1099
+ `https://maps.googleapis.com/maps/api/geocode/json?latlng=${y},${w}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
1034
1100
  )).json();
1035
- if (ne.results && ne.results[0]) {
1036
- const ce = ne.results[0].address_components.find(
1037
- (G) => G.types.includes("administrative_area_level_1")
1101
+ if (P.results && P.results[0]) {
1102
+ const Q = P.results[0].address_components.find(
1103
+ (le) => le.types.includes("administrative_area_level_1")
1038
1104
  );
1039
- if (ce) {
1040
- const G = ce.short_name;
1041
- v(G);
1105
+ if (Q) {
1106
+ const le = Q.short_name;
1107
+ v(le);
1042
1108
  }
1043
1109
  }
1044
- } catch (_) {
1045
- console.error("Geocoding error:", _);
1110
+ } catch (D) {
1111
+ console.error("Geocoding error:", D);
1046
1112
  }
1047
1113
  });
1048
- }, [te, E]), B(() => {
1049
- let i = localStorage.getItem("partbot_plate_details");
1050
- i && (i = JSON.parse(i), i.plate ? p(i.plate.number) : localStorage.removeItem("partbot_plate_details"));
1051
- }, []), B(() => {
1052
- const i = (g) => {
1053
- var b;
1054
- (b = g.detail) != null && b.userSelected && (localStorage.removeItem("partbot_plate_details"), p(""), f(null), V(null));
1114
+ }, [re, U]), $(() => {
1115
+ let s = localStorage.getItem("partbot_plate_details");
1116
+ s && (s = JSON.parse(s), s.plate ? c(s.plate.number) : localStorage.removeItem("partbot_plate_details"));
1117
+ }, []), $(() => {
1118
+ const s = (y) => {
1119
+ var w;
1120
+ (w = y.detail) != null && w.userSelected && (localStorage.removeItem("partbot_plate_details"), c(""), f(null), Y(null));
1055
1121
  };
1056
- return window.addEventListener("vehicle-search-change", i), () => {
1122
+ return window.addEventListener("vehicle-search-change", s), () => {
1057
1123
  window.removeEventListener(
1058
1124
  "vehicle-search-change",
1059
- i
1125
+ s
1060
1126
  );
1061
1127
  };
1062
- }, []), B(() => {
1063
- const i = () => {
1064
- p(""), f(null), V(null);
1128
+ }, []), $(() => {
1129
+ const s = () => {
1130
+ c(""), f(null), Y(null);
1065
1131
  };
1066
- return document.addEventListener("partbot-clear-vehicle", i), () => {
1067
- document.removeEventListener("partbot-clear-vehicle", i);
1132
+ return document.addEventListener("partbot-clear-vehicle", s), () => {
1133
+ document.removeEventListener("partbot-clear-vehicle", s);
1068
1134
  };
1069
- }, []), B(() => {
1070
- E && !l && u(!0), E && k.current && k.current.focus();
1071
- }, [E, l]), B(() => {
1072
- if (!C && E) {
1073
- const i = document.documentElement.style.overflow, g = document.documentElement.style.paddingRight, b = window.innerWidth - document.documentElement.clientWidth;
1074
- return b > 0 && (document.documentElement.style.paddingRight = `${b}px`), document.documentElement.style.overflow = "hidden", () => {
1075
- document.documentElement.style.overflow = i, document.documentElement.style.paddingRight = g;
1135
+ }, []), $(() => {
1136
+ U && !l && g(!0), U && A.current && A.current.focus();
1137
+ }, [U, l]), $(() => {
1138
+ if (!C && U) {
1139
+ const s = document.documentElement.style.overflow, y = document.documentElement.style.paddingRight, w = window.innerWidth - document.documentElement.clientWidth;
1140
+ return w > 0 && (document.documentElement.style.paddingRight = `${w}px`), document.documentElement.style.overflow = "hidden", () => {
1141
+ document.documentElement.style.overflow = s, document.documentElement.style.paddingRight = y;
1076
1142
  };
1077
1143
  }
1078
- }, [E, C]);
1079
- const ye = (i) => {
1080
- if (i && i.preventDefault(), !m || !h)
1144
+ }, [U, C]);
1145
+ const _ = (s) => {
1146
+ if (s && s.preventDefault(), !p || !u)
1147
+ return;
1148
+ const y = wo({
1149
+ plate: u,
1150
+ vehicleState: p,
1151
+ demoMode: ye
1152
+ });
1153
+ if (!y.allowed) {
1154
+ f({ error: y.message });
1081
1155
  return;
1156
+ }
1082
1157
  I(!0);
1083
- const g = {
1084
- plate: h,
1085
- state: m
1158
+ const w = {
1159
+ plate: u,
1160
+ state: p
1086
1161
  };
1087
- async function b() {
1088
- return (await fetch(y, {
1162
+ async function D() {
1163
+ return (await fetch(E, {
1089
1164
  method: "POST",
1090
1165
  mode: "cors",
1091
1166
  // no-cors, *cors, same-origin
@@ -1095,77 +1170,77 @@ function ut(o) {
1095
1170
  // include, *same-origin, omit
1096
1171
  headers: {
1097
1172
  "Content-Type": "application/json",
1098
- Authorization: `Basic ${ge}`
1173
+ Authorization: `Basic ${ne}`
1099
1174
  },
1100
1175
  redirect: "follow",
1101
1176
  // manual, *follow, error
1102
1177
  referrerPolicy: "no-referrer",
1103
1178
  // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
1104
- body: JSON.stringify(g)
1179
+ body: JSON.stringify(w)
1105
1180
  })).json();
1106
1181
  }
1107
- b().then((_) => {
1108
- I(!1), _.plate ? (localStorage.setItem("partbot_plate_details", JSON.stringify(_)), f(_)) : _ && _.indexOf("Invalid API Key") !== -1 ? f({ error: _ }) : f({ error: "Could not find any matching vehicles." });
1109
- }).catch((_) => {
1110
- console.error("Error:", _), f({ error: "Could not find any matching vehicles." });
1182
+ D().then((P) => {
1183
+ I(!1), P.plate ? (localStorage.setItem("partbot_plate_details", JSON.stringify(P)), f(P)) : P && P.indexOf("Invalid API Key") !== -1 ? f({ error: P }) : f({ error: "Could not find any matching vehicles." });
1184
+ }).catch((P) => {
1185
+ console.error("Error:", P), f({ error: "Could not find any matching vehicles." });
1111
1186
  });
1112
1187
  };
1113
- B(() => {
1114
- ye();
1115
- }, [y]);
1116
- const T = (i) => {
1117
- localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), ct.remove("partbot_selected_vehicle"), f(null), H(Wt);
1118
- }, oe = (i) => {
1188
+ $(() => {
1189
+ _();
1190
+ }, [E]);
1191
+ const se = (s) => {
1192
+ localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), pt.remove("partbot_selected_vehicle"), f(null), H(qt);
1193
+ }, _e = (s) => {
1119
1194
  window.open(
1120
1195
  `mailto:report@partbot.io?subject=${encodeURIComponent(
1121
1196
  "Registration Search Issue"
1122
1197
  )}&body=${encodeURIComponent(
1123
- `Incorrect vehicles were shown for ${m} number plate: ${h}, vehicle: ${r.factory_vehicle.make} ${r.factory_vehicle.model} ${r.factory_vehicle.year} ${r.factory_vehicle.body} ${r.factory_vehicle.series}. Please provide details of the correct vehicle below:`
1198
+ `Incorrect vehicles were shown for ${p} number plate: ${u}, vehicle: ${i.factory_vehicle.make} ${i.factory_vehicle.model} ${i.factory_vehicle.year} ${i.factory_vehicle.body} ${i.factory_vehicle.series}. Please provide details of the correct vehicle below:`
1124
1199
  )}`
1125
1200
  );
1126
- }, se = (i) => {
1127
- p(""), f(null), H(Bt), V(null), localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), ct.remove("partbot_selected_vehicle");
1128
- }, Ee = (i) => {
1129
- var g = JSON.stringify({
1130
- description: i.description,
1131
- vehicle_ids: i.vehicle_ids,
1201
+ }, ke = (s) => {
1202
+ c(""), f(null), H(Yt), Y(null), localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), pt.remove("partbot_selected_vehicle");
1203
+ }, he = (s) => {
1204
+ var y = JSON.stringify({
1205
+ description: s.description,
1206
+ vehicle_ids: s.vehicle_ids,
1132
1207
  vehicle: {
1133
- ...i.vehicle,
1134
- year: r.factory_vehicle.year
1208
+ ...s.vehicle,
1209
+ year: i.factory_vehicle.year
1135
1210
  }
1136
1211
  });
1137
- localStorage.setItem("partbot_selected_vehicle", g), ct.set("partbot_selected_vehicle", g, {
1212
+ localStorage.setItem("partbot_selected_vehicle", y), pt.set("partbot_selected_vehicle", y, {
1138
1213
  secure: !0
1139
1214
  });
1140
- const b = {
1141
- vehicle_ids: i.vehicle_ids
1215
+ const w = {
1216
+ vehicle_ids: s.vehicle_ids
1142
1217
  };
1143
1218
  document.dispatchEvent(
1144
- new CustomEvent("plate-search-change", { detail: b })
1219
+ new CustomEvent("plate-search-change", { detail: w })
1145
1220
  ), window.dispatchEvent(
1146
- new CustomEvent("plate-search-change", { detail: b })
1147
- ), V(i), Xe && !C && R(), ee && ee !== window.location.href && (C || R(), window.location.href = ee + window.location.search);
1148
- }, _e = (i) => {
1149
- if (R(), S)
1221
+ new CustomEvent("plate-search-change", { detail: w })
1222
+ ), Y(s), Fe && !C && ie(), K && K !== window.location.href && (C || ie(), window.location.href = K + window.location.search);
1223
+ }, Ze = (s) => {
1224
+ if (ie(), S)
1150
1225
  try {
1151
- const g = new URL(S, window.location.origin);
1152
- if (g.origin !== window.location.origin) {
1226
+ const y = new URL(S, window.location.origin);
1227
+ if (y.origin !== window.location.origin) {
1153
1228
  console.warn(
1154
1229
  "Partbot: Blocked navigation to external productsUrl",
1155
- g.toString()
1230
+ y.toString()
1156
1231
  );
1157
1232
  return;
1158
1233
  }
1159
- window.location.assign(g.href);
1160
- } catch (g) {
1234
+ window.location.assign(y.href);
1235
+ } catch (y) {
1161
1236
  console.error(
1162
1237
  "Partbot: Invalid productsUrl provided",
1163
1238
  S,
1164
- g
1239
+ y
1165
1240
  );
1166
1241
  }
1167
- }, Ae = (i) => {
1168
- const g = [
1242
+ }, Ae = (s) => {
1243
+ const y = [
1169
1244
  "series",
1170
1245
  "variant",
1171
1246
  "body",
@@ -1175,78 +1250,78 @@ function ut(o) {
1175
1250
  "engine_capacity",
1176
1251
  "cylinders"
1177
1252
  ];
1178
- return Object.entries(i).filter(([b, _]) => _ !== null && g.includes(b) && typeof _ != "object").map(([b, _]) => b === "cylinders" ? `${_}cyl` : _).join(" ");
1253
+ return Object.entries(s).filter(([w, D]) => D !== null && y.includes(w) && typeof D != "object").map(([w, D]) => w === "cylinders" ? `${D}cyl` : D).join(" ");
1179
1254
  };
1180
- return /* @__PURE__ */ React.createElement(React.Fragment, null, !qe && !C && /* @__PURE__ */ React.createElement(
1255
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, !Ue && !C && /* @__PURE__ */ r.createElement(
1181
1256
  "button",
1182
1257
  {
1183
- onClick: (i) => xe(!E),
1258
+ onClick: (s) => M(!U),
1184
1259
  type: "button",
1185
- className: `${Ge === "dark" ? "bg-transparent text-stone-100 hover:text-white" : "bg-white text-stone-700 hover:bg-stone-50"} inline-flex items-center ${we ? "px-2 md:px-3" : "px-3"} text-md focus:outline-none focus:ring-bg-theme-color h-[44px] rounded-md border-4 border-double border-stone-400 font-license text-base font-medium shadow-sm transition cursor-pointer leading-none`
1260
+ className: `${Je === "dark" ? "bg-transparent text-stone-100 hover:text-white" : "bg-white text-stone-700 hover:bg-stone-50"} inline-flex items-center ${xe ? "px-2 md:px-3" : "px-3"} text-md focus:outline-none focus:ring-bg-theme-color h-[44px] rounded-md border-4 border-double border-stone-400 font-license text-base font-medium shadow-sm transition cursor-pointer leading-none`
1186
1261
  },
1187
- /* @__PURE__ */ React.createElement(
1188
- aa,
1262
+ /* @__PURE__ */ r.createElement(
1263
+ ra,
1189
1264
  {
1190
1265
  weight: "fill",
1191
- className: we ? "h-5 w-5 md:-ml-1 md:mr-2" : "mr-2 -ml-1 h-5 w-5",
1266
+ className: xe ? "h-5 w-5 md:-ml-1 md:mr-2" : "mr-2 -ml-1 h-5 w-5",
1192
1267
  "aria-hidden": "true"
1193
1268
  }
1194
1269
  ),
1195
- /* @__PURE__ */ React.createElement(
1270
+ /* @__PURE__ */ r.createElement(
1196
1271
  "span",
1197
1272
  {
1198
- className: we ? "hidden md:inline mt-0.5" : "inline mt-0.5"
1273
+ className: xe ? "hidden md:inline mt-0.5" : "inline mt-0.5"
1199
1274
  },
1200
- h || Ie
1275
+ u || He
1201
1276
  )
1202
- ), /* @__PURE__ */ React.createElement(
1277
+ ), /* @__PURE__ */ r.createElement(
1203
1278
  "div",
1204
1279
  {
1205
- className: C ? "inline-container" : `${E ? "modal-container modal-container-open" : "modal-container modal-container-close"}`,
1280
+ className: C ? "inline-container" : `${U ? "modal-container modal-container-open" : "modal-container modal-container-close"}`,
1206
1281
  style: C ? void 0 : {
1207
1282
  zIndex: 2147483647,
1208
- ...!E && !l ? { display: "none" } : {}
1283
+ ...!U && !l ? { display: "none" } : {}
1209
1284
  },
1210
- onClick: (i) => {
1211
- !C && i.target === i.currentTarget && R();
1285
+ onClick: (s) => {
1286
+ !C && s.target === s.currentTarget && ie();
1212
1287
  }
1213
1288
  },
1214
- /* @__PURE__ */ React.createElement(
1289
+ /* @__PURE__ */ r.createElement(
1215
1290
  "div",
1216
1291
  {
1217
1292
  role: C ? "region" : "dialog",
1218
1293
  "aria-modal": C ? void 0 : "true",
1219
1294
  "aria-label": C ? "Number plate search" : "Number plate search dialog",
1220
- className: C ? "inline-panel" : E ? "modal modal-open" : "modal modal-close"
1295
+ className: C ? "inline-panel" : U ? "modal modal-open" : "modal modal-close"
1221
1296
  },
1222
- !C && /* @__PURE__ */ React.createElement("div", { className: "absolute top-0 right-0 pt-4 pr-4" }, /* @__PURE__ */ React.createElement(
1297
+ !C && /* @__PURE__ */ r.createElement("div", { className: "absolute top-0 right-0 pt-4 pr-4" }, /* @__PURE__ */ r.createElement(
1223
1298
  "button",
1224
1299
  {
1225
1300
  type: "button",
1226
1301
  className: "focus:outline-none focus:ring-bg-theme-color rounded-md bg-white text-stone-400 hover:text-stone-500",
1227
- onClick: () => R()
1302
+ onClick: () => ie()
1228
1303
  },
1229
- /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "Close"),
1230
- /* @__PURE__ */ React.createElement(na, { size: 16, weight: "bold", "aria-hidden": "true" })
1304
+ /* @__PURE__ */ r.createElement("span", { className: "sr-only" }, "Close"),
1305
+ /* @__PURE__ */ r.createElement(la, { size: 16, weight: "bold", "aria-hidden": "true" })
1231
1306
  )),
1232
- r && !Z && /* @__PURE__ */ React.createElement("div", { className: "modal-content" }, /* @__PURE__ */ React.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ React.createElement("div", { className: "inline-flex items-center text-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ React.createElement("div", null, "Results for", " ", /* @__PURE__ */ React.createElement("span", { className: "text-theme-color" }, h, " (", m, ")"))), /* @__PURE__ */ React.createElement("div", { className: "mt-6" }, /* @__PURE__ */ React.createElement("div", { className: "modal-scroll-area" }, r.vehicles ? /* @__PURE__ */ React.createElement("div", { className: "grid gap-3 text-left" }, r.vehicles.map(function(i, g) {
1233
- return /* @__PURE__ */ React.createElement(
1307
+ i && !B && /* @__PURE__ */ r.createElement("div", { className: "modal-content" }, /* @__PURE__ */ r.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ r.createElement("div", { className: "inline-flex items-center text-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ r.createElement("div", null, "Results for", " ", /* @__PURE__ */ r.createElement("span", { className: "text-theme-color" }, u, " (", p, ")"))), /* @__PURE__ */ r.createElement("div", { className: "mt-6" }, /* @__PURE__ */ r.createElement("div", { className: "modal-scroll-area" }, i.vehicles ? /* @__PURE__ */ r.createElement("div", { className: "grid gap-3 text-left" }, i.vehicles.map(function(s, y) {
1308
+ return /* @__PURE__ */ r.createElement(
1234
1309
  "div",
1235
1310
  {
1236
- key: g,
1311
+ key: y,
1237
1312
  className: "focus:outline-none relative grid cursor-pointer gap-4 rounded-lg border border-stone-300 bg-white px-4 py-4 shadow-sm hover:border-stone-400 sm:flex sm:justify-between"
1238
1313
  },
1239
- /* @__PURE__ */ React.createElement("div", { className: "pr-5 text-xs" }, /* @__PURE__ */ React.createElement("div", { className: "grid gap-2" }, /* @__PURE__ */ React.createElement("div", { className: "text-sm font-bold text-stone-900" }, i.description), /* @__PURE__ */ React.createElement("div", { className: "text-stone-600" }, Ae(i.vehicle)))),
1240
- /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(
1314
+ /* @__PURE__ */ r.createElement("div", { className: "pr-5 text-xs" }, /* @__PURE__ */ r.createElement("div", { className: "grid gap-2" }, /* @__PURE__ */ r.createElement("div", { className: "text-sm font-bold text-stone-900" }, s.description), /* @__PURE__ */ r.createElement("div", { className: "text-stone-600" }, Ae(s.vehicle)))),
1315
+ /* @__PURE__ */ r.createElement("div", null, /* @__PURE__ */ r.createElement(
1241
1316
  "button",
1242
1317
  {
1243
1318
  className: "justify-center rounded-md border border-transparent bg-theme-color px-2 py-1.5 text-xs font-medium text-white shadow-sm",
1244
- onClick: () => Ee(i)
1319
+ onClick: () => he(s)
1245
1320
  },
1246
1321
  "Select vehicle"
1247
1322
  ))
1248
1323
  );
1249
- }), r.differing_attributes && r.vehicle_breakdown && r.vehicle_breakdown.length > 0 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("details", { className: "[&_summary::-webkit-details-marker]:hidden group rounded-lg border border-stone-300 bg-white" }, /* @__PURE__ */ React.createElement("summary", { className: "flex cursor-pointer items-center justify-between px-4 py-2 text-left text-sm font-medium text-stone-900" }, /* @__PURE__ */ React.createElement("span", null, "More options..."), /* @__PURE__ */ React.createElement(
1324
+ }), i.differing_attributes && i.vehicle_breakdown && i.vehicle_breakdown.length > 0 && /* @__PURE__ */ r.createElement("div", null, /* @__PURE__ */ r.createElement("details", { className: "[&_summary::-webkit-details-marker]:hidden group rounded-lg border border-stone-300 bg-white" }, /* @__PURE__ */ r.createElement("summary", { className: "flex cursor-pointer items-center justify-between px-4 py-2 text-left text-sm font-medium text-stone-900" }, /* @__PURE__ */ r.createElement("span", null, "More options..."), /* @__PURE__ */ r.createElement(
1250
1325
  "svg",
1251
1326
  {
1252
1327
  className: "!h-5 !w-5 text-stone-500 transition duration-300 group-open:rotate-180",
@@ -1254,7 +1329,7 @@ function ut(o) {
1254
1329
  viewBox: "0 0 20 20",
1255
1330
  fill: "currentColor"
1256
1331
  },
1257
- /* @__PURE__ */ React.createElement(
1332
+ /* @__PURE__ */ r.createElement(
1258
1333
  "path",
1259
1334
  {
1260
1335
  fillRule: "evenodd",
@@ -1262,53 +1337,53 @@ function ut(o) {
1262
1337
  clipRule: "evenodd"
1263
1338
  }
1264
1339
  )
1265
- )), /* @__PURE__ */ React.createElement("div", { className: "border-t border-stone-200 px-4 py-3" }, /* @__PURE__ */ React.createElement("div", { className: "grid gap-3" }, r.vehicle_breakdown && r.vehicle_breakdown.map(
1266
- (i, g) => /* @__PURE__ */ React.createElement(
1340
+ )), /* @__PURE__ */ r.createElement("div", { className: "border-t border-stone-200 px-4 py-3" }, /* @__PURE__ */ r.createElement("div", { className: "grid gap-3" }, i.vehicle_breakdown && i.vehicle_breakdown.map(
1341
+ (s, y) => /* @__PURE__ */ r.createElement(
1267
1342
  "div",
1268
1343
  {
1269
- key: g,
1344
+ key: y,
1270
1345
  className: "flex items-center justify-between rounded-md border border-stone-200 p-3 text-sm"
1271
1346
  },
1272
- /* @__PURE__ */ React.createElement("div", null, r.differing_attributes.map(
1273
- (b) => /* @__PURE__ */ React.createElement(
1347
+ /* @__PURE__ */ r.createElement("div", null, i.differing_attributes.map(
1348
+ (w) => /* @__PURE__ */ r.createElement(
1274
1349
  "div",
1275
1350
  {
1276
- key: b,
1351
+ key: w,
1277
1352
  className: "text-xs text-stone-600"
1278
1353
  },
1279
- /* @__PURE__ */ React.createElement("span", { className: "font-medium capitalize" }, b, ":"),
1354
+ /* @__PURE__ */ r.createElement("span", { className: "font-medium capitalize" }, w, ":"),
1280
1355
  " ",
1281
- i.vehicle[b]
1356
+ s.vehicle[w]
1282
1357
  )
1283
1358
  )),
1284
- /* @__PURE__ */ React.createElement(
1359
+ /* @__PURE__ */ r.createElement(
1285
1360
  "button",
1286
1361
  {
1287
- onClick: () => Ee(i),
1362
+ onClick: () => he(s),
1288
1363
  className: "ml-4 rounded-md bg-theme-color px-3 py-1.5 text-xs font-medium text-white hover:bg-opacity-90"
1289
1364
  },
1290
1365
  "Select"
1291
1366
  )
1292
1367
  )
1293
- )))))) : /* @__PURE__ */ React.createElement("div", { className: "my-5" }, /* @__PURE__ */ React.createElement(ma, { error: r.error }))), r.vehicles && r.vehicles.length > 3 && /* @__PURE__ */ React.createElement("div", { className: "pb-4 text-center text-xs text-stone-500" }, "Scroll for more..."), M && /* @__PURE__ */ React.createElement(
1368
+ )))))) : /* @__PURE__ */ r.createElement("div", { className: "my-5" }, /* @__PURE__ */ r.createElement(ua, { error: i.error }))), i.vehicles && i.vehicles.length > 3 && /* @__PURE__ */ r.createElement("div", { className: "pb-4 text-center text-xs text-stone-500" }, "Scroll for more..."), N && /* @__PURE__ */ r.createElement(
1294
1369
  "div",
1295
1370
  {
1296
1371
  className: "pl8srch-text mx-auto my-6 w-full text-sm text-stone-500",
1297
1372
  dangerouslySetInnerHTML: {
1298
- __html: Vt.sanitize(M)
1373
+ __html: $t.sanitize(N)
1299
1374
  }
1300
1375
  }
1301
- ), y !== Wt && /* @__PURE__ */ React.createElement(
1376
+ ), E !== qt && /* @__PURE__ */ r.createElement(
1302
1377
  "button",
1303
1378
  {
1304
1379
  type: "button",
1305
1380
  className: "mb-5 hidden w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-base font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
1306
- onClick: T
1381
+ onClick: se
1307
1382
  },
1308
1383
  "Try Again",
1309
1384
  " ",
1310
- /* @__PURE__ */ React.createElement(
1311
- ta,
1385
+ /* @__PURE__ */ r.createElement(
1386
+ na,
1312
1387
  {
1313
1388
  size: 16,
1314
1389
  weight: "bold",
@@ -1316,21 +1391,21 @@ function ut(o) {
1316
1391
  "aria-hidden": "true"
1317
1392
  }
1318
1393
  )
1319
- ), /* @__PURE__ */ React.createElement("div", { className: "align-center flex justify-between" }, /* @__PURE__ */ React.createElement(
1394
+ ), /* @__PURE__ */ r.createElement("div", { className: "align-center flex justify-between" }, /* @__PURE__ */ r.createElement(
1320
1395
  "button",
1321
1396
  {
1322
- onClick: oe,
1397
+ onClick: _e,
1323
1398
  className: "text-xs text-theme-color"
1324
1399
  },
1325
1400
  "Report incorrect search results"
1326
- ), /* @__PURE__ */ React.createElement(
1401
+ ), /* @__PURE__ */ r.createElement(
1327
1402
  "button",
1328
1403
  {
1329
- onClick: se,
1404
+ onClick: ke,
1330
1405
  className: "text-xs text-theme-color"
1331
1406
  },
1332
- /* @__PURE__ */ React.createElement(
1333
- ea,
1407
+ /* @__PURE__ */ r.createElement(
1408
+ oa,
1334
1409
  {
1335
1410
  size: 12,
1336
1411
  weight: "bold",
@@ -1340,87 +1415,87 @@ function ut(o) {
1340
1415
  " ",
1341
1416
  "Back to search"
1342
1417
  ))))),
1343
- Z && /* @__PURE__ */ React.createElement("div", { className: "modal-content" }, /* @__PURE__ */ React.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ React.createElement("div", { className: "grid items-center" }, /* @__PURE__ */ React.createElement("div", { className: "inline-flex items-center justify-center gap-1 text-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ React.createElement("span", null, "Selected Vehicle"), h && /* @__PURE__ */ React.createElement("span", { className: "text-theme-color" }, "(", h, ")")), /* @__PURE__ */ React.createElement("div", { className: "text-medium mt-5 text-sm text-stone-500" }, r && r.factory_vehicle ? `${r.factory_vehicle.make} ${r.factory_vehicle.model} ${r.factory_vehicle.year}` : Z.description), Z.vehicle && /* @__PURE__ */ React.createElement("div", { className: "mt-2 text-xs text-stone-600" }, Ae(Z.vehicle))), /* @__PURE__ */ React.createElement("div", { className: "mt-6 flex gap-4" }, /* @__PURE__ */ React.createElement(
1418
+ B && /* @__PURE__ */ r.createElement("div", { className: "modal-content" }, /* @__PURE__ */ r.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ r.createElement("div", { className: "grid items-center" }, /* @__PURE__ */ r.createElement("div", { className: "inline-flex items-center justify-center gap-1 text-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ r.createElement("span", null, "Selected Vehicle"), u && /* @__PURE__ */ r.createElement("span", { className: "text-theme-color" }, "(", u, ")")), /* @__PURE__ */ r.createElement("div", { className: "text-medium mt-5 text-sm text-stone-500" }, i && i.factory_vehicle ? `${i.factory_vehicle.make} ${i.factory_vehicle.model} ${i.factory_vehicle.year}` : B.description), B.vehicle && /* @__PURE__ */ r.createElement("div", { className: "mt-2 text-xs text-stone-600" }, Ae(B.vehicle))), /* @__PURE__ */ r.createElement("div", { className: "mt-6 flex gap-4" }, /* @__PURE__ */ r.createElement(
1344
1419
  "button",
1345
1420
  {
1346
1421
  className: "mb-5 flex w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-sm font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
1347
- onClick: se
1422
+ onClick: ke
1348
1423
  },
1349
1424
  "Clear Vehicle"
1350
- ), S && /* @__PURE__ */ React.createElement(
1425
+ ), S && /* @__PURE__ */ r.createElement(
1351
1426
  "button",
1352
1427
  {
1353
1428
  className: "mb-5 flex w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-sm font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
1354
- onClick: _e
1429
+ onClick: Ze
1355
1430
  },
1356
- Pe
1431
+ L
1357
1432
  )))),
1358
- !Z && !r && /* @__PURE__ */ React.createElement("div", { className: "modal-content" }, /* @__PURE__ */ React.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ React.createElement("div", { className: "inline-flex items-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ React.createElement("span", null, "Number Plate Search")), /* @__PURE__ */ React.createElement(
1433
+ !B && !i && /* @__PURE__ */ r.createElement("div", { className: "modal-content" }, /* @__PURE__ */ r.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ r.createElement("div", { className: "inline-flex items-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ r.createElement("span", null, "Number Plate Search")), /* @__PURE__ */ r.createElement(
1359
1434
  "div",
1360
1435
  {
1361
1436
  className: "[&>a]:text-theme-color hover:[&>a]:text-theme-color pl8srch-text text-balance mx-auto mt-3 mb-4 max-w-sm text-sm text-stone-500 whitespace-normal!",
1362
1437
  dangerouslySetInnerHTML: {
1363
- __html: Vt.sanitize(Ye)
1438
+ __html: $t.sanitize(Qe)
1364
1439
  }
1365
1440
  }
1366
- )), /* @__PURE__ */ React.createElement(
1441
+ )), /* @__PURE__ */ r.createElement(
1367
1442
  "form",
1368
1443
  {
1369
- onSubmit: ye,
1444
+ onSubmit: _,
1370
1445
  className: "flex flex-col items-center text-black"
1371
1446
  },
1372
- /* @__PURE__ */ React.createElement(
1447
+ /* @__PURE__ */ r.createElement(
1373
1448
  "input",
1374
1449
  {
1375
1450
  type: "text",
1376
1451
  name: "plate",
1377
- ref: k,
1378
- className: `pl8srch-input h-[130px] w-full rounded-xl border-[6px] px-6 pt-5 pb-2 text-center font-license text-[60px] uppercase md:h-[150px] md:border-8 md:text-[75px] focus:outline-none focus:ring-bg-theme-color focus:border-theme-color transition-all duration-200 ${h ? "border-theme-color" : "border-stone-300"}`,
1379
- placeholder: Ie,
1380
- value: h,
1381
- onChange: (i) => p(i.target.value.toUpperCase())
1452
+ ref: A,
1453
+ className: `pl8srch-input h-[130px] w-full rounded-xl border-[6px] px-6 pt-5 pb-2 text-center font-license text-[60px] uppercase md:h-[150px] md:border-8 md:text-[75px] focus:outline-none focus:ring-bg-theme-color focus:border-theme-color transition-all duration-200 ${u ? "border-theme-color" : "border-stone-300"}`,
1454
+ placeholder: He,
1455
+ value: u,
1456
+ onChange: (s) => c(s.target.value.toUpperCase())
1382
1457
  }
1383
1458
  ),
1384
- /* @__PURE__ */ React.createElement("span", { className: "relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm" }, jt.map((i, g) => {
1385
- let b = "bg-white text-stone-700 hover:bg-stone-50 border-stone-300";
1386
- return i === m && (b = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), g === 0 ? /* @__PURE__ */ React.createElement(
1459
+ /* @__PURE__ */ r.createElement("span", { className: "relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm" }, Gt.map((s, y) => {
1460
+ let w = "bg-white text-stone-700 hover:bg-stone-50 border-stone-300";
1461
+ return s === p && (w = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), y === 0 ? /* @__PURE__ */ r.createElement(
1387
1462
  "button",
1388
1463
  {
1389
- key: i,
1390
- onClick: (_) => v(i),
1464
+ key: s,
1465
+ onClick: (D) => v(s),
1391
1466
  type: "button",
1392
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative inline-flex items-center cursor-pointer rounded-l-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${b}`
1467
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative inline-flex items-center cursor-pointer rounded-l-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${w}`
1393
1468
  },
1394
- i
1395
- ) : jt.length === g + 1 ? /* @__PURE__ */ React.createElement(
1469
+ s
1470
+ ) : Gt.length === y + 1 ? /* @__PURE__ */ r.createElement(
1396
1471
  "button",
1397
1472
  {
1398
- key: i,
1399
- onClick: (_) => v(i),
1473
+ key: s,
1474
+ onClick: (D) => v(s),
1400
1475
  type: "button",
1401
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer rounded-r-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${b}`
1476
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer rounded-r-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${w}`
1402
1477
  },
1403
- i
1404
- ) : /* @__PURE__ */ React.createElement(
1478
+ s
1479
+ ) : /* @__PURE__ */ r.createElement(
1405
1480
  "button",
1406
1481
  {
1407
- key: i,
1408
- onClick: (_) => v(i),
1482
+ key: s,
1483
+ onClick: (D) => v(s),
1409
1484
  type: "button",
1410
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${b}`
1485
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${w}`
1411
1486
  },
1412
- i
1487
+ s
1413
1488
  );
1414
1489
  })),
1415
- /* @__PURE__ */ React.createElement(
1490
+ /* @__PURE__ */ r.createElement(
1416
1491
  "button",
1417
1492
  {
1418
1493
  type: "submit",
1419
1494
  className: "hover:bg-theme-color-800 flex w-full items-center justify-center rounded-md border border-transparent bg-theme-color px-4 py-2 text-base font-medium text-white shadow-sm"
1420
1495
  },
1421
1496
  "Find your vehicle",
1422
- x ? /* @__PURE__ */ React.createElement(
1423
- oa,
1497
+ x ? /* @__PURE__ */ r.createElement(
1498
+ ia,
1424
1499
  {
1425
1500
  weight: "bold",
1426
1501
  className: "ml-3 h-4 w-4 animate-spin",
@@ -1429,7 +1504,7 @@ function ut(o) {
1429
1504
  ) : ""
1430
1505
  )
1431
1506
  )),
1432
- /* @__PURE__ */ React.createElement("div", { className: "mt-8 text-center" }, /* @__PURE__ */ React.createElement(
1507
+ /* @__PURE__ */ r.createElement("div", { className: "mt-8 text-center" }, /* @__PURE__ */ r.createElement(
1433
1508
  "a",
1434
1509
  {
1435
1510
  href: `https://use.partbot.io/?ref=${window.location.hostname}`,
@@ -1437,83 +1512,85 @@ function ut(o) {
1437
1512
  rel: "noreferrer",
1438
1513
  className: "mx-auto inline-flex max-w-sm items-center text-center text-xs font-medium tracking-tight text-stone-500 transition gap-2"
1439
1514
  },
1440
- /* @__PURE__ */ React.createElement("span", null, "Powered by"),
1441
- /* @__PURE__ */ React.createElement(no, { className: "inline h-4" })
1515
+ /* @__PURE__ */ r.createElement("span", null, "Powered by"),
1516
+ /* @__PURE__ */ r.createElement(so, { className: "inline h-4" })
1442
1517
  ))
1443
1518
  )
1444
1519
  ));
1445
1520
  }
1446
- ut.propTypes = {
1447
- apiKey: O.string.isRequired,
1448
- callbackUrl: O.string,
1449
- productsUrl: O.string,
1450
- themeColor: O.string,
1451
- useGeolocation: O.bool,
1452
- buttonTheme: O.oneOf(["light", "dark"]),
1453
- responsive: O.bool,
1454
- placeholder: O.string,
1455
- intro: O.string,
1456
- supportMessage: O.string,
1457
- actionButtonLabel: O.string,
1458
- isOpen: O.bool,
1459
- onOpenChange: O.func,
1460
- hideDefaultButton: O.bool,
1461
- onModalClose: O.func,
1462
- autoCloseOnSelect: O.bool,
1463
- displayMode: O.oneOf(["modal", "inline"])
1521
+ bt.propTypes = {
1522
+ apiKey: T.string.isRequired,
1523
+ callbackUrl: T.string,
1524
+ productsUrl: T.string,
1525
+ themeColor: T.string,
1526
+ useGeolocation: T.bool,
1527
+ buttonTheme: T.oneOf(["light", "dark"]),
1528
+ responsive: T.bool,
1529
+ placeholder: T.string,
1530
+ intro: T.string,
1531
+ supportMessage: T.string,
1532
+ actionButtonLabel: T.string,
1533
+ isOpen: T.bool,
1534
+ onOpenChange: T.func,
1535
+ hideDefaultButton: T.bool,
1536
+ onModalClose: T.func,
1537
+ autoCloseOnSelect: T.bool,
1538
+ displayMode: T.oneOf(["modal", "inline"]),
1539
+ demoMode: T.oneOfType([T.bool, T.string])
1464
1540
  };
1465
- const pt = '@import"https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap";/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}plate-search,plate-search *,plate-search:before,plate-search:after,plate-search::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}:host,:host *,:host:before,:host:after,:host::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}plate-search,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.modal-container{inset:calc(var(--spacing)*0);top:calc(var(--spacing)*0);z-index:9999;background-color:#00000080;justify-content:center;align-items:flex-start;width:100vw;height:100vh;display:flex;position:fixed;overflow-y:auto}@supports (color:color-mix(in lab,red,red)){.modal-container{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.modal-container{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (min-width:48rem){.modal-container{align-items:center}}.modal-container-open{pointer-events:auto;opacity:1;--tw-duration:.2s;--tw-ease:var(--ease-out);transition-duration:.2s;transition-timing-function:var(--ease-out)}.modal-container-close{pointer-events:none;opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}.modal{width:100vw;height:100vh;transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);overscroll-behavior:auto;background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;vertical-align:bottom;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));display:inline-block;overflow:hidden}@media (min-width:40rem){.modal{margin-block:calc(var(--spacing)*8);width:100%;max-width:var(--container-lg);vertical-align:middle}}@media (min-width:48rem){.modal{margin:calc(var(--spacing)*3);height:auto;max-width:var(--container-lg);border-radius:var(--radius-xl);padding-inline:calc(var(--spacing)*12)}}.modal-close{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}@media (min-width:40rem){.modal-close{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}}.modal-open{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:1;--tw-duration:.3s;--tw-ease:var(--ease-out);transition-duration:.3s;transition-timing-function:var(--ease-out)}.modal-scroll-area{margin-top:calc(var(--spacing)*3);margin-bottom:calc(var(--spacing)*3);max-height:380px;overflow:auto}.inline-container{margin-top:calc(var(--spacing)*4);width:100%;position:relative}.inline-panel{width:100%;height:auto;max-width:var(--container-lg);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);border-radius:var(--radius-xl);background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:inline-block;overflow:hidden}@media (min-width:48rem){.inline-panel{padding-inline:calc(var(--spacing)*12)}}.pl8srch-text a{color:var(--partbot-theme);opacity:.8;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;text-decoration-line:underline;transition-duration:.2s}@media (hover:hover){.pl8srch-text a:hover{color:var(--partbot-theme);opacity:1}}}@layer utilities{.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-0{z-index:0}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing)*4)}.my-5{margin-block:calc(var(--spacing)*5)}.my-6{margin-block:calc(var(--spacing)*6)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-5{margin-top:calc(var(--spacing)*5)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-px{margin-left:-1px}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.\\!h-5{height:calc(var(--spacing)*5)!important}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-\\[44px\\]{height:44px}.h-\\[130px\\]{height:130px}.h-full{height:100%}.min-h-screen{min-height:100vh}.\\!w-5{width:calc(var(--spacing)*5)!important}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\\[6px\\]{border-style:var(--tw-border-style);border-width:6px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-double{--tw-border-style:double;border-style:double}.border-stone-200{border-color:var(--color-stone-200)}.border-stone-300{border-color:var(--color-stone-300)}.border-stone-400{border-color:var(--color-stone-400)}.border-theme-color{border-color:var(--partbot-theme)}.border-transparent{border-color:#0000}.border-t-white\\/20{border-top-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/20{border-top-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-b-emerald-600{border-bottom-color:var(--color-emerald-600)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-stone-50{background-color:var(--color-stone-50)}.bg-theme-color{background-color:var(--partbot-theme)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[60px\\]{font-size:60px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-balance{text-wrap:balance}.whitespace-normal\\!{white-space:normal!important}.whitespace-nowrap{white-space:nowrap}.text-black{color:var(--color-black)}.text-emerald-100{color:var(--color-emerald-100)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-700{color:var(--color-emerald-700)}.text-red-400{color:var(--color-red-400)}.text-red-800{color:var(--color-red-800)}.text-stone-100{color:var(--color-stone-100)}.text-stone-400{color:var(--color-stone-400)}.text-stone-500{color:var(--color-stone-500)}.text-stone-600{color:var(--color-stone-600)}.text-stone-700{color:var(--color-stone-700)}.text-stone-900{color:var(--color-stone-900)}.text-theme-color{color:var(--partbot-theme)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}@media (hover:hover){.hover\\:border-stone-400:hover{border-color:var(--color-stone-400)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-stone-50:hover{background-color:var(--color-stone-50)}.hover\\:bg-theme-color:hover{background-color:var(--partbot-theme)}.hover\\:text-stone-500:hover{color:var(--color-stone-500)}.hover\\:text-white:hover{color:var(--color-white)}}.focus\\:z-10:focus{z-index:10}.focus\\:border-bg-theme-color:focus,.focus\\:border-theme-color:focus{border-color:var(--partbot-theme)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-bg-theme-color:focus{--tw-ring-color:var(--partbot-theme)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sm\\:flex{display:flex}.sm\\:max-w-prose{max-width:65ch}.sm\\:justify-between{justify-content:space-between}.sm\\:overflow-hidden{overflow:hidden}.sm\\:px-3{padding-inline:calc(var(--spacing)*3)}.sm\\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\\:mt-6{margin-top:calc(var(--spacing)*6)}.md\\:mt-12{margin-top:calc(var(--spacing)*12)}.md\\:mr-2{margin-right:calc(var(--spacing)*2)}.md\\:-ml-1{margin-left:calc(var(--spacing)*-1)}.md\\:inline{display:inline}.md\\:h-\\[150px\\]{height:150px}.md\\:max-w-2xl{max-width:var(--container-2xl)}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-center{justify-content:center}.md\\:border-8{border-style:var(--tw-border-style);border-width:8px}.md\\:p-4{padding:calc(var(--spacing)*4)}.md\\:px-3{padding-inline:calc(var(--spacing)*3)}.md\\:py-12{padding-block:calc(var(--spacing)*12)}.md\\:text-center{text-align:center}.md\\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.md\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\\:text-\\[75px\\]{font-size:75px}}@media (min-width:64rem){.lg\\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\\:py-12{padding-block:calc(var(--spacing)*12)}.lg\\:text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.lg\\:leading-20{--tw-leading:calc(var(--spacing)*20);line-height:calc(var(--spacing)*20)}}.\\[\\&_summary\\:\\:-webkit-details-marker\\]\\:hidden summary::-webkit-details-marker{display:none}.\\[\\&\\>a\\]\\:text-theme-color>a{color:var(--partbot-theme)}@media (hover:hover){.hover\\:\\[\\&\\>a\\]\\:text-theme-color:hover>a{color:var(--partbot-theme)}}.font-license{font-family:var(--font-license)}}@font-face{font-family:License Plate;src:url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)format("woff2");font-weight:400;font-style:normal}:host{overflow-wrap:break-word;white-space:normal;display:block;overflow:visible}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}';
1466
- function io({ domElement: o, webComponentInstance: t }) {
1467
- const c = o.getAttribute("data-api-key"), l = o.getAttribute("data-callback-url"), u = o.getAttribute("data-products-url"), h = o.getAttribute("data-theme-color"), p = o.getAttribute("data-use-geolocation") === "true", m = o.getAttribute("data-button"), v = o.getAttribute("data-responsive") ? o.getAttribute("data-responsive") === "true" : !0, r = o.getAttribute("data-placeholder"), f = o.getAttribute("data-intro"), x = o.getAttribute("data-support-message"), I = o.getAttribute("data-action-button-label"), k = o.getAttribute("data-display-mode") || "modal", y = o.getAttribute("data-hide-default-button") === "true", H = o.getAttribute("data-auto-close-on-select") === "true", [Z, V] = q(!1);
1468
- return B(() => {
1541
+ const wt = '@import"https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap";/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}plate-search,plate-search *,plate-search:before,plate-search:after,plate-search::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}:host,:host *,:host:before,:host:after,:host::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}plate-search,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.modal-container{inset:calc(var(--spacing)*0);top:calc(var(--spacing)*0);z-index:9999;background-color:#00000080;justify-content:center;align-items:flex-start;width:100vw;height:100vh;display:flex;position:fixed;overflow-y:auto}@supports (color:color-mix(in lab,red,red)){.modal-container{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.modal-container{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (min-width:48rem){.modal-container{align-items:center}}.modal-container-open{pointer-events:auto;opacity:1;--tw-duration:.2s;--tw-ease:var(--ease-out);transition-duration:.2s;transition-timing-function:var(--ease-out)}.modal-container-close{pointer-events:none;opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}.modal{width:100vw;height:100vh;transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);overscroll-behavior:auto;background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;vertical-align:bottom;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));display:inline-block;overflow:hidden}@media (min-width:40rem){.modal{margin-block:calc(var(--spacing)*8);width:100%;max-width:var(--container-lg);vertical-align:middle}}@media (min-width:48rem){.modal{margin:calc(var(--spacing)*3);height:auto;max-width:var(--container-lg);border-radius:var(--radius-xl);padding-inline:calc(var(--spacing)*12)}}.modal-close{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}@media (min-width:40rem){.modal-close{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}}.modal-open{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:1;--tw-duration:.3s;--tw-ease:var(--ease-out);transition-duration:.3s;transition-timing-function:var(--ease-out)}.modal-scroll-area{margin-top:calc(var(--spacing)*3);margin-bottom:calc(var(--spacing)*3);max-height:380px;overflow:auto}.inline-container{margin-top:calc(var(--spacing)*4);width:100%;position:relative}.inline-panel{width:100%;height:auto;max-width:var(--container-lg);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);border-radius:var(--radius-xl);background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:inline-block;overflow:hidden}@media (min-width:48rem){.inline-panel{padding-inline:calc(var(--spacing)*12)}}.pl8srch-text a{color:var(--partbot-theme);opacity:.8;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;text-decoration-line:underline;transition-duration:.2s}@media (hover:hover){.pl8srch-text a:hover{color:var(--partbot-theme);opacity:1}}}@layer utilities{.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-0{z-index:0}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing)*4)}.my-5{margin-block:calc(var(--spacing)*5)}.my-6{margin-block:calc(var(--spacing)*6)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-5{margin-top:calc(var(--spacing)*5)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-px{margin-left:-1px}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.\\!h-5{height:calc(var(--spacing)*5)!important}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-\\[44px\\]{height:44px}.h-\\[130px\\]{height:130px}.h-full{height:100%}.min-h-screen{min-height:100vh}.\\!w-5{width:calc(var(--spacing)*5)!important}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\\[6px\\]{border-style:var(--tw-border-style);border-width:6px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-double{--tw-border-style:double;border-style:double}.border-stone-200{border-color:var(--color-stone-200)}.border-stone-300{border-color:var(--color-stone-300)}.border-stone-400{border-color:var(--color-stone-400)}.border-theme-color{border-color:var(--partbot-theme)}.border-transparent{border-color:#0000}.border-t-white\\/20{border-top-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/20{border-top-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-b-emerald-600{border-bottom-color:var(--color-emerald-600)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-stone-50{background-color:var(--color-stone-50)}.bg-theme-color{background-color:var(--partbot-theme)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[60px\\]{font-size:60px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-balance{text-wrap:balance}.whitespace-normal\\!{white-space:normal!important}.whitespace-nowrap{white-space:nowrap}.text-black{color:var(--color-black)}.text-emerald-100{color:var(--color-emerald-100)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-700{color:var(--color-emerald-700)}.text-red-400{color:var(--color-red-400)}.text-red-800{color:var(--color-red-800)}.text-stone-100{color:var(--color-stone-100)}.text-stone-400{color:var(--color-stone-400)}.text-stone-500{color:var(--color-stone-500)}.text-stone-600{color:var(--color-stone-600)}.text-stone-700{color:var(--color-stone-700)}.text-stone-900{color:var(--color-stone-900)}.text-theme-color{color:var(--partbot-theme)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}@media (hover:hover){.hover\\:border-stone-400:hover{border-color:var(--color-stone-400)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-stone-50:hover{background-color:var(--color-stone-50)}.hover\\:bg-theme-color:hover{background-color:var(--partbot-theme)}.hover\\:text-stone-500:hover{color:var(--color-stone-500)}.hover\\:text-white:hover{color:var(--color-white)}}.focus\\:z-10:focus{z-index:10}.focus\\:border-bg-theme-color:focus,.focus\\:border-theme-color:focus{border-color:var(--partbot-theme)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-bg-theme-color:focus{--tw-ring-color:var(--partbot-theme)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sm\\:flex{display:flex}.sm\\:max-w-prose{max-width:65ch}.sm\\:justify-between{justify-content:space-between}.sm\\:overflow-hidden{overflow:hidden}.sm\\:px-3{padding-inline:calc(var(--spacing)*3)}.sm\\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\\:mt-6{margin-top:calc(var(--spacing)*6)}.md\\:mt-12{margin-top:calc(var(--spacing)*12)}.md\\:mr-2{margin-right:calc(var(--spacing)*2)}.md\\:-ml-1{margin-left:calc(var(--spacing)*-1)}.md\\:inline{display:inline}.md\\:h-\\[150px\\]{height:150px}.md\\:max-w-2xl{max-width:var(--container-2xl)}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-center{justify-content:center}.md\\:border-8{border-style:var(--tw-border-style);border-width:8px}.md\\:p-4{padding:calc(var(--spacing)*4)}.md\\:px-3{padding-inline:calc(var(--spacing)*3)}.md\\:py-12{padding-block:calc(var(--spacing)*12)}.md\\:text-center{text-align:center}.md\\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.md\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\\:text-\\[75px\\]{font-size:75px}}@media (min-width:64rem){.lg\\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\\:py-12{padding-block:calc(var(--spacing)*12)}.lg\\:text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.lg\\:leading-20{--tw-leading:calc(var(--spacing)*20);line-height:calc(var(--spacing)*20)}}.\\[\\&_summary\\:\\:-webkit-details-marker\\]\\:hidden summary::-webkit-details-marker{display:none}.\\[\\&\\>a\\]\\:text-theme-color>a{color:var(--partbot-theme)}@media (hover:hover){.hover\\:\\[\\&\\>a\\]\\:text-theme-color:hover>a{color:var(--partbot-theme)}}.font-license{font-family:var(--font-license)}}@font-face{font-family:License Plate;src:url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)format("woff2");font-weight:400;font-style:normal}:host{overflow-wrap:break-word;white-space:normal;display:block;overflow:visible}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}';
1542
+ function bo({ domElement: a, webComponentInstance: t }) {
1543
+ const d = a.getAttribute("data-api-key"), l = a.getAttribute("data-callback-url"), g = a.getAttribute("data-products-url"), u = a.getAttribute("data-theme-color"), c = a.getAttribute("data-use-geolocation") === "true", p = a.getAttribute("data-button"), v = a.getAttribute("data-responsive") ? a.getAttribute("data-responsive") === "true" : !0, i = a.getAttribute("data-placeholder"), f = a.getAttribute("data-intro"), x = a.getAttribute("data-support-message"), I = a.getAttribute("data-action-button-label"), A = a.getAttribute("data-display-mode") || "modal", E = a.getAttribute("data-hide-default-button") === "true", H = a.getAttribute("data-auto-close-on-select") === "true", B = a.getAttribute("data-demo-mode") === "true", [Y, ne] = J(!1);
1544
+ return $(() => {
1469
1545
  t && (t._modalControls = {
1470
- open: () => V(!0),
1471
- close: () => V(!1),
1472
- toggle: () => V((ge) => !ge)
1546
+ open: () => ne(!0),
1547
+ close: () => ne(!1),
1548
+ toggle: () => ne((K) => !K)
1473
1549
  });
1474
1550
  }, [t]), /* @__PURE__ */ React.createElement("div", { className: "App" }, /* @__PURE__ */ React.createElement(
1475
- ut,
1551
+ bt,
1476
1552
  {
1477
1553
  className: "partbot",
1478
- apiKey: c,
1554
+ apiKey: d,
1479
1555
  callbackUrl: l,
1480
- productsUrl: u,
1481
- themeColor: h,
1482
- useGeolocation: p,
1483
- buttonTheme: m,
1556
+ productsUrl: g,
1557
+ themeColor: u,
1558
+ useGeolocation: c,
1559
+ buttonTheme: p,
1484
1560
  responsive: v,
1485
- placeholder: r,
1561
+ placeholder: i,
1486
1562
  intro: f,
1487
1563
  supportMessage: x,
1488
1564
  actionButtonLabel: I,
1489
- displayMode: k,
1490
- hideDefaultButton: y,
1565
+ displayMode: A,
1566
+ hideDefaultButton: E,
1491
1567
  autoCloseOnSelect: H,
1492
- isOpen: Z,
1493
- onOpenChange: V
1568
+ demoMode: B,
1569
+ isOpen: Y,
1570
+ onOpenChange: ne
1494
1571
  }
1495
1572
  ));
1496
1573
  }
1497
- class fe extends HTMLElement {
1574
+ class ve extends HTMLElement {
1498
1575
  constructor() {
1499
- super(), this.apiKey = this.dataset.apiKey, this.callbackUrl = this.dataset.callbackUrl, this.productsUrl = this.dataset.productsUrl, this.themeColor = this.dataset.themeColor, this.useGeolocation = this.dataset.useGeolocation, this.debug = this.dataset.debug === "true", this.assetUrl = this.dataset.assetUrl, this.buttonTheme = this.dataset.button, this.responsive = this.dataset.responsive ? this.dataset.responsive === "true" : !0, this.placeholder = this.dataset.placeholder, this.intro = this.dataset.intro, this.supportMessage = this.dataset.supportMessage, this.actionButtonLabel = this.dataset.actionButtonLabel, this.displayMode = this.dataset.displayMode || "modal", this.hideDefaultButton = this.dataset.hideDefaultButton === "true", this.autoCloseOnSelect = this.dataset.autoCloseOnSelect === "true";
1576
+ super(), this.apiKey = this.dataset.apiKey, this.callbackUrl = this.dataset.callbackUrl, this.productsUrl = this.dataset.productsUrl, this.themeColor = this.dataset.themeColor, this.useGeolocation = this.dataset.useGeolocation, this.debug = this.dataset.debug === "true", this.assetUrl = this.dataset.assetUrl, this.buttonTheme = this.dataset.button, this.responsive = this.dataset.responsive ? this.dataset.responsive === "true" : !0, this.placeholder = this.dataset.placeholder, this.intro = this.dataset.intro, this.supportMessage = this.dataset.supportMessage, this.actionButtonLabel = this.dataset.actionButtonLabel, this.displayMode = this.dataset.displayMode || "modal", this.hideDefaultButton = this.dataset.hideDefaultButton === "true", this.autoCloseOnSelect = this.dataset.autoCloseOnSelect === "true", this.demoMode = this.dataset.demoMode === "true";
1500
1577
  }
1501
1578
  connectedCallback() {
1502
- var p;
1579
+ var c;
1503
1580
  this.style.position || (this.style.position = "relative"), this.style.zIndex = "2147483647", this.style.visibility = "hidden";
1504
1581
  let t;
1505
1582
  if (this.assetUrl && (t = new URL(
1506
1583
  this.assetUrl.replace(/\/$/, "") + "/css/plate-search.css",
1507
1584
  window.location.href
1508
1585
  )), !t) {
1509
- let m = "latest";
1586
+ let p = "latest";
1510
1587
  try {
1511
- const r = (((p = document.currentScript) == null ? void 0 : p.src) || "").match(/plate-search@([^/]+)/);
1512
- r && r[1] && (m = r[1]);
1588
+ const i = (((c = document.currentScript) == null ? void 0 : c.src) || "").match(/plate-search@([^/]+)/);
1589
+ i && i[1] && (p = i[1]);
1513
1590
  } catch {
1514
1591
  }
1515
- m === "latest" && ht.version && (m = ht.version), t = new URL(
1516
- `https://unpkg.com/@cartbot/plate-search@${m}/build/dist/css/plate-search.css`
1592
+ p === "latest" && gt.version && (p = gt.version), t = new URL(
1593
+ `https://unpkg.com/@cartbot/plate-search@${p}/build/dist/css/plate-search.css`
1517
1594
  );
1518
1595
  }
1519
1596
  const l = [
@@ -1530,41 +1607,42 @@ class fe extends HTMLElement {
1530
1607
  ["data-action-button-label", this.actionButtonLabel],
1531
1608
  ["data-display-mode", this.displayMode],
1532
1609
  ["data-hide-default-button", this.hideDefaultButton],
1533
- ["data-auto-close-on-select", this.autoCloseOnSelect]
1534
- ].filter(([m, v]) => v != null).map(([m, v]) => `${m}="${v}"`).join(" "), u = (m, v) => {
1535
- if (!/@import/i.test(m) && "adoptedStyleSheets" in Document.prototype)
1610
+ ["data-auto-close-on-select", this.autoCloseOnSelect],
1611
+ ["data-demo-mode", this.demoMode]
1612
+ ].filter(([p, v]) => v != null).map(([p, v]) => `${p}="${v}"`).join(" "), g = (p, v) => {
1613
+ if (!/@import/i.test(p) && "adoptedStyleSheets" in Document.prototype)
1536
1614
  try {
1537
1615
  const x = new CSSStyleSheet();
1538
- return x.replaceSync(m), console.info(`Partbot: using constructable stylesheet (${v})`), x;
1616
+ return x.replaceSync(p), console.info(`Partbot: using constructable stylesheet (${v})`), x;
1539
1617
  } catch (x) {
1540
1618
  console.warn("Partbot: constructable sheet failed, falling back", x);
1541
1619
  }
1542
1620
  const f = document.createElement("style");
1543
- return f.textContent = m, this.debug && console.info(
1621
+ return f.textContent = p, this.debug && console.info(
1544
1622
  `Partbot: using <style> element fallback (${v})`,
1545
1623
  f.textContent
1546
1624
  ), f;
1547
1625
  };
1548
- fe.__stylePromise || (t ? fe.__stylePromise = fetch(t).then((m) => {
1549
- if (!m.ok) throw new Error(`HTTP ${m.status}`);
1550
- return m.text();
1551
- }).then((m) => u(m, t.href)).catch((m) => (console.warn(
1626
+ ve.__stylePromise || (t ? ve.__stylePromise = fetch(t).then((p) => {
1627
+ if (!p.ok) throw new Error(`HTTP ${p.status}`);
1628
+ return p.text();
1629
+ }).then((p) => g(p, t.href)).catch((p) => (console.warn(
1552
1630
  "Partbot: external stylesheet failed, falling back to inline",
1553
- m
1554
- ), u(pt, "inline-fallback"))) : fe.__stylePromise = Promise.resolve(
1555
- u(pt, "inline")
1631
+ p
1632
+ ), g(wt, "inline-fallback"))) : ve.__stylePromise = Promise.resolve(
1633
+ g(wt, "inline")
1556
1634
  ));
1557
- const h = document.createElement("template");
1558
- if (h.innerHTML = `
1559
- <div class="partbot-plate-search isolate" ${l}></div>`, this.attachShadow({ mode: "open" }), fe.__stylePromise.then((m) => {
1560
- var v, r;
1561
- if (m) {
1562
- if (m instanceof CSSStyleSheet ? this.shadowRoot.adoptedStyleSheets = [m] : m instanceof HTMLStyleElement && this.shadowRoot.prepend(m.cloneNode(!0)), this.debug)
1635
+ const u = document.createElement("template");
1636
+ if (u.innerHTML = `
1637
+ <div class="partbot-plate-search isolate" ${l}></div>`, this.attachShadow({ mode: "open" }), ve.__stylePromise.then((p) => {
1638
+ var v, i;
1639
+ if (p) {
1640
+ if (p instanceof CSSStyleSheet ? this.shadowRoot.adoptedStyleSheets = [p] : p instanceof HTMLStyleElement && this.shadowRoot.prepend(p.cloneNode(!0)), this.debug)
1563
1641
  try {
1564
1642
  const f = (v = this.shadowRoot.adoptedStyleSheets) == null ? void 0 : v[0];
1565
1643
  f && console.info(
1566
1644
  "Partbot debug: first rule in adopted sheet →",
1567
- (r = f.cssRules[0]) == null ? void 0 : r.cssText
1645
+ (i = f.cssRules[0]) == null ? void 0 : i.cssText
1568
1646
  );
1569
1647
  const x = getComputedStyle(this).getPropertyValue("--tw-border-style");
1570
1648
  console.info(
@@ -1578,9 +1656,9 @@ class fe extends HTMLElement {
1578
1656
  this.style.visibility = "visible";
1579
1657
  });
1580
1658
  }
1581
- }), this.shadowRoot.appendChild(h.content.cloneNode(!0)), !document.head.querySelector("style[data-partbot-license]")) {
1582
- const m = document.createElement("style");
1583
- m.setAttribute("data-partbot-license", ""), m.appendChild(
1659
+ }), this.shadowRoot.appendChild(u.content.cloneNode(!0)), !document.head.querySelector("style[data-partbot-license]")) {
1660
+ const p = document.createElement("style");
1661
+ p.setAttribute("data-partbot-license", ""), p.appendChild(
1584
1662
  document.createTextNode(`
1585
1663
  @font-face {
1586
1664
  font-family: "License Plate";
@@ -1589,7 +1667,7 @@ class fe extends HTMLElement {
1589
1667
  font-weight: normal;
1590
1668
  font-style: normal;
1591
1669
  }`)
1592
- ), document.head.appendChild(m);
1670
+ ), document.head.appendChild(p);
1593
1671
  }
1594
1672
  }
1595
1673
  // Public API methods for controlling the modal
@@ -1603,12 +1681,12 @@ class fe extends HTMLElement {
1603
1681
  this._modalControls && this._modalControls.toggle();
1604
1682
  }
1605
1683
  }
1606
- customElements.define("plate-search", fe);
1607
- const co = ya(
1608
- function(t, c) {
1609
- const l = Oe(null), u = Oe(null), h = Oe(null), p = Oe(null), [m, v] = q(!1);
1610
- return Ea(
1611
- c,
1684
+ customElements.define("plate-search", ve);
1685
+ const yo = Aa(
1686
+ function(t, d) {
1687
+ const l = Ie(null), g = Ie(null), u = Ie(null), c = Ie(null), [p, v] = J(!1);
1688
+ return Ta(
1689
+ d,
1612
1690
  () => ({
1613
1691
  open: () => {
1614
1692
  t.onOpenChange && t.onOpenChange(!0);
@@ -1621,46 +1699,46 @@ const co = ya(
1621
1699
  }
1622
1700
  }),
1623
1701
  [t.onOpenChange, t.isOpen]
1624
- ), B(() => {
1625
- if (!l.current || u.current) return;
1626
- const r = l.current.attachShadow({ mode: "open" });
1627
- u.current = r;
1702
+ ), $(() => {
1703
+ if (!l.current || g.current) return;
1704
+ const i = l.current.attachShadow({ mode: "open" });
1705
+ g.current = i;
1628
1706
  const f = document.createElement("div");
1629
- if (h.current = f, r.appendChild(f), !document.head.querySelector('link[href*="fonts.googleapis.com"]')) {
1630
- const y = document.createElement("link");
1631
- y.rel = "stylesheet", y.href = "https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap", document.head.appendChild(y);
1707
+ if (u.current = f, i.appendChild(f), !document.head.querySelector('link[href*="fonts.googleapis.com"]')) {
1708
+ const E = document.createElement("link");
1709
+ E.rel = "stylesheet", E.href = "https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap", document.head.appendChild(E);
1632
1710
  }
1633
1711
  if (!document.head.querySelector("style[data-partbot-license]")) {
1634
- const y = document.createElement("style");
1635
- y.setAttribute("data-partbot-license", ""), y.textContent = `
1712
+ const E = document.createElement("style");
1713
+ E.setAttribute("data-partbot-license", ""), E.textContent = `
1636
1714
  @font-face {
1637
1715
  font-family: "License Plate";
1638
1716
  src: url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)
1639
1717
  format("woff2");
1640
1718
  font-weight: normal;
1641
1719
  font-style: normal;
1642
- }`, document.head.appendChild(y);
1720
+ }`, document.head.appendChild(E);
1643
1721
  }
1644
- const x = pt.replace(/@import\s+["']https:\/\/fonts\.googleapis\.com[^;]+;/g, "").replace(/@import\s+["']tailwindcss["'];/g, ""), I = document.createElement("style");
1645
- I.textContent = x, r.appendChild(I);
1646
- const k = Yt(f);
1647
- return p.current = k, v(!0), () => {
1648
- p.current && (setTimeout(() => {
1649
- var y;
1650
- (y = p.current) == null || y.unmount();
1651
- }, 0), p.current = null);
1722
+ const x = wt.replace(/@import\s+["']https:\/\/fonts\.googleapis\.com[^;]+;/g, "").replace(/@import\s+["']tailwindcss["'];/g, ""), I = document.createElement("style");
1723
+ I.textContent = x, i.appendChild(I);
1724
+ const A = Xt(f);
1725
+ return c.current = A, v(!0), () => {
1726
+ c.current && (setTimeout(() => {
1727
+ var E;
1728
+ (E = c.current) == null || E.unmount();
1729
+ }, 0), c.current = null);
1652
1730
  };
1653
- }, []), B(() => {
1654
- if (p.current && m) {
1731
+ }, []), $(() => {
1732
+ if (c.current && p) {
1655
1733
  console.log(
1656
1734
  "[PlateSearchShadowWrapper] Rendering with isOpen:",
1657
1735
  t.isOpen
1658
1736
  );
1659
- const r = t.isOpen !== void 0 ? `controlled-${t.isOpen}` : "uncontrolled";
1660
- p.current.render(/* @__PURE__ */ React.createElement(ut, { key: r, ...t }));
1737
+ const i = t.isOpen !== void 0 ? `controlled-${t.isOpen}` : "uncontrolled";
1738
+ c.current.render(/* @__PURE__ */ React.createElement(bt, { key: i, ...t }));
1661
1739
  }
1662
1740
  }, [
1663
- m,
1741
+ p,
1664
1742
  t.isOpen,
1665
1743
  t.apiKey,
1666
1744
  t.callbackUrl,
@@ -1677,7 +1755,8 @@ const co = ya(
1677
1755
  t.onOpenChange,
1678
1756
  t.hideDefaultButton,
1679
1757
  t.onModalClose,
1680
- t.autoCloseOnSelect
1758
+ t.autoCloseOnSelect,
1759
+ t.demoMode
1681
1760
  ]), /* @__PURE__ */ React.createElement(
1682
1761
  "div",
1683
1762
  {
@@ -1690,44 +1769,44 @@ const co = ya(
1690
1769
  }
1691
1770
  );
1692
1771
  }
1693
- ), mo = _a;
1694
- typeof window < "u" && (window.React = window.React || Gt);
1695
- const re = document.querySelector("plate-search");
1696
- var $t;
1697
- if (re) {
1698
- const o = (($t = re.shadowRoot) == null ? void 0 : $t.querySelector(
1772
+ ), Eo = Sa;
1773
+ typeof window < "u" && (window.React = window.React || r);
1774
+ const ce = document.querySelector("plate-search");
1775
+ var Kt;
1776
+ if (ce) {
1777
+ const a = ((Kt = ce.shadowRoot) == null ? void 0 : Kt.querySelector(
1699
1778
  ".partbot-plate-search"
1700
- )) || re.querySelector(".partbot-plate-search");
1701
- if (!o)
1779
+ )) || ce.querySelector(".partbot-plate-search");
1780
+ if (!a)
1702
1781
  console.error("Partbot: failed to locate .partbot-plate-search container");
1703
1782
  else {
1704
1783
  let t;
1705
- const c = () => {
1706
- t || (t = Yt(o)), t.render(
1707
- Gt.createElement(io, {
1708
- domElement: o,
1709
- webComponentInstance: re
1784
+ const d = () => {
1785
+ t || (t = Xt(a)), t.render(
1786
+ r.createElement(bo, {
1787
+ domElement: a,
1788
+ webComponentInstance: ce
1710
1789
  })
1711
1790
  );
1712
1791
  }, l = [
1713
- ...re.shadowRoot ? re.shadowRoot.querySelectorAll("link") : re.querySelectorAll("link")
1792
+ ...ce.shadowRoot ? ce.shadowRoot.querySelectorAll("link") : ce.querySelectorAll("link")
1714
1793
  ];
1715
1794
  if (l.length === 0)
1716
- c();
1795
+ d();
1717
1796
  else {
1718
- let u = 0;
1719
- const h = () => {
1720
- ++u >= l.length && c();
1797
+ let g = 0;
1798
+ const u = () => {
1799
+ ++g >= l.length && d();
1721
1800
  };
1722
- l.forEach((p) => {
1723
- p.sheet || p.complete ? h() : (p.addEventListener("load", h, { once: !0 }), p.addEventListener("error", h, { once: !0 }));
1801
+ l.forEach((c) => {
1802
+ c.sheet || c.complete ? u() : (c.addEventListener("load", u, { once: !0 }), c.addEventListener("error", u, { once: !0 }));
1724
1803
  });
1725
1804
  }
1726
1805
  }
1727
1806
  }
1728
1807
  export {
1729
- co as PlateSearch,
1730
- ut as PlateSearchRaw,
1731
- co as default,
1732
- mo as plateSearchCssUrl
1808
+ yo as PlateSearch,
1809
+ bt as PlateSearchRaw,
1810
+ yo as default,
1811
+ Eo as plateSearchCssUrl
1733
1812
  };