altcha 2.0.0-beta.8 → 2.0.0

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.
Files changed (181) hide show
  1. package/LICENSE.txt +1 -1
  2. package/README.md +142 -93
  3. package/dist/altcha.d.ts +5 -2
  4. package/dist/altcha.i18n.d.ts +158 -0
  5. package/dist/altcha.i18n.js +4017 -0
  6. package/dist/altcha.i18n.umd.js +4 -0
  7. package/dist/altcha.js +1888 -1763
  8. package/dist/altcha.umd.cjs +4 -14
  9. package/dist_external/altcha.css +1 -255
  10. package/dist_external/altcha.d.ts +5 -2
  11. package/dist_external/altcha.js +1844 -1728
  12. package/dist_external/altcha.umd.cjs +3 -13
  13. package/dist_i18n/af.d.ts +1 -0
  14. package/dist_i18n/af.js +76 -3
  15. package/dist_i18n/af.umd.cjs +1 -1
  16. package/dist_i18n/all.d.ts +1 -0
  17. package/dist_i18n/all.js +178 -105
  18. package/dist_i18n/all.umd.cjs +1 -1
  19. package/dist_i18n/americas.d.ts +1 -0
  20. package/dist_i18n/americas.js +80 -7
  21. package/dist_i18n/americas.umd.cjs +1 -1
  22. package/dist_i18n/ar.d.ts +1 -0
  23. package/dist_i18n/ar.js +76 -3
  24. package/dist_i18n/ar.umd.cjs +1 -1
  25. package/dist_i18n/asia.d.ts +1 -0
  26. package/dist_i18n/asia.js +105 -32
  27. package/dist_i18n/asia.umd.cjs +1 -1
  28. package/dist_i18n/bg.d.ts +1 -0
  29. package/dist_i18n/bg.js +76 -3
  30. package/dist_i18n/bg.umd.cjs +1 -1
  31. package/dist_i18n/bn.d.ts +1 -0
  32. package/dist_i18n/bn.js +76 -3
  33. package/dist_i18n/bn.umd.cjs +1 -1
  34. package/dist_i18n/bs.d.ts +1 -0
  35. package/dist_i18n/bs.js +76 -3
  36. package/dist_i18n/bs.umd.cjs +1 -1
  37. package/dist_i18n/ca.d.ts +1 -0
  38. package/dist_i18n/ca.js +76 -3
  39. package/dist_i18n/ca.umd.cjs +1 -1
  40. package/dist_i18n/cs.d.ts +1 -0
  41. package/dist_i18n/cs.js +76 -3
  42. package/dist_i18n/cs.umd.cjs +1 -1
  43. package/dist_i18n/da.d.ts +1 -0
  44. package/dist_i18n/da.js +76 -3
  45. package/dist_i18n/da.umd.cjs +1 -1
  46. package/dist_i18n/de.d.ts +1 -0
  47. package/dist_i18n/de.js +76 -3
  48. package/dist_i18n/de.umd.cjs +1 -1
  49. package/dist_i18n/el.d.ts +1 -0
  50. package/dist_i18n/el.js +76 -3
  51. package/dist_i18n/el.umd.cjs +1 -1
  52. package/dist_i18n/en.d.ts +1 -0
  53. package/dist_i18n/en.js +76 -3
  54. package/dist_i18n/en.umd.cjs +1 -1
  55. package/dist_i18n/es-419.d.ts +1 -0
  56. package/dist_i18n/es-419.js +76 -3
  57. package/dist_i18n/es-419.umd.cjs +1 -1
  58. package/dist_i18n/es-es.d.ts +1 -0
  59. package/dist_i18n/es-es.js +76 -3
  60. package/dist_i18n/es-es.umd.cjs +1 -1
  61. package/dist_i18n/et.d.ts +1 -0
  62. package/dist_i18n/et.js +76 -3
  63. package/dist_i18n/et.umd.cjs +1 -1
  64. package/dist_i18n/eu.d.ts +1 -0
  65. package/dist_i18n/eu.js +76 -3
  66. package/dist_i18n/eu.umd.cjs +1 -1
  67. package/dist_i18n/europe.d.ts +1 -0
  68. package/dist_i18n/europe.js +139 -66
  69. package/dist_i18n/europe.umd.cjs +1 -1
  70. package/dist_i18n/fi.d.ts +1 -0
  71. package/dist_i18n/fi.js +76 -3
  72. package/dist_i18n/fi.umd.cjs +1 -1
  73. package/dist_i18n/fr-ca.d.ts +1 -0
  74. package/dist_i18n/fr-ca.js +77 -4
  75. package/dist_i18n/fr-ca.umd.cjs +1 -1
  76. package/dist_i18n/fr-fr.d.ts +1 -0
  77. package/dist_i18n/fr-fr.js +77 -4
  78. package/dist_i18n/fr-fr.umd.cjs +1 -1
  79. package/dist_i18n/ga.d.ts +1 -0
  80. package/dist_i18n/ga.js +76 -3
  81. package/dist_i18n/ga.umd.cjs +1 -1
  82. package/dist_i18n/he.d.ts +1 -0
  83. package/dist_i18n/he.js +76 -3
  84. package/dist_i18n/he.umd.cjs +1 -1
  85. package/dist_i18n/hi.d.ts +1 -0
  86. package/dist_i18n/hi.js +76 -3
  87. package/dist_i18n/hi.umd.cjs +1 -1
  88. package/dist_i18n/hr.d.ts +1 -0
  89. package/dist_i18n/hr.js +76 -3
  90. package/dist_i18n/hr.umd.cjs +1 -1
  91. package/dist_i18n/hu.d.ts +1 -0
  92. package/dist_i18n/hu.js +76 -3
  93. package/dist_i18n/hu.umd.cjs +1 -1
  94. package/dist_i18n/id.d.ts +1 -0
  95. package/dist_i18n/id.js +76 -3
  96. package/dist_i18n/id.umd.cjs +1 -1
  97. package/dist_i18n/is.d.ts +1 -0
  98. package/dist_i18n/is.js +76 -3
  99. package/dist_i18n/is.umd.cjs +1 -1
  100. package/dist_i18n/it.d.ts +1 -0
  101. package/dist_i18n/it.js +76 -3
  102. package/dist_i18n/it.umd.cjs +1 -1
  103. package/dist_i18n/ja.d.ts +1 -0
  104. package/dist_i18n/ja.js +76 -3
  105. package/dist_i18n/ja.umd.cjs +1 -1
  106. package/dist_i18n/ko.d.ts +1 -0
  107. package/dist_i18n/ko.js +76 -3
  108. package/dist_i18n/ko.umd.cjs +1 -1
  109. package/dist_i18n/lt.d.ts +1 -0
  110. package/dist_i18n/lt.js +76 -3
  111. package/dist_i18n/lt.umd.cjs +1 -1
  112. package/dist_i18n/lv.d.ts +1 -0
  113. package/dist_i18n/lv.js +76 -3
  114. package/dist_i18n/lv.umd.cjs +1 -1
  115. package/dist_i18n/mr.d.ts +1 -0
  116. package/dist_i18n/mr.js +76 -3
  117. package/dist_i18n/mr.umd.cjs +1 -1
  118. package/dist_i18n/mt.d.ts +1 -0
  119. package/dist_i18n/mt.js +76 -3
  120. package/dist_i18n/mt.umd.cjs +1 -1
  121. package/dist_i18n/nb.d.ts +1 -0
  122. package/dist_i18n/nb.js +77 -4
  123. package/dist_i18n/nb.umd.cjs +1 -1
  124. package/dist_i18n/nl.d.ts +1 -0
  125. package/dist_i18n/nl.js +76 -3
  126. package/dist_i18n/nl.umd.cjs +1 -1
  127. package/dist_i18n/pl.d.ts +1 -0
  128. package/dist_i18n/pl.js +76 -3
  129. package/dist_i18n/pl.umd.cjs +1 -1
  130. package/dist_i18n/pt-br.d.ts +1 -0
  131. package/dist_i18n/pt-br.js +76 -3
  132. package/dist_i18n/pt-br.umd.cjs +1 -1
  133. package/dist_i18n/pt-pt.d.ts +1 -0
  134. package/dist_i18n/pt-pt.js +76 -3
  135. package/dist_i18n/pt-pt.umd.cjs +1 -1
  136. package/dist_i18n/ro.d.ts +1 -0
  137. package/dist_i18n/ro.js +76 -3
  138. package/dist_i18n/ro.umd.cjs +1 -1
  139. package/dist_i18n/ru.d.ts +1 -0
  140. package/dist_i18n/ru.js +76 -3
  141. package/dist_i18n/ru.umd.cjs +1 -1
  142. package/dist_i18n/sk.d.ts +1 -0
  143. package/dist_i18n/sk.js +76 -3
  144. package/dist_i18n/sk.umd.cjs +1 -1
  145. package/dist_i18n/sl.d.ts +1 -0
  146. package/dist_i18n/sl.js +76 -3
  147. package/dist_i18n/sl.umd.cjs +1 -1
  148. package/dist_i18n/sr.d.ts +1 -0
  149. package/dist_i18n/sr.js +76 -3
  150. package/dist_i18n/sr.umd.cjs +1 -1
  151. package/dist_i18n/sv.d.ts +1 -0
  152. package/dist_i18n/sv.js +76 -3
  153. package/dist_i18n/sv.umd.cjs +1 -1
  154. package/dist_i18n/ta.d.ts +1 -0
  155. package/dist_i18n/ta.js +76 -3
  156. package/dist_i18n/ta.umd.cjs +1 -1
  157. package/dist_i18n/te.d.ts +1 -0
  158. package/dist_i18n/te.js +76 -3
  159. package/dist_i18n/te.umd.cjs +1 -1
  160. package/dist_i18n/th.d.ts +1 -0
  161. package/dist_i18n/th.js +76 -3
  162. package/dist_i18n/th.umd.cjs +1 -1
  163. package/dist_i18n/tr.d.ts +1 -0
  164. package/dist_i18n/tr.js +76 -3
  165. package/dist_i18n/tr.umd.cjs +1 -1
  166. package/dist_i18n/uk.d.ts +1 -0
  167. package/dist_i18n/uk.js +76 -3
  168. package/dist_i18n/uk.umd.cjs +1 -1
  169. package/dist_i18n/ur.d.ts +1 -0
  170. package/dist_i18n/ur.js +76 -3
  171. package/dist_i18n/ur.umd.cjs +1 -1
  172. package/dist_i18n/vi.d.ts +1 -0
  173. package/dist_i18n/vi.js +76 -3
  174. package/dist_i18n/vi.umd.cjs +1 -1
  175. package/dist_i18n/zh-cn.d.ts +1 -0
  176. package/dist_i18n/zh-cn.js +76 -3
  177. package/dist_i18n/zh-cn.umd.cjs +1 -1
  178. package/dist_i18n/zh-tw.d.ts +1 -0
  179. package/dist_i18n/zh-tw.js +76 -3
  180. package/dist_i18n/zh-tw.umd.cjs +1 -1
  181. package/package.json +13 -7
package/dist_i18n/tr.js CHANGED
@@ -1,4 +1,77 @@
1
- const a = {
1
+ const o = () => {
2
+ };
3
+ function g(e, n) {
4
+ return e != e ? n == n : e !== n || e !== null && typeof e == "object" || typeof e == "function";
5
+ }
6
+ let c = !1;
7
+ function h(e) {
8
+ var n = c;
9
+ try {
10
+ return c = !0, e();
11
+ } finally {
12
+ c = n;
13
+ }
14
+ }
15
+ function y(e, n, r) {
16
+ if (e == null)
17
+ return n(void 0), o;
18
+ const a = h(
19
+ () => e.subscribe(
20
+ n,
21
+ // @ts-expect-error
22
+ r
23
+ )
24
+ );
25
+ return a.unsubscribe ? () => a.unsubscribe() : a;
26
+ }
27
+ const l = [];
28
+ function k(e, n = o) {
29
+ let r = null;
30
+ const a = /* @__PURE__ */ new Set();
31
+ function u(i) {
32
+ if (g(e, i) && (e = i, r)) {
33
+ const s = !l.length;
34
+ for (const t of a)
35
+ t[1](), l.push(t, e);
36
+ if (s) {
37
+ for (let t = 0; t < l.length; t += 2)
38
+ l[t][0](l[t + 1]);
39
+ l.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function f(i) {
44
+ u(i(
45
+ /** @type {T} */
46
+ e
47
+ ));
48
+ }
49
+ function d(i, s = o) {
50
+ const t = [i, s];
51
+ return a.add(t), a.size === 1 && (r = n(u, f) || o), i(
52
+ /** @type {T} */
53
+ e
54
+ ), () => {
55
+ a.delete(t), a.size === 0 && r && (r(), r = null);
56
+ };
57
+ }
58
+ return { set: u, update: f, subscribe: d };
59
+ }
60
+ function b(e) {
61
+ let n;
62
+ return y(e, (r) => n = r)(), n;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (e) => b(globalThis.altchaI18n.store)[e],
67
+ set: (e, n) => {
68
+ Object.assign(b(globalThis.altchaI18n.store), {
69
+ [e]: n
70
+ }), globalThis.altchaI18n.store.set(b(globalThis.altchaI18n.store));
71
+ },
72
+ store: k({})
73
+ };
74
+ const p = {
2
75
  ariaLinkLabel: "Altcha.org'yu ziyaret edin",
3
76
  enterCode: "Kodu girin",
4
77
  enterCodeAria: "Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",
@@ -15,7 +88,7 @@ const a = {
15
88
  verifying: "Doğrulama yapılıyor...",
16
89
  waitAlert: "Doğrulama yapılıyor... lütfen bekleyin."
17
90
  };
18
- globalThis.altchaI18n.register("tr", a);
91
+ globalThis.altchaI18n.set("tr", p);
19
92
  export {
20
- a as i18n
93
+ p as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(e=typeof globalThis<"u"?globalThis:e||self,a(e["[name]"]={}))})(this,function(e){"use strict";const a={ariaLinkLabel:"Altcha.org'yu ziyaret edin",enterCode:"Kodu girin",enterCodeAria:"Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",error:"Doğrulama başarısız oldu. Lütfen daha sonra tekrar deneyin.",expired:"Doğrulama süresi doldu. Lütfen tekrar deneyin.",verificationRequired:"Doğrulama gerekli!",footer:`ALTCHA tarafından korunuyor <a href="https://altcha.org/" target="_blank" aria-label="Altcha.org'yu ziyaret edin">ALTCHA</a>`,getAudioChallenge:"Sesli doğrulama al",label:"Ben robot değilim",loading:"Yükleniyor...",reload:"Yeniden yükle",verify:"Doğrula",verified:"Doğrulandı",verifying:"Doğrulama yapılıyor...",waitAlert:"Doğrulama yapılıyor... lütfen bekleyin."};globalThis.altchaI18n.register("tr",a),e.i18n=a,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(l,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(l=typeof globalThis<"u"?globalThis:l||self,o(l["[name]"]={}))})(this,function(l){"use strict";const o=()=>{};function h(e,n){return e!=e?n==n:e!==n||e!==null&&typeof e=="object"||typeof e=="function"}let s=!1;function y(e){var n=s;try{return s=!0,e()}finally{s=n}}function p(e,n,i){if(e==null)return n(void 0),o;const r=y(()=>e.subscribe(n,i));return r.unsubscribe?()=>r.unsubscribe():r}const u=[];function k(e,n=o){let i=null;const r=new Set;function f(a){if(h(e,a)&&(e=a,i)){const d=!u.length;for(const t of r)t[1](),u.push(t,e);if(d){for(let t=0;t<u.length;t+=2)u[t][0](u[t+1]);u.length=0}}}function g(a){f(a(e))}function T(a,d=o){const t=[a,d];return r.add(t),r.size===1&&(i=n(f,g)||o),a(e),()=>{r.delete(t),r.size===0&&i&&(i(),i=null)}}return{set:f,update:g,subscribe:T}}function c(e){let n;return p(e,i=>n=i)(),n}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,n)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:n}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:k({})};const b={ariaLinkLabel:"Altcha.org'yu ziyaret edin",enterCode:"Kodu girin",enterCodeAria:"Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",error:"Doğrulama başarısız oldu. Lütfen daha sonra tekrar deneyin.",expired:"Doğrulama süresi doldu. Lütfen tekrar deneyin.",verificationRequired:"Doğrulama gerekli!",footer:`ALTCHA tarafından korunuyor <a href="https://altcha.org/" target="_blank" aria-label="Altcha.org'yu ziyaret edin">ALTCHA</a>`,getAudioChallenge:"Sesli doğrulama al",label:"Ben robot değilim",loading:"Yükleniyor...",reload:"Yeniden yükle",verify:"Doğrula",verified:"Doğrulandı",verifying:"Doğrulama yapılıyor...",waitAlert:"Doğrulama yapılıyor... lütfen bekleyin."};globalThis.altchaI18n.set("tr",b),l.i18n=b,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/uk';
package/dist_i18n/uk.js CHANGED
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const o = () => {
2
+ };
3
+ function g(t, e) {
4
+ return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
5
+ }
6
+ let c = !1;
7
+ function d(t) {
8
+ var e = c;
9
+ try {
10
+ return c = !0, t();
11
+ } finally {
12
+ c = e;
13
+ }
14
+ }
15
+ function p(t, e, r) {
16
+ if (t == null)
17
+ return e(void 0), o;
18
+ const i = d(
19
+ () => t.subscribe(
20
+ e,
21
+ // @ts-expect-error
22
+ r
23
+ )
24
+ );
25
+ return i.unsubscribe ? () => i.unsubscribe() : i;
26
+ }
27
+ const s = [];
28
+ function T(t, e = o) {
29
+ let r = null;
30
+ const i = /* @__PURE__ */ new Set();
31
+ function a(l) {
32
+ if (g(t, l) && (t = l, r)) {
33
+ const u = !s.length;
34
+ for (const n of i)
35
+ n[1](), s.push(n, t);
36
+ if (u) {
37
+ for (let n = 0; n < s.length; n += 2)
38
+ s[n][0](s[n + 1]);
39
+ s.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function f(l) {
44
+ a(l(
45
+ /** @type {T} */
46
+ t
47
+ ));
48
+ }
49
+ function h(l, u = o) {
50
+ const n = [l, u];
51
+ return i.add(n), i.size === 1 && (r = e(a, f) || o), l(
52
+ /** @type {T} */
53
+ t
54
+ ), () => {
55
+ i.delete(n), i.size === 0 && r && (r(), r = null);
56
+ };
57
+ }
58
+ return { set: a, update: f, subscribe: h };
59
+ }
60
+ function b(t) {
61
+ let e;
62
+ return p(t, (r) => e = r)(), e;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (t) => b(globalThis.altchaI18n.store)[t],
67
+ set: (t, e) => {
68
+ Object.assign(b(globalThis.altchaI18n.store), {
69
+ [t]: e
70
+ }), globalThis.altchaI18n.store.set(b(globalThis.altchaI18n.store));
71
+ },
72
+ store: T({})
73
+ };
74
+ const A = {
2
75
  ariaLinkLabel: "Відвідати Altcha.org",
3
76
  enterCode: "Введіть код",
4
77
  enterCodeAria: "Введіть код, який ви чуєте. Натисніть пробіл, щоб відтворити аудіо.",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "Перевіряється...",
16
89
  waitAlert: "Перевірка... будь ласка, зачекайте."
17
90
  };
18
- globalThis.altchaI18n.register("uk", e);
91
+ globalThis.altchaI18n.set("uk", A);
19
92
  export {
20
- e as i18n
93
+ A as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"Відвідати Altcha.org",enterCode:"Введіть код",enterCodeAria:"Введіть код, який ви чуєте. Натисніть пробіл, щоб відтворити аудіо.",error:"Перевірка не вдалася. Спробуйте пізніше.",expired:"Перевірка прострочена. Спробуйте знову.",verificationRequired:"Потрібна перевірка!",footer:'Захищено <a href="https://altcha.org/" target="_blank" aria-label="Відвідати Altcha.org">ALTCHA</a>',getAudioChallenge:"Отримати аудіо-челлендж",label:"Я не робот",loading:"Завантаження...",reload:"Перезавантажити",verify:"Перевірити",verified:"Перевірено",verifying:"Перевіряється...",waitAlert:"Перевірка... будь ласка, зачекайте."};globalThis.altchaI18n.register("uk",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(l,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(l=typeof globalThis<"u"?globalThis:l||self,o(l["[name]"]={}))})(this,function(l){"use strict";const o=()=>{};function d(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let a=!1;function p(e){var t=a;try{return a=!0,e()}finally{a=t}}function T(e,t,i){if(e==null)return t(void 0),o;const r=p(()=>e.subscribe(t,i));return r.unsubscribe?()=>r.unsubscribe():r}const u=[];function y(e,t=o){let i=null;const r=new Set;function f(s){if(d(e,s)&&(e=s,i)){const b=!u.length;for(const n of r)n[1](),u.push(n,e);if(b){for(let n=0;n<u.length;n+=2)u[n][0](u[n+1]);u.length=0}}}function g(s){f(s(e))}function A(s,b=o){const n=[s,b];return r.add(n),r.size===1&&(i=t(f,g)||o),s(e),()=>{r.delete(n),r.size===0&&i&&(i(),i=null)}}return{set:f,update:g,subscribe:A}}function c(e){let t;return T(e,i=>t=i)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:y({})};const h={ariaLinkLabel:"Відвідати Altcha.org",enterCode:"Введіть код",enterCodeAria:"Введіть код, який ви чуєте. Натисніть пробіл, щоб відтворити аудіо.",error:"Перевірка не вдалася. Спробуйте пізніше.",expired:"Перевірка прострочена. Спробуйте знову.",verificationRequired:"Потрібна перевірка!",footer:'Захищено <a href="https://altcha.org/" target="_blank" aria-label="Відвідати Altcha.org">ALTCHA</a>',getAudioChallenge:"Отримати аудіо-челлендж",label:"Я не робот",loading:"Завантаження...",reload:"Перезавантажити",verify:"Перевірити",verified:"Перевірено",verifying:"Перевіряється...",waitAlert:"Перевірка... будь ласка, зачекайте."};globalThis.altchaI18n.set("uk",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/ur';
package/dist_i18n/ur.js CHANGED
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const o = () => {
2
+ };
3
+ function g(t, e) {
4
+ return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
5
+ }
6
+ let c = !1;
7
+ function d(t) {
8
+ var e = c;
9
+ try {
10
+ return c = !0, t();
11
+ } finally {
12
+ c = e;
13
+ }
14
+ }
15
+ function p(t, e, r) {
16
+ if (t == null)
17
+ return e(void 0), o;
18
+ const i = d(
19
+ () => t.subscribe(
20
+ e,
21
+ // @ts-expect-error
22
+ r
23
+ )
24
+ );
25
+ return i.unsubscribe ? () => i.unsubscribe() : i;
26
+ }
27
+ const s = [];
28
+ function T(t, e = o) {
29
+ let r = null;
30
+ const i = /* @__PURE__ */ new Set();
31
+ function a(l) {
32
+ if (g(t, l) && (t = l, r)) {
33
+ const u = !s.length;
34
+ for (const n of i)
35
+ n[1](), s.push(n, t);
36
+ if (u) {
37
+ for (let n = 0; n < s.length; n += 2)
38
+ s[n][0](s[n + 1]);
39
+ s.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function f(l) {
44
+ a(l(
45
+ /** @type {T} */
46
+ t
47
+ ));
48
+ }
49
+ function h(l, u = o) {
50
+ const n = [l, u];
51
+ return i.add(n), i.size === 1 && (r = e(a, f) || o), l(
52
+ /** @type {T} */
53
+ t
54
+ ), () => {
55
+ i.delete(n), i.size === 0 && r && (r(), r = null);
56
+ };
57
+ }
58
+ return { set: a, update: f, subscribe: h };
59
+ }
60
+ function b(t) {
61
+ let e;
62
+ return p(t, (r) => e = r)(), e;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (t) => b(globalThis.altchaI18n.store)[t],
67
+ set: (t, e) => {
68
+ Object.assign(b(globalThis.altchaI18n.store), {
69
+ [t]: e
70
+ }), globalThis.altchaI18n.store.set(b(globalThis.altchaI18n.store));
71
+ },
72
+ store: T({})
73
+ };
74
+ const A = {
2
75
  ariaLinkLabel: "Altcha.org پر جائیں",
3
76
  enterCode: "کوڈ درج کریں",
4
77
  enterCodeAria: "جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائیں۔",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "توثیق ہو رہی ہے...",
16
89
  waitAlert: "توثیق ہو رہی ہے... براہ کرم انتظار کریں۔"
17
90
  };
18
- globalThis.altchaI18n.register("ur", e);
91
+ globalThis.altchaI18n.set("ur", A);
19
92
  export {
20
- e as i18n
93
+ A as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"Altcha.org پر جائیں",enterCode:"کوڈ درج کریں",enterCodeAria:"جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائیں۔",error:"توثیق ناکام ہو گئی۔ براہ کرم بعد میں دوبارہ کوشش کریں۔",expired:"توثیق کی مدت ختم ہو گئی ہے۔ براہ کرم دوبارہ کوشش کریں۔",verificationRequired:"تصدیق ضروری ہے!",footer:'کے ذریعے محفوظ <a href="https://altcha.org/" target="_blank" aria-label="Altcha.org پر جائیں">ALTCHA</a>',getAudioChallenge:"آڈیو چیلنج حاصل کریں",label:"میں روبوٹ نہیں ہوں",loading:"لوڈ ہو رہا ہے...",reload:"دوبارہ لوڈ کریں",verify:"توثیق کریں",verified:"توثیق شدہ",verifying:"توثیق ہو رہی ہے...",waitAlert:"توثیق ہو رہی ہے... براہ کرم انتظار کریں۔"};globalThis.altchaI18n.register("ur",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(l,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(l=typeof globalThis<"u"?globalThis:l||self,o(l["[name]"]={}))})(this,function(l){"use strict";const o=()=>{};function d(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let a=!1;function p(e){var t=a;try{return a=!0,e()}finally{a=t}}function T(e,t,i){if(e==null)return t(void 0),o;const r=p(()=>e.subscribe(t,i));return r.unsubscribe?()=>r.unsubscribe():r}const u=[];function y(e,t=o){let i=null;const r=new Set;function f(s){if(d(e,s)&&(e=s,i)){const b=!u.length;for(const n of r)n[1](),u.push(n,e);if(b){for(let n=0;n<u.length;n+=2)u[n][0](u[n+1]);u.length=0}}}function g(s){f(s(e))}function A(s,b=o){const n=[s,b];return r.add(n),r.size===1&&(i=t(f,g)||o),s(e),()=>{r.delete(n),r.size===0&&i&&(i(),i=null)}}return{set:f,update:g,subscribe:A}}function c(e){let t;return T(e,i=>t=i)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:y({})};const h={ariaLinkLabel:"Altcha.org پر جائیں",enterCode:"کوڈ درج کریں",enterCodeAria:"جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائیں۔",error:"توثیق ناکام ہو گئی۔ براہ کرم بعد میں دوبارہ کوشش کریں۔",expired:"توثیق کی مدت ختم ہو گئی ہے۔ براہ کرم دوبارہ کوشش کریں۔",verificationRequired:"تصدیق ضروری ہے!",footer:'کے ذریعے محفوظ <a href="https://altcha.org/" target="_blank" aria-label="Altcha.org پر جائیں">ALTCHA</a>',getAudioChallenge:"آڈیو چیلنج حاصل کریں",label:"میں روبوٹ نہیں ہوں",loading:"لوڈ ہو رہا ہے...",reload:"دوبارہ لوڈ کریں",verify:"توثیق کریں",verified:"توثیق شدہ",verifying:"توثیق ہو رہی ہے...",waitAlert:"توثیق ہو رہی ہے... براہ کرم انتظار کریں۔"};globalThis.altchaI18n.set("ur",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/vi';
package/dist_i18n/vi.js CHANGED
@@ -1,4 +1,77 @@
1
- const i = {
1
+ const o = () => {
2
+ };
3
+ function f(t, n) {
4
+ return t != t ? n == n : t !== n || t !== null && typeof t == "object" || typeof t == "function";
5
+ }
6
+ let a = !1;
7
+ function p(t) {
8
+ var n = a;
9
+ try {
10
+ return a = !0, t();
11
+ } finally {
12
+ a = n;
13
+ }
14
+ }
15
+ function d(t, n, i) {
16
+ if (t == null)
17
+ return n(void 0), o;
18
+ const r = p(
19
+ () => t.subscribe(
20
+ n,
21
+ // @ts-expect-error
22
+ i
23
+ )
24
+ );
25
+ return r.unsubscribe ? () => r.unsubscribe() : r;
26
+ }
27
+ const c = [];
28
+ function T(t, n = o) {
29
+ let i = null;
30
+ const r = /* @__PURE__ */ new Set();
31
+ function s(l) {
32
+ if (f(t, l) && (t = l, i)) {
33
+ const h = !c.length;
34
+ for (const e of r)
35
+ e[1](), c.push(e, t);
36
+ if (h) {
37
+ for (let e = 0; e < c.length; e += 2)
38
+ c[e][0](c[e + 1]);
39
+ c.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function b(l) {
44
+ s(l(
45
+ /** @type {T} */
46
+ t
47
+ ));
48
+ }
49
+ function g(l, h = o) {
50
+ const e = [l, h];
51
+ return r.add(e), r.size === 1 && (i = n(s, b) || o), l(
52
+ /** @type {T} */
53
+ t
54
+ ), () => {
55
+ r.delete(e), r.size === 0 && i && (i(), i = null);
56
+ };
57
+ }
58
+ return { set: s, update: b, subscribe: g };
59
+ }
60
+ function u(t) {
61
+ let n;
62
+ return d(t, (i) => n = i)(), n;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (t) => u(globalThis.altchaI18n.store)[t],
67
+ set: (t, n) => {
68
+ Object.assign(u(globalThis.altchaI18n.store), {
69
+ [t]: n
70
+ }), globalThis.altchaI18n.store.set(u(globalThis.altchaI18n.store));
71
+ },
72
+ store: T({})
73
+ };
74
+ const m = {
2
75
  ariaLinkLabel: "Truy cập Altcha.org",
3
76
  enterCode: "Nhập mã",
4
77
  enterCodeAria: "Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",
@@ -15,7 +88,7 @@ const i = {
15
88
  verifying: "Đang xác minh...",
16
89
  waitAlert: "Đang xác minh... vui lòng chờ."
17
90
  };
18
- globalThis.altchaI18n.register("vi", i);
91
+ globalThis.altchaI18n.set("vi", m);
19
92
  export {
20
- i as i18n
93
+ m as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"Truy cập Altcha.org",enterCode:"Nhập mã",enterCodeAria:"Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",error:"Xác minh thất bại. Vui lòng thử lại sau.",expired:"Xác minh đã hết hạn. Vui lòng thử lại.",verificationRequired:"Yêu cầu xác minh!",footer:'Được bảo vệ bởi <a href="https://altcha.org/" target="_blank" aria-label="Truy cập Altcha.org">ALTCHA</a>',getAudioChallenge:"Nhận thử thách âm thanh",label:"Tôi không phải là robot",loading:"Đang tải...",reload:"Tải lại",verify:"Xác minh",verified:"Đã xác minh",verifying:"Đang xác minh...",waitAlert:"Đang xác minh... vui lòng chờ."};globalThis.altchaI18n.register("vi",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(s,r){typeof exports=="object"&&typeof module<"u"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(s=typeof globalThis<"u"?globalThis:s||self,r(s["[name]"]={}))})(this,function(s){"use strict";const r=()=>{};function d(n,e){return n!=n?e==e:n!==e||n!==null&&typeof n=="object"||typeof n=="function"}let u=!1;function p(n){var e=u;try{return u=!0,n()}finally{u=e}}function T(n,e,i){if(n==null)return e(void 0),r;const l=p(()=>n.subscribe(e,i));return l.unsubscribe?()=>l.unsubscribe():l}const c=[];function m(n,e=r){let i=null;const l=new Set;function a(o){if(d(n,o)&&(n=o,i)){const f=!c.length;for(const t of l)t[1](),c.push(t,n);if(f){for(let t=0;t<c.length;t+=2)c[t][0](c[t+1]);c.length=0}}}function g(o){a(o(n))}function y(o,f=r){const t=[o,f];return l.add(t),l.size===1&&(i=e(a,g)||r),o(n),()=>{l.delete(t),l.size===0&&i&&(i(),i=null)}}return{set:a,update:g,subscribe:y}}function h(n){let e;return T(n,i=>e=i)(),e}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:n=>h(globalThis.altchaI18n.store)[n],set:(n,e)=>{Object.assign(h(globalThis.altchaI18n.store),{[n]:e}),globalThis.altchaI18n.store.set(h(globalThis.altchaI18n.store))},store:m({})};const b={ariaLinkLabel:"Truy cập Altcha.org",enterCode:"Nhập mã",enterCodeAria:"Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",error:"Xác minh thất bại. Vui lòng thử lại sau.",expired:"Xác minh đã hết hạn. Vui lòng thử lại.",verificationRequired:"Yêu cầu xác minh!",footer:'Được bảo vệ bởi <a href="https://altcha.org/" target="_blank" aria-label="Truy cập Altcha.org">ALTCHA</a>',getAudioChallenge:"Nhận thử thách âm thanh",label:"Tôi không phải là robot",loading:"Đang tải...",reload:"Tải lại",verify:"Xác minh",verified:"Đã xác minh",verifying:"Đang xác minh...",waitAlert:"Đang xác minh... vui lòng chờ."};globalThis.altchaI18n.set("vi",b),s.i18n=b,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/zh-cn';
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const o = () => {
2
+ };
3
+ function g(t, e) {
4
+ return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
5
+ }
6
+ let c = !1;
7
+ function d(t) {
8
+ var e = c;
9
+ try {
10
+ return c = !0, t();
11
+ } finally {
12
+ c = e;
13
+ }
14
+ }
15
+ function p(t, e, r) {
16
+ if (t == null)
17
+ return e(void 0), o;
18
+ const i = d(
19
+ () => t.subscribe(
20
+ e,
21
+ // @ts-expect-error
22
+ r
23
+ )
24
+ );
25
+ return i.unsubscribe ? () => i.unsubscribe() : i;
26
+ }
27
+ const s = [];
28
+ function T(t, e = o) {
29
+ let r = null;
30
+ const i = /* @__PURE__ */ new Set();
31
+ function a(l) {
32
+ if (g(t, l) && (t = l, r)) {
33
+ const u = !s.length;
34
+ for (const n of i)
35
+ n[1](), s.push(n, t);
36
+ if (u) {
37
+ for (let n = 0; n < s.length; n += 2)
38
+ s[n][0](s[n + 1]);
39
+ s.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function f(l) {
44
+ a(l(
45
+ /** @type {T} */
46
+ t
47
+ ));
48
+ }
49
+ function h(l, u = o) {
50
+ const n = [l, u];
51
+ return i.add(n), i.size === 1 && (r = e(a, f) || o), l(
52
+ /** @type {T} */
53
+ t
54
+ ), () => {
55
+ i.delete(n), i.size === 0 && r && (r(), r = null);
56
+ };
57
+ }
58
+ return { set: a, update: f, subscribe: h };
59
+ }
60
+ function b(t) {
61
+ let e;
62
+ return p(t, (r) => e = r)(), e;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (t) => b(globalThis.altchaI18n.store)[t],
67
+ set: (t, e) => {
68
+ Object.assign(b(globalThis.altchaI18n.store), {
69
+ [t]: e
70
+ }), globalThis.altchaI18n.store.set(b(globalThis.altchaI18n.store));
71
+ },
72
+ store: T({})
73
+ };
74
+ const A = {
2
75
  ariaLinkLabel: "访问 Altcha.org",
3
76
  enterCode: "输入代码",
4
77
  enterCodeAria: "输入您听到的代码。按空格键播放音频。",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "正在验证...",
16
89
  waitAlert: "正在验证... 请稍等。"
17
90
  };
18
- globalThis.altchaI18n.register("zh-cn", e);
91
+ globalThis.altchaI18n.set("zh-cn", A);
19
92
  export {
20
- e as i18n
93
+ A as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"访问 Altcha.org",enterCode:"输入代码",enterCodeAria:"输入您听到的代码。按空格键播放音频。",error:"验证失败。稍后再试。",expired:"验证已过期。请重试。",verificationRequired:"需要验证!",footer:'由 <a href="https://altcha.org/" target="_blank" aria-label="访问 Altcha.org">ALTCHA</a> 保护',getAudioChallenge:"获取音频挑战",label:"我不是机器人",loading:"加载中...",reload:"重新加载",verify:"验证",verified:"已验证",verifying:"正在验证...",waitAlert:"正在验证... 请稍等。"};globalThis.altchaI18n.register("zh-cn",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(l,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(l=typeof globalThis<"u"?globalThis:l||self,o(l["[name]"]={}))})(this,function(l){"use strict";const o=()=>{};function d(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let a=!1;function p(e){var t=a;try{return a=!0,e()}finally{a=t}}function T(e,t,i){if(e==null)return t(void 0),o;const r=p(()=>e.subscribe(t,i));return r.unsubscribe?()=>r.unsubscribe():r}const u=[];function y(e,t=o){let i=null;const r=new Set;function f(s){if(d(e,s)&&(e=s,i)){const b=!u.length;for(const n of r)n[1](),u.push(n,e);if(b){for(let n=0;n<u.length;n+=2)u[n][0](u[n+1]);u.length=0}}}function g(s){f(s(e))}function A(s,b=o){const n=[s,b];return r.add(n),r.size===1&&(i=t(f,g)||o),s(e),()=>{r.delete(n),r.size===0&&i&&(i(),i=null)}}return{set:f,update:g,subscribe:A}}function c(e){let t;return T(e,i=>t=i)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:y({})};const h={ariaLinkLabel:"访问 Altcha.org",enterCode:"输入代码",enterCodeAria:"输入您听到的代码。按空格键播放音频。",error:"验证失败。稍后再试。",expired:"验证已过期。请重试。",verificationRequired:"需要验证!",footer:'由 <a href="https://altcha.org/" target="_blank" aria-label="访问 Altcha.org">ALTCHA</a> 保护',getAudioChallenge:"获取音频挑战",label:"我不是机器人",loading:"加载中...",reload:"重新加载",verify:"验证",verified:"已验证",verifying:"正在验证...",waitAlert:"正在验证... 请稍等。"};globalThis.altchaI18n.set("zh-cn",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/zh-tw';
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const o = () => {
2
+ };
3
+ function g(t, e) {
4
+ return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
5
+ }
6
+ let c = !1;
7
+ function d(t) {
8
+ var e = c;
9
+ try {
10
+ return c = !0, t();
11
+ } finally {
12
+ c = e;
13
+ }
14
+ }
15
+ function p(t, e, r) {
16
+ if (t == null)
17
+ return e(void 0), o;
18
+ const i = d(
19
+ () => t.subscribe(
20
+ e,
21
+ // @ts-expect-error
22
+ r
23
+ )
24
+ );
25
+ return i.unsubscribe ? () => i.unsubscribe() : i;
26
+ }
27
+ const s = [];
28
+ function T(t, e = o) {
29
+ let r = null;
30
+ const i = /* @__PURE__ */ new Set();
31
+ function a(l) {
32
+ if (g(t, l) && (t = l, r)) {
33
+ const u = !s.length;
34
+ for (const n of i)
35
+ n[1](), s.push(n, t);
36
+ if (u) {
37
+ for (let n = 0; n < s.length; n += 2)
38
+ s[n][0](s[n + 1]);
39
+ s.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function f(l) {
44
+ a(l(
45
+ /** @type {T} */
46
+ t
47
+ ));
48
+ }
49
+ function h(l, u = o) {
50
+ const n = [l, u];
51
+ return i.add(n), i.size === 1 && (r = e(a, f) || o), l(
52
+ /** @type {T} */
53
+ t
54
+ ), () => {
55
+ i.delete(n), i.size === 0 && r && (r(), r = null);
56
+ };
57
+ }
58
+ return { set: a, update: f, subscribe: h };
59
+ }
60
+ function b(t) {
61
+ let e;
62
+ return p(t, (r) => e = r)(), e;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (t) => b(globalThis.altchaI18n.store)[t],
67
+ set: (t, e) => {
68
+ Object.assign(b(globalThis.altchaI18n.store), {
69
+ [t]: e
70
+ }), globalThis.altchaI18n.store.set(b(globalThis.altchaI18n.store));
71
+ },
72
+ store: T({})
73
+ };
74
+ const A = {
2
75
  ariaLinkLabel: "訪問 Altcha.org",
3
76
  enterCode: "輸入代碼",
4
77
  enterCodeAria: "輸入您聽到的代碼。按空格鍵播放音頻。",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "正在驗證...",
16
89
  waitAlert: "正在驗證... 請稍等。"
17
90
  };
18
- globalThis.altchaI18n.register("zh-tw", e);
91
+ globalThis.altchaI18n.set("zh-tw", A);
19
92
  export {
20
- e as i18n
93
+ A as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"訪問 Altcha.org",enterCode:"輸入代碼",enterCodeAria:"輸入您聽到的代碼。按空格鍵播放音頻。",error:"驗證失敗。稍後再試。",expired:"驗證已過期。請重試。",verificationRequired:"需要驗證!",footer:'由 <a href="https://altcha.org/" target="_blank" aria-label="訪問 Altcha.org">ALTCHA</a> 保護',getAudioChallenge:"獲取音頻挑戰",label:"我不是機器人",loading:"載入中...",reload:"重新載入",verify:"驗證",verified:"已驗證",verifying:"正在驗證...",waitAlert:"正在驗證... 請稍等。"};globalThis.altchaI18n.register("zh-tw",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(l,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(l=typeof globalThis<"u"?globalThis:l||self,o(l["[name]"]={}))})(this,function(l){"use strict";const o=()=>{};function d(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let a=!1;function p(e){var t=a;try{return a=!0,e()}finally{a=t}}function T(e,t,i){if(e==null)return t(void 0),o;const r=p(()=>e.subscribe(t,i));return r.unsubscribe?()=>r.unsubscribe():r}const u=[];function y(e,t=o){let i=null;const r=new Set;function f(s){if(d(e,s)&&(e=s,i)){const b=!u.length;for(const n of r)n[1](),u.push(n,e);if(b){for(let n=0;n<u.length;n+=2)u[n][0](u[n+1]);u.length=0}}}function g(s){f(s(e))}function A(s,b=o){const n=[s,b];return r.add(n),r.size===1&&(i=t(f,g)||o),s(e),()=>{r.delete(n),r.size===0&&i&&(i(),i=null)}}return{set:f,update:g,subscribe:A}}function c(e){let t;return T(e,i=>t=i)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:y({})};const h={ariaLinkLabel:"訪問 Altcha.org",enterCode:"輸入代碼",enterCodeAria:"輸入您聽到的代碼。按空格鍵播放音頻。",error:"驗證失敗。稍後再試。",expired:"驗證已過期。請重試。",verificationRequired:"需要驗證!",footer:'由 <a href="https://altcha.org/" target="_blank" aria-label="訪問 Altcha.org">ALTCHA</a> 保護',getAudioChallenge:"獲取音頻挑戰",label:"我不是機器人",loading:"載入中...",reload:"重新載入",verify:"驗證",verified:"已驗證",verifying:"正在驗證...",waitAlert:"正在驗證... 請稍等。"};globalThis.altchaI18n.set("zh-tw",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});