1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/css/pc-CwU--dHr.css","static/css/m-CLZGLby2.css"])))=>i.map(i=>d[i]); 2let __vite_legacy_guard; 3let __tla = (async () => { 4 __vite_legacy_guard = function() { 5 import.meta.url, import("_").then(async (m2) => { 6 await m2.__tla; 7 return m2; 8 }).catch(() => 1), async function* () { 9 }().next(); 10 }; 11 (function() { 12 const o = document.createElement("link").relList; 13 if (o && o.supports && o.supports("modulepreload")) return; 14 for (const b of document.querySelectorAll('link[rel="modulepreload"]')) g(b); 15 new MutationObserver((b) => { 16 for (const $ of b) if ($.type === "childList") for (const _e of $.addedNodes) _e.tagName === "LINK" && _e.rel === "modulepreload" && g(_e); 17 }).observe(document, { 18 childList: true, 19 subtree: true 20 }); 21 function h(b) { 22 const $ = {}; 23 return b.integrity && ($.integrity = b.integrity), b.referrerPolicy && ($.referrerPolicy = b.referrerPolicy), b.crossOrigin === "use-credentials" ? $.credentials = "include" : b.crossOrigin === "anonymous" ? $.credentials = "omit" : $.credentials = "same-origin", $; 24 } 25 function g(b) { 26 if (b.ep) return; 27 b.ep = true; 28 const $ = h(b); 29 fetch(b.href, $); 30 } 31 })(); 32 const scriptRel = "modulepreload", assetsURL = function(d) { 33 return "/" + d; 34 }, seen = {}, __vitePreload = function(o, h, g) { 35 let b = Promise.resolve(); 36 if (h && h.length > 0) { 37 document.getElementsByTagName("link"); 38 const _e = document.querySelector("meta[property=csp-nonce]"), et = (_e == null ? void 0 : _e.nonce) || (_e == null ? void 0 : _e.getAttribute("nonce")); 39 b = Promise.allSettled(h.map((tt) => { 40 if (tt = assetsURL(tt), tt in seen) return; 41 seen[tt] = true; 42 const rt = tt.endsWith(".css"), nt = rt ? '[rel="stylesheet"]' : ""; 43 if (document.querySelector('link[href="'.concat(tt, '"]').concat(nt))) return; 44 const st = document.createElement("link"); 45 if (st.rel = rt ? "stylesheet" : scriptRel, rt || (st.as = "script"), st.crossOrigin = "", st.href = tt, et && st.setAttribute("nonce", et), document.head.appendChild(st), rt) return new Promise((ot, it) => { 46 st.addEventListener("load", ot), st.addEventListener("error", () => it(new Error("Unable to preload CSS for ".concat(tt)))); 47 }); 48 })); 49 } 50 function $(_e) { 51 const et = new Event("vite:preloadError", { 52 cancelable: true 53 }); 54 if (et.payload = _e, window.dispatchEvent(et), !et.defaultPrevented) throw _e; 55 } 56 return b.then((_e) => { 57 for (const et of _e || []) et.status === "rejected" && $(et.reason); 58 return o().catch($); 59 }); 60 }; 61 var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; 62 function getDefaultExportFromCjs(d) { 63 return d && d.__esModule && Object.prototype.hasOwnProperty.call(d, "default") ? d.default : d; 64 } 65 var jsxRuntime = { 66 exports: {} 67 }, reactJsxRuntime_production_min = {}, react = { 68 exports: {} 69 }, react_production_min = {}; 70 var l$1 = Symbol.for("react.element"), n$2 = Symbol.for("react.portal"), p$2 = Symbol.for("react.fragment"), q$1 = Symbol.for("react.strict_mode"), r$1 = Symbol.for("react.profiler"), t$1 = Symbol.for("react.provider"), u = Symbol.for("react.context"), v$1 = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), z$1 = Symbol.iterator; 71 function A$1(d) { 72 return d === null || typeof d != "object" ? null : (d = z$1 && d[z$1] || d["@@iterator"], typeof d == "function" ? d : null); 73 } 74 var B$1 = { 75 isMounted: function() { 76 return false; 77 }, 78 enqueueForceUpdate: function() { 79 }, 80 enqueueReplaceState: function() { 81 }, 82 enqueueSetState: function() { 83 } 84 }, C$1 = Object.assign, D$1 = {}; 85 function E$1(d, o, h) { 86 this.props = d, this.context = o, this.refs = D$1, this.updater = h || B$1; 87 } 88 E$1.prototype.isReactComponent = {}; 89 E$1.prototype.setState = function(d, o) { 90 if (typeof d != "object" && typeof d != "function" && d != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); 91 this.updater.enqueueSetState(this, d, o, "setState"); 92 }; 93 E$1.prototype.forceUpdate = function(d) { 94 this.updater.enqueueForceUpdate(this, d, "forceUpdate"); 95 }; 96 function F() { 97 } 98 F.prototype = E$1.prototype; 99 function G$1(d, o, h) { 100 this.props = d, this.context = o, this.refs = D$1, this.updater = h || B$1; 101 } 102 var H$1 = G$1.prototype = new F(); 103 H$1.constructor = G$1; 104 C$1(H$1, E$1.prototype); 105 H$1.isPureReactComponent = true; 106 var I$1 = Array.isArray, J = Object.prototype.hasOwnProperty, K$1 = { 107 current: null 108 }, L$1 = { 109 key: true, 110 ref: true, 111 __self: true, 112 __source: true 113 }; 114 function M$1(d, o, h) { 115 var g, b = {}, $ = null, _e = null; 116 if (o != null) for (g in o.ref !== void 0 && (_e = o.ref), o.key !== void 0 && ($ = "" + o.key), o) J.call(o, g) && !L$1.hasOwnProperty(g) && (b[g] = o[g]); 117 var et = arguments.length - 2; 118 if (et === 1) b.children = h; 119 else if (1 < et) { 120 for (var tt = Array(et), rt = 0; rt < et; rt++) tt[rt] = arguments[rt + 2]; 121 b.children = tt; 122 } 123 if (d && d.defaultProps) for (g in et = d.defaultProps, et) b[g] === void 0 && (b[g] = et[g]); 124 return { 125 $$typeof: l$1, 126 type: d, 127 key: $, 128 ref: _e, 129 props: b, 130 _owner: K$1.current 131 }; 132 } 133 function N$1(d, o) { 134 return { 135 $$typeof: l$1, 136 type: d.type, 137 key: o, 138 ref: d.ref, 139 props: d.props, 140 _owner: d._owner 141 }; 142 } 143 function O$1(d) { 144 return typeof d == "object" && d !== null && d.$$typeof === l$1; 145 } 146 function escape$1(d) { 147 var o = { 148 "=": "=0", 149 ":": "=2" 150 }; 151 return "$" + d.replace(/[=:]/g, function(h) { 152 return o[h]; 153 }); 154 } 155 var P$1 = /\/+/g; 156 function Q$1(d, o) { 157 return typeof d == "object" && d !== null && d.key != null ? escape$1("" + d.key) : o.toString(36); 158 } 159 function R$1(d, o, h, g, b) { 160 var $ = typeof d; 161 ($ === "undefined" || $ === "boolean") && (d = null); 162 var _e = false;
vendor: 7,007 bytes, lines 163-380
163 if (d === null) _e = true; 164 else switch ($) { 165 case "string": 166 case "number": 167 _e = true; 168 break; 169 case "object": 170 switch (d.$$typeof) { 171 case l$1: 172 case n$2: 173 _e = true; 174 } 175 } 176 if (_e) return _e = d, b = b(_e), d = g === "" ? "." + Q$1(_e, 0) : g, I$1(b) ? (h = "", d != null && (h = d.replace(P$1, "$&/") + "/"), R$1(b, o, h, "", function(rt) { 177 return rt; 178 })) : b != null && (O$1(b) && (b = N$1(b, h + (!b.key || _e && _e.key === b.key ? "" : ("" + b.key).replace(P$1, "$&/") + "/") + d)), o.push(b)), 1; 179 if (_e = 0, g = g === "" ? "." : g + ":", I$1(d)) for (var et = 0; et < d.length; et++) { 180 $ = d[et]; 181 var tt = g + Q$1($, et); 182 _e += R$1($, o, h, tt, b); 183 } 184 else if (tt = A$1(d), typeof tt == "function") for (d = tt.call(d), et = 0; !($ = d.next()).done; ) $ = $.value, tt = g + Q$1($, et++), _e += R$1($, o, h, tt, b); 185 else if ($ === "object") throw o = String(d), Error("Objects are not valid as a React child (found: " + (o === "[object Object]" ? "object with keys {" + Object.keys(d).join(", ") + "}" : o) + "). If you meant to render a collection of children, use an array instead."); 186 return _e; 187 } 188 function S$1(d, o, h) { 189 if (d == null) return d; 190 var g = [], b = 0; 191 return R$1(d, g, "", "", function($) { 192 return o.call(h, $, b++); 193 }), g; 194 } 195 function T$1(d) { 196 if (d._status === -1) { 197 var o = d._result; 198 o = o(), o.then(function(h) { 199 (d._status === 0 || d._status === -1) && (d._status = 1, d._result = h); 200 }, function(h) { 201 (d._status === 0 || d._status === -1) && (d._status = 2, d._result = h); 202 }), d._status === -1 && (d._status = 0, d._result = o); 203 } 204 if (d._status === 1) return d._result.default; 205 throw d._result; 206 } 207 var U$1 = { 208 current: null 209 }, V$1 = { 210 transition: null 211 }, W$1 = { 212 ReactCurrentDispatcher: U$1, 213 ReactCurrentBatchConfig: V$1, 214 ReactCurrentOwner: K$1 215 }; 216 function X$1() { 217 throw Error("act(...) is not supported in production builds of React."); 218 } 219 react_production_min.Children = { 220 map: S$1, 221 forEach: function(d, o, h) { 222 S$1(d, function() { 223 o.apply(this, arguments); 224 }, h); 225 }, 226 count: function(d) { 227 var o = 0; 228 return S$1(d, function() { 229 o++; 230 }), o; 231 }, 232 toArray: function(d) { 233 return S$1(d, function(o) { 234 return o; 235 }) || []; 236 }, 237 only: function(d) { 238 if (!O$1(d)) throw Error("React.Children.only expected to receive a single React element child."); 239 return d; 240 } 241 }; 242 react_production_min.Component = E$1; 243 react_production_min.Fragment = p$2; 244 react_production_min.Profiler = r$1; 245 react_production_min.PureComponent = G$1; 246 react_production_min.StrictMode = q$1; 247 react_production_min.Suspense = w; 248 react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W$1; 249 react_production_min.act = X$1; 250 react_production_min.cloneElement = function(d, o, h) { 251 if (d == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + d + "."); 252 var g = C$1({}, d.props), b = d.key, $ = d.ref, _e = d._owner; 253 if (o != null) { 254 if (o.ref !== void 0 && ($ = o.ref, _e = K$1.current), o.key !== void 0 && (b = "" + o.key), d.type && d.type.defaultProps) var et = d.type.defaultProps; 255 for (tt in o) J.call(o, tt) && !L$1.hasOwnProperty(tt) && (g[tt] = o[tt] === void 0 && et !== void 0 ? et[tt] : o[tt]); 256 } 257 var tt = arguments.length - 2; 258 if (tt === 1) g.children = h; 259 else if (1 < tt) { 260 et = Array(tt); 261 for (var rt = 0; rt < tt; rt++) et[rt] = arguments[rt + 2]; 262 g.children = et; 263 } 264 return { 265 $$typeof: l$1, 266 type: d.type, 267 key: b, 268 ref: $, 269 props: g, 270 _owner: _e 271 }; 272 }; 273 react_production_min.createContext = function(d) { 274 return d = { 275 $$typeof: u, 276 _currentValue: d, 277 _currentValue2: d, 278 _threadCount: 0, 279 Provider: null, 280 Consumer: null, 281 _defaultValue: null, 282 _globalName: null 283 }, d.Provider = { 284 $$typeof: t$1, 285 _context: d 286 }, d.Consumer = d; 287 }; 288 react_production_min.createElement = M$1; 289 react_production_min.createFactory = function(d) { 290 var o = M$1.bind(null, d); 291 return o.type = d, o; 292 }; 293 react_production_min.createRef = function() { 294 return { 295 current: null 296 }; 297 }; 298 react_production_min.forwardRef = function(d) { 299 return { 300 $$typeof: v$1, 301 render: d 302 }; 303 }; 304 react_production_min.isValidElement = O$1; 305 react_production_min.lazy = function(d) { 306 return { 307 $$typeof: y, 308 _payload: { 309 _status: -1, 310 _result: d 311 }, 312 _init: T$1 313 }; 314 }; 315 react_production_min.memo = function(d, o) { 316 return { 317 $$typeof: x, 318 type: d, 319 compare: o === void 0 ? null : o 320 }; 321 }; 322 react_production_min.startTransition = function(d) { 323 var o = V$1.transition; 324 V$1.transition = {}; 325 try { 326 d(); 327 } finally { 328 V$1.transition = o; 329 } 330 }; 331 react_production_min.unstable_act = X$1; 332 react_production_min.useCallback = function(d, o) { 333 return U$1.current.useCallback(d, o); 334 }; 335 react_production_min.useContext = function(d) { 336 return U$1.current.useContext(d); 337 }; 338 react_production_min.useDebugValue = function() { 339 }; 340 react_production_min.useDeferredValue = function(d) { 341 return U$1.current.useDeferredValue(d); 342 }; 343 react_production_min.useEffect = function(d, o) { 344 return U$1.current.useEffect(d, o); 345 }; 346 react_production_min.useId = function() { 347 return U$1.current.useId(); 348 }; 349 react_production_min.useImperativeHandle = function(d, o, h) { 350 return U$1.current.useImperativeHandle(d, o, h); 351 }; 352 react_production_min.useInsertionEffect = function(d, o) { 353 return U$1.current.useInsertionEffect(d, o); 354 }; 355 react_production_min.useLayoutEffect = function(d, o) { 356 return U$1.current.useLayoutEffect(d, o); 357 }; 358 react_production_min.useMemo = function(d, o) { 359 return U$1.current.useMemo(d, o); 360 }; 361 react_production_min.useReducer = function(d, o, h) { 362 return U$1.current.useReducer(d, o, h); 363 }; 364 react_production_min.useRef = function(d) { 365 return U$1.current.useRef(d); 366 }; 367 react_production_min.useState = function(d) { 368 return U$1.current.useState(d); 369 }; 370 react_production_min.useSyncExternalStore = function(d, o, h) { 371 return U$1.current.useSyncExternalStore(d, o, h); 372 }; 373 react_production_min.useTransition = function() { 374 return U$1.current.useTransition(); 375 }; 376 react_production_min.version = "18.3.1"; 377 react.exports = react_production_min; 378 var reactExports = react.exports; 379 const React$1 = getDefaultExportFromCjs(reactExports); 380 var f = reactExports, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m$1 = Object.prototype.hasOwnProperty, n$1 = f.__SECRET_INT
380ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p$1 = { 381 key: true, 382 ref: true, 383 __self: true, 384 __source: true 385 }; 386 function q(d, o, h) { 387 var g, b = {}, $ = null, _e = null; 388 h !== void 0 && ($ = "" + h), o.key !== void 0 && ($ = "" + o.key), o.ref !== void 0 && (_e = o.ref); 389 for (g in o) m$1.call(o, g) && !p$1.hasOwnProperty(g) && (b[g] = o[g]); 390 if (d && d.defaultProps) for (g in o = d.defaultProps, o) b[g] === void 0 && (b[g] = o[g]); 391 return { 392 $$typeof: k, 393 type: d, 394 key: $, 395 ref: _e, 396 props: b, 397 _owner: n$1.current 398 }; 399 } 400 reactJsxRuntime_production_min.Fragment = l; 401 reactJsxRuntime_production_min.jsx = q; 402 reactJsxRuntime_production_min.jsxs = q; 403 jsxRuntime.exports = reactJsxRuntime_production_min; 404 var jsxRuntimeExports = jsxRuntime.exports, client = {}, reactDom = { 405 exports: {} 406 }, reactDom_production_min = {}, scheduler = { 407 exports: {} 408 }, scheduler_production_min = {}; 409 (function(d) { 410 function o(Mt, Vt) { 411 var Et = Mt.length; 412 Mt.push(Vt); 413 e: for (; 0 < Et; ) { 414 var Ht = Et - 1 >>> 1, Kt = Mt[Ht]; 415 if (0 < b(Kt, Vt)) Mt[Ht] = Vt, Mt[Et] = Kt, Et = Ht; 416 else break e; 417 } 418 } 419 function h(Mt) { 420 return Mt.length === 0 ? null : Mt[0]; 421 } 422 function g(Mt) { 423 if (Mt.length === 0) return null; 424 var Vt = Mt[0], Et = Mt.pop(); 425 if (Et !== Vt) { 426 Mt[0] = Et; 427 e: for (var Ht = 0, Kt = Mt.length, ir = Kt >>> 1; Ht < ir; ) { 428 var sr = 2 * (Ht + 1) - 1, Er = Mt[sr], $t = sr + 1, pr = Mt[$t]; 429 if (0 > b(Er, Et)) $t < Kt && 0 > b(pr, Er) ? (Mt[Ht] = pr, Mt[$t] = Et, Ht = $t) : (Mt[Ht] = Er, Mt[sr] = Et, Ht = sr); 430 else if ($t < Kt && 0 > b(pr, Et)) Mt[Ht] = pr, Mt[$t] = Et, Ht = $t; 431 else break e; 432 } 433 } 434 return Vt; 435 } 436 function b(Mt, Vt) { 437 var Et = Mt.sortIndex - Vt.sortIndex; 438 return Et !== 0 ? Et : Mt.id - Vt.id; 439 } 440 if (typeof performance == "object" && typeof performance.now == "function") { 441 var $ = performance; 442 d.unstable_now = function() { 443 return $.now(); 444 }; 445 } else { 446 var _e = Date, et = _e.now(); 447 d.unstable_now = function() { 448 return _e.now() - et; 449 }; 450 } 451 var tt = [], rt = [], nt = 1, st = null, ot = 3, it = false, at = false, lt = false, ct = typeof setTimeout == "function" ? setTimeout : null, ut = typeof clearTimeout == "function" ? clearTimeout : null, ft = typeof setImmediate < "u" ? setImmediate : null; 452 typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); 453 function dt(Mt) { 454 for (var Vt = h(rt); Vt !== null; ) { 455 if (Vt.callback === null) g(rt); 456 else if (Vt.startTime <= Mt) g(rt), Vt.sortIndex = Vt.expirationTime, o(tt, Vt); 457 else break; 458 Vt = h(rt); 459 } 460 } 461 function pt(Mt) { 462 if (lt = false, dt(Mt), !at) if (h(tt) !== null) at = true, Dt(ht); 463 else { 464 var Vt = h(rt); 465 Vt !== null && Ot(pt, Vt.startTime - Mt); 466 } 467 } 468 function ht(Mt, Vt) { 469 at = false, lt && (lt = false, ut(yt), yt = -1), it = true; 470 var Et = ot; 471 try { 472 for (dt(Vt), st = h(tt); st !== null && (!(st.expirationTime > Vt) || Mt && !St()); ) { 473 var Ht = st.callback; 474 if (typeof Ht == "function") { 475 st.callback = null, ot = st.priorityLevel; 476 var Kt = Ht(st.expirationTime <= Vt); 477 Vt = d.unstable_now(), typeof Kt == "function" ? st.callback = Kt : st === h(tt) && g(tt), dt(Vt); 478 } else g(tt); 479 st = h(tt); 480 } 481 if (st !== null) var ir = true; 482 else { 483 var sr = h(rt); 484 sr !== null && Ot(pt, sr.startTime - Vt), ir = false; 485 } 486 return ir; 487 } finally { 488 st = null, ot = Et, it = false; 489 } 490 } 491 var mt = false, gt = null, yt = -1, xt = 5, _t = -1; 492 function St() { 493 return !(d.unstable_now() - _t < xt); 494 } 495 function kt() { 496 if (gt !== null) { 497 var Mt = d.unstable_now(); 498 _t = Mt; 499 var Vt = true; 500 try { 501 Vt = gt(true, Mt); 502 } finally { 503 Vt ? Rt() : (mt = false, gt = null); 504 } 505 } else mt = false;
vendor: 4,595 bytes, lines 506-632
506 } 507 var Rt; 508 if (typeof ft == "function") Rt = function() { 509 ft(kt); 510 }; 511 else if (typeof MessageChannel < "u") { 512 var Tt = new MessageChannel(), Yt = Tt.port2; 513 Tt.port1.onmessage = kt, Rt = function() { 514 Yt.postMessage(null); 515 }; 516 } else Rt = function() { 517 ct(kt, 0); 518 }; 519 function Dt(Mt) { 520 gt = Mt, mt || (mt = true, Rt()); 521 } 522 function Ot(Mt, Vt) { 523 yt = ct(function() { 524 Mt(d.unstable_now()); 525 }, Vt); 526 } 527 d.unstable_IdlePriority = 5, d.unstable_ImmediatePriority = 1, d.unstable_LowPriority = 4, d.unstable_NormalPriority = 3, d.unstable_Profiling = null, d.unstable_UserBlockingPriority = 2, d.unstable_cancelCallback = function(Mt) { 528 Mt.callback = null; 529 }, d.unstable_continueExecution = function() { 530 at || it || (at = true, Dt(ht)); 531 }, d.unstable_forceFrameRate = function(Mt) { 532 0 > Mt || 125 < Mt ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : xt = 0 < Mt ? Math.floor(1e3 / Mt) : 5; 533 }, d.unstable_getCurrentPriorityLevel = function() { 534 return ot; 535 }, d.unstable_getFirstCallbackNode = function() { 536 return h(tt); 537 }, d.unstable_next = function(Mt) { 538 switch (ot) { 539 case 1: 540 case 2: 541 case 3: 542 var Vt = 3; 543 break; 544 default: 545 Vt = ot; 546 } 547 var Et = ot; 548 ot = Vt; 549 try { 550 return Mt(); 551 } finally { 552 ot = Et; 553 } 554 }, d.unstable_pauseExecution = function() { 555 }, d.unstable_requestPaint = function() { 556 }, d.unstable_runWithPriority = function(Mt, Vt) { 557 switch (Mt) { 558 case 1: 559 case 2: 560 case 3: 561 case 4: 562 case 5: 563 break; 564 default: 565 Mt = 3; 566 } 567 var Et = ot; 568 ot = Mt; 569 try { 570 return Vt(); 571 } finally { 572 ot = Et; 573 } 574 }, d.unstable_scheduleCallback = function(Mt, Vt, Et) { 575 var Ht = d.unstable_now(); 576 switch (typeof Et == "object" && Et !== null ? (Et = Et.delay, Et = typeof Et == "number" && 0 < Et ? Ht + Et : Ht) : Et = Ht, Mt) { 577 case 1: 578 var Kt = -1; 579 break; 580 case 2: 581 Kt = 250; 582 break; 583 case 5: 584 Kt = 1073741823; 585 break; 586 case 4: 587 Kt = 1e4; 588 break; 589 default: 590 Kt = 5e3; 591 } 592 return Kt = Et + Kt, Mt = { 593 id: nt++, 594 callback: Vt, 595 priorityLevel: Mt, 596 startTime: Et, 597 expirationTime: Kt, 598 sortIndex: -1 599 }, Et > Ht ? (Mt.sortIndex = Et, o(rt, Mt), h(tt) === null && Mt === h(rt) && (lt ? (ut(yt), yt = -1) : lt = true, Ot(pt, Et - Ht))) : (Mt.sortIndex = Kt, o(tt, Mt), at || it || (at = true, Dt(ht))), Mt; 600 }, d.unstable_shouldYield = St, d.unstable_wrapCallback = function(Mt) { 601 var Vt = ot; 602 return function() { 603 var Et = ot; 604 ot = Vt; 605 try { 606 return Mt.apply(this, arguments); 607 } finally { 608 ot = Et; 609 } 610 }; 611 }; 612 })(scheduler_production_min); 613 scheduler.exports = scheduler_production_min; 614 var schedulerExports = scheduler.exports; 615 var aa = reactExports, ca = schedulerExports; 616 function p(d) { 617 for (var o = "https://reactjs.org/docs/error-decoder.html?invariant=" + d, h = 1; h < arguments.length; h++) o += "&args[]=" + encodeURIComponent(arguments[h]); 618 return "Minified React error #" + d + "; visit " + o + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; 619 } 620 var da = /* @__PURE__ */ new Set(), ea = {}; 621 function fa(d, o) { 622 ha(d, o), ha(d + "Capture", o); 623 } 624 function ha(d, o) { 625 for (ea[d] = o, d = 0; d < o.length; d++) da.add(o[d]); 626 } 627 var ia = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), ja = Object.prototype.hasOwnProperty, ka = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, la = {}, ma = {}; 628 function oa(d) { 629 return ja.call(ma, d) ? true : ja.call(la, d) ? false : ka.test(d) ? ma[d] = true : (la[d] = true, false); 630 } 631 function pa(d, o, h, g) { 632 if (h !== null && h.type === 0) return false;
633 switch (typeof o) { 634 case "function": 635 case "symbol": 636 return true; 637 case "boolean": 638 return g ? false : h !== null ? !h.acceptsBooleans : (d = d.toLowerCase().slice(0, 5), d !== "data-" && d !== "aria-"); 639 default: 640 return false; 641 } 642 } 643 function qa(d, o, h, g) { 644 if (o === null || typeof o > "u" || pa(d, o, h, g)) return true; 645 if (g) return false; 646 if (h !== null) switch (h.type) { 647 case 3: 648 return !o; 649 case 4: 650 return o === false; 651 case 5: 652 return isNaN(o); 653 case 6: 654 return isNaN(o) || 1 > o; 655 } 656 return false; 657 } 658 function v(d, o, h, g, b, $, _e) { 659 this.acceptsBooleans = o === 2 || o === 3 || o === 4, this.attributeName = g, this.attributeNamespace = b, this.mustUseProperty = h, this.propertyName = d, this.type = o, this.sanitizeURL = $, this.removeEmptyString = _e; 660 } 661 var z = {}; 662 "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(d) { 663 z[d] = new v(d, 0, false, d, null, false, false); 664 }); 665 [ 666 [ 667 "acceptCharset", 668 "accept-charset" 669 ], 670 [ 671 "className", 672 "class" 673 ], 674 [ 675 "htmlFor", 676 "for" 677 ], 678 [ 679 "httpEquiv", 680 "http-equiv" 681 ] 682 ].forEach(function(d) { 683 var o = d[0]; 684 z[o] = new v(o, 1, false, d[1], null, false, false); 685 }); 686 [ 687 "contentEditable", 688 "draggable", 689 "spellCheck", 690 "value" 691 ].forEach(function(d) { 692 z[d] = new v(d, 2, false, d.toLowerCase(), null, false, false); 693 }); 694 [ 695 "autoReverse", 696 "externalResourcesRequired", 697 "focusable", 698 "preserveAlpha" 699 ].forEach(function(d) { 700 z[d] = new v(d, 2, false, d, null, false, false); 701 }); 702 "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(d) { 703 z[d] = new v(d, 3, false, d.toLowerCase(), null, false, false); 704 }); 705 [ 706 "checked", 707 "multiple", 708 "muted", 709 "selected" 710 ].forEach(function(d) { 711 z[d] = new v(d, 3, true, d, null, false, false); 712 }); 713 [ 714 "capture", 715 "download" 716 ].forEach(function(d) { 717 z[d] = new v(d, 4, false, d, null, false, false); 718 }); 719 [ 720 "cols", 721 "rows", 722 "size", 723 "span" 724 ].forEach(function(d) { 725 z[d] = new v(d, 6, false, d, null, false, false); 726 }); 727 [ 728 "rowSpan", 729 "start" 730 ].forEach(function(d) { 731 z[d] = new v(d, 5, false, d.toLowerCase(), null, false, false); 732 }); 733 var ra = /[\-:]([a-z])/g; 734 function sa(d) { 735 return d[1].toUpperCase(); 736 } 737 "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(d) { 738 var o = d.replace(ra, sa); 739 z[o] = new v(o, 1, false, d, null, false, false); 740 }); 741 "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(d) { 742 var o = d.replace(ra, sa); 743 z[o] = new v(o, 1, false, d, "http://www.w3.org/1999/xlink", false, false); 744 }); 745 [ 746 "xml:base", 747 "xml:lang", 748 "xml:space" 749 ].forEach(function(d) { 750 var o = d.replace(ra, sa); 751 z[o] = new v(o, 1, false, d, "http://www.w3.org/XML/1998/namespace", false, false); 752 }); 753 [ 754 "tabIndex", 755 "crossOrigin" 756 ].forEach(function(d) { 757 z[d] = new v(d, 1, false, d.toLowerCase(), null, false, false); 758 }); 759 z.xlinkHref = new v("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); 760 [ 761 "src", 762 "href", 763 "action", 764 "formAction" 765 ].forEach(function(d) { 766 z[d] = new v(d, 1, false, d.toLowerCase(), null, true, true); 767 }); 768 function ta(d, o, h, g) { 769 var b = z.hasOwnProperty(o) ? z[o] : null; 770 (b !== null ? b.type !== 0 : g || !(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N") && (qa(o, h, b, g) && (h = null), g || b === null ? oa(o) && (h === null ? d.removeAttribute(o) : d.setAttribute(o, "" + h)) : b.mustUseProperty ? d[b.propertyName] = h === null ? b.type === 3 ? false : "" : h : (o = b.attributeName, g = b.attributeNamespace, h === null ? d.removeAttribute(o) : (b = b.type, h = b === 3 || b === 4 && h === true ? "" : "" + h, g ? d.setAttributeNS(g, o, h) : d.setAttribute(o, h)))); 771 }
vendor: 4,380 bytes, lines 772-909
772 var ua$2 = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, va = Symbol.for("react.element"), wa = Symbol.for("react.portal"), ya = Symbol.for("react.fragment"), za = Symbol.for("react.strict_mode"), Aa = Symbol.for("react.profiler"), Ba = Symbol.for("react.provider"), Ca = Symbol.for("react.context"), Da = Symbol.for("react.forward_ref"), Ea = Symbol.for("react.suspense"), Fa = Symbol.for("react.suspense_list"), Ga = Symbol.for("react.memo"), Ha = Symbol.for("react.lazy"), Ia = Symbol.for("react.offscreen"), Ja = Symbol.iterator; 773 function Ka(d) { 774 return d === null || typeof d != "object" ? null : (d = Ja && d[Ja] || d["@@iterator"], typeof d == "function" ? d : null); 775 } 776 var A = Object.assign, La; 777 function Ma(d) { 778 if (La === void 0) try { 779 throw Error(); 780 } catch (h) { 781 var o = h.stack.trim().match(/\n( *(at )?)/); 782 La = o && o[1] || ""; 783 } 784 return "\n" + La + d; 785 } 786 var Na = false; 787 function Oa(d, o) { 788 if (!d || Na) return ""; 789 Na = true; 790 var h = Error.prepareStackTrace; 791 Error.prepareStackTrace = void 0; 792 try { 793 if (o) if (o = function() { 794 throw Error(); 795 }, Object.defineProperty(o.prototype, "props", { 796 set: function() { 797 throw Error(); 798 } 799 }), typeof Reflect == "object" && Reflect.construct) { 800 try { 801 Reflect.construct(o, []); 802 } catch (rt) { 803 var g = rt; 804 } 805 Reflect.construct(d, [], o); 806 } else { 807 try { 808 o.call(); 809 } catch (rt) { 810 g = rt; 811 } 812 d.call(o.prototype); 813 } 814 else { 815 try { 816 throw Error(); 817 } catch (rt) { 818 g = rt; 819 } 820 d(); 821 } 822 } catch (rt) { 823 if (rt && g && typeof rt.stack == "string") { 824 for (var b = rt.stack.split("\n"), $ = g.stack.split("\n"), _e = b.length - 1, et = $.length - 1; 1 <= _e && 0 <= et && b[_e] !== $[et]; ) et--; 825 for (; 1 <= _e && 0 <= et; _e--, et--) if (b[_e] !== $[et]) { 826 if (_e !== 1 || et !== 1) do 827 if (_e--, et--, 0 > et || b[_e] !== $[et]) { 828 var tt = "\n" + b[_e].replace(" at new ", " at "); 829 return d.displayName && tt.includes("<anonymous>") && (tt = tt.replace("<anonymous>", d.displayName)), tt; 830 } 831 while (1 <= _e && 0 <= et); 832 break; 833 } 834 } 835 } finally { 836 Na = false, Error.prepareStackTrace = h; 837 } 838 return (d = d ? d.displayName || d.name : "") ? Ma(d) : ""; 839 } 840 function Pa(d) { 841 switch (d.tag) { 842 case 5: 843 return Ma(d.type); 844 case 16: 845 return Ma("Lazy"); 846 case 13: 847 return Ma("Suspense"); 848 case 19: 849 return Ma("SuspenseList"); 850 case 0: 851 case 2: 852 case 15: 853 return d = Oa(d.type, false), d; 854 case 11: 855 return d = Oa(d.type.render, false), d; 856 case 1: 857 return d = Oa(d.type, true), d; 858 default: 859 return ""; 860 } 861 } 862 function Qa(d) { 863 if (d == null) return null; 864 if (typeof d == "function") return d.displayName || d.name || null; 865 if (typeof d == "string") return d; 866 switch (d) { 867 case ya: 868 return "Fragment"; 869 case wa: 870 return "Portal"; 871 case Aa: 872 return "Profiler"; 873 case za: 874 return "StrictMode"; 875 case Ea: 876 return "Suspense"; 877 case Fa: 878 return "SuspenseList"; 879 } 880 if (typeof d == "object") switch (d.$$typeof) { 881 case Ca: 882 return (d.displayName || "Context") + ".Consumer"; 883 case Ba: 884 return (d._context.displayName || "Context") + ".Provider"; 885 case Da: 886 var o = d.render; 887 return d = d.displayName, d || (d = o.displayName || o.name || "", d = d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"), d; 888 case Ga: 889 return o = d.displayName || null, o !== null ? o : Qa(d.type) || "Memo"; 890 case Ha: 891 o = d._payload, d = d._init; 892 try { 893 return Qa(d(o)); 894 } catch (e2) { 895 } 896 } 897 return null; 898 } 899 function Ra(d) { 900 var o = d.type; 901 switch (d.tag) { 902 case 24: 903 return "Cache"; 904 case 9: 905 return (o.displayName || "Context") + ".Consumer"; 906 case 10: 907 return (o._context.displayName || "Context") + ".Provider"; 908 case 18: 909 return "DehydratedFragment";
vendor: 5,728 bytes, lines 910-1090
910 case 11: 911 return d = o.render, d = d.displayName || d.name || "", o.displayName || (d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"); 912 case 7: 913 return "Fragment"; 914 case 5: 915 return o; 916 case 4: 917 return "Portal"; 918 case 3: 919 return "Root"; 920 case 6: 921 return "Text"; 922 case 16: 923 return Qa(o); 924 case 8: 925 return o === za ? "StrictMode" : "Mode"; 926 case 22: 927 return "Offscreen"; 928 case 12: 929 return "Profiler"; 930 case 21: 931 return "Scope"; 932 case 13: 933 return "Suspense"; 934 case 19: 935 return "SuspenseList"; 936 case 25: 937 return "TracingMarker"; 938 case 1: 939 case 0: 940 case 17: 941 case 2: 942 case 14: 943 case 15: 944 if (typeof o == "function") return o.displayName || o.name || null; 945 if (typeof o == "string") return o; 946 } 947 return null; 948 } 949 function Sa(d) { 950 switch (typeof d) { 951 case "boolean": 952 case "number": 953 case "string": 954 case "undefined": 955 return d; 956 case "object": 957 return d; 958 default: 959 return ""; 960 } 961 } 962 function Ta(d) { 963 var o = d.type; 964 return (d = d.nodeName) && d.toLowerCase() === "input" && (o === "checkbox" || o === "radio"); 965 } 966 function Ua(d) { 967 var o = Ta(d) ? "checked" : "value", h = Object.getOwnPropertyDescriptor(d.constructor.prototype, o), g = "" + d[o]; 968 if (!d.hasOwnProperty(o) && typeof h < "u" && typeof h.get == "function" && typeof h.set == "function") { 969 var b = h.get, $ = h.set; 970 return Object.defineProperty(d, o, { 971 configurable: true, 972 get: function() { 973 return b.call(this); 974 }, 975 set: function(_e) { 976 g = "" + _e, $.call(this, _e); 977 } 978 }), Object.defineProperty(d, o, { 979 enumerable: h.enumerable 980 }), { 981 getValue: function() { 982 return g; 983 }, 984 setValue: function(_e) { 985 g = "" + _e; 986 }, 987 stopTracking: function() { 988 d._valueTracker = null, delete d[o]; 989 } 990 }; 991 } 992 } 993 function Va(d) { 994 d._valueTracker || (d._valueTracker = Ua(d)); 995 } 996 function Wa(d) { 997 if (!d) return false; 998 var o = d._valueTracker; 999 if (!o) return true; 1000 var h = o.getValue(), g = ""; 1001 return d && (g = Ta(d) ? d.checked ? "true" : "false" : d.value), d = g, d !== h ? (o.setValue(d), true) : false; 1002 } 1003 function Xa(d) { 1004 if (d = d || (typeof document < "u" ? document : void 0), typeof d > "u") return null; 1005 try { 1006 return d.activeElement || d.body; 1007 } catch (e2) { 1008 return d.body; 1009 } 1010 } 1011 function Ya(d, o) { 1012 var h = o.checked; 1013 return A({}, o, { 1014 defaultChecked: void 0, 1015 defaultValue: void 0, 1016 value: void 0, 1017 checked: h != null ? h : d._wrapperState.initialChecked 1018 }); 1019 } 1020 function Za(d, o) { 1021 var h = o.defaultValue == null ? "" : o.defaultValue, g = o.checked != null ? o.checked : o.defaultChecked; 1022 h = Sa(o.value != null ? o.value : h), d._wrapperState = { 1023 initialChecked: g, 1024 initialValue: h, 1025 controlled: o.type === "checkbox" || o.type === "radio" ? o.checked != null : o.value != null 1026 }; 1027 } 1028 function ab(d, o) { 1029 o = o.checked, o != null && ta(d, "checked", o, false); 1030 } 1031 function bb(d, o) { 1032 ab(d, o); 1033 var h = Sa(o.value), g = o.type; 1034 if (h != null) g === "number" ? (h === 0 && d.value === "" || d.value != h) && (d.value = "" + h) : d.value !== "" + h && (d.value = "" + h); 1035 else if (g === "submit" || g === "reset") { 1036 d.removeAttribute("value"); 1037 return; 1038 } 1039 o.hasOwnProperty("value") ? cb(d, o.type, h) : o.hasOwnProperty("defaultValue") && cb(d, o.type, Sa(o.defaultValue)), o.checked == null && o.defaultChecked != null && (d.defaultChecked = !!o.defaultChecked); 1040 } 1041 function db(d, o, h) { 1042 if (o.hasOwnProperty("value") || o.hasOwnProperty("defaultValue")) { 1043 var g = o.type; 1044 if (!(g !== "submit" && g !== "reset" || o.value !== void 0 && o.value !== null)) return; 1045 o = "" + d._wrapperState.initialValue, h || o === d.value || (d.value = o), d.defaultValue = o; 1046 } 1047 h = d.name, h !== "" && (d.name = ""), d.defaultChecked = !!d._wrapperState.initialChecked, h !== "" && (d.name = h); 1048 } 1049 function cb(d, o, h) { 1050 (o !== "number" || Xa(d.ownerDocument) !== d) && (h == null ? d.defaultValue = "" + d._wrapperState.initialValue : d.defaultValue !== "" + h && (d.defaultValue = "" + h)); 1051 } 1052 var eb = Array.isArray; 1053 function fb(d, o, h, g) { 1054 if (d = d.options, o) { 1055 o = {}; 1056 for (var b = 0; b < h.length; b++) o["$" + h[b]] = true; 1057 for (h = 0; h < d.length; h++) b = o.hasOwnProperty("$" + d[h].value), d[h].selected !== b && (d[h].selected = b), b && g && (d[h].defaultSelected = true); 1058 } else { 1059 for (h = "" + Sa(h), o = null, b = 0; b < d.length; b++) { 1060 if (d[b].value === h) { 1061 d[b].selected = true, g && (d[b].defaultSelected = true); 1062 return; 1063 } 1064 o !== null || d[b].disabled || (o = d[b]); 1065 } 1066 o !== null && (o.selected = true); 1067 } 1068 } 1069 function gb(d, o) { 1070 if (o.dangerouslySetInnerHTML != null) throw Error(p(91)); 1071 return A({}, o, { 1072 value: void 0, 1073 defaultValue: void 0, 1074 children: "" + d._wrapperState.initialValue 1075 }); 1076 } 1077 function hb(d, o) { 1078 var h = o.value; 1079 if (h == null) { 1080 if (h = o.children, o = o.defaultValue, h != null) { 1081 if (o != null) throw Error(p(92)); 1082 if (eb(h)) { 1083 if (1 < h.length) throw Error(p(93)); 1084 h = h[0]; 1085 } 1086 o = h; 1087 } 1088 o == null && (o = ""), h = o; 1089 } 1090 d._wrapperState = {
vendor: 21,052 bytes, lines 1091-1840
1091 initialValue: Sa(h) 1092 }; 1093 } 1094 function ib(d, o) { 1095 var h = Sa(o.value), g = Sa(o.defaultValue); 1096 h != null && (h = "" + h, h !== d.value && (d.value = h), o.defaultValue == null && d.defaultValue !== h && (d.defaultValue = h)), g != null && (d.defaultValue = "" + g); 1097 } 1098 function jb(d) { 1099 var o = d.textContent; 1100 o === d._wrapperState.initialValue && o !== "" && o !== null && (d.value = o); 1101 } 1102 function kb(d) { 1103 switch (d) { 1104 case "svg": 1105 return "http://www.w3.org/2000/svg"; 1106 case "math": 1107 return "http://www.w3.org/1998/Math/MathML"; 1108 default: 1109 return "http://www.w3.org/1999/xhtml"; 1110 } 1111 } 1112 function lb(d, o) { 1113 return d == null || d === "http://www.w3.org/1999/xhtml" ? kb(o) : d === "http://www.w3.org/2000/svg" && o === "foreignObject" ? "http://www.w3.org/1999/xhtml" : d; 1114 } 1115 var mb, nb = function(d) { 1116 return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(o, h, g, b) { 1117 MSApp.execUnsafeLocalFunction(function() { 1118 return d(o, h, g, b); 1119 }); 1120 } : d; 1121 }(function(d, o) { 1122 if (d.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in d) d.innerHTML = o; 1123 else { 1124 for (mb = mb || document.createElement("div"), mb.innerHTML = "<svg>" + o.valueOf().toString() + "</svg>", o = mb.firstChild; d.firstChild; ) d.removeChild(d.firstChild); 1125 for (; o.firstChild; ) d.appendChild(o.firstChild); 1126 } 1127 }); 1128 function ob(d, o) { 1129 if (o) { 1130 var h = d.firstChild; 1131 if (h && h === d.lastChild && h.nodeType === 3) { 1132 h.nodeValue = o; 1133 return; 1134 } 1135 } 1136 d.textContent = o; 1137 } 1138 var pb = { 1139 animationIterationCount: true, 1140 aspectRatio: true, 1141 borderImageOutset: true, 1142 borderImageSlice: true, 1143 borderImageWidth: true, 1144 boxFlex: true, 1145 boxFlexGroup: true, 1146 boxOrdinalGroup: true, 1147 columnCount: true, 1148 columns: true, 1149 flex: true, 1150 flexGrow: true, 1151 flexPositive: true, 1152 flexShrink: true, 1153 flexNegative: true, 1154 flexOrder: true, 1155 gridArea: true, 1156 gridRow: true, 1157 gridRowEnd: true, 1158 gridRowSpan: true, 1159 gridRowStart: true, 1160 gridColumn: true, 1161 gridColumnEnd: true, 1162 gridColumnSpan: true, 1163 gridColumnStart: true, 1164 fontWeight: true, 1165 lineClamp: true, 1166 lineHeight: true, 1167 opacity: true, 1168 order: true, 1169 orphans: true, 1170 tabSize: true, 1171 widows: true, 1172 zIndex: true, 1173 zoom: true, 1174 fillOpacity: true, 1175 floodOpacity: true, 1176 stopOpacity: true, 1177 strokeDasharray: true, 1178 strokeDashoffset: true, 1179 strokeMiterlimit: true, 1180 strokeOpacity: true, 1181 strokeWidth: true 1182 }, qb = [ 1183 "Webkit", 1184 "ms", 1185 "Moz", 1186 "O" 1187 ]; 1188 Object.keys(pb).forEach(function(d) { 1189 qb.forEach(function(o) { 1190 o = o + d.charAt(0).toUpperCase() + d.substring(1), pb[o] = pb[d]; 1191 }); 1192 }); 1193 function rb(d, o, h) { 1194 return o == null || typeof o == "boolean" || o === "" ? "" : h || typeof o != "number" || o === 0 || pb.hasOwnProperty(d) && pb[d] ? ("" + o).trim() : o + "px"; 1195 } 1196 function sb(d, o) { 1197 d = d.style; 1198 for (var h in o) if (o.hasOwnProperty(h)) { 1199 var g = h.indexOf("--") === 0, b = rb(h, o[h], g); 1200 h === "float" && (h = "cssFloat"), g ? d.setProperty(h, b) : d[h] = b; 1201 } 1202 } 1203 var tb = A({ 1204 menuitem: true 1205 }, { 1206 area: true, 1207 base: true, 1208 br: true, 1209 col: true, 1210 embed: true, 1211 hr: true, 1212 img: true, 1213 input: true, 1214 keygen: true, 1215 link: true, 1216 meta: true, 1217 param: true, 1218 source: true, 1219 track: true, 1220 wbr: true 1221 }); 1222 function ub(d, o) { 1223 if (o) { 1224 if (tb[d] && (o.children != null || o.dangerouslySetInnerHTML != null)) throw Error(p(137, d)); 1225 if (o.dangerouslySetInnerHTML != null) { 1226 if (o.children != null) throw Error(p(60)); 1227 if (typeof o.dangerouslySetInnerHTML != "object" || !("__html" in o.dangerouslySetInnerHTML)) throw Error(p(61)); 1228 } 1229 if (o.style != null && typeof o.style != "object") throw Error(p(62)); 1230 } 1231 } 1232 function vb(d, o) { 1233 if (d.indexOf("-") === -1) return typeof o.is == "string"; 1234 switch (d) { 1235 case "annotation-xml": 1236 case "color-profile": 1237 case "font-face": 1238 case "font-face-src": 1239 case "font-face-uri": 1240 case "font-face-format": 1241 case "font-face-name": 1242 case "missing-glyph": 1243 return false; 1244 default: 1245 return true; 1246 } 1247 } 1248 var wb = null; 1249 function xb(d) { 1250 return d = d.target || d.srcElement || window, d.correspondingUseElement && (d = d.correspondingUseElement), d.nodeType === 3 ? d.parentNode : d; 1251 } 1252 var yb = null, zb = null, Ab = null; 1253 function Bb(d) { 1254 if (d = Cb(d)) { 1255 if (typeof yb != "function") throw Error(p(280)); 1256 var o = d.stateNode; 1257 o && (o = Db(o), yb(d.stateNode, d.type, o)); 1258 } 1259 } 1260 function Eb(d) { 1261 zb ? Ab ? Ab.push(d) : Ab = [ 1262 d 1263 ] : zb = d; 1264 } 1265 function Fb() { 1266 if (zb) { 1267 var d = zb, o = Ab; 1268 if (Ab = zb = null, Bb(d), o) for (d = 0; d < o.length; d++) Bb(o[d]); 1269 } 1270 } 1271 function Gb(d, o) { 1272 return d(o); 1273 } 1274 function Hb() { 1275 } 1276 var Ib = false; 1277 function Jb(d, o, h) { 1278 if (Ib) return d(o, h); 1279 Ib = true; 1280 try { 1281 return Gb(d, o, h); 1282 } finally { 1283 Ib = false, (zb !== null || Ab !== null) && (Hb(), Fb()); 1284 } 1285 } 1286 function Kb(d, o) { 1287 var h = d.stateNode; 1288 if (h === null) return null; 1289 var g = Db(h); 1290 if (g === null) return null; 1291 h = g[o]; 1292 e: switch (o) { 1293 case "onClick": 1294 case "onClickCapture": 1295 case "onDoubleClick": 1296 case "onDoubleClickCapture": 1297 case "onMouseDown": 1298 case "onMouseDownCapture": 1299 case "onMouseMove": 1300 case "onMouseMoveCapture": 1301 case "onMouseUp": 1302 case "onMouseUpCapture": 1303 case "onMouseEnter": 1304 (g = !g.disabled) || (d = d.type, g = !(d === "button" || d === "input" || d === "select" || d === "textarea")), d = !g; 1305 break e; 1306 default: 1307 d = false; 1308 } 1309 if (d) return null; 1310 if (h && typeof h != "function") throw Error(p(231, o, typeof h)); 1311 return h; 1312 } 1313 var Lb = false; 1314 if (ia) try { 1315 var Mb = {}; 1316 Object.defineProperty(Mb, "passive", { 1317 get: function() { 1318 Lb = true; 1319 } 1320 }), window.addEventListener("test", Mb, Mb), window.removeEventListener("test", Mb, Mb); 1321 } catch (e2) { 1322 Lb = false; 1323 } 1324 function Nb(d, o, h, g, b, $, _e, et, tt) { 1325 var rt = Array.prototype.slice.call(arguments, 3); 1326 try { 1327 o.apply(h, rt); 1328 } catch (nt) { 1329 this.onError(nt); 1330 } 1331 } 1332 var Ob = false, Pb = null, Qb = false, Rb = null, Sb = { 1333 onError: function(d) { 1334 Ob = true, Pb = d; 1335 } 1336 }; 1337 function Tb(d, o, h, g, b, $, _e, et, tt) { 1338 Ob = false, Pb = null, Nb.apply(Sb, arguments); 1339 } 1340 function Ub(d, o, h, g, b, $, _e, et, tt) { 1341 if (Tb.apply(this, arguments), Ob) { 1342 if (Ob) { 1343 var rt = Pb; 1344 Ob = false, Pb = null; 1345 } else throw Error(p(198)); 1346 Qb || (Qb = true, Rb = rt); 1347 } 1348 } 1349 function Vb(d) { 1350 var o = d, h = d; 1351 if (d.alternate) for (; o.return; ) o = o.return; 1352 else { 1353 d = o; 1354 do 1355 o = d, o.flags & 4098 && (h = o.return), d = o.return; 1356 while (d); 1357 } 1358 return o.tag === 3 ? h : null; 1359 } 1360 function Wb(d) { 1361 if (d.tag === 13) { 1362 var o = d.memoizedState; 1363 if (o === null && (d = d.alternate, d !== null && (o = d.memoizedState)), o !== null) return o.dehydrated; 1364 } 1365 return null; 1366 } 1367 function Xb(d) { 1368 if (Vb(d) !== d) throw Error(p(188)); 1369 } 1370 function Yb(d) { 1371 var o = d.alternate; 1372 if (!o) { 1373 if (o = Vb(d), o === null) throw Error(p(188)); 1374 return o !== d ? null : d; 1375 } 1376 for (var h = d, g = o; ; ) { 1377 var b = h.return; 1378 if (b === null) break; 1379 var $ = b.alternate; 1380 if ($ === null) { 1381 if (g = b.return, g !== null) { 1382 h = g; 1383 continue; 1384 } 1385 break; 1386 } 1387 if (b.child === $.child) { 1388 for ($ = b.child; $; ) { 1389 if ($ === h) return Xb(b), d; 1390 if ($ === g) return Xb(b), o; 1391 $ = $.sibling; 1392 } 1393 throw Error(p(188)); 1394 } 1395 if (h.return !== g.return) h = b, g = $; 1396 else { 1397 for (var _e = false, et = b.child; et; ) { 1398 if (et === h) { 1399 _e = true, h = b, g = $; 1400 break; 1401 } 1402 if (et === g) { 1403 _e = true, g = b, h = $; 1404 break; 1405 } 1406 et = et.sibling; 1407 } 1408 if (!_e) { 1409 for (et = $.child; et; ) { 1410 if (et === h) { 1411 _e = true, h = $, g = b; 1412 break; 1413 } 1414 if (et === g) { 1415 _e = true, g = $, h = b; 1416 break; 1417 } 1418 et = et.sibling; 1419 } 1420 if (!_e) throw Error(p(189)); 1421 } 1422 } 1423 if (h.alternate !== g) throw Error(p(190)); 1424 } 1425 if (h.tag !== 3) throw Error(p(188)); 1426 return h.stateNode.current === h ? d : o; 1427 } 1428 function Zb(d) { 1429 return d = Yb(d), d !== null ? $b(d) : null; 1430 } 1431 function $b(d) { 1432 if (d.tag === 5 || d.tag === 6) return d; 1433 for (d = d.child; d !== null; ) { 1434 var o = $b(d); 1435 if (o !== null) return o; 1436 d = d.sibling; 1437 } 1438 return null; 1439 } 1440 var ac = ca.unstable_scheduleCallback, bc = ca.unstable_cancelCallback, cc = ca.unstable_shouldYield, dc = ca.unstable_requestPaint, B = ca.unstable_now, ec = ca.unstable_getCurrentPriorityLevel, fc = ca.unstable_ImmediatePriority, gc = ca.unstable_UserBlockingPriority, hc = ca.unstable_NormalPriority, ic = ca.unstable_LowPriority, jc = ca.unstable_IdlePriority, kc = null, lc = null; 1441 function mc(d) { 1442 if (lc && typeof lc.onCommitFiberRoot == "function") try { 1443 lc.onCommitFiberRoot(kc, d, void 0, (d.current.flags & 128) === 128); 1444 } catch (e2) { 1445 } 1446 } 1447 var oc = Math.clz32 ? Math.clz32 : nc, pc = Math.log, qc = Math.LN2; 1448 function nc(d) { 1449 return d >>>= 0, d === 0 ? 32 : 31 - (pc(d) / qc | 0) | 0; 1450 } 1451 var rc = 64, sc = 4194304; 1452 function tc(d) { 1453 switch (d & -d) { 1454 case 1: 1455 return 1; 1456 case 2: 1457 return 2; 1458 case 4: 1459 return 4; 1460 case 8: 1461 return 8; 1462 case 16: 1463 return 16; 1464 case 32: 1465 return 32; 1466 case 64: 1467 case 128: 1468 case 256: 1469 case 512: 1470 case 1024: 1471 case 2048: 1472 case 4096: 1473 case 8192: 1474 case 16384: 1475 case 32768: 1476 case 65536: 1477 case 131072: 1478 case 262144: 1479 case 524288: 1480 case 1048576: 1481 case 2097152: 1482 return d & 4194240; 1483 case 4194304: 1484 case 8388608: 1485 case 16777216: 1486 case 33554432: 1487 case 67108864: 1488 return d & 130023424; 1489 case 134217728: 1490 return 134217728; 1491 case 268435456: 1492 return 268435456; 1493 case 536870912: 1494 return 536870912; 1495 case 1073741824: 1496 return 1073741824; 1497 default: 1498 return d; 1499 } 1500 } 1501 function uc(d, o) { 1502 var h = d.pendingLanes; 1503 if (h === 0) return 0; 1504 var g = 0, b = d.suspendedLanes, $ = d.pingedLanes, _e = h & 268435455; 1505 if (_e !== 0) { 1506 var et = _e & ~b; 1507 et !== 0 ? g = tc(et) : ($ &= _e, $ !== 0 && (g = tc($))); 1508 } else _e = h & ~b, _e !== 0 ? g = tc(_e) : $ !== 0 && (g = tc($)); 1509 if (g === 0) return 0; 1510 if (o !== 0 && o !== g && !(o & b) && (b = g & -g, $ = o & -o, b >= $ || b === 16 && ($ & 4194240) !== 0)) return o; 1511 if (g & 4 && (g |= h & 16), o = d.entangledLanes, o !== 0) for (d = d.entanglements, o &= g; 0 < o; ) h = 31 - oc(o), b = 1 << h, g |= d[h], o &= ~b; 1512 return g; 1513 } 1514 function vc(d, o) { 1515 switch (d) { 1516 case 1: 1517 case 2: 1518 case 4: 1519 return o + 250; 1520 case 8: 1521 case 16: 1522 case 32: 1523 case 64: 1524 case 128: 1525 case 256: 1526 case 512: 1527 case 1024: 1528 case 2048: 1529 case 4096: 1530 case 8192: 1531 case 16384: 1532 case 32768: 1533 case 65536: 1534 case 131072: 1535 case 262144: 1536 case 524288: 1537 case 1048576: 1538 case 2097152: 1539 return o + 5e3; 1540 case 4194304: 1541 case 8388608: 1542 case 16777216: 1543 case 33554432: 1544 case 67108864: 1545 return -1; 1546 case 134217728: 1547 case 268435456: 1548 case 536870912: 1549 case 1073741824: 1550 return -1; 1551 default: 1552 return -1; 1553 } 1554 } 1555 function wc(d, o) { 1556 for (var h = d.suspendedLanes, g = d.pingedLanes, b = d.expirationTimes, $ = d.pendingLanes; 0 < $; ) { 1557 var _e = 31 - oc($), et = 1 << _e, tt = b[_e]; 1558 tt === -1 ? (!(et & h) || et & g) && (b[_e] = vc(et, o)) : tt <= o && (d.expiredLanes |= et), $ &= ~et; 1559 } 1560 } 1561 function xc(d) { 1562 return d = d.pendingLanes & -1073741825, d !== 0 ? d : d & 1073741824 ? 1073741824 : 0; 1563 } 1564 function yc() { 1565 var d = rc; 1566 return rc <<= 1, !(rc & 4194240) && (rc = 64), d; 1567 } 1568 function zc(d) { 1569 for (var o = [], h = 0; 31 > h; h++) o.push(d); 1570 return o; 1571 } 1572 function Ac(d, o, h) { 1573 d.pendingLanes |= o, o !== 536870912 && (d.suspendedLanes = 0, d.pingedLanes = 0), d = d.eventTimes, o = 31 - oc(o), d[o] = h; 1574 } 1575 function Bc(d, o) { 1576 var h = d.pendingLanes & ~o; 1577 d.pendingLanes = o, d.suspendedLanes = 0, d.pingedLanes = 0, d.expiredLanes &= o, d.mutableReadLanes &= o, d.entangledLanes &= o, o = d.entanglements; 1578 var g = d.eventTimes; 1579 for (d = d.expirationTimes; 0 < h; ) { 1580 var b = 31 - oc(h), $ = 1 << b; 1581 o[b] = 0, g[b] = -1, d[b] = -1, h &= ~$; 1582 } 1583 } 1584 function Cc(d, o) { 1585 var h = d.entangledLanes |= o; 1586 for (d = d.entanglements; h; ) { 1587 var g = 31 - oc(h), b = 1 << g; 1588 b & o | d[g] & o && (d[g] |= o), h &= ~b; 1589 } 1590 } 1591 var C = 0; 1592 function Dc(d) { 1593 return d &= -d, 1 < d ? 4 < d ? d & 268435455 ? 16 : 536870912 : 4 : 1; 1594 } 1595 var Ec, Fc, Gc, Hc, Ic, Jc = false, Kc = [], Lc = null, Mc = null, Nc = null, Oc = /* @__PURE__ */ new Map(), Pc = /* @__PURE__ */ new Map(), Qc = [], Rc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); 1596 function Sc(d, o) { 1597 switch (d) { 1598 case "focusin": 1599 case "focusout": 1600 Lc = null; 1601 break; 1602 case "dragenter": 1603 case "dragleave": 1604 Mc = null; 1605 break; 1606 case "mouseover": 1607 case "mouseout": 1608 Nc = null; 1609 break; 1610 case "pointerover": 1611 case "pointerout": 1612 Oc.delete(o.pointerId); 1613 break; 1614 case "gotpointercapture": 1615 case "lostpointercapture": 1616 Pc.delete(o.pointerId); 1617 } 1618 } 1619 function Tc(d, o, h, g, b, $) { 1620 return d === null || d.nativeEvent !== $ ? (d = { 1621 blockedOn: o, 1622 domEventName: h, 1623 eventSystemFlags: g, 1624 nativeEvent: $, 1625 targetContainers: [ 1626 b 1627 ] 1628 }, o !== null && (o = Cb(o), o !== null && Fc(o)), d) : (d.eventSystemFlags |= g, o = d.targetContainers, b !== null && o.indexOf(b) === -1 && o.push(b), d); 1629 } 1630 function Uc(d, o, h, g, b) { 1631 switch (o) { 1632 case "focusin": 1633 return Lc = Tc(Lc, d, o, h, g, b), true; 1634 case "dragenter": 1635 return Mc = Tc(Mc, d, o, h, g, b), true; 1636 case "mouseover": 1637 return Nc = Tc(Nc, d, o, h, g, b), true; 1638 case "pointerover": 1639 var $ = b.pointerId; 1640 return Oc.set($, Tc(Oc.get($) || null, d, o, h, g, b)), true; 1641 case "gotpointercapture": 1642 return $ = b.pointerId, Pc.set($, Tc(Pc.get($) || null, d, o, h, g, b)), true; 1643 } 1644 return false; 1645 } 1646 function Vc(d) { 1647 var o = Wc(d.target); 1648 if (o !== null) { 1649 var h = Vb(o); 1650 if (h !== null) { 1651 if (o = h.tag, o === 13) { 1652 if (o = Wb(h), o !== null) { 1653 d.blockedOn = o, Ic(d.priority, function() { 1654 Gc(h); 1655 }); 1656 return; 1657 } 1658 } else if (o === 3 && h.stateNode.current.memoizedState.isDehydrated) { 1659 d.blockedOn = h.tag === 3 ? h.stateNode.containerInfo : null; 1660 return; 1661 } 1662 } 1663 } 1664 d.blockedOn = null; 1665 } 1666 function Xc(d) { 1667 if (d.blockedOn !== null) return false; 1668 for (var o = d.targetContainers; 0 < o.length; ) { 1669 var h = Yc(d.domEventName, d.eventSystemFlags, o[0], d.nativeEvent); 1670 if (h === null) { 1671 h = d.nativeEvent; 1672 var g = new h.constructor(h.type, h); 1673 wb = g, h.target.dispatchEvent(g), wb = null; 1674 } else return o = Cb(h), o !== null && Fc(o), d.blockedOn = h, false; 1675 o.shift(); 1676 } 1677 return true; 1678 } 1679 function Zc(d, o, h) { 1680 Xc(d) && h.delete(o); 1681 } 1682 function $c() { 1683 Jc = false, Lc !== null && Xc(Lc) && (Lc = null), Mc !== null && Xc(Mc) && (Mc = null), Nc !== null && Xc(Nc) && (Nc = null), Oc.forEach(Zc), Pc.forEach(Zc); 1684 } 1685 function ad(d, o) { 1686 d.blockedOn === o && (d.blockedOn = null, Jc || (Jc = true, ca.unstable_scheduleCallback(ca.unstable_NormalPriority, $c))); 1687 } 1688 function bd(d) { 1689 function o(b) { 1690 return ad(b, d); 1691 } 1692 if (0 < Kc.length) { 1693 ad(Kc[0], d); 1694 for (var h = 1; h < Kc.length; h++) { 1695 var g = Kc[h]; 1696 g.blockedOn === d && (g.blockedOn = null); 1697 } 1698 } 1699 for (Lc !== null && ad(Lc, d), Mc !== null && ad(Mc, d), Nc !== null && ad(Nc, d), Oc.forEach(o), Pc.forEach(o), h = 0; h < Qc.length; h++) g = Qc[h], g.blockedOn === d && (g.blockedOn = null); 1700 for (; 0 < Qc.length && (h = Qc[0], h.blockedOn === null); ) Vc(h), h.blockedOn === null && Qc.shift(); 1701 } 1702 var cd = ua$2.ReactCurrentBatchConfig, dd = true; 1703 function ed(d, o, h, g) { 1704 var b = C, $ = cd.transition; 1705 cd.transition = null; 1706 try { 1707 C = 1, fd(d, o, h, g); 1708 } finally { 1709 C = b, cd.transition = $; 1710 } 1711 } 1712 function gd(d, o, h, g) { 1713 var b = C, $ = cd.transition; 1714 cd.transition = null; 1715 try { 1716 C = 4, fd(d, o, h, g); 1717 } finally { 1718 C = b, cd.transition = $; 1719 } 1720 } 1721 function fd(d, o, h, g) { 1722 if (dd) { 1723 var b = Yc(d, o, h, g); 1724 if (b === null) hd(d, o, g, id$2, h), Sc(d, g); 1725 else if (Uc(b, d, o, h, g)) g.stopPropagation(); 1726 else if (Sc(d, g), o & 4 && -1 < Rc.indexOf(d)) { 1727 for (; b !== null; ) { 1728 var $ = Cb(b); 1729 if ($ !== null && Ec($), $ = Yc(d, o, h, g), $ === null && hd(d, o, g, id$2, h), $ === b) break; 1730 b = $; 1731 } 1732 b !== null && g.stopPropagation(); 1733 } else hd(d, o, g, null, h); 1734 } 1735 } 1736 var id$2 = null; 1737 function Yc(d, o, h, g) { 1738 if (id$2 = null, d = xb(g), d = Wc(d), d !== null) if (o = Vb(d), o === null) d = null; 1739 else if (h = o.tag, h === 13) { 1740 if (d = Wb(o), d !== null) return d; 1741 d = null; 1742 } else if (h === 3) { 1743 if (o.stateNode.current.memoizedState.isDehydrated) return o.tag === 3 ? o.stateNode.containerInfo : null; 1744 d = null; 1745 } else o !== d && (d = null); 1746 return id$2 = d, null; 1747 } 1748 function jd(d) { 1749 switch (d) { 1750 case "cancel": 1751 case "click": 1752 case "close": 1753 case "contextmenu": 1754 case "copy": 1755 case "cut": 1756 case "auxclick": 1757 case "dblclick": 1758 case "dragend": 1759 case "dragstart": 1760 case "drop": 1761 case "focusin": 1762 case "focusout": 1763 case "input": 1764 case "invalid": 1765 case "keydown": 1766 case "keypress": 1767 case "keyup": 1768 case "mousedown": 1769 case "mouseup": 1770 case "paste": 1771 case "pause": 1772 case "play": 1773 case "pointercancel": 1774 case "pointerdown": 1775 case "pointerup": 1776 case "ratechange": 1777 case "reset": 1778 case "resize": 1779 case "seeked": 1780 case "submit": 1781 case "touchcancel": 1782 case "touchend": 1783 case "touchstart": 1784 case "volumechange": 1785 case "change": 1786 case "selectionchange": 1787 case "textInput": 1788 case "compositionstart": 1789 case "compositionend": 1790 case "compositionupdate": 1791 case "beforeblur": 1792 case "afterblur": 1793 case "beforeinput": 1794 case "blur": 1795 case "fullscreenchange": 1796 case "focus": 1797 case "hashchange": 1798 case "popstate": 1799 case "select": 1800 case "selectstart": 1801 return 1; 1802 case "drag": 1803 case "dragenter": 1804 case "dragexit": 1805 case "dragleave": 1806 case "dragover": 1807 case "mousemove": 1808 case "mouseout": 1809 case "mouseover": 1810 case "pointermove": 1811 case "pointerout": 1812 case "pointerover": 1813 case "scroll": 1814 case "toggle": 1815 case "touchmove": 1816 case "wheel": 1817 case "mouseenter": 1818 case "mouseleave": 1819 case "pointerenter": 1820 case "pointerleave": 1821 return 4; 1822 case "message": 1823 switch (ec()) { 1824 case fc: 1825 return 1; 1826 case gc: 1827 return 4; 1828 case hc: 1829 case ic: 1830 return 16; 1831 case jc: 1832 return 536870912; 1833 default: 1834 return 16; 1835 } 1836 default: 1837 return 16; 1838 } 1839 } 1840 var kd = null, ld = null, md = null;
1841 function nd() { 1842 if (md) return md; 1843 var d, o = ld, h = o.length, g, b = "value" in kd ? kd.value : kd.textContent, $ = b.length; 1844 for (d = 0; d < h && o[d] === b[d]; d++) ; 1845 var _e = h - d; 1846 for (g = 1; g <= _e && o[h - g] === b[$ - g]; g++) ; 1847 return md = b.slice(d, 1 < g ? 1 - g : void 0); 1848 } 1849 function od(d) { 1850 var o = d.keyCode; 1851 return "charCode" in d ? (d = d.charCode, d === 0 && o === 13 && (d = 13)) : d = o, d === 10 && (d = 13), 32 <= d || d === 13 ? d : 0; 1852 } 1853 function pd() { 1854 return true; 1855 } 1856 function qd() { 1857 return false; 1858 } 1859 function rd(d) { 1860 function o(h, g, b, $, _e) { 1861 this._reactName = h, this._targetInst = b, this.type = g, this.nativeEvent = $, this.target = _e, this.currentTarget = null; 1862 for (var et in d) d.hasOwnProperty(et) && (h = d[et], this[et] = h ? h($) : $[et]); 1863 return this.isDefaultPrevented = ($.defaultPrevented != null ? $.defaultPrevented : $.returnValue === false) ? pd : qd, this.isPropagationStopped = qd, this; 1864 } 1865 return A(o.prototype, { 1866 preventDefault: function() { 1867 this.defaultPrevented = true; 1868 var h = this.nativeEvent; 1869 h && (h.preventDefault ? h.preventDefault() : typeof h.returnValue != "unknown" && (h.returnValue = false), this.isDefaultPrevented = pd); 1870 }, 1871 stopPropagation: function() { 1872 var h = this.nativeEvent; 1873 h && (h.stopPropagation ? h.stopPropagation() : typeof h.cancelBubble != "unknown" && (h.cancelBubble = true), this.isPropagationStopped = pd); 1874 }, 1875 persist: function() { 1876 }, 1877 isPersistent: pd 1878 }), o; 1879 } 1880 var sd = { 1881 eventPhase: 0, 1882 bubbles: 0, 1883 cancelable: 0, 1884 timeStamp: function(d) { 1885 return d.timeStamp || Date.now(); 1886 }, 1887 defaultPrevented: 0, 1888 isTrusted: 0 1889 }, td = rd(sd), ud = A({}, sd, { 1890 view: 0, 1891 detail: 0 1892 }), vd = rd(ud), wd, xd, yd, Ad = A({}, ud, { 1893 screenX: 0, 1894 screenY: 0, 1895 clientX: 0, 1896 clientY: 0, 1897 pageX: 0, 1898 pageY: 0, 1899 ctrlKey: 0,
vendor: 10,629 bytes, lines 1900-2262
1900 shiftKey: 0, 1901 altKey: 0, 1902 metaKey: 0, 1903 getModifierState: zd, 1904 button: 0, 1905 buttons: 0, 1906 relatedTarget: function(d) { 1907 return d.relatedTarget === void 0 ? d.fromElement === d.srcElement ? d.toElement : d.fromElement : d.relatedTarget; 1908 }, 1909 movementX: function(d) { 1910 return "movementX" in d ? d.movementX : (d !== yd && (yd && d.type === "mousemove" ? (wd = d.screenX - yd.screenX, xd = d.screenY - yd.screenY) : xd = wd = 0, yd = d), wd); 1911 }, 1912 movementY: function(d) { 1913 return "movementY" in d ? d.movementY : xd; 1914 } 1915 }), Bd = rd(Ad), Cd = A({}, Ad, { 1916 dataTransfer: 0 1917 }), Dd = rd(Cd), Ed = A({}, ud, { 1918 relatedTarget: 0 1919 }), Fd = rd(Ed), Gd = A({}, sd, { 1920 animationName: 0, 1921 elapsedTime: 0, 1922 pseudoElement: 0 1923 }), Hd = rd(Gd), Id = A({}, sd, { 1924 clipboardData: function(d) { 1925 return "clipboardData" in d ? d.clipboardData : window.clipboardData; 1926 } 1927 }), Jd = rd(Id), Kd = A({}, sd, { 1928 data: 0 1929 }), Ld = rd(Kd), Md = { 1930 Esc: "Escape", 1931 Spacebar: " ", 1932 Left: "ArrowLeft", 1933 Up: "ArrowUp", 1934 Right: "ArrowRight", 1935 Down: "ArrowDown", 1936 Del: "Delete", 1937 Win: "OS", 1938 Menu: "ContextMenu", 1939 Apps: "ContextMenu", 1940 Scroll: "ScrollLock", 1941 MozPrintableKey: "Unidentified" 1942 }, Nd = { 1943 8: "Backspace", 1944 9: "Tab", 1945 12: "Clear", 1946 13: "Enter", 1947 16: "Shift", 1948 17: "Control", 1949 18: "Alt", 1950 19: "Pause", 1951 20: "CapsLock", 1952 27: "Escape", 1953 32: " ", 1954 33: "PageUp", 1955 34: "PageDown", 1956 35: "End", 1957 36: "Home", 1958 37: "ArrowLeft", 1959 38: "ArrowUp", 1960 39: "ArrowRight", 1961 40: "ArrowDown", 1962 45: "Insert", 1963 46: "Delete", 1964 112: "F1", 1965 113: "F2", 1966 114: "F3", 1967 115: "F4", 1968 116: "F5", 1969 117: "F6", 1970 118: "F7", 1971 119: "F8", 1972 120: "F9", 1973 121: "F10", 1974 122: "F11", 1975 123: "F12", 1976 144: "NumLock", 1977 145: "ScrollLock", 1978 224: "Meta" 1979 }, Od = { 1980 Alt: "altKey", 1981 Control: "ctrlKey", 1982 Meta: "metaKey", 1983 Shift: "shiftKey" 1984 }; 1985 function Pd(d) { 1986 var o = this.nativeEvent; 1987 return o.getModifierState ? o.getModifierState(d) : (d = Od[d]) ? !!o[d] : false; 1988 } 1989 function zd() { 1990 return Pd; 1991 } 1992 var Qd = A({}, ud, { 1993 key: function(d) { 1994 if (d.key) { 1995 var o = Md[d.key] || d.key; 1996 if (o !== "Unidentified") return o; 1997 } 1998 return d.type === "keypress" ? (d = od(d), d === 13 ? "Enter" : String.fromCharCode(d)) : d.type === "keydown" || d.type === "keyup" ? Nd[d.keyCode] || "Unidentified" : ""; 1999 }, 2000 code: 0, 2001 location: 0, 2002 ctrlKey: 0, 2003 shiftKey: 0, 2004 altKey: 0, 2005 metaKey: 0, 2006 repeat: 0, 2007 locale: 0, 2008 getModifierState: zd, 2009 charCode: function(d) { 2010 return d.type === "keypress" ? od(d) : 0; 2011 }, 2012 keyCode: function(d) { 2013 return d.type === "keydown" || d.type === "keyup" ? d.keyCode : 0; 2014 }, 2015 which: function(d) { 2016 return d.type === "keypress" ? od(d) : d.type === "keydown" || d.type === "keyup" ? d.keyCode : 0; 2017 } 2018 }), Rd = rd(Qd), Sd = A({}, Ad, { 2019 pointerId: 0, 2020 width: 0, 2021 height: 0, 2022 pressure: 0, 2023 tangentialPressure: 0, 2024 tiltX: 0, 2025 tiltY: 0, 2026 twist: 0, 2027 pointerType: 0, 2028 isPrimary: 0 2029 }), Td = rd(Sd), Ud = A({}, ud, { 2030 touches: 0, 2031 targetTouches: 0, 2032 changedTouches: 0, 2033 altKey: 0, 2034 metaKey: 0, 2035 ctrlKey: 0, 2036 shiftKey: 0, 2037 getModifierState: zd 2038 }), Vd = rd(Ud), Wd = A({}, sd, { 2039 propertyName: 0, 2040 elapsedTime: 0, 2041 pseudoElement: 0 2042 }), Xd = rd(Wd), Yd = A({}, Ad, { 2043 deltaX: function(d) { 2044 return "deltaX" in d ? d.deltaX : "wheelDeltaX" in d ? -d.wheelDeltaX : 0; 2045 }, 2046 deltaY: function(d) { 2047 return "deltaY" in d ? d.deltaY : "wheelDeltaY" in d ? -d.wheelDeltaY : "wheelDelta" in d ? -d.wheelDelta : 0; 2048 }, 2049 deltaZ: 0, 2050 deltaMode: 0 2051 }), Zd = rd(Yd), $d = [ 2052 9, 2053 13, 2054 27, 2055 32 2056 ], ae = ia && "CompositionEvent" in window, be = null; 2057 ia && "documentMode" in document && (be = document.documentMode); 2058 var ce = ia && "TextEvent" in window && !be, de = ia && (!ae || be && 8 < be && 11 >= be), ee = " ", fe = false; 2059 function ge(d, o) { 2060 switch (d) { 2061 case "keyup": 2062 return $d.indexOf(o.keyCode) !== -1; 2063 case "keydown": 2064 return o.keyCode !== 229; 2065 case "keypress": 2066 case "mousedown": 2067 case "focusout": 2068 return true; 2069 default: 2070 return false; 2071 } 2072 } 2073 function he(d) { 2074 return d = d.detail, typeof d == "object" && "data" in d ? d.data : null; 2075 } 2076 var ie = false; 2077 function je(d, o) { 2078 switch (d) { 2079 case "compositionend": 2080 return he(o); 2081 case "keypress": 2082 return o.which !== 32 ? null : (fe = true, ee); 2083 case "textInput": 2084 return d = o.data, d === ee && fe ? null : d; 2085 default: 2086 return null; 2087 } 2088 } 2089 function ke(d, o) { 2090 if (ie) return d === "compositionend" || !ae && ge(d, o) ? (d = nd(), md = ld = kd = null, ie = false, d) : null; 2091 switch (d) { 2092 case "paste": 2093 return null; 2094 case "keypress": 2095 if (!(o.ctrlKey || o.altKey || o.metaKey) || o.ctrlKey && o.altKey) { 2096 if (o.char && 1 < o.char.length) return o.char; 2097 if (o.which) return String.fromCharCode(o.which); 2098 } 2099 return null; 2100 case "compositionend": 2101 return de && o.locale !== "ko" ? null : o.data; 2102 default: 2103 return null; 2104 } 2105 } 2106 var le = { 2107 color: true, 2108 date: true, 2109 datetime: true, 2110 "datetime-local": true, 2111 email: true, 2112 month: true, 2113 number: true, 2114 password: true, 2115 range: true, 2116 search: true, 2117 tel: true, 2118 text: true, 2119 time: true, 2120 url: true, 2121 week: true 2122 }; 2123 function me(d) { 2124 var o = d && d.nodeName && d.nodeName.toLowerCase(); 2125 return o === "input" ? !!le[d.type] : o === "textarea"; 2126 } 2127 function ne(d, o, h, g) { 2128 Eb(g), o = oe(o, "onChange"), 0 < o.length && (h = new td("onChange", "change", null, h, g), d.push({ 2129 event: h, 2130 listeners: o 2131 })); 2132 } 2133 var pe = null, qe = null; 2134 function re(d) { 2135 se(d, 0); 2136 } 2137 function te(d) { 2138 var o = ue(d); 2139 if (Wa(o)) return d; 2140 } 2141 function ve(d, o) { 2142 if (d === "change") return o; 2143 } 2144 var we = false; 2145 if (ia) { 2146 var xe; 2147 if (ia) { 2148 var ye = "oninput" in document; 2149 if (!ye) { 2150 var ze = document.createElement("div"); 2151 ze.setAttribute("oninput", "return;"), ye = typeof ze.oninput == "function"; 2152 } 2153 xe = ye; 2154 } else xe = false; 2155 we = xe && (!document.documentMode || 9 < document.documentMode); 2156 } 2157 function Ae() { 2158 pe && (pe.detachEvent("onpropertychange", Be), qe = pe = null); 2159 } 2160 function Be(d) { 2161 if (d.propertyName === "value" && te(qe)) { 2162 var o = []; 2163 ne(o, qe, d, xb(d)), Jb(re, o); 2164 } 2165 } 2166 function Ce(d, o, h) { 2167 d === "focusin" ? (Ae(), pe = o, qe = h, pe.attachEvent("onpropertychange", Be)) : d === "focusout" && Ae(); 2168 } 2169 function De(d) { 2170 if (d === "selectionchange" || d === "keyup" || d === "keydown") return te(qe); 2171 } 2172 function Ee(d, o) { 2173 if (d === "click") return te(o); 2174 } 2175 function Fe(d, o) { 2176 if (d === "input" || d === "change") return te(o); 2177 } 2178 function Ge(d, o) { 2179 return d === o && (d !== 0 || 1 / d === 1 / o) || d !== d && o !== o; 2180 } 2181 var He = typeof Object.is == "function" ? Object.is : Ge; 2182 function Ie(d, o) { 2183 if (He(d, o)) return true; 2184 if (typeof d != "object" || d === null || typeof o != "object" || o === null) return false; 2185 var h = Object.keys(d), g = Object.keys(o); 2186 if (h.length !== g.length) return false; 2187 for (g = 0; g < h.length; g++) { 2188 var b = h[g]; 2189 if (!ja.call(o, b) || !He(d[b], o[b])) return false; 2190 } 2191 return true; 2192 } 2193 function Je(d) { 2194 for (; d && d.firstChild; ) d = d.firstChild; 2195 return d; 2196 } 2197 function Ke(d, o) { 2198 var h = Je(d); 2199 d = 0; 2200 for (var g; h; ) { 2201 if (h.nodeType === 3) { 2202 if (g = d + h.textContent.length, d <= o && g >= o) return { 2203 node: h, 2204 offset: o - d 2205 }; 2206 d = g; 2207 } 2208 e: { 2209 for (; h; ) { 2210 if (h.nextSibling) { 2211 h = h.nextSibling; 2212 break e; 2213 } 2214 h = h.parentNode; 2215 } 2216 h = void 0; 2217 } 2218 h = Je(h); 2219 } 2220 } 2221 function Le(d, o) { 2222 return d && o ? d === o ? true : d && d.nodeType === 3 ? false : o && o.nodeType === 3 ? Le(d, o.parentNode) : "contains" in d ? d.contains(o) : d.compareDocumentPosition ? !!(d.compareDocumentPosition(o) & 16) : false : false; 2223 } 2224 function Me() { 2225 for (var d = window, o = Xa(); o instanceof d.HTMLIFrameElement; ) { 2226 try { 2227 var h = typeof o.contentWindow.location.href == "string"; 2228 } catch (e2) { 2229 h = false; 2230 } 2231 if (h) d = o.contentWindow; 2232 else break; 2233 o = Xa(d.document); 2234 } 2235 return o; 2236 } 2237 function Ne(d) { 2238 var o = d && d.nodeName && d.nodeName.toLowerCase(); 2239 return o && (o === "input" && (d.type === "text" || d.type === "search" || d.type === "tel" || d.type === "url" || d.type === "password") || o === "textarea" || d.contentEditable === "true"); 2240 } 2241 function Oe(d) { 2242 var o = Me(), h = d.focusedElem, g = d.selectionRange; 2243 if (o !== h && h && h.ownerDocument && Le(h.ownerDocument.documentElement, h)) { 2244 if (g !== null && Ne(h)) { 2245 if (o = g.start, d = g.end, d === void 0 && (d = o), "selectionStart" in h) h.selectionStart = o, h.selectionEnd = Math.min(d, h.value.length); 2246 else if (d = (o = h.ownerDocument || document) && o.defaultView || window, d.getSelection) { 2247 d = d.getSelection(); 2248 var b = h.textContent.length, $ = Math.min(g.start, b); 2249 g = g.end === void 0 ? $ : Math.min(g.end, b), !d.extend && $ > g && (b = g, g = $, $ = b), b = Ke(h, $); 2250 var _e = Ke(h, g); 2251 b && _e && (d.rangeCount !== 1 || d.anchorNode !== b.node || d.anchorOffset !== b.offset || d.focusNode !== _e.node || d.focusOffset !== _e.offset) && (o = o.createRange(), o.setStart(b.node, b.offset), d.removeAllRanges(), $ > g ? (d.addRange(o), d.extend(_e.node, _e.offset)) : (o.setEnd(_e.node, _e.offset), d.addRange(o))); 2252 } 2253 } 2254 for (o = [], d = h; d = d.parentNode; ) d.nodeType === 1 && o.push({ 2255 element: d, 2256 left: d.scrollLeft, 2257 top: d.scrollTop 2258 }); 2259 for (typeof h.focus == "function" && h.focus(), h = 0; h < o.length; h++) d = o[h], d.element.scrollLeft = d.left, d.element.scrollTop = d.top; 2260 } 2261 } 2262 var Pe = ia && "documentMode" in document && 11 >= document.documentMode, Qe = null, Re = null, Se = null, Te = false;
vendor: 5,160 bytes, lines 2263-2377
2263 function Ue(d, o, h) { 2264 var g = h.window === h ? h.document : h.nodeType === 9 ? h : h.ownerDocument; 2265 Te || Qe == null || Qe !== Xa(g) || (g = Qe, "selectionStart" in g && Ne(g) ? g = { 2266 start: g.selectionStart, 2267 end: g.selectionEnd 2268 } : (g = (g.ownerDocument && g.ownerDocument.defaultView || window).getSelection(), g = { 2269 anchorNode: g.anchorNode, 2270 anchorOffset: g.anchorOffset, 2271 focusNode: g.focusNode, 2272 focusOffset: g.focusOffset 2273 }), Se && Ie(Se, g) || (Se = g, g = oe(Re, "onSelect"), 0 < g.length && (o = new td("onSelect", "select", null, o, h), d.push({ 2274 event: o, 2275 listeners: g 2276 }), o.target = Qe))); 2277 } 2278 function Ve(d, o) { 2279 var h = {}; 2280 return h[d.toLowerCase()] = o.toLowerCase(), h["Webkit" + d] = "webkit" + o, h["Moz" + d] = "moz" + o, h; 2281 } 2282 var We = { 2283 animationend: Ve("Animation", "AnimationEnd"), 2284 animationiteration: Ve("Animation", "AnimationIteration"), 2285 animationstart: Ve("Animation", "AnimationStart"), 2286 transitionend: Ve("Transition", "TransitionEnd") 2287 }, Xe = {}, Ye = {}; 2288 ia && (Ye = document.createElement("div").style, "AnimationEvent" in window || (delete We.animationend.animation, delete We.animationiteration.animation, delete We.animationstart.animation), "TransitionEvent" in window || delete We.transitionend.transition); 2289 function Ze(d) { 2290 if (Xe[d]) return Xe[d]; 2291 if (!We[d]) return d; 2292 var o = We[d], h; 2293 for (h in o) if (o.hasOwnProperty(h) && h in Ye) return Xe[d] = o[h]; 2294 return d; 2295 } 2296 var $e = Ze("animationend"), af = Ze("animationiteration"), bf = Ze("animationstart"), cf = Ze("transitionend"), df = /* @__PURE__ */ new Map(), ef = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); 2297 function ff(d, o) { 2298 df.set(d, o), fa(o, [ 2299 d 2300 ]); 2301 } 2302 for (var gf = 0; gf < ef.length; gf++) { 2303 var hf = ef[gf], jf = hf.toLowerCase(), kf = hf[0].toUpperCase() + hf.slice(1); 2304 ff(jf, "on" + kf); 2305 } 2306 ff($e, "onAnimationEnd"); 2307 ff(af, "onAnimationIteration"); 2308 ff(bf, "onAnimationStart"); 2309 ff("dblclick", "onDoubleClick"); 2310 ff("focusin", "onFocus"); 2311 ff("focusout", "onBlur"); 2312 ff(cf, "onTransitionEnd"); 2313 ha("onMouseEnter", [ 2314 "mouseout", 2315 "mouseover" 2316 ]); 2317 ha("onMouseLeave", [ 2318 "mouseout", 2319 "mouseover" 2320 ]); 2321 ha("onPointerEnter", [ 2322 "pointerout", 2323 "pointerover" 2324 ]); 2325 ha("onPointerLeave", [ 2326 "pointerout", 2327 "pointerover" 2328 ]); 2329 fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); 2330 fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); 2331 fa("onBeforeInput", [ 2332 "compositionend", 2333 "keypress", 2334 "textInput", 2335 "paste" 2336 ]); 2337 fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); 2338 fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); 2339 fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); 2340 var lf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), mf = new Set("cancel close invalid load scroll toggle".split(" ").concat(lf)); 2341 function nf(d, o, h) { 2342 var g = d.type || "unknown-event"; 2343 d.currentTarget = h, Ub(g, o, void 0, d), d.currentTarget = null; 2344 } 2345 function se(d, o) { 2346 o = (o & 4) !== 0; 2347 for (var h = 0; h < d.length; h++) { 2348 var g = d[h], b = g.event; 2349 g = g.listeners; 2350 e: { 2351 var $ = void 0; 2352 if (o) for (var _e = g.length - 1; 0 <= _e; _e--) { 2353 var et = g[_e], tt = et.instance, rt = et.currentTarget; 2354 if (et = et.listener, tt !== $ && b.isPropagationStopped()) break e; 2355 nf(b, et, rt), $ = tt; 2356 } 2357 else for (_e = 0; _e < g.length; _e++) { 2358 if (et = g[_e], tt = et.instance, rt = et.currentTarget, et = et.listener, tt !== $ && b.isPropagationStopped()) break e; 2359 nf(b, et, rt), $ = tt; 2360 } 2361 } 2362 } 2363 if (Qb) throw d = Rb, Qb = false, Rb = null, d; 2364 } 2365 function D(d, o) { 2366 var h = o[of]; 2367 h === void 0 && (h = o[of] = /* @__PURE__ */ new Set()); 2368 var g = d + "__bubble"; 2369 h.has(g) || (pf(o, d, 2, false), h.add(g)); 2370 } 2371 function qf(d, o, h) { 2372 var g = 0; 2373 o && (g |= 4), pf(h, d, g, o); 2374 } 2375 var rf = "_reactListening" + Math.random().toString(36).slice(2); 2376 function sf(d) { 2377 if (!d[rf]) {
vendor: 79,626 bytes, lines 2378-4543
2378 d[rf] = true, da.forEach(function(h) { 2379 h !== "selectionchange" && (mf.has(h) || qf(h, false, d), qf(h, true, d)); 2380 }); 2381 var o = d.nodeType === 9 ? d : d.ownerDocument; 2382 o === null || o[rf] || (o[rf] = true, qf("selectionchange", false, o)); 2383 } 2384 } 2385 function pf(d, o, h, g) { 2386 switch (jd(o)) { 2387 case 1: 2388 var b = ed; 2389 break; 2390 case 4: 2391 b = gd; 2392 break; 2393 default: 2394 b = fd; 2395 } 2396 h = b.bind(null, o, h, d), b = void 0, !Lb || o !== "touchstart" && o !== "touchmove" && o !== "wheel" || (b = true), g ? b !== void 0 ? d.addEventListener(o, h, { 2397 capture: true, 2398 passive: b 2399 }) : d.addEventListener(o, h, true) : b !== void 0 ? d.addEventListener(o, h, { 2400 passive: b 2401 }) : d.addEventListener(o, h, false); 2402 } 2403 function hd(d, o, h, g, b) { 2404 var $ = g; 2405 if (!(o & 1) && !(o & 2) && g !== null) e: for (; ; ) { 2406 if (g === null) return; 2407 var _e = g.tag; 2408 if (_e === 3 || _e === 4) { 2409 var et = g.stateNode.containerInfo; 2410 if (et === b || et.nodeType === 8 && et.parentNode === b) break; 2411 if (_e === 4) for (_e = g.return; _e !== null; ) { 2412 var tt = _e.tag; 2413 if ((tt === 3 || tt === 4) && (tt = _e.stateNode.containerInfo, tt === b || tt.nodeType === 8 && tt.parentNode === b)) return; 2414 _e = _e.return; 2415 } 2416 for (; et !== null; ) { 2417 if (_e = Wc(et), _e === null) return; 2418 if (tt = _e.tag, tt === 5 || tt === 6) { 2419 g = $ = _e; 2420 continue e; 2421 } 2422 et = et.parentNode; 2423 } 2424 } 2425 g = g.return; 2426 } 2427 Jb(function() { 2428 var rt = $, nt = xb(h), st = []; 2429 e: { 2430 var ot = df.get(d); 2431 if (ot !== void 0) { 2432 var it = td, at = d; 2433 switch (d) { 2434 case "keypress": 2435 if (od(h) === 0) break e; 2436 case "keydown": 2437 case "keyup": 2438 it = Rd; 2439 break; 2440 case "focusin": 2441 at = "focus", it = Fd; 2442 break; 2443 case "focusout": 2444 at = "blur", it = Fd; 2445 break; 2446 case "beforeblur": 2447 case "afterblur": 2448 it = Fd; 2449 break; 2450 case "click": 2451 if (h.button === 2) break e; 2452 case "auxclick": 2453 case "dblclick": 2454 case "mousedown": 2455 case "mousemove": 2456 case "mouseup": 2457 case "mouseout": 2458 case "mouseover": 2459 case "contextmenu": 2460 it = Bd; 2461 break; 2462 case "drag": 2463 case "dragend": 2464 case "dragenter": 2465 case "dragexit": 2466 case "dragleave": 2467 case "dragover": 2468 case "dragstart": 2469 case "drop": 2470 it = Dd; 2471 break; 2472 case "touchcancel": 2473 case "touchend": 2474 case "touchmove": 2475 case "touchstart": 2476 it = Vd; 2477 break; 2478 case $e: 2479 case af: 2480 case bf: 2481 it = Hd; 2482 break; 2483 case cf: 2484 it = Xd; 2485 break; 2486 case "scroll": 2487 it = vd; 2488 break; 2489 case "wheel": 2490 it = Zd; 2491 break; 2492 case "copy": 2493 case "cut": 2494 case "paste": 2495 it = Jd; 2496 break; 2497 case "gotpointercapture": 2498 case "lostpointercapture": 2499 case "pointercancel": 2500 case "pointerdown": 2501 case "pointermove": 2502 case "pointerout": 2503 case "pointerover": 2504 case "pointerup": 2505 it = Td; 2506 } 2507 var lt = (o & 4) !== 0, ct = !lt && d === "scroll", ut = lt ? ot !== null ? ot + "Capture" : null : ot; 2508 lt = []; 2509 for (var ft = rt, dt; ft !== null; ) { 2510 dt = ft; 2511 var pt = dt.stateNode; 2512 if (dt.tag === 5 && pt !== null && (dt = pt, ut !== null && (pt = Kb(ft, ut), pt != null && lt.push(tf(ft, pt, dt)))), ct) break; 2513 ft = ft.return; 2514 } 2515 0 < lt.length && (ot = new it(ot, at, null, h, nt), st.push({ 2516 event: ot, 2517 listeners: lt 2518 })); 2519 } 2520 } 2521 if (!(o & 7)) { 2522 e: { 2523 if (ot = d === "mouseover" || d === "pointerover", it = d === "mouseout" || d === "pointerout", ot && h !== wb && (at = h.relatedTarget || h.fromElement) && (Wc(at) || at[uf])) break e; 2524 if ((it || ot) && (ot = nt.window === nt ? nt : (ot = nt.ownerDocument) ? ot.defaultView || ot.parentWindow : window, it ? (at = h.relatedTarget || h.toElement, it = rt, at = at ? Wc(at) : null, at !== null && (ct = Vb(at), at !== ct || at.tag !== 5 && at.tag !== 6) && (at = null)) : (it = null, at = rt), it !== at)) { 2525 if (lt = Bd, pt = "onMouseLeave", ut = "onMouseEnter", ft = "mouse", (d === "pointerout" || d === "pointerover") && (lt = Td, pt = "onPointerLeave", ut = "onPointerEnter", ft = "pointer"), ct = it == null ? ot : ue(it), dt = at == null ? ot : ue(at), ot = new lt(pt, ft + "leave", it, h, nt), ot.target = ct, ot.relatedTarget = dt, pt = null, Wc(nt) === rt && (lt = new lt(ut, ft + "enter", at, h, nt), lt.target = dt, lt.relatedTarget = ct, pt = lt), ct = pt, it && at) t: { 2526 for (lt = it, ut = at, ft = 0, dt = lt; dt; dt = vf(dt)) ft++; 2527 for (dt = 0, pt = ut; pt; pt = vf(pt)) dt++; 2528 for (; 0 < ft - dt; ) lt = vf(lt), ft--; 2529 for (; 0 < dt - ft; ) ut = vf(ut), dt--; 2530 for (; ft--; ) { 2531 if (lt === ut || ut !== null && lt === ut.alternate) break t; 2532 lt = vf(lt), ut = vf(ut); 2533 } 2534 lt = null; 2535 } 2536 else lt = null; 2537 it !== null && wf(st, ot, it, lt, false), at !== null && ct !== null && wf(st, ct, at, lt, true); 2538 } 2539 } 2540 e: { 2541 if (ot = rt ? ue(rt) : window, it = ot.nodeName && ot.nodeName.toLowerCase(), it === "select" || it === "input" && ot.type === "file") var ht = ve; 2542 else if (me(ot)) if (we) ht = Fe; 2543 else { 2544 ht = De; 2545 var mt = Ce; 2546 } 2547 else (it = ot.nodeName) && it.toLowerCase() === "input" && (ot.type === "checkbox" || ot.type === "radio") && (ht = Ee); 2548 if (ht && (ht = ht(d, rt))) { 2549 ne(st, ht, h, nt); 2550 break e; 2551 } 2552 mt && mt(d, ot, rt), d === "focusout" && (mt = ot._wrapperState) && mt.controlled && ot.type === "number" && cb(ot, "number", ot.value); 2553 } 2554 switch (mt = rt ? ue(rt) : window, d) { 2555 case "focusin": 2556 (me(mt) || mt.contentEditable === "true") && (Qe = mt, Re = rt, Se = null); 2557 break; 2558 case "focusout": 2559 Se = Re = Qe = null; 2560 break; 2561 case "mousedown": 2562 Te = true; 2563 break; 2564 case "contextmenu": 2565 case "mouseup": 2566 case "dragend": 2567 Te = false, Ue(st, h, nt); 2568 break; 2569 case "selectionchange": 2570 if (Pe) break; 2571 case "keydown": 2572 case "keyup": 2573 Ue(st, h, nt); 2574 } 2575 var gt; 2576 if (ae) e: { 2577 switch (d) { 2578 case "compositionstart": 2579 var yt = "onCompositionStart"; 2580 break e; 2581 case "compositionend": 2582 yt = "onCompositionEnd"; 2583 break e; 2584 case "compositionupdate": 2585 yt = "onCompositionUpdate"; 2586 break e; 2587 } 2588 yt = void 0; 2589 } 2590 else ie ? ge(d, h) && (yt = "onCompositionEnd") : d === "keydown" && h.keyCode === 229 && (yt = "onCompositionStart"); 2591 yt && (de && h.locale !== "ko" && (ie || yt !== "onCompositionStart" ? yt === "onCompositionEnd" && ie && (gt = nd()) : (kd = nt, ld = "value" in kd ? kd.value : kd.textContent, ie = true)), mt = oe(rt, yt), 0 < mt.length && (yt = new Ld(yt, d, null, h, nt), st.push({ 2592 event: yt, 2593 listeners: mt 2594 }), gt ? yt.data = gt : (gt = he(h), gt !== null && (yt.data = gt)))), (gt = ce ? je(d, h) : ke(d, h)) && (rt = oe(rt, "onBeforeInput"), 0 < rt.length && (nt = new Ld("onBeforeInput", "beforeinput", null, h, nt), st.push({ 2595 event: nt, 2596 listeners: rt 2597 }), nt.data = gt)); 2598 } 2599 se(st, o); 2600 }); 2601 } 2602 function tf(d, o, h) { 2603 return { 2604 instance: d, 2605 listener: o, 2606 currentTarget: h 2607 }; 2608 } 2609 function oe(d, o) { 2610 for (var h = o + "Capture", g = []; d !== null; ) { 2611 var b = d, $ = b.stateNode; 2612 b.tag === 5 && $ !== null && (b = $, $ = Kb(d, h), $ != null && g.unshift(tf(d, $, b)), $ = Kb(d, o), $ != null && g.push(tf(d, $, b))), d = d.return; 2613 } 2614 return g; 2615 } 2616 function vf(d) { 2617 if (d === null) return null; 2618 do 2619 d = d.return; 2620 while (d && d.tag !== 5); 2621 return d || null; 2622 } 2623 function wf(d, o, h, g, b) { 2624 for (var $ = o._reactName, _e = []; h !== null && h !== g; ) { 2625 var et = h, tt = et.alternate, rt = et.stateNode; 2626 if (tt !== null && tt === g) break; 2627 et.tag === 5 && rt !== null && (et = rt, b ? (tt = Kb(h, $), tt != null && _e.unshift(tf(h, tt, et))) : b || (tt = Kb(h, $), tt != null && _e.push(tf(h, tt, et)))), h = h.return; 2628 } 2629 _e.length !== 0 && d.push({ 2630 event: o, 2631 listeners: _e 2632 }); 2633 } 2634 var xf = /\r\n?/g, yf = /\u0000|\uFFFD/g; 2635 function zf(d) { 2636 return (typeof d == "string" ? d : "" + d).replace(xf, "\n").replace(yf, ""); 2637 } 2638 function Af(d, o, h) { 2639 if (o = zf(o), zf(d) !== o && h) throw Error(p(425)); 2640 } 2641 function Bf() { 2642 } 2643 var Cf = null, Df = null; 2644 function Ef(d, o) { 2645 return d === "textarea" || d === "noscript" || typeof o.children == "string" || typeof o.children == "number" || typeof o.dangerouslySetInnerHTML == "object" && o.dangerouslySetInnerHTML !== null && o.dangerouslySetInnerHTML.__html != null; 2646 } 2647 var Ff = typeof setTimeout == "function" ? setTimeout : void 0, Gf = typeof clearTimeout == "function" ? clearTimeout : void 0, Hf = typeof Promise == "function" ? Promise : void 0, Jf = typeof queueMicrotask == "function" ? queueMicrotask : typeof Hf < "u" ? function(d) { 2648 return Hf.resolve(null).then(d).catch(If); 2649 } : Ff; 2650 function If(d) { 2651 setTimeout(function() { 2652 throw d; 2653 }); 2654 } 2655 function Kf(d, o) { 2656 var h = o, g = 0; 2657 do { 2658 var b = h.nextSibling; 2659 if (d.removeChild(h), b && b.nodeType === 8) if (h = b.data, h === "/$") { 2660 if (g === 0) { 2661 d.removeChild(b), bd(o); 2662 return; 2663 } 2664 g--; 2665 } else h !== "$" && h !== "$?" && h !== "$!" || g++; 2666 h = b; 2667 } while (h); 2668 bd(o); 2669 } 2670 function Lf(d) { 2671 for (; d != null; d = d.nextSibling) { 2672 var o = d.nodeType; 2673 if (o === 1 || o === 3) break; 2674 if (o === 8) { 2675 if (o = d.data, o === "$" || o === "$!" || o === "$?") break; 2676 if (o === "/$") return null; 2677 } 2678 } 2679 return d; 2680 } 2681 function Mf(d) { 2682 d = d.previousSibling; 2683 for (var o = 0; d; ) { 2684 if (d.nodeType === 8) { 2685 var h = d.data; 2686 if (h === "$" || h === "$!" || h === "$?") { 2687 if (o === 0) return d; 2688 o--; 2689 } else h === "/$" && o++; 2690 } 2691 d = d.previousSibling; 2692 } 2693 return null; 2694 } 2695 var Nf = Math.random().toString(36).slice(2), Of = "__reactFiber$" + Nf, Pf = "__reactProps$" + Nf, uf = "__reactContainer$" + Nf, of = "__reactEvents$" + Nf, Qf = "__reactListeners$" + Nf, Rf = "__reactHandles$" + Nf; 2696 function Wc(d) { 2697 var o = d[Of]; 2698 if (o) return o; 2699 for (var h = d.parentNode; h; ) { 2700 if (o = h[uf] || h[Of]) { 2701 if (h = o.alternate, o.child !== null || h !== null && h.child !== null) for (d = Mf(d); d !== null; ) { 2702 if (h = d[Of]) return h; 2703 d = Mf(d); 2704 } 2705 return o; 2706 } 2707 d = h, h = d.parentNode; 2708 } 2709 return null; 2710 } 2711 function Cb(d) { 2712 return d = d[Of] || d[uf], !d || d.tag !== 5 && d.tag !== 6 && d.tag !== 13 && d.tag !== 3 ? null : d; 2713 } 2714 function ue(d) { 2715 if (d.tag === 5 || d.tag === 6) return d.stateNode; 2716 throw Error(p(33)); 2717 } 2718 function Db(d) { 2719 return d[Pf] || null; 2720 } 2721 var Sf = [], Tf = -1; 2722 function Uf(d) { 2723 return { 2724 current: d 2725 }; 2726 } 2727 function E(d) { 2728 0 > Tf || (d.current = Sf[Tf], Sf[Tf] = null, Tf--); 2729 } 2730 function G(d, o) { 2731 Tf++, Sf[Tf] = d.current, d.current = o; 2732 } 2733 var Vf = {}, H = Uf(Vf), Wf = Uf(false), Xf = Vf; 2734 function Yf(d, o) { 2735 var h = d.type.contextTypes; 2736 if (!h) return Vf; 2737 var g = d.stateNode; 2738 if (g && g.__reactInternalMemoizedUnmaskedChildContext === o) return g.__reactInternalMemoizedMaskedChildContext; 2739 var b = {}, $; 2740 for ($ in h) b[$] = o[$]; 2741 return g && (d = d.stateNode, d.__reactInternalMemoizedUnmaskedChildContext = o, d.__reactInternalMemoizedMaskedChildContext = b), b; 2742 } 2743 function Zf(d) { 2744 return d = d.childContextTypes, d != null; 2745 } 2746 function $f() { 2747 E(Wf), E(H); 2748 } 2749 function ag(d, o, h) { 2750 if (H.current !== Vf) throw Error(p(168)); 2751 G(H, o), G(Wf, h); 2752 } 2753 function bg(d, o, h) { 2754 var g = d.stateNode; 2755 if (o = o.childContextTypes, typeof g.getChildContext != "function") return h; 2756 g = g.getChildContext(); 2757 for (var b in g) if (!(b in o)) throw Error(p(108, Ra(d) || "Unknown", b)); 2758 return A({}, h, g); 2759 } 2760 function cg(d) { 2761 return d = (d = d.stateNode) && d.__reactInternalMemoizedMergedChildContext || Vf, Xf = H.current, G(H, d), G(Wf, Wf.current), true; 2762 } 2763 function dg(d, o, h) { 2764 var g = d.stateNode; 2765 if (!g) throw Error(p(169)); 2766 h ? (d = bg(d, o, Xf), g.__reactInternalMemoizedMergedChildContext = d, E(Wf), E(H), G(H, d)) : E(Wf), G(Wf, h); 2767 } 2768 var eg = null, fg = false, gg = false; 2769 function hg(d) { 2770 eg === null ? eg = [ 2771 d 2772 ] : eg.push(d); 2773 } 2774 function ig(d) { 2775 fg = true, hg(d); 2776 } 2777 function jg() { 2778 if (!gg && eg !== null) { 2779 gg = true; 2780 var d = 0, o = C; 2781 try { 2782 var h = eg; 2783 for (C = 1; d < h.length; d++) { 2784 var g = h[d]; 2785 do 2786 g = g(true); 2787 while (g !== null); 2788 } 2789 eg = null, fg = false; 2790 } catch (b) { 2791 throw eg !== null && (eg = eg.slice(d + 1)), ac(fc, jg), b; 2792 } finally { 2793 C = o, gg = false; 2794 } 2795 } 2796 return null; 2797 } 2798 var kg = [], lg = 0, mg = null, ng = 0, og = [], pg = 0, qg = null, rg = 1, sg = ""; 2799 function tg(d, o) { 2800 kg[lg++] = ng, kg[lg++] = mg, mg = d, ng = o; 2801 } 2802 function ug(d, o, h) { 2803 og[pg++] = rg, og[pg++] = sg, og[pg++] = qg, qg = d; 2804 var g = rg; 2805 d = sg; 2806 var b = 32 - oc(g) - 1; 2807 g &= ~(1 << b), h += 1; 2808 var $ = 32 - oc(o) + b; 2809 if (30 < $) { 2810 var _e = b - b % 5; 2811 $ = (g & (1 << _e) - 1).toString(32), g >>= _e, b -= _e, rg = 1 << 32 - oc(o) + b | h << b | g, sg = $ + d; 2812 } else rg = 1 << $ | h << b | g, sg = d; 2813 } 2814 function vg(d) { 2815 d.return !== null && (tg(d, 1), ug(d, 1, 0)); 2816 } 2817 function wg(d) { 2818 for (; d === mg; ) mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null; 2819 for (; d === qg; ) qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null; 2820 } 2821 var xg = null, yg = null, I = false, zg = null; 2822 function Ag(d, o) { 2823 var h = Bg(5, null, null, 0); 2824 h.elementType = "DELETED", h.stateNode = o, h.return = d, o = d.deletions, o === null ? (d.deletions = [ 2825 h 2826 ], d.flags |= 16) : o.push(h); 2827 } 2828 function Cg(d, o) { 2829 switch (d.tag) { 2830 case 5: 2831 var h = d.type; 2832 return o = o.nodeType !== 1 || h.toLowerCase() !== o.nodeName.toLowerCase() ? null : o, o !== null ? (d.stateNode = o, xg = d, yg = Lf(o.firstChild), true) : false; 2833 case 6: 2834 return o = d.pendingProps === "" || o.nodeType !== 3 ? null : o, o !== null ? (d.stateNode = o, xg = d, yg = null, true) : false; 2835 case 13: 2836 return o = o.nodeType !== 8 ? null : o, o !== null ? (h = qg !== null ? { 2837 id: rg, 2838 overflow: sg 2839 } : null, d.memoizedState = { 2840 dehydrated: o, 2841 treeContext: h, 2842 retryLane: 1073741824 2843 }, h = Bg(18, null, null, 0), h.stateNode = o, h.return = d, d.child = h, xg = d, yg = null, true) : false; 2844 default: 2845 return false; 2846 } 2847 } 2848 function Dg(d) { 2849 return (d.mode & 1) !== 0 && (d.flags & 128) === 0; 2850 } 2851 function Eg(d) { 2852 if (I) { 2853 var o = yg; 2854 if (o) { 2855 var h = o; 2856 if (!Cg(d, o)) { 2857 if (Dg(d)) throw Error(p(418)); 2858 o = Lf(h.nextSibling); 2859 var g = xg; 2860 o && Cg(d, o) ? Ag(g, h) : (d.flags = d.flags & -4097 | 2, I = false, xg = d); 2861 } 2862 } else { 2863 if (Dg(d)) throw Error(p(418)); 2864 d.flags = d.flags & -4097 | 2, I = false, xg = d; 2865 } 2866 } 2867 } 2868 function Fg(d) { 2869 for (d = d.return; d !== null && d.tag !== 5 && d.tag !== 3 && d.tag !== 13; ) d = d.return; 2870 xg = d; 2871 } 2872 function Gg(d) { 2873 if (d !== xg) return false; 2874 if (!I) return Fg(d), I = true, false; 2875 var o; 2876 if ((o = d.tag !== 3) && !(o = d.tag !== 5) && (o = d.type, o = o !== "head" && o !== "body" && !Ef(d.type, d.memoizedProps)), o && (o = yg)) { 2877 if (Dg(d)) throw Hg(), Error(p(418)); 2878 for (; o; ) Ag(d, o), o = Lf(o.nextSibling); 2879 } 2880 if (Fg(d), d.tag === 13) { 2881 if (d = d.memoizedState, d = d !== null ? d.dehydrated : null, !d) throw Error(p(317)); 2882 e: { 2883 for (d = d.nextSibling, o = 0; d; ) { 2884 if (d.nodeType === 8) { 2885 var h = d.data; 2886 if (h === "/$") { 2887 if (o === 0) { 2888 yg = Lf(d.nextSibling); 2889 break e; 2890 } 2891 o--; 2892 } else h !== "$" && h !== "$!" && h !== "$?" || o++; 2893 } 2894 d = d.nextSibling; 2895 } 2896 yg = null; 2897 } 2898 } else yg = xg ? Lf(d.stateNode.nextSibling) : null; 2899 return true; 2900 } 2901 function Hg() { 2902 for (var d = yg; d; ) d = Lf(d.nextSibling); 2903 } 2904 function Ig() { 2905 yg = xg = null, I = false; 2906 } 2907 function Jg(d) { 2908 zg === null ? zg = [ 2909 d 2910 ] : zg.push(d); 2911 } 2912 var Kg = ua$2.ReactCurrentBatchConfig; 2913 function Lg(d, o, h) { 2914 if (d = h.ref, d !== null && typeof d != "function" && typeof d != "object") { 2915 if (h._owner) { 2916 if (h = h._owner, h) { 2917 if (h.tag !== 1) throw Error(p(309)); 2918 var g = h.stateNode; 2919 } 2920 if (!g) throw Error(p(147, d)); 2921 var b = g, $ = "" + d; 2922 return o !== null && o.ref !== null && typeof o.ref == "function" && o.ref._stringRef === $ ? o.ref : (o = function(_e) { 2923 var et = b.refs; 2924 _e === null ? delete et[$] : et[$] = _e; 2925 }, o._stringRef = $, o); 2926 } 2927 if (typeof d != "string") throw Error(p(284)); 2928 if (!h._owner) throw Error(p(290, d)); 2929 } 2930 return d; 2931 } 2932 function Mg(d, o) { 2933 throw d = Object.prototype.toString.call(o), Error(p(31, d === "[object Object]" ? "object with keys {" + Object.keys(o).join(", ") + "}" : d)); 2934 } 2935 function Ng(d) { 2936 var o = d._init; 2937 return o(d._payload); 2938 } 2939 function Og(d) { 2940 function o(ut, ft) { 2941 if (d) { 2942 var dt = ut.deletions; 2943 dt === null ? (ut.deletions = [ 2944 ft 2945 ], ut.flags |= 16) : dt.push(ft); 2946 } 2947 } 2948 function h(ut, ft) { 2949 if (!d) return null; 2950 for (; ft !== null; ) o(ut, ft), ft = ft.sibling; 2951 return null; 2952 } 2953 function g(ut, ft) { 2954 for (ut = /* @__PURE__ */ new Map(); ft !== null; ) ft.key !== null ? ut.set(ft.key, ft) : ut.set(ft.index, ft), ft = ft.sibling; 2955 return ut; 2956 } 2957 function b(ut, ft) { 2958 return ut = Pg(ut, ft), ut.index = 0, ut.sibling = null, ut; 2959 } 2960 function $(ut, ft, dt) { 2961 return ut.index = dt, d ? (dt = ut.alternate, dt !== null ? (dt = dt.index, dt < ft ? (ut.flags |= 2, ft) : dt) : (ut.flags |= 2, ft)) : (ut.flags |= 1048576, ft); 2962 } 2963 function _e(ut) { 2964 return d && ut.alternate === null && (ut.flags |= 2), ut; 2965 } 2966 function et(ut, ft, dt, pt) { 2967 return ft === null || ft.tag !== 6 ? (ft = Qg(dt, ut.mode, pt), ft.return = ut, ft) : (ft = b(ft, dt), ft.return = ut, ft); 2968 } 2969 function tt(ut, ft, dt, pt) { 2970 var ht = dt.type; 2971 return ht === ya ? nt(ut, ft, dt.props.children, pt, dt.key) : ft !== null && (ft.elementType === ht || typeof ht == "object" && ht !== null && ht.$$typeof === Ha && Ng(ht) === ft.type) ? (pt = b(ft, dt.props), pt.ref = Lg(ut, ft, dt), pt.return = ut, pt) : (pt = Rg(dt.type, dt.key, dt.props, null, ut.mode, pt), pt.ref = Lg(ut, ft, dt), pt.return = ut, pt); 2972 } 2973 function rt(ut, ft, dt, pt) { 2974 return ft === null || ft.tag !== 4 || ft.stateNode.containerInfo !== dt.containerInfo || ft.stateNode.implementation !== dt.implementation ? (ft = Sg(dt, ut.mode, pt), ft.return = ut, ft) : (ft = b(ft, dt.children || []), ft.return = ut, ft); 2975 } 2976 function nt(ut, ft, dt, pt, ht) { 2977 return ft === null || ft.tag !== 7 ? (ft = Tg(dt, ut.mode, pt, ht), ft.return = ut, ft) : (ft = b(ft, dt), ft.return = ut, ft); 2978 } 2979 function st(ut, ft, dt) { 2980 if (typeof ft == "string" && ft !== "" || typeof ft == "number") return ft = Qg("" + ft, ut.mode, dt), ft.return = ut, ft; 2981 if (typeof ft == "object" && ft !== null) { 2982 switch (ft.$$typeof) { 2983 case va: 2984 return dt = Rg(ft.type, ft.key, ft.props, null, ut.mode, dt), dt.ref = Lg(ut, null, ft), dt.return = ut, dt; 2985 case wa: 2986 return ft = Sg(ft, ut.mode, dt), ft.return = ut, ft; 2987 case Ha: 2988 var pt = ft._init; 2989 return st(ut, pt(ft._payload), dt); 2990 } 2991 if (eb(ft) || Ka(ft)) return ft = Tg(ft, ut.mode, dt, null), ft.return = ut, ft; 2992 Mg(ut, ft); 2993 } 2994 return null; 2995 } 2996 function ot(ut, ft, dt, pt) { 2997 var ht = ft !== null ? ft.key : null; 2998 if (typeof dt == "string" && dt !== "" || typeof dt == "number") return ht !== null ? null : et(ut, ft, "" + dt, pt); 2999 if (typeof dt == "object" && dt !== null) { 3000 switch (dt.$$typeof) { 3001 case va: 3002 return dt.key === ht ? tt(ut, ft, dt, pt) : null; 3003 case wa: 3004 return dt.key === ht ? rt(ut, ft, dt, pt) : null; 3005 case Ha: 3006 return ht = dt._init, ot(ut, ft, ht(dt._payload), pt); 3007 } 3008 if (eb(dt) || Ka(dt)) return ht !== null ? null : nt(ut, ft, dt, pt, null); 3009 Mg(ut, dt); 3010 } 3011 return null; 3012 } 3013 function it(ut, ft, dt, pt, ht) { 3014 if (typeof pt == "string" && pt !== "" || typeof pt == "number") return ut = ut.get(dt) || null, et(ft, ut, "" + pt, ht); 3015 if (typeof pt == "object" && pt !== null) { 3016 switch (pt.$$typeof) { 3017 case va: 3018 return ut = ut.get(pt.key === null ? dt : pt.key) || null, tt(ft, ut, pt, ht); 3019 case wa: 3020 return ut = ut.get(pt.key === null ? dt : pt.key) || null, rt(ft, ut, pt, ht); 3021 case Ha: 3022 var mt = pt._init; 3023 return it(ut, ft, dt, mt(pt._payload), ht); 3024 } 3025 if (eb(pt) || Ka(pt)) return ut = ut.get(dt) || null, nt(ft, ut, pt, ht, null); 3026 Mg(ft, pt); 3027 } 3028 return null; 3029 } 3030 function at(ut, ft, dt, pt) { 3031 for (var ht = null, mt = null, gt = ft, yt = ft = 0, xt = null; gt !== null && yt < dt.length; yt++) { 3032 gt.index > yt ? (xt = gt, gt = null) : xt = gt.sibling; 3033 var _t = ot(ut, gt, dt[yt], pt); 3034 if (_t === null) { 3035 gt === null && (gt = xt); 3036 break; 3037 } 3038 d && gt && _t.alternate === null && o(ut, gt), ft = $(_t, ft, yt), mt === null ? ht = _t : mt.sibling = _t, mt = _t, gt = xt; 3039 } 3040 if (yt === dt.length) return h(ut, gt), I && tg(ut, yt), ht; 3041 if (gt === null) { 3042 for (; yt < dt.length; yt++) gt = st(ut, dt[yt], pt), gt !== null && (ft = $(gt, ft, yt), mt === null ? ht = gt : mt.sibling = gt, mt = gt); 3043 return I && tg(ut, yt), ht; 3044 } 3045 for (gt = g(ut, gt); yt < dt.length; yt++) xt = it(gt, ut, yt, dt[yt], pt), xt !== null && (d && xt.alternate !== null && gt.delete(xt.key === null ? yt : xt.key), ft = $(xt, ft, yt), mt === null ? ht = xt : mt.sibling = xt, mt = xt); 3046 return d && gt.forEach(function(St) { 3047 return o(ut, St); 3048 }), I && tg(ut, yt), ht; 3049 } 3050 function lt(ut, ft, dt, pt) { 3051 var ht = Ka(dt); 3052 if (typeof ht != "function") throw Error(p(150)); 3053 if (dt = ht.call(dt), dt == null) throw Error(p(151)); 3054 for (var mt = ht = null, gt = ft, yt = ft = 0, xt = null, _t = dt.next(); gt !== null && !_t.done; yt++, _t = dt.next()) { 3055 gt.index > yt ? (xt = gt, gt = null) : xt = gt.sibling; 3056 var St = ot(ut, gt, _t.value, pt); 3057 if (St === null) { 3058 gt === null && (gt = xt); 3059 break; 3060 } 3061 d && gt && St.alternate === null && o(ut, gt), ft = $(St, ft, yt), mt === null ? ht = St : mt.sibling = St, mt = St, gt = xt; 3062 } 3063 if (_t.done) return h(ut, gt), I && tg(ut, yt), ht; 3064 if (gt === null) { 3065 for (; !_t.done; yt++, _t = dt.next()) _t = st(ut, _t.value, pt), _t !== null && (ft = $(_t, ft, yt), mt === null ? ht = _t : mt.sibling = _t, mt = _t); 3066 return I && tg(ut, yt), ht; 3067 } 3068 for (gt = g(ut, gt); !_t.done; yt++, _t = dt.next()) _t = it(gt, ut, yt, _t.value, pt), _t !== null && (d && _t.alternate !== null && gt.delete(_t.key === null ? yt : _t.key), ft = $(_t, ft, yt), mt === null ? ht = _t : mt.sibling = _t, mt = _t); 3069 return d && gt.forEach(function(kt) { 3070 return o(ut, kt); 3071 }), I && tg(ut, yt), ht; 3072 } 3073 function ct(ut, ft, dt, pt) { 3074 if (typeof dt == "object" && dt !== null && dt.type === ya && dt.key === null && (dt = dt.props.children), typeof dt == "object" && dt !== null) { 3075 switch (dt.$$typeof) { 3076 case va: 3077 e: { 3078 for (var ht = dt.key, mt = ft; mt !== null; ) { 3079 if (mt.key === ht) { 3080 if (ht = dt.type, ht === ya) { 3081 if (mt.tag === 7) { 3082 h(ut, mt.sibling), ft = b(mt, dt.props.children), ft.return = ut, ut = ft; 3083 break e; 3084 } 3085 } else if (mt.elementType === ht || typeof ht == "object" && ht !== null && ht.$$typeof === Ha && Ng(ht) === mt.type) { 3086 h(ut, mt.sibling), ft = b(mt, dt.props), ft.ref = Lg(ut, mt, dt), ft.return = ut, ut = ft; 3087 break e; 3088 } 3089 h(ut, mt); 3090 break; 3091 } else o(ut, mt); 3092 mt = mt.sibling; 3093 } 3094 dt.type === ya ? (ft = Tg(dt.props.children, ut.mode, pt, dt.key), ft.return = ut, ut = ft) : (pt = Rg(dt.type, dt.key, dt.props, null, ut.mode, pt), pt.ref = Lg(ut, ft, dt), pt.return = ut, ut = pt); 3095 } 3096 return _e(ut); 3097 case wa: 3098 e: { 3099 for (mt = dt.key; ft !== null; ) { 3100 if (ft.key === mt) if (ft.tag === 4 && ft.stateNode.containerInfo === dt.containerInfo && ft.stateNode.implementation === dt.implementation) { 3101 h(ut, ft.sibling), ft = b(ft, dt.children || []), ft.return = ut, ut = ft; 3102 break e; 3103 } else { 3104 h(ut, ft); 3105 break; 3106 } 3107 else o(ut, ft); 3108 ft = ft.sibling; 3109 } 3110 ft = Sg(dt, ut.mode, pt), ft.return = ut, ut = ft; 3111 } 3112 return _e(ut); 3113 case Ha: 3114 return mt = dt._init, ct(ut, ft, mt(dt._payload), pt); 3115 } 3116 if (eb(dt)) return at(ut, ft, dt, pt); 3117 if (Ka(dt)) return lt(ut, ft, dt, pt); 3118 Mg(ut, dt); 3119 } 3120 return typeof dt == "string" && dt !== "" || typeof dt == "number" ? (dt = "" + dt, ft !== null && ft.tag === 6 ? (h(ut, ft.sibling), ft = b(ft, dt), ft.return = ut, ut = ft) : (h(ut, ft), ft = Qg(dt, ut.mode, pt), ft.return = ut, ut = ft), _e(ut)) : h(ut, ft); 3121 } 3122 return ct; 3123 } 3124 var Ug = Og(true), Vg = Og(false), Wg = Uf(null), Xg = null, Yg = null, Zg = null; 3125 function $g() { 3126 Zg = Yg = Xg = null; 3127 } 3128 function ah(d) { 3129 var o = Wg.current; 3130 E(Wg), d._currentValue = o; 3131 } 3132 function bh(d, o, h) { 3133 for (; d !== null; ) { 3134 var g = d.alternate; 3135 if ((d.childLanes & o) !== o ? (d.childLanes |= o, g !== null && (g.childLanes |= o)) : g !== null && (g.childLanes & o) !== o && (g.childLanes |= o), d === h) break; 3136 d = d.return; 3137 } 3138 } 3139 function ch(d, o) { 3140 Xg = d, Zg = Yg = null, d = d.dependencies, d !== null && d.firstContext !== null && (d.lanes & o && (dh = true), d.firstContext = null); 3141 } 3142 function eh(d) { 3143 var o = d._currentValue; 3144 if (Zg !== d) if (d = { 3145 context: d, 3146 memoizedValue: o, 3147 next: null 3148 }, Yg === null) { 3149 if (Xg === null) throw Error(p(308)); 3150 Yg = d, Xg.dependencies = { 3151 lanes: 0, 3152 firstContext: d 3153 }; 3154 } else Yg = Yg.next = d; 3155 return o; 3156 } 3157 var fh = null; 3158 function gh(d) { 3159 fh === null ? fh = [ 3160 d 3161 ] : fh.push(d); 3162 } 3163 function hh(d, o, h, g) { 3164 var b = o.interleaved; 3165 return b === null ? (h.next = h, gh(o)) : (h.next = b.next, b.next = h), o.interleaved = h, ih(d, g); 3166 } 3167 function ih(d, o) { 3168 d.lanes |= o; 3169 var h = d.alternate; 3170 for (h !== null && (h.lanes |= o), h = d, d = d.return; d !== null; ) d.childLanes |= o, h = d.alternate, h !== null && (h.childLanes |= o), h = d, d = d.return; 3171 return h.tag === 3 ? h.stateNode : null; 3172 } 3173 var jh = false; 3174 function kh(d) { 3175 d.updateQueue = { 3176 baseState: d.memoizedState, 3177 firstBaseUpdate: null, 3178 lastBaseUpdate: null, 3179 shared: { 3180 pending: null, 3181 interleaved: null, 3182 lanes: 0 3183 }, 3184 effects: null 3185 }; 3186 } 3187 function lh(d, o) { 3188 d = d.updateQueue, o.updateQueue === d && (o.updateQueue = { 3189 baseState: d.baseState, 3190 firstBaseUpdate: d.firstBaseUpdate, 3191 lastBaseUpdate: d.lastBaseUpdate, 3192 shared: d.shared, 3193 effects: d.effects 3194 }); 3195 } 3196 function mh(d, o) { 3197 return { 3198 eventTime: d, 3199 lane: o, 3200 tag: 0, 3201 payload: null, 3202 callback: null, 3203 next: null 3204 }; 3205 } 3206 function nh(d, o, h) { 3207 var g = d.updateQueue; 3208 if (g === null) return null; 3209 if (g = g.shared, K & 2) { 3210 var b = g.pending; 3211 return b === null ? o.next = o : (o.next = b.next, b.next = o), g.pending = o, ih(d, h); 3212 } 3213 return b = g.interleaved, b === null ? (o.next = o, gh(g)) : (o.next = b.next, b.next = o), g.interleaved = o, ih(d, h); 3214 } 3215 function oh(d, o, h) { 3216 if (o = o.updateQueue, o !== null && (o = o.shared, (h & 4194240) !== 0)) { 3217 var g = o.lanes; 3218 g &= d.pendingLanes, h |= g, o.lanes = h, Cc(d, h); 3219 } 3220 } 3221 function ph(d, o) { 3222 var h = d.updateQueue, g = d.alternate; 3223 if (g !== null && (g = g.updateQueue, h === g)) { 3224 var b = null, $ = null; 3225 if (h = h.firstBaseUpdate, h !== null) { 3226 do { 3227 var _e = { 3228 eventTime: h.eventTime, 3229 lane: h.lane, 3230 tag: h.tag, 3231 payload: h.payload, 3232 callback: h.callback, 3233 next: null 3234 }; 3235 $ === null ? b = $ = _e : $ = $.next = _e, h = h.next; 3236 } while (h !== null); 3237 $ === null ? b = $ = o : $ = $.next = o; 3238 } else b = $ = o; 3239 h = { 3240 baseState: g.baseState, 3241 firstBaseUpdate: b, 3242 lastBaseUpdate: $, 3243 shared: g.shared, 3244 effects: g.effects 3245 }, d.updateQueue = h; 3246 return; 3247 } 3248 d = h.lastBaseUpdate, d === null ? h.firstBaseUpdate = o : d.next = o, h.lastBaseUpdate = o; 3249 } 3250 function qh(d, o, h, g) { 3251 var b = d.updateQueue; 3252 jh = false; 3253 var $ = b.firstBaseUpdate, _e = b.lastBaseUpdate, et = b.shared.pending; 3254 if (et !== null) { 3255 b.shared.pending = null; 3256 var tt = et, rt = tt.next; 3257 tt.next = null, _e === null ? $ = rt : _e.next = rt, _e = tt; 3258 var nt = d.alternate; 3259 nt !== null && (nt = nt.updateQueue, et = nt.lastBaseUpdate, et !== _e && (et === null ? nt.firstBaseUpdate = rt : et.next = rt, nt.lastBaseUpdate = tt)); 3260 } 3261 if ($ !== null) { 3262 var st = b.baseState; 3263 _e = 0, nt = rt = tt = null, et = $; 3264 do { 3265 var ot = et.lane, it = et.eventTime; 3266 if ((g & ot) === ot) { 3267 nt !== null && (nt = nt.next = { 3268 eventTime: it, 3269 lane: 0, 3270 tag: et.tag, 3271 payload: et.payload, 3272 callback: et.callback, 3273 next: null 3274 }); 3275 e: { 3276 var at = d, lt = et; 3277 switch (ot = o, it = h, lt.tag) { 3278 case 1: 3279 if (at = lt.payload, typeof at == "function") { 3280 st = at.call(it, st, ot); 3281 break e; 3282 } 3283 st = at; 3284 break e; 3285 case 3: 3286 at.flags = at.flags & -65537 | 128; 3287 case 0: 3288 if (at = lt.payload, ot = typeof at == "function" ? at.call(it, st, ot) : at, ot == null) break e; 3289 st = A({}, st, ot); 3290 break e; 3291 case 2: 3292 jh = true; 3293 } 3294 } 3295 et.callback !== null && et.lane !== 0 && (d.flags |= 64, ot = b.effects, ot === null ? b.effects = [ 3296 et 3297 ] : ot.push(et)); 3298 } else it = { 3299 eventTime: it, 3300 lane: ot, 3301 tag: et.tag, 3302 payload: et.payload, 3303 callback: et.callback, 3304 next: null 3305 }, nt === null ? (rt = nt = it, tt = st) : nt = nt.next = it, _e |= ot; 3306 if (et = et.next, et === null) { 3307 if (et = b.shared.pending, et === null) break; 3308 ot = et, et = ot.next, ot.next = null, b.lastBaseUpdate = ot, b.shared.pending = null; 3309 } 3310 } while (true); 3311 if (nt === null && (tt = st), b.baseState = tt, b.firstBaseUpdate = rt, b.lastBaseUpdate = nt, o = b.shared.interleaved, o !== null) { 3312 b = o; 3313 do 3314 _e |= b.lane, b = b.next; 3315 while (b !== o); 3316 } else $ === null && (b.shared.lanes = 0); 3317 rh |= _e, d.lanes = _e, d.memoizedState = st; 3318 } 3319 } 3320 function sh(d, o, h) { 3321 if (d = o.effects, o.effects = null, d !== null) for (o = 0; o < d.length; o++) { 3322 var g = d[o], b = g.callback; 3323 if (b !== null) { 3324 if (g.callback = null, g = h, typeof b != "function") throw Error(p(191, b)); 3325 b.call(g); 3326 } 3327 } 3328 } 3329 var th = {}, uh = Uf(th), vh$1 = Uf(th), wh = Uf(th); 3330 function xh(d) { 3331 if (d === th) throw Error(p(174)); 3332 return d; 3333 } 3334 function yh(d, o) { 3335 switch (G(wh, o), G(vh$1, d), G(uh, th), d = o.nodeType, d) { 3336 case 9: 3337 case 11: 3338 o = (o = o.documentElement) ? o.namespaceURI : lb(null, ""); 3339 break; 3340 default: 3341 d = d === 8 ? o.parentNode : o, o = d.namespaceURI || null, d = d.tagName, o = lb(o, d); 3342 } 3343 E(uh), G(uh, o); 3344 } 3345 function zh() { 3346 E(uh), E(vh$1), E(wh); 3347 } 3348 function Ah(d) { 3349 xh(wh.current); 3350 var o = xh(uh.current), h = lb(o, d.type); 3351 o !== h && (G(vh$1, d), G(uh, h)); 3352 } 3353 function Bh(d) { 3354 vh$1.current === d && (E(uh), E(vh$1)); 3355 } 3356 var L = Uf(0); 3357 function Ch(d) { 3358 for (var o = d; o !== null; ) { 3359 if (o.tag === 13) { 3360 var h = o.memoizedState; 3361 if (h !== null && (h = h.dehydrated, h === null || h.data === "$?" || h.data === "$!")) return o; 3362 } else if (o.tag === 19 && o.memoizedProps.revealOrder !== void 0) { 3363 if (o.flags & 128) return o; 3364 } else if (o.child !== null) { 3365 o.child.return = o, o = o.child; 3366 continue; 3367 } 3368 if (o === d) break; 3369 for (; o.sibling === null; ) { 3370 if (o.return === null || o.return === d) return null; 3371 o = o.return; 3372 } 3373 o.sibling.return = o.return, o = o.sibling; 3374 } 3375 return null; 3376 } 3377 var Dh = []; 3378 function Eh() { 3379 for (var d = 0; d < Dh.length; d++) Dh[d]._workInProgressVersionPrimary = null; 3380 Dh.length = 0; 3381 } 3382 var Fh = ua$2.ReactCurrentDispatcher, Gh = ua$2.ReactCurrentBatchConfig, Hh = 0, M = null, N = null, O = null, Ih = false, Jh = false, Kh = 0, Lh = 0; 3383 function P() { 3384 throw Error(p(321)); 3385 } 3386 function Mh(d, o) { 3387 if (o === null) return false; 3388 for (var h = 0; h < o.length && h < d.length; h++) if (!He(d[h], o[h])) return false; 3389 return true; 3390 } 3391 function Nh(d, o, h, g, b, $) { 3392 if (Hh = $, M = o, o.memoizedState = null, o.updateQueue = null, o.lanes = 0, Fh.current = d === null || d.memoizedState === null ? Oh : Ph, d = h(g, b), Jh) { 3393 $ = 0; 3394 do { 3395 if (Jh = false, Kh = 0, 25 <= $) throw Error(p(301)); 3396 $ += 1, O = N = null, o.updateQueue = null, Fh.current = Qh, d = h(g, b); 3397 } while (Jh); 3398 } 3399 if (Fh.current = Rh, o = N !== null && N.next !== null, Hh = 0, O = N = M = null, Ih = false, o) throw Error(p(300)); 3400 return d; 3401 } 3402 function Sh() { 3403 var d = Kh !== 0; 3404 return Kh = 0, d; 3405 } 3406 function Th() { 3407 var d = { 3408 memoizedState: null, 3409 baseState: null, 3410 baseQueue: null, 3411 queue: null, 3412 next: null 3413 }; 3414 return O === null ? M.memoizedState = O = d : O = O.next = d, O; 3415 } 3416 function Uh() { 3417 if (N === null) { 3418 var d = M.alternate; 3419 d = d !== null ? d.memoizedState : null; 3420 } else d = N.next; 3421 var o = O === null ? M.memoizedState : O.next; 3422 if (o !== null) O = o, N = d; 3423 else { 3424 if (d === null) throw Error(p(310)); 3425 N = d, d = { 3426 memoizedState: N.memoizedState, 3427 baseState: N.baseState, 3428 baseQueue: N.baseQueue, 3429 queue: N.queue, 3430 next: null 3431 }, O === null ? M.memoizedState = O = d : O = O.next = d; 3432 } 3433 return O; 3434 } 3435 function Vh(d, o) { 3436 return typeof o == "function" ? o(d) : o; 3437 } 3438 function Wh(d) { 3439 var o = Uh(), h = o.queue; 3440 if (h === null) throw Error(p(311)); 3441 h.lastRenderedReducer = d; 3442 var g = N, b = g.baseQueue, $ = h.pending; 3443 if ($ !== null) { 3444 if (b !== null) { 3445 var _e = b.next; 3446 b.next = $.next, $.next = _e; 3447 } 3448 g.baseQueue = b = $, h.pending = null; 3449 } 3450 if (b !== null) { 3451 $ = b.next, g = g.baseState; 3452 var et = _e = null, tt = null, rt = $; 3453 do { 3454 var nt = rt.lane; 3455 if ((Hh & nt) === nt) tt !== null && (tt = tt.next = { 3456 lane: 0, 3457 action: rt.action, 3458 hasEagerState: rt.hasEagerState, 3459 eagerState: rt.eagerState, 3460 next: null 3461 }), g = rt.hasEagerState ? rt.eagerState : d(g, rt.action); 3462 else { 3463 var st = { 3464 lane: nt, 3465 action: rt.action, 3466 hasEagerState: rt.hasEagerState, 3467 eagerState: rt.eagerState, 3468 next: null 3469 }; 3470 tt === null ? (et = tt = st, _e = g) : tt = tt.next = st, M.lanes |= nt, rh |= nt; 3471 } 3472 rt = rt.next; 3473 } while (rt !== null && rt !== $); 3474 tt === null ? _e = g : tt.next = et, He(g, o.memoizedState) || (dh = true), o.memoizedState = g, o.baseState = _e, o.baseQueue = tt, h.lastRenderedState = g; 3475 } 3476 if (d = h.interleaved, d !== null) { 3477 b = d; 3478 do 3479 $ = b.lane, M.lanes |= $, rh |= $, b = b.next; 3480 while (b !== d); 3481 } else b === null && (h.lanes = 0); 3482 return [ 3483 o.memoizedState, 3484 h.dispatch 3485 ]; 3486 } 3487 function Xh(d) { 3488 var o = Uh(), h = o.queue; 3489 if (h === null) throw Error(p(311)); 3490 h.lastRenderedReducer = d; 3491 var g = h.dispatch, b = h.pending, $ = o.memoizedState; 3492 if (b !== null) { 3493 h.pending = null; 3494 var _e = b = b.next; 3495 do 3496 $ = d($, _e.action), _e = _e.next; 3497 while (_e !== b); 3498 He($, o.memoizedState) || (dh = true), o.memoizedState = $, o.baseQueue === null && (o.baseState = $), h.lastRenderedState = $; 3499 } 3500 return [ 3501 $, 3502 g 3503 ]; 3504 } 3505 function Yh() { 3506 } 3507 function Zh(d, o) { 3508 var h = M, g = Uh(), b = o(), $ = !He(g.memoizedState, b); 3509 if ($ && (g.memoizedState = b, dh = true), g = g.queue, $h(ai.bind(null, h, g, d), [ 3510 d 3511 ]), g.getSnapshot !== o || $ || O !== null && O.memoizedState.tag & 1) { 3512 if (h.flags |= 2048, bi(9, ci.bind(null, h, g, b, o), void 0, null), Q === null) throw Error(p(349)); 3513 Hh & 30 || di(h, o, b); 3514 } 3515 return b; 3516 } 3517 function di(d, o, h) { 3518 d.flags |= 16384, d = { 3519 getSnapshot: o, 3520 value: h 3521 }, o = M.updateQueue, o === null ? (o = { 3522 lastEffect: null, 3523 stores: null 3524 }, M.updateQueue = o, o.stores = [ 3525 d 3526 ]) : (h = o.stores, h === null ? o.stores = [ 3527 d 3528 ] : h.push(d)); 3529 } 3530 function ci(d, o, h, g) { 3531 o.value = h, o.getSnapshot = g, ei(o) && fi(d); 3532 } 3533 function ai(d, o, h) { 3534 return h(function() { 3535 ei(o) && fi(d); 3536 }); 3537 } 3538 function ei(d) { 3539 var o = d.getSnapshot; 3540 d = d.value; 3541 try { 3542 var h = o(); 3543 return !He(d, h); 3544 } catch (e2) { 3545 return true; 3546 } 3547 } 3548 function fi(d) { 3549 var o = ih(d, 1); 3550 o !== null && gi(o, d, 1, -1); 3551 } 3552 function hi(d) { 3553 var o = Th(); 3554 return typeof d == "function" && (d = d()), o.memoizedState = o.baseState = d, d = { 3555 pending: null, 3556 interleaved: null, 3557 lanes: 0, 3558 dispatch: null, 3559 lastRenderedReducer: Vh, 3560 lastRenderedState: d 3561 }, o.queue = d, d = d.dispatch = ii.bind(null, M, d), [ 3562 o.memoizedState, 3563 d 3564 ]; 3565 } 3566 function bi(d, o, h, g) { 3567 return d = { 3568 tag: d, 3569 create: o, 3570 destroy: h, 3571 deps: g, 3572 next: null 3573 }, o = M.updateQueue, o === null ? (o = { 3574 lastEffect: null, 3575 stores: null 3576 }, M.updateQueue = o, o.lastEffect = d.next = d) : (h = o.lastEffect, h === null ? o.lastEffect = d.next = d : (g = h.next, h.next = d, d.next = g, o.lastEffect = d)), d; 3577 } 3578 function ji() { 3579 return Uh().memoizedState; 3580 } 3581 function ki(d, o, h, g) { 3582 var b = Th(); 3583 M.flags |= d, b.memoizedState = bi(1 | o, h, void 0, g === void 0 ? null : g); 3584 } 3585 function li(d, o, h, g) { 3586 var b = Uh(); 3587 g = g === void 0 ? null : g; 3588 var $ = void 0; 3589 if (N !== null) { 3590 var _e = N.memoizedState; 3591 if ($ = _e.destroy, g !== null && Mh(g, _e.deps)) { 3592 b.memoizedState = bi(o, h, $, g); 3593 return; 3594 } 3595 } 3596 M.flags |= d, b.memoizedState = bi(1 | o, h, $, g); 3597 } 3598 function mi(d, o) { 3599 return ki(8390656, 8, d, o); 3600 } 3601 function $h(d, o) { 3602 return li(2048, 8, d, o); 3603 } 3604 function ni(d, o) { 3605 return li(4, 2, d, o); 3606 } 3607 function oi(d, o) { 3608 return li(4, 4, d, o); 3609 } 3610 function pi(d, o) { 3611 if (typeof o == "function") return d = d(), o(d), function() { 3612 o(null); 3613 }; 3614 if (o != null) return d = d(), o.current = d, function() { 3615 o.current = null; 3616 }; 3617 } 3618 function qi(d, o, h) { 3619 return h = h != null ? h.concat([ 3620 d 3621 ]) : null, li(4, 4, pi.bind(null, o, d), h); 3622 } 3623 function ri() { 3624 } 3625 function si(d, o) { 3626 var h = Uh(); 3627 o = o === void 0 ? null : o; 3628 var g = h.memoizedState; 3629 return g !== null && o !== null && Mh(o, g[1]) ? g[0] : (h.memoizedState = [ 3630 d, 3631 o 3632 ], d); 3633 } 3634 function ti(d, o) { 3635 var h = Uh(); 3636 o = o === void 0 ? null : o; 3637 var g = h.memoizedState; 3638 return g !== null && o !== null && Mh(o, g[1]) ? g[0] : (d = d(), h.memoizedState = [ 3639 d, 3640 o 3641 ], d); 3642 } 3643 function ui(d, o, h) { 3644 return Hh & 21 ? (He(h, o) || (h = yc(), M.lanes |= h, rh |= h, d.baseState = true), o) : (d.baseState && (d.baseState = false, dh = true), d.memoizedState = h); 3645 } 3646 function vi(d, o) { 3647 var h = C; 3648 C = h !== 0 && 4 > h ? h : 4, d(true); 3649 var g = Gh.transition; 3650 Gh.transition = {}; 3651 try { 3652 d(false), o(); 3653 } finally { 3654 C = h, Gh.transition = g; 3655 } 3656 } 3657 function wi() { 3658 return Uh().memoizedState; 3659 } 3660 function xi(d, o, h) { 3661 var g = yi(d); 3662 if (h = { 3663 lane: g, 3664 action: h, 3665 hasEagerState: false, 3666 eagerState: null, 3667 next: null 3668 }, zi(d)) Ai(o, h); 3669 else if (h = hh(d, o, h, g), h !== null) { 3670 var b = R(); 3671 gi(h, d, g, b), Bi(h, o, g); 3672 } 3673 } 3674 function ii(d, o, h) { 3675 var g = yi(d), b = { 3676 lane: g, 3677 action: h, 3678 hasEagerState: false, 3679 eagerState: null, 3680 next: null 3681 }; 3682 if (zi(d)) Ai(o, b); 3683 else { 3684 var $ = d.alternate; 3685 if (d.lanes === 0 && ($ === null || $.lanes === 0) && ($ = o.lastRenderedReducer, $ !== null)) try { 3686 var _e = o.lastRenderedState, et = $(_e, h); 3687 if (b.hasEagerState = true, b.eagerState = et, He(et, _e)) { 3688 var tt = o.interleaved; 3689 tt === null ? (b.next = b, gh(o)) : (b.next = tt.next, tt.next = b), o.interleaved = b; 3690 return; 3691 } 3692 } catch (e2) { 3693 } finally { 3694 } 3695 h = hh(d, o, b, g), h !== null && (b = R(), gi(h, d, g, b), Bi(h, o, g)); 3696 } 3697 } 3698 function zi(d) { 3699 var o = d.alternate; 3700 return d === M || o !== null && o === M; 3701 } 3702 function Ai(d, o) { 3703 Jh = Ih = true; 3704 var h = d.pending; 3705 h === null ? o.next = o : (o.next = h.next, h.next = o), d.pending = o; 3706 } 3707 function Bi(d, o, h) { 3708 if (h & 4194240) { 3709 var g = o.lanes; 3710 g &= d.pendingLanes, h |= g, o.lanes = h, Cc(d, h); 3711 } 3712 } 3713 var Rh = { 3714 readContext: eh, 3715 useCallback: P, 3716 useContext: P, 3717 useEffect: P, 3718 useImperativeHandle: P, 3719 useInsertionEffect: P, 3720 useLayoutEffect: P, 3721 useMemo: P, 3722 useReducer: P, 3723 useRef: P, 3724 useState: P, 3725 useDebugValue: P, 3726 useDeferredValue: P, 3727 useTransition: P, 3728 useMutableSource: P, 3729 useSyncExternalStore: P, 3730 useId: P, 3731 unstable_isNewReconciler: false 3732 }, Oh = { 3733 readContext: eh, 3734 useCallback: function(d, o) { 3735 return Th().memoizedState = [ 3736 d, 3737 o === void 0 ? null : o 3738 ], d; 3739 }, 3740 useContext: eh, 3741 useEffect: mi, 3742 useImperativeHandle: function(d, o, h) { 3743 return h = h != null ? h.concat([ 3744 d 3745 ]) : null, ki(4194308, 4, pi.bind(null, o, d), h); 3746 }, 3747 useLayoutEffect: function(d, o) { 3748 return ki(4194308, 4, d, o); 3749 }, 3750 useInsertionEffect: function(d, o) { 3751 return ki(4, 2, d, o); 3752 }, 3753 useMemo: function(d, o) { 3754 var h = Th(); 3755 return o = o === void 0 ? null : o, d = d(), h.memoizedState = [ 3756 d, 3757 o 3758 ], d; 3759 }, 3760 useReducer: function(d, o, h) { 3761 var g = Th(); 3762 return o = h !== void 0 ? h(o) : o, g.memoizedState = g.baseState = o, d = { 3763 pending: null, 3764 interleaved: null, 3765 lanes: 0, 3766 dispatch: null, 3767 lastRenderedReducer: d, 3768 lastRenderedState: o 3769 }, g.queue = d, d = d.dispatch = xi.bind(null, M, d), [ 3770 g.memoizedState, 3771 d 3772 ]; 3773 }, 3774 useRef: function(d) { 3775 var o = Th(); 3776 return d = { 3777 current: d 3778 }, o.memoizedState = d; 3779 }, 3780 useState: hi, 3781 useDebugValue: ri, 3782 useDeferredValue: function(d) { 3783 return Th().memoizedState = d; 3784 }, 3785 useTransition: function() { 3786 var d = hi(false), o = d[0]; 3787 return d = vi.bind(null, d[1]), Th().memoizedState = d, [ 3788 o, 3789 d 3790 ]; 3791 }, 3792 useMutableSource: function() { 3793 }, 3794 useSyncExternalStore: function(d, o, h) { 3795 var g = M, b = Th(); 3796 if (I) { 3797 if (h === void 0) throw Error(p(407)); 3798 h = h(); 3799 } else { 3800 if (h = o(), Q === null) throw Error(p(349)); 3801 Hh & 30 || di(g, o, h); 3802 } 3803 b.memoizedState = h; 3804 var $ = { 3805 value: h, 3806 getSnapshot: o 3807 }; 3808 return b.queue = $, mi(ai.bind(null, g, $, d), [ 3809 d 3810 ]), g.flags |= 2048, bi(9, ci.bind(null, g, $, h, o), void 0, null), h; 3811 }, 3812 useId: function() { 3813 var d = Th(), o = Q.identifierPrefix; 3814 if (I) { 3815 var h = sg, g = rg; 3816 h = (g & ~(1 << 32 - oc(g) - 1)).toString(32) + h, o = ":" + o + "R" + h, h = Kh++, 0 < h && (o += "H" + h.toString(32)), o += ":"; 3817 } else h = Lh++, o = ":" + o + "r" + h.toString(32) + ":"; 3818 return d.memoizedState = o; 3819 }, 3820 unstable_isNewReconciler: false 3821 }, Ph = { 3822 readContext: eh, 3823 useCallback: si, 3824 useContext: eh, 3825 useEffect: $h, 3826 useImperativeHandle: qi, 3827 useInsertionEffect: ni, 3828 useLayoutEffect: oi, 3829 useMemo: ti, 3830 useReducer: Wh, 3831 useRef: ji, 3832 useState: function() { 3833 return Wh(Vh); 3834 }, 3835 useDebugValue: ri, 3836 useDeferredValue: function(d) { 3837 var o = Uh(); 3838 return ui(o, N.memoizedState, d); 3839 }, 3840 useTransition: function() { 3841 var d = Wh(Vh)[0], o = Uh().memoizedState; 3842 return [ 3843 d, 3844 o 3845 ]; 3846 }, 3847 useMutableSource: Yh, 3848 useSyncExternalStore: Zh, 3849 useId: wi, 3850 unstable_isNewReconciler: false 3851 }, Qh = { 3852 readContext: eh, 3853 useCallback: si, 3854 useContext: eh, 3855 useEffect: $h, 3856 useImperativeHandle: qi, 3857 useInsertionEffect: ni, 3858 useLayoutEffect: oi, 3859 useMemo: ti, 3860 useReducer: Xh, 3861 useRef: ji, 3862 useState: function() { 3863 return Xh(Vh); 3864 }, 3865 useDebugValue: ri, 3866 useDeferredValue: function(d) { 3867 var o = Uh(); 3868 return N === null ? o.memoizedState = d : ui(o, N.memoizedState, d); 3869 }, 3870 useTransition: function() { 3871 var d = Xh(Vh)[0], o = Uh().memoizedState; 3872 return [ 3873 d, 3874 o 3875 ]; 3876 }, 3877 useMutableSource: Yh, 3878 useSyncExternalStore: Zh, 3879 useId: wi, 3880 unstable_isNewReconciler: false 3881 }; 3882 function Ci(d, o) { 3883 if (d && d.defaultProps) { 3884 o = A({}, o), d = d.defaultProps; 3885 for (var h in d) o[h] === void 0 && (o[h] = d[h]); 3886 return o; 3887 } 3888 return o; 3889 } 3890 function Di(d, o, h, g) { 3891 o = d.memoizedState, h = h(g, o), h = h == null ? o : A({}, o, h), d.memoizedState = h, d.lanes === 0 && (d.updateQueue.baseState = h); 3892 } 3893 var Ei = { 3894 isMounted: function(d) { 3895 return (d = d._reactInternals) ? Vb(d) === d : false; 3896 }, 3897 enqueueSetState: function(d, o, h) { 3898 d = d._reactInternals; 3899 var g = R(), b = yi(d), $ = mh(g, b); 3900 $.payload = o, h != null && ($.callback = h), o = nh(d, $, b), o !== null && (gi(o, d, b, g), oh(o, d, b)); 3901 }, 3902 enqueueReplaceState: function(d, o, h) { 3903 d = d._reactInternals; 3904 var g = R(), b = yi(d), $ = mh(g, b); 3905 $.tag = 1, $.payload = o, h != null && ($.callback = h), o = nh(d, $, b), o !== null && (gi(o, d, b, g), oh(o, d, b)); 3906 }, 3907 enqueueForceUpdate: function(d, o) { 3908 d = d._reactInternals; 3909 var h = R(), g = yi(d), b = mh(h, g); 3910 b.tag = 2, o != null && (b.callback = o), o = nh(d, b, g), o !== null && (gi(o, d, g, h), oh(o, d, g)); 3911 } 3912 }; 3913 function Fi(d, o, h, g, b, $, _e) { 3914 return d = d.stateNode, typeof d.shouldComponentUpdate == "function" ? d.shouldComponentUpdate(g, $, _e) : o.prototype && o.prototype.isPureReactComponent ? !Ie(h, g) || !Ie(b, $) : true; 3915 } 3916 function Gi(d, o, h) { 3917 var g = false, b = Vf, $ = o.contextType; 3918 return typeof $ == "object" && $ !== null ? $ = eh($) : (b = Zf(o) ? Xf : H.current, g = o.contextTypes, $ = (g = g != null) ? Yf(d, b) : Vf), o = new o(h, $), d.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, o.updater = Ei, d.stateNode = o, o._reactInternals = d, g && (d = d.stateNode, d.__reactInternalMemoizedUnmaskedChildContext = b, d.__reactInternalMemoizedMaskedChildContext = $), o; 3919 } 3920 function Hi(d, o, h, g) { 3921 d = o.state, typeof o.componentWillReceiveProps == "function" && o.componentWillReceiveProps(h, g), typeof o.UNSAFE_componentWillReceiveProps == "function" && o.UNSAFE_componentWillReceiveProps(h, g), o.state !== d && Ei.enqueueReplaceState(o, o.state, null); 3922 } 3923 function Ii(d, o, h, g) { 3924 var b = d.stateNode; 3925 b.props = h, b.state = d.memoizedState, b.refs = {}, kh(d); 3926 var $ = o.contextType; 3927 typeof $ == "object" && $ !== null ? b.context = eh($) : ($ = Zf(o) ? Xf : H.current, b.context = Yf(d, $)), b.state = d.memoizedState, $ = o.getDerivedStateFromProps, typeof $ == "function" && (Di(d, o, $, h), b.state = d.memoizedState), typeof o.getDerivedStateFromProps == "function" || typeof b.getSnapshotBeforeUpdate == "function" || typeof b.UNSAFE_componentWillMount != "function" && typeof b.componentWillMount != "function" || (o = b.state, typeof b.componentWillMount == "function" && b.componentWillMount(), typeof b.UNSAFE_componentWillMount == "function" && b.UNSAFE_componentWillMount(), o !== b.state && Ei.enqueueReplaceState(b, b.state, null), qh(d, h, b, g), b.state = d.memoizedState), typeof b.componentDidMount == "function" && (d.flags |= 4194308); 3928 } 3929 function Ji(d, o) { 3930 try { 3931 var h = "", g = o; 3932 do 3933 h += Pa(g), g = g.return; 3934 while (g); 3935 var b = h; 3936 } catch ($) { 3937 b = "\nError generating stack: " + $.message + "\n" + $.stack; 3938 } 3939 return { 3940 value: d, 3941 source: o, 3942 stack: b, 3943 digest: null 3944 }; 3945 } 3946 function Ki(d, o, h) { 3947 return { 3948 value: d, 3949 source: null, 3950 stack: h != null ? h : null, 3951 digest: o != null ? o : null 3952 }; 3953 } 3954 function Li(d, o) { 3955 try { 3956 console.error(o.value); 3957 } catch (h) { 3958 setTimeout(function() { 3959 throw h; 3960 }); 3961 } 3962 } 3963 var Mi = typeof WeakMap == "function" ? WeakMap : Map; 3964 function Ni(d, o, h) { 3965 h = mh(-1, h), h.tag = 3, h.payload = { 3966 element: null 3967 }; 3968 var g = o.value; 3969 return h.callback = function() { 3970 Oi || (Oi = true, Pi = g), Li(d, o); 3971 }, h; 3972 } 3973 function Qi(d, o, h) { 3974 h = mh(-1, h), h.tag = 3; 3975 var g = d.type.getDerivedStateFromError; 3976 if (typeof g == "function") { 3977 var b = o.value; 3978 h.payload = function() { 3979 return g(b); 3980 }, h.callback = function() { 3981 Li(d, o); 3982 }; 3983 } 3984 var $ = d.stateNode; 3985 return $ !== null && typeof $.componentDidCatch == "function" && (h.callback = function() { 3986 Li(d, o), typeof g != "function" && (Ri === null ? Ri = /* @__PURE__ */ new Set([ 3987 this 3988 ]) : Ri.add(this)); 3989 var _e = o.stack; 3990 this.componentDidCatch(o.value, { 3991 componentStack: _e !== null ? _e : "" 3992 }); 3993 }), h; 3994 } 3995 function Si(d, o, h) { 3996 var g = d.pingCache; 3997 if (g === null) { 3998 g = d.pingCache = new Mi(); 3999 var b = /* @__PURE__ */ new Set(); 4000 g.set(o, b); 4001 } else b = g.get(o), b === void 0 && (b = /* @__PURE__ */ new Set(), g.set(o, b)); 4002 b.has(h) || (b.add(h), d = Ti.bind(null, d, o, h), o.then(d, d)); 4003 } 4004 function Ui(d) { 4005 do { 4006 var o; 4007 if ((o = d.tag === 13) && (o = d.memoizedState, o = o !== null ? o.dehydrated !== null : true), o) return d; 4008 d = d.return; 4009 } while (d !== null); 4010 return null; 4011 } 4012 function Vi(d, o, h, g, b) { 4013 return d.mode & 1 ? (d.flags |= 65536, d.lanes = b, d) : (d === o ? d.flags |= 65536 : (d.flags |= 128, h.flags |= 131072, h.flags &= -52805, h.tag === 1 && (h.alternate === null ? h.tag = 17 : (o = mh(-1, 1), o.tag = 2, nh(h, o, 1))), h.lanes |= 1), d); 4014 } 4015 var Wi = ua$2.ReactCurrentOwner, dh = false; 4016 function Xi(d, o, h, g) { 4017 o.child = d === null ? Vg(o, null, h, g) : Ug(o, d.child, h, g); 4018 } 4019 function Yi(d, o, h, g, b) { 4020 h = h.render; 4021 var $ = o.ref; 4022 return ch(o, b), g = Nh(d, o, h, g, $, b), h = Sh(), d !== null && !dh ? (o.updateQueue = d.updateQueue, o.flags &= -2053, d.lanes &= ~b, Zi(d, o, b)) : (I && h && vg(o), o.flags |= 1, Xi(d, o, g, b), o.child); 4023 } 4024 function $i(d, o, h, g, b) { 4025 if (d === null) { 4026 var $ = h.type; 4027 return typeof $ == "function" && !aj($) && $.defaultProps === void 0 && h.compare === null && h.defaultProps === void 0 ? (o.tag = 15, o.type = $, bj(d, o, $, g, b)) : (d = Rg(h.type, null, g, o, o.mode, b), d.ref = o.ref, d.return = o, o.child = d); 4028 } 4029 if ($ = d.child, !(d.lanes & b)) { 4030 var _e = $.memoizedProps; 4031 if (h = h.compare, h = h !== null ? h : Ie, h(_e, g) && d.ref === o.ref) return Zi(d, o, b); 4032 } 4033 return o.flags |= 1, d = Pg($, g), d.ref = o.ref, d.return = o, o.child = d; 4034 } 4035 function bj(d, o, h, g, b) { 4036 if (d !== null) { 4037 var $ = d.memoizedProps; 4038 if (Ie($, g) && d.ref === o.ref) if (dh = false, o.pendingProps = g = $, (d.lanes & b) !== 0) d.flags & 131072 && (dh = true); 4039 else return o.lanes = d.lanes, Zi(d, o, b); 4040 } 4041 return cj(d, o, h, g, b); 4042 } 4043 function dj(d, o, h) { 4044 var g = o.pendingProps, b = g.children, $ = d !== null ? d.memoizedState : null; 4045 if (g.mode === "hidden") if (!(o.mode & 1)) o.memoizedState = { 4046 baseLanes: 0, 4047 cachePool: null, 4048 transitions: null 4049 }, G(ej, fj), fj |= h; 4050 else { 4051 if (!(h & 1073741824)) return d = $ !== null ? $.baseLanes | h : h, o.lanes = o.childLanes = 1073741824, o.memoizedState = { 4052 baseLanes: d, 4053 cachePool: null, 4054 transitions: null 4055 }, o.updateQueue = null, G(ej, fj), fj |= d, null; 4056 o.memoizedState = { 4057 baseLanes: 0, 4058 cachePool: null, 4059 transitions: null 4060 }, g = $ !== null ? $.baseLanes : h, G(ej, fj), fj |= g; 4061 } 4062 else $ !== null ? (g = $.baseLanes | h, o.memoizedState = null) : g = h, G(ej, fj), fj |= g; 4063 return Xi(d, o, b, h), o.child; 4064 } 4065 function gj(d, o) { 4066 var h = o.ref; 4067 (d === null && h !== null || d !== null && d.ref !== h) && (o.flags |= 512, o.flags |= 2097152); 4068 } 4069 function cj(d, o, h, g, b) { 4070 var $ = Zf(h) ? Xf : H.current; 4071 return $ = Yf(o, $), ch(o, b), h = Nh(d, o, h, g, $, b), g = Sh(), d !== null && !dh ? (o.updateQueue = d.updateQueue, o.flags &= -2053, d.lanes &= ~b, Zi(d, o, b)) : (I && g && vg(o), o.flags |= 1, Xi(d, o, h, b), o.child); 4072 } 4073 function hj(d, o, h, g, b) { 4074 if (Zf(h)) { 4075 var $ = true; 4076 cg(o); 4077 } else $ = false; 4078 if (ch(o, b), o.stateNode === null) ij(d, o), Gi(o, h, g), Ii(o, h, g, b), g = true; 4079 else if (d === null) { 4080 var _e = o.stateNode, et = o.memoizedProps; 4081 _e.props = et; 4082 var tt = _e.context, rt = h.contextType; 4083 typeof rt == "object" && rt !== null ? rt = eh(rt) : (rt = Zf(h) ? Xf : H.current, rt = Yf(o, rt)); 4084 var nt = h.getDerivedStateFromProps, st = typeof nt == "function" || typeof _e.getSnapshotBeforeUpdate == "function"; 4085 st || typeof _e.UNSAFE_componentWillReceiveProps != "function" && typeof _e.componentWillReceiveProps != "function" || (et !== g || tt !== rt) && Hi(o, _e, g, rt), jh = false; 4086 var ot = o.memoizedState; 4087 _e.state = ot, qh(o, g, _e, b), tt = o.memoizedState, et !== g || ot !== tt || Wf.current || jh ? (typeof nt == "function" && (Di(o, h, nt, g), tt = o.memoizedState), (et = jh || Fi(o, h, et, g, ot, tt, rt)) ? (st || typeof _e.UNSAFE_componentWillMount != "function" && typeof _e.componentWillMount != "function" || (typeof _e.componentWillMount == "function" && _e.componentWillMount(), typeof _e.UNSAFE_componentWillMount == "function" && _e.UNSAFE_componentWillMount()), typeof _e.componentDidMount == "function" && (o.flags |= 4194308)) : (typeof _e.componentDidMount == "function" && (o.flags |= 4194308), o.memoizedProps = g, o.memoizedState = tt), _e.props = g, _e.state = tt, _e.context = rt, g = et) : (typeof _e.componentDidMount == "function" && (o.flags |= 4194308), g = false); 4088 } else { 4089 _e = o.stateNode, lh(d, o), et = o.memoizedProps, rt = o.type === o.elementType ? et : Ci(o.type, et), _e.props = rt, st = o.pendingProps, ot = _e.context, tt = h.contextType, typeof tt == "object" && tt !== null ? tt = eh(tt) : (tt = Zf(h) ? Xf : H.current, tt = Yf(o, tt)); 4090 var it = h.getDerivedStateFromProps; 4091 (nt = typeof it == "function" || typeof _e.getSnapshotBeforeUpdate == "function") || typeof _e.UNSAFE_componentWillReceiveProps != "function" && typeof _e.componentWillReceiveProps != "function" || (et !== st || ot !== tt) && Hi(o, _e, g, tt), jh = false, ot = o.memoizedState, _e.state = ot, qh(o, g, _e, b); 4092 var at = o.memoizedState; 4093 et !== st || ot !== at || Wf.current || jh ? (typeof it == "function" && (Di(o, h, it, g), at = o.memoizedState), (rt = jh || Fi(o, h, rt, g, ot, at, tt) || false) ? (nt || typeof _e.UNSAFE_componentWillUpdate != "function" && typeof _e.componentWillUpdate != "function" || (typeof _e.componentWillUpdate == "function" && _e.componentWillUpdate(g, at, tt), typeof _e.UNSAFE_componentWillUpdate == "function" && _e.UNSAFE_componentWillUpdate(g, at, tt)), typeof _e.componentDidUpdate == "function" && (o.flags |= 4), typeof _e.getSnapshotBeforeUpdate == "function" && (o.flags |= 1024)) : (typeof _e.componentDidUpdate != "function" || et === d.memoizedProps && ot === d.memoizedState || (o.flags |= 4), typeof _e.getSnapshotBeforeUpdate != "function" || et === d.memoizedProps && ot === d.memoizedState || (o.flags |= 1024), o.memoizedProps = g, o.memoizedState = at), _e.props = g, _e.state = at, _e.context = tt, g = rt) : (typeof _e.componentDidUpdate != "function" || et === d.memoizedProps && ot === d.memoizedState || (o.flags |= 4), typeof _e.getSnapshotBeforeUpdate != "function" || et === d.memoizedProps && ot === d.memoizedState || (o.flags |= 1024), g = false); 4094 } 4095 return jj(d, o, h, g, $, b); 4096 } 4097 function jj(d, o, h, g, b, $) { 4098 gj(d, o); 4099 var _e = (o.flags & 128) !== 0; 4100 if (!g && !_e) return b && dg(o, h, false), Zi(d, o, $); 4101 g = o.stateNode, Wi.current = o; 4102 var et = _e && typeof h.getDerivedStateFromError != "function" ? null : g.render(); 4103 return o.flags |= 1, d !== null && _e ? (o.child = Ug(o, d.child, null, $), o.child = Ug(o, null, et, $)) : Xi(d, o, et, $), o.memoizedState = g.state, b && dg(o, h, true), o.child; 4104 } 4105 function kj(d) { 4106 var o = d.stateNode; 4107 o.pendingContext ? ag(d, o.pendingContext, o.pendingContext !== o.context) : o.context && ag(d, o.context, false), yh(d, o.containerInfo); 4108 } 4109 function lj(d, o, h, g, b) { 4110 return Ig(), Jg(b), o.flags |= 256, Xi(d, o, h, g), o.child; 4111 } 4112 var mj = { 4113 dehydrated: null, 4114 treeContext: null, 4115 retryLane: 0 4116 }; 4117 function nj(d) { 4118 return { 4119 baseLanes: d, 4120 cachePool: null, 4121 transitions: null 4122 }; 4123 } 4124 function oj(d, o, h) { 4125 var g = o.pendingProps, b = L.current, $ = false, _e = (o.flags & 128) !== 0, et; 4126 if ((et = _e) || (et = d !== null && d.memoizedState === null ? false : (b & 2) !== 0), et ? ($ = true, o.flags &= -129) : (d === null || d.memoizedState !== null) && (b |= 1), G(L, b & 1), d === null) return Eg(o), d = o.memoizedState, d !== null && (d = d.dehydrated, d !== null) ? (o.mode & 1 ? d.data === "$!" ? o.lanes = 8 : o.lanes = 1073741824 : o.lanes = 1, null) : (_e = g.children, d = g.fallback, $ ? (g = o.mode, $ = o.child, _e = { 4127 mode: "hidden", 4128 children: _e 4129 }, !(g & 1) && $ !== null ? ($.childLanes = 0, $.pendingProps = _e) : $ = pj(_e, g, 0, null), d = Tg(d, g, h, null), $.return = o, d.return = o, $.sibling = d, o.child = $, o.child.memoizedState = nj(h), o.memoizedState = mj, d) : qj(o, _e)); 4130 if (b = d.memoizedState, b !== null && (et = b.dehydrated, et !== null)) return rj(d, o, _e, g, et, b, h); 4131 if ($) { 4132 $ = g.fallback, _e = o.mode, b = d.child, et = b.sibling; 4133 var tt = { 4134 mode: "hidden", 4135 children: g.children 4136 }; 4137 return !(_e & 1) && o.child !== b ? (g = o.child, g.childLanes = 0, g.pendingProps = tt, o.deletions = null) : (g = Pg(b, tt), g.subtreeFlags = b.subtreeFlags & 14680064), et !== null ? $ = Pg(et, $) : ($ = Tg($, _e, h, null), $.flags |= 2), $.return = o, g.return = o, g.sibling = $, o.child = g, g = $, $ = o.child, _e = d.child.memoizedState, _e = _e === null ? nj(h) : { 4138 baseLanes: _e.baseLanes | h, 4139 cachePool: null, 4140 transitions: _e.transitions 4141 }, $.memoizedState = _e, $.childLanes = d.childLanes & ~h, o.memoizedState = mj, g; 4142 } 4143 return $ = d.child, d = $.sibling, g = Pg($, { 4144 mode: "visible", 4145 children: g.children 4146 }), !(o.mode & 1) && (g.lanes = h), g.return = o, g.sibling = null, d !== null && (h = o.deletions, h === null ? (o.deletions = [ 4147 d 4148 ], o.flags |= 16) : h.push(d)), o.child = g, o.memoizedState = null, g; 4149 } 4150 function qj(d, o) { 4151 return o = pj({ 4152 mode: "visible", 4153 children: o 4154 }, d.mode, 0, null), o.return = d, d.child = o; 4155 } 4156 function sj(d, o, h, g) { 4157 return g !== null && Jg(g), Ug(o, d.child, null, h), d = qj(o, o.pendingProps.children), d.flags |= 2, o.memoizedState = null, d; 4158 } 4159 function rj(d, o, h, g, b, $, _e) { 4160 if (h) return o.flags & 256 ? (o.flags &= -257, g = Ki(Error(p(422))), sj(d, o, _e, g)) : o.memoizedState !== null ? (o.child = d.child, o.flags |= 128, null) : ($ = g.fallback, b = o.mode, g = pj({ 4161 mode: "visible", 4162 children: g.children 4163 }, b, 0, null), $ = Tg($, b, _e, null), $.flags |= 2, g.return = o, $.return = o, g.sibling = $, o.child = g, o.mode & 1 && Ug(o, d.child, null, _e), o.child.memoizedState = nj(_e), o.memoizedState = mj, $); 4164 if (!(o.mode & 1)) return sj(d, o, _e, null); 4165 if (b.data === "$!") { 4166 if (g = b.nextSibling && b.nextSibling.dataset, g) var et = g.dgst; 4167 return g = et, $ = Error(p(419)), g = Ki($, g, void 0), sj(d, o, _e, g); 4168 } 4169 if (et = (_e & d.childLanes) !== 0, dh || et) { 4170 if (g = Q, g !== null) { 4171 switch (_e & -_e) { 4172 case 4: 4173 b = 2; 4174 break; 4175 case 16: 4176 b = 8; 4177 break; 4178 case 64: 4179 case 128: 4180 case 256: 4181 case 512: 4182 case 1024: 4183 case 2048: 4184 case 4096: 4185 case 8192: 4186 case 16384: 4187 case 32768: 4188 case 65536: 4189 case 131072: 4190 case 262144: 4191 case 524288: 4192 case 1048576: 4193 case 2097152: 4194 case 4194304: 4195 case 8388608: 4196 case 16777216: 4197 case 33554432: 4198 case 67108864: 4199 b = 32; 4200 break; 4201 case 536870912: 4202 b = 268435456; 4203 break; 4204 default: 4205 b = 0; 4206 } 4207 b = b & (g.suspendedLanes | _e) ? 0 : b, b !== 0 && b !== $.retryLane && ($.retryLane = b, ih(d, b), gi(g, d, b, -1)); 4208 } 4209 return tj(), g = Ki(Error(p(421))), sj(d, o, _e, g); 4210 } 4211 return b.data === "$?" ? (o.flags |= 128, o.child = d.child, o = uj.bind(null, d), b._reactRetry = o, null) : (d = $.treeContext, yg = Lf(b.nextSibling), xg = o, I = true, zg = null, d !== null && (og[pg++] = rg, og[pg++] = sg, og[pg++] = qg, rg = d.id, sg = d.overflow, qg = o), o = qj(o, g.children), o.flags |= 4096, o); 4212 } 4213 function vj(d, o, h) { 4214 d.lanes |= o; 4215 var g = d.alternate; 4216 g !== null && (g.lanes |= o), bh(d.return, o, h); 4217 } 4218 function wj(d, o, h, g, b) { 4219 var $ = d.memoizedState; 4220 $ === null ? d.memoizedState = { 4221 isBackwards: o, 4222 rendering: null, 4223 renderingStartTime: 0, 4224 last: g, 4225 tail: h, 4226 tailMode: b 4227 } : ($.isBackwards = o, $.rendering = null, $.renderingStartTime = 0, $.last = g, $.tail = h, $.tailMode = b); 4228 } 4229 function xj(d, o, h) { 4230 var g = o.pendingProps, b = g.revealOrder, $ = g.tail; 4231 if (Xi(d, o, g.children, h), g = L.current, g & 2) g = g & 1 | 2, o.flags |= 128; 4232 else { 4233 if (d !== null && d.flags & 128) e: for (d = o.child; d !== null; ) { 4234 if (d.tag === 13) d.memoizedState !== null && vj(d, h, o); 4235 else if (d.tag === 19) vj(d, h, o); 4236 else if (d.child !== null) { 4237 d.child.return = d, d = d.child; 4238 continue; 4239 } 4240 if (d === o) break e; 4241 for (; d.sibling === null; ) { 4242 if (d.return === null || d.return === o) break e; 4243 d = d.return; 4244 } 4245 d.sibling.return = d.return, d = d.sibling; 4246 } 4247 g &= 1; 4248 } 4249 if (G(L, g), !(o.mode & 1)) o.memoizedState = null; 4250 else switch (b) { 4251 case "forwards": 4252 for (h = o.child, b = null; h !== null; ) d = h.alternate, d !== null && Ch(d) === null && (b = h), h = h.sibling; 4253 h = b, h === null ? (b = o.child, o.child = null) : (b = h.sibling, h.sibling = null), wj(o, false, b, h, $); 4254 break; 4255 case "backwards": 4256 for (h = null, b = o.child, o.child = null; b !== null; ) { 4257 if (d = b.alternate, d !== null && Ch(d) === null) { 4258 o.child = b; 4259 break; 4260 } 4261 d = b.sibling, b.sibling = h, h = b, b = d; 4262 } 4263 wj(o, true, h, null, $); 4264 break; 4265 case "together": 4266 wj(o, false, null, null, void 0); 4267 break; 4268 default: 4269 o.memoizedState = null; 4270 } 4271 return o.child; 4272 } 4273 function ij(d, o) { 4274 !(o.mode & 1) && d !== null && (d.alternate = null, o.alternate = null, o.flags |= 2); 4275 } 4276 function Zi(d, o, h) { 4277 if (d !== null && (o.dependencies = d.dependencies), rh |= o.lanes, !(h & o.childLanes)) return null; 4278 if (d !== null && o.child !== d.child) throw Error(p(153)); 4279 if (o.child !== null) { 4280 for (d = o.child, h = Pg(d, d.pendingProps), o.child = h, h.return = o; d.sibling !== null; ) d = d.sibling, h = h.sibling = Pg(d, d.pendingProps), h.return = o; 4281 h.sibling = null; 4282 } 4283 return o.child; 4284 } 4285 function yj(d, o, h) { 4286 switch (o.tag) { 4287 case 3: 4288 kj(o), Ig(); 4289 break; 4290 case 5: 4291 Ah(o); 4292 break; 4293 case 1: 4294 Zf(o.type) && cg(o); 4295 break; 4296 case 4: 4297 yh(o, o.stateNode.containerInfo); 4298 break; 4299 case 10: 4300 var g = o.type._context, b = o.memoizedProps.value; 4301 G(Wg, g._currentValue), g._currentValue = b; 4302 break; 4303 case 13: 4304 if (g = o.memoizedState, g !== null) return g.dehydrated !== null ? (G(L, L.current & 1), o.flags |= 128, null) : h & o.child.childLanes ? oj(d, o, h) : (G(L, L.current & 1), d = Zi(d, o, h), d !== null ? d.sibling : null); 4305 G(L, L.current & 1); 4306 break; 4307 case 19: 4308 if (g = (h & o.childLanes) !== 0, d.flags & 128) { 4309 if (g) return xj(d, o, h); 4310 o.flags |= 128; 4311 } 4312 if (b = o.memoizedState, b !== null && (b.rendering = null, b.tail = null, b.lastEffect = null), G(L, L.current), g) break; 4313 return null; 4314 case 22: 4315 case 23: 4316 return o.lanes = 0, dj(d, o, h); 4317 } 4318 return Zi(d, o, h); 4319 } 4320 var zj, Aj, Bj, Cj; 4321 zj = function(d, o) { 4322 for (var h = o.child; h !== null; ) { 4323 if (h.tag === 5 || h.tag === 6) d.appendChild(h.stateNode); 4324 else if (h.tag !== 4 && h.child !== null) { 4325 h.child.return = h, h = h.child; 4326 continue; 4327 } 4328 if (h === o) break; 4329 for (; h.sibling === null; ) { 4330 if (h.return === null || h.return === o) return; 4331 h = h.return; 4332 } 4333 h.sibling.return = h.return, h = h.sibling; 4334 } 4335 }; 4336 Aj = function() { 4337 }; 4338 Bj = function(d, o, h, g) { 4339 var b = d.memoizedProps; 4340 if (b !== g) { 4341 d = o.stateNode, xh(uh.current); 4342 var $ = null; 4343 switch (h) { 4344 case "input": 4345 b = Ya(d, b), g = Ya(d, g), $ = []; 4346 break; 4347 case "select": 4348 b = A({}, b, { 4349 value: void 0 4350 }), g = A({}, g, { 4351 value: void 0 4352 }), $ = []; 4353 break; 4354 case "textarea": 4355 b = gb(d, b), g = gb(d, g), $ = []; 4356 break; 4357 default: 4358 typeof b.onClick != "function" && typeof g.onClick == "function" && (d.onclick = Bf); 4359 } 4360 ub(h, g); 4361 var _e; 4362 h = null; 4363 for (rt in b) if (!g.hasOwnProperty(rt) && b.hasOwnProperty(rt) && b[rt] != null) if (rt === "style") { 4364 var et = b[rt]; 4365 for (_e in et) et.hasOwnProperty(_e) && (h || (h = {}), h[_e] = ""); 4366 } else rt !== "dangerouslySetInnerHTML" && rt !== "children" && rt !== "suppressContentEditableWarning" && rt !== "suppressHydrationWarning" && rt !== "autoFocus" && (ea.hasOwnProperty(rt) ? $ || ($ = []) : ($ = $ || []).push(rt, null)); 4367 for (rt in g) { 4368 var tt = g[rt]; 4369 if (et = b == null ? void 0 : b[rt], g.hasOwnProperty(rt) && tt !== et && (tt != null || et != null)) if (rt === "style") if (et) { 4370 for (_e in et) !et.hasOwnProperty(_e) || tt && tt.hasOwnProperty(_e) || (h || (h = {}), h[_e] = ""); 4371 for (_e in tt) tt.hasOwnProperty(_e) && et[_e] !== tt[_e] && (h || (h = {}), h[_e] = tt[_e]); 4372 } else h || ($ || ($ = []), $.push(rt, h)), h = tt; 4373 else rt === "dangerouslySetInnerHTML" ? (tt = tt ? tt.__html : void 0, et = et ? et.__html : void 0, tt != null && et !== tt && ($ = $ || []).push(rt, tt)) : rt === "children" ? typeof tt != "string" && typeof tt != "number" || ($ = $ || []).push(rt, "" + tt) : rt !== "suppressContentEditableWarning" && rt !== "suppressHydrationWarning" && (ea.hasOwnProperty(rt) ? (tt != null && rt === "onScroll" && D("scroll", d), $ || et === tt || ($ = [])) : ($ = $ || []).push(rt, tt)); 4374 } 4375 h && ($ = $ || []).push("style", h); 4376 var rt = $; 4377 (o.updateQueue = rt) && (o.flags |= 4); 4378 } 4379 }; 4380 Cj = function(d, o, h, g) { 4381 h !== g && (o.flags |= 4); 4382 }; 4383 function Dj(d, o) { 4384 if (!I) switch (d.tailMode) { 4385 case "hidden": 4386 o = d.tail; 4387 for (var h = null; o !== null; ) o.alternate !== null && (h = o), o = o.sibling; 4388 h === null ? d.tail = null : h.sibling = null; 4389 break; 4390 case "collapsed": 4391 h = d.tail; 4392 for (var g = null; h !== null; ) h.alternate !== null && (g = h), h = h.sibling; 4393 g === null ? o || d.tail === null ? d.tail = null : d.tail.sibling = null : g.sibling = null; 4394 } 4395 } 4396 function S(d) { 4397 var o = d.alternate !== null && d.alternate.child === d.child, h = 0, g = 0; 4398 if (o) for (var b = d.child; b !== null; ) h |= b.lanes | b.childLanes, g |= b.subtreeFlags & 14680064, g |= b.flags & 14680064, b.return = d, b = b.sibling; 4399 else for (b = d.child; b !== null; ) h |= b.lanes | b.childLanes, g |= b.subtreeFlags, g |= b.flags, b.return = d, b = b.sibling; 4400 return d.subtreeFlags |= g, d.childLanes = h, o; 4401 } 4402 function Ej(d, o, h) { 4403 var g = o.pendingProps; 4404 switch (wg(o), o.tag) { 4405 case 2: 4406 case 16: 4407 case 15: 4408 case 0: 4409 case 11: 4410 case 7: 4411 case 8: 4412 case 12: 4413 case 9: 4414 case 14: 4415 return S(o), null; 4416 case 1: 4417 return Zf(o.type) && $f(), S(o), null; 4418 case 3: 4419 return g = o.stateNode, zh(), E(Wf), E(H), Eh(), g.pendingContext && (g.context = g.pendingContext, g.pendingContext = null), (d === null || d.child === null) && (Gg(o) ? o.flags |= 4 : d === null || d.memoizedState.isDehydrated && !(o.flags & 256) || (o.flags |= 1024, zg !== null && (Fj(zg), zg = null))), Aj(d, o), S(o), null; 4420 case 5: 4421 Bh(o); 4422 var b = xh(wh.current); 4423 if (h = o.type, d !== null && o.stateNode != null) Bj(d, o, h, g, b), d.ref !== o.ref && (o.flags |= 512, o.flags |= 2097152); 4424 else { 4425 if (!g) { 4426 if (o.stateNode === null) throw Error(p(166)); 4427 return S(o), null; 4428 } 4429 if (d = xh(uh.current), Gg(o)) { 4430 g = o.stateNode, h = o.type; 4431 var $ = o.memoizedProps; 4432 switch (g[Of] = o, g[Pf] = $, d = (o.mode & 1) !== 0, h) { 4433 case "dialog": 4434 D("cancel", g), D("close", g); 4435 break; 4436 case "iframe": 4437 case "object": 4438 case "embed": 4439 D("load", g); 4440 break; 4441 case "video": 4442 case "audio": 4443 for (b = 0; b < lf.length; b++) D(lf[b], g); 4444 break; 4445 case "source": 4446 D("error", g); 4447 break; 4448 case "img": 4449 case "image": 4450 case "link": 4451 D("error", g), D("load", g); 4452 break; 4453 case "details": 4454 D("toggle", g); 4455 break; 4456 case "input": 4457 Za(g, $), D("invalid", g); 4458 break; 4459 case "select": 4460 g._wrapperState = { 4461 wasMultiple: !!$.multiple 4462 }, D("invalid", g); 4463 break; 4464 case "textarea": 4465 hb(g, $), D("invalid", g); 4466 } 4467 ub(h, $), b = null; 4468 for (var _e in $) if ($.hasOwnProperty(_e)) { 4469 var et = $[_e]; 4470 _e === "children" ? typeof et == "string" ? g.textContent !== et && ($.suppressHydrationWarning !== true && Af(g.textContent, et, d), b = [ 4471 "children", 4472 et 4473 ]) : typeof et == "number" && g.textContent !== "" + et && ($.suppressHydrationWarning !== true && Af(g.textContent, et, d), b = [ 4474 "children", 4475 "" + et 4476 ]) : ea.hasOwnProperty(_e) && et != null && _e === "onScroll" && D("scroll", g); 4477 } 4478 switch (h) { 4479 case "input": 4480 Va(g), db(g, $, true); 4481 break; 4482 case "textarea": 4483 Va(g), jb(g); 4484 break; 4485 case "select": 4486 case "option": 4487 break; 4488 default: 4489 typeof $.onClick == "function" && (g.onclick = Bf); 4490 } 4491 g = b, o.updateQueue = g, g !== null && (o.flags |= 4); 4492 } else { 4493 _e = b.nodeType === 9 ? b : b.ownerDocument, d === "http://www.w3.org/1999/xhtml" && (d = kb(h)), d === "http://www.w3.org/1999/xhtml" ? h === "script" ? (d = _e.createElement("div"), d.innerHTML = "<script><\/script>", d = d.removeChild(d.firstChild)) : typeof g.is == "string" ? d = _e.createElement(h, { 4494 is: g.is 4495 }) : (d = _e.createElement(h), h === "select" && (_e = d, g.multiple ? _e.multiple = true : g.size && (_e.size = g.size))) : d = _e.createElementNS(d, h), d[Of] = o, d[Pf] = g, zj(d, o, false, false), o.stateNode = d; 4496 e: { 4497 switch (_e = vb(h, g), h) { 4498 case "dialog": 4499 D("cancel", d), D("close", d), b = g; 4500 break; 4501 case "iframe": 4502 case "object": 4503 case "embed": 4504 D("load", d), b = g; 4505 break; 4506 case "video": 4507 case "audio": 4508 for (b = 0; b < lf.length; b++) D(lf[b], d); 4509 b = g; 4510 break; 4511 case "source": 4512 D("error", d), b = g; 4513 break; 4514 case "img": 4515 case "image": 4516 case "link": 4517 D("error", d), D("load", d), b = g; 4518 break; 4519 case "details": 4520 D("toggle", d), b = g; 4521 break; 4522 case "input": 4523 Za(d, g), b = Ya(d, g), D("invalid", d); 4524 break; 4525 case "option": 4526 b = g; 4527 break; 4528 case "select": 4529 d._wrapperState = { 4530 wasMultiple: !!g.multiple 4531 }, b = A({}, g, { 4532 value: void 0 4533 }), D("invalid", d); 4534 break; 4535 case "textarea": 4536 hb(d, g), b = gb(d, g), D("invalid", d); 4537 break; 4538 default: 4539 b = g; 4540 } 4541 ub(h, b), et = b; 4542 for ($ in et) if (et.hasOwnProperty($)) { 4543 var tt = et[$];
4544 $ === "style" ? sb(d, tt) : $ === "dangerouslySetInnerHTML" ? (tt = tt ? tt.__html : void 0, tt != null && nb(d, tt)) : $ === "children" ? typeof tt == "string" ? (h !== "textarea" || tt !== "") && ob(d, tt) : typeof tt == "number" && ob(d, "" + tt) : $ !== "suppressContentEditableWarning" && $ !== "suppressHydrationWarning" && $ !== "autoFocus" && (ea.hasOwnProperty($) ? tt != null && $ === "onScroll" && D("scroll", d) : tt != null && ta(d, $, tt, _e)); 4545 } 4546 switch (h) { 4547 case "input": 4548 Va(d), db(d, g, false); 4549 break; 4550 case "textarea": 4551 Va(d), jb(d); 4552 break; 4553 case "option": 4554 g.value != null && d.setAttribute("value", "" + Sa(g.value)); 4555 break; 4556 case "select": 4557 d.multiple = !!g.multiple, $ = g.value, $ != null ? fb(d, !!g.multiple, $, false) : g.defaultValue != null && fb(d, !!g.multiple, g.defaultValue, true); 4558 break; 4559 default: 4560 typeof b.onClick == "function" && (d.onclick = Bf); 4561 } 4562 switch (h) { 4563 case "button": 4564 case "input": 4565 case "select": 4566 case "textarea": 4567 g = !!g.autoFocus; 4568 break e; 4569 case "img": 4570 g = true; 4571 break e; 4572 default: 4573 g = false;
vendor: 62,355 bytes, lines 4574-6403
4574 } 4575 } 4576 g && (o.flags |= 4); 4577 } 4578 o.ref !== null && (o.flags |= 512, o.flags |= 2097152); 4579 } 4580 return S(o), null; 4581 case 6: 4582 if (d && o.stateNode != null) Cj(d, o, d.memoizedProps, g); 4583 else { 4584 if (typeof g != "string" && o.stateNode === null) throw Error(p(166)); 4585 if (h = xh(wh.current), xh(uh.current), Gg(o)) { 4586 if (g = o.stateNode, h = o.memoizedProps, g[Of] = o, ($ = g.nodeValue !== h) && (d = xg, d !== null)) switch (d.tag) { 4587 case 3: 4588 Af(g.nodeValue, h, (d.mode & 1) !== 0); 4589 break; 4590 case 5: 4591 d.memoizedProps.suppressHydrationWarning !== true && Af(g.nodeValue, h, (d.mode & 1) !== 0); 4592 } 4593 $ && (o.flags |= 4); 4594 } else g = (h.nodeType === 9 ? h : h.ownerDocument).createTextNode(g), g[Of] = o, o.stateNode = g; 4595 } 4596 return S(o), null; 4597 case 13: 4598 if (E(L), g = o.memoizedState, d === null || d.memoizedState !== null && d.memoizedState.dehydrated !== null) { 4599 if (I && yg !== null && o.mode & 1 && !(o.flags & 128)) Hg(), Ig(), o.flags |= 98560, $ = false; 4600 else if ($ = Gg(o), g !== null && g.dehydrated !== null) { 4601 if (d === null) { 4602 if (!$) throw Error(p(318)); 4603 if ($ = o.memoizedState, $ = $ !== null ? $.dehydrated : null, !$) throw Error(p(317)); 4604 $[Of] = o; 4605 } else Ig(), !(o.flags & 128) && (o.memoizedState = null), o.flags |= 4; 4606 S(o), $ = false; 4607 } else zg !== null && (Fj(zg), zg = null), $ = true; 4608 if (!$) return o.flags & 65536 ? o : null; 4609 } 4610 return o.flags & 128 ? (o.lanes = h, o) : (g = g !== null, g !== (d !== null && d.memoizedState !== null) && g && (o.child.flags |= 8192, o.mode & 1 && (d === null || L.current & 1 ? T === 0 && (T = 3) : tj())), o.updateQueue !== null && (o.flags |= 4), S(o), null); 4611 case 4: 4612 return zh(), Aj(d, o), d === null && sf(o.stateNode.containerInfo), S(o), null; 4613 case 10: 4614 return ah(o.type._context), S(o), null; 4615 case 17: 4616 return Zf(o.type) && $f(), S(o), null; 4617 case 19: 4618 if (E(L), $ = o.memoizedState, $ === null) return S(o), null; 4619 if (g = (o.flags & 128) !== 0, _e = $.rendering, _e === null) if (g) Dj($, false); 4620 else { 4621 if (T !== 0 || d !== null && d.flags & 128) for (d = o.child; d !== null; ) { 4622 if (_e = Ch(d), _e !== null) { 4623 for (o.flags |= 128, Dj($, false), g = _e.updateQueue, g !== null && (o.updateQueue = g, o.flags |= 4), o.subtreeFlags = 0, g = h, h = o.child; h !== null; ) $ = h, d = g, $.flags &= 14680066, _e = $.alternate, _e === null ? ($.childLanes = 0, $.lanes = d, $.child = null, $.subtreeFlags = 0, $.memoizedProps = null, $.memoizedState = null, $.updateQueue = null, $.dependencies = null, $.stateNode = null) : ($.childLanes = _e.childLanes, $.lanes = _e.lanes, $.child = _e.child, $.subtreeFlags = 0, $.deletions = null, $.memoizedProps = _e.memoizedProps, $.memoizedState = _e.memoizedState, $.updateQueue = _e.updateQueue, $.type = _e.type, d = _e.dependencies, $.dependencies = d === null ? null : { 4624 lanes: d.lanes, 4625 firstContext: d.firstContext 4626 }), h = h.sibling; 4627 return G(L, L.current & 1 | 2), o.child; 4628 } 4629 d = d.sibling; 4630 } 4631 $.tail !== null && B() > Gj && (o.flags |= 128, g = true, Dj($, false), o.lanes = 4194304); 4632 } 4633 else { 4634 if (!g) if (d = Ch(_e), d !== null) { 4635 if (o.flags |= 128, g = true, h = d.updateQueue, h !== null && (o.updateQueue = h, o.flags |= 4), Dj($, true), $.tail === null && $.tailMode === "hidden" && !_e.alternate && !I) return S(o), null; 4636 } else 2 * B() - $.renderingStartTime > Gj && h !== 1073741824 && (o.flags |= 128, g = true, Dj($, false), o.lanes = 4194304); 4637 $.isBackwards ? (_e.sibling = o.child, o.child = _e) : (h = $.last, h !== null ? h.sibling = _e : o.child = _e, $.last = _e); 4638 } 4639 return $.tail !== null ? (o = $.tail, $.rendering = o, $.tail = o.sibling, $.renderingStartTime = B(), o.sibling = null, h = L.current, G(L, g ? h & 1 | 2 : h & 1), o) : (S(o), null); 4640 case 22: 4641 case 23: 4642 return Hj(), g = o.memoizedState !== null, d !== null && d.memoizedState !== null !== g && (o.flags |= 8192), g && o.mode & 1 ? fj & 1073741824 && (S(o), o.subtreeFlags & 6 && (o.flags |= 8192)) : S(o), null; 4643 case 24: 4644 return null; 4645 case 25: 4646 return null; 4647 } 4648 throw Error(p(156, o.tag)); 4649 } 4650 function Ij(d, o) { 4651 switch (wg(o), o.tag) { 4652 case 1: 4653 return Zf(o.type) && $f(), d = o.flags, d & 65536 ? (o.flags = d & -65537 | 128, o) : null; 4654 case 3: 4655 return zh(), E(Wf), E(H), Eh(), d = o.flags, d & 65536 && !(d & 128) ? (o.flags = d & -65537 | 128, o) : null; 4656 case 5: 4657 return Bh(o), null; 4658 case 13: 4659 if (E(L), d = o.memoizedState, d !== null && d.dehydrated !== null) { 4660 if (o.alternate === null) throw Error(p(340)); 4661 Ig(); 4662 } 4663 return d = o.flags, d & 65536 ? (o.flags = d & -65537 | 128, o) : null; 4664 case 19: 4665 return E(L), null; 4666 case 4: 4667 return zh(), null; 4668 case 10: 4669 return ah(o.type._context), null; 4670 case 22: 4671 case 23: 4672 return Hj(), null; 4673 case 24: 4674 return null; 4675 default: 4676 return null; 4677 } 4678 } 4679 var Jj = false, U = false, Kj = typeof WeakSet == "function" ? WeakSet : Set, V = null; 4680 function Lj(d, o) { 4681 var h = d.ref; 4682 if (h !== null) if (typeof h == "function") try { 4683 h(null); 4684 } catch (g) { 4685 W(d, o, g); 4686 } 4687 else h.current = null; 4688 } 4689 function Mj(d, o, h) { 4690 try { 4691 h(); 4692 } catch (g) { 4693 W(d, o, g); 4694 } 4695 } 4696 var Nj = false; 4697 function Oj(d, o) { 4698 if (Cf = dd, d = Me(), Ne(d)) { 4699 if ("selectionStart" in d) var h = { 4700 start: d.selectionStart, 4701 end: d.selectionEnd 4702 }; 4703 else e: { 4704 h = (h = d.ownerDocument) && h.defaultView || window; 4705 var g = h.getSelection && h.getSelection(); 4706 if (g && g.rangeCount !== 0) { 4707 h = g.anchorNode; 4708 var b = g.anchorOffset, $ = g.focusNode; 4709 g = g.focusOffset; 4710 try { 4711 h.nodeType, $.nodeType; 4712 } catch (e2) { 4713 h = null; 4714 break e; 4715 } 4716 var _e = 0, et = -1, tt = -1, rt = 0, nt = 0, st = d, ot = null; 4717 t: for (; ; ) { 4718 for (var it; st !== h || b !== 0 && st.nodeType !== 3 || (et = _e + b), st !== $ || g !== 0 && st.nodeType !== 3 || (tt = _e + g), st.nodeType === 3 && (_e += st.nodeValue.length), (it = st.firstChild) !== null; ) ot = st, st = it; 4719 for (; ; ) { 4720 if (st === d) break t; 4721 if (ot === h && ++rt === b && (et = _e), ot === $ && ++nt === g && (tt = _e), (it = st.nextSibling) !== null) break; 4722 st = ot, ot = st.parentNode; 4723 } 4724 st = it; 4725 } 4726 h = et === -1 || tt === -1 ? null : { 4727 start: et, 4728 end: tt 4729 }; 4730 } else h = null; 4731 } 4732 h = h || { 4733 start: 0, 4734 end: 0 4735 }; 4736 } else h = null; 4737 for (Df = { 4738 focusedElem: d, 4739 selectionRange: h 4740 }, dd = false, V = o; V !== null; ) if (o = V, d = o.child, (o.subtreeFlags & 1028) !== 0 && d !== null) d.return = o, V = d; 4741 else for (; V !== null; ) { 4742 o = V; 4743 try { 4744 var at = o.alternate; 4745 if (o.flags & 1024) switch (o.tag) { 4746 case 0: 4747 case 11: 4748 case 15: 4749 break; 4750 case 1: 4751 if (at !== null) { 4752 var lt = at.memoizedProps, ct = at.memoizedState, ut = o.stateNode, ft = ut.getSnapshotBeforeUpdate(o.elementType === o.type ? lt : Ci(o.type, lt), ct); 4753 ut.__reactInternalSnapshotBeforeUpdate = ft; 4754 } 4755 break; 4756 case 3: 4757 var dt = o.stateNode.containerInfo; 4758 dt.nodeType === 1 ? dt.textContent = "" : dt.nodeType === 9 && dt.documentElement && dt.removeChild(dt.documentElement); 4759 break; 4760 case 5: 4761 case 6: 4762 case 4: 4763 case 17: 4764 break; 4765 default: 4766 throw Error(p(163)); 4767 } 4768 } catch (pt) { 4769 W(o, o.return, pt); 4770 } 4771 if (d = o.sibling, d !== null) { 4772 d.return = o.return, V = d; 4773 break; 4774 } 4775 V = o.return; 4776 } 4777 return at = Nj, Nj = false, at; 4778 } 4779 function Pj(d, o, h) { 4780 var g = o.updateQueue; 4781 if (g = g !== null ? g.lastEffect : null, g !== null) { 4782 var b = g = g.next; 4783 do { 4784 if ((b.tag & d) === d) { 4785 var $ = b.destroy; 4786 b.destroy = void 0, $ !== void 0 && Mj(o, h, $); 4787 } 4788 b = b.next; 4789 } while (b !== g); 4790 } 4791 } 4792 function Qj(d, o) { 4793 if (o = o.updateQueue, o = o !== null ? o.lastEffect : null, o !== null) { 4794 var h = o = o.next; 4795 do { 4796 if ((h.tag & d) === d) { 4797 var g = h.create; 4798 h.destroy = g(); 4799 } 4800 h = h.next; 4801 } while (h !== o); 4802 } 4803 } 4804 function Rj(d) { 4805 var o = d.ref; 4806 if (o !== null) { 4807 var h = d.stateNode; 4808 switch (d.tag) { 4809 case 5: 4810 d = h; 4811 break; 4812 default: 4813 d = h; 4814 } 4815 typeof o == "function" ? o(d) : o.current = d; 4816 } 4817 } 4818 function Sj(d) { 4819 var o = d.alternate; 4820 o !== null && (d.alternate = null, Sj(o)), d.child = null, d.deletions = null, d.sibling = null, d.tag === 5 && (o = d.stateNode, o !== null && (delete o[Of], delete o[Pf], delete o[of], delete o[Qf], delete o[Rf])), d.stateNode = null, d.return = null, d.dependencies = null, d.memoizedProps = null, d.memoizedState = null, d.pendingProps = null, d.stateNode = null, d.updateQueue = null; 4821 } 4822 function Tj(d) { 4823 return d.tag === 5 || d.tag === 3 || d.tag === 4; 4824 } 4825 function Uj(d) { 4826 e: for (; ; ) { 4827 for (; d.sibling === null; ) { 4828 if (d.return === null || Tj(d.return)) return null; 4829 d = d.return; 4830 } 4831 for (d.sibling.return = d.return, d = d.sibling; d.tag !== 5 && d.tag !== 6 && d.tag !== 18; ) { 4832 if (d.flags & 2 || d.child === null || d.tag === 4) continue e; 4833 d.child.return = d, d = d.child; 4834 } 4835 if (!(d.flags & 2)) return d.stateNode; 4836 } 4837 } 4838 function Vj(d, o, h) { 4839 var g = d.tag; 4840 if (g === 5 || g === 6) d = d.stateNode, o ? h.nodeType === 8 ? h.parentNode.insertBefore(d, o) : h.insertBefore(d, o) : (h.nodeType === 8 ? (o = h.parentNode, o.insertBefore(d, h)) : (o = h, o.appendChild(d)), h = h._reactRootContainer, h != null || o.onclick !== null || (o.onclick = Bf)); 4841 else if (g !== 4 && (d = d.child, d !== null)) for (Vj(d, o, h), d = d.sibling; d !== null; ) Vj(d, o, h), d = d.sibling; 4842 } 4843 function Wj(d, o, h) { 4844 var g = d.tag; 4845 if (g === 5 || g === 6) d = d.stateNode, o ? h.insertBefore(d, o) : h.appendChild(d); 4846 else if (g !== 4 && (d = d.child, d !== null)) for (Wj(d, o, h), d = d.sibling; d !== null; ) Wj(d, o, h), d = d.sibling; 4847 } 4848 var X = null, Xj = false; 4849 function Yj(d, o, h) { 4850 for (h = h.child; h !== null; ) Zj(d, o, h), h = h.sibling; 4851 } 4852 function Zj(d, o, h) { 4853 if (lc && typeof lc.onCommitFiberUnmount == "function") try { 4854 lc.onCommitFiberUnmount(kc, h); 4855 } catch (e2) { 4856 } 4857 switch (h.tag) { 4858 case 5: 4859 U || Lj(h, o); 4860 case 6: 4861 var g = X, b = Xj; 4862 X = null, Yj(d, o, h), X = g, Xj = b, X !== null && (Xj ? (d = X, h = h.stateNode, d.nodeType === 8 ? d.parentNode.removeChild(h) : d.removeChild(h)) : X.removeChild(h.stateNode)); 4863 break; 4864 case 18: 4865 X !== null && (Xj ? (d = X, h = h.stateNode, d.nodeType === 8 ? Kf(d.parentNode, h) : d.nodeType === 1 && Kf(d, h), bd(d)) : Kf(X, h.stateNode)); 4866 break; 4867 case 4: 4868 g = X, b = Xj, X = h.stateNode.containerInfo, Xj = true, Yj(d, o, h), X = g, Xj = b; 4869 break; 4870 case 0: 4871 case 11: 4872 case 14: 4873 case 15: 4874 if (!U && (g = h.updateQueue, g !== null && (g = g.lastEffect, g !== null))) { 4875 b = g = g.next; 4876 do { 4877 var $ = b, _e = $.destroy; 4878 $ = $.tag, _e !== void 0 && ($ & 2 || $ & 4) && Mj(h, o, _e), b = b.next; 4879 } while (b !== g); 4880 } 4881 Yj(d, o, h); 4882 break; 4883 case 1: 4884 if (!U && (Lj(h, o), g = h.stateNode, typeof g.componentWillUnmount == "function")) try { 4885 g.props = h.memoizedProps, g.state = h.memoizedState, g.componentWillUnmount(); 4886 } catch (et) { 4887 W(h, o, et); 4888 } 4889 Yj(d, o, h); 4890 break; 4891 case 21: 4892 Yj(d, o, h); 4893 break; 4894 case 22: 4895 h.mode & 1 ? (U = (g = U) || h.memoizedState !== null, Yj(d, o, h), U = g) : Yj(d, o, h); 4896 break; 4897 default: 4898 Yj(d, o, h); 4899 } 4900 } 4901 function ak(d) { 4902 var o = d.updateQueue; 4903 if (o !== null) { 4904 d.updateQueue = null; 4905 var h = d.stateNode; 4906 h === null && (h = d.stateNode = new Kj()), o.forEach(function(g) { 4907 var b = bk.bind(null, d, g); 4908 h.has(g) || (h.add(g), g.then(b, b)); 4909 }); 4910 } 4911 } 4912 function ck(d, o) { 4913 var h = o.deletions; 4914 if (h !== null) for (var g = 0; g < h.length; g++) { 4915 var b = h[g]; 4916 try { 4917 var $ = d, _e = o, et = _e; 4918 e: for (; et !== null; ) { 4919 switch (et.tag) { 4920 case 5: 4921 X = et.stateNode, Xj = false; 4922 break e; 4923 case 3: 4924 X = et.stateNode.containerInfo, Xj = true; 4925 break e; 4926 case 4: 4927 X = et.stateNode.containerInfo, Xj = true; 4928 break e; 4929 } 4930 et = et.return; 4931 } 4932 if (X === null) throw Error(p(160)); 4933 Zj($, _e, b), X = null, Xj = false; 4934 var tt = b.alternate; 4935 tt !== null && (tt.return = null), b.return = null; 4936 } catch (rt) { 4937 W(b, o, rt); 4938 } 4939 } 4940 if (o.subtreeFlags & 12854) for (o = o.child; o !== null; ) dk(o, d), o = o.sibling; 4941 } 4942 function dk(d, o) { 4943 var h = d.alternate, g = d.flags; 4944 switch (d.tag) { 4945 case 0: 4946 case 11: 4947 case 14: 4948 case 15: 4949 if (ck(o, d), ek(d), g & 4) { 4950 try { 4951 Pj(3, d, d.return), Qj(3, d); 4952 } catch (lt) { 4953 W(d, d.return, lt); 4954 } 4955 try { 4956 Pj(5, d, d.return); 4957 } catch (lt) { 4958 W(d, d.return, lt); 4959 } 4960 } 4961 break; 4962 case 1: 4963 ck(o, d), ek(d), g & 512 && h !== null && Lj(h, h.return); 4964 break; 4965 case 5: 4966 if (ck(o, d), ek(d), g & 512 && h !== null && Lj(h, h.return), d.flags & 32) { 4967 var b = d.stateNode; 4968 try { 4969 ob(b, ""); 4970 } catch (lt) { 4971 W(d, d.return, lt); 4972 } 4973 } 4974 if (g & 4 && (b = d.stateNode, b != null)) { 4975 var $ = d.memoizedProps, _e = h !== null ? h.memoizedProps : $, et = d.type, tt = d.updateQueue; 4976 if (d.updateQueue = null, tt !== null) try { 4977 et === "input" && $.type === "radio" && $.name != null && ab(b, $), vb(et, _e); 4978 var rt = vb(et, $); 4979 for (_e = 0; _e < tt.length; _e += 2) { 4980 var nt = tt[_e], st = tt[_e + 1]; 4981 nt === "style" ? sb(b, st) : nt === "dangerouslySetInnerHTML" ? nb(b, st) : nt === "children" ? ob(b, st) : ta(b, nt, st, rt); 4982 } 4983 switch (et) { 4984 case "input": 4985 bb(b, $); 4986 break; 4987 case "textarea": 4988 ib(b, $); 4989 break; 4990 case "select": 4991 var ot = b._wrapperState.wasMultiple; 4992 b._wrapperState.wasMultiple = !!$.multiple; 4993 var it = $.value; 4994 it != null ? fb(b, !!$.multiple, it, false) : ot !== !!$.multiple && ($.defaultValue != null ? fb(b, !!$.multiple, $.defaultValue, true) : fb(b, !!$.multiple, $.multiple ? [] : "", false)); 4995 } 4996 b[Pf] = $; 4997 } catch (lt) { 4998 W(d, d.return, lt); 4999 } 5000 } 5001 break; 5002 case 6: 5003 if (ck(o, d), ek(d), g & 4) { 5004 if (d.stateNode === null) throw Error(p(162)); 5005 b = d.stateNode, $ = d.memoizedProps; 5006 try { 5007 b.nodeValue = $; 5008 } catch (lt) { 5009 W(d, d.return, lt); 5010 } 5011 } 5012 break; 5013 case 3: 5014 if (ck(o, d), ek(d), g & 4 && h !== null && h.memoizedState.isDehydrated) try { 5015 bd(o.containerInfo); 5016 } catch (lt) { 5017 W(d, d.return, lt); 5018 } 5019 break; 5020 case 4: 5021 ck(o, d), ek(d); 5022 break; 5023 case 13: 5024 ck(o, d), ek(d), b = d.child, b.flags & 8192 && ($ = b.memoizedState !== null, b.stateNode.isHidden = $, !$ || b.alternate !== null && b.alternate.memoizedState !== null || (fk = B())), g & 4 && ak(d); 5025 break; 5026 case 22: 5027 if (nt = h !== null && h.memoizedState !== null, d.mode & 1 ? (U = (rt = U) || nt, ck(o, d), U = rt) : ck(o, d), ek(d), g & 8192) { 5028 if (rt = d.memoizedState !== null, (d.stateNode.isHidden = rt) && !nt && d.mode & 1) for (V = d, nt = d.child; nt !== null; ) { 5029 for (st = V = nt; V !== null; ) { 5030 switch (ot = V, it = ot.child, ot.tag) { 5031 case 0: 5032 case 11: 5033 case 14: 5034 case 15: 5035 Pj(4, ot, ot.return); 5036 break; 5037 case 1: 5038 Lj(ot, ot.return); 5039 var at = ot.stateNode; 5040 if (typeof at.componentWillUnmount == "function") { 5041 g = ot, h = ot.return; 5042 try { 5043 o = g, at.props = o.memoizedProps, at.state = o.memoizedState, at.componentWillUnmount(); 5044 } catch (lt) { 5045 W(g, h, lt); 5046 } 5047 } 5048 break; 5049 case 5: 5050 Lj(ot, ot.return); 5051 break; 5052 case 22: 5053 if (ot.memoizedState !== null) { 5054 gk(st); 5055 continue; 5056 } 5057 } 5058 it !== null ? (it.return = ot, V = it) : gk(st); 5059 } 5060 nt = nt.sibling; 5061 } 5062 e: for (nt = null, st = d; ; ) { 5063 if (st.tag === 5) { 5064 if (nt === null) { 5065 nt = st; 5066 try { 5067 b = st.stateNode, rt ? ($ = b.style, typeof $.setProperty == "function" ? $.setProperty("display", "none", "important") : $.display = "none") : (et = st.stateNode, tt = st.memoizedProps.style, _e = tt != null && tt.hasOwnProperty("display") ? tt.display : null, et.style.display = rb("display", _e)); 5068 } catch (lt) { 5069 W(d, d.return, lt); 5070 } 5071 } 5072 } else if (st.tag === 6) { 5073 if (nt === null) try { 5074 st.stateNode.nodeValue = rt ? "" : st.memoizedProps; 5075 } catch (lt) { 5076 W(d, d.return, lt); 5077 } 5078 } else if ((st.tag !== 22 && st.tag !== 23 || st.memoizedState === null || st === d) && st.child !== null) { 5079 st.child.return = st, st = st.child; 5080 continue; 5081 } 5082 if (st === d) break e; 5083 for (; st.sibling === null; ) { 5084 if (st.return === null || st.return === d) break e; 5085 nt === st && (nt = null), st = st.return; 5086 } 5087 nt === st && (nt = null), st.sibling.return = st.return, st = st.sibling; 5088 } 5089 } 5090 break; 5091 case 19: 5092 ck(o, d), ek(d), g & 4 && ak(d); 5093 break; 5094 case 21: 5095 break; 5096 default: 5097 ck(o, d), ek(d); 5098 } 5099 } 5100 function ek(d) { 5101 var o = d.flags; 5102 if (o & 2) { 5103 try { 5104 e: { 5105 for (var h = d.return; h !== null; ) { 5106 if (Tj(h)) { 5107 var g = h; 5108 break e; 5109 } 5110 h = h.return; 5111 } 5112 throw Error(p(160)); 5113 } 5114 switch (g.tag) { 5115 case 5: 5116 var b = g.stateNode; 5117 g.flags & 32 && (ob(b, ""), g.flags &= -33); 5118 var $ = Uj(d); 5119 Wj(d, $, b); 5120 break; 5121 case 3: 5122 case 4: 5123 var _e = g.stateNode.containerInfo, et = Uj(d); 5124 Vj(d, et, _e); 5125 break; 5126 default: 5127 throw Error(p(161)); 5128 } 5129 } catch (tt) { 5130 W(d, d.return, tt); 5131 } 5132 d.flags &= -3; 5133 } 5134 o & 4096 && (d.flags &= -4097); 5135 } 5136 function hk(d, o, h) { 5137 V = d, ik(d); 5138 } 5139 function ik(d, o, h) { 5140 for (var g = (d.mode & 1) !== 0; V !== null; ) { 5141 var b = V, $ = b.child; 5142 if (b.tag === 22 && g) { 5143 var _e = b.memoizedState !== null || Jj; 5144 if (!_e) { 5145 var et = b.alternate, tt = et !== null && et.memoizedState !== null || U; 5146 et = Jj; 5147 var rt = U; 5148 if (Jj = _e, (U = tt) && !rt) for (V = b; V !== null; ) _e = V, tt = _e.child, _e.tag === 22 && _e.memoizedState !== null ? jk(b) : tt !== null ? (tt.return = _e, V = tt) : jk(b); 5149 for (; $ !== null; ) V = $, ik($), $ = $.sibling; 5150 V = b, Jj = et, U = rt; 5151 } 5152 kk(d); 5153 } else b.subtreeFlags & 8772 && $ !== null ? ($.return = b, V = $) : kk(d); 5154 } 5155 } 5156 function kk(d) { 5157 for (; V !== null; ) { 5158 var o = V; 5159 if (o.flags & 8772) { 5160 var h = o.alternate; 5161 try { 5162 if (o.flags & 8772) switch (o.tag) { 5163 case 0: 5164 case 11: 5165 case 15: 5166 U || Qj(5, o); 5167 break; 5168 case 1: 5169 var g = o.stateNode; 5170 if (o.flags & 4 && !U) if (h === null) g.componentDidMount(); 5171 else { 5172 var b = o.elementType === o.type ? h.memoizedProps : Ci(o.type, h.memoizedProps); 5173 g.componentDidUpdate(b, h.memoizedState, g.__reactInternalSnapshotBeforeUpdate); 5174 } 5175 var $ = o.updateQueue; 5176 $ !== null && sh(o, $, g); 5177 break; 5178 case 3: 5179 var _e = o.updateQueue; 5180 if (_e !== null) { 5181 if (h = null, o.child !== null) switch (o.child.tag) { 5182 case 5: 5183 h = o.child.stateNode; 5184 break; 5185 case 1: 5186 h = o.child.stateNode; 5187 } 5188 sh(o, _e, h); 5189 } 5190 break; 5191 case 5: 5192 var et = o.stateNode; 5193 if (h === null && o.flags & 4) { 5194 h = et; 5195 var tt = o.memoizedProps; 5196 switch (o.type) { 5197 case "button": 5198 case "input": 5199 case "select": 5200 case "textarea": 5201 tt.autoFocus && h.focus(); 5202 break; 5203 case "img": 5204 tt.src && (h.src = tt.src); 5205 } 5206 } 5207 break; 5208 case 6: 5209 break; 5210 case 4: 5211 break; 5212 case 12: 5213 break; 5214 case 13: 5215 if (o.memoizedState === null) { 5216 var rt = o.alternate; 5217 if (rt !== null) { 5218 var nt = rt.memoizedState; 5219 if (nt !== null) { 5220 var st = nt.dehydrated; 5221 st !== null && bd(st); 5222 } 5223 } 5224 } 5225 break; 5226 case 19: 5227 case 17: 5228 case 21: 5229 case 22: 5230 case 23: 5231 case 25: 5232 break; 5233 default: 5234 throw Error(p(163)); 5235 } 5236 U || o.flags & 512 && Rj(o); 5237 } catch (ot) { 5238 W(o, o.return, ot); 5239 } 5240 } 5241 if (o === d) { 5242 V = null; 5243 break; 5244 } 5245 if (h = o.sibling, h !== null) { 5246 h.return = o.return, V = h; 5247 break; 5248 } 5249 V = o.return; 5250 } 5251 } 5252 function gk(d) { 5253 for (; V !== null; ) { 5254 var o = V; 5255 if (o === d) { 5256 V = null; 5257 break; 5258 } 5259 var h = o.sibling; 5260 if (h !== null) { 5261 h.return = o.return, V = h; 5262 break; 5263 } 5264 V = o.return; 5265 } 5266 } 5267 function jk(d) { 5268 for (; V !== null; ) { 5269 var o = V; 5270 try { 5271 switch (o.tag) { 5272 case 0: 5273 case 11: 5274 case 15: 5275 var h = o.return; 5276 try { 5277 Qj(4, o); 5278 } catch (tt) { 5279 W(o, h, tt); 5280 } 5281 break; 5282 case 1: 5283 var g = o.stateNode; 5284 if (typeof g.componentDidMount == "function") { 5285 var b = o.return; 5286 try { 5287 g.componentDidMount(); 5288 } catch (tt) { 5289 W(o, b, tt); 5290 } 5291 } 5292 var $ = o.return; 5293 try { 5294 Rj(o); 5295 } catch (tt) { 5296 W(o, $, tt); 5297 } 5298 break; 5299 case 5: 5300 var _e = o.return; 5301 try { 5302 Rj(o); 5303 } catch (tt) { 5304 W(o, _e, tt); 5305 } 5306 } 5307 } catch (tt) { 5308 W(o, o.return, tt); 5309 } 5310 if (o === d) { 5311 V = null; 5312 break; 5313 } 5314 var et = o.sibling; 5315 if (et !== null) { 5316 et.return = o.return, V = et; 5317 break; 5318 } 5319 V = o.return; 5320 } 5321 } 5322 var lk = Math.ceil, mk = ua$2.ReactCurrentDispatcher, nk = ua$2.ReactCurrentOwner, ok = ua$2.ReactCurrentBatchConfig, K = 0, Q = null, Y = null, Z = 0, fj = 0, ej = Uf(0), T = 0, pk = null, rh = 0, qk = 0, rk = 0, sk = null, tk = null, fk = 0, Gj = 1 / 0, uk = null, Oi = false, Pi = null, Ri = null, vk = false, wk = null, xk = 0, yk = 0, zk = null, Ak = -1, Bk = 0; 5323 function R() { 5324 return K & 6 ? B() : Ak !== -1 ? Ak : Ak = B(); 5325 } 5326 function yi(d) { 5327 return d.mode & 1 ? K & 2 && Z !== 0 ? Z & -Z : Kg.transition !== null ? (Bk === 0 && (Bk = yc()), Bk) : (d = C, d !== 0 || (d = window.event, d = d === void 0 ? 16 : jd(d.type)), d) : 1; 5328 } 5329 function gi(d, o, h, g) { 5330 if (50 < yk) throw yk = 0, zk = null, Error(p(185)); 5331 Ac(d, h, g), (!(K & 2) || d !== Q) && (d === Q && (!(K & 2) && (qk |= h), T === 4 && Ck(d, Z)), Dk(d, g), h === 1 && K === 0 && !(o.mode & 1) && (Gj = B() + 500, fg && jg())); 5332 } 5333 function Dk(d, o) { 5334 var h = d.callbackNode; 5335 wc(d, o); 5336 var g = uc(d, d === Q ? Z : 0); 5337 if (g === 0) h !== null && bc(h), d.callbackNode = null, d.callbackPriority = 0; 5338 else if (o = g & -g, d.callbackPriority !== o) { 5339 if (h != null && bc(h), o === 1) d.tag === 0 ? ig(Ek.bind(null, d)) : hg(Ek.bind(null, d)), Jf(function() { 5340 !(K & 6) && jg(); 5341 }), h = null; 5342 else { 5343 switch (Dc(g)) { 5344 case 1: 5345 h = fc; 5346 break; 5347 case 4: 5348 h = gc; 5349 break; 5350 case 16: 5351 h = hc; 5352 break; 5353 case 536870912: 5354 h = jc; 5355 break; 5356 default: 5357 h = hc; 5358 } 5359 h = Fk(h, Gk.bind(null, d)); 5360 } 5361 d.callbackPriority = o, d.callbackNode = h; 5362 } 5363 } 5364 function Gk(d, o) { 5365 if (Ak = -1, Bk = 0, K & 6) throw Error(p(327)); 5366 var h = d.callbackNode; 5367 if (Hk() && d.callbackNode !== h) return null; 5368 var g = uc(d, d === Q ? Z : 0); 5369 if (g === 0) return null; 5370 if (g & 30 || g & d.expiredLanes || o) o = Ik(d, g); 5371 else { 5372 o = g; 5373 var b = K; 5374 K |= 2; 5375 var $ = Jk(); 5376 (Q !== d || Z !== o) && (uk = null, Gj = B() + 500, Kk(d, o)); 5377 do 5378 try { 5379 Lk(); 5380 break; 5381 } catch (et) { 5382 Mk(d, et); 5383 } 5384 while (true); 5385 $g(), mk.current = $, K = b, Y !== null ? o = 0 : (Q = null, Z = 0, o = T); 5386 } 5387 if (o !== 0) { 5388 if (o === 2 && (b = xc(d), b !== 0 && (g = b, o = Nk(d, b))), o === 1) throw h = pk, Kk(d, 0), Ck(d, g), Dk(d, B()), h; 5389 if (o === 6) Ck(d, g); 5390 else { 5391 if (b = d.current.alternate, !(g & 30) && !Ok(b) && (o = Ik(d, g), o === 2 && ($ = xc(d), $ !== 0 && (g = $, o = Nk(d, $))), o === 1)) throw h = pk, Kk(d, 0), Ck(d, g), Dk(d, B()), h; 5392 switch (d.finishedWork = b, d.finishedLanes = g, o) { 5393 case 0: 5394 case 1: 5395 throw Error(p(345)); 5396 case 2: 5397 Pk(d, tk, uk); 5398 break; 5399 case 3: 5400 if (Ck(d, g), (g & 130023424) === g && (o = fk + 500 - B(), 10 < o)) { 5401 if (uc(d, 0) !== 0) break; 5402 if (b = d.suspendedLanes, (b & g) !== g) { 5403 R(), d.pingedLanes |= d.suspendedLanes & b; 5404 break; 5405 } 5406 d.timeoutHandle = Ff(Pk.bind(null, d, tk, uk), o); 5407 break; 5408 } 5409 Pk(d, tk, uk); 5410 break; 5411 case 4: 5412 if (Ck(d, g), (g & 4194240) === g) break; 5413 for (o = d.eventTimes, b = -1; 0 < g; ) { 5414 var _e = 31 - oc(g); 5415 $ = 1 << _e, _e = o[_e], _e > b && (b = _e), g &= ~$; 5416 } 5417 if (g = b, g = B() - g, g = (120 > g ? 120 : 480 > g ? 480 : 1080 > g ? 1080 : 1920 > g ? 1920 : 3e3 > g ? 3e3 : 4320 > g ? 4320 : 1960 * lk(g / 1960)) - g, 10 < g) { 5418 d.timeoutHandle = Ff(Pk.bind(null, d, tk, uk), g); 5419 break; 5420 } 5421 Pk(d, tk, uk); 5422 break; 5423 case 5: 5424 Pk(d, tk, uk); 5425 break; 5426 default: 5427 throw Error(p(329)); 5428 } 5429 } 5430 } 5431 return Dk(d, B()), d.callbackNode === h ? Gk.bind(null, d) : null; 5432 } 5433 function Nk(d, o) { 5434 var h = sk; 5435 return d.current.memoizedState.isDehydrated && (Kk(d, o).flags |= 256), d = Ik(d, o), d !== 2 && (o = tk, tk = h, o !== null && Fj(o)), d; 5436 } 5437 function Fj(d) { 5438 tk === null ? tk = d : tk.push.apply(tk, d); 5439 } 5440 function Ok(d) { 5441 for (var o = d; ; ) { 5442 if (o.flags & 16384) { 5443 var h = o.updateQueue; 5444 if (h !== null && (h = h.stores, h !== null)) for (var g = 0; g < h.length; g++) { 5445 var b = h[g], $ = b.getSnapshot; 5446 b = b.value; 5447 try { 5448 if (!He($(), b)) return false; 5449 } catch (e2) { 5450 return false; 5451 } 5452 } 5453 } 5454 if (h = o.child, o.subtreeFlags & 16384 && h !== null) h.return = o, o = h; 5455 else { 5456 if (o === d) break; 5457 for (; o.sibling === null; ) { 5458 if (o.return === null || o.return === d) return true; 5459 o = o.return; 5460 } 5461 o.sibling.return = o.return, o = o.sibling; 5462 } 5463 } 5464 return true; 5465 } 5466 function Ck(d, o) { 5467 for (o &= ~rk, o &= ~qk, d.suspendedLanes |= o, d.pingedLanes &= ~o, d = d.expirationTimes; 0 < o; ) { 5468 var h = 31 - oc(o), g = 1 << h; 5469 d[h] = -1, o &= ~g; 5470 } 5471 } 5472 function Ek(d) { 5473 if (K & 6) throw Error(p(327)); 5474 Hk(); 5475 var o = uc(d, 0); 5476 if (!(o & 1)) return Dk(d, B()), null; 5477 var h = Ik(d, o); 5478 if (d.tag !== 0 && h === 2) { 5479 var g = xc(d); 5480 g !== 0 && (o = g, h = Nk(d, g)); 5481 } 5482 if (h === 1) throw h = pk, Kk(d, 0), Ck(d, o), Dk(d, B()), h; 5483 if (h === 6) throw Error(p(345)); 5484 return d.finishedWork = d.current.alternate, d.finishedLanes = o, Pk(d, tk, uk), Dk(d, B()), null; 5485 } 5486 function Qk(d, o) { 5487 var h = K; 5488 K |= 1; 5489 try { 5490 return d(o); 5491 } finally { 5492 K = h, K === 0 && (Gj = B() + 500, fg && jg()); 5493 } 5494 } 5495 function Rk(d) { 5496 wk !== null && wk.tag === 0 && !(K & 6) && Hk(); 5497 var o = K; 5498 K |= 1; 5499 var h = ok.transition, g = C; 5500 try { 5501 if (ok.transition = null, C = 1, d) return d(); 5502 } finally { 5503 C = g, ok.transition = h, K = o, !(K & 6) && jg(); 5504 } 5505 } 5506 function Hj() { 5507 fj = ej.current, E(ej); 5508 } 5509 function Kk(d, o) { 5510 d.finishedWork = null, d.finishedLanes = 0; 5511 var h = d.timeoutHandle; 5512 if (h !== -1 && (d.timeoutHandle = -1, Gf(h)), Y !== null) for (h = Y.return; h !== null; ) { 5513 var g = h; 5514 switch (wg(g), g.tag) { 5515 case 1: 5516 g = g.type.childContextTypes, g != null && $f(); 5517 break; 5518 case 3: 5519 zh(), E(Wf), E(H), Eh(); 5520 break; 5521 case 5: 5522 Bh(g); 5523 break; 5524 case 4: 5525 zh(); 5526 break; 5527 case 13: 5528 E(L); 5529 break; 5530 case 19: 5531 E(L); 5532 break; 5533 case 10: 5534 ah(g.type._context); 5535 break; 5536 case 22: 5537 case 23: 5538 Hj(); 5539 } 5540 h = h.return; 5541 } 5542 if (Q = d, Y = d = Pg(d.current, null), Z = fj = o, T = 0, pk = null, rk = qk = rh = 0, tk = sk = null, fh !== null) { 5543 for (o = 0; o < fh.length; o++) if (h = fh[o], g = h.interleaved, g !== null) { 5544 h.interleaved = null; 5545 var b = g.next, $ = h.pending; 5546 if ($ !== null) { 5547 var _e = $.next; 5548 $.next = b, g.next = _e; 5549 } 5550 h.pending = g; 5551 } 5552 fh = null; 5553 } 5554 return d; 5555 } 5556 function Mk(d, o) { 5557 do { 5558 var h = Y; 5559 try { 5560 if ($g(), Fh.current = Rh, Ih) { 5561 for (var g = M.memoizedState; g !== null; ) { 5562 var b = g.queue; 5563 b !== null && (b.pending = null), g = g.next; 5564 } 5565 Ih = false; 5566 } 5567 if (Hh = 0, O = N = M = null, Jh = false, Kh = 0, nk.current = null, h === null || h.return === null) { 5568 T = 1, pk = o, Y = null; 5569 break; 5570 } 5571 e: { 5572 var $ = d, _e = h.return, et = h, tt = o; 5573 if (o = Z, et.flags |= 32768, tt !== null && typeof tt == "object" && typeof tt.then == "function") { 5574 var rt = tt, nt = et, st = nt.tag; 5575 if (!(nt.mode & 1) && (st === 0 || st === 11 || st === 15)) { 5576 var ot = nt.alternate; 5577 ot ? (nt.updateQueue = ot.updateQueue, nt.memoizedState = ot.memoizedState, nt.lanes = ot.lanes) : (nt.updateQueue = null, nt.memoizedState = null); 5578 } 5579 var it = Ui(_e); 5580 if (it !== null) { 5581 it.flags &= -257, Vi(it, _e, et, $, o), it.mode & 1 && Si($, rt, o), o = it, tt = rt; 5582 var at = o.updateQueue; 5583 if (at === null) { 5584 var lt = /* @__PURE__ */ new Set(); 5585 lt.add(tt), o.updateQueue = lt; 5586 } else at.add(tt); 5587 break e; 5588 } else { 5589 if (!(o & 1)) { 5590 Si($, rt, o), tj(); 5591 break e; 5592 } 5593 tt = Error(p(426)); 5594 } 5595 } else if (I && et.mode & 1) { 5596 var ct = Ui(_e); 5597 if (ct !== null) { 5598 !(ct.flags & 65536) && (ct.flags |= 256), Vi(ct, _e, et, $, o), Jg(Ji(tt, et)); 5599 break e; 5600 } 5601 } 5602 $ = tt = Ji(tt, et), T !== 4 && (T = 2), sk === null ? sk = [ 5603 $ 5604 ] : sk.push($), $ = _e; 5605 do { 5606 switch ($.tag) { 5607 case 3: 5608 $.flags |= 65536, o &= -o, $.lanes |= o; 5609 var ut = Ni($, tt, o); 5610 ph($, ut); 5611 break e; 5612 case 1: 5613 et = tt; 5614 var ft = $.type, dt = $.stateNode; 5615 if (!($.flags & 128) && (typeof ft.getDerivedStateFromError == "function" || dt !== null && typeof dt.componentDidCatch == "function" && (Ri === null || !Ri.has(dt)))) { 5616 $.flags |= 65536, o &= -o, $.lanes |= o; 5617 var pt = Qi($, et, o); 5618 ph($, pt); 5619 break e; 5620 } 5621 } 5622 $ = $.return; 5623 } while ($ !== null); 5624 } 5625 Sk(h); 5626 } catch (ht) { 5627 o = ht, Y === h && h !== null && (Y = h = h.return); 5628 continue; 5629 } 5630 break; 5631 } while (true); 5632 } 5633 function Jk() { 5634 var d = mk.current; 5635 return mk.current = Rh, d === null ? Rh : d; 5636 } 5637 function tj() { 5638 (T === 0 || T === 3 || T === 2) && (T = 4), Q === null || !(rh & 268435455) && !(qk & 268435455) || Ck(Q, Z); 5639 } 5640 function Ik(d, o) { 5641 var h = K; 5642 K |= 2; 5643 var g = Jk(); 5644 (Q !== d || Z !== o) && (uk = null, Kk(d, o)); 5645 do 5646 try { 5647 Tk(); 5648 break; 5649 } catch (b) { 5650 Mk(d, b); 5651 } 5652 while (true); 5653 if ($g(), K = h, mk.current = g, Y !== null) throw Error(p(261)); 5654 return Q = null, Z = 0, T; 5655 } 5656 function Tk() { 5657 for (; Y !== null; ) Uk(Y); 5658 } 5659 function Lk() { 5660 for (; Y !== null && !cc(); ) Uk(Y); 5661 } 5662 function Uk(d) { 5663 var o = Vk(d.alternate, d, fj); 5664 d.memoizedProps = d.pendingProps, o === null ? Sk(d) : Y = o, nk.current = null; 5665 } 5666 function Sk(d) { 5667 var o = d; 5668 do { 5669 var h = o.alternate; 5670 if (d = o.return, o.flags & 32768) { 5671 if (h = Ij(h, o), h !== null) { 5672 h.flags &= 32767, Y = h; 5673 return; 5674 } 5675 if (d !== null) d.flags |= 32768, d.subtreeFlags = 0, d.deletions = null; 5676 else { 5677 T = 6, Y = null; 5678 return; 5679 } 5680 } else if (h = Ej(h, o, fj), h !== null) { 5681 Y = h; 5682 return; 5683 } 5684 if (o = o.sibling, o !== null) { 5685 Y = o; 5686 return; 5687 } 5688 Y = o = d; 5689 } while (o !== null); 5690 T === 0 && (T = 5); 5691 } 5692 function Pk(d, o, h) { 5693 var g = C, b = ok.transition; 5694 try { 5695 ok.transition = null, C = 1, Wk(d, o, h, g); 5696 } finally { 5697 ok.transition = b, C = g; 5698 } 5699 return null; 5700 } 5701 function Wk(d, o, h, g) { 5702 do 5703 Hk(); 5704 while (wk !== null); 5705 if (K & 6) throw Error(p(327)); 5706 h = d.finishedWork; 5707 var b = d.finishedLanes; 5708 if (h === null) return null; 5709 if (d.finishedWork = null, d.finishedLanes = 0, h === d.current) throw Error(p(177)); 5710 d.callbackNode = null, d.callbackPriority = 0; 5711 var $ = h.lanes | h.childLanes; 5712 if (Bc(d, $), d === Q && (Y = Q = null, Z = 0), !(h.subtreeFlags & 2064) && !(h.flags & 2064) || vk || (vk = true, Fk(hc, function() { 5713 return Hk(), null; 5714 })), $ = (h.flags & 15990) !== 0, h.subtreeFlags & 15990 || $) { 5715 $ = ok.transition, ok.transition = null; 5716 var _e = C; 5717 C = 1; 5718 var et = K; 5719 K |= 4, nk.current = null, Oj(d, h), dk(h, d), Oe(Df), dd = !!Cf, Df = Cf = null, d.current = h, hk(h), dc(), K = et, C = _e, ok.transition = $; 5720 } else d.current = h; 5721 if (vk && (vk = false, wk = d, xk = b), $ = d.pendingLanes, $ === 0 && (Ri = null), mc(h.stateNode), Dk(d, B()), o !== null) for (g = d.onRecoverableError, h = 0; h < o.length; h++) b = o[h], g(b.value, { 5722 componentStack: b.stack, 5723 digest: b.digest 5724 }); 5725 if (Oi) throw Oi = false, d = Pi, Pi = null, d; 5726 return xk & 1 && d.tag !== 0 && Hk(), $ = d.pendingLanes, $ & 1 ? d === zk ? yk++ : (yk = 0, zk = d) : yk = 0, jg(), null; 5727 } 5728 function Hk() { 5729 if (wk !== null) { 5730 var d = Dc(xk), o = ok.transition, h = C; 5731 try { 5732 if (ok.transition = null, C = 16 > d ? 16 : d, wk === null) var g = false; 5733 else { 5734 if (d = wk, wk = null, xk = 0, K & 6) throw Error(p(331)); 5735 var b = K; 5736 for (K |= 4, V = d.current; V !== null; ) { 5737 var $ = V, _e = $.child; 5738 if (V.flags & 16) { 5739 var et = $.deletions; 5740 if (et !== null) { 5741 for (var tt = 0; tt < et.length; tt++) { 5742 var rt = et[tt]; 5743 for (V = rt; V !== null; ) { 5744 var nt = V; 5745 switch (nt.tag) { 5746 case 0: 5747 case 11: 5748 case 15: 5749 Pj(8, nt, $); 5750 } 5751 var st = nt.child; 5752 if (st !== null) st.return = nt, V = st; 5753 else for (; V !== null; ) { 5754 nt = V; 5755 var ot = nt.sibling, it = nt.return; 5756 if (Sj(nt), nt === rt) { 5757 V = null; 5758 break; 5759 } 5760 if (ot !== null) { 5761 ot.return = it, V = ot; 5762 break; 5763 } 5764 V = it; 5765 } 5766 } 5767 } 5768 var at = $.alternate; 5769 if (at !== null) { 5770 var lt = at.child; 5771 if (lt !== null) { 5772 at.child = null; 5773 do { 5774 var ct = lt.sibling; 5775 lt.sibling = null, lt = ct; 5776 } while (lt !== null); 5777 } 5778 } 5779 V = $; 5780 } 5781 } 5782 if ($.subtreeFlags & 2064 && _e !== null) _e.return = $, V = _e; 5783 else e: for (; V !== null; ) { 5784 if ($ = V, $.flags & 2048) switch ($.tag) { 5785 case 0: 5786 case 11: 5787 case 15: 5788 Pj(9, $, $.return); 5789 } 5790 var ut = $.sibling; 5791 if (ut !== null) { 5792 ut.return = $.return, V = ut; 5793 break e; 5794 } 5795 V = $.return; 5796 } 5797 } 5798 var ft = d.current; 5799 for (V = ft; V !== null; ) { 5800 _e = V; 5801 var dt = _e.child; 5802 if (_e.subtreeFlags & 2064 && dt !== null) dt.return = _e, V = dt; 5803 else e: for (_e = ft; V !== null; ) { 5804 if (et = V, et.flags & 2048) try { 5805 switch (et.tag) { 5806 case 0: 5807 case 11: 5808 case 15: 5809 Qj(9, et); 5810 } 5811 } catch (ht) { 5812 W(et, et.return, ht); 5813 } 5814 if (et === _e) { 5815 V = null; 5816 break e; 5817 } 5818 var pt = et.sibling; 5819 if (pt !== null) { 5820 pt.return = et.return, V = pt; 5821 break e; 5822 } 5823 V = et.return; 5824 } 5825 } 5826 if (K = b, jg(), lc && typeof lc.onPostCommitFiberRoot == "function") try { 5827 lc.onPostCommitFiberRoot(kc, d); 5828 } catch (e2) { 5829 } 5830 g = true; 5831 } 5832 return g; 5833 } finally { 5834 C = h, ok.transition = o; 5835 } 5836 } 5837 return false; 5838 } 5839 function Xk(d, o, h) { 5840 o = Ji(h, o), o = Ni(d, o, 1), d = nh(d, o, 1), o = R(), d !== null && (Ac(d, 1, o), Dk(d, o)); 5841 } 5842 function W(d, o, h) { 5843 if (d.tag === 3) Xk(d, d, h); 5844 else for (; o !== null; ) { 5845 if (o.tag === 3) { 5846 Xk(o, d, h); 5847 break; 5848 } else if (o.tag === 1) { 5849 var g = o.stateNode; 5850 if (typeof o.type.getDerivedStateFromError == "function" || typeof g.componentDidCatch == "function" && (Ri === null || !Ri.has(g))) { 5851 d = Ji(h, d), d = Qi(o, d, 1), o = nh(o, d, 1), d = R(), o !== null && (Ac(o, 1, d), Dk(o, d)); 5852 break; 5853 } 5854 } 5855 o = o.return; 5856 } 5857 } 5858 function Ti(d, o, h) { 5859 var g = d.pingCache; 5860 g !== null && g.delete(o), o = R(), d.pingedLanes |= d.suspendedLanes & h, Q === d && (Z & h) === h && (T === 4 || T === 3 && (Z & 130023424) === Z && 500 > B() - fk ? Kk(d, 0) : rk |= h), Dk(d, o); 5861 } 5862 function Yk(d, o) { 5863 o === 0 && (d.mode & 1 ? (o = sc, sc <<= 1, !(sc & 130023424) && (sc = 4194304)) : o = 1); 5864 var h = R(); 5865 d = ih(d, o), d !== null && (Ac(d, o, h), Dk(d, h)); 5866 } 5867 function uj(d) { 5868 var o = d.memoizedState, h = 0; 5869 o !== null && (h = o.retryLane), Yk(d, h); 5870 } 5871 function bk(d, o) { 5872 var h = 0; 5873 switch (d.tag) { 5874 case 13: 5875 var g = d.stateNode, b = d.memoizedState; 5876 b !== null && (h = b.retryLane); 5877 break; 5878 case 19: 5879 g = d.stateNode; 5880 break; 5881 default: 5882 throw Error(p(314)); 5883 } 5884 g !== null && g.delete(o), Yk(d, h); 5885 } 5886 var Vk; 5887 Vk = function(d, o, h) { 5888 if (d !== null) if (d.memoizedProps !== o.pendingProps || Wf.current) dh = true; 5889 else { 5890 if (!(d.lanes & h) && !(o.flags & 128)) return dh = false, yj(d, o, h); 5891 dh = !!(d.flags & 131072); 5892 } 5893 else dh = false, I && o.flags & 1048576 && ug(o, ng, o.index); 5894 switch (o.lanes = 0, o.tag) { 5895 case 2: 5896 var g = o.type; 5897 ij(d, o), d = o.pendingProps; 5898 var b = Yf(o, H.current); 5899 ch(o, h), b = Nh(null, o, g, d, b, h); 5900 var $ = Sh(); 5901 return o.flags |= 1, typeof b == "object" && b !== null && typeof b.render == "function" && b.$$typeof === void 0 ? (o.tag = 1, o.memoizedState = null, o.updateQueue = null, Zf(g) ? ($ = true, cg(o)) : $ = false, o.memoizedState = b.state !== null && b.state !== void 0 ? b.state : null, kh(o), b.updater = Ei, o.stateNode = b, b._reactInternals = o, Ii(o, g, d, h), o = jj(null, o, g, true, $, h)) : (o.tag = 0, I && $ && vg(o), Xi(null, o, b, h), o = o.child), o; 5902 case 16: 5903 g = o.elementType; 5904 e: { 5905 switch (ij(d, o), d = o.pendingProps, b = g._init, g = b(g._payload), o.type = g, b = o.tag = Zk(g), d = Ci(g, d), b) { 5906 case 0: 5907 o = cj(null, o, g, d, h); 5908 break e; 5909 case 1: 5910 o = hj(null, o, g, d, h); 5911 break e; 5912 case 11: 5913 o = Yi(null, o, g, d, h); 5914 break e; 5915 case 14: 5916 o = $i(null, o, g, Ci(g.type, d), h); 5917 break e; 5918 } 5919 throw Error(p(306, g, "")); 5920 } 5921 return o; 5922 case 0: 5923 return g = o.type, b = o.pendingProps, b = o.elementType === g ? b : Ci(g, b), cj(d, o, g, b, h); 5924 case 1: 5925 return g = o.type, b = o.pendingProps, b = o.elementType === g ? b : Ci(g, b), hj(d, o, g, b, h); 5926 case 3: 5927 e: { 5928 if (kj(o), d === null) throw Error(p(387)); 5929 g = o.pendingProps, $ = o.memoizedState, b = $.element, lh(d, o), qh(o, g, null, h); 5930 var _e = o.memoizedState; 5931 if (g = _e.element, $.isDehydrated) if ($ = { 5932 element: g, 5933 isDehydrated: false, 5934 cache: _e.cache, 5935 pendingSuspenseBoundaries: _e.pendingSuspenseBoundaries, 5936 transitions: _e.transitions 5937 }, o.updateQueue.baseState = $, o.memoizedState = $, o.flags & 256) { 5938 b = Ji(Error(p(423)), o), o = lj(d, o, g, h, b); 5939 break e; 5940 } else if (g !== b) { 5941 b = Ji(Error(p(424)), o), o = lj(d, o, g, h, b); 5942 break e; 5943 } else for (yg = Lf(o.stateNode.containerInfo.firstChild), xg = o, I = true, zg = null, h = Vg(o, null, g, h), o.child = h; h; ) h.flags = h.flags & -3 | 4096, h = h.sibling; 5944 else { 5945 if (Ig(), g === b) { 5946 o = Zi(d, o, h); 5947 break e; 5948 } 5949 Xi(d, o, g, h); 5950 } 5951 o = o.child; 5952 } 5953 return o; 5954 case 5: 5955 return Ah(o), d === null && Eg(o), g = o.type, b = o.pendingProps, $ = d !== null ? d.memoizedProps : null, _e = b.children, Ef(g, b) ? _e = null : $ !== null && Ef(g, $) && (o.flags |= 32), gj(d, o), Xi(d, o, _e, h), o.child; 5956 case 6: 5957 return d === null && Eg(o), null; 5958 case 13: 5959 return oj(d, o, h); 5960 case 4: 5961 return yh(o, o.stateNode.containerInfo), g = o.pendingProps, d === null ? o.child = Ug(o, null, g, h) : Xi(d, o, g, h), o.child; 5962 case 11: 5963 return g = o.type, b = o.pendingProps, b = o.elementType === g ? b : Ci(g, b), Yi(d, o, g, b, h); 5964 case 7: 5965 return Xi(d, o, o.pendingProps, h), o.child; 5966 case 8: 5967 return Xi(d, o, o.pendingProps.children, h), o.child; 5968 case 12: 5969 return Xi(d, o, o.pendingProps.children, h), o.child; 5970 case 10: 5971 e: { 5972 if (g = o.type._context, b = o.pendingProps, $ = o.memoizedProps, _e = b.value, G(Wg, g._currentValue), g._currentValue = _e, $ !== null) if (He($.value, _e)) { 5973 if ($.children === b.children && !Wf.current) { 5974 o = Zi(d, o, h); 5975 break e; 5976 } 5977 } else for ($ = o.child, $ !== null && ($.return = o); $ !== null; ) { 5978 var et = $.dependencies; 5979 if (et !== null) { 5980 _e = $.child; 5981 for (var tt = et.firstContext; tt !== null; ) { 5982 if (tt.context === g) { 5983 if ($.tag === 1) { 5984 tt = mh(-1, h & -h), tt.tag = 2; 5985 var rt = $.updateQueue; 5986 if (rt !== null) { 5987 rt = rt.shared; 5988 var nt = rt.pending; 5989 nt === null ? tt.next = tt : (tt.next = nt.next, nt.next = tt), rt.pending = tt; 5990 } 5991 } 5992 $.lanes |= h, tt = $.alternate, tt !== null && (tt.lanes |= h), bh($.return, h, o), et.lanes |= h; 5993 break; 5994 } 5995 tt = tt.next; 5996 } 5997 } else if ($.tag === 10) _e = $.type === o.type ? null : $.child; 5998 else if ($.tag === 18) { 5999 if (_e = $.return, _e === null) throw Error(p(341)); 6000 _e.lanes |= h, et = _e.alternate, et !== null && (et.lanes |= h), bh(_e, h, o), _e = $.sibling; 6001 } else _e = $.child; 6002 if (_e !== null) _e.return = $; 6003 else for (_e = $; _e !== null; ) { 6004 if (_e === o) { 6005 _e = null; 6006 break; 6007 } 6008 if ($ = _e.sibling, $ !== null) { 6009 $.return = _e.return, _e = $; 6010 break; 6011 } 6012 _e = _e.return; 6013 } 6014 $ = _e; 6015 } 6016 Xi(d, o, b.children, h), o = o.child; 6017 } 6018 return o; 6019 case 9: 6020 return b = o.type, g = o.pendingProps.children, ch(o, h), b = eh(b), g = g(b), o.flags |= 1, Xi(d, o, g, h), o.child; 6021 case 14: 6022 return g = o.type, b = Ci(g, o.pendingProps), b = Ci(g.type, b), $i(d, o, g, b, h); 6023 case 15: 6024 return bj(d, o, o.type, o.pendingProps, h); 6025 case 17: 6026 return g = o.type, b = o.pendingProps, b = o.elementType === g ? b : Ci(g, b), ij(d, o), o.tag = 1, Zf(g) ? (d = true, cg(o)) : d = false, ch(o, h), Gi(o, g, b), Ii(o, g, b, h), jj(null, o, g, true, d, h); 6027 case 19: 6028 return xj(d, o, h); 6029 case 22: 6030 return dj(d, o, h); 6031 } 6032 throw Error(p(156, o.tag)); 6033 }; 6034 function Fk(d, o) { 6035 return ac(d, o); 6036 } 6037 function $k(d, o, h, g) { 6038 this.tag = d, this.key = h, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = o, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = g, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null; 6039 } 6040 function Bg(d, o, h, g) { 6041 return new $k(d, o, h, g); 6042 } 6043 function aj(d) { 6044 return d = d.prototype, !(!d || !d.isReactComponent); 6045 } 6046 function Zk(d) { 6047 if (typeof d == "function") return aj(d) ? 1 : 0; 6048 if (d != null) { 6049 if (d = d.$$typeof, d === Da) return 11; 6050 if (d === Ga) return 14; 6051 } 6052 return 2; 6053 } 6054 function Pg(d, o) { 6055 var h = d.alternate; 6056 return h === null ? (h = Bg(d.tag, o, d.key, d.mode), h.elementType = d.elementType, h.type = d.type, h.stateNode = d.stateNode, h.alternate = d, d.alternate = h) : (h.pendingProps = o, h.type = d.type, h.flags = 0, h.subtreeFlags = 0, h.deletions = null), h.flags = d.flags & 14680064, h.childLanes = d.childLanes, h.lanes = d.lanes, h.child = d.child, h.memoizedProps = d.memoizedProps, h.memoizedState = d.memoizedState, h.updateQueue = d.updateQueue, o = d.dependencies, h.dependencies = o === null ? null : { 6057 lanes: o.lanes, 6058 firstContext: o.firstContext 6059 }, h.sibling = d.sibling, h.index = d.index, h.ref = d.ref, h; 6060 } 6061 function Rg(d, o, h, g, b, $) { 6062 var _e = 2; 6063 if (g = d, typeof d == "function") aj(d) && (_e = 1); 6064 else if (typeof d == "string") _e = 5; 6065 else e: switch (d) { 6066 case ya: 6067 return Tg(h.children, b, $, o); 6068 case za: 6069 _e = 8, b |= 8; 6070 break; 6071 case Aa: 6072 return d = Bg(12, h, o, b | 2), d.elementType = Aa, d.lanes = $, d; 6073 case Ea: 6074 return d = Bg(13, h, o, b), d.elementType = Ea, d.lanes = $, d; 6075 case Fa: 6076 return d = Bg(19, h, o, b), d.elementType = Fa, d.lanes = $, d; 6077 case Ia: 6078 return pj(h, b, $, o); 6079 default: 6080 if (typeof d == "object" && d !== null) switch (d.$$typeof) { 6081 case Ba: 6082 _e = 10; 6083 break e; 6084 case Ca: 6085 _e = 9; 6086 break e; 6087 case Da: 6088 _e = 11; 6089 break e; 6090 case Ga: 6091 _e = 14; 6092 break e; 6093 case Ha: 6094 _e = 16, g = null; 6095 break e; 6096 } 6097 throw Error(p(130, d == null ? d : typeof d, "")); 6098 } 6099 return o = Bg(_e, h, o, b), o.elementType = d, o.type = g, o.lanes = $, o; 6100 } 6101 function Tg(d, o, h, g) { 6102 return d = Bg(7, d, g, o), d.lanes = h, d; 6103 } 6104 function pj(d, o, h, g) { 6105 return d = Bg(22, d, g, o), d.elementType = Ia, d.lanes = h, d.stateNode = { 6106 isHidden: false 6107 }, d; 6108 } 6109 function Qg(d, o, h) { 6110 return d = Bg(6, d, null, o), d.lanes = h, d; 6111 } 6112 function Sg(d, o, h) { 6113 return o = Bg(4, d.children !== null ? d.children : [], d.key, o), o.lanes = h, o.stateNode = { 6114 containerInfo: d.containerInfo, 6115 pendingChildren: null, 6116 implementation: d.implementation 6117 }, o; 6118 } 6119 function al(d, o, h, g, b) { 6120 this.tag = o, this.containerInfo = d, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = zc(0), this.expirationTimes = zc(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = zc(0), this.identifierPrefix = g, this.onRecoverableError = b, this.mutableSourceEagerHydrationData = null; 6121 } 6122 function bl(d, o, h, g, b, $, _e, et, tt) { 6123 return d = new al(d, o, h, et, tt), o === 1 ? (o = 1, $ === true && (o |= 8)) : o = 0, $ = Bg(3, null, null, o), d.current = $, $.stateNode = d, $.memoizedState = { 6124 element: g, 6125 isDehydrated: h, 6126 cache: null, 6127 transitions: null, 6128 pendingSuspenseBoundaries: null 6129 }, kh($), d; 6130 } 6131 function cl(d, o, h) { 6132 var g = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; 6133 return { 6134 $$typeof: wa, 6135 key: g == null ? null : "" + g, 6136 children: d, 6137 containerInfo: o, 6138 implementation: h 6139 }; 6140 } 6141 function dl(d) { 6142 if (!d) return Vf; 6143 d = d._reactInternals; 6144 e: { 6145 if (Vb(d) !== d || d.tag !== 1) throw Error(p(170)); 6146 var o = d; 6147 do { 6148 switch (o.tag) { 6149 case 3: 6150 o = o.stateNode.context; 6151 break e; 6152 case 1: 6153 if (Zf(o.type)) { 6154 o = o.stateNode.__reactInternalMemoizedMergedChildContext; 6155 break e; 6156 } 6157 } 6158 o = o.return; 6159 } while (o !== null); 6160 throw Error(p(171)); 6161 } 6162 if (d.tag === 1) { 6163 var h = d.type; 6164 if (Zf(h)) return bg(d, h, o); 6165 } 6166 return o; 6167 } 6168 function el(d, o, h, g, b, $, _e, et, tt) { 6169 return d = bl(h, g, true, d, b, $, _e, et, tt), d.context = dl(null), h = d.current, g = R(), b = yi(h), $ = mh(g, b), $.callback = o != null ? o : null, nh(h, $, b), d.current.lanes = b, Ac(d, b, g), Dk(d, g), d; 6170 } 6171 function fl(d, o, h, g) { 6172 var b = o.current, $ = R(), _e = yi(b); 6173 return h = dl(h), o.context === null ? o.context = h : o.pendingContext = h, o = mh($, _e), o.payload = { 6174 element: d 6175 }, g = g === void 0 ? null : g, g !== null && (o.callback = g), d = nh(b, o, _e), d !== null && (gi(d, b, _e, $), oh(d, b, _e)), _e; 6176 } 6177 function gl(d) { 6178 if (d = d.current, !d.child) return null; 6179 switch (d.child.tag) { 6180 case 5: 6181 return d.child.stateNode; 6182 default: 6183 return d.child.stateNode; 6184 } 6185 } 6186 function hl(d, o) { 6187 if (d = d.memoizedState, d !== null && d.dehydrated !== null) { 6188 var h = d.retryLane; 6189 d.retryLane = h !== 0 && h < o ? h : o; 6190 } 6191 } 6192 function il(d, o) { 6193 hl(d, o), (d = d.alternate) && hl(d, o); 6194 } 6195 function jl() { 6196 return null; 6197 } 6198 var kl = typeof reportError == "function" ? reportError : function(d) { 6199 console.error(d); 6200 }; 6201 function ll(d) { 6202 this._internalRoot = d; 6203 } 6204 ml.prototype.render = ll.prototype.render = function(d) { 6205 var o = this._internalRoot; 6206 if (o === null) throw Error(p(409)); 6207 fl(d, o, null, null); 6208 }; 6209 ml.prototype.unmount = ll.prototype.unmount = function() { 6210 var d = this._internalRoot; 6211 if (d !== null) { 6212 this._internalRoot = null; 6213 var o = d.containerInfo; 6214 Rk(function() { 6215 fl(null, d, null, null); 6216 }), o[uf] = null; 6217 } 6218 }; 6219 function ml(d) { 6220 this._internalRoot = d; 6221 } 6222 ml.prototype.unstable_scheduleHydration = function(d) { 6223 if (d) { 6224 var o = Hc(); 6225 d = { 6226 blockedOn: null, 6227 target: d, 6228 priority: o 6229 }; 6230 for (var h = 0; h < Qc.length && o !== 0 && o < Qc[h].priority; h++) ; 6231 Qc.splice(h, 0, d), h === 0 && Vc(d); 6232 } 6233 }; 6234 function nl(d) { 6235 return !(!d || d.nodeType !== 1 && d.nodeType !== 9 && d.nodeType !== 11); 6236 } 6237 function ol(d) { 6238 return !(!d || d.nodeType !== 1 && d.nodeType !== 9 && d.nodeType !== 11 && (d.nodeType !== 8 || d.nodeValue !== " react-mount-point-unstable ")); 6239 } 6240 function pl() { 6241 } 6242 function ql(d, o, h, g, b) { 6243 if (b) { 6244 if (typeof g == "function") { 6245 var $ = g; 6246 g = function() { 6247 var rt = gl(_e); 6248 $.call(rt); 6249 }; 6250 } 6251 var _e = el(o, g, d, 0, null, false, false, "", pl); 6252 return d._reactRootContainer = _e, d[uf] = _e.current, sf(d.nodeType === 8 ? d.parentNode : d), Rk(), _e; 6253 } 6254 for (; b = d.lastChild; ) d.removeChild(b); 6255 if (typeof g == "function") { 6256 var et = g; 6257 g = function() { 6258 var rt = gl(tt); 6259 et.call(rt); 6260 }; 6261 } 6262 var tt = bl(d, 0, false, null, null, false, false, "", pl); 6263 return d._reactRootContainer = tt, d[uf] = tt.current, sf(d.nodeType === 8 ? d.parentNode : d), Rk(function() { 6264 fl(o, tt, h, g); 6265 }), tt; 6266 } 6267 function rl(d, o, h, g, b) { 6268 var $ = h._reactRootContainer; 6269 if ($) { 6270 var _e = $; 6271 if (typeof b == "function") { 6272 var et = b; 6273 b = function() { 6274 var tt = gl(_e); 6275 et.call(tt); 6276 }; 6277 } 6278 fl(o, _e, d, b); 6279 } else _e = ql(h, o, d, b, g); 6280 return gl(_e); 6281 } 6282 Ec = function(d) { 6283 switch (d.tag) { 6284 case 3: 6285 var o = d.stateNode; 6286 if (o.current.memoizedState.isDehydrated) { 6287 var h = tc(o.pendingLanes); 6288 h !== 0 && (Cc(o, h | 1), Dk(o, B()), !(K & 6) && (Gj = B() + 500, jg())); 6289 } 6290 break; 6291 case 13: 6292 Rk(function() { 6293 var g = ih(d, 1); 6294 if (g !== null) { 6295 var b = R(); 6296 gi(g, d, 1, b); 6297 } 6298 }), il(d, 1); 6299 } 6300 }; 6301 Fc = function(d) { 6302 if (d.tag === 13) { 6303 var o = ih(d, 134217728); 6304 if (o !== null) { 6305 var h = R(); 6306 gi(o, d, 134217728, h); 6307 } 6308 il(d, 134217728); 6309 } 6310 }; 6311 Gc = function(d) { 6312 if (d.tag === 13) { 6313 var o = yi(d), h = ih(d, o); 6314 if (h !== null) { 6315 var g = R(); 6316 gi(h, d, o, g); 6317 } 6318 il(d, o); 6319 } 6320 }; 6321 Hc = function() { 6322 return C; 6323 }; 6324 Ic = function(d, o) { 6325 var h = C; 6326 try { 6327 return C = d, o(); 6328 } finally { 6329 C = h; 6330 } 6331 }; 6332 yb = function(d, o, h) { 6333 switch (o) { 6334 case "input": 6335 if (bb(d, h), o = h.name, h.type === "radio" && o != null) { 6336 for (h = d; h.parentNode; ) h = h.parentNode; 6337 for (h = h.querySelectorAll("input[name=" + JSON.stringify("" + o) + '][type="radio"]'), o = 0; o < h.length; o++) { 6338 var g = h[o]; 6339 if (g !== d && g.form === d.form) { 6340 var b = Db(g); 6341 if (!b) throw Error(p(90)); 6342 Wa(g), bb(g, b); 6343 } 6344 } 6345 } 6346 break; 6347 case "textarea": 6348 ib(d, h); 6349 break; 6350 case "select": 6351 o = h.value, o != null && fb(d, !!h.multiple, o, false); 6352 } 6353 }; 6354 Gb = Qk; 6355 Hb = Rk; 6356 var sl = { 6357 usingClientEntryPoint: false, 6358 Events: [ 6359 Cb, 6360 ue, 6361 Db, 6362 Eb, 6363 Fb, 6364 Qk 6365 ] 6366 }, tl = { 6367 findFiberByHostInstance: Wc, 6368 bundleType: 0, 6369 version: "18.3.1", 6370 rendererPackageName: "react-dom" 6371 }, ul = { 6372 bundleType: tl.bundleType, 6373 version: tl.version, 6374 rendererPackageName: tl.rendererPackageName, 6375 rendererConfig: tl.rendererConfig, 6376 overrideHookState: null, 6377 overrideHookStateDeletePath: null, 6378 overrideHookStateRenamePath: null, 6379 overrideProps: null, 6380 overridePropsDeletePath: null, 6381 overridePropsRenamePath: null, 6382 setErrorHandler: null, 6383 setSuspenseHandler: null, 6384 scheduleUpdate: null, 6385 currentDispatcherRef: ua$2.ReactCurrentDispatcher, 6386 findHostInstanceByFiber: function(d) { 6387 return d = Zb(d), d === null ? null : d.stateNode; 6388 }, 6389 findFiberByHostInstance: tl.findFiberByHostInstance || jl, 6390 findHostInstancesForRefresh: null, 6391 scheduleRefresh: null, 6392 scheduleRoot: null, 6393 setRefreshHandler: null, 6394 getCurrentFiber: null, 6395 reconcilerVersion: "18.3.1-next-f1338f8080-20240426" 6396 }; 6397 if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") { 6398 var vl = __REACT_DEVTOOLS_GLOBAL_HOOK__; 6399 if (!vl.isDisabled && vl.supportsFiber) try { 6400 kc = vl.inject(ul), lc = vl; 6401 } catch (e2) { 6402 } 6403 }
6404 reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = sl; 6405 reactDom_production_min.createPortal = function(d, o) { 6406 var h = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; 6407 if (!nl(o)) throw Error(p(200)); 6408 return cl(d, o, null, h); 6409 }; 6410 reactDom_production_min.createRoot = function(d, o) { 6411 if (!nl(d)) throw Error(p(299)); 6412 var h = false, g = "", b = kl; 6413 return o != null && (o.unstable_strictMode === true && (h = true), o.identifierPrefix !== void 0 && (g = o.identifierPrefix), o.onRecoverableError !== void 0 && (b = o.onRecoverableError)), o = bl(d, 1, false, null, null, h, false, g, b), d[uf] = o.current, sf(d.nodeType === 8 ? d.parentNode : d), new ll(o); 6414 }; 6415 reactDom_production_min.findDOMNode = function(d) { 6416 if (d == null) return null; 6417 if (d.nodeType === 1) return d; 6418 var o = d._reactInternals; 6419 if (o === void 0) throw typeof d.render == "function" ? Error(p(188)) : (d = Object.keys(d).join(","), Error(p(268, d))); 6420 return d = Zb(o), d = d === null ? null : d.stateNode, d; 6421 }; 6422 reactDom_production_min.flushSync = function(d) { 6423 return Rk(d); 6424 }; 6425 reactDom_production_min.hydrate = function(d, o, h) { 6426 if (!ol(o)) throw Error(p(200)); 6427 return rl(null, d, o, true, h); 6428 }; 6429 reactDom_production_min.hydrateRoot = function(d, o, h) { 6430 if (!nl(d)) throw Error(p(405)); 6431 var g = h != null && h.hydratedSources || null, b = false, $ = "", _e = kl; 6432 if (h != null && (h.unstable_strictMode === true && (b = true), h.identifierPrefix !== void 0 && ($ = h.identifierPrefix), h.onRecoverableError !== void 0 && (_e = h.onRecoverableError)), o = el(o, null, d, 1, h != null ? h : null, b, false, $, _e), d[uf] = o.current, sf(d), g) for (d = 0; d < g.length; d++) h = g[d], b = h._getVersion, b = b(h._source), o.mutableSourceEagerHydrationData == null ? o.mutableSourceEagerHydrationData = [ 6433 h, 6434 b 6435 ] : o.mutableSourceEagerHydrationData.push(h, b); 6436 return new ml(o); 6437 }; 6438 reactDom_production_min.render = function(d, o, h) { 6439 if (!ol(o)) throw Error(p(200)); 6440 return rl(null, d, o, false, h); 6441 }; 6442 reactDom_production_min.unmountComponentAtNode = function(d) { 6443 if (!ol(d)) throw Error(p(40)); 6444 return d._reactRootContainer ? (Rk(function() { 6445 rl(null, null, d, false, function() { 6446 d._reactRootContainer = null, d[uf] = null; 6447 }); 6448 }), true) : false; 6449 }; 6450 reactDom_production_min.unstable_batchedUpdates = Qk; 6451 reactDom_production_min.unstable_renderSubtreeIntoContainer = function(d, o, h, g) { 6452 if (!ol(h)) throw Error(p(200)); 6453 if (d == null || d._reactInternals === void 0) throw Error(p(38)); 6454 return rl(d, o, h, false, g); 6455 }; 6456 reactDom_production_min.version = "18.3.1-next-f1338f8080-20240426"; 6457 function checkDCE() { 6458 if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try { 6459 __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); 6460 } catch (d) { 6461 console.error(d); 6462 } 6463 } 6464 checkDCE(), reactDom.exports = reactDom_production_min; 6465 var reactDomExports = reactDom.exports, createRoot, m = reactDomExports; 6466 createRoot = client.createRoot = m.createRoot, client.hydrateRoot = m.hydrateRoot; 6467 var dist = {}; 6468 Object.defineProperty(dist, "__esModule", { 6469 value: true 6470 }); 6471 dist.parse = parse; 6472 dist.serialize = serialize; 6473 const cookieNameRegExp = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, cookieValueRegExp = /^[\u0021-\u003A\u003C-\u007E]*$/, domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, pathValueRegExp = /^[\u0020-\u003A\u003D-\u007E]*$/, __toString = Object.prototype.toString, NullObject = (() => { 6474 const d = function() { 6475 }; 6476 return d.prototype = /* @__PURE__ */ Object.create(null), d; 6477 })(); 6478 function parse(d, o) { 6479 const h = new NullObject(), g = d.length; 6480 if (g < 2) return h; 6481 const b = (o == null ? void 0 : o.decode) || decode; 6482 let $ = 0; 6483 do { 6484 const _e = d.indexOf("=", $); 6485 if (_e === -1) break; 6486 const et = d.indexOf(";", $), tt = et === -1 ? g : et; 6487 if (_e > tt) { 6488 $ = d.lastIndexOf(";", _e - 1) + 1; 6489 continue; 6490 } 6491 const rt = startIndex(d, $, _e), nt = endIndex(d, _e, rt), st = d.slice(rt, nt); 6492 if (h[st] === void 0) { 6493 let ot = startIndex(d, _e + 1, tt), it = endIndex(d, tt, ot); 6494 const at = b(d.slice(ot, it)); 6495 h[st] = at; 6496 } 6497 $ = tt + 1; 6498 } while ($ < g); 6499 return h; 6500 } 6501 function startIndex(d, o, h) { 6502 do { 6503 const g = d.charCodeAt(o); 6504 if (g !== 32 && g !== 9) return o; 6505 } while (++o < h); 6506 return h; 6507 } 6508 function endIndex(d, o, h) { 6509 for (; o > h; ) { 6510 const g = d.charCodeAt(--o); 6511 if (g !== 32 && g !== 9) return o + 1; 6512 } 6513 return h; 6514 } 6515 function serialize(d, o, h) { 6516 const g = (h == null ? void 0 : h.encode) || encodeURIComponent; 6517 if (!cookieNameRegExp.test(d)) throw new TypeError("argument name is invali
6517d: ".concat(d)); 6518 const b = g(o); 6519 if (!cookieValueRegExp.test(b)) throw new TypeError("argument val is invalid: ".concat(o)); 6520 let $ = d + "=" + b; 6521 if (!h) return $; 6522 if (h.maxAge !== void 0) { 6523 if (!Number.isInteger(h.maxAge)) throw new TypeError("option maxAge is invalid: ".concat(h.maxAge)); 6524 $ += "; Max-Age=" + h.maxAge; 6525 } 6526 if (h.domain) { 6527 if (!domainValueRegExp.test(h.domain)) throw new TypeError("option domain is invalid: ".concat(h.domain)); 6528 $ += "; Domain=" + h.domain; 6529 } 6530 if (h.path) { 6531 if (!pathValueRegExp.test(h.path)) throw new TypeError("option path is invalid: ".concat(h.path)); 6532 $ += "; Path=" + h.path; 6533 } 6534 if (h.expires) { 6535 if (!isDate(h.expires) || !Number.isFinite(h.expires.valueOf())) throw new TypeError("option expires is invalid: ".concat(h.expires)); 6536 $ += "; Expires=" + h.expires.toUTCString(); 6537 } 6538 if (h.httpOnly && ($ += "; HttpOnly"), h.secure && ($ += "; Secure"), h.partitioned && ($ += "; Partitioned"), h.priority) switch (typeof h.priority == "string" ? h.priority.toLowerCase() : void 0) { 6539 case "low": 6540 $ += "; Priority=Low"; 6541 break; 6542 case "medium": 6543 $ += "; Priority=Medium"; 6544 break; 6545 case "high": 6546 $ += "; Priority=High"; 6547 break; 6548 default:
6549 throw new TypeError("option priority is invalid: ".concat(h.priority)); 6550 } 6551 if (h.sameSite) switch (typeof h.sameSite == "string" ? h.sameSite.toLowerCase() : h.sameSite) { 6552 case true: 6553 case "strict": 6554 $ += "; SameSite=Strict"; 6555 break; 6556 case "lax": 6557 $ += "; SameSite=Lax"; 6558 break; 6559 case "none": 6560 $ += "; SameSite=None"; 6561 break; 6562 default: 6563 throw new TypeError("option sameSite is invalid: ".concat(h.sameSite)); 6564 } 6565 return $; 6566 } 6567 function decode(d) { 6568 if (d.indexOf("%") === -1) return d; 6569 try { 6570 return decodeURIComponent(d); 6571 } catch (e2) { 6572 return d; 6573 } 6574 } 6575 function isDate(d) { 6576 return __toString.call(d) === "[object Date]"; 6577 } 6578 var __typeError = (d) => { 6579 throw TypeError(d); 6580 }, __accessCheck = (d, o, h) => o.has(d) || __typeError("Cannot " + h), __privateGet = (d, o, h) => (__accessCheck(d, o, "read from private field"), h ? h.call(d) : o.get(d)), __privateAdd = (d, o, h) => o.has(d) ? __typeError("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(d) : o.set(d, h), PopStateEventType = "popstate"; 6581 function createBrowserHistory(d = {}) { 6582 function o(g, b) { 6583 let { pathname: $, search: _e, hash: et } = g.location; 6584 return createLocation("", { 6585 pathname: $, 6586 search: _e, 6587 hash: et 6588 }, b.state && b.state.usr || null, b.state && b.state.key || "default"); 6589 } 6590 function h(g, b) { 6591 return typeof b == "string" ? b : createPath(b); 6592 } 6593 return getUrlBasedHistory(o, h, null, d); 6594 } 6595 function invariant$1(d, o) { 6596 if (d === false || d === null || typeof d > "u") throw new Error(o); 6597 } 6598 function warning(d, o) { 6599 if (!d) { 6600 typeof console < "u" && console.warn(o); 6601 try { 6602 throw new Error(o); 6603 } catch (e2) { 6604 } 6605 } 6606 } 6607 function createKey() { 6608 return Math.random().toString(36).substring(2, 10); 6609 } 6610 function getHistoryState(d, o) { 6611 return { 6612 usr: d.state, 6613 key: d.key, 6614 idx: o 6615 }; 6616 } 6617 function createLocation(d, o, h = null, g) { 6618 return { 6619 pathname: typeof d == "string" ? d : d.pathname, 6620 search: "", 6621 hash: "", 6622 ...typeof o == "string" ? parsePath(o) : o, 6623 state: h, 6624 key: o && o.key || g || createKey() 6625 }; 6626 } 6627 function createPath({ pathname: d = "/", search: o = "", hash: h = "" }) { 6628 return o && o !== "?" && (d += o.charAt(0) === "?" ? o : "?" + o), h && h !== "#" && (d += h.charAt(0) === "#" ? h : "#" + h), d; 6629 } 6630 function parsePath(d) { 6631 let o = {}; 6632 if (d) { 6633 let h = d.indexOf("#"); 6634 h >= 0 && (o.hash = d.substring(h), d = d.substring(0, h)); 6635 let g = d.indexOf("?"); 6636 g >= 0 && (o.search = d.substring(g), d = d.substring(0, g)), d && (o.pathname = d); 6637 } 6638 return o; 6639 } 6640 function getUrlBasedHistory(d, o, h, g = {}) { 6641 let { window: b = document.defaultView, v5Compat: $ = false } = g, _e = b.history, et = "POP", tt = null, rt = nt(); 6642 rt == null && (rt = 0, _e.replaceState({ 6643 ..._e.state, 6644 idx: rt 6645 }, "")); 6646 function nt() { 6647 return (_e.state || { 6648 idx: null 6649 }).idx; 6650 } 6651 function st() { 6652 et = "POP"; 6653 let ct = nt(), ut = ct == null ? null : ct - rt; 6654 rt = ct, tt && tt({ 6655 action: et, 6656 location: lt.location, 6657 delta: ut 6658 }); 6659 } 6660 function ot(ct, ut) { 6661 et = "PUSH"; 6662 let ft = createLocation(lt.location, ct, ut); 6663 rt = nt() + 1; 6664 let dt = getHistoryState(ft, rt), pt = lt.createHref(ft); 6665 try { 6666 _e.pushState(dt, "", pt); 6667 } catch (ht) { 6668 if (ht instanceof DOMException && ht.name === "DataCloneError") throw ht; 6669 b.location.assign(pt); 6670 } 6671 $ && tt && tt({ 6672 action: et, 6673 location: lt.location, 6674 delta: 1 6675 }); 6676 } 6677 function it(ct, ut) { 6678 et = "REPLACE"; 6679 let ft = createLocation(lt.location, ct, ut); 6680 rt = nt(); 6681 let dt = getHistoryState(ft, rt), pt = lt.createHref(ft); 6682 _e.replaceState(dt, "", pt), $ && tt && tt({ 6683 action: et, 6684 location: lt.location, 6685 delta: 0 6686 }); 6687 } 6688 function at(ct) { 6689 return createBrowserURLImpl(ct); 6690 } 6691 let lt = { 6692 get action() { 6693 return et; 6694 }, 6695 get location() { 6696 return d(b, _e); 6697 }, 6698 listen(ct) { 6699 if (tt) throw new Error("A history only accepts one active listener"); 6700 return b.addEventListener(PopStateEventType, st), tt = ct, () => { 6701 b.removeEventListener(PopStateEventType, st), tt = null; 6702 }; 6703 }, 6704 createHref(ct) { 6705 return o(b, ct); 6706 }, 6707 createURL: at, 6708 encodeLocation(ct) { 6709 let ut = at(ct); 6710 return { 6711 pathname: ut.pathname, 6712 search: ut.search, 6713 hash: ut.hash 6714 }; 6715 }, 6716 push: ot, 6717 replace: it, 6718 go(ct) { 6719 return _e.go(ct); 6720 } 6721 }; 6722 return lt; 6723 } 6724 function createBrowserURLImpl(d, o = false) { 6725 let h = "http://localhost"; 6726 typeof window < "u" && (h = window.location.origin !== "null" ? window.location.origin : window.location.href), invariant$1(h, "No window.location.(origin|href) available to create URL"); 6727 let g = typeof d == "string" ? d : createPath(d); 6728 return g = g.replace(/ $/, "%20"), !o && g.startsWith("//") && (g = h + g), new URL(g, h); 6729 } 6730 var _map, unstable_RouterContextProvider = class { 6731 constructor(d) {
6732 if (__privateAdd(this, _map, /* @__PURE__ */ new Map()), d) for (let [o, h] of d) this.set(o, h); 6733 } 6734 get(d) { 6735 if (__privateGet(this, _map).has(d)) return __privateGet(this, _map).get(d); 6736 if (d.defaultValue !== void 0) return d.defaultValue; 6737 throw new Error("No value found for context"); 6738 } 6739 set(d, o) { 6740 __privateGet(this, _map).set(d, o); 6741 } 6742 }; 6743 _map = /* @__PURE__ */ new WeakMap(); 6744 var unsupportedLazyRouteObjectKeys = /* @__PURE__ */ new Set([ 6745 "lazy", 6746 "caseSensitive", 6747 "path", 6748 "id", 6749 "index", 6750 "children" 6751 ]); 6752 function isUnsupportedLazyRouteObjectKey(d) { 6753 return unsupportedLazyRouteObjectKeys.has(d); 6754 } 6755 var unsupportedLazyRouteFunctionKeys = /* @__PURE__ */ new Set([ 6756 "lazy", 6757 "caseSensitive", 6758 "path", 6759 "id", 6760 "index", 6761 "unstable_middleware", 6762 "children" 6763 ]); 6764 function isUnsupportedLazyRouteFunctionKey(d) { 6765 return unsupportedLazyRouteFunctionKeys.has(d); 6766 } 6767 function isIndexRoute(d) { 6768 return d.index === true; 6769 } 6770 function convertRoutesToDataRoutes(d, o, h = [], g = {}) { 6771 return d.map((b, $) => { 6772 let _e = [ 6773 ...h, 6774 String($) 6775 ], et = typeof b.id == "string" ? b.id : _e.join("-"); 6776 if (invariant$1(b.index !== true || !b.children, "Cannot specify children on an index route"), invariant$1(!g[et], 'Found a route id collision on i
6776d "'.concat(et, "\". Route id's must be globally unique within Data Router usages")), isIndexRoute(b)) { 6777 let tt = { 6778 ...b, 6779 ...o(b), 6780 id: et 6781 }; 6782 return g[et] = tt, tt; 6783 } else { 6784 let tt = { 6785 ...b, 6786 ...o(b), 6787 id: et, 6788 children: void 0 6789 }; 6790 return g[et] = tt, b.children && (tt.children = convertRoutesToDataRoutes(b.children, o, _e, g)), tt; 6791 } 6792 }); 6793 } 6794 function matchRoutes(d, o, h = "/") { 6795 return matchRoutesImpl(d, o, h, false); 6796 } 6797 function matchRoutesImpl(d, o, h, g) { 6798 let b = typeof o == "string" ? parsePath(o) : o, $ = stripBasename(b.pathname || "/", h); 6799 if ($ == null) return null; 6800 let _e = flattenRoutes(d); 6801 rankRouteBranches(_e); 6802 let et = null; 6803 for (let tt = 0; et == null && tt < _e.length; ++tt) { 6804 let rt = decodePath($); 6805 et = matchRouteBranch(_e[tt], rt, g); 6806 } 6807 return et; 6808 } 6809 function convertRouteMatchToUiMatch(d, o) { 6810 let { route: h, pathname: g, params: b } = d; 6811 return { 6812 id: h.id, 6813 pathname: g, 6814 params: b, 6815 data: o[h.id], 6816 handle: h.handle 6817 }; 6818 } 6819 function flattenRoutes(d, o = [], h = [], g = "") { 6820 let b = ($, _e, et) => { 6821 let tt = { 6822 relativePath: et === void 0 ? $.path || "" : et, 6823 caseSensitive: $.caseSensitive === true, 6824 childrenIndex: _e, 6825 route: $ 6826 }; 6827 tt.relativePath.startsWith("/") && (invariant$1(tt.relativePath.startsWith(g), 'Absolute route path "'.concat(tt.relativePath, '" nested under path "').concat(g, '" is not valid. An absolute child route path must start with the combined path of all its parent routes.')), tt.relativePath = tt.relativePath.slice(g.length)); 6828 let rt = joinPaths([ 6829 g, 6830 tt.relativePath 6831 ]), nt = h.concat(tt); 6832 $.children && $.children.length > 0 && (invariant$1($.index !== true, 'Index routes must not have child routes. Please remove all child routes from route path "'.concat(rt, '".')), flattenRoutes($.children, o, nt, rt)), !($.path == null && !$.index) && o.push({ 6833 path: rt, 6834 score: computeScore(rt, $.index), 6835 routesMeta: nt 6836 }); 6837 }; 6838 return d.forEach(($, _e) => { 6839 var _a; 6840 if ($.path === "" || !((_a = $.path) == null ? void 0 : _a.includes("?"))) b($, _e); 6841 else for (let et of explodeOptionalSegments($.path)) b($, _e, et); 6842 }), o; 6843 } 6844 function explodeOptionalSegments(d) { 6845 let o = d.split("/"); 6846 if (o.length === 0) return []; 6847 let [h, ...g] = o, b = h.endsWith("?"), $ = h.replace(/\?$/, ""); 6848 if (g.length === 0) return b ? [ 6849 $, 6850 "" 6851 ] : [ 6852 $ 6853 ]; 6854 let _e = explodeOptionalSegments(g.join("/")), et = []; 6855 return et.push(..._e.map((tt) => tt === "" ? $ : [ 6856 $, 6857 tt 6858 ].join("/"))), b && et.push(..._e), et.map((tt) => d.startsWith("/") && tt === "" ? "/" : tt); 6859 } 6860 function rankRouteBranches(d) { 6861 d.sort((o, h) => o.score !== h.score ? h.score - o.score : compareIndexes(o.routesMeta.map((g) => g.childrenIndex), h.routesMeta.map((g) => g.childrenIndex))); 6862 } 6863 var paramRe = /^:[\w-]+$/, dynamicSegmentValue = 3, indexRouteValue = 2, emptySegmentValue = 1, staticSegmentValue = 10, splatPenalty = -2, isSplat = (d) => d === "*"; 6864 function computeScore(d, o) { 6865 let h = d.split("/"), g = h.length; 6866 return h.some(isSplat) && (g += splatPenalty), o && (g += indexRouteValue), h.filter((b) => !isSplat(b)).reduce((b, $) => b + (paramRe.test($) ? dynamicSegmentValue : $ === "" ? emptySegmentValue : staticSegmentValue), g); 6867 } 6868 function compareIndexes(d, o) { 6869 return d.length === o.length && d.slice(0, -1).every((g, b) => g === o[b]) ? d[d.length - 1] - o[o.length - 1] : 0; 6870 } 6871 function matchRouteBranch(d, o, h = false) { 6872 let { routesMeta: g } = d, b = {}, $ = "/", _e = []; 6873 for (let et = 0; et < g.length; ++et) { 6874 let tt = g[et], rt = et === g.length - 1, nt = $ === "/" ? o : o.slice($.length) || "/", st = matchPath({ 6875 path: tt.relativePath, 6876 caseSensitive: tt.caseSensitive, 6877 end: rt 6878 }, nt), ot = tt.route; 6879 if (!st && rt && h && !g[g.length - 1].route.index && (st = matchPath({ 6880 path: tt.relativePath, 6881 caseSensitive: tt.caseSensitive, 6882 end: false 6883 }, nt)), !st) return null; 6884 Object.assign(b, st.params), _e.push({ 6885 params: b, 6886 pathname: joinPaths([ 6887 $, 6888 st.pathname 6889 ]), 6890 pathnameBase: normalizePathname(joinPaths([ 6891 $, 6892 st.pathnameBase 6893 ])), 6894 route: ot 6895 }), st.pathnameBase !== "/" && ($ = joinPaths([ 6896 $, 6897 st.pathnameBase 6898 ])); 6899 } 6900 return _e; 6901 } 6902 function matchPath(d, o) { 6903 typeof d == "string" && (d = { 6904 path: d, 6905 caseSensitive: false, 6906 end: true 6907 }); 6908 let [h, g] = compilePath(d.path, d.caseSensitive, d.end), b = o.match(h); 6909 if (!b) return null; 6910 let $ = b[0], _e = $.replace(/(.)\/+$/, "$1"), et = b.slice(1); 6911 return { 6912 params: g.reduce((rt, { paramName: nt, isOptional: st }, ot) => { 6913 if (nt === "*") { 6914 let at = et[ot] || ""; 6915 _e = $.slice(0, $.length - at.length).replace(/(.)\/+$/, "$1"); 6916 } 6917 const it = et[ot]; 6918 return st && !it ? rt[nt] = void 0 : rt[nt] = (it || "").replace(/%2F/g, "/"), rt; 6919 }, {}), 6920 pathname: $, 6921 pathnameBase: _e, 6922 pattern: d 6923 }; 6924 } 6925 function compilePath(d, o = false, h = true) { 6926 warning(d === "*" || !d.endsWith("*") || d.endsWith("/*"), 'Route path "'.concat(d, '" will be treated as if it were "').concat(d.replace(/\*$/, "/*"), '" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "').concat(d.replace(/\*$/, "/*"), '".')); 6927 let g = [], b = "^" + d.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}
6927|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (_e, et, tt) => (g.push({ 6928 paramName: et, 6929 isOptional: tt != null 6930 }), tt ? "/?([^\\/]+)?" : "/([^\\/]+)")); 6931 return d.endsWith("*") ? (g.push({ 6932 paramName: "*" 6933 }), b += d === "*" || d === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : h ? b += "\\/*$" : d !== "" && d !== "/" && (b += "(?:(?=\\/|$))"), [ 6934 new RegExp(b, o ? void 0 : "i"), 6935 g 6936 ]; 6937 } 6938 function decodePath(d) { 6939 try { 6940 return d.split("/").map((o) => decodeURIComponent(o).replace(/\//g, "%2F")).join("/"); 6941 } catch (o) { 6942 return warning(false, 'The URL path "'.concat(d, '" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (').concat(o, ").")), d; 6943 } 6944 } 6945 function stripBasename(d, o) { 6946 if (o === "/") return d; 6947 if (!d.toLowerCase().startsWith(o.toLowerCase())) return null; 6948 let h = o.endsWith("/") ? o.length - 1 : o.length, g = d.charAt(h); 6949 return g && g !== "/" ? null : d.slice(h) || "/"; 6950 } 6951 function resolvePath(d, o = "/") { 6952 let { pathname: h, search: g = "", hash: b = "" } = typeof d == "string" ? parsePath(d) : d; 6953 return { 6954 pathname: h ? h.startsWith("/") ? h : resolvePathname(h, o) : o, 6955 search: normalizeSearch(g), 6956 hash: normalizeHash(b) 6957 }; 6958 } 6959 function resolvePathname(d, o) { 6960 let h = o.replace(/\/+$/, "").split("/"); 6961 return d.split("/").forEach((b) => { 6962 b === ".." ? h.length > 1 && h.pop() : b !== "." && h.push(b); 6963 }), h.length > 1 ? h.join("/") : "/"; 6964 } 6965 function getInvalidPathError(d, o, h, g) { 6966 return "Cannot include a '".concat(d, "' character in a manually specified `to.").concat(o, "` field [").concat(JSON.stringify(g), "]. Please separate it out to the `to.").concat(h, '` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'); 6967 } 6968 function getPathContributingMatches(d) { 6969 return d.filter((o, h) => h === 0 || o.route.path && o.route.path.length > 0); 6970 } 6971 function getResolveToMatches(d) { 6972 let o = getPathContributingMatches(d); 6973 return o.map((h, g) => g === o.length - 1 ? h.pathname : h.pathnameBase); 6974 } 6975 function resolveTo(d, o, h, g = false) { 6976 let b; 6977 typeof d == "string" ? b = parsePath(d) : (b = { 6978 ...d 6979 }, invariant$1(!b.pathname || !b.pathname.includes("?"), getInvalidPathError("?", "pathname", "search", b)), invariant$1(!b.pathname || !b.pathname.includes("#"), getInvalidPathError("#", "pathname", "hash", b)), invariant$1(!b.search || !b.search.includes("#"), getInvalidPathError("#", "search", "hash", b))); 6980 let $ = d === "" || b.pathname === "", _e = $ ? "/" : b.pathname, et; 6981 if (_e == null) et = h; 6982 else { 6983 let st = o.length - 1; 6984 if (!g && _e.startsWith("..")) { 6985 let ot = _e.split("/"); 6986 for (; ot[0] === ".."; ) ot.shift(), st -= 1; 6987 b.pathname = ot.join("/"); 6988 } 6989 et = st >= 0 ? o[st] : "/"; 6990 } 6991 let tt = resolvePath(b, et), rt = _e && _e !== "/" && _e.endsWith("/"), nt = ($ || _e === ".") && h.endsWith("/"); 6992 return !tt.pathname.endsWith("/") && (rt || nt) && (tt.pathname += "/"), tt; 6993 } 6994 var joinPaths = (d) => d.join("/").replace(/\/\/+/g, "/"), normalizePathname = (d) => d.replace(/\/+$/, "").replace(/^\/*/, "/"), normalizeSearch = (d) => !d || d === "?" ? "" : d.startsWith("?") ? d : "?" + d, normalizeHash = (d) => !d || d === "#" ? "" : d.startsWith("#") ? d : "#" + d, redirect = (d, o = 302) => { 6995 let h = o; 6996 typeof h == "number" ? h = { 6997 status: h 6998 } : typeof h.status > "u" && (h.status = 302); 6999 let g = new Headers(h.headers); 7000 return g.set("Location", d), new Response(null, { 7001 ...h, 7002 headers: g 7003 }); 7004 }, ErrorResponseImpl = class { 7005 constructor(d, o, h, g = false) { 7006 this.status = d, this.statusText = o || "", this.internal = g, h instanceof Error ? (this.data = h.toString(), this.error = h) : this.data = h; 7007 } 7008 }; 7009 function isRouteErrorResponse(d) { 7010 return d != null && typeof d.status == "number" && typeof d.statusText == "string" && typeof d.internal == "boolean" && "data" in d; 7011 }
7012 var validMutationMethodsArr = [ 7013 "POST", 7014 "PUT", 7015 "PATCH", 7016 "DELETE" 7017 ], validMutationMethods = new Set(validMutationMethodsArr), validRequestMethodsArr = [ 7018 "GET", 7019 ...validMutationMethodsArr 7020 ], validRequestMethods = new Set(validRequestMethodsArr), redirectStatusCodes = /* @__PURE__ */ new Set([ 7021 301, 7022 302, 7023 303, 7024 307, 7025 308 7026 ]), redirectPreserveMethodStatusCodes = /* @__PURE__ */ new Set([ 7027 307, 7028 308 7029 ]), IDLE_NAVIGATION = { 7030 state: "idle", 7031 location: void 0, 7032 formMethod: void 0, 7033 formAction: void 0, 7034 formEncType: void 0, 7035 formData: void 0, 7036 json: void 0, 7037 text: void 0 7038 }, IDLE_FETCHER = { 7039 state: "idle", 7040 data: void 0, 7041 formMethod: void 0, 7042 formAction: void 0, 7043 formEncType: void 0, 7044 formData: void 0, 7045 json: void 0, 7046 text: void 0 7047 }, IDLE_BLOCKER = { 7048 state: "unblocked", 7049 proceed: void 0, 7050 reset: void 0, 7051 location: void 0 7052 }, ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, defaultMapRouteProperties = (d) => ({ 7053 hasErrorBoundary: !!d.hasErrorBoundary 7054 }), TRANSITIONS_STORAGE_KEY = "remix-router-transitions", ResetLoaderDataSymbol = Symbol("ResetLoaderData"); 7055 function createRouter(d) { 7056 const o = d.window ? d.window : typeof window < "u" ? window : void 0, h = typeof o < "u" && typeof o.document < "u" && typeof o.document.createElement < "u"; 7057 invariant$1(d.routes.length > 0, "You must provide a non-empty routes array to createRouter"); 7058 let g = d.hydrationRouteProperties || [], b = d.mapRouteProperties || defaultMapRouteProperties, $ = {}, _e = convertRoutesToDataRoutes(d.routes, b, void 0, $), et, tt = d.basename || "/", rt = d.dataStrategy || defaultDataStrategyWithMiddleware, nt = { 7059 unstable_middleware: false, 7060 ...d.future 7061 }, st = null, ot = /* @__PURE__ */ new Set(), it = null, at = null, lt = null, ct = d.hydrationData != null, ut = matchRoutes(_e, d.history.location, tt), ft = false, dt = null, pt; 7062 if (ut == null && !d.patchRoutesOnNavigation) { 7063 let vt = getInternalRouterError(404, { 7064 pathname: d.history.location.pathname 7065 }), { matches: wt, route: Ct } = getShortCircuitMatches(_e); 7066 pt = true, ut = wt, dt = { 7067 [Ct.id]: vt 7068 }; 7069 } else if (ut && !d.hydrationData && fn(ut, _e, d.history.location.pathname).active && (ut = null), ut) if (ut.some((vt) => vt.route.lazy)) pt = false; 7070 else if (!ut.some((vt) => vt.route.loader)) pt = true; 7071 else { 7072 let vt = d.hydrationData ? d.hydrationData.loaderData : null, wt = d.hydrationData ? d.hydrationData.errors : null; 7073 if (wt) { 7074 let Ct = ut.findIndex((jt) => wt[jt.route.id] !== void 0); 7075 pt = ut.slice(0, Ct + 1).every((jt) => !shouldLoadRouteOnHydration(jt.route, vt, wt)); 7076 } else pt = ut.every((Ct) => !shouldLoadRouteOnHydration(Ct.route, vt, wt)); 7077 } 7078 else { 7079 pt = false, ut = []; 7080 let vt = fn(null, _e, d.history.location.pathname); 7081 vt.active && vt.matches && (ft = true, ut = vt.matches); 7082 } 7083 let ht, mt = { 7084 historyAction: d.history.action, 7085 location: d.history.location, 7086 matches: ut, 7087 initialized: pt, 7088 navigation: IDLE_NAVIGATION, 7089 restoreScrollPosition: d.hydrationData != null ? false : null, 7090 preventScrollReset: false, 7091 revalidation: "idle", 7092 loaderData: d.hydrationData && d.hydrationData.loaderData || {}, 7093 actionData: d.hydrationData && d.hydrationData.actionData || null, 7094 errors: d.hydrationData && d.hydrationData.errors || dt, 7095 fetchers: /* @__PURE__ */ new Map(), 7096 blockers: /* @__PURE__ */ new Map() 7097 }, gt = "POP", yt = false, xt, _t = false, St = /* @__PURE__ */ new Map(), kt = null, Rt = false, Tt = false, Yt = /* @__PURE__ */ new Set(), Dt = /* @__PURE__ */ new Map(), Ot = 0, Mt = -1, Vt = /* @__PURE__ */ new Map(), Et = /* @__PURE__ */ new Set(), Ht = /* @__PURE__ */ new Map(), Kt = /* @__PURE__ */ new Map(), ir = /* @__PURE__ */ new Set(), sr = /* @__PURE__ */ new Map(), Er, $t = null; 7098 function pr() { 7099 if (st = d.history.listen(({ action: vt, location: wt, delta: Ct }) => { 7100 if (Er) { 7101 Er(), Er = void 0; 7102 return; 7103 } 7104 warning(sr.size === 0 || Ct != null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL."); 7105 let jt = dn({ 7106 currentLocation: mt.location, 7107 nextLocation: wt, 7108 historyAction: vt 7109 }); 7110 if (jt && Ct != null) { 7111 let Ut = new Promise((Lt) => { 7112 Er = Lt; 7113 }); 7114 d.history.go(Ct * -1), on(jt, { 7115 state: "blocked", 7116 location: wt, 7117 proceed() { 7118 on(jt, { 7119 state: "proceeding", 7120 proceed: void 0, 7121 reset: void 0, 7122 location: wt 7123 }), Ut.then(() => d.history.go(Ct)); 7124 }, 7125 reset() { 7126 let Lt = new Map(mt.blockers); 7127 Lt.set(jt, IDLE_BLOCKER), Tr({ 7128 blockers: Lt
7129 }); 7130 } 7131 }); 7132 return; 7133 } 7134 return yr(vt, wt); 7135 }), h) { 7136 restoreAppliedTransitions(o, St); 7137 let vt = () => persistAppliedTransitions(o, St); 7138 o.addEventListener("pagehide", vt), kt = () => o.removeEventListener("pagehide", vt); 7139 } 7140 return mt.initialized || yr("POP", mt.location, { 7141 initialHydration: true 7142 }), ht; 7143 } 7144 function fr() { 7145 st && st(), kt && kt(), ot.clear(), xt && xt.abort(), mt.fetchers.forEach((vt, wt) => br(wt)), mt.blockers.forEach((vt, wt) => en(wt)); 7146 } 7147 function Ur(vt) { 7148 return ot.add(vt), () => ot.delete(vt); 7149 } 7150 function Tr(vt, wt = {}) { 7151 mt = { 7152 ...mt, 7153 ...vt 7154 }; 7155 let Ct = [], jt = []; 7156 mt.fetchers.forEach((Ut, Lt) => { 7157 Ut.state === "idle" && (ir.has(Lt) ? Ct.push(Lt) : jt.push(Lt)); 7158 }), ir.forEach((Ut) => { 7159 !mt.fetchers.has(Ut) && !Dt.has(Ut) && Ct.push(Ut); 7160 }), [ 7161 ...ot 7162 ].forEach((Ut) => Ut(mt, { 7163 deletedFetchers: Ct, 7164 viewTransitionOpts: wt.viewTransitionOpts, 7165 flushSync: wt.flushSync === true 7166 })), Ct.forEach((Ut) => br(Ut)), jt.forEach((Ut) => mt.fetchers.delete(Ut)); 7167 } 7168 function Rr(vt, wt, { flushSync: Ct } = {}) { 7169 var _a, _b; 7170 let jt = mt.actionData != null && mt.navigation.formMethod != null && isMutationMethod(mt.navigation.formMethod) && mt.navigation.state === "loading" && ((_a = vt.state) == null ? void 0 : _a._isRedirect) !== true, Ut; 7171 wt.actionData ? Object.keys(wt.actionData).length > 0 ? Ut = wt.actionData : Ut = null : jt ? Ut = mt.actionData : Ut = null; 7172 let Lt = wt.loaderData ? mergeLoaderData(mt.loaderData, wt.loaderData, wt.matches || [], wt.errors) : mt.loaderData, Qt = mt.blockers; 7173 Qt.size > 0 && (Qt = new Map(Qt), Qt.forEach((Xt, tr) => Qt.set(tr, IDLE_BLOCKER))); 7174 let Wt = yt === true || mt.navigation.formMethod != null && isMutationMethod(mt.navigation.formMethod) && ((_b = vt.state) == null ? void 0 : _b._isRedirect) !== true; 7175 et && (_e = et, et = void 0), Rt || gt === "POP" || (gt === "PUSH" ? d.history.push(vt, vt.state) : gt === "REPLACE" && d.history.replace(vt, vt.state)); 7176 let Zt; 7177 if (gt === "POP") { 7178 let Xt = St.get(mt.location.pathname); 7179 Xt && Xt.has(vt.pathname) ? Zt = { 7180 currentLocation: mt.location, 7181 nextLocation: vt 7182 } : St.has(vt.pathname) && (Zt = { 7183 currentLocation: vt, 7184 nextLocation: mt.location 7185 }); 7186 } else if (_t) { 7187 let Xt = St.get(mt.location.pathname); 7188 Xt ? Xt.add(vt.pathname) : (Xt = /* @__PURE__ */ new Set([ 7189 vt.pathname 7190 ]), St.set(mt.location.pathname, Xt)), Zt = { 7191 currentLocation: mt.location, 7192 nextLocation: vt 7193 }; 7194 } 7195 Tr({ 7196 ...wt, 7197 actionData: Ut, 7198 loaderData: Lt, 7199 historyAction: gt, 7200 location: vt, 7201 initialized: true, 7202 navigation: IDLE_NAVIGATION, 7203 revalidation: "idle", 7204 restoreScrollPosition: an(vt, wt.matches || mt.matches), 7205 preventScrollReset: Wt, 7206 blockers: Qt 7207 }, { 7208 viewTransitionOpts: Zt, 7209 flushSync: Ct === true 7210 }), gt = "POP", yt = false, _t = false, Rt = false, Tt = false, $t == null ? void 0 : $t.resolve(), $t = null; 7211 } 7212 async function Or(vt, wt) { 7213 if (typeof vt == "number") { 7214 d.history.go(vt); 7215 return; 7216 } 7217 let Ct = normalizeTo(mt.location, mt.matches, tt, vt, wt == null ? void 0 : wt.fromRouteId, wt == null ? void 0 : wt.relative), { path: jt, submission: Ut, error: Lt } = normalizeNavigateOptions(false, Ct, wt), Qt = mt.location, Wt = createLocation(mt.location, jt, wt && wt.state); 7218 Wt = { 7219 ...Wt, 7220 ...d.history.encodeLocation(Wt) 7221 }; 7222 let Zt = wt && wt.replace != null ? wt.replace : void 0, Xt = "PUSH"; 7223 Zt === true ? Xt = "REPLACE" : Zt === false || Ut != null && isMutationMethod(Ut.formMethod) && Ut.formAction === mt.location.pathname + mt.location.search && (Xt = "REPLACE"); 7224 let tr = wt && "preventScrollReset" in wt ? wt.preventScrollReset === true : void 0, rr = (wt && wt.flushSync) === true, nr = dn({ 7225 currentLocation: Qt, 7226 nextLocation: Wt, 7227 historyAction: Xt 7228 }); 7229 if (nr) { 7230 on(nr, { 7231 state: "blocked", 7232 location: Wt, 7233 proceed() { 7234 on(nr, { 7235 state: "proceeding", 7236 proceed: void 0, 7237 reset: void 0, 7238 location: Wt 7239 }), Or(vt, wt); 7240 }, 7241 reset() { 7242 let cr = new Map(mt.blockers); 7243 cr.set(nr, IDLE_BLOCKER), Tr({ 7244 blockers: cr 7245 }); 7246 } 7247 }); 7248 return; 7249 } 7250 await yr(Xt, Wt, { 7251 submission: Ut, 7252 pendingError: Lt, 7253 preventScrollReset: tr, 7254 replace: wt && wt.replace, 7255 enableViewTransition: wt && wt.viewTransition, 7256 flushSync: rr 7257 }); 7258 } 7259 function Ar() { 7260 $t || ($t = createDeferred()), Nr(), Tr({ 7261 revalidation: "loading" 7262 }); 7263 let vt = $t.promise; 7264 return mt.navigation.state === "submitting" ? vt : mt.navigation.state === "i
7264dle" ? (yr(mt.historyAction, mt.location, { 7265 startUninterruptedRevalidation: true 7266 }), vt) : (yr(gt || mt.historyAction, mt.navigation.location, { 7267 overrideNavigation: mt.navigation, 7268 enableViewTransition: _t === true 7269 }), vt); 7270 } 7271 async function yr(vt, wt, Ct) { 7272 xt && xt.abort(), xt = null, gt = vt, Rt = (Ct && Ct.startUninterruptedRevalidation) === true, tn(mt.location, mt.matches), yt = (Ct && Ct.preventScrollReset) === true, _t = (Ct && Ct.enableViewTransition) === true; 7273 let jt = et || _e, Ut = Ct && Ct.overrideNavigation, Lt = (Ct == null ? void 0 : Ct.initialHydration) && mt.matches && mt.matches.length > 0 && !ft ? mt.matches : matchRoutes(jt, wt, tt), Qt = (Ct && Ct.flushSync) === true; 7274 if (Lt && mt.initialized && !Tt && isHashChangeOnly(mt.location, wt) && !(Ct && Ct.submission && isMutationMethod(Ct.submission.formMethod))) { 7275 Rr(wt, { 7276 matches: Lt 7277 }, { 7278 flushSync: Qt 7279 }); 7280 return; 7281 } 7282 let Wt = fn(Lt, jt, wt.pathname); 7283 if (Wt.active && Wt.matches && (Lt = Wt.matches), !Lt) { 7284 let { error: ur, notFoundMatches: jr, route: vr } = _r(wt.pathname); 7285 Rr(wt, { 7286 matches: jr, 7287 loaderData: {}, 7288 errors: { 7289 [vr.id]: ur 7290 } 7291 }, { 7292 flushSync: Qt 7293 }); 7294 return; 7295 } 7296 xt = new AbortController(); 7297 let Zt = createClientSideRequest(d.history, wt, xt.signal, Ct && Ct.submission), Xt = new unstable_RouterContextProvider(d.unstable_getContext ? await d.unstable_getContext() : void 0), tr; 7298 if (Ct && Ct.pendingError) tr = [ 7299 findNearestBoundary(Lt).route.id, 7300 { 7301 type: "error", 7302 error: Ct.pendingError 7303 } 7304 ]; 7305 else if (Ct && Ct.submission && isMutationMethod(Ct.submission.formMethod)) { 7306 let ur = await gr(Zt, wt, Ct.submission, Lt, Xt, Wt.active, Ct && Ct.initialHydration === true, { 7307 replace: Ct.replace, 7308 flushSync: Qt 7309 }); 7310 if (ur.shortCircuited) return; 7311 if (ur.pendingActionResult) { 7312 let [jr, vr] = ur.pendingActionResult; 7313 if (isErrorResult(vr) && isRouteErrorResponse(vr.error) && vr.error.status === 404) { 7314 xt = null, Rr(wt, { 7315 matches: ur.matches, 7316 loaderData: {}, 7317 errors: { 7318 [jr]: vr.error 7319 } 7320 }); 7321 return; 7322 } 7323 } 7324 Lt = ur.matches || Lt, tr = ur.pendingActionResult, Ut = getLoadingNavigation(wt, Ct.submission), Qt = false, Wt.active = false, Zt = createClientSideRequest(d.history, Zt.url, Zt.signal); 7325 } 7326 let { shortCircuited: rr, matches: nr, loaderData: cr, errors: xr } = await Qr(Zt, wt, Lt, Xt, Wt.active, Ut, Ct && Ct.submission, Ct && Ct.fetcherSubmission, Ct && Ct.replace, Ct && Ct.initialHydration === true, Qt, tr); 7327 rr || (xt = null, Rr(wt, { 7328 matches: nr || Lt, 7329 ...getActionDataForCommit(tr), 7330 loaderData: cr, 7331 errors: xr 7332 })); 7333 } 7334 async function gr(vt, wt, Ct, jt, Ut, Lt, Qt, Wt = {}) { 7335 Nr(); 7336 let Zt = getSubmittingNavigation(wt, Ct); 7337 if (Tr({ 7338 navigation: Zt 7339 }, { 7340 flushSync: Wt.flushSync === true 7341 }), Lt) { 7342 let rr = await lr(jt, wt.pathname, vt.signal); 7343 if (rr.type === "aborted") return { 7344 shortCircuited: true 7345 }; 7346 if (rr.type === "error") { 7347 let nr = findNearestBoundary(rr.partialMatches).route.id; 7348 return { 7349 matches: rr.partialMatches, 7350 pendingActionResult: [ 7351 nr, 7352 { 7353 type: "error", 7354 error: rr.error 7355 } 7356 ] 7357 }; 7358 } else if (rr.matches) jt = rr.matches; 7359 else { 7360 let { notFoundMatches: nr, error: cr, route: xr } = _r(wt.pathname); 7361 return { 7362 matches: nr, 7363 pendingActionResult: [ 7364 xr.id, 7365 { 7366 type: "error", 7367 error: cr 7368 } 7369 ] 7370 }; 7371 } 7372 } 7373 let Xt, tr = getTargetMatch(jt, wt); 7374 if (!tr.route.action && !tr.route.lazy) Xt = { 7375 type: "error", 7376 error: getInternalRouterError(405, { 7377 method: vt.method, 7378 pathname: wt.pathname, 7379 routeId: tr.route.id 7380 }) 7381 }; 7382 else { 7383 let rr = getTargetedDataStrategyMatches(b, $, vt, jt, tr, Qt ? [] : g, Ut), nr = await Ir(vt, rr, Ut, null); 7384 if (Xt = nr[tr.route.id], !Xt) { 7385 for (let cr of jt) if (nr[cr.route.id]) { 7386 Xt = nr[cr.route.id]; 7387 break; 7388 } 7389 } 7390 if (vt.signal.aborted) return { 7391 shortCircuited: true 7392 }; 7393 } 7394 if (isRedirectResult(Xt)) { 7395 let rr; 7396 return Wt && Wt.replace != null ? rr = Wt.replace : rr = normalizeRedirectLocation(Xt.response.headers.get("Location"), new URL(vt.url), tt) === mt.location.pathname + mt.location.search, await Sr(vt, Xt, true, { 7397 submission: Ct, 7398 replace: rr 7399 }), { 7400 shortCircuited: true 7401 }; 7402 } 7403 if (isErrorResult(Xt)) { 7404 let rr = findNearestBoundary(jt, tr.route.id); 7405 return (Wt && Wt.replace) !== true && (gt = "PUSH"), { 7406 matches: jt, 7407 pendingActionResult: [ 7408 rr.route.id, 7409 Xt, 7410 tr.route.id 7411 ] 7412 }; 7413 } 7414 return { 7415 matches: jt, 7416 pendingActionResult: [ 7417 tr.route.id, 7418 Xt 7419 ] 7420 }; 7421 } 7422 async function Qr(vt, wt, Ct, jt, Ut, Lt, Qt, Wt, Zt, Xt, tr, rr) { 7423 let nr = Lt || getLoadingNavigation(wt, Qt), cr = Qt || Wt || getSubmissionFromNavigation(nr), xr = !Rt && !Xt; 7424 if (Ut) { 7425 if (xr) { 7426 let nn = zt(rr); 7427 Tr({ 7428 navigation: nr, 7429 ...nn !== void 0 ? { 7430 actionData: nn 7431 } : {} 7432 }, { 7433 flushSync: tr 7434 }); 7435 } 7436 let Pr = await lr(Ct, wt.pathname, vt.signal); 7437 if (Pr.type === "aborted") return { 7438 shortCircuited: true 7439 }; 7440 if (Pr.type === "error") { 7441 let nn = findNearestBoundary(Pr.partialMatches).route.id; 7442 return { 7443 matches: Pr.partialMatches, 7444 loaderData: {}, 7445 errors: { 7446 [nn]: Pr.error 7447 } 7448 }; 7449 } else if (Pr.matches) Ct = Pr.matches; 7450 else { 7451 let { error: nn, notFoundMatches: $r, route: hn } = _r(wt.pathname); 7452 return { 7453 matches: $r, 7454 loaderData: {}, 7455 errors: { 7456 [hn.id]: nn 7457 } 7458 }; 7459 } 7460 } 7461 let ur = et || _e, { dsMatches: jr, revalidatingFetchers: vr } = getMatchesToLoad(vt, jt, b, $, d.history, mt, Ct, cr, wt, Xt ? [] : g, Xt === true, Tt, Yt, ir, Ht, Et, ur, tt, d.patchRoutesOnNavigation != null, rr);
7462 if (Mt = ++Ot, !d.dataStrategy && !jr.some((Pr) => Pr.shouldLoad) && vr.length === 0) { 7463 let Pr = hr(); 7464 return Rr(wt, { 7465 matches: Ct, 7466 loaderData: {}, 7467 errors: rr && isErrorResult(rr[1]) ? { 7468 [rr[0]]: rr[1].error 7469 } : null, 7470 ...getActionDataForCommit(rr), 7471 ...Pr ? { 7472 fetchers: new Map(mt.fetchers) 7473 } : {} 7474 }, { 7475 flushSync: tr 7476 }), { 7477 shortCircuited: true 7478 }; 7479 } 7480 if (xr) { 7481 let Pr = {}; 7482 if (!Ut) { 7483 Pr.navigation = nr; 7484 let nn = zt(rr); 7485 nn !== void 0 && (Pr.actionData = nn); 7486 } 7487 vr.length > 0 && (Pr.fetchers = Cr(vr)), Tr(Pr, { 7488 flushSync: tr 7489 }); 7490 } 7491 vr.forEach((Pr) => { 7492 Lr(Pr.key), Pr.controller && Dt.set(Pr.key, Pr.controller); 7493 }); 7494 let Zr = () => vr.forEach((Pr) => Lr(Pr.key)); 7495 xt && xt.signal.addEventListener("abort", Zr); 7496 let { loaderResults: Yr, fetcherResults: Xr } = await Kr(jr, vr, vt, jt); 7497 if (vt.signal.aborted) return { 7498 shortCircuited: true 7499 }; 7500 xt && xt.signal.removeEventListener("abort", Zr), vr.forEach((Pr) => Dt.delete(Pr.key)); 7501 let qr = findRedirect(Yr); 7502 if (qr) return await Sr(vt, qr.result, true, { 7503 replace: Zt 7504 }), { 7505 shortCircuited: true 7506 }; 7507 if (qr = findRedirect(Xr), qr) return Et.add(qr.key), await Sr(vt, qr.result, true, { 7508 replace: Zt 7509 }), { 7510 shortCircuited: true 7511 }; 7512 let { loaderData: ln, errors: Wr } = processLoaderData(mt, Ct, Yr, rr, vr, Xr); 7513 Xt && mt.errors && (Wr = { 7514 ...mt.errors, 7515 ...Wr 7516 }); 7517 let Jr = hr(), rn = zr(Mt), vn = Jr || rn || vr.length > 0; 7518 return { 7519 matches: Ct, 7520 loaderData: ln, 7521 errors: Wr, 7522 ...vn ? { 7523 fetchers: new Map(mt.fetchers) 7524 } : {} 7525 }; 7526 } 7527 function zt(vt) { 7528 if (vt && !isErrorResult(vt[1])) return { 7529 [vt[0]]: vt[1].data 7530 }; 7531 if (mt.actionData) return Object.keys(mt.actionData).length === 0 ? null : mt.actionData; 7532 } 7533 function Cr(vt) { 7534 return vt.forEach((wt) => { 7535 let Ct = mt.fetchers.get(wt.key), jt = getLoadingFetcher(void 0, Ct ? Ct.data : void 0); 7536 mt.fetchers.set(wt.key, jt); 7537 }), new Map(mt.fetchers); 7538 } 7539 async function Hr(vt, wt, Ct, jt) { 7540 Lr(vt); 7541 let Ut = (jt && jt.flushSync) === true, Lt = et || _e, Qt = normalizeTo(mt.location, mt.matches, tt, Ct, wt, jt == null ? void 0 : jt.relative), Wt = matchRoutes(Lt, Qt, tt), Zt = fn(Wt, Lt, Qt); 7542 if (Zt.active && Zt.matches && (Wt = Zt.matches), !Wt) { 7543 or(vt, wt, getInternalRouterError(404, { 7544 pathname: Qt 7545 }), { 7546 flushSync: Ut 7547 }); 7548 return; 7549 } 7550 let { path: Xt, submission: tr, error: rr } = normalizeNavigateOptions(true, Qt, jt); 7551 if (rr) { 7552 or(vt, wt, rr, { 7553 flushSync: Ut 7554 }); 7555 return; 7556 } 7557 let nr = getTargetMatch(Wt, Xt), cr = new unstable_RouterContextProvider(d.unstable_getContext ? await d.unstable_getContext() : void 0), xr = (jt && jt.preventScrollReset) === true; 7558 if (tr && isMutationMethod(tr.formMethod)) { 7559 await un(vt, wt, Xt, nr, Wt, cr, Zt.active, Ut, xr, tr); 7560 return; 7561 } 7562 Ht.set(vt, { 7563 routeId: wt, 7564 path: Xt 7565 }), await Dr(vt, wt, Xt, nr, Wt, cr, Zt.active, Ut, xr, tr); 7566 } 7567 async function un(vt, wt, Ct, jt, Ut, Lt, Qt, Wt, Zt, Xt) { 7568 Nr(), Ht.delete(vt); 7569 function tr(Mr) { 7570 if (!Mr.route.action && !Mr.route.lazy) { 7571 let yn = getInternalRouterError(405, { 7572 method: Xt.formMethod, 7573 pathname: Ct, 7574 routeId: wt 7575 }); 7576 return or(vt, wt, yn, { 7577 flushSync: Wt 7578 }), true; 7579 } 7580 return false; 7581 } 7582 if (!Qt && tr(jt)) return; 7583 let rr = mt.fetchers.get(vt); 7584 ar(vt, getSubmittingFetcher(Xt, rr), { 7585 flushSync: Wt 7586 }); 7587 let nr = new AbortController(), cr = createClientSideRequest
7587(d.history, Ct, nr.signal, Xt); 7588 if (Qt) { 7589 let Mr = await lr(Ut, Ct, cr.signal, vt); 7590 if (Mr.type === "aborted") return; 7591 if (Mr.type === "error") { 7592 or(vt, wt, Mr.error, { 7593 flushSync: Wt 7594 }); 7595 return; 7596 } else if (Mr.matches) { 7597 if (Ut = Mr.matches, jt = getTargetMatch(Ut, Ct), tr(jt)) return; 7598 } else { 7599 or(vt, wt, getInternalRouterError(404, { 7600 pathname: Ct 7601 }), { 7602 flushSync: Wt 7603 }); 7604 return; 7605 } 7606 } 7607 Dt.set(vt, nr); 7608 let xr = Ot, ur = getTargetedDataStrategyMatches(b, $, cr, Ut, jt, g, Lt), vr = (await Ir(cr, ur, Lt, vt))[jt.route.id]; 7609 if (cr.signal.aborted) { 7610 Dt.get(vt) === nr && Dt.delete(vt); 7611 return; 7612 } 7613 if (ir.has(vt)) { 7614 if (isRedirectResult(vr) || isErrorResult(vr)) { 7615 ar(vt, getDoneFetcher(void 0)); 7616 return; 7617 } 7618 } else { 7619 if (isRedirectResult(vr)) if (Dt.delete(vt), Mt > xr) { 7620 ar(vt, getDoneFetcher(void 0)); 7621 return; 7622 } else return Et.add(vt), ar(vt, getLoadingFetcher(Xt)), Sr(cr, vr, false, { 7623 fetcherSubmission: Xt, 7624 preventScrollReset: Zt 7625 }); 7626 if (isErrorResult(vr)) { 7627 or(vt, wt, vr.error); 7628 return; 7629 } 7630 } 7631 let Zr = mt.navigation.location || mt.location, Yr = createClientSideRequest(d.history, Zr, nr.signal), Xr = et || _e, qr = mt.navigation.state !== "idle" ? matchRoutes(Xr, mt.navigation.location, tt) : mt.matches; 7632 invariant$1(qr, "Didn't find any matches after fetcher action"); 7633 let ln = ++Ot; 7634 Vt.set(vt, ln); 7635 let Wr = getLoadingFetcher(Xt, vr.data); 7636 mt.fetchers.set(vt, Wr); 7637 let { dsMatches: Jr, revalidatingFetchers: rn } = getMatchesToLoad(Yr, Lt, b, $, d.history, mt, qr, Xt, Zr, g, false, Tt, Yt, ir, Ht, Et, Xr, tt, d.patchRoutesOnNavigation != null, [ 7638 jt.route.id, 7639 vr 7640 ]); 7641 rn.filter((Mr) => Mr.key !== vt).forEach((Mr) => { 7642 let yn = Mr.key, It = mt.fetchers.get(yn), At = getLoadingFetcher(void 0, It ? It.data : void 0); 7643 mt.fetchers.set(yn, At), Lr(yn), Mr.controller && Dt.set(yn, Mr.controller); 7644 }), Tr({ 7645 fetchers: new Map(mt.fetchers) 7646 }); 7647 let vn = () => rn.forEach((Mr) => Lr(Mr.key)); 7648 nr.signal.addEventListener("abort", vn); 7649 let { loaderResults: Pr, fetcherResults: nn } = await Kr(Jr, rn, Yr, Lt); 7650 if (nr.signal.aborted) return; 7651 if (nr.signal.removeEventListener("abort", vn), Vt.delete(vt), Dt.delete(vt), rn.forEach((Mr) => Dt.delete(Mr.key)), mt.fetchers.has(vt)) { 7652 let Mr = getDoneFetcher(vr.data); 7653 mt.fetchers.set(vt, Mr); 7654 } 7655 let $r = findRedirect(Pr); 7656 if ($r) return Sr(Yr, $r.result, false, { 7657 preventScrollReset: Zt 7658 }); 7659 if ($r = findRedirect(nn), $r) return Et.add($r.key), Sr(Yr, $r.result, false, { 7660 preventScrollReset: Zt 7661 }); 7662 let { loaderData: hn, errors: gn } = processLoaderData(mt, qr, Pr, void 0, rn, nn); 7663 zr(ln), mt.navigation.state === "loading" && ln > Mt ? (invariant$1(gt, "Expected pending action"), xt && xt.abort(), Rr(mt.navigation.location, { 7664 matches: qr, 7665 loaderData: hn, 7666 errors: gn, 7667 fetchers: new Map(mt.fetchers) 7668 })) : (Tr({ 7669 errors: gn, 7670 loaderData: mergeLoaderData(mt.loaderData, hn, qr, gn), 7671 fetchers: new Map(mt.fetchers) 7672 }), Tt = false); 7673 } 7674 async function Dr(vt, wt, Ct, jt, Ut, Lt, Qt, Wt, Zt, Xt) { 7675 let tr = mt.fetchers.get(vt); 7676 ar(vt, getLoadingFetcher(Xt, tr ? tr.data : void 0), { 7677 flushSync: Wt 7678 }); 7679 let rr = new AbortController(), nr = createClientSideRequest(d.history, Ct, rr.signal); 7680 if (Qt) { 7681 let vr = await lr(Ut, Ct, nr.signal, vt); 7682 if (vr.type === "aborted") return; 7683 if (vr.type === "error") { 7684 or(vt, wt, vr.error, { 7685 flushSync: Wt 7686 }); 7687 return; 7688 } else if (vr.matches) Ut = vr.matches, jt = getTargetMatch(Ut, Ct); 7689 else { 7690 or(vt, wt, getInternalRouterError(404, { 7691 pathname: Ct 7692 }), { 7693 flushSync: Wt 7694 }); 7695 return; 7696 } 7697 } 7698 Dt.set(vt, rr); 7699 let cr = Ot, xr = getTargetedDataStrategyMatches(b, $, nr, Ut, jt, g, Lt), jr = (await Ir(nr, xr, Lt, vt))[jt.route.id]; 7700 if (Dt.get(vt) === rr && Dt.delete(vt), !nr.signal.aborted) { 7701 if (ir.has(vt)) { 7702 ar(vt, getDoneFetcher(void 0)); 7703 return; 7704 } 7705 if (isRedirectResult(jr)) if (Mt > cr) { 7706 ar(vt, getDoneFetcher(void 0)); 7707 return; 7708 } else { 7709 Et.add(vt), await Sr(nr, jr, false, { 7710 preventScrollReset: Zt 7711 }); 7712 return; 7713 } 7714 if (isErrorResult(jr)) { 7715 or(vt, wt, jr.error); 7716 return; 7717 } 7718 ar(vt, getDoneFetcher(jr.data)); 7719 } 7720 } 7721 async function Sr(vt, wt, Ct, { submission: jt, fetcherSubmission: Ut, preventScrollReset: Lt, replace: Qt } = {}) { 7722 wt.response.headers.has("X-Remix-Revalidate") && (Tt = true); 7723 let Wt = wt.response.headers.get("Location"); 7724 invariant$1(Wt, "Expected a Location header on the redirect Response"), Wt = normalizeRedirectLocation(Wt, new URL(vt.url), tt); 7725 let Zt = createLocation(mt.location, Wt, { 7726 _isRedirect: true 7727 }); 7728 if (h) { 7729 let xr = false;
7730 if (wt.response.headers.has("X-Remix-Reload-Document")) xr = true; 7731 else if (ABSOLUTE_URL_REGEX.test(Wt)) { 7732 const ur = createBrowserURLImpl(Wt, true); 7733 xr = ur.origin !== o.location.origin || stripBasename(ur.pathname, tt) == null; 7734 } 7735 if (xr) { 7736 Qt ? o.location.replace(Wt) : o.location.assign(Wt); 7737 return; 7738 } 7739 } 7740 xt = null; 7741 let Xt = Qt === true || wt.response.headers.has("X-Remix-Replace") ? "REPLACE" : "PUSH", { formMethod: tr, formAction: rr, formEncType: nr } = mt.navigation; 7742 !jt && !Ut && tr && rr && nr && (jt = getSubmissionFromNavigation(mt.navigation)); 7743 let cr = jt || Ut; 7744 if (redirectPreserveMethodStatusCodes.has(wt.response.status) && cr && isMutationMethod(cr.formMethod)) await yr(Xt, Zt, { 7745 submission: { 7746 ...cr, 7747 formAction: Wt 7748 }, 7749 preventScrollReset: Lt || yt, 7750 enableViewTransition: Ct ? _t : void 0 7751 }); 7752 else { 7753 let xr = getLoadingNavigation(Zt, jt); 7754 await yr(Xt, Zt, { 7755 overrideNavigation: xr, 7756 fetcherSubmission: Ut, 7757 preventScrollReset: Lt || yt, 7758 enableViewTransition: Ct ? _t : void 0 7759 }); 7760 } 7761 } 7762 async function Ir(vt, wt, Ct, jt) { 7763 let Ut, Lt = {}; 7764 try { 7765 Ut = await callDataStrategyImpl(rt, vt, wt, jt, Ct, false); 7766 } catch (Qt) { 7767 return wt.filter((Wt) => Wt.shouldLoad).forEach((Wt) => { 7768 Lt[Wt.route.id] = { 7769 type: "error", 7770 error: Qt 7771 }; 7772 }), Lt; 7773 } 7774 if (vt.signal.aborted) return Lt; 7775 for (let [Qt, Wt] of Object.entries(Ut)) if (isRedirectDataStrategyResult(Wt)) { 7776 let Zt = Wt.result; 7777 Lt[Qt] = { 7778 type: "redirect", 7779 response: normalizeRelativeRoutingRedirectResponse(Zt, vt, Qt, wt, tt) 7780 }; 7781 } else Lt[Qt] = await convertDataStrategyResultToDataResult(Wt); 7782 return Lt; 7783 } 7784 async function Kr(vt, wt, Ct, jt) { 7785 let Ut = Ir(Ct, vt, jt, null), Lt = Promise.all(wt.map(async (Zt) => { 7786 if (Zt.matches && Zt.match && Zt.request && Zt.controller) { 7787 let tr = (await Ir(Zt.request, Zt.matches, jt, Zt.key))[Zt.match.route.id]; 7788 return { 7789 [Zt.key]: tr 7790 }; 7791 } else return Promise.resolve({ 7792 [Zt.key]: { 7793 type: "error", 7794 error: getInternalRouterError(404, { 7795 pathname: Zt.path 7796 }) 7797 } 7798 }); 7799 })), Qt = await Ut, Wt = (await Lt).reduce((Zt, Xt) => Object.assign(Zt, Xt), {}); 7800 return { 7801 loaderResults: Qt, 7802 fetcherResults: Wt 7803 }; 7804 } 7805 function Nr() { 7806 Tt = true, Ht.forEach((vt, wt) => { 7807 Dt.has(wt) && Yt.add(wt), Lr(wt); 7808 }); 7809 } 7810 function ar(vt, wt, Ct = {}) { 7811 mt.fetchers.set(vt, wt), Tr({ 7812 fetchers: new Map(mt.fetchers) 7813 }, { 7814 flushSync: (Ct && Ct.flushSync) === true 7815 }); 7816 } 7817 function or(vt, wt, Ct, jt = {}) { 7818 let Ut = findNearestBoundary(mt.matches, wt); 7819 br(vt), Tr({ 7820 errors: { 7821 [Ut.route.id]: Ct 7822 }, 7823 fetchers: new Map(mt.fetchers) 7824 }, { 7825 flushSync: (jt && jt.flushSync) === true 7826 }); 7827 } 7828 function dr(vt) { 7829 return Kt.set(vt, (Kt.get(vt) || 0) + 1), ir.has(vt) && ir.delete(vt), mt.fetchers.get(vt) || IDLE_FETCHER; 7830 } 7831 function br(vt) { 7832 let wt = mt.fetchers.get(vt); 7833 Dt.has(vt) && !(wt && wt.state === "loading" && Vt.has(vt)) && Lr(vt), Ht.delete(vt), Vt.delete(vt), Et.delete(vt), ir.delete(vt), Yt.delete(vt), mt.fetchers.delete(vt); 7834 } 7835 function Fr(vt) { 7836 let wt = (Kt.get(vt) || 0) - 1; 7837 wt <= 0 ? (Kt.delete(vt), ir.add(vt)) : Kt.set(vt, wt), Tr({ 7838 fetchers: new Map(mt.fetchers) 7839 }); 7840 } 7841 function Lr(vt) { 7842 let wt = Dt.get(vt); 7843 wt && (wt.abort(), Dt.delete(vt)); 7844 } 7845 function mr(vt) { 7846 for (let wt of vt) { 7847 let Ct = dr(wt), jt = getDoneFetcher(Ct.data); 7848 mt.fetchers.set(wt, jt); 7849 } 7850 } 7851 function hr() { 7852 let vt = [], wt = false;
7853 for (let Ct of Et) { 7854 let jt = mt.fetchers.get(Ct); 7855 invariant$1(jt, "Expected fetcher: ".concat(Ct)), jt.state === "loading" && (Et.delete(Ct), vt.push(Ct), wt = true); 7856 } 7857 return mr(vt), wt; 7858 } 7859 function zr(vt) { 7860 let wt = []; 7861 for (let [Ct, jt] of Vt) if (jt < vt) { 7862 let Ut = mt.fetchers.get(Ct); 7863 invariant$1(Ut, "Expected fetcher: ".concat(Ct)), Ut.state === "loading" && (Lr(Ct), Vt.delete(Ct), wt.push(Ct)); 7864 } 7865 return mr(wt), wt.length > 0; 7866 } 7867 function sn(vt, wt) { 7868 let Ct = mt.blockers.get(vt) || IDLE_BLOCKER; 7869 return sr.get(vt) !== wt && sr.set(vt, wt), Ct; 7870 } 7871 function en(vt) { 7872 mt.blockers.delete(vt), sr.delete(vt); 7873 } 7874 function on(vt, wt) { 7875 let Ct = mt.blockers.get(vt) || IDLE_BLOCKER; 7876 invariant$1(Ct.state === "unblocked" && wt.state === "blocked" || Ct.state === "blocked" && wt.state === "blocked" || Ct.state === "blocked" && wt.state === "proceeding" || Ct.state === "blocked" && wt.state === "unblocked" || Ct.state === "proceeding" && wt.state === "unblocked", "Invalid blocker state transition: ".concat(Ct.state, " -> ").concat(wt.state)); 7877 let jt = new Map(mt.blockers); 7878 jt.set(vt, wt), Tr({ 7879 blockers: jt 7880 }); 7881 } 7882 function dn({ currentLocation: vt, nextLocation: wt, historyAction: Ct }) { 7883 if (sr.size === 0) return; 7884 sr.size > 1 && warning(false, "A router only supports one blocker at a time"); 7885 let jt = Array.from(sr.entries()), [Ut, Lt] = jt[jt.length - 1], Qt = mt.blockers.get(Ut); 7886 if (!(Qt && Qt.state === "proceeding") && Lt({ 7887 currentLocation: vt, 7888 nextLocation: wt, 7889 historyAction: Ct 7890 })) return Ut; 7891 } 7892 function _r(vt) { 7893 let wt = getInternalRouterError(404, { 7894 pathname: vt 7895 }), Ct = et || _e, { matches: jt, route: Ut } = getShortCircuitMatches(Ct); 7896 return { 7897 notFoundMatches: jt, 7898 route: Ut, 7899 error: wt 7900 }; 7901 } 7902 function pn(vt, wt, Ct) { 7903 if (it = vt, lt = wt, at = Ct || null, !ct && mt.navigation === IDLE_NAVIGATION) { 7904 ct = true; 7905 let jt = an(mt.location, mt.matches); 7906 jt != null && Tr({ 7907 restoreScrollPosition: jt 7908 }); 7909 } 7910 return () => { 7911 it = null, lt = null, at = null; 7912 }; 7913 } 7914 function Vr(vt, wt) { 7915 return at && at(vt, wt.map((jt) => convertRouteMatchToUiMatch(jt, mt.loaderData))) || vt.key; 7916 } 7917 function tn(vt, wt) { 7918 if (it && lt) { 7919 let Ct = Vr(vt, wt); 7920 it[Ct] = lt(); 7921 } 7922 } 7923 function an(vt, wt) { 7924 if (it) { 7925 let Ct = Vr(vt, wt), jt = it[Ct]; 7926 if (typeof jt == "number") return jt; 7927 } 7928 return null; 7929 } 7930 function fn(vt, wt, Ct) { 7931 if (d.patchRoutesOnNavigation) if (vt) { 7932 if (Object.keys(vt[0].params).length > 0) return { 7933 active: true, 7934 matches: matchRoutesImpl(wt, Ct, tt, true) 7935 }; 7936 } else return { 7937 active: true, 7938 matches: matchRoutesImpl(wt, Ct, tt, true) || [] 7939 }; 7940 return { 7941 active: false, 7942 matches: null 7943 }; 7944 } 7945 async function lr(vt, wt, Ct, jt) { 7946 if (!d.patchRoutesOnNavigation) return { 7947 type: "success", 7948 matches: vt 7949 }; 7950 let Ut = vt; 7951 for (; ; ) { 7952 let Lt = et == null, Qt = et || _e, Wt = $; 7953 try { 7954 await d.patchRoutesOnNavigation({ 7955 signal: Ct, 7956 path: wt, 7957 matches: Ut, 7958 fetcherKey: jt, 7959 patch: (tr, rr) => { 7960 Ct.aborted || patchRoutesImpl(tr, rr, Qt, Wt, b); 7961 } 7962 }); 7963 } catch (tr) { 7964 return { 7965 type: "error", 7966 error: tr, 7967 partialMatches: Ut 7968 }; 7969 } finally { 7970 Lt && !Ct.aborted && (_e = [ 7971 ..._e 7972 ]); 7973 } 7974 if (Ct.aborted) return { 7975 type: "aborted" 7976 }; 7977 let Zt = matchRoutes(Qt, wt, tt); 7978 if (Zt) return { 7979 type: "success", 7980 matches: Zt 7981 }; 7982 let Xt = matchRoutesImpl(Qt, wt, tt, true); 7983 if (!Xt || Ut.length === Xt.length && Ut.every((tr, rr) => tr.route.id === Xt[rr].route.id)) return { 7984 type: "success", 7985 matches: null 7986 }; 7987 Ut = Xt; 7988 } 7989 } 7990 function Nt(vt) { 7991 $ = {}, et = convertRoutesToDataRoutes(vt, b, void 0, $); 7992 } 7993 function Jt(vt, wt) { 7994 let Ct = et == null; 7995 patchRoutesImpl(vt, wt, et || _e, $, b), Ct && (_e = [ 7996 ..._e 7997 ], Tr({})); 7998 } 7999 return ht = { 8000 get basename() { 8001 return tt; 8002 }, 8003 get future() { 8004 return nt; 8005 }, 8006 get state() { 8007 return mt; 8008 }, 8009 get routes() { 8010 return _e; 8011 }, 8012 get window() { 8013 return o; 8014 }, 8015 initialize: pr, 8016 subscribe: Ur, 8017 enableScrollRestoration: pn, 8018 navigate: Or, 8019 fetch: Hr, 8020 revalidate: Ar, 8021 createHref: (vt) => d.history.createHref(vt), 8022 encodeLocation: (vt) => d.history.encodeLocation(vt), 8023 getFetcher: dr, 8024 deleteFetcher: Fr, 8025 dispose: fr, 8026 getBlocker: sn, 8027 deleteBlocker: en, 8028 patchRoutes: Jt, 8029 _internalFetchControllers: Dt, 8030 _internalSetRoutes: Nt 8031 }, ht; 8032 } 8033 function isSubmissionNavigation(d) { 8034 return d != null && ("formData" in d && d.formData != null || "body" in d && d.body !== void 0); 8035 } 8036 function normalizeTo(d, o, h, g, b, $) { 8037 let _e, et; 8038 if (b) { 8039 _e = []; 8040 for (let rt of o) if (_e.push(rt), rt.route.id === b) { 8041 et = rt; 8042 break; 8043 } 8044 } else _e = o, et = o[o.length - 1]; 8045 let tt = resolveTo(g || ".", getResolveToMatches(_e), stripBasename(d.pathname, h) || d.pathname, $ === "path"); 8046 if (g == null && (tt.search = d.search, tt.hash = d.hash), (g == null || g === "" || g === ".") && et) { 8047 let rt = hasNakedIndexQuery(tt.search); 8048 if (et.route.index && !rt) tt.search = tt.search ? tt.search.replace(/^\?/, "?index&")
8048: "?index"; 8049 else if (!et.route.index && rt) { 8050 let nt = new URLSearchParams(tt.search), st = nt.getAll("index"); 8051 nt.delete("index"), st.filter((it) => it).forEach((it) => nt.append("index", it)); 8052 let ot = nt.toString(); 8053 tt.search = ot ? "?".concat(ot) : ""; 8054 } 8055 } 8056 return h !== "/" && (tt.pathname = tt.pathname === "/" ? h : joinPaths([ 8057 h, 8058 tt.pathname 8059 ])), createPath(tt); 8060 } 8061 function normalizeNavigateOptions(d, o, h) { 8062 if (!h || !isSubmissionNavigation(h)) return { 8063 path: o 8064 }; 8065 if (h.formMethod && !isValidMethod(h.formMethod)) return { 8066 path: o, 8067 error: getInternalRouterError(405, { 8068 method: h.formMethod 8069 }) 8070 }; 8071 let g = () => ({ 8072 path: o, 8073 error: getInternalRouterError(400, { 8074 type: "invalid-body" 8075 }) 8076 }), $ = (h.formMethod || "get").toUpperCase(), _e = stripHashFromPath(o); 8077 if (h.body !== void 0) { 8078 if (h.formEncType === "text/plain") { 8079 if (!isMutationMethod($)) return g(); 8080 let st = typeof h.body == "string" ? h.body : h.body instanceof FormData || h.body instanceof URLSearchParams ? Array.from(h.body.entries()).reduce((ot, [it, at]) => "".concat(ot).concat(it, "=").concat(at, "\n"), "") : String(h.body); 8081 return { 8082 path: o, 8083 submission: { 8084 formMethod: $, 8085 formAction: _e, 8086 formEncType: h.formEncType, 8087 formData: void 0, 8088 json: void 0, 8089 text: st 8090 } 8091 }; 8092 } else if (h.formEncType === "application/json") { 8093 if (!isMutationMethod($)) return g(); 8094 try { 8095 let st = typeof h.body == "string" ? JSON.parse(h.body) : h.body; 8096 return { 8097 path: o, 8098 submission: { 8099 formMethod: $, 8100 formAction: _e, 8101 formEncType: h.formEncType, 8102 formData: void 0, 8103 json: st, 8104 text: void 0 8105 } 8106 }; 8107 } catch (e2) { 8108 return g(); 8109 } 8110 } 8111 } 8112 invariant$1(typeof FormData == "function", "FormData is not available in this environment"); 8113 let et, tt; 8114 if (h.formData) et = convertFormDataToSearchParams(h.formData), tt = h.formData; 8115 else if (h.body instanceof FormData) et = convertFormDataToSearchParams(h.body), tt = h.body; 8116 else if (h.body instanceof URLSearchParams) et = h.body, tt = convertSearchParamsToFormData(et); 8117 else if (h.body == null) et = new URLSearchParams(), tt = new FormData(); 8118 else try { 8119 et = new URLSearchParams(h.body), tt = convertSearchParamsToFormData(et); 8120 } catch (e2) { 8121 return g(); 8122 } 8123 let rt = { 8124 formMethod: $, 8125 formAction: _e, 8126 formEncType: h && h.formEncType || "application/x-www-form-urlencoded", 8127 formData: tt, 8128 json: void 0, 8129 text: void 0 8130 }; 8131 if (isMutationMethod(rt.formMethod)) return { 8132 path: o, 8133 submission: rt 8134 }; 8135 let nt = parsePath(o); 8136 return d && nt.search && hasNakedIndexQuery(nt.search) && et.append("index", ""), nt.search = "?".concat(et), { 8137 path: createPath(nt), 8138 submission: rt 8139 }; 8140 } 8141 function getMatchesToLoad(d, o, h, g, b, $, _e, et, tt, rt, nt, st, ot, it, at, lt, ct, ut, ft, dt) { 8142 var _a; 8143 let pt = dt ? isErrorResult(dt[1]) ? dt[1].error : dt[1].data : void 0, ht = b.createURL($.location), mt = b.createURL(tt), gt; 8144 if (nt && $.errors) { 8145 let Rt = Object.keys($.errors)[0]; 8146 gt = _e.findIndex((Tt) => Tt.route.id === Rt); 8147 } else if (dt && isErrorResult(dt[1])) { 8148 let Rt = dt[0]; 8149 gt = _e.findIndex((Tt) => Tt.route.id === Rt) - 1; 8150 } 8151 let yt = dt ? dt[1].statusCode : void 0, xt = yt && yt >= 400, _t = { 8152 currentUrl: ht, 8153 currentParams: ((_a = $.matches[0]) == null ? void 0 : _a.params) || {}, 8154 nextUrl: mt, 8155 nextParams: _e[0].params, 8156 ...et, 8157 actionResult: pt, 8158 actionStatus: yt 8159 }, St = _e.map((Rt, Tt) => { 8160 let { route: Yt } = Rt, Dt = null; 8161 if (gt != null && Tt > gt ? Dt = false : Yt.lazy ? Dt = true : Yt.loader == null ? Dt = false : nt ? Dt = shouldLoadRouteOnHydration(Yt, $.loaderData, $.errors) : isNewLoader($.loaderData, $.matches[Tt], Rt) && (Dt = true), Dt !== null) return getDataStrategyMatch(h, g, d, Rt, rt, o, Dt); 8162 let Ot = xt ? false : st || ht.pathname + ht.search === mt.pathname + mt.search || ht.search !== mt.search || isNewRouteInstance($.matches[Tt], Rt), Mt = { 8163 ..._t, 8164 defaultShouldRevalidate: Ot 8165 }, Vt = shouldRevalidateLoader(Rt, Mt); 8166 return getDataStrategyMatch(h, g, d, Rt, rt, o, Vt, Mt); 8167 }), kt = []; 8168 return at.forEach((Rt, Tt) => { 8169 if (nt || !_e.some((Kt) => Kt.route.id === Rt.routeId) || it.has(Tt)) return; 8170 let Yt = $.fetchers.get(Tt), Dt = Yt && Yt.state !== "idle" && Yt.data === void 0, Ot = matchRoutes(ct, Rt.path, ut); 8171 if (!Ot) { 8172 if (ft && Dt) return; 8173 kt.push({ 8174 key: Tt, 8175 routeId: Rt.routeId, 8176 path: Rt.path, 8177 matches: null, 8178 match: null, 8179 request: null, 8180 controller: null 8181 }); 8182 return; 8183 } 8184 if (lt.has(Tt)) return; 8185 let Mt = getTargetMatch(Ot, Rt.path), Vt = new AbortController(), Et = createClientSideRequest
8185(b, Rt.path, Vt.signal), Ht = null; 8186 if (ot.has(Tt)) ot.delete(Tt), Ht = getTargetedDataStrategyMatches(h, g, Et, Ot, Mt, rt, o); 8187 else if (Dt) st && (Ht = getTargetedDataStrategyMatches(h, g, Et, Ot, Mt, rt, o)); 8188 else { 8189 let Kt = { 8190 ..._t, 8191 defaultShouldRevalidate: xt ? false : st 8192 }; 8193 shouldRevalidateLoader(Mt, Kt) && (Ht = getTargetedDataStrategyMatches(h, g, Et, Ot, Mt, rt, o, Kt)); 8194 } 8195 Ht && kt.push({ 8196 key: Tt, 8197 routeId: Rt.routeId, 8198 path: Rt.path, 8199 matches: Ht, 8200 match: Mt, 8201 request: Et, 8202 controller: Vt 8203 }); 8204 }), { 8205 dsMatches: St, 8206 revalidatingFetchers: kt 8207 }; 8208 } 8209 function shouldLoadRouteOnHydration(d, o, h) { 8210 if (d.lazy) return true; 8211 if (!d.loader) return false; 8212 let g = o != null && d.id in o, b = h != null && h[d.id] !== void 0; 8213 return !g && b ? false : typeof d.loader == "function" && d.loader.hydrate === true ? true : !g && !b; 8214 } 8215 function isNewLoader(d, o, h) { 8216 let g = !o || h.route.id !== o.route.id, b = !d.hasOwnProperty(h.route.id); 8217 return g || b; 8218 } 8219 function isNewRouteInstance(d, o) { 8220 let h = d.route.path; 8221 return d.pathname !== o.pathname || h != null && h.endsWith("*") && d.params["*"] !== o.params["*"]; 8222 } 8223 function shouldRevalidateLoader(d, o) { 8224 if (d.route.shouldRevalidate) { 8225 let h = d.route.shouldRevalidate(o); 8226 if (typeof h == "boolean") return h; 8227 } 8228 return o.defaultShouldRevalidate; 8229 } 8230 function patchRoutesImpl(d, o, h, g, b) { 8231 let $; 8232 if (d) { 8233 let tt = g[d]; 8234 invariant$1(tt, "No route found to patch children into: routeId = ".concat(d)), tt.children || (tt.children = []), $ = tt.children; 8235 } else $ = h; 8236 let _e = o.filter((tt) => !$.some((rt) => isSameRoute(tt, rt))), et = convertRoutesToDataRoutes(_e, b, [ 8237 d || "_", 8238 "patch", 8239 String(($ == null ? void 0 : $.length) || "0") 8240 ], g); 8241 $.push(...et); 8242 } 8243 function isSameRoute(d, o) { 8244 return "id" in d && "id" in o && d.id === o.id ? true : d.index === o.index && d.path === o.path && d.caseSensitive === o.caseSensitive ? (!d.children || d.children.length === 0) && (!o.children || o.children.length === 0) ? true : d.children.every((h, g) => { 8245 var _a; 8246 return (_a = o.children) == null ? void 0 : _a.some((b) => isSameRoute(h, b)); 8247 }) : false; 8248 } 8249 var lazyRoutePropertyCache = /* @__PURE__ */ new WeakMap(), loadLazyRouteProperty = ({ key: d, route: o, manifest: h, mapRouteProperties: g }) => { 8250 let b = h[o.id]; 8251 if (invariant$1(b, "No route found in manifest"), !b.lazy || typeof b.lazy != "object") return; 8252 let $ = b.lazy[d]; 8253 if (!$) return; 8254 let _e = lazyRoutePropertyCache.get(b); 8255 _e || (_e = {}, lazyRoutePropertyCache.set(b, _e)); 8256 let et = _e[d]; 8257 if (et) return et; 8258 let tt = (async () => { 8259 let rt = isUnsupportedLazyRouteObjectKey(d), st = b[d] !== void 0 && d !== "hasErrorBoundary"; 8260 if (rt) warning(!rt, "Route property " + d + " is not a supported lazy route property. This property will be ignored."), _e[d] = Promise.resolve(); 8261 else if (st) warning(false, 'Route "'.concat(b.id, '" has a static property "').concat(d, '" defined. The lazy property will be ignored.')); 8262 else { 8263 let ot = await $(); 8264 ot != null && (Object.assign(b, { 8265 [d]: ot 8266 }), Object.assign(b, g(b))); 8267 } 8268 typeof b.lazy == "object" && (b.lazy[d] = void 0, Object.values(b.lazy).every((ot) => ot === void 0) && (b.lazy = void 0)); 8269 })(); 8270 return _e[d] = tt, tt; 8271 }, lazyRouteFunctionCache = /* @__PURE__ */ new WeakMap(); 8272 function loadLazyRoute(d, o, h, g, b) { 8273 let $ = h[d.id]; 8274 if (invariant$1($, "No route found in manifest"), !d.lazy) return { 8275 lazyRoutePromise: void 0, 8276 lazyHandlerPromise: void 0 8277 }; 8278 if (typeof d.lazy == "function") { 8279 let nt = lazyRouteFunctionCache.get($); 8280 if (nt) return { 8281 lazyRoutePromise: nt, 8282 lazyHandlerPromise: nt 8283 }; 8284 let st = (async () => { 8285 invariant$1(typeof d.lazy == "function", "No lazy route function found"); 8286 let ot = await d.lazy(), it = {}; 8287 for (let at in ot) { 8288 let lt = ot[at]; 8289 if (lt === void 0) continue; 8290 let ct = isUnsupportedLazyRouteFunctionKey(at), ft = $[at] !== void 0 && at !== "hasErrorBoundary"; 8291 ct ? warning(!ct, "Route property " + at + " is not a supported property to be returned from a lazy route function. This property will be ignored.") : ft ? warning(!ft, 'Route "'.concat($.id, '" has a static property "').concat(at, '" defined but its lazy function is also returning a value for this property. The lazy route property "').concat(at, '" will be ignored.')) : it[at] = lt; 8292 } 8293 Object.assign($, it), Object.assign($, { 8294 ...g($), 8295 lazy: void 0 8296 }); 8297 })(); 8298 return lazyRouteFunctionCache.set($, st), st.catch(() => { 8299 }), { 8300 lazyRoutePromise: st, 8301 lazyHandlerPromise: st 8302 }; 8303 } 8304 let _e = Object.keys(d.lazy), et = [], tt; 8305 for (let nt of _e) { 8306 if (b && b.includes(nt)) continue; 8307 let st = loadLazyRouteProperty({ 8308 key: nt, 8309 route: d, 8310 manifest: h, 8311 mapRouteProperties: g 8312 }); 8313 st && (et.push(st), nt === o && (tt = st)); 8314 } 8315 let rt = et.length > 0 ? Promise.all(et).then(() => { 8316 }) : void 0; 8317 return rt == null ? void 0 : rt.catch(() => { 8318 }), tt == null ? void 0 : tt.catch(() => { 8319 }), { 8320 lazyRoutePromise: rt, 8321 lazyHandlerPromise: tt 8322 }; 8323 } 8324 async function defaultDataStrategy(d) { 8325 let o = d.matches.filter((b) => b.shouldLoad), h = {}; 8326 return (await Promise.all(o.map((b) =>
8326 b.resolve()))).forEach((b, $) => { 8327 h[o[$].route.id] = b; 8328 }), h; 8329 } 8330 async function defaultDataStrategyWithMiddleware(d) { 8331 return d.matches.some((o) => o.route.unstable_middleware) ? runMiddlewarePipeline(d, false, () => defaultDataStrategy(d), (o, h) => ({ 8332 [h]: { 8333 type: "error", 8334 result: o 8335 } 8336 })) : defaultDataStrategy(d); 8337 } 8338 async function runMiddlewarePipeline(d, o, h, g) { 8339 let { matches: b, request: $, params: _e, context: et } = d, tt = { 8340 handlerResult: void 0 8341 }; 8342 try { 8343 let rt = b.flatMap((st) => st.route.unstable_middleware ? st.route.unstable_middleware.map((ot) => [ 8344 st.route.id, 8345 ot 8346 ]) : []), nt = await callRouteMiddleware({ 8347 request: $, 8348 params: _e, 8349 context: et 8350 }, rt, o, tt, h); 8351 return o ? nt : tt.handlerResult; 8352 } catch (rt) { 8353 if (!tt.middlewareError) throw rt; 8354 let nt = await g(tt.middlewareError.error, tt.middlewareError.routeId); 8355 return tt.handlerResult ? Object.assign(tt.handlerResult, nt) : nt; 8356 } 8357 } 8358 async function callRouteMiddleware(d, o, h, g, b, $ = 0) { 8359 let { request: _e } = d; 8360 if (_e.signal.aborted) throw _e.signal.reason ? _e.signal.reason : new Error("Request aborted without an `AbortSignal.reason`: ".concat(_e.method, " ").concat(_e.url)); 8361 let et = o[$]; 8362 if (!et) return g.handlerResult = await b(), g.handlerResult; 8363 let [tt, rt] = et, nt = false, st, ot = async () => { 8364 if (nt) throw new Error("You may only call `next()` once per middleware"); 8365 nt = true, await callRouteMiddleware(d, o, h, g, b, $ + 1); 8366 }; 8367 try { 8368 let it = await rt({ 8369 request: d.request, 8370 params: d.params, 8371 context: d.context 8372 }, ot); 8373 return nt ? it === void 0 ? st : it : ot(); 8374 } catch (it) { 8375 throw g.middlewareError ? g.middlewareError.error !== it && (g.middlewareError = { 8376 routeId: tt, 8377 error: it 8378 }) : g.middlewareError = { 8379 routeId: tt, 8380 error: it 8381 }, it; 8382 } 8383 } 8384 function getDataStrategyMatchLazyPromises(d, o, h, g, b) { 8385 let $ = loadLazyRouteProperty({ 8386 key: "unstable_middleware", 8387 route: g.route, 8388 manifest: o, 8389 mapRouteProperties: d 8390 }), _e = loadLazyRoute(g.route, isMutationMethod(h.method) ? "action" : "loader", o, d, b); 8391 return { 8392 middleware: $, 8393 route: _e.lazyRoutePromise, 8394 handler: _e.lazyHandlerPromise 8395 }; 8396 } 8397 function getDataStrategyMatch(d, o, h, g, b, $, _e, et = null) { 8398 let tt = false, rt = getDataStrategyMatchLazyPromises(d, o, h, g, b); 8399 return { 8400 ...g, 8401 _lazyPromises: rt, 8402 shouldLoad: _e, 8403 unstable_shouldRevalidateArgs: et, 8404 unstable_shouldCallHandler(nt) { 8405 return tt = true, et ? typeof nt == "boolean" ? shouldRevalidateLoader(g, { 8406 ...et, 8407 defaultShouldRevalidate: nt 8408 }) : shouldRevalidateLoader(g, et) : _e; 8409 }, 8410 resolve(nt) { 8411 return tt || _e || nt && h.method === "GET" && (g.route.lazy || g.route.loader) ? callLoaderOrAction({ 8412 request: h, 8413 match: g, 8414 lazyHandlerPromise: rt == null ? void 0 : rt.handler, 8415 lazyRoutePromise: rt == null ? void 0 : rt.route, 8416 handlerOverride: nt, 8417 scopedContext: $ 8418 }) : Promise.resolve({ 8419 type: "data", 8420 result: void 0 8421 }); 8422 } 8423 }; 8424 } 8425 function getTargetedDataStrategyMatches(d, o, h, g, b, $, _e, et = null) { 8426 return g.map((tt) => tt.route.id !== b.route.id ? { 8427 ...tt, 8428 shouldLoad: false, 8429 unstable_shouldRevalidateArgs: et, 8430 unstable_shouldCallHandler: () => false, 8431 _lazyPromises: getDataStrategyMatchLazyPromises(d, o, h, tt, $), 8432 resolve: () => Promise.resolve({ 8433 type: "data", 8434 result: void 0 8435 }) 8436 } : getDataStrategyMatch(d, o, h, tt, $, _e, true, et)); 8437 } 8438 async function callDataStrategyImpl(d, o, h, g, b, $) { 8439 h.some((rt) => { 8440 var _a; 8441 return (_a = rt._lazyPromises) == null ? void 0 : _a.middleware; 8442 }) && await Promise.all(h.map((rt) => { 8443 var _a; 8444 return (_a = rt._lazyPromises) == null ? void 0 : _a.middleware; 8445 })); 8446 let _e = { 8447 request: o, 8448 params: h[0].params, 8449 context: b, 8450 matches: h 8451 }, tt = await d({ 8452 ..._e, 8453 fetcherKey: g, 8454 unstable_runClientMiddleware: (rt) => { 8455 let nt = _e; 8456 return runMiddlewarePipeline(nt, false, () => rt({ 8457 ...nt, 8458 fetcherKey: g, 8459 unstable_runClientMiddleware: () => { 8460 throw new Error("Cannot call `unstable_runClientMiddleware()` from within an `unstable_runClientMiddleware` handler"); 8461 } 8462 }), (st, ot) => ({ 8463 [ot]: { 8464 type: "error", 8465 result: st 8466 } 8467 })); 8468 } 8469 }); 8470 try { 8471 await Promise.all(h.flatMap((rt) => { 8472 var _a, _b; 8473 return [ 8474 (_a = rt._lazyPromises) == null ? void 0 : _a.handler, 8475 (_b = rt._lazyPromises) == null ? void 0 : _b.route 8476 ]; 8477 })); 8478 } catch (e2) { 8479 } 8480 return tt; 8481 } 8482 async function callLoaderOrAction({ request: d, match: o, lazyHandlerPromise: h, lazyRoutePromise: g, handlerOverride: b, scopedContext: $ }) { 8483 let _e, et, tt = isMutationMethod(d.method), rt = tt ? "action" : "loader", nt = (st) => { 8484 let ot, it = new Promise((ct, ut) => ot = ut); 8485 et = () => ot(), d.signal.addEventListener("abort", et); 8486 let at = (ct) => typeof st != "function" ? Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'.concat(rt, '" [routeId: ').concat(o.route.id, "]"))) : st({ 8487 request: d, 8488 params: o.params, 8489 context: $ 8490 }, ...ct !== void 0 ? [ 8491 ct
8492 ] : []), lt = (async () => { 8493 try { 8494 return { 8495 type: "data", 8496 result: await (b ? b((ut) => at(ut)) : at()) 8497 }; 8498 } catch (ct) { 8499 return { 8500 type: "error", 8501 result: ct 8502 }; 8503 } 8504 })(); 8505 return Promise.race([ 8506 lt, 8507 it 8508 ]); 8509 }; 8510 try { 8511 let st = tt ? o.route.action : o.route.loader; 8512 if (h || g) if (st) { 8513 let ot, [it] = await Promise.all([ 8514 nt(st).catch((at) => { 8515 ot = at; 8516 }), 8517 h, 8518 g 8519 ]); 8520 if (ot !== void 0) throw ot; 8521 _e = it; 8522 } else { 8523 await h; 8524 let ot = tt ? o.route.action : o.route.loader; 8525 if (ot) [_e] = await Promise.all([ 8526 nt(ot), 8527 g 8528 ]); 8529 else if (rt === "action") { 8530 let it = new URL(d.url), at = it.pathname + it.search; 8531 throw getInternalRouterError(405, { 8532 method: d.method, 8533 pathname: at, 8534 routeId: o.route.id 8535 }); 8536 } else return { 8537 type: "data", 8538 result: void 0 8539 }; 8540 } 8541 else if (st) _e = await nt(st); 8542 else { 8543 let ot = new URL(d.url), it = ot.pathname + ot.search; 8544 throw getInternalRouterError(404, { 8545 pathname: it 8546 }); 8547 } 8548 } catch (st) { 8549 return { 8550 type: "error", 8551 result: st 8552 }; 8553 } finally { 8554 et && d.signal.removeEventListener("abort", et); 8555 } 8556 return _e; 8557 } 8558 async function convertDataStrategyResultToDataResult(d) { 8559 var _a, _b, _c, _d, _e, _f; 8560 let { result: o, type: h } = d; 8561 if (isResponse(o)) { 8562 let g; 8563 try { 8564 let b = o.headers.get("Content-Type"); 8565 b && /\bapplication\/json\b/.test(b) ? o.body == null ? g = null : g = await o.json() : g = await o.text(); 8566 } catch (b) { 8567 return { 8568 type: "error", 8569 error: b 8570 }; 8571 } 8572 return h === "error" ? { 8573 type: "error", 8574 error: new ErrorResponseImpl(o.status, o.statusText, g), 8575 statusCode: o.status, 8576 headers: o.headers 8577 } : { 8578 type: "data", 8579 data: g, 8580 statusCode: o.status, 8581 headers: o.headers 8582 }; 8583 } 8584 return h === "error" ? isDataWithResponseInit(o) ? o.data instanceof Error ? { 8585 type: "error", 8586 error: o.data, 8587 statusCode: (_a = o.init) == null ? void 0 : _a.status, 8588 headers: ((_b = o.init) == null ? void 0 : _b.headers) ? new Headers(o.init.headers) : void 0 8589 } : { 8590 type: "error", 8591 error: new ErrorResponseImpl(((_c = o.init) == null ? void 0 : _c.status) || 500, void 0, o.data), 8592 statusCode: isRouteErrorResponse(o) ? o.status : void 0, 8593 headers: ((_d = o.init) == null ? void 0 : _d.headers) ? new Headers(o.init.headers) : void 0 8594 } : { 8595 type: "error", 8596 error: o, 8597 statusCode: isRouteErrorResponse(o) ? o.status : void 0 8598 } : isDataWithResponseInit(o) ? { 8599 type: "data", 8600 data: o.data, 8601 statusCode: (_e = o.init) == null ? void 0 : _e.status, 8602 headers: ((_f = o.init) == null ? void 0 : _f.headers) ? new Headers(o.init.headers) : void 0 8603 } : { 8604 type: "data", 8605 data: o 8606 }; 8607 } 8608 function normalizeRelativeRoutingRedirectResponse(d, o, h, g, b) { 8609 let $ = d.headers.get("Location"); 8610 if (invariant$1($, "Redirects returned/thrown from loaders/actions must have a Location header"), !ABSOLUTE_URL_REGEX.test($)) { 8611 let _e = g.slice(0, g.findIndex((et) => et.route.id === h) + 1); 8612 $ = normalizeTo(new URL(o.url), _e, b, $), d.headers.set("Location", $); 8613 } 8614 return d; 8615 } 8616 function normalizeRedirectLocation(d, o, h) { 8617 if (ABSOLUTE_URL_REGEX.test(d)) { 8618 let g = d, b = g.startsWith("//") ? new URL(o.protocol + g) : new URL(g), $ = stripBasename(b.pathname, h) != null; 8619 if (b.origin === o.origin && $) return b.pathname + b.search + b.hash; 8620 } 8621 return d; 8622 } 8623 function createClientSideRequest(d, o, h, g) { 8624 let b = d.createURL(stripHashFromPath(o)).toString(), $ = { 8625 signal: h 8626 }; 8627 if (g && isMutationMethod(g.formMethod)) { 8628 let { formMethod: _e, formEncType: et } = g; 8629 $.method = _e.toUpperCase(), et === "application/json" ? ($.headers = new Headers({ 8630 "Content-Type": et 8631 }), $.body = JSON.stringify(g.json)) : et === "text/plain" ? $.body = g.text : et === "application/x-www-form-urlencoded" && g.formData ? $.body = convertFormDataToSearchParams(g.formData) : $.body = g.formData; 8632 }
8633 return new Request(b, $); 8634 } 8635 function convertFormDataToSearchParams(d) { 8636 let o = new URLSearchParams(); 8637 for (let [h, g] of d.entries()) o.append(h, typeof g == "string" ? g : g.name); 8638 return o; 8639 } 8640 function convertSearchParamsToFormData(d) { 8641 let o = new FormData(); 8642 for (let [h, g] of d.entries()) o.append(h, g); 8643 return o; 8644 } 8645 function processRouteLoaderData(d, o, h, g = false, b = false) { 8646 let $ = {}, _e = null, et, tt = false, rt = {}, nt = h && isErrorResult(h[1]) ? h[1].error : void 0; 8647 return d.forEach((st) => { 8648 if (!(st.route.id in o)) return; 8649 let ot = st.route.id, it = o[ot]; 8650 if (invariant$1(!isRedirectResult(it), "Cannot handle redirect results in processLoaderData"), isErrorResult(it)) { 8651 let at = it.error; 8652 if (nt !== void 0 && (at = nt, nt = void 0), _e = _e || {}, b) _e[ot] = at; 8653 else { 8654 let lt = findNearestBoundary(d, ot); 8655 _e[lt.route.id] == null && (_e[lt.route.id] = at); 8656 } 8657 g || ($[ot] = ResetLoaderDataSymbol), tt || (tt = true, et = isRouteErrorResponse(it.error) ? it.error.status : 500), it.headers && (rt[ot] = it.headers); 8658 } else $[ot] = it.data, it.statusCode && it.statusCode !== 200 && !tt && (et = it.statusCode), it.headers && (rt[ot] = it.headers); 8659 }), nt !== void 0 && h && (_e = { 8660 [h[0]]: nt 8661 }, h[2] && ($[h[2]] = void 0)), { 8662 loaderData: $, 8663 errors: _e, 8664 statusCode: et || 200, 8665 loaderHeaders: rt 8666 }; 8667 } 8668 function processLoaderData(d, o, h, g, b, $) { 8669 let { loaderData: _e, errors: et } = processRouteLoaderData(o, h, g); 8670 return b.filter((tt) => !tt.matches || tt.matches.some((rt) => rt.shouldLoad)).forEach((tt) => { 8671 let { key: rt, match: nt, controller: st } = tt, ot = $[rt]; 8672 if (invariant$1(ot, "Did not find corresponding fetcher result"), !(st && st.signal.aborted)) if (isErrorResult(ot)) { 8673 let it = findNearestBoundary(d.matches, nt == null ? void 0 : nt.route.id); 8674 et && et[it.route.id] || (et = { 8675 ...et, 8676 [it.route.id]: ot.error 8677 }), d.fetchers.delete(rt); 8678 } else if (isRedirectResult(ot)) invariant$1(false, "Unhandled fetcher revalidation redirect"); 8679 else { 8680 let it = getDoneFetcher(ot.data); 8681 d.fetchers.set(rt, it); 8682 } 8683 }), { 8684 loaderData: _e, 8685 errors: et 8686 }; 8687 } 8688 function mergeLoaderData(d, o, h, g) { 8689 let b = Object.entries(o).filter(([, $]) => $ !== ResetLoaderDataSymbol).reduce(($, [_e, et]) => ($[_e] = et, $), {}); 8690 for (let $ of h) { 8691 let _e = $.route.id; 8692 if (!o.hasOwnProperty(_e) && d.hasOwnProperty(_e) && $.route.loader && (b[_e] = d[_e]), g && g.hasOwnProperty(_e)) break; 8693 } 8694 return b; 8695 } 8696 function getActionDataForCommit(d) { 8697 return d ? isErrorResult(d[1]) ? { 8698 actionData: {} 8699 } : { 8700 actionData: { 8701 [d[0]]: d[1].data 8702 } 8703 } : {}; 8704 } 8705 function findNearestBoundary(d, o) { 8706 return (o ? d.slice(0, d.findIndex((g) => g.route.id === o) + 1) : [ 8707 ...d 8708 ]).reverse().find((g) => g.route.hasErrorBoundary === true) || d[0]; 8709 } 8710 function getShortCircuitMatches(d) { 8711 let o = d.length === 1 ? d[0] : d.find((h) => h.index || !h.path || h.path === "/") || { 8712 id: "__shim-error-route__" 8713 }; 8714 return { 8715 matches: [ 8716 { 8717 params: {}, 8718 pathname: "", 8719 pathnameBase: "", 8720 route: o 8721 } 8722 ], 8723 route: o 8724 }; 8725 } 8726 function getInternalRouterError(d, { pathname: o, routeId: h, method: g, type: b, message: $ } = {}) { 8727 let _e = "Unknown Server Error", et = "Unknown @remix-run/router error"; 8728 return d === 400 ? (_e = "Bad Request", g && o && h ? et = "You made a ".concat(g, ' request to "').concat(o, '" but did not provide a `loader` for route "').concat(h, '", so there is no way to handle the request.') : b === "invalid-body" && (et = "Unable to encode submission body")) : d === 403 ? (_e = "Forbidden", et = 'Route "'.concat(h, '" does not match URL "').concat(o, '"')) : d === 404 ? (_e = "Not Found", et = 'No route matches URL "'.concat(o, '"')) : d === 405 && (_e = "Method Not Allowed", g && o && h ? et = "You made a ".concat(g.toUpperCase(), ' request to "').concat(o, '" but did not provide an `action` for route "').concat(h, '", so there is no way to handle the request.') : g && (et = 'Invalid request method "'.concat(g.toUpperCase(), '"'))), new ErrorResponseImpl(d || 500, _e, new Error(et), true); 8729 } 8730 function findRedirect(d) { 8731 let o = Object.entries(d); 8732 for (let h = o.length - 1; h >= 0; h--) { 8733 let [g, b] = o[h]; 8734 if (isRedirectResult(b)) return { 8735 key: g, 8736 result: b 8737 }; 8738 } 8739 } 8740 function stripHashFromPath(d) { 8741 let o = typeof d == "string" ? parsePath(d) : d; 8742 return createPath({ 8743 ...o, 8744 hash: "" 8745 }); 8746 } 8747 function isHashChangeOnly(d, o) { 8748 return d.pathname !== o.pathname || d.search !== o.search ? false : d.hash === "" ? o.hash !== "" : d.hash === o.hash ? true : o.hash !== ""; 8749 } 8750 function isRedirectDataStrategyResult(d) { 8751 return isResponse(d.result) && redirectStatusCodes.has(d.result.status); 8752 } 8753 function isErrorResult(d) { 8754 return d.type === "error"; 8755 } 8756 function isRedirectResult(d) { 8757 return (d && d.type) === "redirect"; 8758 } 8759 function isDataWithResponseInit(d) { 8760 return typeof d == "object" && d != null && "type" in d && "data" in d && "init" in d && d.type === "DataWithResponseInit"; 8761 } 8762 function isResponse(d) { 8763 return d != null && typeof d.status == "number" && typeof d.statusText == "string" && typeof d.headers == "object" && typeof d.body < "u"; 8764 } 8765 function isValidMethod(d) { 8766 return validRequestMethods.has(d.toUpperCase()); 8767 } 8768 function isMutationMethod(d) { 8769 return validMutationMethods.has(d.toUpperCase()); 8770 } 8771 function hasNakedIndexQuery(d) { 8772 return new URLSearchParams(d).getAll("index").some((o) => o === ""); 8773 } 8774 function getTargetMatch(d, o) { 8775 let h = typeof o == "string" ? parsePath(o).search : o.search; 8776 if (d[d.length - 1].route.index && hasNakedIndexQuery(h || "")) return d[d.length - 1]; 8777 let g = getPathContributingMatches(d); 8778 return g[g.length - 1]; 8779 } 8780 function getSubmissionFromNavigation(d) { 8781 let { formMethod: o, formAction: h, formEncType: g, text: b, formData: $, json: _e } = d; 8782 if (!(!o || !h || !g)) { 8783 if (b != null) return { 8784 formMethod: o, 8785 formAction: h, 8786 formEncType: g, 8787 formData: void 0, 8788 json: void 0, 8789 text: b 8790 }; 8791 if ($ != null) return { 8792 formMethod: o, 8793 formAction: h, 8794 formEncType: g, 8795 formData: $, 8796 json: void 0, 8797 text: void 0 8798 }; 8799 if (_e !== void 0) return { 8800 formMethod: o, 8801 formAction: h, 8802 formEncType: g, 8803 formData: void 0, 8804 json: _e, 8805 text: void 0 8806 }; 8807 } 8808 } 8809 function getLoadingNavigation(d, o) { 8810 return o ? { 8811 state: "loading", 8812 location: d, 8813 formMethod: o.formMethod, 8814 formAction: o.formAction, 8815 formEncType: o.formEncType, 8816 formData: o.formData, 8817 json: o.json, 8818 text: o.text 8819 } : { 8820 state: "loading", 8821 location: d, 8822 formMethod: void 0, 8823 formAction: void 0, 8824 formEncType: void 0, 8825 formData: void 0, 8826 json: void 0, 8827 text: void 0 8828 }; 8829 } 8830 function getSubmittingNavigation(d, o) { 8831 return { 8832 state: "submitting", 8833 location: d, 8834 formMethod: o.formMethod, 8835 formAction: o.formAction, 8836 formEncType: o.formEncType, 8837 formData: o.formData, 8838 json: o.json, 8839 text: o.text 8840 }; 8841 } 8842 function getLoadingFetcher(d, o) { 8843 return d ? {
8844 state: "loading", 8845 formMethod: d.formMethod, 8846 formAction: d.formAction, 8847 formEncType: d.formEncType, 8848 formData: d.formData, 8849 json: d.json, 8850 text: d.text, 8851 data: o 8852 } : { 8853 state: "loading", 8854 formMethod: void 0, 8855 formAction: void 0, 8856 formEncType: void 0, 8857 formData: void 0, 8858 json: void 0, 8859 text: void 0, 8860 data: o 8861 }; 8862 } 8863 function getSubmittingFetcher(d, o) { 8864 return { 8865 state: "submitting", 8866 formMethod: d.formMethod, 8867 formAction: d.formAction, 8868 formEncType: d.formEncType, 8869 formData: d.formData, 8870 json: d.json, 8871 text: d.text, 8872 data: o ? o.data : void 0 8873 }; 8874 } 8875 function getDoneFetcher(d) { 8876 return { 8877 state: "idle", 8878 formMethod: void 0, 8879 formAction: void 0, 8880 formEncType: void 0, 8881 formData: void 0, 8882 json: void 0, 8883 text: void 0, 8884 data: d 8885 }; 8886 } 8887 function restoreAppliedTransitions(d, o) { 8888 try { 8889 let h = d.sessionStorage.getItem(TRANSITIONS_STORAGE_KEY); 8890 if (h) { 8891 let g = JSON.parse(h); 8892 for (let [b, $] of Object.entries(g || {})) $ && Array.isArray($) && o.set(b, new Set($ || [])); 8893 } 8894 } catch (e2) { 8895 } 8896 } 8897 function persistAppliedTransitions(d, o) { 8898 if (o.size > 0) { 8899 let h = {}; 8900 for (let [g, b] of o) h[g] = [ 8901 ...b 8902 ]; 8903 try { 8904 d.sessionStorage.setItem(TRANSITIONS_STORAGE_KEY, JSON.stringify(h)); 8905 } catch (g) { 8906 warning(false, "Failed to save applied view transitions in sessionStorage (".concat(g, ").")); 8907 } 8908 } 8909 } 8910 function createDeferred() { 8911 let d, o, h = new Promise((g, b) => { 8912 d = async ($) => { 8913 g($); 8914 try { 8915 await h; 8916 } catch (e2) { 8917 } 8918 }, o = async ($) => { 8919 b($); 8920 try { 8921 await h; 8922 } catch (e2) { 8923 } 8924 }; 8925 }); 8926 return { 8927 promise: h, 8928 resolve: d, 8929 reject: o 8930 }; 8931 } 8932 var DataRouterContext = reactExports.createContext(null); 8933 DataRouterContext.displayName = "DataRouter"; 8934 var DataRouterStateContext = reactExports.createContext(null); 8935 DataRouterStateContext.displayName = "DataRouterState"; 8936 var ViewTransitionContext = reactExports.createContext({ 8937 isTransitioning: false 8938 }); 8939 ViewTransitionContext.displayName = "ViewTransition"; 8940 var FetchersContext = reactExports.createContext(/* @__PURE__ */ new Map()); 8941 FetchersContext.displayName = "Fetchers"; 8942 var AwaitContext = reactExports.createContext(null); 8943 AwaitContext.displayName = "Await"; 8944 var NavigationContext = reactExports.createContext(null); 8945 NavigationContext.displayName = "Navigation"; 8946 var LocationContext = reactExports.createContext(null); 8947 LocationContext.displayName = "Location"; 8948 var RouteContext = reactExports.createContext({ 8949 outlet: null, 8950 matches: [], 8951 isDataRoute: false 8952 }); 8953 RouteContext.displayName = "Route"; 8954 var RouteErrorContext = reactExports.createContext(null); 8955 RouteErrorContext.displayName = "RouteError"; 8956 function useHref(d, { relative: o } = {}) { 8957 invariant$1(useInRouterContext(), "useHref() may be used only in the context of a <Router> component."); 8958 let { basename: h, navigator: g } = reactExports.useContext(NavigationContext), { hash: b, pathname: $, search: _e } = useResolvedPath(d, { 8959 relative: o 8960 }), et = $; 8961 return h !== "/" && (et = $ === "/" ? h : joinPaths([ 8962 h, 8963 $ 8964 ])), g.createHref({ 8965 pathname: et, 8966 search: _e, 8967 hash: b 8968 }); 8969 } 8970 function useInRouterContext() { 8971 return reactExports.useContext(LocationContext) != null; 8972 } 8973 function useLocation() { 8974 return invariant$1(useInRouterContext(), "useLocation() may be used only in the context of a <Router> component."), reactExports.useContext(LocationContext).location; 8975 } 8976 var navigateEffectWarning = "You should call navigate() in a React.useEffect(), not when your component is first rendered."; 8977 function useIsomorphicLayoutEffect$3(d) { 8978 reactExports.useContext(NavigationContext).static || reactExports.useLayoutEffect(d); 8979 } 8980 function useNavigate() { 8981 let { isDataRoute: d } = reactExports.useContext(RouteContext); 8982 return d ? useNavigateStable() : useNavigateUnstable(); 8983 } 8984 function useNavigateUnstable() { 8985 invariant$1(useInRouterContext(), "useNavigate() may be used only in the context of a <Router> component."); 8986 let d = reactExports.useContext(DataRouterContext), { basename: o, navigator: h } = reactExports.useContext(NavigationContext), { matches: g } = reactExports.useContext(RouteContext), { pathname: b } = useLocation(), $ = JSON.stringify(getResolveToMatches(g)), _e = reactExports.useRef(false); 8987 return useIsomorphicLayoutEffect$3(() => { 8988 _e.current = true; 8989 }), reactExports.useCallback((tt, rt = {}) => {
8990 if (warning(_e.current, navigateEffectWarning), !_e.current) return; 8991 if (typeof tt == "number") { 8992 h.go(tt); 8993 return; 8994 } 8995 let nt = resolveTo(tt, JSON.parse($), b, rt.relative === "path"); 8996 d == null && o !== "/" && (nt.pathname = nt.pathname === "/" ? o : joinPaths([ 8997 o, 8998 nt.pathname 8999 ])), (rt.replace ? h.replace : h.push)(nt, rt.state, rt); 9000 }, [ 9001 o, 9002 h, 9003 $, 9004 b, 9005 d 9006 ]); 9007 } 9008 reactExports.createContext(null); 9009 function useResolvedPath(d, { relative: o } = {}) { 9010 let { matches: h } = reactExports.useContext(RouteContext), { pathname: g } = useLocation(), b = JSON.stringify(getResolveToMatches(h)); 9011 return reactExports.useMemo(() => resolveTo(d, JSON.parse(b), g, o === "path"), [ 9012 d, 9013 b, 9014 g, 9015 o 9016 ]); 9017 } 9018 function useRoutesImpl(d, o, h, g) { 9019 invariant$1(useInRouterContext(), "useRoutes() may be used only in the context of a <Router> component."); 9020 let { navigator: b } = reactExports.useContext(NavigationContext), { matches: $ } = reactExports.useContext(RouteContext), _e = $[$.length - 1], et = _e ? _e.params : {}, tt = _e ? _e.pathname : "/", rt = _e ? _e.pathnameBase : "/", nt = _e && _e.route; 9021 { 9022 let ut = nt && nt.path || ""; 9023 warningOnce(tt, !nt || ut.endsWith("*") || ut.endsWith("*?"), 'You rendered descendant <Routes> (or called `useRoutes()`) at "'.concat(tt, '" (under <Route path="').concat(ut, '">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="').concat(ut, '"> to <Route path="').concat(ut === "/" ? "*" : "".concat(ut, "/*"), '">.')); 9024 } 9025 let st = useLocation(), ot; 9026 ot = st; 9027 let it = ot.pathname || "/", at = it; 9028 if (rt !== "/") { 9029 let ut = rt.replace(/^\//, "").split("/"); 9030 at = "/" + it.replace(/^\//, "").split("/").slice(ut.length).join("/"); 9031 } 9032 let lt = matchRoutes(d, { 9033 pathname: at 9034 }); 9035 return warning(nt || lt != null, 'No routes matched location "'.concat(ot.pathname).concat(ot.search).concat(ot.hash, '" ')), warning(lt == null || lt[lt.length - 1].route.element !== void 0 || lt[lt.length - 1].route.Component !== void 0 || lt[lt.length - 1].route.lazy !== void 0, 'Matched leaf route at location "'.concat(ot.pathname).concat(ot.search).concat(ot.hash, '" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.')), _renderMatches(lt && lt.map((ut) => Object.assign({}, ut, { 9036 params: Object.assign({}, et, ut.params), 9037 pathname: joinPaths([ 9038 rt, 9039 b.encodeLocation ? b.encodeLocation(ut.pathname).pathname : ut.pathname 9040 ]), 9041 pathnameBase: ut.pathnameBase === "/" ? rt : joinPaths([ 9042 rt, 9043 b.encodeLocation ? b.encodeLocation(ut.pathnameBase).pathname : ut.pathnameBase 9044 ]) 9045 })), $, h, g); 9046 } 9047 function DefaultErrorComponent() { 9048 let d = useRouteError(), o = isRouteErrorResponse(d) ? "".concat(d.status, " ").concat(d.statusText) : d instanceof Error ? d.message : JSON.stringify(d), h = d instanceof Error ? d.stack : null, g = "rgba(200,200,200, 0.5)", b = { 9049 padding: "0.5rem", 9050 backgroundColor: g 9051 }, $ = { 9052 padding: "2px 4px", 9053 backgroundColor: g 9054 }, _e = null; 9055 return console.error("Error handled by React Router default ErrorBoundary:", d), _e = reactExports.createElement(reactExports.Fragment, null, reactExports.createElement("p", null, "\u{1F4BF} Hey developer \u{1F44B}"), reactExports.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", reactExports.createElement("code", { 9056 style: $ 9057 }, "ErrorBoundary"), " or", " ", reactExports.createElement("code", { 9058 style: $ 9059 }, "errorElement"), " prop on your route.")), reactExports.createElement(reactExports.Fragment, null, reactExports.createElement("h2", null, "Unexpected Application
9059Error!"), reactExports.createElement("h3", { 9060 style: { 9061 fontStyle: "italic" 9062 } 9063 }, o), h ? reactExports.createElement("pre", { 9064 style: b 9065 }, h) : null, _e); 9066 } 9067 var defaultErrorElement = reactExports.createElement(DefaultErrorComponent, null), RenderErrorBoundary = class extends reactExports.Component { 9068 constructor(d) { 9069 super(d), this.state = { 9070 location: d.location, 9071 revalidation: d.revalidation, 9072 error: d.error 9073 }; 9074 } 9075 static getDerivedStateFromError(d) { 9076 return { 9077 error: d 9078 }; 9079 } 9080 static getDerivedStateFromProps(d, o) { 9081 return o.location !== d.location || o.revalidation !== "idle" && d.revalidation === "idle" ? { 9082 error: d.error, 9083 location: d.location, 9084 revalidation: d.revalidation 9085 } : { 9086 error: d.error !== void 0 ? d.error : o.error, 9087 location: o.location, 9088 revalidation: d.revalidation || o.revalidation 9089 }; 9090 } 9091 componentDidCatch(d, o) { 9092 console.error("React Router caught the following error during render", d, o); 9093 } 9094 render() { 9095 return this.state.error !== void 0 ? reactExports.createElement(RouteContext.Provider, { 9096 value: this.props.routeContext 9097 }, reactExports.createElement(RouteErrorContext.Provider, { 9098 value: this.state.error, 9099 children: this.props.component 9100 })) : this.props.children; 9101 } 9102 };
9103 function RenderedRoute({ routeContext: d, match: o, children: h }) { 9104 let g = reactExports.useContext(DataRouterContext); 9105 return g && g.static && g.staticContext && (o.route.errorElement || o.route.ErrorBoundary) && (g.staticContext._deepestRenderedBoundaryId = o.route.id), reactExports.createElement(RouteContext.Provider, { 9106 value: d 9107 }, h); 9108 } 9109 function _renderMatches(d, o = [], h = null, g = null) { 9110 if (d == null) { 9111 if (!h) return null; 9112 if (h.errors) d = h.matches; 9113 else if (o.length === 0 && !h.initialized && h.matches.length > 0) d = h.matches; 9114 else return null; 9115 } 9116 let b = d, $ = h == null ? void 0 : h.errors; 9117 if ($ != null) { 9118 let tt = b.findIndex((rt) => rt.route.id && ($ == null ? void 0 : $[rt.route.id]) !== void 0); 9119 invariant$1(tt >= 0, "Could not find a matching route for errors on route IDs: ".concat(Object.keys($).join(","))), b = b.slice(0, Math.min(b.length, tt + 1)); 9120 } 9121 let _e = false, et = -1; 9122 if (h) for (let tt = 0; tt < b.length; tt++) { 9123 let rt = b[tt]; 9124 if ((rt.route.HydrateFallback || rt.route.hydrateFallbackElement) && (et = tt), rt.route.id) { 9125 let { loaderData: nt, errors: st } = h, ot = rt.route.loader && !nt.hasOwnProperty(rt.route.id) && (!st || st[rt.route.id] === void 0); 9126 if (rt.route.lazy || ot) { 9127 _e = true, et >= 0 ? b = b.slice(0, et + 1) : b = [ 9128 b[0] 9129 ]; 9130 break; 9131 } 9132 } 9133 } 9134 return b.reduceRight((tt, rt, nt) => { 9135 let st, ot = false, it = null, at = null; 9136 h && (st = $ && rt.route.id ? $[rt.route.id] : void 0, it = rt.route.errorElement || defaultErrorElement, _e && (et < 0 && nt === 0 ? (warningOnce("route-fallback", false, "No `HydrateFallback` element provided to render during initial hydration"), ot = true, at = null) : et === nt && (ot = true, at = rt.route.hydrateFallbackElement || null))); 9137 let lt = o.concat(b.slice(0, nt + 1)), ct = () => { 9138 let ut; 9139 return st ? ut = it : ot ? ut = at : rt.route.Component ? ut = reactExports.createElement(rt.route.Component, null) : rt.route.element ? ut = rt.route.element : ut = tt, reactExports.createElement(RenderedRoute, { 9140 match: rt, 9141 routeContext: { 9142 outlet: tt, 9143 matches: lt, 9144 isDataRoute: h != null 9145 }, 9146 children: ut 9147 }); 9148 }; 9149 return h && (rt.route.ErrorBoundary || rt.route.errorElement || nt === 0) ? reactExports.createElement(RenderErrorBoundary, { 9150 location: h.location, 9151 revalidation: h.revalidation, 9152 component: it, 9153 error: st, 9154 children: ct(), 9155 routeContext: { 9156 outlet: null, 9157 matches: lt, 9158 isDataRoute: true 9159 } 9160 }) : ct(); 9161 }, null); 9162 } 9163 function getDataRouterConsoleError(d) { 9164 return "".concat(d, " must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router."); 9165 } 9166 function useDataRouterContext(d) { 9167 let o = reactExports.useContext(DataRouterContext); 9168 return invariant$1(o, getDataRouterConsoleError(d)), o; 9169 } 9170 function useDataRouterState(d) { 9171 let o = reactExports.useContext(DataRouterStateContext); 9172 return invariant$1(o, getDataRouterConsoleError(d)), o; 9173 } 9174 function useRouteContext(d) { 9175 let o = reactExports.useContext(RouteContext); 9176 return invariant$1(o, getDataRouterConsoleError(d)), o; 9177 } 9178 function useCurrentRouteId(d) { 9179 let o = useRouteContext(d), h = o.matches[o.matches.length - 1]; 9180 return invariant$1(h.route.id, "".concat(d, ' can only be used on routes that contain a unique "id"')), h.route.id; 9181 } 9182 function useRouteId() { 9183 return useCurrentRouteId("useRouteId"); 9184 } 9185 function useRouteError() { 9186 var _a; 9187 let d = reactExports.useContext(RouteErrorContext), o = useDataRouterState("useRouteError"), h = useCurrentRouteId("useRouteError"); 9188 return d !== void 0 ? d : (_a = o.errors) == null ? void 0 : _a[h]; 9189 } 9190 function useNavigateStable() { 9191 let { router: d } = useDataRouterContext("useNavigate"), o = useCurrentRouteId("useNavigate"), h = reactExports.useRef(false); 9192 return useIsomorphicLayoutEffect$3(() => { 9193 h.current = true; 9194 }), reactExports.useCallback(async (b, $ = {}) => {
9195 warning(h.current, navigateEffectWarning), h.current && (typeof b == "number" ? d.navigate(b) : await d.navigate(b, { 9196 fromRouteId: o, 9197 ...$ 9198 })); 9199 }, [ 9200 d, 9201 o 9202 ]); 9203 } 9204 var alreadyWarned$1 = {}; 9205 function warningOnce(d, o, h) { 9206 !o && !alreadyWarned$1[d] && (alreadyWarned$1[d] = true, warning(false, h)); 9207 } 9208 var alreadyWarned2 = {}; 9209 function warnOnce$1(d, o) { 9210 !d && !alreadyWarned2[o] && (alreadyWarned2[o] = true, console.warn(o)); 9211 } 9212 function mapRouteProperties(d) { 9213 let o = { 9214 hasErrorBoundary: d.hasErrorBoundary || d.ErrorBoundary != null || d.errorElement != null 9215 }; 9216 return d.Component && (d.element && warning(false, "You should not include both `Component` and `element` on your route - `Component` will be used."), Object.assign(o, { 9217 element: reactExports.createElement(d.Component), 9218 Component: void 0 9219 })), d.HydrateFallback && (d.hydrateFallbackElement && warning(false, "You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."), Object.assign(o, { 9220 hydrateFallbackElement: reactExports.createElement(d.HydrateFallback), 9221 HydrateFallback: void 0 9222 })), d.ErrorBoundary && (d.errorElement && warning(false, "You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."), Object.assign(o, { 9223 errorElement: reactExports.createElement(d.ErrorBoundary), 9224 ErrorBoundary: void 0 9225 })), o; 9226 } 9227 var hydrationRouteProperties = [ 9228 "HydrateFallback", 9229 "hydrateFallbackElement" 9230 ], Deferred = class { 9231 constructor() { 9232 this.status = "pending", this.promise = new Promise((d, o) => { 9233 this.resolve = (h) => { 9234 this.status === "pending" && (this.status = "resolved", d(h)); 9235 }, this.reject = (h) => { 9236 this.status === "pending" && (this.status = "rejected", o(h)); 9237 }; 9238 }); 9239 } 9240 }; 9241 function RouterProvider({ router: d, flushSync: o }) { 9242 let [h, g] = reactExports.useState(d.state), [b, $] = reactExports.useState(), [_e, et] = reactExports.useState({ 9243 isTransitioning: false 9244 }), [tt, rt] = reactExports.useState(), [nt, st] = reactExports.useState(), [ot, it] = reactExports.useState(), at = reactExports.useRef(/* @__PURE__ */ new Map()), lt = reactExports.useCallback((dt, { deletedFetchers: pt, flushSync: ht, viewTransitionOpts: mt }) => { 9245 dt.fetchers.forEach((yt, xt) => { 9246 yt.data !== void 0 && at.current.set(xt, yt.data); 9247 }), pt.forEach((yt) => at.current.delete(yt)), warnOnce$1(ht === false || o != null, 'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.'); 9248 let gt = d.window != null && d.window.document != null && typeof d.window.document.startViewTransition == "function"; 9249 if (warnOnce$1(mt == null || gt, "You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."), !mt || !gt) { 9250 o && ht ? o(() => g(dt)) : reactExports.startTransition(() => g(dt)); 9251 return; 9252 } 9253 if (o && ht) { 9254 o(() => { 9255 nt && (tt && tt.resolve(), nt.skipTransition()), et({ 9256 isTransitioning: true, 9257 flushSync: true, 9258 currentLocation: mt.currentLocation, 9259 nextLocation: mt.nextLocation 9260 }); 9261 }); 9262 let yt = d.window.document.startViewTransition(() => { 9263 o(() => g(dt)); 9264 }); 9265 yt.finished.finally(() => { 9266 o(() => { 9267 rt(void 0), st(void 0), $(void 0), et({ 9268 isTransitioning: false 9269 }); 9270 }); 9271 }), o(() => st(yt)); 9272 return; 9273 } 9274 nt ? (tt && tt.resolve(), nt.skipTransition(), it({ 9275 state: dt, 9276 currentLocation: mt.currentLocation, 9277 nextLocation: mt.nextLocation 9278 })) : ($(dt), et({ 9279 isTransitioning: true, 9280 flushSync: false, 9281 currentLocation: mt.currentLocation, 9282 nextLocation: mt.nextLocation 9283 })); 9284 }, [ 9285 d.window, 9286 o, 9287 nt, 9288 tt 9289 ]); 9290 reactExports.useLayoutEffect(() => d.subscribe(lt), [ 9291 d, 9292 lt 9293 ]), reactExports.useEffect(() => { 9294 _e.isTransitioning && !_e.flushSync && rt(new Deferred()); 9295 }, [ 9296 _e 9297 ]), reactExports.useEffect(() => { 9298 if (tt && b && d.window) { 9299 let dt = b, pt = tt.promise, ht = d.window.document.startViewTransition(async () => { 9300 reactExports.startTransition(() => g(dt)), await pt; 9301 }); 9302 ht.finished.finally(() => { 9303 rt(void 0), st(void 0), $(void 0), et({ 9304 isTransitioning: false 9305 }); 9306 }), st(ht); 9307 } 9308 }, [ 9309 b, 9310 tt, 9311 d.window 9312 ]), reactExports.useEffect(() => { 9313 tt && b && h.location.key === b.location.key && tt.resolve(); 9314 }, [ 9315 tt, 9316 nt, 9317 h.location, 9318 b 9319 ]), reactExports.useEffect(() => { 9320 !_e.isTransitioning && ot && ($(ot.state), et({ 9321 isTransitioning: true, 9322 flushSync: false, 9323 currentLocation: ot.currentLocation, 9324 nextLocation: ot.nextLocation 9325 }), it(void 0)); 9326 }, [ 9327 _e.isTransitioning, 9328 ot 9329 ]);
9330 let ct = reactExports.useMemo(() => ({ 9331 createHref: d.createHref, 9332 encodeLocation: d.encodeLocation, 9333 go: (dt) => d.navigate(dt), 9334 push: (dt, pt, ht) => d.navigate(dt, { 9335 state: pt, 9336 preventScrollReset: ht == null ? void 0 : ht.preventScrollReset 9337 }), 9338 replace: (dt, pt, ht) => d.navigate(dt, { 9339 replace: true, 9340 state: pt, 9341 preventScrollReset: ht == null ? void 0 : ht.preventScrollReset 9342 }) 9343 }), [ 9344 d 9345 ]), ut = d.basename || "/", ft = reactExports.useMemo(() => ({ 9346 router: d, 9347 navigator: ct, 9348 static: false, 9349 basename: ut 9350 }), [ 9351 d, 9352 ct, 9353 ut 9354 ]); 9355 return reactExports.createElement(reactExports.Fragment, null, reactExports.createElement(DataRouterContext.Provider, { 9356 value: ft 9357 }, reactExports.createElement(DataRouterStateContext.Provider, { 9358 value: h 9359 }, reactExports.createElement(FetchersContext.Provider, { 9360 value: at.current 9361 }, reactExports.createElement(ViewTransitionContext.Provider, { 9362 value: _e 9363 }, reactExports.createElement(Router, { 9364 basename: ut, 9365 location: h.location, 9366 navigationType: h.historyAction, 9367 navigator: ct 9368 }, reactExports.createElement(MemoizedDataRoutes, { 9369 routes: d.routes, 9370 future: d.future, 9371 state: h 9372 })))))), null); 9373 } 9374 var MemoizedDataRoutes = reactExports.memo(DataRoutes); 9375 function DataRoutes({ routes: d, future: o, state: h }) { 9376 return useRoutesImpl(d, void 0, h, o); 9377 } 9378 function Router({ basename: d = "/", children: o = null, location: h, navigationType: g = "POP", navigator: b, static: $ = false }) { 9379 invariant$1(!useInRouterContext(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app."); 9380 let _e = d.replace(/^\/*/, "/"), et = reactExports.useMemo(() => ({ 9381 basename: _e, 9382 navigator: b, 9383 static: $, 9384 future: {} 9385 }), [ 9386 _e, 9387 b, 9388 $ 9389 ]); 9390 typeof h == "string" && (h = parsePath(h)); 9391 let { pathname: tt = "/", search: rt = "", hash: nt = "", state: st = null, key: ot = "default" } = h, it = reactExports.useMemo(() => { 9392 let at = stripBasename(tt, _e); 9393 return at == null ? null : { 9394 location: { 9395 pathname: at, 9396 search: rt, 9397 hash: nt, 9398 state: st, 9399 key: ot 9400 }, 9401 navigationType: g 9402 }; 9403 }, [ 9404 _e, 9405 tt, 9406 rt, 9407 nt, 9408 st, 9409 ot, 9410 g 9411 ]); 9412 return warning(it != null, '<Router basename="'.concat(_e, '"> is not able to match the URL "').concat(tt).concat(rt).concat(nt, "\" because it does not start with the basename, so the <Router> won't render anything.")), it == null ? null : reactExports.createElement(NavigationContext.Provider, { 9413 value: et 9414 }, reactExports.createElement(LocationContext.Provider, { 9415 children: o, 9416 value: it 9417 })); 9418 } 9419 var defaultMethod = "get", defaultEncType = "application/x-www-form-urlencoded"; 9420 function isHtmlElement(d) { 9421 return d != null && typeof d.tagName == "string"; 9422 } 9423 function isButtonElement(d) { 9424 return isHtmlElement(d) && d.tagName.toLowerCase() === "button"; 9425 } 9426 function isFormElement(d) { 9427 return isHtmlElement(d) && d.tagName.toLowerCase() === "form"; 9428 } 9429 function isInputElement(d) { 9430 return isHtmlElement(d) && d.tagName.toLowerCase() === "input"; 9431 } 9432 function isModifiedEvent(d) { 9433 return !!(d.metaKey || d.altKey || d.ctrlKey || d.shiftKey); 9434 } 9435 function shouldProcessLinkClick(d, o) { 9436 return d.button === 0 && (!o || o === "_self") && !isModifiedEvent(d); 9437 } 9438 var _formDataSupportsSubmitter = null; 9439 function isFormDataSubmitterSupported() { 9440 if (_formDataSupportsSubmitter === null) try { 9441 new FormData(document.createElement("form"), 0), _formDataSupportsSubmitter = false; 9442 } catch (e2) { 9443 _formDataSupportsSubmitter = true; 9444 } 9445 return _formDataSupportsSubmitter; 9446 } 9447 var supportedFormEncTypes = /* @__PURE__ */ new Set([ 9448 "application/x-www-form-urlencoded", 9449 "multipart/form-data", 9450 "text/plain" 9451 ]); 9452 function getFormEncType(d) { 9453 return d != null && !supportedFormEncTypes.has(d) ? (warning(false, '"'.concat(d, '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` and will default to "').concat(defaultEncType, '"')), null) : d; 9454 } 9455 function getFormSubmissionInfo(d, o) { 9456 let h, g, b, $, _e; 9457 if (isFormElement(d)) { 9458 let et = d.getAttribute("action"); 9459 g = et ? stripBasename(et, o) : null, h = d.getAttribute("method") || defaultMethod, b = getFormEncType(d.getAttribute("enctype")) || defaultEncType, $ = new FormData(d); 9460 } else if (isButtonElement(d) || isInputElement(d) && (d.type === "submit" || d.type === "image")) { 9461 let et = d.form; 9462 if (et == null) throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>'); 9463 let tt = d.getAttribute("formaction") || et.getAttribute("action"); 9464 if (g = tt ? stripBasename(tt, o) : null, h = d.getAttribute("formmethod") || et.getAttribute("method") || defaultMethod, b = getFormEncType(d.getAttribute("formenctype")) || getFormEncType(et.getAttribute("enctype")) || defaultEncType, $ = new FormData(et, d), !isFormDataSubmitterSupported()) { 9465 let { name: rt, type: nt, value: st } = d; 9466 if (nt === "image") { 9467 let ot = rt ? "".concat(rt, ".") : ""; 9468 $.append("".concat(ot, "x"), "0"), $.append("".concat(ot, "y"), "0"); 9469 } else rt && $.append(rt, st); 9470 } 9471 } else { 9472 if (isHtmlElement(d)) throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">'); 9473 h = defaultMethod, g = null, b = defaultEncType, _e = d; 9474 } 9475 return $ && b === "text/plain" && (_e = $, $ = void 0), { 9476 action: g, 9477 method: h.toLowerCase(), 9478 encType: b, 9479 formData: $, 9480 body: _e 9481 }; 9482 } 9483 function invariant2(d, o) { 9484 if (d === false || d === null || typeof d > "u") throw new Error(o); 9485 } 9486 async function loadRouteModule(d, o) { 9487 if (d.id in o) return o[d.id]; 9488 try { 9489 let h = await import(d.module).then(async (m2) => { 9490 await m2.__tla; 9491 return m2; 9492 }); 9493 return o[d.id] = h, h; 9494 } catch (h) { 9495 return console.error("Error loading route module `".concat(d.module, "`, reloading page...")), console.error(h), window.__reactRouterContext && window.__reactRouterContext.
9495isSpaMode, window.location.reload(), new Promise(() => { 9496 }); 9497 } 9498 } 9499 function isHtmlLinkDescriptor(d) { 9500 return d == null ? false : d.href == null ? d.rel === "preload" && typeof d.imageSrcSet == "string" && typeof d.imageSizes == "string" : typeof d.rel == "string" && typeof d.href == "string"; 9501 } 9502 async function getKeyedPrefetchLinks(d, o, h) { 9503 let g = await Promise.all(d.map(async (b) => { 9504 let $ = o.routes[b.route.id]; 9505 if ($) { 9506 let _e = await loadRouteModule($, h); 9507 return _e.links ? _e.links() : []; 9508 } 9509 return []; 9510 })); 9511 return dedupeLinkDescriptors(g.flat(1).filter(isHtmlLinkDescriptor).filter((b) => b.rel === "stylesheet" || b.rel === "preload").map((b) => b.rel === "stylesheet" ? { 9512 ...b, 9513 rel: "prefetch", 9514 as: "style" 9515 } : { 9516 ...b, 9517 rel: "prefetch" 9518 })); 9519 } 9520 function getNewMatchesForLinks(d, o, h, g, b, $) { 9521 let _e = (tt, rt) => h[rt] ? tt.route.id !== h[rt].route.id : true, et = (tt, rt) => { 9522 var _a; 9523 return h[rt].pathname !== tt.pathname || ((_a = h[rt].route.path) == null ? void 0 : _a.endsWith("*")) && h[rt].params["*"] !== tt.params["*"]; 9524 }; 9525 return $ === "assets" ? o.filter((tt, rt) => _e(tt, rt) || et(tt, rt)) : $ === "data" ? o.filter((tt, rt) => { 9526 var _a; 9527 let nt = g.routes[tt.route.id]; 9528 if (!nt || !nt.hasLoader) return false; 9529 if (_e(tt, rt) || et(tt, rt)) return true; 9530 if (tt.route.shouldRevalidate) { 9531 let st = tt.route.shouldRevalidate({ 9532 currentUrl: new URL(b.pathname + b.search + b.hash, window.origin), 9533 currentParams: ((_a = h[0]) == null ? void 0 : _a.params) || {}, 9534 nextUrl: new URL(d, window.origin), 9535 nextParams: tt.params, 9536 defaultShouldRevalidate: true 9537 }); 9538 if (typeof st == "boolean") return st; 9539 } 9540 return true; 9541 }) : []; 9542 } 9543 function getModuleLinkHrefs(d, o, { includeHydrateFallback: h } = {}) { 9544 return dedupeHrefs(d.map((g) => { 9545 let b = o.routes[g.route.id]; 9546 if (!b) return []; 9547 let $ = [ 9548 b.module 9549 ]; 9550 return b.clientActionModule && ($ = $.concat(b.clientActionModule)), b.clientLoaderModule && ($ = $.concat(b.clientLoaderModule)), h && b.hydrateFallbackModule && ($ = $.concat(b.hydrateFallbackModule)), b.imports && ($ = $.concat(b.imports)), $; 9551 }).flat(1)); 9552 } 9553 function dedupeHrefs(d) { 9554 return [ 9555 ...new Set(d) 9556 ]; 9557 } 9558 function sortKeys(d) { 9559 let o = {}, h = Object.keys(d).sort(); 9560 for (let g of h) o[g] = d[g]; 9561 return o; 9562 } 9563 function dedupeLinkDescriptors(d, o) { 9564 let h = /* @__PURE__ */ new Set(); 9565 return new Set(o), d.reduce((g, b) => { 9566 let $ = JSON.stringify(sortKeys(b)); 9567 return h.has($) || (h.add($), g.push({ 9568 key: $, 9569 link: b 9570 })), g; 9571 }, []); 9572 } 9573 Object.getOwnPropertyNames(Object.prototype).sort().join("\0"); 9574 var NO_BODY_STATUS_CODES = /* @__PURE__ */ new Set([ 9575 100, 9576 101, 9577 204, 9578 205 9579 ]); 9580 function singleFetchUrl(d, o) { 9581 let h = typeof d == "string" ? new URL(d, typeof window > "u" ? "server://singlefetch/" : window.location.origin) : d; 9582 return h.pathname === "/" ? h.pathname = "_root.data" : o && stripBasename(h.pathname, o) === "/" ? h.pathname = "".concat(o.replace(/\/$/, ""), "/_root.data") : h.pathname = "".concat(h.pathname.replace(/\/$/, ""), ".data"), h; 9583 } 9584 function useDataRouterContext2() { 9585 let d = reactExports.useContext(DataRouterContext); 9586 return invariant2(d, "You must render this element inside a <DataRouterContext.Provider> element"), d; 9587 } 9588 function useDataRouterStateContext() { 9589 let d = reactExports.useContext(DataRouterStateContext); 9590 return invariant2(d, "You must render this element inside a <DataRouterStateContext.Provider> element"), d; 9591 } 9592 var FrameworkContext = reactExports.createContext(void 0); 9593 FrameworkContext.displayName = "FrameworkContext"; 9594 function useFrameworkContext() { 9595 let d = reactExports.useContext(FrameworkContext); 9596 return invariant2(d, "You must render this element inside a <HydratedRouter> element"), d; 9597 } 9598 function usePrefetchBehavior(d, o) { 9599 let h = reactExports.useContext(FrameworkContext), [g, b] = reactExports.useState(false), [$, _e] = reactExports.useState(false), { onFocus: et, onBlur: tt, onMouseEnter: rt, onMouseLeave: nt, onTouchStart: st } = o, ot = reactExports.useRef(null); 9600 reactExports.useEffect(() => { 9601 if (d === "render" && _e(true), d === "viewport") { 9602 let lt = (ut) => { 9603 ut.forEach((ft) => { 9604 _e(ft.isIntersecting); 9605 }); 9606 }, ct = new IntersectionObserver(lt, { 9607 threshold: 0.5 9608 }); 9609 return ot.current && ct.observe(ot.current), () => { 9610 ct.disconnect(); 9611 }; 9612 } 9613 }, [ 9614 d 9615 ]), reactExports.useEffect(() => { 9616 if (g) { 9617 let lt = setTimeout(() => { 9618 _e(true); 9619 }, 100); 9620 return () => { 9621 clearTimeout(lt); 9622 }; 9623 } 9624 }, [ 9625 g 9626 ]); 9627 let it = () => { 9628 b(true); 9629 }, at = () => { 9630 b(false), _e(false); 9631 }; 9632 return h ? d !== "intent" ? [ 9633 $, 9634 ot, 9635 {} 9636 ] : [ 9637 $, 9638 ot, 9639 { 9640 onFocus: composeEventHandlers(et, it), 9641 onBlur: composeEventHandlers(tt, at), 9642 onMouseEnter: composeEventHandlers(rt, it), 9643 onMouseLeave: composeEventHandlers(nt, at), 9644 onTouchStart: composeEventHandlers(st, it) 9645 } 9646 ] : [ 9647 false, 9648 ot, 9649 {} 9650 ]; 9651 } 9652 function composeEventHandlers(d, o) { 9653 return (h) => { 9654 d && d(h), h.defaultPrevented || o(h); 9655 }; 9656 } 9657 function PrefetchPageLinks({ page: d, ...o }) { 9658 let { router: h } = useDataRouterContext2(), g = reactExports.useMemo(() => matchRoutes(h.routes, d, h.basename), [ 9659 h.routes, 9660 d, 9661 h.basename 9662 ]); 9663 return g ? reactExports.createElement(PrefetchPageLinksImpl, { 9664 page: d, 9665 matches: g, 9666 ...o 9667 }) : null; 9668 } 9669 function useKeyedPrefetchLinks(d) { 9670 let { manifest: o, routeModules: h } = useFrameworkContext(), [g, b] = reactExports.useState([]); 9671 return reactExports.useEffect(() => { 9672 let $ = false;
9673 return getKeyedPrefetchLinks(d, o, h).then((_e) => { 9674 $ || b(_e); 9675 }), () => { 9676 $ = true; 9677 }; 9678 }, [ 9679 d, 9680 o, 9681 h 9682 ]), g; 9683 } 9684 function PrefetchPageLinksImpl({ page: d, matches: o, ...h }) { 9685 let g = useLocation(), { manifest: b, routeModules: $ } = useFrameworkContext(), { basename: _e } = useDataRouterContext2(), { loaderData: et, matches: tt } = useDataRouterStateContext(), rt = reactExports.useMemo(() => getNewMatchesForLinks(d, o, tt, b, g, "data"), [ 9686 d, 9687 o, 9688 tt, 9689 b, 9690 g 9691 ]), nt = reactExports.useMemo(() => getNewMatchesForLinks(d, o, tt, b, g, "assets"), [ 9692 d, 9693 o, 9694 tt, 9695 b, 9696 g 9697 ]), st = reactExports.useMemo(() => { 9698 if (d === g.pathname + g.search + g.hash) return []; 9699 let at = /* @__PURE__ */ new Set(), lt = false; 9700 if (o.forEach((ut) => { 9701 var _a; 9702 let ft = b.routes[ut.route.id]; 9703 !ft || !ft.hasLoader || (!rt.some((dt) => dt.route.id === ut.route.id) && ut.route.id in et && ((_a = $[ut.route.id]) == null ? void 0 : _a.shouldRevalidate) || ft.hasClientLoader ? lt = true : at.add(ut.route.id)); 9704 }), at.size === 0) return []; 9705 let ct = singleFetchUrl(d, _e); 9706 return lt && at.size > 0 && ct.searchParams.set("_routes", o.filter((ut) => at.has(ut.route.id)).map((ut) => ut.route.id).join(",")), [ 9707 ct.pathname + ct.search 9708 ]; 9709 }, [ 9710 _e, 9711 et, 9712 g, 9713 b, 9714 rt, 9715 o, 9716 d, 9717 $ 9718 ]), ot = reactExports.useMemo(() => getModuleLinkHrefs(nt, b), [ 9719 nt, 9720 b 9721 ]), it = useKeyedPrefetchLinks(nt); 9722 return reactExports.createElement(reactExports.Fragment, null, st.map((at) => reactExports.createElement("link", { 9723 key: at, 9724 rel: "prefetch", 9725 as: "fetch", 9726 href: at, 9727 ...h 9728 })), ot.map((at) => reactExports.createElement("link", { 9729 key: at, 9730 rel: "modulepreload", 9731 href: at, 9732 ...h 9733 })), it.map(({ key: at, link: lt }) => reactExports.createElement("link", { 9734 key: at, 9735 ...lt 9736 }))); 9737 } 9738 function mergeRefs(...d) { 9739 return (o) => { 9740 d.forEach((h) => { 9741 typeof h == "function" ? h(o) : h != null && (h.current = o); 9742 }); 9743 }; 9744 } 9745 var isBrowser$2 = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u"; 9746 try { 9747 isBrowser$2 && (window.__reactRouterVersion = "7.6.3"); 9748 } catch (e2) { 9749 } 9750 function createBrowserRouter(d, o) { 9751 return createRouter({ 9752 basename: o == null ? void 0 : o.basename, 9753 unstable_getContext: o == null ? void 0 : o.unstable_getContext, 9754 future: o == null ? void 0 : o.future, 9755 history: createBrowserHistory({ 9756 window: o == null ? void 0 : o.window 9757 }), 9758 hydrationData: (o == null ? void 0 : o.hydrationData) || parseHydrationData(), 9759 routes: d, 9760 mapRouteProperties, 9761 hydrationRouteProperties, 9762 dataStrategy: o == null ? void 0 : o.dataStrategy, 9763 patchRoutesOnNavigation: o == null ? void 0 : o.patchRoutesOnNavigation, 9764 window: o == null ? void 0 : o.window 9765 }).initialize(); 9766 } 9767 function parseHydrationData() { 9768 let d = window == null ? void 0 : window.__staticRouterHydrationData; 9769 return d && d.errors && (d = { 9770 ...d, 9771 errors: deserializeErrors(d.errors) 9772 }), d; 9773 } 9774 function deserializeErrors(d) { 9775 if (!d) return null; 9776 let o = Object.entries(d), h = {}; 9777 for (let [g, b] of o) if (b && b.__type === "RouteErrorResponse") h[g] = new ErrorResponseImpl(b.status, b.statusText, b.data, b.internal === true); 9778 else if (b && b.__type === "Error") { 9779 if (b.__subType) { 9780 let $ = window[b.__subType]; 9781 if (typeof $ == "function") try { 9782 let _e = new $(b.message); 9783 _e.stack = "", h[g] = _e; 9784 } catch (e2) { 9785 } 9786 } 9787 if (h[g] == null) { 9788 let $ = new Error(b.message); 9789 $.stack = "", h[g] = $; 9790 } 9791 } else h[g] = b; 9792 return h; 9793 } 9794 var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = reactExports.forwardRef(function({ onClick: o, discover: h = "render", prefetch: g = "none", relative: b, reloadDocument: $, replace: _e, state: et, target: tt, to: rt, preventScrollReset: nt, viewTransition: st, ...ot }, it) { 9795 let { basename: at } = reactExports.useContext(NavigationContext), lt = typeof rt == "string" && ABSOLUTE_URL_REGEX2.test(rt), ct, ut = false;
9796 if (typeof rt == "string" && lt && (ct = rt, isBrowser$2)) try { 9797 let xt = new URL(window.location.href), _t = rt.startsWith("//") ? new URL(xt.protocol + rt) : new URL(rt), St = stripBasename(_t.pathname, at); 9798 _t.origin === xt.origin && St != null ? rt = St + _t.search + _t.hash : ut = true; 9799 } catch (e2) { 9800 warning(false, '<Link to="'.concat(rt, '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')); 9801 } 9802 let ft = useHref(rt, { 9803 relative: b 9804 }), [dt, pt, ht] = usePrefetchBehavior(g, ot), mt = useLinkClickHandler(rt, { 9805 replace: _e, 9806 state: et, 9807 target: tt, 9808 preventScrollReset: nt, 9809 relative: b, 9810 viewTransition: st 9811 }); 9812 function gt(xt) { 9813 o && o(xt), xt.defaultPrevented || mt(xt); 9814 } 9815 let yt = reactExports.createElement("a", { 9816 ...ot, 9817 ...ht, 9818 href: ct || ft, 9819 onClick: ut || $ ? o : gt, 9820 ref: mergeRefs(it, pt), 9821 target: tt, 9822 "data-discover": !lt && h === "render" ? "true" : void 0 9823 }); 9824 return dt && !lt ? reactExports.createElement(reactExports.Fragment, null, yt, reactExports.createElement(PrefetchPageLinks, { 9825 page: ft 9826 })) : yt; 9827 }); 9828 Link.displayName = "Link"; 9829 var NavLink = reactExports.forwardRef(function({ "aria-current": o = "page", caseSensitive: h = false, className: g = "", end: b = false, style: $, to: _e, viewTransition: et, children: tt, ...rt }, nt) { 9830 let st = useResolvedPath(_e, { 9831 relative: rt.relative 9832 }), ot = useLocation(), it = reactExports.useContext(DataRouterStateContext), { navigator: at, basename: lt } = reactExports.useContext(NavigationContext), ct = it != null && useViewTransitionState(st) && et === true, ut = at.encodeLocation ? at.encodeLocation(st).pathname : st.pathname, ft = ot.pathname, dt = it && it.navigation && it.navigation.location ? it.navigation.location.pathname : null; 9833 h || (ft = ft.toLowerCase(), dt = dt ? dt.toLowerCase() : null, ut = ut.toLowerCase()), dt && lt && (dt = stripBasename(dt, lt) || dt); 9834 const pt = ut !== "/" && ut.endsWith("/") ? ut.length - 1 : ut.length; 9835 let ht = ft === ut || !b && ft.startsWith(ut) && ft.charAt(pt) === "/", mt = dt != null && (dt === ut || !b && dt.startsWith(ut) && dt.charAt(ut.length) === "/"), gt = { 9836 isActive: ht, 9837 isPending: mt, 9838 isTransitioning: ct 9839 }, yt = ht ? o : void 0, xt; 9840 typeof g == "function" ? xt = g(gt) : xt = [ 9841 g, 9842 ht ? "active" : null, 9843 mt ? "pending" : null, 9844 ct ? "transitioning" : null 9845 ].filter(Boolean).join(" "); 9846 let _t = typeof $ == "function" ? $(gt) : $; 9847 return reactExports.createElement(Link, { 9848 ...rt, 9849 "aria-current": yt, 9850 className: xt, 9851 ref: nt, 9852 style: _t, 9853 to: _e, 9854 viewTransition: et 9855 }, typeof tt == "function" ? tt(gt) : tt); 9856 }); 9857 NavLink.displayName = "NavLink"; 9858 var Form = reactExports.forwardRef(({ discover: d = "render", fetcherKey: o, navigate: h, reloadDocument: g, replace: b, state: $, method: _e = defaultMethod, action: et, onSubmit: tt, relative: rt, preventScrollReset: nt, viewTransition: st, ...ot }, it) => { 9859 let at = useSubmit(), lt = useFormAction(et, { 9860 relative: rt 9861 }), ct = _e.toLowerCase() === "get" ? "get" : "post", ut = typeof et == "string" && ABSOLUTE_URL_REGEX2.test(et), ft = (dt) => { 9862 if (tt && tt(dt), dt.defaultPrevented) return; 9863 dt.preventDefault(); 9864 let pt = dt.nativeEvent.submitter, ht = (pt == null ? void 0 : pt.getAttribute("formmethod")) || _e; 9865 at(pt || dt.currentTarget, { 9866 fetcherKey: o, 9867 method: ht, 9868 navigate: h, 9869 replace: b, 9870 state: $, 9871 relative: rt, 9872 preventScrollReset: nt, 9873 viewTransition: st 9874 }); 9875 }; 9876 return reactExports.createElement("form", { 9877 ref: it, 9878 method: ct, 9879 action: lt, 9880 onSubmit: g ? tt : ft, 9881 ...ot, 9882 "data-discover": !ut && d === "render" ? "true" : void 0 9883 }); 9884 }); 9885 Form.displayName = "Form"; 9886 function getDataRouterConsoleError2(d) { 9887 return "".concat(d, " must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router."); 9888 } 9889 function useDataRouterContext3(d) { 9890 let o = reactExports.useContext(DataRouterContext); 9891 return invariant$1(o, getDataRouterConsoleError2(d)), o; 9892 } 9893 function useLinkClickHandler(d, { target: o, replace: h, state: g, preventScrollReset: b, relative: $, viewTransition: _e } = {}) { 9894 let et = useNavigate(), tt = useLocation(), rt = useResolvedPath(d, { 9895 relative: $ 9896 }); 9897 return reactExports.useCallback((nt) => { 9898 if (shouldProcessLinkClick(nt, o)) { 9899 nt.preventDefault(); 9900 let st = h !== void 0 ? h : createPath(tt) === createPath(rt); 9901 et(d, { 9902 replace: st, 9903 state: g, 9904 preventScrollReset: b, 9905 relative: $, 9906 viewTransition: _e 9907 }); 9908 } 9909 }, [ 9910 tt, 9911 et, 9912 rt, 9913 h, 9914 g, 9915 o, 9916 d, 9917 b, 9918 $, 9919 _e 9920 ]); 9921 } 9922 var fetcherId = 0, getUniqueFetcherId = () => "__".concat(String(++fetcherId), "__"); 9923 function useSubmit() { 9924 let { router: d } = useDataRouterContext3("useSubmit"), { basename: o } = reactExports.useContext(NavigationContext), h = useRouteId(); 9925 return reactExports.useCallback(async (g, b = {}) => { 9926 let { action: $, method: _e, encType: et, formData: tt, body: rt } = getFormSubmissionInfo(g, o); 9927 if (b.navigate === false) { 9928 let nt = b.fetcherKey || getUniqueFetcherId(); 9929 await d.fetch(nt, h, b.action || $, { 9930 preventScrollReset: b.preventScrollReset, 9931 formData: tt, 9932 body: rt, 9933 formMethod: b.method || _e, 9934 formEncType: b.encType || et, 9935 flushSync: b.flushSync 9936 }); 9937 } else await d.navigate(b.action || $, { 9938 preventScrollReset: b.preventScrollReset, 9939 formData: tt, 9940 body: rt, 9941 formMethod: b.method || _e, 9942 formEncType: b.encType || et, 9943 replace: b.replace, 9944 state: b.state, 9945 fromRouteId: h, 9946 flushSync: b.flushSync, 9947 viewTransition: b.viewTransition 9948 }); 9949 }, [ 9950 d, 9951 o, 9952 h 9953 ]); 9954 } 9955 function useFormAction(d, { relative: o } = {}) { 9956 let { basename: h } = reactExports.useContext(NavigationContext), g = reactExports.useContext(RouteContext); 9957 invariant$1(g, "useFormAction must be used inside a RouteContext"); 9958 let [b] = g.matches.slice(-1), $ = { 9959 ...useResolvedPath(d || ".", { 9960 relative: o 9961 }) 9962 }, _e = useLocation(); 9963 if (d == null) { 9964 $.search = _e.search; 9965 let et = new URLSearchParams($.search), tt = et.getAll("index"); 9966 if (tt.some((nt) => nt === "")) { 9967 et.delete("index"), tt.filter((st) => st).forEach((st) => et.append("index", st)); 9968 let nt = et.toString(); 9969 $.search = nt ? "?".concat(nt) : ""; 9970 } 9971 } 9972 return (!d || d === ".") && b.route.index && ($.search = $.search ? $.search.replace(/^\?/, "?index&")
9972: "?index"), h !== "/" && ($.pathname = $.pathname === "/" ? h : joinPaths([ 9973 h, 9974 $.pathname 9975 ])), createPath($); 9976 } 9977 function useViewTransitionState(d, o = {}) { 9978 let h = reactExports.useContext(ViewTransitionContext); 9979 invariant$1(h != null, "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"); 9980 let { basename: g } = useDataRouterContext3("useViewTransitionState"), b = useResolvedPath(d, { 9981 relative: o.relative 9982 }); 9983 if (!h.isTransitioning) return false; 9984 let $ = stripBasename(h.currentLocation.pathname, g) || h.currentLocation.pathname, _e = stripBasename(h.nextLocation.pathname, g) || h.nextLocation.pathname; 9985 return matchPath(b.pathname, _e) != null || matchPath(b.pathname, $) != null; 9986 } 9987 [ 9988 ...NO_BODY_STATUS_CODES 9989 ]; 9990 function RouterProvider2(d) { 9991 return reactExports.createElement(RouterProvider, { 9992 flushSync: reactDomExports.flushSync, 9993 ...d 9994 }); 9995 } 9996 var reactActivation = { 9997 exports: {} 9998 }, index_min$1 = { 9999 exports: {} 10000 }, flatten = {}, interopRequireDefault = { 10001 exports: {} 10002 }, hasRequiredInteropRequireDefault; 10003 function requireInteropRequireDefault() { 10004 return hasRequiredInteropRequireDefault || (hasRequiredInteropRequireDefault = 1, function(d) { 10005 function o(h) { 10006 return h && h.__esModule ? h : { 10007 default: h 10008 }; 10009 } 10010 d.exports = o, d.exports.__esModule = true, d.exports.default = d.exports; 10011 }(interopRequireDefault)), interopRequireDefault.exports; 10012 } 10013 var toConsumableArray = { 10014 exports: {} 10015 }, arrayWithoutHoles = { 10016 exports: {} 10017 }, arrayLikeToArray = { 10018 exports: {} 10019 }, hasRequiredArrayLikeToArray; 10020 function requireArrayLikeToArray() { 10021 return hasRequiredArrayLikeToArray || (hasRequiredArrayLikeToArray = 1, function(d) { 10022 function o(h, g) { 10023 (g == null || g > h.length) && (g = h.length); 10024 for (var b = 0, $ = Array(g); b < g; b++) $[b] = h[b]; 10025 return $; 10026 } 10027 d.exports = o, d.exports.__esModule = true, d.exports.default = d.exports; 10028 }(arrayLikeToArray)), arrayLikeToArray.exports; 10029 } 10030 var hasRequiredArrayWithoutHoles; 10031 function requireArrayWithoutHoles() { 10032 return hasRequiredArrayWithoutHoles || (hasRequiredArrayWithoutHoles = 1, function(d) { 10033 var o = requireArrayLikeToArray(); 10034 function h(g) { 10035 if (Array.isArray(g)) return o(g); 10036 } 10037 d.exports = h, d.exports.__esModule = true, d.exports.default = d.exports; 10038 }(arrayWithoutHoles)), arrayWithoutHoles.exports; 10039 } 10040 var iterableToArray = { 10041 exports: {} 10042 }, hasRequiredIterableToArray; 10043 function requireIterableToArray() { 10044 return hasRequiredIterableToArray || (hasRequiredIterableToArray = 1, function(d) { 10045 function o(h) { 10046 if (typeof Symbol < "u" && h[Symbol.iterator] != null || h["@@iterator"] != null) return Array.from(h); 10047 } 10048 d.exports = o, d.exports.__esModule = true, d.exports.default = d.exports; 10049 }(iterableToArray)), iterableToArray.exports; 10050 } 10051 var unsupportedIterableToArray = { 10052 exports: {} 10053 }, hasRequiredUnsupportedIterableToArray; 10054 function requireUnsupportedIterableToArray() { 10055 return hasRequiredUnsupportedIterableToArray || (hasRequiredUnsupportedIterableToArray = 1, function(d) { 10056 var o = requireArrayLikeToArray(); 10057 function h(g, b) { 10058 if (g) { 10059 if (typeof g == "string") return o(g, b); 10060 var $ = {}.toString.call(g).slice(8, -1); 10061 return $ === "Object" && g.constructor && ($ = g.constructor.name), $ === "Map" || $ === "Set" ? Array.from(g) : $ === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($) ? o(g, b) : void 0; 10062 } 10063 } 10064 d.exports = h, d.exports.__esModule = true, d.exports.default = d.exports; 10065 }(unsupportedIterableToArray)), unsupportedIterableToArray.exports; 10066 } 10067 var nonIterableSpread = { 10068 exports: {} 10069 }, hasRequiredNonIterableSpread; 10070 function requireNonIterableSpread() { 10071 return hasRequiredNonIterableSpread || (hasRequiredNonIterableSpread = 1, function(d) { 10072 function o() { 10073 throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 10074 } 10075 d.exports = o, d.exports.__esModule = true, d.exports.default = d.exports; 10076 }(nonIterableSpread)), nonIterableSpread.exports; 10077 } 10078 var hasRequiredToConsumableArray; 10079 function requireToConsumableArray() { 10080 return hasRequiredToConsumableArray || (hasRequiredToConsumableArray = 1, function(d) { 10081 var o = requireArrayWithoutHoles(), h = requireIterableToArray(), g = requireUnsupportedIterableToArray(), b = requireNonIterableSpread(); 10082 function $(_e) { 10083 return o(_e) || h(_e) || g(_e) || b(); 10084 } 10085 d.exports = $, d.exports.__esModule = true, d.exports.default = d.exports; 10086 }(toConsumableArray)), toConsumableArray.exports; 10087 } 10088 var isArray = {}, hasRequiredIsArray; 10089 function requireIsArray() { 10090 if (hasRequiredIsArray) return isArray; 10091 hasRequiredIsArray = 1, Object.defineProperty(isArray, "__esModule", { 10092 value: true 10093 }), isArray.default = void 0; 10094 var d = function(g) { 10095 return g instanceof Array; 10096 }, o = d; 10097 return isArray.default = o, isArray; 10098 } 10099 var hasRequiredFlatten; 10100 function requireFlatten() { 10101 if (hasRequiredFlatten) return flatten; 10102 hasRequiredFlatten = 1; 10103 var d = requireInteropRequireDefault();
10104 Object.defineProperty(flatten, "__esModule", { 10105 value: true 10106 }), flatten.default = void 0; 10107 var o = d(requireToConsumableArray()), h = d(requireIsArray()), g = function $(_e) { 10108 return _e.reduce(function(et, tt) { 10109 return [].concat((0, o.default)(et), (0, o.default)((0, h.default)(tt) ? $(tt) : [ 10110 tt 10111 ])); 10112 }, []); 10113 }, b = g; 10114 return flatten.default = b, flatten; 10115 } 10116 var get$1 = {}, isString$2 = {}, hasRequiredIsString; 10117 function requireIsString() { 10118 if (hasRequiredIsString) return isString$2; 10119 hasRequiredIsString = 1, Object.defineProperty(isString$2, "__esModule", { 10120 value: true 10121 }), isString$2.default = d; 10122 function d(o) { 10123 return typeof o == "string"; 10124 } 10125 return isString$2; 10126 } 10127 var isUndefined = {}, hasRequiredIsUndefined; 10128 function requireIsUndefined() { 10129 if (hasRequiredIsUndefined) return isUndefined; 10130 hasRequiredIsUndefined = 1, Object.defineProperty(isUndefined, "__esModule", { 10131 value: true 10132 }), isUndefined.default = void 0; 10133 var d = function(g) { 10134 return typeof g > "u"; 10135 }, o = d; 10136 return isUndefined.default = o, isUndefined; 10137 } 10138 var isNumber = {}, _isNaN = {}, hasRequired_isNaN; 10139 function require_isNaN() { 10140 if (hasRequired_isNaN) return _isNaN; 10141 hasRequired_isNaN = 1, Object.defineProperty(_isNaN, "__esModule", { 10142 value: true 10143 }), _isNaN.default = void 0; 10144 var d = function(g) { 10145 return g !== g; 10146 }, o = d; 10147 return _isNaN.default = o, _isNaN; 10148 } 10149 var hasRequiredIsNumber; 10150 function requireIsNumber() { 10151 if (hasRequiredIsNumber) return isNumber; 10152 hasRequiredIsNumber = 1; 10153 var d = requireInteropRequireDefault();
10154 Object.defineProperty(isNumber, "__esModule", { 10155 value: true 10156 }), isNumber.default = void 0; 10157 var o = d(require_isNaN()), h = function($) { 10158 return typeof $ == "number" && !(0, o.default)($); 10159 }, g = h; 10160 return isNumber.default = g, isNumber; 10161 } 10162 var hasRequiredGet; 10163 function requireGet() { 10164 if (hasRequiredGet) return get$1; 10165 hasRequiredGet = 1; 10166 var d = requireInteropRequireDefault(); 10167 Object.defineProperty(get$1, "__esModule", { 10168 value: true 10169 }), get$1.default = b; 10170 var o = d(requireIsString()), h = d(requireIsUndefined()), g = d(requireIsNumber()); 10171 function b($) { 10172 var _e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], et = arguments.length > 2 ? arguments[2] : void 0; 10173 try { 10174 (0, g.default)(_e) && (_e = String(_e)); 10175 var tt = ((0, o.default)(_e) ? _e.split(".") : _e).reduce(function(rt, nt) { 10176 return rt[nt]; 10177 }, $); 10178 return (0, h.default)(tt) ? et : tt; 10179 } catch (e2) { 10180 return et; 10181 } 10182 } 10183 return get$1; 10184 } 10185 var run = {}, isFunction = {}, hasRequiredIsFunction; 10186 function requireIsFunction() { 10187 if (hasRequiredIsFunction) return isFunction; 10188 hasRequiredIsFunction = 1, Object.defineProperty(isFunction, "__esModule", { 10189 value: true 10190 }), isFunction.default = void 0; 10191 var d = function(g) { 10192 return typeof g == "function"; 10193 }, o = d; 10194 return isFunction.default = o, isFunction; 10195 } 10196 var hasRequiredRun; 10197 function requireRun() { 10198 if (hasRequiredRun) return run; 10199 hasRequiredRun = 1; 10200 var d = requireInteropRequireDefault();
10201 Object.defineProperty(run, "__esModule", { 10202 value: true 10203 }), run.default = void 0; 10204 var o = d(requireIsString()), h = d(requireIsFunction()), g = d(requireGet()), b = function(et) { 10205 var tt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : []; 10206 tt = (0, o.default)(tt) ? tt.split(".") : tt; 10207 for (var rt = (0, g.default)(et, tt), nt = (0, g.default)(et, tt.slice(0, -1)), st = arguments.length, ot = new Array(st > 2 ? st - 2 : 0), it = 2; it < st; it++) ot[it - 2] = arguments[it]; 10208 return (0, h.default)(rt) ? rt.call.apply(rt, [ 10209 nt 10210 ].concat(ot)) : rt; 10211 }, $ = b; 10212 return run.default = $, run; 10213 } 10214 var debounce = {}, hasRequiredDebounce; 10215 function requireDebounce() { 10216 if (hasRequiredDebounce) return debounce; 10217 hasRequiredDebounce = 1, Object.defineProperty(debounce, "__esModule", { 10218 value: true 10219 }), debounce.default = void 0; 10220 var d = function(g) { 10221 var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 16, $; 10222 return function() { 10223 for (var _e = this, et = arguments.length, tt = new Array(et), rt = 0; rt < et; rt++) tt[rt] = arguments[rt]; 10224 return clearTimeout($), $ = setTimeout(function() { 10225 g.apply(_e, tt); 10226 }, b), $; 10227 }; 10228 }, o = d; 10229 return debounce.default = o, debounce; 10230 } 10231 var random$1 = {}, hasRequiredRandom; 10232 function requireRandom() { 10233 if (hasRequiredRandom) return random$1; 10234 hasRequiredRandom = 1, Object.defineProperty(random$1, "__esModule", { 10235 value: true 10236 }), random$1.default = void 0; 10237 var d = function(g, b) { 10238 var $ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : true, _e = Math.random() * (b - g) + g; 10239 return $ ? Math.floor(_e) : _e; 10240 }, o = d; 10241 return random$1.default = o, random$1; 10242 } 10243 var EventBus = {}, defineProperty = { 10244 exports: {} 10245 }, toPropertyKey = { 10246 exports: {} 10247 }, _typeof$1 = { 10248 exports: {} 10249 }, hasRequired_typeof; 10250 function require_typeof() { 10251 return hasRequired_typeof || (hasRequired_typeof = 1, function(d) { 10252 function o(h) { 10253 "@babel/helpers - typeof"; 10254 return d.exports = o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(g) { 10255 return typeof g; 10256 } : function(g) { 10257 return g && typeof Symbol == "function" && g.constructor === Symbol && g !== Symbol.prototype ? "symbol" : typeof g; 10258 }, d.exports.__esModule = true, d.exports.default = d.exports, o(h); 10259 } 10260 d.exports = o, d.exports.__esModule = true, d.exports.default = d.exports; 10261 }(_typeof$1)), _typeof$1.exports; 10262 } 10263 var toPrimitive = { 10264 exports: {} 10265 }, hasRequiredToPrimitive; 10266 function requireToPrimitive() { 10267 return hasRequiredToPrimitive || (hasRequiredToPrimitive = 1, function(d) { 10268 var o = require_typeof().default; 10269 function h(g, b) { 10270 if (o(g) != "object" || !g) return g; 10271 var $ = g[Symbol.toPrimitive]; 10272 if ($ !== void 0) { 10273 var _e = $.call(g, b || "default"); 10274 if (o(_e) != "object") return _e; 10275 throw new TypeError("@@toPrimitive must return a primitive value."); 10276 } 10277 return (b === "string" ? String : Number)(g); 10278 } 10279 d.exports = h, d.exports.__esModule = true, d.exports.default = d.exports; 10280 }(toPrimitive)), toPrimitive.exports; 10281 } 10282 var hasRequiredToPropertyKey; 10283 function requireToPropertyKey() { 10284 return hasRequiredToPropertyKey || (hasRequiredToPropertyKey = 1, function(d) { 10285 var o = require_typeof().default, h = requireToPrimitive(); 10286 function g(b) { 10287 var $ = h(b, "string"); 10288 return o($) == "symbol" ? $ : $ + ""; 10289 } 10290 d.exports = g, d.exports.__esModule = true, d.exports.default = d.exports; 10291 }(toPropertyKey)), toPropertyKey.exports; 10292 } 10293 var hasRequiredDefineProperty; 10294 function requireDefineProperty() { 10295 return hasRequiredDefineProperty || (hasRequiredDefineProperty = 1, function(d) { 10296 var o = requireToPropertyKey(); 10297 function h(g, b, $) { 10298 return (b = o(b)) in g ? Object.defineProperty(g, b, { 10299 value: $, 10300 enumerable: true, 10301 configurable: true, 10302 writable: true 10303 }) : g[b] = $, g; 10304 } 10305 d.exports = h, d.exports.__esModule = true, d.exports.default = d.exports; 10306 }(defineProperty)), defineProperty.exports; 10307 } 10308 var classCallCheck = { 10309 exports: {} 10310 }, hasRequiredClassCallCheck; 10311 function requireClassCallCheck() { 10312 return hasRequiredClassCallCheck || (hasRequiredClassCallCheck = 1, function(d) { 10313 function o(h, g) { 10314 if (!(h instanceof g)) throw new TypeError("Cannot call a class as a function"); 10315 } 10316 d.exports = o, d.exports.__esModule = true, d.exports.default = d.exports; 10317 }(classCallCheck)), classCallCheck.exports; 10318 } 10319 var hasRequiredEventBus; 10320 function requireEventBus() { 10321 if (hasRequiredEventBus) return EventBus; 10322 hasRequiredEventBus = 1; 10323 var d = requireInteropRequireDefault();
10324 Object.defineProperty(EventBus, "__esModule", { 10325 value: true 10326 }), EventBus.default = void 0; 10327 var o = d(requireDefineProperty()), h = d(requireClassCallCheck()), g = d(requireIsFunction()), b = d(requireIsUndefined()); 10328 function $(tt, rt) { 10329 var nt = Object.keys(tt); 10330 if (Object.getOwnPropertySymbols) { 10331 var st = Object.getOwnPropertySymbols(tt); 10332 rt && (st = st.filter(function(ot) { 10333 return Object.getOwnPropertyDescriptor(tt, ot).enumerable; 10334 })), nt.push.apply(nt, st); 10335 } 10336 return nt; 10337 } 10338 function _e(tt) { 10339 for (var rt = 1; rt < arguments.length; rt++) { 10340 var nt = arguments[rt] != null ? arguments[rt] : {}; 10341 rt % 2 ? $(Object(nt), true).forEach(function(st) { 10342 (0, o.default)(tt, st, nt[st]); 10343 }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(tt, Object.getOwnPropertyDescriptors(nt)) : $(Object(nt)).forEach(function(st) { 10344 Object.defineProperty(tt, st, Object.getOwnPropertyDescriptor(nt, st)); 10345 }); 10346 } 10347 return tt; 10348 } 10349 var et = function tt() { 10350 var rt = this; 10351 (0, h.default)(this, tt), this.listeners = {}, this.getEventMap = function(nt) { 10352 return rt.listeners[nt] || (rt.listeners[nt] = /* @__PURE__ */ new Map()), rt.listeners[nt]; 10353 }, this.on = function(nt, st) { 10354 var ot = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, it = ot.once, at = it === void 0 ? false : it; 10355 return (0, g.default)(st) ? (rt.getEventMap(nt).set(st, at ? function() { 10356 st.apply(void 0, arguments), rt.off(nt, st); 10357 } : st), rt) : (console.error("[EventBus Error] listener is not a function"), rt); 10358 }, this.once = function(nt, st) { 10359 var ot = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; 10360 return rt.on(nt, st, _e(_e({}, ot), {}, { 10361 once: true 10362 })); 10363 }, this.off = function(nt, st) { 10364 var ot = rt.getEventMap(nt); 10365 return (0, b.default)(st) ? ot.clear() : ot.delete(st), rt; 10366 }, this.emit = function(nt) { 10367 for (var st = arguments.length, ot = new Array(st > 1 ? st - 1 : 0), it = 1; it < st; it++) ot[it - 1] = arguments[it]; 10368 return rt.getEventMap(nt).forEach(function(at) { 10369 return at.apply(void 0, ot); 10370 }); 10371 }; 10372 }; 10373 return EventBus.default = et, EventBus; 10374 } 10375 var nextTick$1 = {}, hasRequiredNextTick; 10376 function requireNextTick() { 10377 if (hasRequiredNextTick) return nextTick$1; 10378 hasRequiredNextTick = 1, Object.defineProperty(nextTick$1, "__esModule", { 10379 value: true 10380 }), nextTick$1.default = void 0; 10381 var d = function(g) { 10382 return Promise.resolve().then(g); 10383 }, o = d; 10384 return nextTick$1.default = o, nextTick$1; 10385 } 10386 var isExist = {}, isNull = {}, hasRequiredIsNull; 10387 function requireIsNull() { 10388 if (hasRequiredIsNull) return isNull; 10389 hasRequiredIsNull = 1, Object.defineProperty(isNull, "__esModule", { 10390 value: true 10391 }), isNull.default = void 0; 10392 var d = function(g) { 10393 return g === null; 10394 }, o = d; 10395 return isNull.default = o, isNull; 10396 } 10397 var hasRequiredIsExist; 10398 function requireIsExist() { 10399 if (hasRequiredIsExist) return isExist; 10400 hasRequiredIsExist = 1; 10401 var d = requireInteropRequireDefault();
10402 Object.defineProperty(isExist, "__esModule", { 10403 value: true 10404 }), isExist.default = void 0; 10405 var o = d(requireIsUndefined()), h = d(requireIsNull()), g = function(_e) { 10406 return !((0, o.default)(_e) || (0, h.default)(_e)); 10407 }, b = g; 10408 return isExist.default = b, isExist; 10409 } 10410 var memoize = {}, hasRequiredMemoize; 10411 function requireMemoize() { 10412 if (hasRequiredMemoize) return memoize; 10413 hasRequiredMemoize = 1, Object.defineProperty(memoize, "__esModule", { 10414 value: true 10415 }), memoize.default = void 0; 10416 var d = function(g) { 10417 var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, $ = b.disable, _e = $ === void 0 ? function() { 10418 return false; 10419 } : $, et = /* @__PURE__ */ new Map(), tt = function(nt) { 10420 if (et.has(nt)) return et.get(nt); 10421 for (var st = arguments.length, ot = new Array(st > 1 ? st - 1 : 0), it = 1; it < st; it++) ot[it - 1] = arguments[it]; 10422 var at = g.call.apply(g, [ 10423 this, 10424 nt 10425 ].concat(ot)); 10426 return _e.call(this, { 10427 cache: et, 10428 key: nt, 10429 result: at, 10430 drop: function() { 10431 return et.delete(nt); 10432 } 10433 }) || et.set(nt, at), at; 10434 }; 10435 return tt.cache = et, tt; 10436 }, o = d; 10437 return memoize.default = o, memoize; 10438 } 10439 var isObject$5 = {}, hasRequiredIsObject; 10440 function requireIsObject() { 10441 if (hasRequiredIsObject) return isObject$5; 10442 hasRequiredIsObject = 1; 10443 var d = requireInteropRequireDefault();
10444 Object.defineProperty(isObject$5, "__esModule", { 10445 value: true 10446 }), isObject$5.default = void 0; 10447 var o = d(require_typeof()), h = d(requireIsArray()), g = d(requireIsNull()), b = function(et) { 10448 return (0, o.default)(et) === "object" && !((0, h.default)(et) || (0, g.default)(et)); 10449 }, $ = b; 10450 return isObject$5.default = $, isObject$5; 10451 } 10452 var reactIs = { 10453 exports: {} 10454 }, reactIs_production_min = {}; 10455 var hasRequiredReactIs_production_min; 10456 function requireReactIs_production_min() { 10457 if (hasRequiredReactIs_production_min) return reactIs_production_min; 10458 hasRequiredReactIs_production_min = 1; 10459 var d = typeof Symbol == "function" && Symbol.for, o = d ? Symbol.for("react.element") : 60103, h = d ? Symbol.for("react.portal") : 60106, g = d ? Symbol.for("react.fragment") : 60107, b = d ? Symbol.for("react.strict_mode") : 60108, $ = d ? Symbol.for("react.profiler") : 60114, _e = d ? Symbol.for("react.provider") : 60109, et = d ? Symbol.for("react.context") : 60110, tt = d ? Symbol.for("react.async_mode") : 60111, rt = d ? Symbol.for("react.concurrent_mode") : 60111, nt = d ? Symbol.for("react.forward_ref") : 60112, st = d ? Symbol.for("react.suspense")
vendor: 5,642 bytes, lines 10459-10595
10459: 60113, ot = d ? Symbol.for("react.suspense_list") : 60120, it = d ? Symbol.for("react.memo") : 60115, at = d ? Symbol.for("react.lazy") : 60116, lt = d ? Symbol.for("react.block") : 60121, ct = d ? Symbol.for("react.fundamental") : 60117, ut = d ? Symbol.for("react.responder") : 60118, ft = d ? Symbol.for("react.scope") : 60119; 10460 function dt(ht) { 10461 if (typeof ht == "object" && ht !== null) { 10462 var mt = ht.$$typeof; 10463 switch (mt) { 10464 case o: 10465 switch (ht = ht.type, ht) { 10466 case tt: 10467 case rt: 10468 case g: 10469 case $: 10470 case b: 10471 case st: 10472 return ht; 10473 default: 10474 switch (ht = ht && ht.$$typeof, ht) { 10475 case et: 10476 case nt: 10477 case at: 10478 case it: 10479 case _e: 10480 return ht; 10481 default: 10482 return mt; 10483 } 10484 } 10485 case h: 10486 return mt; 10487 } 10488 } 10489 } 10490 function pt(ht) { 10491 return dt(ht) === rt; 10492 } 10493 return reactIs_production_min.AsyncMode = tt, reactIs_production_min.ConcurrentMode = rt, reactIs_production_min.ContextConsumer = et, reactIs_production_min.ContextProvider = _e, reactIs_production_min.Element = o, reactIs_production_min.ForwardRef = nt, reactIs_production_min.Fragment = g, reactIs_production_min.Lazy = at, reactIs_production_min.Memo = it, reactIs_production_min.Portal = h, reactIs_production_min.Profiler = $, reactIs_production_min.StrictMode = b, reactIs_production_min.Suspense = st, reactIs_production_min.isAsyncMode = function(ht) { 10494 return pt(ht) || dt(ht) === tt; 10495 }, reactIs_production_min.isConcurrentMode = pt, reactIs_production_min.isContextConsumer = function(ht) { 10496 return dt(ht) === et; 10497 }, reactIs_production_min.isContextProvider = function(ht) { 10498 return dt(ht) === _e; 10499 }, reactIs_production_min.isElement = function(ht) { 10500 return typeof ht == "object" && ht !== null && ht.$$typeof === o; 10501 }, reactIs_production_min.isForwardRef = function(ht) { 10502 return dt(ht) === nt; 10503 }, reactIs_production_min.isFragment = function(ht) { 10504 return dt(ht) === g; 10505 }, reactIs_production_min.isLazy = function(ht) { 10506 return dt(ht) === at; 10507 }, reactIs_production_min.isMemo = function(ht) { 10508 return dt(ht) === it; 10509 }, reactIs_production_min.isPortal = function(ht) { 10510 return dt(ht) === h; 10511 }, reactIs_production_min.isProfiler = function(ht) { 10512 return dt(ht) === $; 10513 }, reactIs_production_min.isStrictMode = function(ht) { 10514 return dt(ht) === b; 10515 }, reactIs_production_min.isSuspense = function(ht) { 10516 return dt(ht) === st; 10517 }, reactIs_production_min.isValidElementType = function(ht) { 10518 return typeof ht == "string" || typeof ht == "function" || ht === g || ht === rt || ht === $ || ht === b || ht === st || ht === ot || typeof ht == "object" && ht !== null && (ht.$$typeof === at || ht.$$typeof === it || ht.$$typeof === _e || ht.$$typeof === et || ht.$$typeof === nt || ht.$$typeof === ct || ht.$$typeof === ut || ht.$$typeof === ft || ht.$$typeof === lt); 10519 }, reactIs_production_min.typeOf = dt, reactIs_production_min; 10520 } 10521 var hasRequiredReactIs; 10522 function requireReactIs() { 10523 return hasRequiredReactIs || (hasRequiredReactIs = 1, reactIs.exports = requireReactIs_production_min()), reactIs.exports; 10524 } 10525 var hoistNonReactStatics_cjs, hasRequiredHoistNonReactStatics_cjs; 10526 function requireHoistNonReactStatics_cjs() { 10527 if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs; 10528 hasRequiredHoistNonReactStatics_cjs = 1; 10529 var d = requireReactIs(), o = { 10530 childContextTypes: true, 10531 contextType: true, 10532 contextTypes: true, 10533 defaultProps: true, 10534 displayName: true, 10535 getDefaultProps: true, 10536 getDerivedStateFromError: true, 10537 getDerivedStateFromProps: true, 10538 mixins: true, 10539 propTypes: true, 10540 type: true 10541 }, h = { 10542 name: true, 10543 length: true, 10544 prototype: true, 10545 caller: true, 10546 callee: true, 10547 arguments: true, 10548 arity: true 10549 }, g = { 10550 $$typeof: true, 10551 render: true, 10552 defaultProps: true, 10553 displayName: true, 10554 propTypes: true 10555 }, b = { 10556 $$typeof: true, 10557 compare: true, 10558 defaultProps: true, 10559 displayName: true, 10560 propTypes: true, 10561 type: true 10562 }, $ = {}; 10563 $[d.ForwardRef] = g, $[d.Memo] = b; 10564 function _e(at) { 10565 return d.isMemo(at) ? b : $[at.$$typeof] || o; 10566 } 10567 var et = Object.defineProperty, tt = Object.getOwnPropertyNames, rt = Object.getOwnPropertySymbols, nt = Object.getOwnPropertyDescriptor, st = Object.getPrototypeOf, ot = Object.prototype; 10568 function it(at, lt, ct) { 10569 if (typeof lt != "string") { 10570 if (ot) { 10571 var ut = st(lt); 10572 ut && ut !== ot && it(at, ut, ct); 10573 } 10574 var ft = tt(lt); 10575 rt && (ft = ft.concat(rt(lt))); 10576 for (var dt = _e(at), pt = _e(lt), ht = 0; ht < ft.length; ++ht) { 10577 var mt = ft[ht]; 10578 if (!h[mt] && !(ct && ct[mt]) && !(pt && pt[mt]) && !(dt && dt[mt])) { 10579 var gt = nt(lt, mt); 10580 try { 10581 et(at, mt, gt); 10582 } catch (e2) { 10583 } 10584 } 10585 } 10586 } 10587 return at; 10588 } 10589 return hoistNonReactStatics_cjs = it, hoistNonReactStatics_cjs; 10590 } 10591 var value = {}, hasRequiredValue; 10592 function requireValue() { 10593 if (hasRequiredValue) return value; 10594 hasRequiredValue = 1; 10595 var d = requireInteropRequireDefault();
10596 Object.defineProperty(value, "__esModule", { 10597 value: true 10598 }), value.default = void 0; 10599 var o = d(requireIsUndefined()), h = d(requireRun()), g = function() { 10600 for (var _e = arguments.length, et = new Array(_e), tt = 0; tt < _e; tt++) et[tt] = arguments[tt]; 10601 return et.reduce(function(rt, nt) { 10602 return (0, o.default)(rt) ? (0, h.default)(nt) : (0, h.default)(rt); 10603 }, void 0); 10604 }, b = g; 10605 return value.default = b, value; 10606 } 10607 var globalThis$1 = {}, hasRequiredGlobalThis; 10608 function requireGlobalThis() { 10609 if (hasRequiredGlobalThis) return globalThis$1; 10610 hasRequiredGlobalThis = 1; 10611 var d = requireInteropRequireDefault(); 10612 Object.defineProperty(globalThis$1, "__esModule", { 10613 value: true 10614 }), globalThis$1.default = void 0; 10615 var o = d(require_typeof()), h = function() { 10616 return typeof window < "u" ? window : typeof self < "u" ? self : typeof commonjsGlobal < "u" ? commonjsGlobal : Function("return this")(); 10617 }, g = h(), b = function() { 10618 return (typeof commonjsGlobal > "u" ? "undefined" : (0, o.default)(commonjsGlobal)) !== "object" || !commonjsGlobal || commonjsGlobal.Math !== Math || commonjsGlobal.Array !== Array ? g : commonjsGlobal; 10619 }, $ = b(), _e = $; 10620 return globalThis$1.default = _e, globalThis$1; 10621 } 10622 var reactNodeKey = { 10623 exports: {} 10624 }, index_min = { 10625 exports: {} 10626 }, hasRequiredIndex_min; 10627 function requireIndex_min() { 10628 return hasRequiredIndex_min || (hasRequiredIndex_min = 1, function(d, o) { 10629 (function(h, g) { 10630 g(o, requireRun(), reactExports, requireIsFunction(), requireIsString(), requireGet()); 10631 })(commonjsGlobal, function(h, g, b, $, _e, et) { 10632 function tt(St, kt) { 10633 for (var Rt = 0; Rt < kt.length; Rt++) { 10634 var Tt = kt[Rt]; 10635 Tt.enumerable = Tt.enumerable || false, Tt.configurable = true, "value" in Tt && (Tt.writable = true), Object.defineProperty(St, Tt.key, Tt); 10636 } 10637 } 10638 function rt(St, kt, Rt) { 10639 return kt in St ? Object.defineProperty(St, kt, { 10640 value: Rt, 10641 enumerable: true, 10642 configurable: true, 10643 writable: true 10644 }) : St[kt] = Rt, St; 10645 } 10646 function nt(St) { 10647 return (nt = Object.setPrototypeOf ? Object.getPrototypeOf : function(kt) { 10648 return kt.__proto__ || Object.getPrototypeOf(kt); 10649 })(St); 10650 } 10651 function st(St, kt) { 10652 return (st = Object.setPrototypeOf || function(Rt, Tt) { 10653 return Rt.__proto__ = Tt, Rt; 10654 })(St, kt); 10655 } 10656 function ot(St) { 10657 if (St === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 10658 return St; 10659 } 10660 function it(St) { 10661 var kt = function() { 10662 if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return false; 10663 if (typeof Proxy == "function") return true; 10664 try { 10665 return Date.prototype.toString.call(Reflect.construct(Date, [], function() { 10666 })), true; 10667 } catch (e2) { 10668 return false; 10669 } 10670 }(); 10671 return function() { 10672 var Rt, Tt, Yt, Dt, Ot = nt(St); 10673 return Tt = kt ? (Rt = nt(this).constructor, Reflect.construct(Ot, arguments, Rt)) : Ot.apply(this, arguments), Yt = this, !(Dt = Tt) || typeof Dt != "object" && typeof Dt != "function" ? ot(Yt) : Dt; 10674 }; 10675 } 10676 function at(St) { 10677 return function(kt) { 10678 if (Array.isArray(kt)) return lt(kt); 10679 }(St) || function(kt) { 10680 if (typeof Symbol < "u" && Symbol.iterator in Object(kt)) return Array.from(kt); 10681 }(St) || function(kt, Rt) { 10682 if (kt) { 10683 if (typeof kt == "string") return lt(kt, Rt); 10684 var Tt = Object.prototype.toString.call(kt).slice(8, -1); 10685 if (Tt === "Object" && kt.constructor && (Tt = kt.constructor.name), Tt === "Map" || Tt === "Set") return Array.from(kt); 10686 if (Tt === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Tt)) return lt(kt, Rt); 10687 } 10688 }(St) || function() { 10689 throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 10690 }(); 10691 } 10692 function lt(St, kt) {
10693 (kt == null || kt > St.length) && (kt = St.length); 10694 for (var Rt = 0, Tt = new Array(kt); Rt < kt; Rt++) Tt[Rt] = St[Rt]; 10695 return Tt; 10696 } 10697 function ct() { 10698 var St = 0, kt = /* @__PURE__ */ new Map(); 10699 return function(Rt) { 10700 var Tt = kt.get(Rt); 10701 return Tt || (Tt = (++St).toString(32), kt.set(Rt, Tt)), Tt; 10702 }; 10703 } 10704 g = g && Object.prototype.hasOwnProperty.call(g, "default") ? g.default : g, $ = $ && Object.prototype.hasOwnProperty.call($, "default") ? $.default : $, _e = _e && Object.prototype.hasOwnProperty.call(_e, "default") ? _e.default : _e, et = et && Object.prototype.hasOwnProperty.call(et, "default") ? et.default : et; 10705 function ut(St) { 10706 var kt, Rt, Tt, Yt = ht(et(St, "type.$$typeof", St.type)), Dt = (Rt = et(kt = St, "key") || kt.index, Tt = et(kt, "memoizedProps._nk") || et(kt, "pendingProps._nk"), _e(Tt) && pt.test(Tt) ? "".concat(Tt, ".").concat(Rt) : Tt || Rt); 10707 return "".concat(Yt, ",").concat(Dt); 10708 } 10709 function ft(St) { 10710 var kt, Rt, Tt, Yt = yt(St.type), Dt = (Rt = et(kt = St, "key") || kt.index, Tt = et(kt, "props._nk"), _e(Tt) && gt.test(Tt) ? "".concat(Tt, ".").concat(Rt) : Tt || Rt); 10711 return "".concat(Yt, ",").concat(Dt); 10712 } 10713 var dt, pt = /^iAr/, ht = ct(), mt = function(St, kt) { 10714 var Rt, Tt, Yt = (Rt = function Dt(Ot) { 10715 return Ot.return ? [ 10716 Ot 10717 ].concat(at(Dt(Ot.return))) : [ 10718 Ot 10719 ]; 10720 }(St), Tt = kt, Rt.map(function(Dt) { 10721 var Ot = ut(Dt); 10722 return $(Tt) ? g(Tt, void 0, Dt, Ot) : Ot; 10723 }).filter(Boolean).join("|")); 10724 return ht(Yt); 10725 }, gt = /^iAr/, yt = ct(), xt = function(St, kt) { 10726 var Rt, Tt, Yt = (Rt = function Dt(Ot) { 10727 return Ot.__ ? [ 10728 Ot 10729 ].concat(at(Dt(Ot.__))) : [ 10730 Ot 10731 ]; 10732 }(St), Tt = kt, Rt.map(function(Dt) { 10733 var Ot = ft(Dt); 10734 return $(Tt) ? g(Tt, void 0, Dt, Ot) : Ot; 10735 }).filter(Boolean).join("|")); 10736 return yt(Yt); 10737 }, _t = function() { 10738 (function(Yt, Dt) { 10739 if (typeof Dt != "function" && Dt !== null) throw new TypeError("Super expression must either be null or a function"); 10740 Yt.prototype = Object.create(Dt && Dt.prototype, { 10741 constructor: { 10742 value: Yt, 10743 writable: true, 10744 configurable: true 10745 } 10746 }), Dt && st(Yt, Dt); 10747 })(Tt, b.Component); 10748 var St, kt, Rt = it(Tt); 10749 function Tt() { 10750 var Yt; 10751 (function(Vt, Et) { 10752 if (!(Vt instanceof Et)) throw new TypeError("Cannot call a class as a function"); 10753 })(this, Tt); 10754 for (var Dt = arguments.length, Ot = new Array(Dt), Mt = 0; Mt < Dt; Mt++) Ot[Mt] = arguments[Mt]; 10755 return rt(ot(Yt = Rt.call.apply(Rt, [ 10756 this 10757 ].concat(Ot))), "key", null), rt(ot(Yt), "genKey", function(Vt) { 10758 switch (dt || ((Yt._reactInternalFiber || Yt._reactInternals) && (dt = "React"), Yt.__v && (dt = "Preact")), dt) { 10759 case "Preact": 10760 Yt.key = xt(Yt.__v, Vt); 10761 break; 10762 case "React": 10763 var Et = Yt._reactInternalFiber || Yt._reactInternals; 10764 Yt.key = mt(Et, Vt); 10765 } 10766 return Yt.key; 10767 }), Yt; 10768 } 10769 return St = Tt, (kt = [ 10770 { 10771 key: "render", 10772 value: function() { 10773 var Yt = this.props, Dt = (Yt.manualKey, Yt.children), Ot = Yt.prefix, Mt = Yt.onHandleNode; 10774 return g(Dt, void 0, "".concat(Ot).concat(this.key || this.genKey(Mt))); 10775 } 10776 } 10777 ]) && tt(St.prototype, kt), Tt; 10778 }(); 10779 rt(_t, "defaultProps", { 10780 onHandleNode: void 0, 10781 manualKey: void 0, 10782 prefix: "" 10783 }), h.default = _t, Object.defineProperty(h, "__esModule", { 10784 value: true 10785 }); 10786 }); 10787 }
10787(index_min, index_min.exports)), index_min.exports; 10788 } 10789 var hasRequiredReactNodeKey; 10790 function requireReactNodeKey() { 10791 return hasRequiredReactNodeKey || (hasRequiredReactNodeKey = 1, reactNodeKey.exports = requireIndex_min()), reactNodeKey.exports; 10792 } 10793 (function(d, o) { 10794 ((h, g) => { 10795 g(o, requireFlatten(), requireGet(), requireRun(), requireDebounce(), reactExports, requireIsFunction(), requireRandom(), requireEventBus(), requireNextTick(), reactDomExports, requireIsString(), requireIsExist(), requireMemoize(), requireIsUndefined(), requireIsObject(), requireHoistNonReactStatics_cjs(), requireValue(), requireIsArray(), requireGlobalThis(), requireReactNodeKey()); 10796 })(commonjsGlobal, function(h, g, b, $, _e, et, tt, rt, nt, st, ot, it, at, Wt, ct, ut, ft, dt, pt, ht, mt) { 10797 g = g && Object.prototype.hasOwnProperty.call(g, "default") ? g.default : g, b = b && Object.prototype.hasOwnProperty.call(b, "default") ? b.default : b, $ = $ && Object.prototype.hasOwnProperty.call($, "default") ? $.default : $, _e = _e && Object.prototype.hasOwnProperty.call(_e, "default") ? _e.default : _e; 10798 var gt = "default" in et ? et.default : et; 10799 function yt(It, At) { 10800 (At == null || At > It.length) && (At = It.length); 10801 for (var bt = 0, Pt = Array(At); bt < At; bt++) Pt[bt] = It[bt]; 10802 return Pt; 10803 } 10804 function xt(It) { 10805 if (Array.isArray(It)) return It; 10806 } 10807 function _t(It, At, bt) { 10808 return At = Dt(At), sr(It, Mt() ? Reflect.construct(At, bt || [], Dt(It).constructor) : At.apply(It, bt)); 10809 } 10810 function St(It, At) { 10811 if (!(It instanceof At)) throw new TypeError("Cannot call a class as a function"); 10812 } 10813 function kt(It, At) { 10814 for (var bt = 0; bt < At.length; bt++) { 10815 var Pt = At[bt]; 10816 Pt.enumerable = Pt.enumerable || false, Pt.configurable = true, "value" in Pt && (Pt.writable = true), Object.defineProperty(It, Ur(Pt.key), Pt); 10817 } 10818 } 10819 function Rt(It, At, bt) { 10820 return At && kt(It.prototype, At), Object.defineProperty(It, "prototype", { 10821 writable: false 10822 }), It; 10823 } 10824 function Tt(It, At, bt) { 10825 return (At = Ur(At)) in It ? Object.defineProperty(It, At, { 10826 value: bt, 10827 enumerable: true, 10828 configurable: true, 10829 writable: true 10830 }) : It[At] = bt, It; 10831 } 10832 function Yt() { 10833 return (Yt = Object.assign ? Object.assign.bind() : function(It) { 10834 for (var At = 1; At < arguments.length; At++) { 10835 var bt, Pt = arguments[At]; 10836 for (bt in Pt) !{}.hasOwnProperty.call(Pt, bt) || (It[bt] = Pt[bt]); 10837 } 10838 return It; 10839 }).apply(null, arguments); 10840 } 10841 function Dt(It) { 10842 return (Dt = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(At) { 10843 return At.__proto__ || Object.getPrototypeOf(At); 10844 })(It); 10845 } 10846 function Ot(It, At) { 10847 if (typeof At != "function" && At !== null) throw new TypeError("Super expression must either be null or a function"); 10848 It.prototype = Object.create(At && At.prototype, { 10849 constructor: { 10850 value: It, 10851 writable: true, 10852 configurable: true 10853 } 10854 }), Object.defineProperty(It, "prototype", { 10855 writable: false 10856 }), At && Er(It, At); 10857 } 10858 function Mt() { 10859 try { 10860 var It = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { 10861 })); 10862 } catch (e2) { 10863 } 10864 return (Mt = function() { 10865 return !!It; 10866 })(); 10867 } 10868 function Vt(It) { 10869 if (typeof Symbol < "u" && It[Symbol.iterator] != null || It["@@iterator"] != null) return Array.from(It); 10870 } 10871 function Et() { 10872 throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 10873 } 10874 function Ht(It, At) { 10875 var bt, Pt = Object.keys(It); 10876 return Object.getOwnPropertySymbols && (bt = Object.getOwnPropertySymbols(It), At && (bt = bt.filter(function(Ft) { 10877 return Object.getOwnPropertyDescriptor(It, Ft).enumerable; 10878 })), Pt.push.apply(Pt, bt)), Pt; 10879 } 10880 function Kt(It) { 10881 for (var At = 1; At < arguments.length; At++) { 10882 var bt = arguments[At] != null ? arguments[At] : {}; 10883 At % 2 ? Ht(Object(bt), true).forEach(function(Pt) { 10884 Tt(It, Pt, bt[Pt]); 10885 }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(It, Object.getOwnPropertyDescriptors(bt)) : Ht(Object(bt)).forEac
10885h(function(Pt) { 10886 Object.defineProperty(It, Pt, Object.getOwnPropertyDescriptor(bt, Pt)); 10887 }); 10888 } 10889 return It; 10890 } 10891 function ir(It, At) { 10892 if (It == null) return {}; 10893 var bt, Pt = ((Bt, er) => { 10894 if (Bt == null) return {}; 10895 var qt, wr = {}; 10896 for (qt in Bt) if ({}.hasOwnProperty.call(Bt, qt)) { 10897 if (er.indexOf(qt) !== -1) continue; 10898 wr[qt] = Bt[qt]; 10899 } 10900 return wr; 10901 })(It, At); 10902 if (Object.getOwnPropertySymbols) for (var Ft = Object.getOwnPropertySymbols(It), Gt = 0; Gt < Ft.length; Gt++) bt = Ft[Gt], At.indexOf(bt) === -1 && {}.propertyIsEnumerable.call(It, bt) && (Pt[bt] = It[bt]); 10903 return Pt; 10904 } 10905 function sr(It, At) { 10906 if (At && (typeof At == "object" || typeof At == "function")) return At; 10907 if (At !== void 0) throw new TypeError("Derived constructors may only return object or undefined"); 10908 if (At = It, At === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 10909 return At; 10910 } 10911 function Er(It, At) { 10912 return (Er = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(bt, Pt) { 10913 return bt.__proto__ = Pt, bt; 10914 })(It, At); 10915 } 10916 function $t(It, At) { 10917 return xt(It) || ((bt, Pt) => { 10918 var Ft = bt == null ? null : typeof Symbol < "u" && bt[Symbol.iterator] || bt["@@iterator"]; 10919 if (Ft != null) { 10920 var Gt, Bt, er, qt, wr = [], Br = true, Gr = false;
10921 try { 10922 if (er = (Ft = Ft.call(bt)).next, Pt === 0) { 10923 if (Object(Ft) !== Ft) return; 10924 Br = false; 10925 } else for (; !(Br = (Gt = er.call(Ft)).done) && (wr.push(Gt.value), wr.length !== Pt); Br = true) ; 10926 } catch (mn) { 10927 Gr = true, Bt = mn; 10928 } finally { 10929 try { 10930 if (!Br && Ft.return != null && (qt = Ft.return(), Object(qt) !== qt)) return; 10931 } finally { 10932 if (Gr) throw Bt; 10933 } 10934 } 10935 return wr; 10936 } 10937 })(It, At) || Tr(It, At) || Et(); 10938 } 10939 function pr(It) { 10940 return xt(It) || Vt(It) || Tr(It) || Et(); 10941 } 10942 function fr(It) { 10943 return ((At) => { 10944 if (Array.isArray(At)) return yt(At); 10945 })(It) || Vt(It) || Tr(It) || (() => { 10946 throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 10947 })(); 10948 } 10949 function Ur(It) { 10950 return It = ((At, bt) => { 10951 if (typeof At != "object" || !At) return At; 10952 var Pt = At[Symbol.toPrimitive]; 10953 if (Pt === void 0) return (bt === "string" ? String : Number)(At); 10954 if (typeof (Pt = Pt.call(At, bt)) != "object") return Pt; 10955 throw new TypeError("@@toPrimitive must return a primitive value."); 10956 })(It, "string"), typeof It == "symbol" ? It : It + ""; 10957 } 10958 function Tr(It, At) { 10959 var bt; 10960 if (It) return typeof It == "string" ? yt(It, At) : (bt = (bt = {}.toString.call(It).slice(8, -1)) === "Object" && It.constructor ? It.constructor.name : bt) === "Map" || bt === "Set" ? Array.from(It) : bt === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(bt) ? yt(It, At) : void 0; 10961 } 10962 tt = tt && Object.prototype.hasOwnProperty.call(tt, "default") ? tt.default : tt, rt = rt && Object.prototype.hasOwnProperty.call(rt, "default") ? rt.default : rt, nt = nt && Object.prototype.hasOwnProperty.call(nt, "default") ? nt.default : nt, st = st && Object.prototype.hasOwnProperty.call(st, "default") ? st.default : st, it = it && Object.prototype.hasOwnProperty.call(it, "default") ? it.default : it, at = at && Object.prototype.hasOwnProperty.call(at, "default") ? at.default : at, Wt = Wt && Object.prototype.hasOwnProperty.call(Wt, "default") ? Wt.default : Wt, ct = ct && Object.prototype.hasOwnProperty.call(ct, "default") ? ct.default : ct, ut = ut && Object.prototype.hasOwnProperty.call(ut, "default") ? ut.default : ut, ft = ft && Object.prototype.hasOwnProperty.call(ft, "default") ? ft.default : ft, dt = dt && Object.prototype.hasOwnProperty.call(dt, "default") ? dt.default : dt, pt = pt && Object.prototype.hasOwnProperty.call(pt, "default") ? pt.default : pt, ht = ht && Object.prototype.hasOwnProperty.call(ht, "default") ? ht.default : ht, mt = mt && Object.prototype.hasOwnProperty.call(mt, "default") ? mt.default : mt; 10963 var Rr = 1073741823; 10964 function Or() { 10965 var It, At, bt; 10966 return tt(et.useContext) ? et.useContext(Qr) || (At = (It = $t(et.useState(Ir.currentContextValue), 2))[0], bt = It[1], et.useEffect(function() { 10967 var Pt = _e(bt); 10968 return Sr.on("update", Pt), function() { 10969 return Sr.off("update", Pt); 10970 }; 10971 }, []), At) : {}; 10972 } 10973 function Ar(bt) { 10974 var At = bt.children, bt = ir(bt, Nr); 10975 return gt.createElement(zt, Yt({}, bt, { 10976 _nk: "".concat(ar, "11") 10977 }), gt.createElement(Ir, Yt({}, bt, { 10978 _nk: "".concat(ar, "21") 10979 }), At)); 10980 } 10981 function yr(It) { 10982 var At = It.children; 10983 return gt.createElement(Cr, { 10984 _nk: "".concat(ar, "31") 10985 }, function(bt) { 10986 return bt ? $(At, void 0, bt) : gt.createElement(Kr, { 10987 _nk: "".concat(ar, "41") 10988 }, At); 10989 }); 10990 } 10991 var gr = gt.createContext || function(It, At) { 10992 var bt = "__create-react-context-" + rt() + "__"; 10993 return { 10994 Provider: (() => { 10995 function Pt() { 10996 var Ft; 10997 St(this, Pt); 10998 for (var Gt, Bt, er = arguments.length, qt = new Array(er), wr = 0; wr < er; wr++) qt[wr] = arguments[wr]; 10999 return Tt(Ft = _t(this, Pt, [].concat(qt)), "emitter", (Gt = Ft.props.value, Bt = [], { 11000 on: function(Br) { 11001 Bt.push(Br); 11002 }, 11003 off: function(Br) { 11004 Bt = Bt.filter(function(Gr) { 11005 return Gr !== Br; 11006 }); 11007 }, 11008 get: function() { 11009 return Gt; 11010 }, 11011 set: function(Br, Gr) {
11012 Gt = Br, Bt.forEach(function(mn) { 11013 return mn(Gt, Gr); 11014 }); 11015 } 11016 })), Ft; 11017 } 11018 return Ot(Pt, et.Component), Rt(Pt, [ 11019 { 11020 key: "getChildContext", 11021 value: function() { 11022 return Tt({}, bt, this.emitter); 11023 } 11024 }, 11025 { 11026 key: "componentWillReceiveProps", 11027 value: function(Ft) { 11028 var Gt, Bt; 11029 this.props.value !== Ft.value && (Bt = this.props.value, Gt = Ft.value, Bt = typeof At == "function" ? At(Bt, Gt) : Rr, (Bt |= 0) !== 0) && this.emitter.set(Ft.value, Bt); 11030 } 11031 }, 11032 { 11033 key: "render", 11034 value: function() { 11035 return this.props.children; 11036 } 11037 } 11038 ]); 11039 })(), 11040 Consumer: (() => { 11041 function Pt() { 11042 var Ft; 11043 St(this, Pt); 11044 for (var Gt = arguments.length, Bt = new Array(Gt), er = 0; er < Gt; er++) Bt[er] = arguments[er]; 11045 return Tt(Ft = _t(this, Pt, [].concat(Bt)), "observedBits", void 0), Tt(Ft, "state", { 11046 value: Ft.getValue() 11047 }), Tt(Ft, "onUpdate", function(qt, wr) { 11048 (0 | Ft.observedBits) & wr && Ft.setState({ 11049 value: Ft.getValue() 11050 }); 11051 }), Ft; 11052 } 11053 return Ot(Pt, et.Component), Rt(Pt, [ 11054 { 11055 key: "componentWillReceiveProps", 11056 value: function(Ft) { 11057 Ft = Ft.observedBits, this.observedBits = Ft != null ? Ft : Rr; 11058 } 11059 }, 11060 { 11061 key: "componentDidMount", 11062 value: function() { 11063 this.context[bt] && this.context[bt].on(this.onUpdate); 11064 var Ft = this.props.observedBits; 11065 this.observedBits = Ft != null ? Ft : Rr; 11066 } 11067 }, 11068 { 11069 key: "componentWillUnmount", 11070 value: function() { 11071 this.context[bt] && this.context[bt].off(this.onUpdate); 11072 } 11073 }, 11074 { 11075 key: "getValue", 11076 value: function() { 11077 return this.context[bt] ? this.context[bt].get() : It; 11078 } 11079 }, 11080 { 11081 key: "render", 11082 value: function() { 11083 return Ft = this.props.children, (Array.isArray(Ft) ? Ft[0] : Ft)(this.state.value); 11084 var Ft; 11085 } 11086 } 11087 ]); 11088 })() 11089 }; 11090 }, Qr = gr(), zt = Qr.Provider, Cr = Qr.Consumer, Hr = gr(), un = Hr.Provider, Dr = Hr.Consumer, Sr = new nt(), Ir = (() => { 11091 function It(At) { 11092 var bt; 11093 return St(this, It), bt = _t(this, It, [ 11094 At 11095 ]), It.currentContextValue = At.value, bt; 11096 } 11097 return Ot(It, et.Component), Rt(It, [ 11098 { 11099 key: "shouldComponentUpdate", 11100 value: function(At) { 11101 return At.value !== this.props.value && (It.currentContextValue = At.value, Sr.emit("update", At.value)), At.children !== this.props.children || At.value !== this.props.value; 11102 } 11103 }, 11104 { 11105 key: "render", 11106 value: function() { 11107 return this.props.children; 11108 } 11109 } 11110 ]); 11111 })(), Kr = (Tt(Ir, "eventBus", Sr), Tt(Ir, "currentContextValue", void 0), (() => { 11112 function It(At) { 11113 var bt; 11114 return St(this, It), Tt(bt = _t(this, It, [ 11115 At 11116 ]), "state", { 11117 context: Ir.currentContextValue 11118 }), Tt(bt, "updateListener", _e(function(Pt) { 11119 bt.setState({ 11120 context: Pt 11121 }); 11122 })), Sr.on("update", bt.updateListener), bt; 11123 } 11124 return Ot(It, et.PureComponent), Rt(It, [ 11125 { 11126 key: "componentWillUnmount", 11127 value: function() { 11128 Sr.off("update", this.updateListener); 11129 } 11130 }, 11131 { 11132 key: "render", 11133 value: function() { 11134 var At = this.props.children, bt = this.state.context; 11135 return $(At, void 0, bt); 11136 } 11137 } 11138 ]); 11139 })()), Nr = [ 11140 "children" 11141 ], ar = "qj9A", or = (() => { 11142 function It() { 11143 var At; 11144 St(this, It); 11145 for (var bt = arguments.length, Pt = new Array(bt), Ft = 0; Ft < bt; Ft++) Pt[Ft] = arguments[Ft]; 11146 return Tt(At = _t(this, It, [].concat(Pt)), "promiseCache", {}), At; 11147 } 11148 return Ot(It, et.Component), Rt(It, [ 11149 { 11150 key: "render", 11151 value: function() { 11152 var bt = this.props, At = bt.freeze, bt = bt.children, Pt = this.promiseCache; 11153 if (At && !Pt.promise) throw Pt.promise = new Promise(function(Ft) { 11154 Pt.resolve = Ft; 11155 }), Pt.promise; 11156 if (At) throw Pt.promise; 11157 return Pt.promise && (Pt.resolve(), Pt.promise = void 0), gt.createElement(et.Fragment, null, bt); 11158 } 11159 } 11160 ]); 11161 })(); 11162 function dr() { 11163 try { 11164 for (var It = arguments.length, At = new Array(It), bt = 0; bt < It; bt++) At[bt] = arguments[bt]; 11165 At.forEach(function(Ft) { 11166 var Ft = pr(Ft), Gt = Ft[0];
11167 Ft.slice(1).forEach(function(Bt) { 11168 var er; 11169 tt(b(Gt, Bt)) && !b(Gt, [ 11170 Bt, 11171 "_overridden" 11172 ]) && (er = Gt[Bt].bind(Gt), Gt[Bt] = function(qt) { 11173 it(qt) || zr(qt); 11174 for (var wr = arguments.length, Br = new Array(1 < wr ? wr - 1 : 0), Gr = 1; Gr < wr; Gr++) Br[Gr - 1] = arguments[Gr]; 11175 return er.apply(void 0, [ 11176 qt 11177 ].concat(Br)); 11178 }, Gt[Bt]._overridden = true); 11179 }); 11180 }); 11181 } catch (Pt) { 11182 console.warn("activation override failed:", Pt); 11183 } 11184 } 11185 function br(It) { 11186 return It = It.children, $(It); 11187 } 11188 var Fr = [], Lr = /* @__PURE__ */ new Map(), mr = new nt(), hr = Wt(function(It) { 11189 at(It) && ![ 11190 Qr, 11191 Hr 11192 ].includes(It) && (at(It.Consumer) || (It.Consumer = function(bt) { 11193 var bt = bt.children, Pt = $(et.useContext, void 0, It); 11194 return gt.createElement(et.Fragment, null, $(bt, void 0, Pt)); 11195 }), Fr.push(It), setTimeout(function() { 11196 return mr.emit("update"); 11197 })); 11198 }), zr = Wt(function(It) { 11199 It = b(It, "_context") || b(It, "context"), b(It, "$$typeof") === b(Qr, "$$typeof") && hr(It); 11200 }), sn = (dr([ 11201 gt, 11202 "createElement" 11203 ]), (() => { 11204 function It(Ft) { 11205 St(this, It), Tt(bt = _t(this, It, [ 11206 Ft 11207 ]), "unmount", null); 11208 var bt, Pt, Ft = Ft.value; 11209 return Ft.length === 0 ? (bt.state = { 11210 ctxValue: null 11211 }, sr(bt)) : ((Ft = $t(Ft, 1)[0]).ctx, Pt = Ft.onUpdate, bt.state = { 11212 ctxValue: Ft.value 11213 }, bt.unmount = Pt(function(Gt) { 11214 bt.setState({ 11215 ctxValue: Gt 11216 }); 11217 }), bt); 11218 } 11219 return Ot(It, et.PureComponent), Rt(It, [ 11220 { 11221 key: "componentWillUnmount", 11222 value: function() { 11223 $(this.unmount); 11224 } 11225 }, 11226 { 11227 key: "render", 11228 value: function() { 11229 var At, bt, Pt = this.props, Ft = Pt.value, Pt = Pt.children, Ft = Ft.filter(Boolean); 11230 return Ft.length === 0 ? Pt : (At = this.state.ctxValue, bt = (Ft = pr(Ft))[0].ctx, Ft = Ft.slice(1), bt = bt.Provider, bt = ct(At) ? Pt : gt.createElement(bt, { 11231 value: At, 11232 _nk: "".concat("lqEk", "11") 11233 }, Pt), 0 < Ft.length ? gt.createElement(It, { 11234 value: Ft, 11235 _nk: "".concat("lqEk", "21") 11236 }, bt) : bt); 11237 } 11238 } 11239 ]); 11240 })()), en = (() => { 11241 function It(Gt) { 11242 St(this, It), Tt(bt = _t(this, It, [ 11243 Gt 11244 ]), "updateListener", null), Tt(bt, "ctxInfo", null); 11245 var bt, Pt = Gt.value, Ft = Gt.ctx, Gt = Gt.id; 11246 return ct(Pt) ? sr(bt) : (bt.updateListener = b(Lr.get(Ft), Gt, /* @__PURE__ */ new Map()), $(bt.updateListener, "forEach", function(Bt) { 11247 return Bt(Pt); 11248 }), bt.ctxInfo = { 11249 ctx: Ft, 11250 value: Pt, 11251 onUpdate: function(Bt) { 11252 return bt.updateListener.set(Bt, Bt), function() { 11253 return bt.updateListener.delete(Bt); 11254 }; 11255 } 11256 }, bt); 11257 } 11258 return Ot(It, et.Component), Rt(It, [ 11259 { 11260 key: "componentWillUnmount", 11261 value: function() { 11262 var Pt = this.props, At = Pt.value, bt = Pt.ctx, Pt = Pt.id; 11263 ct(At) || Lr.set(bt, Kt(Kt({}, b(Lr.get(bt), void 0, {})), {}, Tt({}, Pt, this.updateListener))); 11264 } 11265 }, 11266 { 11267 key: "shouldComponentUpdate", 11268 value: function(At) { 11269 var bt = At.value; 11270 return this.props.value !== bt && $(this.updateListener, "forEach", function(Pt) { 11271 return Pt(bt); 11272 }), true; 11273 } 11274 }, 11275 { 11276 key: "render", 11277 value: function() { 11278 var At = this, bt = this.props, Pt = bt.value, Ft = bt.renderWrapper, Gt = bt.renderContent; 11279 return Ft(function(Bt) { 11280 return Gt(ct(Pt) ? Bt : [].concat(fr(Bt), [ 11281 At.ctxInfo 11282 ])); 11283 }); 11284 } 11285 } 11286 ]); 11287 })(), on = {}, dn = (() => { 11288 function It(Pt) { 11289 St(this, It), Tt(bt = _t(this, It, [ 11290 Pt 11291 ]), "renderWrapper", function(Ft) { 11292 var Gt = bt.props.id; 11293 return on[Gt].reduce(function(Bt, er) { 11294 var qt = er.Consumer; 11295 return function(wr) { 11296 return gt.createElement(qt, { 11297 _nk: "".concat("SsUr", "11") 11298 }, function(Br) { 11299 return gt.createElement(en, { 11300 value: Br, 11301 ctx: er, 11302 renderWrapper: Bt, 11303 renderContent: wr, 11304 id: Gt, 11305 _nk: "".concat("SsUr", "21") 11306 }); 11307 }); 11308 }; 11309 }, function(Bt) { 11310 return Bt([]); 11311 })(Ft); 11312 }); 11313 var bt, Pt = Pt.id; 11314 return on[Pt] || (on[Pt] = fr(Fr).filter(function(Ft) { 11315 return at(Ft.Consumer); 11316 })), bt; 11317 } 11318 return Ot(It, et.PureComponent), Rt(It, [ 11319 { 11320 key: "render", 11321 value: function() { 11322 var At = this.props.children; 11323 return this.renderWrapper(At); 11324 } 11325 } 11326 ]); 11327 })(), _r = "46lG", Wt = tt(et.lazy) && !ct(et.Suspense), pn = Wt ? et.lazy(function() { 11328 return new Promise(function() { 11329 return null; 11330 }); 11331 }) : function() { 11332 return null; 11333 }, Vr = (() => { 11334 function It() { 11335 return St(this, It), _t(this, It, arguments); 11336 } 11337 return Ot(It, et.Component), Rt(It, [ 11338 { 11339 key: "componentDidMount", 11340 value: function() { 11341 $(this.props, "onStart"); 11342 } 11343 }, 11344 { 11345 key: "componentWillUnmount", 11346 value: function() { 11347 $(this.props, "onEnd"); 11348 } 11349 }, 11350 { 11351 key: "render", 11352 value: function() { 11353 return null; 11354 } 11355 } 11356 ]); 11357 })(), tn = Wt ? (() => { 11358 function It() { 11359 var At; 11360 St(this, It); 11361 for (var bt = arguments.length, Pt = new Array(bt), Ft = 0; Ft < bt; Ft++) Pt[Ft] = arguments[Ft]; 11362 return Tt(At = _t(this, It, [].concat(Pt)), "state", { 11363 suspense: false 11364 }), Tt(At, "onSuspenseStart", function() { 11365 At.setState({ 11366 suspense: true 11367 }); 11368 }), Tt(At, "onSuspenseEnd", function() { 11369 At.setState({ 11370 suspense: false 11371 }); 11372 }), Tt(At, "sus$$", { 11373 onSuspenseStart: At.onSuspenseStart, 11374 onSuspenseEnd: At.onSuspenseEnd 11375 }), At; 11376 } 11377 return Ot(It, et.Component), Rt(It, [ 11378 { 11379 key: "render", 11380 value: function() { 11381 var At = this.props.children; 11382 return gt.createElement(et.Fragment, null, $(At, void 0, this.sus$$), this.state.suspense && gt.createElement(pn, { 11383 _nk: "".concat(_r, "31") 11384 })); 11385 } 11386 } 11387 ]); 11388 })() : br, an = Wt ? function(bt) { 11389 var At = bt.children, bt = bt.sus$$; 11390 return gt.createElement(et.Suspense, { 11391 fallback: gt.createElement(Vr, { 11392 onStart: bt.onSuspenseStart, 11393 onEnd: bt.onSuspenseEnd, 11394 _nk: "".concat(_r, "21") 11395 }), 11396 _nk: "".concat(_r, "11") 11397 }, At); 11398 } : br, fn = (() => { 11399 function It() { 11400 return St(this, It), _t(this, It, arguments); 11401 } 11402 return Ot(It, et.Component), Rt(It, [ 11403 { 11404 key: "componentDidCatch", 11405 value: function(At) { 11406 var bt = this.props.error$$; 11407 $(bt, void 0, At, function() { 11408 $(bt, void 0, null); 11409 }); 11410 } 11411 }, 11412 { 11413 key: "render", 11414 value: function() { 11415 return this.props.children; 11416 } 11417 } 11418 ]); 11419 })(), lr = (Tt(fn, "getDerivedStateFromError", function() { 11420 return null; 11421 }), (() => { 11422 function It() { 11423 var At; 11424 St(this, It); 11425 for (var bt = arguments.length, Pt = new Array(bt), Ft = 0; Ft < bt; Ft++) Pt[Ft] = arguments[Ft]; 11426 return Tt(At = _t(this, It, [].concat(Pt)), "state", { 11427 error: null 11428 }), Tt(At, "throwError", function(Gt, Bt) { 11429 return At.setState({ 11430 error: Gt 11431 }, Bt); 11432 }), At; 11433 } 11434 return Ot(It, et.Component), Rt(It, [ 11435 { 11436 key: "render", 11437 value: function() { 11438 if (this.state.error) throw this.state.error; 11439 return $(this.props.children, void 0, this.throwError); 11440 } 11441 } 11442 ]); 11443 })()), Nt = "lajT"; 11444 function Jt(Pt) { 11445 var At = Pt.id, bt = Pt.children, Pt = Pt.bridgeProps, Ft = Pt.sus$$, Gt = Pt.ctx$$; 11446 return gt.createElement(fn, { 11447 error$$: Pt.error$$, 11448 _nk: "".concat(Nt, "11") 11449 }, gt.createElement(an, { 11450 sus$$: Ft, 11451 _nk: "".concat(Nt, "21") 11452 }, gt.createElement(sn, { 11453 id: At, 11454 value: Gt,
11455 _nk: "".concat(Nt, "31") 11456 }, bt))); 11457 } 11458 function vt(It) { 11459 var At = It.id, bt = It.children; 11460 return gt.createElement(lr, { 11461 _nk: "".concat(Nt, "41") 11462 }, function(Pt) { 11463 return gt.createElement(tn, { 11464 _nk: "".concat(Nt, "51") 11465 }, function(Ft) { 11466 return gt.createElement(dn, { 11467 id: At, 11468 _nk: "".concat(Nt, "61") 11469 }, function(Gt) { 11470 return $(bt, void 0, { 11471 bridgeProps: { 11472 sus$$: Ft, 11473 ctx$$: Gt, 11474 error$$: Pt 11475 } 11476 }); 11477 }); 11478 }); 11479 }); 11480 } 11481 function wt(It) { 11482 var At = (() => { 11483 function bt() { 11484 var Pt; 11485 St(this, bt); 11486 for (var Ft = arguments.length, Gt = new Array(Ft), Bt = 0; Bt < Ft; Bt++) Gt[Bt] = arguments[Bt]; 11487 return Tt(Pt = _t(this, bt, [].concat(Gt)), "drop", null), Pt; 11488 } 11489 return Ot(bt, et.Component), Rt(bt, [ 11490 { 11491 key: "componentWillUnmount", 11492 value: function() { 11493 $(this.drop); 11494 } 11495 }, 11496 { 11497 key: "render", 11498 value: function() { 11499 var Pt = this, Ft = this.props, Gt = Ft.forwardedRef, Bt = ir(Ft, jt); 11500 return gt.createElement(Dr, { 11501 _nk: "".concat(Ut, "11") 11502 }, function() { 11503 var er = (0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : {}).attach; 11504 return gt.createElement(It, Yt({ 11505 ref: function(qt) { 11506 [ 11507 Lt, 11508 Qt 11509 ].every(function(wr) { 11510 return !tt(b(qt, wr)); 11511 }) || (Pt.drop = $(er, void 0, qt), ct(Gt)) || (ut(Gt) && "current" in Gt ? Gt.current = qt : $(Gt, void 0, qt)); 11512 } 11513 }, Bt, { 11514 _nk: "".concat(Ut, "21") 11515 })); 11516 }); 11517 } 11518 } 11519 ]); 11520 })(); 11521 return tt(It.prototype.componentDidMount) && (It.prototype._componentDidMount = It.prototype.componentDidMount, It.prototype.componentDidMount = function() { 11522 var bt = this; 11523 st(function() { 11524 return It.prototype._componentDidMount.call(bt); 11525 }); 11526 }), tt(et.forwardRef) ? ft(et.forwardRef(function(bt, Pt) { 11527 return gt.createElement(At, Yt({}, bt, { 11528 forwardedRef: Pt, 11529 _nk: "".concat(Ut, "31") 11530 })); 11531 }), It) : ft(At, It); 11532 } 11533 function Ct(It, At) { 11534 var bt, Pt; 11535 [ 11536 et.useRef, 11537 et.useContext, 11538 et.useEffect 11539 ].some(function(Ft) { 11540 return !tt(Ft); 11541 }) || (Pt = et.useContext(Hr)) && (bt = et.useRef({}).current, Pt = Pt.attach, bt[It] = At, bt.drop = Pt(bt), et.useEffect(function() { 11542 return function() { 11543 return $(bt.drop); 11544 }; 11545 }, [])); 11546 } 11547 var jt = [ 11548 "forwardedRef" 11549 ], Ut = "XKTv", Lt = "componentDidActivate", Qt = "componentWillUnactivate", Wt = Ct.bind(null, Lt), Zt = Ct.bind(null, Qt), Xt = [ 11550 "id", 11551 "autoFreeze", 11552 "contentProps" 11553 ], tr = "bNyU", rr = et.Suspense ? function(Pt) { 11554 var At = Pt.freeze, bt = Pt.children, Pt = Pt.placeholder; 11555 return gt.createElement(et.Suspense, { 11556 fallback: Pt === void 0 ? null : Pt, 11557 _nk: "".concat("Leb+", "11") 11558 }, gt.createElement(or, { 11559 freeze: At, 11560 _nk: "".concat("Leb+", "21") 11561 }, bt)); 11562 } : function(It) { 11563 return It.children; 11564 }, nr = (() => { 11565 function It(At) { 11566 var bt; 11567 St(this, It); 11568 for (var Pt = arguments.length, Ft = new Array(1 < Pt ? Pt - 1 : 0), Gt = 1; Gt < Pt; Gt++) Ft[Gt - 1] = arguments[Gt]; 11569 return Tt(bt = _t(this, It, [ 11570 At 11571 ].concat(Ft)), "eventBus", new nt()), Tt(bt, "listeners", /* @__P
11571URE__ */ new Map()), Tt(bt, "wrapper", null), Tt(bt, "cache", void 0), Tt(bt, "unmounted", false), Tt(bt, "safeSetState", function(Bt, er) { 11572 bt.unmounted || bt.setState(Bt, er); 11573 }), Tt(bt, "freezeTimeout", null), Tt(bt, "attach", function(Bt) { 11574 var er = bt.listeners; 11575 return Bt ? (Bt.isKeepAlive && st(function() { 11576 var wr = bt.props, qt = wr.id, wr = wr.store.get(qt); 11577 wr.aliveNodesId = new Set([].concat(fr(wr.aliveNodesId), [ 11578 Bt.id 11579 ])); 11580 }), er.set(Bt, Tt(Tt({}, Lt, function() { 11581 return $(Bt, Lt); 11582 }), Qt, function() { 11583 return $(Bt, Qt); 11584 })), function() { 11585 er.delete(Bt); 11586 }) : function() { 11587 return null; 11588 }; 11589 }), Tt(bt, "contextValue", { 11590 id: bt.props.id, 11591 attach: bt.attach 11592 }), Tt(bt, "drop", function() { 11593 var Bt = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : {}, qt = Bt.delay, er = qt === void 0 ? 1200 : qt, qt = Bt.refreshIfDropFailed, wr = qt === void 0 || qt; 11594 return new Promise(function(Br) { 11595 var Gr, mn = bt.props, xn = mn.scope, An = mn.id, wn = function() { 11596 clearTimeout(Gr), bt.eventBus.off(Qt, wn), bt.cache.willDrop = true, xn.nodes.delete(An), xn.helpers = Kt({}, xn.helpers), xn.smartForceUpdate(function() { 11597 return Br(true); 11598 }); 11599 }; 11600 b(bt.cache, "cached") || b(bt.cache, "willDrop") ? wn() : (bt.eventBus.on(Qt, wn), Gr = setTimeout(function() { 11601 bt.eventBus.off(Qt, wn), wr ? bt.refresh().then(function(bn) { 11602 return Br(bn); 11603 }) : Br(false); 11604 }, er)); 11605 }); 11606 }), Tt(bt, "refresh", function() { 11607 return new Promise(function(Bt) { 11608 b(bt.cache, "cached") && Bt(false), bt.safeSetState({ 11609 key: Math.random() 11610 }, function() { 11611 return Bt(true); 11612 }); 11613 }); 11614 }), bt.state = { 11615 children: At.children, 11616 bridgeProps: At.bridgeProps, 11617 key: Math.random(), 11618 freeze: false 11619 }, bt; 11620 } 11621 return Ot(It, et.PureComponent), Rt(It, [ 11622 { 11623 key: "componentDidMount", 11624 value: function() { 11625 var At, bt = this, Ft = this.props, Pt = Ft.store, Ft = Ft.id, Gt = this.listeners, Bt = this.wrapper; 11626 if (!Pt.has(Ft)) { 11627 try { 11628 At = fr(Bt.children); 11629 } catch (e2) { 11630 At = [ 11631 Bt.children 11632 ]; 11633 } 11634 this.cache = Tt(Tt({ 11635 listeners: Gt, 11636 aliveNodesId: [], 11637 inited: false, 11638 cached: false, 11639 wrapper: Bt, 11640 nodes: At 11641 }, Lt, function() { 11642 return bt[Lt](); 11643 }), Qt, function() { 11644 return bt[Qt](); 11645 }), Pt.set(Ft, this.cache); 11646 } 11647 } 11648 }, 11649 { 11650 key: "componentWillUnmount", 11651 value: function() { 11652 var Pt = this.props, At = Pt.store, bt = Pt.keepers, Pt = Pt.id; 11653 try { 11654 var Ft = At.get(Pt); 11655 Ft.nodes.forEach(function(Gt) { 11656 Ft.wrapper.appendChild(Gt); 11657 }); 11658 } catch (e2) { 11659 } 11660 At.delete(Pt), bt.delete(Pt), this.unmounted = true; 11661 } 11662 }, 11663 { 11664 key: Lt, 11665 value: function() { 11666 clearTimeout(this.freezeTimeout), this.safeSetState({ 11667 freeze: false 11668 }), this.eventBus.emit(Lt), this.listeners.forEach(function(At) { 11669 return $(At, [ 11670 Lt 11671 ]); 11672 }); 11673 } 11674 }, 11675 { 11676 key: Qt, 11677 value: function() { 11678 var At = this; 11679 this.eventBus.emit(Qt), fr(this.listeners).reverse().forEac
11679h(function(bt) { 11680 return bt = $t(bt, 2)[1], $(bt, [ 11681 Qt 11682 ]); 11683 }), clearTimeout(this.freezeTimeout), this.freezeTimeout = setTimeout(function() { 11684 ot.flushSync(function() { 11685 At.safeSetState({ 11686 freeze: true 11687 }); 11688 }); 11689 }, 1e3); 11690 } 11691 }, 11692 { 11693 key: "render", 11694 value: function() { 11695 var At = this, Gt = this.props, bt = Gt.id, Pt = Gt.autoFreeze, Pt = Pt === void 0 || Pt, Ft = Gt.contentProps, Ft = Ft === void 0 ? {} : Ft, Gt = (ir(Gt, Xt), this.state), Bt = Gt.children, er = Gt.bridgeProps, qt = Gt.key; 11696 return gt.createElement(rr, { 11697 freeze: Pt && Gt.freeze, 11698 _nk: "".concat(tr, "11") 11699 }, gt.createElement("div", { 11700 ref: function(wr) { 11701 At.wrapper = wr; 11702 }, 11703 _nk: "".concat(tr, "21") 11704 }, gt.createElement("div", Yt({}, Ft, { 11705 key: "keeper-container", 11706 className: "ka-content ".concat(Ft.className || "") 11707 }), gt.createElement(Jt, { 11708 id: bt, 11709 bridgeProps: er, 11710 _nk: "".concat(tr, "31") 11711 }, gt.createElement(un, { 11712 value: this.contextValue, 11713 _nk: "".concat(tr, "41") 11714 }, gt.Children.map(Bt, function(wr, Br) { 11715 return gt.cloneElement(wr, { 11716 key: "".concat(wr.key || "", ":").concat(qt, ":").concat(Br) 11717 }); 11718 })))))); 11719 } 11720 } 11721 ]); 11722 })(), cr = [ 11723 "children" 11724 ], xr = "UVSV", ur = "drop", jr = "refresh", vr = (() => { 11725 function It() { 11726 var At; 11727 St(this, It); 11728 for (var bt = arguments.length, Pt = new Array(bt), Ft = 0; Ft < bt; Ft++) Pt[Ft] = arguments[Ft]; 11729 return Tt(At = _t(this, It, [].concat(Pt)), "store", /* @__PURE__ */ new Map()), Tt(At, "nodes", /* @__PURE__ */ new Map()), Tt(At, "keepers", /* @__PURE__ */ new Map()), Tt(At, "debouncedForceUpdate", _e(function(Gt) { 11730 return At.forceUpdate(Gt); 11731 })), Tt(At, "updateCallbackList", []), Tt(At, "smartForceUpdate", function(Gt) { 11732 At.updateCallbackList.push(Gt), At.debouncedForceUpdate(function() { 11733 At.updateCallbackList.forEach(function(Bt) { 11734 return $(Bt); 11735 }), At.updateCallbackList = []; 11736 }); 11737 }), Tt(At, "update", function(Gt, Bt) { 11738 return new Promise(function(er) { 11739 var qt = At.keepers.get(Gt), wr = !qt, Br = Date.now(), Gr = At.nodes.get(Gt) || null; 11740 At.nodes.set(Gt, Kt(Kt({ 11741 id: Gt, 11742 createTime: Br, 11743 updateTime: Br 11744 }, Gr), Bt)), wr ? (At.helpers = Kt({}, At.helpers), At.forceUpdate(er)) : (Br = Bt.children, qt.setState({ 11745 children: Br, 11746 bridgeProps: Bt.bridgeProps 11747 }, er)); 11748 }); 11749 }), Tt(At, "keep", function(Gt, Bt) { 11750 return new Promise(function(er) { 11751 At.update(Gt, Kt({ 11752 id: Gt 11753 }, Bt)).then(function() { 11754 er(At.store.get(Gt)); 11755 }); 11756 }); 11757 }), Tt(At, "getCachingNodesByName", function(Gt) { 11758 return At.getCachingNodes().filter(function(Bt) { 11759 return Gt instanceof RegExp ? Gt.test(Bt.name) : Bt.name === Gt; 11760 }); 11761 }), Tt(At, "getScopeIds", function(Gt) { 11762 var Bt = function(er) { 11763 var qt = b(At.getCache(er), "aliveNodesId", []); 11764 return 0 < qt.size ? [ 11765 er, 11766 fr(qt).map(Bt) 11767 ] : [ 11768 er 11769 ].concat(fr(qt)); 11770 }; 11771 return g(Gt.map(function(er) { 11772 return Bt(er); 11773 })); 11774 }), Tt(At, "dropById", function(Gt) { 11775 for (var Bt = arguments.length, er = new Array(1 < Bt ? Bt - 1 : 0), qt = 1; qt < Bt; qt++) er[qt - 1] = arguments[qt]; 11776 return At.handleNodes.apply(At, [ 11777 [ 11778 Gt 11779 ], 11780 ur 11781 ].concat(er)); 11782 }), Tt(At, "dropScopeByIds", function(Gt) { 11783 for (var Bt = arguments.length, er = new Array(1 < Bt ? Bt - 1 : 0), qt = 1; qt < Bt; qt++) er[qt - 1] = arguments[qt]; 11784 return At.handleNodes.apply(At, [ 11785 At.getScopeIds(Gt), 11786 ur 11787 ].concat(er)); 11788 }), Tt(At, "drop", function(Gt) { 11789 for (var Bt = arguments.length, er = new Array(1 < Bt ? Bt - 1 : 0), qt = 1; qt < Bt; qt++) er[qt - 1] = arguments[qt]; 11790 return At.handleNodes.apply(At, [ 11791 At.getCachingNodesByName(Gt).map(function(wr) { 11792 return wr.id; 11793 }), 11794 ur 11795 ].concat(er)); 11796 }), Tt(At, "dropScope", function(Gt) { 11797 for (var Bt = arguments.length, er = new Array(1 < Bt ? Bt - 1 : 0), qt = 1; qt < Bt; qt++) er[qt - 1] = arguments[qt]; 11798 return At.dropScopeByIds.apply(At, [ 11799 At.getCachingNodesByName(Gt).map(function(wr) { 11800 return wr.id; 11801 }) 11802 ].concat(er)); 11803 }), Tt(At, "refreshById", function(Gt) { 11804 for (var Bt = arguments.length, er = new Array(1 < Bt ? Bt - 1 : 0), qt = 1; qt < Bt; qt++) er[qt - 1] = arguments[qt]; 11805 return At.handleNodes.apply(At, [ 11806 [ 11807 Gt 11808 ], 11809 jr 11810 ].concat(er)); 11811 }), Tt(At, "refreshScopeByIds", function(Gt) { 11812 for (var Bt = arguments.length, er = new Array(1 < Bt ? Bt - 1 : 0), qt = 1; qt < Bt; qt++) er[qt - 1] = arguments[qt]; 11813 return At.handleNodes.apply(At, [ 11814 At.getScopeIds(Gt), 11815 jr 11816 ].concat(er)); 11817 }), Tt(At, "refresh", function(Gt) { 11818 for (var Bt = arguments.length, er = new Array(1 < Bt ? Bt - 1 : 0), qt = 1; qt < Bt; qt++) er[qt - 1] = arguments[qt]; 11819 return At.handleNodes.apply(At, [ 11820 At.getCachingNodesByName(Gt).map(function(wr) { 11821 return wr.id; 11822 }), 11823 jr 11824 ].concat(er)); 11825 }), Tt(At, "refreshScope", function(Gt) { 11826 for (var Bt = arguments.length, er = new Array(1 < Bt ? Bt - 1 : 0), qt = 1; qt < Bt; qt++) er[qt - 1] = arguments[qt]; 11827 return At.refreshScopeByIds.apply(At, [ 11828 At.getCachingNodesByName(Gt).map(function(wr) { 11829 return wr.id; 11830 }) 11831 ].concat(er)); 11832 }), Tt(At, "handleNodes", function(Gt) { 11833 for (var Bt = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : ur, er = arguments.length, qt = new Array(2 < er ? er - 2 : 0), wr = 2; wr < er; wr++) qt[wr - 2] = arguments[wr]; 11834 return new Promise(function(Br) { 11835 var Gr = [];
11836 Gt.forEach(function(mn) { 11837 At.store.get(mn) && (mn = At.keepers.get(mn), Gr.push(mn)); 11838 }), Gr.length === 0 ? Br(false) : Promise.all(Gr.map(function(mn) { 11839 return $.apply(void 0, [ 11840 mn, 11841 Bt 11842 ].concat(qt)); 11843 })).then(function(mn) { 11844 return Br(mn.every(Boolean)); 11845 }); 11846 }); 11847 }), Tt(At, "clear", function() { 11848 for (var Gt = arguments.length, Bt = new Array(Gt), er = 0; er < Gt; er++) Bt[er] = arguments[er]; 11849 return At.handleNodes.apply(At, [ 11850 At.getCachingNodes().map(function(qt) { 11851 return qt.id; 11852 }), 11853 ur 11854 ].concat(Bt)); 11855 }), Tt(At, "getCache", function(Gt) { 11856 return At.store.get(Gt); 11857 }), Tt(At, "getNode", function(Gt) { 11858 return At.nodes.get(Gt); 11859 }), Tt(At, "getCachingNodes", function() { 11860 return fr(At.nodes.values()); 11861 }), Tt(At, "helpers", { 11862 keep: At.keep, 11863 update: At.update, 11864 drop: At.drop, 11865 dropScope: At.dropScope, 11866 dropById: At.dropById, 11867 dropScopeByIds: At.dropScopeByIds, 11868 refresh: At.refresh, 11869 refreshScope: At.refreshScope, 11870 refreshById: At.refreshById, 11871 refreshScopeByIds: At.refreshScopeByIds, 11872 getScopeIds: At.getScopeIds, 11873 clear: At.clear, 11874 getCache: At.getCache, 11875 getNode: At.getNode, 11876 getCachingNodes: At.getCachingNodes 11877 }), At; 11878 } 11879 return Ot(It, et.Component), Rt(It, [ 11880 { 11881 key: "render", 11882 value: function() { 11883 var At = this, bt = this.props.children, bt = bt === void 0 ? null : bt; 11884 return gt.createElement(Ar, { 11885 value: this.helpers, 11886 _nk: "".concat(xr, "11") 11887 }, bt, gt.createElement("div", { 11888 style: { 11889 display: "none" 11890 }, 11891 _nk: "".concat(xr, "21") 11892 }, fr(this.nodes.values()).map(function(Pt) { 11893 var Ft = Pt.children, Gt = ir(Pt, cr); 11894 return gt.createElement(nr, Yt({ 11895 key: Gt.id 11896 }, Gt, { 11897 scope: At, 11898 store: At.store, 11899 keepers: At.keepers, 11900 ref: function(Bt) { 11901 At.keepers.set(Gt.id, Bt); 11902 }, 11903 _nk: "iAr".concat(xr, "31") 11904 }), Ft); 11905 }))); 11906 } 11907 } 11908 ]); 11909 })(), Zr = [ 11910 "id", 11911 "forwardedRef" 11912 ], Yr = [ 11913 "id", 11914 "forwardedRef" 11915 ], Xr = [ 11916 "forwardedRef" 11917 ], qr = [ 11918 "forwardedRef" 11919 ], ln = "X7Aa"; 11920 function Wr(It) { 11921 return { 11922 drop: It.drop, 11923 dropScope: It.dropScope, 11924 refresh: It.refresh, 11925 refreshScope: It.refreshScope, 11926 clear: It.clear, 11927 getCachingNodes: It.getCachingNodes, 11928 dropById: It.dropById, 11929 dropScopeByIds: It.dropScopeByIds, 11930 refreshById: It.refreshById, 11931 refreshScopeByIds: It.refreshScopeByIds 11932 }; 11933 } 11934 function Jr() { 11935 var It = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : {}; 11936 return !!at(It) && (It.scrollWidth > It.clientWidth || It.scrollHeight > It.clientHeight); 11937 } 11938 function rn(It) { 11939 return tt(b(ht, "document.querySelectorAll")) ? [].concat(fr(dt($(It, "querySelectorAll", "*"), [])), [ 11940 It 11941 ]).filter(Jr) : []; 11942 } 11943 var vn = [ 11944 "_helpers", 11945 "id", 11946 "children" 11947 ], Pr = [ 11948 "_helpers", 11949 "id", 11950 "name" 11951 ], nn = b(ht, "document.body"), $r = b(ht, "document.scrollingElement", b(ht, "document.documentElement", {})), Mr = (() => { 11952 function It(At) { 11953 var bt; 11954 return St(this, It), Tt(bt = _t(this, It, [ 11955 At 11956 ]), "id", null), Tt(bt, "isKeepAlive", true), Tt(bt, "cached", false), Tt(bt, "inject", function() { 11957 var Pt = !(0 < arguments.length && arguments[0] !== void 0) || arguments[0], Bt = bt.props, Ft = Bt.id, Gt = Bt.saveScrollPosition, Bt = Bt._helpers.getCache(Ft); 11958 try {
11959 Bt.nodes.forEach(function(er) { 11960 bt.placeholder.appendChild(er); 11961 }), Pt && Gt && $(Bt.revertScrollPos); 11962 } catch (e2) { 11963 } 11964 }), Tt(bt, "eject", function() { 11965 var Pt, Ft = !(0 < arguments.length && arguments[0] !== void 0) || arguments[0], er = bt.props, Gt = er.id, Bt = er._helpers.getCache(Gt), er = g(g([ 11966 bt.props.saveScrollPosition 11967 ]).map(function(qt) { 11968 return qt === true ? Bt.nodes : qt === "screen" ? [ 11969 $r, 11970 nn 11971 ] : fr(dt($(ht, "document.querySelectorAll", qt), [])); 11972 })).filter(Boolean); 11973 try { 11974 Ft && 0 < er.length && (Bt.revertScrollPos = (Pt = fr(new Set(fr(g(er.map(rn))))).map(function(qt) { 11975 return [ 11976 qt, 11977 { 11978 x: qt.scrollLeft, 11979 y: qt.scrollTop 11980 } 11981 ]; 11982 }), function() { 11983 Pt.forEach(function(Gr) { 11984 var Gr = $t(Gr, 2), wr = Gr[0], Gr = Gr[1], Br = Gr.x, Gr = Gr.y; 11985 wr.scrollLeft = Br, wr.scrollTop = Gr; 11986 }); 11987 })), Bt.nodes.forEach(function(qt) { 11988 Ft ? bt.placeholder.removeChild(qt) : Bt.wrapper.appendChild(qt); 11989 }); 11990 } catch (e2) { 11991 } 11992 }), Tt(bt, "refresh", function() { 11993 var Pt = bt.props; 11994 return Pt._helpers.refreshById(Pt.id); 11995 }), Tt(bt, "drop", function(Pt) { 11996 var Ft = bt.props; 11997 return Ft._helpers.dropById(Ft.id, Pt); 11998 }), Tt(bt, "init", function() { 11999 var Bt = bt.props, Pt = Bt._helpers, Ft = Bt.id, Gt = Bt.children, Bt = ir(Bt, vn); 12000 Pt.keep(Ft, Kt({ 12001 children: Gt, 12002 getInstance: function() { 12003 return bt; 12004 } 12005 }, Bt)).then(function(er) { 12006 er && (bt.inject(), er.inited ? $(bt, Lt) : er.inited = true, bt.cached = false); 12007 }); 12008 }), Tt(bt, "update", function() { 12009 var Bt = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : {}, Pt = Bt._helpers, Ft = Bt.id, Gt = Bt.name, Bt = ir(Bt, Pr); 12010 Pt && !bt.cached && Pt.update(Ft, Kt({ 12011 name: Gt, 12012 getInstance: function() { 12013 return bt; 12014 } 12015 }, Bt)); 12016 }), bt.id = At.id, bt.init(), [ 12017 Lt, 12018 Qt 12019 ].forEach(function(Pt) { 12020 bt[Pt] = function() { 12021 var Gt = bt.props, Bt = Gt.id, Gt = Gt._helpers, Ft = Gt.getCache(Bt), Gt = Gt.getNode(Bt), Bt = (Gt && Pt === Lt && (Gt.updateTime = Date.now()), Pt === Qt); 12022 !Ft || Ft.willDrop ? bt.cached && !Bt && bt.init() : ($(Ft, Pt), Ft.cached = Bt, bt.cached = Bt); 12023 }; 12024 }), bt; 12025 } 12026 return Ot(It, et.Component), Rt(It, [ 12027 { 12028 key: "shouldComponentUpdate", 12029 value: function(At) { 12030 return this.update(At), false; 12031 } 12032 }, 12033 { 12034 key: "componentWillUnmount", 12035 value: function() { 12036 var Gt = this.props, At = Gt.id, bt = Gt._helpers, Gt = Gt.when, Gt = Gt === void 0 || Gt, Pt = bt.getCache(At); 12037 Gt = $(Gt); 12038 var Gt = $t(pt(Gt) ? Gt : [ 12039 Gt 12040 ], 2), Ft = Gt[0], Gt = Gt[1]; 12041 Pt && (this.eject(), delete Pt.getInstance, Ft || (Gt ? ([ 12042 Pt 12043 ].concat(fr(bt.getScopeIds([ 12044 At 12045 ]).map(function(Bt) { 12046 return bt.getCache(Bt); 12047 }))).filter(Boolean).forEach(function(Bt) { 12048 Bt.willDrop = true; 12049 }), st(function() { 12050 return bt.dropScopeByIds([ 12051 At 12052 ]); 12053 })) : (Pt.willDrop = true, st(function() { 12054 return bt.dropById(At); 12055 }))), $(this, Qt)); 12056 } 12057 }, 12058 { 12059 key: "render", 12060 value: function() { 12061 var At = this, bt = (this.props || {}).wrapperProps, bt = bt === void 0 ? {}
12061 : bt; 12062 return gt.createElement("div", Yt({}, bt, { 12063 key: "keep-alive-placeholder", 12064 className: "ka-wrapper ".concat(bt.className || ""), 12065 ref: function(Pt) { 12066 At.placeholder = Pt; 12067 } 12068 })); 12069 } 12070 } 12071 ]); 12072 })(); 12073 Tt(Mr, "defaultProps", { 12074 saveScrollPosition: true 12075 }); 12076 var hn, gn, Mr = tt(b(ht, "document.getElementById")) ? (hn = wt(Mr), gn = tt(et.useContext) ? function(Pt) { 12077 var At = Pt.id, bt = Pt.forwardedRef, Pt = ir(Pt, Zr); 12078 return yn({ 12079 idPrefix: At, 12080 helpers: Or(), 12081 props: Pt, 12082 forwardedRef: bt 12083 }); 12084 } : function(It) { 12085 var At = It.id, bt = It.forwardedRef, Pt = ir(It, Yr); 12086 return gt.createElement(yr, { 12087 _nk: "".concat(ln, "41") 12088 }, function(Ft) { 12089 return yn({ 12090 idPrefix: At, 12091 helpers: Ft, 12092 props: Pt, 12093 forwardedRef: bt 12094 }); 12095 }); 12096 }, tt(et.forwardRef) ? ft(et.forwardRef(function(It, At) { 12097 return gt.createElement(gn, Yt({}, It, { 12098 forwardedRef: At, 12099 _nk: "".concat(ln, "51") 12100 })); 12101 }), hn) : ft(gn, hn)) : function(At) { 12102 var At = At.children, Pt = this.props || {}, bt = (bt = Pt.wrapperProps) === void 0 ? {} : bt, Pt = (Pt = Pt.contentProps) === void 0 ? {} : Pt; 12103 return gt.createElement("div", Yt({}, bt, { 12104 key: "keep-alive-placeholder", 12105 className: "ka-wrapper ".concat(bt.className || "") 12106 }), gt.createElement("div", Yt({}, Pt, { 12107 key: "keeper-container", 12108 className: "ka-content ".concat(Pt.className || "") 12109 }), At)); 12110 }; 12111 function yn(It) { 12112 var At = It.idPrefix, bt = It.helpers, Pt = It.props, Ft = It.forwardedRef; 12113 return (It = ct(bt)) && console.error("You should not use <KeepAlive /> outside a <AliveScope>"), It ? b(Pt, "children", null) : gt.createElement(mt, { 12114 prefix: At, 12115 key: Pt._nk, 12116 manualKey: Pt.cacheKey, 12117 _nk: "".concat(ln, "11") 12118 }, function(Gt) { 12119 var Bt = Pt.cacheKey || Gt; 12120 return gt.createElement(vt, { 12121 key: Bt, 12122 id: Bt, 12123 _nk: "".concat(ln, "21") 12124 }, function(er) { 12125 return gt.createElement(hn, Yt({ 12126 key: Bt 12127 }, Pt, er, { 12128 id: Bt, 12129 ref: Ft, 12130 _helpers: bt, 12131 _nk: "".concat(ln, "31") 12132 })); 12133 }); 12134 }); 12135 } 12136 h.AliveScope = vr, h.KeepAlive = Mr, h.NodeKey = mt, h.autoFixContext = dr, h.createContext = function(It, At) { 12137 return It = gr(It, At), hr(It), It; 12138 }, h.default = Mr, h.fixContext = hr, h.useActivate = Wt, h.useAliveController = function() { 12139 var It; 12140 return tt(et.useContext) && (It = Or()) ? Wr(It) : {}; 12141 }, h.useUnactivate = Zt, h.withActivation = wt, h.withAliveScope = function(It) { 12142 function At(Pt) { 12143 var Ft = Pt.helpers; 12144 return gt.createElement(It, Yt({}, Pt.props, Ft, { 12145 ref: Pt.forwardedRef, 12146 _nk: "".concat(ln, "61") 12147 })); 12148 } 12149 var bt = tt(et.useContext) ? function(Gt) { 12150 var Ft = Gt.forwardedRef, Gt = ir(Gt, Xr); 12151 return At({ 12152 helpers: Wr(Or() || {}), 12153 props: Gt, 12154 forwardedRef: Ft 12155 }); 12156 } : function(Pt) { 12157 var Ft = Pt.forwardedRef, Gt = ir(Pt, qr); 12158 return gt.createElement(yr, { 12159 _nk: "".concat(ln, "42") 12160 }, function() { 12161 return At({ 12162 helpers: Wr(0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : {}), 12163 props: Gt, 12164 forwardedRef: Ft 12165 }); 12166 }); 12167 }; 12168 return tt(et.forwardRef) ? ft(et.forwardRef(function(Pt, Ft) { 12169 return gt.createElement(bt, Yt({}, Pt, { 12170 forwardedRef: Ft, 12171 _nk: "".concat(ln, "71") 12172 })); 12173 }), It) : ft(bt, It); 12174 }, Object.defineProperty(h, "__esModule", { 12175 value: true 12176 }); 12177 }); 12178 }
12178)(index_min$1, index_min$1.exports); 12179 var index_minExports = index_min$1.exports; 12180 reactActivation.exports = index_minExports; 12181 var reactActivationExports = reactActivation.exports, classnames = { 12182 exports: {} 12183 }; 12184 (function(d) { 12185 (function() { 12186 var o = {}.hasOwnProperty; 12187 function h() { 12188 for (var $ = "", _e = 0; _e < arguments.length; _e++) { 12189 var et = arguments[_e]; 12190 et && ($ = b($, g(et))); 12191 } 12192 return $; 12193 } 12194 function g($) { 12195 if (typeof $ == "string" || typeof $ == "number") return $; 12196 if (typeof $ != "object") return ""; 12197 if (Array.isArray($)) return h.apply(null, $); 12198 if ($.toString !== Object.prototype.toString && !$.toString.toString().includes("[native code]")) return $.toString(); 12199 var _e = ""; 12200 for (var et in $) o.call($, et) && $[et] && (_e = b(_e, et)); 12201 return _e; 12202 } 12203 function b($, _e) { 12204 return _e ? $ ? $ + " " + _e : $ + _e : $; 12205 } 12206 d.exports ? (h.default = h, d.exports = h) : window.classNames = h; 12207 })(); 12208 })(classnames); 12209 var classnamesExports = classnames.exports; 12210 const classNames = getDefaultExportFromCjs(classnamesExports); 12211 var voidElements = { 12212 area: true, 12213 base: true, 12214 br: true, 12215 col: true, 12216 embed: true, 12217 hr: true, 12218 img: true, 12219 input: true, 12220 link: true, 12221 meta: true, 12222 param: true, 12223 source: true, 12224 track: true, 12225 wbr: true 12226 }; 12227 const e = getDefaultExportFromCjs(voidElements); 12228 var t = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g; 12229 function n(d) { 12230 var o = { 12231 type: "tag", 12232 name: "", 12233 voidElement: false, 12234 attrs: {}, 12235 children: [] 12236 }, h = d.match(/<\/?([^\s]+?)[/\s>]/); 12237 if (h && (o.name = h[1], (e[h[1]] || d.charAt(d.length - 2) === "/") && (o.voidElement = true), o.name.startsWith("!--"))) { 12238 var g = d.indexOf("-->"); 12239 return { 12240 type: "comment", 12241 comment: g !== -1 ? d.slice(4, g) : "" 12242 }; 12243 } 12244 for (var b = new RegExp(t), $ = null; ($ = b.exec(d)) !== null; ) if ($[0].trim()) if ($[1]) { 12245 var _e = $[1].trim(), et = [ 12246 _e, 12247 "" 12248 ]; 12249 _e.indexOf("=") > -1 && (et = _e.split("=")), o.attrs[et[0]] = et[1], b.lastIndex--; 12250 } else $[2] && (o.attrs[$[2]] = $[3].trim().substring(1, $[3].length - 1)); 12251 return o; 12252 } 12253 var r = /<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g, i = /^\s*$/, s = /* @__PURE__ */ Object.create(null); 12254 function a(d, o) { 12255 switch (o.type) { 12256 case "text": 12257 return d + o.content; 12258 case "tag": 12259 return d += "<" + o.name + (o.attrs ? function(h) { 12260 var g = []; 12261 for (var b in h) g.push(b + '="' + h[b] + '"'); 12262 return g.length ? " " + g.join(" ") : ""; 12263 }(o.attrs) : "") + (o.voidElement ? "/>" : ">"), o.voidElement ? d : d + o.children.reduce(a, "") + "</" + o.name + ">"; 12264 case "comment": 12265 return d + "<!--" + o.comment + "-->"; 12266 } 12267 } 12268 var c = { 12269 parse: function(d, o) { 12270 o || (o = {}), o.components || (o.components = s); 12271 var h, g = [], b = [], $ = -1, _e = false; 12272 if (d.indexOf("<") !== 0) { 12273 var et = d.indexOf("<"); 12274 g.push({ 12275 type: "text", 12276 content: et === -1 ? d : d.substring(0, et) 12277 }); 12278 } 12279 return d.replace(r, function(tt, rt) { 12280 if (_e) { 12281 if (tt !== "</" + h.name + ">") return; 12282 _e = false; 12283 } 12284 var nt, st = tt.charAt(1) !== "/", ot = tt.startsWith("<!--"), it = rt + tt.length, at = d.charAt(it); 12285 if (ot) { 12286 var lt = n(tt); 12287 return $ < 0 ? (g.push(lt), g) : ((nt = b[$]).children.push(lt), g); 12288 } 12289 if (st && ($++, (h = n(tt)).type === "tag" && o.components[h.name] && (h.type = "component", _e = true), h.voidElement || _e || !at || at === "<" || h.children.push({ 12290 type: "text", 12291 content: d.slice(it, d.indexOf("<", it)) 12292 }), $ === 0 && g.push(h), (nt = b[$ - 1]) && nt.children.push(h), b[$] = h), (!st || h.voidElement) && ($ > -1 && (h.voidElement || h.name === tt.slice(2, -1)) && ($--, h = $ === -1 ? g : b[$]), !_e && at !== "<" && at)) { 12293 nt = $ === -1 ? g : b[$].children; 12294 var ct = d.indexOf("<", it), ut = d.slice(it, ct === -1 ? void 0 : ct); 12295 i.test(ut) && (ut = " "), (ct > -1 && $ + nt.length >= 0 || ut !== " ") && nt.push({ 12296 type: "text", 12297 content: ut 12298 }); 12299 } 12300 }), g; 12301 }, 12302 stringify: function(d) { 12303 return d.reduce(function(o, h) { 12304 return o + a("", h); 12305 }, ""); 12306 } 12307 }; 12308 const warn = (d, o, h, g) => { 12309 var _a, _b, _c, _d; 12310 const b = [ 12311 h, 12312 { 12313 code: o, 12314 ...g || {} 12315 } 12316 ]; 12317 if ((_b = (_a = d == null ? void 0 : d.services) == null ? void 0 : _a.logger) == null ? void 0 : _b.forward) return d.services.logger.forward(b, "warn", "react-i18next::", true); 12318 isString$1(b[0]) && (b[0] = "react-i18next:: ".concat(b[0])), ((_d = (_c = d == null ? void 0 : d.services) == null ? void 0 : _c.logger) == null ? void 0 : _d.warn) ? d.services.logger.warn(...b) : (console == null ? void 0 : console.warn) && console.warn(...b); 12319 }, alreadyWarned = {}, warnOnce = (d, o, h, g) => { 12320 isString$1(h) && alreadyWarned[h] || (isString$1(h) && (alreadyWarned[h] = /* @__PURE__ */ new Date()), warn(d, o, h, g)); 12321 }, loadedClb = (d, o) => () => { 12322 if (d.isInitialized) o(); 12323 else { 12324 const h = () => { 12325 setTimeout(() => { 12326 d.off("initialized", h); 12327 }, 0), o(); 12328 }; 12329 d.on("initialized", h); 12330 } 12331 }, loadNamespaces = (d, o, h) => { 12332 d.loadNamespaces(o, loadedClb(d, h)); 12333 }, loadLanguages = (d, o, h, g) => { 12334 if (isString$1(h) && (h = [ 12335 h 12336 ]), d.options.preload && d.options.preload.indexOf(o) > -1) return loadNamespaces(d, h, g); 12337 h.forEach((b) => { 12338 d.options.ns.indexOf(b) < 0 && d.options.ns.push(b); 12339 }), d.loadLanguages(o, loadedClb(d, g)); 12340 }, hasLoadedNamespace = (d, o, h = {}) => !o.languages || !o.languages.length ? (warnOnce(o, "NO_LANGUAGES", "i18n.languages were undefined or empty", { 12341 languages: o.languages 12342 }), true) : o.hasLoadedNamespace(d, { 12343 lng: h.lng, 12344 precheck: (g, b) => { 12345 var _a; 12346 if (((_a = h.bindI18n) == null ? void 0 : _a.indexOf("languageChanging")) > -1 && g.services.backendConnector.backend && g.isLanguageChangingTo && !b(g.isLanguageChangingTo, d)) return false;
12347 } 12348 }), isString$1 = (d) => typeof d == "string", isObject$4 = (d) => typeof d == "object" && d !== null, matchHtmlEntity = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, htmlEntities = { 12349 "&": "&", 12350 "&": "&", 12351 "<": "<", 12352 "<": "<", 12353 ">": ">", 12354 ">": ">", 12355 "'": "'", 12356 "'": "'", 12357 """: '"', 12358 """: '"', 12359 " ": " ", 12360 " ": " ", 12361 "©": "\xA9", 12362 "©": "\xA9", 12363 "®": "\xAE", 12364 "®": "\xAE", 12365 "…": "\u2026", 12366 "…": "\u2026", 12367 "/": "/", 12368 "/": "/" 12369 }, unescapeHtmlEntity = (d) => htmlEntities[d], unescape = (d) => d.replace(matchHtmlEntity, unescapeHtmlEntity); 12370 let defaultOptions = { 12371 bindI18n: "languageChanged", 12372 bindI18nStore: "", 12373 transEmptyNodeValue: "", 12374 transSupportBasicHtmlNodes: true, 12375 transWrapTextNodes: "", 12376 transKeepBasicHtmlNodesFor: [ 12377 "br", 12378 "strong", 12379 "i", 12380 "p" 12381 ], 12382 useSuspense: true, 12383 unescape 12384 }; 12385 const setDefaults$1 = (d = {}) => { 12386 defaultOptions = { 12387 ...defaultOptions, 12388 ...d 12389 }; 12390 }, getDefaults$1 = () => defaultOptions; 12391 let i18nInstance; 12392 const setI18n = (d) => { 12393 i18nInstance = d; 12394 }, getI18n = () => i18nInstance, hasChildren = (d, o) => { 12395 var _a, _b; 12396 if (!d) return false; 12397 const h = (_b = (_a = d.props) == null ? void 0 : _a.children) != null ? _b : d.children; 12398 return o ? h.length > 0 : !!h; 12399 }, getChildren$1 = (d) => { 12400 var _a, _b, _c; 12401 if (!d) return []; 12402 const o = (_b = (_a = d.props) == null ? void 0 : _a.children) != null ? _b : d.children; 12403 return ((_c = d.props) == null ? void 0 : _c.i18nIsDynamicList) ? getAsArray(o) : o; 12404 }, hasValidReactChildren = (d) => Array.isArray(d) && d.every(reactExports.isValidElement), getAsArray = (d) => Array.isArray(d) ? d : [ 12405 d 12406 ], mergeProps = (d, o) => { 12407 const h = { 12408 ...o 12409 }; 12410 return h.props = Object.assign(d.props, o.props), h; 12411 }, nodesToString = (d, o, h, g) => { 12412 var _a; 12413 if (!d) return ""; 12414 let b = ""; 12415 const $ = getAsArray(d), _e = (o == null ? void 0 : o.transSupportBasicHtmlNodes) ? (_a = o.transKeepBasicHtmlNodesFor) != null ? _a : [] : []; 12416 return $.forEach((et, tt) => { 12417 if (isString$1(et)) { 12418 b += "".concat(et); 12419 return; 12420 } 12421 if (reactExports.isValidElement(et)) { 12422 const { props: rt, type: nt } = et, st = Object.keys(rt).length, ot = _e.indexOf(nt) > -1, it = rt.children; 12423 if (!it && ot && !st) { 12424 b += "<".concat(nt, "/>"); 12425 return; 12426 } 12427 if (!it && (!ot || st) || rt.i18nIsDynamicList) { 12428 b += "<".concat(tt, "></").concat(tt, ">"); 12429 return; 12430 } 12431 if (ot && st === 1 && isString$1(it)) { 12432 b += "<".concat(nt, ">").concat(it, "</").concat(nt, ">"); 12433 return; 12434 } 12435 const at = nodesToString(it, o, h, g); 12436 b += "<".concat(tt, ">").concat(at, "</").concat(tt, ">"); 12437 return; 12438 } 12439 if (et === null) { 12440 warn(h, "TRANS_NULL_VALUE", "Passed in a null value as child", { 12441 i18nKey: g 12442 }); 12443 return; 12444 } 12445 if (isObject$4(et)) { 12446 const { format: rt, ...nt } = et, st = Object.keys(nt); 12447 if (st.length === 1) { 12448 const ot = rt ? "".concat(st[0], ", ").concat(rt) : st[0]; 12449 b += "{{".concat(ot, "}}"); 12450 return; 12451 } 12452 warn(h, "TRANS_INVALID_OBJ", "Invalid child - Object should only have keys {{ value, format }} (format is optional).", { 12453 i18nKey: g, 12454 child: et 12455 }); 12456 return; 12457 } 12458 warn(h, "TRANS_INVALID_VAR", "Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.", { 12459 i18nKey: g, 12460 child: et 12461 }); 12462 }), b; 12463 }, renderNodes = (d, o, h, g, b, $, _e) => { 12464 if (h === "") return []; 12465 const et = b.transKeepBasicHtmlNodesFor || [], tt = h && new RegExp(et.map((ut) => "<".concat(ut)).join("|")).test(h); 12466 if (!d && !o && !tt && !_e) return [ 12467 h 12468 ]; 12469 const rt = o != null ? o : {}, nt = (ut) => { 12470 getAsArray(ut).forEach((dt) => { 12471 isString$1(dt) || (hasChildren(dt) ? nt(getChildren$1(dt)) : isObject$4(dt) && !reactExports.isValidElement(dt) && Object.assign(rt, dt)); 12472 }); 12473 }; 12474 nt(d); 12475 const st = c.parse("<0>".concat(h, "</0>")), ot = { 12476 ...rt, 12477 ...$ 12478 }, it = (ut, ft, dt) => { 12479 var _a; 12480 const pt = getChildren$1(ut), ht = lt(pt, ft.children, dt); 12481 return hasValidReactChildren(pt) && ht.length === 0 || ((_a = ut.props) == null ? void 0 : _a.i18nIsDynamicList) ? pt : ht; 12482 }, at = (ut, ft, dt, pt, ht) => { 12483 ut.dummy ? (ut.children = ft, dt.push(reactExports.cloneElement(ut, { 12484 key: pt 12485 }, ht ? void 0 : ft))) : dt.push(...reactExports.Children.map([ 12486 ut 12487 ], (mt) => { 12488 var _a; 12489 const gt = { 12490 ...mt.props 12491 }; 12492 return delete gt.i18nIsDynamicList, reactExports.createElement(mt.type, { 12493 ...gt, 12494 key: pt, 12495 ref: (_a = mt.props.ref) != null ? _a : mt.ref 12496 }, ht ? null : ft); 12497 })); 12498 }, lt = (ut, ft, dt) => { 12499 const pt = getAsArray(ut); 12500 return getAsArray(ft).reduce((mt, gt, yt) => { 12501 var _a, _b; 12502 const xt = ((_b = (_a = gt.children) == null ? void 0 : _a[0]) == null ? void 0 : _b.content) && g.services.interpolator.interpolate(gt.children[0].content, ot, g.language); 12503 if (gt.type === "tag") {
12504 let _t = pt[parseInt(gt.name, 10)]; 12505 !_t && o && (_t = o[gt.name]), dt.length === 1 && !_t && (_t = dt[0][gt.name]), _t || (_t = {}); 12506 const St = Object.keys(gt.attrs).length !== 0 ? mergeProps({ 12507 props: gt.attrs 12508 }, _t) : _t, kt = reactExports.isValidElement(St), Rt = kt && hasChildren(gt, true) && !gt.voidElement, Tt = tt && isObject$4(St) && St.dummy && !kt, Yt = isObject$4(o) && Object.hasOwnProperty.call(o, gt.name); 12509 if (isString$1(St)) { 12510 const Dt = g.services.interpolator.interpolate(St, ot, g.language); 12511 mt.push(Dt); 12512 } else if (hasChildren(St) || Rt) { 12513 const Dt = it(St, gt, dt); 12514 at(St, Dt, mt, yt); 12515 } else if (Tt) { 12516 const Dt = lt(pt, gt.children, dt); 12517 at(St, Dt, mt, yt); 12518 } else if (Number.isNaN(parseFloat(gt.name))) if (Yt) { 12519 const Dt = it(St, gt, dt); 12520 at(St, Dt, mt, yt, gt.voidElement); 12521 } else if (b.transSupportBasicHtmlNodes && et.indexOf(gt.name) > -1) if (gt.voidElement) mt.push(reactExports.createElement(gt.name, { 12522 key: "".concat(gt.name, "-").concat(yt) 12523 })); 12524 else { 12525 const Dt = lt(pt, gt.children, dt); 12526 mt.push(reactExports.createElement(gt.name, { 12527 key: "".concat(gt.name, "-").concat(yt) 12528 }, Dt)); 12529 } 12530 else if (gt.voidElement) mt.push("<".concat(gt.name, " />")); 12531 else { 12532 const Dt = lt(pt, gt.children, dt); 12533 mt.push("<".concat(gt.name, ">").concat(Dt, "</").concat(gt.name, ">")); 12534 } 12535 else if (isObject$4(St) && !kt) { 12536 const Dt = gt.children[0] ? xt : null; 12537 Dt && mt.push(Dt); 12538 } else at(St, xt, mt, yt, gt.children.length !== 1 || !xt); 12539 } else if (gt.type === "text") { 12540 const _t = b.transWrapTextNodes, St = _e ? b.unescape(g.services.interpolator.interpolate(gt.content, ot, g.language)) : g.services.interpolator.interpolate(gt.content, ot, g.language); 12541 _t ? mt.push(reactExports.createElement(_t, { 12542 key: "".concat(gt.name, "-").concat(yt) 12543 }
12543, St)) : mt.push(St); 12544 } 12545 return mt; 12546 }, []); 12547 }, ct = lt([ 12548 { 12549 dummy: true, 12550 children: d || [] 12551 } 12552 ], st, getAsArray(d || [])); 12553 return getChildren$1(ct[0]); 12554 }, fixComponentProps = (d, o, h) => { 12555 const g = d.key || o, b = reactExports.cloneElement(d, { 12556 key: g 12557 }); 12558 if (!b.props || !b.props.children || h.indexOf("".concat(o, "/>")) < 0 && h.indexOf("".concat(o, " />")) < 0) return b; 12559 function $() { 12560 return reactExports.createElement(reactExports.Fragment, null, b); 12561 } 12562 return reactExports.createElement($, { 12563 key: g 12564 }); 12565 }, generateArrayComponents = (d, o) => d.map((h, g) => fixComponentProps(h, g, o)), generateObjectComponents = (d, o) => { 12566 const h = {}; 12567 return Object.keys(d).forEach((g) => { 12568 Object.assign(h, { 12569 [g]: fixComponentProps(d[g], g, o) 12570 }); 12571 }), h; 12572 }, generateComponents = (d, o, h, g) => d ? Array.isArray(d) ? generateArrayComponents(d, o) : isObject$4(d) ? generateObjectComponents(d, o) : (warnOnce(h, "TRANS_INVALID_COMPONENTS", '<Trans /> "components" prop expects an object or array', { 12573 i18nKey: g 12574 }), null) : null, isComponentsMap = (d) => !isObject$4(d) || Array.isArray(d) ? false : Object.keys(d).reduce((o, h) => o && Number.isNaN(Number.parseFloat(h)), true); 12575 function Trans$1({ children: d, count: o, parent: h, i18nKey: g, context: b, tOptions: $ = {}, values: _e, defaults: et, components: tt, ns: rt, i18n: nt, t: st, shouldUnescape: ot, ...it }) { 12576 var _a, _b, _c, _d, _e2, _f; 12577 const at = nt || getI18n(); 12578 if (!at) return warnOnce(at, "NO_I18NEXT_INSTANCE", "Trans: You need to pass in an i18next instance using i18nextReactModule", { 12579 i18nKey: g 12580 }), d; 12581 const lt = st || at.t.bind(at) || ((Tt) => Tt), ct = { 12582 ...getDefaults$1(), 12583 ...(_a = at.options) == null ? void 0 : _a.react 12584 }; 12585 let ut = rt || lt.ns || ((_b = at.options) == null ? void 0 : _b.defaultNS); 12586 ut = isString$1(ut) ? [ 12587 ut 12588 ] : ut || [ 12589 "translation" 12590 ]; 12591 const ft = nodesToString(d, ct, at, g), dt = et || ft || ct.transEmptyNodeValue || g, { hashTransKey: pt } = ct, ht = g || (pt ? pt(ft || dt) : ft || dt); 12592 ((_d = (_c = at.options) == null ? void 0 : _c.interpolation) == null ? void 0 : _d.defaultVariables) && (_e = _e && Object.keys(_e).length > 0 ? { 12593 ..._e, 12594 ...at.options.interpolation.defaultVariables 12595 } : { 12596 ...at.options.interpolation.defaultVariables 12597 }); 12598 const mt = _e || o !== void 0 && !((_f = (_e2 = at.options) == null ? void 0 : _e2.interpolation) == null ? void 0 : _f.alwaysFormat) || !d ? $.interpolation : { 12599 interpolation: { 12600 ...$.interpolation, 12601 prefix: "#$?", 12602 suffix: "?$#" 12603 } 12604 }, gt = { 12605 ...$, 12606 context: b || $.context, 12607 count: o, 12608 ..._e, 12609 ...mt, 12610 defaultValue: dt, 12611 ns: ut 12612 }, yt = ht ? lt(ht, gt) : dt, xt = generateComponents(tt, yt, at, g); 12613 let _t = xt || d, St = null; 12614 isComponentsMap(xt) && (St = xt, _t = d); 12615 const kt = renderNodes(_t, St, yt, at, ct, gt, ot), Rt = h != null ? h : ct.defaultTransParent; 12616 return Rt ? reactExports.createElement(Rt, it, kt) : kt; 12617 } 12618 const initReactI18next = { 12619 type: "3rdParty", 12620 init(d) { 12621 setDefaults$1(d.options.react), setI18n(d); 12622 } 12623 }, I18nContext = reactExports.createContext(); 12624 class ReportNamespaces { 12625 constructor() { 12626 this.usedNamespaces = {}; 12627 } 12628 addUsedNamespaces(o) { 12629 o.forEach((h) => { 12630 this.usedNamespaces[h] || (this.usedNamespaces[h] = true); 12631 }); 12632 } 12633 getUsedNamespaces() { 12634 return Object.keys(this.usedNamespaces); 12635 } 12636 } 12637 function Trans({ children: d, count: o, parent: h, i18nKey: g, context: b, tOptions: $ = {}, values: _e, defaults: et, components: tt, ns: rt, i18n: nt, t: st, shouldUnescape: ot, ...it }) { 12638 var _a; 12639 const { i18n: at, defaultNS: lt } = reactExports.useContext(I18nContext) || {}, ct = nt || at || getI18n(), ut = st || (ct == null ? void 0 : ct.t.bind(ct)); 12640 return Trans$1({ 12641 children: d, 12642 count: o, 12643 parent: h, 12644 i18nKey: g, 12645 context: b, 12646 tOptions: $, 12647 values: _e, 12648 defaults: et, 12649 components: tt, 12650 ns: rt || (ut == null ? void 0 : ut.ns) || lt || ((_a = ct == null ? void 0 : ct.options) == null ? void 0 : _a.defaultNS), 12651 i18n: ct, 12652 t: st,
12653 shouldUnescape: ot, 12654 ...it 12655 }); 12656 } 12657 const usePrevious = (d, o) => { 12658 const h = reactExports.useRef(); 12659 return reactExports.useEffect(() => { 12660 h.current = d; 12661 }, [ 12662 d, 12663 o 12664 ]), h.current; 12665 }, alwaysNewT = (d, o, h, g) => d.getFixedT(o, h, g), useMemoizedT = (d, o, h, g) => reactExports.useCallback(alwaysNewT(d, o, h, g), [ 12666 d, 12667 o, 12668 h, 12669 g 12670 ]), useTranslation = (d, o = {}) => { 12671 var _a, _b, _c, _d; 12672 const { i18n: h } = o, { i18n: g, defaultNS: b } = reactExports.useContext(I18nContext) || {}, $ = h || g || getI18n(); 12673 if ($ && !$.reportNamespaces && ($.reportNamespaces = new ReportNamespaces()), !$) { 12674 warnOnce($, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next"); 12675 const pt = (mt, gt) => isString$1(gt) ? gt : isObject$4(gt) && isString$1(gt.defaultValue) ? gt.defaultValue : Array.isArray(mt) ? mt[mt.length - 1] : mt, ht = [ 12676 pt, 12677 {}, 12678 false 12679 ]; 12680 return ht.t = pt, ht.i18n = {}, ht.ready = false, ht; 12681 } 12682 ((_a = $.options.react) == null ? void 0 : _a.wait) && warnOnce($, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour."); 12683 const _e = { 12684 ...getDefaults$1(), 12685 ...$.options.react, 12686 ...o 12687 }, { useSuspense: et, keyPrefix: tt } = _e; 12688 let rt = b || ((_b = $.options) == null ? void 0 : _b.defaultNS); 12689 rt = isString$1(rt) ? [ 12690 rt 12691 ] : rt || [ 12692 "translation" 12693 ], (_d = (_c = $.reportNamespaces).addUsedNamespaces) == null ? void 0 : _d.call(_c, rt); 12694 const nt = ($.isInitialized || $.initializedStoreOnce) && rt.every((pt) => hasLoadedNamespace(pt, $, _e)), st = useMemoizedT($, o.lng || null, _e.nsMode === "fallback" ? rt : rt[0], tt), ot = () => st, it = () => alwaysNewT($, o.lng || null, _e.nsMode === "fallback" ? rt : rt[0], tt), [at, lt] = reactExports.useState(ot); 12695 let ct = rt.join(); 12696 o.lng && (ct = "".concat(o.lng).concat(ct)); 12697 const ut = usePrevious(ct), ft = reactExports.useRef(true); 12698 reactExports.useEffect(() => { 12699 const { bindI18n: pt, bindI18nStore: ht } = _e; 12700 ft.current = true, !nt && !et && (o.lng ? loadLanguages($, o.lng, rt, () => { 12701 ft.current && lt(it); 12702 }) : loadNamespaces($, rt, () => { 12703 ft.current && lt(it); 12704 })), nt && ut && ut !== ct && ft.current && lt(it); 12705 const mt = () => { 12706 ft.current && lt(it); 12707 }; 12708 return pt && ($ == null ? void 0 : $.on(pt, mt)), ht && ($ == null ? void 0 : $.store.on(ht, mt)), () => { 12709 ft.current = false, $ && (pt == null ? void 0 : pt.split(" ").forEach((gt) => $.off(gt, mt))), ht && $ && ht.split(" ").forEach((gt) => $.store.off(gt, mt)); 12710 }; 12711 }, [ 12712 $, 12713 ct 12714 ]), reactExports.useEffect(() => { 12715 ft.current && nt && lt(ot); 12716 }, [ 12717 $, 12718 tt, 12719 nt 12720 ]); 12721 const dt = [ 12722 at, 12723 $, 12724 nt 12725 ]; 12726 if (dt.t = at, dt.i18n = $, dt.ready = nt, nt || !nt && !et) return dt; 12727 throw new Promise((pt) => { 12728 o.lng ? loadLanguages($, o.lng, rt, () => pt()) : loadNamespaces($, rt, () => pt()); 12729 }); 12730 }; 12731 function I18nextProvider({ i18n: d, defaultNS: o, children: h }) { 12732 const g = reactExports.useMemo(() => ({ 12733 i18n: d, 12734 defaultNS: o 12735 }), [ 12736 d, 12737 o 12738 ]); 12739 return reactExports.createElement(I18nContext.Provider, { 12740 value: g 12741 }, h); 12742 } 12743 var lib = {}, uaParser_min = { 12744 exports: {} 12745 }; 12746 (function(d, o) { 12747 (function(h, g) { 12748 var b = "1.0.40", $ = "", _e = "?", et = "function", tt = "undefined", rt = "object", nt = "string", st = "major", ot = "model", it = "name", at = "type", lt = "vendor", ct = "version", ut = "architecture", ft = "console", dt = "mobile", pt = "tablet", ht = "smarttv", mt = "wearable", gt = "embedded", yt = 500, xt = "Amazon", _t = "Apple", St = "ASUS", kt = "BlackBerry", Rt = "Browser", Tt = "Chrome", Yt = "Edge", Dt = "Firefox", Ot = "Google", Mt = "Huawei", Vt = "LG", Et = "Microsoft", Ht = "Motorola", Kt = "Opera", ir = "Samsung", sr = "Sharp", Er = "Sony", $t = "Xiaomi", pr = "Zebra", fr = "Facebook", Ur = "Chromium OS", Tr = "Mac OS", Rr = " Browser", Or = function(ar, or) { 12749 var dr = {}; 12750 for (var br in ar) or[br] && or[br].length % 2 === 0 ? dr[br] = or[br].concat(ar[br]) : dr[br] = ar[br]; 12751 return dr; 12752 }, Ar = function(ar) { 12753 for (var or = {}, dr = 0; dr < ar.length; dr++) or[ar[dr].toUpperCase()] = ar[dr]; 12754 return or; 12755 }, yr = function(ar, or) { 12756 return typeof ar === nt ? gr(or).indexOf(gr(ar)) !== -1 : false;
vendor: 5,759 bytes, lines 12757-12982
12757 }, gr = function(ar) { 12758 return ar.toLowerCase(); 12759 }, Qr = function(ar) { 12760 return typeof ar === nt ? ar.replace(/[^\d\.]/g, $).split(".")[0] : g; 12761 }, zt = function(ar, or) { 12762 if (typeof ar === nt) return ar = ar.replace(/^\s\s*/, $), typeof or === tt ? ar : ar.substring(0, yt); 12763 }, Cr = function(ar, or) { 12764 for (var dr = 0, br, Fr, Lr, mr, hr, zr; dr < or.length && !hr; ) { 12765 var sn = or[dr], en = or[dr + 1]; 12766 for (br = Fr = 0; br < sn.length && !hr && sn[br]; ) if (hr = sn[br++].exec(ar), hr) for (Lr = 0; Lr < en.length; Lr++) zr = hr[++Fr], mr = en[Lr], typeof mr === rt && mr.length > 0 ? mr.length === 2 ? typeof mr[1] == et ? this[mr[0]] = mr[1].call(this, zr) : this[mr[0]] = mr[1] : mr.length === 3 ? typeof mr[1] === et && !(mr[1].exec && mr[1].test) ? this[mr[0]] = zr ? mr[1].call(this, zr, mr[2]) : g : this[mr[0]] = zr ? zr.replace(mr[1], mr[2]) : g : mr.length === 4 && (this[mr[0]] = zr ? mr[3].call(this, zr.replace(mr[1], mr[2])) : g) : this[mr] = zr || g; 12767 dr += 2; 12768 } 12769 }, Hr = function(ar, or) { 12770 for (var dr in or) if (typeof or[dr] === rt && or[dr].length > 0) { 12771 for (var br = 0; br < or[dr].length; br++) if (yr(or[dr][br], ar)) return dr === _e ? g : dr; 12772 } else if (yr(or[dr], ar)) return dr === _e ? g : dr; 12773 return or.hasOwnProperty("*") ? or["*"] : ar; 12774 }, un = { 12775 "1.0": "/8", 12776 1.2: "/1", 12777 1.3: "/3", 12778 "2.0": "/412", 12779 "2.0.2": "/416", 12780 "2.0.3": "/417", 12781 "2.0.4": "/419", 12782 "?": "/" 12783 }, Dr = { 12784 ME: "4.90", 12785 "NT 3.11": "NT3.51", 12786 "NT 4.0": "NT4.0", 12787 2e3: "NT 5.0", 12788 XP: [ 12789 "NT 5.1", 12790 "NT 5.2" 12791 ], 12792 Vista: "NT 6.0", 12793 7: "NT 6.1", 12794 8: "NT 6.2", 12795 8.1: "NT 6.3", 12796 10: [ 12797 "NT 6.4", 12798 "NT 10.0" 12799 ], 12800 RT: "ARM" 12801 }, Sr = { 12802 browser: [ 12803 [ 12804 /\b(?:crmo|crios)\/([\w\.]+)/i 12805 ], 12806 [ 12807 ct, 12808 [ 12809 it, 12810 "Chrome" 12811 ] 12812 ], 12813 [ 12814 /edg(?:e|ios|a)?\/([\w\.]+)/i 12815 ], 12816 [ 12817 ct, 12818 [ 12819 it, 12820 "Edge" 12821 ] 12822 ], 12823 [ 12824 /(opera mini)\/([-\w\.]+)/i, 12825 /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, 12826 /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i 12827 ], 12828 [ 12829 it, 12830 ct 12831 ], 12832 [ 12833 /opios[\/ ]+([\w\.]+)/i 12834 ], 12835 [ 12836 ct, 12837 [ 12838 it, 12839 Kt + " Mini" 12840 ] 12841 ], 12842 [ 12843 /\bop(?:rg)?x\/([\w\.]+)/i 12844 ], 12845 [ 12846 ct, 12847 [ 12848 it, 12849 Kt + " GX" 12850 ] 12851 ], 12852 [ 12853 /\bopr\/([\w\.]+)/i 12854 ], 12855 [ 12856 ct, 12857 [ 12858 it, 12859 Kt 12860 ] 12861 ], 12862 [ 12863 /\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i 12864 ], 12865 [ 12866 ct, 12867 [ 12868 it, 12869 "Baidu" 12870 ] 12871 ], 12872 [ 12873 /\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i 12874 ], 12875 [ 12876 ct, 12877 [ 12878 it, 12879 "Maxthon" 12880 ] 12881 ], 12882 [ 12883 /(kindle)\/([\w\.]+)/i, 12884 /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, 12885 /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, 12886 /(?:ms|\()(ie) ([\w\.]+)/i, 12887 /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, 12888 /(heytap|ovi|115)browser\/([\d\.]+)/i, 12889 /(weibo)__([\d\.]+)/i 12890 ], 12891 [ 12892 it, 12893 ct 12894 ], 12895 [ 12896 /quark(?:pc)?\/([-\w\.]+)/i 12897 ], 12898 [ 12899 ct, 12900 [ 12901 it, 12902 "Quark" 12903 ] 12904 ], 12905 [ 12906 /\bddg\/([\w\.]+)/i 12907 ], 12908 [ 12909 ct, 12910 [ 12911 it, 12912 "DuckDuckGo" 12913 ] 12914 ], 12915 [ 12916 /(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i 12917 ], 12918 [ 12919 ct, 12920 [ 12921 it, 12922 "UC" + Rt 12923 ] 12924 ], 12925 [ 12926 /microm.+\bqbcore\/([\w\.]+)/i, 12927 /\bqbcore\/([\w\.]+).+microm/i, 12928 /micromessenger\/([\w\.]+)/i 12929 ], 12930 [ 12931 ct, 12932 [ 12933 it, 12934 "WeChat" 12935 ] 12936 ], 12937 [ 12938 /konqueror\/([\w\.]+)/i 12939 ], 12940 [ 12941 ct, 12942 [ 12943 it, 12944 "Konqueror" 12945 ] 12946 ], 12947 [ 12948 /trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i 12949 ], 12950 [ 12951 ct, 12952 [ 12953 it, 12954 "IE" 12955 ] 12956 ], 12957 [ 12958 /ya(?:search)?browser\/([\w\.]+)/i 12959 ], 12960 [ 12961 ct, 12962 [ 12963 it, 12964 "Yandex" 12965 ] 12966 ], 12967 [ 12968 /slbrowser\/([\w\.]+)/i 12969 ], 12970 [ 12971 ct, 12972 [ 12973 it, 12974 "Smart Lenovo " + Rt 12975 ] 12976 ], 12977 [ 12978 /(avast|avg)\/([\w\.]+)/i 12979 ], 12980 [ 12981 [ 12982 it,
vendor: 40,904 bytes, lines 12983-15101
12983 /(.+)/, 12984 "$1 Secure " + Rt 12985 ], 12986 ct 12987 ], 12988 [ 12989 /\bfocus\/([\w\.]+)/i 12990 ], 12991 [ 12992 ct, 12993 [ 12994 it, 12995 Dt + " Focus" 12996 ] 12997 ], 12998 [ 12999 /\bopt\/([\w\.]+)/i 13000 ], 13001 [ 13002 ct, 13003 [ 13004 it, 13005 Kt + " Touch" 13006 ] 13007 ], 13008 [ 13009 /coc_coc\w+\/([\w\.]+)/i 13010 ], 13011 [ 13012 ct, 13013 [ 13014 it, 13015 "Coc Coc" 13016 ] 13017 ], 13018 [ 13019 /dolfin\/([\w\.]+)/i 13020 ], 13021 [ 13022 ct, 13023 [ 13024 it, 13025 "Dolphin" 13026 ] 13027 ], 13028 [ 13029 /coast\/([\w\.]+)/i 13030 ], 13031 [ 13032 ct, 13033 [ 13034 it, 13035 Kt + " Coast" 13036 ] 13037 ], 13038 [ 13039 /miuibrowser\/([\w\.]+)/i 13040 ], 13041 [ 13042 ct, 13043 [ 13044 it, 13045 "MIUI" + Rr 13046 ] 13047 ], 13048 [ 13049 /fxios\/([\w\.-]+)/i 13050 ], 13051 [ 13052 ct, 13053 [ 13054 it, 13055 Dt 13056 ] 13057 ], 13058 [ 13059 /\bqihoobrowser\/?([\w\.]*)/i 13060 ], 13061 [ 13062 ct, 13063 [ 13064 it, 13065 "360" 13066 ] 13067 ], 13068 [ 13069 /\b(qq)\/([\w\.]+)/i 13070 ], 13071 [ 13072 [ 13073 it, 13074 /(.+)/, 13075 "$1Browser" 13076 ], 13077 ct 13078 ], 13079 [ 13080 /(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i 13081 ], 13082 [ 13083 [ 13084 it, 13085 /(.+)/, 13086 "$1" + Rr 13087 ], 13088 ct 13089 ], 13090 [ 13091 /samsungbrowser\/([\w\.]+)/i 13092 ], 13093 [ 13094 ct, 13095 [ 13096 it, 13097 ir + " Internet" 13098 ] 13099 ], 13100 [ 13101 /metasr[\/ ]?([\d\.]+)/i 13102 ], 13103 [ 13104 ct, 13105 [ 13106 it, 13107 "Sogou Explorer" 13108 ] 13109 ], 13110 [ 13111 /(sogou)mo\w+\/([\d\.]+)/i 13112 ], 13113 [ 13114 [ 13115 it, 13116 "Sogou Mobile" 13117 ], 13118 ct 13119 ], 13120 [ 13121 /(electron)\/([\w\.]+) safari/i, 13122 /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, 13123 /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i 13124 ], 13125 [ 13126 it, 13127 ct 13128 ], 13129 [ 13130 /(lbbrowser|rekonq)/i, 13131 /\[(linkedin)app\]/i 13132 ], 13133 [ 13134 it 13135 ], 13136 [ 13137 /ome\/([\w\.]+) \w* ?(iron) saf/i, 13138 /ome\/([\w\.]+).+qihu (360)[es]e/i 13139 ], 13140 [ 13141 ct, 13142 it 13143 ], 13144 [ 13145 /((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i 13146 ], 13147 [ 13148 [ 13149 it, 13150 fr 13151 ], 13152 ct 13153 ], 13154 [ 13155 /(Klarna)\/([\w\.]+)/i, 13156 /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, 13157 /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, 13158 /safari (line)\/([\w\.]+)/i, 13159 /\b(line)\/([\w\.]+)\/iab/i, 13160 /(alipay)client\/([\w\.]+)/i, 13161 /(twitter)(?:and| f.+e\/([\w\.]+))/i, 13162 /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i 13163 ], 13164 [ 13165 it, 13166 ct 13167 ], 13168 [ 13169 /\bgsa\/([\w\.]+) .*safari\//i 13170 ], 13171 [ 13172 ct, 13173 [ 13174 it, 13175 "GSA" 13176 ] 13177 ], 13178 [ 13179 /musical_ly(?:.+app_?version\/|_)([\w\.]+)/i 13180 ], 13181 [ 13182 ct, 13183 [ 13184 it, 13185 "TikTok" 13186 ] 13187 ], 13188 [ 13189 /headlesschrome(?:\/([\w\.]+)| )/i 13190 ], 13191 [ 13192 ct, 13193 [ 13194 it, 13195 Tt + " Headless" 13196 ] 13197 ], 13198 [ 13199 / wv\).+(chrome)\/([\w\.]+)/i 13200 ], 13201 [ 13202 [ 13203 it, 13204 Tt + " WebView" 13205 ], 13206 ct 13207 ], 13208 [ 13209 /droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i 13210 ], 13211 [ 13212 ct, 13213 [ 13214 it, 13215 "Android " + Rt 13216 ] 13217 ], 13218 [ 13219 /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i 13220 ], 13221 [ 13222 it, 13223 ct 13224 ], 13225 [ 13226 /version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i 13227 ], 13228 [ 13229 ct, 13230 [ 13231 it, 13232 "Mobile Safari" 13233 ] 13234 ], 13235 [ 13236 /version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i 13237 ], 13238 [ 13239 ct, 13240 it 13241 ], 13242 [ 13243 /webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i 13244 ], 13245 [ 13246 it, 13247 [ 13248 ct, 13249 Hr, 13250 un 13251 ] 13252 ], 13253 [ 13254 /(webkit|khtml)\/([\w\.]+)/i 13255 ], 13256 [ 13257 it, 13258 ct 13259 ], 13260 [ 13261 /(navigator|netscape\d?)\/([-\w\.]+)/i 13262 ], 13263 [ 13264 [ 13265 it, 13266 "Netscape" 13267 ], 13268 ct 13269 ], 13270 [ 13271 /(wolvic|librewolf)\/([\w\.]+)/i 13272 ], 13273 [ 13274 it, 13275 ct 13276 ], 13277 [ 13278 /mobile vr; rv:([\w\.]+)\).+firefox/i 13279 ], 13280 [ 13281 ct, 13282 [ 13283 it, 13284 Dt + " Reality" 13285 ] 13286 ], 13287 [ 13288 /ekiohf.+(flow)\/([\w\.]+)/i, 13289 /(swiftfox)/i, 13290 /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, 13291 /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, 13292 /(firefox)\/([\w\.]+)/i, 13293 /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, 13294 /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, 13295 /(links) \(([\w\.]+)/i 13296 ], 13297 [ 13298 it, 13299 [ 13300 ct, 13301 /_/g, 13302 "." 13303 ] 13304 ], 13305 [ 13306 /(cobalt)\/([\w\.]+)/i 13307 ], 13308 [ 13309 it, 13310 [ 13311 ct, 13312 /master.|lts./, 13313 "" 13314 ] 13315 ] 13316 ], 13317 cpu: [ 13318 [ 13319 /(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i 13320 ], 13321 [ 13322 [ 13323 ut, 13324 "amd64" 13325 ] 13326 ], 13327 [ 13328 /(ia32(?=;))/i 13329 ], 13330 [ 13331 [ 13332 ut, 13333 gr 13334 ] 13335 ], 13336 [ 13337 /((?:i[346]|x)86)[;\)]/i 13338 ], 13339 [ 13340 [ 13341 ut, 13342 "ia32" 13343 ] 13344 ], 13345 [ 13346 /\b(aarch64|arm(v?8e?l?|_?64))\b/i 13347 ], 13348 [ 13349 [ 13350 ut, 13351 "arm64" 13352 ] 13353 ], 13354 [ 13355 /\b(arm(?:v[67])?ht?n?[fl]p?)\b/i 13356 ], 13357 [ 13358 [ 13359 ut, 13360 "armhf" 13361 ] 13362 ], 13363 [ 13364 /windows (ce|mobile); ppc;/i 13365 ], 13366 [ 13367 [ 13368 ut, 13369 "arm" 13370 ] 13371 ], 13372 [ 13373 /((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i 13374 ], 13375 [ 13376 [ 13377 ut, 13378 /ower/, 13379 $, 13380 gr 13381 ] 13382 ], 13383 [ 13384 /(sun4\w)[;\)]/i 13385 ], 13386 [ 13387 [ 13388 ut, 13389 "sparc" 13390 ] 13391 ], 13392 [ 13393 /((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i 13394 ], 13395 [ 13396 [ 13397 ut, 13398 gr 13399 ] 13400 ] 13401 ], 13402 device: [ 13403 [ 13404 /\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i 13405 ], 13406 [ 13407 ot, 13408 [ 13409 lt, 13410 ir 13411 ], 13412 [ 13413 at, 13414 pt 13415 ] 13416 ], 13417 [ 13418 /\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, 13419 /samsung[- ]((?!sm-[lr])[-\w]+)/i, 13420 /sec-(sgh\w+)/i 13421 ], 13422 [ 13423 ot, 13424 [ 13425 lt, 13426 ir 13427 ], 13428 [ 13429 at, 13430 dt 13431 ] 13432 ], 13433 [ 13434 /(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i 13435 ], 13436 [ 13437 ot, 13438 [ 13439 lt, 13440 _t 13441 ], 13442 [ 13443 at, 13444 dt 13445 ] 13446 ], 13447 [ 13448 /\((ipad);[-\w\),; ]+apple/i, 13449 /applecoremedia\/[\w\.]+ \((ipad)/i, 13450 /\b(ipad)\d\d?,\d\d?[;\]].+ios/i 13451 ], 13452 [ 13453 ot, 13454 [ 13455 lt, 13456 _t 13457 ], 13458 [ 13459 at, 13460 pt 13461 ] 13462 ], 13463 [ 13464 /(macintosh);/i 13465 ], 13466 [ 13467 ot, 13468 [ 13469 lt, 13470 _t 13471 ] 13472 ], 13473 [ 13474 /\b(sh-?[altvz]?\d\d[a-ekm]?)/i 13475 ], 13476 [ 13477 ot, 13478 [ 13479 lt, 13480 sr 13481 ], 13482 [ 13483 at, 13484 dt 13485 ] 13486 ], 13487 [ 13488 /(?:honor)([-\w ]+)[;\)]/i 13489 ], 13490 [ 13491 ot, 13492 [ 13493 lt, 13494 "Honor" 13495 ], 13496 [ 13497 at, 13498 dt 13499 ] 13500 ], 13501 [ 13502 /\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i 13503 ], 13504 [ 13505 ot, 13506 [ 13507 lt, 13508 Mt 13509 ], 13510 [ 13511 at, 13512 pt 13513 ] 13514 ], 13515 [ 13516 /(?:huawei)([-\w ]+)[;\)]/i, 13517 /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i 13518 ], 13519 [ 13520 ot, 13521 [ 13522 lt, 13523 Mt 13524 ], 13525 [ 13526 at, 13527 dt 13528 ] 13529 ], 13530 [ 13531 /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, 13532 /\b; (\w+) build\/hm\1/i, 13533 /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, 13534 /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, 13535 /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, 13536 /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i 13537 ], 13538 [ 13539 [ 13540 ot, 13541 /_/g, 13542 " " 13543 ], 13544 [ 13545 lt, 13546 $t 13547 ], 13548 [ 13549 at, 13550 dt 13551 ] 13552 ], 13553 [ 13554 /oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, 13555 /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i 13556 ], 13557 [ 13558 [ 13559 ot, 13560 /_/g, 13561 " " 13562 ], 13563 [ 13564 lt, 13565 $t 13566 ], 13567 [ 13568 at, 13569 pt 13570 ] 13571 ], 13572 [ 13573 /; (\w+) bui.+ oppo/i, 13574 /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i 13575 ], 13576 [ 13577 ot, 13578 [ 13579 lt, 13580 "OPPO" 13581 ], 13582 [ 13583 at, 13584 dt 13585 ] 13586 ], 13587 [ 13588 /\b(opd2\d{3}a?) bui/i 13589 ], 13590 [ 13591 ot, 13592 [ 13593 lt, 13594 "OPPO" 13595 ], 13596 [ 13597 at, 13598 pt 13599 ] 13600 ], 13601 [ 13602 /vivo (\w+)(?: bui|\))/i, 13603 /\b(v[12]\d{3}\w?[at])(?: bui|;)/i 13604 ], 13605 [ 13606 ot, 13607 [ 13608 lt, 13609 "Vivo" 13610 ], 13611 [ 13612 at, 13613 dt 13614 ] 13615 ], 13616 [ 13617 /\b(rmx[1-3]\d{3})(?: bui|;|\))/i 13618 ], 13619 [ 13620 ot, 13621 [ 13622 lt, 13623 "Realme" 13624 ], 13625 [ 13626 at, 13627 dt 13628 ] 13629 ], 13630 [ 13631 /\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, 13632 /\bmot(?:orola)?[- ](\w*)/i, 13633 /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i 13634 ], 13635 [ 13636 ot, 13637 [ 13638 lt, 13639 Ht 13640 ], 13641 [ 13642 at, 13643 dt 13644 ] 13645 ], 13646 [ 13647 /\b(mz60\d|xoom[2 ]{0,2}) build\//i 13648 ], 13649 [ 13650 ot, 13651 [ 13652 lt, 13653 Ht 13654 ], 13655 [ 13656 at, 13657 pt 13658 ] 13659 ], 13660 [ 13661 /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i 13662 ], 13663 [ 13664 ot, 13665 [ 13666 lt, 13667 Vt 13668 ], 13669 [ 13670 at, 13671 pt 13672 ] 13673 ], 13674 [ 13675 /(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, 13676 /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, 13677 /\blg-?([\d\w]+) bui/i 13678 ], 13679 [ 13680 ot, 13681 [ 13682 lt, 13683 Vt 13684 ], 13685 [ 13686 at, 13687 dt 13688 ] 13689 ], 13690 [ 13691 /(ideatab[-\w ]+)/i, 13692 /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i 13693 ], 13694 [ 13695 ot, 13696 [ 13697 lt, 13698 "Lenovo" 13699 ], 13700 [ 13701 at, 13702 pt 13703 ] 13704 ], 13705 [ 13706 /(?:maemo|nokia).*(n900|lumia \d+)/i, 13707 /nokia[-_ ]?([-\w\.]*)/i 13708 ], 13709 [ 13710 [ 13711 ot, 13712 /_/g, 13713 " " 13714 ], 13715 [ 13716 lt, 13717 "Nokia" 13718 ], 13719 [ 13720 at, 13721 dt 13722 ] 13723 ], 13724 [ 13725 /(pixel c)\b/i 13726 ], 13727 [ 13728 ot, 13729 [ 13730 lt, 13731 Ot 13732 ], 13733 [ 13734 at, 13735 pt 13736 ] 13737 ], 13738 [ 13739 /droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i 13740 ], 13741 [ 13742 ot, 13743 [ 13744 lt, 13745 Ot 13746 ], 13747 [ 13748 at, 13749 dt 13750 ] 13751 ], 13752 [ 13753 /droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i 13754 ], 13755 [ 13756 ot, 13757 [ 13758 lt, 13759 Er 13760 ], 13761 [ 13762 at, 13763 dt 13764 ] 13765 ], 13766 [ 13767 /sony tablet [ps]/i, 13768 /\b(?:sony)?sgp\w+(?: bui|\))/i 13769 ], 13770 [ 13771 [ 13772 ot, 13773 "Xperia Tablet" 13774 ], 13775 [ 13776 lt, 13777 Er 13778 ], 13779 [ 13780 at, 13781 pt 13782 ] 13783 ], 13784 [ 13785 / (kb2005|in20[12]5|be20[12][59])\b/i, 13786 /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i 13787 ], 13788 [ 13789 ot, 13790 [ 13791 lt, 13792 "OnePlus" 13793 ], 13794 [ 13795 at, 13796 dt 13797 ] 13798 ], 13799 [ 13800 /(alexa)webm/i, 13801 /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, 13802 /(kf[a-z]+)( bui|\)).+silk\//i 13803 ], 13804 [ 13805 ot, 13806 [ 13807 lt, 13808 xt 13809 ], 13810 [ 13811 at, 13812 pt 13813 ] 13814 ], 13815 [ 13816 /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i 13817 ], 13818 [ 13819 [ 13820 ot, 13821 /(.+)/g, 13822 "Fire Phone $1" 13823 ], 13824 [ 13825 lt, 13826 xt 13827 ], 13828 [ 13829 at, 13830 dt 13831 ] 13832 ], 13833 [ 13834 /(playbook);[-\w\),; ]+(rim)/i 13835 ], 13836 [ 13837 ot, 13838 lt, 13839 [ 13840 at, 13841 pt 13842 ] 13843 ], 13844 [ 13845 /\b((?:bb[a-f]|st[hv])100-\d)/i, 13846 /\(bb10; (\w+)/i 13847 ], 13848 [ 13849 ot, 13850 [ 13851 lt, 13852 kt 13853 ], 13854 [ 13855 at, 13856 dt 13857 ] 13858 ], 13859 [ 13860 /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i 13861 ], 13862 [ 13863 ot, 13864 [ 13865 lt, 13866 St 13867 ], 13868 [ 13869 at, 13870 pt 13871 ] 13872 ], 13873 [ 13874 / (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i 13875 ], 13876 [ 13877 ot, 13878 [ 13879 lt, 13880 St 13881 ], 13882 [ 13883 at, 13884 dt 13885 ] 13886 ], 13887 [ 13888 /(nexus 9)/i 13889 ], 13890 [ 13891 ot, 13892 [ 13893 lt, 13894 "HTC" 13895 ], 13896 [ 13897 at, 13898 pt 13899 ] 13900 ], 13901 [ 13902 /(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, 13903 /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, 13904 /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i 13905 ], 13906 [ 13907 lt, 13908 [ 13909 ot, 13910 /_/g, 13911 " " 13912 ], 13913 [ 13914 at, 13915 dt 13916 ] 13917 ], 13918 [ 13919 /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i 13920 ], 13921 [ 13922 ot, 13923 [ 13924 lt, 13925 "TCL" 13926 ], 13927 [ 13928 at, 13929 pt 13930 ] 13931 ], 13932 [ 13933 /(itel) ((\w+))/i 13934 ], 13935 [ 13936 [ 13937 lt, 13938 gr 13939 ], 13940 ot, 13941 [ 13942 at, 13943 Hr, 13944 { 13945 tablet: [ 13946 "p10001l", 13947 "w7001" 13948 ], 13949 "*": "mobile" 13950 } 13951 ] 13952 ], 13953 [ 13954 /droid.+; ([ab][1-7]-?[0178a]\d\d?)/i 13955 ], 13956 [ 13957 ot, 13958 [ 13959 lt, 13960 "Acer" 13961 ], 13962 [ 13963 at, 13964 pt 13965 ] 13966 ], 13967 [ 13968 /droid.+; (m[1-5] note) bui/i, 13969 /\bmz-([-\w]{2,})/i 13970 ], 13971 [ 13972 ot, 13973 [ 13974 lt, 13975 "Meizu" 13976 ], 13977 [ 13978 at, 13979 dt 13980 ] 13981 ], 13982 [ 13983 /; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i 13984 ], 13985 [ 13986 ot, 13987 [ 13988 lt, 13989 "Ulefone" 13990 ], 13991 [ 13992 at, 13993 dt 13994 ] 13995 ], 13996 [ 13997 /; (energy ?\w+)(?: bui|\))/i, 13998 /; energizer ([\w ]+)(?: bui|\))/i 13999 ], 14000 [ 14001 ot, 14002 [ 14003 lt, 14004 "Energizer" 14005 ], 14006 [ 14007 at, 14008 dt 14009 ] 14010 ], 14011 [ 14012 /; cat (b35);/i, 14013 /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i 14014 ], 14015 [ 14016 ot, 14017 [ 14018 lt, 14019 "Cat" 14020 ], 14021 [ 14022 at, 14023 dt 14024 ] 14025 ], 14026 [ 14027 /((?:new )?andromax[\w- ]+)(?: bui|\))/i 14028 ], 14029 [ 14030 ot, 14031 [ 14032 lt, 14033 "Smartfren" 14034 ], 14035 [ 14036 at, 14037 dt 14038 ] 14039 ], 14040 [ 14041 /droid.+; (a(?:015|06[35]|142p?))/i 14042 ], 14043 [ 14044 ot, 14045 [ 14046 lt, 14047 "Nothing" 14048 ], 14049 [ 14050 at, 14051 dt 14052 ] 14053 ], 14054 [ 14055 /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, 14056 /; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i, 14057 /(hp) ([\w ]+\w)/i, 14058 /(asus)-?(\w+)/i, 14059 /(microsoft); (lumia[\w ]+)/i, 14060 /(lenovo)[-_ ]?([-\w]+)/i, 14061 /(jolla)/i, 14062 /(oppo) ?([\w ]+) bui/i 14063 ], 14064 [ 14065 lt, 14066 ot, 14067 [ 14068 at, 14069 dt 14070 ] 14071 ], 14072 [ 14073 /(imo) (tab \w+)/i, 14074 /(kobo)\s(ereader|touch)/i, 14075 /(archos) (gamepad2?)/i, 14076 /(hp).+(touchpad(?!.+tablet)|tablet)/i, 14077 /(kindle)\/([\w\.]+)/i, 14078 /(nook)[\w ]+build\/(\w+)/i, 14079 /(dell) (strea[kpr\d ]*[\dko])/i, 14080 /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, 14081 /(trinity)[- ]*(t\d{3}) bui/i, 14082 /(gigaset)[- ]+(q\w{1,9}) bui/i, 14083 /(vodafone) ([\w ]+)(?:\)| bui)/i 14084 ], 14085 [ 14086 lt, 14087 ot, 14088 [ 14089 at, 14090 pt 14091 ] 14092 ], 14093 [ 14094 /(surface duo)/i 14095 ], 14096 [ 14097 ot, 14098 [ 14099 lt, 14100 Et 14101 ], 14102 [ 14103 at, 14104 pt 14105 ] 14106 ], 14107 [ 14108 /droid [\d\.]+; (fp\du?)(?: b|\))/i 14109 ], 14110 [ 14111 ot, 14112 [ 14113 lt, 14114 "Fairphone" 14115 ], 14116 [ 14117 at, 14118 dt 14119 ] 14120 ], 14121 [ 14122 /(u304aa)/i 14123 ], 14124 [ 14125 ot, 14126 [ 14127 lt, 14128 "AT&T" 14129 ], 14130 [ 14131 at, 14132 dt 14133 ] 14134 ], 14135 [ 14136 /\bsie-(\w*)/i 14137 ], 14138 [ 14139 ot, 14140 [ 14141 lt, 14142 "Siemens" 14143 ], 14144 [ 14145 at, 14146 dt 14147 ] 14148 ], 14149 [ 14150 /\b(rct\w+) b/i 14151 ], 14152 [ 14153 ot, 14154 [ 14155 lt, 14156 "RCA" 14157 ], 14158 [ 14159 at, 14160 pt 14161 ] 14162 ], 14163 [ 14164 /\b(venue[\d ]{2,7}) b/i 14165 ], 14166 [ 14167 ot, 14168 [ 14169 lt, 14170 "Dell" 14171 ], 14172 [ 14173 at, 14174 pt 14175 ] 14176 ], 14177 [ 14178 /\b(q(?:mv|ta)\w+) b/i 14179 ], 14180 [ 14181 ot, 14182 [ 14183 lt, 14184 "Verizon" 14185 ], 14186 [ 14187 at, 14188 pt 14189 ] 14190 ], 14191 [ 14192 /\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i 14193 ], 14194 [ 14195 ot, 14196 [ 14197 lt, 14198 "Barnes & Noble" 14199 ], 14200 [ 14201 at, 14202 pt 14203 ] 14204 ], 14205 [ 14206 /\b(tm\d{3}\w+) b/i 14207 ], 14208 [ 14209 ot, 14210 [ 14211 lt, 14212 "NuVision" 14213 ], 14214 [ 14215 at, 14216 pt 14217 ] 14218 ], 14219 [ 14220 /\b(k88) b/i 14221 ], 14222 [ 14223 ot, 14224 [ 14225 lt, 14226 "ZTE" 14227 ], 14228 [ 14229 at, 14230 pt 14231 ] 14232 ], 14233 [ 14234 /\b(nx\d{3}j) b/i 14235 ], 14236 [ 14237 ot, 14238 [ 14239 lt, 14240 "ZTE" 14241 ], 14242 [ 14243 at, 14244 dt 14245 ] 14246 ], 14247 [ 14248 /\b(gen\d{3}) b.+49h/i 14249 ], 14250 [ 14251 ot, 14252 [ 14253 lt, 14254 "Swiss" 14255 ], 14256 [ 14257 at, 14258 dt 14259 ] 14260 ], 14261 [ 14262 /\b(zur\d{3}) b/i 14263 ], 14264 [ 14265 ot, 14266 [ 14267 lt, 14268 "Swiss" 14269 ], 14270 [ 14271 at, 14272 pt 14273 ] 14274 ], 14275 [ 14276 /\b((zeki)?tb.*\b) b/i 14277 ], 14278 [ 14279 ot, 14280 [ 14281 lt, 14282 "Zeki" 14283 ], 14284 [ 14285 at, 14286 pt 14287 ] 14288 ], 14289 [ 14290 /\b([yr]\d{2}) b/i, 14291 /\b(dragon[- ]+touch |dt)(\w{5}) b/i 14292 ], 14293 [ 14294 [ 14295 lt, 14296 "Dragon Touch" 14297 ], 14298 ot, 14299 [ 14300 at, 14301 pt 14302 ] 14303 ], 14304 [ 14305 /\b(ns-?\w{0,9}) b/i 14306 ], 14307 [ 14308 ot, 14309 [ 14310 lt, 14311 "Insignia" 14312 ], 14313 [ 14314 at, 14315 pt 14316 ] 14317 ], 14318 [ 14319 /\b((nxa|next)-?\w{0,9}) b/i 14320 ], 14321 [ 14322 ot, 14323 [ 14324 lt, 14325 "NextBook" 14326 ], 14327 [ 14328 at, 14329 pt 14330 ] 14331 ], 14332 [ 14333 /\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i 14334 ], 14335 [ 14336 [ 14337 lt, 14338 "Voice" 14339 ], 14340 ot, 14341 [ 14342 at, 14343 dt 14344 ] 14345 ], 14346 [ 14347 /\b(lvtel\-)?(v1[12]) b/i 14348 ], 14349 [ 14350 [ 14351 lt, 14352 "LvTel" 14353 ], 14354 ot, 14355 [ 14356 at, 14357 dt 14358 ] 14359 ], 14360 [ 14361 /\b(ph-1) /i 14362 ], 14363 [ 14364 ot, 14365 [ 14366 lt, 14367 "Essential" 14368 ], 14369 [ 14370 at, 14371 dt 14372 ] 14373 ], 14374 [ 14375 /\b(v(100md|700na|7011|917g).*\b) b/i 14376 ], 14377 [ 14378 ot, 14379 [ 14380 lt, 14381 "Envizen" 14382 ], 14383 [ 14384 at, 14385 pt 14386 ] 14387 ], 14388 [ 14389 /\b(trio[-\w\. ]+) b/i 14390 ], 14391 [ 14392 ot, 14393 [ 14394 lt, 14395 "MachSpeed" 14396 ], 14397 [ 14398 at, 14399 pt 14400 ] 14401 ], 14402 [ 14403 /\btu_(1491) b/i 14404 ], 14405 [ 14406 ot, 14407 [ 14408 lt, 14409 "Rotor" 14410 ], 14411 [ 14412 at, 14413 pt 14414 ] 14415 ], 14416 [ 14417 /(shield[\w ]+) b/i 14418 ], 14419 [ 14420 ot, 14421 [ 14422 lt, 14423 "Nvidia" 14424 ], 14425 [ 14426 at, 14427 pt 14428 ] 14429 ], 14430 [ 14431 /(sprint) (\w+)/i 14432 ], 14433 [ 14434 lt, 14435 ot, 14436 [ 14437 at, 14438 dt 14439 ] 14440 ], 14441 [ 14442 /(kin\.[onetw]{3})/i 14443 ], 14444 [ 14445 [ 14446 ot, 14447 /\./g, 14448 " " 14449 ], 14450 [ 14451 lt, 14452 Et 14453 ], 14454 [ 14455 at, 14456 dt 14457 ] 14458 ], 14459 [ 14460 /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i 14461 ], 14462 [ 14463 ot, 14464 [ 14465 lt, 14466 pr 14467 ], 14468 [ 14469 at, 14470 pt 14471 ] 14472 ], 14473 [ 14474 /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i 14475 ], 14476 [ 14477 ot, 14478 [ 14479 lt, 14480 pr 14481 ], 14482 [ 14483 at, 14484 dt 14485 ] 14486 ], 14487 [ 14488 /smart-tv.+(samsung)/i 14489 ], 14490 [ 14491 lt, 14492 [ 14493 at, 14494 ht 14495 ] 14496 ], 14497 [ 14498 /hbbtv.+maple;(\d+)/i 14499 ], 14500 [ 14501 [ 14502 ot, 14503 /^/, 14504 "SmartTV" 14505 ], 14506 [ 14507 lt, 14508 ir 14509 ], 14510 [ 14511 at, 14512 ht 14513 ] 14514 ], 14515 [ 14516 /(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i 14517 ], 14518 [ 14519 [ 14520 lt, 14521 Vt 14522 ], 14523 [ 14524 at, 14525 ht 14526 ] 14527 ], 14528 [ 14529 /(apple) ?tv/i 14530 ], 14531 [ 14532 lt, 14533 [ 14534 ot, 14535 _t + " TV" 14536 ], 14537 [ 14538 at, 14539 ht 14540 ] 14541 ], 14542 [ 14543 /crkey/i 14544 ], 14545 [ 14546 [ 14547 ot, 14548 Tt + "cast" 14549 ], 14550 [ 14551 lt, 14552 Ot 14553 ], 14554 [ 14555 at, 14556 ht 14557 ] 14558 ], 14559 [ 14560 /droid.+aft(\w+)( bui|\))/i 14561 ], 14562 [ 14563 ot, 14564 [ 14565 lt, 14566 xt 14567 ], 14568 [ 14569 at, 14570 ht 14571 ] 14572 ], 14573 [ 14574 /\(dtv[\);].+(aquos)/i, 14575 /(aquos-tv[\w ]+)\)/i 14576 ], 14577 [ 14578 ot, 14579 [ 14580 lt, 14581 sr 14582 ], 14583 [ 14584 at, 14585 ht 14586 ] 14587 ], 14588 [ 14589 /(bravia[\w ]+)( bui|\))/i 14590 ], 14591 [ 14592 ot, 14593 [ 14594 lt, 14595 Er 14596 ], 14597 [ 14598 at, 14599 ht 14600 ] 14601 ], 14602 [ 14603 /(mitv-\w{5}) bui/i 14604 ], 14605 [ 14606 ot, 14607 [ 14608 lt, 14609 $t 14610 ], 14611 [ 14612 at, 14613 ht 14614 ] 14615 ], 14616 [ 14617 /Hbbtv.*(technisat) (.*);/i 14618 ], 14619 [ 14620 lt, 14621 ot, 14622 [ 14623 at, 14624 ht 14625 ] 14626 ], 14627 [ 14628 /\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, 14629 /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i 14630 ], 14631 [ 14632 [ 14633 lt, 14634 zt 14635 ], 14636 [ 14637 ot, 14638 zt 14639 ], 14640 [ 14641 at, 14642 ht 14643 ] 14644 ], 14645 [ 14646 /\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i 14647 ], 14648 [ 14649 [ 14650 at, 14651 ht 14652 ] 14653 ], 14654 [ 14655 /(ouya)/i, 14656 /(nintendo) ([wids3utch]+)/i 14657 ], 14658 [ 14659 lt, 14660 ot, 14661 [ 14662 at, 14663 ft 14664 ] 14665 ], 14666 [ 14667 /droid.+; (shield) bui/i 14668 ], 14669 [ 14670 ot, 14671 [ 14672 lt, 14673 "Nvidia" 14674 ], 14675 [ 14676 at, 14677 ft 14678 ] 14679 ], 14680 [ 14681 /(playstation [345portablevi]+)/i 14682 ], 14683 [ 14684 ot, 14685 [ 14686 lt, 14687 Er 14688 ], 14689 [ 14690 at, 14691 ft 14692 ] 14693 ], 14694 [ 14695 /\b(xbox(?: one)?(?!; xbox))[\); ]/i 14696 ], 14697 [ 14698 ot, 14699 [ 14700 lt, 14701 Et 14702 ], 14703 [ 14704 at, 14705 ft 14706 ] 14707 ], 14708 [ 14709 /\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i 14710 ], 14711 [ 14712 ot, 14713 [ 14714 lt, 14715 ir 14716 ], 14717 [ 14718 at, 14719 mt 14720 ] 14721 ], 14722 [ 14723 /((pebble))app/i 14724 ], 14725 [ 14726 lt, 14727 ot, 14728 [ 14729 at, 14730 mt 14731 ] 14732 ], 14733 [ 14734 /(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i 14735 ], 14736 [ 14737 ot, 14738 [ 14739 lt, 14740 _t 14741 ], 14742 [ 14743 at, 14744 mt 14745 ] 14746 ], 14747 [ 14748 /droid.+; (glass) \d/i 14749 ], 14750 [ 14751 ot, 14752 [ 14753 lt, 14754 Ot 14755 ], 14756 [ 14757 at, 14758 mt 14759 ] 14760 ], 14761 [ 14762 /droid.+; (wt63?0{2,3})\)/i 14763 ], 14764 [ 14765 ot, 14766 [ 14767 lt, 14768 pr 14769 ], 14770 [ 14771 at, 14772 mt 14773 ] 14774 ], 14775 [ 14776 /droid.+; (glass) \d/i 14777 ], 14778 [ 14779 ot, 14780 [ 14781 lt, 14782 Ot 14783 ], 14784 [ 14785 at, 14786 mt 14787 ] 14788 ], 14789 [ 14790 /(pico) (4|neo3(?: link|pro)?)/i 14791 ], 14792 [ 14793 lt, 14794 ot, 14795 [ 14796 at, 14797 mt 14798 ] 14799 ], 14800 [ 14801 /; (quest( \d| pro)?)/i 14802 ], 14803 [ 14804 ot, 14805 [ 14806 lt, 14807 fr 14808 ], 14809 [ 14810 at, 14811 mt 14812 ] 14813 ], 14814 [ 14815 /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i 14816 ], 14817 [ 14818 lt, 14819 [ 14820 at, 14821 gt 14822 ] 14823 ], 14824 [ 14825 /(aeobc)\b/i 14826 ], 14827 [ 14828 ot, 14829 [ 14830 lt, 14831 xt 14832 ], 14833 [ 14834 at, 14835 gt 14836 ] 14837 ], 14838 [ 14839 /droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i 14840 ], 14841 [ 14842 ot, 14843 [ 14844 at, 14845 dt 14846 ] 14847 ], 14848 [ 14849 /droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i 14850 ], 14851 [ 14852 ot, 14853 [ 14854 at, 14855 pt 14856 ] 14857 ], 14858 [ 14859 /\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i 14860 ], 14861 [ 14862 [ 14863 at, 14864 pt 14865 ] 14866 ], 14867 [ 14868 /(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i 14869 ], 14870 [ 14871 [ 14872 at, 14873 dt 14874 ] 14875 ], 14876 [ 14877 /(android[-\w\. ]{0,9});.+buil/i 14878 ], 14879 [ 14880 ot, 14881 [ 14882 lt, 14883 "Generic" 14884 ] 14885 ] 14886 ], 14887 engine: [ 14888 [ 14889 /windows.+ edge\/([\w\.]+)/i 14890 ], 14891 [ 14892 ct, 14893 [ 14894 it, 14895 Yt + "HTML" 14896 ] 14897 ], 14898 [ 14899 /(arkweb)\/([\w\.]+)/i 14900 ], 14901 [ 14902 it, 14903 ct 14904 ], 14905 [ 14906 /webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i 14907 ], 14908 [ 14909 ct, 14910 [ 14911 it, 14912 "Blink" 14913 ] 14914 ], 14915 [ 14916 /(presto)\/([\w\.]+)/i, 14917 /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, 14918 /ekioh(flow)\/([\w\.]+)/i, 14919 /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, 14920 /(icab)[\/ ]([23]\.[\d\.]+)/i, 14921 /\b(libweb)/i 14922 ], 14923 [ 14924 it, 14925 ct 14926 ], 14927 [ 14928 /rv\:([\w\.]{1,9})\b.+(gecko)/i 14929 ], 14930 [ 14931 ct, 14932 it 14933 ] 14934 ], 14935 os: [ 14936 [ 14937 /microsoft (windows) (vista|xp)/i 14938 ], 14939 [ 14940 it, 14941 ct 14942 ], 14943 [ 14944 /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i 14945 ], 14946 [ 14947 it, 14948 [ 14949 ct, 14950 Hr, 14951 Dr 14952 ] 14953 ], 14954 [ 14955 /windows nt 6\.2; (arm)/i, 14956 /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, 14957 /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i 14958 ], 14959 [ 14960 [ 14961 ct, 14962 Hr, 14963 Dr 14964 ], 14965 [ 14966 it, 14967 "Windows" 14968 ] 14969 ], 14970 [ 14971 /ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, 14972 /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, 14973 /cfnetwork\/.+darwin/i 14974 ], 14975 [ 14976 [ 14977 ct, 14978 /_/g, 14979 "." 14980 ], 14981 [ 14982 it, 14983 "iOS" 14984 ] 14985 ], 14986 [ 14987 /(mac os x) ?([\w\. ]*)/i, 14988 /(macintosh|mac_powerpc\b)(?!.+haiku)/i 14989 ], 14990 [ 14991 [ 14992 it, 14993 Tr 14994 ], 14995 [ 14996 ct, 14997 /_/g, 14998 "." 14999 ] 15000 ], 15001 [ 15002 /droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i 15003 ], 15004 [ 15005 ct, 15006 it 15007 ], 15008 [ 15009 /(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i, 15010 /(blackberry)\w*\/([\w\.]*)/i, 15011 /(tizen|kaios)[\/ ]([\w\.]+)/i, 15012 /\((series40);/i 15013 ], 15014 [ 15015 it, 15016 ct 15017 ], 15018 [ 15019 /\(bb(10);/i 15020 ], 15021 [ 15022 ct, 15023 [ 15024 it, 15025 kt 15026 ] 15027 ], 15028 [ 15029 /(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i 15030 ], 15031 [ 15032 ct, 15033 [ 15034 it, 15035 "Symbian" 15036 ] 15037 ], 15038 [ 15039 /mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i 15040 ], 15041 [ 15042 ct, 15043 [ 15044 it, 15045 Dt + " OS" 15046 ] 15047 ], 15048 [ 15049 /web0s;.+rt(tv)/i, 15050 /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i 15051 ], 15052 [ 15053 ct, 15054 [ 15055 it, 15056 "webOS" 15057 ] 15058 ], 15059 [ 15060 /watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i 15061 ], 15062 [ 15063 ct, 15064 [ 15065 it, 15066 "watchOS" 15067 ] 15068 ], 15069 [ 15070 /crkey\/([\d\.]+)/i 15071 ], 15072 [ 15073 ct, 15074 [ 15075 it, 15076 Tt + "cast" 15077 ] 15078 ], 15079 [ 15080 /(cros) [\w]+(?:\)| ([\w\.]+)\b)/i 15081 ], 15082 [ 15083 [ 15084 it, 15085 Ur 15086 ], 15087 ct 15088 ], 15089 [ 15090 /panasonic;(viera)/i, 15091 /(netrange)mmh/i, 15092 /(nettv)\/(\d+\.[\w\.]+)/i, 15093 /(nintendo|playstation) ([wids345portablevuch]+)/i, 15094 /(xbox); +xbox ([^\);]+)/i, 15095 /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, 15096 /(mint)[\/\(\) ]?(\w*)/i, 15097 /(mageia|vectorlinux)[; ]/i, 15098 /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, 15099 /(hurd|linux) ?([\w\.]*)/i, 15100 /(gnu) ?([\w\.]*)/i, 15101 /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,
15102 /(haiku) (\w+)/i 15103 ], 15104 [ 15105 it, 15106 ct 15107 ], 15108 [ 15109 /(sunos) ?([\w\.\d]*)/i 15110 ], 15111 [ 15112 [ 15113 it, 15114 "Solaris" 15115 ], 15116 ct 15117 ], 15118 [ 15119 /((?:open)?solaris)[-\/ ]?([\w\.]*)/i, 15120 /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, 15121 /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, 15122 /(unix) ?([\w\.]*)/i 15123 ], 15124 [ 15125 it, 15126 ct 15127 ] 15128 ] 15129 }, Ir = function(ar, or) { 15130 if (typeof ar === rt && (or = ar, ar = g), !(this instanceof Ir)) return new Ir(ar, or).getResult(); 15131 var dr = typeof h !== tt && h.navigator ? h.navigator : g, br = ar || (dr && dr.userAgent ? dr.userAgent : $), Fr = dr && dr.userAgentData ? dr.userAgentData : g, Lr = or ? Or(Sr, or) : Sr, mr = dr && dr.userAgent == br; 15132 return this.getBrowser = function() { 15133 var hr = {}; 15134 return hr[it] = g, hr[ct] = g, Cr.call(hr, br, Lr.browser), hr[st] = Qr(hr[ct]), mr && dr && dr.brave && typeof dr.brave.isBrave == et && (hr[it] = "Brave"), hr; 15135 }, this.getCPU = function() { 15136 var hr = {}; 15137 return hr[ut] = g, Cr.call(hr, br, Lr.cpu), hr; 15138 }, this.getDevice = function() { 15139 var hr = {}; 15140 return hr[lt] = g, hr[ot] = g, hr[at] = g, Cr.call(hr, br, Lr.device), mr && !hr[at] && Fr && Fr.mobile && (hr[at] = dt), mr && hr[ot] == "Macintosh" && dr && typeof dr.standalone !== tt && dr.maxTouchPoints && dr.maxTouchPoints > 2 && (hr[ot] = "iPad", hr[at] = pt), hr; 15141 }, this.getEngine = function() { 15142 var hr = {}; 15143 return hr[it] = g, hr[ct] = g, Cr.call(hr, br, Lr.engine), hr; 15144 }, this.getOS = function() { 15145 var hr = {}; 15146 return hr[it] = g, hr[ct] = g, Cr.call(hr, br, Lr.os), mr && !hr[it] && Fr && Fr.platform && Fr.platform != "Unknown" && (hr[it] = Fr.platform.replace(/chrome os/i, Ur).replace(/macos/i, Tr)), hr; 15147 }, this.getResult = function() { 15148 return { 15149 ua: this.getUA(), 15150 browser: this.getBrowser(), 15151 engine: this.getEngine(), 15152 os: this.getOS(), 15153 device: this.getDevice(), 15154 cpu: this.getCPU() 15155 }; 15156 }, this.getUA = function() { 15157 return br; 15158 }, this.setUA = function(hr) { 15159 return br = typeof hr === nt && hr.length > yt ? zt(hr, yt) : hr, this; 15160 }, this.setUA(br), this; 15161 }; 15162 Ir.VERSION = b, Ir.BROWSER = Ar([ 15163 it, 15164 ct, 15165 st 15166 ]), Ir.CPU = Ar([ 15167 ut 15168 ]), Ir.DEVICE = Ar([ 15169 ot, 15170 lt, 15171 at, 15172 ft, 15173 dt, 15174 ht, 15175 pt, 15176 mt, 15177 gt 15178 ]), Ir.ENGINE = Ir.OS = Ar([ 15179 it, 15180 ct 15181 ]), d.exports && (o = d.exports = Ir), o.UAParser = Ir; 15182 var Kr = typeof h !== tt && (h.jQuery || h.Zepto); 15183 if (Kr && !Kr.ua) { 15184 var Nr = new Ir(); 15185 Kr.ua = Nr.getResult(), Kr.ua.get = function() { 15186 return Nr.getUA(); 15187 }, Kr.ua.set = function(ar) { 15188 Nr.setUA(ar); 15189 var or = Nr.getResult(); 15190 for (var dr in or) Kr.ua[dr] = or[dr]; 15191 }; 15192 } 15193 })(typeof window == "object" ? window : commonjsGlobal); 15194 })(uaParser_min, uaParser_min.exports); 15195 var uaParser_minExports = uaParser_min.exports; 15196 Object.defineProperty(lib, "__esModule", { 15197 value: true 15198 }); 15199 function _interopDefault(d) { 15200 return d && typeof d == "object" && "default" in d ? d.default : d; 15201 } 15202 var React = reactExports, React__default = _interopDefault(React), UAParser = uaParser_minExports, ClientUAInstance = new UAParser(), browser$1 = ClientUAInstance.getBrowser(), cpu = ClientUAInstance.getCPU(), device = ClientUAInstance.getDevice(), engine = ClientUAInstance.getEngine(), os = ClientUAInstance.getOS(), ua$1 = ClientUAInstance.getUA(), setUa = function(o) { 15203 return ClientUAInstance.setUA(o); 15204 }, parseUserAgent = function(o) { 15205 if (!o) { 15206 console.error("No userAgent string was provided"); 15207 return; 15208 } 15209 var h = new UAParser(o); 15210 return { 15211 UA: h, 15212 browser: h.getBrowser(), 15213 cpu: h.getCPU(), 15214 device: h.getDevice(), 15215 engine: h.getEngine(), 15216 os: h.getOS(), 15217 ua: h.getUA(), 15218 setUserAgent: function(b) { 15219 return h.setUA(b); 15220 } 15221 }; 15222 }, UAHelper = Object.freeze({ 15223 ClientUAInstance, 15224 browser: browser$1, 15225 cpu, 15226 device, 15227 engine, 15228 os, 15229 ua: ua$1, 15230 setUa, 15231 parseUserAgent 15232 }); 15233 function ownKeys(d, o) { 15234 var h = Object.keys(d); 15235 if (Object.getOwnPropertySymbols) { 15236 var g = Object.getOwnPropertySymbols(d); 15237 o && (g = g.filter(function(b) { 15238 return Object.getOwnPropertyDescriptor(d, b).enumerable; 15239 })), h.push.apply(h, g); 15240 } 15241 return h; 15242 }
15243 function _objectSpread2(d) { 15244 for (var o = 1; o < arguments.length; o++) { 15245 var h = arguments[o] != null ? arguments[o] : {}; 15246 o % 2 ? ownKeys(Object(h), true).forEach(function(g) { 15247 _defineProperty(d, g, h[g]); 15248 }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(h)) : ownKeys(Object(h)).forEach(function(g) { 15249 Object.defineProperty(d, g, Object.getOwnPropertyDescriptor(h, g)); 15250 }); 15251 } 15252 return d; 15253 } 15254 function _typeof(d) { 15255 "@babel/helpers - typeof"; 15256 return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? _typeof = function(o) { 15257 return typeof o; 15258 } : _typeof = function(o) { 15259 return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; 15260 }, _typeof(d); 15261 } 15262 function _classCallCheck(d, o) { 15263 if (!(d instanceof o)) throw new TypeError("Cannot call a class as a function"); 15264 } 15265 function _defineProperties$1(d, o) { 15266 for (var h = 0; h < o.length; h++) { 15267 var g = o[h]; 15268 g.enumerable = g.enumerable || false, g.configurable = true, "value" in g && (g.writable = true), Object.defineProperty(d, g.key, g); 15269 } 15270 } 15271 function _createClass$1(d, o, h) { 15272 return o && _defineProperties$1(d.prototype, o), d; 15273 } 15274 function _defineProperty(d, o, h) { 15275 return o in d ? Object.defineProperty(d, o, { 15276 value: h, 15277 enumerable: true, 15278 configurable: true, 15279 writable: true 15280 }) : d[o] = h, d; 15281 } 15282 function _extends$1() { 15283 return _extends$1 = Object.assign || function(d) { 15284 for (var o = 1; o < arguments.length; o++) { 15285 var h = arguments[o]; 15286 for (var g in h) Object.prototype.hasOwnProperty.call(h, g) && (d[g] = h[g]); 15287 } 15288 return d; 15289 }, _extends$1.apply(this, arguments); 15290 } 15291 function _inherits(d, o) { 15292 if (typeof o != "function" && o !== null) throw new TypeError("Super expression must either be null or a function"); 15293 d.prototype = Object.create(o && o.prototype, { 15294 constructor: { 15295 value: d, 15296 writable: true, 15297 configurable: true 15298 } 15299 }), o && _setPrototypeOf(d, o); 15300 } 15301 function _getPrototypeOf(d) { 15302 return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function(h) { 15303 return h.__proto__ || Object.getPrototypeOf(h); 15304 }, _getPrototypeOf(d); 15305 } 15306 function _setPrototypeOf(d, o) { 15307 return _setPrototypeOf = Object.setPrototypeOf || function(g, b) { 15308 return g.__proto__ = b, g; 15309 }, _setPrototypeOf(d, o); 15310 } 15311 function _objectWithoutPropertiesLoose(d, o) { 15312 if (d == null) return {}; 15313 var h = {}, g = Object.keys(d), b, $; 15314 for ($ = 0; $ < g.length; $++) b = g[$], !(o.indexOf(b) >= 0) && (h[b] = d[b]); 15315 return h; 15316 } 15317 function _objectWithoutProperties(d, o) { 15318 if (d == null) return {}; 15319 var h = _objectWithoutPropertiesLoose(d, o), g, b; 15320 if (Object.getOwnPropertySymbols) { 15321 var $ = Object.getOwnPropertySymbols(d); 15322 for (b = 0; b < $.length; b++) g = $[b], !(o.indexOf(g) >= 0) && Object.prototype.propertyIsEnumerable.call(d, g) && (h[g] = d[g]); 15323 } 15324 return h; 15325 } 15326 function _assertThisInitialized$2(d) { 15327 if (d === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 15328 return d; 15329 } 15330 function _possibleConstructorReturn(d, o) { 15331 if (o && (typeof o == "object" || typeof o == "function")) return o; 15332 if (o !== void 0) throw new TypeError("Derived constructors may only return object or undefined"); 15333 return _assertThisInitialized$2(d); 15334 } 15335 function _slicedToArray(d, o) { 15336 return _arrayWithHoles(d) || _iterableToArrayLimit(d, o) || _unsupportedIterableToArray(d, o) || _nonIterableRest(); 15337 } 15338 function _arrayWithHoles(d) { 15339 if (Array.isArray(d)) return d; 15340 } 15341 function _iterableToArrayLimit(d, o) { 15342 var h = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"]; 15343 if (h != null) { 15344 var g = [], b = true, $ = false, _e, et; 15345 try { 15346 for (h = h.call(d); !(b = (_e = h.next()).done) && (g.push(_e.value), !(o && g.length === o)); b = true) ; 15347 } catch (tt) { 15348 $ = true, et = tt; 15349 } finally { 15350 try { 15351 !b && h.return != null && h.return(); 15352 } finally { 15353 if ($) throw et; 15354 } 15355 } 15356 return g; 15357 } 15358 } 15359 function _unsupportedIterableToArray(d, o) { 15360 if (d) { 15361 if (typeof d == "string") return _arrayLikeToArray(d, o); 15362 var h = Object.prototype.toString.call(d).slice(8, -1);
15363 if (h === "Object" && d.constructor && (h = d.constructor.name), h === "Map" || h === "Set") return Array.from(d); 15364 if (h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)) return _arrayLikeToArray(d, o); 15365 } 15366 } 15367 function _arrayLikeToArray(d, o) { 15368 (o == null || o > d.length) && (o = d.length); 15369 for (var h = 0, g = new Array(o); h < o; h++) g[h] = d[h]; 15370 return g; 15371 } 15372 function _nonIterableRest() { 15373 throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 15374 } 15375 var DeviceTypes = { 15376 Mobile: "mobile", 15377 Tablet: "tablet", 15378 SmartTv: "smarttv", 15379 Console: "console", 15380 Wearable: "wearable", 15381 Embedded: "embedded", 15382 Browser: void 0 15383 }, BrowserTypes = { 15384 Chrome: "Chrome", 15385 Firefox: "Firefox", 15386 Opera: "Opera", 15387 Yandex: "Yandex", 15388 Safari: "Safari", 15389 InternetExplorer: "Internet Explorer", 15390 Edge: "Edge", 15391 Chromium: "Chromium", 15392 Ie: "IE", 15393 MobileSafari: "Mobile Safari", 15394 EdgeChromium: "Edge Chromium", 15395 MIUI: "MIUI Browser", 15396 SamsungBrowser: "Samsung Browser" 15397 }, OsTypes = { 15398 IOS: "iOS", 15399 Android: "Android", 15400 WindowsPhone: "Windows Phone", 15401 Windows: "Windows", 15402 MAC_OS: "Mac OS" 15403 }, InitialDeviceTypes = { 15404 isMobile: false, 15405 isTablet: false, 15406 isBrowser: false, 15407 isSmartTV: false, 15408 isConsole: false, 15409 isWearable: false 15410 }, checkDeviceType = function(o) { 15411 switch (o) { 15412 case DeviceTypes.Mobile: 15413 return { 15414 isMobile: true 15415 }; 15416 case DeviceTypes.Tablet: 15417 return { 15418 isTablet: true 15419 }; 15420 case DeviceTypes.SmartTv: 15421 return { 15422 isSmartTV: true 15423 }; 15424 case DeviceTypes.Console: 15425 return { 15426 isConsole: true 15427 }; 15428 case DeviceTypes.Wearable: 15429 return { 15430 isWearable: true 15431 }; 15432 case DeviceTypes.Browser: 15433 return { 15434 isBrowser: true 15435 }; 15436 case DeviceTypes.Embedded: 15437 return { 15438 isEmbedded: true 15439 }; 15440 default: 15441 return InitialDeviceTypes; 15442 } 15443 }, setUserAgent = function(o) { 15444 return setUa(o); 15445 }, setDefaults = function(o) { 15446 var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none"; 15447 return o || h; 15448 }, getNavigatorInstance = function() { 15449 return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : false; 15450 }, isIOS13Check = function(o) { 15451 var h = getNavigatorInstance(); 15452 return h && h.platform && (h.platform.indexOf(o) !== -1 || h.platform === "MacIntel" && h.maxTouchPoints > 1 && !window.MSStream); 15453 }, browserPayload = function(o, h, g, b, $) { 15454 return { 15455 isBrowser: o, 15456 browserMajorVersion: setDefaults(h.major), 15457 browserFullVersion: setDefaults(h.version), 15458 browserName: setDefaults(h.name), 15459 engineName: setDefaults(g.name), 15460 engineVersion: setDefaults(g.version), 15461 osName: setDefaults(b.name),
15462 osVersion: setDefaults(b.version), 15463 userAgent: setDefaults($) 15464 }; 15465 }, mobilePayload = function(o, h, g, b) { 15466 return _objectSpread2({}, o, { 15467 vendor: setDefaults(h.vendor), 15468 model: setDefaults(h.model), 15469 os: setDefaults(g.name), 15470 osVersion: setDefaults(g.version), 15471 ua: setDefaults(b) 15472 }); 15473 }, smartTvPayload = function(o, h, g, b) { 15474 return { 15475 isSmartTV: o, 15476 engineName: setDefaults(h.name), 15477 engineVersion: setDefaults(h.version), 15478 osName: setDefaults(g.name), 15479 osVersion: setDefaults(g.version), 15480 userAgent: setDefaults(b) 15481 }; 15482 }, consolePayload = function(o, h, g, b) { 15483 return { 15484 isConsole: o, 15485 engineName: setDefaults(h.name), 15486 engineVersion: setDefaults(h.version), 15487 osName: setDefaults(g.name), 15488 osVersion: setDefaults(g.version), 15489 userAgent: setDefaults(b) 15490 }; 15491 }, wearablePayload = function(o, h, g, b) { 15492 return { 15493 isWearable: o, 15494 engineName: setDefaults(h.name), 15495 engineVersion: setDefaults(h.version), 15496 osName: setDefaults(g.name), 15497 osVersion: setDefaults(g.version), 15498 userAgent: setDefaults(b) 15499 }; 15500 }, embeddedPayload = function(o, h, g, b, $) { 15501 return { 15502 isEmbedded: o, 15503 vendor: setDefaults(h.vendor), 15504 model: setDefaults(h.model), 15505 engineName: setDefaults(g.name), 15506 engineVersion: setDefaults(g.version), 15507 osName: setDefaults(b.name),
15508 osVersion: setDefaults(b.version), 15509 userAgent: setDefaults($) 15510 }; 15511 }; 15512 function deviceDetect(d) { 15513 var o = d ? parseUserAgent(d) : UAHelper, h = o.device, g = o.browser, b = o.engine, $ = o.os, _e = o.ua, et = checkDeviceType(h.type), tt = et.isBrowser, rt = et.isMobile, nt = et.isTablet, st = et.isSmartTV, ot = et.isConsole, it = et.isWearable, at = et.isEmbedded; 15514 if (tt) return browserPayload(tt, g, b, $, _e); 15515 if (st) return smartTvPayload(st, b, $, _e); 15516 if (ot) return consolePayload(ot, b, $, _e); 15517 if (rt || nt) return mobilePayload(et, h, $, _e); 15518 if (it) return wearablePayload(it, b, $, _e); 15519 if (at) return embeddedPayload(at, h, b, $, _e); 15520 } 15521 var isMobileType = function(o) { 15522 var h = o.type; 15523 return h === DeviceTypes.Mobile; 15524 }, isTabletType = function(o) { 15525 var h = o.type; 15526 return h === DeviceTypes.Tablet; 15527 }, isMobileAndTabletType = function(o) { 15528 var h = o.type; 15529 return h === DeviceTypes.Mobile || h === DeviceTypes.Tablet; 15530 }, isSmartTVType = function(o) { 15531 var h = o.type; 15532 return h === DeviceTypes.SmartTv; 15533 }, isBrowserType = function(o) { 15534 var h = o.type; 15535 return h === DeviceTypes.Browser; 15536 }, isWearableType = function(o) { 15537 var h = o.type; 15538 return h === DeviceTypes.Wearable; 15539 }, isConsoleType = function(o) { 15540 var h = o.type; 15541 return h === DeviceTypes.Console; 15542 }, isEmbeddedType = function(o) { 15543 var h = o.type; 15544 return h === DeviceTypes.Embedded; 15545 }, getMobileVendor = function(o) { 15546 var h = o.vendor; 15547 return setDefaults(h); 15548 }, getMobileModel = function(o) { 15549 var h = o.model; 15550 return setDefaults(h); 15551 }, getDeviceType = function(o) { 15552 var h = o.type; 15553 return setDefaults(h, "browser"); 15554 }, isAndroidType = function(o) { 15555 var h = o.name; 15556 return h === OsTypes.Android; 15557 }, isWindowsType = function(o) { 15558 var h = o.name; 15559 return h === OsTypes.Windows; 15560 }, isMacOsType = function(o) { 15561 var h = o.name; 15562 return h === OsTypes.MAC_OS; 15563 }, isWinPhoneType = function(o) { 15564 var h = o.name; 15565 return h === OsTypes.WindowsPhone; 15566 }, isIOSType = function(o) { 15567 var h = o.name; 15568 return h === OsTypes.IOS; 15569 }, getOsVersion = function(o) { 15570 var h = o.version; 15571 return setDefaults(h); 15572 }, getOsName = function(o) { 15573 var h = o.name; 15574 return setDefaults(h); 15575 }, isChromeType = function(o) { 15576 var h = o.name; 15577 return h === BrowserTypes.Chrome; 15578 }, isFirefoxType = function(o) { 15579 var h = o.name; 15580 return h === BrowserTypes.Firefox; 15581 }, isChromiumType = function(o) { 15582 var h = o.name; 15583 return h === BrowserTypes.Chromium; 15584 }, isEdgeType = function(o) { 15585 var h = o.name; 15586 return h === BrowserTypes.Edge; 15587 }, isYandexType = function(o) { 15588 var h = o.name; 15589 return h === BrowserTypes.Yandex; 15590 }, isSafariType = function(o) { 15591 var h = o.name; 15592 return h === BrowserTypes.Safari || h === BrowserTypes.MobileSafari; 15593 }, isMobileSafariType = function(o) { 15594 var h = o.name; 15595 return h === BrowserTypes.MobileSafari; 15596 }, isOperaType = function(o) { 15597 var h = o.name; 15598 return h === BrowserTypes.Opera; 15599 }, isIEType = function(o) { 15600 var h = o.name; 15601 return h === BrowserTypes.InternetExplorer || h === BrowserTypes.Ie; 15602 }, isMIUIType = function(o) { 15603 var h = o.name; 15604 return h === BrowserTypes.MIUI; 15605 }, isSamsungBrowserType = function(o) { 15606 var h = o.name; 15607 return h === BrowserTypes.SamsungBrowser; 15608 }, getBrowserFullVersion = function(o) { 15609 var h = o.version; 15610 return setDefaults(h); 15611 }, getBrowserVersion = function(o) { 15612 var h = o.major; 15613 return setDefaults(h); 15614 }, getBrowserName = function(o) { 15615 var h = o.name; 15616 return setDefaults(h); 15617 }, getEngineName = function(o) { 15618 var h = o.name; 15619 return setDefaults(h); 15620 }, getEngineVersion = function(o) { 15621 var h = o.version; 15622 return setDefaults(h); 15623 }, isElectronType = function() { 15624 var o = getNavigatorInstance(), h = o && o.userAgent && o.userAgent.toLowerCase(); 15625 return typeof h == "string" ? /electron/.test(h) : false; 15626 }, isEdgeChromiumType = function(o) { 15627 return typeof o == "string" && o.indexOf("Edg/") !== -1; 15628 }, getIOS13 = function() { 15629 var o = getNavigatorInstance(); 15630 return o && (/iPad|iPhone|iPod/.test(o.platform) || o.platform === "MacIntel" && o.maxTouchPoints > 1) && !window.MSStream; 15631 }, getIPad13 = function() { 15632 return isIOS13Check("iPad"); 15633 }, getIphone13 = function() { 15634 return isIOS13Check("iPhone"); 15635 }, getIPod13 = function() { 15636 return isIOS13Check("iPod"); 15637 }, getUseragent = function(o) { 15638 return setDefaults(o); 15639 }; 15640 function buildSelectorsObject(d) { 15641 var o = d || UAHelper, h = o.device, g = o.browser, b = o.os, $ = o.engine, _e = o.ua; 15642 return { 15643 isSmartTV: isSmartTVType(h), 15644 isConsole: isConsoleType(h), 15645 isWearable: isWearableType(h), 15646 isEmbedded: isEmbeddedType(h), 15647 isMobileSafari: isMobileSafariType(g) || getIPad13(), 15648 isChromium: isChromiumType(g), 15649 isMobile: isMobileAndTabletType(h) || getIPad13(), 15650 isMobileOnly: isMobileType(h), 15651 isTablet: isTabletType(h) || getIPad13(), 15652 isBrowser: isBrowserType(h), 15653 isDesktop: isBrowserType(h), 15654 isAndroid: isAndroidType(b), 15655 isWinPhone: isWinPhoneType(b), 15656 isIOS: isIOSType(b) || getIPad13(), 15657 isChrome: isChromeType(g), 15658 isFirefox: isFirefoxType(g),
15659 isSafari: isSafariType(g), 15660 isOpera: isOperaType(g), 15661 isIE: isIEType(g), 15662 osVersion: getOsVersion(b), 15663 osName: getOsName(b), 15664 fullBrowserVersion: getBrowserFullVersion(g), 15665 browserVersion: getBrowserVersion(g), 15666 browserName: getBrowserName(g), 15667 mobileVendor: getMobileVendor(h), 15668 mobileModel: getMobileModel(h), 15669 engineName: getEngineName($), 15670 engineVersion: getEngineVersion($), 15671 getUA: getUseragent(_e), 15672 isEdge: isEdgeType(g) || isEdgeChromiumType(_e), 15673 isYandex: isYandexType(g), 15674 deviceType: getDeviceType(h), 15675 isIOS13: getIOS13(), 15676 isIPad13: getIPad13(), 15677 isIPhone13: getIphone13(), 15678 isIPod13: getIPod13(), 15679 isElectron: isElectronType(), 15680 isEdgeChromium: isEdgeChromiumType(_e), 15681 isLegacyEdge: isEdgeType(g) && !isEdgeChromiumType(_e), 15682 isWindows: isWindowsType(b), 15683 isMacOs: isMacOsType(b), 15684 isMIUI: isMIUIType(g), 15685 isSamsungBrowser: isSamsungBrowserType(g) 15686 }; 15687 } 15688 var isSmartTV = isSmartTVType(device), isConsole = isConsoleType(device), isWearable = isWearableType(device), isEmbedded = isEmbeddedType(device), isMobileSafari = isMobileSafariType(browser$1) || getIPad13(), isChromium = isChromiumType(browser$1), isMobile = isMobileAndTabletType(device) || getIPad13(), isMobileOnly = isMobileType(device), isTablet = isTabletType(device) || getIPad13(), isBrowser$1 = isBrowserType(device), isDesktop = isBrowserType(device), isAndroid = isAndroidType(os), isWinPhone = isWinPhoneType(os), isIOS = isIOSType(os) || getIPad13(), isChrome = isChromeType(browser$1), isFirefox = isFirefoxType(browser$1), isSafari = isSafariType(browser$1), isOpera = isOperaType(browser$1), isIE = isIEType(browser$1), osVersion = getOsVersion(os), osName = getOsName(os), fullBrowserVersion = getBrowserFullVersion(browser$1), browserVersion = getBrowserVersion(browser$1), browserName = getBrowserName(browser$1), mobileVendor = getMobileVendor(device), mobileModel = getMobileModel(device), engineName = getEngineName(engine), engineVersion = getEngineVersion(engine), getUA = getUseragent(ua$1), isEdge = isEdgeType(browser$1) || isEdgeChromiumType(ua$1), isYandex = isYandexType(browser$1), deviceType = getDeviceType(device), isIOS13 = getIOS13(), isIPad13 = getIPad13(), isIPhone13 = getIphone13(), isIPod13 = getIPod13(), isElectron = isElectronType(), isEdgeChromium = isEdgeChromiumType(ua$1), isLegacyEdge = isEdgeType(browser$1) && !isEdgeChromiumType(ua$1), isWindows = isWindowsType(os), isMacOs = isMacOsType(os), isMIUI = isMIUIType(browser$1), isSamsungBrowser = isSamsungBrowserType(browser$1), getSelectorsByUserAgent = function(o) { 15689 if (!o || typeof o != "string") { 15690 console.error("No valid user agent string was provided"); 15691 return; 15692 } 15693 var h = parseUserAgent(o), g = h.device, b = h.browser, $ = h.os, _e = h.engine, et = h.ua; 15694 return buildSelectorsObject({ 15695 device: g, 15696 browser: b, 15697 os: $, 15698 engine: _e, 15699 ua: et 15700 }); 15701 }, AndroidView = function(o) { 15702 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15703 "renderWithFragment", 15704 "children" 15705 ]); 15706 return isAndroid ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15707 }, BrowserView = function(o) { 15708 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15709 "renderWithFragment", 15710 "children" 15711 ]); 15712 return isBrowser$1 ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15713 }, IEView = function(o) { 15714 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15715 "renderWithFragment", 15716 "children" 15717 ]); 15718 return isIE ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15719 }, IOSView = function(o) { 15720 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15721 "renderWithFragment", 15722 "children" 15723 ]); 15724 return isIOS ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15725 }, MobileView$3 = function(o) { 15726 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15727 "renderWithFragment", 15728 "children" 15729 ]); 15730 return isMobile ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15731 }, TabletView = function(o) { 15732 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15733 "renderWithFragment", 15734 "children" 15735 ]); 15736 return isTablet ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15737 }, WinPhoneView = function(o) { 15738 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15739 "renderWithFragment", 15740 "children" 15741 ]); 15742 return isWinPhone ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15743 }, MobileOnlyView = function(o) { 15744 var h = o.renderWithFragment, g = o.children; 15745 o.viewClassName, o.style; 15746 var b = _objectWithoutProperties(o, [ 15747 "renderWithFragment", 15748 "children", 15749 "viewClassName", 15750 "style" 15751 ]); 15752 return isMobileOnly ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15753 }, SmartTVView = function(o) { 15754 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15755 "renderWithFragment", 15756 "children" 15757 ]); 15758 return isSmartTV ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15759 }, ConsoleView = function(o) { 15760 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15761 "renderWithFragment", 15762 "children" 15763 ]); 15764 return isConsole ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15765 }, WearableView = function(o) { 15766 var h = o.renderWithFragment, g = o.children, b = _objectWithoutProperties(o, [ 15767 "renderWithFragment", 15768 "children" 15769 ]); 15770 return isWearable ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", b, g) : null; 15771 }, CustomView = function(o) { 15772 var h = o.renderWithFragment, g = o.children; 15773 o.viewClassName, o.style; 15774 var b = o.condition, $ = _objectWithoutProperties(o, [ 15775 "renderWithFragment", 15776 "children", 15777 "viewClassName", 15778 "style", 15779 "condition" 15780 ]); 15781 return b ? h ? React__default.createElement(React.Fragment, null, g) : React__default.createElement("div", $, g) : null; 15782 }; 15783 function withOrientationChange(d) { 15784 return function(o) { 15785 _inherits(h, o); 15786 function h(g) { 15787 var b; 15788 return _classCallCheck(this, h), b = _possibleConstructorReturn(this, _getPrototypeOf(h).call(this, g)), b.isEventListenerAdded = false, b.handleOrientationChange = b.handleOrientationChange.bind(_assertThisInitialized$2(b)), b.onOrientationChange = b.onOrientationChange.bind(_assertThisInitialized$2(b)), b.onPageLoad = b.onPageLoad.bind(_assertThisInitialized$2(b)), b.state = { 15789 isLandscape: false, 15790 isPortrait: false 15791 }, b; 15792 } 15793 return _createClass$1(h, [ 15794 { 15795 key: "handleOrientationChange", 15796 value: function() { 15797 this.isEventListenerAdded || (this.isEventListenerAdded = true); 15798 var b = window.innerWidth > window.innerHeight ? 90 : 0; 15799 this.setState({ 15800 isPortrait: b === 0, 15801 isLandscape: b === 90 15802 }); 15803 } 15804 }, 15805 { 15806 key: "onOrientationChange", 15807 value: function() { 15808 this.handleOrientationChange(); 15809 } 15810 }, 15811 { 15812 key: "onPageLoad", 15813 value: function() { 15814 this.handleOrientationChange(); 15815 } 15816 }, 15817 { 15818 key: "componentDidMount", 15819 value: function() { 15820 (typeof window > "u" ? "undefined" : _typeof(window)) !== void 0 && isMobile && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, false) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, false)), window.addEventListener("resize", this.onOrientationChange, false)); 15821 } 15822 }, 15823 { 15824 key: "componentWillUnmount", 15825 value: function() { 15826 window.removeEventListener("resize", this.onOrientationChange, false); 15827 } 15828 }, 15829 { 15830 key: "render", 15831 value: function() { 15832 return React__default.createElement(d, _extends$1({}, this.props, { 15833 isLandscape: this.state.isLandscape, 15834 isPortrait: this.state.isPortrait 15835 })); 15836 } 15837 } 15838 ]), h; 15839 }(React__default.Component); 15840 } 15841 function useMobileOrientation() { 15842 var d = React.useState(function() { 15843 var $ = window.innerWidth > window.innerHeight ? 90 : 0; 15844 return { 15845 isPortrait: $ === 0, 15846 isLandscape: $ === 90, 15847 orientation: $ === 0 ? "portrait" : "landscape" 15848 }; 15849 }), o = _slicedToArray(d, 2), h = o[0], g = o[1], b = React.useCallback(function() { 15850 var $ = window.innerWidth > window.innerHeight ? 90 : 0, _e = { 15851 isPortrait: $ === 0, 15852 isLandscape: $ === 90, 15853 orientation: $ === 0 ? "portrait" : "landscape" 15854 }; 15855 h.orientation !== _e.orientation && g(_e); 15856 }, [ 15857 h.orientation 15858 ]); 15859 return React.useEffect(function() { 15860 return (typeof window > "u" ? "undefined" : _typeof(window)) !== void 0 && isMobile && (b(), window.addEventListener("load", b, false), window.addEventListener("resize", b, false)), function() { 15861 window.removeEventListener("resize", b, false), window.removeEventListener("load", b, false); 15862 }; 15863 }, [ 15864 b 15865 ]), h; 15866 } 15867 function useDeviceData(d) { 15868 var o = d || window.navigator.userAgent; 15869 return parseUserAgent(o); 15870 } 15871 function useDeviceSelectors(d) { 15872 var o = d || window.navigator.userAgent, h = useDeviceData(o), g = buildSelectorsObject(h); 15873 return [ 15874 g, 15875 h 15876 ]; 15877 } 15878 lib.AndroidView = AndroidView; 15879 lib.BrowserTypes = BrowserTypes; 15880 lib.BrowserView = BrowserView; 15881 lib.ConsoleView = ConsoleView; 15882 lib.CustomView = CustomView; 15883 lib.IEView = IEView; 15884 lib.IOSView = IOSView; 15885 lib.MobileOnlyView = MobileOnlyView; 15886 lib.MobileView = MobileView$3;
15887 lib.OsTypes = OsTypes; 15888 lib.SmartTVView = SmartTVView; 15889 lib.TabletView = TabletView; 15890 lib.WearableView = WearableView; 15891 lib.WinPhoneView = WinPhoneView; 15892 lib.browserName = browserName; 15893 lib.browserVersion = browserVersion; 15894 lib.deviceDetect = deviceDetect; 15895 lib.deviceType = deviceType; 15896 lib.engineName = engineName; 15897 lib.engineVersion = engineVersion; 15898 lib.fullBrowserVersion = fullBrowserVersion; 15899 lib.getSelectorsByUserAgent = getSelectorsByUserAgent; 15900 lib.getUA = getUA; 15901 lib.isAndroid = isAndroid; 15902 lib.isBrowser = isBrowser$1; 15903 lib.isChrome = isChrome; 15904 lib.isChromium = isChromium; 15905 lib.isConsole = isConsole; 15906 var isDesktop_1 = lib.isDesktop = isDesktop; 15907 lib.isEdge = isEdge; 15908 lib.isEdgeChromium = isEdgeChromium; 15909 lib.isElectron = isElectron; 15910 lib.isEmbedded = isEmbedded; 15911 lib.isFirefox = isFirefox; 15912 lib.isIE = isIE; 15913 lib.isIOS = isIOS; 15914 lib.isIOS13 = isIOS13; 15915 var isIPad13_1 = lib.isIPad13 = isIPad13; 15916 lib.isIPhone13 = isIPhone13; 15917 lib.isIPod13 = isIPod13; 15918 lib.isLegacyEdge = isLegacyEdge; 15919 lib.isMIUI = isMIUI; 15920 lib.isMacOs = isMacOs; 15921 lib.isMobile = isMobile; 15922 lib.isMobileOnly = isMobileOnly; 15923 lib.isMobileSafari = isMobileSafari; 15924 lib.isOpera = isOpera; 15925 lib.isSafari = isSafari; 15926 lib.isSamsungBrowser = isSamsungBrowser; 15927 lib.isSmartTV = isSmartTV; 15928 lib.isTablet = isTablet; 15929 lib.isWearable = isWearable; 15930 lib.isWinPhone = isWinPhone; 15931 lib.isWindows = isWindows; 15932 lib.isYandex = isYandex; 15933 lib.mobileModel = mobileModel; 15934 lib.mobileVendor = mobileVendor; 15935 lib.osName = osName; 15936 lib.osVersion = osVersion; 15937 lib.parseUserAgent = parseUserAgent; 15938 lib.setUserAgent = setUserAgent; 15939 lib.useDeviceData = useDeviceData; 15940 lib.useDeviceSelectors = useDeviceSelectors; 15941 lib.useMobileOrientation = useMobileOrientation; 15942 lib.withOrientationChange = withOrientationChange; 15943 var define_PAGE_CONFIG_default$3 = { 15944 CONST: { 15945 LANG_NAME: { 15946 "zh-cn": "\u7B80", 15947 "zh-tw": "\u7E41", 15948 "en-us": "EN", 15949 "ko-kr": "\uD55C\uAD6D\uC5B4", 15950 "ja-jp": "\u65E5\u672C\u8A9E" 15951 } 15952 } 15953 }; 15954 const isPC$8 = isIPad13_1 || isDesktop_1, { CONST: CONST$1 } = define_PAGE_CONFIG_default$3, appLang = Object.entries(CONST$1.LANG_NAME), Language = function({ visible: d, onClose: o, onOpen: h, ...g }) { 15955 const b = reactExports.useRef(null), { i18n: $ } = useTranslation(); 15956 let _e = useLocation(); 15957 const et = useNavigate(); 15958 return reactExports.useEffect(function() { 15959 d ? h == null ? void 0 : h(d) : o == null ? void 0 : o(d); 15960 }, [ 15961 d 15962 ]), reactExports.useEffect(function() { 15963 const tt = (rt) => { 15964 b.current.contains(rt.target) || o(false); 15965 }; 15966 return document.addEventListener("click", tt), () => { 15967 document.removeEventListener("click", tt); 15968 }; 15969 }, []), jsxRuntimeExports.jsx("div", { 15970 className: classNames("language__select", { 15971 show: d 15972 }), 15973 ref: b, 15974 children: appLang.map(([tt, rt]) => jsxRuntimeExports.jsx("div", { 15975 onClick: (nt) => { 15976 tt !== $.language && (document.body.setAttribute("data-lang", tt), localStorage.setItem("i18nextLng", tt), et("".concat(_e.pathname, "?lang=").concat(tt)), location.reload(), nt.stopPropagation()); 15977 }, 15978 className: classNames("language__list", $.language === tt ? "active" : ""), 15979 children: rt 15980 }, tt)) 15981 }); 15982 }; 15983 function TopMenu() { 15984 const [d, o] = reactExports.useState(!!isPC$8), { i18n: h, t: g } = useTranslation(), b = useNavigate(), $ = [ 15985 { 15986 name: "home", 15987 path: "/", 15988 desc: g("menuNav.home") 15989 }, 15990 { 15991 name: "about", 15992 path: "/introduction", 15993 desc: g("menuNav.about") 15994 }, 15995 { 15996 name: "join", 15997 path: "/join", 15998 desc: g("menuNav.join") 15999 } 16000 ], [_e, et] = reactExports.useState(false), tt = () => jsxRuntimeExports.jsxs("div", { 16001 className: "language", 16002 children: [ 16003 jsxRuntimeExports.jsx("div", { 16004 onClick: (rt) => { 16005 et(!_e), rt.stopPropagation(); 16006 }, 16007 className: classNames("current-lang", { 16008 show: _e 16009 }), 16010 children: CONST$1.LANG_NAME[h.language] 16011 }), 16012 jsxRuntimeExports.jsx(Language, { 16013 visible: _e, 16014 onClose: (rt) => et(rt) 16015 }) 16016 ] 16017 }); 16018 return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 16019 children: jsxRuntimeExports.jsxs("div", { 16020 className: "top-menu font_regular", 16021 children: [ 16022 jsxRuntimeExports.jsx("div", { 16023 className: "logo", 16024 onClick: () => { 16025 b("/"); 16026 } 16027 }), 16028 isPC$8 ? null : jsxRuntimeExports.jsxs("div", {
16029 className: "open-item", 16030 children: [ 16031 jsxRuntimeExports.jsx(tt, {}), 16032 jsxRuntimeExports.jsx("div", { 16033 className: "open-menu", 16034 onClick: () => o(!d) 16035 }) 16036 ] 16037 }), 16038 jsxRuntimeExports.jsxs("div", { 16039 className: classNames("menu-item", { 16040 show: d 16041 }), 16042 children: [ 16043 jsxRuntimeExports.jsx("nav", { 16044 children: $.map((rt) => jsxRuntimeExports.jsx(NavLink, { 16045 to: rt.path, 16046 className: ({ isActive: nt }) => nt ? "act" : "", 16047 children: rt.desc 16048 }, rt.name)) 16049 }), 16050 isPC$8 ? jsxRuntimeExports.jsx(tt, {}) : jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 16051 children: [ 16052 jsxRuntimeExports.jsx("div", { 16053 className: "logo-wrap", 16054 children: jsxRuntimeExports.jsx("div", { 16055 className: "logo" 16056 }) 16057 }), 16058 jsxRuntimeExports.jsx("div", { 16059 className: "close-menu-btn", 16060 onClick: () => o(!d) 16061 }) 16062 ] 16063 }) 16064 ] 16065 }) 16066 ] 16067 }) 16068 }); 16069 } 16070 function _assertThisInitialized$1(d) { 16071 if (d === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 16072 return d; 16073 } 16074 function _inheritsLoose$1(d, o) { 16075 d.prototype = Object.create(o.prototype), d.prototype.constructor = d, d.__proto__ = o; 16076 } 16077 var _config = { 16078 autoSleep: 120, 16079 force3D: "auto", 16080 nullTargetWarn: 1, 16081 units: { 16082 lineHeight: "" 16083 } 16084 }, _defaults$1 = { 16085 duration: 0.5, 16086 overwrite: false, 16087 delay: 0 16088 }, _suppressOverwrites$1, _reverting$1, _context$3, _bigNum$2 = 1e8, _tinyNum = 1 / _bigNum$2, _2PI = Math.PI * 2, _HALF_PI = _2PI / 4, _gsID = 0, _sqrt = Math.sqrt, _cos = Math.cos, _sin = Math.sin, _isString$1 = function(o) { 16089 return typeof o == "string"; 16090 }, _isFunction$2 = function(o) { 16091 return typeof o == "function"; 16092 }, _isNumber$1 = function(o) { 16093 return typeof o == "number"; 16094 }, _isUndefined$1 = function(o) { 16095 return typeof o > "u"; 16096 }, _isObject$2 = function(o) { 16097 return typeof o == "object"; 16098 }, _isNotFalse = function(o) { 16099 return o !== false; 16100 }, _windowExists$3 = function() { 16101 return typeof window < "u"; 16102 }, _isFuncOrString = function(o) { 16103 return _isFunction$2(o) || _isString$1(o); 16104 }, _isTypedArray = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() { 16105 }, _isArray$1 = Array.isArray, _strictNumExp = /(?:-?\.?\d|\.)+/gi, _numExp = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, _numWithUnitExp = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, _complexStringNumExp = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, _relExp = /[+-]=-?[.\d]+/, _delimitedValueExp = /[^,'"\[\]\s]+/gi, _unitExp = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, _globalTimeline, _win$5, _coreInitted$3, _doc$5, _globals = {}, _installScope = {}, _coreReady, _install = function(o) { 16106 return (_installScope = _merge(o, _globals)) && gsap$3; 16107 }, _missingPlugin = function(o, h) { 16108 return console.warn("Invalid property", o, "set to", h, "Missing plugin? gsap.registerPlugin()"); 16109 }, _warn = function(o, h) { 16110 return !h && console.warn(o); 16111 }, _addGlobal = function(o, h) { 16112 return o && (_globals[o] = h) && _installScope && (_installScope[o] = h) || _globals; 16113 }, _emptyFunc$1 = function() { 16114 return 0; 16115 }, _startAtRevertConfig = { 16116 suppressEvents: true, 16117 isStart: true, 16118 kill: false 16119 }, _revertConfigNoKill = { 16120 suppressEvents: true, 16121 kill: false 16122 }, _revertConfig = { 16123 suppressEvents: true 16124 }, _reservedProps = {}, _lazyTweens = [], _lazyLookup = {}, _lastRenderedFrame, _plugins = {}, _effects = {}, _nextGCFrame = 30, _harnessPlugins = [], _callbackNames = "", _harness = function(o) { 16125 var h = o[0], g, b; 16126 if (_isObject$2(h) || _isFunction$2(h) || (o = [ 16127 o 16128 ]), !(g = (h._gsap || {}).harness)) { 16129 for (b = _harnessPlugins.length; b-- && !_harnessPlugins[b].targetTest(h); ) ; 16130 g = _harnessPlugins[b]; 16131 } 16132 for (b = o.length; b--; ) o[b] && (o[b]._gsap || (o[b]._gsap = new GSCache(o[b], g))) || o.splice(b, 1); 16133 return o; 16134 }, _getCache = function(o) { 16135 return o._gsap || _harness(toArray(o))[0]._gsap; 16136 }, _getProperty = function(o, h, g) { 16137 return (g = o[h]) && _isFunction$2(g) ? o[h]() : _isUndefined$1(g) && o.getAttribute && o.getAttribute(h) || g; 16138 }
vendor: 98,086 bytes, lines 16138-17827
16138, _forEachName = function(o, h) { 16139 return (o = o.split(",")).forEach(h) || o; 16140 }, _round$2 = function(o) { 16141 return Math.round(o * 1e5) / 1e5 || 0; 16142 }, _roundPrecise = function(o) { 16143 return Math.round(o * 1e7) / 1e7 || 0; 16144 }, _parseRelative = function(o, h) { 16145 var g = h.charAt(0), b = parseFloat(h.substr(2)); 16146 return o = parseFloat(o), g === "+" ? o + b : g === "-" ? o - b : g === "*" ? o * b : o / b; 16147 }, _arrayContainsAny = function(o, h) { 16148 for (var g = h.length, b = 0; o.indexOf(h[b]) < 0 && ++b < g; ) ; 16149 return b < g; 16150 }, _lazyRender = function() { 16151 var o = _lazyTweens.length, h = _lazyTweens.slice(0), g, b; 16152 for (_lazyLookup = {}, _lazyTweens.length = 0, g = 0; g < o; g++) b = h[g], b && b._lazy && (b.render(b._lazy[0], b._lazy[1], true)._lazy = 0); 16153 }, _isRevertWorthy = function(o) { 16154 return !!(o._initted || o._startAt || o.add); 16155 }, _lazySafeRender = function(o, h, g, b) { 16156 _lazyTweens.length && !_reverting$1 && _lazyRender(), o.render(h, g, !!(_reverting$1 && h < 0 && _isRevertWorthy(o))), _lazyTweens.length && !_reverting$1 && _lazyRender(); 16157 }, _numericIfPossible = function(o) { 16158 var h = parseFloat(o); 16159 return (h || h === 0) && (o + "").match(_delimitedValueExp).length < 2 ? h : _isString$1(o) ? o.trim() : o; 16160 }, _passThrough$1 = function(o) { 16161 return o; 16162 }, _setDefaults$2 = function(o, h) { 16163 for (var g in h) g in o || (o[g] = h[g]); 16164 return o; 16165 }, _setKeyframeDefaults = function(o) { 16166 return function(h, g) { 16167 for (var b in g) b in h || b === "duration" && o || b === "ease" || (h[b] = g[b]); 16168 }; 16169 }, _merge = function(o, h) { 16170 for (var g in h) o[g] = h[g]; 16171 return o; 16172 }, _mergeDeep = function d(o, h) { 16173 for (var g in h) g !== "__proto__" && g !== "constructor" && g !== "prototype" && (o[g] = _isObject$2(h[g]) ? d(o[g] || (o[g] = {}), h[g]) : h[g]); 16174 return o; 16175 }, _copyExcluding = function(o, h) { 16176 var g = {}, b; 16177 for (b in o) b in h || (g[b] = o[b]); 16178 return g; 16179 }, _inheritDefaults = function(o) { 16180 var h = o.parent || _globalTimeline, g = o.keyframes ? _setKeyframeDefaults(_isArray$1(o.keyframes)) : _setDefaults$2; 16181 if (_isNotFalse(o.inherit)) for (; h; ) g(o, h.vars.defaults), h = h.parent || h._dp; 16182 return o; 16183 }, _arraysMatch = function(o, h) { 16184 for (var g = o.length, b = g === h.length; b && g-- && o[g] === h[g]; ) ; 16185 return g < 0; 16186 }, _addLinkedListItem = function(o, h, g, b, $) { 16187 var _e = o[b], et; 16188 if ($) for (et = h[$]; _e && _e[$] > et; ) _e = _e._prev; 16189 return _e ? (h._next = _e._next, _e._next = h) : (h._next = o[g], o[g] = h), h._next ? h._next._prev = h : o[b] = h, h._prev = _e, h.parent = h._dp = o, h; 16190 }, _removeLinkedListItem = function(o, h, g, b) { 16191 g === void 0 && (g = "_first"), b === void 0 && (b = "_last"); 16192 var $ = h._prev, _e = h._next; 16193 $ ? $._next = _e : o[g] === h && (o[g] = _e), _e ? _e._prev = $ : o[b] === h && (o[b] = $), h._next = h._prev = h.parent = null; 16194 }, _removeFromParent = function(o, h) { 16195 o.parent && (!h || o.parent.autoRemoveChildren) && o.parent.remove && o.parent.remove(o), o._act = 0; 16196 }, _uncache = function(o, h) { 16197 if (o && (!h || h._end > o._dur || h._start < 0)) for (var g = o; g; ) g._dirty = 1, g = g.parent; 16198 return o; 16199 }, _recacheAncestors = function(o) { 16200 for (var h = o.parent; h && h.parent; ) h._dirty = 1, h.totalDuration(), h = h.parent; 16201 return o; 16202 }, _rewindStartAt = function(o, h, g, b) { 16203 return o._startAt && (_reverting$1 ? o._startAt.revert(_revertConfigNoKill) : o.vars.immediateRender && !o.vars.autoRevert || o._startAt.render(h, true, b)); 16204 }, _hasNoPausedAncestors = function d(o) { 16205 return !o || o._ts && d(o.parent); 16206 }, _elapsedCycleDuration = function(o) { 16207 return o._repeat ? _animationCycle(o._tTime, o = o.duration() + o._rDelay) * o : 0; 16208 }, _animationCycle = function(o, h) { 16209 var g = Math.floor(o = _roundPrecise(o / h)); 16210 return o && g === o ? g - 1 : g; 16211 }, _parentToChildTotalTime = function(o, h) { 16212 return (o - h._start) * h._ts + (h._ts >= 0 ? 0 : h._dirty ? h.totalDuration() : h._tDur); 16213 }, _setEnd = function(o) { 16214 return o._end = _roundPrecise(o._start + (o._tDur / Math.abs(o._ts || o._rts || _tinyNum) || 0)); 16215 }, _alignPlayhead = function(o, h) { 16216 var g = o._dp; 16217 return g && g.smoothChildTiming && o._ts && (o._start = _roundPrecise(g._time - (o._ts > 0 ? h / o._ts : ((o._dirty ? o.totalDuration() : o._tDur) - h) / -o._ts)), _setEnd(o), g._dirty || _uncache(g, o)), o; 16218 }, _postAddChecks = function(o, h) { 16219 var g; 16220 if ((h._time || !h._dur && h._initted || h._start < o._time && (h._dur || !h.add)) && (g = _parentToChildTotalTime(o.rawTime(), h), (!h._dur || _clamp$1(0, h.totalDuration(), g) - h._tTime > _tinyNum) && h.render(g, true)), _uncache(o, h)._dp && o._initted && o._time >= o._dur && o._ts) { 16221 if (o._dur < o.duration()) for (g = o; g._dp; ) g.rawTime() >= 0 && g.totalTime(g._tTime), g = g._dp; 16222 o._zTime = -1e-8; 16223 } 16224 }, _addToTimeline = function(o, h, g, b) { 16225 return h.parent && _removeFromParent(h), h._start = _roundPrecise((_isNumber$1(g) ? g : g || o !== _globalTimeline ? _parsePosition$1(o, g, h) : o._time) + h._delay), h._end = _roundPrecise(h._start + (h.totalDuration() / Math.abs(h.timeScale()) || 0)), _addLinkedListItem(o, h, "_first", "_last", o._sort ? "_start" : 0), _isFromOrFromStart(h) || (o._recent = h), b || _postAddChecks(o, h), o._ts < 0 && _alignPlayhead(o, o._tTime), o; 16226 }, _scrollTrigger = function(o, h) { 16227 return (_globals.ScrollTrigger || _missingPlugin("scrollTrigger", h)) && _globals.ScrollTrigger.create(h, o); 16228 }, _attemptInitTween = function(o, h, g, b, $) { 16229 if (_initTween(o, h, $), !o._initted) return 1; 16230 if (!g && o._pt && !_reverting$1 && (o._dur && o.vars.lazy !== false || !o._dur && o.vars.lazy) && _lastRenderedFrame !== _ticker.frame) return _lazyTweens.push(o), o._lazy = [ 16231 $, 16232 b 16233 ], 1; 16234 }, _parentPlayheadIsBeforeStart = function d(o) { 16235 var h = o.parent; 16236 return h && h._ts && h._initted && !h._lock && (h.rawTime() < 0 || d(h)); 16237 }, _isFromOrFromStart = function(o) { 16238 var h = o.data; 16239 return h === "isFromStart" || h === "isStart"; 16240 }, _renderZeroDurationTween = function(o, h, g, b) { 16241 var $ = o.ratio, _e = h < 0 || !h && (!o._start && _parentPlayheadIsBeforeStart(o) && !(!o._initted && _isFromOrFromStart(o)) || (o._ts < 0 || o._dp._ts < 0) && !_isFromOrFromStart(o)) ? 0 : 1, et = o._rDelay, tt = 0, rt, nt, st; 16242 if (et && o._repeat && (tt = _clamp$1(0, o._tDur, h), nt = _animationCycle(tt, et), o._yoyo && nt & 1 && (_e = 1 - _e), nt !== _animationCycle(o._tTime, et) && ($ = 1 - _e, o.vars.repeatRefresh && o._initted && o.invalidate())), _e !== $ || _reverting$1 || b || o._zTime === _tinyNum || !h && o._zTime) { 16243 if (!o._initted && _attemptInitTween(o, h, b, g, tt)) return; 16244 for (st = o._zTime, o._zTime = h || (g ? _tinyNum : 0), g || (g = h && !st), o.ratio = _e, o._from && (_e = 1 - _e), o._time = 0, o._tTime = tt, rt = o._pt; rt; ) rt.r(_e, rt.d), rt = rt._next; 16245 h < 0 && _rewindStartAt(o, h, g, true), o._onUpdate && !g && _callback$1(o, "onUpdate"), tt && o._repeat && !g && o.parent && _callback$1(o, "onRepeat"), (h >= o._tDur || h < 0) && o.ratio === _e && (_e && _removeFromParent(o, 1), !g && !_reverting$1 && (_callback$1(o, _e ? "onComplete" : "onReverseComplete", true), o._prom && o._prom())); 16246 } else o._zTime || (o._zTime = h); 16247 }, _findNextPauseTween = function(o, h, g) { 16248 var b; 16249 if (g > h) for (b = o._first; b && b._start <= g; ) { 16250 if (b.data === "isPause" && b._start > h) return b; 16251 b = b._next; 16252 } 16253 else for (b = o._last; b && b._start >= g; ) { 16254 if (b.data === "isPause" && b._start < h) return b; 16255 b = b._prev; 16256 } 16257 }, _setDuration = function(o, h, g, b) { 16258 var $ = o._repeat, _e = _roundPrecise(h) || 0, et = o._tTime / o._tDur; 16259 return et && !b && (o._time *= _e / o._dur), o._dur = _e, o._tDur = $ ? $ < 0 ? 1e10 : _roundPrecise(_e * ($ + 1) + o._rDelay * $) : _e, et > 0 && !b && _alignPlayhead(o, o._tTime = o._tDur * et), o.parent && _setEnd(o), g || _uncache(o.parent, o), o; 16260 }, _onUpdateTotalDuration = function(o) { 16261 return o instanceof Timeline ? _uncache(o) : _setDuration(o, o._dur); 16262 }, _zeroPosition = { 16263 _start: 0, 16264 endTime: _emptyFunc$1, 16265 totalDuration: _emptyFunc$1 16266 }, _parsePosition$1 = function d(o, h, g) { 16267 var b = o.labels, $ = o._recent || _zeroPosition, _e = o.duration() >= _bigNum$2 ? $.endTime(false) : o._dur, et, tt, rt; 16268 return _isString$1(h) && (isNaN(h) || h in b) ? (tt = h.charAt(0), rt = h.substr(-1) === "%", et = h.indexOf("="), tt === "<" || tt === ">" ? (et >= 0 && (h = h.replace(/=/, "")), (tt === "<" ? $._start : $.endTime($._repeat >= 0)) + (parseFloat(h.substr(1)) || 0) * (rt ? (et < 0 ? $ : g).totalDuration() / 100 : 1)) : et < 0 ? (h in b || (b[h] = _e), b[h]) : (tt = parseFloat(h.charAt(et - 1) + h.substr(et + 1)), rt && g && (tt = tt / 100 * (_isArray$1(g) ? g[0] : g).totalDuration()), et > 1 ? d(o, h.substr(0, et - 1), g) + tt : _e + tt)) : h == null ? _e : +h; 16269 }, _createTweenType = function(o, h, g) { 16270 var b = _isNumber$1(h[1]), $ = (b ? 2 : 1) + (o < 2 ? 0 : 1), _e = h[$], et, tt; 16271 if (b && (_e.duration = h[1]), _e.parent = g, o) { 16272 for (et = _e, tt = g; tt && !("immediateRender" in et); ) et = tt.vars.defaults || {}, tt = _isNotFalse(tt.vars.inherit) && tt.parent; 16273 _e.immediateRender = _isNotFalse(et.immediateRender), o < 2 ? _e.runBackwards = 1 : _e.startAt = h[$ - 1]; 16274 } 16275 return new Tween(h[0], _e, h[$ + 1]); 16276 }, _conditionalReturn = function(o, h) { 16277 return o || o === 0 ? h(o) : h; 16278 }, _clamp$1 = function(o, h, g) { 16279 return g < o ? o : g > h ? h : g; 16280 }, getUnit = function(o, h) { 16281 return !_isString$1(o) || !(h = _unitExp.exec(o)) ? "" : h[1]; 16282 }, clamp$1 = function(o, h, g) { 16283 return _conditionalReturn(g, function(b) { 16284 return _clamp$1(o, h, b); 16285 }); 16286 }, _slice = [].slice, _isArrayLike = function(o, h) { 16287 return o && _isObject$2(o) && "length" in o && (!h && !o.length || o.length - 1 in o && _isObject$2(o[0])) && !o.nodeType && o !== _win$5; 16288 }, _flatten = function(o, h, g) { 16289 return g === void 0 && (g = []), o.forEach(function(b) { 16290 var $; 16291 return _isString$1(b) && !h || _isArrayLike(b, 1) ? ($ = g).push.apply($, toArray(b)) : g.push(b); 16292 }) || g; 16293 }, toArray = function(o, h, g) { 16294 return _context$3 && !h && _context$3.selector ? _context$3.selector(o) : _isString$1(o) && !g && (_coreInitted$3 || !_wake()) ? _slice.call((h || _doc$5).querySelectorAll(o), 0) : _isArray$1(o) ? _flatten(o, g) : _isArrayLike(o) ? _slice.call(o, 0) : o ? [ 16295 o 16296 ] : []; 16297 }, selector = function(o) { 16298 return o = toArray(o)[0] || _warn("Invalid scope") || {}, function(h) { 16299 var g = o.current || o.nativeElement || o; 16300 return toArray(h, g.querySelectorAll ? g : g === o ? _warn("Invalid scope") || _doc$5.createElement("div") : o); 16301 }; 16302 }, shuffle = function(o) { 16303 return o.sort(function() { 16304 return 0.5 - Math.random(); 16305 }); 16306 }, distribute = function(o) { 16307 if (_isFunction$2(o)) return o; 16308 var h = _isObject$2(o) ? o : { 16309 each: o 16310 }, g = _parseEase(h.ease), b = h.from || 0, $ = parseFloat(h.base) || 0, _e = {}, et = b > 0 && b < 1, tt = isNaN(b) || et, rt = h.axis, nt = b, st = b; 16311 return _isString$1(b) ? nt = st = { 16312 center: 0.5, 16313 edges: 0.5, 16314 end: 1 16315 }[b] || 0 : !et && tt && (nt = b[0], st = b[1]), function(ot, it, at) { 16316 var lt = (at || h).length, ct = _e[lt], ut, ft, dt, pt, ht, mt, gt, yt, xt; 16317 if (!ct) { 16318 if (xt = h.grid === "auto" ? 0 : (h.grid || [ 16319 1, 16320 _bigNum$2 16321 ])[1], !xt) { 16322 for (gt = -1e8; gt < (gt = at[xt++].getBoundingClientRect().left) && xt < lt; ) ; 16323 xt < lt && xt--; 16324 } 16325 for (ct = _e[lt] = [], ut = tt ? Math.min(xt, lt) * nt - 0.5 : b % xt, ft = xt === _bigNum$2 ? 0 : tt ? lt * st / xt - 0.5 : b / xt | 0, gt = 0, yt = _bigNum$2, mt = 0; mt < lt; mt++) dt = mt % xt - ut, pt = ft - (mt / xt | 0), ct[mt] = ht = rt ? Math.abs(rt === "y" ? pt : dt) : _sqrt(dt * dt + pt * pt), ht > gt && (gt = ht), ht < yt && (yt = ht); 16326 b === "random" && shuffle(ct), ct.max = gt - yt, ct.min = yt, ct.v = lt = (parseFloat(h.amount) || parseFloat(h.each) * (xt > lt ? lt - 1 : rt ? rt === "y" ? lt / xt : xt : Math.max(xt, lt / xt)) || 0) * (b === "edges" ? -1 : 1), ct.b = lt < 0 ? $ - lt : $, ct.u = getUnit(h.amount || h.each) || 0, g = g && lt < 0 ? _invertEase(g) : g; 16327 } 16328 return lt = (ct[ot] - ct.min) / ct.max || 0, _roundPrecise(ct.b + (g ? g(lt) : lt) * ct.v) + ct.u; 16329 }; 16330 }, _roundModifier = function(o) { 16331 var h = Math.pow(10, ((o + "").split(".")[1] || "").length); 16332 return function(g) { 16333 var b = _roundPrecise(Math.round(parseFloat(g) / o) * o * h); 16334 return (b - b % 1) / h + (_isNumber$1(g) ? 0 : getUnit(g)); 16335 }; 16336 }, snap = function(o, h) { 16337 var g = _isArray$1(o), b, $; 16338 return !g && _isObject$2(o) && (b = g = o.radius || _bigNum$2, o.values ? (o = toArray(o.values), ($ = !_isNumber$1(o[0])) && (b *= b)) : o = _roundModifier(o.increment)), _conditionalReturn(h, g ? _isFunction$2(o) ? function(_e) { 16339 return $ = o(_e), Math.abs($ - _e) <= b ? $ : _e; 16340 } : function(_e) { 16341 for (var et = parseFloat($ ? _e.x : _e), tt = parseFloat($ ? _e.y : 0), rt = _bigNum$2, nt = 0, st = o.length, ot, it; st--; ) $ ? (ot = o[st].x - et, it = o[st].y - tt, ot = ot * ot + it * it) : ot = Math.abs(o[st] - et), ot < rt && (rt = ot, nt = st); 16342 return nt = !b || rt <= b ? o[nt] : _e, $ || nt === _e || _isNumber$1(_e) ? nt : nt + getUnit(_e); 16343 } : _roundModifier(o)); 16344 }, random = function(o, h, g, b) { 16345 return _conditionalReturn(_isArray$1(o) ? !h : g === true ? !!(g = 0) : !b, function() { 16346 return _isArray$1(o) ? o[~~(Math.random() * o.length)] : (g = g || 1e-5) && (b = g < 1 ? Math.pow(10, (g + "").length - 2) : 1) && Math.floor(Math.round((o - g / 2 + Math.random() * (h - o + g * 0.99)) / g) * g * b) / b; 16347 }); 16348 }, pipe$1 = function() { 16349 for (var o = arguments.length, h = new Array(o), g = 0; g < o; g++) h[g] = arguments[g]; 16350 return function(b) { 16351 return h.reduce(function($, _e) { 16352 return _e($); 16353 }, b); 16354 }; 16355 }, unitize = function(o, h) { 16356 return function(g) { 16357 return o(parseFloat(g)) + (h || getUnit(g)); 16358 }; 16359 }, normalize = function(o, h, g) { 16360 return mapRange(o, h, 0, 1, g); 16361 }, _wrapArray = function(o, h, g) { 16362 return _conditionalReturn(g, function(b) { 16363 return o[~~h(b)]; 16364 }); 16365 }, wrap = function d(o, h, g) { 16366 var b = h - o; 16367 return _isArray$1(o) ? _wrapArray(o, d(0, o.length), h) : _conditionalReturn(g, function($) { 16368 return (b + ($ - o) % b) % b + o; 16369 }); 16370 }, wrapYoyo = function d(o, h, g) { 16371 var b = h - o, $ = b * 2; 16372 return _isArray$1(o) ? _wrapArray(o, d(0, o.length - 1), h) : _conditionalReturn(g, function(_e) { 16373 return _e = ($ + (_e - o) % $) % $ || 0, o + (_e > b ? $ - _e : _e); 16374 }); 16375 }, _replaceRandom = function(o) { 16376 for (var h = 0, g = "", b, $, _e, et; ~(b = o.indexOf("random(", h)); ) _e = o.indexOf(")", b), et = o.charAt(b + 7) === "[", $ = o.substr(b + 7, _e - b - 7).match(et ? _delimitedValueExp : _strictNumExp), g += o.substr(h, b - h) + random(et ? $ : +$[0], et ? 0 : +$[1], +$[2] || 1e-5), h = _e + 1; 16377 return g + o.substr(h, o.length - h); 16378 }, mapRange = function(o, h, g, b, $) { 16379 var _e = h - o, et = b - g; 16380 return _conditionalReturn($, function(tt) { 16381 return g + ((tt - o) / _e * et || 0); 16382 }); 16383 }, interpolate$1 = function d(o, h, g, b) { 16384 var $ = isNaN(o + h) ? 0 : function(it) { 16385 return (1 - it) * o + it * h; 16386 }; 16387 if (!$) { 16388 var _e = _isString$1(o), et = {}, tt, rt, nt, st, ot; 16389 if (g === true && (b = 1) && (g = null), _e) o = { 16390 p: o 16391 }, h = { 16392 p: h 16393 }; 16394 else if (_isArray$1(o) && !_isArray$1(h)) { 16395 for (nt = [], st = o.length, ot = st - 2, rt = 1; rt < st; rt++) nt.push(d(o[rt - 1], o[rt])); 16396 st--, $ = function(at) { 16397 at *= st; 16398 var lt = Math.min(ot, ~~at); 16399 return nt[lt](at - lt); 16400 }, g = h; 16401 } else b || (o = _merge(_isArray$1(o) ? [] : {}, o)); 16402 if (!nt) { 16403 for (tt in h) _addPropTween.call(et, o, tt, "get", h[tt]); 16404 $ = function(at) { 16405 return _renderPropTweens(at, et) || (_e ? o.p : o); 16406 }; 16407 } 16408 } 16409 return _conditionalReturn(g, $); 16410 }, _getLabelInDirection = function(o, h, g) { 16411 var b = o.labels, $ = _bigNum$2, _e, et, tt; 16412 for (_e in b) et = b[_e] - h, et < 0 == !!g && et && $ > (et = Math.abs(et)) && (tt = _e, $ = et); 16413 return tt; 16414 }, _callback$1 = function(o, h, g) { 16415 var b = o.vars, $ = b[h], _e = _context$3, et = o._ctx, tt, rt, nt; 16416 if ($) return tt = b[h + "Params"], rt = b.callbackScope || o, g && _lazyTweens.length && _lazyRender(), et && (_context$3 = et), nt = tt ? $.apply(rt, tt) : $.call(rt), _context$3 = _e, nt; 16417 }, _interrupt = function(o) { 16418 return _removeFromParent(o), o.scrollTrigger && o.scrollTrigger.kill(!!_reverting$1), o.progress() < 1 && _callback$1(o, "onInterrupt"), o; 16419 }, _quickTween, _registerPluginQueue = [], _createPlugin = function(o) { 16420 if (o) if (o = !o.name && o.default || o, _windowExists$3() || o.headless) { 16421 var h = o.name, g = _isFunction$2(o), b = h && !g && o.init ? function() { 16422 this._props = []; 16423 } : o, $ = { 16424 init: _emptyFunc$1, 16425 render: _renderPropTweens, 16426 add: _addPropTween, 16427 kill: _killPropTweensOf, 16428 modifier: _addPluginModifier, 16429 rawVars: 0 16430 }, _e = { 16431 targetTest: 0, 16432 get: 0, 16433 getSetter: _getSetter, 16434 aliases: {}, 16435 register: 0 16436 }; 16437 if (_wake(), o !== b) { 16438 if (_plugins[h]) return; 16439 _setDefaults$2(b, _setDefaults$2(_copyExcluding(o, $), _e)), _merge(b.prototype, _merge($, _copyExcluding(o, _e))), _plugins[b.prop = h] = b, o.targetTest && (_harnessPlugins.push(b), _reservedProps[h] = 1), h = (h === "css" ? "CSS" : h.charAt(0).toUpperCase() + h.substr(1)) + "Plugin"; 16440 } 16441 _addGlobal(h, b), o.register && o.register(gsap$3, b, PropTween); 16442 } else _registerPluginQueue.push(o); 16443 }, _255 = 255, _colorLookup = { 16444 aqua: [ 16445 0, 16446 _255, 16447 _255 16448 ], 16449 lime: [ 16450 0, 16451 _255, 16452 0 16453 ], 16454 silver: [ 16455 192, 16456 192, 16457 192 16458 ], 16459 black: [ 16460 0, 16461 0, 16462 0 16463 ], 16464 maroon: [ 16465 128, 16466 0, 16467 0 16468 ], 16469 teal: [ 16470 0, 16471 128, 16472 128 16473 ], 16474 blue: [ 16475 0, 16476 0, 16477 _255 16478 ], 16479 navy: [ 16480 0, 16481 0, 16482 128 16483 ], 16484 white: [ 16485 _255, 16486 _255, 16487 _255 16488 ], 16489 olive: [ 16490 128, 16491 128, 16492 0 16493 ], 16494 yellow: [ 16495 _255, 16496 _255, 16497 0 16498 ], 16499 orange: [ 16500 _255, 16501 165, 16502 0 16503 ], 16504 gray: [ 16505 128, 16506 128, 16507 128 16508 ], 16509 purple: [ 16510 128, 16511 0, 16512 128 16513 ], 16514 green: [ 16515 0, 16516 128, 16517 0 16518 ], 16519 red: [ 16520 _255, 16521 0, 16522 0 16523 ], 16524 pink: [ 16525 _255, 16526 192, 16527 203 16528 ], 16529 cyan: [ 16530 0, 16531 _255, 16532 _255 16533 ], 16534 transparent: [ 16535 _255, 16536 _255, 16537 _255, 16538 0 16539 ] 16540 }, _hue = function(o, h, g) { 16541 return o += o < 0 ? 1 : o > 1 ? -1 : 0, (o * 6 < 1 ? h + (g - h) * o * 6 : o < 0.5 ? g : o * 3 < 2 ? h + (g - h) * (2 / 3 - o) * 6 : h) * _255 + 0.5 | 0; 16542 }, splitColor$1 = function(o, h, g) { 16543 var b = o ? _isNumber$1(o) ? [ 16544 o >> 16, 16545 o >> 8 & _255, 16546 o & _255 16547 ] : 0 : _colorLookup.black, $, _e, et, tt, rt, nt, st, ot, it, at; 16548 if (!b) { 16549 if (o.substr(-1) === "," && (o = o.substr(0, o.length - 1)), _colorLookup[o]) b = _colorLookup[o]; 16550 else if (o.charAt(0) === "#") { 16551 if (o.length < 6 && ($ = o.charAt(1), _e = o.charAt(2), et = o.charAt(3), o = "#" + $ + $ + _e + _e + et + et + (o.length === 5 ? o.charAt(4) + o.charAt(4) : "")), o.length === 9) return b = parseInt(o.substr(1, 6), 16), [ 16552 b >> 16, 16553 b >> 8 & _255, 16554 b & _255, 16555 parseInt(o.substr(7), 16) / 255 16556 ]; 16557 o = parseInt(o.substr(1), 16), b = [ 16558 o >> 16, 16559 o >> 8 & _255, 16560 o & _255 16561 ]; 16562 } else if (o.substr(0, 3) === "hsl") { 16563 if (b = at = o.match(_strictNumExp), !h) tt = +b[0] % 360 / 360, rt = +b[1] / 100, nt = +b[2] / 100, _e = nt <= 0.5 ? nt * (rt + 1) : nt + rt - nt * rt, $ = nt * 2 - _e, b.length > 3 && (b[3] *= 1), b[0] = _hue(tt + 1 / 3, $, _e), b[1] = _hue(tt, $, _e), b[2] = _hue(tt - 1 / 3, $, _e); 16564 else if (~o.indexOf("=")) return b = o.match(_numExp), g && b.length < 4 && (b[3] = 1), b; 16565 } else b = o.match(_strictNumExp) || _colorLookup.transparent; 16566 b = b.map(Number); 16567 } 16568 return h && !at && ($ = b[0] / _255, _e = b[1] / _255, et = b[2] / _255, st = Math.max($, _e, et), ot = Math.min($, _e, et), nt = (st + ot) / 2, st === ot ? tt = rt = 0 : (it = st - ot, rt = nt > 0.5 ? it / (2 - st - ot) : it / (st + ot), tt = st === $ ? (_e - et) / it + (_e < et ? 6 : 0) : st === _e ? (et - $) / it + 2 : ($ - _e) / it + 4, tt *= 60), b[0] = ~~(tt + 0.5), b[1] = ~~(rt * 100 + 0.5), b[2] = ~~(nt * 100 + 0.5)), g && b.length < 4 && (b[3] = 1), b; 16569 }, _colorOrderData = function(o) { 16570 var h = [], g = [], b = -1; 16571 return o.split(_colorExp).forEach(function($) { 16572 var _e = $.match(_numWithUnitExp) || []; 16573 h.push.apply(h, _e), g.push(b += _e.length + 1); 16574 }), h.c = g, h; 16575 }, _formatColors = function(o, h, g) { 16576 var b = "", $ = (o + b).match(_colorExp), _e = h ? "hsla(" : "rgba(", et = 0, tt, rt, nt, st; 16577 if (!$) return o; 16578 if ($ = $.map(function(ot) { 16579 return (ot = splitColor$1(ot, h, 1)) && _e + (h ? ot[0] + "," + ot[1] + "%," + ot[2] + "%," + ot[3] : ot.join(",")) + ")"; 16580 }), g && (nt = _colorOrderData(o), tt = g.c, tt.join(b) !== nt.c.join(b))) for (rt = o.replace(_colorExp, "1").split(_numWithUnitExp), st = rt.length - 1; et < st; et++) b += rt[et] + (~tt.indexOf(et) ? $.shift() || _e + "0,0,0,0)" : (nt.length ? nt : $.length ? $ : g).shift()); 16581 if (!rt) for (rt = o.split(_colorExp), st = rt.length - 1; et < st; et++) b += rt[et] + $[et]; 16582 return b + rt[st]; 16583 }, _colorExp = function() { 16584 var d = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b", o; 16585 for (o in _colorLookup) d += "|" + o + "\\b"; 16586 return new RegExp(d + ")", "gi"); 16587 }(), _hslExp = /hsl[a]?\(/, _colorStringFilter = function(o) { 16588 var h = o.join(" "), g; 16589 if (_colorExp.lastIndex = 0, _colorExp.test(h)) return g = _hslExp.test(h), o[1] = _formatColors(o[1], g), o[0] = _formatColors(o[0], g, _colorOrderData(o[1])), true; 16590 }, _tickerActive, _ticker = function() { 16591 var d = Date.now, o = 500, h = 33, g = d(), b = g, $ = 1e3 / 240, _e = $, et = [], tt, rt, nt, st, ot, it, at = function lt(ct) { 16592 var ut = d() - b, ft = ct === true, dt, pt, ht, mt; 16593 if ((ut > o || ut < 0) && (g += ut - h), b += ut, ht = b - g, dt = ht - _e, (dt > 0 || ft) && (mt = ++st.frame, ot = ht - st.time * 1e3, st.time = ht = ht / 1e3, _e += dt + (dt >= $ ? 4 : $ - dt), pt = 1), ft || (tt = rt(lt)), pt) for (it = 0; it < et.length; it++) et[it](ht, ot, mt, ct); 16594 }; 16595 return st = { 16596 time: 0, 16597 frame: 0, 16598 tick: function() { 16599 at(true); 16600 }, 16601 deltaRatio: function(ct) { 16602 return ot / (1e3 / (ct || 60)); 16603 }, 16604 wake: function() { 16605 _coreReady && (!_coreInitted$3 && _windowExists$3() && (_win$5 = _coreInitted$3 = window, _doc$5 = _win$5.document || {}, _globals.gsap = gsap$3, (_win$5.gsapVersions || (_win$5.gsapVersions = [])).push(gsap$3.version), _install(_installScope || _win$5.GreenSockGlobals || !_win$5.gsap && _win$5 || {}), _registerPluginQueue.forEach(_createPlugin)), nt = typeof requestAnimationFrame < "u" && requestAnimationFrame, tt && st.sleep(), rt = nt || function(ct) { 16606 return setTimeout(ct, _e - st.time * 1e3 + 1 | 0); 16607 }, _tickerActive = 1, at(2)); 16608 }, 16609 sleep: function() { 16610 (nt ? cancelAnimationFrame : clearTimeout)(tt), _tickerActive = 0, rt = _emptyFunc$1; 16611 }, 16612 lagSmoothing: function(ct, ut) { 16613 o = ct || 1 / 0, h = Math.min(ut || 33, o); 16614 }, 16615 fps: function(ct) { 16616 $ = 1e3 / (ct || 240), _e = st.time * 1e3 + $; 16617 }, 16618 add: function(ct, ut, ft) { 16619 var dt = ut ? function(pt, ht, mt, gt) { 16620 ct(pt, ht, mt, gt), st.remove(dt); 16621 } : ct; 16622 return st.remove(ct), et[ft ? "unshift" : "push"](dt), _wake(), dt; 16623 }, 16624 remove: function(ct, ut) { 16625 ~(ut = et.indexOf(ct)) && et.splice(ut, 1) && it >= ut && it--; 16626 }, 16627 _listeners: et 16628 }, st; 16629 }(), _wake = function() { 16630 return !_tickerActive && _ticker.wake(); 16631 }, _easeMap = {}, _customEaseExp = /^[\d.\-M][\d.\-,\s]/, _quotesExp = /["']/g, _parseObjectInString = function(o) { 16632 for (var h = {}, g = o.substr(1, o.length - 3).split(":"), b = g[0], $ = 1, _e = g.length, et, tt, rt; $ < _e; $++) tt = g[$], et = $ !== _e - 1 ? tt.lastIndexOf(",") : tt.length, rt = tt.substr(0, et), h[b] = isNaN(rt) ? rt.replace(_quotesExp, "").trim() : +rt, b = tt.substr(et + 1).trim(); 16633 return h; 16634 }, _valueInParentheses = function(o) { 16635 var h = o.indexOf("(") + 1, g = o.indexOf(")"), b = o.indexOf("(", h); 16636 return o.substring(h, ~b && b < g ? o.indexOf(")", g + 1) : g); 16637 }, _configEaseFromString = function(o) { 16638 var h = (o + "").split("("), g = _easeMap[h[0]]; 16639 return g && h.length > 1 && g.config ? g.config.apply(null, ~o.indexOf("{") ? [ 16640 _parseObjectInString(h[1]) 16641 ] : _valueInParentheses(o).split(",").map(_numericIfPossible)) : _easeMap._CE && _customEaseExp.test(o) ? _easeMap._CE("", o) : g; 16642 }, _invertEase = function(o) { 16643 return function(h) { 16644 return 1 - o(1 - h); 16645 }; 16646 }, _propagateYoyoEase = function d(o, h) { 16647 for (var g = o._first, b; g; ) g instanceof Timeline ? d(g, h) : g.vars.yoyoEase && (!g._yoyo || !g._repeat) && g._yoyo !== h && (g.timeline ? d(g.timeline, h) : (b = g._ease, g._ease = g._yEase, g._yEase = b, g._yoyo = h)), g = g._next; 16648 }, _parseEase = function(o, h) { 16649 return o && (_isFunction$2(o) ? o : _easeMap[o] || _configEaseFromString(o)) || h; 16650 }, _insertEase = function(o, h, g, b) { 16651 g === void 0 && (g = function(tt) { 16652 return 1 - h(1 - tt); 16653 }), b === void 0 && (b = function(tt) { 16654 return tt < 0.5 ? h(tt * 2) / 2 : 1 - h((1 - tt) * 2) / 2; 16655 }); 16656 var $ = { 16657 easeIn: h, 16658 easeOut: g, 16659 easeInOut: b 16660 }, _e; 16661 return _forEachName(o, function(et) { 16662 _easeMap[et] = _globals[et] = $, _easeMap[_e = et.toLowerCase()] = g; 16663 for (var tt in $) _easeMap[_e + (tt === "easeIn" ? ".in" : tt === "easeOut" ? ".out" : ".inOut")] = _easeMap[et + "." + tt] = $[tt]; 16664 }), $; 16665 }, _easeInOutFromOut = function(o) { 16666 return function(h) { 16667 return h < 0.5 ? (1 - o(1 - h * 2)) / 2 : 0.5 + o((h - 0.5) * 2) / 2; 16668 }; 16669 }, _configElastic = function d(o, h, g) { 16670 var b = h >= 1 ? h : 1, $ = (g || (o ? 0.3 : 0.45)) / (h < 1 ? h : 1), _e = $ / _2PI * (Math.asin(1 / b) || 0), et = function(nt) { 16671 return nt === 1 ? 1 : b * Math.pow(2, -10 * nt) * _sin((nt - _e) * $) + 1; 16672 }, tt = o === "out" ? et : o === "in" ? function(rt) { 16673 return 1 - et(1 - rt); 16674 } : _easeInOutFromOut(et); 16675 return $ = _2PI / $, tt.config = function(rt, nt) { 16676 return d(o, rt, nt); 16677 }, tt; 16678 }, _configBack = function d(o, h) { 16679 h === void 0 && (h = 1.70158); 16680 var g = function(_e) { 16681 return _e ? --_e * _e * ((h + 1) * _e + h) + 1 : 0; 16682 }, b = o === "out" ? g : o === "in" ? function($) { 16683 return 1 - g(1 - $); 16684 } : _easeInOutFromOut(g); 16685 return b.config = function($) { 16686 return d(o, $); 16687 }, b; 16688 }; 16689 _forEachName("Linear,Quad,Cubic,Quart,Quint,Strong", function(d, o) { 16690 var h = o < 5 ? o + 1 : o; 16691 _insertEase(d + ",Power" + (h - 1), o ? function(g) { 16692 return Math.pow(g, h); 16693 } : function(g) { 16694 return g; 16695 }, function(g) { 16696 return 1 - Math.pow(1 - g, h); 16697 }, function(g) { 16698 return g < 0.5 ? Math.pow(g * 2, h) / 2 : 1 - Math.pow((1 - g) * 2, h) / 2; 16699 }); 16700 }); 16701 _easeMap.Linear.easeNone = _easeMap.none = _easeMap.Linear.easeIn; 16702 _insertEase("Elastic", _configElastic("in"), _configElastic("out"), _configElastic()); 16703 (function(d, o) { 16704 var h = 1 / o, g = 2 * h, b = 2.5 * h, $ = function(et) { 16705 return et < h ? d * et * et : et < g ? d * Math.pow(et - 1.5 / o, 2) + 0.75 : et < b ? d * (et -= 2.25 / o) * et + 0.9375 : d * Math.pow(et - 2.625 / o, 2) + 0.984375; 16706 }; 16707 _insertEase("Bounce", function(_e) { 16708 return 1 - $(1 - _e); 16709 }, $); 16710 })(7.5625, 2.75); 16711 _insertEase("Expo", function(d) { 16712 return Math.pow(2, 10 * (d - 1)) * d + d * d * d * d * d * d * (1 - d); 16713 }); 16714 _insertEase("Circ", function(d) { 16715 return -(_sqrt(1 - d * d) - 1); 16716 }); 16717 _insertEase("Sine", function(d) { 16718 return d === 1 ? 1 : -_cos(d * _HALF_PI) + 1; 16719 }); 16720 _insertEase("Back", _configBack("in"), _configBack("out"), _configBack()); 16721 _easeMap.SteppedEase = _easeMap.steps = _globals.SteppedEase = { 16722 config: function(o, h) { 16723 o === void 0 && (o = 1); 16724 var g = 1 / o, b = o + (h ? 0 : 1), $ = h ? 1 : 0, _e = 1 - _tinyNum; 16725 return function(et) { 16726 return ((b * _clamp$1(0, _e, et) | 0) + $) * g; 16727 }; 16728 } 16729 }; 16730 _defaults$1.ease = _easeMap["quad.out"]; 16731 _forEachName("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(d) { 16732 return _callbackNames += d + "," + d + "Params,"; 16733 }); 16734 var GSCache = function(o, h) { 16735 this.id = _gsID++, o._gsap = this, this.target = o, this.harness = h, this.get = h ? h.get : _getProperty, this.set = h ? h.getSetter : _getSetter; 16736 }, Animation = function() { 16737 function d(h) { 16738 this.vars = h, this._delay = +h.delay || 0, (this._repeat = h.repeat === 1 / 0 ? -2 : h.repeat || 0) && (this._rDelay = h.repeatDelay || 0, this._yoyo = !!h.yoyo || !!h.yoyoEase), this._ts = 1, _setDuration(this, +h.duration, 1, 1), this.data = h.data, _context$3 && (this._ctx = _context$3, _context$3.data.push(this)), _tickerActive || _ticker.wake(); 16739 } 16740 var o = d.prototype; 16741 return o.delay = function(g) { 16742 return g || g === 0 ? (this.parent && this.parent.smoothChildTiming && this.startTime(this._start + g - this._delay), this._delay = g, this) : this._delay; 16743 }, o.duration = function(g) { 16744 return arguments.length ? this.totalDuration(this._repeat > 0 ? g + (g + this._rDelay) * this._repeat : g) : this.totalDuration() && this._dur; 16745 }, o.totalDuration = function(g) { 16746 return arguments.length ? (this._dirty = 0, _setDuration(this, this._repeat < 0 ? g : (g - this._repeat * this._rDelay) / (this._repeat + 1))) : this._tDur; 16747 }, o.totalTime = function(g, b) { 16748 if (_wake(), !arguments.length) return this._tTime; 16749 var $ = this._dp; 16750 if ($ && $.smoothChildTiming && this._ts) { 16751 for (_alignPlayhead(this, g), !$._dp || $.parent || _postAddChecks($, this); $ && $.parent; ) $.parent._time !== $._start + ($._ts >= 0 ? $._tTime / $._ts : ($.totalDuration() - $._tTime) / -$._ts) && $.totalTime($._tTime, true), $ = $.parent; 16752 !this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && g < this._tDur || this._ts < 0 && g > 0 || !this._tDur && !g) && _addToTimeline(this._dp, this, this._start - this._delay); 16753 } 16754 return (this._tTime !== g || !this._dur && !b || this._initted && Math.abs(this._zTime) === _tinyNum || !g && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = g), _lazySafeRender(this, g, b)), this; 16755 }, o.time = function(g, b) { 16756 return arguments.length ? this.totalTime(Math.min(this.totalDuration(), g + _elapsedCycleDuration(this)) % (this._dur + this._rDelay) || (g ? this._dur : 0), b) : this._time; 16757 }, o.totalProgress = function(g, b) { 16758 return arguments.length ? this.totalTime(this.totalDuration() * g, b) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() >= 0 && this._initted ? 1 : 0; 16759 }, o.progress = function(g, b) { 16760 return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - g : g) + _elapsedCycleDuration(this), b) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0; 16761 }, o.iteration = function(g, b) { 16762 var $ = this.duration() + this._rDelay; 16763 return arguments.length ? this.totalTime(this._time + (g - 1) * $, b) : this._repeat ? _animationCycle(this._tTime, $) + 1 : 1; 16764 }, o.timeScale = function(g, b) { 16765 if (!arguments.length) return this._rts === -1e-8 ? 0 : this._rts; 16766 if (this._rts === g) return this; 16767 var $ = this.parent && this._ts ? _parentToChildTotalTime(this.parent._time, this) : this._tTime; 16768 return this._rts = +g || 0, this._ts = this._ps || g === -1e-8 ? 0 : this._rts, this.totalTime(_clamp$1(-Math.abs(this._delay), this.totalDuration(), $), b !== false), _setEnd(this), _recacheAncestors(this); 16769 }, o.paused = function(g) { 16770 return arguments.length ? (this._ps !== g && (this._ps = g, g ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (_wake(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== _tinyNum && (this._tTime -= _tinyNum)))), this) : this._ps; 16771 }, o.startTime = function(g) { 16772 if (arguments.length) { 16773 this._start = g; 16774 var b = this.parent || this._dp; 16775 return b && (b._sort || !this.parent) && _addToTimeline(b, this, g - this._delay), this; 16776 } 16777 return this._start; 16778 }, o.endTime = function(g) { 16779 return this._start + (_isNotFalse(g) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1); 16780 }, o.rawTime = function(g) { 16781 var b = this.parent || this._dp; 16782 return b ? g && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? _parentToChildTotalTime(b.rawTime(g), this) : this._tTime : this._tTime; 16783 }, o.revert = function(g) { 16784 g === void 0 && (g = _revertConfig); 16785 var b = _reverting$1; 16786 return _reverting$1 = g, _isRevertWorthy(this) && (this.timeline && this.timeline.revert(g), this.totalTime(-0.01, g.suppressEvents)), this.data !== "nested" && g.kill !== false && this.kill(), _reverting$1 = b, this; 16787 }, o.globalTime = function(g) { 16788 for (var b = this, $ = arguments.length ? g : b.rawTime(); b; ) $ = b._start + $ / (Math.abs(b._ts) || 1), b = b._dp; 16789 return !this.parent && this._sat ? this._sat.globalTime(g) : $; 16790 }, o.repeat = function(g) { 16791 return arguments.length ? (this._repeat = g === 1 / 0 ? -2 : g, _onUpdateTotalDuration(this)) : this._repeat === -2 ? 1 / 0 : this._repeat; 16792 }, o.repeatDelay = function(g) { 16793 if (arguments.length) { 16794 var b = this._time; 16795 return this._rDelay = g, _onUpdateTotalDuration(this), b ? this.time(b) : this; 16796 } 16797 return this._rDelay; 16798 }, o.yoyo = function(g) { 16799 return arguments.length ? (this._yoyo = g, this) : this._yoyo; 16800 }, o.seek = function(g, b) { 16801 return this.totalTime(_parsePosition$1(this, g), _isNotFalse(b)); 16802 }, o.restart = function(g, b) { 16803 return this.play().totalTime(g ? -this._delay : 0, _isNotFalse(b)), this._dur || (this._zTime = -1e-8), this; 16804 }, o.play = function(g, b) { 16805 return g != null && this.seek(g, b), this.reversed(false).paused(false); 16806 }, o.reverse = function(g, b) { 16807 return g != null && this.seek(g || this.totalDuration(), b), this.reversed(true).paused(false); 16808 }, o.pause = function(g, b) { 16809 return g != null && this.seek(g, b), this.paused(true); 16810 }, o.resume = function() { 16811 return this.paused(false); 16812 }, o.reversed = function(g) { 16813 return arguments.length ? (!!g !== this.reversed() && this.timeScale(-this._rts || (g ? -1e-8 : 0)), this) : this._rts < 0; 16814 }, o.invalidate = function() { 16815 return this._initted = this._act = 0, this._zTime = -1e-8, this; 16816 }, o.isActive = function() { 16817 var g = this.parent || this._dp, b = this._start, $; 16818 return !!(!g || this._ts && this._initted && g.isActive() && ($ = g.rawTime(true)) >= b && $ < this.endTime(true) - _tinyNum); 16819 }, o.eventCallback = function(g, b, $) { 16820 var _e = this.vars; 16821 return arguments.length > 1 ? (b ? (_e[g] = b, $ && (_e[g + "Params"] = $), g === "onUpdate" && (this._onUpdate = b)) : delete _e[g], this) : _e[g]; 16822 }, o.then = function(g) { 16823 var b = this; 16824 return new Promise(function($) { 16825 var _e = _isFunction$2(g) ? g : _passThrough$1, et = function() { 16826 var rt = b.then; 16827 b.then = null, _isFunction$2(_e) && (_e = _e(b)) && (_e.then || _e === b) && (b.then = rt), $(_e), b.then = rt; 16828 }; 16829 b._initted && b.totalProgress() === 1 && b._ts >= 0 || !b._tTime && b._ts < 0 ? et() : b._prom = et; 16830 }); 16831 }, o.kill = function() { 16832 _interrupt(this); 16833 }, d; 16834 }(); 16835 _setDefaults$2(Animation.prototype, { 16836 _time: 0, 16837 _start: 0, 16838 _end: 0, 16839 _tTime: 0, 16840 _tDur: 0, 16841 _dirty: 0, 16842 _repeat: 0, 16843 _yoyo: false, 16844 parent: null, 16845 _initted: false, 16846 _rDelay: 0, 16847 _ts: 1, 16848 _dp: 0, 16849 ratio: 0, 16850 _zTime: -1e-8, 16851 _prom: 0, 16852 _ps: false, 16853 _rts: 1 16854 }); 16855 var Timeline = function(d) { 16856 _inheritsLoose$1(o, d); 16857 function o(g, b) { 16858 var $; 16859 return g === void 0 && (g = {}), $ = d.call(this, g) || this, $.labels = {}, $.smoothChildTiming = !!g.smoothChildTiming, $.autoRemoveChildren = !!g.autoRemoveChildren, $._sort = _isNotFalse(g.sortChildren), _globalTimeline && _addToTimeline(g.parent || _globalTimeline, _assertThisInitialized$1($), b), g.reversed && $.reverse(), g.paused && $.paused(true), g.scrollTrigger && _scrollTrigger(_assertThisInitialized$1($), g.scrollTrigger), $; 16860 } 16861 var h = o.prototype; 16862 return h.to = function(b, $, _e) { 16863 return _createTweenType(0, arguments, this), this; 16864 }, h.from = function(b, $, _e) { 16865 return _createTweenType(1, arguments, this), this; 16866 }, h.fromTo = function(b, $, _e, et) { 16867 return _createTweenType(2, arguments, this), this; 16868 }, h.set = function(b, $, _e) { 16869 return $.duration = 0, $.parent = this, _inheritDefaults($).repeatDelay || ($.repeat = 0), $.immediateRender = !!$.immediateRender, new Tween(b, $, _parsePosition$1(this, _e), 1), this; 16870 }, h.call = function(b, $, _e) { 16871 return _addToTimeline(this, Tween.delayedCall(0, b, $), _e); 16872 }, h.staggerTo = function(b, $, _e, et, tt, rt, nt) { 16873 return _e.duration = $, _e.stagger = _e.stagger || et, _e.onComplete = rt, _e.onCompleteParams = nt, _e.parent = this, new Tween(b, _e, _parsePosition$1(this, tt)), this; 16874 }, h.staggerFrom = function(b, $, _e, et, tt, rt, nt) { 16875 return _e.runBackwards = 1, _inheritDefaults(_e).immediateRender = _isNotFalse(_e.immediateRender), this.staggerTo(b, $, _e, et, tt, rt, nt); 16876 }, h.staggerFromTo = function(b, $, _e, et, tt, rt, nt, st) { 16877 return et.startAt = _e, _inheritDefaults(et).immediateRender = _isNotFalse(et.immediateRender), this.staggerTo(b, $, et, tt, rt, nt, st); 16878 }, h.render = function(b, $, _e) { 16879 var et = this._time, tt = this._dirty ? this.totalDuration() : this._tDur, rt = this._dur, nt = b <= 0 ? 0 : _roundPrecise(b), st = this._zTime < 0 != b < 0 && (this._initted || !rt), ot, it, at, lt, ct, ut, ft, dt, pt, ht, mt, gt; 16880 if (this !== _globalTimeline && nt > tt && b >= 0 && (nt = tt), nt !== this._tTime || _e || st) { 16881 if (et !== this._time && rt && (nt += this._time - et, b += this._time - et), ot = nt, pt = this._start, dt = this._ts, ut = !dt, st && (rt || (et = this._zTime), (b || !$) && (this._zTime = b)), this._repeat) { 16882 if (mt = this._yoyo, ct = rt + this._rDelay, this._repeat < -1 && b < 0) return this.totalTime(ct * 100 + b, $, _e); 16883 if (ot = _roundPrecise(nt % ct), nt === tt ? (lt = this._repeat, ot = rt) : (ht = _roundPrecise(nt / ct), lt = ~~ht, lt && lt === ht && (ot = rt, lt--), ot > rt && (ot = rt)), ht = _animationCycle(this._tTime, ct), !et && this._tTime && ht !== lt && this._tTime - ht * ct - this._dur <= 0 && (ht = lt), mt && lt & 1 && (ot = rt - ot, gt = 1), lt !== ht && !this._lock) { 16884 var yt = mt && ht & 1, xt = yt === (mt && lt & 1); 16885 if (lt < ht && (yt = !yt), et = yt ? 0 : nt % rt ? rt : nt, this._lock = 1, this.render(et || (gt ? 0 : _roundPrecise(lt * ct)), $, !rt)._lock = 0, this._tTime = nt, !$ && this.parent && _callback$1(this, "onRepeat"), this.vars.repeatRefresh && !gt && (this.invalidate()._lock = 1), et && et !== this._time || ut !== !this._ts || this.vars.onRepeat && !this.parent && !this._act) return this; 16886 if (rt = this._dur, tt = this._tDur, xt && (this._lock = 2, et = yt ? rt : -1e-4, this.render(et, true), this.vars.repeatRefresh && !gt && this.invalidate()), this._lock = 0, !this._ts && !ut) return this; 16887 _propagateYoyoEase(this, gt); 16888 } 16889 } 16890 if (this._hasPause && !this._forcing && this._lock < 2 && (ft = _findNextPauseTween(this, _roundPrecise(et), _roundPrecise(ot)), ft && (nt -= ot - (ot = ft._start))), this._tTime = nt, this._time = ot, this._act = !dt, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = b, et = 0), !et && nt && !$ && !ht && (_callback$1(this, "onStart"), this._tTime !== nt)) return this; 16891 if (ot >= et && b >= 0) for (it = this._first; it; ) { 16892 if (at = it._next, (it._act || ot >= it._start) && it._ts && ft !== it) { 16893 if (it.parent !== this) return this.render(b, $, _e); 16894 if (it.render(it._ts > 0 ? (ot - it._start) * it._ts : (it._dirty ? it.totalDuration() : it._tDur) + (ot - it._start) * it._ts, $, _e), ot !== this._time || !this._ts && !ut) { 16895 ft = 0, at && (nt += this._zTime = -1e-8); 16896 break; 16897 } 16898 } 16899 it = at; 16900 } 16901 else { 16902 it = this._last; 16903 for (var _t = b < 0 ? b : ot; it; ) { 16904 if (at = it._prev, (it._act || _t <= it._end) && it._ts && ft !== it) { 16905 if (it.parent !== this) return this.render(b, $, _e); 16906 if (it.render(it._ts > 0 ? (_t - it._start) * it._ts : (it._dirty ? it.totalDuration() : it._tDur) + (_t - it._start) * it._ts, $, _e || _reverting$1 && _isRevertWorthy(it)), ot !== this._time || !this._ts && !ut) { 16907 ft = 0, at && (nt += this._zTime = _t ? -1e-8 : _tinyNum); 16908 break; 16909 } 16910 } 16911 it = at; 16912 } 16913 } 16914 if (ft && !$ && (this.pause(), ft.render(ot >= et ? 0 : -1e-8)._zTime = ot >= et ? 1 : -1, this._ts)) return this._start = pt, _setEnd(this), this.render(b, $, _e); 16915 this._onUpdate && !$ && _callback$1(this, "onUpdate", true), (nt === tt && this._tTime >= this.totalDuration() || !nt && et) && (pt === this._start || Math.abs(dt) !== Math.abs(this._ts)) && (this._lock || ((b || !rt) && (nt === tt && this._ts > 0 || !nt && this._ts < 0) && _removeFromParent(this, 1), !$ && !(b < 0 && !et) && (nt || et || !tt) && (_callback$1(this, nt === tt && b >= 0 ? "onComplete" : "onReverseComplete", true), this._prom && !(nt < tt && this.timeScale() > 0) && this._prom()))); 16916 } 16917 return this; 16918 }, h.add = function(b, $) { 16919 var _e = this; 16920 if (_isNumber$1($) || ($ = _parsePosition$1(this, $, b)), !(b instanceof Animation)) { 16921 if (_isArray$1(b)) return b.forEach(function(et) { 16922 return _e.add(et, $); 16923 }), this; 16924 if (_isString$1(b)) return this.addLabel(b, $); 16925 if (_isFunction$2(b)) b = Tween.delayedCall(0, b); 16926 else return this; 16927 } 16928 return this !== b ? _addToTimeline(this, b, $) : this; 16929 }, h.getChildren = function(b, $, _e, et) { 16930 b === void 0 && (b = true), $ === void 0 && ($ = true), _e === void 0 && (_e = true), et === void 0 && (et = -1e8); 16931 for (var tt = [], rt = this._first; rt; ) rt._start >= et && (rt instanceof Tween ? $ && tt.push(rt) : (_e && tt.push(rt), b && tt.push.apply(tt, rt.getChildren(true, $, _e)))), rt = rt._next; 16932 return tt; 16933 }, h.getById = function(b) { 16934 for (var $ = this.getChildren(1, 1, 1), _e = $.length; _e--; ) if ($[_e].vars.id === b) return $[_e]; 16935 }, h.remove = function(b) { 16936 return _isString$1(b) ? this.removeLabel(b) : _isFunction$2(b) ? this.killTweensOf(b) : (b.parent === this && _removeLinkedListItem(this, b), b === this._recent && (this._recent = this._last), _uncache(this)); 16937 }, h.totalTime = function(b, $) { 16938 return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = _roundPrecise(_ticker.time - (this._ts > 0 ? b / this._ts : (this.totalDuration() - b) / -this._ts))), d.prototype.totalTime.call(this, b, $), this._forcing = 0, this) : this._tTime; 16939 }, h.addLabel = function(b, $) { 16940 return this.labels[b] = _parsePosition$1(this, $), this; 16941 }, h.removeLabel = function(b) { 16942 return delete this.labels[b], this; 16943 }, h.addPause = function(b, $, _e) { 16944 var et = Tween.delayedCall(0, $ || _emptyFunc$1, _e); 16945 return et.data = "isPause", this._hasPause = 1, _addToTimeline(this, et, _parsePosition$1(this, b)); 16946 }, h.removePause = function(b) { 16947 var $ = this._first; 16948 for (b = _parsePosition$1(this, b); $; ) $._start === b && $.data === "isPause" && _removeFromParent($), $ = $._next; 16949 }, h.killTweensOf = function(b, $, _e) { 16950 for (var et = this.getTweensOf(b, _e), tt = et.length; tt--; ) _overwritingTween !== et[tt] && et[tt].kill(b, $); 16951 return this; 16952 }, h.getTweensOf = function(b, $) { 16953 for (var _e = [], et = toArray(b), tt = this._first, rt = _isNumber$1($), nt; tt; ) tt instanceof Tween ? _arrayContainsAny(tt._targets, et) && (rt ? (!_overwritingTween || tt._initted && tt._ts) && tt.globalTime(0) <= $ && tt.globalTime(tt.totalDuration()) > $ : !$ || tt.isActive()) && _e.push(tt) : (nt = tt.getTweensOf(et, $)).length && _e.push.apply(_e, nt), tt = tt._next; 16954 return _e; 16955 }, h.tweenTo = function(b, $) { 16956 $ = $ || {}; 16957 var _e = this, et = _parsePosition$1(_e, b), tt = $, rt = tt.startAt, nt = tt.onStart, st = tt.onStartParams, ot = tt.immediateRender, it, at = Tween.to(_e, _setDefaults$2({ 16958 ease: $.ease || "none", 16959 lazy: false, 16960 immediateRender: false, 16961 time: et, 16962 overwrite: "auto", 16963 duration: $.duration || Math.abs((et - (rt && "time" in rt ? rt.time : _e._time)) / _e.timeScale()) || _tinyNum, 16964 onStart: function() { 16965 if (_e.pause(), !it) { 16966 var ct = $.duration || Math.abs((et - (rt && "time" in rt ? rt.time : _e._time)) / _e.timeScale()); 16967 at._dur !== ct && _setDuration(at, ct, 0, 1).render(at._time, true, true), it = 1; 16968 } 16969 nt && nt.apply(at, st || []); 16970 } 16971 }, $)); 16972 return ot ? at.render(0) : at; 16973 }, h.tweenFromTo = function(b, $, _e) { 16974 return this.tweenTo($, _setDefaults$2({ 16975 startAt: { 16976 time: _parsePosition$1(this, b) 16977 } 16978 }, _e)); 16979 }, h.recent = function() { 16980 return this._recent; 16981 }, h.nextLabel = function(b) { 16982 return b === void 0 && (b = this._time), _getLabelInDirection(this, _parsePosition$1(this, b)); 16983 }, h.previousLabel = function(b) { 16984 return b === void 0 && (b = this._time), _getLabelInDirection(this, _parsePosition$1(this, b), 1); 16985 }, h.currentLabel = function(b) { 16986 return arguments.length ? this.seek(b, true) : this.previousLabel(this._time + _tinyNum); 16987 }, h.shiftChildren = function(b, $, _e) { 16988 _e === void 0 && (_e = 0); 16989 for (var et = this._first, tt = this.labels, rt; et; ) et._start >= _e && (et._start += b, et._end += b), et = et._next; 16990 if ($) for (rt in tt) tt[rt] >= _e && (tt[rt] += b); 16991 return _uncache(this); 16992 }, h.invalidate = function(b) { 16993 var $ = this._first; 16994 for (this._lock = 0; $; ) $.invalidate(b), $ = $._next; 16995 return d.prototype.invalidate.call(this, b); 16996 }, h.clear = function(b) { 16997 b === void 0 && (b = true); 16998 for (var $ = this._first, _e; $; ) _e = $._next, this.remove($), $ = _e; 16999 return this._dp && (this._time = this._tTime = this._pTime = 0), b && (this.labels = {}), _uncache(this); 17000 }, h.totalDuration = function(b) { 17001 var $ = 0, _e = this, et = _e._last, tt = _bigNum$2, rt, nt, st; 17002 if (arguments.length) return _e.timeScale((_e._repeat < 0 ? _e.duration() : _e.totalDuration()) / (_e.reversed() ? -b : b)); 17003 if (_e._dirty) { 17004 for (st = _e.parent; et; ) rt = et._prev, et._dirty && et.totalDuration(), nt = et._start, nt > tt && _e._sort && et._ts && !_e._lock ? (_e._lock = 1, _addToTimeline(_e, et, nt - et._delay, 1)._lock = 0) : tt = nt, nt < 0 && et._ts && ($ -= nt, (!st && !_e._dp || st && st.smoothChildTiming) && (_e._start += nt / _e._ts, _e._time -= nt, _e._tTime -= nt), _e.shiftChildren(-nt, false, -1 / 0), tt = 0), et._end > $ && et._ts && ($ = et._end), et = rt; 17005 _setDuration(_e, _e === _globalTimeline && _e._time > $ ? _e._time : $, 1, 1), _e._dirty = 0; 17006 } 17007 return _e._tDur; 17008 }, o.updateRoot = function(b) { 17009 if (_globalTimeline._ts && (_lazySafeRender(_globalTimeline, _parentToChildTotalTime(b, _globalTimeline)), _lastRenderedFrame = _ticker.frame), _ticker.frame >= _nextGCFrame) { 17010 _nextGCFrame += _config.autoSleep || 120; 17011 var $ = _globalTimeline._first; 17012 if ((!$ || !$._ts) && _config.autoSleep && _ticker._listeners.length < 2) { 17013 for (; $ && !$._ts; ) $ = $._next; 17014 $ || _ticker.sleep(); 17015 } 17016 } 17017 }, o; 17018 }(Animation); 17019 _setDefaults$2(Timeline.prototype, { 17020 _lock: 0, 17021 _hasPause: 0, 17022 _forcing: 0 17023 }); 17024 var _addComplexStringPropTween = function(o, h, g, b, $, _e, et) { 17025 var tt = new PropTween(this._pt, o, h, 0, 1, _renderComplexString, null, $), rt = 0, nt = 0, st, ot, it, at, lt, ct, ut, ft; 17026 for (tt.b = g, tt.e = b, g += "", b += "", (ut = ~b.indexOf("random(")) && (b = _replaceRandom(b)), _e && (ft = [ 17027 g, 17028 b 17029 ], _e(ft, o, h), g = ft[0], b = ft[1]), ot = g.match(_complexStringNumExp) || []; st = _complexStringNumExp.exec(b); ) at = st[0], lt = b.substring(rt, st.index), it ? it = (it + 1) % 5 : lt.substr(-5) === "rgba(" && (it = 1), at !== ot[nt++] && (ct = parseFloat(ot[nt - 1]) || 0, tt._pt = { 17030 _next: tt._pt, 17031 p: lt || nt === 1 ? lt : ",", 17032 s: ct, 17033 c: at.charAt(1) === "=" ? _parseRelative(ct, at) - ct : parseFloat(at) - ct, 17034 m: it && it < 4 ? Math.round : 0 17035 }, rt = _complexStringNumExp.lastIndex); 17036 return tt.c = rt < b.length ? b.substring(rt, b.length) : "", tt.fp = et, (_relExp.test(b) || ut) && (tt.e = 0), this._pt = tt, tt; 17037 }, _addPropTween = function(o, h, g, b, $, _e, et, tt, rt, nt) { 17038 _isFunction$2(b) && (b = b($ || 0, o, _e)); 17039 var st = o[h], ot = g !== "get" ? g : _isFunction$2(st) ? rt ? o[h.indexOf("set") || !_isFunction$2(o["get" + h.substr(3)]) ? h : "get" + h.substr(3)](rt) : o[h]() : st, it = _isFunction$2(st) ? rt ? _setterFuncWithParam : _setterFunc : _setterPlain, at; 17040 if (_isString$1(b) && (~b.indexOf("random(") && (b = _replaceRandom(b)), b.charAt(1) === "=" && (at = _parseRelative(ot, b) + (getUnit(ot) || 0), (at || at === 0) && (b = at))), !nt || ot !== b || _forceAllPropTweens) return !isNaN(ot * b) && b !== "" ? (at = new PropTween(this._pt, o, h, +ot || 0, b - (ot || 0), typeof st == "boolean" ? _renderBoolean : _renderPlain, 0, it), rt && (at.fp = rt), et && at.modifier(et, this, o), this._pt = at) : (!st && !(h in o) && _missingPlugin(h, b), _addComplexStringPropTween.call(this, o, h, ot, b, it, tt || _config.stringFilter, rt)); 17041 }, _processVars = function(o, h, g, b, $) { 17042 if (_isFunction$2(o) && (o = _parseFuncOrString(o, $, h, g, b)), !_isObject$2(o) || o.style && o.nodeType || _isArray$1(o) || _isTypedArray(o)) return _isString$1(o) ? _parseFuncOrString(o, $, h, g, b) : o; 17043 var _e = {}, et; 17044 for (et in o) _e[et] = _parseFuncOrString(o[et], $, h, g, b); 17045 return _e; 17046 }, _checkPlugin = function(o, h, g, b, $, _e) { 17047 var et, tt, rt, nt; 17048 if (_plugins[o] && (et = new _plugins[o]()).init($, et.rawVars ? h[o] : _processVars(h[o], b, $, _e, g), g, b, _e) !== false && (g._pt = tt = new PropTween(g._pt, $, o, 0, 1, et.render, et, 0, et.priority), g !== _quickTween)) for (rt = g._ptLookup[g._targets.indexOf($)], nt = et._props.length; nt--; ) rt[et._props[nt]] = tt; 17049 return et; 17050 }, _overwritingTween, _forceAllPropTweens, _initTween = function d(o, h, g) { 17051 var b = o.vars, $ = b.ease, _e = b.startAt, et = b.immediateRender, tt = b.lazy, rt = b.onUpdate, nt = b.runBackwards, st = b.yoyoEase, ot = b.keyframes, it = b.autoRevert, at = o._dur, lt = o._startAt, ct = o._targets, ut = o.parent, ft = ut && ut.data === "nested" ? ut.vars.targets : ct, dt = o._overwrite === "auto" && !_suppressOverwrites$1, pt = o.timeline, ht, mt, gt, yt, xt, _t, St, kt, Rt, Tt, Yt, Dt, Ot; 17052 if (pt && (!ot || !$) && ($ = "none"), o._ease = _parseEase($, _defaults$1.ease), o._yEase = st ? _invertEase(_parseEase(st === true ? $ : st, _defaults$1.ease)) : 0, st && o._yoyo && !o._repeat && (st = o._yEase, o._yEase = o._ease, o._ease = st), o._from = !pt && !!b.runBackwards, !pt || ot && !b.stagger) { 17053 if (kt = ct[0] ? _getCache(ct[0]).harness : 0, Dt = kt && b[kt.prop], ht = _copyExcluding(b, _reservedProps), lt && (lt._zTime < 0 && lt.progress(1), h < 0 && nt && et && !it ? lt.render(-1, true) : lt.revert(nt && at ? _revertConfigNoKill : _startAtRevertConfig), lt._lazy = 0), _e) { 17054 if (_removeFromParent(o._startAt = Tween.set(ct, _setDefaults$2({ 17055 data: "isStart", 17056 overwrite: false, 17057 parent: ut, 17058 immediateRender: true, 17059 lazy: !lt && _isNotFalse(tt), 17060 startAt: null, 17061 delay: 0, 17062 onUpdate: rt && function() { 17063 return _callback$1(o, "onUpdate"); 17064 }, 17065 stagger: 0 17066 }, _e))), o._startAt._dp = 0, o._startAt._sat = o, h < 0 && (_reverting$1 || !et && !it) && o._startAt.revert(_revertConfigNoKill), et && at && h <= 0 && g <= 0) { 17067 h && (o._zTime = h); 17068 return; 17069 } 17070 } else if (nt && at && !lt) { 17071 if (h && (et = false), gt = _setDefaults$2({ 17072 overwrite: false, 17073 data: "isFromStart", 17074 lazy: et && !lt && _isNotFalse(tt), 17075 immediateRender: et, 17076 stagger: 0, 17077 parent: ut 17078 }, ht), Dt && (gt[kt.prop] = Dt), _removeFromParent(o._startAt = Tween.set(ct, gt)), o._startAt._dp = 0, o._startAt._sat = o, h < 0 && (_reverting$1 ? o._startAt.revert(_revertConfigNoKill) : o._startAt.render(-1, true)), o._zTime = h, !et) d(o._startAt, _tinyNum, _tinyNum); 17079 else if (!h) return; 17080 } 17081 for (o._pt = o._ptCache = 0, tt = at && _isNotFalse(tt) || tt && !at, mt = 0; mt < ct.length; mt++) { 17082 if (xt = ct[mt], St = xt._gsap || _harness(ct)[mt]._gsap, o._ptLookup[mt] = Tt = {}, _lazyLookup[St.id] && _lazyTweens.length && _lazyRender(), Yt = ft === ct ? mt : ft.indexOf(xt), kt && (Rt = new kt()).init(xt, Dt || ht, o, Yt, ft) !== false && (o._pt = yt = new PropTween(o._pt, xt, Rt.name, 0, 1, Rt.render, Rt, 0, Rt.priority), Rt._props.forEach(function(Mt) { 17083 Tt[Mt] = yt; 17084 }), Rt.priority && (_t = 1)), !kt || Dt) for (gt in ht) _plugins[gt] && (Rt = _checkPlugin(gt, ht, o, Yt, xt, ft)) ? Rt.priority && (_t = 1) : Tt[gt] = yt = _addPropTween.call(o, xt, gt, "get", ht[gt], Yt, ft, 0, b.stringFilter); 17085 o._op && o._op[mt] && o.kill(xt, o._op[mt]), dt && o._pt && (_overwritingTween = o, _globalTimeline.killTweensOf(xt, Tt, o.globalTime(h)), Ot = !o.parent, _overwritingTween = 0), o._pt && tt && (_lazyLookup[St.id] = 1); 17086 } 17087 _t && _sortPropTweensByPriority(o), o._onInit && o._onInit(o); 17088 } 17089 o._onUpdate = rt, o._initted = (!o._op || o._pt) && !Ot, ot && h <= 0 && pt.render(_bigNum$2, true, true); 17090 }, _updatePropTweens = function(o, h, g, b, $, _e, et, tt) { 17091 var rt = (o._pt && o._ptCache || (o._ptCache = {}))[h], nt, st, ot, it; 17092 if (!rt) for (rt = o._ptCache[h] = [], ot = o._ptLookup, it = o._targets.length; it--; ) { 17093 if (nt = ot[it][h], nt && nt.d && nt.d._pt) for (nt = nt.d._pt; nt && nt.p !== h && nt.fp !== h; ) nt = nt._next; 17094 if (!nt) return _forceAllPropTweens = 1, o.vars[h] = "+=0", _initTween(o, et), _forceAllPropTweens = 0, tt ? _warn(h + " not eligible for reset") : 1; 17095 rt.push(nt); 17096 } 17097 for (it = rt.length; it--; ) st = rt[it], nt = st._pt || st, nt.s = (b || b === 0) && !$ ? b : nt.s + (b || 0) + _e * nt.c, nt.c = g - nt.s, st.e && (st.e = _round$2(g) + getUnit(st.e)), st.b && (st.b = nt.s + getUnit(st.b)); 17098 }, _addAliasesToVars = function(o, h) { 17099 var g = o[0] ? _getCache(o[0]).harness : 0, b = g && g.aliases, $, _e, et, tt; 17100 if (!b) return h; 17101 $ = _merge({}, h); 17102 for (_e in b) if (_e in $) for (tt = b[_e].split(","), et = tt.length; et--; ) $[tt[et]] = $[_e]; 17103 return $; 17104 }, _parseKeyframe = function(o, h, g, b) { 17105 var $ = h.ease || b || "power1.inOut", _e, et; 17106 if (_isArray$1(h)) et = g[o] || (g[o] = []), h.forEach(function(tt, rt) { 17107 return et.push({ 17108 t: rt / (h.length - 1) * 100, 17109 v: tt, 17110 e: $ 17111 }); 17112 }); 17113 else for (_e in h) et = g[_e] || (g[_e] = []), _e === "ease" || et.push({ 17114 t: parseFloat(o), 17115 v: h[_e], 17116 e: $ 17117 }); 17118 }, _parseFuncOrString = function(o, h, g, b, $) { 17119 return _isFunction$2(o) ? o.call(h, g, b, $) : _isString$1(o) && ~o.indexOf("random(") ? _replaceRandom(o) : o; 17120 }, _staggerTweenProps = _callbackNames + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", _staggerPropsToSkip = {}; 17121 _forEachName(_staggerTweenProps + ",id,stagger,delay,duration,paused,scrollTrigger", function(d) { 17122 return _staggerPropsToSkip[d] = 1; 17123 }); 17124 var Tween = function(d) { 17125 _inheritsLoose$1(o, d); 17126 function o(g, b, $, _e) { 17127 var et; 17128 typeof b == "number" && ($.duration = b, b = $, $ = null), et = d.call(this, _e ? b : _inheritDefaults(b)) || this; 17129 var tt = et.vars, rt = tt.duration, nt = tt.delay, st = tt.immediateRender, ot = tt.stagger, it = tt.overwrite, at = tt.keyframes, lt = tt.defaults, ct = tt.scrollTrigger, ut = tt.yoyoEase, ft = b.parent || _globalTimeline, dt = (_isArray$1(g) || _isTypedArray(g) ? _isNumber$1(g[0]) : "length" in b) ? [ 17130 g 17131 ] : toArray(g), pt, ht, mt, gt, yt, xt, _t, St; 17132 if (et._targets = dt.length ? _harness(dt) : _warn("GSAP target " + g + " not found. https://gsap.com", !_config.nullTargetWarn) || [], et._ptLookup = [], et._overwrite = it, at || ot || _isFuncOrString(rt) || _isFuncOrString(nt)) { 17133 if (b = et.vars, pt = et.timeline = new Timeline({ 17134 data: "nested", 17135 defaults: lt || {}, 17136 targets: ft && ft.data === "nested" ? ft.vars.targets : dt 17137 }), pt.kill(), pt.parent = pt._dp = _assertThisInitialized$1(et), pt._start = 0, ot || _isFuncOrString(rt) || _isFuncOrString(nt)) { 17138 if (gt = dt.length, _t = ot && distribute(ot), _isObject$2(ot)) for (yt in ot) ~_staggerTweenProps.indexOf(yt) && (St || (St = {}), St[yt] = ot[yt]); 17139 for (ht = 0; ht < gt; ht++) mt = _copyExcluding(b, _staggerPropsToSkip), mt.stagger = 0, ut && (mt.yoyoEase = ut), St && _merge(mt, St), xt = dt[ht], mt.duration = +_parseFuncOrString(rt, _assertThisInitialized$1(et), ht, xt, dt), mt.delay = (+_parseFuncOrString(nt, _assertThisInitialized$1(et), ht, xt, dt) || 0) - et._delay, !ot && gt === 1 && mt.delay && (et._delay = nt = mt.delay, et._start += nt, mt.delay = 0), pt.to(xt, mt, _t ? _t(ht, xt, dt) : 0), pt._ease = _easeMap.none; 17140 pt.duration() ? rt = nt = 0 : et.timeline = 0; 17141 } else if (at) { 17142 _inheritDefaults(_setDefaults$2(pt.vars.defaults, { 17143 ease: "none" 17144 })), pt._ease = _parseEase(at.ease || b.ease || "none"); 17145 var kt = 0, Rt, Tt, Yt; 17146 if (_isArray$1(at)) at.forEach(function(Dt) { 17147 return pt.to(dt, Dt, ">"); 17148 }), pt.duration(); 17149 else { 17150 mt = {}; 17151 for (yt in at) yt === "ease" || yt === "easeEach" || _parseKeyframe(yt, at[yt], mt, at.easeEach); 17152 for (yt in mt) for (Rt = mt[yt].sort(function(Dt, Ot) { 17153 return Dt.t - Ot.t; 17154 }), kt = 0, ht = 0; ht < Rt.length; ht++) Tt = Rt[ht], Yt = { 17155 ease: Tt.e, 17156 duration: (Tt.t - (ht ? Rt[ht - 1].t : 0)) / 100 * rt 17157 }, Yt[yt] = Tt.v, pt.to(dt, Yt, kt), kt += Yt.duration; 17158 pt.duration() < rt && pt.to({}, { 17159 duration: rt - pt.duration() 17160 }); 17161 } 17162 } 17163 rt || et.duration(rt = pt.duration()); 17164 } else et.timeline = 0; 17165 return it === true && !_suppressOverwrites$1 && (_overwritingTween = _assertThisInitialized$1(et), _globalTimeline.killTweensOf(dt), _overwritingTween = 0), _addToTimeline(ft, _assertThisInitialized$1(et), $), b.reversed && et.reverse(), b.paused && et.paused(true), (st || !rt && !at && et._start === _roundPrecise(ft._time) && _isNotFalse(st) && _hasNoPausedAncestors(_assertThisInitialized$1(et)) && ft.data !== "nested") && (et._tTime = -1e-8, et.render(Math.max(0, -nt) || 0)), ct && _scrollTrigger(_assertThisInitialized$1(et), ct), et; 17166 } 17167 var h = o.prototype; 17168 return h.render = function(b, $, _e) { 17169 var et = this._time, tt = this._tDur, rt = this._dur, nt = b < 0, st = b > tt - _tinyNum && !nt ? tt : b < _tinyNum ? 0 : b, ot, it, at, lt, ct, ut, ft, dt, pt; 17170 if (!rt) _renderZeroDurationTween(this, b, $, _e); 17171 else if (st !== this._tTime || !b || _e || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== nt || this._lazy) { 17172 if (ot = st, dt = this.timeline, this._repeat) { 17173 if (lt = rt + this._rDelay, this._repeat < -1 && nt) return this.totalTime(lt * 100 + b, $, _e); 17174 if (ot = _roundPrecise(st % lt), st === tt ? (at = this._repeat, ot = rt) : (ct = _roundPrecise(st / lt), at = ~~ct, at && at === ct ? (ot = rt, at--) : ot > rt && (ot = rt)), ut = this._yoyo && at & 1, ut && (pt = this._yEase, ot = rt - ot), ct = _animationCycle(this._tTime, lt), ot === et && !_e && this._initted && at === ct) return this._tTime = st, this; 17175 at !== ct && (dt && this._yEase && _propagateYoyoEase(dt, ut), this.vars.repeatRefresh && !ut && !this._lock && ot !== lt && this._initted && (this._lock = _e = 1, this.render(_roundPrecise(lt * at), true).invalidate()._lock = 0)); 17176 } 17177 if (!this._initted) { 17178 if (_attemptInitTween(this, nt ? b : ot, _e, $, st)) return this._tTime = 0, this; 17179 if (et !== this._time && !(_e && this.vars.repeatRefresh && at !== ct)) return this; 17180 if (rt !== this._dur) return this.render(b, $, _e); 17181 } 17182 if (this._tTime = st, this._time = ot, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = ft = (pt || this._ease)(ot / rt), this._from && (this.ratio = ft = 1 - ft), !et && st && !$ && !ct && (_callback$1(this, "onStart"), this._tTime !== st)) return this; 17183 for (it = this._pt; it; ) it.r(ft, it.d), it = it._next; 17184 dt && dt.render(b < 0 ? b : dt._dur * dt._ease(ot / this._dur), $, _e) || this._startAt && (this._zTime = b), this._onUpdate && !$ && (nt && _rewindStartAt(this, b, $, _e), _callback$1(this, "onUpdate")), this._repeat && at !== ct && this.vars.onRepeat && !$ && this.parent && _callback$1(this, "onRepeat"), (st === this._tDur || !st) && this._tTime === st && (nt && !this._onUpdate && _rewindStartAt(this, b, true, true), (b || !rt) && (st === this._tDur && this._ts > 0 || !st && this._ts < 0) && _removeFromParent(this, 1), !$ && !(nt && !et) && (st || et || ut) && (_callback$1(this, st === tt ? "onComplete" : "onReverseComplete", true), this._prom && !(st < tt && this.timeScale() > 0) && this._prom())); 17185 } 17186 return this; 17187 }, h.targets = function() { 17188 return this._targets; 17189 }, h.invalidate = function(b) { 17190 return (!b || !this.vars.runBackwards) && (this._startAt = 0), this._pt = this._op = this._onUpdate = this._lazy = this.ratio = 0, this._ptLookup = [], this.timeline && this.timeline.invalidate(b), d.prototype.invalidate.call(this, b); 17191 }, h.resetTo = function(b, $, _e, et, tt) { 17192 _tickerActive || _ticker.wake(), this._ts || this.play(); 17193 var rt = Math.min(this._dur, (this._dp._time - this._start) * this._ts), nt; 17194 return this._initted || _initTween(this, rt), nt = this._ease(rt / this._dur), _updatePropTweens(this, b, $, _e, et, nt, rt, tt) ? this.resetTo(b, $, _e, et, 1) : (_alignPlayhead(this, 0), this.parent || _addLinkedListItem(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0)); 17195 }, h.kill = function(b, $) { 17196 if ($ === void 0 && ($ = "all"), !b && (!$ || $ === "all")) return this._lazy = this._pt = 0, this.parent ? _interrupt(this) : this.scrollTrigger && this.scrollTrigger.kill(!!_reverting$1), this; 17197 if (this.timeline) { 17198 var _e = this.timeline.totalDuration(); 17199 return this.timeline.killTweensOf(b, $, _overwritingTween && _overwritingTween.vars.overwrite !== true)._first || _interrupt(this), this.parent && _e !== this.timeline.totalDuration() && _setDuration(this, this._dur * this.timeline._tDur / _e, 0, 1), this; 17200 } 17201 var et = this._targets, tt = b ? toArray(b) : et, rt = this._ptLookup, nt = this._pt, st, ot, it, at, lt, ct, ut; 17202 if ((!$ || $ === "all") && _arraysMatch(et, tt)) return $ === "all" && (this._pt = 0), _interrupt(this); 17203 for (st = this._op = this._op || [], $ !== "all" && (_isString$1($) && (lt = {}, _forEachName($, function(ft) { 17204 return lt[ft] = 1; 17205 }), $ = lt), $ = _addAliasesToVars(et, $)), ut = et.length; ut--; ) if (~tt.indexOf(et[ut])) { 17206 ot = rt[ut], $ === "all" ? (st[ut] = $, at = ot, it = {}) : (it = st[ut] = st[ut] || {}, at = $); 17207 for (lt in at) ct = ot && ot[lt], ct && ((!("kill" in ct.d) || ct.d.kill(lt) === true) && _removeLinkedListItem(this, ct, "_pt"), delete ot[lt]), it !== "all" && (it[lt] = 1); 17208 } 17209 return this._initted && !this._pt && nt && _interrupt(this), this; 17210 }, o.to = function(b, $) { 17211 return new o(b, $, arguments[2]); 17212 }, o.from = function(b, $) { 17213 return _createTweenType(1, arguments); 17214 }, o.delayedCall = function(b, $, _e, et) { 17215 return new o($, 0, { 17216 immediateRender: false, 17217 lazy: false, 17218 overwrite: false, 17219 delay: b, 17220 onComplete: $, 17221 onReverseComplete: $, 17222 onCompleteParams: _e, 17223 onReverseCompleteParams: _e, 17224 callbackScope: et 17225 }); 17226 }, o.fromTo = function(b, $, _e) { 17227 return _createTweenType(2, arguments); 17228 }, o.set = function(b, $) { 17229 return $.duration = 0, $.repeatDelay || ($.repeat = 0), new o(b, $); 17230 }, o.killTweensOf = function(b, $, _e) { 17231 return _globalTimeline.killTweensOf(b, $, _e); 17232 }, o; 17233 }(Animation); 17234 _setDefaults$2(Tween.prototype, { 17235 _targets: [], 17236 _lazy: 0, 17237 _startAt: 0, 17238 _op: 0, 17239 _onInit: 0 17240 }); 17241 _forEachName("staggerTo,staggerFrom,staggerFromTo", function(d) { 17242 Tween[d] = function() { 17243 var o = new Timeline(), h = _slice.call(arguments, 0); 17244 return h.splice(d === "staggerFromTo" ? 5 : 4, 0, 0), o[d].apply(o, h); 17245 }; 17246 }); 17247 var _setterPlain = function(o, h, g) { 17248 return o[h] = g; 17249 }, _setterFunc = function(o, h, g) { 17250 return o[h](g); 17251 }, _setterFuncWithParam = function(o, h, g, b) { 17252 return o[h](b.fp, g); 17253 }, _setterAttribute = function(o, h, g) { 17254 return o.setAttribute(h, g); 17255 }, _getSetter = function(o, h) { 17256 return _isFunction$2(o[h]) ? _setterFunc : _isUndefined$1(o[h]) && o.setAttribute ? _setterAttribute : _setterPlain; 17257 }, _renderPlain = function(o, h) { 17258 return h.set(h.t, h.p, Math.round((h.s + h.c * o) * 1e6) / 1e6, h); 17259 }, _renderBoolean = function(o, h) { 17260 return h.set(h.t, h.p, !!(h.s + h.c * o), h); 17261 }, _renderComplexString = function(o, h) { 17262 var g = h._pt, b = ""; 17263 if (!o && h.b) b = h.b; 17264 else if (o === 1 && h.e) b = h.e; 17265 else { 17266 for (; g; ) b = g.p + (g.m ? g.m(g.s + g.c * o) : Math.round((g.s + g.c * o) * 1e4) / 1e4) + b, g = g._next; 17267 b += h.c; 17268 } 17269 h.set(h.t, h.p, b, h); 17270 }, _renderPropTweens = function(o, h) { 17271 for (var g = h._pt; g; ) g.r(o, g.d), g = g._next; 17272 }, _addPluginModifier = function(o, h, g, b) { 17273 for (var $ = this._pt, _e; $; ) _e = $._next, $.p === b && $.modifier(o, h, g), $ = _e; 17274 }, _killPropTweensOf = function(o) { 17275 for (var h = this._pt, g, b; h; ) b = h._next, h.p === o && !h.op || h.op === o ? _removeLinkedListItem(this, h, "_pt") : h.dep || (g = 1), h = b; 17276 return !g; 17277 }, _setterWithModifier = function(o, h, g, b) { 17278 b.mSet(o, h, b.m.call(b.tween, g, b.mt), b); 17279 }, _sortPropTweensByPriority = function(o) { 17280 for (var h = o._pt, g, b, $, _e; h; ) { 17281 for (g = h._next, b = $; b && b.pr > h.pr; ) b = b._next; 17282 (h._prev = b ? b._prev : _e) ? h._prev._next = h : $ = h, (h._next = b) ? b._prev = h : _e = h, h = g; 17283 } 17284 o._pt = $; 17285 }, PropTween = function() { 17286 function d(h, g, b, $, _e, et, tt, rt, nt) { 17287 this.t = g, this.s = $, this.c = _e, this.p = b, this.r = et || _renderPlain, this.d = tt || this, this.set = rt || _setterPlain, this.pr = nt || 0, this._next = h, h && (h._prev = this); 17288 } 17289 var o = d.prototype; 17290 return o.modifier = function(g, b, $) { 17291 this.mSet = this.mSet || this.set, this.set = _setterWithModifier, this.m = g, this.mt = $, this.tween = b; 17292 }, d; 17293 }(); 17294 _forEachName(_callbackNames + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(d) { 17295 return _reservedProps[d] = 1; 17296 }); 17297 _globals.TweenMax = _globals.TweenLite = Tween; 17298 _globals.TimelineLite = _globals.TimelineMax = Timeline; 17299 _globalTimeline = new Timeline({ 17300 sortChildren: false, 17301 defaults: _defaults$1, 17302 autoRemoveChildren: true, 17303 id: "root", 17304 smoothChildTiming: true 17305 }); 17306 _config.stringFilter = _colorStringFilter; 17307 var _media = [], _listeners$1 = {}, _emptyArray$1 = [], _lastMediaTime = 0, _contextID = 0, _dispatch$1 = function(o) { 17308 return (_listeners$1[o] || _emptyArray$1).map(function(h) { 17309 return h(); 17310 }); 17311 }, _onMediaChange = function() { 17312 var o = Date.now(), h = []; 17313 o - _lastMediaTime > 2 && (_dispatch$1("matchMediaInit"), _media.forEach(function(g) { 17314 var b = g.queries, $ = g.conditions, _e, et, tt, rt; 17315 for (et in b) _e = _win$5.matchMedia(b[et]).matches, _e && (tt = 1), _e !== $[et] && ($[et] = _e, rt = 1); 17316 rt && (g.revert(), tt && h.push(g)); 17317 }), _dispatch$1("matchMediaRevert"), h.forEach(function(g) { 17318 return g.onMatch(g, function(b) { 17319 return g.add(null, b); 17320 }); 17321 }), _lastMediaTime = o, _dispatch$1("matchMedia")); 17322 }, Context = function() { 17323 function d(h, g) { 17324 this.selector = g && selector(g), this.data = [], this._r = [], this.isReverted = false, this.id = _contextID++, h && this.add(h); 17325 } 17326 var o = d.prototype; 17327 return o.add = function(g, b, $) { 17328 _isFunction$2(g) && ($ = b, b = g, g = _isFunction$2); 17329 var _e = this, et = function() { 17330 var rt = _context$3, nt = _e.selector, st; 17331 return rt && rt !== _e && rt.data.push(_e), $ && (_e.selector = selector($)), _context$3 = _e, st = b.apply(_e, arguments), _isFunction$2(st) && _e._r.push(st), _context$3 = rt, _e.selector = nt, _e.isReverted = false, st; 17332 }; 17333 return _e.last = et, g === _isFunction$2 ? et(_e, function(tt) { 17334 return _e.add(null, tt); 17335 }) : g ? _e[g] = et : et; 17336 }, o.ignore = function(g) { 17337 var b = _context$3; 17338 _context$3 = null, g(this), _context$3 = b; 17339 }, o.getTweens = function() { 17340 var g = []; 17341 return this.data.forEach(function(b) { 17342 return b instanceof d ? g.push.apply(g, b.getTweens()) : b instanceof Tween && !(b.parent && b.parent.data === "nested") && g.push(b); 17343 }), g; 17344 }, o.clear = function() { 17345 this._r.length = this.data.length = 0; 17346 }, o.kill = function(g, b) { 17347 var $ = this; 17348 if (g ? function() { 17349 for (var et = $.getTweens(), tt = $.data.length, rt; tt--; ) rt = $.data[tt], rt.data === "isFlip" && (rt.revert(), rt.getChildren(true, true, false).forEach(function(nt) { 17350 return et.splice(et.indexOf(nt), 1); 17351 })); 17352 for (et.map(function(nt) { 17353 return { 17354 g: nt._dur || nt._delay || nt._sat && !nt._sat.vars.immediateRender ? nt.globalTime(0) : -1 / 0, 17355 t: nt 17356 }; 17357 }).sort(function(nt, st) { 17358 return st.g - nt.g || -1 / 0; 17359 }).forEach(function(nt) { 17360 return nt.t.revert(g); 17361 }), tt = $.data.length; tt--; ) rt = $.data[tt], rt instanceof Timeline ? rt.data !== "nested" && (rt.scrollTrigger && rt.scrollTrigger.revert(), rt.kill()) : !(rt instanceof Tween) && rt.revert && rt.revert(g); 17362 $._r.forEach(function(nt) { 17363 return nt(g, $); 17364 }), $.isReverted = true; 17365 }() : this.data.forEach(function(et) { 17366 return et.kill && et.kill(); 17367 }), this.clear(), b) for (var _e = _media.length; _e--; ) _media[_e].id === this.id && _media.splice(_e, 1); 17368 }, o.revert = function(g) { 17369 this.kill(g || {}); 17370 }, d; 17371 }(), MatchMedia = function() { 17372 function d(h) { 17373 this.contexts = [], this.scope = h, _context$3 && _context$3.data.push(this); 17374 } 17375 var o = d.prototype; 17376 return o.add = function(g, b, $) { 17377 _isObject$2(g) || (g = { 17378 matches: g 17379 }); 17380 var _e = new Context(0, $ || this.scope), et = _e.conditions = {}, tt, rt, nt; 17381 _context$3 && !_e.selector && (_e.selector = _context$3.selector), this.contexts.push(_e), b = _e.add("onMatch", b), _e.queries = g; 17382 for (rt in g) rt === "all" ? nt = 1 : (tt = _win$5.matchMedia(g[rt]), tt && (_media.indexOf(_e) < 0 && _media.push(_e), (et[rt] = tt.matches) && (nt = 1), tt.addListener ? tt.addListener(_onMediaChange) : tt.addEventListener("change", _onMediaChange))); 17383 return nt && b(_e, function(st) { 17384 return _e.add(null, st); 17385 }), this; 17386 }, o.revert = function(g) { 17387 this.kill(g || {}); 17388 }, o.kill = function(g) { 17389 this.contexts.forEach(function(b) { 17390 return b.kill(g, true); 17391 }); 17392 }, d; 17393 }(), _gsap$1 = { 17394 registerPlugin: function() { 17395 for (var o = arguments.length, h = new Array(o), g = 0; g < o; g++) h[g] = arguments[g]; 17396 h.forEach(function(b) { 17397 return _createPlugin(b); 17398 }); 17399 }, 17400 timeline: function(o) { 17401 return new Timeline(o); 17402 }, 17403 getTweensOf: function(o, h) { 17404 return _globalTimeline.getTweensOf(o, h); 17405 }, 17406 getProperty: function(o, h, g, b) { 17407 _isString$1(o) && (o = toArray(o)[0]); 17408 var $ = _getCache(o || {}).get, _e = g ? _passThrough$1 : _numericIfPossible; 17409 return g === "native" && (g = ""), o && (h ? _e((_plugins[h] && _plugins[h].get || $)(o, h, g, b)) : function(et, tt, rt) { 17410 return _e((_plugins[et] && _plugins[et].get || $)(o, et, tt, rt)); 17411 }); 17412 }, 17413 quickSetter: function(o, h, g) { 17414 if (o = toArray(o), o.length > 1) { 17415 var b = o.map(function(nt) { 17416 return gsap$3.quickSetter(nt, h, g); 17417 }), $ = b.length; 17418 return function(nt) { 17419 for (var st = $; st--; ) b[st](nt); 17420 }; 17421 } 17422 o = o[0] || {}; 17423 var _e = _plugins[h], et = _getCache(o), tt = et.harness && (et.harness.aliases || {})[h] || h, rt = _e ? function(nt) { 17424 var st = new _e(); 17425 _quickTween._pt = 0, st.init(o, g ? nt + g : nt, _quickTween, 0, [ 17426 o 17427 ]), st.render(1, st), _quickTween._pt && _renderPropTweens(1, _quickTween); 17428 } : et.set(o, tt); 17429 return _e ? rt : function(nt) { 17430 return rt(o, tt, g ? nt + g : nt, et, 1); 17431 }; 17432 }, 17433 quickTo: function(o, h, g) { 17434 var b, $ = gsap$3.to(o, _setDefaults$2((b = {}, b[h] = "+=0.1", b.paused = true, b.stagger = 0, b), g || {})), _e = function(tt, rt, nt) { 17435 return $.resetTo(h, tt, rt, nt); 17436 }; 17437 return _e.tween = $, _e; 17438 }, 17439 isTweening: function(o) { 17440 return _globalTimeline.getTweensOf(o, true).length > 0; 17441 }, 17442 defaults: function(o) { 17443 return o && o.ease && (o.ease = _parseEase(o.ease, _defaults$1.ease)), _mergeDeep(_defaults$1, o || {}); 17444 }, 17445 config: function(o) { 17446 return _mergeDeep(_config, o || {}); 17447 }, 17448 registerEffect: function(o) { 17449 var h = o.name, g = o.effect, b = o.plugins, $ = o.defaults, _e = o.extendTimeline; 17450 (b || "").split(",").forEach(function(et) { 17451 return et && !_plugins[et] && !_globals[et] && _warn(h + " effect requires " + et + " plugin."); 17452 }), _effects[h] = function(et, tt, rt) { 17453 return g(toArray(et), _setDefaults$2(tt || {}, $), rt); 17454 }, _e && (Timeline.prototype[h] = function(et, tt, rt) { 17455 return this.add(_effects[h](et, _isObject$2(tt) ? tt : (rt = tt) && {}, this), rt); 17456 }); 17457 }, 17458 registerEase: function(o, h) { 17459 _easeMap[o] = _parseEase(h); 17460 }, 17461 parseEase: function(o, h) { 17462 return arguments.length ? _parseEase(o, h) : _easeMap; 17463 }, 17464 getById: function(o) { 17465 return _globalTimeline.getById(o); 17466 }, 17467 exportRoot: function(o, h) { 17468 o === void 0 && (o = {}); 17469 var g = new Timeline(o), b, $; 17470 for (g.smoothChildTiming = _isNotFalse(o.smoothChildTiming), _globalTimeline.remove(g), g._dp = 0, g._time = g._tTime = _globalTimeline._time, b = _globalTimeline._first; b; ) $ = b._next, (h || !(!b._dur && b instanceof Tween && b.vars.onComplete === b._targets[0])) && _addToTimeline(g, b, b._start - b._delay), b = $; 17471 return _addToTimeline(_globalTimeline, g, 0), g; 17472 }, 17473 context: function(o, h) { 17474 return o ? new Context(o, h) : _context$3; 17475 }, 17476 matchMedia: function(o) { 17477 return new MatchMedia(o); 17478 }, 17479 matchMediaRefresh: function() { 17480 return _media.forEach(function(o) { 17481 var h = o.conditions, g, b; 17482 for (b in h) h[b] && (h[b] = false, g = 1); 17483 g && o.revert(); 17484 }) || _onMediaChange(); 17485 }, 17486 addEventListener: function(o, h) { 17487 var g = _listeners$1[o] || (_listeners$1[o] = []); 17488 ~g.indexOf(h) || g.push(h); 17489 }, 17490 removeEventListener: function(o, h) { 17491 var g = _listeners$1[o], b = g && g.indexOf(h); 17492 b >= 0 && g.splice(b, 1); 17493 }, 17494 utils: { 17495 wrap, 17496 wrapYoyo, 17497 distribute, 17498 random, 17499 snap, 17500 normalize, 17501 getUnit, 17502 clamp: clamp$1, 17503 splitColor: splitColor$1, 17504 toArray, 17505 selector, 17506 mapRange, 17507 pipe: pipe$1, 17508 unitize, 17509 interpolate: interpolate$1, 17510 shuffle 17511 }, 17512 install: _install, 17513 effects: _effects, 17514 ticker: _ticker, 17515 updateRoot: Timeline.updateRoot, 17516 plugins: _plugins, 17517 globalTimeline: _globalTimeline, 17518 core: { 17519 PropTween, 17520 globals: _addGlobal, 17521 Tween, 17522 Timeline, 17523 Animation, 17524 getCache: _getCache, 17525 _removeLinkedListItem, 17526 reverting: function() { 17527 return _reverting$1; 17528 }, 17529 context: function(o) { 17530 return o && _context$3 && (_context$3.data.push(o), o._ctx = _context$3), _context$3; 17531 }, 17532 suppressOverwrites: function(o) { 17533 return _suppressOverwrites$1 = o; 17534 } 17535 } 17536 }; 17537 _forEachName("to,from,fromTo,delayedCall,set,killTweensOf", function(d) { 17538 return _gsap$1[d] = Tween[d]; 17539 }); 17540 _ticker.add(Timeline.updateRoot); 17541 _quickTween = _gsap$1.to({}, { 17542 duration: 0 17543 }); 17544 var _getPluginPropTween = function(o, h) { 17545 for (var g = o._pt; g && g.p !== h && g.op !== h && g.fp !== h; ) g = g._next; 17546 return g; 17547 }, _addModifiers = function(o, h) { 17548 var g = o._targets, b, $, _e; 17549 for (b in h) for ($ = g.length; $--; ) _e = o._ptLookup[$][b], _e && (_e = _e.d) && (_e._pt && (_e = _getPluginPropTween(_e, b)), _e && _e.modifier && _e.modifier(h[b], o, g[$], b)); 17550 }, _buildModifierPlugin = function(o, h) { 17551 return { 17552 name: o, 17553 headless: 1, 17554 rawVars: 1, 17555 init: function(b, $, _e) { 17556 _e._onInit = function(et) { 17557 var tt, rt; 17558 if (_isString$1($) && (tt = {}, _forEachName($, function(nt) { 17559 return tt[nt] = 1; 17560 }), $ = tt), h) { 17561 tt = {}; 17562 for (rt in $) tt[rt] = h($[rt]); 17563 $ = tt; 17564 } 17565 _addModifiers(et, $); 17566 }; 17567 } 17568 }; 17569 }, gsap$3 = _gsap$1.registerPlugin({ 17570 name: "attr", 17571 init: function(o, h, g, b, $) { 17572 var _e, et, tt; 17573 this.tween = g; 17574 for (_e in h) tt = o.getAttribute(_e) || "", et = this.add(o, "setAttribute", (tt || 0) + "", h[_e], b, $, 0, 0, _e), et.op = _e, et.b = tt, this._props.push(_e); 17575 }, 17576 render: function(o, h) { 17577 for (var g = h._pt; g; ) _reverting$1 ? g.set(g.t, g.p, g.b, g) : g.r(o, g.d), g = g._next; 17578 } 17579 }, { 17580 name: "endArray", 17581 headless: 1, 17582 init: function(o, h) { 17583 for (var g = h.length; g--; ) this.add(o, g, o[g] || 0, h[g], 0, 0, 0, 0, 0, 1); 17584 } 17585 }, _buildModifierPlugin("roundProps", _roundModifier), _buildModifierPlugin("modifiers"), _buildModifierPlugin("snap", snap)) || _gsap$1; 17586 Tween.version = Timeline.version = gsap$3.version = "3.13.0"; 17587 _coreReady = 1; 17588 _windowExists$3() && _wake(); 17589 _easeMap.Power0; 17590 _easeMap.Power1; 17591 _easeMap.Power2; 17592 _easeMap.Power3; 17593 _easeMap.Power4; 17594 _easeMap.Linear; 17595 _easeMap.Quad; 17596 _easeMap.Cubic; 17597 _easeMap.Quart; 17598 _easeMap.Quint; 17599 _easeMap.Strong; 17600 _easeMap.Elastic; 17601 _easeMap.Back; 17602 _easeMap.SteppedEase; 17603 _easeMap.Bounce; 17604 _easeMap.Sine; 17605 _easeMap.Expo; 17606 _easeMap.Circ; 17607 var _win$4, _doc$4, _docElement$2, _pluginInitted, _tempDiv$1, _recentSetterPlugin, _reverting, _windowExists$2 = function() { 17608 return typeof window < "u"; 17609 }, _transformProps = {}, _RAD2DEG$1 = 180 / Math.PI, _DEG2RAD = Math.PI / 180, _atan2 = Math.atan2, _bigNum$1 = 1e8, _capsExp$1 = /([A-Z])/g, _horizontalExp = /(left|right|width|margin|padding|x)/i, _complexExp = /[\s,\(]\S/, _propertyAliases = { 17610 autoAlpha: "opacity,visibility", 17611 scale: "scaleX,scaleY", 17612 alpha: "opacity" 17613 }, _renderCSSProp = function(o, h) { 17614 return h.set(h.t, h.p, Math.round((h.s + h.c * o) * 1e4) / 1e4 + h.u, h); 17615 }, _renderPropWithEnd = function(o, h) { 17616 return h.set(h.t, h.p, o === 1 ? h.e : Math.round((h.s + h.c * o) * 1e4) / 1e4 + h.u, h); 17617 }, _renderCSSPropWithBeginning = function(o, h) { 17618 return h.set(h.t, h.p, o ? Math.round((h.s + h.c * o) * 1e4) / 1e4 + h.u : h.b, h); 17619 }, _renderRoundedCSSProp = function(o, h) { 17620 var g = h.s + h.c * o; 17621 h.set(h.t, h.p, ~~(g + (g < 0 ? -0.5 : 0.5)) + h.u, h); 17622 }, _renderNonTweeningValue = function(o, h) { 17623 return h.set(h.t, h.p, o ? h.e : h.b, h); 17624 }, _renderNonTweeningValueOnlyAtEnd = function(o, h) { 17625 return h.set(h.t, h.p, o !== 1 ? h.b : h.e, h); 17626 }, _setterCSSStyle = function(o, h, g) { 17627 return o.style[h] = g; 17628 }, _setterCSSProp = function(o, h, g) { 17629 return o.style.setProperty(h, g); 17630 }, _setterTransform = function(o, h, g) { 17631 return o._gsap[h] = g; 17632 }, _setterScale = function(o, h, g) { 17633 return o._gsap.scaleX = o._gsap.scaleY = g; 17634 }, _setterScaleWithRender = function(o, h, g, b, $) { 17635 var _e = o._gsap; 17636 _e.scaleX = _e.scaleY = g, _e.renderTransform($, _e); 17637 }, _setterTransformWithRender = function(o, h, g, b, $) { 17638 var _e = o._gsap; 17639 _e[h] = g, _e.renderTransform($, _e); 17640 }, _transformProp$3 = "transform", _transformOriginProp$2 = _transformProp$3 + "Origin", _saveStyle = function d(o, h) { 17641 var g = this, b = this.target, $ = b.style, _e = b._gsap; 17642 if (o in _transformProps && $) { 17643 if (this.tfm = this.tfm || {}, o !== "transform") o = _propertyAliases[o] || o, ~o.indexOf(",") ? o.split(",").forEach(function(et) { 17644 return g.tfm[et] = _get(b, et); 17645 }) : this.tfm[o] = _e.x ? _e[o] : _get(b, o), o === _transformOriginProp$2 && (this.tfm.zOrigin = _e.zOrigin); 17646 else return _propertyAliases.transform.split(",").forEach(function(et) { 17647 return d.call(g, et, h); 17648 }); 17649 if (this.props.indexOf(_transformProp$3) >= 0) return; 17650 _e.svg && (this.svgo = b.getAttribute("data-svg-origin"), this.props.push(_transformOriginProp$2, h, "")), o = _transformProp$3; 17651 } 17652 ($ || h) && this.props.push(o, h, $[o]); 17653 }, _removeIndependentTransforms = function(o) { 17654 o.translate && (o.removeProperty("translate"), o.removeProperty("scale"), o.removeProperty("rotate")); 17655 }, _revertStyle = function() { 17656 var o = this.props, h = this.target, g = h.style, b = h._gsap, $, _e; 17657 for ($ = 0; $ < o.length; $ += 3) o[$ + 1] ? o[$ + 1] === 2 ? h[o[$]](o[$ + 2]) : h[o[$]] = o[$ + 2] : o[$ + 2] ? g[o[$]] = o[$ + 2] : g.removeProperty(o[$].substr(0, 2) === "--" ? o[$] : o[$].replace(_capsExp$1, "-$1").toLowerCase()); 17658 if (this.tfm) { 17659 for (_e in this.tfm) b[_e] = this.tfm[_e]; 17660 b.svg && (b.renderTransform(), h.setAttribute("data-svg-origin", this.svgo || "")), $ = _reverting(), (!$ || !$.isStart) && !g[_transformProp$3] && (_removeIndependentTransforms(g), b.zOrigin && g[_transformOriginProp$2] && (g[_transformOriginProp$2] += " " + b.zOrigin + "px", b.zOrigin = 0, b.renderTransform()), b.uncache = 1); 17661 } 17662 }, _getStyleSaver$1 = function(o, h) { 17663 var g = { 17664 target: o, 17665 props: [], 17666 revert: _revertStyle, 17667 save: _saveStyle 17668 }; 17669 return o._gsap || gsap$3.core.getCache(o), h && o.style && o.nodeType && h.split(",").forEach(function(b) { 17670 return g.save(b); 17671 }), g; 17672 }, _supports3D$1, _createElement$1 = function(o, h) { 17673 var g = _doc$4.createElementNS ? _doc$4.createElementNS((h || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), o) : _doc$4.createElement(o); 17674 return g && g.style ? g : _doc$4.createElement(o); 17675 }, _getComputedProperty = function d(o, h, g) { 17676 var b = getComputedStyle(o); 17677 return b[h] || b.getPropertyValue(h.replace(_capsExp$1, "-$1").toLowerCase()) || b.getPropertyValue(h) || !g && d(o, _checkPropPrefix(h) || h, 1) || ""; 17678 }, _prefixes = "O,Moz,ms,Ms,Webkit".split(","), _checkPropPrefix = function(o, h, g) { 17679 var b = h || _tempDiv$1, $ = b.style, _e = 5; 17680 if (o in $ && !g) return o; 17681 for (o = o.charAt(0).toUpperCase() + o.substr(1); _e-- && !(_prefixes[_e] + o in $); ) ; 17682 return _e < 0 ? null : (_e === 3 ? "ms" : _e >= 0 ? _prefixes[_e] : "") + o; 17683 }, _initCore$2 = function() { 17684 _windowExists$2() && window.document && (_win$4 = window, _doc$4 = _win$4.document, _docElement$2 = _doc$4.documentElement, _tempDiv$1 = _createElement$1("div") || { 17685 style: {} 17686 }, _createElement$1("div"), _transformProp$3 = _checkPropPrefix(_transformProp$3), _transformOriginProp$2 = _transformProp$3 + "Origin", _tempDiv$1.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", _supports3D$1 = !!_checkPropPrefix("perspective"), _reverting = gsap$3.core.reverting, _pluginInitted = 1); 17687 }, _getReparentedCloneBBox = function(o) { 17688 var h = o.ownerSVGElement, g = _createElement$1("svg", h && h.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), b = o.cloneNode(true), $; 17689 b.style.display = "block", g.appendChild(b), _docElement$2.appendChild(g); 17690 try { 17691 $ = b.getBBox(); 17692 } catch (e2) { 17693 } 17694 return g.removeChild(b), _docElement$2.removeChild(g), $; 17695 }, _getAttributeFallbacks = function(o, h) { 17696 for (var g = h.length; g--; ) if (o.hasAttribute(h[g])) return o.getAttribute(h[g]); 17697 }, _getBBox = function(o) { 17698 var h, g; 17699 try { 17700 h = o.getBBox(); 17701 } catch (e2) { 17702 h = _getReparentedCloneBBox(o), g = 1; 17703 } 17704 return h && (h.width || h.height) || g || (h = _getReparentedCloneBBox(o)), h && !h.width && !h.x && !h.y ? { 17705 x: +_getAttributeFallbacks(o, [ 17706 "x", 17707 "cx", 17708 "x1" 17709 ]) || 0, 17710 y: +_getAttributeFallbacks(o, [ 17711 "y", 17712 "cy", 17713 "y1" 17714 ]) || 0, 17715 width: 0, 17716 height: 0 17717 } : h; 17718 }, _isSVG = function(o) { 17719 return !!(o.getCTM && (!o.parentNode || o.ownerSVGElement) && _getBBox(o)); 17720 }, _removeProperty = function(o, h) { 17721 if (h) { 17722 var g = o.style, b; 17723 h in _transformProps && h !== _transformOriginProp$2 && (h = _transformProp$3), g.removeProperty ? (b = h.substr(0, 2), (b === "ms" || h.substr(0, 6) === "webkit") && (h = "-" + h), g.removeProperty(b === "--" ? h : h.replace(_capsExp$1, "-$1").toLowerCase())) : g.removeAttribute(h); 17724 } 17725 }, _addNonTweeningPT = function(o, h, g, b, $, _e) { 17726 var et = new PropTween(o._pt, h, g, 0, 1, _e ? _renderNonTweeningValueOnlyAtEnd : _renderNonTweeningValue); 17727 return o._pt = et, et.b = b, et.e = $, o._props.push(g), et; 17728 }, _nonConvertibleUnits = { 17729 deg: 1, 17730 rad: 1, 17731 turn: 1 17732 }, _nonStandardLayouts = { 17733 grid: 1, 17734 flex: 1 17735 }, _convertToUnit = function d(o, h, g, b) { 17736 var $ = parseFloat(g) || 0, _e = (g + "").trim().substr(($ + "").length) || "px", et = _tempDiv$1.style, tt = _horizontalExp.test(h), rt = o.tagName.toLowerCase() === "svg", nt = (rt ? "client" : "offset") + (tt ? "Width" : "Height"), st = 100, ot = b === "px", it = b === "%", at, lt, ct, ut; 17737 if (b === _e || !$ || _nonConvertibleUnits[b] || _nonConvertibleUnits[_e]) return $; 17738 if (_e !== "px" && !ot && ($ = d(o, h, g, "px")), ut = o.getCTM && _isSVG(o), (it || _e === "%") && (_transformProps[h] || ~h.indexOf("adius"))) return at = ut ? o.getBBox()[tt ? "width" : "height"] : o[nt], _round$2(it ? $ / at * st : $ / 100 * at); 17739 if (et[tt ? "width" : "height"] = st + (ot ? _e : b), lt = b !== "rem" && ~h.indexOf("adius") || b === "em" && o.appendChild && !rt ? o : o.parentNode, ut && (lt = (o.ownerSVGElement || {}).parentNode), (!lt || lt === _doc$4 || !lt.appendChild) && (lt = _doc$4.body), ct = lt._gsap, ct && it && ct.width && tt && ct.time === _ticker.time && !ct.uncache) return _round$2($ / ct.width * st); 17740 if (it && (h === "height" || h === "width")) { 17741 var ft = o.style[h]; 17742 o.style[h] = st + b, at = o[nt], ft ? o.style[h] = ft : _removeProperty(o, h); 17743 } else (it || _e === "%") && !_nonStandardLayouts[_getComputedProperty(lt, "display")] && (et.position = _getComputedProperty(o, "position")), lt === o && (et.position = "static"), lt.appendChild(_tempDiv$1), at = _tempDiv$1[nt], lt.removeChild(_tempDiv$1), et.position = "absolute"; 17744 return tt && it && (ct = _getCache(lt), ct.time = _ticker.time, ct.width = lt[nt]), _round$2(ot ? at * $ / st : at && $ ? st / at * $ : 0); 17745 }, _get = function(o, h, g, b) { 17746 var $; 17747 return _pluginInitted || _initCore$2(), h in _propertyAliases && h !== "transform" && (h = _propertyAliases[h], ~h.indexOf(",") && (h = h.split(",")[0])), _transformProps[h] && h !== "transform" ? ($ = _parseTransform(o, b), $ = h !== "transformOrigin" ? $[h] : $.svg ? $.origin : _firstTwoOnly(_getComputedProperty(o, _transformOriginProp$2)) + " " + $.zOrigin + "px") : ($ = o.style[h], (!$ || $ === "auto" || b || ~($ + "").indexOf("calc(")) && ($ = _specialProps[h] && _specialProps[h](o, h, g) || _getComputedProperty(o, h) || _getProperty(o, h) || (h === "opacity" ? 1 : 0))), g && !~($ + "").trim().indexOf(" ") ? _convertToUnit(o, h, $, g) + g : $; 17748 }, _tweenComplexCSSString = function(o, h, g, b) { 17749 if (!g || g === "none") { 17750 var $ = _checkPropPrefix(h, o, 1), _e = $ && _getComputedProperty(o, $, 1); 17751 _e && _e !== g ? (h = $, g = _e) : h === "borderColor" && (g = _getComputedProperty(o, "borderTopColor")); 17752 } 17753 var et = new PropTween(this._pt, o.style, h, 0, 1, _renderComplexString), tt = 0, rt = 0, nt, st, ot, it, at, lt, ct, ut, ft, dt, pt, ht; 17754 if (et.b = g, et.e = b, g += "", b += "", b.substring(0, 6) === "var(--" && (b = _getComputedProperty(o, b.substring(4, b.indexOf(")")))), b === "auto" && (lt = o.style[h], o.style[h] = b, b = _getComputedProperty(o, h) || b, lt ? o.style[h] = lt : _removeProperty(o, h)), nt = [ 17755 g, 17756 b 17757 ], _colorStringFilter(nt), g = nt[0], b = nt[1], ot = g.match(_numWithUnitExp) || [], ht = b.match(_numWithUnitExp) || [], ht.length) { 17758 for (; st = _numWithUnitExp.exec(b); ) ct = st[0], ft = b.substring(tt, st.index), at ? at = (at + 1) % 5 : (ft.substr(-5) === "rgba(" || ft.substr(-5) === "hsla(") && (at = 1), ct !== (lt = ot[rt++] || "") && (it = parseFloat(lt) || 0, pt = lt.substr((it + "").length), ct.charAt(1) === "=" && (ct = _parseRelative(it, ct) + pt), ut = parseFloat(ct), dt = ct.substr((ut + "").length), tt = _numWithUnitExp.lastIndex - dt.length, dt || (dt = dt || _config.units[h] || pt, tt === b.length && (b += dt, et.e += dt)), pt !== dt && (it = _convertToUnit(o, h, lt, dt) || 0), et._pt = { 17759 _next: et._pt, 17760 p: ft || rt === 1 ? ft : ",", 17761 s: it, 17762 c: ut - it, 17763 m: at && at < 4 || h === "zIndex" ? Math.round : 0 17764 }); 17765 et.c = tt < b.length ? b.substring(tt, b.length) : ""; 17766 } else et.r = h === "display" && b === "none" ? _renderNonTweeningValueOnlyAtEnd : _renderNonTweeningValue; 17767 return _relExp.test(b) && (et.e = 0), this._pt = et, et; 17768 }, _keywordToPercent = { 17769 top: "0%", 17770 bottom: "100%", 17771 left: "0%", 17772 right: "100%", 17773 center: "50%" 17774 }, _convertKeywordsToPercentages = function(o) { 17775 var h = o.split(" "), g = h[0], b = h[1] || "50%"; 17776 return (g === "top" || g === "bottom" || b === "left" || b === "right") && (o = g, g = b, b = o), h[0] = _keywordToPercent[g] || g, h[1] = _keywordToPercent[b] || b, h.join(" "); 17777 }, _renderClearProps = function(o, h) { 17778 if (h.tween && h.tween._time === h.tween._dur) { 17779 var g = h.t, b = g.style, $ = h.u, _e = g._gsap, et, tt, rt; 17780 if ($ === "all" || $ === true) b.cssText = "", tt = 1; 17781 else for ($ = $.split(","), rt = $.length; --rt > -1; ) et = $[rt], _transformProps[et] && (tt = 1, et = et === "transformOrigin" ? _transformOriginProp$2 : _transformProp$3), _removeProperty(g, et); 17782 tt && (_removeProperty(g, _transformProp$3), _e && (_e.svg && g.removeAttribute("transform"), b.scale = b.rotate = b.translate = "none", _parseTransform(g, 1), _e.uncache = 1, _removeIndependentTransforms(b))); 17783 } 17784 }, _specialProps = { 17785 clearProps: function(o, h, g, b, $) { 17786 if ($.data !== "isFromStart") { 17787 var _e = o._pt = new PropTween(o._pt, h, g, 0, 0, _renderClearProps); 17788 return _e.u = b, _e.pr = -10, _e.tween = $, o._props.push(g), 1; 17789 } 17790 } 17791 }, _identity2DMatrix = [ 17792 1, 17793 0, 17794 0, 17795 1, 17796 0, 17797 0 17798 ], _rotationalProperties = {}, _isNullTransform = function(o) { 17799 return o === "matrix(1, 0, 0, 1, 0, 0)" || o === "none" || !o; 17800 }, _getComputedTransformMatrixAsArray = function(o) { 17801 var h = _getComputedProperty(o, _transformProp$3); 17802 return _isNullTransform(h) ? _identity2DMatrix : h.substr(7).match(_numExp).map(_round$2); 17803 }, _getMatrix = function(o, h) { 17804 var g = o._gsap || _getCache(o), b = o.style, $ = _getComputedTransformMatrixAsArray(o), _e, et, tt, rt; 17805 return g.svg && o.getAttribute("transform") ? (tt = o.transform.baseVal.consolidate().matrix, $ = [ 17806 tt.a, 17807 tt.b, 17808 tt.c, 17809 tt.d, 17810 tt.e, 17811 tt.f 17812 ], $.join(",") === "1,0,0,1,0,0" ? _identity2DMatrix : $) : ($ === _identity2DMatrix && !o.offsetParent && o !== _docElement$2 && !g.svg && (tt = b.display, b.display = "block", _e = o.parentNode, (!_e || !o.offsetParent && !o.getBoundingClientRect().width) && (rt = 1, et = o.nextElementSibling, _docElement$2.appendChild(o)), $ = _getComputedTransformMatrixAsArray(o), tt ? b.display = tt : _removeProperty(o, "display"), rt && (et ? _e.insertBefore(o, et) : _e ? _e.appendChild(o) : _docElement$2.removeChild(o))), h && $.length > 6 ? [ 17813 $[0], 17814 $[1], 17815 $[4], 17816 $[5], 17817 $[12], 17818 $[13] 17819 ] : $); 17820 }, _applySVGOrigin = function(o, h, g, b, $, _e) { 17821 var et = o._gsap, tt = $ || _getMatrix(o, true), rt = et.xOrigin || 0, nt = et.yOrigin || 0, st = et.xOffset || 0, ot = et.yOffset || 0, it = tt[0], at = tt[1], lt = tt[2], ct = tt[3], ut = tt[4], ft = tt[5], dt = h.split(" "), pt = parseFloat(dt[0]) || 0, ht = parseFloat(dt[1]) || 0, mt, gt, yt, xt; 17822 g ? tt !== _identity2DMatrix && (gt = it * ct - at * lt) && (yt = pt * (ct / gt) + ht * (-lt / gt) + (lt * ft - ct * ut) / gt, xt = pt * (-at / gt) + ht * (it / gt) - (it * ft - at * ut) / gt, pt = yt, ht = xt) : (mt = _getBBox(o), pt = mt.x + (~dt[0].indexOf("%") ? pt / 100 * mt.width : pt), ht = mt.y + (~(dt[1] || dt[0]).indexOf("%") ? ht / 100 * mt.height : ht)), b || b !== false && et.smooth ? (ut = pt - rt, ft = ht - nt, et.xOffset = st + (ut * it + ft * lt) - ut, et.yOffset = ot + (ut * at + ft * ct) - ft) : et.xOffset = et.yOffset = 0, et.xOrigin = pt, et.yOrigin = ht, et.smooth = !!b, et.origin = h, et.originIsAbsolute = !!g, o.style[_transformOriginProp$2] = "0px 0px", _e && (_addNonTweeningPT(_e, et, "xOrigin", rt, pt), _addNonTweeningPT(_e, et, "yOrigin", nt, ht), _addNonTweeningPT(_e, et, "xOffset", st, et.xOffset), _addNonTweeningPT(_e, et, "yOffset", ot, et.yOffset)), o.setAttribute("data-svg-origin", pt + " " + ht); 17823 }, _parseTransform = function(o, h) { 17824 var g = o._gsap || new GSCache(o); 17825 if ("x" in g && !h && !g.uncache) return g; 17826 var b = o.style, $ = g.scaleX < 0, _e = "px", et = "deg", tt = getComputedStyle(o), rt = _getComputedProperty(o, _transformOriginProp$2) || "0", nt, st, ot, it, at, lt, ct, ut, ft, dt, pt, ht, mt, gt, yt, xt, _t, St, kt, Rt, Tt, Yt, Dt, Ot, Mt, Vt, Et, Ht, Kt, ir, sr, Er; 17827 return nt = st = ot = lt = ct = ut = ft = dt = pt = 0, it = at = 1, g.svg = !!(o.getCTM && _isSVG(o)), tt.translate && ((tt.translate !== "
17827none" || tt.scale !== "none" || tt.rotate !== "none") && (b[_transformProp$3] = (tt.translate !== "none" ? "translate3d(" + (tt.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (tt.rotate !== "none" ? "rotate(" + tt.rotate + ") " : "") + (tt.scale !== "none" ? "scale(" + tt.scale.split(" ").join(",") + ") " : "") + (tt[_transformProp$3] !== "none" ? tt[_transformProp$3] : "")), b.scale = b.rotate = b.translate = "none"), gt = _getMatrix(o, g.svg), g.svg && (g.uncache ? (Mt = o.getBBox(), rt = g.xOrigin - Mt.x + "px " + (g.yOrigin - Mt.y) + "px", Ot = "") : Ot = !h && o.getAttribute("data-svg-origin"), _applySVGOrigin(o, Ot || rt, !!Ot || g.originIsAbsolute, g.smooth !== false, gt)), ht = g.xOrigin || 0, mt = g.yOrigin || 0, gt !== _identity2DMatrix && (St = gt[0], kt = gt[1], Rt = gt[2], Tt = gt[3], nt = Yt = gt[4], st = Dt = gt[5], gt.length === 6 ? (it = Math.sqrt(St * St + kt * kt), at = Math.sqrt(Tt * Tt + Rt * Rt), lt = St || kt ? _atan2(kt, St) * _RAD2DEG$1 : 0, ft = Rt || Tt ? _atan2(Rt, Tt) * _RAD2DEG$1 + lt : 0, ft && (at *= Math.abs(Math.cos(ft * _DEG2RAD))), g.svg && (nt -= ht - (ht * St + mt * Rt), st -= mt - (ht * kt + mt * Tt))) : (Er = gt[6], ir = gt[7], Et = gt[8], Ht = gt[9], Kt = gt[10], sr = gt[11], nt = gt[12], st = gt[13], ot = gt[14], yt = _atan2(Er, Kt), ct = yt * _RAD2DEG$1, yt && (xt = Math.cos(-yt), _t = Math.sin(-yt), Ot = Yt * xt + Et * _t, Mt = Dt * xt + Ht * _t, Vt = Er * xt + Kt * _t, Et = Yt * -_t + Et * xt, Ht = Dt * -_t + Ht * xt, Kt = Er * -_t + Kt * xt, sr = ir * -_t + sr * xt, Yt = Ot, Dt = Mt, Er = Vt), yt = _atan2(-Rt, Kt), ut = yt * _RAD2DEG$1, yt && (xt = Math.cos(-yt), _t = Math.sin(-yt), Ot = St * xt - Et * _t, Mt = kt * xt - Ht * _t, Vt = Rt * xt - Kt * _t, sr = Tt * _t + sr * xt, St = Ot, kt = Mt, Rt = Vt), yt = _atan2(kt, St), lt = yt * _RAD2DEG$1, yt && (xt = Math.cos(yt), _t = Math.sin(yt), Ot = St * xt + kt * _t, Mt = Yt * xt + Dt * _t, kt = kt * xt - St * _t, Dt = Dt * xt - Yt * _t, St = Ot, Yt = Mt), ct && Math.abs(ct) + Math.abs(lt) > 359.9 && (ct = lt = 0, ut = 180 - ut), it = _round$2(Math.sqrt(St * St + kt * kt + Rt * Rt)), at = _round$2(Math.sqrt(Dt * Dt + Er * Er)), yt = _atan2(Yt, Dt), ft = Math.abs(yt) > 2e-4 ? yt * _RAD2DEG$1 : 0, pt = sr ? 1 / (sr < 0 ? -sr : sr) : 0), g.svg && (Ot = o.getAttribute("transform"), g.forceCSS = o.setAttribute("transform", "") || !_isNullTransform(_getComputedProperty(o, _transformProp$3)), Ot && o.setAttribute("transform", Ot))), Math.abs(ft) > 90 && Math.abs(ft) < 270 && ($ ? (it *= -1, ft += lt <= 0 ? 180 : -180, lt += lt <= 0 ? 180 : -180) : (at *= -1, ft += ft <= 0 ? 180 : -180)), h = h || g.uncache, g.x = nt - ((g.xPercent = nt && (!h && g.xPercent || (Math.round(o.offsetWidth / 2) === Math.round(-nt) ? -50 : 0))) ? o.offsetWidth * g.xPercent / 100 : 0) + _e, g.y = st - ((g.yPercent = st && (!h && g.yPercent || (Math.round(o.offsetHeight / 2) === Math.round(-st) ? -50 : 0))) ? o.offsetHeight * g.yPercent / 100 : 0) + _e, g.z = ot + _e, g.scaleX = _round$2(it), g.scaleY = _round$2(at), g.rotation = _round$2(lt) + et, g.rotationX = _round$2(ct) + et, g.rotationY = _round$2(ut) + et, g.skewX = ft + et, g.skewY = dt + et, g.transformPerspective = pt + _e, (g.zOrigin = parseFloat(rt.split(" ")[2]) || !h && g.zOrigin || 0) && (b[_transformOriginProp$2] = _firstTwoOnly(rt)), g.xOffset = g.yOffset = 0, g.force3D = _config.force3D, g.renderTransform = g.svg ? _renderSVGTransforms : _supports3D$1 ? _renderCSSTransforms : _renderNon3DTransforms, g.uncache = 0, g; 17828 }, _firstTwoOnly = function(o) { 17829 return (o = o.split(" "))[0] + " " + o[1]; 17830 }, _addPxTranslate = function(o, h, g) { 17831 var b = getUnit(h); 17832 return _round$2(parseFloat(h) + parseFloat(_convertToUnit(o, "x", g + "px", b))) + b; 17833 }, _renderNon3DTransforms = function(o, h) { 17834 h.z = "0px", h.rotationY = h.rotationX = "0deg", h.force3D = 0, _renderCSSTransforms(o, h); 17835 }, _zeroDeg = "0deg", _zeroPx = "0px", _endParenthesis = ") ", _renderCSSTransforms = function(o, h) { 17836 var g = h || this, b = g.xPercent, $ = g.yPercent, _e = g.x, et = g.y, tt = g.z, rt = g.rotation, nt = g.rotationY, st = g.rotationX, ot = g.skewX, it = g.skewY, at = g.scaleX, lt = g.scaleY, ct = g.transformPerspective, ut = g.force3D, ft = g.target, dt = g.zOrigin, pt = "", ht = ut === "auto" && o && o !== 1 || ut === true; 17837 if (dt && (st !== _zeroDeg || nt !== _zeroDeg)) { 17838 var mt = parseFloat(nt) * _DEG2RAD, gt = Math.sin(mt), yt = Math.
vendor: 10,465 bytes, lines 17838-17942
17838cos(mt), xt; 17839 mt = parseFloat(st) * _DEG2RAD, xt = Math.cos(mt), _e = _addPxTranslate(ft, _e, gt * xt * -dt), et = _addPxTranslate(ft, et, -Math.sin(mt) * -dt), tt = _addPxTranslate(ft, tt, yt * xt * -dt + dt); 17840 } 17841 ct !== _zeroPx && (pt += "perspective(" + ct + _endParenthesis), (b || $) && (pt += "translate(" + b + "%, " + $ + "%) "), (ht || _e !== _zeroPx || et !== _zeroPx || tt !== _zeroPx) && (pt += tt !== _zeroPx || ht ? "translate3d(" + _e + ", " + et + ", " + tt + ") " : "translate(" + _e + ", " + et + _endParenthesis), rt !== _zeroDeg && (pt += "rotate(" + rt + _endParenthesis), nt !== _zeroDeg && (pt += "rotateY(" + nt + _endParenthesis), st !== _zeroDeg && (pt += "rotateX(" + st + _endParenthesis), (ot !== _zeroDeg || it !== _zeroDeg) && (pt += "skew(" + ot + ", " + it + _endParenthesis), (at !== 1 || lt !== 1) && (pt += "scale(" + at + ", " + lt + _endParenthesis), ft.style[_transformProp$3] = pt || "translate(0, 0)"; 17842 }, _renderSVGTransforms = function(o, h) { 17843 var g = h || this, b = g.xPercent, $ = g.yPercent, _e = g.x, et = g.y, tt = g.rotation, rt = g.skewX, nt = g.skewY, st = g.scaleX, ot = g.scaleY, it = g.target, at = g.xOrigin, lt = g.yOrigin, ct = g.xOffset, ut = g.yOffset, ft = g.forceCSS, dt = parseFloat(_e), pt = parseFloat(et), ht, mt, gt, yt, xt; 17844 tt = parseFloat(tt), rt = parseFloat(rt), nt = parseFloat(nt), nt && (nt = parseFloat(nt), rt += nt, tt += nt), tt || rt ? (tt *= _DEG2RAD, rt *= _DEG2RAD, ht = Math.cos(tt) * st, mt = Math.sin(tt) * st, gt = Math.sin(tt - rt) * -ot, yt = Math.cos(tt - rt) * ot, rt && (nt *= _DEG2RAD, xt = Math.tan(rt - nt), xt = Math.sqrt(1 + xt * xt), gt *= xt, yt *= xt, nt && (xt = Math.tan(nt), xt = Math.sqrt(1 + xt * xt), ht *= xt, mt *= xt)), ht = _round$2(ht), mt = _round$2(mt), gt = _round$2(gt), yt = _round$2(yt)) : (ht = st, yt = ot, mt = gt = 0), (dt && !~(_e + "").indexOf("px") || pt && !~(et + "").indexOf("px")) && (dt = _convertToUnit(it, "x", _e, "px"), pt = _convertToUnit(it, "y", et, "px")), (at || lt || ct || ut) && (dt = _round$2(dt + at - (at * ht + lt * gt) + ct), pt = _round$2(pt + lt - (at * mt + lt * yt) + ut)), (b || $) && (xt = it.getBBox(), dt = _round$2(dt + b / 100 * xt.width), pt = _round$2(pt + $ / 100 * xt.height)), xt = "matrix(" + ht + "," + mt + "," + gt + "," + yt + "," + dt + "," + pt + ")", it.setAttribute("transform", xt), ft && (it.style[_transformProp$3] = xt); 17845 }, _addRotationalPropTween = function(o, h, g, b, $) { 17846 var _e = 360, et = _isString$1($), tt = parseFloat($) * (et && ~$.indexOf("rad") ? _RAD2DEG$1 : 1), rt = tt - b, nt = b + rt + "deg", st, ot; 17847 return et && (st = $.split("_")[1], st === "short" && (rt %= _e, rt !== rt % (_e / 2) && (rt += rt < 0 ? _e : -360)), st === "cw" && rt < 0 ? rt = (rt + _e * _bigNum$1) % _e - ~~(rt / _e) * _e : st === "ccw" && rt > 0 && (rt = (rt - _e * _bigNum$1) % _e - ~~(rt / _e) * _e)), o._pt = ot = new PropTween(o._pt, h, g, b, rt, _renderPropWithEnd), ot.e = nt, ot.u = "deg", o._props.push(g), ot; 17848 }, _assign = function(o, h) { 17849 for (var g in h) o[g] = h[g]; 17850 return o; 17851 }, _addRawTransformPTs = function(o, h, g) { 17852 var b = _assign({}, g._gsap), $ = "perspective,force3D,transformOrigin,svgOrigin", _e = g.style, et, tt, rt, nt, st, ot, it, at; 17853 b.svg ? (rt = g.getAttribute("transform"), g.setAttribute("transform", ""), _e[_transformProp$3] = h, et = _parseTransform(g, 1), _removeProperty(g, _transformProp$3), g.setAttribute("transform", rt)) : (rt = getComputedStyle(g)[_transformProp$3], _e[_transformProp$3] = h, et = _parseTransform(g, 1), _e[_transformProp$3] = rt); 17854 for (tt in _transformProps) rt = b[tt], nt = et[tt], rt !== nt && $.indexOf(tt) < 0 && (it = getUnit(rt), at = getUnit(nt), st = it !== at ? _convertToUnit(g, tt, rt, at) : parseFloat(rt), ot = parseFloat(nt), o._pt = new PropTween(o._pt, et, tt, st, ot - st, _renderCSSProp), o._pt.u = at || 0, o._props.push(tt)); 17855 _assign(et, b); 17856 }; 17857 _forEachName("padding,margin,Width,Radius", function(d, o) { 17858 var h = "Top", g = "Right", b = "Bottom", $ = "Left", _e = (o < 3 ? [ 17859 h, 17860 g, 17861 b, 17862 $ 17863 ] : [ 17864 h + $, 17865 h + g, 17866 b + g, 17867 b + $ 17868 ]).map(function(et) { 17869 return o < 2 ? d + et : "border" + et + d; 17870 }); 17871 _specialProps[o > 1 ? "border" + d : d] = function(et, tt, rt, nt, st) { 17872 var ot, it; 17873 if (arguments.length < 4) return ot = _e.map(function(at) { 17874 return _get(et, at, rt); 17875 }), it = ot.join(" "), it.split(ot[0]).length === 5 ? ot[0] : it; 17876 ot = (nt + "").split(" "), it = {}, _e.forEach(function(at, lt) { 17877 return it[at] = ot[lt] = ot[lt] || ot[(lt - 1) / 2 | 0]; 17878 }), et.init(tt, it, st); 17879 }; 17880 }); 17881 var CSSPlugin = { 17882 name: "css", 17883 register: _initCore$2, 17884 targetTest: function(o) { 17885 return o.style && o.nodeType; 17886 }, 17887 init: function(o, h, g, b, $) { 17888 var _e = this._props, et = o.style, tt = g.vars.startAt, rt, nt, st, ot, it, at, lt, ct, ut, ft, dt, pt, ht, mt, gt, yt; 17889 _pluginInitted || _initCore$2(), this.styles = this.styles || _getStyleSaver$1(o), yt = this.styles.props, this.tween = g; 17890 for (lt in h) if (lt !== "autoRound" && (nt = h[lt], !(_plugins[lt] && _checkPlugin(lt, h, g, b, o, $)))) { 17891 if (it = typeof nt, at = _specialProps[lt], it === "function" && (nt = nt.call(g, b, o, $), it = typeof nt), it === "string" && ~nt.indexOf("random(") && (nt = _replaceRandom(nt)), at) at(this, o, lt, nt, g) && (gt = 1); 17892 else if (lt.substr(0, 2) === "--") rt = (getComputedStyle(o).getPropertyValue(lt) + "").trim(), nt += "", _colorExp.lastIndex = 0, _colorExp.test(rt) || (ct = getUnit(rt), ut = getUnit(nt)), ut ? ct !== ut && (rt = _convertToUnit(o, lt, rt, ut) + ut) : ct && (nt += ct), this.add(et, "setProperty", rt, nt, b, $, 0, 0, lt), _e.push(lt), yt.push(lt, 0, et[lt]); 17893 else if (it !== "undefined") { 17894 if (tt && lt in tt ? (rt = typeof tt[lt] == "function" ? tt[lt].call(g, b, o, $) : tt[lt], _isString$1(rt) && ~rt.indexOf("random(") && (rt = _replaceRandom(rt)), getUnit(rt + "") || rt === "auto" || (rt += _config.units[lt] || getUnit(_get(o, lt)) || ""), (rt + "").charAt(1) === "=" && (rt = _get(o, lt))) : rt = _get(o, lt), ot = parseFloat(rt), ft = it === "string" && nt.charAt(1) === "=" && nt.substr(0, 2), ft && (nt = nt.substr(2)), st = parseFloat(nt), lt in _propertyAliases && (lt === "autoAlpha" && (ot === 1 && _get(o, "visibility") === "hidden" && st && (ot = 0), yt.push("visibility", 0, et.visibility), _addNonTweeningPT(this, et, "visibility", ot ? "inherit" : "hidden", st ? "inherit" : "hidden", !st)), lt !== "scale" && lt !== "transform" && (lt = _propertyAliases[lt], ~lt.indexOf(",") && (lt = lt.split(",")[0]))), dt = lt in _transformProps, dt) { 17895 if (this.styles.save(lt), it === "string" && nt.substring(0, 6) === "var(--" && (nt = _getComputedProperty(o, nt.substring(4, nt.indexOf(")"))), st = parseFloat(nt)), pt || (ht = o._gsap, ht.renderTransform && !h.parseTransform || _parseTransform(o, h.parseTransform), mt = h.smoothOrigin !== false && ht.smooth, pt = this._pt = new PropTween(this._pt, et, _transformProp$3, 0, 1, ht.renderTransform, ht, 0, -1), pt.dep = 1), lt === "scale") this._pt = new PropTween(this._pt, ht, "scaleY", ht.scaleY, (ft ? _parseRelative(ht.scaleY, ft + st) : st) - ht.scaleY || 0, _renderCSSProp), this._pt.u = 0, _e.push("scaleY", lt), lt += "X"; 17896 else if (lt === "transformOrigin") { 17897 yt.push(_transformOriginProp$2, 0, et[_transformOriginProp$2]), nt = _convertKeywordsToPercentages(nt), ht.svg ? _applySVGOrigin(o, nt, 0, mt, 0, this) : (ut = parseFloat(nt.split(" ")[2]) || 0, ut !== ht.zOrigin && _addNonTweeningPT(this, ht, "zOrigin", ht.zOrigin, ut), _addNonTweeningPT(this, et, lt, _firstTwoOnly(rt), _firstTwoOnly(nt))); 17898 continue; 17899 } else if (lt === "svgOrigin") { 17900 _applySVGOrigin(o, nt, 1, mt, 0, this); 17901 continue; 17902 } else if (lt in _rotationalProperties) { 17903 _addRotationalPropTween(this, ht, lt, ot, ft ? _parseRelative(ot, ft + nt) : nt); 17904 continue; 17905 } else if (lt === "smoothOrigin") { 17906 _addNonTweeningPT(this, ht, "smooth", ht.smooth, nt); 17907 continue; 17908 } else if (lt === "force3D") { 17909 ht[lt] = nt; 17910 continue; 17911 } else if (lt === "transform") { 17912 _addRawTransformPTs(this, nt, o); 17913 continue; 17914 } 17915 } else lt in et || (lt = _checkPropPrefix(lt) || lt); 17916 if (dt || (st || st === 0) && (ot || ot === 0) && !_complexExp.test(nt) && lt in et) ct = (rt + "").substr((ot + "").length), st || (st = 0), ut = getUnit(nt) || (lt in _config.units ? _config.units[lt] : ct), ct !== ut && (ot = _convertToUnit(o, lt, rt, ut)), this._pt = new PropTween(this._pt, dt ? ht : et, lt, ot, (ft ? _parseRelative(ot, ft + st) : st) - ot, !dt && (ut === "px" || lt === "zIndex") && h.autoRound !== false ? _renderRoundedCSSProp : _renderCSSProp), this._pt.u = ut || 0, ct !== ut && ut !== "%" && (this._pt.b = rt, this._pt.r = _renderCSSPropWithBeginning); 17917 else if (lt in et) _tweenComplexCSSString.call(this, o, lt, rt, ft ? ft + nt : nt); 17918 else if (lt in o) this.add(o, lt, rt || o[lt], ft ? ft + nt : nt, b, $); 17919 else if (lt !== "parseTransform") { 17920 _missingPlugin(lt, nt); 17921 continue; 17922 } 17923 dt || (lt in et ? yt.push(lt, 0, et[lt]) : typeof o[lt] == "function" ? yt.push(lt, 2, o[lt]()) : yt.push(lt, 1, rt || o[lt])), _e.push(lt); 17924 } 17925 } 17926 gt && _sortPropTweensByPriority(this); 17927 }, 17928 render: function(o, h) { 17929 if (h.tween._time || !_reverting()) for (var g = h._pt; g; ) g.r(o, g.d), g = g._next; 17930 else h.styles.revert(); 17931 }, 17932 get: _get, 17933 aliases: _propertyAliases, 17934 getSetter: function(o, h, g) { 17935 var b = _propertyAliases[h]; 17936 return b && b.indexOf(",") < 0 && (h = b), h in _transformProps && h !== _transformOriginProp$2 && (o._gsap.x || _get(o, "x")) ? g && _recentSetterPlugin === g ? h === "scale" ? _setterScale : _setterTransform : (_recentSetterPlugin = g || {}) && (h === "scale" ? _setterScaleWithRender : _setterTransformWithRender) : o.style && !_isUndefined$1(o.style[h]) ? _setterCSSStyle : ~h.indexOf("-") ? _setterCSSProp : _getSetter(o, h); 17937 }, 17938 core: { 17939 _removeProperty, 17940 _getMatrix 17941 } 17942 };
17943 gsap$3.utils.checkPrefix = _checkPropPrefix; 17944 gsap$3.core.getStyleSaver = _getStyleSaver$1; 17945 (function(d, o, h, g) { 17946 var b = _forEachName(d + "," + o + "," + h, function($) { 17947 _transformProps[$] = 1; 17948 }); 17949 _forEachName(o, function($) { 17950 _config.units[$] = "deg", _rotationalProperties[$] = 1; 17951 }), _propertyAliases[b[13]] = d + "," + o, _forEachName(g, function($) { 17952 var _e = $.split(":"); 17953 _propertyAliases[_e[1]] = b[_e[0]]; 17954 }); 17955 })("x,y,z,scale,scaleX,scaleY,xPercent,yPercent", "rotation,rotationX,rotationY,skewX,skewY", "transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective", "0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"); 17956 _forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(d) { 17957 _config.units[d] = "px"; 17958 }); 17959 gsap$3.registerPlugin(CSSPlugin); 17960 var gsapWithCSS = gsap$3.registerPlugin(CSSPlugin) || gsap$3; 17961 gsapWithCSS.core.Tween; 17962 function _defineProperties(d, o) { 17963 for (var h = 0; h < o.length; h++) { 17964 var g = o[h]; 17965 g.enumerable = g.enumerable || false, g.configurable = true, "value" in g && (g.writable = true), Object.defineProperty(d, g.key, g); 17966 } 17967 } 17968 function _createClass(d, o, h) { 17969 return o && _defineProperties(d.prototype, o), d; 17970 } 17971 var gsap$2, _coreInitted$2, _win$3, _doc$3, _docEl$1, _body$3, _isTouch, _pointerType, ScrollTrigger$1, _root$1, _normalizer$1, _eventTypes, _context$2, _getGSAP$2 = function() { 17972 return gsap$2 || typeof window < "u" && (gsap$2 = window.gsap) && gsap$2.registerPlugin && gsap$2; 17973 }, _startup$1 = 1, _observers = [], _scrollers = [], _proxies = [], _getTime$2 = Date.now, _bridge = function(o, h) { 17974 return h; 17975 }, _integrate = function() { 17976 var o = ScrollTrigger$1.core, h = o.bridge || {}, g = o._scrollers, b = o._proxies; 17977 g.push.apply(g, _scrollers), b.push.apply(b, _proxies), _scrollers = g, _proxies = b, _bridge = function(_e, et) { 17978 return h[_e](et); 17979 }; 17980 }, _getProxyProp = function(o, h) { 17981 return ~_proxies.indexOf(o) && _proxies[_proxies.indexOf(o) + 1][h]; 17982 }, _isViewport$1 = function(o) { 17983 return !!~_root$1.indexOf(o); 17984 }, _addListener$2 = function(o, h, g, b, $) { 17985 return o.addEventListener(h, g, { 17986 passive: b !== false, 17987 capture: !!$ 17988 }); 17989 }, _removeListener$2 = function(o, h, g, b) { 17990 return o.removeEventListener(h, g, !!b); 17991 }, _scrollLeft = "scrollLeft", _scrollTop = "scrollTop", _onScroll$1 = function() { 17992 return _normalizer$1 && _normalizer$1.isPressed || _scrollers.cache++; 17993 }, _scrollCacheFunc = function(o, h) { 17994 var g = function b($) { 17995 if ($ || $ === 0) { 17996 _startup$1 && (_win$3.history.scrollRestoration = "manual"); 17997 var _e = _normalizer$1 && _normalizer$1.isPressed; 17998 $ = b.v = Math.round($) || (_normalizer$1 && _normalizer$1.iOS ? 1 : 0), o($), b.cacheID = _scrollers.cache, _e && _bridge("ss", $); 17999 } else (h || _scrollers.cache !== b.cacheID || _bridge("ref")) && (b.cacheID = _scrollers.cache, b.v = o()); 18000 return b.v + b.offset; 18001 }; 18002 return g.offset = 0, o && g; 18003 }, _horizontal = { 18004 s: _scrollLeft, 18005 p: "left", 18006 p2: "Left", 18007 os: "right", 18008 os2: "Right", 18009 d: "width", 18010 d2: "Width", 18011 a: "x", 18012 sc: _scrollCacheFunc(function(d) { 18013 return arguments.length ? _win$3.scrollTo(d, _vertical.sc()) : _win$3.pageXOffset || _doc$3[_scrollLeft] || _docEl$1[_scrollLeft] || _body$3[_scrollLeft] || 0; 18014 }) 18015 }, _vertical = { 18016 s: _scrollTop, 18017 p: "top", 18018 p2: "Top", 18019 os: "bottom", 18020 os2: "Bottom", 18021 d: "height", 18022 d2: "Height", 18023 a: "y", 18024 op: _horizontal, 18025 sc: _scrollCacheFunc(function(d) { 18026 return arguments.length ? _win$3.scrollTo(_horizontal.sc(), d) : _win$3.pageYOffset || _doc$3[_scrollTop] || _docEl$1[_scrollTop] || _body$3[_scrollTop] || 0; 18027 }) 18028 }, _getTarget = function(o, h) { 18029 return (h && h._ctx && h._ctx.selector || gsap$2.utils.toArray)(o)[0] || (typeof o == "string" && gsap$2.config().nullTargetWarn !== false ? console.warn("Element not found:", o) : null); 18030 }, _isWithin = function(o, h) { 18031 for (var g = h.length; g--; ) if (h[g] === o || h[g].contains(o)) return true; 18032 return false;
18033 }, _getScrollFunc = function(o, h) { 18034 var g = h.s, b = h.sc; 18035 _isViewport$1(o) && (o = _doc$3.scrollingElement || _docEl$1); 18036 var $ = _scrollers.indexOf(o), _e = b === _vertical.sc ? 1 : 2; 18037 !~$ && ($ = _scrollers.push(o) - 1), _scrollers[$ + _e] || _addListener$2(o, "scroll", _onScroll$1); 18038 var et = _scrollers[$ + _e], tt = et || (_scrollers[$ + _e] = _scrollCacheFunc(_getProxyProp(o, g), true) || (_isViewport$1(o) ? b : _scrollCacheFunc(function(rt) { 18039 return arguments.length ? o[g] = rt : o[g]; 18040 }))); 18041 return tt.target = o, et || (tt.smooth = gsap$2.getProperty(o, "scrollBehavior") === "smooth"), tt; 18042 }, _getVelocityProp = function(o, h, g) { 18043 var b = o, $ = o, _e = _getTime$2(), et = _e, tt = h || 50, rt = Math.max(500, tt * 3), nt = function(at, lt) { 18044 var ct = _getTime$2(); 18045 lt || ct - _e > tt ? ($ = b, b = at, et = _e, _e = ct) : g ? b += at : b = $ + (at - $) / (ct - et) * (_e - et); 18046 }, st = function() { 18047 $ = b = g ? 0 : b, et = _e = 0; 18048 }, ot = function(at) { 18049 var lt = et, ct = $, ut = _getTime$2(); 18050 return (at || at === 0) && at !== b && nt(at), _e === et || ut - et > rt ? 0 : (b + (g ? ct : -ct)) / ((g ? ut : _e) - lt) * 1e3; 18051 }; 18052 return { 18053 update: nt, 18054 reset: st, 18055 getVelocity: ot 18056 }; 18057 }, _getEvent = function(o, h) { 18058 return h && !o._gsapAllow && o.preventDefault(), o.changedTouches ? o.changedTouches[0] : o; 18059 }, _getAbsoluteMax = function(o) { 18060 var h = Math.max.apply(Math, o), g = Math.min.apply(Math, o); 18061 return Math.abs(h) >= Math.abs(g) ? h : g; 18062 }, _setScrollTrigger = function() { 18063 ScrollTrigger$1 = gsap$2.core.globals().ScrollTrigger, ScrollTrigger$1 && ScrollTrigger$1.core && _integrate(); 18064 }, _initCore$1 = function(o) { 18065 return gsap$2 = o || _getGSAP$2(), !_coreInitted$2 && gsap$2 && typeof document < "u" && document.body && (_win$3 = window, _doc$3 = document, _docEl$1 = _doc$3.documentElement, _body$3 = _doc$3.body, _root$1 = [ 18066 _win$3, 18067 _doc$3, 18068 _docEl$1, 18069 _body$3 18070 ], gsap$2.utils.clamp, _context$2 = gsap$2.core.context || function() { 18071 }, _pointerType = "onpointerenter" in _body$3 ? "pointer" : "mouse", _isTouch = Observer$1.isTouch = _win$3.matchMedia && _win$3.matchMedia("(hover: none), (pointer: coarse)").matches ? 1 : "ontouchstart" in _win$3 || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0 ? 2 : 0, _eventTypes = Observer$1.eventTypes = ("ontouchstart" in _docEl$1 ? "touchstart,touchmove,touchcancel,touchend" : "onpointerdown" in _docEl$1 ? "pointerdown,pointermove,pointercancel,pointerup" : "mousedown,mousemove,mouseup,mouseup").split(","), setTimeout(function() { 18072 return _startup$1 = 0; 18073 }, 500), _setScrollTrigger(), _coreInitted$2 = 1), _coreInitted$2; 18074 }; 18075 _horizontal.op = _vertical; 18076 _scrollers.cache = 0; 18077 var Observer$1 = function() { 18078 function d(h) { 18079 this.init(h); 18080 } 18081 var o = d.prototype; 18082 return o.init = function(g) { 18083 _coreInitted$2 || _initCore$1(gsap$2) || console.warn("Please gsap.registerPlugin(Observer)"), ScrollTrigger$1 || _setScrollTrigger(); 18084 var b = g.tolerance, $ = g.dragMinimum, _e = g.type, et = g.target, tt = g.lineHeight, rt = g.debounce, nt = g.preventDefault, st = g.onStop, ot = g.onStopDelay, it = g.ignore, at = g.wheelSpeed, lt = g.event, ct = g.onDragStart, ut = g.onDragEnd, ft = g.onDrag, dt = g.onPress, pt = g.onRelease, ht = g.onRight, mt = g.onLeft, gt = g.onUp, yt = g.onDown, xt = g.onChangeX, _t = g.onCh
18084angeY, St = g.onChange, kt = g.onToggleX, Rt = g.onToggleY, Tt = g.onHover, Yt = g.onHoverEnd, Dt = g.onMove, Ot = g.ignoreCheck, Mt = g.isNormalizer, Vt = g.onGestureStart, Et = g.onGestureEnd, Ht = g.onWheel, Kt = g.onEnable, ir = g.onDisable, sr = g.onClick, Er = g.scrollSpeed, $t = g.capture, pr = g.allowClicks, fr = g.lockAxis, Ur = g.onLockAxis; 18085 this.target = et = _getTarget(et) || _docEl$1, this.vars = g, it && (it = gsap$2.utils.toArray(it)), b = b || 1e-9, $ = $ || 0, at = at || 1, Er = Er || 1, _e = _e || "wheel,touch,pointer", rt = rt !== false, tt || (tt = parseFloat(_win$3.getComputedStyle(_body$3).lineHeight) || 22); 18086 var Tr, Rr, Or, Ar, yr, gr, Qr, zt = this, Cr = 0, Hr = 0, un = g.passive || !nt && g.passive !== false, Dr = _getScrollFunc(et, _horizontal), Sr = _getScrollFunc(et, _vertical), Ir = Dr(), Kr = Sr(), Nr = ~_e.indexOf("touch") && !~_e.indexOf("pointer") && _eventTypes[0] === "pointerdown", ar = _isViewport$1(et), or = et.ownerDocument || _doc$3, dr = [ 18087 0, 18088 0, 18089 0 18090 ], br = [ 18091 0, 18092 0, 18093 0 18094 ], Fr = 0, Lr = function() { 18095 return Fr = _getTime$2(); 18096 }, mr = function(wt, Ct) { 18097 return (zt.event = wt) && it && _isWithin(wt.target, it) || Ct && Nr && wt.pointerType !== "touch" || Ot && Ot(wt, Ct); 18098 }, hr = function() { 18099 zt._vx.reset(), zt._vy.reset(), Rr.pause(), st && st(zt); 18100 }, zr = function() { 18101 var wt = zt.deltaX = _getAbsoluteMax(dr), Ct = zt.deltaY = _getAbsoluteMax(br), jt = Math.abs(wt) >= b, Ut = Math.abs(Ct) >= b; 18102 St && (jt || Ut) && St(zt, wt, Ct, dr, br), jt && (ht && zt.deltaX > 0 && ht(zt), mt && zt.deltaX < 0 && mt(zt), xt && xt(zt), kt && zt.deltaX < 0 != Cr < 0 && kt(zt), Cr = zt.deltaX, dr[0] = dr[1] = dr[2] = 0), Ut && (yt && zt.deltaY > 0 && yt(zt), gt && zt.deltaY < 0 && gt(zt), _t && _t(zt), Rt && zt.deltaY < 0 != Hr < 0 && Rt(zt), Hr = zt.deltaY, br[0] = br[1] = br[2] = 0), (Ar || Or) && (Dt && Dt(zt), Or && (ct && Or === 1 && ct(zt), ft && ft(zt), Or = 0), Ar = false), gr && !(gr = false) && Ur && Ur(zt), yr && (Ht(zt), yr = false), Tr = 0; 18103 }, sn = function(wt, Ct, jt) { 18104 dr[jt] += wt, br[jt] += Ct, zt._vx.update(wt), zt._vy.update(Ct), rt ? Tr || (Tr = requestAnimationFrame(zr)) : zr(); 18105 }, en = function(wt, Ct) { 18106 fr && !Qr && (zt.axis = Qr = Math.abs(wt) > Math.abs(Ct) ? "x" : "y", gr = true), Qr !== "y" && (dr[2] += wt, zt._vx.update(wt, true)), Qr !== "x" && (br[2] += Ct, zt._vy.update(Ct, true)), rt ? Tr || (Tr = requestAnimationFrame(zr)) : zr(); 18107 }, on = function(wt) { 18108 if (!mr(wt, 1)) { 18109 wt = _getEvent(wt, nt); 18110 var Ct = wt.clientX, jt = wt.clientY, Ut = Ct - zt.x, Lt = jt - zt.y, Qt = zt.isDragging; 18111 zt.x = Ct, zt.y = jt, (Qt || (Ut || Lt) && (Math.abs(zt.startX - Ct) >= $ || Math.abs(zt.startY - jt) >= $)) && (Or = Qt ? 2 : 1, Qt || (zt.isDragging = true), en(Ut, Lt)); 18112 } 18113 }, dn = zt.onPress = function(vt) { 18114 mr(vt, 1) || vt && vt.button || (zt.axis = Qr = null, Rr.pause(), zt.isPressed = true, vt = _getEvent(vt), Cr = Hr = 0, zt.startX = zt.x = vt.clientX, zt.startY = zt.y = vt.clientY, zt._vx.reset(), zt._vy.reset(), _addListener$2(Mt ? et : or, _eventTypes[1], on, un, true), zt.deltaX = zt.deltaY = 0, dt && dt(zt)); 18115 }, _r = zt.onRelease = function(vt) { 18116 if (!mr(vt, 1)) { 18117 _removeListener$2(Mt ? et : or, _eventTypes[1], on, true); 18118 var wt = !isNaN(zt.y - zt.startY), Ct = zt.isDragging, jt = Ct && (Math.abs(zt.x - zt.startX) > 3 || Math.abs(zt.y - zt.startY) > 3), Ut = _getEvent(vt); 18119 !jt && wt && (zt._vx.reset(), zt._vy.reset(), nt && pr && gsap$2.delayedCall(0.08, function() { 18120 if (_getTime$2() - Fr > 300 && !vt.defaultPrevented) { 18121 if (vt.target.click) vt.target.click(); 18122 else if (or.createEvent) { 18123 var Lt = or.createEvent("MouseEvents"); 18124 Lt.initMouseEvent("click", true, true, _win$3, 1, Ut.screenX, Ut.screenY, Ut.clientX, Ut.clientY, false, false, false, false, 0, null), vt.target.dispatchEvent(Lt); 18125 } 18126 } 18127 })), zt.isDragging = zt.isGesturing = zt.isPressed = false, st && Ct && !Mt && Rr.restart(true), Or && zr(), ut && Ct && ut(zt), pt && pt(zt, jt); 18128 } 18129 }, pn = function(wt) { 18130 return wt.touches && wt.touches.length > 1 && (zt.isGesturing = true) && Vt(wt, zt.isDragging); 18131 }, Vr = function() { 18132 return (zt.isGesturing = false) || Et(zt); 18133 }, tn = function(wt) { 18134 if (!mr(wt)) {
18135 var Ct = Dr(), jt = Sr(); 18136 sn((Ct - Ir) * Er, (jt - Kr) * Er, 1), Ir = Ct, Kr = jt, st && Rr.restart(true); 18137 } 18138 }, an = function(wt) { 18139 if (!mr(wt)) { 18140 wt = _getEvent(wt, nt), Ht && (yr = true); 18141 var Ct = (wt.deltaMode === 1 ? tt : wt.deltaMode === 2 ? _win$3.innerHeight : 1) * at; 18142 sn(wt.deltaX * Ct, wt.deltaY * Ct, 0), st && !Mt && Rr.restart(true); 18143 } 18144 }, fn = function(wt) { 18145 if (!mr(wt)) { 18146 var Ct = wt.clientX, jt = wt.clientY, Ut = Ct - zt.x, Lt = jt - zt.y; 18147 zt.x = Ct, zt.y = jt, Ar = true, st && Rr.restart(true), (Ut || Lt) && en(Ut, Lt); 18148 } 18149 }, lr = function(wt) { 18150 zt.event = wt, Tt(zt); 18151 }, Nt = function(wt) { 18152 zt.event = wt, Yt(zt); 18153 }, Jt = function(wt) { 18154 return mr(wt) || _getEvent(wt, nt) && sr(zt); 18155 }; 18156 Rr = zt._dc = gsap$2.delayedCall(ot || 0.25, hr).pause(), zt.deltaX = zt.deltaY = 0, zt._vx = _getVelocityProp(0, 50, true), zt._vy = _getVelocityProp(0, 50, true), zt.scrollX = Dr, zt.scrollY = Sr, zt.isDragging = zt.isGesturing = zt.isPressed = false, _context$2(this), zt.enable = function(vt) { 18157 return zt.isEnabled || (_addListener$2(ar ? or : et, "scroll", _onScroll$1), _e.indexOf("scroll") >= 0 && _addListener$2(ar ? or : et, "scroll", tn, un, $t), _e.indexOf("wheel") >= 0 && _addListener$2(et, "wheel", an, un, $t), (_e.indexOf("touch") >= 0 && _isTouch || _e.indexOf("pointer") >= 0) && (_addListener$2(et, _eventTypes[0], dn, un, $t), _addListener$2(or, _eventTypes[2], _r), _addListener$2(or, _eventTypes[3], _r), pr && _addListener$2(et, "click", Lr, true, true), sr && _addListener$2(et, "click", Jt), Vt && _addListener$2(or, "gesturestart", pn), Et && _addListener$2(or, "gestureend", Vr), Tt && _addListener$2(et, _pointerType + "enter", lr), Yt && _addListener$2(et, _pointerType + "leave", Nt), Dt && _addListener$2(et, _pointerType + "move", fn)), zt.isEnabled = true, zt.isDragging = zt.isGesturing = zt.isPressed = Ar = Or = false, zt._vx.reset(), zt._vy.reset(), Ir = Dr(), Kr = Sr(), vt && vt.type && dn(vt), Kt && Kt(zt)), zt; 18158 }, zt.disable = function() { 18159 zt.isEnabled && (_observers.filter(function(vt) { 18160 return vt !== zt && _isViewport$1(vt.target); 18161 }).length || _removeListener$2(ar ? or : et, "scroll", _onScroll$1), zt.isPressed && (zt._vx.reset(), zt._vy.reset(), _removeListener$2(Mt ? et : or, _eventTypes[1], on, true)), _removeListener$2(ar ? or : et, "scroll", tn, $t), _removeListener$2(et, "wheel", an, $t), _removeListener$2(et, _eventTypes[0], dn, $t), _removeListener$2(or, _eventTypes[2], _r), _removeListener$2(or, _eventTypes[3], _r), _removeListener$2(et, "click", Lr, true), _removeListener$2(et, "click", Jt), _removeListener$2(or, "gesturestart", pn), _removeListener$2(or, "gestureend", Vr), _removeListener$2(et, _pointerType + "enter", lr), _removeListener$2(et, _pointerType + "leave", Nt), _removeListener$2(et, _pointerType + "move", fn), zt.isEnabled = zt.isPressed = zt.isDragging = false, ir && ir(zt)); 18162 }, zt.kill = zt.revert = function() { 18163 zt.disable(); 18164 var vt = _observers.indexOf(zt); 18165 vt >= 0 && _observers.splice(vt, 1), _normalizer$1 === zt && (_normalizer$1 = 0); 18166 }, _observers.push(zt), Mt && _isViewport$1(et) && (_normalizer$1 = zt), zt.enable(lt); 18167 }, _createClass(d, [ 18168 { 18169 key: "velocityX", 18170 get: function() { 18171 return this._vx.getVelocity(); 18172 } 18173 }, 18174 { 18175 key: "velocityY", 18176 get: function() { 18177 return this._vy.getVelocity(); 18178 } 18179 } 18180 ]), d; 18181 }(); 18182 Observer$1.version = "3.13.0"; 18183 Observer$1.create = function(d) { 18184 return new Observer$1(d); 18185 }; 18186 Observer$1.register = _initCore$1; 18187 Observer$1.getAll = function() { 18188 return _observers.slice(); 18189 }; 18190 Observer$1.getById = function(d) { 18191 return _observers.filter(function(o) { 18192 return o.vars.id === d; 18193 })[0]; 18194 }; 18195 _getGSAP$2() && gsap$2.registerPlugin(Observer$1); 18196 let useIsomorphicLayoutEffect$2 = typeof document < "u" ? reactExports.useLayoutEffect : reactExports.useEffect, isConfig = (d) => d && !Array.isArray(d) && typeof d == "object", emptyArray = [], defaultConfig = {}, _gsap = gsapWithCSS; 18197 const useGSAP = (d, o = emptyArray) => { 18198 let h = defaultConfig; 18199 isConfig(d) ? (h = d, d = null, o = "dependencies" in h ? h.dependencies : emptyArray) : isConfig(o) && (h = o, o = "dependencies" in h ? h.dependencies : emptyArray), d && typeof d != "function" && console.warn("First parameter must be a function or config object"); 18200 const { scope: g, revertOnUpdate: b } = h, $ = reactExports.useRef(false), _e = reactExports.useRef(_gsap.context(() => { 18201 }, g)), et = reactExports.useRef((rt) => _e.current.add(null, rt)), tt = o && o.length && !b; 18202 return tt && useIsomorphicLayoutEffect$2(() => ($.current = true, () => _e.current.revert()), emptyArray), useIsomorphicLayoutEffect$2(() => { 18203 if (d && _e.current.add(d, g), !tt || !$.current) return () => _e.current.revert(); 18204 }, o), { 18205 context: _e.current, 18206 contextSafe: et.current 18207 }; 18208 }; 18209 useGSAP.register = (d) => { 18210 _gsap = d; 18211 }; 18212 useGSAP.headless = true; 18213 function isObject$3(d) { 18214 return d !== null && typeof d == "object" && "constructor" in d && d.constructor === Object; 18215 } 18216 function extend$2(d, o) { 18217 d === void 0 && (d = {}), o === void 0 && (o = {}); 18218 const h = [ 18219 "__proto__", 18220 "constructor", 18221 "prototype" 18222 ];
vendor: 6,101 bytes, lines 18223-18430
18223 Object.keys(o).filter((g) => h.indexOf(g) < 0).forEach((g) => { 18224 typeof d[g] > "u" ? d[g] = o[g] : isObject$3(o[g]) && isObject$3(d[g]) && Object.keys(o[g]).length > 0 && extend$2(d[g], o[g]); 18225 }); 18226 } 18227 const ssrDocument = { 18228 body: {}, 18229 addEventListener() { 18230 }, 18231 removeEventListener() { 18232 }, 18233 activeElement: { 18234 blur() { 18235 }, 18236 nodeName: "" 18237 }, 18238 querySelector() { 18239 return null; 18240 }, 18241 querySelectorAll() { 18242 return []; 18243 }, 18244 getElementById() { 18245 return null; 18246 }, 18247 createEvent() { 18248 return { 18249 initEvent() { 18250 } 18251 }; 18252 }, 18253 createElement() { 18254 return { 18255 children: [], 18256 childNodes: [], 18257 style: {}, 18258 setAttribute() { 18259 }, 18260 getElementsByTagName() { 18261 return []; 18262 } 18263 }; 18264 }, 18265 createElementNS() { 18266 return {}; 18267 }, 18268 importNode() { 18269 return null; 18270 }, 18271 location: { 18272 hash: "", 18273 host: "", 18274 hostname: "", 18275 href: "", 18276 origin: "", 18277 pathname: "", 18278 protocol: "", 18279 search: "" 18280 } 18281 }; 18282 function getDocument() { 18283 const d = typeof document < "u" ? document : {}; 18284 return extend$2(d, ssrDocument), d; 18285 } 18286 const ssrWindow = { 18287 document: ssrDocument, 18288 navigator: { 18289 userAgent: "" 18290 }, 18291 location: { 18292 hash: "", 18293 host: "", 18294 hostname: "", 18295 href: "", 18296 origin: "", 18297 pathname: "", 18298 protocol: "", 18299 search: "" 18300 }, 18301 history: { 18302 replaceState() { 18303 }, 18304 pushState() { 18305 }, 18306 go() { 18307 }, 18308 back() { 18309 } 18310 }, 18311 CustomEvent: function() { 18312 return this; 18313 }, 18314 addEventListener() { 18315 }, 18316 removeEventListener() { 18317 }, 18318 getComputedStyle() { 18319 return { 18320 getPropertyValue() { 18321 return ""; 18322 } 18323 }; 18324 }, 18325 Image() { 18326 }, 18327 Date() { 18328 }, 18329 screen: {}, 18330 setTimeout() { 18331 }, 18332 clearTimeout() { 18333 }, 18334 matchMedia() { 18335 return {}; 18336 }, 18337 requestAnimationFrame(d) { 18338 return typeof setTimeout > "u" ? (d(), null) : setTimeout(d, 0); 18339 }, 18340 cancelAnimationFrame(d) { 18341 typeof setTimeout > "u" || clearTimeout(d); 18342 } 18343 }; 18344 function getWindow() { 18345 const d = typeof window < "u" ? window : {}; 18346 return extend$2(d, ssrWindow), d; 18347 } 18348 function classesToTokens(d) { 18349 return d === void 0 && (d = ""), d.trim().split(" ").filter((o) => !!o.trim()); 18350 } 18351 function deleteProps(d) { 18352 const o = d; 18353 Object.keys(o).forEach((h) => { 18354 try { 18355 o[h] = null; 18356 } catch (e2) { 18357 } 18358 try { 18359 delete o[h]; 18360 } catch (e2) { 18361 } 18362 }); 18363 } 18364 function nextTick(d, o) { 18365 return o === void 0 && (o = 0), setTimeout(d, o); 18366 } 18367 function now$1() { 18368 return Date.now(); 18369 } 18370 function getComputedStyle$2(d) { 18371 const o = getWindow(); 18372 let h; 18373 return o.getComputedStyle && (h = o.getComputedStyle(d, null)), !h && d.currentStyle && (h = d.currentStyle), h || (h = d.style), h; 18374 } 18375 function getTranslate(d, o) { 18376 o === void 0 && (o = "x"); 18377 const h = getWindow(); 18378 let g, b, $; 18379 const _e = getComputedStyle$2(d); 18380 return h.WebKitCSSMatrix ? (b = _e.transform || _e.webkitTransform, b.split(",").length > 6 && (b = b.split(", ").map((et) => et.replace(",", ".")).join(", ")), $ = new h.WebKitCSSMatrix(b === "none" ? "" : b)) : ($ = _e.MozTransform || _e.OTransform || _e.MsTransform || _e.msTransform || _e.transform || _e.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), g = $.toString().split(",")), o === "x" && (h.WebKitCSSMatrix ? b = $.m41 : g.length === 16 ? b = parseFloat(g[12]) : b = parseFloat(g[4])), o === "y" && (h.WebKitCSSMatrix ? b = $.m42 : g.length === 16 ? b = parseFloat(g[13]) : b = parseFloat(g[5])), b || 0; 18381 } 18382 function isObject$2(d) { 18383 return typeof d == "object" && d !== null && d.constructor && Object.prototype.toString.call(d).slice(8, -1) === "Object"; 18384 } 18385 function isNode(d) { 18386 return typeof window < "u" && typeof window.HTMLElement < "u" ? d instanceof HTMLElement : d && (d.nodeType === 1 || d.nodeType === 11); 18387 } 18388 function extend$1() { 18389 const d = Object(arguments.length <= 0 ? void 0 : arguments[0]), o = [ 18390 "__proto__", 18391 "constructor", 18392 "prototype" 18393 ]; 18394 for (let h = 1; h < arguments.length; h += 1) { 18395 const g = h < 0 || arguments.length <= h ? void 0 : arguments[h]; 18396 if (g != null && !isNode(g)) { 18397 const b = Object.keys(Object(g)).filter(($) => o.indexOf($) < 0); 18398 for (let $ = 0, _e = b.length; $ < _e; $ += 1) { 18399 const et = b[$], tt = Object.getOwnPropertyDescriptor(g, et); 18400 tt !== void 0 && tt.enumerable && (isObject$2(d[et]) && isObject$2(g[et]) ? g[et].__swiper__ ? d[et] = g[et] : extend$1(d[et], g[et]) : !isObject$2(d[et]) && isObject$2(g[et]) ? (d[et] = {}, g[et].__swiper__ ? d[et] = g[et] : extend$1(d[et], g[et])) : d[et] = g[et]); 18401 } 18402 } 18403 } 18404 return d; 18405 } 18406 function setCSSProperty(d, o, h) { 18407 d.style.setProperty(o, h); 18408 } 18409 function animateCSSModeScroll(d) { 18410 let { swiper: o, targetPosition: h, side: g } = d; 18411 const b = getWindow(), $ = -o.translate; 18412 let _e = null, et; 18413 const tt = o.params.speed; 18414 o.wrapperEl.style.scrollSnapType = "none", b.cancelAnimationFrame(o.cssModeFrameID); 18415 const rt = h > $ ? "next" : "prev", nt = (ot, it) => rt === "next" && ot >= it || rt === "prev" && ot <= it, st = () => { 18416 et = (/* @__PURE__ */ new Date()).getTime(), _e === null && (_e = et); 18417 const ot = Math.max(Math.min((et - _e) / tt, 1), 0), it = 0.5 - Math.cos(ot * Math.PI) / 2; 18418 let at = $ + it * (h - $); 18419 if (nt(at, h) && (at = h), o.wrapperEl.scrollTo({ 18420 [g]: at 18421 }), nt(at, h)) { 18422 o.wrapperEl.style.overflow = "hidden", o.wrapperEl.style.scrollSnapType = "", setTimeout(() => { 18423 o.wrapperEl.style.overflow = "", o.wrapperEl.scrollTo({ 18424 [g]: at 18425 }); 18426 }), b.cancelAnimationFrame(o.cssModeFrameID); 18427 return; 18428 } 18429 o.cssModeFrameID = b.requestAnimationFrame(st); 18430 };
18431 st(); 18432 } 18433 function getSlideTransformEl(d) { 18434 return d.querySelector(".swiper-slide-transform") || d.shadowRoot && d.shadowRoot.querySelector(".swiper-slide-transform") || d; 18435 } 18436 function elementChildren(d, o) { 18437 o === void 0 && (o = ""); 18438 const h = getWindow(), g = [ 18439 ...d.children 18440 ]; 18441 return h.HTMLSlotElement && d instanceof HTMLSlotElement && g.push(...d.assignedElements()), o ? g.filter((b) => b.matches(o)) : g; 18442 } 18443 function elementIsChildOfSlot(d, o) { 18444 const h = [ 18445 o 18446 ]; 18447 for (; h.length > 0; ) { 18448 const g = h.shift(); 18449 if (d === g) return true; 18450 h.push(...g.children, ...g.shadowRoot ? g.shadowRoot.children : [], ...g.assignedElements ? g.assignedElements() : []); 18451 } 18452 } 18453 function elementIsChildOf(d, o) { 18454 const h = getWindow(); 18455 let g = o.contains(d); 18456 return !g && h.HTMLSlotElement && o instanceof HTMLSlotElement && (g = [ 18457 ...o.assignedElements() 18458 ].includes(d), g || (g = elementIsChildOfSlot(d, o))), g; 18459 } 18460 function showWarning(d) { 18461 try { 18462 console.warn(d); 18463 return; 18464 } catch (e2) { 18465 } 18466 } 18467 function createElement(d, o) { 18468 o === void 0 && (o = []); 18469 const h = document.createElement(d); 18470 return h.classList.add(...Array.isArray(o) ? o : classesToTokens(o)), h; 18471 } 18472 function elementPrevAll(d, o) { 18473 const h = []; 18474 for (; d.previousElementSibling; ) { 18475 const g = d.previousElementSibling; 18476 o ? g.matches(o) && h.push(g) : h.push(g), d = g; 18477 } 18478 return h; 18479 } 18480 function elementNextAll(d, o) { 18481 const h = []; 18482 for (; d.nextElementSibling; ) { 18483 const g = d.nextElementSibling; 18484 o ? g.matches(o) && h.push(g) : h.push(g), d = g; 18485 } 18486 return h; 18487 } 18488 function elementStyle(d, o) { 18489 return getWindow().getComputedStyle(d, null).getPropertyValue(o); 18490 } 18491 function elementIndex(d) { 18492 let o = d, h; 18493 if (o) { 18494 for (h = 0; (o = o.previousSibling) !== null; ) o.nodeType === 1 && (h += 1); 18495 return h; 18496 } 18497 } 18498 function elementParents(d, o) { 18499 const h = []; 18500 let g = d.parentElement; 18501 for (; g; ) h.push(g), g = g.parentElement; 18502 return h; 18503 } 18504 function elementTransitionEnd(d, o) { 18505 function h(g) { 18506 g.target === d && (o.call(d, g), d.removeEventListener("transitionend", h)); 18507 } 18508 o && d.addEventListener("transitionend", h); 18509 } 18510 function elementOuterSize(d, o, h) { 18511 const g = getWindow(); 18512 return d[o === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(g.getComputedStyle(d, null).getPropertyValue(o === "width" ? "margin-right" : "margin-top")) + parseFloat(g.getComputedStyle(d, null).getPropertyValue(o === "width" ? "margin-left" : "margin-bottom")); 18513 } 18514 function makeElementsArray(d) { 18515 return (Array.isArray(d) ? d : [ 18516 d 18517 ]).filter((o) => !!o); 18518 } 18519 function getRotateFix(d) { 18520 return (o) => Math.abs(o) > 0 && d.browser && d.browser.need3dFix && Math.abs(o) % 90 === 0 ? o + 1e-3 : o; 18521 } 18522 function setInnerHTML(d, o) { 18523 o === void 0 && (o = ""), typeof trustedTypes < "u" ? d.innerHTML = trustedTypes.createPolicy("html", { 18524 createHTML: (h) => h 18525 }).createHTML(o) : d.innerHTML = o; 18526 } 18527 let support; 18528 function calcSupport() { 18529 const d = getWindow(), o = getDocument(); 18530 return { 18531 smoothScroll: o.documentElement && o.documentElement.style && "scrollBehavior" in o.documentElement.style, 18532 touch: !!("ontouchstart" in d || d.DocumentTouch && o instanceof d.DocumentTouch) 18533 }; 18534 } 18535 function getSupport() { 18536 return support || (support = calcSupport()), support; 18537 } 18538 let deviceCached; 18539 function calcDevice(d) { 18540 let { userAgent: o } = d === void 0 ? {} : d; 18541 const h = getSupport(), g = getWindow(), b = g.navigator.platform, $ = o || g.navigator.userAgent, _e = { 18542 ios: false, 18543 android: false 18544 }, et = g.screen.width, tt = g.screen.height, rt = $.match(/(Android);?[\s\/]+([\d.]+)?/); 18545 let nt = $.match(/(iPad).*OS\s([\d_]+)/); 18546 const st = $.match(/(iPod)(.*OS\s([\d_]+))?/), ot = !nt && $.match(/(iPhone\sOS|iOS)\s([\d_]+)/), it = b === "Win32"; 18547 let at = b === "MacIntel"; 18548 const lt = [ 18549 "1024x1366", 18550 "1366x1024", 18551 "834x1194", 18552 "1194x834", 18553 "834x1112", 18554 "1112x834", 18555 "768x1024", 18556 "1024x768", 18557 "820x1180", 18558 "1180x820", 18559 "810x1080", 18560 "1080x810" 18561 ]; 18562 return !nt && at && h.touch && lt.indexOf("".concat(et, "x").concat(tt)) >= 0 && (nt = $.match(/(Version)\/([\d.]+)/), nt || (nt = [ 18563 0, 18564 1, 18565 "13_0_0" 18566 ]), at = false), rt && !it && (_e.os = "android", _e.android = true), (nt || ot || st) && (_e.os = "ios", _e.ios = true), _e; 18567 } 18568 function getDevice(d) { 18569 return d === void 0 && (d = {}), deviceCached || (deviceCached = calcDevice(d)), deviceCached; 18570 } 18571 let browser; 18572 function calcBrowser() { 18573 const d = getWindow(), o = getDevice(); 18574 let h = false;
vendor: 25,213 bytes, lines 18575-19060
18575 function g() { 18576 const et = d.navigator.userAgent.toLowerCase(); 18577 return et.indexOf("safari") >= 0 && et.indexOf("chrome") < 0 && et.indexOf("android") < 0; 18578 } 18579 if (g()) { 18580 const et = String(d.navigator.userAgent); 18581 if (et.includes("Version/")) { 18582 const [tt, rt] = et.split("Version/")[1].split(" ")[0].split(".").map((nt) => Number(nt)); 18583 h = tt < 16 || tt === 16 && rt < 2; 18584 } 18585 } 18586 const b = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(d.navigator.userAgent), $ = g(), _e = $ || b && o.ios; 18587 return { 18588 isSafari: h || $, 18589 needPerspectiveFix: h, 18590 need3dFix: _e, 18591 isWebView: b 18592 }; 18593 } 18594 function getBrowser() { 18595 return browser || (browser = calcBrowser()), browser; 18596 } 18597 function Resize(d) { 18598 let { swiper: o, on: h, emit: g } = d; 18599 const b = getWindow(); 18600 let $ = null, _e = null; 18601 const et = () => { 18602 !o || o.destroyed || !o.initialized || (g("beforeResize"), g("resize")); 18603 }, tt = () => { 18604 !o || o.destroyed || !o.initialized || ($ = new ResizeObserver((st) => { 18605 _e = b.requestAnimationFrame(() => { 18606 const { width: ot, height: it } = o; 18607 let at = ot, lt = it; 18608 st.forEach((ct) => { 18609 let { contentBoxSize: ut, contentRect: ft, target: dt } = ct; 18610 dt && dt !== o.el || (at = ft ? ft.width : (ut[0] || ut).inlineSize, lt = ft ? ft.height : (ut[0] || ut).blockSize); 18611 }), (at !== ot || lt !== it) && et(); 18612 }); 18613 }), $.observe(o.el)); 18614 }, rt = () => { 18615 _e && b.cancelAnimationFrame(_e), $ && $.unobserve && o.el && ($.unobserve(o.el), $ = null); 18616 }, nt = () => { 18617 !o || o.destroyed || !o.initialized || g("orientationchange"); 18618 }; 18619 h("init", () => { 18620 if (o.params.resizeObserver && typeof b.ResizeObserver < "u") { 18621 tt(); 18622 return; 18623 } 18624 b.addEventListener("resize", et), b.addEventListener("orientationchange", nt); 18625 }), h("destroy", () => { 18626 rt(), b.removeEventListener("resize", et), b.removeEventListener("orientationchange", nt); 18627 }); 18628 } 18629 function Observer(d) { 18630 let { swiper: o, extendParams: h, on: g, emit: b } = d; 18631 const $ = [], _e = getWindow(), et = function(nt, st) { 18632 st === void 0 && (st = {}); 18633 const ot = _e.MutationObserver || _e.WebkitMutationObserver, it = new ot((at) => { 18634 if (o.__preventObserver__) return; 18635 if (at.length === 1) { 18636 b("observerUpdate", at[0]); 18637 return; 18638 } 18639 const lt = function() { 18640 b("observerUpdate", at[0]); 18641 }; 18642 _e.requestAnimationFrame ? _e.requestAnimationFrame(lt) : _e.setTimeout(lt, 0); 18643 }); 18644 it.observe(nt, { 18645 attributes: typeof st.attributes > "u" ? true : st.attributes, 18646 childList: o.isElement || (typeof st.childList > "u" ? true : st).childList, 18647 characterData: typeof st.characterData > "u" ? true : st.characterData 18648 }), $.push(it); 18649 }, tt = () => { 18650 if (o.params.observer) { 18651 if (o.params.observeParents) { 18652 const nt = elementParents(o.hostEl); 18653 for (let st = 0; st < nt.length; st += 1) et(nt[st]); 18654 } 18655 et(o.hostEl, { 18656 childList: o.params.observeSlideChildren 18657 }), et(o.wrapperEl, { 18658 attributes: false 18659 }); 18660 } 18661 }, rt = () => { 18662 $.forEach((nt) => { 18663 nt.disconnect(); 18664 }), $.splice(0, $.length); 18665 }; 18666 h({ 18667 observer: false, 18668 observeParents: false, 18669 observeSlideChildren: false 18670 }), g("init", tt), g("destroy", rt); 18671 } 18672 var eventsEmitter = { 18673 on(d, o, h) { 18674 const g = this; 18675 if (!g.eventsListeners || g.destroyed || typeof o != "function") return g; 18676 const b = h ? "unshift" : "push"; 18677 return d.split(" ").forEach(($) => { 18678 g.eventsListeners[$] || (g.eventsListeners[$] = []), g.eventsListeners[$][b](o); 18679 }), g; 18680 }, 18681 once(d, o, h) { 18682 const g = this; 18683 if (!g.eventsListeners || g.destroyed || typeof o != "function") return g; 18684 function b() { 18685 g.off(d, b), b.__emitterProxy && delete b.__emitterProxy; 18686 for (var $ = arguments.length, _e = new Array($), et = 0; et < $; et++) _e[et] = arguments[et]; 18687 o.apply(g, _e); 18688 } 18689 return b.__emitterProxy = o, g.on(d, b, h); 18690 }, 18691 onAny(d, o) { 18692 const h = this; 18693 if (!h.eventsListeners || h.destroyed || typeof d != "function") return h; 18694 const g = o ? "unshift" : "push"; 18695 return h.eventsAnyListeners.indexOf(d) < 0 && h.eventsAnyListeners[g](d), h; 18696 }, 18697 offAny(d) { 18698 const o = this; 18699 if (!o.eventsListeners || o.destroyed || !o.eventsAnyListeners) return o; 18700 const h = o.eventsAnyListeners.indexOf(d); 18701 return h >= 0 && o.eventsAnyListeners.splice(h, 1), o; 18702 }, 18703 off(d, o) { 18704 const h = this; 18705 return !h.eventsListeners || h.destroyed || !h.eventsListeners || d.split(" ").forEach((g) => { 18706 typeof o > "u" ? h.eventsListeners[g] = [] : h.eventsListeners[g] && h.eventsListeners[g].forEach((b, $) => { 18707 (b === o || b.__emitterProxy && b.__emitterProxy === o) && h.eventsListeners[g].splice($, 1); 18708 }); 18709 }), h; 18710 }, 18711 emit() { 18712 const d = this; 18713 if (!d.eventsListeners || d.destroyed || !d.eventsListeners) return d; 18714 let o, h, g; 18715 for (var b = arguments.length, $ = new Array(b), _e = 0; _e < b; _e++) $[_e] = arguments[_e]; 18716 return typeof $[0] == "string" || Array.isArray($[0]) ? (o = $[0], h = $.slice(1, $.length), g = d) : (o = $[0].events, h = $[0].data, g = $[0].context || d), h.unshift(g), (Array.isArray(o) ? o : o.split(" ")).forEach((tt) => { 18717 d.eventsAnyListeners && d.eventsAnyListeners.length && d.eventsAnyListeners.forEach((rt) => { 18718 rt.apply(g, [ 18719 tt, 18720 ...h 18721 ]); 18722 }), d.eventsListeners && d.eventsListeners[tt] && d.eventsListeners[tt].forEach((rt) => { 18723 rt.apply(g, h); 18724 }); 18725 }), d; 18726 } 18727 }; 18728 function updateSize() { 18729 const d = this; 18730 let o, h; 18731 const g = d.el; 18732 typeof d.params.width < "u" && d.params.width !== null ? o = d.params.width : o = g.clientWidth, typeof d.params.height < "u" && d.params.height !== null ? h = d.params.height : h = g.clientHeight, !(o === 0 && d.isHorizontal() || h === 0 && d.isVertical()) && (o = o - parseInt(elementStyle(g, "padding-left") || 0, 10) - parseInt(elementStyle(g, "padding-right") || 0, 10), h = h - parseInt(elementStyle(g, "padding-top") || 0, 10) - parseInt(elementStyle(g, "padding-bottom") || 0, 10), Number.isNaN(o) && (o = 0), Number.isNaN(h) && (h = 0), Object.assign(d, { 18733 width: o, 18734 height: h, 18735 size: d.isHorizontal() ? o : h 18736 })); 18737 } 18738 function updateSlides() { 18739 const d = this; 18740 function o(_t, St) { 18741 return parseFloat(_t.getPropertyValue(d.getDirectionLabel(St)) || 0); 18742 } 18743 const h = d.params, { wrapperEl: g, slidesEl: b, size: $, rtlTranslate: _e, wrongRTL: et } = d, tt = d.virtual && h.virtual.enabled, rt = tt ? d.virtual.slides.length : d.slides.length, nt = elementChildren(b, ".".concat(d.params.slideClass, ", swiper-slide")), st = tt ? d.virtual.slides.length : nt.length; 18744 let ot = []; 18745 const it = [], at = []; 18746 let lt = h.slidesOffsetBefore; 18747 typeof lt == "function" && (lt = h.slidesOffsetBefore.call(d)); 18748 let ct = h.slidesOffsetAfter; 18749 typeof ct == "function" && (ct = h.slidesOffsetAfter.call(d)); 18750 const ut = d.snapGrid.length, ft = d.slidesGrid.length; 18751 let dt = h.spaceBetween, pt = -lt, ht = 0, mt = 0; 18752 if (typeof $ > "u") return; 18753 typeof dt == "string" && dt.indexOf("%") >= 0 ? dt = parseFloat(dt.replace("%", "")) / 100 * $ : typeof dt == "string" && (dt = parseFloat(dt)), d.virtualSize = -dt, nt.forEach((_t) => { 18754 _e ? _t.style.marginLeft = "" : _t.style.marginRight = "", _t.style.marginBottom = "", _t.style.marginTop = ""; 18755 }), h.centeredSlides && h.cssMode && (setCSSProperty(g, "--swiper-centered-offset-before", ""), setCSSProperty(g, "--swiper-centered-offset-after", "")); 18756 const gt = h.grid && h.grid.rows > 1 && d.grid; 18757 gt ? d.grid.initSlides(nt) : d.grid && d.grid.unsetSlides(); 18758 let yt; 18759 const xt = h.slidesPerView === "auto" && h.breakpoints && Object.keys(h.breakpoints).filter((_t) => typeof h.breakpoints[_t].slidesPerView < "u").length > 0; 18760 for (let _t = 0; _t < st; _t += 1) { 18761 yt = 0; 18762 let St; 18763 if (nt[_t] && (St = nt[_t]), gt && d.grid.updateSlide(_t, St, nt), !(nt[_t] && elementStyle(St, "display") === "none")) { 18764 if (h.slidesPerView === "auto") { 18765 xt && (nt[_t].style[d.getDirectionLabel("width")] = ""); 18766 const kt = getComputedStyle(St), Rt = St.style.transform, Tt = St.style.webkitTransform; 18767 if (Rt && (St.style.transform = "none"), Tt && (St.style.webkitTransform = "none"), h.roundLengths) yt = d.isHorizontal() ? elementOuterSize(St, "width") : elementOuterSize(St, "height"); 18768 else { 18769 const Yt = o(kt, "width"), Dt = o(kt, "padding-left"), Ot = o(kt, "padding-right"), Mt = o(kt, "margin-left"), Vt = o(kt, "margin-right"), Et = kt.getPropertyValue("box-sizing"); 18770 if (Et && Et === "border-box") yt = Yt + Mt + Vt; 18771 else { 18772 const { clientWidth: Ht, offsetWidth: Kt } = St; 18773 yt = Yt + Dt + Ot + Mt + Vt + (Kt - Ht); 18774 } 18775 } 18776 Rt && (St.style.transform = Rt), Tt && (St.style.webkitTransform = Tt), h.roundLengths && (yt = Math.floor(yt)); 18777 } else yt = ($ - (h.slidesPerView - 1) * dt) / h.slidesPerView, h.roundLengths && (yt = Math.floor(yt)), nt[_t] && (nt[_t].style[d.getDirectionLabel("width")] = "".concat(yt, "px")); 18778 nt[_t] && (nt[_t].swiperSlideSize = yt), at.push(yt), h.centeredSlides ? (pt = pt + yt / 2 + ht / 2 + dt, ht === 0 && _t !== 0 && (pt = pt - $ / 2 - dt), _t === 0 && (pt = pt - $ / 2 - dt), Math.abs(pt) < 1 / 1e3 && (pt = 0), h.roundLengths && (pt = Math.floor(pt)), mt % h.slidesPerGroup === 0 && ot.push(pt), it.push(pt)) : (h.roundLengths && (pt = Math.floor(pt)), (mt - Math.min(d.params.slidesPerGroupSkip, mt)) % d.params.slidesPerGroup === 0 && ot.push(pt), it.push(pt), pt = pt + yt + dt), d.virtualSize += yt + dt, ht = yt, mt += 1; 18779 } 18780 } 18781 if (d.virtualSize = Math.max(d.virtualSize, $) + ct, _e && et && (h.effect === "slide" || h.effect === "coverflow") && (g.style.width = "".concat(d.virtualSize + dt, "px")), h.setWrapperSize && (g.style[d.getDirectionLabel("width")] = "".concat(d.virtualSize + dt, "px")), gt && d.grid.updateWrapperSize(yt, ot), !h.centeredSlides) { 18782 const _t = []; 18783 for (let St = 0; St < ot.length; St += 1) { 18784 let kt = ot[St]; 18785 h.roundLengths && (kt = Math.floor(kt)), ot[St] <= d.virtualSize - $ && _t.push(kt); 18786 } 18787 ot = _t, Math.floor(d.virtualSize - $) - Math.floor(ot[ot.length - 1]) > 1 && ot.push(d.virtualSize - $); 18788 } 18789 if (tt && h.loop) { 18790 const _t = at[0] + dt; 18791 if (h.slidesPerGroup > 1) { 18792 const St = Math.ceil((d.virtual.slidesBefore + d.virtual.slidesAfter) / h.slidesPerGroup), kt = _t * h.slidesPerGroup; 18793 for (let Rt = 0; Rt < St; Rt += 1) ot.push(ot[ot.length - 1] + kt); 18794 } 18795 for (let St = 0; St < d.virtual.slidesBefore + d.virtual.slidesAfter; St += 1) h.slidesPerGroup === 1 && ot.push(ot[ot.length - 1] + _t), it.push(it[it.length - 1] + _t), d.virtualSize += _t; 18796 } 18797 if (ot.length === 0 && (ot = [ 18798 0 18799 ]), dt !== 0) { 18800 const _t = d.isHorizontal() && _e ? "marginLeft" : d.getDirectionLabel("marginRight"); 18801 nt.filter((St, kt) => !h.cssMode || h.loop ? true : kt !== nt.length - 1).forEach((St) => { 18802 St.style[_t] = "".concat(dt, "px"); 18803 }); 18804 } 18805 if (h.centeredSlides && h.centeredSlidesBounds) { 18806 let _t = 0; 18807 at.forEach((kt) => { 18808 _t += kt + (dt || 0); 18809 }), _t -= dt; 18810 const St = _t > $ ? _t - $ : 0; 18811 ot = ot.map((kt) => kt <= 0 ? -lt : kt > St ? St + ct : kt); 18812 } 18813 if (h.centerInsufficientSlides) { 18814 let _t = 0; 18815 at.forEach((kt) => { 18816 _t += kt + (dt || 0); 18817 }), _t -= dt; 18818 const St = (h.slidesOffsetBefore || 0) + (h.slidesOffsetAfter || 0); 18819 if (_t + St < $) { 18820 const kt = ($ - _t - St) / 2; 18821 ot.forEach((Rt, Tt) => { 18822 ot[Tt] = Rt - kt; 18823 }), it.forEach((Rt, Tt) => { 18824 it[Tt] = Rt + kt; 18825 }); 18826 } 18827 } 18828 if (Object.assign(d, { 18829 slides: nt, 18830 snapGrid: ot, 18831 slidesGrid: it, 18832 slidesSizesGrid: at 18833 }), h.centeredSlides && h.cssMode && !h.centeredSlidesBounds) { 18834 setCSSProperty(g, "--swiper-centered-offset-before", "".concat(-ot[0], "px")), setCSSProperty(g, "--swiper-centered-offset-after", "".concat(d.size / 2 - at[at.length - 1] / 2, "px")); 18835 const _t = -d.snapGrid[0], St = -d.slidesGrid[0]; 18836 d.snapGrid = d.snapGrid.map((kt) => kt + _t), d.slidesGrid = d.slidesGrid.map((kt) => kt + St); 18837 } 18838 if (st !== rt && d.emit("slidesLengthChange"), ot.length !== ut && (d.params.watchOverflow && d.checkOverflow(), d.emit("snapGridLengthChange")), it.length !== ft && d.emit("slidesGridLengthChange"), h.watchSlidesProgress && d.updateSlidesOffset(), d.emit("slidesUpdated"), !tt && !h.cssMode && (h.effect === "slide" || h.effect === "fade")) { 18839 const _t = "".concat(h.containerModifierClass, "backface-hidden"), St = d.el.classList.contains(_t); 18840 st <= h.maxBackfaceHiddenSlides ? St || d.el.classList.add(_t) : St && d.el.classList.remove(_t); 18841 } 18842 } 18843 function updateAutoHeight(d) { 18844 const o = this, h = [], g = o.virtual && o.params.virtual.enabled; 18845 let b = 0, $; 18846 typeof d == "number" ? o.setTransition(d) : d === true && o.setTransition(o.params.speed); 18847 const _e = (et) => g ? o.slides[o.getSlideIndexByData(et)] : o.slides[et]; 18848 if (o.params.slidesPerView !== "auto" && o.params.slidesPerView > 1) if (o.params.centeredSlides) (o.visibleSlides || []).forEach((et) => { 18849 h.push(et); 18850 }); 18851 else for ($ = 0; $ < Math.ceil(o.params.slidesPerView); $ += 1) { 18852 const et = o.activeIndex + $; 18853 if (et > o.slides.length && !g) break; 18854 h.push(_e(et)); 18855 } 18856 else h.push(_e(o.activeIndex)); 18857 for ($ = 0; $ < h.length; $ += 1) if (typeof h[$] < "u") { 18858 const et = h[$].offsetHeight; 18859 b = et > b ? et : b; 18860 } 18861 (b || b === 0) && (o.wrapperEl.style.height = "".concat(b, "px")); 18862 } 18863 function updateSlidesOffset() { 18864 const d = this, o = d.slides, h = d.isElement ? d.isHorizontal() ? d.wrapperEl.offsetLeft : d.wrapperEl.offsetTop : 0; 18865 for (let g = 0; g < o.length; g += 1) o[g].swiperSlideOffset = (d.isHorizontal() ? o[g].offsetLeft : o[g].offsetTop) - h - d.cssOverflowAdjustment(); 18866 } 18867 const toggleSlideClasses$1 = (d, o, h) => { 18868 o && !d.classList.contains(h) ? d.classList.add(h) : !o && d.classList.contains(h) && d.classList.remove(h); 18869 }; 18870 function updateSlidesProgress(d) { 18871 d === void 0 && (d = this && this.translate || 0); 18872 const o = this, h = o.params, { slides: g, rtlTranslate: b, snapGrid: $ } = o; 18873 if (g.length === 0) return; 18874 typeof g[0].swiperSlideOffset > "u" && o.updateSlidesOffset(); 18875 let _e = -d; 18876 b && (_e = d), o.visibleSlidesIndexes = [], o.visibleSlides = []; 18877 let et = h.spaceBetween; 18878 typeof et == "string" && et.indexOf("%") >= 0 ? et = parseFloat(et.replace("%", "")) / 100 * o.size : typeof et == "string" && (et = parseFloat(et)); 18879 for (let tt = 0; tt < g.length; tt += 1) { 18880 const rt = g[tt]; 18881 let nt = rt.swiperSlideOffset; 18882 h.cssMode && h.centeredSlides && (nt -= g[0].swiperSlideOffset); 18883 const st = (_e + (h.centeredSlides ? o.minTranslate() : 0) - nt) / (rt.swiperSlideSize + et), ot = (_e - $[0] + (h.centeredSlides ? o.minTranslate() : 0) - nt) / (rt.swiperSlideSize + et), it = -(_e - nt), at = it + o.slidesSizesGrid[tt], lt = it >= 0 && it <= o.size - o.slidesSizesGrid[tt], ct = it >= 0 && it < o.size - 1 || at > 1 && at <= o.size || it <= 0 && at >= o.size; 18884 ct && (o.visibleSlides.push(rt), o.visibleSlidesIndexes.push(tt)), toggleSlideClasses$1(rt, ct, h.slideVisibleClass), toggleSlideClasses$1(rt, lt, h.slideFullyVisibleClass), rt.progress = b ? -st : st, rt.originalProgress = b ? -ot : ot; 18885 } 18886 } 18887 function updateProgress(d) { 18888 const o = this; 18889 if (typeof d > "u") { 18890 const nt = o.rtlTranslate ? -1 : 1; 18891 d = o && o.translate && o.translate * nt || 0; 18892 } 18893 const h = o.params, g = o.maxTranslate() - o.minTranslate(); 18894 let { progress: b, isBeginning: $, isEnd: _e, progressLoop: et } = o; 18895 const tt = $, rt = _e; 18896 if (g === 0) b = 0, $ = true, _e = true; 18897 else { 18898 b = (d - o.minTranslate()) / g; 18899 const nt = Math.abs(d - o.minTranslate()) < 1, st = Math.abs(d - o.maxTranslate()) < 1; 18900 $ = nt || b <= 0, _e = st || b >= 1, nt && (b = 0), st && (b = 1); 18901 } 18902 if (h.loop) { 18903 const nt = o.getSlideIndexByData(0), st = o.getSlideIndexByData(o.slides.length - 1), ot = o.slidesGrid[nt], it = o.slidesGrid[st], at = o.slidesGrid[o.slidesGrid.length - 1], lt = Math.abs(d); 18904 lt >= ot ? et = (lt - ot) / at : et = (lt + at - it) / at, et > 1 && (et -= 1); 18905 } 18906 Object.assign(o, { 18907 progress: b, 18908 progressLoop: et, 18909 isBeginning: $, 18910 isEnd: _e 18911 }), (h.watchSlidesProgress || h.centeredSlides && h.autoHeight) && o.updateSlidesProgress(d), $ && !tt && o.emit("reachBeginning toEdge"), _e && !rt && o.emit("reachEnd toEdge"), (tt && !$ || rt && !_e) && o.emit("fromEdge"), o.emit("progress", b); 18912 } 18913 const toggleSlideClasses = (d, o, h) => { 18914 o && !d.classList.contains(h) ? d.classList.add(h) : !o && d.classList.contains(h) && d.classList.remove(h); 18915 }; 18916 function updateSlidesClasses() { 18917 const d = this, { slides: o, params: h, slidesEl: g, activeIndex: b } = d, $ = d.virtual && h.virtual.enabled, _e = d.grid && h.grid && h.grid.rows > 1, et = (st) => elementChildren(g, ".".concat(h.slideClass).concat(st, ", swiper-slide").concat(st))[0]; 18918 let tt, rt, nt; 18919 if ($) if (h.loop) { 18920 let st = b - d.virtual.slidesBefore; 18921 st < 0 && (st = d.virtual.slides.length + st), st >= d.virtual.slides.length && (st -= d.virtual.slides.length), tt = et('[data-swiper-slide-index="'.concat(st, '"]')); 18922 } else tt = et('[data-swiper-slide-index="'.concat(b, '"]')); 18923 else _e ? (tt = o.find((st) => st.column === b), nt = o.find((st) => st.column === b + 1), rt = o.find((st) => st.column === b - 1)) : tt = o[b]; 18924 tt && (_e || (nt = elementNextAll(tt, ".".concat(h.slideClass, ", swiper-slide"))[0], h.loop && !nt && (nt = o[0]), rt = elementPrevAll(tt, ".".concat(h.slideClass, ", swiper-slide"))[0], h.loop && !rt === 0 && (rt = o[o.length - 1]))), o.forEach((st) => { 18925 toggleSlideClasses(st, st === tt, h.slideActiveClass), toggleSlideClasses(st, st === nt, h.slideNextClass), toggleSlideClasses(st, st === rt, h.slidePrevClass); 18926 }), d.emitSlidesClasses(); 18927 } 18928 const processLazyPreloader = (d, o) => { 18929 if (!d || d.destroyed || !d.params) return; 18930 const h = () => d.isElement ? "swiper-slide" : ".".concat(d.params.slideClass), g = o.closest(h()); 18931 if (g) { 18932 let b = g.querySelector(".".concat(d.params.lazyPreloaderClass)); 18933 !b && d.isElement && (g.shadowRoot ? b = g.shadowRoot.querySelector(".".concat(d.params.lazyPreloaderClass)) : requestAnimationFrame(() => { 18934 g.shadowRoot && (b = g.shadowRoot.querySelector(".".concat(d.params.lazyPreloaderClass)), b && b.remove()); 18935 })), b && b.remove(); 18936 } 18937 }, unlazy = (d, o) => { 18938 if (!d.slides[o]) return; 18939 const h = d.slides[o].querySelector('[loading="lazy"]'); 18940 h && h.removeAttribute("loading"); 18941 }, preload = (d) => { 18942 if (!d || d.destroyed || !d.params) return; 18943 let o = d.params.lazyPreloadPrevNext; 18944 const h = d.slides.length; 18945 if (!h || !o || o < 0) return; 18946 o = Math.min(o, h); 18947 const g = d.params.slidesPerView === "auto" ? d.slidesPerViewDynamic() : Math.ceil(d.params.slidesPerView), b = d.activeIndex; 18948 if (d.params.grid && d.params.grid.rows > 1) { 18949 const _e = b, et = [ 18950 _e - o 18951 ]; 18952 et.push(...Array.from({ 18953 length: o 18954 }).map((tt, rt) => _e + g + rt)), d.slides.forEach((tt, rt) => { 18955 et.includes(tt.column) && unlazy(d, rt); 18956 }); 18957 return; 18958 } 18959 const $ = b + g - 1; 18960 if (d.params.rewind || d.params.loop) for (let _e = b - o; _e <= $ + o; _e += 1) { 18961 const et = (_e % h + h) % h; 18962 (et < b || et > $) && unlazy(d, et); 18963 } 18964 else for (let _e = Math.max(b - o, 0); _e <= Math.min($ + o, h - 1); _e += 1) _e !== b && (_e > $ || _e < b) && unlazy(d, _e); 18965 }; 18966 function getActiveIndexByTranslate(d) { 18967 const { slidesGrid: o, params: h } = d, g = d.rtlTranslate ? d.translate : -d.translate; 18968 let b; 18969 for (let $ = 0; $ < o.length; $ += 1) typeof o[$ + 1] < "u" ? g >= o[$] && g < o[$ + 1] - (o[$ + 1] - o[$]) / 2 ? b = $ : g >= o[$] && g < o[$ + 1] && (b = $ + 1) : g >= o[$] && (b = $); 18970 return h.normalizeSlideIndex && (b < 0 || typeof b > "u") && (b = 0), b; 18971 } 18972 function updateActiveIndex(d) { 18973 const o = this, h = o.rtlTranslate ? o.translate : -o.translate, { snapGrid: g, params: b, activeIndex: $, realIndex: _e, snapIndex: et } = o; 18974 let tt = d, rt; 18975 const nt = (it) => { 18976 let at = it - o.virtual.slidesBefore; 18977 return at < 0 && (at = o.virtual.slides.length + at), at >= o.virtual.slides.length && (at -= o.virtual.slides.length), at; 18978 }; 18979 if (typeof tt > "u" && (tt = getActiveIndexByTranslate(o)), g.indexOf(h) >= 0) rt = g.indexOf(h); 18980 else { 18981 const it = Math.min(b.slidesPerGroupSkip, tt); 18982 rt = it + Math.floor((tt - it) / b.slidesPerGroup); 18983 } 18984 if (rt >= g.length && (rt = g.length - 1), tt === $ && !o.params.loop) { 18985 rt !== et && (o.snapIndex = rt, o.emit("snapIndexChange")); 18986 return; 18987 } 18988 if (tt === $ && o.params.loop && o.virtual && o.params.virtual.enabled) { 18989 o.realIndex = nt(tt); 18990 return; 18991 } 18992 const st = o.grid && b.grid && b.grid.rows > 1; 18993 let ot; 18994 if (o.virtual && b.virtual.enabled && b.loop) ot = nt(tt); 18995 else if (st) { 18996 const it = o.slides.find((lt) => lt.column === tt); 18997 let at = parseInt(it.getAttribute("data-swiper-slide-index"), 10); 18998 Number.isNaN(at) && (at = Math.max(o.slides.indexOf(it), 0)), ot = Math.floor(at / b.grid.rows); 18999 } else if (o.slides[tt]) { 19000 const it = o.slides[tt].getAttribute("data-swiper-slide-index"); 19001 it ? ot = parseInt(it, 10) : ot = tt; 19002 } else ot = tt; 19003 Object.assign(o, { 19004 previousSnapIndex: et, 19005 snapIndex: rt, 19006 previousRealIndex: _e, 19007 realIndex: ot, 19008 previousIndex: $, 19009 activeIndex: tt 19010 }), o.initialized && preload(o), o.emit("activeIndexChange"), o.emit("snapIndexChange"), (o.initialized || o.params.runCallbacksOnInit) && (_e !== ot && o.emit("realIndexChange"), o.emit("slideChange")); 19011 } 19012 function updateClickedSlide(d, o) { 19013 const h = this, g = h.params; 19014 let b = d.closest(".".concat(g.slideClass, ", swiper-slide")); 19015 !b && h.isElement && o && o.length > 1 && o.includes(d) && [ 19016 ...o.slice(o.indexOf(d) + 1, o.length) 19017 ].forEach((et) => { 19018 !b && et.matches && et.matches(".".concat(g.slideClass, ", swiper-slide")) && (b = et); 19019 }); 19020 let $ = false, _e; 19021 if (b) { 19022 for (let et = 0; et < h.slides.length; et += 1) if (h.slides[et] === b) { 19023 $ = true, _e = et; 19024 break; 19025 } 19026 } 19027 if (b && $) h.clickedSlide = b, h.virtual && h.params.virtual.enabled ? h.clickedIndex = parseInt(b.getAttribute("data-swiper-slide-index"), 10) : h.clickedIndex = _e; 19028 else { 19029 h.clickedSlide = void 0, h.clickedIndex = void 0; 19030 return; 19031 } 19032 g.slideToClickedSlide && h.clickedIndex !== void 0 && h.clickedIndex !== h.activeIndex && h.slideToClickedSlide(); 19033 } 19034 var update = { 19035 updateSize, 19036 updateSlides, 19037 updateAutoHeight, 19038 updateSlidesOffset, 19039 updateSlidesProgress, 19040 updateProgress, 19041 updateSlidesClasses, 19042 updateActiveIndex, 19043 updateClickedSlide 19044 }; 19045 function getSwiperTranslate(d) { 19046 d === void 0 && (d = this.isHorizontal() ? "x" : "y"); 19047 const o = this, { params: h, rtlTranslate: g, translate: b, wrapperEl: $ } = o; 19048 if (h.virtualTranslate) return g ? -b : b; 19049 if (h.cssMode) return b; 19050 let _e = getTranslate($, d); 19051 return _e += o.cssOverflowAdjustment(), g && (_e = -_e), _e || 0; 19052 } 19053 function setTranslate(d, o) { 19054 const h = this, { rtlTranslate: g, params: b, wrapperEl: $, progress: _e } = h; 19055 let et = 0, tt = 0; 19056 const rt = 0; 19057 h.isHorizontal() ? et = g ? -d : d : tt = d, b.roundLengths && (et = Math.floor(et), tt = Math.floor(tt)), h.previousTranslate = h.translate, h.translate = h.isHorizontal() ? et : tt, b.cssMode ? $[h.isHorizontal() ? "scrollLeft" : "scrollTop"] = h.isHorizontal() ? -et : -tt : b.virtualTranslate || (h.isHorizontal() ? et -= h.cssOverflowAdjustment() : tt -= h.cssOverflowAdjustment(), $.style.transform = "translate3d(".concat(et, "px, ").concat(tt, "px, ").concat(rt, "px)")); 19058 let nt; 19059 const st = h.maxTranslate() - h.minTranslate(); 19060 st === 0 ? nt = 0 : nt = (d - h.minTranslate()) / st, nt !== _e && h.updateProgress(d), h.emit
19060("setTranslate", h.translate, o); 19061 } 19062 function minTranslate() { 19063 return -this.snapGrid[0]; 19064 } 19065 function maxTranslate() { 19066 return -this.snapGrid[this.snapGrid.length - 1]; 19067 } 19068 function translateTo(d, o, h, g, b) { 19069 d === void 0 && (d = 0), o === void 0 && (o = this.params.speed), h === void 0 && (h = true), g === void 0 && (g = true); 19070 const $ = this, { params: _e, wrapperEl: et } = $; 19071 if ($.animating && _e.preventInteractionOnTransition) return false; 19072 const tt = $.minTranslate(), rt = $.maxTranslate(); 19073 let nt; 19074 if (g && d > tt ? nt = tt : g && d < rt ? nt = rt : nt = d, $.updateProgress(nt), _e.cssMode) { 19075 const st = $.isHorizontal(); 19076 if (o === 0) et[st ? "scrollLeft" : "scrollTop"] = -nt; 19077 else { 19078 if (!$.support.smoothScroll) return animateCSSModeScroll({ 19079 swiper: $, 19080 targetPosition: -nt, 19081 side: st ? "left" : "top" 19082 }), true; 19083 et.scrollTo({ 19084 [st ? "left" : "top"]: -nt, 19085 behavior: "smooth" 19086 }); 19087 } 19088 return true; 19089 } 19090 return o === 0 ? ($.setTransition(0), $.setTranslate(nt), h && ($.emit("beforeTransitionStart", o, b), $.emit("transitionEnd"))) : ($.setTransition(o), $.setTranslate(nt), h && ($.emit("beforeTransitionStart", o, b), $.emit("transitionStart")), $.animating || ($.animating = true, $.onTranslateToWrapperTransitionEnd || ($.onTranslateToWrapperTransitionEnd = function(ot) { 19091 !$ || $.destroyed || ot.target === this && ($.wrapperEl.removeEventListener("transitionend", $.onTranslateToWrapperTransitionEnd), $.onTranslateToWrapperTransitionEnd = null, delete $.onTranslateToWrapperTransitionEnd, $.animating = false, h && $.emit("transitionEnd")); 19092 }), $.wrapperEl.addEventListener("transitionend", $.onTranslateToWrapperTransitionEnd))), true; 19093 } 19094 var translate = { 19095 getTranslate: getSwiperTranslate, 19096 setTranslate, 19097 minTranslate, 19098 maxTranslate, 19099 translateTo 19100 }; 19101 function setTransition(d, o) { 19102 const h = this; 19103 h.params.cssMode || (h.wrapperEl.style.transitionDuration = "".concat(d, "ms"), h.wrapperEl.style.transitionDelay = d === 0 ? "0ms" : ""), h.emit("setTransition", d, o); 19104 } 19105 function transitionEmit(d) { 19106 let { swiper: o, runCallbacks: h, direction: g, step: b } = d; 19107 const { activeIndex: $, previousIndex: _e } = o; 19108 let et = g; 19109 et || ($ > _e ? et = "next" : $ < _e ? et = "prev" : et = "reset"), o.emit("transition".concat(b)), h && et === "reset" ? o.emit("slideResetTransition".concat(b)) : h && $ !== _e && (o.emit("slideChangeTransition".concat(b)), et === "next" ? o.emit("slideNextTransition".concat(b)) : o.emit("slidePrevTransition".concat(b))); 19110 } 19111 function transitionStart(d, o) { 19112 d === void 0 && (d = true); 19113 const h = this, { params: g } = h; 19114 g.cssMode || (g.autoHeight && h.updateAutoHeight(), transitionEmit({ 19115 swiper: h, 19116 runCallbacks: d, 19117 direction: o, 19118 step: "Start" 19119 })); 19120 } 19121 function transitionEnd(d, o) { 19122 d === void 0 && (d = true); 19123 const h = this, { params: g } = h; 19124 h.animating = false, !g.cssMode && (h.setTransition(0), transitionEmit({ 19125 swiper: h, 19126 runCallbacks: d, 19127 direction: o, 19128 step: "End" 19129 })); 19130 } 19131 var transition = { 19132 setTransition, 19133 transitionStart, 19134 transitionEnd 19135 }; 19136 function slideTo(d, o, h, g, b) { 19137 d === void 0 && (d = 0), h === void 0 && (h = true), typeof d == "string" && (d = parseInt(d, 10)); 19138 const $ = this; 19139 let _e = d; 19140 _e < 0 && (_e = 0); 19141 const { params: et, snapGrid: tt, slidesGrid: rt, previousIndex: nt, activeIndex: st, rtlTranslate: ot, wrapperEl: it, enabled: at } = $; 19142 if (!at && !g && !b || $.destroyed || $.animating && et.preventInteractionOnTransition) return false; 19143 typeof o > "u" && (o = $.params.speed); 19144 const lt = Math.min($.params.slidesPerGroupSkip, _e); 19145 let ct = lt + Math.floor((_e - lt) / $.params.slidesPerGroup); 19146 ct >= tt.length && (ct = tt.length - 1); 19147 const ut = -tt[ct]; 19148 if (et.normalizeSlideIndex) for (let gt = 0; gt < rt.length; gt += 1) { 19149 const yt = -Math.floor(ut * 100), xt = Math.floor(rt[gt] * 100), _t = Math.floor(rt[gt + 1] * 100); 19150 typeof rt[gt + 1] < "u" ? yt >= xt && yt < _t - (_t - xt) / 2 ? _e = gt : yt >= xt && yt < _t && (_e = gt + 1) : yt >= xt && (_e = gt); 19151 } 19152 if ($.initialized && _e !== st && (!$.allowSlideNext && (ot ? ut > $.translate && ut > $.minTranslate() : ut < $.translate && ut < $.minTranslate()) || !$.allowSlidePrev && ut > $.translate && ut > $.maxTranslate() && (st || 0) !== _e)) return false;
19153 _e !== (nt || 0) && h && $.emit("beforeSlideChangeStart"), $.updateProgress(ut); 19154 let ft; 19155 _e > st ? ft = "next" : _e < st ? ft = "prev" : ft = "reset"; 19156 const dt = $.virtual && $.params.virtual.enabled; 19157 if (!(dt && b) && (ot && -ut === $.translate || !ot && ut === $.translate)) return $.updateActiveIndex(_e), et.autoHeight && $.updateAutoHeight(), $.updateSlidesClasses(), et.effect !== "slide" && $.setTranslate(ut), ft !== "reset" && ($.transitionStart(h, ft), $.transitionEnd(h, ft)), false; 19158 if (et.cssMode) { 19159 const gt = $.isHorizontal(), yt = ot ? ut : -ut; 19160 if (o === 0) dt && ($.wrapperEl.style.scrollSnapType = "none", $._immediateVirtual = true), dt && !$._cssModeVirtualInitialSet && $.params.initialSlide > 0 ? ($._cssModeVirtualInitialSet = true, requestAnimationFrame(() => { 19161 it[gt ? "scrollLeft" : "scrollTop"] = yt; 19162 })) : it[gt ? "scrollLeft" : "scrollTop"] = yt, dt && requestAnimationFrame(() => { 19163 $.wrapperEl.style.scrollSnapType = "", $._immediateVirtual = false; 19164 }); 19165 else { 19166 if (!$.support.smoothScroll) return animateCSSModeScroll({ 19167 swiper: $, 19168 targetPosition: yt, 19169 side: gt ? "left" : "top" 19170 }), true; 19171 it.scrollTo({ 19172 [gt ? "left" : "top"]: yt, 19173 behavior: "smooth" 19174 }); 19175 } 19176 return true; 19177 } 19178 const mt = getBrowser().isSafari; 19179 return dt && !b && mt && $.isElement && $.virtual.update(false, false, _e), $.setTransition(o), $.setTranslate(ut), $.updateActiveIndex(_e), $.updateSlidesClasses(), $.emit("beforeTransitionStart", o, g), $.transitionStart(h, ft), o === 0 ? $.transitionEnd(h, ft) : $.animating || ($.animating = true, $.onSlideToWrapperTransitionEnd || ($.onSlideToWrapperTransitionEnd = function(yt) { 19180 !$ || $.destroyed || yt.target === this && ($.wrapperEl.removeEventListener("transitionend", $.onSlideToWrapperTransitionEnd), $.onSlideToWrapperTransitionEnd = null, delete $.onSlideToWrapperTransitionEnd, $.transitionEnd(h, ft)); 19181 }), $.wrapperEl.addEventListener("transitionend", $.onSlideToWrapperTransitionEnd)), true; 19182 } 19183 function slideToLoop(d, o, h, g) { 19184 d === void 0 && (d = 0), h === void 0 && (h = true), typeof d == "string" && (d = parseInt(d, 10)); 19185 const b = this; 19186 if (b.destroyed) return; 19187 typeof o > "u" && (o = b.params.speed); 19188 const $ = b.grid && b.params.grid && b.params.grid.rows > 1; 19189 let _e = d; 19190 if (b.params.loop) if (b.virtual && b.params.virtual.enabled) _e = _e + b.virtual.slidesBefore; 19191 else { 19192 let et; 19193 if ($) { 19194 const ot = _e * b.params.grid.rows; 19195 et = b.slides.find((it) => it.getAttribute("data-swiper-slide-index") * 1 === ot).column; 19196 } else et = b.getSlideIndexByData(_e); 19197 const tt = $ ? Math.ceil(b.slides.length / b.params.grid.rows) : b.slides.length, { centeredSlides: rt } = b.params; 19198 let nt = b.params.slidesPerView; 19199 nt === "auto" ? nt = b.slidesPerViewDynamic() : (nt = Math.ceil(parseFloat(b.params.slidesPerView, 10)), rt && nt % 2 === 0 && (nt = nt + 1)); 19200 let st = tt - et < nt; 19201 if (rt && (st = st || et < Math.ceil(nt / 2)), g && rt && b.params.slidesPerView !== "auto" && !$ && (st = false), st) { 19202 const ot = rt ? et < b.activeIndex ? "prev" : "next" : et - b.activeIndex - 1 < b.params.slidesPerView ? "next" : "prev"; 19203 b.loopFix({ 19204 direction: ot, 19205 slideTo: true, 19206 activeSlideIndex: ot === "next" ? et + 1 : et - tt + 1, 19207 slideRealIndex: ot === "next" ? b.realIndex : void 0 19208 }); 19209 } 19210 if ($) { 19211 const ot = _e * b.params.grid.rows; 19212 _e = b.slides.find((it) => it.getAttribute("data-swiper-slide-index") * 1 === ot).column; 19213 } else _e = b.getSlideIndexByData(_e); 19214 } 19215 return requestAnimationFrame(() => { 19216 b.slideTo(_e, o, h, g); 19217 }), b; 19218 } 19219 function slideNext(d, o, h) { 19220 o === void 0 && (o = true); 19221 const g = this, { enabled: b, params: $, animating: _e } = g; 19222 if (!b || g.destroyed) return g; 19223 typeof d > "u" && (d = g.params.speed); 19224 let et = $.slidesPerGroup; 19225 $.slidesPerView === "auto" && $.slidesPerGroup === 1 && $.slidesPerGroupAuto && (et = Math.max(g.slidesPerViewDynamic("current", true), 1)); 19226 const tt = g.activeIndex < $.slidesPerGroupSkip ? 1 : et, rt = g.virtual && $.virtual.enabled; 19227 if ($.loop) { 19228 if (_e && !rt && $.loopPreventsSliding) return false;
vendor: 8,814 bytes, lines 19229-19395
19229 if (g.loopFix({ 19230 direction: "next" 19231 }), g._clientLeft = g.wrapperEl.clientLeft, g.activeIndex === g.slides.length - 1 && $.cssMode) return requestAnimationFrame(() => { 19232 g.slideTo(g.activeIndex + tt, d, o, h); 19233 }), true; 19234 } 19235 return $.rewind && g.isEnd ? g.slideTo(0, d, o, h) : g.slideTo(g.activeIndex + tt, d, o, h); 19236 } 19237 function slidePrev(d, o, h) { 19238 o === void 0 && (o = true); 19239 const g = this, { params: b, snapGrid: $, slidesGrid: _e, rtlTranslate: et, enabled: tt, animating: rt } = g; 19240 if (!tt || g.destroyed) return g; 19241 typeof d > "u" && (d = g.params.speed); 19242 const nt = g.virtual && b.virtual.enabled; 19243 if (b.loop) { 19244 if (rt && !nt && b.loopPreventsSliding) return false; 19245 g.loopFix({ 19246 direction: "prev" 19247 }), g._clientLeft = g.wrapperEl.clientLeft; 19248 } 19249 const st = et ? g.translate : -g.translate; 19250 function ot(ft) { 19251 return ft < 0 ? -Math.floor(Math.abs(ft)) : Math.floor(ft); 19252 } 19253 const it = ot(st), at = $.map((ft) => ot(ft)), lt = b.freeMode && b.freeMode.enabled; 19254 let ct = $[at.indexOf(it) - 1]; 19255 if (typeof ct > "u" && (b.cssMode || lt)) { 19256 let ft; 19257 $.forEach((dt, pt) => { 19258 it >= dt && (ft = pt); 19259 }), typeof ft < "u" && (ct = lt ? $[ft] : $[ft > 0 ? ft - 1 : ft]); 19260 } 19261 let ut = 0; 19262 if (typeof ct < "u" && (ut = _e.indexOf(ct), ut < 0 && (ut = g.activeIndex - 1), b.slidesPerView === "auto" && b.slidesPerGroup === 1 && b.slidesPerGroupAuto && (ut = ut - g.slidesPerViewDynamic("previous", true) + 1, ut = Math.max(ut, 0))), b.rewind && g.isBeginning) { 19263 const ft = g.params.virtual && g.params.virtual.enabled && g.virtual ? g.virtual.slides.length - 1 : g.slides.length - 1; 19264 return g.slideTo(ft, d, o, h); 19265 } else if (b.loop && g.activeIndex === 0 && b.cssMode) return requestAnimationFrame(() => { 19266 g.slideTo(ut, d, o, h); 19267 }), true; 19268 return g.slideTo(ut, d, o, h); 19269 } 19270 function slideReset(d, o, h) { 19271 o === void 0 && (o = true); 19272 const g = this; 19273 if (!g.destroyed) return typeof d > "u" && (d = g.params.speed), g.slideTo(g.activeIndex, d, o, h); 19274 } 19275 function slideToClosest(d, o, h, g) { 19276 o === void 0 && (o = true), g === void 0 && (g = 0.5); 19277 const b = this; 19278 if (b.destroyed) return; 19279 typeof d > "u" && (d = b.params.speed); 19280 let $ = b.activeIndex; 19281 const _e = Math.min(b.params.slidesPerGroupSkip, $), et = _e + Math.floor(($ - _e) / b.params.slidesPerGroup), tt = b.rtlTranslate ? b.translate : -b.translate; 19282 if (tt >= b.snapGrid[et]) { 19283 const rt = b.snapGrid[et], nt = b.snapGrid[et + 1]; 19284 tt - rt > (nt - rt) * g && ($ += b.params.slidesPerGroup); 19285 } else { 19286 const rt = b.snapGrid[et - 1], nt = b.snapGrid[et]; 19287 tt - rt <= (nt - rt) * g && ($ -= b.params.slidesPerGroup); 19288 } 19289 return $ = Math.max($, 0), $ = Math.min($, b.slidesGrid.length - 1), b.slideTo($, d, o, h); 19290 } 19291 function slideToClickedSlide() { 19292 const d = this; 19293 if (d.destroyed) return; 19294 const { params: o, slidesEl: h } = d, g = o.slidesPerView === "auto" ? d.slidesPerViewDynamic() : o.slidesPerView; 19295 let b = d.getSlideIndexWhenGrid(d.clickedIndex), $; 19296 const _e = d.isElement ? "swiper-slide" : ".".concat(o.slideClass), et = d.grid && d.params.grid && d.params.grid.rows > 1; 19297 if (o.loop) { 19298 if (d.animating) return; 19299 $ = parseInt(d.clickedSlide.getAttribute("data-swiper-slide-index"), 10), o.centeredSlides ? d.slideToLoop($) : b > (et ? (d.slides.length - g) / 2 - (d.params.grid.rows - 1) : d.slides.length - g) ? (d.loopFix(), b = d.getSlideIndex(elementChildren(h, "".concat(_e, '[data-swiper-slide-index="').concat($, '"]'))[0]), nextTick(() => { 19300 d.slideTo(b); 19301 })) : d.slideTo(b); 19302 } else d.slideTo(b); 19303 } 19304 var slide = { 19305 slideTo, 19306 slideToLoop, 19307 slideNext, 19308 slidePrev, 19309 slideReset, 19310 slideToClosest, 19311 slideToClickedSlide 19312 }; 19313 function loopCreate(d, o) { 19314 const h = this, { params: g, slidesEl: b } = h; 19315 if (!g.loop || h.virtual && h.params.virtual.enabled) return; 19316 const $ = () => { 19317 elementChildren(b, ".".concat(g.slideClass, ", swiper-slide")).forEach((it, at) => { 19318 it.setAttribute("data-swiper-slide-index", at); 19319 }); 19320 }, _e = () => { 19321 const ot = elementChildren(b, ".".concat(g.slideBlankClass)); 19322 ot.forEach((it) => { 19323 it.remove(); 19324 }), ot.length > 0 && (h.recalcSlides(), h.updateSlides()); 19325 }, et = h.grid && g.grid && g.grid.rows > 1; 19326 g.loopAddBlankSlides && (g.slidesPerGroup > 1 || et) && _e(); 19327 const tt = g.slidesPerGroup * (et ? g.grid.rows : 1), rt = h.slides.length % tt !== 0, nt = et && h.slides.length % g.grid.rows !== 0, st = (ot) => { 19328 for (let it = 0; it < ot; it += 1) { 19329 const at = h.isElement ? createElement("swiper-slide", [ 19330 g.slideBlankClass 19331 ]) : createElement("div", [ 19332 g.slideClass, 19333 g.slideBlankClass 19334 ]); 19335 h.slidesEl.append(at); 19336 } 19337 }; 19338 if (rt) { 19339 if (g.loopAddBlankSlides) { 19340 const ot = tt - h.slides.length % tt; 19341 st(ot), h.recalcSlides(), h.updateSlides(); 19342 } else showWarning("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"); 19343 $(); 19344 } else if (nt) { 19345 if (g.loopAddBlankSlides) { 19346 const ot = g.grid.rows - h.slides.length % g.grid.rows; 19347 st(ot), h.recalcSlides(), h.updateSlides(); 19348 } else showWarning("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"); 19349 $(); 19350 } else $(); 19351 h.loopFix({ 19352 slideRealIndex: d, 19353 direction: g.centeredSlides ? void 0 : "next", 19354 initial: o 19355 }); 19356 } 19357 function loopFix(d) { 19358 let { slideRealIndex: o, slideTo: h = true, direction: g, setTranslate: b, activeSlideIndex: $, initial: _e, byController: et, byMousewheel: tt } = d === void 0 ? {} : d; 19359 const rt = this; 19360 if (!rt.params.loop) return; 19361 rt.emit("beforeLoopFix"); 19362 const { slides: nt, allowSlidePrev: st, allowSlideNext: ot, slidesEl: it, params: at } = rt, { centeredSlides: lt, initialSlide: ct } = at; 19363 if (rt.allowSlidePrev = true, rt.allowSlideNext = true, rt.virtual && at.virtual.enabled) { 19364 h && (!at.centeredSlides && rt.snapIndex === 0 ? rt.slideTo(rt.virtual.slides.length, 0, false, true) : at.centeredSlides && rt.snapIndex < at.slidesPerView ? rt.slideTo(rt.virtual.slides.length + rt.snapIndex, 0, false, true) : rt.snapIndex === rt.snapGrid.length - 1 && rt.slideTo(rt.virtual.slidesBefore, 0, false, true)), rt.allowSlidePrev = st, rt.allowSlideNext = ot, rt.emit("loopFix"); 19365 return; 19366 } 19367 let ut = at.slidesPerView; 19368 ut === "auto" ? ut = rt.slidesPerViewDynamic() : (ut = Math.ceil(parseFloat(at.slidesPerView, 10)), lt && ut % 2 === 0 && (ut = ut + 1)); 19369 const ft = at.slidesPerGroupAuto ? ut : at.slidesPerGroup; 19370 let dt = lt ? Math.max(ft, Math.ceil(ut / 2)) : ft; 19371 dt % ft !== 0 && (dt += ft - dt % ft), dt += at.loopAdditionalSlides, rt.loopedSlides = dt; 19372 const pt = rt.grid && at.grid && at.grid.rows > 1; 19373 nt.length < ut + dt || rt.params.effect === "cards" && nt.length < ut + dt * 2 ? showWarning("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : pt && at.grid.fill === "row" && showWarning("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`"); 19374 const ht = [], mt = [], gt = pt ? Math.ceil(nt.length / at.grid.rows) : nt.length, yt = _e && gt - ct < ut && !lt; 19375 let xt = yt ? ct : rt.activeIndex; 19376 typeof $ > "u" ? $ = rt.getSlideIndex(nt.find((Dt) => Dt.classList.contains(at.slideActiveClass))) : xt = $; 19377 const _t = g === "next" || !g, St = g === "prev" || !g; 19378 let kt = 0, Rt = 0; 19379 const Yt = (pt ? nt[$].column : $) + (lt && typeof b > "u" ? -ut / 2 + 0.5 : 0); 19380 if (Yt < dt) { 19381 kt = Math.max(dt - Yt, ft); 19382 for (let Dt = 0; Dt < dt - Yt; Dt += 1) { 19383 const Ot = Dt - Math.floor(Dt / gt) * gt; 19384 if (pt) { 19385 const Mt = gt - Ot - 1; 19386 for (let Vt = nt.length - 1; Vt >= 0; Vt -= 1) nt[Vt].column === Mt && ht.push(Vt); 19387 } else ht.push(gt - Ot - 1); 19388 } 19389 } else if (Yt + ut > gt - dt) { 19390 Rt = Math.max(Yt - (gt - dt * 2), ft), yt && (Rt = Math.max(Rt, ut - gt + ct + 1)); 19391 for (let Dt = 0; Dt < Rt; Dt += 1) { 19392 const Ot = Dt - Math.floor(Dt / gt) * gt; 19393 pt ? nt.forEach((Mt, Vt) => { 19394 Mt.column === Ot && mt.push(Vt); 19395 }
19395) : mt.push(Ot); 19396 } 19397 } 19398 if (rt.__preventObserver__ = true, requestAnimationFrame(() => { 19399 rt.__preventObserver__ = false; 19400 }), rt.params.effect === "cards" && nt.length < ut + dt * 2 && (mt.includes($) && mt.splice(mt.indexOf($), 1), ht.includes($) && ht.splice(ht.indexOf($), 1)), St && ht.forEach((Dt) => { 19401 nt[Dt].swiperLoopMoveDOM = true, it.prepend(nt[Dt]), nt[Dt].swiperLoopMoveDOM = false; 19402 }), _t && mt.forEach((Dt) => { 19403 nt[Dt].swiperLoopMoveDOM = true, it.append(nt[Dt]), nt[Dt].swiperLoopMoveDOM = false; 19404 }), rt.recalcSlides(), at.slidesPerView === "auto" ? rt.updateSlides() : pt && (ht.length > 0 && St || mt.length > 0 && _t) && rt.slides.forEach((Dt, Ot) => { 19405 rt.grid.updateSlide(Ot, Dt, rt.slides); 19406 }), at.watchSlidesProgress && rt.updateSlidesOffset(), h) { 19407 if (ht.length > 0 && St) { 19408 if (typeof o > "u") { 19409 const Dt = rt.slidesGrid[xt], Mt = rt.slidesGrid[xt + kt] - Dt; 19410 tt ? rt.setTranslate(rt.translate - Mt) : (rt.slideTo(xt + Math.ceil(kt), 0, false, true), b && (rt.touchEventsData.startTranslate = rt.touchEventsData.startTranslate - Mt, rt.touchEventsData.currentTranslate = rt.touchEventsData.currentTranslate - Mt)); 19411 } else if (b) { 19412 const Dt = pt ? ht.length / at.grid.rows : ht.length; 19413 rt.slideTo(rt.activeIndex + Dt, 0, false, true), rt.touchEventsData.currentTranslate = rt.translate; 19414 } 19415 } else if (mt.length > 0 && _t) if (typeof o > "u") { 19416 const Dt = rt.slidesGrid[xt], Mt = rt.slidesGrid[xt - Rt] - Dt; 19417 tt ? rt.setTranslate(rt.translate - Mt) : (rt.slideTo(xt - Rt, 0, false, true), b && (rt.touchEventsData.startTranslate = rt.touchEventsData.startTranslate - Mt, rt.touchEventsData.currentTranslate = rt.touchEventsData.currentTranslate - Mt)); 19418 } else { 19419 const Dt = pt ? mt.length / at.grid.rows : mt.length; 19420 rt.slideTo(rt.activeIndex - Dt, 0, false, true); 19421 } 19422 } 19423 if (rt.allowSlidePrev = st, rt.allowSlideNext = ot, rt.controller && rt.controller.control && !et) { 19424 const Dt = { 19425 slideRealIndex: o, 19426 direction: g, 19427 setTranslate: b, 19428 activeSlideIndex: $, 19429 byController: true 19430 }; 19431 Array.isArray(rt.controller.control) ? rt.controller.control.forEach((Ot) => { 19432 !Ot.destroyed && Ot.params.loop && Ot.loopFix({ 19433 ...Dt, 19434 slideTo: Ot.params.slidesPerView === at.slidesPerView ? h : false 19435 }); 19436 }) : rt.controller.control instanceof rt.constructor && rt.controller.control.params.loop && rt.controller.control.loopFix({ 19437 ...Dt, 19438 slideTo: rt.controller.control.params.slidesPerView === at.slidesPerView ? h : false 19439 }); 19440 } 19441 rt.emit("loopFix"); 19442 } 19443 function loopDestroy() { 19444 const d = this, { params: o, slidesEl: h } = d; 19445 if (!o.loop || !h || d.virtual && d.params.virtual.enabled) return; 19446 d.recalcSlides(); 19447 const g = []; 19448 d.slides.forEach((b) => { 19449 const $ = typeof b.swiperSlideIndex > "u" ? b.getAttribute("data-swiper-slide-index") * 1 : b.swiperSlideIndex; 19450 g[$] = b; 19451 }), d.slides.forEach((b) => { 19452 b.removeAttribute("data-swiper-slide-index"); 19453 }), g.forEach((b) => { 19454 h.append(b); 19455 }), d.recalcSlides(), d.slideTo(d.realIndex, 0); 19456 } 19457 var loop = { 19458 loopCreate, 19459 loopFix, 19460 loopDestroy 19461 }; 19462 function setGrabCursor(d) { 19463 const o = this; 19464 if (!o.params.simulateTouch || o.params.watchOverflow && o.isLocked || o.params.cssMode) return; 19465 const h = o.params.touchEventsTarget === "container" ? o.el : o.wrapperEl; 19466 o.isElement && (o.__preventObserver__ = true), h.style.cursor = "move", h.style.cursor = d ? "grabbing" : "grab", o.isElement && requestAnimationFrame(() => { 19467 o.__preventObserver__ = false; 19468 }); 19469 } 19470 function unsetGrabCursor() { 19471 const d = this; 19472 d.params.watchOverflow && d.isLocked || d.params.cssMode || (d.isElement && (d.__preventObserver__ = true), d[d.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", d.isElement && requestAnimationFrame(() => { 19473 d.__preventObserver__ = false;
19474 })); 19475 } 19476 var grabCursor = { 19477 setGrabCursor, 19478 unsetGrabCursor 19479 }; 19480 function closestElement(d, o) { 19481 o === void 0 && (o = this); 19482 function h(g) { 19483 if (!g || g === getDocument() || g === getWindow()) return null; 19484 g.assignedSlot && (g = g.assignedSlot); 19485 const b = g.closest(d); 19486 return !b && !g.getRootNode ? null : b || h(g.getRootNode().host); 19487 } 19488 return h(o); 19489 } 19490 function preventEdgeSwipe(d, o, h) { 19491 const g = getWindow(), { params: b } = d, $ = b.edgeSwipeDetection, _e = b.edgeSwipeThreshold; 19492 return $ && (h <= _e || h >= g.innerWidth - _e) ? $ === "prevent" ? (o.preventDefault(), true) : false : true; 19493 } 19494 function onTouchStart(d) { 19495 const o = this, h = getDocument(); 19496 let g = d; 19497 g.originalEvent && (g = g.originalEvent); 19498 const b = o.touchEventsData; 19499 if (g.type === "pointerdown") { 19500 if (b.pointerId !== null && b.pointerId !== g.pointerId) return; 19501 b.pointerId = g.pointerId; 19502 } else g.type === "touchstart" && g.targetTouches.length === 1 && (b.touchId = g.targetTouches[0].identifier); 19503 if (g.type === "touchstart") { 19504 preventEdgeSwipe(o, g, g.targetTouches[0].pageX); 19505 return; 19506 } 19507 const { params: $, touches: _e, enabled: et } = o; 19508 if (!et || !$.simulateTouch && g.pointerType === "mouse" || o.animating && $.preventInteractionOnTransition) return; 19509 !o.animating && $.cssMode && $.loop && o.loopFix(); 19510 let tt = g.target; 19511 if ($.touchEventsTarget === "wrapper" && !elementIsChildOf(tt, o.wrapperEl) || "which" in g && g.which === 3 || "button" in g && g.button > 0 || b.isTouched && b.isMoved) return; 19512 const rt = !!$.noSwipingClass && $.noSwipingClass !== "", nt = g.composedPath ? g.composedPath() : g.path; 19513 rt && g.target && g.target.shadowRoot && nt && (tt = nt[0]); 19514 const st = $.noSwipingSelector ? $.noSwipingSelector : ".".concat($.noSwipingClass), ot = !!(g.target && g.target.shadowRoot); 19515 if ($.noSwiping && (ot ? closestElement(st, tt) : tt.closest(st))) { 19516 o.allowClick = true; 19517 return; 19518 } 19519 if ($.swipeHandler && !tt.closest($.swipeHandler)) return; 19520 _e.currentX = g.pageX, _e.currentY = g.pageY; 19521 const it = _e.currentX, at = _e.currentY; 19522 if (!preventEdgeSwipe(o, g, it)) return; 19523 Object.assign(b, { 19524 isTouched: true, 19525 isMoved: false, 19526 allowTouchCallbacks: true, 19527 isScrolling: void 0, 19528 startMoving: void 0 19529 }), _e.startX = it, _e.startY = at, b.touchStartTime = now$1(), o.allowClick = true, o.updateSize(), o.swipeDirection = void 0, $.threshold > 0 && (b.allowThresholdMove = false); 19530 let lt = true; 19531 tt.matches(b.focusableElements) && (lt = false, tt.nodeName === "SELECT" && (b.isTouched = false)), h.activeElement && h.activeElement.matches(b.focusableElements) && h.activeElement !== tt && (g.pointerType === "mouse" || g.pointerType !== "mouse" && !tt.matches(b.focusableElements)) && h.activeElement.blur(); 19532 const ct = lt && o.allowTouchMove && $.touchStartPreventDefault; 19533 ($.touchStartForcePreventDefault || ct) && !tt.isContentEditable && g.preventDefault(), $.freeMode && $.freeMode.enabled && o.freeMode && o.animating && !$.cssMode && o.freeMode.onTouchStart(), o.emit("touchStart", g); 19534 } 19535 function onTouchMove(d) { 19536 const o = getDocument(), h = this, g = h.touchEventsData, { params: b, touches: $, rtlTranslate: _e, enabled: et } = h; 19537 if (!et || !b.simulateTouch && d.pointerType === "mouse") return; 19538 let tt = d; 19539 if (tt.originalEvent && (tt = tt.originalEvent), tt.type === "pointermove" && (g.touchId !== null || tt.pointerId !== g.pointerId)) return; 19540 let rt; 19541 if (tt.type === "touchmove") { 19542 if (rt = [ 19543 ...tt.changedTouches 19544 ].find((ht) => ht.identifier === g.touchId), !rt || rt.identifier !== g.touchId) return; 19545 } else rt = tt; 19546 if (!g.isTouched) { 19547 g.startMoving && g.isScrolling && h.emit("touchMoveOpposite", tt); 19548 return; 19549 } 19550 const nt = rt.pageX, st = rt.pageY; 19551 if (tt.preventedByNestedSwiper) { 19552 $.startX = nt, $.startY = st; 19553 return; 19554 } 19555 if (!h.allowTouchMove) { 19556 tt.target.matches(g.focusableElements) || (h.allowClick = false), g.isTouched && (Object.assign($, { 19557 startX: nt, 19558 startY: st, 19559 currentX: nt, 19560 currentY: st 19561 }
19561), g.touchStartTime = now$1()); 19562 return; 19563 } 19564 if (b.touchReleaseOnEdges && !b.loop) if (h.isVertical()) { 19565 if (st < $.startY && h.translate <= h.maxTranslate() || st > $.startY && h.translate >= h.minTranslate()) { 19566 g.isTouched = false, g.isMoved = false; 19567 return; 19568 } 19569 } else { 19570 if (_e && (nt > $.startX && -h.translate <= h.maxTranslate() || nt < $.startX && -h.translate >= h.minTranslate())) return; 19571 if (!_e && (nt < $.startX && h.translate <= h.maxTranslate() || nt > $.startX && h.translate >= h.minTranslate())) return; 19572 } 19573 if (o.activeElement && o.activeElement.matches(g.focusableElements) && o.activeElement !== tt.target && tt.pointerType !== "mouse" && o.activeElement.blur(), o.activeElement && tt.target === o.activeElement && tt.target.matches(g.focusableElements)) { 19574 g.isMoved = true, h.allowClick = false; 19575 return; 19576 } 19577 g.allowTouchCallbacks && h.emit("touchMove", tt), $.previousX = $.currentX, $.previousY = $.currentY, $.currentX = nt, $.currentY = st; 19578 const ot = $.currentX - $.startX, it = $.currentY - $.startY; 19579 if (h.params.threshold && Math.sqrt(ot ** 2 + it ** 2) < h.params.threshold) return; 19580 if (typeof g.isScrolling > "u") { 19581 let ht; 19582 h.isHorizontal() && $.currentY === $.startY || h.isVertical() && $.currentX === $.startX ? g.isScrolling = false : ot * ot + it * it >= 25 && (ht = Math.atan2(Math.abs(it), Math.abs(ot)) * 180 / Math.PI, g.isScrolling = h.isHorizontal() ? ht > b.touchAngle : 90 - ht > b.touchAngle); 19583 } 19584 if (g.isScrolling && h.emit("touchMoveOpposite", tt), typeof g.startMoving > "u" && ($.currentX !== $.startX || $.currentY !== $.startY) && (g.startMoving = true), g.isScrolling || tt.type === "touchmove" && g.preventTouchMoveFromPointerMove) { 19585 g.isTouched = false; 19586 return; 19587 } 19588 if (!g.startMoving) return; 19589 h.allowClick = false, !b.cssMode && tt.cancelable && tt.preventDefault(), b.touchMoveStopPropagation && !b.nested && tt.stopPropagation(); 19590 let at = h.isHorizontal() ? ot : it, lt = h.isHorizontal() ? $.currentX - $.previousX : $.currentY - $.previousY; 19591 b.oneWayMovement && (at = Math.abs(at) * (_e ? 1 : -1), lt = Math.abs(lt) * (_e ? 1 : -1)), $.diff = at, at *= b.touchRatio, _e && (at = -at, lt = -lt); 19592 const ct = h.touchesDirection; 19593 h.swipeDirection = at > 0 ? "prev" : "next", h.touchesDirection = lt > 0 ? "prev" : "next"; 19594 const ut = h.params.loop && !b.cssMode, ft = h.touchesDirection === "next" && h.allowSlideNext || h.touchesDirection === "prev" && h.allowSlidePrev; 19595 if (!g.isMoved) { 19596 if (ut && ft && h.loopFix({ 19597 direction: h.swipeDirection 19598 }), g.startTranslate = h.getTranslate(), h.setTransition(0), h.animating) { 19599 const ht = new window.CustomEvent("transitionend", { 19600 bubbles: true, 19601 cancelable: true, 19602 detail: { 19603 bySwiperTouchMove: true 19604 } 19605 }); 19606 h.wrapperEl.dispatchEvent(ht); 19607 } 19608 g.allowMomentumBounce = false, b.grabCursor && (h.allowSlideNext === true || h.allowSlidePrev === true) && h.setGrabCursor(true), h.emit("sliderFirstMove", tt); 19609 } 19610 if ((/* @__PURE__ */ new Date()).getTime(), b._loopSwapReset !== false && g.isMoved && g.allowThresholdMove && ct !== h.touchesDirection && ut && ft && Math.abs(at) >= 1) { 19611 Object.assign($, { 19612 startX: nt, 19613 startY: st, 19614 currentX: nt, 19615 currentY: st, 19616 startTranslate: g.currentTranslate 19617 }), g.loopSwapReset = true, g.startTranslate = g.currentTranslate; 19618 return; 19619 } 19620 h.emit("sliderMove", tt), g.isMoved = true, g.currentTranslate = at + g.startTranslate; 19621 let dt = true, pt = b.resistanceRatio; 19622 if (b.touchReleaseOnEdges && (pt = 0), at > 0 ? (ut && ft && g.allowThresholdMove && g.currentTranslate > (b.centeredSlides ? h.minTranslate() - h.slidesSizesGrid[h.activeIndex + 1] - (b.slidesPerView !== "auto" && h.slides.length - b.slidesPerView >= 2 ? h.slidesSizesGrid[h.activeIndex + 1] + h.params.spaceBetween : 0) - h.params.spaceBetween : h.minTranslate()) && h.loopFix({ 19623 direction: "prev", 19624 setTranslate: true, 19625 activeSlideIndex: 0 19626 }), g.currentTranslate > h.minTranslate() && (dt = false, b.resistance && (g.currentTranslate = h.minTranslate() - 1 + (-h.minTranslate() + g.startTranslate + at) ** pt))) : at < 0 && (ut && ft && g.allowThresholdMove && g.currentTranslate < (b.centeredSlides ? h.maxTranslate() + h.slidesSizesGrid[h.slidesSizesGrid.length - 1] + h.params.spaceBetween + (b.slidesPerView !== "auto" && h.slides.length - b.slidesPerView >= 2 ? h.slidesSizesGrid[h.slidesSizesGrid.length - 1] + h.params.spaceBetween : 0) : h.maxTranslate()) && h.loopFix({
vendor: 4,752 bytes, lines 19627-19705
19627 direction: "next", 19628 setTranslate: true, 19629 activeSlideIndex: h.slides.length - (b.slidesPerView === "auto" ? h.slidesPerViewDynamic() : Math.ceil(parseFloat(b.slidesPerView, 10))) 19630 }), g.currentTranslate < h.maxTranslate() && (dt = false, b.resistance && (g.currentTranslate = h.maxTranslate() + 1 - (h.maxTranslate() - g.startTranslate - at) ** pt))), dt && (tt.preventedByNestedSwiper = true), !h.allowSlideNext && h.swipeDirection === "next" && g.currentTranslate < g.startTranslate && (g.currentTranslate = g.startTranslate), !h.allowSlidePrev && h.swipeDirection === "prev" && g.currentTranslate > g.startTranslate && (g.currentTranslate = g.startTranslate), !h.allowSlidePrev && !h.allowSlideNext && (g.currentTranslate = g.startTranslate), b.threshold > 0) if (Math.abs(at) > b.threshold || g.allowThresholdMove) { 19631 if (!g.allowThresholdMove) { 19632 g.allowThresholdMove = true, $.startX = $.currentX, $.startY = $.currentY, g.currentTranslate = g.startTranslate, $.diff = h.isHorizontal() ? $.currentX - $.startX : $.currentY - $.startY; 19633 return; 19634 } 19635 } else { 19636 g.currentTranslate = g.startTranslate; 19637 return; 19638 } 19639 !b.followFinger || b.cssMode || ((b.freeMode && b.freeMode.enabled && h.freeMode || b.watchSlidesProgress) && (h.updateActiveIndex(), h.updateSlidesClasses()), b.freeMode && b.freeMode.enabled && h.freeMode && h.freeMode.onTouchMove(), h.updateProgress(g.currentTranslate), h.setTranslate(g.currentTranslate)); 19640 } 19641 function onTouchEnd(d) { 19642 const o = this, h = o.touchEventsData; 19643 let g = d; 19644 g.originalEvent && (g = g.originalEvent); 19645 let b; 19646 if (g.type === "touchend" || g.type === "touchcancel") { 19647 if (b = [ 19648 ...g.changedTouches 19649 ].find((ht) => ht.identifier === h.touchId), !b || b.identifier !== h.touchId) return; 19650 } else { 19651 if (h.touchId !== null || g.pointerId !== h.pointerId) return; 19652 b = g; 19653 } 19654 if ([ 19655 "pointercancel", 19656 "pointerout", 19657 "pointerleave", 19658 "contextmenu" 19659 ].includes(g.type) && !([ 19660 "pointercancel", 19661 "contextmenu" 19662 ].includes(g.type) && (o.browser.isSafari || o.browser.isWebView))) return; 19663 h.pointerId = null, h.touchId = null; 19664 const { params: _e, touches: et, rtlTranslate: tt, slidesGrid: rt, enabled: nt } = o; 19665 if (!nt || !_e.simulateTouch && g.pointerType === "mouse") return; 19666 if (h.allowTouchCallbacks && o.emit("touchEnd", g), h.allowTouchCallbacks = false, !h.isTouched) { 19667 h.isMoved && _e.grabCursor && o.setGrabCursor(false), h.isMoved = false, h.startMoving = false; 19668 return; 19669 } 19670 _e.grabCursor && h.isMoved && h.isTouched && (o.allowSlideNext === true || o.allowSlidePrev === true) && o.setGrabCursor(false); 19671 const st = now$1(), ot = st - h.touchStartTime; 19672 if (o.allowClick) { 19673 const ht = g.path || g.composedPath && g.composedPath(); 19674 o.updateClickedSlide(ht && ht[0] || g.target, ht), o.emit("tap click", g), ot < 300 && st - h.lastClickTime < 300 && o.emit("doubleTap doubleClick", g); 19675 } 19676 if (h.lastClickTime = now$1(), nextTick(() => { 19677 o.destroyed || (o.allowClick = true); 19678 }), !h.isTouched || !h.isMoved || !o.swipeDirection || et.diff === 0 && !h.loopSwapReset || h.currentTranslate === h.startTranslate && !h.loopSwapReset) { 19679 h.isTouched = false, h.isMoved = false, h.startMoving = false; 19680 return; 19681 } 19682 h.isTouched = false, h.isMoved = false, h.startMoving = false; 19683 let it; 19684 if (_e.followFinger ? it = tt ? o.translate : -o.translate : it = -h.currentTranslate, _e.cssMode) return; 19685 if (_e.freeMode && _e.freeMode.enabled) { 19686 o.freeMode.onTouchEnd({ 19687 currentPos: it 19688 }); 19689 return; 19690 } 19691 const at = it >= -o.maxTranslate() && !o.params.loop; 19692 let lt = 0, ct = o.slidesSizesGrid[0]; 19693 for (let ht = 0; ht < rt.length; ht += ht < _e.slidesPerGroupSkip ? 1 : _e.slidesPerGroup) { 19694 const mt = ht < _e.slidesPerGroupSkip - 1 ? 1 : _e.slidesPerGroup; 19695 typeof rt[ht + mt] < "u" ? (at || it >= rt[ht] && it < rt[ht + mt]) && (lt = ht, ct = rt[ht + mt] - rt[ht]) : (at || it >= rt[ht]) && (lt = ht, ct = rt[rt.length - 1] - rt[rt.length - 2]); 19696 } 19697 let ut = null, ft = null; 19698 _e.rewind && (o.isBeginning ? ft = _e.virtual && _e.virtual.enabled && o.virtual ? o.virtual.slides.length - 1 : o.slides.length - 1 : o.isEnd && (ut = 0)); 19699 const dt = (it - rt[lt]) / ct, pt = lt < _e.slidesPerGroupSkip - 1 ? 1 : _e.slidesPerGroup; 19700 if (ot > _e.longSwipesMs) { 19701 if (!_e.longSwipes) { 19702 o.slideTo(o.activeIndex); 19703 return; 19704 } 19705 o.swipeDirection === "next" && (dt >= _e.longSwipesRatio ? o.slideTo(_e.rewind && o.isEnd ? ut : lt + pt) : o.slideTo(lt)), o.swipeDirection === "prev" && (dt >
19705 1 - _e.longSwipesRatio ? o.slideTo(lt + pt) : ft !== null && dt < 0 && Math.abs(dt) > _e.longSwipesRatio ? o.slideTo(ft) : o.slideTo(lt)); 19706 } else { 19707 if (!_e.shortSwipes) { 19708 o.slideTo(o.activeIndex); 19709 return; 19710 } 19711 o.navigation && (g.target === o.navigation.nextEl || g.target === o.navigation.prevEl) ? g.target === o.navigation.nextEl ? o.slideTo(lt + pt) : o.slideTo(lt) : (o.swipeDirection === "next" && o.slideTo(ut !== null ? ut : lt + pt), o.swipeDirection === "prev" && o.slideTo(ft !== null ? ft : lt)); 19712 } 19713 } 19714 function onResize() { 19715 const d = this, { params: o, el: h } = d; 19716 if (h && h.offsetWidth === 0) return; 19717 o.breakpoints && d.setBreakpoint(); 19718 const { allowSlideNext: g, allowSlidePrev: b, snapGrid: $ } = d, _e = d.virtual && d.params.virtual.enabled; 19719 d.allowSlideNext = true, d.allowSlidePrev = true, d.updateSize(), d.updateSlides(), d.updateSlidesClasses(); 19720 const et = _e && o.loop; 19721 (o.slidesPerView === "auto" || o.slidesPerView > 1) && d.isEnd && !d.isBeginning && !d.params.centeredSlides && !et ? d.slideTo(d.slides.length - 1, 0, false, true) : d.params.loop && !_e ? d.slideToLoop(d.realIndex, 0, false, true) : d.slideTo(d.activeIndex, 0, false, true), d.autoplay && d.autoplay.running && d.autoplay.paused && (clearTimeout(d.autoplay.resizeTimeout), d.autoplay.resizeTimeout = setTimeout(() => { 19722 d.autoplay && d.autoplay.running && d.autoplay.paused && d.autoplay.resume(); 19723 }, 500)), d.allowSlidePrev = b, d.allowSlideNext = g, d.params.watchOverflow && $ !== d.snapGrid && d.checkOverflow(); 19724 } 19725 function onClick(d) { 19726 const o = this; 19727 o.enabled && (o.allowClick || (o.params.preventClicks && d.preventDefault(), o.params.preventClicksPropagation && o.animating && (d.stopPropagation(), d.stopImmediatePropagation()))); 19728 } 19729 function onScroll() { 19730 const d = this, { wrapperEl: o, rtlTranslate: h, enabled: g } = d; 19731 if (!g) return; 19732 d.previousTranslate = d.translate, d.isHorizontal() ? d.translate = -o.scrollLeft : d.translate = -o.scrollTop, d.translate === 0 && (d.translate = 0), d.updateActiveIndex(), d.updateSlidesClasses(); 19733 let b; 19734 const $ = d.maxTranslate() - d.minTranslate(); 19735 $ === 0 ? b = 0 : b = (d.translate - d.minTranslate()) / $, b !== d.progress && d.updateProgress(h ? -d.translate : d.translate), d.emit("setTranslate", d.translate, false); 19736 } 19737 function onLoad(d) { 19738 const o = this; 19739 processLazyPreloader(o, d.target), !(o.params.cssMode || o.params.slidesPerView !== "auto" && !o.params.autoHeight) && o.update(); 19740 } 19741 function onDocumentTouchStart() { 19742 const d = this; 19743 d.documentTouchHandlerProceeded || (d.documentTouchHandlerProceeded = true, d.params.touchReleaseOnEdges && (d.el.style.touchAction = "auto")); 19744 } 19745 const events = (d, o) => { 19746 const h = getDocument(), { params: g, el: b, wrapperEl: $, device: _e } = d, et = !!g.nested, tt = o === "on" ? "addEventListener" : "removeEventListener", rt = o; 19747 !b || typeof b == "string" || (h[tt]("touchstart", d.onDocumentTouchStart, { 19748 passive: false, 19749 capture: et 19750 }), b[tt]("touchstart", d.onTouchStart, { 19751 passive: false 19752 }), b[tt]("pointerdown", d.onTouchStart, { 19753 passive: false 19754 }), h[tt]("touchmove", d.onTouchMove, { 19755 passive: false, 19756 capture: et 19757 }), h[tt]("pointermove", d.onTouchMove, { 19758 passive: false, 19759 capture: et 19760 }), h[tt]("touchend", d.onTouchEnd, { 19761 passive: true 19762 }), h[tt]("pointerup", d.onTouchEnd, { 19763 passive: true 19764 }), h[tt]("pointercancel", d.onTouchEnd, { 19765 passive: true 19766 }), h[tt]("touchcancel", d.onTouchEnd, { 19767 passive: true 19768 }), h[tt]("pointerout", d.onTouchEnd, { 19769 passive: true 19770 }), h[tt]("pointerleave", d.onTouchEnd, { 19771 passive: true 19772 }), h[tt]("contextmenu", d.onTouchEnd, { 19773 passive: true 19774 }), (g.preventClicks || g.preventClicksPropagation) && b[tt]("click", d.onClick, true), g.cssMode && $[tt]("scroll", d.onScroll), g.updateOnWindowResize ? d[rt](_e.ios || _e.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", onResize, true) : d[rt]("observerUpdate", onResize, true), b[tt]("load", d.onLoad, { 19775 capture: true 19776 })); 19777 }; 19778 function attachEvents() { 19779 const d = this, { params: o } = d; 19780 d.onTouchStart = onTouchStart.bind(d), d.onTouchMove = onTouchMove.bind(d), d.onTouchEnd = onTouchEnd.bind(d), d.onDocumentTouchStart = onDocumentTouchStart.bind(d), o.cssMode && (d.onScroll = onScroll.bind(d)), d.onClick = onClick.bind(d), d.onLoad = onLoad.bind(d), events(d, "on"); 19781 } 19782 function detachEvents() { 19783 events(this, "off"); 19784 } 19785 var events$1 = { 19786 attachEvents, 19787 detachEvents 19788 }; 19789 const isGridEnabled = (d, o) => d.grid && o.grid && o.grid.rows > 1; 19790 function setBreakpoint() { 19791 const d = this, { realIndex: o, initialized: h, params: g, el: b } = d, $ = g.breakpoints; 19792 if (!$ || $ && Object.keys($).length === 0) return; 19793 const _e = getDocument(), et = g.breakpointsBase === "window" || !g.breakpointsBase ? g.breakpointsBase : "container", tt = [ 19794 "window", 19795 "container" 19796 ].includes(g.breakpointsBase) || !g.breakpointsBase ? d.el : _e.querySelector(g.breakpointsBase), rt = d.getBreakp
vendor: 4,128 bytes, lines 19796-19900
19796oint($, et, tt); 19797 if (!rt || d.currentBreakpoint === rt) return; 19798 const st = (rt in $ ? $[rt] : void 0) || d.originalParams, ot = isGridEnabled(d, g), it = isGridEnabled(d, st), at = d.params.grabCursor, lt = st.grabCursor, ct = g.enabled; 19799 ot && !it ? (b.classList.remove("".concat(g.containerModifierClass, "grid"), "".concat(g.containerModifierClass, "grid-column")), d.emitContainerClasses()) : !ot && it && (b.classList.add("".concat(g.containerModifierClass, "grid")), (st.grid.fill && st.grid.fill === "column" || !st.grid.fill && g.grid.fill === "column") && b.classList.add("".concat(g.containerModifierClass, "grid-column")), d.emitContainerClasses()), at && !lt ? d.unsetGrabCursor() : !at && lt && d.setGrabCursor(), [ 19800 "navigation", 19801 "pagination", 19802 "scrollbar" 19803 ].forEach((mt) => { 19804 if (typeof st[mt] > "u") return; 19805 const gt = g[mt] && g[mt].enabled, yt = st[mt] && st[mt].enabled; 19806 gt && !yt && d[mt].disable(), !gt && yt && d[mt].enable(); 19807 }); 19808 const ut = st.direction && st.direction !== g.direction, ft = g.loop && (st.slidesPerView !== g.slidesPerView || ut), dt = g.loop; 19809 ut && h && d.changeDirection(), extend$1(d.params, st); 19810 const pt = d.params.enabled, ht = d.params.loop; 19811 Object.assign(d, { 19812 allowTouchMove: d.params.allowTouchMove, 19813 allowSlideNext: d.params.allowSlideNext, 19814 allowSlidePrev: d.params.allowSlidePrev 19815 }), ct && !pt ? d.disable() : !ct && pt && d.enable(), d.currentBreakpoint = rt, d.emit("_beforeBreakpoint", st), h && (ft ? (d.loopDestroy(), d.loopCreate(o), d.updateSlides()) : !dt && ht ? (d.loopCreate(o), d.updateSlides()) : dt && !ht && d.loopDestroy()), d.emit("breakpoint", st); 19816 } 19817 function getBreakpoint(d, o, h) { 19818 if (o === void 0 && (o = "window"), !d || o === "container" && !h) return; 19819 let g = false; 19820 const b = getWindow(), $ = o === "window" ? b.innerHeight : h.clientHeight, _e = Object.keys(d).map((et) => { 19821 if (typeof et == "string" && et.indexOf("@") === 0) { 19822 const tt = parseFloat(et.substr(1)); 19823 return { 19824 value: $ * tt, 19825 point: et 19826 }; 19827 } 19828 return { 19829 value: et, 19830 point: et 19831 }; 19832 }); 19833 _e.sort((et, tt) => parseInt(et.value, 10) - parseInt(tt.value, 10)); 19834 for (let et = 0; et < _e.length; et += 1) { 19835 const { point: tt, value: rt } = _e[et]; 19836 o === "window" ? b.matchMedia("(min-width: ".concat(rt, "px)")).matches && (g = tt) : rt <= h.clientWidth && (g = tt); 19837 } 19838 return g || "max"; 19839 } 19840 var breakpoints = { 19841 setBreakpoint, 19842 getBreakpoint 19843 }; 19844 function prepareClasses(d, o) { 19845 const h = []; 19846 return d.forEach((g) => { 19847 typeof g == "object" ? Object.keys(g).forEach((b) => { 19848 g[b] && h.push(o + b); 19849 }) : typeof g == "string" && h.push(o + g); 19850 }), h; 19851 } 19852 function addClasses() { 19853 const d = this, { classNames: o, params: h, rtl: g, el: b, device: $ } = d, _e = prepareClasses([ 19854 "initialized", 19855 h.direction, 19856 { 19857 "free-mode": d.params.freeMode && h.freeMode.enabled 19858 }, 19859 { 19860 autoheight: h.autoHeight 19861 }, 19862 { 19863 rtl: g 19864 }, 19865 { 19866 grid: h.grid && h.grid.rows > 1 19867 }, 19868 { 19869 "grid-column": h.grid && h.grid.rows > 1 && h.grid.fill === "column" 19870 }, 19871 { 19872 android: $.android 19873 }, 19874 { 19875 ios: $.ios 19876 }, 19877 { 19878 "css-mode": h.cssMode 19879 }, 19880 { 19881 centered: h.cssMode && h.centeredSlides 19882 }, 19883 { 19884 "watch-progress": h.watchSlidesProgress 19885 } 19886 ], h.containerModifierClass); 19887 o.push(..._e), b.classList.add(...o), d.emitContainerClasses(); 19888 } 19889 function removeClasses() { 19890 const d = this, { el: o, classNames: h } = d; 19891 !o || typeof o == "string" || (o.classList.remove(...h), d.emitContainerClasses()); 19892 } 19893 var classes = { 19894 addClasses, 19895 removeClasses 19896 }; 19897 function checkOverflow() { 19898 const d = this, { isLocked: o, params: h } = d, { slidesOffsetBefore: g } = h; 19899 if (g) { 19900 const b = d.slides.length - 1, $ = d.slidesGrid[b] + d.slidesSizesGrid[b] + g * 2;
19901 d.isLocked = d.size > $; 19902 } else d.isLocked = d.snapGrid.length === 1; 19903 h.allowSlideNext === true && (d.allowSlideNext = !d.isLocked), h.allowSlidePrev === true && (d.allowSlidePrev = !d.isLocked), o && o !== d.isLocked && (d.isEnd = false), o !== d.isLocked && d.emit(d.isLocked ? "lock" : "unlock"); 19904 } 19905 var checkOverflow$1 = { 19906 checkOverflow 19907 }, defaults$1 = { 19908 init: true, 19909 direction: "horizontal", 19910 oneWayMovement: false, 19911 swiperElementNodeName: "SWIPER-CONTAINER", 19912 touchEventsTarget: "wrapper", 19913 initialSlide: 0, 19914 speed: 300, 19915 cssMode: false, 19916 updateOnWindowResize: true, 19917 resizeObserver: true, 19918 nested: false, 19919 createElements: false, 19920 eventsPrefix: "swiper", 19921 enabled: true, 19922 focusableElements: "input, select, option, textarea, button, video, label", 19923 width: null, 19924 height: null, 19925 preventInteractionOnTransition: false, 19926 userAgent: null, 19927 url: null, 19928 edgeSwipeDetection: false, 19929 edgeSwipeThreshold: 20, 19930 autoHeight: false, 19931 setWrapperSize: false, 19932 virtualTranslate: false, 19933 effect: "slide", 19934 breakpoints: void 0, 19935 breakpointsBase: "window", 19936 spaceBetween: 0, 19937 slidesPerView: 1, 19938 slidesPerGroup: 1, 19939 slidesPerGroupSkip: 0, 19940 slidesPerGroupAuto: false, 19941 centeredSlides: false, 19942 centeredSlidesBounds: false, 19943 slidesOffsetBefore: 0, 19944 slidesOffsetAfter: 0, 19945 normalizeSlideIndex: true, 19946 centerInsufficientSlides: false, 19947 watchOverflow: true, 19948 roundLengths: false, 19949 touchRatio: 1, 19950 touchAngle: 45, 19951 simulateTouch: true, 19952 shortSwipes: true, 19953 longSwipes: true, 19954 longSwipesRatio: 0.5, 19955 longSwipesMs: 300, 19956 followFinger: true, 19957 allowTouchMove: true, 19958 threshold: 5, 19959 touchMoveStopPropagation: false, 19960 touchStartPreventDefault: true, 19961 touchStartForcePreventDefault: false, 19962 touchReleaseOnEdges: false, 19963 uniqueNavElements: true, 19964 resistance: true, 19965 resistanceRatio: 0.85, 19966 watchSlidesProgress: false, 19967 grabCursor: false, 19968 preventClicks: true, 19969 preventClicksPropagation: true, 19970 slideToClickedSlide: false, 19971 loop: false, 19972 loopAddBlankSlides: true, 19973 loopAdditionalSlides: 0, 19974 loopPreventsSliding: true, 19975 rewind: false, 19976 allowSlidePrev: true, 19977 allowSlideNext: true, 19978 swipeHandler: null, 19979 noSwiping: true, 19980 noSwipingClass: "swiper-no-swiping", 19981 noSwipingSelector: null, 19982 passiveListeners: true, 19983 maxBackfaceHiddenSlides: 10, 19984 containerModifierClass: "swiper-", 19985 slideClass: "swiper-slide", 19986 slideBlankClass: "swiper-slide-blank", 19987 slideActiveClass: "swiper-slide-active", 19988 slideVisibleClass: "swiper-slide-visible", 19989 slideFullyVisibleClass: "swiper-slide-fully-visible", 19990 slideNextClass: "swiper-slide-next", 19991 slidePrevClass: "swiper-slide-prev", 19992 wrapperClass: "swiper-wrapper", 19993 lazyPreloaderClass: "swiper-lazy-preloader", 19994 lazyPreloadPrevNext: 0, 19995 runCallbacksOnInit: true, 19996 _emitClasses: false 19997 }; 19998 function moduleExtendParams(d, o) { 19999 return function(g) { 20000 g === void 0 && (g = {}); 20001 const b = Object.keys(g)[0], $ = g[b]; 20002 if (typeof $ != "object" || $ === null) { 20003 extend$1(o, g); 20004 return; 20005 } 20006 if (d[b] === true && (d[b] = { 20007 enabled: true 20008 }), b === "navigation" && d[b] && d[b].enabled && !d[b].prevEl && !d[b].nextEl && (d[b].auto = true), [ 20009 "pagination", 20010 "scrollbar" 20011 ].indexOf(b) >= 0 && d[b] && d[b].enabled && !d[b].el && (d[b].auto = true), !(b in d && "enabled" in $)) { 20012 extend$1(o, g); 20013 return; 20014 } 20015 typeof d[b] == "object" && !("enabled" in d[b]) && (d[b].enabled = true), d[b] || (d[b] = { 20016 enabled: false 20017 }), extend$1(o, g); 20018 }; 20019 } 20020 const prototypes = { 20021 eventsEmitter, 20022 update, 20023 translate, 20024 transition, 20025 slide, 20026 loop, 20027 grabCursor, 20028 events: events$1, 20029 breakpoints, 20030 checkOverflow: checkOverflow$1, 20031 classes 20032 }, extendedDefaults = {}; 20033 let Swiper$1 = class _n { 20034 constructor() { 20035 let o, h; 20036 for (var g = arguments.length, b = new Array(g), $ = 0; $ < g; $++) b[$] = arguments[$];
vendor: 1,431 bytes, lines 20037-20067
20037 b.length === 1 && b[0].constructor && Object.prototype.toString.call(b[0]).slice(8, -1) === "Object" ? h = b[0] : [o, h] = b, h || (h = {}), h = extend$1({}, h), o && !h.el && (h.el = o); 20038 const _e = getDocument(); 20039 if (h.el && typeof h.el == "string" && _e.querySelectorAll(h.el).length > 1) { 20040 const nt = []; 20041 return _e.querySelectorAll(h.el).forEach((st) => { 20042 const ot = extend$1({}, h, { 20043 el: st 20044 }); 20045 nt.push(new _n(ot)); 20046 }), nt; 20047 } 20048 const et = this; 20049 et.__swiper__ = true, et.support = getSupport(), et.device = getDevice({ 20050 userAgent: h.userAgent 20051 }), et.browser = getBrowser(), et.eventsListeners = {}, et.eventsAnyListeners = [], et.modules = [ 20052 ...et.__modules__ 20053 ], h.modules && Array.isArray(h.modules) && et.modules.push(...h.modules); 20054 const tt = {}; 20055 et.modules.forEach((nt) => { 20056 nt({ 20057 params: h, 20058 swiper: et, 20059 extendParams: moduleExtendParams(h, tt), 20060 on: et.on.bind(et), 20061 once: et.once.bind(et), 20062 off: et.off.bind(et), 20063 emit: et.emit.bind(et) 20064 }); 20065 }); 20066 const rt = extend$1({}, defaults$1, tt); 20067 return et.params = extend$1({}, rt, extendedDefaults, h), et.originalParams = extend$1({}, et.params), et.passedParams = extend$1({}, h), et.params && et.params.on && Object.keys(et.params.on).forEac
20067h((nt) => { 20068 et.on(nt, et.params.on[nt]); 20069 }), et.params && et.params.onAny && et.onAny(et.params.onAny), Object.assign(et, { 20070 enabled: et.params.enabled, 20071 el: o, 20072 classNames: [], 20073 slides: [], 20074 slidesGrid: [], 20075 snapGrid: [], 20076 slidesSizesGrid: [], 20077 isHorizontal() { 20078 return et.params.direction === "horizontal"; 20079 }, 20080 isVertical() { 20081 return et.params.direction === "vertical"; 20082 }, 20083 activeIndex: 0, 20084 realIndex: 0, 20085 isBeginning: true, 20086 isEnd: false, 20087 translate: 0, 20088 previousTranslate: 0, 20089 progress: 0, 20090 velocity: 0, 20091 animating: false, 20092 cssOverflowAdjustment() { 20093 return Math.trunc(this.translate / 2 ** 23) * 2 ** 23; 20094 }, 20095 allowSlideNext: et.params.allowSlideNext, 20096 allowSlidePrev: et.params.allowSlidePrev, 20097 touchEventsData: { 20098 isTouched: void 0, 20099 isMoved: void 0, 20100 allowTouchCallbacks: void 0, 20101 touchStartTime: void 0, 20102 isScrolling: void 0, 20103 currentTranslate: void 0, 20104 startTranslate: void 0, 20105 allowThresholdMove: void 0, 20106 focusableElements: et.params.focusableElements, 20107 lastClickTime: 0, 20108 clickTimeout: void 0, 20109 velocities: [], 20110 allowMomentumBounce: void 0, 20111 startMoving: void 0, 20112 pointerId: null, 20113 touchId: null 20114 }, 20115 allowClick: true, 20116 allowTouchMove: et.params.allowTouchMove, 20117 touches: { 20118 startX: 0, 20119 startY: 0, 20120 currentX: 0, 20121 currentY: 0, 20122 diff: 0 20123 }, 20124 imagesToLoad: [], 20125 imagesLoaded: 0 20126 }), et.emit("_swiper"), et.params.init && et.init(), et; 20127 } 20128 getDirectionLabel(o) { 20129 return this.isHorizontal() ? o : { 20130 width: "height", 20131 "margin-top": "margin-left", 20132 "margin-bottom ": "margin-right", 20133 "margin-left": "margin-top", 20134 "margin-right": "margin-bottom", 20135 "padding-left": "padding-top", 20136 "padding-right": "padding-bottom", 20137 marginRight: "marginBottom" 20138 }[o]; 20139 } 20140 getSlideIndex(o) { 20141 const { slidesEl: h, params: g } = this, b = elementChildren(h, ".".concat(g.slideClass, ", swiper-slide")), $ = elementIndex(b[0]); 20142 return elementIndex(o) - $; 20143 } 20144 getSlideIndexByData(o) { 20145 return this.getSlideIndex(this.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === o)); 20146 } 20147 getSlideIndexWhenGrid(o) { 20148 return this.grid && this.params.grid && this.params.grid.rows > 1 && (this.params.grid.fill === "column" ? o = Math.floor(o / this.params.grid.rows) : this.params.grid.fill === "row" && (o = o % Math.ceil(this.slides.length / this.params.grid.rows))), o; 20149 } 20150 recalcSlides() { 20151 const o = this, { slidesEl: h, params: g } = o; 20152 o.slides = elementChildren(h, ".".concat(g.slideClass, ", swiper-slide")); 20153 } 20154 enable() { 20155 const o = this; 20156 o.enabled || (o.enabled = true, o.params.grabCursor && o.setGrabCursor(), o.emit("enable")); 20157 } 20158 disable() { 20159 const o = this; 20160 o.enabled && (o.enabled = false, o.params.grabCursor && o.unsetGrabCursor(), o.emit("disable")); 20161 } 20162 setProgress(o, h) { 20163 const g = this; 20164 o = Math.min(Math.max(o, 0), 1); 20165 const b = g.minTranslate(), _e = (g.maxTranslate() - b) * o + b; 20166 g.translateTo(_e, typeof h > "u" ? 0 : h), g.updateActiveIndex(), g.updateSlidesClasses(); 20167 } 20168 emitContainerClasses() { 20169 const o = this; 20170 if (!o.params._emitClasses || !o.el) return; 20171 const h = o.el.className.split(" ").filter((g) => g.indexOf("swiper") === 0 || g.indexOf(o.params.containerModifierClass) === 0); 20172 o.emit("_containerClasses", h.join(" ")); 20173 } 20174 getSlideClasses(o) { 20175 const h = this; 20176 return h.destroyed ? "" : o.className.split(" ").filter((g) => g.indexOf("swiper-slide") === 0 || g.indexOf(h.params.slideClass) === 0).join(" "); 20177 } 20178 emitSlidesClasses() { 20179 const o = this; 20180 if (!o.params._emitClasses || !o.el) return; 20181 const h = [];
20182 o.slides.forEach((g) => { 20183 const b = o.getSlideClasses(g); 20184 h.push({ 20185 slideEl: g, 20186 classNames: b 20187 }), o.emit("_slideClass", g, b); 20188 }), o.emit("_slideClasses", h); 20189 } 20190 slidesPerViewDynamic(o, h) { 20191 o === void 0 && (o = "current"), h === void 0 && (h = false); 20192 const g = this, { params: b, slides: $, slidesGrid: _e, slidesSizesGrid: et, size: tt, activeIndex: rt } = g; 20193 let nt = 1; 20194 if (typeof b.slidesPerView == "number") return b.slidesPerView; 20195 if (b.centeredSlides) { 20196 let st = $[rt] ? Math.ceil($[rt].swiperSlideSize) : 0, ot; 20197 for (let it = rt + 1; it < $.length; it += 1) $[it] && !ot && (st += Math.ceil($[it].swiperSlideSize), nt += 1, st > tt && (ot = true)); 20198 for (let it = rt - 1; it >= 0; it -= 1) $[it] && !ot && (st += $[it].swiperSlideSize, nt += 1, st > tt && (ot = true)); 20199 } else if (o === "current") for (let st = rt + 1; st < $.length; st += 1) (h ? _e[st] + et[st] - _e[rt] < tt : _e[st] - _e[rt] < tt) && (nt += 1); 20200 else for (let st = rt - 1; st >= 0; st -= 1) _e[rt] - _e[st] < tt && (nt += 1); 20201 return nt; 20202 } 20203 update() { 20204 const o = this; 20205 if (!o || o.destroyed) return; 20206 const { snapGrid: h, params: g } = o; 20207 g.breakpoints && o.setBreakpoint(), [ 20208 ...o.el.querySelectorAll('[loading="lazy"]') 20209 ].forEach((_e) => { 20210 _e.complete && processLazyPreloader(o, _e); 20211 }), o.updateSize(), o.updateSlides(), o.updateProgress(), o.updateSlidesClasses(); 20212 function b() { 20213 const _e = o.rtlTranslate ? o.translate * -1 : o.translate, et = Math.min(Math.max(_e, o.maxTranslate()), o.minTranslate()); 20214 o.setTranslate(et), o.updateActiveIndex(), o.updateSlidesClasses(); 20215 } 20216 let $; 20217 if (g.freeMode && g.freeMode.enabled && !g.cssMode) b(), g.autoHeight && o.updateAutoHeight(); 20218 else { 20219 if ((g.slidesPerView === "auto" || g.slidesPerView > 1) && o.isEnd && !g.centeredSlides) { 20220 const _e = o.virtual && g.virtual.enabled ? o.virtual.slides : o.slides; 20221 $ = o.slideTo(_e.length - 1, 0, false, true); 20222 } else $ = o.slideTo(o.activeIndex, 0, false, true); 20223 $ || b(); 20224 } 20225 g.watchOverflow && h !== o.snapGrid && o.checkOverflow(), o.emit("update"); 20226 } 20227 changeDirection(o, h) { 20228 h === void 0 && (h = true); 20229 const g = this, b = g.params.direction; 20230 return o || (o = b === "horizontal" ? "vertical" : "horizontal"), o === b || o !== "horizontal" && o !== "vertical" || (g.el.classList.remove("".concat(g.params.containerModifierClass).concat(b)), g.el.classList.add("".concat(g.params.containerModifierClass).concat(o)), g.emitContainerClasses(), g.params.direction = o, g.slides.forEach(($) => { 20231 o === "vertical" ? $.style.width = "" : $.style.height = ""; 20232 }), g.emit("changeDirection"), h && g.update()), g; 20233 } 20234 changeLanguageDirection(o) { 20235 const h = this; 20236 h.rtl && o === "rtl" || !h.rtl && o === "ltr" || (h.rtl = o === "rtl", h.rtlTranslate = h.params.direction === "horizontal" && h.rtl, h.rtl ? (h.el.classList.add("".concat(h.params.containerModifierClass, "rtl")), h.el.dir = "rtl") : (h.el.classList.remove("".concat(h.params.containerModifierClass, "rtl")), h.el.dir = "ltr"), h.update()); 20237 } 20238 mount(o) { 20239 const h = this; 20240 if (h.mounted) return true; 20241 let g = o || h.params.el; 20242 if (typeof g == "string" && (g = document.querySelector(g)), !g) return false; 20243 g.swiper = h, g.parentNode && g.parentNode.host && g.parentNode.host.nodeName === h.params.swiperElementNodeName.toUpperCase() && (h.isElement = true); 20244 const b = () => ".".concat((h.params.wrapperClass || "").trim().split(" ").join(".")); 20245 let _e = g && g.shadowRoot && g.shadowRoot.querySelector ? g.shadowRoot.querySelector(b()) : elementChildren(g, b())[0]; 20246 return !_e && h.params.createElements && (_e = createElement("div", h.params.wrapperClass), g.append(_e), elementChildren(g, ".".concat(h.params.slideClass)).forEach((et) => { 20247 _e.append(et); 20248 })), Object.assign(h, { 20249 el: g, 20250 wrapperEl: _e, 20251 slidesEl: h.isElement && !g.parentNode.host.slideSlots ? g.parentNode.host : _e, 20252 hostEl: h.isElement ? g.parentNode.host : g, 20253 mounted: true, 20254 rtl: g.dir.toLowerCase() === "rtl" || elementStyle(g, "direction") === "rtl", 20255 rtlTranslate: h.params.direction === "horizontal" && (g.dir.toLowerCase() === "rtl" || elementStyle(g, "direction") === "rtl"), 20256 wrongRTL: elementStyle(_e, "display") === "-webkit-box" 20257 }), true; 20258 } 20259 init(o) { 20260 const h = this; 20261 if (h.initialized || h.mount(o) === false) return h;
20262 h.emit("beforeInit"), h.params.breakpoints && h.setBreakpoint(), h.addClasses(), h.updateSize(), h.updateSlides(), h.params.watchOverflow && h.checkOverflow(), h.params.grabCursor && h.enabled && h.setGrabCursor(), h.params.loop && h.virtual && h.params.virtual.enabled ? h.slideTo(h.params.initialSlide + h.virtual.slidesBefore, 0, h.params.runCallbacksOnInit, false, true) : h.slideTo(h.params.initialSlide, 0, h.params.runCallbacksOnInit, false, true), h.params.loop && h.loopCreate(void 0, true), h.attachEvents(); 20263 const b = [ 20264 ...h.el.querySelectorAll('[loading="lazy"]') 20265 ]; 20266 return h.isElement && b.push(...h.hostEl.querySelectorAll('[loading="lazy"]')), b.forEach(($) => { 20267 $.complete ? processLazyPreloader(h, $) : $.addEventListener("load", (_e) => { 20268 processLazyPreloader(h, _e.target); 20269 }); 20270 }), preload(h), h.initialized = true, preload(h), h.emit("init"), h.emit("afterInit"), h; 20271 } 20272 destroy(o, h) { 20273 o === void 0 && (o = true), h === void 0 && (h = true); 20274 const g = this, { params: b, el: $, wrapperEl: _e, slides: et } = g; 20275 return typeof g.params > "u" || g.destroyed || (g.emit("beforeDestroy"), g.initialized = false, g.detachEvents(), b.loop && g.loopDestroy(), h && (g.removeClasses(), $ && typeof $ != "string" && $.removeAttribute("style"), _e && _e.removeAttribute("style"), et && et.length && et.forEach((tt) => { 20276 tt.classList.remove(b.slideVisibleClass, b.slideFullyVisibleClass, b.slideActiveClass, b.slideNextClass, b.slidePrevClass), tt.removeAttribute("style"), tt.removeAttribute("data-swiper-slide-index"); 20277 })), g.emit("destroy"), Object.keys(g.eventsListeners).forEach((tt) => { 20278 g.off(tt); 20279 }), o !== false && (g.el && typeof g.el != "string" && (g.el.swiper = null), deleteProps(g)), g.destroyed = true), null; 20280 } 20281 static extendDefaults(o) { 20282 extend$1(extendedDefaults, o); 20283 } 20284 static get extendedDefaults() { 20285 return extendedDefaults; 20286 } 20287 static get defaults() { 20288 return defaults$1; 20289 } 20290 static installModule(o) { 20291 _n.prototype.__modules__ || (_n.prototype.__modules__ = []); 20292 const h = _n.prototype.__modules__; 20293 typeof o == "function" && h.indexOf(o) < 0 && h.push(o); 20294 } 20295 static use(o) { 20296 return Array.isArray(o) ? (o.forEach((h) => _n.installModule(h)), _n) : (_n.installModule(o), _n); 20297 } 20298 }; 20299 Object.keys(prototypes).forEach((d) => { 20300 Object.keys(prototypes[d]).forEach((o) => { 20301 Swiper$1.prototype[o] = prototypes[d][o]; 20302 }); 20303 }); 20304 Swiper$1.use([ 20305 Resize, 20306 Observer 20307 ]); 20308 const paramsList = [ 20309 "eventsPrefix", 20310 "injectStyles", 20311 "injectStylesUrls", 20312 "modules", 20313 "init", 20314 "_direction", 20315 "oneWayMovement", 20316 "swiperElementNodeName", 20317 "touchEventsTarget", 20318 "initialSlide", 20319 "_speed", 20320 "cssMode", 20321 "updateOnWindowResize", 20322 "resizeObserver", 20323 "nested", 20324 "focusableElements", 20325 "_enabled", 20326 "_width", 20327 "_height", 20328 "preventInteractionOnTransition", 20329 "userAgent", 20330 "url", 20331 "_edgeSwipeDetection", 20332 "_edgeSwipeThreshold", 20333 "_freeMode", 20334 "_autoHeight", 20335 "setWrapperSize", 20336 "virtualTranslate", 20337 "_effect", 20338 "breakpoints", 20339 "breakpointsBase", 20340 "_spaceBetween", 20341 "_slidesPerView", 20342 "maxBackfaceHiddenSlides", 20343 "_grid", 20344 "_slidesPerGroup", 20345 "_slidesPerGroupSkip", 20346 "_slidesPerGroupAuto", 20347 "_centeredSlides", 20348 "_centeredSlidesBounds", 20349 "_slidesOffsetBefore", 20350 "_slidesOffsetAfter", 20351 "normalizeSlideIndex", 20352 "_centerInsufficientSlides", 20353 "_watchOverflow", 20354 "roundLengths", 20355 "touchRatio", 20356 "touchAngle", 20357 "simulateTouch", 20358 "_shortSwipes", 20359 "_longSwipes", 20360 "longSwipesRatio", 20361 "longSwipesMs", 20362 "_followFinger", 20363 "allowTouchMove", 20364 "_threshold", 20365 "touchMoveStopPropagation", 20366 "touchStartPreventDefault", 20367 "touchStartForcePreventDefault", 20368 "touchReleaseOnEdges", 20369 "uniqueNavElements", 20370 "_resistance", 20371 "_resistanceRatio", 20372 "_watchSlidesProgress", 20373 "_grabCursor", 20374 "preventClicks", 20375 "preventClicksPropagation", 20376 "_slideToClickedSlide", 20377 "_loop", 20378 "loopAdditionalSlides", 20379 "loopAddBlankSlides", 20380 "loopPreventsSliding", 20381 "_rewind", 20382 "_allowSlidePrev", 20383 "_allowSlideNext", 20384 "_swipeHandler", 20385 "_noSwiping", 20386 "noSwipingClass", 20387 "noSwipingSelector", 20388 "passiveListeners", 20389 "containerModifierClass", 20390 "slideClass", 20391 "slideActiveClass", 20392 "slideVisibleClass", 20393 "slideFullyVisibleClass", 20394 "slideNextClass", 20395 "slidePrevClass", 20396 "slideBlankClass", 20397 "wrapperClass", 20398 "lazyPreloaderClass", 20399 "lazyPreloadPrevNext", 20400 "runCallbacksOnInit", 20401 "observer", 20402 "observeParents", 20403 "observeSlideChildren", 20404 "a11y", 20405 "_autoplay", 20406 "_controller", 20407 "coverflowEffect", 20408 "cubeEffect", 20409 "fadeEffect", 20410 "flipEffect", 20411 "creativeEffect", 20412 "cardsEffect", 20413 "hashNavigation", 20414 "history",
20415 "keyboard", 20416 "mousewheel", 20417 "_navigation", 20418 "_pagination", 20419 "parallax", 20420 "_scrollbar", 20421 "_thumbs", 20422 "virtual", 20423 "zoom", 20424 "control" 20425 ]; 20426 function isObject$1(d) { 20427 return typeof d == "object" && d !== null && d.constructor && Object.prototype.toString.call(d).slice(8, -1) === "Object" && !d.__swiper__; 20428 } 20429 function extend(d, o) { 20430 const h = [ 20431 "__proto__", 20432 "constructor", 20433 "prototype" 20434 ]; 20435 Object.keys(o).filter((g) => h.indexOf(g) < 0).forEach((g) => { 20436 typeof d[g] > "u" ? d[g] = o[g] : isObject$1(o[g]) && isObject$1(d[g]) && Object.keys(o[g]).length > 0 ? o[g].__swiper__ ? d[g] = o[g] : extend(d[g], o[g]) : d[g] = o[g]; 20437 }); 20438 } 20439 function needsNavigation(d) { 20440 return d === void 0 && (d = {}), d.navigation && typeof d.navigation.nextEl > "u" && typeof d.navigation.prevEl > "u"; 20441 } 20442 function needsPagination(d) { 20443 return d === void 0 && (d = {}), d.pagination && typeof d.pagination.el > "u"; 20444 } 20445 function needsScrollbar(d) { 20446 return d === void 0 && (d = {}), d.scrollbar && typeof d.scrollbar.el > "u"; 20447 } 20448 function uniqueClasses(d) { 20449 d === void 0 && (d = ""); 20450 const o = d.split(" ").map((g) => g.trim()).filter((g) => !!g), h = []; 20451 return o.forEach((g) => { 20452 h.indexOf(g) < 0 && h.push(g); 20453 }), h.join(" "); 20454 } 20455 function wrapperClass(d) { 20456 return d === void 0 && (d = ""), d ? d.includes("swiper-wrapper") ? d : "swiper-wrapper ".concat(d) : "swiper-wrapper"; 20457 } 20458 function updateSwiper(d) { 20459 let { swiper: o, slides: h, passedParams: g, changedParams: b, nextEl: $, prevEl: _e, scrollbarEl: et, paginationEl: tt } = d; 20460 const rt = b.filter((xt) => xt !== "children" && xt !== "direction" && xt !== "wrapperClass"), { params: nt, pagination: st, navigation: ot, scrollbar: it, virtual: at, thumbs: lt } = o; 20461 let ct, ut, ft, dt, pt, ht, mt, gt; 20462 b.includes("thumbs") && g.thumbs && g.thumbs.swiper && !g.thumbs.swiper.destroyed && nt.thumbs && (!nt.thumbs.swiper || nt.thumbs.swiper.destroyed) && (ct = true), b.includes("controller") && g.controller && g.controller.control && nt.controller && !nt.controller.control && (ut = true), b.includes("pagination") && g.pagination && (g.pagination.el || tt) && (nt.pagination || nt.pagination === false) && st && !st.el && (ft = true), b.includes("scrollbar") && g.scrollbar && (g.scrollbar.el || et) && (nt.scrollbar || nt.scrollbar === false) && it && !it.el && (dt = true), b.includes("navigation") && g.navigation && (g.navigation.prevEl || _e) && (g.navigation.nextEl || $) && (nt.navigation || nt.navigation === false) && ot && !ot.prevEl && !ot.nextEl && (pt = true); 20463 const yt = (xt) => { 20464 o[xt] && (o[xt].destroy(), xt === "navigation" ? (o.isElement && (o[xt].prevEl.remove(), o[xt].nextEl.remove()), nt[xt].prevEl = void 0, nt[xt].nextEl = void 0, o[xt].prevEl = void 0, o[xt].nextEl = void 0) : (o.isElement && o[xt].el.remove(), nt[xt].el = void 0, o[xt].el = void 0)); 20465 }; 20466 b.includes("loop") && o.isElement && (nt.loop && !g.loop ? ht = true : !nt.loop && g.loop ? mt = true : gt = true), rt.forEach((xt) => { 20467 if (isObject$1(nt[xt]) && isObject$1(g[xt])) Object.assign(nt[xt], g[xt]), (xt === "navigation" || xt === "pagination" || xt === "scrollbar") && "enabled" in g[xt] && !g[xt].enabled && yt(xt); 20468 else { 20469 const _t = g[xt]; 20470 (_t === true || _t === false) && (xt === "navigation" || xt === "pagination" || xt === "scrollbar") ? _t === false && yt(xt) : nt[xt] = g[xt]; 20471 } 20472 }), rt.includes("controller") && !ut && o.controller && o.controller.control && nt.controller && nt.controller.control && (o.controller.control = nt.controller.control), b.includes("children") && h && at && nt.virtual.enabled ? (at.slides = h, at.update(true)) : b.includes("virtual") && at && nt.virtual.enabled && (h && (at.slides = h), at.update(true)), b.includes("children") && h && nt.loop && (gt = true), ct && lt.init() && lt.update(true), ut && (o.controller.control = nt.controller.control), ft && (o.isElement && (!tt || typeof tt == "string") && (tt = document.createElement("div"), tt.classList.add("swiper-pagination"), tt.part.add("pagination"), o.el.appendChild(tt)), tt && (nt.pagination.el = tt), st.init(), st.render(), st.update(
20472)), dt && (o.isElement && (!et || typeof et == "string") && (et = document.createElement("div"), et.classList.add("swiper-scrollbar"), et.part.add("scrollbar"), o.el.appendChild(et)), et && (nt.scrollbar.el = et), it.init(), it.updateSize(), it.setTranslate()), pt && (o.isElement && ((!$ || typeof $ == "string") && ($ = document.createElement("div"), $.classList.add("swiper-button-next"), setInnerHTML($, o.hostEl.constructor.nextButtonSvg), $.part.add("button-next"), o.el.appendChild($)), (!_e || typeof _e == "string") && (_e = document.createElement("div"), _e.classList.add("swiper-button-prev"), setInnerHTML(_e, o.hostEl.constructor.prevButtonSvg), _e.part.add("button-prev"), o.el.appendChild(_e))), $ && (nt.navigation.nextEl = $), _e && (nt.navigation.prevEl = _e), ot.init(), ot.update()), b.includes("allowSlideNext") && (o.allowSlideNext = g.allowSlideNext), b.includes("allowSlidePrev") && (o.allowSlidePrev = g.allowSlidePrev), b.includes("direction") && o.changeDirection(g.direction, false), (ht || gt) && o.loopDestroy(), (mt || gt) && o.loopCreate(), o.update(); 20473 } 20474 function getParams(d, o) { 20475 d === void 0 && (d = {}), o === void 0 && (o = true); 20476 const h = { 20477 on: {} 20478 }, g = {}, b = {}; 20479 extend(h, defaults$1), h._emitClasses = true, h.init = false; 20480 const $ = {}, _e = paramsList.map((tt) => tt.replace(/_/, "")), et = Object.assign({}, d); 20481 return Object.keys(et).forEach((tt) => { 20482 typeof d[tt] > "u" || (_e.indexOf(tt) >= 0 ? isObject$1(d[tt]) ? (h[tt] = {}, b[tt] = {}, extend(h[tt], d[tt]), extend(b[tt], d[tt])) : (h[tt] = d[tt], b[tt] = d[tt]) : tt.search(/on[A-Z]/) === 0 && typeof d[tt] == "function" ? o ? g["".concat(tt[2].toLowerCase()).concat(tt.substr(3))] = d[tt] : h.on["".concat(tt[2].toLowerCase()).concat(tt.substr(3))] = d[tt] : $[tt] = d[tt]); 20483 }), [ 20484 "navigation", 20485 "pagination", 20486 "scrollbar" 20487 ].forEach((tt) => { 20488 h[tt] === true && (h[tt] = {}), h[tt] === false && delete h[tt]; 20489 }), { 20490 params: h, 20491 passedParams: b, 20492 rest: $, 20493 events: g 20494 }; 20495 } 20496 function mountSwiper(d, o) { 20497 let { el: h, nextEl: g, prevEl: b, paginationEl: $, scrollbarEl: _e, swiper: et } = d; 20498 needsNavigation(o) && g && b && (et.params.navigation.nextEl = g, et.originalParams.navigation.nextEl = g, et.params.navigation.prevEl = b, et.originalParams.navigation.prevEl = b), needsPagination(o) && $ && (et.params.pagination.el = $, et.originalParams.pagination.el = $), needsScrollbar(o) && _e && (et.params.scrollbar.el = _e, et.originalParams.scrollbar.el = _e), et.init(h); 20499 } 20500 function getChangedParams(d, o, h, g, b) { 20501 const $ = []; 20502 if (!o) return $; 20503 const _e = (tt) => { 20504 $.indexOf(tt) < 0 && $.push(tt); 20505 }; 20506 if (h && g) { 20507 const tt = g.map(b), rt = h.map(b); 20508 tt.join("") !== rt.join("") && _e("children"), g.length !== h.length && _e("children"); 20509 } 20510 return paramsList.filter((tt) => tt[0] === "_").map((tt) => tt.replace(/_/, "")).forEach((tt) => { 20511 if (tt in d && tt in o) if (isObject$1(d[tt]) && isObject$1(o[tt])) { 20512 const rt = Object.keys(d[tt]), nt = Object.keys(o[tt]); 20513 rt.length !== nt.length ? _e(tt) : (rt.forEach((st) => { 20514 d[tt][st] !== o[tt][st] && _e(tt); 20515 }), nt.forEach((st) => { 20516 d[tt][st] !== o[tt][st] && _e(tt); 20517 })); 20518 } else d[tt] !== o[tt] && _e(tt); 20519 }), $; 20520 } 20521 const updateOnVirtualData = (d) => { 20522 !d || d.destroyed || !d.params.virtual || d.params.virtual && !d.params.virtual.enabled || (d.updateSlides(), d.updateProgress(), d.updateSlidesClasses(), d.emit("_virtualUpdated"), d.parallax && d.params.parallax && d.params.parallax.enabled && d.parallax.setTranslate()); 20523 }; 20524 function _extends() { 20525 return _extends = Object.assign ? Object.assign.bind() : function(d) { 20526 for (var o = 1; o < arguments.length; o++) { 20527 var h = arguments[o]; 20528 for (var g in h) Object.prototype.hasOwnProperty.call(h, g) && (d[g] = h[g]); 20529 } 20530 return d; 20531 }, _extends.apply(this, arguments); 20532 } 20533 function isChildSwiperSlide(d) { 20534 return d.type && d.type.displayName && d.type.displayName.includes("SwiperSlide"); 20535 } 20536 function processChildren(d) { 20537 const o = [];
20538 return React$1.Children.toArray(d).forEach((h) => { 20539 isChildSwiperSlide(h) ? o.push(h) : h.props && h.props.children && processChildren(h.props.children).forEach((g) => o.push(g)); 20540 }), o; 20541 } 20542 function getChildren(d) { 20543 const o = [], h = { 20544 "container-start": [], 20545 "container-end": [], 20546 "wrapper-start": [], 20547 "wrapper-end": [] 20548 }; 20549 return React$1.Children.toArray(d).forEach((g) => { 20550 if (isChildSwiperSlide(g)) o.push(g); 20551 else if (g.props && g.props.slot && h[g.props.slot]) h[g.props.slot].push(g); 20552 else if (g.props && g.props.children) { 20553 const b = processChildren(g.props.children); 20554 b.length > 0 ? b.forEach(($) => o.push($)) : h["container-end"].push(g); 20555 } else h["container-end"].push(g); 20556 }), { 20557 slides: o, 20558 slots: h 20559 }; 20560 } 20561 function renderVirtual(d, o, h) { 20562 if (!h) return null; 20563 const g = (nt) => { 20564 let st = nt; 20565 return nt < 0 ? st = o.length + nt : st >= o.length && (st = st - o.length), st; 20566 }, b = d.isHorizontal() ? { 20567 [d.rtlTranslate ? "right" : "left"]: "".concat(h.offset, "px") 20568 } : { 20569 top: "".concat(h.offset, "px") 20570 }, { from: $, to: _e } = h, et = d.params.loop ? -o.length : 0, tt = d.params.loop ? o.length * 2 : o.length, rt = []; 20571 for (let nt = et; nt < tt; nt += 1) nt >= $ && nt <= _e && rt.push(o[g(nt)]); 20572 return rt.map((nt, st) => React$1.cloneElement(nt, { 20573 swiper: d, 20574 style: b, 20575 key: nt.props.virtualIndex || nt.key || "slide-".concat(st) 20576 })); 20577 } 20578 function useIsomorphicLayoutEffect$1(d, o) { 20579 return typeof window > "u" ? reactExports.useEffect(d, o) : reactExports.useLayoutEffect(d, o); 20580 } 20581 const SwiperSlideContext = reactExports.createContext(null), SwiperContext = reactExports.createContext(null), Swiper = reactExports.forwardRef(function(d, o) { 20582 let { className: h, tag: g = "div", wrapperTag: b = "div", children: $, onSwiper: _e, ...et } = d === void 0 ? {} : d, tt = false; 20583 const [rt, nt] = reactExports.useState("swiper"), [st, ot] = reactExports.useState(null), [it, at] = reactExports.useState(false), lt = reactExports.useRef(false), ct = reactExports.useRef(null), ut = reactExports.useRef(null), ft = reactExports.useRef(null), dt = reactExports.useRef(null), pt = reactExports.useRef(null), ht = reactExports.useRef(null), mt = reactExports.useRef(null), gt = reactExports.useRef(null), { params: yt, passedParams: xt, rest: _t, events: St } = getParams(et), { slides: kt, slots: Rt } = getChildren($), Tt = () => { 20584 at(!it); 20585 }; 20586 Object.assign(yt.on, { 20587 _containerClasses(Vt, Et) { 20588 nt(Et); 20589 } 20590 }); 20591 const Yt = () => { 20592 Object.assign(yt.on, St), tt = true; 20593 const Vt = { 20594 ...yt 20595 }; 20596 if (delete Vt.wrapperClass, ut.current = new Swiper$1(Vt), ut.current.virtual && ut.current.params.virtual.enabled) { 20597 ut.current.virtual.slides = kt; 20598 const Et = { 20599 cache: false, 20600 slides: kt, 20601 renderExternal: ot, 20602 renderExternalUpdate: false 20603 }; 20604 extend(ut.current.params.virtual, Et), extend(ut.current.originalParams.virtual, Et); 20605 } 20606 }; 20607 ct.current || Yt(), ut.current && ut.current.on("_beforeBreakpoint", Tt); 20608 const Dt = () => { 20609 tt || !St || !ut.current || Object.keys(St).forEach((Vt) => { 20610 ut.current.on(Vt, St[Vt]); 20611 }); 20612 }, Ot = () => { 20613 !St || !ut.current || Object.keys(St).forEach((Vt) => { 20614 ut.current.off(Vt, St[Vt]); 20615 }); 20616 }; 20617 reactExports.useEffect(() => () => { 20618 ut.current && ut.current.off("_beforeBreakpoint", Tt); 20619 }), reactExports.useEffect(() => { 20620 !lt.current && ut.current && (ut.current.emitSlidesClasses(), lt.current = true); 20621 }), useIsomorphicLayoutEffect$1(() => { 20622 if (o && (o.current = ct.current), !!ct.current) return ut.current.destroyed && Yt(), mountSwiper({ 20623 el: ct.current, 20624 nextEl: pt.current, 20625 prevEl: ht.current, 20626 paginationEl: mt.current, 20627 scrollbarEl: gt.current, 20628 swiper: ut.current 20629 }, yt), _e && !ut.current.destroyed && _e(ut.current), () => { 20630 ut.current && !ut.current.destroyed && ut.current.destroy(true, false); 20631 }; 20632 }, []), useIsomorphicLayoutEffect$1(() => { 20633 Dt(); 20634 const Vt = getChangedParams(xt, ft.current, kt, dt.current, (Et) => Et.key); 20635 return ft.current = xt, dt.current = kt, Vt.length && ut.current && !ut.current.destroyed && updateSwiper({ 20636 swiper: ut.current, 20637 slides: kt, 20638 passedParams: xt, 20639 changedParams: Vt, 20640 nextEl: pt.current, 20641 prevEl: ht.current, 20642 scrollbarEl: gt.current, 20643 paginationEl: mt.current 20644 }), () => { 20645 Ot(); 20646 }; 20647 }), useIsomorphicLayoutEffect$1(() => { 20648 updateOnVirtualData(ut.current); 20649 }, [ 20650 st 20651 ]); 20652 function Mt() { 20653 return yt.virtual ? renderVirtual(ut.current, kt, st) : kt.map((Vt, Et) => React$1.cloneElement(Vt, { 20654 swiper: ut.current, 20655 swiperSlideIndex: Et 20656 })); 20657 } 20658 return React$1.createElement(g, _extends({ 20659 ref: ct, 20660 className: uniqueClasses("".concat(rt).concat(h ? " ".concat(h) : "")) 20661 }, _t), React$1.createElement(SwiperContext.Provider, { 20662 value: ut.current 20663 }, Rt["container-start"], React$1.createElement(b, { 20664 className: wrapperClass(yt.wrapperClass) 20665 }, Rt["wrapper-start"], Mt(), Rt["wrapper-end"]), needsNavigation(yt) && React$1.createElement(React$1.Fragment, null, React$1.createElement("div", { 20666 ref: ht, 20667 className: "swiper-button-prev" 20668 }), React$1.createElement("div", { 20669 ref: pt, 20670 className: "swiper-button-next" 20671 })), needsScrollbar(yt) && React$1.createElement("div", { 20672 ref: gt, 20673 className: "swiper-scrollbar" 20674 }), needsPagination(yt) && React$1.createElement("div", { 20675 ref: mt, 20676 className: "swiper-pagination" 20677 }), Rt["container-end"])); 20678 }); 20679 Swiper.displayName = "Swiper"; 20680 const SwiperSlide = reactExports.forwardRef(function(d, o) { 20681 let { tag: h = "div", children: g, className: b = "", swiper: $, zoom: _e, lazy: et, virtualIndex: tt, swiperSlideIndex: rt, ...nt } = d === void 0 ? {}
20681 : d; 20682 const st = reactExports.useRef(null), [ot, it] = reactExports.useState("swiper-slide"), [at, lt] = reactExports.useState(false); 20683 function ct(pt, ht, mt) { 20684 ht === st.current && it(mt); 20685 } 20686 useIsomorphicLayoutEffect$1(() => { 20687 if (typeof rt < "u" && (st.current.swiperSlideIndex = rt), o && (o.current = st.current), !(!st.current || !$)) { 20688 if ($.destroyed) { 20689 ot !== "swiper-slide" && it("swiper-slide"); 20690 return; 20691 } 20692 return $.on("_slideClass", ct), () => { 20693 $ && $.off("_slideClass", ct); 20694 }; 20695 } 20696 }), useIsomorphicLayoutEffect$1(() => { 20697 $ && st.current && !$.destroyed && it($.getSlideClasses(st.current)); 20698 }, [ 20699 $ 20700 ]); 20701 const ut = { 20702 isActive: ot.indexOf("swiper-slide-active") >= 0, 20703 isVisible: ot.indexOf("swiper-slide-visible") >= 0, 20704 isPrev: ot.indexOf("swiper-slide-prev") >= 0, 20705 isNext: ot.indexOf("swiper-slide-next") >= 0 20706 }, ft = () => typeof g == "function" ? g(ut) : g, dt = () => { 20707 lt(true); 20708 }; 20709 return React$1.createElement(h, _extends({ 20710 ref: st, 20711 className: uniqueClasses("".concat(ot).concat(b ? " ".concat(b) : "")), 20712 "data-swiper-slide-index": tt, 20713 onLoad: dt 20714 }, nt), _e && React$1.createElement(SwiperSlideContext.Provider, { 20715 value: ut 20716 }, React$1.createElement("div", { 20717 className: "swiper-zoom-container", 20718 "data-swiper-zoom": typeof _e == "number" ? _e : void 0 20719 }, ft(), et && !at && React$1.createElement("div", { 20720 className: "swiper-lazy-preloader" 20721 }))), !_e && React$1.createElement(SwiperSlideContext.Provider, { 20722 value: ut 20723 }, ft(), et && !at && React$1.createElement("div", { 20724 className: "swiper-lazy-preloader" 20725 }))); 20726 }); 20727 SwiperSlide.displayName = "SwiperSlide"; 20728 function Virtual(d) { 20729 let { swiper: o, extendParams: h, on: g, emit: b } = d; 20730 h({ 20731 virtual: { 20732 enabled: false, 20733 slides: [], 20734 cache: true, 20735 renderSlide: null, 20736 renderExternal: null, 20737 renderExternalUpdate: true, 20738 addSlidesBefore: 0, 20739 addSlidesAfter: 0 20740 } 20741 }); 20742 let $; 20743 const _e = getDocument(); 20744 o.virtual = { 20745 cache: {}, 20746 from: void 0, 20747 to: void 0, 20748 slides: [], 20749 offset: 0, 20750 slidesGrid: [] 20751 }; 20752 const et = _e.createElement("div"); 20753 function tt(at, lt) { 20754 const ct = o.params.virtual; 20755 if (ct.cache && o.virtual.cache[lt]) return o.virtual.cache[lt]; 20756 let ut; 20757 return ct.renderSlide ? (ut = ct.renderSlide.call(o, at, lt), typeof ut == "string" && (setInnerHTML(et, ut), ut = et.children[0])) : o.isElement ? ut = createElement("swiper-slide") : ut = createElement("div", o.params.slideClass), ut.setAttribute("data-swiper-slide-index", lt), ct.renderSlide || setInnerHTML(ut, at), ct.cache && (o.virtual.cache[lt] = ut), ut; 20758 } 20759 function rt(at, lt, ct) { 20760 const { slidesPerView: ut, slidesPerGroup: ft, centeredSlides: dt, loop: pt, initialSlide: ht } = o.params; 20761 if (lt && !pt && ht > 0) return; 20762 const { addSlidesBefore: mt, addSlidesAfter: gt } = o.params.virtual, { from: yt, to: xt, slides: _t, slidesGrid: St, offset: kt } = o.virtual; 20763 o.params.cssMode || o.updateActiveIndex(); 20764 const Rt = typeof ct > "u" ? o.activeIndex || 0 : ct; 20765 let Tt; 20766 o.rtlTranslate ? Tt = "right" : Tt = o.isHorizontal() ? "left" : "top"; 20767 let Yt, Dt; 20768 dt ? (Yt = Math.floor(ut / 2) + ft + gt, Dt = Math.floor(ut / 2) + ft + mt) : (Yt = ut + (ft - 1) + gt, Dt = (pt ? ut : ft) + mt); 20769 let Ot = Rt - Dt, Mt = Rt + Yt; 20770 pt || (Ot = Math.max(Ot, 0), Mt = Math.min(Mt, _t.length - 1)); 20771 let Vt = (o.slidesGrid[Ot] || 0) - (o.slidesGrid[0] || 0); 20772 pt && Rt >= Dt ? (Ot -= Dt, dt || (Vt += o.slidesGrid[0])) : pt && Rt < Dt && (Ot = -Dt, dt && (Vt += o.slidesGrid[0])), Object.assign(o.virtual, { 20773 from: Ot, 20774 to: Mt, 20775 offset: Vt, 20776 slidesGrid: o.slidesGrid, 20777 slidesBefore: Dt, 20778 slidesAfter: Yt 20779 }); 20780 function Et() { 20781 o.updateSlides(), o.updateProgress(), o.updateSlidesClasses(), b("virtualUpdate"); 20782 } 20783 if (yt === Ot && xt === Mt && !at) {
vendor: 4,887 bytes, lines 20784-20882
20784 o.slidesGrid !== St && Vt !== kt && o.slides.forEach(($t) => { 20785 $t.style[Tt] = "".concat(Vt - Math.abs(o.cssOverflowAdjustment()), "px"); 20786 }), o.updateProgress(), b("virtualUpdate"); 20787 return; 20788 } 20789 if (o.params.virtual.renderExternal) { 20790 o.params.virtual.renderExternal.call(o, { 20791 offset: Vt, 20792 from: Ot, 20793 to: Mt, 20794 slides: function() { 20795 const pr = []; 20796 for (let fr = Ot; fr <= Mt; fr += 1) pr.push(_t[fr]); 20797 return pr; 20798 }() 20799 }), o.params.virtual.renderExternalUpdate ? Et() : b("virtualUpdate"); 20800 return; 20801 } 20802 const Ht = [], Kt = [], ir = ($t) => { 20803 let pr = $t; 20804 return $t < 0 ? pr = _t.length + $t : pr >= _t.length && (pr = pr - _t.length), pr; 20805 }; 20806 if (at) o.slides.filter(($t) => $t.matches(".".concat(o.params.slideClass, ", swiper-slide"))).forEach(($t) => { 20807 $t.remove(); 20808 }); 20809 else for (let $t = yt; $t <= xt; $t += 1) if ($t < Ot || $t > Mt) { 20810 const pr = ir($t); 20811 o.slides.filter((fr) => fr.matches(".".concat(o.params.slideClass, '[data-swiper-slide-index="').concat(pr, '"], swiper-slide[data-swiper-slide-index="').concat(pr, '"]'))).forEach((fr) => { 20812 fr.remove(); 20813 }); 20814 } 20815 const sr = pt ? -_t.length : 0, Er = pt ? _t.length * 2 : _t.length; 20816 for (let $t = sr; $t < Er; $t += 1) if ($t >= Ot && $t <= Mt) { 20817 const pr = ir($t); 20818 typeof xt > "u" || at ? Kt.push(pr) : ($t > xt && Kt.push(pr), $t < yt && Ht.push(pr)); 20819 } 20820 if (Kt.forEach(($t) => { 20821 o.slidesEl.append(tt(_t[$t], $t)); 20822 }), pt) for (let $t = Ht.length - 1; $t >= 0; $t -= 1) { 20823 const pr = Ht[$t]; 20824 o.slidesEl.prepend(tt(_t[pr], pr)); 20825 } 20826 else Ht.sort(($t, pr) => pr - $t), Ht.forEach(($t) => { 20827 o.slidesEl.prepend(tt(_t[$t], $t)); 20828 }); 20829 elementChildren(o.slidesEl, ".swiper-slide, swiper-slide").forEach(($t) => { 20830 $t.style[Tt] = "".concat(Vt - Math.abs(o.cssOverflowAdjustment()), "px"); 20831 }), Et(); 20832 } 20833 function nt(at) { 20834 if (typeof at == "object" && "length" in at) for (let lt = 0; lt < at.length; lt += 1) at[lt] && o.virtual.slides.push(at[lt]); 20835 else o.virtual.slides.push(at); 20836 rt(true); 20837 } 20838 function st(at) { 20839 const lt = o.activeIndex; 20840 let ct = lt + 1, ut = 1; 20841 if (Array.isArray(at)) { 20842 for (let ft = 0; ft < at.length; ft += 1) at[ft] && o.virtual.slides.unshift(at[ft]); 20843 ct = lt + at.length, ut = at.length; 20844 } else o.virtual.slides.unshift(at); 20845 if (o.params.virtual.cache) { 20846 const ft = o.virtual.cache, dt = {}; 20847 Object.keys(ft).forEach((pt) => { 20848 const ht = ft[pt], mt = ht.getAttribute("data-swiper-slide-index"); 20849 mt && ht.setAttribute("data-swiper-slide-index", parseInt(mt, 10) + ut), dt[parseInt(pt, 10) + ut] = ht; 20850 }), o.virtual.cache = dt; 20851 } 20852 rt(true), o.slideTo(ct, 0); 20853 } 20854 function ot(at) { 20855 if (typeof at > "u" || at === null) return; 20856 let lt = o.activeIndex; 20857 if (Array.isArray(at)) for (let ct = at.length - 1; ct >= 0; ct -= 1) o.params.virtual.cache && (delete o.virtual.cache[at[ct]], Object.keys(o.virtual.cache).forEach((ut) => { 20858 ut > at && (o.virtual.cache[ut - 1] = o.virtual.cache[ut], o.virtual.cache[ut - 1].setAttribute("data-swiper-slide-index", ut - 1), delete o.virtual.cache[ut]); 20859 })), o.virtual.slides.splice(at[ct], 1), at[ct] < lt && (lt -= 1), lt = Math.max(lt, 0); 20860 else o.params.virtual.cache && (delete o.virtual.cache[at], Object.keys(o.virtual.cache).forEach((ct) => { 20861 ct > at && (o.virtual.cache[ct - 1] = o.virtual.cache[ct], o.virtual.cache[ct - 1].setAttribute("data-swiper-slide-index", ct - 1), delete o.virtual.cache[ct]); 20862 })), o.virtual.slides.splice(at, 1), at < lt && (lt -= 1), lt = Math.max(lt, 0); 20863 rt(true), o.slideTo(lt, 0); 20864 } 20865 function it() { 20866 o.virtual.slides = [], o.params.virtual.cache && (o.virtual.cache = {}), rt(true), o.slideTo(0, 0); 20867 } 20868 g("beforeInit", () => { 20869 if (!o.params.virtual.enabled) return; 20870 let at; 20871 if (typeof o.passedParams.virtual.slides > "u") { 20872 const lt = [ 20873 ...o.slidesEl.children 20874 ].filter((ct) => ct.matches(".".concat(o.params.slideClass, ", swiper-slide"))); 20875 lt && lt.length && (o.virtual.slides = [ 20876 ...lt 20877 ], at = true, lt.forEach((ct, ut) => { 20878 ct.setAttribute("data-swiper-slide-index", ut), o.virtual.cache[ut] = ct, ct.remove(); 20879 })); 20880 } 20881 at || (o.virtual.slides = o.params.virtual.slides), o.classNames.push("".concat(o.params.containerModifierClass, "virtual")), o.params.watchSlidesProgress = true, o.originalParams.watchSlidesProgress = true, rt(false, true); 20882 }), g("setTranslate", () => {
20883 o.params.virtual.enabled && (o.params.cssMode && !o._immediateVirtual ? (clearTimeout($), $ = setTimeout(() => { 20884 rt(); 20885 }, 100)) : rt()); 20886 }), g("init update resize", () => { 20887 o.params.virtual.enabled && o.params.cssMode && setCSSProperty(o.wrapperEl, "--swiper-virtual-size", "".concat(o.virtualSize, "px")); 20888 }), Object.assign(o.virtual, { 20889 appendSlide: nt, 20890 prependSlide: st, 20891 removeSlide: ot, 20892 removeAllSlides: it, 20893 update: rt 20894 }); 20895 } 20896 function Mousewheel(d) { 20897 let { swiper: o, extendParams: h, on: g, emit: b } = d; 20898 const $ = getWindow(); 20899 h({ 20900 mousewheel: { 20901 enabled: false, 20902 releaseOnEdges: false, 20903 invert: false, 20904 forceToAxis: false, 20905 sensitivity: 1, 20906 eventsTarget: "container", 20907 thresholdDelta: null, 20908 thresholdTime: null, 20909 noMousewheelClass: "swiper-no-mousewheel" 20910 } 20911 }), o.mousewheel = { 20912 enabled: false 20913 }; 20914 let _e, et = now$1(), tt; 20915 const rt = []; 20916 function nt(dt) { 20917 let gt = 0, yt = 0, xt = 0, _t = 0; 20918 return "detail" in dt && (yt = dt.detail), "wheelDelta" in dt && (yt = -dt.wheelDelta / 120), "wheelDeltaY" in dt && (yt = -dt.wheelDeltaY / 120), "wheelDeltaX" in dt && (gt = -dt.wheelDeltaX / 120), "axis" in dt && dt.axis === dt.HORIZONTAL_AXIS && (gt = yt, yt = 0), xt = gt * 10, _t = yt * 10, "deltaY" in dt && (_t = dt.deltaY), "deltaX" in dt && (xt = dt.deltaX), dt.shiftKey && !xt && (xt = _t, _t = 0), (xt || _t) && dt.deltaMode && (dt.deltaMode === 1 ? (xt *= 40, _t *= 40) : (xt *= 800, _t *= 800)), xt && !gt && (gt = xt < 1 ? -1 : 1), _t && !yt && (yt = _t < 1 ? -1 : 1), { 20919 spinX: gt, 20920 spinY: yt, 20921 pixelX: xt, 20922 pixelY: _t 20923 }; 20924 } 20925 function st() { 20926 o.enabled && (o.mouseEntered = true); 20927 } 20928 function ot() { 20929 o.enabled && (o.mouseEntered = false); 20930 } 20931 function it(dt) { 20932 return o.params.mousewheel.thresholdDelta && dt.delta < o.params.mousewheel.thresholdDelta || o.params.mousewheel.thresholdTime && now$1() - et < o.params.mousewheel.thresholdTime ? false : dt.delta >= 6 && now$1() - et < 60 ? true : (dt.direction < 0 ? (!o.isEnd || o.params.loop) && !o.animating && (o.slideNext(), b("scroll", dt.raw)) : (!o.isBeginning || o.params.loop) && !o.animating && (o.slidePrev(), b("scroll", dt.raw)), et = new $.Date().getTime(), false); 20933 } 20934 function at(dt) { 20935 const pt = o.params.mousewheel; 20936 if (dt.direction < 0) { 20937 if (o.isEnd && !o.params.loop && pt.releaseOnEdges) return true; 20938 } else if (o.isBeginning && !o.params.loop && pt.releaseOnEdges) return true; 20939 return false; 20940 } 20941 function lt(dt) { 20942 let pt = dt, ht = true; 20943 if (!o.enabled || dt.target.closest(".".concat(o.params.mousewheel.noMousewheelClass))) return; 20944 const mt = o.params.mousewheel; 20945 o.params.cssMode && pt.preventDefault(); 20946 let gt = o.el; 20947 o.params.mousewheel.eventsTarget !== "container" && (gt = document.querySelector(o.params.mousewheel.eventsTarget)); 20948 const yt = gt && gt.contains(pt.target); 20949 if (!o.mouseEntered && !yt && !mt.releaseOnEdges) return true; 20950 pt.originalEvent && (pt = pt.originalEvent); 20951 let xt = 0; 20952 const _t = o.rtlTranslate ? -1 : 1, St = nt(pt); 20953 if (mt.forceToAxis) if (o.isHorizontal()) if (Math.abs(St.pixelX) > Math.abs(St.pixelY)) xt = -St.pixelX * _t; 20954 else return true; 20955 else if (Math.abs(St.pixelY) > Math.abs(St.pixelX)) xt = -St.pixelY; 20956 else return true; 20957 else xt = Math.abs(St.pixelX) > Math.abs(St.pixelY) ? -St.pixelX * _t : -St.pixelY; 20958 if (xt === 0) return true; 20959 mt.invert && (xt = -xt); 20960 let kt = o.getTranslate() + xt * mt.sensitivity; 20961 if (kt >= o.minTranslate() && (kt = o.minTranslate()), kt <= o.maxTranslate() && (kt = o.maxTranslate()), ht = o.params.loop ? true : !(kt === o.minTranslate() || kt === o.maxTranslate()), ht && o.params.nested && pt.stopPropagation(), !o.params.freeMode || !o.params.freeMode.enabled) { 20962 const Rt = { 20963 time: now$1(), 20964 delta: Math.abs(xt), 20965 direction: Math.sign(xt), 20966 raw: dt 20967 }; 20968 rt.length >= 2 && rt.shift(); 20969 const Tt = rt.length ? rt[rt.length - 1] : void 0; 20970 if (rt.push(Rt), Tt ? (Rt.direction !== Tt.direction || Rt.delta > Tt.delta || Rt.time > Tt.time + 150) && it(Rt) : it(Rt), at(Rt)) return true; 20971 } else { 20972 const Rt = { 20973 time: now$1(), 20974 delta: Math.abs(xt), 20975 direction: Math.sign(xt) 20976 }, Tt = tt && Rt.time < tt.time + 500 && Rt.delta <= tt.delta && Rt.direction === tt.direction; 20977 if (!Tt) { 20978 tt = void 0; 20979 let Yt = o.getTranslate() + xt * mt.sensitivity;
vendor: 7,723 bytes, lines 20980-21136
20980 const Dt = o.isBeginning, Ot = o.isEnd; 20981 if (Yt >= o.minTranslate() && (Yt = o.minTranslate()), Yt <= o.maxTranslate() && (Yt = o.maxTranslate()), o.setTransition(0), o.setTranslate(Yt), o.updateProgress(), o.updateActiveIndex(), o.updateSlidesClasses(), (!Dt && o.isBeginning || !Ot && o.isEnd) && o.updateSlidesClasses(), o.params.loop && o.loopFix({ 20982 direction: Rt.direction < 0 ? "next" : "prev", 20983 byMousewheel: true 20984 }), o.params.freeMode.sticky) { 20985 clearTimeout(_e), _e = void 0, rt.length >= 15 && rt.shift(); 20986 const Mt = rt.length ? rt[rt.length - 1] : void 0, Vt = rt[0]; 20987 if (rt.push(Rt), Mt && (Rt.delta > Mt.delta || Rt.direction !== Mt.direction)) rt.splice(0); 20988 else if (rt.length >= 15 && Rt.time - Vt.time < 500 && Vt.delta - Rt.delta >= 1 && Rt.delta <= 6) { 20989 const Et = xt > 0 ? 0.8 : 0.2; 20990 tt = Rt, rt.splice(0), _e = nextTick(() => { 20991 o.destroyed || !o.params || o.slideToClosest(o.params.speed, true, void 0, Et); 20992 }, 0); 20993 } 20994 _e || (_e = nextTick(() => { 20995 if (o.destroyed || !o.params) return; 20996 const Et = 0.5; 20997 tt = Rt, rt.splice(0), o.slideToClosest(o.params.speed, true, void 0, Et); 20998 }, 500)); 20999 } 21000 if (Tt || b("scroll", pt), o.params.autoplay && o.params.autoplay.disableOnInteraction && o.autoplay.stop(), mt.releaseOnEdges && (Yt === o.minTranslate() || Yt === o.maxTranslate())) return true; 21001 } 21002 } 21003 return pt.preventDefault ? pt.preventDefault() : pt.returnValue = false, false; 21004 } 21005 function ct(dt) { 21006 let pt = o.el; 21007 o.params.mousewheel.eventsTarget !== "container" && (pt = document.querySelector(o.params.mousewheel.eventsTarget)), pt[dt]("mouseenter", st), pt[dt]("mouseleave", ot), pt[dt]("wheel", lt); 21008 } 21009 function ut() { 21010 return o.params.cssMode ? (o.wrapperEl.removeEventListener("wheel", lt), true) : o.mousewheel.enabled ? false : (ct("addEventListener"), o.mousewheel.enabled = true, true); 21011 } 21012 function ft() { 21013 return o.params.cssMode ? (o.wrapperEl.addEventListener(event, lt), true) : o.mousewheel.enabled ? (ct("removeEventListener"), o.mousewheel.enabled = false, true) : false; 21014 } 21015 g("init", () => { 21016 !o.params.mousewheel.enabled && o.params.cssMode && ft(), o.params.mousewheel.enabled && ut(); 21017 }), g("destroy", () => { 21018 o.params.cssMode && ut(), o.mousewheel.enabled && ft(); 21019 }), Object.assign(o.mousewheel, { 21020 enable: ut, 21021 disable: ft 21022 }); 21023 } 21024 function createElementIfNotDefined(d, o, h, g) { 21025 return d.params.createElements && Object.keys(g).forEach((b) => { 21026 if (!h[b] && h.auto === true) { 21027 let $ = elementChildren(d.el, ".".concat(g[b]))[0]; 21028 $ || ($ = createElement("div", g[b]), $.className = g[b], d.el.append($)), h[b] = $, o[b] = $; 21029 } 21030 }), h; 21031 } 21032 function Navigation(d) { 21033 let { swiper: o, extendParams: h, on: g, emit: b } = d; 21034 h({ 21035 navigation: { 21036 nextEl: null, 21037 prevEl: null, 21038 hideOnClick: false, 21039 disabledClass: "swiper-button-disabled", 21040 hiddenClass: "swiper-button-hidden", 21041 lockClass: "swiper-button-lock", 21042 navigationDisabledClass: "swiper-navigation-disabled" 21043 } 21044 }), o.navigation = { 21045 nextEl: null, 21046 prevEl: null 21047 }; 21048 function $(at) { 21049 let lt; 21050 return at && typeof at == "string" && o.isElement && (lt = o.el.querySelector(at) || o.hostEl.querySelector(at), lt) ? lt : (at && (typeof at == "string" && (lt = [ 21051 ...document.querySelectorAll(at) 21052 ]), o.params.uniqueNavElements && typeof at == "string" && lt && lt.length > 1 && o.el.querySelectorAll(at).length === 1 ? lt = o.el.querySelector(at) : lt && lt.length === 1 && (lt = lt[0])), at && !lt ? at : lt); 21053 } 21054 function _e(at, lt) { 21055 const ct = o.params.navigation; 21056 at = makeElementsArray(at), at.forEach((ut) => { 21057 ut && (ut.classList[lt ? "add" : "remove"](...ct.disabledClass.split(" ")), ut.tagName === "BUTTON" && (ut.disabled = lt), o.params.watchOverflow && o.enabled && ut.classList[o.isLocked ? "add" : "remove"](ct.lockClass)); 21058 }); 21059 } 21060 function et() { 21061 const { nextEl: at, prevEl: lt } = o.navigation; 21062 if (o.params.loop) { 21063 _e(lt, false), _e(at, false); 21064 return; 21065 } 21066 _e(lt, o.isBeginning && !o.params.rewind), _e(at, o.isEnd && !o.params.rewind); 21067 } 21068 function tt(at) { 21069 at.preventDefault(), !(o.isBeginning && !o.params.loop && !o.params.rewind) && (o.slidePrev(), b("navigationPrev")); 21070 } 21071 function rt(at) { 21072 at.preventDefault(), !(o.isEnd && !o.params.loop && !o.params.rewind) && (o.slideNext(), b("navigationNext")); 21073 } 21074 function nt() { 21075 const at = o.params.navigation; 21076 if (o.params.navigation = createElementIfNotDefined(o, o.originalParams.navigation, o.params.navigation, { 21077 nextEl: "swiper-button-next", 21078 prevEl: "swiper-button-prev" 21079 }), !(at.nextEl || at.prevEl)) return; 21080 let lt = $(at.nextEl), ct = $(at.prevEl); 21081 Object.assign(o.navigation, { 21082 nextEl: lt, 21083 prevEl: ct 21084 }), lt = makeElementsArray(lt), ct = makeElementsArray(ct); 21085 const ut = (ft, dt) => { 21086 ft && ft.addEventListener("click", dt === "next" ? rt : tt), !o.enabled && ft && ft.classList.add(...at.lockClass.split(" ")); 21087 }; 21088 lt.forEach((ft) => ut(ft, "next")), ct.forEach((ft) => ut(ft, "prev")); 21089 } 21090 function st() { 21091 let { nextEl: at, prevEl: lt } = o.navigation; 21092 at = makeElementsArray(at), lt = makeElementsArray(lt); 21093 const ct = (ut, ft) => { 21094 ut.removeEventListener("click", ft === "next" ? rt : tt), ut.classList.remove(...o.params.navigation.disabledClass.split(" ")); 21095 }; 21096 at.forEach((ut) => ct(ut, "next")), lt.forEach((ut) => ct(ut, "prev")); 21097 } 21098 g("init", () => { 21099 o.params.navigation.enabled === false ? it() : (nt(), et()); 21100 }), g("toEdge fromEdge lock unlock", () => { 21101 et(); 21102 }), g("destroy", () => { 21103 st(); 21104 }), g("enable disable", () => { 21105 let { nextEl: at, prevEl: lt } = o.navigation; 21106 if (at = makeElementsArray(at), lt = makeElementsArray(lt), o.enabled) { 21107 et(); 21108 return; 21109 } 21110 [ 21111 ...at, 21112 ...lt 21113 ].filter((ct) => !!ct).forEach((ct) => ct.classList.add(o.params.navigation.lockClass)); 21114 }), g("click", (at, lt) => { 21115 let { nextEl: ct, prevEl: ut } = o.navigation; 21116 ct = makeElementsArray(ct), ut = makeElementsArray(ut); 21117 const ft = lt.target; 21118 let dt = ut.includes(ft) || ct.includes(ft); 21119 if (o.isElement && !dt) { 21120 const pt = lt.path || lt.composedPath && lt.composedPath(); 21121 pt && (dt = pt.find((ht) => ct.includes(ht) || ut.includes(ht))); 21122 } 21123 if (o.params.navigation.hideOnClick && !dt) { 21124 if (o.pagination && o.params.pagination && o.params.pagination.clickable && (o.pagination.el === ft || o.pagination.el.contains(ft))) return; 21125 let pt; 21126 ct.length ? pt = ct[0].classList.contains(o.params.navigation.hiddenClass) : ut.length && (pt = ut[0].classList.contains(o.params.navigation.hiddenClass)), b(pt === true ? "navigationShow" : "navigationHide"), [ 21127 ...ct, 21128 ...ut 21129 ].filter((ht) => !!ht).forEach((ht) => ht.classList.toggle(o.params.navigation.hiddenClass)); 21130 } 21131 }); 21132 const ot = () => { 21133 o.el.classList.remove(...o.params.navigation.navigationDisabledClass.split(" ")), nt(), et(); 21134 }, it = () => { 21135 o.el.classList.add(...o.params.navigation.navigationDisabledClass.split(" ")), st(); 21136 };
21137 Object.assign(o.navigation, { 21138 enable: ot, 21139 disable: it, 21140 update: et, 21141 init: nt, 21142 destroy: st 21143 }); 21144 } 21145 function Autoplay(d) { 21146 let { swiper: o, extendParams: h, on: g, emit: b, params: $ } = d; 21147 o.autoplay = { 21148 running: false, 21149 paused: false, 21150 timeLeft: 0 21151 }, h({ 21152 autoplay: { 21153 enabled: false, 21154 delay: 3e3, 21155 waitForTransition: true, 21156 disableOnInteraction: false, 21157 stopOnLastSlide: false, 21158 reverseDirection: false, 21159 pauseOnMouseEnter: false 21160 } 21161 }); 21162 let _e, et, tt = $ && $.autoplay ? $.autoplay.delay : 3e3, rt = $ && $.autoplay ? $.autoplay.delay : 3e3, nt, st = (/* @__PURE__ */ new Date()).getTime(), ot, it, at, lt, ct, ut, ft; 21163 function dt(Mt) { 21164 !o || o.destroyed || !o.wrapperEl || Mt.target === o.wrapperEl && (o.wrapperEl.removeEventListener("transitionend", dt), !(ft || Mt.detail && Mt.detail.bySwiperTouchMove) && _t()); 21165 } 21166 const pt = () => { 21167 if (o.destroyed || !o.autoplay.running) return; 21168 o.autoplay.paused ? ot = true : ot && (rt = nt, ot = false); 21169 const Mt = o.autoplay.paused ? nt : st + rt - (/* @__PURE__ */ new Date()).getTime(); 21170 o.autoplay.timeLeft = Mt, b("autoplayTimeLeft", Mt, Mt / tt), et = requestAnimationFrame(() => { 21171 pt(); 21172 }); 21173 }, ht = () => { 21174 let Mt; 21175 return o.virtual && o.params.virtual.enabled ? Mt = o.slides.find((Et) => Et.classList.contains("swiper-slide-active")) : Mt = o.slides[o.activeIndex], Mt ? parseInt(Mt.getAttribute("data-swiper-autoplay"), 10) : void 0; 21176 }, mt = (Mt) => { 21177 if (o.destroyed || !o.autoplay.running) return; 21178 cancelAnimationFrame(et), pt(); 21179 let Vt = typeof Mt > "u" ? o.params.autoplay.delay : Mt; 21180 tt = o.params.autoplay.delay, rt = o.params.autoplay.delay; 21181 const Et = ht(); 21182 !Number.isNaN(Et) && Et > 0 && typeof Mt > "u" && (Vt = Et, tt = Et, rt = Et), nt = Vt; 21183 const Ht = o.params.speed, Kt = () => { 21184 !o || o.destroyed || (o.params.autoplay.reverseDirection ? !o.isBeginning || o.params.loop || o.params.rewind ? (o.slidePrev(Ht, true, true), b("autoplay")) : o.params.autoplay.stopOnLastSlide || (o.slideTo(o.slides.length - 1, Ht, true, true), b("autoplay")) : !o.isEnd || o.params.loop || o.params.rewind ? (o.slideNext(Ht, true, true), b("autoplay")) : o.params.autoplay.stopOnLastSlide || (o.slideTo(0, Ht, true, true), b("autoplay")), o.params.cssMode && (st = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => { 21185 mt(); 21186 }))); 21187 }; 21188 return Vt > 0 ? (clearTimeout(_e), _e = setTimeout(() => { 21189 Kt(); 21190 }, Vt)) : requestAnimationFrame(() => { 21191 Kt(); 21192 }), Vt; 21193 }, gt = () => { 21194 st = (/* @__PURE__ */ new Date()).getTime(), o.autoplay.running = true, mt(), b("autoplayStart"); 21195 }, yt = () => { 21196 o.autoplay.running = false, clearTimeout(_e), cancelAnimationFrame(et), b("autoplayStop"); 21197 }, xt = (Mt, Vt) => { 21198 if (o.destroyed || !o.autoplay.running) return; 21199 clearTimeout(_e), Mt || (ut = true); 21200 const Et = () => { 21201 b("autoplayPause"), o.params.autoplay.waitForTransition ? o.wrapperEl.addEventListener("transitionend", dt) : _t(); 21202 }; 21203 if (o.autoplay.paused = true, Vt) { 21204 ct && (nt = o.params.autoplay.delay), ct = false, Et(); 21205 return; 21206 } 21207 nt = (nt || o.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - st), !(o.isEnd && nt < 0 && !o.params.loop) && (nt < 0 && (nt = 0), Et()); 21208 }, _t = () => { 21209 o.isEnd && nt < 0 && !o.params.loop || o.destroyed || !o.autoplay.running || (st = (/* @__PURE__ */ new Date()).getTime(), ut ? (ut = false, mt(nt)) : mt(), o.autoplay.paused = false, b("autoplayResume")); 21210 }, St = () => { 21211 if (o.destroyed || !o.autoplay.running) return; 21212 const Mt = getDocument(); 21213 Mt.visibilityState === "hidden" && (ut = true, xt(true)), Mt.visibilityState === "visible" && _t(); 21214 }, kt = (Mt) => { 21215 Mt.pointerType === "mouse" && (ut = true, ft = true, !(o.animating || o.autoplay.paused) && xt(true)); 21216 }, Rt = (Mt) => { 21217 Mt.pointerType === "mouse" && (ft = false, o.autoplay.paused && _t()); 21218 }, Tt = () => { 21219 o.params.autoplay.pauseOnMouseEnter && (o.el.addEventListener("pointerenter", kt), o.el.addEventListener("pointerleave", Rt)); 21220 }, Yt = () => { 21221 o.el && typeof o.el != "string" && (o.el.removeEventListener("pointerenter", kt), o.el.removeEventListener("pointerleave", Rt)); 21222 }, Dt = () => { 21223 getDocument().addEventListener("visibilitychange", St); 21224 }, Ot = () => { 21225 getDocument().removeEventListener("visibilitychange", St); 21226 }; 21227 g("init", () => { 21228 o.params.autoplay.enabled && (Tt(), Dt(), gt()); 21229 }), g("destroy", () => { 21230 Yt(), Ot(), o.autoplay.running && yt(); 21231 }), g("_freeModeStaticRelease", () => { 21232 (at || ut) && _t(); 21233 }), g("_freeModeNoMomentumRelease", () => { 21234 o.params.autoplay.disableOnInteraction ? yt() : xt(true, true); 21235 }), g("beforeTransitionStart", (Mt, Vt, Et) => { 21236 o.destroyed || !o.autoplay.running || (Et || !o.params.autoplay.disableOnInteraction ? xt(true, true) : yt()); 21237 }), g("sliderFirstMove", () => { 21238 if (!(o.destroyed || !o.autoplay.running)) { 21239 if (o.params.autoplay.disableOnInteraction) { 21240 yt(); 21241 return; 21242 } 21243 it = true, at = false, ut = false, lt = setTimeout(() => { 21244 ut = true, at = true, xt(true); 21245 }, 200); 21246 } 21247 }), g("touchEnd", () => { 21248 if (!(o.destroyed || !o.autoplay.running || !it)) { 21249 if (clearTimeout(lt), clearTimeout(_e), o.params.autoplay.disableOnInteraction) { 21250 at = false, it = false;
21251 return; 21252 } 21253 at && o.params.cssMode && _t(), at = false, it = false; 21254 } 21255 }), g("slideChange", () => { 21256 o.destroyed || !o.autoplay.running || (ct = true); 21257 }), Object.assign(o.autoplay, { 21258 start: gt, 21259 stop: yt, 21260 pause: xt, 21261 resume: _t 21262 }); 21263 } 21264 function Thumb(d) { 21265 let { swiper: o, extendParams: h, on: g } = d; 21266 h({ 21267 thumbs: { 21268 swiper: null, 21269 multipleActiveThumbs: true, 21270 autoScrollOffset: 0, 21271 slideThumbActiveClass: "swiper-slide-thumb-active", 21272 thumbsContainerClass: "swiper-thumbs" 21273 } 21274 }); 21275 let b = false, $ = false; 21276 o.thumbs = { 21277 swiper: null 21278 }; 21279 function _e() { 21280 const rt = o.thumbs.swiper; 21281 if (!rt || rt.destroyed) return; 21282 const nt = rt.clickedIndex, st = rt.clickedSlide; 21283 if (st && st.classList.contains(o.params.thumbs.slideThumbActiveClass) || typeof nt > "u" || nt === null) return; 21284 let ot; 21285 rt.params.loop ? ot = parseInt(rt.clickedSlide.getAttribute("data-swiper-slide-index"), 10) : ot = nt, o.params.loop ? o.slideToLoop(ot) : o.slideTo(ot); 21286 } 21287 function et() { 21288 const { thumbs: rt } = o.params; 21289 if (b) return false; 21290 b = true; 21291 const nt = o.constructor; 21292 if (rt.swiper instanceof nt) { 21293 if (rt.swiper.destroyed) return b = false, false; 21294 o.thumbs.swiper = rt.swiper, Object.assign(o.thumbs.swiper.originalParams, { 21295 watchSlidesProgress: true, 21296 slideToClickedSlide: false 21297 }), Object.assign(o.thumbs.swiper.params, { 21298 watchSlidesProgress: true, 21299 slideToClickedSlide: false 21300 }), o.thumbs.swiper.update(); 21301 } else if (isObject$2(rt.swiper)) { 21302 const st = Object.assign({}, rt.swiper); 21303 Object.assign(st, { 21304 watchSlidesProgress: true, 21305 slideToClickedSlide: false 21306 }), o.thumbs.swiper = new nt(st), $ = true; 21307 } 21308 return o.thumbs.swiper.el.classList.add(o.params.thumbs.thumbsContainerClass), o.thumbs.swiper.on("tap", _e), true; 21309 } 21310 function tt(rt) { 21311 const nt = o.thumbs.swiper; 21312 if (!nt || nt.destroyed) return; 21313 const st = nt.params.slidesPerView === "auto" ? nt.slidesPerViewDynamic() : nt.params.slidesPerView; 21314 let ot = 1; 21315 const it = o.params.thumbs.slideThumbActiveClass; 21316 if (o.params.slidesPerView > 1 && !o.params.centeredSlides && (ot = o.params.slidesPerView), o.params.thumbs.multipleActiveThumbs || (ot = 1), ot = Math.floor(ot), nt.slides.forEach((ct) => ct.classList.remove(it)), nt.params.loop || nt.params.virtual && nt.params.virtual.enabled) for (let ct = 0; ct < ot; ct += 1) elementChildren(nt.slidesEl, '[data-swiper-slide-index="'.concat(o.realIndex + ct, '"]')).forEach((ut) => { 21317 ut.classList.add(it); 21318 }); 21319 else for (let ct = 0; ct < ot; ct += 1) nt.slides[o.realIndex + ct] && nt.slides[o.realIndex + ct].classList.add(it); 21320 const at = o.params.thumbs.autoScrollOffset, lt = at && !nt.params.loop; 21321 if (o.realIndex !== nt.realIndex || lt) { 21322 const ct = nt.activeIndex; 21323 let ut, ft; 21324 if (nt.params.loop) { 21325 const dt = nt.slides.find((pt) => pt.getAttribute("data-swiper-slide-index") === "".concat(o.realIndex)); 21326 ut = nt.slides.indexOf(dt), ft = o.activeIndex > o.previousIndex ? "next" : "prev"; 21327 } else ut = o.realIndex, ft = ut > o.previousIndex ? "next" : "prev"; 21328 lt && (ut += ft === "next" ? at : -1 * at), nt.visibleSlidesIndexes && nt.visibleSlidesIndexes.indexOf(ut) < 0 && (nt.params.centeredSlides ? ut > ct ? ut = ut - Math.floor(st / 2) + 1 : ut = ut + Math.floor(st / 2) - 1 : ut > ct && nt.params.slidesPerGroup, nt.slideTo(ut, rt ? 0 : void 0)); 21329 } 21330 } 21331 g("beforeInit", () => { 21332 const { thumbs: rt } = o.params; 21333 if (!(!rt || !rt.swiper)) if (typeof rt.swiper == "string" || rt.swiper instanceof HTMLElement) { 21334 const nt = getDocument(), st = () => { 21335 const it = typeof rt.swiper == "string" ? nt.querySelector(rt.swiper) : rt.swiper; 21336 if (it && it.swiper) rt.swiper = it.swiper, et(), tt(true); 21337 else if (it) { 21338 const at = "".concat(o.params.eventsPrefix, "init"), lt = (ct) => { 21339 rt.swiper = ct.detail[0], it.removeEventListener(at, lt), et(), tt(true), rt.swiper.update(
21339), o.update(); 21340 }; 21341 it.addEventListener(at, lt); 21342 } 21343 return it; 21344 }, ot = () => { 21345 if (o.destroyed) return; 21346 st() || requestAnimationFrame(ot); 21347 }; 21348 requestAnimationFrame(ot); 21349 } else et(), tt(true); 21350 }), g("slideChange update resize observerUpdate", () => { 21351 tt(); 21352 }), g("setTransition", (rt, nt) => { 21353 const st = o.thumbs.swiper; 21354 !st || st.destroyed || st.setTransition(nt); 21355 }), g("beforeDestroy", () => { 21356 const rt = o.thumbs.swiper; 21357 !rt || rt.destroyed || $ && rt.destroy(); 21358 }), Object.assign(o.thumbs, { 21359 init: et, 21360 update: tt 21361 }); 21362 } 21363 function effectInit(d) { 21364 const { effect: o, swiper: h, on: g, setTranslate: b, setTransition: $, overwriteParams: _e, perspective: et, recreateShadows: tt, getEffectParams: rt } = d; 21365 g("beforeInit", () => { 21366 if (h.params.effect !== o) return; 21367 h.classNames.push("".concat(h.params.containerModifierClass).concat(o)), et && et() && h.classNames.push("".concat(h.params.containerModifierClass, "3d")); 21368 const st = _e ? _e() : {}; 21369 Object.assign(h.params, st), Object.assign(h.originalParams, st); 21370 }), g("setTranslate _virtualUpdated", () => { 21371 h.params.effect === o && b(); 21372 }), g("setTransition", (st, ot) => { 21373 h.params.effect === o && $(ot); 21374 }), g("transitionEnd", () => { 21375 if (h.params.effect === o && tt) { 21376 if (!rt || !rt().slideShadows) return; 21377 h.slides.forEach((st) => { 21378 st.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((ot) => ot.remove()); 21379 }), tt(); 21380 } 21381 }); 21382 let nt; 21383 g("virtualUpdate", () => { 21384 h.params.effect === o && (h.slides.length || (nt = true), requestAnimationFrame(() => { 21385 nt && h.slides && h.slides.length && (b(), nt = false); 21386 })); 21387 }); 21388 } 21389 function effectTarget(d, o) { 21390 const h = getSlideTransformEl(o); 21391 return h !== o && (h.style.backfaceVisibility = "hidden", h.style["-webkit-backface-visibility"] = "hidden"), h; 21392 } 21393 function effectVirtualTransitionEnd(d) { 21394 let { swiper: o, duration: h, transformElements: g } = d; 21395 const { activeIndex: b } = o; 21396 if (o.params.virtualTranslate && h !== 0) { 21397 let $ = false, _e; 21398 _e = g, _e.forEach((et) => { 21399 elementTransitionEnd(et, () => { 21400 if ($ || !o || o.destroyed) return; 21401 $ = true, o.animating = false; 21402 const tt = new window.CustomEvent("transitionend", { 21403 bubbles: true, 21404 cancelable: true 21405 }); 21406 o.wrapperEl.dispatchEvent(tt); 21407 }); 21408 }); 21409 } 21410 } 21411 function EffectFade(d) { 21412 let { swiper: o, extendParams: h, on: g } = d; 21413 h({ 21414 fadeEffect: { 21415 crossFade: false 21416 } 21417 }), effectInit({ 21418 effect: "fade", 21419 swiper: o, 21420 on: g, 21421 setTranslate: () => { 21422 const { slides: _e } = o, et = o.params.fadeEffect; 21423 for (let tt = 0; tt < _e.length; tt += 1) { 21424 const rt = o.slides[tt]; 21425 let st = -rt.swiperSlideOffset; 21426 o.params.virtualTranslate || (st -= o.translate); 21427 let ot = 0; 21428 o.isHorizontal() || (ot = st, st = 0); 21429 const it = o.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(rt.progress), 0) : 1 + Math.min(Math.max(rt.progress, -1), 0), at = effectTarget(et, rt); 21430 at.style.opacity = it, at.style.transform = "translate3d(".concat(st, "px, ").concat(ot, "px, 0px)"); 21431 } 21432 }, 21433 setTransition: (_e) => { 21434 const et = o.slides.map((tt) => getSlideTransformEl(tt)); 21435 et.forEach((tt) => { 21436 tt.style.transitionDuration = "".concat(_e, "ms"); 21437 }), effectVirtualTransitionEnd({ 21438 swiper: o, 21439 duration: _e, 21440 transformElements: et 21441 }); 21442 }, 21443 overwriteParams: () => ({ 21444 slidesPerView: 1, 21445 slidesPerGroup: 1, 21446 watchSlidesProgress: true, 21447 spaceBetween: 0, 21448 virtualTranslate: !o.params.cssMode 21449 }) 21450 }); 21451 } 21452 function createShadow(d, o, h) { 21453 const g = "swiper-slide-shadow".concat(h ? "-".concat(h) : "").concat(" swiper-slide-shadow-".concat(d)), b = getSlideTransformEl(o); 21454 let $ = b.querySelector(".".concat(g.split(" ").join("."))); 21455 return $ || ($ = createElement("div", g.split(" ")), b.append($)), $; 21456 } 21457 function EffectCoverflow(d) { 21458 let { swiper: o, extendParams: h, on: g } = d; 21459 h({ 21460 coverflowEffect: { 21461 rotate: 50, 21462 stretch: 0, 21463 depth: 100, 21464 scale: 1, 21465 modifier: 1, 21466 slideShadows: true 21467 } 21468 }), effectInit({ 21469 effect: "coverflow", 21470 swiper: o, 21471 on: g, 21472 setTranslate: () => { 21473 const { width: _e, height: et, slides: tt, slidesSizesGrid: rt } = o, nt = o.params.coverflowEffect, st = o.isHorizontal(), ot = o.translate, it = st ? -ot + _e / 2 : -ot + et / 2, at = st ? nt.rotate : -nt.rotate, lt = nt.depth, ct = getRotateFix(o); 21474 for (let ut = 0, ft = tt.length; ut < ft; ut += 1) { 21475 const dt = tt[ut], pt = rt[ut], ht = dt.swiperSlideOffset, mt = (it - ht - pt / 2) / pt, gt = typeof nt.modifier == "function" ? nt.modifier(mt) : mt * nt.modifier; 21476 let yt = st ? at * gt : 0, xt = st ? 0 : at * gt, _t = -lt * Math.abs(gt), St = nt.stretch; 21477 typeof St == "string" && St.indexOf("%") !== -1 && (St = parseFloat(nt.stretch) / 100 * pt); 21478 let kt = st ? 0 : St * gt, Rt = st ? St * gt : 0, Tt = 1 - (1 - nt.scale) * Math.abs(gt); 21479 Math.abs(Rt) < 1e-3 && (Rt = 0), Math.abs(kt) < 1e-3 && (kt = 0), Math.abs(_t) < 1e-3 && (_t = 0), Math.abs(yt) < 1e-3 && (yt = 0), Math.abs(xt) < 1e-3 && (xt = 0), Math.abs(Tt) < 1e-3 && (Tt = 0); 21480 const Yt = "translate3d(".concat(Rt, "px,").concat(kt, "px,").concat(_t, "px) rotateX(").concat(ct(xt), "deg) rotateY(").concat(ct(yt), "deg) scale(").concat(Tt, ")"), Dt = effectTarget(nt, dt); 21481 if (Dt.style.transform = Yt, dt.style.zIndex = -Math.abs(Math.round(gt)) + 1, nt.slideShadows) { 21482 let Ot = st ? dt.querySelector(".swiper-slide-shadow-left") : dt.querySelector(".swiper-slide-shadow-top"), Mt = st ? dt.querySelector(".swiper-slide-shadow-right") : dt.querySelector(".swiper-slide-shadow-bottom"); 21483 Ot || (Ot = createShadow("coverflow", dt, st ? "left" : "top")), Mt || (Mt = createShadow("coverflow", dt, st ? "right" : "bottom")), Ot && (Ot.style.opacity = gt > 0 ? gt : 0), Mt && (Mt.style.opacity = -gt > 0 ? -gt : 0); 21484 } 21485 } 21486 }, 21487 setTransition: (_e) => { 21488 o.slides.map((tt) =>
vendor: 4,443 bytes, lines 21488-21598
21488 getSlideTransformEl(tt)).forEach((tt) => { 21489 tt.style.transitionDuration = "".concat(_e, "ms"), tt.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((rt) => { 21490 rt.style.transitionDuration = "".concat(_e, "ms"); 21491 }); 21492 }); 21493 }, 21494 perspective: () => true, 21495 overwriteParams: () => ({ 21496 watchSlidesProgress: true 21497 }) 21498 }); 21499 } 21500 const LayoutGroupContext = reactExports.createContext({}); 21501 function useConstant(d) { 21502 const o = reactExports.useRef(null); 21503 return o.current === null && (o.current = d()), o.current; 21504 } 21505 const isBrowser = typeof window < "u", useIsomorphicLayoutEffect = isBrowser ? reactExports.useLayoutEffect : reactExports.useEffect, PresenceContext = reactExports.createContext(null); 21506 function addUniqueItem(d, o) { 21507 d.indexOf(o) === -1 && d.push(o); 21508 } 21509 function removeItem(d, o) { 21510 const h = d.indexOf(o); 21511 h > -1 && d.splice(h, 1); 21512 } 21513 const clamp = (d, o, h) => h > o ? o : h < d ? d : h; 21514 let invariant = () => { 21515 }; 21516 const MotionGlobalConfig = {}, isNumericalString = (d) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(d); 21517 function isObject(d) { 21518 return typeof d == "object" && d !== null; 21519 } 21520 const isZeroValueString = (d) => /^0[^.\s]+$/u.test(d); 21521 function memo(d) { 21522 let o; 21523 return () => (o === void 0 && (o = d()), o); 21524 } 21525 const noop$1 = (d) => d, combineFunctions = (d, o) => (h) => o(d(h)), pipe = (...d) => d.reduce(combineFunctions), progress = (d, o, h) => { 21526 const g = o - d; 21527 return g === 0 ? 1 : (h - d) / g; 21528 }; 21529 class SubscriptionManager { 21530 constructor() { 21531 this.subscriptions = []; 21532 } 21533 add(o) { 21534 return addUniqueItem(this.subscriptions, o), () => removeItem(this.subscriptions, o); 21535 } 21536 notify(o, h, g) { 21537 const b = this.subscriptions.length; 21538 if (b) if (b === 1) this.subscriptions[0](o, h, g); 21539 else for (let $ = 0; $ < b; $++) { 21540 const _e = this.subscriptions[$]; 21541 _e && _e(o, h, g); 21542 } 21543 } 21544 getSize() { 21545 return this.subscriptions.length; 21546 } 21547 clear() { 21548 this.subscriptions.length = 0; 21549 } 21550 } 21551 const secondsToMilliseconds = (d) => d * 1e3, millisecondsToSeconds = (d) => d / 1e3; 21552 function velocityPerSecond(d, o) { 21553 return o ? d * (1e3 / o) : 0; 21554 } 21555 const calcBezier = (d, o, h) => (((1 - 3 * h + 3 * o) * d + (3 * h - 6 * o)) * d + 3 * o) * d, subdivisionPrecision = 1e-7, subdivisionMaxIterations = 12; 21556 function binarySubdivide(d, o, h, g, b) { 21557 let $, _e, et = 0; 21558 do 21559 _e = o + (h - o) / 2, $ = calcBezier(_e, g, b) - d, $ > 0 ? h = _e : o = _e; 21560 while (Math.abs($) > subdivisionPrecision && ++et < subdivisionMaxIterations); 21561 return _e; 21562 } 21563 function cubicBezier(d, o, h, g) { 21564 if (d === o && h === g) return noop$1; 21565 const b = ($) => binarySubdivide($, 0, 1, d, h); 21566 return ($) => $ === 0 || $ === 1 ? $ : calcBezier(b($), o, g); 21567 } 21568 const mirrorEasing = (d) => (o) => o <= 0.5 ? d(2 * o) / 2 : (2 - d(2 * (1 - o))) / 2, reverseEasing = (d) => (o) => 1 - d(1 - o), backOut = cubicBezier(0.33, 1.53, 0.69, 0.99), backIn = reverseEasing(backOut), backInOut = mirrorEasing(backIn), anticipate = (d) => (d *= 2) < 1 ? 0.5 * backIn(d) : 0.5 * (2 - Math.pow(2, -10 * (d - 1))), circIn = (d) => 1 - Math.sin(Math.acos(d)), circOut = reverseEasing(circIn), circInOut = mirrorEasing(circIn), easeIn = cubicBezier(0.42, 0, 1, 1), easeOut = cubicBezier(0, 0, 0.58, 1), easeInOut = cubicBezier(0.42, 0, 0.58, 1), isEasingArray = (d) => Array.isArray(d) && typeof d[0] != "number", isBezierDefinition = (d) => Array.isArray(d) && typeof d[0] == "number", easingLookup = { 21569 linear: noop$1, 21570 easeIn, 21571 easeInOut, 21572 easeOut, 21573 circIn, 21574 circInOut, 21575 circOut, 21576 backIn, 21577 backInOut, 21578 backOut, 21579 anticipate 21580 }, isValidEasing = (d) => typeof d == "string", easingDefinitionToFunction = (d) => { 21581 if (isBezierDefinition(d)) { 21582 invariant(d.length === 4); 21583 const [o, h, g, b] = d; 21584 return cubicBezier(o, h, g, b); 21585 } else if (isValidEasing(d)) return easingLookup[d]; 21586 return d; 21587 }, stepsOrder = [ 21588 "setup", 21589 "read", 21590 "resolveKeyframes", 21591 "preUpdate", 21592 "update", 21593 "preRender", 21594 "render", 21595 "postRender" 21596 ]; 21597 function createRenderStep(d, o) { 21598 let h = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Set(), b = false, $ = false;
21599 const _e = /* @__PURE__ */ new WeakSet(); 21600 let et = { 21601 delta: 0, 21602 timestamp: 0, 21603 isProcessing: false 21604 }; 21605 function tt(nt) { 21606 _e.has(nt) && (rt.schedule(nt), d()), nt(et); 21607 } 21608 const rt = { 21609 schedule: (nt, st = false, ot = false) => { 21610 const at = ot && b ? h : g; 21611 return st && _e.add(nt), at.has(nt) || at.add(nt), nt; 21612 }, 21613 cancel: (nt) => { 21614 g.delete(nt), _e.delete(nt); 21615 }, 21616 process: (nt) => { 21617 if (et = nt, b) { 21618 $ = true; 21619 return; 21620 } 21621 b = true, [h, g] = [ 21622 g, 21623 h 21624 ], h.forEach(tt), h.clear(), b = false, $ && ($ = false, rt.process(nt)); 21625 } 21626 }; 21627 return rt; 21628 } 21629 const maxElapsed = 40; 21630 function createRenderBatcher(d, o) { 21631 let h = false, g = true; 21632 const b = { 21633 delta: 0, 21634 timestamp: 0, 21635 isProcessing: false 21636 }, $ = () => h = true, _e = stepsOrder.reduce((dt, pt) => (dt[pt] = createRenderStep($), dt), {}), { setup: et, read: tt, resolveKeyframes: rt, preUpdate: nt, update: st, preRender: ot, render: it, postRender: at } = _e, lt = () => { 21637 const dt = MotionGlobalConfig.useManualTiming ? b.timestamp : performance.now(); 21638 h = false, MotionGlobalConfig.useManualTiming || (b.delta = g ? 1e3 / 60 : Math.max(Math.min(dt - b.timestamp, maxElapsed), 1)), b.timestamp = dt, b.isProcessing = true, et.process(b), tt.process(b), rt.process(b), nt.process(b), st.process(b), ot.process(b), it.process(b), at.process(b), b.isProcessing = false, h && o && (g = false, d(lt)); 21639 }, ct = () => { 21640 h = true, g = true, b.isProcessing || d(lt); 21641 }; 21642 return { 21643 schedule: stepsOrder.reduce((dt, pt) => { 21644 const ht = _e[pt]; 21645 return dt[pt] = (mt, gt = false, yt = false) => (h || ct(), ht.schedule(mt, gt, yt)), dt; 21646 }, {}), 21647 cancel: (dt) => { 21648 for (let pt = 0; pt < stepsOrder.length; pt++) _e[stepsOrder[pt]].cancel(dt); 21649 }, 21650 state: b, 21651 steps: _e 21652 }; 21653 } 21654 const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps } = createRenderBatcher(typeof requestAnimationFrame < "u" ? requestAnimationFrame : noop$1, true); 21655 let now; 21656 function clearTime() { 21657 now = void 0; 21658 } 21659 const time = { 21660 now: () => (now === void 0 && time.set(frameData.isProcessing || MotionGlobalConfig.useManualTiming ? frameData.timestamp : performance.now()), now), 21661 set: (d) => { 21662 now = d, queueMicrotask(clearTime); 21663 } 21664 }, checkStringStartsWith = (d) => (o) => typeof o == "string" && o.startsWith(d), isCSSVariableName = checkStringStartsWith("--"), startsAsVariableToken = checkStringStartsWith("var(--"), isCSSVariableToken = (d) => startsAsVariableToken(d) ? singleCssVariableRegex.test(d.split("/*")[0].trim()) : false, singleCssVariableRegex = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, number = { 21665 test: (d) => typeof d == "number", 21666 parse: parseFloat, 21667 transform: (d) => d 21668 }, alpha = { 21669 ...number, 21670 transform: (d) => clamp(0, 1, d) 21671 }, scale = { 21672 ...number, 21673 default: 1 21674 }, sanitize = (d) => Math.round(d * 1e5) / 1e5, floatRegex = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu; 21675 function isNullish(d) { 21676 return d == null; 21677 } 21678 const singleColorRegex = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, isColorString = (d, o) => (h) => !!(typeof h == "string" && singleColorRegex.test(h) && h.startsWith(d) || o && !isNullish(h) && Object.prototype.hasOwnProperty.call(h, o)), splitColor = (d, o, h) => (g) => { 21679 if (typeof g != "string") return g; 21680 const [b, $, _e, et] = g.match(floatRegex); 21681 return { 21682 [d]: parseFloat(b), 21683 [o]: parseFloat($), 21684 [h]: parseFloat(_e), 21685 alpha: et !== void 0 ? parseFloat(et) : 1 21686 }; 21687 }, clampRgbUnit = (d) => clamp(0, 255, d), rgbUnit = { 21688 ...number, 21689 transform: (d) => Math.round(clampRgbUnit(d)) 21690 }, rgba = { 21691 test: isColorString("rgb", "red"), 21692 parse: splitColor("red", "green", "blue"), 21693 transform: ({ red: d, green: o, blue: h, alpha: g = 1 }) => "rgba(" + rgbUnit.transform(d) + ", " + rgbUnit.transform(o) + ", " + rgbUnit.transform(h) + ", " + sanitize(alpha.transform(g)) + ")" 21694 }; 21695 function parseHex(d) { 21696 let o = "", h = "", g = "", b = ""; 21697 return d.length > 5 ? (o = d.substring(1, 3), h = d.substring(3, 5), g = d.substring(5, 7), b = d.substring(7, 9)) : (o = d.substring(1, 2), h = d.substring(2, 3), g = d.substring(3, 4), b = d.substring(4, 5), o += o, h += h, g += g, b += b), { 21698 red: parseInt(o, 16), 21699 green: parseInt(h, 16), 21700 blue: parseInt(g, 16),
vendor: 4,418 bytes, lines 21701-21798
21701 alpha: b ? parseInt(b, 16) / 255 : 1 21702 }; 21703 } 21704 const hex = { 21705 test: isColorString("#"), 21706 parse: parseHex, 21707 transform: rgba.transform 21708 }, createUnitType = (d) => ({ 21709 test: (o) => typeof o == "string" && o.endsWith(d) && o.split(" ").length === 1, 21710 parse: parseFloat, 21711 transform: (o) => "".concat(o).concat(d) 21712 }), degrees = createUnitType("deg"), percent = createUnitType("%"), px = createUnitType("px"), vh = createUnitType("vh"), vw = createUnitType("vw"), progressPercentage = { 21713 ...percent, 21714 parse: (d) => percent.parse(d) / 100, 21715 transform: (d) => percent.transform(d * 100) 21716 }, hsla = { 21717 test: isColorString("hsl", "hue"), 21718 parse: splitColor("hue", "saturation", "lightness"), 21719 transform: ({ hue: d, saturation: o, lightness: h, alpha: g = 1 }) => "hsla(" + Math.round(d) + ", " + percent.transform(sanitize(o)) + ", " + percent.transform(sanitize(h)) + ", " + sanitize(alpha.transform(g)) + ")" 21720 }, color = { 21721 test: (d) => rgba.test(d) || hex.test(d) || hsla.test(d), 21722 parse: (d) => rgba.test(d) ? rgba.parse(d) : hsla.test(d) ? hsla.parse(d) : hex.parse(d), 21723 transform: (d) => typeof d == "string" ? d : d.hasOwnProperty("red") ? rgba.transform(d) : hsla.transform(d), 21724 getAnimatableNone: (d) => { 21725 const o = color.parse(d); 21726 return o.alpha = 0, color.transform(o); 21727 } 21728 }, colorRegex = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu; 21729 function test(d) { 21730 var _a, _b; 21731 return isNaN(d) && typeof d == "string" && (((_a = d.match(floatRegex)) == null ? void 0 : _a.length) || 0) + (((_b = d.match(colorRegex)) == null ? void 0 : _b.length) || 0) > 0; 21732 } 21733 const NUMBER_TOKEN = "number", COLOR_TOKEN = "color", VAR_TOKEN = "var", VAR_FUNCTION_TOKEN = "var(", SPLIT_TOKEN = "${}", complexRegex = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu; 21734 function analyseComplexValue(d) { 21735 const o = d.toString(), h = [], g = { 21736 color: [], 21737 number: [], 21738 var: [] 21739 }, b = []; 21740 let $ = 0; 21741 const et = o.replace(complexRegex, (tt) => (color.test(tt) ? (g.color.push($), b.push(COLOR_TOKEN), h.push(color.parse(tt))) : tt.startsWith(VAR_FUNCTION_TOKEN) ? (g.var.push($), b.push(VAR_TOKEN), h.push(tt)) : (g.number.push($), b.push(NUMBER_TOKEN), h.push(parseFloat(tt))), ++$, SPLIT_TOKEN)).split(SPLIT_TOKEN); 21742 return { 21743 values: h, 21744 split: et, 21745 indexes: g, 21746 types: b 21747 }; 21748 } 21749 function parseComplexValue(d) { 21750 return analyseComplexValue(d).values; 21751 } 21752 function createTransformer(d) { 21753 const { split: o, types: h } = analyseComplexValue(d), g = o.length; 21754 return (b) => { 21755 let $ = ""; 21756 for (let _e = 0; _e < g; _e++) if ($ += o[_e], b[_e] !== void 0) { 21757 const et = h[_e]; 21758 et === NUMBER_TOKEN ? $ += sanitize(b[_e]) : et === COLOR_TOKEN ? $ += color.transform(b[_e]) : $ += b[_e]; 21759 } 21760 return $; 21761 }; 21762 } 21763 const convertNumbersToZero = (d) => typeof d == "number" ? 0 : color.test(d) ? color.getAnimatableNone(d) : d; 21764 function getAnimatableNone$1(d) { 21765 const o = parseComplexValue(d); 21766 return createTransformer(d)(o.map(convertNumbersToZero)); 21767 } 21768 const complex = { 21769 test, 21770 parse: parseComplexValue, 21771 createTransformer, 21772 getAnimatableNone: getAnimatableNone$1 21773 }; 21774 function hueToRgb(d, o, h) { 21775 return h < 0 && (h += 1), h > 1 && (h -= 1), h < 1 / 6 ? d + (o - d) * 6 * h : h < 1 / 2 ? o : h < 2 / 3 ? d + (o - d) * (2 / 3 - h) * 6 : d; 21776 } 21777 function hslaToRgba({ hue: d, saturation: o, lightness: h, alpha: g }) { 21778 d /= 360, o /= 100, h /= 100; 21779 let b = 0, $ = 0, _e = 0; 21780 if (!o) b = $ = _e = h; 21781 else { 21782 const et = h < 0.5 ? h * (1 + o) : h + o - h * o, tt = 2 * h - et; 21783 b = hueToRgb(tt, et, d + 1 / 3), $ = hueToRgb(tt, et, d), _e = hueToRgb(tt, et, d - 1 / 3); 21784 } 21785 return { 21786 red: Math.round(b * 255), 21787 green: Math.round($ * 255), 21788 blue: Math.round(_e * 255), 21789 alpha: g 21790 }; 21791 } 21792 function mixImmediate(d, o) { 21793 return (h) => h > 0 ? o : d; 21794 } 21795 const mixNumber$1 = (d, o, h) => d + (o - d) * h, mixLinearColor = (d, o, h) => { 21796 const g = d * d, b = h * (o * o - g) + g; 21797 return b < 0 ? 0 : Math.sqrt(b); 21798 }
vendor: 4,281 bytes, lines 21798-21928
21798, colorTypes = [ 21799 hex, 21800 rgba, 21801 hsla 21802 ], getColorType = (d) => colorTypes.find((o) => o.test(d)); 21803 function asRGBA(d) { 21804 const o = getColorType(d); 21805 if (!o) return false; 21806 let h = o.parse(d); 21807 return o === hsla && (h = hslaToRgba(h)), h; 21808 } 21809 const mixColor = (d, o) => { 21810 const h = asRGBA(d), g = asRGBA(o); 21811 if (!h || !g) return mixImmediate(d, o); 21812 const b = { 21813 ...h 21814 }; 21815 return ($) => (b.red = mixLinearColor(h.red, g.red, $), b.green = mixLinearColor(h.green, g.green, $), b.blue = mixLinearColor(h.blue, g.blue, $), b.alpha = mixNumber$1(h.alpha, g.alpha, $), rgba.transform(b)); 21816 }, invisibleValues = /* @__PURE__ */ new Set([ 21817 "none", 21818 "hidden" 21819 ]); 21820 function mixVisibility(d, o) { 21821 return invisibleValues.has(d) ? (h) => h <= 0 ? d : o : (h) => h >= 1 ? o : d; 21822 } 21823 function mixNumber(d, o) { 21824 return (h) => mixNumber$1(d, o, h); 21825 } 21826 function getMixer(d) { 21827 return typeof d == "number" ? mixNumber : typeof d == "string" ? isCSSVariableToken(d) ? mixImmediate : color.test(d) ? mixColor : mixComplex : Array.isArray(d) ? mixArray : typeof d == "object" ? color.test(d) ? mixColor : mixObject : mixImmediate; 21828 } 21829 function mixArray(d, o) { 21830 const h = [ 21831 ...d 21832 ], g = h.length, b = d.map(($, _e) => getMixer($)($, o[_e])); 21833 return ($) => { 21834 for (let _e = 0; _e < g; _e++) h[_e] = b[_e]($); 21835 return h; 21836 }; 21837 } 21838 function mixObject(d, o) { 21839 const h = { 21840 ...d, 21841 ...o 21842 }, g = {}; 21843 for (const b in h) d[b] !== void 0 && o[b] !== void 0 && (g[b] = getMixer(d[b])(d[b], o[b])); 21844 return (b) => { 21845 for (const $ in g) h[$] = g[$](b); 21846 return h; 21847 }; 21848 } 21849 function matchOrder(d, o) { 21850 var _a; 21851 const h = [], g = { 21852 color: 0, 21853 var: 0, 21854 number: 0 21855 }; 21856 for (let b = 0; b < o.values.length; b++) { 21857 const $ = o.types[b], _e = d.indexes[$][g[$]], et = (_a = d.values[_e]) != null ? _a : 0; 21858 h[b] = et, g[$]++; 21859 } 21860 return h; 21861 } 21862 const mixComplex = (d, o) => { 21863 const h = complex.createTransformer(o), g = analyseComplexValue(d), b = analyseComplexValue(o); 21864 return g.indexes.var.length === b.indexes.var.length && g.indexes.color.length === b.indexes.color.length && g.indexes.number.length >= b.indexes.number.length ? invisibleValues.has(d) && !b.values.length || invisibleValues.has(o) && !g.values.length ? mixVisibility(d, o) : pipe(mixArray(matchOrder(g, b), b.values), h) : mixImmediate(d, o); 21865 }; 21866 function mix(d, o, h) { 21867 return typeof d == "number" && typeof o == "number" && typeof h == "number" ? mixNumber$1(d, o, h) : getMixer(d)(d, o); 21868 } 21869 const frameloopDriver = (d) => { 21870 const o = ({ timestamp: h }) => d(h); 21871 return { 21872 start: (h = true) => frame.update(o, h), 21873 stop: () => cancelFrame(o), 21874 now: () => frameData.isProcessing ? frameData.timestamp : time.now() 21875 }; 21876 }, generateLinearEasing = (d, o, h = 10) => { 21877 let g = ""; 21878 const b = Math.max(Math.round(o / h), 2); 21879 for (let $ = 0; $ < b; $++) g += Math.round(d($ / (b - 1)) * 1e4) / 1e4 + ", "; 21880 return "linear(".concat(g.substring(0, g.length - 2), ")"); 21881 }, maxGeneratorDuration = 2e4; 21882 function calcGeneratorDuration(d) { 21883 let o = 0; 21884 const h = 50; 21885 let g = d.next(o); 21886 for (; !g.done && o < maxGeneratorDuration; ) o += h, g = d.next(o); 21887 return o >= maxGeneratorDuration ? 1 / 0 : o; 21888 } 21889 function createGeneratorEasing(d, o = 100, h) { 21890 const g = h({ 21891 ...d, 21892 keyframes: [ 21893 0, 21894 o 21895 ] 21896 }), b = Math.min(calcGeneratorDuration(g), maxGeneratorDuration); 21897 return { 21898 type: "keyframes", 21899 ease: ($) => g.next(b * $).value / o, 21900 duration: millisecondsToSeconds(b) 21901 }; 21902 } 21903 const velocitySampleDuration = 5; 21904 function calcGeneratorVelocity(d, o, h) { 21905 const g = Math.max(o - velocitySampleDuration, 0); 21906 return velocityPerSecond(h - d(g), o - g); 21907 } 21908 const springDefaults = { 21909 stiffness: 100, 21910 damping: 10, 21911 mass: 1, 21912 velocity: 0, 21913 duration: 800, 21914 bounce: 0.3, 21915 visualDuration: 0.3, 21916 restSpeed: { 21917 granular: 0.01, 21918 default: 2 21919 }, 21920 restDelta: { 21921 granular: 5e-3, 21922 default: 0.5 21923 }, 21924 minDuration: 0.01, 21925 maxDuration: 10, 21926 minDamping: 0.05, 21927 maxDamping: 1 21928 }
vendor: 4,751 bytes, lines 21928-22053
21928, safeMin = 1e-3; 21929 function findSpring({ duration: d = springDefaults.duration, bounce: o = springDefaults.bounce, velocity: h = springDefaults.velocity, mass: g = springDefaults.mass }) { 21930 let b, $, _e = 1 - o; 21931 _e = clamp(springDefaults.minDamping, springDefaults.maxDamping, _e), d = clamp(springDefaults.minDuration, springDefaults.maxDuration, millisecondsToSeconds(d)), _e < 1 ? (b = (rt) => { 21932 const nt = rt * _e, st = nt * d, ot = nt - h, it = calcAngularFreq(rt, _e), at = Math.exp(-st); 21933 return safeMin - ot / it * at; 21934 }, $ = (rt) => { 21935 const st = rt * _e * d, ot = st * h + h, it = Math.pow(_e, 2) * Math.pow(rt, 2) * d, at = Math.exp(-st), lt = calcAngularFreq(Math.pow(rt, 2), _e); 21936 return (-b(rt) + safeMin > 0 ? -1 : 1) * ((ot - it) * at) / lt; 21937 }) : (b = (rt) => { 21938 const nt = Math.exp(-rt * d), st = (rt - h) * d + 1; 21939 return -1e-3 + nt * st; 21940 }, $ = (rt) => { 21941 const nt = Math.exp(-rt * d), st = (h - rt) * (d * d); 21942 return nt * st; 21943 }); 21944 const et = 5 / d, tt = approximateRoot(b, $, et); 21945 if (d = secondsToMilliseconds(d), isNaN(tt)) return { 21946 stiffness: springDefaults.stiffness, 21947 damping: springDefaults.damping, 21948 duration: d 21949 }; 21950 { 21951 const rt = Math.pow(tt, 2) * g; 21952 return { 21953 stiffness: rt, 21954 damping: _e * 2 * Math.sqrt(g * rt), 21955 duration: d 21956 }; 21957 } 21958 } 21959 const rootIterations = 12; 21960 function approximateRoot(d, o, h) { 21961 let g = h; 21962 for (let b = 1; b < rootIterations; b++) g = g - d(g) / o(g); 21963 return g; 21964 } 21965 function calcAngularFreq(d, o) { 21966 return d * Math.sqrt(1 - o * o); 21967 } 21968 const durationKeys = [ 21969 "duration", 21970 "bounce" 21971 ], physicsKeys = [ 21972 "stiffness", 21973 "damping", 21974 "mass" 21975 ]; 21976 function isSpringType(d, o) { 21977 return o.some((h) => d[h] !== void 0); 21978 } 21979 function getSpringOptions(d) { 21980 let o = { 21981 velocity: springDefaults.velocity, 21982 stiffness: springDefaults.stiffness, 21983 damping: springDefaults.damping, 21984 mass: springDefaults.mass, 21985 isResolvedFromDuration: false, 21986 ...d 21987 }; 21988 if (!isSpringType(d, physicsKeys) && isSpringType(d, durationKeys)) if (d.visualDuration) { 21989 const h = d.visualDuration, g = 2 * Math.PI / (h * 1.2), b = g * g, $ = 2 * clamp(0.05, 1, 1 - (d.bounce || 0)) * Math.sqrt(b); 21990 o = { 21991 ...o, 21992 mass: springDefaults.mass, 21993 stiffness: b, 21994 damping: $ 21995 }; 21996 } else { 21997 const h = findSpring(d); 21998 o = { 21999 ...o, 22000 ...h, 22001 mass: springDefaults.mass 22002 }, o.isResolvedFromDuration = true; 22003 } 22004 return o; 22005 } 22006 function spring(d = springDefaults.visualDuration, o = springDefaults.bounce) { 22007 const h = typeof d != "object" ? { 22008 visualDuration: d, 22009 keyframes: [ 22010 0, 22011 1 22012 ], 22013 bounce: o 22014 } : d; 22015 let { restSpeed: g, restDelta: b } = h; 22016 const $ = h.keyframes[0], _e = h.keyframes[h.keyframes.length - 1], et = { 22017 done: false, 22018 value: $ 22019 }, { stiffness: tt, damping: rt, mass: nt, duration: st, velocity: ot, isResolvedFromDuration: it } = getSpringOptions({ 22020 ...h, 22021 velocity: -millisecondsToSeconds(h.velocity || 0) 22022 }), at = ot || 0, lt = rt / (2 * Math.sqrt(tt * nt)), ct = _e - $, ut = millisecondsToSeconds(Math.sqrt(tt / nt)), ft = Math.abs(ct) < 5; 22023 g || (g = ft ? springDefaults.restSpeed.granular : springDefaults.restSpeed.default), b || (b = ft ? springDefaults.restDelta.granular : springDefaults.restDelta.default); 22024 let dt; 22025 if (lt < 1) { 22026 const ht = calcAngularFreq(ut, lt); 22027 dt = (mt) => { 22028 const gt = Math.exp(-lt * ut * mt); 22029 return _e - gt * ((at + lt * ut * ct) / ht * Math.sin(ht * mt) + ct * Math.cos(ht * mt)); 22030 }; 22031 } else if (lt === 1) dt = (ht) => _e - Math.exp(-ut * ht) * (ct + (at + ut * ct) * ht); 22032 else { 22033 const ht = ut * Math.sqrt(lt * lt - 1); 22034 dt = (mt) => { 22035 const gt = Math.exp(-lt * ut * mt), yt = Math.min(ht * mt, 300); 22036 return _e - gt * ((at + lt * ut * ct) * Math.sinh(yt) + ht * ct * Math.cosh(yt)) / ht; 22037 }; 22038 } 22039 const pt = { 22040 calculatedDuration: it && st || null, 22041 next: (ht) => { 22042 const mt = dt(ht); 22043 if (it) et.done = ht >= st; 22044 else { 22045 let gt = ht === 0 ? at : 0; 22046 lt < 1 && (gt = ht === 0 ? secondsToMilliseconds(at) : calcGeneratorVelocity(dt, ht, mt)); 22047 const yt = Math.abs(gt) <= g, xt = Math.abs(_e - mt) <= b; 22048 et.done = yt && xt; 22049 } 22050 return et.value = et.done ? _e : mt, et; 22051 }, 22052 toString: () => { 22053 const ht = Math.min(calcGeneratorDuration(pt), maxGeneratorDuration), mt = generateLinearEasing((gt) => pt.next(ht * gt).value, ht, 30);
vendor: 7,622 bytes, lines 22054-22250
22054 return ht + "ms " + mt; 22055 }, 22056 toTransition: () => { 22057 } 22058 }; 22059 return pt; 22060 } 22061 spring.applyToOptions = (d) => { 22062 const o = createGeneratorEasing(d, 100, spring); 22063 return d.ease = o.ease, d.duration = secondsToMilliseconds(o.duration), d.type = "keyframes", d; 22064 }; 22065 function inertia({ keyframes: d, velocity: o = 0, power: h = 0.8, timeConstant: g = 325, bounceDamping: b = 10, bounceStiffness: $ = 500, modifyTarget: _e, min: et, max: tt, restDelta: rt = 0.5, restSpeed: nt }) { 22066 const st = d[0], ot = { 22067 done: false, 22068 value: st 22069 }, it = (yt) => et !== void 0 && yt < et || tt !== void 0 && yt > tt, at = (yt) => et === void 0 ? tt : tt === void 0 || Math.abs(et - yt) < Math.abs(tt - yt) ? et : tt; 22070 let lt = h * o; 22071 const ct = st + lt, ut = _e === void 0 ? ct : _e(ct); 22072 ut !== ct && (lt = ut - st); 22073 const ft = (yt) => -lt * Math.exp(-yt / g), dt = (yt) => ut + ft(yt), pt = (yt) => { 22074 const xt = ft(yt), _t = dt(yt); 22075 ot.done = Math.abs(xt) <= rt, ot.value = ot.done ? ut : _t; 22076 }; 22077 let ht, mt; 22078 const gt = (yt) => { 22079 it(ot.value) && (ht = yt, mt = spring({ 22080 keyframes: [ 22081 ot.value, 22082 at(ot.value) 22083 ], 22084 velocity: calcGeneratorVelocity(dt, yt, ot.value), 22085 damping: b, 22086 stiffness: $, 22087 restDelta: rt, 22088 restSpeed: nt 22089 })); 22090 }; 22091 return gt(0), { 22092 calculatedDuration: null, 22093 next: (yt) => { 22094 let xt = false; 22095 return !mt && ht === void 0 && (xt = true, pt(yt), gt(yt)), ht !== void 0 && yt >= ht ? mt.next(yt - ht) : (!xt && pt(yt), ot); 22096 } 22097 }; 22098 } 22099 function createMixers(d, o, h) { 22100 const g = [], b = h || MotionGlobalConfig.mix || mix, $ = d.length - 1; 22101 for (let _e = 0; _e < $; _e++) { 22102 let et = b(d[_e], d[_e + 1]); 22103 if (o) { 22104 const tt = Array.isArray(o) ? o[_e] || noop$1 : o; 22105 et = pipe(tt, et); 22106 } 22107 g.push(et); 22108 } 22109 return g; 22110 } 22111 function interpolate(d, o, { clamp: h = true, ease: g, mixer: b } = {}) { 22112 const $ = d.length; 22113 if (invariant($ === o.length), $ === 1) return () => o[0]; 22114 if ($ === 2 && o[0] === o[1]) return () => o[1]; 22115 const _e = d[0] === d[1]; 22116 d[0] > d[$ - 1] && (d = [ 22117 ...d 22118 ].reverse(), o = [ 22119 ...o 22120 ].reverse()); 22121 const et = createMixers(o, g, b), tt = et.length, rt = (nt) => { 22122 if (_e && nt < d[0]) return o[0]; 22123 let st = 0; 22124 if (tt > 1) for (; st < d.length - 2 && !(nt < d[st + 1]); st++) ; 22125 const ot = progress(d[st], d[st + 1], nt); 22126 return et[st](ot); 22127 }; 22128 return h ? (nt) => rt(clamp(d[0], d[$ - 1], nt)) : rt; 22129 } 22130 function fillOffset(d, o) { 22131 const h = d[d.length - 1]; 22132 for (let g = 1; g <= o; g++) { 22133 const b = progress(0, o, g); 22134 d.push(mixNumber$1(h, 1, b)); 22135 } 22136 } 22137 function defaultOffset(d) { 22138 const o = [ 22139 0 22140 ]; 22141 return fillOffset(o, d.length - 1), o; 22142 } 22143 function convertOffsetToTimes(d, o) { 22144 return d.map((h) => h * o); 22145 } 22146 function defaultEasing(d, o) { 22147 return d.map(() => o || easeInOut).splice(0, d.length - 1); 22148 } 22149 function keyframes({ duration: d = 300, keyframes: o, times: h, ease: g = "easeInOut" }) { 22150 const b = isEasingArray(g) ? g.map(easingDefinitionToFunction) : easingDefinitionToFunction(g), $ = { 22151 done: false, 22152 value: o[0] 22153 }, _e = convertOffsetToTimes(h && h.length === o.length ? h : defaultOffset(o), d), et = interpolate(_e, o, { 22154 ease: Array.isArray(b) ? b : defaultEasing(o, b) 22155 }); 22156 return { 22157 calculatedDuration: d, 22158 next: (tt) => ($.value = et(tt), $.done = tt >= d, $) 22159 }; 22160 } 22161 const isNotNull$1 = (d) => d !== null; 22162 function getFinalKeyframe$1(d, { repeat: o, repeatType: h = "loop" }, g, b = 1) { 22163 const $ = d.filter(isNotNull$1), et = b < 0 || o && h !== "loop" && o % 2 === 1 ? 0 : $.length - 1; 22164 return !et || g === void 0 ? $[et] : g; 22165 } 22166 const transitionTypeMap = { 22167 decay: inertia, 22168 inertia, 22169 tween: keyframes, 22170 keyframes, 22171 spring 22172 }; 22173 function replaceTransitionType(d) { 22174 typeof d.type == "string" && (d.type = transitionTypeMap[d.type]); 22175 } 22176 class WithPromise { 22177 constructor() { 22178 this.updateFinished(); 22179 } 22180 get finished() { 22181 return this._finished; 22182 } 22183 updateFinished() { 22184 this._finished = new Promise((o) => { 22185 this.resolve = o; 22186 }); 22187 } 22188 notifyFinished() { 22189 this.resolve(); 22190 } 22191 then(o, h) { 22192 return this.finished.then(o, h); 22193 } 22194 } 22195 const percentToProgress = (d) => d / 100; 22196 class JSAnimation extends WithPromise { 22197 constructor(o) { 22198 super(), this.state = "idle", this.startTime = null, this.isStopped = false, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => { 22199 var _a, _b; 22200 const { motionValue: h } = this.options; 22201 h && h.updatedAt !== time.now() && this.tick(time.now()), this.isStopped = true, this.state !== "idle" && (this.teardown(), (_b = (_a = this.options).onStop) == null ? void 0 : _b.call(_a)); 22202 }, this.options = o, this.initAnimation(), this.play(), o.autoplay === false && this.pause(); 22203 } 22204 initAnimation() { 22205 const { options: o } = this; 22206 replaceTransitionType(o); 22207 const { type: h = keyframes, repeat: g = 0, repeatDelay: b = 0, repeatType: $, velocity: _e = 0 } = o; 22208 let { keyframes: et } = o; 22209 const tt = h || keyframes; 22210 tt !== keyframes && typeof et[0] != "number" && (this.mixKeyframes = pipe(percentToProgress, mix(et[0], et[1])), et = [ 22211 0, 22212 100 22213 ]); 22214 const rt = tt({ 22215 ...o, 22216 keyframes: et 22217 }); 22218 $ === "mirror" && (this.mirroredGenerator = tt({ 22219 ...o, 22220 keyframes: [ 22221 ...et 22222 ].reverse(), 22223 velocity: -_e 22224 })), rt.calculatedDuration === null && (rt.calculatedDuration = calcGeneratorDuration(rt)); 22225 const { calculatedDuration: nt } = rt; 22226 this.calculatedDuration = nt, this.resolvedDuration = nt + b, this.totalDuration = this.resolvedDuration * (g + 1) - b, this.generator = rt; 22227 } 22228 updateTime(o) { 22229 const h = Math.round(o - this.startTime) * this.playbackSpeed; 22230 this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = h; 22231 } 22232 tick(o, h = false) { 22233 const { generator: g, totalDuration: b, mixKeyframes: $, mirroredGenerator: _e, resolvedDuration: et, calculatedDuration: tt } = this; 22234 if (this.startTime === null) return g.next(0); 22235 const { delay: rt = 0, keyframes: nt, repeat: st, repeatType: ot, repeatDelay: it, type: at, onUpdate: lt, finalKeyframe: ct } = this.options; 22236 this.speed > 0 ? this.startTime = Math.min(this.startTime, o) : this.speed < 0 && (this.startTime = Math.min(o - b / this.speed, this.startTime)), h ? this.currentTime = o : this.updateTime(o); 22237 const ut = this.currentTime - rt * (this.playbackSpeed >= 0 ? 1 : -1), ft = this.playbackSpeed >= 0 ? ut < 0 : ut > b; 22238 this.currentTime = Math.max(ut, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = b); 22239 let dt = this.currentTime, pt = g; 22240 if (st) { 22241 const yt = Math.min(this.currentTime, b) / et; 22242 let xt = Math.floor(yt), _t = yt % 1; 22243 !_t && yt >= 1 && (_t = 1), _t === 1 && xt--, xt = Math.min(xt, st + 1), !!(xt % 2) && (ot === "reverse" ? (_t = 1 - _t, it && (_t -= it / et)) : ot === "mirror" && (pt = _e)), dt = clamp(0, 1, _t) * et; 22244 } 22245 const ht = ft ? { 22246 done: false, 22247 value: nt[0] 22248 } : pt.next(dt); 22249 $ && (ht.value = $(ht.value)); 22250 let { done: mt }
22250 = ht; 22251 !ft && tt !== null && (mt = this.playbackSpeed >= 0 ? this.currentTime >= b : this.currentTime <= 0); 22252 const gt = this.holdTime === null && (this.state === "finished" || this.state === "running" && mt); 22253 return gt && at !== inertia && (ht.value = getFinalKeyframe$1(nt, this.options, ct, this.speed)), lt && lt(ht.value), gt && this.finish(), ht; 22254 } 22255 then(o, h) { 22256 return this.finished.then(o, h); 22257 } 22258 get duration() { 22259 return millisecondsToSeconds(this.calculatedDuration); 22260 } 22261 get time() { 22262 return millisecondsToSeconds(this.currentTime); 22263 } 22264 set time(o) { 22265 var _a; 22266 o = secondsToMilliseconds(o), this.currentTime = o, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = o : this.driver && (this.startTime = this.driver.now() - o / this.playbackSpeed), (_a = this.driver) == null ? void 0 : _a.start(false); 22267 } 22268 get speed() { 22269 return this.playbackSpeed; 22270 } 22271 set speed(o) { 22272 this.updateTime(time.now()); 22273 const h = this.playbackSpeed !== o; 22274 this.playbackSpeed = o, h && (this.time = millisecondsToSeconds(this.currentTime)); 22275 } 22276 play() { 22277 var _a, _b; 22278 if (this.isStopped) return; 22279 const { driver: o = frameloopDriver, startTime: h } = this.options; 22280 this.driver || (this.driver = o((b) => this.tick(b))), (_b = (_a = this.options).onPlay) == null ? void 0 : _b.call(_a); 22281 const g = this.driver.now(); 22282 this.state === "finished" ? (this.updateFinished(), this.startTime = g) : this.holdTime !== null ? this.startTime = g - this.holdTime : this.startTime || (this.startTime = h != null ? h : g), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start(); 22283 } 22284 pause() { 22285 this.state = "paused", this.updateTime(time.now()), this.holdTime = this.currentTime; 22286 } 22287 complete() { 22288 this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null; 22289 } 22290 finish() { 22291 var _a, _b; 22292 this.notifyFinished(), this.teardown(), this.state = "finished", (_b = (_a = this.options).onComplete) == null ? void 0 : _b.call(_a); 22293 } 22294 cancel() { 22295 var _a, _b; 22296 this.holdTime = null, this.startTime = 0, this.tick(0), this.teardown(), (_b = (_a = this.options).onCancel) == null ? void 0 : _b.call(_a); 22297 } 22298 teardown() { 22299 this.state = "idle", this.stopDriver(), this.startTime = this.holdTime = null; 22300 } 22301 stopDriver() { 22302 this.driver && (this.driver.stop(), this.driver = void 0); 22303 } 22304 sample(o) { 22305 return this.startTime = 0, this.tick(o, true); 22306 } 22307 attachTimeline(o) { 22308 var _a; 22309 return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), (_a = this.driver) == null ? void 0 : _a.stop(), o.observe(this); 22310 } 22311 } 22312 function fillWildcards(d) { 22313 var _a; 22314 for (let o = 1; o < d.length; o++) (_a = d[o]) != null ? _a : d[o] = d[o - 1]; 22315 } 22316 const radToDeg = (d) => d * 180 / Math.PI, rotate = (d) => { 22317 const o = radToDeg(Math.atan2(d[1], d[0])); 22318 return rebaseAngle(o); 22319 }, matrix2dParsers = { 22320 x: 4, 22321 y: 5, 22322 translateX: 4, 22323 translateY: 5, 22324 scaleX: 0, 22325 scaleY: 3, 22326 scale: (d) => (Math.abs(d[0]) + Math.abs(d[3])) / 2, 22327 rotate, 22328 rotateZ: rotate, 22329 skewX: (d) => radToDeg(Math.atan(d[1])), 22330 skewY: (d) => radToDeg(Math.atan(d[2])), 22331 skew: (d) => (Math.abs(d[1]) + Math.abs(d[2])) / 2 22332 }, rebaseAngle = (d) => (d = d % 360, d < 0 && (d += 360), d), rotateZ = rotate, scaleX = (d) => Math.sqrt(d[0] * d[0] + d[1] * d[1]), scaleY = (d) => Math.sqrt(d[4] * d[4] + d[5] * d[5]), matrix3dParsers = { 22333 x: 12, 22334 y: 13, 22335 z: 14, 22336 translateX: 12, 22337 translateY: 13, 22338 translateZ: 14, 22339 scaleX, 22340 scaleY, 22341 scale: (d) => (scaleX(d) + scaleY(d)) / 2, 22342 rotateX: (d) => rebaseAngle(radToDeg(Math.atan2(d[6], d[5]))), 22343 rotateY: (d) => rebaseAngle(radToDeg(Math.atan2(-d[2], d[0]))), 22344 rotateZ, 22345 rotate: rotateZ, 22346 skewX: (d) => radToDeg(Math.atan(d[4])), 22347 skewY: (d) => radToDeg(Math.atan(d[1])), 22348 skew: (d) => (Math.abs(d[1]) + Math.abs(d[4])) / 2 22349 }; 22350 function defaultTransformValue(d) { 22351 return d.includes("scale") ? 1 : 0; 22352 } 22353 function parseValueFromTransform(d, o) { 22354 if (!d || d === "none") return defaultTransformValue(o); 22355 const h = d.match(/^matrix3d\(([-\d.e\s,]+)\)$/u); 22356 let g, b; 22357 if (h) g = matrix3dParsers, b = h; 22358 else { 22359 const et = d.match(/^matrix\(([-\d.e\s,]+)\)$/u); 22360 g = matrix2dParsers, b = et; 22361 } 22362 if (!b) return defaultTransformValue(o); 22363 const $ = g[o], _e = b[1].split(",").map(convertTransformToNumber); 22364 return typeof $ == "function" ? $(_e) : _e[$]; 22365 } 22366 const readTransformValue = (d, o) => { 22367 const { transform: h = "none" } = getComputedStyle(d); 22368 return parseValueFromTransform(h, o); 22369 }; 22370 function convertTransformToNumber(d) { 22371 return parseFloat(d.trim()); 22372 } 22373 const transformPropOrder = [ 22374 "transformPerspective", 22375 "x", 22376 "y", 22377 "z", 22378 "translateX", 22379 "translateY", 22380 "translateZ", 22381 "scale", 22382 "scaleX", 22383 "scaleY", 22384 "rotate", 22385 "rotateX", 22386 "rotateY", 22387 "rotateZ", 22388 "skew", 22389 "skewX", 22390 "skewY" 22391 ], transformProps = new Set(transformPropOrder), isNumOrPxType = (d) => d === number || d === px, transformKeys = /* @__PURE__ */ new Set([ 22392 "x", 22393 "y", 22394 "z" 22395 ]), nonTranslationalTransformKeys = transformPropOrder.filter((d) => !transformKeys.has(d)); 22396 function removeNonTranslationalTransform(d) { 22397 const o = []; 22398 return nonTranslationalTransformKeys.forEach((h) => { 22399 const g = d.getValue(h); 22400 g !== void 0 && (o.push([ 22401 h, 22402 g.get() 22403 ]), g.set(h.startsWith("scale") ? 1 : 0)); 22404 }), o; 22405 } 22406 const positionalValues = { 22407 width: ({ x: d }, { paddingLeft: o = "0", paddingRight: h = "0" }) => d.max - d.min - parseFloat(o) - parseFloat(h), 22408 height: ({ y: d }, { paddingTop: o = "0", paddingBottom: h = "0" }) => d.max - d.min - parseFloat(o) - parseFloat(h), 22409 top: (d, { top: o }) => parseFloat(o),
22410 left: (d, { left: o }) => parseFloat(o), 22411 bottom: ({ y: d }, { top: o }) => parseFloat(o) + (d.max - d.min), 22412 right: ({ x: d }, { left: o }) => parseFloat(o) + (d.max - d.min), 22413 x: (d, { transform: o }) => parseValueFromTransform(o, "x"), 22414 y: (d, { transform: o }) => parseValueFromTransform(o, "y") 22415 }; 22416 positionalValues.translateX = positionalValues.x; 22417 positionalValues.translateY = positionalValues.y; 22418 const toResolve = /* @__PURE__ */ new Set(); 22419 let isScheduled = false, anyNeedsMeasurement = false, isForced = false; 22420 function measureAllKeyframes() { 22421 if (anyNeedsMeasurement) { 22422 const d = Array.from(toResolve).filter((g) => g.needsMeasurement), o = new Set(d.map((g) => g.element)), h = /* @__PURE__ */ new Map(); 22423 o.forEach((g) => { 22424 const b = removeNonTranslationalTransform(g); 22425 b.length && (h.set(g, b), g.render()); 22426 }), d.forEach((g) => g.measureInitialState()), o.forEach((g) => { 22427 g.render(); 22428 const b = h.get(g); 22429 b && b.forEach(([$, _e]) => { 22430 var _a; 22431 (_a = g.getValue($)) == null ? void 0 : _a.set(_e); 22432 }); 22433 }), d.forEach((g) => g.measureEndState()), d.forEach((g) => { 22434 g.suspendedScrollY !== void 0 && window.scrollTo(0, g.suspendedScrollY); 22435 }); 22436 } 22437 anyNeedsMeasurement = false, isScheduled = false, toResolve.forEach((d) => d.complete(isForced)), toResolve.clear(); 22438 } 22439 function readAllKeyframes() { 22440 toResolve.forEach((d) => { 22441 d.readKeyframes(), d.needsMeasurement && (anyNeedsMeasurement = true); 22442 }); 22443 } 22444 function flushKeyframeResolvers() { 22445 isForced = true, readAllKeyframes(), measureAllKeyframes(), isForced = false; 22446 } 22447 class KeyframeResolver { 22448 constructor(o, h, g, b, $, _e = false) { 22449 this.state = "pending", this.isAsync = false, this.needsMeasurement = false, this.unresolvedKeyframes = [ 22450 ...o 22451 ], this.onComplete = h, this.name = g, this.motionValue = b, this.element = $, this.isAsync = _e; 22452 } 22453 scheduleResolve() { 22454 this.state = "scheduled", this.isAsync ? (toResolve.add(this), isScheduled || (isScheduled = true, frame.read(readAllKeyframes), frame.resolveKeyframes(measureAllKeyframes))) : (this.readKeyframes(), this.complete()); 22455 } 22456 readKeyframes() { 22457 const { unresolvedKeyframes: o, name: h, element: g, motionValue: b } = this; 22458 if (o[0] === null) { 22459 const $ = b == null ? void 0 : b.get(), _e = o[o.length - 1]; 22460 if ($ !== void 0) o[0] = $; 22461 else if (g && h) { 22462 const et = g.readValue(h, _e); 22463 et != null && (o[0] = et); 22464 } 22465 o[0] === void 0 && (o[0] = _e), b && $ === void 0 && b.set(o[0]); 22466 } 22467 fillWildcards(o); 22468 } 22469 setFinalKeyframe() { 22470 } 22471 measureInitialState() { 22472 } 22473 renderEndStyles() { 22474 } 22475 measureEndState() { 22476 } 22477 complete(o = false) { 22478 this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, o), toResolve.delete(this); 22479 } 22480 cancel() { 22481 this.state === "scheduled" && (toResolve.delete(this), this.state = "pending"); 22482 } 22483 resume() { 22484 this.state === "pending" && this.scheduleResolve(); 22485 } 22486 } 22487 const isCSSVar = (d) => d.startsWith("--"); 22488 function setStyle(d, o, h) { 22489 isCSSVar(o) ? d.style.setProperty(o, h) : d.style[o] = h; 22490 } 22491 const supportsScrollTimeline = memo(() => window.ScrollTimeline !== void 0), supportsFlags = {}; 22492 function memoSupports(d, o) { 22493 const h = memo(d); 22494 return () => { 22495 var _a; 22496 return (_a = supportsFlags[o]) != null ? _a : h(); 22497 }; 22498 } 22499 const supportsLinearEasing = memoSupports(() => { 22500 try { 22501 document.createElement("div").animate({ 22502 opacity: 0 22503 }, { 22504 easing: "linear(0, 1)" 22505 }); 22506 } catch (e2) { 22507 return false; 22508 } 22509 return true; 22510 }, "linearEasing"), cubicBezierAsString = ([d, o, h, g]) => "cubic-bezier(".concat(d, ", ").concat(o, ", ").concat(h, ", ").concat(g, ")"), supportedWaapiEasing = { 22511 linear: "linear", 22512 ease: "ease", 22513 easeIn: "ease-in", 22514 easeOut: "ease-out", 22515 easeInOut: "ease-in-out", 22516 circIn: cubicBezierAsString([ 22517 0, 22518 0.65, 22519 0.55, 22520 1 22521 ]), 22522 circOut: cubicBezierAsString([ 22523 0.55, 22524 0, 22525 1, 22526 0.45 22527 ]), 22528 backIn: cubicBezierAsString([ 22529 0.31, 22530 0.01, 22531 0.66, 22532 -0.59 22533 ]), 22534 backOut: cubicBezierAsString([ 22535 0.33, 22536 1.53, 22537 0.69, 22538 0.99 22539 ]) 22540 }; 22541 function mapEasingToNativeEasing(d, o) { 22542 if (d) return typeof d == "function" ? supportsLinearEasing() ? generateLinearEasing(d, o) : "ease-out" : isBezierDefinition(d) ? cubicBezierAsString(d) : Array.isArray(d) ? d.map((h) => mapEasingToNativeEasing(h, o) || supportedWaapiEasing.easeOut) : supportedWaapiEasing[d]; 22543 } 22544 function startWaapiAnimation(d, o, h, { delay: g = 0, duration: b = 300, repeat: $ = 0, repeatType: _e = "loop", ease: et = "easeOut", times: tt } = {}, rt = void 0) { 22545 const nt = { 22546 [o]: h 22547 }; 22548 tt && (nt.offset = tt); 22549 const st = mapEasingToNativeEasing(et, b); 22550 Array.isArray(st) && (nt.easing = st); 22551 const ot = { 22552 delay: g, 22553 duration: b, 22554 easing: Array.isArray(st) ? "linear" : st, 22555 fill: "both", 22556 iterations: $ + 1, 22557 direction: _e === "reverse" ? "alternate" : "normal" 22558 }; 22559 return rt && (ot.pseudoElement = rt), d.animate(nt, ot); 22560 } 22561 function isGenerator(d) { 22562 return typeof d == "function" && "applyToOptions" in d; 22563 } 22564 function applyGeneratorOptions({ type: d, ...o }) { 22565 var _a, _b; 22566 return isGenerator(d) && supportsLinearEasing() ? d.applyToOptions(o) : ((_a = o.duration) != null ? _a : o.duration = 300, (_b = o.ease) != null ? _b : o.ease = "easeOut", o); 22567 } 22568 class NativeAnimation extends WithPromise { 22569 constructor(o) { 22570 if (super(), this.finishedTime = null, this.isStopped = false, !o) return; 22571 const { element: h, name: g, keyframes: b, pseudoElement: $, allowFlatten: _e = false, finalKeyframe: et, onComplete: tt } = o; 22572 this.isPseudoElement = !!$, this.allowFlatten = _e, this.options = o, invariant(typeof o.type != "string"); 22573 const rt = applyGeneratorOptions(o); 22574 this.animation = startWaapiAnimation(h, g, b, rt, $), rt.autoplay === false && this.animation.pause(), this.animation.onfinish = () => { 22575 if (this.finishedTime = this.time, !$) { 22576 const nt = getFinalKeyframe$1(b, this.options, et, this.speed); 22577 this.updateMotionValue ? this.updateMotionValue(nt) : setStyle(h, g, nt), this.animation.cancel(); 22578 } 22579 tt == null ? void 0 : tt(), this.notifyFinished(); 22580 }; 22581 } 22582 play() { 22583 this.isStopped || (this.animation.play(), this.state === "finished" && this.updateFinished()); 22584 } 22585 pause() { 22586 this.animation.pause(); 22587 } 22588 complete() { 22589 var _a, _b; 22590 (_b = (_a = this.animation).finish) == null ? void 0 : _b.call(_a); 22591 } 22592 cancel() {
22593 try { 22594 this.animation.cancel(); 22595 } catch (e2) { 22596 } 22597 } 22598 stop() { 22599 if (this.isStopped) return; 22600 this.isStopped = true; 22601 const { state: o } = this; 22602 o === "idle" || o === "finished" || (this.updateMotionValue ? this.updateMotionValue() : this.commitStyles(), this.isPseudoElement || this.cancel()); 22603 } 22604 commitStyles() { 22605 var _a, _b; 22606 this.isPseudoElement || ((_b = (_a = this.animation).commitStyles) == null ? void 0 : _b.call(_a)); 22607 } 22608 get duration() { 22609 var _a, _b; 22610 const o = ((_b = (_a = this.animation.effect) == null ? void 0 : _a.getComputedTiming) == null ? void 0 : _b.call(_a).duration) || 0; 22611 return millisecondsToSeconds(Number(o)); 22612 } 22613 get time() { 22614 return millisecondsToSeconds(Number(this.animation.currentTime) || 0); 22615 } 22616 set time(o) { 22617 this.finishedTime = null, this.animation.currentTime = secondsToMilliseconds(o); 22618 } 22619 get speed() { 22620 return this.animation.playbackRate; 22621 } 22622 set speed(o) { 22623 o < 0 && (this.finishedTime = null), this.animation.playbackRate = o; 22624 } 22625 get state() { 22626 return this.finishedTime !== null ? "finished" : this.animation.playState; 22627 } 22628 get startTime() { 22629 return Number(this.animation.startTime); 22630 } 22631 set startTime(o) { 22632 this.animation.startTime = o; 22633 } 22634 attachTimeline({ timeline: o, observe: h }) { 22635 var _a; 22636 return this.allowFlatten && ((_a = this.animation.effect) == null ? void 0 : _a.updateTiming({ 22637 easing: "linear" 22638 })), this.animation.onfinish = null, o && supportsScrollTimeline() ? (this.animation.timeline = o, noop$1) : h(this); 22639 } 22640 } 22641 const unsupportedEasingFunctions = { 22642 anticipate, 22643 backInOut, 22644 circInOut 22645 }; 22646 function isUnsupportedEase(d) { 22647 return d in unsupportedEasingFunctions; 22648 } 22649 function replaceStringEasing(d) { 22650 typeof d.ease == "string" && isUnsupportedEase(d.ease) && (d.ease = unsupportedEasingFunctions[d.ease]); 22651 } 22652 const sampleDelta = 10; 22653 class NativeAnimationExtended extends NativeAnimation { 22654 constructor(o) { 22655 replaceStringEasing(o), replaceTransitionType(o), super(o), o.startTime && (this.startTime = o.startTime), this.options = o; 22656 } 22657 updateMotionValue(o) { 22658 var _a; 22659 const { motionValue: h, onUpdate: g, onComplete: b, element: $, ..._e } = this.options; 22660 if (!h) return; 22661 if (o !== void 0) { 22662 h.set(o); 22663 return; 22664 } 22665 const et = new JSAnimation({ 22666 ..._e, 22667 autoplay: false 22668 }), tt = secondsToMilliseconds((_a = this.finishedTime) != null ? _a : this.time); 22669 h.setWithVelocity(et.sample(tt - sampleDelta).value, et.sample(tt).value, sampleDelta), et.stop(); 22670 } 22671 } 22672 const isAnimatable = (d, o) => o === "zIndex" ? false : !!(typeof d == "number" || Array.isArray(d) || typeof d == "string" && (complex.test(d) || d === "0") && !d.startsWith("url(")); 22673 function hasKeyframesChanged(d) { 22674 const o = d[0]; 22675 if (d.length === 1) return true; 22676 for (let h = 0; h < d.length; h++) if (d[h] !== o) return true; 22677 } 22678 function canAnimate(d, o, h, g) { 22679 const b = d[0]; 22680 if (b === null) return false; 22681 if (o === "display" || o === "visibility") return true; 22682 const $ = d[d.length - 1], _e = isAnimatable(b, o), et = isAnimatable($, o); 22683 return !_e || !et ? false : hasKeyframesChanged(d) || (h === "spring" || isGenerator(h)) && g; 22684 } 22685 const acceleratedValues = /* @__PURE__ */ new Set([ 22686 "opacity", 22687 "clipPath", 22688 "filter", 22689 "transform" 22690 ]), supportsWaapi = memo(() => Object.hasOwnProperty.call(Element.prototype, "animate")); 22691 function supportsBrowserAnimation(d) { 22692 var _a; 22693 const { motionValue: o, name: h, repeatDelay: g, repeatType: b, damping: $, type: _e } = d; 22694 if (!(((_a = o == null ? void 0 : o.owner) == null ? void 0 : _a.current) instanceof HTMLElement)) return false; 22695 const { onUpdate: tt, transformTemplate: rt } = o.owner.getProps(); 22696 return supportsWaapi() && h && acceleratedValues.has(h) && (h !== "transform" || !rt) && !tt && !g && b !== "mirror" && $ !== 0 && _e !== "inertia"; 22697 } 22698 const MAX_RESOLVE_DELAY = 40; 22699 class AsyncMotionValueAnimation extends WithPromise { 22700 constructor({ autoplay: o = true, delay: h = 0, type: g = "keyframes", repeat: b = 0, repeatDelay: $ = 0, repeatType: _e = "loop", keyframes: et, name: tt, motionValue: rt, element: nt, ...st }) { 22701 var _a; 22702 super(), this.stop = () => { 22703 var _a2, _b; 22704 this._animation && (this._animation.stop(), (_a2 = this.stopTimeline) == null ? void 0 : _a2.call(this)), (_b = this.keyframeResolver) == null ? void 0 : _b.cancel(); 22705 }, this.createdAt = time.now(); 22706 const ot = { 22707 autoplay: o, 22708 delay: h, 22709 type: g, 22710 repeat: b, 22711 repeatDelay: $, 22712 repeatType: _e, 22713 name: tt, 22714 motionValue: rt, 22715 element: nt, 22716 ...st 22717 }, it = (nt == null ? void 0 : nt.KeyframeResolver) || KeyframeResolver; 22718 this.keyframeResolver = new it(et, (at, lt, ct) => this.onKeyframesResolved(at, lt, ot, !ct), tt, rt, nt), (_a = this.keyframeResolver) == null ? void 0 : _a.scheduleResolve(); 22719 } 22720 onKeyframesResolved(o, h, g, b) { 22721 this.keyframeResolver = void 0; 22722 const { name: $, type: _e, velocity: et, delay: tt, isHandoff: rt, onUpdate: nt } = g; 22723 this.resolvedAt = time.now(), canAnimate(o, $, _e, et) || ((MotionGlobalConfig.instantAnimations || !tt) && (nt == null ? void 0 : nt(getFinalKeyframe$1(o, g, h))), o[0] = o[o.length - 1], g.duration = 0, g.repeat = 0); 22724 const ot = { 22725 startTime: b ? this.resolvedAt ? this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY ? this.resolvedAt : this.createdAt : this.createdAt : void 0, 22726 finalKeyframe: h, 22727 ...g, 22728 keyframes: o 22729 }, it = !rt && supportsBrowserAnimation(ot) ? new NativeAnimationExtended({ 22730 ...ot, 22731 element: ot.motionValue.owner.current 22732 }) : new JSAnimation(ot); 22733 it.finished.then(() => this.notifyFinished()).catch(noop$1), this.pendingTimeline && (this.stopTimeline = it.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = it; 22734 } 22735 get finished() { 22736 return this._animation ? this.animation.finished : this._finished; 22737 } 22738 then(o, h) { 22739 return this.finished.finally(o).then(() => { 22740 }); 22741 } 22742 get animation() { 22743 var _a; 22744 return this._animation || ((_a = this.keyframeResolver) == null ? void 0 : _a.resume(), flushKeyframeResolvers()), this._animation; 22745 } 22746 get duration() { 22747 return this.animation.duration; 22748 } 22749 get time() { 22750 return this.animation.time; 22751 } 22752 set time(o) { 22753 this.animation.time = o; 22754 } 22755 get speed() { 22756 return this.animation.speed; 22757 } 22758 get state() { 22759 return this.animation.state; 22760 } 22761 set speed(o) { 22762 this.animation.speed = o; 22763 } 22764 get startTime() { 22765 return this.animation.startTime; 22766 } 22767 attachTimeline(o) { 22768 return this._animation ? this.stopTimeline = this.animation.attachTimeline(o) : this.pendingTimeline = o, () => this.stop(); 22769 } 22770 play() { 22771 this.animation.play(); 22772 } 22773 pause() { 22774 this.animation.pause(); 22775 } 22776 complete() { 22777 this.animation.complete(); 22778 } 22779 cancel() { 22780 var _a; 22781 this._animation && this.animation.cancel(), (_a = this.keyframeResolver) == null ? void 0 : _a.cancel(); 22782 } 22783 } 22784 const splitCSSVariableRegex = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u; 22785 function parseCSSVariable(d) { 22786 const o = splitCSSVariableRegex.exec(d); 22787 if (!o) return [ 22788 , 22789 ]; 22790 const [, h, g, b] = o; 22791 return [ 22792 "--".concat(h != null ? h : g), 22793 b 22794 ]; 22795 } 22796 function getVariableValue(d, o, h = 1) { 22797 const [g, b] = parseCSSVariable(d); 22798 if (!g) return; 22799 const $ = window.getComputedStyle(o).getPropertyValue(g); 22800 if ($) { 22801 const _e = $.trim(); 22802 return isNumericalString(_e) ? parseFloat(_e) : _e; 22803 } 22804 return isCSSVariableToken(b) ? getVariableValue(b, o, h + 1) : b; 22805 } 22806 function getValueTransition(d, o) { 22807 var _a, _b; 22808 return (_b = (_a = d == null ? void 0 : d[o]) != null ? _a : d == null ? void 0 : d.default) != null ? _b : d; 22809 } 22810 const positionalKeys = /* @__PURE__ */ new Set([ 22811 "width", 22812 "height", 22813 "top", 22814 "left", 22815 "right", 22816 "bottom", 22817 ...transformPropOrder 22818 ]), auto = { 22819 test: (d) => d === "auto", 22820 parse: (d) => d 22821 }, testValueType = (d) => (o) => o.test(d), dimensionValueTypes = [ 22822 number, 22823 px, 22824 percent, 22825 degrees, 22826 vw, 22827 vh, 22828 auto 22829 ], findDimensionValueType = (d) => dimensionValueTypes.find(testValueType(d)); 22830 function isNone(d) { 22831 return typeof d == "number" ? d === 0 : d !== null ? d === "none" || d === "0" || isZeroValueString(d) : true; 22832 } 22833 const maxDefaults = /* @__PURE__ */ new Set([ 22834 "brightness", 22835 "contrast", 22836 "saturate", 22837 "opacity" 22838 ]); 22839 function applyDefaultFilter(d) { 22840 const [o, h] = d.slice(0, -1).split("("); 22841 if (o === "drop-shadow") return d; 22842 const [g] = h.match(floatRegex) || []; 22843 if (!g) return d; 22844 const b = h.replace(g, ""); 22845 let $ = maxDefaults.has(o) ? 1 : 0; 22846 return g !== h && ($ *= 100), o + "(" + $ + b + ")"; 22847 } 22848 const functionRegex = /\b([a-z-]*)\(.*?\)/gu, filter = { 22849 ...complex, 22850 getAnimatableNone: (d) => { 22851 const o = d.match(functionRegex); 22852 return o ? o.map(applyDefaultFilter).join(" ") : d; 22853 } 22854 }, int = { 22855 ...number, 22856 transform: Math.round 22857 }, transformValueTypes = { 22858 rotate: degrees, 22859 rotateX: degrees, 22860 rotateY: degrees, 22861 rotateZ: degrees, 22862 scale, 22863 scaleX: scale, 22864 scaleY: scale, 22865 scaleZ: scale, 22866 skew: degrees, 22867 skewX: degrees, 22868 skewY: degrees, 22869 distance: px, 22870 translateX: px, 22871 translateY: px, 22872 translateZ: px, 22873 x: px, 22874 y: px, 22875 z: px, 22876 perspective: px, 22877 transformPerspective: px, 22878 opacity: alpha, 22879 originX: progressPercentage, 22880 originY: progressPercentage, 22881 originZ: px 22882 }, numberValueTypes = { 22883 borderWidth: px, 22884 borderTopWidth: px, 22885 borderRightWidth: px, 22886 borderBottomWidth: px, 22887 borderLeftWidth: px, 22888 borderRadius: px, 22889 radius: px, 22890 borderTopLeftRadius: px, 22891 borderTopRightRadius: px, 22892 borderBottomRightRadius: px, 22893 borderBottomLeftRadius: px, 22894 width: px, 22895 maxWidth: px, 22896 height: px, 22897 maxHeight: px, 22898 top: px, 22899 right: px, 22900 bottom: px, 22901 left: px, 22902 padding: px, 22903 paddingTop: px, 22904 paddingRight: px, 22905 paddingBottom: px, 22906 paddingLeft: px, 22907 margin: px, 22908 marginTop: px, 22909 marginRight: px, 22910 marginBottom: px, 22911 marginLeft: px, 22912 backgroundPositionX: px, 22913 backgroundPositionY: px, 22914 ...transformValueTypes, 22915 zIndex: int, 22916 fillOpacity: alpha, 22917 strokeOpacity: alpha, 22918 numOctaves: int 22919 }, defaultValueTypes = { 22920 ...numberValueTypes, 22921 color, 22922 backgroundColor: color, 22923 outlineColor: color, 22924 fill: color, 22925 stroke: color, 22926 borderColor: color, 22927 borderTopColor: color, 22928 borderRightColor: color, 22929 borderBottomColor: color, 22930 borderLeftColor: color, 22931 filter, 22932 WebkitFilter: filter 22933 }, getDefaultValueType = (d) => defaultValueTypes[d]; 22934 function getAnimatableNone(d, o) { 22935 let h = getDefaultValueType(d); 22936 return h !== filter && (h = complex), h.getAnimatableNone ? h.getAnimatableNone(o) : void 0; 22937 } 22938 const invalidTemplates = /* @__PURE__ */ new Set([ 22939 "auto", 22940 "none", 22941 "0" 22942 ]); 22943 function makeNoneKeyframesAnimatable(d, o, h) { 22944 let g = 0, b; 22945 for (; g < d.length && !b; ) { 22946 const $ = d[g]; 22947 typeof $ == "string" && !invalidTemplates.has($) && analyseComplexValue($).values.length && (b = d[g]), g++; 22948 } 22949 if (b && h) for (const $ of o) d[$] = getAnimatableNone(h, b); 22950 } 22951 class DOMKeyframesResolver extends KeyframeResolver { 22952 constructor(o, h, g, b, $) { 22953 super(o, h, g, b, $, true); 22954 } 22955 readKeyframes() { 22956 const { unresolvedKeyframes: o, element: h, name: g } = this; 22957 if (!h || !h.current) return; 22958 super.readKeyframes(); 22959 for (let tt = 0; tt < o.length; tt++) { 22960 let rt = o[tt]; 22961 if (typeof rt == "string" && (rt = rt.trim(), isCSSVariableToken(rt))) { 22962 const nt = getVariableValue(rt, h.current); 22963 nt !== void 0 && (o[tt] = nt), tt === o.length - 1 && (this.finalKeyframe = rt); 22964 } 22965 } 22966 if (this.resolveNoneKeyframes(), !positionalKeys.has(g) || o.length !== 2) return; 22967 const [b, $] = o, _e = findDimensionValueType(b), et = findDimensionValueType($); 22968 if (_e !== et) if (isNumOrPxType(_e) && isNumOrPxType(et)) for (let tt = 0; tt < o.length; tt++) { 22969 const rt = o[tt]; 22970 typeof rt == "string" && (o[tt] = parseFloat(rt)); 22971 } 22972 else positionalValues[g] && (this.needsMeasurement = true); 22973 } 22974 resolveNoneKeyframes() { 22975 const { unresolvedKeyframes: o, name: h } = this, g = []; 22976 for (let b = 0; b < o.length; b++) (o[b] === null || isNone(o[b])) && g.push(b); 22977 g.length && makeNoneKeyframesAnimatable(o, g, h); 22978 } 22979 measureInitialState() { 22980 const { element: o, unresolvedKeyframes: h, name: g } = this; 22981 if (!o || !o.current) return; 22982 g === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = positionalValues[g](o.measureViewportBox(), window.getComputedStyle(o.current)), h[0] = this.measuredOrigin; 22983 const b = h[h.length - 1]; 22984 b !== void 0 && o.getValue(g, b).jump(b, false); 22985 } 22986 measureEndState() { 22987 var _a; 22988 const { element: o, name: h, unresolvedKeyframes: g } = this; 22989 if (!o || !o.current) return; 22990 const b = o.getValue(h); 22991 b && b.jump(this.measuredOrigin, false); 22992 const $ = g.length - 1, _e = g[$]; 22993 g[$] = positionalValues[h](o.measureViewportBox(), window.getComputedStyle(o.current)), _e !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = _e), ((_a = this.removedTransforms) == null ? void 0 : _a.length) && this.removedTransforms.forEac
22993h(([et, tt]) => { 22994 o.getValue(et).set(tt); 22995 }), this.resolveNoneKeyframes(); 22996 } 22997 } 22998 function resolveElements(d, o, h) { 22999 var _a; 23000 if (d instanceof EventTarget) return [ 23001 d 23002 ]; 23003 if (typeof d == "string") { 23004 let g = document; 23005 const b = (_a = h == null ? void 0 : h[d]) != null ? _a : g.querySelectorAll(d); 23006 return b ? Array.from(b) : []; 23007 } 23008 return Array.from(d); 23009 } 23010 const getValueAsType = (d, o) => o && typeof d == "number" ? o.transform(d) : d; 23011 function isHTMLElement(d) { 23012 return isObject(d) && "offsetHeight" in d; 23013 } 23014 const MAX_VELOCITY_DELTA = 30, isFloat = (d) => !isNaN(parseFloat(d)); 23015 class MotionValue { 23016 constructor(o, h = {}) { 23017 this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (g, b = true) => { 23018 var _a, _b; 23019 const $ = time.now(); 23020 if (this.updatedAt !== $ && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(g), this.current !== this.prev && ((_a = this.events.change) == null ? void 0 : _a.notify(this.current), this.dependents)) for (const _e of this.dependents) _e.dirty(); 23021 b && ((_b = this.events.renderRequest) == null ? void 0 : _b.notify(this.current)); 23022 }, this.hasAnimated = false, this.setCurrent(o), this.owner = h.owner; 23023 } 23024 setCurrent(o) { 23025 this.current = o, this.updatedAt = time.now(), this.canTrackVelocity === null && o !== void 0 && (this.canTrackVelocity = isFloat(this.current)); 23026 } 23027 setPrevFrameValue(o = this.current) { 23028 this.prevFrameValue = o, this.prevUpdatedAt = this.updatedAt; 23029 } 23030 onChange(o) { 23031 return this.on("change", o); 23032 } 23033 on(o, h) { 23034 this.events[o] || (this.events[o] = new SubscriptionManager()); 23035 const g = this.events[o].add(h); 23036 return o === "change" ? () => { 23037 g(), frame.read(() => { 23038 this.events.change.getSize() || this.stop(); 23039 }); 23040 } : g; 23041 } 23042 clearListeners() { 23043 for (const o in this.events) this.events[o].clear(); 23044 } 23045 attach(o, h) { 23046 this.passiveEffect = o, this.stopPassiveEffect = h; 23047 } 23048 set(o, h = true) { 23049 !h || !this.passiveEffect ? this.updateAndNotify(o, h) : this.passiveEffect(o, this.updateAndNotify); 23050 } 23051 setWithVelocity(o, h, g) { 23052 this.set(h), this.prev = void 0, this.prevFrameValue = o, this.prevUpdatedAt = this.updatedAt - g; 23053 } 23054 jump(o, h = true) { 23055 this.updateAndNotify(o), this.prev = o, this.prevUpdatedAt = this.prevFrameValue = void 0, h && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect(); 23056 } 23057 dirty() { 23058 var _a; 23059 (_a = this.events.change) == null ? void 0 : _a.notify(this.current); 23060 } 23061 addDependent(o) { 23062 this.dependents || (this.dependents = /* @__PURE__ */ new Set()), this.dependents.add(o); 23063 } 23064 removeDependent(o) { 23065 this.dependents && this.dependents.delete(o); 23066 } 23067 get() { 23068 return this.current; 23069 } 23070 getPrevious() { 23071 return this.prev; 23072 } 23073 getVelocity() { 23074 const o = time.now(); 23075 if (!this.canTrackVelocity || this.prevFrameValue === void 0 || o - this.updatedAt > MAX_VELOCITY_DELTA) return 0; 23076 const h = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA); 23077 return velocityPerSecond(parseFloat(this.current) - parseFloat(this.prevFrameValue), h); 23078 } 23079 start(o) { 23080 return this.stop(), new Promise((h) => { 23081 this.hasAnimated = true, this.animation = o(h), this.events.animationStart && this.events.animationStart.notify(); 23082 }).then(() => { 23083 this.events.animationComplete && this.events.animationComplete.notify(), this.clearAnimation(); 23084 }); 23085 } 23086 stop() { 23087 this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation(); 23088 } 23089 isAnimating() { 23090 return !!this.animation; 23091 } 23092 clearAnimation() { 23093 delete this.animation; 23094 } 23095 destroy() { 23096 var _a, _b; 23097 (_a = this.dependents) == null ? void 0 : _a.clear(), (_b = this.events.destroy) == null ? void 0 : _b.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect(); 23098 } 23099 } 23100 function motionValue(d, o) { 23101 return new MotionValue(d, o); 23102 } 23103 const { schedule: microtask } = createRenderBatcher(queueMicrotask, false), isDragging = { 23104 x: false, 23105 y: false 23106 }; 23107 function isDragActive() { 23108 return isDragging.x || isDragging.y; 23109 } 23110 function setDragLock(d) { 23111 return d === "x" || d === "y" ? isDragging[d] ? null : (isDragging[d] = true, () => { 23112 isDragging[d] = false;
23113 }) : isDragging.x || isDragging.y ? null : (isDragging.x = isDragging.y = true, () => { 23114 isDragging.x = isDragging.y = false; 23115 }); 23116 } 23117 function setupGesture(d, o) { 23118 const h = resolveElements(d), g = new AbortController(), b = { 23119 passive: true, 23120 ...o, 23121 signal: g.signal 23122 }; 23123 return [ 23124 h, 23125 b, 23126 () => g.abort() 23127 ]; 23128 } 23129 function isValidHover(d) { 23130 return !(d.pointerType === "touch" || isDragActive()); 23131 } 23132 function hover(d, o, h = {}) { 23133 const [g, b, $] = setupGesture(d, h), _e = (et) => { 23134 if (!isValidHover(et)) return; 23135 const { target: tt } = et, rt = o(tt, et); 23136 if (typeof rt != "function" || !tt) return; 23137 const nt = (st) => { 23138 isValidHover(st) && (rt(st), tt.removeEventListener("pointerleave", nt)); 23139 }; 23140 tt.addEventListener("pointerleave", nt, b); 23141 }; 23142 return g.forEach((et) => { 23143 et.addEventListener("pointerenter", _e, b); 23144 }), $; 23145 } 23146 const isNodeOrChild = (d, o) => o ? d === o ? true : isNodeOrChild(d, o.parentElement) : false, isPrimaryPointer = (d) => d.pointerType === "mouse" ? typeof d.button != "number" || d.button <= 0 : d.isPrimary !== false, focusableElements = /* @__PURE__ */ new Set([ 23147 "BUTTON", 23148 "INPUT", 23149 "SELECT", 23150 "TEXTAREA", 23151 "A" 23152 ]); 23153 function isElementKeyboardAccessible(d) { 23154 return focusableElements.has(d.tagName) || d.tabIndex !== -1; 23155 } 23156 const isPressing = /* @__PURE__ */ new WeakSet(); 23157 function filterEvents(d) { 23158 return (o) => { 23159 o.key === "Enter" && d(o); 23160 }; 23161 } 23162 function firePointerEvent(d, o) { 23163 d.dispatchEvent(new PointerEvent("pointer" + o, { 23164 isPrimary: true, 23165 bubbles: true 23166 })); 23167 } 23168 const enableKeyboardPress = (d, o) => { 23169 const h = d.currentTarget; 23170 if (!h) return; 23171 const g = filterEvents(() => { 23172 if (isPressing.has(h)) return; 23173 firePointerEvent(h, "down"); 23174 const b = filterEvents(() => { 23175 firePointerEvent(h, "up"); 23176 }), $ = () => firePointerEvent(h, "cancel"); 23177 h.addEventListener("keyup", b, o), h.addEventListener("blur", $, o); 23178 }); 23179 h.addEventListener("keydown", g, o), h.addEventListener("blur", () => h.removeEventListener("keydown", g), o); 23180 }; 23181 function isValidPressEvent(d) { 23182 return isPrimaryPointer(d) && !isDragActive(); 23183 } 23184 function press(d, o, h = {}) { 23185 const [g, b, $] = setupGesture(d, h), _e = (et) => { 23186 const tt = et.currentTarget; 23187 if (!isValidPressEvent(et)) return; 23188 isPressing.add(tt); 23189 const rt = o(tt, et), nt = (it, at) => { 23190 window.removeEventListener("pointerup", st), window.removeEventListener("pointercancel", ot), isPressing.has(tt) && isPressing.delete(tt), isValidPressEvent(it) && typeof rt == "function" && rt(it, { 23191 success: at 23192 }); 23193 }, st = (it) => { 23194 nt(it, tt === window || tt === document || h.useGlobalTarget || isNodeOrChild(tt, it.target)); 23195 }, ot = (it) => { 23196 nt(it, false); 23197 }; 23198 window.addEventListener("pointerup", st, b), window.addEventListener("pointercancel", ot, b); 23199 }; 23200 return g.forEach((et) => { 23201 (h.useGlobalTarget ? window : et).addEventListener("pointerdown", _e, b), isHTMLElement(et) && (et.addEventListener("focus", (rt) => enableKeyboardPress(rt, b)), !isElementKeyboardAccessible(et) && !et.hasAttribute("tabindex") && (et.tabIndex = 0)); 23202 }), $; 23203 } 23204 function isSVGElement(d) { 23205 return isObject(d) && "ownerSVGElement" in d; 23206 } 23207 function isSVGSVGElement(d) { 23208 return isSVGElement(d) && d.tagName === "svg"; 23209 } 23210 const isMotionValue = (d) => !!(d && d.getVelocity), valueTypes = [ 23211 ...dimensionValueTypes, 23212 color, 23213 complex 23214 ], findValueType = (d) => valueTypes.find(testValueType(d)), MotionConfigContext = reactExports.createContext({ 23215 transformPagePoint: (d) => d, 23216 isStatic: false, 23217 reducedMotion: "never" 23218 }); 23219 class PopChildMeasure extends reactExports.Component { 23220 getSnapshotBeforeUpdate(o) { 23221 const h = this.props.childRef.current; 23222 if (h && o.isPresent && !this.props.isPresent) { 23223 const g = h.offsetParent, b = isHTMLElement(g) && g.offsetWidth || 0, $ = this.props.sizeRef.current; 23224 $.height = h.offsetHeight || 0, $.width = h.offsetWidth || 0, $.top = h.offsetTop, $.left = h.offsetLeft, $.right = b - $.width - $.left; 23225 } 23226 return null; 23227 } 23228 componentDidUpdate() { 23229 } 23230 render() { 23231 return this.props.children; 23232 } 23233 } 23234 function PopChild({ children: d, isPresent: o, anchorX: h, root: g }) { 23235 const b = reactExports.useId(), $ = reactExports.useRef(null), _e = reactExports.useRef({ 23236 width: 0, 23237 height: 0, 23238 top: 0, 23239 left: 0, 23240 right: 0 23241 }), { nonce: et } = reactExports.useContext(MotionConfigContext); 23242 return reactExports.useInsertionEffect(() => { 23243 const { width: tt, height: rt, top: nt, left: st, right: ot } = _e.current; 23244 if (o || !$.current || !tt || !rt) return; 23245 const it = h === "left" ? "left: ".concat(st) : "right: ".concat(ot); 23246 $.current.dataset.motionPopId = b; 23247 const at = document.createElement("style"); 23248 et && (at.nonce = et); 23249 const lt = g != null ? g : document.head; 23250 return lt.appendChild(at), at.sheet && at.sheet.insertRule('\n [data-motion-pop-id="'.concat(b, '"] {\n position: absolute !important;\n width: ').concat(tt, "px !important;\n height: ").concat(rt, "px !important;\n ").concat(it, "px !important;\n top: ").concat(nt, "px !important;\n }\n ")), () => { 23251 lt.removeChild(at), lt.contains(at) && lt.removeChild(at); 23252 }; 23253 }, [ 23254 o 23255 ]), jsxRuntimeExports.jsx(PopChildMeasure, { 23256 isPresent: o, 23257 childRef: $, 23258 sizeRef: _e, 23259 children: reactExports.cloneElement(d, { 23260 ref: $ 23261 }) 23262 }); 23263 } 23264 const PresenceChild = ({ children: d, initial: o, isPresent: h, onExitComplete: g, custom: b, presenceAffectsLayout: $, mode: _e, anchorX: et, root: tt }) => { 23265 const rt = useConstant(newChildrenMap), nt = reactExports.useId(); 23266 let st = true, ot = reactExports.useMemo(() => (st = false, { 23267 id: nt, 23268 initial: o, 23269 isPresent: h, 23270 custom: b, 23271 onExitComplete: (it) => { 23272 rt.set(it, true); 23273 for (const at of rt.values()) if (!at) return; 23274 g && g(); 23275 }, 23276 register: (it) => (rt.set(it, false), () => rt.delete(it)) 23277 }), [ 23278 h, 23279 rt, 23280 g 23281 ]); 23282 return $ && st && (ot = { 23283 ...ot 23284 }), reactExports.useMemo(() => { 23285 rt.forEach((it, at) => rt.set(at, false)); 23286 }, [ 23287 h 23288 ]), reactExports.useEffect(() => { 23289 !h && !rt.size && g && g(); 23290 }, [ 23291 h 23292 ]), _e === "popLayout" && (d = jsxRuntimeExports.jsx(PopChild, { 23293 isPresent: h, 23294 anchorX: et, 23295 root: tt, 23296 children: d 23297 })), jsxRuntimeExports.jsx(PresenceContext.Provider, { 23298 value: ot, 23299 children: d 23300 }); 23301 }; 23302 function newChildrenMap() { 23303 return /* @__PURE__ */ new Map(); 23304 } 23305 function usePresence(d = true) { 23306 const o = reactExports.useContext(PresenceContext); 23307 if (o === null) return [ 23308 true, 23309 null 23310 ]; 23311 const { isPresent: h, onExitComplete: g, register: b } = o, $ = reactExports.useId(); 23312 reactExports.useEffect(() => { 23313 if (d) return b($); 23314 }, [ 23315 d 23316 ]); 23317 const _e = reactExports.useCallback(() => d && g && g($), [ 23318 $, 23319 g, 23320 d 23321 ]); 23322 return !h && g ? [ 23323 false, 23324 _e 23325 ] : [ 23326 true 23327 ]; 23328 } 23329 const getChildKey = (d) => d.key || ""; 23330 function onlyElements(d) { 23331 const o = [];
23332 return reactExports.Children.forEach(d, (h) => { 23333 reactExports.isValidElement(h) && o.push(h); 23334 }), o; 23335 } 23336 const AnimatePresence = ({ children: d, custom: o, initial: h = true, onExitComplete: g, presenceAffectsLayout: b = true, mode: $ = "sync", propagate: _e = false, anchorX: et = "left", root: tt }) => { 23337 const [rt, nt] = usePresence(_e), st = reactExports.useMemo(() => onlyElements(d), [ 23338 d 23339 ]), ot = _e && !rt ? [] : st.map(getChildKey), it = reactExports.useRef(true), at = reactExports.useRef(st), lt = useConstant(() => /* @__PURE__ */ new Map()), [ct, ut] = reactExports.useState(st), [ft, dt] = reactExports.useState(st); 23340 useIsomorphicLayoutEffect(() => { 23341 it.current = false, at.current = st; 23342 for (let mt = 0; mt < ft.length; mt++) { 23343 const gt = getChildKey(ft[mt]); 23344 ot.includes(gt) ? lt.delete(gt) : lt.get(gt) !== true && lt.set(gt, false); 23345 } 23346 }, [ 23347 ft, 23348 ot.length, 23349 ot.join("-") 23350 ]); 23351 const pt = []; 23352 if (st !== ct) { 23353 let mt = [ 23354 ...st 23355 ]; 23356 for (let gt = 0; gt < ft.length; gt++) { 23357 const yt = ft[gt], xt = getChildKey(yt); 23358 ot.includes(xt) || (mt.splice(gt, 0, yt), pt.push(yt)); 23359 } 23360 return $ === "wait" && pt.length && (mt = pt), dt(onlyElements(mt)), ut(st), null; 23361 } 23362 const { forceRender: ht } = reactExports.useContext(LayoutGroupContext); 23363 return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 23364 children: ft.map((mt) => { 23365 const gt = getChildKey(mt), yt = _e && !rt ? false : st === ft || ot.includes(gt), xt = () => { 23366 if (lt.has(gt)) lt.set(gt, true); 23367 else return; 23368 let _t = true; 23369 lt.forEach((St) => { 23370 St || (_t = false); 23371 }), _t && (ht == null ? void 0 : ht(), dt(at.current), _e && (nt == null ? void 0 : nt()), g && g()); 23372 }; 23373 return jsxRuntimeExports.jsx(PresenceChild, { 23374 isPresent: yt, 23375 initial: !it.current || h ? void 0 : false, 23376 custom: o, 23377 presenceAffectsLayout: b, 23378 mode: $, 23379 root: tt, 23380 onExitComplete: yt ? void 0 : xt, 23381 anchorX: et, 23382 children: mt 23383 }, gt); 23384 }) 23385 }); 23386 }, LazyContext = reactExports.createContext({ 23387 strict: false 23388 }), featureProps = { 23389 animation: [ 23390 "animate", 23391 "variants", 23392 "whileHover", 23393 "whileTap", 23394 "exit", 23395 "whileInView", 23396 "whileFocus", 23397 "whileDrag" 23398 ], 23399 exit: [ 23400 "exit" 23401 ], 23402 drag: [ 23403 "drag", 23404 "dragControls" 23405 ], 23406 focus: [ 23407 "whileFocus" 23408 ], 23409 hover: [ 23410 "whileHover", 23411 "onHoverStart", 23412 "onHoverEnd" 23413 ], 23414 tap: [ 23415 "whileTap", 23416 "onTap", 23417 "onTapStart", 23418 "onTapCancel" 23419 ], 23420 pan: [ 23421 "onPan", 23422 "onPanStart", 23423 "onPanSessionStart", 23424 "onPanEnd" 23425 ], 23426 inView: [ 23427 "whileInView", 23428 "onViewportEnter", 23429 "onViewportLeave" 23430 ], 23431 layout: [ 23432 "layout", 23433 "layoutId" 23434 ] 23435 }, featureDefinitions = {}; 23436 for (const d in featureProps) featureDefinitions[d] = { 23437 isEnabled: (o) => featureProps[d].some((h) => !!o[h]) 23438 }; 23439 function loadFeatures(d) { 23440 for (const o in d) featureDefinitions[o] = { 23441 ...featureDefinitions[o], 23442 ...d[o] 23443 }; 23444 } 23445 const validMotionProps = /* @__PURE__ */ new Set([ 23446 "animate", 23447 "exit", 23448 "variants", 23449 "initial", 23450 "style", 23451 "values", 23452 "variants", 23453 "transition", 23454 "transformTemplate", 23455 "custom", 23456 "inherit", 23457 "onBeforeLayoutMeasure", 23458 "onAnimationStart", 23459 "onAnimationComplete", 23460 "onUpdate", 23461 "onDragStart", 23462 "onDrag", 23463 "onDragEnd", 23464 "onMeasureDragConstraints", 23465 "onDirectionLock", 23466 "onDragTransitionEnd", 23467 "_dragX", 23468 "_dragY", 23469 "onHoverStart", 23470 "onHoverEnd", 23471 "onViewportEnter", 23472 "onViewportLeave", 23473 "globalTapTarget", 23474 "ignoreStrict", 23475 "viewport" 23476 ]); 23477 function isValidMotionProp(d) { 23478 return d.startsWith("while") || d.startsWith("drag") && d !== "draggable" || d.startsWith("layout") || d.startsWith("onTap") || d.startsWith("onPan") || d.startsWith("onLayout") || validMotionProps.has(d); 23479 } 23480 let shouldForward = (d) => !isValidMotionProp(d); 23481 function loadExternalIsValidProp(d) { 23482 typeof d == "function" && (shouldForward = (o) => o.startsWith("on") ? !isValidMotionProp(o) : d(o)); 23483 } 23484 try { 23485 loadExternalIsValidProp(require("@emotion/is-prop-valid").default); 23486 } catch (e2) { 23487 } 23488 function filterProps(d, o, h) { 23489 const g = {}; 23490 for (const b in d) b === "values" && typeof d.values == "object" || (shouldForward(b) || h === true && isValidMotionProp(b) || !o && !isValidMotionProp(b) || d.draggable && b.startsWith("onDrag")) && (g[b] = d[b]); 23491 return g; 23492 } 23493 const MotionContext = reactExports.createContext({}); 23494 function isAnimationControls(d) { 23495 return d !== null && typeof d == "object" && typeof d.start == "function"; 23496 } 23497 function isVariantLabel(d) { 23498 return typeof d == "string" || Array.isArray(d); 23499 } 23500 const variantPriorityOrder = [ 23501 "animate", 23502 "whileInView", 23503 "whileFocus", 23504 "whileHover", 23505 "whileTap", 23506 "whileDrag", 23507 "exit" 23508 ], variantProps = [ 23509 "initial", 23510 ...variantPriorityOrder 23511 ]; 23512 function isControllingVariants(d) { 23513 return isAnimationControls(d.animate) || variantProps.some((o) => isVariantLabel(d[o])); 23514 }
23515 function isVariantNode(d) { 23516 return !!(isControllingVariants(d) || d.variants); 23517 } 23518 function getCurrentTreeVariants(d, o) { 23519 if (isControllingVariants(d)) { 23520 const { initial: h, animate: g } = d; 23521 return { 23522 initial: h === false || isVariantLabel(h) ? h : void 0, 23523 animate: isVariantLabel(g) ? g : void 0 23524 }; 23525 } 23526 return d.inherit !== false ? o : {}; 23527 } 23528 function useCreateMotionContext(d) { 23529 const { initial: o, animate: h } = getCurrentTreeVariants(d, reactExports.useContext(MotionContext)); 23530 return reactExports.useMemo(() => ({ 23531 initial: o, 23532 animate: h 23533 }), [ 23534 variantLabelsAsDependency(o), 23535 variantLabelsAsDependency(h) 23536 ]); 23537 } 23538 function variantLabelsAsDependency(d) { 23539 return Array.isArray(d) ? d.join(" ") : d; 23540 } 23541 const scaleCorrectors = {}; 23542 function addScaleCorrector(d) { 23543 for (const o in d) scaleCorrectors[o] = d[o], isCSSVariableName(o) && (scaleCorrectors[o].isCSSVariable = true); 23544 } 23545 function isForcedMotionValue(d, { layout: o, layoutId: h }) { 23546 return transformProps.has(d) || d.startsWith("origin") || (o || h !== void 0) && (!!scaleCorrectors[d] || d === "opacity"); 23547 } 23548 const translateAlias = { 23549 x: "translateX", 23550 y: "translateY", 23551 z: "translateZ", 23552 transformPerspective: "perspective" 23553 }, numTransforms = transformPropOrder.length; 23554 function buildTransform(d, o, h) { 23555 let g = "", b = true; 23556 for (let $ = 0; $ < numTransforms; $++) { 23557 const _e = transformPropOrder[$], et = d[_e]; 23558 if (et === void 0) continue; 23559 let tt = true; 23560 if (typeof et == "number" ? tt = et === (_e.startsWith("scale") ? 1 : 0) : tt = parseFloat(et) === 0, !tt || h) { 23561 const rt = getValueAsType(et, numberValueTypes[_e]); 23562 if (!tt) { 23563 b = false;
23564 const nt = translateAlias[_e] || _e; 23565 g += "".concat(nt, "(").concat(rt, ") "); 23566 } 23567 h && (o[_e] = rt); 23568 } 23569 } 23570 return g = g.trim(), h ? g = h(o, b ? "" : g) : b && (g = "none"), g; 23571 } 23572 function buildHTMLStyles(d, o, h) { 23573 const { style: g, vars: b, transformOrigin: $ } = d; 23574 let _e = false, et = false; 23575 for (const tt in o) { 23576 const rt = o[tt]; 23577 if (transformProps.has(tt)) { 23578 _e = true; 23579 continue; 23580 } else if (isCSSVariableName(tt)) { 23581 b[tt] = rt; 23582 continue; 23583 } else { 23584 const nt = getValueAsType(rt, numberValueTypes[tt]); 23585 tt.startsWith("origin") ? (et = true, $[tt] = nt) : g[tt] = nt; 23586 } 23587 } 23588 if (o.transform || (_e || h ? g.transform = buildTransform(o, d.transform, h) : g.transform && (g.transform = "none")), et) { 23589 const { originX: tt = "50%", originY: rt = "50%", originZ: nt = 0 } = $; 23590 g.transformOrigin = "".concat(tt, " ").concat(rt, " ").concat(nt); 23591 } 23592 } 23593 const createHtmlRenderState = () => ({ 23594 style: {}, 23595 transform: {}, 23596 transformOrigin: {}, 23597 vars: {} 23598 }); 23599 function copyRawValuesOnly(d, o, h) { 23600 for (const g in o) !isMotionValue(o[g]) && !isForcedMotionValue(g, h) && (d[g] = o[g]); 23601 } 23602 function useInitialMotionValues({ transformTemplate: d }, o) { 23603 return reactExports.useMemo(() => { 23604 const h = createHtmlRenderState(); 23605 return buildHTMLStyles(h, o, d), Object.assign({}, h.vars, h.style); 23606 }, [ 23607 o 23608 ]); 23609 } 23610 function useStyle(d, o) { 23611 const h = d.style || {}, g = {}; 23612 return copyRawValuesOnly(g, h, d), Object.assign(g, useInitialMotionValues(d, o)), g; 23613 } 23614 function useHTMLProps(d, o) { 23615 const h = {}, g = useStyle(d, o); 23616 return d.drag && d.dragListener !== false && (h.draggable = false, g.userSelect = g.WebkitUserSelect = g.WebkitTouchCallout = "none", g.touchAction = d.drag === true ? "none" : "pan-".concat(d.drag === "x" ? "y" : "x")), d.tabIndex === void 0 && (d.onTap || d.onTapStart || d.whileTap) && (h.tabIndex = 0), h.style = g, h; 23617 } 23618 const dashKeys = { 23619 offset: "stroke-dashoffset", 23620 array: "stroke-dasharray" 23621 }, camelKeys = { 23622 offset: "strokeDashoffset", 23623 array: "strokeDasharray" 23624 }; 23625 function buildSVGPath(d, o, h = 1, g = 0, b = true) { 23626 d.pathLength = 1; 23627 const $ = b ? dashKeys : camelKeys; 23628 d[$.offset] = px.transform(-g); 23629 const _e = px.transform(o), et = px.transform(h); 23630 d[$.array] = "".concat(_e, " ").concat(et); 23631 } 23632 function buildSVGAttrs(d, { attrX: o, attrY: h, attrScale: g, pathLength: b, pathSpacing: $ = 1, pathOffset: _e = 0, ...et }, tt, rt, nt) { 23633 var _a, _b; 23634 if (buildHTMLStyles(d, et, rt), tt) { 23635 d.style.viewBox && (d.attrs.viewBox = d.style.viewBox); 23636 return; 23637 } 23638 d.attrs = d.style, d.style = {}; 23639 const { attrs: st, style: ot } = d; 23640 st.transform && (ot.transform = st.transform, delete st.transform), (ot.transform || st.transformOrigin) && (ot.transformOrigin = (_a = st.transformOrigin) != null ? _a : "50% 50%", delete st.transformOrigin), ot.transform && (ot.transformBox = (_b = nt == null ? void 0 : nt.transformBox) != null ? _b : "fill-box", delete st.transformBox), o !== void 0 && (st.x = o), h !== void 0 && (st.y = h), g !== void 0 && (st.scale = g), b !== void 0 && buildSVGPath(st, b, $, _e, false); 23641 } 23642 const createSvgRenderState = () => ({ 23643 ...createHtmlRenderState(), 23644 attrs: {} 23645 }), isSVGTag = (d) => typeof d == "string" && d.toLowerCase() === "svg"; 23646 function useSVGProps(d, o, h, g) { 23647 const b = reactExports.useMemo(() => { 23648 const $ = createSvgRenderState(); 23649 return buildSVGAttrs($, o, isSVGTag(g), d.transformTemplate, d.style), { 23650 ...$.attrs, 23651 style: { 23652 ...$.style 23653 } 23654 }; 23655 }, [ 23656 o 23657 ]); 23658 if (d.style) { 23659 const $ = {}; 23660 copyRawValuesOnly($, d.style, d), b.style = { 23661 ...$, 23662 ...b.style 23663 }; 23664 } 23665 return b; 23666 } 23667 const lowercaseSVGElements = [ 23668 "animate", 23669 "circle", 23670 "defs", 23671 "desc", 23672 "ellipse", 23673 "g", 23674 "image", 23675 "line", 23676 "filter", 23677 "marker", 23678 "mask", 23679 "metadata", 23680 "path", 23681 "pattern", 23682 "polygon", 23683 "polyline", 23684 "rect", 23685 "stop", 23686 "switch", 23687 "symbol", 23688 "svg", 23689 "text", 23690 "tspan", 23691 "use", 23692 "view" 23693 ]; 23694 function isSVGComponent(d) { 23695 return typeof d != "string" || d.includes("-") ? false : !!(lowercaseSVGElements.indexOf(d) > -1 || /[A-Z]/u.test(d)); 23696 } 23697 function useRender(d, o, h, { latestValues: g }, b, $ = false) { 23698 const et = (isSVGComponent(d) ? useSVGProps : useHTMLProps)(o, g, b, d), tt = filterProps(o, typeof d == "string", $), rt = d !== reactExports.Fragment ? { 23699 ...tt, 23700 ...et, 23701 ref: h 23702 } : {}, { children: nt } = o, st = reactExports.useMemo(() => isMotionValue(nt) ? nt.get() : nt, [ 23703 nt 23704 ]); 23705 return reactExports.createElement(d, { 23706 ...rt, 23707 children: st 23708 }); 23709 } 23710 function getValueState(d) { 23711 const o = [ 23712 {}, 23713 {} 23714 ];
vendor: 6,104 bytes, lines 23715-23847
23715 return d == null ? void 0 : d.values.forEach((h, g) => { 23716 o[0][g] = h.get(), o[1][g] = h.getVelocity(); 23717 }), o; 23718 } 23719 function resolveVariantFromProps(d, o, h, g) { 23720 if (typeof o == "function") { 23721 const [b, $] = getValueState(g); 23722 o = o(h !== void 0 ? h : d.custom, b, $); 23723 } 23724 if (typeof o == "string" && (o = d.variants && d.variants[o]), typeof o == "function") { 23725 const [b, $] = getValueState(g); 23726 o = o(h !== void 0 ? h : d.custom, b, $); 23727 } 23728 return o; 23729 } 23730 function resolveMotionValue(d) { 23731 return isMotionValue(d) ? d.get() : d; 23732 } 23733 function makeState({ scrapeMotionValuesFromProps: d, createRenderState: o }, h, g, b) { 23734 return { 23735 latestValues: makeLatestValues(h, g, b, d), 23736 renderState: o() 23737 }; 23738 } 23739 function makeLatestValues(d, o, h, g) { 23740 const b = {}, $ = g(d, {}); 23741 for (const ot in $) b[ot] = resolveMotionValue($[ot]); 23742 let { initial: _e, animate: et } = d; 23743 const tt = isControllingVariants(d), rt = isVariantNode(d); 23744 o && rt && !tt && d.inherit !== false && (_e === void 0 && (_e = o.initial), et === void 0 && (et = o.animate)); 23745 let nt = h ? h.initial === false : false; 23746 nt = nt || _e === false; 23747 const st = nt ? et : _e; 23748 if (st && typeof st != "boolean" && !isAnimationControls(st)) { 23749 const ot = Array.isArray(st) ? st : [ 23750 st 23751 ]; 23752 for (let it = 0; it < ot.length; it++) { 23753 const at = resolveVariantFromProps(d, ot[it]); 23754 if (at) { 23755 const { transitionEnd: lt, transition: ct, ...ut } = at; 23756 for (const ft in ut) { 23757 let dt = ut[ft]; 23758 if (Array.isArray(dt)) { 23759 const pt = nt ? dt.length - 1 : 0; 23760 dt = dt[pt]; 23761 } 23762 dt !== null && (b[ft] = dt); 23763 } 23764 for (const ft in lt) b[ft] = lt[ft]; 23765 } 23766 } 23767 } 23768 return b; 23769 } 23770 const makeUseVisualState = (d) => (o, h) => { 23771 const g = reactExports.useContext(MotionContext), b = reactExports.useContext(PresenceContext), $ = () => makeState(d, o, g, b); 23772 return h ? $() : useConstant($); 23773 }; 23774 function scrapeMotionValuesFromProps$1(d, o, h) { 23775 var _a; 23776 const { style: g } = d, b = {}; 23777 for (const $ in g) (isMotionValue(g[$]) || o.style && isMotionValue(o.style[$]) || isForcedMotionValue($, d) || ((_a = h == null ? void 0 : h.getValue($)) == null ? void 0 : _a.liveStyle) !== void 0) && (b[$] = g[$]); 23778 return b; 23779 } 23780 const useHTMLVisualState = makeUseVisualState({ 23781 scrapeMotionValuesFromProps: scrapeMotionValuesFromProps$1, 23782 createRenderState: createHtmlRenderState 23783 }); 23784 function scrapeMotionValuesFromProps(d, o, h) { 23785 const g = scrapeMotionValuesFromProps$1(d, o, h); 23786 for (const b in d) if (isMotionValue(d[b]) || isMotionValue(o[b])) { 23787 const $ = transformPropOrder.indexOf(b) !== -1 ? "attr" + b.charAt(0).toUpperCase() + b.substring(1) : b; 23788 g[$] = d[b]; 23789 } 23790 return g; 23791 } 23792 const useSVGVisualState = makeUseVisualState({ 23793 scrapeMotionValuesFromProps, 23794 createRenderState: createSvgRenderState 23795 }), motionComponentSymbol = Symbol.for("motionComponentSymbol"); 23796 function isRefObject(d) { 23797 return d && typeof d == "object" && Object.prototype.hasOwnProperty.call(d, "current"); 23798 } 23799 function useMotionRef(d, o, h) { 23800 return reactExports.useCallback((g) => { 23801 g && d.onMount && d.onMount(g), o && (g ? o.mount(g) : o.unmount()), h && (typeof h == "function" ? h(g) : isRefObject(h) && (h.current = g)); 23802 }, [ 23803 o 23804 ]); 23805 } 23806 const camelToDash = (d) => d.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), optimizedAppearDataId = "framerAppearId", optimizedAppearDataAttribute = "data-" + camelToDash(optimizedAppearDataId), SwitchLayoutGroupContext = reactExports.createContext({}); 23807 function useVisualElement(d, o, h, g, b) { 23808 var _a, _b; 23809 const { visualElement: $ } = reactExports.useContext(MotionContext), _e = reactExports.useContext(LazyContext), et = reactExports.useContext(PresenceContext), tt = reactExports.useContext(MotionConfigContext).reducedMotion, rt = reactExports.useRef(null); 23810 g = g || _e.renderer, !rt.current && g && (rt.current = g(d, { 23811 visualState: o, 23812 parent: $, 23813 props: h, 23814 presenceContext: et, 23815 blockInitialAnimation: et ? et.initial === false : false, 23816 reducedMotionConfig: tt 23817 })); 23818 const nt = rt.current, st = reactExports.useContext(SwitchLayoutGroupContext); 23819 nt && !nt.projection && b && (nt.type === "html" || nt.type === "svg") && createProjectionNode$1(rt.current, h, b, st); 23820 const ot = reactExports.useRef(false); 23821 reactExports.useInsertionEffect(() => { 23822 nt && ot.current && nt.update(h, et); 23823 }); 23824 const it = h[optimizedAppearDataAttribute], at = reactExports.useRef(!!it && !((_a = window.MotionHandoffIsComplete) == null ? void 0 : _a.call(window, it)) && ((_b = window.MotionHasOptimisedAnimation) == null ? void 0 : _b.call(window, it))); 23825 return useIsomorphicLayoutEffect(() => { 23826 nt && (ot.current = true, window.MotionIsMounted = true, nt.updateFeatures(), nt.scheduleRenderMicrotask(), at.current && nt.animationState && nt.animationState.animateChanges()); 23827 }), reactExports.useEffect(() => { 23828 nt && (!at.current && nt.animationState && nt.animationState.animateChanges(), at.current && (queueMicrotask(() => { 23829 var _a2; 23830 (_a2 = window.MotionHandoffMarkAsComplete) == null ? void 0 : _a2.call(window, it); 23831 }), at.current = false)); 23832 }), nt; 23833 } 23834 function createProjectionNode$1(d, o, h, g) { 23835 const { layoutId: b, layout: $, drag: _e, dragConstraints: et, layoutScroll: tt, layoutRoot: rt, layoutCrossfade: nt } = o; 23836 d.projection = new h(d.latestValues, o["data-framer-portal-id"] ? void 0 : getClosestProjectingNode(d.parent)), d.projection.setOptions({ 23837 layoutId: b, 23838 layout: $, 23839 alwaysMeasureLayout: !!_e || et && isRefObject(et), 23840 visualElement: d, 23841 animationType: typeof $ == "string" ? $ : "both", 23842 initialPromotionConfig: g, 23843 crossfade: nt, 23844 layoutScroll: tt, 23845 layoutRoot: rt 23846 }); 23847 }
23848 function getClosestProjectingNode(d) { 23849 if (d) return d.options.allowProjection !== false ? d.projection : getClosestProjectingNode(d.parent); 23850 } 23851 function createMotionComponent(d, { forwardMotionProps: o = false } = {}, h, g) { 23852 var _a, _b; 23853 h && loadFeatures(h); 23854 const b = isSVGComponent(d) ? useSVGVisualState : useHTMLVisualState; 23855 function $(et, tt) { 23856 let rt; 23857 const nt = { 23858 ...reactExports.useContext(MotionConfigContext), 23859 ...et, 23860 layoutId: useLayoutId(et) 23861 }, { isStatic: st } = nt, ot = useCreateMotionContext(et), it = b(et, st); 23862 if (!st && isBrowser) { 23863 useStrictMode(); 23864 const at = getProjectionFunctionality(nt); 23865 rt = at.MeasureLayout, ot.visualElement = useVisualElement(d, it, nt, g, at.ProjectionNode); 23866 } 23867 return jsxRuntimeExports.jsxs(MotionContext.Provider, { 23868 value: ot, 23869 children: [ 23870 rt && ot.visualElement ? jsxRuntimeExports.jsx(rt, { 23871 visualElement: ot.visualElement, 23872 ...nt 23873 }) : null, 23874 useRender(d, et, useMotionRef(it, ot.visualElement, tt), it, st, o) 23875 ] 23876 }); 23877 } 23878 $.displayName = "motion.".concat(typeof d == "string" ? d : "create(".concat((_b = (_a = d.displayName) != null ? _a : d.name) != null ? _b : "", ")")); 23879 const _e = reactExports.forwardRef($); 23880 return _e[motionComponentSymbol] = d, _e; 23881 } 23882 function useLayoutId({ layoutId: d }) { 23883 const o = reactExports.useContext(LayoutGroupContext).id; 23884 return o && d !== void 0 ? o + "-" + d : d; 23885 } 23886 function useStrictMode(d, o) { 23887 reactExports.useContext(LazyContext).strict; 23888 } 23889 function getProjectionFunctionality(d) { 23890 const { drag: o, layout: h } = featureDefinitions; 23891 if (!o && !h) return {}; 23892 const g = { 23893 ...o, 23894 ...h 23895 }; 23896 return { 23897 MeasureLayout: (o == null ? void 0 : o.isEnabled(d)) || (h == null ? void 0 : h.isEnabled(d)) ? g.MeasureLayout : void 0, 23898 ProjectionNode: g.ProjectionNode 23899 }; 23900 } 23901 function createMotionProxy(d, o) { 23902 if (typeof Proxy > "u") return createMotionComponent; 23903 const h = /* @__PURE__ */ new Map(), g = ($, _e) => createMotionComponent($, _e, d, o), b = ($, _e) => g($, _e); 23904 return new Proxy(b, { 23905 get: ($, _e) => _e === "create" ? g : (h.has(_e) || h.set(_e, createMotionComponent(_e, void 0, d, o)), h.get(_e)) 23906 }); 23907 } 23908 function convertBoundingBoxToBox({ top: d, left: o, right: h, bottom: g }) { 23909 return { 23910 x: { 23911 min: o, 23912 max: h 23913 }, 23914 y: { 23915 min: d, 23916 max: g 23917 } 23918 }; 23919 } 23920 function convertBoxToBoundingBox({ x: d, y: o }) { 23921 return { 23922 top: o.min, 23923 right: d.max, 23924 bottom: o.max, 23925 left: d.min 23926 }; 23927 } 23928 function transformBoxPoints(d, o) { 23929 if (!o) return d; 23930 const h = o({ 23931 x: d.left, 23932 y: d.top 23933 }), g = o({ 23934 x: d.right, 23935 y: d.bottom 23936 }); 23937 return { 23938 top: h.y, 23939 left: h.x, 23940 bottom: g.y, 23941 right: g.x 23942 }; 23943 } 23944 function isIdentityScale(d) { 23945 return d === void 0 || d === 1; 23946 } 23947 function hasScale({ scale: d, scaleX: o, scaleY: h }) { 23948 return !isIdentityScale(d) || !isIdentityScale(o) || !isIdentityScale(h); 23949 } 23950 function hasTransform(d) { 23951 return hasScale(d) || has2DTranslate(d) || d.z || d.rotate || d.rotateX || d.rotateY || d.skewX || d.skewY; 23952 } 23953 function has2DTranslate(d) { 23954 return is2DTranslate(d.x) || is2DTranslate(d.y); 23955 } 23956 function is2DTranslate(d) { 23957 return d && d !== "0%"; 23958 } 23959 function scalePoint(d, o, h) { 23960 const g = d - h, b = o * g; 23961 return h + b; 23962 } 23963 function applyPointDelta(d, o, h, g, b) { 23964 return b !== void 0 && (d = scalePoint(d, b, g)), scalePoint(d, h, g) + o; 23965 } 23966 function applyAxisDelta(d, o = 0, h = 1, g, b) { 23967 d.min = applyPointDelta(d.min, o, h, g, b), d.max = applyPointDelta(d.max, o, h, g, b); 23968 } 23969 function applyBoxDelta(d, { x: o, y: h }) { 23970 applyAxisDelta(d.x, o.translate, o.scale, o.originPoint), applyAxisDelta(d.y, h.translate, h.scale, h.originPoint); 23971 } 23972 const TREE_SCALE_SNAP_MIN = 0.999999999999, TREE_SCALE_SNAP_MAX = 1.0000000000001; 23973 function applyTreeDeltas(d, o, h, g = false) { 23974 const b = h.length; 23975 if (!b) return; 23976 o.x = o.y = 1; 23977 let $, _e; 23978 for (let et = 0; et < b; et++) { 23979 $ = h[et], _e = $.projectionDelta; 23980 const { visualElement: tt } = $.options; 23981 tt && tt.props.style && tt.props.style.display === "contents" || (g && $.options.layoutScroll && $.scroll && $ !== $.root && transformBox(d, { 23982 x: -$.scroll.offset.x, 23983 y: -$.scroll.offset.y 23984 }), _e && (o.x *= _e.x.scale, o.y *= _e.y.scale, applyBoxDelta(d, _e)), g && hasTransform($.latestValues) && transformBox(d, $.latestValues)); 23985 } 23986 o.x < TREE_SCALE_SNAP_MAX && o.x >
23986 TREE_SCALE_SNAP_MIN && (o.x = 1), o.y < TREE_SCALE_SNAP_MAX && o.y > TREE_SCALE_SNAP_MIN && (o.y = 1); 23987 } 23988 function translateAxis(d, o) { 23989 d.min = d.min + o, d.max = d.max + o; 23990 } 23991 function transformAxis(d, o, h, g, b = 0.5) { 23992 const $ = mixNumber$1(d.min, d.max, b); 23993 applyAxisDelta(d, o, h, $, g); 23994 } 23995 function transformBox(d, o) { 23996 transformAxis(d.x, o.x, o.scaleX, o.scale, o.originX), transformAxis(d.y, o.y, o.scaleY, o.scale, o.originY); 23997 } 23998 function measureViewportBox(d, o) { 23999 return convertBoundingBoxToBox(transformBoxPoints(d.getBoundingClientRect(), o)); 24000 } 24001 function measurePageBox(d, o, h) { 24002 const g = measureViewportBox(d, h), { scroll: b } = o; 24003 return b && (translateAxis(g.x, b.offset.x), translateAxis(g.y, b.offset.y)), g; 24004 } 24005 const createAxisDelta = () => ({ 24006 translate: 0, 24007 scale: 1, 24008 origin: 0, 24009 originPoint: 0 24010 }), createDelta = () => ({ 24011 x: createAxisDelta(), 24012 y: createAxisDelta() 24013 }), createAxis = () => ({ 24014 min: 0, 24015 max: 0 24016 }), createBox = () => ({ 24017 x: createAxis(), 24018 y: createAxis() 24019 }), prefersReducedMotion = { 24020 current: null 24021 }, hasReducedMotionListener = { 24022 current: false 24023 }; 24024 function initPrefersReducedMotion() { 24025 if (hasReducedMotionListener.current = true, !!isBrowser) if (window.matchMedia) { 24026 const d = window.matchMedia("(prefers-reduced-motion)"), o = () => prefersReducedMotion.current = d.matches; 24027 d.addEventListener("change", o), o(); 24028 } else prefersReducedMotion.current = false; 24029 } 24030 const visualElementStore = /* @__PURE__ */ new WeakMap(); 24031 function updateMotionValuesFromProps(d, o, h) { 24032 for (const g in o) { 24033 const b = o[g], $ = h[g]; 24034 if (isMotionValue(b)) d.addValue(g, b); 24035 else if (isMotionValue($)) d.addValue(g, motionValue(b, { 24036 owner: d 24037 })); 24038 else if ($ !== b) if (d.hasValue(g)) { 24039 const _e = d.getValue(g); 24040 _e.liveStyle === true ? _e.jump(b) : _e.hasAnimated || _e.set(b); 24041 } else { 24042 const _e = d.getStaticValue(g); 24043 d.addValue(g, motionValue(_e !== void 0 ? _e : b, { 24044 owner: d 24045 })); 24046 } 24047 } 24048 for (const g in h) o[g] === void 0 && d.removeValue(g); 24049 return o; 24050 } 24051 const propEventHandlers = [ 24052 "AnimationStart", 24053 "AnimationComplete", 24054 "Update", 24055 "BeforeLayoutMeasure", 24056 "LayoutMeasure", 24057 "LayoutAnimationStart", 24058 "LayoutAnimationComplete" 24059 ]; 24060 class VisualElement { 24061 scrapeMotionValuesFromProps(o, h, g) { 24062 return {}; 24063 } 24064 constructor({ parent: o, props: h, presenceContext: g, reducedMotionConfig: b, blockInitialAnimation: $, visualState: _e }, et = {}) { 24065 this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = false, this.isControllingVariants = false, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = KeyframeResolver, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => { 24066 this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection)); 24067 }, this.renderScheduledAt = 0, this.scheduleRender = () => { 24068 const ot = time.now(); 24069 this.renderScheduledAt < ot && (this.renderScheduledAt = ot, frame.render(this.render, false, true)); 24070 }; 24071 const { latestValues: tt, renderState: rt } = _e; 24072 this.latestValues = tt, this.baseTarget = { 24073 ...tt 24074 }, this.initialValues = h.initial ? { 24075 ...tt 24076 } : {}, this.renderState = rt, this.parent = o, this.props = h, this.presenceContext = g, this.depth = o ? o.depth + 1 : 0, this.reducedMotionConfig = b, this.options = et, this.blockInitialAnimation = !!$, this.isControllingVariants = isControllingVariants(h), this.isVariantNode = isVariantNode(h), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(o && o.current); 24077 const { willChange: nt, ...st } = this.scrapeMotionValuesFromProps(h, {}, this); 24078 for (const ot in st) { 24079 const it = st[ot]; 24080 tt[ot] !== void 0 && isMotionValue(it) && it.set(tt[ot], false); 24081 } 24082 } 24083 mount(o) { 24084 this.current = o, visualElementStore.set(o, this), this.projection && !this.projection.instance && this.projection.mount(o), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEac
vendor: 8,151 bytes, lines 24084-24269
24084h((h, g) => this.bindToMotionValue(g, h)), hasReducedMotionListener.current || initPrefersReducedMotion(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? false : this.reducedMotionConfig === "always" ? true : prefersReducedMotion.current, this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext); 24085 } 24086 unmount() { 24087 this.projection && this.projection.unmount(), cancelFrame(this.notifyUpdate), cancelFrame(this.render), this.valueSubscriptions.forEach((o) => o()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this); 24088 for (const o in this.events) this.events[o].clear(); 24089 for (const o in this.features) { 24090 const h = this.features[o]; 24091 h && (h.unmount(), h.isMounted = false); 24092 } 24093 this.current = null; 24094 } 24095 bindToMotionValue(o, h) { 24096 this.valueSubscriptions.has(o) && this.valueSubscriptions.get(o)(); 24097 const g = transformProps.has(o); 24098 g && this.onBindTransform && this.onBindTransform(); 24099 const b = h.on("change", (et) => { 24100 this.latestValues[o] = et, this.props.onUpdate && frame.preRender(this.notifyUpdate), g && this.projection && (this.projection.isTransformDirty = true); 24101 }), $ = h.on("renderRequest", this.scheduleRender); 24102 let _e; 24103 window.MotionCheckAppearSync && (_e = window.MotionCheckAppearSync(this, o, h)), this.valueSubscriptions.set(o, () => { 24104 b(), $(), _e && _e(), h.owner && h.stop(); 24105 }); 24106 } 24107 sortNodePosition(o) { 24108 return !this.current || !this.sortInstanceNodePosition || this.type !== o.type ? 0 : this.sortInstanceNodePosition(this.current, o.current); 24109 } 24110 updateFeatures() { 24111 let o = "animation"; 24112 for (o in featureDefinitions) { 24113 const h = featureDefinitions[o]; 24114 if (!h) continue; 24115 const { isEnabled: g, Feature: b } = h; 24116 if (!this.features[o] && b && g(this.props) && (this.features[o] = new b(this)), this.features[o]) { 24117 const $ = this.features[o]; 24118 $.isMounted ? $.update() : ($.mount(), $.isMounted = true); 24119 } 24120 } 24121 } 24122 triggerBuild() { 24123 this.build(this.renderState, this.latestValues, this.props); 24124 } 24125 measureViewportBox() { 24126 return this.current ? this.measureInstanceViewportBox(this.current, this.props) : createBox(); 24127 } 24128 getStaticValue(o) { 24129 return this.latestValues[o]; 24130 } 24131 setStaticValue(o, h) { 24132 this.latestValues[o] = h; 24133 } 24134 update(o, h) { 24135 (o.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = o, this.prevPresenceContext = this.presenceContext, this.presenceContext = h; 24136 for (let g = 0; g < propEventHandlers.length; g++) { 24137 const b = propEventHandlers[g]; 24138 this.propEventSubscriptions[b] && (this.propEventSubscriptions[b](), delete this.propEventSubscriptions[b]); 24139 const $ = "on" + b, _e = o[$]; 24140 _e && (this.propEventSubscriptions[b] = this.on(b, _e)); 24141 } 24142 this.prevMotionValues = updateMotionValuesFromProps(this, this.scrapeMotionValuesFromProps(o, this.prevProps, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue(); 24143 } 24144 getProps() { 24145 return this.props; 24146 } 24147 getVariant(o) { 24148 return this.props.variants ? this.props.variants[o] : void 0; 24149 } 24150 getDefaultTransition() { 24151 return this.props.transition; 24152 } 24153 getTransformPagePoint() { 24154 return this.props.transformPagePoint; 24155 } 24156 getClosestVariantNode() { 24157 return this.isVariantNode ? this : this.parent ? this.parent.getClosestVariantNode() : void 0; 24158 } 24159 addVariantChild(o) { 24160 const h = this.getClosestVariantNode(); 24161 if (h) return h.variantChildren && h.variantChildren.add(o), () => h.variantChildren.delete(o); 24162 } 24163 addValue(o, h) { 24164 const g = this.values.get(o); 24165 h !== g && (g && this.removeValue(o), this.bindToMotionValue(o, h), this.values.set(o, h), this.latestValues[o] = h.get()); 24166 } 24167 removeValue(o) { 24168 this.values.delete(o); 24169 const h = this.valueSubscriptions.get(o); 24170 h && (h(), this.valueSubscriptions.delete(o)), delete this.latestValues[o], this.removeValueFromRenderState(o, this.renderState); 24171 } 24172 hasValue(o) { 24173 return this.values.has(o); 24174 } 24175 getValue(o, h) { 24176 if (this.props.values && this.props.values[o]) return this.props.values[o]; 24177 let g = this.values.get(o); 24178 return g === void 0 && h !== void 0 && (g = motionValue(h === null ? void 0 : h, { 24179 owner: this 24180 }), this.addValue(o, g)), g; 24181 } 24182 readValue(o, h) { 24183 var _a; 24184 let g = this.latestValues[o] !== void 0 || !this.current ? this.latestValues[o] : (_a = this.getBaseTargetFromProps(this.props, o)) != null ? _a : this.readValueFromInstance(this.current, o, this.options); 24185 return g != null && (typeof g == "string" && (isNumericalString(g) || isZeroValueString(g)) ? g = parseFloat(g) : !findValueType(g) && complex.test(h) && (g = getAnimatableNone(o, h)), this.setBaseTarget(o, isMotionValue(g) ? g.get() : g)), isMotionValue(g) ? g.get() : g; 24186 } 24187 setBaseTarget(o, h) { 24188 this.baseTarget[o] = h; 24189 } 24190 getBaseTarget(o) { 24191 var _a; 24192 const { initial: h } = this.props; 24193 let g; 24194 if (typeof h == "string" || typeof h == "object") { 24195 const $ = resolveVariantFromProps(this.props, h, (_a = this.presenceContext) == null ? void 0 : _a.custom); 24196 $ && (g = $[o]); 24197 } 24198 if (h && g !== void 0) return g; 24199 const b = this.getBaseTargetFromProps(this.props, o); 24200 return b !== void 0 && !isMotionValue(b) ? b : this.initialValues[o] !== void 0 && g === void 0 ? void 0 : this.baseTarget[o]; 24201 } 24202 on(o, h) { 24203 return this.events[o] || (this.events[o] = new SubscriptionManager()), this.events[o].add(h); 24204 } 24205 notify(o, ...h) { 24206 this.events[o] && this.events[o].notify(...h); 24207 } 24208 scheduleRenderMicrotask() { 24209 microtask.render(this.render); 24210 } 24211 } 24212 class DOMVisualElement extends VisualElement { 24213 constructor() { 24214 super(...arguments), this.KeyframeResolver = DOMKeyframesResolver; 24215 } 24216 sortInstanceNodePosition(o, h) { 24217 return o.compareDocumentPosition(h) & 2 ? 1 : -1; 24218 } 24219 getBaseTargetFromProps(o, h) { 24220 return o.style ? o.style[h] : void 0; 24221 } 24222 removeValueFromRenderState(o, { vars: h, style: g }) { 24223 delete h[o], delete g[o]; 24224 } 24225 handleChildMotionValue() { 24226 this.childSubscription && (this.childSubscription(), delete this.childSubscription); 24227 const { children: o } = this.props; 24228 isMotionValue(o) && (this.childSubscription = o.on("change", (h) => { 24229 this.current && (this.current.textContent = "".concat(h)); 24230 })); 24231 } 24232 } 24233 function renderHTML(d, { style: o, vars: h }, g, b) { 24234 const $ = d.style; 24235 let _e; 24236 for (_e in o) $[_e] = o[_e]; 24237 b == null ? void 0 : b.applyProjectionStyles($, g); 24238 for (_e in h) $.setProperty(_e, h[_e]); 24239 } 24240 function getComputedStyle$1(d) { 24241 return window.getComputedStyle(d); 24242 } 24243 class HTMLVisualElement extends DOMVisualElement { 24244 constructor() { 24245 super(...arguments), this.type = "html", this.renderInstance = renderHTML; 24246 } 24247 readValueFromInstance(o, h) { 24248 var _a; 24249 if (transformProps.has(h)) return ((_a = this.projection) == null ? void 0 : _a.isProjecting) ? defaultTransformValue(h) : readTransformValue(o, h); 24250 { 24251 const g = getComputedStyle$1(o), b = (isCSSVariableName(h) ? g.getPropertyValue(h) : g[h]) || 0; 24252 return typeof b == "string" ? b.trim() : b; 24253 } 24254 } 24255 measureInstanceViewportBox(o, { transformPagePoint: h }) { 24256 return measureViewportBox(o, h); 24257 } 24258 build(o, h, g) { 24259 buildHTMLStyles(o, h, g.transformTemplate); 24260 } 24261 scrapeMotionValuesFromProps(o, h, g) { 24262 return scrapeMotionValuesFromProps$1(o, h, g); 24263 } 24264 } 24265 const camelCaseAttributes = /* @__PURE__ */ new Set([ 24266 "baseFrequency", 24267 "diffuseConstant", 24268 "kernelMatrix", 24269 "kernelUnitLength",
vendor: 4,785 bytes, lines 24270-24416
24270 "keySplines", 24271 "keyTimes", 24272 "limitingConeAngle", 24273 "markerHeight", 24274 "markerWidth", 24275 "numOctaves", 24276 "targetX", 24277 "targetY", 24278 "surfaceScale", 24279 "specularConstant", 24280 "specularExponent", 24281 "stdDeviation", 24282 "tableValues", 24283 "viewBox", 24284 "gradientTransform", 24285 "pathLength", 24286 "startOffset", 24287 "textLength", 24288 "lengthAdjust" 24289 ]); 24290 function renderSVG(d, o, h, g) { 24291 renderHTML(d, o, void 0, g); 24292 for (const b in o.attrs) d.setAttribute(camelCaseAttributes.has(b) ? b : camelToDash(b), o.attrs[b]); 24293 } 24294 class SVGVisualElement extends DOMVisualElement { 24295 constructor() { 24296 super(...arguments), this.type = "svg", this.isSVGTag = false, this.measureInstanceViewportBox = createBox; 24297 } 24298 getBaseTargetFromProps(o, h) { 24299 return o[h]; 24300 } 24301 readValueFromInstance(o, h) { 24302 if (transformProps.has(h)) { 24303 const g = getDefaultValueType(h); 24304 return g && g.default || 0; 24305 } 24306 return h = camelCaseAttributes.has(h) ? h : camelToDash(h), o.getAttribute(h); 24307 } 24308 scrapeMotionValuesFromProps(o, h, g) { 24309 return scrapeMotionValuesFromProps(o, h, g); 24310 } 24311 build(o, h, g) { 24312 buildSVGAttrs(o, h, this.isSVGTag, g.transformTemplate, g.style); 24313 } 24314 renderInstance(o, h, g, b) { 24315 renderSVG(o, h, g, b); 24316 } 24317 mount(o) { 24318 this.isSVGTag = isSVGTag(o.tagName), super.mount(o); 24319 } 24320 } 24321 const createDomVisualElement = (d, o) => isSVGComponent(d) ? new SVGVisualElement(o) : new HTMLVisualElement(o, { 24322 allowProjection: d !== reactExports.Fragment 24323 }); 24324 function resolveVariant(d, o, h) { 24325 const g = d.getProps(); 24326 return resolveVariantFromProps(g, o, h !== void 0 ? h : g.custom, d); 24327 } 24328 const isKeyframesTarget = (d) => Array.isArray(d); 24329 function setMotionValue(d, o, h) { 24330 d.hasValue(o) ? d.getValue(o).set(h) : d.addValue(o, motionValue(h)); 24331 } 24332 function resolveFinalValueInKeyframes(d) { 24333 return isKeyframesTarget(d) ? d[d.length - 1] || 0 : d; 24334 } 24335 function setTarget(d, o) { 24336 const h = resolveVariant(d, o); 24337 let { transitionEnd: g = {}, transition: b = {}, ...$ } = h || {}; 24338 $ = { 24339 ...$, 24340 ...g 24341 }; 24342 for (const _e in $) { 24343 const et = resolveFinalValueInKeyframes($[_e]); 24344 setMotionValue(d, _e, et); 24345 } 24346 } 24347 function isWillChangeMotionValue(d) { 24348 return !!(isMotionValue(d) && d.add); 24349 } 24350 function addValueToWillChange(d, o) { 24351 const h = d.getValue("willChange"); 24352 if (isWillChangeMotionValue(h)) return h.add(o); 24353 if (!h && MotionGlobalConfig.WillChange) { 24354 const g = new MotionGlobalConfig.WillChange("auto"); 24355 d.addValue("willChange", g), g.add(o); 24356 } 24357 } 24358 function getOptimisedAppearId(d) { 24359 return d.props[optimizedAppearDataAttribute]; 24360 } 24361 const isNotNull = (d) => d !== null; 24362 function getFinalKeyframe(d, { repeat: o, repeatType: h = "loop" }, g) { 24363 const b = d.filter(isNotNull), $ = o && h !== "loop" && o % 2 === 1 ? 0 : b.length - 1; 24364 return b[$]; 24365 } 24366 const underDampedSpring = { 24367 type: "spring", 24368 stiffness: 500, 24369 damping: 25, 24370 restSpeed: 10 24371 }, criticallyDampedSpring = (d) => ({ 24372 type: "spring", 24373 stiffness: 550, 24374 damping: d === 0 ? 2 * Math.sqrt(550) : 30, 24375 restSpeed: 10 24376 }), keyframesTransition = { 24377 type: "keyframes", 24378 duration: 0.8 24379 }, ease = { 24380 type: "keyframes", 24381 ease: [ 24382 0.25, 24383 0.1, 24384 0.35, 24385 1 24386 ], 24387 duration: 0.3 24388 }, getDefaultTransition = (d, { keyframes: o }) => o.length > 2 ? keyframesTransition : transformProps.has(d) ? d.startsWith("scale") ? criticallyDampedSpring(o[1]) : underDampedSpring : ease; 24389 function isTransitionDefined({ when: d, delay: o, delayChildren: h, staggerChildren: g, staggerDirection: b, repeat: $, repeatType: _e, repeatDelay: et, from: tt, elapsed: rt, ...nt }) { 24390 return !!Object.keys(nt).length; 24391 } 24392 const animateMotionValue = (d, o, h, g = {}, b, $) => (_e) => { 24393 const et = getValueTransition(g, d) || {}, tt = et.delay || g.delay || 0; 24394 let { elapsed: rt = 0 } = g; 24395 rt = rt - secondsToMilliseconds(tt); 24396 const nt = { 24397 keyframes: Array.isArray(h) ? h : [ 24398 null, 24399 h 24400 ], 24401 ease: "easeOut", 24402 velocity: o.getVelocity(), 24403 ...et, 24404 delay: -rt, 24405 onUpdate: (ot) => { 24406 o.set(ot), et.onUpdate && et.onUpdate(ot); 24407 }, 24408 onComplete: () => { 24409 _e(), et.onComplete && et.onComplete(); 24410 }, 24411 name: d, 24412 motionValue: o, 24413 element: $ ? void 0 : b 24414 }; 24415 isTransitionDefined(et) || Object.assign(nt, getDefaultTransition(d, nt)), nt.duration && (nt.duration = secondsToMilliseconds(nt.duration)), nt.repeatDelay && (nt.repeatDelay = secondsToMilliseconds(nt.repeatDelay)), nt.from !== void 0 && (nt.keyframes[0] = nt.from); 24416 let st = false;
24417 if ((nt.type === false || nt.duration === 0 && !nt.repeatDelay) && (nt.duration = 0, nt.delay === 0 && (st = true)), (MotionGlobalConfig.instantAnimations || MotionGlobalConfig.skipAnimations) && (st = true, nt.duration = 0, nt.delay = 0), nt.allowFlatten = !et.type && !et.ease, st && !$ && o.get() !== void 0) { 24418 const ot = getFinalKeyframe(nt.keyframes, et); 24419 if (ot !== void 0) { 24420 frame.update(() => { 24421 nt.onUpdate(ot), nt.onComplete(); 24422 }); 24423 return; 24424 } 24425 } 24426 return et.isSync ? new JSAnimation(nt) : new AsyncMotionValueAnimation(nt); 24427 }; 24428 function shouldBlockAnimation({ protectedKeys: d, needsAnimating: o }, h) { 24429 const g = d.hasOwnProperty(h) && o[h] !== true; 24430 return o[h] = false, g; 24431 } 24432 function animateTarget(d, o, { delay: h = 0, transitionOverride: g, type: b } = {}) { 24433 var _a; 24434 let { transition: $ = d.getDefaultTransition(), transitionEnd: _e, ...et } = o; 24435 g && ($ = g); 24436 const tt = [], rt = b && d.animationState && d.animationState.getState()[b]; 24437 for (const nt in et) { 24438 const st = d.getValue(nt, (_a = d.latestValues[nt]) != null ? _a : null), ot = et[nt]; 24439 if (ot === void 0 || rt && shouldBlockAnimation(rt, nt)) continue; 24440 const it = { 24441 delay: h, 24442 ...getValueTransition($ || {}, nt) 24443 }, at = st.get(); 24444 if (at !== void 0 && !st.isAnimating && !Array.isArray(ot) && ot === at && !it.velocity) continue; 24445 let lt = false; 24446 if (window.MotionHandoffAnimation) { 24447 const ut = getOptimisedAppearId(d); 24448 if (ut) { 24449 const ft = window.MotionHandoffAnimation(ut, nt, frame); 24450 ft !== null && (it.startTime = ft, lt = true); 24451 } 24452 } 24453 addValueToWillChange(d, nt), st.start(animateMotionValue(nt, st, ot, d.shouldReduceMotion && positionalKeys.has(nt) ? { 24454 type: false 24455 } : it, d, lt)); 24456 const ct = st.animation; 24457 ct && tt.push(ct); 24458 } 24459 return _e && Promise.all(tt).then(() => { 24460 frame.update(() => { 24461 _e && setTarget(d, _e); 24462 }); 24463 }), tt; 24464 } 24465 function animateVariant(d, o, h = {}) { 24466 var _a; 24467 const g = resolveVariant(d, o, h.type === "exit" ? (_a = d.presenceContext) == null ? void 0 : _a.custom : void 0); 24468 let { transition: b = d.getDefaultTransition() || {} } = g || {}; 24469 h.transitionOverride && (b = h.transitionOverride); 24470 const $ = g ? () => Promise.all(animateTarget(d, g, h)) : () => Promise.resolve(), _e = d.variantChildren && d.variantChildren.size ? (tt = 0) => { 24471 const { delayChildren: rt = 0, staggerChildren: nt, staggerDirection: st } = b; 24472 return animateChildren(d, o, tt, rt, nt, st, h); 24473 } : () => Promise.resolve(), { when: et } = b; 24474 if (et) { 24475 const [tt, rt] = et === "beforeChildren" ? [ 24476 $, 24477 _e 24478 ] : [ 24479 _e, 24480 $ 24481 ]; 24482 return tt().then(() => rt()); 24483 } else return Promise.all([ 24484 $(), 24485 _e(h.delay) 24486 ]); 24487 } 24488 function animateChildren(d, o, h = 0, g = 0, b = 0, $ = 1, _e) { 24489 const et = [], tt = d.variantChildren.size, rt = (tt - 1) * b, nt = typeof g == "function", st = nt ? (ot) => g(ot, tt) : $ === 1 ? (ot = 0) => ot * b : (ot = 0) => rt - ot * b; 24490 return Array.from(d.variantChildren).sort(sortByTreeOrder).forEach((ot, it) => { 24491 ot.notify("AnimationStart", o), et.push(animateVariant(ot, o, { 24492 ..._e, 24493 delay: h + (nt ? 0 : g) + st(it) 24494 }).then(() => ot.notify("AnimationComplete", o))); 24495 }), Promise.all(et); 24496 } 24497 function sortByTreeOrder(d, o) { 24498 return d.sortNodePosition(o); 24499 } 24500 function animateVisualElement(d, o, h = {}) { 24501 d.notify("AnimationStart", o); 24502 let g; 24503 if (Array.isArray(o)) { 24504 const b = o.map(($) => animateVariant(d, $, h)); 24505 g = Promise.all(b); 24506 } else if (typeof o == "string") g = animateVariant(d, o, h); 24507 else { 24508 const b = typeof o == "function" ? resolveVariant(d, o, h.custom) : o; 24509 g = Promise.all(animateTarget(d, b, h)); 24510 } 24511 return g.then(() => { 24512 d.notify("AnimationComplete", o); 24513 }); 24514 } 24515 function shallowCompare(d, o) { 24516 if (!Array.isArray(o)) return false;
24517 const h = o.length; 24518 if (h !== d.length) return false; 24519 for (let g = 0; g < h; g++) if (o[g] !== d[g]) return false; 24520 return true; 24521 } 24522 const numVariantProps = variantProps.length; 24523 function getVariantContext(d) { 24524 if (!d) return; 24525 if (!d.isControllingVariants) { 24526 const h = d.parent ? getVariantContext(d.parent) || {} : {}; 24527 return d.props.initial !== void 0 && (h.initial = d.props.initial), h; 24528 } 24529 const o = {}; 24530 for (let h = 0; h < numVariantProps; h++) { 24531 const g = variantProps[h], b = d.props[g]; 24532 (isVariantLabel(b) || b === false) && (o[g] = b); 24533 } 24534 return o; 24535 } 24536 const reversePriorityOrder = [ 24537 ...variantPriorityOrder 24538 ].reverse(), numAnimationTypes = variantPriorityOrder.length; 24539 function animateList(d) { 24540 return (o) => Promise.all(o.map(({ animation: h, options: g }) => animateVisualElement(d, h, g))); 24541 } 24542 function createAnimationState(d) { 24543 let o = animateList(d), h = createState(), g = true; 24544 const b = (tt) => (rt, nt) => { 24545 var _a; 24546 const st = resolveVariant(d, nt, tt === "exit" ? (_a = d.presenceContext) == null ? void 0 : _a.custom : void 0); 24547 if (st) { 24548 const { transition: ot, transitionEnd: it, ...at } = st; 24549 rt = { 24550 ...rt, 24551 ...at, 24552 ...it 24553 }; 24554 } 24555 return rt; 24556 }; 24557 function $(tt) { 24558 o = tt(d); 24559 } 24560 function _e(tt) { 24561 const { props: rt } = d, nt = getVariantContext(d.parent) || {}, st = [], ot = /* @__PURE__ */ new Set(); 24562 let it = {}, at = 1 / 0; 24563 for (let ct = 0; ct < numAnimationTypes; ct++) { 24564 const ut = reversePriorityOrder[ct], ft = h[ut], dt = rt[ut] !== void 0 ? rt[ut] : nt[ut], pt = isVariantLabel(dt), ht = ut === tt ? ft.isActive : null; 24565 ht === false && (at = ct); 24566 let mt = dt === nt[ut] && dt !== rt[ut] && pt; 24567 if (mt && g && d.manuallyAnimateOnMount && (mt = false), ft.protectedKeys = { 24568 ...it 24569 }, !ft.isActive && ht === null || !dt && !ft.prevProp || isAnimationControls(dt) || typeof dt == "boolean") continue; 24570 const gt = checkVariantsDidChange(ft.prevProp, dt); 24571 let yt = gt || ut === tt && ft.isActive && !mt && pt || ct > at && pt, xt = false; 24572 const _t = Array.isArray(dt) ? dt : [ 24573 dt 24574 ]; 24575 let St = _t.reduce(b(ut), {}); 24576 ht === false && (St = {}); 24577 const { prevResolvedValues: kt = {} } = ft, Rt = { 24578 ...kt, 24579 ...St 24580 }, Tt = (Ot) => { 24581 yt = true, ot.has(Ot) && (xt = true, ot.delete(Ot)), ft.needsAnimating[Ot] = true; 24582 const Mt = d.getValue(Ot); 24583 Mt && (Mt.liveStyle = false); 24584 }; 24585 for (const Ot in Rt) { 24586 const Mt = St[Ot], Vt = kt[Ot]; 24587 if (it.hasOwnProperty(Ot)) continue; 24588 let Et = false; 24589 isKeyframesTarget(Mt) && isKeyframesTarget(Vt) ? Et = !shallowCompare(Mt, Vt) : Et = Mt !== Vt, Et ? Mt != null ? Tt(Ot) : ot.add(Ot) : Mt !== void 0 && ot.has(Ot) ? Tt(Ot) : ft.protectedKeys[Ot] = true; 24590 } 24591 ft.prevProp = dt, ft.prevResolvedValues = St, ft.isActive && (it = { 24592 ...it, 24593 ...St 24594 }), g && d.blockInitialAnimation && (yt = false), yt && (!(mt && gt) || xt) && st.push(..._t.map((Ot) => ({ 24595 animation: Ot, 24596 options: { 24597 type: ut 24598 } 24599 }))); 24600 } 24601 if (ot.size) { 24602 const ct = {}; 24603 if (typeof rt.initial != "boolean") { 24604 const ut = resolveVariant(d, Array.isArray(rt.initial) ? rt.initial[0] : rt.initial); 24605 ut && ut.transition && (ct.transition = ut.transition); 24606 } 24607 ot.forEach((ut) => { 24608 const ft = d.getBaseTarget(ut), dt = d.getValue(ut); 24609 dt && (dt.liveStyle = true), ct[ut] = ft != null ? ft : null; 24610 }), st.push({ 24611 animation: ct 24612 }); 24613 } 24614 let lt = !!st.length; 24615 return g && (rt.initial === false || rt.initial === rt.animate) && !d.manuallyAnimateOnMount && (lt = false), g = false, lt ? o(st) : Promise.resolve(); 24616 } 24617 function et(tt, rt) { 24618 var _a; 24619 if (h[tt].isActive === rt) return Promise.resolve(); 24620 (_a = d.variantChildren) == null ? void 0 : _a.forEach((st) => { 24621 var _a2; 24622 return (_a2 = st.animationState) == null ? void 0 : _a2.setActive(tt, rt); 24623 }), h[tt].isActive = rt; 24624 const nt = _e(tt); 24625 for (const st in h) h[st].protectedKeys = {}; 24626 return nt; 24627 } 24628 return { 24629 animateChanges: _e,
24630 setActive: et, 24631 setAnimateFunction: $, 24632 getState: () => h, 24633 reset: () => { 24634 h = createState(), g = true; 24635 } 24636 }; 24637 } 24638 function checkVariantsDidChange(d, o) { 24639 return typeof o == "string" ? o !== d : Array.isArray(o) ? !shallowCompare(o, d) : false; 24640 } 24641 function createTypeState(d = false) { 24642 return { 24643 isActive: d, 24644 protectedKeys: {}, 24645 needsAnimating: {}, 24646 prevResolvedValues: {} 24647 }; 24648 } 24649 function createState() { 24650 return { 24651 animate: createTypeState(true), 24652 whileInView: createTypeState(), 24653 whileHover: createTypeState(), 24654 whileTap: createTypeState(), 24655 whileDrag: createTypeState(), 24656 whileFocus: createTypeState(), 24657 exit: createTypeState() 24658 }; 24659 } 24660 let Feature$1 = class { 24661 constructor(o) { 24662 this.isMounted = false, this.node = o; 24663 } 24664 update() { 24665 } 24666 }; 24667 class AnimationFeature extends Feature$1 { 24668 constructor(o) { 24669 super(o), o.animationState || (o.animationState = createAnimationState(o)); 24670 } 24671 updateAnimationControlsSubscription() { 24672 const { animate: o } = this.node.getProps(); 24673 isAnimationControls(o) && (this.unmountControls = o.subscribe(this.node)); 24674 } 24675 mount() { 24676 this.updateAnimationControlsSubscription(); 24677 } 24678 update() { 24679 const { animate: o } = this.node.getProps(), { animate: h } = this.node.prevProps || {}; 24680 o !== h && this.updateAnimationControlsSubscription(); 24681 } 24682 unmount() { 24683 var _a; 24684 this.node.animationState.reset(), (_a = this.unmountControls) == null ? void 0 : _a.call(this); 24685 } 24686 } 24687 let id$1 = 0; 24688 class ExitAnimationFeature extends Feature$1 { 24689 constructor() { 24690 super(...arguments), this.id = id$1++; 24691 } 24692 update() { 24693 if (!this.node.presenceContext) return; 24694 const { isPresent: o, onExitComplete: h } = this.node.presenceContext, { isPresent: g } = this.node.prevPresenceContext || {}; 24695 if (!this.node.animationState || o === g) return; 24696 const b = this.node.animationState.setActive("exit", !o); 24697 h && !o && b.then(() => { 24698 h(this.id); 24699 }); 24700 } 24701 mount() { 24702 const { register: o, onExitComplete: h } = this.node.presenceContext || {}; 24703 h && h(this.id), o && (this.unmount = o(this.id)); 24704 } 24705 unmount() { 24706 } 24707 } 24708 const animations = { 24709 animation: { 24710 Feature: AnimationFeature 24711 }, 24712 exit: { 24713 Feature: ExitAnimationFeature 24714 } 24715 }; 24716 function addDomEvent(d, o, h, g = { 24717 passive: true 24718 }) { 24719 return d.addEventListener(o, h, g), () => d.removeEventListener(o, h); 24720 } 24721 function extractEventInfo(d) { 24722 return { 24723 point: { 24724 x: d.pageX, 24725 y: d.pageY 24726 } 24727 }; 24728 } 24729 const addPointerInfo = (d) => (o) => isPrimaryPointer(o) && d(o, extractEventInfo(o)); 24730 function addPointerEvent(d, o, h, g) { 24731 return addDomEvent(d, o, addPointerInfo(h), g); 24732 } 24733 const SCALE_PRECISION = 1e-4, SCALE_MIN = 1 - SCALE_PRECISION, SCALE_MAX = 1 + SCALE_PRECISION, TRANSLATE_PRECISION = 0.01, TRANSLATE_MIN = 0 - TRANSLATE_PRECISION, TRANSLATE_MAX = 0 + TRANSLATE_PRECISION; 24734 function calcLength(d) { 24735 return d.max - d.min; 24736 } 24737 function isNear(d, o, h) { 24738 return Math.abs(d - o) <= h; 24739 } 24740 function calcAxisDelta(d, o, h, g = 0.5) { 24741 d.origin = g, d.originPoint = mixNumber$1(o.min, o.max, d.origin), d.scale = calcLength(h) / calcLength(o), d.translate = mixNumber$1(h.min, h.max, d.origin) - d.originPoint, (d.scale >= SCALE_MIN && d.scale <= SCALE_MAX || isNaN(d.scale)) && (d.scale = 1), (d.translate >= TRANSLATE_MIN && d.translate <= TRANSLATE_MAX || isNaN(d.translate)) && (d.translate = 0); 24742 } 24743 function calcBoxDelta(d, o, h, g) { 24744 calcAxisDelta(d.x, o.x, h.x, g ? g.originX : void 0), calcAxisDelta(d.y, o.y, h.y, g ? g.originY : void 0); 24745 } 24746 function calcRelativeAxis(d, o, h) { 24747 d.min = h.min + o.min, d.max = d.min + calcLength(o); 24748 } 24749 function calcRelativeBox(d, o, h) { 24750 calcRelativeAxis(d.x, o.x, h.x), calcRelativeAxis(d.y, o.y, h.y); 24751 } 24752 function calcRelativeAxisPosition(d, o, h) { 24753 d.min = o.min - h.min, d.max = d.min + calcLength(o); 24754 } 24755 function calcRelativePosition(d, o, h) { 24756 calcRelativeAxisPosition(d.x, o.x, h.x), calcRelativeAxisPosition(d.y, o.y, h.y); 24757 } 24758 function eachAxis(d) { 24759 return [ 24760 d("x"), 24761 d("y") 24762 ]; 24763 } 24764 const getContextWindow = ({ current: d }) => d ? d.ownerDocument.defaultView : null, distance = (d, o) => Math.abs(d - o); 24765 function distance2D(d, o) { 24766 const h = distance(d.x, o.x), g = distance(d.y, o.y); 24767 return Math.sqrt(h ** 2 + g ** 2); 24768 } 24769 class PanSession { 24770 constructor(o, h, { transformPagePoint: g, contextWindow: b = window, dragSnapToOrigin: $ = false, distanceThreshold: _e = 3 } = {}) { 24771 if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => { 24772 if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return; 24773 const ot = getPanInfo(this.lastMoveEventInfo, this.history), it = this.startEvent !== null, at = distance2D(ot.offset, { 24774 x: 0, 24775 y: 0 24776 }) >= this.distanceThreshold; 24777 if (!it && !at) return; 24778 const { point: lt } = ot, { timestamp: ct } = frameData; 24779 this.history.push({ 24780 ...lt, 24781 timestamp: ct 24782 }); 24783 const { onStart: ut, onMove: ft } = this.handlers; 24784 it || (ut && ut(this.lastMoveEvent, ot), this.startEvent = this.lastMoveEvent), ft && ft(this.lastMoveEvent, ot); 24785 }, this.handlePointerMove = (ot, it) => { 24786 this.lastMoveEvent = ot, this.lastMoveEventInfo = transformPoint(it, this.transformPagePoint), frame.update(this.updatePoint, true); 24787 }, this.handlePointerUp = (ot, it) => { 24788 this.end(); 24789 const { onEnd: at, onSessionEnd: lt, resumeAnimation: ct } = this.handlers; 24790 if (this.dragSnapToOrigin && ct && ct(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return; 24791 const ut = getPanInfo(ot.type === "pointercancel" ? this.lastMoveEventInfo : transformPoint(it, this.transformPagePoint), this.history); 24792 this.startEvent && at && at(ot, ut), lt && lt(ot, ut); 24793 }, !isPrimaryPointer(o)) return; 24794 this.dragSnapToOrigin = $, this.handlers = h, this.transformPagePoint = g, this.distanceThreshold = _e, this.contextWindow = b || window; 24795 const et = extractEventInfo(o), tt = transformPoint(et, this.transformPagePoint), { point: rt } = tt, { timestamp: nt } = frameData; 24796 this.history = [ 24797 { 24798 ...rt, 24799 timestamp: nt 24800 } 24801 ]; 24802 const { onSessionStart: st } = h;
vendor: 11,278 bytes, lines 24803-25067
24803 st && st(o, getPanInfo(tt, this.history)), this.removeListeners = pipe(addPointerEvent(this.contextWindow, "pointermove", this.handlePointerMove), addPointerEvent(this.contextWindow, "pointerup", this.handlePointerUp), addPointerEvent(this.contextWindow, "pointercancel", this.handlePointerUp)); 24804 } 24805 updateHandlers(o) { 24806 this.handlers = o; 24807 } 24808 end() { 24809 this.removeListeners && this.removeListeners(), cancelFrame(this.updatePoint); 24810 } 24811 } 24812 function transformPoint(d, o) { 24813 return o ? { 24814 point: o(d.point) 24815 } : d; 24816 } 24817 function subtractPoint(d, o) { 24818 return { 24819 x: d.x - o.x, 24820 y: d.y - o.y 24821 }; 24822 } 24823 function getPanInfo({ point: d }, o) { 24824 return { 24825 point: d, 24826 delta: subtractPoint(d, lastDevicePoint(o)), 24827 offset: subtractPoint(d, startDevicePoint(o)), 24828 velocity: getVelocity(o, 0.1) 24829 }; 24830 } 24831 function startDevicePoint(d) { 24832 return d[0]; 24833 } 24834 function lastDevicePoint(d) { 24835 return d[d.length - 1]; 24836 } 24837 function getVelocity(d, o) { 24838 if (d.length < 2) return { 24839 x: 0, 24840 y: 0 24841 }; 24842 let h = d.length - 1, g = null; 24843 const b = lastDevicePoint(d); 24844 for (; h >= 0 && (g = d[h], !(b.timestamp - g.timestamp > secondsToMilliseconds(o))); ) h--; 24845 if (!g) return { 24846 x: 0, 24847 y: 0 24848 }; 24849 const $ = millisecondsToSeconds(b.timestamp - g.timestamp); 24850 if ($ === 0) return { 24851 x: 0, 24852 y: 0 24853 }; 24854 const _e = { 24855 x: (b.x - g.x) / $, 24856 y: (b.y - g.y) / $ 24857 }; 24858 return _e.x === 1 / 0 && (_e.x = 0), _e.y === 1 / 0 && (_e.y = 0), _e; 24859 } 24860 function applyConstraints(d, { min: o, max: h }, g) { 24861 return o !== void 0 && d < o ? d = g ? mixNumber$1(o, d, g.min) : Math.max(d, o) : h !== void 0 && d > h && (d = g ? mixNumber$1(h, d, g.max) : Math.min(d, h)), d; 24862 } 24863 function calcRelativeAxisConstraints(d, o, h) { 24864 return { 24865 min: o !== void 0 ? d.min + o : void 0, 24866 max: h !== void 0 ? d.max + h - (d.max - d.min) : void 0 24867 }; 24868 } 24869 function calcRelativeConstraints(d, { top: o, left: h, bottom: g, right: b }) { 24870 return { 24871 x: calcRelativeAxisConstraints(d.x, h, b), 24872 y: calcRelativeAxisConstraints(d.y, o, g) 24873 }; 24874 } 24875 function calcViewportAxisConstraints(d, o) { 24876 let h = o.min - d.min, g = o.max - d.max; 24877 return o.max - o.min < d.max - d.min && ([h, g] = [ 24878 g, 24879 h 24880 ]), { 24881 min: h, 24882 max: g 24883 }; 24884 } 24885 function calcViewportConstraints(d, o) { 24886 return { 24887 x: calcViewportAxisConstraints(d.x, o.x), 24888 y: calcViewportAxisConstraints(d.y, o.y) 24889 }; 24890 } 24891 function calcOrigin(d, o) { 24892 let h = 0.5; 24893 const g = calcLength(d), b = calcLength(o); 24894 return b > g ? h = progress(o.min, o.max - g, d.min) : g > b && (h = progress(d.min, d.max - b, o.min)), clamp(0, 1, h); 24895 } 24896 function rebaseAxisConstraints(d, o) { 24897 const h = {}; 24898 return o.min !== void 0 && (h.min = o.min - d.min), o.max !== void 0 && (h.max = o.max - d.min), h; 24899 } 24900 const defaultElastic = 0.35; 24901 function resolveDragElastic(d = defaultElastic) { 24902 return d === false ? d = 0 : d === true && (d = defaultElastic), { 24903 x: resolveAxisElastic(d, "left", "right"), 24904 y: resolveAxisElastic(d, "top", "bottom") 24905 }; 24906 } 24907 function resolveAxisElastic(d, o, h) { 24908 return { 24909 min: resolvePointElastic(d, o), 24910 max: resolvePointElastic(d, h) 24911 }; 24912 } 24913 function resolvePointElastic(d, o) { 24914 return typeof d == "number" ? d : d[o] || 0; 24915 } 24916 const elementDragControls = /* @__PURE__ */ new WeakMap(); 24917 class VisualElementDragControls { 24918 constructor(o) { 24919 this.openDragLock = null, this.isDragging = false, this.currentDirection = null, this.originPoint = { 24920 x: 0, 24921 y: 0 24922 }, this.constraints = false, this.hasMutatedConstraints = false, this.elastic = createBox(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = o; 24923 } 24924 start(o, { snapToCursor: h = false, distanceThreshold: g } = {}) { 24925 const { presenceContext: b } = this.visualElement; 24926 if (b && b.isPresent === false) return; 24927 const $ = (st) => { 24928 const { dragSnapToOrigin: ot } = this.getProps(); 24929 ot ? this.pauseAnimation() : this.stopAnimation(), h && this.snapToCursor(extractEventInfo(st).point); 24930 }, _e = (st, ot) => { 24931 const { drag: it, dragPropagation: at, onDragStart: lt } = this.getProps(); 24932 if (it && !at && (this.openDragLock && this.openDragLock(), this.openDragLock = setDragLock(it), !this.openDragLock)) return; 24933 this.latestPointerEvent = st, this.latestPanInfo = ot, this.isDragging = true, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = true, this.visualElement.projection.target = void 0), eachAxis((ut) => { 24934 let ft = this.getAxisMotionValue(ut).get() || 0; 24935 if (percent.test(ft)) { 24936 const { projection: dt } = this.visualElement; 24937 if (dt && dt.layout) { 24938 const pt = dt.layout.layoutBox[ut]; 24939 pt && (ft = calcLength(pt) * (parseFloat(ft) / 100)); 24940 } 24941 } 24942 this.originPoint[ut] = ft; 24943 }), lt && frame.postRender(() => lt(st, ot)), addValueToWillChange(this.visualElement, "transform"); 24944 const { animationState: ct } = this.visualElement; 24945 ct && ct.setActive("whileDrag", true); 24946 }, et = (st, ot) => { 24947 this.latestPointerEvent = st, this.latestPanInfo = ot; 24948 const { dragPropagation: it, dragDirectionLock: at, onDirectionLock: lt, onDrag: ct } = this.getProps(); 24949 if (!it && !this.openDragLock) return; 24950 const { offset: ut } = ot; 24951 if (at && this.currentDirection === null) { 24952 this.currentDirection = getCurrentDirection(ut), this.currentDirection !== null && lt && lt(this.currentDirection); 24953 return; 24954 } 24955 this.updateAxis("x", ot.point, ut), this.updateAxis("y", ot.point, ut), this.visualElement.render(), ct && ct(st, ot); 24956 }, tt = (st, ot) => { 24957 this.latestPointerEvent = st, this.latestPanInfo = ot, this.stop(st, ot), this.latestPointerEvent = null, this.latestPanInfo = null; 24958 }, rt = () => eachAxis((st) => { 24959 var _a; 24960 return this.getAnimationState(st) === "paused" && ((_a = this.getAxisMotionValue(st).animation) == null ? void 0 : _a.play()); 24961 }), { dragSnapToOrigin: nt } = this.getProps(); 24962 this.panSession = new PanSession(o, { 24963 onSessionStart: $, 24964 onStart: _e, 24965 onMove: et, 24966 onSessionEnd: tt, 24967 resumeAnimation: rt 24968 }, { 24969 transformPagePoint: this.visualElement.getTransformPagePoint(), 24970 dragSnapToOrigin: nt, 24971 distanceThreshold: g, 24972 contextWindow: getContextWindow(this.visualElement) 24973 }); 24974 } 24975 stop(o, h) { 24976 const g = o || this.latestPointerEvent, b = h || this.latestPanInfo, $ = this.isDragging; 24977 if (this.cancel(), !$ || !b || !g) return; 24978 const { velocity: _e } = b; 24979 this.startAnimation(_e); 24980 const { onDragEnd: et } = this.getProps(); 24981 et && frame.postRender(() => et(g, b)); 24982 } 24983 cancel() { 24984 this.isDragging = false; 24985 const { projection: o, animationState: h } = this.visualElement; 24986 o && (o.isAnimationBlocked = false), this.panSession && this.panSession.end(), this.panSession = void 0; 24987 const { dragPropagation: g } = this.getProps(); 24988 !g && this.openDragLock && (this.openDragLock(), this.openDragLock = null), h && h.setActive("whileDrag", false); 24989 } 24990 updateAxis(o, h, g) { 24991 const { drag: b } = this.getProps(); 24992 if (!g || !shouldDrag(o, b, this.currentDirection)) return; 24993 const $ = this.getAxisMotionValue(o); 24994 let _e = this.originPoint[o] + g[o]; 24995 this.constraints && this.constraints[o] && (_e = applyConstraints(_e, this.constraints[o], this.elastic[o])), $.set(_e); 24996 } 24997 resolveConstraints() { 24998 var _a; 24999 const { dragConstraints: o, dragElastic: h } = this.getProps(), g = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(false) : (_a = this.visualElement.projection) == null ? void 0 : _a.layout, b = this.constraints; 25000 o && isRefObject(o) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : o && g ? this.constraints = calcRelativeConstraints(g.layoutBox, o) : this.constraints = false, this.elastic = resolveDragElastic(h), b !== this.constraints && g && this.constraints && !this.hasMutatedConstraints && eachAxis(($) => { 25001 this.constraints !== false && this.getAxisMotionValue($) && (this.constraints[$] = rebaseAxisConstraints(g.layoutBox[$], this.constraints[$])); 25002 }); 25003 } 25004 resolveRefConstraints() { 25005 const { dragConstraints: o, onMeasureDragConstraints: h } = this.getProps(); 25006 if (!o || !isRefObject(o)) return false; 25007 const g = o.current, { projection: b } = this.visualElement; 25008 if (!b || !b.layout) return false; 25009 const $ = measurePageBox(g, b.root, this.visualElement.getTransformPagePoint()); 25010 let _e = calcViewportConstraints(b.layout.layoutBox, $); 25011 if (h) { 25012 const et = h(convertBoxToBoundingBox(_e)); 25013 this.hasMutatedConstraints = !!et, et && (_e = convertBoundingBoxToBox(et)); 25014 } 25015 return _e; 25016 } 25017 startAnimation(o) { 25018 const { drag: h, dragMomentum: g, dragElastic: b, dragTransition: $, dragSnapToOrigin: _e, onDragTransitionEnd: et } = this.getProps(), tt = this.constraints || {}, rt = eachAxis((nt) => { 25019 if (!shouldDrag(nt, h, this.currentDirection)) return; 25020 let st = tt && tt[nt] || {}; 25021 _e && (st = { 25022 min: 0, 25023 max: 0 25024 }); 25025 const ot = b ? 200 : 1e6, it = b ? 40 : 1e7, at = { 25026 type: "inertia", 25027 velocity: g ? o[nt] : 0, 25028 bounceStiffness: ot, 25029 bounceDamping: it, 25030 timeConstant: 750, 25031 restDelta: 1, 25032 restSpeed: 10, 25033 ...$, 25034 ...st 25035 }; 25036 return this.startAxisValueAnimation(nt, at); 25037 }); 25038 return Promise.all(rt).then(et); 25039 } 25040 startAxisValueAnimation(o, h) { 25041 const g = this.getAxisMotionValue(o); 25042 return addValueToWillChange(this.visualElement, o), g.start(animateMotionValue(o, g, 0, h, this.visualElement, false)); 25043 } 25044 stopAnimation() { 25045 eachAxis((o) => this.getAxisMotionValue(o).stop()); 25046 } 25047 pauseAnimation() { 25048 eachAxis((o) => { 25049 var _a; 25050 return (_a = this.getAxisMotionValue(o).animation) == null ? void 0 : _a.pause(); 25051 }); 25052 } 25053 getAnimationState(o) { 25054 var _a; 25055 return (_a = this.getAxisMotionValue(o).animation) == null ? void 0 : _a.state; 25056 } 25057 getAxisMotionValue(o) { 25058 const h = "_drag".concat(o.toUpperCase()), g = this.visualElement.getProps(), b = g[h]; 25059 return b || this.visualElement.getValue(o, (g.initial ? g.initial[o] : void 0) || 0); 25060 } 25061 snapToCursor(o) { 25062 eachAxis((h) => { 25063 const { drag: g } = this.getProps(); 25064 if (!shouldDrag(h, g, this.currentDirection)) return; 25065 const { projection: b } = this.visualElement, $ = this.getAxisMotionValue(h); 25066 if (b && b.layout) { 25067 const { min: _e, max: et } = b.layout.layoutBox[h];
vendor: 12,976 bytes, lines 25068-25393
25068 $.set(o[h] - mixNumber$1(_e, et, 0.5)); 25069 } 25070 }); 25071 } 25072 scalePositionWithinConstraints() { 25073 if (!this.visualElement.current) return; 25074 const { drag: o, dragConstraints: h } = this.getProps(), { projection: g } = this.visualElement; 25075 if (!isRefObject(h) || !g || !this.constraints) return; 25076 this.stopAnimation(); 25077 const b = { 25078 x: 0, 25079 y: 0 25080 }; 25081 eachAxis((_e) => { 25082 const et = this.getAxisMotionValue(_e); 25083 if (et && this.constraints !== false) { 25084 const tt = et.get(); 25085 b[_e] = calcOrigin({ 25086 min: tt, 25087 max: tt 25088 }, this.constraints[_e]); 25089 } 25090 }); 25091 const { transformTemplate: $ } = this.visualElement.getProps(); 25092 this.visualElement.current.style.transform = $ ? $({}, "") : "none", g.root && g.root.updateScroll(), g.updateLayout(), this.resolveConstraints(), eachAxis((_e) => { 25093 if (!shouldDrag(_e, o, null)) return; 25094 const et = this.getAxisMotionValue(_e), { min: tt, max: rt } = this.constraints[_e]; 25095 et.set(mixNumber$1(tt, rt, b[_e])); 25096 }); 25097 } 25098 addListeners() { 25099 if (!this.visualElement.current) return; 25100 elementDragControls.set(this.visualElement, this); 25101 const o = this.visualElement.current, h = addPointerEvent(o, "pointerdown", (tt) => { 25102 const { drag: rt, dragListener: nt = true } = this.getProps(); 25103 rt && nt && this.start(tt); 25104 }), g = () => { 25105 const { dragConstraints: tt } = this.getProps(); 25106 isRefObject(tt) && tt.current && (this.constraints = this.resolveRefConstraints()); 25107 }, { projection: b } = this.visualElement, $ = b.addEventListener("measure", g); 25108 b && !b.layout && (b.root && b.root.updateScroll(), b.updateLayout()), frame.read(g); 25109 const _e = addDomEvent(window, "resize", () => this.scalePositionWithinConstraints()), et = b.addEventListener("didUpdate", ({ delta: tt, hasLayoutChanged: rt }) => { 25110 this.isDragging && rt && (eachAxis((nt) => { 25111 const st = this.getAxisMotionValue(nt); 25112 st && (this.originPoint[nt] += tt[nt].translate, st.set(st.get() + tt[nt].translate)); 25113 }), this.visualElement.render()); 25114 }); 25115 return () => { 25116 _e(), h(), $(), et && et(); 25117 }; 25118 } 25119 getProps() { 25120 const o = this.visualElement.getProps(), { drag: h = false, dragDirectionLock: g = false, dragPropagation: b = false, dragConstraints: $ = false, dragElastic: _e = defaultElastic, dragMomentum: et = true } = o; 25121 return { 25122 ...o, 25123 drag: h, 25124 dragDirectionLock: g, 25125 dragPropagation: b, 25126 dragConstraints: $, 25127 dragElastic: _e, 25128 dragMomentum: et 25129 }; 25130 } 25131 } 25132 function shouldDrag(d, o, h) { 25133 return (o === true || o === d) && (h === null || h === d); 25134 } 25135 function getCurrentDirection(d, o = 10) { 25136 let h = null; 25137 return Math.abs(d.y) > o ? h = "y" : Math.abs(d.x) > o && (h = "x"), h; 25138 } 25139 class DragGesture extends Feature$1 { 25140 constructor(o) { 25141 super(o), this.removeGroupControls = noop$1, this.removeListeners = noop$1, this.controls = new VisualElementDragControls(o); 25142 } 25143 mount() { 25144 const { dragControls: o } = this.node.getProps(); 25145 o && (this.removeGroupControls = o.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || noop$1; 25146 } 25147 unmount() { 25148 this.removeGroupControls(), this.removeListeners(); 25149 } 25150 } 25151 const asyncHandler = (d) => (o, h) => { 25152 d && frame.postRender(() => d(o, h)); 25153 }; 25154 class PanGesture extends Feature$1 { 25155 constructor() { 25156 super(...arguments), this.removePointerDownListener = noop$1; 25157 } 25158 onPointerDown(o) { 25159 this.session = new PanSession(o, this.createPanHandlers(), { 25160 transformPagePoint: this.node.getTransformPagePoint(), 25161 contextWindow: getContextWindow(this.node) 25162 }); 25163 } 25164 createPanHandlers() { 25165 const { onPanSessionStart: o, onPanStart: h, onPan: g, onPanEnd: b } = this.node.getProps(); 25166 return { 25167 onSessionStart: asyncHandler(o), 25168 onStart: asyncHandler(h), 25169 onMove: g, 25170 onEnd: ($, _e) => { 25171 delete this.session, b && frame.postRender(() => b($, _e)); 25172 } 25173 }; 25174 } 25175 mount() { 25176 this.removePointerDownListener = addPointerEvent(this.node.current, "pointerdown", (o) => this.onPointerDown(o)); 25177 } 25178 update() { 25179 this.session && this.session.updateHandlers(this.createPanHandlers()); 25180 } 25181 unmount() { 25182 this.removePointerDownListener(), this.session && this.session.end(); 25183 } 25184 } 25185 const globalProjectionState = { 25186 hasAnimatedSinceResize: true, 25187 hasEverUpdated: false 25188 }; 25189 function pixelsToPercent(d, o) { 25190 return o.max === o.min ? 0 : d / (o.max - o.min) * 100; 25191 } 25192 const correctBorderRadius = { 25193 correct: (d, o) => { 25194 if (!o.target) return d; 25195 if (typeof d == "string") if (px.test(d)) d = parseFloat(d); 25196 else return d; 25197 const h = pixelsToPercent(d, o.target.x), g = pixelsToPercent(d, o.target.y); 25198 return "".concat(h, "% ").concat(g, "%"); 25199 } 25200 }, correctBoxShadow = { 25201 correct: (d, { treeScale: o, projectionDelta: h }) => { 25202 const g = d, b = complex.parse(d); 25203 if (b.length > 5) return g; 25204 const $ = complex.createTransformer(d), _e = typeof b[0] != "number" ? 1 : 0, et = h.x.scale * o.x, tt = h.y.scale * o.y; 25205 b[0 + _e] /= et, b[1 + _e] /= tt; 25206 const rt = mixNumber$1(et, tt, 0.5); 25207 return typeof b[2 + _e] == "number" && (b[2 + _e] /= rt), typeof b[3 + _e] == "number" && (b[3 + _e] /= rt), $(b); 25208 } 25209 }; 25210 let hasTakenAnySnapshot = false; 25211 class MeasureLayoutWithContext extends reactExports.Component { 25212 componentDidMount() { 25213 const { visualElement: o, layoutGroup: h, switchLayoutGroup: g, layoutId: b } = this.props, { projection: $ } = o; 25214 addScaleCorrector(defaultScaleCorrectors), $ && (h.group && h.group.add($), g && g.register && b && g.register($), hasTakenAnySnapshot && $.root.didUpdate(), $.addEventListener("animationComplete", () => { 25215 this.safeToRemove(); 25216 }), $.setOptions({ 25217 ...$.options, 25218 onExitComplete: () => this.safeToRemove() 25219 })), globalProjectionState.hasEverUpdated = true; 25220 } 25221 getSnapshotBeforeUpdate(o) { 25222 const { layoutDependency: h, visualElement: g, drag: b, isPresent: $ } = this.props, { projection: _e } = g; 25223 return _e && (_e.isPresent = $, hasTakenAnySnapshot = true, b || o.layoutDependency !== h || h === void 0 || o.isPresent !== $ ? _e.willUpdate() : this.safeToRemove(), o.isPresent !== $ && ($ ? _e.promote() : _e.relegate() || frame.postRender(() => { 25224 const et = _e.getStack(); 25225 (!et || !et.members.length) && this.safeToRemove(); 25226 }))), null; 25227 } 25228 componentDidUpdate() { 25229 const { projection: o } = this.props.visualElement; 25230 o && (o.root.didUpdate(), microtask.postRender(() => { 25231 !o.currentAnimation && o.isLead() && this.safeToRemove(); 25232 })); 25233 } 25234 componentWillUnmount() { 25235 const { visualElement: o, layoutGroup: h, switchLayoutGroup: g } = this.props, { projection: b } = o; 25236 b && (b.scheduleCheckAfterUnmount(), h && h.group && h.group.remove(b), g && g.deregister && g.deregister(b)); 25237 } 25238 safeToRemove() { 25239 const { safeToRemove: o } = this.props; 25240 o && o(); 25241 } 25242 render() { 25243 return null; 25244 } 25245 } 25246 function MeasureLayout(d) { 25247 const [o, h] = usePresence(), g = reactExports.useContext(LayoutGroupContext); 25248 return jsxRuntimeExports.jsx(MeasureLayoutWithContext, { 25249 ...d, 25250 layoutGroup: g, 25251 switchLayoutGroup: reactExports.useContext(SwitchLayoutGroupContext), 25252 isPresent: o, 25253 safeToRemove: h 25254 }); 25255 } 25256 const defaultScaleCorrectors = { 25257 borderRadius: { 25258 ...correctBorderRadius, 25259 applyTo: [ 25260 "borderTopLeftRadius", 25261 "borderTopRightRadius", 25262 "borderBottomLeftRadius", 25263 "borderBottomRightRadius" 25264 ] 25265 }, 25266 borderTopLeftRadius: correctBorderRadius, 25267 borderTopRightRadius: correctBorderRadius, 25268 borderBottomLeftRadius: correctBorderRadius, 25269 borderBottomRightRadius: correctBorderRadius, 25270 boxShadow: correctBoxShadow 25271 }; 25272 function animateSingleValue(d, o, h) { 25273 const g = isMotionValue(d) ? d : motionValue(d); 25274 return g.start(animateMotionValue("", g, o, h)), g.animation; 25275 } 25276 const compareByDepth = (d, o) => d.depth - o.depth; 25277 class FlatTree { 25278 constructor() { 25279 this.children = [], this.isDirty = false; 25280 } 25281 add(o) { 25282 addUniqueItem(this.children, o), this.isDirty = true; 25283 } 25284 remove(o) { 25285 removeItem(this.children, o), this.isDirty = true; 25286 } 25287 forEach(o) { 25288 this.isDirty && this.children.sort(compareByDepth), this.isDirty = false, this.children.forEach(o); 25289 } 25290 } 25291 function delay(d, o) { 25292 const h = time.now(), g = ({ timestamp: b }) => { 25293 const $ = b - h; 25294 $ >= o && (cancelFrame(g), d($ - o)); 25295 }; 25296 return frame.setup(g, true), () => cancelFrame(g); 25297 } 25298 const borders = [ 25299 "TopLeft", 25300 "TopRight", 25301 "BottomLeft", 25302 "BottomRight" 25303 ], numBorders = borders.length, asNumber = (d) => typeof d == "string" ? parseFloat(d) : d, isPx = (d) => typeof d == "number" || px.test(d); 25304 function mixValues(d, o, h, g, b, $) { 25305 var _a, _b, _c, _d; 25306 b ? (d.opacity = mixNumber$1(0, (_a = h.opacity) != null ? _a : 1, easeCrossfadeIn(g)), d.opacityExit = mixNumber$1((_b = o.opacity) != null ? _b : 1, 0, easeCrossfadeOut(g))) : $ && (d.opacity = mixNumber$1((_c = o.opacity) != null ? _c : 1, (_d = h.opacity) != null ? _d : 1, g)); 25307 for (let _e = 0; _e < numBorders; _e++) { 25308 const et = "border".concat(borders[_e], "Radius"); 25309 let tt = getRadius(o, et), rt = getRadius(h, et); 25310 if (tt === void 0 && rt === void 0) continue; 25311 tt || (tt = 0), rt || (rt = 0), tt === 0 || rt === 0 || isPx(tt) === isPx(rt) ? (d[et] = Math.max(mixNumber$1(asNumber(tt), asNumber(rt), g), 0), (percent.test(rt) || percent.test(tt)) && (d[et] += "%")) : d[et] = rt; 25312 } 25313 (o.rotate || h.rotate) && (d.rotate = mixNumber$1(o.rotate || 0, h.rotate || 0, g)); 25314 } 25315 function getRadius(d, o) { 25316 return d[o] !== void 0 ? d[o] : d.borderRadius; 25317 } 25318 const easeCrossfadeIn = compress(0, 0.5, circOut), easeCrossfadeOut = compress(0.5, 0.95, noop$1); 25319 function compress(d, o, h) { 25320 return (g) => g < d ? 0 : g > o ? 1 : h(progress(d, o, g)); 25321 } 25322 function copyAxisInto(d, o) { 25323 d.min = o.min, d.max = o.max; 25324 } 25325 function copyBoxInto(d, o) { 25326 copyAxisInto(d.x, o.x), copyAxisInto(d.y, o.y); 25327 } 25328 function copyAxisDeltaInto(d, o) { 25329 d.translate = o.translate, d.scale = o.scale, d.originPoint = o.originPoint, d.origin = o.origin; 25330 } 25331 function removePointDelta(d, o, h, g, b) { 25332 return d -= o, d = scalePoint(d, 1 / h, g), b !== void 0 && (d = scalePoint(d, 1 / b, g)), d; 25333 } 25334 function removeAxisDelta(d, o = 0, h = 1, g = 0.5, b, $ = d, _e = d) { 25335 if (percent.test(o) && (o = parseFloat(o), o = mixNumber$1(_e.min, _e.max, o / 100) - _e.min), typeof o != "number") return; 25336 let et = mixNumber$1($.min, $.max, g); 25337 d === $ && (et -= o), d.min = removePointDelta(d.min, o, h, et, b), d.max = removePointDelta(d.max, o, h, et, b); 25338 } 25339 function removeAxisTransforms(d, o, [h, g, b], $, _e) { 25340 removeAxisDelta(d, o[h], o[g], o[b], o.scale, $, _e); 25341 } 25342 const xKeys = [ 25343 "x", 25344 "scaleX", 25345 "originX" 25346 ], yKeys = [ 25347 "y", 25348 "scaleY", 25349 "originY" 25350 ]; 25351 function removeBoxTransforms(d, o, h, g) { 25352 removeAxisTransforms(d.x, o, xKeys, h ? h.x : void 0, g ? g.x : void 0), removeAxisTransforms(d.y, o, yKeys, h ? h.y : void 0, g ? g.y : void 0); 25353 } 25354 function isAxisDeltaZero(d) { 25355 return d.translate === 0 && d.scale === 1; 25356 } 25357 function isDeltaZero(d) { 25358 return isAxisDeltaZero(d.x) && isAxisDeltaZero(d.y); 25359 } 25360 function axisEquals(d, o) { 25361 return d.min === o.min && d.max === o.max; 25362 } 25363 function boxEquals(d, o) { 25364 return axisEquals(d.x, o.x) && axisEquals(d.y, o.y); 25365 } 25366 function axisEqualsRounded(d, o) { 25367 return Math.round(d.min) === Math.round(o.min) && Math.round(d.max) === Math.round(o.max); 25368 } 25369 function boxEqualsRounded(d, o) { 25370 return axisEqualsRounded(d.x, o.x) && axisEqualsRounded(d.y, o.y); 25371 } 25372 function aspectRatio(d) { 25373 return calcLength(d.x) / calcLength(d.y); 25374 } 25375 function axisDeltaEquals(d, o) { 25376 return d.translate === o.translate && d.scale === o.scale && d.originPoint === o.originPoint; 25377 } 25378 class NodeStack { 25379 constructor() { 25380 this.members = []; 25381 } 25382 add(o) { 25383 addUniqueItem(this.members, o), o.scheduleRender(); 25384 } 25385 remove(o) { 25386 if (removeItem(this.members, o), o === this.prevLead && (this.prevLead = void 0), o === this.lead) { 25387 const h = this.members[this.members.length - 1]; 25388 h && this.promote(h); 25389 } 25390 } 25391 relegate(o) { 25392 const h = this.members.findIndex((b) => o === b); 25393 if (h === 0) return false;
25394 let g; 25395 for (let b = h; b >= 0; b--) { 25396 const $ = this.members[b]; 25397 if ($.isPresent !== false) { 25398 g = $; 25399 break; 25400 } 25401 } 25402 return g ? (this.promote(g), true) : false; 25403 } 25404 promote(o, h) { 25405 const g = this.lead; 25406 if (o !== g && (this.prevLead = g, this.lead = o, o.show(), g)) { 25407 g.instance && g.scheduleRender(), o.scheduleRender(), o.resumeFrom = g, h && (o.resumeFrom.preserveOpacity = true), g.snapshot && (o.snapshot = g.snapshot, o.snapshot.latestValues = g.animationValues || g.latestValues), o.root && o.root.isUpdating && (o.isLayoutDirty = true); 25408 const { crossfade: b } = o.options; 25409 b === false && g.hide(); 25410 } 25411 } 25412 exitAnimationComplete() { 25413 this.members.forEach((o) => { 25414 const { options: h, resumingFrom: g } = o; 25415 h.onExitComplete && h.onExitComplete(), g && g.options.onExitComplete && g.options.onExitComplete(); 25416 }); 25417 } 25418 scheduleRender() { 25419 this.members.forEach((o) => { 25420 o.instance && o.scheduleRender(false); 25421 }); 25422 } 25423 removeLeadSnapshot() { 25424 this.lead && this.lead.snapshot && (this.lead.snapshot = void 0); 25425 } 25426 } 25427 function buildProjectionTransform(d, o, h) { 25428 let g = ""; 25429 const b = d.x.translate / o.x, $ = d.y.translate / o.y, _e = (h == null ? void 0 : h.z) || 0; 25430 if ((b || $ || _e) && (g = "translate3d(".concat(b, "px, ").concat($, "px, ").concat(_e, "px) ")), (o.x !== 1 || o.y !== 1) && (g += "scale(".concat(1 / o.x, ", ").concat(1 / o.y, ") ")), h) { 25431 const { transformPerspective: rt, rotate: nt, rotateX: st, rotateY: ot, skewX: it, skewY: at } = h; 25432 rt && (g = "perspective(".concat(rt, "px) ").concat(g)), nt && (g += "rotate(".concat(nt, "deg) ")), st && (g += "rotateX(".concat(st, "deg) ")), ot && (g += "rotateY(".concat(ot, "deg) ")), it && (g += "skewX(".concat(it, "deg) ")), at && (g += "skewY(".concat(at, "deg) ")); 25433 } 25434 const et = d.x.scale * o.x, tt = d.y.scale * o.y; 25435 return (et !== 1 || tt !== 1) && (g += "scale(".concat(et, ", ").concat(tt, ")")), g || "none"; 25436 } 25437 const transformAxes = [ 25438 "", 25439 "X", 25440 "Y", 25441 "Z" 25442 ], animationTarget = 1e3; 25443 let id = 0; 25444 function resetDistortingTransform(d, o, h, g) { 25445 const { latestValues: b } = o; 25446 b[d] && (h[d] = b[d], o.setStaticValue(d, 0), g && (g[d] = 0)); 25447 } 25448 function cancelTreeOptimisedTransformAnimations(d) { 25449 if (d.hasCheckedOptimisedAppear = true, d.root === d) return; 25450 const { visualElement: o } = d.options; 25451 if (!o) return; 25452 const h = getOptimisedAppearId(o); 25453 if (window.MotionHasOptimisedAnimation(h, "transform")) { 25454 const { layout: b, layoutId: $ } = d.options; 25455 window.MotionCancelOptimisedAnimation(h, "transform", frame, !(b || $)); 25456 } 25457 const { parent: g } = d; 25458 g && !g.hasCheckedOptimisedAppear && cancelTreeOptimisedTransformAnimations(g); 25459 } 25460 function createProjectionNode({ attachResizeListener: d, defaultParent: o, measureScroll: h, checkIsScrollRoot: g, resetTransform: b }) { 25461 return class { 25462 constructor(_e = {}, et = o == null ? void 0 : o()) { 25463 this.id = id++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = false, this.isAnimationBlocked = false, this.isLayoutDirty = false, this.isProjectionDirty = false, this.isSharedProjectionDirty = false, this.isTransformDirty = false, this.updateManuallyBlocked = false, this.updateBlockedByResize = false, this.isUpdating = false, this.isSVG = false, this.needsReset = false, this.shouldResetTransform = false, this.hasCheckedOptimisedAppear = false, this.treeScale = { 25464 x: 1, 25465 y: 1 25466 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = false, this.updateScheduled = false, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = false, this.checkUpdateFailed = () => { 25467 this.isUpdating && (this.isUpdating = false, this.clearAllSnapshots()); 25468 }, this.updateProjection = () => { 25469 this.projectionUpdateScheduled = false, this.nodes.forEac
25469h(propagateDirtyNodes), this.nodes.forEach(resolveTargetDelta), this.nodes.forEach(calcProjection), this.nodes.forEach(cleanDirtyNodes); 25470 }, this.resolvedRelativeTargetAt = 0, this.hasProjected = false, this.isVisible = true, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = _e, this.root = et ? et.root || et : this, this.path = et ? [ 25471 ...et.path, 25472 et 25473 ] : [], this.parent = et, this.depth = et ? et.depth + 1 : 0; 25474 for (let tt = 0; tt < this.path.length; tt++) this.path[tt].shouldResetTransform = true; 25475 this.root === this && (this.nodes = new FlatTree()); 25476 } 25477 addEventListener(_e, et) { 25478 return this.eventHandlers.has(_e) || this.eventHandlers.set(_e, new SubscriptionManager()), this.eventHandlers.get(_e).add(et); 25479 } 25480 notifyListeners(_e, ...et) { 25481 const tt = this.eventHandlers.get(_e); 25482 tt && tt.notify(...et); 25483 } 25484 hasListeners(_e) { 25485 return this.eventHandlers.has(_e); 25486 } 25487 mount(_e) { 25488 if (this.instance) return; 25489 this.isSVG = isSVGElement(_e) && !isSVGSVGElement(_e), this.instance = _e; 25490 const { layoutId: et, layout: tt, visualElement: rt } = this.options; 25491 if (rt && !rt.current && rt.mount(_e), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (tt || et) && (this.isLayoutDirty = true), d) { 25492 let nt, st = 0; 25493 const ot = () => this.root.updateBlockedByResize = false; 25494 frame.read(() => { 25495 st = window.innerWidth; 25496 }), d(_e, () => { 25497 const it = window.innerWidth; 25498 it !== st && (st = it, this.root.updateBlockedByResize = true, nt && nt(), nt = delay(ot, 250), globalProjectionState.hasAnimatedSinceResize && (globalProjectionState.hasAnimatedSinceResize = false, this.nodes.forEach(finishAnimation))); 25499 }); 25500 } 25501 et && this.root.registerSharedNode(et, this), this.options.animate !== false && rt && (et || tt) && this.addEventListener("didUpdate", ({ delta: nt, hasLayoutChanged: st, hasRelativeLayoutChanged: ot, layout: it }) => { 25502 if (this.isTreeAnimationBlocked()) { 25503 this.target = void 0, this.relativeTarget = void 0; 25504 return; 25505 } 25506 const at = this.options.transition || rt.getDefaultTransition() || defaultLayoutTransition, { onLayoutAnimationStart: lt, onLayoutAnimationComplete: ct } = rt.getProps(), ut = !this.targetLayout || !boxEqualsRounded(this.targetLayout, it), ft = !st && ot; 25507 if (this.options.layoutRoot || this.resumeFrom || ft || st && (ut || !this.currentAnimation)) { 25508 this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0); 25509 const dt = { 25510 ...getValueTransition(at, "layout"), 25511 onPlay: lt, 25512 onComplete: ct 25513 }; 25514 (rt.shouldReduceMotion || this.options.layoutRoot) && (dt.delay = 0, dt.type = false), this.startAnimation(dt), this.setAnimationOrigin(nt, ft); 25515 } else st || finishAnimation(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete(); 25516 this.targetLayout = it; 25517 }); 25518 } 25519 unmount() { 25520 this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this); 25521 const _e = this.getStack(); 25522 _e && _e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), cancelFrame(this.updateProjection); 25523 } 25524 blockUpdate() { 25525 this.updateManuallyBlocked = true; 25526 } 25527 unblockUpdate() { 25528 this.updateManuallyBlocked = false; 25529 } 25530 isUpdateBlocked() { 25531 return this.updateManuallyBlocked || this.updateBlockedByResize; 25532 } 25533 isTreeAnimationBlocked() { 25534 return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || false; 25535 } 25536 startUpdate() { 25537 this.isUpdateBlocked() || (this.isUpdating = true, this.nodes && this.nodes.forEac
25537h(resetSkewAndRotation), this.animationId++); 25538 } 25539 getTransformTemplate() { 25540 const { visualElement: _e } = this.options; 25541 return _e && _e.getProps().transformTemplate; 25542 } 25543 willUpdate(_e = true) { 25544 if (this.root.hasTreeAnimated = true, this.root.isUpdateBlocked()) { 25545 this.options.onExitComplete && this.options.onExitComplete(); 25546 return; 25547 } 25548 if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && cancelTreeOptimisedTransformAnimations(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return; 25549 this.isLayoutDirty = true; 25550 for (let nt = 0; nt < this.path.length; nt++) { 25551 const st = this.path[nt]; 25552 st.shouldResetTransform = true, st.updateScroll("snapshot"), st.options.layoutRoot && st.willUpdate(false); 25553 } 25554 const { layoutId: et, layout: tt } = this.options; 25555 if (et === void 0 && !tt) return; 25556 const rt = this.getTransformTemplate(); 25557 this.prevTransformTemplateValue = rt ? rt(this.latestValues, "") : void 0, this.updateSnapshot(), _e && this.notifyListeners("willUpdate"); 25558 } 25559 update() { 25560 if (this.updateScheduled = false, this.isUpdateBlocked()) { 25561 this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(clearMeasurements); 25562 return; 25563 } 25564 if (this.animationId <= this.animationCommitId) { 25565 this.nodes.forEach(clearIsLayoutDirty); 25566 return; 25567 } 25568 this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = false, this.nodes.forEach(resetTransformStyle), this.nodes.forEach(updateLayout), this.nodes.forEach(notifyLayoutUpdate)) : this.nodes.forEach(clearIsLayoutDirty), this.clearAllSnapshots(); 25569 const et = time.now(); 25570 frameData.delta = clamp(0, 1e3 / 60, et - frameData.timestamp), frameData.timestamp = et, frameData.isProcessing = true, frameSteps.update.process(frameData), frameSteps.preRender.process(frameData), frameSteps.render.process(frameData), frameData.isProcessing = false; 25571 } 25572 didUpdate() { 25573 this.updateScheduled || (this.updateScheduled = true, microtask.read(this.scheduleUpdate)); 25574 } 25575 clearAllSnapshots() { 25576 this.nodes.forEach(clearSnapshot), this.sharedNodes.forEach(removeLeadSnapshots); 25577 } 25578 scheduleUpdateProjection() { 25579 this.projectionUpdateScheduled || (this.projectionUpdateScheduled = true, frame.preRender(this.updateProjection, false, true)); 25580 } 25581 scheduleCheckAfterUnmount() { 25582 frame.postRender(() => { 25583 this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed(); 25584 }); 25585 } 25586 updateSnapshot() { 25587 this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !calcLength(this.snapshot.measuredBox.x) && !calcLength(this.snapshot.measuredBox.y) && (this.snapshot = void 0)); 25588 } 25589 updateLayout() { 25590 if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return; 25591 if (this.resumeFrom && !this.resumeFrom.instance) for (let tt = 0; tt < this.path.length; tt++) this.path[tt].updateScroll(); 25592 const _e = this.layout; 25593 this.layout = this.measure(false), this.layoutCorrected = createBox(), this.isLayoutDirty = false, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox); 25594 const { visualElement: et } = this.options; 25595 et && et.notify("LayoutMeasure", this.layout.layoutBox, _e ? _e.layoutBox : void 0); 25596 } 25597 updateScroll(_e = "measure") { 25598 let et = !!(this.options.layoutScroll && this.instance); 25599 if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === _e && (et = false), et && this.instance) { 25600 const tt = g(this.instance); 25601 this.scroll = { 25602 animationId: this.root.animationId, 25603 phase: _e, 25604 isRoot: tt, 25605 offset: h(this.instance), 25606 wasRoot: this.scroll ? this.scroll.isRoot : tt 25607 }; 25608 } 25609 } 25610 resetTransform() { 25611 if (!b) return; 25612 const _e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, et = this.projectionDelta && !isDeltaZero(this.projectionDelta), tt = this.getTransformTemplate(), rt = tt ? tt(this.latestValues, "") : void 0, nt = rt !== this.prevTransformTemplateValue; 25613 _e && this.instance && (et || hasTransform(this.latestValues) || nt) && (b(this.instance, rt), this.shouldResetTransform = false, this.scheduleRender()); 25614 } 25615 measure(_e = true) { 25616 const et = this.measurePageBox(); 25617 let tt = this.removeElementScroll(et); 25618 return _e && (tt = this.removeTransform(tt)), roundBox(tt), {
vendor: 5,070 bytes, lines 25619-25700
25619 animationId: this.root.animationId, 25620 measuredBox: et, 25621 layoutBox: tt, 25622 latestValues: {}, 25623 source: this.id 25624 }; 25625 } 25626 measurePageBox() { 25627 var _a; 25628 const { visualElement: _e } = this.options; 25629 if (!_e) return createBox(); 25630 const et = _e.measureViewportBox(); 25631 if (!(((_a = this.scroll) == null ? void 0 : _a.wasRoot) || this.path.some(checkNodeWasScrollRoot))) { 25632 const { scroll: rt } = this.root; 25633 rt && (translateAxis(et.x, rt.offset.x), translateAxis(et.y, rt.offset.y)); 25634 } 25635 return et; 25636 } 25637 removeElementScroll(_e) { 25638 var _a; 25639 const et = createBox(); 25640 if (copyBoxInto(et, _e), (_a = this.scroll) == null ? void 0 : _a.wasRoot) return et; 25641 for (let tt = 0; tt < this.path.length; tt++) { 25642 const rt = this.path[tt], { scroll: nt, options: st } = rt; 25643 rt !== this.root && nt && st.layoutScroll && (nt.wasRoot && copyBoxInto(et, _e), translateAxis(et.x, nt.offset.x), translateAxis(et.y, nt.offset.y)); 25644 } 25645 return et; 25646 } 25647 applyTransform(_e, et = false) { 25648 const tt = createBox(); 25649 copyBoxInto(tt, _e); 25650 for (let rt = 0; rt < this.path.length; rt++) { 25651 const nt = this.path[rt]; 25652 !et && nt.options.layoutScroll && nt.scroll && nt !== nt.root && transformBox(tt, { 25653 x: -nt.scroll.offset.x, 25654 y: -nt.scroll.offset.y 25655 }), hasTransform(nt.latestValues) && transformBox(tt, nt.latestValues); 25656 } 25657 return hasTransform(this.latestValues) && transformBox(tt, this.latestValues), tt; 25658 } 25659 removeTransform(_e) { 25660 const et = createBox(); 25661 copyBoxInto(et, _e); 25662 for (let tt = 0; tt < this.path.length; tt++) { 25663 const rt = this.path[tt]; 25664 if (!rt.instance || !hasTransform(rt.latestValues)) continue; 25665 hasScale(rt.latestValues) && rt.updateSnapshot(); 25666 const nt = createBox(), st = rt.measurePageBox(); 25667 copyBoxInto(nt, st), removeBoxTransforms(et, rt.latestValues, rt.snapshot ? rt.snapshot.layoutBox : void 0, nt); 25668 } 25669 return hasTransform(this.latestValues) && removeBoxTransforms(et, this.latestValues), et; 25670 } 25671 setTargetDelta(_e) { 25672 this.targetDelta = _e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = true; 25673 } 25674 setOptions(_e) { 25675 this.options = { 25676 ...this.options, 25677 ..._e, 25678 crossfade: _e.crossfade !== void 0 ? _e.crossfade : true 25679 }; 25680 } 25681 clearMeasurements() { 25682 this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = false; 25683 } 25684 forceRelativeParentToResolveTarget() { 25685 this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== frameData.timestamp && this.relativeParent.resolveTargetDelta(true); 25686 } 25687 resolveTargetDelta(_e = false) { 25688 var _a; 25689 const et = this.getLead(); 25690 this.isProjectionDirty || (this.isProjectionDirty = et.isProjectionDirty), this.isTransformDirty || (this.isTransformDirty = et.isTransformDirty), this.isSharedProjectionDirty || (this.isSharedProjectionDirty = et.isSharedProjectionDirty); 25691 const tt = !!this.resumingFrom || this !== et; 25692 if (!(_e || tt && this.isSharedProjectionDirty || this.isProjectionDirty || ((_a = this.parent) == null ? void 0 : _a.isProjectionDirty) || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return; 25693 const { layout: nt, layoutId: st } = this.options; 25694 if (!(!this.layout || !(nt || st))) { 25695 if (this.resolvedRelativeTargetAt = frameData.timestamp, !this.targetDelta && !this.relativeTarget) { 25696 const ot = this.getClosestProjectingParent(); 25697 ot && ot.layout && this.animationProgress !== 1 ? (this.relativeParent = ot, this.forceRelativeParentToResolveTarget(), this.relativeTarget = createBox(), this.relativeTargetOrigin = createBox(), calcRelativePosition(this.relativeTargetOrigin, this.layout.layoutBox, ot.layout.layoutBox), copyBoxInto(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0; 25698 } 25699 if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = createBox(), this.targetWithTransforms = createBox()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), calcRelativeBox(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : copyBoxInto(this.target, this.layout.layoutBox), applyBoxDelta(this.target, this.targetDelta)) : copyBoxInto(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) { 25700 this.attemptToResolveRelativeTarget = false;
25701 const ot = this.getClosestProjectingParent(); 25702 ot && !!ot.resumingFrom == !!this.resumingFrom && !ot.options.layoutScroll && ot.target && this.animationProgress !== 1 ? (this.relativeParent = ot, this.forceRelativeParentToResolveTarget(), this.relativeTarget = createBox(), this.relativeTargetOrigin = createBox(), calcRelativePosition(this.relativeTargetOrigin, this.target, ot.target), copyBoxInto(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0; 25703 } 25704 } 25705 } 25706 getClosestProjectingParent() { 25707 if (!(!this.parent || hasScale(this.parent.latestValues) || has2DTranslate(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent(); 25708 } 25709 isProjecting() { 25710 return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout); 25711 } 25712 calcProjection() { 25713 var _a; 25714 const _e = this.getLead(), et = !!this.resumingFrom || this !== _e; 25715 let tt = true; 25716 if ((this.isProjectionDirty || ((_a = this.parent) == null ? void 0 : _a.isProjectionDirty)) && (tt = false), et && (this.isSharedProjectionDirty || this.isTransformDirty) && (tt = false), this.resolvedRelativeTargetAt === frameData.timestamp && (tt = false), tt) return; 25717 const { layout: rt, layoutId: nt } = this.options; 25718 if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(rt || nt)) return; 25719 copyBoxInto(this.layoutCorrected, this.layout.layoutBox); 25720 const st = this.treeScale.x, ot = this.treeScale.y; 25721 applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, et), _e.layout && !_e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (_e.target = _e.layout.layoutBox, _e.targetWithTransforms = createBox()); 25722 const { target: it } = _e; 25723 if (!it) { 25724 this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender()); 25725 return; 25726 } 25727 !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (copyAxisDeltaInto(this.prevProjectionDelta.x, this.projectionDelta.x), copyAxisDeltaInto(this.prevProjectionDelta.y, this.projectionDelta.y)), calcBoxDelta(this.projectionDelta, this.layoutCorrected, it, this.latestValues), (this.treeScale.x !== st || this.treeScale.y !== ot || !axisDeltaEquals(this.projectionDelta.x, this.prevProjectionDelta.x) || !axisDeltaEquals(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = true, this.scheduleRender(), this.notifyListeners("projectionUpdate", it)); 25728 } 25729 hide() { 25730 this.isVisible = false; 25731 } 25732 show() { 25733 this.isVisible = true; 25734 } 25735 scheduleRender(_e = true) { 25736 var _a; 25737 if ((_a = this.options.visualElement) == null ? void 0 : _a.scheduleRender(), _e) { 25738 const et = this.getStack(); 25739 et && et.scheduleRender(); 25740 } 25741 this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0); 25742 } 25743 createProjectionDeltas() { 25744 this.prevProjectionDelta = createDelta(), this.projectionDelta = createDelta(), this.projectionDeltaWithTransform = createDelta(); 25745 } 25746 setAnimationOrigin(_e, et = false) { 25747 const tt = this.snapshot, rt = tt ? tt.latestValues : {}, nt = { 25748 ...this.latestValues 25749 }, st = createDelta(); 25750 (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !et; 25751 const ot = createBox(), it = tt ? tt.source : void 0, at = this.layout ? this.layout.source : void 0, lt = it !== at, ct = this.getStack(), ut = !ct || ct.members.length <= 1, ft = !!(lt && !ut && this.options.crossfade === true && !this.path.some(hasOpacityCrossfade)); 25752 this.animationProgress = 0; 25753 let dt; 25754 this.mixTargetDelta = (pt) => { 25755 const ht = pt / 1e3; 25756 mixAxisDelta(st.x, _e.x, ht), mixAxisDelta(st.y, _e.y, ht), this.setTargetDelta(st), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (calcRelativePosition(ot, this.layout.layoutBox, this.relativeParent.layout.layoutBox), mixBox(this.relativeTarget, this.relativeTargetOrigin, ot, ht), dt && boxEquals(this.relativeTarget, dt) && (this.isProjectionDirty = false), dt || (dt = createBox()), copyBoxInto(dt, this.relativeTarget)), lt && (this.animationValues = nt, mixValues(nt, rt, this.latestValues, ht, ft, ut)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = ht; 25757 }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0); 25758 } 25759 startAnimation(_e) { 25760 var _a, _b, _c; 25761 this.notifyListeners("animationStart"), (_a = this.currentAnimation) == null ? void 0 : _a.stop(), (_c = (_b = this.resumingFrom) == null ? void 0 : _b.currentAnimation) == null ? void 0 : _c.stop(), this.pendingAnimation && (cancelFrame(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = frame.update(() => { 25762 globalProjectionState.hasAnimatedSinceResize = true, this.motionValue || (this.motionValue = motionValue(0)), this.currentAnimation = animateSingleValue(this.motionValue, [ 25763 0, 25764 1e3 25765 ], { 25766 ..._e, 25767 velocity: 0, 25768 isSync: true, 25769 onUpdate: (et) => { 25770 this.mixTargetDelta(et), _e.onUpdate && _e.onUpdate(et); 25771 }, 25772 onStop: () => { 25773 }, 25774 onComplete: () => { 25775 _e.onComplete && _e.onComplete(), this.completeAnimation(); 25776 } 25777 }), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0; 25778 }); 25779 } 25780 completeAnimation() { 25781 this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0);
25782 const _e = this.getStack(); 25783 _e && _e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete"); 25784 } 25785 finishAnimation() { 25786 this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(animationTarget), this.currentAnimation.stop()), this.completeAnimation(); 25787 } 25788 applyTransformsToTarget() { 25789 const _e = this.getLead(); 25790 let { targetWithTransforms: et, target: tt, layout: rt, latestValues: nt } = _e; 25791 if (!(!et || !tt || !rt)) { 25792 if (this !== _e && this.layout && rt && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, rt.layoutBox)) { 25793 tt = this.target || createBox(); 25794 const st = calcLength(this.layout.layoutBox.x); 25795 tt.x.min = _e.target.x.min, tt.x.max = tt.x.min + st; 25796 const ot = calcLength(this.layout.layoutBox.y); 25797 tt.y.min = _e.target.y.min, tt.y.max = tt.y.min + ot; 25798 } 25799 copyBoxInto(et, tt), transformBox(et, nt), calcBoxDelta(this.projectionDeltaWithTransform, this.layoutCorrected, et, nt); 25800 } 25801 } 25802 registerSharedNode(_e, et) { 25803 this.sharedNodes.has(_e) || this.sharedNodes.set(_e, new NodeStack()), this.sharedNodes.get(_e).add(et); 25804 const rt = et.options.initialPromotionConfig; 25805 et.promote({ 25806 transition: rt ? rt.transition : void 0, 25807 preserveFollowOpacity: rt && rt.shouldPreserveFollowOpacity ? rt.shouldPreserveFollowOpacity(et) : void 0 25808 }); 25809 } 25810 isLead() { 25811 const _e = this.getStack(); 25812 return _e ? _e.lead === this : true; 25813 } 25814 getLead() { 25815 var _a; 25816 const { layoutId: _e } = this.options; 25817 return _e ? ((_a = this.getStack()) == null ? void 0 : _a.lead) || this : this; 25818 } 25819 getPrevLead() { 25820 var _a; 25821 const { layoutId: _e } = this.options; 25822 return _e ? (_a = this.getStack()) == null ? void 0 : _a.prevLead : void 0; 25823 } 25824 getStack() { 25825 const { layoutId: _e } = this.options; 25826 if (_e) return this.root.sharedNodes.get(_e); 25827 } 25828 promote({ needsReset: _e, transition: et, preserveFollowOpacity: tt } = {}) { 25829 const rt = this.getStack(); 25830 rt && rt.promote(this, tt), _e && (this.projectionDelta = void 0, this.needsReset = true), et && this.setOptions({ 25831 transition: et 25832 }); 25833 } 25834 relegate() { 25835 const _e = this.getStack(); 25836 return _e ? _e.relegate(this) : false; 25837 } 25838 resetSkewAndRotation() { 25839 const { visualElement: _e } = this.options; 25840 if (!_e) return; 25841 let et = false; 25842 const { latestValues: tt } = _e; 25843 if ((tt.z || tt.rotate || tt.rotateX || tt.rotateY || tt.rotateZ || tt.skewX || tt.skewY) && (et = true), !et) return; 25844 const rt = {}; 25845 tt.z && resetDistortingTransform("z", _e, rt, this.animationValues); 25846 for (let nt = 0; nt < transformAxes.length; nt++) resetDistortingTransform("rotate".concat(transformAxes[nt]), _e, rt, this.animationValues), resetDistortingTransform("skew".concat(transformAxes[nt]), _e, rt, this.animationValues); 25847 _e.render(); 25848 for (const nt in rt) _e.setStaticValue(nt, rt[nt]), this.animationValues && (this.animationValues[nt] = rt[nt]); 25849 _e.scheduleRender(); 25850 } 25851 applyProjectionStyles(_e, et) { 25852 var _a, _b; 25853 if (!this.instance || this.isSVG) return; 25854 if (!this.isVisible) { 25855 _e.visibility = "hidden"; 25856 return; 25857 } 25858 const tt = this.getTransformTemplate(); 25859 if (this.needsReset) { 25860 this.needsReset = false, _e.visibility = "", _e.opacity = "", _e.pointerEvents = resolveMotionValue(et == null ? void 0 : et.pointerEvents) || "", _e.transform = tt ? tt(this.latestValues, "") : "none"; 25861 return; 25862 } 25863 const rt = this.getLead(); 25864 if (!this.projectionDelta || !this.layout || !rt.target) { 25865 this.options.layoutId && (_e.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, _e.pointerEvents = resolveMotionValue(et == null ? void 0 : et.pointerEvents) || ""), this.hasProjected && !hasTransform(this.latestValues) && (_e.transform = tt ? tt({}, "") : "none", this.hasProjected = false); 25866 return; 25867 } 25868 _e.visibility = ""; 25869 const nt = rt.animationValues || rt.latestValues; 25870 this.applyTransformsToTarget(); 25871 let st = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, nt); 25872 tt && (st = tt(nt, st)), _e.transform = st; 25873 const { x: ot, y: it } = this.projectionDelta; 25874 _e.transformOrigin = "".concat(ot.origin * 100, "% ").concat(it.origin * 100, "% 0"), rt.animationValues ? _e.opacity = rt === this ? (_b = (_a = nt.opacity) != null ? _a : this.latestValues.opacity) != null ? _b : 1 : this.preserveOpacity ? this.latestValues.opacity : nt.opacityExit : _e.opacity = rt === this ? nt.opacity !== void 0 ? nt.opacity : "" : nt.opacityExit !== void 0 ? nt.opacityExit : 0; 25875 for (const at in scaleCorrectors) { 25876 if (nt[at] === void 0) continue; 25877 const { correct: lt, applyTo: ct, isCSSVariable: ut }
25877 = scaleCorrectors[at], ft = st === "none" ? nt[at] : lt(nt[at], rt); 25878 if (ct) { 25879 const dt = ct.length; 25880 for (let pt = 0; pt < dt; pt++) _e[ct[pt]] = ft; 25881 } else ut ? this.options.visualElement.renderState.vars[at] = ft : _e[at] = ft; 25882 } 25883 this.options.layoutId && (_e.pointerEvents = rt === this ? resolveMotionValue(et == null ? void 0 : et.pointerEvents) || "" : "none"); 25884 } 25885 clearSnapshot() { 25886 this.resumeFrom = this.snapshot = void 0; 25887 } 25888 resetTree() { 25889 this.root.nodes.forEach((_e) => { 25890 var _a; 25891 return (_a = _e.currentAnimation) == null ? void 0 : _a.stop(); 25892 }), this.root.nodes.forEach(clearMeasurements), this.root.sharedNodes.clear(); 25893 } 25894 }; 25895 } 25896 function updateLayout(d) { 25897 d.updateLayout(); 25898 } 25899 function notifyLayoutUpdate(d) { 25900 var _a; 25901 const o = ((_a = d.resumeFrom) == null ? void 0 : _a.snapshot) || d.snapshot; 25902 if (d.isLead() && d.layout && o && d.hasListeners("didUpdate")) { 25903 const { layoutBox: h, measuredBox: g } = d.layout, { animationType: b } = d.options, $ = o.source !== d.layout.source; 25904 b === "size" ? eachAxis((nt) => { 25905 const st = $ ? o.measuredBox[nt] : o.layoutBox[nt], ot = calcLength(st); 25906 st.min = h[nt].min, st.max = st.min + ot; 25907 }) : shouldAnimatePositionOnly(b, o.layoutBox, h) && eachAxis((nt) => { 25908 const st = $ ? o.measuredBox[nt] : o.layoutBox[nt], ot = calcLength(h[nt]); 25909 st.max = st.min + ot, d.relativeTarget && !d.currentAnimation && (d.isProjectionDirty = true, d.relativeTarget[nt].max = d.relativeTarget[nt].min + ot); 25910 }); 25911 const _e = createDelta(); 25912 calcBoxDelta(_e, h, o.layoutBox); 25913 const et = createDelta(); 25914 $ ? calcBoxDelta(et, d.applyTransform(g, true), o.measuredBox) : calcBoxDelta(et, h, o.layoutBox); 25915 const tt = !isDeltaZero(_e); 25916 let rt = false; 25917 if (!d.resumeFrom) { 25918 const nt = d.getClosestProjectingParent(); 25919 if (nt && !nt.resumeFrom) { 25920 const { snapshot: st, layout: ot } = nt; 25921 if (st && ot) { 25922 const it = createBox(); 25923 calcRelativePosition(it, o.layoutBox, st.layoutBox); 25924 const at = createBox(); 25925 calcRelativePosition(at, h, ot.layoutBox), boxEqualsRounded(it, at) || (rt = true), nt.options.layoutRoot && (d.relativeTarget = at, d.relativeTargetOrigin = it, d.relativeParent = nt); 25926 } 25927 } 25928 } 25929 d.notifyListeners("didUpdate", { 25930 layout: h, 25931 snapshot: o, 25932 delta: et, 25933 layoutDelta: _e, 25934 hasLayoutChanged: tt, 25935 hasRelativeLayoutChanged: rt 25936 }); 25937 } else if (d.isLead()) { 25938 const { onExitComplete: h } = d.options; 25939 h && h(); 25940 } 25941 d.options.transition = void 0; 25942 } 25943 function propagateDirtyNodes(d) { 25944 d.parent && (d.isProjecting() || (d.isProjectionDirty = d.parent.isProjectionDirty), d.isSharedProjectionDirty || (d.isSharedProjectionDirty = !!(d.isProjectionDirty || d.parent.isProjectionDirty || d.parent.isSharedProjectionDirty)), d.isTransformDirty || (d.isTransformDirty = d.parent.isTransformDirty)); 25945 } 25946 function cleanDirtyNodes(d) { 25947 d.isProjectionDirty = d.isSharedProjectionDirty = d.isTransformDirty = false; 25948 } 25949 function clearSnapshot(d) { 25950 d.clearSnapshot(); 25951 } 25952 function clearMeasurements(d) { 25953 d.clearMeasurements(); 25954 } 25955 function clearIsLayoutDirty(d) { 25956 d.isLayoutDirty = false; 25957 } 25958 function resetTransformStyle(d) { 25959 const { visualElement: o } = d.options; 25960 o && o.getProps().onBeforeLayoutMeasure && o.notify("BeforeLayoutMeasure"), d.resetTransform(); 25961 } 25962 function finishAnimation(d) { 25963 d.finishAnimation(), d.targetDelta = d.relativeTarget = d.target = void 0, d.isProjectionDirty = true; 25964 } 25965 function resolveTargetDelta(d) { 25966 d.resolveTargetDelta(); 25967 } 25968 function calcProjection(d) { 25969 d.calcProjection(); 25970 } 25971 function resetSkewAndRotation(d) { 25972 d.resetSkewAndRotation(); 25973 } 25974 function removeLeadSnapshots(d) { 25975 d.removeLeadSnapshot(); 25976 } 25977 function mixAxisDelta(d, o, h) { 25978 d.translate = mixNumber$1(o.translate, 0, h), d.scale = mixNumber$1(o.scale, 1, h), d.origin = o.origin, d.originPoint = o.originPoint; 25979 } 25980 function mixAxis(d, o, h, g) { 25981 d.min = mixNumber$1(o.min, h.min, g), d.max = mixNumber$1(o.max, h.max, g); 25982 } 25983 function mixBox(d, o, h, g) { 25984 mixAxis(d.x, o.x, h.x, g), mixAxis(d.y, o.y, h.y, g); 25985 } 25986 function hasOpacityCrossfade(d) { 25987 return d.animationValues && d.animationValues.opacityExit !== void 0; 25988 } 25989 const defaultLayoutTransition = { 25990 duration: 0.45, 25991 ease: [ 25992 0.4, 25993 0, 25994 0.1, 25995 1 25996 ] 25997 }
vendor: 4,554 bytes, lines 25997-26118
25997, userAgentContains = (d) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(d), roundPoint = userAgentContains("applewebkit/") && !userAgentContains("chrome/") ? Math.round : noop$1; 25998 function roundAxis(d) { 25999 d.min = roundPoint(d.min), d.max = roundPoint(d.max); 26000 } 26001 function roundBox(d) { 26002 roundAxis(d.x), roundAxis(d.y); 26003 } 26004 function shouldAnimatePositionOnly(d, o, h) { 26005 return d === "position" || d === "preserve-aspect" && !isNear(aspectRatio(o), aspectRatio(h), 0.2); 26006 } 26007 function checkNodeWasScrollRoot(d) { 26008 var _a; 26009 return d !== d.root && ((_a = d.scroll) == null ? void 0 : _a.wasRoot); 26010 } 26011 const DocumentProjectionNode = createProjectionNode({ 26012 attachResizeListener: (d, o) => addDomEvent(d, "resize", o), 26013 measureScroll: () => ({ 26014 x: document.documentElement.scrollLeft || document.body.scrollLeft, 26015 y: document.documentElement.scrollTop || document.body.scrollTop 26016 }), 26017 checkIsScrollRoot: () => true 26018 }), rootProjectionNode = { 26019 current: void 0 26020 }, HTMLProjectionNode = createProjectionNode({ 26021 measureScroll: (d) => ({ 26022 x: d.scrollLeft, 26023 y: d.scrollTop 26024 }), 26025 defaultParent: () => { 26026 if (!rootProjectionNode.current) { 26027 const d = new DocumentProjectionNode({}); 26028 d.mount(window), d.setOptions({ 26029 layoutScroll: true 26030 }), rootProjectionNode.current = d; 26031 } 26032 return rootProjectionNode.current; 26033 }, 26034 resetTransform: (d, o) => { 26035 d.style.transform = o !== void 0 ? o : "none"; 26036 }, 26037 checkIsScrollRoot: (d) => window.getComputedStyle(d).position === "fixed" 26038 }), drag = { 26039 pan: { 26040 Feature: PanGesture 26041 }, 26042 drag: { 26043 Feature: DragGesture, 26044 ProjectionNode: HTMLProjectionNode, 26045 MeasureLayout 26046 } 26047 }; 26048 function handleHoverEvent(d, o, h) { 26049 const { props: g } = d; 26050 d.animationState && g.whileHover && d.animationState.setActive("whileHover", h === "Start"); 26051 const b = "onHover" + h, $ = g[b]; 26052 $ && frame.postRender(() => $(o, extractEventInfo(o))); 26053 } 26054 class HoverGesture extends Feature$1 { 26055 mount() { 26056 const { current: o } = this.node; 26057 o && (this.unmount = hover(o, (h, g) => (handleHoverEvent(this.node, g, "Start"), (b) => handleHoverEvent(this.node, b, "End")))); 26058 } 26059 unmount() { 26060 } 26061 } 26062 class FocusGesture extends Feature$1 { 26063 constructor() { 26064 super(...arguments), this.isActive = false; 26065 } 26066 onFocus() { 26067 let o = false; 26068 try { 26069 o = this.node.current.matches(":focus-visible"); 26070 } catch (e2) { 26071 o = true; 26072 } 26073 !o || !this.node.animationState || (this.node.animationState.setActive("whileFocus", true), this.isActive = true); 26074 } 26075 onBlur() { 26076 !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", false), this.isActive = false); 26077 } 26078 mount() { 26079 this.unmount = pipe(addDomEvent(this.node.current, "focus", () => this.onFocus()), addDomEvent(this.node.current, "blur", () => this.onBlur())); 26080 } 26081 unmount() { 26082 } 26083 } 26084 function handlePressEvent(d, o, h) { 26085 const { props: g } = d; 26086 if (d.current instanceof HTMLButtonElement && d.current.disabled) return; 26087 d.animationState && g.whileTap && d.animationState.setActive("whileTap", h === "Start"); 26088 const b = "onTap" + (h === "End" ? "" : h), $ = g[b]; 26089 $ && frame.postRender(() => $(o, extractEventInfo(o))); 26090 } 26091 class PressGesture extends Feature$1 { 26092 mount() { 26093 const { current: o } = this.node; 26094 o && (this.unmount = press(o, (h, g) => (handlePressEvent(this.node, g, "Start"), (b, { success: $ }) => handlePressEvent(this.node, b, $ ? "End" : "Cancel")), { 26095 useGlobalTarget: this.node.props.globalTapTarget 26096 })); 26097 } 26098 unmount() { 26099 } 26100 } 26101 const observerCallbacks = /* @__PURE__ */ new WeakMap(), observers = /* @__PURE__ */ new WeakMap(), fireObserverCallback = (d) => { 26102 const o = observerCallbacks.get(d.target); 26103 o && o(d); 26104 }, fireAllObserverCallbacks = (d) => { 26105 d.forEach(fireObserverCallback); 26106 }; 26107 function initIntersectionObserver({ root: d, ...o }) { 26108 const h = d || document; 26109 observers.has(h) || observers.set(h, {}); 26110 const g = observers.get(h), b = JSON.stringify(o); 26111 return g[b] || (g[b] = new IntersectionObserver(fireAllObserverCallbacks, { 26112 root: d, 26113 ...o 26114 })), g[b]; 26115 } 26116 function observeIntersection(d, o, h) { 26117 const g = initIntersectionObserver(o); 26118 return observerCallbacks.set(d, h), g.observe(d), () => {
26119 observerCallbacks.delete(d), g.unobserve(d); 26120 }; 26121 } 26122 const thresholdNames = { 26123 some: 0, 26124 all: 1 26125 }; 26126 class InViewFeature extends Feature$1 { 26127 constructor() { 26128 super(...arguments), this.hasEnteredView = false, this.isInView = false; 26129 } 26130 startObserver() { 26131 this.unmount(); 26132 const { viewport: o = {} } = this.node.getProps(), { root: h, margin: g, amount: b = "some", once: $ } = o, _e = { 26133 root: h ? h.current : void 0, 26134 rootMargin: g, 26135 threshold: typeof b == "number" ? b : thresholdNames[b] 26136 }, et = (tt) => { 26137 const { isIntersecting: rt } = tt; 26138 if (this.isInView === rt || (this.isInView = rt, $ && !rt && this.hasEnteredView)) return; 26139 rt && (this.hasEnteredView = true), this.node.animationState && this.node.animationState.setActive("whileInView", rt); 26140 const { onViewportEnter: nt, onViewportLeave: st } = this.node.getProps(), ot = rt ? nt : st; 26141 ot && ot(tt); 26142 }; 26143 return observeIntersection(this.node.current, _e, et); 26144 } 26145 mount() { 26146 this.startObserver(); 26147 } 26148 update() { 26149 if (typeof IntersectionObserver > "u") return; 26150 const { props: o, prevProps: h } = this.node; 26151 [ 26152 "amount", 26153 "margin", 26154 "root" 26155 ].some(hasViewportOptionChanged(o, h)) && this.startObserver(); 26156 } 26157 unmount() { 26158 } 26159 } 26160 function hasViewportOptionChanged({ viewport: d = {} }, { viewport: o = {} } = {}) { 26161 return (h) => d[h] !== o[h]; 26162 } 26163 const gestureAnimations = { 26164 inView: { 26165 Feature: InViewFeature 26166 }, 26167 tap: { 26168 Feature: PressGesture 26169 }, 26170 focus: { 26171 Feature: FocusGesture 26172 }, 26173 hover: { 26174 Feature: HoverGesture 26175 } 26176 }, layout = { 26177 layout: { 26178 ProjectionNode: HTMLProjectionNode, 26179 MeasureLayout 26180 } 26181 }, featureBundle = { 26182 ...animations, 26183 ...gestureAnimations, 26184 ...drag, 26185 ...layout 26186 }, motion = createMotionProxy(featureBundle, createDomVisualElement), Popup = ({ children: d, show: o, onClose: h, offMaskClick: g = false }) => { 26187 const [b, $] = reactExports.useState(o), _e = reactExports.useRef(b); 26188 reactExports.useEffect(() => { 26189 $(o); 26190 }, [ 26191 o 26192 ]), reactExports.useEffect(() => { 26193 _e.current = b; 26194 }, [ 26195 b 26196 ]); 26197 const et = () => { 26198 $(false); 26199 }, tt = (rt) => { 26200 !_e.current && typeof h == "function" && h(); 26201 }; 26202 return jsxRuntimeExports.jsx(AnimatePresence, { 26203 children: b && jsxRuntimeExports.jsxs("div", { 26204 className: "popup-cont", 26205 style: { 26206 zIndex: 9999 26207 }, 26208 children: [ 26209 jsxRuntimeExports.jsx(motion.div, { 26210 className: "popup-mask", 26211 initial: { 26212 opacity: 0 26213 }, 26214 animate: { 26215 opacity: 1 26216 }, 26217 exit: { 26218 opacity: 0 26219 }, 26220 transition: { 26221 duration: 0.3 26222 }, 26223 onClick: () => { 26224 g || et(); 26225 } 26226 }), 26227 jsxRuntimeExports.jsx(motion.div, { 26228 initial: { 26229 opacity: 0, 26230 scale: 0.9 26231 }, 26232 animate: { 26233 opacity: 1, 26234 scale: 1 26235 }, 26236 exit: { 26237 opacity: 0, 26238 scale: 0.9 26239 }, 26240 transition: { 26241 duration: 0.3, 26242 ease: "easeOut" 26243 }, 26244 onAnimationComplete: tt, 26245 style: { 26246 position: "relative", 26247 zIndex: 1 26248 }, 26249 children: typeof d == "function" ? d({ 26250 onClose: et 26251 }) : d 26252 }) 26253 ] 26254 }) 26255 }); 26256 }, QQPopup = (d) => jsxRuntimeExports.jsx(Popup, { 26257 ...d, 26258 children: ({ onClose: o }) => jsxRuntimeExports.jsxs("div", { 26259 className: "qq-popup", 26260 children: [ 26261 jsxRuntimeExports.jsx("div", { 26262 className: "close-btn", 26263 onClick: o 26264 }), 26265 jsxRuntimeExports.jsxs("div", { 26266 class: "qq-group-section font_regular", 26267 children: [ 26268 jsxRuntimeExports.jsxs("div", { 26269 class: "qq-group-row", 26270 children: [ 26271 jsxRuntimeExports.jsx("span", { 26272 class: "qq-group-row_title", 26273 children: "\u5B98\u65B93\u7FA4" 26274 }), 26275 jsxRuntimeExports.jsx("span", { 26276 class: "qq-group-row_number", 26277 children: "640667267" 26278 }) 26279 ] 26280 }), 26281 jsxRuntimeExports.jsxs("div", { 26282 class: "qq-group-row", 26283 children: [ 26284 jsxRuntimeExports.jsx("span", { 26285 class: "qq-group-row_title", 26286 children: "\u5B98\u65B95\u7FA4" 26287 }), 26288 jsxRuntimeExports.jsx("span", { 26289 class: "qq-group-row_number", 26290 children: "102429533" 26291 }) 26292 ] 26293 }), 26294 jsxRuntimeExports.jsxs("div", { 26295 class: "qq-group-row", 26296 children: [ 26297 jsxRuntimeExports.jsx("span", { 26298 class: "qq-group-row_title", 26299 children: "\u5B98\u65B952\u7FA4" 26300 }), 26301 jsxRuntimeExports.jsx("span", { 26302 class: "qq-group-row_number", 26303 children: "837018708" 26304 }) 26305 ] 26306 }), 26307 jsxRuntimeExports.jsxs("div", { 26308 class: "qq-group-row", 26309 children: [ 26310 jsxRuntimeExports.jsx("span", { 26311 class: "qq-group-row_title", 26312 children: "\u5B98\u65B954\u7FA4" 26313 }), 26314 jsxRuntimeExports.jsx("span", { 26315 class: "qq-group-row_number", 26316 children: "102429533" 26317 }) 26318 ] 26319 }) 26320 ] 26321 }) 26322 ] 26323 }) 26324 }); 26325 let currentClose = null; 26326 function show(d, o = {}) { 26327 const h = document.createElement("div"); 26328 document.body.appendChild(h); 26329 const g = createRoot(h); 26330 function b(...$) { 26331 g.unmount(), h.parentNode && h.parentNode.removeChild(h), typeof o.onClose == "function" && o.onClose(...$), currentClose === b && (currentClose = null); 26332 } 26333 return currentClose = b, g.render(jsxRuntimeExports.jsx(d, { 26334 show: true, 26335 onClose: b, 26336 close: b, 26337 ...o 26338 })), { 26339 close: b 26340 }; 26341 } 26342 function hide() { 26343 typeof currentClose == "function" && currentClose(); 26344 } 26345 const PopupService = { 26346 show, 26347 hide 26348 }, __vite_glob_0_0$2 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALYAAAAcCAYAAAG7cHUaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i
2634877u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmRiYTNkYTNiNSwgMjAyMy8xMi8xNS0xMDo0MjozNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3Lncz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XihEzsVGdLmGp6nP8u1QUpfixss9ghAVY6UkeaK1FTYwIH9naMCtp2n/SdBecwBhPv5VNleHChU7y3PV/Vv183GC/YQgXWjLIAeQmUiEejCk1Npj5qwMP5s8kRdlaBzuQTJjgRvKHsCQe0OgpQ81Z8xfumUV/PxcOaUyyOWdYm4es8k34MdJpB4Sen8Lyns1ZKKjLwAD0q8JAV4AnU9LOwb5scMPAoAUabrgKRTB5cM4g3WhqsNiTZ9b6hEIwGRY+uKpAwgJ8gmIwO/LOHgva+7lt9/IYMj7H5qAJ6YgWeGkFkARAdLiF6Kw8sOuEpgiLKtF00K8j9DlFeCROeuKpiR54P6wHXXcLNpen+n3hvNgWHaeFo1DIfjKQNfhg0a4diYulk6SuHzXOsZwNMeTNOPddMUuEKm2A9SeuZFBeObIQqSZ19gorAIaSLiIxZPYUNLs5q8cooHDRipfuSaDiopLh5uTaIkDL2V1xEbRCQ5ZimilCKhHt1g7dsthEzbNWdVFWEV50Da7GrRBNoZTjFG6t/UjG6aE2qOqn+0GHepXDcB0NKRCjJlHr4kTecbjPhDkLaEE2K2YbmN+CLqbBlYMwiOtl+EXYAFIO1g8LSqdG6QqnMPomyL2CZFu4TMsTG8+86TS7mA3/sa9HFR+s1hG2KLKFU07WnplOfiErhHaHMM13nxvqqr/huKirKrwgCONfZ9Rj6R6IqKvwDuS2jLe7H4WwAAAABJRU5ErkJggg==", __vite_glob_0_10$2 = "/static/ossweb-img/sub-title-mc-en-DBW6aa2i.png", __vite_glob_0_11$2 = "/static/ossweb-img/sub-title-mc-ja-DClFcQjr.png", __vite_glob_0_12$2 = "/static/ossweb-img/sub-title-mc-kr-D6oMw4K8.png", __vite_glob_0_13$2 = "/static/ossweb-img/sub-title-mc-tw-jLxgF5fT.png", __vite_glob_0_14$2 = "/static/ossweb-img/sub-title-mc-DyFXoAeQ.png", __vite_glob_0_15$2 = "/static/ossweb-img/sub-title-zs-en-DRYZN3wX.png", __vite_glob_0_16$2 = "/static/ossweb-img/sub-title-zs-ja-DGn7upn8.png", __vite_glob_0_17$2 = "/static/ossweb-img/sub-title-zs-kr-CW17-V4M.png", __vite_glob_0_18$2 = "/static/ossweb-img/sub-title-zs-tw-D40Y_3sC.png", __vite_glob_0_19$2 = "/static/ossweb-img/sub-title-zs-m1Lmw1br.png", __vite_glob_0_20$2 = "/static/ossweb-img/title-mc-en-DxI4nvMl.png", __vite_glob_0_21$2 = "/static/ossweb-img/title-mc-ja-C-wpN89i.png", __vite_glob_0_22$2 = "/static/ossweb-img/title-mc-kr-B45F2RKS.png", __vite_glob_0_23$2 = "/static/ossweb-img/title-mc-tw-Db-bU6ox.png", __vite_glob_0_24$2 = "/static/ossweb-img/title-mc-BvgKgc4O.png", __vite_glob_0_25$2 = "/static/ossweb-img/title-zs-en-Bm1tvXKH.png", __vite_glob_0_26$2 = "/static/ossweb-img/title-zs-ja-r4-roqSI.png", __vite_glob_0_27$2 = "/static/ossweb-img/title-zs-kr-CMaUWr4P.png", __vite_glob_0_28$2 = "/static/ossweb-img/title-zs-tw-D1WgIhVz.png", __vite_glob_0_29$2 = "/static/ossweb-img/title-zs-CXyBwSjt.png", isPC$7 = isIPad13_1 || isDesktop_1, imgUrl$2 = (d, o = "pc") => new URL(Object.assign({ 26349 "../../assets/imgs/pc/home/product/title/logo-mc-name-en.png": __vite_glob_0_0$2, 26350 "../../assets/imgs/pc/home/product/title/logo-mc-name-ja.png": __vite_glob_0_1$2, 26351 "../../assets/imgs/pc/home/product/title/logo-mc-name-kr.png": __vite_glob_0_2$2, 26352 "../../assets/imgs/pc/home/product/title/logo-mc-name-tw.png": __vite_glob_0_3$2, 26353 "../../assets/imgs/pc/home/product/title/logo-mc-name.png": __vite_glob_0_4$2, 26354 "../../assets/imgs/pc/home/product/title/logo-zs-name-en.png": __vite_glob_0_5$2, 26355 "../../assets/imgs/pc/home/product/title/logo-zs-name-ja.png": __vite_glob_0_6$2, 26356 "../../assets/imgs/pc/home/product/title/logo-zs-name-kr.png": __vite_glob_0_7$2, 26357 "../../assets/imgs/pc/home/product/title/logo-zs-name-tw.png": __vite_glob_0_8$2, 26358 "../../assets/imgs/pc/home/product/title/logo-zs-name.png": __vite_glob_0_9$2, 26359 "../../assets/imgs/pc/home/product/title/sub-title-mc-en.png": __vite_glob_0_10$2, 26360 "../../assets/imgs/pc/home/product/title/sub-title-mc-ja.png": __vite_glob_0_11$2, 26361 "../../assets/imgs/pc/home/product/title/sub-title-mc-kr.png": __vite_glob_0_12$2, 26362 "../../assets/imgs/pc/home/product/title/sub-title-mc-tw.png": __vite_glob_0_13$2, 26363 "../../assets/imgs/pc/home/product/title/sub-title-mc.png": __vite_glob_0_14$2, 26364 "../../assets/imgs/pc/home/product/title/sub-title-zs-en.png": __vite_glob_0_15$2, 26365 "../../assets/imgs/pc/home/product/title/sub-title-zs-ja.png": __vite_glob_0_16$2, 26366 "../../assets/imgs/pc/home/product/title/sub-title-zs-kr.png": __vite_glob_0_17$2, 26367 "../../assets/imgs/pc/home/product/title/sub-title-zs-tw.png": __vite_glob_0_18$2, 26368 "../../assets/imgs/pc/home/product/title/sub-title-zs.png": __vite_glob_0_19$2, 26369 "../../assets/imgs/pc/home/product/title/title-mc-en.png": __vite_glob_0_20$2, 26370 "../../assets/imgs/pc/home/product/title/title-mc-ja.png": __vite_glob_0_21$2, 26371 "../../assets/imgs/pc/home/product/title/title-mc-kr.png": __vite_glob_0_22$2, 26372 "../../assets/imgs/pc/home/product/title/title-mc-tw.png": __vite_glob_0_23$2, 26373 "../../assets/imgs/pc/home/product/title/title-mc.png": __vite_glob_0_24$2, 26374 "../../assets/imgs/pc/home/product/title/title-zs-en.png": __vite_glob_0_25$2, 26375 "../../assets/imgs/pc/home/product/title/title-zs-ja.png": __vite_glob_0_26$2, 26376 "../../assets/imgs/pc/home/product/title/title-zs-kr.png": __vite_glob_0_27$2, 26377 "../../assets/imgs/pc/home/product/title/title-zs-tw.png": __vite_glob_0_28$2, 26378 "../../assets/imgs/pc/home/product/title/title-zs.png": __vite_glob_0_29$2 26379 })["../../assets/imgs/".concat(o, "/home/product/title/").concat(d)], import.meta.url).href, allLangImg$2 = { 26380 pc: { 26381 "zh-cn": { 26382 productTitleMC: imgUrl$2("title-mc.png"), 26383 productSubTitleMC: imgUrl$2("sub-title-mc.png"), 26384 logoNameMC: imgUrl$2("logo-mc-name.png"), 26385 productTitleZS: imgUrl$2("title-zs.png"), 26386 productSubTitleZS: imgUrl$2("sub-title-zs.png"), 26387 logoNameZS: imgUrl$2("logo-zs-name.png") 26388 }, 26389 "zh-tw": { 26390 productTitleMC: imgUrl$2("title-mc-tw.png"), 26391 productSubTitleMC: imgUrl$2("sub-title-mc-tw.png"), 26392 logoNameMC: imgUrl$2("logo-mc-name-tw.png"), 26393 productTitleZS: imgUrl$2("title-zs-tw.png"), 26394 productSubTitleZS: imgUrl$2("sub-title-zs-tw.png"), 26395 logoNameZS: imgUrl$2("logo-zs-name-tw.png") 26396 }, 26397 "en-us": { 26398 productTitleMC: imgUrl$2("title-mc-en.png"), 26399 productSubTitleMC: imgUrl$2("sub-title-mc-en.png"), 26400 logoNameMC: imgUrl$2("logo-mc-name-en.png"), 26401 productTitleZS: imgUrl$2("title-zs-en.png"), 26402 productSubTitleZS: imgUrl$2("sub-title-zs-en.png"), 26403 logoNameZS: imgUrl$2("logo-zs-name-en.png") 26404 }, 26405 "ko-kr": { 26406 productTitleMC: imgUrl$2("title-mc-kr.png"), 26407 productSubTitleMC: imgUrl$2("sub-title-mc-kr.png"), 26408 logoNameMC: imgUrl$2("logo-mc-name-kr.png"), 26409 productTitleZS: imgUrl$2("title-zs-kr.png"), 26410 productSubTitleZS: imgUrl$2("sub-title-zs-kr.png"), 26411 logoNameZS: imgUrl$2("logo-zs-name-kr.png") 26412 }, 26413 "ja-jp": { 26414 productTitleMC: imgUrl$2("title-mc-ja.png"), 26415 productSubTitleMC: imgUrl$2("sub-title-mc-ja.png"), 26416 logoNameMC: imgUrl$2("logo-mc-name-ja.png"), 26417 productTitleZS: imgUrl$2("title-zs-ja.png"), 26418 productSubTitleZS: imgUrl$2("sub-title-zs-ja.png"), 26419 logoNameZS: imgUrl$2("logo-zs-name-ja.png") 26420 } 26421 }, 26422 m: { 26423 "zh-cn": {}, 26424 "zh-tw": {}, 26425 "en-us": {}, 26426 "ko-kr": {}, 26427 "ja-jp": {} 26428 } 26429 }, shareIcon = { 26430 "zh-cn": { 26431 mc: [ 26432 { 26433 icon: "kr", 26434 url: "https://www.kurobbs.com/main.html" 26435 }, 26436 { 26437 icon: "wechat", 26438 qrcode: "./imgs/wechat-qrcode.jpg" 26439 }, 26440 { 26441 icon: "weibo", 26442 url: "https://weibo.com/u/7730797357" 26443 }, 26444 { 26445 icon: "bilibili", 26446 url: "https://space.bilibili.com/1955897084" 26447 }, 26448 { 26449 icon: "qq", 26450 popup: "qq" 26451 }, 26452 { 26453 icon: "taptap", 26454 url: "https://tap.cn/mJjQTYqZ?channel=rep-rep_ssywxpjcny3" 26455 }, 26456 { 26457 icon: "douyin", 26458 url: "https://www.douyin.com/user/MS4wLjABAAAARuTyGXitt4QGTdl87TYlMXkxVva40jhbk9S1p4zrBrEQ9BD9nCbF61XItUl564wC" 26459 }, 26460 { 26461 icon: "hykb", 26462 url: "https://www.3839.com/a/143964.htm" 26463 } 26464 ], 26465 zs: [ 26466 { 26467 icon: "kr", 26468 url: "https://www.kurobbs.com/pns/home/2" 26469 }, 26470 { 26471 icon: "wechat", 26472 qrcode: "./imgs/8799ob0w0v00sfznwa-1636448284268.jpg" 26473 }, 26474 { 26475 icon: "weibo", 26476 url: "https://weibo.com/Harupunishing" 26477 }, 26478 { 26479 icon: "bilibili", 26480 url: "https://www.biligame.com/detail/?id=102242" 26481 }, 26482 { 26483 icon: "qq", 26484 url: "https://qm.qq.com/cgi-bin/qm/qr?authKey=VVOpEU5mPz00ToetyjPOmO5PKQN0Rhh3I1Z3yEdJAhC7g8UGw4UvSaKxW6umPJSv&k=TDvJNNPQJ1X90iY_K8R4MA5NgSRkGWPK&noverify=0", 26485 qrcode: "./imgs/q7hwk6qbcpz8lgyai1-1740535441841.jpg" 26486 }, 26487 { 26488 icon: "taptap", 26489 url: "https://tap.cn/RlaRT1xa?channel=rep-rep_syjuxsdj9cl" 26490 }, 26491 { 26492 icon: "tieba", 26493 url: "https://tieba.baidu.com/f?kw=%E6%88%98%E5%8F%8C%E5%B8%95%E5%BC%A5%E4%BB%80&fr=index" 26494 } 26495 ] 26496 }, 26497 "zh-tw": { 26498 mc: [ 26499 { 26500 icon: "facebook", 26501 url: "https://www.facebook.com/WutheringWaves.ZH" 26502 }, 26503 { 26504 icon: "youtube", 26505 url: "https://www.youtube.com/channel/UCVZqteUtWfSnwQ0ShjHixVw" 26506 }, 26507 { 26508 icon: "discord", 26509 url: "https://discord.gg/RevhyngRj7" 26510 } 26511 ], 26512 zs: [ 26513 { 26514 icon: "facebook", 26515 url: "https://www.facebook.com/grayraven.tw/" 26516 }, 26517 { 26518 icon: "youtube", 26519 url: "https://www.youtube.com/channel/UCx5tenQLyWuH8kdaBJHNDIw" 26520 } 26521 ] 26522 }, 26523 "en-us": { 26524 mc: [ 26525 { 26526 icon: "facebook", 26527 url: "https://www.facebook.com/WutheringWaves.Official" 26528 }, 26529 { 26530 icon: "youtube", 26531 url: "https://www.youtube.com/@WutheringWaves" 26532 }, 26533 { 26534 icon: "discord", 26535 url: "https://discord.com/invite/wutheringwaves" 26536 }, 26537 { 26538 icon: "x", 26539 url: "https://twitter.com/Wuthering_Waves" 26540 }, 26541 { 26542 icon: "reddit", 26543 url: "https://www.reddit.com/r/WutheringWaves/" 26544 }, 26545 { 26546 icon: "instagram", 26547 url: "https://www.instagram.com/wuthering_waves/" 26548 }, 26549 { 26550 icon: "douyin", 26551 url: "https://www.tiktok.com/@wutheringwaves_official" 26552 } 26553 ], 26554 zs: [ 26555 { 26556 icon: "facebook", 26557 url: "https://www.facebook.com/PGR.Global/" 26558 }, 26559 { 26560 icon: "youtube", 26561 url: "https://www.youtube.com/c/PunishingGrayRaven/" 26562 }, 26563 { 26564 icon: "discord", 26565 url: "https://discord.gg/pgr" 26566 }, 26567 { 26568 icon: "x", 26569 url: "https://twitter.com/PGR_GLOBAL" 26570 }, 26571 { 26572 icon: "reddit", 26573 url: "https://www.reddit.com/r/PunishingGrayRaven/" 26574 } 26575 ] 26576 }, 26577 "ko-kr": { 26578 mc: [ 26579 { 26580 icon: "youtube", 26581 url: "https://www.youtube.com/channel/UCKuq0c-RXYaulECSuu5hFug" 26582 }, 26583 { 26584 icon: "x", 26585 url: "https://twitter.com/WW_KR_Official" 26586 }, 26587 { 26588 icon: "discord", 26589 url: "https://discord.com/invite/wutheringwaves" 26590 }, 26591 { 26592 icon: "netflix", 26593 url: "https://game.naver.com/lounge/WutheringWaves/home" 26594 } 26595 ], 26596 zs: [ 26597 { 26598 icon: "youtube", 26599 url: "https://www.youtube.com/@PGR-KR" 26600 }, 26601 { 26602 icon: "x", 26603 url: "https://twitter.com/grayraven_kr" 26604 }, 26605 { 26606 icon: "discord",
26607 url: "https://discord.gg/UDknfCRAqk" 26608 }, 26609 { 26610 icon: "facebook", 26611 url: "https://www.facebook.com/grayraven.kr" 26612 }, 26613 { 26614 icon: "cafe", 26615 url: "https://cafe.naver.com/grayraven" 26616 } 26617 ] 26618 }, 26619 "ja-jp": { 26620 mc: [ 26621 { 26622 icon: "youtube", 26623 url: "https://www.youtube.com/@wutheringwaves3352" 26624 }, 26625 { 26626 icon: "x", 26627 url: "https://mobile.twitter.com/WW_JP_Official" 26628 }, 26629 { 26630 icon: "discord", 26631 url: "https://discord.com/invite/Agw76jqvq8" 26632 }, 26633 { 26634 icon: "line", 26635 url: "https://page.line.me/?accountId=786xfrxl" 26636 }, 26637 { 26638 icon: "douyin", 26639 url: "https://www.tiktok.com/@wutheringwavesjp" 26640 } 26641 ], 26642 zs: [ 26643 { 26644 icon: "youtube", 26645 url: "https://www.youtube.com/channel/UC_KUFMLEn-N4_Sr9wco4tcQ" 26646 }, 26647 { 26648 icon: "x", 26649 url: "https://twitter.com/punigray_staff" 26650 }, 26651 { 26652 icon: "discord", 26653 url: "https://discord.gg/vjw662tBKY" 26654 } 26655 ] 26656 } 26657 }, langImg$2 = isPC$7 ? allLangImg$2.pc : allLangImg$2.m, shopUrl = { 26658 "zh-cn": "https://kurogames.tmall.com/shop/view_shop.htm", 26659 "zh-tw": "https://wutheringwaves.shop/", 26660 "en-us": "https://wutheringwaves.shop/", 26661 "ko-kr": "https://wutheringwaves.shop/", 26662 "ja-jp": "https://wutheringwaves.shop/" 26663 }, gwUrl = { 26664 "zh-cn": { 26665 mc: "https://mc.kurogames.com/main", 26666 zs: "https://pns.kurogames.com/" 26667 }, 26668 "zh-tw": { 26669 mc: "https://wutheringwaves.kurogames.com/zh-tw/main/", 26670 zs: "https://pgr.kurogames.com/tw/" 26671 }, 26672 "en-us": { 26673 mc: "https://wutheringwaves.kurogames.com/en/main/", 26674 zs: "https://pgr.kurogame.net/" 26675 }, 26676 "ja-jp": { 26677 mc: "https://wutheringwaves.kurogames.com/jp/main/", 26678 zs: "https://pgr.kurogames.com/jp/" 26679 }, 26680 "ko-kr": { 26681 mc: "https://wutheringwaves.kurogames.com/kr/main/", 26682 zs: "https://pgr.kurogames.com/kr/" 26683 } 26684 }, PRODUCT_SWITCH_DURATION = 0.5, HOME_BTN_FADE_DURATION = 0.5, HOME_BTN_ENTRY_DELAY = 0.1, HOME_BTN_ENTRY_X = -500, animateProductSwitch = (d, { oldEl: o, newEl: h, duration: g = PRODUCT_SWITCH_DURATION, homeBtnFadeDuration: b = HOME_BTN_FADE_DURATION, homeBtnEntryDelay: $ = HOME_BTN_ENTRY_DELAY }) => { 26685 const _e = o == null ? void 0 : o.querySelector(".home-btn"), et = h == null ? void 0 : h.querySelector(".home-btn"), tt = [ 26686 _e, 26687 et 26688 ].filter(Boolean); 26689 tt.length && (d.killTweensOf(tt), d.set(tt, { 26690 x: HOME_BTN_ENTRY_X, 26691 opacity: 0 26692 })), d.fromTo(o, { 26693 flex: "0 0 84.4%" 26694 }, { 26695 flex: "0 0 15.6%", 26696 duration: g 26697 }), d.fromTo(h, { 26698 flex: "0 0 15.6%" 26699 }, { 26700 flex: "0 0 84.4%", 26701 duration: g 26702 }), et && d.to(et, { 26703 x: 0, 26704 opacity: 1, 26705 duration: b, 26706 delay: $, 26707 ease: "power1.out", 26708 clearProps: "opacity,transform" 26709 }); 26710 }, isPC$6 = isIPad13_1 || isDesktop_1; 26711 gsapWithCSS.registerPlugin(useGSAP); 26712 const FeatureSwiperControl = ({ imgs: d, ...o }) => { 26713 const [h, g] = reactExports.useState(null), [b, $] = reactExports.useState(null), _e = reactExports.useRef(null); 26714 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 26715 children: [ 26716 jsxRuntimeExports.jsx(Swiper, { 26717 modules: [ 26718 Virtual, 26719 Thumb,
26720 EffectFade 26721 ], 26722 effect: "fade", 26723 followFinger: false, 26724 virtual: true, 26725 onSlideChange: (et) => { 26726 h.slideTo(et.activeIndex); 26727 }, 26728 thumbs: { 26729 swiper: h, 26730 autoScrollOffset: 0 26731 }, 26732 onSwiper: $, 26733 className: "feature-swiper", 26734 children: d.map((et, tt) => jsxRuntimeExports.jsxs(SwiperSlide, { 26735 children: [ 26736 jsxRuntimeExports.jsx("img", { 26737 src: et.url, 26738 className: et.cls, 26739 style: { 26740 objectPosition: et.url.indexOf("zb-img1") > -1 ? "50% 33%" : "50% 50%" 26741 }, 26742 alt: "" 26743 }), 26744 et.name ? jsxRuntimeExports.jsx("div", { 26745 className: "pic-name font_regular", 26746 children: jsxRuntimeExports.jsx(Trans, { 26747 components: { 26748 sty2: jsxRuntimeExports.jsx("div", { 26749 className: "sty2" 26750 }), 26751 sty3: jsxRuntimeExports.jsx("div", { 26752 className: "sty3" 26753 }), 26754 mbr: jsxRuntimeExports.jsx("br", { 26755 className: "mobile-br" 26756 }) 26757 }, 26758 children: et.name 26759 }) 26760 }) : null 26761 ] 26762 }, tt)) 26763 }), 26764 jsxRuntimeExports.jsxs("div", { 26765 className: "feature-swiper-nav-wrap", 26766 children: [ 26767 jsxRuntimeExports.jsx("span", { 26768 className: "feature-prev-btn", 26769 onClick: () => { 26770 b.slidePrev(); 26771 } 26772 }), 26773 jsxRuntimeExports.jsx("span", { 26774 className: "feature-next-btn", 26775 onClick: () => { 26776 b.slideNext(); 26777 } 26778 }), 26779 jsxRuntimeExports.jsx(Swiper, { 26780 ref: _e, 26781 className: "feature-swiper-nav", 26782 modules: [ 26783 Thumb 26784 ], 26785 observer: true, 26786 observeParents: true, 26787 spaceBetween: "5.952%", 26788 normalizeSlideIndex: false, 26789 slidesPerView: "auto", 26790 onSwiper: g, 26791 children: d.map((et, tt) => jsxRuntimeExports.jsx(SwiperSlide, { 26792 children: jsxRuntimeExports.jsx("div", { 26793 className: "imgbox", 26794 children: jsxRuntimeExports.jsx("img", { 26795 src: et.url, 26796 alt: "" 26797 }) 26798 }) 26799 }, tt)) 26800 }) 26801 ] 26802 }) 26803 ] 26804 }); 26805 }, Banner = ({ show: d, ...o }) => { 26806 const { t: h } = useTranslation(), g = [ 26807 { 26808 img: isPC$6 ? new URL("/static/ossweb-img/1-CfVcrIOF.jpg", import.meta.url).href : new URL("/static/ossweb-img/1-BfSx7ohN.jpg", import.meta.url).href 26809 }, 26810 { 26811 img: isPC$6 ? new URL("/static/ossweb-img/2-ErbiUWRo.jpg", import.meta.url).href : new URL("/static/ossweb-img/2-B9Ao1lfC.jpg", import.meta.url).href 26812 } 26813 ]; 26814 return jsxRuntimeExports.jsx("section", { 26815 className: classNames("slide banner", { 26816 show: d 26817 }), 26818 children: jsxRuntimeExports.jsx("div", { 26819 className: "tv-box-wrap", 26820 children: jsxRuntimeExports.jsxs("div", { 26821 className: "tv-box", 26822 children: [ 26823 jsxRuntimeExports.jsx(Swiper, { 26824 effect: "fade", 26825 loop: true, 26826 autoplay: { 26827 delay: 5e3, 26828 disableOnInteraction: false, 26829 pauseOnMouseEnter: true 26830 }, 26831 speed: 800, 26832 modules: [ 26833 Autoplay,
26834 EffectFade 26835 ], 26836 className: "banner-imgs", 26837 children: g.map((b, $) => jsxRuntimeExports.jsx(SwiperSlide, { 26838 children: jsxRuntimeExports.jsx("img", { 26839 src: b.img, 26840 alt: "" 26841 }) 26842 }, $)) 26843 }), 26844 jsxRuntimeExports.jsx("div", { 26845 className: "home-text-wrap", 26846 children: jsxRuntimeExports.jsx("div", { 26847 className: "game-name", 26848 children: jsxRuntimeExports.jsx("i", {}) 26849 }) 26850 }) 26851 ] 26852 }) 26853 }) 26854 }); 26855 }, Product = ({ show: d, ...o }) => { 26856 const [h, g] = reactExports.useState(0), { i18n: b, t: $ } = useTranslation(), { contextSafe: _e } = useGSAP(), et = _e((tt) => { 26857 if (h === tt) return; 26858 const rt = 0.5, nt = document.querySelectorAll(".product-wrap .cont")[h], st = document.querySelectorAll(".product-wrap .cont")[tt]; 26859 animateProductSwitch(gsapWithCSS, { 26860 oldEl: nt, 26861 newEl: st, 26862 duration: rt 26863 }), g(tt); 26864 }); 26865 return jsxRuntimeExports.jsx("section", { 26866 className: classNames("slide product", { 26867 show: d 26868 }), 26869 children: jsxRuntimeExports.jsx("div", { 26870 className: "product-wrap-outer", 26871 children: jsxRuntimeExports.jsxs("div", { 26872 className: "product-wrap font_regular", 26873 children: [ 26874 jsxRuntimeExports.jsxs("div", { 26875 className: classNames("cont mingchao", { 26876 active: h === 0 26877 }), 26878 children: [ 26879 jsxRuntimeExports.jsxs("div", { 26880 className: "product-pic", 26881 children: [ 26882 jsxRuntimeExports.jsxs("div", { 26883 className: "context-wrap", 26884 children: [ 26885 jsxRuntimeExports.jsx("div", { 26886 className: "title", 26887 children: jsxRuntimeExports.jsx("img", { 26888 src: langImg$2[b.language].productTitleMC, 26889 alt: "" 26890 }) 26891 }), 26892 jsxRuntimeExports.jsx("div", { 26893 className: "sub-title", 26894 children: jsxRuntimeExports.jsx("img", { 26895 src: langImg$2[b.language].productSubTitleMC, 26896 alt: "" 26897 }) 26898 }), 26899 jsxRuntimeExports.jsx("div", { 26900 className: "desc", 26901 children: $("index.mcDesc") 26902 }), 26903 jsxRuntimeExports.jsx("div", { 26904 className: "home-btn", 26905 onClick: () => { 26906 window.open(gwUrl[b.language].mc, "_blank"); 26907 } 26908 }), 26909 jsxRuntimeExports.jsx("ul", { 26910 className: "channel", 26911 children: shareIcon[b.language].mc.map((tt, rt) => jsxRuntimeExports.jsx("li", { 26912 className: tt.icon, 26913 onClick: () => { 26914 tt.popup ? tt.popup === "qq" && PopupService.show(QQPopup) : tt.url && window.open(tt.url, "_blank"); 26915 }, 26916 children: tt.qrcode ? jsxRuntimeExports.jsx("div", { 26917 className: "qrcode", 26918 children: jsxRuntimeExports.jsx("img", { 26919 src: tt.qrcode, 26920 alt: "" 26921 }) 26922 }) : null 26923 }, rt)) 26924 }) 26925 ] 26926 }), 26927 jsxRuntimeExports.jsx("img", { 26928 className: "poster", 26929 src: new URL("/static/ossweb-img/img-mc-DRA92zZU.webp", import.meta.url).href, 26930 alt: "" 26931 }) 26932 ] 26933 }), 26934 isPC$6 ? jsxRuntimeExports.jsxs("div", { 26935 className: "mask-cont", 26936 onClick: () => et(0), 26937 children: [ 26938 jsxRuntimeExports.jsx("div", { 26939 className: "logo", 26940 children: jsxRuntimeExports.jsx("img", { 26941 src: new URL("/static/ossweb-img/logo-mc-rVwZoa9W.png", import.meta.url).href, 26942 alt: "" 26943 }) 26944 }), 26945 jsxRuntimeExports.jsx("div", { 26946 className: "logo-name", 26947 children: jsxRuntimeExports.jsx("img", { 26948 src: langImg$2[b.language].logoNameMC, 26949 alt: "" 26950 }) 26951 }) 26952 ] 26953 }) : null 26954 ] 26955 }), 26956 jsxRuntimeExports.jsxs("div", { 26957 className: classNames("cont zhanshuang", { 26958 active: h === 1 26959 }), 26960 children: [ 26961 jsxRuntimeExports.jsxs("div", { 26962 className: "product-pic", 26963 children: [ 26964 jsxRuntimeExports.jsxs("div", { 26965 className: "context-wrap", 26966 children: [ 26967 jsxRuntimeExports.jsx("div", { 26968 className: "title", 26969 children: jsxRuntimeExports.jsx("img", { 26970 src: langImg$2[b.language].productTitleZS, 26971 alt: "" 26972 }) 26973 }), 26974 jsxRuntimeExports.jsx("div", { 26975 className: "sub-title", 26976 children: jsxRuntimeExports.jsx("img", { 26977 src: langImg$2[b.language].productSubTitleZS, 26978 alt: "" 26979 }) 26980 }), 26981 jsxRuntimeExports.jsx("div", { 26982 className: "desc", 26983 children: $("index.zsDesc") 26984 }), 26985 jsxRuntimeExports.jsx("div", { 26986 className: "home-btn", 26987 onClick: () => { 26988 window.open(gwUrl[b.language].zs, "_blank"); 26989 } 26990 }), 26991 jsxRuntimeExports.jsx("ul", { 26992 className: "channel", 26993 children: shareIcon[b.language].zs.map((tt, rt) => jsxRuntimeExports.jsx("li", { 26994 className: tt.icon, 26995 onClick: () => { 26996 tt.popup ? tt.popup === "qq" && PopupService.show(QQPopup) : tt.url && window.open(tt.url, "_blank"); 26997 }, 26998 children: tt.qrcode ? jsxRuntimeExports.jsx("div", { 26999 className: "qrcode", 27000 children: jsxRuntimeExports.jsx("img", { 27001 src: tt.qrcode, 27002 alt: "" 27003 }) 27004 }) : null 27005 }, rt)) 27006 }) 27007 ] 27008 }), 27009 jsxRuntimeExports.jsx("img", { 27010 className: "poster", 27011 src: new URL("/static/ossweb-img/img-zs-BjMdhzZO.webp", import.meta.url).href, 27012 alt: "" 27013 }) 27014 ] 27015 }), 27016 isPC$6 ? jsxRuntimeExports.jsxs("div", { 27017 className: "mask-cont", 27018 onClick: () => et(1), 27019 children: [ 27020 jsxRuntimeExports.jsx("div", { 27021 className: "logo", 27022 children: jsxRuntimeExports.jsx("img", { 27023 src: new URL("/static/ossweb-img/logo-zs-O6Gp5sZJ.png", import.meta.url).href, 27024 alt: "" 27025 }) 27026 }), 27027 jsxRuntimeExports.jsx("div", { 27028 className: "logo-name", 27029 children: jsxRuntimeExports.jsx("img", { 27030 src: langImg$2[b.language].logoNameZS, 27031 alt: "" 27032 }) 27033 }) 27034 ] 27035 }) : null 27036 ] 27037 }) 27038 ] 27039 }) 27040 }) 27041 }); 27042 }, Feature = ({ children: d, show: o, ...h }) => { 27043 const [g, b] = reactExports.useState(-1), { t: $, i18n: _e } = useTranslation(), et = [ 27044 { 27045 name: "yxzb", 27046 imgs: [ 27047 { 27048 url: new URL("/static/ossweb-img/zb-colored-vinyl-gift-box-BQHVzGyN.jpg", import.meta.url).href, 27049 name: $("index.surroundingName9") 27050 }, 27051 { 27052 url: new URL("/static/ossweb-img/zb-camellia-D6fwKM7k.webp", import.meta.url).href, 27053 name: $("index.surroundingName7") 27054 }, 27055 { 27056 url: new URL("/static/ossweb-img/zb-feibi-_FZq7FFe.webp", import.meta.url).href, 27057 name: $("index.surroundingName8") 27058 }, 27059 { 27060 url: new URL("/static/ossweb-img/zb-img6-COdPNL1o.jpg", import.meta.url).href, 27061 cls: "objpos-zbimg-weilinai", 27062 name: $("index.surroundingName6") 27063 }, 27064 { 27065 url: new URL("/static/ossweb-img/zb-img3-nUXEg1Ry.jpg", import.meta.url).href, 27066 name: $("index.surroundingName3") 27067 }, 27068 { 27069 url: new URL("/static/ossweb-img/zb-img1-Ng_XeGnm.jpg", import.meta.url).href, 27070 name: $("index.surroundingName1") 27071 }, 27072 { 27073 url: new URL("/static/ossweb-img/zb-img2-DK57srwN.jpg", import.meta.url).href, 27074 cls: "objpos-zbimg2", 27075 name: $("index.surroundingName2") 27076 }, 27077 { 27078 url: new URL("/static/ossweb-img/zb-img4-C6siD5gQ.jpg", import.meta.url).href, 27079 cls: "objpos-zbimg4", 27080 name: $("index.surroundingName4") 27081 }, 27082 { 27083 url: new URL("/static/ossweb-img/zb-img5-Cazs3Zwi.jpg", import.meta.url).href, 27084 name: $("index.surroundingName5") 27085 } 27086 ] 27087 }, 27088 { 27089 name: "qqhd", 27090 imgs: [ 27091 { 27092 url: new URL("/static/ossweb-img/qqhd-to-the-new-world-shanghai-5lxCB18v.jpg", import.meta.url).href, 27093 name: $("index.featureImgName11") 27094 }, 27095 { 27096 url: new URL("/static/ossweb-img/qqhd-csfc-BzlgKMA3.png", import.meta.url).href, 27097 name: $("index.featureImgCsfc") 27098 }, 27099 {
27100 url: new URL("/static/ossweb-img/qqhd-img5-D8PjFxXo.jpg", import.meta.url).href, 27101 name: $("index.featureImgName5") 27102 }, 27103 { 27104 url: new URL("/static/ossweb-img/qqhd-img6-D8pwuO44.jpg", import.meta.url).href, 27105 name: $("index.featureImgName5") 27106 }, 27107 { 27108 url: new URL("/static/ossweb-img/qqhd-img7-DFGtzobv.jpg", import.meta.url).href, 27109 name: $("index.featureImgName5") 27110 }, 27111 { 27112 url: new URL("/static/ossweb-img/gz-kuro-fest-1-C1qElauq.jpg", import.meta.url).href, 27113 cls: "objpos-qqhd1", 27114 name: $("index.featureImgName0") 27115 }, 27116 { 27117 url: new URL("/static/ossweb-img/gz-kuro-fest-2-b6PQBJeu.jpg", import.meta.url).href, 27118 name: $("index.featureImgName0") 27119 }, 27120 { 27121 url: new URL("/static/ossweb-img/gz-kuro-fest-3-LORR6NTV.jpg", import.meta.url).href, 27122 name: $("index.featureImgName0") 27123 }, 27124 { 27125 url: new URL("/static/ossweb-img/gz-kuro-fest-4-CpjnhJhl.jpg", import.meta.url).href, 27126 name: $("index.featureImgName0") 27127 }, 27128 { 27129 url: new URL("/static/ossweb-img/qqhd-img1-hQskpqvB.jpg", import.meta.url).href, 27130 name: $("index.featureImgName1") 27131 }, 27132 { 27133 url: new URL("/static/ossweb-img/qqhd-img2-CQZ7hm-q.jpg", import.meta.url).href, 27134 name: $("index.featureImgName2") 27135 }, 27136 { 27137 url: new URL("/static/ossweb-img/qqhd-img3-DPyWxPDG.jpg", import.meta.url).href, 27138 name: $("index.featureImgName3") 27139 }, 27140 { 27141 url: new URL("/static/ossweb-img/qqhd-img4-CgUTnMd5.jpg", import.meta.url).href, 27142 name: $("index.featureImgName4") 27143 }, 27144 { 27145 url: new URL("/static/ossweb-img/qqhd-img8-C_D7mKSs.jpg", import.meta.url).href, 27146 name: $("index.featureImgName6") 27147 }, 27148 { 27149 url: new URL("/static/ossweb-img/qqhd-img9-B-QbwuCm.jpg", import.meta.url).href, 27150 name: $("index.featureImgName6") 27151 }, 27152 { 27153 url: new URL("/static/ossweb-img/qqhd-img10-CVDb9r_h.jpg", import.meta.url).href, 27154 name: $("index.featureImgName6") 27155 }, 27156 { 27157 url: new URL("/static/ossweb-img/qqhd-img11-CUOKXIkP.jpg", import.meta.url).href, 27158 name: $("index.featureImgName7") 27159 }, 27160 { 27161 url: new URL("/static/ossweb-img/qqhd-img12-DoH2cGNr.jpg", import.meta.url).href, 27162 name: $("index.featureImgName7") 27163 }, 27164 { 27165 url: new URL("/static/ossweb-img/qqhd-gzjnh-DhOSprCd.jpg", import.meta.url).href, 27166 name: $("index.featureImgName7") 27167 }, 27168 { 27169 url: new URL("/static/ossweb-img/qqhd-gzjnh2-C7wN3Mtl.jpg", import.meta.url).href, 27170 name: $("index.featureImgName7") 27171 }, 27172 { 27173 url: new URL("/static/ossweb-img/qqhd-gzjnh3-BFU--X03.jpg", import.meta.url).href, 27174 name: $("index.featureImgName7") 27175 }, 27176 { 27177 url: new URL("/static/ossweb-img/qqhd-img13-RvKkxDTj.jpg", import.meta.url).href, 27178 name: $("index.featureImgName8") 27179 }, 27180 { 27181 url: new URL("/static/ossweb-img/qqhd-img14-CjCsp0X1.jpg", import.meta.url).href, 27182 cls: "objpos1", 27183 name: $("index.featureImgName8") 27184 }, 27185 { 27186 url: new URL("/static/ossweb-img/qqhd-jpks1-DYiWrMoX.jpg", import.meta.url).href, 27187 name: $("index.featureImgName9") 27188 }, 27189 { 27190 url: new URL("/static/ossweb-img/qqhd-twks1-CdqteMAy.jpg", import.meta.url).href, 27191 name: $("index.featureImgName10") 27192 } 27193 ] 27194 } 27195 ], { contextSafe: tt } = useGSAP(), rt = tt((nt) => { 27196 const st = gsapWithCSS.utils.toArray(".home-cont .dl-wrap"); 27197 if (nt === -1) { 27198 st[0].parentElement.classList.add("is_hiding"), st[0].removeAttribute("style"), st[1].removeAttribute("style"), gsapWithCSS.to([ 27199 st[0].querySelector("dl"), 27200 st[1].querySelector("dl") 27201 ], { 27202 flex: "0 0 50%", 27203 onComplete: function() { 27204 gsapWithCSS.set([ 27205 st[0].querySelector(".shop-btn") 27206 ], { 27207 x: "-20%" 27208 }), st[0].parentElement.classList.remove("is_hiding"); 27209 } 27210 }); 27211 return; 27212 } 27213 const ot = nt == 0 ? 1 : 0, it = st[ot].querySelector("dl"), at = st[nt].querySelector("dl"), lt = st[ot].querySelector(".shop-btn"), ct = () => { 27214 lt && gsapWithCSS.set(lt, { 27215 x: "-20%" 27216 }); 27217 }; 27218 ct(), g === -1 ? (st[ot].style.zIndex = 1, st[nt].style.zIndex = 2, gsapWithCSS.to(at, { 27219 flex: "0 0 100%" 27220 }), gsapWithCSS.to(st[nt].querySelector(".shop-btn"), { 27221 x: "0%" 27222 })) : (st[ot].style.zIndex = 1, st[nt].style.zIndex = 2, gsapWithCSS.to(it, { 27223 flex: "0 0 50%", 27224 onComplete: function() { 27225 ct(); 27226 } 27227 }), gsapWithCSS.to(at, { 27228 flex: "0 0 100%" 27229 }), nt === 0 && gsapWithCSS.to(st[nt].querySelector(".shop-btn"), { 27230 x: "0%" 27231 })); 27232 }); 27233 return jsxRuntimeExports.jsxs("section", { 27234 className: classNames("slide feature", { 27235 show: o 27236 }), 27237 children: [ 27238 jsxRuntimeExports.jsxs("div", { 27239 className: "feature-wrap", 27240 children: [ 27241 jsxRuntimeExports.jsx("div", { 27242 className: "feature-group", 27243 children: et.map((nt, st) => jsxRuntimeExports.jsx("div", { 27244 className: classNames("dl-wrap", { 27245 show: g === st, 27246 hide: g !== st && g !== -1 27247 }), 27248 onClick: () => { 27249 rt(st), b(st); 27250 }, 27251 children: jsxRuntimeExports.jsxs("dl", { 27252 className: "".concat(nt.name, "-imgs"), 27253 children: [ 27254 jsxRuntimeExports.jsx("dt", { 27255 children: jsxRuntimeExports.jsx("i", {}) 27256 }), 27257 jsxRuntimeExports.jsxs("dd", { 27258 children: [ 27259 jsxRuntimeExports.jsx("div", { 27260 className: "back-btn", 27261 onClick: (ot) => { 27262 rt(-1), b(-1), ot.stopPropagation(); 27263 } 27264 }), 27265 st == 0 ? jsxRuntimeExports.jsx("div", { 27266 className: "shop-btn", 27267 style: { 27268 display: _e.language === "zh-cn" ? "block" : "none" 27269 }, 27270 onClick: () => { 27271 window.open(shopUrl[_e.language], "_blank"); 27272 } 27273 }) : null, 27274 jsxRuntimeExports.jsx(FeatureSwiperControl, { 27275 imgs: nt.imgs 27276 }) 27277 ] 27278 }) 27279 ] 27280 }) 27281 }
27281, nt.name)) 27282 }), 27283 jsxRuntimeExports.jsx("div", { 27284 className: classNames("feature-btns", { 27285 show: g !== -1 27286 }), 27287 children: et.map((nt, st) => jsxRuntimeExports.jsx("div", { 27288 className: classNames("btn", nt.name, { 27289 act: st === g 27290 }), 27291 onClick: () => { 27292 rt(st), b(st); 27293 } 27294 }, st)) 27295 }) 27296 ] 27297 }), 27298 d 27299 ] 27300 }); 27301 }, isPC$5 = isIPad13_1 || isDesktop_1; 27302 function Copyright({ className: d, ...o }) { 27303 const { t: h, i18n: g } = useTranslation(), b = g.language === "zh-cn"; 27304 return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 27305 children: jsxRuntimeExports.jsx("div", { 27306 className: classNames("copyright", d), 27307 ...o, 27308 children: jsxRuntimeExports.jsx("div", { 27309 className: "wrap font_regular", 27310 children: jsxRuntimeExports.jsxs("div", { 27311 className: "copyright-cont", 27312 children: [ 27313 jsxRuntimeExports.jsx("div", { 27314 className: "logo" 27315 }), 27316 jsxRuntimeExports.jsxs("div", { 27317 className: "copyright-info", 27318 children: [ 27319 jsxRuntimeExports.jsxs("div", { 27320 className: "links", 27321 children: [ 27322 jsxRuntimeExports.jsx(Link, { 27323 to: "/introduction", 27324 target: "__blank", 27325 children: h("footerAboutText", { 27326 defaultValue: h("menuNav.about") 27327 }) 27328 }), 27329 jsxRuntimeExports.jsx(Link, { 27330 to: "/contact", 27331 target: "__blank", 27332 children: h("contactText") 27333 }), 27334 jsxRuntimeExports.jsx(Link, { 27335 to: "/join", 27336 target: "__blank", 27337 children: h("menuNav.join") 27338 }), 27339 g.language === "zh-cn" ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 27340 children: [ 27341 jsxRuntimeExports.jsx("a", { 27342 href: h("growth"), 27343 target: "__blank", 27344 children: h("growthText") 27345 }), 27346 jsxRuntimeExports.jsx("a", { 27347 href: "./\u7F51\u7EDC\u6E38\u620F\u884C\u4E1A\u9632\u6C89\u8FF7\u81EA\u5F8B\u516C\u7EA6.pdf", 27348 target: "__blank", 27349 children: "\u81EA\u5F8B\u516C\u7EA6" 27350 }) 27351 ] 27352 }) : null 27353 ] 27354 }), 27355 jsxRuntimeExports.jsx("div", { 27356 className: "copyright-tips", 27357 children: b ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 27358 children: [ 27359 isPC$5 ? jsxRuntimeExports.jsx("p", { 27360 style: g.language == "en-us" ? { 27361 whiteSpace: "normal" 27362 } : {}, 27363 children: jsxRuntimeExports.jsx(Trans, { 27364 children: h("copyrightText1") 27365 }) 27366 }) : jsxRuntimeExports.jsx("p", { 27367 children: jsxRuntimeExports.jsx(Trans, { 27368 children: h("copyrightText1_m") 27369 }) 27370 }), 27371 jsxRuntimeExports.jsxs("p", { 27372 children: [ 27373 jsxRuntimeExports.jsx("a", { 27374 href: h("agreementPublic"), 27375 target: "__blank", 27376 children: h("agreement_publicText") 27377 }), 27378 jsxRuntimeExports.jsx("a", { 27379 href: h("termsofService"), 27380 target: "__blank", 27381 children: h("child_privacyText") 27382 }), 27383 jsxRuntimeExports.jsx("a", { 27384 href: h("privacyPolicy"), 27385 target: "__blank", 27386 children: h("personal_privacyText") 27387 }), 27388 isPC$5 ? null : jsxRuntimeExports.jsx("br", {}), 27389 jsxRuntimeExports.jsx("a", { 27390 href: "https://beian.miit.gov.cn/#/Integrated/index", 27391 target: "__blank", 27392 children: h("IntegratedNOText") 27393 }), 27394 "\u7CA4B2-20190166", 27395 jsxRuntimeExports.jsxs("span", { 27396 style: { 27397 cursor: "pointer" 27398 }, 27399 onClick: () => window.open("https://beian.mps.gov.cn/#/query/webSearch", "_blank"), 27400 children: [ 27401 jsxRuntimeExports.jsx("i", {}), 27402 jsxRuntimeExports.jsx("a", { 27403 href: "javascript:void(0)", 27404 children: h("ICPText") 27405 }) 27406 ] 27407 }) 27408 ] 27409 }), 27410 jsxRuntimeExports.jsx("p", { 27411 children: h("companyText") 27412 }) 27413 ] 27414 }) : jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 27415 children: [ 27416 jsxRuntimeExports.jsx("p", { 27417 children: h("companyText") 27418 }), 27419 jsxRuntimeExports.jsxs("p", { 27420 children: [ 27421 jsxRuntimeExports.jsx("a", { 27422 href: h("privacyPolicy"), 27423 target: "__blank", 27424 children: h("privacyPolicyText") 27425 }), 27426 " | ", 27427 jsxRuntimeExports.jsx("a", { 27428 href: h("termsofService"), 27429 target: "__blank", 27430 children: h("termsofServiceText") 27431 }) 27432 ] 27433 }) 27434 ] 27435 }) 27436 }) 27437 ] 27438 }) 27439 ] 27440 }) 27441 }) 27442 }) 27443 }); 27444 } 27445 gsapWithCSS.registerPlugin(useGSAP, Observer$1); 27446 function PCView$2() { 27447 const [d, o] = reactExports.useState(0); 27448 return useGSAP(() => { 27449 let h = false, g = -1, b = gsapWithCSS.utils.toArray(".slide"), $ = null, _e = null; 27450 const et = (tt, rt) => { 27451 let nt, st, ot = rt === -1, it = gsapWithCSS.timeline({ 27452 defaults: { 27453 duration: 0.5, 27454 ease: "power1.inOut" 27455 }, 27456 onComplete: () => h = false 27457 }); 27458 if (tt < 0 ? tt = 0 : tt > b.length - 1 && (tt = b.length - 1), tt == g) return; 27459 $ = b[tt], g >= 0 && (_e = b[g], _e.classList.remove("show"), ot && (tt === 0 && (nt = $.querySelector(".game-name i"), st = $.querySelector(".title i"), it.fromTo(_e.querySelector(".product-wrap-outer"), { 27460 height: "100%" 27461 }, { 27462 height: "0%" 27463 }).fromTo(nt, { 27464 yPercent: 100 27465 }, { 27466 yPercent: 0 27467 }, 0.5).fromTo(st, { 27468 yPercent: -100 27469 }, { 27470 yPercent: 0 27471 }, 0.5)), tt === 1 && it.fromTo(_e, { 27472 yPercent: -100 27473 }, { 27474 yPercent: 0 27475 }, 0).fromTo($, { 27476 yPercent: -100 27477 }, { 27478 yPercent: 0 27479 }, 0), tt == 2 && it.to($, { 27480 yPercent: -100 27481 }, 0))), $.classList.add("show"); 27482 const at = document.querySelector(".home-cont .scroll-tips"); 27483 switch (tt >= 2 ? gsapWithCSS.set(at, { 27484 autoAlpha: 0 27485 }) : gsapWithCSS.set(at, { 27486 autoAlpha: 1 27487 }), tt === 0 ? at.classList.remove("off-mouse") : at.classList.add("off-mouse"), tt) { 27488 case 0: 27489 gsapWithCSS.set([ 27490 $ 27491 ], { 27492 zIndex: 1, 27493 autoAlpha: 1 27494 }); 27495 break; 27496 case 1: 27497 ot || (nt = _e.querySelector(".game-name i"), st = _e.querySelector(".title i"), it.fromTo(nt, { 27498 yPercent: 0 27499 }, { 27500 yPercent: 100 27501 }, 0).fromTo(st, { 27502 yPercent: 0 27503 }, { 27504 yPercent: -100 27505 }, 0).set([ 27506 $ 27507 ], { 27508 zIndex: 1, 27509 autoAlpha: 1 27510 }).set(b[0], { 27511 zIndex: 0, 27512 autoAlpha: 1 27513 }).fromTo($.querySelector(".poster"), { 27514 scale: 1.3 27515 }, { 27516 scale: 1 27517 }, 0.5).fromTo($.querySelector(".product-wrap .cont.active"), {
27518 flex: "0 0 120%" 27519 }, { 27520 flex: "0 0 84.4%" 27521 }, 0.5).fromTo($.querySelector(".product-wrap-outer"), { 27522 height: "0%" 27523 }, { 27524 height: "100%" 27525 }, 0.5)); 27526 break; 27527 case 2: 27528 ot || (it.set([ 27529 $ 27530 ], { 27531 zIndex: 1, 27532 autoAlpha: 1 27533 }).set(b[0], { 27534 zIndex: 0, 27535 autoAlpha: 0 27536 }), it.fromTo(_e, { 27537 yPercent: 0 27538 }, { 27539 yPercent: -100 27540 }, 0).fromTo($, { 27541 yPercent: 0 27542 }, { 27543 yPercent: -100, 27544 duration: 0.6 27545 }, 0)); 27546 break; 27547 case 3: 27548 if (!ot) { 27549 const lt = $.clientHeight / innerHeight * 100; 27550 it.fromTo(_e, { 27551 yPercent: -100 27552 }, { 27553 yPercent: -(100 + lt) 27554 }, 0); 27555 } 27556 break; 27557 } 27558 h = true, g = tt; 27559 }; 27560 et(0, 1), Observer$1.create({ 27561 axis: "y", 27562 lockAxis: true, 27563 type: "wheel, touch, pointer", 27564 preventDefault: true, 27565 wheelSpeed: -1, 27566 onUp: () => { 27567 console.log("down"), !h && et(g + 1, 1); 27568 }, 27569 onDown: () => { 27570 console.log("up"), !h && et(g - 1, -1); 27571 }, 27572 tolerance: 10 27573 }); 27574 }), jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 27575 children: [ 27576 jsxRuntimeExports.jsx(Banner, { 27577 show: d === 0 27578 }), 27579 jsxRuntimeExports.jsx(Product, { 27580 show: d === 1 27581 }), 27582 jsxRuntimeExports.jsx(Feature, { 27583 show: d === 2, 27584 children: jsxRuntimeExports.jsx(Copyright, { 27585 className: "slide" 27586 }) 27587 }), 27588 jsxRuntimeExports.jsx("div", { 27589 className: "scroll-tips", 27590 children: jsxRuntimeExports.jsx("div", { 27591 className: "arrow" 27592 }) 27593 }) 27594 ] 27595 }); 27596 } 27597 function MobileView$2() { 27598 const [d, o] = reactExports.useState(true); 27599 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 27600 children: [ 27601 jsxRuntimeExports.jsxs(Swiper, { 27602 initialSlide: 0, 27603 onSlideChange: (h) => { 27604 h.activeIndex < 2 ? o(true) : o(false); 27605 }, 27606 direction: "vertical", 27607 slidesPerView: "auto", 27608 className: "home-swiper", 27609 children: [ 27610 jsxRuntimeExports.jsx(SwiperSlide, { 27611 children: jsxRuntimeExports.jsx(Banner, {}) 27612 }), 27613 jsxRuntimeExports.jsx(SwiperSlide, { 27614 children: jsxRuntimeExports.jsx(Product, {}) 27615 }), 27616 jsxRuntimeExports.jsx(SwiperSlide, { 27617 children: jsxRuntimeExports.jsx(Feature, {}) 27618 }), 27619 jsxRuntimeExports.jsx(SwiperSlide, { 27620 className: "copyright-slide", 27621 children: jsxRuntimeExports.jsx(Copyright, { 27622 className: "slide" 27623 }) 27624 }) 27625 ] 27626 }), 27627 jsxRuntimeExports.jsx("div", { 27628 className: "scroll-tips", 27629 style: { 27630 display: d ? "block" : "none" 27631 } 27632 }) 27633 ] 27634 }); 27635 } 27636 const isPC$4 = isIPad13_1 || isDesktop_1; 27637 function IndexView() { 27638 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 27639 children: [ 27640 jsxRuntimeExports.jsx(TopMenu, {}), 27641 jsxRuntimeExports.jsx("div", { 27642 className: "main-wrap", 27643 children: jsxRuntimeExports.jsx("div", { 27644 className: "home-cont", 27645 children: isPC$4 ? jsxRuntimeExports.jsx(PCView$2, {}) : jsxRuntimeExports.jsx(MobileView$2, {}) 27646 }) 27647 }) 27648 ] 27649 }); 27650 } 27651 var gsap$1, _coreInitted$1, _win$2, _doc$2, _docEl, _body$2, _root, _resizeDelay, _toArray$1, _clamp, _time2, _syncInterval, _refreshing, _pointerIsDown, _transformProp$2, _i, _prevWidth, _prevHeight, _autoRefresh, _sort, _suppressOverwrites, _ignoreResize, _normalizer, _ignoreMobileResize, _baseScreenHeight, _baseScreenWidth, _fixIOSBug, _context$1, _scrollRestoration, _div100vh, _100vh, _isReverted, _clampingMax, _limitCallbacks, _startup = 1, _getTime$1 = Date.now, _time1 = _getTime$1(), _lastScrollTime = 0, _enabled = 0, _parseClamp = function(o, h, g) { 27652 var b = _isString(o) && (o.substr(0, 6) === "clamp(" || o.indexOf("max") > -1); 27653 return g["_" + h + "Clamp"] = b, b ? o.substr(6, o.length - 7) : o; 27654 }, _keepClamp = function(o, h) { 27655 return h && (!_isString(o) || o.substr(0, 6) !== "clamp(") ? "clamp(" + o + ")" : o; 27656 }, _rafBugFix = function d() { 27657 return _enabled && requestAnimationFrame(d); 27658 }, _pointerDownHandler = function() { 27659 return _pointerIsDown = 1; 27660 }, _pointerUpHandler = function() { 27661 return _pointerIsDown = 0; 27662 }, _passThrough = function(o) { 27663 return o; 27664 }, _round$1 = function(o) { 27665 return Math.round(o * 1e5) / 1e5 || 0; 27666 }, _windowExists$1 = function() { 27667 return typeof window < "u"; 27668 }, _getGSAP$1 = function() { 27669 return gsap$1 || _windowExists$1() && (gsap$1 = window.gsap) && gsap$1.registerPlugin && gsap$1; 27670 }, _isViewport = function(o) { 27671 return !!~_root.indexOf(o); 27672 }, _getViewportDimension = function(o) { 27673 return (o === "Height" ? _100vh : _win$2["inner" + o]) || _docEl["client" + o] || _body$2["client" + o]; 27674 }, _getBoundsFunc = function(o) { 27675 return _getProxyProp(o, "getBoundingClientRect") || (_isViewport(o) ? function() { 27676 return _winOffsets.width = _win$2.innerWidth, _winOffsets.height = _100vh, _winOffsets; 27677 } : function() { 27678 return _getBounds$1(o); 27679 }); 27680 }, _getSizeFunc = function(o, h, g) { 27681 var b = g.d, $ = g.d2, _e = g.a; 27682 return (_e = _getProxyProp(o, "getBoundingClientRect")) ? function() { 27683 return _e()[b]; 27684 } : function() { 27685 return (h ? _getViewportDimension($) : o["client" + $]) || 0; 27686 }; 27687 }, _getOffsetsFunc = function(o, h) { 27688 return !h || ~_proxies.indexOf(o) ? _getBoundsFunc(o) : function() { 27689 return _winOffsets; 27690 }; 27691 }, _maxScroll = function(o, h) { 27692 var g = h.s, b = h.d2, $ = h.d, _e = h.a; 27693 return Math.max(0, (g = "scroll" + b) && (_e = _getProxyProp(o, g)) ? _e() - _getBoundsFunc(o)()[$] : _isViewport(o) ? (_docEl[g] || _body$2[g]) - _getViewportDimension(b) : o[g] - o["offset" + b]); 27694 }, _iterateAutoRefresh = function(o, h) { 27695 for (var g = 0; g < _autoRefresh.length; g += 3) (!h || ~h.indexOf(_autoRefresh[g + 1])) && o(_autoRefresh[g], _autoRefresh[g + 1], _autoRefresh[g + 2]); 27696 }, _isString = function(o) { 27697 return typeof o == "string"; 27698 }, _isFunction$1 = function(o) { 27699 return typeof o == "function"; 27700 }, _isNumber = function(o) { 27701 return typeof o == "number"; 27702 }, _isObject$1 = function(o) { 27703 return typeof o == "object"; 27704 }, _endAnimation = function(o, h, g) { 27705 return o && o.progress(h ? 0 : 1) && g && o.pause(); 27706 }, _callback = function(o, h) { 27707 if (o.enabled) { 27708 var g = o._ctx ? o._ctx.add(function() { 27709 return h(o); 27710 }) : h(o);
27711 g && g.totalTime && (o.callbackAnimation = g); 27712 } 27713 }, _abs = Math.abs, _left = "left", _top = "top", _right = "right", _bottom = "bottom", _width = "width", _height = "height", _Right = "Right", _Left = "Left", _Top = "Top", _Bottom = "Bottom", _padding = "padding", _margin = "margin", _Width = "Width", _Height = "Height", _px = "px", _getComputedStyle$1 = function(o) { 27714 return _win$2.getComputedStyle(o); 27715 }, _makePositionable = function(o) { 27716 var h = _getComputedStyle$1(o).position; 27717 o.style.position = h === "absolute" || h === "fixed" ? h : "relative"; 27718 }, _setDefaults$1 = function(o, h) { 27719 for (var g in h) g in o || (o[g] = h[g]); 27720 return o; 27721 }, _getBounds$1 = function(o, h) { 27722 var g = h && _getComputedStyle$1(o)[_transformProp$2] !== "matrix(1, 0, 0, 1, 0, 0)" && gsap$1.to(o, { 27723 x: 0, 27724 y: 0, 27725 xPercent: 0, 27726 yPercent: 0, 27727 rotation: 0, 27728 rotationX: 0, 27729 rotationY: 0, 27730 scale: 1, 27731 skewX: 0, 27732 skewY: 0 27733 }).progress(1), b = o.getBoundingClientRect(); 27734 return g && g.progress(0).kill(), b; 27735 }, _getSize = function(o, h) { 27736 var g = h.d2; 27737 return o["offset" + g] || o["client" + g] || 0; 27738 }, _getLabelRatioArray = function(o) { 27739 var h = [], g = o.labels, b = o.duration(), $; 27740 for ($ in g) h.push(g[$] / b); 27741 return h; 27742 }, _getClosestLabel = function(o) { 27743 return function(h) { 27744 return gsap$1.utils.snap(_getLabelRatioArray(o), h); 27745 }; 27746 }, _snapDirectional = function(o) { 27747 var h = gsap$1.utils.snap(o), g = Array.isArray(o) && o.slice(0).sort(function(b, $) { 27748 return b - $; 27749 }); 27750 return g ? function(b, $, _e) { 27751 _e === void 0 && (_e = 1e-3); 27752 var et; 27753 if (!$) return h(b); 27754 if ($ > 0) { 27755 for (b -= _e, et = 0; et < g.length; et++) if (g[et] >= b) return g[et]; 27756 return g[et - 1]; 27757 } else for (et = g.length, b += _e; et--; ) if (g[et] <= b) return g[et]; 27758 return g[0]; 27759 } : function(b, $, _e) { 27760 _e === void 0 && (_e = 1e-3); 27761 var et = h(b); 27762 return !$ || Math.abs(et - b) < _e || et - b < 0 == $ < 0 ? et : h($ < 0 ? b - o : b + o); 27763 }; 27764 }, _getLabelAtDirection = function(o) { 27765 return function(h, g) { 27766 return _snapDirectional(_getLabelRatioArray(o))(h, g.direction); 27767 }; 27768 }, _multiListener = function(o, h, g, b) { 27769 return g.split(",").forEach(function($) { 27770 return o(h, $, b); 27771 }); 27772 }, _addListener$1 = function(o, h, g, b, $) { 27773 return o.addEventListener(h, g, { 27774 passive: !b, 27775 capture: !!$ 27776 }); 27777 }, _removeListener$1 = function(o, h, g, b) { 27778 return o.removeEventListener(h, g, !!b); 27779 }, _wheelListener = function(o, h, g) { 27780 g = g && g.wheelHandler, g && (o(h, "wheel", g), o(h, "touchmove", g)); 27781 }, _markerDefaults = { 27782 startColor: "green", 27783 endColor: "red", 27784 indent: 0, 27785 fontSize: "16px", 27786 fontWeight: "normal" 27787 }, _defaults = { 27788 toggleActions: "play", 27789 anticipatePin: 0 27790 }, _keywords = { 27791 top: 0, 27792 left: 0, 27793 center: 0.5, 27794 bottom: 1, 27795 right: 1 27796 }, _offsetToPx = function(o, h) { 27797 if (_isString(o)) { 27798 var g = o.indexOf("="), b = ~g ? +(o.charAt(g - 1) + 1) * parseFloat(o.substr(g + 1)) : 0; 27799 ~g && (o.indexOf("%") > g && (b *= h / 100), o = o.substr(0, g - 1)), o = b + (o in _keywords ? _keywords[o] * h : ~o.indexOf("%") ? parseFloat(o) * h / 100 : parseFloat(o) || 0); 27800 } 27801 return o; 27802 }, _createMarker = function(o, h, g, b, $, _e, et, tt) { 27803 var rt = $.startColor, nt = $.endColor, st = $.fontSize, ot = $.indent, it = $.fontWeight, at = _doc$2.createElement("div"), lt = _isViewport(g) || _getProxyProp(g, "pinType") === "fixed", ct = o.indexOf("scroller") !== -1, ut = lt ? _body$2 : g, ft = o.indexOf("start") !== -1, dt = ft ? rt : nt, pt = "border-color:" + dt + ";font-size:" + st + ";color:" + dt + ";font-weight:" + it + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;"; 27804 return pt += "position:" + ((ct || tt) && lt ? "fixed;" : "absolute;"), (ct || tt || !lt) && (pt += (b === _vertical ? _right : _bottom) + ":" + (_e + parseFloat(ot)) + "px;"), et && (pt += "box-sizing:border-box;text-align:left;
27804width:" + et.offsetWidth + "px;"), at._isStart = ft, at.setAttribute("class", "gsap-marker-" + o + (h ? " marker-" + h : "")), at.style.cssText = pt, at.innerText = h || h === 0 ? o + "-" + h : o, ut.children[0] ? ut.insertBefore(at, ut.children[0]) : ut.appendChild(at), at._offset = at["offset" + b.op.d2], _positionMarker(at, 0, b, ft), at; 27805 }, _positionMarker = function(o, h, g, b) { 27806 var $ = { 27807 display: "block" 27808 }, _e = g[b ? "os2" : "p2"], et = g[b ? "p2" : "os2"]; 27809 o._isFlipped = b, $[g.a + "Percent"] = b ? -100 : 0, $[g.a] = b ? "1px" : 0, $["border" + _e + _Width] = 1, $["border" + et + _Width] = 0, $[g.p] = h + "px", gsap$1.set(o, $); 27810 }, _triggers = [], _ids = {}, _rafID, _sync = function() { 27811 return _getTime$1() - _lastScrollTime > 34 && (_rafID || (_rafID = requestAnimationFrame(_updateAll))); 27812 }, _onScroll = function() { 27813 (!_normalizer || !_normalizer.isPressed || _normalizer.startX > _body$2.clientWidth) && (_scrollers.cache++, _normalizer ? _rafID || (_rafID = requestAnimationFrame(_updateAll)) : _updateAll(), _lastScrollTime || _dispatch("scrollStart"), _lastScrollTime = _getTime$1()); 27814 }, _setBaseDimensions = function() { 27815 _baseScreenWidth = _win$2.innerWidth, _baseScreenHeight = _win$2.innerHeight; 27816 }, _onResize = function(o) { 27817 _scrollers.cache++, (o === true || !_refreshing && !_ignoreResize && !_doc$2.fullscreenElement && !_doc$2.webkitFullscreenElement && (!_ignoreMobileResize || _baseScreenWidth !== _win$2.innerWidth || Math.abs(_win$2.innerHeight - _baseScreenHeight) > _win$2.innerHeight * 0.25)) && _resizeDelay.restart(true); 27818 }, _listeners = {}, _emptyArray = [], _softRefresh = function d() { 27819 return _removeListener$1(ScrollTrigger, "scrollEnd", d) || _refreshAll(true); 27820 }, _dispatch = function(o) { 27821 return _listeners[o] && _listeners[o].map(function(h) { 27822 return h(); 27823 }) || _emptyArray; 27824 }, _savedStyles = [], _revertRecorded = function(o) { 27825 for (var h = 0; h < _savedStyles.length; h += 5) (!o || _savedStyles[h + 4] && _savedStyles[h + 4].query === o) && (_savedStyles[h].style.cssText = _savedStyles[h + 1], _savedStyles[h].getBBox && _savedStyles[h].setAttribute("transform", _savedStyles[h + 2] || ""), _savedStyles[h + 3].uncache = 1); 27826 }, _revertAll = function(o, h) { 27827 var g; 27828 for (_i = 0; _i < _triggers.length; _i++) g = _triggers[_i], g && (!h || g._ctx === h) && (o ? g.kill(1) : g.revert(true, true)); 27829 _isReverted = true, h && _revertRecorded(h), h || _dispatch("revert"); 27830 }, _clearScrollMemory = function(o, h) { 27831 _scrollers.cache++, (h || !_refreshingAll) && _scrollers.forEach(function(g) { 27832 return _isFunction$1(g) && g.cacheID++ && (g.rec = 0); 27833 }), _isString(o) && (_win$2.history.scrollRestoration = _scrollRestoration = o); 27834 }, _refreshingAll, _refreshID = 0, _queueRefreshID, _queueRefreshAll = function() { 27835 if (_queueRefreshID !== _refreshID) { 27836 var o = _queueRefreshID = _refreshID; 27837 requestAnimationFrame(function() { 27838 return o === _refreshID && _refreshAll(true); 27839 }); 27840 } 27841 }, _refresh100vh = function() { 27842 _body$2.appendChild(_div100vh), _100vh = !_normalizer && _div100vh.offsetHeight || _win$2.innerHeight, _body$2.removeChild(_div100vh); 27843 }, _hideAllMarkers = function(o) { 27844 return _toArray$1(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(h) { 27845 return h.style.display = o ? "none" : "block"; 27846 }); 27847 }, _refreshAll = function(o, h) { 27848 if (_docEl = _doc$2.documentElement, _body$2 = _doc$2.body, _root = [ 27849 _win$2, 27850 _doc$2, 27851 _docEl, 27852 _body$2 27853 ], _lastScrollTime && !o && !_isReverted) { 27854 _addListener$1(ScrollTrigger, "scrollEnd", _softRefresh); 27855 return; 27856 } 27857 _refresh100vh(), _refreshingAll = ScrollTrigger.isRefreshing = true, _scrollers.forEach(function(b) { 27858 return _isFunction$1(b) && ++b.cacheID && (b.rec = b()); 27859 }); 27860 var g = _dispatch("refreshInit"); 27861 _sort && ScrollTrigger.sort(), h || _revertAll(), _scrollers.forEach(function(b) { 27862 _isFunction$1(b) && (b.smooth && (b.target.style.scrollBehavior = "auto"), b(0)); 27863 }
27863), _triggers.slice(0).forEach(function(b) { 27864 return b.refresh(); 27865 }), _isReverted = false, _triggers.forEach(function(b) { 27866 if (b._subPinOffset && b.pin) { 27867 var $ = b.vars.horizontal ? "offsetWidth" : "offsetHeight", _e = b.pin[$]; 27868 b.revert(true, 1), b.adjustPinSpacing(b.pin[$] - _e), b.refresh(); 27869 } 27870 }), _clampingMax = 1, _hideAllMarkers(true), _triggers.forEach(function(b) { 27871 var $ = _maxScroll(b.scroller, b._dir), _e = b.vars.end === "max" || b._endClamp && b.end > $, et = b._startClamp && b.start >= $; 27872 (_e || et) && b.setPositions(et ? $ - 1 : b.start, _e ? Math.max(et ? $ : b.start + 1, $) : b.end, true); 27873 }), _hideAllMarkers(false), _clampingMax = 0, g.forEach(function(b) { 27874 return b && b.render && b.render(-1); 27875 }), _scrollers.forEach(function(b) { 27876 _isFunction$1(b) && (b.smooth && requestAnimationFrame(function() { 27877 return b.target.style.scrollBehavior = "smooth"; 27878 }), b.rec && b(b.rec)); 27879 }), _clearScrollMemory(_scrollRestoration, 1), _resizeDelay.pause(), _refreshID++, _refreshingAll = 2, _updateAll(2), _triggers.forEach(function(b) { 27880 return _isFunction$1(b.vars.onRefresh) && b.vars.onRefresh(b); 27881 }), _refreshingAll = ScrollTrigger.isRefreshing = false, _dispatch("refresh"); 27882 }, _lastScroll = 0, _direction = 1, _primary, _updateAll = function(o) { 27883 if (o === 2 || !_refreshingAll && !_isReverted) { 27884 ScrollTrigger.isUpdating = true, _primary && _primary.update(0); 27885 var h = _triggers.length, g = _getTime$1(), b = g - _time1 >= 50, $ = h && _triggers[0].scroll(); 27886 if (_direction = _lastScroll > $ ? -1 : 1, _refreshingAll || (_lastScroll = $), b && (_lastScrollTime && !_pointerIsDown && g - _lastScrollTime > 200 && (_lastScrollTime = 0, _dispatch("scrollEnd")), _time2 = _time1, _time1 = g), _direction < 0) { 27887 for (_i = h; _i-- > 0; ) _triggers[_i] && _triggers[_i].update(0, b); 27888 _direction = 1; 27889 } else for (_i = 0; _i < h; _i++) _triggers[_i] && _triggers[_i].update(0, b); 27890 ScrollTrigger.isUpdating = false; 27891 } 27892 _rafID = 0; 27893 }, _propNamesToCopy = [ 27894 _left, 27895 _top, 27896 _bottom, 27897 _right, 27898 _margin + _Bottom, 27899 _margin + _Right, 27900 _margin + _Top, 27901 _margin + _Left, 27902 "display", 27903 "flexShrink", 27904 "float", 27905 "zIndex", 27906 "gridColumnStart", 27907 "gridColumnEnd", 27908 "gridRowStart", 27909 "gridRowEnd", 27910 "gridArea", 27911 "justifySelf", 27912 "alignSelf", 27913 "placeSelf", 27914 "order" 27915 ], _stateProps = _propNamesToCopy.concat([ 27916 _width, 27917 _height, 27918 "boxSizing", 27919 "max" + _Width, 27920 "max" + _Height, 27921 "position", 27922 _margin, 27923 _padding, 27924 _padding + _Top, 27925 _padding + _Right, 27926 _padding + _Bottom, 27927 _padding + _Left 27928 ]), _swapPinOut = function(o, h, g) { 27929 _setState(g); 27930 var b = o._gsap; 27931 if (b.spacerIsNative) _setState(b.spacerState); 27932 else if (o._gsap.swappedIn) { 27933 var $ = h.parentNode; 27934 $ && ($.insertBefore(o, h), $.removeChild(h)); 27935 } 27936 o._gsap.swappedIn = false; 27937 }, _swapPinIn = function(o, h, g, b) { 27938 if (!o._gsap.swappedIn) { 27939 for (var $ = _propNamesToCopy.length, _e = h.style, et = o.style, tt; $--; ) tt = _propNamesToCopy[$], _e[tt] = g[tt]; 27940 _e.position = g.position === "absolute" ? "absolute" : "relative", g.display === "inline" && (_e.display = "inline-block"), et[_bottom] = et[_right] = "auto", _e.flexBasis = g.flexBasis || "auto", _e.overflow = "visible", _e.boxSizing = "border-box", _e[_width] = _getSize(o, _horizontal) + _px, _e[_height] = _getSize(o, _vertical) + _px, _e[_padding] = et[_margin] = et[_top] = et[_left] = "0", _setState(b), et[_width] = et["max" + _Width] = g[_width], et[_height] = et["max" + _Height] = g[_height], et[_padding] = g[_padding], o.parentNode !== h && (o.parentNode.insertBefore(h, o), h.appendChild(o)), o._gsap.swappedIn = true; 27941 } 27942 }, _capsExp = /([A-Z])/g, _setState = function(o) { 27943 if (o) { 27944 var h = o.t.style, g = o.length, b = 0, $, _e; 27945 for ((o.t._gsap || gsap$1.core.getCache(o.t)).uncache = 1; b < g; b += 2) _e = o[b + 1], $ = o[b], _e ? h[$] = _e : h[$] && h.removeProperty($.replace(_capsExp, "-$1").toLowerCase()); 27946 } 27947 }, _getState = function(o) { 27948 for (var h = _stateProps.length, g = o.style, b = [], $ = 0; $ < h; $++) b.push(_stateProps[$], g[_stateProps[$]]); 27949 return b.t = o, b; 27950 }, _copyState = function(o, h, g) { 27951 for (var b = [], $ = o.length, _e = g ? 8 : 0, et; _e < $; _e += 2) et = o[_e], b.push(et, et in h ? h[et] : o[_e + 1]); 27952 return b.t = o.t, b; 27953 }, _winOffsets = { 27954 left: 0, 27955 top: 0 27956 }, _parsePosition = function(o, h, g, b, $, _e, et, tt, rt, nt, st, ot, it, at) { 27957 _isFunction$1(o) && (o = o(tt)), _isString(o) && o.substr(0, 3) === "max" && (o = ot + (o.charAt(4) === "=" ? _offsetToPx("0" + o.substr(3), g) : 0)); 27958 var lt = it ? it.time() : 0, ct, ut, ft; 27959 if (it && it.seek(0), isNaN(o) || (o = +o), _isNumber(o)) it && (o = gsap$1.utils.mapRange(it.scrollTrigger.start, it.scrollTrigger.end, 0, ot, o)), et && _positionMarker(et, g, b, true); 27960 else { 27961 _isFunction$1(h) && (h = h(tt)); 27962 var dt = (o || "0").split(" "), pt, ht, mt, gt; 27963 ft = _getTarget(h, tt) || _body$2, pt = _getBounds$1(ft) || {}, (!pt || !pt.left && !pt.top) && _getComputedStyle$1(ft).display === "none" && (gt = ft.style.display, ft.style.display = "block", pt = _getBounds$1(ft), gt ? ft.style.display = gt : ft.style.removeProperty("display")), ht = _offsetToPx(dt[0], pt[b.d]), mt = _offsetToPx(dt[1] || "0", g), o = pt[b.p] - rt[b.p] - nt + ht
27963+ $ - mt, et && _positionMarker(et, mt, b, g - mt < 20 || et._isStart && mt > 20), g -= g - mt; 27964 } 27965 if (at && (tt[at] = o || -1e-3, o < 0 && (o = 0)), _e) { 27966 var yt = o + g, xt = _e._isStart; 27967 ct = "scroll" + b.d2, _positionMarker(_e, yt, b, xt && yt > 20 || !xt && (st ? Math.max(_body$2[ct], _docEl[ct]) : _e.parentNode[ct]) <= yt + 1), st && (rt = _getBounds$1(et), st && (_e.style[b.op.p] = rt[b.op.p] - b.op.m - _e._offset + _px)); 27968 } 27969 return it && ft && (ct = _getBounds$1(ft), it.seek(ot), ut = _getBounds$1(ft), it._caScrollDist = ct[b.p] - ut[b.p], o = o / it._caScrollDist * ot), it && it.seek(lt), it ? o : Math.round(o); 27970 }, _prefixExp = /(webkit|moz|length|cssText|inset)/i, _reparent = function(o, h, g, b) { 27971 if (o.parentNode !== h) { 27972 var $ = o.style, _e, et; 27973 if (h === _body$2) { 27974 o._stOrig = $.cssText, et = _getComputedStyle$1(o); 27975 for (_e in et) !+_e && !_prefixExp.test(_e) && et[_e] && typeof $[_e] == "string" && _e !== "0" && ($[_e] = et[_e]); 27976 $.top = g, $.left = b; 27977 } else $.cssText = o._stOrig; 27978 gsap$1.core.getCache(o).uncache = 1, h.appendChild(o); 27979 } 27980 }, _interruptionTracker = function(o, h, g) { 27981 var b = h, $ = b; 27982 return function(_e) { 27983 var et = Math.round(o()); 27984 return et !== b && et !== $ && Math.abs(et - b) > 3 && Math.abs(et - $) > 3 && (_e = et, g && g()), $ = b, b = Math.round(_e), b; 27985 }; 27986 }, _shiftMarker = function(o, h, g) { 27987 var b = {}; 27988 b[h.p] = "+=" + g, gsap$1.set(o, b); 27989 }, _getTweenCreator = function(o, h) { 27990 var g = _getScrollFunc(o, h), b = "_scroll" + h.p2, $ = function _e(et, tt, rt, nt, st) { 27991 var ot = _e.tween, it = tt.onComplete, at = {}; 27992 rt = rt || g(); 27993 var lt = _interruptionTracker(g, rt, function() { 27994 ot.kill(), _e.tween = 0; 27995 }); 27996 return st = nt && st || 0, nt = nt || et - rt, ot && ot.kill(), tt[b] = et, tt.inherit = false, tt.modifiers = at, at[b] = function() { 27997 return lt(rt + nt * ot.ratio + st * ot.ratio * ot.ratio); 27998 }, tt.onUpdate = function() { 27999 _scrollers.cache++, _e.tween && _updateAll(); 28000 }, tt.onComplete = function() { 28001 _e.tween = 0, it && it.call(ot); 28002 }, ot = _e.tween = gsap$1.to(o, tt), ot; 28003 }; 28004 return o[b] = g, g.wheelHandler = function() { 28005 return $.tween && $.tween.kill() && ($.tween = 0); 28006 }, _addListener$1(o, "wheel", g.wheelHandler), ScrollTrigger.isTouch && _addListener$1(o, "touchmove", g.wheelHandler), $; 28007 }, ScrollTrigger = function() { 28008 function d(h, g) { 28009 _coreInitted$1 || d.register(gsap$1) || console.warn("Please gsap.registerPlugin(ScrollTrigger)"), _context$1(this), this.init(h, g); 28010 } 28011 var o = d.prototype; 28012 return o.init = function(g, b) { 28013 if (this.progress = this.start = 0, this.vars && this.kill(true, true), !_enabled) { 28014 this.update = this.refresh = this.kill = _passThrough; 28015 return; 28016 } 28017 g = _setDefaults$1(_isString(g) || _isNumber(g) || g.nodeType ? { 28018 trigger: g 28019 } : g, _defaults); 28020 var $ = g, _e = $.onUpdate, et = $.toggleClass, tt = $.id, rt = $.onToggle, nt = $.onRefresh, st = $.scrub, ot = $.trigger, it = $.pin, at = $.pinSpacing, lt = $.invalidateOnRefresh, ct = $.anticipatePin, ut = $.onScrubComplete, ft = $.onSnapComplete, dt = $.once, pt = $.snap, ht = $.pinReparent, mt = $.pinSpacer, gt = $.containerAnimation, yt = $.fastScrollEnd, xt = $.preventOverlaps, _t = g.horizontal || g.containerAnimation && g.horizontal !== false ? _horizontal : _vertical, St = !st && st !== 0, kt = _getTarget(g.scroller || _win$2), Rt = gsap$1.core.getCache(kt), Tt = _isViewport(kt), Yt = ("pinType" in g ? g.pinType : _getProxyProp(kt, "pinType") || Tt && "fixed") === "fixed", Dt = [ 28021 g.onEnter, 28022 g.onLeave, 28023 g.onEnterBack, 28024 g.onLeaveBack 28025 ], Ot = St && g.toggleActions.split(" "), Mt = "markers" in g ? g.markers : _defaults.markers, Vt = Tt ? 0 : parseFloat(_getComputedStyle$1(kt)["border" + _t.p2 + _Width]) || 0, Et = this, Ht = g.onRefreshInit && function() { 28026 return g.onRefreshInit(Et); 28027 }
28027, Kt = _getSizeFunc(kt, Tt, _t), ir = _getOffsetsFunc(kt, Tt), sr = 0, Er = 0, $t = 0, pr = _getScrollFunc(kt, _t), fr, Ur, Tr, Rr, Or, Ar, yr, gr, Qr, zt, Cr, Hr, un, Dr, Sr, Ir, Kr, Nr, ar, or, dr, br, Fr, Lr, mr, hr, zr, sn, en, on, dn, _r, pn, Vr, tn, an, fn, lr, Nt; 28028 if (Et._startClamp = Et._endClamp = false, Et._dir = _t, ct *= 45, Et.scroller = kt, Et.scroll = gt ? gt.time.bind(gt) : pr, Rr = pr(), Et.vars = g, b = b || g.animation, "refreshPriority" in g && (_sort = 1, g.refreshPriority === -9999 && (_primary = Et)), Rt.tweenScroll = Rt.tweenScroll || { 28029 top: _getTweenCreator(kt, _vertical), 28030 left: _getTweenCreator(kt, _horizontal) 28031 }, Et.tweenTo = fr = Rt.tweenScroll[_t.p], Et.scrubDuration = function(jt) { 28032 pn = _isNumber(jt) && jt, pn ? _r ? _r.duration(jt) : _r = gsap$1.to(b, { 28033 ease: "expo", 28034 totalProgress: "+=0", 28035 inherit: false, 28036 duration: pn, 28037 paused: true, 28038 onComplete: function() { 28039 return ut && ut(Et); 28040 } 28041 }) : (_r && _r.progress(1).kill(), _r = 0); 28042 }, b && (b.vars.lazy = false, b._initted && !Et.isReverted || b.vars.immediateRender !== false && g.immediateRender !== false && b.duration() && b.render(0, true, true), Et.animation = b.pause(), b.scrollTrigger = Et, Et.scrubDuration(st), on = 0, tt || (tt = b.vars.id)), pt && ((!_isObject$1(pt) || pt.push) && (pt = { 28043 snapTo: pt 28044 }), "scrollBehavior" in _body$2.style && gsap$1.set(Tt ? [ 28045 _body$2, 28046 _docEl 28047 ] : kt, { 28048 scrollBehavior: "auto" 28049 }), _scrollers.forEach(function(jt) { 28050 return _isFunction$1(jt) && jt.target === (Tt ? _doc$2.scrollingElement || _docEl : kt) && (jt.smooth = false); 28051 }), Tr = _isFunction$1(pt.snapTo) ? pt.snapTo : pt.snapTo === "labels" ? _getClosestLabel(b) : pt.snapTo === "labelsDirectional" ? _getLabelAtDirection(b) : pt.directional !== false ? function(jt, Ut) { 28052 return _snapDirectional(pt.snapTo)(jt, _getTime$1() - Er < 500 ? 0 : Ut.direction); 28053 } : gsap$1.utils.snap(pt.snapTo), Vr = pt.duration || { 28054 min: 0.1, 28055 max: 2 28056 }, Vr = _isObject$1(Vr) ? _clamp(Vr.min, Vr.max) : _clamp(Vr, Vr), tn = gsap$1.delayedCall(pt.delay || pn / 2 || 0.1, function() { 28057 var jt = pr(), Ut = _getTime$1() - Er < 500, Lt = fr.tween; 28058 if ((Ut || Math.abs(Et.getVelocity()) < 10) && !Lt && !_pointerIsDown && sr !== jt) { 28059 var Qt = (jt - Ar) / Dr, Wt = b && !St ? b.totalProgress() : Qt, Zt = Ut ? 0 : (Wt - dn) / (_getTime$1() - _time2) * 1e3 || 0, Xt = gsap$1.utils.clamp(-Qt, 1 - Qt, _abs(Zt / 2) * Zt / 0.185), tr = Qt + (pt.inertia === false ? 0 : Xt), rr, nr, cr = pt, xr = cr.onStart, ur = cr.onInterrupt, jr = cr.onComplete; 28060 if (rr = Tr(tr, Et), _isNumber(rr) || (rr = tr), nr = Math.max(0, Math.round(Ar + rr * Dr)), jt <= yr && jt >= Ar && nr !== jt) { 28061 if (Lt && !Lt._initted && Lt.data <= _abs(nr - jt)) return; 28062 pt.inertia === false && (Xt = rr - Qt), fr(nr, { 28063 duration: Vr(_abs(Math.max(_abs(tr - Wt), _abs(rr - Wt)) * 0.185 / Zt / 0.05 || 0)), 28064 ease: pt.ease || "power3", 28065 data: _abs(nr - jt), 28066 onInterrupt: function() { 28067 return tn.restart(true) && ur && ur(Et); 28068 }, 28069 onComplete: function() { 28070 Et.update(), sr = pr(), b && !St && (_r ? _r.resetTo("totalProgress", rr, b._tTime / b._tDur) : b.progress(rr)), on = dn = b && !St ? b.totalProgress() : Et.progress, ft && ft(Et), jr && jr(Et); 28071 } 28072 }, jt, Xt * Dr, nr - jt - Xt * Dr), xr && xr(Et, fr.tween); 28073 } 28074 } else Et.isActive && sr !== jt && tn.restart(true); 28075 }).pause()), tt && (_ids[tt] = Et), ot = Et.trigger = _getTarget(ot || it !== true && it), Nt = ot && ot._gsap && ot._gsap.stRevert, Nt && (Nt = Nt(Et)), it = it === true ? ot : _getTarget(it), _isString(et) && (et = { 28076 targets: ot, 28077 className: et 28078 }), it && (at === false || at === _margin || (at = !at && it.parentNode && it.parentNode.style && _getComputedStyle$1(it.parentNode).display === "flex" ? false : _padding), Et.pin = it, Ur = gsap$1.core.getCache(it), Ur.spacer ? Sr = Ur.pinState : (mt && (mt = _getTarget(mt), mt && !mt.nodeType && (mt = mt.current || mt.nativeElement), Ur.spacerIsNative = !!mt, mt && (Ur.spacerState = _get
vendor: 5,824 bytes, lines 28078-28134
28078State(mt))), Ur.spacer = Nr = mt || _doc$2.createElement("div"), Nr.classList.add("pin-spacer"), tt && Nr.classList.add("pin-spacer-" + tt), Ur.pinState = Sr = _getState(it)), g.force3D !== false && gsap$1.set(it, { 28079 force3D: true 28080 }), Et.spacer = Nr = Ur.spacer, en = _getComputedStyle$1(it), Lr = en[at + _t.os2], or = gsap$1.getProperty(it), dr = gsap$1.quickSetter(it, _t.a, _px), _swapPinIn(it, Nr, en), Kr = _getState(it)), Mt) { 28081 Hr = _isObject$1(Mt) ? _setDefaults$1(Mt, _markerDefaults) : _markerDefaults, zt = _createMarker("scroller-start", tt, kt, _t, Hr, 0), Cr = _createMarker("scroller-end", tt, kt, _t, Hr, 0, zt), ar = zt["offset" + _t.op.d2]; 28082 var Jt = _getTarget(_getProxyProp(kt, "content") || kt); 28083 gr = this.markerStart = _createMarker("start", tt, Jt, _t, Hr, ar, 0, gt), Qr = this.markerEnd = _createMarker("end", tt, Jt, _t, Hr, ar, 0, gt), gt && (lr = gsap$1.quickSetter([ 28084 gr, 28085 Qr 28086 ], _t.a, _px)), !Yt && !(_proxies.length && _getProxyProp(kt, "fixedMarkers") === true) && (_makePositionable(Tt ? _body$2 : kt), gsap$1.set([ 28087 zt, 28088 Cr 28089 ], { 28090 force3D: true 28091 }), hr = gsap$1.quickSetter(zt, _t.a, _px), sn = gsap$1.quickSetter(Cr, _t.a, _px)); 28092 } 28093 if (gt) { 28094 var vt = gt.vars.onUpdate, wt = gt.vars.onUpdateParams; 28095 gt.eventCallback("onUpdate", function() { 28096 Et.update(0, 0, 1), vt && vt.apply(gt, wt || []); 28097 }); 28098 } 28099 if (Et.previous = function() { 28100 return _triggers[_triggers.indexOf(Et) - 1]; 28101 }, Et.next = function() { 28102 return _triggers[_triggers.indexOf(Et) + 1]; 28103 }, Et.revert = function(jt, Ut) { 28104 if (!Ut) return Et.kill(true); 28105 var Lt = jt !== false || !Et.enabled, Qt = _refreshing; 28106 Lt !== Et.isReverted && (Lt && (an = Math.max(pr(), Et.scroll.rec || 0), $t = Et.progress, fn = b && b.progress()), gr && [ 28107 gr, 28108 Qr, 28109 zt, 28110 Cr 28111 ].forEach(function(Wt) { 28112 return Wt.style.display = Lt ? "none" : "block"; 28113 }), Lt && (_refreshing = Et, Et.update(Lt)), it && (!ht || !Et.isActive) && (Lt ? _swapPinOut(it, Nr, Sr) : _swapPinIn(it, Nr, _getComputedStyle$1(it), mr)), Lt || Et.update(Lt), _refreshing = Qt, Et.isReverted = Lt); 28114 }, Et.refresh = function(jt, Ut, Lt, Qt) { 28115 if (!((_refreshing || !Et.enabled) && !Ut)) { 28116 if (it && jt && _lastScrollTime) { 28117 _addListener$1(d, "scrollEnd", _softRefresh); 28118 return; 28119 } 28120 !_refreshingAll && Ht && Ht(Et), _refreshing = Et, fr.tween && !Lt && (fr.tween.kill(), fr.tween = 0), _r && _r.pause(), lt && b && (b.revert({ 28121 kill: false 28122 }).invalidate(), b.getChildren && b.getChildren(true, true, false).forEach(function(Mr) { 28123 return Mr.vars.immediateRender && Mr.render(0, true, true); 28124 })), Et.isReverted || Et.revert(true, true), Et._subPinOffset = false; 28125 var Wt = Kt(), Zt = ir(), Xt = gt ? gt.duration() : _maxScroll(kt, _t), tr = Dr <= 0.01 || !Dr, rr = 0, nr = Qt || 0, cr = _isObject$1(Lt) ? Lt.end : g.end, xr = g.endTrigger || ot, ur = _isObject$1(Lt) ? Lt.start : g.start || (g.start === 0 || !ot ? 0 : it ? "0 0" : "0 100%"), jr = Et.pinnedContainer = g.pinnedContainer && _getTarget(g.pinnedContainer, Et), vr = ot && Math.max(0, _triggers.indexOf(Et)) || 0, Zr = vr, Yr, Xr, qr, ln, Wr, Jr, rn, vn, Pr, nn, $r, hn, gn; 28126 for (Mt && _isObject$1(Lt) && (hn = gsap$1.getProperty(zt, _t.p), gn = gsap$1.getProperty(Cr, _t.p)); Zr-- > 0; ) Jr = _triggers[Zr], Jr.end || Jr.refresh(0, 1) || (_refreshing = Et), rn = Jr.pin, rn && (rn === ot || rn === it || rn === jr) && !Jr.isReverted && (nn || (nn = []), nn.unshift(Jr), Jr.revert(true, true)), Jr !== _triggers[Zr] && (vr--, Zr--); 28127 for (_isFunction$1(ur) && (ur = ur(Et)), ur = _parseClamp(ur, "start", Et), Ar = _parsePosition(ur, ot, Wt, _t, pr(), gr, zt, Et, Zt, Vt, Yt, Xt, gt, Et._startClamp && "_startClamp") || (it ? -1e-3 : 0), _isFunction$1(cr) && (cr = cr(Et)), _isString(cr) && !cr.indexOf("+=") && (~cr.indexOf(" ") ? cr = (_isString(ur) ? ur.split(" ")[0] : "") + cr : (rr = _offsetToPx(cr.substr(2), Wt), cr = _isString(ur) ? ur : (gt ? gsap$1.utils.mapRange(0, gt.duration(), gt.scrollTrigger.start, gt.scrollTrigger.end, Ar) : Ar) + rr, xr = ot)), cr = _parseClamp(cr, "end", Et), yr = Math.max(Ar, _parsePosition(cr || (xr ? "100% 0" : Xt), xr, Wt, _t, pr() + rr, Qr, Cr, Et, Zt, Vt, Yt, Xt, gt, Et._endClamp && "_endClamp")) || -1e-3, rr = 0, Zr = vr; Zr--; ) Jr = _triggers[Zr], rn = Jr.pin, rn && Jr.start - Jr._pinPush <= Ar && !gt && Jr.end > 0 && (Yr = Jr.end - (Et._startClamp ? Math.max(0, Jr.start) : Jr.start), (rn === ot && Jr.start - Jr._pinPush < Ar || rn === jr) && isNaN(ur) && (rr += Yr * (1 - Jr.progress)), rn === it && (nr += Yr)); 28128 if (Ar += rr, yr += rr, Et._startClamp && (Et._startClamp += rr), Et._endClamp && !_refreshingAll && (Et._endClamp = yr || -1e-3, yr = Math.min(yr, _maxScroll(kt, _t))), Dr = yr - Ar || (Ar -= 0.01) && 1e-3, tr && ($t = gsap$1.utils.clamp(0, 1, gsap$1.utils.normalize(Ar, yr, an))), Et._pinPush = nr, gr && rr && (Yr = {}, Yr[_t.a] = "+=" + rr, jr && (Yr[_t.p] = "-=" + pr()), gsap$1.set([ 28129 gr, 28130 Qr 28131 ], Yr)), it && !(_clampingMax && Et.end >= _maxScroll(kt, _t))) Yr = _getComputedStyle$1(it), ln = _t === _vertical, qr = pr(), br = parseFloat(or(_t.a)) + nr, !Xt && yr > 1 && ($r = (Tt ? _doc$2.scrollingElement || _docEl : kt).style, $r = { 28132 style: $r, 28133 value: $r["overflow" + _t.a.toUpperCase()] 28134 }, Tt && _getComputedStyle$1(_body$2)["overflow" + _t.a.toUpperCase()] !== "scroll" && ($r.style["overflow" + _t.a.toUpperCase()] = "scroll")), _swapPinIn(it, Nr, Yr), Kr = _get
vendor: 6,116 bytes, lines 28134-28179
28134State(it), Xr = _getBounds$1(it, true), vn = Yt && _getScrollFunc(kt, ln ? _horizontal : _vertical)(), at ? (mr = [ 28135 at + _t.os2, 28136 Dr + nr + _px 28137 ], mr.t = Nr, Zr = at === _padding ? _getSize(it, _t) + Dr + nr : 0, Zr && (mr.push(_t.d, Zr + _px), Nr.style.flexBasis !== "auto" && (Nr.style.flexBasis = Zr + _px)), _setState(mr), jr && _triggers.forEach(function(Mr) { 28138 Mr.pin === jr && Mr.vars.pinSpacing !== false && (Mr._subPinOffset = true); 28139 }), Yt && pr(an)) : (Zr = _getSize(it, _t), Zr && Nr.style.flexBasis !== "auto" && (Nr.style.flexBasis = Zr + _px)), Yt && (Wr = { 28140 top: Xr.top + (ln ? qr - Ar : vn) + _px, 28141 left: Xr.left + (ln ? vn : qr - Ar) + _px, 28142 boxSizing: "border-box", 28143 position: "fixed" 28144 }, Wr[_width] = Wr["max" + _Width] = Math.ceil(Xr.width) + _px, Wr[_height] = Wr["max" + _Height] = Math.ceil(Xr.height) + _px, Wr[_margin] = Wr[_margin + _Top] = Wr[_margin + _Right] = Wr[_margin + _Bottom] = Wr[_margin + _Left] = "0", Wr[_padding] = Yr[_padding], Wr[_padding + _Top] = Yr[_padding + _Top], Wr[_padding + _Right] = Yr[_padding + _Right], Wr[_padding + _Bottom] = Yr[_padding + _Bottom], Wr[_padding + _Left] = Yr[_padding + _Left], Ir = _copyState(Sr, Wr, ht), _refreshingAll && pr(0)), b ? (Pr = b._initted, _suppressOverwrites(1), b.render(b.duration(), true, true), Fr = or(_t.a) - br + Dr + nr, zr = Math.abs(Dr - Fr) > 1, Yt && zr && Ir.splice(Ir.length - 2, 2), b.render(0, true, true), Pr || b.invalidate(true), b.parent || b.totalTime(b.totalTime()), _suppressOverwrites(0)) : Fr = Dr, $r && ($r.value ? $r.style["overflow" + _t.a.toUpperCase()] = $r.value : $r.style.removeProperty("overflow-" + _t.a)); 28145 else if (ot && pr() && !gt) for (Xr = ot.parentNode; Xr && Xr !== _body$2; ) Xr._pinOffset && (Ar -= Xr._pinOffset, yr -= Xr._pinOffset), Xr = Xr.parentNode; 28146 nn && nn.forEach(function(Mr) { 28147 return Mr.revert(false, true); 28148 }), Et.start = Ar, Et.end = yr, Rr = Or = _refreshingAll ? an : pr(), !gt && !_refreshingAll && (Rr < an && pr(an), Et.scroll.rec = 0), Et.revert(false, true), Er = _getTime$1(), tn && (sr = -1, tn.restart(true)), _refreshing = 0, b && St && (b._initted || fn) && b.progress() !== fn && b.progress(fn || 0, true).render(b.time(), true, true), (tr || $t !== Et.progress || gt || lt || b && !b._initted) && (b && !St && (b._initted || $t || b.vars.immediateRender !== false) && b.totalProgress(gt && Ar < -1e-3 && !$t ? gsap$1.utils.normalize(Ar, yr, 0) : $t, true), Et.progress = tr || (Rr - Ar) / Dr === $t ? 0 : $t), it && at && (Nr._pinOffset = Math.round(Et.progress * Fr)), _r && _r.invalidate(), isNaN(hn) || (hn -= gsap$1.getProperty(zt, _t.p), gn -= gsap$1.getProperty(Cr, _t.p), _shiftMarker(zt, _t, hn), _shiftMarker(gr, _t, hn - (Qt || 0)), _shiftMarker(Cr, _t, gn), _shiftMarker(Qr, _t, gn - (Qt || 0))), tr && !_refreshingAll && Et.update(), nt && !_refreshingAll && !un && (un = true, nt(Et), un = false); 28149 } 28150 }, Et.getVelocity = function() { 28151 return (pr() - Or) / (_getTime$1() - _time2) * 1e3 || 0; 28152 }, Et.endAnimation = function() { 28153 _endAnimation(Et.callbackAnimation), b && (_r ? _r.progress(1) : b.paused() ? St || _endAnimation(b, Et.direction < 0, 1) : _endAnimation(b, b.reversed())); 28154 }, Et.labelToScroll = function(jt) { 28155 return b && b.labels && (Ar || Et.refresh() || Ar) + b.labels[jt] / b.duration() * Dr || 0; 28156 }, Et.getTrailing = function(jt) { 28157 var Ut = _triggers.indexOf(Et), Lt = Et.direction > 0 ? _triggers.slice(0, Ut).reverse() : _triggers.slice(Ut + 1); 28158 return (_isString(jt) ? Lt.filter(function(Qt) { 28159 return Qt.vars.preventOverlaps === jt; 28160 }) : Lt).filter(function(Qt) { 28161 return Et.direction > 0 ? Qt.end <= Ar : Qt.start >= yr; 28162 }); 28163 }, Et.update = function(jt, Ut, Lt) { 28164 if (!(gt && !Lt && !jt)) { 28165 var Qt = _refreshingAll === true ? an : Et.scroll(), Wt = jt ? 0 : (Qt - Ar) / Dr, Zt = Wt < 0 ? 0 : Wt > 1 ? 1 : Wt || 0, Xt = Et.progress, tr, rr, nr, cr, xr, ur, jr, vr; 28166 if (Ut && (Or = Rr, Rr = gt ? pr() : Qt, pt && (dn = on, on = b && !St ? b.totalProgress() : Zt)), ct && it && !_refreshing && !_startup && _lastScrollTime && (!Zt && Ar < Qt + (Qt - Or) / (_getTime$1() - _time2) * ct ? Zt = 1e-4 : Zt === 1 && yr > Qt + (Qt - Or) / (_getTime$1() - _time2) * ct && (Zt = 0.9999)), Zt !== Xt && Et.enabled) { 28167 if (tr = Et.isActive = !!Zt && Zt < 1, rr = !!Xt && Xt < 1, ur = tr !== rr, xr = ur || !!Zt != !!Xt, Et.direction = Zt > Xt ? 1 : -1, Et.progress = Zt, xr && !_refreshing && (nr = Zt && !Xt ? 0 : Zt === 1 ? 1 : Xt === 1 ? 2 : 3, St && (cr = !ur && Ot[nr + 1] !== "none" && Ot[nr + 1] || Ot[nr], vr = b && (cr === "complete" || cr === "reset" || cr in b))), xt && (ur || vr) && (vr || st || !b) && (_isFunction$1(xt) ? xt(Et) : Et.getTrailing(xt).forEach(function(qr) { 28168 return qr.endAnimation(); 28169 })), St || (_r && !_refreshing && !_startup ? (_r._dp._time - _r._start !== _r._time && _r.render(_r._dp._time - _r._start), _r.resetTo ? _r.resetTo("totalProgress", Zt, b._tTime / b._tDur) : (_r.vars.totalProgress = Zt, _r.invalidate().restart())) : b && b.totalProgress(Zt, !!(_refreshing && (Er || jt)))), it) { 28170 if (jt && at && (Nr.style[at + _t.os2] = Lr), !Yt) dr(_round$1(br + Fr * Zt)); 28171 else if (xr) { 28172 if (jr = !jt && Zt > Xt && yr + 1 > Qt && Qt + 1 >= _maxScroll(kt, _t), ht) if (!jt && (tr || jr)) { 28173 var Zr = _getBounds$1(it, true), Yr = Qt - Ar; 28174 _reparent(it, _body$2, Zr.top + (_t === _vertical ? Yr : 0) + _px, Zr.left + (_t === _vertical ? 0 : Yr) + _px); 28175 } else _reparent(it, Nr); 28176 _setState(tr || jr ? Ir : Kr), zr && Zt < 1 && tr || dr(br + (Zt === 1 && !jr ? Fr : 0)); 28177 } 28178 } 28179 pt && !fr.tween && !_refreshing && !_startup && tn.restart(true), et && (ur || dt && Zt && (Zt < 1 || !_limitCallbacks)) && _toArray$1(et.targets).forEac
28179h(function(qr) { 28180 return qr.classList[tr || dt ? "add" : "remove"](et.className); 28181 }), _e && !St && !jt && _e(Et), xr && !_refreshing ? (St && (vr && (cr === "complete" ? b.pause().totalProgress(1) : cr === "reset" ? b.restart(true).pause() : cr === "restart" ? b.restart(true) : b[cr]()), _e && _e(Et)), (ur || !_limitCallbacks) && (rt && ur && _callback(Et, rt), Dt[nr] && _callback(Et, Dt[nr]), dt && (Zt === 1 ? Et.kill(false, 1) : Dt[nr] = 0), ur || (nr = Zt === 1 ? 1 : 3, Dt[nr] && _callback(Et, Dt[nr]))), yt && !tr && Math.abs(Et.getVelocity()) > (_isNumber(yt) ? yt : 2500) && (_endAnimation(Et.callbackAnimation), _r ? _r.progress(1) : _endAnimation(b, cr === "reverse" ? 1 : !Zt, 1))) : St && _e && !_refreshing && _e(Et); 28182 } 28183 if (sn) { 28184 var Xr = gt ? Qt / gt.duration() * (gt._caScrollDist || 0) : Qt; 28185 hr(Xr + (zt._isFlipped ? 1 : 0)), sn(Xr); 28186 } 28187 lr && lr(-Qt / gt.duration() * (gt._caScrollDist || 0)); 28188 } 28189 }, Et.enable = function(jt, Ut) { 28190 Et.enabled || (Et.enabled = true, _addListener$1(kt, "resize", _onResize), Tt || _addListener$1(kt, "scroll", _onScroll), Ht && _addListener$1(d, "refreshInit", Ht), jt !== false && (Et.progress = $t = 0, Rr = Or = sr = pr()), Ut !== false && Et.refresh()); 28191 }, Et.getTween = function(jt) { 28192 return jt && fr ? fr.tween : _r; 28193 }, Et.setPositions = function(jt, Ut, Lt, Qt) { 28194 if (gt) { 28195 var Wt = gt.scrollTrigger, Zt = gt.duration(), Xt = Wt.end - Wt.start; 28196 jt = Wt.start + Xt * jt / Zt, Ut = Wt.start + Xt * Ut / Zt; 28197 } 28198 Et.refresh(false, false, { 28199 start: _keepClamp(jt, Lt && !!Et._startClamp), 28200 end: _keepClamp(Ut, Lt && !!Et._endClamp) 28201 }, Qt), Et.update(); 28202 }, Et.adjustPinSpacing = function(jt) { 28203 if (mr && jt) { 28204 var Ut = mr.indexOf(_t.d) + 1; 28205 mr[Ut] = parseFloat(mr[Ut]) + jt + _px, mr[1] = parseFloat(mr[1]) + jt + _px, _setState(mr); 28206 } 28207 }, Et.disable = function(jt, Ut) { 28208 if (Et.enabled && (jt !== false && Et.revert(true, true), Et.enabled = Et.isActive = false, Ut || _r && _r.pause(), an = 0, Ur && (Ur.uncache = 1), Ht && _removeListener$1(d, "refreshInit", Ht), tn && (tn.pause(), fr.tween && fr.tween.kill() && (fr.tween = 0)), !Tt)) { 28209 for (var Lt = _triggers.length; Lt--; ) if (_triggers[Lt].scroller === kt && _triggers[Lt] !== Et) return; 28210 _removeListener$1(kt, "resize", _onResize), Tt || _removeListener$1(kt, "scroll", _onScroll); 28211 } 28212 }, Et.kill = function(jt, Ut) { 28213 Et.disable(jt, Ut), _r && !Ut && _r.kill(), tt && delete _ids[tt]; 28214 var Lt = _triggers.indexOf(Et); 28215 Lt >= 0 && _triggers.splice(Lt, 1), Lt === _i && _direction > 0 && _i--, Lt = 0, _triggers.forEach(function(Qt) { 28216 return Qt.scroller === Et.scroller && (Lt = 1); 28217 }), Lt || _refreshingAll || (Et.scroll.rec = 0), b && (b.scrollTrigger = null, jt && b.revert({ 28218 kill: false 28219 }), Ut || b.kill()), gr && [ 28220 gr, 28221 Qr, 28222 zt, 28223 Cr 28224 ].forEach(function(Qt) { 28225 return Qt.parentNode && Qt.parentNode.removeChild(Qt); 28226 }), _primary === Et && (_primary = 0), it && (Ur && (Ur.uncache = 1), Lt = 0, _triggers.forEach(function(Qt) { 28227 return Qt.pin === it && Lt++; 28228 }), Lt || (Ur.spacer = 0)), g.onKill && g.onKill(Et); 28229 }, _triggers.push(Et), Et.enable(false, false), Nt && Nt(Et), b && b.add && !Dr) { 28230 var Ct = Et.update; 28231 Et.update = function() { 28232 Et.update = Ct, _scrollers.cache++, Ar || yr || Et.refresh(); 28233 }, gsap$1.delayedCall(0.01, Et.update), Dr = 0.01, Ar = yr = 0; 28234 } else Et.refresh(); 28235 it && _queueRefreshAll(); 28236 }, d.register = function(g) { 28237 return _coreInitted$1 || (gsap$1 = g || _getGSAP$1(), _windowExists$1() && window.document && d.enable(), _coreInitted$1 = _enabled), _coreInitted$1; 28238 }, d.defaults = function(g) { 28239 if (g) for (var b in g) _defaults[b] = g[b]; 28240 return _defaults; 28241 }, d.disable = function(g, b) {
28242 _enabled = 0, _triggers.forEach(function(_e) { 28243 return _e[b ? "kill" : "disable"](g); 28244 }), _removeListener$1(_win$2, "wheel", _onScroll), _removeListener$1(_doc$2, "scroll", _onScroll), clearInterval(_syncInterval), _removeListener$1(_doc$2, "touchcancel", _passThrough), _removeListener$1(_body$2, "touchstart", _passThrough), _multiListener(_removeListener$1, _doc$2, "pointerdown,touchstart,mousedown", _pointerDownHandler), _multiListener(_removeListener$1, _doc$2, "pointerup,touchend,mouseup", _pointerUpHandler), _resizeDelay.kill(), _iterateAutoRefresh(_removeListener$1); 28245 for (var $ = 0; $ < _scrollers.length; $ += 3) _wheelListener(_removeListener$1, _scrollers[$], _scrollers[$ + 1]), _wheelListener(_removeListener$1, _scrollers[$], _scrollers[$ + 2]); 28246 }, d.enable = function() { 28247 if (_win$2 = window, _doc$2 = document, _docEl = _doc$2.documentElement, _body$2 = _doc$2.body, gsap$1 && (_toArray$1 = gsap$1.utils.toArray, _clamp = gsap$1.utils.clamp, _context$1 = gsap$1.core.context || _passThrough, _suppressOverwrites = gsap$1.core.suppressOverwrites || _passThrough, _scrollRestoration = _win$2.history.scrollRestoration || "auto", _lastScroll = _win$2.pageYOffset || 0, gsap$1.core.globals("ScrollTrigger", d), _body$2)) { 28248 _enabled = 1, _div100vh = document.createElement("div"), _div100vh.style.height = "100vh", _div100vh.style.position = "absolute", _refresh100vh(), _rafBugFix(), Observer$1.register(gsap$1), d.isTouch = Observer$1.isTouch, _fixIOSBug = Observer$1.isTouch && /(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent), _ignoreMobileResize = Observer$1.isTouch === 1, _addListener$1(_win$2, "wheel", _onScroll), _root = [ 28249 _win$2, 28250 _doc$2, 28251 _docEl, 28252 _body$2 28253 ], gsap$1.matchMedia ? (d.matchMedia = function(rt) { 28254 var nt = gsap$1.matchMedia(), st; 28255 for (st in rt) nt.add(st, rt[st]); 28256 return nt; 28257 }, gsap$1.addEventListener("matchMediaInit", function() { 28258 return _revertAll(); 28259 }), gsap$1.addEventListener("matchMediaRevert", function() { 28260 return _revertRecorded(); 28261 }), gsap$1.addEventListener("matchMedia", function() { 28262 _refreshAll(0, 1), _dispatch("matchMedia"); 28263 }), gsap$1.matchMedia().add("(orientation: portrait)", function() { 28264 return _setBaseDimensions(), _setBaseDimensions; 28265 })) : console.warn("Requires GSAP 3.11.0 or later"), _setBaseDimensions(), _addListener$1(_doc$2, "scroll", _onScroll); 28266 var g = _body$2.hasAttribute("style"), b = _body$2.style, $ = b.borderTopStyle, _e = gsap$1.core.Animation.prototype, et, tt; 28267 for (_e.revert || Object.defineProperty(_e, "revert", { 28268 value: function() { 28269 return this.time(-0.01, true); 28270 } 28271 }), b.borderTopStyle = "solid", et = _getBounds$1(_body$2), _vertical.m = Math.round(et.top + _vertical.sc()) || 0, _horizontal.m = Math.round(et.left + _horizontal.sc()) || 0, $ ? b.borderTopStyle = $ : b.removeProperty("border-top-style"), g || (_body$2.setAttribute("style", ""), _body$2.removeAttribute("style")), _syncInterval = setInterval(_sync, 250), gsap$1.delayedCall(0.5, function() { 28272 return _startup = 0; 28273 }), _addListener$1(_doc$2, "touchcancel", _passThrough), _addListener$1(_body$2, "touchstart", _passThrough), _multiListener(_addListener$1, _doc$2, "pointerdown,touchstart,mousedown", _pointerDownHandler), _multiListener(_addListener$1, _doc$2, "pointerup,touchend,mouseup", _pointerUpHandler), _transformProp$2 = gsap$1.utils.checkPrefix("transform"), _stateProps.push(_transformProp$2), _coreInitted$1 = _getTime$1(), _resizeDelay = gsap$1.delayedCall(0.2, _refreshAll).pause(), _autoRefresh = [ 28274 _doc$2, 28275 "visibilitychange", 28276 function() { 28277 var rt = _win$2.innerWidth, nt = _win$2.innerHeight; 28278 _doc$2.hidden ? (_prevWidth = rt, _prevHeight = nt) : (_prevWidth !== rt || _prevHeight !== nt) && _onResize(); 28279 }, 28280 _doc$2, 28281 "DOMContentLoaded", 28282 _refreshAll, 28283 _win$2, 28284 "load", 28285 _refreshAll, 28286 _win$2, 28287 "resize", 28288 _onResize 28289 ], _iterateAutoRefresh(_addListener$1), _triggers.forEac
28289h(function(rt) { 28290 return rt.enable(0, 1); 28291 }), tt = 0; tt < _scrollers.length; tt += 3) _wheelListener(_removeListener$1, _scrollers[tt], _scrollers[tt + 1]), _wheelListener(_removeListener$1, _scrollers[tt], _scrollers[tt + 2]); 28292 } 28293 }, d.config = function(g) { 28294 "limitCallbacks" in g && (_limitCallbacks = !!g.limitCallbacks); 28295 var b = g.syncInterval; 28296 b && clearInterval(_syncInterval) || (_syncInterval = b) && setInterval(_sync, b), "ignoreMobileResize" in g && (_ignoreMobileResize = d.isTouch === 1 && g.ignoreMobileResize), "autoRefreshEvents" in g && (_iterateAutoRefresh(_removeListener$1) || _iterateAutoRefresh(_addListener$1, g.autoRefreshEvents || "none"), _ignoreResize = (g.autoRefreshEvents + "").indexOf("resize") === -1); 28297 }, d.scrollerProxy = function(g, b) { 28298 var $ = _getTarget(g), _e = _scrollers.indexOf($), et = _isViewport($); 28299 ~_e && _scrollers.splice(_e, et ? 6 : 2), b && (et ? _proxies.unshift(_win$2, b, _body$2, b, _docEl, b) : _proxies.unshift($, b)); 28300 }, d.clearMatchMedia = function(g) { 28301 _triggers.forEach(function(b) { 28302 return b._ctx && b._ctx.query === g && b._ctx.kill(true, true); 28303 }); 28304 }, d.isInViewport = function(g, b, $) { 28305 var _e = (_isString(g) ? _getTarget(g) : g).getBoundingClientRect(), et = _e[$ ? _width : _height] * b || 0; 28306 return $ ? _e.right - et > 0 && _e.left + et < _win$2.innerWidth : _e.bottom - et > 0 && _e.top + et < _win$2.innerHeight; 28307 }, d.positionInViewport = function(g, b, $) { 28308 _isString(g) && (g = _getTarget(g)); 28309 var _e = g.getBoundingClientRect(), et = _e[$ ? _width : _height], tt = b == null ? et / 2 : b in _keywords ? _keywords[b] * et : ~b.indexOf("%") ? parseFloat(b) * et / 100 : parseFloat(b) || 0; 28310 return $ ? (_e.left + tt) / _win$2.innerWidth : (_e.top + tt) / _win$2.innerHeight; 28311 }, d.killAll = function(g) { 28312 if (_triggers.slice(0).forEach(function($) { 28313 return $.vars.id !== "ScrollSmoother" && $.kill(); 28314 }), g !== true) { 28315 var b = _listeners.killAll || []; 28316 _listeners = {}, b.forEach(function($) { 28317 return $(); 28318 }); 28319 } 28320 }, d; 28321 }(); 28322 ScrollTrigger.version = "3.13.0"; 28323 ScrollTrigger.saveStyles = function(d) { 28324 return d ? _toArray$1(d).forEach(function(o) { 28325 if (o && o.style) { 28326 var h = _savedStyles.indexOf(o); 28327 h >= 0 && _savedStyles.splice(h, 5), _savedStyles.push(o, o.style.cssText, o.getBBox && o.getAttribute("transform"), gsap$1.core.getCache(o), _context$1()); 28328 } 28329 }) : _savedStyles; 28330 }; 28331 ScrollTrigger.revert = function(d, o) { 28332 return _revertAll(!d, o); 28333 }; 28334 ScrollTrigger.create = function(d, o) { 28335 return new ScrollTrigger(d, o); 28336 }; 28337 ScrollTrigger.refresh = function(d) { 28338 return d ? _onResize(true) : (_coreInitted$1 || ScrollTrigger.register()) && _refreshAll(true); 28339 }; 28340 ScrollTrigger.update = function(d) { 28341 return ++_scrollers.cache && _updateAll(d === true ? 2 : 0); 28342 }; 28343 ScrollTrigger.clearScrollMemory = _clearScrollMemory; 28344 ScrollTrigger.maxScroll = function(d, o) { 28345 return _maxScroll(d, o ? _horizontal : _vertical); 28346 }; 28347 ScrollTrigger.getScrollFunc = function(d, o) { 28348 return _getScrollFunc(_getTarget(d), o ? _horizontal : _vertical); 28349 }; 28350 ScrollTrigger.getById = function(d) { 28351 return _ids[d]; 28352 }; 28353 ScrollTrigger.getAll = function() { 28354 return _triggers.filter(function(d) { 28355 return d.vars.id !== "ScrollSmoother"; 28356 }); 28357 }; 28358 ScrollTrigger.isScrolling = function() { 28359 return !!_lastScrollTime; 28360 }; 28361 ScrollTrigger.snapDirectional = _snapDirectional; 28362 ScrollTrigger.addEventListener = function(d, o) { 28363 var h = _listeners[d] || (_listeners[d] = []); 28364 ~h.indexOf(o) || h.push(o); 28365 }; 28366 ScrollTrigger.removeEventListener = function(d, o) { 28367 var h = _listeners[d], g = h && h.indexOf(o); 28368 g >= 0 && h.splice(g, 1); 28369 }; 28370 ScrollTrigger.batch = function(d, o) { 28371 var h = [], g = {}, b = o.interval || 0.016, $ = o.batchMax || 1e9, _e = function(rt, nt) { 28372 var st = [], ot = [], it = gsap$1.delayedCall(b, function() { 28373 nt(st, ot), st = [], ot = []; 28374 }).pause(); 28375 return function(at) { 28376 st.length || it.restart(true), st.push(at.trigger), ot.push(at), $ <= st.length && it.progress(1); 28377 }; 28378 }, et; 28379 for (et in o) g[et] = et.substr(0, 2) === "on" && _isFunction$1(o[et]) && et !== "onRefreshInit" ? _e(et, o[et]) : o[et]; 28380 return _isFunction$1($) && ($ = $(), _addListener$1(ScrollTrigger, "refresh", function() { 28381 return $ = o.batchMax(); 28382 }
28382)), _toArray$1(d).forEach(function(tt) { 28383 var rt = {}; 28384 for (et in g) rt[et] = g[et]; 28385 rt.trigger = tt, h.push(ScrollTrigger.create(rt)); 28386 }), h; 28387 }; 28388 var _clampScrollAndGetDurationMultiplier = function(o, h, g, b) { 28389 return h > b ? o(b) : h < 0 && o(0), g > b ? (b - h) / (g - h) : g < 0 ? h / (h - g) : 1; 28390 }, _allowNativePanning = function d(o, h) { 28391 h === true ? o.style.removeProperty("touch-action") : o.style.touchAction = h === true ? "auto" : h ? "pan-" + h + (Observer$1.isTouch ? " pinch-zoom" : "") : "none", o === _docEl && d(_body$2, h); 28392 }, _overflow = { 28393 auto: 1, 28394 scroll: 1 28395 }, _nestedScroll = function(o) { 28396 var h = o.event, g = o.target, b = o.axis, $ = (h.changedTouches ? h.changedTouches[0] : h).target, _e = $._gsap || gsap$1.core.getCache($), et = _getTime$1(), tt; 28397 if (!_e._isScrollT || et - _e._isScrollT > 2e3) { 28398 for (; $ && $ !== _body$2 && ($.scrollHeight <= $.clientHeight && $.scrollWidth <= $.clientWidth || !(_overflow[(tt = _getComputedStyle$1($)).overflowY] || _overflow[tt.overflowX])); ) $ = $.parentNode; 28399 _e._isScroll = $ && $ !== g && !_isViewport($) && (_overflow[(tt = _getComputedStyle$1($)).overflowY] || _overflow[tt.overflowX]), _e._isScrollT = et; 28400 } 28401 (_e._isScroll || b === "x") && (h.stopPropagation(), h._gsapAllow = true); 28402 }, _inputObserver = function(o, h, g, b) { 28403 return Observer$1.create({ 28404 target: o, 28405 capture: true, 28406 debounce: false, 28407 lockAxis: true, 28408 type: h, 28409 onWheel: b = b && _nestedScroll, 28410 onPress: b, 28411 onDrag: b, 28412 onScroll: b, 28413 onEnable: function() { 28414 return g && _addListener$1(_doc$2, Observer$1.eventTypes[0], _captureInputs, false, true); 28415 }, 28416 onDisable: function() { 28417 return _removeListener$1(_doc$2, Observer$1.eventTypes[0], _captureInputs, true); 28418 } 28419 }); 28420 }, _inputExp = /(input|label|select|textarea)/i, _inputIsFocused, _captureInputs = function(o) { 28421 var h = _inputExp.test(o.target.tagName); 28422 (h || _inputIsFocused) && (o._gsapAllow = true, _inputIsFocused = h); 28423 }, _getScrollNormalizer = function(o) { 28424 _isObject$1(o) || (o = {}), o.preventDefault = o.isNormalizer = o.allowClicks = true, o.type || (o.type = "wheel,touch"), o.debounce = !!o.debounce, o.id = o.id || "normalizer"; 28425 var h = o, g = h.normalizeScrollX, b = h.momentum, $ = h.allowNestedScroll, _e = h.onRelease, et, tt, rt = _getTarget(o.target) || _docEl, nt = gsap$1.core.globals().ScrollSmoother, st = nt && nt.get(), ot = _fixIOSBug && (o.content && _getTarget(o.content) || st && o.content !== false && !st.smooth() && st.content()), it = _get
28425ScrollFunc(rt, _vertical), at = _getScrollFunc(rt, _horizontal), lt = 1, ct = (Observer$1.isTouch && _win$2.visualViewport ? _win$2.visualViewport.scale * _win$2.visualViewport.width : _win$2.outerWidth) / _win$2.innerWidth, ut = 0, ft = _isFunction$1(b) ? function() { 28426 return b(et); 28427 } : function() { 28428 return b || 2.8; 28429 }, dt, pt, ht = _inputObserver(rt, o.type, true, $), mt = function() { 28430 return pt = false; 28431 }, gt = _passThrough, yt = _passThrough, xt = function() { 28432 tt = _maxScroll(rt, _vertical), yt = _clamp(_fixIOSBug ? 1 : 0, tt), g && (gt = _clamp(0, _maxScroll(rt, _horizontal))), dt = _refreshID; 28433 }, _t = function() { 28434 ot._gsap.y = _round$1(parseFloat(ot._gsap.y) + it.offset) + "px", ot.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + parseFloat(ot._gsap.y) + ", 0, 1)", it.offset = it.cacheID = 0; 28435 }, St = function() { 28436 if (pt) { 28437 requestAnimationFrame(mt); 28438 var Mt = _round$1(et.deltaY / 2), Vt = yt(it.v - Mt); 28439 if (ot && Vt !== it.v + it.offset) { 28440 it.offset = Vt - it.v; 28441 var Et = _round$1((parseFloat(ot && ot._gsap.y) || 0) - it.offset); 28442 ot.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + Et + ", 0, 1)", ot._gsap.y = Et + "px", it.cacheID = _scrollers.cache, _updateAll(); 28443 } 28444 return true; 28445 } 28446 it.offset && _t(), pt = true; 28447 }, kt, Rt, Tt, Yt, Dt = function() { 28448 xt(), kt.isActive() && kt.vars.scrollY > tt && (it() > tt ? kt.progress(1) && it(tt) : kt.resetTo("scrollY", tt)); 28449 }; 28450 return ot && gsap$1.set(ot, { 28451 y: "+=0" 28452 }), o.ignoreCheck = function(Ot) { 28453 return _fixIOSBug && Ot.type === "touchmove" && St() || lt > 1.05 && Ot.type !== "touchstart" || et.isGesturing || Ot.touches && Ot.touches.length > 1; 28454 }, o.onPress = function() { 28455 pt = false; 28456 var Ot = lt; 28457 lt = _round$1((_win$2.visualViewport && _win$2.visualViewport.scale || 1) / ct), kt.pause(), Ot !== lt && _allowNativePanning(rt, lt > 1.01 ? true : g ? false : "x"), Rt = at(), Tt = it(), xt(), dt = _refreshID; 28458 }, o.onRelease = o.onGestureStart = function(Ot, Mt) { 28459 if (it.offset && _t(), !Mt) Yt.restart(true); 28460 else { 28461 _scrollers.cache++; 28462 var Vt = ft(), Et, Ht; 28463 g && (Et = at(), Ht = Et + Vt * 0.05 * -Ot.velocityX / 0.227, Vt *= _clampScrollAndGetDurationMultiplier(at, Et, Ht, _maxScroll(rt, _horizontal)), kt.vars.scrollX = gt(Ht)), Et = it(), Ht = Et + Vt * 0.05 * -Ot.velocityY / 0.227, Vt *= _clampScrollAndGetDurationMultiplier(it, Et, Ht, _maxScroll(rt, _vertical)), kt.vars.scrollY = yt(Ht), kt.invalidate().duration(Vt).play(0.01), (_fixIOSBug && kt.vars.scrollY >= tt || Et >= tt - 1) && gsap$1.to({}, { 28464 onUpdate: Dt, 28465 duration: Vt 28466 }); 28467 } 28468 _e && _e(Ot); 28469 }, o.onWheel = function() { 28470 kt._ts && kt.pause(), _getTime$1() - ut > 1e3 && (dt = 0, ut = _getTime$1()); 28471 }, o.onChange = function(Ot, Mt, Vt, Et, Ht) { 28472 if (_refreshID !== dt && xt(), Mt && g && at(gt(Et[2] === Mt ? Rt + (Ot.startX - Ot.x) : at() + Mt - Et[1])), Vt) { 28473 it.offset && _t(); 28474 var Kt = Ht[2] === Vt, ir = Kt ? Tt + Ot.startY - Ot.y : it() + Vt - Ht[1], sr = yt(ir); 28475 Kt && ir !== sr && (Tt += sr - ir), it(sr); 28476 } 28477 (Vt || Mt) && _updateAll(); 28478 }, o.onEnable = function() { 28479 _allowNativePanning(rt, g ? false : "x"), ScrollTrigger.addEventListener("refresh", Dt), _addListener$1(_win$2, "resize", Dt), it.smooth && (it.target.style.scrollBehavior = "auto", it.smooth = at.smooth = false), ht.enable(); 28480 }, o.onDisable = function() { 28481 _allowNativePanning(rt, true), _removeListener$1(_win$2, "resize", Dt), ScrollTrigger.removeEventListener("refresh", Dt), ht.kill(); 28482 }, o.lockAxis = o.lockAxis !== false, et = new Observer$1(o), et.iOS = _fixIOSBug, _fixIOSBug && !it() && it(1), _fixIOSBug && gsap$1.ticker.add(_passThrough), Yt = et._dc, kt = gsap$1.to(et, { 28483 ease: "power4", 28484 paused: true, 28485 inherit: false, 28486 scrollX: g ? "+=0.1" : "+=0", 28487 scrollY: "+=0.1", 28488 modifiers: { 28489 scrollY: _interruptionTracker(it, it(), function() { 28490 return kt.pause(); 28491 }) 28492 }, 28493 onUpdate: _updateAll, 28494 onComplete: Yt.vars.onComplete 28495 }), et; 28496 }; 28497 ScrollTrigger.sort = function(d) { 28498 if (_isFunction$1(d)) return _triggers.sort(d); 28499 var o = _win$2.pageYOffset || 0;
28500 return ScrollTrigger.getAll().forEach(function(h) { 28501 return h._sortY = h.trigger ? o + h.trigger.getBoundingClientRect().top : h.start + _win$2.innerHeight; 28502 }), _triggers.sort(d || function(h, g) { 28503 return (h.vars.refreshPriority || 0) * -1e6 + (h.vars.containerAnimation ? 1e6 : h._sortY) - ((g.vars.containerAnimation ? 1e6 : g._sortY) + (g.vars.refreshPriority || 0) * -1e6); 28504 }); 28505 }; 28506 ScrollTrigger.observe = function(d) { 28507 return new Observer$1(d); 28508 }; 28509 ScrollTrigger.normalizeScroll = function(d) { 28510 if (typeof d > "u") return _normalizer; 28511 if (d === true && _normalizer) return _normalizer.enable(); 28512 if (d === false) { 28513 _normalizer && _normalizer.kill(), _normalizer = d; 28514 return; 28515 } 28516 var o = d instanceof Observer$1 ? d : _getScrollNormalizer(d); 28517 return _normalizer && _normalizer.target === o.target && _normalizer.kill(), _isViewport(o.target) && (_normalizer = o), o; 28518 }; 28519 ScrollTrigger.core = { 28520 _getVelocityProp, 28521 _inputObserver, 28522 _scrollers, 28523 _proxies, 28524 bridge: { 28525 ss: function() { 28526 _lastScrollTime || _dispatch("scrollStart"), _lastScrollTime = _getTime$1(); 28527 }, 28528 ref: function() { 28529 return _refreshing; 28530 } 28531 } 28532 }; 28533 _getGSAP$1() && gsap$1.registerPlugin(ScrollTrigger); 28534 var _doc$1, _win$1, _docElement$1, _body$1, _divContainer, _svgContainer, _identityMatrix$1, _gEl, _transformProp$1 = "transform", _transformOriginProp$1 = _transformProp$1 + "Origin", _hasOffsetBug, _setDoc = function(o) { 28535 var h = o.ownerDocument || o; 28536 for (!(_transformProp$1 in o.style) && ("msTransform" in o.style) && (_transformProp$1 = "msTransform", _transformOriginProp$1 = _transformProp$1 + "Origin"); h.parentNode && (h = h.parentNode); ) ; 28537 if (_win$1 = window, _identityMatrix$1 = new Matrix2D(), h) { 28538 _doc$1 = h, _docElement$1 = h.documentElement, _body$1 = h.body, _gEl = _doc$1.createElementNS("http://www.w3.org/2000/svg", "g"), _gEl.style.transform = "none"; 28539 var g = h.createElement("div"), b = h.createElement("div"), $ = h && (h.body || h.firstElementChild); 28540 $ && $.appendChild && ($.appendChild(g), g.appendChild(b), g.setAttribute("style", "position:static;transform:translate3d(0,0,1px)"), _hasOffsetBug = b.offsetParent !== g, $.removeChild(g)); 28541 } 28542 return h; 28543 }, _forceNonZeroScale = function(o) { 28544 for (var h, g; o && o !== _body$1; ) g = o._gsap, g && g.uncache && g.get(o, "x"), g && !g.scaleX && !g.scaleY && g.renderTransform && (g.scaleX = g.scaleY = 1e-4, g.renderTransform(1, g), h ? h.push(g) : h = [ 28545 g 28546 ]), o = o.parentNode; 28547 return h; 28548 }, _svgTemps = [], _divTemps = [], _getDocScrollTop$1 = function() { 28549 return _win$1.pageYOffset || _doc$1.scrollTop || _docElement$1.scrollTop || _body$1.scrollTop || 0; 28550 }, _getDocScrollLeft$1 = function() { 28551 return _win$1.pageXOffset || _doc$1.scrollLeft || _docElement$1.scrollLeft || _body$1.scrollLeft || 0; 28552 }, _svgOwner = function(o) { 28553 return o.ownerSVGElement || ((o.tagName + "").toLowerCase() === "svg" ? o : null); 28554 }, _isFixed$1 = function d(o) { 28555 if (_win$1.getComputedStyle(o).position === "fixed") return true; 28556 if (o = o.parentNode, o && o.nodeType === 1) return d(o); 28557 }, _createSibling = function d(o, h) { 28558 if (o.parentNode && (_doc$1 || _setDoc(o))) { 28559 var g = _svgOwner(o), b = g ? g.getAttribute("xmlns") || "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", $ = g ? h ? "rect" : "g" : "div", _e = h !== 2 ? 0 : 100, et = h === 3 ? 100 : 0, tt = "position:absolute;display:block;pointer-events:none;margin:0;padding:0;", rt = _doc$1.createElementNS ? _doc$1.createElementNS(b.replace(/^https/, "http"), $) : _doc$1.createElement($); 28560 return h && (g ? (_svgContainer || (_svgContainer = d(o)), rt.setAttribute("width", 0.01), rt.setAttribute("height", 0.01), rt.setAttribute("transform", "translate(" + _e + "," + et + ")"), _svgContainer.appendChild(rt)) : (_divContainer || (_divContainer = d(o), _divContainer.style.cssText = tt), rt.style.cssText = tt + "width:0.1px;height:0.1px;top:" + et + "px;left:" + _e + "px", _divContainer.appendChild(rt))), rt; 28561 } 28562 throw "Need document and parent."; 28563 }, _consolidate = function(o) { 28564 for (var h = new Matrix2D(), g = 0; g < o.numberOfItems;
vendor: 1,250 bytes, lines 28564-28572
28564 g++) h.multiply(o.getItem(g).matrix); 28565 return h; 28566 }, _getCTM = function(o) { 28567 var h = o.getCTM(), g; 28568 return h || (g = o.style[_transformProp$1], o.style[_transformProp$1] = "none", o.appendChild(_gEl), h = _gEl.getCTM(), o.removeChild(_gEl), g ? o.style[_transformProp$1] = g : o.style.removeProperty(_transformProp$1.replace(/([A-Z])/g, "-$1").toLowerCase())), h || _identityMatrix$1.clone(); 28569 }, _placeSiblings = function(o, h) { 28570 var g = _svgOwner(o), b = o === g, $ = g ? _svgTemps : _divTemps, _e = o.parentNode, et = _e && !g && _e.shadowRoot && _e.shadowRoot.appendChild ? _e.shadowRoot : _e, tt, rt, nt, st, ot, it; 28571 if (o === _win$1) return o; 28572 if ($.length || $.push(_createSibling(o, 1), _createSibling(o, 2), _createSibling(o, 3)), tt = g ? _svgContainer : _divContainer, g) b ? (nt = _getCTM(o), st = -nt.e / nt.a, ot = -nt.f / nt.d, rt = _identityMatrix$1) : o.getBBox ? (nt = o.getBBox(), rt = o.transform ? o.transform.baseVal : {}, rt = rt.numberOfItems ? rt.numberOfItems > 1 ? _consolidate(rt) : rt.getItem(0).matrix : _identityMatrix$1, st = rt.a * nt.x + rt.c * nt.y, ot = rt.b * nt.x + rt.d * nt.y) : (rt = new Matrix2D(), st = ot = 0), (b ? g : _e).appendChild(tt), tt.setAttribute("transform", "matrix("
28572+ rt.a + "," + rt.b + "," + rt.c + "," + rt.d + "," + (rt.e + st) + "," + (rt.f + ot) + ")"); 28573 else { 28574 if (st = ot = 0, _hasOffsetBug) for (rt = o.offsetParent, nt = o; nt && (nt = nt.parentNode) && nt !== rt && nt.parentNode; ) (_win$1.getComputedStyle(nt)[_transformProp$1] + "").length > 4 && (st = nt.offsetLeft, ot = nt.offsetTop, nt = 0); 28575 if (it = _win$1.getComputedStyle(o), it.position !== "absolute" && it.position !== "fixed") for (rt = o.offsetParent; _e && _e !== rt; ) st += _e.scrollLeft || 0, ot += _e.scrollTop || 0, _e = _e.parentNode; 28576 nt = tt.style, nt.top = o.offsetTop - ot + "px", nt.left = o.offsetLeft - st + "px", nt[_transformProp$1] = it[_transformProp$1], nt[_transformOriginProp$1] = it[_transformOriginProp$1], nt.position = it.position === "fixed" ? "fixed" : "absolute", et.appendChild(tt); 28577 } 28578 return tt; 28579 }, _setMatrix = function(o, h, g, b, $, _e, et) { 28580 return o.a = h, o.b = g, o.c = b, o.d = $, o.e = _e, o.f = et, o; 28581 }, Matrix2D = function() { 28582 function d(h, g, b, $, _e, et) { 28583 h === void 0 && (h = 1), g === void 0 && (g = 0), b === void 0 && (b = 0), $ === void 0 && ($ = 1), _e === void 0 && (_e = 0), et === void 0 && (et = 0), _setMatrix(this, h, g, b, $, _e, et); 28584 } 28585 var o = d.prototype; 28586 return o.inverse = function() { 28587 var g = this.a, b = this.b, $ = this.c, _e = this.d, et = this.e, tt = this.f, rt = g * _e - b * $ || 1e-10; 28588 return _setMatrix(this, _e / rt, -b / rt, -$ / rt, g / rt, ($ * tt - _e * et) / rt, -(g * tt - b * et) / rt); 28589 }, o.multiply = function(g) { 28590 var b = this.a, $ = this.b, _e = this.c, et = this.d, tt = this.e, rt = this.f, nt = g.a, st = g.c, ot = g.b, it = g.d, at = g.e, lt = g.f; 28591 return _setMatrix(this, nt * b + ot * _e, nt * $ + ot * et, st * b + it * _e, st * $ + it * et, tt + at * b + lt * _e, rt + at * $ + lt * et); 28592 }, o.clone = function() { 28593 return new d(this.a, this.b, this.c, this.d, this.e, this.f); 28594 }, o.equals = function(g) { 28595 var b = this.a, $ = this.b, _e = this.c, et = this.d, tt = this.e, rt = this.f; 28596 return b === g.a && $ === g.b && _e === g.c && et === g.d && tt === g.e && rt === g.f; 28597 }, o.apply = function(g, b) { 28598 b === void 0 && (b = {}); 28599 var $ = g.x, _e = g.y, et = this.a, tt = this.b, rt = this.c, nt = this.d, st = this.e, ot = this.f; 28600 return b.x = $ * et + _e * rt + st || 0, b.y = $ * tt + _e * nt + ot || 0, b; 28601 }, d; 28602 }(); 28603 function getGlobalMatrix(d, o, h, g) { 28604 if (!d || !d.parentNode || (_doc$1 || _setDoc(d)).documentElement === d) return new Matrix2D(); 28605 var b = _forceNonZeroScale(d), $ = _svgOwner(d), _e = $ ? _svgTemps : _divTemps, et = _placeSiblings(d), tt = _e[0].getBoundingClientRect(), rt = _e[1].getBoundingClientRect(), nt = _e[2].getBoundingClientRect(), st = et.parentNode, ot = _isFixed$1(d), it = new Matrix2D((rt.left - tt.left) / 100, (rt.top - tt.top) / 100, (nt.left - tt.left) / 100, (nt.top - tt.top) / 100, tt.left + (ot ? 0 : _getDocScrollLeft$1()), tt.top + (ot ? 0 : _getDocScrollTop$1())); 28606 if (st.removeChild(et), b) for (tt = b.length; tt--; ) rt = b[tt], rt.scaleX = rt.scaleY = 0, rt.renderTransform(1, rt); 28607 return o ? it.inverse() : it; 28608 } 28609 function _assertThisInitialized(d) { 28610 if (d === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 28611 return d; 28612 } 28613 function _inheritsLoose(d, o) { 28614 d.prototype = Object.create(o.prototype), d.prototype.constructor = d, d.__proto__ = o; 28615 } 28616 var gsap, _win, _doc, _docElement, _body, _tempDiv, _placeholderDiv, _coreInitted, _checkPrefix, _toArray, _supportsPassive, _isTouchDevice, _touchEventLookup, _isMultiTouching, _isAndroid, InertiaPlugin, _defaultCursor, _supportsPointer, _context, _getStyleSaver, _dragCount = 0, _windowExists = function() { 28617 return typeof window < "u"; 28618 }, _getGSAP = function() { 28619 return gsap || _windowExists() && (gsap = window.gsap) && gsap.registerPlugin && gsap; 28620 }, _isFunction = function(o) { 28621 return typeof o == "function"; 28622 }, _isObject = function(o) { 28623 return typeof o == "object"; 28624 }, _isUndefined = function(o) { 28625 return typeof o > "u"; 28626 }, _emptyFunc = function() { 28627 return false;
28628 }, _transformProp = "transform", _transformOriginProp = "transformOrigin", _round = function(o) { 28629 return Math.round(o * 1e4) / 1e4; 28630 }, _isArray = Array.isArray, _createElement = function(o, h) { 28631 var g = _doc.createElementNS ? _doc.createElementNS("http://www.w3.org/1999/xhtml".replace(/^https/, "http"), o) : _doc.createElement(o); 28632 return g.style ? g : _doc.createElement(o); 28633 }, _RAD2DEG = 180 / Math.PI, _bigNum = 1e20, _identityMatrix = new Matrix2D(), _getTime = Date.now || function() { 28634 return (/* @__PURE__ */ new Date()).getTime(); 28635 }, _renderQueue = [], _lookup = {}, _lookupCount = 0, _clickableTagExp = /^(?:a|input|textarea|button|select)$/i, _lastDragTime = 0, _temp1 = {}, _windowProxy = {}, _copy = function(o, h) { 28636 var g = {}, b; 28637 for (b in o) g[b] = h ? o[b] * h : o[b]; 28638 return g; 28639 }, _extend = function(o, h) { 28640 for (var g in h) g in o || (o[g] = h[g]); 28641 return o; 28642 }, _setTouchActionForAllDescendants = function d(o, h) { 28643 for (var g = o.length, b; g--; ) h ? o[g].style.touchAction = h : o[g].style.removeProperty("touch-action"), b = o[g].children, b && b.length && d(b, h); 28644 }, _renderQueueTick = function() { 28645 return _renderQueue.forEach(function(o) { 28646 return o(); 28647 }); 28648 }, _addToRenderQueue = function(o) { 28649 _renderQueue.push(o), _renderQueue.length === 1 && gsap.ticker.add(_renderQueueTick); 28650 }, _renderQueueTimeout = function() { 28651 return !_renderQueue.length && gsap.ticker.remove(_renderQueueTick); 28652 }, _removeFromRenderQueue = function(o) { 28653 for (var h = _renderQueue.length; h--; ) _renderQueue[h] === o && _renderQueue.splice(h, 1); 28654 gsap.to(_renderQueueTimeout, { 28655 overwrite: true, 28656 delay: 15, 28657 duration: 0, 28658 onComplete: _renderQueueTimeout, 28659 data: "_draggable" 28660 }); 28661 }, _setDefaults = function(o, h) { 28662 for (var g in h) g in o || (o[g] = h[g]); 28663 return o; 28664 }, _addListener = function(o, h, g, b) { 28665 if (o.addEventListener) { 28666 var $ = _touchEventLookup[h]; 28667 b = b || (_supportsPassive ? { 28668 passive: false 28669 } : null), o.addEventListener($ || h, g, b), $ && h !== $ && o.addEventListener(h, g, b); 28670 } 28671 }, _removeListener = function(o, h, g, b) { 28672 if (o.removeEventListener) { 28673 var $ = _touchEventLookup[h]; 28674 o.removeEventListener($ || h, g, b), $ && h !== $ && o.removeEventListener(h, g, b); 28675 } 28676 }, _preventDefault = function(o) { 28677 o.preventDefault && o.preventDefault(), o.preventManipulation && o.preventManipulation(); 28678 }, _hasTouchID = function(o, h) { 28679 for (var g = o.length; g--; ) if (o[g].identifier === h) return true; 28680 }, _onMultiTouchDocumentEnd = function d(o) { 28681 _isMultiTouching = o.touches && _dragCount < o.touches.length, _removeListener(o.target, "touchend", d); 28682 }, _onMultiTouchDocument = function(o) { 28683 _isMultiTouching = o.touches && _dragCount < o.touches.length, _addListener(o.target, "touchend", _onMultiTouchDocumentEnd); 28684 }, _getDocScrollTop = function(o) { 28685 return _win.pageYOffset || o.scrollTop || o.documentElement.scrollTop || o.body.scrollTop || 0; 28686 }, _getDocScrollLeft = function(o) { 28687 return _win.pageXOffset || o.scrollLeft || o.documentElement.scrollLeft || o.body.scrollLeft || 0; 28688 }, _addScrollListener = function d(o, h) { 28689 _addListener(o, "scroll", h), _isRoot(o.parentNode) || d(o.parentNode, h); 28690 }, _removeScrollListener = function d(o, h) { 28691 _removeListener(o, "scroll", h), _isRoot(o.parentNode) || d(o.parentNode, h); 28692 }, _isRoot = function(o) { 28693 return !o || o === _docElement || o.nodeType === 9 || o === _doc.body || o === _win || !o.nodeType || !o.parentNode; 28694 }, _getMaxScroll = function(o, h) { 28695 var g = h === "x" ? "Width" : "Height", b = "scroll" + g, $ = "client" + g; 28696 return Math.max(0, _isRoot(o) ? Math.max(_docElement[b], _body[b]) - (_win["inner" + g] || _docElement[$] || _body[$]) : o[b] - o[$]); 28697 }, _recordMaxScrolls = function d(o, h) { 28698 var g = _getMaxScroll(o, "x"), b = _getMaxScroll(o, "y"); 28699 _isRoot(o) ? o = _windowProxy : d(o.parentNode, h), o._gsMaxScrollX = g, o._gsMaxScrollY = b, h || (
28699o._gsScrollX = o.scrollLeft || 0, o._gsScrollY = o.scrollTop || 0); 28700 }, _setStyle = function(o, h, g) { 28701 var b = o.style; 28702 b && (_isUndefined(b[h]) && (h = _checkPrefix(h, o) || h), g == null ? b.removeProperty && b.removeProperty(h.replace(/([A-Z])/g, "-$1").toLowerCase()) : b[h] = g); 28703 }, _getComputedStyle = function(o) { 28704 return _win.getComputedStyle(o instanceof Element ? o : o.host || (o.parentNode || {}).host || o); 28705 }, _tempRect = {}, _parseRect = function(o) { 28706 if (o === _win) return _tempRect.left = _tempRect.top = 0, _tempRect.width = _tempRect.right = _docElement.clientWidth || o.innerWidth || _body.clientWidth || 0, _tempRect.height = _tempRect.bottom = (o.innerHeight || 0) - 20 < _docElement.clientHeight ? _docElement.clientHeight : o.innerHeight || _body.clientHeight || 0, _tempRect; 28707 var h = o.ownerDocument || _doc, g = _isUndefined(o.pageX) ? !o.nodeType && !_isUndefined(o.left) && !_isUndefined(o.top) ? o : _toArray(o)[0].getBoundingClientRect() : { 28708 left: o.pageX - _getDocScrollLeft(h), 28709 top: o.pageY - _getDocScrollTop(h), 28710 right: o.pageX - _getDocScrollLeft(h) + 1, 28711 bottom: o.pageY - _getDocScrollTop(h) + 1 28712 }; 28713 return _isUndefined(g.right) && !_isUndefined(g.width) ? (g.right = g.left + g.width, g.bottom = g.top + g.height) : _isUndefined(g.width) && (g = { 28714 width: g.right - g.left, 28715 height: g.bottom - g.top, 28716 right: g.right, 28717 left: g.left, 28718 bottom: g.bottom, 28719 top: g.top 28720 }), g; 28721 }, _dispatchEvent = function(o, h, g) { 28722 var b = o.vars, $ = b[g], _e = o._listeners[h], et; 28723 return _isFunction($) && (et = $.apply(b.callbackScope || o, b[g + "Params"] || [ 28724 o.pointerEvent 28725 ])), _e && o.dispatchEvent(h) === false && (et = false), et; 28726 }, _getBounds = function(o, h) { 28727 var g = _toArray(o)[0], b, $, _e; 28728 return !g.nodeType && g !== _win ? _isUndefined(o.left) ? ($ = o.min || o.minX || o.minRotation || 0, b = o.min || o.minY || 0, { 28729 left: $, 28730 top: b, 28731 width: (o.max || o.maxX || o.maxRotation || 0) - $, 28732 height: (o.max || o.maxY || 0) - b 28733 }) : (_e = { 28734 x: 0, 28735 y: 0 28736 }, { 28737 left: o.left - _e.x, 28738 top: o.top - _e.y, 28739 width: o.width, 28740 height: o.height 28741 }) : _getElementBounds(g, h); 28742 }, _point1 = {}, _getElementBounds = function(o, h) { 28743 h = _toArray(h)[0]; 28744 var g = o.getBBox && o.ownerSVGElement, b = o.ownerDocument || _doc, $, _e, et, tt, rt, nt, st, ot, it, at, lt, ct, ut; 28745 if (o === _win) et = _getDocScrollTop(b), $ = _getDocScrollLeft(b), _e = $ + (b.documentElement.clientWidth || o.innerWidth || b.body.clientWidth || 0), tt = et + ((o.innerHeight || 0) - 20 < b.documentElement.clientHeight ? b.documentElement.clientHeight : o.innerHeight || b.body.clientHeight || 0); 28746 else { 28747 if (h === _win || _isUndefined(h)) return o.getBoundingClientRect(); 28748 $ = et = 0, g ? (at = o.getBBox(), lt = at.width, ct = at.height) : (o.viewBox && (at = o.viewBox.baseVal) && ($ = at.x || 0, et = at.y || 0, lt = at.width, ct = at.height), lt || (ut = _getComputedStyle(o), at = ut.boxSizing === "border-box", lt = (parseFloat(ut.width) || o.clientWidth || 0) + (at ? 0 : parseFloat(ut.borderLeftWidth) + parseFloat(ut.borderRightWidth)), ct = (parseFloat(ut.height) || o.clientHeight || 0) + (at ? 0 : parseFloat(ut.borderTopWidth) + parseFloat(ut.borderBottomWidth)))), _e = lt, tt = ct; 28749 } 28750 return o === h ? { 28751 left: $, 28752 top: et, 28753 width: _e - $, 28754 height: tt - et 28755 } : (rt = getGlobalMatrix(h, true).multiply(getGlobalMatrix(o)), nt = rt.apply({ 28756 x: $, 28757 y: et 28758 }), st = rt.apply({ 28759 x: _e, 28760 y: et 28761 }), ot = rt.apply({ 28762 x: _e, 28763 y: tt 28764 }), it = rt.apply({ 28765 x: $, 28766 y: tt 28767 }), $ = Math.min(nt.x, st.x, ot.x, it.x), et = Math.min(nt.y, st.y, ot.y, it.y), { 28768 left: $, 28769 top: et, 28770 width: Math.max(nt.x, st.x, ot.x, it.x) - $, 28771 height: Math.max(nt.y, st.y, ot.y, it.y) - et 28772 }); 28773 }, _parseInertia = function(o, h, g, b, $, _e) { 28774 var et = {}, tt, rt, nt; 28775 if (h) if ($ !== 1 && h instanceof Array) { 28776 if (et.end = tt = [], nt = h.length, _isObject(h[0])) for (rt = 0; rt < nt; rt++) tt[rt] = _copy(h[rt], $); 28777 else for (rt = 0; rt < nt; rt++) tt[rt] = h[rt] * $; 28778 g += 1.1, b -= 1.1; 28779 } else _isFunction(h) ? et.end = function(st) { 28780 var ot = h.call(o, st), it, at; 28781 if ($ !== 1) if (_isObject(ot)) { 28782 it = {}; 28783 for (at in ot) it[at] = ot[at] * $; 28784 ot = it; 28785 } else ot *= $; 28786 return ot; 28787 } : et.end = h; 28788 return (g || g === 0) && (et.max = g), (b || b === 0) && (et.min = b), _e && (et.velocity = 0), et; 28789 }, _isClickable = function d(o) { 28790 var h; 28791 return !o || !o.getAttribute || o === _body ? false : (h = o.getAttribute("data-clickable")) === "true" || h !== "fal
28791se" && (_clickableTagExp.test(o.nodeName + "") || o.getAttribute("contentEditable") === "true") ? true : d(o.parentNode); 28792 }, _setSelectable = function(o, h) { 28793 for (var g = o.length, b; g--; ) b = o[g], b.ondragstart = b.onselectstart = h ? null : _emptyFunc, gsap.set(b, { 28794 lazy: true, 28795 userSelect: h ? "text" : "none" 28796 }); 28797 }, _isFixed = function d(o) { 28798 if (_getComputedStyle(o).position === "fixed") return true; 28799 if (o = o.parentNode, o && o.nodeType === 1) return d(o); 28800 }, _supports3D, _addPaddingBR, ScrollProxy = function(o, h) { 28801 o = gsap.utils.toArray(o)[0], h = h || {}; 28802 var g = document.createElement("div"), b = g.style, $ = o.firstChild, _e = 0, et = 0, tt = o.scrollTop, rt = o.scrollLeft, nt = o.scrollWidth, st = o.scrollHeight, ot = 0, it = 0, at = 0, lt, ct, ut, ft, dt, pt; 28803 _supports3D && h.force3D !== false ? (dt = "translate3d(", pt = "px,0px)") : _transformProp && (dt = "translate(", pt = "px)"), this.scrollTop = function(ht, mt) { 28804 if (!arguments.length) return -this.top(); 28805 this.top(-ht, mt); 28806 }, this.scrollLeft = function(ht, mt) { 28807 if (!arguments.length) return -this.left(); 28808 this.left(-ht, mt); 28809 }, this.left = function(ht, mt) { 28810 if (!arguments.length) return -(o.scrollLeft + et); 28811 var gt = o.scrollLeft - rt, yt = et; 28812 if ((gt > 2 || gt < -2) && !mt) { 28813 rt = o.scrollLeft, gsap.killTweensOf(this, { 28814 left: 1, 28815 scrollLeft: 1 28816 }), this.left(-rt), h.onKill && h.onKill(); 28817 return; 28818 } 28819 ht = -ht, ht < 0 ? (et = ht - 0.5 | 0, ht = 0) : ht > it ? (et = ht - it | 0, ht = it) : et = 0, (et || yt) && (this._skip || (b[_transformProp] = dt + -et + "px," + -_e + pt), et + ot >= 0 && (b.paddingRight = et + ot + "px")), o.scrollLeft = ht | 0, rt = o.scrollLeft; 28820 }, this.top = function(ht, mt) { 28821 if (!arguments.length) return -(o.scrollTop + _e); 28822 var gt = o.scrollTop - tt, yt = _e; 28823 if ((gt > 2 || gt < -2) && !mt) { 28824 tt = o.scrollTop, gsap.killTweensOf(this, { 28825 top: 1, 28826 scrollTop: 1 28827 }), this.top(-tt), h.onKill && h.onKill(); 28828 return; 28829 } 28830 ht = -ht, ht < 0 ? (_e = ht - 0.5 | 0, ht = 0) : ht > at ? (_e = ht - at | 0, ht = at) : _e = 0, (_e || yt) && (this._skip || (b[_transformProp] = dt + -et + "px," + -_e + pt)), o.scrollTop = ht | 0, tt = o.scrollTop; 28831 }, this.maxScrollTop = function() { 28832 return at; 28833 }, this.maxScrollLeft = function() { 28834 return it; 28835 }, this.disable = function() { 28836 for ($ = g.firstChild; $; ) ft = $.nextSibling, o.appendChild($), $ = ft; 28837 o === g.parentNode && o.removeChild(g); 28838 }, this.enable = function() { 28839 if ($ = o.firstChild, $ !== g) { 28840 for (; $; ) ft = $.nextSibling, g.appendChild($), $ = ft; 28841 o.appendChild(g), this.calibrate(); 28842 } 28843 }, this.calibrate = function(ht) { 28844 var mt = o.clientWidth === lt, gt, yt, xt; 28845 tt = o.scrollTop, rt = o.scrollLeft, !(mt && o.clientHeight === ct && g.offsetHeight === ut && nt === o.scrollWidth && st === o.scrollHeight && !ht) && ((_e || et) && (yt = this.left(), xt = this.top(), this.left(-o.scrollLeft), this.top(-o.scrollTop)), gt = _getComputedStyle(o), (!mt || ht) && (b.display = "block", b.width = "auto", b.paddingRight = "0px", ot = Math.max(0, o.scrollWidth - o.clientWidth), ot && (ot += parseFloat(gt.paddingLeft) + (_addPaddingBR ? parseFloat(gt.paddingRight) : 0))), b.display = "inline-block", b.position = "relative", b.overflow = "visible", b.verticalAlign = "top", b.boxSizing = "content-box", b.width = "100%", b.paddingRight = ot + "px", _addPaddingBR && (b.paddingBottom = gt.paddingBottom), lt = o.clientWidth, ct = o.clientHeight, nt = o.scrollWidth, st = o.scrollHeight, it = o.scrollWidth - lt, at = o.scrollHeight - ct, ut = g.offsetHeight, b.display = "block", (yt || xt) && (this.left(yt), this.top(xt))); 28846 }, this.content = g, this.element = o, this._skip = false, this.enable(); 28847 }, _initCore = function(o) { 28848 if (_windowExists() && document.body) { 28849 var h = window && window.navigator; 28850 _win = window, _doc = document, _docElement = _doc.documentElement, _body = _doc.body, _tempDiv = _createElement("div"), _supportsPointer = !!window.PointerEvent, _placeholderDiv = _createElement("div"), _placeholderDiv.style.cssText = "visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab", _defaultCursor = _placeholderDiv.style.cursor === "grab" ? "grab" : "move", _isAndroid = h && h.userAgent.toLowerCase().indexOf("android") !== -1, _isTouchDevice = "ontouchstart" in _docElement && "orientation" in _win || h && (h.MaxTouchPoints > 0 || h.msMaxTouchPoints > 0), _addPaddingBR = function() { 28851 var g = _createElement("div"), b = _createElement("div"), $ = b.style, _e = _body, et; 28852 return $.display = "inline-block", $.position = "relative", g.style.cssText = "width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden", g.appendChild(b), _e.appendChild(g), et = b.offsetHeight + 18 > g.scrollHeight, _e.removeChild(g), et; 28853 }(), _touchEventLookup = function(g) { 28854 for (var b = g.split(","), $ = ("onpointerdown" in _tempDiv ? "pointerdown,pointermove,pointerup,pointercancel" : "onmspointerdown" in _tempDiv ? "MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel" : g).split(","), _e = {}, et = 4; --et > -1; ) _e[b[et]] = $[et], _e[$[et]] = b[et]; 28855 try { 28856 _docElement.addEventListener("test", null, Object.defineProperty({}, "passive", { 28857 get: function() { 28858 _supportsPassive = 1; 28859 } 28860 })); 28861 } catch (e2) { 28862 } 28863 return _e; 28864 }("touchstart,touchmove,touchend,touchcancel"), _addListener(_doc, "touchcancel", _emptyFunc), _addListener(_win, "touchmove", _emptyFunc), _body && _body.addEventListener("touchstart", _emptyFunc), _addListener(_doc, "contextmenu", function() { 28865 for (var g in _lookup) _lookup[g].isPressed && _lookup[g].endDrag(
28865); 28866 }), gsap = _coreInitted = _getGSAP(); 28867 } 28868 gsap ? (InertiaPlugin = gsap.plugins.inertia, _context = gsap.core.context || function() { 28869 }, _checkPrefix = gsap.utils.checkPrefix, _transformProp = _checkPrefix(_transformProp), _transformOriginProp = _checkPrefix(_transformOriginProp), _toArray = gsap.utils.toArray, _getStyleSaver = gsap.core.getStyleSaver, _supports3D = !!_checkPrefix("perspective")) : o && console.warn("Please gsap.registerPlugin(Draggable)"); 28870 }, EventDispatcher = function() { 28871 function d(h) { 28872 this._listeners = {}, this.target = h || this; 28873 } 28874 var o = d.prototype; 28875 return o.addEventListener = function(g, b) { 28876 var $ = this._listeners[g] || (this._listeners[g] = []); 28877 ~$.indexOf(b) || $.push(b); 28878 }, o.removeEventListener = function(g, b) { 28879 var $ = this._listeners[g], _e = $ && $.indexOf(b); 28880 _e >= 0 && $.splice(_e, 1); 28881 }, o.dispatchEvent = function(g) { 28882 var b = this, $; 28883 return (this._listeners[g] || []).forEach(function(_e) { 28884 return _e.call(b, { 28885 type: g, 28886 target: b.target 28887 }) === false && ($ = false); 28888 }), $; 28889 }, d; 28890 }(), Draggable = function(d) { 28891 _inheritsLoose(o, d); 28892 function o(h, g) { 28893 var b; 28894 b = d.call(this) || this, _coreInitted || _initCore(1), h = _toArray(h)[0], b.styles = _getStyleSaver && _getStyleSaver(h, "transform,left,top"), InertiaPlugin || (InertiaPlugin = gsap.plugins.inertia), b.vars = g = _copy(g || {}), b.target = h, b.x = b.y = b.rotation = 0, b.dragResistance = parseFloat(g.dragResistance) || 0, b.edgeResistance = isNaN(g.edgeResistance) ? 1 : parseFloat(g.edgeResistance) || 0, b.lockAxis = g.lockAxis, b.autoScroll = g.autoScroll || 0, b.lockedAxis = null, b.allowEventDefault = !!g.allowEventDefault, gsap.getProperty(h, "x"); 28895 var $ = (g.type || "x,y").toLowerCase(), _e = ~$.indexOf("x") || ~$.indexOf("y"), et = $.indexOf("rotation") !== -1, tt = et ? "rotation" : _e ? "x" : "left", rt = _e ? "y" : "top", nt = !!(~$.indexOf("x") || ~$.indexOf("left") || $ === "scroll"), st = !!(~$.indexOf("y") || ~$.indexOf("top") || $ === "scroll"), ot = g.minimumMovement || 2, it = _assertThisInitialized(b), at = _toArray(g.trigger || g.handle || h), lt = {}, ct = 0, ut = false, ft = g.autoScrollMarginTop || 40, dt = g.autoScrollMarginRight || 40, pt = g.autoScrollMarginBottom || 40, ht = g.autoScrollMarginLeft || 40, mt = g.clickableTest || _isClickable, gt = 0, yt = h._gsap || gsap.core.getCache(h), xt = _isFixed(h), _t = function(Nt, Jt) { 28896 return parseFloat(yt.get(h, Nt, Jt)); 28897 }, St = h.ownerDocument || _doc, kt, Rt, Tt, Yt, Dt, Ot, Mt, Vt, Et, Ht, Kt, ir, sr, Er, $t, pr, fr, Ur, Tr, Rr, Or, Ar, yr, gr, Qr, zt, Cr, Hr, un, Dr, Sr, Ir, Kr, Nr = function(Nt) { 28898 return _preventDefault(Nt), Nt.stopImmediatePropagation && Nt.stopImmediatePropagation(), false; 28899 }, ar = function lr(Nt) { 28900 if (it.autoScroll && it.isDragging && (ut || fr)) { 28901 var Jt = h, vt = it.autoScroll * 15, wt, Ct, jt, Ut, Lt, Qt, Wt, Zt; 28902 for (ut = false, _windowProxy.scrollTop = _win.pageYOffset != null ? _win.pageYOffset : St.documentElement.scrollTop != null ? St.documentElement.scrollTop : St.body.scrollTop, _windowProxy.scrollLeft = _win.pageXOffset != null ? _win.pageXOffset : St.documentElement.scrollLeft != null ? St.documentElement.scrollLeft : St.body.scrollLeft, Ut = it.pointerX - _windowProxy.scrollLeft, Lt = it.pointerY - _windowProxy.scrollTop; Jt && !Ct; ) Ct = _isRoot(Jt.parentNode), wt = Ct ? _windowProxy : Jt.parentNode, jt = Ct ? { 28903 bottom: Math.max(_docElement.clientHeight, _win.innerHeight || 0), 28904 right: Math.max(_docElement.clientWidth, _win.innerWidth || 0), 28905 left: 0, 28906 top: 0 28907 } : wt.getBoundingClientRect(), Qt = Wt = 0, st && (Zt = wt._gsMaxScrollY - wt.scrollTop, Zt < 0 ? Wt = Zt : Lt > jt.bottom - pt && Zt ? (ut = true, Wt = Math.min(Zt, vt * (1 - Math.max(0, jt.bottom - Lt) / pt) | 0)) : Lt < jt.top + ft && wt.scrollTop && (ut = true, Wt = -Math.min(wt.scrollTop, vt * (1 - Math.max(0, Lt - jt.top) / ft) | 0)), Wt && (wt.scrollTop += Wt)), nt && (Zt = wt._gsMaxScrollX - wt.scrollLeft, Zt < 0 ? Qt = Zt : Ut > jt.right - dt && Zt ? (ut = true, Qt = Math.min(Zt, vt * (1 - Math.max(0, jt.right - Ut) / dt) | 0)) : Ut < jt.left + ht && wt.scrollLeft && (ut = true, Qt = -Math.min(wt.scrollLeft, vt * (1 - Math.max(0, Ut - jt.left) / ht) | 0)), Qt && (wt.scrollLeft += Qt)), Ct && (Qt || Wt) && (_win.scrollTo(wt.scrollLeft, wt.scrollTop), pn(it.pointerX + Qt, it.pointerY + Wt)), Jt = wt; 28908 } 28909 if (fr) { 28910 var Xt = it.x, tr = it.y; 28911 et ? (it.deltaX = Xt - parseFloat(yt.rotation), it.rotation = Xt, yt.rotation = Xt + "deg", yt.renderTransform(1, yt)) : Rt ? (st && (it.deltaY = tr - Rt.top(), Rt.top(tr)), nt && (it.deltaX = Xt - Rt.left(), Rt.left(Xt))) : _e ? (st && (it.deltaY = tr - parseFloat(yt.y), yt.y = tr + "px"), nt && (it.deltaX = Xt - parseFloat(yt.x), yt.x = Xt + "px"), yt.renderTransform(1, yt)) : (st && (it.deltaY = tr - parseFloat(h.style.top || 0), h.style.top = tr + "px"), nt && (it.deltaX = Xt - parseFloat(h.style.left || 0), h.style.left = Xt + "px")), Vt && !Nt && !Hr && (Hr = true, _dispatchEvent(it, "drag", "onDrag") === false && (nt && (it.x -= it.deltaX), st && (it.y -= it.deltaY), lr(true)), Hr = false); 28912 } 28913 fr = false;
28914 }, or = function(Nt, Jt) { 28915 var vt = it.x, wt = it.y, Ct, jt; 28916 h._gsap || (yt = gsap.core.getCache(h)), yt.uncache && gsap.getProperty(h, "x"), _e ? (it.x = parseFloat(yt.x), it.y = parseFloat(yt.y)) : et ? it.x = it.rotation = parseFloat(yt.rotation) : Rt ? (it.y = Rt.top(), it.x = Rt.left()) : (it.y = parseFloat(h.style.top || (jt = _getComputedStyle(h)) && jt.top) || 0, it.x = parseFloat(h.style.left || (jt || {}).left) || 0), (Tr || Rr || Or) && !Jt && (it.isDragging || it.isThrowing) && (Or && (_temp1.x = it.x, _temp1.y = it.y, Ct = Or(_temp1), Ct.x !== it.x && (it.x = Ct.x, fr = true), Ct.y !== it.y && (it.y = Ct.y, fr = true)), Tr && (Ct = Tr(it.x), Ct !== it.x && (it.x = Ct, et && (it.rotation = Ct), fr = true)), Rr && (Ct = Rr(it.y), Ct !== it.y && (it.y = Ct), fr = true)), fr && ar(true), Nt || (it.deltaX = it.x - vt, it.deltaY = it.y - wt, _dispatchEvent(it, "throwupdate", "onThrowUpdate")); 28917 }, dr = function(Nt, Jt, vt, wt) { 28918 return Jt == null && (Jt = -1e20), vt == null && (vt = _bigNum), _isFunction(Nt) ? function(Ct) { 28919 var jt = it.isPressed ? 1 - it.edgeResistance : 1; 28920 return Nt.call(it, (Ct > vt ? vt + (Ct - vt) * jt : Ct < Jt ? Jt + (Ct - Jt) * jt : Ct) * wt) * wt; 28921 } : _isArray(Nt) ? function(Ct) { 28922 for (var jt = Nt.length, Ut = 0, Lt = _bigNum, Qt, Wt; --jt > -1; ) Qt = Nt[jt], Wt = Qt - Ct, Wt < 0 && (Wt = -Wt), Wt < Lt && Qt >= Jt && Qt <= vt && (Ut = jt, Lt = Wt); 28923 return Nt[Ut]; 28924 } : isNaN(Nt) ? function(Ct) { 28925 return Ct; 28926 } : function() { 28927 return Nt * wt; 28928 }; 28929 }, br = function(Nt, Jt, vt, wt, Ct, jt, Ut) { 28930 return jt = jt && jt < _bigNum ? jt * jt : _bigNum, _isFunction(Nt) ? function(Lt) { 28931 var Qt = it.isPressed ? 1 - it.edgeResistance : 1, Wt = Lt.x, Zt = Lt.y, Xt, tr, rr; 28932 return Lt.x = Wt = Wt > vt ? vt + (Wt - vt) * Qt : Wt < Jt ? Jt + (Wt - Jt) * Qt : Wt, Lt.y = Zt = Zt > Ct ? Ct + (Zt - Ct) * Qt : Zt < wt ? wt + (Zt - wt) * Qt : Zt, Xt = Nt.call(it, Lt), Xt !== Lt && (Lt.x = Xt.x, Lt.y = Xt.y), Ut !== 1 && (Lt.x *= Ut, Lt.y *= Ut), jt < _bigNum && (tr = Lt.x - Wt, rr = Lt.y - Zt, tr * tr + rr * rr > jt && (Lt.x = Wt, Lt.y = Zt)), Lt; 28933 } : _isArray(Nt) ? function(Lt) { 28934 for (var Qt = Nt.length, Wt = 0, Zt = _bigNum, Xt, tr, rr, nr; --Qt > -1; ) rr = Nt[Qt], Xt = rr.x - Lt.x, tr = rr.y - Lt.y, nr = Xt * Xt + tr * tr, nr < Zt && (Wt = Qt, Zt = nr); 28935 return Zt <= jt ? Nt[Wt] : Lt; 28936 } : function(Lt) { 28937 return Lt; 28938 }; 28939 }, Fr = function() { 28940 var Nt, Jt, vt, wt; 28941 Mt = false, Rt ? (Rt.calibrate(), it.minX = Kt = -Rt.maxScrollLeft(), it.minY = sr = -Rt.maxScrollTop(), it.maxX = Ht = it.maxY = ir = 0, Mt = true) : g.bounds && (Nt = _getBounds(g.bounds, h.parentNode), et ? (it.minX = Kt = Nt.left, it.maxX = Ht = Nt.left + Nt.width, it.minY = sr = it.maxY = ir = 0) : !_isUndefined(g.bounds.maxX) || !_isUndefined(g.bounds.maxY) ? (Nt = g.bounds, it.minX = Kt = Nt.minX, it.minY = sr = Nt.minY, it.maxX = Ht = Nt.maxX, it.maxY = ir = Nt.maxY) : (Jt = _getBounds(h, h.parentNode), it.minX = Kt = Math.round(_t(tt, "px") + Nt.left - Jt.left), it.minY = sr = Math.round(_t(rt, "px") + Nt.top - Jt.top), it.maxX = Ht = Math.round(Kt + (Nt.width - Jt.width)), it.maxY = ir = Math.round(sr + (Nt.height - Jt.height))), Kt > Ht && (it.minX = Ht, it.maxX = Ht = Kt, Kt = it.minX), sr > ir && (it.minY = ir, it.maxY = ir = sr, sr = it.minY), et && (it.minRotation = Kt, it.maxRotation = Ht), Mt = true), g.liveSnap && (vt = g.liveSnap === true ? g.snap || {} : g.liveSnap, wt = _isArray(vt) || _isFunction(vt), et ? (Tr = dr(wt ? vt : vt.rotation, Kt, Ht, 1), Rr = null) : vt.points ? Or = br(wt ? vt : vt.points, Kt, Ht, sr, ir, vt.radius, Rt ? -1 : 1) : (nt && (Tr = dr(wt ? vt : vt.x || vt.left || vt.scrollLeft, Kt, Ht, Rt ? -1 : 1)), st && (Rr = dr(wt ? vt : vt.y || vt.top || vt.scrollTop, sr, ir, Rt ? -1 : 1)))); 28942 }, Lr = function() { 28943 it.isThrowing = false, _dispatchEvent(it, "throwcomplete", "onThrowComplete"); 28944 }, mr = function() { 28945 it.isThrowing = false;
28946 }, hr = function(Nt, Jt) { 28947 var vt, wt, Ct, jt; 28948 Nt && InertiaPlugin ? (Nt === true && (vt = g.snap || g.liveSnap || {}, wt = _isArray(vt) || _isFunction(vt), Nt = { 28949 resistance: (g.throwResistance || g.resistance || 1e3) / (et ? 10 : 1) 28950 }, et ? Nt.rotation = _parseInertia(it, wt ? vt : vt.rotation, Ht, Kt, 1, Jt) : (nt && (Nt[tt] = _parseInertia(it, wt ? vt : vt.points || vt.x || vt.left, Ht, Kt, Rt ? -1 : 1, Jt || it.lockedAxis === "x")), st && (Nt[rt] = _parseInertia(it, wt ? vt : vt.points || vt.y || vt.top, ir, sr, Rt ? -1 : 1, Jt || it.lockedAxis === "y")), (vt.points || _isArray(vt) && _isObject(vt[0])) && (Nt.linkedProps = tt + "," + rt, Nt.radius = vt.radius))), it.isThrowing = true, jt = isNaN(g.overshootTolerance) ? g.edgeResistance === 1 ? 0 : 1 - it.edgeResistance + 0.2 : g.overshootTolerance, Nt.duration || (Nt.duration = { 28951 max: Math.max(g.minDuration || 0, "maxDuration" in g ? g.maxDuration : 2), 28952 min: isNaN(g.minDuration) ? jt === 0 || _isObject(Nt) && Nt.resistance > 1e3 ? 0 : 0.5 : g.minDuration, 28953 overshoot: jt 28954 }), it.tween = Ct = gsap.to(Rt || h, { 28955 inertia: Nt, 28956 data: "_draggable", 28957 inherit: false, 28958 onComplete: Lr, 28959 onInterrupt: mr, 28960 onUpdate: g.fastMode ? _dispatchEvent : or, 28961 onUpdateParams: g.fastMode ? [ 28962 it, 28963 "onthrowupdate", 28964 "onThrowUpdate" 28965 ] : vt && vt.radius ? [ 28966 false, 28967 true 28968 ] : [] 28969 }), g.fastMode || (Rt && (Rt._skip = true), Ct.render(1e9, true, true), or(true, true), it.endX = it.x, it.endY = it.y, et && (it.endRotation = it.x), Ct.play(0), or(true, true), Rt && (Rt._skip = false))) : Mt && it.applyBounds(); 28970 }, zr = function(Nt) { 28971 var Jt = gr, vt; 28972 gr = getGlobalMatrix(h.parentNode, true), Nt && it.isPressed && !gr.equals(Jt || new Matrix2D()) && (vt = Jt.inverse().apply({ 28973 x: Tt, 28974 y: Yt 28975 }), gr.apply(vt, vt), Tt = vt.x, Yt = vt.y), gr.equals(_identityMatrix) && (gr = null); 28976 }, sn = function() { 28977 var Nt = 1 - it.edgeResistance, Jt = xt ? _getDocScrollLeft(St) : 0, vt = xt ? _getDocScrollTop(St) : 0, wt, Ct, jt; 28978 _e && (yt.x = _t(tt, "px") + "px", yt.y = _t(rt, "px") + "px", yt.renderTransform()), zr(false), _point1.x = it.pointerX - Jt, _point1.y = it.pointerY - vt, gr && gr.apply(_point1, _point1), Tt = _point1.x, Yt = _point1.y, fr && (pn(it.pointerX, it.pointerY), ar(true)), Ir = getGlobalMatrix(h), Rt ? (Fr(), Ot = Rt.top(), Dt = Rt.left()) : (en() ? (or(true, true), Fr()) : it.applyBounds(), et ? (wt = h.ownerSVGElement ? [ 28979 yt.xOrigin - h.getBBox().x, 28980 yt.yOrigin - h.getBBox().y 28981 ] : (_getComputedStyle(h)[_transformOriginProp] || "0 0").split(" "), pr = it.rotationOrigin = getGlobalMatrix(h).apply({ 28982 x: parseFloat(wt[0]) || 0, 28983 y: parseFloat(wt[1]) || 0 28984 }), or(true, true), Ct = it.pointerX - pr.x - Jt, jt = pr.y - it.pointerY + vt, Dt = it.x, Ot = it.y = Math.atan2(jt, Ct) * _RAD2DEG) : (Ot = _t(rt, "px"), Dt = _t(tt, "px"))), Mt && Nt && (Dt > Ht ? Dt = Ht + (Dt - Ht) / Nt : Dt < Kt && (Dt = Kt - (Kt - Dt) / Nt), et || (Ot > ir ? Ot = ir + (Ot - ir) / Nt : Ot < sr && (Ot = sr - (sr - Ot) / Nt))), it.startX = Dt = _round(Dt), it.startY = Ot = _round(Ot); 28985 }, en = function() { 28986 return it.tween && it.tween.isActive(); 28987 }, on = function() { 28988 _placeholderDiv.parentNode && !en() && !it.isDragging && _placeholderDiv.parentNode.removeChild(_placeholderDiv); 28989 }, dn = function(Nt, Jt) { 28990 var vt; 28991 if (!kt || it.isPressed || !Nt || (Nt.type === "mousedown" || Nt.type === "pointerdown") && !Jt && _getTime() - gt < 30 && _touchEventLookup[it.pointerEvent.type]) { 28992 Sr && Nt && kt && _preventDefault(Nt); 28993 return; 28994 } 28995 if (Qr = en(), Kr = false, it.pointerEvent = Nt, _touchEventLookup[Nt.type] ? (yr = ~Nt.type.indexOf("touch") ? Nt.currentTarget || Nt.target : St, _addListener(yr, "touchend", Vr), _addListener(yr, "touchmove", _r), _addListener(yr, "touchcancel", Vr), _addListener(St, "touchstart", _onMultiTouchDocument)) : (yr = null, _addListener(St, "mousemove", _r)), Cr = null, (!_supportsPointer || !yr) && (_addListener(St, "mouseup", Vr), Nt && Nt.target && _addListener(Nt.target, "mouseup", Vr)), Ar = mt.call(it, Nt.target) && g.dragClickables === false && !Jt, Ar) { 28996 _addListener(Nt.target, "change", Vr), _dispatchEvent(it, "pressInit", "onPressInit"), _dispatchEvent(it, "press", "onPress"), _setSelectable(at, true), Sr = false;
28997 return; 28998 } 28999 if (zt = !yr || nt === st || it.vars.allowNativeTouchScrolling === false || it.vars.allowContextMenu && Nt && (Nt.ctrlKey || Nt.which > 2) ? false : nt ? "y" : "x", Sr = !zt && !it.allowEventDefault, Sr && (_preventDefault(Nt), _addListener(_win, "touchforcechange", _preventDefault)), Nt.changedTouches ? (Nt = Er = Nt.changedTouches[0], $t = Nt.identifier) : Nt.pointerId ? $t = Nt.pointerId : Er = $t = null, _dragCount++, _addToRenderQueue(ar), Yt = it.pointerY = Nt.pageY, Tt = it.pointerX = Nt.pageX, _dispatchEvent(it, "pressInit", "onPressInit"), (zt || it.autoScroll) && _recordMaxScrolls(h.parentNode), h.parentNode && it.autoScroll && !Rt && !et && h.parentNode._gsMaxScrollX && !_placeholderDiv.parentNode && !h.getBBox && (_placeholderDiv.style.width = h.parentNode.scrollWidth + "px", h.parentNode.appendChild(_placeholderDiv)), sn(), it.tween && it.tween.kill(), it.isThrowing = false, gsap.killTweensOf(Rt || h, lt, true), Rt && gsap.killTweensOf(h, { 29000 scrollTo: 1 29001 }, true), it.tween = it.lockedAxis = null, (g.zIndexBoost || !et && !Rt && g.zIndexBoost !== false) && (h.style.zIndex = o.zIndex++), it.isPressed = true, Vt = !!(g.onDrag || it._listeners.drag), Et = !!(g.onMove || it._listeners.move), g.cursor !== false || g.activeCursor) for (vt = at.length; --vt > -1; ) gsap.set(at[vt], { 29002 cursor: g.activeCursor || g.cursor || (_defaultCursor === "grab" ? "grabbing" : _defaultCursor) 29003 }); 29004 _dispatchEvent(it, "press", "onPress"); 29005 }, _r = function(Nt) { 29006 var Jt = Nt, vt, wt, Ct, jt, Ut, Lt; 29007 if (!kt || _isMultiTouching || !it.isPressed || !Nt) { 29008 Sr && Nt && kt && _preventDefault(Nt); 29009 return; 29010 } 29011 if (it.pointerEvent = Nt, vt = Nt.changedTouches, vt) { 29012 if (Nt = vt[0], Nt !== Er && Nt.identifier !== $t) { 29013 for (jt = vt.length; --jt > -1 && (Nt = vt[jt]).identifier !== $t && Nt.target !== h; ) ; 29014 if (jt < 0) return; 29015 } 29016 } else if (Nt.pointerId && $t && Nt.pointerId !== $t) return; 29017 if (yr && zt && !Cr && (_point1.x = Nt.pageX - (xt ? _getDocScrollLeft(St) : 0), _point1.y = Nt.pageY - (xt ? _getDocScrollTop(St) : 0), gr && gr.apply(_point1, _point1), wt = _point1.x, Ct = _point1.y, Ut = Math.abs(wt - Tt), Lt = Math.abs(Ct - Yt), (Ut !== Lt && (Ut > ot || Lt > ot) || _isAndroid && zt === Cr) && (Cr = Ut > Lt && nt ? "x" : "y", zt && Cr !== zt && _addListener(_win, "touchforcechange", _preventDefault), it.vars.lockAxisOnTouchScroll !== false && nt && st && (it.lockedAxis = Cr === "x" ? "y" : "x", _isFunction(it.vars.onLockAxis) && it.vars.onLockAxis.call(it, Jt)), _isAndroid && zt === Cr))) { 29018 Vr(Jt); 29019 return; 29020 } 29021 !it.allowEventDefault && (!zt || Cr && zt !== Cr) && Jt.cancelable !== false ? (_preventDefault(Jt), Sr = true) : Sr && (Sr = false), it.autoScroll && (ut = true), pn(Nt.pageX, Nt.pageY, Et); 29022 }, pn = function(Nt, Jt, vt) { 29023 var wt = 1 - it.dragResistance, Ct = 1 - it.edgeResistance, jt = it.pointerX, Ut = it.pointerY, Lt = Ot, Qt = it.x, Wt = it.y, Zt = it.endX, Xt = it.endY, tr = it.endRotation, rr = fr, nr, cr, xr, ur, jr, vr; 29024 it.pointerX = Nt, it.pointerY = Jt, xt && (Nt -= _getDocScrollLeft(St), Jt -= _getDocScrollTop(St)), et ? (ur = Math.atan2(pr.y - Jt, Nt - pr.x) * _RAD2DEG, jr = it.y - ur, jr > 180 ? (Ot -= 360, it.y = ur) : jr < -180 && (Ot += 360, it.y = ur), it.x !== Dt || Math.max(Math.abs(Tt - Nt), Math.abs(Yt - Jt)) > ot ? (it.y = ur, xr = Dt + (Ot - ur) * wt) : xr = Dt) : (gr && (vr = Nt * gr.a + Jt * gr.c + gr.e, Jt = Nt * gr.b + Jt * gr.d + gr.f, Nt = vr), cr = Jt - Yt, nr = Nt - Tt, cr < ot && cr > -ot && (cr = 0), nr < ot && nr > -ot && (nr = 0), (it.lockAxis || it.lockedAxis) && (nr || cr) && (vr = it.lockedAxis, vr || (it.lockedAxis = vr = nt && Math.abs(nr) > Math.abs(cr) ? "y" : st ? "x" : null, vr && _isFunction(it.vars.onLockAxis) && it.vars.onLockAxis.call(it, it.pointerEvent)), vr === "y" ? cr = 0 : vr === "x" && (nr = 0)), xr = _round(Dt + nr * wt), ur = _round(Ot + cr * wt)), (Tr || Rr || Or) && (it.x !== xr || it.y !== ur && !et) && (Or && (_temp1.x = xr, _temp1.y = ur, vr = Or(_temp1), xr = _round(vr.x), ur = _round(vr.y)), Tr && (xr = _round(Tr(xr))), Rr && (ur = _round(Rr(ur)))), Mt && (xr > Ht ? xr = Ht + Math.round((xr - Ht) * Ct) : xr < Kt && (xr = Kt + Math.round((xr - Kt) * Ct)), et || (ur > ir ? ur = Math.round(ir + (ur - ir) * Ct) : ur < sr && (ur = Math.round(sr + (ur - sr) * Ct)))), (it.x !== xr || it.y !== ur && !et) && (et ? (it.endRotation = it.x = it.endX = xr, fr = true) : (st && (it.y = it.endY = ur, fr = true), nt && (it.x = it.endX = xr, fr = true)), !vt || _dispatchEvent(it, "move", "onMove") !== false ? !it.isDragging && it.isPressed && (it.isDragging = Kr = true, _dispatchEvent(it, "dragstart", "onDragStart")) : (it.pointerX = jt, it.pointerY = Ut, Ot = Lt, it.x = Qt, it.y = Wt, it.endX = Zt, it.endY = Xt, it.endRotation = tr, fr = rr)); 29025 }, Vr = function lr(Nt, Jt) { 29026 if (!kt || !it.isPressed || Nt && $t != null && !Jt && (Nt.pointerId && Nt.pointerId !== $t && Nt.target !== h || Nt.changedTouches && !_hasTouchID(Nt.changedTouches, $t))) { 29027 Sr && Nt && kt && _preventDefault(Nt); 29028 return; 29029 } 29030 it.isPressed = false;
29031 var vt = Nt, wt = it.isDragging, Ct = it.vars.allowContextMenu && Nt && (Nt.ctrlKey || Nt.which > 2), jt = gsap.delayedCall(1e-3, on), Ut, Lt, Qt, Wt, Zt; 29032 if (yr ? (_removeListener(yr, "touchend", lr), _removeListener(yr, "touchmove", _r), _removeListener(yr, "touchcancel", lr), _removeListener(St, "touchstart", _onMultiTouchDocument)) : _removeListener(St, "mousemove", _r), _removeListener(_win, "touchforcechange", _preventDefault), (!_supportsPointer || !yr) && (_removeListener(St, "mouseup", lr), Nt && Nt.target && _removeListener(Nt.target, "mouseup", lr)), fr = false, wt && (ct = _lastDragTime = _getTime(), it.isDragging = false), _removeFromRenderQueue(ar), Ar && !Ct) { 29033 Nt && (_removeListener(Nt.target, "change", lr), it.pointerEvent = vt), _setSelectable(at, false), _dispatchEvent(it, "release", "onRelease"), _dispatchEvent(it, "click", "onClick"), Ar = false; 29034 return; 29035 } 29036 for (Lt = at.length; --Lt > -1; ) _setStyle(at[Lt], "cursor", g.cursor || (g.cursor !== false ? _defaultCursor : null)); 29037 if (_dragCount--, Nt) { 29038 if (Ut = Nt.changedTouches, Ut && (Nt = Ut[0], Nt !== Er && Nt.identifier !== $t)) { 29039 for (Lt = Ut.length; --Lt > -1 && (Nt = Ut[Lt]).identifier !== $t && Nt.target !== h; ) ; 29040 if (Lt < 0 && !Jt) return; 29041 } 29042 it.pointerEvent = vt, it.pointerX = Nt.pageX, it.pointerY = Nt.pageY; 29043 } 29044 return Ct && vt ? (_preventDefault(vt), Sr = true, _dispatchEvent(it, "release", "onRelease")) : vt && !wt ? (Sr = false, Qr && (g.snap || g.bounds) && hr(g.inertia || g.throwProps), _dispatchEvent(it, "release", "onRelease"), (!_isAndroid || vt.type !== "touchmove") && vt.type.indexOf("cancel") === -1 && (_dispatchEvent(it, "click", "onClick"), _getTime() - gt < 300 && _dispatchEvent(it, "doubleclick", "onDoubleClick"), Wt = vt.target || h, gt = _getTime(), Zt = function() { 29045 gt !== un && it.enabled() && !it.isPressed && !vt.defaultPrevented && (Wt.click ? Wt.click() : St.createEvent && (Qt = St.createEvent("MouseEvents"), Qt.initMouseEvent("click", true, true, _win, 1, it.pointerEvent.screenX, it.pointerEvent.screenY, it.pointerX, it.pointerY, false, false, false, false, 0, null), Wt.dispatchEvent(Qt))); 29046 }, !_isAndroid && !vt.defaultPrevented && gsap.delayedCall(0.05, Zt))) : (hr(g.inertia || g.throwProps), !it.allowEventDefault && vt && (g.dragClickables !== false || !mt.call(it, vt.target)) && wt && (!zt || Cr && zt === Cr) && vt.cancelable !== false ? (Sr = true, _preventDefault(vt)) : Sr = false, _dispatchEvent(it, "release", "onRelease")), en() && jt.duration(it.t
29046ween.duration()), wt && _dispatchEvent(it, "dragend", "onDragEnd"), true; 29047 }, tn = function(Nt) { 29048 if (Nt && it.isDragging && !Rt) { 29049 var Jt = Nt.target || h.parentNode, vt = Jt.scrollLeft - Jt._gsScrollX, wt = Jt.scrollTop - Jt._gsScrollY; 29050 (vt || wt) && (gr ? (Tt -= vt * gr.a + wt * gr.c, Yt -= wt * gr.d + vt * gr.b) : (Tt -= vt, Yt -= wt), Jt._gsScrollX += vt, Jt._gsScrollY += wt, pn(it.pointerX, it.pointerY)); 29051 } 29052 }, an = function(Nt) { 29053 var Jt = _getTime(), vt = Jt - gt < 100, wt = Jt - ct < 50, Ct = vt && un === gt, jt = it.pointerEvent && it.pointerEvent.defaultPrevented, Ut = vt && Dr === gt, Lt = Nt.isTrusted || Nt.isTrusted == null && vt && Ct; 29054 if ((Ct || wt && it.vars.suppressClickOnDrag !== false) && Nt.stopImmediatePropagation && Nt.stopImmediatePropagation(), vt && !(it.pointerEvent && it.pointerEvent.defaultPrevented) && (!Ct || Lt && !Ut)) { 29055 Lt && Ct && (Dr = gt), un = gt; 29056 return; 29057 } 29058 (it.isPressed || wt || vt) && (!Lt || !Nt.detail || !vt || jt) && _preventDefault(Nt), !vt && !wt && !Kr && (Nt && Nt.target && (it.pointerEvent = Nt), _dispatchEvent(it, "click", "onClick")); 29059 }, fn = function(Nt) { 29060 return gr ? { 29061 x: Nt.x * gr.a + Nt.y * gr.c + gr.e, 29062 y: Nt.x * gr.b + Nt.y * gr.d + gr.f 29063 } : { 29064 x: Nt.x, 29065 y: Nt.y 29066 }; 29067 }; 29068 return Ur = o.get(h), Ur && Ur.kill(), b.startDrag = function(lr, Nt) { 29069 var Jt, vt, wt, Ct; 29070 dn(lr || it.pointerEvent, true), Nt && !it.hitTest(lr || it.pointerEvent) && (Jt = _parseRect(lr || it.pointerEvent), vt = _parseRect(h), wt = fn({ 29071 x: Jt.left + Jt.width / 2, 29072 y: Jt.top + Jt.height / 2 29073 }), Ct = fn({ 29074 x: vt.left + vt.width / 2, 29075 y: vt.top + vt.height / 2 29076 }), Tt -= wt.x - Ct.x, Yt -= wt.y - Ct.y), it.isDragging || (it.isDragging = Kr = true, _dispatchEvent(it, "dragstart", "onDragStart")); 29077 }, b.drag = _r, b.endDrag = function(lr) { 29078 return Vr(lr || it.pointerEvent, true); 29079 }, b.timeSinceDrag = function() { 29080 return it.isDragging ? 0 : (_getTime() - ct) / 1e3; 29081 }, b.timeSinceClick = function() { 29082 return (_getTime() - gt) / 1e3; 29083 }, b.hitTest = function(lr, Nt) { 29084 return o.hitTest(it.target, lr, Nt); 29085 }, b.getDirection = function(lr, Nt) { 29086 var Jt = lr === "velocity" && InertiaPlugin ? lr : _isObject(lr) && !et ? "element" : "start", vt, wt, Ct, jt, Ut, Lt; 29087 return Jt === "element" && (Ut = _parseRect(it.target), Lt = _parseRect(lr)), vt = Jt === "start" ? it.x - Dt : Jt === "velocity" ? InertiaPlugin.getVelocity(h, tt) : Ut.left + Ut.width / 2 - (Lt.left + Lt.width / 2), et ? vt < 0 ? "counter-clockwise" : "clockwise" : (Nt = Nt || 2, wt = Jt === "start" ? it.y - Ot : Jt === "velocity" ? InertiaPlugin.getVelocity(h, rt) : Ut.top + Ut.height / 2 - (Lt.top + Lt.height / 2), Ct = Math.abs(vt / wt), jt = Ct < 1 / Nt ? "" : vt < 0 ? "left" : "right", Ct < Nt && (jt !== "" && (jt += "-"), jt += wt < 0 ? "up" : "down"), jt); 29088 }, b.applyBounds = function(lr, Nt) { 29089 var Jt, vt, wt, Ct, jt, Ut; 29090 if (lr && g.bounds !== lr) return g.bounds = lr, it.update(true, Nt); 29091 if (or(true), Fr(), Mt && !en()) { 29092 if (Jt = it.x, vt = it.y, Jt > Ht ? Jt = Ht : Jt < Kt && (Jt = Kt), vt > ir ? vt = ir : vt < sr && (vt = sr), (it.x !== Jt || it.y !== vt) && (wt = true, it.x = it.endX = Jt, et ? it.endRotation = Jt : it.y = it.endY = vt, fr = true, ar(true), it.autoScroll && !it.isDragging)) for (_recordMaxScrolls(h.parentNode), Ct = h, _windowProxy.scrollTop = _win.pageYOffset != null ? _win.pageYOffset : St.documentElement.scrollTop != null ? St.documentElement.scrollTop : St.body.scrollTop, _windowProxy.scrollLeft = _win.pageXOffset != null ? _win.pageXOffset : St.documentElement.scrollLeft != null ? St.documentElement.scrollLeft : St.body.scrollLeft; Ct && !Ut; ) Ut = _isRoot(Ct.parentNode), jt = Ut ? _windowProxy : Ct.parentNode, st && jt.scrollTop > jt._gsMaxScrollY && (jt.scrollTop = jt._gsMaxScrollY), nt && jt.scrollLeft > jt._gsMaxScrollX && (jt.scrollLeft = jt._gsMaxScrollX), Ct = jt; 29093 it.isThrowing && (wt || it.endX > Ht || it.endX < Kt || it.endY > ir || it.endY < sr) && hr(g.inertia || g.throwProps, wt); 29094 } 29095 return it; 29096 }, b.update = function(lr, Nt, Jt) { 29097 if (Nt && it.isPressed) { 29098 var vt = getGlobalMatrix(h), wt = Ir.apply({ 29099 x: it.x - Dt, 29100 y: it.y - Ot 29101 }), Ct = getGlobalMatrix(h.parentNode, true); 29102 Ct.apply({ 29103 x: vt.e - wt.x, 29104 y: vt.f - wt.y 29105 }, wt), it.x -= wt.x - Ct.e, it.y -= wt.y - Ct.f, ar(true), sn(); 29106 } 29107 var jt = it.x, Ut = it.y; 29108 return zr(!Nt), lr ? it.applyBounds() : (fr && Jt && ar(true), or(true)), Nt && (pn(it.pointerX, it.pointerY), fr && ar(true)), it.isPressed && !Nt && (nt && Math.abs(jt - it.x) > 0.01 || st && Math.abs(Ut - it.y) > 0.01 && !et) && sn(), it.autoScroll && (_recordMaxScrolls(h.parentNode, it.isDragging), ut = it.isDragging, ar(true), _removeScrollListener(h, tn), _addScrollListener(h, tn)), it; 29109 }, b.enable = function(lr) { 29110 var Nt = { 29111 lazy: true 29112 }, Jt, vt, wt; 29113 if (g.cursor !== false && (Nt.cursor = g.cursor || _defaultCursor), gsap.utils.checkPrefix("touchCallout") && (Nt.touchCallout = "none"), lr !== "soft") { 29114 for (_setTouchActionForAllDescendants(at, nt === st ? "none" : g.allowNativeTouchScrolling && h.scrollHeight === h.clientHeight == (h.scrollWidth === h.clientHeight) || g.allowEventDefault ? "manipulation" : nt ? "pan-y" : "pan-x"), vt = at.length; --vt > -1; ) wt = at[vt], _supportsPointer || _addListener(wt, "mousedown", dn), _addListener(wt, "touchstart", dn), _addListener(wt, "click", an, true), gsap.set(wt, Nt), wt.getBBox && wt.ownerSVGElement && nt !== st && gsap.set(wt.ownerSVGElement, { 29115 touchAction: g.allowNativeTouchScrolling || g.allowEventDefault ? "manipulation" : nt ? "pan-y" : "pan-x" 29116 }), g.allowContextMenu || _addListener(wt, "contextmenu", Nr); 29117 _setSelectable(at, false); 29118 } 29119 return _addScrollListener(h, tn), kt = true, InertiaPlugin && lr !== "soft" && InertiaPlugin.track(Rt || h, _e ? "x,y" : et ? "rotation" : "top,left"), h._gsDragID = Jt = h._gsDragID || "d" + _lookupCount++, _lookup[Jt] = it, Rt && (Rt.enable(), Rt.element._gsDragID = Jt), (g.bounds || et) && sn(), g.bounds && it.applyBounds(), it; 29120 }, b.disable = function(lr) { 29121 for (var Nt = it.isDragging, Jt = at.length, vt; --Jt > -1; ) _setStyle(at[Jt], "cursor", null); 29122 if (lr !== "soft") { 29123 for (_setTouchActionForAllDescendants(at, null), Jt = at.length; --Jt > -1; ) vt = at[Jt], _setStyle(vt, "touchCallout", null), _removeListener(vt, "mousedown", dn), _removeListener(vt, "touchstart", dn), _removeListener(vt, "click", an, true), _removeListener(vt, "contextmenu", Nr); 29124 _setSelectable(at, true), yr && (_removeListener(yr, "touchcancel", Vr), _removeListener(yr, "touchend", Vr), _removeListener(yr, "touchmove", _r)), _removeListener(St, "mouseup", Vr), _removeListener(St, "mousemove", _r); 29125 } 29126 return _removeScrollListener(h, tn), kt = false, InertiaPlugin && lr !== "soft" && (InertiaPlugin.untrack(Rt || h, _e ? "x,y" : et ? "rotation" : "top,left"), it.tween && it.tween.kill()), Rt && Rt.disable(), _removeFromRenderQueue(ar), it.isDragging = it.isPressed = Ar = false, Nt && _dispatchEvent(it, "dragend", "onDragEnd"), it; 29127 }, b.enabled = function(lr, Nt) { 29128 return arguments.length ? lr ? it.enable(Nt) : it.disable(Nt) : kt; 29129 }, b.kill = function() { 29130 return it.isThrowing = false, it.tween && it.tween.kill(), it.disable(), gsap.set(at, { 29131 clearProps: "userSelect" 29132 }), delete _lookup[h._gsDragID], it; 29133 }, b.revert = function() { 29134 this.kill(), this.styles && this.styles.revert(); 29135 }, ~$.indexOf("scroll") && (Rt = b.scrollProxy = new ScrollProxy(h, _extend({ 29136 onKill: function() { 29137 it.isPressed && Vr(null); 29138 } 29139 }, g)), h.style.overflowY = st && !_isTouchDevice ? "auto" : "hidden", h.style.overflowX = nt && !_isTouchDevice ? "auto" : "hidden", h = Rt.content), et ? lt.rotation = 1 : (nt && (lt[tt] = 1), st && (lt[rt] = 1)), yt.force3D = "force3D" in g ? g.force3D : true, _context(_assertThisInitialized(b)), b.enable(), b; 29140 } 29141 return o.register = function(g) { 29142 gsap = g, _initCore(); 29143 }, o.create = function(g, b) { 29144 return _coreInitted || _initCore(true), _toArray(g).map(function($) { 29145 return new o($, b); 29146 }); 29147 }, o.get = function(g) { 29148 return _lookup[(_toArray(g)[0] || {})._gsDragID]; 29149 }, o.timeSinceDrag = function() { 29150 return (_getTime() - _lastDragTime) / 1e3; 29151 }, o.hitTest = function(g, b, $) { 29152 if (g === b) return false;
29153 var _e = _parseRect(g), et = _parseRect(b), tt = _e.top, rt = _e.left, nt = _e.right, st = _e.bottom, ot = _e.width, it = _e.height, at = et.left > nt || et.right < rt || et.top > st || et.bottom < tt, lt, ct, ut; 29154 return at || !$ ? !at : (ut = ($ + "").indexOf("%") !== -1, $ = parseFloat($) || 0, lt = { 29155 left: Math.max(rt, et.left), 29156 top: Math.max(tt, et.top) 29157 }, lt.width = Math.min(nt, et.right) - lt.left, lt.height = Math.min(st, et.bottom) - lt.top, lt.width < 0 || lt.height < 0 ? false : ut ? ($ *= 0.01, ct = lt.width * lt.height, ct >= ot * it * $ || ct >= et.width * et.height * $) : lt.width > $ && lt.height > $); 29158 }, o; 29159 }(EventDispatcher); 29160 _setDefaults(Draggable.prototype, { 29161 pointerX: 0, 29162 pointerY: 0, 29163 startX: 0, 29164 startY: 0, 29165 deltaX: 0, 29166 deltaY: 0, 29167 isDragging: false, 29168 isPressed: false 29169 }); 29170 Draggable.zIndex = 1e3; 29171 Draggable.version = "3.13.0"; 29172 _getGSAP() && gsap.registerPlugin(Draggable); 29173 function commonjsRequire(d) { 29174 throw new Error('Could not dynamically require "' + d + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); 29175 } 29176 var parallax = { 29177 exports: {} 29178 }; 29179 (function(d, o) { 29180 (function(h) { 29181 d.exports = h(); 29182 })(function() { 29183 return function h(g, b, $) { 29184 function _e(rt, nt) { 29185 if (!b[rt]) { 29186 if (!g[rt]) { 29187 var st = typeof commonjsRequire == "function" && commonjsRequire; 29188 if (!nt && st) return st(rt, true); 29189 if (et) return et(rt, true); 29190 var ot = new Error("Cannot find module '" + rt + "'"); 29191 throw ot.code = "MODULE_NOT_FOUND", ot; 29192 } 29193 var it = b[rt] = { 29194 exports: {} 29195 }; 29196 g[rt][0].call(it.exports, function(at) { 29197 var lt = g[rt][1][at]; 29198 return _e(lt || at); 29199 }, it, it.exports, h, g, b, $); 29200 } 29201 return b[rt].exports; 29202 } 29203 for (var et = typeof commonjsRequire == "function" && commonjsRequire, tt = 0; tt < $.length; tt++) _e($[tt]); 29204 return _e; 29205 }({ 29206 1: [ 29207 function(h, g, b) { 29208 var $ = Object.getOwnPropertySymbols, _e = Object.prototype.hasOwnProperty, et = Object.prototype.propertyIsEnumerable; 29209 function tt(nt) { 29210 if (nt == null) throw new TypeError("Object.assign cannot be called with null or undefined"); 29211 return Object(nt); 29212 } 29213 function rt() { 29214 try { 29215 if (!Object.assign) return false; 29216 var nt = new String("abc"); 29217 if (nt[5] = "de", Object.getOwnPropertyNames(nt)[0] === "5") return false; 29218 for (var st = {}, ot = 0; ot < 10; ot++) st["_" + String.fromCharCode(ot)] = ot; 29219 var it = Object.getOwnPropertyNames(st).map(function(lt) { 29220 return st[lt]; 29221 }); 29222 if (it.join("") !== "0123456789") return false; 29223 var at = {}; 29224 return "abcdefghijklmnopqrst".split("").forEach(function(lt) { 29225 at[lt] = lt; 29226 }), Object.keys(Object.assign({}, at)).join("") === "abcdefghijklmnopqrst"; 29227 } catch (e2) { 29228 return false; 29229 } 29230 } 29231 g.exports = rt() ? Object.assign : function(nt, st) { 29232 for (var ot, it = tt(nt), at, lt = 1; lt < arguments.length; lt++) { 29233 ot = Object(arguments[lt]); 29234 for (var ct in ot) _e.call(ot, ct) && (it[ct] = ot[ct]); 29235 if ($) { 29236 at = $(ot); 29237 for (var ut = 0; ut < at.length; ut++) et.call(ot, at[ut]) && (it[at[ut]] = ot[at[ut]]); 29238 } 29239 } 29240 return it; 29241 }; 29242 }, 29243 {} 29244 ], 29245 2: [ 29246 function(h, g, b) { 29247 (function($) { 29248 (function() { 29249 var _e, et, tt, rt, nt, st; 29250 typeof performance < "u" && performance !== null && performance.now ? g.exports = function() { 29251 return performance.now(); 29252 } : typeof $ < "u" && $ !== null && $.hrtime ? (g.exports = function() { 29253 return (_e() - nt) / 1e6; 29254 }, et = $.hrtime, _e = function() { 29255 var ot; 29256 return ot = et(), ot[0] * 1e9 + ot[1]; 29257 }
29257, rt = _e(), st = $.uptime() * 1e9, nt = rt - st) : Date.now ? (g.exports = function() { 29258 return Date.now() - tt; 29259 }, tt = Date.now()) : (g.exports = function() { 29260 return (/* @__PURE__ */ new Date()).getTime() - tt; 29261 }, tt = (/* @__PURE__ */ new Date()).getTime()); 29262 }).call(this); 29263 }).call(this, h("_process")); 29264 }, 29265 { 29266 _process: 3 29267 } 29268 ], 29269 3: [ 29270 function(h, g, b) { 29271 var $ = g.exports = {}, _e, et; 29272 function tt() { 29273 throw new Error("setTimeout has not been defined"); 29274 } 29275 function rt() { 29276 throw new Error("clearTimeout has not been defined"); 29277 } 29278 (function() { 29279 try { 29280 typeof setTimeout == "function" ? _e = setTimeout : _e = tt; 29281 } catch (e2) { 29282 _e = tt; 29283 } 29284 try { 29285 typeof clearTimeout == "function" ? et = clearTimeout : et = rt; 29286 } catch (e2) { 29287 et = rt; 29288 } 29289 })(); 29290 function nt(pt) { 29291 if (_e === setTimeout) return setTimeout(pt, 0); 29292 if ((_e === tt || !_e) && setTimeout) return _e = setTimeout, setTimeout(pt, 0); 29293 try { 29294 return _e(pt, 0); 29295 } catch (e2) { 29296 try { 29297 return _e.call(null, pt, 0); 29298 } catch (e3) { 29299 return _e.call(this, pt, 0); 29300 } 29301 } 29302 } 29303 function st(pt) { 29304 if (et === clearTimeout) return clearTimeout(pt); 29305 if ((et === rt || !et) && clearTimeout) return et = clearTimeout, clearTimeout(pt); 29306 try { 29307 return et(pt); 29308 } catch (e2) { 29309 try { 29310 return et.call(null, pt); 29311 } catch (e3) { 29312 return et.call(this, pt); 29313 } 29314 } 29315 } 29316 var ot = [], it = false, at, lt = -1; 29317 function ct() { 29318 !it || !at || (it = false, at.length ? ot = at.concat(ot) : lt = -1, ot.length && ut()); 29319 } 29320 function ut() { 29321 if (!it) { 29322 var pt = nt(ct); 29323 it = true; 29324 for (var ht = ot.length; ht; ) { 29325 for (at = ot, ot = []; ++lt < ht; ) at && at[lt].run(); 29326 lt = -1, ht = ot.length; 29327 } 29328 at = null, it = false, st(pt); 29329 } 29330 } 29331 $.nextTick = function(pt) { 29332 var ht = new Array(arguments.length - 1); 29333 if (arguments.length > 1) for (var mt = 1; mt < arguments.length; mt++) ht[mt - 1] = arguments[mt]; 29334 ot.push(new ft(pt, ht)), ot.length === 1 && !it && nt(ut); 29335 }; 29336 function ft(pt, ht) { 29337 this.fun = pt, this.array = ht; 29338 } 29339 ft.prototype.run = function() { 29340 this.fun.apply(null, this.array); 29341 }, $.title = "browser", $.browser = true, $.env = {}, $.argv = [], $.version = "", $.versions = {}; 29342 function dt() { 29343 } 29344 $.on = dt, $.addListener = dt, $.once = dt, $.off = dt, $.removeListener = dt, $.removeAllListeners = dt, $.emit = dt, $.prependListener = dt, $.prependOnceListener = dt, $.listeners = function(pt) { 29345 return []; 29346 }, $.binding = function(pt) { 29347 throw new Error("process.binding is not supported"); 29348 }, $.cwd = function() { 29349 return "/"; 29350 }, $.chdir = function(pt) { 29351 throw new Error("process.chdir is not supported"); 29352 }, $.umask = function() { 29353 return 0; 29354 }; 29355 }, 29356 {} 29357 ], 29358 4: [ 29359 function(h, g, b) { 29360 (function($) { 29361 for (var _e = h("performance-now"), et = typeof window > "u" ? $ : window, tt = [ 29362 "moz", 29363 "webkit" 29364 ], rt = "AnimationFrame", nt = et["request" + rt], st = et["cancel" + rt] || et["cancelRequest" + rt], ot = 0; !nt && ot < tt.length; ot++) nt = et[tt[ot] + "Request" + rt], st = et[tt[ot] + "Cancel" + rt] || et[tt[ot] + "CancelRequest" + rt]; 29365 if (!nt || !st) { 29366 var it = 0, at = 0, lt = [], ct = 1e3 / 60; 29367 nt = function(ut) { 29368 if (lt.length === 0) {
29369 var ft = _e(), dt = Math.max(0, ct - (ft - it)); 29370 it = dt + ft, setTimeout(function() { 29371 var pt = lt.slice(0); 29372 lt.length = 0; 29373 for (var ht = 0; ht < pt.length; ht++) if (!pt[ht].cancelled) try { 29374 pt[ht].callback(it); 29375 } catch (mt) { 29376 setTimeout(function() { 29377 throw mt; 29378 }, 0); 29379 } 29380 }, Math.round(dt)); 29381 } 29382 return lt.push({ 29383 handle: ++at, 29384 callback: ut, 29385 cancelled: false 29386 }), at; 29387 }, st = function(ut) { 29388 for (var ft = 0; ft < lt.length; ft++) lt[ft].handle === ut && (lt[ft].cancelled = true); 29389 }; 29390 } 29391 g.exports = function(ut) { 29392 return nt.call(et, ut); 29393 }, g.exports.cancel = function() { 29394 st.apply(et, arguments); 29395 }, g.exports.polyfill = function() { 29396 et.requestAnimationFrame = nt, et.cancelAnimationFrame = st; 29397 }; 29398 }).call(this, typeof commonjsGlobal < "u" ? commonjsGlobal : typeof self < "u" ? self : typeof window < "u" ? window : {}); 29399 }, 29400 { 29401 "performance-now": 2 29402 } 29403 ], 29404 5: [ 29405 function(h, g, b) { 29406 var $ = /* @__PURE__ */ function() { 29407 function it(at, lt) { 29408 for (var ct = 0; ct < lt.length; ct++) { 29409 var ut = lt[ct]; 29410 ut.enumerable = ut.enumerable || false, ut.configurable = true, "value" in ut && (ut.writable = true), Object.defineProperty(at, ut.key, ut); 29411 } 29412 } 29413 return function(at, lt, ct) { 29414 return lt && it(at.prototype, lt), ct && it(at, ct), at; 29415 }; 29416 }(); 29417 function _e(it, at) { 29418 if (!(it instanceof at)) throw new TypeError("Cannot call a class as a function"); 29419 } 29420 var et = h("raf"), tt = h("object-assign"), rt = { 29421 propertyCache: {}, 29422 vendors: [ 29423 null, 29424 [ 29425 "-webkit-", 29426 "webkit" 29427 ], 29428 [ 29429 "-moz-", 29430 "Moz" 29431 ], 29432 [ 29433 "-o-", 29434 "O" 29435 ], 29436 [ 29437 "-ms-", 29438 "ms" 29439 ] 29440 ], 29441 clamp: function(at, lt, ct) { 29442 return lt < ct ? at < lt ? lt : at > ct ? ct : at : at < ct ? ct : at > lt ? lt : at; 29443 }, 29444 data: function(at, lt) { 29445 return rt.deserialize(at.getAttribute("data-" + lt)); 29446 }, 29447 deserialize: function(at) { 29448 return at === "true" ? true : at === "false" ? false : at === "null" ? null : !isNaN(parseFloat(at)) && isFinite(at) ? parseFloat(at) : at; 29449 }, 29450 camelCase: function(at) { 29451 return at.replace(/-+(.)?/g, function(lt, ct) { 29452 return ct ? ct.toUpperCase() : ""; 29453 }); 29454 }, 29455 accelerate: function(at) { 29456 rt.css(at, "transform", "translate3d(0,0,0) rotate(0.0001deg)"), rt.css(at, "transform-style", "preserve-3d"), rt.css(at, "backface-visibility", "hidden"); 29457 }, 29458 transformSupport: function(at) { 29459 for (var lt = document.createElement("div"), ct = false, ut = null, ft = false, dt = null, pt = null, ht = 0, mt = rt.vendors.length; ht < mt; ht++) if (rt.vendors[ht] !== null ? (dt = rt.vendors[ht][0] + "transform", pt = rt.vendors[ht][1] + "Transform") : (dt = "transform", pt = "transform"), lt.style[pt] !== void 0) { 29460 ct = true; 29461 break; 29462 } 29463 switch (at) { 29464 case "2D": 29465 ft = ct; 29466 break; 29467 case "3D": 29468 if (ct) { 29469 var gt = document.body || document.createElement("body"), yt = document.documentElement, xt = yt.style.overflow, _t = false;
29470 document.body || (_t = true, yt.style.overflow = "hidden", yt.appendChild(gt), gt.style.overflow = "hidden", gt.style.background = ""), gt.appendChild(lt), lt.style[pt] = "translate3d(1px,1px,1px)", ut = window.getComputedStyle(lt).getPropertyValue(dt), ft = ut !== void 0 && ut.length > 0 && ut !== "none", yt.style.overflow = xt, gt.removeChild(lt), _t && (gt.removeAttribute("style"), gt.parentNode.removeChild(gt)); 29471 } 29472 break; 29473 } 29474 return ft; 29475 }, 29476 css: function(at, lt, ct) { 29477 var ut = rt.propertyCache[lt]; 29478 if (!ut) { 29479 for (var ft = 0, dt = rt.vendors.length; ft < dt; ft++) if (rt.vendors[ft] !== null ? ut = rt.camelCase(rt.vendors[ft][1] + "-" + lt) : ut = lt, at.style[ut] !== void 0) { 29480 rt.propertyCache[lt] = ut; 29481 break; 29482 } 29483 } 29484 at.style[ut] = ct; 29485 } 29486 }, nt = 30, st = { 29487 relativeInput: false, 29488 clipRelativeInput: false, 29489 inputElement: null, 29490 hoverOnly: false, 29491 calibrationThreshold: 100, 29492 calibrationDelay: 500, 29493 supportDelay: 500, 29494 calibrateX: false, 29495 calibrateY: true, 29496 invertX: true, 29497 invertY: true, 29498 limitX: false, 29499 limitY: false, 29500 scalarX: 10, 29501 scalarY: 10, 29502 frictionX: 0.1, 29503 frictionY: 0.1, 29504 originX: 0.5, 29505 originY: 0.5, 29506 pointerEvents: false, 29507 precision: 1, 29508 onReady: null, 29509 selector: null 29510 }, ot = function() { 29511 function it(at, lt) { 29512 _e(this, it), this.element = at; 29513 var ct = { 29514 calibrateX: rt.data(this.element, "calibrate-x"), 29515 calibrateY: rt.data(this.element, "calibrate-y"), 29516 invertX: rt.data(this.element, "invert-x"), 29517 invertY: rt.data(this.element, "invert-y"), 29518 limitX: rt.data(this.element, "limit-x"), 29519 limitY: rt.data(this.element, "limit-y"), 29520 scalarX: rt.data(this.element, "scalar-x"), 29521 scalarY: rt.data(this.element, "scalar-y"), 29522 frictionX: rt.data(this.element, "friction-x"), 29523 frictionY: rt.data(this.element, "friction-y"), 29524 originX: rt.data(this.element, "origin-x"), 29525 originY: rt.data(this.element, "origin-y"), 29526 pointerEvents: rt.data(this.element, "pointer-events"), 29527 precision: rt.data(this.element, "precision"), 29528 relativeInput: rt.data(this.element, "relative-input"), 29529 clipRelativeInput: rt.data(this.element, "clip-relative-input"), 29530 hoverOnly: rt.data(this.element, "hover-only"), 29531 inputElement: document.querySelector(rt.data(this.element, "input-element")), 29532 selector: rt.data(this.element, "selector") 29533 }; 29534 for (var ut in ct) ct[ut] === null && delete ct[ut]; 29535 tt(this, st, ct, lt), this.inputElement || (this.inputElement = this.element), this.calibrationTimer = null, this.calibrationFlag = true, this.enabled = false, this.depthsX = [], this.depthsY = [], this.raf = null, this.bounds = null, this.elementPositionX = 0, this.elementPositionY = 0, this.elementWidth = 0, this.elementHeight = 0, this.elementCenterX = 0, this.elementCenterY = 0, this.elementRangeX = 0, this.elementRangeY = 0, this.calibrationX = 0, this.calibrationY = 0, this.inputX = 0, this.inputY = 0, this.motionX = 0, this.motionY = 0, this.velocityX = 0, this.velocityY = 0, this.onMouseMove = this.onMouseMove.bind(this), this.onDeviceOrientation = this.onDeviceOrientation.bind(this), this.onDeviceMotion = this.onDeviceMotion.bind(this), this.onOrientationTimer = this.onOrientationTimer.bind(this), this.onMotionTimer = this.onMotionTimer.bind(this), this.onCalibrationTimer = this.onCalibrationTimer.bind(this), this.onAnimationFrame = this.onAnimationFrame.bind(this), this.onWindowResize = this.onWindowResize.bind(this), this.windowWidth = null, this.windowHeight = null, this.windowCenterX = null, this.windowCenterY = null, this.windowRadiusX = null, this.windowRadiusY = null, this.portrait = false, this.desktop = !navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i), this.motionSupport = !!window.DeviceMotionEvent && !this.desktop, this.orientationSupport = !!window.DeviceOrientationEvent && !this.desktop, this.orientationStatus = 0, this.motionStatus = 0, this.initialise(); 29536 } 29537 return $(it, [ 29538 { 29539 key: "initialise", 29540 value: function() { 29541 this.transform2DSupport === void 0 && (this.transform2DSupport = rt.transformSupport("2D"), this.transform3DSupport = rt.transformSupport("3D")), this.transform3DSupport && rt.accelerate(this.element); 29542 var lt = window.getComputedStyle(this.element); 29543 lt.getPropertyValue("position") === "static" && (this.element.style.position = "relative"), this.pointerEvents || (this.element.style.pointerEvents = "none"), this.updateLayers(), this.updateDimensions(), this.enable(), this.queueCalibration(this.calibrationDelay); 29544 } 29545 }, 29546 { 29547 key: "doReadyCallback", 29548 value: function() { 29549 this.onReady && this.onReady(); 29550 } 29551 }, 29552 { 29553 key: "updateLayers", 29554 value: function() { 29555 this.selector ? this.layers = this.element.querySelectorAll(this.selector) : this.layers = this.element.children, this.layers.length || console.warn("ParallaxJS: Your scene does not have any layers."), this.depthsX = [], this.depthsY = []; 29556 for (var lt = 0; lt < this.layers.length; lt++) { 29557 var ct = this.layers[lt]; 29558 this.transform3DSupport && rt.accelerate(ct), ct.style.position = lt ? "absolute" : "relative", ct.style.display = "block", ct.style.left = 0, ct.style.top = 0; 29559 var ut = rt.data(ct, "depth") || 0; 29560 this.depthsX.push(rt.data(ct, "depth-x") || ut), this.depthsY.push(rt.data(ct, "depth-y") || ut); 29561 } 29562 } 29563 }, 29564 { 29565 key: "updateDimensions", 29566 value: function() { 29567 this.windowWidth = window.innerWidth, this.windowHeight = window.innerHeight, this.windowCenterX = this.windowWidth * this.originX, this.windowCenterY = this.windowHeight * this.originY, this.windowRadiusX = Math.max(this.windowCenterX, this.windowWidth - this.windowCenterX), this.windowRadiusY = Math.max(this.windowCenterY, this.windowHeight - this.windowCenterY); 29568 } 29569 }, 29570 { 29571 key: "updateBounds", 29572 value: function() { 29573 this.bounds = this.inputElement.getBoundingClientRect(), this.elementPositionX = this.bounds.left, this.elementPositionY = this.bounds.top, this.elementWidth = this.bounds.width, this.elementHeight = this.bounds.height, this.elementCenterX = this.elementWidth * this.originX, this.elementCenterY = this.elementHeight * this.originY, this.elementRangeX = Math.max(this.elementCenterX, this.elementWidth - this.elementCenterX), this.elementRangeY = Math.max(this.elementCenterY, this.elementHeight - this.elementCenterY); 29574 } 29575 }, 29576 { 29577 key: "queueCalibration", 29578 value: function(lt) { 29579 clearTimeout(this.calibrationTimer), this.calibrationTimer = setTimeout(this.onCalibrationTimer, lt); 29580 } 29581 }, 29582 { 29583 key: "enable", 29584 value: function() { 29585 this.enabled || (this.enabled = true, this.orientationSupport ? (this.portrait = false, window.addEventListener("deviceorientation", this.onDeviceOrientation), this.detectionTimer = setTimeout(this.onOrientationTimer, this.supportDelay)) : this.motionSupport ? (this.portrait = false, window.addEventListener("devicemotion", this.onDeviceMotion), this.detectionTimer = setTimeout(this.onMotionTimer, this.supportDelay)) : (this.calibrationX = 0, this.calibrationY = 0, this.portrait = false, window.addEventListener("mousemove", this.onMouseMove), this.doReadyCallback()), window.addEventListener("resize", this.onWindowResize), this.raf = et(this.onAnimationFrame)); 29586 } 29587 }, 29588 { 29589 key: "disable", 29590 value: function() { 29591 this.enabled && (this.enabled = false, this.orientationSupport ? window.removeEventListener("deviceorientation", this.onDeviceOrientation) : this.motionSupport ? window.removeEventListener("devicemotion", this.onDeviceMotion) : window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("resize", this.onWindowResize), et.cancel(this.raf)); 29592 } 29593 }, 29594 { 29595 key: "calibrate", 29596 value: function(lt, ct) { 29597 this.calibrateX = lt === void 0 ? this.calibrateX : lt, this.calibrateY = ct === void 0 ? this.calibrateY : ct; 29598 } 29599 }, 29600 { 29601 key: "invert", 29602 value: function(lt, ct) { 29603 this.invertX = lt === void 0 ? this.invertX : lt, this.invertY = ct === void 0 ? this.invertY : ct; 29604 } 29605 }, 29606 { 29607 key: "friction", 29608 value: function(lt, ct) { 29609 this.frictionX = lt === void 0 ? this.frictionX : lt, this.frictionY = ct === void 0 ? this.frictionY : ct; 29610 } 29611 }, 29612 { 29613 key: "scalar", 29614 value: function(lt, ct) { 29615 this.scalarX = lt === void 0 ? this.scalarX : lt, this.scalarY = ct === void 0 ? this.scalarY : ct; 29616 } 29617 }, 29618 { 29619 key: "limit", 29620 value: function(lt, ct) { 29621 this.limitX = lt === void 0 ? this.limitX : lt, this.limitY = ct === void 0 ? this.limitY : ct; 29622 } 29623 }, 29624 { 29625 key: "origin", 29626 value: function(lt, ct) { 29627 this.originX = lt === void 0 ? this.originX : lt, this.originY = ct === void 0 ? this.originY : ct; 29628 } 29629 }, 29630 { 29631 key: "setInputElement", 29632 value: function(lt) { 29633 this.inputElement = lt, this.updateDimensions(); 29634 } 29635 }, 29636 { 29637 key: "setPosition", 29638 value: function(lt, ct, ut) { 29639 ct = ct.toFixed(this.precision) + "px", ut = ut.toFixed(this.precision) + "px", this.transform3DSupport ? rt.css(lt, "transform", "translate3d(" + ct + "," + ut + ",0)") : this.transform2DSupport ? rt.css(lt, "transform", "translate(" + ct + "," + ut + ")") : (lt.style.left = ct, lt.style.top = ut); 29640 } 29641 }, 29642 { 29643 key: "onOrientationTimer", 29644 value: function() { 29645 this.orientationSupport && this.orientationStatus === 0 ? (this.disable(), this.orientationSupport = false, this.enable()) : this.doReadyCallback(); 29646 } 29647 }, 29648 { 29649 key: "onMotionTimer", 29650 value: function() { 29651 this.motionSupport && this.motionStatus === 0 ? (this.disable(), this.motionSupport = false, this.enable()) : this.doReadyCallback(); 29652 } 29653 }, 29654 { 29655 key: "onCalibrationTimer", 29656 value: function() { 29657 this.calibrationFlag = true; 29658 } 29659 }, 29660 { 29661 key: "onWindowResize", 29662 value: function() { 29663 this.updateDimensions(); 29664 } 29665 }, 29666 { 29667 key: "onAnimationFrame", 29668 value: function() { 29669 this.updateBounds(); 29670 var lt = this.inputX - this.calibrationX, ct = this.inputY - this.calibrationY; 29671 (Math.abs(lt) > this.calibrationThreshold || Math.abs(ct) > this.calibrationThreshold) && this.queueCalibration(0), this.portrait ? (this.motionX = this.calibrateX ? ct : this.inputY, this.motionY = this.calibrateY ? lt : this.inputX) : (this.motionX = this.calibrateX ? lt : this.inputX, this.motionY = this.calibrateY ? ct : this.inputY), this.motionX *= this.elementWidth * (this.scalarX / 100), this.motionY *= this.elementHeight * (this.scalarY / 100), isNaN(parseFloat(this.limitX)) || (this.motionX = rt.clamp(this.motionX, -this.limitX, this.limitX)), isNaN(parseFloat(this.limitY)) || (this.motionY = rt.clamp(this.motionY, -this.limitY, this.limitY)), this.velocityX += (this.motionX - this.velocityX) * this.frictionX, this.velocityY += (this.motionY - this.velocityY) * this.frictionY; 29672 for (var ut = 0; ut < this.layers.length; ut++) { 29673 var ft = this.layers[ut], dt = this.depthsX[ut], pt = this.depthsY[ut], ht = this.velocityX * (dt * (this.invertX ? -1 : 1)), mt = this.velocityY * (pt * (this.invertY ? -1 : 1)); 29674 this.setPosition(ft, ht, mt); 29675 } 29676 this.raf = et(this.onAnimationFrame); 29677 } 29678 }, 29679 { 29680 key: "rotate", 29681 value: function(lt, ct) {
29682 var ut = (lt || 0) / nt, ft = (ct || 0) / nt, dt = this.windowHeight > this.windowWidth; 29683 this.portrait !== dt && (this.portrait = dt, this.calibrationFlag = true), this.calibrationFlag && (this.calibrationFlag = false, this.calibrationX = ut, this.calibrationY = ft), this.inputX = ut, this.inputY = ft; 29684 } 29685 }, 29686 { 29687 key: "onDeviceOrientation", 29688 value: function(lt) { 29689 var ct = lt.beta, ut = lt.gamma; 29690 ct !== null && ut !== null && (this.orientationStatus = 1, this.rotate(ct, ut)); 29691 } 29692 }, 29693 { 29694 key: "onDeviceMotion", 29695 value: function(lt) { 29696 var ct = lt.rotationRate.beta, ut = lt.rotationRate.gamma; 29697 ct !== null && ut !== null && (this.motionStatus = 1, this.rotate(ct, ut)); 29698 } 29699 }, 29700 { 29701 key: "onMouseMove", 29702 value: function(lt) { 29703 var ct = lt.clientX, ut = lt.clientY; 29704 if (this.hoverOnly && (ct < this.elementPositionX || ct > this.elementPositionX + this.elementWidth || ut < this.elementPositionY || ut > this.elementPositionY + this.elementHeight)) { 29705 this.inputX = 0, this.inputY = 0; 29706 return; 29707 } 29708 this.relativeInput ? (this.clipRelativeInput && (ct = Math.max(ct, this.elementPositionX), ct = Math.min(ct, this.elementPositionX + this.elementWidth), ut = Math.max(ut, this.elementPositionY), ut = Math.min(ut, this.elementPositionY + this.elementHeight)), this.elementRangeX && this.elementRangeY && (this.inputX = (ct - this.elementPositionX - this.elementCenterX) / this.elementRangeX, this.inputY = (ut - this.elementPositionY - this.elementCenterY) / this.elementRangeY)) : this.windowRadiusX && this.windowRadiusY && (this.inputX = (ct - this.windowCenterX) / this.windowRadiusX, this.inputY = (ut - this.windowCenterY) / this.windowRadiusY); 29709 } 29710 }, 29711 { 29712 key: "destroy", 29713 value: function() { 29714 this.disable(), clearTimeout(this.calibrationTimer), clearTimeout(this.detectionTimer), this.element.removeAttribute("style"); 29715 for (var lt = 0; lt < this.layers.length; lt++) this.layers[lt].removeAttribute("style"); 29716 delete this.element, delete this.layers; 29717 } 29718 }, 29719 { 29720 key: "version", 29721 value: function() { 29722 return "3.1.0"; 29723 } 29724 } 29725 ]), it; 29726 }(); 29727 g.exports = ot; 29728 }, 29729 { 29730 "object-assign": 1, 29731 raf: 4 29732 } 29733 ] 29734 }, {}, [ 29735 5 29736 ])(5); 29737 }); 29738 })(parallax); 29739 var parallaxExports = parallax.exports; 29740 const Parallax = getDefaultExportFromCjs(parallaxExports), ParallaxComponent = ({ children: d, limitY: o = false, ...h }) => { 29741 const g = reactExports.useRef(null); 29742 return reactExports.useEffect(() => { 29743 let b = null; 29744 return g.current && (b = new Parallax(g.current, { 29745 relativeInput: true, 29746 hoverOnly: true, 29747 limitY: o 29748 })), () => b == null ? void 0 : b.destroy(); 29749 }, [ 29750 g 29751 ]), jsxRuntimeExports.jsx("div", { 29752 ...h, 29753 ref: g, 29754 children: d 29755 }); 29756 }; 29757 var define_PAGE_CONFIG_default$2 = { 29758 miniGameLink: "https://web-static.kurogames.com/mini-game/index.html" 29759 }; 29760 gsapWithCSS.registerPlugin(useGSAP, ScrollTrigger, Draggable, Observer$1); 29761 const isPc$1 = isIPad13_1 || isDesktop_1, { miniGameLink: miniGameLink$1 } = define_PAGE_CONFIG_default$2, GameDialog = ({ level: d, show: o = false, onClose: h, ...g }) => { 29762 const b = miniGameLink$1; 29763 return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 29764 children: jsxRuntimeExports.jsx("div", { 29765 className: classNames("game-dialog", { 29766 show: o 29767 }), 29768 children: jsxRuntimeExports.jsxs("div", { 29769 className: "iframe-box", 29770 children: [ 29771 jsxRuntimeExports.jsx("div", { 29772 className: "close-btn", 29773 onClick: () => h() 29774 }), 29775 o && jsxRuntimeExports.jsx(reactExports.Suspense, { 29776 children: jsxRuntimeExports.jsx("iframe", { 29777 src: b + "?level=".concat(d), 29778 style: { 29779 border: "none" 29780 } 29781 }) 29782 }) 29783 ] 29784 }) 29785 }) 29786 }); 29787 }, OurHistory = ({ ...d }) => { 29788 const [o, h] = reactExports.useState(""), g = reactExports.useRef(null), [b, $] = reactExports.useState(0), { t: _e, i18n: et } = useTranslation(), tt = reactExports.useRef(false), [rt, nt] = reactExports.useState(1), [st, ot] = reactExports.useState(false), { contextSafe: it } = useGSAP(() => { 29789 const ut = g.current, ft = ut.querySelector(".line-cont"), dt = ut.querySelector(".logo"), pt = ut.querySelector(".timeline-btn-group"), ht = pt.querySelector(".prev-btn"), mt = pt.querySelector(".next-btn"), gt = () => gsapWithCSS.getProperty(ft, "width") - window.innerWidth / 2, yt = gt() / gsapWithCSS.getProperty(ft, "width") * 100, xt = gsapWithCSS.timeline({ 29790 scrollTrigger: { 29791 trigger: ut, 29792 start: "50% center", 29793 end: "120% top", 29794 onEnter: () => { 29795 }, 29796 onLeave: () => { 29797 } 29798 } 29799 }), _t = ft.querySelector(".line-cont .line"), St = ft.querySelectorAll(".line-cont .t
29799ime-box"), kt = (Ht) => Ht / gt(), Rt = gsapWithCSS.timeline(), Tt = 17.8 / yt; 29800 Rt.to(ft, { 29801 xPercent: -yt, 29802 ease: "none", 29803 duration: 0.01 29804 }); 29805 const Yt = kt(gsapWithCSS.getProperty(dt, "width") / 2); 29806 Rt.progress(Yt, true).pause(), xt.to(ft, { 29807 ease: "power1.inOut", 29808 xPercent: -17.8, 29809 duration: 1.2 29810 }).to(_t, { 29811 scaleX: 1 29812 }, 0).to(St, { 29813 opacity: 1, 29814 delay: 0.5, 29815 stagger: { 29816 each: 0.3, 29817 onUpdate: function() { 29818 this.progress() > 0.6 && !this.targets()[0].classList.contains("on") && this.targets()[0].classList.add("on"), this.progress() > 0.4 && !tt.current && (tt.current = true); 29819 } 29820 }, 29821 onComplete: function() { 29822 Rt.progress(Tt).pause(), pt.classList.add("show"), h("zcsmw-gc"); 29823 } 29824 }, 0); 29825 const Dt = document.createElement("div"); 29826 let Ot = gsapWithCSS.utils.clamp(Tt, 1), Mt = 0; 29827 const [Vt] = Draggable.create(Dt, { 29828 trigger: ft, 29829 type: "x", 29830 edgeResistance: 1, 29831 onPressInit() { 29832 this.x, Mt = Rt.progress(); 29833 }, 29834 onDrag() { 29835 if (!tt.current) return; 29836 const Ht = Ot(Mt + kt(this.startX - this.x)); 29837 Rt.progress(Ht, true).pause(), Ht > Tt ? gsapWithCSS.to(ht, { 29838 autoAlpha: 1 29839 }) : gsapWithCSS.to(ht, { 29840 autoAlpha: 0 29841 }), Ht >= 1 ? gsapWithCSS.to(mt, { 29842 autoAlpha: 0 29843 }) : gsapWithCSS.to(mt, { 29844 autoAlpha: 1 29845 }); 29846 }, 29847 onDragEnd() { 29848 console.log(Mt); 29849 } 29850 }); 29851 Observer$1.create({ 29852 target: ft, 29853 axis: "y", 29854 lockAxis: true, 29855 type: "wheel", 29856 preventDefault: true, 29857 wheelSpeed: -1, 29858 onChange: (Ht) => { 29859 if (!tt.current) return; 29860 const Kt = Ht.event.type === "wheel" ? Ht.deltaY * -3e-4 : Ht.deltaX * 0.03; 29861 Et(Kt, 0.01); 29862 }, 29863 tolerance: 10 29864 }); 29865 function Et(Ht, Kt = 0.3) { 29866 const ir = Ht > 0 ? 1 : -1; 29867 Mt = Rt.progress(), gsapWithCSS.killTweensOf(Rt), gsapWithCSS.to(Rt, { 29868 progress: Ot(Mt + Ht), 29869 ease: "power1.inOut", 29870 duration: Kt, 29871 onComplete: () => { 29872 const sr = Rt.progress(); 29873 ir === -1 ? sr <= 0.25 ? (gsapWithCSS.to(ht, { 29874 autoAlpha: 0 29875 }), gsapWithCSS.to(mt, { 29876 autoAlpha: 1 29877 })) : gsapWithCSS.to(mt, { 29878 autoAlpha: 1 29879 }) : sr >= 1 ? gsapWithCSS.to(mt, { 29880 autoAlpha: 0 29881 }) : sr > 0 && gsapWithCSS.to(ht, { 29882 autoAlpha: 1 29883 }); 29884 } 29885 }); 29886 } 29887 ht.addEventListener("click", () => Et(-0.3)), mt.addEventListener("click", () => Et(0.3)); 29888 }, { 29889 scope: g 29890 }), at = reactExports.useCallback((ct) => { 29891 nt(ct), ot(true); 29892 }, []), lt = reactExports.useCallback(() => { 29893 ot(false); 29894 }, []); 29895 return reactExports.useEffect(() => { 29896 const ct = document.querySelectorAll(".time-box .info"), ut = document.querySelectorAll(".time-box .info-active"), ft = document.querySelector(".about-cont"); 29897 let dt = null; 29898 const pt = function(yt) { 29899 const xt = yt.target, _t = xt.getAttribute("data-name"); 29900 (o != null || o !== "") && ct.forEach(function(St) { 29901 St && St.getAttribute("data-name") === o && (St.style.pointerEvents = "auto"); 29902 }), h(_t), dt = xt, xt.style.pointerEvents = "none", yt.stopPropagation(); 29903 }, ht = (yt, xt) => { 29904 yt.contains(xt) || (h(""), yt.style.pointerEvents = "auto"); 29905 }, mt = function(yt) { 29906 isPc$1 ? (h(""), dt && (dt.style.pointerEvents = "auto")) : ct.forEach(function(xt) { 29907 ht(xt, yt.target); 29908 }); 29909 }; 29910 let gt = "click"; 29911 return isPc$1 ? (gt = "mouseenter", ut.forEach(function(yt) { 29912 yt.addEventListener("mouseleave", mt); 29913 })) : ft.addEventListener("click", mt), ct.forEach(function(yt) { 29914 yt.addEventListener(gt, pt); 29915 }), () => { 29916 ct.forEach(function(yt) { 29917 yt.removeEventListener(gt, pt); 29918 }), ft.removeEventListener("click", mt); 29919 }; 29920 }, [ 29921 o 29922 ]), jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 29923 children: [ 29924 reactDomExports.createPortal(jsxRuntimeExports.jsx(GameDialog, { 29925 level: rt, 29926 show: st, 29927 onClose: lt 29928 }), document.body), 29929 jsxRuntimeExports.jsxs("div", { 29930 className: "our-history", 29931 ref: g, 29932 children: [ 29933 jsxRuntimeExports.jsx("div", { 29934 className: "title" 29935 }), 29936 jsxRuntimeExports.jsxs("div", { 29937 className: "timeline", 29938 children: [ 29939 jsxRuntimeExports.jsxs("div", { 29940 className: "line-cont", 29941 children: [ 29942 jsxRuntimeExports.jsx("div", { 29943 className: "logo" 29944 }), 29945 jsxRuntimeExports.jsx("div", { 29946 className: "line" 29947 }), 29948 jsxRuntimeExports.jsxs("div", { 29949 className: "time-box-cont font_regular", 29950 children: [ 29951 jsxRuntimeExports.jsxs("div", { 29952 className: "time-box", 29953 "data-time": "2016", 29954 children: [ 29955 jsxRuntimeExports.jsx("strong", { 29956 children: "2016" 29957 }), 29958 jsxRuntimeExports.jsxs("div", { 29959 className: "bt-event zcsmw-gc", 29960 children: [ 29961 jsxRuntimeExports.jsx("div", { 29962 className: "sub-line" 29963 }), 29964 jsxRuntimeExports.jsx("div", { 29965 className: "info", 29966 "data-name": "zcsmw-gc", 29967 children: jsxRuntimeExports.jsx("span", { 29968 children: _e("about.lang1") 29969 }) 29970 }) 29971 ] 29972 }), 29973 jsxRuntimeExports.jsxs("div", { 29974 className: classNames("info-active zcsmw-gc", { 29975 show: o === "zcsmw-gc" 29976 }), 29977 children: [ 29978 jsxRuntimeExports.jsx("div", { 29979 className: "easter-egg", 29980 onClick: () => at(1) 29981 }), 29982 jsxRuntimeExports.jsx("div", { 29983 className: "info-bg" 29984 }), 29985 jsxRuntimeExports.jsx("div", { 29986 className: "info-target" 29987 }), 29988 jsxRuntimeExports.jsx("div", { 29989 className: "info-title", 29990 children: jsxRuntimeExports.jsx("p", { 29991 children: _e("about.lang1") 29992 }) 29993 }) 29994 ] 29995 }) 29996 ] 29997 }), 29998 jsxRuntimeExports.jsxs("div", { 29999 className: "time-box", 30000 "data-time": "2019", 30001 children: [ 30002 jsxRuntimeExports.jsx("strong", { 30003 children: "2019" 30004 }), 30005 jsxRuntimeExports.jsxs("div", { 30006 className: "top-event zspns-sb", 30007 children: [ 30008 jsxRuntimeExports.jsx("div", { 30009 className: "sub-line" 30010 }), 30011 jsxRuntimeExports.jsx("div", { 30012 className: "info", 30013 "data-name": "zspns-sb", 30014 children: jsxRuntimeExports.jsx("span", { 30015 children: _e("about.lang2") 30016 }) 30017 }) 30018 ] 30019 }), 30020 jsxRuntimeExports.jsxs("div", { 30021 className: "top-event zspns-gc", 30022 children: [ 30023 jsxRuntimeExports.jsx("div", { 30024 className: "sub-line" 30025 }), 30026 jsxRuntimeExports.jsx("div", { 30027 className: "info", 30028 "data-name": "zspns-gc", 30029 children: jsxRuntimeExports.jsx("span", { 30030 children: _e("about.lang3") 30031 }) 30032 }) 30033 ] 30034 }), 30035 jsxRuntimeExports.jsxs("div", { 30036 className: classNames("info-active zspns-sb", { 30037 show: o === "zspns-sb" 30038 }), 30039 children: [ 30040 jsxRuntimeExports.jsx("div", { 30041 className: "info-bg" 30042 }), 30043 jsxRuntimeExports.jsx("div", { 30044 className: "info-target" 30045 }), 30046 jsxRuntimeExports.jsxs("div", { 30047 className: "info-title", 30048 children: [ 30049 jsxRuntimeExports.jsx("p", { 30050 children: _e("about.lang2") 30051 }), 30052 jsxRuntimeExports.jsx("span", { 30053 children: _e("about.lang2time") 30054 }) 30055 ] 30056 }) 30057 ] 30058 }), 30059 jsxRuntimeExports.jsxs("div", { 30060 className: classNames("info-active zspns-gc", { 30061 show: o === "zspns-gc" 30062 }), 30063 children: [ 30064 jsxRuntimeExports.jsx("div", { 30065 className: "easter-egg", 30066 onClick: () => at(2) 30067 }), 30068 jsxRuntimeExports.jsx("div", { 30069 className: "info-bg" 30070 }), 30071 jsxRuntimeExports.jsx("div", { 30072 className: "info-target" 30073 }), 30074 jsxRuntimeExports.jsxs("div", { 30075 className: "info-title", 30076 children: [ 30077 jsxRuntimeExports.jsx("p", { 30078 children: _e("about.lang3") 30079 }), 30080 jsxRuntimeExports.jsx("span", { 30081 children: _e("about.lang3time") 30082 }) 30083 ] 30084 }) 30085 ] 30086 }) 30087 ] 30088 }), 30089 jsxRuntimeExports.jsxs("div", { 30090 className: "time-box", 30091 "data-time": "2021", 30092 children: [ 30093 jsxRuntimeExports.jsx("strong", { 30094 children: "2021" 30095 }), 30096 jsxRuntimeExports.jsxs("div", { 30097 className: "bt-event zspns-nezdrx", 30098 children: [ 30099 jsxRuntimeExports.jsx("div", { 30100 className: "sub-line" 30101 }), 30102 jsxRuntimeExports.jsxs("div", { 30103 className: "info", 30104 "data-name": "zspns-nezdrx", 30105 children: [ 30106 jsxRuntimeExports.jsx("span", { 30107 children: jsxRuntimeExports.jsx(Trans, { 30108 children: _e("about.lang4") 30109 }) 30110 }), 30111 jsxRuntimeExports.jsx("b", {}) 30112 ] 30113 }) 30114 ] 30115 }), 30116 jsxRuntimeExports.jsxs("div", { 30117 className: classNames("info-active zspns-nezdrx", { 30118 show: o === "zspns-nezdrx" 30119 }), 30120 children: [ 30121 jsxRuntimeExports.jsx("div", { 30122 className: "info-bg" 30123 }), 30124 jsxRuntimeExports.jsx("div", { 30125 className: "info-target" 30126 }), 30127 jsxRuntimeExports.jsxs("div", { 30128 className: "info-title", 30129 children: [ 30130 jsxRuntimeExports.jsx("p", { 30131 children: jsxRuntimeExports.jsx(Trans, { 30132 children: _e("about.lang4") 30133 }) 30134 }), 30135 jsxRuntimeExports.jsx("span", { 30136 children: _e("about.lang4time") 30137 }) 30138 ] 30139 }) 30140 ] 30141 }) 30142 ] 30143 }), 30144 jsxRuntimeExports.jsxs("div", { 30145 className: "time-box", 30146 "data-time": "2022", 30147 children: [ 30148 jsxRuntimeExports.jsx("strong", { 30149 children: "2022" 30150 }), 30151 jsxRuntimeExports.jsxs("div", { 30152 className: "top-event mc-sb", 30153 children: [ 30154 jsxRuntimeExports.jsx("div", { 30155 className: "sub-line" 30156 }), 30157 jsxRuntimeExports.jsx("div", { 30158 className: "info", 30159 "data-name": "mc-sb", 30160 children: jsxRuntimeExports.jsx("span", { 30161 children: jsxRuntimeExports.jsx(Trans, { 30162 children: _e("about.lang5") 30163 }) 30164 }) 30165 }) 30166 ] 30167 }), 30168 jsxRuntimeExports.jsxs("div", { 30169 cla
30169ssName: classNames("info-active mc-sb", { 30170 show: o === "mc-sb" 30171 }), 30172 children: [ 30173 jsxRuntimeExports.jsx("div", { 30174 className: "info-bg" 30175 }), 30176 jsxRuntimeExports.jsx("div", { 30177 className: "info-target" 30178 }), 30179 jsxRuntimeExports.jsxs("div", { 30180 className: "info-title", 30181 children: [ 30182 jsxRuntimeExports.jsx("p", { 30183 children: jsxRuntimeExports.jsx(Trans, { 30184 children: _e("about.lang5") 30185 }) 30186 }), 30187 jsxRuntimeExports.jsx("span", { 30188 children: _e("about.lang5time") 30189 }) 30190 ] 30191 }) 30192 ] 30193 }) 30194 ] 30195 }), 30196 jsxRuntimeExports.jsxs("div", { 30197 className: "time-box", 30198 "data-time": "2023", 30199 children: [ 30200 jsxRuntimeExports.jsx("strong", { 30201 children: "2023" 30202 }), 30203 jsxRuntimeExports.jsxs("div", { 30204 className: "top-event zspns-black", 30205 children: [ 30206 jsxRuntimeExports.jsx("div", { 30207 className: "sub-line" 30208 }), 30209 jsxRuntimeExports.jsxs("div", { 30210 className: "info", 30211 "data-name": "zspns-black", 30212 children: [ 30213 jsxRuntimeExports.jsx("span", { 30214 children: jsxRuntimeExports.jsx(Trans, { 30215 children: _e("about.lang8") 30216 }) 30217 }), 30218 jsxRuntimeExports.jsx("b", {}) 30219 ] 30220 }) 30221 ] 30222 }), 30223 jsxRuntimeExports.jsxs("div", { 30224 className: classNames("info-active zspns-black", { 30225 show: o === "zspns-black" 30226 }), 30227 children: [ 30228 jsxRuntimeExports.jsx("div", { 30229 className: "info-bg" 30230 }), 30231 jsxRuntimeExports.jsx("div", { 30232 className: "info-target" 30233 }), 30234 jsxRuntimeExports.jsxs("div", { 30235 className: "info-title", 30236 children: [ 30237 jsxRuntimeExports.jsx("p", { 30238 children: jsxRuntimeExports.jsx(Trans, { 30239 children: _e("about.lang8_2") 30240 }) 30241 }), 30242 jsxRuntimeExports.jsx("span", { 30243 children: _e("about.lang8time") 30244 }) 30245 ] 30246 }) 30247 ] 30248 }) 30249 ] 30250 }), 30251 jsxRuntimeExports.jsxs("div", { 30252 className: "time-box", 30253 "data-time": "2024", 30254 children: [ 30255 jsxRuntimeExports.jsx("strong", { 30256 children: "2024" 30257 }), 30258 jsxRuntimeExports.jsxs("div", { 30259 className: "top-event mc-jxtm", 30260 children: [ 30261 jsxRuntimeExports.jsx("div", { 30262 className: "sub-line" 30263 }), 30264 jsxRuntimeExports.jsx("div", { 30265 className: "info", 30266 "data-name": "mc-jxtm", 30267 children: jsxRuntimeExports.jsx("span", { 30268 children: jsxRuntimeExports.jsx(Trans, { 30269 children: _e("about.lang9") 30270 }) 30271 }) 30272 }) 30273 ] 30274 }), 30275 jsxRuntimeExports.jsxs("div", { 30276 className: classNames("info-active mc-jxtm", { 30277 show: o === "mc-jxtm" 30278 }), 30279 children: [ 30280 jsxRuntimeExports.jsx("div", { 30281 className: "easter-egg", 30282 onClick: () => at(5) 30283 }), 30284 jsxRuntimeExports.jsx("div", { 30285 className: "info-bg" 30286 }), 30287 jsxRuntimeExports.jsx("div", { 30288 className: "info-target" 30289 }), 30290 jsxRuntimeExports.jsxs("div", { 30291 className: "info-title", 30292 children: [ 30293 jsxRuntimeExports.jsx("p", { 30294 children: jsxRuntimeExports.jsx(Trans, { 30295 children: _e("about.lang9") 30296 }) 30297 }), 30298 jsxRuntimeExports.jsx("span", { 30299 children: _e("about.lang9time") 30300 }) 30301 ] 30302 }) 30303 ] 30304 }), 30305 jsxRuntimeExports.jsxs("div", { 30306 className: "bt-event mc-yy", 30307 children: [ 30308 jsxRuntimeExports.jsx("div", { 30309 className: "sub-line" 30310 }), 30311 jsxRuntimeExports.jsx("div", { 30312 className: "info", 30313 "data-name": "mc-yy", 30314 children: jsxRuntimeExports.jsx("span", { 30315 children: jsxRuntimeExports.jsx(Trans, { 30316 children: _e("about.lang6") 30317 }) 30318 }) 30319 }) 30320 ] 30321 }), 30322 jsxRuntimeExports.jsxs("div", { 30323 className: "bt-event mc-qqsx", 30324 children: [ 30325 jsxRuntimeExports.jsx("div", { 30326 className: "sub-line" 30327 }), 30328 jsxRuntimeExports.jsx("div", { 30329 className: "info", 30330 "data-name": "mc-qqsx", 30331 children: jsxRuntimeExports.jsx("span", { 30332 children: _e("about.lang7") 30333 }) 30334 }) 30335 ] 30336 }), 30337 jsxRuntimeExports.jsxs("div", { 30338 className: classNames("info-active mc-yy", { 30339 show: o === "mc-yy" 30340 }), 30341 children: [ 30342 jsxRuntimeExports.jsx("div", { 30343 className: "info-bg" 30344 }), 30345 jsxRuntimeExports.jsx("div", { 30346 className: "info-target" 30347 }), 30348 jsxRuntimeExports.jsxs("div", { 30349 className: "info-title", 30350 children: [ 30351 jsxRuntimeExports.jsx("p", { 30352 children: jsxRuntimeExports.jsx(Trans, { 30353 children: _e("about.lang6") 30354 }) 30355 }), 30356 jsxRuntimeExports.jsx("span", { 30357 children: _e("about.lang6time") 30358 }) 30359 ] 30360 }) 30361 ] 30362 }), 30363 jsxRuntimeExports.jsxs("div", { 30364 className: classNames("info-active mc-qqsx", { 30365 show: o === "mc-qqsx" 30366 }), 30367 children: [ 30368 jsxRuntimeExports.jsx("div", { 30369 className: "easter-egg", 30370 onClick: () => at(4) 30371 }), 30372 jsxRuntimeExports.jsx("div", { 30373 className: "info-bg" 30374 }), 30375 jsxRuntimeExports.jsx("div", { 30376 className: "info-target" 30377 }), 30378 jsxRuntimeExports.jsxs("div", { 30379 className: "info-title", 30380 children: [ 30381 jsxRuntimeExports.jsx("p", { 30382 children: _e("about.lang7") 30383 }), 30384 jsxRuntimeExports.jsx("span", { 30385 children: _e("about.lang7time") 30386 }) 30387 ] 30388 }) 30389 ] 30390 }) 30391 ] 30392 }), 30393 jsxRuntimeExports.jsxs("div", { 30394 className: "time-box", 30395 "data-time": "2025", 30396 children: [ 30397 jsxRuntimeExports.jsx("strong", { 30398 children: "2025" 30399 }), 30400 jsxRuntimeExports.jsxs("div", { 30401 className: "top-event pns-dmc5", 30402 children: [ 30403 jsxRuntimeExports.jsx("div", { 30404 className: "sub-line" 30405 }), 30406 jsxRuntimeExports.jsxs("div", { 30407 className: "info", 30408 "data-name": "pns-dmc5", 30409 children: [ 30410 jsxRuntimeExports.jsx("span", { 30411 children: jsxRuntimeExports.jsx(Trans, { 30412 children: _e("about.lang10") 30413 }) 30414 }), 30415 jsxRuntimeExports.jsx("b", {}) 30416 ] 30417 }) 30418 ] 30419 }), 30420 jsxRuntimeExports.jsxs("div", { 30421 className: "bt-event mc-hmma", 30422 children: [ 30423 jsxRuntimeExports.jsx("div", { 30424 className: "sub-line" 30425 }), 30426 jsxRuntimeExports.jsx("div", { 30427 className: "info", 30428 "data-name": "mc-hmma", 30429 children: jsxRuntimeExports.jsx("span", { 30430 children: jsxRuntimeExports.jsx(Trans, { 30431 children: _e("about.lang11") 30432 }) 30433 }) 30434 }) 30435 ] 30436 }), 30437 jsxRuntimeExports.jsxs("div", { 30438 className: "top-event mc-pspa", 30439 children: [ 30440 jsxRuntimeExports.jsx("div", { 30441 className: "sub-line" 30442 }), 30443 jsxRuntimeExports.jsx("div", { 30444 className: "info", 30445 "data-name": "mc-pspa", 30446 children: jsxRuntimeExports.jsx("span", { 30447 children: jsxRuntimeExports.jsx(Trans, { 30448 children: _e("about.lang12") 30449 }) 30450 }) 30451 }) 30452 ] 30453 }), 30454 jsxRuntimeExports.jsxs("div", { 30455 className: "bt-event mc-tga25", 30456 children: [ 30457 jsxRuntimeExports.jsx("div", { 30458 className: "sub-line" 30459 }), 30460 jsxRuntimeExports.jsx("div", { 30461 className: "info", 30462 "data-name": "mc-tga25", 30463 children: jsxRuntimeExports.jsx("span", { 30464 children: jsxRuntimeExports.jsx(Trans, { 30465 children: _e("about.lang13") 30466 }) 30467 }) 30468 }) 30469 ] 30470 }), 30471 jsxRuntimeExports.jsxs("div", { 30472 className: classNames("info-active pns-dmc5", { 30473 show: o === "pns-dmc5" 30474 }), 30475 children: [ 30476 jsxRuntimeExports.jsx("div", { 30477 className: "info-bg" 30478 }), 30479 jsxRuntimeExports.jsx("div", { 30480 className: "info-target" 30481 }), 30482 jsxRuntimeExports.jsxs("div", { 30483 className: "info-title", 30484 children: [ 30485 jsxRuntimeExports.jsx("p", { 30486 children: jsxRuntimeExports.jsx(Trans, { 30487 children: _e("about.lang10
30487") 30488 }) 30489 }), 30490 jsxRuntimeExports.jsx("span", { 30491 children: _e("about.lang10time") 30492 }) 30493 ] 30494 }) 30495 ] 30496 }), 30497 jsxRuntimeExports.jsxs("div", { 30498 className: classNames("info-active mc-hmma", { 30499 show: o === "mc-hmma" 30500 }), 30501 children: [ 30502 jsxRuntimeExports.jsx("div", { 30503 className: "info-bg" 30504 }), 30505 jsxRuntimeExports.jsx("div", { 30506 className: "info-target" 30507 }), 30508 jsxRuntimeExports.jsxs("div", { 30509 className: "info-title", 30510 children: [ 30511 jsxRuntimeExports.jsx("p", { 30512 children: jsxRuntimeExports.jsx(Trans, { 30513 children: _e("about.lang11") 30514 }) 30515 }), 30516 jsxRuntimeExports.jsx("span", { 30517 children: _e("about.lang11time") 30518 }) 30519 ] 30520 }) 30521 ] 30522 }), 30523 jsxRuntimeExports.jsxs("div", { 30524 className: classNames("info-active mc-pspa", { 30525 show: o === "mc-pspa" 30526 }), 30527 children: [ 30528 jsxRuntimeExports.jsx("div", { 30529 className: "info-bg" 30530 }), 30531 jsxRuntimeExports.jsx("div", { 30532 className: "info-target" 30533 }), 30534 jsxRuntimeExports.jsxs("div", { 30535 className: "info-title", 30536 children: [ 30537 jsxRuntimeExports.jsx("p", { 30538 children: jsxRuntimeExports.jsx(Trans, { 30539 children: _e("about.lang12") 30540 }) 30541 }), 30542 jsxRuntimeExports.jsx("span", { 30543 children: _e("about.lang12time") 30544 }) 30545 ] 30546 }) 30547 ] 30548 }), 30549 jsxRuntimeExports.jsxs("div", { 30550 className: classNames("info-active mc-tga25", { 30551 show: o === "mc-tga25" 30552 }), 30553 children: [ 30554 jsxRuntimeExports.jsx("div", { 30555 className: "info-bg" 30556 }), 30557 jsxRuntimeExports.jsx("div", { 30558 className: "info-target" 30559 }), 30560 jsxRuntimeExports.jsxs("div", { 30561 className: "info-title", 30562 children: [ 30563 jsxRuntimeExports.jsx("p", { 30564 children: jsxRuntimeExports.jsx(Trans, { 30565 children: _e("about.lang13") 30566 }) 30567 }), 30568 jsxRuntimeExports.jsx("span", { 30569 children: _e("about.lang13time") 30570 }) 30571 ] 30572 }) 30573 ] 30574 }) 30575 ] 30576 }), 30577 jsxRuntimeExports.jsxs("div", { 30578 className: "time-box", 30579 "data-time": "waiting", 30580 children: [ 30581 jsxRuntimeExports.jsx("div", { 30582 className: "easter-egg", 30583 onClick: () => at(6) 30584 }), 30585 jsxRuntimeExports.jsx("strong", { 30586 children: _e("about.comingSoon") 30587 }) 30588 ] 30589 }) 30590 ] 30591 }) 30592 ] 30593 }), 30594 jsxRuntimeExports.jsx("div", { 30595 className: "timeline-mask" 30596 }) 30597 ] 30598 }), 30599 jsxRuntimeExports.jsxs("div", { 30600 className: classNames("timeline-btn-group"), 30601 children: [ 30602 jsxRuntimeExports.jsx("span", { 30603 className: "prev-btn" 30604 }), 30605 jsxRuntimeExports.jsx("span", { 30606 className: "next-btn" 30607 }) 30608 ] 30609 }) 30610 ] 30611 }) 30612 ] 30613 }); 30614 }; 30615 function PCView$1({ children: d, ...o }) { 30616 return jsxRuntimeExports.jsxs(reactActivationExports.AliveScope, { 30617 children: [ 30618 jsxRuntimeExports.jsx(reactActivationExports.KeepAlive, { 30619 children: jsxRuntimeExports.jsx("header", { 30620 children: jsxRuntimeExports.jsx(ParallaxComponent, { 30621 limitY: 0, 30622 className: "head-parallax", 30623 children: jsxRuntimeExports.jsx("div", { 30624 className: "layer", 30625 "data-depth": "0.1", 30626 children: jsxRuntimeExports.jsx("div", { 30627 className: "kuro-games-text" 30628 }) 30629 }) 30630 }) 30631 }) 30632 }), 30633 jsxRuntimeExports.jsxs("section", { 30634 className: "detail", 30635 children: [ 30636 jsxRuntimeExports.jsxs("div", { 30637 className: "brand", 30638 children: [ 30639 jsxRuntimeExports.jsx("div", { 30640 className: "title" 30641 }), 30642 d 30643 ] 30644 }), 30645 jsxRuntimeExports.jsx(OurHistory, {}) 30646 ] 30647 }), 30648 jsxRuntimeExports.jsx(Copyright, {}) 30649 ] 30650 }); 30651 } 30652 var define_PAGE_CONFIG_default$1 = { 30653 miniGameLink: "https://web-static.kurogames.com/mini-game/index.html" 30654 }; 30655 gsapWithCSS.registerPlugin(useGSAP); 30656 const { miniGameLink } = define_PAGE_CONFIG_default$1, MOurHistory = () => { 30657 const { t: d, i18n: o } = useTranslation(), h = reactExports.useRef(null), g = reactExports.useRef(null), b = reactExports.useRef(null), $ = o.language === "en-us" || o.language === "ko-kr", _e = [ 30658 { 30659 img: new URL("/static/ossweb-img/tl1-Btira54K.png", import.meta.url).href, 30660 name: d("about.lang1"), 30661 egg: 1 30662 }, 30663 { 30664 img: new URL("/static/ossweb-img/tl2-COGF3wdR.png", import.meta.url).href, 30665 name: d("about.lang2") 30666 }, 30667 { 30668 img: new URL("/static/ossweb-img/tl3-Cx4S3Qrc.png", import.meta.url).href, 30669 name: d("about.lang3"), 30670 egg: 2 30671 }, 30672 { 30673 img: new URL("/static/ossweb-img/tl4-CDYfU2Q7.png", import.meta.url).href, 30674 name: d($ ? "about.lang4_m" : "about.lang4") 30675 }, 30676 { 30677 img: new URL("/static/ossweb-img/tl5-D04eY-nl.png", import.meta.url).href, 30678 name: d($ ? "about.lang5_m" : "about.lang5") 30679 }, 30680 { 30681 img: new URL("/static/ossweb-img/tl6-C5YYX8xC.png", import.meta.url).href, 30682 name: d("about.lang8") 30683 }, 30684 { 30685 img: new URL("/static/ossweb-img/tl7-Ciwv7Rvf.png", import.meta.url).href, 30686 name: d("about.lang6") 30687 }, 30688 { 30689 img: new URL("/static/ossweb-img/tl8-hVdiiWcy.png", import.meta.url).href, 30690 name: d("about.lang7"), 30691 egg: 4 30692 }, 30693 { 30694 img: new URL("/static/ossweb-img/tl9-BK_fVxOg.png", import.meta.url).href, 30695 name: d("about.lang9_m"), 30696 egg: 5 30697 }, 30698 { 30699 img: new URL("/static/ossweb-img/tl10-DhHxrZkp.png", import.meta.url).href, 30700 name: d("about.lang10_m") 30701 }, 30702 { 30703 img: new URL("/static/ossweb-img/tl11-cxhOi40y.png", import.meta.url).href, 30704 name: d("about.lang11_m") 30705 }, 30706 { 30707 img: new URL("/static/ossweb-img/tl12-B48iMnsz.png", import.meta.url).href, 30708 name: d("about.lang12_m") 30709 }, 30710 {
30711 img: new URL("/static/ossweb-img/tl13-278PaPJ7.png", import.meta.url).href, 30712 name: d("about.lang13_m") 30713 } 30714 ], { contextSafe: et } = useGSAP(() => { 30715 }, { 30716 scope: h 30717 }), tt = et((nt) => { 30718 const st = ".tl" + (nt + 1), ot = gsapWithCSS.getProperty(st, "width"), it = gsapWithCSS.getProperty(st, "offsetLeft"), at = window.innerWidth; 30719 gsapWithCSS.to(".timeline-cont", { 30720 x: -it + at / 2 - ot / 2 30721 }); 30722 }), rt = reactExports.useCallback((nt) => { 30723 location.href = miniGameLink + "?level=".concat(nt); 30724 }, []); 30725 return jsxRuntimeExports.jsxs("div", { 30726 className: "our-history", 30727 ref: h, 30728 children: [ 30729 jsxRuntimeExports.jsx("div", { 30730 className: "title" 30731 }), 30732 jsxRuntimeExports.jsxs(Swiper, { 30733 initialSlide: 0, 30734 onSlideChange: (nt) => { 30735 tt(nt.activeIndex); 30736 }, 30737 modules: [ 30738 Navigation 30739 ], 30740 navigation: { 30741 prevEl: g == null ? void 0 : g.current, 30742 nextEl: b == null ? void 0 : b.current 30743 }, 30744 onInit: (nt) => { 30745 nt.params.navigation.prevEl = g.current, nt.params.navigation.nextEl = b.current, nt.navigation.init(), nt.navigation.update(); 30746 }, 30747 className: "tl-img-swiper", 30748 children: [ 30749 _e.map((nt, st) => jsxRuntimeExports.jsx(SwiperSlide, { 30750 children: jsxRuntimeExports.jsxs("div", { 30751 className: classNames("timeline-picture", "tl-img".concat(st + 1)), 30752 children: [ 30753 jsxRuntimeExports.jsx("img", { 30754 src: nt.img, 30755 alt: "" 30756 }), 30757 jsxRuntimeExports.jsx("h4", { 30758 className: "font_regular", 30759 children: jsxRuntimeExports.jsx("span", { 30760 children: jsxRuntimeExports.jsx(Trans, { 30761 children: nt.name 30762 }) 30763 }) 30764 }), 30765 nt.egg ? jsxRuntimeExports.jsx("div", { 30766 className: "easter-egg", 30767 onClick: () => rt(nt.egg) 30768 }) : null 30769 ] 30770 }) 30771 }, st)), 30772 jsxRuntimeExports.jsxs("div", { 30773 className: "timeline-btn-group", 30774 children: [ 30775 jsxRuntimeExports.jsx("span", { 30776 className: "prev-btn", 30777 ref: g 30778 }), 30779 jsxRuntimeExports.jsx("span", { 30780 className: "next-btn", 30781 ref: b 30782 }) 30783 ] 30784 }) 30785 ] 30786 }), 30787 jsxRuntimeExports.jsx("div", { 30788 className: "timeline-container", 30789 children: jsxRuntimeExports.jsxs("div", { 30790 className: "timeline-cont font_regular", 30791 children: [ 30792 jsxRuntimeExports.jsx("div", { 30793 className: "timeline-line" 30794 }), 30795 jsxRuntimeExports.jsx("div", { 30796 className: "logo" 30797 }), 30798 jsxRuntimeExports.jsx("div", { 30799 className: "tl-avatar tl1" 30800 }), 30801 jsxRuntimeExports.jsx("div", { 30802 className: "tl-date font_medium", 30803 children: jsxRuntimeExports.jsx("span", { 30804 children: "2019" 30805 }) 30806 }), 30807 jsxRuntimeExports.jsx("div", { 30808 className: "tl-avatar tl2" 30809 }), 30810 jsxRuntimeExports.jsx("div", { 30811 className: "tl-avatar tl3" 30812 }), 30813 jsxRuntimeExports.jsx("div", { 30814 className: "tl-date font_medium", 30815 children: jsxRuntimeExports.jsx("span", { 30816 children: "2021" 30817 }) 30818 }), 30819 jsxRuntimeExports.jsx("div", { 30820 className: "tl-avatar tl4" 30821 }), 30822 jsxRuntimeExports.jsx("div", { 30823 className: "tl-date font_medium", 30824 children: jsxRuntimeExports.jsx("span", { 30825 children: "2022" 30826 }) 30827 }), 30828 jsxRuntimeExports.jsx("div", { 30829 className: "tl-avatar tl5" 30830 }), 30831 jsxRuntimeExports.jsx("div", { 30832 className: "tl-date font_medium", 30833 children: jsxRuntimeExports.jsx("span", { 30834 children: "2023" 30835 }) 30836 }), 30837 jsxRuntimeExports.jsx("div", { 30838 className: "tl-avatar tl6" 30839 }), 30840 jsxRuntimeExports.jsx("div", { 30841 className: "tl-date font_medium", 30842 children: jsxRuntimeExports.jsx("span", { 30843 children: "2024" 30844 }) 30845 }), 30846 jsxRuntimeExports.jsx("div", { 30847 className: "tl-avatar tl7" 30848 }), 30849 jsxRuntimeExports.jsx("div", { 30850 className: "tl-avatar tl8" 30851 }), 30852 jsxRuntimeExports.jsx("div", { 30853 className: "tl-avatar tl9" 30854 }), 30855 jsxRuntimeExports.jsx("div", { 30856 className: "tl-date font_medium", 30857 children: jsxRuntimeExports.jsx("span", { 30858 children: "2025" 30859 }) 30860 }), 30861 jsxRuntimeExports.jsx("div", { 30862 className: "tl-avatar tl10" 30863 }), 30864 jsxRuntimeExports.jsx("div", { 30865 className: "tl-avatar tl11" 30866 }), 30867 jsxRuntimeExports.jsx("div", { 30868 className: "tl-avatar tl12" 30869 }), 30870 jsxRuntimeExports.jsx("div", { 30871 className: "tl-avatar tl13" 30872 }), 30873 jsxRuntimeExports.jsxs("div", { 30874 className: "tl-date cooming-soon font_medium", 30875 children: [ 30876 jsxRuntimeExports.jsx("div", { 30877 className: "easter-egg", 30878 onClick: () => rt(6) 30879 }), 30880 jsxRuntimeExports.jsx("span", { 30881 children: jsxRuntimeExports.jsx(Trans, { 30882 children: o.language === "ko-kr" ? d("about.comingSoon_m") : d("about.comingSoon") 30883 }) 30884 }) 30885 ] 30886 }) 30887 ] 30888 }) 30889 }) 30890 ] 30891 }); 30892 }; 30893 function MobileView$1({ children: d, ...o }) { 30894 const [h, g] = reactExports.useState(true); 30895 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 30896 children: [ 30897 jsxRuntimeExports.jsxs(Swiper, { 30898 initialSlide: 0, 30899 onSlideChange: (b) => { 30900 b.activeIndex < 1 ? g(true) : g(false); 30901 }, 30902 direction: "vertical", 30903 slidesPerView: "auto", 30904 className: "about-swiper", 30905 children: [ 30906 jsxRuntimeExports.jsx(SwiperSlide, { 30907 children: jsxRuntimeExports.jsxs("div", { 30908 className: "sec-box", 30909 children: [ 30910 jsxRuntimeExports.jsx("header", {}), 30911 jsxRuntimeExports.jsx("section", { 30912 className: "detail", 30913 children: jsxRuntimeExports.jsxs("div", { 30914 className: "brand", 30915 children: [ 30916 jsxRuntimeExports.jsx("div", { 30917 className: "title" 30918 }), 30919 d 30920 ] 30921 }) 30922 }) 30923 ] 30924 }) 30925 }), 30926 jsxRuntimeExports.jsx(SwiperSlide, { 30927 children: jsxRuntimeExports.jsx(MOurHistory, {}) 30928 }), 30929 jsxRuntimeExports.jsx(SwiperSlide, { 30930 className: "copyright-slide", 30931 children: jsxRuntimeExports.jsx(Copyright, {}) 30932 }) 30933 ] 30934 }), 30935 jsxRuntimeExports.jsx("div", { 30936 className: "scroll-tips", 30937 style: { 30938 display: h ? "block" : "none" 30939 } 30940 }) 30941 ] 30942 }); 30943 } 30944 const isPc = isIPad13_1 || isDesktop_1, BrandIntroduce = () => { 30945 const { t: d, i18n: o } = useTranslation(), h = reactExports.useRef(null), g = reactExports.useRef(null), b = () => jsxRuntimeExports.jsxs("div", { 30946 className: "art-text", 30947 children: [ 30948 jsxRuntimeExports.jsxs("div", { 30949 className: "art-list font_regular", 30950 children: [ 30951 jsxRuntimeExports.jsx("strong", { 30952 className: "font_medium", 30953 children: d("about.art1.strong") 30954 }), 30955 d("about.art1.text") 30956 ] 30957 }), 30958 jsxRuntimeExports.jsxs("div", { 30959 className: "art-list font_regular", 30960 children: [ 30961 jsxRuntimeExports.jsx("strong", { 30962 className: "font_medium", 30963 children: d("about.art2.strong") 30964 }), 30965 d("about.art2.text") 30966 ] 30967 }), 30968 jsxRuntimeExports.jsxs("div", { 30969 className: "art-list font_regular", 30970 children: [ 30971 jsxRuntimeExports.jsx("strong", { 30972 className: "font_medium", 30973 children: d("about.art3.strong") 30974 }), 30975 d("about.art3.text") 30976 ] 30977 }) 30978 ] 30979 }), $ = () => jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 30980 children: jsxRuntimeExports.jsxs(Swiper, { 30981 className: "art-text", 30982 navigation: { 30983 nextEl: g.current, 30984 prevEl: h.current 30985 }, 30986 onInit: (_e) => { 30987 _e.params.navigation.prevEl = h.current, _e.params.navigation.nextEl = g.current, _e.navigation.init(), _e.navigation.update(); 30988 }, 30989 coverflowEffect: { 30990 rotate: 0, 30991 stretch: 0, 30992 depth: 100, 30993 modifier: 1, 30994 slideShadows: false 30995 }, 30996 centeredSlides: true, 30997 modules: [
30998 EffectCoverflow, 30999 Navigation 31000 ], 31001 effect: "coverflow", 31002 slidesPerView: "auto", 31003 children: [ 31004 jsxRuntimeExports.jsx(SwiperSlide, { 31005 children: jsxRuntimeExports.jsxs("div", { 31006 className: "art-list font_regular", 31007 children: [ 31008 jsxRuntimeExports.jsx("strong", { 31009 className: "font_medium", 31010 children: d("about.art1.strong") 31011 }), 31012 d("about.art1.text") 31013 ] 31014 }) 31015 }), 31016 jsxRuntimeExports.jsx(SwiperSlide, { 31017 children: jsxRuntimeExports.jsxs("div", { 31018 className: "art-list font_regular", 31019 children: [ 31020 jsxRuntimeExports.jsx("strong", { 31021 className: "font_medium", 31022 children: d("about.art2.strong") 31023 }), 31024 d("about.art2.text") 31025 ] 31026 }) 31027 }), 31028 jsxRuntimeExports.jsx(SwiperSlide, { 31029 children: jsxRuntimeExports.jsxs("div", { 31030 className: "art-list font_regular", 31031 children: [ 31032 jsxRuntimeExports.jsx("strong", { 31033 className: "font_medium", 31034 children: d("about.art3.strong") 31035 }), 31036 d("about.art3.text") 31037 ] 31038 }) 31039 }), 31040 jsxRuntimeExports.jsxs("div", { 31041 className: "art-btn-group", 31042 children: [ 31043 jsxRuntimeExports.jsx("div", { 31044 className: "btn prev-btn", 31045 ref: h 31046 }), 31047 jsxRuntimeExports.jsx("div", { 31048 className: "btn next-btn", 31049 ref: g 31050 }) 31051 ] 31052 }) 31053 ] 31054 }) 31055 }); 31056 return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 31057 children: isPc ? jsxRuntimeExports.jsx(b, {}) : jsxRuntimeExports.jsx($, {}) 31058 }); 31059 }; 31060 function AboutUs() { 31061 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 31062 children: [ 31063 jsxRuntimeExports.jsx(TopMenu, {}), 31064 jsxRuntimeExports.jsx("div", { 31065 className: "app-wrap", 31066 children: jsxRuntimeExports.jsx("div", { 31067 className: "about-cont", 31068 children: isPc ? jsxRuntimeExports.jsx(PCView$1, { 31069 children: jsxRuntimeExports.jsx(BrandIntroduce, {}) 31070 }) : jsxRuntimeExports.jsx(MobileView$1, { 31071 children: jsxRuntimeExports.jsx(BrandIntroduce, {}) 31072 }) 31073 }) 31074 }) 31075 ] 31076 }); 31077 } 31078 const __vite_glob_0_0$1 = "/static/ossweb-img/bg1-2gnqvJC3.jpg", __vite_glob_0_1$1 = "/static/ossweb-img/btn1-act-en-DxTDghCH.png", __vite_glob_0_2$1 = "/static/ossweb-img/btn1-act-ja-cCfSBJll.png", __vite_glob_0_3$1 = "/static/ossweb-img/btn1-act-kr-CIXX7dpq.png", __vite_glob_0_4$1 = "/static/ossweb-img/btn1-act-tw-DuOpn4h9.png", __vite_glob_0_5$1 = "/static/ossweb-img/btn1-def-en-C8nuB6SM.png", __vite_glob_0_6$1 = "/static/ossweb-img/btn1-def-ja-D92z_A9U.png", __vite_glob_0_7$1 = "/static/ossweb-img/btn1-def-kr-D3McJbd3.png", __vite_glob_0_8$1 = "/static/ossweb-img/btn1-def-tw-DNEIRaul.png", __vite_glob_0_9$1 = "/static/ossweb-img/btn2-act-en-GgIQ9RO1.png", __vite_glob_0_10$1 = "/static/ossweb-img/btn2-act-ja-DuImJ9PG.png", __vite_glob_0_11$1 = "/static/ossweb-img/btn2-act-kr-BD1ohXtI.png", __vite_glob_0_12$1 = "/static/ossweb-img/btn2-act-tw-CyYRtCS3.png", __vite_glob_0_13$1 = "/static/ossweb-img/btn2-def-en-D93wJHR2.png", __vite_glob_0_14$1 = "/static/ossweb-img/btn2-def-ja-BQqDX-Vr.png", __vite_glob_0_15$1 = "/static/ossweb-img/btn2-def-kr-DLIDvl8y.png", __vite_glob_0_16$1 = "/static/ossweb-img/btn2-def-tw-CCMFxNbj.png", __vite_glob_0_17$1 = "/static/ossweb-img/hd-bg-1PMz48Ir.jpg", __vite_glob_0_18$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAALCAYAAAExTHunAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmRiYTNkYTNiNSwgMjAyMy8xMi8xNS0xMDo0MjozNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI1LjcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjg5RDYzMTRBNTQzQzExRjBCRkQwQTRDQzNBMEE5Q0Q4IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjg5RDYzMTRCNTQzQzExRjBCRkQwQTRDQzNBMEE5Q0Q4Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6ODlENjMxNDg1NDNDMTFGMEJGRDBBNENDM0EwQTlDRDgiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6ODlENjMxNDk1NDNDMTFGMEJGRDBBNENDM0EwQTlDRDgiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4GcwmLAAABuklEQVR42mL8//8/EwMEOALxXoYhDhiBHmIYTgAggIaVh5iGU8wABBAsZuyA+BASLQ7ELxlGwYACgAAaduXAcCoCGGGRBKUFRoNlcEQMKMsUINEfgLhwNGgGFgAEEKwoKwXibiRxdH48EC8cDa5RMApQ638dIL4JxL9x8MOAeNVokI2C0UyD2WjWBeLLOPisQFw9GmyjYCQDgAACZRptIH0VSQydj56JRsEoGPGdzddALIgkhs7nRxohGAWjYDTTAPErIPZFEkPnHwHiktGgGgWjALNPkwPEU5Dk0PnuQLxzNMhGwWimQWQaDiCWBeLbOPjKQPwMiL+PBtsoGMmABYn9A4jlkTIJOv8uEGcDsehosI2CkQwAArRvtjgIA1EYJKkCUY/jBljSGyCpRUPCkQgCiSIozkBQtThUD1CBaQhhNiB32wTLTDKp+F7NZ162P2HTZFxXeMUqMtOXj3GJO2ysVEREUkea2eDzimaPr8hsVx4ewoUvbW54sVYREYktmkCOazxgHZnvy6dYfE83T+sVEZHUL04LbPGcuK8rH+IGT3i3YhERF00qm2CJW3z8kM9xhEdrFhH5X96G3XSvhZJPcAAAAABJRU5ErkJggg==", __vite_glob_0_19$1 = "/static/ossweb-img/tab1-img-DG36Sm81.png", __vite_glob_0_20$1 = "/static/ossweb-img/tab2-img-BsU0Aas5.png", __vite_glob_0_21$1 = "/static/ossweb-img/title1-ja-li1OPY4j.png", __vite_glob_0_22$1 = "/static/ossweb-img/title1-kr-WUpnkbbu.png", __vite_glob_0_23$1 = "/static/ossweb-img/title1-DaGJJYRb.png", __vite_glob_0_24$1 = "/static/ossweb-img/wellfare-img1-CnC3gof6.jpg", __vite_glob_0_25$1 = "/static/ossweb-img/wellfare-title1-en-CYkhCraa.png", __vite_glob_0_26$1 = "/static/ossweb-img/wellfare-title1-ja-CIYnHjC7.png", __vite_glob_0_27$1 = "/static/ossweb-img/wellfare-title1-kr-BWy177ji.png", __vite_glob_0_28$1 = "/static/ossweb-img/wellfare-title2-en-DYhjy-cT.png", __vite_glob_0_29$1 = "/static/ossweb-img/wellfare-title2-ja-vvc0rakX.png", __vite_glob_0_30$1 = "/static/ossweb-img/wellfare-title2-kr-CPSi2Mfu.png", __vite_glob_0_31$1 = "/static/ossweb-img/wellfare-title3-en-BmLvSgUr.png", __vite_glob_0_32$1 = "/static/ossweb-img/wellfare-title3-ja-B
31078Ih1VYcy.png", __vite_glob_0_33$1 = "/static/ossweb-img/wellfare-title3-kr-D8oVwHrm.png", __vite_glob_0_34$1 = "/static/ossweb-img/bg1-A0Jm56Lv.jpg", __vite_glob_0_35$1 = "/static/ossweb-img/btn1-act-en-Cm6W73FD.png", __vite_glob_0_36$1 = "/static/ossweb-img/btn1-act-ja-Cno0mTQ5.png", __vite_glob_0_37$1 = "/static/ossweb-img/btn1-act-kr-CA1f4Ujm.png", __vite_glob_0_38$1 = "/static/ossweb-img/btn1-act-tw-Qf1ctksr.png", __vite_glob_0_39$1 = "/static/ossweb-img/btn1-act-CgPnLIYB.png", __vite_glob_0_40$1 = "/static/ossweb-img/btn1-def-en-B8QzmBqh.png", __vite_glob_0_41$1 = "/static/ossweb-img/btn1-def-ja-f37YHXB1.png", __vite_glob_0_42$1 = "/static/ossweb-img/btn1-def-kr-BB4LEN5V.png", __vite_glob_0_43$1 = "/static/ossweb-img/btn1-def-tw-BvcPGSGJ.png", __vite_glob_0_44$1 = "/static/ossweb-img/btn1-def-bsnoIOhT.png", __vite_glob_0_45$1 = "/static/ossweb-img/btn2-act-en-B8y7fZbe.png", __vite_glob_0_46$1 = "/static/ossweb-img/btn2-act-ja-Dt7j46Pk.png", __vite_glob_0_47$1 = "/static/ossweb-img/btn2-act-kr-CLjTNcDQ.png", __vite_glob_0_48$1 = "/static/ossweb-img/btn2-act-tw-3Y_rixwP.png", __vite_glob_0_49$1 = "/static/ossweb-img/btn2-act-DnrhdbX5.png", __vite_glob_0_50$1 = "/static/ossweb-img/btn2-def-en-DfjizR8R.png", __vite_glob_0_51$1 = "/static/ossweb-img/btn2-def-ja-DjDqmnea.png", __vite_glob_0_52$1 = "/static/ossweb-img/btn2-def-kr-BZWIq9vi.png", __vite_glob_0_53$1 = "/static/ossweb-img/btn2-def-tw-DllFdReb.png", __vite_glob_0_54$1 = "/static/ossweb-img/btn2-def-B0CHoxjg.png", __vite_glob_0_55$1 = "/static/ossweb-img/hd-bg-CPWHBnKD.jpg", __vite_glob_0_56$1 = "/static/ossweb-img/join-img1-1-jk_aZXCn.png", __vite_glob_0_57$1 = "/static/ossweb-img/join-img1-2-DkuXNbVr.png", __vite_glob_0_58$1 = "/static/ossweb-img/join-img1-3-t45-GuM9.png", __vite_glob_0_59$1 = "/static/ossweb-img/join-img1-4-ChM3Pdsr.png", __vite_glob_0_60 = "/static/ossweb-img/join-img1-5-D6Ok_uft.png", __vite_glob_0_61 = "/static/ossweb-img/join-img2-1-7XWmsxIz.png", __vite_glob_0_62 = "/static/ossweb-img/join-img2-2-BoZfrL_P.png", __vite_glob_0_63 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAWCAYAAAGkkcxkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEg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1dtAbpmxarpbbB8wjljowpr3JR0LKTzztRdYaU9M+UuRsXQVAAamDqyDCsShmqoyq57jDjjCTk6cL+k0YcNte17p+C1n/Vv1XsoGlobdp3Mh6xoCGIvzCYPwpl2yTiX9NyToPCc7nwwwy94zKwfQQ8DmJZQFAX/+cfI5s7QoW2zS+/A1glrRJCEn32MAX+s/5N+oE/5ZU5LIxw6V7omxvg4lZsEbYonriZpL473KAAeqq3hTMTh6brXBcArEmY3aadGpnLFxKvBM+1/TrtkzTcF/dwAAAABJRU5ErkJggg==", __vite_glob_0_66 = "/static/ossweb-img/tab1-img-CjZB6jfC.png", __vite_glob_0_67 = "/static/ossweb-img/tab2-img-BhLahKKY.png", __vite_glob_0_68 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAFM0aXcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmRiYTNkYTNiNSwgMjAyMy8xMi8xNS0xMDo0MjozNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZX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gnizlQeXdy8QKKVugw71LFT4pBuKxv0A7a9o7yHuHNOCHInHaVNctx/gw5TBgyNo4J1nsGAvFNBdMO35sh0RvQZOze8hz17DDGqAJf26ePiq1n7GvEh72yr1SeEjh6gUhr7WeAiuCYYprOJDRnR+j8igKUE1lokUsR/wb0HBEEdQgjlsI/s7/EIbnI+tORLqwddsBtiHI3LGRo7ypag5AAbznziKcdvEtSUlIaHHdS4NB4Nv3Y0Z7UL8VKHIQnl1wbWGxJ4r4JXTlQZlqg9QVsr7tvKgFwCOHWYlEInvhEiegPQ8RAO4G0AgUSZLelnSY519vmoo36OIeVjEnQlJ22AZK4gkGzPv7CfBf172gCUWT1evfMhHa2f5BMGhSfcb74gyF5pCJakBCjV51kHA56/0skYahpJt3zhPgI9wi3GLN//lRJ4qQKMW30xW0dX0ChuxiWsQII8EDKmrtyT7ca3eVQZdIkvVPkslJSzwHZbHeysf8Q1E+yvVBCMoBQsLs8Qqyd6Vxk83mDTt/DfHJGMNpRMPVGwdz4oG1IBLpC4yoiqwWBl32lRvryGDwze/6i5fEj++59y2KVroY3oHB32Fi82Os5ahaQvu2QoKSMeXXJHSEUdNVmzCtreI8tkmr/+uccVgvVIpb8muzrcv8H3r9QmD4piPCPhjmRb43nnjJrETw0x7nlDlKqDf3eXBoX6MwrZw9YBVDZIv2N/jQKUg6qghpJ98kmXkYM/J3RXCTX+BgBjaRFmUcieAAAAAElFTkSuQmCC", __vite_glob_0_81 = "/static/ossweb-img/text1-desc-en-Dlsykymq.png", __vite_glob_0_82 = "/static/ossweb-img/text1-desc-ja-DEdxWSn-.png", __vite_glob_0_83 = "/static/ossweb-img/text1-desc-kr-Dmk3x7EY.png", __vite_glob_0_84 = "/static/ossweb-img/text1-desc-tw-B88Y90I0.png", __vite_glob_0_85 = "/static/ossweb-img/text1-desc-Dtn3LrLu.png", __vite_glob_0_86 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATMAAAAWCAYAAACsTntvAAAAAXNSR0IArs4c6QA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c2Y7VIT0UPOWyhuVBkdIB1AmVDXRCx42qix2IgbhzPoIhMN3PxowZ+FjJGKTWesTRkQYTxC6OZRmgZ802WXRjXzGBE7Uk6zciiiHefeYd5QA/wC+QdUYwCPNvAAAAABJRU5ErkJggg==", __vite_glob_0_96 = "/static/ossweb-img/text2-desc-en-BBRnILLz.png", __vite_glob_0_97 = "/static/ossweb-img/text2-desc-ja-BKf-HcKX.png", __vite_glob_0_98 = "/static/ossweb-img/text2-desc-kr-CVMlIgeL.png", __vite_glob_0_99 = "/static/ossweb-img/text2-desc-tw-D910G0V0.png", __vite_glob_0_100 = "/static/ossweb-img/text2-desc-WBW6Xuuk.png", __vite_glob_0_101 = "/static/ossweb-img/text3-act-en-DyUGstNV.png", __vite_glob_0_102 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALMAAAAUCAYAAAGxCjwzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i
3107877u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmRiYTNkYTNiNSwgMjAyMy8xMi8xNS0xMDo0MjozNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS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CE2WoEqzKDoi37NXp445hfkTMbHWonHgpvR4qboLof1VoCC+1jDOZ+XlurTRIwNw7EkS7MWc5FJOXHser7HG2K29e6T2VYP/GSCZEcvPuVDbQPKwYUJ6jWvsWdR+zXuiUMrydv0hMM7phGYOx35qyISOiVyokABEqS9XDNxn6ymC+8BY7ugYXoz+MQB0b1ETo+cCCAdEKoBvtG4JWQ+3Hy6FStrXRoByyC1o4gGyNbzQ40TYrBMxhYAmIlbZY0HcZ07pTDStAxiM+xdIjXgi+QbJhqT3BPN9CJ2GGYxoyk2Lvk0AQPchBRlMZgEmkGLJP7APcozBm+/mMKI5CWM5K+A80CvYeoEU79imG77U5aIGy6SeipiBWufIB6SlfGhypEn3jlFJC1RKzBRP414repR2+4WkM647+YPLfzQ0PYPhExP4HXIRimPHuGcFDFjXkZIb52e2lMcI2AUgU8joLUkHG3MdrsvYCwBixdKBQnN+54fya6XhJtl5f+8/FLNM64KlY9QAAAAASUVORK5CYII=", __vite_glob_0_111 = "/static/ossweb-img/text3-desc-en-CzvorQ43.png", __vite_glob_0_112 = "/static/ossweb-img/text3-desc-ja-CJkNthJY.png", __vite_glob_0_113 = "/static/ossweb-img/text3-desc-kr-DGRGpQH1.png", __vite_glob_0_114 = "/static/ossweb-img/text3-desc-tw-C8j0SHK_.png", __vite_glob_0_115 = "/static/ossweb-img/text3-desc-Cg9l6iLN.png", __vite_glob_0_116 = "/static/ossweb-img/title1-en-CdcUWuxh.png", __vite_glob_0_117 = "/static/ossweb-img/title1-tw-D7iEN6X-.png", __vite_glob_0_118 = "/static/ossweb-img/title1-EeMGfMOR.png", __vite_glob_0_119 = "/static/ossweb-img/title2-pkgNxTzs.png", __vite_glob_0_120 = "/static/ossweb-img/video-btn-BDtOwtog.png", __vite_glob_0_121 = "/static/ossweb-img/video-picture--kkpZMyu.jpg", __vite_glob_0_122 = "/static/ossweb-img/video-text-6CXwf9m_.png", __vite_glob_0_123 = "/static/ossweb-img/wellfare-icon1-BnhyTKXQ.png", __vite_glob_0_124 = "/static/ossweb-img/wellfare-icon2-Bs0tjR4P.png", __vite_glob_0_125 = "/static/ossweb-img/wellfare-icon3-CpfDmokX.png", __vite_glob_0_126 = "/static/ossweb-img/wellfare-img1-QguqnVvR.jpg", __vite_glob_0_127 = "/static/ossweb-img/wellfare-img1-Duag1FO9.png", __vite_glob_0_128 = "/static/ossweb-img/wellfare-img2-BnNzXph3.jpg", __vite_glob_0_129 = "/static/ossweb-img/wellfare-img2-s_z-THac.webp", __vite_glob_0_130 = "/static/ossweb-img/wellfare-img3-471gAK_k.jpg", __vite_glob_0_131 = "/static/ossweb-img/wellfare-title1-en-kSxLDdr_.png", __vite_glob_0_132 = "/static/ossweb-img/wellfare-title1-tw-DO7pNZU8.png", __vite_glob_0_133 = "/static/ossweb-img/wellfare-title1-BI96HLRC.png", __vite_glob_0_134 = "/static/ossweb-img/wellfare-title2-en-VuBhh6KI.png", __vite_glob_0_135 = "/static/ossweb-img/wellfare-title2-tw-COjLmHLf.png", __vite_glob_0_136 = "/static/ossweb-img/wellfare-title2-DLzhGAI-.png", __vite_glob_0_137 = "/static/ossweb-img/wellfare-title3-en-DM0W2oQH.png", __vite_glob_0_138 = "/static/ossweb-img/wellfare-title3-tw-itv3CsYe.png", __vite_glob_0_139 = "/static/ossweb-img/wellfare-title3-Cler87Me.png", isPC$3 = isIPad13_1 || isDesktop_1, imgUrl$1 = (d, o = "pc") => new URL(Object.assign({ 31079 "../../assets/imgs/m/join/bg1.jpg": __vite_glob_0_0$1, 31080 "../../assets/imgs/m/join/btn1-act-en.png": __vite_glob_0_1$1, 31081 "../../assets/imgs/m/join/btn1-act-ja.png": __vite_glob_0_2$1, 31082 "../../assets/imgs/m/join/btn1-act-kr.png": __vite_glob_0_3$1, 31083 "../../assets/imgs/m/join/btn1-act-tw.png": __vite_glob_0_4$1, 31084 "../../assets/imgs/m/join/btn1-def-en.png": __vite_glob_0_5$1, 31085 "../../assets/imgs/m/join/btn1-def-ja.png": __vite_glob_0_6$1, 31086 "../../assets/imgs/m/join/btn1-def-kr.png": __vite_glob_0_7$1, 31087 "../../assets/imgs/m/join/btn1-def-tw.png": __vite_glob_0_8$1, 31088 "../../assets/imgs/m/join/btn2-act-en.png": __vite_glob_0_9$1, 31089 "../../assets/imgs/m/join/btn2-act-ja.png": __vite_glob_0_10$1, 31090 "../../assets/imgs/m/join/btn2-act-kr.png": __vite_glob_0_11$1, 31091 "../../assets/imgs/m/join/btn2-act-tw.png": __vite_glob_0_12$1, 31092 "../../assets/imgs/m/join/btn2-def-en.png": __vite_glob_0_13$1, 31093 "../../assets/imgs/m/join/btn2-def-ja.png": __vite_glob_0_14$1, 31094 "../../assets/imgs/m/join/btn2-def-kr.png": __vite_glob_0_15$1, 31095 "../../assets/imgs/m/join/btn2-def-tw.png": __vite_glob_0_16$1, 31096 "../../assets/imgs/m/join/hd-bg.jpg": __vite_glob_0_17$1, 31097 "../../assets/imgs/m/join/line.png": __vite_glob_0_18$1, 31098 "../../assets/imgs/m/join/tab1-img.png": __vite_glob_0_19$1, 31099 "../../assets/imgs/m/join/tab2-img.png": __vite_glob_0_20$1, 31100 "../../assets/imgs/m/join/title1-ja.png": __vite_glob_0_21$1, 31101 "../../assets/imgs/m/join/title1-kr.png": __vite_glob_0_22$1, 31102 "../../assets/imgs/m/join/title1.png": __vite_glob_0_23$1, 31103 "../../assets/imgs/m/join/wellfare-img1.jpg": __vite_glob_0_24$1, 31104 "../../assets/imgs/m/join/wellfare-title1-en.png": __vite_glob_0_25$1, 31105 "../../assets/imgs/m/join/wellfare-title1-ja.png": __vite_glob_0_26$1, 31106 "../../assets/imgs/m/join/wellfare-title1-kr.png": __vite_glob_0_27$1, 31107 "../../assets/imgs/m/join/wellfare-title2-en.png": __vite_glob_0_28$1, 31108 "../../assets/imgs/m/join/wellfare-title2-ja.png": __vite_glob_0_29$1, 31109 "../../assets/imgs/m/join/wellfare-title2-kr.png": __vite_glob_0_30$1, 31110 "../../assets/imgs/m/join/wellfare-title3-en.png": __vite_glob_0_31$1, 31111 "../../assets/imgs/m/join/wellfare-title3-ja.png": __vite_glob_0_32$1, 31112 "../../assets/imgs/m/join/wellfare-title3-kr.png": __vite_glob_0_33$1, 31113 "../../assets/imgs/pc/join/bg1.jpg": __vite_glob_0_34$1, 31114 "../../assets/imgs/pc/join/btn1-act-en.png": __vite_glob_0_35$1, 31115 "../../assets/imgs/pc/join/btn1-act-ja.png": __vite_glob_0_36$1, 31116 "../../assets/imgs/pc/join/btn1-act-kr.png": __vite_glob_0_37$1, 31117 "../../assets/imgs/pc/join/btn1-act-tw.png": __vite_glob_0_38$1, 31118 "../../assets/imgs/pc/join/btn1-act.png": __vite_glob_0_39$1, 31119 "../../assets/imgs/pc/join/btn1-def-en.png": __vite_glob_0_40$1, 31120 "../../assets/imgs/pc/join/btn1-def-ja.png": __vite_glob_0_41$1, 31121 "../../assets/imgs/pc/join/btn1-def-kr.png": __vite_glob_0_42$1, 31122 "../../assets/imgs/pc/join/btn1-def-tw.png": __vite_glob_0_43$1, 31123 "../../assets/imgs/pc/join/btn1-def.png": __vite_glob_0_44$1, 31124 "../../assets/imgs/pc/join/btn2-act-en.png": __vite_glob_0_45$1, 31125 "../../assets/imgs/pc/join/btn2-act-ja.png": __vite_glob_0_46$1, 31126 "../../assets/imgs/pc/join/btn2-act-kr.png": __vite_glob_0_47$1, 31127 "../../assets/imgs/pc/join/btn2-act-tw.png": __vite_glob_0_48$1, 31128 "../../assets/imgs/pc/join/btn2-act.png": __vite_glob_0_49$1, 31129 "../../assets/imgs/pc/join/btn2-def-en.png": __vite_glob_0_50$1, 31130 "../../assets/imgs/pc/join/btn2-def-ja.png": __vite_glob_0_51$1, 31131 "../../assets/imgs/pc/join/btn2-def-kr.png": __vite_glob_0_52$1, 31132 "../../assets/imgs/pc/join/btn2-def-tw.png": __vite_glob_0_53$1, 31133 "../../assets/imgs/pc/join/btn2-def.png": __vite_glob_0_54$1, 31134 "../../assets/imgs/pc/join/hd-bg.jpg": __vite_glob_0_55$1, 31135 "../../assets/imgs/pc/join/join-img1-1.png": __vite_glob_0_56$1, 31136 "../../assets/imgs/pc/join/join-img1-2.png": __vite_glob_0_57$1, 31137 "../../assets/imgs/pc/join/join-img1-3.png": __vite_glob_0_58$1, 31138 "../../assets/imgs/pc/join/join-img1-4.png": __vite_glob_0_59$1, 31139 "../../assets/imgs/pc/join/join-img1-5.png": __vite_glob_0_60, 31140 "../../assets/imgs/pc/join/join-img2-1.png": __vite_glob_0_61, 31141 "../../assets/imgs/pc/join/join-img2-2.png": __vite_glob_0_62, 31142 "../../assets/imgs/pc/join/num1.png": __vite_glob_0_63, 31143 "../../assets/imgs/pc/join/num2.png": __vite_glob_0_64, 31144 "../../assets/imgs/pc/join/num3.png": __vite_glob_0_65, 31145 "../../assets/imgs/pc/join/tab1-img.png": __vite_glob_0_66, 31146 "../../assets/imgs/pc/join/tab2-img.png": __vite_glob_0_67, 31147 "../../assets/imgs/pc/join/text-icon.png": __vite_glob_0_68, 31148 "../../assets/imgs/pc/join/text-line-en.png": __vite_glob_0_69, 31149 "../../assets/imgs/pc/join/text-line.png": __vite_glob_0_70, 31150 "../../assets/imgs/pc/join/text1-act-en.png": __vite_glob_0_71, 31151 "../../assets/imgs/pc/join/text1-act-ja.png": __vite_glob_0_72, 31152 "../../assets/imgs/pc/join/text1-act-kr.png": __vite_glob_0_73, 31153 "../../assets/imgs/pc/join/text1-act-tw.png": __vite_glob_0_74, 31154 "../../assets/imgs/pc/join/text1-act.png": __vite_glob_0_75, 31155 "../../assets/imgs/pc/join/text1-def-en.png": __vite_glob_0_76, 31156 "../../assets/imgs/pc/join/text1-def-ja.png": __vite_glob_0_77, 31157 "../../assets/imgs/pc/join/text1-def-kr.png": __vite_glob_0_78, 31158 "../../assets/imgs/pc/join/text1-def-tw.png": __vite_glob_0_79, 31159 "../../assets/imgs/pc/join/text1-def.png": __vite_glob_0_80, 31160 "../../assets/imgs/pc/join/text1-desc-en.png": __vite_glob_0_81, 31161 "../../assets/imgs/pc/join/text1-desc-ja.png": __vite_glob_0_82, 31162 "../../assets/imgs/pc/join/text1-desc-kr.png": __vite_glob_0_83, 31163 "../../assets/imgs/pc/join/text1-desc-tw.png": __vite_glob_0_84, 31164 "../../assets/imgs/pc/join/text1-desc.png": __vite_glob_0_85, 31165 "../../assets/imgs/pc/join/text2-act-en.png": __vite_glob_0_86, 31166 "../../assets/imgs/pc/join/text2-act-ja.png": __vite_glob_0_87, 31167 "../../assets/imgs/pc/join/text2-act-kr.png": __vite_glob_0_88, 31168 "../../assets/imgs/pc/join/text2-act-tw.png": __vite_glob_0_89, 31169 "../../assets/imgs/pc/join/text2-act.png": __vite_glob_0_90, 31170 "../../assets/imgs/pc/join/text2-def-en.png": __vite_glob_0_91, 31171 "../../assets/imgs/pc/join/text2-def-ja.png": __vite_glob_0_92, 31172 "../../assets/imgs/pc/join/text2-def-kr.png": __vite_glob_0_93, 31173 "../../assets/imgs/pc/join/text2-def-tw.png": __vite_glob_0_94, 31174 "../../assets/imgs/pc/join/text2-def.png": __vite_glob_0_95, 31175 "../../assets/imgs/pc/join/text2-desc-en.png": __vite_glob_0_96, 31176 "../../assets/imgs/pc/join/text2-desc-ja.png": __vite_glob_0_97, 31177 "../../assets/imgs/pc/join/text2-desc-kr.png": __vite_glob_0_98, 31178 "../../assets/imgs/pc/join/text2-desc-tw.png": __vite_glob_0_99, 31179 "../../assets/imgs/pc/join/text2-desc.png": __vite_glob_0_100, 31180 "../../assets/imgs/pc/join/text3-act-en.png": __vite_glob_0_101,
31181 "../../assets/imgs/pc/join/text3-act-ja.png": __vite_glob_0_102, 31182 "../../assets/imgs/pc/join/text3-act-kr.png": __vite_glob_0_103, 31183 "../../assets/imgs/pc/join/text3-act-tw.png": __vite_glob_0_104, 31184 "../../assets/imgs/pc/join/text3-act.png": __vite_glob_0_105, 31185 "../../assets/imgs/pc/join/text3-def-en.png": __vite_glob_0_106, 31186 "../../assets/imgs/pc/join/text3-def-ja.png": __vite_glob_0_107, 31187 "../../assets/imgs/pc/join/text3-def-kr.png": __vite_glob_0_108, 31188 "../../assets/imgs/pc/join/text3-def-tw.png": __vite_glob_0_109, 31189 "../../assets/imgs/pc/join/text3-def.png": __vite_glob_0_110, 31190 "../../assets/imgs/pc/join/text3-desc-en.png": __vite_glob_0_111, 31191 "../../assets/imgs/pc/join/text3-desc-ja.png": __vite_glob_0_112, 31192 "../../assets/imgs/pc/join/text3-desc-kr.png": __vite_glob_0_113, 31193 "../../assets/imgs/pc/join/text3-desc-tw.png": __vite_glob_0_114, 31194 "../../assets/imgs/pc/join/text3-desc.png": __vite_glob_0_115, 31195 "../../assets/imgs/pc/join/title1-en.png": __vite_glob_0_116, 31196 "../../assets/imgs/pc/join/title1-tw.png": __vite_glob_0_117, 31197 "../../assets/imgs/pc/join/title1.png": __vite_glob_0_118, 31198 "../../assets/imgs/pc/join/title2.png": __vite_glob_0_119, 31199 "../../assets/imgs/pc/join/video-btn.png": __vite_glob_0_120, 31200 "../../assets/imgs/pc/join/video-picture.jpg": __vite_glob_0_121, 31201 "../../assets/imgs/pc/join/video-text.png": __vite_glob_0_122, 31202 "../../assets/imgs/pc/join/wellfare-icon1.png": __vite_glob_0_123, 31203 "../../assets/imgs/pc/join/wellfare-icon2.png": __vite_glob_0_124, 31204 "../../assets/imgs/pc/join/wellfare-icon3.png": __vite_glob_0_125, 31205 "../../assets/imgs/pc/join/wellfare-img1.jpg": __vite_glob_0_126, 31206 "../../assets/imgs/pc/join/wellfare-img1.png": __vite_glob_0_127, 31207 "../../assets/imgs/pc/join/wellfare-img2.jpg": __vite_glob_0_128, 31208 "../../assets/imgs/pc/join/wellfare-img2.webp": __vite_glob_0_129, 31209 "../../assets/imgs/pc/join/wellfare-img3.jpg": __vite_glob_0_130, 31210 "../../assets/imgs/pc/join/wellfare-title1-en.png": __vite_glob_0_131, 31211 "../../assets/imgs/pc/join/wellfare-title1-tw.png": __vite_glob_0_132, 31212 "../../assets/imgs/pc/join/wellfare-title1.png": __vite_glob_0_133, 31213 "../../assets/imgs/pc/join/wellfare-title2-en.png": __vite_glob_0_134, 31214 "../../assets/imgs/pc/join/wellfare-title2-tw.png": __vite_glob_0_135, 31215 "../../assets/imgs/pc/join/wellfare-title2.png": __vite_glob_0_136, 31216 "../../assets/imgs/pc/join/wellfare-title3-en.png": __vite_glob_0_137, 31217 "../../assets/imgs/pc/join/wellfare-title3-tw.png": __vite_glob_0_138, 31218 "../../assets/imgs/pc/join/wellfare-title3.png": __vite_glob_0_139 31219 })["../../assets/imgs/".concat(o, "/join/").concat(d)], import.meta.url).href, allLangImg$1 = { 31220 pc: { 31221 "zh-cn": { 31222 wellfareTitle1: imgUrl$1("wellfare-title1.png"), 31223 wellfareTitle2: imgUrl$1("wellfare-title2.png"), 31224 wellfareTitle3: imgUrl$1("wellfare-title3.png") 31225 }, 31226 "zh-tw": { 31227 wellfareTitle1: imgUrl$1("wellfare-title1-tw.png"), 31228 wellfareTitle2: imgUrl$1("wellfare-title2-tw.png"), 31229 wellfareTitle3: imgUrl$1("wellfare-title3-tw.png") 31230 }, 31231 "en-us": { 31232 wellfareTitle1: imgUrl$1("wellfare-title1-en.png"), 31233 wellfareTitle2: imgUrl$1("wellfare-title2-en.png"), 31234 wellfareTitle3: imgUrl$1("wellfare-title3-en.png") 31235 }, 31236 "ko-kr": { 31237 wellfareTitle1: imgUrl$1("wellfare-title1-kr.png"), 31238 wellfareTitle2: imgUrl$1("wellfare-title2-kr.png"), 31239 wellfareTitle3: imgUrl$1("wellfare-title3-kr.png") 31240 }, 31241 "ja-jp": { 31242 wellfareTitle1: imgUrl$1("wellfare-title1-ja.png"), 31243 wellfareTitle2: imgUrl$1("wellfare-title2-ja.png"), 31244 wellfareTitle3: imgUrl$1("wellfare-title3-ja.png") 31245 } 31246 }, 31247 m: { 31248 "zh-cn": { 31249 wellfareTitle1: imgUrl$1("wellfare-title1.png"), 31250 wellfareTitle2: imgUrl$1("wellfare-title2.png"), 31251 wellfareTitle3: imgUrl$1("wellfare-title3.png") 31252 }, 31253 "zh-tw": { 31254 wellfareTitle1: imgUrl$1("wellfare-title1-tw.png"), 31255 wellfareTitle2: imgUrl$1("wellfare-title2-tw.png"), 31256 wellfareTitle3: imgUrl$1("wellfare-title3-tw.png") 31257 }, 31258 "en-us": { 31259 wellfareTitle1: imgUrl$1("wellfare-title1-en.png", "m"), 31260 wellfareTitle2: imgUrl$1("wellfare-title2-en.png", "m"), 31261 wellfareTitle3: imgUrl$1("wellfare-title3-en.png", "m") 31262 }, 31263 "ko-kr": { 31264 wellfareTitle1: imgUrl$1("wellfare-title1-kr.png", "m"), 31265 wellfareTitle2: imgUrl$1("wellfare-title2-kr.png", "m"), 31266 wellfareTitle3: imgUrl$1("wellfare-title3-kr.png", "m") 31267 }, 31268 "ja-jp": { 31269 wellfareTitle1: imgUrl$1("wellfare-title1-ja.png", "m"), 31270 wellfareTitle2: imgUrl$1("wellfare-title2-ja.png", "m"), 31271 wellfareTitle3: imgUrl$1("wellfare-title3-ja.png", "m") 31272 } 31273 } 31274 }, langImg$1 = isPC$3 ? allLangImg$1.pc : allLangImg$1.m, isPC$2 = isIPad13_1 || isDesktop_1, usePolling = (d, o = 3e3) => { 31275 const h = reactExports.useRef(null), [g, b] = reactExports.useState(-1), [$, _e] = reactExports.useState(true), et = reactExports.useCallback(() => { 31276 h.current && clearInterval(h.current), o !== 0 && (h.current = setInterval(() => { 31277 b((nt) => (nt + 1) % d); 31278 }, o)); 31279 }, [ 31280 d, 31281 o 31282 ]), tt = reactExports.useCallback(() => { 31283 h.current && (clearInterval(h.current), h.current = null); 31284 }, []); 31285 reactExports.useEffect(() => ($ && et(), () => { 31286 tt(); 31287 }), [ 31288 $, 31289 et, 31290 tt 31291 ]); 31292 const rt = reactExports.useCallback((nt) => { 31293 nt !== g && (_e(false), tt(), b(nt), setTimeout(() => { 31294 _e(true); 31295 }, o)); 31296 }, [ 31297 g, 31298 tt, 31299 o 31300 ]); 31301 return { 31302 currentIndex: g, 31303 gotoSide: rt, 31304 setCurrentIndex: b 31305 }; 31306 }, WellfareV2 = () => { 31307 const { t: d, i18n: o } = useTranslation(), h = [ 31308 { 31309 poster: isPC$2 ? new URL("/static/ossweb-img/wellfare-img1-Duag1FO9.png", import.meta.url).href : new URL("/static/ossweb-img/wellfare-img1-Duag1FO9.png", import.meta.url).href, 31310 titleImg: langImg$1[o.language].wellfareTitle1, 31311 icon: new URL("/static/ossweb-img/wellfare-icon1-BnhyTKXQ.png", import.meta.url).href, 31312 title: d("join.wellfare1.title"), 31313 text: d("join.wellfare1.text", { 31314 returnObjects: true 31315 }) 31316 }, 31317 { 31318 poster: new URL("/static/ossweb-img/wellfare-img2-s_z-THac.webp", import.meta.url).href, 31319 titleImg: langImg$1[o.language].wellfareTitle2, 31320 icon: new URL("/static/ossweb-img/wellfare-icon2-Bs0tjR4P.png", import.meta.url).href, 31321 title: d("join.wellfare2.title"), 31322 text: d("join.wellfare2.text", { 31323 returnObjects: true 31324 }) 31325 }, 31326 { 31327 poster: new URL("/static/ossweb-img/wellfare-img3-471gAK_k.jpg", import.meta.url).href, 31328 titleImg: langImg$1[o.language].wellfareTitle3, 31329 icon: new URL("/static/ossweb-img/wellfare-icon3-CpfDmokX.png", import.meta.url).href, 31330 title: d("join.wellfare3.title"), 31331 text: d("join.wellfare3.text", { 31332 returnObjects: true 31333 }) 31334 } 31335 ], { currentIndex: g, gotoSide: b, setCurrentIndex: $ } = usePolling(h.length, isPC$2 ? 5e3 : 0); 31336 return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 31337 children: jsxRuntimeExports.jsx("div", { 31338 className: "wellfareV2", 31339 children: h.map((_e, et) => jsxRuntimeExports.jsx("div", { 31340 className: classNames("wellfareV2__item", "w-item".concat(et + 1), { 31341 active: g === et, 31342 open: g !== -1 31343 }), 31344 onClick: () => b(et), 31345 children: jsxRuntimeExports.jsxs("div", { 31346 className: "wellfareV2__item-bg", 31347 children: [ 31348 isPC$2 ? null : jsxRuntimeExports.jsx("div", { 31349 className: "back-btn", 31350 onClick: () => $(-1) 31351 }), 31352 jsxRuntimeExports.jsx("img", { 31353 className: "poster", 31354 src: _e.poster, 31355 alt: "" 31356 }), 31357 jsxRuntimeExports.jsxs("div", { 31358 className: "wellfareV2__content", 31359 children: [ 31360 jsxRuntimeExports.jsxs("div", { 31361 className: "wellfareV2__desc", 31362 children: [ 31363 jsxRuntimeExports.jsx("h3", { 31364 className: "font_medium", 31365 children: _e.title 31366 }), 31367 jsxRuntimeExports.jsx("ul", { 31368 className: "font_regular", 31369 children: _e.text.map((tt, rt) => jsxRuntimeExports.jsx("li", { 31370 children: jsxRuntimeExports.jsx(Trans, { 31371 children: tt 31372 }) 31373 }, rt)) 31374 }) 31375 ] 31376 }), 31377 jsxRuntimeExports.jsxs("div", { 31378 className: "wellfareV2__icon", 31379 children: [ 31380 jsxRuntimeExports.jsx("img", { 31381 className: "w-icon", 31382 src: _e.icon, 31383 alt: "" 31384 }), 31385 jsxRuntimeExports.jsx("img", { 31386 className: "w-title", 31387 src: _e.titleImg, 31388 alt: "" 31389 }) 31390 ] 31391 }) 31392 ] 31393 }) 31394 ] 31395 }) 31396 }, et)) 31397 }) 31398 }); 31399 }, Introduction = () => { 31400 const { currentIndex: o, gotoSide: h } = usePolling(3, 3e3); 31401 return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 31402 children: jsxRuntimeExports.jsx("div", { 31403 className: "introduction", 31404 children: jsxRuntimeExports.jsx("ul", { 31405 children: Array.from({ 31406 length: 3 31407 }, (g, b) => jsxRuntimeExports.jsxs("li", { 31408 className: classNames("intro".concat(b + 1), { 31409 active: o === b 31410 }), 31411 onClick: () => h(b), 31412 children: [ 31413 jsxRuntimeExports.jsx("div", { 31414 className: "text", 31415 children: jsxRuntimeExports.jsx("i", {}) 31416 }), 31417 jsxRuntimeExports.jsx("div", { 31418 className: "desc" 31419 }) 31420 ] 31421 }, "intro".concat(b + 1))) 31422 }) 31423 }) 31424 }); 31425 }; 31426 function PCView({ children: d, ...o }) { 31427 const { t: h } = useTranslation(), [g, b] = reactExports.useState(0), $ = reactExports.useRef(null); 31428 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 31429 children: [ 31430 jsxRuntimeExports.jsxs(Swiper, { 31431 initialSlide: 0, 31432 onSlideChange: (_e) => { 31433 const et = _e.activeIndex; 31434 et >= 2 ? gsapWithCSS.set($.current, { 31435 autoAlpha: 0 31436 }) : gsapWithCSS.set($.current, { 31437 autoAlpha: 1 31438 }), et === 0 ? $.current.classList.remove("off-mouse") : $.current.classList.add("off-mouse"); 31439 }, 31440 direction: "vertical", 31441 mousewheel: true, 31442 modules: [ 31443 Mousewheel 31444 ], 31445 slidesPerView: "auto", 31446 className: "join-swiper", 31447 children: [ 31448 jsxRuntimeExports.jsx(SwiperSlide, { 31449 children: jsxRuntimeExports.jsx("header", { 31450 children: jsxRuntimeExports.jsx("div", { 31451 className: "video-text font_bold", 31452 children: h("join.videoTitle") 31453 }) 31454 }) 31455 }), 31456 jsxRuntimeExports.jsx(SwiperSlide, { 31457 children: jsxRuntimeExports.jsxs("div", { 31458 className: "cont1", 31459 children: [ 31460 jsxRuntimeExports.jsx("div", { 31461 className: "title" 31462 }), 31463 jsxRuntimeExports.jsxs("div", { 31464 className: "swiper-cont", 31465 children: [ 31466 jsxRuntimeExports.jsx("div", { 31467 className: classNames("tab", { 31468 act: g === 0 31469 }), 31470 children: jsxRuntimeExports.jsxs(ParallaxComponent, { 31471 className: "poster-cont poster-cont1", 31472 children: [ 31473 jsxRuntimeExports.jsx("div", { 31474 className: "layer", 31475 "data-depth": "0.1", 31476 children: jsxRuntimeExports.jsx("span", { 31477 className: "chip1" 31478 }) 31479 }), 31480 jsxRuntimeExports.jsx("div", { 31481 className: "layer", 31482 "data-depth": "0.15", 31483 children: jsxRuntimeExports.jsx("span", { 31484 className: "chip2" 31485 }) 31486 }), 31487 jsxRuntimeExports.jsx("div", { 31488 className: "layer", 31489 "data-depth": "0.2", 31490 children: jsxRuntimeExports.jsx("span", { 31491 className: "chip3" 31492 }) 31493 }), 31494 jsxRuntimeExports.jsx("div", { 31495 className: "layer", 31496 "data-depth": "0.15", 31497 children: jsxRuntimeExports.jsx("span", { 31498 className: "chip4" 31499 }) 31500 }), 31501 jsxRuntimeExports.jsx("div", { 31502 className: "layer", 31503 "data-depth": "0.4", 31504 children: jsxRuntimeExports.jsx("span", { 31505 className: "chip5" 31506 }) 31507 }) 31508 ] 31509 }) 31510 }), 31511 jsxRuntimeExports.jsx("div", { 31512 className: classNames("tab", { 31513 act: g === 1 31514 }), 31515 children: jsxRuntimeExports.jsxs(ParallaxComponent, { 31516 className: "poster-cont poster-cont2", 31517 children: [ 31518 jsxRuntimeExports.jsx("div", { 31519 className: "layer", 31520 "data-depth": "0.1", 31521 children: jsxRuntimeExports.jsx("span", { 31522 className: "chip1" 31523 }) 31524 }), 31525 jsxRuntimeExports.jsx("div", { 31526 className: "layer", 31527 "data-depth": "0.15", 31528 children: jsxRuntimeExports.jsx("span", { 31529 className: "chip2" 31530 }) 31531 }) 31532 ] 31533 }) 31534 }) 31535 ] 31536 }), 31537 jsxRuntimeExports.jsxs("div", { 31538 className: "tab-btn-group", 31539 children: [ 31540 jsxRuntimeExports.jsx("div", { 31541 className: classNames("btn btn1", { 31542 act: g === 0 31543 }), 31544 onMouseEnter: () => { 31545 b(0); 31546 }, 31547 onClick: () => { 31548 window.open("https://kurogame.jobs.feishu.cn/campus/", "_blank"); 31549 } 31550 }), 31551 jsxRuntimeExports.jsx("div", { 31552 className: classNames("btn btn2", { 31553 act: g === 1 31554 }), 31555 onMouseEnter: () => { 31556 b(1); 31557 }, 31558 onClick: () => { 31559 window.open("https
31559://kurogame.jobs.feishu.cn/index/", "_blank"); 31560 } 31561 }) 31562 ] 31563 }), 31564 jsxRuntimeExports.jsx(Introduction, {}) 31565 ] 31566 }) 31567 }), 31568 jsxRuntimeExports.jsx(SwiperSlide, { 31569 children: jsxRuntimeExports.jsx("div", { 31570 className: "cont2", 31571 children: jsxRuntimeExports.jsx(WellfareV2, {}) 31572 }) 31573 }), 31574 jsxRuntimeExports.jsx(SwiperSlide, { 31575 className: "copyright-slide", 31576 children: d 31577 }) 31578 ] 31579 }), 31580 jsxRuntimeExports.jsx("div", { 31581 className: "scroll-tips", 31582 ref: $, 31583 children: jsxRuntimeExports.jsx("div", { 31584 className: "arrow" 31585 }) 31586 }) 31587 ] 31588 }); 31589 } 31590 function MobileView({ children: d, ...o }) { 31591 const { t: h } = useTranslation(), [g, b] = reactExports.useState(0), [$, _e] = reactExports.useState(true); 31592 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 31593 children: [ 31594 jsxRuntimeExports.jsxs(Swiper, { 31595 initialSlide: 0, 31596 onSlideChange: (et) => { 31597 et.activeIndex < 2 ? _e(true) : _e(false); 31598 }, 31599 direction: "vertical", 31600 slidesPerView: "auto", 31601 className: "join-swiper", 31602 children: [ 31603 jsxRuntimeExports.jsx(SwiperSlide, { 31604 children: jsxRuntimeExports.jsx("header", { 31605 children: jsxRuntimeExports.jsx("div", { 31606 className: "video-text font_bold", 31607 "data-title": h("join.videoTitle") 31608 }) 31609 }) 31610 }), 31611 jsxRuntimeExports.jsx(SwiperSlide, { 31612 children: jsxRuntimeExports.jsxs("div", { 31613 className: "cont1", 31614 children: [ 31615 jsxRuntimeExports.jsx("div", { 31616 className: "title" 31617 }), 31618 jsxRuntimeExports.jsxs("div", { 31619 className: "swiper-cont", 31620 children: [ 31621 jsxRuntimeExports.jsx("div", { 31622 className: classNames("tab tab1", { 31623 act: g === 0 31624 }) 31625 }), 31626 jsxRuntimeExports.jsx("div", { 31627 className: classNames("tab tab2", { 31628 act: g === 1 31629 }) 31630 }) 31631 ] 31632 }), 31633 jsxRuntimeExports.jsxs("div", { 31634 className: "tab-btn-group", 31635 children: [ 31636 jsxRuntimeExports.jsx("div", { 31637 className: classNames("btn btn1", { 31638 act: g === 0 31639 }), 31640 onClick: () => { 31641 b(0), window.open("https://kurogame.jobs.feishu.cn/campus/", "_blank"); 31642 } 31643 }), 31644 jsxRuntimeExports.jsx("div", { 31645 className: classNames("btn btn2", { 31646 act: g === 1 31647 }), 31648 onClick: () => { 31649 b(1), window.open("https://kurogame.jobs.feishu.cn/index/", "_blank"); 31650 } 31651 }) 31652 ] 31653 }), 31654 jsxRuntimeExports.jsx("div", { 31655 className: "introduction", 31656 children: jsxRuntimeExports.jsxs("ul", { 31657 className: "font_regular", 31658 children: [ 31659 jsxRuntimeExports.jsxs("li", { 31660 children: [ 31661 jsxRuntimeExports.jsx("i", { 31662 children: "01" 31663 }), 31664 jsxRuntimeExports.jsx("span", { 31665 children: jsxRuntimeExports.jsx(Trans, { 31666 children: h("introduction1") 31667 }) 31668 }) 31669 ] 31670 }), 31671 jsxRuntimeExports.jsxs("li", { 31672 children: [ 31673 jsxRuntimeExports.jsx("i", { 31674 children: "02" 31675 }), 31676 jsxRuntimeExports.jsx("span", { 31677 children: jsxRuntimeExports.jsx(Trans, { 31678 children: h("introduction2") 31679 }) 31680 }) 31681 ] 31682 }), 31683 jsxRuntimeExports.jsxs("li", { 31684 children: [ 31685 jsxRuntimeExports.jsx("i", { 31686 children: "03" 31687 }), 31688 jsxRuntimeExports.jsx("span", { 31689 children: jsxRuntimeExports.jsx(Trans, { 31690 children: h("introduction3") 31691 }) 31692 }) 31693 ] 31694 }) 31695 ] 31696 }) 31697 }) 31698 ] 31699 }) 31700 }), 31701 jsxRuntimeExports.jsx(SwiperSlide, { 31702 children: jsxRuntimeExports.jsx("div", { 31703 className: "cont2", 31704 children: jsxRuntimeExports.jsx(WellfareV2, {}) 31705 }) 31706 }), 31707 jsxRuntimeExports.jsx(SwiperSlide, { 31708 className: "copyright-slide", 31709 children: d 31710 }) 31711 ] 31712 }), 31713 jsxRuntimeExports.jsx("div", { 31714 className: "scroll-tips", 31715 style: { 31716 display: $ ? "block" : "none" 31717 } 31718 }) 31719 ] 31720 }); 31721 } 31722 const isPC$1 = isIPad13_1 || isDesktop_1; 31723 function JoinUs() { 31724 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 31725 children: [
31726 jsxRuntimeExports.jsx(TopMenu, {}), 31727 jsxRuntimeExports.jsx("div", { 31728 className: "main-wrap", 31729 children: jsxRuntimeExports.jsx("div", { 31730 className: "join-cont", 31731 children: isPC$1 ? jsxRuntimeExports.jsx(PCView, { 31732 children: jsxRuntimeExports.jsx(Copyright, {}) 31733 }) : jsxRuntimeExports.jsx(MobileView, { 31734 children: jsxRuntimeExports.jsx(Copyright, {}) 31735 }) 31736 }) 31737 }) 31738 ] 31739 }); 31740 } 31741 const __vite_glob_0_0 = "/static/ossweb-img/1-en-CGyxfcVh.png", __vite_glob_0_1 = "/static/ossweb-img/1-ja-Byh6dQtQ.png", __vite_glob_0_2 = "/static/ossweb-img/1-kr-LNYjb1qX.png", __vite_glob_0_3 = "/static/ossweb-img/1-tw-BCF1o2iy.png", __vite_glob_0_4 = "/static/ossweb-img/1-Hb0cmMVp.png", __vite_glob_0_5 = "/static/ossweb-img/2-en-CF98QzX2.png", __vite_glob_0_6 = "/static/ossweb-img/2-ja-DlWL1dFb.png", __vite_glob_0_7 = "/static/ossweb-img/2-kr-CFi77Kwa.png", __vite_glob_0_8 = "/static/ossweb-img/2-tw-BQJPbj3-.png", __vite_glob_0_9 = "/static/ossweb-img/2-mHX7E1mq.png", __vite_glob_0_10 = "/static/ossweb-img/3-en-CA73i8dN.png", __vite_glob_0_11 = "/static/ossweb-img/3-ja-iqAqz4FG.png", __vite_glob_0_12 = "/static/ossweb-img/3-kr-wIErummI.png", __vite_glob_0_13 = "/static/ossweb-img/3-tw-QjyXOJee.png", __vite_glob_0_14 = "/static/ossweb-img/3-DAsA09xq.png", __vite_glob_0_15 = "/static/ossweb-img/4-en-Cw0OdeDz.png", __vite_glob_0_16 = "/static/ossweb-img/4-ja-Bisgb3-2.png", __vite_glob_0_17 = "/static/ossweb-img/4-kr-_So1KUYU.png", __vite_glob_0_18 = "/static/ossweb-img/4-tw-BhjGFfls.png", __vite_glob_0_19 = "/static/ossweb-img/4-Ch91ZJed.png", __vite_glob_0_20 = "/static/ossweb-img/5-en-DoRTzwiJ.png", __vite_glob_0_21 = "/static/ossweb-img/5-ja-CRBENA-W.png", __vite_glob_0_22 = "/static/ossweb-img/5-kr-xFOFdbTR.png", __vite_glob_0_23 = "/static/ossweb-img/5-tw-BWTYT4-G.png", __vite_glob_0_24 = "/static/ossweb-img/5-BP_ZqqJK.png", __vite_glob_0_25 = "/static/ossweb-img/bg-CjrZ1--Z.jpg", __vite_glob_0_26 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjQAAAAMCAYAAAECOhd8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmRiYTNkYTNiNSwgMjAyMy8xMi8xNS0xMDo0MjozNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI1LjcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlE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W2UsD27NQTTddSGgAAEAqqrBoGGkRiWlZUqNW0T4SNynXuVw758yxJUdbEhoAAJBK15IRTVPHvtVRC2oQ6ldBvCdImSVIXgtqZGcWJDQAACAF3UWlK1h1q+Y1EvdJe+nZWvL20pmaxVyX66SEps3vAAD4Yx1eQTK9UH0o7FVLVIXRLHbhxGivu7OXWl7HB73biBpRnrgsAAAAAElFTkSuQmCC", __vite_glob_0_27 = "/static/ossweb-img/title-ja-Cv9aIIPI.png", __vite_glob_0_28 = "/static/ossweb-img/title-kr-BEOF6qmH.png", __vite_glob_0_29 = "/static/ossweb-img/1-en-nSiQYwzs.png", __vite_glob_0_30 = "/static/ossweb-img/1-ja-tfFkyQsv.png", __vite_glob_0_31 = "/static/ossweb-img/1-kr-BXUxiLBX.png", __vite_glob_0_32 = "/static/ossweb-img/1-tw-YtcThXaU.png", __vite_glob_0_33 = "/static/ossweb-img/1-DqHNnYRg.png", __vite_glob_0_34 = "/static/ossweb-img/2-en-Cyjf0gI9.png", __vite_glob_0_35 = "/static/ossweb-img/2-ja-BdcH2x_H.png", __vite_glob_0_36 = "/static/ossweb-img/2-kr-TM75lWuT.png", __vite_glob_0_37 = "/static/ossweb-img/2-tw-BoHdtvyU.png", __vite_glob_0_38 = "/static/ossweb-img/2-Ds1QxKDK.png", __vite_glob_0_39 = "/static/ossweb-img/3-en-D0RFME6n.png", __vite_glob_0_40 = "/static/ossweb-img/3-ja-CHA_TKgo.png", __vite_glob_0_41 = "/static/ossweb-img/3-kr-BF42v1TD.png", __vite_glob_0_42 = "/static/ossweb-img/3-tw-B3JUiWYD.png", __vite_glob_0_43 = "/static/ossweb-img/3-xap2P6jw.png", __vite_glob_0_44 = "/static/ossweb-img/4-en-BBBwc7oV.png", __vite_glob_0_45 = "/static/ossweb-img/4-ja-0PmpccLX.png", __vite_glob_0_46 = "/static/ossweb-img/4-kr-DOe_AZFU.png", __vite_glob_0_47 = "/static/ossweb-img/4-tw-LWzIks8G.png", __vite_glob_0_48 = "/static/ossweb-img/4-BivVT5F4.png", __vite_glob_0_49 = "/static/ossweb-img/5-en-CVfGzglQ.png", __vite_glob_0_50 = "/static/ossweb-img/5-ja-DIAfQpNn.png", __vite_glob_0_51 = "/static/ossweb-img/5-kr-aVUAAcVh.png", __vite_glob_0_52 = "/static/ossweb-img/5-tw-CXQJIQah.png", __vite_glob_0_53 = "/static/ossweb-img/5-ACOfcF0E.png", __vite_glob_0_54 = "/static/ossweb-img/bg-DuSZGEjb.jpg", __vite_glob_0_55 = "/static/ossweb-img/title-en-BRHgzxUW.png", __vite_glob_0_56 = "/static/ossweb-img/title-ja--4uP9Sbf.png", __vite_glob_0_57 = "/static/ossweb-img/title-kr-BrcsUYJl.png", __vite_glob_0_58 = "/static/ossweb-img/title-tw-CjANJV_x.png", __vite_glob_0_59 = "/static/ossweb-img/title-BDKoLIak.png", isPC = isIPad13_1 || isDesktop_1, imgUrl = (d, o = "pc") => new URL(Object.assign({ 31742 "../../assets/imgs/m/contact/1-en.png": __vite_glob_0_0, 31743 "../../assets/imgs/m/contact/1-ja.png": __vite_glob_0_1, 31744 "../../assets/imgs/m/contact/1-kr.png": __vite_glob_0_2, 31745 "../../assets/imgs/m/contact/1-tw.png": __vite_glob_0_3, 31746 "../../assets/imgs/m/contact/1.png": __vite_glob_0_4, 31747 "../../assets/imgs/m/contact/2-en.png": __vite_glob_0_5, 31748 "../../assets/imgs/m/contact/2-ja.png": __vite_glob_0_6, 31749 "../../assets/imgs/m/contact/2-kr.png": __vite_glob_0_7, 31750 "../../assets/imgs/m/contact/2-tw.png": __vite_glob_0_8, 31751 "../../assets/imgs/m/contact/2.png": __vite_glob_0_9, 31752 "../../assets/imgs/m/contact/3-en.png": __vite_glob_0_10, 31753 "../../assets/imgs/m/contact/3-ja.png": __vite_glob_0_11, 31754 "../../assets/imgs/m/contact/3-kr.png": __vite_glob_0_12, 31755 "../../assets/imgs/m/contact/3-tw.png": __vite_glob_0_13, 31756 "../../assets/imgs/m/contact/3.png": __vite_glob_0_14, 31757 "../../assets/imgs/m/contact/4-en.png": __vite_glob_0_15, 31758 "../../assets/imgs/m/contact/4-ja.png": __vite_glob_0_16, 31759 "../../assets/imgs/m/contact/4-kr.png": __vite_glob_0_17, 31760 "../../assets/imgs/m/contact/4-tw.png": __vite_glob_0_18, 31761 "../../assets/imgs/m/contact/4.png": __vite_glob_0_19, 31762 "../../assets/imgs/m/contact/5-en.png": __vite_glob_0_20, 31763 "../../assets/imgs/m/contact/5-ja.png": __vite_glob_0_21, 31764 "../../assets/imgs/m/contact/5-kr.png": __vite_glob_0_22, 31765 "../../assets/imgs/m/contact/5-tw.png": __vite_glob_0_23, 31766 "../../assets/imgs/m/contact/5.png": __vite_glob_0_24, 31767 "../../assets/imgs/m/contact/bg.jpg": __vite_glob_0_25, 31768 "../../assets/imgs/m/contact/text-line.png": __vite_glob_0_26, 31769 "../../assets/imgs/m/contact/title-ja.png": __vite_glob_0_27, 31770 "../../assets/imgs/m/contact/title-kr.png": __vite_glob_0_28, 31771 "../../assets/imgs/pc/contact/1-en.png": __vite_glob_0_29, 31772 "../../assets/imgs/pc/contact/1-ja.png": __vite_glob_0_30, 31773 "../../assets/imgs/pc/contact/1-kr.png": __vite_glob_0_31, 31774 "../../assets/imgs/pc/contact/1-tw.png": __vite_glob_0_32, 31775 "../../assets/imgs/pc/contact/1.png": __vite_glob_0_33, 31776 "../../assets/imgs/pc/contact/2-en.png": __vite_glob_0_34, 31777 "../../assets/imgs/pc/contact/2-ja.png": __vite_glob_0_35, 31778 "../../assets/imgs/pc/contact/2-kr.png": __vite_glob_0_36, 31779 "../../assets/imgs/pc/contact/2-tw.png": __vite_glob_0_37, 31780 "../../assets/imgs/pc/contact/2.png": __vite_glob_0_38, 31781 "../../assets/imgs/pc/contact/3-en.png": __vite_glob_0_39, 31782 "../../assets/imgs/pc/contact/3-ja.png": __vite_glob_0_40, 31783 "../../assets/imgs/pc/contact/3-kr.png": __vite_glob_0_41, 31784 "../../assets/imgs/pc/contact/3-tw.png": __vite_glob_0_42, 31785 "../../assets/imgs/pc/contact/3.png": __vite_glob_0_43, 31786 "../../assets/imgs/pc/contact/4-en.png": __vite_glob_0_44, 31787 "../../assets/imgs/pc/contact/4-ja.png": __vite_glob_0_45, 31788 "../../assets/imgs/pc/contact/4-kr.png": __vite_glob_0_46, 31789 "../../assets/imgs/pc/contact/4-tw.png": __vite_glob_0_47, 31790 "../../assets/imgs/pc/contact/4.png": __vite_glob_0_48, 31791 "../../assets/imgs/pc/contact/5-en.png": __vite_glob_0_49, 31792 "../../assets/imgs/pc/contact/5-ja.png": __vite_glob_0_50, 31793 "../../assets/imgs/pc/contact/5-kr.png": __vite_glob_0_51, 31794 "../../assets/imgs/pc/contact/5-tw.png": __vite_glob_0_52, 31795 "../../assets/imgs/pc/contact/5.png": __vite_glob_0_53, 31796 "../../assets/imgs/pc/contact/bg.jpg": __vite_glob_0_54, 31797 "../../assets/imgs/pc/contact/title-en.png": __vite_glob_0_55, 31798 "../../assets/imgs/pc/contact/title-ja.png": __vite_glob_0_56, 31799 "../../assets/imgs/pc/contact/title-kr.png": __vite_glob_0_57, 31800 "../../assets/imgs/pc/contact/title-tw.png": __vite_glob_0_58, 31801 "../../assets/imgs/pc/contact/title.png": __vite_glob_0_59 31802 })["../../assets/imgs/".concat(o, "/contact/").concat(d)], import.meta.url).href, allLangImg = { 31803 pc: { 31804 "zh-cn": { 31805 contact1: imgUrl("1.png"), 31806 contact2: imgUrl("2.png"), 31807 contact3: imgUrl("3.png"), 31808 contact4: imgUrl("4.png"), 31809 contact5: imgUrl("5.png") 31810 }, 31811 "zh-tw": { 31812 contact1: imgUrl("1-tw.png"), 31813 contact2: imgUrl("2-tw.png"), 31814 contact3: imgUrl("3-tw.png"), 31815 contact4: imgUrl("4-tw.png"), 31816 contact5: imgUrl("5-tw.png") 31817 }, 31818 "en-us": { 31819 contact1: imgUrl("1-en.png"), 31820 contact2: imgUrl("2-en.png"), 31821 contact3: imgUrl("3-en.png"), 31822 contact4: imgUrl("4-en.png"), 31823 contact5: imgUrl("5-en.png") 31824 }, 31825 "ko-kr": { 31826 contact1: imgUrl("1-kr.png"), 31827 contact2: imgUrl("2-kr.png"), 31828 contact3: imgUrl("3-kr.png"), 31829 contact4: imgUrl("4-kr.png"), 31830 contact5: imgUrl("5-kr.png") 31831 }, 31832 "ja-jp": { 31833 contact1: imgUrl("1-ja.png"), 31834 contact2: imgUrl("2-ja.png"), 31835 contact3: imgUrl("3-ja.png"), 31836 contact4: imgUrl("4-ja.png"), 31837 contact5: imgUrl("5-ja.png") 31838 } 31839 }, 31840 m: { 31841 "zh-cn": { 31842 contact1: imgUrl("1.png", "m"), 31843 contact2: imgUrl("2.png", "m"), 31844 contact3: imgUrl("3.png", "m"), 31845 contact4: imgUrl("4.png", "m"), 31846 contact5: imgUrl("5.png", "m") 31847 }, 31848 "zh-tw": { 31849 contact1: imgUrl("1-tw.png", "m"), 31850 contact2: imgUrl("2-tw.png", "m"), 31851 contact3: imgUrl("3-tw.png", "m"), 31852 contact4: imgUrl("4-tw.png", "m"), 31853 contact5: imgUrl("5-tw.png", "m") 31854 }, 31855 "en-us": { 31856 contact1: imgUrl("1-en.png", "m"), 31857 contact2: imgUrl("2-en.png", "m"), 31858 contact3: imgUrl("3-en.png", "m"), 31859 contact4: imgUrl("4-en.png", "m"), 31860 contact5: imgUrl("5-en.png", "m") 31861 }, 31862 "ko-kr": { 31863 contact1: imgUrl("1-kr.png", "m"), 31864 contact2: imgUrl("2-kr.png", "m"), 31865 contact3: imgUrl("3-kr.png", "m"), 31866 contact4: imgUrl("4-kr.png", "m"), 31867 contact5: imgUrl("5-kr.png", "m") 31868 }, 31869 "ja-jp": { 31870 contact1: imgUrl("1-ja.png", "m"), 31871 contact2: imgUrl("2-ja.png", "m"), 31872 contact3: imgUrl("3-ja.png", "m"), 31873 contact4: imgUrl("4-ja.png", "m"), 31874 contact5: imgUrl("5-ja.png", "m") 31875 } 31876 } 31877 }, langImg = isPC ? allLangImg.pc : allLangImg.m; 31878 function Contact() { 31879 const { t: d, i18n: o } = useTranslation(), h = o.language === "zh-cn", g = [ 31880 { 31881 nameImg: langImg[o.language].contact1, 31882 msg: [ 31883 d("contact.addressMain"), 31884 d("contact.addressSub") 31885 ] 31886 }, 31887 { 31888 nameImg: langImg[o.language].contact2, 31889 msg: [ 31890 "020-85655091" 31891 ] 31892 }, 31893 { 31894 nameImg: langImg[o.language].contact3, 31895 msg: h ? [ 31896 "[email protected]", 31897 "0571-56855725", 31898 { 31899 name: "\u9E23\u6F6E\u5728\u7EBF\u5BA2\u670D", 31900 qrcode: "./imgs/contact-qrcode-mc.png", 31901 url: "https://web-static.kurogame.com/shared/zhichi-cs/index.html?islogin=1&game_id=G152" 31902 }, 31903 { 31904 name: "\u6218\u53CC\u5728\u7EBF\u5BA2\u670D", 31905 qrcode: "./imgs/contact-qrcode-zs.png", 31906 url: "https://web-static.kurogame.com/shared/zhichi-cs/index.html?islogin=1&game_id=G148" 31907 } 31908 ] : [ 31909 "[email protected]", 31910 "0571-56855725" 31911 ] 31912 }, 31913 { 31914 nameImg: langImg[o.language].contact4, 31915 msg: [ 31916 "[email protected]", 31917 "[email protected]" 31918 ] 31919 }, 31920 { 31921 nameImg: langImg[o.language].contact5, 31922 msg: [ 31923 "[email protected]" 31924 ] 31925 } 31926 ]; 31927 return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { 31928 children: [ 31929 jsxRuntimeExports.jsxs("div", { 31930 className: "contact-main", 31931 children: [
31932 jsxRuntimeExports.jsx(TopMenu, {}), 31933 jsxRuntimeExports.jsx("h3", {}), 31934 jsxRuntimeExports.jsx("ul", { 31935 className: "font_regular", 31936 children: g.map((b, $) => jsxRuntimeExports.jsxs("li", { 31937 children: [ 31938 jsxRuntimeExports.jsx("div", { 31939 className: "name", 31940 children: jsxRuntimeExports.jsx("img", { 31941 src: b.nameImg, 31942 alt: "" 31943 }) 31944 }), 31945 jsxRuntimeExports.jsx("div", { 31946 className: "msg-wrap", 31947 children: b.msg.map((_e, et) => typeof _e == "object" ? jsxRuntimeExports.jsx("div", { 31948 className: "msg", 31949 children: jsxRuntimeExports.jsxs("a", { 31950 href: "".concat(_e.url), 31951 target: "_blank", 31952 children: [ 31953 _e.name, 31954 _e.qrcode ? jsxRuntimeExports.jsx("div", { 31955 className: "qrcode", 31956 children: jsxRuntimeExports.jsx("img", { 31957 src: _e.qrcode, 31958 alt: "" 31959 }) 31960 }) : null 31961 ] 31962 }) 31963 }, et) : _e.indexOf("@") > -1 ? jsxRuntimeExports.jsx("div", { 31964 className: "msg", 31965 children: jsxRuntimeExports.jsx("a", { 31966 href: "mailto:".concat(_e), 31967 children: _e 31968 }) 31969 }, et) : jsxRuntimeExports.jsx("div", { 31970 className: "msg", 31971 children: _e 31972 }, et)) 31973 }) 31974 ] 31975 }, $)) 31976 }) 31977 ] 31978 }), 31979 jsxRuntimeExports.jsx(Copyright, {}) 31980 ] 31981 }); 31982 } 31983 const routes = [ 31984 { 31985 path: "/", 31986 name: "Index", 31987 element: jsxRuntimeExports.jsx(IndexView, {}) 31988 }, 31989 { 31990 path: "/introduction", 31991 name: "AboutUs", 31992 element: jsxRuntimeExports.jsx(AboutUs, {}) 31993 }, 31994 { 31995 path: "/join", 31996 name: "JoinUs", 31997 element: jsxRuntimeExports.jsx(JoinUs, {}) 31998 }, 31999 { 32000 path: "/contact", 32001 name: "Contact", 32002 element: jsxRuntimeExports.jsx(Contact, {}) 32003 }, 32004 { 32005 path: "/games", 32006 loader: () => redirect("/") 32007 } 32008 ]; 32009 function RouterBeforeEach(d) { 32010 let o = useLocation(); 32011 return reactExports.useEffect(function() { 32012 }, [ 32013 o 32014 ]), jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { 32015 children: d.children 32016 }); 32017 } 32018 const renderRouter = (d) => d.map((o) => (o.element = jsxRuntimeExports.jsx(RouterBeforeEach, { 32019 ...o, 32020 children: o.element 32021 }), o.children && (o.children = renderRouter(o.children)), o)), routes$1 = renderRouter(routes); 32022 var kurodata_umd_min = { 32023 exports: {} 32024 }; 32025 (function(module, exports) { 32026 ((d, o) => { 32027 module.exports = o(); 32028 })(commonjsGlobal, function() { 32029 function _arrayLikeToArray(d, o) { 32030 (o == null || o > d.length) && (o = d.length); 32031 for (var h = 0, g = Array(o); h < o; h++) g[h] = d[h]; 32032 return g; 32033 } 32034 function _arrayWithoutHoles(d) { 32035 if (Array.isArray(d)) return _arrayLikeToArray(d); 32036 } 32037 function _classCallCheck(d, o) { 32038 if (!(d instanceof o)) throw new TypeError("Cannot call a class as a function"); 32039 } 32040 function _defineProperties(d, o) { 32041 for (var h = 0; h < o.length; h++) { 32042 var g = o[h]; 32043 g.enumerable = g.enumerable || false, g.configurable = true, "value" in g && (g.writable = true), Object.defineProperty(d, _toPropertyKey(g.key), g); 32044 } 32045 } 32046 function _createClass(d, o, h) { 32047 return o && _defineProperties(d.prototype, o), h && _defineProperties(d, h), Object.defineProperty(d, "prototype", { 32048 writable: false 32049 }), d; 32050 } 32051 function _iterableToArray(d) { 32052 if (typeof Symbol < "u" && d[Symbol.iterator] != null || d["@@iterator"] != null) return Array.from(d); 32053 } 32054 function _nonIterableSpread() { 32055 throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 32056 } 32057 function _toConsumableArray(d) { 32058 return _arrayWithoutHoles(d) || _iterableToArray(d) || _unsupportedIterableToArray(d) || _nonIterableSpread(); 32059 } 32060 function _toPrimitive(d, o) { 32061 if (typeof d != "object" || !d) return d; 32062 var h = d[Symbol.toPrimitive]; 32063 if (h === void 0) return (o === "string" ? String : Number)(d);
32064 if (h = h.call(d, o), typeof h != "object") return h; 32065 throw new TypeError("@@toPrimitive must return a primitive value."); 32066 } 32067 function _toPropertyKey(d) { 32068 return d = _toPrimitive(d, "string"), typeof d == "symbol" ? d : d + ""; 32069 } 32070 function _typeof(d) { 32071 return (_typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) { 32072 return typeof o; 32073 } : function(o) { 32074 return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; 32075 })(d); 32076 } 32077 function _unsupportedIterableToArray(d, o) { 32078 var h; 32079 if (d) return typeof d == "string" ? _arrayLikeToArray(d, o) : (h = (h = {}.toString.call(d).slice(8, -1)) === "Object" && d.constructor ? d.constructor.name : h) === "Map" || h === "Set" ? Array.from(d) : h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h) ? _arrayLikeToArray(d, o) : void 0; 32080 } 32081 (typeof JSON > "u" ? "undefined" : _typeof(JSON)) !== "object" && (JSON = {}), function() { 32082 var rx_one = /^[\],:{}\s]*$/, rx_two = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, rx_three = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, rx_four = /(?:^|:|,)(?:\s*\[)+/g, rx_escapable = /[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, rx_dangerous = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, gap, indent, meta, rep; 32083 function f(d) { 32084 return d < 10 ? "0" + d : d; 32085 } 32086 function this_value() { 32087 return this.valueOf(); 32088 } 32089 function quote(d) { 32090 return rx_escapable.lastIndex = 0, rx_escapable.test(d) ? '"' + d.replace(rx_escapable, function(o) { 32091 var h = meta[o]; 32092 return typeof h == "string" ? h : "\\u" + ("0000" + o.charCodeAt(0).toString(16)).slice(-4); 32093 }) + '"' : '"' + d + '"'; 32094 } 32095 function str(d, o) { 32096 var h, g, b, $, _e, et = gap, tt = o[d]; 32097 switch (tt && _typeof(tt) === "object" && typeof tt.toJSON == "function" && (tt = tt.toJSON(d)), _typeof(tt = typeof rep == "function" ? rep.call(o, d, tt) : tt)) { 32098 case "string": 32099 return quote(tt); 32100 case "number": 32101 return isFinite(tt) ? String(tt) : "null"; 32102 case "boolean": 32103 case "null": 32104 return String(tt); 32105 case "object": 32106 if (!tt) return "null"; 32107 if (gap += indent, _e = [], Object.prototype.toString.apply(tt) === "[object Array]") {
32108 for ($ = tt.length, h = 0; h < $; h += 1) _e[h] = str(h, tt) || "null"; 32109 b = _e.length === 0 ? "[]" : gap ? "[\n" + gap + _e.join(",\n" + gap) + "\n" + et + "]" : "[" + _e.join(",") + "]"; 32110 } else { 32111 if (rep && _typeof(rep) === "object") for ($ = rep.length, h = 0; h < $; h += 1) typeof rep[h] == "string" && (b = str(g = rep[h], tt)) && _e.push(quote(g) + (gap ? ": " : ":") + b); 32112 else for (g in tt) Object.prototype.hasOwnProperty.call(tt, g) && (b = str(g, tt)) && _e.push(quote(g) + (gap ? ": " : ":") + b); 32113 b = _e.length === 0 ? "{}" : gap ? "{\n" + gap + _e.join(",\n" + gap) + "\n" + et + "}" : "{" + _e.join(",") + "}"; 32114 } 32115 return gap = et, b; 32116 } 32117 } 32118 typeof Date.prototype.toJSON != "function" && (Date.prototype.toJSON = function() { 32119 return isFinite(this.valueOf()) ? this.getUTCFullYear() + "-" + f(this.getUTCMonth() + 1) + "-" + f(this.getUTCDate()) + "T" + f(this.getUTCHours()) + ":" + f(this.getUTCMinutes()) + ":" + f(this.getUTCSeconds()) + "Z" : null; 32120 }, Boolean.prototype.toJSON = this_value, Number.prototype.toJSON = this_value, String.prototype.toJSON = this_value), typeof JSON.stringify != "function" && (meta = { 32121 "\b": "\\b", 32122 " ": "\\t", 32123 "\n": "\\n", 32124 "\f": "\\f", 32125 "\r": "\\r", 32126 '"': '\\"', 32127 "\\": "\\\\" 32128 }, JSON.stringify = function(d, o, h) { 32129 var g; 32130 if (indent = gap = "", typeof h == "number") for (g = 0; g < h; g += 1) indent += " "; 32131 else typeof h == "string" && (indent = h); 32132 if (!(rep = o) || typeof o == "function" || _typeof(o) === "object" && typeof o.length == "number") return str("", { 32133 "": d 32134 }); 32135 throw new Error("JSON.stringify"); 32136 }), typeof JSON.parse != "function" && (JSON.parse = function(text, reviver) { 32137 var j; 32138 function walk(d, o) { 32139 var h, g, b = d[o]; 32140 if (b && _typeof(b) === "object") for (h in b) Object.prototype.hasOwnProperty.call(b, h) && ((g = walk(b, h)) !== void 0 ? b[h] = g : delete b[h]); 32141 return reviver.call(d, o, b); 32142 } 32143 if (text = String(text), rx_dangerous.lastIndex = 0, rx_dangerous.test(text) && (text = text.replace(rx_dangerous, function(d) { 32144 return "\\u" + ("0000" + d.charCodeAt(0).toString(16)).slice(-4); 32145 })), rx_one.test(text.replace(rx_two, "@").replace(rx_three, "]").replace(rx_four, ""))) return j = eval("(" + text + ")"), typeof reviver == "function" ? walk({ 32146 "": j 32147 }, "") : j; 32148 throw new SyntaxError("JSON.parse"); 32149 }); 32150 }(); 32151 var Config = { 32152 LIB_VERSION: "3.0.0-alpha.4" 32153 }, MAX_REFERRER_STRING_LENGTH = 200, ArrayProto = Array.prototype, ObjProto = Object.prototype, slice = ArrayProto.slice, toString = ObjProto.toString, hasOwnProperty = ObjProto.hasOwnProperty, nativeForEach = ArrayProto.forEach, breaker = {}, utmTypes = [ 32154 "utm_source", 32155 "utm_medium", 32156 "utm_campaign", 32157 "utm_content", 32158 "utm_term" 32159 ], _ = { 32160 each: function(d, o, h) { 32161 if (d !== null) { 32162 if (nativeForEach && d.forEach === nativeForEach) d.forEach(o, h); 32163 else if (d.length === +d.length) { 32164 for (var g = 0, b = d.length; g < b; g++) if (g in d && o.call(h, d[g], g, d) === breaker) return; 32165 } else for (var $ in d) if (hasOwnProperty.call(d, $) && o.call(h, d[$], $, d) === breaker) return; 32166 } 32167 }, 32168 extend: function(d) { 32169 return _.each(slice.call(arguments, 1), function(o) { 32170 for (var h in o) o[h] !== void 0 && (d[h] = o[h]); 32171 }), d; 32172 }, 32173 formatDate: function(d) { 32174 function o(h) { 32175 return h < 10 ? "0" + h : h; 32176 } 32177 return d.getFullYear() + "-" + o(d.getMonth() + 1) + "-" + o(d.getDate()) + " " + o(d.getHours()) + ":" + o(d.getMinutes()) + ":" + o(d.getSeconds()) + "." + ((d = d.getMilliseconds()) < 10 ? "00" + d : d < 100 ? "0" + d : d); 32178 }, 32179 formatTimeZone: function(d, o) { 32180 var h; 32181 return typeof o != "number" ? d : (h = d.getTime(), d = 6e4 * d.getTimezoneOffset(), new Date(h + d + 36e5 * o)); 32182 }, 32183 formatJsonString: function(d) { 32184 try { 32185 return JSON.stringify(d, null, 8); 32186 } catch (e2) { 32187 return JSON.stringify(d); 32188 } 32189 }, 32190 searchObjDate: function(d, o) { 32191 (_.check.isObject(d) || _.check.isArray(d)) && _.each(d, function(h, g) { 32192 _.check.isObject(h) || _.check.isArray(h) ? _.searchObjDate(d[g], o) : _.check.isDate(h) && (d[g] = _.formatDate(_.formatTimeZone(h, o))); 32193 }); 32194 }, 32195 check: { 32196 isUndefined: function(d) { 32197 return d === void 0; 32198 }, 32199 isObject: function(d) { 32200 return toString.call(d) === "[object Object]" && d !== null; 32201 }, 32202 isEmptyObject: function(d) { 32203 if (_.check.isObject(d)) { 32204 for (var o in d) if (hasOwnProperty.call(d, o)) return false;
32205 return true; 32206 } 32207 return false; 32208 }, 32209 isArray: function(d) { 32210 return toString.call(d) === "[object Array]"; 32211 }, 32212 isString: function(d) { 32213 return toString.call(d) === "[object String]"; 32214 }, 32215 isDate: function(d) { 32216 return toString.call(d) === "[object Date]"; 32217 }, 32218 isNumber: function(d) { 32219 return toString.call(d) === "[object Number]"; 32220 }, 32221 isBoolean: function(d) { 32222 return toString.call(d) === "[object Boolean]"; 32223 }, 32224 isJSONString: function(d) { 32225 try { 32226 JSON.parse(d); 32227 } catch (e2) { 32228 return false; 32229 } 32230 return true; 32231 }, 32232 isValidString: function(d) { 32233 return d !== null && !this.isUndefined(d) && d.trim() !== ""; 32234 } 32235 } 32236 }, Log = (_.UUID = /* @__PURE__ */ (() => { 32237 function d() { 32238 for (var o = +/* @__PURE__ */ new Date(), h = 0; o === +/* @__PURE__ */ new Date(); ) h++; 32239 return o.toString(16) + h.toString(16); 32240 } 32241 return function() { 32242 var o = (o = String(screen.height * screen.width)) && /\d{5,}/.test(o) ? o.toString(16) : String(31242 * Math.random()).replace(".", "").slice(0, 8), o = d() + "-" + Math.random().toString(16).replace(".", "") + "-" + (() => { 32243 var h, g, b = navigator.userAgent, $ = [], _e = 0; 32244 function et(tt, rt) { 32245 for (var nt = 0, st = 0; st < rt.length; st++) nt |= $[st] << 8 * st; 32246 return tt ^ nt; 32247 } 32248 for (h = 0; h < b.length; h++) g = b.charCodeAt(h), $.unshift(255 & g), 4 <= $.length && (_e = et(_e, $), $ = []); 32249 return (_e = 0 < $.length ? et(_e, $) : _e).toString(16); 32250 })() + "-" + o + "-" + d(); 32251 return o || (String(Math.random()) + String(Math.random()) + String(Math.random())).slice(2, 15); 32252 }; 32253 })(), _.UUIDv4 = function() { 32254 return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(d) { 32255 var o = 16 * Math.random() | 0; 32256 return (d == "x" ? o : 3 & o | 8).toString(16); 32257 }); 32258 }, _.getReferrer = function(d) { 32259 return d = d || document.referrer, typeof d != "string" ? "referrer exception" + String(d) : typeof (d = (d = d.indexOf("https://www.baidu.com/") === 0 ? d.split("?")[0] : d).slice(0, MAX_REFERRER_STRING_LENGTH)) == "string" ? d : ""; 32260 }, _.url = /* @__PURE__ */ (() => { 32261 function d() { 32262 return new RegExp(/(.*?)\.?([^\.]*?)\.(com|net|org|biz|ws|in|me|co\.uk|co|org\.uk|ltd\.uk|plc\.uk|me\.uk|edu|mil|br\.com|cn\.com|eu\.com|hu\.com|no\.com|qc\.com|sa\.com|se\.com|se\.net|us\.com|uy\.com|ac|co\.ac|gv\.ac|or\.ac|ac\.ac|af|am|as|at|ac\.at|co\.at|gv\.at|or\.at|asn\.au|com\.au|edu\.au|org\.au|net\.au|id\.au|be|ac\.be|adm\.br|adv\.br|am\.br|arq\.br|art\.br|bio\.br|cng\.br|cnt\.br|com\.br|ecn\.br|eng\.br|esp\.br|etc\.br|eti\.br|fm\.br|fot\.br|fst\.br|g12\.br|gov\.br|ind\.br|inf\.br|jor\.br|lel\.br|med\.br|mil\.br|net\.br|nom\.br|ntr\.br|odo\.br|org\.br|ppg\.br|pro\.br|psc\.br|psi\.br|rec\.br|slg\.br|tmp\.br|tur\.br|tv\.br|vet\.br|zlg\.br|br|ab\.ca|bc\.ca|mb\.ca|nb\.ca|nf\.ca|ns\.ca|nt\.ca|on\.ca|pe\.ca|qc\.ca|sk\.ca|yk\.ca|ca|cc|ac\.cn|net\.cn|com\.cn|edu\.cn|gov\.cn|org\.cn|bj\.cn|sh\.cn|tj\.cn|cq\.cn|he\.cn|nm\.cn|ln\.cn|jl\.cn|hl\.cn|js\.cn|zj\.cn|ah\.cn|gd\.cn|gx\.cn|hi\.cn|sc\.cn|gz\.cn|yn\.cn|xz\.cn|sn\.cn|gs\.cn|qh\.cn|nx\.cn|xj\.cn|tw\.cn|hk\.cn|mo\.cn|cn|cx|cz|de|dk|fo|com\.ec|tm\.fr|com\.fr|asso\.fr|presse\.fr|fr|gf|gs|co\.il|net\.il|ac\.il|k12\.il|gov\.il|muni\.il|ac\.in|co\.in|org\.in|ernet\.in|gov\.in|net\.in|res\.in|is|it|ac\.jp|co\.jp|go\.jp|or\.jp|ne\.jp|ac\.kr|co\.kr|go\.kr|ne\.kr|nm\.kr|or\.kr|li|lt|lu|asso\.mc|tm\.mc|com\.mm|org\.mm|net\.mm|edu\.mm|gov\.mm|ms|nl|no|nu|pl|ro|org\.ro|store\.ro|tm\.ro|firm\.ro|www\.ro|arts\.ro|rec\.ro|info\.ro|nom\.ro|nt\.ro|se|si|com\.sg|org\.sg|net\.sg|gov\.sg|sk|st|tf|ac\.th|co\.th|go\.th|mi\.th|net\.th|or\.th|tm|to|com\.tr|edu\.tr|gov\.tr|k12\.tr|net\.tr|org\.tr|com\.tw|org\.tw|net\.tw|ac\.uk|uk\.com|uk\.net|gb\.com|gb\.net|vg|sh|kz|ch|info|ua|gov|name|pro|ie|hk|com\.hk|org\.hk|net\.hk|edu\.hk|us|tk|cd|by|ad|lv|eu\.lv|bz|es|jp|cl|ag|mobi|eu|co\.nz|org\.nz|net\.nz|maori\.nz|iwi\.nz|io|la|md|sc|sg|vc|tw|travel|my|se|tv|pt|com\.pt|edu\.pt|asia|fi|com\.ve|net\.ve|fi|org\.ve|web\.ve|info\.ve|co\.ve|tel|im|gr|ru|net\.ru|org\.ru|hr|com\.hr|ly|xyz)$/); 32263 } 32264 function o(g, _e) { 32265 var $ = g.charAt(0), _e = _e.split($); 32266 return $ === g ? _e : _e[(g = parseInt(g.substring(1), 10)) < 0 ? _e.length + g : g - 1]; 32267 } 32268 function h(g, b) { 32269 for (var $, _e = g.charAt(0), et = b.split("&"), tt = [], rt = {}, nt = g.substring(1), st = 0, ot = et.length; st < ot; st++) if ((tt = (tt = et[st].match(/(.*?)=(.*)/)) || [ 32270 et[st], 32271 et[st], 32272 "" 32273 ])[1].replace(/\s/g, "") !== "") {
32274 if (tt[2] = ($ = tt[2] || "", _.decodeURIComponent($.replace(/\+/g, " "))), nt === tt[1]) return tt[2]; 32275 ($ = tt[1].match(/(.*)\[([0-9]+)\]/)) ? (rt[$[1]] = rt[$[1]] || [], rt[$[1]][$[2]] = tt[2]) : rt[tt[1]] = tt[2]; 32276 } 32277 return _e === g ? rt : rt[nt]; 32278 } 32279 return function(g, b) { 32280 var $, _e = {}; 32281 if (g === "tld?") return d(); 32282 if (b = b || window.location.toString(), !g) return b; 32283 if (g = g.toString(), $ = b.match(/^mailto:([^\/].+)/)) _e.protocol = "mailto", _e.email = $[1]; 32284 else { 32285 if (($ = (b = ($ = b.match(/(.*?)\/#\!(.*)/)) ? $[1] + $[2] : b).match(/(.*?)#(.*)/)) && (_e.hash = $[2], b = $[1]), _e.hash && g.match(/^#/)) return h(g, _e.hash); 32286 if (($ = b.match(/(.*?)\?(.*)/)) && (_e.query = $[2], b = $[1]), _e.query && g.match(/^\?/)) return h(g, _e.query); 32287 if (($ = b.match(/(.*?)\:?\/\/(.*)/)) && (_e.protocol = $[1].toLowerCase(), b = $[2]), ($ = b.match(/(.*?)(\/.*)/)) && (_e.path = $[2], b = $[1]), _e.path = (_e.path || "").replace(/^([^\/])/, "/$1").replace(/\/$/, ""), (g = g.match(/^[\-0-9]+$/) ? g.replace(/^([^\/])/, "/$1") : g).match(/^\//)) return o(g, _e.path.substring(1)); 32288 if (($ = ($ = o("/-1", _e.path.substring(1))) && $.match(/(.*?)\.(.*)/)) && (_e.file = $[0], _e.filename = $[1], _e.fileext = $[2]), ($ = b.match(/(.*)\:([0-9]+)$/)) && (_e.port = $[2], b = $[1]), ($ = b.match(/(.*?)@(.*)/)) && (_e.auth = $[1], b = $[2]), _e.auth && ($ = _e.auth.match(/(.*)\:(.*)/), _e.user = $ ? $[1] : _e.auth, _e.pass = $ ? $[2] : void 0), _e.hostname = b.toLowerCase(), g.charAt(0) === ".") return o(g, _e.hostname); 32289 d() && ($ = _e.hostname.match(d())) && (_e.tld = $[3], _e.domain = $[2] ? $[2] + "." + $[3] : void 0, _e.sub = $[1] || void 0), b = _e.port ? ":" + _e.port : "", _e.protocol = _e.protocol || window.location.protocol.replace(":", ""), _e.port = _e.port || (_e.protocol === "https" ? "443" : "80"), _e.protocol = _e.protocol || (_e.port === "443" ? "https" : "http"), _e.basic = _e.protocol + "://" + _e.hostname + b; 32290 } 32291 return g in _e ? _e[g] : g === "{}" ? _e : ""; 32292 }; 32293 })(), _.hashCode = function(d) { 32294 if (typeof d != "string") return 0; 32295 var o = 0; 32296 if (d.length !== 0) for (var h = 0; h < d.length; h++) o = (o << 5) - o + d.charCodeAt(h), o &= o; 32297 return o; 32298 }, _.decodeURIComponent = function(d) { 32299 var o = ""; 32300 try { 32301 o = decodeURIComponent(d); 32302 } catch (e2) { 32303 o = d; 32304 } 32305 return o; 32306 }, _.encodeURIComponent = function(d) { 32307 var o = ""; 32308 try { 32309 o = encodeURIComponent(d); 32310 } catch (e2) { 32311 o = d; 32312 } 32313 return o; 32314 }, _.utf8Encode = function(d) { 32315 for (var o, h = "", g = o = 0, b = (d = (d + "").replace(/\r\n/g, "\n").replace(/\r/g, "\n")).length, $ = 0; $ < b; $++) { 32316 var _e = d.charCodeAt($), et = null; 32317 _e < 128 ? o++ : et = 127 < _e && _e < 2048 ? String.fromCharCode(_e >> 6 | 192, 63 & _e | 128) : String.fromCharCode(_e >> 12 | 224, _e >> 6 & 63 | 128, 63 & _e | 128), et !== null && (g < o && (h += d.substring(g, o)), h += et, g = o = $ + 1); 32318 } 32319 return g < o && (h += d.substring(g, d.length)), h; 32320 }, _.base64Encode = function(d) { 32321 return d = new TextEncoder().encode(d), btoa(String.fromCharCode.apply(String, _toConsumableArray(d))); 32322 }, _.cookie = { 32323 get: function(d) { 32324 for (var o = d + "=", h = document.cookie.split(";"), g = 0; g < h.length; g++) { 32325 for (var b = h[g]; b.charAt(0) === " "; ) b = b.substring(1, b.length); 32326 if (b.indexOf(o) === 0) return _.decodeURIComponent(b.substring(o.length, b.length)); 32327 } 32328 return null; 32329 }, 32330 set: function(d, o, tt, g, b) { 32331 var $ = "", _e = "", et = "", tt = (tt = tt === null ? 73e3 : tt, g && ($ = (g = _.url("domain", location.href)) ? "; domain=." + g : ""), tt && (g = /* @__PURE__ */ new Date(), String(tt).slice(-1) === "s" ? g.setTime(g.getTime() + 1e3 * Number(String(tt).slice(0, -1))) : g.setTime(g.getTime() + 24 * tt * 60 * 60 * 1e3), _e = "; expires=" + g.toGMTString()), b && (et = "; secure"), d + "=" + encodeURIComponent(o) + _e + "; path=/" + $ + et); 32332 return document.cookie = tt; 32333 }, 32334 remove: function(d, o) { 32335 _.cookie.set(d, "", -1, o); 32336 } 32337 }, _.localStorage = { 32338 get: function(d) { 32339 try { 32340 return window.localStorage.getItem(d); 32341 } catch (o) { 32342 _.localStorage.error(o); 32343 } 32344 }, 32345 parse: function(d) { 32346 var o; 32347 try { 32348 o = JSON.parse(_.localStorage.get(d)) || null; 32349 } catch (h) { 32350 _.localStorage.error(h); 32351 } 32352 return o; 32353 }, 32354 set: function(d, o) { 32355 try { 32356 window.localStorage.setItem(d, o); 32357 } catch (h) { 32358 _.localStorage.error(h); 32359 } 32360 }, 32361 remove: function(d) { 32362 try { 32363 window.localStorage.removeItem(d); 32364 } catch (o) { 32365 _.localStorage.error(o); 32366 } 32367 }, 32368 error: function(d) { 32369 console.error("localStorage error: " + d); 32370 }, 32371 isSupported: function() { 32372 var d = true; 32373 try { 32374 var o = "__kurodatasupport__", h = "testIsSupportStorage"; 32375 _.localStorage.set(o, h), _.localStorage.get(o) !== h && (d = false), _.localStorage.remove(o); 32376 } catch (e2) { 32377 d = false;
32378 } 32379 return d; 32380 } 32381 }, _.stripEmptyProperties = function(d) { 32382 var o = {}; 32383 return _.each(d, function(h, g) { 32384 _.check.isString(h) && 0 < h.length && (o[g] = h); 32385 }), o; 32386 }, _.info = { 32387 os: function() { 32388 var d = navigator.userAgent; 32389 return /Windows/i.test(d) ? /Phone/.test(d) || /WPDesktop/.test(d) ? "Windows Phone" : "Windows" : /(iPhone|iPad|iPod)/.test(d) ? "iOS" : /Android/.test(d) ? "Android" : /(BlackBerry|PlayBook|BB10)/i.test(d) ? "BlackBerry" : /Mac/i.test(d) ? "Mac OS X" : /Linux/.test(d) ? "Linux" : /CrOS/.test(d) ? "Chrome OS" : /Harmony/i.test(d) ? "HarmonyOS OS" : ""; 32390 }, 32391 browser: function() { 32392 var d = { 32393 type: "", 32394 version: "" 32395 }; 32396 try { 32397 var o, h, g = navigator.userAgent.toLowerCase(), b = []; 32398 g.match(/baidubrowser/) !== null ? (d.type = "baidu", b.push(/baidubrowser\/([\d.]+)/)) : g.match(/bidubrowser/) !== null ? (d.type = "baidu", b.push(/bidubrowser\/([\d.]+)/)) : g.match(/edga/) !== null ? (d.type = "edge", b.push(/edga\/([\d.]+)/)) : g.match(/edgios/) !== null ? (d.type = "edge", b.push(/edgios\/([\d.]+)/)) : g.match(/liebaofast/) !== null ? (d.type = "liebao", b.push(/liebaofast\/([\d.]+)/)) : g.match(/sogoumobilebrowser/) !== null ? (d.type = "sogou", b.push(/sogoumobilebrowser\/([\d.]+)/)) : g.match(/lbbrowser/) !== null ? (d.type = "liebao", b.push(/lbbrowser\/([\d.]+)/)) : g.match(/crios/) !== null ? (d.type = "chrome", b.push(/crios\/([\d.]+)/)) : g.match(/qihoobrowser/) !== null ? (d.type = "360", b.push(/qihoobrowser\/([\d.]+)/)) : g.match(/mxios/) !== null ? (d.type = "maxthon", b.push(/mxios\/([\d.]+)/)) : g.match(/fxios/) !== null ? (d.type = "firefox", b.push(/fxios\/([\d.\w]+)/)) : g.match(/edge/) !== null ? (d.type = "edge", b.push(/edge\/([\d.]+)/)) : g.match(/metasr/) !== null ? (d.type = "sogou", b.push(/metasr ([\d.]+)/)) : g.match(/micromessenger/) !== null ? (d.type = "micromessenger", b.push(/micromessenger\/([\d.]+)/)) : g.match(/mqqbrowser/) !== null ? (d.type = "qq", b.push(/mqqbrowser\/([\d.]+)/)) : g.match(/qqbrowserlite/) !== null ? (d.type = "qq", b.push(/qqbrowserlite\/([\d.]+)/)) : g.match(/tencenttraveler/) !== null ? (d.type = "qq", b.push(/tencenttraveler\/([\d.]+)/)) : g.match(/qqbrowser/) !== null ? (d.type = "qq", b.push(/qqbrowser\/([\d.]+)/)) : g.match(/maxthon/) !== null ? (d.type = "maxthon", b.push(/maxthon\/([\d.]+)/)) : g.match(/ubrowser/) !== null ? (d.type = "uc", b.push(/ubrowser\/([\d.]+)/)) : g.match(/ucbrowser/) !== null ? (d.type = "uc", b.push(/ucbrowser\/([\d.]+)/)) : g.match(/firefox/) !== null ? (d.type = "firefox", b.push(/firefox\/([\d.]+)/)) : g.match(/opera/) !== null ? (d.type = "opera", b.push(/opera\/([\d.]+)/)) : g.match(/opr/) !== null ? (d.type = "opera", b.push(/opr\/([\d.]+)/)) : g.match(/chrome/) !== null ? (d.type = "chrome", b.push(/chrome\/([\d.]+)/)) : g.match(/safari/) !== null ? (d.type = "safari", b.push(/version\/([\d.]+)/)) : g.match(/trident/) === null && g.match(/msie/) === null || (d.type = "ie"), d.type === "ie" ? (o = g.match(/trident\/([\d.]+)/) ? g.match(/trident\/([\d.]+)/)[1] : "", h = g.match(/msie ([\d.]+)/) ? g.match(/msie ([\d.]+)/)[1] : "", o !== "" ? d.version = String(parseInt(o) + 4) : h !== "" && (d.version = h)) : b && (d.version = g.match(b[0]) ? g.match(b[0])[1] : ""); 32399 } catch ($) { 32400 Log.w("getting browser info failed due to ", $); 32401 } 32402 return d; 32403 }, 32404 properties: function(d) { 32405 var o, h = _.info.browser(); 32406 return _.check.isArray(d) && 0 < d.length ? (o = {}, d.includes("#os") || (o["#os"] = _.info.os()), d.includes("#lib_version") || (o["#lib_version"] = Config.LIB_VERSION), d.includes("#lib") || (o["#lib"] = "js"), d.includes("#screen_height") || (
32406o["#screen_height"] = screen.height), d.includes("#screen_width") || (o["#screen_width"] = screen.width), d.includes("#browser") || (o["#browser"] = h.type), d.includes("#browser_version") || (o["#browser_version"] = h.version), d.includes("#system_language") || (o["#system_language"] = _.check.isString(navigator.language) ? navigator.language : "Value exception"), d.includes("#ua") || (o["#ua"] = _.check.isString(navigator.userAgent) ? navigator.userAgent.toLowerCase() : "Value exception"), d.includes("#utm") || (o["#utm"] = _.getUtm()), o) : _.extend({ 32407 "#os": _.info.os(), 32408 "#lib_version": Config.LIB_VERSION, 32409 "#lib": "js", 32410 "#screen_height": screen.height, 32411 "#screen_width": screen.width, 32412 "#browser": h.type, 32413 "#browser_version": h.version, 32414 "#system_language": _.check.isString(navigator.language) ? navigator.language : "Value exception", 32415 "#ua": _.check.isString(navigator.userAgent) ? navigator.userAgent.toLowerCase() : "Value exception", 32416 "#utm": _.getUtm() 32417 }); 32418 }, 32419 pageProperties: function(d) { 32420 var o, h = _.getReferrer(); 32421 return _.check.isArray(d) && 0 < d.length ? (o = {}, d.includes("#referrer") || (o["#referrer"] = h), d.includes("#referrer_host") || (o["#referrer_host"] = h && _.url("hostname", h)), d.includes("#url") || (o["#url"] = location.href), d.includes("#url_path") || (o["#url_path"] = location.pathname), d.includes("#title") || (o["#title"] = document.title), o) : _.stripEmptyProperties({ 32422 "#referrer": h, 32423 "#referrer_host": h && _.url("hostname", h), 32424 "#url": location.href, 32425 "#url_path": location.pathname, 32426 "#title": document.title 32427 }); 32428 } 32429 }, _.isDisableProperties = function(d, o) { 32430 return !!_.check.isArray(d) && d.includes(o); 32431 }, _.getUtm = function() { 32432 var d = {}; 32433 return _.each(utmTypes, function(o) { 32434 var h = _.getQueryParam(location.href, o); 32435 h.length && (d[o] = h); 32436 }), JSON.stringify(d); 32437 }, _.getQueryParam = function(d, o) { 32438 return o = o.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"), d = _.decodeURIComponent(d), o = new RegExp("[\\?&]" + o + "=([^&#]*)").exec(d), o === null || o && typeof o[1] != "string" && o[1].length ? "" : _.decodeURIComponent(o[1]); 32439 }, _.createString = function(d) { 32440 for (var o = d, h = Math.random().toString(36).substr(2); h.length < o; ) h += Math.random().toString(36).substr(2); 32441 return h = h.substr(0, d); 32442 }, _.createAesKey = function() { 32443 return _.createString(16); 32444 }, _.generateEncryptyData = function(d, o) { 32445 if (o !== void 0) { 32446 var h = o.publicKey, o = o.version; 32447 if (h !== void 0 && o !== void 0 && typeof CryptoJS < "u" && typeof JSEncrypt < "u") { 32448 var g = _.createAesKey(); 32449 try { 32450 var b = CryptoJS.enc.Utf8.parse(g), $ = CryptoJS.enc.Utf8.parse(JSON.stringify(d)), _e = CryptoJS.AES.encrypt($, b, { 32451 mode: CryptoJS.mode.ECB, 32452 padding: CryptoJS.pad.Pkcs7 32453 }).toString(), et = new JSEncrypt(), tt = (et.setPublicKey(h), et.encrypt(g)); 32454 return tt === false ? (Log.w("encryption failed"), d) : { 32455 pkv: o, 32456 ekey: tt, 32457 payload: _e 32458 }; 32459 } catch (e2) { 32460 Log.w("encryption failed"); 32461 } 32462 } 32463 } 32464 return d; 32465 }, _.paramType = function(d) { 32466 return Object.prototype.toString.call(d).replace("[object ", "").replace("]", ""); 32467 }, _.addEvent = function(d, o, h, g) { 32468 if (document.addEventListener) if (this.paramType(d) !== "Array" && this.paramType(d) !== "HTMLCollection" || !d.length || d === window) d.addEventListener(o, h, g); 32469 else for (var b = 0; b < d.length; b++) this.addEvent(d[b], o, h, g); 32470 else if (d.length && d !== window) for (var $ = 0; $ < d.length; $++) this.addEvent(d[$], o, h); 32471 else d.attachEvent("on" + o, function() {
32472 return h.call(d, window.event); 32473 }); 32474 }, _.getRandom = function() { 32475 return (/* @__PURE__ */ new Date()).getTime() + "_" + Math.floor(1e6 * Math.random()); 32476 }, _.safeJSONParse = function(d) { 32477 var o = null; 32478 try { 32479 o = JSON.parse(d); 32480 } catch (e2) { 32481 return d; 32482 } 32483 return o; 32484 }, _.saveObjectVal = function(d, o) { 32485 _.check.isString(o) || (o = JSON.stringify(o)), _.localStorage.set(d, o); 32486 }, _.readObjectVal = function(d) { 32487 return d = _.localStorage.get(d), d ? _.safeJSONParse(d) : null; 32488 }, _.indexOf = function(d, o) { 32489 var h = d.indexOf; 32490 if (h) return h.call(d, o); 32491 for (var g = 0; g < d.length; g++) if (o === d[g]) return g; 32492 return -1; 32493 }, _.hasEncrypty = function(d) { 32494 return !!_.check.isObject() && d.pkv !== "undefined" && d.ekey !== "undefined" && d.payload !== "undefined"; 32495 }, _.addSiteEvent = function(d, o, h, g) { 32496 function b(_e) { 32497 return _e && (_e.preventDefault = b.preventDefault, _e.stopPropagation = b.stopPropagation, _e._getPath = b._getPath), _e; 32498 } 32499 b._getPath = function() { 32500 var _e; 32501 return this.path || this.composedPath && this.composedPath() || (_e = this.target, new $(_e).getParents()); 32502 }; 32503 var $ = function(_e) { 32504 this.ele = _e; 32505 }; 32506 b.preventDefault = function() { 32507 this.returnValue = false; 32508 }, b.stopPropagation = function() { 32509 this.cancelBubble = true; 32510 }, (function(_e, et, tt) { 32511 var rt, nt, st, ot, it, at; 32512 g === void 0 && et === "click" && (g = true), _e && _e.addEventListener ? _e.addEventListener(et, function(lt) { 32513 lt._getPath = b._getPath, tt.call(this, lt); 32514 }, g) : (nt = _e[rt = "on" + et], _e[rt] = (st = _e, ot = tt, it = nt, at = et, function(lt) { 32515 var ct, ut; 32516 if (lt = lt || b(window.event)) return lt.target = lt.srcElement, ct = true, typeof it == "function" && (ut = it(lt)), lt = ot.call(st, lt), at !== "beforeunload" ? ut !== false && lt !== false && ct : void 0; 32517 })); 32518 }).apply(null, arguments); 32519 }, _.getURLSearchParams = function(d) { 32520 for (var o = {}, h = (d = d || "").substring(1).split("&"), g = 0; g < h.length; g++) { 32521 var b, $ = h[g].indexOf("="); 32522 $ !== -1 && (b = h[g].substring(0, $), $ = h[g].substring($ + 1), b = _.decodeURIComponent(b), $ = _.decodeURIComponent($), o[b] = $); 32523 } 32524 return o; 32525 }, _.urlParse = function(d) { 32526 function o(h) { 32527 this._fields = { 32528 Username: 4, 32529 Password: 5, 32530 Port: 7, 32531 Protocol: 2, 32532 Host: 6, 32533 Path: 8, 32534 URL: 0, 32535 QueryString: 9, 32536 Fragment: 10 32537 }, this._values = {}, this._regex = /^((\w+):\/\/)?((\w+):?(\w+)?@)?([^\/\?:]+):?(\d+)?(\/?[^\?#]+)?\??([^#]+)?#?(\w*)/, h !== void 0 && this._parse(h); 32538 } 32539 return o.prototype.setUrl = function(h) { 32540 this._parse(h); 32541 }, o.prototype._initValues = function() { 32542 for (var h in this._fields) this._values[h] = ""; 32543 }, o.prototype.addQueryString = function(h) { 32544 if (_typeof(h) !== "object") return false; 32545 var g, b = this._values.QueryString || ""; 32546 for (g in h) b = new RegExp(g + "[^&]+").test(b) ? b.replace(new RegExp(g + "[^&]+"), g + "=" + h[g]) : b.slice(-1) === "&" ? b + g + "=" + h[g] : b === "" ? g + "=" + h[g] : b + "&" + g + "=" + h[g]; 32547 this._values.QueryString = b; 32548 }, o.prototype.getUrl = function() { 32549 var h = ""; 32550 return (h += this._values.Origin) + (this._values.Port ? ":" + this._values.Port : "") + this._values.Path + (this._values.QueryString ? "?" + this._values.QueryString : "") + (this._values.Fragment ? "#" + this._values.Fragment : ""); 32551 }, o.prototype._parse = function($) { 32552 this._initValues(), this._regex.exec($) || Log.i("URLParser::_parse -> Invalid URL"); 32553 var g, $ = $.split("#"), b = $[0], $ = $.slice(1).join("#"), _e = this._regex.exec(b); 32554 for (g in this._fields) _e[this._fields[g]] !== void 0 && (this._values[g] = _e[this._fields[g]]); 32555 this._values.Hostname = this._values.Host.replace(/:\d+$/, ""), this._values.Origin = this._values.Protocol + "://" + this._values.Hostname, this._values.Fragment = $; 32556 }, new o(d); 32557 }, _.trim = function(d) { 32558 return d.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); 32559 }, _.URL = function(d) { 32560 var o, h, g = {}; 32561 if (typeof window.URL == "function" && (() => { 32562 try { 32563 return new URL("http://modernizr.com/").href === "http://modernizr.com/"; 32564 } catch (e2) { 32565 return false;
32566 } 32567 })()) (g = new URL(d)).searchParams || (g.searchParams = (h = _.getURLSearchParams(g.search), { 32568 get: function(b) { 32569 return h[b]; 32570 } 32571 })); 32572 else { 32573 if (_.check.isString(d) || (d = String(d)), d = _.trim(d), /^https?:\/\/.+/.test(d) === false) return void Log.w("Invalid URL"); 32574 d = _.urlParse(d), g.hash = d._values.Fragment, g.host = d._values.Host ? d._values.Host + (d._values.Port ? ":" + d._values.Port : "") : "", g.href = d._values.URL, g.password = d._values.Password, g.pathname = d._values.Path, g.port = d._values.Port, g.search = d._values.QueryString ? "?" + d._values.QueryString : "", g.username = d._values.Username, g.hostname = d._values.Hostname, g.protocol = d._values.Protocol ? d._values.Protocol + ":" : "", g.origin = d._values.Origin ? d._values.Origin + (d._values.Port ? ":" + d._values.Port : "") : "", g.searchParams = (o = _.getURLSearchParams("?" + d._values.QueryString), { 32575 get: function(b) { 32576 return o[b]; 32577 } 32578 }); 32579 } 32580 return g; 32581 }, _.isFunction = function(d) { 32582 return !!d && ((d = Object.prototype.toString.call(d)) === "[object Function]" || d === "[object AsyncFunction]"); 32583 }, _.isDebug = function(d) { 32584 return d === "debug" || d === "debug_only"; 32585 }, _.isDebugOnly = function(d) { 32586 return d === "debug_only"; 32587 }, _.getCurrentTimeStamp = function() { 32588 return Date.now(); 32589 }, _.getCurrentDate = function() { 32590 return new Date(Date.now()); 32591 }, (() => { 32592 function d() { 32593 _classCallCheck(this, d); 32594 } 32595 return _createClass(d, null, [ 32596 { 32597 key: "i", 32598 value: function() { 32599 if (!this.showLog) return false; 32600 if (this.showLog !== true && this.showLog !== "string" || (arguments[0] = _.formatJsonString(arguments[0])), (typeof console > "u" ? "undefined" : _typeof(console)) === "object" && console.log) try { 32601 return d.listener && d.listener(arguments[0]), console.log.apply(console, arguments); 32602 } catch (e2) { 32603 d.listener && d.listener(arguments[0]), console.log(arguments[0]); 32604 } 32605 } 32606 }, 32607 { 32608 key: "w", 32609 value: function() { 32610 if (!this.showLog) return false; 32611 if (this.showLog !== true && this.showLog !== "string" || (arguments[0] = _.formatJsonString(arguments[0])), (typeof console > "u" ? "undefined" : _typeof(console)) === "object" && console.warn) try { 32612 return console.warn.apply(console, arguments); 32613 } catch (e2) { 32614 console.warn(arguments[0]); 32615 } 32616 } 32617 }, 32618 { 32619 key: "e", 32620 value: function() { 32621 if (!this.showLog) return false; 32622 if (this.showLog !== true && this.showLog !== "string" || (arguments[0] = _.formatJsonString(arguments[0])), (typeof console > "u" ? "undefined" : _typeof(console)) === "object" && console.error) try { 32623 return console.error.apply(console, arguments); 32624 } catch (e2) { 32625 console.error(arguments[0]); 32626 } 32627 } 32628 } 32629 ]); 32630 })()); 32631 function legacyConfig(d, o) { 32632 if (d.useLegacyConfig === false) return o; 32633 try { 32634 var h, g = _.localStorage.get(d.legacyStorageKey || "ThinkingDataJSSDK_cross"); 32635 return g && (h = JSON.parse(g)).device_id && _.check.isString(h.device_id) && (o.uuid = h.device_id), o; 32636 } catch (b) { 32637 return Log.w(b), o; 32638 } 32639 } 32640 var KEY_NAME_MATCH_REGEX = /^[a-zA-Z][a-zA-Z0-9_]{0,49}$/, PropertyChecker = _createClass(function d() { 32641 _classCallCheck(this, d); 32642 }, null, [ 32643 { 32644 key: "stripProperties", 32645 value: function(d) { 32646 return _.check.isObject(d) && _.each(d, function(o, h) { 32647 _.check.isString(o) || _.check.isNumber(o) || _.check.isDate(o) || _.check.isBoolean(o) || _.check.isArray(o) || _.check.isObject(o) || Log.w("The format of Data-", h, o, " does not meet the requirements and may not be stored correctly. The attribute value only supports String, Number, Date, Boolean, Array\uFF0CObject"); 32648 }), d; 32649 } 32650 }, 32651 { 32652 key: "_checkPropertiesKey", 32653 value: function(d) { 32654 var o = true; 32655 return _.each(d, function(h, g) { 32656 KEY_NAME_MATCH_REGEX.test(g) || (Log.w("invalid key: " + g), o = false); 32657 }), o; 32658 } 32659 }, 32660 { 32661 key: "event", 32662 value: function(d) { 32663 return !(!_.check.isString(d) || !KEY_NAME_MATCH_REGEX.test(d)) || (Log.w("Please check the parameter format, eventName must be an English letter or a string starting with '_', containing letters and numbers with no more than 50 characters: " + d), false); 32664 } 32665 }, 32666 { 32667 key: "propertyName", 32668 value: function(d) { 32669 return !(!_.check.isString(d) || !KEY_NAME_MATCH_REGEX.test(d)) || (Log.w("Please check the parameter format, propertyName must be an English letter or a string starting with '_', containing letters and numbers with no more than 50 characters: " + d), false); 32670 } 32671 }, 32672 { 32673 key: "properties", 32674 value: function(d) { 32675 return this.stripProperties(d), !d || !(!_.check.isObject(d) || !this._checkPropertiesKey(d) && (Log.w("Please check the parameter format, the key of properties can only start with a letter, contain numbers, letters and underscores _, and the maximum length is 50 characters"), 1)); 32676 } 32677 }, 32678 { 32679 key: "propertiesMust", 32680 value: function(d) { 32681 return this.stripProperties(d), d === void 0 || !_.check.isObject(d) || _.check.isEmptyObject(d) ? (Log.w("properties must be objects and have values"), false) : !!this._checkPropertiesKey(d) || (Log.w("Please check the parameter format, the key of properties can only start with a letter, contain numbers, letters and underscores _, and the maximum length is 50 characters"), false); 32682 } 32683 }, 32684 { 32685 key: "userId", 32686 value: function(d) { 32687 return !(!_.check.isString(d) || !/^.{1,63}$/.test(d)) || (Log.w("User id must be a string that cannot be empty and is less than 64 bits"), false); 32688 } 32689 }
32690 ]), MASTER_INSTANCE_NAME = "kurodata", DEFAULT_CONFIG = { 32691 _name: MASTER_INSTANCE_NAME, 32692 appId: "", 32693 send_method: "image", 32694 persistence: "localStorage", 32695 persistencePrefix: "KuroDataJSSDK", 32696 persistenceEnabled: true, 32697 crossSubDomain: true, 32698 maxReferrerStringLength: 200, 32699 showLog: true, 32700 dataSendTimeout: 3e3, 32701 useAppTrack: false, 32702 strict: false, 32703 tryCount: 3, 32704 enableCalibrationTime: false, 32705 imgUseCrossorigin: false, 32706 disablePresetProperties: [], 32707 disableEventList: [] 32708 }, KuroDataPersistence = function(d) { 32709 this._state = {}, this.crossSubDomain = d.crossSubDomain, this.enabled = d.persistenceEnabled; 32710 var o, h = null; 32711 this.enabled && (d.crossSubDomain === false ? (o = _.url("sub", location.href), this.name = typeof o == "string" && o !== "" ? d.persistencePrefix + "_" + o : d.persistencePrefix + "_root") : this.name = d.persistencePrefix + "_cross", (o = d.persistence) !== "cookie" && o !== "localStorage" && (Log.i("Unknown persistence type " + o + "; falling back to cookie"), o = d.persistence = "cookie"), o === "localStorage" && _.localStorage.isSupported() ? (this.storage = _.localStorage, (h = _.cookie.get(this.name)) && _.cookie.remove(this.name, this.crossSubDomain)) : (Log.i("localStorage is not support by the browser; falling back to cookie"), this.storage = _.cookie)), this._load(h), this.getDistinctId() || (o = d.uuid || _.UUID(), this._setDeviceId(o), this.setDistinctId(o)); 32712 }, KDAnalytics = (KuroDataPersistence.prototype._load = function(d) { 32713 var o; 32714 this.enabled && ((o = d !== null ? d : this.storage.get(this.name)) !== null && _.check.isJSONString(o) && (this._state = _.extend({}, JSON.parse(o))), d !== null) && this._save(); 32715 }, KuroDataPersistence.prototype.getDistinctId = function() { 32716 return this._state.distinct_id; 32717 }, KuroDataPersistence.prototype.setDistinctId = function(d) { 32718 this._set("distinct_id", d); 32719 }, KuroDataPersistence.prototype.setEnableTracking = function(d) { 32720 this._set("enable_tracking", d); 32721 }, KuroDataPersistence.prototype.getEnableTracking = function() { 32722 return !!_.check.isUndefined(this._state.enable_tracking) || this._state.enable_tracking; 32723 }, KuroDataPersistence.prototype.clear = function() { 32724 this._state = {}, this._save(); 32725 }, KuroDataPersistence.prototype.setOptTracking = function(d) { 32726 this._set("opt_tracking", d); 32727 }, KuroDataPersistence.prototype.getOptTracking = function() { 32728 return !!_.check.isUndefined(this._state.opt_tracking) || this._state.opt_tracking; 32729 }, KuroDataPersistence.prototype.setDistinctId = function(d) { 32730 _.check.isValidString(d) && this._set("distinct_id", d); 32731 }, KuroDataPersistence.prototype.getAccountId = function() { 32732 return this._state.account_id; 32733 }, KuroDataPersistence.prototype.setAccountId = function(d) { 32734 this._set("account_id", d); 32735 }, KuroDataPersistence.prototype.getDeviceId = function() { 32736 return this._state.device_id; 32737 }, KuroDataPersistence.prototype.setSuperProperties = function(d) { 32738 this._set("super_properties", d); 32739 }, KuroDataPersistence.prototype.getSuperProperties = function() { 32740 return this._state.super_properties || {}; 32741 }, KuroDataPersistence.prototype.setEventTimer = function(d, o) { 32742 var h = this._state.event_timers || {}; 32743 h[d] = o, this._set("event_timers", h); 32744 }, KuroDataPersistence.prototype.clearEventTimer = function() { 32745 this._set("event_timers", {}); 32746 }, KuroDataPersistence.prototype.removeEventTimer = function(d) { 32747 var o = (this._state.event_timers || {})[d]; 32748 return _.check.isUndefined(o) || (delete this._state.event_timers[d], this._save()), o; 32749 }, KuroDataPersistence.prototype._setDeviceId = function(d) { 32750 this._state.device_id ? Log.w("Current device_id is ", this.getDeviceId(), ", it couldn't been set to: ", d) : this._set("device_id", d); 32751 }, KuroDataPersistence.prototype._save = function() { 32752 this.enabled && this.storage.set(this.name, JSON.stringify(this._state), 73e3, this.crossSubDomain); 32753 }, KuroDataPersistence.prototype._set = function(d, o) { 32754 this._state = this._state || {}, this._state[d] = o, this._save(); 32755 }, function() { 32756 window.addEventListener("message", function(d) { 32757 d.data === "__ka_init_port__" && d.ports[0] !== null && (window.kaHarmonyPort = d.ports[0]); 32758 }); 32759 }), tabStoragePrefix = (KDAnalytics.prototype.trackLink = function(d, o, h) { 32760 var g, b, $ = this; 32761 this._isCollectData() && (g = this._getConfig("strict"), !PropertyChecker.properties(h) && g ? Log.w("trackLink failed due to invali
32761d properties.") : d && _.check.isObject(d) && (b = [], _.each(d, function(_e, et) { 32762 _e && _.check.isArray(_e) && _.each(_e, function(tt) { 32763 switch (et) { 32764 case "tag": 32765 _.each(document.getElementsByTagName(tt), function(nt) { 32766 b.indexOf(nt) < 0 && b.push(nt); 32767 }); 32768 break; 32769 case "class": 32770 _.each(document.getElementsByClassName(tt), function(nt) { 32771 b.indexOf(nt) < 0 && b.push(nt); 32772 }); 32773 break; 32774 case "id": 32775 var rt = document.getElementById(tt); 32776 rt !== null && b.indexOf(rt) < 0 && b.push(rt); 32777 } 32778 }); 32779 }), _.each(b, function(_e) { 32780 var et, tt; 32781 _e !== null && (et = $._getConfig("disablePresetProperties"), tt = _.extend({}, _.info.pageProperties(et), h), _.isDisableProperties(et, "#element_type") || (tt["#element_type"] = _e.nodeName.toLowerCase()), _.check.isUndefined(tt.name) && (tt.name = _e.getAttribute("td-name") || _e.innerHTML || _e.value || "Unable to get Identify"), _e.addEventListener("click", function() { 32782 $._sendRequest({ 32783 type: "track", 32784 event: o, 32785 properties: g ? PropertyChecker.stripProperties(tt) : tt 32786 }); 32787 })); 32788 }))); 32789 }, KDAnalytics.prototype.setPageProperty = function(d) { 32790 this._isCollectData() && (PropertyChecker.properties(d) || !this._getConfig("strict") ? _.extend(this.currentProps, d) : Log.w("Page property setting error")); 32791 }, KDAnalytics.prototype.getPageProperty = function() { 32792 return this.currentProps; 32793 }, KDAnalytics.prototype.getPresetProperties = function() { 32794 var o = _.info.properties(this._getConfig("disablePresetProperties")), d = {}, o = (o["#os"] && (d.os = o["#os"]), o["#screen_width"] && (d.screenWidth = o["#screen_width"]), o["#screen_height"] && (d.screenHeight = o["#screen_height"]), o["#browser"] && (d.browser = o["#browser"]), o["#browser_version"] && (d.browserVersion = o["#browser_version"]), d.deviceId = this.getDeviceId(), 0 - _.getCurrentDate().getTimezoneOffset() / 60); 32795 return this._getConfig("zoneOffset") && (o = this._getConfig("zoneOffset")), d.zoneOffset = o, d.toEventPresetProperties = function() { 32796 return { 32797 "#os": d.os, 32798 "#screen_width": d.screenWidth, 32799 "#screen_height": d.screenHeight, 32800 "#browser": d.browser, 32801 "#browser_version": d.browserVersion, 32802 "#device_id": d.deviceId, 32803 "#zone_offset": d.zoneOffset 32804 }; 32805 }, d; 32806 }, KDAnalytics.prototype.login = function(d) { 32807 this._isCollectData() && (typeof d == "number" && (d = String(d)), PropertyChecker.userId(d) || !this._getConfig("strict") ? d !== this.persistence.getAccountId() && (this.persistence.setAccountId(d), Log.i("[KuroData] Info: Login SDK, AccountId = " + d), this.notifyAllObserver("onAccountChanged", { 32808 accountId: d, 32809 distinctId: this.getDistinctId() 32810 })) : Log.e("The parameters of the login API must be strings")); 32811 }, KDAnalytics.prototype.logout = function(d) { 32812 this._isCollectData() && (d === true && (d = _.UUID(), this.persistence.setDistinctId(d)), this.persistence.setAccountId(""), Log.i("[KuroData] Info: Logout SDK"), this.notifyAllObserver("onAccountChanged", { 32813 accountId: "", 32814 distinctId: this.getDistinctId() 32815 })); 32816 }, KDAnalytics.prototype.userSet = function(d, o) { 32817 !this._isCollectData() || !PropertyChecker.propertiesMust(d) && this._getConfig("strict") || this._sendRequest({ 32818 type: "user_set", 32819 properties: d 32820 }, o); 32821 }, KDAnalytics.prototype.userSetOnce = function(d, o) { 32822 !this._isCollectData() || !PropertyChecker.propertiesMust(d) && this._getConfig("strict") || this._sendRequest({ 32823 type: "user_setOnce", 32824 properties: d 32825 }, o); 32826 }, KDAnalytics.prototype.userUnset = function(d, o) { 32827 var h; 32828 !this._isCollectData() || !PropertyChecker.propertyName(d) && this._getConfig("strict") || ((h = {})[d] = 0, this._sendRequest({ 32829 type: "user_unset", 32830 properties: h 32831 }, o)); 32832 }, KDAnalytics.prototype.userAdd = function(d, o) { 32833 var h; 32834 this._isCollectData() && (_.check.isString(d) && (h = d, (d = {})[h] = 1), PropertyChecker.propertiesMust(d)) && (((g) => { 32835 for (var b in g) if (!/-*\d+/.test(String(g[b]))) return; 32836 return 1; 32837 })(d) || !this._getConfig("strict") ? this._sendRequest({ 32838 type: "user_add", 32839 properties: d 32840 }, o) : Log.w("The property value of useradd api must be a number")); 32841 }, KDAnalytics.prototype.userAppend = function(d, o) { 32842 this._isCollectData() && (PropertyChecker.propertiesMust(d) && ((h) => { 32843 for (var g in h) if (!_.check.isArray(h[g])) return; 32844 return 1; 32845 })(d) || !this._getConfig("strict") ? this._sendRequest({ 32846 type: "user_append", 32847 properties: d 32848 }, o) : Log.w("The value in the userAppend property can only be Array")); 32849 }, KDAnalytics.prototype.userUniqAppend = function(d, o) { 32850 this._isCollectData() && (PropertyChecker.propertiesMust(d) && ((h) => { 32851 for (var g in h) if (!_.check.isArray(h[g])) return; 32852 return 1; 32853 })(d) || !this._getConfig("strict") ? this._sendRequest({ 32854 type: "user_uniq_append", 32855 properties: d 32856 }, o) : Log.w("The value in the userUniqAppend property can only be Array")); 32857 }, KDAnalytics.prototype.flush = function() { 32858 this.batchConsumer && !this._isDebug() && this.batchConsumer.flush(); 32859 }, KDAnalytics.prototype.userDel = function(d) { 32860 this.userDelete(d); 32861 }, KDAnalytics.prototype.userDelete = function(d) { 32862 this._isCollectData() && this._sendRequest({ 32863 type: "user_del" 32864 }, d); 32865 }, KDAnalytics.prototype.setLogPrintListener = function(d) { 32866 Log.listener = d; 32867 }, KDAnalytics.prototype._sendRequest = function(d, o, h) { 32868 var g, b, $ = _.check.isUndefined(d.time) || !_.check.isDate(d.time) ? _.getCurrentDate() : d.time, _e = { 32869 data: [ 32870 { 32871 "#type": d.type, 32872 "#time": _.formatDate(_.formatTimeZone($, this._getConfig("zoneOffset"))), 32873 "#distinct_id": this.persistence.getDistinctId() 32874 } 32875 ] 32876 }; 32877 this.persistence.getAccountId() && (_e.data[0]["#account_id"] = this.persistence.getAccountId()), d.type === "track" || d.type === "track_update" || d.type === "track_overwrite" ? (_e.data[0]["#event_name"] = d.event, d.type === "track_update" || d.type === "track_overwrite" ? _e.data[0]["#event_id"] = d.extraId : d.firstCheckId && (_e.data[0]["#first_check_id"] = d.firstCheckId), $ = 0 - $.getTimezoneOffset() / 60, this._getConfig("zoneOffset") !== void 0 && ($ = this._getConfig("zoneOffset")), _e.data[0].properties = _.extend({}, { 32878 "#device_id": this.persistence.getDeviceId(), 32879 "#zone_offset": $ 32880 }
32880, _.info.properties(this._getConfig("disablePresetProperties")), this.getSuperProperties(), this.dynamicProperties ? this.dynamicProperties() : {}, this.getPageProperty()), $ = this.persistence.removeEventTimer(d.event), _.check.isUndefined($) || ($ = _.getCurrentTimeStamp() - $, $ = parseFloat(($ / 1e3).toFixed(3)), _e.data[0].properties["#duration"] = $ = 86400 < $ ? 86400 : $)) : _e.data[0].properties = {}, _.check.isObject(d.properties) && !_.check.isEmptyObject(d.properties) && _.extend(_e.data[0].properties, d.properties), _.searchObjDate(_e.data[0], this._getConfig("zoneOffset")), this._getConfig("send_method") === "ajax" && (_e.data[0] = _.generateEncryptyData(_e.data[0], this._getConfig("secretKey"))), _e["#app_id"] = this._getConfig("appId"), _e["#flush_time"] = _.formatTimeZone(_.getCurrentDate(), this._getConfig("zoneOffset")).getTime(), this.notifyAllObserver("onDataEnqueue", { 32881 appId: this._getConfig("appId"), 32882 event: _e.data[0] 32883 }), Log.i("[KuroData] Info: Enqueue data : "), Log.i(_e), this._getConfig("useAppTrack") && Log.w("[KuroData] Info: Not support useAppTrack"), h && (_e.data[0]["#uuid"] = _.UUIDv4()), !this.batchConsumer || this._isDebug() || _.isDebug(d.debugMode) || h ? (this._isDebug() || _.isDebug(d.debugMode) ? (g = "&data=" + _.encodeURIComponent(JSON.stringify(_e.data[0])) + "&source=client&deviceId=" + this.getDeviceId() + "&appid=" + this._getConfig("appI
32883d") + "&version=" + Config.LIB_VERSION, this._getConfig("mode") !== "debug_only" && !_.isDebugOnly(d.debugMode) || (g += "&dryRun=1")) : (_e = JSON.stringify(_e), $ = _.base64Encode(_e), b = "crc=" + _.hashCode($), g = "&data=" + _.encodeURIComponent($) + "&ext=" + _.encodeURIComponent(b) + "&version=" + Config.LIB_VERSION), this.config.xDataAppId && (g = g + "&X-Data-Appid=" + this.config.xDataAppId), h && (typeof navigator > "u" ? "undefined" : _typeof(navigator)) !== void 0 && navigator.sendBeacon ? ($ = new FormData(), this._isDebug() ? ($.append("data", JSON.stringify(_e.data[0])), $.append("source", "client"), $.append("deviceId", this.getDeviceId()), $.append("appid", this._getConfig("appId")), $.append("version", Config.LIB_VERSION), this._getConfig("mode") === "debug_only" && $.append("dryRun", 1)) : $.append("data", _.base64Encode(_e)), navigator.sendBeacon(this._getConfig("serverUrl"), $)) : (b = this._getConfig("serverUrl"), _.isDebug(d.debugMode) && (b = this._getConfig("originalUrl") + "/data_debug"), this._getConfig("send_method") === "ajax" ? new AjaxTask(g, b, this._getConfig("tryCount"), o, null, this._isDebug(), this._getConfig("dataSendTimeout")).run() : this._sendRequestWithImage(b, g, o))) : this.batchConsumer.add(_e.data[0]); 32884 }, "kab_"), storagePrefix = "ka_jssdk_"; 32885 function BatchConsumer(d) { 32886 this.config = d, this.timer = null, this.batchConfig = _.extend({ 32887 size: 6, 32888 interval: 6e3, 32889 maxLimit: 500 32890 }, this.config.batch), this.batchConfig.size < 1 && (this.batchConfig.size = 1), 30 < this.batchConfig.size && (this.batchConfig.size = 30), this.maxLimit = this.batchConfig.maxLimit, this.batchList = [], this.storageKey = storagePrefix + this.config.appId; 32891 try { 32892 var o = JSON.parse(_.localStorage.get(this.storageKey)); 32893 _.check.isArray(o) && (this.batchList = o); 32894 var h = this.config.persistencePrefix + tabStoragePrefix + this.config.appId, g = JSON.parse(_.localStorage.get(h)); 32895 if (_.check.isArray(g)) { 32896 for (var b = 0; b < g.length; b++) { 32897 var $ = JSON.parse(_.localStorage.get(g[b])); 32898 console.log($), this.batchList.push($), _.localStorage.remove(g[b]); 32899 } 32900 _.localStorage.remove(h); 32901 } 32902 } catch (_e) { 32903 Log.e(_e); 32904 } 32905 this.dataHasChange = false, this.dataSendTimeStamp = 0; 32906 } 32907 BatchConsumer.prototype = { 32908 batchInterval: function() { 32909 this.loopWrite(), this.loopSend(); 32910 }, 32911 loopWrite: function() { 32912 var d = this; 32913 setTimeout(function() { 32914 d.batchWrite(), d.loopWrite(); 32915 }, 500); 32916 }, 32917 batchWrite: function() { 32918 this.dataHasChange && (this.dataHasChange = false, _.localStorage.set(this.storageKey, JSON.stringify(this.batchList))); 32919 }, 32920 loopSend: function() { 32921 var d = this; 32922 d.timer = setTimeout(function() { 32923 d.batchSend(), clearTimeout(d.timer), d.loopSend(); 32924 }, this.batchConfig.interval); 32925 }, 32926 add: function(d) { 32927 this.batchList.length > this.maxLimit && this.batchList.shift(), this.batchList.push(d), this.dataHasChange = true, this.batchList.length > this.batchConfig.size && this.batchSend(); 32928 }, 32929 batchSend: function() { 32930 var d, o, h, g = _.getCurrentTimeStamp(); 32931 this.dataSendTimeStamp !== 0 && g - this.dataSendTimeStamp < this.config.dataSendTimeout + 500 || (this.dataSendTimeStamp = g, d = (g = 50 < this.batchList.length ? this.batchList.slice(0, 50) : this.batchList).length, o = this, 0 < d && ((h = {}).data = g, h["#app_id"] = this.config.appId, h["#flush_time"] = _.getCurrentTimeStamp(), Log.i("[KuroData] Debug: Send event, Request ="), Log.i(h), g = JSON.stringify(h), h = _.base64Encode(g), g = "crc=" + _.hashCode(h), h = "&data=" + _.encodeURIComponent(h) + "&ext=" + _.encodeURIComponent(g) + "&version=" + Config.LIB_VERSION, new AjaxTask(h, this.config.serverUrl, 0, function() { 32932 o.batchRemove(d); 32933 }, function() {
32934 o.dataSendTimeStamp = 0; 32935 }, false, this.config.dataSendTimeout).run())); 32936 }, 32937 flush: function() { 32938 clearTimeout(this.timer), this.batchSend(), this.loopSend(); 32939 }, 32940 batchRemove: function(d) { 32941 this.dataSendTimeStamp = 0, this.batchList.splice(0, d), this.dataHasChange = true, this.batchWrite(), 0 < this.batchList.length && this.flush(); 32942 } 32943 }; 32944 var AjaxTask = _createClass(function d(o, h, g, b, $, _e, et) { 32945 _classCallCheck(this, d), this.data = o, this.serverUrl = h, this.tryCount = g != null ? g : 3, this.success = b, this.error = $, this.isDebug = _e, this.dataSendTimeout = et; 32946 }, [ 32947 { 32948 key: "run", 32949 value: function() { 32950 var d, o = null, h = ((o = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP")).open("post", this.serverUrl, true), o.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), this); 32951 d = setTimeout(function() { 32952 try { 32953 o && _typeof(o) === "object" && o.abort && o.abort(); 32954 } catch (g) { 32955 Log.e(g); 32956 } 32957 d && (clearTimeout(d), d = null, h.error && h.error(), o.onreadystatechange = null, o.onload = null, o.onerror = null); 32958 }, this.dataSendTimeout), o.onreadystatechange = function() { 32959 try { 32960 var g; 32961 o.readyState === 4 && (100 <= o.status && o.status < 200 ? Log.i("Ignoring temporary status code 1xx.") : 200 <= o.status && o.status < 300 || o.status === 304 ? (h.success && h.success(), d && (clearTimeout(d), d = null), h.isDebug && ((g = JSON.parse(o.response)).errorLevel !== 0 ? Log.w(g) : Log.i(g))) : (h.error && h.error(), d && (clearTimeout(d), d = null), 0 < h.tryCount && h.onFailed())); 32962 } catch (b) { 32963 Log.e(b); 32964 } 32965 }, o.send(this.data); 32966 } 32967 }, 32968 { 32969 key: "onFailed", 32970 value: function() { 32971 0 <= --this.tryCount && this.run(); 32972 } 32973 } 32974 ]), PageLifeCycle = (KDAnalytics.prototype._isDebug = function() { 32975 return this._getConfig("mode") === "debug" || this._getConfig("mode") === "debug_only"; 32976 }, KDAnalytics.prototype._sendRequestWithImage = function(d, o, h) { 32977 function g(b) { 32978 b && !b.hasCalled && (b.hasCalled = true, b.callback) && b.callback(); 32979 } 32980 d = (d.indexOf("?") !== -1 ? d : d + "?") + o, o = document.createElement("img"), o.callback = h, this._getConfig("imgUseCrossorigin") && (o.crossOrigin = "anonymous"), setTimeout(g, this._getConfig("dataSendTimeout"), o), o.onload = function() { 32981 this.onload = null, g(this); 32982 }, o.onerror = function() { 32983 this.onerror = null, g(this); 32984 }, o.onabort = function() { 32985 this.onabort = null, g(this); 32986 }, o.src = d; 32987 }, KDAnalytics.prototype.track = function(d, o, h, g) { 32988 var b; 32989 this._isCollectData() && (d === "ka_page_show" || d === "ka_page_hide" ? this._sendRequest({ 32990 type: "track", 32991 event: d, 32992 time: h, 32993 properties: o 32994 }, g) : (b = this._getConfig("disableEventList"), this._getConfig("disableEventList") !== null && _.check.isArray(b) && b.includes(d) || (PropertyChecker.event(d) && PropertyChecker.properties(o) || !this._getConfig("strict")) && this._sendRequest({ 32995 type: "track", 32996 event: d, 32997 time: h, 32998 properties: o 32999 }, g))); 33000 }, KDAnalytics.prototype.trackInternal = function(d) { 33001 this._isCollectData() && this._sendRequest({ 33002 type: "track", 33003 event: d.eventName, 33004 properties: d.properties, 33005 debugMode: d.debugMode 33006 }); 33007 }, KDAnalytics.prototype.trackUpdate = function(d) { 33008 this._isCollectData() && (_.check.isObject(d) ? (PropertyChecker.event(d.eventName) && PropertyChecker.properties(d.properties) || !this._getConfig("strict")) && this._sendRequest({ 33009 type: "track", 33010 event: d.eventName, 33011 time: d.eventTime, 33012 properties: d.properties, 33013 extraId: d.eventId 33014 }
33014, d.callback) : Log.e("The parameter of updateble event does not meet the requirements")); 33015 }, KDAnalytics.prototype.trackOverwrite = function(d) { 33016 this._isCollectData() && (_.check.isObject(d) ? (PropertyChecker.event(d.eventName) && PropertyChecker.properties(d.properties) || !this._getConfig("strict")) && this._sendRequest({ 33017 type: "track", 33018 event: d.eventName, 33019 time: d.eventTime, 33020 properties: d.properties, 33021 extraId: d.eventId 33022 }, d.callback) : Log.e("The parameter of overwritable event does not meet the requirements")); 33023 }, KDAnalytics.prototype.trackFirstEvent = function(d) { 33024 this.trackFirst(d); 33025 }, KDAnalytics.prototype.trackFirst = function(d) { 33026 this._isCollectData() && (_.check.isObject(d) ? (PropertyChecker.event(d.eventName) && PropertyChecker.properties(d.properties) || !this._getConfig("strict")) && this._sendRequest({ 33027 type: "track", 33028 event: d.eventName, 33029 time: d.eventTime, 33030 properties: d.properties, 33031 firstCheckId: d.firstCheckId || this.getDeviceId() 33032 }, d.callback) : Log.e("The parameter of first event does not meet the requirements")); 33033 }, KDAnalytics.prototype.trackWithBeacon = function(d, o, h, g) { 33034 (d === "ka_page_hide" || PropertyChecker.event(d) && PropertyChecker.properties(o) || !this._getConfig("strict")) && this._sendRequest({ 33035 type: "track", 33036 event: d, 33037 time: h, 33038 properties: o 33039 }, g, true); 33040 }, KDAnalytics.prototype.identify = function(d) { 33041 this.setDistinctId(d); 33042 }, KDAnalytics.prototype.setDistinctId = function(d) { 33043 this._isCollectData() && (typeof d == "number" && (d = String(d)), PropertyChecker.userId(d) || !this._getConfig("strict") ? d !== this.persistence.getDistinctId() && (this.persistence.setDistinctId(d), Log.i("[KuroData] Info: Setting distinct ID, DistinctId = " + d), this.notifyAllObserver("onAccountChanged", { 33044 accountId: this.getAccountId(), 33045 distinctId: d 33046 })) : Log.e("The parameter of setDistinctId API requires a string")); 33047 }, KDAnalytics.prototype.getDistinctId = function() { 33048 return this.persistence.getDistinctId(); 33049 }, KDAnalytics.prototype.getAccountId = function() { 33050 return this.persistence.getAccountId(); 33051 }, KDAnalytics.prototype.registerAnalyticsObserver = function(d) { 33052 this._isCollectData() && (typeof d == "function" ? this.observers.push(d) : Log.i("registerAnalyticsObserver parameter must be a function type")); 33053 }, KDAnalytics.prototype.notifyAllObserver = function(d, o) { 33054 for (var h = 0; h < this.observers.length; h++) this.observers[h](d, o); 33055 }, KDAnalytics.prototype.getDeviceId = function() { 33056 return this.persistence.getDeviceId(); 33057 }, KDAnalytics.prototype._isCollectData = function() { 33058 return this.persistence.getOptTracking() && this.persistence.getEnableTracking(); 33059 }, KDAnalytics.prototype.setSuperProperties = function(d) { 33060 this._isCollectData() && (PropertyChecker.propertiesMust(d) || !this._getConfig("strict") ? this.persistence.setSuperProperties(_.extend({}, this.getSuperProperties(), d)) : Log.w("The paramater of setSuperProperties API requires object")); 33061 }, KDAnalytics.prototype.getSuperProperties = function() { 33062 return this.persistence.getSuperProperties(); 33063 }, KDAnalytics.prototype.clearSuperProperties = function() { 33064 this._isCollectData() && this.persistence.setSuperProperties({}); 33065 }, KDAnalytics.prototype.unsetSuperProperty = function(d) { 33066 var o; 33067 this._isCollectData() && _.check.isString(d) && (delete (o = this.getSuperProperties())[d], this.persistence.setSuperProperties(o)); 33068 }, KDAnalytics.prototype.setDynamicSuperProperties = function(d) { 33069 this._isCollectData() && (typeof d == "function" ? PropertyChecker.properties(d()) || !this._getConfig("strict") ? this.dynamicProperties = d : Log.w("The return value of dynamic properties requires an object") : Log.w("The paramater of setDynamicSuperProperties API requires function type")); 33070 }, KDAnalytics.prototype.timeEvent = function(d) { 33071 this._isCollectData() && (_.check.isUndefined(d) ? Log.w("No event name provided to timeEvent") : this.persistence.setEventTimer(d, _.getCurrentTimeStamp())); 33072 }, KDAnalytics.prototype.autoTrackSinglePage = function() { 33073 this.pageLifeCycle.autoTrackSinglePage(); 33074 }, KDAnalytics.prototype.quick = function(d, o) { 33075 var h; 33076 this._isCollectData() && (typeof d == "string" && d === "autoTrack" ? (h = {}, PropertyChecker.properties(o) && _.extend(h, o), this._sendRequest({ 33077 type: "track", 33078 event: "ka_pageview", 33079 properties: _.extend(h, _.info.pageProperties(this._getConfig("disablePresetProperties"))) 33080 })) : typeof d == "string" && d === "siteLinker" ? siteLinker.init(this, o) : Log.w("The quick method does not support the parameter of" + d)); 33081 }, KDAnalytics.prototype._setConfig = function(d) { 33082 _.check.isObject(d) && (_.extend(this.config, d), this._getConfig("persistencePrefix") || (this.config.persistencePrefix = this.config.cookiePrefix), this.persistence); 33083 }, KDAnalytics.prototype._getConfig = function(d) {
33084 return this.config[d]; 33085 }, KDAnalytics.prototype.init = function(d) { 33086 var o; 33087 _.check.isUndefined(d.appId) || d.appId === "" || d.appId.replace(/\s*/g, "") === "" || _.check.isUndefined(d.serverUrl) || d.serverUrl === "" || d.serverUrl.replace(/\s*/g, "") === "" || (_.check.isUndefined(this.config) ? (this.config = {}, this.currentProps = this.currentProps || {}, this._setConfig(_.extend({}, DEFAULT_CONFIG, d)), this.observers = [], this.persistence = new KuroDataPersistence(legacyConfig(d, this.config)), o = this._getConfig("appId"), _.check.isUndefined(o) || this._setConfig({ 33088 appId: o.replace(/\s*/g, "") 33089 }), Log.showLog = this._getConfig("showLog"), (o = this._getConfig("send_method")) !== "image" && o !== "ajax" && o !== "beacon" && (Log.i("send_method", o, "is not supported. Changed to image as default value"), this._setConfig({ 33090 send_method: "image" 33091 })), this._setConfig({ 33092 originalUrl: _.url("basic", d.serverUrl.replace(/\s*/g, "")) 33093 }), this._isDebug() ? this._setConfig({ 33094 serverUrl: this._getConfig("originalUrl") + "/data_debug" 33095 }) : this._setConfig({ 33096 serverUrl: this._getConfig("originalUrl") + "/sync_js" 33097 }), this._getConfig("batch") !== void 0 && this._getConfig("batch") !== false && _.localStorage.isSupported() && (this.batchConsumer = new BatchConsumer(this.config), this.batchConsumer.batchInterval()), this.pageLifeCycle = new PageLifeCycle(this, this._getConfig("autoTrack"), this._getConfig("disablePresetProperties")), this.pageLifeCycle.start(), o = "normal", this.config.mode && (o = this.config.mode), Log.i("[KuroData] Info: KDAnalytics SDK initialize success, AppId = " + this.config.appId + ", ServerUrl = " + this.config.serverUrl + ", Mode = " + o + ", DeviceId = " + this.getDeviceId() + ", Lib = js, LibVersion = " + Config.LIB_VERSION)) : Log.i("The KuroData libraray has been initialized.")); 33098 }, _createClass(function d(o, h, g) { 33099 _classCallCheck(this, d), this.taLib = o, _.paramType(h) === "Object" && _.paramType(h.pageShow) === "Boolean" ? this.autoPageShow = h.pageShow : this.autoPageShow = false, _.paramType(h) === "Object" && _.paramType(h.pageHide) === "Boolean" ? this.autoPageHide = h.pageHide : this.autoPageHide = false, _.paramType(h) === "Object" && (this.staticProperties = h.properties, this.callback = h.callback), this.disableList = g, this.lastPageUrl = "", this.lastPagePath = "", this.title = "", this.isFirstRouter = true; 33100 }, [ 33101 { 33102 key: "start", 33103 value: function() { 33104 var d = this; 33105 d.trackPageShowEvent(), "onvisibilitychange" in document && _.addEvent(document, "visibilitychange", function() { 33106 document.hidden ? d.trackPageHideEvent() : d.trackPageShowEvent(); 33107 }); 33108 } 33109 }, 33110 { 33111 key: "getPageProperties", 33112 value: function() { 33113 var d = _.info.pageProperties(this.disableList); 33114 return d["#url"] !== null && (d["#url"] = this.lastPageUrl), d["#url_path"] !== null && (d["#url_path"] = this.lastPagePath), d["#title"] !== null && (d["#title"] = this.title), d; 33115 } 33116 }, 33117 { 33118 key: "autoTrackSinglePage", 33119 value: function() { 33120 var d = this; 33121 this.isFirstRouter ? this.isFirstRouter = false : (this.autoPageHide && this.taLib.trackWithBeacon("ka_page_hide", _.extend(this.getPageProperties(), this.staticProperties, _.isFunction(this.callback) ? this.callback("pageHide") : {})), setTimeout(function() { 33122 d.trackPageShowEvent(); 33123 }, 0)); 33124 } 33125 }, 33126 { 33127 key: "trackPageShowEvent", 33128 value: function() { 33129 this.isFirstRouter = false, this.autoPageShow && (this.taLib.track("ka_page_show", _.extend(_.info.pageProperties(this.disableList), this.staticProperties, _.isFunction(this.callback) ? this.callback("pageShow") : {})), this.lastPageUrl = location.href, this.lastPagePath = location.pathname, this.title = document.title), this.taLib.timeEvent("ka_page_hide"); 33130 } 33131 }, 33132 { 33133 key: "trackPageHideEvent", 33134 value: function() { 33135 this.autoPageHide && this.taLib.trackWithBeacon("ka_page_hide", _.extend(_.info.pageProperties(this.disableList), this.staticProperties, _.isFunction(this.callback) ? this.callback("pageHide") : {})); 33136 } 33137 }, 33138 { 33139 key: "trackPageHideEventOnClose", 33140 value: function() { 33141 this.autoPageHide && this.isPageShow && this.taLib.trackWithBeacon("ka_page_hide", _.extend(_.info.pageProperties(this.disableList), this.staticProperties, _.isFunction(this.callback) ? this.callback("pageHide") : {})); 33142 } 33143 } 33144 ])), siteLinker = (KDAnalytics.prototype.initInstance = function(d, g) { 33145 if (!_.check.isString(d) || !_.check.isUndefined(g) && !_.check.isObject(g)) return Log.w("invalid parameter of initInstance(string, object)."), null; 33146 if (this._getConfig("_name") !== MASTER_INSTANCE_NAME) return Log.w("This function is allowed for master instance only"), null; 33147 if (d === MASTER_INSTANCE_NAME || this[d]) return Log.w("The name ", d, " couldn't be used for create new instance."), null; 33148 _.check.isUndefined(g) && (g = {}); 33149 var h = new KDAnalytics(), g = _.extend({}, this.config, { 33150 _name: d, 33151 persistenceEnabled: false, 33152 uuid: this.getDeviceId() 33153 }, g); 33154 g.persistenceEnabled && (g.persistencePrefix = g.persistencePrefix + "_" + d), h.init(g), this[d] = h; 33155 }, KDAnalytics.prototype.enableTracking = function(d) { 33156 typeof d == "boolean" && this.persistence.setEnableTracking(d); 33157 }, KDAnalytics.prototype.optOutTracking = function() { 33158 this.persistence.setSuperProperties({}), this.persistence.setAccountId(""), this.persistence.clearEventTimer(), this.persistence.setOptTracking(false); 33159 }, KDAnalytics.prototype.optInTracking = function() { 33160 this.persistence.setOptTracking(true); 33161 }, KDAnalytics.prototype.setTrackStatus = function(d) { 33162 _.check.isObject(d) && (d = d.status, Log.i("[KuroData] Info: Change Status to " + d), d === "pause" ? this.enableTracking(false) : d === "stop" ? this.optOutTracking() : d === "normal" && (this.enableTracking(true), this.optInTracking())); 33163 }, {}); 33164 function initAsModule() { 33165 return new KDAnalytics(); 33166 } 33167 siteLinker.getPartUrl = function(d) { 33168 var o = this.option.length; 33169 if (o) { 33170 for (var h = 0; h < o; h++) if (-1 < d.indexOf(this.option[h].part_url)) return true; 33171 } 33172 return false;
33173 }, siteLinker.getPartHash = function(d) { 33174 var o = this.option.length; 33175 if (o) { 33176 for (var h = 0; h < o; h++) if (-1 < d.indexOf(this.option[h].part_url)) return this.option[h].after_hash; 33177 } 33178 return false; 33179 }, siteLinker.getCurrenId = function() { 33180 var d = this.ka.getDistinctId(); 33181 return encodeURIComponent("d" + d); 33182 }, siteLinker.rewriteUrl = function(d, o) { 33183 var h, g, b, $ = /([^?#]+)(\?[^#]*)?(#.*)?/.exec(d), _e = ""; 33184 if ($) return h = $[1] || "", g = $[2] || "", $ = $[3] || "", _e = this.getPartHash(d) ? (b = $.indexOf("_tasdk"), -1 < $.indexOf("?") ? -1 < b ? h + g + "#" + $.substring(1, b) + "_tasdk=" + this.getCurrenId() : h + g + "#" + $.substring(1) + "&_tasdk=" + this.getCurrenId() : h + g + "#" + $.substring(1) + "?_tasdk=" + this.getCurrenId()) : (b = g.indexOf("_tasdk"), /^\?(\w)+/.test(g) ? -1 < b ? h + "?" + g.substring(1, b) + "_tasdk=" + this.getCurrenId() + $ : h + "?" + g.substring(1) + "&_tasdk=" + this.getCurrenId() + $ : h + "?" + g.substring(1) + "_tasdk=" + this.getCurrenId() + $), o && (o.href = _e), _e; 33185 }, siteLinker.addClickListen = function() { 33186 function d(h) { 33187 var g, b = (h = h.target).tagName.toLowerCase(), $ = h.parentNode; 33188 (b === "a" && h.href || $ && $.tagName && $.tagName.toLowerCase() === "a" && $.href) && (b = b === "a" && h.href ? (g = h.href, h) : (g = $.href, $), (h = _.URL(g).protocol) !== "http:" && h !== "https:" || o.getPartUrl(g) && o.rewriteUrl(g, b)); 33189 } 33190 var o = this; 33191 _.addSiteEvent(document, "mousedown", d), window.PointerEvent && "maxTouchPoints" in window.navigator && 0 <= window.navigator.maxTouchPoints && _.addSiteEvent(document, "pointerdown", d); 33192 }, siteLinker.getUrlId = function() { 33193 var d = location.href.match(/_tasdk=([aufd][^\?\#\&\=]+)/); 33194 return _.check.isArray(d) && d[1] ? decodeURIComponent(d[1]) : ""; 33195 }, siteLinker.setRefferId = function() { 33196 var d, o = this.ka.getDistinctId(), h = this.getUrlId(); 33197 return h !== "" && (d = h.substring(0, 1) === "d", (h = h.substring(1)) !== o) && void (h && d && this.ka.setDistinctId(h)); 33198 }, siteLinker.init = function(d, o) { 33199 this.isInited || (this.isInited = true, this.ka = d, this.setRefferId(), _.check.isObject(o) && _.check.isArray(o.linker) && 0 < o.linker.length && (this.addClickListen(), this.option = o.linker, this.option = ((h) => { 33200 for (var g = h.length, b = [], $ = 0; $ < g; $++) /[A-Za-z0-9]+\./.test(h[$].part_url) && Object.prototype.toString.call(h[$].after_hash) === "[object Boolean]" ? b.push(h[$]) : Log.w("The configuration of linker " + ($ + 1) + " is not supported.Please check format"); 33201 return b; 33202 })(this.option))); 33203 }; 33204 var loaderModule = initAsModule(); 33205 return loaderModule; 33206 }); 33207 })(kurodata_umd_min); 33208 var kurodata_umd_minExports = kurodata_umd_min.exports; 33209 const kurodata = getDefaultExportFromCjs(kurodata_umd_minExports); 33210 const DIGITS = "0123456789abcdef";
33211 class UUID { 33212 constructor(o) { 33213 this.bytes = o; 33214 } 33215 static ofInner(o) { 33216 if (o.length !== 16) throw new TypeError("not 128-bit length"); 33217 return new UUID(o); 33218 } 33219 static fromFieldsV7(o, h, g, b) { 33220 if (!Number.isInteger(o) || !Number.isInteger(h) || !Number.isInteger(g) || !Number.isInteger(b) || o < 0 || h < 0 || g < 0 || b < 0 || o > 281474976710655 || h > 4095 || g > 1073741823 || b > 4294967295) throw new RangeError("invalid field value"); 33221 const $ = new Uint8Array(16); 33222 return $[0] = o / 2 ** 40, $[1] = o / 2 ** 32, $[2] = o / 2 ** 24, $[3] = o / 2 ** 16, $[4] = o / 2 ** 8, $[5] = o, $[6] = 112 | h >>> 8, $[7] = h, $[8] = 128 | g >>> 24, $[9] = g >>> 16, $[10] = g >>> 8, $[11] = g, $[12] = b >>> 24, $[13] = b >>> 16, $[14] = b >>> 8, $[15] = b, new UUID($); 33223 } 33224 static parse(o) { 33225 var h, g, b, $; 33226 let _e; 33227 switch (o.length) { 33228 case 32: 33229 _e = (h = /^[0-9a-f]{32}$/i.exec(o)) === null || h === void 0 ? void 0 : h[0]; 33230 break; 33231 case 36: 33232 _e = (g = /^([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12})$/i.exec(o)) === null || g === void 0 ? void 0 : g.slice(1, 6).join(""); 33233 break; 33234 case 38: 33235 _e = (b = /^\{([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12})\}$/i.exec(o)) === null || b === void 0 ? void 0 : b.slice(1, 6).join(""); 33236 break; 33237 case 45: 33238 _e = ($ = /^urn:uuid:([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12})$/i.exec(o)) === null || $ === void 0 ? void 0 : $.slice(1, 6).join(""); 33239 break; 33240 } 33241 if (_e) { 33242 const et = new Uint8Array(16); 33243 for (let tt = 0; tt < 16; tt += 4) { 33244 const rt = parseInt(_e.substring(2 * tt, 2 * tt + 8), 16); 33245 et[tt + 0] = rt >>> 24, et[tt + 1] = rt >>> 16, et[tt + 2] = rt >>> 8, et[tt + 3] = rt; 33246 } 33247 return new UUID(et); 33248 } else throw new SyntaxError("could not parse UUID string"); 33249 } 33250 toString() { 33251 let o = ""; 33252 for (let h = 0; h < this.bytes.length; h++) o += DIGITS.charAt(this.bytes[h] >>> 4), o += DIGITS.charAt(this.bytes[h] & 15), (h === 3 || h === 5 || h === 7 || h === 9) && (o += "-"); 33253 return o; 33254 } 33255 toHex() { 33256 let o = ""; 33257 for (let h = 0; h < this.bytes.length; h++) o += DIGITS.charAt(this.bytes[h] >>> 4), o += DIGITS.charAt(this.bytes[h] & 15); 33258 return o; 33259 } 33260 toJSON() { 33261 return this.toString(); 33262 } 33263 getVariant() { 33264 const o = this.bytes[8] >>> 4; 33265 if (o < 0) throw new Error("unreachable"); 33266 if (o <= 7) return this.bytes.every((h) => h === 0) ? "NIL" : "VAR_0"; 33267 if (o <= 11) return "VAR_10"; 33268 if (o <= 13) return "VAR_110"; 33269 if (o <= 15) return this.bytes.every((h) => h === 255) ? "MAX" : "VAR_RESERVED"; 33270 throw new Error("unreachable"); 33271 } 33272 getVersion() { 33273 return this.getVariant() === "VAR_10" ? this.bytes[6] >>> 4 : void 0; 33274 } 33275 clone() { 33276 return new UUID(this.bytes.slice(0)); 33277 } 33278 equals(o) { 33279 return this.compareTo(o) === 0; 33280 } 33281 compareTo(o) { 33282 for (let h = 0; h < 16; h++) { 33283 const g = this.bytes[h] - o.bytes[h]; 33284 if (g !== 0) return Math.sign(g); 33285 } 33286 return 0; 33287 } 33288 } 33289 class V7Generator { 33290 constructor(o) { 33291 this.timestamp_biased = 0, this.counter = 0, this.random = o != null ? o : getDefaultRandom(); 33292 } 33293 generate() { 33294 return this.generateOrResetCore(Date.now(), 1e4); 33295 } 33296 generateOrAbort() { 33297 return this.generateOrAbortCore(Date.now(), 1e4); 33298 } 33299 generateOrResetCore(o, h) { 33300 let g = this.generateOrAbortCore(o, h); 33301 return g === void 0 && (this.timestamp_biased = 0, g = this.generateOrAbortCore(o, h)), g; 33302 } 33303 generateOrAbortCore(o, h) { 33304 if (!Number.isInteger(o) || o < 0 || o > 281474976710655) throw new RangeError("`unixTsMs` must be a 48-bit unsigned integer"); 33305 if (h < 0 || h > 281474976710655) throw new RangeError("`rollbackAllowance` out of reasonable range"); 33306 if (o++, o > this.timestamp_biased) this.timestamp_biased = o, this.resetCounter(); 33307 else if (o + h >= this.timestamp_biased) this.counter++, this.counter > 4398046511103 && (this.timestamp_biased++, this.resetCounter()); 33308 else return; 33309 return UUID.fromFieldsV7(this.timestamp_biased - 1, Math.trunc(this.counter / 2 ** 30), this.counter & 2 ** 30 - 1, this.random.nextUint32()); 33310 } 33311 resetCounter() { 33312 this.counter = this.random.nextUint32() * 1024 + (this.random.nextUint32() & 1023); 33313 } 33314 generateV4() { 33315 const o = new Uint8Array(Uint32Array.of(this.random.nextUint32(), this.random.nextUint32(), this.random.nextUint32(), this.random.nextUint32()).buffer); 33316 return o[6] = 64 | o[6] >>> 4, o[8] = 128 | o[8] >>> 2, UUID.ofInner(o); 33317 } 33318 } 33319 const getDefaultRandom = () => { 33320 if (typeof crypto < "u" && typeof crypto.getRandomValues < "u") return new BufferedCryptoRandom(); 33321 if (typeof UUIDV7_DENY_WEAK_RNG < "u" && UUIDV7_DENY_WEAK_RNG) throw new Error("no cryptographically strong RNG available"); 33322 return { 33323 nextUint32: () => Math.trunc(Math.random() * 65536) * 65536 + Math.trunc(Math.random() * 65536) 33324 }; 33325 }; 33326 class BufferedCryptoRandom { 33327 constructor() { 33328 this.buffer = new Uint32Array(8), this.cursor = 65535; 33329 } 33330 nextUint32() { 33331 return this.cursor >= this.buffer.length && (crypto.getRandomValues(this.buffer), this.cursor = 0), this.buffer[this.cursor++]; 33332 } 33333 } 33334 let defaultGenerator; 33335 const uuidv7 = () => uuidv7obj().toString(), uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator())).generate(); 33336 console.log("2b6c1fcb5e0d48c0a49926f8e1873597", "https://mp-cn-sdklog.kurogames.com/"); 33337 const config = { 33338 appId: "2b6c1fcb5e0d48c0a49926f8e1873597", 33339 serverUrl: "https://mp-cn-sdklog.kurogames.com/", 33340 xDataAppId: "2b6c1fcb5e0d48c0a49926f8e1873597", 33341 autoTrack: { 33342 pageShow: false, 33343 pageHide: true 33344 } 33345 }; 33346 kurodata.init(config);
33347 window.ka = kurodata; 33348 function track(d, o = {}) { 33349 const h = { 33350 url: window.location.href, 33351 project: "website", 33352 event_uuid: uuidv7() 33353 }; 33354 kurodata.track(d, { 33355 ...h, 33356 ...o 33357 }); 33358 } 33359 function App() { 33360 reactExports.useEffect(() => { 33361 track("page_view", { 33362 event_id: "10001" 33363 }); 33364 }, []); 33365 const o = createBrowserRouter(routes$1, { 33366 basename: "" 33367 }); 33368 return jsxRuntimeExports.jsxs(reactActivationExports.AliveScope, { 33369 children: [ 33370 jsxRuntimeExports.jsx("h1", { 33371 style: { 33372 visibility: "hidden", 33373 position: "absolute" 33374 }, 33375 children: jsxRuntimeExports.jsx("img", { 33376 alt: "\u5E93\u6D1B\u6E38\u620Flogo", 33377 src: new URL("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQ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zAJBhZLZZnTkqjx28fM+pfE6FxifENZJnWbXlA2tqnkl3DGPJLh7oHUu/dqmroa6jl1GM9WdtxkhCRmvgkEY9V/OMiFlWdhJWo5sYrOWkCnozsbhbYyymukbabHH3E757JmtjGbk2llNJSf2P9lIGnUHScoL6Q+26+67F0Lh39lx86inzKe3s1Y3NuCkx6sRTNrbJqMUu9XkloysXq0QEetIuipldP1WUVKNGyj1yVFEq7o6QrrFSTBRQwEL0FwDw9Su7kNYcsqdBaW5NUe/3fyIzrC08yNMaR0HuLZtfniskWcppfk5om2ILz1Q1dDzCzu22aQp8fExDKbsM9CxsrFFZuEJOsN5FqFN6v51crKFZLNry4z9b3beGcxZdUVmMpevZSQWlVXrpWtVCGOtGVZqiq6M1dV5mu5Sh5FB5H/bdnbmcq/HWsbh25SJCwS9L2lsaoytsM4PaZOsXezQEhZTulVl3RrA9ipNo5mTOV3DhZwaRVcisqusooJjqnE3XqyyzhZVw4VUXXXUOsuuscyqyyyphOoqqocTHUUUOYxznOYTHMImMIiIjgR4xjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjAYxjA//9k=", import.meta.url).href 33378 }) 33379 }), 33380 jsxRuntimeExports.jsx(RouterProvider2, { 33381 router: o 33382 }) 33383 ] 33384 }); 33385 } 33386 const isString = (d) => typeof d == "string", defer = () => { 33387 let d, o; 33388 const h = new Promise((g, b) => { 33389 d = g, o = b; 33390 }); 33391 return h.resolve = d, h.reject = o, h; 33392 }, makeString = (d) => d == null ? "" : "" + d, copy = (d, o, h) => { 33393 d.forEach((g) => { 33394 o[g] && (h[g] = o[g]); 33395 }); 33396 }, lastOfPathSeparatorRegExp = /###/g, cleanKey = (d) => d && d.indexOf("###") > -1 ? d.replace(lastOfPathSeparatorRegExp, ".") : d, canNotTraverseDeeper = (d) => !d || isString(d), getLastOfPath = (d, o, h) => { 33397 const g = isString(o) ? o.split(".") : o; 33398 let b = 0; 33399 for (; b < g.length - 1; ) { 33400 if (canNotTraverseDeeper(d)) return {}; 33401 const $ = cleanKey(g[b]); 33402 !d[$] && h && (d[$] = new h()), Object.prototype.hasOwnProperty.call(d, $) ? d = d[$] : d = {}, ++b; 33403 } 33404 return canNotTraverseDeeper(d) ? {} : { 33405 obj: d, 33406 k: cleanKey(g[b]) 33407 }; 33408 }, setPath = (d, o, h) => { 33409 const { obj: g, k: b } = getLastOfPath(d, o, Object); 33410 if (g !== void 0 || o.length === 1) { 33411 g[b] = h; 33412 return; 33413 } 33414 let $ = o[o.length - 1], _e = o.slice(0, o.length - 1), et = getLastOfPath(d, _e, Object); 33415 for (; et.obj === void 0 && _e.length; ) $ = "".concat(_e[_e.length - 1], ".").concat($), _e = _e.slice(0, _e.length - 1), et = getLastOfPath(d, _e, Object), (et == null ? void 0 : et.obj) && typeof et.obj["".concat(et.k, ".").concat($)] < "u" && (et.obj = void 0); 33416 et.obj["".concat(et.k, ".").concat($)] = h; 33417 }, pushPath = (d, o, h, g) => { 33418 const { obj: b, k: $ } = getLastOfPath(d, o, Object); 33419 b[$] = b[$] || [], b[$].push(h); 33420 }, getPath = (d, o) => { 33421 const { obj: h, k: g } = getLastOfPath(d, o); 33422 if (h && Object.prototype.hasOwnProperty.call(h, g)) return h[g]; 33423 }, getPathWithDefaults = (d, o, h) => { 33424 const g = getPath(d, h); 33425 return g !== void 0 ? g : getPath(o, h); 33426 }, deepExtend = (d, o, h) => { 33427 for (const g in o) g !== "__proto__" && g !== "constructor" && (g in d ? isString(d[g]) || d[g] instanceof String || isString(o[g]) || o[g] instanceof String ? h && (d[g] = o[g]) : deepExtend(d[g], o[g], h) : d[g] = o[g]); 33428 return d; 33429 }, regexEscape = (d) => d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); 33430 var _entityMap = { 33431 "&": "&", 33432 "<": "<", 33433 ">": ">", 33434 '"': """, 33435 "'": "'", 33436 "/": "/" 33437 }; 33438 const escape = (d) => isString(d) ? d.replace(/[&<>
vendor: 12,582 bytes, lines 33438-33764
33438"'\/]/g, (o) => _entityMap[o]) : d; 33439 class RegExpCache { 33440 constructor(o) { 33441 this.capacity = o, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; 33442 } 33443 getRegExp(o) { 33444 const h = this.regExpMap.get(o); 33445 if (h !== void 0) return h; 33446 const g = new RegExp(o); 33447 return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(o, g), this.regExpQueue.push(o), g; 33448 } 33449 } 33450 const chars = [ 33451 " ", 33452 ",", 33453 "?", 33454 "!", 33455 ";" 33456 ], looksLikeObjectPathRegExpCache = new RegExpCache(20), looksLikeObjectPath = (d, o, h) => { 33457 o = o || "", h = h || ""; 33458 const g = chars.filter((_e) => o.indexOf(_e) < 0 && h.indexOf(_e) < 0); 33459 if (g.length === 0) return true; 33460 const b = looksLikeObjectPathRegExpCache.getRegExp("(".concat(g.map((_e) => _e === "?" ? "\\?" : _e).join("|"), ")")); 33461 let $ = !b.test(d); 33462 if (!$) { 33463 const _e = d.indexOf(h); 33464 _e > 0 && !b.test(d.substring(0, _e)) && ($ = true); 33465 } 33466 return $; 33467 }, deepFind = (d, o, h = ".") => { 33468 if (!d) return; 33469 if (d[o]) return Object.prototype.hasOwnProperty.call(d, o) ? d[o] : void 0; 33470 const g = o.split(h); 33471 let b = d; 33472 for (let $ = 0; $ < g.length; ) { 33473 if (!b || typeof b != "object") return; 33474 let _e, et = ""; 33475 for (let tt = $; tt < g.length; ++tt) if (tt !== $ && (et += h), et += g[tt], _e = b[et], _e !== void 0) { 33476 if ([ 33477 "string", 33478 "number", 33479 "boolean" 33480 ].indexOf(typeof _e) > -1 && tt < g.length - 1) continue; 33481 $ += tt - $ + 1; 33482 break; 33483 } 33484 b = _e; 33485 } 33486 return b; 33487 }, getCleanedCode = (d) => d == null ? void 0 : d.replace("_", "-"), consoleLogger = { 33488 type: "logger", 33489 log(d) { 33490 this.output("log", d); 33491 }, 33492 warn(d) { 33493 this.output("warn", d); 33494 }, 33495 error(d) { 33496 this.output("error", d); 33497 }, 33498 output(d, o) { 33499 var _a, _b; 33500 (_b = (_a = console == null ? void 0 : console[d]) == null ? void 0 : _a.apply) == null ? void 0 : _b.call(_a, console, o); 33501 } 33502 }; 33503 class Logger { 33504 constructor(o, h = {}) { 33505 this.init(o, h); 33506 } 33507 init(o, h = {}) { 33508 this.prefix = h.prefix || "i18next:", this.logger = o || consoleLogger, this.options = h, this.debug = h.debug; 33509 } 33510 log(...o) { 33511 return this.forward(o, "log", "", true); 33512 } 33513 warn(...o) { 33514 return this.forward(o, "warn", "", true); 33515 } 33516 error(...o) { 33517 return this.forward(o, "error", ""); 33518 } 33519 deprecate(...o) { 33520 return this.forward(o, "warn", "WARNING DEPRECATED: ", true); 33521 } 33522 forward(o, h, g, b) { 33523 return b && !this.debug ? null : (isString(o[0]) && (o[0] = "".concat(g).concat(this.prefix, " ").concat(o[0])), this.logger[h](o)); 33524 } 33525 create(o) { 33526 return new Logger(this.logger, { 33527 prefix: "".concat(this.prefix, ":").concat(o, ":"), 33528 ...this.options 33529 }); 33530 } 33531 clone(o) { 33532 return o = o || this.options, o.prefix = o.prefix || this.prefix, new Logger(this.logger, o); 33533 } 33534 } 33535 var baseLogger = new Logger(); 33536 class EventEmitter { 33537 constructor() { 33538 this.observers = {}; 33539 } 33540 on(o, h) { 33541 return o.split(" ").forEach((g) => { 33542 this.observers[g] || (this.observers[g] = /* @__PURE__ */ new Map()); 33543 const b = this.observers[g].get(h) || 0; 33544 this.observers[g].set(h, b + 1); 33545 }), this; 33546 } 33547 off(o, h) { 33548 if (this.observers[o]) { 33549 if (!h) { 33550 delete this.observers[o]; 33551 return; 33552 } 33553 this.observers[o].delete(h); 33554 } 33555 } 33556 emit(o, ...h) { 33557 this.observers[o] && Array.from(this.observers[o].entries()).forEach(([b, $]) => { 33558 for (let _e = 0; _e < $; _e++) b(...h); 33559 }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([b, $]) => { 33560 for (let _e = 0; _e < $; _e++) b.apply(b, [ 33561 o, 33562 ...h 33563 ]); 33564 }); 33565 } 33566 } 33567 class ResourceStore extends EventEmitter { 33568 constructor(o, h = { 33569 ns: [ 33570 "translation" 33571 ], 33572 defaultNS: "translation" 33573 }) { 33574 super(), this.data = o || {}, this.options = h, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = true); 33575 } 33576 addNamespaces(o) { 33577 this.options.ns.indexOf(o) < 0 && this.options.ns.push(o); 33578 } 33579 removeNamespaces(o) { 33580 const h = this.options.ns.indexOf(o); 33581 h > -1 && this.options.ns.splice(h, 1); 33582 } 33583 getResource(o, h, g, b = {}) { 33584 var _a, _b; 33585 const $ = b.keySeparator !== void 0 ? b.keySeparator : this.options.keySeparator, _e = b.ignoreJSONStructure !== void 0 ? b.ignoreJSONStructure : this.options.ignoreJSONStructure; 33586 let et; 33587 o.indexOf(".") > -1 ? et = o.split(".") : (et = [ 33588 o, 33589 h 33590 ], g && (Array.isArray(g) ? et.push(...g) : isString(g) && $ ? et.push(...g.split($)) : et.push(g))); 33591 const tt = getPath(this.data, et); 33592 return !tt && !h && !g && o.indexOf(".") > -1 && (o = et[0], h = et[1], g = et.slice(2).join(".")), tt || !_e || !isString(g) ? tt : deepFind((_b = (_a = this.data) == null ? void 0 : _a[o]) == null ? void 0 : _b[h], g, $); 33593 } 33594 addResource(o, h, g, b, $ = { 33595 silent: false 33596 }) { 33597 const _e = $.keySeparator !== void 0 ? $.keySeparator : this.options.keySeparator; 33598 let et = [ 33599 o, 33600 h 33601 ]; 33602 g && (et = et.concat(_e ? g.split(_e) : g)), o.indexOf(".") > -1 && (et = o.split("."), b = h, h = et[1]), this.addNamespaces(h), setPath(this.data, et, b), $.silent || this.emit("added", o, h, g, b); 33603 } 33604 addResources(o, h, g, b = { 33605 silent: false 33606 }) { 33607 for (const $ in g) (isString(g[$]) || Array.isArray(g[$])) && this.addResource(o, h, $, g[$], { 33608 silent: true 33609 }); 33610 b.silent || this.emit("added", o, h, g); 33611 } 33612 addResourceBundle(o, h, g, b, $, _e = { 33613 silent: false, 33614 skipCopy: false 33615 }) { 33616 let et = [ 33617 o, 33618 h 33619 ]; 33620 o.indexOf(".") > -1 && (et = o.split("."), b = g, g = h, h = et[1]), this.addNamespaces(h); 33621 let tt = getPath(this.data, et) || {}; 33622 _e.skipCopy || (g = JSON.parse(JSON.stringify(g))), b ? deepExtend(tt, g, $) : tt = { 33623 ...tt, 33624 ...g 33625 }, setPath(this.data, et, tt), _e.silent || this.emit("added", o, h, g); 33626 } 33627 removeResourceBundle(o, h) { 33628 this.hasResourceBundle(o, h) && delete this.data[o][h], this.removeNamespaces(h), this.emit("removed", o, h); 33629 } 33630 hasResourceBundle(o, h) { 33631 return this.getResource(o, h) !== void 0; 33632 } 33633 getResourceBundle(o, h) { 33634 return h || (h = this.options.defaultNS), this.getResource(o, h); 33635 } 33636 getDataByLanguage(o) { 33637 return this.data[o]; 33638 } 33639 hasLanguageSomeTranslations(o) { 33640 const h = this.getDataByLanguage(o); 33641 return !!(h && Object.keys(h) || []).find((b) => h[b] && Object.keys(h[b]).length > 0); 33642 } 33643 toJSON() { 33644 return this.data; 33645 } 33646 } 33647 var postProcessor = { 33648 processors: {}, 33649 addPostProcessor(d) { 33650 this.processors[d.name] = d; 33651 }, 33652 handle(d, o, h, g, b) { 33653 return d.forEach(($) => { 33654 var _a, _b; 33655 o = (_b = (_a = this.processors[$]) == null ? void 0 : _a.process(o, h, g, b)) != null ? _b : o; 33656 }), o; 33657 } 33658 }; 33659 const checkedLoadedFor = {}, shouldHandleAsObject = (d) => !isString(d) && typeof d != "boolean" && typeof d != "number"; 33660 class Translator extends EventEmitter { 33661 constructor(o, h = {}) { 33662 super(), copy([ 33663 "resourceStore", 33664 "languageUtils", 33665 "pluralResolver", 33666 "interpolator", 33667 "backendConnector", 33668 "i18nFormat", 33669 "utils" 33670 ], o, this), this.options = h, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = baseLogger.create("translator"); 33671 } 33672 changeLanguage(o) { 33673 o && (this.language = o); 33674 } 33675 exists(o, h = { 33676 interpolation: {} 33677 }) { 33678 var _a; 33679 const g = { 33680 ...h 33681 }; 33682 return o == null ? false : ((_a = this.resolve(o, g)) == null ? void 0 : _a.res) !== void 0; 33683 } 33684 extractFromKey(o, h) { 33685 let g = h.nsSeparator !== void 0 ? h.nsSeparator : this.options.nsSeparator; 33686 g === void 0 && (g = ":"); 33687 const b = h.keySeparator !== void 0 ? h.keySeparator : this.options.keySeparator; 33688 let $ = h.ns || this.options.defaultNS || []; 33689 const _e = g && o.indexOf(g) > -1, et = !this.options.userDefinedKeySeparator && !h.keySeparator && !this.options.userDefinedNsSeparator && !h.nsSeparator && !looksLikeObjectPath(o, g, b); 33690 if (_e && !et) { 33691 const tt = o.match(this.interpolator.nestingRegexp); 33692 if (tt && tt.length > 0) return { 33693 key: o, 33694 namespaces: isString($) ? [ 33695 $ 33696 ] : $ 33697 }; 33698 const rt = o.split(g); 33699 (g !== b || g === b && this.options.ns.indexOf(rt[0]) > -1) && ($ = rt.shift()), o = rt.join(b); 33700 } 33701 return { 33702 key: o, 33703 namespaces: isString($) ? [ 33704 $ 33705 ] : $ 33706 }; 33707 } 33708 translate(o, h, g) { 33709 let b = typeof h == "object" ? { 33710 ...h 33711 } : h; 33712 if (typeof b != "object" && this.options.overloadTranslationOptionHandler && (b = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (b = { 33713 ...b 33714 }), b || (b = {}), o == null) return ""; 33715 Array.isArray(o) || (o = [ 33716 String(o) 33717 ]); 33718 const $ = b.returnDetails !== void 0 ? b.returnDetails : this.options.returnDetails, _e = b.keySeparator !== void 0 ? b.keySeparator : this.options.keySeparator, { key: et, namespaces: tt } = this.extractFromKey(o[o.length - 1], b), rt = tt[tt.length - 1]; 33719 let nt = b.nsSeparator !== void 0 ? b.nsSeparator : this.options.nsSeparator; 33720 nt === void 0 && (nt = ":"); 33721 const st = b.lng || this.language, ot = b.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; 33722 if ((st == null ? void 0 : st.toLowerCase()) === "cimode") return ot ? $ ? { 33723 res: "".concat(rt).concat(nt).concat(et), 33724 usedKey: et, 33725 exactUsedKey: et, 33726 usedLng: st, 33727 usedNS: rt, 33728 usedParams: this.getUsedParamsDetails(b) 33729 } : "".concat(rt).concat(nt).concat(et) : $ ? { 33730 res: et, 33731 usedKey: et, 33732 exactUsedKey: et, 33733 usedLng: st, 33734 usedNS: rt, 33735 usedParams: this.getUsedParamsDetails(b) 33736 } : et; 33737 const it = this.resolve(o, b); 33738 let at = it == null ? void 0 : it.res; 33739 const lt = (it == null ? void 0 : it.usedKey) || et, ct = (it == null ? void 0 : it.exactUsedKey) || et, ut = [ 33740 "[object Number]", 33741 "[object Function]", 33742 "[object RegExp]" 33743 ], ft = b.joinArrays !== void 0 ? b.joinArrays : this.options.joinArrays, dt = !this.i18nFormat || this.i18nFormat.handleAsObject, pt = b.count !== void 0 && !isString(b.count), ht = Translator.hasDefaultValue(b), mt = pt ? this.pluralResolver.getSuffix(st, b.count, b) : "", gt = b.ordinal && pt ? this.pluralResolver.getSuffix(st, b.count, { 33744 ordinal: false 33745 }) : "", yt = pt && !b.ordinal && b.count === 0, xt = yt && b["defaultValue".concat(this.options.pluralSeparator, "zero")] || b["defaultValue".concat(mt)] || b["defaultValue".concat(gt)] || b.defaultValue; 33746 let _t = at; 33747 dt && !at && ht && (_t = xt); 33748 const St = shouldHandleAsObject(_t), kt = Object.prototype.toString.apply(_t); 33749 if (dt && _t && St && ut.indexOf(kt) < 0 && !(isString(ft) && Array.isArray(_t))) { 33750 if (!b.returnObjects && !this.options.returnObjects) { 33751 this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"); 33752 const Rt = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(lt, _t, { 33753 ...b, 33754 ns: tt 33755 }) : "key '".concat(et, " (").concat(this.language, ")' returned an object instead of string."); 33756 return $ ? (it.res = Rt, it.usedParams = this.getUsedParamsDetails(b), it) : Rt; 33757 } 33758 if (_e) { 33759 const Rt = Array.isArray(_t), Tt = Rt ? [] : {}, Yt = Rt ? ct : lt; 33760 for (const Dt in _t) if (Object.prototype.hasOwnProperty.call(_t, Dt)) { 33761 const Ot = "".concat(Yt).concat(_e).concat(Dt); 33762 ht && !at ? Tt[Dt] = this.translate(Ot, { 33763 ...b, 33764 defaultValue: shouldHandleAsObject(xt) ? xt[Dt] : void 0,
33765 joinArrays: false, 33766 ns: tt 33767 }) : Tt[Dt] = this.translate(Ot, { 33768 ...b, 33769 joinArrays: false, 33770 ns: tt 33771 }), Tt[Dt] === Ot && (Tt[Dt] = _t[Dt]); 33772 } 33773 at = Tt; 33774 } 33775 } else if (dt && isString(ft) && Array.isArray(at)) at = at.join(ft), at && (at = this.extendTranslation(at, o, b, g)); 33776 else { 33777 let Rt = false, Tt = false; 33778 !this.isValidLookup(at) && ht && (Rt = true, at = xt), this.isValidLookup(at) || (Tt = true, at = et); 33779 const Dt = (b.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && Tt ? void 0 : at, Ot = ht && xt !== at && this.options.updateMissing; 33780 if (Tt || Rt || Ot) { 33781 if (this.logger.log(Ot ? "updateKey" : "missingKey", st, rt, et, Ot ? xt : at), _e) { 33782 const Ht = this.resolve(et, { 33783 ...b, 33784 keySeparator: false 33785 }); 33786 Ht && Ht.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format."); 33787 } 33788 let Mt = []; 33789 const Vt = this.languageUtils.getFallbackCodes(this.options.fallbackLng, b.lng || this.language); 33790 if (this.options.saveMissingTo === "fallback" && Vt && Vt[0]) for (let Ht = 0; Ht < Vt.length; Ht++) Mt.push(Vt[Ht]); 33791 else this.options.saveMissingTo === "all" ? Mt = this.languageUtils.toResolveHierarchy(b.lng || this.language) : Mt.push(b.lng || this.language); 33792 const Et = (Ht, Kt, ir) => { 33793 var _a; 33794 const sr = ht && ir !== at ? ir : Dt; 33795 this.options.missingKeyHandler ? this.options.missingKeyHandler(Ht, rt, Kt, sr, Ot, b) : ((_a = this.backendConnector) == null ? void 0 : _a.saveMissing) && this.backendConnector.saveMissing(Ht, rt, Kt, sr, Ot, b), this.emit("missingKey", Ht, rt, Kt, at); 33796 }; 33797 this.options.saveMissing && (this.options.saveMissingPlurals && pt ? Mt.forEach((Ht) => { 33798 const Kt = this.pluralResolver.getSuffixes(Ht, b); 33799 yt && b["defaultValue".concat(this.options.pluralSeparator, "zero")] && Kt.indexOf("".concat(this.options.pluralSeparator, "zero")) < 0 && Kt.push("".concat(this.options.pluralSeparator, "zero")), Kt.forEach((ir) => { 33800 Et([ 33801 Ht 33802 ], et + ir, b["defaultValue".concat(ir)] || xt); 33803 }); 33804 }) : Et(Mt, et, xt)); 33805 } 33806 at = this.extendTranslation(at, o, b, it, g), Tt && at === et && this.options.appendNamespaceToMissingKey && (at = "".concat(rt).concat(nt).concat(et)), (Tt || Rt) && this.options.parseMissingKeyHandler && (at = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? "".concat(rt).concat(nt).concat(et) : et, Rt ? at : void 0, b)); 33807 } 33808 return $ ? (it.res = at, it.usedParams = this.getUsedParamsDetails(b), it) : at; 33809 } 33810 extendTranslation(o, h, g, b, $) { 33811 var _a, _b; 33812 if ((_a = this.i18nFormat) == null ? void 0 : _a.parse) o = this.i18nFormat.parse(o, { 33813 ...this.options.interpolation.defaultVariables, 33814 ...g 33815 }, g.lng || this.language || b.usedLng, b.usedNS, b.usedKey, { 33816 resolved: b 33817 }); 33818 else if (!g.skipInterpolation) { 33819 g.interpolation && this.interpolator.init({ 33820 ...g, 33821 interpolation: { 33822 ...this.options.interpolation, 33823 ...g.interpolation 33824 } 33825 }); 33826 const tt = isString(o) && (((_b = g == null ? void 0 : g.interpolation) == null ? void 0 : _b.skipOnVariables) !== void 0 ? g.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables); 33827 let rt; 33828 if (tt) { 33829 const st = o.match(this.interpolator.nestingRegexp); 33830 rt = st && st.length; 33831 } 33832 let nt = g.replace && !isString(g.replace) ? g.replace : g; 33833 if (this.options.interpolation.defaultVariables && (nt = { 33834 ...this.options.interpolation.defaultVariables, 33835 ...nt 33836 }), o = this.interpolator.interpolate(o, nt, g.lng || this.language || b.usedLng, g), tt) { 33837 const st = o.match(this.interpolator.nestingRegexp), ot = st && st.length; 33838 rt < ot && (g.nest = false); 33839 } 33840 !g.lng && b && b.res && (g.lng = this.language || b.usedLng), g.nest !== false && (o = this.interpolator.nest(o, (...st) => ($ == null ? void 0 : $[0]) === st[0] && !g.context ? (this.logger.warn("It seems you are nesting recursively key: ".concat(st[0], " in key: ").concat(h[0])), null) : this.translate(...st, h), g)), g.interpolation && this.interpolator.reset(); 33841 } 33842 const _e = g.postProcess || this.options.postProcess, et = isString(_e) ? [ 33843 _e
33844 ] : _e; 33845 return o != null && (et == null ? void 0 : et.length) && g.applyPostProcessor !== false && (o = postProcessor.handle(et, o, h, this.options && this.options.postProcessPassResolved ? { 33846 i18nResolved: { 33847 ...b, 33848 usedParams: this.getUsedParamsDetails(g) 33849 }, 33850 ...g 33851 } : g, this)), o; 33852 } 33853 resolve(o, h = {}) { 33854 let g, b, $, _e, et; 33855 return isString(o) && (o = [ 33856 o 33857 ]), o.forEach((tt) => { 33858 if (this.isValidLookup(g)) return; 33859 const rt = this.extractFromKey(tt, h), nt = rt.key; 33860 b = nt; 33861 let st = rt.namespaces; 33862 this.options.fallbackNS && (st = st.concat(this.options.fallbackNS)); 33863 const ot = h.count !== void 0 && !isString(h.count), it = ot && !h.ordinal && h.count === 0, at = h.context !== void 0 && (isString(h.context) || typeof h.context == "number") && h.context !== "", lt = h.lngs ? h.lngs : this.languageUtils.toResolveHierarchy(h.lng || this.language, h.fallbackLng); 33864 st.forEach((ct) => { 33865 var _a, _b; 33866 this.isValidLookup(g) || (et = ct, !checkedLoadedFor["".concat(lt[0], "-").concat(ct)] && ((_a = this.utils) == null ? void 0 : _a.hasLoadedNamespace) && !((_b = this.utils) == null ? void 0 : _b.hasLoadedNamespace(et)) && (checkedLoadedFor["".concat(lt[0], "-").concat(ct)] = true, this.logger.warn('key "'.concat(b, '" for languages "').concat(lt.join(", "), '" won\'t get resolved as namespace "').concat(et, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), lt.forEach((ut) => { 33867 var _a2; 33868 if (this.isValidLookup(g)) return; 33869 _e = ut; 33870 const ft = [ 33871 nt 33872 ]; 33873 if ((_a2 = this.i18nFormat) == null ? void 0 : _a2.addLookupKeys) this.i18nFormat.addLookupKeys(ft, nt, ut, ct, h); 33874 else { 33875 let pt; 33876 ot && (pt = this.pluralResolver.getSuffix(ut, h.count, h)); 33877 const ht = "".concat(this.options.pluralSeparator, "zero"), mt = "".concat(this.options.pluralSeparator, "ordinal").concat(this.options.pluralSeparator); 33878 if (ot && (ft.push(nt + pt), h.ordinal && pt.indexOf(mt) === 0 && ft.push(nt + pt.replace(mt, this.options.pluralSeparator)), it && ft.push(nt + ht)), at) { 33879 const gt = "".concat(nt).concat(this.options.contextSeparator).concat(h.context); 33880 ft.push(gt), ot && (ft.push(gt + pt), h.ordinal && pt.indexOf(mt) === 0 && ft.push(gt + pt.replace(mt, this.options.pluralSeparator)), it && ft.push(gt + ht)); 33881 } 33882 } 33883 let dt; 33884 for (; dt = ft.pop(); ) this.isValidLookup(g) || ($ = dt, g = this.getResource(ut, ct, dt, h)); 33885 })); 33886 }); 33887 }), { 33888 res: g, 33889 usedKey: b, 33890 exactUsedKey: $, 33891 usedLng: _e, 33892 usedNS: et 33893 }; 33894 } 33895 isValidLookup(o) { 33896 return o !== void 0 && !(!this.options.returnNull && o === null) && !(!this.options.returnEmptyString && o === ""); 33897 } 33898 getResource(o, h, g, b = {}) { 33899 var _a; 33900 return ((_a = this.i18nFormat) == null ? void 0 : _a.getResource) ? this.i18nFormat.getResource(o, h, g, b) : this.resourceStore.getResource(o, h, g, b); 33901 } 33902 getUsedParamsDetails(o = {}) { 33903 const h = [ 33904 "defaultValue", 33905 "ordinal", 33906 "context", 33907 "replace", 33908 "lng", 33909 "lngs", 33910 "fallbackLng", 33911 "ns", 33912 "keySeparator", 33913 "nsSeparator", 33914 "returnObjects", 33915 "returnDetails", 33916 "joinArrays", 33917 "postProcess", 33918 "interpolation" 33919 ], g = o.replace && !isString(o.replace); 33920 let b = g ? o.replace : o; 33921 if (g && typeof o.count < "u" && (b.count = o.count), this.options.interpolation.defaultVariables && (b = { 33922 ...this.options.interpolation.defaultVariables, 33923 ...b 33924 }), !g) { 33925 b = { 33926 ...b 33927 }; 33928 for (const $ of h) delete b[$]; 33929 } 33930 return b; 33931 } 33932 static hasDefaultValue(o) { 33933 const h = "defaultValue"; 33934 for (const g in o) if (Object.prototype.hasOwnProperty.call(o, g) && h === g.substring(0, h.length) && o[g] !== void 0) return true; 33935 return false;
vendor: 4,281 bytes, lines 33936-34035
33936 } 33937 } 33938 class LanguageUtil { 33939 constructor(o) { 33940 this.options = o, this.supportedLngs = this.options.supportedLngs || false, this.logger = baseLogger.create("languageUtils"); 33941 } 33942 getScriptPartFromCode(o) { 33943 if (o = getCleanedCode(o), !o || o.indexOf("-") < 0) return null; 33944 const h = o.split("-"); 33945 return h.length === 2 || (h.pop(), h[h.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(h.join("-")); 33946 } 33947 getLanguagePartFromCode(o) { 33948 if (o = getCleanedCode(o), !o || o.indexOf("-") < 0) return o; 33949 const h = o.split("-"); 33950 return this.formatLanguageCode(h[0]); 33951 } 33952 formatLanguageCode(o) { 33953 if (isString(o) && o.indexOf("-") > -1) { 33954 let h; 33955 try { 33956 h = Intl.getCanonicalLocales(o)[0]; 33957 } catch (e2) { 33958 } 33959 return h && this.options.lowerCaseLng && (h = h.toLowerCase()), h || (this.options.lowerCaseLng ? o.toLowerCase() : o); 33960 } 33961 return this.options.cleanCode || this.options.lowerCaseLng ? o.toLowerCase() : o; 33962 } 33963 isSupportedCode(o) { 33964 return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (o = this.getLanguagePartFromCode(o)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(o) > -1; 33965 } 33966 getBestMatchFromCodes(o) { 33967 if (!o) return null; 33968 let h; 33969 return o.forEach((g) => { 33970 if (h) return; 33971 const b = this.formatLanguageCode(g); 33972 (!this.options.supportedLngs || this.isSupportedCode(b)) && (h = b); 33973 }), !h && this.options.supportedLngs && o.forEach((g) => { 33974 if (h) return; 33975 const b = this.getScriptPartFromCode(g); 33976 if (this.isSupportedCode(b)) return h = b; 33977 const $ = this.getLanguagePartFromCode(g); 33978 if (this.isSupportedCode($)) return h = $; 33979 h = this.options.supportedLngs.find((_e) => { 33980 if (_e === $) return _e; 33981 if (!(_e.indexOf("-") < 0 && $.indexOf("-") < 0) && (_e.indexOf("-") > 0 && $.indexOf("-") < 0 && _e.substring(0, _e.indexOf("-")) === $ || _e.indexOf($) === 0 && $.length > 1)) return _e; 33982 }); 33983 }), h || (h = this.getFallbackCodes(this.options.fallbackLng)[0]), h; 33984 } 33985 getFallbackCodes(o, h) { 33986 if (!o) return []; 33987 if (typeof o == "function" && (o = o(h)), isString(o) && (o = [ 33988 o 33989 ]), Array.isArray(o)) return o; 33990 if (!h) return o.default || []; 33991 let g = o[h]; 33992 return g || (g = o[this.getScriptPartFromCode(h)]), g || (g = o[this.formatLanguageCode(h)]), g || (g = o[this.getLanguagePartFromCode(h)]), g || (g = o.default), g || []; 33993 } 33994 toResolveHierarchy(o, h) { 33995 const g = this.getFallbackCodes((h === false ? [] : h) || this.options.fallbackLng || [], o), b = [], $ = (_e) => { 33996 _e && (this.isSupportedCode(_e) ? b.push(_e) : this.logger.warn("rejecting language code not found in supportedLngs: ".concat(_e))); 33997 }; 33998 return isString(o) && (o.indexOf("-") > -1 || o.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && $(this.formatLanguageCode(o)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && $(this.getScriptPartFromCode(o)), this.options.load !== "currentOnly" && $(this.getLanguagePartFromCode(o))) : isString(o) && $(this.formatLanguageCode(o)), g.forEach((_e) => { 33999 b.indexOf(_e) < 0 && $(this.formatLanguageCode(_e)); 34000 }), b; 34001 } 34002 } 34003 const suffixesOrder = { 34004 zero: 0, 34005 one: 1, 34006 two: 2, 34007 few: 3, 34008 many: 4, 34009 other: 5 34010 }, dummyRule = { 34011 select: (d) => d === 1 ? "one" : "other", 34012 resolvedOptions: () => ({ 34013 pluralCategories: [ 34014 "one", 34015 "other" 34016 ] 34017 }) 34018 }; 34019 class PluralResolver { 34020 constructor(o, h = {}) { 34021 this.languageUtils = o, this.options = h, this.logger = baseLogger.create("pluralResolver"), this.pluralRulesCache = {}; 34022 } 34023 addRule(o, h) { 34024 this.rules[o] = h; 34025 } 34026 clearCache() { 34027 this.pluralRulesCache = {}; 34028 } 34029 getRule(o, h = {}) { 34030 const g = getCleanedCode(o === "dev" ? "en" : o), b = h.ordinal ? "ordinal" : "cardinal", $ = JSON.stringify({ 34031 cleanedCode: g, 34032 type: b 34033 }); 34034 if ($ in this.pluralRulesCache) return this.pluralRulesCache[$]; 34035 let _e;
34036 try { 34037 _e = new Intl.PluralRules(g, { 34038 type: b 34039 }); 34040 } catch (e2) { 34041 if (!Intl) return this.logger.error("No Intl support, please use an Intl polyfill!"), dummyRule; 34042 if (!o.match(/-|_/)) return dummyRule; 34043 const tt = this.languageUtils.getLanguagePartFromCode(o); 34044 _e = this.getRule(tt, h); 34045 } 34046 return this.pluralRulesCache[$] = _e, _e; 34047 } 34048 needsPlural(o, h = {}) { 34049 let g = this.getRule(o, h); 34050 return g || (g = this.getRule("dev", h)), (g == null ? void 0 : g.resolvedOptions().pluralCategories.length) > 1; 34051 } 34052 getPluralFormsOfKey(o, h, g = {}) { 34053 return this.getSuffixes(o, g).map((b) => "".concat(h).concat(b)); 34054 } 34055 getSuffixes(o, h = {}) { 34056 let g = this.getRule(o, h); 34057 return g || (g = this.getRule("dev", h)), g ? g.resolvedOptions().pluralCategories.sort((b, $) => suffixesOrder[b] - suffixesOrder[$]).map((b) => "".concat(this.options.prepend).concat(h.ordinal ? "ordinal".concat(this.options.prepend) : "").concat(b)) : []; 34058 } 34059 getSuffix(o, h, g = {}) { 34060 const b = this.getRule(o, g); 34061 return b ? "".concat(this.options.prepend).concat(g.ordinal ? "ordinal".concat(this.options.prepend) : "").concat(b.select(h)) : (this.logger.warn("no plural rule found for: ".concat(o)), this.getSuffix("dev", h, g)); 34062 } 34063 } 34064 const deepFindWithDefaults = (d, o, h, g = ".", b = true) => { 34065 let $ = getPathWithDefaults(d, o, h); 34066 return !$ && b && isString(h) && ($ = deepFind(d, h, g), $ === void 0 && ($ = deepFind(o, h, g))), $; 34067 }, regexSafe = (d) => d.replace(/\$/g, "$$$$"); 34068 class Interpolator { 34069 constructor(o = {}) { 34070 var _a; 34071 this.logger = baseLogger.create("interpolator"), this.options = o, this.format = ((_a = o == null ? void 0 : o.interpolation) == null ? void 0 : _a.format) || ((h) => h), this.init(o); 34072 } 34073 init(o = {}) { 34074 o.interpolation || (o.interpolation = { 34075 escapeValue: true 34076 }); 34077 const { escape: h, escapeValue: g, useRawValueToEscape: b, prefix: $, prefixEscaped: _e, suffix: et, suffixEscaped: tt, formatSeparator: rt, unescapeSuffix: nt, unescapePrefix: st, nestingPrefix: ot, nestingPrefixEscaped: it, nestingSuffix: at, nestingSuffixEscaped: lt, nestingOptionsSeparator: ct, maxReplaces: ut, alwaysFormat: ft } = o.interpolation; 34078 this.escape = h !== void 0 ? h : escape, this.escapeValue = g !== void 0 ? g : true, this.useRawValueToEscape = b !== void 0 ? b : false, this.prefix = $ ? regexEscape($) : _e || "{{", this.suffix = et ? regexEscape(et) : tt || "}}", this.formatSeparator = rt || ",", this.unescapePrefix = nt ? "" : st || "-", this.unescapeSuffix = this.unescapePrefix ? "" : nt || "", this.nestingPrefix = ot ? regexEscape(ot) : it || regexEscape("$t("), this.nestingSuffix = at ? regexEscape(at) : lt || regexEscape(")"), this.nestingOptionsSeparator = ct || ",", this.maxReplaces = ut || 1e3, this.alwaysFormat = ft !== void 0 ? ft : false, this.resetRegExp(); 34079 } 34080 reset() { 34081 this.options && this.init(this.options); 34082 } 34083 resetRegExp() { 34084 const o = (h, g) => (h == null ? void 0 : h.source) === g ? (h.lastIndex = 0, h) : new RegExp(g, "g"); 34085 this.regexp = o(this.regexp, "".concat(this.prefix, "(.+?)").concat(this.suffix)), this.regexpUnescape = o(this.regexpUnescape, "".concat(this.prefix).concat(this.unescapePrefix, "(.+?)").concat(this.unescapeSuffix).concat(this.suffix)), this.nestingRegexp = o(this.nestingRegexp, "".concat(this.nestingPrefix, "(.+?)").concat(this.nestingSuffix)); 34086 } 34087 interpolate(o, h, g, b) { 34088 var _a; 34089 let $, _e, et; 34090 const tt = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, rt = (it) => { 34091 if (it.indexOf(this.formatSeparator) < 0) { 34092 const ut = deepFindWithDefaults(h, tt, it, this.options.keySeparator, this.options.ignoreJSONStructure); 34093 return this.alwaysFormat ? this.format(ut, void 0, g, { 34094 ...b, 34095 ...h, 34096 interpolationkey: it 34097 }) : ut; 34098 } 34099 const at = it.split(this.formatSeparator), lt = at.shift().trim(), ct = at.join(this.formatSeparator).trim(); 34100 return this.format(deepFindWithDefaults(h, tt, lt, this.options.keySeparator, this.options.ignoreJSONStructure), ct, g, { 34101 ...b, 34102 ...h, 34103 interpolationkey: lt 34104 }); 34105 }; 34106 this.resetRegExp(); 34107 const nt = (b == null ? void 0 : b.missingInterpolationHandler) || this.options.missingInterpolationHandler, st = ((_a = b == null ? void 0 : b.interpolation) == null ? void 0 : _a.skipOnVariables) !== void 0 ? b.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables; 34108 return [ 34109 { 34110 regex: this.regexpUnescape, 34111 safeValue: (it) => regexSafe(it) 34112 }, 34113 { 34114 regex: this.regexp, 34115 safeValue: (it) => this.escapeValue ? regexSafe(this.escape(it)) : regexSafe(it) 34116 } 34117 ].forEach((it) => { 34118 for (et = 0; $ = it.regex.exec(o); ) { 34119 const at = $[1].trim(); 34120 if (_e = rt(at), _e === void 0) if (typeof nt == "function") { 34121 const ct = nt(o, $, b); 34122 _e = isString(ct) ? ct : ""; 34123 }
vendor: 5,163 bytes, lines 34123-34249
34123 else if (b && Object.prototype.hasOwnProperty.call(b, at)) _e = ""; 34124 else if (st) { 34125 _e = $[0]; 34126 continue; 34127 } else this.logger.warn("missed to pass in variable ".concat(at, " for interpolating ").concat(o)), _e = ""; 34128 else !isString(_e) && !this.useRawValueToEscape && (_e = makeString(_e)); 34129 const lt = it.safeValue(_e); 34130 if (o = o.replace($[0], lt), st ? (it.regex.lastIndex += _e.length, it.regex.lastIndex -= $[0].length) : it.regex.lastIndex = 0, et++, et >= this.maxReplaces) break; 34131 } 34132 }), o; 34133 } 34134 nest(o, h, g = {}) { 34135 let b, $, _e; 34136 const et = (tt, rt) => { 34137 var _a; 34138 const nt = this.nestingOptionsSeparator; 34139 if (tt.indexOf(nt) < 0) return tt; 34140 const st = tt.split(new RegExp("".concat(nt, "[ ]*{"))); 34141 let ot = "{".concat(st[1]); 34142 tt = st[0], ot = this.interpolate(ot, _e); 34143 const it = ot.match(/'/g), at = ot.match(/"/g); 34144 (((_a = it == null ? void 0 : it.length) != null ? _a : 0) % 2 === 0 && !at || at.length % 2 !== 0) && (ot = ot.replace(/'/g, '"')); 34145 try { 34146 _e = JSON.parse(ot), rt && (_e = { 34147 ...rt, 34148 ..._e 34149 }); 34150 } catch (lt) { 34151 return this.logger.warn("failed parsing options string in nesting for key ".concat(tt), lt), "".concat(tt).concat(nt).concat(ot); 34152 } 34153 return _e.defaultValue && _e.defaultValue.indexOf(this.prefix) > -1 && delete _e.defaultValue, tt; 34154 }; 34155 for (; b = this.nestingRegexp.exec(o); ) { 34156 let tt = []; 34157 _e = { 34158 ...g 34159 }, _e = _e.replace && !isString(_e.replace) ? _e.replace : _e, _e.applyPostProcessor = false, delete _e.defaultValue; 34160 const rt = /{.*}/.test(b[1]) ? b[1].lastIndexOf("}") + 1 : b[1].indexOf(this.formatSeparator); 34161 if (rt !== -1 && (tt = b[1].slice(rt).split(this.formatSeparator).map((nt) => nt.trim()).filter(Boolean), b[1] = b[1].slice(0, rt)), $ = h(et.call(this, b[1].trim(), _e), _e), $ && b[0] === o && !isString($)) return $; 34162 isString($) || ($ = makeString($)), $ || (this.logger.warn("missed to resolve ".concat(b[1], " for nesting ").concat(o)), $ = ""), tt.length && ($ = tt.reduce((nt, st) => this.format(nt, st, g.lng, { 34163 ...g, 34164 interpolationkey: b[1].trim() 34165 }), $.trim())), o = o.replace(b[0], $), this.regexp.lastIndex = 0; 34166 } 34167 return o; 34168 } 34169 } 34170 const parseFormatStr = (d) => { 34171 let o = d.toLowerCase().trim(); 34172 const h = {}; 34173 if (d.indexOf("(") > -1) { 34174 const g = d.split("("); 34175 o = g[0].toLowerCase().trim(); 34176 const b = g[1].substring(0, g[1].length - 1); 34177 o === "currency" && b.indexOf(":") < 0 ? h.currency || (h.currency = b.trim()) : o === "relativetime" && b.indexOf(":") < 0 ? h.range || (h.range = b.trim()) : b.split(";").forEach((_e) => { 34178 if (_e) { 34179 const [et, ...tt] = _e.split(":"), rt = tt.join(":").trim().replace(/^'+|'+$/g, ""), nt = et.trim(); 34180 h[nt] || (h[nt] = rt), rt === "false" && (h[nt] = false), rt === "true" && (h[nt] = true), isNaN(rt) || (h[nt] = parseInt(rt, 10)); 34181 } 34182 }); 34183 } 34184 return { 34185 formatName: o, 34186 formatOptions: h 34187 }; 34188 }, createCachedFormatter = (d) => { 34189 const o = {}; 34190 return (h, g, b) => { 34191 let $ = b; 34192 b && b.interpolationkey && b.formatParams && b.formatParams[b.interpolationkey] && b[b.interpolationkey] && ($ = { 34193 ...$, 34194 [b.interpolationkey]: void 0 34195 }); 34196 const _e = g + JSON.stringify($); 34197 let et = o[_e]; 34198 return et || (et = d(getCleanedCode(g), b), o[_e] = et), et(h); 34199 }; 34200 }, createNonCachedFormatter = (d) => (o, h, g) => d(getCleanedCode(h), g)(o); 34201 class Formatter { 34202 constructor(o = {}) { 34203 this.logger = baseLogger.create("formatter"), this.options = o, this.init(o); 34204 } 34205 init(o, h = { 34206 interpolation: {} 34207 }) { 34208 this.formatSeparator = h.interpolation.formatSeparator || ","; 34209 const g = h.cacheInBuiltFormats ? createCachedFormatter : createNonCachedFormatter; 34210 this.formats = { 34211 number: g((b, $) => { 34212 const _e = new Intl.NumberFormat(b, { 34213 ...$ 34214 }); 34215 return (et) => _e.format(et); 34216 }), 34217 currency: g((b, $) => { 34218 const _e = new Intl.NumberFormat(b, { 34219 ...$, 34220 style: "currency" 34221 }); 34222 return (et) => _e.format(et); 34223 }), 34224 datetime: g((b, $) => { 34225 const _e = new Intl.DateTimeFormat(b, { 34226 ...$ 34227 }); 34228 return (et) => _e.format(et); 34229 }), 34230 relativetime: g((b, $) => { 34231 const _e = new Intl.RelativeTimeFormat(b, { 34232 ...$ 34233 }); 34234 return (et) => _e.format(et, $.range || "day"); 34235 }), 34236 list: g((b, $) => { 34237 const _e = new Intl.ListFormat(b, { 34238 ...$ 34239 }); 34240 return (et) => _e.format(et); 34241 }) 34242 }; 34243 } 34244 add(o, h) { 34245 this.formats[o.toLowerCase().trim()] = h; 34246 } 34247 addCached(o, h) { 34248 this.formats[o.toLowerCase().trim()] = createCachedFormatter(h); 34249 }
vendor: 5,163 bytes, lines 34250-34371
34250 format(o, h, g, b = {}) { 34251 const $ = h.split(this.formatSeparator); 34252 if ($.length > 1 && $[0].indexOf("(") > 1 && $[0].indexOf(")") < 0 && $.find((et) => et.indexOf(")") > -1)) { 34253 const et = $.findIndex((tt) => tt.indexOf(")") > -1); 34254 $[0] = [ 34255 $[0], 34256 ...$.splice(1, et) 34257 ].join(this.formatSeparator); 34258 } 34259 return $.reduce((et, tt) => { 34260 var _a; 34261 const { formatName: rt, formatOptions: nt } = parseFormatStr(tt); 34262 if (this.formats[rt]) { 34263 let st = et; 34264 try { 34265 const ot = ((_a = b == null ? void 0 : b.formatParams) == null ? void 0 : _a[b.interpolationkey]) || {}, it = ot.locale || ot.lng || b.locale || b.lng || g; 34266 st = this.formats[rt](et, it, { 34267 ...nt, 34268 ...b, 34269 ...ot 34270 }); 34271 } catch (ot) { 34272 this.logger.warn(ot); 34273 } 34274 return st; 34275 } else this.logger.warn("there was no format function for ".concat(rt)); 34276 return et; 34277 }, o); 34278 } 34279 } 34280 const removePending = (d, o) => { 34281 d.pending[o] !== void 0 && (delete d.pending[o], d.pendingCount--); 34282 }; 34283 class Connector extends EventEmitter { 34284 constructor(o, h, g, b = {}) { 34285 var _a, _b; 34286 super(), this.backend = o, this.store = h, this.services = g, this.languageUtils = g.languageUtils, this.options = b, this.logger = baseLogger.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = b.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = b.maxRetries >= 0 ? b.maxRetries : 5, this.retryTimeout = b.retryTimeout >= 1 ? b.retryTimeout : 350, this.state = {}, this.queue = [], (_b = (_a = this.backend) == null ? void 0 : _a.init) == null ? void 0 : _b.call(_a, g, b.backend, b); 34287 } 34288 queueLoad(o, h, g, b) { 34289 const $ = {}, _e = {}, et = {}, tt = {}; 34290 return o.forEach((rt) => { 34291 let nt = true; 34292 h.forEach((st) => { 34293 const ot = "".concat(rt, "|").concat(st); 34294 !g.reload && this.store.hasResourceBundle(rt, st) ? this.state[ot] = 2 : this.state[ot] < 0 || (this.state[ot] === 1 ? _e[ot] === void 0 && (_e[ot] = true) : (this.state[ot] = 1, nt = false, _e[ot] === void 0 && (_e[ot] = true), $[ot] === void 0 && ($[ot] = true), tt[st] === void 0 && (tt[st] = true))); 34295 }), nt || (et[rt] = true); 34296 }), (Object.keys($).length || Object.keys(_e).length) && this.queue.push({ 34297 pending: _e, 34298 pendingCount: Object.keys(_e).length, 34299 loaded: {}, 34300 errors: [], 34301 callback: b 34302 }), { 34303 toLoad: Object.keys($), 34304 pending: Object.keys(_e), 34305 toLoadLanguages: Object.keys(et), 34306 toLoadNamespaces: Object.keys(tt) 34307 }; 34308 } 34309 loaded(o, h, g) { 34310 const b = o.split("|"), $ = b[0], _e = b[1]; 34311 h && this.emit("failedLoading", $, _e, h), !h && g && this.store.addResourceBundle($, _e, g, void 0, void 0, { 34312 skipCopy: true 34313 }), this.state[o] = h ? -1 : 2, h && g && (this.state[o] = 0); 34314 const et = {}; 34315 this.queue.forEach((tt) => { 34316 pushPath(tt.loaded, [ 34317 $ 34318 ], _e), removePending(tt, o), h && tt.errors.push(h), tt.pendingCount === 0 && !tt.done && (Object.keys(tt.loaded).forEach((rt) => { 34319 et[rt] || (et[rt] = {}); 34320 const nt = tt.loaded[rt]; 34321 nt.length && nt.forEach((st) => { 34322 et[rt][st] === void 0 && (et[rt][st] = true); 34323 }); 34324 }), tt.done = true, tt.errors.length ? tt.callback(tt.errors) : tt.callback()); 34325 }), this.emit("loaded", et), this.queue = this.queue.filter((tt) => !tt.done); 34326 } 34327 read(o, h, g, b = 0, $ = this.retryTimeout, _e) { 34328 if (!o.length) return _e(null, {}); 34329 if (this.readingCalls >= this.maxParallelReads) { 34330 this.waitingReads.push({ 34331 lng: o, 34332 ns: h, 34333 fcName: g, 34334 tried: b, 34335 wait: $, 34336 callback: _e 34337 }); 34338 return; 34339 } 34340 this.readingCalls++; 34341 const et = (rt, nt) => { 34342 if (this.readingCalls--, this.waitingReads.length > 0) { 34343 const st = this.waitingReads.shift(); 34344 this.read(st.lng, st.ns, st.fcName, st.tried, st.wait, st.callback); 34345 } 34346 if (rt && nt && b < this.maxRetries) { 34347 setTimeout(() => { 34348 this.read.call(this, o, h, g, b + 1, $ * 2, _e); 34349 }, $); 34350 return; 34351 } 34352 _e(rt, nt); 34353 }, tt = this.backend[g].bind(this.backend); 34354 if (tt.length === 2) { 34355 try { 34356 const rt = tt(o, h); 34357 rt && typeof rt.then == "function" ? rt.then((nt) => et(null, nt)).catch(et) : et(null, rt); 34358 } catch (rt) { 34359 et(rt); 34360 } 34361 return; 34362 } 34363 return tt(o, h, et); 34364 } 34365 prepareLoading(o, h, g = {}, b) { 34366 if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), b && b(); 34367 isString(o) && (o = this.languageUtils.toResolveHierarchy(o)), isString(h) && (h = [ 34368 h 34369 ]); 34370 const $ = this.queueLoad(o, h, g, b); 34371 if (!$.toLoad.length) return $.pending.length || b(), null;
34372 $.toLoad.forEach((_e) => { 34373 this.loadOne(_e); 34374 }); 34375 } 34376 load(o, h, g) { 34377 this.prepareLoading(o, h, {}, g); 34378 } 34379 reload(o, h, g) { 34380 this.prepareLoading(o, h, { 34381 reload: true 34382 }, g); 34383 } 34384 loadOne(o, h = "") { 34385 const g = o.split("|"), b = g[0], $ = g[1]; 34386 this.read(b, $, "read", void 0, void 0, (_e, et) => { 34387 _e && this.logger.warn("".concat(h, "loading namespace ").concat($, " for language ").concat(b, " failed"), _e), !_e && et && this.logger.log("".concat(h, "loaded namespace ").concat($, " for language ").concat(b), et), this.loaded(o, _e, et); 34388 }); 34389 } 34390 saveMissing(o, h, g, b, $, _e = {}, et = () => { 34391 }) { 34392 var _a, _b, _c, _d, _e2; 34393 if (((_b = (_a = this.services) == null ? void 0 : _a.utils) == null ? void 0 : _b.hasLoadedNamespace) && !((_d = (_c = this.services) == null ? void 0 : _c.utils) == null ? void 0 : _d.hasLoadedNamespace(h))) { 34394 this.logger.warn('did not save key "'.concat(g, '" as the namespace "').concat(h, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"); 34395 return; 34396 } 34397 if (!(g == null || g === "")) { 34398 if ((_e2 = this.backend) == null ? void 0 : _e2.create) { 34399 const tt = { 34400 ..._e, 34401 isUpdate: $ 34402 }, rt = this.backend.create.bind(this.backend); 34403 if (rt.length < 6) try { 34404 let nt; 34405 rt.length === 5 ? nt = rt(o, h, g, b, tt) : nt = rt(o, h, g, b), nt && typeof nt.then == "function" ? nt.then((st) => et(null, st)).catch(et) : et(null, nt); 34406 } catch (nt) { 34407 et(nt); 34408 } 34409 else rt(o, h, g, b, et, tt); 34410 } 34411 !o || !o[0] || this.store.addResource(o[0], h, g, b); 34412 } 34413 } 34414 } 34415 const get = () => ({ 34416 debug: false, 34417 initAsync: true, 34418 ns: [ 34419 "translation" 34420 ], 34421 defaultNS: [ 34422 "translation" 34423 ], 34424 fallbackLng: [ 34425 "dev" 34426 ], 34427 fallbackNS: false, 34428 supportedLngs: false, 34429 nonExplicitSupportedLngs: false, 34430 load: "all", 34431 preload: false, 34432 simplifyPluralSuffix: true, 34433 keySeparator: ".", 34434 nsSeparator: ":", 34435 pluralSeparator: "_", 34436 contextSeparator: "_", 34437 partialBundledLanguages: false, 34438 saveMissing: false, 34439 updateMissing: false, 34440 saveMissingTo: "fallback", 34441 saveMissingPlurals: true, 34442 missingKeyHandler: false, 34443 missingInterpolationHandler: false, 34444 postProcess: false, 34445 postProcessPassResolved: false, 34446 returnNull: false, 34447 returnEmptyString: true, 34448 returnObjects: false, 34449 joinArrays: false, 34450 returnedObjectHandler: false, 34451 parseMissingKeyHandler: false, 34452 appendNamespaceToMissingKey: false, 34453 appendNamespaceToCIMode: false, 34454 overloadTranslationOptionHandler: (d) => { 34455 let o = {}; 34456 if (typeof d[1] == "object" && (o = d[1]), isString(d[1]) && (o.defaultValue = d[1]), isString(d[2]) && (o.tDescription = d[2]), typeof d[2] == "object" || typeof d[3] == "object") { 34457 const h = d[3] || d[2]; 34458 Object.keys(h).forEach((g) => { 34459 o[g] = h[g]; 34460 }); 34461 } 34462 return o; 34463 }, 34464 interpolation: { 34465 escapeValue: true, 34466 format: (d) => d, 34467 prefix: "{{", 34468 suffix: "}}", 34469 formatSeparator: ",", 34470 unescapePrefix: "-", 34471 nestingPrefix: "$t(", 34472 nestingSuffix: ")", 34473 nestingOptionsSeparator: ",", 34474 maxReplaces: 1e3, 34475 skipOnVariables: true 34476 }, 34477 cacheInBuiltFormats: true 34478 }), transformOptions = (d) => { 34479 var _a, _b; 34480 return isString(d.ns) && (d.ns = [ 34481 d.ns 34482 ]), isString(d.fallbackLng) && (d.fallbackLng = [ 34483 d.fallbackLng 34484 ]), isString(d.fallbackNS) && (d.fallbackNS = [ 34485 d.fallbackNS 34486 ]), ((_b = (_a = d.supportedLngs) == null ? void 0 : _a.indexOf) == null ? void 0 : _b.call(_a, "cimode")) < 0 && (d.supportedLngs = d.supportedLngs.concat([ 34487 "cimode" 34488 ])), typeof d.initImmediate == "boolean" && (d.initAsync = d.initImmediate), d; 34489 }, noop = () => { 34490 }, bindMemberFunctions = (d) => {
vendor: 18,767 bytes, lines 34491-34872
34491 Object.getOwnPropertyNames(Object.getPrototypeOf(d)).forEach((h) => { 34492 typeof d[h] == "function" && (d[h] = d[h].bind(d)); 34493 }); 34494 }; 34495 class I18n extends EventEmitter { 34496 constructor(o = {}, h) { 34497 if (super(), this.options = transformOptions(o), this.services = {}, this.logger = baseLogger, this.modules = { 34498 external: [] 34499 }, bindMemberFunctions(this), h && !this.isInitialized && !o.isClone) { 34500 if (!this.options.initAsync) return this.init(o, h), this; 34501 setTimeout(() => { 34502 this.init(o, h); 34503 }, 0); 34504 } 34505 } 34506 init(o = {}, h) { 34507 this.isInitializing = true, typeof o == "function" && (h = o, o = {}), o.defaultNS == null && o.ns && (isString(o.ns) ? o.defaultNS = o.ns : o.ns.indexOf("translation") < 0 && (o.defaultNS = o.ns[0])); 34508 const g = get(); 34509 this.options = { 34510 ...g, 34511 ...this.options, 34512 ...transformOptions(o) 34513 }, this.options.interpolation = { 34514 ...g.interpolation, 34515 ...this.options.interpolation 34516 }, o.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = o.keySeparator), o.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = o.nsSeparator); 34517 const b = (rt) => rt ? typeof rt == "function" ? new rt() : rt : null; 34518 if (!this.options.isClone) { 34519 this.modules.logger ? baseLogger.init(b(this.modules.logger), this.options) : baseLogger.init(null, this.options); 34520 let rt; 34521 this.modules.formatter ? rt = this.modules.formatter : rt = Formatter; 34522 const nt = new LanguageUtil(this.options); 34523 this.store = new ResourceStore(this.options.resources, this.options); 34524 const st = this.services; 34525 st.logger = baseLogger, st.resourceStore = this.store, st.languageUtils = nt, st.pluralResolver = new PluralResolver(nt, { 34526 prepend: this.options.pluralSeparator, 34527 simplifyPluralSuffix: this.options.simplifyPluralSuffix 34528 }), this.options.interpolation.format && this.options.interpolation.format !== g.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), rt && (!this.options.interpolation.format || this.options.interpolation.format === g.interpolation.format) && (st.formatter = b(rt), st.formatter.init && st.formatter.init(st, this.options), this.options.interpolation.format = st.formatter.format.bind(st.formatter)), st.interpolator = new Interpolator(this.options), st.utils = { 34529 hasLoadedNamespace: this.hasLoadedNamespace.bind(this) 34530 }, st.backendConnector = new Connector(b(this.modules.backend), st.resourceStore, st, this.options), st.backendConnector.on("*", (it, ...at) => { 34531 this.emit(it, ...at); 34532 }), this.modules.languageDetector && (st.languageDetector = b(this.modules.languageDetector), st.languageDetector.init && st.languageDetector.init(st, this.options.detection, this.options)), this.modules.i18nFormat && (st.i18nFormat = b(this.modules.i18nFormat), st.i18nFormat.init && st.i18nFormat.init(this)), this.translator = new Translator(this.services, this.options), this.translator.on("*", (it, ...at) => { 34533 this.emit(it, ...at); 34534 }), this.modules.external.forEach((it) => { 34535 it.init && it.init(this); 34536 }); 34537 } 34538 if (this.format = this.options.interpolation.format, h || (h = noop), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { 34539 const rt = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng); 34540 rt.length > 0 && rt[0] !== "dev" && (this.options.lng = rt[0]); 34541 } 34542 !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), [ 34543 "getResource", 34544 "hasResourceBundle", 34545 "getResourceBundle", 34546 "getDataByLanguage" 34547 ].forEach((rt) => { 34548 this[rt] = (...nt) => this.store[rt](...nt); 34549 }), [ 34550 "addResource", 34551 "addResources", 34552 "addResourceBundle", 34553 "removeResourceBundle" 34554 ].forEach((rt) => { 34555 this[rt] = (...nt) => (this.store[rt](...nt), this); 34556 }); 34557 const et = defer(), tt = () => { 34558 const rt = (nt, st) => { 34559 this.isInitializing = false, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = true, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), et.resolve(st), h(nt, st); 34560 }; 34561 if (this.languages && !this.isInitialized) return rt(null, this.t.bind(this)); 34562 this.changeLanguage(this.options.lng, rt); 34563 }; 34564 return this.options.resources || !this.options.initAsync ? tt() : setTimeout(tt, 0), et; 34565 } 34566 loadResources(o, h = noop) { 34567 var _a, _b; 34568 let g = h; 34569 const b = isString(o) ? o : this.language; 34570 if (typeof o == "function" && (g = o), !this.options.resources || this.options.partialBundledLanguages) { 34571 if ((b == null ? void 0 : b.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return g(); 34572 const $ = [], _e = (et) => { 34573 if (!et || et === "cimode") return; 34574 this.services.languageUtils.toResolveHierarchy(et).forEach((rt) => { 34575 rt !== "cimode" && $.indexOf(rt) < 0 && $.push(rt); 34576 }); 34577 }; 34578 b ? _e(b) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((tt) => _e(tt)), (_b = (_a = this.options.preload) == null ? void 0 : _a.forEach) == null ? void 0 : _b.call(_a, (et) => _e(et)), this.services.backendConnector.load($, this.options.ns, (et) => { 34579 !et && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), g(et); 34580 }); 34581 } else g(null); 34582 } 34583 reloadResources(o, h, g) { 34584 const b = defer(); 34585 return typeof o == "function" && (g = o, o = void 0), typeof h == "function" && (g = h, h = void 0), o || (o = this.languages), h || (h = this.options.ns), g || (g = noop), this.services.backendConnector.reload(o, h, ($) => { 34586 b.resolve(), g($); 34587 }), b; 34588 } 34589 use(o) { 34590 if (!o) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); 34591 if (!o.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); 34592 return o.type === "backend" && (this.modules.backend = o), (o.type === "logger" || o.log && o.warn && o.error) && (this.modules.logger = o), o.type === "languageDetector" && (this.modules.languageDetector = o), o.type === "i18nFormat" && (this.modules.i18nFormat = o), o.type === "postProcessor" && postProcessor.addPostProcessor(o), o.type === "formatter" && (this.modules.formatter = o), o.type === "3rdParty" && this.modules.external.push(o), this; 34593 } 34594 setResolvedLanguage(o) { 34595 if (!(!o || !this.languages) && !([ 34596 "cimode", 34597 "dev" 34598 ].indexOf(o) > -1)) { 34599 for (let h = 0; h < this.languages.length; h++) { 34600 const g = this.languages[h]; 34601 if (!([ 34602 "cimode", 34603 "dev" 34604 ].indexOf(g) > -1) && this.store.hasLanguageSomeTranslations(g)) { 34605 this.resolvedLanguage = g; 34606 break; 34607 } 34608 } 34609 !this.resolvedLanguage && this.languages.indexOf(o) < 0 && this.store.hasLanguageSomeTranslations(o) && (this.resolvedLanguage = o, this.languages.unshift(o)); 34610 } 34611 } 34612 changeLanguage(o, h) { 34613 this.isLanguageChangingTo = o; 34614 const g = defer(); 34615 this.emit("languageChanging", o); 34616 const b = (et) => { 34617 this.language = et, this.languages = this.services.languageUtils.toResolveHierarchy(et), this.resolvedLanguage = void 0, this.setResolvedLanguage(et); 34618 }, $ = (et, tt) => { 34619 tt ? this.isLanguageChangingTo === o && (b(tt), this.translator.changeLanguage(tt), this.isLanguageChangingTo = void 0, this.emit("languageChanged", tt), this.logger.log("languageChanged", tt)) : this.isLanguageChangingTo = void 0, g.resolve((...rt) => this.t(...rt)), h && h(et, (...rt) => this.t(...rt)); 34620 }, _e = (et) => { 34621 var _a, _b; 34622 !o && !et && this.services.languageDetector && (et = []); 34623 const tt = isString(et) ? et : et && et[0], rt = this.store.hasLanguageSomeTranslations(tt) ? tt : this.services.languageUtils.getBestMatchFromCodes(isString(et) ? [ 34624 et 34625 ] : et); 34626 rt && (this.language || b(rt), this.translator.language || this.translator.changeLanguage(rt), (_b = (_a = this.services.languageDetector) == null ? void 0 : _a.cacheUserLanguage) == null ? void 0 : _b.call(_a, rt)), this.loadResources(rt, (nt) => { 34627 $(nt, rt); 34628 }); 34629 }; 34630 return !o && this.services.languageDetector && !this.services.languageDetector.async ? _e(this.services.languageDetector.detect()) : !o && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(_e) : this.services.languageDetector.detect(_e) : _e(o), g; 34631 } 34632 getFixedT(o, h, g) { 34633 const b = ($, _e, ...et) => { 34634 let tt; 34635 typeof _e != "object" ? tt = this.options.overloadTranslationOptionHandler([ 34636 $, 34637 _e 34638 ].concat(et)) : tt = { 34639 ..._e 34640 }, tt.lng = tt.lng || b.lng, tt.lngs = tt.lngs || b.lngs, tt.ns = tt.ns || b.ns, tt.keyPrefix !== "" && (tt.keyPrefix = tt.keyPrefix || g || b.keyPrefix); 34641 const rt = this.options.keySeparator || "."; 34642 let nt; 34643 return tt.keyPrefix && Array.isArray($) ? nt = $.map((st) => "".concat(tt.keyPrefix).concat(rt).concat(st)) : nt = tt.keyPrefix ? "".concat(tt.keyPrefix).concat(rt).concat($) : $, this.t(nt, tt); 34644 }; 34645 return isString(o) ? b.lng = o : b.lngs = o, b.ns = h, b.keyPrefix = g, b; 34646 } 34647 t(...o) { 34648 var _a; 34649 return (_a = this.translator) == null ? void 0 : _a.translate(...o); 34650 } 34651 exists(...o) { 34652 var _a; 34653 return (_a = this.translator) == null ? void 0 : _a.exists(...o); 34654 } 34655 setDefaultNamespace(o) { 34656 this.options.defaultNS = o; 34657 } 34658 hasLoadedNamespace(o, h = {}) { 34659 if (!this.isInitialized) return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), false; 34660 if (!this.languages || !this.languages.length) return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), false; 34661 const g = h.lng || this.resolvedLanguage || this.languages[0], b = this.options ? this.options.fallbackLng : false, $ = this.languages[this.languages.length - 1]; 34662 if (g.toLowerCase() === "cimode") return true; 34663 const _e = (et, tt) => { 34664 const rt = this.services.backendConnector.state["".concat(et, "|").concat(tt)]; 34665 return rt === -1 || rt === 0 || rt === 2; 34666 }; 34667 if (h.precheck) { 34668 const et = h.precheck(this, _e); 34669 if (et !== void 0) return et; 34670 } 34671 return !!(this.hasResourceBundle(g, o) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || _e(g, o) && (!b || _e($, o))); 34672 } 34673 loadNamespaces(o, h) { 34674 const g = defer(); 34675 return this.options.ns ? (isString(o) && (o = [ 34676 o 34677 ]), o.forEach((b) => { 34678 this.options.ns.indexOf(b) < 0 && this.options.ns.push(b); 34679 }), this.loadResources((b) => { 34680 g.resolve(), h && h(b); 34681 }), g) : (h && h(), Promise.resolve()); 34682 } 34683 loadLanguages(o, h) { 34684 const g = defer(); 34685 isString(o) && (o = [ 34686 o 34687 ]); 34688 const b = this.options.preload || [], $ = o.filter((_e) => b.indexOf(_e) < 0 && this.services.languageUtils.isSupportedCode(_e)); 34689 return $.length ? (this.options.preload = b.concat($), this.loadResources((_e) => { 34690 g.resolve(), h && h(_e); 34691 }), g) : (h && h(), Promise.resolve()); 34692 } 34693 dir(o) { 34694 var _a, _b; 34695 if (o || (o = this.resolvedLanguage || (((_a = this.languages) == null ? void 0 : _a.length) > 0 ? this.languages[0] : this.language)), !o) return "rtl"; 34696 try { 34697 const b = new Intl.Locale(o); 34698 if (b && b.getTextInfo) { 34699 const $ = b.getTextInfo(); 34700 if ($ && $.direction) return $.direction; 34701 } 34702 } catch (e2) { 34703 } 34704 const h = [ 34705 "ar", 34706 "shu", 34707 "sqr", 34708 "ssh", 34709 "xaa", 34710 "yhd", 34711 "yud", 34712 "aao", 34713 "abh", 34714 "abv", 34715 "acm", 34716 "acq", 34717 "acw", 34718 "acx", 34719 "acy", 34720 "adf", 34721 "ads", 34722 "aeb", 34723 "aec", 34724 "afb", 34725 "ajp", 34726 "apc", 34727 "apd", 34728 "arb", 34729 "arq", 34730 "ars", 34731 "ary", 34732 "arz", 34733 "auz", 34734 "avl", 34735 "ayh", 34736 "ayl", 34737 "ayn", 34738 "ayp", 34739 "bbz", 34740 "pga", 34741 "he", 34742 "iw", 34743 "ps", 34744 "pbt", 34745 "pbu", 34746 "pst", 34747 "prp", 34748 "prd", 34749 "ug", 34750 "ur", 34751 "ydd", 34752 "yds", 34753 "yih", 34754 "ji", 34755 "yi", 34756 "hbo", 34757 "men", 34758 "xmn", 34759 "fa", 34760 "jpr", 34761 "peo", 34762 "pes", 34763 "prs", 34764 "dv", 34765 "sam", 34766 "ckb" 34767 ], g = ((_b = this.services) == null ? void 0 : _b.languageUtils) || new LanguageUtil(get()); 34768 return o.toLowerCase().indexOf("-latn") > 1 ? "ltr" : h.indexOf(g.getLanguagePartFromCode(o)) > -1 || o.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; 34769 } 34770 static createInstance(o = {}, h) { 34771 return new I18n(o, h); 34772 } 34773 cloneInstance(o = {}, h = noop) { 34774 const g = o.forkResourceStore; 34775 g && delete o.forkResourceStore; 34776 const b = { 34777 ...this.options, 34778 ...o, 34779 isClone: true 34780 }, $ = new I18n(b); 34781 if ((o.debug !== void 0 || o.prefix !== void 0) && ($.logger = $.logger.clone(o)), [ 34782 "store", 34783 "services", 34784 "language" 34785 ].forEach((et) => { 34786 $[et] = this[et]; 34787 }), $.services = { 34788 ...this.services 34789 }, $.services.utils = { 34790 hasLoadedNamespace: $.hasLoadedNamespace.bind($) 34791 }, g) { 34792 const et = Object.keys(this.store.data).reduce((tt, rt) => (tt[rt] = { 34793 ...this.store.data[rt] 34794 }, tt[rt] = Object.keys(tt[rt]).reduce((nt, st) => (nt[st] = { 34795 ...tt[rt][st] 34796 }, nt), tt[rt]), tt), {}); 34797 $.store = new ResourceStore(et, b), $.services.resourceStore = $.store; 34798 } 34799 return $.translator = new Translator($.services, b), $.translator.on("*", (et, ...tt) => { 34800 $.emit(et, ...tt); 34801 }), $.init(b, h), $.translator.options = b, $.translator.backendConnector.services.utils = { 34802 hasLoadedNamespace: $.hasLoadedNamespace.bind($) 34803 }, $; 34804 } 34805 toJSON() { 34806 return { 34807 options: this.options, 34808 store: this.store, 34809 language: this.language, 34810 languages: this.languages, 34811 resolvedLanguage: this.resolvedLanguage 34812 }; 34813 } 34814 } 34815 const instance = I18n.createInstance(); 34816 instance.createInstance = I18n.createInstance; 34817 instance.createInstance; 34818 instance.dir; 34819 instance.init; 34820 instance.loadResources; 34821 instance.reloadResources; 34822 instance.use; 34823 instance.changeLanguage; 34824 instance.getFixedT; 34825 instance.t; 34826 instance.exists; 34827 instance.setDefaultNamespace; 34828 instance.hasLoadedNamespace; 34829 instance.loadNamespaces; 34830 instance.loadLanguages; 34831 const us = { 34832 menuNav: { 34833 home: "Home", 34834 about: "About KURO", 34835 join: "Join Us" 34836 }, 34837 index: { 34838 title: "KURO GAMES", 34839 subTitle: "Together, We Make Games that Grow", 34840 mcDesc: "Wuthering Waves is a story-rich open-world action RPG with a high degree of freedom. You wake from your slumber as Rover, joined by a vibrant cast of Resonators on a journey to reclaim your lost memories and change the world.", 34841 zsDesc: 'As the Commandant, you\'ll lead humanity\'s last hope\u2014the bionic humanoids known as "Constructs"\u2014in the fight against mechanical armies infected by the "Punishing Virus."', 34842 featureImgName0: "<sty2>KURO FEST in Guangzhou</sty2>", 34843 featureImgName1: "<sty2>Bilibili World in Shanghai</sty2>", 34844 featureImgName2: "<sty2>Gamescom in Germany</sty2>", 34845 featureImgName3: "<sty2>TGS in Taipei</sty2>", 34846 featureImgName4: "<sty2>Pop-up Events in Korea</sty2>", 34847 featureImgName5: "<sty3>CICF\xD7AGF in Guangzhou</sty3>", 34848 featureImgName6: "<sty3>Pop-up Events in Guangzhou</sty3>", 34849 featureImgName7: "<sty3>Firefly ACG Festival in Guangzhou</sty3>", 34850 featureImgName8: "<sty3>Pop-up Events in Sanya</sty3>", 34851 featureImgName9: "<sty2>TGS in Japan</sty2>", 34852 featureImgName10: "<sty2>Pop-up Events in Taipei</sty2>", 34853 featureImgName11: 'Wuthering Waves "To the New World" Concert Tour \u2014 Shanghai', 34854 featureImgCsfc: "China Science Fiction Convention 2026", 34855 surroundingName1: "<sty3>Wuthering Waves Crownless Ultimate Figurine</sty3>", 34856 surroundingName2: "<sty3>Wuthering Waves Resonator Themed The Shorekeeper EP Art Set</sty3>", 34857 surroundingName3: "<sty3>Metheus Series Changli 1/7 Scale Figure</sty3>", 34858 surroundingName4: "<sty3>Punishing: Gray Raven Vinyl Record</sty3>", 34859 surroundingName5: "<sty3>Wuthering Waves Resonator Themed Seed of Fate Box</sty3>", 34860 surroundingName6: "<sty3>Wuthering Waves Verina 1/7 Figure</sty3>", 34861 surroundingName7: "<sty3>Wuthering Waves Camellya 1/7 Figure<mbr/> Sanguine Blossom Version</sty3>", 34862 surroundingName8: "<sty3>Wuthering Waves Phoebe 1/7 Figure</sty3>", 34863 surroundingName9: "Wuthering Waves Colored Vinyl Gift Box" 34864 }, 34865 about: { 34866 art1: { 34867 strong: 'Creating Top-Notch Interactive Entertainment by Staying True to "Reach for the Beyond"', 34868 text: "Founded in 2014 and now headquartered in Guangzhou, KURO GAMES was established by a team that values simplicity and honesty, committed to creating top-notch interactive experiences. Like a determined climber, the team has held fast to its faith in a better future, forging ahead through uncertainty and adversity to overcome one peak after another." 34869 }, 34870 art2: { 34871 strong: 'The Spirit of "Daring to Challenge" Inspires Personal Growth', 34872 text: "Over the past decade, KURO GAMES has navigated challenges, undergoing continuous growth and transformation along the way, gradually shaping our core values: embracing challenges and inspiring individuals to push beyond their limits, str
34872ive for constant growth, and become better versions of themselves." 34873 }, 34874 art3: { 34875 strong: "Expanding Globally through Development-Publishing-Operations System & IP Ecosystem", 34876 text: "Through game development, long-term live operations, global publishing, and original IP incubation, KURO GAMES pursues ongoing self-challenge and growth. Our live-service titles, such as Punishing: Gray Raven and Wuthering Waves, along with a range of IP-derived products, have reached players across Japan, South Korea, Southeast Asia, Europe, and the Americas." 34877 }, 34878 lang1: "Twin Tails Battleground Open Beta", 34879 lang2: "Punishing: Gray Raven First Reveal", 34880 lang3: "Punishing: Gray Raven Open Beta", 34881 lang4: "Punishing: Gray Raven x NieR:Automata", 34882 lang4_m: "Punishing: Gray Raven x <br/>NieR:Automata", 34883 lang5: "Wuthering Waves First Reveal & <br/>CG Concept Release", 34884 lang5_m: "Wuthering Waves First Reveal & <br/>CG Concept Release", 34885 lang6: "Wuthering Waves Hit <br/>30M+ Global Pre-Registrations", 34886 lang7: "Wuthering Waves Global Launch", 34887 lang8: "Punishing: Gray Raven x BLACK\u2605ROCK SHOOTER", 34888 lang8_2: "Punishing: Gray Raven x <br/>BLACK\u2605ROCK SHOOTER", 34889 lang9: "Wuthering Waves Was Nominated for <br/>Players' Voice and Best Mobile Game <br/>at The Game Awards 2024", 34890 lang9_m: "Wuthering Waves Was Nominated <br/>for Players' Voice and Best <br/>Mobile Game at The <br/>Game Awards 2024", 34891 lang10: "Punishing: Gray Raven x Devil May Cry 5", 34892 lang10_m: "Punishing: Gray Raven x <br/>Devil May Cry 5", 34893 lang10time: "2025/05", 34894 lang11: '"Against the Tide" from Wuthering Waves <br/>Won Hollywood Music in Media Awards <br/>2025 (Category: SONG - VIDEO GAME (CONSOLE & PC))', 34895 lang11_m: '"Against the Tide" from Wuthering Waves Won Hollywood Music in Media Awards 2025 (Category: SONG - VIDEO GAME (CONSOLE & PC))', 34896 lang11time: "2025/11", 34897 lang12: "Wuthering Waves Won PARTNER AWARD <br/>at PlayStation Partner Awards 2025", 34898 lang12_m: "Wuthering Waves Won PARTNER AWARD at PlayStation Partner Awards 2025", 34899 lang12time: "2025/12", 34900 lang13: "Wuthering Waves Won Players' Voice Award <br/>and was nominated for Best Mobile Game <br/>at The Game Awards 2025", 34901 lang13_m: "Wuthering Waves Won Players' Voice Award and was nominated for Best Mobile Game at The Game Awards 2025", 34902 lang13time: "2025/12", 34903 lang2time: "2019/02", 34904 lang3time: "2019/12", 34905 lang4time: "2021/01", 34906 lang5time: "2022/05", 34907 lang6time: "2024/03", 34908 lang7time: "2024/05", 34909 lang8time: "2023/08", 34910 lang9time: "2024/12", 34911 comingSoon: "Next Chapter Coming Soon" 34912 }, 34913 join: { 34914 videoTitle: "Reach for the Beyond", 34915 wellfare1: { 34916 title: "Office Environment", 34917 text: [ 34918 "Workspace: Desks equipped with ergonomic chairs.", 34919 "Lounge Area: Complimentary seasonal teas and freshly ground coffee.", 34920 "Fitness Area: Gym equipment, complete with shower facilities.", 34921 "Cat Zone: Resident feline colleagues who make occasional patrols." 34922 ] 34923 }, 34924 wellfare2: { 34925 title: "Compensation", 34926 text: [ 34927 "Industry-competitive compensation that rewards exceptional talent like you.", 34928 "Biannual salary reviews that recognize growth and performance.", 34929 "Social insurance coverage, housing provident fund contributions, and supplemental<br/>health insurance." 34930 ] 34931 }, 34932 wellfare3: { 34933 title: "Employee Benefits", 34934 text: [ 34935 "Onboarding gifts for new hires and commemorative gifts for work anniversaries.", 34936 "Gift boxes for selected holidays and year-end gifts for all employees.", 34937 "Lunch and dinner provided on weekdays, as well as occasional afternoon snacks.", 34938 "Annual leave available from the first year of employment, plus additional paid leave benefits." 34939 ] 34940 } 34941 }, 34942 contactText: "Contact Us", 34943 footerAboutText: "About KURO GAMES", 34944 copyrightText1: "Boycott harmful games; reject game piracy. Secure your account; avoid deception. Playing games in moderation makes you smarter; excessive indulgence is detrimental to your health. Plan your time properly and enjoy a healthy lifestyle.", 34945 copyrightText1_m: "Boycott harmful games; reject game piracy. Secure your account;<br/>avoid deception. Playing games in moderation makes you smarter;<br/>excessive indulgence is detrimental to your health. Plan your time properly and enjoy a healthy lifestyle.", 34946 companyText: "Copyright \xA9KURO GAMES. ALL RIGHTS RESERVED.", 34947 introduction1: "A Company that<br/>Thrives on Challenges",
34948 introduction2: "Simple and Honest<br/>Teamwork", 34949 introduction3: "Developing Games that<br/>Grow With Players", 34950 contact: { 34951 addressMain: "Building 10, Times E-Park Phase 2, Tianhe Smart City, ", 34952 addressSub: "Huaguan Road, Tianhe District, Guangzhou, China" 34953 }, 34954 privacyPolicy: "https://wutheringwaves.kurogames.com/p/language_en/privacy_policy.html", 34955 termsofService: "https://wutheringwaves.kurogames.com/p/language_en/terms_of_service.html", 34956 privacyPolicyText: "Privacy Policy", 34957 termsofServiceText: "Terms of Service" 34958 }, cn = { 34959 menuNav: { 34960 home: "\u9996\u9875", 34961 about: "\u5173\u4E8E\u5E93\u6D1B", 34962 join: "\u52A0\u5165\u6211\u4EEC" 34963 }, 34964 index: { 34965 title: "KURO GAMES", 34966 subTitle: "\u4E0E\u5168\u7403\u73A9\u5BB6\u5171\u521B\u6709\u6210\u957F\u6027\u7684\u6E38\u620F", 34967 mcDesc: "\u4E3B\u6253\u9AD8\u81EA\u7531\u5EA6\u7684\u52A8\u4F5C\u6218\u6597\u73A9\u6CD5\u4E0E\u4E30\u5BCC\u591A\u6837\u7684\u5F00\u653E\u4E16\u754C\u63A2\u7D22\u3002 \u800C\u4F60\uFF0C\u5728\u8FD9\u4E2A\u4E16\u754C\u82CF\u9192\u7684\u6F02\u6CCA\u8005\uFF0C\u5C06\u5728\u627E\u56DE\u8BB0\u5FC6\u3001\u5BFB\u627E\u81EA\u6211\u8EAB\u4EFD\u7684\u540C\u65F6\u7ED3\u8BC6\u65E0\u6570\u7684\u5171\u9E23\u8005\u540C\u4F34\uFF0C\u5E76\u548C\u4F19\u4F34\u4E00\u8D77\u8E0F\u4E0A\u8DE8\u8D8A\u60B2\u9E23\u7684\u65C5\u9014\u3002", 34968 zsDesc: "\u4F60\u5C06\u5316\u8EAB\u6307\u6325\u5B98\uFF0C\u5E26\u9886\u4EBA\u7C7B\u6700\u540E\u7684\u5E0C\u671B\u2014\u2014\u4EFF\u751F\u4EBA\u5F62\u300C\u6784\u9020\u4F53\u300D\uFF0C\u5171\u540C\u5BF9\u6297\u88AB\u300C\u5E15\u5F25\u4EC0\u300D\u75C5\u6BD2\u611F\u67D3\u7684\u673A\u68B0\u5927\u519B\u3002", 34969 featureImgName0: "\u5E7F\u5DDEKURO FEST\u5609\u5E74\u534E", 34970 featureImgName1: "\u4E0A\u6D77Bilibili World", 34971 featureImgName2: "\u5FB7\u56FDGamescom", 34972 featureImgName3: "\u53F0\u5317TGS", 34973 featureImgName4: "\u97E9\u56FD\u5FEB\u95EA", 34974 featureImgName5: "\u5E7F\u5DDECICF\xD7AGF", 34975 featureImgName6: "\u5E7F\u5DDE\u5FEB\u95EA", 34976 featureImgName7: "<sty2>\u5E7F\u5DDE\u8424\u706B\u866B\u52A8\u6F2B\u6E38\u620F\u5609\u5E74\u534E</sty2>", 34977 featureImgName8: "\u4E09\u4E9A\u5FEB\u95EA", 34978 featureImgName9: "\u65E5\u672CTGS", 34979 featureImgName10: "\u53F0\u5317\u5FEB\u95EA", 34980 featureImgName11: "\u300A\u9E23\u6F6E\u300B\u5DE1\u56DE\u6F14\u5531\u4F1A\u300C\u81F4\u4E88\u65B0\u4E16\u754C\u300D\u4E0A\u6D77\u7AD9", 34981 featureImgCsfc: "2026\u4E2D\u56FD\u79D1\u5E7B\u5927\u4F1A", 34982 surroundingName1: "\u9E23\u6F6E\u65E0\u51A0\u8005\u96D5\u50CF\u7EA7\u624B\u529E", 34983 surroundingName2: "\u9E23\u6F6E\u5171\u9E23\u8005\u4E3B\u9898\u5B88\u5CB8\u4EBAEP\u66F2\u7ED8\u5957\u7EC4", 34984 surroundingName3: "\u9E23\u6F6E\u85AA\u706B\u7CFB\u5217\u957F\u79BB1/7\u624B\u529E", 34985 surroundingName4: "\u6218\u53CC\u5E15\u5F25\u4EC0\u7EAA\u5FF5\u9ED1\u80F6\u793C\u76D2", 34986 surroundingName5: "\u9E23\u6F6E\u5171\u9E23\u8005\u4E3B\u9898\u547D\u5B9A\u4E4B\u79CD\u793C\u76D2", 34987 surroundingName6: "\u9E23\u6F6E\u7EF4\u91CC\u59481/7\u624B\u529E", 34988 surroundingName7: "\u9E23\u6F6E\u693F1/7\u624B\u529E \u7EA2\u693F\u76DB\u653EVer.", 34989 surroundingName8: "\u9E23\u6F6E\u83F2\u6BD41/7\u624B\u529E", 34990 surroundingName9: "\u9E23\u6F6E\u4E3B\u9898\u5F69\u80F6\u793C\u76D2" 34991 }, 34992 about: { 34993 art1: { 34994 strong: "\u4EE5\u6500\u767B\u8005\u59FF\u6001\u8DF5\u884C\u201C\u89C1\u8BC1\u66F4\u597D\u201D\u7684\u521D\u5FC3\uFF0C\u81F4\u529B\u6253\u9020\u4F18\u8D28\u4E92\u52A8\u5A31\u4E50\u4F53\u9A8C\u3002", 34995 text: "\u5E93\u6D1B\u6E38\u620F(KURO GAMES)\u8BDE\u751F\u4E8E2014\u5E74\uFF0C\u603B\u90E8\u4F4D\u4E8E\u5E7F\u5DDE\uFF0C\u81F4\u529B\u6253\u9020\u4F18\u8D28\u7684\u4E92\u52A8\u5A31\u4E50\u4F53\u9A8C\uFF0C\u6211\u4EEC\u8BDE\u751F\u5728\u4E00\u4E2A\u7B80\u5355\u800C\u7EAF\u7CB9\u7684\u56E2\u961F\u4E2D\uFF0C\u50CF\u4E00\u4F4D\u6267\u7740\u6500\u767B\u8005\uFF0C\u59CB\u7EC8\u79C9\u6301\u7740\u89C1\u8BC1\u66F4\u597D\u7684\u4FE1\u5FF5\uFF0C\u5728\u672A\u77E5\u4E2D\u98CE\u971C\u4E0D\u6539\u5730\u8DE8\u8D8A\u91CD\u91CD\u9AD8\u5C71\u3002" 34996 }, 34997 art2: { 34998 strong: "\u591A\u5E74\u6C89\u6DC0\u5F62\u6210\u201C\u52C7\u4E8E\u6311\u6218\u201D\u7684\u4EF7\u503C\u5185\u6838\uFF0C\u901A\u8FC7\u4EA7\u54C1\u52A9\u529B\u7528\u6237\u6210\u5C31\u66F4\u597D\u3002", 34999 text: "\u5341\u5E74\u8DEF\u6F2B\u6F2B\uFF0C\u5E93\u6D1B\u6E38\u620F\u5B8C\u6210\u4E86\u4E00\u4E2A\u53C8\u4E00\u4E2A\u8270\u96BE\u7684\u6311\u6218\uFF0C\u7ECF\u5386\u4E86\u4E00\u6B21\u53C8\u4E00\u6B21\u6210\u957F\u548C\u8715\u53D8\uFF0C\u7EC8\u4E8E\u5B55\u80B2\u51FA\u4E86\u5C5E\u4E8E\u5E93\u6D1B\u7684\u4EF7\u503C\u5BFC\u5411\uFF1A\u901A\u8FC7\u4F20\u9012\u201C\u52C7\u4E8E\u6311\u6218\u201D\u7684\u7CBE\u795E\uFF0C\u5E0C\u671B\u8BA9\u6BCF\u4E2A\u4EBA\u90FD\u80FD\u7A81\u7834\u81EA\u8EAB\u5C40\u9650\uFF0C\u4E0D\u65AD\u6210\u957F\uFF0C\u6210\u5C31\u66F4\u597D\u7684\u81EA\u5DF1\u3002" 35000 }, 35001 art3: { 35002 strong: "\u6784\u5EFA\u7814\u8FD0\u53D1\u4F53\u7CFB\u3001IP\u4EA7\u54C1\u751F\u6001\uFF0C\u51ED\u65D7\u4E0B\u4EA7\u54C1\u5F00\u62D3\u5168\u7403\u5E02\u573A\u3002", 35003 text: "\u76EE\u524D\uFF0C\u5E93\u6D1B\u6E38\u620F\u901A\u8FC7\u6E38\u620F\u7814\u53D1\u53CA\u957F\u7EBF\u8FD0\u8425\u3001\u5168\u7403\u5316\u53D1\u884C\u53CA\u539F\u521BIP\u5B75\u5316\u5B9E\u73B0\u81EA\u6211\u6311\u6218\u548C\u6210\u957F\uFF0C\u65D7\u4E0B\u5728\u8425\u4EA7\u54C1\u5305\u62EC\u300A\u6218\u53CC\u5E15\u5F25\u4EC0\u300B\u3001\u300A\u9E23\u6F6E\u300B\u4EE5\u53CA\u6E38\u620FIP\u884D\u751F\u4EA7\u54C1\uFF0C\u6D77\u5916\u53D1\u884C\u8986\u76D6\u65E5\u97E9\u3001\u4E1C\u5357\u4E9A\u3001\u6B27\u7F8E\u7B49\u56FD\u5BB6\u6216\u533A\u57DF\u3002" 35004 }, 35005 lang1: "\u300A\u6218\u573A\u53CC\u9A6C\u5C3E\u300B\u516C\u6D4B", 35006 lang2: "\u300A\u6218\u53CC\u5E15\u5F25\u4EC0\u300B\u9996\u66DD", 35007 lang2time: "2019/02", 35008 lang3: "\u300A\u6218\u53CC\u5E15\u5F25\u4EC0\u300B\u516C\u6D4B", 35009 lang3time: "2019/12", 35010 lang4: "\u300A\u6218\u53CC\u5E15\u5F25\u4EC0\u300Bx\u300A\u5C3C\u5C14 \u81EA\u52A8\u4EBA\u5F62\u300B", 35011 lang4time: "2021/01", 35012 lang5: "\u300A\u9E23\u6F6E\u300B\u9996\u66DD\u3001\u6982\u5FF5CG\u53D1\u5E03", 35013 lang5time: "2022/05", 35014 lang6: "\u300A\u9E23\u6F6E\u300B\u5168\u7403\u9884\u7EA6\u7A81\u78343000\u4E07", 35015 lang6time: "2024/03", 35016 lang7: "\u300A\u9E23\u6F6E\u300B\u5168\u7403\u540C\u6B65\u4E0A\u7EBF", 35017 lang7time: "2024/05", 35018 lang8: "\u300A\u6218\u53CC\u5E15\u5F25\u4EC0\u300Bx\u300ABLACK\u2605ROCK SHOOTER\u300B", 35019 lang8_2: "\u300A\u6218\u53CC\u5E15\u5F25\u4EC0\u300Bx\u300ABLACK\u2605ROCK SHOOTER\u300B", 35020 lang8time: "2023/08", 35021 lang9: "\u300A\u9E23\u6F6E\u300B\u5165\u56F42024 The Game Awards<br/> \u201C\u73A9\u5BB6\u4E4B\u58F0\u201D\u63D0\u540D&\u201C\u6700\u4F73\u79FB\u52A8\u6E38\u620F\u201D\u63D0\u540D", 35022 lang9_m: "\u300A\u9E23\u6F6E\u300B\u5165\u56F42024 The Game Awards\u201C\u73A9\u5BB6\u4E4B\u58F0\u201D\u63D0\u540D&\u201C\u6700\u4F73\u79FB\u52A8\u6E38\u620F\u201D\u63D0\u540D", 35023 lang9time: "2024/12", 35024 lang10: "\u300A\u6218\u53CC\u5E15\u5F25\u4EC0\u300Bx\u300A\u9B3C\u6CE35\u300B", 35025 lang10_m: "\u300A\u6218\u53CC\u5E15\u5F25\u4EC0\u300Bx\u300A\u9B3C\u6CE35\u300B", 35026 lang10time: "2025/05", 35027 lang11: "\u6B4C\u66F2\u300AAgainst the Tide\u300B\u83B7\u597D\u83B1\u575E\u97F3\u4E50\u4F20\u5A92\u5956<br/>2025\u5E74\u5EA6\u6700\u4F73\u6E38\u620F\u6B4C\u66F2\u5956\uFF08\u4E3B\u673A\u548CPC\u7C7B\uFF09", 35028 lang11_m: "\u6B4C\u66F2\u300AAgainst the Tide\u300B<br/>\u83B7\u597D\u83B1\u575E\u97F3\u4E50\u4F20\u5A92\u5956<br/>2025\u5E74\u5EA6\u6700\u4F73\u6E38\u620F\u6B4C\u66F2\u5956\uFF08\u4E3B\u673A\u548CPC\u7C7B\uFF09", 35029 lang11time: "2025/11", 35030 lang12: "\u300A\u9E23\u6F6E\u300B\u83B7PlayStation Partner Awards 2025<br/>\u201CPARTNER AWARD\u201D", 35031 lang12_m: "\u300A\u9E23\u6F6E\u300B\u83B7PlayStation PartnerAwards 2025<br/>\u201CPARTNER AWARD\u201D", 35032 lang12time: "2025/12", 35033 lang13: "\u300A\u9E23\u6F6E\u300B\u83B72025 The Game Awards \u201C\u73A9\u5BB6\u4E4B\u58F0\u201D\u5956\uFF0C<br/>\u5E76\u5165\u56F4\u201C\u6700\u4F73\u79FB\u52A8\u6E38\u620F\u201D\u63D0\u540D", 35034 lang13_m: "\u300A\u9E23\u6F6E\u300B\u83B72025 The Game Awards \u201C\u73A9\u5BB6\u4E4B\u58F0\u201D\u5956\uFF0C<br/>\u5E76\u5165\u56F4\u201C\u6700\u4F73\u79FB\u52A8\u6E38\u620F\u201D\u63D0\u540D", 35035 lang13time: "2025/12", 35036 comingSoon: "\u5373\u5C06\u89E3\u9501\u65B0\u7EF4\u5EA6" 35037 }, 35038 join: { 35039 videoTitle: "\u4E0E\u5E93\u6D1B\u4E00\u8D77\u8D8A\u8FC7\u9AD8\u5C71\uFF0C\u89C1\u8BC1\u66F4\u597D", 35040 wellfare1: { 35041 title: "\u529E\u516C\u73AF\u5883", 35042 text: [ 35043 "\u5DE5\u4F5C\u533A\uFF1A\u6807\u51C6\u5DE5\u4F4D\u914D\u5907\u4EBA\u4F53\u5DE5\u5B66\u6905", 35044 "\u4F11\u95F2\u533A\uFF1A\u5B9A\u671F\u5237\u65B0\u5E94\u5B63\u8336\u996E\uFF0C\u73B0\u78E8\u9ED1\u5496\u5561\u4F9B\u5E94", 35045 "\u5065\u8EAB\u533A\uFF1A\u914D\u5907\u5065\u8EAB\u573A\u5
35045730\u4E0E\u5668\u6750\uFF0C\u9644\u5E26\u6DCB\u6D74\u8BBE\u65BD", 35046 "\u55B5\u55B5\u533A\uFF1A\u5E38\u9A7B\u732B\u732B\u201C\u540C\u4E8B\u201D\uFF0C\u4E0D\u5B9A\u671F\u5DE5\u533A\u5DE1\u573A" 35047 ] 35048 }, 35049 wellfare2: { 35050 title: "\u85AA\u916C\u5F85\u9047", 35051 text: [ 35052 "\u884C\u4E1A\u7ADE\u4E89\u529B\u7684\u85AA\u916C\uFF0C\u4F18\u79C0\u7684\u4F60\u503C\u5F97\u66F4\u591A\u56DE\u62A5", 35053 "\u6BCF\u5E74\u4E24\u6B21\u7684\u85AA\u916C\u56DE\u987E\u673A\u4F1A\uFF0C\u80FD\u529B\u6210\u957F\u53CA\u65F6\u5151\u73B0", 35054 "\u4E94\u9669\u4E00\u91D1\uFF0C\u8865\u5145\u5546\u4E1A\u533B\u7597\u4FDD\u9669" 35055 ] 35056 }, 35057 wellfare3: { 35058 title: "\u5458\u5DE5\u798F\u5229", 35059 text: [ 35060 "\u65B0\u4EBA\u793C\u54C1\uFF0C\u53F8\u9F84\u7EAA\u5FF5\u54C1", 35061 "\u90E8\u5206\u4F20\u7EDF\u8282\u65E5\u793C\u76D2\u6389\u843D\uFF0C\u5E74\u4F1A\u9633\u5149\u666E\u7167\u793C\u54C1", 35062 "\u5DE5\u4F5C\u65E5\u5348\u665A\u9910\u4F9B\u5E94\uFF0C\u4E0D\u5B9A\u65F6\u6389\u843D\u4E0B\u5348\u8336", 35063 "\u9996\u5E74\u5373\u4EAB\u6CD5\u5B9A\u5E74\u5047\uFF0C\u5E26\u85AA\u798F\u5229\u5047" 35064 ] 35065 } 35066 }, 35067 contact: { 35068 addressMain: "\u5E7F\u5DDE\u5E02\u5929\u6CB3\u533A\u534E\u89C2\u8DEF", 35069 addressSub: "\u5929\u6CB3\u667A\u6167\u57CE\u65F6\u4EE3E-Park2\u671F10\u680B" 35070 }, 35071 contactText: "\u8054\u7CFB\u6211\u4EEC", 35072 growthText: "\u672A\u6210\u5E74\u5173\u7231\u4F53\u7CFB", 35073 copyrightText1: "\u62B5\u5236\u4E0D\u826F\u6E38\u620F \u62D2\u7EDD\u76D7\u7248\u6E38\u620F \u6CE8\u610F\u81EA\u6211\u4FDD\u62A4 \u8C28\u9632\u4E0A\u5F53\u53D7\u9A97 \u9002\u5EA6\u6E38\u620F\u76CA\u8111 \u6C89\u8FF7\u6E38\u620F\u4F24\u8EAB \u5408\u7406\u5B89\u6392\u65F6\u95F4 \u4EAB\u53D7\u5065\u5EB7\u751F\u6D3B", 35074 copyrightText1_m: "\u62B5\u5236\u4E0D\u826F\u6E38\u620F \u62D2\u7EDD\u76D7\u7248\u6E38\u620F \u6CE8\u610F\u81EA\u6211\u4FDD\u62A4 \u8C28\u9632\u4E0A\u5F53\u53D7\u9A97<br/>\u9002\u5EA6\u6E38\u620F\u76CA\u8111 \u6C89\u8FF7\u6E38\u620F\u4F24\u8EAB \u5408\u7406\u5B89\u6392\u65F6\u95F4 \u4EAB\u53D7\u5065\u5EB7\u751F\u6D3B", 35075 companyText: "Copyright \xA9 \u5E7F\u5DDE\u5E93\u6D1B\u79D1\u6280\u6709\u9650\u516C\u53F8", 35076 agreement_publicText: "\u7528\u6237\u534F\u8BAE", 35077 child_privacyText: "\u513F\u7AE5\u9690\u79C1\u653F\u7B56", 35078 personal_privacyText: "\u9690\u79C1\u653F\u7B56", 35079 IntegratedNOText: "\u7CA4ICP\u590718069368\u53F7", 35080 ICPText: "\u7CA4\u516C\u7F51\u5B89\u5907 44010602012438\u53F7", 35081 introduction1: "\u4E0D\u65AD\u6311\u6218\u6210\u957F\u7684\u516C\u53F8", 35082 introduction2: "\u7B80\u5355\u800C\u7EAF\u7CB9\u7684\u56E2\u961F", 35083 introduction3: "\u6253\u9020\u6210\u957F\u6027\u6E38\u620F", 35084 ICPLink: "https://beian.miit.gov.cn/#/Integrated/index", 35085 webSearch: "https://beian.mps.gov.cn/#/query/webSearch", 35086 agreementPublic: "https://sdk.kurogames.com/p/agreement_public.html", 35087 privacyPolicy: "https://sdk.kurogames.com/p/personal_privacy.html", 35088 termsofService: "https://sdk.kurogames.com/p/child_privacy.html", 35089 growth: "https://www.kurogames.com/growth" 35090 }, tw = { 35091 menuNav: { 35092 home: "\u9996\u9801", 35093 about: "\u95DC\u65BC\u5EAB\u6D1B", 35094 join: "\u52A0\u5165\u6211\u5011" 35095 }, 35096 index: { 35097 title: "KURO GAMES", 35098 subTitle: "\u8207\u5168\u7403\u73A9\u5BB6\u5171\u5275\u6709\u6210\u9577\u6027\u7684\u904A\u6232", 35099 mcDesc: "\u4E3B\u6253\u9AD8\u81EA\u7531\u5EA6\u7684\u52D5\u4F5C\u6230\u9B25\u73A9\u6CD5\u8207\u8C50\u5BCC\u591A\u6A23\u7684\u958B\u653E\u4E16\u754C\u63A2\u7D22\u3002\u800C\u4F60\uFF0C\u5728\u9019\u500B\u4E16\u754C\u7526\u9192\u7684\u6F02\u6CCA\u8005\uFF0C\u5C07\u5728\u627E\u56DE\u8A18\u61B6\u3001\u5C0B\u627E\u81EA\u6211\u8EAB\u5206\u7684\u540C\u6642\u7D50\u8B58\u7121\u6578\u7684\u5171\u9CF4\u8005\u540C\u4F34\uFF0C\u4E26\u548C\u5925\u4F34\u4E00\u8D77\u8E0F\u4E0A\u8DE8\u8D8A\u60B2\u9CF4\u7684\u65C5\u9014\u3002", 35100 zsDesc: "\u4F60\u5C07\u5316\u8EAB\u6307\u63EE\u5B98\uFF0C\u5E36\u9818\u4EBA\u985E\u6700\u5F8C\u7684\u5E0C\u671B\u2014\u2014\u4EFF\u751F\u4EBA\u5F62\u300C\u69CB\u9020\u9AD4\u300D\uFF0C\u5171\u540C\u5C0D\u6297\u88AB\u300C\u5E15\u5F4C\u4EC0\u300D\u75C5\u6BD2\u611F\u67D3\u7684\u6A5F\u68B0\u5927\u8ECD\u3002", 35101 featureImgName0: "\u5EE3\u5DDEKURO FEST\u5609\u5E74\u83EF", 35102 featureImgName1: "\u4E0A\u6D77Bilibili World", 35103 featureImgName2: "\u5FB7\u570BGamescom", 35104 featureImgName3: "\u81FA\u5317TGS", 35105 featureImgName4: "\u97D3\u570B\u5FEB\u9583", 35106 featureImgName5: "\u5EE3\u5DDECICF\xD7AGF", 35107 featureImgName6: "\u5EE3\u5DDE\u5FEB\u9583", 35108 featureImgName7: "<sty2>\u5EE3\u5DDE\u87A2\u706B\u87F2\u52D5\u6F2B\u904A\u6232\u5609\u5E74\u83EF</sty2>", 35109 featureImgName8: "\u4E09\u4E9E\u5FEB\u9583", 35110 featureImgName9: "\u65E5\u672CTGS", 35111 featureImgName10: "\u81FA\u5317\u5FEB\u9583", 35112 featureImgName11: "\u300A\u9CF4\u6F6E\u300B\u5DE1\u8FF4\u6F14\u5531\u6703\u300C\u81F4\u4E88\u65B0\u4E16\u754C\u300D\u4E0A\u6D77\u7AD9", 35113 featureImgCsfc: "2026\u4E2D\u570B\u79D1\u5E7B\u5927\u6703", 35114 surroundingName1: "\u9CF4\u6F6E\u7121\u51A0\u8005\u96D5\u50CF\u7D1A\u624B\u8FA6", 35115 surroundingName2: "\u9CF4\u6F6E\u5171\u9CF4\u8005\u4E3B\u984C\u5B88\u5CB8\u4EBAEP\u66F2\u7E6A\u5957\u7D44", 35116 surroundingName3: "\u9CF4\u6F6E\u85AA\u706B\u7CFB\u5217\u9577\u96E21/7\u624B\u8FA6", 35117 surroundingName4: "\u6230\u96D9\u5E15\u5F4C\u4EC0\u7EAA\u5FF5\u9ED1\u81A0\u79AE\u76D2", 35118 surroundingName5: "\u9CF4\u6F6E\u5171\u9CF4\u8005\u4E3B\u984C\u547D\u5B9A\u4E4B\u7A2E\u79AE\u76D2", 35119 surroundingName6: "\u9CF4\u6F6E\u7DAD\u91CC\u59481/7\u6A21\u578B", 35120 surroundingName7: "\u9CF4\u6F6E\u693F1/7\u624B\u8FA6 \u7D05\u693F\u76DB\u653EVer.", 35121 surroundingName8: "\u9CF4\u6F6E\u83F2\u6BD41/7\u624B\u8FA6", 35122 surroundingName9: "\u9CF4\u6F6E\u4E3B\u984C\u5F69\u81A0\u79AE\u76D2" 35123 }, 35124 about: { 35125 art1: { 35126 strong: "\u4EE5\u6500\u767B\u8005\u59FF\u614B\u8E10\u884C\u300C\u898B\u8B49\u66F4\u597D\u300D\u7684\u521D\u5FC3\uFF0C\u81F4\u529B\u6253\u9020\u512A\u8CEA\u4E92\u52D5\u5A1B\u6A02\u9AD4\u9A57\u3002", 35127 text: "\u5EAB\u6D1B\u904A\u6232(KURO GAMES)\u8A95\u751F\u65BC2014\u5E74\uFF0C\u7E3D\u90E8\u4F4D\u65BC\u5EE3\u5DDE\uFF0C\u81F4\u529B\u65BC\u6253\u9020\u512A\u8CEA\u7684\u4E92\u52D5\u5A1B\u6A02\u9AD4\u9A57\u3002\u6211\u5011\u8A95\u751F\u5728\u4E00\u500B\u7C21\u55AE\u800C\u7D14\u7CB9\u7684\u5718\u968A\u4E2D\uFF0C\u50CF\u4E00\u4F4D\u57F7\u8457\u7684\u6500\u767B\u8005\uFF0C\u59CB\u7D42\u79C9\u6301\u8457\u898B\u8B49\u66F4\u597D\u7684\u4FE1\u5FF5\uFF0C\u5728\u672A\u77E5\u4E2D\u98A8\u971C\u4E0D\u6539\u5730\u8DE8\u8D8A\u91CD\u91CD\u9AD8\u5C71\u3002" 35128 }, 35129 art2: { 35130 strong: "\u591A\u5E74\u6C89\u6FB1\u5F62\u6210\u300C\u52C7\u65BC\u6311\u6230\u300D\u7684\u50F9\u503C\u5167\u6838\uFF0C\u900F\u904E\u7522\u54C1\u52A9\u529B\u7528\u6236\u6210\u5C31\u66F4\u597D\u3002", 35131 text: "\u5341\u5E74\u8DEF\u6F2B\u6F2B\uFF0C\u5EAB\u6D1B\u904A\u6232\u5B8C\u6210\u4E86\u4E00\u500B\u53C8\u4E00\u500B\u8271\u96E3\u7684\u6311\u6230\uFF0C\u7D93\u6B77\u4E86\u4E00\u6B21\u53C8\u4E00\u6B21\u6210\u9577\u548C\u86FB\u8B8A\uFF0C\u7D42\u65BC\u5728\u9
3513104E\u7A0B\u4E2D\u5B55\u80B2\u51FA\u4E86\u5C6C\u65BC\u5EAB\u6D1B\u7684\u50F9\u503C\u5C0E\u5411\uFF1A\u900F\u904E\u50B3\u905E\u300C\u52C7\u65BC\u6311\u6230\u300D\u7684\u7CBE\u795E\uFF0C\u5E0C\u671B\u8B93\u6BCF\u500B\u4EBA\u90FD\u80FD\u7A81\u7834\u81EA\u8EAB\u7684\u5C40\u9650\uFF0C\u4E0D\u65B7\u6210\u9577\uFF0C\u6210\u5C31\u66F4\u597D\u7684\u81EA\u5DF1\u3002" 35132 }, 35133 art3: { 35134 strong: "\u69CB\u5EFA\u7814\u904B\u767C\u9AD4\u7CFB\u3001IP\u7522\u54C1\u751F\u614B\uFF0C\u6191\u65D7\u4E0B\u7522\u54C1\u958B\u62D3\u5168\u7403\u5E02\u5834\u3002", 35135 text: "\u76EE\u524D\uFF0C\u5EAB\u6D1B\u904A\u6232\u900F\u904E\u904A\u6232\u7814\u767C\u53CA\u9577\u7DDA\u71DF\u904B\u3001\u5168\u7403\u5316\u767C\u884C\u53CA\u539F\u5275IP\u5B75\u5316\u5BE6\u73FE\u81EA\u6211\u6311\u6230\u548C\u6210\u9577\uFF0C\u65D7\u4E0B\u5728\u71DF\u7522\u54C1\u5305\u62EC\u300A\u6230\u96D9\u5E15\u5F4C\u4EC0\u300B\u3001\u300A\u9CF4\u6F6E\u300B\u4EE5\u53CA\u904A\u6232IP\u884D\u751F\u7522\u54C1\uFF0C\u6D77\u5916\u767C\u884C\u8986\u84CB\u65E5\u97D3\u3001\u6771\u5357\u4E9E\u3001\u6B50\u7F8E\u7B49\u570B\u5BB6\u548C\u5730\u5340\u3002" 35136 }, 35137 lang1: "\u300A\u6230\u5834\u96D9\u99AC\u5C3E\u300B\u516C\u6E2C", 35138 lang2: "\u300A\u6230\u96D9\u5E15\u5F4C\u4EC0\u300B\u9996\u66DD", 35139 lang3: "\u300A\u6230\u96D9\u5E15\u5F4C\u4EC0\u300B\u516C\u6E2C", 35140 lang4: "\u300A\u6230\u96D9\u5E15\u5F4C\u4EC0\u300Bx\u300A\u5C3C\u723E\uFF1A\u81EA\u52D5\u4EBA\u5F62\u300B", 35141 lang5: "\u300A\u9CF4\u6F6E\u300B\u9996\u66DD\u3001\u6982\u5FF5CG\u767C\u5E03", 35142 lang6: "\u300A\u9CF4\u6F6E\u300B\u5168\u7403\u9810\u7D04\u7A81\u78343000\u842C", 35143 lang7: "\u300A\u9CF4\u6F6E\u300B\u5168\u7403\u540C\u6B65\u4E0A\u7DDA", 35144 lang8: "\u300A\u6230\u96D9\u5E15\u5F4C\u4EC0\u300Bx\u300ABLACK\u2605ROCK SHOOTER\u300B", 35145 lang8_2: "\u300A\u6230\u96D9\u5E15\u5F4C\u4EC0\u300Bx\u300ABLACK\u2605ROCK SHOOTER\u300B", 35146 lang9: "\u300A\u9CF4\u6F6E\u300B\u5165\u570D2024 The Game Awards<br/>\u201C\u73A9\u5BB6\u4E4B\u8072\u201D\u63D0\u540D&\u201C\u6700\u4F73\u79FB\u52D5\u904A\u6232\u201D\u63D0\u540D", 35147 lang9_m: "\u300A\u9CF4\u6F6E\u300B\u5165\u570D2024 The Game Awards\u201C\u73A9\u5BB6\u4E4B\u8072\u201D\u63D0\u540D&\u201C\u6700\u4F73\u79FB\u52D5\u904A\u6232\u201D\u63D0\u540D", 35148 lang10: "\u300A\u6230\u96D9\u5E15\u5F4C\u4EC0\u300Bx\u300A\u9B3C\u6CE35\u300B", 35149 lang10_m: "\u300A\u6230\u96D9\u5E15\u5F4C\u4EC0\u300Bx\u300A\u9B3C\u6CE35\u300B", 35150 lang10time: "2025/05", 35151 lang11: "\u6B4C\u66F2\u300AAgainst the Tide\u300B\u7372\u597D\u840A\u5862\u97F3\u6A02\u50B3\u5A92\u734E<br/>2025\u5E74\u5EA6\u6700\u4F73\u904A\u6232\u6B4C\u66F2\u734E\uFF08\u4E3B\u6A5F\u548CPC\u985E\uFF09", 35152 lang11_m: "\u6B4C\u66F2\u300AAgainst the Tide\u300B<br/>\u7372\u597D\u840A\u5862\u97F3\u6A02\u50B3\u5A92\u734E2025<br/>\u5E74\u5EA6\u6700\u4F73\u904A\u6232\u6B4C\u66F2\u734E\uFF08\u4E3B\u6A5F\u548CPC\u985E\uFF09", 35153 lang11time: "2025/11", 35154 lang12: "\u300A\u9CF4\u6F6E\u300B\u7372PlayStation Partner Awards 2025<br/>\u201CPARTNER AWARD\u201D\u734E\u9805", 35155 lang12_m: "\u300A\u9CF4\u6F6E\u300B\u7372PlayStation Partner Awards 2025<br/>\u201CPARTNER AWARD\u201D\u734E\u9805", 35156 lang12time: "2025/12", 35157 lang13: "\u300A\u9CF4\u6F6E\u300B\u73722025 The Game Awards \u201C\u73A9\u5BB6\u4E4B\u8072\u201D\u734E\uFF0C<br/>\u4E26\u5165\u570D\u201C\u6700\u4F73\u79FB\u52D5\u904A\u6232\u201D\u63D0\u540D", 35158 lang13_m: "\u300A\u9CF4\u6F6E\u300B\u73722025 The Game Awards \u201C\u73A9\u5BB6\u4E4B\u8072\u201D\u734E\uFF0C<br/>\u4E26\u5165\u570D\u201C\u6700\u4F73\u79FB\u52D5\u904A\u6232\u201D\u63D0\u540D", 35159 lang13time: "2025/12", 35160 lang2time: "2019/02", 35161 lang3time: "2019/12", 35162 lang4time: "2021/01", 35163 lang5time: "2022/05", 35164 lang6time: "2024/03", 35165 lang7time: "2024/05", 35166 lang8time: "2023/08", 35167 lang9time: "2024/12", 35168 comingSoon: "\u5373\u5C07\u89E3\u9396\u65B0\u7DAD\u5EA6" 35169 }, 35170 join: { 35171 videoTitle: "\u8207\u5EAB\u6D1B\u4E00\u8D77\u8D8A\u904E\u9AD8\u5C71\uFF0C\u898B\u8B49\u66F4\u597D", 35172 wellfare1: { 35173 title: "\u8FA6\u516C\u74B0\u5883", 35174 text: [ 35175 "\u5DE5\u4F5C\u5340\uFF1A\u914D\u5099\u4EBA\u9AD4\u5DE5\u5B78\u6905", 35176 "\u4F11\u9592\u5340\uFF1A\u5B9A\u671F\u66F4\u65B0\u61C9\u5B63\u8336\u98F2\uFF0C\u73FE\u78E8\u9ED1\u5496\u5561\u4F9B\u61C9", 35177 "\u5065\u8EAB\u5340\uFF1A\u914D\u5099\u5065\u8EAB\u5834\u5730\u8207\u5668\u6750\uFF0C\u9644\u5E36\u6DCB\u6D74\u8A2D\u65BD", 35178 "\u55B5\u55B5\u5340\uFF1A\u5E38\u99D0\u8C93\u8C93\u300C\u540C\u4E8B\u300D\uFF0C\u4E0D\u5B9A\u671F\u5DE5\u5340\u5DE1\u5834" 35179 ] 35180 }, 35181 wellfare2: { 35182 title: "\u85AA\u916C\u5F85\u9047", 35183 text: [ 35184 "\u5177\u6709\u884C\u696D\u7AF6\u722D\u529B\u7684\u85AA\u916C\uFF0C\u512A\u79C0\u7684\u4F60\u503C\u5F97\u66F4\u591A\u56DE\u5831", 35185 "\u6BCF\u5E74\u5169\u6B21\u7684\u85AA\u916C\u56DE\u9867\u6A5F\u6703\uFF0C\u80FD\u529B\u6210\u9577\u53CA\u6642\u514C\u73FE", 35186 "\u4E94\u96AA\u4E00\u91D1\uFF0C\u88DC\u5145\u5546\u696D\u91AB\u7642\u4FDD\u96AA" 35187 ] 35188 }, 35189 wellfare3: { 35190 title: "\u54E1\u5DE5\u798F\u5229", 35191 text: [ 35192 "\u65B0\u4EBA\u79AE\u54C1\u3001\u53F8\u9F61\u7D00\u5FF5\u54C1", 35193 "\u90E8\u5206\u50B3\u7D71\u7BC0\u65E5\u79AE\u76D2\u6389\u843D\u3001\u5E74\u6703\u79AE\u54C1", 35194 "\u5DE5\u4F5C\u65E5\u5348\u665A\u9910\u4F9B\u61C9\uFF0C\u4E0D\u5B9A\u6642\u6389\u843D\u4E0B\u5348\u8336", 35195 "\u9996\u5E74\u5373\u4EAB\u6CD5\u5B9A\u5E74\u5047\u3001\u5E36\u85AA\u798F\u5229\u5047" 35196 ] 35197 } 35198 },
35199 contactText: "\u806F\u7D61\u6211\u5011", 35200 growthText: "\u672A\u6210\u5E74\u95DC\u611B\u9AD4\u7CFB", 35201 copyrightText1: "\u62B5\u5236\u4E0D\u826F\u904A\u6232 \u62D2\u7D55\u76DC\u7248\u904A\u6232 \u6CE8\u610F\u81EA\u6211\u4FDD\u8B77 \u8B39\u9632\u4E0A\u7576\u53D7\u9A19 \u9069\u5EA6\u904A\u6232\u76CA\u8166 \u6C89\u8FF7\u904A\u6232\u50B7\u8EAB \u5408\u7406\u5B89\u6392\u6642\u9593 \u4EAB\u53D7\u5065\u5EB7\u751F\u6D3B", 35202 copyrightText1_m: "\u62B5\u5236\u4E0D\u826F\u904A\u6232 \u62D2\u7D55\u76DC\u7248\u904A\u6232 \u6CE8\u610F\u81EA\u6211\u4FDD\u8B77 \u8B39\u9632\u4E0A\u7576\u53D7\u9A19<br/>\u9069\u5EA6\u904A\u6232\u76CA\u8166 \u6C89\u8FF7\u904A\u6232\u50B7\u8EAB \u5408\u7406\u5B89\u6392\u6642\u9593 \u4EAB\u53D7\u5065\u5EB7\u751F\u6D3B", 35203 companyText: "Copyright \xA9KURO GAMES. ALL RIGHTS RESERVED.", 35204 agreement_publicText: "\u4F7F\u7528\u8005\u5354\u8B70", 35205 child_privacyText: "\u5152\u7AE5\u96B1\u79C1\u6B0A\u653F\u7B56", 35206 personal_privacyText: "\u96B1\u79C1\u6B0A\u653F\u7B56", 35207 IntegratedNOText: "\u7CB5ICP\u5099 18069368\u53F7", 35208 ICPText: "\u7CB5\u516C\u7DB2\u5B89\u5099 44010602012438\u53F7", 35209 introduction1: "\u4E0D\u65B7\u6311\u6230\u6210\u9577\u7684\u516C\u53F8", 35210 introduction2: "\u7C21\u55AE\u800C\u7D14\u7CB9\u7684\u5718\u968A", 35211 introduction3: "\u6253\u9020\u6210\u9577\u6027\u904A\u6232", 35212 contact: { 35213 addressMain: "\u5EE3\u5DDE\u5E02\u5929\u6CB3\u5340\u83EF\u89C0\u8DEF", 35214 addressSub: "\u5929\u6CB3\u667A\u6167\u57CE\u6642\u4EE3E-Park\u4E8C\u671F10\u68DF" 35215 }, 35216 ICPLink: "https://beian.miit.gov.cn/#/Integrated/index", 35217 webSearch: "https://beian.mps.gov.cn/#/query/webSearch", 35218 agreementPublic: "https://sdk.kurogames.com/p/agreement_public.html", 35219 privacyPolicy: "https://wutheringwaves.kurogames.com/p/language_en/privacy_policy.html", 35220 termsofService: "https://wutheringwaves.kurogames.com/p/language_en/terms_of_service.html", 35221 growth: "https://www.kurogames.com/growth", 35222 privacyPolicyText: "\u96B1\u79C1\u6B0A\u653F\u7B56", 35223 termsofServiceText: "\u4F7F\u7528\u8005\u5354\u8B70" 35224 }, kr = { 35225 menuNav: { 35226 home: "\uD648", 35227 about: "\uD68C\uC0AC \uC18C\uAC1C", 35228 join: "\uCC44\uC6A9 \uC548\uB0B4" 35229 }, 35230 index: { 35231 title: "KURO GAMES", 35232 subTitle: "\uC804 \uC138\uACC4 \uD50C\uB808\uC774\uC5B4\uC640 \uD568\uAED8, \uC131\uC7A5\uD558\uB294 \uAC8C\uC784\uC744 \uB9CC\uB4ED\uB2C8\uB2E4", 35233 mcDesc: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F\uB294 \uC790\uC720\uB85C\uC6B4 \uC561\uC158 \uC804\uD22C\uC640 \uB2E4\uC591\uD55C \uC624\uD508 \uC6D4\uB4DC \uD0D0\uC0AC\uB97C\n\uC990\uAE38 \uC218 \uC788\uB294 \uC624\uD508 \uC6D4\uB4DC \uC561\uC158 RPG\uC785\uB2C8\uB2E4. \uB2F9\uC2E0\uC740 \uC774 \uC138\uC0C1\uC5D0\uC11C \uB208\uC744 \uB72C \uBC29\uB791\uC790\uC774\uBA70\n\uC783\uC5B4\uBC84\uB9B0 \uAE30\uC5B5\uC744 \uB418\uCC3E\uACE0 \uC790\uC2E0\uC774 \uB204\uAD6C\uC778\uC9C0 \uC54C\uC544\uAC00\uAE30 \uC704\uD574, \uC218\uB9CE\uC740 \uACF5\uBA85\uC790 \uBC0F \uB3D9\uB8CC\uB4E4\uACFC \uD568\uAED8\n\uBE44\uBA85\uC744 \uADF9\uBCF5\uD558\uB294 \uC5EC\uC815\uC744 \uB5A0\uB0A9\uB2C8\uB2E4.", 35234 zsDesc: "\uC9C0\uD718\uAD00\uC778 \uB2F9\uC2E0\uC740 \uC778\uAC04\uC758 \uB9C8\uC9C0\uB9C9 \uD76C\uB9DD\uC774\uC790, \uC0DD\uCCB4\uACF5\uD559 \uC778\uAC04\uD615\uC778\n\u300C\uAD6C\uC870\uCCB4\u300D\uB97C \uC774\uB04C\uACE0, \u300C\uD37C\uB2C8\uC2F1\u300D\uC5D0 \uCE68\uC2DD\uB41C \uAE30\uACC4 \uAD70\uB2E8\uACFC \uB9DE\uC11C \uC2F8\uC6B0\uAC8C \uB429\uB2C8\uB2E4.", 35235 featureImgName0: "\uAD11\uC800\uC6B0 \uCFE0\uB85C \uD398\uC2A4\uD2F0\uBC8C", 35236 featureImgName1: "\uC0C1\uD558\uC774 Bilibili World", 35237 featureImgName2: "\uB3C5\uC77C Gamescom", 35238 featureImgName3: "\uD0C0\uC774\uBCA0\uC774 TGS", 35239 featureImgName4: "\uD55C\uAD6D \uD31D\uC5C5 \uC2A4\uD1A0\uC5B4", 35240 featureImgName5: "\uAD11\uC800\uC6B0 CICF\xD7AGF", 35241 featureImgName6: "\uAD11\uC800\uC6B0 \uD31D\uC5C5 \uC2A4\uD1A0\uC5B4", 35242 featureImgName7: "<sty2>\uAD11\uC800\uC6B0 Firefly ACG Festival</sty2>", 35243 featureImgName8: "\uC2FC\uC57C \uD31D\uC5C5 \uC2A4\uD1A0\uC5B4", 35244 featureImgName9: "\uC77C\uBCF8 TGS \uC804\uC2DC\uD68C", 35245 featureImgName10: "<sty2>\uD0C0\uC774\uBCA0\uC774 \uD31D\uC5C5 \uC2A4\uD1A0\uC5B4</sty2>", 35246 featureImgName11: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F \uC6D4\uB4DC \uD22C\uC5B4 \uC0C1\uD558\uC774 \uCF58\uC11C\uD2B8 \u300CTo The New World\u300D", 35247 featureImgCsfc: "2026 \uC911\uAD6D SF \uBC15\uB78C\uD68C", 35248 surroundingName1: "<sty2>\uBA85\uC870 \uD06C\uB77C\uC6B4\uB9AC\uC2A4 \uC5BC\uD2F0\uBA54\uC774\uD2B8 \uD53C\uADDC\uC5B4</sty2>", 35249 surroundingName2: "<sty2>\uBA85\uC870 \uACF5\uBA85\uC790 \uD14C\uB9C8 \uD30C\uC218\uC778 EP \uC77C\uB7EC\uC2A4\uD2B8 \uC138\uD2B8</sty2>", 35250 surroundingName3: "<sty2>Metheus Series \uBA85\uC870 \uC7A5\uB9AC 1/7 \uD53C\uADDC\uC5B4</sty2>", 35251 surroundingName4: "\uD37C\uB2C8\uC2F1 LP \uC138\uD2B8", 35252 surroundingName5: "<sty2>\uBA85\uC870 \uACF5\uBA85\uC790 \uD14C\uB9C8 \uC6B4\uBA85\uC758 \uC528\uC557 \uC138\uD2B8</sty2>", 35253 surroundingName6: "<sty2>\uBA85\uC870 \uBCA8\uB9AC\uB098 1/7 \uD53C\uADDC\uC5B4</sty2>", 35254 surroundingName7: "<sty2>Metheus Series \uBA85\uC870 \uCE74\uBA5C\uB9AC\uC544 1/7 \uD53C\uADDC\uC5B4 \uC624\uBC84\uD074\uB7ED Ver.</sty2>", 35255 surroundingName8: "<sty2>Metheus Series \uBA85\uC870 \uD398\uBE44 1/7 \uD53C\uADDC\uC5B4</sty2>", 35256 surroundingName9: "\uBA85\uC870 \uCEEC\uB7EC LP \uC120\uBB3C \uC138\uD2B8" 35257 }, 35258 about: { 35259 art1: { 35260 strong: '"\uB192\uC740 \uC0B0\uC744 \uB118\uC5B4, \uB354 \uB098\uC740 \uB0B4\uC77C\uB85C"\uB77C\uB294 \uCD08\uC2EC\uC744 \uAC16\uACE0, KURO GAMES\uB294 \uACE0\uD488\uC9C8 \uC778\uD130\uB799\uD2F0\uBE0C \uC5D4\uD130\uD14C\uC778\uBA3C\uD2B8 \uCF58\uD150\uCE20 \uC81C\uACF5\uC744 \uC704\uD574 \uC804\uB825\uC744 \uB2E4\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4.', 35261 text: '2014\uB144 \uAD11\uC800\uC6B0\uC5D0 \uBCF8\uC0AC\uB97C \uC124\uB9BD\uD55C KURO GAMES\uB294 \uB192\uC740 \uD004\uB9AC\uD2F0\uC758 \uC778\uD130\uB799\uD2F0\uBE0C \uC5D4\uD130\uD14C\uC778\uBA3C\uD2B8 \uCF58\uD150\uCE20\uB97C \uC81C\uACF5\uD558\uB294 \uAE30\uC5C5\uC73C\uB85C \uAC70\uB4ED\uB098\uACE0 \uC788\uC2B5\uB2C8\uB2E4. \uC21C\uC218\uD55C \uC5F4\uC815\uACFC \uACAC\uACE0\uD55C \uD300\uC6CC\uD06C\uB97C \uBC14\uD0D5\uC73C\uB85C, \uAC00\uC2DC\uB85C \uB36E\uC778 \uAE38\uC77C\uC9C0\uB77C\uB3C4 \uB048\uAE30 \uC788\uB294 \uB4F1\uBC18\uAC00\uCC98\uB7FC "\uB354 \uB098\uC740 \uB0B4\uC77C\uC744 \uD5A5\uD574"\uB77C\uB294 \uC2E0\uB150 \uC544\uB798 \uB3C4\uC804\uD558\uBA70 \uD55C \uAC78\uC74C\uC529 \uB098\uC544\uAC00\uACE0 \uC788\uC2B5\uB2C8\uB2E4.' 35262 }, 35263 art2: { 35264 strong: '\uC5EC\uB7EC \uD574\uC5D0 \uAC78\uCCD0 \uC815\uB9BD\uB41C "\uC6A9\uAE30 \uC788\uB294 \uB3C4\uC804"\uC774\uB77C\uB294 \uD575\uC2EC \uAC00\uCE58 \uC544\uB798, KURO GAMES\uB294 \uC81C\uD488\uC744 \uD1B5\uD574 \uC0AC\uC6A9\uC790\uC640 \uD568\uAED8 \uC131\uC7A5\uD574 \uB098\uAC00\uACE0 \uC788\uC2B5\uB2C8\uB2E4.', 35265 text: '\uC9C0\uB09C 10\uB144\uAC04 KURO GAMES\uB294 \uC218\uB9CE\uC740 \uB3C4\uC804\uC5D0 \uB9DE\uC11C\uBA70 \uACC4\uC18D\uD574\uC11C \uC131\uC7A5\uD558\uACE0 \uC2A4\uC2A4\uB85C\uC758 \uD55C\uACC4\uB97C \uB3CC\uD30C\uD574 \uC654\uC2B5\uB2C8\uB2E4. \uADF8 \uACFC\uC815\uC5D0\uC11C "\uC6A9\uAE30 \uC788\uB294 \uB3C4\uC804"\uC774\uB77C\uB294 \uAC00\uCE58\uB97C \uD655\uB9BD\uD558\uAC8C \uB418\uC5C8\uACE0, \uC774 \uAC00\uCE58\uB97C \uBAA8\uB4E0 \uC774\uB4E4\uACFC \uB098\uB204\uBA70, \uAC01\uC790\uAC00 \uC790\uC2E0\uC758 \uD55C\uACC4\uB97C \uB6F0\uC5B4\uB118\uACE0 \uB04A\uC784\uC5C6\uC774 \uC131\uC7A5\uD558\uBA70 \uB354\uB354\uC6B1 \uBE5B\uB098\uB294 \uC790\uC2E0\uC744 \uB9C8\uC8FC\uD558\uAE30\uB97C \uBC14\uB77C\uACE0 \uC788\uC2B5\uB2C8\uB2E4.' 35266 }, 35267 art3: { 35268 strong: "KURO GAMES\uB294 \uAC1C\uBC1C\xB7\uC6B4\uC601\xB7\uBC1C\uD589 \uCCB4\uACC4\uC640 \uC624\uB9AC\uC9C0\uB110 IP\uB97C \uAD6C\uCD95\uD558\uC5EC \uC81C\uD488\uC744 \uAE30\uBC18\uC73C\uB85C \uAE00\uB85C\uBC8C \uC2DC\uC7A5\uC744 \uAC1C\uCC99\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4.", 35269 text: "KURO GAMES\uB294 \uAC8C\uC784 \uC5F0\uAD6C \uAC1C\uBC1C, \uC7A5\uAE30\uC801\uC778 \uC6B4\uC601, \uAE00\uB85C\uBC8C \uB9C8\uCF00\uD305, \uC624\uB9AC\uC9C0\uB110 IP \uC721\uC131\uC744 \uD1B5\uD574 \uC790\uC2E0\uC744 \uB3C4\uC804\uD558\uBA70 \uBC1C\uC804\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4. \uD604\uC7AC \uD68C\uC0AC\uC5D0\uC11C \uC6B4\uC601 \uC911\uC778 \uC81C\uD488\uC73C\uB85C\uB294 \u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F, \u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F\uC640 \uAC8C\uC784 IP \uD30C\uC0DD\uC0C1\uD488\uC774 \uC788\uC73C\uBA70, \uAE00\uB85C\uBC8C \uB9C8\uCF00\uD305\uC740 \uD55C\uAD6D, \uC77C\uBCF8, \uB3D9\uB0A8\uC544\uC2DC\uC544, \uAD6C\uBBF8 \uB4F1 \uC5EC\uB7EC \uAD6D\uAC00\uC640 \uC9C0\uC5ED\uC744 \uB300\uC0C1\uC73C\uB85C \uC9C4\uD589\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4." 35270 }, 35271 lang1: "\uC804\uC7A5 \uD2B8\uC708\uD14C\uC77C", 35272 lang2: "\u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F\uCD5C\uCD08 \uACF5\uAC1C", 35273 lang2time: "2019/02", 35274 lang3: "\u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F \uC815\uC2DD \uCD9C\uC2DC", 35275 lang3time: "2019/12", 35276 lang4: "\u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F x \u300ENier:Automata\u300F", 35277 lang4_m: "\u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F<br/>x \u300ENier:Automata\u300F", 35278 lang4time: "2021/01", 35279 lang5: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F \uC778\uAC8C\uC784 \uD50C\uB808\uC774 \uC601\uC0C1\uACFC <br/>CG \uD2B8\uB808\uC77C\uB7EC \uCCAB \uACF5\uAC1C", 35280 lang5_m: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F \uC778\uAC8C\uC784 <br/>\uD50C\uB808\uC774 \uC601\uC0C1\uACFC CG \uD2B8\uB808\uC77C\uB7EC \uCCAB \uACF5\uAC1C", 35281 lang5time: "2022/05", 35282 lang6: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F <br/>\uAE00\uB85C\uBC8C \uC0AC\uC804\uC608\uC57D\uC790 3000\uB9CC \uB3CC\uD30C", 35283 lang6time: "2024/03", 35284 lang7: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F \uAE00\uB85C\uBC8C \uB3D9\uC2DC \uCD9C\uC2DC", 35285 lang7time: "2024/05", 35286 lang8: "\u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F x \u300EBLACK\u2605ROCK SHOOTER\u300F", 35287 lang8_2: "\u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F <br/>x \u300EBLACK\u2605ROCK SHOOTER\u300F", 35288 lang8time: "2023/08", 35289 lang9: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F 2024 The Game Awards <br/>\uD50C\uB808\uC774\uC5B4\uC2A4 \uBCF4\uC774\uC2A4, \uCD5C\uACE0\uC758 \uBAA8\uBC14\uC77C \uAC8C\uC784 \uBD80\uBB38 \uD6C4\uBCF4 \uC120\uC815", 35290 lang9_m: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F 2024 The Game Awards \uD50C\uB808\uC774\uC5B4\uC2A4 \uBCF4\uC774\uC2A4, <br/>\uCD5C\uACE0\uC758 \uBAA8\uBC14\uC77C \uAC8C\uC784 \uBD80\uBB38 \uD6C4\uBCF4 \uC120\uC815", 35291 lang9time: "2024/12", 35292 lang10: "\u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F<br/>x\u300E\uB370\uBE4C \uBA54\uC774 \uD06C\uB77C\uC774 5\u300F", 35293 lang10_m: "\u300E\uD37C\uB2C8\uC2F1: \uADF8\uB808\uC774 \uB808\uC774\uBE10\u300F<br/>x\u300E\uB370\uBE4C \uBA54\uC774 \uD06C\uB77C\uC774 5\u300F", 35294 lang10time: "2025/05",
35295 lang11: "\uC74C\uC545\u300EAgainst the Tide (\uC870\uC218\uB97C \uAC70\uC2AC\uB7EC)\u300F\uAC00 <br/>\u300C2025 \uD560\uB9AC\uC6B0\uB4DC \uBBA4\uC9C1 \uC778 \uBBF8\uB514\uC5B4 \uC5B4\uC6CC\uC988(HMMA)\u300D<br/>\uC5D0\uC11C \u300C\uBE44\uB514\uC624 \uAC8C\uC784(\uCF58\uC194\xB7PC) \uBD80\uBB38 \uCD5C\uC6B0\uC218 \uC74C\uC545\uC0C1\u300D\uC744 \uC218\uC0C1\uD588\uC2B5\uB2C8\uB2E4.", 35296 lang11_m: "\uC74C\uC545\u300EAgainst the Tide<br/>(\uC870\uC218\uB97C \uAC70\uC2AC\uB7EC)\u300F\uAC00<br/>\u300C2025 \uD560\uB9AC\uC6B0\uB4DC \uBBA4\uC9C1 \uC778 \uBBF8\uB514\uC5B4<br/>\uC5B4\uC6CC\uC988(HMMA)\u300D\uC5D0\uC11C<br/>\u300C\uBE44\uB514\uC624 \uAC8C\uC784(\uCF58\uC194\xB7PC) \uBD80\uBB38<br/>\uCD5C\uC6B0\uC218 \uC74C\uC545\uC0C1\u300D\uC744 \uC218\uC0C1\uD588\uC2B5\uB2C8\uB2E4.", 35297 lang11time: "2025/11", 35298 lang12: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F 2025 PlayStation<br/>Partner Awards \uD30C\uD2B8\uB108 \uC5B4\uC6CC\uB4DC \uC218\uC0C1", 35299 lang12_m: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F 2025 PlayStation<br/>Partner Awards \uD30C\uD2B8\uB108 \uC5B4\uC6CC\uB4DC \uC218\uC0C1", 35300 lang12time: "2025/12", 35301 lang13: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F 2025 The Game Awards <br/>\uD50C\uB808\uC774\uC5B4\uC2A4 \uBCF4\uC774\uC2A4 \uC218\uC0C1,<br/>\uCD5C\uACE0\uC758 \uBAA8\uBC14\uC77C \uAC8C\uC784 \uBD80\uBB38 \uD6C4\uBCF4 \uC120\uC815", 35302 lang13_m: "\u300E\uBA85\uC870:\uC6CC\uB354\uB9C1 \uC6E8\uC774\uBE0C\u300F<br/>2025 The Game Awards <br/>\uD50C\uB808\uC774\uC5B4\uC2A4 \uBCF4\uC774\uC2A4 \uC218\uC0C1,<br/>\uCD5C\uACE0\uC758 \uBAA8\uBC14\uC77C \uAC8C\uC784 \uBD80\uBB38 \uD6C4\uBCF4 \uC120\uC815", 35303 lang13time: "2025/12", 35304 comingSoon: "\uB2F9\uC2E0\uACFC \uD568\uAED8 \uC368 \uB0B4\uB824\uAC08 \uC0C8\uB85C\uC6B4 \uC774\uC57C\uAE30\uB97C \uAE30\uB300\uD569\uB2C8\uB2E4.", 35305 comingSoon_m: "\uB2F9\uC2E0\uACFC \uD568\uAED8 \uC368 \uB0B4\uB824\uAC08 <br/>\uC0C8\uB85C\uC6B4 \uC774\uC57C\uAE30\uB97C \uAE30\uB300\uD569\uB2C8\uB2E4." 35306 }, 35307 join: { 35308 videoTitle: "\uB192\uC740 \uC0B0\uC744 \uB118\uC5B4, \uB354 \uB098\uC740 \uB0B4\uC77C\uB85C", 35309 wellfare1: { 35310 title: "\uADFC\uBB34 \uD658\uACBD", 35311 text: [ 35312 "\uC0AC\uBB34\uC2E4: \uC778\uCCB4\uACF5\uD559\uC801 \uC0AC\uBB34\uC6A9 \uC758\uC790\uB97C \uC644\uBE44\uD55C \uCF8C\uC801\uD55C \uADFC\uBB34 \uACF5\uAC04\uC744 \uC81C\uACF5\uD569\uB2C8\uB2E4.", 35313 "\uD734\uAC8C\uC2E4: \uACC4\uC808\uC5D0 \uC5B4\uC6B8\uB9AC\uB294 \uCC28\uC640 \uC6D0\uB450 \uBE14\uB799\uCEE4\uD53C\uB97C \uC990\uAE38 \uC218 \uC788\uC2B5\uB2C8\uB2E4.", 35314 "\uD5EC\uC2A4\uC7A5: \uC6B4\uB3D9 \uAE30\uAD6C\uC640 \uC0E4\uC6CC \uC2DC\uC124\uC744 \uAC16\uCD98 \uAC74\uAC15 \uAD00\uB9AC \uD658\uACBD\uC744 \uC81C\uACF5\uD569\uB2C8\uB2E4.", 35315 "\uB0E5\uB0E5\uC2E4: \uACE0\uC591\uC774 '\uB3D9\uB8CC'\uAC00 \uC0C1\uC8FC\uD558\uBA70, \uB54C\uB54C\uB85C \uC0AC\uBB34\uC2E4\uC744 \uC21C\uCC30\uD569\uB2C8\uB2E4." 35316 ] 35317 }, 35318 wellfare2: { 35319 title: "\uAE09\uC5EC \uBC0F \uB300\uC6B0", 35320 text: [ 35321 "\uD6CC\uB96D\uD55C \uB2F9\uC2E0\uC758 \uC2E4\uB825\uC5D0 \uAC78\uB9DE\uC740, \uC5C5\uACC4 \uACBD\uC7C1\uB825 \uC788\uB294 \uAE09\uC5EC\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4.", 35322 "\uC5F0 2\uD68C \uC5F0\uBD09 \uD611\uC0C1\uC744 \uC9C4\uD589\uD558\uC5EC \uAC1C\uC778\uC758 \uC5ED\uB7C9\uACFC \uC131\uC7A5\uC744 \uAE09\uC5EC\uC5D0 \uC989\uAC01 \uBC18\uC601\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4.", 35323 "\uAE30\uBCF8\uC801\uC778 \uC0AC\uD68C\uBCF4\uD5D8\uBFD0\uB9CC \uC544\uB2C8\uB77C \uC0C1\uC5C5\uAC74\uAC15\uBCF4\uD5D8\uAE4C\uC9C0 \uCD94\uAC00\uB85C \uC81C\uACF5\uD569\uB2C8\uB2E4." 35324 ] 35325 }, 35326 wellfare3: { 35327 title: "\uC9C1\uC6D0 \uBCF5\uC9C0", 35328 text: [ 35329 "\uC2E0\uC785\uC0AC\uC6D0\uC5D0\uAC8C\uB294 \uC6F0\uCEF4\uD0A4\uD2B8\uB97C \uC81C\uACF5\uD558\uBA70 \uADFC\uC18D \uC5F0\uC218\uC5D0 \uB530\uB77C \uAE30\uB150\uD488\uC744 \uC99D\uC815\uD569\uB2C8\uB2E4.", 35330 "\uC8FC\uC694 \uBA85\uC808 \uBC0F \uC1A1\uB144\uD68C \uB4F1 \uD2B9\uBCC4\uD55C \uB0A0\uC5D0\uB294 \uC18C\uC815\uC758 \uC120\uBB3C\uC744 \uC81C\uACF5\uD569\uB2C8\uB2E4.", 35331 "\uADFC\uBB34\uC77C\uC740 \uC0AC\uB0B4\uC5D0\uC11C \uC810\uC2EC\xB7\uC800\uB141 \uC2DD\uC0AC\uB97C \uC81C\uACF5\uD558\uBA70, \uB
3533154C\uB85C\uB294 \uC624\uD6C4 \uAC04\uC2DD\uB3C4 \uC990\uAE38 \uC218 \uC788\uC2B5\uB2C8\uB2E4.", 35332 "\uC785\uC0AC \uCCAB\uD574\uBD80\uD130 \uBC95\uC815 \uD734\uAC00 \uBC0F \uC5F0\uCC28\uB97C \uC790\uC720\uB86D\uAC8C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4." 35333 ] 35334 } 35335 }, 35336 contact: { 35337 addressMain: "Building 10, Times E-Park Phase 2, Tianhe Smart City, ", 35338 addressSub: "Huaguan Road, Tianhe District, Guangzhou, China" 35339 }, 35340 contactText: "Contact Us", 35341 copyrightText1: "\uC0AC\uAE30 \uBC29\uC9C0\uB97C \uC704\uD574 \uAC1C\uC778 \uC815\uBCF4\uC5D0 \uC720\uC758\uD558\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4. \uC7A5\uC2DC\uAC04 \uAC8C\uC784 \uD50C\uB808\uC774\uB294 \uAC74\uAC15\uC744 \uD574\uCE58\uBBC0\uB85C \uC801\uC808\uD55C \uAC8C\uC784 \uD50C\uB808\uC774\uB97C \uD1B5\uD574 \uAC74\uAC15\uD55C \uAC8C\uC784 \uC0DD\uD65C\uC744 \uC990\uAE30\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4.", 35342 copyrightText1_m: "\uC0AC\uAE30 \uBC29\uC9C0\uB97C \uC704\uD574 \uAC1C\uC778 \uC815\uBCF4\uC5D0 \uC720\uC758\uD558\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4. \uC7A5\uC2DC\uAC04 \uAC8C\uC784 \uD50C\uB808\uC774\uB294 \uAC74\uAC15\uC744 \uD574\uCE58\uBBC0\uB85C \uC801\uC808\uD55C \uAC8C\uC784 \uD50C\uB808\uC774\uB97C \uD1B5\uD574 \uAC74\uAC15\uD55C \uAC8C\uC784 \uC0DD\uD65C\uC744 \uC990\uAE30\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4.", 35343 companyText: "Copyright \xA9KURO GAMES. ALL RIGHTS RESERVED.", 35344 introduction1: "KURO GAMES\uB294 \uC790\uC2E0\uC758 \uD55C\uACC4\uB97C \uB118\uC5B4,<br/>\uC778\uD130\uB799\uD2F0\uBE0C \uC5D4\uD130\uD14C\uC778\uBA3C\uD2B8\uC758 \uBB34\uD55C\uD55C \uAC00\uB2A5\uC131\uC744 \uD0D0\uAD6C\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4.", 35345 introduction2: "\uC21C\uC218\uD558\uACE0 \uACAC\uACE0\uD55C \uD300\uC6CC\uD06C<br/>KURO GAMES\uB294 \uC5C5\uBB34\uC5D0\uB9CC \uC9D1\uC911\uD560 \uC218 \uC788\uB3C4\uB85D \uC870\uC9C1 \uAD6C\uC870\uB97C \uAC04\uC18C\uD654\uD558\uACE0,<br/>\uC9C4\uC194\uD558\uACE0 \uC21C\uC218\uD55C \uC778\uAC04\uAD00\uACC4\uB97C \uC9C0\uD5A5\uD569\uB2C8\uB2E4.", 35346 introduction3: "KURO GAMES\uB294 \uD50C\uB808\uC774\uC5B4\uC640 \uB04A\uC784\uC5C6\uC774 \uAE4A\uC774 \uC788\uAC8C \uAD50\uAC10\uD558\uBA70,<br/>\uD568\uAED8 \uC131\uC7A5\uD560 \uC218 \uC788\uB294 \uAC8C\uC784 \uCF58\uD150\uCE20\uB97C \uB9CC\uB4E4\uC5B4 \uB098\uAC00\uACE0 \uC788\uC2B5\uB2C8\uB2E4.", 35347 privacyPolicy: "https://wutheringwaves.kurogames.com/p/language_ko/privacy_policy.html", 35348 termsofService: "https://wutheringwaves.kurogames.com/p/language_ko/terms_of_service.html", 35349 privacyPolicyText: "\uAC1C\uC778\uC815\uBCF4\uCC98\uB9AC\uBC29\uCE68", 35350 termsofServiceText: "\uC774\uC6A9\uC57D\uAD00" 35351 }, jp = { 35352 menuNav: { 35353 home: "TOP", 35354 about: "ABOUT KURO", 35355 join: "\u63A1\u7528\u60C5\u5831" 35356 }, 35357 index: { 35358 title: "KURO GAMES", 35359 subTitle: "\u3068\u3082\u306B\u5275\u308B\u3001\u30B2\u30FC\u30E0\u306E\u672A\u6765", 35360 mcDesc: "\u81EA\u7531\u5EA6\u306E\u9AD8\u3044\u30A2\u30AF\u30B7\u30E7\u30F3\u3068\u3001\u672A\u77E5\u306B\u6E80\u3061\u305F\u4E16\u754C\u3092\u5DE1\u308B\u63A2\u7D22\u3002\u540D\u3082\u306A\u304D\u300C\u6F02\u6CCA\u8005\u300D\u3068\u3057\u3066\u76EE\u899A\u3081\u305F\u3042\u306A\u305F\u306F\u3001\u5931\u308F\u308C\u305F\u8A18\u61B6\u3068\u3001\u81EA\u5206\u3068\u3044\u3046\u5B58\u5728\u306E\u624B\u304C\u304B\u308A\u3092\u6C42\u3081\u3066\u3001\u5171\u9CF4\u8005\u305F\u3061\u3068\u51FA\u4F1A\u3044\u3001\u300C\u60B2\u9CF4\u300D\u3092\u4E57\u308A\u8D8A\u3048\u308B\u65C5\u3078\u3068\u6B69\u307F\u51FA\u3059\u3002", 35361 zsDesc: "\u65B0\u5730\u7403\u66A62079\u5E74\u3001\u4EBA\u985E\u79D1\u5B66\u306E\u6025\u901F\u767A\u5C55\u306B\u3088\u308B\u65B0\u578B\u5BFE\u96FB\u5B50\u6A5F\u5668\u30A6\u30A4\u30EB\u30B9\u300C\u30D1\u30CB\u30B7\u30F3\u30B0\u300D\u304C\u4E16\u754C\u4E2D\u3067\u731B\u5A01\u3092\u632F\u308B\u3002\u4EBA\u985E\u6700\u5F8C\u306E\u5E0C\u671B\u3067\u3042\u308B\u30D2\u30E5\u30FC\u30DE\u30CE\u30A4\u30C9\u300C\u69CB\u9020\u4F53\u300D\u3068\u5171\u306B\u3001\u5E73\u548C\u306A\u4E16\u754C\u3092\u53D6\u308A\u623B\u3059\u6226\u3044\u304C\u59CB\u307E\u308B...", 35362 featureImgName0: "\u30AF\u30ED\u30D5\u30A7\u30B9\u30C8 in \u5E83\u5D
35362DE", 35363 featureImgName1: "Bilibili World in \u4E0A\u6D77", 35364 featureImgName2: "Gamescom in \u30C9\u30A4\u30C4", 35365 featureImgName3: "TGS in \u53F0\u5317", 35366 featureImgName4: "\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u30A4\u30D9\u30F3\u30C8 in \u97D3\u56FD", 35367 featureImgName5: "CICF\xD7AGF in \u5E83\u5DDE", 35368 featureImgName6: "\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u30A4\u30D9\u30F3\u30C8 in \u5E83\u5DDE", 35369 featureImgName7: "<sty2>Firefly ACG Festival in \u5E83\u5DDE</sty2>", 35370 featureImgName8: "<sty2>\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u30A4\u30D9\u30F3\u30C8 in \u4E09\u4E9C(\u30B5\u30F3\u30E4\u30FC)</sty2>", 35371 featureImgName9: "TGS in \u65E5\u672C", 35372 featureImgName10: "<sty2>\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u30A4\u30D9\u30F3\u30C8 in \u53F0\u6E7E</sty2>", 35373 featureImgName11: "\u300E\u9CF4\u6F6E\u300F\u30B3\u30F3\u30B5\u30FC\u30C8\u30C4\u30A2\u30FC\u300CTo the New World\u300D in \u4E0A\u6D77", 35374 featureImgCsfc: "China Science Fiction Convention 2026", 35375 surroundingName1: "\u7121\u51A0\u8005\u5F6B\u50CF\u7D1A\u30D5\u30A3\u30AE\u30E5\u30A2", 35376 surroundingName2: "<sty3>\u9CF4\u6F6E\u5171\u9CF4\u8005\u30C6\u30FC\u30DE \u30B7\u30E7\u30A2\u30AD\u30FC\u30D1\u30FC EP\u30A2\u30FC\u30C8\u30BB\u30C3\u30C8</sty3>", 35377 surroundingName3: "<sty3>Metheus Series \u9577\u96E2\uFF08\u30C1\u30E7\u30A6\u30EA\uFF09 1/7 \u30D5\u30A3\u30AE\u30E5\u30A2</sty3>", 35378 surroundingName4: "<sty2>\u30D1\u30CB\u30B0\u30EC \u30EC\u30B3\u30FC\u30C9\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u30DC\u30C3\u30AF\u30B9</sty2>", 35379 surroundingName5: "<sty3>\u9CF4\u6F6E\u5171\u9CF4\u8005\u30C6\u30FC\u30DE \u904B\u547D\u306E\u7A2E \u30AE\u30D5\u30C8\u30DC\u30C3\u30AF\u30B9</sty3>", 35380 surroundingName6: "<sty3>\u9CF4\u6F6E \u30F4\u30A7\u30EA\u30FC\u30CA 1/7 \u30D5\u30A3\u30AE\u30E5\u30A2</sty3>", 35381 surroundingName7: "<sty3>Metheus Series \u30C4\u30D0\u30AD 1/7 \u30D5\u30A3\u30AE\u30E5\u30A2<mbr/> \u54B2\u304D\u4E71\u308C\u308B\u7D05\u693FVer.</sty3>", 35382 surroundingName8: "<sty3>Metheus Series \u30D5\u30A3\u30FC\u30D3\u30FC 1/7 \u30D5\u30A3\u30AE\u30E5\u30A2</sty3>", 35383 surroundingName9: "\u9CF4\u6F6E \u30D4\u30AF\u30C1\u30E3\u30FC\u30C7\u30A3\u30B9\u30AF\u30DC\u30C3\u30AF\u30B9" 35384 }, 35385 about: { 35386 art1: { 35387 strong: "\u6311\u307F\u7D9A\u3051\u308B\u767B\u5C71\u8005\u306E\u59FF\u52E2\u3067\u3001\u300C\u3088\u308A\u826F\u3044\u660E\u65E5\u3078\u300D\u3068\u3044\u3046\u521D\u5FC3\u3092\u80F8\u306B\u3001\u6700\u9AD8\u306E\u30A4\u30F3\u30BF\u30E9\u30AF\u30C6\u30A3\u30D6\u4F53\u9A13\u3092\u3002", 35388 text: "2014\u5E74\u306B\u8A2D\u7ACB\u3055\u308C\u3001\u5E83\u5DDE\u306B\u672C\u793E\u3092\u7F6E\u304FKURO GAMES\u306F\u3001\u3088\u308A\u9AD8\u54C1\u8CEA\u306A\u30A4\u30F3\u30BF\u30E9\u30AF\u30C6\u30A3\u30D6\u30FB\u30A8\u30F3\u30BF\u30FC\u30C6\u30A4\u30F3\u30E1\u30F3\u30C8\u4F53\u9A13\u306E\u5275\u9020\u3092\u76EE\u6307\u3057\u3001\u30B7\u30F3\u30D7\u30EB\u3067\u7D14\u7C8B\u306A\u30C1\u30FC\u30E0\u306E\u3082\u3068\u4E00\u6B69\u4E00\u6B69\u7740\u5B9F\u306B\u6210\u9577\u3092\u91CD\u306D\u3066\u304D\u307E\u3057\u305F\u3002\u300C\u3088\u308A\u826F\u3044\u660E\u65E5\u3078\u300D\u3068\u3044\u3046\u4FE1\u5FF5\u3092\u80F8\u306B\u3001\u672A\u77E5\u306E\u5C71\u3005\u306B\u6311\u3080\u767B\u5C71\u8005\u306E\u3088\u3046\u306B\u3001\u3069\u3093\u306A\u56F0\u96E3\u306B\u3082\u5C48\u305B\u305A\u9AD8\u307F\u3092\u76EE\u6307\u3057\u3066\u6B69\u307F\u7D9A\u3051\u3066\u3044\u307E\u3059\u3002" 35389 }, 35390 art2: { 35391 strong: "\u300C\u6311\u6226\u3059\u308B\u52C7\u6C17\u300D\u3068\u3044\u3046\u4FA1\u5024\u89B3\u3092\u6839\u3065\u304B\u305B\u3001\u3088\u308A\u826F\u3044\u81EA\u5206\u3078\u3068\u306A\u308B\u305F\u3081\u306E\u529B\u3092\u5C4A\u3051\u308B\u3002", 35392 text: "\u3053\u306E10\u5E74\u4F59\u308A\u3001KURO GAMES\u306F\u6570\u3048\u304D\u308C\u306A\u3044\u307B\u3069\u306E\u58C1\u3092\u8D8A\u3048\u3001\u305D\u306E\u305F\u3073\u306B\u5909\u5316\u3068\u6210\u9577\u3092\u9042\u3052\u3066\u304D\u307E\u3057\u305F\u3002\u305D\u306E\u904E\u7A0B\u3067\u3001KURO GAMES\u306A\u3089\u3067\u306F\u306E\u4FA1\u5024\u89B3\u304C\u80B2\u307E\u308C\u307E\u3057\u305F\u3002\u305D\u308C\u306F\u3001\u300C\u6311\u6226\u3059\u308B\u52C7\u6C17\u300D\u3092\u5C4A\u3051\u308B\u3053\u3068\u3067\u3001\u4E00\u4EBA\u3072\u3068\u308A\u304C\u81EA\u8EAB\u306E\u9650\u754C\u3092\u8D85\u3048\u3001\u3088\u308A\u826F\u3044\u81EA\u5206\u306B\u6210\u9577\u3067\u304D\u308B\u3088\u3046\u3001\u5FDC\u63F4\u3059\u308B\u3053\u3068\u3067\u3059\u3002" 35393 }, 35394 art3: { 35395 strong: "\u958B\u767A\u30FB\u914D\u4FE1\u30FB\u904B\u55B6\u306E\u4E00\u4F53\u5316\u4F53\u5236\u3068IP\u30A8\u30B3\u30B7\u30B9\u30C6\u30E0\u3092\u69CB\u7BC9\u3057\u3001\u81EA\u793E\u30BF\u30A4\u30C8\u30EB\u3067\u30B0\u30ED\u30FC\u30D0\u30EB\u5E02\u5834\u3092\u958B\u62D3\u3002", 35396 text: "KURO GAMES\u306F\u3001\u30B2\u30FC\u30E0\u958B\u767A\u304A\u3088\u3073\u9577\u671F\u904B\u55B6\u3001\u30B0\u30ED\u30FC\u30D0\u30EB\u914D\u4FE1\u3001\u30AA\u30EA\u30B8\u30CA\u30EBIP\u306E\u5275\u51FA\u3092\u901A\u3058\u3066\u3001\u81EA\u5DF1\u6311\u6226\u3068\u6210\u9577\u3092\u5B9F\u73FE\u3057\u3066\u3044\u307E\u3059\u3002\u73FE\u5728\u306F\u300E\u30D1\u30CB\u30B7\u30F3\u30B0\uFF1A\u30B0\u30EC\u30A4\u30EC\u30A4\u30F4\u30F3\u300F\u300E\u9CF4\u6F6E\u300F\u3092\u306F\u3058\u3081\u3068\u3059\u308B\u30BF\u30A4\u30C8\u30EB\u306B\u52A0\u3048\u3001\u30B2\u30FC\u30E0IP\u306E\u95A2\u9023\u5546\u54C1\u3082\u5C55\u958B\u3057\u3066\u3044\u307E\u3059\u3002\u307E\u305F\u3001\u65E5\u672C\u30FB\u97D3\u56FD\u30FB\u6771\u5357\u30A2\u30B8\u30A2\u30FB\u6B27\u7C73\u306A\u3069\u306E\u56FD\u3084\u5730\u57DF\u306B\u5411\u3051\u305F\u30B0\u30ED\u30FC\u30D0\u30EB\u4E8B\u696D\u3092\u63A8\u9032\u3057\u3066\u3044\u307E\u3059\u3002" 35397 }, 35398 lang1: "\u300E\u6226\u5834\u306E\u30C4\u30A4\u30F3\u30C6\u30FC\u30EB\u300F\u30EA\u30EA\u30FC\u30B9", 35399 lang2: "\u300E\u30D1\u30CB\u30B7\u30F3\u30B0\uFF1A\u30B0\u30EC\u30A4\u30EC\u30A4\u30F4\u30F3\u300F\u521D\u516C\u958B", 35400 lang2time: "2019/02", 35401 lang3: "\u300E\u30D1\u30CB\u30B7\u30F3\u30B0\uFF1A\u30B0\u30EC\u30A4\u30EC\u30A4\u30F4\u30F3\u300F\u30EA\u30EA\u30FC\u30B9", 35402 lang3time: "2019/12", 35403 lang4: "\u300E\u30D1\u30CB\u30B7\u30F3\u30B0\uFF1A\u30B0\u30EC\u30A4\u30EC\u30A4\u30F4\u30F3\u300F<br/>\xD7\u300ENieR:Automata\u300F\u30B3\u30E9\u30DC", 35404 lang4time: "2021/01", 35405 lang5: "\u300E\u9CF4\u6F6E\u300F\u521D\u3001\u30B3\u30F3\u30BB\u30D7\u30C8CG\u516C\u958B", 35406 lang5time: "2022/05", 35407 lang6: "\u300E\u9CF4\u6F6E\u300F\u5168\u4E16\u754C\u30673,000\u4E07\u4E88\u7D04\u7A81\u7834", 35408 lang6time: "2024/03", 35409 lang7: "\u300E\u9CF4\u6F6E\u300F\u30B0\u30ED\u30FC\u30D0\u30EB\u540C\u6642\u30EA\u30EA\u30FC\u30B9", 35410 lang7time: "2024/05", 35411 lang8: "\u300E\u30D1\u30CB\u30B7\u30F3\u30B0\uFF1A\u30B0\u30EC\u30A4\u30EC\u30A4\u30F4\u30F3\u300F<br/>\xD7\u300E\u30D6\u30E9\u30C3\u30AF\u2605\u30ED\u30C3\u30AF\u30B7\u30E5\u30FC\u30BF\u30FC\u300F\u30B3\u30E9\u30DC", 35412 lang8_2: "\u300E\u30D1\u30CB\u30B7\u30F3\u30B0\uFF1A\u30B0\u30EC\u30A4\u30EC\u30A4\u30F4\u30F3\u300F<br/>\xD7\u300E\u30D6\u30E9\u30C3\u30AF\u2605\u30ED\u30C3\u30AF\u30B7\u30E5\u30FC\u30BF\u30FC\u300F\u30B3\u30E9\u30DC", 35413 lang8time: "2023/08", 35414 lang9: "\u300E\u9CF4\u6F6E\u300FThe Game Awards 2024\u300CPlayers' Voice\u300D<br/>
35414\u90E8\u9580\u3068\u300CBest Mobile Game\u300D\u90E8\u9580\u306B\u30CE\u30DF\u30CD\u30FC\u30C8", 35415 lang9_m: "\u300E\u9CF4\u6F6E\u300FThe Game Awards 2024<br/>\u300CPlayers' Voice\u300D\u90E8\u9580\u3068\u300CBest Mobile Game\u300D\u90E8\u9580\u306B\u30CE\u30DF\u30CD\u30FC\u30C8", 35416 lang9time: "2024/12", 35417 lang10: "\u300E\u30D1\u30CB\u30B7\u30F3\u30B0\uFF1A\u30B0\u30EC\u30A4\u30EC\u30A4\u30F4\u30F3\u300F<br/>\xD7\u300E\u30C7\u30D3\u30EB \u30E1\u30A4 \u30AF\u30E9\u30A4 5\u300F\u30B3\u30E9\u30DC", 35418 lang10_m: "\u300E\u30D1\u30CB\u30B7\u30F3\u30B0\uFF1A\u30B0\u30EC\u30A4\u30EC\u30A4\u30F4\u30F3\u300F<br/>\xD7\u300E\u30C7\u30D3\u30EB \u30E1\u30A4 \u30AF\u30E9\u30A4 5\u300F\u30B3\u30E9\u30DC", 35419 lang10time: "2025/05", 35420 lang11: "\u697D\u66F2\u300EAgainst the Tide\u300F<br/>Hollywood Music In Media Awards 2025<br/><i>\u300CSONG - VIDEO GAME (CONSOLE & PC)\u300D</i>\u90E8\u9580\u3092\u53D7\u8CDE", 35421 lang11_m: "\u697D\u66F2\u300EAgainst the Tide\u300FHollywood Music In Media Awards 2025<br/>\u300CSONG - VIDEO GAME (CONSOLE & PC)\u300D\u90E8\u9580\u3092\u53D7\u8CDE", 35422 lang11time: "2025/11", 35423 lang12: "\u300E\u9CF4\u6F6E\u300FPlayStation Partner Awards 2025<br/>\u300CPARTNER AWARD\u300D\u90E8\u9580\u3092\u53D7\u8CDE", 35424 lang12_m: "\u300E\u9CF4\u6F6E\u300FPlayStation Partner Awards 2025<br/>\u300CPARTNER AWARD\u300D\u90E8\u9580\u3092\u53D7\u8CDE", 35425 lang12time: "2025/12", 35426 lang13: "\u300E\u9CF4\u6F6E\u300FThe Game Awards 2025<br/>\u300CPlayers' Voice\u300D\u90E8\u9580\u3092\u53D7\u8CDE &<br/>\u300CBest Mobile Game\u300D\u90E8\u9580\u306B\u30CE\u30DF\u30CD\u30FC\u30C8", 35427 lang13_m: "\u300E\u9CF4\u6F6E\u300FThe Game Awards 2025<br/>\u300CPlayers' Voice\u300D\u90E8\u9580\u3092\u53D7\u8CDE &<br/>\u300CBest Mobile Game\u300D\u90E8\u9580\u306B\u30CE\u30DF\u30CD\u30FC\u30C8", 35428 lang13time: "2025/12", 35429 comingSoon: "\u65B0\u305F\u306A\u6311\u6226\u3078\u3001\u8FD1\u65E5\u516C\u958B\u4E88\u5B9A" 35430 }, 35431 join: { 35432 videoTitle: "\u5171\u306B\u9AD8\u307F\u3092\u8D8A\u3048\u3001\u3088\u308A\u826F\u3044\u660E\u65E5\u3078", 35433 wellfare1: { 35434 title: "\u50CD\u304F\u74B0\u5883", 35435 text: [ 35436 "\u30AA\u30D5\u30A3\u30B9\u30A8\u30EA\u30A2\uFF1A\u6A19\u6E96\u306E\u30EF\u30FC\u30AF\u30B9\u30C6\u30FC\u30B7\u30E7\u30F3\u306B\u4EBA\u9593\u5DE5\u5B66\u8A2D\u8A08\u306E\u30C1\u30A7\u30A2\u3092\u5B8C\u5099\u3002", 35437 "\u4F11\u61A9\u30A8\u30EA\u30A2\uFF1A\u5B63\u7BC0\u306B\u5408\u308F\u305B\u305F\u304A\u8336\u3084\u633D\u304D\u305F\u3066\u306E\u30B3\u30FC\u30D2\u30FC\u3092\u5B9A\u671F\u7684\u306B\u63D0\u4F9B\u3002", 35438 "\u30D5\u30A3\u30C3\u30C8\u30CD\u30B9\u30A8\u30EA\u30A2\uFF1A\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u5668\u5177\u3068\u30B7\u30E3\u30EF\u30FC\u5B8C\u5099\u3002", 35439 "\u30CD\u30B3\u30A8\u30EA\u30A2\uFF1A\u5E38\u99D0\u306E\u300C\u732B\u30B9\u30BF\u30C3\u30D5\u300D\u304C\u7652\u3057\u3092\u304A\u5C4A\u3051\u3002" 35440 ] 35441 }, 35442 wellfare2: { 35443 title: "\u5831\u916C\u30FB\u5F85\u9047", 35444 text: [ 35445 "\u696D\u754C\u6C34\u6E96\u3092\u30EA\u30FC\u30C9\u3059\u308B\u7D66\u4E0E\u4F53\u7CFB\uFF1A\u3042\u306A\u305F\u306E\u5B9F\u529B\u306B\u3075\u3055\u308F\u3057\u3044\u3001\u7D0D\u5F97\u306E\u3044\u304F\u5831\u916C\u3092\u7528\u610F\u3057\u3066\u3044\u307E\u3059\u3002", 35446 "\u5E742\u56DE\u306E\u6607\u7D66\u30C1\u30E3\u30F3\u30B9\uFF1A\u6210\u9577\u3084\u6210\u679C\u306B\u5FDC\u3058\u305F\u8A55\u4FA1\u3092\u30BF\u30A4\u30E0\u30EA\u30FC\u306B\u53CD\u6620\u3057\u307E\u3059\u3002", 35447 "\u5145\u5B9F\u306E\u793E\u4F1A\u4FDD\u967A\u5236\u5EA6\uFF1A\u793E\u4F1A\u4FDD\u967A\u306E\u5B8C\u5099\u306B\u52A0\u3048\u3001\u5546\u696D\u533B\u7642\u4FDD\u967A\u3082\u5225\u9014\u88DC\u52A9\u3057\u3066\u3044\u307E\u3059\u3002" 35448 ] 35449 }, 35450 wellfare3: { 35451 title: "\u798F\u5229\u539A\u751F", 35452 text: [ 35453 "\u30A6\u30A7\u30EB\u30AB\u30E0\u30AE\u30D5\u30C8 & \u52E4\u7D9A\u8A18\u5FF5\u54C1\u3002", 35454 "\u4F1D\u7D71\u7684\u306A\u795D\u65E5\u306E\u30AE\u30D5\u30C8\u30DC\u30C3\u30AF\u30B9 & \u5E74\u672B\u30A4\u30D9\u30F3\u30C8\u3068\u8C6A\u83EF\u666F\u54C1\u3002", 35455 "\u5E73\u65E5\u306E\u30E9\u30F3\u30C1\u30FB\u30C7\u30A3\u30CA\u30FC\u3092\u30AA\u30D5\u30A3\u30B9\u3067\u63D0\u4F9B\u3002\u3068\u304D\u306B\u306F\u30B5\u30D7\u30E9\u30A4\u30BA\u306E\u30A2\u30D5\u30BF\u30CC\u30FC\u30F3\u30C6\u30A3\u30FC\u3082\u63D0\u4F9B\u3002", 35456 "\u6CD5\u5B9A\u5E74\u6B21\u6709\u7D66\u4F11\u6687\u3068\u7279\u5225\u6709\u7D66\u4F11\u6687\u3092\u521D\u5E74\u5EA6\u304B\u3089\u4ED8\u4E0E\u3002" 35457 ] 35458 } 35459 }, 35460 contact: { 35461 addressMain: "Building 10, Times E-Park Phase 2, Tianhe Smart City, ", 35462 addressSub: "Huaguan Road, Tianhe District, Guangzhou, China" 35463 }, 35464 contactText: "\u304A\u554F\u3044\u5408\u308F\u305B", 35465 copyrightText1: "\u8A50\u6B3A\u9632\u6B62\u306E\u305F\u3081\u3001\u500B\u4EBA\u60C5\u5831\u306E\u53D6\u308A\u6271\u3044\u306B\u306F\u5341\u5206\u3054\u6CE8\u610F\u304F\u3060\u3055\u3044\u3002\u9577\u6642\u9593\u306E\u30B2\u30FC\u30E0\u30D7\u30EC\u30A4\u306F\u5065\u5EB7\u306B\u60AA\u5F71\u97FF\u3092\u53CA\u307C\u3059\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u306E\u3067\u3001\u9069\u5EA6\u306A\u30D7\u30EC\u30A4\u3067\u5065\u5168\u306A\u30B2\u30FC\u30E0\u30E9\u30A4\u30D5\u3092\u304A\u697D\u3057\u307F\u304F\u3060\u3055\u3044\u3002<br />\u307E\u305F\u3001\u672A\u6210\u5E74\u306E\u65B9\u306F\u3001\u30B2\u30FC\u30E0\u306E\u5229\u7528\u65B9\u6CD5\uFF08\u5229\u7528\u6642\u9593\u7B49\uFF09\u3092\u4FDD\u8B77\u8005\u306E\u65B9\u3068\u3088\u304F\u76F8\u8AC7\u3057\u305F\u3046\u3048\u3067\u3054\u5229\u7528\u304F\u3060\u3055\u3044\u3002", 35466 copyrightText1_m: "\u8A50\u6B3A\u9632\u6B62\u306E\u305F\u3081\u3001\u500B\u4EBA\u60C5\u5831\u306E\u53D6\u308A\u6271\u3044\u306B\u306F\u5341\u5206\u3054\u6CE8\u610F\u304F\u3060\u3055\u3044\u3002\u9577\u6642\u9593\u306E\u30B2\u30FC\u30E0\u30D7\u30EC\u30A4\u306F\u5065\u5EB7\u306B\u60AA\u5F71\u97FF\u3092\u53CA\u307C\u3059\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u306E\u3067\u3001\u9069\u5EA6\u306A\u30D7\u30EC\u30A4\u3067\u5065\u5168\u306A\u30B2\u30FC\u30E0\u30E9\u30A4\u30D5\u3092\u304A\u697D\u3057\u307F\u304F\u3060\u3055\u3044\u3002<br />\u307E\u305F\u3001\u672A\u6210\u5E74\u306E\u65B9\u306F\u3001\u30B2\u30FC\u30E0\u306E\u5229\u7528\u65B9\u6CD5\uFF08\u5229\u7528\u6642\u9593\u7B49\uFF09\u3092\u4FDD\u8B77\u8005\u306E\u65B9\u3068\u3088\u304F\u76F8\u8AC7\u3057\u305F\u3046\u3048\u3067\u3054\u5229\u7528\u304F\u3060\u3055\u3044\u3002", 35467 companyText: "Copyright \xA9KURO GAMES. ALL RIGHTS RESERVED.", 35468 introduction1: "\u6311\u6226\u3057\u7D9A\u3051\u6210\u9577\u3059\u308B\u4F01\u696D", 35469 introduction2: "\u30B7\u30F3\u30D7\u30EB\u3067\u7D14\u7C8B\u306A\u30C1\u30FC\u30E0", 35470 introduction3: "\u6210\u9577\u3057\u7D9A\u3051\u308B\u30B2\u30FC\u30E0", 35471 privacyPolicy: "https://wutheringwaves.kurogames.com/p/language_ja/privacy_policy.html", 35472 termsofService: "https://wutheringwaves.kurogames.com/p/language_ja/terms_of_service.html", 35473 privacyPolicyText: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC", 35474 termsofServiceText: "\u5229\u7528\u898F\u7D04", 35475 growth: "https://www.kurogames.com/growth", 35476 growthText: "\u5150\u7AE5\u5411\u3051\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC" 35477 }; 35478 var define_PAGE_CONFIG_default = { 35479 CONST: { 35480 LANG: { 35481 ZH_CN: "zh-cn", 35482 ZH_TW: "zh-tw", 35483 EN_US: "en-us", 35484 KO_KR: "ko-kr", 35485 JA_JP: "ja-jp" 35486 } 35487 } 35488 }; 35489 const { CONST } = define_PAGE_CONFIG_default, resources = { 35490 [CONST.LANG.EN_US]: { 35491 translation: us 35492 }, 35493 [CONST.LANG.ZH_CN]: { 35494 translation: cn 35495 }, 35496 [CONST.LANG.ZH_TW]: { 35497 translation: tw 35498 }, 35499 [CONST.LANG.KO_KR]: { 35500 translation: kr 35501 }, 35502 [CONST.LANG.JA_JP]: { 35503 translation: jp 35504 } 35505 }, { slice, forEach } = []; 35506 function defaults(d) { 35507 return forEach.call(slice.call(arguments, 1), (o) => { 35508 if (o) for (const h in o) d[h] === void 0 && (d[h] = o[h]); 35509 }), d; 35510 } 35511 function hasXSS(d) { 35512 return typeof d != "string" ? false : [ 35513 /<\s*script.*?>/i, 35514 /<\s*\/\s*script\s*>/i, 35515 /<\s*img.*?on\w+\s*=/i, 35516 /<\s*\w+\s*on\w+\s*=.*?>/i, 35517 /javascript\s*:/i, 35518 /vbscript\s*:/i, 35519 /expression\s*\(/i, 35520 /eval\s*\(/i, 35521 /alert\s*\(/i, 35522 /document\.cookie/i, 35523 /document\.write\s*\(/i, 35524 /window\.location/i, 35525 /innerHTML/i 35526 ].some((h) => h.test(d)); 35527 } 35528 const fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, serializeCookie = function(d, o) { 35529 const g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : { 35530 path: "/" 35531 }, b = encodeURIComponent(o); 35532 let $ = "".concat(d, "=").concat(b); 35533 if (g.maxAge > 0) { 35534 const _e = g.maxAge - 0; 35535 if (Number.isNaN(_e)) throw new Error("maxAge should be a Number"); 35536 $ += "; Max-Age=".concat(Math.floor(_e)); 35537 } 35538 if (g.domain) { 35539 if (!fieldContentRegExp.test(g.domain)) throw new TypeError("option domain is invali
35539d"); 35540 $ += "; Domain=".concat(g.domain); 35541 } 35542 if (g.path) { 35543 if (!fieldContentRegExp.test(g.path)) throw new TypeError("option path is invalid"); 35544 $ += "; Path=".concat(g.path); 35545 } 35546 if (g.expires) { 35547 if (typeof g.expires.toUTCString != "function") throw new TypeError("option expires is invalid"); 35548 $ += "; Expires=".concat(g.expires.toUTCString()); 35549 } 35550 if (g.httpOnly && ($ += "; HttpOnly"), g.secure && ($ += "; Secure"), g.sameSite) switch (typeof g.sameSite == "string" ? g.sameSite.toLowerCase() : g.sameSite) { 35551 case true: 35552 $ += "; SameSite=Strict"; 35553 break; 35554 case "lax": 35555 $ += "; SameSite=Lax"; 35556 break; 35557 case "strict": 35558 $ += "; SameSite=Strict"; 35559 break; 35560 case "none": 35561 $ += "; SameSite=None"; 35562 break; 35563 default: 35564 throw new TypeError("option sameSite is invalid"); 35565 } 35566 return g.partitioned && ($ += "; Partitioned"), $; 35567 }, cookie = { 35568 create(d, o, h, g) { 35569 let b = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { 35570 path: "/", 35571 sameSite: "strict" 35572 }; 35573 h && (b.expires = /* @__PURE__ */ new Date(), b.expires.setTime(b.expires.getTime() + h * 60 * 1e3)), g && (b.domain = g), document.cookie = serializeCookie(d, o, b); 35574 }, 35575 read(d) { 35576 const o = "".concat(d, "="), h = document.cookie.split(";"); 35577 for (let g = 0; g < h.length; g++) { 35578 let b = h[g]; 35579 for (; b.charAt(0) === " "; ) b = b.substring(1, b.length); 35580 if (b.indexOf(o) === 0) return b.substring(o.length, b.length); 35581 } 35582 return null; 35583 }, 35584 remove(d, o) { 35585 this.create(d, "", -1, o); 35586 } 35587 }; 35588 var cookie$1 = { 35589 name: "cookie", 35590 lookup(d) { 35591 let { lookupCookie: o } = d; 35592 if (o && typeof document < "u") return cookie.read(o) || void 0; 35593 }, 35594 cacheUserLanguage(d, o) { 35595 let { lookupCookie: h, cookieMinutes: g, cookieDomain: b, cookieOptions: $ } = o; 35596 h && typeof document < "u" && cookie.create(h, d, g, b, $); 35597 } 35598 }, querystring = { 35599 name: "querystring", 35600 lookup(d) { 35601 var _a; 35602 let { lookupQuerystring: o } = d, h; 35603 if (typeof window < "u") { 35604 let { search: g } = window.location; 35605 !window.location.search && ((_a = window.location.hash) == null ? void 0 : _a.indexOf("?")) > -1 && (g = window.location.hash.substring(window.location.hash.indexOf("?"))); 35606 const $ = g.substring(1).split("&"); 35607 for (let _e = 0; _e < $.length; _e++) { 35608 const et = $[_e].indexOf("="); 35609 et > 0 && $[_e].substring(0, et) === o && (h = $[_e].substring(et + 1)); 35610 } 35611 } 35612 return h; 35613 } 35614 }, hash = { 35615 name: "hash", 35616 lookup(d) { 35617 var _a; 35618 let { lookupHash: o, lookupFromHashIndex: h } = d, g; 35619 if (typeof window < "u") { 35620 const { hash: b } = window.location; 35621 if (b && b.length > 2) { 35622 const $ = b.substring(1); 35623 if (o) { 35624 const _e = $.split("&"); 35625 for (let et = 0; et < _e.length; et++) { 35626 const tt = _e[et].indexOf("="); 35627 tt > 0 && _e[et].substring(0, tt) === o && (g = _e[et].substring(tt + 1)); 35628 } 35629 } 35630 if (g) return g; 35631 if (!g && h > -1) { 35632 const _e = b.match(/\/([a-zA-Z-]*)/g); 35633 return Array.isArray(_e) ? (_a = _e[typeof h == "number" ? h : 0]) == null ? void 0 : _a.replace("/", "") : void 0; 35634 } 35635 } 35636 } 35637 return g; 35638 } 35639 }; 35640 let hasLocalStorageSupport = null; 35641 const localStorageAvailable = () => { 35642 if (hasLocalStorageSupport !== null) return hasLocalStorageSupport; 35643 try { 35644 if (hasLocalStorageSupport = typeof window < "u" && window.localStorage !== null, !hasLocalStorageSupport) return false; 35645 const d = "i18next.translate.boo"; 35646 window.localStorage.setItem(d, "foo"), window.localStorage.removeItem(d); 35647 } catch (e2) { 35648 hasLocalStorageSupport = false; 35649 } 35650 return hasLocalStorageSupport; 35651 }; 35652 var localStorage$1 = { 35653 name: "localStorage", 35654 lookup(d) { 35655 let { lookupLocalStorage: o } = d; 35656 if (o && localStorageAvailable()) return window.localStorage.getItem(o) || void 0; 35657 }, 35658 cacheUserLanguage(d, o) { 35659 let { lookupLocalStorage: h } = o; 35660 h && localStorageAvailable() && window.localStorage.setItem(h, d); 35661 } 35662 }; 35663 let hasSessionStorageSupport = null; 35664 const sessionStorageAvailable = () => { 35665 if (hasSessionStorageSupport !== null) return hasSessionStorageSupport; 35666 try { 35667 if (hasSessionStorageSupport = typeof window < "u" && window.sessionStorage !== null, !hasSessionStorageSupport) return false;
vendor: 5,725 bytes, lines 35668-35814
35668 const d = "i18next.translate.boo"; 35669 window.sessionStorage.setItem(d, "foo"), window.sessionStorage.removeItem(d); 35670 } catch (e2) { 35671 hasSessionStorageSupport = false; 35672 } 35673 return hasSessionStorageSupport; 35674 }; 35675 var sessionStorage = { 35676 name: "sessionStorage", 35677 lookup(d) { 35678 let { lookupSessionStorage: o } = d; 35679 if (o && sessionStorageAvailable()) return window.sessionStorage.getItem(o) || void 0; 35680 }, 35681 cacheUserLanguage(d, o) { 35682 let { lookupSessionStorage: h } = o; 35683 h && sessionStorageAvailable() && window.sessionStorage.setItem(h, d); 35684 } 35685 }, navigator$1 = { 35686 name: "navigator", 35687 lookup(d) { 35688 const o = []; 35689 if (typeof navigator < "u") { 35690 const { languages: h, userLanguage: g, language: b } = navigator; 35691 if (h) for (let $ = 0; $ < h.length; $++) o.push(h[$]); 35692 g && o.push(g), b && o.push(b); 35693 } 35694 return o.length > 0 ? o : void 0; 35695 } 35696 }, htmlTag = { 35697 name: "htmlTag", 35698 lookup(d) { 35699 let { htmlTag: o } = d, h; 35700 const g = o || (typeof document < "u" ? document.documentElement : null); 35701 return g && typeof g.getAttribute == "function" && (h = g.getAttribute("lang")), h; 35702 } 35703 }, path = { 35704 name: "path", 35705 lookup(d) { 35706 var _a; 35707 let { lookupFromPathIndex: o } = d; 35708 if (typeof window > "u") return; 35709 const h = window.location.pathname.match(/\/([a-zA-Z-]*)/g); 35710 return Array.isArray(h) ? (_a = h[typeof o == "number" ? o : 0]) == null ? void 0 : _a.replace("/", "") : void 0; 35711 } 35712 }, subdomain = { 35713 name: "subdomain", 35714 lookup(d) { 35715 var _a, _b; 35716 let { lookupFromSubdomainIndex: o } = d; 35717 const h = typeof o == "number" ? o + 1 : 1, g = typeof window < "u" && ((_b = (_a = window.location) == null ? void 0 : _a.hostname) == null ? void 0 : _b.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i)); 35718 if (g) return g[h]; 35719 } 35720 }; 35721 let canCookies = false; 35722 try { 35723 document.cookie, canCookies = true; 35724 } catch (d) { 35725 } 35726 const order = [ 35727 "querystring", 35728 "cookie", 35729 "localStorage", 35730 "sessionStorage", 35731 "navigator", 35732 "htmlTag" 35733 ]; 35734 canCookies || order.splice(1, 1); 35735 const getDefaults = () => ({ 35736 order, 35737 lookupQuerystring: "lng", 35738 lookupCookie: "i18next", 35739 lookupLocalStorage: "i18nextLng", 35740 lookupSessionStorage: "i18nextLng", 35741 caches: [ 35742 "localStorage" 35743 ], 35744 excludeCacheFor: [ 35745 "cimode" 35746 ], 35747 convertDetectedLanguage: (d) => d 35748 }); 35749 class Browser { 35750 constructor(o) { 35751 let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; 35752 this.type = "languageDetector", this.detectors = {}, this.init(o, h); 35753 } 35754 init() { 35755 let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : { 35756 languageUtils: {} 35757 }, h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; 35758 this.services = o, this.options = defaults(h, this.options || {}, getDefaults()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (b) => b.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = g, this.addDetector(cookie$1), this.addDetector(querystring), this.addDetector(localStorage$1), this.addDetector(sessionStorage), this.addDetector(navigator$1), this.addDetector(htmlTag), this.addDetector(path), this.addDetector(subdomain), this.addDetector(hash); 35759 } 35760 addDetector(o) { 35761 return this.detectors[o.name] = o, this; 35762 } 35763 detect() { 35764 let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.order, h = []; 35765 return o.forEach((g) => { 35766 if (this.detectors[g]) { 35767 let b = this.detectors[g].lookup(this.options); 35768 b && typeof b == "string" && (b = [ 35769 b 35770 ]), b && (h = h.concat(b)); 35771 } 35772 }), h = h.filter((g) => g != null && !hasXSS(g)).map((g) => this.options.convertDetectedLanguage(g)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? h : h.length > 0 ? h[0] : null; 35773 } 35774 cacheUserLanguage(o) { 35775 let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches; 35776 h && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(o) > -1 || h.forEach((g) => { 35777 this.detectors[g] && this.detectors[g].cacheUserLanguage(o, this.options); 35778 })); 35779 } 35780 } 35781 Browser.type = "languageDetector"; 35782 instance.use(Browser).use(initReactI18next).init({ 35783 detection: { 35784 order: [ 35785 "querystring", 35786 "localStorage", 35787 "navigator" 35788 ], 35789 lookupQuerystring: "lang", 35790 caches: [] 35791 }, 35792 fallbackLng: [ 35793 "zh-cn" 35794 ], 35795 supportedLngs: [ 35796 "en-us", 35797 "zh-cn", 35798 "zh-tw", 35799 "ko-kr", 35800 "ja-jp" 35801 ], 35802 resources, 35803 interpolation: { 35804 escapeValue: false 35805 }, 35806 lowerCaseLng: true 35807 }).then(() => { 35808 console.log("i18n.language", instance.language), console.log("i18n.languages", instance.languages), console.log("resources", Object.keys(resources)); 35809 }); 35810 document.body.setAttribute("data-lang", instance.language); 35811 if (isDesktop_1 || isIPad13_1) await __vitePreload(() => Promise.resolve({}), __vite__mapDeps([0])), document.body.classList.add("pc"); 35812 else { 35813 await __vitePreload(() => Promise.resolve({}), __vite__mapDeps([1])), document.body.classList.add("mobile"); 35814 var phoneWidth = parseInt(window.screen.width), phoneScale = ph
35814oneWidth / 750, ua = navigator.userAgent; 35815 const d = document.createElement("meta"); 35816 if (d.name = "viewport", /Android (\d+\.\d+)/.test(ua)) { 35817 var version = parseFloat(RegExp.$1); 35818 version > 2.3 ? d.content = "width=750, minimum-scale=".concat(phoneScale, ", maximum-scale=").concat(phoneScale) : d.content = "width=750, user-scalable=no"; 35819 } else d.content = "width=750, user-scalable=no"; 35820 document.head.appendChild(d); 35821 } 35822 client.createRoot(document.getElementById("root")).render(jsxRuntimeExports.jsx(I18nextProvider, { 35823 i18n: instance, 35824 children: jsxRuntimeExports.jsx(App, {}) 35825 })); 35826})(); 35827export { 35828 __tla, 35829 __vite_legacy_guard 35830};
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.