PageSourceSearch

https://www.sportschau.de/resources/assets/208-1a499ca768b9bbe8cf84.chunk.bundle.js

js sportschau.de collected 2026-10-01 10:20:05 UTC 106,839 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_webapp_frontend=self.webpackChunk_webapp_frontend||[]).push([[208],{893(e,t,r){r.d(t,{u:()=>d});var i=r(9785);let o=(e,t,r)=>{if(e&&"reportValidity"in e){let o=(0,i.Jt)(r,t);e.setCustomValidity(o&&o.message||""),e.reportValidity()}},a=(e,t)=>{for(let r in t.fields){let i=t.fields[r];i&&i.ref&&"reportValidity"in i.ref?o(i.ref,r,e):i&&i.refs&&i.refs.forEach(t=>o(t,r,e))}},s=(e,t)=>{t.shouldUseNativeValidation&&a(e,t);let r={};for(let o in e){let a=(0,i.Jt)(t.fields,o),s=Object.assign(e[o]||{},{ref:a&&a.refs?a.refs[0]:a&&a.ref});if(n(t.names||Object.keys(e),o)){let e=Object.assign({},(0,i.Jt)(r,o));(0,i.hZ)(e,"root",s),(0,i.hZ)(r,o,e)}else(0,i.hZ)(r,o,s)}return r},n=(e,t)=>{let r=l(t).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some(e=>l(e).match(`^${r}\\.\\d+`))};function l(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(null,arguments)}function c(e,t){try{var r=e()}catch(e){return t(e)}return r&&r.then?r.then(void 0,t):r}function d(e,t,r){if(void 0===r&&(r={}),"_zod"in e&&"object"==typeof e._zod)return function(o,n,l){try{return Promise.resolve(c(function(){function i(e){return l.shouldUseNativeValidation&&a({},l),{errors:{},values:r.raw?Object.assign({},o):e}}return"sync"===r.mode?i(e.parse(o,t)):Promise.resolve(e.parseAsync(o,t)).then(i)},function(e){var t;if(!(null==e||null==(t=e._zod)||null==(t=t.traits)||!t.has("$ZodError")))return{values:{},errors:s(function(e,t){for(var r=Object.create(null);e.length;)!function(){var o=e[0],a=o.code,s=o.message,n=o.path.join(".");if(!r[n])if("invalid_union"===o.code&&o.errors.length>0){var l,c,d=o.errors.reduce(function(e,t){return t.length<e.length?t:e})[0];r[n]={message:null!=(l=null==d?void 0:d.message)?l:s,type:null!=(c=null==d?void 0:d.code)?c:a}}else r[n]={message:s,type:a};if("invalid_union"===o.code&&o.errors.forEach(function(t){return t.forEach(function(t){return e.push(u({},t,{path:[].concat(o.path,t.path)}))})}),t){var A=r[n].types,h=A&&A[o.code];r[n]=(0,i.Gb)(n,t,r,a,h?[].concat(h,o.message):o.message)}e.shift()}();return r}(e.issues,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}};if("_def"in e&&"object"==typeof e._def)return function(o,n,l){try{return Promise.resolve(c(function(){return Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](o,t)).then(function(e){return l.shouldUseNativeValidation&&a({},l),{errors:{},values:r.raw?Object.assign({},o):e}})},function(e){if(Array.isArray(null==e?void 0:e.issues))return{values:{},errors:s(function(e,t){for(var r=Object.create(null);e.length;){var o=e[0],a=o.code,s=o.message,n=o.path.join(".");if(!r[n])if("unionErrors"in o){var l,u,c=o.unionErrors.reduce(function(e,t){return t.errors.length<e.errors.length?t:e}).errors[0];r[n]={message:null!=(l=null==c?void 0:c.message)?l:s,type:null!=(u=null==c?void 0:c.code)?u:a}}else r[n]={message:s,type:a};if("unionErrors"in o&&o.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var d=r[n].types,A=d&&d[o.code];r[n]=(0,i.Gb)(n,t,r,a,A?[].concat(A,o.message):o.message)}e.shift()}return r}(e.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}};throw Error("Invalid input: not a Zod schema")}},7097(e,t,r){r.d(t,{n:()=>c});var i=r(7665),o=r(6540),a=r(4880),s=r(6500),n=r(6261),l=r(6158),u=class extends s.Q{#e;#t=void 0;#r;#i;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#o()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,a.f8)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,a.EN)(t.mutationKey)!==(0,a.EN)(this.options.mutationKey)?this.reset():this.#r?.state.status==="pending"&&this.#r.setOptions(this.options)}onSubscribe(){1===this.listeners.size&&this.#r&&(this.#r.addObserver(this),this.#o())}onUnsubscribe(){this.hasListeners()||this.#r?.removeObserver(this)}onMutationUpdate(e){this.#o(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#o(),this.#a()}mutate(e,t){return this.#i=t,this.#r?.removeObserver(this),this.#r=this.#e.getMutationCache().build(this.#e,this.options),this.#r.addObserver(this),this.#r.execute(e)}#o(){let e=this.#r?.state??(0,l.$)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#a(e){n.jG.batch(()=>
1{if(this.#i&&this.hasListeners()){let t=this.#t.variables,r=this.#t.context,i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#i.onSuccess?.(e.data,t,r,i)}catch(e){Promise.reject(e)}try{this.#i.onSettled?.(e.data,null,t,r,i)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#i.onError?.(e.error,t,r,i)}catch(e){Promise.reject(e)}try{this.#i.onSettled?.(void 0,e.error,t,r,i)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}};function c(e,t){let r=(0,i.jE)(t),[s]=o.useState(()=>new u(r,e));o.useEffect(()=>{s.setOptions(e)},[s,e]);let l=o.useSyncExternalStore(o.useCallback(e=>s.subscribe(n.jG.batchCalls(e)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),c=o.useCallback((...e)=>{s.mutate(e[0],e[1]).catch(a.lQ)},[s]);if(l.error&&(0,a.GU)(s.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}},395(e,t,r){let i,o,a;r.d(t,{S:()=>w});let s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256);for(let e=0;e<s.length;e++)n[s.charCodeAt(e)]=e;function l(e){let t=e.length,r="";for(let i=0;i<t;i+=3){let t=e[i+0],o=e[i+1],a=e[i+2],n="";n+=s.charAt(t>>>2),n+=s.charAt((3&t)<<4|o>>>4),n+=s.charAt((15&o)<<2|a>>>6),n+=s.charAt(63&a),r+=n}return t%3==2?r=r.substring(0,r.length-1)+"=":t%3==1&&(r=r.substring(0,r.length-2)+"=="),r}let u='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',c='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function d(e,t,r,i,o,a,s,n=!1,l,u){return`<div class="frc-container${u?" "+u:""}${t?" frc-rtl":""}">
2<svg class="frc-icon"${i?' aria-hidden="true"':""} role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">${r}</svg>
3<div class="frc-content">
4    <span class="frc-text" ${l?`data-debug="${l}"`:""}>${o}</span>
5    ${s?`<button type="button" class="frc-button">${s}</button>`:""}
6    ${n?'<progress class="frc-progress" value="0">0%</progress>':""}
7</div>
8</div><span class="frc-banner${t?" frc-rtl":""}"><a lang="en" href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
9${"-"===e?"":`<input name="${e}" class="frc-captcha-solution" type="hidden" value="${a}">`}`}function A(e,t,r,i=!0,o=!1){return d(e,t.rtl,c,!0,`<b>${t.text_error}</b><br>${r}`,o?".HEADLESS_ERROR":".ERROR",i?t.button_retry:void 0)}"u">typeof navigator&&"string"==typeof navigator.userAgent&&(o=(i=navigator).userAgent.toLowerCase());
9class h extends Error{constructor(e){super(e),this.name="UserFacingError",this.rawError=this}}async function f(e,t,r){let i=e.split(",");for(let e=0;e<i.length;e++)try{let r=await p(i[e]+"?sitekey="+t,{headers:[["x-frc-client","js-0.9.20"]],mode:"cors"},2);if(r.ok)return(await r.json()).data.puzzle;{let t;try{t=await r.json()}catch{}if(t&&t.errors&&"endpoint_not_enabled"===t.errors[0])throw new h(`Endpoint not allowed (${r.status})`);if(t&&t.errors&&"account_usage_limit_reached"===t.errors[0])throw new h("Usage limit reached");if(e===i.length-1)throw Error(`Response status ${r.status} ${r.statusText} ${t?t.errors:""}`)}}catch(o){if(o instanceof h)throw o;console.error("[FRC Fetch]:",o);let t=Error(`${r.text_fetch_error} <a class="frc-err-url" href="${i[e]}">${i[e]}</a>`);throw t.rawError=o,t}throw Error("Internal error")}async function p(e,t,r){let i=1e3;return fetch(e,t).catch(async o=>{if(0===r)throw o;return await new Promise(e=>setTimeout(e,i)),i*=4,p(e,t,r-1)})}let g={text_init:" Aktiverer...",text_ready:"Jeg er ikke en robot",button_start:"Klikk for Ã¥ starte verifiseringen",text_fetching:"Henter data",text_solving:"Sjekker at du er et menneske...",text_completed:"Jeg er et menneske",text_completed_sr:"Automatisk spam-sjekk fullført",text_expired:"Verifisering kunne ikke fullføres",button_restart:"Omstart",text_error:"Bekreftelsen mislyktes",button_retry:"Prøv pÃ¥ nytt",text_fetch_error:"Tilkoblingen mislyktes"},b={en:{text_init:"Initializing...",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human...",text_completed:"I am human",text_completed_sr:"Automatic spam check completed",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},de:{text_init:"Initialisierung...",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden...",text_solving:"Verifizierung, dass Sie ein Mensch sind...",text_completed:"Ich bin ein Mensch",text_completed_sr:"Automatische Spamprüfung abgeschlossen",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},nl:{text_init:"Initializeren...",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden...",text_solving:"Anti-robotverificatie bezig...",text_completed:"Ik ben een mens",text_completed_sr:"Automatische anti-spamcheck voltooid",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},fr:{text_init:"Chargement...",text_ready:"Vérification Anti-Robot",button_start:"Clique ici pour vérifier",text_fetching:"Chargement du défi",text_solving:"Nous vérifions que vous n'êtes pas un robot...",text_completed:"Je ne suis pas un robot",text_completed_sr:"Vérification automatique des spams terminée",text_expired:"Vérification anti-robot expirée",button_restart:"Redémarrer",text_error:"Échec de la vérification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},it:{text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_completed_sr:"Controllo automatico dello spam completato",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},pt:{text_init:"Inicializando...",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando...",text_solving:"Verificando se você é humano...",text_completed:"Eu sou humano",text_completed_sr:"Verificação automática de spam concluída",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},es:{text_init:"Inicializando...",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano...",text_completed:"Soy humano",text_completed_sr:"Verificación automática de spam completada",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},ca:{text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà...",text_completed:"Soc humà",text_completed_sr:"Verificació automàtica de correu brossa completada",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"},ja:{text_init:"開始しています...",text_ready:"アンチロボット認証",button_start:"クリックして認証を開始",text_fetching:"ロードしています",text_solving:"認証中...",text_completed:"私はロボットではありません",text_completed_sr:"自動スパムチェックが完了しました",text_expired:"認証の期限が切れています",button_restart:"再度認証を行う",text_error:"認証にエラーが発生しました",button_retry:"再度認証を行う",text_fetch_error:"接続ができませんでした"},da:{text_init:"Aktiverer...",text_ready:"Jeg er ikke en robot",button_start:"Klik for at starte verifikationen",text_fetching:"Henter data",text_solving:"Kontrollerer at du er et menneske...",text_completed:"Jeg er et menneske.",text_completed_sr:"Automatisk spamkontrol gennemført",text_expired:"Verifikationen kunne ikke fuldføres",button_restart:"Genstart",text_error:"Bekræftelse mislykkedes",button_retry:"Prøv igen",text_fetch_error:"Forbindelsen mislykkedes"},ru:{text_init:"Инициализация...",text_ready:"АнтиРобот проверка",button_start:"Нажмите, чтобы начать проверку",text_fetching:"Получаю задачу",text_solving:"Проверяю, что вы человек...",text_completed:"Я человек",text_completed_sr:"Aвтоматическая проверка на спам завершена",text_expired:"Срок АнтиРоботной проверки истёк",button_restart:"Начать заново",text_error:"Ошибка проверки",button_retry:"Повторить ещё раз",text_fetch_error:"Ошибка подключения"},sv:{text_init:"Aktiverar...",text_ready:"Jag är inte en robot",button_start:"Klicka för att verifiera",text_fetching:"Hämtar data",text_solving:"Kontrollerar att du är människa...",text_completed:"Jag är en människa",text_completed_sr:"Automatisk spamkontroll slutförd",text_expired:"Anti-robot-verifieringen har löpt ut",button_restart:"Börja om",text_error:"Verifiering kunde inte slutföras",button_retry:"Omstart",text_fetch_error:"Verifiering misslyckades"},tr:{text_init:"Başlatılıyor...",text_ready:"Anti-Robot Doğrulaması",button_start:"Doğrulamayı başlatmak için tıklayın",text_fetching:"Yükleniyor",text_solving:"Robot olmadığınız doğrulanıyor...",text_completed:"Ben bir insanım",text_completed_sr:"Otomatik spam kontrolü tamamlandı",text_expired:"Anti-Robot doğrulamasının süresi doldu",button_restart:"Yeniden başlat",text_error:"Doğrulama başarısız oldu",button_retry:"Tekrar dene",text_fetch_error:"Bağlantı başarısız oldu"},el:{text_init:"Προετοιμασία...",text_ready:"Anti-Robot Επαλήθευση",button_start:" Κάντε κλικ για να ξεκινήσει η επαλήθευση",text_fetching:" Λήψη πρόκλησης",text_solving:" Επιβεβαίωση ανθρώπου...",text_completed:"Είμαι άνθρωπος",text_completed_sr:" Ο αυτόματος έλεγχος ανεπιθύμητου περιεÏ
9‡Î¿Î¼Î­Î½Î¿Ï… ολοκληρώθηκε",text_expired:" Η επαλήθευση Anti-Robot έληξε",button_restart:" Επανεκκίνηση",text_error:" Η επαλήθευση απέτυχε",button_retry:" Δοκιμάστε ξανά",text_fetch_error:" Αποτυχία σύνδεσης με"},uk:{text_init:"Ініціалізація...",text_ready:"Антиробот верифікація",button_start:"Натисніть, щоб розпочати верифікацію",text_fetching:"З’єднання",text_solving:"Перевірка, що ви не робот...",text_completed:"Я не робот",text_completed_sr:"Автоматична перевірка спаму завершена",text_expired:"Час вичерпано",button_restart:"Почати знову",text_error:"Верифікація не вдалась",button_retry:"Спробувати знову",text_fetch_error:"Не вдалось з’єднатись"},bg:{text_init:"Инициализиране...",text_ready:"Анти-робот проверка",button_start:"Щракнете, за да започнете проверката",text_fetching:"Предизвикателство",text_solving:"Проверяваме дали си човек...",text_completed:"Аз съм човек",text_completed_sr:"Автоматичната проверка за спам е завършена",text_expired:"Анти-Робот проверката изтече",button_restart:"Рестартирайте",text_error:"Неуспешна проверка",button_retry:"Опитайте пак",text_fetch_error:"Неуспешно свързване с"},cs:{text_init:"Inicializace...",text_ready:"Ověření proti robotům",button_start:"Klikněte pro ověření",text_fetching:"Problém při načítání",text_solving:"Ověření, že jste člověk...",text_completed:"Jsem člověk",text_completed_sr:"Automatická kontrola spamu dokončena",text_expired:"Ověření proti robotům vyprÅ¡elo",button_restart:"Restartovat",text_error:"Ověření se nezdařilo",button_retry:"Zkusit znovu",text_fetch_error:"Připojení se nezdařilo"},sk:{text_init:"Inicializácia...",text_ready:"Overenie proti robotom",button_start:"Kliknite pre overenie",text_fetching:"Problém pri načítaní",text_solving:"Overenie, že ste človek...",text_completed:"Som človek",text_completed_sr:"Automatická kontrola spamu dokončená",text_expired:"Overenie proti robotom vyprÅ¡alo",button_restart:"ReÅ¡tartovaÅ¥",text_error:"Overenie sa nepodarilo",button_retry:"SkúsiÅ¥ znova",text_fetch_error:"Pripojenie sa nepodarilo"},no:g,fi:{text_init:"Aktivoidaan...",text_ready:"En ole robotti",button_start:"Aloita vahvistus klikkaamalla",text_fetching:"Haetaan tietoja",text_solving:"Tarkistaa, että olet ihminen...",text_completed:"Olen ihminen",text_completed_sr:"Automaattinen roskapostin tarkistus suoritettu",text_expired:"Vahvistusta ei voitu suorittaa loppuun",button_restart:"Uudelleenkäynnistys",text_error:"Vahvistus epäonnistui",button_retry:"Yritä uudelleen",text_fetch_error:"Yhteys epäonnistui"},lv:{text_init:"Notiek inicializēšana...",text_ready:"Verifikācija, ka neesat robots",button_start:"Noklikšķiniet, lai sāktu verifikāciju",text_fetching:"Notiek drošības uzdevuma izgūšana",text_solving:"Notiek pārbaude, vai esat cilvēks...",text_completed:"Es esmu cilvēks",text_completed_sr:"Automātiska surogātpasta pārbaude pabeigta",text_expired:"Verifikācijas, ka neesat robots, derÄ«gums beidzies",button_restart:"Restartēt",text_error:"Verifikācija neizdevās",button_retry:"Mēģināt vēlreiz",text_fetch_error:"Neizdevās izveidot savienojumu ar"},lt:{text_init:"Inicijuojama...",text_ready:"Patikrinimas, ar nesate robotas",button_start:"Spustelėkite patikrinimui pradėti",text_fetching:"Gavimo iššūkis",text_solving:"Tikrinama, ar esate žmogus...",text_completed:"Esu žmogus",text_completed_sr:"Automatinė patikra dėl paÅ¡to Å¡iukÅ¡lių atlikta",text_expired:"Patikrinimas, ar nesate robotas, baigė galioti",button_restart:"Pradėti iÅ¡ naujo",text_error:"Patikrinimas nepavyko",button_retry:"Kartoti",text_fetch_error:"Nepavyko prisijungti prie"},pl:{text_init:"Inicjowanie...",text_ready:"Weryfikacja antybotowa",button_start:"Kliknij, aby rozpocząć weryfikację",text_fetching:"Pobieranie",text_solving:"Weryfikacja, czy nie jesteś robotem...",text_completed:"Nie jestem robotem",text_completed_sr:"Zakończono automatyczne sprawdzanie spamu",text_expired:"Weryfikacja antybotowa wygasła",button_restart:"Uruchom ponownie",text_error:"Weryfikacja nie powiodła się",button_retry:"Spróbuj ponownie",text_fetch_error:"Nie udało się połączyć z"},et:{text_init:"Initsialiseerimine...",text_ready:"Robotivastane kinnitus",button_start:"Kinnitamisega alustamiseks klõpsake",text_fetching:"Väljakutse toomine",text_solving:"Kinnitatakse, et sa oled inimene...",text_completed:"Ma olen inimene",text_completed_sr:"Automaatne rämpsposti kontroll on lõpetatud",text_expired:"Robotivastane kinnitus aegus",button_restart:"Taaskäivita",text_error:"Kinnitamine nurjus",button_retry:"Proovi uuesti",text_fetch_error:"Ühenduse loomine nurjus"},hr:{text_init:"Početno postavljanje...",text_ready:"Provjera protiv robota",button_start:"Kliknite za početak provjere",text_fetching:"Dohvaćanje izazova",text_solving:"Provjeravamo jeste li čovjek...",text_completed:"Nisam robot",text_completed_sr:"Automatska provjera je zavrÅ¡ena",text_expired:"Vrijeme za provjeru protiv robota je isteklo",button_restart:"Osvježi",text_error:"Provjera nije uspjlela",button_retry:" Ponovo pokreni",text_fetch_error:"Nije moguće uspostaviti vezu"},sr:{text_init:"Pokretanje...",text_ready:"Anti-Robot Verifikacija",button_start:"Kliknite da biste započeli verifikaciju",text_fetching:"Učitavanje izazova",text_solving:"Verifikacija da ste čovek...",text_completed:"Ja sam čovek",text_completed_sr:"Automatska provera neželjene poÅ¡te je zavrÅ¡ena",text_expired:"Anti-Robot verifikacija je istekla",button_restart:"Ponovo pokrenuti",text_error:"Verifikacija nije uspela",button_retry:"PokuÅ¡ajte ponovo",text_fetch_error:"Neuspelo povezivanje sa..."},sl:{text_init:"Inicializiranje...",text_ready:"Preverjanje robotov",button_start:"Kliknite za začetek preverjanja",text_fetching:"PrenaÅ¡anje izziva",text_solving:"Preverjamo, ali ste človek",text_completed:"Nisem robot",text_completed_sr:"Avtomatsko preverjanje je zaključeno",text_expired:"Preverjanje robotov je poteklo",button_restart:"Osveži",text_error:"Preverjanje ni uspelo",button_retry:"Poskusi ponovno",text_fetch_error:"Povezave ni bilo mogoče vzpostaviti"},hu:{text_init:"Inicializálás...",text_ready:"Robotellenes ellenőrzés",button_start:"Kattintson az ellenőrzés megkezdéséhez",text_fetching:"Feladvány lekérése",text_solving:"Annak igazolása, hogy Ön nem robot...",text_completed:"Nem vagyok robot",text_completed_sr:"Automatikus spam ellenőrzés befejeződött",text_expired:"Robotellenes ellenőrzés lejárt",button_restart:"Újraindítás",text_error:"Az ellenőrzés nem sikerült",button_retry:"Próbálja újra",text_fetch_error:"Nem sikerült csatlakozni"},ro:{text_init:"Se inițializează...",text_ready:"Verificare anti-robot",button_start:"Click pentru a începe verificarea",text_fetching:"Downloading",text_solving:"Verificare că ești om...",text_completed:"Sunt om",text_completed_sr:"Verificarea automată a spam-ului a fost finalizată",text_expired:"Verificarea anti-robot a expirat",button_restart:"Restart",text_error:"Verificare eșuată",button_retry:"Reîncearcă",text_fetch_error:"Nu s-a putut conecta"},zh:{text_init:"初始化中……",text_ready:"人机验证",button_start:"点击开始",text_fetching:"正在加载",text_solving:"人机校验中……",text_completed:"我不是机器人",text_completed_sr:"人机验证完成",text_expired:"验证已过期",button_restart:"重新开始",text_error:"校验失败",button_retry:"重试",text_fetch_error:"无法连接到"},zh_tw:{text_init:"正在初始化……",text_ready:"反機器人驗證",button_start:"點擊開始驗證",text_fetching:"載入中",text_solving:"反機器人驗證中……",text_completed:"我不是機器人",text_completed_sr:"驗證完成",text_expired:"驗證超時",button_restart:"重新開始",text_error:"驗證失敗",button_retry:"重試",text_fetch_error:"無法連線到"},vi:{text_init:"Đang khởi tạo...",text_ready:"Xác minh chống Robot",button_start:"Bấm vào đây để xác minh",text_fetching:"Tìm nạp và xá»­ lý thá»­ thách",text_solving:"Xác minh bạn là người...",text_completed:"Bạn là con người",text_completed_sr:"Xác minh hoàn tất",text_expired:"Xác minh đã hết hạn",button_restart:"Khởi động lại",text_error:"Xác minh thất bại",button_retry:"Thá»­ lại",text_fetch_error:"Không kết nối được"},he:{text_init:"בביצוע...",text_ready:"אימות אנוש",button_start:"צריך ללחוץ להתחלת האימות",text_fetching:"אתגר המענה בהכנה",text_solving:"מתבצע אימות אנוש...",text_completed:"אני לא רובוט",text_completed_sr:"בדיקת הספאם האוטומטית הסתיימה",text_expired:"פג תוקף אימות האנוש",button_restart:"להתחיל שוב",text_error:"אימות האנוש נכשל",button_retry:"לנסות שוב",text_fetch_error:"נכשל החיבור אל",rtl:!0},th:{text_init:"การเริ่มต้น...",text_ready:" การตรวจสอบต่อต้านหุ่นยนต์",button_start:"คลิกเพื่อเริ่มการตรวจสอบ",text_fetching:"การดึงความท้าทาย",text_solving:"ยืนยันว่าคุณเป็นมนุษย์...",text_completed:"ฉันเป็นมนุษย์",text_completed_sr:"การตรวจสอบสแปมอัตโนมัติเสร็จสมบูรณ์",text_expired:"à¸
9à¸²à¸£à¸•รวจสอบ ต่อต้านหุ่นยนต์ หมดอายุ",button_restart:"รีสตาร์ท",text_error:"การยืนยันล้มเหลว",button_retry:"ลองใหม่",text_fetch_error:"ไม่สามารถเชื่อมต่อได้"},kr:{text_init:"초기화 중",text_ready:"Anti-Robot 검증",button_start:"검증을 위해 클릭해 주세요",text_fetching:"검증 준비 중",text_solving:"검증 중",text_completed:"검증이 완료되었습니다",text_completed_sr:"자동 스팸 확인 완료",text_expired:"Anti-Robot 검증 만료",button_restart:"다시 시작합니다",text_error:"검증 실패",button_retry:"다시 시도해 주세요",text_fetch_error:"연결하지 못했습니다"},ar:{text_init:"...التهيئة",text_ready:"يتم التحقيق",button_start:"إضغط هنا للتحقيق",text_fetching:"تهيئة التحدي",text_solving:"نتحقق من أنك لست روبوتًا...",text_completed:"أنا لست روبوتًا",text_completed_sr:"تم الانتهاء من التحقق التلقائي من البريد العشوائي",text_expired:"انتهت صلاحية التحقق",button_restart:"إعادة تشغيل",text_error:"فشل التحقق",button_retry:"ابدأ مرة أخرى",text_fetch_error:"مشكلة في الاتصال مع"},nb:g};"u">typeof window&&(a=window.URL||window.webkitURL);class m{constructor(){this.workers=[],this.puzzleNumber=0,this.numPuzzles=0,this.threshold=0,this.startTime=0,this.progress=0,this.totalHashes=0,this.puzzleSolverInputs=[],this.puzzleIndex=0,this.solutionBuffer=new Uint8Array(0),this.solverType=1,this.readyPromise=new Promise(()=>{}),this.readyCount=0,this.startCount=0,this.progressCallback=()=>0,this.readyCallback=()=>0,this.startedCallback=()=>0,this.doneCallback=()=>0,this.errorCallback=()=>0}init(){let e;this.terminateWorkers(),this.progress=0,this.totalHashes=0,this.readyPromise=new Promise(t=>e=t),this.readyCount=0,this.startCount=0,this.workers=[,,,,];let t=new Blob(['
vendor: 9,941 bytes, line 9
9!function(){"use strict";const A="=".charCodeAt(0),I=new Uint8Array(256);for(let A=0;A<64;A++)I["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(A)]=A;function g(A){const I={},g=A.exports,C=g.memory,Q=g.__alloc,t=g.__retain,B=g.__rtti_base||-1;return I.__allocArray=(A,I)=>{const g=function(A){return new Uint32Array(C.buffer)[(B+4>>>2)+2*A]}(A),e=31-Math.clz32(g>>>6&31),o=I.length,i=Q(o<<e,0),r=Q(12,A),n=new Uint32Array(C.buffer);n[r+0>>>2]=t(i),n[r+4>>>2]=i,n[r+8>>>2]=o<<e;const E=C.buffer,s=new Uint8Array(E);if(16384&g)for(let A=0;A<o;++A)s[(i>>>e)+A]=t(I[A]);else s.set(I,i>>>e);return r},I.__getUint8Array=A=>{const I=new Uint32Array(C.buffer),g=I[A+4>>>2];return new Uint8Array(C.buffer,g,I[g-4>>>2]>>>0)},function(A,I={}){const g=A.__argumentsLength?I=>{A.__argumentsLength.value=I}:A.__setArgumentsLength||A.__setargc||(()=>({}));for(const C in A){if(!Object.prototype.hasOwnProperty.call(A,C))continue;const Q=A[C],t=C.split(".")[0];"function"==typeof Q&&Q!==g?(I[t]=(...A)=>(g(A.length),Q(...A))).original=Q:I[t]=Q}return I}(g,I)}class C{constructor(A){this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=A}}function Q(A,I){return A[I]^A[I+1]<<8^A[I+2]<<16^A[I+3]<<24}function t(A,I,g,C,Q,t,B,e){const o=I[B],i=I[B+1],r=I[e],n=I[e+1];let E,s,w,a,c=A[g],D=A[g+1],f=A[C],h=A[C+1],y=A[Q],l=A[Q+1],u=A[t],N=A[t+1];E=c+f,s=(c&f|(c|f)&~E)>>>31,c=E,D=D+h+s,E=c+o,s=(c&o|(c|o)&~E)>>>31,c=E,D=D+i+s,w=u^c,a=N^D,u=a,N=w,E=y+u,s=(y&u|(y|u)&~E)>>>31,y=E,l=l+N+s,w=f^y,a=h^l,f=w>>>24^a<<8,h=a>>>24^w<<8,E=c+f,s=(c&f|(c|f)&~E)>>>31,c=E,D=D+h+s,E=c+r,s=(c&r|(c|r)&~E)>>>31,c=E,D=D+n+s,w=u^c,a=N^D,u=w>>>16^a<<16,N=a>>>16^w<<16,E=y+u,s=(y&u|(y|u)&~E)>>>31,y=E,l=l+N+s,w=f^y,a=h^l,f=a>>>31^w<<1,h=w>>>31^a<<1,A[g]=c,A[g+1]=D,A[C]=f,A[C+1]=h,A[Q]=y,A[Q+1]=l,A[t]=u,A[t+1]=N}const B=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],e=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function o(A,I){const g=A.v,C=A.m;for(let I=0;I<16;I++)g[I]=A.h[I],g[I+16]=B[I];g[24]=g[24]^A.t,g[25]=g[25]^A.t/4294967296,I&&(g[28]=~g[28],g[29]=~g[29]);for(let I=0;I<32;I++)C[I]=Q(A.b,4*I);for(let A=0;A<12;A++)t(g,C,0,8,16,24,e[16*A+0],e[16*A+1]),t(g,C,2,10,18,26,e[16*A+2],e[16*A+3]),t(g,C,4,12,20,28,e[16*A+4],e[16*A+5]),t(g,C,6,14,22,30,e[16*A+6],e[16*A+7]),t(g,C,0,10,20,30,e[16*A+8],e[16*A+9]),t(g,C,2,12,22,24,e[16*A+10],e[16*A+11]),t(g,C,4,14,16,26,e[16*A+12],e[16*A+13]),t(g,C,6,8,18,28,e[16*A+14],e[16*A+15]);for(let I=0;I<16;I++)A.h[I]=A.h[I]^g[I]^g[I+16]}function i(A,I){for(let I=0;I<16;I++)A.h[I]=B[I];A.b.set(I),A.h[0]^=16842752^A.outlen}async function r(){return(A,I,g=4294967295)=>{const Q=function(A,I,g){if(128!=A.length)throw Error("Invalid input");const Q=A.buffer,t=new DataView(Q),B=new C(32);B.t=128;const e=t.getUint32(124,!0),r=e+g;for(let g=e;g<r;g++)if(t.setUint32(124,g,!0),i(B,A),o(B,!0),B.h[0]<I)return 0==ASC_TARGET?new Uint8Array(B.h.buffer):Uint8Array.wrap(B.h.buffer);return new Uint8Array(0)}(A,I,g);return[A,Q]}}let n,E;Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(A,I){return new Uint8Array(Array.prototype.slice.call(this,A,I))}}),self.ASC_TARGET=0;const s=new Promise((A=>E=A));self.onerror=A=>{self.postMessage({type:"error",message:JSON.stringify(A)})},self.onmessage=async C=>{const Q=C.data;try{if("solver"===Q.type){if(Q.forceJS){n=1;const A=await r();E(A)}else try{n=2;const C=WebAssembly.compile(function(g){let C=3285;g.charCodeAt(4379)===A&&C--,g.charCodeAt(4378)===A&&C--;const Q=new Uint8Array(C);for(let A=0,C=0;A<4380;A+=4){const t=I[g.charCodeAt(A+0)],B=I[g.charCodeAt(A+1)],e=I[g.charCodeAt(A+2)],o=I[g.charCodeAt(A+3)];Q[C++]=t<<2|B>>4,Q[C++]=(15&B)<<4|e>>2,Q[C++]=(3&e)<<6|63&o}return Q}("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvQSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECABQQA2AhQgAkEYTQ0AIABBADYCDCAAQQA2AhAgAEEANgIUIABBADYCGCABQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgwgACAAQQRxQRhqIgFqIQAgAiABayEBA0AgAUEgTwRAIABCADcDACAAQgA3AwggAEIANwMQIABCADcDGCABQSBrIQEgAEEgaiEADAELCwsLcgACfyAARQRAQQxBAhABIQALIAALQQA2AgAgAEEANgIEIABBADYCCCABQfD///8DIAJ2SwRAQcAKQfAKQRJBORAAAAsgASACdCIBQQAQASICIAEQBiAAKAIAGiAAIAI2AgAgACACNgIEIAAgATYCCCAAC88BAQJ/QaABQQAQASIAQQxBAxABQYABQQAQBzYCACAAQQxBBBABQQhBAxAHNgIEIABCADcDCCAAQQA2AhAgAEIANwMYIABCADcDICAAQgA3AyggAEIANwMwIABCADcDOCAAQgA3A0AgAEIANwNIIABCADcDUCAAQgA3A1ggAEIANwNgIABCADcDaCAAQgA3A3AgAEIANwN4IABCADcDgAEgAEIANwOIASAAQgA3A5ABQYABQQUQASIBQYABEAYgACABNgKYASAAQSA2ApwBIAAL2AkCA38SfiAAKAIEIQIgACgCmAEhAwNAIARBgAFIBEAgAyAEaiABIARqKQMANwMAIARBCGohBAwBCwsgAigCBCkDACEMIAIoAgQpAwghDSACKAIEKQMQIQ4gAigCBCkDGCEPIAIoAgQpAyAhBSACKAIEKQMoIQsgAigCBCkDMCEGIAIoAgQpAzghB0KIkvOd/8z5hOoAIQhCu86qptjQ67O7fyEJQqvw0/Sv7ry3PCEQQvHt9Pilp/2npX8hCiAAKQMIQtGFmu/6z5SH0QCFIRFCn9j52cKR2oKbfyESQpSF+aXAyom+YCETQvnC+JuRo7Pw2wAhFEEAIQQDQCAEQcABSARAIAUgCCARIAwgBSADIARBgAhqIgEtAABBA3RqKQMAfHwiBYVCIIoiDHwiCIVCGIoiESAIIAwgBSARIAMgAS0AAUEDdGopAwB8fCIMhUIQiiIIfCIVhUI/iiEFIAsgCSASIA0gCyADIAEtAAJBA3RqKQMAfHwiDYVCIIoiCXwiEYVCGIohCyAGIBAgEyAOIAYgAyABLQAEQQN0aikDAHx8IgaFQiCKIg58IhCFQhiKIhIgECAOIAYgEiADIAEtAAVBA3RqKQMAfHwiDoVCEIoiE3wiEIVCP4ohBiAHIAogFCAPIAcgAyABLQAGQQN0aikDAHx8IgeFQiCKIg98IgqFQhiKIhIgCiAPIAcgEiADIAEtAAdBA3RqKQMAfHwiD4VCEIoiCnwiEoVCP4ohByAQIAogDCARIAkgDSALIAMgAS0AA0EDdGopAwB8fCINhUIQiiIJfCIWIAuFQj+KIgwgAyABLQAIQQN0aikDAHx8IhCFQiCKIgp8IgsgECALIAyFQhiKIhEgAyABLQAJQQN0aikDAHx8IgwgCoVCEIoiFHwiECARhUI/iiELIAYgEiAIIA0gBiADIAEtAApBA3RqKQMAfHwiDYVCIIoiCHwiCoVCGIoiBiANIAYgAyABLQALQQN0aikDAHx8Ig0gCIVCEIoiESAKfCIKhUI/iiEGIAcgFSAJIA4gByADIAEtAAxBA3RqKQMAfHwiDoVCIIoiCHwiCYVCGIoiByAOIAcgAyABLQANQQN0aikDAHx8Ig4gCIVCEIoiEiAJfCIIhUI/iiEHIAUgFiATIA8gBSADIAEtAA5BA3RqKQMAfHwiD4VCIIoiCXwiFYVCGIoiBSAPIAUgAyABLQAPQQN0aikDAHx8Ig8gCYVCEIoiEyAVfCIJhUI/iiEFIARBEGohBAwBCwsgAigCBCACKAIEKQMAIAggDIWFNwMAIAIoAgQgAigCBCkDCCAJIA2FhTcDCCACKAIEIAIoAgQpAxAgDiAQhYU3AxAgAigCBCACKAIEKQMYIAogD4WFNwMYIAIoAgQgAigCBCkDICAFIBGFhTcDICACKAIEIAIoAgQpAyggCyAShYU3AyggAigCBCACKAIEKQMwIAYgE4WFNwMwIAIoAgQgAigCBCkDOCAHIBSFhTcDOCAAIAw3AxggACANNwMgIAAgDjcDKCAAIA83AzAgACAFNwM4IAAgCzcDQCAAIAY3A0ggACAHNwNQIAAgCDcDWCAAIAk3A2AgACAQNwNoIAAgCjcDcCAAIBE3A3ggACASNwOAASAAIBM3A4gBIAAgFDcDkAEL4QIBBH8gACgCCEGAAUcEQEHQCUGACkEeQQUQAAALIAAoAgAhBBAIIgMoAgQhBSADQoABNwMIIAQoAnwiACACaiEGA0AgACAGSQRAIAQgADYCfCADKAIEIgIoAgQgAygCnAGtQoiS95X/zPmE6gCFNwMAIAIoAgRCu86qptjQ67O7fzcDCCACKAIEQqvw0/Sv7ry3PDcDECACKAIEQvHt9Pilp/2npX83AxggAigCBELRhZrv+s+Uh9EANwMgIAIoAgRCn9j52cKR2oKbfzcDKCACKAIEQuv6htq/tfbBHzcDMCACKAIEQvnC+JuRo7Pw2wA3AzggAyAEEAkgBSgCBCkDAKcgAUkEQEEAIAUoAgAiAUEQaygCDCICSwRAQfALQbAMQc0NQQUQAAALQQxBAxABIgAgATYCACAAIAI2AgggACABNgIEIAAPCyAAQQFqIQAMAQsLQQxBAxABQQBBABAHCwwAQaANJABBoA0kAQsL+gQJAEGBCAu/AQECAwQFBgcICQoLDA0ODw4KBAgJDw0GAQwAAgsHBQMLCAwABQIPDQoOAwYHAQkEBwkDAQ0MCw4CBgUKBAAPCAkABQcCBAoPDgELDAYIAw0CDAYKAAsIAwQNBwUPDgEJDAUBDw4NBAoABwYDCQIICw0LBw4MAQMJBQAPBAgGAgoGDw4JCwMACAwCDQcBBAoFCgIIBAcGAQUPCwkOAwwNAAABAgMEBQYHCAkKCwwNDg8OCgQICQ8NBgEMAAILBwUDAEHACQspGgAAAAEAAAABAAAAGgAAAEkAbgB2AGEAbABpAGQAIABpAG4AcAB1AHQAQfAJCzEiAAAAAQAAAAEAAAAiAAAAcwByAGMALwBzAG8AbAB2AGUAcgBXAGEAcwBtAC4AdABzAEGwCgsrHAAAAAEAAAABAAAAHAAAAEkAbgB2AGEAbABpAGQAIABsAGUAbgBnAHQAaABB4AoLNSYAAAABAAAAAQAAACYAAAB+AGwAaQBiAC8AYQByAHIAYQB5AGIAdQBmAGYAZQByAC4AdABzAEGgCws1JgAAAAEAAAABAAAAJgAAAH4AbABpAGIALwBzAHQAYQB0AGkAYwBhAHIAcgBhAHkALgB0AHMAQeALCzMkAAAAAQAAAAEAAAAkAAAASQBuAGQAZQB4ACAAbwB1AHQAIABvAGYAIAByAGEAbgBnAGUAQaAMCzMkAAAAAQAAAAEAAAAkAAAAfgBsAGkAYgAvAHQAeQBwAGUAZABhAHIAcgBhAHkALgB0AHMAQeAMCy4GAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAYQAAAAIAAAAhAgAAAgAAACQC")),Q=await async function(A){const I=await async function(A){const I={env:{abort(){throw Error("Wasm aborted")}}};return{exports:g(await WebAssembly.instantiate(A,I))}}(A),C=I.exports.__retain(I.exports.__allocArray(I.exports.Uint8Array_ID,new Uint8Array(128)));let Q=I.exports.__getUint8Array(C);return(A,g,t=4294967295)=>{Q.set(A);const B=I.exports.solveBlake2b(C,g,t);Q=I.exports.__getUint8Array(C);const e=I.exports.__getUint8Array(B);return I.exports.__release(B),[Q,e]}}(await C);E(Q)}catch(A){console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+A.toString()),n=1;const I=await r();E(I)}self.postMessage({type:"ready",solver:n})}else if("start"===Q.type){const A=await s;self.postMessage({type:"started"});let I,g=0;for(let C=0;C<256;C++){Q.puzzleSolverInput[123]=C;const[t,B]=A(Q.puzzleSolverInput,Q.threshold);if(0!==B.length){I=t;break}console.warn("FC: Internal error or no solution found"),g+=Math.pow(2,32)-1}g+=new DataView(I.slice(-4).buffer).getUint32(0,!0),self.postMessage({type:"done",solution:I.slice(-8),h:g,puzzleIndex:Q.puzzleIndex,puzzleNumber:Q.puzzleNumber})}}catch(A){setTimeout((()=>{throw A}))}}}();
9'],{type:"text/javascript"});for(let r=0;r<this.workers.length;r++)this.workers[r]=new Worker(a.createObjectURL(t)),this.workers[r].onerror=e=>this.errorCallback(e),this.workers[r].onmessage=t=>{let i=t.data;if(i)if("ready"===i.type)this.readyCount++,this.solverType=i.solver,this.readyCount==this.workers.length&&(e(),this.readyCallback());else if("started"===i.type)this.startCount++,1==this.startCount&&(this.startTime=Date.now(),this.startedCallback());else if("done"===i.type){if(i.puzzleNumber!==this.puzzleNumber)return;if(this.puzzleIndex<this.puzzleSolverInputs.length&&(this.workers[r].postMessage({type:"start",puzzleSolverInput:this.puzzleSolverInputs[this.puzzleIndex],threshold:this.threshold,puzzleIndex:this.puzzleIndex,puzzleNumber:this.puzzleNumber}),this.puzzleIndex++),this.progress++,this.totalHashes+=i.h,this.progressCallback({n:this.numPuzzles,h:this.totalHashes,t:(Date.now()-this.startTime)/1e3,i:this.progress}),this.solutionBuffer.set(i.solution,8*i.puzzleIndex),this.progress==this.numPuzzles){let e=(Date.now()-this.startTime)/1e3;this.doneCallback({solution:this.solutionBuffer,h:this.totalHashes,t:e,diagnostics:function(e,t){let r=new Uint8Array(3),i=new DataView(r.buffer);return i.setUint8(0,e),i.setUint16(1,t),r}(this.solverType,e),solver:this.solverType})}}else"error"===i.type&&this.errorCallback(i)}}setupSolver(e=!1){let t={type:"solver",forceJS:e};for(let e=0;e<this.workers.length;e++)this.workers[e].postMessage(t)}async start(e){await this.readyPromise,this.puzzleSolverInputs=function(e,t){let r=[];for(let i=0;i<t;i++){let t=new Uint8Array(128);t.set(e),t[120]=i,r.push(t)}return r}(e.buffer,e.n),this.solutionBuffer=new Uint8Array(8*e.n),this.numPuzzles=e.n,this.threshold=e.threshold,this.puzzleIndex=0,this.puzzleNumber++;for(let e=0;e<this.workers.length&&this.puzzleIndex!==this.puzzleSolverInputs.length;e++)this.workers[e].postMessage({type:"start",puzzleSolverInput:this.puzzleSolverInputs[e],threshold:this.threshold,puzzleIndex:this.puzzleIndex,puzzleNumber:this.puzzleNumber}),this.puzzleIndex++}terminateWorkers(){if(0!=this.workers.length){for(let e=0;e<this.workers.length;e++)this.workers[e].terminate();this.workers=[]}}}class w{constructor(e,t={}){this.workerGroup=new m,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,skipStyleInjection:!1,startMode:"focus",puzzleEndpoint:e.dataset.puzzleEndpoint||"https://api.friendlycaptcha.com/api/v1/puzzle",startedCallback:()=>0,readyCallback:()=>0,doneCallback:()=>0,errorCallback:()=>0,sitekey:e.dataset.sitekey||"",language:e.dataset.lang||"en",solutionFieldName:e.dataset.solutionFieldName||"frc-captcha-solution",styleNonce:null},t),this.e=e,this.e.friendlyChallengeWidget=this,this.loadLanguage(),e.innerText=this.lang.text_init,this.opts.skipStyleInjection||function(e=null){if(!document.querySelector("#frc-style")){let t=document.createElement("style");t.id="frc-style",t.innerHTML=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:0;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;min-width:250px;max-width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-success .frc-icon{animation:1s ease-in both frc-fade-in}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}
9.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.frc-err-url{text-decoration:underline;font-size:.9em}.frc-rtl{direction:rtl}.frc-rtl .frc-content{margin:4px 0 0 6px}.frc-banner.frc-rtl{left:6px;right:auto}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}@keyframes frc-fade-in{from{opacity:0}to{opacity:1}}",e&&t.setAttribute("nonce",e),document.head.appendChild(t)}}(this.opts.styleNonce),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start)}init(e){if(this.hasBeenDestroyed)return void console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");if(this.initWorkerGroup(),e)this.start();else if("none"!==this.e.dataset.start&&("focus"===this.opts.startMode||"focus"===this.e.dataset.start)){let e=function(e){for(;"FORM"!==e.tagName;)if(!(e=e.parentElement))return null;return e}(this.e);if(e){var t;t=()=>this.start(),e.addEventListener("focusin",t,{once:!0,passive:!0})}else console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}loadLanguage(e){if(void 0!==e?this.opts.language=e:this.e.dataset.lang&&(this.opts.language=this.e.dataset.lang),"string"==typeof this.opts.language){let e=this.opts.language.toLowerCase(),t=b[e];void 0===t&&"-"===e[2]&&(t=b[e=e.substring(0,2)]),void 0===t&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),t=b.en),this.lang=t}else this.lang=Object.assign(Object.assign({},b.en),this.opts.language)}makeButtonStart(){let e=this.e.querySelector("button");e&&(e.addEventListener("click",e=>this.start(),{once:!0,passive:!0}),e.addEventListener("touchstart",e=>this.start(),{once:!0,passive:!0}))}onWorkerError(e){this.hasBeenStarted=!1,this.needsReInit=!0,this.expiryTimeout&&clearTimeout(this.expiryTimeout),console.error("[FRC]",e),this.e.innerHTML=A(this.opts.solutionFieldName,this.lang,"Background worker error "+e.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}initWorkerGroup(){this.workerGroup.progressCallback=e=>{var t;let r,i;t=this.e,r=t.querySelector(".frc-progress"),i=(e.i+1)/e.n,r&&(r.value=i,r.innerText=(100*i).toFixed(1)+"%",r.title=e.i+1+"/"+e.n+" ("+(e.h/e.t*.001).toFixed(0)+"K/s)")},this.workerGroup.readyCallback=()=>{var e;this.e.innerHTML=d(this.opts.solutionFieldName,(e=this.lang).rtl,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',!0,e.text_ready,".UNSTARTED",e.button_start,!1),this.makeButtonStart(),this.opts.readyCallback()},this.workerGroup.startedCallback=()=>{var e;this.e.innerHTML=d(this.opts.solutionFieldName,(e=this.lang).rtl,u,!0,e.text_solving,".UNFINISHED",void 0,!0),this.opts.startedCallback()},this.workerGroup.doneCallback=e=>{let t=this.handleDone(e);this.opts.doneCallback(t);let r=this.e.dataset.callback;r&&window[r](t)},this.workerGroup.errorCallback=e=>{this.onWorkerError(e)},this.workerGroup.init(),this.workerGroup.setupSolver(this.opts.forceJSFallback)}expire(){if(this.hasBeenStarted=!1,!1!==this.e.isConnected){var e;this.e.innerHTML=d(this.opts.solutionFieldName,(e=this.lang).rtl,c,!0,e.text_expired,".EXPIRED",e.button_restart),this.makeButtonStart()}}async start(){if(this.hasBeenDestroyed)return void console.error("Can not start FriendlyCaptcha widget which has been destroyed");if(this.hasBeenStarted)return void console.warn("Can not start FriendlyCaptcha widget which has already been started");let e=this.opts.sitekey||this.e.dataset.sitekey;if(!e){console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),this.e.innerHTML=A(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1);return}if(-1!==o.indexOf("headless")||-1!==i.appVersion.indexOf("Headless")||-1!==o.indexOf("bot")||-1!==o.indexOf("crawl")||!0===i.webdriver||!i.language||void 0!==i.languages&&!i.languages.length){this.e.innerHTML=A(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1,!0);return}if(this.needsReInit){this.needsReInit=!1,this.init(!0);return}this.hasBeenStarted=!0;try{var t,r,a;let i,o,s;this.e.innerHTML=(t=this.opts.solutionFieldName,r=this.lang,d(t,r.rtl,u,!0,r.text_fetching,".FETCHING",void 0,!0)),this.puzzle=(o=(i=(await f(this.opts.puzzleEndpoint,e,this.lang)).split("."))[1],s=function(e){let t=e.length,r=3*t>>>2;61===e.charCodeAt(t-1)&&r--,61===e.charCodeAt(t-2)&&r--;let i=new Uint8Array(r);for(let r=0,o=0;r<t;r+=4){let t=n[e.charCodeAt(r+0)],a=n[e.charCodeAt(r+1)],s=n[e.charCodeAt(r+2)],l=n[e.charCodeAt(r+3)];i[o++]=t<<2|a>>4,i[o++]=(15&a)<<4|s>>2,i[o++]=(3&s)<<6|63&l}return i}(o),{signature:i[0],base64:o,buffer:s,n:s[14],threshold:((a=s[15])>255?a=255:a<0&&(a=0),Math.pow(2,(255.999-a)/8)>>>0),expiry:3e5*s[13]}),this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.expiryTimeout=setTimeout(()=>this.expire(),this.puzzle.expiry-3e4)}catch(t){console.error("[FRC]",t),this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.e.innerHTML=A(this.opts.solutionFieldName,this.lang,t.message),this.makeButtonStart(),this.opts.errorCallback({code:"error_getting_puzzle",description:t.toString(),error:t});let e=this.e.dataset["callback-error"];e&&window[e](this);return}await this.workerGroup.start(this.puzzle)}handleDone(e){var t,r;let i;this.valid=!0;let o=`${this.puzzle.signature}.${this.puzzle.base64}.${l(e.solution)}.${l(e.diagnostics)}`;return this.e.innerHTML=(t=this.opts.solutionFieldName,r=this.lang,i=`${e.t.toFixed(0)}s (${(e.h/e.t*.001).toFixed(0)}K/s)${1===e.solver?" JS Fallback":""}`,d(t,r.rtl,`<title>${r.text_completed_sr}</title>
9<path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path>`,!1,r.text_completed,o,void 0,!1,i,"frc-success")),this.needsReInit=!0,o}destroy(){this.workerGroup.terminateWorkers(),this.needsReInit=!1,this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}reset(){this.hasBeenDestroyed?console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore"):(this.workerGroup.terminateWorkers(),this.needsReInit=!1,this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start))}}},9785(e,t,r){r.d(t,{FH:()=>F,Gb:()=>T,Jt:()=>x,hZ:()=>C,mN:()=>ey});var i=r(6540),o=e=>e instanceof Date,a=e=>null==e,s=e=>!a(e)&&!Array.isArray(e)&&"object"==typeof e&&!o(e);let n=/[.[\]'"]/;var l=e=>e.split(n).filter(Boolean),u="u">typeof window&&void 0!==window.HTMLElement&&"u">typeof document;function c(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Date)return new Date(e);let t="u">typeof FileList&&e instanceof FileList;if(u&&(e instanceof Blob||t))return e;let r=Array.isArray(e);if(!r&&e.constructor!==Object)return e;let i=r?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=c(e[t]));return i}let d="trigger",A="onChange",h="onSubmit",f="maxLength",p="minLength",g="pattern",b="required",m="validate",w="root",y=["__proto__","constructor","prototype"],v=/^\w*$/;var _=e=>void 0===e,x=(e,t,r)=>{if(!t||!s(e))return r;let i=v.test(t)?[t]:l(t);if(i.some(e=>y.includes(e)))return r;let o=i.reduce((e,t)=>a(e)?void 0:e[t],e);return _(o)||o===e?_(e[t])?r:e[t]:o},k=e=>"function"==typeof e,C=(e,t,r)=>{let i=-1,o=v.test(t)?[t]:l(t),a=o.length,n=a-1;for(;++i<a;){let t=o[i],a=r;if(i!==n){let r=e[t];a=s(r)||Array.isArray(r)?r:isNaN(+o[i+1])?{}:[]}if(y.includes(t))return;e[t]=a,e=e[t]}};let I=i.createContext(null);I.displayName="HookFormControlContext";let B=u?i.useLayoutEffect:i.useEffect;var E=e=>a(e)||"object"!=typeof e;let Q=(e,t)=>{let r;return 0===t.length&&!Array.isArray(e)&&!(s(r=e.constructor&&e.constructor.prototype)&&r.hasOwnProperty("isPrototypeOf"))};function z(e,t,r=new WeakMap){if(e===t)return!0;if(E(e)||E(t))return Object.is(e,t);if(o(e)&&o(t))return Object.is(e.getTime(),t.getTime());let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;if(Q(e,i)||Q(t,a))return Object.is(e,t);if(!i.length&&Array.isArray(e)!==Array.isArray(t))return!1;let n=r.get(e);if(n&&n.has(t))return!0;if(n)n.add(t);else{let i=new WeakSet;i.add(t),r.set(e,i)}for(let a of i){let i=e[a];if(!(a in t))return!1;if("ref"!==a){let e=t[a];if(o(i)&&o(e)||(s(i)||Array.isArray(i))&&(s(e)||Array.isArray(e))?!z(i,e,r):!Object.is(i,e))return!1}}return!0}function V(e){let t=i.useRef(!1),r=i.useRef(!1),o=i.useRef(void 0),a=i.useRef(0);return a.current++,!r.current&&e&&(r.current=!0,o.current=c(e())),{resyncIfNeeded:i.useCallback((e,i,s)=>{if(e&&(t.current||r.current&&a.current>1)){let e=i();z(o.current,e)||s(e)}t.current=!0},[]),snapshot:i.useCallback((e,t)=>{e&&(o.current=c(t()))},[])}}var D=e=>"string"==typeof e,S=(e,t,r,i,o)=>D(e)?(i&&t.watch.add(e),x(r,e,o)):Array.isArray(e)?e.map(e=>(i&&t.watch.add(e),x(r,e,x(o,e)))):(i&&(t.watchAll=!0),r);function F(e){let t=i.useContext(I),{control:r=t,name:o,defaultValue:a,disabled:s,exact:n,compute:l}=e||{},u=i.useRef(a),c=i.useRef(l),d=i.useRef(void 0),A=i.useRef(r),h=i.useRef(o);c.current=l;let f=()=>{let e=r._getWatch(o,u.current);return c.current?c.current(e):e},[p,g]=i.useState(f),b=i.useCallback(e=>{let t=S(o,r._names,e||r._formValues,!1,u.current);return c.current?c.current(t):t},[r._formValues,r._names,o]),m=i.useCallback(e=>{if(!s){let t=S(o,r._names,e||r._formValues,!1,u.current);if(c.current){let e=c.current(t);z(e,d.current)||(g(e),d.current=e)}else g(t)}},[r._formValues,r._names,s,o]),{resyncIfNeeded:w,snapshot:y}=V(f),v=i.useRef(m);v.current=m;let _=i.useRef(b);_.current=b,B(()=>{A.current===r&&z(h.current,o)?w(!s,()=>_.current(),e=>{g(e),d.current=e}):(A.current=r,h.current=o,v.current());let e=r._subscribe({name:o,formState:{values:!0},exact:n,callback:e=>{v.current(e.values)}});return()=>{e(),y(!s,()=>_.current())}},[r,n,o,s,w,y]),i.useEffect(()=>r._removeUnmounted());let x=A.current!==r,k=h.current;return i.useMemo(()=>
9{if(s)return!1;let e=!x&&!z(k,o);return x||e},[s,x,o,k])?b():p}var N=e=>({isOnSubmit:!e||e===h,isOnBlur:"onBlur"===e,isOnChange:e===A,isOnAll:"all"===e,isOnTouch:"onTouched"===e}),j=(e,t,r)=>{if(r)return!1;if(t.watchAll||t.watch.has(e))return!0;for(let r of t.watch)if(e.startsWith(r)&&"."===e.charAt(r.length))return!0;return!1};let R=(e,t,r,i)=>{for(let o of r||Object.keys(e)){if("_f"===o)continue;let a=r?x(e,o):e[o];if(a){let{_f:e}=a;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!i)return!0;else if(e.ref&&t(e.ref,e.name)&&!i)return!0;else if(R(a,t))break}else if((s(a)||Array.isArray(a))&&R(a,t))break}}};var M=(e,t,r)=>{let i=x(e,r),o=Array.isArray(i)?i:[];return C(o,w,t[r]),C(e,r,o),e},O=e=>s(e)&&!Object.keys(e).length,U=e=>{if(!u)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},T=(e,t,r,i,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[i]:o||!0}}:{};let H={value:!1,isValid:!1},P={value:!0,isValid:!0};var L=e=>{if(!Array.isArray(e))return H;if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}let t=e[0];return t&&t.checked&&!t.disabled?t.attributes&&"value"in t.attributes?_(t.value)||""===t.value?P:{value:t.value,isValid:!0}:P:H};let G={isValid:!1,value:null};var K=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,G):G;function q(e,t,r="validate"){if(D(e)||Array.isArray(e)&&e.every(D)||"boolean"==typeof e&&!e)return{type:r,message:D(e)?e:"",ref:t}}var Y=e=>!s(e)||e instanceof RegExp?{value:e,message:""}:e,$=async(e,t,r,i,n,l)=>{let{ref:u,refs:c,required:d,maxLength:A,minLength:h,min:w,max:y,pattern:v,validate:C,name:I,valueAsNumber:B,mount:E}=e._f,Q=x(r,I);if(!E||t.has(I))return{};let z=c?c[0]:u,V=e=>{if(n&&z.reportValidity){let t="boolean"==typeof e?"":e||"";c?c.forEach(e=>e.setCustomValidity(t)):z.setCustomValidity(t),z.reportValidity()}},S={},F="radio"===u.type,N="checkbox"===u.type,j=(B||"file"===u.type)&&_(u.value)&&_(Q)||U(u)&&""===u.value||""===Q||Array.isArray(Q)&&!Q.length,R=T.bind(null,I,i,S),M=(e,t,r,i=f,o=p)=>{let a=e?t:r;S[I]={type:e?i:o,message:a,ref:u,...R(e?i:o,a)}};if(l?!Array.isArray(Q)||!Q.length:d&&(!(F||N)&&(j||a(Q))||"boolean"==typeof Q&&!Q||N&&!L(c).isValid||F&&!K(c).isValid)){let{value:e,message:t}=D(d)?{value:!!d,message:d}:Y(d);if(e&&(S[I]={type:b,message:t,ref:z,...R(b,t)},!i))return V(t),S}if(!j&&(!a(w)||!a(y))){let e,t,r=Y(y),s=Y(w);if(a(Q)||o(Q)||isNaN(Q)){let i=u.valueAsDate||new Date(Q),o=e=>new Date(new Date().toDateString()+" "+e),a="time"==u.type,n="week"==u.type;D(r.value)&&Q&&(e=a?o(Q)>o(r.value):n?Q>r.value:i>new Date(r.value)),D(s.value)&&Q&&(t=a?o(Q)<o(s.value):n?Q<s.value:i<new Date(s.value))}else{let i=u.valueAsNumber||(Q?+Q:Q);a(r.value)||(e=i>r.value),a(s.value)||(t=i<s.value)}if((e||t)&&(M(!!e,r.message,s.message,"max","min"),!i))return V(S[I].message),S}if((A||h)&&!j&&(D(Q)||l&&Array.isArray(Q))){let e=Y(A),t=Y(h),r=!a(e.value)&&Q.length>+e.value,o=!a(t.value)&&Q.length<+t.value;if((r||o)&&(M(r,e.message,t.message),!i))return V(S[I].message),S}if(v&&!j&&D(Q)){let{value:e,message:t}=Y(v);if(e instanceof RegExp&&!Q.match(e)&&(S[I]={type:g,message:t,ref:u,...R(g,t)},!i))return V(t),S}if(C){if(k(C)){let e=q(await C(Q,r),z);if(e&&(S[I]={...e,...R(m,e.message)},!i))return V(e.message),S}else if(s(C)){let e={};for(let t in C){if(!O(e)&&!i)break;let o=q(await C[t](Q,r),z,t);o&&(e={...o,...R(t,o.message)},V(o.message),i&&(S[I]=e))}if(!O(e)&&(S[I]={ref:z,...e},!i))return S}}let H=S[I];return V(!H||H.message),S},J=e=>Array.isArray(e)?e:[e],W=e=>Array.isArray(e)?e.filter(Boolean):[];function X(e,t){if(D(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let r=Array.isArray(t)?t:v.test(t)?[t]:l(t);if(r.some(e=>y.includes(String(e))))return e;let i=1===r.length?e:function(e,t){let r=t.length-1,i=0;for(;i<r;){if(a(e)){e=void 0;break}e=e[t[i]],i++}return e}(e,r),o=r.length-1,n=r[o];return i&&delete i[n],0!==o&&(s(i)&&O(i)||Array.isArray(i)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!_(e[t]))return!1;return!0}(i))&&X(e,r.slice(0,-1)),e}let Z=i.createContext(null);Z.displayName="HookFormContext";var ee=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};let et=(e,t)=>null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,t);var er=(e,t)=>{if(!t)return!1;let r=e;for(let i of v.test(t)?[t]:l(t)){if(!et(r,i))return et(e,t);r=r[i]}return!0},ei=e=>U(e)&&e.isConnected;function eo(e){return Array.isArray(e)||s(e)}function ea(e){return Array.isArray(e)||s(e)&&!(e=>{for(let t in e)if(k(e[t]))return!0;return!1})(e)}function es(e){return!!(e&&"_f"in e)}function en(e){return Array.isArray(e)?!e.some(e=>!_(e)):!Object.keys(e).length}function el(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function eu(e,t={},r){for(let i in e){let o=e[i],a=r&&r[i];!ea(o)||Array.isArray(o)&&es(a)?_(o)||(t[i]=!0):(t[i]=Array.isArray(o)?[]:{},eu(o,t[i],a),en(t[i])&&el(t,i))}return t}function ec(e,t,r,i){for(let o in r||(r=eu(t,{},i)),e){let s=e[o],n=i&&i[o];!ea(s)||Array.isArray(s)&&es(n)?z(s,t[o])?el(r,o):r[o]=!0:(_(t)||E(r[o])?r[o]=eu(s,Array.isArray(s)?[]:{},n):ec(s,a(t)?{}:t[o],r[o],n),en(r[o])&&el(r,o))}return r}var ed=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:i})=>_(e)?e:t?""===e?0/0:e?+e:e:r&&D(e)?new Date(e):i?i(e):e;function eA(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?K(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?L(e.refs).value:ed(t.value,e)}var eh=e=>_(e)?e:e instanceof RegExp?e.source:s(e)?e.value instanceof RegExp?e.value.source:e.value:e;let ef="AsyncFunction";var ep=e=>{if(!e||!e.validate)return!1;if(k(e.validate))return e.validate.constructor.name===ef;if(s(e.validate)){for(let t in e.validate)if(e.validate[t].constructor.name===ef)return!0}return!1};function eg(e,t,r){let i=x(e,r);if(i||v.test(r))return{error:i,name:r};let o=r.split(".");for(;o.length;){let i=o.join("."),a=x(t,i),s=x(e,i);if(a&&!Array.isArray(a)&&r!==i)break;if(s&&s.type)return{name:i,error:s};if(s&&s.root&&s.root.type)return{name:`${i}.root`,error:s.root};o.pop()}return{name:r}}let eb={mode:h,reValidateMode:A,shouldFocusError:!0},em="form",ew={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function ey(e={}){let t=i.useRef(void 0),r=i.useRef(void 0),n=i.useRef(e.formControl),[A,h]=i.useState(()=>({...c(ew),isLoading:k(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:k(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&n.current!==e.formControl)if(n.current=e.formControl,e.formControl)t.current={...e.formControl,formState:A},e.defaultValues&&!k(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:r,...i}=function(e={}){let t={...eb,...e},r={...c(ew),isLoading:k(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},i={},n=(s(t.defaultValues)||s(t.values))&&c(t.defaultValues||t.values)||{},A=t.shouldUnregister?{}:c(n),h={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},f={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},p={},g={},b=0,y=N(t.mode),I=N(t.reValidateMode),B={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},E={...B},Q={...E},V={array:ee(),state:ee()},F=0,T="all"===t.criteriaMode,H=(e,t)=>r=>{clearTimeout(g[e]),g[e]=setTimeout(t,r)},P=async e=>
9{if(!h.keepIsValid&&!t.disabled&&(E.isValid||Q.isValid||e)){let e,o=++F;t.resolver?(e=O((await Z()).errors),o===F&&L()):e=await es({fields:i,onlyCheckValid:!0,eventType:"valid"}),o===F&&e!==r.isValid&&V.state.next({isValid:e})}},L=(e,i)=>{!t.disabled&&(E.isValidating||E.validatingFields||Q.isValidating||Q.validatingFields)&&((e||f.mount).forEach(e=>{e&&(i?C(r.validatingFields,e,i):X(r.validatingFields,e))}),V.state.next({validatingFields:r.validatingFields,isValidating:!O(r.validatingFields)}))},G=()=>{r.dirtyFields=ec(n,A,void 0,i)},K=(e,t)=>{C(r.errors,e,t),r.errors={...r.errors},V.state.next({errors:r.errors})},q=(t,o,s,u)=>{let c=x(i,t);if(c){if((e=>{let t=v.test(e)?[e]:l(e),r=A,i=n;for(let e=0;e<t.length-1;e++){let o=t[e];if(r=a(r)?r:r[o],i=a(i)?i:i[o],null===r&&null!==i)return!0}return!1})(t)||(e=>{if(!h.actionArrayLengths.size)return!1;let t=v.test(e)?[e]:l(e),r=A,i="",o=-1,s=0;for(let e=0;e<t.length&&!a(r);e++){let a=t[e];if(i=i?`${i}.${a}`:a,Array.isArray(r)&&+a>=r.length)return -1!==o&&(e!==o||+a<s);h.actionArrayLengths.has(i)&&(o=e+1,s=h.actionArrayLengths.get(i)),r=r[a]}return!1})(t))return;let i=_(x(A,t)),d=x(A,t,_(s)?x(n,t):s);_(d)||u&&u.defaultChecked||o?C(A,t,o?d:eA(c._f)):eu(t,d),h.mount&&!h.action&&(P(),i&&r.isDirty&&(E.isDirty||Q.isDirty)&&(en()||(r.isDirty=!1,V.state.next({...r}))),e.shouldUnregister&&i&&!_(x(A,t))&&j(t,f)&&(h.watch=!0))}},Y=(e,o,a,s,l)=>{let u=!1,c=!1,d={name:e};if(!t.disabled||!0===s){if(!a||s){let t=z(x(n,e),o);if((E.isDirty||Q.isDirty)&&(c=r.isDirty,r.isDirty=d.isDirty=!t||en(),u=c!==d.isDirty),c=!!x(r.dirtyFields,e),t!==r.isDirty){var h=r.dirtyFields,f=ec(n,A,void 0,i);for(let e in h)e in f||delete h[e];Object.assign(h,f)}else t?X(r.dirtyFields,e):C(r.dirtyFields,e,!0);d.dirtyFields=r.dirtyFields,u=u||(E.dirtyFields||Q.dirtyFields)&&!t!==c}if(a){let t=x(r.touchedFields,e);t||(C(r.touchedFields,e,a),d.touchedFields=r.touchedFields,u=u||(E.touchedFields||Q.touchedFields)&&t!==a)}u&&l&&V.state.next(d)}return u?d:{}},Z=async e=>(L(e,!0),await t.resolver(A,t.context,((e,t,r,i)=>{let o={};for(let r of e){let e=x(t,r);e&&C(o,r,e._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:i}})(e||f.mount,i,t.criteriaMode,t.shouldUseNativeValidation))),et=async e=>{let{errors:t}=await Z(e);if(L(e),e){for(let i of e){let e=x(t,i);e?f.array.has(i)&&s(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e)))?M(r.errors,{[i]:e},i):C(r.errors,i,e):X(r.errors,i)}r.errors={...r.errors}}else r.errors=t;return t},ea=async({name:t,eventType:i})=>{if(e.validate){let o=await e.validate({formValues:A,formState:r,name:t,eventType:i});if(s(o))for(let e in o){let t=o[e];t&&eB(`${em}.${e}`,{message:D(t.message)?t.message:"",type:t.type||m})}else D(o)||!o?eB(em,{message:o||"",type:m}):eI(em);return o}return!0},es=async({fields:i,onlyCheckValid:o,name:a,eventType:s,context:n={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(n.runRootValidation=!0,!await ea({name:a,eventType:s}))&&(n.valid=!1,o))return n.valid;for(let a in i){let l=i[a];if(l){let{_f:i,...u}=l;if(i){let a=f.array.has(i.name),s=l._f&&ep(l._f),u=E.validatingFields||E.isValidating||Q.validatingFields||Q.isValidating;s&&u&&L([i.name],!0);let c=await $(l,f.disabled,A,T,t.shouldUseNativeValidation&&!o,a);if(s&&u&&L([i.name]),c[i.name]&&(n.valid=!1,o)||(o||(x(c,i.name)?a?M(r.errors,c,i.name):C(r.errors,i.name,c[i.name]):X(r.errors,i.name)),e.shouldUseNativeValidation&&c[i.name]))break}O(u)||await es({context:n,onlyCheckValid:o,fields:u,name:a,eventType:s})}}return n.valid},en=(e,t)=>(e&&t&&C(A,e,t),!z(h.mount?A:n,n)),el=(e,t,r)=>S(e,f,{...h.mount?A:_(t)||D(e)?n:t},r,t),eu=(e,t,r={},o=!1,s=!1,n=!1)=>{let l=x(i,e),u=t;if(l){let r=l._f;r&&(r.disabled||C(A,e,ed(t,r)),u=U(r.ref)&&a(t)?"":t,"select-multiple"===r.ref.type?[...r.ref.options].forEach(e=>e.selected=u.includes(e.value)):r.refs?"checkbox"===r.ref.type?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(u)?e.checked=!!u.find(t=>t===e.value):e.checked=u===e.value||!!u)}):r.refs.forEach(e=>e.checked=e.value===u):"file"===r.ref.type?r.ref.value="":(r.ref.value=u,r.ref.type||s||n||V.state.next({name:e,values:o?A:c(A)})))}(r.shouldDirty||r.shouldTouch)&&Y(e,u,r.shouldTouch,r.shouldDirty,!s),r.shouldValidate&&ek(e,{delayError:r.delayError})},ef=(e,t,r,a=!1,n=!1,l=!1)=>{for(let u in f.array.has(e)&&V.array.next({name:e,values:a?A:c(A)}),t){if(!t.hasOwnProperty(u))continue;let c=t[u],d=e+"."+u,A=x(i,d);(f.array.has(e)||s(c)||A&&!A._f)&&!o(c)?ef(d,c,r,a,n,l):eu(d,c,r,a,n,l)}},ey=(e,t,o,s,n=!1)=>{let l=x(i,e),u=f.array.has(e),d=s?t:c(t),p=z(x(A,e),d);if(p||C(A,e,d),u)V.array.next({name:e,values:s?A:c(A)}),(E.isDirty||E.dirtyFields||Q.isDirty||Q.dirtyFields)&&o.shouldDirty&&(G(),n||V.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:en(e,d)}));else{let t=Array.isArray(d)&&!d.length||O(d),r=!p&&!n;!l||l._f||a(d)||t?eu(e,d,o,s,n,r):ef(e,d,o,s,n,r)}if(!p&&!n){let t=j(e,f),i=s?A:c(A);if(V.state.next({...t&&r,name:h.mount||t?e:void 0,values:i}),!u)for(let t of((e,t)=>{let r=t.split("."),i=[],o=r[0];for(let t=1;t<r.length;o+="."+r[t++])!isNaN(+r[t])&&e.has(o)&&i.push(`${o}.${r[t]}`);return i})(f.array,e))V.state.next({name:t,values:i})}},ev=(e,t,r={})=>ey(e,t,r,!1),e_=async a=>{h.mount=!0;let n=a.target,l=n.name,u=!0,d=x(i,l),m=e=>{u=Number.isNaN(e)||o(e)&&isNaN(e.getTime())||z(e,x(A,l,e))};if(d){let o,h,R,M,U=n.type?eA(d._f):s(o=a)&&o.target?"checkbox"===o.target.type?o.target.checked:"file"===o.target.type?o.target.files:o.target.value:o,G="blur"===a.type||"focusout"===a.type,q=!((M=d._f).mount&&(M.required||!_(M.required)&&!1!==M.required||!_(M.min)||!_(M.max)||!_(M.maxLength)||!_(M.minLength)||M.pattern||M.validate))&&!e.validate&&!t.resolver&&!x(r.errors,l)&&!d._f.deps,J=q||(w=G,v=x(r.touchedFields,l),k=r.isSubmitted,B=I,!(D=y).isOnAll&&(!k&&D.isOnTouch?!(v||w):(k?B.isOnBlur:D.isOnBlur)?!w:(k?!B.isOnChange:!D.isOnChange)||w)),W=j(l,f,G);if(C(A,l,c(U)),G){if(!n||!n.readOnly){d._f.onBlur&&d._f.onBlur(a);let e=p[l];e&&e(0)}}else d._f.onChange&&d._f.onChange(a);let ee=Y(l,U,G),et=!O(ee)||W;if(G||V.state.next({name:l,type:a.type,...b?{values:c(A)}:{}}),J)return(!q||!r.isValid)&&(E.isValid||Q.isValid)&&("onBlur"===t.mode?G&&P():G||P()),et&&V.state.next({name:l,...W?{}:ee});if(!t.resolver&&e.validate&&await ea({name:l,eventType:a.type}),!G&&W&&V.state.next({...r}),t.resolver){let{errors:e}=await Z([l]);if(L([l]),m(U),!u){O(ee)||V.state.next(ee);return}let t=eg(r.errors,i,l),o=eg(e,i,t.name||l);h=o.error,l=o.name,R=O(e)}else L([l],!0),h=(await $(d,f.disabled,A,T,t.shouldUseNativeValidation))[l],L([l]),m(U),u&&(h?R=!1:(E.isValid||Q.isValid)&&(R=await es({fields:i,onlyCheckValid:!0,name:l,eventType:a.type})));if(u){d._f.deps&&(!Array.isArray(d._f.deps)||d._f.deps.length>0)&&ek(d._f.deps);var w,v,k,B,D,S=l,F=R,N=h;let e=x(r.errors,S),i=(E.isValid||Q.isValid)&&"boolean"==typeof F&&r.isValid!==F;
9if(t.delayError&&N?(p[S]=H(S,()=>K(S,N)),p[S](t.delayError)):(clearTimeout(g[S]),delete p[S],N?C(r.errors,S,N):X(r.errors,S),r.errors={...r.errors}),(N?!z(e,N):e)||!O(ee)||i){let e={...ee,...i&&"boolean"==typeof F?{isValid:F}:{},errors:r.errors,name:S};V.state.next(e)}}}},ex=(e,t)=>{if(x(r.errors,t)&&e.focus)return e.focus(),1},ek=async(e,o={})=>{let a,s,n=J(e);if(t.resolver){let t=await et(_(e)?e:n);a=O(t),s=e?!n.some(e=>x(t,e)):a}else e?((s=(await Promise.all(n.map(async e=>{let t=x(i,e);return await es({fields:t&&t._f?{[e]:t}:t,eventType:d})}))).every(Boolean))||r.isValid)&&P():s=a=await es({fields:i,name:e,eventType:d});if(o.delayError&&t.delayError&&D(e)){let i=x(r.errors,e);i?(X(r.errors,e),p[e]=H(e,()=>K(e,i)),p[e](t.delayError)):(clearTimeout(g[e]),delete p[e])}if(o.shouldTouch)for(let t of e?n:f.mount)f.array.has(t)||C(r.touchedFields,t,!0);return V.state.next({...!D(e)||(E.isValid||Q.isValid)&&a!==r.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},...o.shouldTouch&&(E.touchedFields||Q.touchedFields)?{touchedFields:r.touchedFields}:{},errors:r.errors}),o.shouldFocus&&!s&&R(i,ex,e?n:f.mount),s},eC=(e,t)=>{let i=t||r,o=x(i.errors,e);return{invalid:!!o,isDirty:!!x(i.dirtyFields,e),error:o,isValidating:!!x(r.validatingFields,e),isTouched:!!x(i.touchedFields,e)}},eI=e=>{let t=e?J(e):void 0;null==t||t.forEach(e=>X(r.errors,e)),t?t.forEach(e=>{V.state.next({name:e,errors:r.errors})}):(r.errors={},V.state.next({errors:r.errors}))},eB=(e,t,o)=>{let a=(x(i,e,{_f:{}})._f||{}).ref,{ref:s,message:n,type:l,...u}=x(r.errors,e)||{};C(r.errors,e,{...u,...t,ref:a}),V.state.next({name:e,errors:r.errors,isValid:!1}),o&&o.shouldFocus&&a&&a.focus&&a.focus()},eE=e=>{var t;let i=!!(null==(t=e.formState)?void 0:t.values);i&&b++;let{unsubscribe:o}=V.state.subscribe({next:t=>{var i,o;let a,s,l,u;if(a=e.name,s=t.name,l=e.exact,(!a||!s||a===s||J(a).some(e=>e&&(l?e===s||e.startsWith(s+"."):e.startsWith(s)||s.startsWith(e))))&&(i=e.formState||E,o=e.reRenderRoot,ej(t),!(u=Object.keys(t).filter(e=>"name"!==e)).length||o&&u.length>=Object.keys(i).length||u.find(e=>i[e]===(!o||"all")))){let i={...A};e.callback({values:i,...r,...t,defaultValues:n})}}});if(!i)return o;let a=!1;return()=>{a||(a=!0,b--,o())}},eQ=(e,o={})=>{for(let a of e?J(e):f.mount)f.mount.delete(a),f.array.delete(a),o.keepValue||(X(i,a),X(A,a)),o.keepError||X(r.errors,a),o.keepDirty||X(r.dirtyFields,a),o.keepTouched||X(r.touchedFields,a),o.keepIsValidating||X(r.validatingFields,a),t.shouldUnregister||o.keepDefaultValue||X(n,a);b&&V.state.next({values:c(A)}),V.state.next({...r,...o.keepDirty?{}:{isDirty:en()}}),o.keepIsValid||P()},ez=({disabled:e,name:t})=>{if("boolean"==typeof e&&h.mount||e||f.disabled.has(t)){let r=f.disabled.has(t);e?f.disabled.add(t):f.disabled.delete(t),!!e!==r&&h.mount&&!h.action&&P()}},eV=(e,r={})=>{let o=x(i,e),a="boolean"==typeof r.disabled||"boolean"==typeof t.disabled,s=!f.registerName.has(e)&&o&&o._f&&!o._f.mount;return(C(i,e,{...o||{},_f:{...o&&o._f?o._f:{ref:{name:e}},name:e,mount:!0,...r}}),f.mount.add(e),o&&!s)?ez({disabled:"boolean"==typeof r.disabled?r.disabled:t.disabled,name:e}):q(e,!0,r.value),{...a?{disabled:r.disabled||t.disabled}:{},...t.progressive?{required:!!r.required,min:eh(r.min),max:eh(r.max),minLength:eh(r.minLength),maxLength:eh(r.maxLength),pattern:eh(r.pattern)}:{},name:e,onChange:e_,onBlur:e_,ref:a=>{if(a){let t;f.registerName.add(e),eV(e,r),f.registerName.delete(e),o=x(i,e);let s=_(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,l="radio"===(t=s).type||"checkbox"===t.type,u=o._f.refs||[];if(l?u.find(e=>e===s):s===o._f.ref)return;let c={...o._f};l?(c.refs=[...u.filter(ei),s,...Array.isArray(x(n,e))?[{}]:[]],c.ref={type:s.type,name:e}):(c.ref=s,delete c.refs),C(i,e,{_f:c}),q(e,!1,void 0,s)}else{let a;(o=x(i,e,{}))._f&&(o._f.mount=!1),(t.shouldUnregister||r.shouldUnregister)&&(a=f.array,!e.split(".").some((e,t,r)=>!isNaN(Number(e))&&a.has(r.slice(0,t).join(".")))||!h.action)&&f.unMount.add(e)}}}},eD=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&R(i,ex,f.mount),eS=(e,o)=>async a=>{let s,n;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let l=c(A);if(V.state.next({isSubmitting:!0}),t.resolver){let{errors:e,values:t}=await Z();L(),r.errors=e,l=c(t)}else await es({fields:i,eventType:"submit"});if(f.disabled.size)for(let e of f.disabled)X(l,e);if(X(r.errors,w),O(r.errors)){V.state.next({errors:{}});try{s=await e(l,a)}catch(e){n=e}}else o&&await o({...r.errors},a),eD(),setTimeout(eD);if(V.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:O(r.errors)&&!n,submitCount:r.submitCount+1,errors:r.errors}),n)throw n;return s},eF=(e,o={})=>{let a=e?c(e):n,s=c(a),l=O(e),d=i;if(o.keepDefaultValues||(n=a),!o.keepValues){if(o.keepDirtyValues)for(let e of new Set([...f.mount,...function e(t,r,i="",o=[]){for(let a in t){let s=i?`${i}.${a}
9`:a,n=t[a];eo(n)&&eo(x(r,s))?e(n,r,s,o):o.push(s)}return o}(ec(n,A,void 0,d),r.dirtyFields)])){let t=x(r.dirtyFields,e),i=x(A,e),o=x(s,e);t&&!_(i)?C(s,e,i):t||_(o)||ev(e,o)}else{if(u&&_(e))for(let e of f.mount){let t=x(i,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(U(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(o.keepFieldsRef)for(let e of f.mount)ev(e,x(s,e));else i={}}if(t.shouldUnregister){if(A=o.keepDefaultValues?c(n):{},o.keepFieldsRef)for(let e of f.mount)C(A,e,x(s,e))}else A=c(s);V.array.next({values:{...s}}),V.state.next({name:void 0,type:void 0,values:{...s}})}f={mount:o.keepDirtyValues?f.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},h.mount=!E.isValid||!!o.keepIsValid||!!o.keepDirtyValues||!t.shouldUnregister&&!O(s),h.watch=!!t.shouldUnregister,h.keepIsValid=!!o.keepIsValid,h.action=!1,h.actionArrayLengths.clear(),o.keepErrors||(r.errors={}),V.state.next({submitCount:o.keepSubmitCount?r.submitCount:0,isDirty:!l&&(o.keepDirty?r.isDirty:o.keepValues?en():!!(o.keepDefaultValues&&!z(e,n))),isSubmitted:!!o.keepIsSubmitted&&r.isSubmitted,dirtyFields:l?{}:o.keepDirtyValues?o.keepDefaultValues&&A?ec(n,A,void 0,d):r.dirtyFields:o.keepDefaultValues&&e?ec(n,e,void 0,d):o.keepDirty?r.dirtyFields:{},touchedFields:o.keepTouched?r.touchedFields:{},errors:o.keepErrors?r.errors:{},isSubmitSuccessful:!!o.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:n})},eN=(e,r)=>eF(k(e)?e(A):e,{...t.resetOptions,...r}),ej=e=>{let{name:t,type:i,values:o,...a}=e;r={...r,...a}};V.state.subscribe({next:ej});let eR={control:{register:eV,unregister:eQ,getFieldState:eC,handleSubmit:eS,setError:eB,_subscribe:eE,_runSchema:Z,_updateIsValidating:L,_focusError:eD,_getWatch:el,_getDirty:en,_setValid:P,_setFieldArray:(e,o=[],a,s,n=!0,l=!0)=>{if(s&&a&&!t.disabled){h.action=!0;let t=x(i,e);if(h.actionArrayLengths.has(e)||h.actionArrayLengths.set(e,Array.isArray(t)?t.length:0),l&&Array.isArray(t)){let r=a(t,s.argA,s.argB);n&&C(i,e,r)}let c=x(r.errors,e);if(l&&Array.isArray(c)){var u;let t,i=c.root,o=a(c,s.argA,s.argB)||c;i&&(o.root=i),n&&C(r.errors,e,o),W(t=x(u=r.errors,e)).length||(null==t?void 0:t.root)||X(u,e)}let d=x(r.touchedFields,e);if((E.touchedFields||Q.touchedFields)&&l&&Array.isArray(d)){let t=a(d,s.argA,s.argB);n&&C(r.touchedFields,e,t)}(E.dirtyFields||Q.dirtyFields)&&G(),V.state.next({name:e,isDirty:en(e,o),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else C(A,e,o)},_setDisabledField:ez,_setErrors:e=>{r.errors=e,V.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>W(x(h.mount?A:n,e,t.shouldUnregister?x(n,e,[]):[])),_reset:eF,_resetDefaultValues:()=>k(t.defaultValues)&&t.defaultValues().then(e=>{eN(e,t.resetOptions),V.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of f.unMount){let t=x(i,e);t&&(t._f.refs?t._f.refs.every(e=>!ei(e)):!ei(t._f.ref))&&eQ(e)}f.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(V.state.next({disabled:e}),R(i,(t,r)=>{let o=x(i,r);o&&(t.disabled=o._f.disabled||e,Array.isArray(o._f.refs)&&o._f.refs.forEach(t=>{t.disabled=o._f.disabled||e}))},0,!1))},_subjects:V,_proxyFormState:E,get _fields(){return i},get _formValues(){return A},get _state(){return h},set _state(e){h=e},get _defaultValues(){return n},get _names(){return f},set _names(e){f=e},get _formState(){return r},get _options(){return t},set _options(e){y=N((t={...t,...e}).mode),I=N(t.reValidateMode)}},subscribe:e=>(h.mount=!0,Q={...Q,...e.formState},eE({...e,formState:{...B,...e.formState}})),trigger:ek,register:eV,handleSubmit:eS,watch:(e,t)=>{if(k(e)){b++;let{unsubscribe:r}=V.state.subscribe({next:r=>"values"in r&&e(r.values||el(void 0,t),r)}),i=!1;return{unsubscribe:()=>{i||(i=!0,b--,r())}}}return el(e,t,!0)},setValue:ev,setValues:(e,t={})=>{let i=k(e)?e(A):e;if(!z(A,i)){for(let e of(A={...A,...i},f.mount))er(i,e)&&ey(e,x(i,e),t,!0,!0);V.state.next({...r,name:void 0,type:void 0,...b?{values:A}:{}}),t.shouldValidate&&P()}},getValues:(e,t)=>{let i={...h.mount?A:n};return t&&(i=function e(t,r){let i={};for(let o in t)if(t.hasOwnProperty(o)){let a=t[o],n=r[o];if(a&&s(a)&&n){let t=e(a,n);s(t)&&(i[o]=t)}else t[o]&&(i[o]=n)}return i}(t.dirtyFields?r.dirtyFields:r.touchedFields,i)),_(e)?i:D(e)?x(i,e):e.map(e=>x(i,e))},getErrors:e=>_(e)?{...r.errors}:D(e)?x(r.errors,e):e.map(e=>x(r.errors,e)),reset:eN,resetField:(e,t={})=>{x(i,e)&&(_(t.defaultValue)?ev(e,c(x(n,e))):(ev(e,t.defaultValue),C(n,e,c(t.defaultValue))),t.keepTouched||X(r.touchedFields,e),t.keepDirty||(X(r.dirtyFields,e),r.isDirty=t.defaultValue?en(e,c(x(n,e))):en()),t.keepError||(X(r.errors,e),P()),V.state.next({...r}))},resetDefaultValues:(e,t={})=>
9{if(n=c(e),!t.keepDirty){let e=ec(n,A,void 0,i);r.dirtyFields=e,r.isDirty=!O(e)}t.keepIsValid||P(),V.state.next({...r,defaultValues:n})},clearErrors:eI,unregister:eQ,setError:eB,setFocus:(e,t={})=>{let r=x(i,e),o=r&&r._f;if(o){let e=o.refs?o.refs[0]:o.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&k(e.select)&&e.select()})}},getFieldState:eC};return{...eR,formControl:eR}}(e);t.current={...i,formState:A}}let f=t.current.control;f._options=e;let{resyncIfNeeded:p,snapshot:g}=V();return B(()=>{let e=()=>({...f._formState,defaultValues:f._defaultValues});p(!0,e,h);let t=f._subscribe({formState:f._proxyFormState,callback:()=>h({...f._formState,defaultValues:f._defaultValues}),reRenderRoot:!0});return h(e=>({...e,isReady:!0})),f._formState.isReady=!0,()=>{t(),g(!0,e)}},[f,p,g]),i.useEffect(()=>f._disableForm(e.disabled),[f,e.disabled]),i.useEffect(()=>{e.mode&&(f._options.mode=e.mode),e.reValidateMode&&(f._options.reValidateMode=e.reValidateMode)},[f,e.mode,e.reValidateMode]),i.useEffect(()=>{e.errors&&(f._setErrors(e.errors),f._focusError())},[f,e.errors]),i.useEffect(()=>{e.shouldUnregister&&f._subjects.state.next({values:f._getWatch()})},[f,e.shouldUnregister]),i.useEffect(()=>{if(f._proxyFormState.isDirty){let e=f._getDirty();e!==A.isDirty&&f._subjects.state.next({isDirty:e})}},[f,A.isDirty]),i.useEffect(()=>{var t;e.values&&!z(e.values,r.current)?(f._reset(e.values,{keepFieldsRef:!0,...f._options.resetOptions}),(null==(t=f._options.resetOptions)?void 0:t.keepIsValid)||f._setValid(),r.current=e.values,h(e=>({...e}))):f._resetDefaultValues()},[f,e.values]),i.useEffect(()=>{f._state.mount||(f._setValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),t.current.formState=i.useMemo(()=>((e,t,r=!0)=>{let i={};for(let o in e)Object.defineProperty(i,o,{get:()=>("all"!==t._proxyFormState[o]&&(t._proxyFormState[o]=!r||"all"),e[o])});return i})(A,f),[f,A]),t.current}r.d(t,["Op",0,({children:e,watch:t,getValues:r,getErrors:o,getFieldState:a,setError:s,clearErrors:n,setValue:l,setValues:u,trigger:c,formState:d,resetField:A,reset:h,resetDefaultValues:f,handleSubmit:p,unregister:g,control:b,register:m,setFocus:w,subscribe:y})=>{let v=i.useMemo(()=>({watch:t,getValues:r,getErrors:o,getFieldState:a,setError:s,clearErrors:n,setValue:l,setValues:u,trigger:c,formState:d,resetField:A,reset:h,resetDefaultValues:f,handleSubmit:p,unregister:g,control:b,register:m,setFocus:w,subscribe:y}),[n,b,d,o,a,r,p,m,h,f,A,s,w,l,u,y,c,g,t]);return i.createElement(Z.Provider,{value:v},i.createElement(I.Provider,{value:v.control},e))},"xW",0,()=>i.useContext(Z)])},8446(e,t,r){r.d(t,{O:()=>eH});var i,o="user-agent",a="function",s="object",n="string",l="undefined",u="browser",c="device",d="engine",A="result",h="name",f="type",p="vendor",g="version",b="architecture",m="major",w="model",y="console",v="mobile",_="tablet",x="smarttv",k="wearable",C="embedded",I="inapp",B="brands",E="formFactors",Q="fullVersionList",z="platform",V="platformVersion",D="bitness",S="sec-ch-ua",F=S+"-full-version-list",N=S+"-arch",j=S+"-"+D,R=S+"-form-factors",M=S+"-"+v,O=S+"-"+w,U=S+"-"+z,T=U+"-version",H=[B,Q,v,w,z,V,b,E,D],P="Amazon",L="Apple",G="ASUS",K="BlackBerry",q="Google",Y="Huawei",$="Lenovo",J="Honor",W="Microsoft",X="Motorola",Z="Nvidia",ee="OnePlus",et="OPPO",er="Samsung",ei="Sharp",eo="Sony",ea="Xiaomi",es="Zebra",en="Chrome",el="Chromium",eu="Chromecast",ec="Edge",ed="Firefox",eA="Opera",eh="Facebook",ef="Sogou",ep="Mobile ",eg=" Browser",eb="Windows",em=typeof window!==l&&window.navigator?window.navigator:void 0,ew=em&&em.userAgentData?em.userAgentData:void 0,ey=function(e,t){var r={},i=t;if(!ex(t))for(var o in i={},t)for(var a in t[o])i[a]=t[o][a].concat(i[a]?i[a]:[]);for(var s in e)r[s]=i[s]&&i[s].length%2==0?i[s].concat(e[s]):e[s];return r},ev=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},e_=function(e,t){if(typeof e===s&&e.length>0){for(var r in e)if(eI(t)==eI(e[r]))return!0;return!1}return!!ek(e)&&eI(t)==eI(e)},ex=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&ex(e[r])},ek=function(e){return typeof e===n},eC=function(e){if(e){for(var t=[],r=eE(e).split(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var o=eV(r[i]).split(";v=");t[i]={brand:o[0],version:o[1]}}else t[i]=eV(r[i]);return t}},eI=function(e){return ek(e)?e.toLowerCase():e},eB=function(e){return ek(e)?ez(/[^\d\.]/g,e).split(".")[0]:void 0},eE=function(e){return ek(e)?eV(ez(/\\?\"/g,e),500):void 0},eQ=function(e){for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];typeof r==s&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},ez=function(e,t){return ek(t)?t.replace(e,""):t},eV=function(e,t){return e=ez(/^\s\s*/,String(e)),typeof t===l?e:e.substring(0,t)},eD=function(e,t){if(e&&t)for(var r,i,o,n,l,u,c=0;c<t.length&&!l;){var d=t[c],A=t[c+1];for(r=i=0;r<d.length&&!l&&d[r];)if(l=d[r++].exec(e))for(o=0;o<A.length;o++)u=l[++i],typeof(n=A[o])===s&&n.length>0?2===n.length?typeof n[1]==a?this[n[0]]=n[1].call(this,u):this[n[0]]=n[1]:n.length>=3&&(typeof n[1]!==a||n[1].exec&&n[1].test?3==n.length?this[n[0]]=u?u.replace(n[1],n[2]):void 0:4==n.length?this[n[0]]=u?n[3].call(this,u.replace(n[1],n[2])):void 0:n.length>4&&(this[n[0]]=u?n[3].apply(this,[u.replace(n[1],n[2])].concat(n.slice(4))):void 0):n.length>3?this[n[0]]=u?n[1].apply(this,n.slice(2)):void 0:this[n[0]]=u?n[1].call(this,u,n[2]):void 0):this[n]=u||void 0;c+=2}},eS=function(e,t){for(var r in t)if(typeof t[r]===s&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(e_(t[r][i],e))return"?"===r?void 0:r}else if(e_(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},eF={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2","8.1":"6.3",10:["6.4","10.0"],NT:""},eN={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},ej={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},eR={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[h,ep+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[g,[h,ec+" WebView"],[f,I]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,g],[/opios[\/ ]+([\w\.]+)/i],[g,[h,eA+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[h,eA+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[h,eA]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[h,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[g,[h,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[h,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[h,"Quark"]],[/\bddg\/([\w\.]+)/i],[g,[h,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb| ucpc)[\/ ]?([\w\.]+)/i],[g,[h,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[h,"
9Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[h,"Smart "+$+eg]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure"+eg],g],[/norton\/([\w\.]+)/i],[g,[h,"Norton Private"+eg]],[/\bfocus\/([\w\.]+)/i],[g,[h,ed+" Focus"]],[/ mms\/([\w\.]+)$/i],[g,[h,eA+" Neon"]],[/ opt\/([\w\.]+)$/i],[g,[h,eA+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[h,eA+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[h,"MIUI"+eg]],[/fxios\/([\w\.-]+)/i],[g,[h,ep+ed]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[h,"360"]],[/\b(qq)\/([\w\.]+)/i],[[h,/(.+)/,"$1Browser"],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1"+eg],g],[/ HBPC\/([\w\.]+)/],[g,[h,Y+eg]],[/samsungbrowser\/([\w\.]+)/i],[g,[h,er+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[g,[h,ef+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,ef+" Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[h,g],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[h],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[g,h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,eh],g,[f,I]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[h,g,[f,I]],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[h,"GSA"],[f,I]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[g,[h,"TikTok"],[f,I]],[/\[(linkedin)app\]/i],[h,[f,I]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[h,/(.+)/,"Zalo"],g,[f,I]],[/(chromium)[\/ ]([-\w\.]+)/i],[h,g],[/ome-(lighthouse)$/i],[h,[f,"fetcher"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[h,en+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[g,[h,ec+" WebView2"],[f,I]],[/; wv\).+(chrome)\/([\w\.]+)/i],[[h,en+" WebView"],g,[f,I]],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[h,"Android"+eg]],[/chrome\/([\w\.]+) mobile/i],[g,[h,ep+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,g],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[g,[h,ep+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[h,ep+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[g,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[g,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[h,g],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[h,ep+ed],g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],g],[/(wolvic|librewolf)\/([\w\.]+)/i],[h,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[h,ed+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[h,[g,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[h,[g,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[b,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[b,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[b,"arm"]],[/ sun4\w[;\)]/i],[[b,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[b,/ower/,"",eI]],[/mc680.0/i],[[b,"68k"]],[/winnt.+\[axp/i],[[b,"alpha"]]],device:[[/\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],[w,[p,er],[f,_]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[w,[p,er],[f,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[w,[p,L],[f,v]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;
9\] ].+(mac |i(pad)?)os/i],[w,[p,L],[f,_]],[/(macintosh);/i],[w,[p,L]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[w,[p,ei],[f,v]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[w,[p,J],[f,_]],[/honor([-\w ]+)[;\)]/i],[w,[p,J],[f,v]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[w,[p,Y],[f,_]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[w,[p,Y],[f,v]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[w,/_/g," "],[p,ea],[f,_]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/; ([\w ]+) miui\/v?\d/i],[[w,/_/g," "],[p,ea],[f,v]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[w,[p,ee],[f,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[w,[p,et],[f,v]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[w,[p,eS,{OnePlus:["203","304","403","404","413","415"],"*":et}],[f,_]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[w,[p,"BLU"],[f,v]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[w,[p,"Vivo"],[f,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[w,[p,"Realme"],[f,v]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[w,[p,$],[f,_]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[w,[p,$],[f,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[w,[p,X],[f,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[w,[p,X],[f,_]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[w,[p,"LG"],[f,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[w,[p,"LG"],[f,v]],[/(nokia) (t[12][01])/i],[p,w,[f,_]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[w,/_/g," "],[f,v],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[w,[p,q],[f,_]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[w,[p,q],[f,v]],[/(google) (pixelbook( go)?)/i],[p,w],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[w,[p,eo],[f,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[w,"Xperia Tablet"],[p,eo],[f,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[w,[p,P],[f,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[w,/(.+)/g,"Fire Phone $1"],[p,P],[f,v]],[/(playbook);[-\w\),; ]+(rim)/i],[w,p,[f,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[w,[p,K],[f,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[w,[p,G],[f,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[w,[p,G],[f,v]],[/(nexus 9)/i],[w,[p,"HTC"],[f,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[w,/_/g," "],[f,v]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w)
vendor: 5,409 bytes, line 9
9)?(\)| bui)/i],[w,[p,"TCL"],[f,_]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[w,[p,"TCL"],[f,v]],[/(itel) ((\w+))/i],[[p,eI],w,[f,eS,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[w,[p,"Acer"],[f,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[w,[p,"Meizu"],[f,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[w,[p,"Ulefone"],[f,v]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[w,[p,"Energizer"],[f,v]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[w,[p,"Cat"],[f,v]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[w,[p,"Smartfren"],[f,v]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[w,[p,"Nothing"],[f,v]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[w,[p,"Archos"],[f,_]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[w,[p,"Archos"],[f,v]],[/blackview ([-\w ]+)( b|\))/i,/; (bv\d{4}[-\w ]*)( b|\))/i],[w,[p,"Blackview"],[f,v]],[/; (n159v)/i],[w,[p,"HMD"],[f,v]],[/((revvl[ \w\+]+|tm(?:rv|af)\w*[45]g(?:tb)?))( b|\))/i],[w,[f,function(e,t){return t.test.test(e)?t.ifTrue:t.ifFalse},{test:/ta?b/i,ifTrue:_,ifFalse:v}],[p,"T-Mobile"]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[p,w,[f,_]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|coolpad|cubot|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([-\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[p,w,[f,v]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[p,w,[f,_]],[/(surface duo)/i],[w,[p,W],[f,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[w,[p,"Fairphone"],[f,v]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[w,[p,Z],[f,_]],[/(sprint) (\w+)/i],[p,w,[f,v]],[/(kin\.[onetw]{3})/i],[[w,/\./g," "],[p,W],[f,v]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[w,[p,es],[f,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[w,[p,es],[f,v]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[p,[f,x]],[/hbbtv.+maple;(\d+)/i],[[w,/^/,"SmartTV"],[p,er],[f,x]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[p,w,[f,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[f,x]],[/(apple) ?tv/i],[p,[w,L+" TV"],[f,x]],[/crkey.*devicetype\/chromecast/i],[[w,eu+" Third Generation"],[p,q],[f,x]],[/crkey.*devicetype\/([^/]*)/i],[[w,/^/,"Chromecast "],[p,q],[f,x]],[/fuchsia.*crkey/i],[[w,eu+" Nest Hub"],[p,q],[f,x]],[/crkey/i],[[w,eu],[p,q],[f,x]],[/(portaltv)/i],[w,[p,eh],[f,x]],[/droid.+aft(\w+)( bui|\))/i],[w,[p,P],[f,x]],[/(shield \w+ tv)/i],[w,[p,Z],[f,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[w,[p,ei],[f,x]],[/(bravia[\w ]+)( bui|\))/i],[w,[p,eo],[f,x]],[/(mi(tv|box)-?\w+) bui/i],[w,[p,ea],[f,x]],[/Hbbtv.*(technisat) (.*);/i],[p,w,[f,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,/.+\/(\w+)/,"$1",eS,{LG:"lge"}],[w,eV],[f,x]],[/(playstation \w+)/i],[w,[p,eo],[f,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[w,[p,W],[f,y]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[p,eS,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],w,[f,y]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[w,[p,er],[f,k]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,w,[f,k]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[w,[p,et],[f,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[w,[p,L],[f,k]],[/(opwwe\d{3})/i],[w,[p,ee],[f,k]],[/(moto 360)/i],[w,[p,X],[f,k]],[/(smartwatch 3)/i],[w,[p,eo],[f,k]],[/(g watch r)/i],[w,[p,"LG"],[f,k]],[/droid.+; (wt63?0{2,3})\)/i],[w,[p,es],[f,k]],[/droid.+; (glass) \d/i],[w,[p,q],[f,"xr"]],[/(pico) ([\w ]+) os\d/i],[p,w,[f,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[w,[p,eh],[f,"xr"]],[/mobile vr; rv.+firefox/i],[[f,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[f,C]],[/(aeobc)\b/i],[w,[p,P],[f,C]],[/(homepod).+mac os/i],[w,[p,L],[f,C]],[/windows iot/i],[[f,C]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[w,[f,x]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[f,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[w,[f,eS,{mobile:"Mobile",xr:"VR","*":_}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,v]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[w,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[h,ec+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[h,g],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,g],[/ladybird\//i],[[h,"LibWeb"]],[/rv\
9:([\w\.]{1,9})\b.+(gecko)/i],[g,h]],os:[[/(windows nt) (6\.[23]); arm/i],[[h,/N/,"R"],[g,eS,eF]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[h,g],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[g,/(;|\))/g,"",eS,eF],[h,eb]],[/(windows ce)\/?([\d\.]*)/i],[h,g],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[h,"macOS"],[g,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[g,[h,eu+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[g,[h,eu+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[g,[h,eu+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[g,[h,eu+" Linux"]],[/crkey\/([\d\.]+)/i],[g,[h,eu]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[g,h],[/(ubuntu) ([\w\.]+) like android/i],[[h,/(.+)/,"$1 Touch"],g],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[h,g],[/\(bb(10);/i],[g,[h,K]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[g,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[g,[h,ed+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[g,[h,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[g,eS,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[h,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[g,[h,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[g,[h,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[g,[h,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[h,g],[/(sunos) ?([\d\.]*)/i],[[h,"Solaris"],g],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,g]]},eM=(i={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}},eQ.call(i.init,[[u,[h,g,m,f]],["cpu",[b]],[c,[f,w,p]],[d,[h,g]],["os",[h,g]]]),eQ.call(i.isIgnore,[[u,[g,m]],[d,[g]],["os",[g]]]),eQ.call(i.isIgnoreRgx,[[u,/ ?browser$/i],["os",/ ?os$/i]]),eQ.call(i.toString,[[u,[h,g]],["cpu",[b]],[c,[p,w]],[d,[h,g]],["os",[h,g]]]),i),eO=function(e,t){var r=eM.init[t],i=eM.isIgnore[t]||0,o=eM.isIgnoreRgx[t]||0,a=eM.toString[t]||0;function s(){eQ.call(this,r)}return s.prototype.getItem=function(){return e},s.prototype.withClientHints=function(){return ew?ew.getHighEntropyValues(H).then(function(t){return e.setCH(new eU(t,!1)).parseCH().get()}):e.parseCH().get()},s.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=A&&(s.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!e_(i,r)&&eI(o?ez(o,this[r]):this[r])==eI(o?ez(o,e):e)){if(t=!0,e!=l)break}else if(e==l&&t){t=!t;break}return t},s.prototype.toString=function(){var e="";for(var t in a)typeof this[a[t]]!==l&&(e+=(e?" ":"")+this[a[t]]);return e||l}),s.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:s.prototype.is,toString:s.prototype.toString,withClientHints:s.prototype.withClientHints,withFeatureCheck:s.prototype.withFeatureCheck};var i=new r;return e(i),i},new s};function eU(e,t){if(e=e||{},eQ.call(this,H),t)eQ.call(this,[[B,eC(e[S])],[Q,eC(e[F])],[v,/\?1/.test(e[M])],[w,eE(e[O])],[z,eE(e[U])],[V,eE(e[T])],[b,eE(e[N])],[E,eC(e[R])],[D,eE(e[j])]]);else for(var r in e)this.hasOwnProperty(r)&&typeof e[r]!==l&&(this[r]=e[r])}
9function eT(e,t,r,i){return eQ.call(this,[["itemType",e],["ua",t],["uaCH",i],["rgxMap",r],["data",eO(this,e)]]),this}function eH(e,t,r){if(typeof e===s?(ex(e,!0)?(typeof t===s&&(r=t),t=e):(r=e,t=void 0),e=void 0):typeof e!==n||ex(t,!0)||(r=t,t=void 0),r)if(typeof r.append===a){var i={};r.forEach(function(e,t){i[String(t).toLowerCase()]=e}),r=i}else{var l={};for(var h in r)r.hasOwnProperty(h)&&(l[String(h).toLowerCase()]=r[h]);r=l}if(!(this instanceof eH))return new eH(e,t,r).getResult();var f=typeof e===n?e:r&&r[o]?r[o]:em&&em.userAgent?em.userAgent:"",p=new eU(r,!0),g=eR,b=function(e){return e==A?function(){return new eT(e,f,g,p).set("ua",f).set(u,this.getBrowser()).set("cpu",this.getCPU()).set(c,this.getDevice()).set(d,this.getEngine()).set("os",this.getOS()).get()}:function(){return new eT(e,f,g[e],p).parseUA().get()}};return eQ.call(this,[["getBrowser",b(u)],["getCPU",b("cpu")],["getDevice",b(c)],["getEngine",b(d)],["getOS",b("os")],["getResult",b(A)],["getUA",function(){return f}],["setUA",function(e){return ek(e)&&(f=eV(e,500)),this}],["useExtension",function(e){return e&&(g=ey(g,e)),this}]]).setUA(f).useExtension(t),this}eT.prototype.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},eT.prototype.set=function(e,t){return this.data[e]=t,this},eT.prototype.setCH=function(e){return this.uaCH=e,this},eT.prototype.detectFeature=function(){if(em&&em.userAgent==this.ua)switch(this.itemType){case u:em.brave&&typeof em.brave.isBrave==a&&this.set(h,"Brave");break;case c:!this.get(f)&&ew&&ew[v]&&this.set(f,v),"Macintosh"==this.get(w)&&em&&typeof em.standalone!==l&&em.maxTouchPoints&&em.maxTouchPoints>2&&this.set(w,"iPad").set(f,_);break;case"os":!this.get(h)&&ew&&ew[z]&&this.set(h,ew[z]);break;case A:var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(u,t(u)).set("cpu",t("cpu")).set(c,t(c)).set(d,t(d)).set("os",t("os"))}return this},eT.prototype.parseUA=function(){switch(this.itemType!=A&&eD.call(this.data,this.ua,this.rgxMap),this.itemType){case u:this.set(m,eB(this.get(g)));break;case"os":if("iOS"==this.get(h)&&this.get(g)&&/^1[89][^\d]/.exec(this.get(g))){var e=/\) Version\/((\d+)[\d\.]*)/.exec(this.ua);e&&parseInt(e[2],10)>=26&&this.set(g,e[1])}}return this},eT.prototype.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case u:case d:var r,i=e[Q]||e[B];if(i)for(var o=0;o<i.length;o++){var a=i[o].brand||i[o],s=i[o].version;this.itemType==u&&!/not.a.brand/i.test(a)&&(!r||/Chrom/.test(r)&&a!=el||r==ec&&/WebView2/.test(a))&&(a=eS(a,ej),(r=this.get(h))&&!/Chrom/.test(r)&&/Chrom/.test(a)||this.set(h,a).set(g,s).set(m,eB(s)),r=a),this.itemType==d&&a==el&&this.set(g,s)}break;case"cpu":var n=e[b];n&&(n&&"64"==e[D]&&(n+="64"),eD.call(this.data,n+";",t));break;case c:if(e[v]&&this.set(f,v),e[w]&&(this.set(w,e[w]),!this.get(f)||!this.get(p))){var l,y={};eD.call(y,"droid 9; "+e[w]+")",t),!this.get(f)&&y.type&&this.set(f,y.type),!this.get(p)&&y.vendor&&this.set(p,y.vendor)}if(e[E]){if("string"!=typeof e[E])for(var _=0;!l&&_<e[E].length;)l=eS(e[E][_++],eN);else l=eS(e[E],eN);this.set(f,l)}break;case"os":var x=e[z];if(x){var k=e[V];x==eb&&(k=parseInt(eB(k),10)>=13?"11":"10"),this.set(h,x).set(g,k)}this.get(h)==eb&&"Xbox"==e[w]&&this.set(h,"Xbox").set(g,void 0);break;case A:var C=this.data,I=function(t){return C[t].getItem().setCH(e).parseCH().get()};this.set(u,I(u)).set("cpu",I("cpu")).set(c,I(c)).set(d,I(d)).set("os",I("os"))}return this},eH.VERSION="2.0.10",eH.BROWSER=ev([h,g,m,f]),eH.CPU=ev([b]),eH.DEVICE=ev([w,p,f,y,v,x,_,k,C]),eH.ENGINE=eH.OS=ev([h,g])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.