@vehiclehistory/property-lib 0.0.7 → 0.0.9
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/dist/components/Loading/LoadingBar.d.ts +0 -1
- package/dist/property-lib.js +2339 -0
- package/package.json +1 -2
- package/dist/assets/LoadingBar.css +0 -1
- package/dist/components/Accordion/Accordion.js +0 -69
- package/dist/components/Alert/Alert.js +0 -66
- package/dist/components/Autocomplete/Autocomplete.js +0 -173
- package/dist/components/Badge/Badge.js +0 -25
- package/dist/components/Button/Button.js +0 -43
- package/dist/components/ButtonGroup/ButtonGroup.js +0 -6
- package/dist/components/Card/Card.js +0 -32
- package/dist/components/Checkbox/Checkbox.js +0 -44
- package/dist/components/Container/Container.js +0 -33
- package/dist/components/Dialog/Dialog.js +0 -88
- package/dist/components/Dialog/DialogOld.js +0 -109
- package/dist/components/Dots/Dots.js +0 -15
- package/dist/components/Icon/Icon.js +0 -32
- package/dist/components/Icon/icons.js +0 -475
- package/dist/components/Loading/LoadingBar.js +0 -48
- package/dist/components/Loading/Spinner.js +0 -18
- package/dist/components/Popover/Popover.js +0 -57
- package/dist/components/Progress/ProgressBar.js +0 -50
- package/dist/components/Radio/Radio.js +0 -46
- package/dist/components/Select/Select.js +0 -61
- package/dist/components/Skeleton/Skeleton.js +0 -20
- package/dist/components/Slider/Slider.js +0 -58
- package/dist/components/Stars/Stars.js +0 -23
- package/dist/components/Swiper/Swiper.js +0 -107
- package/dist/components/Text/TextArea.js +0 -53
- package/dist/components/Text/Textbox.js +0 -78
- package/dist/components/index.js +0 -50
- package/dist/main.js +0 -52
- package/dist/scripts/index.js +0 -764
|
@@ -0,0 +1,2339 @@
|
|
|
1
|
+
import { jsx as i, jsxs as v, Fragment as z } from "react/jsx-runtime";
|
|
2
|
+
import { memo as A, useState as Z, useEffect as S, useRef as q } from "react";
|
|
3
|
+
import m from "classnames";
|
|
4
|
+
const F = {
|
|
5
|
+
xxSmall: "w-4 h-4",
|
|
6
|
+
xSmall: "w-5 h-5",
|
|
7
|
+
small: "w-6 h-6",
|
|
8
|
+
smallPlus: "w-7 h-7",
|
|
9
|
+
medium: "w-8 h-8",
|
|
10
|
+
mediumPlus: "w-9 h-9",
|
|
11
|
+
large: "w-10 h-10",
|
|
12
|
+
xLarge: "w-12 h-12"
|
|
13
|
+
}, B = {
|
|
14
|
+
account: {
|
|
15
|
+
path: '<path d="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z" />'
|
|
16
|
+
},
|
|
17
|
+
accountBox: {
|
|
18
|
+
path: '<path d="M6,17C6,15 10,13.9 12,13.9C14,13.9 18,15 18,17V18H6M15,9A3,3 0 0,1 12,12A3,3 0 0,1 9,9A3,3 0 0,1 12,6A3,3 0 0,1 15,9M3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5C3.89,3 3,3.9 3,5Z" />'
|
|
19
|
+
},
|
|
20
|
+
accountCircle: {
|
|
21
|
+
path: '<path d="M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z" />'
|
|
22
|
+
},
|
|
23
|
+
accountClock: {
|
|
24
|
+
path: '<path d="M10.63,14.1C12.23,10.58 16.38,9.03 19.9,10.63C23.42,12.23 24.97,16.38 23.37,19.9C22.24,22.4 19.75,24 17,24C14.3,24 11.83,22.44 10.67,20H1V18C1.06,16.86 1.84,15.93 3.34,15.18C4.84,14.43 6.72,14.04 9,14C9.57,14 10.11,14.05 10.63,14.1V14.1M9,4C10.12,4.03 11.06,4.42 11.81,5.17C12.56,5.92 12.93,6.86 12.93,8C12.93,9.14 12.56,10.08 11.81,10.83C11.06,11.58 10.12,11.95 9,11.95C7.88,11.95 6.94,11.58 6.19,10.83C5.44,10.08 5.07,9.14 5.07,8C5.07,6.86 5.44,5.92 6.19,5.17C6.94,4.42 7.88,4.03 9,4M17,22A5,5 0 0,0 22,17A5,5 0 0,0 17,12A5,5 0 0,0 12,17A5,5 0 0,0 17,22M16,14H17.5V16.82L19.94,18.23L19.19,19.53L16,17.69V14Z" />'
|
|
25
|
+
},
|
|
26
|
+
accountMultipleOutline: {
|
|
27
|
+
path: '<path d="M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z" />'
|
|
28
|
+
},
|
|
29
|
+
accountSearch: {
|
|
30
|
+
path: '<path fill="currentColor" d="M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M10,4A4,4 0 0,1 14,8C14,8.91 13.69,9.75 13.18,10.43C12.32,10.75 11.55,11.26 10.91,11.9L10,12A4,4 0 0,1 6,8A4,4 0 0,1 10,4M2,20V18C2,15.88 5.31,14.14 9.5,14C9.18,14.78 9,15.62 9,16.5C9,17.79 9.38,19 10,20H2Z" />'
|
|
31
|
+
},
|
|
32
|
+
alertOutline: {
|
|
33
|
+
path: '<path d="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z" />'
|
|
34
|
+
},
|
|
35
|
+
arrowLeft: {
|
|
36
|
+
path: '<path d="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z" />'
|
|
37
|
+
},
|
|
38
|
+
arrowLong: {
|
|
39
|
+
path: '<path d="M13.0125 19.162L14.8246 17.3398L16.2427 18.7501L12.012 23.0046L7.75726 18.7739L9.16751 17.3557L11.0126 19.1905L10.998 0.997021L12.998 0.995422L13.0125 19.162Z" fill="currentColor" />'
|
|
40
|
+
},
|
|
41
|
+
arrowDown: {
|
|
42
|
+
path: '<path fill-rule="evenodd" d="M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z" clip-rule="evenodd" />'
|
|
43
|
+
},
|
|
44
|
+
article: {
|
|
45
|
+
path: '<path d="M19 5V19H5V5H19M21 3H3V21H21V3M17 17H7V16H17V17M17 15H7V14H17V15M17 12H7V7H17V12Z" />'
|
|
46
|
+
},
|
|
47
|
+
bankCircle: {
|
|
48
|
+
path: '<path d="M12 4C16.4 4 20 7.6 20 12S16.4 20 12 20 4 16.4 4 12 7.6 4 12 4M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M17 17H7V15H17V17M8 14V11H10V14H8M11 14V11H13V14H11M14 14V11H16V14H14M17 10H7V8.5L12 6L17 8.5V10Z" />'
|
|
49
|
+
},
|
|
50
|
+
bankOff: {
|
|
51
|
+
path: '<path d="M20.8 22.7L20.1 22H2V19H17.1L13 14.9V17H10V11.9L6.1 8H2V6L3.4 5.3L1.1 3L2.4 1.7L22.1 21.4L20.8 22.7M4 10V17H7V10H4M21 8V6L11.5 1L6.7 3.5L11.2 8H21M19 15.8V10H16V12.8L19 15.8Z" />'
|
|
52
|
+
},
|
|
53
|
+
bedOutline: {
|
|
54
|
+
path: '<path d="M7 14C8.66 14 10 12.66 10 11C10 9.34 8.66 8 7 8C5.34 8 4 9.34 4 11C4 12.66 5.34 14 7 14M7 10C7.55 10 8 10.45 8 11C8 11.55 7.55 12 7 12C6.45 12 6 11.55 6 11C6 10.45 6.45 10 7 10M19 7H11V15H3V5H1V20H3V17H21V20H23V11C23 8.79 21.21 7 19 7M21 15H13V9H19C20.1 9 21 9.9 21 11Z" />'
|
|
55
|
+
},
|
|
56
|
+
bedroomParentOutline: {
|
|
57
|
+
path: '<path d="M18.35,11.45V9c0-1.1-0.9-2-2-2H13c-0.37,0-0.72,0.12-1,0.32C11.72,7.12,11.37,7,11,7H7.65c-1.1,0-2,0.9-2,2v2.45 C5.25,11.91,5,12.51,5,13.17V17h1.5v-1.5h11V17H19v-3.83C19,12.51,18.75,11.91,18.35,11.45z M16.75,10.5h-4v-2h4V10.5z M7.25,8.5h4 v2h-4V8.5z M17.5,14h-11v-1c0-0.55,0.45-1,1-1h9c0.55,0,1,0.45,1,1V14z M20,4v16H4V4H20 M20,2H4C2.9,2,2,2.9,2,4v16 c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V4C22,2.9,21.1,2,20,2z"/>'
|
|
58
|
+
},
|
|
59
|
+
bathtubOutline: {
|
|
60
|
+
path: '<circle cx="7" cy="7" r="2"/><path d="M20,13V4.83C20,3.27,18.73,2,17.17,2c-0.75,0-1.47,0.3-2,0.83l-1.25,1.25C13.76,4.03,13.59,4,13.41,4 c-0.4,0-0.77,0.12-1.08,0.32l2.76,2.76c0.2-0.31,0.32-0.68,0.32-1.08c0-0.18-0.03-0.34-0.07-0.51l1.25-1.25 C16.74,4.09,16.95,4,17.17,4C17.63,4,18,4.37,18,4.83V13h-6.85c-0.3-0.21-0.57-0.45-0.82-0.72l-1.4-1.55 c-0.19-0.21-0.43-0.38-0.69-0.5C7.93,10.08,7.59,10,7.24,10C6,10.01,5,11.01,5,12.25V13H2v6c0,1.1,0.9,2,2,2c0,0.55,0.45,1,1,1h14 c0.55,0,1-0.45,1-1c1.1,0,2-0.9,2-2v-6H20z M20,19H4v-4h16V19z"/>'
|
|
61
|
+
},
|
|
62
|
+
bathroomOutline: {
|
|
63
|
+
path: '<path d="M8,14c0-0.55,0.45-1,1-1s1,0.45,1,1s-0.45,1-1,1S8,14.55,8,14z M12,15c0.55,0,1-0.45,1-1s-0.45-1-1-1s-1,0.45-1,1 S11.45,15,12,15z M15,15c0.55,0,1-0.45,1-1s-0.45-1-1-1s-1,0.45-1,1S14.45,15,15,15z M12,7.5c-1.76,0-3.22,1.31-3.46,3h6.93 C15.22,8.81,13.76,7.5,12,7.5 M12,6c2.76,0,5,2.24,5,5v1H7v-1C7,8.24,9.24,6,12,6z M9,18c0.55,0,1-0.45,1-1s-0.45-1-1-1 s-1,0.45-1,1S8.45,18,9,18z M12,18c0.55,0,1-0.45,1-1s-0.45-1-1-1s-1,0.45-1,1S11.45,18,12,18z M15,18c0.55,0,1-0.45,1-1 s-0.45-1-1-1s-1,0.45-1,1S14.45,18,15,18z M20,4H4v16h16V4 M20,2c1.1,0,2,0.9,2,2v16c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V4 c0-1.1,0.9-2,2-2H20z"/>'
|
|
64
|
+
},
|
|
65
|
+
c: {
|
|
66
|
+
path: '<circle cx="16" cy="16" r="16" fill="#F6A832"/><path d="M16.2266 22.2891c.9114 0 1.7187-.1667 2.4218-.5.7032-.3386 1.2709-.8047 1.7032-1.3985.4323-.5937.6901-1.2838.7734-2.0703v-.0937h-2.2969l-.0156.0703c-.0781.401-.237.7526-.4766 1.0547-.2343.2968-.5312.5286-.8906.6953-.3542.1614-.7578.2422-1.2109.2422-.5938 0-1.1068-.1589-1.5391-.4766-.4323-.3177-.7656-.7708-1-1.3594-.2292-.5885-.3437-1.2838-.3437-2.0859v-.0156c0-.8073.1145-1.5026.3437-2.086.2344-.5885.5677-1.039 1-1.3515.4323-.3177.9427-.4766 1.5313-.4766.4479 0 .8515.0885 1.2109.2656.3646.1771.6667.4271.9063.75.2395.3177.3984.6875.4765 1.1094l.0078.0547h2.2891v-.1016c-.0729-.7916-.3281-1.4948-.7656-2.1094-.4375-.6145-1.0131-1.0963-1.7266-1.4453-.7083-.3489-1.5078-.5234-2.3984-.5234-1.0938 0-2.0365.2396-2.8282.7187-.7864.474-1.3932 1.1537-1.8203 2.0391-.4271.8854-.6406 1.9375-.6406 3.1563v.0156c0 1.2187.2135 2.2708.6406 3.1562.4271.8855 1.0365 1.5677 1.8281 2.0469.7917.4792 1.7318.7188 2.8204.7188Z" fill="#FCFCFC"/>'
|
|
67
|
+
},
|
|
68
|
+
calculator: {
|
|
69
|
+
path: '<path d="M7,2H17A2,2 0 0,1 19,4V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V4A2,2 0 0,1 7,2M7,4V8H17V4H7M7,10V12H9V10H7M11,10V12H13V10H11M15,10V12H17V10H15M7,14V16H9V14H7M11,14V16H13V14H11M15,14V16H17V14H15M7,18V20H9V18H7M11,18V20H13V18H11M15,18V20H17V18H15Z" />'
|
|
70
|
+
},
|
|
71
|
+
cardAccountMail: {
|
|
72
|
+
path: '<path d="M21,8V7L18,9L15,7V8L18,10M22,3H2A2,2 0 0,0 0,5V19A2,2 0 0,0 2,21H22A2,2 0 0,0 24,19V5A2,2 0 0,0 22,3M8,6A3,3 0 0,1 11,9A3,3 0 0,1 8,12A3,3 0 0,1 5,9A3,3 0 0,1 8,6M14,18H2V17C2,15 6,13.9 8,13.9C10,13.9 14,15 14,17M22,12H14V6H22" />'
|
|
73
|
+
},
|
|
74
|
+
cPlus: {
|
|
75
|
+
path: '<circle cx="16" cy="16" r="16" fill="#F6A832"/><path d="M11.3516 22.2891c.9114 0 1.7187-.1667 2.4218-.5.7032-.3386 1.2709-.8047 1.7032-1.3985.4323-.5937.6901-1.2838.7734-2.0703v-.0937h-2.2969l-.0156.0703c-.0781.401-.237.7526-.4766 1.0547-.2343.2968-.5312.5286-.8906.6953-.3542.1614-.7578.2422-1.2109.2422-.5938 0-1.1068-.1589-1.539-.4766-.4324-.3177-.7657-.7708-1-1.3594-.2292-.5885-.3438-1.2838-.3438-2.0859v-.0156c0-.8073.1146-1.5026.3437-2.086.2344-.5885.5677-1.039 1-1.3515.4323-.3177.9427-.4766 1.5313-.4766.4479 0 .8515.0885 1.2109.2656.3646.1771.6667.4271.9063.75.2395.3177.3984.6875.4765 1.1094l.0078.0547h2.2891v-.1016c-.0729-.7916-.3281-1.4948-.7656-2.1094-.4375-.6145-1.0131-1.0963-1.7266-1.4453-.7083-.3489-1.5078-.5234-2.3984-.5234-1.0938 0-2.0365.2396-2.8282.7187-.7864.474-1.3932 1.1537-1.8203 2.0391-.427.8854-.6406 1.9375-.6406 3.1563v.0156c0 1.2187.2135 2.2708.6406 3.1562.4271.8855 1.0365 1.5677 1.8281 2.0469.7917.4792 1.7318.7188 2.8204.7188Zm6.6718-3.8125h8.8125v-2.0547h-8.8125v2.0547Zm3.375 3.2734h2.0547v-8.6016h-2.0547V21.75Z" fill="#FCFCFC"/>'
|
|
76
|
+
},
|
|
77
|
+
cMinus: {
|
|
78
|
+
path: '<circle cx="16" cy="16" r="16" fill="#F6A832"/><path d="M12.3516 22.2891c.9114 0 1.7187-.1667 2.4218-.5.7032-.3386 1.2709-.8047 1.7032-1.3985.4323-.5937.6901-1.2838.7734-2.0703v-.0937h-2.2969l-.0156.0703c-.0781.401-.237.7526-.4766 1.0547-.2343.2968-.5312.5286-.8906.6953-.3542.1614-.7578.2422-1.2109.2422-.5938 0-1.1068-.1589-1.5391-.4766-.4323-.3177-.7656-.7708-1-1.3594-.2291-.5885-.3437-1.2838-.3437-2.0859v-.0156c0-.8073.1146-1.5026.3437-2.086.2344-.5885.5677-1.039 1-1.3515.4323-.3177.9427-.4766 1.5313-.4766.4479 0 .8515.0885 1.2109.2656.3646.1771.6667.4271.9063.75.2395.3177.3984.6875.4765 1.1094l.0078.0547h2.2891v-.1016c-.0729-.7916-.3281-1.4948-.7656-2.1094-.4375-.6145-1.0131-1.0963-1.7266-1.4453-.7083-.3489-1.5078-.5234-2.3984-.5234-1.0938 0-2.0365.2396-2.8282.7187-.7864.474-1.3932 1.1537-1.8203 2.0391-.427.8854-.6406 1.9375-.6406 3.1563v.0156c0 1.2187.2135 2.2708.6406 3.1562.4271.8855 1.0365 1.5677 1.8281 2.0469.7917.4792 1.7318.7188 2.8204.7188Zm6.9843-3.8125h5.1953v-2.0547h-5.1953v2.0547Z" fill="#FCFCFC"/>'
|
|
79
|
+
},
|
|
80
|
+
carpenterOutline: {
|
|
81
|
+
path: '<rect fill="none" height="24" width="24"/><path d="M19.73,14.23L7,1.5L3.11,5.39l8.13,11.67c-0.78,0.78-0.78,2.05,0,2.83l1.41,1.41c0.78,0.78,2.05,0.78,2.83,0l4.24-4.24 C20.51,16.28,20.51,15.01,19.73,14.23z M5.71,5.62L7,4.33l8.49,8.49l-2.81,2.81L5.71,5.62z M14.07,19.88l-1.41-1.41l4.24-4.24 l1.41,1.41L14.07,19.88z"/>'
|
|
82
|
+
},
|
|
83
|
+
certificate: {
|
|
84
|
+
path: '<path d="M13 21L15 20L17 21V14H13M17 9V7L15 8L13 7V9L11 10L13 11V13L15 12L17 13V11L19 10M20 3H4A2 2 0 0 0 2 5V15A2 2 0 0 0 4 17H11V15H4V5H20V15H19V17H20A2 2 0 0 0 22 15V5A2 2 0 0 0 20 3M11 8H5V6H11M9 11H5V9H9M11 14H5V12H11Z" />'
|
|
85
|
+
},
|
|
86
|
+
chartBoxOutline: {
|
|
87
|
+
path: '<path d="M9 17H7V10H9V17M13 17H11V7H13V17M17 17H15V13H17V17M19 19H5V5H19V19.1M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z" />'
|
|
88
|
+
},
|
|
89
|
+
check: {
|
|
90
|
+
path: '<path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd" />'
|
|
91
|
+
},
|
|
92
|
+
checkMarked: {
|
|
93
|
+
path: '<path d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" />'
|
|
94
|
+
},
|
|
95
|
+
chevronDown: {
|
|
96
|
+
path: '<path fill-rule="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" clip-rule="evenodd" />'
|
|
97
|
+
},
|
|
98
|
+
chevronLeft: {
|
|
99
|
+
path: '<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />'
|
|
100
|
+
},
|
|
101
|
+
chevronRight: {
|
|
102
|
+
path: '<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />'
|
|
103
|
+
},
|
|
104
|
+
chevronUp: {
|
|
105
|
+
path: '<path fill-rule="evenodd" d="M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z" clip-rule="evenodd" />'
|
|
106
|
+
},
|
|
107
|
+
close: {
|
|
108
|
+
path: '<path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd" />'
|
|
109
|
+
},
|
|
110
|
+
crosshair: {
|
|
111
|
+
path: '<path d="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M3.05,13H1V11H3.05C3.5,6.83 6.83,3.5 11,3.05V1H13V3.05C17.17,3.5 20.5,6.83 20.95,11H23V13H20.95C20.5,17.17 17.17,20.5 13,20.95V23H11V20.95C6.83,20.5 3.5,17.17 3.05,13M12,5A7,7 0 0,0 5,12A7,7 0 0,0 12,19A7,7 0 0,0 19,12A7,7 0 0,0 12,5Z" />'
|
|
112
|
+
},
|
|
113
|
+
crunchbase: {
|
|
114
|
+
path: '<path d="M21.6 0H2.4A2.41 2.41 0 0 0 0 2.4v19.2A2.41 2.41 0 0 0 2.4 24h19.2a2.41 2.41 0 0 0 2.4-2.4V2.4A2.41 2.41 0 0 0 21.6 0zM7.045 14.465A2.11 2.11 0 0 0 9.84 13.42h1.66a3.69 3.69 0 1 1 0-1.75H9.84a2.11 2.11 0 1 0-2.795 2.795zm11.345.845a3.55 3.55 0 0 1-1.06.63 3.68 3.68 0 0 1-3.39-.38v.38h-1.51V5.37h1.5v4.11a3.74 3.74 0 0 1 1.8-.63H16a3.67 3.67 0 0 1 2.39 6.46zm-.223-2.766a2.104 2.104 0 1 1-4.207 0 2.104 2.104 0 0 1 4.207 0z"/>'
|
|
115
|
+
},
|
|
116
|
+
currency: {
|
|
117
|
+
path: '<path d="M7,15H9C9,16.08 10.37,17 12,17C13.63,17 15,16.08 15,15C15,13.9 13.96,13.5 11.76,12.97C9.64,12.44 7,11.78 7,9C7,7.21 8.47,5.69 10.5,5.18V3H13.5V5.18C15.53,5.69 17,7.21 17,9H15C15,7.92 13.63,7 12,7C10.37,7 9,7.92 9,9C9,10.1 10.04,10.5 12.24,11.03C14.36,11.56 17,12.22 17,15C17,16.79 15.53,18.31 13.5,18.82V21H10.5V18.82C8.47,18.31 7,16.79 7,15Z" />'
|
|
118
|
+
},
|
|
119
|
+
d: {
|
|
120
|
+
path: '<circle cx="16" cy="16" r="16" fill="#ED6D26"/><path d="M11.3828 22h4.4375c1.125 0 2.0807-.2214 2.8672-.6641.7865-.4479 1.3854-1.0963 1.7969-1.9453.4166-.8489.625-1.8802.625-3.0937v-.0157c0-1.177-.2084-2.1796-.625-3.0078-.4167-.8281-1.0183-1.4583-1.8047-1.8906-.7865-.4375-1.7396-.6562-2.8594-.6562h-4.4375V22Zm2.3594-1.9453v-7.3828h1.7031c.6823 0 1.2656.1432 1.75.4297.4896.2812.862.6953 1.1172 1.2422.2604.5416.3906 1.2005.3906 1.9765v.0156c0 .7969-.1276 1.474-.3828 2.0313-.25.5521-.6172.9713-1.1015 1.2578-.4844.2865-1.0756.4297-1.7735.4297h-1.7031Z" fill="#FCFCFC"/>'
|
|
121
|
+
},
|
|
122
|
+
dPlus: {
|
|
123
|
+
path: '<circle cx="16" cy="16" r="16" fill="#ED6D26"/><path d="M5.5078 22h4.4375c1.125 0 2.0807-.2214 2.8672-.6641.7865-.4479 1.3854-1.0963 1.7969-1.9453.4166-.8489.625-1.8802.625-3.0937v-.0157c0-1.177-.2084-2.1796-.625-3.0078-.4167-.8281-1.0183-1.4583-1.8047-1.8906-.7865-.4375-1.7396-.6562-2.8594-.6562H5.5078V22Zm2.3594-1.9453v-7.3828h1.7031c.6823 0 1.2656.1432 1.75.4297.4896.2812.862.6953 1.1172 1.2422.2604.5416.3906 1.2005.3906 1.9765v.0156c0 .7969-.1276 1.474-.3828 2.0313-.25.5521-.6172.9713-1.1015 1.2578-.4844.2865-1.0756.4297-1.7735.4297H7.8672Zm9.2109-1.5781h8.8125v-2.0547h-8.8125v2.0547Zm3.375 3.2734h2.0547v-8.6016h-2.0547V21.75Z" fill="#FCFCFC"/>'
|
|
124
|
+
},
|
|
125
|
+
dMinus: {
|
|
126
|
+
path: '<circle cx="16" cy="16" r="16" fill="#E6631B"/><path d="M7.5078 22h4.4375c1.125 0 2.0807-.2214 2.8672-.6641.7865-.4479 1.3854-1.0963 1.7969-1.9453.4166-.8489.625-1.8802.625-3.0937v-.0157c0-1.177-.2084-2.1796-.625-3.0078-.4167-.8281-1.0183-1.4583-1.8047-1.8906-.7865-.4375-1.7396-.6562-2.8594-.6562H7.5078V22Zm2.3594-1.9453v-7.3828h1.7031c.6823 0 1.2656.1432 1.75.4297.4896.2812.862.6953 1.1172 1.2422.2604.5416.3906 1.2005.3906 1.9765v.0156c0 .7969-.1276 1.474-.3828 2.0313-.25.5521-.6172.9713-1.1015 1.2578-.4844.2865-1.0756.4297-1.7735.4297H9.8672Zm9.5234-1.5781h5.1953v-2.0547h-5.1953v2.0547Z" fill="#FCFCFC"/>'
|
|
127
|
+
},
|
|
128
|
+
documentOutline: {
|
|
129
|
+
path: '<path d="M6,2A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6M6,4H13V9H18V20H6V4M8,12V14H16V12H8M8,16V18H13V16H8Z" />'
|
|
130
|
+
},
|
|
131
|
+
earth: {
|
|
132
|
+
path: '<path d="M17.9,17.39C17.64,16.59 16.89,16 16,16H15V13A1,1 0 0,0 14,12H8V10H10A1,1 0 0,0 11,9V7H13A2,2 0 0,0 15,5V4.59C17.93,5.77 20,8.64 20,12C20,14.08 19.2,15.97 17.9,17.39M11,19.93C7.05,19.44 4,16.08 4,12C4,11.38 4.08,10.78 4.21,10.21L9,15V16A2,2 0 0,0 11,18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" />'
|
|
133
|
+
},
|
|
134
|
+
email: {
|
|
135
|
+
path: '<path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/>'
|
|
136
|
+
},
|
|
137
|
+
emailArrowRight: {
|
|
138
|
+
path: '<path d="M13 19C13 15.69 15.69 13 19 13C20.1 13 21.12 13.3 22 13.81V6C22 4.89 21.1 4 20 4H4C2.89 4 2 4.89 2 6V18C2 19.11 2.9 20 4 20H13.09C13.04 19.67 13 19.34 13 19M4 8V6L12 11L20 6V8L12 13L4 8M20 22V20H16V18H20V16L23 19L20 22Z" />'
|
|
139
|
+
},
|
|
140
|
+
emailOutline: {
|
|
141
|
+
path: '<path fill="currentColor" d="M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6M20 6L12 11L4 6H20M20 18H4V8L12 13L20 8V18Z" />'
|
|
142
|
+
},
|
|
143
|
+
event: {
|
|
144
|
+
path: '<path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2zm-7 5h5v5h-5z"/>'
|
|
145
|
+
},
|
|
146
|
+
error: {
|
|
147
|
+
path: '<path fill="currentColor" d="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" />'
|
|
148
|
+
},
|
|
149
|
+
exclamationCircle: {
|
|
150
|
+
path: '<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z" clip-rule="evenodd" />'
|
|
151
|
+
},
|
|
152
|
+
eye: {
|
|
153
|
+
path: '<path d="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z" />'
|
|
154
|
+
},
|
|
155
|
+
eyeOff: {
|
|
156
|
+
path: '<path d="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z" />'
|
|
157
|
+
},
|
|
158
|
+
facebook: {
|
|
159
|
+
path: '<path d="M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96A10 10 0 0 0 22 12.06C22 6.53 17.5 2.04 12 2.04Z" />'
|
|
160
|
+
},
|
|
161
|
+
female: {
|
|
162
|
+
path: '<path d="M12,2A2,2 0 0,1 14,4A2,2 0 0,1 12,6A2,2 0 0,1 10,4A2,2 0 0,1 12,2M10.5,22V16H7.5L10.09,8.41C10.34,7.59 11.1,7 12,7C12.9,7 13.66,7.59 13.91,8.41L16.5,16H13.5V22H10.5Z" />'
|
|
163
|
+
},
|
|
164
|
+
fileCertOutline: {
|
|
165
|
+
path: '<path d="M14 13V11L12 12L10 11V13L8 14L10 15V17L12 16L14 17V15L16 14M14 2H7A2 2 0 0 0 5 4V18A2 2 0 0 0 7 20H8V18H7V4H13V8H17V18H16V20H17A2 2 0 0 0 19 18V7M14 13V11L12 12L10 11V13L8 14L10 15V17L12 16L14 17V15L16 14M10 23L12 22L14 23V18H10M14 13V11L12 12L10 11V13L8 14L10 15V17L12 16L14 17V15L16 14Z" />'
|
|
166
|
+
},
|
|
167
|
+
fileDownload: {
|
|
168
|
+
path: '<path d="M14,2H6C4.89,2 4,2.89 4,4V20C4,21.11 4.89,22 6,22H18C19.11,22 20,21.11 20,20V8L14,2M12,19L8,15H10.5V12H13.5V15H16L12,19M13,9V3.5L18.5,9H13Z" />'
|
|
169
|
+
},
|
|
170
|
+
fileSign: {
|
|
171
|
+
path: '<path d="M19.7 12.9L14 18.6H11.7V16.3L17.4 10.6L19.7 12.9M23.1 12.1C23.1 12.4 22.8 12.7 22.5 13L20 15.5L19.1 14.6L21.7 12L21.1 11.4L20.4 12.1L18.1 9.8L20.3 7.7C20.5 7.5 20.9 7.5 21.2 7.7L22.6 9.1C22.8 9.3 22.8 9.7 22.6 10C22.4 10.2 22.2 10.4 22.2 10.6C22.2 10.8 22.4 11 22.6 11.2C22.9 11.5 23.2 11.8 23.1 12.1M3 20V4H10V9H15V10.5L17 8.5V8L11 2H3C1.9 2 1 2.9 1 4V20C1 21.1 1.9 22 3 22H15C16.1 22 17 21.1 17 20H3M11 17.1C10.8 17.1 10.6 17.2 10.5 17.2L10 15H8.5L6.4 16.7L7 14H5.5L4.5 19H6L8.9 16.4L9.5 18.7H10.5L11 18.6V17.1Z" />'
|
|
172
|
+
},
|
|
173
|
+
fireplace: {
|
|
174
|
+
path: '<path d="M12.01,12.46c-0.15,0.42-0.15,0.82-0.08,1.28c0.1,0.55,0.33,1.04,0.2,1.6c-0.13,0.59-0.77,1.38-1.53,1.63 c1.28,1.05,3.2,0.37,3.39-1.32C14.16,14.11,12.55,13.67,12.01,12.46z"/><path d="M2,2v20h20V2H2z M12,18c-1.58,0-2.97-1.88-3-3.06c0-0.05-0.01-0.13-0.01-0.22c-0.13-1.73,1-3.2,2.47-4.37 c0.47,1.01,1.27,2.03,2.57,2.92C14.61,13.69,15,14.13,15,15C15,16.65,13.65,18,12,18z M20,20h-2v-2h-2.02 c0.63-0.84,1.02-1.87,1.02-3c0-1.89-1.09-2.85-1.85-3.37C12.2,9.61,13,7,13,7c-6.73,3.57-6.02,7.47-6,8 c0.03,0.96,0.49,2.07,1.23,3H6v2H4V4h16V20z"/>'
|
|
175
|
+
},
|
|
176
|
+
pdf: {
|
|
177
|
+
path: '<path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M9.5 11.5C9.5 12.3 8.8 13 8 13H7V15H5.5V9H8C8.8 9 9.5 9.7 9.5 10.5V11.5M14.5 13.5C14.5 14.3 13.8 15 13 15H10.5V9H13C13.8 9 14.5 9.7 14.5 10.5V13.5M18.5 10.5H17V11.5H18.5V13H17V15H15.5V9H18.5V10.5M12 10.5H13V13.5H12V10.5M7 10.5H8V11.5H7V10.5Z" />'
|
|
178
|
+
},
|
|
179
|
+
landPlotsMarker: {
|
|
180
|
+
path: '<path d="M4 2H20C21.1 2 22 2.9 22 4V10H10V20H14.55C14.73 20.3 14.91 20.58 15.09 20.84C15.38 21.27 15.66 21.66 15.92 22H4C2.9 22 2 21.1 2 20V4C2 2.9 2.9 2 4 2M8 4H4V14H8V4M4 16V20H8V16H4M10 8H20V4H10V8M18.5 22C18.5 22 17.92 21.35 17.23 20.41C17.14 20.28 17.04 20.14 16.94 20C16 18.66 15 16.89 15 15.5C15 13.6 16.6 12 18.5 12C19.03 12 19.54 12.13 20 12.35C21.17 12.92 22 14.13 22 15.5C22 17.04 20.77 19.04 19.77 20.41C19.08 21.35 18.5 22 18.5 22M17.3 15.6C17.3 16.2 17.8 16.8 18.5 16.8C19.2 16.8 19.8 16.2 19.7 15.6C19.7 15 19.1 14.4 18.5 14.4C17.9 14.4 17.3 14.9 17.3 15.6Z" />'
|
|
181
|
+
},
|
|
182
|
+
list: {
|
|
183
|
+
path: '<path d="M12 9h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7zM20 3H4c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-1 16H5V5h14v14z"/>'
|
|
184
|
+
},
|
|
185
|
+
listbox: {
|
|
186
|
+
path: '<path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M7 7H9V9H7V7M7 11H9V13H7V11M7 15H9V17H7V15M17 17H11V15H17V17M17 13H11V11H17V13M17 9H11V7H17V9Z" />'
|
|
187
|
+
},
|
|
188
|
+
faceAgent: {
|
|
189
|
+
path: '<path d="M18.72,14.76C19.07,13.91 19.26,13 19.26,12C19.26,11.28 19.15,10.59 18.96,9.95C18.31,10.1 17.63,10.18 16.92,10.18C13.86,10.18 11.15,8.67 9.5,6.34C8.61,8.5 6.91,10.26 4.77,11.22C4.73,11.47 4.73,11.74 4.73,12A7.27,7.27 0 0,0 12,19.27C13.05,19.27 14.06,19.04 14.97,18.63C15.54,19.72 15.8,20.26 15.78,20.26C14.14,20.81 12.87,21.08 12,21.08C9.58,21.08 7.27,20.13 5.57,18.42C4.53,17.38 3.76,16.11 3.33,14.73H2V10.18H3.09C3.93,6.04 7.6,2.92 12,2.92C14.4,2.92 16.71,3.87 18.42,5.58C19.69,6.84 20.54,8.45 20.89,10.18H22V14.67H22V14.69L22,14.73H21.94L18.38,18L13.08,17.4V15.73H17.91L18.72,14.76M9.27,11.77C9.57,11.77 9.86,11.89 10.07,12.11C10.28,12.32 10.4,12.61 10.4,12.91C10.4,13.21 10.28,13.5 10.07,13.71C9.86,13.92 9.57,14.04 9.27,14.04C8.64,14.04 8.13,13.54 8.13,12.91C8.13,12.28 8.64,11.77 9.27,11.77M14.72,11.77C15.35,11.77 15.85,12.28 15.85,12.91C15.85,13.54 15.35,14.04 14.72,14.04C14.09,14.04 13.58,13.54 13.58,12.91A1.14,1.14 0 0,1 14.72,11.77Z" />'
|
|
190
|
+
},
|
|
191
|
+
forSale: {
|
|
192
|
+
path: '<path d="M30 13.334H13.335a3.343 3.343 0 0 0-3.333 3.333v10C10 28.517 11.5 30 13.334 30h16.667a3.322 3.322 0 0 0 3.333-3.333v-10a3.332 3.332 0 0 0-3.333-3.334Zm-6.666 13.333h-10v-3.334h10v3.334ZM30.001 20H13.334v-3.333h16.667V20Zm6.666-10h-30v26.667H3.334V3.333h3.333v3.334h30V10Z"/>'
|
|
193
|
+
},
|
|
194
|
+
forSaleAgent: {
|
|
195
|
+
path: '<path d="M18 8H8C6.9 8 6 8.9 6 10V16C6 17.11 6.9 18 8 18H18C19.11 18 20 17.11 20 16V10C20 8.9 19.11 8 18 8M14 16H8V14H14V16M18 12H8V10H18V12M22 6H4V22H2V2H4V4H22V6Z" />'
|
|
196
|
+
},
|
|
197
|
+
forSaleAgent2: {
|
|
198
|
+
path: '<path d="M21,6.5V14h-2V7.5L14,4L9,7.5V9H7V6.5l7-5L21,6.5z M15.5,7h-1v1h1V7z M13.5,7h-1v1h1V7z M15.5,9h-1v1h1V9z M13.5,9h-1v1h1V9 z M19,16h-2c0-1.2-0.75-2.28-1.87-2.7L8.97,11H1v11h6v-1.44l7,1.94l8-2.5v-1C22,17.34,20.66,16,19,16z M3,20v-7h2v7H3z M13.97,20.41 L7,18.48V13h1.61l5.82,2.17C14.77,15.3,15,15.63,15,16c0,0-1.99-0.05-2.3-0.15l-2.38-0.79l-0.63,1.9l2.38,0.79 c0.51,0.17,1.04,0.26,1.58,0.26H19c0.39,0,0.74,0.23,0.9,0.56L13.97,20.41z"/>'
|
|
199
|
+
},
|
|
200
|
+
foundationOutline: {
|
|
201
|
+
path: '<rect fill="none" height="24" width="24"/><path d="M19,12h3L12,3L2,12h3v3H3v2h2v3h2v-3h4v3h2v-3h4v3h2v-3h2v-2h-2V12z M7,15v-4.81l4-3.6V15H7z M13,15V6.59l4,3.6V15H13z"/>'
|
|
202
|
+
},
|
|
203
|
+
gite: {
|
|
204
|
+
path: '<rect fill="none" height="24" width="24"/><path d="M18,6H9V4H7v2H6l-4,4v9h20v-9L18,6z M4,12h10v5H4V12z M20,17h-4v-6.17l2-2v0l2,2V17z"/>'
|
|
205
|
+
},
|
|
206
|
+
googleStreet: {
|
|
207
|
+
path: '<path d="M11.95 9.27c2.01 0 3.64-1.63 3.64-3.64 0-2-1.63-3.63-3.64-3.63-2.01 0-3.63 1.63-3.63 3.63 0 2.01 1.62 3.64 3.63 3.64m-2.59 3.7s-1.09 2.97-1.4 3.53c-.11.21-.09.27-.36.27s-.69-.27-.69-.27-.2-.13-.12-.36c.24-.74 1.33-5.06 1.56-5.89.25-.89.93-.86.93-.86h.65l2.1 3.65 2.11-3.65h.78s.31.04.54.31c.24.27.29.74.29.74l1.39 5.4s.1.38.07.49c-.04.17-.13.17-.13.17s-.39.12-.61.19c-.4.13-.47-.25-.47-.25l-1.3-3.4-.15 8.96H12.6l-.33-5.11s-.06-.13-.24-.13c-.17 0-.23.13-.23.13L11.45 22H9.5l-.13-9.03h-.01Z"/>'
|
|
208
|
+
},
|
|
209
|
+
hand: {
|
|
210
|
+
path: '<path d="M3 16V5.75C3 5.06 3.56 4.5 4.25 4.5S5.5 5.06 5.5 5.75V12H6.5V2.75C6.5 2.06 7.06 1.5 7.75 1.5C8.44 1.5 9 2.06 9 2.75V12H10V1.25C10 .56 10.56 0 11.25 0S12.5 .56 12.5 1.25V12H13.5V3.25C13.5 2.56 14.06 2 14.75 2S16 2.56 16 3.25V15H16.75L18.16 11.47C18.38 10.92 18.84 10.5 19.4 10.31L20.19 10.05C21 9.79 21.74 10.58 21.43 11.37L18.4 19C17.19 22 14.26 24 11 24C6.58 24 3 20.42 3 16Z" />'
|
|
211
|
+
},
|
|
212
|
+
handcuff: {
|
|
213
|
+
path: '<path d="M20.24 6.76C18.4 4.91 15.65 4.53 13.42 5.59L12.46 4.63C12.07 4.24 11.44 4.24 11.05 4.63L10.97 4.72C10.83 3.75 10 3 9 3C7.9 3 7 3.9 7 5C7 5.09 7 5.18 7.03 5.26C6.42 5.61 6 6.25 6 7C6 7.46 6.16 7.87 6.42 8.21C6.17 8.39 6 8.67 6 9V10.35C3.67 11.17 2 13.39 2 16C2 19.31 4.69 22 8 22S14 19.31 14 16C14 13.39 12.33 11.17 10 10.35V9C10 8.67 9.83 8.39 9.58 8.21C9.84 7.87 10 7.46 10 7C10 6.91 10 6.82 9.97 6.74C10.15 6.64 10.3 6.5 10.43 6.38C11.36 6.88 12 7.86 12 9V9.08C12.13 9.15 12.25 9.25 12.38 9.33C12.57 8.91 12.83 8.5 13.17 8.17C14.73 6.61 17.27 6.61 18.83 8.17C20.39 9.73 20.39 12.27 18.83 13.83C18.03 14.63 17 15 15.93 15C16 15.32 16 15.66 16 16C16 16.34 15.97 16.67 15.93 17C17.5 17 19.05 16.43 20.24 15.24C22.59 12.9 22.59 9.1 20.24 6.76M9 4C9.55 4 10 4.45 10 5C10 5.33 9.83 5.61 9.58 5.79C9.22 5.31 8.65 5 8 5C8 4.45 8.45 4 9 4M7.42 6.21C7.78 6.69 8.35 7 9 7C9 7.55 8.55 8 8 8S7 7.55 7 7C7 6.67 7.17 6.39 7.42 6.21M12 16C12 18.21 10.21 20 8 20S4 18.21 4 16C4 13.79 5.79 12 8 12S12 13.79 12 16Z" />'
|
|
214
|
+
},
|
|
215
|
+
heatPump: {
|
|
216
|
+
path: '<path d="M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M19,19H5V5h14V19z"/><path d="M12,18c3.31,0,6-2.69,6-6s-2.69-6-6-6s-6,2.69-6,6S8.69,18,12,18z M11.25,15.92c-0.55-0.1-1.05-0.32-1.5-0.62l1.5-1.5 V15.92z M12.75,15.92v-2.11l1.5,1.5C13.8,15.61,13.3,15.82,12.75,15.92z M15.31,14.25l-1.5-1.5h2.11 C15.82,13.3,15.61,13.8,15.31,14.25z M15.92,11.25h-2.11l1.5-1.5C15.61,10.2,15.82,10.7,15.92,11.25z M12.75,8.08 c0.55,0.1,1.05,0.32,1.5,0.62l-1.5,1.5V8.08z M12,11c0.55,0,1,0.45,1,1c0,0.55-0.45,1-1,1s-1-0.45-1-1C11,11.45,11.45,11,12,11z M11.25,8.08v2.11l-1.5-1.5C10.2,8.39,10.7,8.18,11.25,8.08z M8.69,9.75l1.5,1.5H8.08C8.18,10.7,8.39,10.2,8.69,9.75z M10.19,12.75l-1.5,1.5c-0.3-0.44-0.51-0.95-0.62-1.5H10.19z"/>'
|
|
217
|
+
},
|
|
218
|
+
helpCircle: {
|
|
219
|
+
path: '<path d="M11,18H13V16H11V18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,6A4,4 0 0,0 8,10H10A2,2 0 0,1 12,8A2,2 0 0,1 14,10C14,12 11,11.75 11,15H13C13,12.75 16,12.5 16,10A4,4 0 0,0 12,6Z" />'
|
|
220
|
+
},
|
|
221
|
+
home: {
|
|
222
|
+
path: '<path d="M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z" />'
|
|
223
|
+
},
|
|
224
|
+
homeAccount: {
|
|
225
|
+
path: '<path d="M12,3L2,12H5V20H19V12H22L12,3M12,8.75A2.25,2.25 0 0,1 14.25,11A2.25,2.25 0 0,1 12,13.25A2.25,2.25 0 0,1 9.75,11A2.25,2.25 0 0,1 12,8.75M12,15C13.5,15 16.5,15.75 16.5,17.25V18H7.5V17.25C7.5,15.75 10.5,15 12,15Z" />'
|
|
226
|
+
},
|
|
227
|
+
homeAlert: {
|
|
228
|
+
path: '<path d="M12 5.7L17 10.2V18H7V10.2L12 5.7M19 20V12H22L12 3L2 12H5V20M13 8H11V13H13V8M13 15H11V17H13V15" />'
|
|
229
|
+
},
|
|
230
|
+
homeAnalytics: {
|
|
231
|
+
path: '<path d="M12,3L2,12H5V20H19V12H22M9,18H7V12H9M13,18H11V10H13M17,18H15V14H17" />'
|
|
232
|
+
},
|
|
233
|
+
homeCityOutline: {
|
|
234
|
+
path: '<path d="M10,2V4.26L12,5.59V4H22V19H17V21H24V2H10M7.5,5L0,10V21H15V10L7.5,5M14,6V6.93L15.61,8H16V6H14M18,6V8H20V6H18M7.5,7.5L13,11V19H10V13H5V19H2V11L7.5,7.5M18,10V12H20V10H18M18,14V16H20V14H18Z" />'
|
|
235
|
+
},
|
|
236
|
+
homeClock: {
|
|
237
|
+
path: '<path d="M16.5 16.25L19.36 17.94L18.61 19.16L15 17V12H16.5V16.25M23 16C23 19.87 19.87 23 16 23C13.62 23 11.53 21.81 10.26 20H4V12H1L11 3L18 9.29C20.89 10.15 23 12.83 23 16M21 16C21 13.24 18.76 11 16 11S11 13.24 11 16 13.24 21 16 21 21 18.76 21 16Z" />'
|
|
238
|
+
},
|
|
239
|
+
homeGroup: {
|
|
240
|
+
path: '<path d="M17,16H15V22H12V17H8V22H5V16H3L10,10L17,16M6,2L10,6H9V9H7V6H5V9H3V6H2L6,2M18,3L23,8H22V12H19V9H17V12H15.34L14,10.87V8H13L18,3Z" />'
|
|
241
|
+
},
|
|
242
|
+
infoOutline: {
|
|
243
|
+
path: '<path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z" />'
|
|
244
|
+
},
|
|
245
|
+
homeOffOutline: {
|
|
246
|
+
path: '<path d="M22.11 21.46L2.39 1.73L1.11 3L6.27 8.16L2 12H5V20H11V14H12.11L13 14.89V20H18.11L20.84 22.73L22.11 21.46M9 12V18H7V10.19L7.68 9.57L10.11 12H9M15 18V16.89L16.11 18H15M10.36 7.16L8.95 5.75L12 3L22 12H19V15.8L17 13.8V10.19L12 5.69L10.36 7.16Z" />'
|
|
247
|
+
},
|
|
248
|
+
homeOutline: {
|
|
249
|
+
path: '<path d="M12 5.69L17 10.19V18H15V12H9V18H7V10.19L12 5.69M12 3L2 12H5V20H11V14H13V20H19V12H22L12 3Z" />'
|
|
250
|
+
},
|
|
251
|
+
homeSearch: {
|
|
252
|
+
path: '<path d="M19.31 18.9C19.75 18.21 20 17.38 20 16.5C20 14 18 12 15.5 12S11 14 11 16.5 13 21 15.5 21C16.37 21 17.19 20.75 17.88 20.32L21 23.39L22.39 22L19.31 18.9M15.5 19C14.12 19 13 17.88 13 16.5S14.12 14 15.5 14 18 15.12 18 16.5 16.88 19 15.5 19M5 20V12H2L12 3L22 12H20.18C19 10.77 17.34 10 15.5 10C11.92 10 9 12.92 9 16.5C9 17.79 9.38 19 10.03 20H5Z" />'
|
|
253
|
+
},
|
|
254
|
+
houseSidingOutline: {
|
|
255
|
+
path: '<rect fill="none" height="24" width="24"/><path d="M19,12h3L12,3L2,12h3v8h2v-2h10v2h2V12z M7.21,10h9.58L17,10.19V12H7v-1.81L7.21,10z M14.57,8H9.43L12,5.69L14.57,8z M7,16 v-2h10v2H7z"/>'
|
|
256
|
+
},
|
|
257
|
+
homeSwitch: {
|
|
258
|
+
path: '<path d="M6.5 15V11H9.5V15H13V9H15L8 3L1 9H3V15H6.5M9 16V18H15V16L18 19L15 22V20H9V22L6 19L9 16M23 9H21V15H15V10H19L13.54 5.11L16 3L23 9Z" />'
|
|
259
|
+
},
|
|
260
|
+
hvac: {
|
|
261
|
+
path: '<path d="M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M19,19H5V5h14V19z"/><path d="M12,18c3.31,0,6-2.69,6-6s-2.69-6-6-6s-6,2.69-6,6S8.69,18,12,18z M15.44,10c0.26,0.45,0.44,0.96,0.51,1.5h-7.9 c0.07-0.54,0.24-1.05,0.51-1.5H15.44z M15.95,12.5c-0.07,0.54-0.24,1.05-0.51,1.5H8.56c-0.26-0.45-0.44-0.96-0.51-1.5H15.95z M9.38,15h5.24c-0.7,0.61-1.61,1-2.62,1S10.09,15.61,9.38,15z M14.62,9H9.38c0.7-0.61,1.61-1,2.62-1S13.91,8.39,14.62,9z"/>'
|
|
262
|
+
},
|
|
263
|
+
identification: {
|
|
264
|
+
path: '<path d="M22,3H2C0.91,3.04 0.04,3.91 0,5V19C0.04,20.09 0.91,20.96 2,21H22C23.09,20.96 23.96,20.09 24,19V5C23.96,3.91 23.09,3.04 22,3M22,19H2V5H22V19M14,17V15.75C14,14.09 10.66,13.25 9,13.25C7.34,13.25 4,14.09 4,15.75V17H14M9,7A2.5,2.5 0 0,0 6.5,9.5A2.5,2.5 0 0,0 9,12A2.5,2.5 0 0,0 11.5,9.5A2.5,2.5 0 0,0 9,7M14,7V8H20V7H14M14,9V10H20V9H14M14,11V12H18V11H14" />'
|
|
265
|
+
},
|
|
266
|
+
image: {
|
|
267
|
+
path: '<path fill-rule="evenodd" d="M7 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm-1 3a1 1 0 1 1 2 0 1 1 0 0 1-2 0Z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M3 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H3Zm18 2H3a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h4.314l6.878-6.879a3 3 0 0 1 4.243 0L22 15.686V6a1 1 0 0 0-1-1Zm0 14H10.142l5.465-5.464a1 1 0 0 1 1.414 0l4.886 4.886A1 1 0 0 1 21 19Z" clip-rule="evenodd"/>'
|
|
268
|
+
},
|
|
269
|
+
imageSolid: {
|
|
270
|
+
path: '<path d="M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z" />'
|
|
271
|
+
},
|
|
272
|
+
info: {
|
|
273
|
+
path: '<path fill="currentColor" d="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" />'
|
|
274
|
+
},
|
|
275
|
+
instagram: {
|
|
276
|
+
path: '<path d="M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z" />'
|
|
277
|
+
},
|
|
278
|
+
layer: {
|
|
279
|
+
path: '<path d="M12,16L19.36,10.27L21,9L12,2L3,9L4.63,10.27M12,18.54L4.62,12.81L3,14.07L12,21.07L21,14.07L19.37,12.8L12,18.54Z" />'
|
|
280
|
+
},
|
|
281
|
+
lineWeight: {
|
|
282
|
+
path: '<path d="M0 0h24v24H0z" fill="none"/><path d="M3 17h18v-2H3v2zm0 3h18v-1H3v1zm0-7h18v-3H3v3zm0-9v4h18V4H3z"/>'
|
|
283
|
+
},
|
|
284
|
+
localParking: {
|
|
285
|
+
path: '<path d="M0 0h24v24H0V0z" fill="none"/><path d="M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6zm.2 8H10V7h3.2c1.1 0 2 .9 2 2s-.9 2-2 2z"/>'
|
|
286
|
+
},
|
|
287
|
+
lock: {
|
|
288
|
+
path: '<path d="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z" />,'
|
|
289
|
+
},
|
|
290
|
+
linkedin: {
|
|
291
|
+
path: '<path d="M19 3A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H19M18.5 18.5V13.2A3.26 3.26 0 0 0 15.24 9.94C14.39 9.94 13.4 10.46 12.92 11.24V10.13H10.13V18.5H12.92V13.57C12.92 12.8 13.54 12.17 14.31 12.17A1.4 1.4 0 0 1 15.71 13.57V18.5H18.5M6.88 8.56A1.68 1.68 0 0 0 8.56 6.88C8.56 5.95 7.81 5.19 6.88 5.19A1.69 1.69 0 0 0 5.19 6.88C5.19 7.81 5.95 8.56 6.88 8.56M8.27 18.5V10.13H5.5V18.5H8.27Z" />'
|
|
292
|
+
},
|
|
293
|
+
login: {
|
|
294
|
+
path: '<path d="M10,17V14H3V10H10V7L15,12L10,17M10,2H19A2,2 0 0,1 21,4V20A2,2 0 0,1 19,22H10A2,2 0 0,1 8,20V18H10V20H19V4H10V6H8V4A2,2 0 0,1 10,2Z" />'
|
|
295
|
+
},
|
|
296
|
+
logout: {
|
|
297
|
+
path: '<path d="M16,17V14H9V10H16V7L21,12L16,17M14,2A2,2 0 0,1 16,4V6H14V4H5V20H14V18H16V20A2,2 0 0,1 14,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2H14Z" />'
|
|
298
|
+
},
|
|
299
|
+
map: {
|
|
300
|
+
path: '<path d="M20.5,3L20.34,3.03L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21L3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19.03 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3M10,5.47L14,6.87V18.53L10,17.13V5.47M5,6.46L8,5.45V17.15L5,18.31V6.46M19,17.54L16,18.55V6.86L19,5.7V17.54Z" />'
|
|
301
|
+
},
|
|
302
|
+
mapSolid: {
|
|
303
|
+
path: '<path d="M15,19L9,16.89V5L15,7.11M20.5,3C20.44,3 20.39,3 20.34,3L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21C3.55,21 3.61,21 3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3Z" />'
|
|
304
|
+
},
|
|
305
|
+
mapMarker: {
|
|
306
|
+
path: '<path d="M12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5M12,2A7,7 0 0,1 19,9C19,14.25 12,22 12,22C12,22 5,14.25 5,9A7,7 0 0,1 12,2M12,4A5,5 0 0,0 7,9C7,10 7,12 12,18.71C17,12 17,10 17,9A5,5 0 0,0 12,4Z" />'
|
|
307
|
+
},
|
|
308
|
+
mapMarkerRadius: {
|
|
309
|
+
path: '<path d="M12,2C15.31,2 18,4.66 18,7.95C18,12.41 12,19 12,19C12,19 6,12.41 6,7.95C6,4.66 8.69,2 12,2M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6M20,19C20,21.21 16.42,23 12,23C7.58,23 4,21.21 4,19C4,17.71 5.22,16.56 7.11,15.83L7.75,16.74C6.67,17.19 6,17.81 6,18.5C6,19.88 8.69,21 12,21C15.31,21 18,19.88 18,18.5C18,17.81 17.33,17.19 16.25,16.74L16.89,15.83C18.78,16.56 20,17.71 20,19Z" />'
|
|
310
|
+
},
|
|
311
|
+
mask: {
|
|
312
|
+
path: '<path d="M15.83 9.81C14.7 9.7 13.69 10.38 13.46 11.5C13.46 11.84 14.81 12.29 16.05 12.29C17.29 12.29 18.41 11.5 18.41 11.28C18.41 11.05 17.63 9.93 15.83 9.81M8.18 9.81C6.38 9.93 5.59 10.94 5.59 11.27C5.59 11.5 6.82 12.29 7.95 12.29S10.54 11.84 10.54 11.5C10.31 10.38 9.19 9.7 8.18 9.81M16.95 16C15.04 16 13.8 13.75 12 13.75S8.85 16 7.05 16C4.69 16 3 13.86 3 10.04C3 7.68 3.68 7 6.71 7S10.54 8.24 12 8.24 14.36 7 17.29 7 21 7.79 21 10.04C21 13.86 19.31 16 16.95 16Z" />'
|
|
313
|
+
},
|
|
314
|
+
menu: {
|
|
315
|
+
path: '<path d="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z" />'
|
|
316
|
+
},
|
|
317
|
+
smsText: {
|
|
318
|
+
path: '<path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/>'
|
|
319
|
+
},
|
|
320
|
+
messageText: {
|
|
321
|
+
path: '<path d="M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M6,9H18V11H6M14,14H6V12H14M18,8H6V6H18" />'
|
|
322
|
+
},
|
|
323
|
+
minus: {
|
|
324
|
+
path: '<path fill-rule="evenodd" d="M5 10a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1z" clip-rule="evenodd" />'
|
|
325
|
+
},
|
|
326
|
+
money: {
|
|
327
|
+
path: '<path d="M11.1 19h1.75v-1.25q1.25-.225 2.15-.975.9-.75.9-2.225 0-1.05-.6-1.925T12.9 11.1q-1.5-.5-2.075-.875-.575-.375-.575-1.025 0-.65.463-1.025.462-.375 1.337-.375.8 0 1.25.388.45.387.65.962l1.6-.65q-.275-.875-1.012-1.525-.738-.65-1.638-.725V5h-1.75v1.25q-1.25.275-1.95 1.1-.7.825-.7 1.85 0 1.175.688 1.9.687.725 2.162 1.25 1.575.575 2.188 1.025.612.45.612 1.175 0 .825-.588 1.212-.587.388-1.412.388t-1.462-.513q-.638-.512-.938-1.537l-1.65.65q.35 1.2 1.088 1.938.737.737 1.912 1.012Zm.9 3q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175 1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138 1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4 8.65 4 6.325 6.325 4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z"/>'
|
|
328
|
+
},
|
|
329
|
+
moreVert: {
|
|
330
|
+
path: '<path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>'
|
|
331
|
+
},
|
|
332
|
+
openInNew: {
|
|
333
|
+
path: '<path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" />'
|
|
334
|
+
},
|
|
335
|
+
phone: {
|
|
336
|
+
path: '<path d="M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z" />'
|
|
337
|
+
},
|
|
338
|
+
phoneClassic: {
|
|
339
|
+
path: '<path d="M12,3C7.46,3 3.34,4.78 0.29,7.67C0.11,7.85 0,8.1 0,8.38C0,8.66 0.11,8.91 0.29,9.09L2.77,11.57C2.95,11.75 3.2,11.86 3.5,11.86C3.75,11.86 4,11.75 4.18,11.58C4.97,10.84 5.87,10.22 6.84,9.73C7.17,9.57 7.4,9.23 7.4,8.83V5.73C8.85,5.25 10.39,5 12,5C13.59,5 15.14,5.25 16.59,5.72V8.82C16.59,9.21 16.82,9.56 17.15,9.72C18.13,10.21 19,10.84 19.82,11.57C20,11.75 20.25,11.85 20.5,11.85C20.8,11.85 21.05,11.74 21.23,11.56L23.71,9.08C23.89,8.9 24,8.65 24,8.37C24,8.09 23.88,7.85 23.7,7.67C20.65,4.78 16.53,3 12,3M9,7V10C9,10 3,15 3,18V22H21V18C21,15 15,10 15,10V7H13V9H11V7H9M12,12A4,4 0 0,1 16,16A4,4 0 0,1 12,20A4,4 0 0,1 8,16A4,4 0 0,1 12,12M12,13.5A2.5,2.5 0 0,0 9.5,16A2.5,2.5 0 0,0 12,18.5A2.5,2.5 0 0,0 14.5,16A2.5,2.5 0 0,0 12,13.5Z" />'
|
|
340
|
+
},
|
|
341
|
+
phoneTalk: {
|
|
342
|
+
path: '<path d="M15,12H17A5,5 0 0,0 12,7V9A3,3 0 0,1 15,12M19,12H21C21,7 16.97,3 12,3V5C15.86,5 19,8.13 19,12M20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.06,13.62 6.62,10.79L8.82,8.59C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5Z" />'
|
|
343
|
+
},
|
|
344
|
+
people: {
|
|
345
|
+
path: '<path d="M7.5,2A2,2 0 0,1 9.5,4A2,2 0 0,1 7.5,6A2,2 0 0,1 5.5,4A2,2 0 0,1 7.5,2M6,7H9A2,2 0 0,1 11,9V14.5H9.5V22H5.5V14.5H4V9A2,2 0 0,1 6,7M14.5,12A2,2 0 0,1 16.5,10A2,2 0 0,1 18.5,12A2,2 0 0,1 16.5,14A2,2 0 0,1 14.5,12M15,15H18L19.5,19H18V22H15V19H13.5L15,15Z" />'
|
|
346
|
+
},
|
|
347
|
+
percent: {
|
|
348
|
+
path: '<path d="M18.5,3.5L3.5,18.5L5.5,20.5L20.5,5.5M7,4A3,3 0 0,0 4,7A3,3 0 0,0 7,10A3,3 0 0,0 10,7A3,3 0 0,0 7,4M17,14A3,3 0 0,0 14,17A3,3 0 0,0 17,20A3,3 0 0,0 20,17A3,3 0 0,0 17,14Z" />'
|
|
349
|
+
},
|
|
350
|
+
person: {
|
|
351
|
+
path: '<path d="M24 23.95q-3.3 0-5.4-2.1-2.1-2.1-2.1-5.4 0-3.3 2.1-5.4 2.1-2.1 5.4-2.1 3.3 0 5.4 2.1 2.1 2.1 2.1 5.4 0 3.3-2.1 5.4-2.1 2.1-5.4 2.1ZM8 40v-4.7q0-1.9.95-3.25T11.4 30q3.35-1.5 6.425-2.25Q20.9 27 24 27q3.1 0 6.15.775 3.05.775 6.4 2.225 1.55.7 2.5 2.05.95 1.35.95 3.25V40Zm3-3h26v-1.7q0-.8-.475-1.525-.475-.725-1.175-1.075-3.2-1.55-5.85-2.125Q26.85 30 24 30t-5.55.575q-2.7.575-5.85 2.125-.7.35-1.15 1.075Q11 34.5 11 35.3Zm13-16.05q1.95 0 3.225-1.275Q28.5 18.4 28.5 16.45q0-1.95-1.275-3.225Q25.95 11.95 24 11.95q-1.95 0-3.225 1.275Q19.5 14.5 19.5 16.45q0 1.95 1.275 3.225Q22.05 20.95 24 20.95Zm0-4.5ZM24 37Z"/>'
|
|
352
|
+
},
|
|
353
|
+
plumbingOutline: {
|
|
354
|
+
path: '<path d="M19.28,4.93l-2.12-2.12c-0.78-0.78-2.05-0.78-2.83,0L11.5,5.64l2.12,2.12l2.12-2.12l3.54,3.54 C20.45,8,20.45,6.1,19.28,4.93z"/><path d="M5.49,13.77c0.59,0.59,1.54,0.59,2.12,0l2.47-2.47L7.96,9.17l-2.47,2.47C4.9,12.23,4.9,13.18,5.49,13.77L5.49,13.77z"/><path d="M15.04,7.76l-0.71,0.71l-0.71,0.71l-3.18-3.18C9.85,5.4,8.9,5.4,8.32,5.99c-0.59,0.59-0.59,1.54,0,2.12l3.18,3.18 L10.79,12l-6.36,6.36c-0.78,0.78-0.78,2.05,0,2.83c0.78,0.78,2.05,0.78,2.83,0L16.45,12c0.39,0.39,1.02,0.39,1.41,0 c0.39-0.39,0.39-1.02,0-1.41L15.04,7.76z"/>'
|
|
355
|
+
},
|
|
356
|
+
plus: {
|
|
357
|
+
path: '<path fill-rule="evenodd" d="M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z" clip-rule="evenodd" />'
|
|
358
|
+
},
|
|
359
|
+
pool: {
|
|
360
|
+
path: '<path d="M0 0h24v24H0V0z" fill="none"/><path d="M10 8l-3.25 3.25c.31.12.56.27.77.39.37.23.59.36 1.15.36s.78-.13 1.15-.36c.46-.27 1.08-.64 2.19-.64s1.73.37 2.18.64c.37.22.6.36 1.15.36.55 0 .78-.13 1.15-.36.12-.07.26-.15.41-.23L10.48 5C8.93 3.45 7.5 2.99 5 3v2.5c1.82-.01 2.89.39 4 1.5l1 1zm12 8.5h-.02.02zm-16.65-1c.55 0 .78.14 1.15.36.45.27 1.07.64 2.18.64s1.73-.37 2.18-.64c.37-.23.59-.36 1.15-.36.55 0 .78.14 1.15.36.45.27 1.07.64 2.18.64s1.73-.37 2.18-.64c.37-.23.59-.36 1.15-.36.55 0 .78.14 1.15.36.45.27 1.06.63 2.16.64v-2c-.55 0-.78-.14-1.15-.36-.45-.27-1.07-.64-2.18-.64s-1.73.37-2.18.64c-.37.23-.6.36-1.15.36s-.78-.14-1.15-.36c-.45-.27-1.07-.64-2.18-.64s-1.73.37-2.18.64c-.37.23-.59.36-1.15.36-.55 0-.78-.14-1.15-.36-.45-.27-1.07-.64-2.18-.64s-1.73.37-2.18.64c-.37.23-.59.36-1.15.36v2c1.11 0 1.73-.37 2.2-.64.37-.23.6-.36 1.15-.36zM18.67 18c-1.11 0-1.73.37-2.18.64-.37.23-.6.36-1.15.36-.55 0-.78-.14-1.15-.36-.45-.27-1.07-.64-2.18-.64s-1.73.37-2.19.64c-.37.23-.59.36-1.15.36s-.78-.13-1.15-.36c-.45-.27-1.07-.64-2.18-.64s-1.73.37-2.19.64c-.37.23-.59.36-1.15.36v2c1.11 0 1.73-.37 2.19-.64.37-.23.6-.36 1.15-.36.55 0 .78.13 1.15.36.45.27 1.07.64 2.18.64s1.73-.37 2.19-.64c.37-.23.59-.36 1.15-.36.55 0 .78.14 1.15.36.45.27 1.07.64 2.18.64s1.72-.37 2.18-.64c.37-.23.59-.36 1.15-.36.55 0 .78.14 1.15.36.45.27 1.07.64 2.18.64v-2c-.56 0-.78-.13-1.15-.36-.45-.27-1.07-.64-2.18-.64z"/><circle cx="16.5" cy="5.5" r="2.5"/>'
|
|
361
|
+
},
|
|
362
|
+
roofingOutline: {
|
|
363
|
+
path: '<rect fill="none" height="24" width="24"/><path d="M13,18h-2v-2h2V18z M15,14H9v6h6V14L15,14z M19,9.3L19,9.3V4h-3v2.6v0L12,3L2,12h3l7-6.31L19,12h3L19,9.3z"/>'
|
|
364
|
+
},
|
|
365
|
+
road: {
|
|
366
|
+
path: '<path d="M18.1,4.8C18,4.3 17.6,4 17.1,4H13L13.2,7H10.8L11,4H6.8C6.3,4 5.9,4.4 5.8,4.8L3.1,18.8C3,19.4 3.5,20 4.1,20H10L10.3,15H13.7L14,20H19.8C20.4,20 20.9,19.4 20.8,18.8L18.1,4.8M10.4,13L10.6,9H13.2L13.4,13H10.4Z" />'
|
|
367
|
+
},
|
|
368
|
+
satellite: {
|
|
369
|
+
path: '<path d="M5,18L8.5,13.5L11,16.5L14.5,12L19,18M5,12V10A5,5 0 0,0 10,5H12A7,7 0 0,1 5,12M5,5H8A3,3 0 0,1 5,8M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" />'
|
|
370
|
+
},
|
|
371
|
+
school: {
|
|
372
|
+
path: '<path d="M12,3L1,9L12,15L21,10.09V17H23V9M5,13.18V17.18L12,21L19,17.18V13.18L12,17L5,13.18Z" />'
|
|
373
|
+
},
|
|
374
|
+
schoolOutline: {
|
|
375
|
+
path: '<path d="M12 3L1 9L5 11.18V17.18L12 21L19 17.18V11.18L21 10.09V17H23V9L12 3M18.82 9L12 12.72L5.18 9L12 5.28L18.82 9M17 16L12 18.72L7 16V12.27L12 15L17 12.27V16Z" />'
|
|
376
|
+
},
|
|
377
|
+
scriptText: {
|
|
378
|
+
path: '<path d="M17.8,20C17.4,21.2 16.3,22 15,22H5C3.3,22 2,20.7 2,19V18H5L14.2,18C14.6,19.2 15.7,20 17,20H17.8M19,2C20.7,2 22,3.3 22,5V6H20V5C20,4.4 19.6,4 19,4C18.4,4 18,4.4 18,5V18H17C16.4,18 16,17.6 16,17V16H5V5C5,3.3 6.3,2 8,2H19M8,6V8H15V6H8M8,10V12H14V10H8Z" />'
|
|
379
|
+
},
|
|
380
|
+
search: {
|
|
381
|
+
path: '<path d="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z" />'
|
|
382
|
+
},
|
|
383
|
+
selector: {
|
|
384
|
+
path: '<path fill-rule="evenodd" d="M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z" clip-rule="evenodd" />'
|
|
385
|
+
},
|
|
386
|
+
shieldAlert: {
|
|
387
|
+
path: '<path d="M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5M11,7H13V13H11M11,15H13V17H11" />'
|
|
388
|
+
},
|
|
389
|
+
shieldCheck: {
|
|
390
|
+
path: '<path d="M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z" />'
|
|
391
|
+
},
|
|
392
|
+
shieldStar: {
|
|
393
|
+
path: '<path d="M12 1L3 5V11C3 16.55 6.84 21.74 12 23C17.16 21.74 21 16.55 21 11V5L12 1M15.08 16L12 14.15L8.93 16L9.74 12.5L7.03 10.16L10.61 9.85L12 6.55L13.39 9.84L16.97 10.15L14.26 12.5L15.08 16Z" />'
|
|
394
|
+
},
|
|
395
|
+
shieldStarOutline: {
|
|
396
|
+
path: '<path d="M21 11C21 16.55 17.16 21.74 12 23C6.84 21.74 3 16.55 3 11V5L12 1L21 5V11M12 21C15.75 20 19 15.54 19 11.22V6.3L12 3.18L5 6.3V11.22C5 15.54 8.25 20 12 21M15.05 16L11.97 14.15L8.9 16L9.71 12.5L7 10.16L10.58 9.85L11.97 6.55L13.37 9.84L16.95 10.15L14.23 12.5L15.05 16" />'
|
|
397
|
+
},
|
|
398
|
+
shopping: {
|
|
399
|
+
path: '<path d="M12,13A5,5 0 0,1 7,8H9A3,3 0 0,0 12,11A3,3 0 0,0 15,8H17A5,5 0 0,1 12,13M12,3A3,3 0 0,1 15,6H9A3,3 0 0,1 12,3M19,6H17A5,5 0 0,0 12,1A5,5 0 0,0 7,6H5C3.89,6 3,6.89 3,8V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V8C21,6.89 20.1,6 19,6Z" />'
|
|
400
|
+
},
|
|
401
|
+
silverware: {
|
|
402
|
+
path: '<path d="M11,9H9V2H7V9H5V2H3V9C3,11.12 4.66,12.84 6.75,12.97V22H9.25V12.97C11.34,12.84 13,11.12 13,9V2H11V9M16,6V14H18.5V22H21V2C18.24,2 16,4.24 16,6Z" />'
|
|
403
|
+
},
|
|
404
|
+
spinnerDark: {
|
|
405
|
+
path: '<circle cx="12" cy="12" r="10" class="fill-white stroke-gray-300" stroke-width="4" /> <path d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" />'
|
|
406
|
+
},
|
|
407
|
+
spinnerLight: {
|
|
408
|
+
path: '<circle cx="12" cy="12" r="10" class="fill-[#e5e5e5] stroke-white" stroke-width="4" /> <path d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" />'
|
|
409
|
+
},
|
|
410
|
+
spray: {
|
|
411
|
+
path: '<path d="M10,4H12V6H10V4M7,3H9V5H7V3M7,6H9V8H7V6M6,8V10H4V8H6M6,5V7H4V5H6M6,2V4H4V2H6M13,22A2,2 0 0,1 11,20V10A2,2 0 0,1 13,8V7H14V4H17V7H18V8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H13M13,10V20H18V10H13Z" />'
|
|
412
|
+
},
|
|
413
|
+
squareFootOutline: {
|
|
414
|
+
path: '<path d="M17.66,17.66l-1.06,1.06l-0.71-0.71l1.06-1.06l-1.94-1.94l-1.06,1.06l-0.71-0.71l1.06-1.06l-1.94-1.94l-1.06,1.06 l-0.71-0.71l1.06-1.06L9.7,9.7l-1.06,1.06l-0.71-0.71l1.06-1.06L7.05,7.05L5.99,8.11L5.28,7.4l1.06-1.06L4,4v14c0,1.1,0.9,2,2,2 h14L17.66,17.66z M7,17v-5.76L12.76,17H7z"/>'
|
|
415
|
+
},
|
|
416
|
+
star: {
|
|
417
|
+
path: '<path d="M16.23,18L12,15.45L7.77,18L8.89,13.19L5.16,9.96L10.08,9.54L12,5L13.92,9.53L18.84,9.95L15.11,13.18L16.23,18M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" />'
|
|
418
|
+
},
|
|
419
|
+
starFill: {
|
|
420
|
+
path: '<path d="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z" />'
|
|
421
|
+
},
|
|
422
|
+
store: {
|
|
423
|
+
path: '<path d="M18.36 9L18.96 12H5.04L5.64 9H18.36M20 4H4V6H20V4M20 7H4L3 12V14H4V20H14V14H18V20H20V14H21V12L20 7M6 18V14H12V18H6Z" />'
|
|
424
|
+
},
|
|
425
|
+
storeMarker: {
|
|
426
|
+
path: '<path d="M20 6H4V4H20V6M14.3 12C13.5 12.96 13 14.18 13 15.5C13 16.64 13.43 17.86 14 19V20H4V14H3V12L4 7H20L20.7 10.5C20.04 10.18 19.32 10 18.56 10L18.36 9H5.64L5.04 12H14.3M12 14H6V18H12V14M22 15.5C22 18.1 18.5 22 18.5 22S15 18.1 15 15.5C15 13.6 16.6 12 18.5 12S22 13.6 22 15.5M19.7 15.6C19.7 15 19.1 14.4 18.5 14.4S17.3 14.9 17.3 15.6C17.3 16.2 17.8 16.8 18.5 16.8S19.8 16.2 19.7 15.6Z" />'
|
|
427
|
+
},
|
|
428
|
+
success: {
|
|
429
|
+
path: '<path fill="currentColor" d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z" />'
|
|
430
|
+
},
|
|
431
|
+
tableOfContents: {
|
|
432
|
+
path: '<path d="M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z" />'
|
|
433
|
+
},
|
|
434
|
+
tag: {
|
|
435
|
+
path: '<path d="M20,10V8h-4V4h-2v4h-4V4H8v4H4v2h4v4H4v2h4v4h2v-4h4v4h2v-4h4v-2h-4v-4H20z M14,14h-4v-4h4V14z"/>'
|
|
436
|
+
},
|
|
437
|
+
taxBuilding: {
|
|
438
|
+
path: '<path d="M5 17v-7h2v7Zm6 0v-7h2v7ZM2 8V6l10-5 10 5v2Zm4.475-2h11.05L12 3.25ZM2 21v-2h12.05q.05.525.125 1.012.075.488.225.988Zm15-7.75V10h2v2.25ZM20 24q-1.725-.425-2.862-1.988Q16 20.45 16 18.55V16l4-2 4 2v2.55q0 1.9-1.137 3.462Q21.725 23.575 20 24Zm-.725-3 3.475-3.45-1.05-1.05-2.425 2.375-.975-.975-1.05 1.075ZM6.475 6h11.05Z"/>'
|
|
439
|
+
},
|
|
440
|
+
thumbDown: {
|
|
441
|
+
path: '<path d="M19,15H23V3H19M15,3H6C5.17,3 4.46,3.5 4.16,4.22L1.14,11.27C1.05,11.5 1,11.74 1,12V14A2,2 0 0,0 3,16H9.31L8.36,20.57C8.34,20.67 8.33,20.77 8.33,20.88C8.33,21.3 8.5,21.67 8.77,21.94L9.83,23L16.41,16.41C16.78,16.05 17,15.55 17,15V5C17,3.89 16.1,3 15,3Z" />'
|
|
442
|
+
},
|
|
443
|
+
thumbUp: {
|
|
444
|
+
path: '<path d="M23,10C23,8.89 22.1,8 21,8H14.68L15.64,3.43C15.66,3.33 15.67,3.22 15.67,3.11C15.67,2.7 15.5,2.32 15.23,2.05L14.17,1L7.59,7.58C7.22,7.95 7,8.45 7,9V19A2,2 0 0,0 9,21H18C18.83,21 19.54,20.5 19.84,19.78L22.86,12.73C22.95,12.5 23,12.26 23,12V10M1,21H5V9H1V21Z" />'
|
|
445
|
+
},
|
|
446
|
+
tools: {
|
|
447
|
+
path: '<path d="M13.78 15.3L19.78 21.3L21.89 19.14L15.89 13.14L13.78 15.3M17.5 10.1C17.11 10.1 16.69 10.05 16.36 9.91L4.97 21.25L2.86 19.14L10.27 11.74L8.5 9.96L7.78 10.66L6.33 9.25V12.11L5.63 12.81L2.11 9.25L2.81 8.55H5.62L4.22 7.14L7.78 3.58C8.95 2.41 10.83 2.41 12 3.58L9.89 5.74L11.3 7.14L10.59 7.85L12.38 9.63L14.2 7.75C14.06 7.42 14 7 14 6.63C14 4.66 15.56 3.11 17.5 3.11C18.09 3.11 18.61 3.25 19.08 3.53L16.41 6.2L17.91 7.7L20.58 5.03C20.86 5.5 21 6 21 6.63C21 8.55 19.45 10.1 17.5 10.1Z" />'
|
|
448
|
+
},
|
|
449
|
+
tree: {
|
|
450
|
+
path: '<path d="M11,21V16.74C10.53,16.91 10.03,17 9.5,17C7,17 5,15 5,12.5C5,11.23 5.5,10.09 6.36,9.27C6.13,8.73 6,8.13 6,7.5C6,5 8,3 10.5,3C12.06,3 13.44,3.8 14.25,5C14.33,5 14.41,5 14.5,5A5.5,5.5 0 0,1 20,10.5A5.5,5.5 0 0,1 14.5,16C14,16 13.5,15.93 13,15.79V21H11Z" />'
|
|
451
|
+
},
|
|
452
|
+
twitter: {
|
|
453
|
+
path: '<path d="M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z" />'
|
|
454
|
+
},
|
|
455
|
+
user: {
|
|
456
|
+
path: '<path d="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6M12,13C14.67,13 20,14.33 20,17V20H4V17C4,14.33 9.33,13 12,13M12,14.9C9.03,14.9 5.9,16.36 5.9,17V18.1H18.1V17C18.1,16.36 14.97,14.9 12,14.9Z" />'
|
|
457
|
+
},
|
|
458
|
+
warning: {
|
|
459
|
+
path: '<path d="M1 21 12 2l11 19Zm3.45-2h15.1L12 6ZM12 18q.425 0 .713-.288Q13 17.425 13 17t-.287-.712Q12.425 16 12 16t-.712.288Q11 16.575 11 17t.288.712Q11.575 18 12 18Zm-1-3h2v-5h-2Zm1-2.5Z"/>'
|
|
460
|
+
},
|
|
461
|
+
warningAlert: {
|
|
462
|
+
path: '<path fill="currentColor" d="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"/>'
|
|
463
|
+
},
|
|
464
|
+
xCircle: {
|
|
465
|
+
path: '<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clip-rule="evenodd" />'
|
|
466
|
+
},
|
|
467
|
+
youtube: {
|
|
468
|
+
path: '<path d="M10,15L15.19,12L10,9V15M21.56,7.17C21.69,7.64 21.78,8.27 21.84,9.07C21.91,9.87 21.94,10.56 21.94,11.16L22,12C22,14.19 21.84,15.8 21.56,16.83C21.31,17.73 20.73,18.31 19.83,18.56C19.36,18.69 18.5,18.78 17.18,18.84C15.88,18.91 14.69,18.94 13.59,18.94L12,19C7.81,19 5.2,18.84 4.17,18.56C3.27,18.31 2.69,17.73 2.44,16.83C2.31,16.36 2.22,15.73 2.16,14.93C2.09,14.13 2.06,13.44 2.06,12.84L2,12C2,9.81 2.16,8.2 2.44,7.17C2.69,6.27 3.27,5.69 4.17,5.44C4.64,5.31 5.5,5.22 6.82,5.16C8.12,5.09 9.31,5.06 10.41,5.06L12,5C16.19,5 18.8,5.16 19.83,5.44C20.73,5.69 21.31,6.27 21.56,7.17Z" />'
|
|
469
|
+
},
|
|
470
|
+
chatBubble: {
|
|
471
|
+
path: '<path d="M12,3C17.5,3 22,6.58 22,11C22,15.42 17.5,19 12,19C10.76,19 9.57,18.82 8.47,18.5C5.55,21 2,21 2,21C4.33,18.67 4.7,17.1 4.75,16.5C3.05,15.07 2,13.13 2,11C2,6.58 6.5,3 12,3Z" />'
|
|
472
|
+
}
|
|
473
|
+
}, I = (d) => B[d], R = ({
|
|
474
|
+
color: d = "text-current",
|
|
475
|
+
className: e,
|
|
476
|
+
name: t,
|
|
477
|
+
size: a = "medium",
|
|
478
|
+
viewBox: n = "0 0 20 20"
|
|
479
|
+
}) => {
|
|
480
|
+
const r = I(t), [s, l] = Z(d), [o, c] = Z(r);
|
|
481
|
+
return S(() => {
|
|
482
|
+
c(r);
|
|
483
|
+
}, [r]), S(() => {
|
|
484
|
+
l(d);
|
|
485
|
+
}, [d]), !r && console.error("Icon does not exist", t), /* @__PURE__ */ i(
|
|
486
|
+
"svg",
|
|
487
|
+
{
|
|
488
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
489
|
+
className: `${F[a]} fill-current flex-shrink-0 ${s}${e ? ` ${e}` : ""}`,
|
|
490
|
+
style: { maxWidth: "4em" },
|
|
491
|
+
role: "presentation",
|
|
492
|
+
viewBox: n,
|
|
493
|
+
dangerouslySetInnerHTML: {
|
|
494
|
+
__html: o && o.path
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
);
|
|
498
|
+
}, b = A(R), P = ({
|
|
499
|
+
children: d,
|
|
500
|
+
className: e,
|
|
501
|
+
clickHandler: t,
|
|
502
|
+
panelClass: a,
|
|
503
|
+
title: n,
|
|
504
|
+
unmount: r = !0,
|
|
505
|
+
isOpen: s = !1
|
|
506
|
+
}) => {
|
|
507
|
+
const [l, o] = Z(s);
|
|
508
|
+
return /* @__PURE__ */ i("div", { className: m("shadow rounded-lg", e), children: /* @__PURE__ */ v(z, { children: [
|
|
509
|
+
/* @__PURE__ */ v(
|
|
510
|
+
"button",
|
|
511
|
+
{
|
|
512
|
+
type: "button",
|
|
513
|
+
"data-div-track": `report | accordion | ${n}`,
|
|
514
|
+
className: m(
|
|
515
|
+
"acc-a flex w-full justify-between items-center bg-gray-50 px-4 py-2 text-left font-medium text-slate-700 border border-gray-200 focus:outline-none focus-visible:ring focus-visible:ring-gray-500 focus-visible:ring-opacity-75",
|
|
516
|
+
{
|
|
517
|
+
"acc-o": l
|
|
518
|
+
}
|
|
519
|
+
),
|
|
520
|
+
title: n,
|
|
521
|
+
onClick: () => {
|
|
522
|
+
o(!l), t && t(!l);
|
|
523
|
+
},
|
|
524
|
+
children: [
|
|
525
|
+
/* @__PURE__ */ i("div", { className: "font-medium text-slate-700 sm-max:!text-base text-lg flex items-center", children: n }),
|
|
526
|
+
/* @__PURE__ */ i("span", { className: "ml-6 h-7 flex items-center", children: /* @__PURE__ */ i(
|
|
527
|
+
b,
|
|
528
|
+
{
|
|
529
|
+
name: "chevronDown",
|
|
530
|
+
size: "small",
|
|
531
|
+
className: "transition-all duration-75"
|
|
532
|
+
}
|
|
533
|
+
) })
|
|
534
|
+
]
|
|
535
|
+
}
|
|
536
|
+
),
|
|
537
|
+
r && l && /* @__PURE__ */ i(
|
|
538
|
+
"div",
|
|
539
|
+
{
|
|
540
|
+
className: m(
|
|
541
|
+
"acc-p p-4 border-x border-b rounded-bl-lg rounded-br-lg border-gray-200 relative",
|
|
542
|
+
a
|
|
543
|
+
),
|
|
544
|
+
children: d
|
|
545
|
+
}
|
|
546
|
+
),
|
|
547
|
+
!r && /* @__PURE__ */ i(
|
|
548
|
+
"div",
|
|
549
|
+
{
|
|
550
|
+
className: m(
|
|
551
|
+
"acc-p p-4 border-x border-b rounded-bl-lg rounded-br-lg border-gray-200 relative",
|
|
552
|
+
a,
|
|
553
|
+
{ hidden: !l }
|
|
554
|
+
),
|
|
555
|
+
children: d
|
|
556
|
+
}
|
|
557
|
+
)
|
|
558
|
+
] }) });
|
|
559
|
+
}, d1 = A(P), U = ({
|
|
560
|
+
children: d,
|
|
561
|
+
className: e = "",
|
|
562
|
+
messages: t = [],
|
|
563
|
+
title: a = "",
|
|
564
|
+
titleClass: n = "",
|
|
565
|
+
props: r = {},
|
|
566
|
+
type: s = "error"
|
|
567
|
+
}) => {
|
|
568
|
+
const l = {
|
|
569
|
+
error: {
|
|
570
|
+
icon: "error",
|
|
571
|
+
iconColor: "text-red-500",
|
|
572
|
+
styles: "bg-red-500/10 border-red-300 text-red-700"
|
|
573
|
+
},
|
|
574
|
+
info: {
|
|
575
|
+
icon: "info",
|
|
576
|
+
iconColor: "text-blue-500",
|
|
577
|
+
styles: "bg-blue-50 border-blue-300 text-blue-800"
|
|
578
|
+
},
|
|
579
|
+
success: {
|
|
580
|
+
icon: "success",
|
|
581
|
+
iconColor: "text-green-500",
|
|
582
|
+
styles: "bg-green-50 border-green-300 text-green-800"
|
|
583
|
+
},
|
|
584
|
+
warning: {
|
|
585
|
+
icon: "warningAlert",
|
|
586
|
+
iconColor: "text-yellow-500",
|
|
587
|
+
styles: "bg-yellow-50 border-yellow-300 text-yellow-700"
|
|
588
|
+
}
|
|
589
|
+
}, { icon: o, iconColor: c, styles: h } = l[s];
|
|
590
|
+
return /* @__PURE__ */ i(
|
|
591
|
+
"div",
|
|
592
|
+
{
|
|
593
|
+
id: s,
|
|
594
|
+
className: m(
|
|
595
|
+
"rounded w-full py-2 px-4 mb-4 border",
|
|
596
|
+
h,
|
|
597
|
+
e
|
|
598
|
+
),
|
|
599
|
+
...r,
|
|
600
|
+
children: /* @__PURE__ */ v("div", { className: "flex", children: [
|
|
601
|
+
/* @__PURE__ */ i("div", { className: "flex-shrink-0", children: /* @__PURE__ */ i(
|
|
602
|
+
b,
|
|
603
|
+
{
|
|
604
|
+
name: o,
|
|
605
|
+
viewBox: "0 0 24 24",
|
|
606
|
+
className: c,
|
|
607
|
+
size: "xSmall"
|
|
608
|
+
}
|
|
609
|
+
) }),
|
|
610
|
+
/* @__PURE__ */ v("div", { className: "ml-3", children: [
|
|
611
|
+
/* @__PURE__ */ i("div", { className: m("font-medium text-sm", n), children: a }),
|
|
612
|
+
t.length > 0 ? /* @__PURE__ */ i("div", { className: "mt-2 text-xs", children: /* @__PURE__ */ i("ul", { role: "list", className: "list-disc space-y-1 pl-5", children: t.map((p, C) => /* @__PURE__ */ i("li", { children: p }, C)) }) }) : ""
|
|
613
|
+
] })
|
|
614
|
+
] })
|
|
615
|
+
}
|
|
616
|
+
);
|
|
617
|
+
}, h1 = A(U), u1 = ({
|
|
618
|
+
autoFocus: d = !1,
|
|
619
|
+
required: e = !1,
|
|
620
|
+
className: t = "",
|
|
621
|
+
defaultValue: a = "",
|
|
622
|
+
id: n = "",
|
|
623
|
+
type: r,
|
|
624
|
+
floatingLabel: s = "",
|
|
625
|
+
inputClass: l = "",
|
|
626
|
+
leftIcon: o = "homeSearch",
|
|
627
|
+
mobileBackdrop: c = !1,
|
|
628
|
+
showSearchIcon: h = !0,
|
|
629
|
+
options: p = [],
|
|
630
|
+
name: C = "",
|
|
631
|
+
placeholder: f = "",
|
|
632
|
+
props: y = {},
|
|
633
|
+
size: M = "medium",
|
|
634
|
+
styles: u = null,
|
|
635
|
+
title: V = ""
|
|
636
|
+
}) => /* @__PURE__ */ v(
|
|
637
|
+
"div",
|
|
638
|
+
{
|
|
639
|
+
id: n,
|
|
640
|
+
"data-search": "container",
|
|
641
|
+
"data-search-type": r,
|
|
642
|
+
className: m("Autocomplete", t),
|
|
643
|
+
style: u ? { ...u } : null,
|
|
644
|
+
children: [
|
|
645
|
+
h && /* @__PURE__ */ v(
|
|
646
|
+
"span",
|
|
647
|
+
{
|
|
648
|
+
className: m(
|
|
649
|
+
"search-icon-left absolute inset-y-0 left-0 flex items-center pl-2",
|
|
650
|
+
{
|
|
651
|
+
"pointer-events-none": c
|
|
652
|
+
}
|
|
653
|
+
),
|
|
654
|
+
children: [
|
|
655
|
+
/* @__PURE__ */ i(
|
|
656
|
+
b,
|
|
657
|
+
{
|
|
658
|
+
className: "home-search select-none text-gray-500",
|
|
659
|
+
name: o,
|
|
660
|
+
size: M === "xLarge" ? "small" : "xSmall",
|
|
661
|
+
viewBox: "0 0 24 24"
|
|
662
|
+
}
|
|
663
|
+
),
|
|
664
|
+
/* @__PURE__ */ i(
|
|
665
|
+
b,
|
|
666
|
+
{
|
|
667
|
+
className: "arrow-left select-none text-gray-500 hidden",
|
|
668
|
+
name: "arrowLeft",
|
|
669
|
+
size: M === "xLarge" ? "small" : "xSmall",
|
|
670
|
+
viewBox: "0 0 24 24"
|
|
671
|
+
}
|
|
672
|
+
)
|
|
673
|
+
]
|
|
674
|
+
}
|
|
675
|
+
),
|
|
676
|
+
/* @__PURE__ */ i(
|
|
677
|
+
"input",
|
|
678
|
+
{
|
|
679
|
+
"data-lpignore": "true",
|
|
680
|
+
autoFocus: d,
|
|
681
|
+
className: m(
|
|
682
|
+
"w-full bg-white placeholder:bg-white rounded border border-gray-300 py-2 pr-8 shadow-sm focus:outline-none sm-max:text-sm placeholder:text-gray-500 sm-max:placeholder:text-sm placeholder-shown:text-ellipsis truncate",
|
|
683
|
+
{
|
|
684
|
+
"pl-8": h === !0,
|
|
685
|
+
"px-3 h-10": M === "medium",
|
|
686
|
+
"px-4 h-12": M === "large",
|
|
687
|
+
"px-5 h-[60px] sm:!text-base": M === "xLarge",
|
|
688
|
+
peer: s
|
|
689
|
+
},
|
|
690
|
+
l
|
|
691
|
+
),
|
|
692
|
+
required: e,
|
|
693
|
+
autoComplete: "off",
|
|
694
|
+
value: a,
|
|
695
|
+
placeholder: !f && s ? " " : f,
|
|
696
|
+
type: "search",
|
|
697
|
+
name: C || "search-input",
|
|
698
|
+
"data-id": "search-input",
|
|
699
|
+
...y
|
|
700
|
+
}
|
|
701
|
+
),
|
|
702
|
+
s && /* @__PURE__ */ i(
|
|
703
|
+
"label",
|
|
704
|
+
{
|
|
705
|
+
className: m(
|
|
706
|
+
"floating-label absolute text-sm !normal-case text-gray-500 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-focus:text-[#222] peer-focus:px-2 peer-focus:bg-white peer-placeholder-shown:bg-white peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 pointer-events-none",
|
|
707
|
+
{
|
|
708
|
+
"!left-7": h === !0,
|
|
709
|
+
"left-2": M === "medium",
|
|
710
|
+
"left-3": M === "large",
|
|
711
|
+
"left-4": M === "xLarge"
|
|
712
|
+
}
|
|
713
|
+
),
|
|
714
|
+
children: s
|
|
715
|
+
}
|
|
716
|
+
),
|
|
717
|
+
/* @__PURE__ */ i(
|
|
718
|
+
"span",
|
|
719
|
+
{
|
|
720
|
+
"data-id": "search-clear",
|
|
721
|
+
className: "clear-btn absolute inset-y-0 right-0 flex items-center px-2 hidden",
|
|
722
|
+
children: /* @__PURE__ */ i(
|
|
723
|
+
b,
|
|
724
|
+
{
|
|
725
|
+
className: "cursor-pointer text-gray-500",
|
|
726
|
+
name: "xCircle",
|
|
727
|
+
size: "xSmall",
|
|
728
|
+
viewBox: "0 0 20 20"
|
|
729
|
+
}
|
|
730
|
+
)
|
|
731
|
+
}
|
|
732
|
+
),
|
|
733
|
+
/* @__PURE__ */ i(
|
|
734
|
+
"span",
|
|
735
|
+
{
|
|
736
|
+
"data-id": "search-loading",
|
|
737
|
+
className: "absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none hidden",
|
|
738
|
+
children: /* @__PURE__ */ i(
|
|
739
|
+
b,
|
|
740
|
+
{
|
|
741
|
+
className: "animate-spin text-[#222]] pointer-events-none",
|
|
742
|
+
name: "spinnerDark",
|
|
743
|
+
size: "xSmall",
|
|
744
|
+
viewBox: "0 0 24 24"
|
|
745
|
+
}
|
|
746
|
+
)
|
|
747
|
+
}
|
|
748
|
+
),
|
|
749
|
+
/* @__PURE__ */ v(
|
|
750
|
+
"div",
|
|
751
|
+
{
|
|
752
|
+
"data-id": "search-dropdown",
|
|
753
|
+
className: "dropdown absolute z-[15] w-full bg-white shadow-lg max-h-56 rounded-bl rounded-br py-1 overflow-auto focus:outline-none sm:text-sm sm:custom-scrollbar border-x border-b border-gray-300 hidden",
|
|
754
|
+
children: [
|
|
755
|
+
/* @__PURE__ */ i("div", { "data-id": "search-dropdown-header" }),
|
|
756
|
+
/* @__PURE__ */ i(
|
|
757
|
+
"ul",
|
|
758
|
+
{
|
|
759
|
+
"data-id": "search-dropdown-body",
|
|
760
|
+
role: "listbox",
|
|
761
|
+
"data-title": V,
|
|
762
|
+
"aria-labelledby": "Label",
|
|
763
|
+
"aria-activedescendant": "search-item-0",
|
|
764
|
+
children: p.length > 0 ? p.map((w, g) => /* @__PURE__ */ i(
|
|
765
|
+
"li",
|
|
766
|
+
{
|
|
767
|
+
id: `search-item-${g}`,
|
|
768
|
+
tabIndex: -1,
|
|
769
|
+
className: "dropdown-item text-gray-900 cursor-default select-none py-2 pl-3 pr-4 truncate hover:bg-gray-50 font-normal focus:bg-gray-50 focus:text-green-400 focus-visible:outline-0",
|
|
770
|
+
"aria-selected": g === 0,
|
|
771
|
+
role: "option",
|
|
772
|
+
children: (w == null ? void 0 : w.name) || w
|
|
773
|
+
},
|
|
774
|
+
`search-item-${g}`
|
|
775
|
+
)) : ""
|
|
776
|
+
}
|
|
777
|
+
)
|
|
778
|
+
]
|
|
779
|
+
}
|
|
780
|
+
)
|
|
781
|
+
]
|
|
782
|
+
}
|
|
783
|
+
), p1 = ({
|
|
784
|
+
children: d,
|
|
785
|
+
className: e = "",
|
|
786
|
+
size: t = "sm",
|
|
787
|
+
tag: a = "span"
|
|
788
|
+
}) => /* @__PURE__ */ i(
|
|
789
|
+
a || "span",
|
|
790
|
+
{
|
|
791
|
+
className: m(
|
|
792
|
+
" bg-gray-200 font-semibold py-1 px-2 rounded-md",
|
|
793
|
+
{
|
|
794
|
+
"text-sm": t === "sm",
|
|
795
|
+
"text-xs": t === "xs",
|
|
796
|
+
"text-xxs !py-0.5 !px-1.5": t === "xxs"
|
|
797
|
+
},
|
|
798
|
+
e
|
|
799
|
+
),
|
|
800
|
+
children: d
|
|
801
|
+
}
|
|
802
|
+
), W = ({
|
|
803
|
+
children: d,
|
|
804
|
+
className: e = "",
|
|
805
|
+
disabled: t = !1,
|
|
806
|
+
href: a,
|
|
807
|
+
props: n = {},
|
|
808
|
+
rounded: r = !1,
|
|
809
|
+
type: s = "button",
|
|
810
|
+
uppercase: l = !1,
|
|
811
|
+
variation: o = "primary"
|
|
812
|
+
}) => {
|
|
813
|
+
const c = a ? "a" : "button";
|
|
814
|
+
return /* @__PURE__ */ i(
|
|
815
|
+
c,
|
|
816
|
+
{
|
|
817
|
+
type: c !== "a" ? s : null,
|
|
818
|
+
className: m(
|
|
819
|
+
"Button",
|
|
820
|
+
{
|
|
821
|
+
"Button--primary": o === "primary",
|
|
822
|
+
"Button--secondary": o === "secondary",
|
|
823
|
+
"Button--rounded": r,
|
|
824
|
+
"Button--icon": o === "icon",
|
|
825
|
+
"Button--link": o === "link",
|
|
826
|
+
"Button--disabled": t,
|
|
827
|
+
"custom-link": a
|
|
828
|
+
},
|
|
829
|
+
l,
|
|
830
|
+
e
|
|
831
|
+
),
|
|
832
|
+
disabled: t,
|
|
833
|
+
href: a,
|
|
834
|
+
...n,
|
|
835
|
+
children: d
|
|
836
|
+
}
|
|
837
|
+
);
|
|
838
|
+
}, m1 = A(W), V1 = ({ children: d, className: e }) => /* @__PURE__ */ i("div", { className: m("flex md:max-w-min border border-gray-300 divide-x divide-gray-200 rounded-lg", e), children: d }), H1 = ({
|
|
839
|
+
block: d = !1,
|
|
840
|
+
borderless: e = !1,
|
|
841
|
+
children: t,
|
|
842
|
+
className: a = "",
|
|
843
|
+
divider: n = !0,
|
|
844
|
+
inset: r = !0,
|
|
845
|
+
id: s = null,
|
|
846
|
+
role: l = null
|
|
847
|
+
}) => /* @__PURE__ */ i(
|
|
848
|
+
"div",
|
|
849
|
+
{
|
|
850
|
+
className: m(
|
|
851
|
+
"bg-white",
|
|
852
|
+
{
|
|
853
|
+
f1: !e,
|
|
854
|
+
f2: d,
|
|
855
|
+
f3: n,
|
|
856
|
+
f4: r
|
|
857
|
+
},
|
|
858
|
+
a
|
|
859
|
+
),
|
|
860
|
+
id: s,
|
|
861
|
+
role: l,
|
|
862
|
+
children: t
|
|
863
|
+
}
|
|
864
|
+
), Q = ({
|
|
865
|
+
checked: d = !1,
|
|
866
|
+
children: e,
|
|
867
|
+
className: t = "",
|
|
868
|
+
error: a = !1,
|
|
869
|
+
id: n = "",
|
|
870
|
+
label: r = "",
|
|
871
|
+
name: s = "",
|
|
872
|
+
props: l = {},
|
|
873
|
+
variation: o = "primary",
|
|
874
|
+
value: c = ""
|
|
875
|
+
}) => {
|
|
876
|
+
const h = r ? "div" : "label", p = h === "label" ? { htmlFor: n } : {};
|
|
877
|
+
return /* @__PURE__ */ v(
|
|
878
|
+
h,
|
|
879
|
+
{
|
|
880
|
+
className: m("checkbox flex items-center", o, t),
|
|
881
|
+
...p,
|
|
882
|
+
children: [
|
|
883
|
+
/* @__PURE__ */ i(
|
|
884
|
+
"input",
|
|
885
|
+
{
|
|
886
|
+
checked: d,
|
|
887
|
+
className: m("form-checkbox ", {
|
|
888
|
+
"!border-red-500 !bg-red-500 focus:!ring-red-500 focus:!border-red-500": a
|
|
889
|
+
}),
|
|
890
|
+
id: n,
|
|
891
|
+
name: s,
|
|
892
|
+
type: "checkbox",
|
|
893
|
+
value: c,
|
|
894
|
+
...l
|
|
895
|
+
}
|
|
896
|
+
),
|
|
897
|
+
e
|
|
898
|
+
]
|
|
899
|
+
}
|
|
900
|
+
);
|
|
901
|
+
}, L1 = A(Q), J = ({ children: d, aside: e, direction: t = "right" }) => /* @__PURE__ */ v("div", { className: "flex flex-col lg:flex-row lg:p-0 max-w-screen-lg", children: [
|
|
902
|
+
/* @__PURE__ */ i(
|
|
903
|
+
"main",
|
|
904
|
+
{
|
|
905
|
+
className: m(
|
|
906
|
+
"w-full md:mb-0 flex-1 md:block lg:max-w-container",
|
|
907
|
+
{
|
|
908
|
+
"lg:order-2": t === "left"
|
|
909
|
+
}
|
|
910
|
+
),
|
|
911
|
+
children: d
|
|
912
|
+
}
|
|
913
|
+
),
|
|
914
|
+
/* @__PURE__ */ i(
|
|
915
|
+
"aside",
|
|
916
|
+
{
|
|
917
|
+
className: m(
|
|
918
|
+
"sm-max:hidden md:hidden lg:block flex-1 max-w-aside mb-6 md:mb-0 empty:!hidden",
|
|
919
|
+
{
|
|
920
|
+
"md:ml-8": t === "right",
|
|
921
|
+
"md:mr-8": t === "left"
|
|
922
|
+
}
|
|
923
|
+
),
|
|
924
|
+
children: e
|
|
925
|
+
}
|
|
926
|
+
)
|
|
927
|
+
] }), C1 = A(J), G = ({
|
|
928
|
+
activator: d,
|
|
929
|
+
id: e = "",
|
|
930
|
+
children: t,
|
|
931
|
+
className: a = "",
|
|
932
|
+
contentClass: n = "",
|
|
933
|
+
dark: r = !1,
|
|
934
|
+
footer: s,
|
|
935
|
+
fullMobile: l = !0,
|
|
936
|
+
headerClass: o = "",
|
|
937
|
+
hideClose: c = !1,
|
|
938
|
+
iconSize: h = "medium",
|
|
939
|
+
preventPageScroll: p = !0,
|
|
940
|
+
stickyHeader: C = !1,
|
|
941
|
+
title: f = "",
|
|
942
|
+
titleClass: y = ""
|
|
943
|
+
}) => /* @__PURE__ */ v(z, { children: [
|
|
944
|
+
d && /* @__PURE__ */ i("span", { id: `${e}-dialog-activator`, children: d }),
|
|
945
|
+
/* @__PURE__ */ i(
|
|
946
|
+
"dialog",
|
|
947
|
+
{
|
|
948
|
+
inert: "",
|
|
949
|
+
id: `${e}-dialog`,
|
|
950
|
+
className: m(
|
|
951
|
+
"dialog",
|
|
952
|
+
{
|
|
953
|
+
"dialog-full-mobile": l,
|
|
954
|
+
dark: r,
|
|
955
|
+
"prevent-scroll": p
|
|
956
|
+
},
|
|
957
|
+
a
|
|
958
|
+
),
|
|
959
|
+
children: /* @__PURE__ */ v("form", { method: "dialog", children: [
|
|
960
|
+
/* @__PURE__ */ v(
|
|
961
|
+
"header",
|
|
962
|
+
{
|
|
963
|
+
className: m(
|
|
964
|
+
"dialog-header flex items-center p-4",
|
|
965
|
+
{
|
|
966
|
+
"sticky top-0 bg-white z-10": C,
|
|
967
|
+
"!pb-0 border-0 justify-end": !f,
|
|
968
|
+
"justify-between border-b": f
|
|
969
|
+
},
|
|
970
|
+
o
|
|
971
|
+
),
|
|
972
|
+
children: [
|
|
973
|
+
f && /* @__PURE__ */ i("h3", { id: `${e}-dialog-title`, className: y, children: f }),
|
|
974
|
+
!c && /* @__PURE__ */ i(
|
|
975
|
+
"button",
|
|
976
|
+
{
|
|
977
|
+
type: "button",
|
|
978
|
+
title: "Close",
|
|
979
|
+
className: "dialog-close",
|
|
980
|
+
"data-dialog-close": "",
|
|
981
|
+
value: "close",
|
|
982
|
+
children: /* @__PURE__ */ i(
|
|
983
|
+
b,
|
|
984
|
+
{
|
|
985
|
+
name: "close",
|
|
986
|
+
size: h,
|
|
987
|
+
className: "pointer-events-none"
|
|
988
|
+
}
|
|
989
|
+
)
|
|
990
|
+
}
|
|
991
|
+
)
|
|
992
|
+
]
|
|
993
|
+
}
|
|
994
|
+
),
|
|
995
|
+
/* @__PURE__ */ i(
|
|
996
|
+
"div",
|
|
997
|
+
{
|
|
998
|
+
id: `${e}-dialog-content`,
|
|
999
|
+
className: m("dialog-content", n),
|
|
1000
|
+
children: t
|
|
1001
|
+
}
|
|
1002
|
+
),
|
|
1003
|
+
s && /* @__PURE__ */ i("footer", { id: `${e}-dialog-footer`, className: "dialog-footer", children: s })
|
|
1004
|
+
] })
|
|
1005
|
+
}
|
|
1006
|
+
)
|
|
1007
|
+
] }), M1 = A(G), K = ({
|
|
1008
|
+
activator: d,
|
|
1009
|
+
id: e = "",
|
|
1010
|
+
children: t,
|
|
1011
|
+
className: a = "",
|
|
1012
|
+
contentClass: n = "",
|
|
1013
|
+
onClose: r,
|
|
1014
|
+
disableOutsideClick: s = !1,
|
|
1015
|
+
footer: l,
|
|
1016
|
+
fullMobile: o = !0,
|
|
1017
|
+
headerClass: c = "",
|
|
1018
|
+
hideClose: h = !1,
|
|
1019
|
+
iconSize: p = "medium",
|
|
1020
|
+
isOpen: C = !1,
|
|
1021
|
+
setDialogOpen: f,
|
|
1022
|
+
stickyHeader: y = !1,
|
|
1023
|
+
title: M = "",
|
|
1024
|
+
titleClass: u = ""
|
|
1025
|
+
}) => {
|
|
1026
|
+
const V = q(null), w = async () => {
|
|
1027
|
+
V.current.classList.add("closing"), await D(V.current), V.current.classList.remove("closing"), r && r(), f(!1);
|
|
1028
|
+
}, g = async (x) => {
|
|
1029
|
+
x.key === "Escape" && await w();
|
|
1030
|
+
}, N = async ({ clientX: x, clientY: k, target: T }) => {
|
|
1031
|
+
const { left: O, right: E, top: $, bottom: j } = V.current.getBoundingClientRect() ?? {};
|
|
1032
|
+
(!V.current.contains(T) || x < O || x > E || k < $ || k > j) && await w();
|
|
1033
|
+
}, D = (x) => Promise.allSettled(
|
|
1034
|
+
x.getAnimations().map((k) => k.finished)
|
|
1035
|
+
);
|
|
1036
|
+
return S(() => {
|
|
1037
|
+
const x = V.current;
|
|
1038
|
+
x && (C ? x.showModal() : typeof x.close == "function" && x.close());
|
|
1039
|
+
}, [C]), /* @__PURE__ */ v(z, { children: [
|
|
1040
|
+
d && /* @__PURE__ */ i("span", { id: `${e}-dialog-activator`, onClick: () => f(!0), children: d }),
|
|
1041
|
+
/* @__PURE__ */ v(
|
|
1042
|
+
"dialog",
|
|
1043
|
+
{
|
|
1044
|
+
ref: V,
|
|
1045
|
+
id: `${e}-dialog`,
|
|
1046
|
+
className: m(
|
|
1047
|
+
"dialog",
|
|
1048
|
+
{
|
|
1049
|
+
hidden: !C,
|
|
1050
|
+
"xs-max:h-full xs-max:max-h-full": o
|
|
1051
|
+
},
|
|
1052
|
+
a
|
|
1053
|
+
),
|
|
1054
|
+
onKeyDown: g,
|
|
1055
|
+
onClick: (x) => s ? null : N(x),
|
|
1056
|
+
children: [
|
|
1057
|
+
/* @__PURE__ */ v(
|
|
1058
|
+
"header",
|
|
1059
|
+
{
|
|
1060
|
+
className: m(
|
|
1061
|
+
"dialog-header flex items-center p-4",
|
|
1062
|
+
{ "sticky top-0 bg-white": y },
|
|
1063
|
+
c
|
|
1064
|
+
),
|
|
1065
|
+
children: [
|
|
1066
|
+
/* @__PURE__ */ i("h3", { id: `${e}-dialog-title`, className: u, children: M || "" }),
|
|
1067
|
+
!h && /* @__PURE__ */ i(
|
|
1068
|
+
"button",
|
|
1069
|
+
{
|
|
1070
|
+
type: "button",
|
|
1071
|
+
title: "Close",
|
|
1072
|
+
className: "dialog-close",
|
|
1073
|
+
"data-dialog-close": "",
|
|
1074
|
+
onClick: w,
|
|
1075
|
+
children: /* @__PURE__ */ i(
|
|
1076
|
+
b,
|
|
1077
|
+
{
|
|
1078
|
+
name: "close",
|
|
1079
|
+
size: p,
|
|
1080
|
+
className: "pointer-events-none"
|
|
1081
|
+
}
|
|
1082
|
+
)
|
|
1083
|
+
}
|
|
1084
|
+
)
|
|
1085
|
+
]
|
|
1086
|
+
}
|
|
1087
|
+
),
|
|
1088
|
+
/* @__PURE__ */ i(
|
|
1089
|
+
"div",
|
|
1090
|
+
{
|
|
1091
|
+
id: `${e}-dialog-content`,
|
|
1092
|
+
className: m("dialog-content p-4", n),
|
|
1093
|
+
children: t
|
|
1094
|
+
}
|
|
1095
|
+
),
|
|
1096
|
+
l && /* @__PURE__ */ i(
|
|
1097
|
+
"footer",
|
|
1098
|
+
{
|
|
1099
|
+
id: `${e}-dialog-footer`,
|
|
1100
|
+
className: "dialog-footer flex justify-between items-center p-4 border-t",
|
|
1101
|
+
children: l
|
|
1102
|
+
}
|
|
1103
|
+
)
|
|
1104
|
+
]
|
|
1105
|
+
}
|
|
1106
|
+
)
|
|
1107
|
+
] });
|
|
1108
|
+
}, f1 = A(K), g1 = ({ className: d = "" }) => /* @__PURE__ */ v("div", { id: "dots", className: m("mx-auto", d), children: [
|
|
1109
|
+
/* @__PURE__ */ i("span", { style: { animationDelay: "0.1s" } }),
|
|
1110
|
+
/* @__PURE__ */ i("span", { style: { animationDelay: "0.2s" } }),
|
|
1111
|
+
/* @__PURE__ */ i("span", { style: { animationDelay: "0.3s" } }),
|
|
1112
|
+
/* @__PURE__ */ i("span", { style: { animationDelay: "0.4s" } }),
|
|
1113
|
+
/* @__PURE__ */ i("span", { style: { animationDelay: "0.5s" } }),
|
|
1114
|
+
/* @__PURE__ */ i("span", { style: { animationDelay: "0.6s" } }),
|
|
1115
|
+
/* @__PURE__ */ i("span", { style: { animationDelay: "0.7s" } }),
|
|
1116
|
+
/* @__PURE__ */ i("span", { style: { animationDelay: "0.8s" } })
|
|
1117
|
+
] }), Y = ({
|
|
1118
|
+
cb: d,
|
|
1119
|
+
className: e = "",
|
|
1120
|
+
size: t = "md",
|
|
1121
|
+
timeout: a = 1e4,
|
|
1122
|
+
variation: n = "primary"
|
|
1123
|
+
}) => {
|
|
1124
|
+
function r({ cb: s }) {
|
|
1125
|
+
const l = document.querySelector(".loading-bar--inner");
|
|
1126
|
+
if (!l) return;
|
|
1127
|
+
let o, c, h = !1;
|
|
1128
|
+
function p(C) {
|
|
1129
|
+
o === void 0 && (o = C);
|
|
1130
|
+
const f = C - o;
|
|
1131
|
+
if (c !== C) {
|
|
1132
|
+
const y = f / a * 101;
|
|
1133
|
+
l.style.width = `${y}%`, y >= 101 && (s && s(), h = !0, window.cancelAnimationFrame(C));
|
|
1134
|
+
}
|
|
1135
|
+
f < a && (c = C, h || window.requestAnimationFrame(p));
|
|
1136
|
+
}
|
|
1137
|
+
window.requestAnimationFrame(p);
|
|
1138
|
+
}
|
|
1139
|
+
return S(() => {
|
|
1140
|
+
r({ cb: d });
|
|
1141
|
+
}, []), /* @__PURE__ */ i(
|
|
1142
|
+
"div",
|
|
1143
|
+
{
|
|
1144
|
+
className: m(
|
|
1145
|
+
"loading-bar my-8",
|
|
1146
|
+
`loading-bar--${n}`,
|
|
1147
|
+
{
|
|
1148
|
+
"h-4": t === "md",
|
|
1149
|
+
"h-6": t === "lg",
|
|
1150
|
+
"h-8": t === "xl"
|
|
1151
|
+
},
|
|
1152
|
+
`loading-bar--${t}`,
|
|
1153
|
+
e
|
|
1154
|
+
),
|
|
1155
|
+
children: /* @__PURE__ */ i("div", { className: "loading-bar--inner", "data-size": "100" })
|
|
1156
|
+
}
|
|
1157
|
+
);
|
|
1158
|
+
}, v1 = A(Y), X = {
|
|
1159
|
+
name: "spinnerDark",
|
|
1160
|
+
color: "text-teal-700",
|
|
1161
|
+
viewBox: "0 0 24 24"
|
|
1162
|
+
}, _ = ({ className: d = "" }) => /* @__PURE__ */ i("div", { className: "rounded-r-md px-2 focus:outline-none", children: /* @__PURE__ */ i(
|
|
1163
|
+
b,
|
|
1164
|
+
{
|
|
1165
|
+
size: "xSmall",
|
|
1166
|
+
...X,
|
|
1167
|
+
className: `animate-spin ${d}`
|
|
1168
|
+
}
|
|
1169
|
+
) }), A1 = A(_), y1 = ({
|
|
1170
|
+
activator: d,
|
|
1171
|
+
activatorClass: e = "",
|
|
1172
|
+
attrs: t = {},
|
|
1173
|
+
options: a = {},
|
|
1174
|
+
children: n,
|
|
1175
|
+
className: r = "",
|
|
1176
|
+
containerClass: s = "",
|
|
1177
|
+
disabled: l = !1,
|
|
1178
|
+
id: o = "",
|
|
1179
|
+
trigger: c = "click"
|
|
1180
|
+
}) => /* @__PURE__ */ v(z, { children: [
|
|
1181
|
+
/* @__PURE__ */ i(
|
|
1182
|
+
"div",
|
|
1183
|
+
{
|
|
1184
|
+
className: m("popover z-10 max-w-[350px] hidden", r),
|
|
1185
|
+
children: /* @__PURE__ */ v(
|
|
1186
|
+
"div",
|
|
1187
|
+
{
|
|
1188
|
+
className: m(
|
|
1189
|
+
"popover-container rounded border bg-gray-50 border-gray-300 shadow-md text-gray-500 animate-menu-close",
|
|
1190
|
+
s
|
|
1191
|
+
),
|
|
1192
|
+
children: [
|
|
1193
|
+
n,
|
|
1194
|
+
/* @__PURE__ */ i(
|
|
1195
|
+
"div",
|
|
1196
|
+
{
|
|
1197
|
+
className: "absolute w-4 h-4 before:content-[''] before:absolute before:w-4 before:h-4 before:visible before:transform before:rotate-45",
|
|
1198
|
+
"data-popper-arrow": ""
|
|
1199
|
+
}
|
|
1200
|
+
)
|
|
1201
|
+
]
|
|
1202
|
+
}
|
|
1203
|
+
)
|
|
1204
|
+
}
|
|
1205
|
+
),
|
|
1206
|
+
/* @__PURE__ */ i(
|
|
1207
|
+
"div",
|
|
1208
|
+
{
|
|
1209
|
+
className: m(
|
|
1210
|
+
"popover-activator",
|
|
1211
|
+
`trigger-${c}`,
|
|
1212
|
+
l ? "is-disabled" : "",
|
|
1213
|
+
e
|
|
1214
|
+
),
|
|
1215
|
+
...t,
|
|
1216
|
+
"data-options": JSON.stringify(a),
|
|
1217
|
+
children: d
|
|
1218
|
+
}
|
|
1219
|
+
)
|
|
1220
|
+
] }), e1 = ({
|
|
1221
|
+
ariaValuemax: d = 100,
|
|
1222
|
+
ariaValuemin: e = 0,
|
|
1223
|
+
bgColor: t = "bg-orange-500",
|
|
1224
|
+
className: a,
|
|
1225
|
+
completed: n = 0,
|
|
1226
|
+
maxCompleted: r = 100,
|
|
1227
|
+
rounded: s = !0,
|
|
1228
|
+
showLabel: l = !1
|
|
1229
|
+
}) => {
|
|
1230
|
+
const c = ((h, p) => {
|
|
1231
|
+
if (h) {
|
|
1232
|
+
const C = Number(p) / h;
|
|
1233
|
+
return C > 1 ? 100 : C * 100;
|
|
1234
|
+
}
|
|
1235
|
+
return n;
|
|
1236
|
+
})(r, n);
|
|
1237
|
+
return /* @__PURE__ */ i(
|
|
1238
|
+
"div",
|
|
1239
|
+
{
|
|
1240
|
+
className: m(
|
|
1241
|
+
"w-full bg-gray-200",
|
|
1242
|
+
{ "rounded-full": s },
|
|
1243
|
+
a
|
|
1244
|
+
),
|
|
1245
|
+
role: "progressbar",
|
|
1246
|
+
"aria-label": "Progress Bar",
|
|
1247
|
+
"aria-valuenow": n,
|
|
1248
|
+
"aria-valuemin": e,
|
|
1249
|
+
"aria-valuemax": d,
|
|
1250
|
+
children: /* @__PURE__ */ i(
|
|
1251
|
+
"div",
|
|
1252
|
+
{
|
|
1253
|
+
className: m(
|
|
1254
|
+
"h-full text-right flex items-center justify-end rounded-full",
|
|
1255
|
+
t
|
|
1256
|
+
),
|
|
1257
|
+
style: { width: `${c}%` },
|
|
1258
|
+
children: l && /* @__PURE__ */ i("span", { className: "font-bold text-white text-xs mr-2", children: Math.round(c) })
|
|
1259
|
+
}
|
|
1260
|
+
)
|
|
1261
|
+
}
|
|
1262
|
+
);
|
|
1263
|
+
}, b1 = A(e1), t1 = ({
|
|
1264
|
+
checked: d = !1,
|
|
1265
|
+
children: e,
|
|
1266
|
+
className: t = "",
|
|
1267
|
+
id: a = "",
|
|
1268
|
+
label: n = "",
|
|
1269
|
+
name: r = "",
|
|
1270
|
+
props: s = {},
|
|
1271
|
+
variation: l = "primary",
|
|
1272
|
+
value: o = ""
|
|
1273
|
+
}) => {
|
|
1274
|
+
const c = n ? "div" : "label", h = c === "label" ? { htmlFor: a } : {};
|
|
1275
|
+
return /* @__PURE__ */ v(
|
|
1276
|
+
c,
|
|
1277
|
+
{
|
|
1278
|
+
className: m("radio flex items-center", t),
|
|
1279
|
+
...h,
|
|
1280
|
+
children: [
|
|
1281
|
+
/* @__PURE__ */ i(
|
|
1282
|
+
"input",
|
|
1283
|
+
{
|
|
1284
|
+
checked: d,
|
|
1285
|
+
className: m(
|
|
1286
|
+
"form-radio focus:ring-2 focus:ring-offset-2 focus-within:outline-none",
|
|
1287
|
+
{
|
|
1288
|
+
"focus:ring-[#222]": l === "primary"
|
|
1289
|
+
}
|
|
1290
|
+
),
|
|
1291
|
+
id: a,
|
|
1292
|
+
name: r,
|
|
1293
|
+
type: "radio",
|
|
1294
|
+
value: o,
|
|
1295
|
+
...s
|
|
1296
|
+
}
|
|
1297
|
+
),
|
|
1298
|
+
e
|
|
1299
|
+
]
|
|
1300
|
+
}
|
|
1301
|
+
);
|
|
1302
|
+
}, w1 = A(t1), a1 = ({
|
|
1303
|
+
children: d,
|
|
1304
|
+
className: e = "",
|
|
1305
|
+
error: t = !1,
|
|
1306
|
+
errorMessage: a = "",
|
|
1307
|
+
id: n = "",
|
|
1308
|
+
label: r = "",
|
|
1309
|
+
name: s = "",
|
|
1310
|
+
options: l = [],
|
|
1311
|
+
placeholder: o = "",
|
|
1312
|
+
props: c = {},
|
|
1313
|
+
selectClass: h = "",
|
|
1314
|
+
styles: p = null,
|
|
1315
|
+
variation: C = "primary",
|
|
1316
|
+
value: f
|
|
1317
|
+
}) => {
|
|
1318
|
+
const y = o ? { defaultValue: "" } : {};
|
|
1319
|
+
return /* @__PURE__ */ v(
|
|
1320
|
+
"label",
|
|
1321
|
+
{
|
|
1322
|
+
className: m("relative select", e, C),
|
|
1323
|
+
style: p ? { ...p } : null,
|
|
1324
|
+
children: [
|
|
1325
|
+
r,
|
|
1326
|
+
/* @__PURE__ */ v(
|
|
1327
|
+
"select",
|
|
1328
|
+
{
|
|
1329
|
+
className: m(
|
|
1330
|
+
"form-select relative bg-white pl-3 pr-10 text-left cursor-default",
|
|
1331
|
+
t ? "!border-red-500 !bg-red-500/10 !text-red-700 focus:!ring-red-500 focus:!border-red-500" : "",
|
|
1332
|
+
h
|
|
1333
|
+
),
|
|
1334
|
+
id: n,
|
|
1335
|
+
name: s,
|
|
1336
|
+
value: f,
|
|
1337
|
+
...y,
|
|
1338
|
+
...c,
|
|
1339
|
+
children: [
|
|
1340
|
+
o && /* @__PURE__ */ i("option", { hidden: !0, value: "", children: o }),
|
|
1341
|
+
l.map((M, u) => /* @__PURE__ */ i(
|
|
1342
|
+
"option",
|
|
1343
|
+
{
|
|
1344
|
+
value: (M == null ? void 0 : M.id) || (M == null ? void 0 : M.value) || M,
|
|
1345
|
+
children: (M == null ? void 0 : M.name) || M
|
|
1346
|
+
},
|
|
1347
|
+
(M == null ? void 0 : M.name) || M
|
|
1348
|
+
))
|
|
1349
|
+
]
|
|
1350
|
+
}
|
|
1351
|
+
),
|
|
1352
|
+
a && /* @__PURE__ */ i("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
|
|
1353
|
+
]
|
|
1354
|
+
}
|
|
1355
|
+
);
|
|
1356
|
+
}, x1 = A(a1), n1 = ({ className: d = "" }) => /* @__PURE__ */ v(
|
|
1357
|
+
"div",
|
|
1358
|
+
{
|
|
1359
|
+
className: m(
|
|
1360
|
+
"flex justify-center items-center bg-gray-200 rounded-lg animate-pulse",
|
|
1361
|
+
d
|
|
1362
|
+
),
|
|
1363
|
+
children: [
|
|
1364
|
+
/* @__PURE__ */ i(b, { size: "xLarge", name: "map", className: "mx-auto" }),
|
|
1365
|
+
/* @__PURE__ */ i("span", { className: "sr-only", children: "Loading..." })
|
|
1366
|
+
]
|
|
1367
|
+
}
|
|
1368
|
+
), k1 = A(n1), l1 = ({
|
|
1369
|
+
placeholderClass: d = "",
|
|
1370
|
+
children: e,
|
|
1371
|
+
className: t = "",
|
|
1372
|
+
id: a = 1,
|
|
1373
|
+
padding: n = !0,
|
|
1374
|
+
sliderName: r = ""
|
|
1375
|
+
}) => /* @__PURE__ */ v(
|
|
1376
|
+
"div",
|
|
1377
|
+
{
|
|
1378
|
+
className: `slider relative overflow-hidden ${t}`,
|
|
1379
|
+
id: `slider-${a}`,
|
|
1380
|
+
children: [
|
|
1381
|
+
/* @__PURE__ */ i(
|
|
1382
|
+
"button",
|
|
1383
|
+
{
|
|
1384
|
+
title: "Previous Slide",
|
|
1385
|
+
id: `btn-left-${a}`,
|
|
1386
|
+
type: "button",
|
|
1387
|
+
className: "absolute left-4 right-auto top-1/2 z-10 -translate-y-1/2 !bg-white/90 sm-max:!hidden md:block rounded-full px-1.5 py-1.5 border border-solid shadow cursor-pointer min-w-max",
|
|
1388
|
+
children: /* @__PURE__ */ i(b, { name: "chevronLeft" })
|
|
1389
|
+
}
|
|
1390
|
+
),
|
|
1391
|
+
/* @__PURE__ */ i(
|
|
1392
|
+
"div",
|
|
1393
|
+
{
|
|
1394
|
+
id: `slider-container-${a}`,
|
|
1395
|
+
className: "slider-container inline-flex w-full overflow-x-scroll md:overflow-x-hidden md:w-auto transition duration-200 ease-in-out sm-max:!transform-none",
|
|
1396
|
+
children: Array.from({ length: 4 }, (s, l) => /* @__PURE__ */ i(
|
|
1397
|
+
"div",
|
|
1398
|
+
{
|
|
1399
|
+
className: `card-ph slider-card bg-gray-200 animate-pulse ${d}`,
|
|
1400
|
+
children: /* @__PURE__ */ i("div", { className: `slider-card-action ${n ? "p-4" : ""}`, children: e })
|
|
1401
|
+
},
|
|
1402
|
+
l
|
|
1403
|
+
))
|
|
1404
|
+
}
|
|
1405
|
+
),
|
|
1406
|
+
/* @__PURE__ */ i(
|
|
1407
|
+
"button",
|
|
1408
|
+
{
|
|
1409
|
+
title: "Next Slide",
|
|
1410
|
+
id: `btn-right-${a}`,
|
|
1411
|
+
type: "button",
|
|
1412
|
+
className: "absolute right-4 left-auto top-1/2 z-10 -translate-y-1/2 !bg-white/90 hidden sm-max:!hidden md:block rounded-full px-1.5 py-1.5 border border-solid shadow cursor-pointer min-w-max",
|
|
1413
|
+
"data-div-track": `report | ${r} | More Reviews`,
|
|
1414
|
+
children: /* @__PURE__ */ i(b, { name: "chevronRight" })
|
|
1415
|
+
}
|
|
1416
|
+
)
|
|
1417
|
+
]
|
|
1418
|
+
}
|
|
1419
|
+
), S1 = A(l1), z1 = ({
|
|
1420
|
+
className: d = "",
|
|
1421
|
+
value: e
|
|
1422
|
+
}) => {
|
|
1423
|
+
const t = {
|
|
1424
|
+
"--value": `calc(${e} / 5 * 100%)`
|
|
1425
|
+
};
|
|
1426
|
+
return /* @__PURE__ */ i(
|
|
1427
|
+
"div",
|
|
1428
|
+
{
|
|
1429
|
+
className: m(
|
|
1430
|
+
'Stars inline-block leading-none font-sans text-base before:content-["★★★★★"]',
|
|
1431
|
+
d
|
|
1432
|
+
),
|
|
1433
|
+
style: t
|
|
1434
|
+
}
|
|
1435
|
+
);
|
|
1436
|
+
}, r1 = ({
|
|
1437
|
+
className: d = "",
|
|
1438
|
+
clear: e = !1,
|
|
1439
|
+
error: t = !1,
|
|
1440
|
+
errorMessage: a = "",
|
|
1441
|
+
id: n = "",
|
|
1442
|
+
inputClass: r = "",
|
|
1443
|
+
name: s = "",
|
|
1444
|
+
placeholder: l = "",
|
|
1445
|
+
props: o = {},
|
|
1446
|
+
rows: c = 4,
|
|
1447
|
+
variation: h = "primary"
|
|
1448
|
+
}) => /* @__PURE__ */ v("div", { className: m("relative textarea", h, d), children: [
|
|
1449
|
+
/* @__PURE__ */ i(
|
|
1450
|
+
"textarea",
|
|
1451
|
+
{
|
|
1452
|
+
placeholder: l,
|
|
1453
|
+
id: n,
|
|
1454
|
+
name: s,
|
|
1455
|
+
rows: c,
|
|
1456
|
+
className: m(
|
|
1457
|
+
"form-textarea min-h-[40px] pl-4",
|
|
1458
|
+
e ? "pr-10" : "pr-4",
|
|
1459
|
+
t ? "!border-red-500 !bg-red-500/10 placeholder:!text-red-700 focus:!ring-red-500 focus:!border-red-500" : "",
|
|
1460
|
+
r
|
|
1461
|
+
),
|
|
1462
|
+
...o
|
|
1463
|
+
}
|
|
1464
|
+
),
|
|
1465
|
+
e && /* @__PURE__ */ i(
|
|
1466
|
+
"div",
|
|
1467
|
+
{
|
|
1468
|
+
id: `${n}-clear`,
|
|
1469
|
+
className: "textarea-clear absolute right-0 top-2 bottom-auto flex items-center rounded-r-md pr-2 focus:outline-none hidden",
|
|
1470
|
+
children: /* @__PURE__ */ i(
|
|
1471
|
+
b,
|
|
1472
|
+
{
|
|
1473
|
+
size: "xSmall",
|
|
1474
|
+
name: "xCircle",
|
|
1475
|
+
color: "text-gray-500 cursor-pointer"
|
|
1476
|
+
}
|
|
1477
|
+
)
|
|
1478
|
+
}
|
|
1479
|
+
),
|
|
1480
|
+
a && /* @__PURE__ */ i("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
|
|
1481
|
+
] }), Z1 = A(r1), s1 = ({
|
|
1482
|
+
className: d = "",
|
|
1483
|
+
clear: e = !1,
|
|
1484
|
+
error: t = !1,
|
|
1485
|
+
errorMessage: a = "",
|
|
1486
|
+
iconLeft: n = "",
|
|
1487
|
+
id: r = "",
|
|
1488
|
+
inputClass: s = "",
|
|
1489
|
+
name: l = "",
|
|
1490
|
+
placeholder: o = "",
|
|
1491
|
+
props: c = {},
|
|
1492
|
+
styles: h = null,
|
|
1493
|
+
type: p = "text",
|
|
1494
|
+
value: C,
|
|
1495
|
+
variation: f = "primary"
|
|
1496
|
+
}) => /* @__PURE__ */ v(
|
|
1497
|
+
"div",
|
|
1498
|
+
{
|
|
1499
|
+
className: m("relative textbox", f, d),
|
|
1500
|
+
style: h ? { ...h } : null,
|
|
1501
|
+
children: [
|
|
1502
|
+
n && /* @__PURE__ */ i("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center px-2", children: /* @__PURE__ */ i(
|
|
1503
|
+
b,
|
|
1504
|
+
{
|
|
1505
|
+
size: "xSmall",
|
|
1506
|
+
name: n,
|
|
1507
|
+
color: "text-gray-500",
|
|
1508
|
+
viewBox: "0 0 24 24"
|
|
1509
|
+
}
|
|
1510
|
+
) }),
|
|
1511
|
+
/* @__PURE__ */ i(
|
|
1512
|
+
"input",
|
|
1513
|
+
{
|
|
1514
|
+
placeholder: o,
|
|
1515
|
+
id: r,
|
|
1516
|
+
name: l,
|
|
1517
|
+
type: p,
|
|
1518
|
+
value: C,
|
|
1519
|
+
autoComplete: "off",
|
|
1520
|
+
className: m(
|
|
1521
|
+
"form-input",
|
|
1522
|
+
e ? "pr-10" : "pr-4",
|
|
1523
|
+
n ? "pl-8" : "pl-4",
|
|
1524
|
+
{
|
|
1525
|
+
"!border-red-500 !bg-red-500/10 placeholder:!text-red-700 focus:!ring-red-500 focus:!border-red-500": t
|
|
1526
|
+
},
|
|
1527
|
+
c.inputClass ?? "",
|
|
1528
|
+
s
|
|
1529
|
+
),
|
|
1530
|
+
...c
|
|
1531
|
+
}
|
|
1532
|
+
),
|
|
1533
|
+
e && /* @__PURE__ */ i(
|
|
1534
|
+
"div",
|
|
1535
|
+
{
|
|
1536
|
+
id: `${r}-clear`,
|
|
1537
|
+
className: "textbox-clear absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none hidden",
|
|
1538
|
+
children: /* @__PURE__ */ i(
|
|
1539
|
+
b,
|
|
1540
|
+
{
|
|
1541
|
+
size: "xSmall",
|
|
1542
|
+
name: "xCircle",
|
|
1543
|
+
color: "text-gray-500 cursor-pointer"
|
|
1544
|
+
}
|
|
1545
|
+
)
|
|
1546
|
+
}
|
|
1547
|
+
),
|
|
1548
|
+
a && /* @__PURE__ */ i("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
|
|
1549
|
+
]
|
|
1550
|
+
}
|
|
1551
|
+
), N1 = A(s1);
|
|
1552
|
+
class H {
|
|
1553
|
+
static calcCrow(e, t, a, n) {
|
|
1554
|
+
const s = H.toRad(a - e), l = H.toRad(n - t);
|
|
1555
|
+
e = H.toRad(e), a = H.toRad(a);
|
|
1556
|
+
const o = Math.sin(s / 2) * Math.sin(s / 2) + Math.sin(l / 2) * Math.sin(l / 2) * Math.cos(e) * Math.cos(a);
|
|
1557
|
+
return 6371 * (2 * Math.atan2(Math.sqrt(o), Math.sqrt(1 - o)));
|
|
1558
|
+
}
|
|
1559
|
+
static cleanupAddress(e) {
|
|
1560
|
+
return e.split(" ").map((a) => a.split("-")[0]).join(" ").trim();
|
|
1561
|
+
}
|
|
1562
|
+
static clearBounds(e = "bounds") {
|
|
1563
|
+
localStorage.setItem(e, JSON.stringify([]));
|
|
1564
|
+
}
|
|
1565
|
+
static clickTrack(e = !0) {
|
|
1566
|
+
if (e !== !0)
|
|
1567
|
+
return;
|
|
1568
|
+
window.dataLayer = window.dataLayer || [];
|
|
1569
|
+
const t = document.querySelectorAll("[data-div-track]");
|
|
1570
|
+
typeof H == "function" && t.forEach((a) => {
|
|
1571
|
+
a.addEventListener("click", () => {
|
|
1572
|
+
H.clickTrackEvent(a.dataset.divTrack);
|
|
1573
|
+
});
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1576
|
+
static clickTrackEvent(e) {
|
|
1577
|
+
window.dataLayer.push({
|
|
1578
|
+
event: "click_tracking",
|
|
1579
|
+
click_value: e
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1582
|
+
/* TODO: Not sure if this or PRECS is more correct */
|
|
1583
|
+
static async createData(e, t = null, a = !0) {
|
|
1584
|
+
if (options.isBot || !t)
|
|
1585
|
+
return null;
|
|
1586
|
+
const { tolken: n = null, ip: r = null } = await H.getHeaders(), s = a === !1 ? "" : "&tolken=" + n + "&ip=" + r, l = e + s, o = typeof t == "string" ? t : JSON.stringify(t);
|
|
1587
|
+
try {
|
|
1588
|
+
const c = await fetch(l, {
|
|
1589
|
+
method: "POST",
|
|
1590
|
+
body: o === "null" ? null : o,
|
|
1591
|
+
headers: {
|
|
1592
|
+
website: H.getWebsiteHeaderName()
|
|
1593
|
+
}
|
|
1594
|
+
}), h = c.headers.get("content-type");
|
|
1595
|
+
if (h && h.indexOf("application/json") !== -1)
|
|
1596
|
+
return c.json();
|
|
1597
|
+
const p = await c.text();
|
|
1598
|
+
return p ? p.replace("__next", "") : null;
|
|
1599
|
+
} catch (c) {
|
|
1600
|
+
console.error("createData", c);
|
|
1601
|
+
}
|
|
1602
|
+
return null;
|
|
1603
|
+
}
|
|
1604
|
+
static dataLayer({ type: e = null, data: t = null }) {
|
|
1605
|
+
typeof dataLayer.push > "u" || typeof dataLayer.push > "u" || (e === "custom" && t && this.dlvCustom(t), e === "login" && t && this.dlvUserLogin(t), e === "userData" && t && this.dlvUserData(t));
|
|
1606
|
+
}
|
|
1607
|
+
static async deleteSearchValue(e = "recsSearchValue") {
|
|
1608
|
+
try {
|
|
1609
|
+
return await H.createData(`/api/cookie/remove?name=${e}`);
|
|
1610
|
+
} catch (t) {
|
|
1611
|
+
console.error("deleteSearchValue", t.message);
|
|
1612
|
+
}
|
|
1613
|
+
return null;
|
|
1614
|
+
}
|
|
1615
|
+
static detectMouseMovement(e, t = null) {
|
|
1616
|
+
const a = document.querySelector("body");
|
|
1617
|
+
let n = !1;
|
|
1618
|
+
a.addEventListener("mousemove", () => {
|
|
1619
|
+
n || (n = !0, e(t));
|
|
1620
|
+
}), a.addEventListener("touchmove", () => {
|
|
1621
|
+
n || (n = !0, e(t));
|
|
1622
|
+
});
|
|
1623
|
+
}
|
|
1624
|
+
static dlvCustom(e) {
|
|
1625
|
+
console.info("dlvCustom", JSON.stringify(e)), dataLayer.push(e);
|
|
1626
|
+
}
|
|
1627
|
+
static dlvUserLogin(e) {
|
|
1628
|
+
dataLayer.push({
|
|
1629
|
+
event: "login",
|
|
1630
|
+
userId: e == null ? void 0 : e.uuid
|
|
1631
|
+
});
|
|
1632
|
+
}
|
|
1633
|
+
static dlvUserData(e) {
|
|
1634
|
+
dataLayer.push({
|
|
1635
|
+
event: "userData",
|
|
1636
|
+
userId: e == null ? void 0 : e.uuid,
|
|
1637
|
+
uuid: e == null ? void 0 : e.uuid,
|
|
1638
|
+
email: e == null ? void 0 : e.email,
|
|
1639
|
+
name: e == null ? void 0 : e.name
|
|
1640
|
+
});
|
|
1641
|
+
}
|
|
1642
|
+
static documentLoaded(e, t = 0) {
|
|
1643
|
+
document.addEventListener("DOMContentLoaded", async function() {
|
|
1644
|
+
t ? setTimeout(() => e(), t) : e();
|
|
1645
|
+
});
|
|
1646
|
+
}
|
|
1647
|
+
static elementScrollTop() {
|
|
1648
|
+
setTimeout(() => {
|
|
1649
|
+
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
|
1650
|
+
}, 100);
|
|
1651
|
+
}
|
|
1652
|
+
static eventListenerOnce(e, t, a) {
|
|
1653
|
+
e == null || e.addEventListener(t, a, {
|
|
1654
|
+
once: !0
|
|
1655
|
+
});
|
|
1656
|
+
}
|
|
1657
|
+
static async fetchData(e, t = !1, a = !0) {
|
|
1658
|
+
if (options.isBot)
|
|
1659
|
+
return null;
|
|
1660
|
+
const { tolken: n = null, ip: r = null } = await H.getHeaders(), l = e.replace("#", "").replace("%23", "") + "&tolken=" + n + "&ip=" + r;
|
|
1661
|
+
try {
|
|
1662
|
+
const o = await fetch(l, { method: "GET" });
|
|
1663
|
+
if (t === !0) {
|
|
1664
|
+
const h = await o.text();
|
|
1665
|
+
return h ? h.replace("__next", "") : null;
|
|
1666
|
+
}
|
|
1667
|
+
const c = o.headers.get("content-type");
|
|
1668
|
+
return c && c.indexOf("application/json") !== -1 ? o.json() : null;
|
|
1669
|
+
} catch (o) {
|
|
1670
|
+
console.error("fetchData", o, e);
|
|
1671
|
+
}
|
|
1672
|
+
return null;
|
|
1673
|
+
}
|
|
1674
|
+
static findAncestor(e, t) {
|
|
1675
|
+
let a = e.parentElement;
|
|
1676
|
+
return a.tagName.toLowerCase() === t || (a = e.parentElement.parentElement, a.tagName.toLowerCase() === t) || (a = e.parentElement.parentElement.parentElement, a.tagName.toLowerCase() === t) ? a : null;
|
|
1677
|
+
}
|
|
1678
|
+
static formatDate(e = null) {
|
|
1679
|
+
return e ? (e = new Date(e), [
|
|
1680
|
+
H.padTo2Digits(e.getMonth() + 1),
|
|
1681
|
+
H.padTo2Digits(e.getDate()),
|
|
1682
|
+
e.getFullYear()
|
|
1683
|
+
].join("-")) : null;
|
|
1684
|
+
}
|
|
1685
|
+
static getBoundsEntries(e = "bounds") {
|
|
1686
|
+
const t = localStorage.getItem(e);
|
|
1687
|
+
return t ? JSON.parse(t) : [];
|
|
1688
|
+
}
|
|
1689
|
+
static getBounds(e, t = null, a = null) {
|
|
1690
|
+
if (!e)
|
|
1691
|
+
return console.error("no map", e), {
|
|
1692
|
+
swLat: 0,
|
|
1693
|
+
neLng: 0,
|
|
1694
|
+
neLat: 0,
|
|
1695
|
+
swLng: 0
|
|
1696
|
+
};
|
|
1697
|
+
const n = e.getBounds();
|
|
1698
|
+
let r = n.getSouth(), s = n.getEast(), l = n.getNorth(), o = n.getWest();
|
|
1699
|
+
return a && (r = r - a, s = s + a, l = l + a, o = o - a), t && (r = r.toFixed(t), s = s.toFixed(t), l = l.toFixed(t), o = o.toFixed(t)), {
|
|
1700
|
+
swLat: r,
|
|
1701
|
+
neLng: s,
|
|
1702
|
+
neLat: l,
|
|
1703
|
+
swLng: o
|
|
1704
|
+
};
|
|
1705
|
+
}
|
|
1706
|
+
static getFirstN(e, t = 5) {
|
|
1707
|
+
return e === null ? null : e.length === 0 ? [] : e.filter((a, n) => n < t);
|
|
1708
|
+
}
|
|
1709
|
+
static getFormUrl(e = null) {
|
|
1710
|
+
const { name: t = null, isOptOut: a = !1 } = e ?? {};
|
|
1711
|
+
if (!t || t === "address")
|
|
1712
|
+
return a === !0 ? "/opt-out/address" : "/";
|
|
1713
|
+
if (t === "background-check")
|
|
1714
|
+
return "/report/background-check";
|
|
1715
|
+
if (t === "background-check-search")
|
|
1716
|
+
return a === !0 ? "/opt-out/records" : "/report/background-check/search";
|
|
1717
|
+
if (t === "dmv-records")
|
|
1718
|
+
return "/report/dmv-records";
|
|
1719
|
+
if (t === "dmv-records-search")
|
|
1720
|
+
return a === !0 ? "/opt-out/records" : "/report/dmv-records/search";
|
|
1721
|
+
if (t === "phone")
|
|
1722
|
+
return "/report/phone";
|
|
1723
|
+
if (t === "phone-search")
|
|
1724
|
+
return a === !0 ? "/opt-out/records" : "/report/phone/search";
|
|
1725
|
+
if (t === "vin")
|
|
1726
|
+
return "/report/vin";
|
|
1727
|
+
if (t === "license" || t === "license-plate")
|
|
1728
|
+
return "/report/license-plate";
|
|
1729
|
+
}
|
|
1730
|
+
static async getHeaders(e = 300) {
|
|
1731
|
+
const {
|
|
1732
|
+
userAgent: t = null,
|
|
1733
|
+
userAgentData: a = null,
|
|
1734
|
+
platform: n = null
|
|
1735
|
+
} = navigator || {}, r = (a == null ? void 0 : a.platform) ?? n, s = {
|
|
1736
|
+
tolken: null,
|
|
1737
|
+
ip: null,
|
|
1738
|
+
userAgent: t,
|
|
1739
|
+
platform: r
|
|
1740
|
+
};
|
|
1741
|
+
if (options && options.isBot || typeof window.localStorage > "u")
|
|
1742
|
+
return s;
|
|
1743
|
+
const l = localStorage.getItem("headerTolken");
|
|
1744
|
+
if (l) {
|
|
1745
|
+
const o = JSON.parse(l), c = (/* @__PURE__ */ new Date()).getTime();
|
|
1746
|
+
return o.expire - c < 0 && localStorage.removeItem("headerTolken"), {
|
|
1747
|
+
tolken: o.tolken,
|
|
1748
|
+
ip: o.ip,
|
|
1749
|
+
userAgent: t,
|
|
1750
|
+
platform: r
|
|
1751
|
+
};
|
|
1752
|
+
}
|
|
1753
|
+
try {
|
|
1754
|
+
const c = await (await fetch("/api/headers")).json(), h = (c == null ? void 0 : c.token) ?? null, p = (c == null ? void 0 : c.ip) ?? null;
|
|
1755
|
+
return localStorage.setItem(
|
|
1756
|
+
"headerTolken",
|
|
1757
|
+
JSON.stringify({
|
|
1758
|
+
tolken: h,
|
|
1759
|
+
ip: p,
|
|
1760
|
+
expire: (/* @__PURE__ */ new Date()).getTime() + e * 1e3
|
|
1761
|
+
})
|
|
1762
|
+
), { tolken: h, ip: p, userAgent: t, platform: r };
|
|
1763
|
+
} catch (o) {
|
|
1764
|
+
console.error("getHeaders", o);
|
|
1765
|
+
}
|
|
1766
|
+
return s;
|
|
1767
|
+
}
|
|
1768
|
+
static getLayerTitle(e) {
|
|
1769
|
+
return {
|
|
1770
|
+
hybrid: "https://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}",
|
|
1771
|
+
roadmap: "https://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}"
|
|
1772
|
+
}[e];
|
|
1773
|
+
}
|
|
1774
|
+
static async getLocationData(e) {
|
|
1775
|
+
const { swLat: t, neLng: a, neLat: n, swLng: r } = H.getBounds(e, 3, 0.05), s = "zip-location&swLat=" + t + "&neLng=" + a + "&neLat=" + n + "&swLng=" + r;
|
|
1776
|
+
return await H.fetchData("/api/client?query=" + s);
|
|
1777
|
+
}
|
|
1778
|
+
static getReportUrl(e, t = null) {
|
|
1779
|
+
var o, c, h;
|
|
1780
|
+
const a = ((o = e == null ? void 0 : e.state) == null ? void 0 : o.slug) ?? null, n = ((c = e == null ? void 0 : e.city) == null ? void 0 : c.slug) ?? null, r = ((h = e == null ? void 0 : e.name) == null ? void 0 : h.slug) ?? null, s = (e == null ? void 0 : e.zip) ?? null;
|
|
1781
|
+
t = t || ((e == null ? void 0 : e.id) ?? null);
|
|
1782
|
+
const l = [s, "-piq", t].filter((p) => p).join("");
|
|
1783
|
+
return "/" + [a, n, r].filter((p) => p).map((p) => H.toSlug(p)).join("/") + "/" + l;
|
|
1784
|
+
}
|
|
1785
|
+
static async getSearchValue(e = "recsSearchValue") {
|
|
1786
|
+
try {
|
|
1787
|
+
return await H.createData(`/api/cookie/fetch?name=${e}`);
|
|
1788
|
+
} catch (t) {
|
|
1789
|
+
console.error("getSearchValue", t.message);
|
|
1790
|
+
}
|
|
1791
|
+
return null;
|
|
1792
|
+
}
|
|
1793
|
+
static getSearchValueClient(e = "recsSearchValue") {
|
|
1794
|
+
const t = localStorage.getItem(e);
|
|
1795
|
+
return t ? JSON.parse(t) : null;
|
|
1796
|
+
}
|
|
1797
|
+
static getStates() {
|
|
1798
|
+
return [
|
|
1799
|
+
{ name: "Alabama", id: "al", slug: "alabama", short: "AL" },
|
|
1800
|
+
{ name: "Alaska", id: "ak", slug: "alaska", short: "AK" },
|
|
1801
|
+
{ name: "Arizona", id: "az", slug: "arizona", short: "AZ" },
|
|
1802
|
+
{ name: "Arkansas", id: "ar", slug: "arkansas", short: "AR" },
|
|
1803
|
+
{ name: "California", id: "ca", slug: "california", short: "CA" },
|
|
1804
|
+
{ name: "Colorado", id: "co", slug: "colorado", short: "CO" },
|
|
1805
|
+
{
|
|
1806
|
+
name: "Connecticut",
|
|
1807
|
+
id: "ct",
|
|
1808
|
+
slug: "connecticut",
|
|
1809
|
+
short: "CT"
|
|
1810
|
+
},
|
|
1811
|
+
{ name: "Delaware", id: "de", slug: "delaware", short: "DE" },
|
|
1812
|
+
{
|
|
1813
|
+
name: "District Of Columbia",
|
|
1814
|
+
id: "dc",
|
|
1815
|
+
slug: "district-of-columbia",
|
|
1816
|
+
short: "DC"
|
|
1817
|
+
},
|
|
1818
|
+
{ name: "Florida", id: "fl", slug: "florida", short: "FL" },
|
|
1819
|
+
{ name: "Georgia", id: "ga", slug: "georgia", short: "GA" },
|
|
1820
|
+
{ name: "Hawaii", id: "hi", slug: "hawaii", short: "HI" },
|
|
1821
|
+
{ name: "Idaho", id: "id", slug: "idaho", short: "ID" },
|
|
1822
|
+
{ name: "Illinois", id: "il", slug: "illinois", short: "IL" },
|
|
1823
|
+
{
|
|
1824
|
+
name: "Indiana",
|
|
1825
|
+
id: "in",
|
|
1826
|
+
slug: "indiana",
|
|
1827
|
+
short: "IN"
|
|
1828
|
+
},
|
|
1829
|
+
{ name: "Iowa", id: "ia", slug: "iowa", short: "IA" },
|
|
1830
|
+
{ name: "Kansas", id: "ks", slug: "kansas", short: "KS" },
|
|
1831
|
+
{ name: "Kentucky", id: "ky", slug: "kentucky", short: "KY" },
|
|
1832
|
+
{ name: "Louisiana", id: "la", slug: "louisiana", short: "LA" },
|
|
1833
|
+
{ name: "Maine", id: "me", slug: "maine", short: "ME" },
|
|
1834
|
+
{ name: "Maryland", id: "md", slug: "maryland", short: "MD" },
|
|
1835
|
+
{
|
|
1836
|
+
name: "Massachusetts",
|
|
1837
|
+
id: "ma",
|
|
1838
|
+
slug: "massachusetts",
|
|
1839
|
+
short: "MA"
|
|
1840
|
+
},
|
|
1841
|
+
{ name: "Michigan", id: "mi", slug: "michigan", short: "MI" },
|
|
1842
|
+
{ name: "Minnesota", id: "mn", slug: "minnesota", short: "MN" },
|
|
1843
|
+
{ name: "Mississippi", id: "ms", slug: "mississippi", short: "MS" },
|
|
1844
|
+
{ name: "Missouri", id: "mo", slug: "missouri", short: "MO" },
|
|
1845
|
+
{ name: "Montana", id: "mt", slug: "montana", short: "MT" },
|
|
1846
|
+
{ name: "Nebraska", id: "ne", slug: "nebraska", short: "NE" },
|
|
1847
|
+
{
|
|
1848
|
+
name: "Nevada",
|
|
1849
|
+
id: "nv",
|
|
1850
|
+
slug: "nevada",
|
|
1851
|
+
short: "NV"
|
|
1852
|
+
},
|
|
1853
|
+
{ name: "New Hampshire", id: "nh", slug: "new-hampshire", short: "NH" },
|
|
1854
|
+
{ name: "New Jersey", id: "nj", slug: "new-jersey", short: "NJ" },
|
|
1855
|
+
{ name: "New Mexico", id: "nm", slug: "new-mexico", short: "NM" },
|
|
1856
|
+
{ name: "New York", id: "ny", slug: "new-york", short: "NY" },
|
|
1857
|
+
{ name: "North Carolina", id: "nc", slug: "north-carolina", short: "NC" },
|
|
1858
|
+
{ name: "North Dakota", id: "nd", slug: "north-dakota", short: "ND" },
|
|
1859
|
+
{
|
|
1860
|
+
name: "Ohio",
|
|
1861
|
+
id: "oh",
|
|
1862
|
+
slug: "ohio",
|
|
1863
|
+
short: "OH"
|
|
1864
|
+
},
|
|
1865
|
+
{ name: "Oklahoma", id: "ok", slug: "oklahoma", short: "OK" },
|
|
1866
|
+
{ name: "Oregon", id: "or", slug: "oregon", short: "OR" },
|
|
1867
|
+
{ name: "Pennsylvania", id: "pa", slug: "pennsylvania", short: "PA" },
|
|
1868
|
+
{ name: "Rhode Island", id: "ri", slug: "rhode-island", short: "RI" },
|
|
1869
|
+
{ name: "South Carolina", id: "sc", slug: "south-carolina", short: "SC" },
|
|
1870
|
+
{ name: "South Dakota", id: "sd", slug: "south-dakota", short: "SD" },
|
|
1871
|
+
{
|
|
1872
|
+
name: "Tennessee",
|
|
1873
|
+
id: "tn",
|
|
1874
|
+
slug: "tennessee",
|
|
1875
|
+
short: "TN"
|
|
1876
|
+
},
|
|
1877
|
+
{ name: "Texas", id: "tx", slug: "texas", short: "TX" },
|
|
1878
|
+
{ name: "Utah", id: "ut", slug: "utah", short: "UT" },
|
|
1879
|
+
{ name: "Vermont", id: "vt", slug: "vermont", short: "VT" },
|
|
1880
|
+
{ name: "Virginia", id: "va", slug: "virginia", short: "VA" },
|
|
1881
|
+
{ name: "Washington", id: "wa", slug: "washington", short: "WA" },
|
|
1882
|
+
{ name: "West Virginia", id: "wv", slug: "west-virginia", short: "WV" },
|
|
1883
|
+
{
|
|
1884
|
+
name: "Wisconsin",
|
|
1885
|
+
id: "wi",
|
|
1886
|
+
slug: "wisconsin",
|
|
1887
|
+
short: "WI"
|
|
1888
|
+
},
|
|
1889
|
+
{ name: "Wyoming", id: "wy", slug: "wyoming", short: "WY" }
|
|
1890
|
+
];
|
|
1891
|
+
}
|
|
1892
|
+
static getTrackingData(e) {
|
|
1893
|
+
const [t, ...a] = e.split("|"), n = a.join("|").trim(), r = [
|
|
1894
|
+
"[pageType::" + t.trim() + "]",
|
|
1895
|
+
"[name::" + n + "]"
|
|
1896
|
+
].join(" ");
|
|
1897
|
+
return {
|
|
1898
|
+
value: r,
|
|
1899
|
+
dataLayer: {
|
|
1900
|
+
event: "clickTrack",
|
|
1901
|
+
value: r
|
|
1902
|
+
}
|
|
1903
|
+
};
|
|
1904
|
+
}
|
|
1905
|
+
static async getUser() {
|
|
1906
|
+
if (typeof window < "u") {
|
|
1907
|
+
const { user: e = null } = (window == null ? void 0 : window.options) ?? {};
|
|
1908
|
+
if (e)
|
|
1909
|
+
return e;
|
|
1910
|
+
}
|
|
1911
|
+
try {
|
|
1912
|
+
return await H.createData("/api/cookie/fetch?name=odrUser");
|
|
1913
|
+
} catch (e) {
|
|
1914
|
+
console.error("getUser", e.message);
|
|
1915
|
+
}
|
|
1916
|
+
return null;
|
|
1917
|
+
}
|
|
1918
|
+
static async getUserHistory(e = null) {
|
|
1919
|
+
const { uuid: t = null } = e ?? {};
|
|
1920
|
+
if (!t)
|
|
1921
|
+
return { data: null };
|
|
1922
|
+
const a = JSON.stringify({
|
|
1923
|
+
limit: 1,
|
|
1924
|
+
where: {
|
|
1925
|
+
uuid: t
|
|
1926
|
+
}
|
|
1927
|
+
});
|
|
1928
|
+
return await H.makeSearchFetchCall(
|
|
1929
|
+
`/api/client?query=user-get-history&filter=${a}`
|
|
1930
|
+
);
|
|
1931
|
+
}
|
|
1932
|
+
static getWebsiteHeaderName() {
|
|
1933
|
+
const e = "onlinedatareports.com", t = "propertyrecs.com", a = typeof window < "u" ? window.location.host : e;
|
|
1934
|
+
return a && a.includes(t) ? t : e;
|
|
1935
|
+
}
|
|
1936
|
+
static getGridBounds({ map: e, tileSize: t, coords: a }) {
|
|
1937
|
+
const n = a.scaleBy(t), r = n.add(t);
|
|
1938
|
+
return {
|
|
1939
|
+
nw: e.unproject(n, a.z),
|
|
1940
|
+
se: e.unproject(r, a.z)
|
|
1941
|
+
};
|
|
1942
|
+
}
|
|
1943
|
+
static gridTest(e, t, a = 1500) {
|
|
1944
|
+
const n = this;
|
|
1945
|
+
L.GridLayer.GridDebug = L.GridLayer.extend({
|
|
1946
|
+
createTile: function(r, s) {
|
|
1947
|
+
const l = document.createElement("div");
|
|
1948
|
+
return setTimeout(() => {
|
|
1949
|
+
s(null, l);
|
|
1950
|
+
const { se: o, nw: c } = n.getGridBounds({
|
|
1951
|
+
map: e,
|
|
1952
|
+
tileSize: this.getTileSize(),
|
|
1953
|
+
coords: r
|
|
1954
|
+
});
|
|
1955
|
+
t({
|
|
1956
|
+
swLat: o.lat,
|
|
1957
|
+
neLng: o.lng,
|
|
1958
|
+
neLat: c.lat,
|
|
1959
|
+
swLng: c.lng,
|
|
1960
|
+
coords: r,
|
|
1961
|
+
key: r.z + "-" + r.x + "-" + r.y
|
|
1962
|
+
});
|
|
1963
|
+
}, a), l;
|
|
1964
|
+
}
|
|
1965
|
+
}), L.gridLayer.gridDebug = function(r) {
|
|
1966
|
+
return new L.GridLayer.GridDebug(r);
|
|
1967
|
+
}, e.addLayer(L.gridLayer.gridDebug());
|
|
1968
|
+
}
|
|
1969
|
+
/**
|
|
1970
|
+
* Handle Native Dialogs
|
|
1971
|
+
* @type {function} handleDialog
|
|
1972
|
+
* @param {string|null} target - Selector that open the dialog
|
|
1973
|
+
* @param {string} id - Unique dialog id
|
|
1974
|
+
* @param {function|null} onOpen - Callback function called when dialog is opened
|
|
1975
|
+
* @param {function|null} onClose - Callback function called when dialog is closed
|
|
1976
|
+
* @param {boolean} disableOutsideClick - Disable dialog closing when clicking outside the dialog
|
|
1977
|
+
* @returns {{activators: NodeListOf<Element>, handleOpen: {function}, handleClose: {function}, ref: HTMLDialogElement}}
|
|
1978
|
+
*/
|
|
1979
|
+
static handleDialog({
|
|
1980
|
+
target: e = null,
|
|
1981
|
+
id: t = "",
|
|
1982
|
+
onOpen: a = null,
|
|
1983
|
+
onClose: n = null,
|
|
1984
|
+
disableOutsideClick: r = !1
|
|
1985
|
+
}) {
|
|
1986
|
+
const s = e ? document.querySelectorAll(e) : [], l = document.getElementById(t + "-dialog"), o = document.querySelectorAll("[data-dialog-close]"), c = ["closing", "closed", "opening", "opened", "removed"].reduce(
|
|
1987
|
+
(u, V) => ({
|
|
1988
|
+
...u,
|
|
1989
|
+
[V]: new Event(V)
|
|
1990
|
+
}),
|
|
1991
|
+
{}
|
|
1992
|
+
), h = new MutationObserver((u, V) => {
|
|
1993
|
+
u.forEach(async (w) => {
|
|
1994
|
+
if (w.attributeName === "open") {
|
|
1995
|
+
const g = w.target;
|
|
1996
|
+
if (!(g == null ? void 0 : g.hasAttribute("open"))) return;
|
|
1997
|
+
g == null || g.removeAttribute("inert"), g == null || g.dispatchEvent(c.opening), g && await M(g), g == null || g.dispatchEvent(c.opened);
|
|
1998
|
+
}
|
|
1999
|
+
});
|
|
2000
|
+
}), p = new MutationObserver((u, V) => {
|
|
2001
|
+
u.forEach((w) => {
|
|
2002
|
+
w.removedNodes.forEach((g) => {
|
|
2003
|
+
g.nodeName === "DIALOG" && (g.removeEventListener("click", y), g.removeEventListener("close", f), g.dispatchEvent(c.removed), p == null || p.disconnect(), h == null || h.disconnect());
|
|
2004
|
+
});
|
|
2005
|
+
});
|
|
2006
|
+
});
|
|
2007
|
+
l && (h.observe(l, {
|
|
2008
|
+
attributes: !0
|
|
2009
|
+
}), p.observe(document.body, {
|
|
2010
|
+
attributes: !1,
|
|
2011
|
+
subtree: !1,
|
|
2012
|
+
childList: !0
|
|
2013
|
+
}));
|
|
2014
|
+
const C = () => {
|
|
2015
|
+
l == null || l.showModal();
|
|
2016
|
+
}, f = async ({ target: u }) => {
|
|
2017
|
+
u == null || u.classList.add("closing"), u == null || u.setAttribute("inert", ""), u == null || u.dispatchEvent(c.closing), u && await M(u), u == null || u.classList.remove("closing"), u == null || u.dispatchEvent(c.closed);
|
|
2018
|
+
}, y = async ({ target: u }) => {
|
|
2019
|
+
(u == null ? void 0 : u.nodeName) === "DIALOG" && (l == null || l.close("outside"));
|
|
2020
|
+
}, M = (u) => Promise.allSettled(
|
|
2021
|
+
u == null ? void 0 : u.getAnimations().map((V) => V == null ? void 0 : V.finished)
|
|
2022
|
+
);
|
|
2023
|
+
return !r && (l == null || l.addEventListener("click", y)), l == null || l.addEventListener("close", f), s == null || s.forEach((u) => {
|
|
2024
|
+
u.addEventListener("click", (V) => {
|
|
2025
|
+
C(), a && a(V, l);
|
|
2026
|
+
});
|
|
2027
|
+
}), o == null || o.forEach((u) => {
|
|
2028
|
+
u.addEventListener("click", async (V) => {
|
|
2029
|
+
l == null || l.close("close"), n && n(V, l);
|
|
2030
|
+
});
|
|
2031
|
+
}), {
|
|
2032
|
+
activators: s,
|
|
2033
|
+
ref: l,
|
|
2034
|
+
handleOpen: C,
|
|
2035
|
+
handleClose: f
|
|
2036
|
+
};
|
|
2037
|
+
}
|
|
2038
|
+
static hasBoundsEntry(e, t = "bounds") {
|
|
2039
|
+
return H.getBoundsEntries(t).includes(e);
|
|
2040
|
+
}
|
|
2041
|
+
static initObserver(e, t, a = null) {
|
|
2042
|
+
if (!e)
|
|
2043
|
+
return;
|
|
2044
|
+
const n = (a == null ? void 0 : a.useBounding) ?? !1;
|
|
2045
|
+
new IntersectionObserver(async (s, l) => {
|
|
2046
|
+
n ? (s[0].isIntersecting || s[0].boundingClientRect.y < 0) && t({ obs: l, entry: s[0], entries: s }) : s[0].isIntersecting && t({ obs: l, entry: s[0], entries: s });
|
|
2047
|
+
}, a).observe(e);
|
|
2048
|
+
}
|
|
2049
|
+
static injectLink({ href: e, id: t }) {
|
|
2050
|
+
const a = document.createElement("link");
|
|
2051
|
+
a.href = e, a.type = "text/css", a.rel = "stylesheet", t && (a.id = t), document.getElementsByTagName("head")[0].appendChild(a);
|
|
2052
|
+
}
|
|
2053
|
+
static injectScript({ src: e, id: t = null, async: a = !0, module: n = !1 }) {
|
|
2054
|
+
return new Promise(function(r, s) {
|
|
2055
|
+
let l = document.getElementById(t);
|
|
2056
|
+
if (t && l && l.dataset.loaded === "true")
|
|
2057
|
+
return r({ alreadyLoaded: !0, id: t });
|
|
2058
|
+
l || (l = document.createElement("script"), l.src = e, l.dataset.loaded = "false", t && (l.id = t), l.type = n ? "module" : "text/javascript", l.async = a, document.body.appendChild(l), l.onload = () => (l.dataset.loaded = "true", r({ alreadyLoaded: !1, id: t })), l.onerror = () => s(!1));
|
|
2059
|
+
});
|
|
2060
|
+
}
|
|
2061
|
+
static isMobile({ selector: e = null, width: t = 640 } = {}) {
|
|
2062
|
+
var n;
|
|
2063
|
+
const a = document.querySelector(e);
|
|
2064
|
+
return ((n = a == null ? void 0 : a.getBoundingClientRect()) == null ? void 0 : n.width) ?? 0 < t;
|
|
2065
|
+
}
|
|
2066
|
+
static isMobileAndTablet() {
|
|
2067
|
+
return window.mobileAndTabletCheck = function() {
|
|
2068
|
+
let e = !1;
|
|
2069
|
+
return function(t) {
|
|
2070
|
+
(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(
|
|
2071
|
+
t
|
|
2072
|
+
) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(
|
|
2073
|
+
t.substr(0, 4)
|
|
2074
|
+
)) && (e = !0);
|
|
2075
|
+
}(navigator.userAgent || navigator.vendor || window.opera), e;
|
|
2076
|
+
}, window.mobileAndTabletCheck();
|
|
2077
|
+
}
|
|
2078
|
+
static isNameCompany(e = null) {
|
|
2079
|
+
if (!e)
|
|
2080
|
+
return !1;
|
|
2081
|
+
const t = e.trim().toLowerCase();
|
|
2082
|
+
return t.includes("unknown") || t.includes("institute") || t.includes("bldg") || t.includes("llc") || t.includes("l l c") || t.includes(" inc") || t.includes(" co") || t.includes("univ") || t.includes("unvi") || t.includes(" fund") || t.includes(" union") || t.includes(" assoc") || t.includes(" corp") || t.includes("service") || t.includes("members") || t.includes("properties") || t.includes("management") || t.includes("investment") || t.includes("enterprise") || t.includes(" group") || t.includes(" group") || t.includes(" rent") || t.includes(" home") || t.includes(" cu") || t.includes(" inc") || t.includes("laborator") || t.includes("pharma") || t.includes("holding") || t.includes("worship") || t.includes("bank") || t.includes("agent") || t.includes("title") || t.includes("city ") || t.includes("technolo") || t.includes("estate") || t.includes("capital") || t.includes(" of ") || t.includes("trust");
|
|
2083
|
+
}
|
|
2084
|
+
static kFormat(e, t = 0) {
|
|
2085
|
+
if (!e)
|
|
2086
|
+
return null;
|
|
2087
|
+
const a = Math.abs(e), n = Math.sign(e);
|
|
2088
|
+
return a > 999999 ? n * (a / 1e6).toFixed(1) + "m" : a > 999 ? n * (a / 1e3).toFixed(t) + "k" : n * a;
|
|
2089
|
+
}
|
|
2090
|
+
static async logRequest(e = null, t = null, a = null, n = null, r = null) {
|
|
2091
|
+
const s = {
|
|
2092
|
+
name: e,
|
|
2093
|
+
uuid: t,
|
|
2094
|
+
ip: a,
|
|
2095
|
+
url: n,
|
|
2096
|
+
data: r
|
|
2097
|
+
};
|
|
2098
|
+
return await H.createData("/api/client?query=log/save&method=POST", s), null;
|
|
2099
|
+
}
|
|
2100
|
+
static loadAds() {
|
|
2101
|
+
window.dataLayer = window.dataLayer || [];
|
|
2102
|
+
const e = document.querySelectorAll(".adsbygoogle");
|
|
2103
|
+
window.ezstandalone = window.ezstandalone || {}, ezstandalone.cmd = ezstandalone.cmd || [];
|
|
2104
|
+
const t = [];
|
|
2105
|
+
for (let a = 0; a < e.length; a++)
|
|
2106
|
+
t.push(parseInt(e[a].dataset.adSlot));
|
|
2107
|
+
console.info("loadAds", t), t.length && ezstandalone.cmd.push(function() {
|
|
2108
|
+
ezstandalone.define(...t), ezstandalone.enable(), ezstandalone.display();
|
|
2109
|
+
});
|
|
2110
|
+
}
|
|
2111
|
+
static async loadCustomScript({ name: e = null, id: t = "", module: a = !1 } = {}) {
|
|
2112
|
+
if (e) {
|
|
2113
|
+
const n = "/scripts/" + e + ".js?v=100.0.5";
|
|
2114
|
+
try {
|
|
2115
|
+
return await H.injectScript({
|
|
2116
|
+
src: n,
|
|
2117
|
+
id: t || e,
|
|
2118
|
+
async: !1,
|
|
2119
|
+
module: a
|
|
2120
|
+
});
|
|
2121
|
+
} catch (r) {
|
|
2122
|
+
console.error("loadCustomScript", r);
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
return null;
|
|
2126
|
+
}
|
|
2127
|
+
static async loadGoogleMapApi() {
|
|
2128
|
+
if (window.options.googleMapsLoaded === !0)
|
|
2129
|
+
return;
|
|
2130
|
+
const e = "https://maps.googleapis.com/maps/api/js", t = window.options.googleApiKey, a = e + "?key=" + t + "&libraries=marker&v=beta&callback=mapCb";
|
|
2131
|
+
await H.injectScript({ src: a, id: "googleapis", async: !1 });
|
|
2132
|
+
}
|
|
2133
|
+
static async loadLeafletApi() {
|
|
2134
|
+
const e = "https://unpkg.com/leaflet@1.9.3/dist", t = e + "/leaflet.js", a = e + "/leaflet.css", n = "//unpkg.com/leaflet-gesture-handling", r = "//unpkg.com/leaflet-gesture-handling/dist/leaflet-gesture-handling.min.css";
|
|
2135
|
+
await H.injectLink({ href: a, id: "leafletCss" }), await H.injectLink({ href: r, id: "gestureCss" }), await H.injectScript({ src: t, id: "leafletJs", async: !1 }), await H.injectScript({
|
|
2136
|
+
src: n,
|
|
2137
|
+
id: "gestureJs",
|
|
2138
|
+
async: !1
|
|
2139
|
+
});
|
|
2140
|
+
}
|
|
2141
|
+
static loadLiveChat() {
|
|
2142
|
+
const e = document.querySelectorAll(".live-chat"), t = document.getElementById("live-chat-btn");
|
|
2143
|
+
for (const a of e)
|
|
2144
|
+
a.addEventListener("click", () => {
|
|
2145
|
+
typeof LiveChatWidget < "u" && (LiveChatWidget.call("maximize"), t == null || t.remove());
|
|
2146
|
+
});
|
|
2147
|
+
}
|
|
2148
|
+
static async loadSwiper() {
|
|
2149
|
+
const e = "https://cdn.jsdelivr.net/npm", t = `${e}/swiper@9/swiper-bundle.min.js`, a = `${e}/swiper@9/swiper-bundle.min.css`;
|
|
2150
|
+
await H.injectLink({ href: a, id: "swiperCss" }), await H.injectScript({ src: t, id: "swiperJs", async: !1 });
|
|
2151
|
+
}
|
|
2152
|
+
static async makeSearchFetchCall(e) {
|
|
2153
|
+
try {
|
|
2154
|
+
return (await fetch(e, {
|
|
2155
|
+
method: "GET",
|
|
2156
|
+
headers: { "Content-Type": "application/json" }
|
|
2157
|
+
})).json();
|
|
2158
|
+
} catch (t) {
|
|
2159
|
+
console.error("performSearch", t, { url: e });
|
|
2160
|
+
}
|
|
2161
|
+
return [];
|
|
2162
|
+
}
|
|
2163
|
+
static money(e, t = "", a = 0) {
|
|
2164
|
+
return e === null ? t : Intl ? new Intl.NumberFormat("en-US", {
|
|
2165
|
+
style: "currency",
|
|
2166
|
+
currency: "USD",
|
|
2167
|
+
minimumFractionDigits: a,
|
|
2168
|
+
maximumFractionDigits: a
|
|
2169
|
+
}).format(e) : e;
|
|
2170
|
+
}
|
|
2171
|
+
static number(e, t = "", a = 0) {
|
|
2172
|
+
return e === null ? t : Intl ? new Intl.NumberFormat("en-US", {
|
|
2173
|
+
minimumFractionDigits: a,
|
|
2174
|
+
maximumFractionDigits: a
|
|
2175
|
+
}).format(e) : e;
|
|
2176
|
+
}
|
|
2177
|
+
static objToQp(e) {
|
|
2178
|
+
const {
|
|
2179
|
+
name: t = null,
|
|
2180
|
+
first: a = null,
|
|
2181
|
+
middle: n = null,
|
|
2182
|
+
last: r = null,
|
|
2183
|
+
min: s = null,
|
|
2184
|
+
max: l = null,
|
|
2185
|
+
city: o = null,
|
|
2186
|
+
state: c = null,
|
|
2187
|
+
vin: h = null,
|
|
2188
|
+
license: p = null,
|
|
2189
|
+
token: C = null,
|
|
2190
|
+
phone: f = null
|
|
2191
|
+
} = e || {}, y = t && t !== "", M = s && s !== "" && s !== "18", u = l && l !== "" && s !== "99";
|
|
2192
|
+
let V = [];
|
|
2193
|
+
return t && t !== "" && V.push("name=" + t), y || (a && a !== "" && V.push("first=" + a), n && n !== "" && V.push("middle=" + n), r && r !== "" && V.push("last=" + r)), M && u ? parseInt(s) > parseInt(l) ? (V.push("min=" + l), V.push("max=" + s)) : (V.push("min=" + s), V.push("max=" + l)) : (M && V.push("min=" + s), u && V.push("max=" + l)), f && f !== "" && V.push("phone=" + f), o && o !== "" && V.push("city=" + o), p && p !== "" && V.push("license=" + p), h && h !== "" && V.push("vin=" + h), c && c !== "" && V.push("state=" + c), C && C !== "" && V.push("token=" + C), V.join("&");
|
|
2194
|
+
}
|
|
2195
|
+
static padTo2Digits(e) {
|
|
2196
|
+
return e.toString().padStart(2, "0");
|
|
2197
|
+
}
|
|
2198
|
+
static async performSearch(e = null, t = {}) {
|
|
2199
|
+
if (!e)
|
|
2200
|
+
return [];
|
|
2201
|
+
if (1 > e.trim().length)
|
|
2202
|
+
return [];
|
|
2203
|
+
const {
|
|
2204
|
+
addressesOnly: a = !1,
|
|
2205
|
+
useCitySearch: n = !1,
|
|
2206
|
+
useCityStateSearch: r = !1,
|
|
2207
|
+
useSearch: s = !1,
|
|
2208
|
+
useLocation: l = !0,
|
|
2209
|
+
state: o = ""
|
|
2210
|
+
} = t ?? {}, { tolken: c = null, ip: h = null } = await H.getHeaders(), C = [
|
|
2211
|
+
"query=" + encodeURIComponent(this.cleanupAddress(e)),
|
|
2212
|
+
"addressesOnly=" + a,
|
|
2213
|
+
"useSearch=" + s,
|
|
2214
|
+
"useCitySearch=" + n,
|
|
2215
|
+
"useCityStateSearch=" + r,
|
|
2216
|
+
"useLocation=" + l
|
|
2217
|
+
];
|
|
2218
|
+
o && o !== "" && !r && C.push("state=" + o), c && c !== "" && C.push("tolken=" + c), h && h !== "" && C.push("ip=" + h);
|
|
2219
|
+
const f = C.join("&"), M = (n || r ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + f;
|
|
2220
|
+
return await H.makeSearchFetchCall(M);
|
|
2221
|
+
}
|
|
2222
|
+
static removeElements(e) {
|
|
2223
|
+
document.querySelectorAll(e).forEach((t) => t == null ? void 0 : t.remove());
|
|
2224
|
+
}
|
|
2225
|
+
static removeNullFromObject(e) {
|
|
2226
|
+
return Object.keys(e).filter((t) => e[t]).reduce((t, a) => (t[a] = e[a], t), {});
|
|
2227
|
+
}
|
|
2228
|
+
static s(e) {
|
|
2229
|
+
return Math.round(e) > 1 ? "s" : "";
|
|
2230
|
+
}
|
|
2231
|
+
static scrollWheelZoom(e) {
|
|
2232
|
+
e.scrollWheelZoom.disable(), e.on("focus", () => {
|
|
2233
|
+
e.scrollWheelZoom.enable();
|
|
2234
|
+
}), e.on("blur", () => {
|
|
2235
|
+
e.scrollWheelZoom.disable();
|
|
2236
|
+
});
|
|
2237
|
+
}
|
|
2238
|
+
static searchInStates(e) {
|
|
2239
|
+
const t = H.getStates(), a = e.toLowerCase();
|
|
2240
|
+
let n = t.find((r) => r.short.toLowerCase() === a) ?? null;
|
|
2241
|
+
return n || (n = t.find((r) => r.name.toLowerCase() === a) ?? null), n;
|
|
2242
|
+
}
|
|
2243
|
+
static sendWoopraEvent(e, t) {
|
|
2244
|
+
typeof woopra == "object" && woopra.track(e, t);
|
|
2245
|
+
}
|
|
2246
|
+
static setBoundsEntries(e, t = "bounds") {
|
|
2247
|
+
const a = H.getBoundsEntries(t);
|
|
2248
|
+
a.push(e), localStorage.setItem(t, JSON.stringify(a));
|
|
2249
|
+
}
|
|
2250
|
+
static async setCityState(e = null) {
|
|
2251
|
+
let { cityState: t = null } = e ?? {};
|
|
2252
|
+
if (!t)
|
|
2253
|
+
return e;
|
|
2254
|
+
t = t.toLowerCase().replace(" usa", "").replace("city or state", "").replace(" state", "").trim();
|
|
2255
|
+
let [a = null, n = null] = t.split(",").map((r) => r.trim());
|
|
2256
|
+
if (H.getStates(), a && !n) {
|
|
2257
|
+
const r = this.searchInStates(a);
|
|
2258
|
+
r && (a = null, n = r.short);
|
|
2259
|
+
}
|
|
2260
|
+
if (!n && a) {
|
|
2261
|
+
const r = this.searchInStates(a);
|
|
2262
|
+
r && (n = r.short);
|
|
2263
|
+
}
|
|
2264
|
+
if (a && !n) {
|
|
2265
|
+
const r = a.split(" "), s = r[r.length - 1];
|
|
2266
|
+
if (s.length) {
|
|
2267
|
+
const l = this.searchInStates(s);
|
|
2268
|
+
l && (n = l.short, a = r.slice(0, -1).join(" "));
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
return a && n && a.toLowerCase() === n.toLowerCase() && (a = null), e.city = a, e.state = n ? n.toUpperCase() : null, e;
|
|
2272
|
+
}
|
|
2273
|
+
static async setSearchValueClient(e, t = "recsSearchValue") {
|
|
2274
|
+
localStorage.setItem(t, JSON.stringify(e)), await H.createData(`/api/cookie/create?name=${t}`, e);
|
|
2275
|
+
}
|
|
2276
|
+
static stickyHeader(e = ".nav") {
|
|
2277
|
+
const t = document.querySelector(e);
|
|
2278
|
+
if (!t)
|
|
2279
|
+
return;
|
|
2280
|
+
new IntersectionObserver(
|
|
2281
|
+
([n]) => {
|
|
2282
|
+
n && (n.intersectionRatio < 1 ? t.classList.add("intersecting") : t.classList.remove("intersecting"));
|
|
2283
|
+
},
|
|
2284
|
+
{ threshold: 1 }
|
|
2285
|
+
).observe(t);
|
|
2286
|
+
}
|
|
2287
|
+
// Converts numeric degrees to radians
|
|
2288
|
+
static toRad(e) {
|
|
2289
|
+
return e * Math.PI / 180;
|
|
2290
|
+
}
|
|
2291
|
+
static toSlug(e) {
|
|
2292
|
+
return e.toString().trim().toLowerCase().split(":").join("-").split("'").join("").replace("‘", "");
|
|
2293
|
+
}
|
|
2294
|
+
static ucFirst(e = null) {
|
|
2295
|
+
if (!e)
|
|
2296
|
+
return null;
|
|
2297
|
+
const t = e.toLowerCase();
|
|
2298
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
2299
|
+
}
|
|
2300
|
+
static useLayerTitle(e, t) {
|
|
2301
|
+
const a = H.getLayerTitle(e);
|
|
2302
|
+
L.tileLayer(a, {
|
|
2303
|
+
maxNativeZoom: 19,
|
|
2304
|
+
maxZoom: 25,
|
|
2305
|
+
subdomains: ["mt0", "mt1", "mt2", "mt3"],
|
|
2306
|
+
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
|
|
2307
|
+
}).addTo(t);
|
|
2308
|
+
}
|
|
2309
|
+
static ucWords(e) {
|
|
2310
|
+
return e ? e.toString().split(" ").map((t) => H.ucFirst(t)).join(" ") : null;
|
|
2311
|
+
}
|
|
2312
|
+
}
|
|
2313
|
+
export {
|
|
2314
|
+
d1 as Accordion,
|
|
2315
|
+
h1 as Alert,
|
|
2316
|
+
u1 as Autocomplete,
|
|
2317
|
+
p1 as Badge,
|
|
2318
|
+
m1 as Button,
|
|
2319
|
+
V1 as ButtonGroup,
|
|
2320
|
+
H1 as Card,
|
|
2321
|
+
L1 as Checkbox,
|
|
2322
|
+
H as Common,
|
|
2323
|
+
C1 as Container,
|
|
2324
|
+
M1 as Dialog,
|
|
2325
|
+
f1 as DialogOld,
|
|
2326
|
+
g1 as Dots,
|
|
2327
|
+
b as Icon,
|
|
2328
|
+
v1 as LoadingBar,
|
|
2329
|
+
y1 as Popover,
|
|
2330
|
+
b1 as ProgressBar,
|
|
2331
|
+
w1 as Radio,
|
|
2332
|
+
x1 as Select,
|
|
2333
|
+
k1 as Skeleton,
|
|
2334
|
+
S1 as Slider,
|
|
2335
|
+
A1 as Spinner,
|
|
2336
|
+
z1 as Stars,
|
|
2337
|
+
Z1 as TextArea,
|
|
2338
|
+
N1 as Textbox
|
|
2339
|
+
};
|