@cartbot/plate-search 3.0.13 → 3.1.1

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,11 +1,11 @@
1
1
  import * as t from "react";
2
- import it, { createContext as xa, useState as X, useRef as ya, useEffect as K } from "react";
3
- import * as lt from "react-dom";
2
+ import Yt, { createContext as ya, useState as K, useRef as Te, useEffect as W, createElement as It } from "react";
3
+ import { createRoot as qt } from "react-dom/client";
4
4
  const Ea = "/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: Yt,
8
- setPrototypeOf: Nt,
7
+ entries: Xt,
8
+ setPrototypeOf: Ot,
9
9
  isFrozen: _a,
10
10
  getPrototypeOf: Aa,
11
11
  getOwnPropertyDescriptor: ka
@@ -13,99 +13,99 @@ const {
13
13
  let {
14
14
  freeze: H,
15
15
  seal: F,
16
- create: qt
16
+ create: Kt
17
17
  } = Object, {
18
- apply: st,
19
- construct: ct
18
+ apply: ct,
19
+ construct: st
20
20
  } = typeof Reflect < "u" && Reflect;
21
- H || (H = function(a) {
22
- return a;
21
+ H || (H = function(r) {
22
+ return r;
23
23
  });
24
- F || (F = function(a) {
25
- return a;
24
+ F || (F = function(r) {
25
+ return r;
26
26
  });
27
- st || (st = function(a, s, l) {
28
- return a.apply(s, l);
27
+ ct || (ct = function(r, c, n) {
28
+ return r.apply(c, n);
29
29
  });
30
- ct || (ct = function(a, s) {
31
- return new a(...s);
30
+ st || (st = function(r, c) {
31
+ return new r(...c);
32
32
  });
33
- const De = D(Array.prototype.forEach), Ta = D(Array.prototype.lastIndexOf), Ct = D(Array.prototype.pop), ye = D(Array.prototype.push), Ra = D(Array.prototype.splice), Ue = D(String.prototype.toLowerCase), et = D(String.prototype.toString), It = D(String.prototype.match), Ee = D(String.prototype.replace), Sa = D(String.prototype.indexOf), La = D(String.prototype.trim), V = D(Object.prototype.hasOwnProperty), O = D(RegExp.prototype.test), _e = Ma(TypeError);
34
- function D(r) {
35
- return function(a) {
36
- a instanceof RegExp && (a.lastIndex = 0);
37
- for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), u = 1; u < s; u++)
38
- l[u - 1] = arguments[u];
39
- return st(r, a, l);
33
+ const De = P(Array.prototype.forEach), Ta = P(Array.prototype.lastIndexOf), Ht = P(Array.prototype.pop), ye = P(Array.prototype.push), Ra = P(Array.prototype.splice), ze = P(String.prototype.toLowerCase), at = P(String.prototype.toString), Pt = P(String.prototype.match), Ee = P(String.prototype.replace), Sa = P(String.prototype.indexOf), La = P(String.prototype.trim), V = P(Object.prototype.hasOwnProperty), O = P(RegExp.prototype.test), _e = Ma(TypeError);
34
+ function P(a) {
35
+ return function(r) {
36
+ r instanceof RegExp && (r.lastIndex = 0);
37
+ for (var c = arguments.length, n = new Array(c > 1 ? c - 1 : 0), f = 1; f < c; f++)
38
+ n[f - 1] = arguments[f];
39
+ return ct(a, r, n);
40
40
  };
41
41
  }
42
- function Ma(r) {
42
+ function Ma(a) {
43
43
  return function() {
44
- for (var a = arguments.length, s = new Array(a), l = 0; l < a; l++)
45
- s[l] = arguments[l];
46
- return ct(r, s);
44
+ for (var r = arguments.length, c = new Array(r), n = 0; n < r; n++)
45
+ c[n] = arguments[n];
46
+ return st(a, c);
47
47
  };
48
48
  }
49
- function f(r, a) {
50
- let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ue;
51
- Nt && Nt(r, null);
52
- let l = a.length;
53
- for (; l--; ) {
54
- let u = a[l];
55
- if (typeof u == "string") {
56
- const h = s(u);
57
- h !== u && (_a(a) || (a[l] = h), u = h);
49
+ function w(a, r) {
50
+ let c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ze;
51
+ Ot && Ot(a, null);
52
+ let n = r.length;
53
+ for (; n--; ) {
54
+ let f = r[n];
55
+ if (typeof f == "string") {
56
+ const p = c(f);
57
+ p !== f && (_a(r) || (r[n] = p), f = p);
58
58
  }
59
- r[u] = !0;
59
+ a[f] = !0;
60
60
  }
61
- return r;
62
- }
63
- function Na(r) {
64
- for (let a = 0; a < r.length; a++)
65
- V(r, a) || (r[a] = null);
66
- return r;
61
+ return a;
67
62
  }
68
- function B(r) {
69
- const a = qt(null);
70
- for (const [s, l] of Yt(r))
71
- V(r, s) && (Array.isArray(l) ? a[s] = Na(l) : l && typeof l == "object" && l.constructor === Object ? a[s] = B(l) : a[s] = l);
63
+ function Ca(a) {
64
+ for (let r = 0; r < a.length; r++)
65
+ V(a, r) || (a[r] = null);
72
66
  return a;
73
67
  }
74
- function Ae(r, a) {
75
- for (; r !== null; ) {
76
- const l = ka(r, a);
77
- if (l) {
78
- if (l.get)
79
- return D(l.get);
80
- if (typeof l.value == "function")
81
- return D(l.value);
68
+ function Y(a) {
69
+ const r = Kt(null);
70
+ for (const [c, n] of Xt(a))
71
+ V(a, c) && (Array.isArray(n) ? r[c] = Ca(n) : n && typeof n == "object" && n.constructor === Object ? r[c] = Y(n) : r[c] = n);
72
+ return r;
73
+ }
74
+ function Ae(a, r) {
75
+ for (; a !== null; ) {
76
+ const n = ka(a, r);
77
+ if (n) {
78
+ if (n.get)
79
+ return P(n.get);
80
+ if (typeof n.value == "function")
81
+ return P(n.value);
82
82
  }
83
- r = Aa(r);
83
+ a = Aa(a);
84
84
  }
85
- function s() {
85
+ function c() {
86
86
  return null;
87
87
  }
88
- return s;
88
+ return c;
89
89
  }
90
- const Ot = H(["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"]), tt = H(["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"]), at = H(["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"]), Ca = H(["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"]), rt = H(["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 = H(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ht = H(["#text"]), Dt = H(["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"]), ot = H(["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"]), Pt = H(["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"]), Pe = H(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Oa = F(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ha = F(/<%[\w\W]*|[\w\W]*%>/gm), Da = F(/\$\{[\w\W]*/gm), Pa = F(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ua = F(/^aria-[\-\w]+$/), Xt = F(
90
+ const Dt = H(["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 = H(["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"]), ot = H(["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"]), Na = H(["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"]), nt = H(["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 = H(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ut = H(["#text"]), zt = H(["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"]), it = H(["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"]), Ft = H(["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"]), Ue = H(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Oa = F(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ha = F(/<%[\w\W]*|[\w\W]*%>/gm), Pa = F(/\$\{[\w\W]*/gm), Da = F(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ua = F(/^aria-[\-\w]+$/), Jt = F(
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
93
  ), za = F(/^(?:\w+script|data):/i), Fa = F(
94
94
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
95
95
  // eslint-disable-line no-control-regex
96
- ), Kt = F(/^html$/i), Za = F(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
- var Ut = /* @__PURE__ */ Object.freeze({
96
+ ), Qt = F(/^html$/i), Za = F(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
+ var Zt = /* @__PURE__ */ Object.freeze({
98
98
  __proto__: null,
99
99
  ARIA_ATTR: Ua,
100
100
  ATTR_WHITESPACE: Fa,
101
101
  CUSTOM_ELEMENT: Za,
102
- DATA_ATTR: Pa,
103
- DOCTYPE_NAME: Kt,
102
+ DATA_ATTR: Da,
103
+ DOCTYPE_NAME: Qt,
104
104
  ERB_EXPR: Ha,
105
- IS_ALLOWED_URI: Xt,
105
+ IS_ALLOWED_URI: Jt,
106
106
  IS_SCRIPT_OR_DATA: za,
107
107
  MUSTACHE_EXPR: Oa,
108
- TMPLIT_EXPR: Da
108
+ TMPLIT_EXPR: Pa
109
109
  });
110
110
  const ke = {
111
111
  element: 1,
@@ -116,26 +116,26 @@ const ke = {
116
116
  document: 9
117
117
  }, Va = function() {
118
118
  return typeof window > "u" ? null : window;
119
- }, ja = function(a, s) {
120
- if (typeof a != "object" || typeof a.createPolicy != "function")
119
+ }, ja = function(r, c) {
120
+ if (typeof r != "object" || typeof r.createPolicy != "function")
121
121
  return null;
122
- let l = null;
123
- const u = "data-tt-policy-suffix";
124
- s && s.hasAttribute(u) && (l = s.getAttribute(u));
125
- const h = "dompurify" + (l ? "#" + l : "");
122
+ let n = null;
123
+ const f = "data-tt-policy-suffix";
124
+ c && c.hasAttribute(f) && (n = c.getAttribute(f));
125
+ const p = "dompurify" + (n ? "#" + n : "");
126
126
  try {
127
- return a.createPolicy(h, {
128
- createHTML(v) {
129
- return v;
127
+ return r.createPolicy(p, {
128
+ createHTML(g) {
129
+ return g;
130
130
  },
131
- createScriptURL(v) {
132
- return v;
131
+ createScriptURL(g) {
132
+ return g;
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 " + p + " could not be created."), null;
137
137
  }
138
- }, zt = function() {
138
+ }, Vt = function() {
139
139
  return {
140
140
  afterSanitizeAttributes: [],
141
141
  afterSanitizeElements: [],
@@ -148,57 +148,57 @@ const ke = {
148
148
  uponSanitizeShadowNode: []
149
149
  };
150
150
  };
151
- function Jt() {
152
- let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Va();
153
- const a = (c) => Jt(c);
154
- if (a.version = "3.2.6", a.removed = [], !r || !r.document || r.document.nodeType !== ke.document || !r.Element)
155
- return a.isSupported = !1, a;
151
+ function ea() {
152
+ let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Va();
153
+ const r = (s) => ea(s);
154
+ if (r.version = "3.2.6", r.removed = [], !a || !a.document || a.document.nodeType !== ke.document || !a.Element)
155
+ return r.isSupported = !1, r;
156
156
  let {
157
- document: s
158
- } = r;
159
- const l = s, u = l.currentScript, {
160
- DocumentFragment: h,
161
- HTMLTemplateElement: v,
157
+ document: c
158
+ } = a;
159
+ const n = c, f = n.currentScript, {
160
+ DocumentFragment: p,
161
+ HTMLTemplateElement: g,
162
162
  Node: m,
163
- Element: g,
164
- NodeFilter: n,
165
- NamedNodeMap: w = r.NamedNodeMap || r.MozNamedAttrMap,
163
+ Element: b,
164
+ NodeFilter: i,
165
+ NamedNodeMap: u = a.NamedNodeMap || a.MozNamedAttrMap,
166
166
  HTMLFormElement: x,
167
167
  DOMParser: U,
168
168
  trustedTypes: S
169
- } = r, T = g.prototype, I = Ae(T, "cloneNode"), z = Ae(T, "remove"), J = Ae(T, "nextSibling"), ze = Ae(T, "childNodes"), Y = Ae(T, "parentNode");
170
- if (typeof v == "function") {
171
- const c = s.createElement("template");
172
- c.content && c.content.ownerDocument && (s = c.content.ownerDocument);
169
+ } = a, T = b.prototype, I = Ae(T, "cloneNode"), z = Ae(T, "remove"), J = Ae(T, "nextSibling"), Ze = Ae(T, "childNodes"), q = Ae(T, "parentNode");
170
+ if (typeof g == "function") {
171
+ const s = c.createElement("template");
172
+ s.content && s.content.ownerDocument && (c = s.content.ownerDocument);
173
173
  }
174
- let k, q = "";
174
+ let k, X = "";
175
175
  const {
176
176
  implementation: te,
177
- createNodeIterator: Fe,
177
+ createNodeIterator: Ve,
178
178
  createDocumentFragment: pe,
179
- getElementsByTagName: Ze
180
- } = s, {
181
- importNode: Te
182
- } = l;
183
- let L = zt();
184
- a.isSupported = typeof Yt == "function" && typeof Y == "function" && te && te.createHTMLDocument !== void 0;
179
+ getElementsByTagName: je
180
+ } = c, {
181
+ importNode: Re
182
+ } = n;
183
+ let L = Vt();
184
+ r.isSupported = typeof Xt == "function" && typeof q == "function" && te && te.createHTMLDocument !== void 0;
185
185
  const {
186
186
  MUSTACHE_EXPR: ae,
187
187
  ERB_EXPR: he,
188
188
  TMPLIT_EXPR: ue,
189
- DATA_ATTR: Re,
190
- ARIA_ATTR: Se,
191
- IS_SCRIPT_OR_DATA: Ve,
189
+ DATA_ATTR: Se,
190
+ ARIA_ATTR: Le,
191
+ IS_SCRIPT_OR_DATA: We,
192
192
  ATTR_WHITESPACE: fe,
193
193
  CUSTOM_ELEMENT: d
194
- } = Ut;
194
+ } = Zt;
195
195
  let {
196
- IS_ALLOWED_URI: b
197
- } = Ut, p = null;
198
- const _ = f({}, [...Ot, ...tt, ...at, ...rt, ...Ht]);
196
+ IS_ALLOWED_URI: v
197
+ } = Zt, h = null;
198
+ const E = w({}, [...Dt, ...rt, ...ot, ...nt, ...Ut]);
199
199
  let A = null;
200
- const ge = f({}, [...Dt, ...ot, ...Pt, ...Pe]);
201
- let y = Object.seal(qt(null, {
200
+ const ge = w({}, [...zt, ...it, ...Ft, ...Ue]);
201
+ let y = Object.seal(Kt(null, {
202
202
  tagNameCheck: {
203
203
  writable: !0,
204
204
  configurable: !1,
@@ -217,68 +217,68 @@ function Jt() {
217
217
  enumerable: !0,
218
218
  value: !1
219
219
  }
220
- })), we = null, je = null, dt = !0, We = !0, mt = !1, pt = !0, re = !1, Le = !0, Q = !1, $e = !1, Ge = !1, oe = !1, Me = !1, Ne = !1, ht = !0, ut = !1;
221
- const pa = "user-content-";
222
- let Be = !0, be = !1, ne = {}, ie = null;
223
- const ft = f({}, ["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 gt = null;
225
- const wt = f({}, ["audio", "video", "img", "source", "image", "track"]);
226
- let Ye = null;
227
- const bt = f({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ce = "http://www.w3.org/1998/Math/MathML", Ie = "http://www.w3.org/2000/svg", W = "http://www.w3.org/1999/xhtml";
228
- let le = W, qe = !1, Xe = null;
229
- const ha = f({}, [Ce, Ie, W], et);
230
- let Oe = f({}, ["mi", "mo", "mn", "ms", "mtext"]), He = f({}, ["annotation-xml"]);
231
- const ua = f({}, ["title", "style", "font", "a", "script"]);
220
+ })), we = null, $e = null, pt = !0, Ge = !0, ht = !1, ut = !0, re = !1, Me = !0, Q = !1, Be = !1, Ye = !1, oe = !1, Ce = !1, Ne = !1, ft = !0, gt = !1;
221
+ const ha = "user-content-";
222
+ let qe = !0, be = !1, ne = {}, ie = 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 Xe = null;
227
+ const xt = w({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ie = "http://www.w3.org/1998/Math/MathML", Oe = "http://www.w3.org/2000/svg", $ = "http://www.w3.org/1999/xhtml";
228
+ let le = $, Ke = !1, Je = null;
229
+ const ua = w({}, [Ie, Oe, $], at);
230
+ let He = w({}, ["mi", "mo", "mn", "ms", "mtext"]), Pe = w({}, ["annotation-xml"]);
231
+ const fa = w({}, ["title", "style", "font", "a", "script"]);
232
232
  let ve = null;
233
- const fa = ["application/xhtml+xml", "text/html"], ga = "text/html";
234
- let M = null, se = null;
235
- const wa = s.createElement("form"), vt = function(e) {
233
+ const ga = ["application/xhtml+xml", "text/html"], wa = "text/html";
234
+ let M = null, ce = null;
235
+ const ba = c.createElement("form"), yt = function(e) {
236
236
  return e instanceof RegExp || e instanceof Function;
237
- }, Ke = function() {
237
+ }, Qe = function() {
238
238
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
239
- if (!(se && se === e)) {
240
- if ((!e || typeof e != "object") && (e = {}), e = B(e), ve = // eslint-disable-next-line unicorn/prefer-includes
241
- fa.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? ga : e.PARSER_MEDIA_TYPE, M = ve === "application/xhtml+xml" ? et : Ue, p = V(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, M) : _, A = V(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, M) : ge, Xe = V(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, et) : ha, Ye = V(e, "ADD_URI_SAFE_ATTR") ? f(B(bt), e.ADD_URI_SAFE_ATTR, M) : bt, gt = V(e, "ADD_DATA_URI_TAGS") ? f(B(wt), e.ADD_DATA_URI_TAGS, M) : wt, ie = V(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, M) : ft, we = V(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, M) : B({}), je = V(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, M) : B({}), ne = V(e, "USE_PROFILES") ? e.USE_PROFILES : !1, dt = e.ALLOW_ARIA_ATTR !== !1, We = e.ALLOW_DATA_ATTR !== !1, mt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, re = e.SAFE_FOR_TEMPLATES || !1, Le = e.SAFE_FOR_XML !== !1, Q = e.WHOLE_DOCUMENT || !1, oe = e.RETURN_DOM || !1, Me = e.RETURN_DOM_FRAGMENT || !1, Ne = e.RETURN_TRUSTED_TYPE || !1, Ge = e.FORCE_BODY || !1, ht = e.SANITIZE_DOM !== !1, ut = e.SANITIZE_NAMED_PROPS || !1, Be = e.KEEP_CONTENT !== !1, be = e.IN_PLACE || !1, b = e.ALLOWED_URI_REGEXP || Xt, le = e.NAMESPACE || W, Oe = e.MATHML_TEXT_INTEGRATION_POINTS || Oe, He = e.HTML_INTEGRATION_POINTS || He, y = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && vt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (y.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && vt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (y.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (y.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), re && (We = !1), Me && (oe = !0), ne && (p = f({}, Ht), A = [], ne.html === !0 && (f(p, Ot), f(A, Dt)), ne.svg === !0 && (f(p, tt), f(A, ot), f(A, Pe)), ne.svgFilters === !0 && (f(p, at), f(A, ot), f(A, Pe)), ne.mathMl === !0 && (f(p, rt), f(A, Pt), f(A, Pe))), e.ADD_TAGS && (p === _ && (p = B(p)), f(p, e.ADD_TAGS, M)), e.ADD_ATTR && (A === ge && (A = B(A)), f(A, e.ADD_ATTR, M)), e.ADD_URI_SAFE_ATTR && f(Ye, e.ADD_URI_SAFE_ATTR, M), e.FORBID_CONTENTS && (ie === ft && (ie = B(ie)), f(ie, e.FORBID_CONTENTS, M)), Be && (p["#text"] = !0), Q && f(p, ["html", "head", "body"]), p.table && (f(p, ["tbody"]), delete we.tbody), e.TRUSTED_TYPES_POLICY) {
239
+ if (!(ce && ce === e)) {
240
+ if ((!e || typeof e != "object") && (e = {}), e = Y(e), ve = // eslint-disable-next-line unicorn/prefer-includes
241
+ ga.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? wa : e.PARSER_MEDIA_TYPE, M = ve === "application/xhtml+xml" ? at : ze, h = V(e, "ALLOWED_TAGS") ? w({}, e.ALLOWED_TAGS, M) : E, A = V(e, "ALLOWED_ATTR") ? w({}, e.ALLOWED_ATTR, M) : ge, Je = V(e, "ALLOWED_NAMESPACES") ? w({}, e.ALLOWED_NAMESPACES, at) : ua, Xe = V(e, "ADD_URI_SAFE_ATTR") ? w(Y(xt), e.ADD_URI_SAFE_ATTR, M) : xt, bt = V(e, "ADD_DATA_URI_TAGS") ? w(Y(vt), e.ADD_DATA_URI_TAGS, M) : vt, ie = V(e, "FORBID_CONTENTS") ? w({}, e.FORBID_CONTENTS, M) : wt, we = V(e, "FORBID_TAGS") ? w({}, e.FORBID_TAGS, M) : Y({}), $e = V(e, "FORBID_ATTR") ? w({}, e.FORBID_ATTR, M) : Y({}), ne = V(e, "USE_PROFILES") ? e.USE_PROFILES : !1, pt = e.ALLOW_ARIA_ATTR !== !1, Ge = e.ALLOW_DATA_ATTR !== !1, ht = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ut = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, re = e.SAFE_FOR_TEMPLATES || !1, Me = e.SAFE_FOR_XML !== !1, Q = e.WHOLE_DOCUMENT || !1, oe = e.RETURN_DOM || !1, Ce = e.RETURN_DOM_FRAGMENT || !1, Ne = e.RETURN_TRUSTED_TYPE || !1, Ye = e.FORCE_BODY || !1, ft = e.SANITIZE_DOM !== !1, gt = e.SANITIZE_NAMED_PROPS || !1, qe = e.KEEP_CONTENT !== !1, be = e.IN_PLACE || !1, v = e.ALLOWED_URI_REGEXP || Jt, le = e.NAMESPACE || $, He = e.MATHML_TEXT_INTEGRATION_POINTS || He, Pe = e.HTML_INTEGRATION_POINTS || Pe, y = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (y.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (y.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (y.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), re && (Ge = !1), Ce && (oe = !0), ne && (h = w({}, Ut), A = [], ne.html === !0 && (w(h, Dt), w(A, zt)), ne.svg === !0 && (w(h, rt), w(A, it), w(A, Ue)), ne.svgFilters === !0 && (w(h, ot), w(A, it), w(A, Ue)), ne.mathMl === !0 && (w(h, nt), w(A, Ft), w(A, Ue))), e.ADD_TAGS && (h === E && (h = Y(h)), w(h, e.ADD_TAGS, M)), e.ADD_ATTR && (A === ge && (A = Y(A)), w(A, e.ADD_ATTR, M)), e.ADD_URI_SAFE_ATTR && w(Xe, e.ADD_URI_SAFE_ATTR, M), e.FORBID_CONTENTS && (ie === wt && (ie = Y(ie)), w(ie, e.FORBID_CONTENTS, M)), qe && (h["#text"] = !0), Q && w(h, ["html", "head", "body"]), h.table && (w(h, ["tbody"]), delete we.tbody), e.TRUSTED_TYPES_POLICY) {
242
242
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
243
243
  throw _e('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
244
244
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
245
245
  throw _e('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
246
- k = e.TRUSTED_TYPES_POLICY, q = k.createHTML("");
246
+ k = e.TRUSTED_TYPES_POLICY, X = k.createHTML("");
247
247
  } else
248
- k === void 0 && (k = ja(S, u)), k !== null && typeof q == "string" && (q = k.createHTML(""));
249
- H && H(e), se = e;
248
+ k === void 0 && (k = ja(S, f)), k !== null && typeof X == "string" && (X = k.createHTML(""));
249
+ H && H(e), ce = e;
250
250
  }
251
- }, xt = f({}, [...tt, ...at, ...Ca]), yt = f({}, [...rt, ...Ia]), ba = function(e) {
252
- let o = Y(e);
251
+ }, Et = w({}, [...rt, ...ot, ...Na]), _t = w({}, [...nt, ...Ia]), va = function(e) {
252
+ let o = q(e);
253
253
  (!o || !o.tagName) && (o = {
254
254
  namespaceURI: le,
255
255
  tagName: "template"
256
256
  });
257
- const i = Ue(e.tagName), E = Ue(o.tagName);
258
- return Xe[e.namespaceURI] ? e.namespaceURI === Ie ? o.namespaceURI === W ? i === "svg" : o.namespaceURI === Ce ? i === "svg" && (E === "annotation-xml" || Oe[E]) : !!xt[i] : e.namespaceURI === Ce ? o.namespaceURI === W ? i === "math" : o.namespaceURI === Ie ? i === "math" && He[E] : !!yt[i] : e.namespaceURI === W ? o.namespaceURI === Ie && !He[E] || o.namespaceURI === Ce && !Oe[E] ? !1 : !yt[i] && (ua[i] || !xt[i]) : !!(ve === "application/xhtml+xml" && Xe[e.namespaceURI]) : !1;
257
+ const l = ze(e.tagName), _ = ze(o.tagName);
258
+ return Je[e.namespaceURI] ? e.namespaceURI === Oe ? o.namespaceURI === $ ? l === "svg" : o.namespaceURI === Ie ? l === "svg" && (_ === "annotation-xml" || He[_]) : !!Et[l] : e.namespaceURI === Ie ? o.namespaceURI === $ ? l === "math" : o.namespaceURI === Oe ? l === "math" && Pe[_] : !!_t[l] : e.namespaceURI === $ ? o.namespaceURI === Oe && !Pe[_] || o.namespaceURI === Ie && !He[_] ? !1 : !_t[l] && (fa[l] || !Et[l]) : !!(ve === "application/xhtml+xml" && Je[e.namespaceURI]) : !1;
259
259
  }, j = function(e) {
260
- ye(a.removed, {
260
+ ye(r.removed, {
261
261
  element: e
262
262
  });
263
263
  try {
264
- Y(e).removeChild(e);
264
+ q(e).removeChild(e);
265
265
  } catch {
266
266
  z(e);
267
267
  }
268
- }, ce = function(e, o) {
268
+ }, se = function(e, o) {
269
269
  try {
270
- ye(a.removed, {
270
+ ye(r.removed, {
271
271
  attribute: o.getAttributeNode(e),
272
272
  from: o
273
273
  });
274
274
  } catch {
275
- ye(a.removed, {
275
+ ye(r.removed, {
276
276
  attribute: null,
277
277
  from: o
278
278
  });
279
279
  }
280
280
  if (o.removeAttribute(e), e === "is")
281
- if (oe || Me)
281
+ if (oe || Ce)
282
282
  try {
283
283
  j(o);
284
284
  } catch {
@@ -288,97 +288,97 @@ function Jt() {
288
288
  o.setAttribute(e, "");
289
289
  } catch {
290
290
  }
291
- }, Et = function(e) {
292
- let o = null, i = null;
293
- if (Ge)
291
+ }, At = function(e) {
292
+ let o = null, l = null;
293
+ if (Ye)
294
294
  e = "<remove></remove>" + e;
295
295
  else {
296
- const R = It(e, /^[\r\n\t ]+/);
297
- i = R && R[0];
296
+ const R = Pt(e, /^[\r\n\t ]+/);
297
+ l = R && R[0];
298
298
  }
299
- ve === "application/xhtml+xml" && le === W && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
300
- const E = k ? k.createHTML(e) : e;
301
- if (le === W)
299
+ ve === "application/xhtml+xml" && le === $ && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
300
+ const _ = k ? k.createHTML(e) : e;
301
+ if (le === $)
302
302
  try {
303
- o = new U().parseFromString(E, ve);
303
+ o = new U().parseFromString(_, ve);
304
304
  } catch {
305
305
  }
306
306
  if (!o || !o.documentElement) {
307
307
  o = te.createDocument(le, "template", null);
308
308
  try {
309
- o.documentElement.innerHTML = qe ? q : E;
309
+ o.documentElement.innerHTML = Ke ? X : _;
310
310
  } catch {
311
311
  }
312
312
  }
313
- const N = o.body || o.documentElement;
314
- return e && i && N.insertBefore(s.createTextNode(i), N.childNodes[0] || null), le === W ? Ze.call(o, Q ? "html" : "body")[0] : Q ? o.documentElement : N;
315
- }, _t = function(e) {
316
- return Fe.call(
313
+ const C = o.body || o.documentElement;
314
+ return e && l && C.insertBefore(c.createTextNode(l), C.childNodes[0] || null), le === $ ? je.call(o, Q ? "html" : "body")[0] : Q ? o.documentElement : C;
315
+ }, kt = function(e) {
316
+ return Ve.call(
317
317
  e.ownerDocument || e,
318
318
  e,
319
319
  // eslint-disable-next-line no-bitwise
320
- n.SHOW_ELEMENT | n.SHOW_COMMENT | n.SHOW_TEXT | n.SHOW_PROCESSING_INSTRUCTION | n.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
- }, Je = function(e) {
324
- return e instanceof x && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof w) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
325
- }, At = function(e) {
323
+ }, et = function(e) {
324
+ return e instanceof x && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof u) || 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
326
  return typeof m == "function" && e instanceof m;
327
327
  };
328
- function $(c, e, o) {
329
- De(c, (i) => {
330
- i.call(a, e, o, se);
328
+ function G(s, e, o) {
329
+ De(s, (l) => {
330
+ l.call(r, e, o, ce);
331
331
  });
332
332
  }
333
- const kt = function(e) {
333
+ const Rt = function(e) {
334
334
  let o = null;
335
- if ($(L.beforeSanitizeElements, e, null), Je(e))
335
+ if (G(L.beforeSanitizeElements, e, null), et(e))
336
336
  return j(e), !0;
337
- const i = M(e.nodeName);
338
- if ($(L.uponSanitizeElement, e, {
339
- tagName: i,
340
- allowedTags: p
341
- }), Le && e.hasChildNodes() && !At(e.firstElementChild) && O(/<[/\w!]/g, e.innerHTML) && O(/<[/\w!]/g, e.textContent) || e.nodeType === ke.progressingInstruction || Le && e.nodeType === ke.comment && O(/<[/\w]/g, e.data))
337
+ const l = M(e.nodeName);
338
+ if (G(L.uponSanitizeElement, e, {
339
+ tagName: l,
340
+ allowedTags: h
341
+ }), Me && e.hasChildNodes() && !Tt(e.firstElementChild) && O(/<[/\w!]/g, e.innerHTML) && O(/<[/\w!]/g, e.textContent) || e.nodeType === ke.progressingInstruction || Me && e.nodeType === ke.comment && O(/<[/\w]/g, e.data))
342
342
  return j(e), !0;
343
- if (!p[i] || we[i]) {
344
- if (!we[i] && Rt(i) && (y.tagNameCheck instanceof RegExp && O(y.tagNameCheck, i) || y.tagNameCheck instanceof Function && y.tagNameCheck(i)))
343
+ if (!h[l] || we[l]) {
344
+ if (!we[l] && Lt(l) && (y.tagNameCheck instanceof RegExp && O(y.tagNameCheck, l) || y.tagNameCheck instanceof Function && y.tagNameCheck(l)))
345
345
  return !1;
346
- if (Be && !ie[i]) {
347
- const E = Y(e) || e.parentNode, N = ze(e) || e.childNodes;
348
- if (N && E) {
349
- const R = N.length;
350
- for (let P = R - 1; P >= 0; --P) {
351
- const G = I(N[P], !0);
352
- G.__removalCount = (e.__removalCount || 0) + 1, E.insertBefore(G, J(e));
346
+ if (qe && !ie[l]) {
347
+ const _ = q(e) || e.parentNode, C = Ze(e) || e.childNodes;
348
+ if (C && _) {
349
+ const R = C.length;
350
+ for (let D = R - 1; D >= 0; --D) {
351
+ const B = I(C[D], !0);
352
+ B.__removalCount = (e.__removalCount || 0) + 1, _.insertBefore(B, J(e));
353
353
  }
354
354
  }
355
355
  }
356
356
  return j(e), !0;
357
357
  }
358
- return e instanceof g && !ba(e) || (i === "noscript" || i === "noembed" || i === "noframes") && O(/<\/no(script|embed|frames)/i, e.innerHTML) ? (j(e), !0) : (re && e.nodeType === ke.text && (o = e.textContent, De([ae, he, ue], (E) => {
359
- o = Ee(o, E, " ");
360
- }), e.textContent !== o && (ye(a.removed, {
358
+ return e instanceof b && !va(e) || (l === "noscript" || l === "noembed" || l === "noframes") && O(/<\/no(script|embed|frames)/i, e.innerHTML) ? (j(e), !0) : (re && e.nodeType === ke.text && (o = e.textContent, De([ae, he, ue], (_) => {
359
+ o = Ee(o, _, " ");
360
+ }), e.textContent !== o && (ye(r.removed, {
361
361
  element: e.cloneNode()
362
- }), e.textContent = o)), $(L.afterSanitizeElements, e, null), !1);
363
- }, Tt = function(e, o, i) {
364
- if (ht && (o === "id" || o === "name") && (i in s || i in wa))
362
+ }), e.textContent = o)), G(L.afterSanitizeElements, e, null), !1);
363
+ }, St = function(e, o, l) {
364
+ if (ft && (o === "id" || o === "name") && (l in c || l in ba))
365
365
  return !1;
366
- if (!(We && !je[o] && O(Re, o))) {
367
- if (!(dt && O(Se, o))) {
368
- if (!A[o] || je[o]) {
366
+ if (!(Ge && !$e[o] && O(Se, o))) {
367
+ if (!(pt && O(Le, o))) {
368
+ if (!A[o] || $e[o]) {
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
- !(Rt(e) && (y.tagNameCheck instanceof RegExp && O(y.tagNameCheck, e) || y.tagNameCheck instanceof Function && y.tagNameCheck(e)) && (y.attributeNameCheck instanceof RegExp && O(y.attributeNameCheck, o) || y.attributeNameCheck instanceof Function && y.attributeNameCheck(o)) || // Alternative, second condition checks if it's an `is`-attribute, AND
373
+ !(Lt(e) && (y.tagNameCheck instanceof RegExp && O(y.tagNameCheck, e) || y.tagNameCheck instanceof Function && y.tagNameCheck(e)) && (y.attributeNameCheck instanceof RegExp && O(y.attributeNameCheck, o) || y.attributeNameCheck instanceof Function && y.attributeNameCheck(o)) || // 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
- o === "is" && y.allowCustomizedBuiltInElements && (y.tagNameCheck instanceof RegExp && O(y.tagNameCheck, i) || y.tagNameCheck instanceof Function && y.tagNameCheck(i)))
375
+ o === "is" && y.allowCustomizedBuiltInElements && (y.tagNameCheck instanceof RegExp && O(y.tagNameCheck, l) || y.tagNameCheck instanceof Function && y.tagNameCheck(l)))
376
376
  ) return !1;
377
- } else if (!Ye[o]) {
378
- if (!O(b, Ee(i, fe, ""))) {
379
- if (!((o === "src" || o === "xlink:href" || o === "href") && e !== "script" && Sa(i, "data:") === 0 && gt[e])) {
380
- if (!(mt && !O(Ve, Ee(i, fe, "")))) {
381
- if (i)
377
+ } else if (!Xe[o]) {
378
+ if (!O(v, Ee(l, fe, ""))) {
379
+ if (!((o === "src" || o === "xlink:href" || o === "href") && e !== "script" && Sa(l, "data:") === 0 && bt[e])) {
380
+ if (!(ht && !O(We, Ee(l, fe, "")))) {
381
+ if (l)
382
382
  return !1;
383
383
  }
384
384
  }
@@ -387,146 +387,146 @@ function Jt() {
387
387
  }
388
388
  }
389
389
  return !0;
390
- }, Rt = function(e) {
391
- return e !== "annotation-xml" && It(e, d);
392
- }, St = function(e) {
393
- $(L.beforeSanitizeAttributes, e, null);
390
+ }, Lt = function(e) {
391
+ return e !== "annotation-xml" && Pt(e, d);
392
+ }, Mt = function(e) {
393
+ G(L.beforeSanitizeAttributes, e, null);
394
394
  const {
395
395
  attributes: o
396
396
  } = e;
397
- if (!o || Je(e))
397
+ if (!o || et(e))
398
398
  return;
399
- const i = {
399
+ const l = {
400
400
  attrName: "",
401
401
  attrValue: "",
402
402
  keepAttr: !0,
403
403
  allowedAttributes: A,
404
404
  forceKeepAttr: void 0
405
405
  };
406
- let E = o.length;
407
- for (; E--; ) {
408
- const N = o[E], {
406
+ let _ = o.length;
407
+ for (; _--; ) {
408
+ const C = o[_], {
409
409
  name: R,
410
- namespaceURI: P,
411
- value: G
412
- } = N, xe = M(R), Qe = G;
413
- let C = R === "value" ? Qe : La(Qe);
414
- if (i.attrName = xe, i.attrValue = C, i.keepAttr = !0, i.forceKeepAttr = void 0, $(L.uponSanitizeAttribute, e, i), C = i.attrValue, ut && (xe === "id" || xe === "name") && (ce(R, e), C = pa + C), Le && O(/((--!?|])>)|<\/(style|title)/i, C)) {
415
- ce(R, e);
410
+ namespaceURI: D,
411
+ value: B
412
+ } = C, xe = M(R), tt = B;
413
+ let N = R === "value" ? tt : La(tt);
414
+ if (l.attrName = xe, l.attrValue = N, l.keepAttr = !0, l.forceKeepAttr = void 0, G(L.uponSanitizeAttribute, e, l), N = l.attrValue, gt && (xe === "id" || xe === "name") && (se(R, e), N = ha + N), Me && O(/((--!?|])>)|<\/(style|title)/i, N)) {
415
+ se(R, e);
416
416
  continue;
417
417
  }
418
- if (i.forceKeepAttr)
418
+ if (l.forceKeepAttr)
419
419
  continue;
420
- if (!i.keepAttr) {
421
- ce(R, e);
420
+ if (!l.keepAttr) {
421
+ se(R, e);
422
422
  continue;
423
423
  }
424
- if (!pt && O(/\/>/i, C)) {
425
- ce(R, e);
424
+ if (!ut && O(/\/>/i, N)) {
425
+ se(R, e);
426
426
  continue;
427
427
  }
428
- re && De([ae, he, ue], (Mt) => {
429
- C = Ee(C, Mt, " ");
428
+ re && De([ae, he, ue], (Nt) => {
429
+ N = Ee(N, Nt, " ");
430
430
  });
431
- const Lt = M(e.nodeName);
432
- if (!Tt(Lt, xe, C)) {
433
- ce(R, e);
431
+ const Ct = M(e.nodeName);
432
+ if (!St(Ct, xe, N)) {
433
+ se(R, e);
434
434
  continue;
435
435
  }
436
- if (k && typeof S == "object" && typeof S.getAttributeType == "function" && !P)
437
- switch (S.getAttributeType(Lt, xe)) {
436
+ if (k && typeof S == "object" && typeof S.getAttributeType == "function" && !D)
437
+ switch (S.getAttributeType(Ct, xe)) {
438
438
  case "TrustedHTML": {
439
- C = k.createHTML(C);
439
+ N = k.createHTML(N);
440
440
  break;
441
441
  }
442
442
  case "TrustedScriptURL": {
443
- C = k.createScriptURL(C);
443
+ N = k.createScriptURL(N);
444
444
  break;
445
445
  }
446
446
  }
447
- if (C !== Qe)
447
+ if (N !== tt)
448
448
  try {
449
- P ? e.setAttributeNS(P, R, C) : e.setAttribute(R, C), Je(e) ? j(e) : Ct(a.removed);
449
+ D ? e.setAttributeNS(D, R, N) : e.setAttribute(R, N), et(e) ? j(e) : Ht(r.removed);
450
450
  } catch {
451
- ce(R, e);
451
+ se(R, e);
452
452
  }
453
453
  }
454
- $(L.afterSanitizeAttributes, e, null);
455
- }, va = function c(e) {
454
+ G(L.afterSanitizeAttributes, e, null);
455
+ }, xa = function s(e) {
456
456
  let o = null;
457
- const i = _t(e);
458
- for ($(L.beforeSanitizeShadowDOM, e, null); o = i.nextNode(); )
459
- $(L.uponSanitizeShadowNode, o, null), kt(o), St(o), o.content instanceof h && c(o.content);
460
- $(L.afterSanitizeShadowDOM, e, null);
457
+ const l = kt(e);
458
+ for (G(L.beforeSanitizeShadowDOM, e, null); o = l.nextNode(); )
459
+ G(L.uponSanitizeShadowNode, o, null), Rt(o), Mt(o), o.content instanceof p && s(o.content);
460
+ G(L.afterSanitizeShadowDOM, e, null);
461
461
  };
462
- return a.sanitize = function(c) {
463
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = null, i = null, E = null, N = null;
464
- if (qe = !c, qe && (c = "<!-->"), typeof c != "string" && !At(c))
465
- if (typeof c.toString == "function") {
466
- if (c = c.toString(), typeof c != "string")
462
+ return r.sanitize = function(s) {
463
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = null, l = null, _ = null, C = null;
464
+ if (Ke = !s, Ke && (s = "<!-->"), typeof s != "string" && !Tt(s))
465
+ if (typeof s.toString == "function") {
466
+ if (s = s.toString(), typeof s != "string")
467
467
  throw _e("dirty is not a string, aborting");
468
468
  } else
469
469
  throw _e("toString is not a function");
470
- if (!a.isSupported)
471
- return c;
472
- if ($e || Ke(e), a.removed = [], typeof c == "string" && (be = !1), be) {
473
- if (c.nodeName) {
474
- const G = M(c.nodeName);
475
- if (!p[G] || we[G])
470
+ if (!r.isSupported)
471
+ return s;
472
+ if (Be || Qe(e), r.removed = [], typeof s == "string" && (be = !1), be) {
473
+ if (s.nodeName) {
474
+ const B = M(s.nodeName);
475
+ if (!h[B] || we[B])
476
476
  throw _e("root node is forbidden and cannot be sanitized in-place");
477
477
  }
478
- } else if (c instanceof m)
479
- o = Et("<!---->"), i = o.ownerDocument.importNode(c, !0), i.nodeType === ke.element && i.nodeName === "BODY" || i.nodeName === "HTML" ? o = i : o.appendChild(i);
478
+ } else if (s instanceof m)
479
+ o = At("<!---->"), l = o.ownerDocument.importNode(s, !0), l.nodeType === ke.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? o = l : o.appendChild(l);
480
480
  else {
481
481
  if (!oe && !re && !Q && // eslint-disable-next-line unicorn/prefer-includes
482
- c.indexOf("<") === -1)
483
- return k && Ne ? k.createHTML(c) : c;
484
- if (o = Et(c), !o)
485
- return oe ? null : Ne ? q : "";
482
+ s.indexOf("<") === -1)
483
+ return k && Ne ? k.createHTML(s) : s;
484
+ if (o = At(s), !o)
485
+ return oe ? null : Ne ? X : "";
486
486
  }
487
- o && Ge && j(o.firstChild);
488
- const R = _t(be ? c : o);
489
- for (; E = R.nextNode(); )
490
- kt(E), St(E), E.content instanceof h && va(E.content);
487
+ o && Ye && j(o.firstChild);
488
+ const R = kt(be ? s : o);
489
+ for (; _ = R.nextNode(); )
490
+ Rt(_), Mt(_), _.content instanceof p && xa(_.content);
491
491
  if (be)
492
- return c;
492
+ return s;
493
493
  if (oe) {
494
- if (Me)
495
- for (N = pe.call(o.ownerDocument); o.firstChild; )
496
- N.appendChild(o.firstChild);
494
+ if (Ce)
495
+ for (C = pe.call(o.ownerDocument); o.firstChild; )
496
+ C.appendChild(o.firstChild);
497
497
  else
498
- N = o;
499
- return (A.shadowroot || A.shadowrootmode) && (N = Te.call(l, N, !0)), N;
498
+ C = o;
499
+ return (A.shadowroot || A.shadowrootmode) && (C = Re.call(n, C, !0)), C;
500
500
  }
501
- let P = Q ? o.outerHTML : o.innerHTML;
502
- return Q && p["!doctype"] && o.ownerDocument && o.ownerDocument.doctype && o.ownerDocument.doctype.name && O(Kt, o.ownerDocument.doctype.name) && (P = "<!DOCTYPE " + o.ownerDocument.doctype.name + `>
503
- ` + P), re && De([ae, he, ue], (G) => {
504
- P = Ee(P, G, " ");
505
- }), k && Ne ? k.createHTML(P) : P;
506
- }, a.setConfig = function() {
507
- let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
508
- Ke(c), $e = !0;
509
- }, a.clearConfig = function() {
510
- se = null, $e = !1;
511
- }, a.isValidAttribute = function(c, e, o) {
512
- se || Ke({});
513
- const i = M(c), E = M(e);
514
- return Tt(i, E, o);
515
- }, a.addHook = function(c, e) {
516
- typeof e == "function" && ye(L[c], e);
517
- }, a.removeHook = function(c, e) {
501
+ let D = Q ? o.outerHTML : o.innerHTML;
502
+ return Q && h["!doctype"] && o.ownerDocument && o.ownerDocument.doctype && o.ownerDocument.doctype.name && O(Qt, o.ownerDocument.doctype.name) && (D = "<!DOCTYPE " + o.ownerDocument.doctype.name + `>
503
+ ` + D), re && De([ae, he, ue], (B) => {
504
+ D = Ee(D, B, " ");
505
+ }), k && Ne ? k.createHTML(D) : D;
506
+ }, r.setConfig = function() {
507
+ let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
508
+ Qe(s), Be = !0;
509
+ }, r.clearConfig = function() {
510
+ ce = null, Be = !1;
511
+ }, r.isValidAttribute = function(s, e, o) {
512
+ ce || Qe({});
513
+ const l = M(s), _ = M(e);
514
+ return St(l, _, o);
515
+ }, r.addHook = function(s, e) {
516
+ typeof e == "function" && ye(L[s], e);
517
+ }, r.removeHook = function(s, e) {
518
518
  if (e !== void 0) {
519
- const o = Ta(L[c], e);
520
- return o === -1 ? void 0 : Ra(L[c], o, 1)[0];
519
+ const o = Ta(L[s], e);
520
+ return o === -1 ? void 0 : Ra(L[s], o, 1)[0];
521
521
  }
522
- return Ct(L[c]);
523
- }, a.removeHooks = function(c) {
524
- L[c] = [];
525
- }, a.removeAllHooks = function() {
526
- L = zt();
527
- }, a;
522
+ return Ht(L[s]);
523
+ }, r.removeHooks = function(s) {
524
+ L[s] = [];
525
+ }, r.removeAllHooks = function() {
526
+ L = Vt();
527
+ }, r;
528
528
  }
529
- var Ft = Jt();
529
+ var jt = ea();
530
530
  const Wa = /* @__PURE__ */ new Map([
531
531
  [
532
532
  "bold",
@@ -689,24 +689,24 @@ const Wa = /* @__PURE__ */ new Map([
689
689
  "thin",
690
690
  /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.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
- ]), Xa = xa({
692
+ ]), Xa = ya({
693
693
  color: "currentColor",
694
694
  size: "1em",
695
695
  weight: "regular",
696
696
  mirrored: !1
697
697
  }), ee = t.forwardRef(
698
- (r, a) => {
698
+ (a, r) => {
699
699
  const {
700
- alt: s,
701
- color: l,
702
- size: u,
703
- weight: h,
704
- mirrored: v,
700
+ alt: c,
701
+ color: n,
702
+ size: f,
703
+ weight: p,
704
+ mirrored: g,
705
705
  children: m,
706
- weights: g,
707
- ...n
708
- } = r, {
709
- color: w = "currentColor",
706
+ weights: b,
707
+ ...i
708
+ } = a, {
709
+ color: u = "currentColor",
710
710
  size: x,
711
711
  weight: U = "regular",
712
712
  mirrored: S = !1,
@@ -715,39 +715,39 @@ const Wa = /* @__PURE__ */ new Map([
715
715
  return /* @__PURE__ */ t.createElement(
716
716
  "svg",
717
717
  {
718
- ref: a,
718
+ ref: r,
719
719
  xmlns: "http://www.w3.org/2000/svg",
720
- width: u ?? x,
721
- height: u ?? x,
722
- fill: l ?? w,
720
+ width: f ?? x,
721
+ height: f ?? x,
722
+ fill: n ?? u,
723
723
  viewBox: "0 0 256 256",
724
- transform: v || S ? "scale(-1, 1)" : void 0,
724
+ transform: g || S ? "scale(-1, 1)" : void 0,
725
725
  ...T,
726
- ...n
726
+ ...i
727
727
  },
728
- !!s && /* @__PURE__ */ t.createElement("title", null, s),
728
+ !!c && /* @__PURE__ */ t.createElement("title", null, c),
729
729
  m,
730
- g.get(h ?? U)
730
+ b.get(p ?? U)
731
731
  );
732
732
  }
733
733
  );
734
734
  ee.displayName = "IconBase";
735
- const Qt = t.forwardRef((r, a) => /* @__PURE__ */ t.createElement(ee, { ref: a, ...r, weights: Wa }));
736
- Qt.displayName = "ArrowLeftIcon";
737
- const ea = t.forwardRef((r, a) => /* @__PURE__ */ t.createElement(ee, { ref: a, ...r, weights: $a }));
738
- ea.displayName = "ArrowsClockwiseIcon";
739
- const ta = t.forwardRef((r, a) => /* @__PURE__ */ t.createElement(ee, { ref: a, ...r, weights: Ga }));
740
- ta.displayName = "CarIcon";
741
- const aa = t.forwardRef((r, a) => /* @__PURE__ */ t.createElement(ee, { ref: a, ...r, weights: Ba }));
742
- aa.displayName = "CircleNotchIcon";
743
- const ra = t.forwardRef((r, a) => /* @__PURE__ */ t.createElement(ee, { ref: a, ...r, weights: Ya }));
744
- ra.displayName = "XIcon";
745
- const oa = t.forwardRef((r, a) => /* @__PURE__ */ t.createElement(ee, { ref: a, ...r, weights: qa }));
746
- oa.displayName = "XCircleIcon";
747
- function na(r) {
748
- return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
735
+ const ta = t.forwardRef((a, r) => /* @__PURE__ */ t.createElement(ee, { ref: r, ...a, weights: Wa }));
736
+ ta.displayName = "ArrowLeftIcon";
737
+ const aa = t.forwardRef((a, r) => /* @__PURE__ */ t.createElement(ee, { ref: r, ...a, weights: $a }));
738
+ aa.displayName = "ArrowsClockwiseIcon";
739
+ const ra = t.forwardRef((a, r) => /* @__PURE__ */ t.createElement(ee, { ref: r, ...a, weights: Ga }));
740
+ ra.displayName = "CarIcon";
741
+ const oa = t.forwardRef((a, r) => /* @__PURE__ */ t.createElement(ee, { ref: r, ...a, weights: Ba }));
742
+ oa.displayName = "CircleNotchIcon";
743
+ const na = t.forwardRef((a, r) => /* @__PURE__ */ t.createElement(ee, { ref: r, ...a, weights: Ya }));
744
+ na.displayName = "XIcon";
745
+ const ia = t.forwardRef((a, r) => /* @__PURE__ */ t.createElement(ee, { ref: r, ...a, weights: qa }));
746
+ ia.displayName = "XCircleIcon";
747
+ function la(a) {
748
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
749
749
  }
750
- var ia = { exports: {} };
750
+ var ca = { exports: {} };
751
751
  /*!
752
752
  * JavaScript Cookie v2.2.1
753
753
  * https://github.com/js-cookie/js-cookie
@@ -755,154 +755,154 @@ var ia = { exports: {} };
755
755
  * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
756
756
  * Released under the MIT license
757
757
  */
758
- (function(r, a) {
759
- (function(s) {
760
- var l;
761
- if (r.exports = s(), l = !0, !l) {
762
- var u = window.Cookies, h = window.Cookies = s();
763
- h.noConflict = function() {
764
- return window.Cookies = u, h;
758
+ (function(a, r) {
759
+ (function(c) {
760
+ var n;
761
+ if (a.exports = c(), n = !0, !n) {
762
+ var f = window.Cookies, p = window.Cookies = c();
763
+ p.noConflict = function() {
764
+ return window.Cookies = f, p;
765
765
  };
766
766
  }
767
767
  })(function() {
768
- function s() {
769
- for (var h = 0, v = {}; h < arguments.length; h++) {
770
- var m = arguments[h];
771
- for (var g in m)
772
- v[g] = m[g];
768
+ function c() {
769
+ for (var p = 0, g = {}; p < arguments.length; p++) {
770
+ var m = arguments[p];
771
+ for (var b in m)
772
+ g[b] = m[b];
773
773
  }
774
- return v;
774
+ return g;
775
775
  }
776
- function l(h) {
777
- return h.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
776
+ function n(p) {
777
+ return p.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
778
778
  }
779
- function u(h) {
780
- function v() {
779
+ function f(p) {
780
+ function g() {
781
781
  }
782
- function m(n, w, x) {
782
+ function m(i, u, x) {
783
783
  if (!(typeof document > "u")) {
784
- x = s({
784
+ x = c({
785
785
  path: "/"
786
- }, v.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
+ }, g.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
- var U = JSON.stringify(w);
789
- /^[\{\[]/.test(U) && (w = U);
788
+ var U = JSON.stringify(u);
789
+ /^[\{\[]/.test(U) && (u = U);
790
790
  } catch {
791
791
  }
792
- w = h.write ? h.write(w, n) : encodeURIComponent(String(w)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), n = encodeURIComponent(String(n)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
792
+ u = p.write ? p.write(u, i) : encodeURIComponent(String(u)).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
793
  var S = "";
794
794
  for (var T in x)
795
795
  x[T] && (S += "; " + T, x[T] !== !0 && (S += "=" + x[T].split(";")[0]));
796
- return document.cookie = n + "=" + w + S;
796
+ return document.cookie = i + "=" + u + S;
797
797
  }
798
798
  }
799
- function g(n, w) {
799
+ function b(i, u) {
800
800
  if (!(typeof document > "u")) {
801
801
  for (var x = {}, U = document.cookie ? document.cookie.split("; ") : [], S = 0; S < U.length; S++) {
802
802
  var T = U[S].split("="), I = T.slice(1).join("=");
803
- !w && I.charAt(0) === '"' && (I = I.slice(1, -1));
803
+ !u && I.charAt(0) === '"' && (I = I.slice(1, -1));
804
804
  try {
805
- var z = l(T[0]);
806
- if (I = (h.read || h)(I, z) || l(I), w)
805
+ var z = n(T[0]);
806
+ if (I = (p.read || p)(I, z) || n(I), u)
807
807
  try {
808
808
  I = JSON.parse(I);
809
809
  } catch {
810
810
  }
811
- if (x[z] = I, n === z)
811
+ if (x[z] = I, i === z)
812
812
  break;
813
813
  } catch {
814
814
  }
815
815
  }
816
- return n ? x[n] : x;
816
+ return i ? x[i] : x;
817
817
  }
818
818
  }
819
- return v.set = m, v.get = function(n) {
820
- return g(
821
- n,
819
+ return g.set = m, g.get = function(i) {
820
+ return b(
821
+ i,
822
822
  !1
823
823
  /* read as raw */
824
824
  );
825
- }, v.getJSON = function(n) {
826
- return g(
827
- n,
825
+ }, g.getJSON = function(i) {
826
+ return b(
827
+ i,
828
828
  !0
829
829
  /* read as json */
830
830
  );
831
- }, v.remove = function(n, w) {
832
- m(n, "", s(w, {
831
+ }, g.remove = function(i, u) {
832
+ m(i, "", c(u, {
833
833
  expires: -1
834
834
  }));
835
- }, v.defaults = {}, v.withConverter = u, v;
835
+ }, g.defaults = {}, g.withConverter = f, g;
836
836
  }
837
- return u(function() {
837
+ return f(function() {
838
838
  });
839
839
  });
840
- })(ia);
841
- var Ka = ia.exports;
842
- const nt = /* @__PURE__ */ na(Ka);
843
- var la = { exports: {} }, Ja = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", Qa = Ja, er = Qa;
844
- function sa() {
840
+ })(ca);
841
+ var Ka = ca.exports;
842
+ const lt = /* @__PURE__ */ la(Ka);
843
+ var sa = { exports: {} }, Ja = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", Qa = Ja, er = Qa;
844
+ function da() {
845
845
  }
846
- function ca() {
846
+ function ma() {
847
847
  }
848
- ca.resetWarningCache = sa;
848
+ ma.resetWarningCache = da;
849
849
  var tr = function() {
850
- function r(l, u, h, v, m, g) {
851
- if (g !== er) {
852
- var n = new Error(
850
+ function a(n, f, p, g, m, b) {
851
+ if (b !== er) {
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 n.name = "Invariant Violation", n;
855
+ throw i.name = "Invariant Violation", i;
856
856
  }
857
857
  }
858
- r.isRequired = r;
859
- function a() {
860
- return r;
858
+ a.isRequired = a;
859
+ function r() {
860
+ return a;
861
861
  }
862
- var s = {
863
- array: r,
864
- bigint: r,
865
- bool: r,
866
- func: r,
867
- number: r,
868
- object: r,
869
- string: r,
870
- symbol: r,
871
- any: r,
872
- arrayOf: a,
873
- element: r,
874
- elementType: r,
875
- instanceOf: a,
876
- node: r,
877
- objectOf: a,
878
- oneOf: a,
879
- oneOfType: a,
880
- shape: a,
881
- exact: a,
882
- checkPropTypes: ca,
883
- resetWarningCache: sa
862
+ var c = {
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
+ arrayOf: r,
873
+ element: a,
874
+ elementType: a,
875
+ instanceOf: r,
876
+ node: a,
877
+ objectOf: r,
878
+ oneOf: r,
879
+ oneOfType: r,
880
+ shape: r,
881
+ exact: r,
882
+ checkPropTypes: ma,
883
+ resetWarningCache: da
884
884
  };
885
- return s.PropTypes = s, s;
885
+ return c.PropTypes = c, c;
886
886
  };
887
- la.exports = tr();
888
- var ar = la.exports;
889
- const Z = /* @__PURE__ */ na(ar);
890
- function da({ error: r }) {
887
+ sa.exports = tr();
888
+ var ar = sa.exports;
889
+ const Z = /* @__PURE__ */ la(ar);
890
+ function pa({ 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
- oa,
892
+ ia,
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" }, r))));
899
+ )), /* @__PURE__ */ React.createElement("div", { className: "ml-3" }, /* @__PURE__ */ React.createElement("h3", { className: "text-sm font-medium text-red-800" }, a))));
900
900
  }
901
- da.propTypes = {
901
+ pa.propTypes = {
902
902
  error: Z.string.isRequired
903
903
  };
904
- function rr({ className: r, alt: a = "Partbot Logo" }) {
905
- return /* @__PURE__ */ React.createElement("span", { className: r, role: "img", "aria-label": a }, /* @__PURE__ */ React.createElement(
904
+ function rr({ className: a, alt: r = "Partbot Logo" }) {
905
+ return /* @__PURE__ */ React.createElement("span", { className: a, role: "img", "aria-label": r }, /* @__PURE__ */ React.createElement(
906
906
  "svg",
907
907
  {
908
908
  xmlns: "http://www.w3.org/2000/svg",
@@ -981,27 +981,33 @@ function rr({ className: r, alt: a = "Partbot Logo" }) {
981
981
  ))
982
982
  ));
983
983
  }
984
- const Zt = ["ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"], Vt = "https://api.partbot.io/v1/vehicles/plate-search", jt = "https://api.partbot.io/v1/vehicles/plate-search-retry";
985
- function ma(r) {
986
- const [a, s] = X(!1), [l, u] = X(!1), [h, v] = X(""), [m, g] = X(""), [n, w] = X(null), [x, U] = X(!1), S = ya(null), [T, I] = X(Vt), [z, J] = X(null), ze = r.apiKey, Y = r.callbackUrl, k = r.productsUrl, q = r.useGeolocation === "true", te = r.themeColor || "#4f46e5", Fe = r.buttonTheme || "light", pe = r.responsive, Ze = r.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", Te = r.placeholder || "PL8SRCH", L = r.supportMessage;
987
- K(() => {
984
+ const or = "3.1.1", dt = {
985
+ version: or
986
+ }, Wt = ["ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"], $t = "https://api.partbot.io/v1/vehicles/plate-search", Gt = "https://api.partbot.io/v1/vehicles/plate-search-retry";
987
+ function Fe(a) {
988
+ const [r, c] = K(!1), [n, f] = K(!1), [p, g] = K(""), [m, b] = K(""), [i, u] = K(null), [x, U] = K(!1), S = Te(null), [T, I] = K($t), [z, J] = K(null), Ze = a.apiKey, q = a.callbackUrl, k = a.productsUrl, X = a.useGeolocation === "true", te = a.themeColor || "#4f46e5", Ve = a.buttonTheme || "light", pe = a.responsive !== void 0 ? a.responsive : !0, je = a.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", Re = a.placeholder || "PL8SRCH", L = a.supportMessage;
989
+ W(() => {
990
+ console.info(
991
+ `Vehicle Registration Search (v${dt.version}) powered by Partbot https://use.partbot.io`
992
+ );
993
+ }, []), W(() => {
988
994
  const d = localStorage.getItem(
989
995
  "partbot_selected_vehicle"
990
996
  );
991
997
  if (d) {
992
- const b = JSON.parse(d);
993
- b.description && (b.vehicle_ids.length > 0 || Object.values(b.vehicle).every(
994
- (p) => p !== null && p !== "" && (typeof p != "object" || Object.keys(p).length > 0)
995
- )) && J(b);
998
+ const v = JSON.parse(d);
999
+ v.description && (v.vehicle_ids.length > 0 || Object.values(v.vehicle).every(
1000
+ (h) => h !== null && h !== "" && (typeof h != "object" || Object.keys(h).length > 0)
1001
+ )) && J(v);
996
1002
  }
997
- }, []), K(() => {
1003
+ }, []), W(() => {
998
1004
  document.documentElement.style.setProperty("--partbot-theme", te);
999
- }, [te]), K(() => {
1000
- a && q && "geolocation" in navigator && navigator.geolocation.getCurrentPosition(async function(d) {
1001
- const { latitude: b, longitude: p } = d.coords;
1005
+ }, [te]), W(() => {
1006
+ r && X && "geolocation" in navigator && navigator.geolocation.getCurrentPosition(async function(d) {
1007
+ const { latitude: v, longitude: h } = d.coords;
1002
1008
  try {
1003
1009
  const A = await (await fetch(
1004
- `https://maps.googleapis.com/maps/api/geocode/json?latlng=${b},${p}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
1010
+ `https://maps.googleapis.com/maps/api/geocode/json?latlng=${v},${h}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
1005
1011
  )).json();
1006
1012
  if (A.results && A.results[0]) {
1007
1013
  const ge = A.results[0].address_components.find(
@@ -1009,35 +1015,35 @@ function ma(r) {
1009
1015
  );
1010
1016
  if (ge) {
1011
1017
  const y = ge.short_name;
1012
- g(y);
1018
+ b(y);
1013
1019
  }
1014
1020
  }
1015
- } catch (_) {
1016
- console.error("Geocoding error:", _);
1021
+ } catch (E) {
1022
+ console.error("Geocoding error:", E);
1017
1023
  }
1018
1024
  });
1019
- }, [q, a]), K(() => {
1025
+ }, [X, r]), W(() => {
1020
1026
  let d = localStorage.getItem("partbot_plate_details");
1021
- d && (d = JSON.parse(d), d.plate ? v(d.plate.number) : localStorage.removeItem("partbot_plate_details"));
1022
- }, []), K(() => {
1023
- a && !l && u(!0), a && S.current && S.current.focus();
1024
- }, [a, l]), K(() => {
1025
- if (a) {
1026
- const d = document.documentElement.style.overflow, b = document.documentElement.style.paddingRight, p = window.innerWidth - document.documentElement.clientWidth;
1027
- return p > 0 && (document.documentElement.style.paddingRight = `${p}px`), document.documentElement.style.overflow = "hidden", () => {
1028
- document.documentElement.style.overflow = d, document.documentElement.style.paddingRight = b;
1027
+ d && (d = JSON.parse(d), d.plate ? g(d.plate.number) : localStorage.removeItem("partbot_plate_details"));
1028
+ }, []), W(() => {
1029
+ r && !n && f(!0), r && S.current && S.current.focus();
1030
+ }, [r, n]), W(() => {
1031
+ if (r) {
1032
+ const d = document.documentElement.style.overflow, v = document.documentElement.style.paddingRight, h = window.innerWidth - document.documentElement.clientWidth;
1033
+ return h > 0 && (document.documentElement.style.paddingRight = `${h}px`), document.documentElement.style.overflow = "hidden", () => {
1034
+ document.documentElement.style.overflow = d, document.documentElement.style.paddingRight = v;
1029
1035
  };
1030
1036
  }
1031
- }, [a]);
1037
+ }, [r]);
1032
1038
  const ae = (d) => {
1033
- if (d && d.preventDefault(), !m || !h)
1039
+ if (d && d.preventDefault(), !m || !p)
1034
1040
  return;
1035
1041
  U(!0);
1036
- const b = {
1037
- plate: h,
1042
+ const v = {
1043
+ plate: p,
1038
1044
  state: m
1039
1045
  };
1040
- async function p() {
1046
+ async function h() {
1041
1047
  return (await fetch(T, {
1042
1048
  method: "POST",
1043
1049
  mode: "cors",
@@ -1048,75 +1054,75 @@ function ma(r) {
1048
1054
  // include, *same-origin, omit
1049
1055
  headers: {
1050
1056
  "Content-Type": "application/json",
1051
- Authorization: `Basic ${ze}`
1057
+ Authorization: `Basic ${Ze}`
1052
1058
  },
1053
1059
  redirect: "follow",
1054
1060
  // manual, *follow, error
1055
1061
  referrerPolicy: "no-referrer",
1056
1062
  // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
1057
- body: JSON.stringify(b)
1063
+ body: JSON.stringify(v)
1058
1064
  })).json();
1059
1065
  }
1060
- p().then((_) => {
1061
- U(!1), _.plate ? (localStorage.setItem("partbot_plate_details", JSON.stringify(_)), w(_)) : _ && _.indexOf("Invalid API Key") !== -1 ? w({ error: _ }) : w({ error: "Could not find any matching vehicles." });
1062
- }).catch((_) => {
1063
- console.error("Error:", _), w({ error: "Could not find any matching vehicles." });
1066
+ h().then((E) => {
1067
+ U(!1), E.plate ? (localStorage.setItem("partbot_plate_details", JSON.stringify(E)), u(E)) : E && E.indexOf("Invalid API Key") !== -1 ? u({ error: E }) : u({ error: "Could not find any matching vehicles." });
1068
+ }).catch((E) => {
1069
+ console.error("Error:", E), u({ error: "Could not find any matching vehicles." });
1064
1070
  });
1065
1071
  };
1066
- K(() => {
1072
+ W(() => {
1067
1073
  ae();
1068
1074
  }, [T]);
1069
1075
  const he = (d) => {
1070
- localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), nt.remove("partbot_selected_vehicle"), w(null), I(jt);
1076
+ localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), lt.remove("partbot_selected_vehicle"), u(null), I(Gt);
1071
1077
  }, ue = (d) => {
1072
1078
  window.open(
1073
1079
  `mailto:report@partbot.io?subject=${encodeURIComponent(
1074
1080
  "Registration Search Issue"
1075
1081
  )}&body=${encodeURIComponent(
1076
- `Incorrect vehicles were shown for ${m} number plate: ${h}, vehicle: ${n.factory_vehicle.make} ${n.factory_vehicle.model} ${n.factory_vehicle.year} ${n.factory_vehicle.body} ${n.factory_vehicle.series}. Please provide details of the correct vehicle below:`
1082
+ `Incorrect vehicles were shown for ${m} number plate: ${p}, 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:`
1077
1083
  )}`
1078
1084
  );
1079
- }, Re = (d) => {
1080
- v(""), w(null), I(Vt), J(null), localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), nt.remove("partbot_selected_vehicle");
1081
1085
  }, Se = (d) => {
1082
- var b = JSON.stringify({
1086
+ g(""), u(null), I($t), J(null), localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), lt.remove("partbot_selected_vehicle");
1087
+ }, Le = (d) => {
1088
+ var v = JSON.stringify({
1083
1089
  description: d.description,
1084
1090
  vehicle_ids: d.vehicle_ids,
1085
1091
  vehicle: {
1086
1092
  ...d.vehicle,
1087
- year: n.factory_vehicle.year
1093
+ year: i.factory_vehicle.year
1088
1094
  }
1089
1095
  });
1090
- localStorage.setItem("partbot_selected_vehicle", b), nt.set("partbot_selected_vehicle", b, {
1096
+ localStorage.setItem("partbot_selected_vehicle", v), lt.set("partbot_selected_vehicle", v, {
1091
1097
  secure: !0
1092
1098
  });
1093
- var p = new CustomEvent("plate-search-change", {
1099
+ var h = new CustomEvent("plate-search-change", {
1094
1100
  detail: {
1095
1101
  vehicle_ids: d.vehicle_ids
1096
1102
  }
1097
1103
  });
1098
- document.dispatchEvent(p), J(d), Y && Y !== window.location.href && (s(!1), window.location.href = Y + window.location.search);
1099
- }, Ve = (d) => {
1100
- if (s(!1), k)
1104
+ document.dispatchEvent(h), J(d), q && q !== window.location.href && (c(!1), window.location.href = q + window.location.search);
1105
+ }, We = (d) => {
1106
+ if (c(!1), k)
1101
1107
  try {
1102
- const b = new URL(k, window.location.origin);
1103
- if (b.origin !== window.location.origin) {
1108
+ const v = new URL(k, window.location.origin);
1109
+ if (v.origin !== window.location.origin) {
1104
1110
  console.warn(
1105
1111
  "Partbot: Blocked navigation to external productsUrl",
1106
- b.toString()
1112
+ v.toString()
1107
1113
  );
1108
1114
  return;
1109
1115
  }
1110
- window.location.assign(b.href);
1111
- } catch (b) {
1116
+ window.location.assign(v.href);
1117
+ } catch (v) {
1112
1118
  console.error(
1113
1119
  "Partbot: Invalid productsUrl provided",
1114
1120
  k,
1115
- b
1121
+ v
1116
1122
  );
1117
1123
  }
1118
1124
  }, fe = (d) => {
1119
- const b = [
1125
+ const v = [
1120
1126
  "series",
1121
1127
  "variant",
1122
1128
  "body",
@@ -1126,34 +1132,40 @@ function ma(r) {
1126
1132
  "engine_capacity",
1127
1133
  "cylinders"
1128
1134
  ];
1129
- return Object.entries(d).filter(([p, _]) => _ !== null && b.includes(p)).map(([p, _]) => p === "cylinders" ? `${_}cyl` : _).join(" ");
1135
+ return Object.entries(d).filter(([h, E]) => E !== null && v.includes(h) && typeof E != "object").map(([h, E]) => h === "cylinders" ? `${E}cyl` : E).join(" ");
1130
1136
  };
1131
1137
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
1132
1138
  "button",
1133
1139
  {
1134
- onClick: (d) => s(!a),
1140
+ onClick: (d) => c(!r),
1135
1141
  type: "button",
1136
- className: `${Fe === "dark" ? "bg-transparent text-gray-100 hover:text-white" : "bg-white text-gray-700 hover:bg-gray-50"} inline-flex items-center ${pe ? "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-gray-400 font-license text-base font-medium shadow-sm transition cursor-pointer`
1142
+ className: `${Ve === "dark" ? "bg-transparent text-gray-100 hover:text-white" : "bg-white text-gray-700 hover:bg-gray-50"} inline-flex items-center ${pe ? "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-gray-400 font-license text-base font-medium shadow-sm transition cursor-pointer leading-none`
1137
1143
  },
1138
1144
  /* @__PURE__ */ React.createElement(
1139
- ta,
1145
+ ra,
1140
1146
  {
1141
1147
  weight: "fill",
1142
1148
  className: pe ? "h-5 w-5 md:-ml-1 md:mr-2" : "mr-2 -ml-1 h-5 w-5",
1143
1149
  "aria-hidden": "true"
1144
1150
  }
1145
1151
  ),
1146
- /* @__PURE__ */ React.createElement("span", { className: pe ? "hidden md:inline" : "mt-1.5 md:inline" }, h || Te)
1152
+ /* @__PURE__ */ React.createElement(
1153
+ "span",
1154
+ {
1155
+ className: pe ? "hidden md:inline mt-0.5" : "inline mt-0.5"
1156
+ },
1157
+ p || Re
1158
+ )
1147
1159
  ), /* @__PURE__ */ React.createElement(
1148
1160
  "div",
1149
1161
  {
1150
- className: `${a ? "modal-container modal-container-open" : "modal-container modal-container-close"}`,
1162
+ className: `${r ? "modal-container modal-container-open" : "modal-container modal-container-close"}`,
1151
1163
  style: {
1152
1164
  zIndex: 2147483647,
1153
- ...!a && !l ? { display: "none" } : {}
1165
+ ...!r && !n ? { display: "none" } : {}
1154
1166
  },
1155
1167
  onClick: (d) => {
1156
- d.target === d.currentTarget && s(!1);
1168
+ d.target === d.currentTarget && c(!1);
1157
1169
  }
1158
1170
  },
1159
1171
  /* @__PURE__ */ React.createElement(
@@ -1162,23 +1174,23 @@ function ma(r) {
1162
1174
  role: "dialog",
1163
1175
  "aria-modal": "true",
1164
1176
  "aria-label": "Number plate search dialog",
1165
- className: a ? "modal modal-open" : "modal modal-close"
1177
+ className: r ? "modal modal-open" : "modal modal-close"
1166
1178
  },
1167
1179
  /* @__PURE__ */ React.createElement("div", { className: "absolute top-0 right-0 pt-4 pr-4" }, /* @__PURE__ */ React.createElement(
1168
1180
  "button",
1169
1181
  {
1170
1182
  type: "button",
1171
1183
  className: "focus:outline-none focus:ring-bg-theme-color rounded-md bg-white text-gray-400 hover:text-gray-500",
1172
- onClick: () => s(!1)
1184
+ onClick: () => c(!1)
1173
1185
  },
1174
1186
  /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "Close"),
1175
- /* @__PURE__ */ React.createElement(ra, { size: 16, weight: "bold", "aria-hidden": "true" })
1187
+ /* @__PURE__ */ React.createElement(na, { size: 16, weight: "bold", "aria-hidden": "true" })
1176
1188
  )),
1177
- n && !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" }, n.vehicles ? /* @__PURE__ */ React.createElement("div", { className: "grid gap-3 text-left" }, n.vehicles.map(function(d, b) {
1189
+ i && !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" }, p, " (", m, ")"))), /* @__PURE__ */ React.createElement("div", { className: "mt-6" }, /* @__PURE__ */ React.createElement("div", { className: "modal-scroll-area" }, i.vehicles ? /* @__PURE__ */ React.createElement("div", { className: "grid gap-3 text-left" }, i.vehicles.map(function(d, v) {
1178
1190
  return /* @__PURE__ */ React.createElement(
1179
1191
  "div",
1180
1192
  {
1181
- key: b,
1193
+ key: v,
1182
1194
  className: "focus:outline-none relative grid cursor-pointer gap-4 rounded-lg border border-gray-300 bg-white px-4 py-4 shadow-sm hover:border-gray-400 sm:flex sm:justify-between"
1183
1195
  },
1184
1196
  /* @__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-gray-900" }, d.description), /* @__PURE__ */ React.createElement("div", { className: "text-gray-600" }, fe(d.vehicle)))),
@@ -1186,12 +1198,12 @@ function ma(r) {
1186
1198
  "button",
1187
1199
  {
1188
1200
  className: "justify-center rounded-md border border-transparent bg-theme-color px-2 py-1.5 text-xs font-medium text-white shadow-sm",
1189
- onClick: () => Se(d)
1201
+ onClick: () => Le(d)
1190
1202
  },
1191
1203
  "Select vehicle"
1192
1204
  ))
1193
1205
  );
1194
- }), n.differing_attributes && n.vehicle_breakdown && n.vehicle_breakdown.length > 0 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("details", { className: "[&_summary::-webkit-details-marker]:hidden group rounded-lg border border-gray-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-gray-900" }, /* @__PURE__ */ React.createElement("span", null, "More options..."), /* @__PURE__ */ React.createElement(
1206
+ }), i.differing_attributes && i.vehicle_breakdown && i.vehicle_breakdown.length > 0 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("details", { className: "[&_summary::-webkit-details-marker]:hidden group rounded-lg border border-gray-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-gray-900" }, /* @__PURE__ */ React.createElement("span", null, "More options..."), /* @__PURE__ */ React.createElement(
1195
1207
  "svg",
1196
1208
  {
1197
1209
  className: "!h-5 !w-5 text-gray-500 transition duration-300 group-open:rotate-180",
@@ -1207,43 +1219,43 @@ function ma(r) {
1207
1219
  clipRule: "evenodd"
1208
1220
  }
1209
1221
  )
1210
- )), /* @__PURE__ */ React.createElement("div", { className: "border-t border-gray-200 px-4 py-3" }, /* @__PURE__ */ React.createElement("div", { className: "grid gap-3" }, n.vehicle_breakdown && n.vehicle_breakdown.map(
1211
- (d, b) => /* @__PURE__ */ React.createElement(
1222
+ )), /* @__PURE__ */ React.createElement("div", { className: "border-t border-gray-200 px-4 py-3" }, /* @__PURE__ */ React.createElement("div", { className: "grid gap-3" }, i.vehicle_breakdown && i.vehicle_breakdown.map(
1223
+ (d, v) => /* @__PURE__ */ React.createElement(
1212
1224
  "div",
1213
1225
  {
1214
- key: b,
1226
+ key: v,
1215
1227
  className: "flex items-center justify-between rounded-md border border-gray-200 p-3 text-sm"
1216
1228
  },
1217
- /* @__PURE__ */ React.createElement("div", null, n.differing_attributes.map(
1218
- (p) => /* @__PURE__ */ React.createElement(
1229
+ /* @__PURE__ */ React.createElement("div", null, i.differing_attributes.map(
1230
+ (h) => /* @__PURE__ */ React.createElement(
1219
1231
  "div",
1220
1232
  {
1221
- key: p,
1233
+ key: h,
1222
1234
  className: "text-xs text-gray-600"
1223
1235
  },
1224
- /* @__PURE__ */ React.createElement("span", { className: "font-medium capitalize" }, p, ":"),
1236
+ /* @__PURE__ */ React.createElement("span", { className: "font-medium capitalize" }, h, ":"),
1225
1237
  " ",
1226
- d.vehicle[p]
1238
+ d.vehicle[h]
1227
1239
  )
1228
1240
  )),
1229
1241
  /* @__PURE__ */ React.createElement(
1230
1242
  "button",
1231
1243
  {
1232
- onClick: () => Se(d),
1244
+ onClick: () => Le(d),
1233
1245
  className: "ml-4 rounded-md bg-theme-color px-3 py-1.5 text-xs font-medium text-white hover:bg-opacity-90"
1234
1246
  },
1235
1247
  "Select"
1236
1248
  )
1237
1249
  )
1238
- )))))) : /* @__PURE__ */ React.createElement("div", { className: "my-5" }, /* @__PURE__ */ React.createElement(da, { error: n.error }))), n.vehicles && n.vehicles.length > 3 && /* @__PURE__ */ React.createElement("div", { className: "pb-4 text-center text-xs text-gray-500" }, "Scroll for more..."), L && /* @__PURE__ */ React.createElement(
1250
+ )))))) : /* @__PURE__ */ React.createElement("div", { className: "my-5" }, /* @__PURE__ */ React.createElement(pa, { error: i.error }))), i.vehicles && i.vehicles.length > 3 && /* @__PURE__ */ React.createElement("div", { className: "pb-4 text-center text-xs text-gray-500" }, "Scroll for more..."), L && /* @__PURE__ */ React.createElement(
1239
1251
  "div",
1240
1252
  {
1241
1253
  className: "pl8srch-text mx-auto my-6 w-full text-sm text-gray-500",
1242
1254
  dangerouslySetInnerHTML: {
1243
- __html: Ft.sanitize(L)
1255
+ __html: jt.sanitize(L)
1244
1256
  }
1245
1257
  }
1246
- ), T !== jt && /* @__PURE__ */ React.createElement(
1258
+ ), T !== Gt && /* @__PURE__ */ React.createElement(
1247
1259
  "button",
1248
1260
  {
1249
1261
  type: "button",
@@ -1253,7 +1265,7 @@ function ma(r) {
1253
1265
  "Try Again",
1254
1266
  " ",
1255
1267
  /* @__PURE__ */ React.createElement(
1256
- ea,
1268
+ aa,
1257
1269
  {
1258
1270
  size: 16,
1259
1271
  weight: "bold",
@@ -1271,11 +1283,11 @@ function ma(r) {
1271
1283
  ), /* @__PURE__ */ React.createElement(
1272
1284
  "button",
1273
1285
  {
1274
- onClick: Re,
1286
+ onClick: Se,
1275
1287
  className: "text-xs text-theme-color"
1276
1288
  },
1277
1289
  /* @__PURE__ */ React.createElement(
1278
- Qt,
1290
+ ta,
1279
1291
  {
1280
1292
  size: 12,
1281
1293
  weight: "bold",
@@ -1285,27 +1297,27 @@ function ma(r) {
1285
1297
  " ",
1286
1298
  "Back to search"
1287
1299
  ))))),
1288
- 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-gray-500" }, n && n.factory_vehicle ? `${n.factory_vehicle.make} ${n.factory_vehicle.model} ${n.factory_vehicle.year}` : z.description), z.vehicle && /* @__PURE__ */ React.createElement("div", { className: "mt-2 text-xs text-gray-600" }, fe(z.vehicle))), /* @__PURE__ */ React.createElement("div", { className: "mt-6 flex gap-4" }, /* @__PURE__ */ React.createElement(
1300
+ 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"), p && /* @__PURE__ */ React.createElement("span", { className: "text-theme-color" }, "(", p, ")")), /* @__PURE__ */ React.createElement("div", { className: "text-medium mt-5 text-sm text-gray-500" }, i && i.factory_vehicle ? `${i.factory_vehicle.make} ${i.factory_vehicle.model} ${i.factory_vehicle.year}` : z.description), z.vehicle && /* @__PURE__ */ React.createElement("div", { className: "mt-2 text-xs text-gray-600" }, fe(z.vehicle))), /* @__PURE__ */ React.createElement("div", { className: "mt-6 flex gap-4" }, /* @__PURE__ */ React.createElement(
1289
1301
  "button",
1290
1302
  {
1291
1303
  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",
1292
- onClick: Re
1304
+ onClick: Se
1293
1305
  },
1294
1306
  "Clear Vehicle"
1295
1307
  ), k && /* @__PURE__ */ React.createElement(
1296
1308
  "button",
1297
1309
  {
1298
1310
  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",
1299
- onClick: Ve
1311
+ onClick: We
1300
1312
  },
1301
1313
  "Show Products"
1302
1314
  )))),
1303
- !z && !n && /* @__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(
1315
+ !z && !i && /* @__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(
1304
1316
  "div",
1305
1317
  {
1306
1318
  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-gray-500 whitespace-normal!",
1307
1319
  dangerouslySetInnerHTML: {
1308
- __html: Ft.sanitize(Ze)
1320
+ __html: jt.sanitize(je)
1309
1321
  }
1310
1322
  }
1311
1323
  )), /* @__PURE__ */ React.createElement(
@@ -1320,39 +1332,39 @@ function ma(r) {
1320
1332
  type: "text",
1321
1333
  name: "plate",
1322
1334
  ref: S,
1323
- 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"}`,
1324
- placeholder: Te,
1325
- value: h,
1326
- onChange: (d) => v(d.target.value.toUpperCase())
1335
+ 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 ${p ? "border-theme-color" : "border-stone-300"}`,
1336
+ placeholder: Re,
1337
+ value: p,
1338
+ onChange: (d) => g(d.target.value.toUpperCase())
1327
1339
  }
1328
1340
  ),
1329
- /* @__PURE__ */ React.createElement("span", { className: "relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm" }, Zt.map((d, b) => {
1330
- let p = "bg-white text-gray-700 hover:bg-gray-50 border-gray-300";
1331
- return d === m && (p = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), b === 0 ? /* @__PURE__ */ React.createElement(
1341
+ /* @__PURE__ */ React.createElement("span", { className: "relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm" }, Wt.map((d, v) => {
1342
+ let h = "bg-white text-gray-700 hover:bg-gray-50 border-gray-300";
1343
+ return d === m && (h = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), v === 0 ? /* @__PURE__ */ React.createElement(
1332
1344
  "button",
1333
1345
  {
1334
1346
  key: d,
1335
- onClick: (_) => g(d),
1347
+ onClick: (E) => b(d),
1336
1348
  type: "button",
1337
- 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 ${p}`
1349
+ 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 ${h}`
1338
1350
  },
1339
1351
  d
1340
- ) : Zt.length === b + 1 ? /* @__PURE__ */ React.createElement(
1352
+ ) : Wt.length === v + 1 ? /* @__PURE__ */ React.createElement(
1341
1353
  "button",
1342
1354
  {
1343
1355
  key: d,
1344
- onClick: (_) => g(d),
1356
+ onClick: (E) => b(d),
1345
1357
  type: "button",
1346
- 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 ${p}`
1358
+ 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 ${h}`
1347
1359
  },
1348
1360
  d
1349
1361
  ) : /* @__PURE__ */ React.createElement(
1350
1362
  "button",
1351
1363
  {
1352
1364
  key: d,
1353
- onClick: (_) => g(d),
1365
+ onClick: (E) => b(d),
1354
1366
  type: "button",
1355
- 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 ${p}`
1367
+ 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 ${h}`
1356
1368
  },
1357
1369
  d
1358
1370
  );
@@ -1365,7 +1377,7 @@ function ma(r) {
1365
1377
  },
1366
1378
  "Find your vehicle",
1367
1379
  x ? /* @__PURE__ */ React.createElement(
1368
- aa,
1380
+ oa,
1369
1381
  {
1370
1382
  weight: "bold",
1371
1383
  className: "ml-3 h-4 w-4 animate-spin",
@@ -1388,7 +1400,7 @@ function ma(r) {
1388
1400
  )
1389
1401
  ));
1390
1402
  }
1391
- ma.propTypes = {
1403
+ Fe.propTypes = {
1392
1404
  apiKey: Z.string.isRequired,
1393
1405
  callbackUrl: Z.string,
1394
1406
  productsUrl: Z.string,
@@ -1400,29 +1412,23 @@ ma.propTypes = {
1400
1412
  intro: Z.string,
1401
1413
  supportMessage: Z.string
1402
1414
  };
1403
- 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-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--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-leading: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-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--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-leading: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-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--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-leading: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-amber-50:oklch(98.7% .022 95.277);--color-amber-800:oklch(47.3% .137 46.201);--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-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--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-amber-50:oklch(98.7% .022 95.277);--color-amber-800:oklch(47.3% .137 46.201);--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-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--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-amber-50:oklch(98.7% .022 95.277);--color-amber-800:oklch(47.3% .137 46.201);--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-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--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}.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}.relative{position:relative}.static{position:static}.sticky{position:sticky}.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-1\\.5{margin-top:calc(var(--spacing)*1.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-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-stone-300{border-color:var(--color-stone-300)}.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)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\\[url\\(\\'\\/background-2\\.png\\'\\)\\]{background-image:url(/background-2.png)}.from-amber-50\\/50{--tw-gradient-from:#fffbeb80}@supports (color:color-mix(in lab,red,red)){.from-amber-50\\/50{--tw-gradient-from:color-mix(in oklab,var(--color-amber-50)50%,transparent)}}.from-amber-50\\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-amber-800\\/10{--tw-gradient-to:#953d001a}@supports (color:color-mix(in lab,red,red)){.to-amber-800\\/10{--tw-gradient-to:color-mix(in oklab,var(--color-amber-800)10%,transparent)}}.to-amber-800\\/10{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-cover{background-size:cover}.bg-top-right{background-position:100% 0}.bg-no-repeat{background-repeat:no-repeat}.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}.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-gray-100{color:var(--color-gray-100)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-400{color:var(--color-red-400)}.text-red-800{color:var(--color-red-800)}.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-gray-400:hover{border-color:var(--color-gray-400)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-theme-color:hover{background-color:var(--partbot-theme)}.hover\\:text-gray-500:hover{color:var(--color-gray-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-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@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-leading{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)}}`, or = "3.0.12", $t = {
1404
- version: or
1405
- };
1406
- function Gt({ domElement: r }) {
1407
- const a = r.getAttribute("data-api-key"), s = r.getAttribute("data-callback-url"), l = r.getAttribute("data-products-url"), u = r.getAttribute("data-theme-color"), h = r.getAttribute("data-use-geolocation") === "true", v = r.getAttribute("data-button"), m = r.getAttribute("data-responsive") ? r.getAttribute("data-responsive") === "true" : !0, g = r.getAttribute("data-placeholder"), n = r.getAttribute("data-intro"), w = r.getAttribute("data-support-message");
1408
- return K(() => {
1409
- console.info(
1410
- "Vehicle Registration Search powered by Partbot https://use.partbot.io"
1411
- );
1412
- }, []), /* @__PURE__ */ React.createElement("div", { className: "App" }, /* @__PURE__ */ React.createElement(
1413
- ma,
1415
+ const mt = '@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-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--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-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--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-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--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}.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-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-stone-300{border-color:var(--color-stone-300)}.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-gray-100{color:var(--color-gray-100)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-400{color:var(--color-red-400)}.text-red-800{color:var(--color-red-800)}.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-gray-400:hover{border-color:var(--color-gray-400)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-theme-color:hover{background-color:var(--partbot-theme)}.hover\\:text-gray-500:hover{color:var(--color-gray-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)}}';
1416
+ function nr({ domElement: a }) {
1417
+ const r = a.getAttribute("data-api-key"), c = a.getAttribute("data-callback-url"), n = a.getAttribute("data-products-url"), f = a.getAttribute("data-theme-color"), p = a.getAttribute("data-use-geolocation") === "true", g = a.getAttribute("data-button"), m = a.getAttribute("data-responsive") ? a.getAttribute("data-responsive") === "true" : !0, b = a.getAttribute("data-placeholder"), i = a.getAttribute("data-intro"), u = a.getAttribute("data-support-message");
1418
+ return /* @__PURE__ */ React.createElement("div", { className: "App" }, /* @__PURE__ */ React.createElement(
1419
+ Fe,
1414
1420
  {
1415
1421
  className: "partbot",
1416
- apiKey: a,
1417
- callbackUrl: s,
1418
- productsUrl: l,
1419
- themeColor: u,
1420
- useGeolocation: h,
1421
- buttonTheme: v,
1422
+ apiKey: r,
1423
+ callbackUrl: c,
1424
+ productsUrl: n,
1425
+ themeColor: f,
1426
+ useGeolocation: p,
1427
+ buttonTheme: g,
1422
1428
  responsive: m,
1423
- placeholder: g,
1424
- intro: n,
1425
- supportMessage: w
1429
+ placeholder: b,
1430
+ intro: i,
1431
+ supportMessage: u
1426
1432
  }
1427
1433
  ));
1428
1434
  }
@@ -1431,24 +1437,24 @@ class me extends HTMLElement {
1431
1437
  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;
1432
1438
  }
1433
1439
  connectedCallback() {
1434
- var v;
1440
+ var g;
1435
1441
  this.style.position || (this.style.position = "relative"), this.style.zIndex = "2147483647", this.style.visibility = "hidden";
1436
- let a;
1437
- if (this.assetUrl && (a = new URL(
1442
+ let r;
1443
+ if (this.assetUrl && (r = new URL(
1438
1444
  this.assetUrl.replace(/\/$/, "") + "/css/plate-search.css",
1439
1445
  window.location.href
1440
- )), !a) {
1446
+ )), !r) {
1441
1447
  let m = "latest";
1442
1448
  try {
1443
- const n = (((v = document.currentScript) == null ? void 0 : v.src) || "").match(/plate-search@([^/]+)/);
1444
- n && n[1] && (m = n[1]);
1449
+ const i = (((g = document.currentScript) == null ? void 0 : g.src) || "").match(/plate-search@([^/]+)/);
1450
+ i && i[1] && (m = i[1]);
1445
1451
  } catch {
1446
1452
  }
1447
- m === "latest" && $t.version && (m = $t.version), a = new URL(
1453
+ m === "latest" && dt.version && (m = dt.version), r = new URL(
1448
1454
  `https://unpkg.com/@cartbot/plate-search@${m}/build/dist/css/plate-search.css`
1449
1455
  );
1450
1456
  }
1451
- const l = [
1457
+ const n = [
1452
1458
  ["data-api-key", this.apiKey],
1453
1459
  ["data-callback-url", this.callbackUrl],
1454
1460
  ["data-products-url", this.productsUrl],
@@ -1459,51 +1465,54 @@ class me extends HTMLElement {
1459
1465
  ["data-placeholder", this.placeholder],
1460
1466
  ["data-intro", this.intro],
1461
1467
  ["data-support-message", this.supportMessage]
1462
- ].filter(([m, g]) => g != null).map(([m, g]) => `${m}="${g}"`).join(" "), u = (m, g) => {
1468
+ ].filter(([m, b]) => b != null).map(([m, b]) => `${m}="${b}"`).join(" "), f = (m, b) => {
1463
1469
  if (!/@import/i.test(m) && "adoptedStyleSheets" in Document.prototype)
1464
1470
  try {
1465
1471
  const x = new CSSStyleSheet();
1466
- return x.replaceSync(m), console.info(`Partbot: using constructable stylesheet (${g})`), x;
1472
+ return x.replaceSync(m), console.info(`Partbot: using constructable stylesheet (${b})`), x;
1467
1473
  } catch (x) {
1468
1474
  console.warn("Partbot: constructable sheet failed, falling back", x);
1469
1475
  }
1470
- const w = document.createElement("style");
1471
- return w.textContent = m, console.info(`Partbot: using <style> element fallback (${g})`), w;
1476
+ const u = document.createElement("style");
1477
+ return u.textContent = m, this.debug && console.info(
1478
+ `Partbot: using <style> element fallback (${b})`,
1479
+ u.textContent
1480
+ ), u;
1472
1481
  };
1473
- me.__stylePromise || (a ? me.__stylePromise = fetch(a).then((m) => {
1482
+ me.__stylePromise || (r ? me.__stylePromise = fetch(r).then((m) => {
1474
1483
  if (!m.ok) throw new Error(`HTTP ${m.status}`);
1475
1484
  return m.text();
1476
- }).then((m) => u(m, a.href)).catch((m) => (console.warn(
1485
+ }).then((m) => f(m, r.href)).catch((m) => (console.warn(
1477
1486
  "Partbot: external stylesheet failed, falling back to inline",
1478
1487
  m
1479
- ), u(Wt, "inline-fallback"))) : me.__stylePromise = Promise.resolve(
1480
- u(Wt, "inline")
1488
+ ), f(mt, "inline-fallback"))) : me.__stylePromise = Promise.resolve(
1489
+ f(mt, "inline")
1481
1490
  ));
1482
- const h = document.createElement("template");
1483
- if (h.innerHTML = `
1484
- <div class="partbot-plate-search isolate" ${l}></div>`, this.attachShadow({ mode: "open" }), me.__stylePromise.then((m) => {
1485
- var g, n;
1491
+ const p = document.createElement("template");
1492
+ if (p.innerHTML = `
1493
+ <div class="partbot-plate-search isolate" ${n}></div>`, this.attachShadow({ mode: "open" }), me.__stylePromise.then((m) => {
1494
+ var b, i;
1486
1495
  if (m) {
1487
1496
  if (m instanceof CSSStyleSheet ? this.shadowRoot.adoptedStyleSheets = [m] : m instanceof HTMLStyleElement && this.shadowRoot.prepend(m.cloneNode(!0)), this.debug)
1488
1497
  try {
1489
- const w = (g = this.shadowRoot.adoptedStyleSheets) == null ? void 0 : g[0];
1490
- w && console.info(
1498
+ const u = (b = this.shadowRoot.adoptedStyleSheets) == null ? void 0 : b[0];
1499
+ u && console.info(
1491
1500
  "Partbot debug: first rule in adopted sheet →",
1492
- (n = w.cssRules[0]) == null ? void 0 : n.cssText
1501
+ (i = u.cssRules[0]) == null ? void 0 : i.cssText
1493
1502
  );
1494
1503
  const x = getComputedStyle(this).getPropertyValue("--tw-border-style");
1495
1504
  console.info(
1496
1505
  "Partbot debug: --tw-border-style on :host →",
1497
1506
  x
1498
1507
  );
1499
- } catch (w) {
1500
- console.warn("Partbot debug: failed to inspect stylesheet", w);
1508
+ } catch (u) {
1509
+ console.warn("Partbot debug: failed to inspect stylesheet", u);
1501
1510
  }
1502
1511
  requestAnimationFrame(() => {
1503
1512
  this.style.visibility = "visible";
1504
1513
  });
1505
1514
  }
1506
- }), this.shadowRoot.appendChild(h.content.cloneNode(!0)), !document.head.querySelector("style[data-partbot-license]")) {
1515
+ }), this.shadowRoot.appendChild(p.content.cloneNode(!0)), !document.head.querySelector("style[data-partbot-license]")) {
1507
1516
  const m = document.createElement("style");
1508
1517
  m.setAttribute("data-partbot-license", ""), m.appendChild(
1509
1518
  document.createTextNode(`
@@ -1519,41 +1528,96 @@ class me extends HTMLElement {
1519
1528
  }
1520
1529
  }
1521
1530
  customElements.define("plate-search", me);
1522
- const ir = Ea;
1523
- typeof window < "u" && (window.React = window.React || it, window.ReactDOM = window.ReactDOM || lt);
1531
+ function cr(a) {
1532
+ const r = Te(null), c = Te(null), n = Te(null), f = Te(!1);
1533
+ return W(() => {
1534
+ if (f.current || !r.current) return;
1535
+ f.current = !0;
1536
+ const p = r.current.attachShadow({ mode: "open" });
1537
+ c.current = p;
1538
+ const g = document.createElement("div");
1539
+ if (p.appendChild(g), !document.head.querySelector('link[href*="fonts.googleapis.com"]')) {
1540
+ const u = document.createElement("link");
1541
+ u.rel = "stylesheet", u.href = "https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap", document.head.appendChild(u);
1542
+ }
1543
+ if (!document.head.querySelector("style[data-partbot-license]")) {
1544
+ const u = document.createElement("style");
1545
+ u.setAttribute("data-partbot-license", ""), u.textContent = `
1546
+ @font-face {
1547
+ font-family: "License Plate";
1548
+ src: url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)
1549
+ format("woff2");
1550
+ font-weight: normal;
1551
+ font-style: normal;
1552
+ }`, document.head.appendChild(u);
1553
+ }
1554
+ const m = mt.replace(/@import\s+["']https:\/\/fonts\.googleapis\.com[^;]+;/g, "").replace(/@import\s+["']tailwindcss["'];/g, ""), b = document.createElement("style");
1555
+ b.textContent = m, p.appendChild(b);
1556
+ const i = qt(g);
1557
+ return n.current = i, i.render(It(Fe, a)), () => {
1558
+ n.current && (setTimeout(() => {
1559
+ var u;
1560
+ (u = n.current) == null || u.unmount();
1561
+ }, 0), n.current = null);
1562
+ };
1563
+ }, []), W(() => {
1564
+ n.current && f.current && n.current.render(It(Fe, a));
1565
+ }, [
1566
+ a.apiKey,
1567
+ a.callbackUrl,
1568
+ a.productsUrl,
1569
+ a.themeColor,
1570
+ a.useGeolocation,
1571
+ a.buttonTheme,
1572
+ a.responsive,
1573
+ a.placeholder,
1574
+ a.intro,
1575
+ a.supportMessage
1576
+ ]), /* @__PURE__ */ React.createElement(
1577
+ "div",
1578
+ {
1579
+ ref: r,
1580
+ style: {
1581
+ position: "relative",
1582
+ zIndex: 2147483647
1583
+ // Max safe integer - ensures overlay always wins
1584
+ }
1585
+ }
1586
+ );
1587
+ }
1588
+ const sr = Ea;
1589
+ typeof window < "u" && (window.React = window.React || Yt);
1524
1590
  const de = document.querySelector("plate-search");
1525
1591
  var Bt;
1526
1592
  if (de) {
1527
- const r = ((Bt = de.shadowRoot) == null ? void 0 : Bt.querySelector(
1593
+ const a = ((Bt = de.shadowRoot) == null ? void 0 : Bt.querySelector(
1528
1594
  ".partbot-plate-search"
1529
1595
  )) || de.querySelector(".partbot-plate-search");
1530
- if (!r)
1596
+ if (!a)
1531
1597
  console.error("Partbot: failed to locate .partbot-plate-search container");
1532
1598
  else {
1533
- const a = [
1599
+ let r;
1600
+ const c = () => {
1601
+ r || (r = qt(a)), r.render(Yt.createElement(nr, { domElement: a }));
1602
+ }, n = [
1534
1603
  ...de.shadowRoot ? de.shadowRoot.querySelectorAll("link") : de.querySelectorAll("link")
1535
1604
  ];
1536
- if (a.length === 0)
1537
- lt.render(
1538
- it.createElement(Gt, { domElement: r }),
1539
- r
1540
- );
1605
+ if (n.length === 0)
1606
+ c();
1541
1607
  else {
1542
- let s = 0;
1543
- const l = () => {
1544
- ++s >= a.length && lt.render(
1545
- it.createElement(Gt, { domElement: r }),
1546
- r
1547
- );
1608
+ let f = 0;
1609
+ const p = () => {
1610
+ ++f >= n.length && c();
1548
1611
  };
1549
- a.forEach((u) => {
1550
- u.sheet || u.complete ? l() : (u.addEventListener("load", l, { once: !0 }), u.addEventListener("error", l, { once: !0 }));
1612
+ n.forEach((g) => {
1613
+ g.sheet || g.complete ? p() : (g.addEventListener("load", p, { once: !0 }), g.addEventListener("error", p, { once: !0 }));
1551
1614
  });
1552
1615
  }
1553
1616
  }
1554
1617
  }
1555
1618
  export {
1556
- ma as PlateSearch,
1557
- ma as default,
1558
- ir as plateSearchCssUrl
1619
+ cr as PlateSearch,
1620
+ Fe as PlateSearchRaw,
1621
+ cr as default,
1622
+ sr as plateSearchCssUrl
1559
1623
  };