1"use strict";(()=>{var x=`.fc-widget { 2 position: fixed; 3 bottom: 24px; 4 z-index: var(--fc-z-index, 100); 5 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 6 font-size: 14px; 7 line-height: 1.5; 8 direction: ltr; 9} 10.fc-widget *, .fc-widget *::before, .fc-widget *::after { 11 box-sizing: border-box; 12 margin: 0; 13 padding: 0; 14} 15.fc-widget--left { left: 24px; } 16.fc-widget--right { right: 24px; } 17 18/* \u2500\u2500 Main Button \u2500\u2500 */ 19.fc-widget__btn { 20 width: var(--fc-size, 60px); 21 height: var(--fc-size, 60px); 22 border-radius: var(--fc-btn-radius, 50%); 23 background: var(--fc-btn-bg, #25D366); 24 border: none; 25 cursor: pointer; 26 display: flex; 27 align-items: center; 28 justify-content: center; 29 padding: 0; 30 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 31 transition: transform 0.2s, box-shadow 0.2s; 32 position: relative; 33 outline: none; 34 -webkit-tap-highlight-color: transparent; 35 animation: fc-entrance 0.4s ease-out; 36} 37.fc-widget__btn:hover { 38 transform: scale(1.1); 39 box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); 40} 41.fc-widget__btn:active { transform: scale(0.95); } 42.fc-widget__btn:focus-visible { 43 outline: 3px solid var(--fc-btn-bg, #25D366); 44 outline-offset: 3px; 45} 46.fc-widget__btn svg { 47 width: 60%; 48 height: 60%; 49 fill: #fff; 50 pointer-events: none; 51} 52.fc-widget__btn img { 53 width: 60%; 54 height: 60%; 55 object-fit: contain; 56 pointer-events: none; 57} 58.fc-widget__btn > .fc-widget__emoji { 59 font-size: calc(var(--fc-size, 60px) * 0.5); 60 line-height: 1; 61 pointer-events: none; 62 display: flex; 63 align-items: center; 64 justify-content: center; 65} 66 67/* Icon morph: main icon <-> close icon */ 68.fc-widget__btn-icon, 69.fc-widget__btn-close { 70 position: absolute; 71 width: 60%; 72 height: 60%; 73 display: flex; 74 align-items: center; 75 justify-content: center; 76 transition: opacity 0.25s ease, transform 0.25s ease; 77} 78.fc-widget__btn-icon svg, 79.fc-widget__btn-close svg { 80 width: 100%; 81 height: 100%; 82} 83.fc-widget__btn-icon .fc-widget__emoji { 84 font-size: calc(var(--fc-size, 60px) * 0.5); 85 line-height: 1; 86} 87.fc-widget__btn-close { 88 opacity: 0; 89 transform: rotate(-90deg); 90 svg path { fill: white } 91} 92.fc-widget__btn--open .fc-widget__btn-icon { 93 opacity: 0; 94 transform: rotate(90deg); 95} 96.fc-widget__btn--open .fc-widget__btn-close { 97 opacity: 1; 98 transform: rotate(0deg); 99} 100.fc-widget__btn--open:hover { 101 transform: scale(1.05); 102} 103 104/* \u2500\u2500 Badge \u2500\u2500 */ 105.fc-widget__badge { 106 position: absolute; 107 top: -2px; 108 right: -2px; 109 width: 16px; 110 height: 16px; 111 background: #ff3b30; 112 border-radius: 50%; 113 border: 2px solid #fff; 114 pointer-events: none; 115 animation: fc-pulse 2s ease-in-out infinite; 116} 117 118/* \u2500\u2500 Tooltip \u2500\u2500 */ 119.fc-widget__tip { 120 position: absolute; 121 bottom: calc(var(--fc-size, 60px) + 10px); 122 background: #fff; 123 color: #333; 124 padding: 8px 14px; 125 border-radius: 8px; 126 box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); 127 font-size: 13px; 128 white-space: nowrap; 129 opacity: 0; 130 transform: translateY(6px); 131 transition: opacity 0.25s, transform 0.25s; 132 pointer-events: none; 133} 134.fc-widget--right .fc-widget__tip { right: 0; } 135.fc-widget--left .fc-widget__tip { left: 0; } 136.fc-widget__tip::after { 137 content: ''; 138 position: absolute; 139 bottom: -5px; 140 width: 10px; 141 height: 10px; 142 background: #fff; 143 transform: rotate(45deg); 144 box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.04); 145} 146.fc-widget--right .fc-widget__tip::after { right: 24px; } 147.fc-widget--left .fc-widget__tip::after { left: 24px; } 148.fc-widget__tip--show { 149 opacity: 1; 150 transform: translateY(0); 151} 152 153/* \u2500\u2500 Channel Bar (horizontal / vertical) \u2500\u2500 */ 154.fc-widget__bar { 155 position: absolute; 156 bottom: 0; 157 display: flex; 158 align-items: center; 159 gap: var(--fc-channel-gap, 10px); 160 pointer-events: none; 161} 162/* Right position: bar extends to the left */ 163.fc-widget--right .fc-widget__bar { 164 right: calc(var(--fc-size, 60px) + 14px); 165 flex-direction: row-reverse; 166} 167/* Left position: bar extends to the right */ 168.fc-widget--left .fc-widget__bar { 169 left: calc(var(--fc-size, 60px) + 14px); 170 flex-direction: row; 171} 172/* Vertical mode */ 173.fc-widget--vertical .fc-widget__bar { 174 bottom: calc(var(--fc-size, 60px) + 14px); 175 flex-direction: column-reverse; 176} 177.fc-widget--vertical.fc-widget--right .fc-widget__bar { right: 0; left: auto; }
178.fc-widget--vertical.fc-widget--left .fc-widget__bar { left: 0; right: auto; } 179 180.fc-widget__bar--open { pointer-events: auto; } 181 182/* \u2500\u2500 Channel Button \u2500\u2500 */ 183.fc-widget__channel { 184 width: var(--fc-channel-size, var(--fc-size, 60px)); 185 height: var(--fc-channel-size, var(--fc-size, 60px)); 186 border-radius: var(--fc-channel-radius, var(--fc-btn-radius, 50%)); 187 border: none; 188 cursor: pointer; 189 display: flex; 190 align-items: center; 191 justify-content: center; 192 padding: 0; 193 opacity: 0; 194 transform: scale(0.3); 195 transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s; 196 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); 197 outline: none; 198 -webkit-tap-highlight-color: transparent; 199 flex-shrink: 0; 200} 201.fc-widget__channel > span { 202 display: contents; 203} 204.fc-widget__channel svg { 205 width: 55%; 206 height: 55%; 207 fill: #fff; 208 pointer-events: none; 209} 210.fc-widget__channel img { 211 width: 55%; 212 height: 55%; 213 object-fit: contain; 214 pointer-events: none; 215} 216.fc-widget__channel .fc-widget__emoji { 217 font-size: calc(var(--fc-channel-size, var(--fc-size, 60px)) * 0.45); 218 line-height: 1; 219 pointer-events: none; 220} 221.fc-widget__channel:hover { 222 transform: scale(1.12) !important; 223 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); 224} 225.fc-widget__channel:active { transform: scale(0.95) !important; } 226.fc-widget__channel:focus-visible { 227 outline: 3px solid rgba(255, 255, 255, 0.8); 228 outline-offset: 2px; 229} 230 231/* Stagger animation: each child gets a progressively longer delay */ 232.fc-widget__bar--open .fc-widget__channel { 233 opacity: 1; 234 transform: scale(1); 235} 236.fc-widget__bar--open .fc-widget__channel:nth-child(1) { transition-delay: 0ms; } 237.fc-widget__bar--open .fc-widget__channel:nth-child(2) { transition-delay: 50ms; } 238.fc-widget__bar--open .fc-widget__channel:nth-child(3) { transition-delay: 80ms; } 239.fc-widget__bar--open .fc-widget__channel:nth-child(4) { transition-delay: 110ms; } 240.fc-widget__bar--open .fc-widget__channel:nth-child(5) { transition-delay: 140ms; } 241.fc-widget__bar--open .fc-widget__channel:nth-child(6) { transition-delay: 170ms; } 242.fc-widget__bar--open .fc-widget__channel:nth-child(7) { transition-delay: 200ms; } 243.fc-widget__bar--open .fc-widget__channel:nth-child(8) { transition-delay: 230ms; } 244.fc-widget__bar--open .fc-widget__channel:nth-child(9) { transition-delay: 260ms; } 245.fc-widget__bar--open .fc-widget__channel:nth-child(10) { transition-delay: 290ms; } 246/* Reverse stagger on close */ 247.fc-widget__channel:nth-child(1) { transition-delay: 200ms; } 248.fc-widget__channel:nth-child(2) { transition-delay: 170ms; } 249.fc-widget__channel:nth-child(3) { transition-delay: 150ms; } 250.fc-widget__channel:nth-child(4) { transition-delay: 130ms; } 251.fc-widget__channel:nth-child(5) { transition-delay: 110ms; } 252.fc-widget__channel:nth-child(6) { transition-delay: 80ms; } 253.fc-widget__channel:nth-child(7) { transition-delay: 60ms; } 254.fc-widget__channel:nth-child(8) { transition-delay: 40ms; } 255.fc-widget__channel:nth-child(9) { transition-delay: 20ms; } 256.fc-widget__channel:nth-child(10) { transition-delay: 0ms; } 257 258/* \u2500\u2500 Popup \u2500\u2500 */ 259.fc-widget__popup { 260 position: absolute; 261 bottom: calc(var(--fc-size, 60px) + 16px); 262 width: 350px; 263 max-width: calc(100vw - 48px); 264 border-radius: 16px; 265 overflow: hidden; 266 background: #fff; 267 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); 268 opacity: 0; 269 transform: translateY(12px) scale(0.96); 270 transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; 271 pointer-events: none; 272 visibility: hidden; 273} 274.fc-widget--right .fc-widget__popup { right: 0; } 275.fc-widget--left .fc-widget__popup { left: 0; } 276.fc-widget__popup--open { 277 opacity: 1; 278 transform: translateY(0) scale(1); 279 pointer-events: auto; 280 visibility: visible; 281} 282 283/* Header */ 284.fc-widget__head { 285 color: #fff; 286 padding: 14px 16px; 287 display: flex; 288 align-items: center; 289 justify-content: space-between; 290 gap: 12px; 291} 292.fc-widget__title { 293 font-size: 15px; 294 font-weight: 600; 295 display: flex; 296 align-items: center; 297 gap: 8px; 298} 299.fc-widget__title-icon { 300 width: 18px;
301 height: 18px; 302 flex-shrink: 0; 303 display: flex; 304 align-items: center; 305 justify-content: center; 306} 307.fc-widget__title-icon svg { 308 width: 18px; 309 height: 18px; 310 fill: #fff; 311} 312.fc-widget__title-icon .fc-widget__emoji { 313 font-size: 16px; 314 line-height: 1; 315} 316.fc-widget__x { 317 background: none; 318 border: none; 319 color: rgba(255, 255, 255, 0.8); 320 cursor: pointer; 321 width: 28px; 322 height: 28px; 323 display: flex; 324 align-items: center; 325 justify-content: center; 326 border-radius: 50%; 327 transition: background 0.2s, color 0.2s; 328 flex-shrink: 0; 329 outline: none; 330} 331.fc-widget__x:hover { 332 background: rgba(255, 255, 255, 0.15); 333 color: #fff; 334} 335.fc-widget__x:focus-visible { outline: 2px solid #fff; } 336.fc-widget__x svg { 337 width: 16px; 338 height: 16px; 339} 340 341/* Body */ 342.fc-widget__body { 343 padding: 20px 16px; 344 background: #ECE5DD; 345 min-height: 60px; 346} 347.fc-widget__msg { 348 background: #fff; 349 padding: 8px 12px; 350 border-radius: 0 8px 8px 8px; 351 font-size: 13.5px; 352 color: #303030; 353 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); 354 max-width: 88%; 355 position: relative; 356 line-height: 1.45; 357} 358.fc-widget__msg::before { 359 content: ''; 360 position: absolute; 361 top: 0; 362 left: -7px; 363 border-top: 6px solid #fff; 364 border-left: 7px solid transparent; 365} 366 367/* Input */ 368.fc-widget__foot { 369 padding: 10px 12px; 370 background: #f0f2f5; 371 display: flex; 372 align-items: flex-end; 373 gap: 8px; 374} 375.fc-widget__text { 376 flex: 1; 377 border: none; 378 background: #fff; 379 border-radius: 20px; 380 padding: 10px 16px; 381 font-size: 14px; 382 font-family: inherit; 383 resize: none; 384 outline: none; 385 max-height: 96px; 386 min-height: 42px; 387 line-height: 1.35; 388 color: #333; 389} 390.fc-widget__text::placeholder { color: #999; } 391.fc-widget__text:focus { 392 box-shadow: 0 0 0 1.5px var(--fc-btn-bg, #25D366); 393} 394.fc-widget__go { 395 width: 42px; 396 height: 42px; 397 border-radius: 50%; 398 border: none; 399 cursor: pointer; 400 display: flex; 401 align-items: center; 402 justify-content: center; 403 padding: 0; 404 flex-shrink: 0; 405 transition: filter 0.2s, transform 0.1s; 406 outline: none; 407 -webkit-tap-highlight-color: transparent; 408} 409.fc-widget__go:hover { filter: brightness(1.08); } 410.fc-widget__go:active { transform: scale(0.92); } 411.fc-widget__go:focus-visible { 412 outline: 3px solid var(--fc-btn-bg, #25D366); 413 outline-offset: 2px; 414} 415.fc-widget__go svg { 416 width: 18px; 417 height: 18px; 418 fill: #fff; 419 pointer-events: none; 420} 421 422/* \u2500\u2500 Dark mode \u2500\u2500 */ 423.fc-widget--dark .fc-widget__popup { background: #111b21; } 424.fc-widget--dark .fc-widget__body { background: #0b141a; } 425.fc-widget--dark .fc-widget__msg { background: #202c33; color: #e9edef; } 426.fc-widget--dark .fc-widget__msg::before { border-top-color: #202c33; } 427.fc-widget--dark .fc-widget__foot { background: #1f2c33; } 428.fc-widget--dark .fc-widget__text { background: #2a3942; color: #e9edef; } 429.fc-widget--dark .fc-widget__text::placeholder { color: #8696a0; } 430.fc-widget--dark .fc-widget__tip { background: #233138; color: #e9edef; } 431.fc-widget--dark .fc-widget__tip::after { background: #233138; } 432.fc-widget--dark .fc-widget__badge { border-color: #111b21; } 433 434/* \u2500\u2500 Auto mode: follow system preference \u2500\u2500 */ 435@media (prefers-color-scheme: dark) { 436 .fc-widget--auto .fc-widget__popup { background: #111b21; } 437 .fc-widget--auto .fc-widget__body { background: #0b141a; } 438 .fc-widget--auto .fc-widget__msg { background: #202c33; color: #e9edef; } 439 .fc-widget--auto .fc-widget__msg::before { border-top-color: #202c33; } 440 .fc-widget--auto .fc-widget__foot { background: #1f2c33; } 441 .fc-widget--auto .fc-widget__text { background: #2a3942; color: #e9edef; } 442 .fc-widget--auto .fc-widget__text::placeholder { color: #8696a0; } 443 .fc-widget--auto .fc-widget__tip { background: #233138; color: #e9edef; } 444 .fc-widget--auto .fc-widget__tip::after { background: #233138; } 445 .fc-widget--auto .fc-widget__badge { border-color: #111b21; } 446} 447 448/* \u2500\u2500 Animations \u2500\u2500 */ 449@keyframes fc-entrance { 450 from { transform: scale(0) rotate(-45deg); opacity: 0; } 451 to { transform: scale(1) rotate(0); opacity: 1; } 452} 453@keyframes fc-pulse { 454 0%, 100% { transform: scale(1); opacity: 1; } 455 50% { transform: scale(1.2); opacity: 0.7; } 456} 457 458/* \u2500\u2500 Mobile \u2500\u2500 */ 459@media (max-width: 480px) { 460 .fc-widget { bottom: 16px; } 461 .fc-widget--left { left: 16px; } 462 .fc-widget--right { right: 16px; } 463 .fc-widget__popup { border-radius: 12px; } 464 /* Auto-switch to vertical on mobile for horizontal mode */ 465 .fc-widget:not(.fc-widget--vertical) .fc-widget__bar { 466 bottom: calc(var(--fc-size, 60px) + 14px); 467 flex-direction: column-reverse; 468 right: 0; 469 left: auto; 470 } 471 .fc-widget--left:not(.fc-widget--vertical) .fc-widget__bar { 472 left: 0; 473 right: auto; 474 } 475 .fc-widget__x { 476 width: 44px; 477 height: 44px;
478 } 479 .fc-widget__go { 480 width: 44px; 481 height: 44px; 482 } 483} 484 485/* \u2500\u2500 Reduced motion \u2500\u2500 */ 486@media (prefers-reduced-motion: reduce) { 487 .fc-widget__btn, 488 .fc-widget__channel, 489 .fc-widget__popup, 490 .fc-widget__btn-icon, 491 .fc-widget__btn-close, 492 .fc-widget__tip, 493 .fc-widget__badge { 494 animation: none; 495 transition: none; 496 } 497} 498`;var C='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg>';var y='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.479.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>';var E='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 1 0 0-12.324zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405a1.441 1.441 0 0 1-2.88 0 1.441 1.441 0 0 1 2.88 0z"/></svg>';var k='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M.001 11.639C.001 4.949 5.241 0 12.001 0S24 4.95 24 11.639c0 6.689-5.24 11.638-12 11.638-1.21 0-2.38-.16-3.47-.46a.96.96 0 0 0-.64.05l-2.39 1.05a.96.96 0 0 1-1.35-.85l-.07-2.14a.97.97 0 0 0-.32-.68A11.39 11.389 0 0 1 .002 11.64zm8.32-2.19-3.52 5.6c-.35.53.32 1.139.82.75l3.79-2.87c.26-.2.6-.2.87 0l2.8 2.1c.84.63 2.04.4 2.6-.48l3.52-5.6c.35-.53-.32-1.13-.82-.75l-3.79 2.87c-.25.2-.6.2-.86 0l-2.8-2.1a1.8 1.8 0 0 0-2.61.48z"/></svg>';var z='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"/></svg>';var M='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.
49867-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>';var S='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM7 9h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"/></svg>';var L='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M11.4 0C9.473.028 5.333.344 3.02 2.467 1.302 4.187.541 6.793.46 10.035c-.081 3.245-.19 9.329 5.7 10.968l.005.002h.008l-.003 2.51s-.037.998.627 1.203c.764.25 1.19-.476 1.907-1.258l1.323-1.489c3.639.313 6.436-.394 6.752-.503.727-.253 4.835-.762 5.503-6.222.69-5.632-.325-9.19-2.095-10.799C18.647.573 12.19.009 11.4 0zM11.57 1.727c4.703.048 8.065 1.26 9.479 2.497 1.46 1.328 2.354 4.466 1.749 9.39-.557 4.49-3.875 4.88-4.48 5.09-.265.092-2.655.688-5.74.507 0 0-2.275 2.746-2.986 3.458-.112.114-.245.158-.335.136-.125-.03-.16-.178-.159-.394l.02-3.752C4.48 17.109 4.2 12.092 4.267 9.888c.068-2.728.68-4.937 2.07-6.291 1.883-1.726 5.235-1.87 5.235-1.87zm.36 3.065c-.211 0-.21.327 0 .333 1.757.073 3.26.785 4.31 1.895 1.014 1.07 1.498 2.478 1.583 4.157.007.217.335.208.328-.007-.09-1.802-.614-3.333-1.718-4.498-1.136-1.2-2.766-1.977-4.5-2.055v.175zm-3.702 1.17c-.354-.008-.707.095-.99.346L6.531 6.97c-.48.41-.733.94-.728 1.586.006 1.237.63 3.586 2.794 5.975 1.346 1.486 3.895 3.458 6.605 4.2.416.113.836.082 1.212-.17l.862-.66c.507-.39.542-1.064.098-1.519l-1.604-1.64c-.389-.398-.937-.39-1.35-.044l-.726.6c-.2.168-.499.135-.499.135l-.01.003c-2.447-.66-3.715-2.003-4.356-4.44 0 0-.031-.285.138-.488l.589-.751c.34-.41.362-.963-.037-1.364l-1.576-1.645a1.1 1.1 0 0 0-.793-.38v.194zm4.36.627c-.206 0-.197.32.009.327.973.044 1.81.387 2.387 1.008.553.594.77 1.33.827 2.263.01.207.336.2.327-.008-.062-1.012-.303-1.862-.928-2.535-.642-.69-1.59-1.054-2.621-1.055zm.36 1.645c-.2-.005-.205.296-.003.318.59.063 1.083.52 1.148 1.283.01.21.334.2.324-.009-.076-.888-.652-1.459-1.37-1.575a.6.6 0 0 0-.1-.017z"/></svg>';var O='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"/></svg>';var T='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm3.68 4.025c-3.781 0-7.027 2.610-7.027 6.029 0 3.417 3.246 6.03 7.027 6.03.711 0 1.397-.087 2.064-.243a.67.67 0 0 1 .546.068l1.391.815a.24.24 0 0 0 .122.04.214.214 0 0 0 .212-.215c0-.052-.02-.105-.035-.156l-.283-1.08a.46.46 0 0 1 .157-.497c1.397-1.032 2.281-2.595 2.281-4.312 0-3.419-3.246-6.479-6.455-6.479zm-2.348 3.275c.48 0 .87.397.87.883 0 .488-.39.883-.87.883a.877.877 0 0 1-.87-.883c0-.486.39-.883.87-.883zm4.693 0c.481 0 .871.397.871.883a.877.877 0 0 1-.87.883.877.877 0 0 1-.871-.883c0-.486.39-.883.87-.883z"/></svg>';var B='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08
498-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"/></svg>';var H='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg>';var h='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12z"/></svg>';var m='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>';var b='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>';var v={whatsapp:C,telegram:y,instagram:E,messenger:k,email:z,phone:M,sms:S,viber:L,line:O,wechat:T,tiktok:B,x:H,chat:h};var P={whatsapp:{color:"#25D366",icon:"whatsapp"},telegram:{color:"#26A5E4",icon:"telegram"},instagram:{color:"#E4405F",icon:"instagram"},messenger:{color:"#006AFF",icon:"messenger"},email:{color:"#D44638",icon:"email"},phone:{color:"#34B7F1",icon:"phone"},sms:{color:"#4CAF50",icon:"sms"},viber:{color:"#7360F2",icon:"viber"},line:{color:"#00C300",icon:"line"},wechat:{color:"#09B83E",icon:"wechat"},tiktok:{color:"#000000",icon:"tiktok"},x:{color:"#000000",icon:"x"}};function w(t,e){let n=t.replace(/\D/g,"");return e?`https://wa.me/${n}?text=${encodeURIComponent(e)}`:`https://wa.me/${n}`}var I={position:"right",size:"60px",backgroundColor:"#6C5CE7",buttonIcon:"",buttonShape:"circle",borderRadius:"",zIndex:100,notification:!1,notificationMessage:"",darkMode:!1,container:"body",expandDirection:"horizontal",autoOpenTimeout:0};function D(t){let e=t.trim();return e.length===0||e.length>16?!1:/^(?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F)(?:\u200D(?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F)|\p{Emoji_Modifier})*$/u.test(e)}function u(t){if(t in v){let n=document.createElement("span");return n.insertAdjacentHTML("afterbegin",v[t]),n}if(D(t)){let n=document.createElement("span");return n.className="fc-widget__emoji",n.textContent=t.trim(),n}if(t.trim().startsWith("<svg")){let n=document.createElement("span");return n.insertAdjacentHTML("afterbegin",t),n}let e=document.createElement("img");return e.src=t,e.alt="",e}function _(t,e){t.insertAdjacentHTML("beforeend",e)}function R(t){let e=P[t.id];return e&&(t.color||(t.color=e.color),t.icon||(t.icon=e.icon)),t.color||(t.color="#6C5CE7"),t.icon||(t.icon="chat"),t}var g=class t{constructor(e){this.el=null;this.barEl=null;this.popupEl=null;this.tipEl=null;this.btnEl=null;this.isBarOpen=!1;this.isPopupOpen=!1;this.activeChannel=null;this.timer=null;this.escHandler=null;this.outsideHandler=null;if(!e.channels?.length)throw new Error("FloatingContact: at least one channel is required.");e.channels=e.channels.map(n=>R({...n})),this.opts={...I,...e},this.injectStyles(),this.render(),this.bind(),this.scheduleAutoOpen()}static init(e){return new t(e)}static whatsapp(e){let n={id:"whatsapp",label:e.headerTitle??"WhatsApp Chat",color:e.backgroundColor??"#25D366",icon:e.buttonImage||"whatsapp",phone:e.phone,message:e.message??"",popupMessage:e.popupMessage??"Hi! How can we help you?",placeholder:e.placeholder,headerColor:e.headerColor??"#075E54",action:e.showPopup!==!1?{type:"popup"}:{type:"link",url:w(e.phone,e.message)},onSend:void 0};return new t({channels:[n],position:e.position,size:e.size,backgroundColor:e.backgroundColor??"#25D366",buttonShape:e.buttonShape,borderRadius:e.borderRadius,zIndex:e.zIndex,notification:e.notification,notificationMessage:e.notificationMessage,darkMode:e.darkMode,container:e.container,autoOpenTimeout:e.autoOpenTimeout,onOpen:e.onOpen?()=>e.onOpen():void 0,onClose:void 0,onPopupOpen:e.onPopupOpen?()=>e.onPopupOpen():void 0,onPopupClose:e.onPopupClose})}open(){if(this.isSingleChannel()){let e=this.opts.channels[0];e.action.type==="popup"?this.openPopup(e):this.handleChannelAction(e)}else this.openBar()}close(){this.isPopupOpen&&this.closePopup(),this.isBarOpen&&this.closeBar()}toggle(){if(this.isSingleChannel()){let e=this.opts.channels[0];e.action.type==="popup"?this.isPopupOpen?this.closePopup():this.openPopup(e):this.handleChannelAction(e)}else this.isBarOpen?this.closeBar():this.openBar()}
498openPopup(e){this.popupEl?this.updatePopupForChannel(e):this.renderPopup(e),this.activeChannel=e,this.popupEl.classList.add("fc-widget__popup--open"),this.tipEl?.classList.remove("fc-widget__tip--show"),this.isPopupOpen=!0,this.popupEl.querySelector(".fc-widget__text")?.focus(),this.opts.onPopupOpen?.(e)}closePopup(){!this.popupEl||!this.isPopupOpen||(this.popupEl.classList.remove("fc-widget__popup--open"),this.isPopupOpen=!1,this.activeChannel=null,this.opts.onPopupClose?.())}destroy(){this.timer&&clearTimeout(this.timer),this.escHandler&&document.removeEventListener("keydown",this.escHandler),this.outsideHandler&&document.removeEventListener("mousedown",this.outsideHandler),this.el?.remove(),this.el=null,this.barEl=null,this.popupEl=null,this.tipEl=null,this.btnEl=null}isSingleChannel(){return this.opts.channels.length===1}injectStyles(){if(document.getElementById("fc-widget-css"))return;let e=document.createElement("style");e.id="fc-widget-css",e.textContent=x,document.head.appendChild(e)}getContainer(){let e=this.opts.container;return typeof e=="string"?document.querySelector(e)??document.body:e??document.body}render(){let e=this.opts,n=this.isSingleChannel(),i=e.channels[0],o=document.createElement("div"),a=e.darkMode==="auto"?" fc-widget--auto":e.darkMode?" fc-widget--dark":"";if(o.className=`fc-widget fc-widget--${e.position}${a}${e.expandDirection==="vertical"?" fc-widget--vertical":""}`,o.style.setProperty("--fc-size",e.size),o.style.setProperty("--fc-z-index",String(e.zIndex)),e.borderRadius?o.style.setProperty("--fc-btn-radius",e.borderRadius):e.buttonShape==="rounded"?o.style.setProperty("--fc-btn-radius","12px"):e.buttonShape==="square"&&o.style.setProperty("--fc-btn-radius","0"),n?o.style.setProperty("--fc-btn-bg",i.color):(o.style.setProperty("--fc-btn-bg",e.backgroundColor),this.renderChannelBar(o)),e.notificationMessage){let s=document.createElement("div");s.className="fc-widget__tip",s.textContent=e.notificationMessage,o.appendChild(s),this.tipEl=s}this.renderMainButton(o,n,i),this.el=o,this.getContainer().appendChild(o)}renderMainButton(e,n,i){let o=this.opts,a=document.createElement("button");if(a.className="fc-widget__btn",a.type="button",a.setAttribute("aria-label",n?i.label:"Open contact options"),n)a.appendChild(u(i.icon));else{let s=document.createElement("span");s.className="fc-widget__btn-icon",o.buttonIcon?s.appendChild(u(o.buttonIcon)):_(s,h),a.appendChild(s);let r=document.createElement("span");r.className="fc-widget__btn-close",_(r,m),a.appendChild(r)}if(o.notification){let s=document.createElement("span");s.className="fc-widget__badge",a.appendChild(s)}e.appendChild(a),this.btnEl=a}renderChannelBar(e){let n=document.createElement("div");n.className="fc-widget__bar",n.setAttribute("role","toolbar"),n.setAttribute("aria-label","Contact channels"),this.opts.channels.forEach((i,o)=>{let a=document.createElement("button");a.className="fc-widget__channel",a.type="button",a.style.background=i.color,a.setAttribute("aria-label",i.label),a.setAttribute("title",i.label),a.dataset.channelId=i.id,a.appendChild(u(i.icon)),o>=10&&(a.style.transitionDelay=`${o*30}ms`),n.appendChild(a)}),e.appendChild(n),this.barEl=n}renderPopup(e){let n=document.createElement("div");n.className="fc-widget__popup",n.setAttribute("role","dialog"),n.setAttribute("aria-label",e.label);let i=document.createElement("div");i.className="fc-widget__head",i.style.background=e.headerColor??e.color;let o=document.createElement("span");o.className="fc-widget__title";let a=document.createElement("span");a.className="fc-widget__title-icon",a.appendChild(u(e.icon)),o.appendChild(a);let s=document.createElement("span");s.className="fc-widget__title-text",s.textContent=e.label,o.appendChild(s),i.appendChild(o);let r=document.createElement("button");r.className="fc-widget__x",r.type="button",r.setAttribute("aria-label","Close"),_(r,m),i.appendChild(r),n.appendChild(i);let f=document.createElement("div");if(f.className="fc-widget__body",e.popupMessage){let p=document.createElement("div");p.className="fc-widget__msg",p.textContent=e.popupMessage,f.appendChild(p)}n.appendChild(f);
498let l=document.createElement("div");l.className="fc-widget__foot";let c=document.createElement("textarea");c.className="fc-widget__text",c.placeholder=e.placeholder??"Type a message...",c.rows=1,c.setAttribute("aria-label","Message"),l.appendChild(c);let d=document.createElement("button");d.className="fc-widget__go",d.type="button",d.setAttribute("aria-label","Send"),d.style.background=e.headerColor??e.color,_(d,b),l.appendChild(d),n.appendChild(l),this.el.insertBefore(n,this.el.firstChild),this.popupEl=n,r.addEventListener("click",()=>this.closePopup()),d.addEventListener("click",()=>this.send()),c.addEventListener("keydown",p=>{p.key==="Enter"&&!p.shiftKey&&(p.preventDefault(),this.send())}),c.addEventListener("input",()=>{c.style.height="auto",c.style.height=`${Math.min(c.scrollHeight,96)}px`})}updatePopupForChannel(e){if(!this.popupEl)return;let n=this.popupEl.querySelector(".fc-widget__head");n.style.background=e.headerColor??e.color;let i=n.querySelector(".fc-widget__title-icon");i.textContent="",i.appendChild(u(e.icon));let o=n.querySelector(".fc-widget__title-text");o.textContent=e.label;let a=this.popupEl.querySelector(".fc-widget__msg");if(a)a.textContent=e.popupMessage??"";else if(e.popupMessage){let f=this.popupEl.querySelector(".fc-widget__body"),l=document.createElement("div");l.className="fc-widget__msg",l.textContent=e.popupMessage,f.appendChild(l)}let s=this.popupEl.querySelector(".fc-widget__text");s&&(s.placeholder=e.placeholder??"Type a message...",s.value="",s.style.height="auto");let r=this.popupEl.querySelector(".fc-widget__go");r&&(r.style.background=e.headerColor??e.color),this.popupEl.setAttribute("aria-label",e.label)}bind(){this.el&&(this.btnEl.addEventListener("click",()=>this.toggle()),this.barEl?.addEventListener("click",e=>{let n=e.target.closest(".fc-widget__channel");if(!n)return;let i=n.dataset.channelId,o=this.opts.channels.find(a=>a.id===i);o&&(this.opts.onChannelClick?.(o),this.handleChannelAction(o))}),this.escHandler=e=>{e.key==="Escape"&&(this.isPopupOpen?this.closePopup():this.isBarOpen&&this.closeBar())},document.addEventListener("keydown",this.escHandler),this.outsideHandler=e=>{this.el?.contains(e.target)||(this.isPopupOpen&&this.closePopup(),this.isBarOpen&&this.closeBar())},document.addEventListener("mousedown",this.outsideHandler),this.tipEl&&(this.btnEl.addEventListener("mouseenter",()=>{!this.isBarOpen&&!this.isPopupOpen&&this.tipEl?.classList.add("fc-widget__tip--show")}),this.btnEl.addEventListener("mouseleave",()=>{this.tipEl?.classList.remove("fc-widget__tip--show")})),this.opts.notification&&this.btnEl.addEventListener("click",()=>{this.el?.querySelector(".fc-widget__badge")?.remove()},{once:!0}))}handleChannelAction(e){switch(e.action.type){case"link":{let n=this.resolveChannelUrl(e);window.open(n,e.action.target??"_blank","noopener"),this.closeBar();break}case"popup":this.closeBar(),this.openPopup(e);break;case"callback":e.action.handler(e),this.closeBar();break}}resolveChannelUrl(e){return e.action.type!=="link"?"":e.phone&&e.id==="whatsapp"?w(e.phone,e.message):e.action.url}openBar(){this.isBarOpen||(this.isPopupOpen&&this.closePopup(),this.barEl?.classList.add("fc-widget__bar--open"),this.btnEl?.classList.add("fc-widget__btn--open"),this.tipEl?.classList.remove("fc-widget__tip--show"),this.isBarOpen=!0,this.opts.onOpen?.())}closeBar(){this.isBarOpen&&(this.barEl?.classList.remove("fc-widget__bar--open"),this.btnEl?.classList.remove("fc-widget__btn--open"),this.isBarOpen=!1,this.opts.onClose?.())}scheduleAutoOpen(){let{autoOpenTimeout:e}=this.opts;e>0&&(this.timer=setTimeout(()=>this.open(),e))}send(){let e=this.popupEl?.querySelector(".fc-widget__text"),n=e?.value?.trim()||"",i=this.activeChannel;if(i){if(i.onSend)i.onSend(n,i);else if(i.phone){let o=n||i.message||"",a=w(i.phone,o);window.open(a,"_blank","noopener")}e&&(e.value="",e.style.height="auto"),this.closePopup()}}},A=typeof document<"u"?document.currentScript:null;function N(){if(!A)return;let t=A.dataset;if(t.channels){try{let n={channels:JSON.parse(t.channels)};t.position&&(n.position=t.position),t.size&&(n.size=t.size),t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.buttonIcon&&(n.buttonIcon=t.buttonIcon),t.buttonShape&&(n.buttonShape=t.buttonShape),t.borderRadius&&(n.borderRadius=t.borderRadius),t.expandDirection&&(n.expandDirection=t.expandDirection),t.darkMode==="true"?n.darkMode=!0:t.darkMode==="auto"&&(n.darkMode="auto"),t.notification==="true"&&(n.notification=!0),t.notificationMessage&&(n.notificationMessage=t.notificationMessage),t.zIndex&&(n.zIndex=Number(t.zIndex)),t.autoOpenTimeout&&(n.autoOpenTimeout=Number(t.autoOpenTimeout)),g.init(n)}catch(e){console.error("FloatingContact: invalid data-channels JSON",e)}return}if(t.phone){let e={};for(let[n,i]of Object.entries(t))i==="true"?e[n]=!0:i==="false"?e[n]=!1:i!==""&&/^\d+$/.test(i)?e[n]=Number(i):e[n]=i;g.whatsapp(e)}}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",N):N());typeof globalThis<"u"&&(globalThis.FloatingContact=g,globalThis.FloatingWhatsApp=g);})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.