altcha 2.3.0 → 3.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +1 -1
- package/README.md +201 -204
- package/dist/external/altcha.css +1 -0
- package/dist/external/altcha.js +6825 -0
- package/dist/external/altcha.min.js +1 -0
- package/dist/external/altcha.umd.cjs +6831 -0
- package/dist/external/altcha.umd.min.cjs +1 -0
- package/dist/external/index.d.ts +1 -0
- package/dist/i18n/419.d.ts +1 -0
- package/dist/i18n/af.d.ts +1 -0
- package/dist/i18n/af.js +22 -0
- package/dist/i18n/af.umd.cjs +27 -0
- package/dist/i18n/africa.d.ts +1 -0
- package/{dist_i18n → dist/i18n}/africa.js +52 -97
- package/dist/i18n/africa.umd.cjs +159 -0
- package/dist/i18n/all.d.ts +1 -0
- package/{dist_i18n → dist/i18n}/all.js +487 -299
- package/dist/i18n/all.umd.cjs +1347 -0
- package/dist/i18n/am.d.ts +1 -0
- package/dist/i18n/am.js +22 -0
- package/dist/i18n/am.umd.cjs +27 -0
- package/dist/i18n/americas.d.ts +1 -0
- package/{dist_i18n → dist/i18n}/americas.js +24 -85
- package/dist/i18n/americas.umd.cjs +71 -0
- package/dist/i18n/ar.d.ts +1 -0
- package/dist/i18n/ar.js +22 -0
- package/dist/i18n/ar.umd.cjs +27 -0
- package/dist/i18n/asia.d.ts +1 -0
- package/{dist_i18n → dist/i18n}/asia.js +199 -158
- package/dist/i18n/asia.umd.cjs +533 -0
- package/dist/i18n/az.d.ts +1 -0
- package/dist/i18n/az.js +22 -0
- package/dist/i18n/az.umd.cjs +27 -0
- package/dist/i18n/be.d.ts +1 -0
- package/dist/i18n/be.js +22 -0
- package/dist/i18n/be.umd.cjs +27 -0
- package/dist/i18n/bg.d.ts +1 -0
- package/dist/i18n/bg.js +22 -0
- package/dist/i18n/bg.umd.cjs +27 -0
- package/dist/i18n/bn.d.ts +1 -0
- package/dist/i18n/bn.js +22 -0
- package/dist/i18n/bn.umd.cjs +27 -0
- package/dist/i18n/br.d.ts +1 -0
- package/dist/i18n/bs.d.ts +1 -0
- package/dist/i18n/bs.js +22 -0
- package/dist/i18n/bs.umd.cjs +27 -0
- package/dist/i18n/ca.d.ts +1 -0
- package/dist/i18n/ca.js +22 -0
- package/dist/i18n/ca.umd.cjs +27 -0
- package/dist/i18n/cn.d.ts +1 -0
- package/dist/i18n/cs.d.ts +1 -0
- package/dist/i18n/cs.js +22 -0
- package/dist/i18n/cs.umd.cjs +27 -0
- package/dist/i18n/da.d.ts +1 -0
- package/dist/i18n/da.js +22 -0
- package/dist/i18n/da.umd.cjs +27 -0
- package/dist/i18n/de.d.ts +1 -0
- package/dist/i18n/de.js +22 -0
- package/dist/i18n/de.umd.cjs +27 -0
- package/dist/i18n/el.d.ts +1 -0
- package/dist/i18n/el.js +22 -0
- package/dist/i18n/el.umd.cjs +27 -0
- package/dist/i18n/en.d.ts +1 -0
- package/dist/i18n/en.js +22 -0
- package/dist/i18n/en.umd.cjs +27 -0
- package/dist/i18n/es-419.js +22 -0
- package/dist/i18n/es-419.umd.cjs +27 -0
- package/dist/i18n/es-es.js +22 -0
- package/dist/i18n/es-es.umd.cjs +27 -0
- package/dist/i18n/es.d.ts +1 -0
- package/dist/i18n/et.d.ts +1 -0
- package/dist/i18n/et.js +22 -0
- package/dist/i18n/et.umd.cjs +27 -0
- package/dist/i18n/eu.d.ts +1 -0
- package/dist/i18n/eu.js +22 -0
- package/dist/i18n/eu.umd.cjs +27 -0
- package/dist/i18n/europe.d.ts +1 -0
- package/{dist_i18n → dist/i18n}/europe.js +283 -209
- package/dist/i18n/europe.umd.cjs +819 -0
- package/dist/i18n/fa.d.ts +1 -0
- package/dist/i18n/fa.js +22 -0
- package/dist/i18n/fa.umd.cjs +27 -0
- package/dist/i18n/fi.d.ts +1 -0
- package/dist/i18n/fi.js +22 -0
- package/dist/i18n/fi.umd.cjs +27 -0
- package/dist/i18n/fr-ca.js +22 -0
- package/dist/i18n/fr-ca.umd.cjs +27 -0
- package/dist/i18n/fr-fr.js +22 -0
- package/dist/i18n/fr-fr.umd.cjs +27 -0
- package/dist/i18n/fr.d.ts +1 -0
- package/dist/i18n/ga.d.ts +1 -0
- package/dist/i18n/ga.js +22 -0
- package/dist/i18n/ga.umd.cjs +27 -0
- package/dist/i18n/he.d.ts +1 -0
- package/dist/i18n/he.js +22 -0
- package/dist/i18n/he.umd.cjs +27 -0
- package/dist/i18n/hi.d.ts +1 -0
- package/dist/i18n/hi.js +22 -0
- package/dist/i18n/hi.umd.cjs +27 -0
- package/dist/i18n/hk.d.ts +1 -0
- package/dist/i18n/hr.d.ts +1 -0
- package/dist/i18n/hr.js +22 -0
- package/dist/i18n/hr.umd.cjs +27 -0
- package/dist/i18n/hu.d.ts +1 -0
- package/dist/i18n/hu.js +22 -0
- package/dist/i18n/hu.umd.cjs +27 -0
- package/dist/i18n/hy.d.ts +1 -0
- package/dist/i18n/hy.js +22 -0
- package/dist/i18n/hy.umd.cjs +27 -0
- package/dist/i18n/id.d.ts +1 -0
- package/dist/i18n/id.js +22 -0
- package/dist/i18n/id.umd.cjs +27 -0
- package/dist/i18n/is.d.ts +1 -0
- package/dist/i18n/is.js +22 -0
- package/dist/i18n/is.umd.cjs +27 -0
- package/dist/i18n/it.d.ts +1 -0
- package/dist/i18n/it.js +22 -0
- package/dist/i18n/it.umd.cjs +27 -0
- package/dist/i18n/ja.d.ts +1 -0
- package/dist/i18n/ja.js +22 -0
- package/dist/i18n/ja.umd.cjs +27 -0
- package/dist/i18n/ka.d.ts +1 -0
- package/dist/i18n/ka.js +22 -0
- package/dist/i18n/ka.umd.cjs +27 -0
- package/dist/i18n/kk.d.ts +1 -0
- package/dist/i18n/kk.js +22 -0
- package/dist/i18n/kk.umd.cjs +27 -0
- package/dist/i18n/ko.d.ts +1 -0
- package/dist/i18n/ko.js +22 -0
- package/dist/i18n/ko.umd.cjs +27 -0
- package/dist/i18n/lb.d.ts +1 -0
- package/dist/i18n/lb.js +22 -0
- package/dist/i18n/lb.umd.cjs +27 -0
- package/dist/i18n/lt.d.ts +1 -0
- package/dist/i18n/lt.js +22 -0
- package/dist/i18n/lt.umd.cjs +27 -0
- package/dist/i18n/lv.d.ts +1 -0
- package/dist/i18n/lv.js +22 -0
- package/dist/i18n/lv.umd.cjs +27 -0
- package/dist/i18n/me.d.ts +1 -0
- package/dist/i18n/me.js +22 -0
- package/dist/i18n/me.umd.cjs +27 -0
- package/dist/i18n/mk.d.ts +1 -0
- package/dist/i18n/mk.js +22 -0
- package/dist/i18n/mk.umd.cjs +27 -0
- package/dist/i18n/mr.d.ts +1 -0
- package/dist/i18n/mr.js +22 -0
- package/dist/i18n/mr.umd.cjs +27 -0
- package/dist/i18n/mt.d.ts +1 -0
- package/dist/i18n/mt.js +22 -0
- package/dist/i18n/mt.umd.cjs +27 -0
- package/dist/i18n/nb.d.ts +1 -0
- package/dist/i18n/nb.js +22 -0
- package/dist/i18n/nb.umd.cjs +27 -0
- package/dist/i18n/nl.d.ts +1 -0
- package/dist/i18n/nl.js +22 -0
- package/dist/i18n/nl.umd.cjs +27 -0
- package/dist/i18n/pl.d.ts +1 -0
- package/dist/i18n/pl.js +22 -0
- package/dist/i18n/pl.umd.cjs +27 -0
- package/dist/i18n/pt-br.js +22 -0
- package/dist/i18n/pt-br.umd.cjs +27 -0
- package/dist/i18n/pt-pt.js +22 -0
- package/dist/i18n/pt-pt.umd.cjs +27 -0
- package/dist/i18n/pt.d.ts +1 -0
- package/dist/i18n/ro.d.ts +1 -0
- package/dist/i18n/ro.js +22 -0
- package/dist/i18n/ro.umd.cjs +27 -0
- package/dist/i18n/ru.d.ts +1 -0
- package/dist/i18n/ru.js +22 -0
- package/dist/i18n/ru.umd.cjs +27 -0
- package/dist/i18n/sk.d.ts +1 -0
- package/dist/i18n/sk.js +22 -0
- package/dist/i18n/sk.umd.cjs +27 -0
- package/dist/i18n/sl.d.ts +1 -0
- package/dist/i18n/sl.js +22 -0
- package/dist/i18n/sl.umd.cjs +27 -0
- package/dist/i18n/sq.d.ts +1 -0
- package/dist/i18n/sq.js +22 -0
- package/dist/i18n/sq.umd.cjs +27 -0
- package/dist/i18n/sr.d.ts +1 -0
- package/dist/i18n/sr.js +22 -0
- package/dist/i18n/sr.umd.cjs +27 -0
- package/dist/i18n/sv.d.ts +1 -0
- package/dist/i18n/sv.js +22 -0
- package/dist/i18n/sv.umd.cjs +27 -0
- package/dist/i18n/sw.d.ts +1 -0
- package/dist/i18n/sw.js +22 -0
- package/dist/i18n/sw.umd.cjs +27 -0
- package/dist/i18n/ta.d.ts +1 -0
- package/dist/i18n/ta.js +22 -0
- package/dist/i18n/ta.umd.cjs +27 -0
- package/dist/i18n/te.d.ts +1 -0
- package/dist/i18n/te.js +22 -0
- package/dist/i18n/te.umd.cjs +27 -0
- package/dist/i18n/th.d.ts +1 -0
- package/dist/i18n/th.js +22 -0
- package/dist/i18n/th.umd.cjs +27 -0
- package/dist/i18n/tk.d.ts +1 -0
- package/dist/i18n/tk.js +22 -0
- package/dist/i18n/tk.umd.cjs +27 -0
- package/dist/i18n/tr.d.ts +1 -0
- package/dist/i18n/tr.js +22 -0
- package/dist/i18n/tr.umd.cjs +27 -0
- package/dist/i18n/tw.d.ts +1 -0
- package/dist/i18n/uk.d.ts +1 -0
- package/dist/i18n/uk.js +22 -0
- package/dist/i18n/uk.umd.cjs +27 -0
- package/dist/i18n/ur.d.ts +1 -0
- package/dist/i18n/ur.js +22 -0
- package/dist/i18n/ur.umd.cjs +27 -0
- package/dist/i18n/uz.d.ts +1 -0
- package/dist/i18n/uz.js +22 -0
- package/dist/i18n/uz.umd.cjs +27 -0
- package/dist/i18n/vi.d.ts +1 -0
- package/dist/i18n/vi.js +22 -0
- package/dist/i18n/vi.umd.cjs +27 -0
- package/dist/i18n/yo.d.ts +1 -0
- package/dist/i18n/yo.js +22 -0
- package/dist/i18n/yo.umd.cjs +27 -0
- package/dist/i18n/zh-cn.js +22 -0
- package/dist/i18n/zh-cn.umd.cjs +27 -0
- package/dist/i18n/zh-hk.js +22 -0
- package/dist/i18n/zh-hk.umd.cjs +27 -0
- package/dist/i18n/zh-tw.js +22 -0
- package/dist/i18n/zh-tw.umd.cjs +27 -0
- package/dist/lib/index.d.ts +468 -0
- package/dist/lib/index.js +1416 -0
- package/dist/lib/index.min.js +1 -0
- package/dist/lib/index.umd.cjs +1420 -0
- package/dist/lib/index.umd.min.cjs +1 -0
- package/dist/main/altcha.i18n.js +8565 -0
- package/dist/main/altcha.i18n.min.js +1 -0
- package/dist/main/altcha.i18n.umd.cjs +8568 -0
- package/dist/main/altcha.i18n.umd.min.cjs +1 -0
- package/dist/main/altcha.js +7223 -0
- package/dist/main/altcha.min.js +1 -0
- package/dist/main/altcha.umd.cjs +7226 -0
- package/dist/main/altcha.umd.min.cjs +1 -0
- package/dist/plugins/obfuscation.plugin.d.ts +1 -0
- package/dist/plugins/obfuscation.plugin.js +320 -0
- package/dist/plugins/obfuscation.plugin.min.js +1 -0
- package/dist/plugins/obfuscation.plugin.umd.cjs +325 -0
- package/dist/plugins/obfuscation.plugin.umd.min.cjs +1 -0
- package/dist/themes/aqua.css +19 -0
- package/dist/themes/aqua.min.css +1 -0
- package/dist/themes/business.css +15 -0
- package/dist/themes/business.min.css +1 -0
- package/dist/themes/caramel.css +19 -0
- package/dist/themes/caramel.min.css +1 -0
- package/dist/themes/cupcake.css +16 -0
- package/dist/themes/cupcake.min.css +1 -0
- package/dist/themes/cyberpunk.css +24 -0
- package/dist/themes/cyberpunk.min.css +1 -0
- package/dist/themes/lime.css +14 -0
- package/dist/themes/lime.min.css +1 -0
- package/dist/themes/wireframe.css +17 -0
- package/dist/themes/wireframe.min.css +1 -0
- package/dist/types/generic.d.ts +25 -0
- package/dist/types/generic.js +1 -0
- package/dist/types/global.d.ts +5 -0
- package/dist/types/global.js +1 -0
- package/dist/types/index.d.ts +397 -0
- package/dist/types/index.js +23 -0
- package/dist/types/jsx.d.ts +13 -0
- package/dist/types/jsx.js +1 -0
- package/dist/types/react.d.ts +35 -0
- package/dist/types/react.js +1 -0
- package/dist/types/svelte.d.ts +26 -0
- package/dist/types/svelte.js +1 -0
- package/dist/workers/argon2id.js +786 -0
- package/dist/workers/pbkdf2.js +176 -0
- package/dist/workers/scrypt.js +739 -0
- package/dist/workers/sha.js +160 -0
- package/package.json +146 -112
- package/dist/altcha.d.ts +0 -183
- package/dist/altcha.i18n.d.ts +0 -183
- package/dist/altcha.i18n.js +0 -4182
- package/dist/altcha.i18n.umd.js +0 -4
- package/dist/altcha.js +0 -3105
- package/dist/altcha.umd.cjs +0 -4
- package/dist_external/altcha.css +0 -1
- package/dist_external/altcha.d.ts +0 -183
- package/dist_external/altcha.js +0 -3075
- package/dist_external/altcha.umd.cjs +0 -3
- package/dist_external/worker.js +0 -1
- package/dist_i18n/af.d.ts +0 -1
- package/dist_i18n/af.js +0 -94
- package/dist_i18n/af.umd.cjs +0 -1
- package/dist_i18n/africa.d.ts +0 -1
- package/dist_i18n/africa.umd.cjs +0 -1
- package/dist_i18n/all.d.ts +0 -1
- package/dist_i18n/all.umd.cjs +0 -1
- package/dist_i18n/am.d.ts +0 -1
- package/dist_i18n/am.js +0 -94
- package/dist_i18n/am.umd.cjs +0 -1
- package/dist_i18n/americas.d.ts +0 -1
- package/dist_i18n/americas.umd.cjs +0 -1
- package/dist_i18n/ar.d.ts +0 -1
- package/dist_i18n/ar.js +0 -94
- package/dist_i18n/ar.umd.cjs +0 -1
- package/dist_i18n/asia.d.ts +0 -1
- package/dist_i18n/asia.umd.cjs +0 -1
- package/dist_i18n/az.d.ts +0 -1
- package/dist_i18n/az.js +0 -94
- package/dist_i18n/az.umd.cjs +0 -1
- package/dist_i18n/be.d.ts +0 -1
- package/dist_i18n/be.js +0 -94
- package/dist_i18n/be.umd.cjs +0 -1
- package/dist_i18n/bg.d.ts +0 -1
- package/dist_i18n/bg.js +0 -94
- package/dist_i18n/bg.umd.cjs +0 -1
- package/dist_i18n/bn.d.ts +0 -1
- package/dist_i18n/bn.js +0 -94
- package/dist_i18n/bn.umd.cjs +0 -1
- package/dist_i18n/bs.d.ts +0 -1
- package/dist_i18n/bs.js +0 -94
- package/dist_i18n/bs.umd.cjs +0 -1
- package/dist_i18n/ca.d.ts +0 -1
- package/dist_i18n/ca.js +0 -94
- package/dist_i18n/ca.umd.cjs +0 -1
- package/dist_i18n/cs.d.ts +0 -1
- package/dist_i18n/cs.js +0 -94
- package/dist_i18n/cs.umd.cjs +0 -1
- package/dist_i18n/da.d.ts +0 -1
- package/dist_i18n/da.js +0 -94
- package/dist_i18n/da.umd.cjs +0 -1
- package/dist_i18n/de.d.ts +0 -1
- package/dist_i18n/de.js +0 -94
- package/dist_i18n/de.umd.cjs +0 -1
- package/dist_i18n/el.d.ts +0 -1
- package/dist_i18n/el.js +0 -94
- package/dist_i18n/el.umd.cjs +0 -1
- package/dist_i18n/en.d.ts +0 -1
- package/dist_i18n/en.js +0 -94
- package/dist_i18n/en.umd.cjs +0 -1
- package/dist_i18n/es-419.d.ts +0 -1
- package/dist_i18n/es-419.js +0 -94
- package/dist_i18n/es-419.umd.cjs +0 -1
- package/dist_i18n/es-es.d.ts +0 -1
- package/dist_i18n/es-es.js +0 -94
- package/dist_i18n/es-es.umd.cjs +0 -1
- package/dist_i18n/et.d.ts +0 -1
- package/dist_i18n/et.js +0 -94
- package/dist_i18n/et.umd.cjs +0 -1
- package/dist_i18n/eu.d.ts +0 -1
- package/dist_i18n/eu.js +0 -94
- package/dist_i18n/eu.umd.cjs +0 -1
- package/dist_i18n/europe.d.ts +0 -1
- package/dist_i18n/europe.umd.cjs +0 -1
- package/dist_i18n/fa.d.ts +0 -1
- package/dist_i18n/fa.js +0 -94
- package/dist_i18n/fa.umd.cjs +0 -1
- package/dist_i18n/fi.d.ts +0 -1
- package/dist_i18n/fi.js +0 -94
- package/dist_i18n/fi.umd.cjs +0 -1
- package/dist_i18n/fr-ca.d.ts +0 -1
- package/dist_i18n/fr-ca.js +0 -94
- package/dist_i18n/fr-ca.umd.cjs +0 -1
- package/dist_i18n/fr-fr.d.ts +0 -1
- package/dist_i18n/fr-fr.js +0 -94
- package/dist_i18n/fr-fr.umd.cjs +0 -1
- package/dist_i18n/ga.d.ts +0 -1
- package/dist_i18n/ga.js +0 -94
- package/dist_i18n/ga.umd.cjs +0 -1
- package/dist_i18n/he.d.ts +0 -1
- package/dist_i18n/he.js +0 -94
- package/dist_i18n/he.umd.cjs +0 -1
- package/dist_i18n/hi.d.ts +0 -1
- package/dist_i18n/hi.js +0 -94
- package/dist_i18n/hi.umd.cjs +0 -1
- package/dist_i18n/hr.d.ts +0 -1
- package/dist_i18n/hr.js +0 -94
- package/dist_i18n/hr.umd.cjs +0 -1
- package/dist_i18n/hu.d.ts +0 -1
- package/dist_i18n/hu.js +0 -94
- package/dist_i18n/hu.umd.cjs +0 -1
- package/dist_i18n/hy.d.ts +0 -1
- package/dist_i18n/hy.js +0 -94
- package/dist_i18n/hy.umd.cjs +0 -1
- package/dist_i18n/id.d.ts +0 -1
- package/dist_i18n/id.js +0 -94
- package/dist_i18n/id.umd.cjs +0 -1
- package/dist_i18n/is.d.ts +0 -1
- package/dist_i18n/is.js +0 -94
- package/dist_i18n/is.umd.cjs +0 -1
- package/dist_i18n/it.d.ts +0 -1
- package/dist_i18n/it.js +0 -94
- package/dist_i18n/it.umd.cjs +0 -1
- package/dist_i18n/ja.d.ts +0 -1
- package/dist_i18n/ja.js +0 -94
- package/dist_i18n/ja.umd.cjs +0 -1
- package/dist_i18n/ka.d.ts +0 -1
- package/dist_i18n/ka.js +0 -94
- package/dist_i18n/ka.umd.cjs +0 -1
- package/dist_i18n/kk.d.ts +0 -1
- package/dist_i18n/kk.js +0 -94
- package/dist_i18n/kk.umd.cjs +0 -1
- package/dist_i18n/ko.d.ts +0 -1
- package/dist_i18n/ko.js +0 -94
- package/dist_i18n/ko.umd.cjs +0 -1
- package/dist_i18n/lb.d.ts +0 -1
- package/dist_i18n/lb.js +0 -94
- package/dist_i18n/lb.umd.cjs +0 -1
- package/dist_i18n/lt.d.ts +0 -1
- package/dist_i18n/lt.js +0 -94
- package/dist_i18n/lt.umd.cjs +0 -1
- package/dist_i18n/lv.d.ts +0 -1
- package/dist_i18n/lv.js +0 -94
- package/dist_i18n/lv.umd.cjs +0 -1
- package/dist_i18n/me.d.ts +0 -1
- package/dist_i18n/me.js +0 -94
- package/dist_i18n/me.umd.cjs +0 -1
- package/dist_i18n/mk.d.ts +0 -1
- package/dist_i18n/mk.js +0 -94
- package/dist_i18n/mk.umd.cjs +0 -1
- package/dist_i18n/mr.d.ts +0 -1
- package/dist_i18n/mr.js +0 -94
- package/dist_i18n/mr.umd.cjs +0 -1
- package/dist_i18n/mt.d.ts +0 -1
- package/dist_i18n/mt.js +0 -94
- package/dist_i18n/mt.umd.cjs +0 -1
- package/dist_i18n/nb.d.ts +0 -1
- package/dist_i18n/nb.js +0 -95
- package/dist_i18n/nb.umd.cjs +0 -1
- package/dist_i18n/nl.d.ts +0 -1
- package/dist_i18n/nl.js +0 -94
- package/dist_i18n/nl.umd.cjs +0 -1
- package/dist_i18n/pl.d.ts +0 -1
- package/dist_i18n/pl.js +0 -94
- package/dist_i18n/pl.umd.cjs +0 -1
- package/dist_i18n/pt-br.d.ts +0 -1
- package/dist_i18n/pt-br.js +0 -94
- package/dist_i18n/pt-br.umd.cjs +0 -1
- package/dist_i18n/pt-pt.d.ts +0 -1
- package/dist_i18n/pt-pt.js +0 -94
- package/dist_i18n/pt-pt.umd.cjs +0 -1
- package/dist_i18n/ro.d.ts +0 -1
- package/dist_i18n/ro.js +0 -94
- package/dist_i18n/ro.umd.cjs +0 -1
- package/dist_i18n/ru.d.ts +0 -1
- package/dist_i18n/ru.js +0 -94
- package/dist_i18n/ru.umd.cjs +0 -1
- package/dist_i18n/sk.d.ts +0 -1
- package/dist_i18n/sk.js +0 -94
- package/dist_i18n/sk.umd.cjs +0 -1
- package/dist_i18n/sl.d.ts +0 -1
- package/dist_i18n/sl.js +0 -94
- package/dist_i18n/sl.umd.cjs +0 -1
- package/dist_i18n/sq.d.ts +0 -1
- package/dist_i18n/sq.js +0 -94
- package/dist_i18n/sq.umd.cjs +0 -1
- package/dist_i18n/sr.d.ts +0 -1
- package/dist_i18n/sr.js +0 -94
- package/dist_i18n/sr.umd.cjs +0 -1
- package/dist_i18n/sv.d.ts +0 -1
- package/dist_i18n/sv.js +0 -94
- package/dist_i18n/sv.umd.cjs +0 -1
- package/dist_i18n/sw.d.ts +0 -1
- package/dist_i18n/sw.js +0 -94
- package/dist_i18n/sw.umd.cjs +0 -1
- package/dist_i18n/ta.d.ts +0 -1
- package/dist_i18n/ta.js +0 -94
- package/dist_i18n/ta.umd.cjs +0 -1
- package/dist_i18n/te.d.ts +0 -1
- package/dist_i18n/te.js +0 -94
- package/dist_i18n/te.umd.cjs +0 -1
- package/dist_i18n/th.d.ts +0 -1
- package/dist_i18n/th.js +0 -94
- package/dist_i18n/th.umd.cjs +0 -1
- package/dist_i18n/tk.d.ts +0 -1
- package/dist_i18n/tk.js +0 -94
- package/dist_i18n/tk.umd.cjs +0 -1
- package/dist_i18n/tr.d.ts +0 -1
- package/dist_i18n/tr.js +0 -94
- package/dist_i18n/tr.umd.cjs +0 -1
- package/dist_i18n/uk.d.ts +0 -1
- package/dist_i18n/uk.js +0 -94
- package/dist_i18n/uk.umd.cjs +0 -1
- package/dist_i18n/ur.d.ts +0 -1
- package/dist_i18n/ur.js +0 -94
- package/dist_i18n/ur.umd.cjs +0 -1
- package/dist_i18n/uz.d.ts +0 -1
- package/dist_i18n/uz.js +0 -94
- package/dist_i18n/uz.umd.cjs +0 -1
- package/dist_i18n/vi.d.ts +0 -1
- package/dist_i18n/vi.js +0 -94
- package/dist_i18n/vi.umd.cjs +0 -1
- package/dist_i18n/yo.d.ts +0 -1
- package/dist_i18n/yo.js +0 -94
- package/dist_i18n/yo.umd.cjs +0 -1
- package/dist_i18n/zh-cn.d.ts +0 -1
- package/dist_i18n/zh-cn.js +0 -94
- package/dist_i18n/zh-cn.umd.cjs +0 -1
- package/dist_i18n/zh-tw.d.ts +0 -1
- package/dist_i18n/zh-tw.js +0 -94
- package/dist_i18n/zh-tw.umd.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";var e=document.createElement("style");e.textContent=':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: var(--altcha-color-neutral);\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: light-dark(\n \tcolor-mix(in srgb, var(--altcha-color-primary) 20%, transparent),\n \tcolor-mix(in srgb, var(--altcha-color-primary) 60%, transparent)\n );\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.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-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.5;\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 height: var(--altcha-checkbox-size);\n left: 0;\n margin: 0;\n outline: none;\n padding: 0;\n position: absolute;\n top: 0;\n width: var(--altcha-checkbox-size);\n}\n.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:focus {\n outline: var(--altcha-checkbox-outline);\n outline-offset: var(--altcha-checkbox-outline-offset);\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 input:focus {\n outline: var(--altcha-checkbox-outline);\n outline-offset: var(--altcha-checkbox-outline-offset);\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 cursor: pointer;\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 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 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-placement=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}/*$vite$:1*/',document.head.appendChild(e);var t=Array.isArray,n=Array.prototype.indexOf,r=Array.prototype.includes,a=Array.from,o=Object.keys,i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,s=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible;const h=()=>{};function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}const p=1<<24,g=16,b=32,m=64,y=512,w=1024,_=2048,x=4096,k=8192,$=16384,C=32768,E=1<<25,S=65536,O=1<<17,R=1<<19,A=65536,I=1<<21,P=1<<23,L=Symbol("$state"),T=Symbol("legacy props"),z=Symbol(""),N=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},M=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml");function V(e){return e===this.v}function D(e,t){return e!=e?t==t:e!==t||null!==e&&"object"==typeof e||"function"==typeof e}function j(e){return!D(e,this.v)}const F={},U=Symbol(),q="http://www.w3.org/1999/xhtml";let H=null;function G(e){H=e}function B(e,t=!1,n){H={p:H,i:!1,c:null,e:null,s:e,x:null,r:er,l:null}}function Z(e){var t=H,n=t.e;if(null!==n)for(var r of(t.e=null,n))Or(r);return void 0!==e&&(t.x=e),t.i=!0,H=t.p,e??{}}let J=[];function Y(){var e=J;J=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}function W(e){if(0===J.length&&!$n){var t=J;queueMicrotask(()=>{t===J&&Y()})}J.push(e)}function K(){for(;J.length>0;)Y()}function X(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let Q,ee=!1;function te(e){ee=e}function ne(e){if(null===e)throw X(),F;return Q=e}function re(){return ne(ye(Q))}function ae(e){if(ee){if(null!==ye(Q))throw X(),F;Q=e}}function oe(e=1){if(ee){for(var t=e,n=Q;t--;)n=ye(n);Q=n}}function ie(e=!0){for(var t=0,n=Q;;){if(8===n.nodeType){var r=n.data;if("]"===r){if(0===t)return n;t-=1}else("["===r||"[!"===r||"["===r[0]&&!isNaN(Number(r.slice(1))))&&(t+=1)}var a=ye(n);e&&n.remove(),n=a}}function le(e){if(!e||8!==e.nodeType)throw X(),F;return e.data}function ce(e){if("object"!=typeof e||null===e||L in e)return e;const n=d(e);if(n!==s&&n!==u)return e;var r=new Map,a=t(e),o=Un(0),i=sr,c=e=>{if(sr===i)return e();var t=Kn,n=sr;Qn(null),ur(i);var r=e();return Qn(t),ur(n),r};return a&&r.set("length",Un(e.length)),new Proxy(e,{defineProperty(e,t,n){"value"in n&&!1!==n.configurable&&!1!==n.enumerable&&!1!==n.writable||function(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var a=r.get(t);return void 0===a?c(()=>{var e=Un(n.value);return r.set(t,e),e}):Hn(a,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(void 0===n){if(t in e){const e=c(()=>Un(U));r.set(t,e),Bn(o)}}else Hn(n,U),Bn(o);return!0},get(t,n,a){if(n===L)return e;var o=r.get(n),i=n in t;if(void 0!==o||i&&!l(t,n)?.writable||(o=c(()=>Un(ce(i?t[n]:U))),r.set(n,o)),void 0!==o){var s=yr(o);return s===U?void 0:s}return Reflect.get(t,n,a)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&"value"in n){var a=r.get(t);a&&(n.value=yr(a))}else if(void 0===n){var o=r.get(t),i=o?.v;if(void 0!==o&&i!==U)return{enumerable:!0,configurable:!0,value:i,writable:!0}}return n},has(e,t){if(t===L)return!0;var n=r.get(t),a=void 0!==n&&n.v!==U||Reflect.has(e,t);if((void 0!==n||null!==er&&(!a||l(e,t)?.writable))&&(void 0===n&&(n=c(()=>Un(a?ce(e[t]):U)),r.set(t,n)),yr(n)===U))return!1;return a},set(e,t,n,i){var s=r.get(t),u=t in e;if(a&&"length"===t)for(var d=n;d<s.v;d+=1){var f=r.get(d+"");void 0!==f?Hn(f,U):d in e&&(f=c(()=>Un(U)),r.set(d+"",f))}void 0===s?u&&!l(e,t)?.writable||(Hn(s=c(()=>Un(void 0)),ce(n)),r.set(t,s)):(u=s.v!==U,Hn(s,c(()=>ce(n))));var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(i,n),!u){if(a&&"string"==typeof t){var v=r.get("length"),p=Number(t);Number.isInteger(p)&&p>=v.v&&Hn(v,p+1)}Bn(o)}return!0},ownKeys(e){yr(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return void 0===t||t.v!==U});for(var[n,a]of r)a.v===U||n in e||t.push(n);return t},setPrototypeOf(){!function(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function se(e){try{if(null!==e&&"object"==typeof e&&L in e)return e[L]}catch{}return e}function ue(e,t){return Object.is(se(e),se(t))}var de,fe,he,ve,pe;function ge(){if(void 0===de){de=window,fe=document,he=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;ve=l(t,"firstChild").get,pe=l(t,"nextSibling").get,f(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),f(n)&&(n.__t=void 0)}}function be(e=""){return document.createTextNode(e)}function me(e){return ve.call(e)}function ye(e){return pe.call(e)}function we(e,t){if(!ee)return me(e);var n=me(Q);if(null===n)n=Q.appendChild(be());else if(t&&3!==n.nodeType){var r=be();return n?.before(r),ne(r),r}return t&&$e(n),ne(n),n}function _e(e,t=!1){if(!ee){var n=me(e);return n instanceof Comment&&""===n.data?ye(n):n}if(t){if(3!==Q?.nodeType){var r=be();return Q?.before(r),ne(r),r}$e(Q)}return Q}function xe(e,t=1,n=!1){let r=ee?Q:e;for(var a;t--;)a=r,r=ye(r);if(!ee)return r;if(n){if(3!==r?.nodeType){var o=be();return null===r?a?.after(o):r.before(o),ne(o),o}$e(r)}return ne(r),r}function ke(e,t,n){let r;return document.createElementNS(t??q,e,r)}function $e(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 Ce(e){var t=er;if(null===t)return Kn.f|=P,e;if(0===(t.f&C)&&!(4&t.f))throw e;Ee(e,t)}function Ee(e,t){for(;null!==t;){if(128&t.f){if(0===(t.f&C))throw e;try{return void t.b.error(e)}catch(t){e=t}}t=t.parent}throw e}const Se=-7169;function Oe(e,t){e.f=e.f&Se|t}function Re(e){0!==(e.f&y)||null===e.deps?Oe(e,w):Oe(e,x)}function Ae(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&A)&&(t.f^=A,Ae(t.deps))}function Ie(e,t,n){0!==(e.f&_)?t.add(e):0!==(e.f&x)&&n.add(e),Ae(e.deps),Oe(e,w)}function Pe(e){return e.endsWith("capture")&&"gotpointercapture"!==e&&"lostpointercapture"!==e}const Le=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Te(e){return Le.includes(e)}const ze={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Ne(e){return e=e.toLowerCase(),ze[e]??e}const Me=["touchstart","touchmove"];function Ve(e){return Me.includes(e)}function De(e,t){if(t){const t=document.body;e.autofocus=!0,W(()=>{document.activeElement===t&&e.focus()})}}let je=!1;function Fe(){je||(je=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Ue(e){var t=Kn,n=er;Qn(null),tr(null);try{return e()}finally{Qn(t),tr(n)}}const qe=Symbol("events"),He=new Set,Ge=new Set;function Be(e,t,n,r={}){function a(e){if(r.capture||Ke.call(t,e),!e.cancelBubble)return Ue(()=>n?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?W(()=>{t.addEventListener(e,a,r)}):t.addEventListener(e,a,r),a}function Ze(e,t,n,r,a){var o={capture:r,passive:a},i=Be(e,t,n,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Er(()=>{t.removeEventListener(e,i,o)})}function Je(e,t,n){(t[qe]??={})[e]=n}function Ye(e){for(var t=0;t<e.length;t++)He.add(e[t]);for(var n of Ge)n(e)}let We=null;function Ke(e){var t=this,n=t.ownerDocument,r=e.type,a=e.composedPath?.()||[],o=a[0]||e.target;We=e;var l=0,c=We===e&&e[qe];if(c){var s=a.indexOf(c);if(-1!==s&&(t===document||t===window))return void(e[qe]=t);var u=a.indexOf(t);if(-1===u)return;s<=u&&(l=s)}if((o=a[l]||e.target)!==t){i(e,"currentTarget",{configurable:!0,get:()=>o||n});var d=Kn,f=er;Qn(null),tr(null);try{for(var h,v=[];null!==o;){var p=o.assignedSlot||o.parentNode||o.host||null;try{var g=o[qe]?.[r];null==g||o.disabled&&e.target!==o||g.call(o,e)}catch(e){h?v.push(e):h=e}if(e.cancelBubble||p===t||null===p)break;o=p}if(h){for(let e of v)queueMicrotask(()=>{throw e});throw h}}finally{e[qe]=t,delete e.currentTarget,Qn(d),tr(f)}}}const Xe=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Qe(e){var t=ke("template");return t.innerHTML=function(e){return Xe?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function et(e,t){var n=er;null===n.nodes&&(n.nodes={start:e,end:t,a:null,t:null})}function tt(e,t){var n,r=!!(1&t),a=!!(2&t),o=!e.startsWith("<!>");return()=>{if(ee)return et(Q,null),Q;void 0===n&&(n=Qe(o?e:"<!>"+e),r||(n=me(n)));var t=a||he?document.importNode(n,!0):n.cloneNode(!0);r?et(me(t),t.lastChild):et(t,t);return t}}function nt(e,t,n="svg"){var r,a=`<${n}>${!e.startsWith("<!>")?e:"<!>"+e}</${n}>`;return()=>{if(ee)return et(Q,null),Q;if(!r){var e=Qe(a);r=me(me(e))}var t=r.cloneNode(!0);return et(t,t),t}}function rt(e,t){return nt(e,0,"svg")}function at(e=""){if(!ee){var t=be(e+"");return et(t,t),t}var n=Q;return 3!==n.nodeType?(n.before(n=be()),ne(n)):$e(n),et(n,n),n}function ot(){if(ee)return et(Q,null),Q;var e=document.createDocumentFragment(),t=document.createComment(""),n=be();return e.append(t,n),et(t,n),e}function it(e,t){if(ee){var n=er;return 0!==(n.f&C)&&null!==n.nodes.end||(n.nodes.end=Q),void re()}null!==e&&e.before(t)}class lt{parent;is_pending=!1;transform_error;#e;#t=ee?Q:null;#n;#r;#a;#o=null;#i=null;#l=null;#c=null;#s=0;#u=0;#d=!1;#f=new Set;#h=new Set;#v=null;#p=function(e){let t,n=0,r=Fn(0);return()=>{Cr()&&(yr(r),Ar(()=>(0===n&&(t=xr(()=>e(()=>Bn(r)))),n+=1,()=>{W(()=>{n-=1,0===n&&(t?.(),t=void 0,Bn(r))})})))}}(()=>(this.#v=Fn(this.#s),()=>{this.#v=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=er;t.b=this,t.f|=128,n(e)},this.parent=er.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#a=Pr(()=>{if(ee){const e=this.#t;re();const t="[!"===e.data;if(e.data.startsWith("[?")){const t=JSON.parse(e.data.slice(2));this.#g(t)}else t?this.#b():this.#m()}else this.#y()},589824),ee&&(this.#e=Q)}#m(){try{this.#o=Tr(()=>this.#r(this.#e))}catch(e){this.error(e)}}#g(e){const t=this.#n.failed;t&&(this.#l=Tr(()=>{t(this.#e,()=>e,()=>()=>{})}))}#b(){const e=this.#n.pending;if(e){this.is_pending=!0,this.#i=Tr(()=>e(this.#e));var t=_n;W(()=>{var e=this.#c=document.createDocumentFragment(),n=be();e.append(n),this.#o=this.#w(()=>Tr(()=>this.#r(n))),0===this.#u&&(this.#e.before(e),this.#c=null,jr(this.#i,()=>{this.#i=null}),this.#_(t))})}}#y(){var e=_n;try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#s=0,this.#o=Tr(()=>{this.#r(this.#e)}),this.#u>0){var t=this.#c=document.createDocumentFragment();qr(this.#o,t);const e=this.#n.pending;this.#i=Tr(()=>e(this.#e))}else this.#_(e)}catch(e){this.error(e)}}#_(e){this.is_pending=!1;for(const t of this.#f)Oe(t,_),e.schedule(t);for(const t of this.#h)Oe(t,x),e.schedule(t);this.#f.clear(),this.#h.clear()}defer_effect(e){Ie(e,this.#f,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#w(e){var t=er,n=Kn,r=H;tr(this.#a),Qn(this.#a),G(this.#a.ctx);try{return An.ensure(),e()}catch(e){return Ce(e),null}finally{tr(t),Qn(n),G(r)}}#x(e,t){this.has_pending_snippet()?(this.#u+=e,0===this.#u&&(this.#_(t),this.#i&&jr(this.#i,()=>{this.#i=null}),this.#c&&(this.#e.before(this.#c),this.#c=null))):this.parent&&this.parent.#x(e,t)}update_pending_count(e,t){this.#x(e,t),this.#s+=e,this.#v&&!this.#d&&(this.#d=!0,W(()=>{this.#d=!1,this.#v&&Gn(this.#v,this.#s)}))}get_effect_pending(){return this.#p(),yr(this.#v)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#o&&(Mr(this.#o),this.#o=null),this.#i&&(Mr(this.#i),this.#i=null),this.#l&&(Mr(this.#l),this.#l=null),ee&&(ne(this.#t),oe(),ne(ie()));var r=!1,a=!1;const o=()=>{r?console.warn("https://svelte.dev/e/svelte_boundary_reset_noop"):(r=!0,a&&function(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}(),null!==this.#l&&jr(this.#l,()=>{this.#l=null}),this.#w(()=>{this.#y()}))},i=e=>{try{a=!0,t?.(e,o),a=!1}catch(e){Ee(e,this.#a&&this.#a.parent)}n&&(this.#l=this.#w(()=>{try{return Tr(()=>{var t=er;t.b=this,t.f|=128,n(this.#e,()=>e,()=>o)})}catch(e){return Ee(e,this.#a.parent),null}}))};W(()=>{var t;try{t=this.transform_error(e)}catch(e){return void Ee(e,this.#a&&this.#a.parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(i,e=>Ee(e,this.#a&&this.#a.parent)):i(t)})}}function ct(e,t){var n=null==t?"":"object"==typeof t?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function st(e,t){return ft(e,t)}function ut(e,t){ge(),t.intro=t.intro??!1;const n=t.target,r=ee,a=Q;try{for(var o=me(n);o&&(8!==o.nodeType||"["!==o.data);)o=ye(o);if(!o)throw F;te(!0),ne(o);const r=ft(e,{...t,anchor:o});return te(!1),r}catch(r){if(r instanceof Error&&r.message.split("\n").some(e=>e.startsWith("https://svelte.dev/e/")))throw r;return r!==F&&console.warn("Failed to hydrate: ",r),!1===t.recover&&function(){throw new Error("https://svelte.dev/e/hydration_failed")}(),ge(),n.textContent="",te(!1),st(e,t)}finally{te(r),ne(a)}}const dt=new Map;function ft(e,{target:t,anchor:n,props:r={},events:o,context:i,intro:l=!0,transformError:c}){ge();var s=void 0,u=function(e){An.ensure();const t=$r(524352,e);return(e={})=>new Promise(n=>{e.outro?jr(t,()=>{Mr(t),n(void 0)}):(Mr(t),n(void 0))})}(()=>{var l=n??t.appendChild(be());!function(e,t,n,r){new lt(e,t,n,r)}(l,{pending:()=>{}},t=>{if(B({}),i&&(H.c=i),o&&(r.$$events=o),ee&&et(t,null),s=e(t,r)||{},ee&&(er.nodes.end=Q,null===Q||8!==Q.nodeType||"]"!==Q.data))throw X(),F;Z()},c);var u=new Set,d=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!u.has(r)){u.add(r);var a=Ve(r);for(const e of[t,document]){var o=dt.get(e);void 0===o&&(o=new Map,dt.set(e,o));var i=o.get(r);void 0===i?(e.addEventListener(r,Ke,{passive:a}),o.set(r,1)):o.set(r,i+1)}}}};return d(a(He)),Ge.add(d),()=>{for(var e of u)for(const n of[t,document]){var r=dt.get(n),a=r.get(e);0==--a?(n.removeEventListener(e,Ke),r.delete(e),0===r.size&&dt.delete(n)):r.set(e,a)}Ge.delete(d),l!==n&&l.parentNode?.removeChild(l)}});return ht.set(s,u),s}let ht=new WeakMap;function vt(e){var t=null!==Kn&&2&Kn.f?Kn:null;null!==er&&(er.f|=R);return{ctx:H,deps:null,effects:null,equals:V,f:2050,fn:e,reactions:null,rv:0,v:U,wv:0,parent:t??er,ac:null}}function pt(e,t,n){let r=er;null===r&&function(){throw new Error("https://svelte.dev/e/async_derived_orphan")}();var a=void 0,o=Fn(U),i=!Kn,l=new Map;return function(e){$r(4718592,e)}(()=>{var t=er,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(_t)}catch(e){n.reject(e),_t()}var c=_n;if(i){if(0!==(t.f&C))var s=xt();if(r.b.is_rendered())l.get(c)?.reject(N),l.delete(c);else{for(const e of l.values())e.reject(N);l.clear()}l.set(c,n)}const u=(e,n=void 0)=>{s&&s(n===N);if(n!==N&&0===(t.f&$)){if(c.activate(),n)o.f|=P,Gn(o,n);else{0!==(o.f&P)&&(o.f^=P),Gn(o,e);for(const[e,t]of l){if(l.delete(e),e===c)break;t.reject(N)}}c.deactivate()}};n.promise.then(u,e=>u(null,e||"unknown"))}),Er(()=>{for(const e of l.values())e.reject(N)}),new Promise(e=>{!function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}(a)})}function gt(e){const t=vt(e);return rr(t),t}function bt(e){var t,n=er;tr(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&$)?t:null;t=t.parent}return null}(e));try{e.f&=-65537,function(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)Mr(t[n])}}(e),t=vr(e)}finally{tr(n)}return t}function mt(e){var t=bt(e);e.equals(t)||(e.wv=dr(),_n?.is_fork&&null!==e.deps||(e.v=t,null!==e.deps))?Yn||(null!==xn?(Cr()||_n?.is_fork)&&xn.set(e,t):Re(e)):Oe(e,w)}function yt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&br(t)}function wt(e,t,n,r){const a=vt;var o=e.filter(e=>!e.settled);if(0!==n.length||0!==o.length){var i,l,c,s,u=er,d=(i=er,l=Kn,c=H,s=_n,function(e=!0){tr(i),Qn(l),G(c),e&&0===(i.f&$)&&(s?.activate(),s?.apply())}),f=1===o.length?o[0].promise:o.length>1?Promise.all(o.map(e=>e.promise)):null;if(0!==n.length){var h=xt();f?f.then(()=>{d(),p(),_t()}):p()}else f.then(()=>v(t.map(a)))}else r(t.map(a));function v(e){d();try{r(e)}catch(e){0===(u.f&$)&&Ee(e,u)}_t()}function p(){Promise.all(n.map(e=>pt(e))).then(e=>v([...t.map(a),...e])).catch(e=>Ee(e,u)).finally(()=>h())}}function _t(e=!0){tr(null),Qn(null),G(null),e&&_n?.deactivate()}function xt(){var e=er.b,t=_n,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(r=!1)=>{e.update_pending_count(-1,t),t.decrement(n,r)}}class kt{anchor;#k=new Map;#$=new Map;#C=new Map;#E=new Set;#S=!0;constructor(e,t=!0){this.anchor=e,this.#S=t}#O=e=>{if(this.#k.has(e)){var t=this.#k.get(e),n=this.#$.get(t);if(n)Ur(n,!0),this.#E.delete(t);else{var r=this.#C.get(t);r&&(this.#$.set(t,r.effect),this.#C.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(const[t,n]of this.#k){if(this.#k.delete(t),t===e)break;const r=this.#C.get(n);r&&(Mr(r.effect),this.#C.delete(n))}for(const[e,r]of this.#$){if(e===t||this.#E.has(e))continue;const a=()=>{if(Array.from(this.#k.values()).includes(e)){var t=document.createDocumentFragment();qr(r,t),t.append(be()),this.#C.set(e,{effect:r,fragment:t})}else Mr(r);this.#E.delete(e),this.#$.delete(e)};this.#S||!n?(this.#E.add(e),jr(r,a,!1)):a()}}};#R=e=>{this.#k.delete(e);const t=Array.from(this.#k.values());for(const[e,n]of this.#C)t.includes(e)||(Mr(n.effect),this.#C.delete(e))};ensure(e,t){var n=_n;!t||this.#$.has(e)||this.#C.has(e)||this.#$.set(e,Tr(()=>t(this.anchor)));this.#k.set(n,e),ee&&(this.anchor=Q),this.#O(n)}}function $t(e,t,n=!1){var r;ee&&(r=Q,re());var a=new kt(e);function o(e,t){if(ee){var n=le(r);if(e!==parseInt(n.substring(1))){var o=ie();return ne(o),a.anchor=o,te(!1),a.ensure(e,t),void te(!0)}}a.ensure(e,t)}Pr(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},n?S:0)}const Ct=Symbol("NaN");function Et(e,t,n=!1,r=!1,a=!1,o=!1){var i=e,l="";if(n){var c=e;ee&&(i=ne(me(c)))}Ir(()=>{var e=er;if(l!==(l=t()??"")){if(n&&!ee)return e.nodes=null,c.innerHTML=l,void(""!==l&&et(me(c),c.lastChild));if(null!==e.nodes&&(Vr(e.nodes.start,e.nodes.end),e.nodes=null),""!==l){if(ee){Q.data;for(var o=re(),s=o;null!==o&&(8!==o.nodeType||""!==o.data);)s=o,o=ye(o);if(null===o)throw X(),F;return et(Q,s),void(i=ne(o))}var u=ke(r?"svg":a?"math":"template",r?"http://www.w3.org/2000/svg":a?"http://www.w3.org/1998/Math/MathML":void 0);u.innerHTML=l;var d=r||a?u:u.content;if(et(me(d),d.lastChild),r||a)for(;me(d);)i.before(me(d));else i.before(d)}}else ee&&re()})}function St(e,t){var n,r=void 0;Lr(()=>{r!==(r=t())&&(n&&(Mr(n),n=null),r&&(n=Tr(()=>{Rr(()=>r(e))})))})}function Ot(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Ot(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Rt(e){return"object"==typeof e?function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Ot(e))&&(r&&(r+=" "),r+=t);return r}(e):e??""}const At=[..." \t\n\r\f \v\ufeff"];function It(e,t=!1){var n=t?" !important;":";",r="";for(var a of Object.keys(e)){var o=e[a];null!=o&&""!==o&&(r+=" "+a+": "+o+n)}return r}function Pt(e){return"-"!==e[0]||"-"!==e[1]?e.toLowerCase():e}function Lt(e,t,n,r,a,o){var i=e.__className;if(ee||i!==n||void 0===i){var l=function(e,t,n){var r=null==e?"":""+e;if(n)for(var a of Object.keys(n))if(n[a])r=r?r+" "+a:a;else if(r.length)for(var o=a.length,i=0;(i=r.indexOf(a,i))>=0;){var l=i+o;0!==i&&!At.includes(r[i-1])||l!==r.length&&!At.includes(r[l])?i=l:r=(0===i?"":r.substring(0,i))+r.substring(l+1)}return""===r?null:r}(n,0,o);ee&&l===e.getAttribute("class")||(null==l?e.removeAttribute("class"):t?e.className=l:e.setAttribute("class",l)),e.__className=n}else if(o&&a!==o)for(var c in o){var s=!!o[c];null!=a&&s===!!a[c]||e.classList.toggle(c,s)}return o}function Tt(e,t={},n,r){for(var a in n){var o=n[a];t[a]!==o&&(null==n[a]?e.style.removeProperty(a):e.style.setProperty(a,o,r))}}function zt(e,t,n,r){var a=e.__style;if(ee||a!==t){var o=function(e,t){if(t){var n,r,a="";if(Array.isArray(t)?(n=t[0],r=t[1]):n=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,i=0,l=!1,c=[];n&&c.push(...Object.keys(n).map(Pt)),r&&c.push(...Object.keys(r).map(Pt));var s=0,u=-1;const t=e.length;for(var d=0;d<t;d++){var f=e[d];if(l?"/"===f&&"*"===e[d-1]&&(l=!1):o?o===f&&(o=!1):"/"===f&&"*"===e[d+1]?l=!0:'"'===f||"'"===f?o=f:"("===f?i++:")"===f&&i--,!l&&!1===o&&0===i)if(":"===f&&-1===u)u=d;else if(";"===f||d===t-1){if(-1!==u){var h=Pt(e.substring(s,u).trim());c.includes(h)||(";"!==f&&d++,a+=" "+e.substring(s,d).trim()+";")}s=d+1,u=-1}}}return n&&(a+=It(n)),r&&(a+=It(r,!0)),""===(a=a.trim())?null:a}return null==e?null:String(e)}(t,r);ee&&o===e.getAttribute("style")||(null==o?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}else r&&(Array.isArray(r)?(Tt(e,n?.[0],r[0]),Tt(e,n?.[1],r[1],"important")):Tt(e,n,r));return r}function Nt(e,n,r=!1){if(e.multiple){if(null==n)return;if(!t(n))return void console.warn("https://svelte.dev/e/select_multiple_invalid_value");for(var a of e.options)a.selected=n.includes(Mt(a))}else{for(a of e.options){if(ue(Mt(a),n))return void(a.selected=!0)}r&&void 0===n||(e.selectedIndex=-1)}}function Mt(e){return"__value"in e?e.__value:e.value}const Vt=Symbol("class"),Dt=Symbol("style"),jt=Symbol("is custom element"),Ft=Symbol("is html"),Ut=M?"link":"LINK",qt=M?"input":"INPUT",Ht=M?"option":"OPTION",Gt=M?"select":"SELECT",Bt=M?"progress":"PROGRESS";function Zt(e){if(ee){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;Yt(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var r=e.checked;Yt(e,"checked",null),e.checked=r}}};e.__on_r=n,W(n),Fe()}}function Jt(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function Yt(e,t,n,r){var a=Kt(e);ee&&(a[t]=e.getAttribute(t),"src"===t||"srcset"===t||"href"===t&&e.nodeName===Ut)||a[t]!==(a[t]=n)&&("loading"===t&&(e[z]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&Qt(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Wt(e,t,n=[],r=[],a=[],o,i=!1,l=!1){wt(a,n,r,n=>{var r=void 0,a={},o=e.nodeName===Gt,c=!1;if(Lr(()=>{var s=t(...n.map(yr)),u=function(e,t,n,r,a=!1){if(ee&&a&&e.nodeName===qt){var o=e;("checkbox"===o.type?"defaultChecked":"defaultValue")in n||Zt(o)}var i=Kt(e),l=i[jt],c=!i[Ft];let s=ee&&l;s&&te(!1);var u=t||{},d=e.nodeName===Ht;for(var f in t)f in n||(n[f]=null);n.class?n.class=Rt(n.class):n[Vt]&&(n.class=null),n[Dt]&&(n.style??=null);var h=Qt(e);for(const r in n){let a=n[r];if(d&&"value"===r&&null==a)e.value=e.__value="",u[r]=a;else if("class"!==r)if("style"!==r){var v=u[r];if(a!==v||void 0===a&&e.hasAttribute(r)){u[r]=a;var p=r[0]+r[1];if("$$"!==p)if("on"===p){const t={},n="$$"+r;let o=r.slice(2);var g=Te(o);if(Pe(o)&&(o=o.slice(0,-7),t.capture=!0),!g&&v){if(null!=a)continue;e.removeEventListener(o,u[n],t),u[n]=null}if(g)Je(o,e,a),Ye([o]);else if(null!=a){let a=function(e){u[r].call(this,e)};u[n]=Be(o,e,a,t)}}else if("style"===r)Yt(e,r,a);else if("autofocus"===r)De(e,Boolean(a));else if(l||"__value"!==r&&("value"!==r||null==a))if("selected"===r&&d)Jt(e,a);else{var b=r;c||(b=Ne(b));var m="defaultValue"===b||"defaultChecked"===b;if(null!=a||l||m)m||h.includes(b)&&(l||"string"!=typeof a)?(e[b]=a,b in i&&(i[b]=U)):"function"!=typeof a&&Yt(e,b,a);else if(i[r]=null,"value"===b||"checked"===b){let n=e;const r=void 0===t;if("value"===b){let e=n.defaultValue;n.removeAttribute(b),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(b),n.defaultChecked=e,n.checked=!!r&&e}}else e.removeAttribute(r)}else e.value=e.__value=a}}else zt(e,a,t?.[Dt],n[Dt]),u[r]=a,u[Dt]=n[Dt];else Lt(e,"http://www.w3.org/1999/xhtml"===e.namespaceURI,a,0,t?.[Vt],n[Vt]),u[r]=a,u[Vt]=n[Vt]}return s&&te(!0),u}(e,r,s,0,i,l);c&&o&&"value"in s&&Nt(e,s.value);for(let e of Object.getOwnPropertySymbols(a))s[e]||Mr(a[e]);for(let t of Object.getOwnPropertySymbols(s)){var d=s[t];"@attach"!==t.description||r&&d===r[t]||(a[t]&&Mr(a[t]),a[t]=Tr(()=>St(e,()=>d))),u[t]=d}r=u}),o){var s=e;Rr(()=>{Nt(s,r.value,!0),function(e){var t=new MutationObserver(()=>{Nt(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Er(()=>{t.disconnect()})}(s)})}c=!0})}function Kt(e){return e.__attributes??={[jt]:e.nodeName.includes("-"),[Ft]:e.namespaceURI===q}}var Xt=new Map;function Qt(e){var t,n=e.getAttribute("is")||e.nodeName,r=Xt.get(n);if(r)return r;Xt.set(n,r=[]);for(var a=e,o=Element.prototype;o!==a;){for(var i in t=c(a))t[i].set&&r.push(i);a=d(a)}return r}function en(e,t,n=t){var r=new WeakSet;!function(e,t,n,r=n){e.addEventListener(t,()=>Ue(n));const a=e.__on_r;e.__on_r=a?()=>{a(),r(!0)}:()=>r(!0),Fe()}(e,"input",async a=>{var o=a?e.defaultValue:e.value;if(o=tn(e)?nn(o):o,n(o),null!==_n&&r.add(_n),await mr(),o!==(o=t())){var i=e.selectionStart,l=e.selectionEnd,c=e.value.length;if(e.value=o??"",null!==l){var s=e.value.length;i===l&&l===c&&s>c?(e.selectionStart=s,e.selectionEnd=s):(e.selectionStart=i,e.selectionEnd=Math.min(l,s))}}}),(ee&&e.defaultValue!==e.value||null==xr(t)&&e.value)&&(n(tn(e)?nn(e.value):e.value),null!==_n&&r.add(_n)),Ar(()=>{var n=t();if(e===document.activeElement){var a=_n;if(r.has(a))return}tn(e)&&n===nn(e.value)||("date"!==e.type||n||e.value)&&n!==e.value&&(e.value=n??"")})}function tn(e){var t=e.type;return"number"===t||"range"===t}function nn(e){return""===e?null:+e}function rn(e,t){return e===t||e?.[L]===t}function an(e={},t,n,r){var a=H.r,o=er;return Rr(()=>{var r,i;return Ar(()=>{r=i,i=[],xr(()=>{e!==n(...i)&&(t(e,...i),r&&rn(n(...r),e)&&t(null,...r))})}),()=>{let r=o;for(;r!==a&&null!==r.parent&&r.parent.f&E;)r=r.parent;const l=r.teardown;r.teardown=()=>{i&&rn(n(...i),e)&&t(null,...i),l?.()}}}),e}const on={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 ln(e,t,n){return new Proxy({props:e,exclude:t},on)}function cn(e,t,n,r){var a,o=r,i=!0,l=()=>(i&&(i=!1,o=r),o);void 0===e[t]&&void 0!==r&&l(),a=()=>{var n=e[t];return void 0===n?l():(i=!0,n)};var c=!1,s=vt(()=>(c=!1,a())),u=er;return function(e,t){if(arguments.length>0){const n=t?yr(s):e;return Hn(s,n),c=!0,void 0!==o&&(o=n),e}return Yn&&c||0!==(u.f&$)?s.v:yr(s)}}class sn{#A;#I;constructor(e){var t=new Map,n=(e,n)=>{var r=qn(n,!1,!1);return t.set(e,r),r};const r=new Proxy({...e.props||{},$$events:{}},{get:(e,r)=>yr(t.get(r)??n(r,Reflect.get(e,r))),has:(e,r)=>r===T||(yr(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r)),set:(e,r,a)=>(Hn(t.get(r)??n(r,a),a),Reflect.set(e,r,a))});this.#I=(e.hydrate?ut:st)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),e?.props?.$$host&&!1!==e.sync||In(),this.#A=r.$$events;for(const e of Object.keys(this.#I))"$set"!==e&&"$destroy"!==e&&"$on"!==e&&i(this,e,{get(){return this.#I[e]},set(t){this.#I[e]=t},enumerable:!0});this.#I.$set=e=>{Object.assign(r,e)},this.#I.$destroy=()=>{!function(e,t){const n=ht.get(e);n?(ht.delete(e),n(t)):Promise.resolve()}(this.#I)}}$set(e){this.#I.$set(e)}$on(e,t){this.#A[e]=this.#A[e]||[];const n=(...e)=>t.call(this,...e);return this.#A[e].push(n),()=>{this.#A[e]=this.#A[e].filter(e=>e!==n)}}$destroy(){this.#I.$destroy()}}let un=class{};function dn(e,t,n,r){const a=n[e]?.type;if(t="Boolean"===a&&"boolean"!=typeof t?null!=t:t,!r||!n[e])return t;if("toAttribute"===r)switch(a){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return null==t?null:t;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 fn(e,t,n,r,a,c){let s=class extends un{constructor(){super(e,n,a),this.$$p_d=t}static get observedAttributes(){return o(t).map(e=>(t[e].attribute||e).toLowerCase())}};return o(t).forEach(e=>{i(s.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=dn(e,n,t),this.$$d[e]=n;var r=this.$$c;if(r){var a=l(r,e)?.get;a?r[e]=n:r.$set({[e]:n})}}})}),r.forEach(e=>{i(s.prototype,e,{get(){return this.$$c?.[e]}})}),e.element=s,s}function hn(e){null===H&&function(){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}(),Sr(()=>{const t=xr(e);if("function"==typeof t)return t})}function vn(e,t,n){if(null==e)return t(void 0),h;const r=xr(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}"function"==typeof HTMLElement&&(un=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),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 n=ke("slot");"default"!==e&&(n.name=e),it(t,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=function(e){const t={};return e.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}(this);for(const e of this.$$s)e in r&&("default"!==e||this.$$d.children?n[e]=t(e):(this.$$d.children=t(e),n.default=!0));for(const e of this.attributes){const t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=dn(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:n,$$host:this}},new sn(e)),this.$$me=function(e){An.ensure();const t=$r(524352,e);return()=>{Mr(t)}}(()=>{Ar(()=>{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=dn(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 n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}var e}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=dn(e,n,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}});const pn=[];function gn(e,t=h){let n=null;const r=new Set;function a(t){if(D(e,t)&&(e=t,n)){const t=!pn.length;for(const t of r)t[1](),pn.push(t,e);if(t){for(let e=0;e<pn.length;e+=2)pn[e][0](pn[e+1]);pn.length=0}}}function o(t){a(t(e))}return{set:a,update:o,subscribe:function(i,l=h){const c=[i,l];return r.add(c),1===r.size&&(n=t(a,o)||h),i(e),()=>{r.delete(c),0===r.size&&n&&(n(),n=null)}}}}function bn(e){let t;return vn(e,e=>t=e)(),t}let mn=Symbol();function yn(e,t,n){const r=n[t]??={store:null,source:qn(void 0),unsubscribe:h};if(r.store!==e&&!(mn in n))if(r.unsubscribe(),r.store=e??null,null==e)r.source.v=void 0,r.unsubscribe=h;else{var a=!0;r.unsubscribe=vn(e,e=>{a?r.source.v=e:Hn(r.source,e)}),a=!1}return e&&mn in n?bn(e):yr(r.source)}const wn=new Set;let _n=null,xn=null,kn=null,$n=!1,Cn=!1,En=null,Sn=null;var On=0;let Rn=1;class An{id=Rn++;current=new Map;previous=new Map;#P=new Set;#L=new Set;#T=0;#z=0;#N=null;#M=[];#f=new Set;#h=new Set;#V=new Map;is_fork=!1;#D=!1;#j(){return this.is_fork||this.#z>0}skip_effect(e){this.#V.has(e)||this.#V.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#V.get(e);if(t){for(var n of(this.#V.delete(e),t.d))Oe(n,_),this.schedule(n);for(n of t.m)Oe(n,x),this.schedule(n)}}#F(){On++>1e3&&function(){try{!function(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(e){Ee(e,kn)}}();const e=this.#M;this.#M=[],this.apply();var t=En=[],n=[],r=Sn=[];for(const r of e)this.#U(r,t,n);if(_n=null,r.length>0){var a=An.ensure();for(const e of r)a.schedule(e)}if(En=null,Sn=null,this.#j()){this.#q(n),this.#q(t);for(const[e,t]of this.#V)Mn(e,t)}else{this.#f.clear(),this.#h.clear();for(const e of this.#P)e(this);this.#P.clear(),Ln(n),Ln(t),0===this.#T&&this.#O(),this.#N?.resolve()}var o=_n;if(this.#M.length>0){const e=o??=this;e.#M.push(...this.#M.filter(t=>!e.#M.includes(t)))}null!==o&&(wn.add(o),o.#F())}#U(e,t,n){e.f^=w;for(var r=e.first;null!==r;){var a=r.f,o=!!(96&a);if(!(o&&0!==(a&w)||0!==(a&k)||this.#V.has(r))&&null!==r.fn){o?r.f^=w:4&a?t.push(r):fr(r)&&(0!==(a&g)&&this.#h.add(r),br(r));var i=r.first;if(null!==i){r=i;continue}}for(;null!==r;){var l=r.next;if(null!==l){r=l;break}r=r.parent}}}#q(e){for(var t=0;t<e.length;t+=1)Ie(e[t],this.#f,this.#h)}capture(e,t){t===U||this.previous.has(e)||this.previous.set(e,t),0===(e.f&P)&&(this.current.set(e,e.v),xn?.set(e,e.v))}activate(){_n=this}deactivate(){_n=null,xn=null}flush(){try{if(Cn=!0,_n=this,!this.#j()){for(const e of this.#f)this.#h.delete(e),Oe(e,_),this.schedule(e);for(const e of this.#h)Oe(e,x),this.schedule(e)}this.#F()}finally{On=0,kn=null,En=null,Sn=null,Cn=!1,_n=null,xn=null,Dn.clear()}}discard(){for(const e of this.#L)e(this);this.#L.clear()}#O(){if(wn.size>1){this.previous.clear();var e=_n,t=xn,n=!0;for(const e of wn){if(e===this){n=!1;continue}const t=[];for(const[r,a]of this.current){if(e.current.has(r)){if(!n||a===e.current.get(r))continue;e.current.set(r,a)}t.push(r)}if(0===t.length)continue;const r=[...e.current.keys()].filter(e=>!this.current.has(e));if(r.length>0){e.activate();const n=new Set,a=new Map;for(const e of t)Tn(e,r,n,a);if(e.#M.length>0){e.apply();for(const t of e.#M)e.#U(t,[],[])}e.deactivate()}}_n=e,xn=t}this.#V.clear(),wn.delete(this)}increment(e){this.#T+=1,e&&(this.#z+=1)}decrement(e,t){this.#T-=1,e&&(this.#z-=1),this.#D||t||(this.#D=!0,W(()=>{this.#D=!1,this.flush()}))}oncommit(e){this.#P.add(e)}ondiscard(e){this.#L.add(e)}settled(){return(this.#N??=v()).promise}static ensure(){if(null===_n){const e=_n=new An;Cn||(wn.add(_n),$n||W(()=>{_n===e&&e.flush()}))}return _n}apply(){}schedule(e){if(kn=e,e.b?.is_pending&&16777228&e.f&&0===(e.f&C))e.b.defer_effect(e);else{for(var t=e;null!==t.parent;){var n=(t=t.parent).f;if(!(null===En||t!==er||null!==Kn&&2&Kn.f))return;if(96&n){if(0===(n&w))return;t.f^=w}}this.#M.push(t)}}}function In(e){var t=$n;$n=!0;try{for(;;){if(K(),null===_n)return;_n.flush()}}finally{$n=t}}let Pn=null;function Ln(e){var t=e.length;if(0!==t){for(var n=0;n<t;){var r=e[n++];if(!(24576&r.f)&&fr(r)&&(Pn=new Set,br(r),null===r.deps&&null===r.first&&null===r.nodes&&null===r.teardown&&null===r.ac&&Dr(r),Pn?.size>0)){Dn.clear();for(const e of Pn){if(24576&e.f)continue;const t=[e];let n=e.parent;for(;null!==n;)Pn.has(n)&&(Pn.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){const n=t[e];24576&n.f||br(n)}}Pn.clear()}}Pn=null}}function Tn(e,t,n,r){if(!n.has(e)&&(n.add(e),null!==e.reactions))for(const a of e.reactions){const e=a.f;2&e?Tn(a,t,n,r):4194320&e&&0===(e&_)&&zn(a,t,r)&&(Oe(a,_),Nn(a))}}function zn(e,t,n){const a=n.get(e);if(void 0!==a)return a;if(null!==e.deps)for(const a of e.deps){if(r.call(t,a))return!0;if(2&a.f&&zn(a,t,n))return n.set(a,!0),!0}return n.set(e,!1),!1}function Nn(e){_n.schedule(e)}function Mn(e,t){if(0===(e.f&b)||0===(e.f&w)){0!==(e.f&_)?t.d.push(e):0!==(e.f&x)&&t.m.push(e),Oe(e,w);for(var n=e.first;null!==n;)Mn(n,t),n=n.next}}let Vn=new Set;const Dn=new Map;let jn=!1;function Fn(e,t){return{f:0,v:e,reactions:null,equals:V,rv:0,wv:0}}function Un(e,t){const n=Fn(e);return rr(n),n}function qn(e,t=!1,n=!0){const r=Fn(e);return t||(r.equals=j),r}function Hn(e,t,n=!1){return null===Kn||Xn&&0===(Kn.f&O)||!(4325394&Kn.f)||null!==nr&&r.call(nr,e)||function(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}(),Gn(e,n?ce(t):t,Sn)}function Gn(e,t,n=null){if(!e.equals(t)){var r=e.v;Yn?Dn.set(e,t):Dn.set(e,r),e.v=t;var a=An.ensure();if(a.capture(e,r),2&e.f){const t=e;0!==(e.f&_)&&bt(t),Re(t)}e.wv=dr(),Zn(e,_,n),null===er||0===(er.f&w)||96&er.f||(null===ir?function(e){ir=e}([e]):ir.push(e)),!a.is_fork&&Vn.size>0&&!jn&&function(){jn=!1;for(const e of Vn)0!==(e.f&w)&&Oe(e,x),fr(e)&&br(e);Vn.clear()}()}return t}function Bn(e){Hn(e,e.v+1)}function Zn(e,t,n){var r=e.reactions;if(null!==r)for(var a=r.length,o=0;o<a;o++){var i=r[o],l=i.f,c=0===(l&_);if(c&&Oe(i,t),2&l){var s=i;xn?.delete(s),0===(l&A)&&(l&y&&(i.f|=A),Zn(s,x,n))}else if(c){var u=i;0!==(l&g)&&null!==Pn&&Pn.add(u),null!==n?n.push(u):Nn(u)}}}let Jn=!1,Yn=!1;function Wn(e){Yn=e}let Kn=null,Xn=!1;function Qn(e){Kn=e}let er=null;function tr(e){er=e}let nr=null;function rr(e){null!==Kn&&(null===nr?nr=[e]:nr.push(e))}let ar=null,or=0,ir=null;let lr=1,cr=0,sr=cr;function ur(e){sr=e}function dr(){return++lr}function fr(e){var t=e.f;if(0!==(t&_))return!0;if(2&t&&(e.f&=-65537),0!==(t&x)){for(var n=e.deps,r=n.length,a=0;a<r;a++){var o=n[a];if(fr(o)&&mt(o),o.wv>e.wv)return!0}0!==(t&y)&&null===xn&&Oe(e,w)}return!1}function hr(e,t,n=!0){var a=e.reactions;if(null!==a&&(null===nr||!r.call(nr,e)))for(var o=0;o<a.length;o++){var i=a[o];2&i.f?hr(i,t,!1):t===i&&(n?Oe(i,_):0!==(i.f&w)&&Oe(i,x),Nn(i))}}function vr(e){var t=ar,n=or,r=ir,a=Kn,o=nr,i=H,l=Xn,c=sr,s=e.f;ar=null,or=0,ir=null,Kn=96&s?null:e,nr=null,G(e.ctx),Xn=!1,sr=++cr,null!==e.ac&&(Ue(()=>{e.ac.abort(N)}),e.ac=null);try{e.f|=I;var u=(0,e.fn)();e.f|=C;var d=e.deps,f=_n?.is_fork;if(null!==ar){var h;if(f||gr(e,or),null!==d&&or>0)for(d.length=or+ar.length,h=0;h<ar.length;h++)d[or+h]=ar[h];else e.deps=d=ar;if(Cr()&&0!==(e.f&y))for(h=or;h<d.length;h++)(d[h].reactions??=[]).push(e)}else!f&&null!==d&&or<d.length&&(gr(e,or),d.length=or);if(!(null===ir||Xn||null===d||6146&e.f))for(h=0;h<ir.length;h++)hr(ir[h],e);if(null!==a&&a!==e){if(cr++,null!==a.deps)for(let e=0;e<n;e+=1)a.deps[e].rv=cr;if(null!==t)for(const e of t)e.rv=cr;null!==ir&&(null===r?r=ir:r.push(...ir))}return 0!==(e.f&P)&&(e.f^=P),u}catch(e){return Ce(e)}finally{e.f^=I,ar=t,or=n,ir=r,Kn=a,nr=o,G(i),Xn=l,sr=c}}function pr(e,t){let a=t.reactions;if(null!==a){var o=n.call(a,e);if(-1!==o){var i=a.length-1;0===i?a=t.reactions=null:(a[o]=a[i],a.pop())}}if(null===a&&2&t.f&&(null===ar||!r.call(ar,t))){var l=t;0!==(l.f&y)&&(l.f^=y,l.f&=-65537),Re(l),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(N),t.teardown=h,t.ac=null,gr(t,0),Nr(t))}(l),gr(l,0)}}function gr(e,t){var n=e.deps;if(null!==n)for(var r=t;r<n.length;r++)pr(e,n[r])}function br(e){var t=e.f;if(0===(t&$)){Oe(e,w);var n=er,r=Jn;er=e,Jn=!0;try{16777232&t?function(e){var t=e.first;for(;null!==t;){var n=t.next;0===(t.f&b)&&Mr(t),t=n}}(e):Nr(e),zr(e);var a=vr(e);e.teardown="function"==typeof a?a:null,e.wv=lr}finally{Jn=r,er=n}}}async function mr(){await Promise.resolve(),In()}function yr(e){var t=!!(2&e.f);if(null!==Kn&&!Xn&&!(null!==er&&0!==(er.f&$)||null!==nr&&r.call(nr,e))){var n=Kn.deps;if(0!==(Kn.f&I))e.rv<cr&&(e.rv=cr,null===ar&&null!==n&&n[or]===e?or++:null===ar?ar=[e]:ar.push(e));else{(Kn.deps??=[]).push(e);var a=e.reactions;null===a?e.reactions=[Kn]:r.call(a,Kn)||a.push(Kn)}}if(Yn&&Dn.has(e))return Dn.get(e);if(t){var o=e;if(Yn){var i=o.v;return(0===(o.f&w)&&null!==o.reactions||_r(o))&&(i=bt(o)),Dn.set(o,i),i}var l=0===(o.f&y)&&!Xn&&null!==Kn&&(Jn||0!==(Kn.f&y)),c=0===(o.f&C);fr(o)&&(l&&(o.f|=y),mt(o)),l&&!c&&(yt(o),wr(o))}if(xn?.has(e))return xn.get(e);if(0!==(e.f&P))throw e.v;return e.v}function wr(e){if(e.f|=y,null!==e.deps)for(const t of e.deps)(t.reactions??=[]).push(e),2&t.f&&0===(t.f&y)&&(yt(t),wr(t))}function _r(e){if(e.v===U)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Dn.has(t))return!0;if(2&t.f&&_r(t))return!0}return!1}function xr(e){var t=Xn;try{return Xn=!0,e()}finally{Xn=t}}function kr(e){null===er&&(null===Kn&&function(){throw new Error("https://svelte.dev/e/effect_orphan")}(),function(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}()),Yn&&function(){throw new Error("https://svelte.dev/e/effect_in_teardown")}()}function $r(e,t){var n=er;null!==n&&0!==(n.f&k)&&(e|=k);var r={ctx:H,deps:null,nodes:null,f:e|_|y,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},a=r;if(4&e)null!==En?En.push(r):An.ensure().schedule(r);else if(null!==t){try{br(r)}catch(e){throw Mr(r),e}null===a.deps&&null===a.teardown&&null===a.nodes&&a.first===a.last&&0===(a.f&R)&&(a=a.first,0!==(e&g)&&0!==(e&S)&&null!==a&&(a.f|=S))}if(null!==a&&(a.parent=n,null!==n&&function(e,t){var n=t.last;null===n?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}(a,n),null!==Kn&&2&Kn.f&&0===(e&m))){var o=Kn;(o.effects??=[]).push(a)}return r}function Cr(){return null!==Kn&&!Xn}function Er(e){const t=$r(8,null);return Oe(t,w),t.teardown=e,t}function Sr(e){kr();var t=er.f;if(!(!Kn&&0!==(t&b)&&0===(t&C)))return Or(e);var n=H;(n.e??=[]).push(e)}function Or(e){return $r(1048580,e)}function Rr(e){return $r(4,e)}function Ar(e,t=0){return $r(8|t,e)}function Ir(e,t=[],n=[],r=[]){wt(r,t,n,t=>{$r(8,()=>e(...t.map(yr)))})}function Pr(e,t=0){return $r(g|t,e)}function Lr(e,t=0){return $r(p|t,e)}function Tr(e){return $r(524320,e)}function zr(e){var t=e.teardown;if(null!==t){const e=Yn,n=Kn;Wn(!0),Qn(null);try{t.call(null)}finally{Wn(e),Qn(n)}}}function Nr(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){const e=n.ac;null!==e&&Ue(()=>{e.abort(N)});var r=n.next;0!==(n.f&m)?n.parent=null:Mr(n,t),n=r}}function Mr(e,t=!0){var n=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Vr(e.nodes.start,e.nodes.end),n=!0),Oe(e,E),Nr(e,t&&!n),gr(e,0);var r=e.nodes&&e.nodes.t;if(null!==r)for(const e of r)e.stop();zr(e),e.f^=E,e.f|=$;var a=e.parent;null!==a&&null!==a.first&&Dr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Vr(e,t){for(;null!==e;){var n=e===t?null:ye(e);e.remove(),e=n}}function Dr(e){var t=e.parent,n=e.prev,r=e.next;null!==n&&(n.next=r),null!==r&&(r.prev=n),null!==t&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function jr(e,t,n=!0){var r=[];Fr(e,r,!0);var a=()=>{n&&Mr(e),t&&t()},o=r.length;if(o>0){var i=()=>--o||a();for(var l of r)l.out(i)}else a()}function Fr(e,t,n){if(0===(e.f&k)){e.f^=k;var r=e.nodes&&e.nodes.t;if(null!==r)for(const e of r)(e.is_global||n)&&t.push(e);for(var a=e.first;null!==a;){var o=a.next;Fr(a,t,!!(0!==(a.f&S)||0!==(a.f&b)&&0!==(e.f&g))&&n),a=o}}}function Ur(e,t){if(0!==(e.f&k)){e.f^=k,0===(e.f&w)&&(Oe(e,_),An.ensure().schedule(e));for(var n=e.first;null!==n;){var r=n.next;Ur(n,!!(0!==(n.f&S)||0!==(n.f&b))&&t),n=r}var a=e.nodes&&e.nodes.t;if(null!==a)for(const e of a)(e.is_global||t)&&e.in()}}function qr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;null!==n;){var a=n===r?null:ye(n);t.append(n),n=a}}function Hr(e){const t={get:e=>bn(t.store)[e],set:(e,n)=>{"string"==typeof e?Object.assign(bn(t.store),{[e]:n}):Object.assign(bn(t.store),e),t.store.set(bn(t.store))},store:gn(e)};return t}globalThis.$altcha=globalThis.$altcha||{algorithms:new Map,defaults:Hr({}),i18n:Hr({}),instances:new Set,plugins:new Set};const Gr={ariaLinkLabel:"Visit Altcha.org",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/" target="_blank" aria-label="Visit Altcha.org">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."};"$altcha"in globalThis&&globalThis.$altcha.i18n.set("en",Gr);"undefined"!=typeof window&&((window.__svelte??={}).v??=new Set).add("5");var Br=tt('<label class="altcha-checkbox"><input/> <svg 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></label>');function Zr(e,t){B(t,!0);let n=cn(t,"loading"),r=ln(t,["$$slots","$$events","$$legacy","$$host","loading"]);var a={get loading(){return n()},set loading(e){n(e),In()}},o=Br();return Wt(we(o),()=>({type:"checkbox",...r}),void 0,void 0,void 0,0,!0),oe(4),ae(o),Ir(()=>Yt(o,"data-loading",n())),it(e,o),Z(a)}fn(Zr,{loading:{}},[],[],{mode:"open"});var Jr=tt('<div class="altcha-checkbox-native"><input/> <div class="altcha-spinner altcha-checkbox-native-spinner"></div></div>');function Yr(e,t){B(t,!0);let n=cn(t,"loading"),r=ln(t,["$$slots","$$events","$$legacy","$$host","loading"]);var a={get loading(){return n()},set loading(e){n(e),In()}},o=Jr();return Wt(we(o),()=>({type:"checkbox",...r}),void 0,void 0,void 0,0,!0),oe(2),ae(o),Ir(()=>Yt(o,"data-loading",n())),it(e,o),Z(a)}fn(Yr,{loading:{}},[],[],{mode:"open"});var Wr=tt('<div><a target="_blank" class="altcha-logo" aria-hidden="true"><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 Kr(e,t){B(t,!0);let n=cn(t,"strings");var r={get strings(){return n()},set strings(e){n(e),In()}},a=Wr(),o=we(a);return Yt(o,"href","https://altcha.org"),ae(a),Ir(()=>Yt(o,"aria-label",n().ariaLinkLabel)),it(e,a),Z(r)}fn(Kr,{strings:{}},[],[],{mode:"open"});var Xr=tt('<div class="altcha-footer"><div></div> <!></div>');function Qr(e,t){B(t,!0);let n=cn(t,"logo"),r=cn(t,"strings");var a={get logo(){return n()},set logo(e){n(e),In()},get strings(){return r()},set strings(e){r(e),In()}},o=Xr(),i=we(o);Et(i,()=>r().footer,!0),ae(i);var l=xe(i,2),c=e=>{Kr(e,{get strings(){return r()}})};return $t(l,e=>{n()&&e(c)}),ae(o),it(e,o),Z(a)}fn(Qr,{logo:{},strings:{}},[],[],{mode:"open"});var ea=tt('<label class="altcha-switch"><input/> <div class="altcha-switch-toggle"><div class="altcha-spinner altcha-switch-spinner"></div></div></label>');function ta(e,t){B(t,!0);let n=cn(t,"loading"),r=ln(t,["$$slots","$$events","$$legacy","$$host","loading"]);var a={get loading(){return n()},set loading(e){n(e),In()}},o=ea();return Wt(we(o),()=>({type:"checkbox",...r}),void 0,void 0,void 0,0,!0),oe(2),ae(o),Ir(()=>Yt(o,"data-loading",n())),it(e,o),Z(a)}fn(ta,{loading:{}},[],[],{mode:"open"});var na=(e=>(e.ERROR="error",e.LOADING="loading",e.PLAYING="playing",e.PAUSED="paused",e.READY="ready",e))(na||{}),ra=(e=>(e.CODE="code",e.ERROR="error",e.VERIFIED="verified",e.VERIFYING="verifying",e.UNVERIFIED="unverified",e.EXPIRED="expired",e))(ra||{}),aa=tt('<div class="altcha-code-challenge-title"> </div>'),oa=tt('<div class="altcha-spinner"></div>'),ia=rt('<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>'),la=rt('<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>'),ca=rt('<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>'),sa=tt('<button type="button" class="altcha-button altcha-button-secondary"><!></button>'),ua=tt('<audio hidden="" autoplay=""></audio>'),da=tt('<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 fa(e,t){B(t,!0);let n=cn(t,"audioUrl"),r=cn(t,"codeChallenge"),a=cn(t,"config"),o=cn(t,"imageUrl"),i=cn(t,"onCancel"),l=cn(t,"onReload"),c=cn(t,"onSubmit"),s=cn(t,"strings"),u=Un(void 0),d=Un(void 0),f=Un(void 0),h=Un(!1),v=Un(""),p=Un(!1);function g(){Hn(u,na.PAUSED,!0)}function b(e){Hn(u,na.ERROR,!0)}function m(){Hn(u,na.READY,!0)}function y(){Hn(u,na.LOADING,!0)}function w(){Hn(u,na.PLAYING,!0)}function _(){Hn(u,na.PAUSED,!0)}function x(){yr(d)?yr(u)===na.LOADING||(yr(d).paused?(n()&&yr(d).src!==n()&&(yr(d).src=n()),yr(d).currentTime=0,yr(d).play()):yr(d).pause()):(Hn(p,!0),requestAnimationFrame(()=>{yr(d)&&n()&&(yr(d).src=n(),yr(d).play())}))}hn(()=>(a().disableAutoFocus||mr().then(()=>{yr(f)?.focus()}),()=>{yr(d)&&(yr(d).pause(),Hn(d,void 0))}));var k={get audioUrl(){return n()},set audioUrl(e){n(e),In()},get codeChallenge(){return r()},set codeChallenge(e){r(e),In()},get config(){return a()},set config(e){a(e),In()},get imageUrl(){return o()},set imageUrl(e){o(e),In()},get onCancel(){return i()},set onCancel(e){i(e),In()},get onReload(){return l()},set onReload(e){l(e),In()},get onSubmit(){return c()},set onSubmit(e){c(e),In()},get strings(){return s()},set strings(e){s(e),In()}},$=da(),C=we($),E=we(C),S=e=>{var t=aa(),n=we(t,!0);ae(t),Ir(()=>ct(n,s().verificationRequired)),it(e,t)};$t(E,e=>{"standard"!==a().codeChallengeDisplay&&e(S)});var O=xe(E,2),R=we(O,!0);ae(O);var A=xe(O,2),I=xe(A,2),P=we(I);Zt(P),P.disabled=yr(h),an(P,e=>Hn(f,e),()=>yr(f));var L=xe(P,2),T=e=>{var t=sa(),n=we(t),r=e=>{it(e,oa())},a=e=>{it(e,ia())},o=e=>{it(e,la())},i=e=>{it(e,ca())};$t(n,e=>{yr(u)===na.LOADING?e(r):yr(u)===na.ERROR?e(a,1):yr(u)===na.PLAYING?e(o,2):e(i,-1)}),ae(t),Ir(()=>{Yt(t,"title",s().getAudioChallenge),t.disabled=yr(u)===na.LOADING||yr(u)===na.ERROR,Yt(t,"aria-label",yr(u)===na.LOADING?s().loading:s().getAudioChallenge)}),Je("click",t,()=>x()),it(e,t)};$t(L,e=>{r().audio&&e(T)});var z=xe(L,2);ae(I);var N=xe(I,2),M=we(N),V=we(M,!0);ae(M);var D=xe(M,2),j=we(D,!0);ae(D),ae(N),ae(C);var F=xe(C,2),U=e=>{var t=ua();an(t,e=>Hn(d,e),()=>yr(d)),Ze("error",t,b),Ze("loadstart",t,y),Ze("canplay",t,m),Ze("pause",t,_),Ze("playing",t,w),Ze("ended",t,g),it(e,t)};return $t(F,e=>{yr(p)&&e(U)}),ae($),Ir(()=>{ct(R,s().enterCodeFromImage),Yt(A,"src",o()),Yt(P,"minlength",r().length||1),Yt(P,"maxlength",r().length),Yt(P,"placeholder",s().enterCode),Yt(P,"aria-label",yr(u)===na.LOADING?s().loading:yr(u)===na.PLAYING?"":s().enterCodeAria),Yt(P,"aria-live",yr(u)?"assertive":"polite"),Yt(P,"aria-busy",yr(u)===na.LOADING),Yt(z,"title",s().reload),Yt(z,"aria-label",s().reload),Yt(M,"aria-label",s().verify),ct(V,s().verify),Yt(D,"aria-label",s().cancel),ct(j,s().cancel)}),Ze("submit",C,function(e){e.preventDefault(),e.stopPropagation(),c()?.(yr(v))},!0),Je("keydown",P,function(e){"Space"===e.code?(e.preventDefault(),e.stopPropagation(),x()):"Escape"===e.code&&(e.preventDefault(),e.stopPropagation(),i()?.())}),en(P,()=>yr(v),e=>Hn(v,e)),Je("click",z,()=>l()?.()),Je("click",D,()=>i()?.()),it(e,$),Z(k)}Ye(["keydown","click"]),fn(fa,{audioUrl:{},codeChallenge:{},config:{},imageUrl:{},onCancel:{},onReload:{},onSubmit:{},strings:{}},[],[],{mode:"open"});var ha=tt('<div class="altcha-popover-backdrop" data-backdrop=""></div>'),va=tt('<div class="altcha-popover-arrow"></div>'),pa=tt('<div role="button" class="altcha-popover-close">×</div>'),ga=tt('<!> <div><!> <!> <div class="altcha-popover-content"><!></div></div>',1);function ba(e,t){B(t,!0);let n=cn(t,"anchor"),r=cn(t,"children"),a=cn(t,"display",0,"standard"),o=cn(t,"backdrop",0,!1),i=cn(t,"onClickOutside"),l=cn(t,"onClickOutsideDelay",0,600),c=cn(t,"onClose"),s=cn(t,"variant",0,"neutral"),u=ln(t,["$$slots","$$events","$$legacy","$$host","anchor","children","display","backdrop","onClickOutside","onClickOutsideDelay","onClose","variant"]),d=Un(void 0),f=Un(void 0),v=Un(!1),p=Un(0);function g(){c()?.()}function b(){if(n()&&yr(d)){const e=n().getBoundingClientRect(),t=document.documentElement.clientHeight-(e.top+e.height)<yr(d).clientHeight;yr(v)!==t&&Hn(v,t)}}hn(()=>{const e="bottomsheet"===a()||"overlay"===a();return e&&(yr(f)&&document.body.append(yr(f)),yr(d)&&document.body.append(yr(d))),b(),mr().then(()=>{Hn(p,Date.now(),!0)}),()=>{e&&(yr(f)&&document.body.removeChild(yr(f)),yr(d)&&document.body.removeChild(yr(d)))}});var m={get anchor(){return n()},set anchor(e){n(e),In()},get children(){return r()},set children(e){r(e),In()},get display(){return a()},set display(e="standard"){a(e),In()},get backdrop(){return o()},set backdrop(e=!1){o(e),In()},get onClickOutside(){return i()},set onClickOutside(e){i(e),In()},get onClickOutsideDelay(){return l()},set onClickOutsideDelay(e=600){l(e),In()},get onClose(){return c()},set onClose(e){c(e),In()},get variant(){return s()},set variant(e="neutral"){s(e),In()}},y=ga();Ze("click",de,function(e){const t=e.target;!yr(d)?.contains(t)&&yr(p)&&yr(p)+l()<Date.now()&&i()?.()}),Ze("resize",de,function(){b()}),Ze("scroll",de,function(){b()});var w=_e(y),_=e=>{var t=ha();an(t,e=>Hn(f,e),()=>yr(f)),it(e,t)};$t(w,e=>{o()&&e(_)});var x=xe(w,2);Wt(x,()=>({...u,class:`altcha-popover ${(t.class||"")??""}`,"data-popover":!0,"data-variant":s(),"data-top":yr(v),"data-display":a()}));var k=we(x),$=e=>{it(e,va())};$t(k,e=>{"standard"===a()&&e($)});var C=xe(k,2),E=e=>{var t=pa();Je("click",t,g),it(e,t)};$t(C,e=>{"standard"!==a()&&e(E)});var O=xe(C,2);return function(e,t,...n){var r=new kt(e);Pr(()=>{const e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},S)}(we(O),()=>r()??h),ae(O),ae(x),an(x,e=>Hn(d,e),()=>yr(d)),it(e,y),Z(m)}async function ma(e){const{challenge:t,concurrency:n=navigator.hardwareConcurrency,controller:r=new AbortController,createWorker:a,onOutOfMemory:o=e=>e>1?Math.floor(e/2):0,counterMode:i}=e,l=Math.min(16,Math.max(1,n)),c=[],s=()=>{for(const e of c)e.terminate()};for(let e=0;e<l;e++)c.push(await a(t.parameters.algorithm));let u=null;try{u=await Promise.race(c.map((e,n)=>(r.signal.addEventListener("abort",()=>{e.postMessage({type:"abort"})}),new Promise((r,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))}r(t.data)}),e.postMessage({challenge:t,counterMode:i,counterStart:n,counterStep:l,type:"work"})}))))}catch(n){if(n instanceof Error&&!!n?.message?.includes("Out of memory")&&o){s();const n=o(l);if(n)return ma({...e,challenge:t,controller:r,concurrency:n,createWorker:a})}throw n}finally{s()}return r.signal.aborted?null:u||null}Ye(["click"]),fn(ba,{anchor:{},children:{},display:{},backdrop:{},onClickOutside:{},onClickOutsideDelay:{},onClose:{},variant:{}},[],[],{mode:"open"});var ya=tt('<div class="altcha-overlay-backdrop" data-backdrop=""></div>'),wa=tt('<div class="altcha-overlay-content"></div>'),_a=tt('<div role="button" class="altcha-overlay-close">×</div> <!>',1),xa=tt('<div class="altcha-floating-arrow"></div>'),ka=tt('<input type="hidden"/>'),$a=tt('<div class="altcha-error">Secure context (HTTPS) required.</div>'),Ca=tt('<div class="altcha-error"> </div>'),Ea=tt('<div class="altcha-error"> </div>'),Sa=tt("<!> <!>",1),Oa=tt('<!> <div class="altcha"><!> <div class="altcha-main"><div><div class="altcha-checkbox-wrap"><!> <label><!></label></div> <!></div> <!> <!> <!></div> <!></div>',1);Ye(["click"]),"undefined"!=typeof window&&window.customElements&&customElements.define("altcha-widget",fn(function(e,t){B(t,!0);const[n,r]=function(){const e={};return[e,function(){Er(()=>{for(var t in e)e[t].unsubscribe();i(e,mn,{enumerable:!1,value:!0})})}]}(),a=["ar","fa","he","ur"],{isSecureContext:o}=globalThis,{store:l}=globalThis.$altcha.defaults,c=navigator.hardwareConcurrency||2,s=navigator.deviceMemory||0,u=s&&s<=4?Math.min(4,c):c,d=globalThis.$altcha.i18n.store,f=t.$$host,h=(e,t)=>{mr().then(()=>{f?.dispatchEvent(new CustomEvent(e,{detail:t}))})};let v=Un(ce(new URL(location.origin))),p=Un(!1),g=Un(null),b=Un(null),m=Un(ce(ra.UNVERIFIED)),y=Un(void 0),w=Un(void 0),_=Un(null),x=Un(void 0),k=Un(null),$=Un(null),C=Un(null),E=Un(null),O=Un(ce([])),R=Un(ce({})),A=Un(!0);const I=gt(()=>({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,language:"",mockError:!1,minDuration:500,overlayContent:"",name:"altcha",retryOnOutOfMemoryError:!0,setCookie:null,serverVerificationFields:!1,serverVerificationTimeZone:!1,test:!1,type:"checkbox",validationMessage:"",verifyFunction:null,verifyUrl:"",workers:u,...yn(l,"$altchaDefaults",n),...yr(R)})),P=gt(()=>`altcha-checkbox-${t.id||Math.floor(1e12*Math.random()).toString(16)}`),L=gt(()=>function(e){switch(e){case"checkbox":return Zr;case"switch":return ta;default:return Yr}}(yr(I).type)),T=gt(()=>yr(m)===ra.VERIFYING),z=gt(()=>!yr(I).hideFooter),N=gt(()=>!yr(I).hideLogo&&"bar"!==yr(I).display),M=gt(()=>function(e,t){const n=Object.keys(e).map(e=>e.toLowerCase());let r=t.reduce((t,r)=>(r=r.toLowerCase(),t||(e[r]?r:null)||n.find(e=>r.split("-")[0]===e.split("-")[0])||null),null);e[r||""]||(r="en");return{language:r,strings:e[r]}}(yn(d,"$altchaI18nStore",n),[yr(I).language,document.documentElement.lang,...navigator.languages])),V=gt(()=>a.includes(yr(M).language)?"rtl":void 0),D=gt(()=>({...yr(M).strings})),j=gt(()=>yr(g)?.audio?.match(/^(https?:)?\//)?Y(yr(g).audio,yr(v),{language:yr(I).audioChallengeLanguage||yr(M).language}).toString():yr(g)?.audio),F=gt(()=>yr(g)?.image?.match(/^(https?:)?\//)?Y(yr(g).image,yr(v)):yr(g)?.image);async function U(e,...t){let n;for(const r of yr(O))n=await r[e].call(r,...t);return n}async function q(e){await new Promise(t=>setTimeout(t,e))}async function H(e=yr(I).challenge){const t=await U("onFetchChallenge",e);if(void 0!==t)return t;if("string"==typeof e){let t=null;if(e.match(/^(https?:)?\//)){ye("fetching challenge from",e),Hn(v,new URL(e,location.origin),!0);const n=await yr(I).fetch(e,{credentials:yr(I).credentials||void 0});pe(n);const r=n.headers.get("x-altcha-config");r&&function(e){try{const t=JSON.parse(e);t&&"object"==typeof t&&be({serverVerificationFields:t?.sentinel?.fields,serverVerificationTimeZone:t?.sentinel?.timeZone,verifyUrl:t.verifyurl,...t})}catch(e){ye("unable to configure from x-altcha-config header",e)}}(r),t=await n.json()}else{ye("parsing JSON challenge");try{t=JSON.parse(e)}catch{throw new Error("Unable to parse JSON challenge.")}}if("object"==typeof t&&"challenge"in t&&(t=function(e){const[t,n]=e.salt.split("?"),r={};if(n)try{Object.assign(r,Object.fromEntries(new URLSearchParams(n).entries()))}catch{}const a={codeChallenge:e.codeChallenge,parameters:{algorithm:e.algorithm,cost:1,data:r,expiresAt:r?.expires?parseInt(r.expires,10):void 0,keyLength:"SHA-512"===e.algorithm?64:"SHA-384"===e.algorithm?48:32,nonce:(o=(new TextEncoder).encode(e.salt),Array.from(new Uint8Array(o)).map(e=>e.toString(16).padStart(2,"0")).join("")),keyPrefix:e.challenge,salt:""},signature:e.signature};var o;return Object.defineProperties(a,{_originalSalt:{enumerable:!1,value:e.salt,writable:!1},_version:{enumerable:!1,value:1,writable:!1}}),a}(t)),!function(e){return!!e&&"object"==typeof e&&"parameters"in e&&"signature"in e&&!!e.parameters&&"object"==typeof e.parameters&&"algorithm"in e.parameters&&"nonce"in e.parameters&&"salt"in e.parameters&&"keyPrefix"in e.parameters}(t))throw new Error("Challenge validation failed.");return t}return e&&"object"==typeof e?JSON.parse(JSON.stringify(e)):null}function G(){return document.getElementById(yr(P))}function J(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Y(e,t,n){const r=new URL(e,t);if(r.search||(r.search=t.search),n)for(const e in n)void 0!==n[e]&&null!==n[e]&&r.searchParams.set(e,n[e]);return r.toString()}function W(e){!yr(p)&&e.currentTarget.checked?(e.preventDefault(),e.currentTarget.checked=!1,yr(m)!==ra.VERIFYING&&Se()):e.currentTarget.checked||(e.preventDefault(),ke())}function K(e){yr(m)===ra.VERIFYING?e.currentTarget.setCustomValidity(yr(D).waitAlert):yr(I).validationMessage&&e.currentTarget.setCustomValidity(yr(I).validationMessage)}function X(){yr(b)&&yr(b).abort(),ve(yr(I).display),ke()}function oe(e){"onfocus"===yr(I).auto&&yr(m)===ra.UNVERIFIED&&Se()}function se(){yr(b)&&yr(b).abort(),ve(yr(I).display),ke()}function ue(e){Hn(k,e.submitter,!0),"onsubmit"===yr(I).auto&&yr(m)===ra.UNVERIFIED&&(e.preventDefault(),e.stopPropagation(),Ce(),Se().then(e=>{e&&!yr(g)&&mr().then(()=>{he(yr(k))})}))}function he(e){yr(_)&&"requestSubmit"in yr(_)?yr(_).requestSubmit(e):yr(_)?.reportValidity()&&(e?e.click():yr(_).submit())}function ve(e){switch(e){case"bar":case"floating":case"overlay":me(),yr(I).auto&&"off"!==yr(I).auto||(yr(R).auto="onsubmit");break;case"standard":Ce()}}function pe(e){if(e.status>=400)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 invalid content-type. Expected application/json, received ${t}.`)}async function ge(e){if(!yr(E))return void $e(ra.ERROR,"Cannot verify code challenge without PoW payload.");$e(ra.VERIFYING);let t=null;if(yr(I).verifyUrl)t=await async function(e,t){const n=await U("onRequestServerVerification",e,t);if(void 0!==n)return n;if(ye("requesting server verification from",yr(I).verifyUrl),!yr(I).verifyUrl)throw new Error("Parameter verifyUrl must be set for server verification.");const r=await yr(I).fetch(Y(yr(I).verifyUrl,yr(v)),{body:JSON.stringify({code:t,fields:yr(I).serverVerificationFields?[...yr(_)?.querySelectorAll('input[type="text"]:not([data-no-spamfilter]), textarea:not([data-no-spamfilter])')||[]].reduce((e,t)=>{const n=t.name,r=t.value;return n&&r&&(e[n]=/\n/.test(r)?r.replace(new RegExp("(?<!\\r)\\n","g"),"\r\n"):r),e},{}):void 0,payload:e,timeZone:yr(I).serverVerificationTimeZone?J():void 0}),credentials:yr(I).credentials||void 0,headers:{"Content-Type":"application/json"},method:"POST"});pe(r);const a=await r.json();return a&&"object"==typeof a&&"payload"in a&&a.payload&&h("serververification",a),a}(yr(E),e);else{if(!yr(I).verifyFunction)return void $e(ra.ERROR,"Parameter verifyUrl is required for code challenge verification.");t=await yr(I).verifyFunction(yr(E),e)}t?.payload&&(Hn(E,t.payload,!0),ye("server payload",yr(E))),!0===t?.verified?(ye("verified"),$e(ra.VERIFIED),h("verified",{payload:yr(E)}),"onsubmit"===yr(I).auto&&mr().then(()=>{he(yr(k))})):$e(ra.ERROR,t?.reason||"Verification failed."),yr(I).disableAutoFocus||G()?.focus()}function be(e){Object.assign(yr(R),{...Object.fromEntries(Object.entries(e).filter(([e,t])=>void 0!==t))})}function me(){Hn(A,!1)}function ye(...e){(yr(I).debug||e.some(e=>e instanceof Error))&&console[e[0]instanceof Error?"error":"log"]("ALTCHA",`[name=${yr(I).name}]`,...e)}function ke(e=ra.UNVERIFIED,t=null){Hn(p,!1),Hn($,t,!0),Hn(E,null),yr(C)&&(clearTimeout(yr(C)),Hn(C,null)),$e(e)}function $e(e,t=null){Hn(m,e,!0),Hn($,t,!0),h("statechange",{payload:yr(E),state:yr(m)})}function Ce(){Hn(A,!0),mr().then(()=>{Ee()})}function Ee(){if("floating"===yr(I).display)return function(e=20){if(!yr(x))return;const t=yr(I).floatingPlacement;if(!yr(w)&&(Hn(w,(yr(I).floatingAnchor instanceof HTMLElement?yr(I).floatingAnchor:yr(I).floatingAnchor?document.querySelector(yr(I).floatingAnchor):yr(_)?.querySelector('input[type="submit"], button[type="submit"], button:not([type="button"]):not([type="reset"])'))||yr(_),!0),!yr(w)))return void ye("unable to find floating anchor element");const n=parseInt(yr(I).floatingOffset,10)||12,r=yr(w).getBoundingClientRect(),a=yr(x).getBoundingClientRect(),o=document.documentElement.clientHeight,i=document.documentElement.clientWidth,l=t&&"auto"!==t?"top"===t:r.bottom+a.height+n+e>o,c=Math.max(e,Math.min(i-e-a.width,r.left+r.width/2-a.width/2));if(yr(x).style.setProperty("--altcha-floating-left",`${c}px`),yr(x).style.setProperty("--altcha-floating-top",l?r.top-(a.height+n)+"px":`${r.bottom+n}px`),yr(x).setAttribute("data-floating-position",l?"top":"bottom"),yr(y)){const e=yr(y).getBoundingClientRect();yr(y).style.left=r.left-c+r.width/2-e.width/2+"px"}}()}async function Se(e={}){const{concurrency:t=Math.max(1,yr(I).workers),controller:n=new AbortController,minDuration:r=yr(I).minDuration}=e,a=performance.now();let i=null,l=null,c=!1;const s=await U("onVerify",e);if(void 0!==s)return s;Hn(b,n,!0),ke(ra.VERIFYING);try{if(!o)throw new Error("Secure context (HTTPS) required.");if(yr(I).mockError)throw new Error("Mock error.");if(yr(I).test)return ye("running test mode with null challenge"),await q(Math.max(0,r-(performance.now()-a))),Hn(E,btoa(JSON.stringify({challenge:null,solution:null,test:!0})),!0),ye("verified"),$e(ra.VERIFIED),h("vefified",{payload:yr(E)}),{payload:yr(E)};if(i=await H(),!i)throw new Error("Failed to fetch challenge.");ye("challenge",i),"configuration"in i&&(ye("re-configuring from challenge",i.configuration),be(i.configuration)),i.parameters.expiresAt&&function(e){yr(C)&&clearTimeout(yr(C));const t=()=>{yr(m)!==ra.UNVERIFIED?(Hn(p,!1),$e(ra.EXPIRED)):ke(),h("expired")},n=1e3*e-Date.now();n>=1?Hn(C,setTimeout(t,n),!0):t()}(i.parameters.expiresAt),c="_version"in i&&1===i._version;const e=globalThis.$altcha.algorithms.get(i.parameters.algorithm);if(!e)throw new Error(`Unsupported algorithm ${i.parameters.algorithm}.`);if(l=await ma({challenge:i,concurrency:t,controller:n,createWorker:e,counterMode:c?"string":"uint32",onOutOfMemory:e=>{if(ye("out of memory error received"),h("outofmemory"),yr(I).retryOnOutOfMemoryError&&e>1){const t=Math.floor(e/2);return ye(`retrying with ${t} workers...`),t}}}),yr(b)?.signal.aborted)return ke(),null;if(!l)throw new Error("Failed to find solution.");ye("solution",l),await q(Math.max(0,r-(performance.now()-a))),Hn(g,i.codeChallenge||yr(I).codeChallenge||null,!0),Hn(E,c?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}}(i,l))):btoa(JSON.stringify({challenge:{...i,codeChallenge:void 0},solution:l})),!0),yr(g)?(ye("requesting code verification"),$e(ra.CODE),h("codechallenge",{codeChallenge:yr(g)})):yr(I).verifyUrl?await ge():(ye("verified"),$e(ra.VERIFIED),h("vefified",{payload:yr(E)}))}catch(e){return ye("verification failed",e),$e(ra.ERROR,String(e)),null}finally{Hn(b,null)}return{challenge:i,payload:yr(E),solution:l}}Sr(()=>{be({auto:t.auto,challenge:t.challenge,display:t.display,language:t.language,name:t.name,type:t.type,workers:t.workers})}),Sr(()=>{if(t.configuration)try{be(JSON.parse(t.configuration))}catch{ye("unable to parse the `configuration` attribute (JSON expected)")}}),Sr(()=>{ve(yr(I).display)}),Sr(()=>{yr(p)&&yr(m)===ra.VERIFYING&&Hn(p,!1)}),Sr(()=>{yr(p)||yr(m)!==ra.VERIFIED||Hn(p,!0)}),Sr(()=>{if(!yr(p)){const e=G();e&&e.checked&&(e.checked=!1)}}),Sr(()=>{yr(m)===ra.VERIFIED&&G()?.setCustomValidity("")}),Sr(()=>{if("onload"===yr(I).auto){const e=setTimeout(()=>{Se()},1);return()=>{e&&clearTimeout(e)}}}),Sr(()=>{yr($)&&ye("error:",yr($))}),Sr(()=>{yr(E)&&yr(I).setCookie&&function(e,t={}){const{domain:n,name:r=yr(I).name,maxAge:a,path:o,sameSite:i,secure:l}=t;let c=`${encodeURIComponent(r)}=${encodeURIComponent(e)}`;n&&(c+=`; Domain=${n}`);null!=a&&(c+=`; Max-Age=${a}`);o&&(c+=`; Path=${o}`);i&&(c+=`; SameSite=${i}`);l&&(c+="; Secure");document.cookie=c}(yr(E),yr(I).setCookie)}),hn(()=>(ye("mounted","3.0.0-beta.2"),f&&globalThis.$altcha.instances.add(f),Hn(_,yr(x)?.closest("form"),!0),yr(_)?.addEventListener("reset",se),yr(_)?.addEventListener("submit",ue),yr(_)?.addEventListener("focusin",oe),function(){Hn(O,[...globalThis.$altcha.plugins].map(e=>new e(f)),!0),ye("activating plugins",yr(O).map(e=>e.constructor.name));for(const e of yr(O))e.activate()}(),h("load"),o||ye("secure context (HTTPS) required"),()=>{!function(){for(const e of yr(O))e.destroy()}(),f&&globalThis.$altcha.instances.delete(f),yr(C)&&clearTimeout(yr(C)),yr(_)?.removeEventListener("reset",se),yr(_)?.removeEventListener("submit",ue),yr(_)?.removeEventListener("focusin",oe)}));var Oe={configure:be,getConfiguration:function(){return{...yr(I)}},getState:function(){return yr(m)},hide:me,log:ye,reset:ke,setState:$e,show:Ce,updateUI:Ee,verify:Se},Re=Oa();Ze("scroll",fe,function(){Ee()}),Ze("click",fe,function(e){const t=e.target;"floating"!==yr(I).display||!t||f?.contains(t)||t.hasAttribute("data-backdrop")||t.closest("[data-popover]")||yr(m)===ra.VERIFIED||yr(I).floatingPersist||me()}),Ze("pageshow",de,function(){ke()}),Ze("resize",de,function(){Ee()});var Ae=_e(Re),Ie=e=>{it(e,ya())};$t(Ae,e=>{"overlay"===yr(I).display&&yr(A)&&e(Ie)});var Pe=xe(Ae,2),Le=we(Pe),Te=e=>{var t=_a(),n=_e(t),r=xe(n,2),a=e=>{var t=wa();Et(t,()=>document.querySelector(yr(I).overlayContent)?.innerHTML,!0),ae(t),it(e,t)};$t(r,e=>{yr(I).overlayContent&&e(a)}),Je("click",n,X),it(e,t)};$t(Le,e=>{"overlay"===yr(I).display&&yr(A)&&e(Te)});var ze=xe(Le,2),Ne=we(ze),Me=we(Ne),Ve=we(Me);{let e=gt(()=>"standard"===yr(I).display&&"onsubmit"!==yr(I).auto||yr(m)===ra.VERIFYING);!function(e,t,n){var r;ee&&(r=Q,re());var a=new kt(e);Pr(()=>{var e=t()??null;if(ee&&"["===le(r)!=(null!==e)){var o=ie();return ne(o),a.anchor=o,te(!1),a.ensure(e,e&&(t=>n(t,e))),void te(!0)}a.ensure(e,e&&(t=>n(t,e)))},S)}(Ve,()=>yr(L),(t,n)=>{n(t,{get id(){return yr(P)},name:"",get required(){return yr(e)},get loading(){return yr(T)},get checked(){return yr(p)},onchange:W,oninvalid:K})})}var De=xe(Ve,2),je=we(De),Fe=e=>{var t=at();Ir(()=>ct(t,yr(D).verificationRequired)),it(e,t)},Ue=e=>{var t=at();Ir(()=>ct(t,yr(D).verifying)),it(e,t)},qe=e=>{var t=at();Ir(()=>ct(t,yr(D).verified)),it(e,t)},He=e=>{var t=at();Ir(()=>ct(t,yr(D).label)),it(e,t)};$t(je,e=>{yr(m)===ra.CODE&&yr(g)?e(Fe):yr(m)===ra.VERIFYING?e(Ue,1):yr(m)===ra.VERIFIED?e(qe,2):e(He,-1)}),ae(De),ae(Me);var Ge=xe(Me,2),Be=e=>{Kr(e,{get strings(){return yr(D)}})};$t(Ge,e=>{yr(N)&&e(Be)}),ae(Ne);var Ye=xe(Ne,2),We=e=>{{let t=gt(()=>"bar"===yr(I).display&&yr(N));Qr(e,{get logo(){return yr(t)},get strings(){return yr(D)}})}};$t(Ye,e=>{yr(z)&&e(We)});var Ke=xe(Ye,2),Xe=e=>{var t=xa();an(t,e=>Hn(y,e),()=>yr(y)),it(e,t)};$t(Ke,e=>{"floating"===yr(I).display&&e(Xe)});var Qe=xe(Ke,2),et=e=>{var t=ka();Zt(t),Ir(()=>{var e,n,r;Yt(t,"name",yr(I).name),e=t,n=yr(E),(r=Kt(e)).value!==(r.value=n??void 0)&&(e.value!==n||0===n&&e.nodeName===Bt)&&(e.value=n??"")}),it(e,t)};$t(Qe,e=>{yr(I).setCookie||e(et)}),ae(ze);var tt=xe(ze,2),nt=e=>{ba(e,{get anchor(){return yr(x)},onClickOutside:()=>{o&&ke()},role:"alert",variant:"error",get dir(){return yr(V)},children:(e,t)=>{var n=ot(),r=_e(n),a=e=>{it(e,$a())},i=e=>{var t=Ca(),n=we(t,!0);ae(t),Ir(()=>ct(n,yr(D).expired)),it(e,t)},l=e=>{var t=Ea(),n=we(t,!0);ae(t),Ir(()=>{Yt(t,"title",yr($)),ct(n,yr(D).error)}),it(e,t)};$t(r,e=>{yr($)||o?yr($)||yr(m)!==ra.EXPIRED?e(l,-1):e(i,1):e(a)}),it(e,n)},$$slots:{default:!0}})},rt=e=>{var t=ot();!function(e,t,n){ee&&re();var r=new kt(e);Pr(()=>{var e=t();e!=e&&(e=Ct),r.ensure(e,n)})}(_e(t),()=>yr(g),e=>{{let t=gt(()=>"standard"!==yr(I).codeChallengeDisplay);ba(e,{get anchor(){return yr(x)},get backdrop(){return yr(t)},get display(){return yr(I).codeChallengeDisplay},onClose:()=>{ke()},role:"dialog",get"aria-label"(){return yr(D).verificationRequired},get dir(){return yr(V)},children:(e,t)=>{var n=Sa(),r=_e(n);fa(r,{get audioUrl(){return yr(j)},get imageUrl(){return yr(F)},onCancel:()=>ke(),onReload:()=>Se(),onSubmit:e=>ge(e),get codeChallenge(){return yr(g)},get config(){return yr(I)},get strings(){return yr(D)}});var a=xe(r,2),o=e=>{Qr(e,{get logo(){return yr(N)},get strings(){return yr(D)}})};$t(a,e=>{yr(z)&&"standard"!==yr(I).codeChallengeDisplay&&e(o)}),it(e,n)},$$slots:{default:!0}})}}),it(e,t)};$t(tt,e=>{yr($)||yr(m)===ra.EXPIRED||!o?e(nt):yr(g)&&yr(m)===ra.CODE&&e(rt,1)}),ae(Pe),an(Pe,e=>Hn(x,e),()=>yr(x)),Ir(e=>{Yt(Pe,"data-state",yr(m)),Yt(Pe,"data-display",yr(I).display||void 0),Yt(Pe,"data-placement",e),Yt(Pe,"data-visible",yr(A)||void 0),Yt(Pe,"dir",yr(V)),Yt(De,"for",yr(P)),Pe.dir=Pe.dir},[()=>function(e){switch(e){case"bar":return yr(I).barPlacement||"bottom";case"floating":return yr(I).floatingPlacement||"auto";default:return}}(yr(I).display)]),it(e,Re);var lt=Z(Oe);return r(),lt},{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"]))});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/external'; export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/419'; export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/af'; export {};
|
package/dist/i18n/af.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const i18n = {
|
|
2
|
+
ariaLinkLabel: "Besoek Altcha.org",
|
|
3
|
+
enterCode: "Voer kode in",
|
|
4
|
+
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
|
5
|
+
error: "Verifikasie het misluk. Probeer later weer.",
|
|
6
|
+
expired: "Verifikasie het verval. Probeer weer.",
|
|
7
|
+
footer: 'Beskerm deur <a href="https://altcha.org/" target="_blank" aria-label="Besoek Altcha.org">ALTCHA</a>',
|
|
8
|
+
getAudioChallenge: "Kry 'n klankuitdaging",
|
|
9
|
+
label: "Ek is nie 'n robot nie",
|
|
10
|
+
loading: "Laai...",
|
|
11
|
+
reload: "Laai weer",
|
|
12
|
+
verify: "Verifieer",
|
|
13
|
+
verificationRequired: "Verifikasie is vereis!",
|
|
14
|
+
verified: "Geverifieer",
|
|
15
|
+
verifying: "Verifieer...",
|
|
16
|
+
waitAlert: "Verifieer... wag asseblief.",
|
|
17
|
+
cancel: "Kanselleer",
|
|
18
|
+
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
|
19
|
+
};
|
|
20
|
+
if ("$altcha" in globalThis) {
|
|
21
|
+
globalThis.$altcha.i18n.set("af", i18n);
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
(function(factory) {
|
|
2
|
+
typeof define === "function" && define.amd ? define(factory) : factory();
|
|
3
|
+
})((function() {
|
|
4
|
+
"use strict";
|
|
5
|
+
const i18n = {
|
|
6
|
+
ariaLinkLabel: "Besoek Altcha.org",
|
|
7
|
+
enterCode: "Voer kode in",
|
|
8
|
+
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
|
9
|
+
error: "Verifikasie het misluk. Probeer later weer.",
|
|
10
|
+
expired: "Verifikasie het verval. Probeer weer.",
|
|
11
|
+
footer: 'Beskerm deur <a href="https://altcha.org/" target="_blank" aria-label="Besoek Altcha.org">ALTCHA</a>',
|
|
12
|
+
getAudioChallenge: "Kry 'n klankuitdaging",
|
|
13
|
+
label: "Ek is nie 'n robot nie",
|
|
14
|
+
loading: "Laai...",
|
|
15
|
+
reload: "Laai weer",
|
|
16
|
+
verify: "Verifieer",
|
|
17
|
+
verificationRequired: "Verifikasie is vereis!",
|
|
18
|
+
verified: "Geverifieer",
|
|
19
|
+
verifying: "Verifieer...",
|
|
20
|
+
waitAlert: "Verifieer... wag asseblief.",
|
|
21
|
+
cancel: "Kanselleer",
|
|
22
|
+
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
|
23
|
+
};
|
|
24
|
+
if ("$altcha" in globalThis) {
|
|
25
|
+
globalThis.$altcha.i18n.set("af", i18n);
|
|
26
|
+
}
|
|
27
|
+
}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/africa'; export {};
|
|
@@ -1,77 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
};
|
|
3
|
-
function g(e, i) {
|
|
4
|
-
return e != e ? i == i : e !== i || e !== null && typeof e == "object" || typeof e == "function";
|
|
5
|
-
}
|
|
6
|
-
let u = !1;
|
|
7
|
-
function b(e) {
|
|
8
|
-
var i = u;
|
|
9
|
-
try {
|
|
10
|
-
return u = !0, e();
|
|
11
|
-
} finally {
|
|
12
|
-
u = i;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function A(e, i, r) {
|
|
16
|
-
if (e == null)
|
|
17
|
-
return i(void 0), l;
|
|
18
|
-
const t = b(
|
|
19
|
-
() => e.subscribe(
|
|
20
|
-
i,
|
|
21
|
-
// @ts-expect-error
|
|
22
|
-
r
|
|
23
|
-
)
|
|
24
|
-
);
|
|
25
|
-
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
26
|
-
}
|
|
27
|
-
const n = [];
|
|
28
|
-
function k(e, i = l) {
|
|
29
|
-
let r = null;
|
|
30
|
-
const t = /* @__PURE__ */ new Set();
|
|
31
|
-
function s(o) {
|
|
32
|
-
if (g(e, o) && (e = o, r)) {
|
|
33
|
-
const c = !n.length;
|
|
34
|
-
for (const a of t)
|
|
35
|
-
a[1](), n.push(a, e);
|
|
36
|
-
if (c) {
|
|
37
|
-
for (let a = 0; a < n.length; a += 2)
|
|
38
|
-
n[a][0](n[a + 1]);
|
|
39
|
-
n.length = 0;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
function h(o) {
|
|
44
|
-
s(o(
|
|
45
|
-
/** @type {T} */
|
|
46
|
-
e
|
|
47
|
-
));
|
|
48
|
-
}
|
|
49
|
-
function f(o, c = l) {
|
|
50
|
-
const a = [o, c];
|
|
51
|
-
return t.add(a), t.size === 1 && (r = i(s, h) || l), o(
|
|
52
|
-
/** @type {T} */
|
|
53
|
-
e
|
|
54
|
-
), () => {
|
|
55
|
-
t.delete(a), t.size === 0 && r && (r(), r = null);
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
return { set: s, update: h, subscribe: f };
|
|
59
|
-
}
|
|
60
|
-
function d(e) {
|
|
61
|
-
let i;
|
|
62
|
-
return A(e, (r) => i = r)(), i;
|
|
63
|
-
}
|
|
64
|
-
globalThis.altchaPlugins = globalThis.altchaPlugins || [];
|
|
65
|
-
globalThis.altchaI18n = globalThis.altchaI18n || {
|
|
66
|
-
get: (e) => d(globalThis.altchaI18n.store)[e],
|
|
67
|
-
set: (e, i) => {
|
|
68
|
-
Object.assign(d(globalThis.altchaI18n.store), {
|
|
69
|
-
[e]: i
|
|
70
|
-
}), globalThis.altchaI18n.store.set(d(globalThis.altchaI18n.store));
|
|
71
|
-
},
|
|
72
|
-
store: k({})
|
|
73
|
-
};
|
|
74
|
-
const p = {
|
|
1
|
+
const i18n$6 = {
|
|
75
2
|
ariaLinkLabel: "Besoek Altcha.org",
|
|
76
3
|
enterCode: "Voer kode in",
|
|
77
4
|
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
|
@@ -86,10 +13,14 @@ const p = {
|
|
|
86
13
|
verificationRequired: "Verifikasie is vereis!",
|
|
87
14
|
verified: "Geverifieer",
|
|
88
15
|
verifying: "Verifieer...",
|
|
89
|
-
waitAlert: "Verifieer... wag asseblief."
|
|
16
|
+
waitAlert: "Verifieer... wag asseblief.",
|
|
17
|
+
cancel: "Kanselleer",
|
|
18
|
+
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
|
90
19
|
};
|
|
91
|
-
|
|
92
|
-
|
|
20
|
+
if ("$altcha" in globalThis) {
|
|
21
|
+
globalThis.$altcha.i18n.set("af", i18n$6);
|
|
22
|
+
}
|
|
23
|
+
const i18n$5 = {
|
|
93
24
|
ariaLinkLabel: "Altcha.org ይጎብኙ",
|
|
94
25
|
enterCode: "ኮድ አስገባ",
|
|
95
26
|
enterCodeAria: "የሚሰማዎትን ኮድ ያስገቡ። ድምጽ ለመጫወት Space ን ይጫኑ።",
|
|
@@ -104,64 +35,80 @@ const v = {
|
|
|
104
35
|
verificationRequired: "ማረጋገጫ ያስፈልጋል!",
|
|
105
36
|
verified: "ተረጋግጧል",
|
|
106
37
|
verifying: "በማረጋገጥ ላይ...",
|
|
107
|
-
waitAlert: "በማረጋገጥ ላይ... እባክዎ ይጠብቁ።"
|
|
38
|
+
waitAlert: "በማረጋገጥ ላይ... እባክዎ ይጠብቁ።",
|
|
39
|
+
cancel: "ይቅር",
|
|
40
|
+
enterCodeFromImage: "ለመቀጠል፣ እባክዎን ከታች ካለው ምስል ኮዱን ያስገቡ።"
|
|
108
41
|
};
|
|
109
|
-
|
|
110
|
-
|
|
42
|
+
if ("$altcha" in globalThis) {
|
|
43
|
+
globalThis.$altcha.i18n.set("am", i18n$5);
|
|
44
|
+
}
|
|
45
|
+
const i18n$4 = {
|
|
111
46
|
ariaLinkLabel: "زور Altcha.org",
|
|
112
47
|
enterCode: "أدخل الرمز",
|
|
113
48
|
enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
|
|
114
49
|
error: "فشل التحقق. حاول مرة أخرى لاحقاً.",
|
|
115
50
|
expired: "انتهت صلاحية التحقق. حاول مرة أخرى.",
|
|
116
|
-
verificationRequired: "مطلوب التحقق!",
|
|
117
51
|
footer: 'محمي بواسطة <a href="https://altcha.org/" target="_blank" aria-label="زور Altcha.org">ALTCHA</a>',
|
|
118
52
|
getAudioChallenge: "احصل على تحدي صوتي",
|
|
119
53
|
label: "أنا لست روبوتاً",
|
|
120
54
|
loading: "جارٍ التحميل...",
|
|
121
55
|
reload: "إعادة تحميل",
|
|
122
56
|
verify: "تحقق",
|
|
57
|
+
verificationRequired: "مطلوب التحقق!",
|
|
123
58
|
verified: "تم التحقق",
|
|
124
59
|
verifying: "جارٍ التحقق...",
|
|
125
|
-
waitAlert: "جارٍ التحقق... يرجى الانتظار."
|
|
60
|
+
waitAlert: "جارٍ التحقق... يرجى الانتظار.",
|
|
61
|
+
cancel: "إلغاء",
|
|
62
|
+
enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
|
|
126
63
|
};
|
|
127
|
-
|
|
128
|
-
|
|
64
|
+
if ("$altcha" in globalThis) {
|
|
65
|
+
globalThis.$altcha.i18n.set("ar", i18n$4);
|
|
66
|
+
}
|
|
67
|
+
const i18n$3 = {
|
|
129
68
|
ariaLinkLabel: "Visitez Altcha.org",
|
|
130
69
|
enterCode: "Entrez le code",
|
|
131
70
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
|
132
71
|
error: "Échec de la vérification. Essayez à nouveau plus tard.",
|
|
133
72
|
expired: "La vérification a expiré. Essayez à nouveau.",
|
|
134
|
-
verificationRequired: "Vérification requise !",
|
|
135
73
|
footer: 'Protégé par <a href="https://altcha.org/" target="_blank" aria-label="Visitez Altcha.org">ALTCHA</a>',
|
|
136
74
|
getAudioChallenge: "Obtenir un défi audio",
|
|
137
75
|
label: "Pas un robot",
|
|
138
76
|
loading: "Chargement...",
|
|
139
77
|
reload: "Recharger",
|
|
140
78
|
verify: "Vérifier",
|
|
79
|
+
verificationRequired: "Vérification requise !",
|
|
141
80
|
verified: "Vérifié",
|
|
142
81
|
verifying: "Vérification en cours...",
|
|
143
|
-
waitAlert: "Vérification en cours... veuillez patienter."
|
|
82
|
+
waitAlert: "Vérification en cours... veuillez patienter.",
|
|
83
|
+
cancel: "Annuler",
|
|
84
|
+
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
|
144
85
|
};
|
|
145
|
-
|
|
146
|
-
|
|
86
|
+
if ("$altcha" in globalThis) {
|
|
87
|
+
globalThis.$altcha.i18n.set("fr-fr", i18n$3);
|
|
88
|
+
}
|
|
89
|
+
const i18n$2 = {
|
|
147
90
|
ariaLinkLabel: "Visitar Altcha.org",
|
|
148
91
|
enterCode: "Introduza o código",
|
|
149
92
|
enterCodeAria: "Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",
|
|
150
93
|
error: "A verificação falhou. Por favor, tente novamente mais tarde.",
|
|
151
94
|
expired: "Verificação expirada. Por favor, tente novamente.",
|
|
152
|
-
verificationRequired: "Verificação necessária!",
|
|
153
95
|
footer: 'Protegido por <a href="https://altcha.org/" target="_blank" aria-label="Visitar Altcha.org">ALTCHA</a>',
|
|
154
96
|
getAudioChallenge: "Obter desafio de áudio",
|
|
155
97
|
label: "Não sou um robô",
|
|
156
98
|
loading: "A carregar...",
|
|
157
99
|
reload: "Recarregar",
|
|
158
100
|
verify: "Verificar",
|
|
101
|
+
verificationRequired: "Verificação necessária!",
|
|
159
102
|
verified: "Verificado",
|
|
160
103
|
verifying: "A verificar...",
|
|
161
|
-
waitAlert: "A verificar... por favor aguarde."
|
|
104
|
+
waitAlert: "A verificar... por favor aguarde.",
|
|
105
|
+
cancel: "Cancelar",
|
|
106
|
+
enterCodeFromImage: "Para prosseguir, introduza o código da imagem abaixo."
|
|
162
107
|
};
|
|
163
|
-
|
|
164
|
-
|
|
108
|
+
if ("$altcha" in globalThis) {
|
|
109
|
+
globalThis.$altcha.i18n.set("pt-pt", i18n$2);
|
|
110
|
+
}
|
|
111
|
+
const i18n$1 = {
|
|
165
112
|
ariaLinkLabel: "Tembelea Altcha.org",
|
|
166
113
|
enterCode: "Weka nambari",
|
|
167
114
|
enterCodeAria: "Weka nambari unayosikia. Bonyeza Space kucheza sauti.",
|
|
@@ -176,10 +123,14 @@ const w = {
|
|
|
176
123
|
verificationRequired: "Uthibitishaji unahitajika!",
|
|
177
124
|
verified: "Imethibitishwa",
|
|
178
125
|
verifying: "Inathibitisha...",
|
|
179
|
-
waitAlert: "Inathibitisha... tafadhali subiri."
|
|
126
|
+
waitAlert: "Inathibitisha... tafadhali subiri.",
|
|
127
|
+
cancel: "Ghairi",
|
|
128
|
+
enterCodeFromImage: "Ili kuendelea, tafadhali weka nambari kutoka kwa picha hapa chini."
|
|
180
129
|
};
|
|
181
|
-
|
|
182
|
-
|
|
130
|
+
if ("$altcha" in globalThis) {
|
|
131
|
+
globalThis.$altcha.i18n.set("sw", i18n$1);
|
|
132
|
+
}
|
|
133
|
+
const i18n = {
|
|
183
134
|
ariaLinkLabel: "Ṣe abẹwo si Altcha.org",
|
|
184
135
|
enterCode: "Tẹ koodu sii",
|
|
185
136
|
enterCodeAria: "Tẹ koodu ti o ngbọ sii. Tẹ Space lati ṣe ohun orin.",
|
|
@@ -194,6 +145,10 @@ const L = {
|
|
|
194
145
|
verificationRequired: "Ìdájọ́kòwò ni a nílò!",
|
|
195
146
|
verified: "A ti dájọ́",
|
|
196
147
|
verifying: "Ó ń ṣàdájọ́...",
|
|
197
|
-
waitAlert: "Ó ń ṣàdájọ́... ẹ jọ̀ọ́ ẹ duro."
|
|
148
|
+
waitAlert: "Ó ń ṣàdájọ́... ẹ jọ̀ọ́ ẹ duro.",
|
|
149
|
+
cancel: "Fagbọsẹ",
|
|
150
|
+
enterCodeFromImage: "Lati tẹsiwaju, jọwọ tẹ koodu ti o wa lati aworan isalẹ sii."
|
|
198
151
|
};
|
|
199
|
-
|
|
152
|
+
if ("$altcha" in globalThis) {
|
|
153
|
+
globalThis.$altcha.i18n.set("yo", i18n);
|
|
154
|
+
}
|