@kanorio/elements 0.0.0-stage → 1.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.
- package/LICENSE +21 -0
- package/README.md +57 -2
- package/dist/MediaPlayer-MWIDJORE.js +2 -0
- package/dist/MediaPlayer-STITRANS.js +13 -0
- package/dist/PDFViewerFull-HIUSAO57.js +13 -0
- package/dist/PDFViewerFull-L7VMOAMU.js +28062 -0
- package/dist/altcha-DSOKKAAV.js +3153 -0
- package/dist/altcha-FLBUR2LJ.js +4 -0
- package/dist/ar-4CBE4BWH.js +1233 -0
- package/dist/ar-6G7ZVSQ3.js +2 -0
- package/dist/ar-XCPH4WO5.js +98 -0
- package/dist/ar-ZVJL6XGE.js +2 -0
- package/dist/bg-4WPFSAMC.js +2 -0
- package/dist/bg-BKFL64I6.js +98 -0
- package/dist/bg-CB273F4D.js +1233 -0
- package/dist/bg-HCH4LMEX.js +2 -0
- package/dist/bn-HLYDEXHQ.js +1233 -0
- package/dist/bn-HVEVBAGM.js +98 -0
- package/dist/bn-OY7YGJIT.js +2 -0
- package/dist/bn-XX3O4VQB.js +2 -0
- package/dist/chunk-2UBPQBQI.js +1848 -0
- package/dist/chunk-5OB57Z46.js +23620 -0
- package/dist/chunk-6LJZ4HRF.js +1350 -0
- package/dist/chunk-6TUB24LJ.js +415 -0
- package/dist/chunk-74RRJOB4.js +15 -0
- package/dist/chunk-7TNRMVML.js +2 -0
- package/dist/chunk-BH27SBYG.js +2 -0
- package/dist/chunk-BQU7QZGC.js +4 -0
- package/dist/chunk-CHSZMJ5D.js +15103 -0
- package/dist/chunk-DDKQOHPW.js +930 -0
- package/dist/chunk-E5ZVE4VL.js +5 -0
- package/dist/chunk-FGBB7FT5.js +4 -0
- package/dist/chunk-FSH5K5FU.js +57 -0
- package/dist/chunk-G3PMV62Z.js +36 -0
- package/dist/chunk-IUB5YLUU.js +1538 -0
- package/dist/chunk-J7AP6FJF.js +8616 -0
- package/dist/chunk-LKOMEUNH.js +72 -0
- package/dist/chunk-NB57OIQA.js +2 -0
- package/dist/chunk-NLJE74VA.js +2 -0
- package/dist/chunk-NQBPWU5Z.js +15 -0
- package/dist/chunk-OJQYDPRD.js +39 -0
- package/dist/chunk-PDKFEXLU.js +59 -0
- package/dist/chunk-POG53MIA.js +2 -0
- package/dist/chunk-PXABHOW4.js +10871 -0
- package/dist/chunk-QDUG7UMV.js +363 -0
- package/dist/chunk-RFBBAUMM.js +2 -0
- package/dist/chunk-RJTKNOYT.js +67 -0
- package/dist/chunk-VH4656UY.js +2 -0
- package/dist/chunk-XAORGJWX.js +2 -0
- package/dist/chunk-Y77XXKLY.js +1858 -0
- package/dist/cs-EDLILQAV.js +1233 -0
- package/dist/cs-EOBDWVFI.js +2 -0
- package/dist/cs-Q732FDDB.js +98 -0
- package/dist/cs-UO3FC3H4.js +2 -0
- package/dist/da-43RMOYSN.js +98 -0
- package/dist/da-ANHSL3GD.js +2 -0
- package/dist/da-RBW34GCF.js +2 -0
- package/dist/da-SJ7YQT4L.js +1233 -0
- package/dist/de-2D2GW24Z.js +2 -0
- package/dist/de-5WGC4CMF.js +1233 -0
- package/dist/de-CPU2ARG7.js +98 -0
- package/dist/de-GVWNGUWZ.js +2 -0
- package/dist/deliverables-QUJISOBO.js +98 -0
- package/dist/deliverables-Z6ZBT6D3.js +2046 -0
- package/dist/el-FRNBHLQF.js +98 -0
- package/dist/el-HCBWOOCJ.js +1233 -0
- package/dist/el-KK7DBDUW.js +2 -0
- package/dist/el-SK362ZEN.js +2 -0
- package/dist/elements.css +2 -0
- package/dist/en-AU-BQA3DX35.js +1233 -0
- package/dist/en-AU-VZAXNXRA.js +2 -0
- package/dist/en-CA-T2VRZJVQ.js +2 -0
- package/dist/en-CA-ZWY5HD2Z.js +1233 -0
- package/dist/en-GB-CH3IGZSE.js +1233 -0
- package/dist/en-GB-MZQ2MGOR.js +2 -0
- package/dist/en-M24TV37U.js +2 -0
- package/dist/en-OURP64TI.js +2 -0
- package/dist/en-US-VWMNQOMN.js +2 -0
- package/dist/en-US-WJZ2OBFI.js +1233 -0
- package/dist/en-USCPKTM6.js +1233 -0
- package/dist/en-YND44PUO.js +98 -0
- package/dist/errors-7SQHRWKX.js +77 -0
- package/dist/errors-S6NFCUG2.js +2 -0
- package/dist/es-419-EMD4NA5M.js +2 -0
- package/dist/es-419-GPBJSXLV.js +2 -0
- package/dist/es-419-S6IHEZ4E.js +1233 -0
- package/dist/es-419-XPZOWYCA.js +98 -0
- package/dist/es-ES-EGMSPSY2.js +1233 -0
- package/dist/es-ES-U6NF6JHU.js +2 -0
- package/dist/es-es-ILD7QLKC.js +98 -0
- package/dist/es-es-MPX25JA6.js +2 -0
- package/dist/fa-5J3M6LW4.js +2 -0
- package/dist/fa-OC7ZPRF2.js +98 -0
- package/dist/fa-OFIO7IXD.js +1233 -0
- package/dist/fa-ZTPM4LEB.js +2 -0
- package/dist/fi-2V2STXSQ.js +2 -0
- package/dist/fi-7J4LPMG2.js +98 -0
- package/dist/fi-FMEAITYP.js +1233 -0
- package/dist/fi-N3BC4FYB.js +2 -0
- package/dist/fr-CA-IKSBTBHG.js +2 -0
- package/dist/fr-CA-S23ERMPM.js +1233 -0
- package/dist/fr-FR-RRTMSQWD.js +2 -0
- package/dist/fr-FR-SOIXFVK2.js +1233 -0
- package/dist/fr-ca-SUWTTOEW.js +2 -0
- package/dist/fr-ca-UUHAWMHI.js +98 -0
- package/dist/fr-fr-SGQ77PBC.js +98 -0
- package/dist/fr-fr-XE2V7MKM.js +2 -0
- package/dist/gu-RT7GQT5B.js +2 -0
- package/dist/gu-Z2QX2VCX.js +1233 -0
- package/dist/he-27MBDHSP.js +2 -0
- package/dist/he-E7RIZOIT.js +1233 -0
- package/dist/he-QGD477CH.js +98 -0
- package/dist/he-R3UJFF46.js +2 -0
- package/dist/hi-2AVAXR7K.js +1233 -0
- package/dist/hi-6ZBMVMGH.js +2 -0
- package/dist/hi-SGQH4OWG.js +98 -0
- package/dist/hi-XJHFN25N.js +2 -0
- package/dist/hls-C5FWCMHH.js +37426 -0
- package/dist/hls-ZQNRY2TQ.js +45 -0
- package/dist/hu-IOGZTF7L.js +2 -0
- package/dist/hu-KNZXJ7ZI.js +98 -0
- package/dist/hu-ORVGO3ZY.js +1233 -0
- package/dist/hu-PKL3T3JT.js +2 -0
- package/dist/id-FKFVQIN6.js +2 -0
- package/dist/id-JH2DLDBA.js +98 -0
- package/dist/id-TMOJUCBD.js +1233 -0
- package/dist/id-WLBO2VOW.js +2 -0
- package/dist/index.d.ts +2955 -0
- package/dist/index.js +67 -0
- package/dist/it-AGUEDSVA.js +2 -0
- package/dist/it-PJAB5BQB.js +98 -0
- package/dist/it-WF5BTFFJ.js +2 -0
- package/dist/it-YMZRYSIJ.js +1233 -0
- package/dist/ja-2ZVND7MB.js +2 -0
- package/dist/ja-555SY4AF.js +1233 -0
- package/dist/ja-RMBJ7E5Z.js +2 -0
- package/dist/ja-ZKBUQDUT.js +98 -0
- package/dist/kanorio-elements.js +97 -0
- package/dist/km-DF366BBP.js +1233 -0
- package/dist/km-JIUQ7MSM.js +2 -0
- package/dist/kn-KTJPREMQ.js +2 -0
- package/dist/kn-MJKASLJD.js +1233 -0
- package/dist/ko-CGY75OW4.js +2 -0
- package/dist/ko-KECCYX66.js +2 -0
- package/dist/ko-L5735TRU.js +98 -0
- package/dist/ko-S3OTZKIG.js +1233 -0
- package/dist/lo-7R55FKUB.js +1233 -0
- package/dist/lo-DNWTAFYF.js +2 -0
- package/dist/ml-B4BJPFVQ.js +2 -0
- package/dist/ml-FCTNQ4SP.js +1233 -0
- package/dist/mr-FJ4EDO7F.js +2 -0
- package/dist/mr-TZTFABWX.js +2 -0
- package/dist/mr-VZ5Y74YA.js +1233 -0
- package/dist/mr-Y464JCKX.js +98 -0
- package/dist/ms-VCX47GHB.js +2 -0
- package/dist/ms-WAJKD7ZV.js +1233 -0
- package/dist/my-S5L32WDK.js +2 -0
- package/dist/my-T7Y3Y64H.js +1233 -0
- package/dist/nb-53GCFBHF.js +2 -0
- package/dist/nb-IJDALVGX.js +99 -0
- package/dist/nb-LXBBUZUD.js +1233 -0
- package/dist/nb-PWWLEFUC.js +2 -0
- package/dist/ne-F7EEIDMA.js +2 -0
- package/dist/ne-NDLRKG6T.js +1233 -0
- package/dist/nl-262SKC6R.js +98 -0
- package/dist/nl-BE-3KOYUD6Y.js +1233 -0
- package/dist/nl-BE-VZJDK6CH.js +2 -0
- package/dist/nl-NL-3OIKN2DQ.js +2 -0
- package/dist/nl-NL-T7SQOLLA.js +1233 -0
- package/dist/nl-XKCUNU3P.js +2 -0
- package/dist/nn-AHWRAFXZ.js +1233 -0
- package/dist/nn-YH7F7UK3.js +2 -0
- package/dist/pa-HC24FOUI.js +2 -0
- package/dist/pa-J26C5J7M.js +1233 -0
- package/dist/pl-QSTOYTPG.js +1233 -0
- package/dist/pl-T7J6A26Y.js +2 -0
- package/dist/pl-TYHET6JJ.js +2 -0
- package/dist/pl-XDJJ6AUG.js +98 -0
- package/dist/prod-MRWX5W24.js +38 -0
- package/dist/prod-YHXWTKNF.js +2 -0
- package/dist/pt-BR-4QRR4PXU.js +2 -0
- package/dist/pt-BR-7JM75AGX.js +1233 -0
- package/dist/pt-PT-W3WZEROD.js +1233 -0
- package/dist/pt-PT-Z5FI4CLF.js +2 -0
- package/dist/pt-br-2W4P4ZAJ.js +2 -0
- package/dist/pt-br-JP6VI5C5.js +98 -0
- package/dist/pt-pt-22LJFZT5.js +98 -0
- package/dist/pt-pt-HOBFIPWZ.js +2 -0
- package/dist/ro-3KXIEYVK.js +98 -0
- package/dist/ro-3YUPB2TJ.js +1233 -0
- package/dist/ro-JXHNIBOA.js +2 -0
- package/dist/ro-KHPOLQC6.js +2 -0
- package/dist/ru-5ZVLKPFN.js +2 -0
- package/dist/ru-ASND25AB.js +2 -0
- package/dist/ru-ATGZC5LB.js +1233 -0
- package/dist/ru-W44AHOIC.js +98 -0
- package/dist/si-RHXLIDQI.js +1233 -0
- package/dist/si-U3O6NRHE.js +2 -0
- package/dist/srt-parser-6DEDUV5P.js +43 -0
- package/dist/srt-parser-E666S3YO.js +3 -0
- package/dist/ssa-parser-5GJ737XF.js +309 -0
- package/dist/ssa-parser-BR3CTDHR.js +5 -0
- package/dist/sv-5LOOKXJA.js +98 -0
- package/dist/sv-6GKNCPMS.js +2 -0
- package/dist/sv-LL3HMUIA.js +1233 -0
- package/dist/sv-RRJ6LYFT.js +2 -0
- package/dist/sw-HBNHIHPG.js +2 -0
- package/dist/sw-HP7MYGQ5.js +1233 -0
- package/dist/sw-NTSCFQXY.js +2 -0
- package/dist/sw-YIUB7QN3.js +98 -0
- package/dist/ta-4RG3PWN5.js +98 -0
- package/dist/ta-ARSNSDK5.js +2 -0
- package/dist/ta-Q2LBTDH6.js +2 -0
- package/dist/ta-Z5EVUBYF.js +1233 -0
- package/dist/te-FAWIFHVW.js +2 -0
- package/dist/te-FXJYUGGL.js +98 -0
- package/dist/te-GDV3DJFJ.js +1233 -0
- package/dist/te-TIMB7HBY.js +2 -0
- package/dist/th-7CEFYE5H.js +2 -0
- package/dist/th-CFAEFK3E.js +1233 -0
- package/dist/th-KGPTXFIF.js +2 -0
- package/dist/th-TC6J25FB.js +98 -0
- package/dist/tl-2JDK2CBL.js +2 -0
- package/dist/tl-SGZM4XSX.js +1233 -0
- package/dist/tr-27OEWIPE.js +1233 -0
- package/dist/tr-2MEHQO75.js +98 -0
- package/dist/tr-7P2UAX7U.js +2 -0
- package/dist/tr-NKD6C4RY.js +2 -0
- package/dist/uk-CXQISVJP.js +2 -0
- package/dist/uk-EJIGGLKY.js +1233 -0
- package/dist/uk-JCI3UE6Q.js +98 -0
- package/dist/uk-QM5BBWP7.js +2 -0
- package/dist/ur-5EWYHPME.js +1233 -0
- package/dist/ur-IIOUQYSA.js +98 -0
- package/dist/ur-M3QWGAPF.js +2 -0
- package/dist/ur-TLLPXSTM.js +2 -0
- package/dist/vi-AXQYYRD3.js +2 -0
- package/dist/vi-JALLXYS7.js +1233 -0
- package/dist/vi-SS65KZTI.js +2 -0
- package/dist/vi-YQVNQEVG.js +98 -0
- package/dist/vidstack-B9fTkxQO-LJP5ADOO.js +215 -0
- package/dist/vidstack-B9fTkxQO-OCT23G55.js +2 -0
- package/dist/vidstack-BmcqUMKx-A2W3TQB6.js +2 -0
- package/dist/vidstack-BmcqUMKx-G6TB22IC.js +286 -0
- package/dist/vidstack-C0fPJIzs-7AH6MOHO.js +2 -0
- package/dist/vidstack-C0fPJIzs-PNQOR4TK.js +11 -0
- package/dist/vidstack-CHcsWfRV-UAVLHO6N.js +40 -0
- package/dist/vidstack-CHcsWfRV-V52LFHYG.js +2 -0
- package/dist/vidstack-CvezEmSQ-JXKCQ4VQ.js +2 -0
- package/dist/vidstack-CvezEmSQ-R32NZKJ2.js +130 -0
- package/dist/vidstack-D2vrrUMs-7XAY5IBS.js +2 -0
- package/dist/vidstack-D2vrrUMs-FNQR2A5M.js +467 -0
- package/dist/vidstack-Di0HObvT-6ND3AXWZ.js +112 -0
- package/dist/vidstack-Di0HObvT-ZV7XK2OT.js +2 -0
- package/dist/vidstack-DiaLSJYx-H762DXYG.js +2 -0
- package/dist/vidstack-DiaLSJYx-S7DDW2H3.js +380 -0
- package/dist/vidstack-Dy74GavT-EYLL6MEF.js +2 -0
- package/dist/vidstack-Dy74GavT-XNIJ7PF4.js +11 -0
- package/dist/vidstack-GkTzay8D-C7EJKMV4.js +2 -0
- package/dist/vidstack-GkTzay8D-SQU5IF3P.js +482 -0
- package/dist/web-components.d.ts +12 -0
- package/dist/web-components.js +123 -0
- package/dist/worker.js +1 -0
- package/dist/zh-CN-PVVDP25S.js +2 -0
- package/dist/zh-CN-TLPNCXUN.js +1233 -0
- package/dist/zh-HK-GOKVZUJZ.js +1233 -0
- package/dist/zh-HK-Z5B2ANLW.js +2 -0
- package/dist/zh-Hant-2R7T4HJT.js +1233 -0
- package/dist/zh-Hant-MWAFLLDD.js +2 -0
- package/dist/zh-cn-D36OS2SI.js +2 -0
- package/dist/zh-cn-Z5YVUN62.js +98 -0
- package/dist/zh-tw-JWILJCBD.js +2 -0
- package/dist/zh-tw-X7JGMR4G.js +98 -0
- package/package.json +84 -3
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import"./chunk-RFBBAUMM.js";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");var ki=1,Ni=4,Li=8,Si=16,Di=1,Pi=2,jn="[",Gr="[!",Wr="]",yt={},ie=Symbol(),Oi="http://www.w3.org/1999/xhtml",Vi=!1;function Yr(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}var Xr=Array.isArray,Ti=Array.prototype.indexOf,Mi=Array.from,on=Object.keys,Tt=Object.defineProperty,tt=Object.getOwnPropertyDescriptor,Fi=Object.getOwnPropertyDescriptors,ji=Object.prototype,qi=Array.prototype,Jr=Object.getPrototypeOf,Dr=Object.isExtensible,bt=()=>{};function zr(e){for(var t=0;t<e.length;t++)e[t]()}function Hi(e,t,n=!1){return e===void 0?n?t():t:e}var me=2,Kr=4,dn=8,qn=16,Se=32,ot=64,ln=128,fe=256,an=512,le=1024,Ie=2048,it=4096,wt=8192,vn=16384,Ui=32768,Hn=65536,Bi=1<<19,Qr=1<<20,Ln=1<<21,Ot=Symbol("$state"),eo=Symbol("legacy props"),Zi=Symbol("");function Gi(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Wi(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Yi(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Xi(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ji(){throw new Error("https://svelte.dev/e/hydration_failed")}function zi(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ki(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Qi(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function el(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function hn(e){console.warn("https://svelte.dev/e/hydration_mismatch")}var V=!1;function mt(e){V=e}var O;function qe(e){if(e===null)throw hn(),yt;return O=e}function $t(){return qe(Be(O))}function W(e){if(V){if(Be(O)!==null)throw hn(),yt;O=e}}function tl(){for(var e=0,t=O;;){if(t.nodeType===8){var n=t.data;if(n===Wr){if(e===0)return t;e-=1}else(n===jn||n===Gr)&&(e+=1)}var o=Be(t);t.remove(),t=o}}var nl=!1;function Fe(e){if(typeof e!="object"||e===null||Ot in e)return e;let t=Jr(e);if(t!==ji&&t!==qi)return e;var n=new Map,o=Xr(e),a=D(0),l=N,u=c=>{var f=N;Re(l);var d=c();return Re(f),d};return o&&n.set("length",D(e.length)),new Proxy(e,{defineProperty(c,f,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Ki();var m=n.get(f);return m===void 0?(m=u(()=>D(d.value)),n.set(f,m)):b(m,u(()=>Fe(d.value))),!0},deleteProperty(c,f){var d=n.get(f);if(d===void 0)f in c&&(n.set(f,u(()=>D(ie))),Rn(a));else{if(o&&typeof f=="string"){var m=n.get("length"),h=Number(f);Number.isInteger(h)&&h<m.v&&b(m,h)}b(d,ie),Rn(a)}return!0},get(c,f,d){if(f===Ot)return e;var m=n.get(f),h=f in c;if(m===void 0&&(!h||tt(c,f)?.writable)&&(m=u(()=>D(Fe(h?c[f]:ie))),n.set(f,m)),m!==void 0){var y=i(m);return y===ie?void 0:y}return Reflect.get(c,f,d)},getOwnPropertyDescriptor(c,f){var d=Reflect.getOwnPropertyDescriptor(c,f);if(d&&"value"in d){var m=n.get(f);m&&(d.value=i(m))}else if(d===void 0){var h=n.get(f),y=h?.v;if(h!==void 0&&y!==ie)return{enumerable:!0,configurable:!0,value:y,writable:!0}}return d},has(c,f){if(f===Ot)return!0;var d=n.get(f),m=d!==void 0&&d.v!==ie||Reflect.has(c,f);if(d!==void 0||L!==null&&(!m||tt(c,f)?.writable)){d===void 0&&(d=u(()=>D(m?Fe(c[f]):ie)),n.set(f,d));var h=i(d);if(h===ie)return!1}return m},set(c,f,d,m){var h=n.get(f),y=f in c;if(o&&f==="length")for(var $=d;$<h.v;$+=1){var T=n.get($+"");T!==void 0?b(T,ie):$ in c&&(T=u(()=>D(ie)),n.set($+"",T))}h===void 0?(!y||tt(c,f)?.writable)&&(h=u(()=>D(void 0)),b(h,u(()=>Fe(d))),n.set(f,h)):(y=h.v!==ie,b(h,u(()=>Fe(d))));var M=Reflect.getOwnPropertyDescriptor(c,f);if(M?.set&&M.set.call(m,d),!y){if(o&&typeof f=="string"){var q=n.get("length"),A=Number(f);Number.isInteger(A)&&A>=q.v&&b(q,A+1)}Rn(a)}return!0},ownKeys(c){i(a);var f=Reflect.ownKeys(c).filter(h=>{var y=n.get(h);return y===void 0||y.v!==ie});for(var[d,m]of n)m.v!==ie&&!(d in c)&&f.push(d);return f},setPrototypeOf(){Qi()}})}function Rn(e,t=1){b(e,e.v+t)}var Pr,to,no,ro;function Sn(){if(Pr===void 0){Pr=window,to=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;no=tt(t,"firstChild").get,ro=tt(t,"nextSibling").get,Dr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Dr(n)&&(n.__t=void 0)}}function gn(e=""){return document.createTextNode(e)}function he(e){return no.call(e)}function Be(e){return ro.call(e)}function Y(e,t){if(!V)return he(e);var n=he(O);return n===null&&(n=O.appendChild(gn())),qe(n),n}function St(e,t){if(!V){var n=he(e);return n instanceof Comment&&n.data===""?Be(n):n}return O}function X(e,t=1,n=!1){let o=V?O:e;for(var a;t--;)a=o,o=Be(o);if(!V)return o;var l=o?.nodeType;if(n&&l!==3){var u=gn();return o===null?a?.after(u):o.before(u),qe(u),u}return qe(o),o}function rl(e){e.textContent=""}function oo(e){return e===this.v}function io(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Un(e){return!io(e,this.v)}function pn(e){var t=me|Ie,n=N!==null&&(N.f&me)!==0?N:null;return L===null||n!==null&&(n.f&fe)!==0?t|=fe:L.f|=Qr,{ctx:re,deps:null,effects:null,equals:oo,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:n??L}}function Dt(e){let t=pn(e);return bo(t),t}function ol(e){let t=pn(e);return t.equals=Un,t}function lo(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)He(t[n])}}function il(e){for(var t=e.parent;t!==null;){if((t.f&me)===0)return t;t=t.parent}return null}function ao(e){var t,n=L;Ue(il(e));try{lo(e),t=Co(e)}finally{Ue(n)}return t}function so(e){var t=ao(e),n=(je||(e.f&fe)!==0)&&e.deps!==null?it:le;ye(e,n),e.equals(t)||(e.v=t,e.wv=$o())}function ll(e){L===null&&N===null&&Yi(),N!==null&&(N.f&fe)!==0&&L===null&&Wi(),qt&&Gi()}function al(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function lt(e,t,n,o=!0){var a=L,l={ctx:re,deps:null,nodes_start:null,nodes_end:null,f:e|Ie,first:null,fn:t,last:null,next:null,parent:a,prev:null,teardown:null,transitions:null,wv:0};if(n)try{Yn(l),l.f|=Ui}catch(f){throw He(l),f}else t!==null&&yn(l);var u=n&&l.deps===null&&l.first===null&&l.nodes_start===null&&l.teardown===null&&(l.f&(Qr|ln))===0;if(!u&&o&&(a!==null&&al(l,a),N!==null&&(N.f&me)!==0)){var c=N;(c.effects??=[]).push(l)}return l}function Bn(e){let t=lt(dn,null,!1);return ye(t,le),t.teardown=e,t}function Dn(e){ll();var t=L!==null&&(L.f&Se)!==0&&re!==null&&!re.m;if(t){var n=re;(n.e??=[]).push({fn:e,effect:L,reaction:N})}else{var o=Zn(e);return o}}function sl(e){let t=lt(ot,e,!0);return()=>{He(t)}}function ul(e){let t=lt(ot,e,!0);return(n={})=>new Promise(o=>{n.outro?On(t,()=>{He(t),o(void 0)}):(He(t),o(void 0))})}function Zn(e){return lt(Kr,e,!1)}function Gn(e){return lt(dn,e,!0)}function xe(e,t=[],n=pn){let o=t.map(n);return uo(()=>e(...o.map(i)))}function uo(e,t=0){return lt(dn|qn|t,e,!0)}function Pn(e,t=!0){return lt(dn|Se,e,!0,t)}function co(e){var t=e.teardown;if(t!==null){let n=qt,o=N;Vr(!0),Re(null);try{t.call(null)}finally{Vr(n),Re(o)}}}function fo(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){var o=n.next;(n.f&ot)!==0?n.parent=null:He(n,t),n=o}}function cl(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Se)===0&&He(t),t=n}}function He(e,t=!0){var n=!1;(t||(e.f&Bi)!==0)&&e.nodes_start!==null&&(vo(e.nodes_start,e.nodes_end),n=!0),fo(e,t&&!n),fn(e,0),ye(e,vn);var o=e.transitions;if(o!==null)for(let l of o)l.stop();co(e);var a=e.parent;a!==null&&a.first!==null&&ho(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function vo(e,t){for(;e!==null;){var n=e===t?null:Be(e);e.remove(),e=n}}function ho(e){var t=e.parent,n=e.prev,o=e.next;n!==null&&(n.next=o),o!==null&&(o.prev=n),t!==null&&(t.first===e&&(t.first=o),t.last===e&&(t.last=n))}function On(e,t){var n=[];go(e,n,!0),fl(n,()=>{He(e),t&&t()})}function fl(e,t){var n=e.length;if(n>0){var o=()=>--n||t();for(var a of e)a.out(o)}else t()}function go(e,t,n){if((e.f&wt)===0){if(e.f^=wt,e.transitions!==null)for(let u of e.transitions)(u.is_global||n)&&t.push(u);for(var o=e.first;o!==null;){var a=o.next,l=(o.f&Hn)!==0||(o.f&Se)!==0;go(o,t,l?n:!1),o=a}}}function Or(e){po(e,!0)}function po(e,t){if((e.f&wt)!==0){e.f^=wt,(e.f&le)===0&&(e.f^=le),Ht(e)&&(ye(e,Ie),yn(e));for(var n=e.first;n!==null;){var o=n.next,a=(n.f&Hn)!==0||(n.f&Se)!==0;po(n,a?t:!1),n=o}if(e.transitions!==null)for(let l of e.transitions)(l.is_global||t)&&l.in()}}var dl=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback,Mt=[],Ft=[];function mo(){var e=Mt;Mt=[],zr(e)}function yo(){var e=Ft;Ft=[],zr(e)}function Wn(e){Mt.length===0&&queueMicrotask(mo),Mt.push(e)}function vl(e){Ft.length===0&&dl(yo),Ft.push(e)}function hl(){Mt.length>0&&mo(),Ft.length>0&&yo()}var tn=!1,sn=!1,un=null,nt=!1,qt=!1;function Vr(e){qt=e}var Vt=[],N=null,_e=!1;function Re(e){N=e}var L=null;function Ue(e){L=e}var Le=null;function bo(e){N!==null&&N.f&Ln&&(Le===null?Le=[e]:Le.push(e))}var ne=null,ce=0,ve=null;function gl(e){ve=e}var wo=1,cn=0,je=!1;function $o(){return++wo}function Ht(e){var t=e.f;if((t&Ie)!==0)return!0;if((t&it)!==0){var n=e.deps,o=(t&fe)!==0;if(n!==null){var a,l,u=(t&an)!==0,c=o&&L!==null&&!je,f=n.length;if(u||c){var d=e,m=d.parent;for(a=0;a<f;a++)l=n[a],(u||!l?.reactions?.includes(d))&&(l.reactions??=[]).push(d);u&&(d.f^=an),c&&m!==null&&(m.f&fe)===0&&(d.f^=fe)}for(a=0;a<f;a++)if(l=n[a],Ht(l)&&so(l),l.wv>e.wv)return!0}(!o||L!==null&&!je)&&ye(e,le)}return!1}function pl(e,t){for(var n=t;n!==null;){if((n.f&ln)!==0)try{n.fn(e);return}catch{n.f^=ln}n=n.parent}throw tn=!1,e}function Tr(e){return(e.f&vn)===0&&(e.parent===null||(e.parent.f&ln)===0)}function mn(e,t,n,o){if(tn){if(n===null&&(tn=!1),Tr(t))throw e;return}if(n!==null&&(tn=!0),pl(e,t),Tr(t))throw e}function Eo(e,t,n=!0){var o=e.reactions;if(o!==null)for(var a=0;a<o.length;a++){var l=o[a];Le?.includes(e)||((l.f&me)!==0?Eo(l,t,!1):t===l&&(n?ye(l,Ie):(l.f&le)!==0&&ye(l,it),yn(l)))}}function Co(e){var t=ne,n=ce,o=ve,a=N,l=je,u=Le,c=re,f=_e,d=e.f;ne=null,ce=0,ve=null,je=(d&fe)!==0&&(_e||!nt||N===null),N=(d&(Se|ot))===0?e:null,Le=null,Mr(e.ctx),_e=!1,cn++,e.f|=Ln;try{var m=(0,e.fn)(),h=e.deps;if(ne!==null){var y;if(fn(e,ce),h!==null&&ce>0)for(h.length=ce+ne.length,y=0;y<ne.length;y++)h[ce+y]=ne[y];else e.deps=h=ne;if(!je)for(y=ce;y<h.length;y++)(h[y].reactions??=[]).push(e)}else h!==null&&ce<h.length&&(fn(e,ce),h.length=ce);if(ko()&&ve!==null&&!_e&&h!==null&&(e.f&(me|it|Ie))===0)for(y=0;y<ve.length;y++)Eo(ve[y],e);return a!==null&&a!==e&&(cn++,ve!==null&&(o===null?o=ve:o.push(...ve))),m}finally{ne=t,ce=n,ve=o,N=a,je=l,Le=u,Mr(c),_e=f,e.f^=Ln}}function ml(e,t){let n=t.reactions;if(n!==null){var o=Ti.call(n,e);if(o!==-1){var a=n.length-1;a===0?n=t.reactions=null:(n[o]=n[a],n.pop())}}n===null&&(t.f&me)!==0&&(ne===null||!ne.includes(t))&&(ye(t,it),(t.f&(fe|an))===0&&(t.f^=an),lo(t),fn(t,0))}function fn(e,t){var n=e.deps;if(n!==null)for(var o=t;o<n.length;o++)ml(e,n[o])}function Yn(e){var t=e.f;if((t&vn)===0){ye(e,le);var n=L,o=re,a=nt;L=e,nt=!0;try{(t&qn)!==0?cl(e):fo(e),co(e);var l=Co(e);e.teardown=typeof l=="function"?l:null,e.wv=wo;var u=e.deps,c;Vi&&nl&&e.f&Ie}catch(f){mn(f,e,n,o||e.ctx)}finally{nt=a,L=n}}}function yl(){try{Xi()}catch(e){if(un!==null)mn(e,un,null);else throw e}}function xo(){var e=nt;try{var t=0;for(nt=!0;Vt.length>0;){t++>1e3&&yl();var n=Vt,o=n.length;Vt=[];for(var a=0;a<o;a++){var l=wl(n[a]);bl(l)}jt.clear()}}finally{sn=!1,nt=e,un=null}}function bl(e){var t=e.length;if(t!==0)for(var n=0;n<t;n++){var o=e[n];if((o.f&(vn|wt))===0)try{Ht(o)&&(Yn(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null?ho(o):o.fn=null))}catch(a){mn(a,o,null,o.ctx)}}}function yn(e){sn||(sn=!0,queueMicrotask(xo));for(var t=un=e;t.parent!==null;){t=t.parent;var n=t.f;if((n&(ot|Se))!==0){if((n&le)===0)return;t.f^=le}}Vt.push(t)}function wl(e){for(var t=[],n=e;n!==null;){var o=n.f,a=(o&(Se|ot))!==0,l=a&&(o&le)!==0;if(!l&&(o&wt)===0){if((o&Kr)!==0)t.push(n);else if(a)n.f^=le;else try{Ht(n)&&Yn(n)}catch(f){mn(f,n,null,n.ctx)}var u=n.first;if(u!==null){n=u;continue}}var c=n.parent;for(n=n.next;n===null&&c!==null;)n=c.next,c=c.parent}return t}function E(e){for(var t;;){if(hl(),Vt.length===0)return t;sn=!0,xo()}}async function kn(){await Promise.resolve(),E()}function i(e){var t=e.f,n=(t&me)!==0;if(N!==null&&!_e){if(!Le?.includes(e)){var o=N.deps;e.rv<cn&&(e.rv=cn,ne===null&&o!==null&&o[ce]===e?ce++:ne===null?ne=[e]:(!je||!ne.includes(e))&&ne.push(e))}}else if(n&&e.deps===null&&e.effects===null){var a=e,l=a.parent;l!==null&&(l.f&fe)===0&&(a.f^=fe)}return n&&(a=e,Ht(a)&&so(a)),qt&&jt.has(e)?jt.get(e):e.v}function rt(e){var t=_e;try{return _e=!0,e()}finally{_e=t}}var $l=-7169;function ye(e,t){e.f=e.f&$l|t}var jt=new Map;function _o(e,t){var n={f:0,v:e,reactions:null,equals:oo,rv:0,wv:0};return n}function D(e,t){let n=_o(e);return bo(n),n}function Xn(e,t=!1){let n=_o(e);return t||(n.equals=Un),n}function b(e,t,n=!1){N!==null&&!_e&&ko()&&(N.f&(me|qn))!==0&&!Le?.includes(e)&&el();let o=n?Fe(t):t;return El(e,o)}function El(e,t){if(!e.equals(t)){var n=e.v;qt?jt.set(e,t):jt.set(e,n),e.v=t,(e.f&me)!==0&&((e.f&Ie)!==0&&ao(e),ye(e,(e.f&fe)===0?le:it)),e.wv=$o(),Ao(e,Ie),L!==null&&(L.f&le)!==0&&(L.f&(Se|ot))===0&&(ve===null?gl([e]):ve.push(e))}return t}function Ao(e,t){var n=e.reactions;if(n!==null)for(var o=n.length,a=0;a<o;a++){var l=n[a],u=l.f;(u&Ie)===0&&(ye(l,t),(u&(le|fe))!==0&&((u&me)!==0?Ao(l,it):yn(l)))}}var re=null;function Mr(e){re=e}function Io(e,t=!1,n){var o=re={p:re,c:null,d:!1,e:null,m:!1,s:e,x:null,l:null};Bn(()=>{o.d=!0})}function Ro(e){let t=re;if(t!==null){e!==void 0&&(t.x=e);let u=t.e;if(u!==null){var n=L,o=N;t.e=null;try{for(var a=0;a<u.length;a++){var l=u[a];Ue(l.effect),Re(l.reaction),Zn(l.fn)}}finally{Ue(n),Re(o)}}re=t.p,t.m=!0}return e||{}}function ko(){return!0}var Cl=["touchstart","touchmove"];function xl(e){return Cl.includes(e)}function _l(e,t){if(t){let n=document.body;e.autofocus=!0,Wn(()=>{document.activeElement===n&&e.focus()})}}var Fr=!1;function No(){Fr||(Fr=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Lo(e){var t=N,n=L;Re(null),Ue(null);try{return e()}finally{Re(t),Ue(n)}}function Al(e,t,n,o=n){e.addEventListener(t,()=>Lo(n));let a=e.__on_r;a?e.__on_r=()=>{a(),o(!0)}:e.__on_r=()=>o(!0),No()}var So=new Set,Vn=new Set;function Il(e,t,n,o={}){function a(l){if(o.capture||Pt.call(t,l),!l.cancelBubble)return Lo(()=>n?.call(this,l))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Wn(()=>{t.addEventListener(e,a,o)}):t.addEventListener(e,a,o),a}function Me(e,t,n,o,a){var l={capture:o,passive:a},u=Il(e,t,n,l);(t===document.body||t===window||t===document)&&Bn(()=>{t.removeEventListener(e,u,l)})}function Rl(e){for(var t=0;t<e.length;t++)So.add(e[t]);for(var n of Vn)n(e)}function Pt(e){var t=this,n=t.ownerDocument,o=e.type,a=e.composedPath?.()||[],l=a[0]||e.target,u=0,c=e.__root;if(c){var f=a.indexOf(c);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var d=a.indexOf(t);if(d===-1)return;f<=d&&(u=f)}if(l=a[u]||e.target,l!==t){Tt(e,"currentTarget",{configurable:!0,get(){return l||n}});var m=N,h=L;Re(null),Ue(null);try{for(var y,$=[];l!==null;){var T=l.assignedSlot||l.parentNode||l.host||null;try{var M=l["__"+o];if(M!=null&&(!l.disabled||e.target===l))if(Xr(M)){var[q,...A]=M;q.apply(l,[e,...A])}else M.call(l,e)}catch(Q){y?$.push(Q):y=Q}if(e.cancelBubble||T===t||T===null)break;l=T}if(y){for(let Q of $)queueMicrotask(()=>{throw Q});throw y}}finally{e.__root=t,delete e.currentTarget,Re(m),Ue(h)}}}function Jn(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function Ae(e,t){var n=L;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function be(e,t){var n=(t&Di)!==0,o=(t&Pi)!==0,a,l=!e.startsWith("<!>");return()=>{if(V)return Ae(O,null),O;a===void 0&&(a=Jn(l?e:"<!>"+e),n||(a=he(a)));var u=o||to?document.importNode(a,!0):a.cloneNode(!0);if(n){var c=he(u),f=u.lastChild;Ae(c,f)}else Ae(u,u);return u}}function bn(e,t,n="svg"){var o=!e.startsWith("<!>"),a=`<${n}>${o?e:"<!>"+e}</${n}>`,l;return()=>{if(V)return Ae(O,null),O;if(!l){var u=Jn(a),c=he(u);l=he(c)}var f=l.cloneNode(!0);return Ae(f,f),f}}function Kt(){if(V)return Ae(O,null),O;var e=document.createDocumentFragment(),t=document.createComment(""),n=gn();return e.append(t,n),Ae(t,n),e}function U(e,t){if(V){L.nodes_end=O,$t();return}e!==null&&e.before(t)}function kl(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Do(e,t){return Po(e,t)}function Nl(e,t){Sn(),t.intro=t.intro??!1;let n=t.target,o=V,a=O;try{for(var l=he(n);l&&(l.nodeType!==8||l.data!==jn);)l=Be(l);if(!l)throw yt;mt(!0),qe(l),$t();let u=Po(e,{...t,anchor:l});if(O===null||O.nodeType!==8||O.data!==Wr)throw hn(),yt;return mt(!1),u}catch(u){if(u===yt)return t.recover===!1&&Ji(),Sn(),rl(n),mt(!1),Do(e,t);throw u}finally{mt(o),qe(a)}}var gt=new Map;function Po(e,{target:t,anchor:n,props:o={},events:a,context:l,intro:u=!0}){Sn();var c=new Set,f=h=>{for(var y=0;y<h.length;y++){var $=h[y];if(!c.has($)){c.add($);var T=xl($);t.addEventListener($,Pt,{passive:T});var M=gt.get($);M===void 0?(document.addEventListener($,Pt,{passive:T}),gt.set($,1)):gt.set($,M+1)}}};f(Mi(So)),Vn.add(f);var d=void 0,m=ul(()=>{var h=n??t.appendChild(gn());return Pn(()=>{if(l){Io({});var y=re;y.c=l}a&&(o.$$events=a),V&&Ae(h,null),d=e(h,o)||{},V&&(L.nodes_end=O),l&&Ro()}),()=>{for(var y of c){t.removeEventListener(y,Pt);var $=gt.get(y);--$===0?(document.removeEventListener(y,Pt),gt.delete(y)):gt.set(y,$)}Vn.delete(f),h!==n&&h.parentNode?.removeChild(h)}});return Tn.set(d,m),d}var Tn=new WeakMap;function Ll(e,t){let n=Tn.get(e);return n?(Tn.delete(e),n(t)):Promise.resolve()}function J(e,t,[n,o]=[0,0]){V&&n===0&&$t();var a=e,l=null,u=null,c=ie,f=n>0?Hn:0,d=!1;let m=(y,$=!0)=>{d=!0,h($,y)},h=(y,$)=>{if(c===(c=y))return;let T=!1;if(V&&o!==-1){if(n===0){let q=a.data;q===jn?o=0:q===Gr?o=1/0:(o=parseInt(q.substring(1)),o!==o&&(o=c?1/0:-1))}let M=o>n;!!c===M&&(a=tl(),qe(a),mt(!1),T=!0,o=-1)}c?(l?Or(l):$&&(l=Pn(()=>$(a))),u&&On(u,()=>{u=null})):(u?Or(u):$&&(u=Pn(()=>$(a,[n+1,o]))),l&&On(l,()=>{l=null})),T&&mt(!0)};uo(()=>{d=!1,t(m),d||h(null,null)},f),V&&(a=O)}function et(e,t,n=!1,o=!1,a=!1){var l=e,u="";xe(()=>{var c=L;if(u===(u=t()??"")){V&&$t();return}if(c.nodes_start!==null&&(vo(c.nodes_start,c.nodes_end),c.nodes_start=c.nodes_end=null),u!==""){if(V){O.data;for(var f=$t(),d=f;f!==null&&(f.nodeType!==8||f.data!=="");)d=f,f=Be(f);if(f===null)throw hn(),yt;Ae(O,d),l=qe(f);return}var m=u+"";n?m=`<svg>${m}</svg>`:o&&(m=`<math>${m}</math>`);var h=Jn(m);if((n||o)&&(h=he(h)),Ae(he(h),h.lastChild),n||o)for(;he(h);)l.before(he(h));else l.before(h)}})}function Sl(e,t,n,o,a){V&&$t();var l=t.$$slots?.[n],u=!1;l===!0&&(l=t.children,u=!0),l===void 0||l(e,u?()=>o:o)}var jr=[...`
|
|
2
|
+
\r\f\xA0\v\uFEFF`];function Dl(e,t,n){var o=""+e;if(n){for(var a in n)if(n[a])o=o?o+" "+a:a;else if(o.length)for(var l=a.length,u=0;(u=o.indexOf(a,u))>=0;){var c=u+l;(u===0||jr.includes(o[u-1]))&&(c===o.length||jr.includes(o[c]))?o=(u===0?"":o.substring(0,u))+o.substring(c+1):u=c}}return o===""?null:o}function Pl(e,t,n,o,a,l){var u=e.__className;if(V||u!==n||u===void 0){var c=Dl(n,o,l);(!V||c!==e.getAttribute("class"))&&(c==null?e.removeAttribute("class"):e.className=c),e.__className=n}else if(l&&a!==l)for(var f in l){var d=!!l[f];(a==null||d!==!!a[f])&&e.classList.toggle(f,d)}return l}var Ol=Symbol("is custom element"),Vl=Symbol("is html");function qr(e){if(V){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var o=e.value;k(e,"value",null),e.value=o}if(e.hasAttribute("checked")){var a=e.checked;k(e,"checked",null),e.checked=a}}};e.__on_r=n,vl(n),No()}}function Tl(e,t){var n=Oo(e);n.value===(n.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!=="PROGRESS")||(e.value=t??"")}function k(e,t,n,o){var a=Oo(e);V&&(a[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||a[t]!==(a[t]=n)&&(t==="loading"&&(e[Zi]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Ml(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Oo(e){return e.__attributes??={[Ol]:e.nodeName.includes("-"),[Vl]:e.namespaceURI===Oi}}var Hr=new Map;function Ml(e){var t=Hr.get(e.nodeName);if(t)return t;Hr.set(e.nodeName,t=[]);for(var n,o=e,a=Element.prototype;a!==o;){n=Fi(o);for(var l in n)n[l].set&&t.push(l);o=Jr(o)}return t}function Fl(e,t,n=t){Al(e,"change",o=>{var a=o?e.defaultChecked:e.checked;n(a)}),(V&&e.defaultChecked!==e.checked||rt(t)==null)&&n(e.checked),Gn(()=>{var o=t();e.checked=!!o})}function Ur(e,t){return e===t||e?.[Ot]===t}function Qt(e={},t,n,o){return Zn(()=>{var a,l;return Gn(()=>{a=l,l=[],rt(()=>{e!==n(...l)&&(t(e,...l),a&&Ur(n(...a),e)&&t(null,...a))})}),()=>{Wn(()=>{l&&Ur(n(...l),e)&&t(null,...l)})}}),e}function Vo(e){re===null&&Yr(),Dn(()=>{let t=rt(e);if(typeof t=="function")return t})}function jl(e){re===null&&Yr(),Vo(()=>()=>rt(e))}function To(e,t,n){if(e==null)return t(void 0),bt;let o=rt(()=>e.subscribe(t,n));return o.unsubscribe?()=>o.unsubscribe():o}var pt=[];function ql(e,t=bt){let n=null,o=new Set;function a(c){if(io(e,c)&&(e=c,n)){let f=!pt.length;for(let d of o)d[1](),pt.push(d,e);if(f){for(let d=0;d<pt.length;d+=2)pt[d][0](pt[d+1]);pt.length=0}}}function l(c){a(c(e))}function u(c,f=bt){let d=[c,f];return o.add(d),o.size===1&&(n=t(a,l)||bt),c(e),()=>{o.delete(d),o.size===0&&n&&(n(),n=null)}}return{set:a,update:l,subscribe:u}}function nn(e){let t;return To(e,n=>t=n)(),t}var en=!1,Mn=Symbol();function Hl(e,t,n){let o=n[t]??={store:null,source:Xn(void 0),unsubscribe:bt};if(o.store!==e&&!(Mn in n))if(o.unsubscribe(),o.store=e??null,e==null)o.source.v=void 0,o.unsubscribe=bt;else{var a=!0;o.unsubscribe=To(e,l=>{a?o.source.v=l:b(o.source,l)}),a=!1}return e&&Mn in n?nn(e):i(o.source)}function Ul(){let e={};function t(){Bn(()=>{for(var n in e)e[n].unsubscribe();Tt(e,Mn,{enumerable:!1,value:!0})})}return[e,t]}function Bl(e){var t=en;try{return en=!1,[e(),en]}finally{en=t}}function Br(e){return e.ctx?.d??!1}function C(e,t,n,o){var a=(n&ki)!==0,l=!0,u=(n&Li)!==0,c=(n&Si)!==0,f=!1,d;u?[d,f]=Bl(()=>e[t]):d=e[t];var m=Ot in e||eo in e,h=u&&(tt(e,t)?.set??(m&&t in e&&(H=>e[t]=H)))||void 0,y=o,$=!0,T=!1,M=()=>(T=!0,$&&($=!1,c?y=rt(o):y=o),y);d===void 0&&o!==void 0&&(h&&l&&zi(),d=M(),h&&h(d));var q;if(q=()=>{var H=e[t];return H===void 0?M():($=!0,T=!1,H)},(n&Ni)===0)return q;if(h){var A=e.$$legacy;return function(H,ae){return arguments.length>0?((!ae||A||f)&&h(ae?q():H),H):q()}}var Q=!1,ke=Xn(d),z=pn(()=>{var H=q(),ae=i(ke);return Q?(Q=!1,ae):ke.v=H});return u&&i(z),a||(z.equals=Un),function(H,ae){if(arguments.length>0){let Ze=ae?i(z):u?Fe(H):H;if(!z.equals(Ze)){if(Q=!0,b(ke,Ze),T&&y!==void 0&&(y=Ze),Br(z))return H;rt(()=>i(z))}return H}return Br(z)?z.v:i(z)}}function Zl(e){return new Fn(e)}var Fn=class{#t;#e;constructor(t){var n=new Map,o=(l,u)=>{var c=Xn(u);return n.set(l,c),c};let a=new Proxy({...t.props||{},$$events:{}},{get(l,u){return i(n.get(u)??o(u,Reflect.get(l,u)))},has(l,u){return u===eo?!0:(i(n.get(u)??o(u,Reflect.get(l,u))),Reflect.has(l,u))},set(l,u,c){return b(n.get(u)??o(u,c),c),Reflect.set(l,u,c)}});this.#e=(t.hydrate?Nl:Do)(t.component,{target:t.target,anchor:t.anchor,props:a,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&E(),this.#t=a.$$events;for(let l of Object.keys(this.#e))l==="$set"||l==="$destroy"||l==="$on"||Tt(this,l,{get(){return this.#e[l]},set(u){this.#e[l]=u},enumerable:!0});this.#e.$set=l=>{Object.assign(a,l)},this.#e.$destroy=()=>{Ll(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];let o=(...a)=>n.call(this,...a);return this.#t[t].push(o),()=>{this.#t[t]=this.#t[t].filter(a=>a!==o)}}$destroy(){this.#e.$destroy()}},Mo;typeof HTMLElement=="function"&&(Mo=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let o=this.$$c.$on(e,t);this.$$l_u.set(t,o)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let o=this.$$l_u.get(t);o&&(o(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(o){return a=>{let l=document.createElement("slot");o!=="default"&&(l.name=o),U(a,l)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;let t={},n=Gl(this);for(let o of this.$$s)o in n&&(o==="default"&&!this.$$d.children?(this.$$d.children=e(o),t.default=!0):t[o]=e(o));for(let o of this.attributes){let a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=rn(a,o.value,this.$$p_d,"toProp"))}for(let o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=Zl({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=sl(()=>{Gn(()=>{this.$$r=!0;for(let o of on(this.$$c)){if(!this.$$p_d[o]?.reflect)continue;this.$$d[o]=this.$$c[o];let a=rn(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1})});for(let o in this.$$l)for(let a of this.$$l[o]){let l=this.$$c.$on(o,a);this.$$l_u.set(a,l)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=rn(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 on(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function rn(e,t,n,o){let a=n[e]?.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!n[e])return t;if(o==="toAttribute")switch(a){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Gl(e){let t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Wl(e,t,n,o,a,l){let u=class extends Mo{constructor(){super(e,n,a),this.$$p_d=t}static get observedAttributes(){return on(t).map(c=>(t[c].attribute||c).toLowerCase())}};return on(t).forEach(c=>{Tt(u.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(f){f=rn(c,f,t),this.$$d[c]=f;var d=this.$$c;if(d){var m=tt(d,c)?.get;m?d[c]=f:d.$set({[c]:f})}}})}),o.forEach(c=>{Tt(u.prototype,c,{get(){return this.$$c?.[c]}})}),e.element=u,u}var Fo=new TextEncoder;function Yl(e){return[...new Uint8Array(e)].map(t=>t.toString(16).padStart(2,"0")).join("")}async function Xl(e,t="SHA-256",n=1e5){let o=Date.now().toString(16);e||(e=Math.round(Math.random()*n));let a=await jo(o,e,t);return{algorithm:t,challenge:a,salt:o,signature:""}}async function jo(e,t,n){if(typeof crypto>"u"||!("subtle"in crypto)||!("digest"in crypto.subtle))throw new Error("Web Crypto is not available. Secure context is required (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).");return Yl(await crypto.subtle.digest(n.toUpperCase(),Fo.encode(e+t)))}function Jl(e,t,n="SHA-256",o=1e6,a=0){let l=new AbortController,u=Date.now();return{promise:(async()=>{for(let c=a;c<=o;c+=1){if(l.signal.aborted)return null;if(await jo(t,c,n)===e)return{number:c,took:Date.now()-u}}return null})(),controller:l}}function Zr(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function zl(e){let t=atob(e),n=new Uint8Array(t.length);for(let o=0;o<t.length;o++)n[o]=t.charCodeAt(o);return n}function Kl(e,t=12){let n=new Uint8Array(t);for(let o=0;o<t;o++)n[o]=e%256,e=Math.floor(e/256);return n}async function Ql(e,t="",n=1e6,o=0){let a="AES-GCM",l=new AbortController,u=Date.now(),c=async()=>{for(let m=o;m<=n;m+=1){if(l.signal.aborted||!f||!d)return null;try{let h=await crypto.subtle.decrypt({name:a,iv:Kl(m)},f,d);if(h)return{clearText:new TextDecoder().decode(h),took:Date.now()-u}}catch{}}return null},f=null,d=null;try{d=zl(e);let m=await crypto.subtle.digest("SHA-256",Fo.encode(t));f=await crypto.subtle.importKey("raw",m,a,!1,["decrypt"])}catch{return{promise:Promise.reject(),controller:l}}return{promise:c(),controller:l}}var w=(e=>(e.CODE="code",e.ERROR="error",e.VERIFIED="verified",e.VERIFYING="verifying",e.UNVERIFIED="unverified",e.EXPIRED="expired",e))(w||{}),K=(e=>(e.ERROR="error",e.LOADING="loading",e.PLAYING="playing",e.PAUSED="paused",e.READY="ready",e))(K||{});globalThis.altchaPlugins=globalThis.altchaPlugins||[];globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>nn(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(nn(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(nn(globalThis.altchaI18n.store))},store:ql({})};var ea={ariaLinkLabel:"Visit Altcha.org",enterCode:"Enter code",enterCodeAria:"Enter code you hear. Press Space to play audio.",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."};globalThis.altchaI18n.set("en",ea);var Nn=(e,t)=>{let n=ol(()=>Hi(t?.(),24));var o=oa();xe(()=>{k(o,"width",i(n)),k(o,"height",i(n))}),U(e,o)};function ta(e,t){e.code==="Space"&&(e.preventDefault(),e.stopImmediatePropagation(),t())}function na(e,t){e.preventDefault(),t()}function ra(e,t,n,o,a,l,u,c){[w.UNVERIFIED,w.ERROR,w.EXPIRED,w.CODE].includes(i(t))?n()!==!1&&i(o)?.reportValidity()===!1?b(a,!1):l()?u():c():b(a,!0)}var oa=bn('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="altcha-spinner"><path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" fill="currentColor" opacity=".25"></path><path d="M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z" fill="currentColor"></path></svg>'),ia=be('<input type="hidden">'),la=be('<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>'),aa=bn('<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>'),sa=bn('<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>'),ua=bn('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 12H7C8.10457 12 9 12.8954 9 14V19C9 20.1046 8.10457 21 7 21H4C2.89543 21 2 20.1046 2 19V12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12V19C22 20.1046 21.1046 21 20 21H17C15.8954 21 15 20.1046 15 19V14C15 12.8954 15.8954 12 17 12H20C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12Z"></path></svg>'),ca=be('<button type="button" class="altcha-code-challenge-audio"><!></button>'),fa=be("<audio hidden autoplay><source></audio>"),da=be('<div class="altcha-code-challenge" role="dialog"><div class="altcha-code-challenge-arrow"></div> <form data-code-challenge-form="1"><img class="altcha-code-challenge-image" alt=""> <input type="text" autocomplete="off" name="code" class="altcha-code-challenge-input" required> <div class="altcha-code-challenge-buttons"><div class="altcha-code-challenge-buttons-left"><!> <button type="button" class="altcha-code-challenge-reload"><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> <button type="submit" class="altcha-code-challenge-verify"><!> </button></div> <!></form></div>'),va=be("<div><!></div>"),ha=be("<div><!></div>"),ga=be('<div class="altcha-error"><svg width="14" height="14" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path></svg> <!></div>'),pa=be('<div class="altcha-footer"><div><!></div></div>'),ma=be('<div class="altcha-anchor-arrow"></div>'),ya=be('<!> <div class="altcha"><div class="altcha-main"><div><!> <input type="checkbox"></div> <label class="altcha-label"><!></label> <!> <!> <!></div> <!> <!> <!></div>',1);function ba(e,t){Io(t,!0);let[n,o]=Ul(),a=()=>Hl(Ho,"$altchaI18nStore",n),l=C(t,"auto",7,void 0),u=C(t,"blockspam",7,void 0),c=C(t,"challengeurl",7,void 0),f=C(t,"challengejson",7,void 0),d=C(t,"credentials",7,void 0),m=C(t,"customfetch",7,void 0),h=C(t,"debug",7,!1),y=C(t,"delay",7,0),$=C(t,"disableautofocus",7,!1),T=C(t,"refetchonexpire",7,!0),M=C(t,"disablerefetchonexpire",23,()=>!T()),q=C(t,"expire",7,void 0),A=C(t,"floating",7,void 0),Q=C(t,"floatinganchor",7,void 0),ke=C(t,"floatingoffset",7,void 0),z=C(t,"floatingpersist",7,!1),H=C(t,"hidefooter",7,!1),ae=C(t,"hidelogo",7,!1),Ze=C(t,"id",7,void 0),Ut=C(t,"language",7,void 0),Ge=C(t,"name",7,"altcha"),We=C(t,"maxnumber",7,1e6),Et=C(t,"mockerror",7,!1),De=C(t,"obfuscated",7,void 0),ge=C(t,"overlay",7,void 0),Ct=C(t,"overlaycontent",7,void 0),Bt=C(t,"plugins",7,void 0),Ye=C(t,"sentinel",7,void 0),we=C(t,"spamfilter",7,!1),at=C(t,"strings",7,void 0),de=C(t,"test",7,!1),ee=C(t,"verifyurl",7,void 0),st=C(t,"workers",23,()=>Math.min(16,navigator.hardwareConcurrency||8)),xt=C(t,"workerurl",7,void 0),{altchaI18n:qo}=globalThis,Ho=qo.store,zn=["SHA-256","SHA-384","SHA-512"],Uo="https://altcha.org/",Pe=(r,s)=>{t.$$host.dispatchEvent(new CustomEvent(r,{detail:s}))},Kn=document.documentElement.lang?.split("-")?.[0],wn=Dt(()=>c()&&new URL(c(),location.origin).host.endsWith(".altcha.org")&&!!c()?.includes("apiKey=ckey_")),Zt=Dt(()=>f()?dr(f()):void 0),Bo=Dt(()=>at()?dr(at()):{}),P=Dt(()=>({...tr(a()),...i(Bo)})),Qn=Dt(()=>`${Ze()||Ge()}_checkbox_${Math.round(Math.random()*1e8)}`),Xe=D(null),_t=D(!1),B=D(null),x=D(Fe(w.UNVERIFIED)),F=D(void 0),At=D(null),Oe=D(null),se=D(null),$n=D(null),ut=D(null),S=D(null),It=D(null),Je=D(null),$e=null,Z=D(null),ze=D(!1),Ve=[],En=D(!1),Ee=D(null);Dn(()=>{ri(i(Je))}),Dn(()=>{oi(i(x))}),jl(()=>{Zo(),b(It,null),i(S)&&(i(S).removeEventListener("submit",ar),i(S).removeEventListener("reset",sr),i(S).removeEventListener("focusin",lr),b(S,null)),$e&&(clearTimeout($e),$e=null),document.removeEventListener("click",or),document.removeEventListener("scroll",ir),window.removeEventListener("resize",fr)}),Vo(()=>{_("mounted","2.2.4"),_("workers",st()),Xo(),_("plugins",Ve.length?Ve.map(r=>r.constructor.pluginName).join(", "):"none"),de()&&_("using test mode"),q()&&xn(q()),l()!==void 0&&_("auto",l()),A()!==void 0&&pr(A()),b(S,i(F)?.closest("form"),!0),i(S)&&(i(S).addEventListener("submit",ar,{capture:!0}),i(S).addEventListener("reset",sr),(l()==="onfocus"||z()==="focus")&&i(S).addEventListener("focusin",lr)),ge()&&mr(!0),l()==="onload"&&(De()?Rt():Ne()),i(wn)&&(H()||ae())&&_("Attributes hidefooter and hidelogo ignored because usage with free API Keys requires attribution."),requestAnimationFrame(()=>{Pe("load")})});function Gt(r,s){return btoa(JSON.stringify({algorithm:r.algorithm,challenge:r.challenge,number:s.number,salt:r.salt,signature:r.signature,test:de()?!0:void 0,took:s.took}))}function Zo(){for(let r of Ve)r.destroy()}function er(){c()&&!M()&&i(x)===w.VERIFIED?Ne():Ke(w.EXPIRED,i(P).expired)}async function Go(){if(Et())throw _("mocking error"),new Error("Mocked error.");if(i(Zt))return _("using provided json data"),vr(i(Zt).salt),i(Zt);if(de())return _("generating test challenge",{test:de()}),Xl(typeof de()!="boolean"?+de():void 0);{if(!c()&&i(S)){let g=i(S).getAttribute("action");g?.includes("/form/")&&c(g+"/altcha")}if(!c())throw new Error("Attribute challengeurl not set.");_("fetching challenge from",c());let r={credentials:typeof d()=="boolean"?"include":d(),headers:we()!==!1?{"x-altcha-spam-filter":"1"}:{}},s=await Cn()(c(),r);if(!s||!(s instanceof Response))throw new Error("Custom fetch function did not return a response.");if(s.status!==200)throw new Error(`Server responded with ${s.status}.`);let v=s.headers.get("X-Altcha-Config"),p=await s.json();if(vr(p.salt),v)try{let g=JSON.parse(v);g&&typeof g=="object"&&(g.verifyurl&&!g.verifyurl.startsWith("fn:")&&(g.verifyurl=rr(g.verifyurl)),wr(g))}catch(g){_("unable to configure from X-Altcha-Config",g)}return p}}function Wo(r){let s=i(S)?.querySelector(typeof r=="string"?`input[name="${r}"]`:'input[type="email"]:not([data-no-spamfilter])');return s?.value?.slice(s.value.indexOf("@"))||void 0}function Cn(){let r=fetch;if(m())if(_("using customfetch"),typeof m()=="string"){if(r=globalThis[m()]||null,!r)throw new Error(`Custom fetch function not found: ${m()}`)}else r=m();return r}function tr(r,s=[Ut()||"",document.documentElement.lang||"",...navigator.languages]){let v=Object.keys(r).map(g=>g.toLowerCase()),p=s.reduce((g,R)=>(R=R.toLowerCase(),g||(r[R]?R:null)||v.find(I=>R.split("-")[0]===I.split("-")[0])||null),null);return r[p||"en"]}function Yo(){return we()==="ipAddress"?{blockedCountries:void 0,classifier:void 0,disableRules:void 0,email:!1,expectedCountries:void 0,expectedLanguages:void 0,fields:!1,ipAddress:void 0,text:void 0,timeZone:void 0}:typeof we()=="object"?we():{blockedCountries:void 0,classifier:void 0,disableRules:void 0,email:void 0,expectedCountries:void 0,expectedLanguages:void 0,fields:void 0,ipAddress:void 0,text:void 0,timeZone:void 0}}function nr(r){return[...i(S)?.querySelectorAll(r?.length?r.map(s=>`input[name="${s}"]`).join(", "):'input[type="text"]:not([data-no-spamfilter]), textarea:not([data-no-spamfilter])')||[]].reduce((s,v)=>{let p=v.name,g=v.value;return p&&g&&(s[p]=/\n/.test(g)?g.replace(new RegExp("(?<!\\r)\\n","g"),`\r
|
|
3
|
+
`):g),s},{})}function rr(r,s){let v=new URL(c()||location.origin),p=new URL(r,v);if(p.search||(p.search=v.search),s)for(let g in s)s[g]!==void 0&&s[g]!==null&&p.searchParams.set(g,s[g]);return p.toString()}function Xo(){let r=Bt()!==void 0?Bt().split(","):void 0;for(let s of globalThis.altchaPlugins)(!r||r.includes(s.pluginName))&&Ve.push(new s({el:i(F),clarify:Rt,dispatch:Pe,getConfiguration:$r,getFloatingAnchor:Er,getState:Cr,log:_,reset:Ke,solve:br,setState:Ce,setFloatingAnchor:xr,verify:Ne}))}function _(...r){(h()||r.some(s=>s instanceof Error))&&console[r[0]instanceof Error?"error":"log"]("ALTCHA",`[name=${Ge()}]`,...r)}function Jo(){b(Z,K.PAUSED,!0)}function zo(r){b(Z,K.ERROR,!0)}function Ko(){b(Z,K.READY,!0)}function Qo(){b(Z,K.LOADING,!0)}function ei(){b(Z,K.PLAYING,!0)}function ti(){b(Z,K.PAUSED,!0)}function ni(r){if(r.preventDefault(),r.stopPropagation(),i(B)){let s=new FormData(r.target),v=String(s.get("code"));if(ee()?.startsWith("fn:")){let p=ee().replace(/^fn:/,"");if(_(`calling ${p} function instead of verifyurl`),!(p in globalThis))throw new Error(`Global function "${p}" is undefined.`);return globalThis[p]({challenge:i(B).challenge,code:v,solution:i(B).solution})}b(ze,!0),hr(Gt(i(B).challenge,i(B).solution),v).then(({reason:p,verified:g})=>{g?(b(B,null),Ce(w.VERIFIED),_("verified"),kn().then(()=>{i($n)?.focus(),Pe("verified",{payload:i(Ee)}),l()==="onsubmit"?gr(i(It)):ge()&&kt()})):(Ke(),b(Je,p||"Verification failed",!0))}).catch(p=>{b(B,null),Ce(w.ERROR,p),_("sentinel verification failed:",p)}).finally(()=>{b(ze,!1)})}}function or(r){let s=r.target;A()&&s&&!i(F).contains(s)&&(i(x)===w.VERIFIED&&z()===!1||i(x)===w.VERIFIED&&z()==="focus"&&!i(S)?.matches(":focus-within")||l()==="off"&&i(x)===w.UNVERIFIED)&&kt()}function ir(){A()&&i(x)!==w.UNVERIFIED&&Nt()}function ri(r){for(let s of Ve)typeof s.onErrorChange=="function"&&s.onErrorChange(i(Je))}function lr(r){i(x)===w.UNVERIFIED?Ne():A()&&z()==="focus"&&i(x)===w.VERIFIED&&Wt()}function ar(r){r.target?.hasAttribute("data-code-challenge-form")||(b(It,r.submitter,!0),i(S)&&l()==="onsubmit"?(i(It)?.blur(),i(x)===w.UNVERIFIED?(r.preventDefault(),r.stopPropagation(),Ne().then(()=>{gr(i(It))})):i(x)!==w.VERIFIED&&(r.preventDefault(),r.stopPropagation(),i(x)===w.VERIFYING&&ur())):i(S)&&A()&&l()==="off"&&i(x)===w.UNVERIFIED&&(r.preventDefault(),r.stopPropagation(),Wt()))}function sr(){Ke()}function ur(){i(x)===w.VERIFYING&&i(P).waitAlert&&alert(i(P).waitAlert)}function cr(){i(Oe)?i(Oe).paused?(i(Oe).currentTime=0,i(Oe).play()):i(Oe).pause():(b(En,!0),requestAnimationFrame(()=>{i(Oe)?.play()}))}function oi(r){for(let s of Ve)typeof s.onStateChange=="function"&&s.onStateChange(i(x));A()&&i(x)!==w.UNVERIFIED&&requestAnimationFrame(()=>{Nt()}),b(_t,i(x)===w.VERIFIED),ge()&&i(se)&&(i(x)!==w.UNVERIFIED?Wt():kt())}function fr(){A()&&Nt()}function dr(r){return JSON.parse(r)}function vr(r){let s=new URLSearchParams(r.split("?")?.[1]),v=s.get("expires")||s.get("expire");if(v){let p=new Date(+v*1e3),g=isNaN(p.getTime())?0:p.getTime()-Date.now();g>0&&xn(g)}else $e&&(clearTimeout($e),$e=null)}async function ii(r){if(!ee())throw new Error("Attribute verifyurl not set.");_("requesting server verification from",ee());let s={payload:r};if(we()!==!1){let{blockedCountries:g,classifier:R,disableRules:I,email:j,expectedLanguages:oe,expectedCountries:te,fields:ue,ipAddress:Te,text:ft,timeZone:Jt}=Yo();s.blockedCountries=g,s.classifier=R,s.disableRules=I,s.email=j===!1?void 0:Wo(j),s.expectedCountries=te,s.expectedLanguages=oe||(Kn?[Kn]:void 0),s.fields=ue===!1?void 0:nr(ue),s.ipAddress=Te===!1?void 0:Te||"auto",s.text=ft,s.timeZone=Jt===!1?void 0:Jt||Zr()}let v=await Cn()(ee(),{body:JSON.stringify(s),headers:{"content-type":"application/json"},method:"POST"});if(!v||!(v instanceof Response))throw new Error("Custom fetch function did not return a response.");if(v.status!==200)throw new Error(`Server responded with ${v.status}.`);let p=await v.json();if(p?.payload&&b(Ee,p.payload,!0),Pe("serververification",p),u()&&p.classification==="BAD")throw new Error("SpamFilter returned negative classification.")}async function hr(r,s){if(!ee())throw new Error("Attribute verifyurl not set.");_("requesting sentinel verification from",ee());let v={code:s,payload:r};Ye()&&(v.fields=Ye().fields?nr():void 0,v.timeZone=Ye().timeZone?Zr():void 0);let p=await Cn()(ee(),{body:JSON.stringify(v),headers:{"content-type":"application/json"},method:"POST"});if(!p||!(p instanceof Response))throw new Error("Fetch function did not return a response.");if(p.status!==200)throw new Error(`Server responded with ${p.status}.`);let g=await p.json();return g?.payload&&b(Ee,g.payload,!0),Pe("sentinelverification",g),g}function gr(r){i(S)&&"requestSubmit"in i(S)?i(S).requestSubmit(r):i(S)?.reportValidity()&&(r?r.click():i(S).submit())}function xn(r){_("expire",r),$e&&(clearTimeout($e),$e=null),r<1?er():$e=setTimeout(er,r)}function pr(r){_("floating",r),A()!==r&&(i(F).style.left="",i(F).style.top=""),A(r===!0||r===""?"auto":r===!1||r==="false"?void 0:A()),A()?(l()||l("onsubmit"),document.addEventListener("scroll",ir),document.addEventListener("click",or),window.addEventListener("resize",fr)):l()==="onsubmit"&&l(void 0)}function mr(r){if(_("overlay",r),ge(r),r){if(l()||l("onsubmit"),i(se)&&i(F).parentElement&&i(se).replaceWith(i(F).parentElement),i(F)?.parentElement?.parentElement){b(se,document.createElement("div"),!0),i(F).parentElement.parentElement.appendChild(i(se));let s=document.createElement("div"),v=document.createElement("button");v.type="button",v.innerHTML="×",v.addEventListener("click",p=>{p.preventDefault(),Ke()}),i(se).classList.add("altcha-overlay-backdrop"),v.classList.add("altcha-overlay-close-button"),s.classList.add("altcha-overlay"),i(se).append(s),s.append(v),Ct()&&s.append(...document.querySelectorAll(Ct())),s.append(i(F).parentElement)}}else i(se)&&i(F).parentElement&&(i(se).replaceWith(i(F).parentElement),i(F).style.display="block")}function yr(r){if(!r.algorithm)throw new Error("Invalid challenge. Property algorithm is missing.");if(r.signature===void 0)throw new Error("Invalid challenge. Property signature is missing.");if(!zn.includes(r.algorithm.toUpperCase()))throw new Error(`Unknown algorithm value. Allowed values: ${zn.join(", ")}`);if(!r.challenge||r.challenge.length<40)throw new Error("Challenge is too short. Min. 40 chars.");if(!r.salt||r.salt.length<10)throw new Error("Salt is too short. Min. 10 chars.")}async function br(r){let s=null,v=null;if("Worker"in window){try{s=li(r,r.maxNumber||r.maxnumber||We()),b(Xe,s.controller,!0),v=await s.promise}catch(p){_(p)}finally{b(Xe,null)}if(v===null||v?.number!==void 0||"obfuscated"in r)return{data:r,solution:v}}if("obfuscated"in r){let p=await Ql(r.obfuscated,r.key,r.maxNumber||r.maxnumber);return{data:r,solution:await p.promise}}s=Jl(r.challenge,r.salt,r.algorithm,r.maxNumber||r.maxnumber||We()),b(Xe,s.controller,!0);try{v=await s.promise}catch(p){_(p)}finally{b(Xe,null)}return{data:r,solution:v}}function li(r,s=typeof de()=="number"?de():r.maxNumber||r.maxnumber||We(),v=Math.ceil(st())){let p=new AbortController,g=[];v=Math.min(16,s,Math.max(1,v));for(let I=0;I<v;I++)g.push(altchaCreateWorker(xt()));let R=Math.ceil(s/v);return{promise:(async()=>{let I=await Promise.all(g.map((j,oe)=>{let te=oe*R;return p.signal.addEventListener("abort",()=>{j.postMessage({type:"abort"})}),new Promise(ue=>{j.addEventListener("message",Te=>{if(Te.data)for(let ft of g)ft!==j&&ft.postMessage({type:"abort"});ue(Te.data)}),j.postMessage({payload:r,max:te+R,start:te,type:"work"})})}));for(let j of g)j.terminate();return I.find(j=>!!j)||null})(),controller:p}}async function Rt(){if(!De()){Ce(w.ERROR);return}let r=Ve.find(s=>s.constructor.pluginName==="obfuscation");if(!r||!("clarify"in r)){Ce(w.ERROR),_("Plugin `obfuscation` not found. Import `altcha/plugins/obfuscation` to load it.");return}if("clarify"in r&&typeof r.clarify=="function")return r.clarify()}function wr(r){r.obfuscated!==void 0&&De(r.obfuscated),r.auto!==void 0&&(l(r.auto),l()==="onload"&&(De()?Rt():Ne())),r.blockspam!==void 0&&u(!!r.blockspam),r.customfetch!==void 0&&m(r.customfetch),r.floatinganchor!==void 0&&Q(r.floatinganchor),r.delay!==void 0&&y(r.delay),r.floatingoffset!==void 0&&ke(r.floatingoffset),r.floating!==void 0&&pr(r.floating),r.expire!==void 0&&(xn(r.expire),q(r.expire)),r.challenge&&(f(typeof r.challenge=="string"?r.challenge:JSON.stringify(r.challenge)),yr(i(Zt))),r.challengeurl!==void 0&&c(r.challengeurl),r.debug!==void 0&&h(!!r.debug),r.hidefooter!==void 0&&H(!!r.hidefooter),r.hidelogo!==void 0&&ae(!!r.hidelogo),r.language!==void 0&&at(tr(a(),[r.language])),r.maxnumber!==void 0&&We(+r.maxnumber),r.mockerror!==void 0&&Et(!!r.mockerror),r.name!==void 0&&Ge(r.name),r.overlaycontent!==void 0&&Ct(r.overlaycontent),r.overlay!==void 0&&mr(r.overlay),r.refetchonexpire!==void 0&&M(!r.refetchonexpire),r.disablerefetchonexpire!==void 0&&M(!r.disablerefetchonexpire),r.sentinel!==void 0&&typeof r.sentinel=="object"&&Ye(r.sentinel),r.spamfilter!==void 0&&we(typeof r.spamfilter=="object"?r.spamfilter:!!r.spamfilter),r.strings&&at(typeof r.strings=="string"?r.strings:JSON.stringify(r.strings)),r.test!==void 0&&de(typeof r.test=="number"?r.test:!!r.test),r.verifyurl!==void 0&&ee(r.verifyurl),r.workers!==void 0&&st(+r.workers),r.workerurl!==void 0&&xt(r.workerurl)}function $r(){return{auto:l(),blockspam:u(),challengeurl:c(),debug:h(),delay:y(),disableautofocus:$(),disablerefetchonexpire:M(),expire:q(),floating:A(),floatinganchor:Q(),floatingoffset:ke(),hidefooter:H(),hidelogo:ae(),name:Ge(),maxnumber:We(),mockerror:Et(),obfuscated:De(),overlay:ge(),refetchonexpire:!M(),spamfilter:we(),strings:i(P),test:de(),verifyurl:ee(),workers:st(),workerurl:xt()}}function Er(){return i(ut)}function ai(r){return Ve.find(s=>s.constructor.pluginName===r)}function Cr(){return i(x)}function kt(){i(F).style.display="none",ge()&&i(se)&&(i(se).style.display="none")}function Nt(r=20){if(i(F))if(i(ut)||b(ut,(Q()?document.querySelector(Q()):i(S)?.querySelector('input[type="submit"], button[type="submit"], button:not([type="button"]):not([type="reset"])'))||i(S),!0),i(ut)){let s=parseInt(ke(),10)||12,v=i(ut).getBoundingClientRect(),p=i(F).getBoundingClientRect(),g=document.documentElement.clientHeight,R=document.documentElement.clientWidth,I=A()==="auto"?v.bottom+p.height+s+r>g:A()==="top",j=Math.max(r,Math.min(R-r-p.width,v.left+v.width/2-p.width/2));if(I?i(F).style.top=`${v.top-(p.height+s)}px`:i(F).style.top=`${v.bottom+s}px`,i(F).style.left=`${j}px`,i(F).setAttribute("data-floating",I?"top":"bottom"),i(At)){let oe=i(At).getBoundingClientRect();i(At).style.left=v.left-j+v.width/2-oe.width/2+"px"}}else _("unable to find floating anchor element")}function Ke(r=w.UNVERIFIED,s=null){i(Xe)&&(i(Xe).abort(),b(Xe,null)),b(_t,!1),b(Ee,null),b(B,null),b(En,!1),b(Z,null),Ce(r,s)}function xr(r){b(ut,r,!0)}function Ce(r,s=null){b(x,r,!0),b(Je,s,!0),Pe("statechange",{payload:i(Ee),state:i(x)})}function Wt(){i(F).style.display="block",A()&&Nt(),ge()&&i(se)&&(i(se).style.display="flex")}async function Ne(){return Ke(w.VERIFYING),await new Promise(r=>setTimeout(r,y()||0)),Go().then(r=>(yr(r),_("challenge",r),br(r))).then(({data:r,solution:s})=>{if(_("solution",s),!s||r&&"challenge"in r&&!("clearText"in s)){if(s?.number!==void 0&&"challenge"in r)if(ee()&&"codeChallenge"in r)["INPUT","BUTTON","SELECT","TEXTAREA"].includes(document.activeElement?.tagName||"")&&$()===!1&&document.activeElement.blur(),b(B,{challenge:r,solution:s},!0);else{if(ee()&&Ye()!==void 0)return hr(Gt(r,s));if(ee())return ii(Gt(r,s));b(Ee,Gt(r,s),!0),_("payload",i(Ee))}else if(i(x)!==w.EXPIRED)throw _("Unable to find a solution. Ensure that the 'maxnumber' attribute is greater than the randomly generated number."),new Error("Unexpected result returned.")}}).then(()=>{i(B)?(Ce(w.CODE),kn().then(()=>{Pe("code",{codeChallenge:i(B)})})):i(Ee)&&(Ce(w.VERIFIED),_("verified"),kn().then(()=>{Pe("verified",{payload:i(Ee)}),ge()&&kt()}))}).catch(r=>{_(r),Ce(w.ERROR,r.message)})}var _r=ya(),Ar=St(_r);Sl(Ar,t,"default",{});var ct=X(Ar,2),_n=Y(ct),Yt=Y(_n);let Ir;var Rr=Y(Yt);{var si=r=>{Nn(r)};J(Rr,r=>{i(x)===w.VERIFYING&&r(si)})}var Qe=X(Rr,2);qr(Qe),Qe.__change=[ra,x,we,S,_t,De,Rt,Ne],Qt(Qe,r=>b($n,r),()=>i($n)),W(Yt);var Xt=X(Yt,2),ui=Y(Xt);{var ci=r=>{var s=Kt(),v=St(s);et(v,()=>i(P).verified),U(r,s)},fi=(r,s)=>{{var v=g=>{var R=Kt(),I=St(R);et(I,()=>i(P).verifying),U(g,R)},p=(g,R)=>{{var I=oe=>{var te=Kt(),ue=St(te);et(ue,()=>i(P).verificationRequired),U(oe,te)},j=oe=>{var te=Kt(),ue=St(te);et(ue,()=>i(P).label),U(oe,te)};J(g,oe=>{i(x)===w.CODE?oe(I):oe(j,!1)},R)}};J(r,g=>{i(x)===w.VERIFYING?g(v):g(p,!1)},s)}};J(ui,r=>{i(x)===w.VERIFIED?r(ci):r(fi,!1)})}W(Xt);var kr=X(Xt,2);{var di=r=>{var s=ia();qr(s),xe(()=>{k(s,"name",Ge()),Tl(s,i(Ee))}),U(r,s)};J(kr,r=>{i(x)===w.VERIFIED&&r(di)})}var Nr=X(kr,2);{var vi=r=>{var s=la(),v=Y(s);k(v,"href",Uo),W(s),xe(()=>k(v,"aria-label",i(P).ariaLinkLabel)),U(r,s)};J(Nr,r=>{(ae()!==!0||i(wn))&&r(vi)})}var hi=X(Nr,2);{var gi=r=>{var s=da(),v=X(Y(s),2),p=Y(v),g=X(p,2);_l(g,!$()),g.__keydown=[ta,cr];var R=X(g,2),I=Y(R),j=Y(I);{var oe=pe=>{var G=ca();G.__click=cr;var zt=Y(G);{var Lt=dt=>{Nn(dt,()=>20)},Ci=(dt,xi)=>{{var _i=vt=>{var An=aa();U(vt,An)},Ai=(vt,An)=>{{var Ii=ht=>{var In=sa();U(ht,In)},Ri=ht=>{var In=ua();U(ht,In)};J(vt,ht=>{i(Z)===K.PLAYING?ht(Ii):ht(Ri,!1)},An)}};J(dt,vt=>{i(Z)===K.ERROR?vt(_i):vt(Ai,!1)},xi)}};J(zt,dt=>{i(Z)===K.LOADING?dt(Lt):dt(Ci,!1)})}W(G),xe(()=>{k(G,"title",i(P).getAudioChallenge),G.disabled=i(Z)===K.LOADING||i(Z)===K.ERROR||i(ze),k(G,"aria-label",i(Z)===K.LOADING?i(P).loading:i(P).getAudioChallenge)}),U(pe,G)};J(j,pe=>{i(B).challenge.codeChallenge.audio&&pe(oe)})}var te=X(j,2);te.__click=[na,Ne],W(I);var ue=X(I,2),Te=Y(ue);{var ft=pe=>{Nn(pe,()=>16)};J(Te,pe=>{i(ze)&&pe(ft)})}var Jt=X(Te);W(ue),W(R);var $i=X(R,2);{var Ei=pe=>{var G=fa(),zt=Y(G);W(G),Qt(G,Lt=>b(Oe,Lt),()=>i(Oe)),xe(Lt=>k(zt,"src",Lt),[()=>rr(i(B).challenge.codeChallenge.audio,{language:Ut()})]),Me("loadstart",G,Qo),Me("canplay",G,Ko),Me("pause",G,ti),Me("playing",G,ei),Me("ended",G,Jo),Me("error",zt,zo),U(pe,G)};J($i,pe=>{i(B).challenge.codeChallenge.audio&&i(En)&&pe(Ei)})}W(v),W(s),xe(()=>{k(s,"aria-label",i(P).verificationRequired),k(p,"src",i(B).challenge.codeChallenge.image),k(g,"minlength",i(B).challenge.codeChallenge.length||1),k(g,"maxlength",i(B).challenge.codeChallenge.length),k(g,"placeholder",i(P).enterCode),k(g,"aria-label",i(Z)===K.LOADING?i(P).loading:i(Z)===K.PLAYING?"":i(P).enterCodeAria),k(g,"aria-live",i(Z)?"assertive":"polite"),k(g,"aria-busy",i(Z)===K.LOADING),g.disabled=i(ze),k(te,"aria-label",i(P).reload),k(te,"title",i(P).reload),te.disabled=i(ze),ue.disabled=i(ze),k(ue,"aria-label",i(P).verify),kl(Jt,` ${i(P).verify??""}`)}),Me("submit",v,ni,!0),U(r,s)};J(hi,r=>{i(B)?.challenge.codeChallenge&&r(gi)})}W(_n);var Lr=X(_n,2);{var pi=r=>{var s=ga(),v=X(Y(s),2);{var p=R=>{var I=va(),j=Y(I);et(j,()=>i(P).expired),W(I),xe(()=>k(I,"title",i(Je))),U(R,I)},g=R=>{var I=ha(),j=Y(I);et(j,()=>i(P).error),W(I),xe(()=>k(I,"title",i(Je))),U(R,I)};J(v,R=>{i(x)===w.EXPIRED?R(p):R(g,!1)})}W(s),U(r,s)};J(Lr,r=>{(i(Je)||i(x)===w.EXPIRED)&&r(pi)})}var Sr=X(Lr,2);{var mi=r=>{var s=pa(),v=Y(s),p=Y(v);et(p,()=>i(P).footer),W(v),W(s),U(r,s)};J(Sr,r=>{i(P).footer&&(H()!==!0||i(wn))&&r(mi)})}var yi=X(Sr,2);{var bi=r=>{var s=ma();Qt(s,v=>b(At,v),()=>i(At)),U(r,s)};J(yi,r=>{A()&&r(bi)})}W(ct),Qt(ct,r=>b(F,r),()=>i(F)),xe(r=>{k(ct,"data-state",i(x)),k(ct,"data-floating",A()),k(ct,"data-overlay",ge()),Ir=Pl(Yt,1,"altcha-checkbox",null,Ir,r),k(Qe,"id",i(Qn)),Qe.required=l()!=="onsubmit"&&(!A()||l()!=="off"),k(Xt,"for",i(Qn))},[()=>({"altcha-checkbox-verifying":i(x)===w.VERIFYING})]),Me("invalid",Qe,ur),Fl(Qe,()=>i(_t),r=>b(_t,r)),U(e,_r);var wi=Ro({clarify:Rt,configure:wr,getConfiguration:$r,getFloatingAnchor:Er,getPlugin:ai,getState:Cr,hide:kt,repositionFloating:Nt,reset:Ke,setFloatingAnchor:xr,setState:Ce,show:Wt,verify:Ne,get auto(){return l()},set auto(r=void 0){l(r),E()},get blockspam(){return u()},set blockspam(r=void 0){u(r),E()},get challengeurl(){return c()},set challengeurl(r=void 0){c(r),E()},get challengejson(){return f()},set challengejson(r=void 0){f(r),E()},get credentials(){return d()},set credentials(r=void 0){d(r),E()},get customfetch(){return m()},set customfetch(r=void 0){m(r),E()},get debug(){return h()},set debug(r=!1){h(r),E()},get delay(){return y()},set delay(r=0){y(r),E()},get disableautofocus(){return $()},set disableautofocus(r=!1){$(r),E()},get refetchonexpire(){return T()},set refetchonexpire(r=!0){T(r),E()},get disablerefetchonexpire(){return M()},set disablerefetchonexpire(r=!T){M(r),E()},get expire(){return q()},set expire(r=void 0){q(r),E()},get floating(){return A()},set floating(r=void 0){A(r),E()},get floatinganchor(){return Q()},set floatinganchor(r=void 0){Q(r),E()},get floatingoffset(){return ke()},set floatingoffset(r=void 0){ke(r),E()},get floatingpersist(){return z()},set floatingpersist(r=!1){z(r),E()},get hidefooter(){return H()},set hidefooter(r=!1){H(r),E()},get hidelogo(){return ae()},set hidelogo(r=!1){ae(r),E()},get id(){return Ze()},set id(r=void 0){Ze(r),E()},get language(){return Ut()},set language(r=void 0){Ut(r),E()},get name(){return Ge()},set name(r="altcha"){Ge(r),E()},get maxnumber(){return We()},set maxnumber(r=1e6){We(r),E()},get mockerror(){return Et()},set mockerror(r=!1){Et(r),E()},get obfuscated(){return De()},set obfuscated(r=void 0){De(r),E()},get overlay(){return ge()},set overlay(r=void 0){ge(r),E()},get overlaycontent(){return Ct()},set overlaycontent(r=void 0){Ct(r),E()},get plugins(){return Bt()},set plugins(r=void 0){Bt(r),E()},get sentinel(){return Ye()},set sentinel(r=void 0){Ye(r),E()},get spamfilter(){return we()},set spamfilter(r=!1){we(r),E()},get strings(){return at()},set strings(r=void 0){at(r),E()},get test(){return de()},set test(r=!1){de(r),E()},get verifyurl(){return ee()},set verifyurl(r=void 0){ee(r),E()},get workers(){return st()},set workers(r=Math.min(16,navigator.hardwareConcurrency||8)){st(r),E()},get workerurl(){return xt()},set workerurl(r=void 0){xt(r),E()}});return o(),wi}Rl(["change","keydown","click"]);customElements.define("altcha-widget",Wl(ba,{blockspam:{type:"Boolean"},debug:{type:"Boolean"},delay:{type:"Number"},disableautofocus:{type:"Boolean"},disablerefetchonexpire:{type:"Boolean"},expire:{type:"Number"},floatingoffset:{type:"Number"},hidefooter:{type:"Boolean"},hidelogo:{type:"Boolean"},maxnumber:{type:"Number"},mockerror:{type:"Boolean"},refetchonexpire:{type:"Boolean"},test:{type:"Boolean"},workers:{type:"Number"},auto:{},challengeurl:{},challengejson:{},credentials:{},customfetch:{},floating:{},floatinganchor:{},floatingpersist:{},id:{},language:{},name:{},obfuscated:{},overlay:{},overlaycontent:{},plugins:{},sentinel:{},spamfilter:{},strings:{},verifyurl:{},workerurl:{}},["default"],["clarify","configure","getConfiguration","getFloatingAnchor","getPlugin","getState","hide","repositionFloating","reset","setFloatingAnchor","setState","show","verify"],!1));globalThis.altchaCreateWorker=e=>new Worker(new URL(e||"./worker.js",import.meta.url));export{ba as Altcha};
|
|
4
|
+
//# sourceMappingURL=altcha-FLBUR2LJ.js.map
|