PageSourceSearch

https://weblate.magicpods.app/static/CACHE/js/output.f236eaab14a8.js

js magicpods.app collected 2026-09-24 09:33:41 UTC 465,463 bytes, 291 lines download raw bytes

1(()=>{var e={495(e){var a;a=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","Â¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ä¢":"G","Ä£":"g","Ĩ":"I","Ä©":"i","Ī":"i","Ä«":"i","Ä®":"I","į":"i","İ":"I","ı":"i","Ķ":"k","Ä·":"k","Ä»":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Å ":"S","Å¡":"s","Å¢":"T","Å£":"t","Ť":"T","Å¥":"t","Ũ":"U","Å©":"u","Ū":"u","Å«":"u","Å®":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","ź":"z","Å»":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Æ ":"O","Æ¡":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ò¢":"NG","Ò£":"ng","Ò®":"UE","Ò¯":"ue","Ò°":"U","Ò±":"u","Òº":"H","Ò»":"h","Ә":"AE","ә":"ae","Ó¨":"OE","Ó©":"oe","Ô±":"A","Ô²":"B","Ô³":"G","Ô´":"D","Ôµ":"E","Ô¶":"Z","Ô·":"E\'","Ô¸":"Y\'","Ô¹":"T\'","Ôº":"JH","Ô»":"I","Ô¼":"L","Ô½":"X","Ô¾":"C\'","Ô¿":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","Ø¡":"a","Ø¢":"aa","Ø£":"a","ؤ":"u","Ø¥":"i","ئ":"e","ا":"a","ب":"b","Ø©":"h","ت":"t","Ø«":"th","ج":"j","Ø­":"h","Ø®":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","Ø´":"sh","ص":"s","ض":"dh","Ø·":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù¾":"p","چ":"ch","ژ":"zh","Ú©":"k","Ú¯":"g","ی":"y","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","á¹¢":"S","á¹£":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","á» ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","á»§":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","á»­":"u","á»®":"U","ữ":"u","á»°":"U","á»±":"u","Ỳ":"Y","ỳ":"y","á»´":"Y","ỵ":"y","á»¶":"Y","á»·":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","â
1‚§":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","ï·¼":"rial","ﻵ":"laa","ï»·":"laa","ﻹ":"lai","ï»»":"la"}'),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Ð¥":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","Ã¥":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","Ã¥":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","Ã¥":"aa","ä":"ae","ö":"oe"}}');function r(r,o){if("string"!=typeof r)throw new Error("slugify: string argument expected");var n=a[(o="string"==typeof o?{replacement:o}:o||{}).locale]||{},t=void 0===o.replacement?"-":o.replacement,i=void 0===o.trim||o.trim,s=r.normalize().split("").reduce(function(a,r){var i=n[r];return void 0===i&&(i=e[r]),void 0===i&&(i=r),i===t&&(i=" "),a+i.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),i&&(s=s.trim()),s=s.replace(/\s+/g,t),o.lower&&(s=s.toLowerCase()),s}return r.extend=function(a){Object.assign(e,a)},r},e.exports=a(),e.exports.default=a()}};const a={};function r(o){const n=a[o];if(void 0!==n)return n.exports;const t=a[o]={exports:{}};return e[o].call(t.exports,t,t.exports,r),t.exports}r.n=e=>{const a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a}),a},r.d=(e,a)=>{if(Array.isArray(a))for(var o=0;o<a.length;){var n=a[o++],t=a[o++];r.o(e,n)?0===t&&o++:0===t?Object.defineProperty(e,n,{enumerable:!0,value:a[o++]}):Object.defineProperty(e,n,{enumerable:!0,get:t})}else for(var n in a)r.o(a,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:a[n]})},r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{"use strict";var e=r(495),a=r.n(e);window.slugify=a()})()})();;(()=>{"use strict";const e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),e.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};e.r(t);var i=Array.isArray,n=Array.prototype.indexOf,a=Array.prototype.includes,r=Array.from,o=Object.keys,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,h=Object.prototype,d=Array.prototype,A=Object.getPrototypeOf,f=Object.isExtensible;const u=()=>{};function g(){var e,t;return{promise:new Promise((i,n)=>{e=i,t=n}),resolve:e,reject:t}}const I=1<<24,p=16,v=32,C=64,b=512,w=1024,m=2048,k=4096,y=8192,Q=16384,B=32768,E=1<<25,S=65536,F=1<<17,x=1<<19,D=65536,U=1<<21,V=1<<23,_=Symbol("$state"),L=Symbol("legacy props"),P=Symbol(""),T=Symbol("attributes"),H=Symbol("class"),G=Symbol("style"),$=Symbol("text"),O=Symbol("form reset"),j=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},K=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml");function N(e){return e===this.v}function M(e,t){return e!=e?t==t:e!==t||null!==e&&"object"==typeof e||"function"==typeof e}function R(e){return!M(e,this.v)}const J={},z=Symbol("uninitialized"),Y="http://www.w3.org/1999/xhtml";let q=null;function X(e){q=e}function Z(e,t=!1,i){q={p:q,i:!1,c:null,e:null,s:e,x:null,r:jt,l:null}}function W(e){var t=q,i=t.e;if(null!==i)for(var n of(t.e=null,i))Ii(n);return void 0!==e&&(t.x=e),t.i=!0,q=t.p,e??{}}let ee=[];function te(){var e=ee;ee=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}function ie(e){if(0===ee.length&&!qe){var t=ee;queueMicrotask(()=>{t===ee&&te()})}ee.push(e)}function ne(){for(;ee.length>0;)te()}function ae(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let re,oe=!1;function le(e){oe=e}function se(e){if(null===e)throw ae(),J;return re=e}function ce(){return se(Qe(re))}function he(e){if(oe){if(null!==Qe(re))throw ae(),J;re=e}}function de(e=1){if(oe){for(var t=e,i=re;t--;)i=Qe(i);re=i}}function Ae(e=!0){for(var t=0,i=re;;){if(8===i.nodeType){var n=i.data;if("]"===n){if(0===t)return i;t-=1}else("["===n||"[!"===n||"["===n[0]&&!isNaN(Number(n.slice(1))))&&
vendor: 5,004 bytes, line 1
1(t+=1)}var a=Qe(i);e&&i.remove(),i=a}}function fe(e){if(!e||8!==e.nodeType)throw ae(),J;return e.data}function ue(e){if("object"!=typeof e||null===e||_ in e)return e;const t=A(e);if(t!==h&&t!==d)return e;var n=new Map,a=i(e),r=Bt(0),o=Xt,l=e=>{if(Xt===o)return e();var t=Gt,i=Xt;Ot(null),Zt(o);var n=e();return Ot(t),Zt(i),n};return a&&n.set("length",Bt(e.length)),new Proxy(e,{defineProperty(e,t,i){"value"in i&&!1!==i.configurable&&!1!==i.enumerable&&!1!==i.writable||function(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var a=n.get(t);return void 0===a?l(()=>{var e=Bt(i.value);return n.set(t,e),e}):St(a,i.value,!0),!0},deleteProperty(e,t){var i=n.get(t);if(void 0===i){if(t in e){const e=l(()=>Bt(z));n.set(t,e),xt(r)}}else St(i,z),xt(r);return!0},get(t,i,a){if(i===_)return e;var r=n.get(i),o=i in t;if(void 0!==r||o&&!s(t,i)?.writable||(r=l(()=>Bt(ue(o?t[i]:z))),n.set(i,r)),void 0!==r){var c=li(r);return c===z?void 0:c}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&"value"in i){var a=n.get(t);a&&(i.value=li(a))}else if(void 0===i){var r=n.get(t),o=r?.v;if(void 0!==r&&o!==z)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return i},has(e,t){if(t===_)return!0;var i=n.get(t),a=void 0!==i&&i.v!==z||Reflect.has(e,t);if((void 0!==i||null!==jt&&(!a||s(e,t)?.writable))&&(void 0===i&&(i=l(()=>Bt(a?ue(e[t]):z)),n.set(t,i)),li(i)===z))return!1;return a},set(e,t,i,o){var c=n.get(t),h=t in e;if(a&&"length"===t)for(var d=i;d<c.v;d+=1){var A=n.get(d+"");void 0!==A?St(A,z):d in e&&(A=l(()=>Bt(z)),n.set(d+"",A))}void 0===c?h&&!s(e,t)?.writable||(St(c=l(()=>Bt(void 0)),ue(i)),n.set(t,c)):(h=c.v!==z,St(c,l(()=>ue(i))));var f=Reflect.getOwnPropertyDescriptor(e,t);if(f?.set&&f.set.call(o,i),!h){if(a&&"string"==typeof t){var u=n.get("length"),g=Number(t);Number.isInteger(g)&&g>=u.v&&St(u,g+1)}xt(r)}return!0},ownKeys(e){li(r);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==z});for(var[i,a]of n)a.v===z||i in e||t.push(i);return t},setPrototypeOf(){!function(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function ge(e){try{if(null!==e&&"object"==typeof e&&_ in e)return e[_]}catch{}return e}function Ie(e,t){return Object.is(ge(e),ge(t))}var pe,ve,Ce,be,we;function me(){if(void 0===pe){pe=window,ve=document,Ce=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,i=Text.prototype;be=s(t,"firstChild").get,we=s(t,"nextSibling").get,f(e)&&(e[H]=void 0,e[T]=null,e[G]=void 0,e.__e=void 0),f(i)&&(i[$]=void 0)}}function ke(e=""){return document.createTextNode(e)}function ye(e){return be.call(e)}function Qe(e){return we.call(e)}function Be(e,t){if(!oe)return ye(e);var i=ye(re);if(null===i)i=re.appendChild(ke());else if(t&&3!==i.nodeType){var n=ke();return i?.before(n),se(n),n}return t&&xe(i),se(i),i}function Ee(e,t=!1){if(!oe){var i=ye(e);return i instanceof Comment&&""===i.data?Qe(i):i}if(t){if(3!==re?.nodeType){var n=ke();return re?.before(n),se(n),n}xe(re)}return re}function Se(e,t=1,i=!1){let n=oe?re:e;for(var a;t--;)a=n,n=Qe(n);if(!oe)return n;if(i){if(3!==n?.nodeType){var r=ke();return null===n?a?.after(r):n.before(r),se(r),r}xe(n)}return se(n),n}function Fe(e,t,i){let n;return document.createElementNS(t??Y,e,n)}function xe(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;null!==t&&3===t.nodeType;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function De(e){var t=jt;if(null===t)return Gt.f|=V,e;if(0===(t.f&B)&&!(4&t.f))throw e;Ue(e,t)}function Ue(e,t){for(;null!==t;){if(128&t.f){if(0===(t.f&B))throw e;try{return void t.b.error(e)}catch(t){e=t}}t=t.parent}throw e}const Ve=-7169;function _e(e,t){e.f=e.f&Ve|t}function Le(e){0!==(e.f&b)||null===e.deps?_e(e,w):_e(e,k)}function Pe(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&D)&&(t.f^=D,Pe(t.deps))}function Te(e,t,i){0!==(e.f&m)?t.add(e):0!==(e.f&k)&&i.add(e),Pe(e.deps),_e(e,w)}function He(e,t,i){if(null==e)return t(void 0),u;const n=hi(()=>e.subscribe(t,i));return n.unsubscribe?()=>n.unsubscribe():n}const Ge=[];function $e(e,t=u){let i=null;const n=new Set;function a(t){if(M(e,t)&&(e=t,i)){const t=!Ge.length;for(const t of n)t[1](),Ge.push(t,e);if(t){for(let e=0;e<Ge.length;e+=2)Ge[e][0](Ge[e+1]);Ge.length=0}}}function r(t){a(t(e))}return{set:a,update:r,subscribe:function(o,l=u){const s=[o,l];return n.add(s),1===n.size&&(i=t(a,r)||u),o(e),()=>{n.delete(s),0===n.size&&i&&(i(),i=null)}}}}function Oe(e){let t;return He(e,e=>t=e)(),t}let je=Symbol("unmounted");function Ke(e,t,i){const n=i[t]??={store:null,source:Et(void 0),unsubscribe:u};if(n.store!==e&&!(je in i))if(n.unsubscribe(),n.store=e??null,null==e)n.source.v=void 0,n.unsubscribe=u;else{var a=!0;n.unsubscribe=He(e,e=>{a?n.source.v=e:St(n.source,e)}),a=!1}return e&&je in i?Oe(e):li(n.source)}let Ne=null,Me=null,Re=null,Je=null,ze=null,Ye=null,qe=!1,Xe=!1,Ze=null,We=null;var et=0;let tt=1;class it{id=tt++;#e=!1;linked=!0;#t=null;#i=null;async_deriveds=new Map;
1current=new Map;previous=new Map;unblocked=new Set;#n=new Set;#a=new Set;#r=new Set;#o=0;#l=new Map;#s=null;#c=[];#h=[];#d=new Set;#A=new Set;#f=new Map;#u=new Set;is_fork=!1;#g=!1;#I(){if(this.is_fork)return!0;for(const i of this.#l.keys()){for(var e=i,t=!1;null!==e.parent;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#u.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var i=this.#f.get(e);if(i){for(var n of(this.#f.delete(e),i.d))_e(n,m),t(n);for(n of i.m)_e(n,k),t(n)}this.#u.add(e)}#p(){if(this.#e=!0,et++>1e3&&(this.#v(),function(){try{!function(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(e){Ue(e,Ye)}}()),!this.#I()){for(const e of this.#d)this.#A.delete(e),_e(e,m),this.schedule(e);for(const e of this.#A)_e(e,k),this.schedule(e)}const e=this.#c;this.#c=[],this.apply();var t=Ze=[],i=[],n=We=[];for(const n of e)try{this.#C(n,t,i)}catch(e){throw ht(n),e}if(Re=null,n.length>0){var a=it.ensure();for(const e of n)a.schedule(e)}if(Ze=null,We=null,this.#I()){this.#b(i),this.#b(t);for(const[e,t]of this.#f)ct(e,t);return void(n.length>0&&Re.#p())}const r=this.#w();if(r)r.#m(this);else{this.#d.clear(),this.#A.clear();for(const e of this.#n)e(this);this.#n.clear(),Je=this,rt(i),rt(t),Je=null,this.#s?.resolve();var o=Re;if(this.linked&&0===this.#o&&this.#v(),this.#c.length>0){null===o&&(o=this,this.#k());const e=o;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}null!==o&&o.#p()}}#C(e,t,i){e.f^=w;for(var n=e.first;null!==n;){var a=n.f,r=!!(96&a);if(!(r&&0!==(a&w)||0!==(a&y)||this.#f.has(n))&&null!==n.fn){r?n.f^=w:4&a?t.push(n):ei(n)&&(0!==(a&p)&&this.#A.add(n),ri(n));var o=n.first;if(null!==o){n=o;continue}}for(;null!==n;){var l=n.next;if(null!==l){n=l;break}n=n.parent}}}#w(){for(var e=this.#t;null!==e;){if(!e.is_fork)for(const[t,[,i]]of this.current)if(e.current.has(t)&&!i)return e;e=e.#t}return null}#m(e){for(const[t,i]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,i);for(const[t,i]of e.async_deriveds){const e=this.async_deriveds.get(t);e&&i.promise.then(e.resolve)}const t=e=>{var i=e.reactions;if(null!==i)for(const e of i){var n=e.f;if(2&n)t(e);else{var a=e;4194320&n&&!this.async_deriveds.has(a)&&(this.#A.delete(a),_e(a,m),this.schedule(a))}}};for(const e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#v(),Re=this,this.#p()}#b(e){for(var t=0;t<e.length;t+=1)Te(e[t],this.#d,this.#A)}capture(e,t,i=!1){e.v===z||this.previous.has(e)||this.previous.set(e,e.v),0===(e.f&V)&&(this.current.set(e,[t,i]),ze?.set(e,t)),this.is_fork||(e.v=t)}activate(){Re=this}deactivate(){Re=null,ze=null}flush(){try{0,Xe=!0,Re=this,this.#p()}finally{et=0,Ye=null,Ze=null,We=null,Xe=!1,Re=null,ze=null,kt.clear()}}discard(){for(const e of this.#a)e(this);this.#a.clear(),this.#r.clear(),this.#v()}register_created_effect(e){this.#h.push(e)}#y(){this.#v();for(let c=Ne;null!==c;c=c.#i){var e=c.id<this.id,t=[];for(const[n,[a,r]]of this.current){if(c.current.has(n)){var i=c.current.get(n)[0];if(!e||a===i)continue;c.current.set(n,[a,r])}t.push(n)}if(e)for(const[e,t]of this.async_deriveds){const i=c.async_deriveds.get(e);i&&t.promise.then(i.resolve)}if(c.#e){var n=[...c.current.keys()].filter(e=>!this.current.has(e));if(0===n.length)e&&c.discard();else if(t.length>0){if(e)for(const e of this.#u)c.unskip_effect(e,e=>{4194320&e.f?c.schedule(e):c.#b([e])});c.activate();var a=new Set,r=new Map;for(var o of t)ot(o,n,a,r);r=new Map;var l=[...c.current.keys()].filter(e=>!this.current.has(e)||this.current.get(e)[0]!==e.v);if(l.length>0)for(const e of this.#h)155648&e.f||!lt(e,l,r)||(4194320&e.f?(_e(e,m),c.schedule(e)):c.#d.add(e));if(c.#c.length>0){for(var s of(c.apply(),c.#c))c.#C(s,[],[]);c.#c=[]}c.deactivate()}}}}increment(e,t){if(this.#o+=1,e){let e=this.#l.get(t)??0;this.#l.set(t,e+1)}}decrement(e,t){if(this.#o-=1,e){let e=this.#l.get(t)??0;1===e?this.#l.delete(t):this.#l.set(t,e-1)}this.#g||(this.#g=!0,ie(()=>{this.#g=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(const t of e)this.#d.add(t);for(const e of t)this.#A.add(e);e.clear(),t.clear()}oncommit(e){this.#n.add(e)}ondiscard(e){this.#a.add(e)}on_fork_commit(e){this.#r.add(e)}run_fork_commit_callbacks(){for(const e of this.#r)e(this);this.#r.clear()}settled(){return(this.#s??=g()).promise}static ensure(){if(null===Re){const e=Re=new it;e.#k(),Xe||qe||ie(()=>{e.#e||e.flush()})}return Re}apply(){ze=null}schedule(e){if(Ye=e,e.b?.is_pending&&16777228&e.f&&0===(e.f&B))e.b.defer_effect(e);else{for(var t=e;null!==t.parent;){var i=(t=t.parent).f;if(!(null===Ze||t!==jt||null!==Gt&&2&Gt.f))return;if(96&i){if(0===(i&w))return;t.f^=w}}this.#c.push(t)}}#k(){null===Me?Ne=Me=this:(Me.#i=this,this.#t=Me),Me=this}#v(){var e=this.#t,t=this.#i;null===e?Ne=t:e.#i=t,null===t?Me=e:t.#t=e,this.linked=!1}}function nt(e){var t=qe;qe=!0;try{for(;;){if(ne(),null===Re)return;Re.flush()}}finally{qe=t}}let at=null;function rt(e){var t=e.length;if(0!==t){for(var i=0;i<t;){var n=e[i++];if(!(24576&n.f)&&ei(n)&&(at=new Set,ri(n),null===n.deps&&null===n.first&&null===n.nodes&&null===n.teardown&&null===n.ac&&Ei(n),at?.size>0)){kt.clear();for(const e of at){if(24576&e.f)continue;const t=[e];let i=e.parent;for(;null!==i;)at.has(i)&&(at.delete(i),t.push(i)),i=i.parent;for(let e=t.length-1;e>=0;e--){const i=t[e];24576&i.f||ri(i)}}at.clear()}}at=null}}function ot(e,t,i,n){if(!i.has(e)&&(i.add(e),null!==e.reactions))for(const a of e.reactions){const e=a.f;2&e?ot(a,t,i,n):4194320&e&&0===(e&m)&&lt(a,t,n)&&(_e(a,m),st(a))}}function lt(e,t,i){const n=i.get(e);if(void 0!==n)return n;if(null!==e.deps)for(const n of e.deps){if(a.call(t,n))return!0;
1if(2&n.f&&lt(n,t,i))return i.set(n,!0),!0}return i.set(e,!1),!1}function st(e){Re.schedule(e)}function ct(e,t){if(0===(e.f&v)||0===(e.f&w)){0!==(e.f&m)?t.d.push(e):0!==(e.f&k)&&t.m.push(e),_e(e,w);for(var i=e.first;null!==i;)ct(i,t),i=i.next}}function ht(e){_e(e,w);for(var t=e.first;null!==t;)ht(t),t=t.next}class dt{parent;is_pending=!1;transform_error;#Q;#B=oe?re:null;#E;#S;#F;#x=null;#D=null;#U=null;#V=null;#_=0;#L=0;#P=!1;#d=new Set;#A=new Set;#T=null;#H=function(e){let t,i=0,n=Qt(0);return()=>{fi()&&(li(n),vi(()=>(0===i&&(t=hi(()=>e(()=>xt(n)))),i+=1,()=>{ie(()=>{i-=1,0===i&&(t?.(),t=void 0,xt(n))})})))}}(()=>(this.#T=Qt(this.#_),()=>{this.#T=null}));constructor(e,t,i,n){this.#Q=e,this.#E=t,this.#S=e=>{var t=jt;t.b=this,t.f|=128,i(e)},this.parent=jt.b,this.transform_error=n??this.parent?.transform_error??(e=>e),this.#F=bi(()=>{if(oe){const e=this.#B;ce();const t="[!"===e.data;if(e.data.startsWith("[?")){const t=JSON.parse(e.data.slice(2));this.#G(t)}else t?this.#$():this.#O()}else this.#j()},589824),oe&&(this.#Q=re)}#O(){try{this.#x=mi(()=>this.#S(this.#Q))}catch(e){this.error(e)}}#G(e){const t=this.#E.failed;t&&(this.#U=mi(()=>{t(this.#Q,()=>e,()=>()=>{})}))}#$(){const e=this.#E.pending;e&&(this.is_pending=!0,this.#D=mi(()=>e(this.#Q)),ie(()=>{var e=this.#V=document.createDocumentFragment(),t=ke();e.append(t),this.#x=this.#K(()=>mi(()=>this.#S(t))),0===this.#L&&(this.#Q.before(e),this.#V=null,Si(this.#D,()=>{this.#D=null}),this.#N(Re))}))}#j(){try{if(this.is_pending=this.has_pending_snippet(),this.#L=0,this.#_=0,this.#x=mi(()=>{this.#S(this.#Q)}),this.#L>0){var e=this.#V=document.createDocumentFragment();Ui(this.#x,e);const t=this.#E.pending;this.#D=mi(()=>t(this.#Q))}else this.#N(Re)}catch(e){this.error(e)}}#N(e){this.is_pending=!1,e.transfer_effects(this.#d,this.#A)}defer_effect(e){Te(e,this.#d,this.#A)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#E.pending}#K(e){var t=jt,i=Gt,n=q;Kt(this.#F),Ot(this.#F),X(this.#F.ctx);try{return it.ensure(),e()}catch(e){return De(e),null}finally{Kt(t),Ot(i),X(n)}}#M(e,t){this.has_pending_snippet()?(this.#L+=e,0===this.#L&&(this.#N(t),this.#D&&Si(this.#D,()=>{this.#D=null}),this.#V&&(this.#Q.before(this.#V),this.#V=null))):this.parent&&this.parent.#M(e,t)}update_pending_count(e,t){this.#M(e,t),this.#_+=e,this.#T&&!this.#P&&(this.#P=!0,ie(()=>{this.#P=!1,this.#T&&Ft(this.#T,this.#_)}))}get_effect_pending(){return this.#H(),li(this.#T)}error(e){if(!this.#E.onerror&&!this.#E.failed)throw e;Re?.is_fork?(this.#x&&Re.skip_effect(this.#x),this.#D&&Re.skip_effect(this.#D),this.#U&&Re.skip_effect(this.#U),Re.on_fork_commit(()=>{this.#R(e)})):this.#R(e)}#R(e){this.#x&&(Qi(this.#x),this.#x=null),this.#D&&(Qi(this.#D),this.#D=null),this.#U&&(Qi(this.#U),this.#U=null),oe&&(se(this.#B),de(),se(Ae()));var t=this.#E.onerror;let i=this.#E.failed;var n=!1,a=!1;const r=()=>{n?console.warn("https://svelte.dev/e/svelte_boundary_reset_noop"):(n=!0,a&&function(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}(),null!==this.#U&&Si(this.#U,()=>{this.#U=null}),this.#K(()=>{this.#j()}))},o=e=>{try{a=!0,t?.(e,r),a=!1}catch(e){Ue(e,this.#F&&this.#F.parent)}i&&(this.#U=this.#K(()=>{try{return mi(()=>{var t=jt;t.b=this,t.f|=128,i(this.#Q,()=>e,()=>r)})}catch(e){return Ue(e,this.#F.parent),null}}))};ie(()=>{var t;try{t=this.transform_error(e)}catch(e){return void Ue(e,this.#F&&this.#F.parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>Ue(e,this.#F&&this.#F.parent)):o(t)})}}function At(e,t,i,n){const a=gt;var r=e.filter(e=>!e.settled);if(0!==i.length||0!==r.length){var o,l,s,c,h=jt,d=(o=jt,l=Gt,s=q,c=Re,function(e=!0){Kt(o),Ot(l),X(s),e&&0===(o.f&Q)&&(c?.activate(),c?.apply())}),A=1===r.length?r[0].promise:r.length>1?Promise.all(r.map(e=>e.promise)):null,f=ut();0!==i.length?A?A.then(()=>{d(),g(),ft()}):g():A.then(()=>u(t.map(a))).finally(f)}else n(t.map(a));function u(e){if(0===(h.f&Q)){d();try{n(e)}catch(e){Ue(e,h)}ft()}}function g(){Promise.all(i.map(e=>pt(e))).then(e=>u([...t.map(a),...e])).catch(e=>Ue(e,h)).finally(f)}}function ft(e=!0){Kt(null),Ot(null),X(null),e&&Re?.deactivate()}function ut(){var e=jt,t=e.b,i=Re,n=t.is_rendered();return t.update_pending_count(1,i),i.increment(n,e),()=>
vendor: 13,603 bytes, line 1
1{t.update_pending_count(-1,i),i.decrement(n,e)}}function gt(e){null!==jt&&(jt.f|=x);return{ctx:q,deps:null,effects:null,equals:N,f:2050,fn:e,reactions:null,rv:0,v:z,wv:0,parent:jt,ac:null}}const It=Symbol("obsolete");function pt(e,t,i){let n=jt;null===n&&function(){throw new Error("https://svelte.dev/e/async_derived_orphan")}();var a=void 0,r=Qt(z),o=!Gt,l=new Set;return function(e){Ai(4718592,e)}(()=>{var t=jt,i=g();a=i.promise;try{Promise.resolve(e()).then(i.resolve,e=>{e!==j&&i.reject(e)}).finally(ft)}catch(e){i.reject(e),ft()}var s=Re;if(o){if(0!==(t.f&B))var c=ut();if(n.b.is_rendered())s.async_deriveds.get(t)?.reject(It);else for(const e of l.values())e.reject(It);l.add(i),s.async_deriveds.set(t,i)}const h=(e,t=void 0)=>{c?.(),l.delete(i),t!==It&&(s.activate(),t?(r.f|=V,Ft(r,t)):(0!==(r.f&V)&&(r.f^=V),Ft(r,e)),s.deactivate())};i.promise.then(h,e=>h(null,e||"unknown"))}),ui(()=>{for(const e of l)e.reject(It)}),new Promise(e=>{!function t(i){function n(){i===a?e(r):t(a)}i.then(n,n)}(a)})}function vt(e){const t=gt(e);return Mt(t),t}function Ct(e){var t,i=jt,n=e.parent;if(!Tt&&null!==n&&e.v!==z&&24576&n.f)return console.warn("https://svelte.dev/e/derived_inert"),e.v;Kt(n);try{e.f&=-65537,function(e){var t=e.effects;if(null!==t){e.effects=null;for(var i=0;i<t.length;i+=1)Qi(t[i])}}(e),t=ii(e)}finally{Kt(i)}return t}function bt(e){var t=Ct(e);e.equals(t)||(e.wv=Wt(),Re?.is_fork&&null!==e.deps||(null!==Re?(Re.capture(e,t,!0),Je?.capture(e,t,!0)):e.v=t,null!==e.deps))?Tt||(null!==ze?(fi()||Re?.is_fork)&&ze.set(e,t):Le(e)):_e(e,w)}function wt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&null!==t.fn&&ri(t)}let mt=new Set;const kt=new Map;let yt=!1;function Qt(e,t){return{f:0,v:e,reactions:null,equals:N,rv:0,wv:0}}function Bt(e,t){const i=Qt(e);return Mt(i),i}function Et(e,t=!1,i=!0){const n=Qt(e);return t||(n.equals=R),n}function St(e,t,i=!1){return null===Gt||$t&&0===(Gt.f&F)||!(4325394&Gt.f)||null!==Nt&&a.call(Nt,e)||function(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}(),Ft(e,i?ue(t):t,We)}function Ft(e,t,i=null){if(!e.equals(t)){kt.set(e,Tt?t:e.v);var n=it.ensure();if(n.capture(e,t),2&e.f){const t=e;0!==(e.f&m)&&Ct(t),null===ze&&Le(t)}e.wv=Wt(),Dt(e,m,i),null===jt||0===(jt.f&w)||96&jt.f||(null===zt?function(e){zt=e}([e]):zt.push(e)),!n.is_fork&&mt.size>0&&!yt&&function(){yt=!1;for(const e of mt){let t;0!==(e.f&w)&&_e(e,k);try{t=ei(e)}catch{t=!0}t&&ri(e)}mt.clear()}()}return t}function xt(e){St(e,e.v+1)}function Dt(e,t,i){var n=e.reactions;if(null!==n)for(var a=n.length,r=0;r<a;r++){var o=n[r],l=o.f,s=0===(l&m);if(s&&_e(o,t),0!==(l&F))mt.add(o);else if(2&l){var c=o;ze?.delete(c),0===(l&D)&&(l&b&&(null===jt||0===(jt.f&U))&&(o.f|=D),Dt(c,k,i))}else if(s){var h=o;0!==(l&p)&&null!==at&&at.add(h),null!==i?i.push(h):st(h)}}}function Ut(e,t){if(t){const t=document.body;e.autofocus=!0,ie(()=>{document.activeElement===t&&e.focus()})}}let Vt=!1;function _t(){Vt||(Vt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t[O]?.()})},{capture:!0}))}function Lt(e){var t=Gt,i=jt;Ot(null),Kt(null);try{return e()}finally{Ot(t),Kt(i)}}let Pt=!1,Tt=!1;function Ht(e){Tt=e}let Gt=null,$t=!1;function Ot(e){Gt=e}let jt=null;function Kt(e){jt=e}let Nt=null;function Mt(e){null!==Gt&&(null===Nt?Nt=[e]:Nt.push(e))}let Rt=null,Jt=0,zt=null;let Yt=1,qt=0,Xt=qt;function Zt(e){Xt=e}function Wt(){return++Yt}function ei(e){var t=e.f;if(0!==(t&m))return!0;if(2&t&&(e.f&=-65537),0!==(t&k)){for(var i=e.deps,n=i.length,a=0;a<n;a++){var r=i[a];if(ei(r)&&bt(r),r.wv>e.wv)return!0}0!==(t&b)&&null===ze&&_e(e,w)}return!1}function ti(e,t,i=!0){var n=e.reactions;if(null!==n&&(null===Nt||!a.call(Nt,e)))for(var r=0;r<n.length;r++){var o=n[r];2&o.f?ti(o,t,!1):t===o&&(i?_e(o,m):0!==(o.f&w)&&_e(o,k),st(o))}}function ii(e){var t=Rt,i=Jt,n=zt,a=Gt,r=Nt,o=q,l=$t,s=Xt,c=e.f;Rt=null,Jt=0,zt=null,Gt=96&c?null:e,Nt=null,X(e.ctx),$t=!1,Xt=++qt,null!==e.ac&&(Lt(()=>{e.ac.abort(j)}),e.ac=null);try{e.f|=U;var h=(0,e.fn)();e.f|=B;var d=e.deps,A=Re?.is_fork;if(null!==Rt){var f;if(A||ai(e,Jt),null!==d&&Jt>0)for(d.length=Jt+Rt.length,f=0;f<Rt.length;f++)d[Jt+f]=Rt[f];else e.deps=d=Rt;if(fi()&&0!==(e.f&b))for(f=Jt;f<d.length;f++)(d[f].reactions??=[]).push(e)}else!A&&null!==d&&Jt<d.length&&(ai(e,Jt),d.length=Jt);if(!(null===zt||$t||null===d||6146&e.f))for(f=0;f<zt.length;f++)ti(zt[f],e);if(null!==a&&a!==e){if(qt++,null!==a.deps)for(let e=0;e<i;e+=1)a.deps[e].rv=qt;if(null!==t)for(const e of t)e.rv=qt;null!==zt&&(null===n?n=zt:n.push(...zt))}return 0!==(e.f&V)&&(e.f^=V),h}catch(e){return De(e)}finally{e.f^=U,Rt=t,Jt=i,zt=n,Gt=a,Nt=r,X(o),$t=l,Xt=s}}function ni(e,t){let i=t.reactions;if(null!==i){var r=n.call(i,e);if(-1!==r){var o=i.length-1;0===o?i=t.reactions=null:(i[r]=i[o],i.pop())}}if(null===i&&2&t.f&&(null===Rt||!a.call(Rt,t))){var l=t;0!==(l.f&b)&&(l.f^=b,l.f&=-65537),l.v!==z&&Le(l),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(j),null!==t.fn&&(t.teardown=u),t.ac=null,ai(t,0),yi(t))}(l),ai(l,0)}}function ai(e,t){var i=e.deps;if(null!==i)for(var n=t;n<i.length;n++)ni(e,i[n])}function ri(e){var t=e.f;if(0===(t&Q)){_e(e,w);var i=jt,n=Pt;jt=e,Pt=!0;try{16777232&t?function(e){var t=e.first;for(;null!==t;){var i=t.next;0===(t.f&v)&&Qi(t),t=i}}(e):yi(e),ki(e);var a=ii(e);e.teardown="function"==typeof a?a:null,e.wv=Yt}finally{Pt=n,jt=i}}}async function oi(){await Promise.resolve(),nt()}function li(e){var t=!!(2&e.f);if(null!==Gt&&!$t&&!(null!==jt&&0!==(jt.f&Q)||null!==Nt&&a.call(Nt,e))){var i=Gt.deps;if(0!==(Gt.f&U))e.rv<qt&&(e.rv=qt,null===Rt&&null!==i&&i[Jt]===e?Jt++:null===Rt?Rt=[e]:Rt.push(e));else{(Gt.deps??=[]).push(e);var n=e.reactions;null===n?e.reactions=[Gt]:a.call(n,Gt)||n.push(Gt)}}if(Tt&&kt.has(e))return kt.get(e);if(t){var r=e;if(Tt){var o=r.v;return(0===(r.f&w)&&null!==r.reactions||ci(r))&&(o=Ct(r)),kt.set(r,o),o}var l=0===(r.f&b)&&!$t&&null!==Gt&&(Pt||0!==(Gt.f&b)),s=0===(r.f&B);ei(r)&&(l&&(r.f|=b),bt(r)),l&&!s&&(wt(r),si(r))}if(ze?.has(e))return ze.get(e);if(0!==(e.f&V))throw e.v;return e.v}function si(e){if(e.f|=b,null!==e.deps)for(const t of e.deps)(t.reactions??=[]).push(e),2&t.f&&0===(t.f&b)&&(wt(t),si(t))}function ci(e){if(e.v===z)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(kt.has(t))return!0;if(2&t.f&&ci(t))return!0}return!1}function hi(e){var t=$t;try{return $t=!0,e()}finally{$t=t}}function di(e){null===jt&&(null===Gt&&function(){throw new Error("https://svelte.dev/e/effect_orphan")}(),function(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}()),Tt&&function(){throw new Error("https://svelte.dev/e/effect_in_teardown")}()}function Ai(e,t){var i=jt;null!==i&&0!==(i.f&y)&&(e|=y);var n={ctx:q,deps:null,nodes:null,f:e|m|b,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,wv:0,ac:null};Re?.register_created_effect(n);var a=n;if(4&e)null!==Ze?Ze.push(n):it.ensure().schedule(n);else if(null!==t){try{ri(n)}catch(e){throw Qi(n),e}null===a.deps&&null===a.teardown&&null===a.nodes&&a.first===a.last&&0===(a.f&x)&&(a=a.first,0!==(e&p)&&0!==(e&S)&&null!==a&&(a.f|=S))}if(null!==a&&(a.parent=i,null!==i&&function(e,t){var i=t.last;null===i?t.last=t.first=e:(i.next=e,e.prev=i,t.last=e)}(a,i),null!==Gt&&2&Gt.f&&0===(e&C))){var r=Gt;(r.effects??=[]).push(a)}return n}function fi(){return null!==Gt&&!$t}function ui(e){const t=Ai(8,null);return _e(t,w),t.teardown=e,t}function gi(e){di();var t=jt.f;if(!(!Gt&&0!==(t&v)&&0===(t&B)))return Ii(e);var i=q;(i.e??=[]).push(e)}function Ii(e){return Ai(1048580,e)}function pi(e){return Ai(4,e)}function vi(e,t=0){return Ai(8|t,e)}function Ci(e,t=[],i=[],n=[]){At(n,t,i,t=>{Ai(8,()=>e(...t.map(li)))})}function bi(e,t=0){return Ai(p|t,e)}function wi(e,t=0){return Ai(I|t,e)}function mi(e){return Ai(524320,e)}function ki(e){var t=e.teardown;if(null!==t){const e=Tt,i=Gt;Ht(!0),Ot(null);try{t.call(null)}finally{Ht(e),Ot(i)}}}function yi(e,t=!1){var i=e.first;for(e.first=e.last=null;null!==i;){const e=i.ac;null!==e&&Lt(()=>{e.abort(j)});var n=i.next;0!==(i.f&C)?i.parent=null:Qi(i,t),i=n}}function Qi(e,t=!0){var i=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Bi(e.nodes.start,e.nodes.end),i=!0),_e(e,E),yi(e,t&&!i),ai(e,0);var n=e.nodes&&e.nodes.t;if(null!==n)for(const e of n)e.stop();ki(e),e.f^=E,e.f|=Q;var a=e.parent;null!==a&&null!==a.first&&Ei(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Bi(e,t){for(;null!==e;){var i=e===t?null:Qe(e);e.remove(),e=i}}function Ei(e){var t=e.parent,i=e.prev,n=e.next;null!==i&&(i.next=n),null!==n&&(n.prev=i),null!==t&&(t.first===e&&(t.first=n),t.last===e&&(t.last=i))}function Si(e,t,i=!0){var n=[];Fi(e,n,!0);var a=()=>{i&&Qi(e),t&&t()},r=n.length;if(r>0){var o=()=>--r||a();for(var l of n)l.out(o)}else a()}function Fi(e,t,i){if(0===(e.f&y)){e.f^=y;var n=e.nodes&&e.nodes.t;if(null!==n)for(const e of n)(e.is_global||i)&&t.push(e);for(var a=e.first;null!==a;){var r=a.next;if(0===(a.f&C))Fi(a,t,!!(0!==(a.f&S)||0!==(a.f&v)&&0!==(e.f&p))&&i);a=r}}}function xi(e){Di(e,!0)}function Di(e,t){if(0!==(e.f&y)){e.f^=y,0===(e.f&w)&&(_e(e,m),it.ensure().schedule(e));for(var i=e.first;null!==i;){var n=i.next;Di(i,!!(0!==(i.f&S)||0!==(i.f&v))&&t),i=n}var a=e.nodes&&e.nodes.t;if(null!==a)for(const e of a)(e.is_global||t)&&e.in()}}function Ui(e,t){if(e.nodes)for(var i=e.nodes.start,n=e.nodes.end;null!==i;){var a=i===n?null:Qe(i);t.append(i),i=a}}function Vi(e){const t={get:e=>Oe(t.store)[e],set:(e,i)=>{"string"==typeof e?Object.assign(Oe(t.store),{[e]:i}):Object.assign(Oe(t.store),e),t.store.set(Oe(t.store))},store:$e(e)};return t}globalThis.$altcha=globalThis.$altcha||{algorithms:new Map,defaults:Vi({}),i18n:Vi({}),instances:new Set,plugins:new Set};globalThis.$altcha.i18n.set("en",{ariaLinkLabel:"Altcha (official website)",cancel:"Cancel",enterCode:"Enter code",enterCodeAria:"Enter code you hear. Press Space to play audio.",enterCodeFromImage:"To proceed, please enter the code from the image below.",error:"Verification failed. Try again later.",expired:"Verification expired. Try again.",footer:'Protected by <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (official website)">ALTCHA</a>',getAudioChallenge:"Get an audio challenge",label:"I'm not a robot",loading:"Loading...",reload:"Reload",verify:"Verify",verificationRequired:"Verification required!",verified:"Verified",verifying:"Verifying...",waitAlert:"Verifying... please wait."});"undefined"!=typeof window&&((window.__svelte??={}).v??=new Set).add("5");const _i=Symbol("events"),Li=new Set,Pi=new Set;function Ti(e,t,i,n={}){function a(e){if(n.capture||ji.call(t,e),!e.cancelBubble)return Lt(()=>i?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?ie(()=>{t.addEventListener(e,a,n)}):t.addEventListener(e,a,n),a}function Hi(e,t,i,n,a){var r={capture:n,passive:a},o=Ti(e,t,i,r);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ui(()=>{t.removeEventListener(e,o,r)})}function Gi(e,t,i){(t[_i]??={})[e]=i}function $i(e){for(var t=0;t<e.length;t++)Li.add(e[t]);for(var i of Pi)i(e)}let Oi=null;function ji(e){var t=this,i=t.ownerDocument,n=e.type,a=e.composedPath?.()||[],r=a[0]||e.target;Oi=e;var o=0,s=Oi===e&&e[_i];if(s){var c=a.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[_i]=t);var h=a.indexOf(t);if(-1===h)return;c<=h&&(o=c)}if((r=a[o]||e.target)!==t){l(e,"currentTarget",{configurable:!0,get:()=>r||i});var d=Gt,A=jt;Ot(null),Kt(null);try{for(var f,u=[];null!==r;){var g=r.assignedSlot||r.parentNode||r.host||null;try{var I=r[_i]?.[n];null==I||r.disabled&&e.target!==r||I.call(r,e)}catch(e){f?u.push(e):f=e}if(e.cancelBubble||g===t||null===g)break;r=g}if(f){for(let e of u)queueMicrotask(()=>{throw e});throw f}}finally{e[_i]=t,delete e.currentTarget,Ot(d),Kt(A)}}}const Ki=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Ni(e){var t=Fe("template");return t.innerHTML=function(e){return Ki?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function Mi(e,t){var i=jt;null===i.nodes&&(i.nodes={start:e,end:t,a:null,t:null})}function Ri(e,t){var i,n=!!(1&t),a=!!(2&t),r=!e.startsWith("<!>");return()=>{if(oe)return Mi(re,null),re;void 0===i&&(i=Ni(r?e:"<!>"+e),n||(i=ye(i)));var t=a||Ce?document.importNode(i,!0):i.cloneNode(!0);n?Mi(ye(t),t.lastChild):Mi(t,t);return t}}function Ji(e,t,i="svg"){var n,a=`<${i}>${!e.startsWith("<!>")?e:"<!>"+e}</${i}>`;return()=>{if(oe)return Mi(re,null),re;if(!n){var e=Ni(a);n=ye(ye(e))}var t=n.cloneNode(!0);return Mi(t,t),t}}function zi(e,t){return Ji(e,0,"svg")}function Yi(e=""){if(!oe){var t=ke(e+"");return Mi(t,t),t}var i=re;return 3!==i.nodeType?(i.before(i=ke()),se(i)):xe(i),Mi(i,i),i}function qi(){if(oe)return Mi(re,null),re;var e=document.createDocumentFragment(),t=document.createComment(""),i=ke();return e.append(t,i),Mi(t,i),e}function Xi(e,t){if(oe){var i=jt;return 0!==(i.f&B)&&null!==i.nodes.end||(i.nodes.end=re),void ce()}null!==e&&e.before(t)}function Zi(e){return e.endsWith("capture")&&"gotpointercapture"!==e&&"lostpointercapture"!==e}const Wi=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function en(e){return Wi.includes(e)}const tn={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInl
1ine",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function nn(e){return e=e.toLowerCase(),tn[e]??e}const an=["touchstart","touchmove"];function rn(e){return an.includes(e)}function on(e,t){var i=null==t?"":"object"==typeof t?`${t}`:t;i!==(e[$]??=e.nodeValue)&&(e[$]=i,e.nodeValue=`${i}`)}function ln(e,t){return hn(e,t)}function sn(e,t){me(),t.intro=t.intro??!1;const i=t.target,n=oe,a=re;try{for(var r=ye(i);r&&(8!==r.nodeType||"["!==r.data);)r=Qe(r);if(!r)throw J;le(!0),se(r);const n=hn(e,{...t,anchor:r});return le(!1),n}catch(n){if(n instanceof Error&&n.message.split("\n").some(e=>e.startsWith("https://svelte.dev/e/")))throw n;return n!==J&&console.warn("Failed to hydrate: ",n),!1===t.recover&&function(){throw new Error("https://svelte.dev/e/hydration_failed")}(),me(),i.textContent="",le(!1),ln(e,t)}finally{le(n),se(a)}}const cn=new Map;function hn(e,{target:t,anchor:i,props:n={},events:a,context:o,intro:l=!0,transformError:s}){me();var c=void 0,h=function(e){it.ensure();const t=Ai(524352,e);return(e={})=>new Promise(i=>{e.outro?Si(t,()=>{Qi(t),i(void 0)}):(Qi(t),i(void 0))})}(()=>{var l=i??t.appendChild(ke());!function(e,t,i,n){new dt(e,t,i,n)}(l,{pending:()=>{}},t=>{if(Z({}),o&&(q.c=o),a&&(n.$$events=a),oe&&Mi(t,null),c=e(t,n)||{},oe&&(jt.nodes.end=re,null===re||8!==re.nodeType||"]"!==re.data))throw ae(),J;W()},s);var h=new Set,d=e=>{for(var i=0;i<e.length;i++){var n=e[i];if(!h.has(n)){h.add(n);var a=rn(n);for(const e of[t,document]){var r=cn.get(e);void 0===r&&(r=new Map,cn.set(e,r));var o=r.get(n);void 0===o?(e.addEventListener(n,ji,{passive:a}),r.set(n,1)):r.set(n,o+1)}}}};return d(r(Li)),Pi.add(d),()=>{for(var e of h)for(const i of[t,document]){var n=cn.get(i),a=n.get(e);0==--a?(i.removeEventListener(e,ji),n.delete(e),0===n.size&&cn.delete(i)):n.set(e,a)}Pi.delete(d),l!==i&&l.parentNode?.removeChild(l)}});return dn.set(c,h),c}let dn=new WeakMap;class An{anchor;#J=new Map;#z=new Map;#Y=new Map;#q=new Set;#X=!0;constructor(e,t=!0){this.anchor=e,this.#X=t}#y=e=>{if(this.#J.has(e)){var t=this.#J.get(e),i=this.#z.get(t);if(i)xi(i),this.#q.delete(t);else{var n=this.#Y.get(t);n&&(this.#z.set(t,n.effect),this.#Y.delete(t),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),i=n.effect)}for(const[t,i]of this.#J){if(this.#J.delete(t),t===e)break;const n=this.#Y.get(i);n&&(Qi(n.effect),this.#Y.delete(i))}for(const[e,n]of this.#z){if(e===t||this.#q.has(e))continue;const a=()=>{if(Array.from(this.#J.values()).includes(e)){var t=document.createDocumentFragment();Ui(n,t),t.append(ke()),this.#Y.set(e,{effect:n,fragment:t})}else Qi(n);this.#q.delete(e),this.#z.delete(e)};this.#X||!i?(this.#q.add(e),Si(n,a,!1)):a()}}};#Z=e=>{this.#J.delete(e);const t=Array.from(this.#J.values());for(const[e,i]of this.#Y)t.includes(e)||(Qi(i.effect),this.#Y.delete(e))};ensure(e,t){var i=Re;!t||this.#z.has(e)||this.#Y.has(e)||this.#z.set(e,mi(()=>t(this.anchor)));this.#J.set(i,e),oe&&(this.anchor=re),this.#y(i)}}function fn(e){null===q&&function(){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}(),gi(()=>{const t=hi(e);if("function"==typeof t)return t})}function un(e,t,i=!1){var n;oe&&(n=re,ce());var a=new An(e);function r(e,t){if(oe){var i=fe(n);if(e!==parseInt(i.substring(1))){var r=Ae();return se(r),a.anchor=r,le(!1),a.ensure(e,t),void le(!0)}}a.ensure(e,t)}bi(()=>{var e=!1;t((t,i=0)=>{e=!0,r(i,t)}),e||r(-1,null)},i?S:0)}const gn=Symbol("NaN");function In(e,t,i=!1,n=!1,a=!1,r=!1){var o=e,l="";if(i){var s=e;oe&&(o=se(ye(s)))}Ci(()=>{var e=jt;
vendor: 18,152 bytes, line 1
1if(l!==(l=t()??"")){if(i&&!oe)return e.nodes=null,s.innerHTML=l,void(""!==l&&Mi(ye(s),s.lastChild));if(null!==e.nodes&&(Bi(e.nodes.start,e.nodes.end),e.nodes=null),""!==l){if(oe){re.data;for(var r=ce(),c=r;null!==r&&(8!==r.nodeType||""!==r.data);)c=r,r=Qe(r);if(null===r)throw ae(),J;return Mi(re,c),void(o=se(r))}var h=Fe(n?"svg":a?"math":"template",n?"http://www.w3.org/2000/svg":a?"http://www.w3.org/1998/Math/MathML":void 0);h.innerHTML=l;var d=n||a?h:h.content;if(Mi(ye(d),d.lastChild),n||a)for(;ye(d);)o.before(ye(d));else o.before(d)}}else oe&&ce()})}function pn(e,t){var i,n=void 0;wi(()=>{n!==(n=t())&&(i&&(Qi(i),i=null),n&&(i=mi(()=>{pi(()=>n(e))})))})}function vn(e){var t,i,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(i=vn(e[t]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i);return n}function Cn(e){return"object"==typeof e?function(){for(var e,t,i=0,n="",a=arguments.length;i<a;i++)(e=arguments[i])&&(t=vn(e))&&(n&&(n+=" "),n+=t);return n}(e):e??""}const bn=[..." \t\n\r\f \v\ufeff"];function wn(e,t=!1){var i=t?" !important;":";",n="";for(var a of Object.keys(e)){var r=e[a];null!=r&&""!==r&&(n+=" "+a+": "+r+i)}return n}function mn(e){return"-"!==e[0]||"-"!==e[1]?e.toLowerCase():e}function kn(e,t,i,n,a,r){var o=e[H];if(oe||o!==i||void 0===o){var l=function(e,t,i){var n=null==e?"":""+e;if(i)for(var a of Object.keys(i))if(i[a])n=n?n+" "+a:a;else if(n.length)for(var r=a.length,o=0;(o=n.indexOf(a,o))>=0;){var l=o+r;0!==o&&!bn.includes(n[o-1])||l!==n.length&&!bn.includes(n[l])?o=l:n=(0===o?"":n.substring(0,o))+n.substring(l+1)}return""===n?null:n}(i,0,r);oe&&l===e.getAttribute("class")||(null==l?e.removeAttribute("class"):t?e.className=l:e.setAttribute("class",l)),e[H]=i}else if(r&&a!==r)for(var s in r){var c=!!r[s];null!=a&&c===!!a[s]||e.classList.toggle(s,c)}return r}function yn(e,t={},i,n){for(var a in i){var r=i[a];t[a]!==r&&(null==i[a]?e.style.removeProperty(a):e.style.setProperty(a,r,n))}}function Qn(e,t,i,n){var a=e[G];if(oe||a!==t){var r=function(e,t){if(t){var i,n,a="";if(Array.isArray(t)?(i=t[0],n=t[1]):i=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var r=!1,o=0,l=!1,s=[];i&&s.push(...Object.keys(i).map(mn)),n&&s.push(...Object.keys(n).map(mn));var c=0,h=-1;const t=e.length;for(var d=0;d<t;d++){var A=e[d];if(l?"/"===A&&"*"===e[d-1]&&(l=!1):r?r===A&&(r=!1):"/"===A&&"*"===e[d+1]?l=!0:'"'===A||"'"===A?r=A:"("===A?o++:")"===A&&o--,!l&&!1===r&&0===o)if(":"===A&&-1===h)h=d;else if(";"===A||d===t-1){if(-1!==h){var f=mn(e.substring(c,h).trim());s.includes(f)||(";"!==A&&d++,a+=" "+e.substring(c,d).trim()+";")}c=d+1,h=-1}}}return i&&(a+=wn(i)),n&&(a+=wn(n,!0)),""===(a=a.trim())?null:a}return null==e?null:String(e)}(t,n);oe&&r===e.getAttribute("style")||(null==r?e.removeAttribute("style"):e.style.cssText=r),e[G]=t}else n&&(Array.isArray(n)?(yn(e,i?.[0],n[0]),yn(e,i?.[1],n[1],"important")):yn(e,i,n));return n}function Bn(e,t,n=!1){if(e.multiple){if(null==t)return;if(!i(t))return void console.warn("https://svelte.dev/e/select_multiple_invalid_value");for(var a of e.options)a.selected=t.includes(En(a))}else{for(a of e.options){if(Ie(En(a),t))return void(a.selected=!0)}n&&void 0===t||(e.selectedIndex=-1)}}function En(e){return"__value"in e?e.__value:e.value}const Sn=Symbol("class"),Fn=Symbol("style"),xn=Symbol("is custom element"),Dn=Symbol("is html"),Un=K?"link":"LINK",Vn=K?"input":"INPUT",_n=K?"option":"OPTION",Ln=K?"select":"SELECT",Pn=K?"progress":"PROGRESS";function Tn(e){if(oe){var t=!1,i=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var i=e.value;Gn(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var n=e.checked;Gn(e,"checked",null),e.checked=n}}};e[O]=i,ie(i),_t()}}function Hn(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function Gn(e,t,i,n){var a=On(e);oe&&(a[t]=e.getAttribute(t),"src"===t||"srcset"===t||"href"===t&&e.nodeName===Un)||a[t]!==(a[t]=i)&&("loading"===t&&(e[P]=i),null==i?e.removeAttribute(t):"string"!=typeof i&&Kn(e).includes(t)?e[t]=i:e.setAttribute(t,i))}function $n(e,t,i=[],n=[],a=[],r,o=!1,l=!1){At(a,i,n,i=>{var n=void 0,a={},r=e.nodeName===Ln,s=!1;if(wi(()=>{var c=t(...i.map(li)),h=function(e,t,i,n,a=!1){if(oe&&a&&e.nodeName===Vn){var r=e;("checkbox"===r.type?"defaultChecked":"defaultValue")in i||Tn(r)}var o=On(e),l=o[xn],s=!o[Dn];let c=oe&&l;c&&le(!1);var h=t||{},d=e.nodeName===_n;for(var A in t)A in i||(i[A]=null);i.class?i.class=Cn(i.class):i[Sn]&&(i.class=null),i[Fn]&&(i.style??=null);var f=Kn(e);for(const n in i){let a=i[n];if(d&&"value"===n&&null==a)e.value=e.__value="",h[n]=a;else if("class"!==n)if("style"!==n){var u=h[n];if(a!==u||void 0===a&&e.hasAttribute(n)){h[n]=a;var g=n[0]+n[1];if("$$"!==g)if("on"===g){const t={},i="$$"+n;let r=n.slice(2);var I=en(r);if(Zi(r)&&(r=r.slice(0,-7),t.capture=!0),!I&&u){if(null!=a)continue;e.removeEventListener(r,h[i],t),h[i]=null}if(I)Gi(r,e,a),$i([r]);else if(null!=a){let a=function(e){h[n].call(this,e)};h[i]=Ti(r,e,a,t)}}else if("style"===n)Gn(e,n,a);else if("autofocus"===n)Ut(e,Boolean(a));else if(l||"__value"!==n&&("value"!==n||null==a))if("selected"===n&&d)Hn(e,a);else{var p=n;s||(p=nn(p));var v="defaultValue"===p||"defaultChecked"===p;if(null!=a||l||v)v||f.includes(p)&&(l||"string"!=typeof a)?(e[p]=a,p in o&&(o[p]=z)):"function"!=typeof a&&Gn(e,p,a);else if(o[n]=null,"value"===p||"checked"===p){let i=e;const n=void 0===t;if("value"===p){let e=i.defaultValue;i.removeAttribute(p),i.defaultValue=e,i.value=i.__value=n?e:null}else{let e=i.defaultChecked;i.removeAttribute(p),i.defaultChecked=e,i.checked=!!n&&e}}else e.removeAttribute(n)}else e.value=e.__value=a}}else Qn(e,a,t?.[Fn],i[Fn]),h[n]=a,h[Fn]=i[Fn];else kn(e,"http://www.w3.org/1999/xhtml"===e.namespaceURI,a,0,t?.[Sn],i[Sn]),h[n]=a,h[Sn]=i[Sn]}return c&&le(!0),h}(e,n,c,0,o,l);s&&r&&"value"in c&&Bn(e,c.value);for(let e of Object.getOwnPropertySymbols(a))c[e]||Qi(a[e]);for(let t of Object.getOwnPropertySymbols(c)){var d=c[t];"@attach"!==t.description||n&&d===n[t]||(a[t]&&Qi(a[t]),a[t]=mi(()=>pn(e,()=>d))),h[t]=d}n=h}),r){var c=e;pi(()=>{Bn(c,n.value,!0),function(e){var t=new MutationObserver(()=>{Bn(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),ui(()=>{t.disconnect()})}(c)})}s=!0})}function On(e){return e[T]??={[xn]:e.nodeName.includes("-"),[Dn]:e.namespaceURI===Y}}var jn=new Map;function Kn(e){var t,i=e.getAttribute("is")||e.nodeName,n=jn.get(i);if(n)return n;jn.set(i,n=[]);for(var a=e,r=Element.prototype;r!==a;){for(var o in t=c(a))t[o].set&&"innerHTML"!==o&&"textContent"!==o&&"innerText"!==o&&n.push(o);a=A(a)}return n}function Nn(e,t,i=t){var n=new WeakSet;!function(e,t,i,n=i){e.addEventListener(t,()=>Lt(i));const a=e[O];e[O]=a?()=>{a(),n(!0)}:()=>n(!0),_t()}(e,"input",async a=>{var r=a?e.defaultValue:e.value;if(r=Mn(e)?Rn(r):r,i(r),null!==Re&&n.add(Re),await oi(),r!==(r=t())){var o=e.selectionStart,l=e.selectionEnd,s=e.value.length;if(e.value=r??"",null!==l){var c=e.value.length;o===l&&l===s&&c>s?(e.selectionStart=c,e.selectionEnd=c):(e.selectionStart=o,e.selectionEnd=Math.min(l,c))}}}),(oe&&e.defaultValue!==e.value||null==hi(t)&&e.value)&&(i(Mn(e)?Rn(e.value):e.value),null!==Re&&n.add(Re)),vi(()=>{var i=t();if(e===document.activeElement){var a=Re;if(n.has(a))return}Mn(e)&&i===Rn(e.value)||("date"!==e.type||i||e.value)&&i!==e.value&&(e.value=i??"")})}function Mn(e){var t=e.type;return"number"===t||"range"===t}function Rn(e){return""===e?null:+e}function Jn(e,t){return e===t||e?.[_]===t}function zn(e={},t,i,n){var a=q.r,r=jt;return pi(()=>{var n,o;return vi(()=>{n=o,o=[],hi(()=>{Jn(i(...o),e)||(t(e,...o),n&&Jn(i(...n),e)&&t(null,...n))})}),()=>{let n=r;for(;n!==a&&null!==n.parent&&n.parent.f&E;)n=n.parent;const l=n.teardown;n.teardown=()=>{o&&Jn(i(...o),e)&&t(null,...o),l?.()}}}),e}const Yn={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set:(e,t)=>!1,getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t))return t in e.props?{enumerable:!0,configurable:!0,value:e.props[t]}:void 0},has:(e,t)=>!e.exclude.includes(t)&&t in e.props,ownKeys:e=>Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))};function qn(e,t,i){return new Proxy({props:e,exclude:t},Yn)}function Xn(e,t,i,n){var a,r=n,o=!0,l=()=>(o&&(o=!1,r=n),r);void 0===e[t]&&void 0!==n&&l(),a=()=>{var i=e[t];return void 0===i?l():(o=!0,i)};var s=!1,c=gt(()=>(s=!1,a())),h=jt;return function(e,t){if(arguments.length>0){const i=t?li(c):e;return St(c,i),s=!0,void 0!==r&&(r=i),e}return Tt&&s||0!==(h.f&Q)?c.v:li(c)}}class Zn{#W;#ee;constructor(e){var t=new Map,i=(e,i)=>{var n=Et(i,!1,!1);return t.set(e,n),n};const n=new Proxy({...e.props||{},$$events:{}},{get:(e,n)=>li(t.get(n)??i(n,Reflect.get(e,n))),has:(e,n)=>n===L||(li(t.get(n)??i(n,Reflect.get(e,n))),Reflect.has(e,n)),set:(e,n,a)=>(St(t.get(n)??i(n,a),a),Reflect.set(e,n,a))});this.#ee=(e.hydrate?sn:ln)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),e?.props?.$$host&&!1!==e.sync||nt(),this.#W=n.$$events;for(const e of Object.keys(this.#ee))"$set"!==e&&"$destroy"!==e&&"$on"!==e&&l(this,e,{get(){return this.#ee[e]},set(t){this.#ee[e]=t},enumerable:!0});this.#ee.$set=e=>{Object.assign(n,e)},this.#ee.$destroy=()=>{!function(e,t){const i=dn.get(e);i?(dn.delete(e),i(t)):Promise.resolve()}(this.#ee)}}$set(e){this.#ee.$set(e)}$on(e,t){this.#W[e]=this.#W[e]||[];const i=(...e)=>t.call(this,...e);return this.#W[e].push(i),()=>{this.#W[e]=this.#W[e].filter(e=>e!==i)}}$destroy(){this.#ee.$destroy()}}let Wn=class{};function ea(e,t,i,n){const a=i[e]?.type;if(t="Boolean"===a&&"boolean"!=typeof t?null!=t:t,!n||!i[e])return t;if("toAttribute"===n)switch(a){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}function ta(e,t,i,n,a,r){let c=class extends Wn{constructor(){super(e,i,a),this.$$p_d=t}static get observedAttributes(){return o(t).map(e=>(t[e].attribute||e).toLowerCase())}};return o(t).forEach(e=>{l(c.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(i){i=ea(e,i,t),this.$$d[e]=i;var n=this.$$c;if(n){var a=s(n,e)?.get;a?n[e]=i:n.$set({[e]:i})}}})}),n.forEach(e=>{l(c.prototype,e,{get(){return this.$$c?.[e]}})}),e.element=c,c}"function"==typeof HTMLElement&&(Wn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,i){super(),this.$$ctor=e,this.$$s=t,i&&(this.$$shadowRoot=this.attachShadow(i))}addEventListener(e,t,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(e){return t=>{const i=Fe("slot");"default"!==e&&(i.name=e),Xi(t,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const i={},n=function(e){const t={};return e.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}(this);for(const e of this.$$s)e in n&&("default"!==e||this.$$d.children?i[e]=t(e):(this.$$d.children=t(e),i.default=!0));for(const e of this.attributes){const t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=ea(t,e.value,this.$$p_d,"toProp"))}for(const e in this.$$p_d)e in this.$$d||void 0===this[e]||(this.$$d[e]=this[e],delete this[e]);this.$$c=(e={component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:i,$$host:this}},new Zn(e)),this.$$me=function(e){it.ensure();const t=Ai(524352,e);return()=>{Qi(t)}}(()=>{vi(()=>{this.$$r=!0;for(const e of o(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];const t=ea(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(const e in this.$$l)for(const t of this.$$l[e]){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}this.$$l={}}var e}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ea(e,i,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return o(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});var ia=Ri('<div class="altcha-checkbox"><input/> <svg aria-hidden="true" width="12" height="9" viewBox="0 0 12 9"><polyline points="1 5 4 8 11 1"></polyline></svg> <div class="altcha-spinner altcha-checkbox-spinner" aria-hidden="true"></div></div>');function na(e,t){Z(t,!0);let i,n=Xn(t,"loading"),a=qn(t,["$$slots","$$events","$$legacy","$$host","loading"]);var r={get loading(){return n()},set loading(e){n(e),nt()}},o=ia(),l=Be(o);$n(l,()=>({type:"checkbox",...a}),void 0,void 0,void 0,0,!0),zn(l,e=>i=e,()=>i);var s=Se(l,2);return de(2),he(o),Ci(()=>Gn(o,"data-loading",n())),Gi("click",s,function(){i?.click()}),Xi(e,o),W(r)}$i(["click"]),ta(na,{loading:{}},[],[],{mode:"open"});var aa=Ri('<div class="altcha-checkbox-native"><input/> <div class="altcha-spinner altcha-checkbox-native-spinner"></div></div>');function ra(e,t){Z(t,!0);let i=Xn(t,"loading"),n=qn(t,["$$slots","$$events","$$legacy","$$host","loading"]);var a={get loading(){return i()},set loading(e){i(e),nt()}},r=aa();return $n(Be(r),()=>({type:"checkbox",...n}),void 0,void 0,void 0,0,!0),de(2),he(r),Ci(()=>Gn(r,"data-loading",i())),Xi(e,r),W(a)}ta(ra,{loading:{}},[],[],{mode:"open"});var oa=Ri('<div><a target="_blank" class="altcha-logo" aria-hidden="true" tabindex="-1"><svg width="22" height="22" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.33955 16.4279C5.88954 20.6586 12.1971 21.2105 16.4279 17.6604C18.4699 15.947 19.6548 13.5911 19.9352 11.1365L17.9886 10.4279C17.8738 12.5624 16.909 14.6459 15.1423 16.1284C11.7577 18.9684 6.71167 18.5269 3.87164 15.1423C1.03163 11.7577 1.4731 6.71166 4.8577 3.87164C8.24231 1.03162 13.2883 1.4731 16.1284 4.8577C16.9767 5.86872 17.5322 7.02798 17.804 8.2324L19.9522 9.01429C19.7622 7.07737 19.0059 5.17558 17.6604 3.57212C14.1104 -0.658624 7.80283 -1.21043 3.57212 2.33956C-0.658625 5.88958 -1.21046 12.1971 2.33955 16.4279Z" fill="currentColor"></path><path d="M3.57212 2.33956C1.65755 3.94607 0.496389 6.11731 0.12782 8.40523L2.04639 9.13961C2.26047 7.15832 3.21057 5.25375 4.8577 3.87164C8.24231 1.03162 13.2883 1.4731 16.1284 4.8577L13.8302 6.78606L19.9633 9.13364C19.7929 7.15555 19.0335 5.20847 17.6604 3.57212C14.1104 -0.658624 7.80283 -1.21043 3.57212 2.33956Z" fill="currentColor"></path><path d="M7 10H5C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10H13C13 11.6569 11.6569 13 10 13C8.3431 13 7 11.6569 7 10Z" fill="currentColor"></path></svg></a></div>');function la(e,t){Z(t,!0);let i=Xn(t,"strings");var n={get strings(){return i()},set strings(e){i(e),nt()}},a=oa(),r=Be(a);return Gn(r,"href","https://altcha.org"),he(a),Ci(()=>Gn(r,"aria-label",i().ariaLinkLabel)),Xi(e,a),W(n)}ta(la,{strings:{}},[],[],{mode:"open"});var sa=Ri('<div class="altcha-footer"><p></p> <!></div>');function ca(e,t){Z(t,!0);let i=Xn(t,"logo"),n=Xn(t,"strings");var a={get logo(){return i()},set logo(e){i(e),nt()},get strings(){return n()},set strings(e){n(e),nt()}},r=sa(),o=Be(r);In(o,()=>n().footer,!0),he(o);var l=Se(o,2),s=e=>{la(e,{get strings(){return n()}})};return un(l,e=>{i()&&e(s)}),he(r),Xi(e,r),W(a)}ta(ca,{logo:{},strings:{}},[],[],{mode:"open"});var ha=Ri('<div class="altcha-switch"><input/>  <div class="altcha-switch-toggle"><div class="altcha-spinner altcha-switch-spinner"></div></div></div>');function da(e,t){Z(t,!0);let i,n=Xn(t,"loading"),a=qn(t,["$$slots","$$events","$$legacy","$$host","loading"]);var r={get loading(){return n()},set loading(e){n(e),nt()}},o=ha(),l=Be(o);$n(l,()=>({type:"checkbox",...a}),void 0,void 0,void 0,0,!0),zn(l,e=>i=e,()=>i);var s=Se(l,2);return he(o),Ci(()=>Gn(o,"data-loading",n())),Gi("click",s,function(){i?.click()}),Xi(e,o),W(r)}$i(["click"]),ta(da,{loading:{}},[],[],{mode:"open"});var Aa=(e=>(e.ERROR="error",e.LOADING="loading",e.PLAYING="playing",e.PAUSED="paused",e.READY="ready",e))(Aa||{}),fa=(e=>(e.CODE="code",e.ERROR="error",e.VERIFIED="verified",e.VERIFYING="verifying",e.UNVERIFIED="unverified",e.EXPIRED="expired",e))(fa||{}),ua=Ri('<div class="altcha-code-challenge-title"> </div>'),ga=Ri('<div class="altcha-spinner"></div>'),Ia=zi('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z"></path></svg>'),pa=zi('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 7C15 6.44772 15.4477 6 16 6C16.5523 6 17 6.44772 17 7V17C17 17.5523 16.5523 18 16 18C15.4477 18 15 17.5523 15 17V7ZM7 7C7 6.44772 7.44772 6 8 6C8.55228 6 9 6.44772 9 7V17C9 17.5523 8.55228 18 8 18C7.44772 18 7 17.5523 7 17V7Z"></path></svg>'),va=zi('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 12H7C8.10457 12 9 12.8954 9 14V19C9 20.1046 8.10457 21 7 21H4C2.89543 21 2 20.1046 2 19V12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12V19C22 20.1046 21.1046 21 20 21H17C15.8954 21 15 20.1046 15 19V14C15 12.8954 15.8954 12 17 12H20C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12Z"></path></svg>'),Ca=Ri('<button type="button" class="altcha-button altcha-button-secondary"><!></button>
1'),ba=Ri('<audio hidden="" autoplay=""></audio>'),wa=Ri('<div class="altcha-code-challenge"><form data-code-challenge="true"><!> <div class="altcha-code-challenge-text"> </div> <img class="altcha-code-challenge-image" alt=""/> <div class="altcha-code-challenge-row"><input type="text" class="altcha-input" autocomplete="off" name="" required=""/> <!> <button type="button" class="altcha-button altcha-button-secondary"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2V4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 9.25022 5.38734 6.82447 7.50024 5.38451L7.5 8H9.5V2L3.5 2V4L5.99918 3.99989C3.57075 5.82434 2 8.72873 2 12Z"></path></svg></button></div> <div class="altcha-code-challenge-buttons"><button type="submit" class="altcha-button"> </button> <button type="button" class="altcha-button altcha-button-secondary"> </button></div></form> <!></div>');function ma(e,t){Z(t,!0);let i=Xn(t,"audioUrl"),n=Xn(t,"codeChallenge"),a=Xn(t,"config"),r=Xn(t,"imageUrl"),o=Xn(t,"onCancel"),l=Xn(t,"onReload"),s=Xn(t,"onSubmit"),c=Xn(t,"strings"),h=Bt(void 0),d=Bt(void 0),A=Bt(void 0),f=Bt(!1),u=Bt(""),g=Bt(!1);function I(){St(h,Aa.PAUSED,!0)}function p(e){St(h,Aa.ERROR,!0)}function v(){St(h,Aa.READY,!0)}function C(){St(h,Aa.LOADING,!0)}function b(){St(h,Aa.PLAYING,!0)}function w(){St(h,Aa.PAUSED,!0)}function m(){li(d)?li(h)===Aa.LOADING||(li(d).paused?(i()&&li(d).src!==i()&&(li(d).src=i()),li(d).currentTime=0,li(d).play()):li(d).pause()):(St(g,!0),requestAnimationFrame(()=>{li(d)&&i()&&(li(d).src=i(),li(d).play())}))}fn(()=>(a().disableAutoFocus||oi().then(()=>{li(A)?.focus()}),()=>{li(d)&&(li(d).pause(),St(d,void 0))}));var k={get audioUrl(){return i()},set audioUrl(e){i(e),nt()},get codeChallenge(){return n()},set codeChallenge(e){n(e),nt()},get config(){return a()},set config(e){a(e),nt()},get imageUrl(){return r()},set imageUrl(e){r(e),nt()},get onCancel(){return o()},set onCancel(e){o(e),nt()},get onReload(){return l()},set onReload(e){l(e),nt()},get onSubmit(){return s()},set onSubmit(e){s(e),nt()},get strings(){return c()},set strings(e){c(e),nt()}},y=wa(),Q=Be(y),B=Be(Q),E=e=>{var t=ua(),i=Be(t,!0);he(t),Ci(()=>on(i,c().verificationRequired)),Xi(e,t)};un(B,e=>{"standard"!==a().codeChallengeDisplay&&e(E)});var S=Se(B,2),F=Be(S,!0);he(S);var x=Se(S,2),D=Se(x,2),U=Be(D);Tn(U),U.disabled=li(f),zn(U,e=>St(A,e),()=>li(A));var V=Se(U,2),_=e=>{var t=Ca(),i=Be(t),n=e=>{Xi(e,ga())},a=e=>{Xi(e,Ia())},r=e=>{Xi(e,pa())},o=e=>{Xi(e,va())};un(i,e=>{li(h)===Aa.LOADING?e(n):li(h)===Aa.ERROR?e(a,1):li(h)===Aa.PLAYING?e(r,2):e(o,-1)}),he(t),Ci(()=>{Gn(t,"title",c().getAudioChallenge),t.disabled=li(h)===Aa.LOADING||li(h)===Aa.ERROR,Gn(t,"aria-label",li(h)===Aa.LOADING?c().loading:c().getAudioChallenge)}),Hi("click",t,()=>m(),!0),Xi(e,t)};un(V,e=>{n().audio&&e(_)});var L=Se(V,2);he(D);var P=Se(D,2),T=Be(P),H=Be(T,!0);he(T);var G=Se(T,2),$=Be(G,!0);he(G),he(P),he(Q);var O=Se(Q,2),j=e=>{var t=ba();zn(t,e=>St(d,e),()=>li(d)),Hi("error",t,p),Hi("loadstart",t,C),Hi("canplay",t,v),Hi("pause",t,w),Hi("playing",t,b),Hi("ended",t,I),Xi(e,t)};return un(O,e=>{li(g)&&e(j)}),he(y),Ci(()=>{on(F,c().enterCodeFromImage),Gn(x,"src",r()),Gn(U,"minlength",n().length||1),Gn(U,"maxlength",n().length),Gn(U,"placeholder",c().enterCode),Gn(U,"aria-label",li(h)===Aa.LOADING?c().loading:li(h)===Aa.PLAYING?"":c().enterCodeAria),Gn(U,"aria-live",li(h)?"assertive":"polite"),Gn(U,"aria-busy",li(h)===Aa.LOADING),Gn(L,"title",c().reload),Gn(L,"aria-label",c().reload),Gn(T,"aria-label",c().verify),on(H,c().verify),Gn(G,"aria-label",c().cancel),on($,c().cancel)}),Hi("submit",Q,function(e){e.preventDefault(),e.stopPropagation(),s()?.(li(u))},!0),Gi("keydown",U,function(e){"Space"===e.code?(e.preventDefault(),e.stopPropagation(),m()):"Escape"===e.code&&(e.preventDefault(),e.stopPropagation(),o()?.())}),Nn(U,()=>li(u),e=>St(u,e)),Hi("click",L,()=>l()?.(),!0),Hi("click",G,()=>o()?.(),!0),Xi(e,y),W(k)}$i(["keydown"]),ta(ma,{audioUrl:{},codeChallenge:{},config:{},imageUrl:{},onCancel:{},onReload:{},onSubmit:{},strings:{}},[],[],{mode:"open"});var ka=Ri('<div class="altcha-popover-backdrop" data-backdrop=""></div>'),ya=Ri('<div class="altcha-popover-arrow"></div>'),Qa=Ri('<div role="button" class="altcha-popover-close">&times;</div>'),Ba=Ri('<!> <div><!> <!> <div class="altcha-popover-content"><!></div></div>',1);function Ea(e,t){Z(t,!0);let i=Xn(t,"anchor"),n=Xn(t,"children"),a=Xn(t,"display",0,"standard"),r=Xn(t,"backdrop",0,!1),o=Xn(t,"onClickOutside"),l=Xn(t,"onClickOutsideDelay",0,600),s=Xn(t,"onClose"),c=Xn(t,"placement",0,"auto"),h=Xn(t,"updateUISignal"),d=Xn(t,"variant",0,"neutral"),A=qn(t,["$$slots","$$events","$$legacy","$$host","anchor","children","display","backdrop","onClickOutside","onClickOutsideDelay","onClose","placement","updateUISignal","variant"]),f=Bt(void 0),g=Bt(void 0),I=Bt(!1),p=Bt(0);function v(){s()?.()}function C(){if(i()&&"auto"===c()&&li(f)){const e=i().getBoundingClientRect(),t=document.documentElement.clientHeight-(e.top+e.height)<li(f).clientHeight;li(I)!==t&&St(I,t)}}gi(()=>{"auto"!==c()&&St(I,"top"===c())}),gi(()=>{h()&&C()}),fn(()=>{const e="bottomsheet"===a()||"overlay"===a();return e&&(li(g)&&document.body.append(li(g)),li(f)&&document.body.append(li(f))),C(),oi().then(()=>{St(p,Date.now(),!0)}),()=>{e&&(li(g)&&document.body.removeChild(li(g)),li(f)&&document.body.removeChild(li(f)))}});var b={get anchor(){return i()},set anchor(e){i(e),nt()},get children(){return n()},set children(e){n(e),nt()},get display(){return a()},set display(e="standard"){a(e),nt()},get backdrop(){return r()},set backdrop(e=!1){r(e),nt()},get onClickOutside(){return o()},set onClickOutside(e){o(e),nt()},get onClickOutsideDelay(){return l()},set onClickOutsideDelay(e=600){l(e),nt()},get onClose(){return s()},set onClose(e){s(e),nt()},get placement(){return c()},set placement(e="auto"){c(e),nt()},get updateUISignal(){return h()},set updateUISignal(e){h(e),nt()},get variant(){return d()},set variant(e="neutral"){d(e),nt()}},w=Ba();Hi("click",pe,function(e){const t=e.target;
vendor: 11,988 bytes, line 1
1li(f)?.contains(t)||l()&&!(li(p)+l()<Date.now())||o()?.()},!0),Hi("resize",pe,function(){C()}),Hi("scroll",pe,function(){C()});var m=Ee(w),k=e=>{var t=ka();zn(t,e=>St(g,e),()=>li(g)),Xi(e,t)};un(m,e=>{r()&&e(k)});var y=Se(m,2);$n(y,()=>({...A,class:`altcha-popover ${(t.class||"")??""}`,"data-popover":!0,"data-variant":d(),"data-top":li(I),"data-display":a()}));var Q=Be(y),B=e=>{Xi(e,ya())};un(Q,e=>{"standard"===a()&&e(B)});var E=Se(Q,2),F=e=>{var t=Qa();Hi("click",t,v,!0),Xi(e,t)};un(E,e=>{"standard"!==a()&&e(F)});var x=Se(E,2);return function(e,t,...i){var n=new An(e);bi(()=>{const e=t()??null;n.ensure(e,e&&(t=>e(t,...i)))},S)}(Be(x),()=>n()??u),he(x),he(y),zn(y,e=>St(f,e),()=>li(f)),Xi(e,w),W(b)}async function Sa(e){const{challenge:t,concurrency:i=navigator.hardwareConcurrency,controller:n=new AbortController,createWorker:a,onOutOfMemory:r=e=>e>1?Math.floor(e/2):0,counterMode:o,timeout:l=9e4}=e,s=Math.min(16,Math.max(1,i)),c=[],h=()=>{for(const e of c)e.terminate()};for(let e=0;e<s;e++)c.push(await a(t.parameters.algorithm));let d=null;try{d=await Promise.race(c.map((e,i)=>(n.signal.addEventListener("abort",()=>{e.postMessage({type:"abort"})}),new Promise((n,a)=>{e.addEventListener("error",e=>{a(e)}),e.addEventListener("message",t=>{if(t.data){for(const t of c)t!==e&&t.postMessage({type:"abort"});if(t.data.error)return a(new Error(t.data.error))}n(t.data)}),e.postMessage({challenge:t,counterMode:o,counterStart:i,counterStep:s,timeout:l,type:"work"})}))))}catch(i){if(i instanceof Error&&!!i?.message?.includes("Out of memory")&&r){h();const i=r(s);if(i)return Sa({...e,challenge:t,controller:n,concurrency:i,createWorker:a})}throw i}finally{h()}return n.signal.aborted?null:d||null}ta(Ea,{anchor:{},children:{},display:{},backdrop:{},onClickOutside:{},onClickOutsideDelay:{},onClose:{},placement:{},updateUISignal:{},variant:{}},[],[],{mode:"open"});class Fa{TAG_CODES={INPUT:1,TEXTAREA:2,SELECT:3,BUTTON:4,A:5,DETAILS:6,SUMMARY:7,IFRAME:8,VIDEO:9,AUDIO:10};maxSamples;sampleInterval;target;focusStartTime=0;focusInteraction=0;focusInteractionTimer=null;lastPointerSample=0;lastTouchSample=0;lastScrollSample=0;pendingPointer=null;pendingTouch=null;focus=[];pointer=[];scroll=[];touch=[];constructor(e={}){const{maxSamples:t=60,sampleInterval:i=50,target:n=window}=e;this.maxSamples=t,this.sampleInterval=i,this.target=n,this.attach()}destroy(){const e={capture:!0};this.target.removeEventListener("focusin",this.onFocus,e),this.target.removeEventListener("keydown",this.onInteraction,e),this.target.removeEventListener("pointerdown",this.onInteraction,e),this.target.removeEventListener("pointermove",this.onPointer,e),this.target.removeEventListener("scroll",this.onScroll,e),this.target.removeEventListener("touchmove",this.onTouchMove,e)}export(){return{focus:this.focus,maxTouchPoints:navigator.maxTouchPoints||0,pointer:this.pointer,scroll:this.scroll,time:Date.now(),touch:this.touch}}attach(){const e={passive:!0,capture:!0};this.target.addEventListener("focusin",this.onFocus,e),this.target.addEventListener("keydown",this.onInteraction,e),this.target.addEventListener("pointerdown",this.onInteraction,e),this.target.addEventListener("pointermove",this.onPointer,e),this.target.addEventListener("scroll",this.onScroll,e),this.target.addEventListener("touchmove",this.onTouchMove,e)}evict(e){e.length>this.maxSamples&&e.splice(0,e.length-this.maxSamples)}onFocus=e=>{if(2===this.focusInteraction)return;const t=e.target;if(!(t instanceof Element))return;const i=performance.now();0===this.focusStartTime&&(this.focusStartTime=i),this.focus.push([Math.round(i-this.focusStartTime),t.tabIndex,this.TAG_CODES[t.tagName]??0,this.focusInteraction?1:0]),this.evict(this.focus)};onInteraction=e=>{this.focusInteraction="keyCode"in e?1:2,this.focusInteractionTimer&&clearTimeout(this.focusInteractionTimer),this.focusInteractionTimer=setTimeout(()=>{this.focusInteraction=0},100)};onPointer=e=>{if("touch"===e.pointerType)return;const t=e.timeStamp||performance.now();this.pendingPointer=[Math.round(e.clientX),Math.round(e.clientY),Math.round(t)],t-this.lastPointerSample>=this.sampleInterval&&(this.pointer.push(this.pendingPointer),this.lastPointerSample=t,this.pendingPointer=null,this.evict(this.pointer))};onScroll=()=>{const e=performance.now();e-this.lastScrollSample<this.sampleInterval||(this.scroll.push([Math.round(window.scrollY),Math.round(e)]),this.lastScrollSample=e,this.evict(this.scroll))};onTouchMove=e=>{const t=e.timeStamp||performance.now(),i=e.touches[0];i&&(this.pendingTouch=[Math.round(i.clientX),Math.round(i.clientY),Math.round(t),Math.round(1e3*i.force)/1e3,Math.round(i.radiusX||0),Math.round(i.radiusY||0)],t-this.lastTouchSample>=this.sampleInterval&&(this.touch.push(this.pendingTouch),this.lastTouchSample=t,this.pendingTouch=null,this.evict(this.touch)))}}var xa=Ri('<div class="altcha-overlay-backdrop" data-backdrop=""></div>'),Da=Ri('<div class="altcha-overlay-content"></div>'),Ua=Ri('<div role="button" class="altcha-overlay-close">&times;</div> <!>',1),Va=Ri('<div class="altcha-floating-arrow"></div>'),_a=Ri('<input type="hidden"/>'),La=Ri('<div class="altcha-error">Secure context (HTTPS) required.</div>'),Pa=Ri('<div class="altcha-error"> </div>'),Ta=Ri('<div class="altcha-error"> </div>'),Ha=Ri("<!> <!>",1),Ga=Ri('<!> <div class="altcha"><!> <div class="altcha-main"><div><div class="altcha-checkbox-wrap"><!> <label><!></label></div> <!></div> <!> <!> <!></div> <!></div>',1);"undefined"!=typeof window&&window.customElements&&!customElements.get("altcha-widget")&&customElements.define("altcha-widget",ta(function(e,t){Z(t,!0);const[i,n]=function(){const e={};return[e,function(){ui(()=>{for(var t in e)e[t].unsubscribe();l(e,je,{enumerable:!1,value:!0})})}]}(),a=["ar","fa","he","ur"],{isSecureContext:r}=globalThis,{store:o}=globalThis.$altcha.defaults,s=navigator.hardwareConcurrency||2,c=navigator.deviceMemory||0,h=c&&c<=4?Math.min(4,s):s,d=globalThis.$altcha.i18n.store,A=t.$$host,f=(e,t)=>{oi().then(()=>{A?.dispatchEvent(new CustomEvent(e,{detail:t}))})};let u=null,g=Bt(ue(new URL(location.origin))),I=Bt(!1),p=Bt(null),v=Bt(null),C=Bt(null),b=Bt(ue(fa.UNVERIFIED)),w=Bt(void 0),m=Bt(void 0),k=Bt(null),y=Bt(void 0),Q=Bt(null),B=Bt(null),E=Bt(null),F=Bt(null),x=Bt(ue([])),D=Bt(0),U=Bt(ue({})),V=Bt(!0);const _=vt(()=>({fetch:(e,t)=>fetch(e,t),audioChallengeLanguage:"",auto:"off",barPlacement:"bottom",challenge:"",codeChallenge:null,codeChallengeDisplay:"standard",credentials:null,debug:!1,disableAutoFocus:!1,display:"standard",floatingAnchor:"",floatingOffset:8,floatingPersist:!1,floatingPlacement:"auto",hideFooter:!1,hideLogo:!1,humanInteractionSignature:!0,language:"",mockError:!1,minDuration:500,overlayContent:"",name:"altcha",popoverPlacement:"auto",retryOnOutOfMemoryError:!0,setCookie:null,serverVerificationFields:!1,serverVerificationTimeZone:!1,test:!1,timeout:9e4,type:"checkbox",validationMessage:"",verifyFunction:null,verifyUrl:"",workers:h,...Ke(o,"$altchaDefaults",i),...li(U)})),L=vt(()=>`altcha-checkbox-${t.id||Math.floor(1e12*Math.random()).toString(16)}`),P=vt(()=>function(e){switch(e){case"checkbox":return na;case"switch":return da;default:return ra}}(li(_).type)),T=vt(()=>li(_).auto),H=vt(()=>li(b)===fa.VERIFYING),G=vt(()=>!li(_).hideFooter),$=vt(()=>!li(_).hideLogo&&"bar"!==li(_).display),O=vt(()=>function(e,t){const i=Object.keys(e).map(e=>e.toLowerCase());let n=t.reduce((t,n)=>(n=n.toLowerCase(),t||(e[n]?n:null)||i.find(e=>n.split("-")[0]===e.split("-")[0])||null),null);e[n||""]||(n="en");return{language:n,strings:e[n]}}(Ke(d,"$altchaI18nStore",i),[li(_).language,document.documentElement.lang,...navigator.languages])),j=vt(()=>a.includes(li(O).language)?"rtl":void 0),K=vt(()=>({...li(O).strings})),N=vt(()=>li(p)?.audio?.match(/^(https?:)?\//)?X(li(p).audio,li(g),{language:li(_).audioChallengeLanguage||li(O).language}).toString():li(p)?.audio),M=vt(()=>li(p)?.image?.match(/^(https?:)?\//)?X(li(p).image,li(g)):li(p)?.image);async function R(e,...t){let i;for(const n of li(x))i=await n[e].call(n,...t);return i}async function J(e){await new Promise(t=>setTimeout(t,e))}async function z(e=li(_).challenge,t){const i=await R("onFetchChallenge",e);let n=null;if(void 0!==i)return i;if("string"==typeof e)if(e.startsWith("{")){ke("parsing JSON challenge");try{n=JSON.parse(e)}catch{throw new Error("Unable to parse JSON challenge.")}}else{ke("fetching challenge from",t?.method||"GET",e),St(g,new URL(e,location.origin),!0);const i=await li(_).fetch(e,{credentials:li(_).credentials||void 0,...t});await Ce(i);const a=i.headers.get("x-altcha-config");a&&function(e){try{const t=JSON.parse(e);t&&"object"==typeof t&&we({serverVerificationFields:t?.sentinel?.fields,serverVerificationTimeZone:t?.sentinel?.timeZone,verifyUrl:t.verifyurl,...t})}catch(e){ke("unable to configure from x-altcha-config header",e)}}(a);const r=await i.json();if(r&&"his"in r&&r.his){if(ke("requested HIS"),!u)throw new Error("Server requested HIS data but collector is disabled.");return z(X(r.his.url,li(g)),{body:JSON.stringify({his:u.export()}),headers:{"content-type":"application/json"},method:"POST"})}r&&"hisResult"in r&&r.hisResult&&ke("HIS result",r.hisResult),n=r}else if(e&&"object"==typeof e)try{n=JSON.parse(JSON.stringify(e))}catch{throw new Error("Unable to parse JSON challenge.")}if(function(e){return"object"==typeof e&&"challenge"in e}(n)&&(n=function(e){const[t,i]=e.salt.split("?"),n={};if(i)try{Object.assign(n,Object.fromEntries(new URLSearchParams(i).entries()))}catch{}const a={codeChallenge:e.codeChallenge,parameters:{algorithm:e.algorithm,cost:1,data:n,expiresAt:n?.expires?parseInt(n.expires,10):void 0,keyLength:"SHA-512"===e.algorithm?64:"SHA-384"===e.algorithm?48:32,nonce:(r=(new TextEncoder).encode(e.salt),Array.from(new Uint8Array(r)).map(e=>e.toString(16).padStart(2,"0")).join("")),keyPrefix:e.challenge,salt:""},signature:e.signature};var r;return Object.defineProperties(a,{_originalSalt:{enumerable:!1,value:e.salt,writable:!1},_version:{enumerable:!1,value:1,writable:!1}}),a}(n)),!function(e){return!!e&&"object"==typeof e&&"parameters"in e&&!!e.parameters&&"object"==typeof e.parameters&&"algorithm"in e.parameters&&"nonce"in e.parameters&&"salt"in e.parameters&&"keyPrefix"in e.parameters}(n))throw new Error("Challenge validation failed.");return n}function Y(){return document.getElementById(li(L))}function q(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function X(e,t,i){const n=new URL(e,t);if(n.search||(n.search=t.search),i)for(const e in i)void 0!==i[e]&&null!==i[e]&&n.searchParams.set(e,i[e]);return n.toString()}function ee(e){!li(I)&&e.currentTarget.checked?(e.preventDefault(),e.currentTarget.checked=!1,li(b)!==fa.VERIFYING&&De()):e.currentTarget.checked||(e.preventDefault(),ye())}function te(e){li(b)===fa.VERIFYING?e.currentTarget.setCustomValidity(li(K).waitAlert):li(_).validationMessage&&e.currentTarget.setCustomValidity(li(_).validationMessage)}function ie(){Ie(li(_).display),ye()}function ne(e){"onfocus"===li(T)&&li(b)===fa.UNVERIFIED&&De()}function ae(){Ie(li(_).display),ye()}function de(e){const t=e.target;"true"!==t?.getAttribute("data-code-challenge")&&"onsubmit"===li(T)&&li(b)===fa.UNVERIFIED&&(e.preventDefault(),e.stopPropagation(),St(Q,e.submitter,!0),Fe(),De().then(e=>{e&&!li(p)&&oi().then(()=>{ge(li(Q))})}))}function ge(e){li(k)&&"requestSubmit"in li(k)?li(k).requestSubmit(e):li(k)?.reportValidity()&&(e?e.click():li(k).submit())}function Ie(e){switch(e){case"bar":case"floating":case"overlay":me(),li(T)&&"off"!==li(T)||(li(U).auto="onsubmit");break;case"standard":Fe()}li(C)!==e&&St(C,e,!0)}async function Ce(e){if(e.status>=400){if(e.headers.get("content-type")?.includes("/json")){let t;try{t=await e.json()}catch{}if(t&&"error"in t)throw new Error(`Server responded with ${e.status} - ${t.error}`)}throw new Error(`Server responded with ${e.status}.`)}const t=e.headers.get("content-type");if(!t||!t.includes("/json"))throw new Error(`Server responded with invali
1d content-type. Expected application/json, received ${t}.`)}async function be(e){if(!li(F))return void Qe(fa.ERROR,"Cannot verify code challenge without PoW payload.");Qe(fa.VERIFYING);let t=null;if(li(_).verifyUrl)t=await async function(e,t){const i=await R("onRequestServerVerification",e,t);if(void 0!==i)return i;if(ke("requesting server verification from",li(_).verifyUrl),!li(_).verifyUrl)throw new Error("Parameter verifyUrl must be set for server verification.");const n=await li(_).fetch(X(li(_).verifyUrl,li(g)),{body:JSON.stringify({code:t,fields:li(_).serverVerificationFields?[...li(k)?.querySelectorAll('input[type="text"]:not([data-no-spamfilter]), textarea:not([data-no-spamfilter])')||[]].reduce((e,t)=>{const i=t.name,n=t.value;return i&&n&&(e[i]=/\n/.test(n)?n.replace(new RegExp("(?<!\\r)\\n","g"),"\r\n"):n),e},{}):void 0,payload:e,timeZone:li(_).serverVerificationTimeZone?q():void 0}),credentials:li(_).credentials||void 0,headers:{"Content-Type":"application/json"},method:"POST"});await Ce(n);const a=await n.json();return a&&"object"==typeof a&&"payload"in a&&a.payload&&f("serververification",a),a}(li(F),e);else{if(!li(_).verifyFunction)return void Qe(fa.ERROR,"Parameter verifyUrl is required for code challenge verification.");t=await li(_).verifyFunction(li(F),e)}t?.payload&&(St(F,t.payload,!0),ke("server payload",li(F))),!0===t?.verified?(ke("verified"),Qe(fa.VERIFIED),f("verified",{payload:li(F)}),"onsubmit"===li(T)&&oi().then(()=>{ge(li(Q))})):Qe(fa.ERROR,t?.reason||"Verification failed."),li(_).disableAutoFocus||Y()?.focus()}function we(e){Object.assign(li(U),{...Object.fromEntries(Object.entries(e).filter(([e,t])=>void 0!==t))})}function me(){St(V,!1)}function ke(...e){(li(_).debug||e.some(e=>e instanceof Error))&&console[e[0]instanceof Error?"error":"log"]("ALTCHA",`[name=${li(_).name}]`,...e)}function ye(e=fa.UNVERIFIED,t=null){St(I,!1),St(B,t,!0),St(F,null),li(v)&&li(v).abort(),li(E)&&(clearTimeout(li(E)),St(E,null)),Qe(e)}function Qe(e,t=null){St(b,e,!0),St(B,t,!0),f("statechange",{payload:li(F),state:li(b)})}function Fe(){St(V,!0),oi().then(()=>{xe()})}function xe(){if("floating"===li(_).display)return function(e=20){if(!li(y))return;const t=li(_).floatingPlacement;if(!li(m)&&(St(m,(li(_).floatingAnchor instanceof HTMLElement?li(_).floatingAnchor:li(_).floatingAnchor?document.querySelector(li(_).floatingAnchor):li(k)?.querySelector('input[type="submit"], button[type="submit"], button:not([type="button"]):not([type="reset"])'))||li(k),!0),!li(m)))return void ke("unable to find floating anchor element");const i=parseInt(li(_).floatingOffset,10)||12,n=li(m).getBoundingClientRect(),a=li(y).getBoundingClientRect(),r=document.documentElement.clientHeight,o=document.documentElement.clientWidth,l=t&&"auto"!==t?"top"===t:n.bottom+a.height+i+e>r,s=Math.max(e,Math.min(o-e-a.width,n.left+n.width/2-a.width/2));if(li(y).style.setProperty("--altcha-floating-left",`${s}px`),li(y).style.setProperty("--altcha-floating-top",l?n.top-(a.height+i)+"px":`${n.bottom+i}px`),li(y).setAttribute("data-floating-position",l?"top":"bottom"),li(w)){const e=li(w).getBoundingClientRect();li(w).style.left=n.left-s+n.width/2-e.width/2+"px"}}();St(D,li(D)+1)}async function De(e={}){const{concurrency:t=Math.max(1,li(_).workers),controller:i=new AbortController,minDuration:n=li(_).minDuration}=e,a=performance.now();let o=null,l=null,s=!1;const c=await R("onVerify",e);if(void 0!==c)return c;ye(fa.VERIFYING),St(v,i,!0);try{if(!r)throw new Error("Secure context (HTTPS) required.");if(li(_).mockError)throw new Error("Mock error.");if(li(_).test)return ke("running test mode with null challenge"),await J(Math.max(0,n-(performance.now()-a))),li(v)?.signal.aborted?(ye(),null):(St(F,btoa(JSON.stringify({challenge:null,solution:null,test:!0})),!0),ke("verified"),Qe(fa.VERIFIED),f("verified",{payload:li(F)}),{payload:li(F)});if(o=await z(),!o)throw new Error("Failed to fetch challenge.");ke("challenge",o),"configuration"in o&&(ke("re-configuring from challenge",o.configuration),we(o.configuration)),o.parameters.expiresAt&&function(e){li(E)&&clearTimeout(li(E));const t=()=>{li(b)!==fa.UNVERIFIED?(St(I,!1),Qe(fa.EXPIRED)):ye(),f("expired")},i=1e3*e-Date.now();i>=1?St(E,setTimeout(t,i),!0):t()}(o.parameters.expiresAt),s="_version"in o&&1===o._version;const e=globalThis.$altcha.algorithms.get(o.parameters.algorithm);if(!e)throw new Error(`Unsupported algorithm ${o.parameters.algorithm}.`);
vendor: 6,044 bytes, line 1
1if(l=await Sa({challenge:o,concurrency:t,controller:i,createWorker:e,counterMode:s?"string":"uint32",onOutOfMemory:e=>{if(ke("out of memory error received"),f("outofmemory"),li(_).retryOnOutOfMemoryError&&e>1){const t=Math.floor(e/2);return ke(`retrying with ${t} workers...`),t}},timeout:li(_).timeout}),li(v)?.signal.aborted)return ye(),null;if(!l)throw new Error("Failed to find solution.");ke("solution",l),await J(Math.max(0,n-(performance.now()-a))),St(p,o.codeChallenge||li(_).codeChallenge||null,!0),St(F,s?btoa(JSON.stringify(function(e,t){return{algorithm:e.parameters.algorithm,challenge:e.parameters.keyPrefix,number:t.counter,salt:"_originalSalt"in e?e._originalSalt:e.parameters.nonce,signature:e.signature,took:t.time||0}}(o,l))):btoa(JSON.stringify({challenge:{parameters:o.parameters,signature:o.signature},solution:l})),!0),li(p)?(ke("requesting code verification"),Qe(fa.CODE),f("codechallenge",{codeChallenge:li(p)})):li(_).verifyUrl?await be():(ke("verified"),Qe(fa.VERIFIED),f("verified",{payload:li(F)}))}catch(e){return ke("verification failed",e),Qe(fa.ERROR,String(e)),null}finally{St(v,null)}return{challenge:o,payload:li(F),solution:l}}gi(()=>{we({auto:t.auto,challenge:t.challenge,display:t.display,language:t.language,name:t.name,type:t.type,workers:t.workers})}),gi(()=>{if(t.configuration)try{we(JSON.parse(t.configuration))}catch{ke("unable to parse the `configuration` attribute (JSON expected)")}}),gi(()=>{li(C)!==li(_).display&&Ie(li(_).display)}),gi(()=>{li(I)&&li(b)===fa.VERIFYING&&St(I,!1)}),gi(()=>{li(I)||li(b)!==fa.VERIFIED||St(I,!0)}),gi(()=>{if(!li(I)){const e=Y();e&&e.checked&&(e.checked=!1)}}),gi(()=>{li(b)===fa.VERIFIED&&Y()?.setCustomValidity("")}),gi(()=>{if("onload"===li(T)){const e=setTimeout(()=>{De()},1);return()=>{e&&clearTimeout(e)}}}),gi(()=>{li(B)&&ke("error:",li(B))}),gi(()=>{li(F)&&li(_).setCookie&&function(e,t={}){const{domain:i,name:n=li(_).name,maxAge:a,path:r,sameSite:o,secure:l}=t;let s=`${encodeURIComponent(n)}=${encodeURIComponent(e)}`;i&&(s+=`; Domain=${i}`);null!=a&&(s+=`; Max-Age=${a}`);r&&(s+=`; Path=${r}`);o&&(s+=`; SameSite=${o}`);l&&(s+="; Secure");document.cookie=s}(li(F),li(_).setCookie)}),fn(()=>(ke("mounted","3.2.0"),A&&globalThis.$altcha.instances.add(A),St(k,li(y)?.closest("form"),!0),li(k)?.addEventListener("reset",ae),li(k)?.addEventListener("submit",de,{capture:!0}),li(k)?.addEventListener("focusin",ne),function(){St(x,[...globalThis.$altcha.plugins].map(e=>new e(A)),!0),ke("activating plugins",li(x).map(e=>e.constructor.name));for(const e of li(x))e.activate()}(),li(_).humanInteractionSignature&&(ke("human interaction signature enabled"),u=new Fa),f("load"),r||ke("secure context (HTTPS) required"),()=>{!function(){for(const e of li(x))e.destroy()}(),A&&globalThis.$altcha.instances.delete(A),li(E)&&clearTimeout(li(E)),li(k)?.removeEventListener("reset",ae),li(k)?.removeEventListener("submit",de,{capture:!0}),li(k)?.removeEventListener("focusin",ne),u?.destroy()}));var Ue={configure:we,getConfiguration:function(){return{...li(_)}},getState:function(){return li(b)},hide:me,log:ke,reset:ye,setState:Qe,show:Fe,updateUI:xe,verify:De},Ve=Ga();Hi("scroll",ve,function(){xe()}),Hi("click",ve,function(e){const t=e.target;"floating"!==li(_).display||!t||A?.contains(t)||t.hasAttribute("data-backdrop")||t.closest("[data-popover]")||li(b)===fa.VERIFIED||li(_).floatingPersist||me()}),Hi("pageshow",pe,function(e){e.persisted&&(Ie(li(_).display),ye())}),Hi("resize",pe,function(){xe()});var _e=Ee(Ve),Le=e=>{Xi(e,xa())};un(_e,e=>{"overlay"===li(_).display&&li(V)&&e(Le)});var Pe=Se(_e,2),Te=Be(Pe),He=e=>{var t=Ua(),i=Ee(t),n=Se(i,2),a=e=>{var t=Da();In(t,()=>document.querySelector(li(_).overlayContent)?.innerHTML,!0),he(t),Xi(e,t)};un(n,e=>{li(_).overlayContent&&e(a)}),Hi("click",i,ie,!0),Xi(e,t)};un(Te,e=>{"overlay"===li(_).display&&li(V)&&e(He)});var Ge=Se(Te,2),$e=Be(Ge),Oe=Be($e),Ne=Be(Oe);{let e=vt(()=>"standard"===li(_).display&&"onsubmit"!==li(T)||li(b)===fa.VERIFYING);!function(e,t,i){var n;oe&&(n=re,ce());var a=new An(e);bi(()=>{var e=t()??null;if(oe&&"["===fe(n)!=(null!==e)){var r=Ae();return se(r),a.anchor=r,le(!1),a.ensure(e,e&&(t=>i(t,e))),void le(!0)}a.ensure(e,e&&(t=>i(t,e)))},S)}(Ne,()=>li(P),(t,i)=>{i(t,{get id(){return li(L)},name:"",get required(){return li(e)},get loading(){return li(H)},get checked(){return li(I)},onchange:ee,oninvalid:te})})}var Me=Se(Ne,2),Re=Be(Me),Je=e=>{var t=Yi();Ci(()=>on(t,li(K).verificationRequired)),Xi(e,t)},ze=e=>{var t=Yi();Ci(()=>on(t,li(K).verifying)),Xi(e,t)},Ye=e=>{var t=Yi();Ci(()=>on(t,li(K).verified)),Xi(e,t)},qe=e=>{var t=Yi();Ci(()=>on(t,li(K).label)),Xi(e,t)};un(Re,e=>{li(b)===fa.CODE&&li(p)?e(Je):li(b)===fa.VERIFYING?e(ze,1):li(b)===fa.VERIFIED?e(Ye,2):e(qe,-1)}),he(Me),he(Oe);var Xe=Se(Oe,2),Ze=e=>{la(e,{get strings(){return li(K)}})};un(Xe,e=>{li($)&&e(Ze)}),he($e);var We=Se($e,2),et=e=>{{let t=vt(()=>"bar"===li(_).display&&li($));ca(e,{get logo(){return li(t)},get strings(){return li(K)}})}};un(We,e=>{li(G)&&e(et)});var tt=Se(We,2),it=e=>{var t=Va();zn(t,e=>St(w,e),()=>li(w)),Xi(e,t)};un(tt,e=>{"floating"===li(_).display&&e(it)});var nt=Se(tt,2),at=e=>{var t=_a();Tn(t),Ci(()=>{var e,i,n;Gn(t,"name",li(_).name),e=t,i=li(F),(n=On(e)).value!==(n.value=i??void 0)&&(e.value!==i||0===i&&e.nodeName===Pn)&&(e.value=i??"")}),Xi(e,t)};un(nt,e=>{li(_).setCookie||e(at)}),he(Ge);var rt=Se(Ge,2),ot=e=>{Ea(e,{get anchor(){return li(y)},onClickOutside:()=>{r&&ye()},get placement(){return li(_).popoverPlacement},role:"alert",variant:"error",get dir(){return li(j)},get updateUISignal(){return li(D)},children:(e,t)=>{var i=qi(),n=Ee(i),a=e=>{Xi(e,La())},o=e=>{var t=Pa(),i=Be(t,!0);he(t),Ci(()=>on(i,li(K).expired)),Xi(e,t)},l=e=>{var t=Ta(),i=Be(t,!0);he(t),Ci(()=>{Gn(t,"title",li(B)),on(i,li(K).error)}),Xi(e,t)};un(n,e=>{li(B)||r?li(B)||li(b)!==fa.EXPIRED?e(l,-1):e(o,1):e(a)}),Xi(e,i)},$$slots:{default:!0}})},lt=e=>{var t=qi();!function(e,t,i){oe&&ce();var n=new An(e);bi(()=>{var e=t();e!=e&&(e=gn),n.ensure(e,i)})}(Ee(t),()=>li(p),e=>{{let t=vt(()=>
vendor: 4,140 bytes, line 1
1"standard"!==li(_).codeChallengeDisplay);Ea(e,{get anchor(){return li(y)},get backdrop(){return li(t)},get display(){return li(_).codeChallengeDisplay},onClose:()=>{ye()},get placement(){return li(_).popoverPlacement},role:"dialog",get"aria-label"(){return li(K).verificationRequired},get dir(){return li(j)},get updateUISignal(){return li(D)},children:(e,t)=>{var i=Ha(),n=Ee(i);ma(n,{get audioUrl(){return li(N)},get imageUrl(){return li(M)},onCancel:()=>ye(),onReload:()=>De(),onSubmit:e=>be(e),get codeChallenge(){return li(p)},get config(){return li(_)},get strings(){return li(K)}});var a=Se(n,2),r=e=>{ca(e,{get logo(){return li($)},get strings(){return li(K)}})};un(a,e=>{li(G)&&"standard"!==li(_).codeChallengeDisplay&&e(r)}),Xi(e,i)},$$slots:{default:!0}})}}),Xi(e,t)};un(rt,e=>{li(B)||li(b)===fa.EXPIRED||!r?e(ot):li(p)&&li(b)===fa.CODE&&e(lt,1)}),he(Pe),zn(Pe,e=>St(y,e),()=>li(y)),Ci(e=>{Gn(Pe,"data-state",li(b)),Gn(Pe,"data-display",li(_).display||void 0),Gn(Pe,"data-placement",e),Gn(Pe,"data-visible",li(V)||void 0),Gn(Pe,"dir",li(j)),Gn(Me,"for",li(L)),Pe.dir=Pe.dir},[()=>function(e){switch(e){case"bar":return li(_).barPlacement||"bottom";case"floating":return li(_).floatingPlacement||"auto";default:return}}(li(_).display)]),Xi(e,Ve);var st=W(Ue);return n(),st},{auto:{type:"String"},challenge:{type:"String"},configuration:{type:"String"},display:{type:"String"},language:{type:"String"},name:{type:"String"},theme:{type:"String"},type:{type:"String"},workers:{type:"Number"}},[],["configure","getConfiguration","getState","hide","log","reset","setState","show","updateUI","verify"]));const $a='(function() {\n  "use strict";\n  function bufferStartsWith(buffer, prefix) {\n    if (prefix.length > buffer.length) {\n      return false;\n    }\n    for (let i = 0; i < prefix.length; i++) {\n      if (buffer[i] !== prefix[i]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function bufferToHex(buffer) {\n    return Array.from(new Uint8Array(buffer)).map((b) => b.toString(16).padStart(2, "0")).join("");\n  }\n  function concatBuffers(a, b) {\n    const out = new Uint8Array(a.length + b.length);\n    out.set(a, 0);\n    out.set(b, a.length);\n    return out;\n  }\n  function hexToBuffer(hex) {\n    if (hex.length % 2 !== 0) {\n      throw new Error(`Hex string must have an even length. Got: ${hex}`);\n    }\n    const buffer = new ArrayBuffer(hex.length / 2);\n    const view = new DataView(buffer);\n    for (let i = 0; i < hex.length; i += 2) {\n      const byteString = hex.substring(i, i + 2);\n      const byteValue = parseInt(byteString, 16);\n      view.setUint8(i / 2, byteValue);\n    }\n    return new Uint8Array(buffer);\n  }\n  async function delay(ms) {\n    await new Promise((resolve) => setTimeout(resolve, ms));\n  }\n  function timeDuration(start) {\n    return Math.floor((performance.now() - start) * 10) / 10;\n  }\n  class PasswordBuffer {\n    constructor(nonce, mode = "uint32") {\n      this.nonce = nonce;\n      this.mode = mode;\n      this.buffer = new Uint8Array(this.nonce.length + this.COUNTER_BYTES);\n      this.buffer.set(this.nonce, 0);\n      this.dataView = new DataView(this.buffer.buffer);\n    }\n    nonce;\n    mode;\n    COUNTER_BYTES = 4;\n    buffer;\n    dataView;\n    encoder = new TextEncoder();\n    /**\n     * Appends the counter to the nonce buffer.\n     * In \'string\' mode, encodes the counter as a UTF-8 string.\n     * In \'uint32\' mode, writes the counter as a big-endian 32-bit integer.\n     */\n    setCounter(n) {\n      if (this.mode === "string") {\n        return concatBuffers(this.nonce, this.encoder.encode(n.toString()));\n      }\n      this.dataView.setUint32(this.nonce.length, n, false);\n      return this.buffer;\n    }\n  }\n  async function solveChallenge(options) {\n    const {\n      challenge,\n      controller,\n      counterMode = "uint32",\n      counterStart = 0,\n      counterStep = 1,\n      deriveKey: deriveKey2,\n      timeout = 9e4\n    } = options;\n    const { nonce, keyPrefix, salt } = challenge.parameters;\n    const nonceBuf = hexToBuffer(nonce);\n    const saltBuf = hexToBuffer(salt);
1\n    const keyPrefixBuf = keyPrefix.length % 2 === 0 ? hexToBuffer(keyPrefix) : null;\n    const password = new PasswordBuffer(nonceBuf, counterMode);\n    const start = performance.now();\n    let counter = counterStart;\n    let iterations = 0;\n    let derivedKeyHex = "";\n    let lastYield = start;\n    while (true) {\n      if (controller?.signal.aborted || timeout && iterations % 10 === 0 && performance.now() - start > timeout) {\n        return null;\n      }\n      const { derivedKey } = await deriveKey2(\n        challenge.parameters,\n        saltBuf,\n        password.setCounter(counter)\n      );\n      if (iterations % 10 === 0 && performance.now() - lastYield > 200) {\n        await delay(0);\n        lastYield = performance.now();\n      }\n      if (keyPrefixBuf ? bufferStartsWith(derivedKey, keyPrefixBuf) : bufferToHex(derivedKey).startsWith(keyPrefix)) {\n        derivedKeyHex = bufferToHex(derivedKey);\n        break;\n      }\n      counter = counter + counterStep;\n      iterations = iterations + 1;\n    }\n    return {\n      counter,\n      derivedKey: derivedKeyHex,\n      time: timeDuration(start)\n    };\n  }\n  function handler(options) {\n    const { deriveKey: deriveKey2 } = options;\n    let controller = void 0;\n    self.onmessage = async (message) => {\n      const { challenge, counterMode, counterStart, counterStep, timeout, type } = message.data;\n      if (type === "abort") {\n        controller?.abort();\n      } else if (type === "work") {\n        controller = new AbortController();\n        let solution;\n        try {\n          solution = await solveChallenge({\n            challenge,\n            controller,\n            counterStart,\n            counterStep,\n            deriveKey: deriveKey2,\n            counterMode,\n            timeout\n          });\n        } catch (err) {\n          return self.postMessage({ error: err });\n        }\n        self.postMessage(solution);\n      }\n    };\n  }\n  function getDigest(algorithm) {\n    switch (algorithm) {\n      case "PBKDF2/SHA-512":\n        return "SHA-512";\n      case "PBKDF2/SHA-384":\n        return "SHA-384";\n      case "PBKDF2/SHA-256":\n      default:\n        return "SHA-256";\n    }\n  }\n  async function deriveKey(parameters, salt, password) {\n    const { algorithm, cost, keyLength = 32 } = parameters;\n    const passwordKey = await crypto.subtle.importKey(\n      "raw",\n      password,\n      { name: "PBKDF2" },\n      false,\n      ["deriveKey"]\n    );\n    const derivedKey = await crypto.subtle.deriveKey(\n      {\n        name: "PBKDF2",\n        salt,\n        iterations: cost,\n        hash: getDigest(algorithm)\n      },\n      passwordKey,\n      { name: "AES-GCM", length: keyLength * 8 },\n      true,\n      ["encrypt"]\n    );\n    return {\n      derivedKey: new Uint8Array(await crypto.subtle.exportKey("raw", derivedKey))\n    };\n  }\n  handler({\n    deriveKey\n  });\n})();\n',Oa="undefined"!=typeof self&&self.Blob&&new Blob(["(self.URL || self.webkitURL).revokeObjectURL(self.location.href);",$a],{type:"text/javascript;charset=utf-8"});function ja(e){let t;try{if(t=Oa&&(self.URL||self.webkitURL).createObjectURL(Oa),!t)throw"";const i=new Worker(t,{name:e?.name});return i.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(t)}),i}catch(t){return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent($a),{name:e?.name})}}const Ka='(function() {\n  "use strict";\n  function bufferStartsWith(buffer, prefix) {\n    if (prefix.length > buffer.length) {\n      return false;\n    }\n    for (let i = 0; i < prefix.length; i++) {\n      if (buffer[i] !== prefix[i]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function bufferToHex(buffer) {\n    return Array.from(new Uint8Array(buffer)).map((b) => b.toString(16).padStart(2, "0")).join("");\n  }\n  function concatBuffers(a, b) {\n    const out = new Uint8Array(a.length + b.length);\n    out.set(a, 0);\n    out.set(b, a.length);\n    return out;\n  }\n  function hexToBuffer(hex) {\n    if (hex.length % 2 !== 0) {\n      throw new Error(`Hex string must have an even length. Got: ${hex}`);\n    }\n    const buffer = new ArrayBuffer(hex.length / 2);\n    const view = new DataView(buffer);\n    for (let i = 0; i < hex.length; i += 2) {\n      const byteString = hex.substring(i, i + 2);\n      const byteValue = parseInt(byteString, 16);\n      view.setUint8(i / 2, byteValue);\n    }\n    return new Uint8Array(buffer);\n  }\n  async function delay(ms) {\n    await new Promise((resolve) => setTimeout(resolve, ms));\n  }\n  function timeDuration(start) {\n    return Math.floor((performance.now() - start) * 10) / 10;\n  }\n  class PasswordBuffer {\n    constructor(nonce, mode = "uint32") {\n      this.nonce = nonce;\n      this.mode = mode;\n      this.buffer = new Uint8Array(this.nonce.length + this.COUNTER_BYTES);\n      this.buffer.set(this.nonce, 0);\n      this.dataView = new DataView(this.buffer.buffer);\n    }\n    nonce;\n    mode;\n    COUNTER_BYTES = 4;\n    buffer;\n    dataView;\n    encoder = new TextEncoder();\n    /**\n     * Appends the counter to the nonce buffer.\n     * In \'string\' mode, encodes the counter as a UTF-8 string.\n     * In \'uint32\' mode, writes the counter as a big-endian 32-bit integer.\n     */\n    setCounter(n) {\n      if (this.mode === "string") {\n        return concatBuffers(this.nonce, this.encoder.encode(n.toString()));\n      }\n      this.dataView.setUint32(this.nonce.length, n, false);\n      return this.buffer;\n    }\n  }\n  async function solveChallenge(options) {\n    const {\n      challenge,\n      controller,\n      counterMode = "uint32",\n      counterStart = 0,\n      counterStep = 1,\n      deriveKey: deriveKey2,\n      timeout = 9e4\n    } = options;\n    const { nonce, keyPrefix, salt } = challenge.parameters;\n    const nonceBuf = hexToBuffer(nonce);\n    const saltBuf = hexToBuffer(salt);
1\n    const keyPrefixBuf = keyPrefix.length % 2 === 0 ? hexToBuffer(keyPrefix) : null;\n    const password = new PasswordBuffer(nonceBuf, counterMode);\n    const start = performance.now();\n    let counter = counterStart;\n    let iterations = 0;\n    let derivedKeyHex = "";\n    let lastYield = start;\n    while (true) {\n      if (controller?.signal.aborted || timeout && iterations % 10 === 0 && performance.now() - start > timeout) {\n        return null;\n      }\n      const { derivedKey } = await deriveKey2(\n        challenge.parameters,\n        saltBuf,\n        password.setCounter(counter)\n      );\n      if (iterations % 10 === 0 && performance.now() - lastYield > 200) {\n        await delay(0);\n        lastYield = performance.now();\n      }\n      if (keyPrefixBuf ? bufferStartsWith(derivedKey, keyPrefixBuf) : bufferToHex(derivedKey).startsWith(keyPrefix)) {\n        derivedKeyHex = bufferToHex(derivedKey);\n        break;\n      }\n      counter = counter + counterStep;\n      iterations = iterations + 1;\n    }\n    return {\n      counter,\n      derivedKey: derivedKeyHex,\n      time: timeDuration(start)\n    };\n  }\n  function handler(options) {\n    const { deriveKey: deriveKey2 } = options;\n    let controller = void 0;\n    self.onmessage = async (message) => {\n      const { challenge, counterMode, counterStart, counterStep, timeout, type } = message.data;\n      if (type === "abort") {\n        controller?.abort();\n      } else if (type === "work") {\n        controller = new AbortController();\n        let solution;\n        try {\n          solution = await solveChallenge({\n            challenge,\n            controller,\n            counterStart,\n            counterStep,\n            deriveKey: deriveKey2,\n            counterMode,\n            timeout\n          });\n        } catch (err) {\n          return self.postMessage({ error: err });\n        }\n        self.postMessage(solution);\n      }\n    };\n  }\n  async function deriveKey(parameters, salt, password) {\n    const { algorithm, keyLength = 32 } = parameters;\n    const iterations = Math.max(1, parameters.cost);\n    let data = void 0;\n    let derivedKey = void 0;\n    for (let i = 0; i < iterations; i++) {\n      if (i === 0) {\n        data = concatBuffers(salt, password);\n      } else {\n        data = derivedKey;\n      }\n      derivedKey = new Uint8Array(\n        (await crypto.subtle.digest(algorithm, data)).slice(0, keyLength)\n      );\n    }\n    return {\n      parameters: {},\n      derivedKey\n    };\n  }\n  handler({\n    deriveKey\n  });\n})();\n',Na="undefined"!=typeof self&&self.Blob&&new Blob(["(self.URL || self.webkitURL).revokeObjectURL(self.location.href);",Ka],{type:"text/javascript;charset=utf-8"});function Ma(e){let t;try{if(t=Na&&(self.URL||self.webkitURL).createObjectURL(Na),!t)throw"";const i=new Worker(t,{name:e?.name});return i.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(t)}),i}catch(t){return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(Ka),{name:e?.name})}}!function(e,t="altcha-css"){if("undefined"!=typeof document&&document&&!document.getElementById(t)){const i=document.createElement("style");i.id=t,i.textContent=e;const n=document.currentScript?.nonce??document.querySelector('meta[name="csp-nonce"]')?.content;n&&(i.nonce=n),document.head.appendChild(i
vendor: 10,956 bytes, line 1
1)}}(':root {\n  --altcha-border-color: var(--altcha-color-neutral);\n  --altcha-border-width: 1px;\n  --altcha-border-radius: 6px;\n  --altcha-color-base: light-dark(oklch(100% 0.00011 271.152), oklch(20.904% 0.00002 271.152));\n  --altcha-color-base-content: light-dark(\n  \toklch(20.904% 0.00002 271.152),\n  \toklch(100% 0.00011 271.152)\n  );\n  --altcha-color-error: oklch(51.284% 0.20527 28.678);\n  --altcha-color-error-content: oklch(100% 0.00011 271.152);\n  --altcha-color-neutral: light-dark(oklch(83.591% 0.0001 271.152), oklch(46.04% 0.00005 271.152));\n  --altcha-color-neutral-content: light-dark(\n  \toklch(46.76% 0.00005 271.152),\n  \toklch(100% 0.00011 271.152)\n  );\n  --altcha-color-primary: oklch(40.279% 0.2449 268.131);\n  --altcha-color-primary-content: oklch(100% 0.00011 271.152);\n  --altcha-color-success: oklch(55.748% 0.18968 142.511);\n  --altcha-color-success-content: oklch(100% 0.00011 271.152);\n  --altcha-checkbox-border-color: light-dark(\n  \toklch(66.494% 0.00233 15.434),\n  \toklch(51.028% 0.00006 271.152)\n  );\n  --altcha-checkbox-border-radius: 5px;\n  --altcha-checkbox-border-width: var(--altcha-border-width);\n  --altcha-checkbox-outline: 2px solid var(--altcha-checkbox-outline-color);\n  --altcha-checkbox-outline-color: -webkit-focus-ring-color;\n  --altcha-checkbox-outline-offset: 2px;\n  --altcha-checkbox-size: 22px;\n  --altcha-checkbox-transition-duration: var(--altcha-transition-duration);\n  --altcha-input-background-color: var(--altcha-color-base);\n  --altcha-input-border-radius: 3px;\n  --altcha-input-border-width: 1px;\n  --altcha-input-color: var(--altcha-color-base-content);\n  --altcha-max-width: 320px;\n  --altcha-padding: 0.75rem;\n  --altcha-popover-arrow-size: 6px;\n  --altcha-popover-color: var(--altcha-border-color);\n  --altcha-shadow: drop-shadow(3px 3px 6px oklch(0% 0 0 / 0.2));\n  --altcha-spinner-color: var(--altcha-color-base-content);\n  --altcha-switch-background-color: var(--altcha-color-neutral);\n  --altcha-switch-border-radius: calc(infinity * 1px);\n  --altcha-switch-height: var(--altcha-checkbox-size);\n  --altcha-switch-padding: 0.25rem;\n  --altcha-switch-width: calc(var(--altcha-checkbox-size) * 1.75);\n  --altcha-switch-toggle-border-radius: 100%;\n  --altcha-switch-toggle-color: var(--altcha-color-neutral-content);\n  --altcha-switch-toggle-size: calc(\n  \tvar(--altcha-switch-height) - calc(var(--altcha-switch-padding) * 2)\n  );\n  --altcha-transition-duration: 0.6s;\n  --altcha-z-index: 99999999;\n  --altcha-z-index-popover: 999999999;\n}\n\n@supports (-moz-appearance: none) {\n  :root {\n    --altcha-checkbox-outline-color: var(--altcha-color-primary);\n  }\n}\n.altcha {\n  all: revert-layer;\n  display: none;\n  font-family: inherit;\n  font-size: inherit;\n  position: relative;\n}\n.altcha[data-visible] {\n  display: block;\n}\n.altcha-popover, .altcha-popover * {\n  all: revert-layer;\n  box-sizing: border-box;\n  font-family: inherit;\n  font-size: inherit;\n  line-height: 1.25;\n}\n.altcha * {\n  all: revert-layer;\n  box-sizing: border-box;\n  font-family: inherit;\n  font-size: inherit;\n  line-height: 1.25;\n}\n.altcha a, .altcha-popover a {\n  color: currentColor;\n  text-decoration: none;\n}\n.altcha a:hover, .altcha-popover a:hover {\n  color: currentColor;\n}\n.altcha-main {\n  align-items: start;\n  background-color: var(--altcha-color-base);\n  border: var(--altcha-border-width, 1px) solid var(--altcha-border-color);\n  border-radius: var(--altcha-border-radius, 0);\n  color: var(--altcha-color-base-content);\n  display: flex;\n  flex-direction: column;\n  gap: 0.5rem;\n  justify-content: space-between;\n  padding: var(--altcha-padding);\n  max-width: var(--altcha-max-width, 100%);\n}\n.altcha-main > * {\n  display: flex;\n  width: 100%;\n}\n.altcha-main > *:first-child {\n  flex-grow: 1;\n}\n.altcha-checkbox-wrap {\n  align-items: center;\n  display: flex;\n  flex-direction: row;\n  flex-grow: 1;\n  gap: 0.5rem;\n}\n.altcha-checkbox-wrap > * {\n  display: flex;\n}\n.altcha-logo {\n  opacity: 0.7;\n}\n.altcha-footer {\n  align-items: center;\n  display: flex;\n  flex-grow: 1;\n  gap: 0.5rem;\n  justify-content: flex-end;\n  font-size: 0.7rem;\n  opacity: 0.7;\n}\n.altcha-footer p {\n  margin: 0;\n  padding: 0;\n}\n.altcha-error {\n  font-size: 0.85rem;\n}\n.altcha-button {\n  align-items: center;\n  background: var(--altcha-color-primary);\n  border: var(--altcha-input-border-width) solid var(--altcha-color-primary);\n  border-radius: var(--altcha-input-border-radius);\n  color: var(--altcha-color-primary-content);\n  cursor: pointer;\n  display: flex;\n  font-size: 0.9rem;\n  gap: 0.5rem;\n  padding: 0.35rem;\n}\n.altcha-button:focus {\n  border-color: var(--altcha-color-primary);\n  outline: var(--altcha-checkbox-outline);\n  outline-offset: var(--altcha-checkbox-outline-offset);\n}\n.altcha-button > .altcha-spinner, .altcha-button > svg {\n  height: 20px;\n  width: 20px;\n}\n.altcha-button-secondary {\n  background: transparent;\n  border-color: var(--altcha-color-neutral);\n  color: var(--altcha-color-neutral-content);\n}\n.altcha-input {\n  background: var(--altcha-input-background-color);\n  border: var(--altcha-input-border-width) solid var(--altcha-color-neutral);\n  border-radius: var(--altcha-input-border-radius);\n  color: var(--altcha-input-color);\n  flex-grow: 1;\n  font-size: 1rem;\n  min-width: 0;\n  padding: 0.25rem;\n  width: auto;\n}\n.altcha-input:focus {\n  border-color: var(--altcha-color-primary);\n  outline: var(--altcha-checkbox-outline);\n  outline-offset: var(--altcha-checkbox-outline-offset);\n}\n.altcha-spinner {\n  animation: altcha-rotate 0.6s linear infinite;\n  border-radius: 100%;\n  border: var(--altcha-checkbox-border-width) solid var(--altcha-spinner-color);\n  border-bottom-color: transparent;\n  border-right-color: transparent;\n  opacity: 0.7;\n}\n.altcha-popover {\n  background-color: var(--altcha-color-base);\n  border: var(--altcha-border-width) solid var(--altcha-border-color);\n  border-radius: var(--altcha-border-radius);\n  color: var(--altcha-color-base-content);\n  filter: var(--altcha-shadow);\n  position: absolute;\n  left: calc(var(--altcha-padding) / 2);\n  max-width: calc(var(--altcha-max-width) - var(--altcha-padding));\n  top: calc(var(--altcha-padding) + var(--altcha-checkbox-size) + var(--altcha-popover-arrow-size));\n  z-index: var(--altcha-z-index-popover);\n}\n.altcha-popover-arrow {\n  border: var(--altcha-popover-arrow-size) solid transparent;\n  border-bottom-color: var(--altcha-popover-color);\n  content: "";\n  height: 0;\n  left: calc(var(--altcha-checkbox-size) / 2);\n  position: absolute;\n  top: calc(var(--altcha-popover-arrow-size) * -2);\n  width: 0;\n}\n.altcha-popover-content {\n  max-height: 100dvh;\n  overflow: auto;\n  padding: var(--altcha-padding);\n}\n.altcha-popover[data-top=true][data-display=standard] {\n  bottom: calc(100% - (var(--altcha-padding) - var(--altcha-popover-arrow-size)));\n  top: auto;\n}\n.altcha-popover[data-top=true][data-display=standard] .altcha-popover-arrow {\n  border-bottom-color: transparent;\n  border-top-color: var(--altcha-popover-color);\n  bottom: calc(var(--altcha-popover-arrow-size) * -2);\n  top: auto;\n}\n.altcha-popover[data-variant=error] {\n  --altcha-popover-color: var(--altcha-color-error);\n  background-color: var(--altcha-color-error);\n  border-color: var(--altcha-color-error);\n  color: var(--altcha-color-error-content);\n}\n.altcha-popover[data-variant=error] .altcha-popover-content {\n  padding: calc(var(--altcha-padding) / 1.5) var(--altcha-padding);\n}\n.altcha-popover[data-display=overlay] {\n  animation: altcha-overlay-slidein 0.5s forwards;\n  left: 50%;\n  position: fixed;\n  top: 45%;\n  transform: translate(-50%, -50%);\n  width: var(--altcha-max-width);\n  z-index: var(--altcha-z-index);\n}\n.altcha-popover[data-display=bottomsheet] {\n  animation: altcha-bottomsheet-slideup 0.5s forwards;\n  border-bottom-left-radius: 0;\n  border-bottom-right-radius: 0;\n  border-bottom: 0;\n  bottom: -100%;\n  left: 50%;\n  position: fixed;\n  top: auto;\n  transform: translate(-50%, 0);\n  width: var(--altcha-max-width);\n  z-index: var(--altcha-z-index);\n}\n.altcha-popover[data-display=bottomsheet] .altcha-popover-content {\n  padding-bottom: calc(var(--altcha-padding) * 2);\n}\n.altcha-popover-backdrop {\n  background: var(--altcha-color-base-content);\n  bottom: 0;\n  left: 0;\n  opacity: 0.1;\n  position: fixed;\n  right: 0;\n  top: 0;\n  transition: opacity 0.5s;\n  z-index: var(--altcha-z-index);\n}\n.altcha-popover-close {\n  color: var(--altcha-color-base-content);\n  cursor: pointer;\n  display: inline-block;\n  font-size: 1rem;\n  height: 1.25rem;\n  line-height: 0.95;\n  position: absolute;\n  right: 0;\n  text-align: center;\n  text-shadow: 0 0 1px var(--altcha-color-base);\n  top: -1.5rem;\n  width: 1.25rem;\n  z-index: var(--altcha-z-index);\n}\n[dir=rtl] .altcha-popover {\n  left: auto;\n  right: calc(var(--altcha-padding) / 2);\n}\n[dir=rtl] .altcha-popover-arrow {\n  left: auto;\n  right: calc(var(--altcha-checkbox-size) / 2);\n}\n[dir=rtl] .altcha-popover-close {\n  left: 0;\n  right: auto;\n}\n.altcha-popover[data-display=bottomsheet] .altcha-footer, .altcha-popover[data-display=overlay] .altcha-footer {\n  align-items: center;\n  justify-content: center;\n  padding-top: 1rem;\n  gap: 0.5rem;\n}\n.altcha-popover[data-display=bottomsheet] .altcha-footer svg, .altcha-popover[data-display=overlay] .altcha-footer svg {\n  height: 18px;\n  width: 18px;\n  vertical-align: middle;\n}\n.altcha-code-challenge > form {\n  display: flex;\n  flex-direction: column;\n  gap: 0.5rem;\n}\n.altcha-code-challenge-title {\n  font-weight: 600;\n}\n.altcha-code-challenge-text {\n  font-size: 0.85rem;\n}\n.altcha-code-challenge-image {\n  background: white;\n  border: var(--altcha-input-border-width) solid var(--altcha-color-neutral);\n  border-radius: var(--altcha-input-border-radius);\n  object-fit: contain;\n  height: 50px;\n}\n.altcha-code-challenge-row {\n  display: flex;\n  gap: 0.5rem;\n}\n.altcha-code-challenge-buttons {\n  align-items: center;\n  display: flex;\n  flex-direction: column;\n  gap: 0.5rem;\n  margin-top: var(--altcha-padding);\n  justify-content: space-between;\n}\n.altcha-code-challenge-buttons button {\n  justify-content: center;\n  width: 100%;\n}\n.altcha-checkbox {\n  cursor: pointer;\n  height: var(--altcha-checkbox-size);\n  position: relative;\n  width: var(--altcha-checkbox-size);\n}\n.altcha-checkbox input {\n  appearance: none;\n  background: var(--altcha-input-background-color);\n  border: var(--altcha-checkbox-border-width, 2px) solid var(--altcha-checkbox-border-color);\n  border-radius: var(--altcha-checkbox-border-radius);\n  cursor: pointer;\n  height: var(--altcha-checkbox-size);\n  left: 0;\n  margin: 0;\n  padding: 0;\n  position: absolute;\n  top: 0;\n  width: var(--altcha-checkbox-size);\n}\n
vendor: 7,381 bytes, line 1
1.altcha-checkbox input:before {\n  border-radius: var(--altcha-checkbox-border-radius);\n  content: "";\n  width: 100%;\n  height: 100%;\n  background: var(--altcha-color-neutral);\n  display: block;\n  transform: scale(0);\n}\n.altcha-checkbox input:checked {\n  background-color: var(--altcha-color-success);\n  border-color: var(--altcha-color-success);\n}\n.altcha-checkbox input:checked::before {\n  background-color: var(--altcha-color-success);\n  opacity: 0;\n  transform: scale(2.2);\n  transition: all var(--altcha-checkbox-transition-duration) ease;\n  transition-delay: 0.1s;\n}\n.altcha-checkbox svg {\n  --altcha-radio-svg-size: calc(var(--altcha-checkbox-size) * 0.5);\n  --altcha-radio-svg-offset: calc(var(--altcha-checkbox-size) * 0.25);\n  fill: none;\n  left: var(--altcha-radio-svg-offset);\n  height: var(--altcha-radio-svg-size);\n  opacity: 0;\n  position: absolute;\n  stroke: currentColor;\n  stroke-width: 2;\n  stroke-linecap: round;\n  stroke-linejoin: round;\n  stroke-dasharray: 16px;\n  stroke-dashoffset: 16px;\n  top: var(--altcha-radio-svg-offset);\n  transform: translate3d(0, 0, 0);\n  width: var(--altcha-radio-svg-size);\n}\n.altcha-checkbox input:checked + svg {\n  color: var(--altcha-color-success-content);\n  opacity: 1;\n  stroke-dashoffset: 0;\n  transition: all var(--altcha-checkbox-transition-duration) ease;\n  transition-delay: 0.1s;\n}\n.altcha-checkbox-spinner {\n  display: none;\n  left: 0;\n  height: var(--altcha-checkbox-size);\n  position: absolute;\n  top: 0;\n  width: var(--altcha-checkbox-size);\n}\n.altcha-checkbox[data-loading=true] input {\n  appearance: none;\n  opacity: 0;\n  pointer-events: none;\n}\n.altcha-checkbox[data-loading=true] .altcha-checkbox-spinner {\n  display: block;\n}\n.altcha-checkbox-native {\n  height: var(--altcha-checkbox-size);\n  position: relative;\n  width: var(--altcha-checkbox-size);\n}\n.altcha-checkbox-native input {\n  height: var(--altcha-checkbox-size);\n  margin: 0;\n  width: var(--altcha-checkbox-size);\n}\n.altcha-checkbox-native-spinner {\n  display: none;\n  left: 0;\n  height: var(--altcha-checkbox-size);\n  position: absolute;\n  top: 0;\n  width: var(--altcha-checkbox-size);\n}\n.altcha-checkbox-native[data-loading=true] input {\n  appearance: none;\n  opacity: 0;\n  pointer-events: none;\n}\n.altcha-checkbox-native[data-loading=true] .altcha-checkbox-native-spinner {\n  display: block;\n}\n.altcha-switch {\n  align-items: center;\n  border-radius: var(--altcha-switch-border-radius);\n  background-color: var(--altcha-switch-background-color);\n  display: flex;\n  height: var(--altcha-switch-height);\n  padding: var(--altcha-switch-padding);\n  position: relative;\n  width: var(--altcha-switch-width);\n}\n.altcha-switch:focus-within {\n  outline: var(--altcha-checkbox-outline);\n  outline-offset: var(--altcha-checkbox-outline-offset);\n}\n.altcha-switch input {\n  appearance: none;\n  cursor: pointer;\n  height: 100%;\n  left: 0;\n  opacity: 0;\n  position: absolute;\n  top: 0;\n  width: 100%;\n}\n.altcha-switch-toggle {\n  align-items: center;\n  background-color: var(--altcha-switch-toggle-color);\n  border-radius: var(--altcha-switch-toggle-border-radius);\n  cursor: pointer;\n  display: flex;\n  height: var(--altcha-switch-toggle-size);\n  justify-content: center;\n  left: var(--altcha-switch-padding);\n  position: absolute;\n  transition: width 150ms ease-out, left 150ms ease-out;\n  width: var(--altcha-switch-toggle-size);\n}\n.altcha-switch-spinner {\n  display: none;\n  height: var(--altcha-switch-toggle-size);\n  width: var(--altcha-switch-toggle-size);\n}\n.altcha-switch[data-loading=true] {\n  pointer-events: none;\n}\n.altcha-switch[data-loading=true] .altcha-switch-spinner {\n  display: block;\n}\n.altcha-switch[data-loading=true] .altcha-switch-toggle {\n  background-color: transparent;\n  left: calc(50% - var(--altcha-switch-toggle-size) / 2);\n}\n[data-state=verified] .altcha-switch {\n  --altcha-switch-background-color: var(--altcha-color-success);\n}\n[data-state=verified] .altcha-switch-toggle {\n  background-color: var(--altcha-color-success-content);\n  left: calc(100% - var(--altcha-switch-height) + var(--altcha-switch-padding));\n}\n[dir=rtl] .altcha-switch-toggle {\n  left: calc(100% - var(--altcha-switch-height) + var(--altcha-switch-padding));\n}\n[dir=rtl][data-state=verified] .altcha-switch-toggle {\n  left: var(--altcha-switch-padding);\n}\n.altcha-floating-arrow {\n  border: 6px solid transparent;\n  border-bottom-color: var(--altcha-border-color);\n  content: "";\n  height: 0;\n  left: 12px;\n  position: absolute;\n  top: -12px;\n  width: 0;\n}\n.altcha-overlay-backdrop {\n  bottom: 0;\n  left: 0;\n  position: fixed;\n  right: 0;\n  top: 0;\n  transition: opacity var(--altcha-transition-duration);\n  z-index: var(--altcha-z-index);\n}\n.altcha-overlay-close {\n  display: inline-block;\n  color: currentColor;\n  cursor: pointer;\n  font-size: 1rem;\n  height: 1rem;\n  line-height: 0.85;\n  position: absolute;\n  right: 0;\n  text-align: center;\n  text-shadow: 0 0 1px var(--altcha-color-base);\n  top: -1.5rem;\n  width: 1rem;\n  z-index: var(--altcha-z-index);\n}\n.altcha[data-display=overlay] {\n  animation: altcha-overlay-slidein var(--altcha-transition-duration) forwards;\n  filter: var(--altcha-shadow);\n  left: 50%;\n  opacity: 0;\n  position: fixed;\n  top: 45%;\n  transform: translate(-50%, -50%);\n  z-index: var(--altcha-z-index);\n}\n.altcha[data-display=overlay] .altcha-main {\n  width: var(--altcha-max-width);\n}\n.altcha[data-display=floating] {\n  display: none;\n  filter: var(--altcha-shadow);\n  left: var(--altcha-floating-left, -100%);\n  position: fixed;\n  top: var(--altcha-floating-top, -100%);\n  z-index: var(--altcha-z-index);\n}\n.altcha[data-display=floating] .altcha-main {\n  width: var(--altcha-max-width);\n}\n.altcha[data-display=floating][data-floating-position=top] .altcha-floating-arrow {\n  border-bottom-color: transparent;\n  border-top-color: var(--altcha-border-color);\n  bottom: -12px;\n  top: auto;\n}\n.altcha[data-display=floating][data-visible] {\n  display: flex;\n}\n.altcha[data-display=bar] {\n  bottom: -100%;\n  filter: var(--altcha-shadow);\n  left: 0;\n  position: fixed;\n  right: 0;\n  transition: bottom var(--altcha-transition-duration), top var(--altcha-transition-duration);\n  z-index: var(--altcha-z-index);\n}\n.altcha[data-display=bar] .altcha-main {\n  align-items: center;\n  border-radius: 0;\n  border-width: var(--altcha-border-width) 0 0 0;\n  flex-direction: row;\n  max-width: 100% !important;\n}\n.altcha[data-display=bar] .altcha-main > * {\n  width: auto;\n}\n.altcha[data-display=bar][data-placement=top] {\n  bottom: auto;\n  top: -100%;\n}\n.altcha[data-display=bar][data-placement=top] .altcha-main {\n  border-width: 0 0 var(--altcha-border-width) 0;\n}\n.altcha[data-display=bar][data-placement=bottom]:not([data-state=unverified]) {\n  bottom: 0;\n}\n.altcha[data-display=bar][data-placement=top]:not([data-state=unverified]) {\n  top: 0;\n}\n.altcha[data-display=invisible] {\n  display: none;\n}\n\n@keyframes altcha-rotate {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes altcha-bottomsheet-slideup {\n  100% {\n    bottom: 0;\n  }\n}\n@keyframes altcha-overlay-slidein {\n  100% {\n    opacity: 1;\n    top: 50%;\n  }\n}'
1),$altcha.algorithms.set("SHA-256",()=>new Ma),$altcha.algorithms.set("SHA-384",()=>new Ma),$altcha.algorithms.set("SHA-512",()=>new Ma),$altcha.algorithms.set("PBKDF2/SHA-256",()=>new ja),$altcha.algorithms.set("PBKDF2/SHA-384",()=>new ja),$altcha.algorithms.set("PBKDF2/SHA-512",()=>new ja);globalThis.$altcha.i18n.set("ar",{ariaLinkLabel:"Altcha (الموقع الرسمي)",enterCode:"أدخل الرمز",enterCodeAria:"أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",error:"فشل التحقق. حاول مرة أخرى لاحقاً.",expired:"انتهت صلاحية التحقق. حاول مرة أخرى.",footer:'محمي بواسطة <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (الموقع الرسمي)">ALTCHA</a>',getAudioChallenge:"احصل على تحدي صوتي",label:"أنا لست روبوتاً",loading:"جارٍ التحميل...",reload:"إعادة تحميل",verify:"تحقق",verificationRequired:"مطلوب التحقق!",verified:"تم التحقق",verifying:"جارٍ التحقق...",waitAlert:"جارٍ التحقق... يرجى الانتظار.",cancel:"إلغاء",enterCodeFromImage:"للمتابعة، يرجى إدخال الرمز من الصورة أدناه."});globalThis.$altcha.i18n.set("bg",{ariaLinkLabel:"Altcha (официален уебсайт)",enterCode:"Въведете код",enterCodeAria:"Въведете кода, който чувате. Натиснете Space за възпроизвеждане на аудио.",error:"Проверката неуспешна. Моля, опитайте по-късно.",expired:"Времето за проверка изтече. Моля, опитайте отново.",footer:'Защитено от <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официален уебсайт)">ALTCHA</a>',getAudioChallenge:"Аудио проверка",label:"Аз не съм робот",loading:"Зареждане...",reload:"Презареди",verify:"Провери",verificationRequired:"Изисква се проверка!",verified:"Проверено",verifying:"Проверява се...",waitAlert:"Проверката е в процес... моля изчакайте.",cancel:"Отказ",enterCodeFromImage:"За да продължите, моля, въведете кода от изображението по-долу."});globalThis.$altcha.i18n.set("be",{ariaLinkLabel:"Altcha (афіцыйны сайт)",enterCode:"Увядзіце код",enterCodeAria:"Увядзіце код, які вы чуеце. Націсніце прабел, каб прайграць аўдыё.",error:"Праверка не прайшла. Паспрабуйце пазней.",expired:"Тэрмін праверкі скончыўся. Паспрабуйце зноў.",footer:'Абаронена <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (афіцыйны сайт)">ALTCHA</a>',getAudioChallenge:"Атрымаць аўдыё выклік",label:"Я не робат",loading:"Загрузка...",reload:"Перазагрузіць",verify:"Праверыць",verificationRequired:"Патрабуецца праверка!",verified:"Праверана",verifying:"Правяраем...",waitAlert:"Праверка... калі ласка, пачакайце.",cancel:"Скасаваць",enterCodeFromImage:"Каб працягнуць, увядзіце код з малюнка ніжэй."});globalThis.$altcha.i18n.set("bs",{ariaLinkLabel:"Altcha (službena web stranica)",enterCode:"Unesite kod",enterCodeAria:"Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",error:"Verifikacija nije uspjela. Pokušajte ponovo kasnije.",expired:"Verifikacija je istekla. Pokušajte ponovo.",footer:'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (službena web stranica)">ALTCHA</a>',getAudioChallenge:"Dohvatite audio izazov",label:"Nisam robot",loading:"Učitavanje...",reload:"Ponovn
1o učitaj",verify:"Verifikuj",verificationRequired:"Verifikacija je obavezna!",verified:"Verifikovano",verifying:"Verifikacija u toku...",waitAlert:"Verifikacija u toku... molimo vas da sačekate.",cancel:"Odustani",enterCodeFromImage:"Za nastavak, molimo unesite kod sa slike ispod."});globalThis.$altcha.i18n.set("ca",{ariaLinkLabel:"Altcha (lloc web oficial)",enterCode:"Introdueix el codi",enterCodeAria:"Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",error:"Verificació fallida. Torna-ho a provar més tard.",expired:"Verificació expirada. Torna-ho a provar.",footer:'Protegit per <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (lloc web oficial)">ALTCHA</a>',getAudioChallenge:"Obtenir un desafiament d’àudio",label:"No sóc un robot",loading:"Carregant...",reload:"Torna a carregar",verify:"Verificar",verificationRequired:"Es requereix verificació!",verified:"Verificat",verifying:"Verificant...",waitAlert:"Verificant... si us plau, espera.",cancel:"Cancel·la",enterCodeFromImage:"Per continuar, si us plau, introdueix el codi de la imatge següent."});globalThis.$altcha.i18n.set("cs",{ariaLinkLabel:"Altcha (oficiální web)",enterCode:"Zadejte kód",enterCodeAria:"Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",error:"Ověření selhalo. Zkuste to prosím později.",expired:"Ověření vypršelo. Zkuste to prosím znovu.",footer:'Chráněno pomocí <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiální web)">ALTCHA</a>',getAudioChallenge:"Získat audio výzvu",label:"Nejsem robot",loading:"Načítání...",reload:"Znovu načíst",verify:"Ověřit",verificationRequired:"Vyžaduje se ověření!",verified:"Ověřeno",verifying:"Ověřování...",waitAlert:"Probíhá ověření... prosím počkejte.",cancel:"Zrušit",enterCodeFromImage:"Pro pokračování zadejte kód z obrázku níže."});globalThis.$altcha.i18n.set("da",{ariaLinkLabel:"Altcha (officiel hjemmeside)",enterCode:"Indtast kode",enterCodeAria:"Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",error:"Verificering mislykkedes. Prøv venligst igen senere.",expired:"Verificering udløbet. Prøv venligst igen.",footer:'Beskyttet af <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiel hjemmeside)">ALTCHA</a>',getAudioChallenge:"Hent lydudfordring",label:"Jeg er ikke en robot",loading:"Indlæser...",reload:"Genindlæs",verify:"Verificer",verificationRequired:"Verificering kræves!",verified:"Verificeret",verifying:"Verificerer...",waitAlert:"Verificerer... vent venligst.",cancel:"Annuller",enterCodeFromImage:"For at fortsætte, bedes du indtaste koden fra billedet herunder."});globalThis.$altcha.i18n.set("de",{ariaLinkLabel:"Altcha (offizielle Website)",enterCode:"Code eingeben",enterCodeAria:"Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",error:"Überprüfung fehlgeschlagen. Bitte versuchen Sie es später erneut.",expired:"Überprüfung abgelaufen. Bitte versuchen Sie es erneut.",footer:'Geschützt durch <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offizielle Website)">ALTCHA</a>',getAudioChallenge:"Audio-Herausforderung anfordern",label:"Ich bin kein Roboter",loading:"Lade...",reload:"Neu laden",verify:"Überprüfen",verificationRequired:"Überprüfung erforderlich!",verified:"Überprüft",verifying:"Wird überprüft...",waitAlert:"Überprüfung läuft... bitte warten.",cancel:"Abbrechen",enterCodeFromImage:"Um fortzufahren, geben Sie bitte den Code aus dem Bild unten ein."});globalThis.$altcha.i18n.set("el",{ariaLinkLabel:"Altcha (επίσημος ιστότοπος)",enterCode:"Εισαγάγετε κωδικό",enterCodeAria:"Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",error:"Η επαλήθευση απέτυχε. Δοκιμάστε ξανά αργότερα.",expired:"Η επαλήθευση έληξε. Δοκιμάστε ξανά.",footer:'Προστατεύεται από το <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (επίσημος ιστότοπος)">ALTCHA</a>',getAudioChallenge:"Λήψη ηχητικής δοκιμασίας",label:"Δεν είμαι ρομπότ",loading:"Φόρτωση...",reload:"Επαναφόρτωση",verify:"Επαλήθευση",verificationRequired:"Απαιτείται έλεγχος!",verified:"Επαληθεύτηκε",verifying:"Γίνεται επαλήθευση...",waitAlert:"Γίνεται επαλήθευση... παρακαλώ περιμένετε.",cancel:"Ακύρωση",enterCodeFromImage:"Για να συνεχίσετε, εισάγετε τον κωδικό από την παρακάτω εικόνα."});globalThis.$altcha.i18n.set("es-es",{ariaLinkLabel:"Altcha (sitio web oficial)",enterCode:"Introduce el código",enterCodeAria:"Introduce el código que escuchas. Pulsa Espacio para reproducir el audio.",error:"Falló la verificación. Por favor intente nuevamente más tarde.",expired:"Verificación expirada. Por favor intente nuevamente.",footer:'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',getAudioChallenge:"Obtener un desafío de audio",label:"No soy un robot",loading:"Cargando...",reload:"Recargar",verify:"Verificar",verificationRequired:"¡Verificación requerida!",verified:"Verificado",verifying:"Verificando...",waitAlert:"
1Verificando... por favor espere.",cancel:"Cancelar",enterCodeFromImage:"Para continuar, introduzca el código de la imagen de abajo."});globalThis.$altcha.i18n.set("es-419",{ariaLinkLabel:"Altcha (sitio web oficial)",enterCode:"Ingresa el código",enterCodeAria:"Ingresa el código que escuchas. Presiona Espacio para reproducir el audio.",error:"Falló la verificación. Por favor vuelve a intentarlo más tarde.",expired:"La verificación expiró. Por favor inténtalo de nuevo.",footer:'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',getAudioChallenge:"Obtener un reto de audio",label:"No soy un robot",loading:"Cargando...",reload:"Volver a cargar",verify:"Verificar",verificationRequired:"¡Verificación requerida!",verified:"Verificado",verifying:"Verificando...",waitAlert:"Verificando... por favor espera.",cancel:"Cancelar",enterCodeFromImage:"Para continuar, ingresa el código de la imagen a continuación."});globalThis.$altcha.i18n.set("et",{ariaLinkLabel:"Altcha (ametlik veebisait)",enterCode:"Sisesta kood",enterCodeAria:"Sisestage kuuldu kood. Vajutage tühikut, et esitada heli.",error:"Kinnitamine ebaõnnestus. Proovi hiljem uuesti.",expired:"Kinnitamine aegus. Proovi uuesti.",footer:'Kaitstud <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ametlik veebisait)">ALTCHA</a> poolt',getAudioChallenge:"Hangi heliülesanne",label:"Ma ei ole robot",loading:"Laadimine...",reload:"Laadi uuesti",verify:"Kinnita",verificationRequired:"Kontroll on vajalik!",verified:"Kinnitatud",verifying:"Kinnitamine...",waitAlert:"Kinnitamine... palun oota.",cancel:"Tühista",enterCodeFromImage:"Jätkamiseks sisestage alloleval pildil olev kood."});globalThis.$altcha.i18n.set("eu",{ariaLinkLabel:"Altcha (webgune ofiziala)",enterCode:"Sartu kodea",enterCodeAria:"Sartu entzun duzun kodea. Sakatu Espazioa audioa erreproduzitzeko.",error:"Egiaztatzeak huts egin du. Saiatu berriro geroago.",expired:"Egiaztatzea iraungi da. Saiatu berriro.",footer:'<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (webgune ofiziala)">ALTCHA</a>k babestuta',getAudioChallenge:"Jaso audio-erronka bat",label:"Ez naiz robot bat",loading:"Kargatzen...",reload:"Birkargatu",verify:"Egiaztatu",verificationRequired:"Egiaztatzea beharrezkoa da!",verified:"Egiaztatuta",verifying:"Egiaztatzen...",waitAlert:"Egiaztatzen... itxaron mesedez.",cancel:"Utzi",enterCodeFromImage:"Jarraitzeko, idatzi beheko irudiko kodea."});globalThis.$altcha.i18n.set("fa",{ariaLinkLabel:"Altcha (وب‌سایت رسمی)",enterCode:"کد را وارد کنید",enterCodeAria:"کدی که می‌شنوید را وارد کنید. برای پخش صدا Space را فشار دهید.",error:"احراز هویت ناموفق بود. بعداً دوباره تلاش کنید.",expired:"احراز هویت منقضی شد. دوباره تلاش کنید.",footer:'محافظت شده توسط <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (وب‌سایت رسمی)">ALTCHA</a>',getAudioChallenge:"دریافت چالش صوتی",label:"من ربات نیستم",loading:"در حال بارگذاری...",reload:"بارگذاری مجدد",verify:"تایید",verificationRequired:"احراز هویت لازم است!",verified:"تایید شد",verifying:"در حال تایید...",waitAlert:"در حال تایید... لطفا منتظر بمانید.",cancel:"لغو کردن",enterCodeFromImage:"برای ادامه، لطفاً کد تصویر زیر را وارد کنید."});globalThis.$altcha.i18n.set("lb",{ariaLinkLabel:"Altcha (offiziell Websäit)",enterCode:"Code aginn",enterCodeAria:"Gitt de Code an deen dir héiert. Dréckt op d'Weltraumtast fir Audio ofzespillen.",error:"Verifikatioun ass feelgeschloen. Probéiert méi spéit nach emol.",expired:"Verifikatioun ofgelaf. Probéiert nach emol.",footer:'Geschützt vun <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offiziell Websäit)">ALTCHA</a>',getAudioChallenge:"Kritt eng Audio-Herausfuerderung",label:"Ech sinn keen Robot",loading:"Lueden...",reload:"Nei lueden",verify:"Verifizéieren",verificationRequired:"Verifikatioun néideg!",verified:"Verifizéiert",verifying:"Verifizéieren...",waitAlert:"
1Verifizéieren... waart wgl.",cancel:"Ofbriechen",enterCodeFromImage:"Fir virun ze fueren, gitt wgl. de Code aus dem Bild hei drënner an."});globalThis.$altcha.i18n.set("fi",{ariaLinkLabel:"Altcha (virallinen verkkosivusto)",enterCode:"Syötä koodi",enterCodeAria:"Kirjoita kuulemasi koodi. Paina välilyöntiä toistaaksesi äänen.",error:"Varmennus epäonnistui. Yritä myöhemmin uudelleen.",expired:"Varmennus vanhentui. Yritä uudelleen.",footer:'Suojattu <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (virallinen verkkosivusto)">ALTCHA</a>:lla',getAudioChallenge:"Hae äänitehtävä",label:"En ole robotti",loading:"Ladataan...",reload:"Lataa uudelleen",verify:"Vahvista",verificationRequired:"Vahvistus vaaditaan!",verified:"Vahvistettu",verifying:"Vahvistetaan...",waitAlert:"Vahvistetaan... odota hetki.",cancel:"Peruuta",enterCodeFromImage:"Jatkaaksesi, syötä alla olevan kuvan koodi."});globalThis.$altcha.i18n.set("fr-ca",{ariaLinkLabel:"Altcha (site officiel)",enterCode:"Entrez le code",enterCodeAria:"Entrez le code que vous entendez. Appuyez sur la barre d'espace pour écouter l'audio.",error:"Échec de la vérification. Réessayez plus tard.",expired:"La vérification a expiré. Réessayez.",footer:'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',getAudioChallenge:"Obtenir un défi audio",label:"Je ne suis pas un robot",loading:"Chargement...",reload:"Recharger",verify:"Vérifier",verificationRequired:"Vérification requise !",verified:"Vérifié",verifying:"Vérification en cours...",waitAlert:"Vérification en cours... veuillez patienter.",cancel:"Annuler",enterCodeFromImage:"Pour continuer, veuillez entrer le code de l'image ci-dessous."});globalThis.$altcha.i18n.set("fr-fr",{ariaLinkLabel:"Altcha (site officiel)",enterCode:"Entrez le code",enterCodeAria:"Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",error:"Échec de la vérification. Essayez à nouveau plus tard.",expired:"La vérification a expiré. Essayez à nouveau.",footer:'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',getAudioChallenge:"Obtenir un défi audio",label:"Je ne suis pas un robot",loading:"Chargement...",reload:"Recharger",verify:"Vérifier",verificationRequired:"Vérification requise !",verified:"Vérifié",verifying:"Vérification en cours...",waitAlert:"Vérification en cours... veuillez patienter.",cancel:"Annuler",enterCodeFromImage:"Pour continuer, veuillez entrer le code de l'image ci-dessous."});globalThis.$altcha.i18n.set("ga",{ariaLinkLabel:"Altcha (láithreán gréasáin oifigiúil)",enterCode:"Iontráil cód",enterCodeAria:"Cuir isteach an cód a chloiseann tú. Brúigh Spás chun an fuaime a sheinm.",error:"Theip ar an bhfíorú. Bain triail eile as níos déanaí.",expired:"Tá an fíorú as feidhm. Bain triail eile as.",footer:'Cosanta ag <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (láithreán gréasáin oifigiúil)">ALTCHA</a>',getAudioChallenge:"Faigh dúshlán fuaime",label:"Níl mé i mo róbat",loading:"Á luchtú...",reload:"Athluchtaigh",verify:"Fíoraigh",verificationRequired:"Fíorú riachtanach!",verified:"Fíoraithe",verifying:"Fíorú ar siúl...",waitAlert:"Fíorú ar siúl... fan go fóill.",cancel:"Cealaigh",enterCodeFromImage:"Chun dul ar aghaidh, le do thoil cuir isteach an cód ón íomhá thíos."});globalThis.$altcha.i18n.set("hr",{ariaLinkLabel:"Altcha (službena web stranica)",enterCode:"Unesite kod",enterCodeAria:"Unesite kod koji čujete. Pritisnite razmaknicu za reprodukciju zvuka.",error:"Provjera nije uspjela. Molimo pokušajte kasnije.",expired:"Provjera je istekla. Molimo pokušajte ponovo.",footer:'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (službena web stranica)">ALTCHA</a>',getAudioChallenge:"Audio provjera",label:"Ja nisam robot",loading:"Učitavanje...",reload:"Ponovno učitaj",verify:"Provjeri",verificationRequired:"Potrebna je provjera!",verified:"Provjereno",verifying:"Provjeravanje...",waitAlert:"Provjera je u tijeku... molimo pričekajte.",cancel:"Odustani",enterCodeFromImage:"Za nastavak molimo unesite kod sa slike ispod."});globalThis.$altcha.i18n.set("hu",{ariaLinkLabel:"Altcha (hivatalos weboldal)",enterCode:"Írja be a kódot",enterCodeAria:"Írja be a hallott kódot. Nyomja meg a Szóköz billentyűt a hang lejátszásához.",error:"A hitelesítés nem sikerült. Próbáld meg később újra.",expired:"A hitelesítés lejárt. Próbáld újra.",footer:'Védve a következő által: <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (hivatalos weboldal)">ALTCHA</a>',getAudioChallenge:"Hangalapú kihívás kérése",label:"Nem vagyok robot",loading:"Betöltés...",reload:"Újratöltés",verify:"Ellenőrzés",verificationRequired:"Ellenőrzés szükséges!",verified:"Ellenőrizve",verifying:"Ellenőrzés folyamatban...",waitAlert:"Ellenőrzés folyamatban... kérlek várj.",cancel:"Mégse",enterCodeFromImage:"A folytatáshoz, kérjük, adja meg az alábbi kép kódját."});globalThis.$altcha.i18n.set("is",{ariaLinkLabel:"Altcha (opinber vefsíða)",enterCode:"Sláðu inn kóða",enterCodeAria:"Sláðu inn kóðann sem þú heyrir. Ýttu á Space til að spila hljóðið.",error:"Staðfesting mistókst. Reyndu aftur síðar.",expired:"Staðfesting er útrunnin. Reyndu aftur.",footer:'Verndað af <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (opinber vefsíða)">ALTCHA</a>',getAudioChallenge:"Fá hljóðáskorun",label:"Ég er ekki robot",loading:"Hleður...",reload:"Hleð aftur",verify:"Staðfesta",verificationRequired:"Staðfesting er nauðsynleg!",verified:"Staðfest",verifying:"Að staðfesta...",waitAlert:"Að staðfesta... vinsamlegast bíða.",cancel:"Hætta við",enterCodeFromImage:"Til að halda áfram, vinsamlegast sláðu inn kóðann af myndinni hér að neðan."});globalThis.$altcha.i18n.set("it",{ariaLinkLabel:"Altcha (sito ufficiale)",enterCode:"Inserisci il codice",enterCodeAria:"Inserisci il codice che senti. Premi Spazio per riprodurre l'audio.",error:"Verifica fallita. Riprova più tardi.",expired:"Verifica scaduta. Riprova.",footer:'Protetto da <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sito ufficiale)">ALTCHA</a>',getAudioChallenge:"Ottieni una sfida audio",label:"Non sono un robot",loading:"Caricamento...",reload:"Ricarica",verify:"Verifica",verificationRequired:"Verifica richiesta!",verified:"Verificato",verifying:"Verifica in corso...",waitAlert:"
1Verifica in corso... attendere.",cancel:"Annulla",enterCodeFromImage:"Per procedere, inserisci il codice dall'immagine sottostante."});globalThis.$altcha.i18n.set("lt",{ariaLinkLabel:"Altcha (oficiali svetainė)",enterCode:"Įveskite kodą",enterCodeAria:"Įveskite girdimą kodą. Paspauskite tarpo klavišą, kad grotumėte garso įrašą.",error:"Patvirtinimas nepavyko. Bandykite vėliau.",expired:"Patvirtinimo laikas baigėsi. Bandykite dar kartą.",footer:'Apsaugota <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiali svetainė)">ALTCHA</a>',getAudioChallenge:"Gauti garso užduotį",label:"Aš nesu robotas",loading:"Įkeliama...",reload:"Įkelti iš naujo",verify:"Patvirtinti",verificationRequired:"Reikalingas patvirtinimas!",verified:"Patvirtinta",verifying:"Tikrinama...",waitAlert:"Tikrinama... prašome palaukti.",cancel:"Atšaukti",enterCodeFromImage:"Norėdami tęsti, įveskite kodą iš paveikslėlio žemiau."});globalThis.$altcha.i18n.set("lv",{ariaLinkLabel:"Altcha (oficiālā tīmekļa vietne)",enterCode:"Ievadiet kodu",enterCodeAria:"Ievadiet dzirdamo kodu. Nospiediet atstarpes taustiņu, lai atskaņotu audio.",error:"Verifikācija neizdevās. Mēģiniet vēlāk vēlreiz.",expired:"Verifikācijas laiks ir beidzies. Mēģiniet vēlreiz.",footer:'Aizsargāts ar <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiālā tīmekļa vietne)">ALTCHA</a>',getAudioChallenge:"Saņemt audio izaicinājumu",label:"Es neesmu robots",loading:"Notiek ielāde...",reload:"Pārlādēt",verify:"Verificēt",verificationRequired:"Nepieciešama verifikācija!",verified:"Verificēts",verifying:"Notiek verifikācija...",waitAlert:"Notiek verifikācija... lūdzu, uzgaidiet.",cancel:"Atcelt",enterCodeFromImage:"Lai turpinātu, lūdzu, ievadiet zemāk redzamo attēlu kodu."});globalThis.$altcha.i18n.set("mt",{ariaLinkLabel:"Altcha (sit uffiċjali)",enterCode:"Idħol il-kodiċi",enterCodeAria:"Idħol il-kodiċi li tisma'. Agħfas Spazju biex tindaqq l-awdjo.",error:"Il-verifika falliet. Erġa’ pprova aktar tard.",expired:"Il-verifika skadiet. Erġa’ pprova.",footer:'Protett minn <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sit uffiċjali)">ALTCHA</a>',getAudioChallenge:"Ikseb sfida bl-awdjo",label:"M’inix robot",loading:"Qed jitgħabba...",reload:"Ittella’ mill-ġdid",verify:"Ivverifika",verificationRequired:"Verifika meħtieġa!",verified:"Ivverifikat",verifying:"Verifika għaddejja...",waitAlert:"Verifika għaddejja... stenna ftit.",cancel:"Ikkanċella",enterCodeFromImage:"Biex tipproċedi, jekk jogħġbok daħħal il-kodiċi mill-immaġni hawn taħt."});globalThis.$altcha.i18n.set("nb",{ariaLinkLabel:"Altcha (offisiell nettside)",enterCode:"Skriv inn kode",enterCodeAria:"Skriv inn koden du hører. Trykk på Space for å spille av lyden.",error:"Verifisering mislyktes. Prøv igjen senere.",expired:"Verifiseringen utløp. Prøv igjen.",footer:'Beskyttet av <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offisiell nettside)">ALTCHA</a>',getAudioChallenge:"Få en lydutfordring",label:"Jeg er ikke en robot",loading:"Laster...",reload:"Last på nytt",verify:"Verifiser",verificationRequired:"Verifisering kreves!",verified:"Verifisert",verifying:"Verifiserer...",waitAlert:"Verifiserer... vennligst vent.",cancel:"Avbryt",enterCodeFromImage:"For å fortsette, vennligst skriv inn koden fra bildet nedenfor."});globalThis.$altcha.i18n.set("nl",{ariaLinkLabel:"Altcha (officiële website)",enterCode:"Voer code in",enterCodeAria:"Voer de code in die je hoort. Druk op Spatie om de audio af te spelen.",error:"Verificatie mislukt. Probeer het later opnieuw.",expired:"Verificatie verlopen. Probeer het opnieuw.",footer:'Beschermd door <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiële website)">ALTCHA</a>',getAudioChallenge:"Audio-uitdaging ontvangen",label:"Ik ben geen robot",loading:"Laden...",reload:"Herladen",verify:"Verifiëren",verificationRequired:"Verificatie vereist!",verified:"Geverifieerd",verifying:"Bezig met verifiëren...",waitAlert:"Bezig met verifiëren... even geduld a.u.b.",cancel:"Annuleren",enterCodeFromImage:"Om door te gaan, voert u de code uit de onderstaande afbeelding in."});globalThis.$altcha.i18n.set("pl",{ariaLinkLabel:"Altcha (oficjalna strona internetowa)",enterCode:"Wprowadź kod",enterCodeAria:"Wpisz ko
1d, który słyszysz. Naciśnij Spację, aby odtworzyć dźwięk.",error:"Weryfikacja nie powiodła się. Spróbuj ponownie później.",expired:"Weryfikacja wygasła. Spróbuj ponownie.",footer:'Chronione przez <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficjalna strona internetowa)">ALTCHA</a>',getAudioChallenge:"Pobierz zadanie dźwiękowe",label:"Nie jestem robotem",loading:"Ładowanie...",reload:"Odśwież",verify:"Zweryfikuj",verificationRequired:"Wymagana weryfikacja!",verified:"Zweryfikowano",verifying:"Weryfikacja...",waitAlert:"Trwa weryfikacja... proszę czekać.",cancel:"Anuluj",enterCodeFromImage:"Aby kontynuować, wprowadź kod z poniższego obrazka."});globalThis.$altcha.i18n.set("pt-pt",{ariaLinkLabel:"Altcha (site oficial)",enterCode:"Introduza o código",enterCodeAria:"Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",error:"A verificação falhou. Por favor, tente novamente mais tarde.",expired:"Verificação expirada. Por favor, tente novamente.",footer:'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',getAudioChallenge:"Obter desafio de áudio",label:"Não sou um robô",loading:"A carregar...",reload:"Recarregar",verify:"Verificar",verificationRequired:"Verificação necessária!",verified:"Verificado",verifying:"A verificar...",waitAlert:"A verificar... por favor aguarde.",cancel:"Cancelar",enterCodeFromImage:"Para prosseguir, introduza o código da imagem abaixo."});globalThis.$altcha.i18n.set("pt-br",{ariaLinkLabel:"Altcha (site oficial)",enterCode:"Digite o código",enterCodeAria:"Digite o código que você ouve. Pressione Espaço para reproduzir o áudio.",error:"Falha na verificação. Por favor, tente novamente mais tarde.",expired:"Verificação expirada. Por favor, tente novamente.",footer:'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',getAudioChallenge:"Obter desafio de áudio",label:"Eu não sou um robô",loading:"Carregando...",reload:"Recarregar",verify:"Verificar",verificationRequired:"Verificação necessária!",verified:"Verificado",verifying:"Verificando...",waitAlert:"Verificando... por favor aguarde.",cancel:"Cancelar",enterCodeFromImage:"Para prosseguir, digite o código da imagem abaixo."});globalThis.$altcha.i18n.set("ro",{ariaLinkLabel:"Altcha (site oficial)",enterCode:"Introduceți codul",enterCodeAria:"Introduceți codul pe care îl auziți. Apăsați Spațiu pentru a reda audio.",error:"Verificarea a eșuat. Încearcă din nou mai târziu.",expired:"Verificarea a expirat. Încearcă din nou.",footer:'Protejat de <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',getAudioChallenge:"Obține o provocare audio",label:"Nu sunt un robot",loading:"Se încarcă...",reload:"Reîncarcă",verify:"Verifică",verificationRequired:"Verificare necesară!",verified:"Verificat",verifying:"Se verifică...",waitAlert:"Se verifică... te rugăm să aștepți.",cancel:"Anulare",enterCodeFromImage:"Pentru a continua, vă rugăm să introduceți codul din imaginea de mai jos."});globalThis.$altcha.i18n.set("ru",{ariaLinkLabel:"Altcha (официальный сайт)",enterCode:"Введите код",enterCodeAria:"Введите код, который слышите. Нажмите пробел для воспроизведения аудио.",error:"Ошибка верификации. Попробуйте позже.",expired:"Срок действия верификации истек. Попробуйте снова.",footer:'Защищено <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официальный сайт)">ALTCHA</a>',getAudioChallenge:"Получить аудио задачу",label:"Я не робот",loading:"Загрузка...",reload:"Перезагрузить",verify:"Проверить",verificationRequired:"Требуется проверка!",verified:"Проверено",verifying:"Идет проверка...",waitAlert:"Идет проверка... Пожалуйста, подождите.",cancel:"Отмена",enterCodeFromImage:"Чтобы продолжить, пожалуйста, введите код с изображения ниже."});globalThis.$altcha.i18n.set("sk",{ariaLinkLabel:"Altcha (oficiálna webová stránka)",enterCode:"Zadajte kód",enterCodeAria:"Zadajte kód, ktorý počujete. Stlačením medzerníka prehráte zvuk.",error:"Verifikácia zlyhala. Skúste to znova neskôr.",expired:"Verifikácia vypršala. Skúste to znova.",footer:'Chránené <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiálna webová stránka)">ALTCHA</a>
1',getAudioChallenge:"Získať audio výzvu",label:"Nie som robot",loading:"Načítava sa...",reload:"Obnoviť",verify:"Verifikovať",verificationRequired:"Vyžaduje sa overenie!",verified:"Verifikované",verifying:"Prebieha verifikácia...",waitAlert:"Prebieha verifikácia... prosím čakajte.",cancel:"Zrušiť",enterCodeFromImage:"Na pokračovanie, prosím, zadajte kód z obrázka nižšie."});globalThis.$altcha.i18n.set("sl",{ariaLinkLabel:"Altcha (uradna spletna stran)",enterCode:"Vnesite kodo",enterCodeAria:"Vnesite kodo, ki jo slišite. Pritisnite preslednico za predvajanje zvoka.",error:"Preverjanje ni uspelo. Poskusite znova kasneje.",expired:"Preverjanje je poteklo. Poskusite znova.",footer:'Zaščiteno z <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (uradna spletna stran)">ALTCHA</a>',getAudioChallenge:"Pridobite zvočni izziv",label:"Nisem robot",loading:"Nalagam...",reload:"Ponovno naloži",verify:"Preveri",verificationRequired:"Potrebna je preveritev!",verified:"Preverjeno",verifying:"Preverjanje...",waitAlert:"Preverjanje... prosim počakajte.",cancel:"Preklic",enterCodeFromImage:"Za nadaljevanje, prosimo, vnesite kodo s slike spodaj."});globalThis.$altcha.i18n.set("sq",{ariaLinkLabel:"Altcha (faqja zyrtare)",enterCode:"Fut kodin",enterCodeAria:"Fut kodin që dëgjon. Shtypni Hapësirë për të luajtur audio.",error:"Verifikimi dështoi. Provoni përsëri më vonë.",expired:"Verifikimi ka skaduar. Provoni përsëri.",footer:'I mbrojtur nga <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (faqja zyrtare)">ALTCHA</a>',getAudioChallenge:"Merr një sfidë audio",label:"Unë nuk jam një robot",loading:"Duke u ngarkuar...",reload:"Ringarko",verify:"Verifiko",verificationRequired:"Kërkohet verifikimi!",verified:"I verifikuar",verifying:"Duke verifikuar...",waitAlert:"Duke verifikuar... ju lutem prisni.",cancel:"Anuloje",enterCodeFromImage:"Për të vazhduar, ju lutemi fusni kodin nga imazhi më poshtë."});globalThis.$altcha.i18n.set("sr",{ariaLinkLabel:"Altcha (zvanična web stranica)",enterCode:"Unesite kod",enterCodeAria:"Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",error:"Verifikacija nije uspela. Pokušajte ponovo kasnije.",expired:"Verifikacija je istekla. Pokušajte ponovo.",footer:'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (zvanična web stranica)">ALTCHA</a>',getAudioChallenge:"Dohvatite audio izazov",label:"Nisam robot",loading:"Učitavanje...",reload:"Ponovo učitaj",verify:"Verifikuj",verificationRequired:"Verifikacija je obavezna!",verified:"Verifikovano",verifying:"Verifikacija u toku...",waitAlert:"Verifikacija u toku... molimo vas da saček
1ate.",cancel:"Откажи",enterCodeFromImage:"Да бисте наставили, унесите код са слике испод."});globalThis.$altcha.i18n.set("sv",{ariaLinkLabel:"Altcha (officiell webbplats)",enterCode:"Ange kod",enterCodeAria:"Ange koden du hör. Tryck på mellanslag för att spela upp ljudet.",error:"Verifiering misslyckades. Försök igen senare.",expired:"Verifieringen har gått ut. Försök igen.",footer:'Skyddad av <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiell webbplats)">ALTCHA</a>',getAudioChallenge:"Få ljudutmaning",label:"Jag är inte en robot",loading:"Laddar...",reload:"Ladda om",verify:"Verifiera",verificationRequired:"Verifiering krävs!",verified:"Verifierad",verifying:"Verifierar...",waitAlert:"Verifierar... vänligen vänta.",cancel:"Avbryt",enterCodeFromImage:"För att fortsätta, ange koden från bilden nedan."});globalThis.$altcha.i18n.set("tr",{ariaLinkLabel:"Altcha (resmi web sitesi)",enterCode:"Kodu girin",enterCodeAria:"Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",error:"Doğrulama başarısız oldu. Lütfen daha sonra tekrar deneyin.",expired:"Doğrulama süresi doldu. Lütfen tekrar deneyin.",footer:'ALTCHA tarafından korunuyor <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (resmi web sitesi)">ALTCHA</a>',getAudioChallenge:"Sesli doğrulama al",label:"Ben robot değilim",loading:"Yükleniyor...",reload:"Yeniden yükle",verify:"Doğrula",verificationRequired:"Doğrulama gerekli!",verified:"Doğrulandı",verifying:"Doğrulama yapılıyor...",waitAlert:"Doğrulama yapılıyor... lütfen bekleyin.",cancel:"İptal",enterCodeFromImage:"Devam etmek için lütfen aşağıdaki resimdeki kodu girin."});globalThis.$altcha.i18n.set("uk",{ariaLinkLabel:"Altcha (офіційний сайт)",enterCode:"Введіть код",enterCodeAria:"Введіть код, який ви чуєте. Натисніть пробіл, щоб відтворити аудіо.",error:"Перевірка не вдалася. Спробуйте пізніше.",expired:"Перевірка прострочена. Спробуйте знову.",footer:'Захищено <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (офіційний сайт)">ALTCHA</a>',getAudioChallenge:"Отримати аудіо-челлендж",label:"Я не робот",loading:"Завантаження...",reload:"Перезавантажити",verify:"Перевірити",verificationRequired:"Потрібна перевірка!",verified:"Перевірено",verifying:"Перевіряється...",waitAlert:"Перевірка... будь ласка, зачекайте.",cancel:"Скасувати",enterCodeFromImage:"Щоб продовжити, введіть код із зображення нижче."});globalThis.$altcha.i18n.set("af",{ariaLinkLabel:"Altcha (amptelike webwerf)",enterCode:"Voer kode in",enterCodeAria:"Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",error:"Verifikasie het misluk. Probeer later weer.",expired:"Verifikasie het verval. Probeer weer.",footer:'Beskerm deur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (amptelike webwerf)">ALTCHA</a>',getAudioChallenge:"Kry 'n klankuitdaging",label:"Ek is nie 'n robot nie",loading:"Laai...",reload:"Laai weer",verify:"Verifieer",verificationRequired:"Verifikasie is vereis!",verified:"Geverifieer",verifying:"Verifieer...",waitAlert:"Verifieer... wag asseblief.",cancel:"Kanselleer",enterCodeFromImage:"Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."});globalThis.$altcha.i18n.set("am",{ariaLinkLabel:"Altcha (ዋናው ድህረ ገጽ)",enterCode:"ኮድ አስገባ",enterCodeAria:"የሚሰማዎትን ኮድ ያስገቡ። ድምጽ ለመጫወት Space ን ይጫኑ።",error:"ማረጋገጫ አልተሳካም። በኋላ ላይ እንደገና ይሞክሩ።",expired:"ማረጋገጫው ጊዜው አልፏል። እንደገና ይሞክሩ።",footer:'በ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ዋናው ድህረ ገጽ)">ALTCHA</a> የተጠበቀ',getAudioChallenge:"የድምጽ ፈተና ያግኙ",label:"እኔ ሮቦት አይደለሁም",loading:"በመጫን ላይ...",reload:"እንደገና ጫን",verify:"አረጋግጥ",verificationRequired:"ማረጋገጫ ያስፈልጋል!",verified:"ተረጋግጧል",verifying:"በማረጋገጥ ላይ...",waitAlert:"በማረጋገጥ ላይ... እባክዎ ይጠብቁ።",cancel:"ይቅር",enterCodeFromImage:"ለመቀጠል፣ እባክዎን ከታች ካለው ምስል ኮዱን ያስገቡ።"});globalThis.$altcha.i18n.set("sw",{ariaLinkLabel:"Altcha (tovuti rasmi)",enterCode:"Weka nambari",enterCodeAria:"Weka nambari unayosikia. Bonyeza Space kucheza sauti.",error:"Uthibitishaji umeshindwa. Jaribu tena baadaye.",expired:"Uthibitishaji umeisha. Jaribu tena.",footer:'Imealindwa na <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (tovuti rasmi)">ALTCHA</a>',getAudioChallenge:"Pata changamoto ya sauti",label:"Mimi sio roboti",loading:"Inapakia...",reload:"Pakia tena",verify:"Thibitisha",verificationRequired:"Uthibitishaji unahitajika!",verified:"Imethibitishwa",verifying:"Inathibitisha...",waitAlert:"Inathibitisha... tafadhali subiri.",cancel:"Ghairi",enterCodeFromImage:"Ili kuendelea, tafadhali weka nambari kutoka kwa picha hapa chini."});globalThis.$altcha.i18n.set("yo",{ariaLinkLabel:"Altcha (oju opo wẹẹbu osise)",enterCode:"Tẹ koodu sii",enterCodeAria:"Tẹ koodu ti o ngbọ sii. Tẹ Space lati ṣe ohun orin.",error:"Ìdájọ́kòwò kò ṣẹ́ṣe. Gbiyanju lẹẹkansi 
1ni ọjọ́ iwájú.",expired:"Ìdájọ́kòwò ti pari. Gbiyanju lẹẹkansi.",footer:'Ti wa ni ààbò nipasẹ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oju opo wẹẹbu osise)">ALTCHA</a>',getAudioChallenge:"Gba ìjàdú ohùn",label:"Emi kii ṣe ẹrọ",loading:"Ó ń gbé sílẹ̀...",reload:"Tún gbé wọlé",verify:"Ṣàdájọ́",verificationRequired:"Ìdájọ́kòwò ni a nílò!",verified:"A ti dájọ́",verifying:"Ó ń ṣàdájọ́...",waitAlert:"Ó ń ṣàdájọ́... ẹ jọ̀ọ́ ẹ duro.",cancel:"Fagbọsẹ",enterCodeFromImage:"Lati tẹsiwaju, jọwọ tẹ koodu ti o wa lati aworan isalẹ sii."});globalThis.$altcha.i18n.set("bn",{ariaLinkLabel:"Altcha (অফিসিয়াল ওয়েবসাইট)",enterCode:"কোড লিখুন",enterCodeAria:"আপনি যে কোড শুনতে পান তা লিখুন। অডিও প্লে করতে স্পেস বাটন টিপুন।",error:"যাচাইকরণ ব্যর্থ হয়েছে। পরে আবার চেষ্টা করুন।",expired:"যাচাইকরণ সময়সীমা শেষ হয়েছে। আবার চেষ্টা করুন।",footer:'দ্বারা সুরক্ষিত <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (অফিসিয়াল ওয়েবসাইট)">ALTCHA</a>',getAudioChallenge:"অডিও চ্যালেঞ্জ নিন",label:"আমি রোবট নই",loading:"লোড হচ্ছে...",reload:"পুনরায় লোড করুন",verify:"যাচাই করুন",verificationRequired:"যাচাই প্রয়োজন!",verified:"যাচাই করা হয়েছে",verifying:"যাচাই করা হচ্ছে...",waitAlert:"যাচাই করা হচ্ছে... দয়া করে অপেক্ষা করুন।",cancel:"বাতিল করুন",enterCodeFromImage:"এগিয়ে যেতে, অনুগ্রহ করে নীচের চিত্র থেকে কোডটি প্রবেশ করান।"});globalThis.$altcha.i18n.set("he",{ariaLinkLabel:"Altcha (אתר רשמי)",enterCode:"הזן קוד",enterCodeAria:"הזן את הקוד שאתה שומע. לחץ על רווח להפעלת השמע.",error:"האימות נכשל. נסה שוב מאוחר יותר.",expired:"תוקף האימות פג. נסה שוב.",footer:'מוגן על ידי <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (אתר רשמי)">ALTCHA</a>',getAudioChallenge:"קבל אתגר שמע",label:"אני לא רובוט",loading:"טוען...",reload:"טען מחדש",verify:"אמת",verificationRequired:"נדרש אימות!",verified:"אומת",verifying:"מאמת...",waitAlert:"מבצע אימות... אנא המתן.",cancel:"ביטול",enterCodeFromImage:"כדי להמשיך, אנא הזן את הקוד מהתמונה למטה."});globalThis.$altcha.i18n.set("hi",{ariaLinkLabel:"Altcha (आधिकारिक वेबसाइट)",enterCode:"कोड दर्ज करेंं",enterCodeAria:"आप जो कोड सुनते हैं उसे दर्ज करें। ऑडियो चलाने के लिए स्पेस दबाएं।",error:"सत्यापन विफल। कृपया बाद में फिर से प्रयास करें।",expired:"सत्यापन समाप्त हो गया है। कृपया पुनः प्रयास करें।",footer:'द्वारा संरक्षित <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (आधिकारिक वेबसाइट)">ALTCHA</a>',getAudioChallenge:"ऑडियो चुनौती प्राप्त करें",label:"मैं रोबोट नहीं हूँ",loading:"लोड हो रहा है...",reload:"पुनः लोड करें",verify:"सत्यापित करें",verificationRequired:"सत्यापन आवश्यक है!",verified:"सत्यापित",verifying:"सत्यापित कर रहे हैं...",waitAlert:"सत्यापित किया जा रहा है... कृपया प्रतीक्षा करें।",cancel:"रद्द करें",enterCodeFromImage:"आगे बढ़ने के लिए, कृपया नीचे दी गई छवि से कोड दर्ज करें।"});globalThis.$altcha.i18n.set("id",{ariaLinkLabel:"Altcha (situs web resmi)",enterCode:"Masukkan kode",enterCodeAria:"Masukkan kode yang Anda dengar. Tekan Spasi untuk memutar audio.",error:"Verifikasi gagal. Coba lagi nanti.",expired:"Verifikasi telah kedaluwarsa. Coba lagi.",footer:'Dilindungi oleh <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (situs web resmi)">ALTCHA</a>',getAudioChallenge:"Dapatkan tantangan audio",label:"Saya bukan robot",loading:"Memuat...",reload:"Muat ulang",verify:"Verifikasi",verificationRequired:"Verifikasi diperlukan!",verified:"Terverifikasi",verifying:"Memverifikasi...",waitAlert:"Memverifikasi... harap tunggu.",cancel:"Batal",enterCodeFromImage:"Untuk melanjutkan, silakan masukkan kode dari gambar di bawah ini."});globalThis.$altcha.i18n.set("ja",{ariaLinkLabel:"Altcha (公式ウェブサイト)",enterCode:"コードを入力",enterCodeAria:"聞こえるコードを入力してください。スペースキーを押して音声を再生します。",error:"認証に失敗しました。後でもう一度試してください。",expired:"認証が期限切れです。再試行してください。",footer
1:'保護されています <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (公式ウェブサイト)">ALTCHA</a>',getAudioChallenge:"音声チャレンジを取得",label:"私はロボットではありません",loading:"読み込み中...",reload:"再読み込み",verify:"確認",verificationRequired:"認証が必要です!",verified:"確認済み",verifying:"確認中...",waitAlert:"確認中...少々お待ちください。",cancel:"キャンセル",enterCodeFromImage:"続行するには、以下の画像からコードを入力してください。"});globalThis.$altcha.i18n.set("ko",{ariaLinkLabel:"Altcha (공식 웹사이트)",enterCode:"코드 입력",enterCodeAria:"들리는 코드를 입력하세요. 스페이스 바를 눌러 오디오를 재생합니다.",error:"인증 실패. 나중에 다시 시도해주세요.",expired:"인증이 만료되었습니다. 다시 시도해주세요.",footer:'ALTCHA에서 보호됨 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (공식 웹사이트)">ALTCHA</a>',getAudioChallenge:"오디오 챌린지 받기",label:"저는 로봇이 아닙니다",loading:"로딩 중...",reload:"새로 고침",verify:"확인",verificationRequired:"인증이 필요합니다!",verified:"확인됨",verifying:"확인 중...",waitAlert:"확인 중... 잠시만 기다려주세요.",cancel:"취소",enterCodeFromImage:"계속 진행하려면 아래 이미지에서 코드를 입력하세요."});globalThis.$altcha.i18n.set("kk",{ariaLinkLabel:"Altcha (ресми веб-сайт)",enterCode:"Кодты енгізіңіз",enterCodeAria:"Естіген кодыңызды енгізіңіз. Аудионы ойнату үшін Бос орынды басыңыз.",error:"Тексеру сәтсіз аяқталды. Кейінірек қайталаңыз.",expired:"Тексеру мерзімі аяқталды. Қайталаңыз.",footer:'<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ресми веб-сайт)">ALTCHA</a> қорғайды',getAudioChallenge:"Аудио сынақ алу",label:"Мен робот емеспін",loading:"Жүктелуде...",reload:"Қайта жүктеу",verify:"Тексеру",verificationRequired:"Тексеру талап етіледі!",verified:"Тексерілді",verifying:"Тексеруде...",waitAlert:"Тексерілуде... күте тұрыңыз.",cancel:"Болдыру",enterCodeFromImage:"Жалғастыру үшін төмендегі суреттегі кодты енгізіңіз."});globalThis.$altcha.i18n.set("mr",{ariaLinkLabel:"Altcha (अधिकृत संकेतस्थळ)",enterCode:"कोड टाकाा",enterCodeAria:"तुम्ही ऐकत असलेला कोड टाका. ऑडिओ प्ले करण्यासाठी स्पेस दाबा.",error:"पुष्टीकरण अयशस्वी झाले. कृपया नंतर पुन्हा प्रयत्न करा.",expired:"पुष्टीकरण कालबाह्य झाले आहे. कृपया पुन्हा प्रयत्न करा.",footer:'द्वारे संरक्षित <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (अधिकृत संकेतस्थळ)">ALTCHA</a>',getAudioChallenge:"ऑडिओ चॅलेंज मिळवा",label:"मी रोबोट नाही",loading:"लोड होत आहे...",reload:"पुन्हा लोड करा",verify:"पुष्टीकरण करा",verificationRequired:"पडताळणी आवश्यक आहे!",verified:"पुष्टीकरण झाले",verifying:"पुष्टीकरण करत आहे...",waitAlert:"पुष्टीकरण करत आहे... कृपया थोडा वेळ थांबा.",cancel:"रद्द करा",enterCodeFromImage:"पुढे जाण्यासाठी, कृपया खालील प्रतिमेतील कोड प्रविष्ट करा."});globalThis.$altcha.i18n.set("ta",{ariaLinkLabel:"Altcha (அதிகாரப்ப
1ூர்வ வலைத்தளம்)",enterCode:"குறியீட்டை உள்ளிடவும்",enterCodeAria:"நீங்கள் கேட்கும் குறியீட்டை உள்ளிடவும். ஆடியோவை இயக்க Space ஐ அழுத்தவும்.",error:"சரிபார்ப்பு தோல்வி. பிறகு மீண்டும் முயற்சிக்கவும்.",expired:"சரிபார்ப்பு காலாவதியானது. மீண்டும் முயற்சிக்கவும்.",footer:'மூலமாக பாதுகாக்கப்பட்டவை <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (அதிகாரப்பூர்வ வலைத்தளம்)">ALTCHA</a>',getAudioChallenge:"ஒலி சவாலை பெறவும்",label:"நான் ரோபோடான அல்ல",loading:"செயலாக்கம்...",reload:"மீண்டும் புதுப்பிக்கவும்",verify:"சரிபார்க்கவும்",verificationRequired:"சரிபார்ப்பு தேவை!",verified:"சரிபார்க்கப்பட்டது",verifying:"சரிபார்க்கப்படுகிறது...",waitAlert:"சரிபார்க்கப்படுகிறது... தயவுசெய்து காத்திருக்கவும்.",cancel:"ரத்துசெய்",enterCodeFromImage:"தொடர, கீழே உள்ள படத்திலிருந்து குறியீட்டை உள்ளிடவும்."});globalThis.$altcha.i18n.set("te",{ariaLinkLabel:"Altcha (అధికారిక వెబ్‌సైట్)",enterCode:"కోడ్‌ని నమోదు చేయండి",enterCodeAria:"మీరు విన్న కోడ్‌ని నమోదు చేయండి. ఆడియో ప్లే చేయడానికి స్పేస్‌ను నొక్కండి.",error:"చెకింగ్ విఫలమైంది. దయచేసి మరల ప్రయత్నించండి.",expired:"చెకింగ్ కాలం ముగిసింది. దయచేసి మరల ప్రయత్నించండి.",footer:'ఈ సైట్ రక్షించబడింది <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (అధికారిక వెబ్‌సైట్)">ALTCHA</a>',getAudioChallenge:"ఆడియో ఛాలెంజ్ పొందండి",label:"నేను రోబోట్ కాదు",loading:"లోడ్ అవుతోంది...",reload:"మళ్ళీ లోడ్ చేయండి",verify:"ధ్రువీకరించు",verificationRequired:"ధృవీకరణ అవసరం!",verified:"ధ్రువీకరించబడింది",verifying:"ధ్రువీకరణ జరుగుతుంది...",waitAlert:"ధ్రువీకరణ జరుగుతుంది... దయచేసి వేచి ఉండండి.",cancel:"రద్దు చేయండి",enterCodeFromImage:"కొనసాగడానికి, దయచేసి క్రింది చిత్రంలో ఉన్న కోడ్‌ను నమోదు చేయండి."});globalThis.$altcha.i18n.set("th",{ariaLinkLabel:"Altcha (เว็บไซต์ทางการ)",enterCode:"ป้อนรหัส",enterCodeAria:"ป้อนรหัสที่คุณได้ยิน กด Space เพื่อเล่นเสียง",error:"การตรวจสอบล้มเหลว กรุณาลองอีกครั้งภายหลัง",expired:"การตรวจสอบหมดอายุ กรุณาลองใหม่",footer:'ป้องกันโดย <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (เว็บไซต์ทางการ)">ALTCHA</a>',getAudioChallenge:"รับการท้าทายเสียง",label:"ฉันไม่ใช่บอท",loading:"กำลังโหลด...",reload:"โหลดใหม่",verify:"ตรวจสอบ",verificationRequired:"จำเป็นต้องตรวจสอบ!",verified:"ตรวจสอบแล้ว",verifying:"กำลังตรวจสอบ...",waitAlert:"กำลังตรวจสอบ... กรุณารอ",cancel:"ยกเลิก",enterCodeFromImage:"เพื่อดำเนินการต่อ โปรดป้อนรหัสจากรูปภาพด้านล่าง"});globalThis.$altcha.i18n.set("ur",{ariaLinkLabel:"Altcha (سرکاری ویب سائٹ)",enterCode:"کوڈ درج کریں",enterCodeAria:"جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائی
1ں۔",error:"توثیق ناکام ہو گئی۔ براہ کرم بعد میں دوبارہ کوشش کریں۔",expired:"توثیق کی مدت ختم ہو گئی ہے۔ براہ کرم دوبارہ کوشش کریں۔",footer:'کے ذریعے محفوظ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (سرکاری ویب سائٹ)">ALTCHA</a>',getAudioChallenge:"آڈیو چیلنج حاصل کریں",label:"میں روبوٹ نہیں ہوں",loading:"لوڈ ہو رہا ہے...",reload:"دوبارہ لوڈ کریں",verify:"توثیق کریں",verificationRequired:"تصدیق ضروری ہے!",verified:"توثیق شدہ",verifying:"توثیق ہو رہی ہے...",waitAlert:"توثیق ہو رہی ہے... براہ کرم انتظار کریں۔",cancel:"منسوخ کریں",enterCodeFromImage:"اگلے مرحلے پر جانے کے لیے، براہ کرم نیچے دی گئی تصویر سے کوڈ درج کریں۔"});globalThis.$altcha.i18n.set("uz",{ariaLinkLabel:"Altcha (rasmiy veb-sayt)",enterCode:"Kodni kiriting",enterCodeAria:"Eshitgan kodingizni kiriting. Audioni ijro etish uchun Bo'sh joy tugmasini bosing.",error:"Tekshiruv muvaffaqiyatsiz tugadi. Keyinroq qayta urinib ko'ring.",expired:"Tekshiruv muddati tugadi. Qayta urinib ko'ring.",footer:'<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (rasmiy veb-sayt)">ALTCHA</a> tomonidan himoyalangan',getAudioChallenge:"Audio sinovni olish",label:"Men robot emasman",loading:"Yuklanmoqda...",reload:"Qayta yuklash",verify:"Tekshirish",verificationRequired:"Tekshiruv talab qilinadi!",verified:"Tekshirildi",verifying:"Tekshirilmoqda...",waitAlert:"Tekshirilmoqda... iltimos kuting.",cancel:"Bekor qilish",enterCodeFromImage:"Davom etish uchun, iltimos, quyidagi rasmda ko'rsatilgan kodni kiriting."});globalThis.$altcha.i18n.set("vi",{ariaLinkLabel:"Altcha (trang web chính thức)",enterCode:"Nhập mã",enterCodeAria:"Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",error:"Xác minh thất bại. Vui lòng thử lại sau.",expired:"Xác minh đã hết hạn. Vui lòng thử lại.",footer:'Được bảo vệ bởi <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (trang web chính thức)">ALTCHA</a>',getAudioChallenge:"Nhận thử thách âm thanh",label:"Tôi không phải là robot",loading:"Đang tải...",reload:"Tải lại",verify:"Xác minh",verificationRequired:"Yêu cầu xác minh!",verified:"Đã xác minh",verifying:"Đang xác minh...",waitAlert:"Đang xác minh... vui lòng chờ.",cancel:"Hủy bỏ",enterCodeFromImage:"Để tiếp tục, vui lòng nhập mã từ hình ảnh bên dưới."});globalThis.$altcha.i18n.set("zh-cn",{ariaLinkLabel:"Altcha (官方网站)",enterCode:"输入代码",enterCodeAria:"输入您听到的代码。按空格键播放音频。",error:"验证失败。稍后再试。",expired:"验证已过期。请重试。",footer:'由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方网站)">ALTCHA</a> 保护',getAudioChallenge:"获取音频挑战",label:"我不是机器人",loading:"加载中...",reload:"重新加载",verify:"验证",verificationRequired:"需要验证!",verified:"已验证",verifying:"正在验证...",waitAlert:"正在验证... 请稍等。",cancel:"取消",enterCodeFromImage:"为继续操作,请输入下图中显示的验证码。"});globalThis.$altcha.i18n.set("zh-hk",{ariaLinkLabel:"Altcha (官方網站)",cancel:"取消",enterCode:"輸入代碼",enterCodeAria:"輸入你聽到嘅代碼。按空格鍵播放音訊。",enterCodeFromImage:"要繼續,請輸入下面圖片入面嘅代碼。",error:"驗證失敗。請稍後再試。",expired:"驗證已過期。請再試一次。",footer:'由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方網站)">ALTCHA</a> 提供保護',getAudioChallenge:"取得音訊驗證",label:"我唔係機械人",loading:"載入中...",reload:"重新載入",verify:"驗證",verificationRequired:"需要驗證!",verified:"已驗證",verifying:"驗證中...",waitAlert:"驗證中... 請稍候。"});globalThis.$altcha.i18n.set("zh-tw",{ariaLinkLabel:"Altcha (官方網站)",enterCode:"輸入代碼",enterCodeAria:"輸入您聽到的代碼。按空格鍵播放音頻。",error:"驗證失敗。稍後再試。",expired:"驗證已過期。請重試。",footer
vendor: 5,263 bytes, line 1
1:'由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方網站)">ALTCHA</a> 保護',getAudioChallenge:"獲取音頻挑戰",label:"我不是機器人",loading:"載入中...",reload:"重新載入",verify:"驗證",verificationRequired:"需要驗證!",verified:"已驗證",verifying:"正在驗證...",waitAlert:"正在驗證... 請稍等。",cancel:"取消",enterCodeFromImage:"若要繼續,請輸入下方的圖片驗證碼。"}),function(){function t(e,t){if(t.length>e.length)return!1;for(let i=0;i<t.length;i++)if(e[i]!==t[i])return!1;return!0}function i(e){return Array.from(new Uint8Array(e)).map(e=>e.toString(16).padStart(2,"0")).join("")}function n(e){if(e.length%2!=0)throw new Error(`Hex string must have an even length. Got: ${e}`);const t=new ArrayBuffer(e.length/2),i=new DataView(t);for(let t=0;t<e.length;t+=2){const n=e.substring(t,t+2),a=parseInt(n,16);i.setUint8(t/2,a)}return new Uint8Array(t)}async function a(e){await new Promise(t=>setTimeout(t,e))}function r(e){return Math.floor(10*(performance.now()-e))/10}class o{constructor(e,t="uint32"){this.nonce=e,this.mode=t,this.buffer=new Uint8Array(this.nonce.length+this.COUNTER_BYTES),this.buffer.set(this.nonce,0),this.dataView=new DataView(this.buffer.buffer)}nonce;mode;COUNTER_BYTES=4;buffer;dataView;encoder=new TextEncoder;setCounter(e){return"string"===this.mode?function(e,t){const i=new Uint8Array(e.length+t.length);return i.set(e,0),i.set(t,e.length),i}(this.nonce,this.encoder.encode(e.toString())):(this.dataView.setUint32(this.nonce.length,e,!1),this.buffer)}}function l(e,t,i,n){return new(i||(i=Promise))(function(t,a){function r(e){try{l(n.next(e))}catch(e){a(e)}}function o(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var n;e.done?t(e.value):(n=e.value,n instanceof i?n:new i(function(e){e(n)})).then(r,o)}l((n=n.apply(e,[])).next())})}"function"==typeof SuppressedError&&SuppressedError;class s{constructor(){this.mutex=Promise.resolve()}lock(){let e=()=>{};return this.mutex=this.mutex.then(()=>new Promise(e)),new Promise(t=>{e=t})}dispatch(e){return l(this,0,void 0,function*(){const t=yield this.lock();try{return yield Promise.resolve(e())}finally{t()}})}}var c;const h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e.g,d=null!==(c=h.Buffer)&&void 0!==c?c:null,A=h.TextEncoder?new h.TextEncoder:null;function f(e,t){return(15&e)+(e>>6|e>>3&8)<<4|(15&t)+(t>>6|t>>3&8)}function u(e,t){const i=t.length>>1;for(let n=0;n<i;n++){const i=n<<1;e[n]=f(t.charCodeAt(i),t.charCodeAt(i+1))}}const g="a".charCodeAt(0)-10,I="0".charCodeAt(0);function p(e,t,i){let n=0;for(let a=0;a<i;a++){let i=t[a]>>>4;e[n++]=i>9?i+g:i+I,i=15&t[a],e[n++]=i>9?i+g:i+I}return String.fromCharCode.apply(null,e)}const v=null!==d?e=>{if("string"==typeof e){const t=d.from(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.length)}if(d.isBuffer(e))return new Uint8Array(e.buffer,e.byteOffset,e.length);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Invalid data type!")}:e=>{if("string"==typeof e)return A.encode(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Invalid data type!")},C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=new Uint8Array(256);for(let e=0;e<64;e++)b[C.charCodeAt(e)]=e;function w(e,t=!0){const i=e.length,n=i%3,a=[],r=i-n;for(let t=0;t<r;t+=3){const i=(e[t]<<16&16711680)+(e[t+1]<<8&65280)+(255&e[t+2]),n=C.charAt(i>>18&63)+C.charAt(i>>12&63)+C.charAt(i>>6&63)+C.charAt(63&i);a.push(n)}if(1===n){const n=e[i-1],r=C.charAt(n>>2),o=C.charAt(n<<4&63);a.push(`${r}${o}`),t&&a.push("==")}else if(2===n){const n=(e[i-2]<<8)+e[i-1],r=C.charAt(n>>10),o=C.charAt(n>>4&63),l=C.charAt(n<<2&63);a.push(`${r}${o}${l}`),t&&a.push("=")}return a.join("")}function m(e){const t=function(e){let t=Math.floor(.75*e.length);const i=e.length;return"="===e[i-1]&&(t-=1,"="===e[i-2]&&(t-=1)),t}(e),i=e.length,n=new Uint8Array(t);let a=0;for(let t=0;t<i;t+=4){const i=b[e.charCodeAt(t)],r=b[e.charCodeAt(t+1)],o=b[e.charCodeAt(t+2)],l=b[e.charCodeAt(t+3)];n[a]=i<<2|r>>4,a+=1,n[a]=(15&r)<<4|o>>2,a+=1,n[a]=(3&o)<<6|63&l,a+=1}return n}const k=16384,y=new s,Q=new Map;function B(e,t){return l(this,0,void 0,function*(){let i=null,n=null,a=!1;if("undefined"==typeof WebAssembly)throw new Error("WebAssembly is not supported in this environment!");const r=()=>new DataView(i.exports.memory.buffer).getUint32(i.exports.STATE_SIZE,!0),o=y.dispatch(()=>l(this,0,void 0,function*(){if(!Q.has(e.name)){const t=m(e.data),i=WebAssembly.compile(t);Q.set(e.name,i)}const t=yield Q.get(e.name);i=yield WebAssembly.instantiate(t,{})})),s=(e=null)=>{a=!0,i.exports.Hash_Init(e)},c=e=>{if(!a)throw new Error("update() called before init()");(e=>{let t=0;for(;t<e.length;){const a=e.subarray(t,t+k);t+=a.length,n.set(a),i.exports.Hash_Update(a.length)}})(v(e))},h=new Uint8Array(2*t),d=(e,r=null)=>{if(!a)throw new Error("digest() called before init()");return a=!1,i.exports.Hash_Final(r),"binary"===e?n.slice(0,t):p(h,n,t)},A=e=>"string"==typeof e?e.length<4096:e.byteLength<k;let g=A;switch(e.name){case"argon2":case"scrypt":g=()=>!0;break;case"blake2b":case"blake2s":g=(e,t)=>
vendor: 4,571 bytes, line 1
1t<=512&&A(e);break;case"blake3":g=(e,t)=>0===t&&A(e);break;case"xxhash64":case"xxhash3":case"xxhash128":case"crc64":g=()=>!1}return yield(()=>l(this,0,void 0,function*(){i||(yield o);const e=i.exports.Hash_GetBuffer(),t=i.exports.memory.buffer;n=new Uint8Array(t,e,k)}))(),{getMemory:()=>n,writeMemory:(e,t=0)=>{n.set(e,t)},getExports:()=>i.exports,setMemorySize:e=>{i.exports.Hash_SetMemorySize(e);const t=i.exports.Hash_GetBuffer(),a=i.exports.memory.buffer;n=new Uint8Array(a,t,e)},init:s,update:c,digest:d,save:()=>{if(!a)throw new Error("save() can only be called after init() and before digest()");const t=i.exports.Hash_GetState(),n=r(),o=i.exports.memory.buffer,l=new Uint8Array(o,t,n),s=new Uint8Array(4+n);return u(s,e.hash),s.set(l,4),s},load:t=>{if(!(t instanceof Uint8Array))throw new Error("load() expects an Uint8Array generated by save()");const n=i.exports.Hash_GetState(),o=r(),l=4+o,s=i.exports.memory.buffer;if(t.length!==l)throw new Error(`Bad state length (expected ${l} bytes, got ${t.length})`);if(!function(e,t){if(e.length!==2*t.length)return!1;for(let i=0;i<t.length;i++){const n=i<<1;if(t[i]!==f(e.charCodeAt(n),e.charCodeAt(n+1)))return!1}return!0}(e.hash,t.subarray(0,4)))throw new Error("This state was written by an incompatible hash implementation");const c=t.subarray(4);new Uint8Array(s,n,o).set(c),a=!0},calculate:(e,a=null,r=null)=>{if(!g(e,a))return s(a),c(e),d("hex",r);const o=v(e);return n.set(o),i.exports.Hash_Calculate(o.length,a,r),p(h,n,t)},hashLength:t}})}new s;var E={name:"argon2",data:"AGFzbQEAAAABKQVgAX8Bf2AAAX9gEH9/f39/f39/f39/f39/f38AYAR/f39/AGACf38AAwYFAAECAwQFBgEBAoCAAgYIAX8BQZCoBAsHQQQGbWVtb3J5AgASSGFzaF9TZXRNZW1vcnlTaXplAAAOSGFzaF9HZXRCdWZmZXIAAQ5IYXNoX0NhbGN1bGF0ZQAECvEyBVgBAn9BACEBAkAgAEEAKAKICCICRg0AAkAgACACayIAQRB2IABBgIB8cSAASWoiAEAAQX9HDQBB/wHADwtBACEBQQBBACkDiAggAEEQdK18NwOICAsgAcALcAECfwJAQQAoAoAIIgANAEEAPwBBEHQiADYCgAhBACgCiAgiAUGAgCBGDQACQEGAgCAgAWsiAEEQdiAAQYCAfHEgAElqIgBAAEF/Rw0AQQAPC0EAQQApA4gIIABBEHStfDcDiAhBACgCgAghAAsgAAvcDgECfiAAIAQpAwAiECAAKQMAIhF8IBFCAYZC/v///x+DIBBC/////w+DfnwiEDcDACAMIBAgDCkDAIVCIIkiEDcDACAIIBAgCCkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgBCAQIAQpAwCFQiiJIhA3AwAgACAQIAApAwAiEXwgEEL/////D4MgEUIBhkL+////H4N+fCIQNwMAIAwgECAMKQMAhUIwiSIQNwMAIAggECAIKQMAIhF8IBBC/////w+DIBFCAYZC/v///x+DfnwiEDcDACAEIBAgBCkDAIVCAYk3AwAgASAFKQMAIhAgASkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDSAQIA0pAwCFQiCJIhA3AwAgCSAQIAkpAwAiEXwgEUIBhkL+////H4MgEEL/////D4N+fCIQNwMAIAUgECAFKQMAhUIoiSIQNwMAIAEgECABKQMAIhF8IBBC/////w+DIBFCAYZC/v///x+DfnwiEDcDACANIBAgDSkDAIVCMIkiEDcDACAJIBAgCSkDACIRfCAQQv////8PgyARQgGGQv7///8fg358IhA3AwAgBSAQIAUpAwCFQgGJNwMAIAIgBikDACIQIAIpAwAiEXwgEUIBhkL+////H4MgEEL/////D4N+fCIQNwMAIA4gECAOKQMAhUIgiSIQNwMAIAogECAKKQMAIhF8IBFCAYZC/v///x+DIBBC/////w+DfnwiEDcDACAGIBAgBikDAIVCKIkiEDcDACACIBAgAikDACIRfCAQQv////8PgyARQgGGQv7///8fg358IhA3AwAgDiAQIA4pAwCFQjCJIhA3AwAgCiAQIAopAwAiEXwgEEL/////D4MgEUIBhkL+////H4N+fCIQNwMAIAYgECAGKQMAhUIBiTcDACADIAcpAwAiECADKQMAIhF8IBFCAYZC/v///x+DIBBC/////w+DfnwiEDcDACAPIBAgDykDAIVCIIkiEDcDACALIBAgCykDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgByAQIAcpAwCFQiiJIhA3AwAgAyAQIAMpAwAiEXwgEEL/////D4MgEUIBhkL+////H4N+fCIQNwMAIA8gECAPKQMAhUIwiSIQNwMAIAsgECALKQMAIhF8IBBC/////w+DIBFCAYZC/v///x+DfnwiEDcDACAHIBAgBykDAIVCAYk3AwAgACAFKQMAIhAgACkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDyAQIA8pAwCFQiCJIhA3AwAgCiAQIAopAwAiEXwgEUIBhkL+////H4MgEEL/////D4N+fCIQNwMAIAUgECAFKQMAhUIoiSIQNwMAIAAgECAAKQMAIhF8IBBC/////w+DIBFCAYZC/v///x+DfnwiEDcDACAPIBAgDykDAIVCMIkiEDcDACAKIBAgCikDACIRfCAQQv////8PgyARQgGGQv7///8fg358IhA3AwAgBSAQIAUpAwCFQgGJNwMAIAEgBikDACIQIAEpAwAiEXwgEUIBhkL+////H4MgEEL/////D4N+fCIQNwMAIAwgECAMKQMAhUIgiSIQNwMAIAsgECALKQMAIhF8IBFCAYZC/v///x+DIBBC/////w+DfnwiEDcDACAGIBAgBikDAIVCKIkiEDcDACABIBAgASkDACIRfCAQQv////8PgyARQgGGQv7///8fg358IhA3AwAgDCAQIAwpAwCFQjCJIhA3AwAgCyAQIAspAwAiEXwgEEL/////D4MgEUIBhkL+////H4N+fCIQNwMAIAYgECAGKQMAhUIBiTcDACACIAcpAwAiECACKQMAIhF8IBFCAYZC/v///x+DIBBC/////w+DfnwiEDcDACANIBAgDSkDAIVCIIkiEDcDACAIIBAgCCkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgByAQIAcpAwCFQiiJIhA3AwAgAiAQIAIpAwAiEXwgEEL/////D4MgEUIBhkL+////H4N+fCIQNwMAIA0gECANKQMAhUIwiSIQNwMAIAggECAIKQMAIhF8IBBC/////w+DIBFCAYZC/v///x+DfnwiEDcDACAHIBAgBykDAIVCAYk3AwAgAyAEKQMAIhAgAykDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDiAQIA4pAwCFQiCJIhA3AwAgCSAQIAkpAwAiEXwgEUIBhkL+////H4MgEEL/////D4N+fCIQNwMAIAQgECAEKQMAhUIoiSIQNwMAIAMgECADKQMAIhF8IBBC/////w+DIBFCAYZC/v///x+DfnwiEDcDACAOIBAgDikDAIVCMIkiEDcDACAJIBAgCSkDACIRfCAQQv////8PgyARQgGGQv7///8fg358IhA3AwAgBCAQIAQpAwCFQgGJNwMAC98aAQN/QQAhBEEAIAIpAwAgASkDAIU3A5AIQQAgAikDCCABKQMIhTc
1DmAhBACACKQMQIAEpAxCFNwOgCEEAIAIpAxggASkDGIU3A6gIQQAgAikDICABKQMghTcDsAhBACACKQMoIAEpAyiFNwO4CEEAIAIpAzAgASkDMIU3A8AIQQAgAikDOCABKQM4hTcDyAhBACACKQNAIAEpA0CFNwPQCEEAIAIpA0ggASkDSIU3A9gIQQAgAikDUCABKQNQhTcD4AhBACACKQNYIAEpA1iFNwPoCEEAIAIpA2AgASkDYIU3A/AIQQAgAikDaCABKQNohTcD+AhBACACKQNwIAEpA3CFNwOACUEAIAIpA3ggASkDeIU3A4gJQQAgAikDgAEgASkDgAGFNwOQCUEAIAIpA4gBIAEpA4gBhTcDmAlBACACKQOQASABKQOQAYU3A6AJQQAgAikDmAEgASkDmAGFNwOoCUEAIAIpA6ABIAEpA6ABhTcDsAlBACACKQOoASABKQOoAYU3A7gJQQAgAikDsAEgASkDsAGFNwPACUEAIAIpA7gBIAEpA7gBhTcDyAlBACACKQPAASABKQPAAYU3A9AJQQAgAikDyAEgASkDyAGFNwPYCUEAIAIpA9ABIAEpA9ABhTcD4AlBACACKQPYASABKQPYAYU3A+gJQQAgAikD4AEgASkD4AGFNwPwCUEAIAIpA+gBIAEpA+gBhTcD+AlBACACKQPwASABKQPwAYU3A4AKQQAgAikD+AEgASkD+AGFNwOICkEAIAIpA4ACIAEpA4AChTcDkApBACACKQOIAiABKQOIAoU3A5gKQQAgAikDkAIgASkDkAKFNwOgCkEAIAIpA5gCIAEpA5gChTcDqApBACACKQOgAiABKQOgAoU3A7AKQQAgAikDqAIgASkDqAKFNwO4CkEAIAIpA7ACIAEpA7AChTcDwApBACACKQO4AiABKQO4AoU3A8gKQQAgAikDwAIgASkDwAKFNwPQCkEAIAIpA8gCIAEpA8gChTcD2ApBACACKQPQAiABKQPQAoU3A+AKQQAgAikD2AIgASkD2AKFNwPoCkEAIAIpA+ACIAEpA+AChTcD8ApBACACKQPoAiABKQPoAoU3A/gKQQAgAikD8AIgASkD8AKFNwOAC0EAIAIpA/gCIAEpA/gChTcDiAtBACACKQOAAyABKQOAA4U3A5ALQQAgAikDiAMgASkDiAOFNwOYC0EAIAIpA5ADIAEpA5ADhTcDoAtBACACKQOYAyABKQOYA4U3A6gLQQAgAikDoAMgASkDoAOFNwOwC0EAIAIpA6gDIAEpA6gDhTcDuAtBACACKQOwAyABKQOwA4U3A8ALQQAgAikDuAMgASkDuAOFNwPIC0EAIAIpA8ADIAEpA8ADhTcD0AtBACACKQPIAyABKQPIA4U3A9gLQQAgAikD0AMgASkD0AOFNwPgC0EAIAIpA9gDIAEpA9gDhTcD6AtBACACKQPgAyABKQPgA4U3A/ALQQAgAikD6AMgASkD6AOFNwP4C0EAIAIpA/ADIAEpA/ADhTcDgAxBACACKQP4AyABKQP4A4U3A4gMQQAgAikDgAQgASkDgASFNwOQDEEAIAIpA4gEIAEpA4gEhTcDmAxBACACKQOQBCABKQOQBIU3A6AMQQAgAikDmAQgASkDmASFNwOoDEEAIAIpA6AEIAEpA6AEhTcDsAxBACACKQOoBCABKQOoBIU3A7gMQQAgAikDsAQgASkDsASFNwPADEEAIAIpA7gEIAEpA7gEhTcDyAxBACACKQPABCABKQPABIU3A9AMQQAgAikDyAQgASkDyASFNwPYDEEAIAIpA9AEIAEpA9AEhTcD4AxBACACKQPYBCABKQPYBIU3A+gMQQAgAikD4AQgASkD4ASFNwPwDEEAIAIpA+gEIAEpA+gEhTcD+AxBACACKQPwBCABKQPwBIU3A4ANQQAgAikD+AQgASkD+ASFNwOIDUEAIAIpA4AFIAEpA4AFhTcDkA1BACACKQOIBSABKQOIBYU3A5gNQQAgAikDkAUgASkDkAWFNwOgDUEAIAIpA5gFIAEpA5gFhTcDqA1BACACKQOgBSABKQOgBYU3A7ANQQAgAikDqAUgASkDqAWFNwO4DUEAIAIpA7AFIAEpA7AFhTcDwA1BACACKQO4BSABKQO4BYU3A8gNQQAgAikDwAUgASkDwAWFNwPQDUEAIAIpA8gFIAEpA8gFhTcD2A1BACACKQPQBSABKQPQBYU3A+ANQQAgAikD2AUgASkD2AWFNwPoDUEAIAIpA+AFIAEpA+AFhTcD8A1BACACKQPoBSABKQPoBYU3A/gNQQAgAikD8AUgASkD8AWFNwOADkEAIAIpA/gFIAEpA/gFhTcDiA5BACACKQOABiABKQOABoU3A5AOQQAgAikDiAYgASkDiAaFNwOYDkEAIAIpA5AGIAEpA5AGhTcDoA5BACACKQOYBiABKQOYBoU3A6gOQQAgAikDoAYgASkDoAaFNwOwDkEAIAIpA6gGIAEpA6gGhTcDuA5BACACKQOwBiABKQOwBoU3A8AOQQAgAikDuAYgASkDuAaFNwPIDkEAIAIpA8AGIAEpA8AGhTcD0A5BACACK
1QPIBiABKQPIBoU3A9gOQQAgAikD0AYgASkD0AaFNwPgDkEAIAIpA9gGIAEpA9gGhTcD6A5BACACKQPgBiABKQPgBoU3A/AOQQAgAikD6AYgASkD6AaFNwP4DkEAIAIpA/AGIAEpA/AGhTcDgA9BACACKQP4BiABKQP4BoU3A4gPQQAgAikDgAcgASkDgAeFNwOQD0EAIAIpA4gHIAEpA4gHhTcDmA9BACACKQOQByABKQOQB4U3A6APQQAgAikDmAcgASkDmAeFNwOoD0EAIAIpA6AHIAEpA6AHhTcDsA9BACACKQOoByABKQOoB4U3A7gPQQAgAikDsAcgASkDsAeFNwPAD0EAIAIpA7gHIAEpA7gHhTcDyA9BACACKQPAByABKQPAB4U3A9APQQAgAikDyAcgASkDyAeFNwPYD0EAIAIpA9AHIAEpA9AHhTcD4A9BACACKQPYByABKQPYB4U3A+gPQQAgAikD4AcgASkD4AeFNwPwD0EAIAIpA+gHIAEpA+gHhTcD+A9BACACKQPwByABKQPwB4U3A4AQQQAgAikD+AcgASkD+AeFNwOIEEGQCEGYCEGgCEGoCEGwCEG4CEHACEHICEHQCEHYCEHgCEHoCEHwCEH4CEGACUGICRACQZAJQZgJQaAJQagJQbAJQbgJQcAJQcgJQdAJQdgJQeAJQegJQfAJQfgJQYAKQYgKEAJBkApBmApBoApBqApBsApBuApBwApByApB0ApB2ApB4ApB6ApB8ApB+ApBgAtBiAsQAkGQC0GYC0GgC0GoC0GwC0G4C0HAC0HIC0HQC0HYC0HgC0HoC0HwC0H4C0GADEGIDBACQZAMQZgMQaAMQagMQbAMQbgMQcAMQcgMQdAMQdgMQeAMQegMQfAMQfgMQYANQYgNEAJBkA1BmA1BoA1BqA1BsA1BuA1BwA1ByA1B0A1B2A1B4A1B6A1B8A1B+A1BgA5BiA4QAkGQDkGYDkGgDkGoDkGwDkG4DkHADkHIDkHQDkHYDkHgDkHoDkHwDkH4DkGAD0GIDxACQZAPQZgPQaAPQagPQbAPQbgPQcAPQcgPQdAPQdgPQeAPQegPQfAPQfgPQYAQQYgQEAJBkAhBmAhBkAlBmAlBkApBmApBkAtBmAtBkAxBmAxBkA1BmA1BkA5BmA5BkA9BmA8QAkGgCEGoCEGgCUGoCUGgCkGoCkGgC0GoC0GgDEGoDEGgDUGoDUGgDkGoDkGgD0GoDxACQbAIQbgIQbAJQbgJQbAKQbgKQbALQbgLQbAMQbgMQbANQbgNQbAOQbgOQbAPQbgPEAJBwAhByAhBwAlByAlBwApByApBwAtByAtBwAxByAxBwA1ByA1BwA5ByA5BwA9ByA8QAkHQCEHYCEHQCUHYCUHQCkHYCkHQC0HYC0HQDEHYDEHQDUHYDUHQDkHYDkHQD0HYDxACQeAIQegIQeAJQegJQeAKQegKQeALQegLQeAMQegMQeANQegNQeAOQegOQeAPQegPEAJB8AhB+AhB8AlB+AlB8ApB+ApB8AtB+AtB8AxB+AxB8A1B+A1B8A5B+A5B8A9B+A8QAkGACUGICUGACkGICkGAC0GIC0GADEGIDEGADUGIDUGADkGIDkGAD0GID0GAEEGIEBACAkACQCADRQ0AA0AgACAEaiIDIAIgBGoiBSkDACABIARqIgYpAwCFIARBkAhqKQMAhSADKQMAhTcDACADQQhqIgMgBUEIaikDACAGQQhqKQMAhSAEQZgIaikDAIUgAykDAIU3AwAgBEEQaiIEQYAIRw0ADAILC0EAIQQDQCAAIARqIgMgAiAEaiIFKQMAIAEgBGoiBikDAIUgBEGQCGopAwCFNwMAIANBCGogBUEIaikDACAGQQhqKQMAhSAEQZgIaikDAIU3AwAgBEEQaiIEQYAIRw0ACwsL5QcMBX8BfgR/An4BfwF+AX8Bfgd/AX4DfwF+AkBBACgCgAgiAiABQQp0aiIDKAIIIAFHDQAgAygCDCEEIAMoAgAhBUEAIAMoAhQiBq03A7gQQQAgBK0iBzcDsBBBACAFIAEgBUECdG4iCGwiCUECdK03A6gQAkACQAJAAkAgBEUNAEF/IQogBUUNASAIQQNsIQsgCEECdCIErSEMIAWtIQ0gBkF/akECSSEOQgAhDwNAQQAgDzcDkBAgD6chEEIAIRFBACEBA0BBACARNwOgECAPIBGEUCIDIA5xIRIgBkEBRiAPUCITIAZBAkYgEUICVHFxciEUQX8gAUEBakEDcSAIbEF/aiATGyEVIAEgEHIhFiABIAhsIRcgA0EBdCEYQgAhGQNAQQBCADcDwBBBACAZNwOYECAYIQECQCASRQ0AQQBCATcDwBBBkBhBkBBBkCBBABADQZAYQZAYQZAgQQAQA0ECIQELAkAgASAITw0AIAQgGaciGmwgF2ogAWohAwNAIANBACAEIAEbQQAgEVAiGxtqQX9qIRwCQAJAIBQNAEEAKAKACCICIBxBCnQiHGohCgwBCwJAIAFB/wBxIgINAEEAQQApA8AQQgF8NwPAEEGQGEGQEEGQIEEAEANBkBhBkBhBkCBBABADCyAcQQp0IRwgAkEDdEGQGGohCkEAKAKACCECCyACIANBCnRqIAIgHGogAiAKKQMAIh1CIIinIAVwIBogFhsiHCAEbCABIAFBACAZIBytUSIcGyIKIBsbIBdqIAogC2ogExsgAUUgHHJrIhsgFWqtIB1C/////w+DIh0gHX5CIIggG61+QiCIfSAMgqdqQQp0akEBEAMgA0EBaiEDIAggAUEBaiIBRw0ACwsgGUIBfCIZIA1SDQALIBFCAXwiEachASARQgRSDQALIA9CAXwiDyAHUg0AC0EAKAKACCECCyAJQQx0QYB4aiEXIAVBf2oiCkUNAgwBC0EAQgM3A6AQQQAgBEF/aq03A5AQQYB4IRcLIAIgF2ohGyAIQQx0IQhBACEcA0AgCCAcQQFqIhxsQYB4aiEEQQAhAQNAIBsgAWoiAyADKQMAIAIgBCABamopAwCFNwMAIANBCGoiAyADKQMAIAIgBCABQQhyamopAwCFNwMAIAFBCGohAyABQRBqIQEgA0H4B0kNAAsgHCAKRw0ACwsgAiAXaiEbQXghAQNAIAIgAWoiA0EIaiAbIAFqIgRBCGopAwA3AwAgA0EQaiAEQRBqKQMANwMAIANBGGogBEEYaikDADcDACADQSBqIARBIGopAwA3AwAgAUEgaiIBQfgHSQ0ACwsL",hash:"e4cdc523"},S={name:"blake2b",data:
vendor: 9,926 bytes, line 1
1"AGFzbQEAAAABEQRgAAF/YAJ/fwBgAX8AYAAAAwoJAAECAwECAgABBQQBAQICBg4CfwFBsIsFC38AQYAICwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACkhhc2hfRmluYWwAAwlIYXNoX0luaXQABQtIYXNoX1VwZGF0ZQAGDUhhc2hfR2V0U3RhdGUABw5IYXNoX0NhbGN1bGF0ZQAIClNUQVRFX1NJWkUDAQrTOAkFAEGACQvrAgIFfwF+AkAgAUEBSA0AAkACQAJAIAFBgAFBACgC4IoBIgJrIgNKDQAgASEEDAELQQBBADYC4IoBAkAgAkH/AEoNACACQeCJAWohBSAAIQRBACEGA0AgBSAELQAAOgAAIARBAWohBCAFQQFqIQUgAyAGQQFqIgZB/wFxSg0ACwtBAEEAKQPAiQEiB0KAAXw3A8CJAUEAQQApA8iJASAHQv9+Vq18NwPIiQFB4IkBEAIgACADaiEAAkAgASADayIEQYEBSA0AIAIgAWohBQNAQQBBACkDwIkBIgdCgAF8NwPAiQFBAEEAKQPIiQEgB0L/flatfDcDyIkBIAAQAiAAQYABaiEAIAVBgH9qIgVBgAJLDQALIAVBgH9qIQQMAQsgBEEATA0BC0EAIQUDQCAFQQAoAuCKAWpB4IkBaiAAIAVqLQAAOgAAIAQgBUEBaiIFQf8BcUoNAAsLQQBBACgC4IoBIARqNgLgigELC78uASR+QQBBACkD0IkBQQApA7CJASIBQQApA5CJAXwgACkDICICfCIDhULr+obav7X2wR+FQiCJIgRCq/DT9K/uvLc8fCIFIAGFQiiJIgYgA3wgACkDKCIBfCIHIASFQjCJIgggBXwiCSAGhUIBiSIKQQApA8iJAUEAKQOoiQEiBEEAKQOIiQF8IAApAxAiA3wiBYVCn9j52cKR2oKbf4VCIIkiC0K7zqqm2NDrs7t/fCIMIASFQiiJIg0gBXwgACkDGCIEfCIOfCAAKQNQIgV8Ig9BACkDwIkBQQApA6CJASIQQQApA4CJASIRfCAAKQMAIgZ8IhKFQtGFmu/6z5SH0QCFQiCJIhNCiJLznf/M+YTqAHwiFCAQhUIoiSIVIBJ8IAApAwgiEHwiFiAThUIwiSIXhUIgiSIYQQApA9iJAUEAKQO4iQEiE0EAKQOYiQF8IAApAzAiEnwiGYVC+cL4m5Gjs/DbAIVCIIkiGkLx7fT4paf9p6V/fCIbIBOFQiiJIhwgGXwgACkDOCITfCIZIBqFQjCJIhogG3wiG3wiHSAKhUIoiSIeIA98IAApA1giCnwiDyAYhUIwiSIYIB18Ih0gDiALhUIwiSIOIAx8Ih8gDYVCAYkiDCAWfCAAKQNAIgt8Ig0gGoVCIIkiFiAJfCIaIAyFQiiJIiAgDXwgACkDSCIJfCIhIBaFQjCJIhYgGyAchUIBiSIMIAd8IAApA2AiB3wiDSAOhUIgiSIOIBcgFHwiFHwiFyAMhUIoiSIbIA18IAApA2giDHwiHCAOhUIwiSIOIBd8IhcgG4VCAYkiGyAZIBQgFYVCAYkiFHwgACkDcCINfCIVIAiFQiCJIhkgH3wiHyAUhUIoiSIUIBV8IAApA3giCHwiFXwgDHwiIoVCIIkiI3wiJCAbhUIoiSIbICJ8IBJ8IiIgFyAYIBUgGYVCMIkiFSAffCIZIBSFQgGJIhQgIXwgDXwiH4VCIIkiGHwiFyAUhUIoiSIUIB98IAV8Ih8gGIVCMIkiGCAXfCIXIBSFQgGJIhR8IAF8IiEgFiAafCIWIBUgHSAehUIBiSIaIBx8IAl8IhyFQiCJIhV8Ih0gGoVCKIkiGiAcfCAIfCIcIBWFQjCJIhWFQiCJIh4gGSAOIBYgIIVCAYkiFiAPfCACfCIPhUIgiSIOfCIZIBaFQiiJIhYgD3wgC3wiDyAOhUIwiSIOIBl8Ihl8IiAgFIVCKIkiFCAhfCAEfCIhIB6FQjCJIh4gIHwiICAiICOFQjCJIiIgJHwiIyAbhUIBiSIbIBx8IAp8IhwgDoVCIIkiDiAXfCIXIBuFQiiJIhsgHHwgE3wiHCAOhUIwiSIOIBkgFoVCAYkiFiAffCAQfCIZICKFQiCJIh8gFSAdfCIVfCIdIBaFQiiJIhYgGXwgB3wiGSAfhUIwiSIfIB18Ih0gFoVCAYkiFiAVIBqFQgGJIhUgD3wgBnwiDyAYhUIgiSIYICN8IhogFYVCKIkiFSAPfCADfCIPfCAHfCIihUIgiSIjfCIkIBaFQiiJIhYgInwgBnwiIiAjhUIwiSIjICR8IiQgFoVCAYkiFiAOIBd8Ig4gDyAYhUIwiSIPICAgFIVCAYkiFCAZfCAKfCIXhUIgiSIYfCIZIBSFQiiJIhQgF3wgC3wiF3wgBXwiICAPIBp8Ig8gHyAOIBuFQgGJIg4gIXwgCHwiGoVCIIkiG3wiHyAOhUIoiSIOIBp8IAx8IhogG4VCMIkiG4VCIIkiISAdIB4gDyAVhUIBiSIPIBx8IAF8IhWFQiCJIhx8Ih0gD4VCKIkiDyAVfCADfCIVIByFQjCJIhwgHXwiHXwiHiAWhUIoiSIWICB8IA18IiAgIYVCMIkiISAefCIeIBogFyAYhUIwiSIXIBl8IhggFIVCAYkiFHwgCXwiGSAchUIgiSIaICR8IhwgFIVCKIkiFCAZfCACfCIZIBqFQjCJIhogHSAPhUIBiSIPICJ8IAR8Ih0gF4VCIIkiFyAbIB98Iht8Ih8gD4VCKIkiDyAdfCASfCIdIBeFQjCJIhcgH3wiHyAPhUIBiSIPIBsgDoVCAYkiDiAVfCATfCIVICOFQiCJIhsgGHwiGCAOhUIoiSIOIBV8IBB8IhV8IAx8IiKFQiCJIiN8IiQgD4VCKIkiDyAifCAHfCIiICOFQjCJIiMgJHwiJCAPhUIBiSIPIBogHHwiGiAVIBuFQjCJIhUgHiAWhUIBiSIWIB18IAR8IhuFQiCJIhx8Ih0gFoVCKIkiFiAbfCAQfCIbfCABfCIeIBUgGHwiFSAXIBogFIVCAYkiFCAgfCATfCIYhUIgiSIXfCIaIBSFQiiJIhQgGHwgCXwiGCAXhUIwiSIXhUIgiSIgIB8gISAVIA6FQgGJIg4gGXwgCnwiFYVCIIkiGXwiHyAOhUIoiSIOIBV8IA18IhUgGYVCMIkiGSAffCIffCIhIA+FQiiJIg8gHnwgBXwiHiAghUIwiSIgICF8IiEgGyAchUIwiSIbIB18IhwgFoVCAYkiFiAYfCADfCIYIBmFQiCJIhkgJHwiHSAWhUIoiSIWIBh8IBJ8IhggGYVCMIkiGSAfIA6FQgGJIg4gInwgAnwiHyAbhUIgiSIbIBcgGnwiF3wiGiAOhUIoiSIOIB98IAZ8Ih8gG4VCMIkiGyAafCIaIA6FQgGJIg4gFSAXIBSFQgGJIhR8IAh8IhUgI4VCIIkiFyAcfCIcIBSFQiiJIhQgFXwgC3wiFXwgBXwiIoVCIIkiI3wiJCAOhUIoiSIOICJ8IAh8IiIgGiAgIBUgF4VCMIkiFSAcfCIXIBSFQgGJIhQgGHwgCXwiGIVCIIkiHHwiGiAUhUIoiSIUIBh8IAZ8IhggHIVCMIkiHCAafCIaIBSFQgGJIhR8IAR8IiAgGSAdfCIZIBUgISAPhUIBiSIPIB98IAN8Ih2FQiCJIhV8Ih8gD4VCKIkiDyAdfCACfCIdIBWFQjCJIhWFQiCJIiEgFyAbIBkgFoVCAYkiFiAefCABfCIZhUIgiSIbfCIXIBaFQiiJIhYgGXwgE3wiGSAbhUIwiSIbIBd8Ihd8Ih4gFIVCKIkiFCAgfCAMfCIgICGFQjCJIiEgHnwiHiAiICOFQjCJIiIgJHwiIyAOhUIBiSIOIB18IBJ8Ih0gG4VCIIkiGyAafCIaIA6FQiiJIg4gHXwgC3wiHSAbhUIwiSIbIBcgFoVCAYkiFiAYfCANfCIXICKFQiCJIhggFSAffCIVfCIfIBaFQiiJIhYgF3wgEHwiFyAYhUIwiSIYIB98Ih8gFoVCAYkiFiAVIA+FQgGJIg8gGXwgCnwiFSAchUIgiSIZICN8IhwgD4VCKIkiDyAVfCAHfCIVfCASfCIihUIgiSIjfCIkIBaFQiiJIhYgInwgBXwiIiAjhUIwiSIjICR8IiQgFoVCAYkiFiAbIBp8IhogFSAZhUIwiSIVIB4gFIVCAYkiFCAXfCADfCIXhUIgiSIZfCIbIBSFQiiJIhQgF3wgB3wiF3wgAnwiHiAVIBx8IhUgGCAaIA6FQgGJIg4gIHwgC3wiGoVCIIkiGHwiHCAOhUIoiSIOIBp8IAR8IhogGIVCMIkiGIVCIIkiICAfICEgFSAPhUIBiSIPIB18IAZ8IhWFQiCJIh18Ih8gD4VCKIkiDyAVfCAKfCIVIB2FQjCJIh0gH3wiH3wiISAWhUIoiSIWIB58IAx8Ih4gIIVCMIkiICAhfCIhIBogFyAZhUIwiSIXIBt8IhkgFIVCAYkiFHwgEHwiGiAdhUIgiSIbICR8Ih0gFIVCKIkiFCAafCAJfCIaIBuFQjCJIhsgHyAPhUIBiSIPICJ8IBN8Ih8gF4VCIIkiFyAYIBx8Ihh8IhwgD4VCKIkiDyAffCABfCIfIBeFQjCJIhcgHHwiHCAPhUIBiSIPIBggDoVCAYkiDiAVfCAIfCIVICOFQiCJIhggGXwiGSAOhUIoiSIOIBV8IA18IhV8IA18IiKFQiCJIiN8IiQgD4VCKIkiDyAifCAMfCIiICOFQjCJIiMgJHwiJCAPhUIBiSIPIBsgHXwiGyAVIBiFQjCJIhUgISAWhUIBiSIWIB98IBB8IhiFQiCJIh18Ih8gFoVCKIkiFiAYfCAIfCIYfCASfCIhIBUgGXwiFSAXIBsgFIVCAYkiFCAefCAHfCIZhUIgiSIXfCIbIBSFQiiJIhQgGXwgAXwiGSAXhUIwiSIXhUIgiSIeIBwgICAVIA6FQgGJIg4gGnwgAnwiFYVCIIkiGnwiHCAOhUIoiSIOIBV8IAV8IhUgGoVCMIkiGiAcfCIcfCIgIA+FQiiJIg8gIXwgBHwiISAehUIwiSIeICB8IiAgGCAdhUIwiSIYIB98Ih0gFoVCAYkiFiAZfCAGfCIZIBqFQiCJIhogJHwiHyAWhUIoiSIWIBl8IBN8IhkgGoVCMIkiGiAcIA6FQgGJIg4gInwgCXwiHCAYhUIgiSIYIBcgG3wiF3wiGyAOhUIoiSIOIBx8IAN8IhwgGIVCMIkiGCAbfCIbIA6FQgGJIg4gFSAXIBSFQgGJIhR8IAt8IhUgI4VCIIkiFyAdfCIdIBSFQiiJIhQgFXwgCnwiFXwgBHwiIoVCIIkiI3wiJCAOhUIoiSIOICJ8IAl8IiIgGyAeIBUgF4VCMIkiFSAdfCIXIBSFQgGJIhQgGXwgDHwiGYVCIIkiHXwiGyAUhUIoiSIUIBl8IAp8IhkgHYVCMIkiHSAbfCIbIBSFQgGJIhR8IAN8Ih4gGiAffCIaIBUgICAPhUIBiSIPIBx8IAd8IhyFQiCJIhV8Ih8gD4VCKIkiDyAcfCAQfCIcIBWFQjCJIhWFQiCJIiAgFyAYIBogFoVCAYkiFiAhfCATfCIahUIgiSIYfCIXIBaFQiiJIhYgGnwgDXwiGiAYhUIwiSIYIBd8Ihd8IiEgFIVCKIkiFCAefCAFfCIeICCFQjCJIiAgIXwiISAiICOFQjCJIiIgJHwiIyAOhUIBiSIOIBx8IAt8IhwgGIVCIIkiGCAbfCIbIA6FQiiJIg4gHHwgEnwiHCAYhUIwiSIYIBcgFoVCAYkiFiAZfCABfCIXICKFQiCJIhkgFSAffCIVfCIfIBaFQiiJIhYgF3wgBnwiFyAZhUIwiSIZIB98Ih8gFoVCAYkiFiAVIA+FQgGJIg8gGnwgCHwiFSAdhUIgiSIaICN8Ih0gD4VCKIkiDyAVfCACfCIVfCANfCIihUIgiSIjfCIkIBaFQiiJIhYgInwgCXwiIiAjhUIwiSIjICR8IiQgFoVCAYkiFiAYIBt8IhggFSAahUIwiSIVICEgFIVCAYkiFCAXfCASfCIXhUIgiSIafCIbIBSFQiiJIhQgF3wgCHwiF3wgB3wiISAVIB18IhUgGSAYIA6FQgGJIg4gHnwgBnwiGIVCIIkiGXwiHSAOhUIoiSIOIBh8IAt8IhggGYVCMIkiGYVCIIkiHiAfICAgFSAPhUIBiSIPIBx8IAp8IhWFQiCJIhx8Ih8gD4VCKIkiDyAVfCAEfCIVIByFQjCJIhwgH3wiH3wiICAWhUIoiSIWICF8IAN8IiEgHoVCMIkiHiAgfCIgIBggFyAahUIwiSIXIBt8IhogFIVCAYkiFHwgBXwiGCAchUIgiSIbICR8IhwgFIVCKIkiFCAYfCABfCIYIBuFQjCJIhsgHyAPhUIBiSIPICJ8IAx8Ih8gF4VCIIkiFyAZIB18Ihl8Ih0gD4VCKIkiDyAffCATfCIfIBeFQjCJIhcgHXwiHSAPhUIBiSIPIBkgDoVCAYkiDiAVfCAQfCIVICOFQiCJIhkgGnwiGiAOhUIoiSIOIBV8IAJ8IhV8IBN8IiKFQiCJIiN8IiQgD4VCKIkiDyAifCASfCIiICOFQjCJIiMgJHwiJCAPhUIBiSIPIBsgHHwiGyAVIBmFQjCJIhUgICAWhUIBiSIWIB98IAt8IhmFQiCJIhx8Ih8gFoVCKIkiFiAZfCACfCIZfCAJfCIgIBUgGnwiFSAXIBsgFIVCAYkiFCAhfCAFfCIahUIgiSIXfCIbIBSFQiiJIhQgGnwgA3wiGiAXhUIwiSIXhUIgiSIhIB0gHiAVIA6FQgGJIg4gGHwgEHwiFYVCIIkiGHwiHSAOhUIoiSIOIBV8IAF8IhUgGIVCMIkiGCAdfCIdfCIeIA+FQiiJIg8gIHwgDXwiICAhhUIwiSIhIB58Ih4gGSAchUIwiSIZIB98IhwgFoVCAYkiFiAafCAIfCIaIBiFQiCJIhggJHwiHyAWhUIoiSIWIBp8IAp8IhogGIVCMIkiGCAdIA6FQgGJIg4gInwgBHwiHSAZhUIgiSIZIBcgG3wiF3wiGyAOhUIoiSIOIB18IAd8Ih0gGYVCMIkiGSAbfCIbIA6FQgGJIg4gFSAXIBSFQgGJIhR8IAx8IhUgI4VCIIkiFyAcfCIcIBSFQiiJIhQgFXwgBnwiFXwgEnwiIoVCIIkiI3wiJCAOhUIoiSIOICJ8IBN8IiIgGyAhIBUgF4VCMIkiFSAcfCIXIBSFQgGJIhQgGnwgBnwiGoVCIIkiHHwiGyAUhUIoiSIUIBp8IBB8IhogHIVCMIkiHCAbfCIbIBSFQgGJIhR8IA18IiEgGCAffCIYIBUgHiAPhUIBiSIPIB18IAJ8Ih2FQiCJIhV8Ih4gD4VCKIkiDyAdfCABfCIdIBWFQjCJIhWFQiCJIh8gFyAZIBggFoVCAYkiFiAgfCADfCIYhUIgiSIZfCIXIBaFQiiJIhYgGHwgBHwiGCAZhUIwiSIZIBd8Ihd8IiAgFIVCKIkiFCAhfCAIfCIhIB+FQjCJIh8gIHwiICAiICOFQjCJIiIgJHwiIyAOhUIBiSIOIB18IAd8Ih0gGYVCIIkiGSAbfCIbIA6FQiiJIg4gHXwgDHwiHSAZhUIwiSIZIBcgFoVCAYkiFiAafCALfCIXICKFQiCJIhogFSAefCIVfCIeIBaFQiiJIhYgF3wgCXwiFyAahUIwiSIaIB58Ih4gFoVCAYkiFiAVIA+FQgGJIg8gGHwgBXwiFSAchUIgiSIYICN8IhwgD4VCKIkiDyAVfCAKfCIVfCACfCIChUIgiSIifCIjIBaFQiiJIhYgAnwgC3wiAiAihUIwiSILICN8IiIgFoVCAYkiFiAZIBt8IhkgFSAYhUIwiSIVICAgFIVCAYkiFCAXfCANfCINhUIgiSIXfCIYIBSFQiiJIhQgDXwgBXwiBXwgEHwiECAVIBx8Ig0gGiAZIA6FQgGJIg4gIXwgDHwiDIVCIIkiFXwiGSAOhUIoiSIOIAx8IBJ8IhIgFYVCMIkiDIVCIIkiFSAeIB8gDSAPhUIBiSINIB18IAl8IgmFQiCJIg98IhogDYVCKIkiDSAJfCAIfCIJIA+FQjCJIgggGnwiD3wiGiAWhUIoiSIWIBB8IAd8IhAgEYUgDCAZfCIHIA6FQgGJIgwgCXwgCnwiCiALhUIgiSILIAUgF4VCMIkiBSAYfCIJfCIOIAyFQiiJIgwgCnwgE3wiEyALhUIwiSIKIA58IguFNwOAiQFBACADIAYgDyANhUIBiSINIAJ8fCICIAWFQiCJIgUgB3wiBiANhUIoiSIHIAJ8fCICQQApA4iJAYUgBCABIBIgCSAUhUIBiSIDfHwiASAIhUIgiSISICJ8IgkgA4VCKIkiAyABfHwiASAShUIwiSIEIAl8IhKFNwOIiQFBACATQQApA5CJAYUgECAVhUIwiSIQIBp8IhOFNwOQiQFBACABQQApA5iJAYUgAiAFhUIwiSICIAZ8IgGFNwOYiQFBACASIAOFQgGJQQApA6CJAYUgAoU3A6CJAUEAIBMgFoVCAYlBACkDqIkBhSAKhTcDqIkBQQAgASAHhUIBiUEAKQOwiQGFIASFNwOwiQFBACALIAyFQgGJQQApA7iJAYUgEIU3A7iJAQvdAgUBfwF+AX8BfgJ/IwBBwABrIgAkAAJAQQApA9CJAUIAUg0AQQBBACkDwIkBIgFBACgC4IoBIgKsfCIDNwPAiQFBAEEAKQPIiQEgAyABVK18NwPIiQECQEEALQDoigFFDQBBAEJ/NwPYiQELQQBCfzcD0IkBAkAgAkH/AEoNAEEAIQQDQCACIARqQeCJAWpBADoAACAEQQFqIgRBgAFBACgC4IoBIgJrSA0ACwtB4IkBEAIgAEEAKQOAiQE3AwAgAEEAKQOIiQE3AwggAEEAKQOQiQE3AxAgAEEAKQOYiQE3AxggAEEAKQOgiQE3AyAgAEEAKQOoiQE3AyggAEEAKQOwiQE3AzAgAEEAKQO4iQE3AzhBACgC5IoBIgVBAUgNAEEAIQRBACECA0AgBEGACWogACAEai0AADoAACAEQQFqIQQgBSACQQFqIgJB/wFxSg0ACwsgAEHAAGokAAv9AwMBfwF+AX8jAEGAAWsiAiQAQQBBgQI7AfKKAUEAIAE6APGKAUEAIAA6APCKAUGQfiEAA0AgAEGAiwFqQgA3AAAgAEH4igFqQgA3AAAgAEHwigFqQgA3AAAgAEEYaiIADQALQQAhAEEAQQApA/CKASIDQoiS853/zPmE6gCFNwOAiQFBAEEAKQP4igFCu86qptjQ67O7f4U3A4iJAUEAQQApA4CLAUKr8NP0r+68tzyFNwOQiQFBAEEAKQOIiwFC8e30+KWn/aelf4U3A5iJAUEAQQApA5CLAULRhZrv+s+Uh9EAhTcDoIkBQQBBACkDmIsBQp/Y+dnCkdqCm3+FNwOoiQFBAEEAKQOgiwFC6/qG2r+19sEfhTcDsIkBQQBBACkDqIsBQvnC+JuRo7Pw2wCFNwO4iQFBACADp0H/AXE2AuSKAQJAIAFBAUgNACACQgA3A3ggAkIANwNwIAJCADcDaCACQgA3A2AgAkIANwNYIAJCADcDUCACQgA3A0ggAkIANwNAIAJCADcDOCACQgA3AzAgAkIANwMoIAJCADcDICACQgA3AxggAkIANwMQIAJCADcDCCACQgA3AwBBACEEA0AgAiAAaiAAQYAJai0AADoAACAAQQFqIQAgBEEBaiIEQf8BcSABSA0ACyACQYABEAELIAJBgAFqJAALEgAgAEEDdkH/P3EgAEEQdhAECwkAQYAJIAAQAQsGAEGAiQELGwAgAUEDdkH/P3EgAUEQdhAEQYAJIAAQARADCwsLAQBBgAgLBPAAAAA="
vendor: 1,324 bytes, line 1
1,hash:"c6f286e6"};function F(e){return!Number.isInteger(e)||e<8||e>512||e%8!=0?new Error("Invalid variant! Valid values: 8, 16, ..., 512"):null}function x(e=512,t=null){if(F(e))return Promise.reject(F(e));let i=null,n=e;if(null!==t){if(i=v(t),i.length>64)return Promise.reject(new Error("Max key length is 64 bytes"));a=e,r=i.length,n=a|r<<16}var a,r;const o=e/8;return B(S,o).then(e=>{n>512&&e.writeMemory(i),e.init(n);const t={init:n>512?()=>(e.writeMemory(i),e.init(n),t):()=>(e.init(n),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:128,digestSize:o};return t})}new s;const D=new DataView(new ArrayBuffer(4));function U(e){return D.setInt32(0,e,!0),new Uint8Array(D.buffer)}function V(e,t,i){return l(this,0,void 0,function*(){if(i<=64){const e=yield x(8*i);return e.update(U(i)),e.update(t),e.digest("binary")}const n=Math.ceil(i/32)-2,a=new Uint8Array(i);e.init(),e.update(U(i)),e.update(t);let r=e.digest("binary");a.set(r.subarray(0,32),0);for(let t=1;t<n;t++)e.init(),e.update(r),r=e.digest("binary"),a.set(r.subarray(0,32),32*t);const o=i-32*n;let l;return 64===o?(l=e,l.init()):l=yield x(8*o),l.update(r),r=l.digest("binary"),a.set(r.subarray(0,o),32*n),a})}function _(e){return l(this,0,void 0,function*(){var t;const{parallelism:i,iterations:n,hashLength:a}
1=e,r=v(e.password),o=v(e.salt),l=function(e){switch(e){case"d":return 0;case"i":return 1;default:return 2}}(e.hashType),{memorySize:s}=e,c=v(null!==(t=e.secret)&&void 0!==t?t:""),[h,d]=yield Promise.all([B(E,1024),x(512)]);h.setMemorySize(1024*s+1024);const A=new Uint8Array(24),f=new DataView(A.buffer);f.setInt32(0,i,!0),f.setInt32(4,a,!0),f.setInt32(8,s,!0),f.setInt32(12,n,!0),f.setInt32(16,19,!0),f.setInt32(20,l,!0),h.writeMemory(A,1024*s),d.init(),d.update(A),d.update(U(r.length)),d.update(r),d.update(U(o.length)),d.update(o),d.update(U(c.length)),d.update(c),d.update(U(0));const g=4*Math.floor(s/(4*i)),I=new Uint8Array(72),C=d.digest("binary");I.set(C);for(let e=0;e<i;e++){I.set(U(0),64),I.set(U(e),68);let t=e*g,i=yield V(d,I,1024);h.writeMemory(i,1024*t),t+=1,I.set(U(1),64),i=yield V(d,I,1024),h.writeMemory(i,1024*t)}const b=new Uint8Array(1024);u(b,h.calculate(new Uint8Array([]),s));const m=yield V(d,b,a);if("hex"===e.outputType){return p(new Uint8Array(2*a),m,a)}return"encoded"===e.outputType?function(e,t,i){const n=[`m=${t.memorySize}`,`t=${t.iterations}`,`p=${t.parallelism}`].join(",");return`$argon2${t.hashType}$v=19$${n}$${w(e,!1)}$${w(i,!1)}`}(o,e,m):m})}function L(e){return l(this,0,void 0,function*(){return(e=>{var t;if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!e.password)throw new Error("Password must be specified");if(e.password=v(e.password),e.password.length<1)throw new Error("Password must be specified");if(!e.salt)throw new Error("Salt must be specified");if(e.salt=v(e.salt),e.salt.length<8)throw new Error("Salt should be at least 8 bytes long");if(e.secret=v(null!==(t=e.secret)&&void 0!==t?t:""),!Number.isInteger(e.iterations)||e.iterations<1)throw new Error("Iterations should be a positive number");if(!Number.isInteger(e.parallelism)||e.parallelism<1)throw new Error("Parallelism should be a positive number");if(!Number.isInteger(e.hashLength)||e.hashLength<4)throw new Error("Hash length should be at least 4 bytes.");if(!Number.isInteger(e.memorySize))throw new Error("Memory size should be specified.");if(e.memorySize<8*e.parallelism)throw new Error("Memory size should be at least 8 * parallelism.");if(void 0===e.outputType&&(e.outputType="hex"),!["hex","binary","encoded"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary', 'encoded']`)})(e),_(Object.assign(Object.assign({},e),{hashType:"id"}))})}new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,new s,function(e){const{deriveKey:l}=e;let s;self.onmessage=async e=>{const{challenge:c,counterMode:h,counterStart:d,counterStep:A,timeout:f,type:u}=e.data;if("abort"===u)s?.abort();else if("work"===u){let e;s=new AbortController;try{e=await async function(e){const{challenge:l,controller:s,counterMode:c="uint32",counterStart:h=0,counterStep:d=1,deriveKey:A,timeout:f=9e4}=e,{nonce:u,keyPrefix:g,salt:I}=l.parameters,p=n(u),v=n(I),C=g.length%2==0?n(g):null,b=new o(p,c),w=performance.now();let m=h,k=0,y="",Q=w;for(;;){if(s?.signal.aborted||f&&k%10==0&&performance.now()-w>f)return null;const{derivedKey:e}=await A(l.parameters,v,b.setCounter(m));if(k%10==0&&performance.now()-Q>200&&(await a(0),Q=performance.now()),C?t(e,C):i(e).startsWith(g)){y=i(e);break}m+=d,k+=1}return{counter:m,derivedKey:y,time:r(w)}}({challenge:c,controller:s,counterStart:d,counterStep:A,deriveKey:l,counterMode:h,timeout:f})}catch(e){return self.postMessage({error:e})}self.postMessage(e)}}}({deriveKey:async function(e,t,i){const{cost:n,keyLength:a=32,memoryCost:r=16384,parallelism:o=1}=e;return{parameters:{memoryCost:r,parallelism:o},derivedKey:await L({password:i,salt:t,parallelism:o,iterations:n,memorySize:r,hashLength:a,outputType:"binary"})}}})}(),globalThis.$altcha.algorithms.set("ARGON2ID",function(){const e=new URL(function(){const e=document.querySelector('meta[name="argon2id-worker-url"]');if(!e)throw new Error("argon2id-worker-url meta tag missing");return e.content}(),document.baseURI).href,t=new Blob([`importScripts(${JSON.stringify(e)});`],{type:"text/javascript"}),i=URL.createObjectURL(t),n=new Worker(i);return URL.revokeObjectURL(i),n}),window.Altcha=t})();;(()=>{var e={107(e){e.exports=function(){"use strict";const e=e=>null==e?null:t(e),t=e=>"boolean"==typeof e?e?"1":"0":e+"",i=(e,t=!1)=>{e&&(e.preventDefault(),t&&e.stopPropagation())},s=e=>{if(e.jquery)return e[0];if(e instanceof HTMLElement)return e;if(n(e)){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild}return document.querySelector(e)},n=e=>"string"==typeof e&&e.indexOf("<")>-1;function o(t){var n=this,o=n.onOptionSelect;n.settings.hideSelected=!1;const r=Object.assign({className:"tomselect-checkbox",checkedClassNames:void 0,uncheckedClassNames:void 0},t);var l=function(e,t){t?(e.checked=!0,r.uncheckedClassNames&&e.classList.remove(...r.uncheckedClassNames),r.checkedClassNames&&e.classList.add(...r.checkedClassNames)):(e.checked=!1,r.checkedClassNames&&e.classList.remove(...r.checkedClassNames),r.uncheckedClassNames&&e.classList.add(...r.uncheckedClassNames))},a=function(e){setTimeout(()=>{var t=e.querySelector("input."+r.className);t instanceof HTMLInputElement&&l(t,e.classList.contains("selected"))}
1,1)};n.hook("after","setupTemplates",()=>{var t=n.settings.render.option;n.settings.render.option=(o,a)=>{var c=s(t.call(n,o,a)),d=document.createElement("input");r.className&&d.classList.add(r.className),d.addEventListener("click",function(e){i(e)}),d.type="checkbox";const u=e(o[n.settings.valueField]);return l(d,!!(u&&n.items.indexOf(u)>-1)),c.prepend(d),c}}),n.on("item_remove",e=>{var t=n.getOption(e);t&&(t.classList.remove("selected"),a(t))}),n.on("item_add",e=>{var t=n.getOption(e);t&&a(t)}),n.hook("instead","onOptionSelect",(e,t)=>{if(t.classList.contains("selected"))return t.classList.remove("selected"),n.removeItem(t.dataset.value),n.refreshOptions(),void i(e,!0);o.call(n,e,t),a(t)})}return o}()},530(e){e.exports=function(){"use strict";const e=(e,t=!1)=>{e&&(e.preventDefault(),t&&e.stopPropagation())},t=(e,t,i,s)=>{e.addEventListener(t,i,s)},i=e=>{if(e.jquery)return e[0];if(e instanceof HTMLElement)return e;if(s(e)){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild}return document.querySelector(e)},s=e=>"string"==typeof e&&e.indexOf("<")>-1;function n(s){const n=this,o=Object.assign({label:"×",title:"Remove",className:"remove",tabindex:-1,role:"button",html:e=>{var t;const i=document.createElement("div");return i.className=e.className||"",i.title=e.title||"",i.setAttribute("role",e.role||"button"),i.tabIndex=null!=(t=e.tabindex)?t:-1,i.textContent=e.label||"",i}},s);n.hook("after","setupTemplates",()=>{var s=n.settings.render.item;n.settings.render.item=(r,l)=>{var a=i(s.call(n,r,l)),c=i(o.html(o));return a.appendChild(c),t(c,"mousedown",t=>{e(t,!0)}),t(c,"click",t=>{n.isLocked||(e(t,!0),n.isLocked||n.shouldDelete([a],t)&&(n.removeItem(a),n.refreshOptions(!1),n.inputState()))}),a}})}return n}()}};const t={};function i(s){const n=t[s];if(void 0!==n)return n.exports;const o=t[s]={exports:{}};return e[s].call(o.exports,o,o.exports,i),o.exports}i.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{if(Array.isArray(t))for(var s=0;s<t.length;){var n=t[s++],o=t[s++];i.o(e,n)?0===o&&s++:0===o?Object.defineProperty(e,n,{enumerable:!0,value:t[s++]}):Object.defineProperty(e,n,{enumerable:!0,get:o})}else for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";function e(e,t){e.split(/\s+/).forEach(e=>{t(e)})}class t{constructor(){this._events={}}on(t,i){e(t,e=>{const t=this._events[e]||[];t.push(i),this._events[e]=t})}off(t,i){var s=arguments.length;0!==s?e(t,e=>{if(1===s)return void delete this._events[e];const t=this._events[e];void 0!==t&&(t.splice(t.indexOf(i),1),this._events[e]=t)}):this._events={}}trigger(t,...i){var s=this;e(t,e=>{const t=s._events[e];void 0!==t&&t.forEach(e=>{e.apply(s,i)})})}}const s=e=>(e=e.filter(Boolean)).length<2?e[0]||"":1==a(e)?"["+e.join("")+"]":"(?:"+e.join("|")+")",n=e=>{if(!r(e))return e.join("");let t="",i=0;const s=()=>{i>1&&(t+="{"+i+"}")};return e.forEach((n,o)=>{n!==e[o-1]?(s(),t+=n,i=1):i++}),s(),t},o=e=>{let t=Array.from(e);return s(t)},r=e=>new Set(e).size!==e.length,l=e=>(e+"").replace(/([\$\(\)\*\+\.\?\[\]\^\{\|\}\\])/gu,"\\$1"),a=e=>e.reduce((e,t)=>Math.max(e,c(t)),0),c=e=>Array.from(e).length,d=e=>{if(1===e.length)return[[e]];let t=[];const i=e.substring(1);return d(i).forEach(function(i){let s=i.slice(0);s[0]=e.charAt(0)+s[0],t.push(s),s=i.slice(0),s.unshift(e.charAt(0)),t.push(s)}),t},u=[[0,65535]];let p,h;const g={},m={"/":"⁄∕",0:"߀",a:"ⱥɐɑ",aa:"ꜳ",ae:"æǽǣ",ao:"ꜵ",au:"ꜷ",av:"ꜹꜻ",ay:"ꜽ",b:"ƀɓƃ",c:"ꜿƈȼↄ",d:"đɗɖᴅƌꮷԁɦ",e:"ɛǝᴇɇ",f:"ꝼƒ",g:"ǥɠꞡᵹꝿɢ",h:"ħⱨⱶɥ",i:"ɨı",j:"ɉȷ",k:"ƙⱪꝁꝃꝅꞣ",l:"łƚɫⱡꝉꝇꞁɭ",m:"ɱɯϻ",n:"ꞥƞɲꞑᴎлԉ",o:"øǿɔɵꝋꝍᴑ",oe:"œ",oi:"ƣ",oo:"ꝏ",ou:"ȣ",p:"ƥᵽꝑꝓꝕρ",q:"ꝗꝙɋ",r:"ɍɽꝛꞧꞃ",s:"ßȿꞩꞅʂ",t:"ŧƭʈⱦꞇ",th:"þ",tz:"ꜩ",u:"ʉ",v:"ʋꝟʌ",vy:"ꝡ",w:"ⱳ",y:"ƴɏỿ",z:"ƶȥɀⱬꝣ",hv:"ƕ"};for(let e in m){let t=m[e]||"";for(let i=0;i<t.length;i++){let s=t.substring(i,i+1);g[s]=e}}const f=new RegExp(Object.keys(g).join("|")+"|[̀-ͯ·ʾʼ]","gu"),v=(e,t="NFKD")=>e.normalize(t),y=e=>Array.from(e).reduce((e,t)=>
1e+O(t),""),O=e=>(e=v(e).toLowerCase().replace(f,e=>g[e]||""),v(e,"NFC"));const b=e=>{const t={},i=(e,i)=>{const s=t[e]||new Set,n=new RegExp("^"+o(s)+"$","iu");i.match(n)||(s.add(l(i)),t[e]=s)};for(let t of function*(e){for(const[t,i]of e)for(let e=t;e<=i;e++){let t=String.fromCharCode(e),i=y(t);i!=t.toLowerCase()&&(i.length>3||0!=i.length&&(yield{folded:i,composed:t,code_point:e}))}}(e))i(t.folded,t.folded),i(t.folded,t.composed);return t},w=e=>{const t=b(e),i={};let n=[];for(let e in t){let s=t[e];s&&(i[e]=o(s)),e.length>1&&n.push(l(e))}n.sort((e,t)=>t.length-e.length);const r=s(n);return h=new RegExp("^"+r,"u"),i},S=(e,t=1)=>(t=Math.max(t,e.length-1),s(d(e).map(e=>((e,t=1)=>{let i=0;return e=e.map(e=>(p[e]&&(i+=e.length),p[e]||e)),i>=t?n(e):""})(e,t)))),C=(e,t=!0)=>{let i=e.length>1?1:0;return s(e.map(e=>{let s=[];const o=t?e.length():e.length()-1;for(let t=0;t<o;t++)s.push(S(e.substrs[t]||"",i));return n(s)}))},I=(e,t)=>{for(const i of t){if(i.start!=e.start||i.end!=e.end)continue;if(i.substrs.join("")!==e.substrs.join(""))continue;let t=e.parts;const s=e=>{for(const i of t){if(i.start===e.start&&i.substr===e.substr)return!1;if(1!=e.length&&1!=i.length){if(e.start<i.start&&e.end>i.start)return!0;if(i.start<e.start&&i.end>e.start)return!0}}return!1};if(!(i.parts.filter(s).length>0))return!0}return!1};class A{parts;substrs;start;end;constructor(){this.parts=[],this.substrs=[],this.start=0,this.end=0}add(e){e&&(this.parts.push(e),this.substrs.push(e.substr),this.start=Math.min(e.start,this.start),this.end=Math.max(e.end,this.end))}last(){return this.parts[this.parts.length-1]}length(){return this.parts.length}clone(e,t){let i=new A,s=JSON.parse(JSON.stringify(this.parts)),n=s.pop();for(const e of s)i.add(e);let o=t.substr.substring(0,e-n.start),r=o.length;return i.add({start:n.start,end:n.start+r,length:r,substr:o}),i}}const _=e=>{var t;void 0===p&&(p=w(t||u)),e=y(e);let i="",s=[new A];for(let t=0;t<e.length;t++){let n=e.substring(t).match(h);const o=e.substring(t,t+1),r=n?n[0]:null;let l=[],a=new Set;for(const e of s){const i=e.last();if(!i||1==i.length||i.end<=t)if(r){const i=r.length;e.add({start:t,end:t+i,length:i,substr:r}),a.add("1")}else e.add({start:t,end:t+1,length:1,substr:o}),a.add("2");else if(r){let s=e.clone(t,i);const n=r.length;s.add({start:t,end:t+n,length:n,substr:r}),l.push(s)}else a.add("3")}if(l.length>0){l=l.sort((e,t)=>e.length()-t.length());for(let e of l)I(e,s)||s.push(e)}else if(t>0&&1==a.size&&!a.has("3")){i+=C(s,!1);let e=new A;const t=s[0];t&&e.add(t.last()),s=[e]}}return i+=C(s,!0),i},x=(e,t)=>{if(e)return e[t]},F=(e,t)=>{if(e){for(var i,s=t.split(".");(i=s.shift())&&(e=e[i]););return e}},k=(e,t,i)=>{var s,n;return e?(e+="",null==t.regex||-1===(n=e.search(t.regex))?0:(s=t.string.length/e.length,0===n&&(s+=.5),s*i)):0},L=(e,t)=>{var i=e[t];if("function"==typeof i)return i;i&&!Array.isArray(i)&&(e[t]=[i])},E=(e,t)=>{if(Array.isArray(e))e.forEach(t);else for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)},T=(e,t)=>"number"==typeof e&&"number"==typeof t?e>t?1:e<t?-1:0:(e=y(e+"").toLowerCase())>(t=y(t+"").toLowerCase())?1:t>e?-1:0;class P{items;settings;constructor(e,t){this.items=e,this.settings=t||{diacritics:!0}}tokenize(e,t,i){if(!e||!e.length)return[];const s=[],n=e.split(/\s+/);var o;return i&&(o=new RegExp("^("+Object.keys(i).map(l).join("|")+"):(.*)$")),n.forEac
1h(e=>{let i,n=null,r=null;o&&(i=e.match(o))&&(n=i[1],e=i[2]),e.length>0&&(r=this.settings.diacritics?_(e)||null:l(e),r&&t&&(r="\\b"+r)),s.push({string:e,regex:r?new RegExp(r,"iu"):null,field:n})}),s}getScoreFunction(e,t){var i=this.prepareSearch(e,t);return this._getScoreFunction(i)}_getScoreFunction(e){const t=e.tokens,i=t.length;if(!i)return function(){return 0};const s=e.options.fields,n=e.weights,o=s.length,r=e.getAttrFn;if(!o)return function(){return 1};const l=1===o?function(e,t){const i=s[0].field;return k(r(t,i),e,n[i]||1)}:function(e,t){var i=0;if(e.field){const s=r(t,e.field);!e.regex&&s?i+=1/o:i+=k(s,e,1)}else E(n,(s,n)=>{i+=k(r(t,n),e,s)});return i/o};return 1===i?function(e){return l(t[0],e)}:"and"===e.options.conjunction?function(e){var s,n=0;for(let i of t){if((s=l(i,e))<=0)return 0;n+=s}return n/i}:function(e){var s=0;return E(t,t=>{s+=l(t,e)}),s/i}}getSortFunction(e,t){var i=this.prepareSearch(e,t);return this._getSortFunction(i)}_getSortFunction(e){var t,i=[];const s=this,n=e.options,o=!e.query&&n.sort_empty?n.sort_empty:n.sort;if("function"==typeof o)return o.bind(this);const r=function(t,i){return"$score"===t?i.score:e.getAttrFn(s.items[i.id],t)};if(o)for(let t of o)(e.query||"$score"!==t.field)&&i.push(t);if(e.query){t=!0;for(let e of i)if("$score"===e.field){t=!1;break}t&&i.unshift({field:"$score",direction:"desc"})}else i=i.filter(e=>"$score"!==e.field);return i.length?function(e,t){var s,n;for(let o of i){if(n=o.field,s=("desc"===o.direction?-1:1)*T(r(n,e),r(n,t)))return s}return 0}:null}prepareSearch(e,t){const i={};var s=Object.assign({},t);if(L(s,"sort"),L(s,"sort_empty"),s.fields){L(s,"fields");const e=[];s.fields.forEach(t=>{"string"==typeof t&&(t={field:t,weight:1}),e.push(t),i[t.field]="weight"in t?t.weight:1}),s.fields=e}return{options:s,query:e.toLowerCase().trim(),tokens:this.tokenize(e,s.respect_word_boundaries,i),total:0,items:[],weights:i,getAttrFn:s.nesting?F:x}}search(e,t){var i,s,n=this;s=this.prepareSearch(e,t),t=s.options,e=s.query;const o=t.score||n._getScoreFunction(s);e.length?E(n.items,(e,n)=>{i=o(e),(!1===t.filter||i>0)&&s.items.push({score:i,id:n})}):E(n.items,(e,t)=>{s.items.push({score:1,id:t})});const r=n._getSortFunction(s);return r&&s.items.sort(r),s.total=s.items.length,"number"==typeof t.limit&&(s.items=s.items.slice(0,t.limit)),s}}const D=e=>null==e?null:N(e),N=e=>"boolean"==typeof e?e?"1":"0":e+"",j=e=>(e+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),V=(e,t)=>{var i;return function(s,n){var o=this;i&&(o.loading=Math.max(o.loading-1,0),clearTimeout(i)),i=setTimeout(function(){i=null,o.loadedSearches[s]=!0,e.call(o,s,n)},t)}},$=(e,t,i)=>{var s,n=e.trigger,o={};for(s of(e.trigger=function(){var i=arguments[0];if(-1===t.indexOf(i))return n.apply(e,arguments);o[i]=arguments},i.apply(e,[]),e.trigger=n,t))s in o&&n.apply(e,o[s])},q=(e,t=!1)=>{e&&(e.preventDefault(),t&&e.stopPropagation())},H=(e,t,i,s)=>{e.addEventListener(t,i,s)},R=(e,t)=>!!t&&(!!t[e]&&1===(t.altKey?1:0)+(t.ctrlKey?1:0)+(t.shiftKey?1:0)+(t.metaKey?1:0)),M=(e,t)=>{const i=e.getAttribute("id");return i||(e.setAttribute("id",t),t)},z=e=>e.replace(/[\\"']/g,"\\$&"),B=(e,t)=>{t&&e.append(t)},K=(e,t)=>{if(Array.isArray(e))e.forEach(t);else for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)},G=e=>{if(e.jquery)return e[0];if(e instanceof HTMLElement)return e;if(Q(e)){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild}return document.querySelector(e)},Q=e=>"string"==typeof e&&e.indexOf("<")>-1,W=(e,t)=>{var i=document.createEvent("HTMLEvents");i.initEvent(t,!0,!1),e.dispatchEvent(i)},J=(e,t)=>{Object.assign(e.style,t)},U=(e,...t)=>{var i=Y(t);(e=Z(e)).map(e=>{i.map(t=>{e.classList.add(t)})})},X=(e,...t)=>{var i=Y(t);(e=Z(e)).map(e=>{i.map(t=>{e.classList.remove(t)})})},Y=e=>{var t=[];return K(e,e=>{"string"==typeof e&&(e=e.trim().split(/[\t\n\f\r\s]/)),Array.isArray(e)&&(t=t.concat(e))}),t.filter(Boolean)},Z=e=>(Array.isArray(e)||(e=[e]),e),ee=(e,t,i)=>{if(!i||i.contains(e))for(;e&&e.matches;){if(e.matches(t))return e;e=e.parentNode}},te=(e,t=0)=>t>0?e[e.length-1]:e[0],ie=(e,t)=>{if(!e)return-1;t=t||e.nodeName;for(var i=0;e=e.previousElementSibling;)e.matches(t)&&i++;return i},se=(e,t)=>{K(t,(t,i)=>{null==t?e.removeAttribute(i):e.setAttribute(i,""+t)})},ne=(e,t)=>{e.parentNode&&e.parentNode.replaceChild(t,e)},oe=(e,t)=>{if(null===t)return;if("string"==typeof t){if(!t.length)return;t=new RegExp(t,"i")}const i=e=>3===e.nodeType?(e=>{var i=e.data.match(t);if(i&&e.data.length>0){var s=document.createElement("span");s.className="highlight";var n=e.splitText(i.index);n.splitText(i[0].length);var o=n.cloneNode(!0);return s.appendChild(o),ne(n,s),1}return 0})(e):((e=>{1!==e.nodeType||!e.childNodes||/(script|style)/i.test(e.tagName)||"highlight"===e.className&&"SPAN"===e.tagName||Array.from(e.childNodes).forEac
1h(e=>{i(e)})})(e),0);i(e)},re="undefined"!=typeof navigator&&/Mac/.test(navigator.userAgent)?"metaKey":"ctrlKey",le={options:[],optgroups:[],plugins:[],delimiter:",",splitOn:null,persist:!0,diacritics:!0,create:null,createOnBlur:!1,createFilter:null,clearAfterSelect:!1,highlight:!0,openOnFocus:!0,shouldOpen:null,maxOptions:50,maxItems:null,hideSelected:null,duplicates:!1,addPrecedence:!1,selectOnTab:!1,preload:null,allowEmptyOption:!1,refreshThrottle:300,loadThrottle:300,loadingClass:"loading",dataAttr:null,optgroupField:"optgroup",valueField:"value",labelField:"text",disabledField:"disabled",optgroupLabelField:"label",optgroupValueField:"value",lockOptgroupOrder:!1,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"ts-wrapper",controlClass:"ts-control",dropdownClass:"ts-dropdown",dropdownContentClass:"ts-dropdown-content",itemClass:"item",optionClass:"option",dropdownParent:null,controlInput:'<input type="text" autocomplete="off" size="1" />',copyClassesToDropdown:!1,placeholder:null,hidePlaceholder:null,shouldLoad:function(e){return e.length>0},render:{}};function ae(e,t){var i=Object.assign({},le,t),s=i.dataAttr,n=i.labelField,o=i.valueField,r=i.disabledField,l=i.optgroupField,a=i.optgroupLabelField,c=i.optgroupValueField,d=e.tagName.toLowerCase(),u=e.getAttribute("placeholder")||e.getAttribute("data-placeholder");if(!u&&!i.allowEmptyOption){let t=e.querySelector('option[value=""]');t&&(u=t.textContent)}var p={placeholder:u,options:[],optgroups:[],items:[],maxItems:null};return"select"===d?(()=>{var t,d=p.options,u={},h=1;let g=0;var m=e=>{var t=Object.assign({},e.dataset),i=s&&t[s];return"string"==typeof i&&i.length&&(t=Object.assign(t,JSON.parse(i))),t},f=(e,t)=>{var s=D(e.value);if(null!=s&&(s||i.allowEmptyOption)){if(u.hasOwnProperty(s)){if(t){var a=u[s][l];a?Array.isArray(a)?a.push(t):u[s][l]=[a,t]:u[s][l]=t}}else{var c=m(e);c[n]=c[n]||e.textContent,c[o]=c[o]||s,c[r]=c[r]||e.disabled,c[l]=c[l]||t,c.$option=e,c.$order=c.$order||++g,u[s]=c,d.push(c)}e.selected&&p.items.push(s)}};p.maxItems=e.hasAttribute("multiple")?null:1,K(e.children,e=>{var i,s,n;"optgroup"===(t=e.tagName.toLowerCase())?((n=m(i=e))[a]=n[a]||i.getAttribute("label")||"",n[c]=n[c]||h++,n[r]=n[r]||i.disabled,n.$order=n.$order||++g,p.optgroups.push(n),s=n[c],K(i.children,e=>{f(e,s)})):"option"===t&&f(e)})})():(()=>{var t,r;const l=e.getAttribute(s);if(l)p.options=JSON.parse(l),K(p.options,e=>{p.items.push(e[o])});else{var a=null!==(r=null===(t=null==e?void 0:e.value)||void 0===t?void 0:t.trim())&&void 0!==r?r:"";if(!i.allowEmptyOption&&!a.length)return;const s=a.split(i.delimiter);K(s,e=>{const t={};t[n]=e,t[o]=e,p.options.push(t)}),p.items=s}})(),Object.assign({},le,p,t)}var ce=0;class de extends(function(e){return e.plugins={},class extends e{constructor(){super(...arguments),this.plugins={names:[],settings:{},requested:{},loaded:{}}}static define(t,i){e.plugins[t]={name:t,fn:i}}initializePlugins(e){var t,i;const s=this,n=[];if(Array.isArray(e))e.forEach(e=>{"string"==typeof e?n.push(e):(s.plugins.settings[e.name]=e.options,n.push(e.name))});else if(e)for(t in e)e.hasOwnProperty(t)&&(s.plugins.settings[t]=e[t],n.push(t));for(;i=n.shift();)s.require(i)}loadPlugin(t){var i=this,s=i.plugins,n=e.plugins[t];if(!e.plugins.hasOwnProperty(t))throw new Error('Unable to find "'+t+'" plugin');s.requested[t]=!0,s.loaded[t]=n.fn.apply(i,[i.plugins.settings[t]||{}]),s.names.push(t)}require(e){var t=this,i=t.plugins;if(!t.plugins.loaded.hasOwnProperty(e)){if(i.requested[e])throw new Error('Plugin has circular dependency ("'+e+'")');t.loadPlugin(e)}return i.loaded[e]}}}(t)){constructor(e,t){var i;super(),this.order=0,this.isOpen=!1,this.isDisabled=!1,this.isReadOnly=!1,this.isInvalid=!1,this.isValid=!0,this.isLocked=!1,this.isFocused=!1,this.isInputHidden=!1,this.isSetup=!1,this.isDropdownContentStale=!0,this.ignoreFocus=!1,this.ignoreHover=!1,this.hasOptions=!1,this.lastValue="",this.caretPos=0,this.loading=0,this.loadedSearches={},this.activeOption=null,this.activeItems=[],this.optgroups={},this.options={},this.userOptions={},this.items=[],this.refreshTimeout=null,ce++;var s=G(e);if(s.tomselect)throw new Error("Tom Select already initialized on this element");s.tomselect=this,i=(window.getComputedStyle&&window.getComputedStyle(s,null)).getPropertyValue("direction");const n=ae(s,t);this.settings=n,this.input=s,this.tabIndex=s.tabIndex||0,this.is_select_tag="select"===s.tagName.toLowerCase(),this.rtl=/rtl/i.test(i),this.inputId=M(s,"tomselect-"+ce),this.isRequired=s.required,this.sifter=new P(this.options,{diacritics:n.diacritics}),n.mode=n.mode||(1===n.maxItems?"single":"multi"),"boolean"!=typeof n.hideSelected&&(n.hideSelected="multi"===n.mode),"boolean"!=typeof n.hidePlaceholder&&(n.hidePlaceholder="multi"!==n.mode);var o=n.createFilter;
1"function"!=typeof o&&("string"==typeof o&&(o=new RegExp(o)),o instanceof RegExp?n.createFilter=e=>o.test(e):n.createFilter=e=>this.settings.duplicates||!this.options[e]),this.initializePlugins(n.plugins),this.setupCallbacks(),this.setupTemplates();const r=G("<div>"),l=G("<div>"),a=this._render("dropdown"),c=G('<div role="listbox" tabindex="-1">'),d=this.input.getAttribute("class")||"",u=n.mode;var p;if(U(r,n.wrapperClass,d,u),U(l,n.controlClass),B(r,l),U(a,n.dropdownClass,u),n.copyClassesToDropdown&&U(a,d),U(c,n.dropdownContentClass),B(a,c),G(n.dropdownParent||r).appendChild(a),Q(n.controlInput)){p=G(n.controlInput);K(["autocorrect","autocapitalize","autocomplete","spellcheck","aria-label"],e=>{s.getAttribute(e)&&se(p,{[e]:s.getAttribute(e)})}),p.tabIndex=-1,l.appendChild(p),this.focus_node=p}else n.controlInput?(p=G(n.controlInput),this.focus_node=p):(p=G("<input/>"),this.focus_node=l);this.wrapper=r,this.dropdown=a,this.dropdown_content=c,this.control=l,this.control_input=p,this.setup()}setup(){const e=this,t=e.settings,i=e.control_input,s=e.dropdown,n=e.dropdown_content,o=e.wrapper,r=e.control,a=e.input,c=e.focus_node,d={passive:!0},u=e.inputId+"-ts-dropdown";se(n,{id:u}),se(c,{role:"combobox","aria-haspopup":"listbox","aria-expanded":"false","aria-controls":u});const p=M(c,e.inputId+"-ts-control"),h="label[for='"+(e=>e.replace(/['"\\]/g,"\\$&"))(e.inputId)+"']",g=document.querySelector(h),m=e.focus.bind(e);if(g){H(g,"click",m),se(g,{for:p});const t=M(g,e.inputId+"-ts-label");se(c,{"aria-labelledby":t}),se(n,{"aria-labelledby":t})}if(o.style.width=a.style.width,o.style.minWidth=a.style.minWidth,o.style.maxWidth=a.style.maxWidth,e.plugins.names.length){const t="plugin-"+e.plugins.names.join(" plugin-");U([o,s],t)}(null===t.maxItems||t.maxItems>1)&&e.is_select_tag&&se(a,{multiple:"multiple"}),t.placeholder&&se(i,{placeholder:t.placeholder}),!t.splitOn&&t.delimiter&&(t.splitOn=new RegExp("\\s*"+l(t.delimiter)+"+\\s*")),t.load&&t.loadThrottle&&(t.load=V(t.load,t.loadThrottle)),H(s,"mousemove",()=>{e.ignoreHover=!1}),H(s,"mouseenter",t=>{var i=ee(t.target,"[data-selectable]",s);i&&e.onOptionHover(t,i)},{capture:!0}),H(s,"click",t=>{const i=ee(t.target,"[data-selectable]");i&&(e.onOptionSelect(t,i),q(t,!0))}),H(r,"click",t=>{var s=ee(t.target,"[data-ts-item]",r);s&&e.onItemSelect(t,s)?q(t,!0):""==i.value&&(e.onClick(),q(t,!0))}),H(c,"keydown",t=>e.onKeyDown(t)),H(i,"keypress",t=>e.onKeyPress(t)),H(i,"input",t=>e.onInput(t)),H(c,"blur",t=>e.onBlur(t)),H(c,"focus",t=>e.onFocus(t)),H(i,"paste",t=>e.onPaste(t));const f=t=>{const n=t.composedPath()[0];if(!o.contains(n)&&!s.contains(n))return e.isFocused&&e.blur(),void e.inputState();n==i&&e.isOpen?t.stopPropagation():q(t,!0)},v=()=>{e.isOpen&&e.positionDropdown()},y=()=>{e.isValid&&(e.isValid=!1,e.isInvalid=!0,e.refreshState())};H(a,"invalid",y),H(document,"mousedown",f),H(window,"scroll",v,d),H(window,"resize",v,d),this._destroy=()=>{a.removeEventListener("invalid",y),document.removeEventListener("mousedown",f),window.removeEventListener("scroll",v),window.removeEventListener("resize",v),g&&g.removeEventListener("click",m)},this.revertSettings={innerHTML:a.innerHTML,tabIndex:a.tabIndex},a.tabIndex=-1,a.insertAdjacentElement("afterend",e.wrapper),e.sync(!1),t.items=[],delete t.optgroups,delete t.options,e.refreshItems(),e.close(!1),e.inputState(),e.isSetup=!0,e.on("change",this.onChange),U(a,"tomselected","ts-hidden-accessible"),e.trigger("initialize"),!0===t.preload&&e.preload()}setupOptions(e=[],t=[]){this.addOptions(e),K(t,e=>{this.registerOptionGroup(e)})}setupTemplates(){var e=this,t=e.settings.labelField,i=e.settings.optgroupLabelField,s={optgroup:e=>{let t=document.createElement("div");return t.className="optgroup",t.appendChild(e.options),t},optgroup_header:(e,t)=>'<div class="optgroup-header">'+t(e[i])+"</div>",option:(e,i)=>"<div>"+i(e[t])+"</div>",item:(e,i)=>"<div>"+i(e[t])+"</div>",option_create:(e,t)=>'<div class="create">Add <strong>'+t(e.input)+"</strong>&hellip;</div>",no_results:()=>'<div class="no-results">No results found</div>',loading:()=>'<div class="spinner"></div>',not_loading:()=>{},dropdown:()=>"<div></div>"};e.settings.render=Object.assign({},s,e.settings.render)}setupCallbacks(){var e,t,i={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",item_select:"onItemSelect",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",optgroup_add:"onOptionGroupAdd",optgroup_remove:"onOptionGroupRemove",optgroup_clear:"onOptionGroupClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType",load:"onLoad",focus:"onFocus",blur:"onBlur"};for(e in i)(t=this.settings[i[e]])&&this.on(e,t)}sync(e=!0){const t=this,i=e?ae(t.input,{delimiter:t.settings.delimiter,allowEmptyOption:t.settings.allowEmptyOption}):t.settings;t.setupOptions(i.options,i.optgroups),t.setValue(i.items||[],!0),t.input.disabled?t.disable():t.
1input.readOnly?t.setReadOnly(!0):t.enable(),t.lastQuery=null}onClick(){var e=this;if(e.activeItems.length>0)return e.clearActiveItems(),void e.focus();e.isFocused&&e.isOpen?e.blur():e.focus()}onMouseDown(){}onChange(){W(this.input,"input"),W(this.input,"change")}onPaste(e){var t=this;t.isInputHidden||t.isLocked?q(e):t.settings.splitOn&&setTimeout(()=>{var e=t.inputValue();if(e.match(t.settings.splitOn)){var i=e.trim().split(t.settings.splitOn);K(i,e=>{D(e)&&(this.options[e]?t.addItem(e):t.createItem(e))})}},0)}onKeyPress(e){var t=this;if(!t.isLocked){var i=String.fromCharCode(e.keyCode||e.which);return t.settings.create&&"multi"===t.settings.mode&&i===t.settings.delimiter?(t.createItem(),void q(e)):void 0}q(e)}onKeyDown(e){var t=this;if(t.ignoreHover=!0,t.isLocked)9!==e.keyCode&&q(e);else{switch(e.keyCode){case 65:if(R(re,e)&&""==t.control_input.value)return q(e),void t.selectAll();break;case 27:return t.isOpen&&(q(e,!0),t.close()),void t.clearActiveItems();case 40:if(!t.isOpen&&t.hasOptions)t.open();else if(t.activeOption){let e=t.getAdjacent(t.activeOption,1);e&&t.setActiveOption(e)}return void q(e);case 38:if(t.activeOption){let e=t.getAdjacent(t.activeOption,-1);e&&t.setActiveOption(e)}return void q(e);case 13:return void(t.canSelect(t.activeOption)?(t.onOptionSelect(e,t.activeOption),q(e)):(t.settings.create&&t.createItem()||document.activeElement==t.control_input&&t.isOpen)&&q(e));case 37:return void t.advanceSelection(-1,e);case 39:return void t.advanceSelection(1,e);case 9:return void(t.settings.selectOnTab&&(t.canSelect(t.activeOption)?(t.onOptionSelect(e,t.activeOption),q(e)):t.settings.create&&t.createItem()&&q(e)));case 8:case 46:return void t.deleteSelection(e)}t.isInputHidden&&!R(re,e)&&q(e)}}onInput(e){if(this.isLocked)return;const t=this.inputValue();this.lastValue!==t&&(this.lastValue=t,""!=t?(this.refreshTimeout&&window.clearTimeout(this.refreshTimeout),this.refreshTimeout=((e,t)=>t>0?window.setTimeout(e,t):(e.call(null),null))(()=>{this.refreshTimeout=null,this._onInput()},this.settings.refreshThrottle)):this._onInput())}_onInput(){const e=this.lastValue;this.settings.shouldLoad.call(this,e)&&this.load(e),this.refreshOptions(),this.trigger("type",e)}onOptionHover(e,t){this.ignoreHover||this.setActiveOption(t,!1)}onFocus(e){var t=this,i=t.isFocused;if(t.isDisabled||t.isReadOnly)return t.blur(),void q(e);t.ignoreFocus||(t.isFocused=!0,"focus"===t.settings.preload&&t.preload(),i||t.trigger("focus"),t.activeItems.length||(t.inputState(),t.refreshOptions(!!t.settings.openOnFocus)),t.refreshState())}onBlur(e){if(!1!==document.hasFocus()){var t=this;if(t.isFocused){t.isFocused=!1,t.ignoreFocus=!1;var i=()=>{t.close(),t.setActiveItem(),t.setCaret(t.items.length),t.trigger("blur")};t.settings.create&&t.settings.createOnBlur?t.createItem(null,i):i()}}}onOptionSelect(e,t){var i,s=this;t.parentElement&&t.parentElement.matches("[data-disabled]")||(t.classList.contains("create")?s.createItem(null,()=>{s.settings.closeAfterSelect?s.close():s.settings.clearAfterSelect&&s.setTextboxValue()}):void 0!==(i=t.dataset.value)&&(s.isDropdownContentStale=s.settings.hideSelected,s.addItem(i),s.settings.closeAfterSelect?s.close():s.settings.clearAfterSelect&&s.setTextboxValue(),!s.settings.hideSelected&&e.type&&/click/.test(e.type)&&s.setActiveOption(t)))}canSelect(e){return!!(this.isOpen&&e&&this.dropdown_content.contains(e))}onItemSelect(e,t){var i=this;return!i.isLocked&&"multi"===i.settings.mode&&(q(e),i.setActiveItem(t,e),!0)}canLoad(e){return!!this.settings.load&&!this.loadedSearches.hasOwnProperty(e)}load(e){const t=this;if(!t.canLoad(e))return;U(t.wrapper,t.settings.loadingClass),t.loading++;const i=t.loadCallback.bind(t);t.settings.load.call(t,e,i)}loadCallback(e,t){const i=this;i.loading=Math.max(i.loading-1,0),i.isDropdownContentStale=!0,i.clearActiveOption(),i.setupOptions(e,t),i.refreshOptions(i.isFocused&&!i.isInputHidden),i.loading||X(i.wrapper,i.settings.loadingClass),i.trigger("load",e,t)}preload(){var e=this.wrapper.classList;e.contains("preloaded")||(e.add("preloaded"),this.load(""))}setTextboxValue(e=""){var t=this.control_input;t.value!==e&&(t.value=e,W(t,"update"),this.lastValue=e)}getValue(){return this.is_select_tag&&this.input.hasAttribute("multiple")?this.items:this.items.join(this.settings.delimiter)}setValue(e,t){$(this,t?[]:["change"],()=>{this.clear(t),this.addItems(e,t)})}setMaxItems(e){0===e&&(e=null),this.settings.maxItems=e,this.refreshState()}setActiveItem(e,t){var i,s,n,o,r,l,a=this;if("single"!==a.settings.mode){if(!e)return a.clearActiveItems(),void(a.isFocused&&a.inputState());if("click"===(i=t&&t.type.toLowerCase())&&R("shiftKey",t)&&a.activeItems.length){for(l=a.getLastActive(),(n=Array.prototype.indexOf.call(a.control.children,l))>(o=Array.prototype.indexOf.call(a.control.children,e))&&(r=n,n=o,o=r),s=n;s<=o;s++)e=a.control.children[s],-1===a.activeItems.indexOf(e)&&a.setActiveItem
1Class(e);q(t)}else"click"===i&&R(re,t)||"keydown"===i&&R("shiftKey",t)?e.classList.contains("active")?a.removeActiveItem(e):a.setActiveItemClass(e):(a.clearActiveItems(),a.setActiveItemClass(e));a.inputState(),a.isFocused||a.focus()}}setActiveItemClass(e){const t=this,i=t.control.querySelector(".last-active");i&&X(i,"last-active"),U(e,"active last-active"),t.trigger("item_select",e),-1==t.activeItems.indexOf(e)&&t.activeItems.push(e)}removeActiveItem(e){var t=this.activeItems.indexOf(e);this.activeItems.splice(t,1),X(e,"active")}clearActiveItems(){X(this.activeItems,"active"),this.activeItems=[]}setActiveOption(e,t=!0){e!==this.activeOption&&(this.clearActiveOption(),e&&(this.activeOption=e,se(this.focus_node,{"aria-activedescendant":e.getAttribute("id")}),se(e,{"aria-selected":"true"}),U(e,"active"),t&&this.scrollToOption(e)))}scrollToOption(e,t){if(!e)return;const i=this.dropdown_content,s=i.clientHeight,n=i.scrollTop||0,o=e.offsetHeight,r=e.getBoundingClientRect().top-i.getBoundingClientRect().top+n;r+o>s+n?this.scroll(r-s+o,t):r<n&&this.scroll(r,t)}scroll(e,t){const i=this.dropdown_content;t&&(i.style.scrollBehavior=t),i.scrollTop=e,i.style.scrollBehavior=""}clearActiveOption(){this.activeOption&&(X(this.activeOption,"active"),se(this.activeOption,{"aria-selected":null})),this.activeOption=null,se(this.focus_node,{"aria-activedescendant":null})}selectAll(){const e=this;if("single"===e.settings.mode)return;const t=e.controlChildren();t.length&&(e.inputState(),e.close(),e.activeItems=t,K(t,t=>{e.setActiveItemClass(t)}))}inputState(){var e=this;e.control.contains(e.control_input)&&(se(e.control_input,{placeholder:e.settings.placeholder}),e.activeItems.length>0||!e.isFocused&&e.settings.hidePlaceholder&&e.items.length>0?(e.setTextboxValue(),e.isInputHidden=!0):(e.settings.hidePlaceholder&&e.items.length>0&&se(e.control_input,{placeholder:""}),e.isInputHidden=!1),e.wrapper.classList.toggle("input-hidden",e.isInputHidden))}inputValue(){return this.control_input.value.trim()}focus(){var e=this;if(e.isDisabled||e.isReadOnly)return;e.ignoreFocus=!0;const t=this.control_input.offsetWidth?this.control_input:this.focus_node;t.focus(),setTimeout(()=>{e.ignoreFocus=!1;t.getRootNode().activeElement===t&&this.onFocus()},0)}blur(){this.focus_node.blur(),this.onBlur()}getScoreFunction(e){return this.sifter.getScoreFunction(e,this.getSearchOptions())}getSearchOptions(){var e=this.settings,t=e.sortField;return"string"==typeof e.sortField&&(t=[{field:e.sortField}]),{fields:e.searchField,conjunction:e.searchConjunction,sort:t,nesting:e.nesting}}search(e){var t,i,s=this,n=this.getSearchOptions();if(s.settings.score&&"function"!=typeof(i=s.settings.score.call(s,e)))throw new Error('Tom Select "score" setting must be a function that returns a function');return s.isDropdownContentStale||e!==s.lastQuery?(s.lastQuery=e,/(.)\1{15,}/.test(e)&&(e=""),t=s.sifter.search(e,Object.assign(n,{score:i})),s.currentResults=t):t=Object.assign({},s.currentResults),s.settings.hideSelected&&(t.items=t.items.filter(e=>{let t=D(e.id);return!(null!==t&&-1!==s.items.indexOf(t))})),t}refreshOptions(e=!0){var t,i,s,n,o,r,l,a,c,d;const u={},p=[];var h=this,g=h.inputValue();const m=g===h.lastQuery||""==g&&null==h.lastQuery;var f=h.search(g),v=null,y=h.settings.shouldOpen||!1,O=h.dropdown_content;m&&(v=h.activeOption)&&(c=v.closest("[data-group]")),n=f.items.length,"number"==typeof h.settings.maxOptions&&(n=Math.min(n,h.settings.maxOptions)),n>0&&(y=!0);const b=(e,t)=>{let i=u[e];if(void 0!==i){let e=p[i];if(void 0!==e)return[i,e.fragment]}let s=document.createDocumentFragment();return i=p.length,p.push({fragment:s,order:t,optgroup:e}),[i,s]};for(t=0;t<n;t++){let e=f.items[t];if(!e)continue;let n=e.id,l=h.options[n];if(void 0===l)continue;let a=N(n),d=h.getOption(a,!0);for(h.settings.hideSelected||d.classList.toggle("selected",h.items.includes(a)),o=l[h.settings.optgroupField]||"",i=0,s=(r=Array.isArray(o)?o:[o])&&r.length;i<s;i++){o=r[i];let e=l.$order,t=h.optgroups[o];var w;if(void 0===t&&"function"==typeof h.settings.optionGroupRegister)(w=h.settings.optionGroupRegister.apply(h,[o]))&&h.registerOptionGroup(w);t=h.optgroups[o],void 0===t?o="":e=t.$order;const[s,a]=b(o,e);i>0&&(d=d.cloneNode(!0),se(d,{id:l.$id+"-clone-"+i,"aria-selected":null}),d.classList.add("ts-cloned"),X(d,"active"),h.activeOption&&h.activeOption.dataset.value==n&&c&&c.dataset.group===o.toString()&&(v=d)),a.appendChild(d),""!=o&&(u[o]=s)}}var S;h.settings.lockOptgroupOrder&&p.sort((e,t)=>
1e.order-t.order),l=document.createDocumentFragment(),K(p,e=>{let t=e.fragment,i=e.optgroup;if(!t||!t.children.length)return;let s=h.optgroups[i];if(void 0!==s){let e=document.createDocumentFragment(),i=h.render("optgroup_header",s);B(e,i),B(e,t);let n=h.render("optgroup",{group:s,options:e});B(l,n)}else B(l,t)}),O.innerHTML="",B(O,l),h.isDropdownContentStale=!1,h.settings.highlight&&(S=O.querySelectorAll("span.highlight"),Array.prototype.forEach.call(S,function(e){var t=e.parentNode;t.replaceChild(e.firstChild,e),t.normalize()}),f.query.length&&f.tokens.length&&K(f.tokens,e=>{oe(O,e.regex)}));var C=e=>{let t=h.render(e,{input:g});return t&&(y=!0,O.insertBefore(t,O.firstChild)),t};if(h.loading?C("loading"):h.settings.shouldLoad.call(h,g)?0===f.items.length&&C("no_results"):C("not_loading"),(a=h.canCreate(g))&&(d=C("option_create")),h.hasOptions=f.items.length>0||a,y){if(f.items.length>0){if(v||"single"!==h.settings.mode||null==h.items[0]||(v=h.getOption(h.items[0])),!O.contains(v)){let e=0;d&&!h.settings.addPrecedence&&(e=1),v=h.selectable()[e]}}else d&&(v=d);e&&!h.isOpen&&(h.open(),h.scrollToOption(v,"auto")),h.setActiveOption(v)}else h.clearActiveOption(),e&&h.isOpen&&h.close(!1)}selectable(){return this.dropdown_content.querySelectorAll("[data-selectable]")}addOption(e,t=!1){const i=this;if(Array.isArray(e))return i.addOptions(e,t),!1;const s=D(e[i.settings.valueField]);return null===s||i.options.hasOwnProperty(s)?(i.updateOption(e[i.settings.valueField],e),!1):(e.$order=e.$order||++i.order,e.$id=i.inputId+"-opt-"+e.$order,i.options[s]=e,i.isDropdownContentStale=!0,t&&(i.userOptions[s]=t,i.trigger("option_add",s,e)),s)}addOptions(e,t=!1){K(e,e=>{this.addOption(e,t)})}registerOption(e){return this.addOption(e)}registerOptionGroup(e){var t=D(e[this.settings.optgroupValueField]);return null!==t&&(e.$order=e.$order||++this.order,this.optgroups[t]=e,t)}addOptionGroup(e,t){var i;t[this.settings.optgroupValueField]=e,(i=this.registerOptionGroup(t))&&this.trigger("optgroup_add",i,t)}removeOptionGroup(e){this.optgroups.hasOwnProperty(e)&&(delete this.optgroups[e],this.clearCache(),this.trigger("optgroup_remove",e))}clearOptionGroups(){this.optgroups={},this.clearCache(),this.trigger("optgroup_clear")}updateOption(e,t){const i=this;var s,n;const o=D(e),r=D(t[i.settings.valueField]);if(null===o)return;const l=i.options[o];if(null==l)return;if("string"!=typeof r)throw new Error("Value must be set in option data");const a=i.getOption(o),c=i.getItem(o);if(t.$order=t.$order||l.$order,delete i.options[o],i.uncacheValue(r),i.options[r]=t,a){if(i.dropdown_content.contains(a)){const e=i._render("option",t);ne(a,e),i.activeOption===a&&i.setActiveOption(e)}a.remove()}c&&(-1!==(n=i.items.indexOf(o))&&i.items.splice(n,1,r),s=i._render("item",t),c.classList.contains("active")&&U(s,"active"),ne(c,s)),i.isDropdownContentStale=!0}removeOption(e,t){const i=this;e=N(e),i.uncacheValue(e),delete i.userOptions[e],delete i.options[e],i.isDropdownContentStale=!0,i.trigger("option_remove",e),i.removeItem(e,t)}clearOptions(e){const t=(e||this.clearFilter).bind(this);this.loadedSearches={},this.userOptions={},this.clearCache();const i={};K(this.options,(e,s)=>{t(e,s)&&(i[s]=e)}),this.options=this.sifter.items=i,this.isDropdownContentStale=!0,this.trigger("option_clear")}clearFilter(e,t){return this.items.indexOf(t)>=0}getOption(e,t=!1){const i=D(e);if(null===i)return null;const s=this.options[i];if(null!=s){if(s.$div)return s.$div;if(t)return this._render("option",s)}return null}getAdjacent(e,t,i="option"){var s;if(!e)return null;s="item"==i?this.controlChildren():this.dropdown_content.querySelectorAll("[data-selectable]");for(let i=0;i<s.length;i++)if(s[i]==e)return t>0?s[i+1]:s[i-1];return null}getItem(e){if("object"==typeof e)return e;var t=D(e);return null!==t?this.control.querySelector(`[data-value="${z(t)}"]`):null}addItems(e,t){var i=this,s=Array.isArray(e)?e:[e];const n=(s=s.filter(e=>-1===i.items.indexOf(e)))[s.length-1];s.forEach(e=>{i.isPending=e!==n,i.addItem(e,t)})}addItem(e,t){$(this,t?[]:["change","dropdown_close"],()=>{var i,s;const n=this,o=n.settings.mode,r=D(e);if((!r||-1===n.items.indexOf(r)||("single"===o&&n.close(),"single"!==o&&n.settings.duplicates))&&null!==r&&n.options.hasOwnProperty(r)&&("single"===o&&n.clear(t),"multi"!==o||!n.isFull())){if(i=n._render("item",n.options[r]),n.control.contains(i)&&(i=i.cloneNode(!0)),s=n.isFull(),n.items.splice(n.caretPos,0,r),n.insertAtCaret(i),n.isSetup){if(!n.isPending&&n.settings.hideSelected){let e=n.getOption(r),t=n.getAdjacent(e,1);t&&n.setActiveOption(t)}n.settings.clearAfterSelect&&n.setTextboxValue(),n.isPending||n.settings.closeAfterSelect||n.refreshOptions(n.isFocused&&"single"!==o),0!=n.settings.closeAfterSelect&&n.isFull()?n.close():n.isPending||n.positionDropdown(),n.trigger("item_add",r,i),n.isPending||n.updateOriginalInput({silent:t})}
1(!n.isPending||!s&&n.isFull())&&(n.inputState(),n.refreshState())}})}removeItem(e=null,t){const i=this;if(!(e=i.getItem(e)))return;var s,n;const o=e.dataset.value;s=ie(e),e.remove(),e.classList.contains("active")&&(n=i.activeItems.indexOf(e),i.activeItems.splice(n,1),X(e,"active")),i.items.splice(s,1),i.isDropdownContentStale=!0,!i.settings.persist&&i.userOptions.hasOwnProperty(o)&&i.removeOption(o,t),s<i.caretPos&&i.setCaret(i.caretPos-1),i.updateOriginalInput({silent:t}),i.refreshState(),i.positionDropdown(),i.trigger("item_remove",o,e)}createItem(e=null,t=()=>{}){3===arguments.length&&(t=arguments[2]),"function"!=typeof t&&(t=()=>{});var i,s=this,n=s.caretPos;if(e=e||s.inputValue(),!s.canCreate(e)){return D(e)&&this.options[e]&&s.addItem(e),t(),!1}s.lock();var o=!1,r=e=>{if(s.unlock(),!e||"object"!=typeof e)return t();var i=D(e[s.settings.valueField]);if("string"!=typeof i)return t();s.setTextboxValue(),s.addOption(e,!0),s.setCaret(n),s.addItem(i),t(e),o=!0};return i="function"==typeof s.settings.create?s.settings.create.call(this,e,r):{[s.settings.labelField]:e,[s.settings.valueField]:e},o||r(i),!0}refreshItems(){var e=this;e.isDropdownContentStale=!0,e.isSetup&&e.addItems(e.items),e.updateOriginalInput(),e.refreshState()}refreshState(){const e=this;e.refreshValidityState();const t=e.isFull(),i=e.isLocked;e.wrapper.classList.toggle("rtl",e.rtl);const s=e.wrapper.classList;var n;s.toggle("focus",e.isFocused),s.toggle("disabled",e.isDisabled),s.toggle("readonly",e.isReadOnly),s.toggle("required",e.isRequired),s.toggle("invalid",!e.isValid),s.toggle("locked",i),s.toggle("full",t),s.toggle("input-active",e.isFocused&&!e.isInputHidden),s.toggle("dropdown-active",e.isOpen),s.toggle("has-options",(n=e.options,0===Object.keys(n).length)),s.toggle("has-items",e.items.length>0)}refreshValidityState(){var e=this;e.input.validity&&(e.isValid=e.input.validity.valid,e.isInvalid=!e.isValid)}isFull(){return null!==this.settings.maxItems&&this.items.length>=this.settings.maxItems}updateOriginalInput(e={}){const t=this;var i,s;const n=t.input.querySelector('option[value=""]');if(t.is_select_tag){const o=[],r=t.input.querySelectorAll("option:checked").length;function l(e,i,s){return e||(e=G('<option value="'+j(i)+'">'+j(s)+"</option>")),e!=n&&t.input.append(e),o.push(e),(e!=n||r>0||"multi"==t.settings.mode)&&(e.selected=!0),e}t.input.querySelectorAll("option:checked").forEach(e=>{e.selected=!1}),0==t.items.length&&"single"==t.settings.mode?l(n,"",""):t.items.forEach(e=>{if(i=t.options[e],s=i[t.settings.labelField]||"",o.includes(i.$option)){l(t.input.querySelector(`option[value="${z(e)}"]:not(:checked)`),e,s)}else i.$option=l(i.$option,e,s)})}else t.input.value=t.getValue();t.isSetup&&(e.silent||t.trigger("change",t.getValue()))}open(){var e=this;e.isLocked||e.isOpen||"multi"===e.settings.mode&&e.isFull()||(e.isOpen=!0,se(e.focus_node,{"aria-expanded":"true"}),e.refreshState(),J(e.dropdown,{visibility:"hidden",display:"block"}),e.positionDropdown(),J(e.dropdown,{visibility:"visible",display:"block"}),e.focus(),e.trigger("dropdown_open",e.dropdown))}close(e=!0){var t=this,i=t.isOpen;e&&(t.setTextboxValue(),"single"===t.settings.mode&&t.items.length&&t.inputState()),t.isOpen=!1,se(t.focus_node,{"aria-expanded":"false"}),J(t.dropdown,{display:"none"}),t.settings.hideSelected&&t.clearActiveOption(),t.refreshState(),i&&t.trigger("dropdown_close",t.dropdown)}positionDropdown(){if("body"===this.settings.dropdownParent){var e=this.control,t=e.getBoundingClientRect(),i=e.offsetHeight+t.top+window.scrollY,s=t.left+window.scrollX;J(this.dropdown,{width:t.width+"px",top:i+"px",left:s+"px"})}}clear(e){var t=this;if(t.items.length){var i=t.controlChildren();K(i,e=>{t.removeItem(e,!0)}),t.inputState(),e||t.updateOriginalInput(),t.trigger("clear")}}insertAtCaret(e){const t=this,i=t.caretPos,s=t.control;s.insertBefore(e,s.children[i]||null),t.setCaret(i+1)}deleteSelection(e){var t,i,s,n,o,r=this;t=e&&8===e.keyCode?-1:1,i={start:(o=r.control_input).selectionStart||0,length:(o.selectionEnd||0)-(o.selectionStart||0)};const l=[];if(r.activeItems.length)n=te(r.activeItems,t),s=ie(n),t>0&&s++,K(r.activeItems,e=>l.push(e));else if((r.isFocused||"single"===r.settings.mode)&&r.items.length){const e=r.controlChildren();let s;t<0&&0===i.start&&0===i.length?s=e[r.caretPos-1]:t>0&&i.start===r.inputValue().length&&(s=e[r.caretPos]),void 0!==s&&l.push(s)}if(!r.shouldDelete(l,e))return!1;for(q(e,!0),void 0!==s&&r.setCaret(s);l.length;)r.removeItem(l.pop());return r.inputState(),r.positionDropdown(),r.refreshOptions(!1),!0}shouldDelete(e,t){const i=e.map(e=>e.dataset.value);return!(!i.length||"function"==typeof this.settings.onDelete&&!1===this.settings.onDelete.call(this,i,t))}advanceSelection(e,t){var i,s,n=this;
1n.rtl&&(e*=-1),n.inputValue().length||(R(re,t)||R("shiftKey",t)?(s=(i=n.getLastActive(e))?i.classList.contains("active")?n.getAdjacent(i,e,"item"):i:e>0?n.control_input.nextElementSibling:n.control_input.previousElementSibling)&&(s.classList.contains("active")&&n.removeActiveItem(i),n.setActiveItemClass(s)):n.moveCaret(e))}moveCaret(e){}getLastActive(e){let t=this.control.querySelector(".last-active");if(t)return t;var i=this.control.querySelectorAll(".active");return i?te(i,e):void 0}setCaret(e){this.caretPos=this.items.length}controlChildren(){return Array.from(this.control.querySelectorAll("[data-ts-item]"))}lock(){this.setLocked(!0)}unlock(){this.setLocked(!1)}setLocked(e=this.isReadOnly||this.isDisabled){this.isLocked=e,this.refreshState()}disable(){this.setDisabled(!0),this.close()}enable(){this.setDisabled(!1)}setDisabled(e){this.focus_node.tabIndex=e?-1:this.tabIndex,this.isDisabled=e,this.input.disabled=e,this.control_input.disabled=e,this.setLocked()}setReadOnly(e){this.isReadOnly=e,this.input.readOnly=e,this.control_input.readOnly=e,this.setLocked()}destroy(){var e=this,t=e.revertSettings;e.trigger("destroy"),e.off(),e.wrapper.remove(),e.dropdown.remove(),e.input.innerHTML=t.innerHTML,e.input.tabIndex=t.tabIndex,X(e.input,"tomselected","ts-hidden-accessible"),e._destroy(),delete e.input.tomselect}render(e,t){var i,s;const n=this;if("function"!=typeof this.settings.render[e])return null;if(!(s=n.settings.render[e].call(this,t,j)))return null;if(s=G(s),"option"===e||"option_create"===e?t[n.settings.disabledField]?se(s,{"aria-disabled":"true"}):se(s,{"data-selectable":""}):"optgroup"===e&&(i=t.group[n.settings.optgroupValueField],se(s,{"data-group":i}),t.group[n.settings.disabledField]&&se(s,{"data-disabled":""})),"option"===e||"item"===e){const i=N(t[n.settings.valueField]);se(s,{"data-value":i}),"item"===e?(U(s,n.settings.itemClass),se(s,{"data-ts-item":""})):(U(s,n.settings.optionClass),se(s,{role:"option",id:t.$id}),t.$div=s,n.options[i]=t)}return s}_render(e,t){const i=this.render(e,t);if(null==i)throw"HTMLElement expected";return i}clearCache(){K(this.options,e=>{e.$div&&(e.$div.remove(),delete e.$div)})}uncacheValue(e){const t=this.getOption(e);t&&t.remove()}canCreate(e){return this.settings.create&&e.length>0&&this.settings.createFilter.call(this,e)}hook(e,t,i){var s=this,n=s[t];s[t]=function(){var t,o;return"after"===e&&(t=n.apply(s,arguments)),o=i.apply(s,arguments),"instead"===e?o:("before"===e&&(t=n.apply(s,arguments)),t)}}}var ue=i(107),pe=i.n(ue),he=i(530),ge=i.n(he);de.define("checkbox_options",pe()),de.define("remove_button",ge()),window.TomSelect=de})()})();;(()=>{"use strict";const e="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function t(e,t,n,o){e.addEventListener?e.addEventListener(t,n,o):e.attachEvent&&e.attachEvent(`on${t}`,n)}function n(e,t,n,o){e&&(e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent&&e.detachEvent(`on${t}`,n))}function o(e,t){const n=t.slice(0,t.length-1),o=[];for(let t=0;t<n.length;t++)o.push(e[n[t].toLowerCase()]);return o}function r(e){"string"!=typeof e&&(e="");const t=(e=e.replace(/\s/g,"")).split(",");let n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function s(e){let t=e.keyCode||e.which||e.charCode;return e.key&&/^[a-z]$/i.test(e.key)?e.key.toUpperCase().charCodeAt(0):(e.code&&/^Key[A-Z]$/.test(e.code)&&(t=e.code.charCodeAt(3)),t)}const c={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,arrowup:38,arrowdown:40,arrowleft:37,arrowright:39,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":e?173:189,"=":e?61:187,";":e?59:186,"'":222,"{":219,"}":221,"[":219,"]":221,"\\":220},i={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,meta:91,command:91}
1,l={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},a={16:!1,18:!1,17:!1,91:!1},f={};for(let e=1;e<20;e++)c[`f${e}`]=111+e;let d=[],p=null,y=null,u="all";const h=new Map,k=e=>c[e.toLowerCase()]||i[e.toLowerCase()]||e.toUpperCase().charCodeAt(0),m=e=>{u=e||"all"},w=()=>u||"all",g=e=>{const t=e.target||e.srcElement,{tagName:n}=t;let o=!0;const r="INPUT"===n&&!["checkbox","radio","range","button","file","reset","submit","color"].includes(t.type);return(t.isContentEditable||(r||"TEXTAREA"===n||"SELECT"===n)&&!t.readOnly)&&(o=!1),o};const O=(e,...t)=>{if(void 0===e)Object.keys(f).forEach(e=>{Array.isArray(f[e])&&f[e].forEach(e=>b(e)),delete f[e]}),L(null);else if(Array.isArray(e))e.forEach(e=>{e.key&&b(e)});else if("object"==typeof e)e.key&&b(e);else if("string"==typeof e){let[n,o]=t;"function"==typeof n&&(o=n,n=""),b({key:e,scope:n,method:o,splitKey:"+"})}},b=({key:e,scope:t,method:n,splitKey:s="+"})=>{r(e).forEach(e=>{const r=e.split(s),c=r.length,l=r[c-1],a="*"===l?"*":k(l);if(!f[a])return;t||(t=w());const d=c>1?o(i,r):[],p=[];f[a]=f[a].filter(e=>{const o=(!n||e.method===n)&&e.scope===t&&function(e,t){const n=e.length>=t.length?e:t,o=e.length>=t.length?t:e;let r=!0;for(let e=0;e<n.length;e++)-1===o.indexOf(n[e])&&(r=!1);return r}(e.mods,d);return o&&p.push(e.element),!o}),p.forEach(e=>L(e))})};function E(e,t,n,o){if(t.element!==o)return;let r;if(t.scope===n||"all"===t.scope){r=t.mods.length>0;for(const e in a)Object.prototype.hasOwnProperty.call(a,e)&&(!a[e]&&t.mods.indexOf(+e)>-1||a[e]&&-1===t.mods.indexOf(+e))&&(r=!1);(0!==t.mods.length||a[16]||a[18]||a[17]||a[91])&&!r&&"*"!==t.shortcut||(t.keys=[],t.keys=t.keys.concat(d),!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0)))}}function v(e,t){const n=f["*"];let o=s(e);if(e.key&&"capslock"===e.key.toLowerCase())return;if(!(K.filter||g).call(this,e))return;if(93!==o&&224!==o||(o=91),-1===d.indexOf(o)&&229!==o&&d.push(o),["metaKey","ctrlKey","altKey","shiftKey"].forEach(t=>{const n=l[t];e[t]&&-1===d.indexOf(n)?d.push(n):!e[t]&&d.indexOf(n)>-1?d.splice(d.indexOf(n),1):"metaKey"===t&&e[t]&&(d=d.filter(e=>e in l||e===o))}),o in a){a[o]=!0;for(const t in i)if(Object.prototype.hasOwnProperty.call(i,t)){const n=l[i[t]];K[t]=e[n]}if(!n)return}for(const t in a)Object.prototype.hasOwnProperty.call(a,t)&&(a[t]=e[l[t]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===d.indexOf(17)&&d.push(17),-1===d.indexOf(18)&&d.push(18),a[17]=!0,a[18]=!0);const r=w();if(n)for(let o=0;o<n.length;o++)n[o].scope===r&&("keydown"===e.type&&n[o].keydown||"keyup"===e.type&&n[o].keyup)&&E(e,n[o],r,t);if(!(o in f))return;const c=f[o],p=c.length;for(let n=0;n<p;n++)if(("keydown"===e.type&&c[n].keydown||"keyup"===e.type&&c[n].keyup)&&c[n].key){const o=c[n],{splitKey:s}=o,i=o.key.split(s),l=[];for(let e=0;e<i.length;e++)l.push(k(i[e]));l.sort().join("")===d.sort().join("")&&E(e,o,r,t)}}const K=function e(n,c,l){d=[];const u=r(n);let m=[],w="all",g=document,b=0,E=!1,L=!0,C="+",j=!1,x=!1;if(void 0===l&&"function"==typeof c&&(l=c),"[object Object]"===Object.prototype.toString.call(c)){const e=c;e.scope&&(w=e.scope),e.element&&(g=e.element),e.keyup&&(E=e.keyup),void 0!==e.ke
1ydown&&(L=e.keydown),void 0!==e.capture&&(j=e.capture),"string"==typeof e.splitKey&&(C=e.splitKey),!0===e.single&&(x=!0)}for("string"==typeof c&&(w=c),x&&O(n,w);b<u.length;b++){const e=u[b].split(C);m=[],e.length>1&&(m=o(i,e));let t=e[e.length-1];t="*"===t?"*":k(t),t in f||(f[t]=[]),f[t].push({keyup:E,keydown:L,scope:w,mods:m,shortcut:u[b],method:l,key:u[b],splitKey:C,element:g})}if(void 0!==g&&"undefined"!=typeof window){if(!h.has(g)){const e=(e=window.event)=>v(e,g),n=(e=window.event)=>{v(e,g),function(e){let t=s(e);e.key&&"capslock"===e.key.toLowerCase()&&(t=k(e.key));const n=d.indexOf(t);if(n>=0&&d.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&d.splice(0,d.length),93!==t&&224!==t||(t=91),t in a){a[t]=!1;for(const e in i)i[e]===t&&(K[e]=!1)}}(e)};h.set(g,{keydownListener:e,keyupListenr:n,capture:j}),t(g,"keydown",e,j),t(g,"keyup",n,j)}if(!p){const e=()=>{d=[]};p={listener:e,capture:j},t(window,"focus",e,j)}if(!y&&"undefined"!=typeof document){const t=()=>{d=[];for(const e in a)a[e]=!1;for(const t in i)e[t]=!1},n=t,o=t;document.addEventListener("fullscreenchange",n),document.addEventListener("webkitfullscreenchange",o),y={fullscreen:n,webkit:o}}}};function L(e){const t=Object.values(f).flat();if(t.findIndex(({element:t})=>t===e)<0&&e){const{keydownListener:t,keyupListenr:o,capture:r}=h.get(e)||{};t&&o&&(n(e,"keyup",o,r),n(e,"keydown",t,r),h.delete(e))}if(t.length<=0||h.size<=0){if(Array.from(h.keys()).forEach(e=>{const{keydownListener:t,keyupListenr:o,capture:r}=h.get(e)||{};t&&o&&(n(e,"keyup",o,r),n(e,"keydown",t,r),h.delete(e))}),h.clear(),Object.keys(f).forEach(e=>delete f[e]),p){const{listener:e,capture:t}=p;n(window,"focus",e,t),p=null}y&&"undefined"!=typeof document&&(document.removeEventListener("fullscreenchange",y.fullscreen),document.removeEventListener("webkitfullscreenchange",y.webkit),y=null)}}const C={getPressedKeyString:()=>d.map(e=>{return t=e,Object.keys(c).find(e=>c[e]===t)||(e=>Object.keys(i).find(t=>i[t]===e))(e)||String.fromCharCode(e);var t}),setScope:m,getScope:w,deleteScope:(e,t)=>{let n,o;e||(e=w());for(const t in f)if(Object.prototype.hasOwnProperty.call(f,t))for(n=f[t],o=0;o<n.length;)if(n[o].scope===e){n.splice(o,1).forEach(({element:e})=>L(e))}else o++;w()===e&&m(t||"all")},getPressedKeyCodes:()=>d.slice(0),getAllKeyCodes:()=>{const e=[];return Object.keys(f).forEach(t=>{f[t].forEach(({key:t,scope:n,mods:o,shortcut:r})=>{e.push({scope:n,shortcut:r,mods:o,keys:t.split("+").map(e=>k(e))})})}),e},isPressed:e=>("string"==typeof e&&(e=k(e)),-1!==d.indexOf(e)),filter:g,trigger:function(e,t="all"){Object.keys(f).forEach(n=>{f[n].filter(n=>n.scope===t&&n.shortcut===e).forEach(e=>{e&&e.method&&e.method({},e)})})},unbind:O,keyMap:c,modifier:i,modifierMap:l};for(const e in C){const t=e;Object.prototype.hasOwnProperty.call(C,t)&&(K[t]=C[t])}if("undefined"!=typeof window){const e=window.hotkeys;K.noConflict=t=>(t&&window.hotkeys===K&&(window.hotkeys=e),K),window.hotkeys=K}K.filter=()=>!0,window.hotkeys=K})();;(()=>{"use strict";const t={d:(e,i)=>{if(Array.isArray(i))for(var n=0;n<i.length;){var s=i[n++],o=i[n++];t.o(e,s)?0===o&&n++:0===o?Object.defineProperty(e,s,{enumerable:!0,value:i[n++]}):Object.defineProperty(e,s,{enumerable:!0,get:o})}else for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}};var e={};t.r(e),t.d(e,{afterMain:()=>A,afterRead:()=>v,afterWrite:()=>C,applyStyles:()=>$,arrow:()=>J,auto:()=>a,basePlacements:()=>l,beforeMain:()=>y,beforeRead:()=>_,beforeWrite:()=>E,bottom:()=>s,clippingParents:()=>u,computeStyles:()=>it,createPopper:()=>$t,createPopperBase:()=>Dt,createPopperLite:()=>It,detectOverflow:()=>bt,end:()=>h,eventListeners:()=>st,flip:()=>vt,hide:()=>At,left:()=>r,main:()=>w,modifierPhases:()=>O,offset:()=>Et,placements:()=>g,popper:()=>f,popperGenerator:()=>St,popperOffsets:()=>Tt,preventOverflow:()=>Ct,read:()=>b,reference:()=>p,right:()=>o,start:()=>c,top:()=>n,variationPlacements:()=>m,viewport:()=>d,write:()=>T});var i={};t.r(i),t.d(i,{Alert:()=>ke,Button:()=>Se,Carousel:()=>hi,Collapse:()=>Ti,Dropdown:()=>Yi,Modal:()=>Dn,Offcanvas:()=>Yn,Popover:()=>ws,ScrollSpy:()=>$s,Tab:()=>eo,Toast:()=>_o,Tooltip:()=>gs});var n="top",s="bottom",o="right",r="left",a="auto",l=[n,s,o,r],c="start",h="end",u="clippingParents",d="viewport",f="popper",p="reference",m=l.reduce(function(t,e){return t.concat([e+"-"+c,e+"-"+h])},[]),g=[].concat(l,[a]).reduce(function(t,e){return t.concat([e,e+"-"+c,e+"-"+h])},[]),_="beforeRead",b="read",v="afterRead",y="beforeMain",w="main",A="afterMain",E="beforeWrite",T="write",C="afterWrite",O=[_,b,v,y,w,A,E,T,C];
vendor: 17,775 bytes, line 1
1function x(t){return t?(t.nodeName||"").toLowerCase():null}function k(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function L(t){return t instanceof k(t).Element||t instanceof Element}function S(t){return t instanceof k(t).HTMLElement||t instanceof HTMLElement}function D(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}const $={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];S(s)&&x(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce(function(t,e){return t[e]="",t},{});S(n)&&x(n)&&(Object.assign(n.style,o),Object.keys(s).forEach(function(t){n.removeAttribute(t)}))})}},requires:["computeStyles"]};function I(t){return t.split("-")[0]}var N=Math.max,P=Math.min,j=Math.round;function M(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function F(){return!/^((?!chrome|android).)*safari/i.test(M())}function H(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&S(t)&&(s=t.offsetWidth>0&&j(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&j(n.height)/t.offsetHeight||1);var r=(L(t)?k(t):window).visualViewport,a=!F()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,u=n.height/o;return{width:h,height:u,top:c,right:l+h,bottom:c+u,left:l,x:l,y:c}}function W(t){var e=H(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function B(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&D(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function z(t){return k(t).getComputedStyle(t)}function R(t){return["table","td","th"].indexOf(x(t))>=0}function q(t){return((L(t)?t.ownerDocument:t.document)||window.document).documentElement}function V(t){return"html"===x(t)?t:t.assignedSlot||t.parentNode||(D(t)?t.host:null)||q(t)}function K(t){return S(t)&&"fixed"!==z(t).position?t.offsetParent:null}function Q(t){for(var e=k(t),i=K(t);i&&R(i)&&"static"===z(i).position;)i=K(i);return i&&("html"===x(i)||"body"===x(i)&&"static"===z(i).position)?e:i||function(t){var e=/firefox/i.test(M());if(/Trident/i.test(M())&&S(t)&&"fixed"===z(t).position)return null;var i=V(t);for(D(i)&&(i=i.host);S(i)&&["html","body"].indexOf(x(i))<0;){var n=z(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t,e,i){return N(t,P(e,i))}function U(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function G(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}const J={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,a=t.name,c=t.options,h=i.elements.arrow,u=i.modifiersData.popperOffsets,d=I(i.placement),f=X(d),p=[r,o].indexOf(d)>=0?"height":"width";if(h&&u){var m=function(t,e){return U("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:G(t,l))}(c.padding,i),g=W(h),_="y"===f?n:r,b="y"===f?s:o,v=i.rects.reference[p]+i.rects.reference[f]-u[f]-i.rects.popper[p],y=u[f]-i.rects.reference[f],w=Q(h),A=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,E=v/2-y/2,T=m[_],C=A-g[p]-m[b],O=A/2-g[p]/2+E,x=Y(T,O,C),k=f;i.modifiersData[a]=((e={})[k]=x,e.centerOffset=x-O,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&B(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(t){return t.split("-")[1]}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function et(t){var e,i=t.popper,a=t.popperRect,l=t.placement,c=t.variation,u=t.offsets,d=t.position,f=t.gpuAcceleration,p=t.adaptive,m=t.roundOffsets,g=t.isFixed,_=u.x,b=void 0===_?0:_,v=u.y,y=void 0===v?0:v,w="function"==typeof m?m({x:b,y}):{x:b,y};b=w.x,y=w.y;var A=u.hasOwnProperty("x"),E=u.hasOwnProperty("y"),T=r,C=n,O=window;if(p){var x=Q(i),L="clientHeight",S="clientWidth";if(x===k(i)&&"static"!==z(x=q(i)).position&&"absolute"===d&&(L="scrollHeight",S="scrollWidth"),l===n||(l===r||l===o)&&c===h)C=s,y-=(g&&x===O&&O.visualViewport?O.visualViewport.height:x[L])-a.height,y*=f?1:-1;if(l===r||(l===n||l===s)&&c===h)T=o,b-=(g&&x===O&&O.visualViewport?O.visualViewport.width:x[S])-a.width,b*=f?1:-1}var D,$=Object.assign({position:d},p&&tt),I=!0===m?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:j(i*s)/s||0,y:j(n*s)/s||0}}({x:b,y},k(i)):{x:b,y};return b=I.x,y=I.y,f?Object.assign({},$,((D={})[C]=E?"0":"",D[T]=A?"0":"",D.transform=(O.devicePixelRatio||1)<=1?"translate("+b+"px, "+y+"px)":"translate3d("+b+"px, "+y+"px, 0)",D)):Object.assign({},$,((e={})[C]=E?y+"px":"",e[T]=A?b+"px":"",e.transform="",e))}const it={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:I(e.placement),variation:Z(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,et(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,et(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var nt={passive:!0};const st={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=k(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(t){t.addEventListener("scroll",i.update,nt)}),a&&l.addEventListener("resize",i.update,nt),function(){o&&c.forEach(function(t){t.removeEventListener("scroll",i.update,nt)}),a&&l.removeEventListener("resize",i.update,nt)}},data:{}};var ot={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(t){return t.replace(/left|right|bottom|top/g,function(t){return ot[t]})}var at={start:"end",end:"start"};function lt(t){return t.replace(/start|end/g,function(t){return at[t]})}function ct(t){var e=k(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ht(t){return H(q(t)).left+ct(t).scrollLeft}function ut(t){var e=z(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function dt(t){return["html","body","#document"].indexOf(x(t))>=0?t.ownerDocument.body:S(t)&&ut(t)?t:dt(V(t))}function ft(t,e){var i;void 0===e&&(e=[]);var n=dt(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=k(n),r=s?[o].concat(o.visualViewport||[],ut(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(ft(V(r)))}function pt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function mt(t,e,i){return e===d?pt(function(t,e){var i=k(t),n=q(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=F();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+ht(t),y:l}}(t,i)):L(e)?function(t,e){var i=H(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):pt(function(t){var e,i=q(t),n=ct(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=N(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=N(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+ht(t),l=-n.scrollTop;return"rtl"===z(s||i).direction&&(a+=N(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(q(t)))}function gt(t,e,i,n){var s="clippingParents"===e?function(t){var e=ft(V(t)),i=["absolute","fixed"].indexOf(z(t).position)>=0&&S(t)?Q(t):t;return L(i)?e.filter(function(t){return L(t)&&B(t,i)&&"body"!==x(t)}):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce(function(e,i){var s=mt(t,i,n);return e.top=N(s.top,e.top),e.right=P(s.right,e.right),e.bottom=P(s.bottom,e.bottom),e.left=N(s.left,e.left),e},mt(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function _t(t){var e,i=t.reference,a=t.element,l=t.placement,u=l?I(l):null,d=l?Z(l):null,f=i.x+i.width/2-a.width/2,p=i.y+i.height/2-a.height/2;switch(u){case n:e={x:f,y:i.y-a.height};break;case s:e={x:f,y:i.y+i.height};break;case o:e={x:i.x+i.width,y:p};break;case r:e={x:i.x-a.width,y:p};break;default:e={x:i.x,y:i.y}}var m=u?X(u):null;if(null!=m){var g="y"===m?"height":"width";switch(d){case c:e[m]=e[m]-(i[g]/2-a[g]/2);break;case h:e[m]=e[m]+(i[g]/2-a[g]/2)}}return e}function bt(t,e){void 0===e&&(e={});var i=e,r=i.placement,a=void 0===r?t.placement:r,c=i.strategy,h=void 0===c?t.strategy:c,m=i.boundary,g=void 0===m?u:m,_=i.rootBoundary,b=void 0===_?d:_,v=i.elementContext,y=void 0===v?f:v,w=i.altBoundary,A=void 0!==w&&w,E=i.padding,T=void 0===E?0:E,C=U("number"!=typeof T?T:G(T,l)),O=y===f?p:f,x=t.rects.popper,k=t.elements[A?O:y],S=gt(L(k)?k:k.contextElement||q(t.elements.popper),g,b,h),D=H(t.elements.reference),$=_t({reference:D,element:x,strategy:"absolute",placement:a}),I=pt(Object.assign({},x,$)),N=y===f?I:D,P={top:S.top-N.top+C.top,bottom:N.bottom-S.bottom+C.bottom,left:S.left-N.left+C.left,right:N.right-S.right+C.right},j=t.modifiersData.offset;if(y===f&&j){var M=j[a];Object.keys(P).forEach(function(t){var e=[o,s].indexOf(t)>=0?1:-1,i=[n,s].indexOf(t)>=0?"y":"x";P[t]+=M[i]*e})}return P}const vt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,h=t.name;if(!e.modifiersData[h]._skip){for(var u=i.mainAxis,d=void 0===u||u,f=i.altAxis,p=void 0===f||f,_=i.fallbackPlacements,b=i.padding,v=i.boundary,y=i.rootBoundary,w=i.altBoundary,A=i.flipVariations,E=void 0===A||A,T=i.allowedAutoPlacements,C=e.options.placement,O=I(C),x=_||(O===C||!E?[rt(C)]:function(t){if(I(t)===a)return[];var e=rt(t);return[lt(t),e,lt(e)]}(C)),k=[C].concat(x).reduce(function(t,i){return t.concat(I(i)===a?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,h=void 0===c?g:c,u=Z(n),d=u?a?m:m.filter(function(t){return Z(t)===u}):l,f=d.filter(function(t){return h.indexOf(t)>=0});0===f.length&&(f=d);var p=f.reduce(function(e,i){return e[i]=bt(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[I(i)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}(e,{placement:i,boundary:v,rootBoundary:y,padding:b,flipVariations:E,allowedAutoPlacements:T}):i)},[]),L=e.rects.reference,S=e.rects.popper,D=new Map,$=!0,N=k[0],P=0;P<k.length;P++){var j=k[P],M=I(j),F=Z(j)===c,H=[n,s].indexOf(M)>=0,W=H?"width":"height",B=bt(e,{placement:j,boundary:v,rootBoundary:y,altBoundary:w,padding:b}),z=H?F?o:r:F?s:n;L[W]>S[W]&&(z=rt(z));var R=rt(z),q=[];if(d&&q.push(B[M]<=0),p&&q.push(B[z]<=0,B[R]<=0),q.every(function(t){return t})){N=j,$=!1;break}D.set(j,q)}if($)for(var V=function(t){var e=k.find(function(e){var i=D.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return N=e,"break"},K=E?3:1;K>0;K--){if("break"===V(K))break}e.placement!==N&&(e.modifiersData[h]._skip=!0,e.placement=N,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function yt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function wt(t){return[n,o,s,r].some(function(e){return t[e]>=0})}const At={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=bt(e,{elementContext:"reference"}),a=bt(e,{altBoundary:!0}),l=yt(r,n),c=yt(a,s,o),h=wt(l),u=wt(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":u})}};const Et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,s=t.name,a=i.offset,l=void 0===a?[0,0]:a,c=g.reduce(function(t,i){return t[i]=function(t,e,i){var s=I(t),a=[r,n].indexOf(s)>=0?-1:1,l="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=l[0],h=l[1];return c=c||0,h=(h||0)*a,[r,o].indexOf(s)>=0?{x:h,y:c}:{x:c,y:h}}(i,e.rects,l),t},{}),h=c[e.placement],u=h.x,d=h.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=c}};const Tt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=_t({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};const Ct={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,a=t.name,l=i.mainAxis,h=void 0===l||l,u=i.altAxis,d=void 0!==u&&u,f=i.boundary,p=i.rootBoundary,m=i.altBoundary,g=i.padding,_=i.tether,b=void 0===_||_,v=i.tetherOffset,y=void 0===v?0:v,w=bt(e,{boundary:f,rootBoundary:p,padding:g,altBoundary:m}),A=I(e.placement),E=Z(e.placement),T=!E,C=X(A),O="x"===C?"y":"x",x=e.modifiersData.popperOffsets,k=e.rects.reference,L=e.rects.popper,S="function"==typeof y?y(Object.assign({},e.rects,{placement:e.placement})):y,D="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),$=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,j={x:0,y:0};if(x){if(h){var M,F="y"===C?n:r,H="y"===C?s:o,B="y"===C?"height":"width",z=x[C],R=z+w[F],q=z-w[H],V=b?-L[B]/2:0,K=E===c?k[B]:L[B],U=E===c?-L[B]:-k[B],G=e.elements.arrow,J=b&&G?W(G):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[F],it=tt[H],nt=Y(0,k[B],J[B]),st=T?k[B]/2-V-nt-et-D.mainAxis:K-nt-et-D.mainAxis,ot=T?-k[B]/2+V+nt+it+D.mainAxis:U+nt+it+D.mainAxis,rt=e.elements.arrow&&Q(e.elements.arrow),at=rt?"y"===C?rt.clientTop||0:rt.clientLeft||0:0,lt=null!=(M=null==$?void 0:$[C])?M:0,ct=z+ot-lt,ht=Y(b?P(R,z+st-lt-at):R,z,b?N(q,ct):q);x[C]=ht,j[C]=ht-z}if(d){var ut,dt="x"===C?n:r,ft="x"===C?s:o,pt=x[O],mt="y"===O?"height":"width",gt=pt+w[dt],_t=pt-w[ft],vt=-1!==[n,r].indexOf(A),yt=null!=(ut=null==$?void 0:$[O])?ut:0,wt=vt?gt:pt-k[mt]-L[mt]-yt+D.altAxis,At=vt?pt+k[mt]+L[mt]-yt-D.altAxis:_t,Et=b&&vt?function(t,e,i){var n=Y(t,e,i);return n>i?i:n}(wt,pt,At):Y(b?wt:gt,pt,b?At:_t);x[O]=Et,j[O]=Et-pt}e.modifiersData[a]=j}},requiresIfExists:["offset"]};function Ot(t,e,i){void 0===i&&(i=!1);var n,s,o=S(e),r=S(e)&&function(t){var e=t.getBoundingClientRect(),i=j(e.width)/t.offsetWidth||1,n=j(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=q(e),l=H(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==x(e)||ut(a))&&(c=(n=e)!==k(n)&&S(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:ct(n)),S(e)?((h=H(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=ht(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function xt(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}}),n.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){i.has(t.name)||s(t)}),n}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Lt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function St(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?kt:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},kt,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:L(t)?ft(t):t.contextElement?ft(t.contextElement):[],popper:ft(e)};var r,c,d=function(t){var e=xt(t);return O.reduce(function(t,i){return t.concat(e.filter(function(t){return t.phase===i}))},[])}((r=[].concat(n,a.options.modifiers),c=r.reduce(function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t},{}
vendor: 23,740 bytes, line 1
1),Object.keys(c).map(function(t){return c[t]})));return a.orderedModifiers=d.filter(function(t){return t.enabled}),a.orderedModifiers.forEach(function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n}),r=function(){};l.push(o||r)}}),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(Lt(e,i)){a.rects={reference:Ot(e,Q(i),"fixed"===a.options.strategy),popper:W(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(t){return a.modifiersData[t.name]=Object.assign({},t.data)});for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var s=a.orderedModifiers[n],o=s.fn,r=s.options,l=void 0===r?{}:r,u=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:u,instance:h})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise(function(t){h.forceUpdate(),t(a)})},function(){return r||(r=new Promise(function(t){Promise.resolve().then(function(){r=void 0,t(s())})})),r}),destroy:function(){u(),c=!0}};if(!Lt(t,e))return h;function u(){l.forEach(function(t){return t()}),l=[]}return h.setOptions(i).then(function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)}),h}}var Dt=St(),$t=St({defaultModifiers:[st,Tt,it,$,Et,vt,Ct,J,At]}),It=St({defaultModifiers:[st,Tt,it,$]});const Nt=new Map,Pt={set(t,e,i){Nt.has(t)||Nt.set(t,new Map);const n=Nt.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>Nt.has(t)&&Nt.get(t).get(e)||null,remove(t,e){if(!Nt.has(t))return;const i=Nt.get(t);i.delete(e),0===i.size&&Nt.delete(t)}},jt="transitionend",Mt=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),t),Ft=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),Ht=t=>{t.dispatchEvent(new Event(jt))},Wt=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),Bt=t=>Wt(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(Mt(t)):null,zt=t=>{if(!Wt(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},Rt=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),qt=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?qt(t.parentNode):null},Vt=()=>{},Kt=t=>{t.offsetHeight},Qt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Xt=[],Yt=()=>"rtl"===document.documentElement.dir,Ut=t=>{var e;e=()=>{const e=Qt();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(Xt.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Xt)t()}),Xt.push(e)):e()},Gt=(t,e=[],i=t)=>"function"==typeof t?t.call(...e):i,Jt=(t,e,i=!0)=>{if(!i)return void Gt(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(jt,o),Gt(t))};e.addEventListener(jt,o),setTimeout(()=>{s||Ht(e)},n)},Zt=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},te=/[^.]*(?=\..*)\.|.*/,ee=/\..*/,ie=/::\d+$/,ne={};let se=1;const oe={mouseenter:"mouseover",mouseleave:"mouseout"},re=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ae(t,e){return e&&`${e}::${se++}`||t.uidEvent||se++}function le(t){const e=ae(t);return t.uidEvent=e,ne[e]=ne[e]||{},ne[e]}function ce(t,e,i=null){return Object.values(t).find(t=>t.callable===e&&t.delegationSelector===i)}function he(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=pe(t);return re.has(o)||(o=t),[n,s,o]}function ue(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=he(e,i,n);if(e in oe){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=le(t),c=l[a]||(l[a]={}),h=ce(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const u=ae(r,e.replace(te,"")),d=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return ge(s,{delegateTarget:r}),n.oneOff&&me.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return ge(n,{delegateTarget:t}),i.oneOff&&me.off(t,n.type,e),e.apply(t,[n])}}(t,r);d.delegationSelector=o?i:null,d.callable=r,d.oneOff=s,d.uidEvent=u,c[u]=d,t.addEventListener(a,d,o)}function de(t,e,i,n,s){const o=ce(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function fe(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&de(t,e,i,r.callable,r.delegationSelector)}function pe(t){return t=t.replace(ee,""),oe[t]||t}const me={on(t,e,i,n){ue(t,e,i,n,!1)},one(t,e,i,n){ue(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=he(e,i,n),a=r!==e,l=le(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))fe(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace(ie,"");a&&!e.includes(s)||de(t,l,r,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;de(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=Qt();let s=null,o=!0,r=!0,a=!1;e!==pe(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=ge(new Event(e,{bubbles:o,cancelable:!0}),i);return a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function ge(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function _e(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function be(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ve={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${be(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${be(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter(t=>t.startsWith("bs")&&!t.startsWith("bsConfig"));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),e[i]=_e(t.dataset[n])}return e},getDataAttribute:(t,e)=>_e(t.getAttribute(`data-bs-${be(e)}`))};class ye{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=Wt(e)?ve.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...Wt(e)?ve.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,n]of Object.entries(e)){const e=t[i],s=Wt(e)?"element":Ft(e);if(!new RegExp(n).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${n}".`)}}}class we extends ye{constructor(t,e){super(),(t=Bt(t))&&(this._element=t,this._config=this._getConfig(e),Pt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Pt.remove(this._element,this.constructor.DATA_KEY),me.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){Jt(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Pt.get(Bt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Ae=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e?e.split(",").map(t=>Mt(t)).join(","):null},Ee={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(t=>!Rt(t)&&zt(t))},getSelectorFromElement(t){const e=Ae(t);return e&&Ee.findOne(e)?e:null},getElementFromSelector(t){const e=Ae(t);return e?Ee.findOne(e):null},getMultipleElementsFromSelector(t){const e=Ae(t);return e?Ee.find(e):[]}},Te=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;me.on(document,i,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Rt(this))return;const s=Ee.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()})},Ce=".bs.alert",Oe=`close${Ce}`,xe=`closed${Ce}`;class ke extends we{static get NAME(){return"alert"}close(){if(me.trigger(this._element,Oe).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),me.trigger(this._element,xe),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=ke.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}Te(ke,"close"),Ut(ke);const Le='[data-bs-toggle="button"]';class Se extends we{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=Se.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}me.on(document,"click.bs.button.data-api",Le,t=>{t.preventDefault();const e=t.target.closest(Le);Se.getOrCreateInstance(e).toggle()}),Ut(Se);const De=".bs.swipe",$e=`touchstart${De}`,Ie=`touchmove${De}`,Ne=`touchend${De}`,Pe=`pointerdown${De}`,je=`pointerup${De}`,Me={endCallback:null,leftCallback:null,rightCallback:null},Fe={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class He extends ye{constructor(t,e){super(),this._element=t,t&&He.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Me}static get DefaultType(){return Fe}static get NAME(){return"swipe"}dispose(){me.off(this._element,De)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Gt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&Gt(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(me.on(this._element,Pe,t=>this._start(t)),me.on(this._element,je,t=>this._end(t)),this._element.classList.add("pointer-event")):(me.on(this._element,$e,t=>this._start(t)),me.on(this._element,Ie,t=>this._move(t)),me.on(this._element,Ne,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const We=".bs.carousel",Be=".data-api",ze="ArrowLeft",Re="ArrowRight",qe="next",Ve="prev",Ke="left",Qe="right",Xe=`slide${We}`,Ye=`slid${We}`,Ue=`keydown${We}`,Ge=`mouseenter${We}`,Je=`mouseleave${We}`,Ze=`dragstart${We}`,ti=`load${We}${Be}`,ei=`click${We}${Be}`,ii="carousel",ni="active",si=".active",oi=".carousel-item",ri=si+oi,ai={[ze]:Qe,[Re]:Ke},li={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ci={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class hi extends we{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ee.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ii&&this.cycle()}static get Default(){return li}static get DefaultType(){return ci}static get NAME(){return"carousel"}next(){this._slide(qe)}nextWhenVisible(){!document.hidden&&zt(this._element)&&this.next()}prev(){this._slide(Ve)}pause(){this._isSliding&&Ht(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?me.one(this._element,Ye,()=>this.cycle()):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void me.one(this._element,Ye,()=>this.to(t));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?qe:Ve;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&me.on(this._element,Ue,t=>this._keydown(t)),"hover"===this._config.pause&&(me.on(this._element,Ge,()=>this.pause()),me.on(this._element,Je,()=>this._maybeEnableCycle())),this._config.touch&&He.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of Ee.find(".carousel-item img",this._element))me.on(t,Ze,t=>t.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Ke)),rightCallback:()=>this._slide(this._directionToOrder(Qe)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new He(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=ai[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=Ee.findOne(si,this._indicatorsElement);e.classList.remove(ni),e.removeAttribute("aria-current");const i=Ee.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(ni),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===qe,s=e||Zt(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>me.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(Xe).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),Kt(s),i.classList.add(l),s.classList.add(l);this._queueCallback(()=>{s.classList.remove(l,c),s.classList.add(ni),i.classList.remove(ni,c,l),this._isSliding=!1,r(Ye)},i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Ee.findOne(ri,this._element)}_getItems(){return Ee.find(oi,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Yt()?t===Ke?Ve:qe:t===Ke?qe:Ve}_orderToDirection(t){return Yt()?t===Ve?Ke:Qe:t===Ve?Qe:Ke}static jQueryInterface(t){return this.each(function(){const e=hi.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}me.on(document,ei,"[data-bs-slide], [data-bs-slide-to]",function(t){const e=Ee.getElementFromSelector(this);if(!e||!e.classList.contains(ii))return;t.preventDefault();const i=hi.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(i.to(n),void i._maybeEnableCycle()):"next"===ve.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),me.on(window,ti,()=>{const t=Ee.find('[data-bs-ride="carousel"]');for(const e of t)hi.getOrCreateInstance(e)}),Ut(hi);const ui=".bs.collapse",di=`show${ui}`,fi=`shown${ui}`,pi=`hide${ui}`,mi=`hidden${ui}`,gi=`click${ui}.data-api`,_i="show",bi="collapse",vi="collapsing",yi=`:scope .${bi} .${bi}`,wi='[data-bs-toggle="collapse"]',Ai={parent:null,toggle:!0},Ei={parent:"(null|element)",toggle:"boolean"};class Ti extends we{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=Ee.find(wi);for(const t of i){const e=Ee.getSelectorFromElement(t),i=Ee.find(e).filter(t=>t===this._element);null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ai}static get DefaultType(){return Ei}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(t=>Ti.getOrCreateInstance(t,{toggle:!1}))),t.length&&t[0]._isTransitioning)return;if(me.trigger(this._element,di).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(bi),this._element.classList.add(vi),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(vi),this._element.classList.add(bi,_i),this._element.style[e]="",me.trigger(this._element,fi)},this._element,!0),this._element.style[e]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(me.trigger(this._element,pi).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Kt(this._element),this._element.classList.add(vi),this._element.classList.remove(bi,_i);for(const t of this._triggerArray){const e=Ee.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(vi),this._element.classList.add(bi),me.trigger(this._element,mi)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(_i)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=Bt(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(wi);for(const e of t){const t=Ee.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=Ee.find(yi,this._config.parent);return Ee.find(t,this._config.parent).filter(t=>!e.includes(t))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const i=Ti.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}})}}me.on(document,gi,wi,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of Ee.getMultipleElementsFromSelector(this))Ti.getOrCreateInstance(t,{toggle:!1}).toggle()}),Ut(Ti);const Ci="dropdown",Oi=".bs.dropdown",xi=".data-api",ki="ArrowUp",Li="ArrowDown",Si=`hide${Oi}`,Di=`hidden${Oi}`,$i=`show${Oi}`,Ii=`shown${Oi}`,Ni=`click${Oi}${xi}`,Pi=`keydown${Oi}${xi}`,ji=`keyup${Oi}${xi}`,Mi="show",Fi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Hi=`${Fi}.${Mi}`,Wi=".dropdown-menu",Bi=Yt()?"top-end":"top-start",zi=Yt()?"top-start":"top-end",Ri=Yt()?"bottom-end":"bottom-start",qi=Yt()?"bottom-start":"bottom-end",Vi=Yt()?"left-start":"right-start",Ki=Yt()?"right-start":"left-start",Qi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Xi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Yi extends we{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=Ee.next(this._element,Wi)[0]||Ee.prev(this._element,Wi)[0]||Ee.findOne(Wi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Qi}static get DefaultType(){return Xi}static get NAME(){return Ci}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Rt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!me.trigger(this._element,$i,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
1navbar-nav"))for(const t of[].concat(...document.body.children))me.on(t,"mouseover",Vt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Mi),this._element.classList.add(Mi),me.trigger(this._element,Ii,t)}}hide(){if(Rt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!me.trigger(this._element,Si,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))me.off(t,"mouseover",Vt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Mi),this._element.classList.remove(Mi),this._element.setAttribute("aria-expanded","false"),ve.removeDataAttribute(this._menu,"popper"),me.trigger(this._element,Di,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!Wt(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ci.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){let t=this._element;"parent"===this._config.reference?t=this._parent:Wt(this._config.reference)?t=Bt(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=$t(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Mi)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Vi;if(t.classList.contains("dropstart"))return Ki;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?zi:Bi:e?qi:Ri}
vendor: 6,003 bytes, line 1
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(ve.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Gt(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:e}){const i=Ee.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>zt(t));i.length&&Zt(i,e,t===Li,!i.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=Yi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=Ee.find(Hi);for(const i of e){const e=Yi.getInstance(i);if(!e||!1===e._config.autoClose)continue;const n=t.composedPath(),s=n.includes(e._menu);if(n.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,n=[ki,Li].includes(t.key);if(!n&&!i)return;if(e&&!i)return;t.preventDefault();const s=this.matches(Fi)?this:Ee.prev(this,Fi)[0]||Ee.next(this,Fi)[0]||Ee.findOne(Fi,t.delegateTarget.parentNode),o=Yi.getOrCreateInstance(s);if(n)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}me.on(document,Pi,Fi,Yi.dataApiKeydownHandler),me.on(document,Pi,Wi,Yi.dataApiKeydownHandler),me.on(document,Ni,Yi.clearMenus),me.on(document,ji,Yi.clearMenus),me.on(document,Ni,Fi,function(t){t.preventDefault(),Yi.getOrCreateInstance(this).toggle()}),Ut(Yi);const Ui="backdrop",Gi="show",Ji=`mousedown.bs.${Ui}`,Zi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},tn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class en extends ye{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Zi}static get DefaultType(){return tn}static get NAME(){return Ui}show(t){if(!this._config.isVisible)return void Gt(t);this._append();const e=this._getElement();this._config.isAnimated&&Kt(e),e.classList.add(Gi),this._emulateAnimation(()=>{Gt(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(Gi),this._emulateAnimation(()=>{this.dispose(),Gt(t)})):Gt(t)}dispose(){this._isAppended&&(me.off(this._element,Ji),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Bt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),me.on(t,Ji,()=>{Gt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Jt(t,this._getElement(),this._config.isAnimated)}}const nn=".bs.focustrap",sn=`focusin${nn}`,on=`keydown.tab${nn}`,rn="backward",an={autofocus:!0,trapElement:null},ln={autofocus:"boolean",trapElement:"element"};class cn extends ye{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return an}static get DefaultType(){return ln}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),me.off(document,nn),me.on(document,sn,t=>this._handleFocusin(t)),me.on(document,on,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,me.off(document,nn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=Ee.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===rn?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?rn:"forward")}}const hn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",un=".sticky-top",dn="padding-right",fn="margin-right";class pn{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,dn,e=>e+t),this._setElementAttributes(hn,dn,e=>e+t),this._setElementAttributes(un,fn,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,dn),this._resetElementAttributes(hn,dn),this._resetElementAttributes(un,fn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)})}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&ve.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const i=ve.getDataAttribute(t,e);null!==i?(ve.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)})}
vendor: 4,273 bytes, line 1
1_applyManipulationCallback(t,e){if(Wt(t))e(t);else for(const i of Ee.find(t,this._element))e(i)}}const mn=".bs.modal",gn=`hide${mn}`,_n=`hidePrevented${mn}`,bn=`hidden${mn}`,vn=`show${mn}`,yn=`shown${mn}`,wn=`resize${mn}`,An=`click.dismiss${mn}`,En=`mousedown.dismiss${mn}`,Tn=`keydown.dismiss${mn}`,Cn=`click${mn}.data-api`,On="modal-open",xn="show",kn="modal-static",Ln={backdrop:!0,focus:!0,keyboard:!0},Sn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Dn extends we{constructor(t,e){super(t,e),this._dialog=Ee.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new pn,this._addEventListeners()}static get Default(){return Ln}static get DefaultType(){return Sn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;me.trigger(this._element,vn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(On),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning)return;me.trigger(this._element,gn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(xn),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){me.off(window,mn),me.off(this._dialog,mn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new en({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new cn({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=Ee.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),Kt(this._element),this._element.classList.add(xn);this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,me.trigger(this._element,yn,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){me.on(this._element,Tn,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),me.on(window,wn,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),me.on(this._element,En,t=>{me.one(this._element,An,e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(On),this._resetAdjustments(),this._scrollBar.reset(),me.trigger(this._element,bn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(me.trigger(this._element,_n).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(kn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(kn),this._queueCallback(()=>{this._element.classList.remove(kn),this._queueCallback(()=>{this._element.style.overflowY=e},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=Yt()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=Yt()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const i=Dn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method n
1amed "${t}"`);i[t](e)}})}}me.on(document,Cn,'[data-bs-toggle="modal"]',function(t){const e=Ee.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),me.one(e,vn,t=>{t.defaultPrevented||me.one(e,bn,()=>{zt(this)&&this.focus()})});const i=Ee.findOne(".modal.show");i&&Dn.getInstance(i).hide();Dn.getOrCreateInstance(e).toggle(this)}),Te(Dn),Ut(Dn);const $n=".bs.offcanvas",In=".data-api",Nn=`load${$n}${In}`,Pn="show",jn="showing",Mn="hiding",Fn=".offcanvas.show",Hn=`show${$n}`,Wn=`shown${$n}`,Bn=`hide${$n}`,zn=`hidePrevented${$n}`,Rn=`hidden${$n}`,qn=`resize${$n}`,Vn=`click${$n}${In}`,Kn=`keydown.dismiss${$n}`,Qn={backdrop:!0,keyboard:!0,scroll:!1},Xn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Yn extends we{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Qn}static get DefaultType(){return Xn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(me.trigger(this._element,Hn,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new pn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(jn);this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Pn),this._element.classList.remove(jn),me.trigger(this._element,Wn,{relatedTarget:t})},this._element,!0)}hide(){if(!this._isShown)return;if(me.trigger(this._element,Bn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Mn),this._backdrop.hide();this._queueCallback(()=>{this._element.classList.remove(Pn,Mn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new pn).reset(),me.trigger(this._element,Rn)},this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new en({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():me.trigger(this._element,zn)}:null})}_initializeFocusTrap(){return new cn({trapElement:this._element})}_addEventListeners(){me.on(this._element,Kn,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():me.trigger(this._element,zn))})}static jQueryInterface(t){return this.each(function(){const e=Yn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}me.on(document,Vn,'[data-bs-toggle="offcanvas"]',function(t){const e=Ee.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Rt(this))return;me.one(e,Rn,()=>{zt(this)&&this.focus()});const i=Ee.findOne(Fn);i&&i!==e&&Yn.getInstance(i).hide();Yn.getOrCreateInstance(e).toggle(this)}),me.on(window,Nn,()=>{for(const t of Ee.find(Fn))Yn.getOrCreateInstance(t).show()}),me.on(window,qn,()=>{for(const t of Ee.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Yn.getOrCreateInstance(t).hide()}),Te(Yn),Ut(Yn);const Un={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Gn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Jn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Zn=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Gn.has(i)||Boolean(Jn.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(i))};const ts={allowList:Un,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},es={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},is={entry:"(string|element|function|null)",selector:"(string|element)"};class ns extends ye{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return ts}static get DefaultType(){return es}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>
vendor: 9,989 bytes, line 1
1this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},is)}_setContent(t,e,i){const n=Ee.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?Wt(e)?this._putElementInTemplate(Bt(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)Zn(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Gt(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const ss=new Set(["sanitize","allowList","sanitizeFn"]),os="fade",rs="show",as=".tooltip-inner",ls=".modal",cs="hide.bs.modal",hs="hover",us="focus",ds="click",fs={AUTO:"auto",TOP:"top",RIGHT:Yt()?"left":"right",BOTTOM:"bottom",LEFT:Yt()?"right":"left"},ps={allowList:Un,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},ms={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class gs extends we{constructor(t,e){super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ps}static get DefaultType(){return ms}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),me.off(this._element.closest(ls),cs,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=me.trigger(this._element,this.constructor.eventName("show")),e=(qt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),me.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(rs),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))me.on(t,"mouseover",Vt);this._queueCallback(()=>{me.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(me.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(rs),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))me.off(t,"mouseover",Vt);this._activeTrigger[ds]=!1,this._activeTrigger[us]=!1,this._activeTrigger[hs]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),me.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(os,rs),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(os),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new ns({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[as]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(os)}_isShown(){return this.tip&&this.tip.classList.contains(rs)}_createPopper(t){const e=Gt(this._config.placement,[this,t,this._element]),i=fs[e.toUpperCase()];return $t(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return Gt(t,[this._element,this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...Gt(this._config.popperConfig,[void 0,e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)me.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[ds]=!(e._isShown()&&e._activeTrigger[ds]),e.toggle()});else if("manual"!==e){const t=e===hs?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===hs?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");me.on(this._element,t,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?us:hs]=!0,e._enter()}),me.on(this._element,i,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?us:hs]=e._element.contains(t.relatedTarget),e._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},me.on(this._element.closest(ls),cs,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=ve.getDataAttributes(this._element);for(const t of Object.keys(e))ss.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:Bt(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=gs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}Ut(gs);const _s=".popover-header",bs=".popover-body",vs={...gs.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ys={...gs.DefaultType,content:"(null|string|element|function)"};class ws extends gs{static get Default(){return vs}static get DefaultType(){return ys}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[_s]:this._getTitle(),[bs]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=ws.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}Ut(ws);const As=".bs.scrollspy",Es=`activate${As}`,Ts=`click${As}`,Cs=`load${As}.data-api`,Os="active",xs="[href]",ks=".nav-link",Ls=`${ks}, .nav-item > ${ks}, .list-group-item`,Ss={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ds={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class $s extends we{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ss}static get DefaultType(){return Ds}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Bt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(t=>Number.parseFloat(t))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(me.off(this._config.target,Ts),me.on(this._config.target,Ts,xs,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Ee.find(xs,this._config.target);for(const e of t){if(!e.hash||Rt(e))continue;const t=Ee.findOne(decodeURI(e.hash),this._element);zt(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Os),this._activateParents(t),me.trigger(this._element,Es,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))Ee.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Os);else for(const e of Ee.parents(t,".nav, .list-group"))for(const t of Ee.prev(e,Ls))t.classList.add(Os)}_clearActiveClass(t){t.classList.remove(Os);const e=Ee.find(`${xs}.${Os}`,t);for(const t of e)t.classList.remove(Os)}static jQueryInterface(t){return this.each(function(){const e=$s.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}me.on(window,Cs,()=>{for(const t of Ee.find('[data-bs-spy="scroll"]'))$s.getOrCreateInstance(t)}),Ut($s);const Is=".bs.tab",Ns=`hide${Is}`,Ps=`hidden${Is}`,js=`show${Is}`,Ms=`shown${Is}`,Fs=`click${Is}`,Hs=`keydown${Is}`,Ws=`load${Is}`,Bs="ArrowLeft",zs="ArrowRight",Rs="ArrowUp",qs="ArrowDown",Vs="Home",Ks="End",Qs="active",Xs="fade",Ys="show",Us=".dropdown-toggle",Gs=`:not(${Us})`,Js='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Zs=`${`.nav-link${Gs},.list-group-item${Gs},[role="tab"]${Gs}`}, ${Js}`,to=`.${Qs}[data-bs-toggle="tab"], .${Qs}[data-bs-toggle="pill"], .${Qs}[data-bs-toggle="list"]`;class eo extends we{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),me.on(this._element,Hs,t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?me.trigger(e,Ns,{relatedTarget:t}):null;me.trigger(t,js,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(Qs),this._activate(Ee.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),me.trigger(t,Ms,{relatedTarget:e})):t.classList.add(Ys)},t,t.classList.contains(Xs))}_deactivate(t,e){if(!t)return;t.classList.remove(Qs),t.blur(),this._deactivate(Ee.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),me.trigger(t,Ps,{relatedTarget:e})):t.classList.remove(Ys)},t,t.classList.contains(Xs))}_keydown(t){if(![Bs,zs,Rs,qs,Vs,Ks].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(t=>!Rt(t));let i;if([Vs,Ks].includes(t.key))i=e[t.key===Vs?0:e.length-1];else{const n=[zs,qs].includes(t.key);i=Zt(e,t.target,n,!0)}i&&(i.focus({preventScroll:!0}),eo.getOrCreateInstance(i).show())}_getChildren(){return Ee.find(Zs,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=Ee.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=Ee.findOne(t,i);s&&s.classList.toggle(n,e)};n(Us,Qs),n(".dropdown-menu",Ys),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(Qs)}_getInnerElement(t){return t.matches(Zs)?t:Ee.findOne(Zs,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const e=eo.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}me.on(document,Fs,Js,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),Rt(this)||eo.getOrCreateInstance(this).show()}),me.on(window,Ws,()=>{for(const t of Ee.find(to))eo.getOrCreateInstance(t)}),Ut(eo);const io=".bs.toast",no=`mouseover${io}`,so=`mouseout${io}`,oo=`focusin${io}`,ro=`focusout${io}`,ao=`hide${io}`,lo=`hidden${io}`,co=`show${io}`,ho=`shown${io}`,uo="hide",fo="show",po="showing",mo={animation:"boolean",autohide:"boolean",delay:"number"},go={animation:!0,autohide:!0,delay:5e3};class _o extends we{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return go}static get DefaultType(){return mo}static get NAME(){return"toast"}show(){if(me.trigger(this._element,co).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(uo),Kt(this._element),this._element.classList.add(fo,po),this._queueCallback(()=>{this._element.classList.remove(po),me.trigger(this._element,ho),this._maybeScheduleHide()},this._element,this._config.animation)}
1hide(){if(!this.isShown())return;if(me.trigger(this._element,ao).defaultPrevented)return;this._element.classList.add(po),this._queueCallback(()=>{this._element.classList.add(uo),this._element.classList.remove(po,fo),me.trigger(this._element,lo)},this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fo),super.dispose()}isShown(){return this._element.classList.contains(fo)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){me.on(this._element,no,t=>this._onInteraction(t,!0)),me.on(this._element,so,t=>this._onInteraction(t,!1)),me.on(this._element,oo,t=>this._onInteraction(t,!0)),me.on(this._element,ro,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=_o.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}Te(_o),Ut(_o),window.bootstrap=i})();;(()=>{var t={748(t){var e;e=function(){"use strict";function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function e(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function r(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function n(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?r(Object(i),!0).forEach(function(r){e(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function i(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function s(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}var a=function(t){return"string"==typeof t?document.querySelector(t):t()},u=function(t,e){var r="string"==typeof t?document.createElement(t):t;for(var n in e){var i=e[n];if("inside"===n)i.append(r);else if("dest"===n)a(i[0]).insertAdjacentElement(i[1],r);else if("around"===n){var o=i;o.parentNode.insertBefore(r,o),r.append(o),null!=o.getAttribute("autofocus")&&o.focus()}else n in r?r[n]=i:r.setAttribute(n,i)}return r},c=function(t,e){return t=String(t).toLowerCase(),e?t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC"):t},l=function(t,e){return u("mark",n({innerHTML:t},"string"==typeof e&&{class:e})).outerHTML},f=function(t,e){e.input.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:e.feedback,cancelable:!0}))},p=function(t,e,r){var n=r||{},i=n.mode,o=n.diacritics,s=n.highlight,a=c(e,o);if(e=String(e),t=c(t,o),"loose"===i){var u=(t=t.replace(/ /g,"")).length,f=0,p=Array.from(e).map(function(e,r){return f<u&&a[r]===t[f]&&(e=s?l(e,s):e,f++),e}).join("");if(f===u)return p}else{var d=a.indexOf(t);if(~d)return t=e.substring(d,d+t.length),s?e.replace(t,l(t,s)):e}},d=function(t,e){return new Promise(function(r,n){var i;return(i=t.data).cache&&i.store?r():new Promise(function(t,r){return"function"==typeof i.src?i.src(e).then(t,r):t(i.src)}).then(function(e){try{return t.feedback=i.store=e,f("response",t),r()}catch(t){return n(t)}},n)})},h=function(t,e){var r=e.data,n=e.searchEngine,i=[];r.store.forEach(function(o,a){var u=function(r){var s=r?o[r]:o,a="function"==typeof n?n(t,s):p(t,s,{mode:n,diacritics:e.diacritics,highlight:e.resultItem.highlight});if(a){var u={match:a,value:o};r&&(u.key=r),i.push(u)}};if(r.keys){var c,l=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=s(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==e.return||e.return()}finally{if(a)throw i}}}}(r.keys);try{for(l.s();!(c=l.n()).done;)u(c.value)}catch(t){l.e(t)}finally{l.f()}}else u()}),r.filter&&(i=r.filter(i));var o=i.slice(0,e.resultsList.maxResults);e.feedback={query:t,matches:i,results:o},f("results",e)},m="aria-expanded",v="aria-activedescendant",b="aria-selected",y=function(t,e){t.feedback.selection=n({index:e},t.feedback.results[e])},g=function(t){t.isOpen||((t.wrapper||t.input).setAttribute(m,!0),t.list.removeAttribute("hidden"),t.isOpen=!0,f("open",t))},w=function(t){t.isOpen&&((t.wrapper||t.input).setAttribute(m,!1),t.input.setAttribute(v,""),t.list.setAttribute("hidden",""),t.isOpen=!1,f("close",t))}
1,O=function(t,e){var r=e.resultItem,n=e.list.getElementsByTagName(r.tag),o=!!r.selected&&r.selected.split(" ");if(e.isOpen&&n.length){var s,a,u=e.cursor;t>=n.length&&(t=0),t<0&&(t=n.length-1),e.cursor=t,u>-1&&(n[u].removeAttribute(b),o&&(a=n[u].classList).remove.apply(a,i(o))),n[t].setAttribute(b,!0),o&&(s=n[t].classList).add.apply(s,i(o)),e.input.setAttribute(v,n[e.cursor].id),e.list.scrollTop=n[t].offsetTop-e.list.clientHeight+n[t].clientHeight+5,e.feedback.cursor=e.cursor,y(e,t),f("navigate",e)}},A=function(t){O(t.cursor+1,t)},j=function(t){O(t.cursor-1,t)},S=function(t,e,r){(r=r>=0?r:t.cursor)<0||(t.feedback.event=e,y(t,r),f("selection",t),w(t))};function k(t,e){var r=this;return new Promise(function(i,o){var s,a;return s=e||((a=t.input)instanceof HTMLInputElement||a instanceof HTMLTextAreaElement?a.value:a.innerHTML),function(t,e,r){return e?e(t):t.length>=r}(s=t.query?t.query(s):s,t.trigger,t.threshold)?d(t,s).then(function(e){try{return t.feedback instanceof Error?i():(h(s,t),t.resultsList&&function(t){var e=t.resultsList,r=t.list,i=t.resultItem,o=t.feedback,s=o.matches,a=o.results;if(t.cursor=-1,r.innerHTML="",s.length||e.noResults){var c=new DocumentFragment;a.forEach(function(t,e){var r=u(i.tag,n({id:"".concat(i.id,"_").concat(e),role:"option",innerHTML:t.match,inside:c},i.class&&{class:i.class}));i.element&&i.element(r,t)}),r.append(c),e.element&&e.element(r,o),g(t)}else w(t)}(t),c.call(r))}catch(t){return o(t)}},o):(w(t),c.call(r));function c(){return i()}})}var L=function(t,e){for(var r in t)for(var n in t[r])e(r,n)};function P(t){var e=this;return new Promise(function(r,i){var o,s,a;if(o=t.placeHolder,a={role:"combobox","aria-owns":(s=t.resultsList).id,"aria-haspopup":!0,"aria-expanded":!1},u(t.input,n(n({"aria-controls":s.id,"aria-autocomplete":"both"},o&&{placeholder:o}),!t.wrapper&&n({},a))),t.wrapper&&(t.wrapper=u("div",n({around:t.input,class:t.name+"_wrapper"},a))),s&&(t.list=u(s.tag,n({dest:[s.destination,s.position],id:s.id,role:"listbox",hidden:"hidden"},s.class&&{class:s.class}))),function(t){var e,r,i,o=t.events,s=(e=function(){return k(t)},r=t.debounce,function(){clearTimeout(i),i=setTimeout(function(){return e()},r)}),a=t.events=n({input:n({},o&&o.input)},t.resultsList&&{list:o?n({},o.list):{}}),u={input:{input:function(){s()},keydown:function(e){!function(t,e){switch(t.keyCode){case 40:case 38:t.preventDefault(),40===t.keyCode?A(e):j(e);break;case 13:e.submit||t.preventDefault(),e.cursor>=0&&S(e,t);break;case 9:e.resultsList.tabSelect&&e.cursor>=0&&S(e,t);break;case 27:e.input.value="",f("clear",e),w(e)}}(e,t)},blur:function(){w(t)}},list:{mousedown:function(t){t.preventDefault()},click:function(e){!function(t,e){var r=e.resultItem.tag.toUpperCase(),n=Array.from(e.list.querySelectorAll(r)),i=t.target.closest(r);i&&i.nodeName===r&&S(e,t,n.indexOf(i))}(e,t)}}};L(u,function(e,r){(t.resultsList||"input"===r)&&(a[e][r]||(a[e][r]=u[e][r]))}),L(a,function(e,r){t[e].addEventListener(r,a[e][r])})}(t),t.data.cache)return d(t).then(function(t){try{return c.call(e)}catch(t){return i(t)}},i);function c(){return f("init",t),r()}return c.call(e)})}function x(t){var e=t.prototype;e.init=function(){P(this)},e.start=function(t){k(this,t)},e.unInit=function(){if(this.wrapper){var t=this.wrapper.parentNode;t.insertBefore(this.input,this.wrapper),t.removeChild(this.wrapper)}var e;L((e=this).events,function(t,r){e[t].removeEventListener(r,e.events[t][r])})},e.open=function(){g(this)},e.close=function(){w(this)},e.goTo=function(t){O(t,this)},e.next=function(){A(this)},e.previous=function(){j(this)},e.select=function(t){S(this,null,t)},e.search=function(t,e,r){return p(t,e,r)}}return function t(e){this.options=e,this.id=t.instances=(t.instances||0)+1,this.name="autoComplete",this.wrapper=1,this.threshold=1,this.debounce=0,this.resultsList={position:"afterend",tag:"ul",maxResults:5},this.resultItem={tag:"li"},function(t){var e=t.name,r=t.options,n=t.resultsList,i=t.resultItem;for(var s in r)if("object"===o(r[s]))for(var u in t[s]||(t[s]={}),r[s])t[s][u]=r[s][u];else t[s]=r[s];t.selector=t.selector||"#"+e,n.destination=n.destination||t.selector,n.id=n.id||e+"_list_"+t.id,i.id=i.id||e+"_result",t.input
1=a(t.selector)}(this),x.call(this,t),P(this)}},t.exports=e()}};const e={};function r(n){const i=e[n];if(void 0!==i)return i.exports;const o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.n=t=>{const e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{if(Array.isArray(e))for(var n=0;n<e.length;){var i=e[n++],o=e[n++];r.o(t,i)?0===o&&n++:0===o?Object.defineProperty(t,i,{enumerable:!0,value:e[n++]}):Object.defineProperty(t,i,{enumerable:!0,get:o})}else for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=r(748),e=r.n(t);window.autoComplete=e()})()})();;(()=>{var e={487(){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(/<SELF>/g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},r={pattern:n,greedy:!0,inside:{escape:a}},i=t(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return n.source}),8),s={pattern:RegExp(i),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(i),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":s,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":s,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:r},s.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(Prism)},545(){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}
1|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,a=t.length;n<a;n++){var r=t[n];if("code"===r.type){var i=r.content[1],s=r.content[3];if(i&&s&&"code-language"===i.type&&"code-block"===s.type&&"string"==typeof i.content){var o=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase());s.alias?"string"==typeof s.alias?s.alias=[s.alias,l]:s.alias.push(l):s.alias=[l]}}else e(r.content)}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n="",a=0,r=t.classes.length;a<r;a++){var i=t.classes[a],u=/language-(.+)/.exec(i);if(u){n=u[1];break}}var g,d=e.languages[n];if(d)t.content=e.highlight((g=t.content,g.replace(s,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var a=o[t];return a||e})),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})}}});var s=RegExp(e.languages.markup.tag.pattern.source,"gi"),o={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism)},312(){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>
1\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:a},Prism.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},806(){Prism.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}
vendor: 10,939 bytes, line 1
1~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}},848(e,t,n){var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var a,i;switch(n=n||{},r.util.type(t)){case"Object":if(i=r.util.objId(t),n[i])return n[i];for(var s in a={},n[i]=a,t)t.hasOwnProperty(s)&&(a[s]=e(t[s],n));return a;case"Array":return i=r.util.objId(t),n[i]?n[i]:(a=[],n[i]=a,t.forEach(function(t,r){a[r]=e(t,n)}),a);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(a){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(a.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var a="no-"+t;e;){var r=e.classList;if(r.contains(t))return!0;if(r.contains(a))return!1;e=e.parentElement}return!!n}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var i=(a=a||r.languages)[e],s={};for(var o in i)if(i.hasOwnProperty(o)){if(o==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(o)||(s[o]=i[o])}var u=a[e];return a[e]=s,r.languages.DFS(r.languages,function(t,n){n===u&&t!=e&&(this[t]=s)}),s},DFS:function e(t,n,a,i){i=i||{};var s=r.util.objId;for(var o in t)if(t.hasOwnProperty(o)){n.call(t,o,t[o],a||o);var l=t[o],u=r.util.type(l);"Object"!==u||i[s(l)]?"Array"!==u||i[s(l)]||(i[s(l)]=!0,e(l,n,o,i)):(i[s(l)]=!0,e(l,n,null,i))}}},plugins:{},highlightAll:function(e,t){r.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var a={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};r.hooks.run("before-highlightall",a),a.elements=Array.prototype.slice.apply(a.container.querySelectorAll(a.selector)),r.hooks.run("before-all-elements-highlight",a);for(var i,s=0;i=a.elements[s++];)r.highlightElement(i,!0===t,a.callback)},highlightElement:function(t,n,a){var i=r.util.getLanguage(t),s=r.languages[i];r.util.setLanguage(t,i);var o=t.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&r.util.setLanguage(o,i);var l={element:t,language:i,grammar:s,code:t.textContent};function u(e){l.highlightedCode=e,r.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,r.hooks.run("after-highlight",l),r.hooks.run("complete",l),a&&a.call(l.element)}if(r.hooks.run("before-sanity-check",l),(o=l.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!l.code)return r.hooks.run("complete",l),void(a&&a.call(l.element));if(r.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var g=new Worker(r.filename);g.onmessage=function(e){u(e.data)},g.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else u(r.highlight(l.code,l.grammar,l.language));else u(r.util.encode(l.code))},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),i.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var a in n)t[a]=n[a];delete t.rest}var r=new l;return u(r,r.head,e),o(e,r,t,r.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(r)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,i=0;a=n[i++];)a(t)}},Token:i};function i(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length}function s(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var i=r[1].length;r.index+=i,r[0]=r[0].slice(i)}return r}function o(e,t,n,a,l,d){for(var c in n)if(n.hasOwnProperty(c)&&n[c]){var p=n[c];p=Array.isArray(p)?p:[p];for(var m=0;m<p.length;++m){if(d&&d.cause==c+","+m)return;var h=p[m],f=h.inside,b=!!h.lookbehind,k=!!h.greedy,y=h.alias;if(k&&!h.pattern.global){var v=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,v+"g")}for(var x=h.pattern||h,w=a.next,$=l;w!==t.tail&&!(d&&$>=d.reach);$+=w.value.length,w=w.next){var F=w.value;if(t.length>e.length)return;if(!(F instanceof i)){var A,S=1;if(k){if(!(A=s(x,$,e,b))||A.index>=e.length)break;var _=A.index,P=A.index+A[0].length,E=$;for(E+=w.value.length;_>=E;)E+=(w=w.next).value.length;if($=E-=w.value.length,w.value instanceof i)continue;for(var C=w;C!==t.tail&&(E<P||"string"==typeof C.value);C=C.next)S++,E+=C.value.length;S--,F=e.slice($,E),A.index-=$}else if(!(A=s(x,0,F,b)))continue;_=A.index;var j=A[0],z=F.slice(0,_),T=F.slice(_+j.length),O=$+F.length;d&&O>d.reach&&(d.reach=O);var L=w.prev;if(z&&(L=u(t,L,z),$+=z.length),g(t,L,S),w=u(t,L,new i(c,f?r.tokenize(j,f):j,y,j)),T&&u(t,w,T),S>1){var R={cause:c+","+m,reach:O};o(e,t,n,w.prev,$,R),d&&R.reach>d.reach&&(d.reach=R.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}function g(e,t,n){for(var a=t.next,r=0;r<n&&a!==e.tail;r++)a=a.next;t.next=a,a.prev=t,e.length-=r}if(e.Prism=r,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(i.classes,s):i.classes.push(s)),r.hooks.run("wrap",i);var o="";for(var l in i.attributes)o+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+o+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(r.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),a=n.language,i=n.code,s=n.immediateClose;e.postMessage(r.highlight(i,r.languages[a],a)),s&&e.close()},!1),r):r;var d=r.util.currentScript();function c(){r.manual||r.highlightAll()}if(d&&(r.filename=d.src,d.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var p=document.readyState;"loading"===p||"interactive"===p&&d&&d.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=a),void 0!==n.g&&(n.g.Prism=a),a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\
1s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}
1/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(){if(void 0!==a&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",r="loaded",i="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+n+'"])';a.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),a.hooks.add("before-sanity-check",function(s){var o=s.element;if(o.matches(i)){s.code="",o.setAttribute(t,n);var l=o.appendChild(document.createElement("CODE"));l.textContent="Loading…";var u=o.getAttribute("data-src"),g=s.language;if("none"===g){var d=(/\.(\w+)$/.exec(u)||[,"none"])[1];g=e[d]||d}a.util.setLanguage(l,g),a.util.setLanguage(o,g);var c=a.plugins.autoloader;c&&c.loadLanguages(g),function(e,t,n){var a=new XMLHttpRequest;a.open("GET",e,!0),a.onreadystatechange=function(){4==a.readyState&&(a.status<400&&a.responseText?t(a.responseText):a.status>=400?n("✖ Error "+a.status+" while fetching file: "+a.statusText):n("✖ Error: File does not exist or is empty"))},a.send(null)}(u,function(e){o.setAttribute(t,r);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),a=t[2],r=t[3];return a?r?[n,Number(r)]:[n,void 0]:[n,n]}}(o.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),s=n[0],u=null==n[1]?i.length:n[1];s<0&&(s+=i.length),s=Math.max(0,Math.min(s-1,i.length)),u<0&&(u+=i.length),u=
1Math.max(0,Math.min(u,i.length)),e=i.slice(s,u).join("\n"),o.hasAttribute("data-start")||o.setAttribute("data-start",String(s+1))}l.textContent=e,a.highlightElement(l)},function(e){o.setAttribute(t,"failed"),l.textContent=e})}}),a.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(i),r=0;t=n[r++];)a.highlightElement(t)}};var s=!1;a.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),a.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}};const t={};function n(a){const r=t[a];if(void 0!==r)return r.exports;const i=t[a]={exports:{}};return e[a](i,i.exports,n),i.exports}n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{if(Array.isArray(t))for(var a=0;a<t.length;){var r=t[a++],i=t[a++];n.o(e,r)?0===i&&a++:0===i?Object.defineProperty(e,r,{enumerable:!0,value:t[a++]}):Object.defineProperty(e,r,{enumerable:!0,get:i})}else for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(848),t=n.n(e);n(312),n(806),n(545),n(487);window.Prism=t()})()})();;Prism.languages.weblatesearch={string:{pattern:/r?("[^"]*"|'[^']*')/,},important:{pattern:/\b[a-z_]+:=?[<>]?/i,inside:{punctuation:/[:=<>]+$/,},},operator:/\b(and|not|or)\b/i,};;(()=>{function getDaysOfWeek(){return[pgettext("Short name of day","Su"),pgettext("Short name of day","Mo"),pgettext("Short name of day","Tu"),pgettext("Short name of day","We"),pgettext("Short name of day","Th"),pgettext("Short name of day","Fr"),pgettext("Short name of day","Sa"),];}
2function getMonthNames(){return[pgettext("Short name of month","Jan"),pgettext("Short name of month","Feb"),pgettext("Short name of month","Mar"),pgettext("Short name of month","Apr"),pgettext("Short name of month","May"),pgettext("Short name of month","Jun"),pgettext("Short name of month","Jul"),pgettext("Short name of month","Aug"),pgettext("Short name of month","Sep"),pgettext("Short name of month","Oct"),pgettext("Short name of month","Nov"),pgettext("Short name of month","Dec"),];}
3function startOfDay(d){return new Date(d.getFullYear(),d.getMonth(),d.getDate());}
4function sameDay(a,b){return(a.getFullYear()===b.getFullYear()&&a.getMonth()===b.getMonth()&&a.getDate()===b.getDate());}
5function inRange(d,a,b){const t=startOfDay(d).getTime();return t>=startOfDay(a).getTime()&&t<=startOfDay(b).getTime();}
6function formatDate(d){const mm=String(d.getMonth()+1).padStart(2,"0");const dd=String(d.getDate()).padStart(2,"0");return`${mm}/${dd}/${d.getFullYear()}`;}
7function parseDate(s){const m=/^(\d{2})\/(\d{2})\/(\d{4})$/.exec(s);if(!m)return null;const d=new Date(Number(m[3]),Number(m[1])-1,Number(m[2]));if(Number.isNaN(d.getTime()))return null;return d;}
8function daysInMonth(year,month){return new Date(year,month+1,0).getDate();}
9function firstWeekday(year,month){return new Date(year,month,1).getDay();}
10function getPresetRanges(){const today=startOfDay(new Date());function offsetDays(base,n){const d=new Date(base);d.setDate(d.getDate()+n);return d;}
11function startOfMonth(d){return new Date(d.getFullYear(),d.getMonth(),1);}
12function endOfMonth(d){return new Date(d.getFullYear(),d.getMonth()+1,0);}
13function startOfYear(d){return new Date(d.getFullYear(),0,1);}
14function endOfYear(d){return new Date(d.getFullYear(),11,31);}
15const lastMonth=new Date(today.getFullYear(),today.getMonth()-1,1);const lastYear=new Date(today.getFullYear()-1,0,1);return[{label:gettext("Today"),start:today,end:today},{label:gettext("Yesterday"),start:offsetDays(today,-1),end:offsetDays(today,-1),},{label:gettext("Last 7 days"),start:offsetDays(today,-6),end:today,},{label:gettext("Last 30 days"),start:offsetDays(today,-29),end:today,},{label:gettext("This month"),start:startOfMonth(today),end:endOfMonth(today),},{label:gettext("Last month"),start:startOfMonth(lastMonth),end:endOfMonth(lastMonth),},{label:gettext("This year"),start:startOfYear(today),end:endOfYear(today),},{label:gettext("Last year"),start:startOfYear(lastYear),end:endOfYear(lastYear),},];}
16function el(tag,attrs,children){const node=document.createElement(tag);if(attrs){for(const[k,v]of Object.entries(attrs)){if(v===undefined||v===null)continue;if(k==="className"){node.className=v;}else if(k.startsWith("on")){node.addEventListener(k.slice(2).toLowerCase(),v);}else{node.setAttribute(k,v);}}}
17if(children!=null){if(Array.isArray(children)){for(const c of children){if(c!=null){node.append(typeof c==="str
17ing"?document.createTextNode(c):c);}}}else if(typeof children==="string"){node.textContent=children;}else{node.append(children);}}
18return node;}
19const instances=new Set();function initDocumentListeners(){if(initDocumentListeners.done)return;initDocumentListeners.done=true;document.addEventListener("mousedown",(e)=>{for(const picker of instances){if(picker.isOpen()&&!picker.container.contains(e.target)&&e.target!==picker.input){picker.close();}}});document.addEventListener("keydown",(e)=>{if(e.key==="Escape"){for(const picker of instances){if(picker.isOpen()){picker.close();picker.input.focus();}}}});}
20class DateRangePicker{constructor(input){this.input=input;this.startDate=null;this.endDate=null;const now=new Date();this.viewYear=now.getFullYear();this.viewMonth=now.getMonth();const dsStart=input.getAttribute("data-start-date");const dsEnd=input.getAttribute("data-end-date");if(dsStart&&dsEnd){this.startDate=parseDate(dsStart);this.endDate=parseDate(dsEnd);if(this.startDate){this.viewYear=this.startDate.getFullYear();this.viewMonth=this.startDate.getMonth();}}
21this.container=el("div",{className:"datepicker",role:"dialog","aria-label":gettext("Select date range"),});this.container.style.display="none";this._wrapper=el("div",{className:"datepicker-wrapper"});this._wrapper.append(this.container);this.input.parentNode.insertBefore(this._wrapper,this.input.nextSibling);this.input.addEventListener("click",()=>this.toggle());this.input.addEventListener("keydown",(e)=>{if(e.key==="Enter"||e.key===" "){e.preventDefault();this.toggle();}});this.input.setAttribute("readonly","");this.input.setAttribute("autocomplete","off");instances.add(this);initDocumentListeners();this.render();}
22isOpen(){return this.container.style.display!=="none";}
23open(){this.container.style.display="";this.render();this._positionDropdown();}
24close(){this.container.style.display="none";}
25toggle(){if(this.isOpen()){this.close();}else{this.open();}}
26_positionDropdown(){const rect=this.input.getBoundingClientRect();const spaceBelow=window.innerHeight-rect.bottom;const dropdownHeight=this.container.offsetHeight;if(spaceBelow<dropdownHeight&&rect.top>dropdownHeight){this.container.classList.add("datepicker-above");this.container.classList.remove("datepicker-below");}else{this.container.classList.add("datepicker-below");this.container.classList.remove("datepicker-above");}}
27apply(){if(this.startDate&&this.endDate){this.input.value=`${formatDate(this.startDate)} - ${formatDate(this.endDate)}`;}
28this.close();}
29clear(){this.startDate=null;this.endDate=null;this.input.value="";this.close();}
30selectPreset(start,end){this.startDate=start;this.endDate=end;this.viewYear=start.getFullYear();this.viewMonth=start.getMonth();this.apply();}
31selectDay(date){if(!this.startDate||this.endDate){this.startDate=date;this.endDate=null;}else{if(date<this.startDate){this.endDate=this.startDate;this.startDate=date;}else{this.endDate=date;}}
32this.render();}
33prevMonth(){this.viewMonth-=1;if(this.viewMonth<0){this.viewMonth=11;this.viewYear-=1;}
34this.render();}
35nextMonth(){this.viewMonth+=1;if(this.viewMonth>11){this.viewMonth=0;this.viewYear+=1;}
36this.render();}
37render(){this.container.textContent="";this.container.append(this._buildContent());}
38_buildContent(){const body=el("div",{className:"datepicker-body"},[this._buildPresets(),this._buildCalendarPane(),]);return el("div",{className:"datepicker-inner"},[body,this._buildFooter(),]);}
39_buildPresets(){const items=getPresetRanges().map((preset)=>{const isActive=this.startDate&&this.endDate&&sameDay(this.startDate,preset.start)&&sameDay(this.endDate,preset.end);return el("button",{type:"button",className:`datepicker-preset${isActive ? " active" : ""}`,onClick:()=>this.selectPreset(preset.start,preset.end),},preset.label,);});return el("div",{className:"datepicker-presets"},items);}
40_buildCalendarPane(){const monthNames=getMonthNames();const daysOfWeek=getDaysOfWeek();const header=el("div",{className:"datepicker-cal-header"},[el("button",{type:"button",className:"datepicker-nav","aria-label":gettext("Previous month"),onClick:()=>this.prevMonth(),},"\u2039",),el("span",{className:"datepicker-cal-title"},`${monthNames[this.viewMonth]} ${this.viewYear}`,),el("button",{type:"button",className:"datepicker-nav","aria-label":gettext("Next month"),onClick:()=>this.nextMonth(),},"\u203A",),]);const weekRow=el("div",{className:"datepicker-weekdays"},daysOfWeek.map((d)=>el("span",{className:"datepicker-wdlabel"},d),),);const grid=this._buildDayGrid();return el("div",{className:"datepicker-calendar"},[header,weekRow,grid,]);}
41_buildDayGrid(){const today=startOfDay(new Date());const totalDays=daysInMonth(this.viewYear,this.viewMonth);const startWd=firstWeekday(this.viewYear,this.viewMonth);const cells=[];for(let i=0;i<startWd;
41i++){cells.push(el("span",{className:"datepicker-day datepicker-day--empty"}),);}
42for(let d=1;d<=totalDays;d++){const date=new Date(this.viewYear,this.viewMonth,d);const classes=["datepicker-day"];if(sameDay(date,today)){classes.push("datepicker-day--today");}
43const hasStart=this.startDate!=null;const hasEnd=this.endDate!=null;if(hasStart&&sameDay(date,this.startDate)){classes.push("datepicker-day--start");}
44if(hasEnd&&sameDay(date,this.endDate)){classes.push("datepicker-day--end");}
45if(hasStart&&hasEnd&&inRange(date,this.startDate,this.endDate)){classes.push("datepicker-day--in-range");}
46const btn=el("button",{type:"button",className:classes.join(" "),"aria-label":formatDate(date),onClick:()=>this.selectDay(date),},String(d),);cells.push(btn);}
47return el("div",{className:"datepicker-days"},cells);}
48_buildFooter(){const rangeText=this.startDate&&this.endDate?`${formatDate(this.startDate)} - ${formatDate(this.endDate)}`:this.startDate?formatDate(this.startDate):"";return el("div",{className:"datepicker-footer"},[el("span",{className:"datepicker-footer-range"},rangeText),el("div",{className:"datepicker-footer-btns"},[el("button",{type:"button",className:"btn btn-sm btn-warning datepicker-btn-clear",onClick:()=>this.clear(),},gettext("Clear"),),el("button",{type:"button",className:"btn btn-sm btn-primary datepicker-btn-apply",disabled:!(this.startDate&&this.endDate)?"":undefined,onClick:()=>this.apply(),},gettext("Apply"),),]),]);}}
49window.DateRangePicker=DateRangePicker;})();;const loading={};function show(element){if(element){element.style.display="";}}
50function hide(element){if(element){element.style.display="none";}}
51function toggleDisplay(element){if(!element){return;}
52if(getComputedStyle(element).display==="none"){element.style.display="";}else{element.style.display="none";}}
53function onReady(callback){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",callback);}else{callback();}}
54if(window.location.hash&&(window.location.hash.indexOf('"')>-1||window.location.hash.indexOf("=")>-1)){window.location.hash="";}
55function increaseLoading(sel){if(!(sel in loading)){loading[sel]=0;}
56if(loading[sel]===0){show(document.getElementById(`loading-${sel}`));}
57loading[sel]+=1;}
58function decreaseLoading(sel){if(!(sel in loading)){return;}
59loading[sel]-=1;if(loading[sel]<=0){loading[sel]=0;hide(document.getElementById(`loading-${sel}`));}}
60function addAlert(message,kind="danger",delay=3000){const toasts=document.getElementById("popup-toasts");if(toasts===null){return;}
61const supportedKinds=new Set(["danger","warning","info","success","primary","secondary","light","dark",]);let toastKind=kind==="error"?"danger":kind;if(!supportedKinds.has(toastKind)){toastKind="danger";}
62const assertiveKinds=new Set(["danger","warning"]);const isAssertive=assertiveKinds.has(toastKind);const toast=document.createElement("div");toast.classList.add("toast","align-items-center",`text-${toastKind}-emphasis`,`bg-${toastKind}-subtle`,`border-${toastKind}-subtle`,);toast.setAttribute("role",isAssertive?"alert":"status");toast.setAttribute("aria-live",isAssertive?"assertive":"polite");toast.setAttribute("aria-atomic","true");const content=document.createElement("div");content.classList.add("d-flex");const body=document.createElement("div");body.classList.add("toast-body");body.append(document.createTextNode(String(message)));const closeButton=document.createElement("button");closeButton.type="button";closeButton.classList.add("btn-close","me-2","m-auto");closeButton.setAttribute("data-bs-dismiss","toast");closeButton.setAttribute("aria-label",gettext("Close"));content.append(body,closeButton);toast.append(content);toast.addEventListener("hidden.bs.toast",()=>{bootstrap.Toast.getInstance(toast)?.dispose();toast.remove();},{once:true},);toasts.append(toast);bootstrap.Toast.getOrCreateInstance(toast,{autohide:Boolean(delay),delay,}).show();}
63function insertAtCaret(element,myValue){if(document.selection){element.focus();const sel=document.selection.createRange();sel.text=myValue;element.focus();}else if(element.selectionStart||element.selectionStart===0){const startPos=element.selectionStart;const endPos=element.selectionEnd;const scrollTop=element.scrollTop;element.value=element.value.substring(0,startPos)+
64myValue+
65element.value.substring(endPos,element.value.length);element.focus();element.selectionStart=startPos+myValue.length;element.selectionEnd=startPos+myValue.length;element.scrollTop=scrollTop;}else{element.value+=myValue;element.focus();}
66element.dispatchEvent(new Event("input",{bubbles:true}));element.dispatchEvent(new Event("change",{bubbles:true}));}
67function replaceValue(element,myValue){element.value=myValue;element.dispatchEvent(new Event("input",{bubbles:true}));element.dispatchEvent(new Event("change",{bubbles:true}));}
68function submitForm(evt,_combo,selector){let form=evt.target?.closest("form")??null;if(form===null){form=document.querySelector(".translation-form");}
69if(form!==null){if(typeof selector!=="undefined"){form.querySelector(selector)?.click();}else{const submit=form.querySelector('input[type="submit"]')||form.querySelector('button[type="submit"]');submit?.click();}}
70return false;}
71hotkeys("ctrl+enter,command+enter",(e)=>{return submitForm(e);});function screenshotStart(){document.querySelector("#search-results tbody.unit-listing-body")?.replaceChildren();const summary=document.getElementById("screenshots-search-summary");if(summary!==null){summary.textContent="";}
72screenshotUpdateBulkControls();increaseLoading("screenshots");}
73function screenshotFailure(){screenshotLoaded({responseCode:500});}
74function screenshotSelectedSources(){return Array.from(document.querySelectorAll("#search-results .screenshot-source-select:checked",),(element)=>element.value,);}
75function screenshotAllSources(){return Array.from(document.querySelectorAll("#search-results .screenshot-source-select"),(element)=>element.value,);}
76function screenshotUpdateBulkControls(){const sourceCount=screenshotAllSources().length;const selectedCount=screenshotSelectedSources().length;const addSelected=document.getElementById("screenshots-add-selected");const selectionToggle=document.getElementById("screenshots-toggle-selection",);if(addSelected!==null){addSelected.disabled=selectedCount===0;}
77if(selectionToggle instanceof HTMLInputElement){selectionToggle.disabled=sourceCount===0;selectionToggle.checked=sourceCount>0&&selectedCount===sourceCount;selectionToggle.indeterminate=selectedCount>0&&selectedCount<sourceCount;}}
78function screenshotToggleSelection(checked){const checkboxes=document.querySelectorAll("#search-results .screenshot-source-select",);for(const checkbox of checkboxes){checkbox.checked=checked;}
79screenshotUpdateBulkControls();}
80function screenshotRemoveSources(pks){const rows=new Set();for(const pk of pks){for(const element of document.querySelectorAll("#search-results .add-string, #search-results .screenshot-source-select",)){if(element.getAttribute("data-pk")===String(pk)||element.getAttribute("value")===String(pk)){rows.add(element.closest("tr"));}}}
81for(const row of rows){row?.remove();}
82screenshotUpdateBulkControls();}
83async function screenshotRefreshAssignedSources(){const list=document.getElementById("sources-listing");if(list?.dataset.href===undefined){return;}
84const response=await fetch(list.dataset.href,{headers:{"X-Requested-With":"XMLHttpRequest"},});if(!response.ok){throw new Error(response.statusText);}
85const table=list.querySelector("table");if(table!==null){table.outerHTML=await response.text();}}
86function screenshotBindAddButtons(){for(const button of document.querySelectorAll("#search-results .add-string",)){button.addEventListener("click",screenshotAddString);}}
87async function screenshotAddSources(pks){if(pks.length===0){return;}
88const form=document.getElementById("screenshot-add-form");if(form===null){return;}
89const formData=new FormData(form);formData.delete("source");for(const pk of pks){formData.append("source",pk);}
90try{const response=await fetch(form.action,{method:"POST",body:formData,headers:{"X-Requested-With":"XMLHttpRequest"},});if(!response.ok){throw new Error(response.statusText);}
91const data=await response.json();await screenshotRefreshAssignedSources();if(data.added>0){screenshotRemoveSources(pks);}
92if(data.invalid>0){addAlert(gettext("Some source strings could not be assigned."));}}catch(error){addAlert(error instanceof Error?error.message:error);}}
93function screenshotAddString(event){event.preventDefault();const pk=this.getAttribute("data-pk");if(pk!==null){screenshotAddSources([pk]);}}
94function screenshotResultError(severity,message){const columnCount=document.querySelectorAll("#search-results thead th").length||6;const body=document.querySelector("#search-results tbody.unit-listing-body",);if(body===null){return;}
95const row=document.createElement("tr");row.classList.add(severity);const cell=document.createElement("td");cell.colSpan=columnCount;cell.textContent=message;row.append(cell);body.replaceChildren(row);}
96function screenshotLoaded(data){decreaseLoading("screenshots");const summary=document.getElementById("screenshots-search-summary");if(summary!==null){summary.textContent=data.summary||"";}
97if(data.responseCode!==200){screenshotResultError("danger",gettext("Error loading search results!"));}else if(data.count===0){screenshotResultError("warning",data.empty||gettext("No new matching source strings found."),);}else{const table=document.querySelector("#search-results table");if(table!==null){table.outerHTML=data.results;}
98screenshotBindAddButtons();}
99screenshotUpdateBulkControls();}
100function getNumber(n){const parsed=Number.parseFloat(n.replace(",","."));if(!Number.isNaN(parsed)&&Number.isFinite(parsed)){return parsed;}
101return null;}
102function extractText(cell){const value=cell.getAttribute("data-value");if(value!==null){return value;}
103return cell.textContent;}
104function _compareValues(a,b){if(a===b){return 0;}
105if(a>b){return 1;}
106return-1;}
107function compareCells(a,b){if(typeof a==="number"&&typeof b==="number"){return _compareValues(a,b);}
108if(a.indexOf("%")!==-1&&b.indexOf("%")!==-1){return _compareValues(Number.parseFloat(a.replace(",",".")),Number.parseFloat(b.replace(",",".")),);}
109const parsedA=getNumber(a);const parsedB=getNumber(b);if(parsedA!==null&&parsedB!==null){return _compareValues(parsedA,parsedB);}
110if(typeof a==="string"&&typeof b==="string"){return _compareValues(a.toLowerCase(),b.toLowerCase());}
111return _compareValues(a,b);}
112function loadTableSorting(){document.querySelectorAll("table.sort").forEach((table)=>{const tbody=table.querySelector("tbody");const thead=table.querySelector("thead");let thIndex=0;table.querySelectorAll("thead th").forEach((th)=>{let inverse=1;if(th.getAttribute("colspan")){thIndex+=Number.parseInt(th.getAttribute("colspan"),10)-1;}
113if(th.textContent!==""&&!th.classList.contains("sort-init")&&!th.classList.contains("sort-skip")){const myIndex=thIndex;th.classList.add("sort-init");if(!th.classList.contains("sort-cell")){th.setAttribute("title",gettext("Sort this column"));th.classList.add("sort-cell");if(th.classList.contains("number")){const icon=document.createElement("span");icon.classList.add("sort-icon");icon.textContent=" ";th.prepend(icon);}else{th.insertAdjacentHTML("beforeend",'<span class="sort-icon"></span>',);}}
114th.addEventListener("click",function(){const sorted=Array.from(tbody.querySelectorAll("tr")).sort((a,b)=>{let rowA=a;let rowB=b;const parentA=a.dataset.parent;const parentB=b.dataset.parent;if(parentA){rowA=tbody.querySelector(`#${CSS.escape(parentA)}`)||rowA;}
115if(parentB){rowB=tbody.querySelector(`#${CSS.escape(parentB)}`)||rowB;}
116return(inverse*compareCells(extractText(rowA.querySelectorAll("td,th")[myIndex]),extractText(rowB.querySelectorAll("td,th")[myIndex]),));},);for(const row of sorted){tbody.appendChild(row);}
117thead.querySelectorAll(".sort-icon").forEach((icon)=>{icon.classList.remove("sort-down","sort-up");});const icon=this.querySelector(".sort-icon");if(icon){icon.classList.add(inverse===1?"sort-down":"sort-up");}
118inverse*=-1;});}
119thIndex+=1;});});}
120function gettext(msgid){if(typeof django!=="undefined"){return django.gettext(msgid);}
121return msgid;}
122function pgettext(context,msgid){if(typeof django!=="undefined"){return django.pgettext(context,msgid);}
123return msgid;}
124function interpolate(fmt,obj,named){if(typeof django!=="undefined"){return django.interpolate(fmt,obj,named);}
125return fmt.replace(/%s/g,()=>String(obj.shift()));}
126function loadMatrix(){const loadingNext=document.getElementById("loading-next");const loader=document.getElementById("matrix-load");const offset=Number.parseInt(loader.dataset.offset,10);if(document.getElementById("last-section")!==null||loadingNext===null||getComputedStyle(loadingNext).display!=="none"){return;}
127show(loadingNext);loader.dataset.offset=20+offset;fetch(`${loader.getAttribute("href")}&offset=${offset}`,{headers:{"X-Requested-With":"XMLHttpRequest"},}).then((response)=>response.text()).then((data)=>{hide(loadingNext);document.querySelector(".matrix tbody")?.insertAdjacentHTML("beforeend",data);});}
128function adjustColspan(){document.querySelectorAll("table.autocolspan").forEach((table)=>{let numOfVisibleCols=Array.from(table.querySelectorAll("thead th"),).filter((th)=>th.getClientRects().length>0).length;if(numOfVisibleCols===0){numOfVisibleCols=3;}
129table.querySelectorAll("td.autocolspan").forEach((td)=>{td.setAttribute("colspan",numOfVisibleCols-1);});});}
130function quoteSearch(value){if(value.indexOf(" ")===-1){return value;}
131if(value.indexOf('"')===-1){return`"${value}"`;}
132if(value.indexOf("'")===-1){return`'${value}'`;}
133return value;}
134function autosizeTextarea(el){const resize=()=>{el.style.height="0px";el.style.height=`${el.scrollHeight}px`;};el.addEventListener("input",resize);resize();}
135function initHighlight(root){if(typeof ResizeObserver==="undefined"){return;}
136root.querySelectorAll("textarea[name='q']").forEach((input)=>{const parent=input.parentElement;if(parent.classList.contains("editor-wrap")){return;}
137input.addEventListener("keydown",(event)=>{if(event.key==="Enter"){if(!event.repeat){event.target.form.requestSubmit();}
138event.preventDefault();}});const wrapper=document.createElement("div");wrapper.setAttribute("class","editor-wrap");parent.replaceChild(wrapper,input);const highlight=document.createElement("div");highlight.setAttribute("class","highlighted-output");highlight.setAttribute("role","status");wrapper.appendChild(highlight);wrapper.appendChild(input);const syncContent=()=>{highlight.innerHTML=Prism.highlight(input.value,Prism.languages.weblatesearch,"weblatesearch",);};syncContent();input.addEventListener("input",syncContent);input.addEventListener("scroll",(_event)=>{highlight.scrollTop=input.scrollTop;highlight.scrollLeft=input.scrollLeft;});const resizeObserver=new ResizeObserver((entries)=>
138{for(const entry of entries){if(entry.target===input){const rect=input.getBoundingClientRect();highlight.style.height=`${rect.height}px`;highlight.style.width=`${rect.width}px`;}}});resizeObserver.observe(input);});root.querySelectorAll(".highlight-editor").forEach((editor)=>{const parent=editor.parentElement;const hasFocus=editor===document.activeElement;if(parent.classList.contains("editor-wrap")){return;}
139const mode=editor.getAttribute("data-mode");const wrapper=document.createElement("div");wrapper.setAttribute("class","editor-wrap");parent.replaceChild(wrapper,editor);const highlight=document.createElement("div");highlight.setAttribute("class","highlighted-output");if(editor.readOnly){highlight.classList.add("readonly");}
140if(editor.disabled){highlight.classList.add("disabled");}
141highlight.setAttribute("role","status");if(editor.hasAttribute("dir")){highlight.setAttribute("dir",editor.getAttribute("dir"));}
142if(editor.hasAttribute("lang")){highlight.setAttribute("lang",editor.getAttribute("lang"));}
143wrapper.appendChild(highlight);wrapper.appendChild(editor);if(hasFocus){editor.focus();}
144let languageMode=Prism.languages[mode];if(editor.classList.contains("translation-editor")){const placeables=editor.getAttribute("data-placeables");const whitespaceRegex=new RegExp(["  +|(^) +| +(?=$)| +\n|\n +|\t|","\u00AD|\u1680|\u2000|\u2001|","\u2002|\u2003|\u2004|\u2005|","\u2006|\u2007|\u2008|\u2009|","\u200A|\u202F|\u205F|\u3000",].join(""),);const newlineRegex=/\n/;const nonBreakingSpaceRegex=/\u00A0/;const extension={hlspace:{pattern:whitespaceRegex,lookbehind:true,},newline:{pattern:newlineRegex,},nbsp:{pattern:nonBreakingSpaceRegex,},};if(placeables){extension.placeable=new RegExp(placeables);}
145for(const key in languageMode){if(languageMode.hasOwnProperty(key)){extension[key]=Prism.util.clone(languageMode[key]);}}
146languageMode=extension;}
147const syncContent=()=>{highlight.innerHTML=Prism.highlight(editor.value,languageMode,mode);};syncContent();editor.addEventListener("input",syncContent);editor.addEventListener("scroll",(_event)=>{highlight.scrollTop=editor.scrollTop;highlight.scrollLeft=editor.scrollLeft;});const resizeObserver=new ResizeObserver((entries)=>{for(const entry of entries){if(entry.target===editor){const rect=editor.getBoundingClientRect();highlight.style.height=`${rect.height}px`;highlight.style.width=`${rect.width}px`;}}});resizeObserver.observe(editor);autosizeTextarea(editor);});}
148onReady(()=>{adjustColspan();window.addEventListener("resize",adjustColspan);document.addEventListener("shown.bs.tab",adjustColspan);const theme=document.documentElement.getAttribute("data-bs-theme");if(!theme||theme==="auto"){document.documentElement.setAttribute("data-bs-theme",window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",);}
149const loadTabContent=async(target,content)=>{try{const response=await fetch(target.dataset.href,{headers:{"X-Requested-With":"XMLHttpRequest"},});const text=await response.text();if(!response.ok){throw new Error(`${response.statusText} (${response.status})`);}
150content.innerHTML=text;}catch(error){const msg=gettext("Error while loading page:");const alert=document.createElement("div");alert.className="alert alert-danger";alert.setAttribute("role","alert");alert.textContent=`${msg} ${error.message}`;content.replaceChildren(alert);}
151target.dataset.loaded="1";loadTableSorting();};document.addEventListener("show.bs.tab",(e)=>{const target=e.target;if(!target.matches('[data-bs-toggle="tab"][data-href], [data-bs-toggle="pill"][data-href]',)){return;}
152if(target.dataset.loaded){return;}
153let content=document.querySelector(target.getAttribute("data-bs-target"));if(content===null){return;}
154const cardBody=content.querySelector(".card-body");if(cardBody!==null){content=cardBody;}
155loadTabContent(target,content);});if(document.getElementById("form-activetab")!==null){document.addEventListener("show.bs.tab",(e)=>{if(e.target.matches('[data-toggle="tab"]')){document.getElementById("form-activetab").setAttribute("value",e.target.getAttribute("href"));}});}
156document.querySelectorAll("form.autosubmit select").forEach((select)=>
156{select.addEventListener("change",()=>{document.querySelectorAll("form.autosubmit").forEach((form)=>{form.requestSubmit();});});});let activeTab;if(location.hash!==""){const separator=location.hash.indexOf("__");if(separator!==-1){activeTab=document.querySelector(`.nav [data-bs-toggle=tab][data-bs-target="${location.hash.substring(0, separator)}"]`,);if(activeTab!==null){bootstrap.Tab.getOrCreateInstance(activeTab).show();activeTab.closest(".dropdown-menu")?.classList.remove("show");}}
157activeTab=document.querySelector(`.nav [data-bs-toggle=tab][data-bs-target="${location.hash}"]`,);if(activeTab!==null){bootstrap.Tab.getOrCreateInstance(activeTab).show();activeTab.closest(".dropdown-menu")?.classList.remove("show");window.scrollTo(0,0);}else{const anchor=document.getElementById(location.hash.slice(1));if(anchor!==null){anchor.scrollIntoView();}}}else if(document.querySelector(".translation-tabs")!==null&&localStorage.getItem("translate-tab")){activeTab=document.querySelector(`[data-bs-toggle=tab][data-bs-target="${localStorage.getItem("translate-tab")}"]`,);if(activeTab!==null){bootstrap.Tab.getOrCreateInstance(activeTab).show();}}
158document.querySelectorAll('a[data-bs-toggle="tab"]').forEach((tab)=>{tab.addEventListener("shown.bs.tab",function(_e){history.pushState(null,null,this.getAttribute("data-bs-target"));document.querySelectorAll(".selectable-row").forEach((row)=>{row.classList.remove("active");});});});window.addEventListener("popstate",(_e)=>{let tab=null;if(location.hash!==""){tab=document.querySelector(`[data-bs-toggle=tab][data-bs-target="${location.hash}"]`,);}
159if(tab!==null){bootstrap.Tab.getOrCreateInstance(tab).show();}else{const firstNav=document.querySelector(".nav-tabs a");if(firstNav!==null){bootstrap.Tab.getOrCreateInstance(firstNav).show();}}});const firstFormError=document.querySelector("div.has-error");if(firstFormError!==null){const tab=firstFormError.closest("div.tab-pane");if(tab!==null){const trigger=document.querySelector(`[data-bs-toggle=tab][data-bs-target="#${tab.id}"]`,);if(trigger!==null){bootstrap.Tab.getOrCreateInstance(trigger).show();}}}
160document.querySelectorAll(".alert").forEach((alertElement)=>{alertElement.addEventListener("close.bs.alert",function(){const form=document.getElementById("link-post");const action=this.getAttribute("data-action");if(action){const csrfInput=form?.querySelector("input");fetch(action,{method:"POST",headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded",},body:new URLSearchParams({csrfmiddlewaretoken:csrfInput?csrfInput.value:"",id:this.getAttribute("data-id"),}),}).then((response)=>{if(!response.ok){addAlert(response.statusText);}}).catch((error)=>{addAlert(error instanceof Error?error.message:error);});}});});document.querySelectorAll(".code-example").forEach((element)=>{element.addEventListener("focus",function(){this.select();});});loadTableSorting();if(document.querySelector(".matrix")!==null){loadMatrix();window.addEventListener("scroll",()=>{if(window.scrollY>=document.documentElement.scrollHeight-2*window.innerHeight){loadMatrix();}});}
161document.querySelectorAll("a.disconnect").forEach((link)=>{link.addEventListener("click",function(e){e.preventDefault();const form=document.getElementById("disconnect-form");if(form!==null){form.setAttribute("action",this.getAttribute("href"));form.submit();}});});document.querySelectorAll(".dropdown-menu form").forEach((form)=>{form.addEventListener("click",(e)=>{e.stopPropagation();});});document.addEventListener("click",(e)=>{const link=e.target.closest(".link-post");if(link===null){return;}
162e.preventDefault();const form=document.getElementById("link-post");form.setAttribute("action",link.getAttribute("data-href"));const params=link.dataset.params?JSON.parse(link.dataset.params):{};for(const[name,value]of Object.entries(params)){const elm=document.createElement("input");elm.setAttribute("type","hidden");elm.setAttribute("name",name);elm.setAttribute("value",value);form.appendChild(elm);}
163form.submit();});document.querySelectorAll(".link-auto").forEach((link)=>{link.click();});document.addEventListener("click",(e)=>{const thumbnail=e.target.closest(".thumbnail");if(thumbnail===null){return;}
164e.preventDefault();const preview=document.getElementById("imagepreview");if(preview!==null){preview.setAttribute("src",thumbnail.getAttribute("href"));}
165const modalTitle=document.getElementById("screenshotModal");if(modalTitle!==null){modalTitle.textContent=thumbnail.getAttribute("title");}
166const detailsLink=document.getElementById("modalDetailsLink");
166const detailsUrl=thumbnail.getAttribute("data-details-url");if(detailsLink!==null){if(detailsUrl){detailsLink.setAttribute("href",detailsUrl);show(detailsLink);if(thumbnail.getAttribute("data-can-edit")){detailsLink.textContent=detailsLink.getAttribute("data-edit-text");}}else{hide(detailsLink);}}
167const modal=document.getElementById("imagemodal");if(modal!==null){bootstrap.Modal.getOrCreateInstance(modal).show();}});async function screenshotLoadResults(url,form){screenshotStart();try{const response=await fetch(url,{method:"POST",body:new FormData(form),headers:{"X-Requested-With":"XMLHttpRequest"},});if(!response.ok){screenshotFailure();return;}
168screenshotLoaded(await response.json());}catch(_error){screenshotFailure();}}
169for(const button of document.querySelectorAll("#screenshots-auto")){button.addEventListener("click",function(event){event.preventDefault();const url=this.getAttribute("data-href");const form=this.closest("form");if(url===null||form===null){screenshotFailure();return;}
170void screenshotLoadResults(url,form);});}
171document.getElementById("screenshots-search-form")?.addEventListener("submit",function(event){event.preventDefault();const url=this.getAttribute("data-href");if(url===null){screenshotFailure();return;}
172void screenshotLoadResults(url,this);});document.addEventListener("change",(event)=>{if(event.target instanceof Element&&event.target.matches("#search-results .screenshot-source-select")){screenshotUpdateBulkControls();}
173if(event.target instanceof HTMLInputElement&&event.target.id==="screenshots-toggle-selection"){screenshotToggleSelection(event.target.checked);}});document.getElementById("screenshots-add-selected")?.addEventListener("click",(event)=>{event.preventDefault();screenshotAddSources(screenshotSelectedSources());});let submittedForms=new WeakSet();document.querySelectorAll("form:not(.double-submission)").forEach((form)=>{form.addEventListener("submit",(e)=>{if(submittedForms.has(form)){e.preventDefault();}else{submittedForms.add(form);}});});window.addEventListener("pagehide",()=>{submittedForms=new WeakSet();});const persistForms=document.querySelectorAll("[data-persist]");if(persistForms.length>0&&window.localStorage){persistForms.forEach((form)=>{const storedRaw=window.localStorage[form.dataset.persist];if(storedRaw){const storedValue=JSON.parse(storedRaw);for(const[key,value]of Object.entries(storedValue)){if(!key){continue;}
174const selector=`[name="${CSS.escape(key)}"]`;form.querySelectorAll(selector).forEach((target)=>{if(target.type==="checkbox"){target.checked=value;}else{target.value=value;}});}}});persistForms.forEach((form)=>{form.addEventListener("submit",(_e)=>{const data={};form.querySelectorAll("input[type=checkbox]").forEach((checkbox)=>{if(checkbox.name){data[checkbox.name]=checkbox.checked;}});form.querySelectorAll("select").forEach((select)=>{if(select.name){data[select.name]=select.value;}});window.localStorage[form.dataset.persist]=JSON.stringify(data);});});}
175document.addEventListener("shown.bs.modal",(event)=>{const button=event.relatedTarget;const target=button?.dataset.focus;if(target){document.querySelector(target)?.focus();}else{for(const input of event.target.querySelectorAll("input")){if(!input.disabled&&input.offsetParent!==null){input.focus();break;}}}});document.addEventListener("click",(e)=>{const element=e.target.closest("[data-clipboard-value]");if(element===null){return;}
176e.preventDefault();try{navigator.clipboard.writeText(element.getAttribute("data-clipboard-value")).then(()=>{const text=element.getAttribute("data-clipboard-message")||gettext("Text copied to clipboard.");addAlert(text,"info");},()=>{addAlert(gettext("Please press Ctrl+C to copy."),"danger");},);}catch(error){addAlert(gettext("Error copying to clipboard."),"danger");console.log(error);}});const autoSourceInputs=document.querySelectorAll('input[name="auto_source"]',);if(autoSourceInputs.length>0){const updateAutoSource=()=>{const checked=document.querySelector('input[name="auto_source"]:checked',);if(checked!==null&&checked.value==="others"){show(document.getElementById("auto_source_others"));
176hide(document.getElementById("auto_source_mt"));}else{hide(document.getElementById("auto_source_others"));show(document.getElementById("auto_source_mt"));}};autoSourceInputs.forEach((input)=>{input.addEventListener("change",updateAutoSource);});updateAutoSource();}
177const findElements=(root,selector)=>{const elements=[];if(root instanceof Element&&root.matches(selector)){elements.push(root);}
178elements.push(...root.querySelectorAll(selector));return elements;};const initializeMultipleSelects=(root=document)=>{findElements(root,"select[multiple]").forEach((el)=>{if(el.tomselect){return;}
179const options={plugins:["remove_button","checkbox_options"],placeholder:el.dataset.placeholder||gettext("Search…"),hidePlaceholder:el.dataset.hidePlaceholder==="true",persist:false,create:false,allowEmptyOption:true,};new TomSelect(el,options);});};const initializeProjectMembershipControls=(root=document)=>{findElements(root,".project-membership-team-toggle").forEach((el)=>{if(el.dataset.membershipToggleInitialized==="true"){return;}
180el.dataset.membershipToggleInitialized="true";const limitField=document.getElementById(el.dataset.limitTarget);const updateLimitField=()=>{if(!limitField){return;}
181limitField.disabled=!el.checked;if(!limitField.tomselect){return;}
182if(el.checked){limitField.tomselect.enable();}else{limitField.tomselect.disable();}};el.addEventListener("change",updateLimitField);updateLimitField();});};initializeMultipleSelects();document.querySelectorAll("select.searchable-select").forEach((el)=>{if(el.tomselect){return;}
183new TomSelect(el,{placeholder:gettext("Search…"),hidePlaceholder:true,persist:false,create:false,allowEmptyOption:true,maxOptions:null,});});const getControlValue=(control)=>{if(control.tomselect){return control.tomselect.getValue();}
184return control.value;};const setControlValue=(control,value)=>{if(control.tomselect){control.tomselect.setValue(value,true);}else{control.value=value;}
185control.dispatchEvent(new Event("input",{bubbles:true}));control.dispatchEvent(new Event("change",{bubbles:true}));};const setControlDisabled=(control,disabled)=>{control.disabled=disabled;if(!control.tomselect){return;}
186if(disabled){control.tomselect.disable();}else{control.tomselect.enable();}};document.querySelectorAll(".site-default-field-button").forEach((button)=>{const container=button.closest(".mb-3");const control=container?.querySelector("[data-site-default-value]");if(!control){return;}
187button.addEventListener("click",()=>{const inheritedSetting=button.closest("[data-inherited-setting]");const inheritCheckbox=inheritedSetting?.querySelector(".inherited-setting-toggle input[type=checkbox]",);if(inheritCheckbox?.checked){inheritCheckbox.checked=false;inheritCheckbox.dispatchEvent(new Event("change",{bubbles:true}));}
188setControlValue(control,control.dataset.siteDefaultValue||"");});});document.querySelectorAll("[data-inherited-setting]").forEach((el)=>{const checkbox=el.querySelector(".inherited-setting-toggle input[type=checkbox]",);const controls=Array.from(el.querySelectorAll(".inherited-setting-field input, .inherited-setting-field select, .inherited-setting-field textarea",),).filter((control)=>!(control instanceof HTMLInputElement&&control.type==="hidden"),);if(!checkbox){return;}
189const updateInheritedSetting=(syncValue)=>{const disabled=checkbox.checked;el.classList.toggle("is-inherited",disabled);controls.forEach((control)=>{if(syncValue){if(disabled){control.dataset.overrideValue=getControlValue(control);setControlValue(control,control.dataset.inheritedValue||"");}else{setControlDisabled(control,false);setControlValue(control,control.dataset.overrideValue||"");}}
190setControlDisabled(control,disabled);});};checkbox.addEventListener("change",()=>updateInheritedSetting(true));updateInheritedSetting(false);});initializeProjectMembershipControls();const projectUserGroupsModal=document.getElementById("project-user-groups-modal",);if(projectUserGroupsModal){const modalBody=projectUserGroupsModal.querySelector(".modal-body");const modalTitle=projectUserGroupsModal.querySelector(".modal-title");const submitButton=projectUserGroupsModal.querySelector("input[type='submit']",);const formCache=new Map();const renderProjectUserGroupsForm=(url,html)=>{if(projectUserGroupsModal.dataset.activeUrl!==url){return;}
191modalBody.innerHTML=html;initializeMultipleSelects(modalBody);
191initializeProjectMembershipControls(modalBody);submitButton.disabled=false;};projectUserGroupsModal.addEventListener("show.bs.modal",(event)=>{const trigger=event.relatedTarget;const url=trigger?.dataset.href;if(!url){return;}
192projectUserGroupsModal.dataset.activeUrl=url;modalTitle.textContent=trigger.dataset.modalTitle||"";submitButton.disabled=true;modalBody.textContent=modalBody.dataset.loadingText||gettext("Loading…");if(formCache.has(url)){renderProjectUserGroupsForm(url,formCache.get(url));return;}
193fetch(url,{headers:{"X-Requested-With":"XMLHttpRequest"}}).then((response)=>{if(!response.ok){throw new Error(`${response.statusText} (${response.status})`);}
194return response.text();}).then((html)=>{formCache.set(url,html);renderProjectUserGroupsForm(url,html);}).catch((error)=>{if(projectUserGroupsModal.dataset.activeUrl!==url){return;}
195const alert=document.createElement("div");alert.className="alert alert-danger";alert.role="alert";const errorText=modalBody.dataset.errorText||gettext("Error while loading form:");alert.textContent=`${errorText} ${error.message}`;modalBody.textContent="";modalBody.append(alert);});});projectUserGroupsModal.addEventListener("hidden.bs.modal",()=>{delete projectUserGroupsModal.dataset.activeUrl;});}
196slugify.extend({".":"-"});document.querySelectorAll('input[name="slug"]').forEach((slug)=>{const form=slug.closest("form");form.querySelectorAll('input[name="name"]').forEach((nameInput)=>{for(const eventName of["change","keypress","keydown","keyup","paste",]){nameInput.addEventListener(eventName,()=>{slug.value=slugify(nameInput.value,{remove:/[^\w\s-]+/g,}).toLowerCase();});}});});document.querySelectorAll("[data-progress-url]").forEach((progress)=>{const pre=progress.querySelector("pre");const bar=progress.querySelector(".progress-bar");const url=progress.dataset.progressUrl;const linkPost=document.getElementById("link-post");if(pre!==null){pre.scrollTop=pre.scrollHeight;}
197const progressCompleted=()=>{if(bar!==null){bar.style.width="100%";}
198if(document.getElementById("progress-redirect")?.checked){window.location=document.getElementById("progress-return").getAttribute("href");}};const progressInterval=setInterval(async()=>{try{const response=await fetch(url,{headers:{"X-Requested-With":"XMLHttpRequest"},});if(!response.ok){if(response.status===404){clearInterval(progressInterval);progressCompleted();}
199return;}
200const data=await response.json();if(bar!==null){bar.style.width=`${data.progress}%`;}
201if(pre!==null){pre.textContent=data.log;pre.scrollTop=pre.scrollHeight;}
202if(data.completed){clearInterval(progressInterval);progressCompleted();}}catch(_error){}},1000);document.getElementById("terminate-task-button")?.addEventListener("click",(e)=>{fetch(url,{method:"DELETE",headers:{Accept:"application/json","X-CSRFToken":linkPost.querySelector("input").value,},}).then((_data)=>{window.location=document.getElementById("progress-return").getAttribute("href");});e.preventDefault();});});const progressBars=document.querySelectorAll(".progress-bar");document.querySelectorAll("[data-task]").forEach((message)=>{const bar=message.querySelector(".progress-bar");const messageText=message.querySelector(".task-message");const warnings=message.querySelector(".task-warnings");if(bar!==null){bar.setAttribute("data-completed","0");}
203const progressCompleted=()=>{if(bar!==null){bar.setAttribute("data-completed","1");}
204clearInterval(taskInterval);if(document.getElementById("progress-redirect")?.checked&&Array.from(progressBars.values()).every((element)=>{return element.getAttribute("data-completed")==="1";})){window.location=document.getElementById("progress-return").getAttribute("href");}};const taskInterval=setInterval(async()=>{try{const response=await fetch(message.dataset.task,{headers:{"X-Requested-With":"XMLHttpRequest"},});if(!response.ok){if(response.status===404){progressCompleted();}
205return;}
206const data=await response.json();if(bar!==null){bar.style.width=`${data.progress}%`;}
207if(data.completed){const result=data.result??{};progressCompleted();if(result.message){if(messageText!==null){messageText.textContent=result.message;}}else if(typeof result==="string"&&result){if(messageText!==null){messageText.textContent=result;}}
208if(result.url){window.location=result.url;}
209if(result.warnings?.length&&warnings!==null){warnings.replaceChildren();
209result.warnings.forEach((warning)=>{const div=document.createElement("div");div.className="text-warning mt-2";div.textContent=warning;warnings.appendChild(div);});}}}catch(_error){}},1000*Math.max(progressBars.length/5,1),);});document.querySelectorAll(".invalid-format").forEach((element)=>{element.parentElement.querySelectorAll("input").forEach((input)=>{input.setAttribute("disabled","1");});});if(document.querySelector(".sort-field")!==null){const sortLabel=document.querySelector("#query-sort-dropdown span.search-label",);const sortName=sortLabel!==null?sortLabel.textContent:"";const sortLink=Array.from(document.querySelectorAll(".sort-field li a"),).find((link)=>link.textContent===sortName);const sortDropdownValue=sortLink?.dataset.sort;const sortByElement=document.getElementById("id_sort_by");const sortValue=sortByElement!==null?sortByElement.value:"";if(sortDropdownValue){if(sortValue.replace("-","")===sortDropdownValue.replace("-","")&&sortValue!==sortDropdownValue){document.querySelectorAll("span.search-icon").forEach(toggleDisplay);}}}
210function updateSearchSortBy(){const sortByElement=document.getElementById("id_sort_by");const sortValue=sortByElement!==null?sortByElement.value:"";const link=Array.from(document.querySelectorAll(".sort-field li a")).find((element)=>element.dataset.sort===sortValue,);const label=link?link.textContent:"";if(label!==""){const sortLabel=document.querySelector("#query-sort-dropdown span.search-label",);if(sortLabel!==null){sortLabel.textContent=gettext(label);}}}
211const sortByLabelObserver=new MutationObserver(updateSearchSortBy);const sortByElement=document.getElementById("id_sort_by");if(sortByElement!==null){sortByLabelObserver.observe(sortByElement,{attributes:true});}
212document.querySelectorAll(".branch-loader select[name=component]").forEach((select)=>{select.addEventListener("change",()=>{const form=select.closest("form");const branches=JSON.parse(form.dataset.branches);const branchSelect=form.querySelector("select[name=branch]");branchSelect.replaceChildren();for(const value of branches[select.value]||[]){const option=document.createElement("option");option.setAttribute("value",value);option.textContent=value;branchSelect.appendChild(option);}});});const positionInputs=document.querySelectorAll(".position-input");const positionInputEditables=document.querySelectorAll(".position-input-editable",);const positionInputEditableInput=document.getElementById("position-input-editable-input",);const clickedOutsideEditableInput=(event)=>{if(![...positionInputs].includes(event.target)&&event.target.id!=="position-input-editable-input"){positionInputs.forEach(show);positionInputEditableInput?.setAttribute("type","hidden");positionInputEditables.forEach(hide);document.removeEventListener("click",clickedOutsideEditableInput);document.removeEventListener("keyup",pressedEscape);}};const pressedEscape=(event)=>{if(event.key==="Escape"&&event.target!==positionInputs[0]){positionInputs.forEach(show);positionInputEditableInput?.setAttribute("type","hidden");positionInputEditables.forEach(hide);document.removeEventListener("click",clickedOutsideEditableInput);document.removeEventListener("keyup",pressedEscape);}};positionInputs.forEach((positionInput)=>{positionInput.addEventListener("click",function(event){event.preventDefault();const form=this.closest("form");positionInputs.forEach(hide);form?.querySelectorAll("input[name=offset]").forEach((input)=>{input.disabled=false;});positionInputEditables.forEach(show);positionInputEditableInput?.setAttribute("type","number");if(positionInputs.length>1){const input=event.target.parentElement?.querySelector("#position-input-editable-input",);if(input!==null&&input!==undefined){input.focus();input.select();}}else if(positionInputEditableInput!==null){positionInputEditableInput.focus();positionInputEditableInput.select();}
213document.addEventListener("click",clickedOutsideEditableInput);document.addEventListener("keyup",pressedEscape);});});document.querySelectorAll(".search-group li a").forEach((link)=>{link.addEventListener("click",(event)=>{event.preventDefault();const group=link.closest(".search-group");const button=group.querySelector("button.search-field");if(button!==null){button.setAttribute("data-field",link.dataset.f
213ield??"");}
214const title=link.querySelector("span.title");const text=title!==null?title.textContent:link.textContent;const labelAuto=group.querySelector("span.search-label-auto");if(labelAuto!==null){labelAuto.textContent=text;}
215if(group.classList.contains("sort-field")){const sortByInput=group.querySelector("input[name=sort_by]");if(sortByInput!==null){sortByInput.value=link.dataset.sort??"";}
216if(link.closest(".result-page-form")!==null){link.closest("form").submit();}}
217if(group.classList.contains("query-field")){if(document.querySelector(".search-toolbar")===null&&link.closest(".result-page-form")!==null){const textarea=group.querySelector("textarea[name=q]");textarea.value=link.dataset.field??"";textarea.dispatchEvent(new Event("change",{bubbles:true}));const form=link.closest("form");form.querySelectorAll("input[name=offset]").forEach((input)=>{input.disabled=true;});form.submit();}else{insertAtCaret(group.querySelector("textarea[name=q]"),` ${link.dataset.field} `,);}}
218const dropdownToggle=link.closest(".dropdown, .btn-group")?.querySelector('[data-bs-toggle="dropdown"]');if(dropdownToggle){bootstrap.Dropdown.getOrCreateInstance(dropdownToggle).hide();}});});document.querySelectorAll(".query-sort-toggle").forEach((toggle)=>{toggle.addEventListener("click",()=>{const input=toggle.closest(".search-group").querySelector("input[name=sort_by]");const sortParams=input.value.split(",");sortParams.forEach((param,index)=>{if(param.indexOf("-")!==-1){sortParams[index]=param.replace("-","");}else{sortParams[index]=`-${param}`;}});input.value=sortParams.join(",");toggle.querySelectorAll(".search-icon").forEach((icon)=>{icon.classList.toggle("active");});const asc=toggle.querySelector(".search-icon.asc");const desc=toggle.querySelector(".search-icon.desc");if(asc!==null){asc.classList.toggle("active",!desc?.classList.contains("active"));}
219if(desc!==null){desc.classList.toggle("active",!asc?.classList.contains("active"));}
220if(toggle.closest(".result-page-form")!==null){toggle.closest("form").submit();}});});document.querySelectorAll(".search-group input").forEach((input)=>{if(["id_q","id_position","id_term","position-input-editable-input",].includes(input.id)){return;}
221input.addEventListener("keydown",(event)=>{if(event.key==="Enter"){input.closest(".input-group")?.querySelector(".search-add")?.click();event.preventDefault();}});});const idQInput=document.getElementById("id_q");if(idQInput!==null){idQInput.addEventListener("input",()=>{idQInput.closest("form").querySelectorAll("input[name=offset]").forEach((input)=>{input.disabled=true;});});}
222document.querySelectorAll(".search-add").forEach((searchAdd)=>{searchAdd.addEventListener("click",()=>{const group=searchAdd.closest(".search-group");const button=group.querySelector("button.search-field");const input=group.querySelector("input");const idQ=document.getElementById("id_q");if(input===null){insertAtCaret(idQ,` ${button.getAttribute("data-field")} `);}else if(input.value!==""){let prefix="";const exact=group.querySelector("#is-exact input[type=checkbox]");if(exact?.checked){prefix="=";}
223insertAtCaret(idQ,` ${button.getAttribute("data-field")}${prefix}${quoteSearch(input.value)} `,);}});});document.querySelectorAll(".search-insert").forEach((searchInsert)=>{searchInsert.addEventListener("click",()=>{const code=searchInsert.closest("tr").querySelector("code");insertAtCaret(document.getElementById("id_q"),` ${code !== null ? code.textContent : ""} `,);});});document.querySelectorAll("tr[data-href]").forEach((row)=>{row.addEventListener("click",()=>{window.location=row.dataset.href;});});document.querySelectorAll("#id_zipcreate_zipfile,#id_doccreate_docfile,#id_image").forEach((fileInput)=>{fileInput.addEventListener("change",function(){const form=this.closest("form");const target=form.querySelector("input[name=name]");if(this.files.length>0&&target.value===""){const name=this.files[0].name;target.value=name.substring(0,name.lastIndexOf("."));target.dispatchEvent(new Event("change",{bubbles:true}));}});});document.querySelectorAll("#form-create-component-branch,#form-create-component-vcs",).forEach((form)=>{form.addEventListener("submit",()=>{addAlert(gettext("Weblate is now scanning the repository, please be patient."),"info",0,);});});const positionMentionDropdown=(editor,list)=>{if(!list){return;}
224const rect=editor.getBoundingClientRect();const cs=getComputedStyle(editor);const lineHeight=Number.parseFloat(cs.lineHeight)||20;const paddingTop=Number.parseFloat(cs.paddingTop)||0;const before=editor.value.substring(0,editor.selectionStart);const linesBefore=(before.match(/\n/g)||[]).length;
224const yOffset=paddingTop+(linesBefore+1)*lineHeight-editor.scrollTop;list.style.top=`${rect.top + yOffset}px`;list.style.left=`${rect.left}px`;};document.querySelectorAll(".markdown-editor").forEach((editor)=>{const mentionRegex=/(?:^|\s)@(\S+)$/;const mentionAutoComplete=new autoComplete({selector:()=>editor,wrapper:false,data:{keys:["full_name"],src:async(query)=>{const response=await fetch(`/api/users/?username=${encodeURIComponent(query)}&is_active=1`,);const data=await response.json();return data.results.map((user)=>({username:user.username,full_name:`${user.full_name} (${user.username})`,}));},},query:(val)=>{const before=val.substring(0,editor.selectionStart);const match=before.match(mentionRegex);return match?match[1]:"";},trigger:(query)=>query.length>=2,submit:true,resultsList:{class:"autoComplete dropdown-menu shadow mention-dropdown",},resultItem:{class:"autoComplete_result",element:(item,data)=>{item.textContent="";const child=document.createElement("a");child.textContent=data.value.full_name;child.classList.add("dropdown-item");item.appendChild(child);},selected:"autoComplete_selected",highlight:false,},events:{input:{open:()=>positionMentionDropdown(editor,mentionAutoComplete.list),results:()=>positionMentionDropdown(editor,mentionAutoComplete.list),selection(event){const username=event.detail.selection.value.username;const caret=editor.selectionStart;const before=editor.value.substring(0,caret);const after=editor.value.substring(caret);const match=before.match(/@\S*$/);if(!match){return;}
225const tokenStart=caret-match[0].length;editor.value=`${editor.value.substring(0, tokenStart)}@${username}${after}`;const newCaret=tokenStart+username.length+1;editor.selectionStart=editor.selectionEnd=newCaret;editor.focus();editor.dispatchEvent(new Event("input",{bubbles:true}));},},},});editor.addEventListener("keydown",(event)=>{if(!mentionAutoComplete.isOpen){return;}
226if(event.key==="Enter"&&mentionAutoComplete.cursor>=0){event.preventDefault();return;}
227if(event.key!=="Escape"){return;}
228event.stopImmediatePropagation();event.preventDefault();editor.setAttribute("aria-expanded","false");editor.setAttribute("aria-activedescendant","");mentionAutoComplete.list?.setAttribute("hidden","");mentionAutoComplete.isOpen=false;},true,);});document.querySelectorAll(".add-multifield").forEach((addField)=>{addField.addEventListener("click",(event)=>{event.preventDefault();const updateElementIndex=(el,prefix,ndx)=>{const idRegex=new RegExp(`(${prefix}-(\\d+|__prefix__))`);const replacement=`${prefix}-${ndx}`;if(el.htmlFor){el.htmlFor=el.htmlFor.replace(idRegex,replacement);}
229if(el.id){el.id=el.id.replace(idRegex,replacement);}
230if(el.name){el.name=el.name.replace(idRegex,replacement);}};const form=addField.closest("form");const prefix=addField.dataset.prefix;const blank=form.querySelector(".multiFieldEmpty");const row=blank.cloneNode(true);const totalForms=document.getElementById(`id_${prefix}-TOTAL_FORMS`);row.classList.remove("multiFieldEmpty","hidden");row.classList.add("multiField");row.querySelectorAll("*").forEach((el)=>{updateElementIndex(el,prefix,totalForms.value);});blank.parentNode.insertBefore(row,blank);totalForms.value=Number.parseInt(totalForms.value,10)+1;});});Prism.languages.none={};initHighlight(document);document.querySelectorAll(".replace-preview input[type='checkbox']").forEach((checkbox)=>{checkbox.addEventListener("change",function(){this.closest("tr").classList.toggle("warning",this.checked);});});document.querySelectorAll(".rejection-reason").forEach((element)=>{element.addEventListener("keydown",function(event){if(event.key==="Enter"){this.closest("form").querySelector("[name='delete']")?.click();event.preventDefault();}});});document.querySelectorAll(".nav-pills > li > a > button.btn-close").forEach((button)=>{button.addEventListener("click",(_e)=>{const link=button.parentElement;document.querySelectorAll(`${link.getAttribute("data-bs-target")} select`).forEach((select)=>{select.remove();});const watched=document.querySelector('a[data-bs-target="#notifications__1"',);bootstrap.Tab.getOrCreateInstance(watched).show();link.parentElement.remove();addAlert(gettext("Notification settings removed, please do not forget to save the changes.",),"info",3000,);});});document.querySelectorAll(".user-autocomplete").forEach((autoCompleteInput)=>{const autoCompleteJs=new autoComplete({selector:()=>{return autoCompleteInput;},debounce:300,resultsList:{class:"autoComplete dropdown-menu",},resultItem:{class:"autoComplete_result",element:(item,data)=>{item.textContent="";const child=document.createElement("a");child.textContent=data.value.full_name;item.appendChild(child);},selected:"autoComplete_selected",},data:{keys:["username"],src:async(query)=>{try{const source=await fetch(`/api/users/?username=${encodeURIComponent(query)}`,);const data=await source.json();return data.results.map((user)=>{return{username:user.username,full_name:`${user.full_name} (${user.username})`,};});}catch(error){return error;}},}
230,events:{input:{focus(){if(autoCompleteInput.value.length>0){autoCompleteJs.start();}},selection(event){const feedback=event.detail;autoCompleteInput.blur();const selection=feedback.selection.value[feedback.selection.key];autoCompleteInput.value=selection;},},},});});const siteSearch=new autoComplete({selector:"#sitewide-search",debounce:300,resultsList:{class:"autoComplete dropdown-menu shadow",},resultItem:{class:"autoComplete_result",element:(item,data)=>{item.textContent="";const child=document.createElement("a");child.setAttribute("href",data.value.url);child.textContent=`${data.value.name} `;child.classList.add("dropdown-item");const category=document.createElement("span");category.setAttribute("class","badge");category.classList.add("text-bg-secondary");category.textContent=data.value.category;child.appendChild(category);item.appendChild(child);},selected:"autoComplete_selected",},data:{keys:["name"],src:async(query)=>{try{const source=await fetch(`/api/search/?q=${encodeURIComponent(query)}`,);const data=await source.json();return data;}catch(error){return error;}},},events:{input:{focus(){if(siteSearch.input.value.length>0){siteSearch.start();}},},},});document.querySelectorAll("#id_workflow-enable").forEach((enableInput)=>{const updateWorkflowVisibility=()=>{const target=document.getElementById("workflow-enable-target");const hint=document.getElementById("workflow-enable-hint");if(target!==null){target.style.display=enableInput.checked?"":"none";}
231if(hint!==null){hint.style.display=enableInput.checked?"none":"";}};enableInput.addEventListener("change",updateWorkflowVisibility);updateWorkflowVisibility();});document.querySelectorAll('a[data-bs-toggle="tab"][data-bs-target="#nearby"]').forEach((tab)=>{tab.addEventListener("shown.bs.tab",(_e)=>{document.querySelector("#nearby .current_translation")?.scrollIntoView({block:"nearest",inline:"nearest",behavior:"smooth",});});});document.querySelectorAll("[data-visibility]").forEach((toggle)=>{toggle.addEventListener("click",(_event)=>{document.querySelectorAll(toggle.getAttribute("data-visibility")).forEach((element)=>{element.classList.toggle("visible");});});});document.querySelectorAll("input[name='period']").forEach((input)=>{new DateRangePicker(input);});const setContextValue=(toSelector,fromSelector)=>{const to=document.querySelector(`${toSelector} input[name='context']`);const from=document.querySelector(`${fromSelector} input[name='context']`,);if(to!==null&&from!==null){to.value=from.value;}};document.querySelectorAll("input[name='new-unit-form-type']").forEach((typeInput)=>{typeInput.addEventListener("change",function(){const refreshInput=(el,value)=>{el.value=value;el.dispatchEvent(new CustomEvent("input"));};const transferTextareaInputs=(fromId,toId)=>{document.querySelectorAll(`${toId} textarea`).forEach((toTextArea)=>{document.querySelectorAll(`${fromId} textarea`).forEach((fromTextArea)=>{if(fromTextArea.name===toTextArea.name){refreshInput(toTextArea,fromTextArea.value);}});});};const selected=this.value;if(selected==="singular"){document.querySelectorAll("input[name='new-unit-form-type']").forEach((input)=>{input.removeAttribute("checked");});const showSingular=document.querySelector("#new-singular #show-singular",);if(showSingular!==null){showSingular.checked=true;}
232setContextValue("#new-singular","#new-plural");transferTextareaInputs("#new-plural","#new-singular");document.querySelector("#new-plural")?.classList.add("hidden");document.querySelector("#new-singular")?.classList.remove("hidden");}else if(selected==="plural"){document.querySelectorAll("input[name='new-unit-form-type']").forEach((input)=>{input.removeAttribute("checked");});const showPlural=document.querySelector("#new-plural #show-plural");if(showPlural!==null){showPlural.checked=true;}
233setContextValue("#new-plural","#new-singular");transferTextareaInputs("#new-singular","#new-plural");document.querySelector("#new-singular")?.classList.add("hidden");document.querySelector("#new-plural")?.classList.remove("hidden");}});});document.addEventListener("otp_webauthn.register_complete",(event)=>{const id=event.detail.id;const deviceInput=document.querySelector("input[name=passkey-device-name]",);const _csrfToken=document.querySelector("input[name=csrfmiddlewaretoken]",);const action=deviceInput.getAttribute("data-href").replace("000000",id);const form=document.getElementById("link-post");form.setAttribute("action",action);const elm=document.createElement("input");elm.setAttribute("type","hidden");elm.setAttribute("name","name");elm.setAttribute("value",deviceInput.value);form.appendChild(elm);form.submit();});document.querySelectorAll(".auth-image").forEach((el)=>{const src=el.getAttribute("src");if(src!==null){if(src.endsWith("password.svg")||src.endsWith("email.svg")||src.endsWith("twitter.svg")||src.endsWith("github.svg")){el.classList.add("auth-image-filter");}}});console.log("%c%s","color: red; font-weight: bold; font-size: 50px; font-family: sans-serif; -webkit-text-stroke: 1px black;",pgettext("Alert to user when opening browser developer console","Stop!"),);console.log("%c%s","font-size: 20px; font-family: sans-serif",gettext("This is a browser feature intended for developers. If someone told you to copy-paste something here, they are likely trying to compromise your Weblate account.",),);console.log("%c%s","font-size: 20px; font-family: sans-serif",gettext("See https://en.wikipedia.org/wiki/Self-XSS for more information."),);const form_auto_ids=["id","id_scratchcreate"];const file_format_params_fields_ids=form_auto_ids.map((id)=>{return`#div_${id}_file_format_params`;});function displayRelevantFileFormatParams(form,selectedFileFormat){if(form===null){return;}
234if(selectedFileFormat){file_format_params_fields_ids.forEach((fieldId)=>{show(form.querySelector(fieldId));});let displayFieldLabel=false;form.querySelectorAll(".file-format-param").forEach((param)=>{const fileFormats=param.querySelector(".file-format-param-field")?.getAttribute("fileformats")?.split(" ");if(fileFormats&&(fileFormats.includes(selectedFileFormat)||fileFormats.includes("*"))){show(param);displayFieldLabel=true;}else{hide(param);}});file_format_params_fields_ids.forEach((fieldId)=>{const field=form.querySelector(fieldId);if(displayFieldLabel){show(field);}else{hide(field);}});}else{file_format_params_fields_ids.forEach((fieldId)=>{hide(form.querySelector(fieldId));});}}
235form_auto_ids.map((id)=>{return`#${id}_file_format`;}
235).forEach((fieldSelector)=>{const field=document.querySelector(fieldSelector);if(field===null){return;}
236const fileFormatForm=field.closest("form");displayRelevantFileFormatParams(fileFormatForm,field.value);field.addEventListener("change",function(){displayRelevantFileFormatParams(fileFormatForm,this.value);});});document.querySelector("#string-add")?.addEventListener("click",(_e)=>{const tab=document.querySelector("[data-bs-target='#new'");bootstrap.Tab.getOrCreateInstance(tab).show();tab.closest(".dropdown-menu").classList.remove("show");});const dateFormatter=new Intl.DateTimeFormat(document.documentElement.lang,{timeStyle:"medium",dateStyle:"short",});document.querySelectorAll(".naturaltime").forEach((timespan)=>{const timestamp=Date.parse(timespan.getAttribute("data-datetime"));const difference=(Date.now()-timestamp)/1000;let value="";if(Math.abs(difference)<2){value=gettext("just now");}else if(difference>0){if(difference<60){const seconds=Math.floor(difference);value=interpolate(ngettext("%s second ago","%s seconds ago",seconds),[seconds],);}else if(difference<60*60){const minutes=Math.floor(difference/60);if(minutes===1){value=gettext("a minute ago");}else{value=interpolate(ngettext("%s minute ago","%s minutes ago",minutes),[minutes],);}}else if(difference<60*60*24){const hours=Math.floor(difference/(60*60));if(hours===1){value=gettext("an hour ago");}else{value=interpolate(ngettext("%s hour ago","%s hours ago",hours),[hours,]);}}}
237if(value===""){value=dateFormatter.format(new Date(timestamp));}
238timespan.textContent=value;});document.querySelectorAll("[data-link-category-select]").forEach((source)=>{const target=document.querySelector(source.dataset.linkCategorySelect);if(target===null){return;}
239let categoriesMap;try{categoriesMap=JSON.parse(source.getAttribute("data-link-category-map")||"{}",);}catch(e){console.error("Could not parse link category map",e);return;}
240const firstOption=target.querySelector("option");const emptyLabel=firstOption?.textContent||"---------";const updateTarget=()=>{const key=source.value;target.replaceChildren();const emptyOption=document.createElement("option");emptyOption.value="";emptyOption.textContent=emptyLabel;target.appendChild(emptyOption);const items=categoriesMap[key]||[];for(const item of items){const option=document.createElement("option");option.value=item.id;option.textContent=item.name;target.appendChild(option);}};source.addEventListener("change",updateTarget);updateTarget();});});;(()=>{const flagChoicesPromises=new Map();function loadFlagChoices(url){if(!flagChoicesPromises.has(url)){const promise=fetch(url,{credentials:"same-origin",headers:{Accept:"application/json"},}).then((response)=>(response.ok?response.json():{choices:[]})).then((data)=>data.choices||[]).catch(()=>[]);flagChoicesPromises.set(url,promise);}
241return flagChoicesPromises.get(url);}
242function parseFlagInputValue(value){const items=[];let current="";let quoteChar=null;let escaped=false;for(let i=0;i<value.length;i++){const ch=value[i];if(escaped){current+=ch;escaped=false;continue;}
243if(ch==="\\"){current+=ch;escaped=true;continue;}
244if(ch==='"'||ch==="'"){if(quoteChar===null){quoteChar=ch;}else if(quoteChar===ch){quoteChar=null;}
245current+=ch;continue;}
246if(ch===","&&quoteChar===null){const trimmed=current.trim();if(trimmed)items.push(trimmed);current="";continue;}
247current+=ch;}
248const trimmed=current.trim();if(trimmed)items.push(trimmed);return items;}
249function initFlagEditor(input){if(input.dataset.flagEditorInitialized==="1"){return;}
250input.dataset.flagEditorInitialized="1";const choicesUrl=input.dataset.flagChoicesUrl;if(!choicesUrl||typeof TomSelect==="undefined"){return;}
251const select=document.createElement("select");select.multiple=true;select.classList.add("flag-editor-select");for(const cls of input.classList){if(cls==="flag-editor")continue;select.classList.add(cls);}
252const initialFlags=parseFlagInputValue(input.value||"");for(const flag of initialFlags){const opt=document.createElement("option");opt.value=flag;opt.textContent=flag;opt.selected=true;select.appendChild(opt);}
253input.classList.add("d-none");input.setAttribute("aria-hidden","true");input.tabIndex=-1;input.parentNode.insertBefore(select,input);const customCategory=gettext("Custom");const ts=new TomSelect(select,{plugins:["remove_button"],persist:false,create:(raw)=>{const trimmed=String(raw||"").trim();if(!trimmed)return false;return{name:trimmed,label:trimmed,category:customCategory,has_value:false,};},createOnBlur:true,valueField:"name",labelField:"name",searchField:["name","label"],score:function(search){const colon=search.indexOf(":");const base=colon===-1?search:search.slice(0,colon);
253return this.getScoreFunction(base);},optgroupField:"category",optgroupLabelField:"category",optgroupValueField:"category",placeholder:gettext("Add a flag…"),hidePlaceholder:false,maxOptions:null,render:{option:(data,esc)=>{const sample=data.has_value?`${esc(data.name)}:…`:esc(data.name);const label=data.label&&data.label!==data.name?` <span class="text-muted">${esc(data.label)}</span>`:"";return`<div><code>${sample}</code>${label}</div>`;},item:(data,esc)=>`<div><code>${esc(data.name)}</code></div>`,no_results:(data,esc)=>`<div class="no-results">${esc(
254            interpolate(
255              gettext(
256                'No matching flag found for "%s"; press Enter to add it as a custom flag.',
257              ),
258              [data.input],
259            ),
260          )}</div>`,optgroup_header:(data,esc)=>`<div class="optgroup-header">${esc(data.category)}</div>`,},});if(ts.control_input){if(input.id){ts.control_input.id=`${input.id}-ts-input`;const selector=typeof CSS!=="undefined"&&CSS.escape?`label[for="${CSS.escape(input.id)}"]`:`label[for="${input.id}"]`;for(const label of document.querySelectorAll(selector)){label.htmlFor=ts.control_input.id;}}
261for(const attr of["aria-label","aria-labelledby","aria-describedby",]){const value=input.getAttribute(attr);if(value){ts.control_input.setAttribute(attr,value);}}}
262ts.on("change",()=>{input.value=ts.items.join(", ");input.dispatchEvent(new Event("change",{bubbles:true}));});const origAddItem=ts.addItem;ts.addItem=function(value,silent){const opt=this.options[value];if(opt?.has_value&&!String(value).includes(":")){const typed=(this.control_input?.value||"").trim();const prefix=`${value}:`;if(typed.length>prefix.length&&typed.startsWith(prefix)){this.createItem(typed);return;}
263this.setTextboxValue(prefix);this.focus();this.refreshOptions(true);return;}
264return origAddItem.call(this,value,silent);};loadFlagChoices(choicesUrl).then((choices)=>{const groups=new Set();for(const choice of choices){groups.add(choice.category);}
265for(const group of groups){ts.addOptionGroup(group,{category:group});}
266for(const choice of choices){if(!ts.options[choice.name]){ts.addOption(choice);}}
267ts.refreshOptions(false);});}
268function initAll(){document.querySelectorAll("input.flag-editor, textarea.flag-editor").forEach(initFlagEditor);}
269if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",initAll);}else{initAll();}
270window.initFlagEditor=initFlagEditor;})();;(()=>{function showShortcutsModal(){const modal=document.getElementById("shortcuts-modal");if(modal!==null){bootstrap.Modal.getOrCreateInstance(modal).show();}}
271document.addEventListener("keydown",(event)=>{if(event.key!=="?"){return;}
272const target=event.target||event.srcElement;const tagName=target.tagName.toLowerCase();if(tagName==="input"||tagName==="textarea"||target.isContentEditable){return;}
273event.preventDefault();showShortcutsModal();});document.getElementById("shortcuts-btn")?.addEventListener("click",showShortcutsModal);})();;var WLT=WLT||{};WLT.URLs=(()=>{function parse(url,base){try{return new URL(String(url),base);}catch{return null;}}
274function getLocalPath(url){const urlString=String(url).trim();if(urlString.startsWith("//")||(!urlString.startsWith("/")&&!/^https?:\/\//i.test(urlString))){return null;}
275const parsedUrl=parse(urlString,window.location.origin);if(parsedUrl===null||(parsedUrl.protocol!=="http:"&&parsedUrl.protocol!=="https:")){return null;}
276const path=parsedUrl.pathname.replace(/^\/+/,"/");return`${path}${parsedUrl.search}${parsedUrl.hash}`;}
277function getHttpUrl(url){const parsedUrl=parse(url,window.location.href);if(parsedUrl===null||(parsedUrl.protocol!=="http:"&&parsedUrl.protocol!=="https:")){return null;}
278return parsedUrl.href;}
279return{getHttpUrl,getLocalPath,};})();;document.addEventListener("DOMContentLoaded",()=>{searchPreview("#replace","#id_replace_q");searchPreview("#bulk-edit","#id_bulk_q");searchPreview("#addon-form","#id_bulk_q");function searchPreview(searchForm,searchElement){const form=document.querySelector(searchForm);const searchInput=form?.querySelector(searchElement);if(!form||!searchInput){return;}
280const searchPreview=document.createElement("div");searchPreview.id="search-preview";searchInput.parentElement?.parentElement?.parentElement?.after(searchPreview,);let debounceTimeout=null;searchInput.addEventListener("input",()=>{searchPreview.style.display="block";const userSearchInput=searchInput.value;const searchQuery=buildSearchQuery(searchInput);clearTimeout(debounceTimeout);debounceTimeout=setTimeout(()=>{if(userSearchInput){const url=`/api/units/?${new URLSearchParams({
281            q: searchQuery,
282          }).toString()}`;fetch(url,{headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest",},}).then((response)=>{if(!response.ok){return null;}
283return response.json();}).then((response)=>{if(response===null){return;}
284searchPreview.replaceChildren();searchPreview.querySelector("#results-num")?.remove();const results=response.results;if(!results||results.length===0){searchPreview.textContent=gettext("No results found");}else{showResults(results,response.count,searchQuery);}});}},300);});searchInput.addEventListener("focus",()=>{if(searchInput.value!==""&&searchPreview.innerHTML!==""){searchPreview.style.display="block";const resultsNumber=searchPreview.querySelector("#results-num");if(resultsNumber){resultsNumber.style.display="";}}});form.addEventListener("input",()=>{if(searchInput.value===""){searchPreview.style.display="none";searchPreview.querySelector("#results-num")?.remove();}});form.addEventListener("submit",()=>{searchPreview.replaceChildren();searchPreview.style.display="none";searchPreview.querySelector("#results-num")?.remove();});form.addEventListener("reset",()=>{searchPreview.replaceChildren();searchPreview.style.display="none";searchPreview.querySelector("#results-num")?.remove();});form.addEventListener("clear",()=>{searchPreview.replaceChildren();searchPreview.querySelector("#results-num")?.remove();searchPreview.style.display="none";});function showResults(results,count,searchQuery){if(count>0){const t=interpolate(ngettext("%s matching string","%s matching strings",count),[count],);const searchUrl=`/search/?${new URLSearchParams({
285          q: searchQuery,
286        }).toString()}`;const resultsNumber=document.createElement("a");resultsNumber.setAttribute("href",searchUrl);resultsNumber.target="_blank";resultsNumber.rel="noopener noreferrer";resultsNumber.id="results-num";resultsNumber.textContent=t;searchPreview.append(resultsNumber);}else{searchPreview.querySelector("#results-num")?.remove();}
287for(const result of results){const key=result.context;const source=result.source;const url=WLT.URLs.getLocalPath(result.web_url);if(url===null){continue;}
288const resultElement=document.createElement("a");resultElement.setAttribute("href",url);resultElement.target="_blank";resultElement.className="search-result";resultElement.rel="noopener noreferrer";const keyElement=document.createElement("small");keyElement.textContent=String(key);resultElement.append(keyElement);const sourceElement=document.createElement("div");sourceElement.textContent=String(source);resultElement.append(sourceElement);searchPreview.append(resultElement);}}}
289function buildSearchQuery(searchElement){let builtSearchQuery="";const projectPath=searchElement.closest("form")?.querySelector("input[name=path]")?.value;if(projectPath){builtSearchQuery=`path:${projectPath}`;}
290const filters=searchElement.value;if(filters){builtSearchQuery=`${builtSearchQuery} ${filters}`;}
291return builtSearchQuery;}});;

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.