@cartbot/plate-search 2.0.13 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -1
- package/build/dist/css/plate-search.css +1 -5
- package/build/dist/js/plate-search.js +36 -2
- package/dist/css/plate-search.css +1 -0
- package/dist/js/plate-search.es.js +3043 -0
- package/dist/js/plate-search.js +36 -0
- package/package.json +47 -38
- package/build/dist/js/plate-search.js.LICENSE.txt +0 -57
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
(function(De,ze){typeof exports=="object"&&typeof module<"u"?ze(exports):typeof define=="function"&&define.amd?define(["exports"],ze):(De=typeof globalThis<"u"?globalThis:De||self,ze(De.PlateSearch={}))})(this,function(De){"use strict";var vn;var ze=document.createElement("style");ze.textContent=`@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}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-0{z-index:0}.z-\\[10000\\]{z-index:10000}.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)}.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)}.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\\:items-center{align-items:center}.md\\:justify-center{justify-content:center}.md\\:border-8{border-style:var(--tw-border-style);border-width:8px}.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:auto}@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)}}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(ze);var Je,H,Ar,Pe,Cr,Mr,Rr,Lr,Ot,Pt,It,Nr,Qe={},Or=[],Hn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,et=Array.isArray;function be(e,t){for(var r in t)e[r]=t[r];return e}function Ht(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function m(e,t,r){var o,a,n,i={};for(n in t)n=="key"?o=t[n]:n=="ref"?a=t[n]:i[n]=t[n];if(arguments.length>2&&(i.children=arguments.length>3?Je.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(n in e.defaultProps)i[n]===void 0&&(i[n]=e.defaultProps[n]);return tt(e,i,o,a,null)}function tt(e,t,r,o,a){var n={type:e,props:t,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:a??++Ar,__i:-1,__u:0};return a==null&&H.vnode!=null&&H.vnode(n),n}function Pr(){return{current:null}}function N(e){return e.children}function ge(e,t){this.props=e,this.context=t}function Ue(e,t){if(t==null)return e.__?Ue(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Ue(e):null}function Ir(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return Ir(e)}}function Dt(e){(!e.__d&&(e.__d=!0)&&Pe.push(e)&&!ht.__r++||Cr!=H.debounceRendering)&&((Cr=H.debounceRendering)||Mr)(ht)}function ht(){for(var e,t,r,o,a,n,i,d=1;Pe.length;)Pe.length>d&&Pe.sort(Rr),e=Pe.shift(),d=Pe.length,e.__d&&(r=void 0,a=(o=(t=e).__v).__e,n=[],i=[],t.__P&&((r=be({},o)).__v=o.__v+1,H.vnode&&H.vnode(r),zt(t.__P,r,o,t.__n,t.__P.namespaceURI,32&o.__u?[a]:null,n,a??Ue(o),!!(32&o.__u),i),r.__v=o.__v,r.__.__k[r.__i]=r,$r(n,r,i),r.__e!=a&&Ir(r)));ht.__r=0}function Hr(e,t,r,o,a,n,i,d,u,s,h){var c,b,w,C,M,R,O=o&&o.__k||Or,U=t.length;for(u=Dn(r,t,O,u,U),c=0;c<U;c++)(w=r.__k[c])!=null&&(b=w.__i==-1?Qe:O[w.__i]||Qe,w.__i=c,R=zt(e,w,b,a,n,i,d,u,s,h),C=w.__e,w.ref&&b.ref!=w.ref&&(b.ref&&Ut(b.ref,null,w),h.push(w.ref,w.__c||C,w)),M==null&&C!=null&&(M=C),4&w.__u||b.__k===w.__k?u=Dr(w,u,e):typeof w.type=="function"&&R!==void 0?u=R:C&&(u=C.nextSibling),w.__u&=-7);return r.__e=M,u}function Dn(e,t,r,o,a){var n,i,d,u,s,h=r.length,c=h,b=0;for(e.__k=new Array(a),n=0;n<a;n++)(i=t[n])!=null&&typeof i!="boolean"&&typeof i!="function"?(u=n+b,(i=e.__k[n]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?tt(null,i,null,null,null):et(i)?tt(N,{children:i},null,null,null):i.constructor==null&&i.__b>0?tt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,d=null,(s=i.__i=zn(i,r,u,c))!=-1&&(c--,(d=r[s])&&(d.__u|=2)),d==null||d.__v==null?(s==-1&&(a>h?b--:a<h&&b++),typeof i.type!="function"&&(i.__u|=4)):s!=u&&(s==u-1?b--:s==u+1?b++:(s>u?b--:b++,i.__u|=4))):e.__k[n]=null;if(c)for(n=0;n<h;n++)(d=r[n])!=null&&!(2&d.__u)&&(d.__e==o&&(o=Ue(d)),Fr(d,d));return o}function Dr(e,t,r){var o,a;if(typeof e.type=="function"){for(o=e.__k,a=0;o&&a<o.length;a++)o[a]&&(o[a].__=e,t=Dr(o[a],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=Ue(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function Te(e,t){return t=t||[],e==null||typeof e=="boolean"||(et(e)?e.some(function(r){Te(r,t)}):t.push(e)),t}function zn(e,t,r,o){var a,n,i=e.key,d=e.type,u=t[r];if(u===null&&e.key==null||u&&i==u.key&&d==u.type&&!(2&u.__u))return r;if(o>(u!=null&&!(2&u.__u)?1:0))for(a=r-1,n=r+1;a>=0||n<t.length;){if(a>=0){if((u=t[a])&&!(2&u.__u)&&i==u.key&&d==u.type)return a;a--}if(n<t.length){if((u=t[n])&&!(2&u.__u)&&i==u.key&&d==u.type)return n;n++}}return-1}function zr(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Hn.test(t)?r:r+"px"}function mt(e,t,r,o,a){var n,i;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof o=="string"&&(e.style.cssText=o=""),o)for(t in o)r&&t in r||zr(e.style,t,"");if(r)for(t in r)o&&r[t]==o[t]||zr(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")n=t!=(t=t.replace(Lr,"$1")),i=t.toLowerCase(),t=i in e||t=="onFocusOut"||t=="onFocusIn"?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+n]=r,r?o?r.u=o.u:(r.u=Ot,e.addEventListener(t,n?It:Pt,n)):e.removeEventListener(t,n?It:Pt,n);else{if(a=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Ur(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=Ot++;else if(t.t<r.u)return;return r(H.event?H.event(t):t)}}}function zt(e,t,r,o,a,n,i,d,u,s){var h,c,b,w,C,M,R,O,U,V,L,_,X,xe,se,ue,fe,F=t.type;if(t.constructor!=null)return null;128&r.__u&&(u=!!(32&r.__u),n=[d=t.__e=r.__e]),(h=H.__b)&&h(t);e:if(typeof F=="function")try{if(O=t.props,U="prototype"in F&&F.prototype.render,V=(h=F.contextType)&&o[h.__c],L=h?V?V.props.value:h.__:o,r.__c?R=(c=t.__c=r.__c).__=c.__E:(U?t.__c=c=new F(O,L):(t.__c=c=new ge(O,L),c.constructor=F,c.render=$n),V&&V.sub(c),c.props=O,c.state||(c.state={}),c.context=L,c.__n=o,b=c.__d=!0,c.__h=[],c._sb=[]),U&&c.__s==null&&(c.__s=c.state),U&&F.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=be({},c.__s)),be(c.__s,F.getDerivedStateFromProps(O,c.__s))),w=c.props,C=c.state,c.__v=t,b)U&&F.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),U&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(U&&F.getDerivedStateFromProps==null&&O!==w&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(O,L),!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(O,c.__s,L)===!1||t.__v==r.__v){for(t.__v!=r.__v&&(c.props=O,c.state=c.__s,c.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(ee){ee&&(ee.__=t)}),_=0;_<c._sb.length;_++)c.__h.push(c._sb[_]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(O,c.__s,L),U&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(w,C,M)})}if(c.context=L,c.props=O,c.__P=e,c.__e=!1,X=H.__r,xe=0,U){for(c.state=c.__s,c.__d=!1,X&&X(t),h=c.render(c.props,c.state,c.context),se=0;se<c._sb.length;se++)c.__h.push(c._sb[se]);c._sb=[]}else do c.__d=!1,X&&X(t),h=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++xe<25);c.state=c.__s,c.getChildContext!=null&&(o=be(be({},o),c.getChildContext())),U&&!b&&c.getSnapshotBeforeUpdate!=null&&(M=c.getSnapshotBeforeUpdate(w,C)),ue=h,h!=null&&h.type===N&&h.key==null&&(ue=jr(h.props.children)),d=Hr(e,et(ue)?ue:[ue],t,r,o,a,n,i,d,u,s),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),R&&(c.__E=c.__=null)}catch(ee){if(t.__v=null,u||n!=null)if(ee.then){for(t.__u|=u?160:128;d&&d.nodeType==8&&d.nextSibling;)d=d.nextSibling;n[n.indexOf(d)]=null,t.__e=d}else for(fe=n.length;fe--;)Ht(n[fe]);else t.__e=r.__e,t.__k=r.__k;H.__e(ee,t,r)}else n==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):d=t.__e=Un(r.__e,t,r,o,a,n,i,u,s);return(h=H.diffed)&&h(t),128&t.__u?void 0:d}function $r(e,t,r){for(var o=0;o<r.length;o++)Ut(r[o],r[++o],r[++o]);H.__c&&H.__c(t,e),e.some(function(a){try{e=a.__h,a.__h=[],e.some(function(n){n.call(a)})}catch(n){H.__e(n,a.__v)}})}function jr(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:et(e)?e.map(jr):be({},e)}function Un(e,t,r,o,a,n,i,d,u){var s,h,c,b,w,C,M,R=r.props,O=t.props,U=t.type;if(U=="svg"?a="http://www.w3.org/2000/svg":U=="math"?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),n!=null){for(s=0;s<n.length;s++)if((w=n[s])&&"setAttribute"in w==!!U&&(U?w.localName==U:w.nodeType==3)){e=w,n[s]=null;break}}if(e==null){if(U==null)return document.createTextNode(O);e=document.createElementNS(a,U,O.is&&O),d&&(H.__m&&H.__m(t,n),d=!1),n=null}if(U==null)R===O||d&&e.data==O||(e.data=O);else{if(n=n&&Je.call(e.childNodes),R=r.props||Qe,!d&&n!=null)for(R={},s=0;s<e.attributes.length;s++)R[(w=e.attributes[s]).name]=w.value;for(s in R)if(w=R[s],s!="children"){if(s=="dangerouslySetInnerHTML")c=w;else if(!(s in O)){if(s=="value"&&"defaultValue"in O||s=="checked"&&"defaultChecked"in O)continue;mt(e,s,null,w,a)}}for(s in O)w=O[s],s=="children"?b=w:s=="dangerouslySetInnerHTML"?h=w:s=="value"?C=w:s=="checked"?M=w:d&&typeof w!="function"||R[s]===w||mt(e,s,w,R[s],a);if(h)d||c&&(h.__html==c.__html||h.__html==e.innerHTML)||(e.innerHTML=h.__html),t.__k=[];else if(c&&(e.innerHTML=""),Hr(t.type=="template"?e.content:e,et(b)?b:[b],t,r,o,U=="foreignObject"?"http://www.w3.org/1999/xhtml":a,n,i,n?n[0]:r.__k&&Ue(r,0),d,u),n!=null)for(s=n.length;s--;)Ht(n[s]);d||(s="value",U=="progress"&&C==null?e.removeAttribute("value"):C!=null&&(C!==e[s]||U=="progress"&&!C||U=="option"&&C!=R[s])&&mt(e,s,C,R[s],a),s="checked",M!=null&&M!=e[s]&&mt(e,s,M,R[s],a))}return e}function Ut(e,t,r){try{if(typeof e=="function"){var o=typeof e.__u=="function";o&&e.__u(),o&&t==null||(e.__u=e(t))}else e.current=t}catch(a){H.__e(a,r)}}function Fr(e,t,r){var o,a;if(H.unmount&&H.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||Ut(o,null,t)),(o=e.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(n){H.__e(n,t)}o.base=o.__P=null}if(o=e.__k)for(a=0;a<o.length;a++)o[a]&&Fr(o[a],t,r||typeof e.type!="function");r||Ht(e.__e),e.__c=e.__=e.__e=void 0}function $n(e,t,r){return this.constructor(e,r)}function rt(e,t,r){var o,a,n,i;t==document&&(t=document.documentElement),H.__&&H.__(e,t),a=(o=typeof r=="function")?null:r&&r.__k||t.__k,n=[],i=[],zt(t,e=(!o&&r||t).__k=m(N,null,[e]),a||Qe,Qe,t.namespaceURI,!o&&r?[r]:a?null:t.firstChild?Je.call(t.childNodes):null,n,!o&&r?r:a?a.__e:t.firstChild,o,i),$r(n,e,i)}function Zr(e,t){rt(e,t,Zr)}function jn(e,t,r){var o,a,n,i,d=be({},e.props);for(n in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)n=="key"?o=t[n]:n=="ref"?a=t[n]:d[n]=t[n]===void 0&&i!=null?i[n]:t[n];return arguments.length>2&&(d.children=arguments.length>3?Je.call(arguments,2):r),tt(e.type,d,o||e.key,a||e.ref,null)}function $t(e){function t(r){var o,a;return this.getChildContext||(o=new Set,(a={})[t.__c]=this,this.getChildContext=function(){return a},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&o.forEach(function(i){i.__e=!0,Dt(i)})},this.sub=function(n){o.add(n);var i=n.componentWillUnmount;n.componentWillUnmount=function(){o&&o.delete(n),i&&i.call(n)}}),r.children}return t.__c="__cC"+Nr++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,o){return r.children(o)}).contextType=t,t}Je=Or.slice,H={__e:function(e,t,r,o){for(var a,n,i;t=t.__;)if((a=t.__c)&&!a.__)try{if((n=a.constructor)&&n.getDerivedStateFromError!=null&&(a.setState(n.getDerivedStateFromError(e)),i=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(e,o||{}),i=a.__d),i)return a.__E=a}catch(d){e=d}throw e}},Ar=0,ge.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=be({},this.state),typeof e=="function"&&(e=e(be({},r),this.props)),e&&be(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Dt(this))},ge.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Dt(this))},ge.prototype.render=N,Pe=[],Mr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Rr=function(e,t){return e.__v.__b-t.__v.__b},ht.__r=0,Lr=/(PointerCapture)$|Capture$/i,Ot=0,Pt=Ur(!1),It=Ur(!0),Nr=0;var Se,Y,jt,Vr,$e=0,Wr=[],q=H,Br=q.__b,Yr=q.__r,Gr=q.diffed,qr=q.__c,Xr=q.unmount,Kr=q.__;function Ie(e,t){q.__h&&q.__h(Y,e,$e||t),$e=0;var r=Y.__H||(Y.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function de(e){return $e=1,gt(Qr,e)}function gt(e,t,r){var o=Ie(Se++,2);if(o.t=e,!o.__c&&(o.__=[r?r(t):Qr(void 0,t),function(d){var u=o.__N?o.__N[0]:o.__[0],s=o.t(u,d);u!==s&&(o.__N=[s,o.__[1]],o.__c.setState({}))}],o.__c=Y,!Y.__f)){var a=function(d,u,s){if(!o.__c.__H)return!0;var h=o.__c.__H.__.filter(function(b){return!!b.__c});if(h.every(function(b){return!b.__N}))return!n||n.call(this,d,u,s);var c=o.__c.props!==d;return h.forEach(function(b){if(b.__N){var w=b.__[0];b.__=b.__N,b.__N=void 0,w!==b.__[0]&&(c=!0)}}),n&&n.call(this,d,u,s)||c};Y.__f=!0;var n=Y.shouldComponentUpdate,i=Y.componentWillUpdate;Y.componentWillUpdate=function(d,u,s){if(this.__e){var h=n;n=void 0,a(d,u,s),n=h}i&&i.call(this,d,u,s)},Y.shouldComponentUpdate=a}return o.__N||o.__}function ve(e,t){var r=Ie(Se++,3);!q.__s&&Yt(r.__H,t)&&(r.__=e,r.u=t,Y.__H.__h.push(r))}function je(e,t){var r=Ie(Se++,4);!q.__s&&Yt(r.__H,t)&&(r.__=e,r.u=t,Y.__h.push(r))}function vt(e){return $e=5,ot(function(){return{current:e}},[])}function Ft(e,t,r){$e=6,je(function(){if(typeof e=="function"){var o=e(t());return function(){e(null),o&&typeof o=="function"&&o()}}if(e)return e.current=t(),function(){return e.current=null}},r==null?r:r.concat(e))}function ot(e,t){var r=Ie(Se++,7);return Yt(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function Zt(e,t){return $e=8,ot(function(){return e},t)}function wt(e){var t=Y.context[e.__c],r=Ie(Se++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(Y)),t.props.value):e.__}function Vt(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function Fn(e){var t=Ie(Se++,10),r=de();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(o,a){t.__&&t.__(o,a),r[1](o)}),[r[0],function(){r[1](void 0)}]}function Wt(){var e=Ie(Se++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function Zn(){for(var e;e=Wr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_t),e.__H.__h.forEach(Bt),e.__H.__h=[]}catch(t){e.__H.__h=[],q.__e(t,e.__v)}}q.__b=function(e){Y=null,Br&&Br(e)},q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Kr&&Kr(e,t)},q.__r=function(e){Yr&&Yr(e),Se=0;var t=(Y=e.__c).__H;t&&(jt===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(_t),t.__h.forEach(Bt),t.__h=[],Se=0)),jt=Y},q.diffed=function(e){Gr&&Gr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Wr.push(t)!==1&&Vr===q.requestAnimationFrame||((Vr=q.requestAnimationFrame)||Vn)(Zn)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),jt=Y=null},q.__c=function(e,t){t.some(function(r){try{r.__h.forEach(_t),r.__h=r.__h.filter(function(o){return!o.__||Bt(o)})}catch(o){t.some(function(a){a.__h&&(a.__h=[])}),t=[],q.__e(o,r.__v)}}),qr&&qr(e,t)},q.unmount=function(e){Xr&&Xr(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(o){try{_t(o)}catch(a){t=a}}),r.__H=void 0,t&&q.__e(t,r.__v))};var Jr=typeof requestAnimationFrame=="function";function Vn(e){var t,r=function(){clearTimeout(o),Jr&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(r,35);Jr&&(t=requestAnimationFrame(r))}function _t(e){var t=Y,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Y=t}function Bt(e){var t=Y;e.__c=e.__(),Y=t}function Yt(e,t){return!e||e.length!==t.length||t.some(function(r,o){return r!==e[o]})}function Qr(e,t){return typeof t=="function"?t(e):t}function eo(e,t){for(var r in t)e[r]=t[r];return e}function Gt(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var o in t)if(o!=="__source"&&e[o]!==t[o])return!0;return!1}function qt(e,t){var r=t(),o=de({t:{__:r,u:t}}),a=o[0].t,n=o[1];return je(function(){a.__=r,a.u=t,Xt(a)&&n({t:a})},[e,r,t]),ve(function(){return Xt(a)&&n({t:a}),e(function(){Xt(a)&&n({t:a})})},[e]),r}function Xt(e){var t,r,o=e.u,a=e.__;try{var n=o();return!((t=a)===(r=n)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}function Kt(e){e()}function Jt(e){return e}function Qt(){return[!1,Kt]}var er=je;function yt(e,t){this.props=e,this.context=t}function to(e,t){function r(a){var n=this.props.ref,i=n==a.ref;return!i&&n&&(n.call?n(null):n.current=null),t?!t(this.props,a)||!i:Gt(this.props,a)}function o(a){return this.shouldComponentUpdate=r,m(e,a)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}(yt.prototype=new ge).isPureReactComponent=!0,yt.prototype.shouldComponentUpdate=function(e,t){return Gt(this.props,e)||Gt(this.state,t)};var ro=H.__b;H.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ro&&ro(e)};var Wn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ae(e){function t(r){var o=eo({},r);return delete o.ref,e(o,r.ref||null)}return t.$$typeof=Wn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var oo=function(e,t){return e==null?null:Te(Te(e).map(t))},no={map:oo,forEach:oo,count:function(e){return e?Te(e).length:0},only:function(e){var t=Te(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Te},Bn=H.__e;H.__e=function(e,t,r,o){if(e.then){for(var a,n=t;n=n.__;)if((a=n.__c)&&a.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),a.__c(e,t)}Bn(e,t,r,o)};var ao=H.unmount;function io(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),e.__c.__H=null),(e=eo({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(o){return io(o,t,r)})),e}function lo(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(o){return lo(o,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function nt(){this.__u=0,this.o=null,this.__b=null}function so(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function co(e){var t,r,o;function a(n){if(t||(t=e()).then(function(i){r=i.default||i},function(i){o=i}),o)throw o;if(!r)throw t;return m(r,n)}return a.displayName="Lazy",a.__f=!0,a}function Fe(){this.i=null,this.l=null}H.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ao&&ao(e)},(nt.prototype=new ge).__c=function(e,t){var r=t.__c,o=this;o.o==null&&(o.o=[]),o.o.push(r);var a=so(o.__v),n=!1,i=function(){n||(n=!0,r.__R=null,a?a(d):d())};r.__R=i;var d=function(){if(!--o.__u){if(o.state.__a){var u=o.state.__a;o.__v.__k[0]=lo(u,u.__c.__P,u.__c.__O)}var s;for(o.setState({__a:o.__b=null});s=o.o.pop();)s.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(i,i)},nt.prototype.componentWillUnmount=function(){this.o=[]},nt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=io(this.__b,r,o.__O=o.__P)}this.__b=null}var a=t.__a&&m(N,null,e.fallback);return a&&(a.__u&=-33),[m(N,null,t.__a?null:e.children),a]};var uo=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function Yn(e){return this.getChildContext=function(){return e.context},e.children}function Gn(e){var t=this,r=e.h;if(t.componentWillUnmount=function(){rt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),!t.v){for(var o=t.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},insertBefore:function(a,n){this.childNodes.push(a),t.h.insertBefore(a,n)},removeChild:function(a){this.childNodes.splice(this.childNodes.indexOf(a)>>>1,1),t.h.removeChild(a)}}}rt(m(Yn,{context:t.context},e.__v),t.v)}function po(e,t){var r=m(Gn,{__v:e,h:t});return r.containerInfo=t,r}(Fe.prototype=new ge).__a=function(e){var t=this,r=so(t.__v),o=t.l.get(e);return o[0]++,function(a){var n=function(){t.props.revealOrder?(o.push(a),uo(t,e,o)):a()};r?r(n):n()}},Fe.prototype.render=function(e){this.i=null,this.l=new Map;var t=Te(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},Fe.prototype.componentDidUpdate=Fe.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){uo(e,r,t)})};var fo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,qn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Xn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Kn=/[A-Z0-9]/g,Jn=typeof document<"u",Qn=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function bt(e,t,r){return t.__k==null&&(t.textContent=""),rt(e,t),typeof r=="function"&&r(),e?e.__c:null}function ho(e,t,r){return Zr(e,t),typeof r=="function"&&r(),e?e.__c:null}ge.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ge.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var mo=H.event;function ea(){}function ta(){return this.cancelBubble}function ra(){return this.defaultPrevented}H.event=function(e){return mo&&(e=mo(e)),e.persist=ea,e.isPropagationStopped=ta,e.isDefaultPrevented=ra,e.nativeEvent=e};var tr,oa={enumerable:!1,configurable:!0,get:function(){return this.class}},go=H.vnode;H.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,o=t.type,a={},n=o.indexOf("-")===-1;for(var i in r){var d=r[i];if(!(i==="value"&&"defaultValue"in r&&d==null||Jn&&i==="children"&&o==="noscript"||i==="class"||i==="className")){var u=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&d===!0?d="":u==="translate"&&d==="no"?d=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?i="ondblclick":u!=="onchange"||o!=="input"&&o!=="textarea"||Qn(r.type)?u==="onfocus"?i="onfocusin":u==="onblur"?i="onfocusout":Xn.test(i)&&(i=u):u=i="oninput":n&&qn.test(i)?i=i.replace(Kn,"-$&").toLowerCase():d===null&&(d=void 0),u==="oninput"&&a[i=u]&&(i="oninputCapture"),a[i]=d}}o=="select"&&a.multiple&&Array.isArray(a.value)&&(a.value=Te(r.children).forEach(function(s){s.props.selected=a.value.indexOf(s.props.value)!=-1})),o=="select"&&a.defaultValue!=null&&(a.value=Te(r.children).forEach(function(s){s.props.selected=a.multiple?a.defaultValue.indexOf(s.props.value)!=-1:a.defaultValue==s.props.value})),r.class&&!r.className?(a.class=r.class,Object.defineProperty(a,"className",oa)):(r.className&&!r.class||r.class&&r.className)&&(a.class=a.className=r.className),t.props=a}(e),e.$$typeof=fo,go&&go(e)};var vo=H.__r;H.__r=function(e){vo&&vo(e),tr=e.__c};var wo=H.diffed;H.diffed=function(e){wo&&wo(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),tr=null};var _o={ReactCurrentDispatcher:{current:{readContext:function(e){return tr.__n[e.__c].props.value},useCallback:Zt,useContext:wt,useDebugValue:Vt,useDeferredValue:Jt,useEffect:ve,useId:Wt,useImperativeHandle:Ft,useInsertionEffect:er,useLayoutEffect:je,useMemo:ot,useReducer:gt,useRef:vt,useState:de,useSyncExternalStore:qt,useTransition:Qt}}},na="18.3.1";function yo(e){return m.bind(null,e)}function at(e){return!!e&&e.$$typeof===fo}function bo(e){return at(e)&&e.type===N}function xo(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function ko(e){return at(e)?jn.apply(null,arguments):e}function Eo(e){return!!e.__k&&(rt(null,e),!0)}function To(e){return e&&(e.base||e.nodeType===1&&e)||null}var So=function(e,t){return e(t)},Ao=function(e,t){return e(t)},Co=N,Mo=at,xt={useState:de,useId:Wt,useReducer:gt,useEffect:ve,useLayoutEffect:je,useInsertionEffect:er,useTransition:Qt,useDeferredValue:Jt,useSyncExternalStore:qt,startTransition:Kt,useRef:vt,useImperativeHandle:Ft,useMemo:ot,useCallback:Zt,useContext:wt,useDebugValue:Vt,version:"18.3.1",Children:no,render:bt,hydrate:ho,unmountComponentAtNode:Eo,createPortal:po,createElement:m,createContext:$t,createFactory:yo,cloneElement:ko,createRef:Pr,Fragment:N,isValidElement:at,isElement:Mo,isFragment:bo,isMemo:xo,findDOMNode:To,Component:ge,PureComponent:yt,memo:to,forwardRef:Ae,flushSync:Ao,unstable_batchedUpdates:So,StrictMode:Co,Suspense:nt,SuspenseList:Fe,lazy:co,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_o};const aa=Object.freeze(Object.defineProperty({__proto__:null,Children:no,Component:ge,Fragment:N,PureComponent:yt,StrictMode:Co,Suspense:nt,SuspenseList:Fe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_o,cloneElement:ko,createContext:$t,createElement:m,createFactory:yo,createPortal:po,createRef:Pr,default:xt,findDOMNode:To,flushSync:Ao,forwardRef:Ae,hydrate:ho,isElement:Mo,isFragment:bo,isMemo:xo,isValidElement:at,lazy:co,memo:to,render:bt,startTransition:Kt,unmountComponentAtNode:Eo,unstable_batchedUpdates:So,useCallback:Zt,useContext:wt,useDebugValue:Vt,useDeferredValue:Jt,useEffect:ve,useErrorBoundary:Fn,useId:Wt,useImperativeHandle:Ft,useInsertionEffect:er,useLayoutEffect:je,useMemo:ot,useReducer:gt,useRef:vt,useState:de,useSyncExternalStore:qt,useTransition:Qt,version:na},Symbol.toStringTag,{value:"Module"}));var ia=0;function g(e,t,r,o,a,n){t||(t={});var i,d,u=t;if("ref"in u)for(d in u={},t)d=="ref"?i=t[d]:u[d]=t[d];var s={type:e,props:u,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ia,__i:-1,__u:0,__source:a,__self:n};if(typeof e=="function"&&(i=e.defaultProps))for(d in i)u[d]===void 0&&(u[d]=i[d]);return H.vnode&&H.vnode(s),s}/*! @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 */const{entries:Ro,setPrototypeOf:Lo,isFrozen:la,getPrototypeOf:sa,getOwnPropertyDescriptor:ca}=Object;let{freeze:oe,seal:pe,create:No}=Object,{apply:rr,construct:or}=typeof Reflect<"u"&&Reflect;oe||(oe=function(t){return t}),pe||(pe=function(t){return t}),rr||(rr=function(t,r,o){return t.apply(r,o)}),or||(or=function(t,r){return new t(...r)});const kt=ae(Array.prototype.forEach),da=ae(Array.prototype.lastIndexOf),Oo=ae(Array.prototype.pop),it=ae(Array.prototype.push),ua=ae(Array.prototype.splice),Et=ae(String.prototype.toLowerCase),nr=ae(String.prototype.toString),Po=ae(String.prototype.match),lt=ae(String.prototype.replace),pa=ae(String.prototype.indexOf),fa=ae(String.prototype.trim),we=ae(Object.prototype.hasOwnProperty),ne=ae(RegExp.prototype.test),st=ha(TypeError);function ae(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return rr(e,t,o)}}function ha(e){return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return or(e,r)}}function z(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Et;Lo&&Lo(e,null);let o=t.length;for(;o--;){let a=t[o];if(typeof a=="string"){const n=r(a);n!==a&&(la(t)||(t[o]=n),a=n)}e[a]=!0}return e}function ma(e){for(let t=0;t<e.length;t++)we(e,t)||(e[t]=null);return e}function Ce(e){const t=No(null);for(const[r,o]of Ro(e))we(e,r)&&(Array.isArray(o)?t[r]=ma(o):o&&typeof o=="object"&&o.constructor===Object?t[r]=Ce(o):t[r]=o);return t}function ct(e,t){for(;e!==null;){const o=ca(e,t);if(o){if(o.get)return ae(o.get);if(typeof o.value=="function")return ae(o.value)}e=sa(e)}function r(){return null}return r}const Io=oe(["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"]),ar=oe(["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"]),ir=oe(["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"]),ga=oe(["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"]),lr=oe(["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"]),va=oe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ho=oe(["#text"]),Do=oe(["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"]),sr=oe(["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"]),zo=oe(["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"]),Tt=oe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),wa=pe(/\{\{[\w\W]*|[\w\W]*\}\}/gm),_a=pe(/<%[\w\W]*|[\w\W]*%>/gm),ya=pe(/\$\{[\w\W]*/gm),ba=pe(/^data-[\-\w.\u00B7-\uFFFF]+$/),xa=pe(/^aria-[\-\w]+$/),Uo=pe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ka=pe(/^(?:\w+script|data):/i),Ea=pe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$o=pe(/^html$/i),Ta=pe(/^[a-z][.\w]*(-[.\w]+)+$/i);var jo=Object.freeze({__proto__:null,ARIA_ATTR:xa,ATTR_WHITESPACE:Ea,CUSTOM_ELEMENT:Ta,DATA_ATTR:ba,DOCTYPE_NAME:$o,ERB_EXPR:_a,IS_ALLOWED_URI:Uo,IS_SCRIPT_OR_DATA:ka,MUSTACHE_EXPR:wa,TMPLIT_EXPR:ya});const dt={element:1,text:3,progressingInstruction:7,comment:8,document:9},Sa=function(){return typeof window>"u"?null:window},Aa=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const a="data-tt-policy-suffix";r&&r.hasAttribute(a)&&(o=r.getAttribute(a));const n="dompurify"+(o?"#"+o:"");try{return t.createPolicy(n,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+n+" could not be created."),null}},Fo=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Zo(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Sa();const t=A=>Zo(A);if(t.version="3.2.6",t.removed=[],!e||!e.document||e.document.nodeType!==dt.document||!e.Element)return t.isSupported=!1,t;let{document:r}=e;const o=r,a=o.currentScript,{DocumentFragment:n,HTMLTemplateElement:i,Node:d,Element:u,NodeFilter:s,NamedNodeMap:h=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:c,DOMParser:b,trustedTypes:w}=e,C=u.prototype,M=ct(C,"cloneNode"),R=ct(C,"remove"),O=ct(C,"nextSibling"),U=ct(C,"childNodes"),V=ct(C,"parentNode");if(typeof i=="function"){const A=r.createElement("template");A.content&&A.content.ownerDocument&&(r=A.content.ownerDocument)}let L,_="";const{implementation:X,createNodeIterator:xe,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:fe}=o;let F=Fo();t.isSupported=typeof Ro=="function"&&typeof V=="function"&&X&&X.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ee,ERB_EXPR:Me,TMPLIT_EXPR:he,DATA_ATTR:Oe,ARIA_ATTR:ie,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:ke,CUSTOM_ELEMENT:S}=jo;let{IS_ALLOWED_URI:p}=jo,f=null;const k=z({},[...Io,...ar,...ir,...lr,...Ho]);let E=null;const P=z({},[...Do,...sr,...zo,...Tt]);let T=Object.seal(No(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),I=null,D=null,$=!0,Z=!0,j=!1,Q=!0,y=!1,le=!0,me=!1,We=!1,_r=!1,Be=!1,At=!1,Ct=!1,wn=!0,_n=!1;const Ya="user-content-";let yr=!0,ut=!1,Ye={},Ge=null;const yn=z({},["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"]);let bn=null;const xn=z({},["audio","video","img","source","image","track"]);let br=null;const kn=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Mt="http://www.w3.org/1998/Math/MathML",Rt="http://www.w3.org/2000/svg",Re="http://www.w3.org/1999/xhtml";let qe=Re,xr=!1,kr=null;const Ga=z({},[Mt,Rt,Re],nr);let Lt=z({},["mi","mo","mn","ms","mtext"]),Nt=z({},["annotation-xml"]);const qa=z({},["title","style","font","a","script"]);let pt=null;const Xa=["application/xhtml+xml","text/html"],Ka="text/html";let J=null,Xe=null;const Ja=r.createElement("form"),En=function(l){return l instanceof RegExp||l instanceof Function},Er=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Xe&&Xe===l)){if((!l||typeof l!="object")&&(l={}),l=Ce(l),pt=Xa.indexOf(l.PARSER_MEDIA_TYPE)===-1?Ka:l.PARSER_MEDIA_TYPE,J=pt==="application/xhtml+xml"?nr:Et,f=we(l,"ALLOWED_TAGS")?z({},l.ALLOWED_TAGS,J):k,E=we(l,"ALLOWED_ATTR")?z({},l.ALLOWED_ATTR,J):P,kr=we(l,"ALLOWED_NAMESPACES")?z({},l.ALLOWED_NAMESPACES,nr):Ga,br=we(l,"ADD_URI_SAFE_ATTR")?z(Ce(kn),l.ADD_URI_SAFE_ATTR,J):kn,bn=we(l,"ADD_DATA_URI_TAGS")?z(Ce(xn),l.ADD_DATA_URI_TAGS,J):xn,Ge=we(l,"FORBID_CONTENTS")?z({},l.FORBID_CONTENTS,J):yn,I=we(l,"FORBID_TAGS")?z({},l.FORBID_TAGS,J):Ce({}),D=we(l,"FORBID_ATTR")?z({},l.FORBID_ATTR,J):Ce({}),Ye=we(l,"USE_PROFILES")?l.USE_PROFILES:!1,$=l.ALLOW_ARIA_ATTR!==!1,Z=l.ALLOW_DATA_ATTR!==!1,j=l.ALLOW_UNKNOWN_PROTOCOLS||!1,Q=l.ALLOW_SELF_CLOSE_IN_ATTR!==!1,y=l.SAFE_FOR_TEMPLATES||!1,le=l.SAFE_FOR_XML!==!1,me=l.WHOLE_DOCUMENT||!1,Be=l.RETURN_DOM||!1,At=l.RETURN_DOM_FRAGMENT||!1,Ct=l.RETURN_TRUSTED_TYPE||!1,_r=l.FORCE_BODY||!1,wn=l.SANITIZE_DOM!==!1,_n=l.SANITIZE_NAMED_PROPS||!1,yr=l.KEEP_CONTENT!==!1,ut=l.IN_PLACE||!1,p=l.ALLOWED_URI_REGEXP||Uo,qe=l.NAMESPACE||Re,Lt=l.MATHML_TEXT_INTEGRATION_POINTS||Lt,Nt=l.HTML_INTEGRATION_POINTS||Nt,T=l.CUSTOM_ELEMENT_HANDLING||{},l.CUSTOM_ELEMENT_HANDLING&&En(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(T.tagNameCheck=l.CUSTOM_ELEMENT_HANDLING.tagNameCheck),l.CUSTOM_ELEMENT_HANDLING&&En(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(T.attributeNameCheck=l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),l.CUSTOM_ELEMENT_HANDLING&&typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(T.allowCustomizedBuiltInElements=l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),y&&(Z=!1),At&&(Be=!0),Ye&&(f=z({},Ho),E=[],Ye.html===!0&&(z(f,Io),z(E,Do)),Ye.svg===!0&&(z(f,ar),z(E,sr),z(E,Tt)),Ye.svgFilters===!0&&(z(f,ir),z(E,sr),z(E,Tt)),Ye.mathMl===!0&&(z(f,lr),z(E,zo),z(E,Tt))),l.ADD_TAGS&&(f===k&&(f=Ce(f)),z(f,l.ADD_TAGS,J)),l.ADD_ATTR&&(E===P&&(E=Ce(E)),z(E,l.ADD_ATTR,J)),l.ADD_URI_SAFE_ATTR&&z(br,l.ADD_URI_SAFE_ATTR,J),l.FORBID_CONTENTS&&(Ge===yn&&(Ge=Ce(Ge)),z(Ge,l.FORBID_CONTENTS,J)),yr&&(f["#text"]=!0),me&&z(f,["html","head","body"]),f.table&&(z(f,["tbody"]),delete I.tbody),l.TRUSTED_TYPES_POLICY){if(typeof l.TRUSTED_TYPES_POLICY.createHTML!="function")throw st('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof l.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw st('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');L=l.TRUSTED_TYPES_POLICY,_=L.createHTML("")}else L===void 0&&(L=Aa(w,a)),L!==null&&typeof _=="string"&&(_=L.createHTML(""));oe&&oe(l),Xe=l}},Tn=z({},[...ar,...ir,...ga]),Sn=z({},[...lr,...va]),Qa=function(l){let v=V(l);(!v||!v.tagName)&&(v={namespaceURI:qe,tagName:"template"});const x=Et(l.tagName),G=Et(v.tagName);return kr[l.namespaceURI]?l.namespaceURI===Rt?v.namespaceURI===Re?x==="svg":v.namespaceURI===Mt?x==="svg"&&(G==="annotation-xml"||Lt[G]):!!Tn[x]:l.namespaceURI===Mt?v.namespaceURI===Re?x==="math":v.namespaceURI===Rt?x==="math"&&Nt[G]:!!Sn[x]:l.namespaceURI===Re?v.namespaceURI===Rt&&!Nt[G]||v.namespaceURI===Mt&&!Lt[G]?!1:!Sn[x]&&(qa[x]||!Tn[x]):!!(pt==="application/xhtml+xml"&&kr[l.namespaceURI]):!1},Ee=function(l){it(t.removed,{element:l});try{V(l).removeChild(l)}catch{R(l)}},Ke=function(l,v){try{it(t.removed,{attribute:v.getAttributeNode(l),from:v})}catch{it(t.removed,{attribute:null,from:v})}if(v.removeAttribute(l),l==="is")if(Be||At)try{Ee(v)}catch{}else try{v.setAttribute(l,"")}catch{}},An=function(l){let v=null,x=null;if(_r)l="<remove></remove>"+l;else{const K=Po(l,/^[\r\n\t ]+/);x=K&&K[0]}pt==="application/xhtml+xml"&&qe===Re&&(l='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+l+"</body></html>");const G=L?L.createHTML(l):l;if(qe===Re)try{v=new b().parseFromString(G,pt)}catch{}if(!v||!v.documentElement){v=X.createDocument(qe,"template",null);try{v.documentElement.innerHTML=xr?_:G}catch{}}const te=v.body||v.documentElement;return l&&x&&te.insertBefore(r.createTextNode(x),te.childNodes[0]||null),qe===Re?ue.call(v,me?"html":"body")[0]:me?v.documentElement:te},Cn=function(l){return xe.call(l.ownerDocument||l,l,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},Tr=function(l){return l instanceof c&&(typeof l.nodeName!="string"||typeof l.textContent!="string"||typeof l.removeChild!="function"||!(l.attributes instanceof h)||typeof l.removeAttribute!="function"||typeof l.setAttribute!="function"||typeof l.namespaceURI!="string"||typeof l.insertBefore!="function"||typeof l.hasChildNodes!="function")},Mn=function(l){return typeof d=="function"&&l instanceof d};function Le(A,l,v){kt(A,x=>{x.call(t,l,v,Xe)})}const Rn=function(l){let v=null;if(Le(F.beforeSanitizeElements,l,null),Tr(l))return Ee(l),!0;const x=J(l.nodeName);if(Le(F.uponSanitizeElement,l,{tagName:x,allowedTags:f}),le&&l.hasChildNodes()&&!Mn(l.firstElementChild)&&ne(/<[/\w!]/g,l.innerHTML)&&ne(/<[/\w!]/g,l.textContent)||l.nodeType===dt.progressingInstruction||le&&l.nodeType===dt.comment&&ne(/<[/\w]/g,l.data))return Ee(l),!0;if(!f[x]||I[x]){if(!I[x]&&Nn(x)&&(T.tagNameCheck instanceof RegExp&&ne(T.tagNameCheck,x)||T.tagNameCheck instanceof Function&&T.tagNameCheck(x)))return!1;if(yr&&!Ge[x]){const G=V(l)||l.parentNode,te=U(l)||l.childNodes;if(te&&G){const K=te.length;for(let ce=K-1;ce>=0;--ce){const Ne=M(te[ce],!0);Ne.__removalCount=(l.__removalCount||0)+1,G.insertBefore(Ne,O(l))}}}return Ee(l),!0}return l instanceof u&&!Qa(l)||(x==="noscript"||x==="noembed"||x==="noframes")&&ne(/<\/no(script|embed|frames)/i,l.innerHTML)?(Ee(l),!0):(y&&l.nodeType===dt.text&&(v=l.textContent,kt([ee,Me,he],G=>{v=lt(v,G," ")}),l.textContent!==v&&(it(t.removed,{element:l.cloneNode()}),l.textContent=v)),Le(F.afterSanitizeElements,l,null),!1)},Ln=function(l,v,x){if(wn&&(v==="id"||v==="name")&&(x in r||x in Ja))return!1;if(!(Z&&!D[v]&&ne(Oe,v))){if(!($&&ne(ie,v))){if(!E[v]||D[v]){if(!(Nn(l)&&(T.tagNameCheck instanceof RegExp&&ne(T.tagNameCheck,l)||T.tagNameCheck instanceof Function&&T.tagNameCheck(l))&&(T.attributeNameCheck instanceof RegExp&&ne(T.attributeNameCheck,v)||T.attributeNameCheck instanceof Function&&T.attributeNameCheck(v))||v==="is"&&T.allowCustomizedBuiltInElements&&(T.tagNameCheck instanceof RegExp&&ne(T.tagNameCheck,x)||T.tagNameCheck instanceof Function&&T.tagNameCheck(x))))return!1}else if(!br[v]){if(!ne(p,lt(x,ke,""))){if(!((v==="src"||v==="xlink:href"||v==="href")&&l!=="script"&&pa(x,"data:")===0&&bn[l])){if(!(j&&!ne(ye,lt(x,ke,"")))){if(x)return!1}}}}}}return!0},Nn=function(l){return l!=="annotation-xml"&&Po(l,S)},On=function(l){Le(F.beforeSanitizeAttributes,l,null);const{attributes:v}=l;if(!v||Tr(l))return;const x={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:E,forceKeepAttr:void 0};let G=v.length;for(;G--;){const te=v[G],{name:K,namespaceURI:ce,value:Ne}=te,ft=J(K),Sr=Ne;let re=K==="value"?Sr:fa(Sr);if(x.attrName=ft,x.attrValue=re,x.keepAttr=!0,x.forceKeepAttr=void 0,Le(F.uponSanitizeAttribute,l,x),re=x.attrValue,_n&&(ft==="id"||ft==="name")&&(Ke(K,l),re=Ya+re),le&&ne(/((--!?|])>)|<\/(style|title)/i,re)){Ke(K,l);continue}if(x.forceKeepAttr)continue;if(!x.keepAttr){Ke(K,l);continue}if(!Q&&ne(/\/>/i,re)){Ke(K,l);continue}y&&kt([ee,Me,he],In=>{re=lt(re,In," ")});const Pn=J(l.nodeName);if(!Ln(Pn,ft,re)){Ke(K,l);continue}if(L&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!ce)switch(w.getAttributeType(Pn,ft)){case"TrustedHTML":{re=L.createHTML(re);break}case"TrustedScriptURL":{re=L.createScriptURL(re);break}}if(re!==Sr)try{ce?l.setAttributeNS(ce,K,re):l.setAttribute(K,re),Tr(l)?Ee(l):Oo(t.removed)}catch{Ke(K,l)}}Le(F.afterSanitizeAttributes,l,null)},ei=function A(l){let v=null;const x=Cn(l);for(Le(F.beforeSanitizeShadowDOM,l,null);v=x.nextNode();)Le(F.uponSanitizeShadowNode,v,null),Rn(v),On(v),v.content instanceof n&&A(v.content);Le(F.afterSanitizeShadowDOM,l,null)};return t.sanitize=function(A){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=null,x=null,G=null,te=null;if(xr=!A,xr&&(A="<!-->"),typeof A!="string"&&!Mn(A))if(typeof A.toString=="function"){if(A=A.toString(),typeof A!="string")throw st("dirty is not a string, aborting")}else throw st("toString is not a function");if(!t.isSupported)return A;if(We||Er(l),t.removed=[],typeof A=="string"&&(ut=!1),ut){if(A.nodeName){const Ne=J(A.nodeName);if(!f[Ne]||I[Ne])throw st("root node is forbidden and cannot be sanitized in-place")}}else if(A instanceof d)v=An("<!---->"),x=v.ownerDocument.importNode(A,!0),x.nodeType===dt.element&&x.nodeName==="BODY"||x.nodeName==="HTML"?v=x:v.appendChild(x);else{if(!Be&&!y&&!me&&A.indexOf("<")===-1)return L&&Ct?L.createHTML(A):A;if(v=An(A),!v)return Be?null:Ct?_:""}v&&_r&&Ee(v.firstChild);const K=Cn(ut?A:v);for(;G=K.nextNode();)Rn(G),On(G),G.content instanceof n&&ei(G.content);if(ut)return A;if(Be){if(At)for(te=se.call(v.ownerDocument);v.firstChild;)te.appendChild(v.firstChild);else te=v;return(E.shadowroot||E.shadowrootmode)&&(te=fe.call(o,te,!0)),te}let ce=me?v.outerHTML:v.innerHTML;return me&&f["!doctype"]&&v.ownerDocument&&v.ownerDocument.doctype&&v.ownerDocument.doctype.name&&ne($o,v.ownerDocument.doctype.name)&&(ce="<!DOCTYPE "+v.ownerDocument.doctype.name+`>
|
|
3
|
+
`+ce),y&&kt([ee,Me,he],Ne=>{ce=lt(ce,Ne," ")}),L&&Ct?L.createHTML(ce):ce},t.setConfig=function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Er(A),We=!0},t.clearConfig=function(){Xe=null,We=!1},t.isValidAttribute=function(A,l,v){Xe||Er({});const x=J(A),G=J(l);return Ln(x,G,v)},t.addHook=function(A,l){typeof l=="function"&&it(F[A],l)},t.removeHook=function(A,l){if(l!==void 0){const v=da(F[A],l);return v===-1?void 0:ua(F[A],v,1)[0]}return Oo(F[A])},t.removeHooks=function(A){F[A]=[]},t.removeAllHooks=function(){F=Fo()},t}var Vo=Zo();const Ca=new Map([["bold",m(N,null,m("path",{d:"M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"}))],["duotone",m(N,null,m("path",{d:"M112,56V200L40,128Z",opacity:"0.2"}),m("path",{d:"M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"}))],["fill",m(N,null,m("path",{d:"M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"}))],["light",m(N,null,m("path",{d:"M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"}))],["regular",m(N,null,m("path",{d:"M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"}))],["thin",m(N,null,m("path",{d:"M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"}))]]),Ma=new Map([["bold",m(N,null,m("path",{d:"M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"}))],["duotone",m(N,null,m("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),m("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["fill",m(N,null,m("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["light",m(N,null,m("path",{d:"M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"}))],["regular",m(N,null,m("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["thin",m(N,null,m("path",{d:"M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"}))]]),Ra=new Map([["bold",m(N,null,m("path",{d:"M240,100h-8.2L205.08,39.88A20,20,0,0,0,186.8,28H69.2A20,20,0,0,0,50.92,39.88L24.2,100H16a12,12,0,0,0,0,24h4v76a20,20,0,0,0,20,20H68a20,20,0,0,0,20-20V180h80v20a20,20,0,0,0,20,20h28a20,20,0,0,0,20-20V124h4a12,12,0,0,0,0-24ZM71.8,52H184.2l21.33,48H50.47ZM64,196H44V180H64Zm128,0V180h20v16Zm20-40H44V124H212Z"}))],["duotone",m(N,null,m("path",{d:"M184,176h40v24a8,8,0,0,1-8,8H192a8,8,0,0,1-8-8ZM32,200a8,8,0,0,0,8,8H64a8,8,0,0,0,8-8V176H32ZM194.11,44.75A8,8,0,0,0,186.8,40H69.2a8,8,0,0,0-7.31,4.75L32,112H224Z",opacity:"0.2"}),m("path",{d:"M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z"}))],["fill",m(N,null,m("path",{d:"M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16v-8h96v8a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM80,152H56a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm120,0H176a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM44.31,104,69.2,48H186.8l24.89,56Z"}))],["light",m(N,null,m("path",{d:"M240,106H227.9L199.59,42.31A14,14,0,0,0,186.8,34H69.2a14,14,0,0,0-12.79,8.31L28.1,106H16a6,6,0,0,0,0,12H26v82a14,14,0,0,0,14,14H64a14,14,0,0,0,14-14V182H178v18a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V118h10a6,6,0,0,0,0-12ZM67.37,47.19A2,2,0,0,1,69.2,46H186.8a2,2,0,0,1,1.83,1.19L214.77,106H41.23ZM66,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V182H66Zm150,2H192a2,2,0,0,1-2-2V182h28v18A2,2,0,0,1,216,202Zm2-32H38V118H218ZM58,144a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12H64A6,6,0,0,1,58,144Zm112,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,144Z"}))],["regular",m(N,null,m("path",{d:"M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z"}))],["thin",m(N,null,m("path",{d:"M240,108H226.6L197.77,43.13a12,12,0,0,0-11-7.13H69.2a12,12,0,0,0-11,7.13L29.4,108H16a4,4,0,0,0,0,8H28v84a12,12,0,0,0,12,12H64a12,12,0,0,0,12-12V180H180v20a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V116h12a4,4,0,0,0,0-8ZM65.54,46.38A4,4,0,0,1,69.2,44H186.8a4,4,0,0,1,3.66,2.38L217.84,108H38.16ZM68,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H68Zm148,4H192a4,4,0,0,1-4-4V180h32v20A4,4,0,0,1,216,204Zm4-32H36V116H220ZM60,144a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8H64A4,4,0,0,1,60,144Zm112,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,144Z"}))]]),La=new Map([["bold",m(N,null,m("path",{d:"M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"}))],["duotone",m(N,null,m("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),m("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["fill",m(N,null,m("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"}))],["light",m(N,null,m("path",{d:"M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"}))],["regular",m(N,null,m("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["thin",m(N,null,m("path",{d:"M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"}))]]),Na=new Map([["bold",m(N,null,m("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",m(N,null,m("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),m("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",m(N,null,m("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",m(N,null,m("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",m(N,null,m("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",m(N,null,m("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),Oa=new Map([["bold",m(N,null,m("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",m(N,null,m("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),m("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",m(N,null,m("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",m(N,null,m("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",m(N,null,m("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",m(N,null,m("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"}))]]),Pa=$t({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),He=Ae((e,t)=>{const{alt:r,color:o,size:a,weight:n,mirrored:i,children:d,weights:u,...s}=e,{color:h="currentColor",size:c,weight:b="regular",mirrored:w=!1,...C}=wt(Pa);return m("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:a??c,height:a??c,fill:o??h,viewBox:"0 0 256 256",transform:i||w?"scale(-1, 1)":void 0,...C,...s},!!r&&m("title",null,r),d,u.get(n??b))});He.displayName="IconBase";const Wo=Ae((e,t)=>m(He,{ref:t,...e,weights:Ca}));Wo.displayName="ArrowLeftIcon";const Bo=Ae((e,t)=>m(He,{ref:t,...e,weights:Ma}));Bo.displayName="ArrowsClockwiseIcon";const Yo=Ae((e,t)=>m(He,{ref:t,...e,weights:Ra}));Yo.displayName="CarIcon";const Go=Ae((e,t)=>m(He,{ref:t,...e,weights:La}));Go.displayName="CircleNotchIcon";const qo=Ae((e,t)=>m(He,{ref:t,...e,weights:Na}));qo.displayName="XIcon";const Xo=Ae((e,t)=>m(He,{ref:t,...e,weights:Oa}));Xo.displayName="XCircleIcon";function Ko(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jo={exports:{}};/*!
|
|
4
|
+
* JavaScript Cookie v2.2.1
|
|
5
|
+
* https://github.com/js-cookie/js-cookie
|
|
6
|
+
*
|
|
7
|
+
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
8
|
+
* Released under the MIT license
|
|
9
|
+
*/(function(e,t){(function(r){var o;if(e.exports=r(),o=!0,!o){var a=window.Cookies,n=window.Cookies=r();n.noConflict=function(){return window.Cookies=a,n}}})(function(){function r(){for(var n=0,i={};n<arguments.length;n++){var d=arguments[n];for(var u in d)i[u]=d[u]}return i}function o(n){return n.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function a(n){function i(){}function d(s,h,c){if(!(typeof document>"u")){c=r({path:"/"},i.defaults,c),typeof c.expires=="number"&&(c.expires=new Date(new Date*1+c.expires*864e5)),c.expires=c.expires?c.expires.toUTCString():"";try{var b=JSON.stringify(h);/^[\{\[]/.test(b)&&(h=b)}catch{}h=n.write?n.write(h,s):encodeURIComponent(String(h)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),s=encodeURIComponent(String(s)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var w="";for(var C in c)c[C]&&(w+="; "+C,c[C]!==!0&&(w+="="+c[C].split(";")[0]));return document.cookie=s+"="+h+w}}function u(s,h){if(!(typeof document>"u")){for(var c={},b=document.cookie?document.cookie.split("; "):[],w=0;w<b.length;w++){var C=b[w].split("="),M=C.slice(1).join("=");!h&&M.charAt(0)==='"'&&(M=M.slice(1,-1));try{var R=o(C[0]);if(M=(n.read||n)(M,R)||o(M),h)try{M=JSON.parse(M)}catch{}if(c[R]=M,s===R)break}catch{}}return s?c[s]:c}}return i.set=d,i.get=function(s){return u(s,!1)},i.getJSON=function(s){return u(s,!0)},i.remove=function(s,h){d(s,"",r(h,{expires:-1}))},i.defaults={},i.withConverter=a,i}return a(function(){})})})(Jo);var Ia=Jo.exports;const cr=Ko(Ia);var dr={exports:{}},St={exports:{}},W={};/** @license React v16.13.1
|
|
10
|
+
* react-is.production.min.js
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/var Qo;function Ha(){if(Qo)return W;Qo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,n=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,M=e?Symbol.for("react.block"):60121,R=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function V(_){if(typeof _=="object"&&_!==null){var X=_.$$typeof;switch(X){case t:switch(_=_.type,_){case u:case s:case o:case n:case a:case c:return _;default:switch(_=_&&_.$$typeof,_){case d:case h:case C:case w:case i:return _;default:return X}}case r:return X}}}function L(_){return V(_)===s}return W.AsyncMode=u,W.ConcurrentMode=s,W.ContextConsumer=d,W.ContextProvider=i,W.Element=t,W.ForwardRef=h,W.Fragment=o,W.Lazy=C,W.Memo=w,W.Portal=r,W.Profiler=n,W.StrictMode=a,W.Suspense=c,W.isAsyncMode=function(_){return L(_)||V(_)===u},W.isConcurrentMode=L,W.isContextConsumer=function(_){return V(_)===d},W.isContextProvider=function(_){return V(_)===i},W.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===t},W.isForwardRef=function(_){return V(_)===h},W.isFragment=function(_){return V(_)===o},W.isLazy=function(_){return V(_)===C},W.isMemo=function(_){return V(_)===w},W.isPortal=function(_){return V(_)===r},W.isProfiler=function(_){return V(_)===n},W.isStrictMode=function(_){return V(_)===a},W.isSuspense=function(_){return V(_)===c},W.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===o||_===s||_===n||_===a||_===c||_===b||typeof _=="object"&&_!==null&&(_.$$typeof===C||_.$$typeof===w||_.$$typeof===i||_.$$typeof===d||_.$$typeof===h||_.$$typeof===R||_.$$typeof===O||_.$$typeof===U||_.$$typeof===M)},W.typeOf=V,W}var B={};/** @license React v16.13.1
|
|
17
|
+
* react-is.development.js
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the MIT license found in the
|
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/var en;function Da(){return en||(en=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,n=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,M=e?Symbol.for("react.block"):60121,R=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function V(y){return typeof y=="string"||typeof y=="function"||y===o||y===s||y===n||y===a||y===c||y===b||typeof y=="object"&&y!==null&&(y.$$typeof===C||y.$$typeof===w||y.$$typeof===i||y.$$typeof===d||y.$$typeof===h||y.$$typeof===R||y.$$typeof===O||y.$$typeof===U||y.$$typeof===M)}function L(y){if(typeof y=="object"&&y!==null){var le=y.$$typeof;switch(le){case t:var me=y.type;switch(me){case u:case s:case o:case n:case a:case c:return me;default:var We=me&&me.$$typeof;switch(We){case d:case h:case C:case w:case i:return We;default:return le}}case r:return le}}}var _=u,X=s,xe=d,se=i,ue=t,fe=h,F=o,ee=C,Me=w,he=r,Oe=n,ie=a,ye=c,ke=!1;function S(y){return ke||(ke=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),p(y)||L(y)===u}function p(y){return L(y)===s}function f(y){return L(y)===d}function k(y){return L(y)===i}function E(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function P(y){return L(y)===h}function T(y){return L(y)===o}function I(y){return L(y)===C}function D(y){return L(y)===w}function $(y){return L(y)===r}function Z(y){return L(y)===n}function j(y){return L(y)===a}function Q(y){return L(y)===c}B.AsyncMode=_,B.ConcurrentMode=X,B.ContextConsumer=xe,B.ContextProvider=se,B.Element=ue,B.ForwardRef=fe,B.Fragment=F,B.Lazy=ee,B.Memo=Me,B.Portal=he,B.Profiler=Oe,B.StrictMode=ie,B.Suspense=ye,B.isAsyncMode=S,B.isConcurrentMode=p,B.isContextConsumer=f,B.isContextProvider=k,B.isElement=E,B.isForwardRef=P,B.isFragment=T,B.isLazy=I,B.isMemo=D,B.isPortal=$,B.isProfiler=Z,B.isStrictMode=j,B.isSuspense=Q,B.isValidElementType=V,B.typeOf=L}()),B}var tn;function rn(){return tn||(tn=1,process.env.NODE_ENV==="production"?St.exports=Ha():St.exports=Da()),St.exports}/*
|
|
24
|
+
object-assign
|
|
25
|
+
(c) Sindre Sorhus
|
|
26
|
+
@license MIT
|
|
27
|
+
*/var ur,on;function za(){if(on)return ur;on=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function a(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var i={},d=0;d<10;d++)i["_"+String.fromCharCode(d)]=d;var u=Object.getOwnPropertyNames(i).map(function(h){return i[h]});if(u.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(h){s[h]=h}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ur=a()?Object.assign:function(n,i){for(var d,u=o(n),s,h=1;h<arguments.length;h++){d=Object(arguments[h]);for(var c in d)t.call(d,c)&&(u[c]=d[c]);if(e){s=e(d);for(var b=0;b<s.length;b++)r.call(d,s[b])&&(u[s[b]]=d[s[b]])}}return u},ur}var pr,nn;function fr(){if(nn)return pr;nn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pr=e,pr}var hr,an;function ln(){return an||(an=1,hr=Function.call.bind(Object.prototype.hasOwnProperty)),hr}var mr,sn;function Ua(){if(sn)return mr;sn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=fr(),r={},o=ln();e=function(n){var i="Warning: "+n;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(n,i,d,u,s){if(process.env.NODE_ENV!=="production"){for(var h in n)if(o(n,h)){var c;try{if(typeof n[h]!="function"){var b=Error((u||"React class")+": "+d+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}c=n[h](i,h,u,d,null,t)}catch(C){c=C}if(c&&!(c instanceof Error)&&e((u||"React class")+": type specification of "+d+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in r)){r[c.message]=!0;var w=s?s():"";e("Failed "+d+" type: "+c.message+(w??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},mr=a,mr}var gr,cn;function $a(){if(cn)return gr;cn=1;var e=rn(),t=za(),r=fr(),o=ln(),a=Ua(),n=function(){};process.env.NODE_ENV!=="production"&&(n=function(d){var u="Warning: "+d;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function i(){return null}return gr=function(d,u){var s=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function c(p){var f=p&&(s&&p[s]||p[h]);if(typeof f=="function")return f}var b="<<anonymous>>",w={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:U(),arrayOf:V,element:L(),elementType:_(),instanceOf:X,node:fe(),objectOf:se,oneOf:xe,oneOfType:ue,shape:ee,exact:Me};function C(p,f){return p===f?p!==0||1/p===1/f:p!==p&&f!==f}function M(p,f){this.message=p,this.data=f&&typeof f=="object"?f:{},this.stack=""}M.prototype=Error.prototype;function R(p){if(process.env.NODE_ENV!=="production")var f={},k=0;function E(T,I,D,$,Z,j,Q){if($=$||b,j=j||D,Q!==r){if(u){var y=new Error("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");throw y.name="Invariant Violation",y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var le=$+":"+D;!f[le]&&k<3&&(n("You are manually calling a React.PropTypes validation function for the `"+j+"` prop on `"+$+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),f[le]=!0,k++)}}return I[D]==null?T?I[D]===null?new M("The "+Z+" `"+j+"` is marked as required "+("in `"+$+"`, but its value is `null`.")):new M("The "+Z+" `"+j+"` is marked as required in "+("`"+$+"`, but its value is `undefined`.")):null:p(I,D,$,Z,j)}var P=E.bind(null,!1);return P.isRequired=E.bind(null,!0),P}function O(p){function f(k,E,P,T,I,D){var $=k[E],Z=ie($);if(Z!==p){var j=ye($);return new M("Invalid "+T+" `"+I+"` of type "+("`"+j+"` supplied to `"+P+"`, expected ")+("`"+p+"`."),{expectedType:p})}return null}return R(f)}function U(){return R(i)}function V(p){function f(k,E,P,T,I){if(typeof p!="function")return new M("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside arrayOf.");var D=k[E];if(!Array.isArray(D)){var $=ie(D);return new M("Invalid "+T+" `"+I+"` of type "+("`"+$+"` supplied to `"+P+"`, expected an array."))}for(var Z=0;Z<D.length;Z++){var j=p(D,Z,P,T,I+"["+Z+"]",r);if(j instanceof Error)return j}return null}return R(f)}function L(){function p(f,k,E,P,T){var I=f[k];if(!d(I)){var D=ie(I);return new M("Invalid "+P+" `"+T+"` of type "+("`"+D+"` supplied to `"+E+"`, expected a single ReactElement."))}return null}return R(p)}function _(){function p(f,k,E,P,T){var I=f[k];if(!e.isValidElementType(I)){var D=ie(I);return new M("Invalid "+P+" `"+T+"` of type "+("`"+D+"` supplied to `"+E+"`, expected a single ReactElement type."))}return null}return R(p)}function X(p){function f(k,E,P,T,I){if(!(k[E]instanceof p)){var D=p.name||b,$=S(k[E]);return new M("Invalid "+T+" `"+I+"` of type "+("`"+$+"` supplied to `"+P+"`, expected ")+("instance of `"+D+"`."))}return null}return R(f)}function xe(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&(arguments.length>1?n("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):n("Invalid argument supplied to oneOf, expected an array.")),i;function f(k,E,P,T,I){for(var D=k[E],$=0;$<p.length;$++)if(C(D,p[$]))return null;var Z=JSON.stringify(p,function(Q,y){var le=ye(y);return le==="symbol"?String(y):y});return new M("Invalid "+T+" `"+I+"` of value `"+String(D)+"` "+("supplied to `"+P+"`, expected one of "+Z+"."))}return R(f)}function se(p){function f(k,E,P,T,I){if(typeof p!="function")return new M("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside objectOf.");var D=k[E],$=ie(D);if($!=="object")return new M("Invalid "+T+" `"+I+"` of type "+("`"+$+"` supplied to `"+P+"`, expected an object."));for(var Z in D)if(o(D,Z)){var j=p(D,Z,P,T,I+"."+Z,r);if(j instanceof Error)return j}return null}return R(f)}function ue(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&n("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var f=0;f<p.length;f++){var k=p[f];if(typeof k!="function")return n("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ke(k)+" at index "+f+"."),i}function E(P,T,I,D,$){for(var Z=[],j=0;j<p.length;j++){var Q=p[j],y=Q(P,T,I,D,$,r);if(y==null)return null;y.data&&o(y.data,"expectedType")&&Z.push(y.data.expectedType)}var le=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new M("Invalid "+D+" `"+$+"` supplied to "+("`"+I+"`"+le+"."))}return R(E)}function fe(){function p(f,k,E,P,T){return he(f[k])?null:new M("Invalid "+P+" `"+T+"` supplied to "+("`"+E+"`, expected a ReactNode."))}return R(p)}function F(p,f,k,E,P){return new M((p||"React class")+": "+f+" type `"+k+"."+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+P+"`.")}function ee(p){function f(k,E,P,T,I){var D=k[E],$=ie(D);if($!=="object")return new M("Invalid "+T+" `"+I+"` of type `"+$+"` "+("supplied to `"+P+"`, expected `object`."));for(var Z in p){var j=p[Z];if(typeof j!="function")return F(P,T,I,Z,ye(j));var Q=j(D,Z,P,T,I+"."+Z,r);if(Q)return Q}return null}return R(f)}function Me(p){function f(k,E,P,T,I){var D=k[E],$=ie(D);if($!=="object")return new M("Invalid "+T+" `"+I+"` of type `"+$+"` "+("supplied to `"+P+"`, expected `object`."));var Z=t({},k[E],p);for(var j in Z){var Q=p[j];if(o(p,j)&&typeof Q!="function")return F(P,T,I,j,ye(Q));if(!Q)return new M("Invalid "+T+" `"+I+"` key `"+j+"` supplied to `"+P+"`.\nBad object: "+JSON.stringify(k[E],null," ")+`
|
|
28
|
+
Valid keys: `+JSON.stringify(Object.keys(p),null," "));var y=Q(D,j,P,T,I+"."+j,r);if(y)return y}return null}return R(f)}function he(p){switch(typeof p){case"number":case"string":case"undefined":return!0;case"boolean":return!p;case"object":if(Array.isArray(p))return p.every(he);if(p===null||d(p))return!0;var f=c(p);if(f){var k=f.call(p),E;if(f!==p.entries){for(;!(E=k.next()).done;)if(!he(E.value))return!1}else for(;!(E=k.next()).done;){var P=E.value;if(P&&!he(P[1]))return!1}}else return!1;return!0;default:return!1}}function Oe(p,f){return p==="symbol"?!0:f?f["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&f instanceof Symbol:!1}function ie(p){var f=typeof p;return Array.isArray(p)?"array":p instanceof RegExp?"object":Oe(f,p)?"symbol":f}function ye(p){if(typeof p>"u"||p===null)return""+p;var f=ie(p);if(f==="object"){if(p instanceof Date)return"date";if(p instanceof RegExp)return"regexp"}return f}function ke(p){var f=ye(p);switch(f){case"array":case"object":return"an "+f;case"boolean":case"date":case"regexp":return"a "+f;default:return f}}function S(p){return!p.constructor||!p.constructor.name?b:p.constructor.name}return w.checkPropTypes=a,w.resetWarningCache=a.resetWarningCache,w.PropTypes=w,w},gr}var vr,dn;function ja(){if(dn)return vr;dn=1;var e=fr();function t(){}function r(){}return r.resetWarningCache=t,vr=function(){function o(i,d,u,s,h,c){if(c!==e){var b=new Error("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");throw b.name="Invariant Violation",b}}o.isRequired=o;function a(){return o}var n={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:a,element:o,elementType:o,instanceOf:a,node:o,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return n.PropTypes=n,n},vr}if(process.env.NODE_ENV!=="production"){var Fa=rn(),Za=!0;dr.exports=$a()(Fa.isElement,Za)}else dr.exports=ja()();var Va=dr.exports;const _e=Ko(Va);function un({error:e}){return g("div",{className:"rounded-md bg-red-50 p-4",children:g("div",{className:"flex justify-center items-center",children:[g("div",{className:"flex-shrink-0",children:g(Xo,{size:20,weight:"bold",className:"text-red-400","aria-hidden":"true"})}),g("div",{className:"ml-3",children:g("h3",{className:"text-sm font-medium text-red-800",children:e})})]})})}un.propTypes={error:_e.string.isRequired};function Wa({className:e,alt:t="Partbot Logo"}){return g("span",{className:e,role:"img","aria-label":t,children:g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"239.19",height:"54.22",viewBox:"0 0 239.19 54.22",focusable:"false","aria-hidden":"true",style:{width:"auto",height:"100%"},children:g("g",{children:[g("rect",{fill:"currentColor",y:".22",width:"24.45",height:"24.45",rx:"1.81",ry:"1.81"}),g("rect",{fill:"currentColor",y:"29.76",width:"24.45",height:"24.45",rx:"1.7",ry:"1.7"}),g("path",{fill:"currentColor",d:"M36.91,34.61h-5.67c-.94,0-1.7-.76-1.7-1.7V1.7C29.55.76,30.31,0,31.25,0h5.67c9.44,0,17.09,7.65,17.09,17.09h0v.43c0,9.44-7.65,17.09-17.09,17.09Z"}),g("path",{fill:"currentColor",d:"M97.79,12.21c-1.74-.96-3.67-1.44-5.8-1.44h-13.54v31.48h7.56v-8.81h5.98c2.13,0,4.06-.48,5.8-1.44,1.74-.96,3.13-2.3,4.18-4.03,1.05-1.72,1.57-3.7,1.57-5.91s-.52-4.18-1.57-5.87c-1.05-1.69-2.44-3.02-4.18-3.98ZM95.32,24.8c-.45.75-1.04,1.32-1.78,1.71-.74.39-1.54.58-2.41.58h-5.13v-10.03h5.13c.87,0,1.67.2,2.41.61.73.4,1.33.98,1.78,1.73.45.75.67,1.65.67,2.7s-.22,1.95-.67,2.7Z"}),g("path",{fill:"currentColor",d:"M124.27,20.24c-1.81-1.06-4.01-1.6-6.59-1.6s-4.76.54-6.63,1.62c-1.87,1.08-3.32,2.54-4.34,4.39-1.02,1.84-1.53,3.93-1.53,6.27s.43,4.26,1.3,6.05c.87,1.78,2.08,3.2,3.64,4.25,1.56,1.05,3.36,1.57,5.4,1.57,1.29,0,2.41-.18,3.35-.54.94-.36,1.75-.86,2.41-1.51.66-.64,1.2-1.37,1.62-2.18h.18v3.69h6.84v-11.47c0-2.28-.49-4.34-1.46-6.18s-2.37-3.3-4.18-4.36ZM122.18,33.8c-.42.93-1.03,1.66-1.82,2.18s-1.72.79-2.77.79-2.02-.26-2.83-.79-1.42-1.25-1.84-2.18c-.42-.93-.63-1.96-.63-3.1s.21-2.11.63-3.01c.42-.9,1.03-1.61,1.84-2.14s1.75-.79,2.83-.79,1.97.26,2.77.79,1.4,1.24,1.82,2.14c.42.9.63,1.9.63,3.01s-.21,2.17-.63,3.1Z"}),g("path",{fill:"currentColor",d:"M159.56,13.56h-7.02v5.62h-12.06c-2.13,0-3.79.64-4.99,1.84s-1.8,2.85-1.8,4.95v16.28h6.97v-15.83c0-.45.15-.82.45-1.1.3-.28.66-.43,1.08-.43h10.35v10.61c0,2.07.6,3.71,1.8,4.92,1.2,1.21,2.86,1.82,4.99,1.82h6.57v-5.85h-5.04c-.36,0-.67-.13-.92-.38-.26-.25-.38-.56-.38-.92v-10.21h6.34v-5.71h-6.34v-5.62Z"}),g("path",{fill:"currentColor",d:"M189.1,20.13c-1.65-.99-3.57-1.48-5.76-1.48-.93,0-1.81.12-2.63.36-.83.24-1.57.59-2.25,1.06-.67.47-1.24,1.01-1.69,1.64h-.14v-12.28h-6.97v20.87c0,2.52.51,4.72,1.53,6.61,1.02,1.89,2.46,3.34,4.32,4.36,1.86,1.02,4.03,1.53,6.52,1.53,1.95,0,3.68-.3,5.19-.9,1.51-.6,2.8-1.46,3.87-2.59,1.06-1.12,1.88-2.45,2.45-3.98.57-1.53.85-3.19.85-4.99,0-2.34-.47-4.38-1.42-6.12-.94-1.74-2.24-3.1-3.89-4.09ZM186.65,33.82c-.44.91-1.04,1.63-1.82,2.16-.78.52-1.71.79-2.79.79s-2.02-.26-2.81-.79-1.4-1.24-1.82-2.16-.63-1.94-.63-3.08.21-2.16.63-3.06c.42-.9,1.03-1.61,1.82-2.14s1.73-.79,2.81-.79,2.01.26,2.79.79c.78.52,1.39,1.24,1.82,2.14.43.9.65,1.92.65,3.06s-.22,2.17-.65,3.08Z"}),g("path",{fill:"currentColor",d:"M215.96,20.24c-1.87-1.06-4-1.6-6.36-1.6s-4.5.53-6.39,1.6c-1.89,1.06-3.38,2.5-4.48,4.32-1.09,1.81-1.64,3.88-1.64,6.18s.55,4.33,1.64,6.16c1.09,1.83,2.59,3.27,4.48,4.32,1.89,1.05,4.02,1.57,6.39,1.57s4.45-.52,6.34-1.57,3.38-2.49,4.47-4.32c1.09-1.83,1.64-3.88,1.64-6.16s-.55-4.37-1.64-6.18c-1.09-1.81-2.58-3.25-4.45-4.32ZM214.37,33.75c-.45.9-1.08,1.62-1.89,2.16s-1.77.81-2.88.81-2.08-.27-2.9-.81-1.46-1.26-1.91-2.16c-.45-.9-.67-1.92-.67-3.06s.22-2.11.67-3.01c.45-.9,1.09-1.62,1.91-2.16s1.79-.81,2.9-.81,2.07.27,2.88.81,1.44,1.26,1.89,2.16c.45.9.67,1.9.67,3.01s-.22,2.16-.67,3.06Z"}),g("path",{fill:"currentColor",d:"M239.19,24.89v-5.71h-6.34v-5.62h-7.02v21.95c0,2.07.6,3.71,1.8,4.92,1.2,1.21,2.86,1.82,4.99,1.82h6.57v-5.85h-5.04c-.36,0-.67-.13-.92-.38-.26-.25-.38-.56-.38-.92v-10.21h6.34Z"})]})})})}const pn=["ACT","NSW","NT","QLD","SA","TAS","VIC","WA"],fn="https://api.partbot.io/v1/vehicles/plate-search",hn="https://api.partbot.io/v1/vehicles/plate-search-retry";function wr(e){const[t,r]=de(!1),[o,a]=de(!1),[n,i]=de(""),[d,u]=de(""),[s,h]=de(null),[c,b]=de(!1),w=vt(null),[C,M]=de(fn),[R,O]=de(null),U=e.apiKey,V=e.callbackUrl,L=e.productsUrl,_=e.useGeolocation==="true",X=e.themeColor||"#4f46e5",xe=e.buttonTheme||"light",se=e.responsive,ue=e.intro||"Enter your Number Plate and select your State or Territory to find your vehicle.",fe=e.placeholder||"PL8SRCH",F=e.supportMessage;ve(()=>{const S=localStorage.getItem("partbot_selected_vehicle");if(S){const p=JSON.parse(S);p.description&&(p.vehicle_ids.length>0||Object.values(p.vehicle).every(f=>f!==null&&f!==""&&(typeof f!="object"||Object.keys(f).length>0)))&&O(p)}},[]),ve(()=>{document.documentElement.style.setProperty("--partbot-theme",X)},[X]),ve(()=>{t&&_&&"geolocation"in navigator&&navigator.geolocation.getCurrentPosition(async function(S){const{latitude:p,longitude:f}=S.coords;try{const E=await(await fetch(`https://maps.googleapis.com/maps/api/geocode/json?latlng=${p},${f}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`)).json();if(E.results&&E.results[0]){const P=E.results[0].address_components.find(T=>T.types.includes("administrative_area_level_1"));if(P){const T=P.short_name;u(T)}}}catch(k){console.error("Geocoding error:",k)}})},[_,t]),ve(()=>{let S=localStorage.getItem("partbot_plate_details");S&&(S=JSON.parse(S),S.plate?i(S.plate.number):localStorage.removeItem("partbot_plate_details"))},[]),ve(()=>{t&&!o&&a(!0),t&&w.current&&w.current.focus()},[t,o]);const ee=S=>{if(S&&S.preventDefault(),!d||!n)return;b(!0);const p={plate:n,state:d};async function f(){return(await fetch(C,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json",Authorization:`Basic ${U}`},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(p)})).json()}f().then(k=>{b(!1),k.plate?(localStorage.setItem("partbot_plate_details",JSON.stringify(k)),h(k)):k&&k.indexOf("Invalid API Key")!==-1?h({error:k}):h({error:"Could not find any matching vehicles."})}).catch(k=>{console.error("Error:",k),h({error:"Could not find any matching vehicles."})})};ve(()=>{ee()},[C]);const Me=S=>{localStorage.removeItem("partbot_plate_details"),localStorage.removeItem("partbot_selected_vehicle"),cr.remove("partbot_selected_vehicle"),h(null),M(hn)},he=S=>{window.open(`mailto:report@partbot.io?subject=${encodeURIComponent("Registration Search Issue")}&body=${encodeURIComponent(`Incorrect vehicles were shown for ${d} number plate: ${n}, vehicle: ${s.factory_vehicle.make} ${s.factory_vehicle.model} ${s.factory_vehicle.year} ${s.factory_vehicle.body} ${s.factory_vehicle.series}. Please provide details of the correct vehicle below:`)}`)},Oe=S=>{i(""),h(null),M(fn),O(null),localStorage.removeItem("partbot_plate_details"),localStorage.removeItem("partbot_selected_vehicle"),cr.remove("partbot_selected_vehicle")},ie=S=>{var p=JSON.stringify({description:S.description,vehicle_ids:S.vehicle_ids,vehicle:{...S.vehicle,year:s.factory_vehicle.year}});localStorage.setItem("partbot_selected_vehicle",p),cr.set("partbot_selected_vehicle",p,{secure:!0});var f=new CustomEvent("plate-search-change",{detail:{vehicle_ids:S.vehicle_ids}});document.dispatchEvent(f),O(S),V&&V!==window.location.href&&(r(!1),window.location.href=V+window.location.search)},ye=S=>{if(r(!1),L)try{const p=new URL(L,window.location.origin);if(p.origin!==window.location.origin){console.warn("Partbot: Blocked navigation to external productsUrl",p.toString());return}window.location.assign(p.href)}catch(p){console.error("Partbot: Invalid productsUrl provided",L,p)}},ke=S=>{const p=["series","variant","body","fuel_type","drivetrain","engine","engine_capacity","cylinders"];return Object.entries(S).filter(([f,k])=>k!==null&&p.includes(f)).map(([f,k])=>f==="cylinders"?`${k}cyl`:k).join(" ")};return g(N,{children:[g("button",{onClick:S=>r(!t),type:"button",className:`${xe==="dark"?"bg-transparent text-gray-100 hover:text-white":"bg-white text-gray-700 hover:bg-gray-50"} inline-flex items-center ${se?"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`,children:[g(Yo,{weight:"fill",className:se?"h-5 w-5 md:-ml-1 md:mr-2":"mr-2 -ml-1 h-5 w-5","aria-hidden":"true"}),g("span",{className:se?"hidden md:inline":"mt-0.5 md:inline",children:n||fe})]}),g("div",{className:`${t?"modal-container modal-container-open":"modal-container modal-container-close"}`,style:!t&&!o?{display:"none"}:{},onClick:S=>{S.target===S.currentTarget&&r(!1)},children:g("div",{role:"dialog","aria-modal":"true","aria-label":"Number plate search dialog",className:t?"modal modal-open":"modal modal-close",children:[g("div",{className:"absolute top-0 right-0 pt-4 pr-4",children:g("button",{type:"button",className:"focus:outline-none focus:ring-bg-theme-color rounded-md bg-white text-gray-400 hover:text-gray-500",onClick:()=>r(!1),children:[g("span",{className:"sr-only",children:"Close"}),g(qo,{size:16,weight:"bold","aria-hidden":"true"})]})}),s&&!R&&g("div",{className:"modal-content",children:g("div",{className:"mb-5 text-center",children:[g("div",{className:"inline-flex items-center text-center text-2xl font-extrabold tracking-tight text-black",children:g("div",{children:["Results for"," ",g("span",{className:"text-theme-color",children:[n," (",d,")"]})]})}),g("div",{className:"mt-6",children:[g("div",{className:"modal-scroll-area",children:s.vehicles?g("div",{className:"grid gap-3 text-left",children:[s.vehicles.map(function(S,p){return g("div",{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",children:[g("div",{className:"pr-5 text-xs",children:g("div",{className:"grid gap-2",children:[g("div",{className:"text-sm font-bold text-gray-900",children:S.description}),g("div",{className:"text-gray-600",children:ke(S.vehicle)})]})}),g("div",{children:g("button",{className:"justify-center rounded-md border border-transparent bg-theme-color px-2 py-1.5 text-xs font-medium text-white shadow-sm",onClick:()=>ie(S),children:"Select vehicle"})})]},p)}),s.differing_attributes&&s.vehicle_breakdown&&s.vehicle_breakdown.length>0&&g("div",{children:g("details",{className:"[&_summary::-webkit-details-marker]:hidden group rounded-lg border border-gray-300 bg-white",children:[g("summary",{className:"flex cursor-pointer items-center justify-between px-4 py-2 text-left text-sm font-medium text-gray-900",children:[g("span",{children:"More options..."}),g("svg",{className:"!h-5 !w-5 text-gray-500 transition duration-300 group-open:rotate-180",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:g("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),g("div",{className:"border-t border-gray-200 px-4 py-3",children:g("div",{className:"grid gap-3",children:s.vehicle_breakdown&&s.vehicle_breakdown.map((S,p)=>g("div",{className:"flex items-center justify-between rounded-md border border-gray-200 p-3 text-sm",children:[g("div",{children:s.differing_attributes.map(f=>g("div",{className:"text-xs text-gray-600",children:[g("span",{className:"font-medium capitalize",children:[f,":"]})," ",S.vehicle[f]]},f))}),g("button",{onClick:()=>ie(S),className:"ml-4 rounded-md bg-theme-color px-3 py-1.5 text-xs font-medium text-white hover:bg-opacity-90",children:"Select"})]},p))})})]})})]}):g("div",{className:"my-5",children:g(un,{error:s.error})})}),s.vehicles&&s.vehicles.length>3&&g("div",{className:"pb-4 text-center text-xs text-gray-500",children:"Scroll for more..."}),F&&g("div",{className:"pl8srch-text mx-auto my-6 w-full text-sm text-gray-500",dangerouslySetInnerHTML:{__html:Vo.sanitize(F)}}),C!==hn&&g("button",{type:"button",className:"mb-5 hidden w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-base font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",onClick:Me,children:["Try Again"," ",g(Bo,{size:16,weight:"bold",className:"ml-3","aria-hidden":"true"})]}),g("div",{className:"align-center flex justify-between",children:[g("button",{onClick:he,className:"text-xs text-theme-color",children:"Report incorrect search results"}),g("button",{onClick:Oe,className:"text-xs text-theme-color",children:[g(Wo,{size:12,weight:"bold",className:"mr-1 inline"})," ","Back to search"]})]})]})]})}),R&&g("div",{className:"modal-content",children:g("div",{className:"mb-5 text-center",children:[g("div",{className:"grid items-center",children:[g("div",{className:"inline-flex items-center justify-center gap-1 text-center text-2xl font-extrabold tracking-tight text-black",children:[g("span",{children:"Selected Vehicle"}),n&&g("span",{className:"text-theme-color",children:["(",n,")"]})]}),g("div",{className:"text-medium mt-5 text-sm text-gray-500",children:s&&s.factory_vehicle?`${s.factory_vehicle.make} ${s.factory_vehicle.model} ${s.factory_vehicle.year}`:R.description}),R.vehicle&&g("div",{className:"mt-2 text-xs text-gray-600",children:ke(R.vehicle)})]}),g("div",{className:"mt-6 flex gap-4",children:[g("button",{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",onClick:Oe,children:"Clear Vehicle"}),L&&g("button",{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",onClick:ye,children:"Show Products"})]})]})}),!R&&!s&&g("div",{className:"modal-content",children:[g("div",{className:"mb-5 text-center",children:[g("div",{className:"inline-flex items-center text-2xl font-extrabold tracking-tight text-black",children:g("span",{children:"Number Plate Search"})}),g("div",{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!",dangerouslySetInnerHTML:{__html:Vo.sanitize(ue)}})]}),g("form",{onSubmit:ee,className:"flex flex-col items-center text-black",children:[g("input",{type:"text",name:"plate",ref:w,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 ${n?"border-theme-color":"border-stone-300"}`,placeholder:fe,value:n,onChange:S=>i(S.target.value.toUpperCase())}),g("span",{className:"relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm",children:pn.map((S,p)=>{let f="bg-white text-gray-700 hover:bg-gray-50 border-gray-300";return S===d&&(f="bg-theme-color text-white hover:bg-theme-color border-theme-color"),p===0?g("button",{onClick:k=>u(S),type:"button",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 ${f}`,children:S},S):pn.length===p+1?g("button",{onClick:k=>u(S),type:"button",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 ${f}`,children:S},S):g("button",{onClick:k=>u(S),type:"button",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 ${f}`,children:S},S)})}),g("button",{type:"submit",className:"hover:bg-theme-color-800 flex w-full items-center justify-center rounded-md border border-transparent bg-theme-color px-4 py-2 text-base font-medium text-white shadow-sm",children:["Find your vehicle",c?g(Go,{weight:"bold",className:"ml-3 h-4 w-4 animate-spin","aria-hidden":"true"}):""]})]})]}),g("div",{className:"mt-8 text-center",children:g("a",{href:`https://use.partbot.io/?ref=${window.location.hostname}`,target:"_blank",rel:"noreferrer",className:"mx-auto inline-flex max-w-sm items-center text-center text-xs font-medium tracking-tight text-gray-500 transition gap-2",children:[g("span",{children:"Powered by"}),g(Wa,{className:"inline h-4"})]})})]})})]})}wr.propTypes={apiKey:_e.string.isRequired,callbackUrl:_e.string,productsUrl:_e.string,themeColor:_e.string,useGeolocation:_e.bool,buttonTheme:_e.oneOf(["light","dark"]),responsive:_e.bool,placeholder:_e.string,intro:_e.string,supportMessage:_e.string};const mn=`@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}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-0{z-index:0}.z-\\[10000\\]{z-index:10000}.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)}.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)}.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\\:items-center{align-items:center}.md\\:justify-center{justify-content:center}.md\\:border-8{border-style:var(--tw-border-style);border-width:8px}.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:auto}@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)}}`,Ba={version:"3.0.0"};function gn({domElement:e}){const t=e.getAttribute("data-api-key"),r=e.getAttribute("data-callback-url"),o=e.getAttribute("data-products-url"),a=e.getAttribute("data-theme-color"),n=e.getAttribute("data-use-geolocation")==="true",i=e.getAttribute("data-button"),d=e.getAttribute("data-responsive")?e.getAttribute("data-responsive")==="true":!0,u=e.getAttribute("data-placeholder"),s=e.getAttribute("data-intro"),h=e.getAttribute("data-support-message");return ve(()=>{console.info("Vehicle Registration Search powered by Partbot https://use.partbot.io")},[]),g("div",{className:"App",children:g(wr,{className:"partbot",apiKey:t,callbackUrl:r,productsUrl:o,themeColor:a,useGeolocation:n,buttonTheme:i,responsive:d,placeholder:u,intro:s,supportMessage:h})})}class Ze extends HTMLElement{constructor(){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}connectedCallback(){this.style.visibility="hidden";let t;if(this.assetUrl&&(t=new URL(this.assetUrl.replace(/\/$/,"")+"/css/plate-search.css",window.location.href)),!t&&this.debug&&(t=new URL("/css/plate-search.css",window.location.href)),!t){const i=Ba.version;t=new URL(`https://unpkg.com/@cartbot/plate-search@${i}/build/dist/css/plate-search.css`)}const o=[["data-api-key",this.apiKey],["data-callback-url",this.callbackUrl],["data-products-url",this.productsUrl],["data-theme-color",this.themeColor],["data-use-geolocation",this.useGeolocation],["data-button",this.buttonTheme],["data-responsive",this.responsive],["data-placeholder",this.placeholder],["data-intro",this.intro],["data-support-message",this.supportMessage]].filter(([i,d])=>d!=null).map(([i,d])=>`${i}="${d}"`).join(" "),a=(i,d)=>{if(!/@import/i.test(i)&&"adoptedStyleSheets"in Document.prototype)try{const h=new CSSStyleSheet;return h.replaceSync(i),console.info(`Partbot: using constructable stylesheet (${d})`),h}catch(h){console.warn("Partbot: constructable sheet failed, falling back",h)}const s=document.createElement("style");return s.textContent=i,console.info(`Partbot: using <style> element fallback (${d})`),s};Ze.__stylePromise||(t?Ze.__stylePromise=fetch(t).then(i=>{if(!i.ok)throw new Error(`HTTP ${i.status}`);return i.text()}).then(i=>a(i,t.href)).catch(i=>(console.warn("Partbot: external stylesheet failed, falling back to inline",i),a(mn,"inline-fallback"))):Ze.__stylePromise=Promise.resolve(a(mn,"inline")));const n=document.createElement("template");if(n.innerHTML=`
|
|
29
|
+
<div class="partbot-plate-search isolate" ${o}></div>`,this.attachShadow({mode:"open"}),Ze.__stylePromise.then(i=>{var d,u;if(i){if(i instanceof CSSStyleSheet?this.shadowRoot.adoptedStyleSheets=[i]:i instanceof HTMLStyleElement&&this.shadowRoot.prepend(i.cloneNode(!0)),this.debug)try{const s=(d=this.shadowRoot.adoptedStyleSheets)==null?void 0:d[0];s&&console.info("Partbot debug: first rule in adopted sheet →",(u=s.cssRules[0])==null?void 0:u.cssText);const h=getComputedStyle(this).getPropertyValue("--tw-border-style");console.info("Partbot debug: --tw-border-style on :host →",h)}catch(s){console.warn("Partbot debug: failed to inspect stylesheet",s)}requestAnimationFrame(()=>{this.style.visibility="visible"})}}),this.shadowRoot.appendChild(n.content.cloneNode(!0)),!document.head.querySelector("style[data-partbot-license]")){const i=document.createElement("style");i.setAttribute("data-partbot-license",""),i.appendChild(document.createTextNode(`
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: "License Plate";
|
|
32
|
+
src: url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)
|
|
33
|
+
format("woff2");
|
|
34
|
+
font-weight: normal;
|
|
35
|
+
font-style: normal;
|
|
36
|
+
}`)),document.head.appendChild(i)}}}customElements.define("plate-search",Ze),typeof window<"u"&&(window.React=window.React||xt,window.ReactDOM=window.ReactDOM||aa);const Ve=document.querySelector("plate-search");if(Ve){const e=((vn=Ve.shadowRoot)==null?void 0:vn.querySelector(".partbot-plate-search"))||Ve.querySelector(".partbot-plate-search");if(!e)console.error("Partbot: failed to locate .partbot-plate-search container");else{const t=[...Ve.shadowRoot?Ve.shadowRoot.querySelectorAll("link"):Ve.querySelectorAll("link")];if(t.length===0)bt(xt.createElement(gn,{domElement:e}),e);else{let r=0;const o=()=>{++r>=t.length&&bt(xt.createElement(gn,{domElement:e}),e)};t.forEach(a=>{a.sheet||a.complete?o():(a.addEventListener("load",o,{once:!0}),a.addEventListener("error",o,{once:!0}))})}}}else console.warn("Missing <plate-search> element");De.PlateSearch=wr,Object.defineProperty(De,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,41 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cartbot/plate-search",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"author": "Partbot",
|
|
5
|
-
"url": "https://
|
|
5
|
+
"url": "https://plate-search.partbot.io",
|
|
6
6
|
"description": "Compatible with [Partbot](https://use.partbot.io) connected ecommerce stores and synced products.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"files": [
|
|
9
|
-
"
|
|
9
|
+
"dist/js",
|
|
10
|
+
"dist/css",
|
|
11
|
+
"build/dist/js",
|
|
12
|
+
"build/dist/css",
|
|
10
13
|
"README.md"
|
|
11
14
|
],
|
|
12
15
|
"dependencies": {
|
|
13
|
-
"@craco/craco": "^6.1.2",
|
|
14
|
-
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
|
15
|
-
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
|
16
|
-
"@fortawesome/pro-solid-svg-icons": "^5.15.3",
|
|
17
|
-
"@fortawesome/react-fontawesome": "^0.1.14",
|
|
18
16
|
"@headlessui/react": "^1.3.0",
|
|
19
|
-
"@
|
|
20
|
-
"@tailwindcss/typography": "^0.
|
|
21
|
-
"@testing-library/jest-dom": "^5.11.4",
|
|
22
|
-
"@testing-library/react": "^11.1.0",
|
|
23
|
-
"@testing-library/user-event": "^12.1.10",
|
|
17
|
+
"@phosphor-icons/react": "^2.1.10",
|
|
18
|
+
"@tailwindcss/typography": "^0.5.0",
|
|
24
19
|
"dompurify": "^3.1.6",
|
|
25
20
|
"js-cookie": "^2.2.1",
|
|
26
|
-
"preact": "^10.
|
|
27
|
-
"
|
|
28
|
-
"react": "^
|
|
29
|
-
"react-dom": "^
|
|
21
|
+
"preact": "^10.19.0",
|
|
22
|
+
"prop-types": "^15.8.1",
|
|
23
|
+
"react": "^18.2.0",
|
|
24
|
+
"react-dom": "^18.2.0",
|
|
30
25
|
"react-geocode": "^0.2.3",
|
|
31
|
-
"
|
|
32
|
-
"web-vitals": "^1.0.1"
|
|
33
|
-
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"dev": "TAILWIND_MODE=watch craco start",
|
|
36
|
-
"start": "craco start",
|
|
37
|
-
"build": "GENERATE_SOURCEMAP=false craco build",
|
|
38
|
-
"publish": "npm publish --access public"
|
|
26
|
+
"web-vitals": "^3.5.2"
|
|
39
27
|
},
|
|
40
28
|
"eslintConfig": {
|
|
41
29
|
"extends": [
|
|
@@ -56,19 +44,40 @@
|
|
|
56
44
|
]
|
|
57
45
|
},
|
|
58
46
|
"devDependencies": {
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
47
|
+
"@preact/preset-vite": "^2.10.2",
|
|
48
|
+
"@tailwindcss/vite": "^4.1.11",
|
|
49
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
50
|
+
"@testing-library/react": "^14.2.0",
|
|
51
|
+
"@testing-library/user-event": "^14.4.3",
|
|
52
|
+
"jsdom": "^26.1.0",
|
|
53
|
+
"prettier": "^3.2.5",
|
|
54
|
+
"prettier-plugin-tailwindcss": "^0.6.13",
|
|
55
|
+
"serve": "^14.2.4",
|
|
56
|
+
"tailwindcss": "^4.1.11",
|
|
57
|
+
"vite": "^5.0.0",
|
|
58
|
+
"vitest": "^1.5.0"
|
|
70
59
|
},
|
|
71
60
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
61
|
+
"node": ">=18.0.0 <24.0.0",
|
|
62
|
+
"pnpm": ">=8.0.0"
|
|
63
|
+
},
|
|
64
|
+
"main": "dist/js/plate-search.js",
|
|
65
|
+
"module": "dist/js/plate-search.es.js",
|
|
66
|
+
"exports": {
|
|
67
|
+
".": {
|
|
68
|
+
"import": "./dist/js/plate-search.es.js",
|
|
69
|
+
"require": "./dist/js/plate-search.js"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"dev": "vite",
|
|
74
|
+
"build": "pnpm run build:lib && pnpm run build:site && pnpm run copy:legacy && pnpm run copy:assets",
|
|
75
|
+
"build:lib": "vite build",
|
|
76
|
+
"build:site": "vite build -c vite.site.config.mjs",
|
|
77
|
+
"copy:legacy": "rm -rf build/dist && mkdir -p build/dist/js && cp dist/js/plate-search.js build/dist/js/ && if [ -d dist/css ]; then mkdir -p build/dist/css && cp -R dist/css/* build/dist/css/; fi",
|
|
78
|
+
"copy:assets": "cp public/*.svg public/*.png public/robots.txt dist/ 2>/dev/null || true && mkdir -p dist/fonts && cp -R public/fonts/* dist/fonts/",
|
|
79
|
+
"preview": "vite preview",
|
|
80
|
+
"test": "vitest",
|
|
81
|
+
"serve:dist": "npx serve dist"
|
|
73
82
|
}
|
|
74
|
-
}
|
|
83
|
+
}
|